- Jan 21, 2015
-
-
Ben Noordhuis authored
Fixes a NULL pointer dereference with unterminated template literals. This is a back-port of commit v8/v8-git-mirror@02218ad from the V8 master branch, see https://code.google.com/p/v8/issues/detail?id=3820. PR-URL: https://github.com/iojs/io.js/pull/534 Reviewed-By:
Caitlin Potter <caitpotter88@gmail.com> Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Vladimir Kurchatkin authored
Since setting object properties in C++ can be slow, pass data to JS using preallocated smalloc buffer and create object in JS instead. PR-URL: https://github.com/iojs/io.js/pull/469 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Yosuke Furukawa authored
PR-URL: https://github.com/iojs/io.js/pull/516 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Trevor Norris authored
Mark several methods "override" in order to remove build warnings. PR-URL: https://github.com/iojs/io.js/pull/531 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Cheng Zhao authored
This can make node_is_initialized correctly set to true for applications that use node::Init to embed iojs. PR-URL: https://github.com/iojs/io.js/pull/225/ Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
Remove a few unused or barely used macros from src/node_file.cc. PR-URL: https://github.com/iojs/io.js/pull/529 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
Rename the misnomers ASSERT_IS_STRING_OR_BUFFER and ASSERT_IS_BUFFER. Said macros don't assert, they throw a TypeError and return. PR-URL: https://github.com/iojs/io.js/pull/529 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
Add ASSERT counterparts to the CHECK_EQ/CHECK_NE/etc. family of macros. PR-URL: https://github.com/iojs/io.js/pull/529 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ben Noordhuis authored
Commit 29313483 added EventEmitter#getMaxListeners() but introduced a regression when people abuse EventEmitter.prototype.on.call() to call EventEmitter#on() on a non-EE object. Add a workaround for that. Fixes: https://github.com/iojs/io.js/issues/523 PR-URL: https://github.com/iojs/io.js/pull/527 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Ben Noordhuis authored
Add missing commas in parallel/test-event-emitter-get-max-listeners. Comma-less style is fine and dandy but it throws off vim's autoindent. PR-URL: https://github.com/iojs/io.js/pull/527 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Ben Noordhuis authored
Commit 3e1b1dd4 missed a few files in test/parallel, this commit rectifies that. Only test/parallel/test-url.js still has a copyright header. I left it in because the original author is neither an io.js contributor nor a StrongLoop employee. PR-URL: https://github.com/iojs/io.js/pull/527 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
cjihrig authored
Define fs constants using const, as the newer version of v8 supports it, and appears to be capable of optimizing. PR-URL: https://github.com/iojs/io.js/pull/522 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Jan 20, 2015
-
-
Rod Vagg authored
-
Rod Vagg authored
Notable changes * V8 upgrade from 3.31 to 4.1, this is not a major upgrade, the version number "4.1" signifies tracking towards Chrome 41. The 3.31 branch is now not tracking towards a stable release. * Re-enable Windows XP / 2003 support * npm upgrade to 2.2.0 * Improved FreeBSD support
-
toastynerd authored
dlopen takes exactly 2 arguments, check for exactly 2 PR-URL: https://github.com/iojs/io.js/pull/515 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
cjihrig authored
This commit adds a code field to the error returned by nullCheck(). Fixes: https://github.com/iojs/io.js/issues/517 PR-URL: https://github.com/iojs/io.js/pull/519 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
cjihrig authored
3ac49419 introduced a bug as it attempted to access properties of an undefined variable. This commit cleans up the offending code. Fixes: https://github.com/iojs/io.js/issues/510 PR-URL: https://github.com/iojs/io.js/pull/514 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Bert Belder authored
The duplicate warning was fixed by e1fe270f, but returned as of 9f45799d. Hopefully this will fix the issue for good. PR: https://github.com/iojs/io.js/pull/512 Reviewed-by:
Ben Noordhuis <info@bnoordhuis.nl>
-
Bert Belder authored
Chrome still runs on Windows XP, so there is no reason that iojs couldn't. PR: https://github.com/iojs/io.js/pull/512 Reviewed-by:
Ben Noordhuis <info@bnoordhuis.nl>
-
Timothy J Fontaine authored
Previously if a worker's state machine had already transitioned into the 'listening' state when it received the message enabling the debugger, the worker would never enable its debugger. Change the logic to allow the 'listening' as a valid state for enabling the debugger. Fixes: https://github.com/joyent/node/issues/6440 Original-PR-URL: https://github.com/joyent/node/pull/9037 Signed-off-by:
Julien Gilli <julien.gilli@joyent.com> Fixes: https://github.com/iojs/io.js/issues/340 PR-URL: https://github.com/iojs/io.js/pull/501 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
Reland the changes from commit 11c1bae7 ("lib: make --debug-port work with cluster") that were temporarily backed out to cherry-pick commits from joyent/node. PR-URL: https://github.com/iojs/io.js/pull/501 Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Timothy J Fontaine authored
unref one superfluous timer (as the test suite already has a global timeout), and improve the state machine to iterate the messages more reliably. Ultimately make the test complete more quickly. Original-PR-URL: [unknown] Signed-off-by:
Julien Gilli <julien.gilli@joyent.com> PR-URL: https://github.com/iojs/io.js/pull/501 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
Temporarily revert the changes to test/ from commit 11c1bae7 ("lib: make --debug-port work with cluster") to ease cherry-picks from joyent/node. PR-URL: https://github.com/iojs/io.js/pull/501 Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
Move sequential/test-debug-port-from-cmdline to test/parallel. Per the previous commit, it should now be possible to run the test in parallel with other debugger tests. PR-URL: https://github.com/iojs/io.js/pull/501 Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Julien Gilli authored
Make this test less prone to race conditions by using synchronous interprocess communication instead of a timer to determine when the child process is ready to receive messages from its parent. Also, remove a superfluous timer since the tests suite already makes tests time out after a while. Original-PR-URL: https://github.com/joyent/node/pull/9049 Reviewed-By:
Timothy J Fontaine <tjfontaine@gmail.com> PR-URL: https://github.com/iojs/io.js/pull/501 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
- Jan 19, 2015
-
-
Xiaowei Li authored
Let REPL enter multiline mode if user's input contains unterminated template literals. PR-URL: https://github.com/iojs/io.js/pull/333 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Johan Bergström authored
PR-URL: https://github.com/iojs/io.js/pull/505 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Glen Keane authored
PR-URL: https://github.com/iojs/io.js/pull/444 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Roman Reiss authored
Reduces the previously pretty-printed configuration dictionary to a single line wrapped at 78 characters. This makes warning messages which appear before this print more visible to the user. PR-URL: https://github.com/iojs/io.js/pull/483 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Saúl Ibarra Corretgé <saghul@gmail.com>
-
Jay Jaeho Lee authored
This is following-up fix for https://codereview.chromium.org/813873007/. This bug currently breaks node-inspector client to work. PR-URL: https://github.com/iojs/io.js/pull/494 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Thomas Jensen authored
util.isPrimitive was used in place of util.isBuffer. PR-URL: https://github.com/iojs/io.js/pull/496 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Yosuke Furukawa authored
Fix up the tcp raw benchmarks after an internal API change. PR-URL: https://github.com/iojs/io.js/pull/495 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Jan 18, 2015
-
-
Ben Noordhuis authored
deps/v8/benchmarks/regexp.js clobbers the RegExp global, breaking util.format() and console.log(). Unclobber it to keep the other benchmarks working. Fixes the following error when running benchmark/misc/v8-bench.js: $ out/Release/iojs benchmark/misc/v8-bench.js util.js:84 if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { ^ TypeError: object is not a function at Object.exports.debuglog (util.js:84:9) at timers.js:12:29 at NativeModule.compile (node.js:800:5) at NativeModule.require (node.js:769:18) at net.js:5:14 at NativeModule.compile (node.js:800:5) at NativeModule.require (node.js:769:18) at tty.js:4:11 at NativeModule.compile (node.js:800:5) at Function.NativeModule.require (node.js:769:18) This could alternatively be addressed by caching the RegExp global in lib/util.js. That's not a bad approach and I considered it but doing it for just RegExp and not other globals would be half-baked. Maybe the more thorough approach where we cache all globals at start-up is something for a follow-up pull request. Fixes: https://github.com/iojs/io.js/pull/475 PR-URL: https://github.com/iojs/io.js/pull/489 Reviewed-By:Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Yosuke Furukawa <yosuke.furukawa@gmail.com>
-
Bert Belder authored
* Fetch from the correct url. * Link compiled addons with iojs.lib instead of node.lib. * Disable checksum checks for iojs.lib until our website supports them. PR: https://github.com/iojs/io.js/pull/422 Reviewed-by:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-by:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
Apply a small patch that makes node-gyp fetch the tarballs from https://iojs.org/ instead of http://nodejs.org/ A patch better suited for inclusion upstream will be put together shortly. PR-URL: https://github.com/iojs/io.js/pull/343 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Forrest L Norvell authored
PR-URL: https://github.com/iojs/io.js/pull/479 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
Now that V8 has been upgraded, remove the --noharmony_classes and --noharmony_object_literals workarounds from commits a2751e3e and 4e58211b. PR-URL: https://github.com/iojs/io.js/pull/490 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Kenan Sulayman <kenan@sly.mn> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Fedor Indutny authored
clang++ on FreeBSD was blaming v8 for using invalid casts from nullptr: reinterpret_cast from 'nullptr_t' to '...' is not allowed Replace casts with NULL, or NULL with 0 where applicable. Fixes: https://github.com/iojs/io.js/issues/324 PR-URL: https://github.com/iojs/io.js/pull/332 Reviewed-By:Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
This commit upgrades V8 from 3.31.74.1 to 4.1.0.7. Despite the major version bump, there are no API or ABI changes, it's a bug fix release only. PR-URL: https://github.com/iojs/io.js/pull/490 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Kenan Sulayman <kenan@sly.mn> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Yosuke Furukawa authored
Before: # common.js executes all tests in net directory. $ ./iojs common.js net After: # common.js executes only "dgram" tests in net directory. $ ./iojs common.js net dgram PR-URL: https://github.com/iojs/io.js/pull/488 Reviewed-By:Ben Noordhuis <info@bnoordhuis.nl>
-