- Feb 24, 2015
-
-
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>
-
Rod Vagg authored
-
Rod Vagg authored
Notable changes: * url: `url.resolve('/path/to/file', '.')` now returns `/path/to/` with the trailing slash, `url.resolve('/', '.')` returns `/`. https://github.com/iojs/io.js/issues/278 (Amir Saboury) * tls: tls (and in turn https) now rely on a stronger default cipher suite which excludes the RC4 cipher. If you still want to use RC4, you have to specify your own ciphers suite. https://github.com/iojs/io.js/issues/826 (Roman Reiss) -
Rod Vagg authored
Update AUTHORS file using tools/update-authors.sh PR-URL: https://github.com/iojs/io.js/pull/900 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Rod Vagg authored
Closes #701 PR-URL: https://github.com/iojs/io.js/pull/876 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Emily Rose authored
PR: https://github.com/iojs/io.js/pull/898 Reviewed-by:
Bert Belder <bertbelder@gmail.com> Reviewed-By:
Mikeal Rogers <mikeal.rogers@gmail.com>
-
Fedor Indutny authored
`TLSSocket` wraps the original `net.Socket`, but writes/reads to/from `TLSSocket` do not touch the timers of original `net.Socket`. Introduce `socket._parent` property, and iterate through all parents to unref timers and prevent timeout event on original `net.Socket`. Fix: https://github.com/joyent/node/issues/9242 PR-URL: https://github.com/iojs/io.js/pull/891 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
cjihrig authored
Currently, nullCheck() will attempt to invoke any truthy value as a function if the path argument contains a null character. This commit validates that the callback is actually a function before trying to invoke it. fs.access() was vulnerable to this bug, as nullCheck() was called prior to type checking its callback. PR-URL: https://github.com/iojs/io.js/pull/887 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Feb 18, 2015
-
-
Roman Reiss authored
This option has been there for a long time, but has never been documented. It's functionally identical to the server counterpart. PR-URL: https://github.com/iojs/io.js/pull/845 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Ben Noordhuis authored
Check that stdin, stdout and stderr map to open file descriptors and remap them to /dev/null if that isn't the case. Protects against information leaks or worse when io.js is started with closed stdio file descriptors. PR-URL: https://github.com/iojs/io.js/pull/875 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
-
Ben Noordhuis authored
PR-URL: https://github.com/iojs/io.js/pull/875 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
-
Ben Noordhuis authored
Commit 8aed9d66 ("src: cleanup `Isolate::GetCurrent()`") breaks building add-ons because of the following: In file included from ../node_modules/nan/nan.h:27:0, from ../src/binding.cc:18: /home/bnoordhuis/src/v1.x/src/node_object_wrap.h: In member function 'v8::Local<v8::Object> node::ObjectWrap::handle()': /home/bnoordhuis/src/v1.x/src/node_object_wrap.h:39:46: error: base operand of '->' has non-pointer type 'v8::Persistent<v8::Object>' return v8::Local<v8::Object>::New(handle_->GetIsolate(), persistent()); Mea culpa, I was one of the reviewers. PR-URL: https://github.com/iojs/io.js/pull/868 Reviewed-By:
Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
-
- Feb 17, 2015
-
-
jigsaw authored
PR-URL: https://github.com/iojs/io.js/pull/865 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Trevor Norris authored
If the Buffer allocation isn't a slice then there's no need to adjust the pool offset after realloc'ing the space available. Fixes: 6462519d "buffer, doc: misc. fix and cleanup"
-
- Feb 16, 2015
-
-
Roman Reiss authored
This updates the default cipher suite to an more secure list, which prefers strong ciphers with Forward Secrecy. Additionally, it enables `honorCipherOrder` by default. Noteable effect of this change is that the insecure RC4 ciphers are disabled and that Chrome negotiates a more secure ECDHE cipher. Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Fedor Indutny <fedor@indutny.com> PR-URL: https://github.com/iojs/io.js/pull/826
-
Rod Vagg authored
Reverts https://github.com/joyent/node/pull/8689 PR-URL: https://github.com/iojs/io.js/pull/812 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Jimmy Hsu authored
Minor change to increase clarity of what is being referenced to.
-
Roman Reiss authored
The test blindly assumes that the default cipher suite supports RC4 ciphers. This corrects the case where RC4 might not be available in the default ciphers by setting the client to use the same suite as the server. PR-URL: https://github.com/iojs/io.js/pull/853 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
- Feb 15, 2015
-
-
Brian White authored
PR-URL: https://github.com/iojs/io.js/pull/847 Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com>
-
- Feb 14, 2015
-
-
cjihrig authored
This commit validates the properties of ENOENT error objects returned by spawn() and spawnSync(). PR-URL: https://github.com/iojs/io.js/pull/838 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Rod Vagg <rod@vagg.org>
-
Charmander authored
"This event is emitted when io.js empties its event loop..." PR-URL: https://github.com/iojs/io.js/pull/837 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Wyatt Preul authored
Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> PR-URL: #835
-
Amir Saboury authored
'.' and '..' are directory specs and resolving urls with or without the hostname with '.' and '..' should add a trailing slash to the end of the url. Fixes: https://github.com/joyent/node/issues/8992 PR-URL: https://github.com/iojs/io.js/pull/278 Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
cjihrig authored
The current implementation uses the arguments object in the Server() constructor. Since both arguments to Server() are optional, there was a high likelihood of accessing a non-existent element in arguments, which carries a performance overhead. This commit replaces the arguments object with named arguments. Reviewed-by:Trevor Norris <trev.norris@gmail.com> Conflicts: lib/net.js
-
Debjeet Biswas authored
PR-URL: https://github.com/joyent/node/pull/9164 Reviewed-by:
Colin Ihrig <cjihrig@gmail.com>
-