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

v12.7.0 release proposal #28817

Merged
merged 162 commits into from
Jul 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
e4fae24
build: change ASM compiler url to https
gengjiawen Jun 12, 2019
e610c45
src: remove redundant return
gengjiawen Jun 12, 2019
0a0832f
doc: address missing paren
cjihrig Jun 30, 2019
ec9ba4b
doc: remove unnecessary stability specifiers
cjihrig Jun 30, 2019
59aaee4
doc: format try...catch consistently
cjihrig Jun 30, 2019
68ed32f
doc: fix link from bootstrap README to BUILDING
rvagg Jul 2, 2019
f3f51e4
src: use thread_local to declare modpending
Jun 27, 2019
e4f1e90
test: increase test-resource-usage.js validation
cjihrig Jul 1, 2019
6fbad8b
src: configure v8 isolate with uv_get_constrained_memory
kjin May 17, 2019
e6e98af
readline: fix position computation
BenoitZugmeyer Jun 17, 2019
cbf5401
worker: assign missing deprecation code
jasnell Jun 23, 2019
49c5339
test: fix assertion argument order in test-https-agent.js
JulianAlexis Jun 21, 2019
c177a68
doc: provide an example to fs.stat()
fev4 Jun 22, 2019
e83b256
doc: add example for chmod in fs.md
roadev Jun 21, 2019
f0c436f
test: switch the argument order for the assertion
IvanVilla1585 Jun 21, 2019
7d3ddfe
build: remove --code-cache-path help option
danbev Jun 27, 2019
33ab37f
test: skip stringbytes-external-exceed-max on AIX
sam-github Jul 2, 2019
b7731eb
test: skip pseudo-tty tests on AIX
sam-github Jul 4, 2019
29d2076
doc: simplify `process.resourceUsage()` section
vsemozhetbyt Jul 1, 2019
13f1393
test: unmark test-gc-http-client-onerror flaky
Trott Jun 25, 2019
e854bfa
test: create home for test-npm-install
danbev Jul 2, 2019
8d41b07
src: remove unused using declarations in src/api
danbev Jul 1, 2019
4941d47
test: don't use deprecated crypto.fips property
bnoordhuis Jul 2, 2019
0777e09
doc: fix family default value in socket.connect
fanatid Jul 3, 2019
38f8cd5
http: improve parser error messages
addaleax Jun 30, 2019
c3311c2
test: generate des rsa_cert.pfx
Jun 28, 2019
48c369b
src: correct json writer placement in process.report
himself65 Jun 26, 2019
793163e
test: check writeReport when error with one line stack
himself65 Jun 26, 2019
5980373
test: check getReport when error with one line stack
himself65 Jun 26, 2019
4c333f4
test: change the repeat Buffer.from('blerg'); statments
themiken Jun 21, 2019
24a77ae
doc: add description for the listener argument
lpinca Jul 1, 2019
d2ba454
doc: fix link in build instructions
GauthamBanasandra Jul 6, 2019
75c6281
lib: use `class ... extends` in perf_hooks.js
addaleax Jul 1, 2019
66382ab
inspector: reduce InspectorIo API surface
eugeneo Jul 3, 2019
d4113f9
src: block SIGTTOU before calling tcsetattr()
bnoordhuis Jul 4, 2019
e2adfb7
test: refactor test-fs-write-sync
gabynr Jun 21, 2019
4cb0fc3
process: refactor unhandledRejection logic
cjihrig Jul 4, 2019
a24ab56
src: allow fatal exceptions to be enhanced
cjihrig Jul 5, 2019
643d099
doc: document family:0 behavior in socket.connect
cjihrig Jul 6, 2019
2205818
doc: format Unix consistently
cjihrig Jul 6, 2019
6f3ebb8
doc: clarify http2 server.close() behavior
cjihrig Jul 6, 2019
a6d50a7
doc: make tls links more readable
cjihrig Jul 6, 2019
f0e4bf9
doc: remove URLs from zlib docs
cjihrig Jul 6, 2019
70c3116
doc: mention markdown linting in BUILDING.md
srcmake Jul 6, 2019
0e2cbe6
worker: fix passing multiple SharedArrayBuffers at once
addaleax Jul 6, 2019
4f035e4
src: implement runtime option --no-node-snapshot for debugging
joyeecheung Jul 5, 2019
608d6ed
build: update Windows icon to Feb 2016 rebrand
mikemaccana Jul 3, 2019
c432ab1
src: simplify DEP0062 logic
cjihrig Jul 7, 2019
a8b094c
src: implement special member functions for classes in env.h
GauthamBanasandra Jul 6, 2019
9be1111
doc: move Usage and Example to same header level
Trott Jul 5, 2019
5b9c227
http2: override authority with options
lpinca Jul 7, 2019
44de431
n-api: make thread-safe-function calls properly
Jul 9, 2019
b1db810
gyp: pull Python 3 changes from node/node-gyp
cclauss Jul 6, 2019
b4643dd
test: add test-fs-writeFileSync-invalid-windows
Trott Jul 5, 2019
ac9908f
doc: update stream.md "Organization of this Document"
Trott Jul 8, 2019
0aca527
doc: mention unit for event loop delay measurements
jkrems Jul 10, 2019
9975311
perf_hooks: add HttpRequest statistics monitoring #28445
vmarchaud Jun 30, 2019
74af944
doc: add line for inspect host:port invocation
Jun 24, 2019
729b232
doc: change 'unix' to 'Unix' in ninja guide
Trott Jul 10, 2019
ccb54f7
tools: add markdown lint rule for 'Unix'
Trott Jul 10, 2019
0380a55
doc: edit stream module introduction
Trott Jul 8, 2019
871a60c
doc: fix nits in stream.md
vsemozhetbyt Jul 7, 2019
22daf95
src: clang build warning fix
devnexen Jun 30, 2019
3c418d9
src: manage MakeContext() pointer with unique_ptr
cjihrig Jul 9, 2019
171c8f4
build: do not always build the default V8 snapshot
targos Jun 28, 2019
bf2d5a7
doc: add a link to the throw-deprecations flag
lholmquist Jul 10, 2019
f7a13e5
doc: relax requirements for setAAD in CCM mode
tniessen Jul 10, 2019
ebc3876
doc: add missing types
lpinca Jul 10, 2019
35e3f1f
report: modify getReport() to return an Object
boneskull Jul 10, 2019
c50e235
src: replace already elevated Object, Local v8 namespace
juanarbol Jul 9, 2019
d34c256
src, tools: replace raw ptr with smart ptr
GauthamBanasandra Jul 6, 2019
d7c7023
doc: add example on how to create __filename, __dirname for esm
GrosSacASac Jun 18, 2019
29fda66
src: simplify --debug flags
cjihrig Jul 9, 2019
f688122
doc: drop 'for more details' in deprecations
cjihrig Jul 9, 2019
e0c5e7a
readline: use named constant for surrogate checks
cjihrig Jul 11, 2019
dc73403
readline: remove IIFE in SIGCONT handler
cjihrig Jul 11, 2019
0383947
readline: simplify isFullWidthCodePoint()
cjihrig Jul 11, 2019
3f65b91
doc: remove superfluous MDN link in assert.md
Trott Jun 15, 2019
17df75f
readline: expose stream API in clearScreenDown()
cjihrig Jul 11, 2019
18c56df
path: using .relative() should not return a trailing slash
BridgeAR Jul 5, 2019
5b5c819
path: move branch to the correct location
BridgeAR Jul 5, 2019
7a4062a
doc: mark process.report as experimental
cjihrig Jul 12, 2019
aee8694
doc: mark N-API thread-safe function stable
Jul 11, 2019
03de306
zlib: do not coalesce multiple `.flush()` calls
addaleax Jul 3, 2019
5c1d595
src: add cleanup hook for ContextifyContext
addaleax Jul 10, 2019
c7cb70c
deps: update acorn to 6.2.0
targos Jul 12, 2019
62f3682
http2: report memory allocated by nghttp2 to V8
addaleax Jul 11, 2019
9ffa5fb
tools: add coverage to ignored files
lholmquist Jul 10, 2019
209b353
build,v8: support IBM i
dmabupt Jul 9, 2019
9f6600a
test: fix pty test hangs on aix
bnoordhuis Jul 8, 2019
4b9d419
src: lint #defines in src/node.h
srcmake Jul 4, 2019
b4aa7d3
build: remove broken intel vtune support
bnoordhuis Jul 3, 2019
1f0fd1b
src: add missing option parser template for the DebugOptionsParser
MarshallOfSound Jul 4, 2019
499969d
test: increase limit for network space overhead test
Jul 1, 2019
00b2200
stream: use readableEncoding public api for child_process
ZYSzys Jul 5, 2019
5614e08
doc: add documentation for createDiffieHellmanGroup
Jul 7, 2019
9e9bfb6
deps: cherry-pick 13a04aba from V8 upstream
jkunkee Jul 4, 2019
7fa982e
deps: cherry-pick 721dc7d from node-gyp upstream
jkunkee Jul 10, 2019
df0f42a
deps: cherry-pick 91744bf from node-gyp upstream
jkunkee Jul 9, 2019
638c8a3
doc: small grammar correction
cjihrig Jul 13, 2019
aba0cf3
inspector: do not change async call stack depth if the worker is done
eugeneo Jul 6, 2019
8ddf86b
doc: add missing version metadata for Readable.from
addaleax Jul 15, 2019
4321cb2
doc: update js-native-api example
Jul 12, 2019
3a4a236
doc: fix minor typo
shajanjp Jun 10, 2019
312f949
deps: V8: backport d2ccc59
joyeecheung Jul 12, 2019
0b7feca
src: large pages option: FreeBSD support proposal
devnexen Jun 20, 2019
1770bc8
module: increase code coverage of cjs loader
melikhov-dev May 26, 2019
d3f5145
test: use openssl_is_fips instead of hasFipsCrypto
danbev Jul 2, 2019
9b2eee1
test: update hasFipsCrypto in test/common/README
danbev Jul 5, 2019
2308c74
http: expose headers on an http.ClientRequest "information" event
awwright Jun 27, 2019
0f5af44
readline: expose stream API in clearLine()
cjihrig Jul 13, 2019
4a7e20f
readline: expose stream API in moveCursor()
cjihrig Jul 13, 2019
caee910
readline: expose stream API in cursorTo()
cjihrig Jul 14, 2019
06d0abe
http: add response.writableFinished
ronag Jul 14, 2019
d630cc0
gyp: cherrypick more Python3 changes from node-gyp
cclauss Jul 5, 2019
9c6791e
n-api: correct bug in napi_get_last_error
Jul 11, 2019
72f9229
build: specify Python version once for all tests
cclauss Jul 15, 2019
af6608c
test: improve variable names in pty_helper.py
addaleax Jul 14, 2019
506b50a
test: make repl tests more resilient
BridgeAR Jul 9, 2019
cbd586a
repl: fix autocomplete while using .load
BridgeAR Jul 9, 2019
d611f5a
repl: fix some repl context issues
BridgeAR Jul 5, 2019
3f78a51
doc: add examples at assert.strictEqual
himself65 Jun 6, 2019
4a78fe5
doc: improve os.homedir() docs
juanarbol Jun 24, 2019
44acec5
doc: add example for zlib.createGzip()
RamirezAlex Jun 8, 2019
ca83b27
doc: add example for beforeExit event
Jun 25, 2019
61db987
test: use consistent test naming
Trott Jul 18, 2019
88809a4
test: propagate napi_status to JS
Jun 27, 2019
487a417
tty: expose stream API from readline methods
cjihrig Jul 16, 2019
ff432c8
test,win: cleanup exec-timeout processes
joaocgreis Jul 16, 2019
b379c0e
esm: implement "pkg-exports" proposal
guybedford Jan 16, 2019
1ce2b5e
deps: upgrade npm to 6.10.0
Jul 3, 2019
ed85043
http: avoid extra listener
ronag Jul 15, 2019
a0e8a25
vm: remove usage of public util module
baekrxnn Jun 27, 2019
b8079f5
zlib: remove usage of public util module
baekrxnn Jun 27, 2019
be32bec
build: fix building with d8
targos Jul 17, 2019
7989d5c
test: changed function to arrow function
HarshithaKP Jul 17, 2019
5d09c15
build: update of the large page option error
devnexen Jul 17, 2019
632d7d5
build: skip test-ci doc targets if no crypto
rvagg Jul 18, 2019
5c10007
lib: rename lib/internal/readline.js
cjihrig Jun 23, 2019
8fe9ca4
doc: amplify warning for execute callback
mhdawson Jul 17, 2019
06991cd
doc: add information for heap snapshot flag
tstirrat15 Jul 18, 2019
cf811ec
doc: add code example to subprocess.stdout
juanarbol Jun 24, 2019
2eeb44f
policy: add policy-integrity to mitigate policy tampering
bmeck Jun 5, 2019
7b0b06d
inspector: do not spin-wait while waiting for the initial connection
eugeneo Jul 18, 2019
74243da
src: add public virtual destructor for KVStore
GauthamBanasandra Jul 17, 2019
49e4d72
http2: compat req.complete
ronag Jul 10, 2019
77bdbc5
inspector: add inspector.waitForDebugger()
alexkozy Jun 25, 2019
0793398
stream: add null push transform in async_iterator
Jul 5, 2019
af6fe5f
test: fix assertion argument order in test-esm-namespace
RamirezAlex Jun 28, 2019
2839298
src: expose TraceEventHelper with NODE_EXTERN
MarshallOfSound Jul 16, 2019
9f47242
deps: update nghttp2 to 1.39.1
gengjiawen Jun 27, 2019
7df5498
src: silence compiler warning
cjihrig Jul 19, 2019
2a82d54
doc: update env default on child_process functions
h3knix Jul 20, 2019
5eb37cc
tools: remove unused pkgsrc directory
targos Jul 20, 2019
8586294
doc: claim NODE_MODULE_VERSION=75 for Electron 7
MarshallOfSound Jul 19, 2019
674d33c
deps: V8: backport b33af60
devsnek Jul 19, 2019
7b4638c
vm: fix gc bug with modules and compiled functions
devsnek Jul 19, 2019
c0f24be
src: make `CompiledFnEntry` a `BaseObject`
addaleax Jul 20, 2019
302865e
src: do not include partial AsyncWrap instances in heap dump
addaleax Jul 20, 2019
ed43880
tools: update ESLint to 6.1.0
cjihrig Jul 21, 2019
0ee1298
dns: fix unsigned record values
mscdex Jul 21, 2019
0481a7f
2019-07-23, Version 12.7.0 (Current)
targos Jul 23, 2019
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ _UpgradeReport_Files/
# coverage related
/gcovr
/build
/coverage

# === Rules for XCode artifacts ===
*.xcodeproj
Expand Down
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ x-ccache-setup-steps: &ccache-setup-steps
- export CXX='ccache g++-6'

os: linux
dist: xenial
language: cpp
env:
global:
- PYTHON_VERSION="2.7.15"
jobs:
include:
- stage: "Compile"
Expand All @@ -20,7 +22,7 @@ jobs:
- g++-6
install: *ccache-setup-steps
script:
- pyenv global 2.7.15
- pyenv global ${PYTHON_VERSION}
- ./configure
- make -j2 -C out V=1 v8

Expand All @@ -34,7 +36,7 @@ jobs:
- g++-6
install: *ccache-setup-steps
script:
- pyenv global 2.7.15
- pyenv global ${PYTHON_VERSION}
- ./configure
- make -j2 V=1
- cp out/Release/node /home/travis/.ccache
Expand All @@ -47,7 +49,7 @@ jobs:
- mkdir -p out/Release
- cp /home/travis/.ccache/node out/Release/node
script:
- pyenv global 2.7.15
- pyenv global ${PYTHON_VERSION}
- python tools/test.py -j 2 -p dots --report --mode=release --flaky-tests=dontcare default

- name: "Test C++ Suites"
Expand All @@ -63,7 +65,7 @@ jobs:
- cp /home/travis/.ccache/cctest out/Release/cctest
- touch config.gypi
script:
- pyenv global 2.7.15
- pyenv global ${PYTHON_VERSION}
- out/Release/cctest
- make -j1 V=1 test/addons/.buildstamp test/js-native-api/.buildstamp test/node-api/.buildstamp
- python tools/test.py -j 2 -p dots --report --mode=release --flaky-tests=dontcare addons js-native-api node-api
Expand All @@ -72,7 +74,7 @@ jobs:
language: node_js
node_js: "node"
install:
- pyenv global 2.7.15
- pyenv global ${PYTHON_VERSION}
- make lint-py-build || true
script:
- NODE=$(which node) make lint lint-py
Expand Down
5 changes: 2 additions & 3 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ file a new issue.
* [Building the documentation](#building-the-documentation)
* [Building a debug build](#building-a-debug-build)
* [Windows](#windows)
* [Prerequisites](#prerequisites-1)
* [Prerequisites](#prerequisites)
* [Option 1: Manual install](#option-1-manual-install)
* [Option 1: Automated install with Boxstarter](#option-1-automated-install-with-boxstarter)
* [Building Node.js](#building-nodejs-1)
Expand Down Expand Up @@ -322,8 +322,7 @@ Make sure the linter does not report any issues and that all tests pass. Please
do not submit patches that fail either check.

If you want to run the linter without running tests, use
`make lint`/`vcbuild lint`. It will run both JavaScript linting and
C++ linting.
`make lint`/`vcbuild lint`. It will lint JavaScript, C++, and Markdown files.

If you are updating tests and want to run tests in a single test file
(e.g. `test/parallel/test-stream2-transform.js`):
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ release.
</tr>
<tr>
<td valign="top">
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.6.0">12.6.0</a></b><br/>
<b><a href="doc/changelogs/CHANGELOG_V12.md#12.7.0">12.7.0</a></b><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.6.0">12.6.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.5.0">12.5.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.4.0">12.4.0</a><br/>
<a href="doc/changelogs/CHANGELOG_V12.md#12.3.1">12.3.1</a><br/>
Expand Down
13 changes: 10 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,11 @@ test-all-suites: | clear-stalled test-build bench-addons-build doc-only ## Run a

CI_NATIVE_SUITES ?= addons js-native-api node-api
CI_JS_SUITES ?= default
CI_DOC := doctool
ifeq ($(node_use_openssl), false)
CI_DOC := doctool
else
CI_DOC =
endif

.PHONY: test-ci-native
# Build and test addons without building anything else
Expand Down Expand Up @@ -700,7 +704,11 @@ tools/doc/node_modules: tools/doc/package.json
.PHONY: doc-only
doc-only: tools/doc/node_modules \
$(apidoc_dirs) $(apiassets) ## Builds the docs with the local or the global Node.js binary.
@$(MAKE) out/doc/api/all.html out/doc/api/all.json
@if [ "$(shell $(node_use_openssl))" != "true" ]; then \
echo "Skipping doc-only (no crypto)"; \
else \
$(MAKE) out/doc/api/all.html out/doc/api/all.json; \
fi

.PHONY: doc
doc: $(NODE_EXE) doc-only
Expand Down Expand Up @@ -1027,7 +1035,6 @@ $(TARBALL): release-only $(NODE_EXE) doc
$(RM) -r $(TARNAME)/tools/node_modules
$(RM) -r $(TARNAME)/tools/osx-*
$(RM) -r $(TARNAME)/tools/osx-pkg.pmdoc
$(RM) -r $(TARNAME)/tools/pkgsrc
find $(TARNAME)/ -name ".eslint*" -maxdepth 2 | xargs $(RM)
find $(TARNAME)/ -type l | xargs $(RM) # annoying on windows
tar -cf $(TARNAME).tar $(TARNAME)
Expand Down
50 changes: 37 additions & 13 deletions common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

# Reset this number to 0 on major V8 upgrades.
# Increment by one for each non-official patch applied to deps/v8.
'v8_embedder_string': '-node.14',
'v8_embedder_string': '-node.16',

##### V8 defaults for Node.js #####

Expand Down Expand Up @@ -84,25 +84,49 @@
}, {
'openssl_no_asm%': 0,
}],
['GENERATOR=="ninja"', {
'obj_dir': '<(PRODUCT_DIR)/obj',
'v8_base': '<(PRODUCT_DIR)/obj/tools/v8_gypfiles/libv8_snapshot.a',
}, {
'obj_dir%': '<(PRODUCT_DIR)/obj.target',
'v8_base': '<(PRODUCT_DIR)/obj.target/tools/v8_gypfiles/libv8_snapshot.a',
}],
['OS == "win"', {
'os_posix': 0,
'v8_postmortem_support%': 0,
'obj_dir': '<(PRODUCT_DIR)/obj',
'v8_base': '<(PRODUCT_DIR)/lib/libv8_snapshot.a',
}, {
'os_posix': 1,
'v8_postmortem_support%': 1,
}],
['OS == "mac"', {
'obj_dir%': '<(PRODUCT_DIR)/obj.target',
'v8_base': '<(PRODUCT_DIR)/libv8_snapshot.a',
['v8_use_snapshot==1', {
'conditions': [
['GENERATOR == "ninja"', {
'obj_dir': '<(PRODUCT_DIR)/obj',
'v8_base': '<(PRODUCT_DIR)/obj/tools/v8_gypfiles/libv8_snapshot.a',
}, {
'obj_dir%': '<(PRODUCT_DIR)/obj.target',
'v8_base': '<(PRODUCT_DIR)/obj.target/tools/v8_gypfiles/libv8_snapshot.a',
}],
['OS == "win"', {
'obj_dir': '<(PRODUCT_DIR)/obj',
'v8_base': '<(PRODUCT_DIR)/lib/libv8_snapshot.a',
}],
['OS == "mac"', {
'obj_dir%': '<(PRODUCT_DIR)/obj.target',
'v8_base': '<(PRODUCT_DIR)/libv8_snapshot.a',
}],
],
}, {
'conditions': [
['GENERATOR == "ninja"', {
'obj_dir': '<(PRODUCT_DIR)/obj',
'v8_base': '<(PRODUCT_DIR)/obj/tools/v8_gypfiles/libv8_nosnapshot.a',
}, {
'obj_dir%': '<(PRODUCT_DIR)/obj.target',
'v8_base': '<(PRODUCT_DIR)/obj.target/tools/v8_gypfiles/libv8_nosnapshot.a',
}],
['OS == "win"', {
'obj_dir': '<(PRODUCT_DIR)/obj',
'v8_base': '<(PRODUCT_DIR)/lib/libv8_nosnapshot.a',
}],
['OS == "mac"', {
'obj_dir%': '<(PRODUCT_DIR)/obj.target',
'v8_base': '<(PRODUCT_DIR)/libv8_nosnapshot.a',
}],
],
}],
['openssl_fips != ""', {
'openssl_product': '<(STATIC_LIB_PREFIX)crypto<(STATIC_LIB_SUFFIX)',
Expand Down
44 changes: 12 additions & 32 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,6 @@
help="Generate an executable with libgcc and libstdc++ libraries. This "
"will not work on OSX when using the default compilation environment")

parser.add_option("--enable-vtune-profiling",
action="store_true",
dest="enable_vtune_profiling",
help="Enable profiling support for Intel VTune profiler to profile "
"JavaScript code executed in nodejs. This feature is only available "
"for x32, x86, and x64 architectures.")

parser.add_option("--enable-pgo-generate",
action="store_true",
dest="enable_pgo_generate",
Expand Down Expand Up @@ -407,7 +400,7 @@
action='store_true',
dest='node_use_large_pages',
help='build with Large Pages support. This feature is supported only on Linux kernel' +
'>= 2.6.38 with Transparent Huge pages enabled')
'>= 2.6.38 with Transparent Huge pages enabled and FreeBSD')

intl_optgroup.add_option('--with-intl',
action='store',
Expand Down Expand Up @@ -515,11 +508,6 @@
dest='without_siphash',
help=optparse.SUPPRESS_HELP)

parser.add_option('--code-cache-path',
action='store',
dest='code_cache_path',
help='optparse.SUPPRESS_HELP')

# End dummy list.

parser.add_option('--without-ssl',
Expand Down Expand Up @@ -722,7 +710,7 @@ def get_nasm_version(asm):
stdout=subprocess.PIPE)
except OSError:
warn('''No acceptable ASM compiler found!
Please make sure you have installed NASM from http://www.nasm.us
Please make sure you have installed NASM from https://www.nasm.us
and refer BUILDING.md.''')
return '0'

Expand Down Expand Up @@ -997,15 +985,6 @@ def configure_node(o):
if flavor == 'aix':
o['variables']['node_target_type'] = 'static_library'

if target_arch in ('x86', 'x64', 'ia32', 'x32'):
o['variables']['node_enable_v8_vtunejit'] = b(options.enable_vtune_profiling)
elif options.enable_vtune_profiling:
raise Exception(
'The VTune profiler for JavaScript is only supported on x32, x86, and x64 '
'architectures.')
else:
o['variables']['node_enable_v8_vtunejit'] = 'false'

if flavor != 'linux' and (options.enable_pgo_generate or options.enable_pgo_use):
raise Exception(
'The pgo option is supported only on linux.')
Expand Down Expand Up @@ -1060,22 +1039,23 @@ def configure_node(o):
else:
o['variables']['node_use_dtrace'] = 'false'

if options.node_use_large_pages and flavor != 'linux':
if options.node_use_large_pages and not flavor in ('linux', 'freebsd'):
raise Exception(
'Large pages are supported only on Linux Systems.')
if options.node_use_large_pages and flavor == 'linux':
if options.node_use_large_pages and flavor in ('linux', 'freebsd'):
if options.shared or options.enable_static:
raise Exception(
'Large pages are supported only while creating node executable.')
if target_arch!="x64":
raise Exception(
'Large pages are supported only x64 platform.')
# Example full version string: 2.6.32-696.28.1.el6.x86_64
FULL_KERNEL_VERSION=os.uname()[2]
KERNEL_VERSION=FULL_KERNEL_VERSION.split('-')[0]
if KERNEL_VERSION < "2.6.38":
raise Exception(
'Large pages need Linux kernel version >= 2.6.38')
if flavor == 'linux':
# Example full version string: 2.6.32-696.28.1.el6.x86_64
FULL_KERNEL_VERSION=os.uname()[2]
KERNEL_VERSION=FULL_KERNEL_VERSION.split('-')[0]
if KERNEL_VERSION < "2.6.38" and flavor == 'linux':
raise Exception(
'Large pages need Linux kernel version >= 2.6.38')
o['variables']['node_use_large_pages'] = b(options.node_use_large_pages)

if options.no_ifaddrs:
Expand Down Expand Up @@ -1116,7 +1096,7 @@ def configure_node(o):
o['variables']['node_no_browser_globals'] = b(options.no_browser_globals)
# TODO(refack): fix this when implementing embedded code-cache when cross-compiling.
if o['variables']['want_separate_host_toolset'] == 0:
o['variables']['node_code_cache_path'] = 'yes'
o['variables']['node_code_cache'] = 'yes' # For testing
o['variables']['node_shared'] = b(options.shared)
node_module_version = getmoduleversion.get_version()

Expand Down
21 changes: 0 additions & 21 deletions deps/acorn-plugins/acorn-bigint/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions deps/acorn-plugins/acorn-bigint/README.md

This file was deleted.

Loading