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
01f7d4484e
Upgrade to WAF 1.5.15
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
Ryan Dahl
cd577d503d
Upgrade V8 to 2.2.0.3
15 years ago
Ryan Dahl
ae805f1057
Emit 'error' on tcp connection DNS error
15 years ago
Ryan Dahl
c0e18f37d4
Don't reference fixtures/multipart.js
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
fdae14070c
Move buffer constants at the top of net.js
Remove some cruft.
15 years ago
Ryan Dahl
e232cf3100
Hack to support UTF8 writes again!
15 years ago
Ryan Dahl
3197cf291d
Better flushing
Lost Utf8 support. Waiting for http://codereview.chromium.org/1539013
15 years ago
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
} }
15 years ago
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.
15 years ago
Ryan Dahl
d52f63d9b2
fix whitespcae in deps/coupling
15 years ago
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.
15 years ago
Ryan Dahl
aec80d47bb
Better check for FDs in net2 bindings
15 years ago
Herbert Vojcik
da16128bf6
missing return after forceClose
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
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
.
15 years ago
Matt Ranney
7c77a56b4a
Improve documentation.
15 years ago
Ryan Dahl
40ea061c30
Upgrade V8 to 2.2.0
15 years ago
Ryan Dahl
d1b78c3f5d
More efficient Stream.write
15 years ago
Ryan Dahl
aa6a785286
Add note about where to find ronn
15 years ago
Tim Caswell
179f718d62
Conversion to markdown based API docs.
With help from Matt Ranney <mjr@ranney.com>
15 years ago
Ryan Dahl
6ecdeada49
Remove -Werror on V8 -_-
15 years ago
Ryan Dahl
6192b8659a
Upgrade V8 to 2.1.10
15 years ago
Ryan Dahl
bb00fef3cd
Change Buffer.toString to conform to CommonJS Binary/F
Also add Buffer.inspect
15 years ago
Ryan Dahl
7ed80451ca
Increase pool.used before making 'data' event
15 years ago
Ryan Dahl
a49bf8622f
Finish V8 update
15 years ago
Ryan Dahl
48f5f77713
Update to V8 2.1.9.1
15 years ago
Ryan Dahl
6740dd48b3
Change Buffer toString() output
15 years ago
Ryan Dahl
3546106c43
Add req.connection and res.connection
15 years ago
Ryan Dahl
6f21ac1282
Don't free http parser for the client!
Fixes test-http-client-race.js, test-http.js
15 years ago
Ryan Dahl
5c6f063ef2
snake to camel in HTTP
15 years ago
Ryan Dahl
70ffdf5db9
Fix HTTP keep-alive
15 years ago
Ryan Dahl
6b6dcf4aad
Move test-child-process-spawn-loop to pummel/
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
3238944c7a
Don't use sys.puts for debug in net.js
15 years ago
Ryan Dahl
a01d8a0d68
Timer clean ups
Also bugfix getting pointer to C++ class in watcher
15 years ago
Ryan Dahl
b35d72df76
Upgrade V8 to 2.1.7
15 years ago
isaacs
6e603ccbe2
Fix debug statement that was using puts instead of debug()
15 years ago
arlolra
6f84063a3b
Migrates benchmarks to the new api.
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
069099a3e3
Remove old test file
15 years ago