- Feb 27, 2015
-
-
Rod Vagg authored
Notable changes: * process / promises: An'unhandledRejection' event is now emitted on process whenever a Promise is rejected and no error handler is attached to the Promise within a turn of the event loop. A 'rejectionHandled' event is now emitted whenever a Promise was rejected and an error handler was attached to it later than after an event loop turn. See the process documentation for more detail. https://github.com/iojs/io.js/pull/758 (Petka Antonov) * streams: you can now use regular streams as an underlying socket for tls.connect() https://github.com/iojs/io.js/pull/758 (Fedor Indutny) * http: A new 'abort' event emitted when a http.ClientRequest is aborted by the client. https://github.com/iojs/io.js/pull/945 (Evan Lucas) * V8: Upgrade V8 to 4.1.0.21. Includes an embargoed fix, details should be available at https://code.google.com/p/chromium/issues/detail?id=430201 when embargo is lifted. A breaking ABI change has been held back from this upgrade, possibly to be included when io.js merges V8 4.2. See https://github.com/iojs/io.js/pull/952 for discussion. * npm: Upgrade npm to 2.6.0. Includes features to support the new registry and to prepare for npm@3. See npm CHANGELOG.md https://github.com/npm/npm/blob/master/CHANGELOG.md#v260-2015-02-12 for details. * libuv: Upgrade to 1.4.2. See libuv ChangeLog https://github.com/libuv/libuv/blob/v1.x/ChangeLog for details of fixes.
-
Brendan Ashworth authored
This commit changes the word introduction to the code block to be explicitly correct, and changes the `d` variable to `msg` for clarity. PR-URL: https://github.com/iojs/io.js/pull/964 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Nicu Micleușanu <micnic90@gmail.com> Reviewed-By:
Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
-
Tim Oxley authored
This adds more consistency, plus links to commits are particularly useful. PR-URL: https://github.com/iojs/io.js/pull/967 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
- Feb 26, 2015
-
-
silverwind authored
fixes #958 Fixes: https://github.com/iojs/io.js/issues/958 PR-URL: https://github.com/iojs/io.js/pull/968 Reviewed-By:
Shigeki Ohtsu <ohtsu@iij.ad.jp>
-
Ben Noordhuis authored
PR-URL: https://github.com/iojs/io.js/pull/966 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Evan Lucas authored
Fixes a SIGSEGV by making sure `txt_chunk` is not empty before setting it on `txt_records` PR-URL: https://github.com/iojs/io.js/pull/960 Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Chris Dickinson authored
If run with --abort-on-uncaught-exception, V8 will abort the process whenever it does not see a JS-installed CatchClause in the stack. C++ TryCatch clauses are ignored. Domains work by setting a FatalException handler which is ignored when running in abort mode. This patch modifies MakeCallback to call its target function through a JS function that installs a CatchClause and manually calls _fatalException on error, if the process is both using domains and is in abort mode. Semver: patch PR-URL: https://github.com/iojs/io.js/pull/922 Fixes: https://github.com/iojs/io.js/issues/836 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Evan Lucas authored
ClientRequest will now emit an abort event the first time abort() is called. Semver: Minor Fixes: https://github.com/joyent/node/issues/9278 PR-URL: https://github.com/iojs/io.js/pull/945 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Fedor Indutny authored
Move JS methods to the stream_base-inl.h and thus define them on each use of `StreamBase::AddMethods`. Inline `AddMethods` itself, so that there won't be any need in a static declaration in stream_base.cc. NOTE: This basically allows using this API in user-land, though, some polishing is required before releasing it. PR-URL: https://github.com/iojs/io.js/pull/957 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Ben Noordhuis authored
Undo the ABI (but not API) change to NamedPropertyHandlerConfiguration. This avoids a NODE_MODULE_VERSION bump and forcing everyone to recompile their add-ons, at the cost of increasing the delta with upstream V8. This commit effectively backs out 4.1.0.16, the release that introduced the ABI change (and nothing else.) PR-URL: https://github.com/iojs/io.js/pull/952 Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Fedor Indutny authored
Fix: iojs/io.js#461 PR-URL: https://github.com/iojs/io.js/pull/706 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
PR-URL: https://github.com/iojs/io.js/pull/952 Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Ben Noordhuis authored
PR-URL: https://github.com/iojs/io.js/pull/940 Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Benjamin Gruenbaum authored
Documents the new unhandled rejection detection API. Documents the new unhandledRejection/rejectionHandled events in the process docuemntation. As agreed on in this issue: https://github.com/iojs/io.js/issues/256#event-241385784 PR-URL: https://github.com/iojs/io.js/pull/946 Reviewed-By:
Domenic Denicola <domenic@domenicdenicola.com> Reviewed-By:
Sam Roberts <vieuxtech@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- Feb 25, 2015
-
-
Ryan Scheel authored
PR-URL: https://github.com/iojs/io.js/pull/950 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Ben Noordhuis authored
Fix parallel/test-stdio-closed introduced in commit b5f25a96 ("src: ensure that file descriptors 0-2 are valid") to not keep spawning child processes ad infinitum. The test spawns itself as a child process but a missing return statement made the child process spawn itself again, and again, and again. It went unnoticed for some time because the child process exits almost immediately afterwards, i.e. it didn't fill up the process table. The observable effect was an iojs process that was quietly consuming CPU cyles in the background with a PID that was constantly changing. Refs: https://github.com/iojs/io.js/pull/938 PR-URL: https://github.com/iojs/io.js/pull/948 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Sam Roberts authored
PR-URL: https://github.com/iojs/io.js/pull/839 Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com>
-
Petka Antonov authored
Implement unhandled rejection tracking for promises as specified in https://gist.github.com/benjamingr/0237932cee84712951a2 Fixes #256 PR-URL: https://github.com/iojs/io.js/pull/758 Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Domenic Denicola <domenic@domenicdenicola.com>
-
Petka Antonov authored
Benchmarker should pass exec flags (e.g. --no-crankshaft, --turbofan-filter, --trace-opt etc) to the benchmarking process Reviewed-By:
Sam Roberts <vieuxtech@gmail.com> Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> PR-URL: https://github.com/iojs/io.js/pull/928
-
Johan Bergström authored
PR-URL: https://github.com/iojs/io.js/pull/924 Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Fedor Indutny authored
Introduce a way to wrap plain-js `stream.Duplex` streams into C++ StreamBase's child class. With such method at hand it is now possible to pass `stream.Duplex` instance as a `socket` parameter to `tls.connect()`. PR-URL: https://github.com/iojs/io.js/pull/926 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Rod Vagg authored
Closes: #810 PR-URL: https://github.com/iojs/io.js/pull/938 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Johan Bergström authored
This is a minimal effort to support test output written both to stdout and file in order to get our buildbots understanding test output. PR-URL: https://github.com/iojs/io.js/pull/934 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Feb 24, 2015
-
-
cjihrig authored
Currently, if util.format() is called with a string as its first argument, and a Symbol as one of the subsequent arguments, an exception is thrown due to an attempted implicit string conversion. This commit causes Symbols to be explicitly converted. Fixes: https://github.com/iojs/io.js/issues/927 PR-URL: https://github.com/iojs/io.js/pull/931 Reviewed-By:
Domenic Denicola <domenic@domenicdenicola.com>
-
Ben Noordhuis authored
Originally disabled in commit 5de334c2 ("deps: make node-gyp work again on windows") due to the then-website lacking the requisite SHASUMS.txt or SHASUMS256.txt files. The website has a SHASUMS256.txt now so start checksumming the download again. PR-URL: https://github.com/iojs/io.js/pull/918 Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
- Feb 23, 2015
-
-
Vladimir Kurchatkin authored
Semver: patch PR-URL: https://github.com/iojs/io.js/pull/825 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Jeremiah Senkpiel authored
reduced to the minimal amount, any less shows a white bar. Semver: patch PR-URL: https://github.com/iojs/io.js/pull/860 Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
Brendan Ashworth authored
This commit changes many test styles to change all references from require('./common.js'); to require('./common');. The latter is much more common, with the former only being used in 50 tests. It is just a stylistic change, and it seems that `common.js` was introduced by a rogue test and copied and pasted into the rest. Semver: patch PR-URL: https://github.com/iojs/io.js/pull/917 Reviewed-By:Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Fedor Indutny authored
StreamBase is an improved way to write C++ streams. The class itself is for separting `StreamWrap` (with the methods like `.writeAsciiString`, `.writeBuffer`, `.writev`, etc) from the `HandleWrap` class, making possible to write abstract C++ streams that are not bound to any uv socket. The following methods are important part of the abstraction (which mimics libuv's stream API): * Events: * `OnAlloc(size_t size, uv_buf_t*)` * `OnRead(ssize_t nread, const uv_buf_t*, uv_handle_type pending)` * `OnAfterWrite(WriteWrap*)` * Wrappers: * `DoShutdown(ShutdownWrap*)` * `DoTryWrite(uv_buf_t** bufs, size_t* count)` * `DoWrite(WriteWrap*, uv_buf_t*, size_t count, uv_stream_t* handle)` * `Error()` * `ClearError()` The implementation should provide all of these methods, thus providing the access to the underlying resource (be it uv handle, TLS socket, or anything else). A C++ stream may consume the input of another stream by replacing the event callbacks and proxying the writes. This kind of API is actually used now for the TLSWrap implementation, making it possible to wrap TLS stream into another TLS stream. Thus legacy API calls are no longer required in `_tls_wrap.js`. PR-URL: https://github.com/iojs/io.js/pull/840 Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Chris Dickinson <christopher.s.dickinson@gmail.com>
-
- Feb 22, 2015
-
-
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/904 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
René Kooi authored
PR-URL: https://github.com/iojs/io.js/pull/916 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
cjihrig authored
This commit adds proper type checking to makeCallback(). Anything other than undefined or a function will throw. PR-URL: https://github.com/iojs/io.js/pull/866 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
-
Bruno Jouhier authored
Currently, fs.truncate() silently fails when a file descriptor is passed as the first argument. This commit changes this behavior to properly call fs.ftruncate(). PR-URL: https://github.com/joyent/node/pull/9161 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Timothy J Fontaine <tjfontaine@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Conflicts: lib/fs.js
-
- Feb 21, 2015
-
-
Shinnosuke Watanabe authored
PR-URL: https://github.com/iojs/io.js/pull/913 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
cjihrig authored
Currently, the unref() method does not remember any state if called before the server's handle has been created. This commit adds state to track calls to ref() and unref(). PR-URL: https://github.com/iojs/io.js/pull/897 Reviewed-By:
Evan Lucas <evanlucas@me.com> Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com>
-
Trevor Norris authored
node::Environment isn't accessible to user APIs, so extend smalloc to also accept v8::Isolate. Fixes: 75adde07 "src: remove `node_isolate` from source" PR-URL: https://github.com/iojs/io.js/pull/905 Reviewed-by:
Fedor Indutny <fedor@indutny.com>
-
- Feb 20, 2015
-
-
Brian White authored
The CHANGELOG referenced PR 847, but should really be 846. PR-URL: https://github.com/iojs/io.js/pull/903 Reviewed-By:
Christian Tellnes <christian@tellnes.no> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Rod Vagg authored
PR-URL: https://github.com/iojs/io.js/pull/902 Reviewed-By:
Roman Reiss <me@silverwind.io>
-