Andreas Madsen
7becf156a9
timers: consistent this keyword in setImmediate
When calling setImmediate with extra arguments the this keyword in the
callback would refer to the global object, but when not calling
setImmediate with extra arguments this would refer to the returned
handle object.
This commit fixes that inconsistency so its always set handle object.
The handle object was chosen for performance reasons.
12 years ago
isaacs
80472bc301
domain: Fix double-exit on nested domains
Minor oversight in fix for #4953 .
12 years ago
isaacs
43c1830e0a
Now working on 0.11.0
12 years ago
isaacs
4d1e9e5370
Now working on 0.10.0
12 years ago
isaacs
7c9ff8e94a
lint
12 years ago
Gil Pedersen
77a776da90
stream: Always defer preemptive reading to improve latency
12 years ago
isaacs
061a7ddbff
Merge remote-tracking branch 'ry/v0.8' into master
Conflicts:
AUTHORS
ChangeLog
src/node_version.h
12 years ago
isaacs
6e34dfd9e8
test: Fail faster in simple/test-cluster-bind-twice-v2
Crashing on windows, but at least now it's a crash rathert han a timeout.
12 years ago
isaacs
98c6a81771
test: Kill zombies when debugger-client fails on windows
12 years ago
isaacs
8cf2d4c2c1
test: Don't run async operation in process 'exit'
Also, this seems to occasionally cause some annoying file-locking
errors in Windows. Not sure if this is the best fix, but it seems
to make the warnings go away in that spot.
12 years ago
isaacs
f5c293b5ed
test: Use copy instead of symlink in child-process-fork-exec-path
12 years ago
isaacs
9826159bf1
test: Trim cat output for windows
12 years ago
isaacs
99a2059e40
test: Sending dgram sockets to child procs not supported on windows
12 years ago
isaacs
6076a25e80
core: Append filename properly in dlopen on windows
Fixes simple/test-module-loading on win32
12 years ago
isaacs
08f5db112f
test: Make stream2-transform less timing-dependent
12 years ago
isaacs
6d593a9026
test: Don't fail tls-session-cache if openssl is bad
12 years ago
isaacs
b3cbb16f41
zlib: Manage flush flags appropriately
If you call z.flush();z.write('foo'); then it would try to write 'foo'
before the flush was done, triggering an assertion in the zlib binding.
Closes #4950
12 years ago
isaacs
29cd0f2a77
domains: Handle errors thrown in nested error handlers
If a domain error handler throws, it should be caught if it was
in a stack of nested domains.
Fix #4953
12 years ago
Ben Noordhuis
e325ace53c
buffer: speed up ascii character scanning
Speed up ASCII character scanning and conversion by 25% to 30% by scanning and
converting whole words instead of individual bytes.
12 years ago
Ben Noordhuis
96a314b68b
buffer: strip high bits when converting to ascii
Consider the following example:
console.log(Buffer('ú').toString('ascii'));
Before this commit, the contents of the buffer was used as-is and hence it
prints 'ú'.
Now, it prints 'C:'. Perhaps not much of an improvement but it conforms to what
the documentation says it does: strip off the high bits.
Fixes #4371 .
12 years ago
isaacs
632b7d8750
Revert "http: check if incoming parser has already been freed"
This reverts commit 9f4c3b0d45
.
12 years ago
hheennrryy@gmail.com
9f4c3b0d45
http: check if incoming parser has already been freed
Fix #4948
This adds a check before setting the incoming parser
to null. Under certain circumstances it'll already be set to
null by freeParser().
Otherwise this will cause node to crash as it tries to set
null on something that is already null.
12 years ago
isaacs
ea30ca9533
doc: Add wrk's license to LICENSE file
12 years ago
Bert Belder
3c22c42519
win/msi: enable modify and repair
12 years ago
Bert Belder
fa1efa3675
win/msi: miscellaneous style cleanups
12 years ago
Bert Belder
4147680d59
win/msi: don't include architecture in start menu group name
12 years ago
Bert Belder
8365a56541
win/msi: update 'install finished' message
12 years ago
Bert Belder
952d6c5e4c
win/msi: clean up the 'documentation shortcuts' feature
12 years ago
Bert Belder
fb6253209e
win/msi: refactor 'node.js runtime' feature
* This feature now includes the start menu items.
* 'nodejsvars.bat' was renamed to 'nodevars.bat'.
* Improved feature description.
12 years ago
Bert Belder
2320ffbdff
win/msi: make 'add to path' a separate feature
12 years ago
Bert Belder
5e832ac7b9
win/msi: separate features for ETW and perfctr support
12 years ago
Bert Belder
51e3a59946
win/msi: make npm a feature separate from the runtime
12 years ago
Bert Belder
4348241bcc
win/msi: use consistent registry key paths
12 years ago
Bert Belder
0604d9ab93
win/msi: don't create empty npm folder in %appdata%
Npm creates this folder when it's needed. Creating it in the installer
violates the per-user / per-machine scope separation.
12 years ago
Bert Belder
8542c9afba
win/msi: don't install pdb file
It's only available in debug builds, and we're not providing
installer packages for debug builds anyway.
12 years ago
Bert Belder
7514779388
win/msi: define features before directories/components
12 years ago
Bert Belder
52f7a14aaf
win: make nodejsvars.bat detect whether npm is available
12 years ago
isaacs
90368770e6
stream: Emit error on stream object, not global
Apparently this function got abstracted out at some point, and 'this'
wasn't changed to the correct object.
12 years ago
Bert Belder
d5959c5cea
Revert "build, windows: disable SEH"
This is no longer necessary - the underlying issue was fixed in 01fa5ee
.
This reverts commit d879042860
.
12 years ago
Bert Belder
3446157269
win/openssl: mark assembled object files as seh safe
There are no unsafe structured exception handlers in object files
generated from hand-crafted assembly - because they contain no exception
handlers at all.
12 years ago
Raymond Feng
95871ac1db
windows/msi: fix msi build issue with WiX 3.7/3.8
The `heat` tool that gathers NPM source files wasn't getting called.
Closes #4896
12 years ago
isaacs
4b47bb4dbc
uv: Upgrade to b68ee40
12 years ago
isaacs
e7b8bad3d9
bench: Do math on numbers in compare.js, not strings
12 years ago
isaacs
f23ec6b3cf
uv: Upgrade to f89125e
12 years ago
Andreas Madsen
bdf7ac2c5d
child_process: support sending dgram socket
child.send can send net servers and sockets. Now that we have support
for dgram clusters this functionality should be extended to include
dgram sockets.
12 years ago
Ben Noordhuis
71694361f9
doc: dgram: add v0.10 bind() behavior note
dgram.Socket#bind() is always asynchronous now. Add a note at the top
of the documentation that explains how to upgrade.
Fixes #4944 .
12 years ago
Ben Noordhuis
924f603e26
doc: dgram: document bind() callback argument
12 years ago
isaacs
9c5812574f
blog: Post for v0.8.22
12 years ago
isaacs
5c3c2ed945
Now working on 0.8.23
12 years ago
isaacs
d7a5f96fa5
Merge branch 'v0.8.22-release' into v0.8
12 years ago