Skip to content

Upgrade vee-eight-4.7 to V8 4.7.80.24 #4085

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

Closed
wants to merge 148 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
7b45163
tools: add tap output to cpplint
jbergstroem Oct 20, 2015
81e32cc
deps: cherry-pick 68e89fb from v8's upstream
indutny Nov 11, 2015
9f71a31
doc: Describe FIPSDIR environment variable
stefanmb Nov 6, 2015
7cb3a54
doc: add note to util.isBuffer
evanlucas Nov 12, 2015
d781cdc
docs: improve discoverability of Code of Conduct
ashleygwilliams Nov 11, 2015
b7089f6
crypto: Improve error checking and reporting
stefanmb Nov 9, 2015
e16c669
doc: sort assert alphabetically
tflanagan Nov 4, 2015
c0360c1
doc: sort buffer alphabetically
tflanagan Nov 4, 2015
f7169d2
doc: sort child_process alphabetically
tflanagan Nov 4, 2015
4c91220
doc: sort cluster alphabetically
tflanagan Nov 4, 2015
42d6431
doc: sort console alphabetically
tflanagan Nov 4, 2015
bf5e177
doc: sort dns alphabetically
tflanagan Nov 4, 2015
6f8e481
doc: sort crypto alphabetically
tflanagan Nov 4, 2015
4315601
doc: sort dgram alphabetically
tflanagan Nov 4, 2015
084e540
doc: sort errors alphabetically
tflanagan Nov 4, 2015
6009c4b
doc: sort events alphabetically
tflanagan Nov 4, 2015
b35c57b
doc: sort fs alphabetically
tflanagan Nov 4, 2015
b690c78
doc: sort globals alphabetically
tflanagan Nov 4, 2015
39a7fdf
doc: sort os alphabetically
tflanagan Nov 4, 2015
a58f389
doc: sort path alphabetically
tflanagan Nov 4, 2015
69cbaf6
doc: sort punycode alphabetically
tflanagan Nov 4, 2015
ed1f10d
doc: sort querystring alphabetically
tflanagan Nov 4, 2015
cff45b9
doc: sort vm alphabetically
tflanagan Nov 4, 2015
32d0d67
doc: sort url alphabetically
tflanagan Nov 4, 2015
e4009b6
doc: sort tty alphabetically
tflanagan Nov 4, 2015
7e5a6b3
doc: sort timers alphabetically
tflanagan Nov 4, 2015
16f9ba0
doc: sort string_decoder alphabetically
tflanagan Nov 4, 2015
8a245ea
doc: sort repl alphabetically
tflanagan Nov 4, 2015
6e6103b
doc: sort readline alphabetically
tflanagan Nov 4, 2015
0ca44b0
doc: sort modules alphabetically
tflanagan Nov 4, 2015
f4c259a
doc: sort http alphabetically
tflanagan Nov 4, 2015
54d8bdb
doc: sort https alphabetically
tflanagan Nov 4, 2015
8c703cd
doc: sort util alphabetically
tflanagan Nov 5, 2015
e50d32c
doc: sort zlib alphabetically
tflanagan Nov 5, 2015
42a9cc7
doc: sort process alphabetically
tflanagan Nov 5, 2015
403d2bf
doc: sort net alphabetically
tflanagan Nov 5, 2015
4efa7de
doc: sort stream alphabetically
tflanagan Nov 5, 2015
f8390fd
doc: sort tls alphabetically
tflanagan Nov 5, 2015
7b355c5
child_process: add safety checks on stdio access
cjihrig Nov 12, 2015
061b2c8
doc: repl: add defineComand and displayPrompt
bengl Nov 11, 2015
974767e
test: fix flaky test test-http-pipeline-flood
dnakamura Sep 14, 2015
d9734b7
test: refactor test-http-pipeline-flood
Trott Nov 2, 2015
a5cce79
console: delete timers that have ended
Oct 28, 2015
483a41c
tls: copy client CAs and cert store on CertCb
indutny Oct 26, 2015
a776a86
querystring: Parse multiple separator characters
yosuke-furukawa Nov 12, 2015
76f40f7
test: stronger crypto in test fixtures
stefanmb Nov 10, 2015
4008961
doc: clarify duplicate header handling
bengl Nov 13, 2015
934149a
doc: reword message.headers to indicate they are not read-only
tflanagan Nov 13, 2015
3c56d5e
doc: added what buf.copy returns
baslr Oct 28, 2015
406c596
doc: add warning about Windows process groups
r-52 Nov 5, 2015
4270e7f
doc: Updated streams simplified constructor API
tomgco Oct 30, 2015
b445938
doc: add link to [customizing util.inspect colors].
jmm Nov 10, 2015
3fea3cb
test: run pipeline flood test in parallel
Trott Nov 13, 2015
8b57b31
test: Fix test-cluster-worker-exit.js for AIX
Nov 4, 2015
34a3591
util: improve typed array formatting
bnoordhuis Nov 12, 2015
70405d4
deps: backport bc2e393 from v8 upstream
Nov 12, 2015
4adaaa4
crypto: DSA parameter validation in FIPS mode
stefanmb Nov 10, 2015
20cd932
test: add test for invalid DSA key size
stefanmb Nov 13, 2015
8ac852f
test: add hasFipsCrypto to test/common.js
stefanmb Nov 12, 2015
fa27c56
zlib: pass kind to recursive calls to flush
Oct 26, 2015
1736ad8
zlib: only apply drain listener if given callback
CraigCav Oct 26, 2015
a49b3af
test: add test-zlib-flush-drain
Nov 11, 2015
11ad744
test: increase crypto strength for FIPS standard
stefanmb Nov 10, 2015
84f0964
build: fix --with-intl=system-icu for x-compile
srl295 Nov 13, 2015
c0bac95
test: fix path to module for repl test on Windows
mcornac Oct 30, 2015
9d0396c
util: use Object.create(null) for dictionary object
JungMinu Nov 15, 2015
e2eb334
build: fix configuring with prebuilt libraries
zyxar Sep 30, 2015
a2144fc
test: skip test if FreeBSD jail will break it
Trott Nov 15, 2015
cd1123a
doc: consistent reference-style links
bengl Nov 14, 2015
a95eb5c
debugger: also exit when the repl emits 'exit'
fb55 Aug 13, 2015
3f6b921
doc: address use of profanity in code of conduct
jasnell Nov 14, 2015
5b80ca9
test: fix flaky SmartOS test
Trott Nov 15, 2015
424ae5d
tls: Use SHA1 for sessionIdContext in FIPS mode
stefanmb Nov 9, 2015
df268f9
tls: use SHA1 for sessionIdContext
stefanmb Nov 9, 2015
0ed3a7c
buffer: let WriteFloatGeneric silently drop values
pmq20 Nov 16, 2015
b385772
test: move test-specific function out of common
Trott Nov 17, 2015
e3949b2
doc: sort repl alphabetically
tflanagan Nov 16, 2015
4fed62c
module: cache regular expressions
evanlucas Nov 17, 2015
7ed09a3
doc: replace head of readme with updated text
rvagg Oct 22, 2015
8ceb36c
doc: document release types in readme
rvagg Oct 22, 2015
b33e9da
debugger: introduce exec method for debugger
JacksonTian Apr 21, 2015
29cd119
2015-11-17, Version 5.1.0 (Stable)
Fishrock123 Nov 17, 2015
9a628e2
test: module loading error fix solaris #3798
Nov 16, 2015
339d384
test: add OS X to module loading error test
evanlucas Nov 18, 2015
72e3dd9
process: throw on non-function to nextTick()
yorkie Nov 16, 2015
ac319c3
test: fix flaky test-child-process-spawnsync-input
Trott Nov 17, 2015
e4e5b13
test: avoid test timeouts on rpi
stefanmb Nov 18, 2015
4cf19ad
util: Remove exec, has been deprecated for years
geek Aug 24, 2015
a2c0aa8
tty: Remove deprecated setRawMode wrapper
geek Aug 24, 2015
007cfea
util: remove pump
geek Aug 24, 2015
5f3ed61
doc: add reference for buffer.inspect()
cjihrig Nov 19, 2015
5900d14
doc: clarify module loading behavior
cjihrig Nov 19, 2015
e499ea8
test: skip/replace weak crypto tests in FIPS mode
stefanmb Nov 10, 2015
ca2e8b2
readline: deprecate undocumented exports
cjihrig Nov 16, 2015
d01eb68
lib: add 'pid' prefix in `internal/util`
JungMinu Nov 17, 2015
6de82c6
test: fix race condition in unrefd interval test
mcornac Oct 27, 2015
56a2b9a
crypto: disable crypto.createCipher in FIPS mode
stefanmb Nov 9, 2015
174d4e4
test: http complete list of non-concat headers
bengl Nov 20, 2015
55b1ecc
doc: move fs.existsSync() deprecation message
martfors Nov 20, 2015
22478d3
buffer: move checkFloat from lib into src
Nov 11, 2015
94c3507
doc: fix broken references
gromnitsky Nov 20, 2015
dfee4e3
module: fix column offsets in errors
tflanagan Sep 14, 2015
9472a0c
net: small code cleanup
jscissr Nov 20, 2015
8b97249
fs: fix the error report on fs.link(Sync)
yorkie Nov 19, 2015
8c4deff
tools: update certdata.txt
bnoordhuis Nov 21, 2015
c83d9b7
crypto: update root certificates
bnoordhuis Nov 21, 2015
91ccbf0
configure: `v8_use_snapshot` should be `true`
indutny Nov 22, 2015
3f4409e
doc: clarify that fs streams expect blocking fd
XeCycle Nov 3, 2015
804cc76
test: numeric flags to fs.open
XeCycle Nov 3, 2015
615fba3
doc: numeric flags to fs.open
XeCycle Nov 3, 2015
d16def5
doc: Adding best practises for crypto.pbkdf2
tomgco Oct 9, 2015
3becac2
doc: replace sane with reasonable
lewiscowper Nov 23, 2015
487de19
test: address flaky test-http-client-timeout-event
Trott Nov 22, 2015
8bc8038
test: retry on smartos if ECONNREFUSED
Trott Nov 20, 2015
2ccde01
src: add BE support to StringBytes::Encode()
exinfinitum Oct 7, 2015
8d37bbe
doc: fix typo in README
Trott Nov 24, 2015
41519fd
test: add TAP diagnostic message for retried tests
Trott Nov 21, 2015
6f87aa9
doc: message.header duplication correction
bengl Nov 24, 2015
6588422
test: remove flaky status for cluster test
Trott Nov 23, 2015
5169311
util,src: allow lookup of hidden values
cjihrig Nov 23, 2015
d7b199d
net: add local address/port for better errors
jscissr Nov 20, 2015
b061e3a
test: skip test if in FreeBSD jail
Trott Nov 24, 2015
ab25589
deps: backport 819b40a from V8 upstream
targos Nov 20, 2015
b2e7a4d
installer: install the tick processor
Sep 22, 2015
a881b53
build,src: add Intel Vtune profiling support
cdai2 Oct 21, 2015
93739f4
buffer: default to UTF8 in byteLength()
tomgco Nov 24, 2015
fc47e0f
test: mark fork regression test flaky on windows
Trott Nov 25, 2015
16db4c4
test: mark cluster-net-send test flaky on windows
Trott Nov 24, 2015
8ca412b
util: add decorateErrorStack()
cjihrig Nov 25, 2015
459b106
repl: attach location info to syntax errors
cjihrig Nov 25, 2015
20acc60
test: use platform-based timeout for reliability
Trott Nov 25, 2015
8b75030
doc: fix rare case of misaligned columns
silverwind Nov 21, 2015
1c85849
test: fix test-domain-exit-dispose-again
Nov 23, 2015
f2e319b
test: move ArrayStream to common
cjihrig Nov 25, 2015
e25f868
test: mark test flaky on FreeBSD
Trott Nov 25, 2015
d1000b4
path: make format() consistent and more functional
nwoltman Aug 17, 2015
8a469e4
build: update signtool description, add url
rvagg Nov 24, 2015
f4f1e89
doc: fix color of linked code blocks
Nov 29, 2015
ee72ee7
module,repl: remove repl require() hack
bnoordhuis Nov 25, 2015
04b1a2f
util: move .decorateErrorStack to internal/util
bnoordhuis Nov 25, 2015
2fb34b6
doc: fix the exception description
yorkie Nov 4, 2015
82b8355
util: fix constructor/instanceof checks
mscdex Oct 15, 2015
b3313aa
test: eliminate multicast test FreeBSD flakiness
Trott Nov 26, 2015
8e68b1f
deps: upgrade V8 to 4.7.80.24
ofrobots Dec 1, 2015
28f0f86
test: fix test-repl-tab-complete after V8 upgrade
ofrobots Oct 15, 2015
bfc0d11
deps: backport 1ee712a from V8 upstream
Oct 5, 2015
bad9c1f
deps: cherry-pick 68e89fb from v8's upstream
indutny Nov 11, 2015
98e5d38
deps: backport bc2e393 from v8 upstream
Nov 12, 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
  •  
  •  
  •  
163 changes: 163 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## Code of Conduct

This Code of Conduct is adapted from [Rust's wonderful
CoC](http://www.rust-lang.org/conduct.html).

* We are committed to providing a friendly, safe and welcoming
environment for all, regardless of gender, sexual orientation,
disability, ethnicity, religion, or similar personal characteristic.
* Please avoid using overtly sexual nicknames or other nicknames that
might detract from a friendly, safe and welcoming environment for
all.
* Please be kind and courteous. There's no need to be mean or rude.
* Respect that some individuals and cultures consider the casual use of
profanity offensive and off-putting.
* Respect that people have differences of opinion and that every
design or implementation choice carries a trade-off and numerous
costs. There is seldom a right answer.
* Please keep unstructured critique to a minimum. If you have solid
ideas you want to experiment with, make a fork and see how it works.
* We will exclude you from interaction if you insult, demean or harass
anyone. That is not welcome behavior. We interpret the term
"harassment" as including the definition in the [Citizen Code of
Conduct](http://citizencodeofconduct.org/); if you have any lack of
clarity about what might be included in that concept, please read
their definition. In particular, we don't tolerate behavior that
excludes people in socially marginalized groups.
* Private harassment is also unacceptable. No matter who you are, if
you feel you have been or are being harassed or made uncomfortable
by a community member, please contact one of the channel ops or any
of the TSC members immediately with a capture (log, photo, email) of
the harassment if possible. Whether you're a regular contributor or
a newcomer, we care about making this community a safe place for you
and we've got your back.
* Likewise any spamming, trolling, flaming, baiting or other
attention-stealing behavior is not welcome.
* Avoid the use of personal pronouns in code comments or
documentation. There is no need to address persons when explaining
code (e.g. "When the developer").
44 changes: 6 additions & 38 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Contributing to Node.js

## Code of Conduct

The Code of Conduct explains the *bare minimum* behavior
expectations the Node Foundation requires of its contributors.
[Please read it before participating.](./CODE_OF_CONDUCT.md)

## Issue Contributions

When opening new issues or commenting on existing issues on this repository
Expand Down Expand Up @@ -181,41 +187,3 @@ By making a contribution to this project, I certify that:
different license), as indicated in the file; or
* (c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified it.


## Code of Conduct

This Code of Conduct is adapted from [Rust's wonderful
CoC](http://www.rust-lang.org/conduct.html).

* We are committed to providing a friendly, safe and welcoming
environment for all, regardless of gender, sexual orientation,
disability, ethnicity, religion, or similar personal characteristic.
* Please avoid using overtly sexual nicknames or other nicknames that
might detract from a friendly, safe and welcoming environment for
all.
* Please be kind and courteous. There's no need to be mean or rude.
* Respect that people have differences of opinion and that every
design or implementation choice carries a trade-off and numerous
costs. There is seldom a right answer.
* Please keep unstructured critique to a minimum. If you have solid
ideas you want to experiment with, make a fork and see how it works.
* We will exclude you from interaction if you insult, demean or harass
anyone. That is not welcome behavior. We interpret the term
"harassment" as including the definition in the [Citizen Code of
Conduct](http://citizencodeofconduct.org/); if you have any lack of
clarity about what might be included in that concept, please read
their definition. In particular, we don't tolerate behavior that
excludes people in socially marginalized groups.
* Private harassment is also unacceptable. No matter who you are, if
you feel you have been or are being harassed or made uncomfortable
by a community member, please contact one of the channel ops or any
of the TC members immediately with a capture (log, photo, email) of
the harassment if possible. Whether you're a regular contributor or
a newcomer, we care about making this community a safe place for you
and we've got your back.
* Likewise any spamming, trolling, flaming, baiting or other
attention-stealing behavior is not welcome.
* Avoid the use of personal pronouns in code comments or
documentation. There is no need to address persons when explaining
code (e.g. "When the developer").
77 changes: 57 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,69 @@

Node.js
=====
=======

[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/nodejs/node?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

This repository began as a GitHub fork of
[joyent/node](https://github.com/joyent/node).

Node.js contributions, releases, and contributorship are under an
[open governance model](./GOVERNANCE.md).
We intend to land, with increasing regularity, releases which are
compatible with the npm ecosystem that has been built to date for
Node.js.
The Node.js project is supported by the
[Node.js Foundation](https://nodejs.org/en/foundation/). Contributions,
policies and releases are managed under an
[open governance model](./GOVERNANCE.md). We are also bound by a
[Code of Conduct](./CODE_OF_CONDUCT.md).

If you need help using or installing Node.js, please use the
[nodejs/help](https://github.com/nodejs/help) issue tracker.

## Release Types

The Node.js project maintains multiple types of releases:

* **Stable**: Released from active development branches of this repository,
versioned by [SemVer](http://semver.org/) and signed by a member of the
[Release Team](#release-team).
Code for Stable releases is organized in this repository by major version
number, For example: [v4.x](https://github.com/nodejs/node/tree/v4.x).
The major version number of Stable releases will increment every 6 months
allowing for breaking changes to be introduced. This happens in April and
October every year. Stable release lines beginning in October each year have
a maximum support life of 8 months. Stable release lines beginning in April
each year will convert to LTS (see below) after 6 months and receive further
support for 30 months.
* **LTS**: Releases that receive Long-term Support, with a focus on stability
and security. Every second Stable release line (major version) will become an
LTS line and receive 18 months of _Active LTS_ support and a further 12
months of _Maintenance_. LTS release lines are given alphabetically
ordered codenames, begining with v4 Argon. LTS releases are less frequent
and will attempt to maintain consistent major and minor version numbers,
only incrementing patch version numbers. There are no breaking changes or
feature additions, except in some special circumstances. More information
can be found in the [LTS README](https://github.com/nodejs/LTS/).
* **Nightly**: Versions of code in this repository on the current Stable
branch, automatically built every 24-hours where changes exist. Use with
caution.

## Download

Binaries, installers, and source tarballs are available at
<https://nodejs.org>.

**Releases** are available at <https://nodejs.org/dist/>, listed under
their version string. The <https://nodejs.org/dist/latest/> symlink
will point to the latest release directory.
**Stable** and **LTS** releases are available at
<https://nodejs.org/download/release/>, listed under their version strings.
The [latest](https://nodejs.org/download/release/latest/) directory is an
alias for the latest Stable release. The latest LTS release from an LTS
line is available in the form: latest-lts-_codename_. For example:
<https://nodejs.org/download/release/latest-lts-argon>

**Nightly** builds are available at
<https://nodejs.org/download/nightly/>, listed under their version
string which includes their date (in UTC time) and the commit SHA at
the HEAD of the release.

**API documentation** is available in each release and nightly
directory under _docs_. <https://nodejs.org/api/> points to the latest version.
directory under _docs_. <https://nodejs.org/api/> points to the API
documentation of the latest stable version.

### Verifying Binaries

Release and nightly download directories all contain a *SHASUM256.txt*
Stable, LTS and Nightly download directories all contain a *SHASUM256.txt*
file that lists the SHA checksums for each file available for
download. To check that a downloaded file matches the checksum, run
it through `sha256sum` with a command such as:
Expand All @@ -44,9 +75,9 @@ $ grep node-vx.y.z.tar.gz SHASUMS256.txt | sha256sum -c -
_(Where "node-vx.y.z.tar.gz" is the name of the file you have
downloaded)_

Additionally, releases (not nightlies) have GPG signed copies of
SHASUM256.txt files available as SHASUM256.txt.asc. You can use `gpg`
to verify that the file has not been tampered with.
Additionally, Stable and LTS releases (not Nightlies) have GPG signed
copies of SHASUM256.txt files available as SHASUM256.txt.asc. You can use
`gpg` to verify that the file has not been tampered with.

To verify a SHASUM256.txt.asc, you will first need to import all of
the GPG keys of individuals authorized to create releases. They are
Expand Down Expand Up @@ -226,6 +257,9 @@ Windows:
$ pkg-config --modversion icu-i18n && ./configure --with-intl=system-icu
```

If you are cross compiling, your `pkg-config` must be able to supply a path
that works for both your host and target environments.

#### Build with a specific ICU:

You can find other ICU releases at
Expand Down Expand Up @@ -295,7 +329,9 @@ Instructions:
Appendix A in the [security policy]
(http://csrc.nist.gov/groups/STM/cmvp/documents/140-1/140sp/140sp1747.pdf).
The only exception is that `./config no-asm` can be
used in place of `./config` )
used in place of `./config`, and the FIPSDIR environment variable
may be used to specify a non-standard install folder for the
validated module, as per User Guide sections 4.2.1, 4.2.2, and 4.2.3.
6. Get into Node.js checkout folder
7. `./configure --openssl-fips=/path/to/openssl-fips/installdir`
For example on ubuntu 12 the installation directory was
Expand All @@ -305,6 +341,7 @@ Instructions:

## Resources for Newcomers

* [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md)
* [CONTRIBUTING.md](./CONTRIBUTING.md)
* [GOVERNANCE.md](./GOVERNANCE.md)
* IRC:
Expand All @@ -316,7 +353,7 @@ Instructions:
All security bugs in node.js are taken seriously and should be reported by
emailing [email protected]. This will be delivered to a subset of the project
team who handle security issues. Please don't disclose security bugs
public until they have been handled by the security team.
publicly until they have been handled by the security team.

Your email will be acknowledged within 24 hours, and you’ll receive a more
detailed response to your email within 48 hours indicating the next steps in
Expand Down
27 changes: 24 additions & 3 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,14 @@ parser.add_option("--fully-static",
help="Generate an executable without external dynamic libraries. This "
"will not work on OSX when using 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 ia32, x32 or x64 platform.")


parser.add_option("--link-module",
action="append",
dest="linked_module",
Expand Down Expand Up @@ -679,6 +687,15 @@ def configure_node(o):
o['variables']['node_core_target_name'] = 'node_base'
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(
'vtune profiler for JavaScript is only supported on x86, x32 or x64 '
'platform.')
else:
o['variables']['node_enable_v8_vtunejit'] = 'false'

if flavor in ('solaris', 'mac', 'linux', 'freebsd'):
use_dtrace = not options.without_dtrace
# Don't enable by default on linux and freebsd
Expand Down Expand Up @@ -753,11 +770,15 @@ def configure_library(lib, output):
if pkg_cflags:
output['include_dirs'] += (
filter(None, map(str.strip, pkg_cflags.split('-I'))))
elif options.__dict__[shared_lib + '_includes']:
output['include_dirs'] += [options.__dict__[shared_lib + '_includes']]

# libpath needs to be provided ahead libraries
if pkg_libpath:
output['libraries'] += (
filter(None, map(str.strip, pkg_cflags.split('-L'))))
output['libraries'] += [pkg_libpath]
elif options.__dict__[shared_lib + '_libpath']:
output['libraries'] += [
'-L%s' % options.__dict__[shared_lib + '_libpath']]

default_libs = getattr(options, shared_lib + '_libname')
default_libs = map('-l{0}'.format, default_libs.split(','))
Expand All @@ -773,7 +794,7 @@ def configure_v8(o):
o['variables']['v8_no_strict_aliasing'] = 1 # Work around compiler bugs.
o['variables']['v8_optimized_debug'] = 0 # Compile with -O0 in debug builds.
o['variables']['v8_random_seed'] = 0 # Use a random seed for hash tables.
o['variables']['v8_use_snapshot'] = 0 if options.without_snapshot else 1
o['variables']['v8_use_snapshot'] = 'false' if options.without_snapshot else 'true'

def configure_openssl(o):
o['variables']['node_use_openssl'] = b(not options.without_ssl)
Expand Down
1 change: 1 addition & 0 deletions deps/v8/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ shell_g
/tools/jsfunfuzz.zip
/tools/oom_dump/oom_dump
/tools/oom_dump/oom_dump.o
/tools/swarming_client
/tools/visual_studio/Debug
/tools/visual_studio/Release
/v8.log.ll
Expand Down
4 changes: 4 additions & 0 deletions deps/v8/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Christopher A. Taylor <[email protected]>
Daniel Andersson <[email protected]>
Daniel James <[email protected]>
Douglas Crosher <[email protected]>
Dusan Milosavljevic <[email protected]>
Erich Ocean <[email protected]>
Fedor Indutny <[email protected]>
Felix Geisendörfer <[email protected]>
Expand All @@ -67,6 +68,7 @@ Johan Bergström <[email protected]>
Jonathan Liu <[email protected]>
JunHo Seo <[email protected]>
Kang-Hao (Kenny) Lu <[email protected]>
Karl Skomski <[email protected]>
Luis Reis <[email protected]>
Luke Zarko <[email protected]>
Maciej Małecki <[email protected]>
Expand All @@ -90,9 +92,11 @@ Rene Rebe <[email protected]>
Robert Mustacchi <[email protected]>
Robert Nagy <[email protected]>
Ryan Dahl <[email protected]>
Sakthipriyan Vairamani (thefourtheye) <[email protected]>
Sandro Santilli <[email protected]>
Sanjoy Das <[email protected]>
Seo Sanghyeon <[email protected]>
Stefan Penner <[email protected]>
Tobias Burnus <[email protected]>
Victor Costan <[email protected]>
Vlad Burlik <[email protected]>
Expand Down
Loading