Ryan Dahl
801fb8a614
Better, faster, idle notification
2010-04-05 14:04:14 -07:00
Ryan Dahl
0301adf9b4
In tests, wait for 'listening' before connecting
2010-04-05 11:32:18 -07:00
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.
2010-04-04 22:51:30 -07:00
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.
2010-04-04 21:37:08 -07:00
Ryan Dahl
01f7d4484e
Upgrade to WAF 1.5.15
2010-04-04 21:12:25 -07:00
Ryan Dahl
ec0266a56c
Update libev's clock when starting timers
...
Make the timeouts more accurate. See test/pummel/test-timers.js
2010-04-04 19:33:12 -07:00
Ryan Dahl
b72ffc0e07
Add buffer.copy
2010-04-04 18:59:40 -07:00
Ryan Dahl
cd577d503d
Upgrade V8 to 2.2.0.3
2010-04-04 18:07:32 -07:00
Ryan Dahl
ae805f1057
Emit 'error' on tcp connection DNS error
2010-04-02 16:15:53 -07:00
Ryan Dahl
c0e18f37d4
Don't reference fixtures/multipart.js
2010-04-02 16:02:48 -07:00
Ryan Dahl
94644d743c
Remove multipart library
...
Too messy, unmaintainable. Pull it out of the history if you need it.
2010-04-02 16:01:16 -07:00
Ryan Dahl
53530e981a
Fix test-http-chunked. Need to check for \0 at end of utf8 strings
2010-04-02 14:55:28 -07:00
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.
2010-04-02 13:20:56 -07:00
Ryan Dahl
fdae14070c
Move buffer constants at the top of net.js
...
Remove some cruft.
2010-04-01 16:46:37 -07:00
Ryan Dahl
e232cf3100
Hack to support UTF8 writes again!
2010-04-01 16:24:36 -07:00
Ryan Dahl
3197cf291d
Better flushing
...
Lost Utf8 support. Waiting for http://codereview.chromium.org/1539013
2010-04-01 15:53:48 -07:00
Tim Caswell
7af9cb9e80
Don't put an extra comma after bases in inspect.
...
{ [Function] { [Function]
, more: true => more: true
, more2: true , more2: true
, more3: true , more3: true
, more3: true , more4: true
, more3: true , more5: true
} }
2010-04-01 08:58:19 -07:00
Ryan Dahl
4279725d79
Fix thread flags on Solaris
...
Also on other platforms use -pthread for compiling commands not just
linking because I noticed in the gcc(1) man page
-pthread
Adds support for multithreading with the pthreads library. This
option sets flags for both the preprocessor and linker.
Removing the errno check in deps/coupling because it was a hack
(e165859c2e
) added to fix stdio problems.
Without adding -threads, errno is not thread local, and coupling was not
correctly checking the errno. It appears -mt does nothing to gcc/solaris.
2010-03-31 13:44:36 -07:00
Ryan Dahl
d52f63d9b2
fix whitespcae in deps/coupling
2010-03-31 11:27:57 -07:00
Johan Dahlberg
18de108e4c
Bugfix: watchFile, unwatch, watch causes error
...
Fixed bug that caused application to cast a "TypeError: Cannot call method
'addListener' of undefined" when first watching a file, unwatching and then
watching same file again.
2010-03-31 10:38:25 -07:00
Ryan Dahl
aec80d47bb
Better check for FDs in net2 bindings
2010-03-31 08:20:59 -07:00
Herbert Vojcik
da16128bf6
missing return after forceClose
2010-03-31 08:13:03 -07:00
Herbert Vojcik
9e97e185ad
EAI_NODATA deprecated, patch to use EAI_NONAME if missing (it is in FreeBSD)
2010-03-31 08:12:35 -07:00
Ryan Dahl
52b295400d
Revert "Upgrade V8 to 2.2.0"
...
Experiencing strange errors on all platforms due to this commit. EG
http://buildbot.nodejs.org:8010/builders/Linux%20AMD64/builds/107/steps/shell_2/logs/stdio
This reverts commit 40ea061c30
.
2010-03-29 16:42:39 -07:00
Matt Ranney
7c77a56b4a
Improve documentation.
2010-03-29 11:23:27 -07:00
Ryan Dahl
40ea061c30
Upgrade V8 to 2.2.0
2010-03-29 01:04:53 -07:00
Ryan Dahl
d1b78c3f5d
More efficient Stream.write
2010-03-27 14:07:43 -07:00
Ryan Dahl
aa6a785286
Add note about where to find ronn
2010-03-26 19:32:19 -07:00
Tim Caswell
179f718d62
Conversion to markdown based API docs.
...
With help from Matt Ranney <mjr@ranney.com>
2010-03-26 18:28:40 -07:00
Ryan Dahl
6ecdeada49
Remove -Werror on V8 -_-
2010-03-26 09:58:21 -07:00
Ryan Dahl
6192b8659a
Upgrade V8 to 2.1.10
2010-03-26 09:09:40 -07:00
Ryan Dahl
bb00fef3cd
Change Buffer.toString to conform to CommonJS Binary/F
...
Also add Buffer.inspect
2010-03-26 08:36:08 -07:00
Ryan Dahl
7ed80451ca
Increase pool.used before making 'data' event
2010-03-26 08:35:12 -07:00
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