Stéphan Kochen
d5e966154c
Simplify things by using `*ArrayData` everywhere.
14 years ago
Stéphan Kochen
d9b08d66d6
Remove old interface remains from Buffer.
These were all lacking implementation, so deprecating wouldn't help.
14 years ago
Ryan Dahl
b2969a9155
Don't call AtExit twice
14 years ago
Vitali Lovich
fb8830a64f
Fix parsing of linux memory
If process name contains a space, this parsing fails for no good reason.
15 years ago
Ryan Dahl
604f4fdf8c
Write write.txt into the tmpdir
14 years ago
Ryan Dahl
92c5634cbd
Remove a confusing sentence in the docs
14 years ago
Jorge Chamorro Bieling
99e19aa398
Remove unneeded function wrappers
14 years ago
Ryan Dahl
174a3a9a08
Upgrade libev to 4.00
14 years ago
Ryan Dahl
3b861db31d
Upgrade V8 to 2.5.1
14 years ago
Ryan Dahl
2629296c25
Add isatty for isaacs
14 years ago
Ryan Dahl
ceb5331a64
Force exit on SIGINT but still reset flags on stdio fds
Add test that one can ctrl+c out of a script spinning infinitely.
14 years ago
Ryan Dahl
33e45bbe46
Add incomplete R plot file
14 years ago
Ryan Dahl
6570cd99e5
Fix execFile timeouts, improve tests
It seems that a parent will not get a SIGCHLD if the child is killed by the
parent? It's unclear, so make 'exit' callback manually.
14 years ago
Ryan Dahl
5a98fa4809
ChildProcesses cannot be killed if pid is missing
14 years ago
Tom Hughes
78da9cb052
Add --max-stack-size flag.
v8 doesn't expose a command-line flag to set the stack size, so this
adds a new flag that node understands how to handle and uses v8's
ResourceConstraints API.
14 years ago
isaacs
5e14c8bec0
Add ~/.node_modules as well as ~/.node_libraries
14 years ago
isaacs
b0adaff67e
require looks in node_modules folders
for modules starting with the __dirname and moving up.
This makes it much easier to localize dependencies to a particular program.
14 years ago
isaacs
bfc6b51d95
The cwdRequire hack is no longer necessary with the require.resolve refactor.
14 years ago
isaacs
492fc0d752
Split out modulePaths and defaultPaths
This way, the "default" paths of ~/.node_libraries and {prefix}/lib/node are only checked *after* anything that the user has placed into the NODE_PATHS environ, or pushed onto require.paths.
This makes require.paths a much more effective write-target, albeit slightly less useful as a read-target. However, given the existence of require.resolve(), this is less of an issue -- if you want to know what a module ID will map to, just ask that question and get an authoritative answer from the loading machinery.
14 years ago
isaacs
b0aadbea6b
Docs for require.resolve
14 years ago
Ryan Dahl
8c0e87f9c3
Add some failing tests for path.join
14 years ago
Aaron Heckmann
bd8e4f656e
Prevents child_process.exec timeouts from throwing when the child was previously killed.
14 years ago
isaacs
226eff5104
Add require.resolve.
Also, hack the repl so that it works as expected there, too.
14 years ago
Ryan Dahl
3407dab07f
Remove old references to old 'stream' event
14 years ago
Nikhil Marathe
179a7f6ffa
Added documentation of EventEmitter.once
14 years ago
Ryan Dahl
a313f38c34
use bash instead of sh in http_simple_bench.sh
14 years ago
Ryan Dahl
1b2f6f9e29
Upgrade V8 to 2.5.0
14 years ago
Johan Euphrosine
5d400cfd3a
net listen should emit eaddrinuse error
14 years ago
Mark Nottingham
b14eeb3c1e
Fix expect/continue keepalive
14 years ago
Jorge Chamorro Bieling
c735b4663a
unbase64 skips over *any* illegal chars
14 years ago
Ryan Dahl
40f675b64b
Fix race conditions in test-http-upgrade-client2
14 years ago
Ryan Dahl
4adadc38f4
fix test-base64-bigfile for linux
14 years ago
Ryan Dahl
97255c2651
Fix test harness for Linux
Mostly just upgraded tools/test.py to the latest one that's in V8. But also
fixing the before and after hooks to preserve the test/tmp directory so that
running tests manually usually works.
14 years ago
Sami Samhuri
56df0cbf93
new api for defining repl commands
14 years ago
AJ ONeal
74c8b5fd08
./wscript: allow for cross-compiling of all three supported architectures
14 years ago
isaacs
25b5bc01a6
A big base64 file encoding/decoding test
Originally written to try to track down this bug report:
http://permalink.gmane.org/gmane.comp.lang.javascript.nodejs/13924
As it turns out, it's showing a completely different kind of failure. When
the file is base64 encoded with the native program, then decoded with node,
it doesn't match the original. Something's fishy.
14 years ago
Ryan Dahl
cf1db4f304
base64 decode should handle whitespace
14 years ago
Ryan Dahl
ccf2a04ea2
Install ev.h and eio.h
14 years ago
Peteris Krumins
a6ee3bac85
Add EventEmitter.prototype.once
14 years ago
Ryan Dahl
3cf4827ae0
Add idle connection test
14 years ago
Ryan Dahl
ff456b3886
Add 'make bench' script
14 years ago
Ryan Dahl
cdde22a27d
Improve benchmark/http_simple.js
14 years ago
Nathan Rajlich
9b1ff070e6
Upgrade http-parser with a fix for spaces in headers
14 years ago
Joshua Peek
73b29d79b9
Don't flush net writeQueue on end() if its still connecting
14 years ago
Ben Noordhuis
045bd4c7a4
Preliminary pkg-config support.
14 years ago
Ryan Dahl
6691aca229
Allow people to set backlog. Need a better API.
14 years ago
Tom Hughes
f61b110cf6
Add signal handlers so we clean up before exiting.
Add SIGTERM and SIGINT signal handlers so that we run the exit handlers
before exiting when getting these signals. Fixes an issue where we
couldn't run vi after CTRL+C'ing node because the stdin fd was left
non-blocking.
14 years ago
Ryan Dahl
0fcb3bd3a9
Add .js to native script's filename
14 years ago
Ryan Dahl
c4636a578c
Dynamically load native scripts
14 years ago
Ryan Dahl
901d5fd0d2
Don't require events in fs.js
14 years ago