- Oct 17, 2014
-
-
Ben Noordhuis authored
This commit adds preliminary x32 support. Configure with: $ ./configure --dest-cpu=x32 PR-URL: https://github.com/node-forward/node/pull/24 Reviewed-By:Fedor Indutny <fedor@indutny.com>
-
Ben Noordhuis authored
Fix double definition errors in the libv8_base.a library target by compiling out stub functions when building for x32. This fix is incomplete because, although V8 now builds, it makes a number of bad assumptions about the size of stack slots, see https://code.google.com/p/v8/issues/detail?id=3630. PR-URL: https://github.com/node-forward/node/pull/24 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
- Oct 16, 2014
-
-
Ben Noordhuis authored
The test implicitly assumed that crypto operations complete in the same order as they are started but, because they go round-trip through the thread pool, there is no such guarantee. Enforce proper sequencing. Fixes node-forward/node#22. PR-URL: https://github.com/node-forward/node/pull/23 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
- Oct 14, 2014
-
-
Ben Noordhuis authored
Attach the per-context execution environment directly to API functions. Rationale: * Gets node one step closer to multi-isolate readiness. * Avoids multi-context confusion, e.g. when the caller and callee live in different contexts. * Avoids expensive calls to pthread_getspecific() on platforms where V8 does not know how to use the thread-local storage directly. (Linux, the BSDs.) PR-URL: https://github.com/node-forward/node/pull/18 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Ben Noordhuis authored
Remove a few Environment::GetCurrent() calls that g++ failed to detect were not used for anything. The return value was assigned to a local variable but not used meaningfully. PR-URL: https://github.com/node-forward/node/pull/18 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Ben Noordhuis authored
Defined in src/node.cc but not actually in use; remove it. PR-URL: https://github.com/node-forward/node/pull/18 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Ben Noordhuis authored
On POSIX platforms, check that the uid and gid match the euid and egid respectively before looking up the environment variable. Before this commit, an i18n-enabled suid node would cheerfully load attacker-controlled ICU data through the NODE_ICU_DATA environment variable. This commit is not a complete fix. For example, it's up for debate what to do with the NODE_CHANNEL_FD environment variable. PR-URL: https://github.com/node-forward/node/pull/18 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
- Oct 12, 2014
-
-
Ben Noordhuis authored
Mechanically replace assert() statements with UNREACHABLE(), CHECK(), or CHECK_{EQ,NE,LT,GT,LE,GE}() statements. The exceptions are src/node.h and src/node_object_wrap.h because they are public headers. PR-URL: https://github.com/node-forward/node/pull/16 Reviewed-By:Fedor Indutny <fedor@indutny.com>
-
Ben Noordhuis authored
Make tools/check-imports.sh stop complaining, remove or reorder 'using' statements. PR-URL: https://github.com/node-forward/node/pull/16 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Ben Noordhuis authored
API callback functions don't need to create a v8::HandleScope instance because V8 already creates one in the JS->C++ adapter frame. PR-URL: https://github.com/node-forward/node/pull/16 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Refael Ackermann authored
Reviewed-By:
Fedor Indutny <fedor@indutny.com> PR-URL: https://github.com/joyent/node/pull/8476
-
Fedor Indutny authored
-
Fedor Indutny authored
The new v8 doesn't build on non gnu++0x, set it to a proper value for all systems.
-
Fedor Indutny authored
Provide default Platform implementation for v8's purposes.
-
- Oct 10, 2014
-
-
Fedor Indutny authored
-
Ben Noordhuis authored
Link with -z,noexecstack to make stack memory non-executable. Makes shellcode injection through buffer overflows more difficult. Fixes: https://github.com/joyent/node/issues/7542 PR-URL: https://github.com/node-forward/node/pull/8 Reviewed-By:
Trevor Norris <trevnorris@gmail.com>
-
Ben Noordhuis authored
Update the list of root certificates in src/node_root_certs.h with tools/mk-ca-bundle.pl. PR-URL: https://github.com/node-forward/node/pull/7 Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Trevor Norris <trevnorris@gmail.com>
-
Ben Noordhuis authored
This is the latest certdata.txt from [0], last updated on 2014-10-08. [0] https://hg.mozilla.org/mozilla-central/raw-file/f0bb13ef0ee4/security/nss/lib/ckfw/builtins/certdata.txt PR-URL: https://github.com/node-forward/node/pull/7 Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Trevor Norris <trevnorris@gmail.com>
-
Ray Donnelly authored
PR-URL: https://github.com/joyent/node/pull/8294 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Ray Donnelly authored
Update following macros: * NODE_NET_SOCKET_{READ,WRITE}() - they both take 4 arguments, not 2 * NODE_COUNT_GC_PERCENTTIME() - it takes a single argument. Use INT_PTR instead of INT32 in pointer casts in win32_etw provider. PR-URL: https://github.com/joyent/node/pull/8294 Reviewed-By:Fedor Indutny <fedor@indutny.com>
-
Julien Gilli authored
This change in V8: https://code.google.com/p/v8/source/detail?r=22210 has introduced a method named OS::GetCurrentThreadId which fails to compile on OSes where a "gettid" syscall does not exist. This build issue has been fixed upstream by another change: https://code.google.com/p/v8/source/detail?r=23459. This commit integrates this fix. It's still not clear if this is good enough for the long term, see https://code.google.com/p/v8/issues/detail?id=3620 for more information. The other build issue was due to the fact that alloca.h is not included by other system includes on SmartOS, which is assumed by V8. PR-URL: https://github.com/joyent/node/pull/8534 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
- Oct 08, 2014
-
-
Fedor Indutny authored
The cluster children are hitting breakpoint at `cluster.onread` and hanging on a Semaphore wait now. This prevents them from disconnecting gracefully. Considering that the test is checking different thing, the cluster children needs to be force killed from the grand parent process. Reviewed-By:
Trevor Norris <trevnorris@gmail.com> PR-URL: https://github.com/joyent/node/pull/8476
-
Fedor Indutny authored
Because of behavior change of some V8 APIs (they mostly became more strict), following modules needed to be fixed: * crypto: duplicate prototype methods are not allowed anymore * contextify: some TryCatch trickery, the binding was using it incorrectly * util: maximum call stack error is now crashing in a different place Reviewed-By:Trevor Norris <trevnorris@gmail.com> PR-URL: https://github.com/joyent/node/pull/8476
-
Fedor Indutny authored
Do not send signal to children if they are already in debug mode. Node.js on Windows does not register signal handler, and thus calling `process._debugProcess()` will throw an error. Reviewed-By:
Trevor Norris <trevnorris@gmail.com> PR-URL: https://github.com/joyent/node/pull/8476
-
Fedor Indutny authored
Reviewed-By:
Trevor Norris <trevnorris@gmail.com> PR-URL: https://github.com/joyent/node/pull/8476
-
Refael Ackermann authored
Reviewed-By:
Fedor Indutny <fedor@indutny.com> PR-URL: https://github.com/joyent/node/pull/8476
-
Fedor Indutny authored
Reviewed-By:
Fedor Indutny <fedor@indutny.com> PR-URL: https://github.com/joyent/node/pull/8476
-
Refael Ackermann authored
Reviewed-By:
Fedor Indutny <fedor@indutny.com> PR-URL: https://github.com/joyent/node/pull/8476
-
Fedor Indutny authored
-
Trevor Norris authored
* Add official documentation that a Buffer instance is a viable argument when instantiating a new Buffer. * Properly set the poolOffset when a buffer needs to be truncated. * Add comments clarifying specific peculiar coding choices. * Remove a level of unnecessary indentation. Signed-off-by:Trevor Norris <trev.norris@gmail.com>
-
Trevor Norris authored
Continuation of 4809c7aa to update the use of v8::ExternalArrayType. Signed-off-by:
Trevor Norris <trev.norris@gmail.com>
-
Refael Ackermann authored
Windows doesn't resolve ".." the way we expect it for symlinks and junctions. PR-URL: https://github.com/joyent/node/pull/8489 Reviewed-by:
Trevor Norris <trev.norris@gmail.com> Reviewed-by:
Fedor Indutny <fedor@indutny.com>
-
Trevor Norris authored
Signed-off-by:Trevor Norris <trev.norris@gmail.com>
-
Trevor Norris authored
The constants in enum v8::ExternalArrayType have been changed. The old values are there for legacy reasons, but it's best to update anyway. Signed-off-by:Trevor Norris <trev.norris@gmail.com>
-
Steve Mao authored
PR-URL: https://github.com/joyent/node/pull/8498 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Johnny Ray authored
Add API Writable#setDefaultEncoding(). PR-URL: https://github.com/joyent/node/pull/8483 Fixes: https://github.com/joyent/node/issues/7159 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Steven R. Loomis authored
Move from argparse to optparse for dependency management. Fixes: https://github.com/joyent/node/pull/7719#issuecomment-56868172 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Steven R. Loomis authored
Fixes: https://github.com/joyent/node/issues/7676#issuecomment-57535890 Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
- Oct 07, 2014
-
-
Evan Rutledge Borden authored
Fixes: https://github.com/joyent/node/issues/8458 Reviewed-by:
Trevor Norris <trev.norris@gmail.com> Reviewed-by:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Victor Widell authored
The docs for readLine.pause are misleading. I seriously spent hours on this. If it isn't a bug, at least it should be well documented. Someone else stumbled on this too: http://stackoverflow.com/questions/21341050/pausing-readline-in-node-js Reviewed-by:
Trevor Norris <trev.norris@gmail.com> Reviewed-by:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-