Activity
From 11/22/2012 to 12/21/2012
12/21/2012
- 03:44 PM Revision f84bf5b6 (main_repo): build: allow to specify custom tags
- When building custom `node` versions (e.g., floating features/fixes from
different versions) it's often useful to spe... - 03:37 PM Revision 6738e685 (main_repo): blog: Post about v0.9.4
- 03:36 PM Revision 70eb227e (main_repo): Now working on 0.9.5
- 03:36 PM Revision cdcac49c (main_repo): Merge branch 'v0.9.4-release'
- 03:15 PM Revision d86d83c7 (main_repo): 2012.12.21, Version 0.9.4 (Unstable)
- * streams: Update all streaming interfaces to use new classes (isaacs)
* node: remove idle gc (Ben Noordhuis)
* htt... - 02:42 PM Revision 837df70b (main_repo): repl: don't touch `require.cache`
- Fixes #3226.
Consider a production server that uses a REPL to debug. Creating the instance
would wipe out the global... - 02:32 PM Revision 98298144 (main_repo): doc: Nudge formatting to make json generator happy
- Starting a line with `**bold**` text makes it think that it's a link,
and get confused.
This should really be fixed ... - 02:08 PM Revision f119effc (main_repo): Merge remote-tracking branch 'ry/v0.8'
- 02:05 PM Revision 841b7f53 (main_repo): Ease building with VS Express by checking in generated files.
- 02:05 PM Revision 24492482 (main_repo): stdio: Do not read from stdout/err
- This fixes windows stdio pipes in streams2 land.
- 11:59 AM Revision 0edd93dc (main_repo): test: Fix simple/test-http-localaddress
- 11:51 AM Revision fb915ed9 (main_repo): lint
- 11:48 AM Revision c048c814 (main_repo): http: Trivial fix for comments and 'this.read'
- 11:42 AM Revision d30e76e0 (main_repo): npm: upgrade to 1.1.70
- 07:46 PM Revision 9d0103d2 (main_repo): blog: More streams2 wordsmithing
- 07:08 PM Revision 0c867ae6 (main_repo): blog: Update blog post re streams2
- 07:07 PM Revision ec745555 (main_repo): benchmark: Set ephemeral ports properly on sunos
- 07:07 PM Revision 825af451 (main_repo): benchmark: Make http.sh more useful
- 07:07 PM Revision 79ec9dc1 (main_repo): benchmark: Support names in http-flamegraph
- 07:07 PM Revision f9caf702 (main_repo): streams: Speed up by doing less work in the state ctors
- 07:07 PM Revision 8624adf5 (main_repo): http: use IncomingMessage._dump() instead of resume()
- 07:07 PM Revision 836593da (main_repo): benchmark: Improve http-flamegraph
12/20/2012
- 09:02 AM Revision 74759828 (main_repo): openssl: enable optimized asm code on x86 and x64
- 09:02 AM Revision 5edbb53c (main_repo): openssl: regenerate asm files for openssl 1.0.1
- 09:02 AM Revision 1b5c5b13 (main_repo): openssl: update makefile for asm files to work with openssl 1.0.1
- 09:02 AM Revision aeae22cb (main_repo): openssl: revert empty_OPENSSL_cpuid_setup.patch
- 09:02 AM Revision 1d97db5a (main_repo): openssl: disable HT sidechannel attack mitigation
- It used to be off before. It's extremely unlikely that such an attack
would be a viable attack against node. And it m... - 09:02 AM Revision 2e6180a6 (main_repo): openssl: make perlasm target pentium or newer for masm outputs
- When perlasm generates MASM code it sets the assembler target to 468.
In this mode MASM refuses to assemble a couple ... - 09:02 AM Revision 7eaea7f9 (main_repo): openssl: clean up and merge configuration files
- This patch brings the openssl library that is built with gyp closer
to what the standard build system produces.
All ... - 08:48 AM Revision d1556fbd (main_repo): bench: report stats in benchmark/net-pipe
- 06:39 AM Revision 79ae8b7a (main_repo): Merge remote-tracking branch 'origin/v0.8'
- 06:02 AM Revision 5a19c07c (main_repo): http: pack response body buffer in first tcp packet
- Apply the same optimization to res.end(buf) that is applied to res.end(str).
Speeds up `node benchmark/http_simple_a... - 05:44 AM Revision ba407ce4 (main_repo): bench: use res.end() for chunked encoding
- Use res.end() for the final chunk so we can benchmark the 'hot path' shortcut
in lib/http.js that packs the headers a... - 05:25 AM Revision dcaebec2 (main_repo): fs: add autoClose=true option to fs.createReadStream
12/19/2012
- 01:55 PM Revision 9f4c0988 (main_repo): streams2: Process write buffer in a loop, not recursively
- This fixes pummel/test-net-write-callbacks
- 01:55 PM Revision cab22644 (main_repo): net: Properly read buffer in Socket.bytesWritten
- 01:55 PM Revision f3f4e290 (main_repo): test: 2 resume() calls needed to flush streams
- 01:55 PM Revision f63af64e (main_repo): test-pummel: Add call validation in net-write-callbacks
- 05:16 AM Revision 14ed1732 (main_repo): test: add TAP output to the test runner
12/18/2012
- 02:56 PM Revision 43538f4f (main_repo): benchmark: Add http-flamegraph
- This is very similar to http.sh, but generates a flamegraph
with dtrace, pruning off the single-hit stacks so that we... - 11:45 AM Revision 04adf0e5 (main_repo): blog: post about streams2 feature
- 10:16 AM Revision d607d856 (main_repo): node: remove idle gc
- Remove the idle garbage collector. Its purpose was to run the garbage collector
when the application is idle but it n... - 10:07 AM Revision 8ccfed2e (main_repo): node: s/-/_/ in add-on symbol name
- Replace dashes with underscores. When loading foo-bar.node, look for
foo_bar_module, not foo-bar_module. The latter i... - 09:46 AM Revision 7b2ef2de (main_repo): deps: upgrade libuv to dc559a5
- 05:15 AM Revision ba754524 (main_repo): deps: upgrade libuv to b86ed94
12/17/2012
- 06:08 PM Revision 82c7c84e (main_repo): net: Handle sync writable streams synchronously
- This fixes the case where stderr doesn't flush before the process exits.
- 01:47 PM Revision 6c5356bf (main_repo): Revert "buffer: allocate memory with mmap()"
- Also Revert "buffer: use MAP_ANON, fix OS X build"
This reverts commit ddb15603e74e9aa865f3e1099dc2cc5886f9c46e.
Thi... - 11:37 AM Revision 1c265c54 (main_repo): typed arrays: fix missing type in SizeOfArrayElementForType()
- When Mikael Bourges-Sevenier added support for Uint8ClampedArray in 67fc1da,
the new type was not added to SizeOfArra... - 11:37 AM Revision ba00fb01 (main_repo): typed arrays: re-export SizeOfArrayElementForType()
- Although it is not used externally by node, it is needed by upstream and Plask.
This effectively reverts:
commi... - 11:21 AM Revision 496c0bd9 (main_repo): doc: add Google+ French community
- 10:20 AM Revision a3877ab5 (main_repo): Revert "build: enable DEAD_CODE_STRIPPING on OS X"
- This reverts commit 02dffb063e423688557e2f8004eb817d7626bf41.
DEAD_CODE_STRIPPING is stripping out CRYPTO_set_add_loc... - 06:05 AM Revision 53b826e6 (main_repo): install: fix openbsd man page location
- Man pages go into $PREFIX/man on OpenBSD, not $PREFIX/share/man.
- 05:29 AM Revision ddb15603 (main_repo): buffer: use MAP_ANON, fix OS X build
12/16/2012
- 05:40 PM Revision 945f877d (main_repo): test: Fix test-https-localaddress*
- Fix #4418
- 11:25 AM Revision 827b2a9b (main_repo): http: bubble up parser errors to ClientRequest
- Make parser errors bubble up to the ClientRequest instead of the underlying
net.Socket object.
This is a back-port o... - 04:19 AM Revision 2433ec82 (main_repo): buffer: allocate memory with mmap()
- Work around an issue with the glibc malloc() implementation where memory blocks
are never returned to the operating s...
12/15/2012
- 01:29 PM Revision 01db736c (main_repo): Merge branch 'streams2'
- 08:46 PM Revision cd51fa8f (main_repo): test: Update message tests for streams2
- 08:46 PM Revision 3751c0fe (main_repo): streams2: Still emit error if there was a write() cb
- 08:46 PM Revision abbd47e4 (main_repo): test: Update simple/test-fs-{write,read}-stream-err for streams2
- Streams2 style streams might have already kicked off a read() or write()
before emitting 'data' events. Make the tes... - 08:46 PM Revision 19ecc3a4 (main_repo): test updates for streams2
- 08:46 PM Revision 0977638f (main_repo): test: Fix many tests for http streams2 refactor
- 08:46 PM Revision 1d369317 (main_repo): http: Refactor for streams2
- Because of some of the peculiarities of http, this has a bit of special
magic to handle cases where the IncomingMessa...
12/14/2012
- 01:52 PM Revision 81e35627 (main_repo): child_process: Remove stream.pause/resume calls
- Unnecessary in streams2
- 01:52 PM Revision b4df1e62 (main_repo): test updates
- 01:52 PM Revision bb56dcc4 (main_repo): tty/stdin: Refactor for streams2
- 01:52 PM Revision 695abba5 (main_repo): test: Fix many tests for streams2 net refactor
- 01:52 PM Revision 8a3befa0 (main_repo): net: Refactor to use streams2
- This is a combination of 6 commits.
* XXX net fixup lcase stream
* net: Refactor to use streams2
Use 'socket.r... - 01:52 PM Revision 7742257f (main_repo): benchmark: Add once() function to net-pipe benchmark fixture
- 01:52 PM Revision 854171dc (main_repo): streams2: Remove extraneous bufferSize setting
- 01:52 PM Revision 20a88feb (main_repo): docs: streams2
- 01:52 PM Revision 04541cf7 (main_repo): streams2: Emit pause/resume events
- 01:52 PM Revision 8fe7b0c9 (main_repo): streams2: Support a Readable hwm of 0
- Necessary for proper stdin functioning
- 01:52 PM Revision 5760244c (main_repo): streams2: Writable only emit 'finish' once
- 01:52 PM Revision 8f428f3b (main_repo): streams2: Call read(0) on resume()
- Otherwise (especially with stdin) you sometimes end up in cases
where the high water mark is zero, and the current bu... - 01:52 PM Revision fc7d8d59 (main_repo): lint
- 01:52 PM Revision f8bb031b (main_repo): test: Sync writables may emit finish before callbacks
- 01:52 PM Revision dbcacc5a (main_repo): streams2: NextTick the emit('readable') in resume()
- Otherwise resume() will cause data to be emitted before it can be handled.
- 01:52 PM Revision 99021b7a (main_repo): streams2: pause() should be immediate
- 01:52 PM Revision 42981e2a (main_repo): streams2: Switch to old-mode immediately, not nextTick
- This fixes the CONNECT/Upgrade HTTP functionality, which was not getting
sliced properly, because readable wasn't emi... - 01:52 PM Revision 83704f12 (main_repo): streams2: Set readable=false on end
- 01:52 PM Revision 4a32d531 (main_repo): doc: Crypto streaming interface
- 01:52 PM Revision e0c600e0 (main_repo): test: Tests for streaming crypto interfaces
- 01:52 PM Revision dd3ebb8c (main_repo): crypto: Streaming interface for Sign and Verify
- 01:52 PM Revision e3361346 (main_repo): crypto: Streaming interface for cipher/decipher/iv
- 01:52 PM Revision 175f78c6 (main_repo): crypto: Streaming api for Hmac
- 01:52 PM Revision 90de2ddb (main_repo): crypto: Streaming interface for Hash
- 01:52 PM Revision 3d3a0b30 (main_repo): test: Writable stream end() method doesn't take a callback
- 01:52 PM Revision 70461c39 (main_repo): test: simple/test-file-write-stream needs to use 0 lowWaterMark
- 01:52 PM Revision 79fd9620 (main_repo): test: Fix test-repl-autolibs inspect call
- 01:52 PM Revision 0e01d639 (main_repo): zlib: streams2
- 01:52 PM Revision 44b308b1 (main_repo): fs: streams2
- 08:00 PM Revision d58f2654 (main_repo): streams2: Unpipe on dest.emit('close')
- 08:00 PM Revision 49ea6533 (main_repo): streams2: Remove pipe if the dest emits error
- 08:00 PM Revision ac5a185e (main_repo): streams2: Handle pipeChunkSize properly
- 08:00 PM Revision 53fa66d9 (main_repo): streams2: Set 'readable' flag on Readable streams
- 08:00 PM Revision 4b4ff2df (main_repo): streams2: Refactor out .once() usage from Readable.pipe()
- 08:00 PM Revision 38e2b005 (main_repo): streams2: Get rid of .once() usage in Readable.pipe
- Significant performance impact
- 08:00 PM Revision b15e19a2 (main_repo): streams2: Remove function.bind() usage
- It's too slow, unfortunately.
- 08:00 PM Revision 2ff499c0 (main_repo): streams2: Do multipipe without always using forEach
- The Array.forEach call is too expensive.
- 08:00 PM Revision c2f62d49 (main_repo): test: Update stream2 transform for corrected behavior
- 08:00 PM Revision 01185844 (main_repo): streams2: Writable organization, add 'finishing' flag
- 08:00 PM Revision 286c5443 (main_repo): streams2: Only emit 'readable' when needed
- 08:00 PM Revision 62dd0402 (main_repo): streams2: Set Readable lwm to 0 by default
- 08:00 PM Revision f20fd22a (main_repo): streams2: Add high water mark for Readable
- Also, organize the numeric settings a bit on the ReadableState class
- 08:00 PM Revision 63ac07b3 (main_repo): streams2: Export Readable/Writable State classes
- 08:00 PM Revision 58568232 (main_repo): streams2: Fix duplex no-half-open logic
- 08:00 PM Revision 286aa049 (main_repo): streams2: Abstract out onread function
- 08:00 PM Revision f624ccb4 (main_repo): streams2: Use StringDecoder.end
- 08:00 PM Revision cf0b4ba4 (main_repo): streams2: flow() is not always bound to src
- 08:00 PM Revision acfb0ef9 (main_repo): test: fixture for streams2 testing
- 08:00 PM Revision e82d06be (main_repo): streams2: Fix regression from Duplex ctor assignment
- 08:00 PM Revision f3e71eb4 (main_repo): test: Writable bufferizing, non-bufferizing, and callbacks
- 08:00 PM Revision 71e2b613 (main_repo): streams2: Support write(chunk,[encoding],[callback])
- 08:00 PM Revision 0678480b (main_repo): streams2: Allow Writables to opt out of pre-buffer-izing
- 08:00 PM Revision 545f5126 (main_repo): streams2: ctor guards on Stream classes
- 08:00 PM Revision 9b1b8549 (main_repo): streams2: Tests of new interfaces
- 08:00 PM Revision 8acb416a (main_repo): streams2: Handle immediate synthetic transforms properly
- 08:00 PM Revision 06e321d0 (main_repo): streams2: Correct drain/return logic
- It was testing the length *before* adding the current chunk, which
is the opposite of correct.
Also, the return valu... - 08:00 PM Revision 02f017d2 (main_repo): streams2: Allow 0 as a lowWaterMark value
- 08:00 PM Revision caa853bb (main_repo): transform: Automatically read() on _write when read buffer is empty
- 08:00 PM Revision 3b59fd70 (main_repo): streams2: Make Transform streams pull-style
- That is, the transform is triggered by a _read, not by a _write.
This way, backpressure works properly. - 08:00 PM Revision 9b5abe5b (main_repo): streams2: setEncoding and abstract out endReadable
- 08:00 PM Revision 51a52c43 (main_repo): streams2: Set flowing=true when flowing
- 08:00 PM Revision 639fbe28 (main_repo): streams2: Convert strings to buffers before passing to _write()
- 08:00 PM Revision 420e07c5 (main_repo): streams2: The new stream base classes
- 08:00 PM Revision 17834ed2 (main_repo): Add 'stream' as a native module in repl
- 08:00 PM Revision 372cb32d (main_repo): module: Support cycles in native module requires
- 08:00 PM Revision 314c6b30 (main_repo): Don't allow invalid encodings in StringDecoder class
- 07:57 PM Revision 77ed12fe (main_repo): Merge remote-tracking branch 'ry/v0.8' into master
- Conflicts:
AUTHORS
ChangeLog
deps/uv/test/test-spawn.c
deps/uv/uv.gyp
src/cares_wrap.cc
src/node.cc
src/node_v...
12/13/2012
- 02:50 PM Revision 45cdb0e4 (main_repo): blog: Post for 0.8.16
- 02:50 PM Revision 95367342 (main_repo): Now working on 0.8.17
- 02:50 PM Revision a18507ce (main_repo): Merge commit 'v0.8.16' into v0.8
- 02:49 PM Revision 1c9c6277 (main_repo): 2012.12.13, Version 0.8.16 (Stable)
- * npm: Upgrade to 1.1.69
* fs: fix WriteStream/ReadStream fd leaks (Ben Noordhuis)
* crypto: fix leak in GetPeerCer... - 02:23 PM Revision 6cf68aea (main_repo): deps: upgrade libuv to e079a99
12/12/2012
- 05:41 PM Revision b09f9706 (main_repo): npm: Upgrade to v1.1.69
- 03:46 AM Revision d65832cc (main_repo): fs: fix WriteStream fd leak
- Close the file descriptor when a write operation fails.
Fixes #4387. - 03:46 AM Revision 6e97b2cc (main_repo): fs: fix ReadStream fd leak
- Close the file descriptor when a read operation fails.
Fixes #4387. - 03:46 AM Revision 65d824b4 (main_repo): test: add common.mustCall function
- Verifies that the callback gets invoked <n> times during the lifetime of the
test script.
This is a back-port of com...
12/11/2012
12/10/2012
- 07:08 AM Revision 0506d294 (main_repo): events: fix typos in code comment
- - newListeners -> newListener
- 07:07 AM Revision eb502205 (main_repo): events: setMaxListeners() should not have side effects
- This object initialization has been unnecessary since 12cf730b.
Ref #3803. - 07:04 AM Revision 1c7acd2c (main_repo): events: use assigned variable instead of arguments
- Always `arguments[0]` is used when `EventEmitter#emit` called.
Using assigned variable is faster than `arguments[0]`. - 02:59 AM Revision 0397223a (main_repo): events: use null assignment instead of deleting property
12/08/2012
- 08:13 PM Revision 3c293ba2 (main_repo): http: protect against response splitting attacks
- 07:58 PM Revision 0e95ea42 (main_repo): lint
- introduced in 5b65638.
- 07:52 PM Revision 33fa7405 (main_repo): fs: Raise error when null bytes detected in paths
- Reworking of @bnoordhuis's more aggressive approach.
12/06/2012
- 03:58 PM Revision c79fd0e1 (main_repo): doc: remove broken require.extensions example
- Fixes #4384.
- 11:39 AM Revision 5b656381 (main_repo): tls, https: add tls handshake timeout
- Don't allow connections to stall indefinitely if the SSL/TLS handshake does
not complete.
Adds a new tls.Server and ... - 11:14 AM Revision 3ece130e (main_repo): process: add getgroups(), setgroups(), initgroups()
- DRY the getuid(), getgid(), etc. functions while we're at it.
- 10:45 PM Revision c08e947f (main_repo): buffer: remove unused #includes
12/05/2012
- 11:46 PM Revision c81dec70 (main_repo): test: remove simple/test-child-process-fork2
- The test assumes the parent and the child are scheduled fairly. Probably true
most of the time but not always, making... - 10:31 PM Revision 1c8a5269 (main_repo): test: fix simple/test-debug-brk-file race condition
- V8 debug agent needs some time to be ready and no longer sends the first event
break response to a debug client. We w...
12/04/2012
- 02:12 AM Revision 1f76a2ed (main_repo): fs: add long stacktrace debugging facility
- Enable long stacktraces if NODE_DEBUG=fs is set in the environment. Only
applies to the default rethrow callback; it'... - 02:05 AM Revision a8043473 (main_repo): fs: fix 'object is not a function' callback errors
- Use a default callback if the user omitted one. Avoids errors like the one
below:
fs.js:777
if (err) return ...
12/03/2012
- 04:35 PM Revision 03b00dcc (main_repo): os: throw when os.networkInterfaces() fails
- 11:30 AM Revision 51d5655e (main_repo): crypto: fix leak in GetPeerCertificate
- 11:30 AM Revision 276245d2 (main_repo): crypto: fix leak in GetPeerCertificate
- 09:08 PM Revision 9d02bfbc (main_repo): test: fix simple/test-setproctitle on freebsd
- 08:21 PM Revision f8999da5 (main_repo): build: avoid -Wno-old-style-declaration with gcc 4.2
- Fixes the build on FreeBSD <= 9 with the default compiler.
Fixes #4186.
12/02/2012
- 09:01 PM Revision e5649d4b (main_repo): tools: fix platform detection on freebsd, sunos
- This is a back-port of upstream gyp commit r1482.
- 08:55 PM Revision 22965da7 (main_repo): install: fix freebsd man page location
- Man pages go into $PREFIX/man on FreeBSD, not $PREFIX/share/man.
12/01/2012
- 02:17 PM Revision 4de274cb (main_repo): test: TTY only has writeBuffer(), not write()
- This test is only passing because it's skipped normally.
- 09:26 PM Revision 3149d2f7 (main_repo): benchmark: Add net-pipe benchmark
- Just sends a buffer to a server, which echoes it back, and then measures
the Gbits/second. Very similar to throughpu... - 09:14 PM Revision 4d0fcd51 (main_repo): Fix dropped html tag
- 07:23 PM Revision 67723088 (main_repo): buffer: Don't double-negate numeric buffer arg
- Fix #4331
Using double negate forces values into 32bit space. Because of this
Math.ceil needs to be used. Since NaN ...
11/29/2012
11/28/2012
- 03:51 PM Revision c9f2531a (main_repo): net: More accurate IP address validation and IPv6 dotted notation.
- * Added isIP method to make use of inet_pton to cares_wrap.cc
* Modified net.isIP() to make use of new C++ isIP metho... - 09:11 PM Revision 83161455 (main_repo): doc: Fix missing link target to 'https.request()'
11/27/2012
- 01:18 AM Revision 8fc578b6 (main_repo): test: disable eio-race tests
- Disabled the following unit tests:
* test-eio-race.js
* test-eio-race2.js
* test-eio-race4.js
These tests are known... - 01:14 AM Revision 0c9bee49 (main_repo): build: support ARM in makefile target 'binary'
- 11:44 PM Revision ffb4c173 (main_repo): build: add $(PYTHON) when calling configure
11/26/2012
- 12:20 PM Revision 122ac4e1 (main_repo): blog: Post for v0.8.15
- 12:18 PM Revision e773be6f (main_repo): Now working on 0.8.16
- 12:12 PM Revision 9f51fd6b (main_repo): Merge branch 'v0.8.15-release' into v0.8
- 11:39 AM Revision fdf91afb (main_repo): 2012.11.26, Version 0.8.15 (Stable)
- * npm: Upgrade to 1.1.66 (isaacs)
* linux: use /proc/cpuinfo for CPU frequency (Ben Noordhuis)
* windows: map WSAES... - 07:51 PM Revision 121ed913 (main_repo): tls: fix tls.connect() resource leak
- The 'secureConnect' event listener was attached with .on(), which blocked it
from getting garbage collected. Use .onc...
11/24/2012
- 09:27 AM Revision 4cb17cb2 (main_repo): net: fix net.connect() resource leak
- The 'connect' event listener was attached with .on(), which blocked it from
getting garbage collected. Use .once() in... - 07:14 PM Revision aa3441ae (main_repo): js2c: raise proper Exception, not a string
- Fixes the following error message:
TypeError: exceptions must be old-style classes or derived
from BaseException...
11/23/2012
- 06:10 PM Revision 335f2089 (main_repo): crypto: allow negative numbers in setOptions()
- OR'ing together two large values, like `SSL_OP_ALL | SSL_OP_NO_TICKET`,
produces a negative number. To wit:
assert... - 03:54 PM Revision fb5c7f03 (main_repo): blog: Don't filter out non-latest release notes
- This causes too many people to ask me why it's broken.
- 03:51 PM Revision db008f7c (main_repo): npm: Upgrade to 1.1.66
11/22/2012
- 12:30 PM Revision bb867c0f (main_repo): doc: Add lines about additonal uses of Buffer
- That Buffers can be used with Typed Array Views and DataViews. Included
are a couple simple examples.
Closes #4257. - 10:10 AM Revision 8d2753c1 (main_repo): constants: fix wrapping of large constants
- Use Number::New() instead of Integer::New(). The latter wraps large values,
e.g. 0x80000000 becomes -2147483648 inste...
Also available in: Atom