Ryan Dahl
54d4efd44b
Upgrade http-parser
...
Now at version 6f72c780f0a237a775150a9963bcdf5299685cde
2010-03-22 09:00:43 -07:00
Ryan Dahl
765f0cdece
Fix ChildProcess::Kill
2010-03-22 05:06:13 -07:00
Ryan Dahl
bfdc421dda
Don't kill negative PIDs
...
Fixes issue GH-79.
2010-03-20 03:01:17 -07:00
Ryan Dahl
069099a3e3
Remove old test file
2010-03-19 23:45:28 -07:00
Ryan Dahl
c66a0a739f
recvBuffer -> pool
2010-03-19 23:09:16 -07:00
Ryan Dahl
cc053e7df7
Merge branch 'net2'
...
Expect instability on the master branch for a while.
Problems:
- Documentation is not yet updated
- SSL support is gone! It needs to be redone for net.js. Use 'tcp_old'
and 'http_old' if you need it. I want to use OpenSSL now, talk to me if
you'd like to work on it.
- fs.write() supports Buffers a little. See src/node_file.cc for details
fs.read() not yet. The file streams need to be updated to handle Buffer.
- The Buffer API will probably change.
2010-03-19 21:52:09 -07:00
Ryan Dahl
04001fb591
Don't deprecate readyState, yet
2010-03-19 21:51:07 -07:00
Ryan Dahl
ebe2721cbf
Don't use sys.debug, it gets preprocessed out
...
Problem introduced in b29f78772e
2010-03-19 21:50:11 -07:00
Ryan Dahl
903977d5e8
Merge branch 'master' into net2
...
Conflicts:
test/simple/test-event-emitter-modify-in-emit.js
2010-03-19 21:48:39 -07:00
Ryan Dahl
139c91e892
Support old 'binary' encoding in net.js
2010-03-19 21:25:29 -07:00
Ryan Dahl
663269f687
old tcp module is now tcp_old
2010-03-19 21:22:11 -07:00
Ryan Dahl
618296ef57
bump version
2010-03-19 21:07:03 -07:00
Ryan Dahl
025116f8d0
Move Buffer into own module
2010-03-19 20:58:24 -07:00
Zoka
b29f78772e
Eliminate debug(x) statements from src/node.js and lib/*.js for release build
...
http://groups.google.com/group/nodejs/browse_thread/thread/8f20bcef6d6d96b7
2010-03-19 20:56:03 -07:00
Ryan Dahl
ac684f3583
Add legacy 'binary' encoding/decoding methods to Buffer
2010-03-19 20:33:09 -07:00
Ryan Dahl
b80f6e9ed1
http2 now default
2010-03-19 19:52:09 -07:00
Ryan Dahl
4278f35e89
Add support for Buffer to fs.write
2010-03-19 18:36:22 -07:00
Ryan Dahl
776c3e2b29
Add note about Buffer abstraction
2010-03-19 12:08:57 -07:00
Ryan Dahl
3a993d8897
Buffer.utf8ByteLength -> Buffer.byteLength
2010-03-19 12:02:59 -07:00
Ryan Dahl
3e969f0f74
Random net.js clean ups
2010-03-19 11:46:35 -07:00
Ryan Dahl
0c64768cb4
Don't error out when buffer.utf8Write() doesn't fit
2010-03-19 11:46:09 -07:00
Ryan Dahl
f8c3b6009d
Remove send fd functionality
...
It was broken anyway. It will go into its own class later.
2010-03-19 11:34:26 -07:00
Ryan Dahl
e01464373f
Speed up test-buffer
2010-03-19 11:30:51 -07:00
Ryan Dahl
90295d9fce
[net2] inline write on empty write buffer for performance
2010-03-19 02:24:16 -07:00
Herbert Vojcik
9e8afe9133
DRY loading native module
2010-03-18 22:23:13 -07:00
Ryan Dahl
1762abcece
http2 now passes all tests
2010-03-18 15:49:42 -07:00
Ryan Dahl
916e057fea
Add 'opening' readyState
2010-03-18 14:33:42 -07:00
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.
2010-03-18 14:08:20 -07:00
Ryan Dahl
33d5c46e8c
All tests to use http2
2010-03-18 14:01:17 -07:00
Ryan Dahl
6db43f4c29
net2 HTTPClient work
2010-03-18 13:21:52 -07:00
Scott Taylor
39f0ef9d4a
Remove duplicate shebang filtering
2010-03-18 07:56:54 -07:00
Tim-Smart
df8164c1c3
node.cc: EvalCX: Third argument as filename
2010-03-18 07:51:32 -07:00
Ryan Dahl
1332cafb7c
s/Socket/Stream/g
2010-03-17 16:31:24 -07:00
Ryan Dahl
b865f9e9c8
Merge branch 'master' into net2
2010-03-17 16:24:43 -07:00
Ryan Dahl
2d7e86ef58
Upgrade V8 to 2.1.5
2010-03-17 15:52:57 -07:00
pyrotechnick
8aaffe71ee
Fixing a typo in the fs.readFile example.
2010-03-17 14:44:15 -07:00
Ryan Dahl
04c06b9149
child process now use net.Socket
2010-03-17 14:00:17 -07:00
Krishna Rajendran
84277ea845
Check for callback argument in PTR lookup
2010-03-17 00:46:44 -07:00
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.
2010-03-16 20:09:13 -07:00
Ryan Dahl
217e4b40d4
Check for callback argument in DNS functions
2010-03-16 10:48:14 -07:00
Krishna Rajendran
3c97a4391a
Update test-dns.js to work with latest api
2010-03-16 10:29:43 -07:00
Krishna Rajendran
3847add943
Fix calls to dns bindings in dns.js
2010-03-16 10:29:16 -07:00
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.
2010-03-16 10:27:47 -07:00
Ryan Dahl
953fa3a5f5
Move net2 bindings out of process
2010-03-15 16:44:50 -07:00
Ryan Dahl
5d5c8cf04a
Fix StatWatcher typo
2010-03-15 15:53:44 -07:00
Ryan Dahl
fdf46a65c9
Use streams for stdout and stdin
2010-03-15 15:11:40 -07:00
Ryan Dahl
cbfd4da818
Merge branch 'master' into net2
...
Conflicts:
src/node.cc
2010-03-15 14:34:01 -07:00
Ryan Dahl
6befc72f82
Add missing lib/events.js
2010-03-15 14:25:06 -07:00
Ryan Dahl
c90546f138
Move native js files into binding object
2010-03-15 14:24:15 -07:00
Ryan Dahl
8492c52e15
Use uniform watcher names
2010-03-15 14:24:15 -07:00