doc: update 'Fork me at Github' ribbon
Replace 'Fork me at Github' ribbon with a new one fitting the website's color scheme.
test: use RC4-MD5 cipher in tls test
NULL-MD5 is not always compiled into openssl but RC4-MD5 should always be available. Fixes #3531.
build: disable strict aliasing in v8 with gcc 4.5.x
The gcc 4.5.x have various bugs that make V8 crash in various and interesting ways when -fstrict-aliasing is in effect.
build: enable strict aliasing if gcc < 4.5.0
We already enable -fstrict-aliasing when gcc >= 4.6.0 but let's enable it for gcc < 4.5.0 as well. The aliasing bugs that we ran into in the past are all particular to the 4.5.x releases.
Fix #3521 Use an object as the process.env proto
For some reason, though, it looks like EnvGetter is not called for the key `__proto__`, so I can't make the info->Data() accessible. However, putting the Object.prototype keys there, in such a way that they are not OwnProperties, and are supersceded by environs, makes process.env much less weird.
test: fix test-dgram-broadcast-multi-process
The test failed when a router replies IPADDR_BROADCAST. Fixed it by specifying only one address to bind a socket.
Revert "Fix #3521 Use an object as the process.env proto"
The reverted commit caused a v8 assertion to trigger in debug mode. This reverts commit e307468.
The V8 assert got triggered by a missing HandleScope::Close().
Merge remote-tracking branch 'origin/v0.8'
Conflicts: configure src/node_version.h
readline: Use one history item for reentered line
If the command entered is exactly the same as the last history item, don't dupe it in the history
tls: make tls a little bit faster
Compile OpenSSL with inline assembly for big numbers
timer: change new Date to Date.now for performance
Speeds up benchmark/settimeout.js by about 30%.
Merge remote-tracking branch 'ry/v0.8' into v0.8-merge
Conflicts: src/node_version.h
nextTick: Preserve depth in error/reentry cases
When there is an error that is thrown in a nextTick function, which is
then handled by a domain or other process.on('uncaughtException')
handler, if the error handler *also* adds a nextTick and triggers
multiple MakeCallback events (ie, by doing some I/O), then it would
skip over the tickDepth check, resulting in an infinite spin.
Solution: Check the tickDepth at the start of the tick processing, and
preserve it when we are cleaning up in the error case or exiting early
in the re-entry case.
In order to make sure that tick callbacks are *eventually* handled, any
callback triggered by the underlying spinner in libuv will be processed
as if starting from a tick depth of 0.Merge remote-tracking branch 'ry/v0.8' into master
Conflicts: src/node_version.h
http/https: pass request to .createConnection()
It's useful for passing some additional options of request object to the underlying API
tls: revert accidental API change
socket.authorizationError should always be string. Also make sni test pass.
Revert "http/https: pass request to .createConnection()"
This reverts commit 53716eb.
tls: fix 'hostless' tls connection verification
And fix last failing tests
2012.07.20, Version 0.9.0 (Unstable)
* punycode: update to v1.1.1 (Mathias Bynens) * c-ares: upgrade to 1.9.0 (Saúl Ibarra Corretgé) * dns: ignore rogue DNS servers reported by windows (Saúl Ibarra Corretgé) * unix: speed up uv_async_send() (Ben Noordhuis) * darwin: get cpu model correctly on mac (Xidorn Quan) * nextTick: Handle tick callbacks before any other I/O (isaacs) * Enable color customization of `util.inspect` (Pavel Lang) * tls: Speed and memory improvements (Fedor Indutny) * readline: Use one history item for reentered line (Vladimir Beloborodov) * Fix #3521 Make process.env more like a regular Object (isaacs)