Commit Graph

3849 Commits (8527f00c3c2beca11fe0c25048920ec50d177c28)

Author SHA1 Message Date
isaacs 7f0047c2d5 Close #1348 Remove require.paths
Module.globalPaths is still set to a read-only copy of the global
include paths pulled off of the NODE_PATH environment variable.

It's important to be able to inspect this, but modifying it no longer
has any effect.
2011-07-15 15:11:33 -07:00
isaacs ebc4d5cd29 Remove duplicate docs about main module 2011-07-15 15:11:32 -07:00
AJ ONeal eb7d762c55 Document that 'Buffer' is a global variable 2011-07-15 23:59:10 +02:00
Ryan Dahl f4154d2940 Add 'make test-uv-debug'
To run: ./configure --debug && make test-uv-debug
2011-07-15 13:52:38 -07:00
Henry Rawas 3a96469319 connect-timeout callbacks after close 2011-07-15 13:43:28 -07:00
Ryan Dahl 130be31cff Upgrade libuv to 1be48f12a0
and bindings for new req interface
2011-07-15 13:41:44 -07:00
Ryan Dahl f5a7de1ea7 windows: fix simple/test-executable-path 2011-07-15 11:05:12 -07:00
Ryan Dahl 48f65b3d57 Use uv_exepath 2011-07-15 10:46:11 -07:00
Wojciech Wnętrzak 25c1a5e804 added information about relative paths in File System module 2011-07-15 09:54:56 -07:00
Wojciech Wnętrzak 9a16f1c7d0 added information about relative paths in File System module 2011-07-15 09:54:20 -07:00
Shigeki Ohtsu 3c733c57b7 ev: define HAVE_SYNC_FILE_RANGE if kernel >= 2.6.17 *and* glibc version >= 2.6 2011-07-15 15:41:28 +02:00
Henry Rawas e70702c620 connect-buffer play back queued write and end 2011-07-14 17:19:07 -07:00
Ryan Dahl 306af25325 Now working on v0.5.2 2011-07-14 16:56:39 -07:00
Ryan Dahl f8bfa54d0f Bump to v0.5.1 2011-07-14 16:10:36 -07:00
Ryan Dahl 041c983290 Merge branch 'v0.4'
Conflicts:
	deps/libev/wscript
	doc/api/modules.markdown
2011-07-14 15:52:08 -07:00
Ryan Dahl ab0d88142e Comment out wsa_get_proto_info(AF_INET6) - not needed - causes warning in Win2k3 2011-07-14 15:34:08 -07:00
Ryan Dahl b5e7b7870a Revert "net_uv: fix localhost resolution - was defaulting to ::1 on OSX"
Breaks test/internet/test-dns.js

This reverts commit 6d8b082eed.
2011-07-14 15:29:21 -07:00
Brian White 612875765d Addons should not -DEV_MULTIPLICITY=0
Fixes #1229
Fixes #1332
2011-07-14 15:25:19 -07:00
Henry Rawas 77ecc5a41a add working http tests 2011-07-14 15:22:47 -07:00
Ryan Dahl 6d8b082eed net_uv: fix localhost resolution - was defaulting to ::1 on OSX 2011-07-14 14:49:50 -07:00
Ryan Dahl 7a782164b9 Upgrade libuv to f5ff8694 2011-07-14 14:29:24 -07:00
Elijah Insua b722aaa8c5 Close #1303 Stream.pipe returns the destination
Squashed:

* Simple change to make Stream.pipe(destination) return the destination Stream
* Test: ensure Stream.pipe(destination) returns the destination Stream
* updated Stream.pipe() documentation to reflect that it now returns the
  destination stream
2011-07-14 14:25:49 -07:00
isaacs 9b5098f509 Close #1281 Make require a public member of module
Reviewed by @felixge
2011-07-14 14:25:49 -07:00
Henry Rawas 876712a074 test-tcp-wrap dont assume port 80 priveleged' 2011-07-14 14:18:47 -07:00
Henry Rawas a13506b48f net_uv: sockets should be writable during connection 2011-07-14 14:18:17 -07:00
Henry Rawas 8adc6b8921 net_uv: Add maxConnections support 2011-07-14 13:23:08 -07:00
koichik 8caf7fdb05 Add tests for #1085 and #1304
Fixes #1327.
2011-07-15 01:58:43 +09:00
Stefan Rusu 5b02d564c3 Fixes #1085. The agent end event may call detachSocket() after the socket is detached and destroyed by abort(). This patch avoids that behavior. 2011-07-15 00:33:28 +09:00
Stefan Rusu 901ebed8ff Fixes #1304. The Connection instance may be destroyed by abort() when process.nextTick is executed. 2011-07-15 00:32:46 +09:00
Kip Gebhardt 7097eca5a7 Adding documentation for 'agent' option in http.request().
Fixes #1243.
2011-07-14 04:06:46 +09:00
koichik a3e3ad40b1 Fix fs can't handle large file on 64bit platform
fs.read() and fs.write() can't handle more than 2GB files on 64bit platform.
Also fs.truncate() can't handle more than 4GB files.

Fixes #1199.
Fixes #1094.
2011-07-14 02:52:54 +09:00
koichik 5208abe723 Fix Buffer drops last null character in UTF-8
Reproduce:

    $ node
    > buf = new Buffer('\0')
    <Buffer >
    > buf.length
    0
    > buf = new Buffer(1)
    <Buffer 28>
    > buf.write('\0')
    0

Fixes #394.
Fixes #1210.
2011-07-14 02:21:56 +09:00
koichik 5f97c9a005 Improvements AssertionError message
Fixes #217.
2011-07-14 02:08:24 +09:00
koichik 128d1bab2a The Node.JS website should link to whichever ChangeLog will be updated soonest.
Fixes #1316.
2011-07-14 02:00:57 +09:00
koichik 701ae3c995 Document error in console.timeEnd
Fixes #1109.
2011-07-14 00:10:17 +09:00
AJ ONeal 8cc9ac0df2 added explanation of `exports`
Fixes #1075.
2011-07-14 00:08:31 +09:00
koichik d05afa50e6 Doc improvements
Fixes #297.
2011-07-14 00:06:12 +09:00
Henry Rawas 92057554d5 fix socket-timeout. Also fix makefile test list name net-stream 2011-07-13 00:29:26 +02:00
Henry Rawas 9057d3f17e fix isip test 2011-07-12 22:42:09 +02:00
Henry Rawas fad91d16ea test-net-reconnect needs socket connect event 2011-07-12 09:54:40 -07:00
Ryan Dahl 6bcd96c253 Update favicon 2011-07-11 12:24:49 -07:00
Ryan Dahl 360f4b78dd Fix wallpaper links 2011-07-11 08:48:02 -07:00
Ryan Dahl b1c90a4e22 logo update 2011-07-11 08:30:37 -07:00
Ben Noordhuis 09130147cf Tell BSD users to run `gmake` instead. 2011-07-11 14:17:23 +02:00
koichik 7e8735b3fe Doc improvements. Explained the flags of fs.open().
Fixes #1268.
2011-07-09 17:09:26 +09:00
koichik 87b6dc21c8 Doc improvements
moved 'continue' event from http.Agent to http.ClientRequest.
added 'close' event to http.ClientResponse.
added 'open' event to fs.ReadStream.

Fixes #1169.
2011-07-09 13:23:28 +09:00
Ben Noordhuis 13a521e698 Fix off-by-one error in assertion.
Fixes test/simple/test-http-buffer-sanity.js
2011-07-09 03:24:51 +02:00
Henry Rawas dcf6955c10 Fix V8 mingw32 build
Reported to V8
http://code.google.com/p/v8/issues/detail?id=1508
2011-07-08 18:21:29 -07:00
Igor Zinkovsky a58b6439de Statically link in dependencies for node.exe 2011-07-08 17:44:58 -07:00
koichik d38fac2230 Fixes #1260
RegExp object is no longer Function.
http://code.google.com/p/v8/issues/detail?id=617
2011-07-08 17:18:42 -07:00