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
Nathan Rajlich
608898c15b
configure: add a "--dest-os" option to force a gyp "flavor"
This makes cross-compiling easier. i.e. from my mac:
./configure --dest-cpu=arm --dest-os=linux
12 years ago
Nathan Rajlich
fb383a0ad0
util: make util.inspect() work when "hasOwnProperty" is overwritten
12 years ago
Ben Noordhuis
9a3521cb25
http: respect HTTP/1.0 TE header
A HTTP/1.0 client does not support 'Transfer-Encoding: chunked' unless it
explicitly requests it by sending a 'TE: chunked' header.
Before this commit, node.js always disabled chunked encoding for HTTP/1.0
clients. Now it will scan for the TE header and turn on chunked encoding if
requested and applicable.
Fixes #940 .
12 years ago
Pooya Karimian
0087bc6370
cluster.worker description and examples ere missing from the top level of docs
13 years ago
Fedor Indutny
052e63f27f
v8: fix semaphore on MacOS
Landed upstream: https://chromiumcodereview.appspot.com/10867009/
12 years ago
Bert Belder
c5e554dc7e
v8: reapply floating patches
13 years ago
Bert Belder
4899116d4b
v8: upgrade to 3.11.10.22
12 years ago
Bert Belder
6174ea6b4c
doc: don't use '
Ref: #3964
12 years ago
Atsuya Takagi
9f57e422cf
doc: fix typo in api/cluster
12 years ago
Ben Noordhuis
7dfa587d18
crypto, tls: make setSNICallback() compatible with domains
12 years ago
Ben Noordhuis
7d0543c128
crypto: make pbkdf2() compatible with domains
12 years ago
Ben Noordhuis
d1eff9ab68
crypto: make randomBytes() compatible with domains
Don't execute the callback in the context of the global object.
MakeCallback() tries to apply the active domain to the callback. If the user
polluted the global object with a 'domain' property, as in the code example
below, MakeCallback() will try to apply that.
Example:
domain = {}; // missing var keyword is intentional
crypto.randomBytes(8, cb); // TypeError: undefined is not a function
Fixes #3956 .
12 years ago
Bert Belder
ea1cba6246
windows: don't blow when a signal handler is attached
Blowing up when the user attaches a signal handler makes no sense. Also,
in Node 0.10 signals will be supported, so allow people to get used to
it.
12 years ago
koichik
37f0eb8df3
Revert "buffer: added support for writing NaN and Infinity"
This reverts commit 6b9425fe37
.
12 years ago
Ben Noordhuis
6c5fdd5223
doc: document prerequisites in README
12 years ago
koichik
6b9425fe37
buffer: added support for writing NaN and Infinity
to writeDoubleBE(), writeDoubleLE(), writeFloatBE() and writeFloatLE().
Fixes #3934 .
13 years ago
Shigeki Ohtsu
f347077e78
tls: support unix domain socket/named pipe in tls.connect
13 years ago
Bert Belder
9603f08f21
uv: upgrade to 24c062c
13 years ago
Bert Belder
b0d2795fe9
child process: fix processes with IPC channel don't emit 'close'
With this patch the IPC socket is no longer available in the
ChildProcess.stdio array. This shouldn't be very problematic, since
this socket was effectively non-functional; it would never emit any
events.
13 years ago
Nathan Rajlich
355c148427
build: set `process.platform` to "sunos" on SunOS
gyp sets it to "solaris" by default, but versions of node v0.6.x and
older would report "sunos". Let's keep things consistent.
Fixes #3944 .
13 years ago
Ankur Oberoi
a57d31595d
doc: fix grammar errors
13 years ago
isaacs
dec16aa5c2
Test client renegotiation attacks on HTTPS
This test should output roughly the same results as the tls ci-reneg attack
pummel test. However, it does not.
13 years ago
isaacs
0ef1e5b5eb
blog: Post for 0.9.1 release
13 years ago
Bearice Ren
ef3617c6f8
build: fix `make -j' fails after `make clean'
make fails if:
./configure && make clean && make -j6
as out/Makefile has not yet be made when entering sub dirs
13 years ago
Bert Belder
2418434568
windows: fix single-accept mode for shared server sockets
13 years ago
Ben Noordhuis
2786737417
build: compile with -fno-tree-sink if gcc <= 4.4
Fixes a 'pure virtual method called' run-time error with some versions of gcc
on some platforms, notably ARM.
13 years ago
Ben Noordhuis
84590f3fe9
build: fix -fno-tree-vrp heuristic
-fno-tree-vrp is a gcc only switch. Don't enable it when compiling with clang,
it will only complain about -fno-tree-vrp being ignored.
13 years ago
Nathan Rajlich
2d0c1da975
docs: fix syntax error in "https" example
13 years ago
koichik
752ac320ae
https: make https.get() accept a URL
https.get() now accepts either a URL (as a string) or an options object.
Refs #2859 .
Fixes #3882 .
13 years ago
Brandon Wilson
59011448c0
doc: more uniform and sleek buttons
Closes GH-3909
13 years ago
Nathan Rajlich
7142b260c6
build: tweak the openssl android configuration to build
Removed NO_CAST, NO_MD2 and NO_STORE because otherwise there were build errors.
Added NO_CAMELLIA, NO_MDC2, and NO_CMS because otherwise there were linker errors.
13 years ago