Aaron Jacobs
49f0f618a9
typed arrays: use `signed char` for signed int8s
The C standard allows plain `char` to be unsigned. The build environment
at Google trips this issue.
12 years ago
yangguo@chromium.org
9fa953d3e7
v8: use correct timezone information on Solaris
`timezone` variable contains the difference, in seconds, between UTC and
local standard time (see `man 3 localtime` on Solaris).
Call to `tzset` is required to apply contents of `TZ` variable to
`timezone` variable.
BUG=v8:2064
Review URL: https://chromiumcodereview.appspot.com/10967066
Patch from Maciej Małecki <me@mmalecki.com>.
This is a back-port of upstream commit r12802.
12 years ago
Ben Noordhuis
844a0058d0
crypto: fix DH use-after-free and memory leak
Fix a use-after-free bug and a memory leak in the error path of
DiffieHellman::ComputeSecret().
* the BIGNUM key was used after being freed with BN_free().
* the output buffer was not freed
12 years ago
Ben Noordhuis
de18e29784
crypto: fix DH 1 byte buffer underflow
Passing a bad key to DiffieHellman::ComputeSecret() made it zero the byte
before the heap allocated buffer due to an erroneous size calculation.
12 years ago
Ben Noordhuis
82df345fbb
test: add diffie-hellman regression test
Exercises the error path in DiffieHellman::ComputeSecret() in src/node_crypto.cc
12 years ago
isaacs
627f0d27e8
doc: Typo. s/arguemnt/argument/
12 years ago
Nathan Rajlich
cca15e8e33
test: disable global variable check for "test-repl-options.js"
Previously, the "global" mode of REPLs was broken when created after another
non-global REPL (they would end up sharing the same context). Now that "global"
mode is fixed for that case (b1e78cef09
), this
test case gets its global scope modified with "module" and other REPL-specific
properties, so disable the global check.
12 years ago
Ben Noordhuis
1205734e69
configure: turn on VFPv3 on ARMv7
Fixes a V8 build error caused by missing arm_fpu and arm_neon settings.
This is a back-port of commit bbf6b4e
from the master branch.
Fixes #4142 .
12 years ago
Ben Noordhuis
28b0cc08b8
Revert "Disable OpenSSL UI"
This reverts commit 1c88c3b3b5
.
It breaks the "read a password from stdin" functionality that OpenSSL provides.
Fixes #4059 , #4143 .
Conflicts:
deps/openssl/openssl.gyp
12 years ago
Jan Lehnardt
a7b5938715
docs: fix copy and paste error
12 years ago
Ben Noordhuis
4a23add90f
doc: rectify http.ClientResponse close/end events
* The 'close' event doesn't emit an error object.
* It's possible for a 'close' event to come after an 'end' event, contrary to
what the documentation said.
Fixes #4116 .
12 years ago
Nathan Rajlich
b1e78cef09
repl: ensure each REPL instance gets its own "context"
Before there was this weird module-scoped "context" variable which seemingly
shared the "context" of subsequent REPL instances, unless ".clear" was invoked
inside the REPL. To be proper, we need to ensure that each REPL gets its own
"context" object. I literally don't know why this "sharing" behavior was in place
before, but it was just plain wrong.
12 years ago
Max Ogden
323bbdb0cb
doc: set default background color to white
12 years ago
isaacs
58db21e6c5
Now working on 0.8.13
12 years ago
isaacs
b3536ae0a8
blog: Post about 0.8.12
12 years ago
isaacs
d411622814
Merge branch 'v0.8.12-release' into v0.8
12 years ago
isaacs
38c72d4e29
2012.10.12, Version 0.8.12 (Stable)
* npm: Upgrade to 1.1.63
* crypto: Reduce stability index to 2-Unstable (isaacs)
* windows: fix handle leak in uv_fs_utime (Bert Belder)
* windows: fix application crashed popup in debug version (Bert Belder)
* buffer: report proper retained size in profiler (Ben Noordhuis)
* buffer: fix byteLength with UTF-16LE (koichik)
* repl: make "end of input" JSON.parse() errors throw in the REPL (Nathan Rajlich)
* repl: make invalid RegExp modifiers throw in the REPL (Nathan Rajlich)
* http: handle multiple Proxy-Authenticate values (Willi Eggeling)
12 years ago
isaacs
218f08dbde
npm: Upgrade to 1.1.63
12 years ago
isaacs
99b2368a6c
doc: Reduce crypto stability to 2-Unstable
12 years ago
Ben Noordhuis
6a128e037e
buffer: report proper retained size in profiler
Make buffers report the proper retained size in heap snapshots.
Before this commit, Buffer objects would show up in the heap profiler as being
only a few hundred bytes large, even if the actual buffer was many megabytes.
12 years ago
Bert Belder
87518f1e3c
uv: upgrade to b0c1a38
12 years ago
Ben Noordhuis
eec8c2edaf
crypto: fix -Wtautological-compare warning
12 years ago
Andreas Madsen
be5a8e24c2
doc: consistent use of the callback argument
12 years ago
Andrew Paprocki
8c5f269f90
Fix -Wsizeof-array-argument compiler warning.
12 years ago
Nathan Rajlich
59c166cfba
repl: move "isSyntaxError()" definition to the bottom
fixes lint "line length too long" error
12 years ago
Nathan Rajlich
f826b3269d
doc: document the custom "inspect()" function behavior
Closes #3361 .
12 years ago
koichik
fbb0ee6f24
buffer: fix byteLength with UTF-16LE
Fixes #4075 .
12 years ago
Alex Kocharin
bf0bc3565b
doc: better example for process.hrtime()
Fixes #3984 .
12 years ago
Ben Noordhuis
b0d04ffbd8
doc: stream: clarify meaning of 'drain' some more
Courtesy of Lee Coltrane (@coltrane ).
12 years ago
Ben Noordhuis
f624be4093
doc: stream: clarify meaning of 'drain' event
12 years ago
isaacs
b90c1502e5
doc: Correct stream.write fd mention
No streams actually work this way.
12 years ago
Nathan Rajlich
3b7312d23a
repl: make "end of input" JSON.parse() errors throw in the REPL
12 years ago
Nathan Rajlich
f1722a280c
repl: make invalid RegExp modifiers throw in the REPL
Fixes #4012 .
12 years ago
isaacs
fa912c246c
blog: s/LibUV/libuv/
12 years ago
isaacs
d3e818cf8f
blog: LXJS talk by @piscisaureus
12 years ago
thewilli
33a5c8a814
http: handle multiple Proxy-Authenticate values
Just as the 'WWW-Authenticate' HTTP header the 'Proxy-Authenticate' header might
be received several times as well. Currently only one value is preserved. This
change allows to receive multiple values concatenated by space and comma.
12 years ago
isaacs
c08320c957
doc: Make the CLA more simple/sane
1. Emails should go to @isaacs , not emily.
2. Ask for the electronic signature first, not the printed faxed thing.
12 years ago
isaacs
dcc01df968
blog: Post about 0.8.11
12 years ago
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