Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release proposal: v3.0.0 #2221

Closed
wants to merge 52 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
92214cf
test: remove obsolete harmony flags
chrisdickinson May 5, 2015
dc94349
deps: update v8 to 4.3.61.21
chrisdickinson May 5, 2015
cba302f
doc: update v8 flags in man page
targos May 14, 2015
263b454
Revert "dns: remove AI_V4MAPPED hint flag on FreeBSD"
cjihrig Apr 29, 2015
d6a97eb
net: do not set V4MAPPED on FreeBSD
Mar 2, 2015
2a97fc8
deps: backport 7b24219346 from v8 upstream
rvagg May 27, 2015
804f3a0
buffer: allow ARGS_THIS to accept a name
trevnorris May 26, 2015
d6e8e37
buffer: implement Uint8Array backed Buffer
trevnorris May 26, 2015
f6d74da
buffer: finish implementing FreeCallback
trevnorris Jun 1, 2015
833377c
buffer: switch to using Maybe<T> API
trevnorris Jun 2, 2015
f41282f
buffer: switch API to return MaybeLocal<T>
trevnorris Jun 2, 2015
194f63e
buffer: make additional changes to native API
trevnorris Jun 2, 2015
c0d46a1
crypto: remove kMaxLength on randomBytes()
trevnorris Jun 2, 2015
450ba88
vm: fix property descriptors of sandbox properties
domenic May 22, 2015
5ca9579
vm: remove unnecessary access checks
domenic May 23, 2015
7767b9d
vm: fix symbol access
domenic Jun 1, 2015
5537c01
dgram: make send cb act as "error" event handler
chrisdickinson Jun 5, 2014
cb80141
dgram: make send cb act as "error" event handler
mcollina May 26, 2015
9f3946a
http_server: `prefinish` vs `finish`
indutny Apr 13, 2015
72b7f9d
buffer: fix case of one buffer passed to concat
thefourtheye Jun 10, 2015
093eae3
cluster: do not unconditionally set --debug-port
cjihrig Jun 11, 2015
271b706
buffer: fix usage of kMaxLength
trevnorris Jun 17, 2015
1baca79
buffer: minor cleanup from rebase
trevnorris Jun 17, 2015
d57350c
buffer: allow ArrayBuffer as Buffer argument
trevnorris Jun 17, 2015
d11d40f
deps: update v8 to 4.4.63.9
bnoordhuis Jun 19, 2015
84cef46
test: don't use arguments.callee
bnoordhuis Jun 19, 2015
b1570c5
test: remove two obsolete pummel tests
bnoordhuis Jun 19, 2015
2e53e03
buffer: rename internal/buffer_new.js to buffer.js
bnoordhuis Jun 19, 2015
31faa1b
node-gyp: make aware of nightly, next-nightly & rc
rvagg Jun 26, 2015
27cf131
node-gyp: download header tarball for compile
rvagg Jun 26, 2015
8f65dbb
Working on v3.0.0
rvagg Jun 30, 2015
bd51bc7
deps: upgrade v8 to 4.4.63.12
bnoordhuis Jul 1, 2015
35c7938
src: increment NODE_MODULE_VERSION to 45
rvagg Jul 2, 2015
df9cdd8
node: do not override `message`/`stack` of error
indutny Jul 5, 2015
fa5b871
http: use official IANA Status Codes
jomo Jul 11, 2015
b096278
src: introduce process.release object
rvagg Jan 18, 2015
6c97138
node-gyp: detect RC build with x.y.z-rc.n format
rvagg Jul 13, 2015
8d13222
buffer: fix not return on error
trevnorris Jul 22, 2015
be68537
build: first set of updates to enable PPC support
mhdawson Jul 7, 2015
606fdfa
build: add 'x86' option back in to configure
rvagg Jul 24, 2015
2f54e45
buffer: fix missing null/undefined check
trevnorris Jul 16, 2015
050ab42
node: remove redundant --use-old-buffer
rvagg Jul 30, 2015
c04c190
build: prepare Windows installer for i18n support
fhemberger Jul 25, 2015
fd8da09
readline: allow tabs in input
Trott May 21, 2015
d390a6f
http: fix agent.getName() and add tests
brendanashworth May 5, 2015
181c3bc
deps: update V8 to 4.4.63.26
targos Jul 27, 2015
fe22685
src: disable vector ICs on arm
targos Jul 30, 2015
40a9cae
doc: document repl persistent history changes
Fishrock123 Aug 4, 2015
8e5eae9
test: add tests for persistent repl history
Fishrock123 Aug 2, 2015
17c4108
repl: default persistence to ~/.node_repl_history
Fishrock123 Aug 4, 2015
f00e11b
repl: persist history in plain text
Fishrock123 Aug 3, 2015
966c977
2015-08-01 io.js v3.0.0 Release
rvagg Aug 1, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ ecmaFeatures:
generators: true
forOf: true
objectLiteralShorthandProperties: true
objectLiteralShorthandMethods: true
classes: true

rules:
# Possible Errors
Expand Down
107 changes: 107 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

40 changes: 31 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ test-timers-clean:

apidoc_sources = $(wildcard doc/api/*.markdown)
apidocs = $(addprefix out/,$(apidoc_sources:.markdown=.html)) \
$(addprefix out/,$(apidoc_sources:.markdown=.json))
$(addprefix out/,$(apidoc_sources:.markdown=.json))

apidoc_dirs = out/doc out/doc/api/ out/doc/api/assets

Expand Down Expand Up @@ -242,9 +242,17 @@ else
ifeq ($(DESTCPU),arm)
ARCH=arm
else
ifeq ($(DESTCPU),ppc64)
ARCH=ppc64
else
ifeq ($(DESTCPU),ppc)
ARCH=ppc
else
ARCH=x86
endif
endif
endif
endif

# enforce "x86" over "ia32" as the generally accepted way of referring to 32-bit intel
ifeq ($(ARCH),ia32)
Expand All @@ -269,7 +277,7 @@ release-only:
@if [ "$(shell git status --porcelain | egrep -v '^\?\? ')" = "" ]; then \
exit 0 ; \
else \
echo "" >&2 ; \
echo "" >&2 ; \
echo "The git repository is not clean." >&2 ; \
echo "Please commit changes before building release tarball." >&2 ; \
echo "" >&2 ; \
Expand All @@ -280,17 +288,21 @@ release-only:
@if [ "$(DISTTYPE)" != "release" -o "$(RELEASE)" = "1" ]; then \
exit 0; \
else \
echo "" >&2 ; \
echo "" >&2 ; \
echo "#NODE_VERSION_IS_RELEASE is set to $(RELEASE)." >&2 ; \
echo "Did you remember to update src/node_version.h?" >&2 ; \
echo "" >&2 ; \
echo "Did you remember to update src/node_version.h?" >&2 ; \
echo "" >&2 ; \
exit 1 ; \
fi

$(PKG): release-only
rm -rf $(PKGDIR)
rm -rf out/deps out/Release
$(PYTHON) ./configure --dest-cpu=x64 --tag=$(TAG)
$(PYTHON) ./configure \
--dest-cpu=x64 \
--tag=$(TAG) \
--release-urlbase=$(RELEASE_URLBASE) \
$(CONFIG_FLAGS)
$(MAKE) install V=$(V) DESTDIR=$(PKGDIR)
SIGN="$(CODESIGN_CERT)" PKGDIR="$(PKGDIR)" bash tools/osx-codesign.sh
cat tools/osx-pkg.pmdoc/index.xml.tmpl \
Expand Down Expand Up @@ -346,7 +358,12 @@ doc-upload: tar
ssh $(STAGINGSERVER) "touch staging/$(DISTTYPEDIR)/$(FULLVERSION)/doc.done"

$(TARBALL)-headers: config.gypi release-only
$(PYTHON) ./configure --prefix=/ --dest-cpu=$(DESTCPU) --tag=$(TAG) $(CONFIG_FLAGS)
$(PYTHON) ./configure \
--prefix=/ \
--dest-cpu=$(DESTCPU) \
--tag=$(TAG) \
--release-urlbase=$(RELEASE_URLBASE) \
$(CONFIG_FLAGS)
HEADERS_ONLY=1 $(PYTHON) tools/install.py install '$(TARNAME)' '/'
find $(TARNAME)/ -type l | xargs rm # annoying on windows
tar -cf $(TARNAME)-headers.tar $(TARNAME)
Expand All @@ -371,7 +388,12 @@ endif
$(BINARYTAR): release-only
rm -rf $(BINARYNAME)
rm -rf out/deps out/Release
$(PYTHON) ./configure --prefix=/ --dest-cpu=$(DESTCPU) --tag=$(TAG) $(CONFIG_FLAGS)
$(PYTHON) ./configure \
--prefix=/ \
--dest-cpu=$(DESTCPU) \
--tag=$(TAG) \
--release-urlbase=$(RELEASE_URLBASE) \
$(CONFIG_FLAGS)
$(MAKE) install DESTDIR=$(BINARYNAME) V=$(V) PORTABLE=1
cp README.md $(BINARYNAME)
cp LICENSE $(BINARYNAME)
Expand Down Expand Up @@ -438,7 +460,7 @@ bench-all: bench bench-misc bench-array bench-buffer bench-url bench-events
bench: bench-net bench-http bench-fs bench-tls

bench-http-simple:
benchmark/http_simple_bench.sh
benchmark/http_simple_bench.sh

bench-idle:
$(NODE) benchmark/idle_server.js &
Expand Down
8 changes: 8 additions & 0 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,14 @@
'cflags': [ '-m64' ],
'ldflags': [ '-m64' ],
}],
[ 'target_arch=="ppc"', {
'cflags': [ '-m32' ],
'ldflags': [ '-m32' ],
}],
[ 'target_arch=="ppc64"', {
'cflags': [ '-m64', '-mminimal-toc' ],
'ldflags': [ '-m64' ],
}],
[ 'OS=="solaris"', {
'cflags': [ '-pthreads' ],
'ldflags': [ '-pthreads' ],
Expand Down
15 changes: 14 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import nodedownload
parser = optparse.OptionParser()

valid_os = ('win', 'mac', 'solaris', 'freebsd', 'openbsd', 'linux', 'android')
valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'x32', 'x64', 'x86')
valid_arch = ('arm', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc', 'ppc64', 'x32',
'x64', 'x86')
valid_arm_float_abi = ('soft', 'softfp', 'hard')
valid_mips_arch = ('loongson', 'r1', 'r2', 'r6', 'rx')
valid_mips_fpu = ('fp32', 'fp64', 'fpxx')
Expand Down Expand Up @@ -191,6 +192,13 @@ parser.add_option('--tag',
dest='tag',
help='custom build tag')

parser.add_option('--release-urlbase',
action='store',
dest='release_urlbase',
help='Provide a custom URL prefix for the `process.release` properties '
'`sourceUrl` and `headersUrl`. When compiling a release build, this '
'will default to https://iojs.org/download/release/')

parser.add_option('--v8-options',
action='store',
dest='v8_options',
Expand Down Expand Up @@ -538,6 +546,8 @@ def host_arch_cc():
'__arm__' : 'arm',
'__i386__' : 'ia32',
'__mips__' : 'mips',
'__PPC64__' : 'ppc64',
'__PPC__' : 'ppc',
'__x86_64__' : 'x64',
}

Expand Down Expand Up @@ -613,6 +623,7 @@ def configure_node(o):
target_arch = 'ia32'
o['variables']['host_arch'] = host_arch
o['variables']['target_arch'] = target_arch
o['variables']['node_byteorder'] = sys.byteorder

cross_compiling = target_arch != host_arch
want_snapshots = not options.without_snapshot
Expand Down Expand Up @@ -675,6 +686,8 @@ def configure_node(o):
else:
o['variables']['node_tag'] = ''

o['variables']['node_release_urlbase'] = options.release_urlbase or ''

if options.v8_options:
o['variables']['node_v8_options'] = options.v8_options.replace('"', '\\"')

Expand Down
1 change: 1 addition & 0 deletions deps/npm/node_modules/node-gyp/addon.gypi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion deps/npm/node_modules/node-gyp/lib/configure.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 30 additions & 3 deletions deps/npm/node_modules/node-gyp/lib/install.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion deps/openssl/config/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ COPT = no-shared no-symlinks

ARCHS = BSD-x86 BSD-x86_64 VC-WIN32 VC-WIN64A darwin64-x86_64-cc \
darwin-i386-cc linux-aarch64 linux-armv4 linux-elf linux-x32 \
linux-x86_64 solaris-x86-gcc solaris64-x86_64-gcc
linux-x86_64 linux-ppc linux-ppc64 solaris-x86-gcc \
solaris64-x86_64-gcc

CFG = opensslconf.h
SRC_CFG = ../openssl/crypto/$(CFG)
Expand Down
Loading