Bert Belder
35e32225d1
Workaround for V8 bug 884
...
See http://code.google.com/p/v8/issues/detail?id=884
2011-02-09 14:53:15 -08:00
isaacs
81b4d45354
Better assert in the node_modules tests
2011-02-09 14:35:08 -08:00
isaacs
46513483cd
node_modules module lookup, +docs and test.
2011-02-09 14:24:22 -08:00
Ryan Dahl
dafd6d9137
TLS: Don't give up if you can't write 0 bytes
2011-02-09 13:27:23 -08:00
Ryan Dahl
a0702b54d1
Upgrade V8 to 3.1.2
2011-02-09 10:24:26 -08:00
Ryan Dahl
a48a075535
better debug messages in net and tls
2011-02-09 10:23:26 -08:00
Ryan Dahl
56ab929c55
Remove unused parameter from crypto::Handle*Error
2011-02-09 01:30:31 -08:00
Bert Belder
8d70294c31
Fix fs.realpathSync on windows
2011-02-08 21:24:30 -08:00
Bert Belder
36846f9b6b
Windows: child process fixes
2011-02-08 21:21:39 -08:00
Ryan Dahl
519dc2c114
tls: split bio errors from ssl errors
2011-02-08 21:15:55 -08:00
isaacs
9bed5dcb2c
Support caching for realpath, use in module load
...
This adds support for a cache object to be passed to the
fs.realpath and fs.realpathSync functions. The Module loader keeps an
object around which caches the resulting realpaths that it looks up in
the process of loading modules.
This means that (at least as a result of loading modules) the same files
and folders are never lstat()ed more than once. To reset the cache, set
require("module")._realpathCache to an empty object. To disable the
caching behavior, set it to null.
2011-02-08 18:02:59 -08:00
Ryan Dahl
9de5043b50
tls: only emit data after 'secure' event
2011-02-08 17:29:33 -08:00
Bert Belder
38d8cd60ea
Don't make unnecessary getcwd calls from path.resolve
2011-02-08 14:30:24 -08:00
Ryan Dahl
6b50a9f5f4
(won't) fix test-next-tick-ordering
2011-02-07 21:15:58 -08:00
Ryan Dahl
448e0f4394
tls fixes
2011-02-07 21:11:43 -08:00
Bert Belder
61af4207da
Fix dns on windows
2011-02-07 15:30:17 -08:00
Ryan Dahl
3ec030535c
stderr should be EventEmitter even if it doesn't emit anything
2011-02-07 15:14:21 -08:00
isaacs
2e6a263e29
Closes GH-609 Support array-ish args to Buffer ctor
...
Any array-ish thing (whether a Buffer, an Array, or just an object with
a numeric "length") is interpreted as a list of bytes.
2011-02-07 14:13:18 -08:00
isaacs
5f2e90934e
Support octal strings for modes
...
This allows the various fs utilities and process.umask to be used in
ECMAScript 5 Strict Mode, where the octal literal format is verboten,
without requiring users to litter their code with a bunch of parseInt
calls.
2011-02-07 14:05:06 -08:00
Ryan Dahl
57fa247f53
Closes GH-645. Document tty.getWindowSize
2011-02-07 13:46:15 -08:00
Konstantin Käfer
9e101f2b01
UCS-2 support
...
Closes GH-644.
2011-02-07 13:35:06 -08:00
Ryan Dahl
bf8f4aa966
Impove fs.WatchFile doc
2011-02-07 13:11:03 -08:00
Russell Haering
e6ede31554
http: fix buffer writes to outgoing messages
2011-02-07 12:59:25 -08:00
Daniel Gröber
71a8a3b78c
cmake fixes
...
Closes GH-640.
2011-02-07 12:52:20 -08:00
Ryan Dahl
a98d0717e8
Remove incorrect doc about node_modules
2011-02-07 12:50:05 -08:00
isaacs
da2f4b2dc4
support for package.json
...
This adds basic support for situations where there is a package.json
with a "main" field. That "main" module is used as the code that is
loaded when the package folder is required.
2011-02-07 11:00:22 -08:00
koichik
45c0faf399
corrected small typos
2011-02-07 10:52:19 -08:00
Mikeal Rogers
2b03ba5917
http: agent takes options instead of host, port pair
2011-02-05 02:35:44 -08:00
Ryan Dahl
0da96cca59
typo
2011-02-04 23:05:25 -08:00
Ryan Dahl
30f24bb2df
Now working on v0.4.0
2011-02-04 19:54:18 -08:00
Ryan Dahl
9493b7563b
Bump version to v0.3.8
2011-02-04 19:35:43 -08:00
Ryan Dahl
4733d0b1f0
http: handle aborts
2011-02-04 18:07:00 -08:00
Ryan Dahl
c783aefb0f
http-parser: Error on EOF errors
2011-02-04 18:07:00 -08:00
Ryan Dahl
e42c74e141
Upgrade http-parser
2011-02-04 18:03:26 -08:00
Bert Belder
f99fc29e62
Fix mingw build
2011-02-04 14:49:50 -08:00
Bert Belder
6329633a3e
Windows: open files in binary mode
2011-02-04 14:43:41 -08:00
Ryan Dahl
aa95e5708f
Expose errno with a string.
2011-02-04 14:41:51 -08:00
Ryan Dahl
1a7830a92a
Fix debug flag in timers.js
2011-02-04 09:00:21 -08:00
Ryan Dahl
c10caca34c
Style
2011-02-03 16:58:05 -08:00
isaacs
2f1f22ab26
module: define functions only once.
2011-02-03 14:23:28 -08:00
Bert Belder
8ee9c53c77
Fix problem with libev/select on windows.
...
Patch by Marc Lehmann.
This fix should be included in the next libev release.
2011-02-03 14:05:51 -08:00
Bert Belder
d8d627e2d4
Revert "Workaround for libev handle caching bug on windows"
...
This reverts commit 25d0e38048
.
2011-02-03 14:05:40 -08:00
Ryan Dahl
bc23ec8d05
Add process.stderr stream
2011-02-03 14:03:44 -08:00
Ryan Dahl
f6e5b8986f
Clean up
2011-02-03 12:28:20 -08:00
Ryan Dahl
97f7c06451
TLS: fix throttling
...
Re-enable test-https-large-response.js
Closes GH-614.
2011-02-03 12:20:19 -08:00
Ryan Dahl
3e58696c07
TLS: Simplify error handling
2011-02-02 15:39:03 -08:00
Ryan Dahl
41b4ec7952
TLS: flush buffer before destroy
...
Also disable test-https-large-response.js. Covered by
test/simple/test-tls-throttle.js
2011-02-02 15:34:21 -08:00
Ryan Dahl
e6f14d6df5
(suck, blow) -> (pull, push)
2011-02-02 14:51:53 -08:00
Ryan Dahl
ee092f62ca
Upgrade V8 to 3.1.1
2011-02-02 11:44:25 -08:00
isaacs
f86ec1366f
Closes GH-619 Make require.main be the main module
2011-02-02 11:18:34 -08:00