Ryan Dahl
08a09bb50a
Use some more Binary/F methods for Buffer
2010-04-08 16:31:02 -07:00
Ryan Dahl
b8bb6e9007
Close child process stdin on SIGCHLD
2010-04-08 15:20:13 -07:00
Ryan Dahl
499c615c9e
Doc changes for new API (part 1)
2010-04-08 15:00:08 -07:00
Felix Geisendörfer
b544185bd8
Fix doc toc for small screens
...
Only make the toc fixed position for big screens.
2010-04-08 14:20:43 -07:00
Felix Geisendörfer
1a9c9b0c55
Bring back the old manual style
...
This brings back the old manual style, including the toc and syntax
highlighting.
2010-04-08 14:20:33 -07:00
Ryan Dahl
50c70ac714
Update stream API: forceClose() -> destroy(), close() -> end()
2010-04-08 12:24:29 -07:00
Ryan Dahl
7faf7d5c8d
Put file stream methods into prototype, small style fixes
2010-04-08 11:26:26 -07:00
Ryan Dahl
3819920d77
Rename binding reference in fs.js
2010-04-08 11:26:26 -07:00
Herbert Vojcik
c16508c87a
Better require.async throw test
2010-04-08 08:17:58 -07:00
isaacs
de9778b5bd
Add line breaks to the code when the user types a line break
2010-04-08 08:12:30 -07:00
Ryan Dahl
7a6b5635eb
Revert "Enable TCP timeout by default"
...
Causing programs to not exit gracefully.
This reverts commit cb84cde4d4 .
2010-04-08 07:19:42 -07:00
Ryan Dahl
62277ab79b
Support both old and new HTTP closing APIs in benchmark program
2010-04-08 01:00:35 -07:00
Ryan Dahl
cb84cde4d4
Enable TCP timeout by default
2010-04-08 00:59:57 -07:00
Ryan Dahl
d923c94a0c
Remove udns
2010-04-07 18:25:37 -07:00
Ryan Dahl
0281e1acf6
Fix benchmark script for testing both old and new version
2010-04-07 16:19:50 -07:00
Ryan Dahl
970e9025fe
Remove debugging statements from dns_cares
2010-04-07 16:09:10 -07:00
Ryan Dahl
33e774eeba
Use c-ares in lib/net.js
2010-04-07 16:05:07 -07:00
Ryan Dahl
8f671041a5
Check for ip address in dns_cares.lookup
2010-04-07 16:04:33 -07:00
Ryan Dahl
f13e2f96e4
Add a simple c-ares test, dns_cares.lookup() for easy resolv
2010-04-07 15:37:08 -07:00
Ryan Dahl
f56ff0de92
Add darwin-x86, linux-x86_64 c-ares headers
2010-04-07 13:39:11 -07:00
Ryan Dahl
9ea8c9f2b0
Clean up c-ares platform includes, add support for a few more
2010-04-07 13:34:40 -07:00
Ryan Dahl
eac3dc9d5f
Bugfix: net.js flushing, _doFlush typo
2010-04-07 11:47:46 -07:00
Herbert Vojcik
d36bb6536e
Better require.async tests
2010-04-07 11:47:45 -07:00
Vanilla Hsu
067f4086b6
add c-ares' freebsd support.
2010-04-07 09:36:35 -07:00
Ryan Dahl
888a494ad8
Update LICENSE file with C-Ares info
2010-04-07 01:45:20 -07:00
Krishna Rajendran
96df65e88e
Make test-dns.js use dns_cares.
2010-04-07 01:29:20 -07:00
Krishna Rajendran
dc1f4ebd44
c-ares based dns module
2010-04-07 01:29:05 -07:00
Ryan Dahl
e9a116fe02
Include c-ares in deps/
2010-04-07 01:17:49 -07:00
Vanilla Hsu
25adb2eb55
[FreeBSD] use /dev/null instead /dev/mem
...
Without this patch, Node needs to setgid kmem when run as normal user.
2010-04-06 22:05:12 -07:00
Ryan Dahl
38041fcaa0
Try out Flatten API
...
Speeds up WriteUtf8 significantly when dealing with strings made by the
concatenation of many others.
2010-04-06 16:15:09 -07:00
Ryan Dahl
ca0038bf2f
Add mising EV_DEFAULT_UC in ev_now()
2010-04-06 15:23:42 -07:00
Vanilla Hsu
d7a4501057
freebsd install execinfo's header to /usr/local, add it to include path.
2010-04-06 10:23:43 -07:00
Ryan Dahl
53dd9fe200
Fix bug in buffer.utf8Write() which included \u0000
2010-04-05 18:10:36 -07:00
isaacs
4befe93a4b
Add ini.stringify functionality, a test, and some TODOs in ini.js
2010-04-05 17:05:35 -07:00
Ryan Dahl
1b758ef268
Allow stream to write on close
2010-04-05 16:50:05 -07:00
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