| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disabled the following unit tests:
* test-eio-race.js
* test-eio-race2.js
* test-eio-race4.js
These tests are known to fail on busy boxes due to being timing sensitive,
and are deemed not meaningful tests.
See https://github.com/joyent/node/issues/4272
Fixes #4272.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Fixes the following error message:
TypeError: exceptions must be old-style classes or derived
from BaseException, not str
Fixes #4303.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OR'ing together two large values, like `SSL_OP_ALL | SSL_OP_NO_TICKET`,
produces a negative number. To wit:
assert((0x80000000 | 0x4000) === -0x7fffc000); // true
assert((0x80000000 | 0x4000) === 0x80004000); // false!
It's easy to work around by doing a logical shift, like this:
assert((0x80000000 | 0x4000) >>> 0 === 0x80004000); // true
But that's not very intuitive. Let's be more lenient in what we accept.
|
|
|
|
|
| |
Use Number::New() instead of Integer::New(). The latter wraps large values,
e.g. 0x80000000 becomes -2147483648 instead of 2147483648.
|
|
|
|
|
| |
Thin archive needs binutils >= 2.19, disable it for supporting old ar
even if static libraries are linked within a local build.
|
|
|
|
| |
Patch by Henry Rawas and Scott Blomquist.
|
| |
|
|
|
|
|
|
|
|
| |
* fix gyp build
* don't require libexecinfo, it's not there
* libpthread doesn't implement sem_timedwait(), fall back to sem_wait()
Upstreamed in https://codereview.chromium.org/11421013/
|
|
|
|
|
|
| |
Upstreamed in https://codereview.chromium.org/11418101/
Fixes #4287.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This commit contains one additional patch that makes gyp work on DragonFlyBSD,
see https://codereview.chromium.org/11348152/ for details.
|
|
|
|
|
| |
Make HandleSSLError() correctly process a zero status code: sometimes it
indicates an error and sometimes it doesn't.
|
|
|
|
|
|
|
| |
The purpose of this file was to remap the old libeio API to the new one.
We dropped libeio in ee77a6a and this file has been broken ever since.
Ergo, remove it.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Don't interpret floating point numbers, e.g. ".1234", as REPL commands.
Fixes #4268.
|
|
|
|
|
| |
Many assertion tests are duplicated in buffer.js. These few could be easily
removed and still have all tests pass.
|
| |
|
|
|
|
|
|
|
| |
While updating the readline test cases to test both "terimal: false" and
"terminal: true" mode, it turned out that the test case testing utf8 chars
being sent over multiple write() calls was failing. The solution is to use
a string_decoder instance when parsing the "keypress" events.
|
|
|
|
|
|
|
|
|
|
| |
Before this commit, readline was inconsistent in whether or not it would emit
"line" events with or without the trailing "\n" included. When "terminal"
mode was true, then there would be no "\n", when it was false, then the "\n"
would be present. However, the trailing "\n" doesn't add much, and most of the
time people just end up stripping it manually.
Part of #4243.
|
|
|
|
|
|
| |
* Added isIP method to make use of inet_pton to cares_wrap.cc
* Modified net.isIP() to make use of new C++ isIP method.
* Added new tests to test-net-isip.js.
|
|
|
|
| |
See 605927fbd9c2fbcd7d88a8f8159a9ca78417a6d0
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Don't define the _LARGEFILE_SOURCE and _FILE_OFFSET_BITS flags, they're
inherited from libuv now.
|
| |
|
|
|
|
| |
Set GCC_OPTIMIZATION_LEVEL explicitly, otherwise GYP defaults to -Os.
|
|
|
|
|
|
| |
DTrace on Linux should not be enabled by default because not all systems will
have the proper headers installed. Only enable when --with-dtrace is passed to
the configure script.
|
| |
|
|
|
|
| |
Patch by Henry Rawas and Scott Blomquist.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This should have been with 21c741f, but didn't catch it then.
Taking our own advice.
|
| |
|
| |
|
|
|
|
|
|
| |
`url.format` should escape ? and # chars in pathname, and # chars in
search, because they change the semantics of the operation otherwise.
Don't escape % chars, or anything else. (see: #4082)
|
|
|
|
|
| |
onclose was never attached to 'end' so this call to remove this listener
is useless. Delete it.
|
|
|
|
|
|
|
| |
Inform V8 that the zlib context object is tied to a large off-heap buffer.
This makes the GC run more often (in theory) and improves the accuracy of
--trace_external_memory.
|