Ben Noordhuis
de0303d3ad
url: parse hostnames that start with - or _
Allow hostnames like '-lovemonsterz.tumblr.com' and '_jabber._tcp.google.com'.
Fixes #4177 .
12 years ago
Bert Belder
fa94f0fe83
v8: don't show performance warnings when compiling with msvc
Patch sent upstream: http://codereview.chromium.org/10829109/
13 years ago
isaacs
78dbb15858
Now working on v0.9.4
12 years ago
isaacs
9b3f63503e
Merge branch 'v0.9.3-release'
12 years ago
isaacs
82a72e9591
blog: Post for v0.9.3 release
12 years ago
isaacs
1ed4c6776e
2012.10.24, Version 0.9.3 (Unstable)
* V8: Upgrade to 3.13.7.4
* crypto: Default to buffers instead of binary strings (isaacs, Fedor Indutny)
* crypto: add getHashes() and getCiphers() (Ben Noordhuis)
* unix: add custom thread pool, remove libeio (Ben Noordhuis)
* util: make `inspect()` accept an "options" argument (Nathan Rajlich)
* https: fix renegotation attack protection (Ben Noordhuis)
* cluster: make 'listening' handler see actual port (Aaditya Bhatia)
* windows: use USERPROFILE to get the user's home dir (Bert Belder)
* path: add platform specific path delimiter (Paul Serby)
* http: add response.headersSent property (Pavel Lang)
* child_process: make .fork()'d child auto-exit (Ben Noordhuis)
* events: add 'removeListener' event (Ben Noordhuis)
* string_decoder: Add 'end' method, do base64 properly (isaacs)
* buffer: include encoding value in exception when invalid (Ricky Ng-Adam)
* http: make http.ServerResponse no longer emit 'end' (isaacs)
* streams: fix pipe is destructed by 'end' from destination (koichik)
12 years ago
isaacs
abf37c1e66
V8 build: 'echo -n' considered harmful
12 years ago
Ben Noordhuis
8ac017eba7
test: fix pummel/test-crypto-dh, pummel/test-dh-regr
Forgotten in the switch to buffers as the default output in 3570f20
.
Fixes #4188 .
12 years ago
Bert Belder
f34f1e30a6
repl: call resume() after setRawMode()
Solves #4178 , but does not fix the underlying issue
12 years ago
Bert Belder
6822488c93
repl: call resume() after setRawMode()
Solves #4178 , but does not fix the underlying issue
12 years ago
Olivier Lalonde
626db18635
doc: child_process: document uid and gid spawn() options
12 years ago
isaacs
c3ca783525
Merge remote-tracking branch 'ry/v0.8'
Conflicts:
deps/v8/src/arm/code-stubs-arm.cc
deps/v8/src/version.cc
12 years ago
isaacs
a0ee291566
V8: Reapply patches
12 years ago
isaacs
95c9305874
V8: Upgrade to 3.13.7.4
12 years ago
isaacs
76a6c4bf2e
V8: Reapply patches
12 years ago
isaacs
29d12c7342
V8: Upgrade to 3.11.10.25
12 years ago
isaacs
7413df0c1f
npm: Upgrade to 1.1.64
12 years ago
isaacs
3570f2097f
Merge branch 'crypto-buffers'
12 years ago
isaacs
1122e3af28
crypto: Style. Prefer 'char*' over 'char *'
12 years ago
isaacs
f2fa97f178
crypto: Remove many unnecessary toObjects
12 years ago
isaacs
d7da20c812
crypto: pbkdf2 throws when no callback provided
12 years ago
isaacs
f3621359f4
doc: OpenSSL is bundled now.
12 years ago
isaacs
c87b524c5f
crypto: Clean up buffer handling and DH methods
12 years ago
isaacs
76b0bdf720
crypto: Add crypto.DEFAULT_ENCODING (defaults to 'buffer')
This is a flag to make it easier for users to upgrade through the
breaking crypto change, and easier for us to switch it back if it's a
problem.
Explicitly set default encoding to 'buffer' in other tests, in case it
ever changes back.
12 years ago
isaacs
4266f5cf2e
tls: Provide buffer to Connection.setSession
12 years ago
isaacs
bfb9d5bbe6
crypto: Binding only accepts buffers
12 years ago
isaacs
9901b69c8e
crypto: Move encoding logic to JS, default=buffer
crypto: Hash and Hmac default to buffers
crypto: Move Cipher encoding logic to JS
crypto: Move Cipheriv encoding logic to JS
crypto: Move Decipher encoding logic to JS
crypto: Move Decipheriv into JS, default to buffers
crypto: Move Sign class to JS
crypto: Better encoding handling in Hash.update
crypto: Move Verify class to JS
crypto: Move DiffieHellman to JS, default to buffers
crypto: Move DiffieHellmanGroup to JS, default to buffers
Also, create a test for this feature
12 years ago
Ben Noordhuis
160e4d0534
build: re-enable gdbjit, honor --gdb again
Note that you need to start node with --gdbjit for it to become effective.
12 years ago
mstarzinger@chromium.org
e8b0427be2
v8: make GDBJIT interface compile again
R=ulan@chromium.org
BUG=v8:1804
Review URL: https://codereview.chromium.org/11022007
This is a back-port of upstream commits 12679, 12686 and 12738.
12 years ago
isaacs
18beea4a3f
Merge remote-tracking branch 'ry/v0.8'
12 years ago
Ben Noordhuis
b6b881378a
test: add typed arrays regression test
Ensure that uint8 values >= 128 are correctly promoted to int8 <= -1.
12 years ago
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
Ben Noordhuis
d0227b0308
Merge remote-tracking branch 'origin/v0.8'
Conflicts:
deps/openssl/openssl.gyp
12 years ago
Soarez
72ce9baa75
streams: remove useless line
The removed line was removing a calllback that was never setup
in first place. 016afe2
forgot to remove this.
12 years ago
Ben Noordhuis
cb6d084d35
node: update description of --print
12 years ago
Bert Belder
c11c19b92c
uv: upgrade to 1e32cb0
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 .
13 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
Nathan Rajlich
4b238b4c2a
Merge remote-tracking branch 'origin/v0.8'
Conflicts:
AUTHORS
ChangeLog
deps/uv/test/runner-win.c
doc/api/process.markdown
lib/repl.js
src/node_crypto.cc
src/node_version.h
12 years ago
Dean McNamee
47643d2ec5
typed arrays: remove unnecessary special-casing
Uint32Value() on undefined is equal to 0, no need to special case it.
12 years ago
Dean McNamee
93efc7f78d
typed arrays: simplify typed array get() and set()
Instead of duplicating V8's logic (including clamping), just simply call into
V8's Get() and Set() methods, which handles all conversions and typing.
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
Ben Noordhuis
2fbf0612a1
crypto: sort return value of getCiphers/getHashes
12 years ago