Ryan Dahl
9331218449
Servers shouldn't die on EMFILE
15 years ago
Herbert Vojcik
06b9c8bf1f
Fix of normalizing paths of form ./../the/rest
15 years ago
Ryan Dahl
d923c94a0c
Remove udns
15 years ago
Ryan Dahl
8f671041a5
Check for ip address in dns_cares.lookup
15 years ago
Krishna Rajendran
dc1f4ebd44
c-ares based dns module
15 years ago
Vanilla Hsu
25adb2eb55
[FreeBSD] use /dev/null instead /dev/mem
Without this patch, Node needs to setgid kmem when run as normal user.
15 years ago
Ryan Dahl
38041fcaa0
Try out Flatten API
Speeds up WriteUtf8 significantly when dealing with strings made by the
concatenation of many others.
15 years ago
Ryan Dahl
ca0038bf2f
Add mising EV_DEFAULT_UC in ev_now()
15 years ago
Ryan Dahl
53dd9fe200
Fix bug in buffer.utf8Write() which included \u0000
15 years ago
Ryan Dahl
801fb8a614
Better, faster, idle notification
15 years ago
Ryan Dahl
b0d1d6c2b9
Reset stdin, stdout fd flags on exit
In vim, lauching node as a child process would mess up the screen. This was
because Node was changing the flags on STDIN_FILENO and STDOUT_FILENO
(particularly adding O_NONBLOCK) but those flags leaked into the parent
process.
15 years ago
Ryan Dahl
85487c82d0
Blob struct should not contain actual data
This is to allow eventual realloc without messing up the data_ references in
all the slices.
15 years ago
Ryan Dahl
ec0266a56c
Update libev's clock when starting timers
Make the timeouts more accurate. See test/pummel/test-timers.js
15 years ago
Ryan Dahl
b72ffc0e07
Add buffer.copy
15 years ago
Rhys Jones
fb3a9cd0d8
Initial openssl support for net2
15 years ago
Ryan Dahl
ae805f1057
Emit 'error' on tcp connection DNS error
15 years ago
Ryan Dahl
94644d743c
Remove multipart library
Too messy, unmaintainable. Pull it out of the history if you need it.
15 years ago
Ryan Dahl
53530e981a
Fix test-http-chunked. Need to check for \0 at end of utf8 strings
15 years ago
Ryan Dahl
b9106b0ecd
Use AF_INET sockets instead of always AF_INET6
You can get AF_INET6 still, it's just not the only choice.
15 years ago
Ryan Dahl
3197cf291d
Better flushing
Lost Utf8 support. Waiting for http://codereview.chromium.org/1539013
15 years ago
Ryan Dahl
aec80d47bb
Better check for FDs in net2 bindings
15 years ago
Herbert Vojcik
9e97e185ad
EAI_NODATA deprecated, patch to use EAI_NONAME if missing (it is in FreeBSD)
15 years ago
Ryan Dahl
218d7e9f2d
Clean up NODE_DEBUG detection
It wasn't detecting if NODE_DEBUG=0
15 years ago
Ryan Dahl
8e9ec4abea
Fix idle timeouts
Remove process.now because it doesn't provide enough precision.
15 years ago
Ryan Dahl
a01d8a0d68
Timer clean ups
Also bugfix getting pointer to C++ class in watcher
15 years ago
Ryan Dahl
54d4efd44b
Upgrade http-parser
Now at version 6f72c780f0a237a775150a9963bcdf5299685cde
15 years ago
Ryan Dahl
765f0cdece
Fix ChildProcess::Kill
15 years ago
Ryan Dahl
bfdc421dda
Don't kill negative PIDs
Fixes issue GH-79.
15 years ago
Ryan Dahl
663269f687
old tcp module is now tcp_old
15 years ago
Ryan Dahl
025116f8d0
Move Buffer into own module
15 years ago
Ryan Dahl
ac684f3583
Add legacy 'binary' encoding/decoding methods to Buffer
15 years ago
Ryan Dahl
b80f6e9ed1
http2 now default
15 years ago
Ryan Dahl
4278f35e89
Add support for Buffer to fs.write
15 years ago
Ryan Dahl
3a993d8897
Buffer.utf8ByteLength -> Buffer.byteLength
15 years ago
Ryan Dahl
0c64768cb4
Don't error out when buffer.utf8Write() doesn't fit
15 years ago
Herbert Vojcik
9e8afe9133
DRY loading native module
15 years ago
Carson McDonald
e5cbe73a82
Better EventEmitter modify-in-emit
Changed ReallyEmit so that it clones the Array of listeners before
processing the emit. Added better tests to make sure that modifying
listeners inside event handlers doesn't cause later listeners to be skipped
or added.
15 years ago
Scott Taylor
39f0ef9d4a
Remove duplicate shebang filtering
15 years ago
Tim-Smart
df8164c1c3
node.cc: EvalCX: Third argument as filename
15 years ago
Ryan Dahl
1332cafb7c
s/Socket/Stream/g
15 years ago
Ryan Dahl
04c06b9149
child process now use net.Socket
15 years ago
Krishna Rajendran
84277ea845
Check for callback argument in PTR lookup
15 years ago
isaacs
31ed37fdf0
evalcx shouldn't be too fancy
After getting some feedback from Mikeal Rogers and Tim Smart, it was decided
that evalcx should not try to do any fancy security stuff, and instead leave
that in the hands of the user. To comply more with spidermonkey, everything
is passed in, and objects are passed in by reference rather than being
cloned.
15 years ago
Ryan Dahl
217e4b40d4
Check for callback argument in DNS functions
15 years ago
isaacs
943b2c61a8
Make evalcx work like it's supposed to.
1. Move the context->Enter() call so that the global obj is available for writing.
2. On success, copy the modified global out to the sandbox object.
3. Don't copy functions in either direction. They have scope and closures, and make for craziness when trying to keep contexts separate.
4. Only do the ->ToObject->Clone() on objects, so that simple values stay simple.
5. Update the test so that it tests all this stuff.
15 years ago
Ryan Dahl
953fa3a5f5
Move net2 bindings out of process
15 years ago
Ryan Dahl
5d5c8cf04a
Fix StatWatcher typo
15 years ago
Ryan Dahl
fdf46a65c9
Use streams for stdout and stdin
15 years ago
Ryan Dahl
6befc72f82
Add missing lib/events.js
15 years ago
Ryan Dahl
c90546f138
Move native js files into binding object
15 years ago