- Sep 17, 2015
-
-
Sam Roberts authored
PR-URL: https://github.com/nodejs/node/pull/2903 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Sam Roberts authored
PR-URL: https://github.com/nodejs/node/pull/2903 Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Sam Roberts authored
Most calls to ref() and unref() are chainable, timers should be chainable, too. Typical use: var to = setTimeout(ontimeout, 123).unref(); PR-URL: https://github.com/nodejs/node/pull/2905 Reviewed-By:Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Trevor Norris <trevnorris@nodejs.org>
-
- Sep 16, 2015
-
-
Trevor Norris authored
By default v8 allocates typed arrays <= 64 bytes inside the v8 heap. In these cases the memory pointer returned by Buffer::Data() can change while the memory is being operated on. Resolve by passing a flag that forces all typed arrays outside the v8 heap. Fixes: 74178a56 "buffer: construct Uint8Array in JS" PR-URL: https://github.com/nodejs/node/pull/2893 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Trevor Norris authored
Overall construction time of Typed Arrays is faster in JS, but the problem with using it normally is zero-fill of memory. Get around this by using a flag in the ArrayBuffer::Allocator to trigger when memory should or shouldn't be zero-filled. Remove Buffer::Create() as it is no longer called. The creation of the Uint8Array() was done at each callsite because at the time of this patch there was a performance penalty for centralizing the call in a single function. PR-URL: https://github.com/nodejs/node/pull/2866 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Malcolm Ahoy authored
Refactor out the if/else statement checking for option.host. Add whitespace to make concatenation chunks more readable and consistent with the https version of Agent.getName(). PR-URL: https://github.com/nodejs/node/pull/2825 Reviewed-By:
Julian Duque <julianduquej@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Karl Skomski authored
Use the built-in Typed Array method subarray() to improve performance of Buffer#slice(). Benchmark improvements: benchmark/buffer-slice: 40% benchmark/buffer-creation (pool): 25% Additional tests also added. PR-URL: https://github.com/nodejs/node/pull/2777 Reviewed-By:Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Сковорода Никита Андреевич <chalkerx@gmail.com>
-
James M Snell authored
Following the IBM+StrongLoop announcement last week, we (@piscisaureus, @bnoordhuis, @srl295, @mhdawson, and myself) want to take a moment to reiterate our personal commitment to Node.js and the Foundation. Per the TSC rules, any one company is limited to no more than 1/4 of the voting seats on the TSC and after talking it over amongst ourselves, @srl295 and @mhdawson have elected to step back from the TSC for now. What I would propose is that they continue to participate in the weekly TSC meetings as observers; and that once the membership expands, they be considered once again for full TSC status. Both Steven and Michael will continue to be actively involved with Node.js. Both are active members of various Working Groups. (Michael chairs the Benchmarking workgroup and Steven chairs the Intl workgroup.) /cc @nodejs/tsc Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Alexis Campailla <orangemocha@nodejs.org> Reviewed-By:
Rod Vagg <r@va.gg> Reviewed-By:
Trevor Norris <trevnorris@nodejs.org> PR-URL: https://github.com/nodejs/node/pull/2858
-
Dmitry Vasilyev authored
Examples in the benchmark readme previously sill referenced iojs(1). PR-URL: https://github.com/nodejs/node/pull/2884 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Sven Slootweg authored
Fixes: https://github.com/nodejs/node/issues/2880 PR-URL: https://github.com/nodejs/node/pull/2881 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Michael Dawson authored
These are the core changes that allow AIX to compile. There are still some test failures as there are some patches needed for libuv and npm that we'll need to contribute through those communities but this set allows node to be built on AIX and pass most of the core tests The change in js2c is because AIX does not support $ in identifier names. See the discussion/agreement in https://github.com/nodejs/node/issues/2272 PR-URL: https://github.com/nodejs/node/pull/2364 Reviewed-By:
Ben Noordhuis <ben@strongloop.com> Reviewed-By:
Rod Vagg <r@va.gg>
-
Ali Ijaz Sheikh authored
This brings in the patches from 4.5.103.30...4.5.103.33 fixing the issue with computed property names not working in nested literals. Full V8 4.5 commit log at: https://chromium.googlesource.com/v8/v8.git/+log/branch-heads/4.5 Fixes: https://github.com/nodejs/node/issues/2507 PR-URL: https://github.com/nodejs/node/pull/2870 Reviewed-By:
indutny - Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By:
targos - Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
fishrock123 - Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- Sep 15, 2015
-
-
Sakthipriyan Vairamani authored
In Python, the default values of parameters are evaluated only once during their declaration. So, whenever the default parameter is used the same object will be used. Since we use a list, which is a mutable object, this could lead to unexpected results. PR-URL: https://github.com/nodejs/node/pull/2553 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Rod Vagg authored
* buffer: Fixed a minor errors that was causing crashes (Michaël Zasso) #2635, * child_process: Fix error that was causing crashes (Evan Lucas) #2727 * crypto: Replace use of rwlocks, unsafe on Windows XP / 2003 (Ben Noordhuis) #2723 * libuv: Upgrade from 1.7.3 to 1.7.4 (Saúl Ibarra Corretgé) #2817 * node: Fix faulty process.release.libUrl on Windows (Rod Vagg) #2699 * node-gyp: Float v3.0.3 which has improved support for Node.js and io.js v0.10 to v4+ (Rod Vagg) #2700 * npm: Upgrade to version 2.14.3 from 2.13.3, includes a security update, see https://github.com/npm/npm/releases/tag/v2.14.2 for more details, (Kat Marchán) #2696. * timers: Improved timer performance from porting the 0.12 implementation, plus minor fixes (Jeremiah Senkpiel) #2540, (Julien Gilli) nodejs/node-v0.x-archive#8751 nodejs/node-v0.x-archive#8905 PR-URL: https://github.com/nodejs/node/pull/2698
-
Sakthipriyan Vairamani authored
As of v8 4.5, arrow functions are rolled out. This patch allows eslint to accept arrow functions as well. PR-URL: #2840 Reviewed-By:
Roman Reiss <me@silverwind.io> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
Sakthipriyan Vairamani authored
Make `make clean` cleanup the generated tap file as well. Fixes: #2834 PR-URL: #2837 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Alexis Campailla <orangemocha@nodejs.org>
-
Sakthipriyan Vairamani authored
By default the logfile is opened in append mode. This commit makes sure that the file is opened in write-binary mode, so that the file will be created if it doesn't exist or overwrite if it exists. Fixes: #2834 PR-URL: #2837 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu> Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Rod Vagg <rod@vagg.org> Reviewed-By:
Alexis Campailla <orangemocha@nodejs.org>
-
Brendan Ashworth authored
This commit refactors LazyTransform from the crypto implementation (lib/crypto.js) into an internal module (not publicy accessible) in internal/streams/lazy_transform.js. This promotes a more modular core design and removes code bloat in crypto, as LazyTransform didn't specifically have anything to do with cryptography, but rather a fast way to support two APIs on a stream. PR-URL: https://github.com/nodejs/node/pull/2566 Reviewed-By:
Fedor Indutny <fedor.indutny@gmail.com>
-
Fedor Indutny authored
Socket resume may happen on a next tick, and in following scenario: 1. `socket.resume()` 2. `socket._handle.close()` 3. `socket._handle = null;` The `_resume` will be invoked with empty `._handle` property. There is nothing bad about it, and we should just ignore the `resume`/`pause` events in this case. Same applies to the unconsuming of socket on adding `data` and/or `readable` event listeners. Fix: https://github.com/nodejs/node/issues/2821 PR-URL: https://github.com/nodejs/node/pull/2824 Reviewed-By:
Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Kat Marchán authored
No more cherry-picked io patches. hooray. PR-URL: https://github.com/nodejs/node/pull/2822 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Kat Marchán authored
PR-URL: https://github.com/nodejs/node/pull/2822 Reviewed-By:
James M Snell <jasnell@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Yazhong Liu authored
PR-URL: https://github.com/nodejs/node/pull/2387 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Ron Korving authored
Streams with writev allow many buffers to be pushed to underlying OS APIs in one batch, in this case improving write throughput by an order of magnitude. This is especially noticeable when writing many (small) buffers. PR-URL: https://github.com/nodejs/node/pull/2167 Reviewed-By:
Trevor Norris <trev.norris@gmail.com>
-
Matt Loring authored
The polyfill is only needed if incorrect command line arguments are passed to the script so it was missed in initial testing. PR-URL: https://github.com/nodejs/node/pull/2694 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Matt Loring authored
Per the discussion on #2471, the JS symbols checked for by this test were occasionally too deep in the stack and were being ignored by the tick processor. I have addressed this by increasing the stack depth inspected by the tick processor and looking for the eval symbol which is more likely to be present. Additional flakiness was caused by occasional misses of the code creation event for the JS function being executed. I now have separate code snippets to test for JS and C++ symbols and if the code creation event is missed for the JS symbol test then I check for a percentage of UNKNOWN symbols in processed output. This is considered a success as the processing scripts in the node repository are still correctly processing the ticks recieved from the v8 scripts. Further investigation is needed into the v8 profiling scripts to determine why code creation events are being missed. PR-URL: https://github.com/nodejs/node/pull/2694 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Danny Nemer authored
PR-URL: https://github.com/nodejs/node/pull/2827 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Ionică Bizău authored
- Fixed typo: "insallation" -> "installation" - Added an "that" in a sentence where it was needed for clarity. PR-URL: https://github.com/nodejs/node/pull/2852 Reviewed-By:
Michaël Zasso <mic.besace@gmail.com> Reviewed-By:
Rich Trott <rtrott@gmail.com>
-
Mike Tunnicliffe authored
Refs: https://github.com/nodejs/node/issues/2413 PR-URL: https://github.com/nodejs/node/pull/2826 Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Roman Klauke authored
Other methods like `After` already use ZCtxt as the source for Enviroment/ v8::Isolate objects, this commit applies the same style to the other missing methods (`After sync` and `Write`) PR-URL: https://github.com/nodejs/node/pull/2547 Reviewed-By:
Fedor Indutny <fedor@indutny.com> Reviewed-By:
Trevor Norris <trev.norris@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
- Sep 14, 2015
-
-
Rich Trott authored
Remove test file that has been in disabled from its very first commit (9ccf0e52) in 2011. It is a test for https://github.com/nodejs/node-v0.x-archive/issues/670 from 2011. There are no assertions in the test. In that regard, it is more debugging code than a test. PR-URL: https://github.com/nodejs/node/pull/2841 Reviewed-By:
Brian White <mscdex@mscdex.net> Reviewed-By:
Yosuke Furukawa <yosuke.furukawa@gmail.com>
-
Jeremiah Senkpiel authored
`process.stdout` always blocks as of 20176a98 `WritableState.buffer` is `getBuffer()` as of 91586661 PR-URL: https://github.com/nodejs/node/pull/2549 Reviewed-By:
Alexis Campailla <orangemocha@nodejs.org> Reviewed-By:
Evan Lucas <evanlucas@me.com>
-
Tristian Flanagan authored
Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Sam Roberts <vieuxtech@gmail.com> PR-URL: https://github.com/nodejs/node/pull/2846
-
- Sep 13, 2015
-
-
Rich Trott authored
For whatever reason, the CI win2012 machine was timing out on the internet test-dns file. Split out ipv4 and ipv6 specific tests to separate files so tests do not time out. (Each file is given a 60 second timeout on CI. Tests within a file are run in sequence.) PR-URL: https://github.com/nodejs/node/pull/2802 Fixes: https://github.com/nodejs/node/issues/2468 Reviewed-By:
Roman Reiss <me@silverwind.io>
-
Rich Trott authored
test-dgram-broadcast-multi-process.js and test-dgram-multicast-multi-process.js were failing on Pi 1 because the test was timing out. Changed static 5000ms timeout to a dynamically determined timeout based on the processor using common.platformTimeout(). PR-URL: https://github.com/nodejs/node/pull/2808 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By:
Roman Reiss <me@silverwind.io>
-
- Sep 12, 2015
-
-
Sakthipriyan Vairamani authored
As it is, the TAP result shows an extra hyphen in front of test names. Sample: ci.nodejs.org/job/node-test-commit-osx/nodes=osx1010/454/tapResults/ This patch removes the extra hyphen. PR-URL: https://github.com/nodejs/node/pull/2718 Reviewed-By:
Johan Bergström <bugs@bergstroem.nu>
-
Oleksandr Chekhovskyi authored
Ensure that samples are evenly distributed, which is required for v8::CpuProfiler users to work correctly (v8-profiler / node-inspector). PR-URL: https://github.com/nodejs/node/pull/2324 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Saúl Ibarra Corretgé authored
PR-URL: https://github.com/nodejs/node/pull/2817 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
-
- Sep 11, 2015
-
-
Minwoo Jung authored
"Calls" is used frequently throughout the docs except for this line. Use "Calls" over "Executes" to make it consistent. PR-URL: https://github.com/nodejs/node/pull/2800 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Jeremiah Senkpiel <fishrock123@rocketmail.com>
-
Rich Trott authored
Operating systems can and do return invalid hostnames if that's what they have (for example) in /etc/hosts. Test passes if no error is thrown and the hostname string is not empty. Fixes: https://github.com/nodejs/node/issues/2468 PR-URL: https://github.com/nodejs/node/pull/2785 Reviewed-By:
Ben Noordhuis <info@bnoordhuis.nl>
-
Anne-Gaelle Colom authored
behaviour -> behavior PR-URL: https://github.com/nodejs/node/pull/2784 Reviewed-By:
Rich Trott <rtrott@gmail.com> Reviewed-By:
Brendan Ashworth <brendan.ashworth@me.com> Reviewed-By:
Michaël Zasso <mic.besace@gmail.com>
-