isaacs
9877b8f414
Now working on 0.8.12
12 years ago
isaacs
a9429052c2
Merge branch 'v0.8.11-release' into v0.8
12 years ago
isaacs
e1f39468fa
2012.09.27, Version 0.8.11 (Stable)
* fs: Fix stat() size reporting for large files (Ben Noordhuis)
12 years ago
Bert Belder
b5db5fc9dc
test: pick another CNAME record to test dns queries
Google.com no longer has a CNAME record.
12 years ago
Ben Noordhuis
ec03c47c19
fs: fix stat() reporting for large files
Use Number::New(), not Integer::New(). Large values won't fit in an Integer.
Apply to the size, ino and blocks fields.
12 years ago
isaacs
8ca44f9928
blog: Post about v0.8.10
12 years ago
isaacs
37869f1c9a
Now working on 0.8.11
12 years ago
isaacs
02897bd8de
Merge branch 'v0.8.10-release' into v0.8
12 years ago
isaacs
0bc273da4f
2012.09.25, Version 0.8.10 (Stable)
* npm: Upgrade to 1.1.62
* repl: make invalid RegExps throw in the REPL (Nathan Rajlich)
* v8: loosen artificial mmap constraint (Bryan Cantrill)
* process: fix setuid() and setgid() error reporting (Ben Noordhuis)
* domain: Properly exit() on domain disposal (isaacs)
* fs: fix watchFile() missing deletion events (Ben Noordhuis)
* fs: fix assert in fs.watch() (Ben Noordhuis)
* fs: don't segfault on deeply recursive stat() (Ben Noordhuis)
* http: Remove timeout handler when data arrives (Frédéric Germain)
* http: make the client "res" object gets the same domain as "req" (Nathan Rajlich)
* windows: don't blow up when an invalid FD is used (Bert Belder)
* unix: map EDQUOT to UV_ENOSPC (Charlie McConnell)
* linux: improve /proc/cpuinfo parser (Ben Noordhuis)
* win/tty: reset background brightness when color is set to default (Bert Belder)
* unix: put child process stdio fds in blocking mode (Ben Noordhuis)
* unix: fix EMFILE busy loop (Ben Noordhuis)
* sunos: don't set TCP_KEEPALIVE (Ben Noordhuis)
* tls: Use slab allocator for memory management (Fedor Indutny)
* openssl: Use optimized assembly code for x86 and x64 (Bert Belder)
12 years ago
Bert Belder
d05d6a35b6
openssl: fix compilation issues on SmartOS x64
the SunOS linker is more strict than usual, so we have to be more
correct.
12 years ago
isaacs
ea2ceb731c
test: Fix premature close in test-http-client-timeout-agent
12 years ago
isaacs
411d46087f
tls: lint
cc @indutny >_<
12 years ago
isaacs
2a9a5e2318
domain: Remove stray console.log
12 years ago
Bert Belder
e0e9f0c15a
openssl: use optimized asm code on x86 and x64
12 years ago
Bert Belder
823e807b5b
openssl: add generated asm code
12 years ago
Bert Belder
62c3879cfa
openssl: add 'clean' target to asm Makefile
12 years ago
Ben Noordhuis
202ecbc9c7
openssl: generate asm code with a Makefile
12 years ago
Bert Belder
66638a4435
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 makes AES much slower.
12 years ago
Bert Belder
d2fb507556
openssl: revert empty_OPENSSL_cpuid_setup.patch
12 years ago
Bert Belder
09ac9d0b2c
openssl: fix perlasm issue
When perlasm generates MASM code it sets the assembler target to 468.
In this mode MASM refuses to assemble the CPUID instruction. Bumping
the target to 586 solves this problem.
12 years ago
Bert Belder
3568edf711
openssl: add optimized bignum x64 asm code for windows
12 years ago
Fedor Indutny
7651228ab2
tls: use slab allocator
13 years ago
isaacs
83d39c8d53
npm: upgrade to 1.1.62
12 years ago
Adam Blackburn
d5e9895ce0
doc: put API table of contents in alphabetical order
12 years ago
Nathan Rajlich
0f2ed2bc2c
http: make the client "res" object gets the same domain as "req"
Fixes #4046 .
12 years ago
Nathan Rajlich
4a2670740c
repl: make invalid RegExps throw in the REPL
Fixes #2746 .
12 years ago
Bert Belder
f536eb176b
uv: upgrade to 39ca621
12 years ago
Bryan Cantrill
4165f736e6
v8: loosen artificial mmap constraint
Fixes #4010 .
12 years ago
isaacs
0400571676
domain: Properly exit() on domain disposal
This addresses #4034 . There are two problems happening:
1. The domain is not exited automatically when calling dispose() on it.
Then, since the domain is disposed, attempting to exit it again will do
nothing.
2. The active domain is stored on process.domain. Since thrown errors
call `process.emit('uncaughtException', er)`, and the process is an
event emitter with a `.domain` member, it re-enters the domain a second
time before calling the error handler, pushing it onto the stack again.
Thus, if the handler calls `domain.dispose()`, then the domain is now on
the stack twice, and cannot be exited properly. Since the domain is
disposed, any subsequent IO will be no-op'ed, since we've declared that
this context is done and best forgotten.
The solution here is twofold:
1. In EventEmitter.emit, do not enter the domain if `this===process`.
2. Automatically exit the domain when calling `domain.dispose()`.
12 years ago
isaacs
43a2b29182
blog: Post for 0.9.2
12 years ago
Ben Noordhuis
39a0836d5c
fs: fix watchFile() missing deletion events
Make sure the deletion event gets reported in the following scenario:
1. Watch a file.
2. The initial stat() goes okay.
3. Something deletes the watched file.
4. The second stat() fails with ENOENT.
The second stat() translates into the first 'change' event but a logic error
stopped it from getting emitted.
Fixes #4027 .
12 years ago
Robin Lee
a08271c7a8
doc: fix three typos
12 years ago
Ben Noordhuis
96ca59fbf3
process: fix setuid() and setgid() error reporting
Zero errno before calling getgrnam_r() or getpwnam_r(). If errno had previously
been clobbered, node would report the wrong error.
12 years ago
Ben Noordhuis
db5c26e3b5
fs: fix assert in fs.watch()
Fix the following error:
FSEventWrap: Aborting due to unwrap failure at ../../src/fs_event_wrap.cc:169
It's possible and legal for a handle to be closed twice. HandleWrap::Close()
deals with that by ignoring the second close. Now FSEventWrap::Close() does
too.
Fixes #3997 .
12 years ago
Ben Noordhuis
07804c7c9a
fs: don't segfault on deeply recursive stat()
Check that the calls to Integer::New() and Date::New() succeed and bail out if
they don't.
V8 returns an empty handle on stack overflow. Trying to set the empty handle as
a property on an object results in a NULL pointer dereference in release builds
and an assert in debug builds.
Fixes #4015 .
12 years ago
Nathan Rajlich
1d52968d1d
v8: Replace VFP by VFP2 in common.gypi
This fixes an omission in cl 10818026.
Patch by Nathan Rajlich.
Review URL: http://codereview.chromium.org/10913256
13 years ago
yangguo@chromium.org
25c2940a08
v8: Relax requirement from VFP3 to VFP2 where possible.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com/10818026
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@12194 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
13 years ago
Frédéric Germain
451ff1540a
http: Remove timeout handler when data arrives
12 years ago
Ben Noordhuis
58a5bc1ec7
doc: fs: clarfify fs.watch() documentation
fs.watch() is implemented on all supported platforms but, depending on the
object being watched, doesn't always work reliably (or at all).
Fixes #4005 .
12 years ago
Ben Noordhuis
4870a4e3da
doc: http: expand request.headers documentation
12 years ago
isaacs
362189a5d3
Now working on 0.8.10
12 years ago
isaacs
d80de98e91
blog: Post for 0.8.9
12 years ago
isaacs
72d3124841
Merge branch 'v0.8.9-release' into v0.8
12 years ago
isaacs
b88c3902b2
2012.09.11, Version 0.8.9 (Stable)
* v8: upgrade to 3.11.10.22
* GYP: upgrade to r1477
* npm: Upgrade to 1.1.61
* npm: Don't create world-writable files (isaacs)
* windows: fix single-accept mode for shared server sockets (Bert Belder)
* windows: fix uninitialized memory access in uv_update_time() (Bert Belder)
* windows: don't throw when a signal handler is attached (Bert Belder)
* unix: fix memory leak in udp (Ben Noordhuis)
* unix: map errno ESPIPE (Ben Noordhuis)
* unix, windows: fix memory corruption in fs-poll.c (Ben Noordhuis)
* sunos: fix os.cpus() on x86_64 (Ben Noordhuis)
* child process: fix processes with IPC channel don't emit 'close' (Bert Belder)
* build: add a "--dest-os" option to force a gyp "flavor" (Nathan Rajlich)
* build: set `process.platform` to "sunos" on SunOS (Nathan Rajlich)
* build: fix `make -j` fails after `make clean` (Bearice Ren)
* build: fix openssl configuration for "arm" builds (Nathan Rajlich)
* tls: support unix domain socket/named pipe in tls.connect (Shigeki Ohtsu)
* https: make https.get() accept a URL (koichik)
* http: respect HTTP/1.0 TE header (Ben Noordhuis)
* crypto, tls: Domainify setSNICallback, pbkdf2, randomBytes (Ben Noordhuis)
* stream.pipe: Don't call destroy() unless it's a function (isaacs)
12 years ago
isaacs
1c2982b94f
Update doc and test for sunos/solaris switch
12 years ago
isaacs
6e0b8b169c
doc: Fork me image should be full url
12 years ago
isaacs
e35cec5c05
doc: Put current version on homepage
12 years ago
isaacs
005ae23250
doc: Add Node Dublin to community page
12 years ago
isaacs
41e1b171ec
stream.pipe: Don't call destroy() unless it's a function
12 years ago
isaacs
54a4c639e9
npm: Upgrade to 1.1.61
12 years ago