Commit Graph
1361 Commits
Author SHA1 Message Date
Ryan Dahl a49bf8622f Finish V8 update 2010-03-25 15:01:59 -07:00
Ryan Dahl 48f5f77713 Update to V8 2.1.9.1 2010-03-25 09:53:58 -07:00
Ryan Dahl 6740dd48b3 Change Buffer toString() output 2010-03-25 09:50:49 -07:00
Ryan Dahl 3546106c43 Add req.connection and res.connection 2010-03-24 07:21:00 -07:00
Ryan Dahl 6f21ac1282 Don't free http parser for the client!
Fixes test-http-client-race.js, test-http.js
2010-03-23 21:41:42 -07:00
Ryan Dahl 5c6f063ef2 snake to camel in HTTP 2010-03-23 21:31:44 -07:00
Ryan Dahl 70ffdf5db9 Fix HTTP keep-alive 2010-03-23 21:10:01 -07:00
Ryan Dahl 6b6dcf4aad Move test-child-process-spawn-loop to pummel/ 2010-03-23 21:02:30 -07:00
Ryan Dahl 218d7e9f2d Clean up NODE_DEBUG detection
It wasn't detecting if NODE_DEBUG=0
2010-03-23 20:56:51 -07:00
Ryan Dahl 8e9ec4abea Fix idle timeouts
Remove process.now because it doesn't provide enough precision.
2010-03-23 20:54:19 -07:00
Ryan Dahl 3238944c7a Don't use sys.puts for debug in net.js 2010-03-23 18:10:13 -07:00
Ryan Dahl a01d8a0d68 Timer clean ups
Also bugfix getting pointer to C++ class in watcher
2010-03-23 17:28:26 -07:00
Ryan Dahl b35d72df76 Upgrade V8 to 2.1.7 2010-03-23 15:19:32 -07:00
isaacs 6e603ccbe2 Fix debug statement that was using puts instead of debug() 2010-03-23 08:54:05 -07:00
arlolra 6f84063a3b Migrates benchmarks to the new api. 2010-03-23 08:13:17 -07:00
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 v0.1.33 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