- Jan 04, 2013
-
-
Scott Blomquist authored
Some performance counter related functions are not available on Windows XP and Windows Server 2003, which caused node to call a NULL pointer. Closes #4462 Closes #4511
-
Ben Noordhuis authored
Conflicts: configure deps/uv/src/unix/core.c deps/uv/test/test-fs-event.c src/node_version.h
-
Ben Noordhuis authored
Don't give names of built-in libraries special treatment. Changes the REPL's behavior from this: > var path = 42 > path A different "path" already exists globally To this: > var path = 42 > path 42 Fixes #4512.
-
Ben Noordhuis authored
libev has been deprecated since v0.6. Add-on authors have had two major release cycles to upgrade. Out it goes.
-
- Jan 03, 2013
-
-
Ben Noordhuis authored
Remove compiler switches from $(TOPLEVEL)/deps/v8/build/common.gypi, we set them globally in $(TOPLEVEL)/common.gypi. Commit 7b4d95a9 introduced the switches again, resulting in V8 getting built without any optimizations. This commit is essentially a rehash of commit 4b8629db.
-
- Jan 02, 2013
-
-
Fedor Indutny authored
-
Fedor Indutny authored
GetPointerFromInternalField() is deprecated now, we should use GetAlignedPointerFromInternalField().
-
- Jan 01, 2013
-
-
Fedor Indutny authored
-
Tim Bradshaw authored
CPU time values must be Numbers, not Integers, as they can be too large for Integers on 32 bit platforms.
-
Ben Noordhuis authored
Calling send() on an unbound socket forces an implicit bind to a random port. 332fea5a made the 'listening' event asynchronous. Unfortunately, it also introduced a bug where the implicit bind was tried more than once if send() was called again before the first bind operation completed. Address that by keeping track of the bind status and making sure that bind() is called only once. Fixes #4499.
-
- Dec 31, 2012
-
-
Ben Noordhuis authored
-
- Dec 30, 2012
-
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
* assert: improve support for new execution contexts (lukebayes) * domain: use camelCase instead of snake_case (isaacs) * domain: Do not use uncaughtException handler (isaacs) * fs: make 'end' work with ReadStream without 'start' (Ben Noordhuis) * https: optimize createConnection() (Ryunosuke SATO) * buffer: speed up base64 encoding by 20% (Ben Noordhuis) * doc: Colorize API stabilitity index headers in docs (Luke Arduini) * net: socket.readyState corrections (bentaber) * http: Performance enhancements for http under streams2 (isaacs) * stream: fix to emit end event on http.ClientResponse (Shigeki Ohtsu) * stream: fix event handler leak in readstream pipe and unpipe (Andreas Madsen) * build: Support ./configure --tag switch (Maciej Małecki) * repl: don't touch `require.cache` (Nathan Rajlich) * node: Emit 'exit' event when exiting for an uncaught exception (isaacs)
-
isaacs authored
Fix #3555
-
isaacs authored
-
isaacs authored
-
isaacs authored
This speeds up http_simple by around 6%.
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
isaacs authored
Speeds up http benchmarks.
-
lukebayes authored
More detailed information in GH-693
-
isaacs authored
-
isaacs authored
While it's true that error objects have a history of getting snake_case properties attached by the host system, it's a point of confusion to Node users that comes up a lot. It's still 'experimental', so best to change this sooner rather than later.
-
isaacs authored
This adds a process._fatalException method which is called into from C++ in order to either emit the 'uncaughtException' method, or emit 'error' on the active domain. The 'uncaughtException' event is an implementation detail that it would be nice to deprecate one day, so exposing it as part of the domain machinery is not ideal. Fix #4375
-
Ben Noordhuis authored
-
- Dec 29, 2012
-
-
Ben Noordhuis authored
Make `fs.createReadStream({ end: 42 })` work. Before this commit, it worked only when used like this: `fs.createReadStream({ start: 0, end: 42 })` - only when `start` was specified by the caller. Fixes #4423. -
Ben Noordhuis authored
Said function has been broken (and useless) since v0.6.0. Remove it altogether. Fixes #3854.
-
- Dec 28, 2012
-
-
Ryunosuke SATO authored
Stop using `arguments` for performance and readability.
-
Ben Noordhuis authored
Remove a lot of branches from the inner loop. Speeds up buf.toString('base64') by about 20%. Before: $ time out/Release/node benchmark/buffer-base64-encode.js real 0m6.607s user 0m5.508s sys 0m1.088s After: $ time out/Release/node benchmark/buffer-base64-encode.js real 0m5.520s user 0m4.520s sys 0m0.992s -
Luke Arduini authored
Noted in @shtylman's #3898, API stability notes are easy to overlook in the html documentation. This can be especially troublesome if the API is deprecated. This commit gives visual feedback by adding in a class to the html docs when they're generated. The API headers with corresponding colors are also listed in the 'About this Documentation' page for easy reference.
-
bentaber authored
socket.readyState, .readable, and .writable behavior changed as a result of the new streaming interfaces. Updated to be backwards compatible with current API and adds regression test. closes #4461
-
Ryunosuke SATO authored
- Stream.apply -> Stream.call
-
Ryunosuke SATO authored
Use `EventEmitter.call` instead of `EventEmitter.apply` because of performance.
-
Ryunosuke SATO authored
The module variable `END_OF_FILE` was no longer needed from 1d369317.
-
- Dec 27, 2012
-
-
isaacs authored
so that ./configure --tag=foo makes a version number like v0.9.5-foo instead of v0.9.5foo
-
Maciej Małecki authored
When building custom `node` versions (e.g., floating features/fixes from different versions) it's often useful to specify a custom tag which easily identifies build when invoking `node -v`. Introduce a way to specify this tag in `node_version.h` file or by running `./configure --tag="<tag>"`. Insert it right after the patch version (and before `-pre`, if build is not a release).
-