Matt Robenolt
5213c39038
Close #1930 Convenience methods for zlib
...
This is a combination of 20 commits. Their commit messages are preserved
below for the benefit of future generations.
* Adding a shortcut to easily compress/decompress a string of text.
* Making the API consistent. unzip should accept a Buffer for input as well.
* Adding docs.
* Oops, typo.
* Propagate error through the callback.
* Adding zlib from string tests.
* Typo in test.
* Remove 'end' listeners, and join buffers properly instead of joining them
as a string.
* Oops, needs to be rendered to a string.
* Updated test to include multi-byte characters.
* unzip should return a raw Buffer. Updated docs to reflect.
* And finally updating test.
* EventEmitter.destroy() is a bit more customary
* Revert "EventEmitter.destroy() is a bit more customary"
* Renaming internal methods to "buffer" instead of string.
* Remove the 'error' listeners as well.
* @isaacs: spacing/style, and compress duplicate functions into one
* @isaacs: Update docs
* @isaacs: doc style fix
2011-11-04 10:32:57 -07:00
Fedor Indutny
8ef2c13d6c
fix debugger-repl test
2011-11-04 18:00:18 +01:00
Fedor Indutny
b5d32d4a9e
debugger: do not request continue
on connection
...
* Updated test
* Use `node debug file`, not `node debug -e "..."` in test
2011-11-04 17:50:46 +01:00
Bert Belder
829735e738
Implement process._debugProcess
2011-11-04 17:50:28 +01:00
Bert Belder
35f4182cee
Make error reporting from node::DLOpen more consistent
2011-11-04 16:24:35 +01:00
Bert Belder
6ee73a2fee
Windows: ErrnoException shouldn't mix up crt and win32 errors
2011-11-04 16:24:35 +01:00
Bert Belder
189dd8f803
Fix line endings and trailing whitespace
2011-11-04 16:24:34 +01:00
Jordan Sissel
358f0ce96b
url: add '.' '+' and '-' in url protocol
...
- Based on BNF from RFC 1738 section 5.
- Added tests to cover svn+ssh and some other examples
2011-11-04 13:36:06 +01:00
Ben Noordhuis
5fd012e67a
fs: don't use octal values, not allowed in strict mode
2011-11-04 13:10:07 +01:00
Ben Noordhuis
8974ba31a3
test: fix simple/net-pipe-connect-errors
...
When trying to connect to something that is not a UNIX socket, Linux returns
ECONNREFUSED, not ENOTSOCK.
We cannot atomically determine if the other end is a) a stale socket, or b) not
a socket at all, so let's accept both error codes.
2011-11-04 05:30:00 +01:00
Ryan Dahl
cf78d04ae2
Upgrade libuv to 9c7ed0d
...
Fixes test-net-pipe-connect-errors.js on UNIX.
See #2001 .
2011-11-03 16:33:54 -07:00
Fedor Indutny
b904a078d8
report debugger's test errors
2011-11-03 14:11:14 -07:00
Ryan Dahl
a936768890
stdout and stderr are blocking when referring to regular files
...
Fixes message tests.
2011-11-03 13:27:33 -07:00
Ryan Dahl
4a8088a603
Socket.write should reset timeout timer.
...
Fixes #2002 .
2011-11-03 12:37:04 -07:00
Ben Noordhuis
9c11e8a1ca
net: implement Server.prototype.address() for pipes
2011-11-03 19:16:10 +01:00
Maciej Małecki
481c17504d
test error codes related to pipes
...
This tests passes on node v0.4, but fails on node v0.5. v0.5 seems to
generally lack error codes for various error events related to UNIX
pipes.
Fixes #2001
2011-11-03 10:54:00 -07:00
Ryan Dahl
2dd68af334
Remove -Werror from V8 build
2011-11-03 10:46:16 -07:00
Ryan Dahl
0e9c1ca673
Downgrade V8 to 3.6.4
2011-11-03 10:34:22 -07:00
koichik
a6dbe0ff23
docs: make fs.mkdir()'s mode argument an option.
2011-11-03 20:04:22 +09:00
Ben Noordhuis
11d68eb3fc
fs: make mkdir() default to 0777 permissions
...
Fixes #1999 .
2011-11-03 09:37:23 +01:00
Ben Noordhuis
52eaac4382
uv: upgrade to 0fb3769
2011-11-03 03:25:11 +01:00
Ben Noordhuis
818f0cba55
v8: fix freebsd build, implement VirtualMemory class
2011-11-03 03:23:59 +01:00
Igor Zinkovsky
434ccd2e20
fix process.uptime() on windows
2011-11-02 18:27:43 -07:00
Igor Zinkovsky
24a69d22a0
process.kill to use uv_kill
2011-11-02 17:34:17 -07:00
Ben Noordhuis
359a65a6db
http: emit Error object after .abort()
...
It was emitting the net.Socket object due to misuse of the arguments object.
Fixes #1399 .
2011-11-03 01:30:03 +01:00
Igor Zinkovsky
143aeb9ea7
upgrade libuv to e1bee05ecdbffbe9de37830530ad2ae2f1fb41c8
2011-11-02 16:51:26 -07:00
Ryan Dahl
850609ea2d
Remove separation of libuv tests
2011-11-02 16:38:59 -07:00
Ben Noordhuis
1ba834bd3f
docs: http: link to relevant net.Socket methods
2011-11-03 00:22:02 +01:00
Fedor Indutny
9ad27f7853
ignore undefined messages in the debugger repl
...
fixes #1995
2011-11-02 15:55:36 -07:00
Ben Noordhuis
c8646e0c41
test: add ChildProcess.prototype.killed test case
2011-11-02 18:37:34 +01:00
Maciej Małecki
6bd0bcd5af
child_process: in a new ChildProcess
set killed
to false
...
This behavior is consistent with what v0.4 does.
2011-11-02 18:17:51 +01:00
Ryan Dahl
60818b957c
Add missing copyright headers
2011-11-02 10:00:57 -07:00
Ben Noordhuis
672b453a76
docs: http: fix docs for the 'close' event
2011-11-02 17:28:46 +01:00
Ben Noordhuis
edea4122b1
Revert "Upgrade V8 to 3.7.1"
...
This reverts commit 92f5a5d3ca
.
V8 3.7.1 in debug mode on ia32 has a curious race-like bug where an fs.Stats
object is not fully formed until some time after it's created. This is easy
to demonstrate by running `make test-debug`.
V8 3.7.0 does not exhibit this behaviour so back we go.
Fixes #1981 .
2011-11-02 16:58:35 +01:00
Igor Zinkovsky
cc92234068
fix pummel/test-net-throttle on windows
2011-11-01 16:44:08 -07:00
Maciej Małecki
fc61134b1a
doc: fix links
...
Changes:
* 'http://github.com ' => 'https://github.com '
* 'https://github.com/ry/node ' => 'https://github.com/joyent/node '
* 'https://github.com/ry/http-parser ' =>
'https://github.com/joyent/http-parser '
* old issue links
* wiki link
2011-11-01 22:26:52 +01:00
Igor Zinkovsky
3060266ff1
windows: enable pending accepts knob
2011-11-01 14:14:52 -07:00
Ben Noordhuis
21b64dc7c9
uv: upgrade to 90b0b7d
2011-11-01 22:11:58 +01:00
Ben Noordhuis
37bb37d151
os: rename getNetworkInterfaces() to networkInterfaces()
2011-11-01 18:10:06 +01:00
Maciej Małecki
b4afe605f4
node: remove process.compile
...
It was deprecated before v0.4.
2011-11-01 17:45:21 +01:00
Ben Noordhuis
362b5a6c40
process: fix process.nextTick() error case regression
...
Patch and test by Koichi Kobayashi.
2011-11-01 16:30:43 +01:00
koichik
f5a01d1764
test: fix test/message/undefined_reference_in_new_context.js
...
after 4d4900f
, stack trace was changed.
2011-11-01 19:30:19 +09:00
isaacs
06190928c0
doc: Correct blatantly wrong futimes documentation
2011-10-31 16:31:59 -07:00
Ben Noordhuis
4d4900fc65
process: optimize process.nextTick()
...
33% performance boost on large nextTick queues.
2011-10-31 22:31:14 +01:00
Ben Noordhuis
5fee1ff7bc
bench: add process.nextTick() benchmark
2011-10-31 22:02:46 +01:00
koichik
f53d092a2a
tls, https: add passphrase option
...
Fixes #1925 .
2011-10-31 17:36:43 +09:00
Ben Noordhuis
b6c582a3a3
docs: tty: remove tty.open() documentation
2011-10-30 21:22:46 +01:00
Ben Noordhuis
a1fa3efd2b
core: fix off-by-one error in node::DLOpen()
...
Fixes loading of modules that use the NODE_MODULE macro on POSIX platforms.
2011-10-30 17:35:08 +01:00
Ben Noordhuis
26874e2e07
docs: addons: fix example
2011-10-30 17:15:10 +01:00
koichik
8a729270c1
fix for --harmony_block_scoping
...
Fixes #1969 .
2011-10-31 00:49:20 +09:00