platform/upstream/nodejs.git
12 years agoRevert "punycode: Update to v1.0.0"
koichik [Tue, 5 Jun 2012 13:10:37 +0000 (22:10 +0900)]
Revert "punycode: Update to v1.0.0"

This reverts commit 483edbdf1aef40c208f6c96efbbcc3c34122e5f2.
Fixes #3359.

12 years agowebsite: Add nodejs.es to localized sites
isaacs [Fri, 1 Jun 2012 17:20:56 +0000 (10:20 -0700)]
website: Add nodejs.es to localized sites

12 years agodoc: remove all references to setsid
Erwin van der Koogh [Thu, 31 May 2012 12:11:12 +0000 (14:11 +0200)]
doc: remove all references to setsid

Fixes #2299.

12 years agofs: no end emit after createReadStream.pause()
Andreas Madsen [Sat, 26 May 2012 13:28:35 +0000 (15:28 +0200)]
fs: no end emit after createReadStream.pause()

In case a fd option is given to fs.createReadStream a read will instantly
happen. But in the edge case where fd point to an empty file and .pause()
was executed instantly, the end event would emit since no async wait was
between fs.createReadStream and the file read there emits end.

This is a cherry-pick of commit 1f3e4a7 into the v0.6 branch.

12 years agobench: start a worker for each CPU
Ben Noordhuis [Fri, 11 May 2012 17:35:03 +0000 (19:35 +0200)]
bench: start a worker for each CPU

12 years agobench: add http_simple_auto benchmark
Ben Noordhuis [Tue, 6 Mar 2012 17:11:50 +0000 (18:11 +0100)]
bench: add http_simple_auto benchmark

Starts a server and benchmarks it with ab.

12 years agovm: cleanup module memory leakage
Marcel Laverdet [Wed, 11 Apr 2012 00:27:38 +0000 (19:27 -0500)]
vm: cleanup module memory leakage

There are some paths here that led to dangling contexts. By being smarter with
handle management we can get rid of all the cleanup code and fix those issues.

This is a backport of commit 7063575.

12 years agoNow working on 0.6.19
isaacs [Tue, 15 May 2012 17:21:57 +0000 (10:21 -0700)]
Now working on 0.6.19

12 years agoMerge branch 'v0.6.18-release' into v0.6
isaacs [Tue, 15 May 2012 17:21:40 +0000 (10:21 -0700)]
Merge branch 'v0.6.18-release' into v0.6

12 years ago2012.05.15 Version 0.6.18 (stable) v0.6.18
isaacs [Mon, 14 May 2012 23:12:15 +0000 (16:12 -0700)]
2012.05.15 Version 0.6.18 (stable)

* windows: skip GetFileAttributes call when opening a file (Bert Belder)

* crypto: add PKCS12/PFX support (Sambasiva Suda)

* #3240: child_process: delete NODE_CHANNEL_FD from env in spawn (Ben Noordhuis)

* windows: add test for path.normalize with UNC paths (Bert Belder)

* windows: make path.normalize convert all slashes to backslashes (Bert Belder)

* fs: Automatically close FSWatcher on error (Bert Belder)

* #3258: fs.ReadStream.pause() emits duplicate data event (koichik)

* pipe_wrap: don't assert() on pipe accept errors (Ben Noordhuis)

* Better exception output for module load and process.nextTick (Felix Geisendörfer)

* zlib: fix error reporting (Ben Noordhuis)

* http: Don't destroy on timeout (isaacs)

* #3231: http: Don't try to emit error on a null'ed req object (isaacs)

* #3236: http: Refactor ClientRequest.onSocket (isaacs)

12 years agoEscape leading # signs in 'make email.md'
isaacs [Mon, 14 May 2012 23:14:12 +0000 (16:14 -0700)]
Escape leading # signs in 'make email.md'

12 years agoGuard against emitting 'end' twice on http responses
isaacs [Tue, 15 May 2012 00:21:20 +0000 (17:21 -0700)]
Guard against emitting 'end' twice on http responses

12 years agoUpgrade libuv to bc4126b
isaacs [Mon, 14 May 2012 19:01:38 +0000 (12:01 -0700)]
Upgrade libuv to bc4126b

12 years agotest: add https + .pfx client/server test
Ben Noordhuis [Mon, 14 May 2012 15:34:33 +0000 (17:34 +0200)]
test: add https + .pfx client/server test

12 years agocrypto: add PKCS12/PFX support
ssuda [Sun, 13 May 2012 19:38:23 +0000 (01:08 +0530)]
crypto: add PKCS12/PFX support

Fixes #2845.

12 years agonode: delete NODE_CHANNEL_FD from env
Ben Noordhuis [Mon, 14 May 2012 05:14:18 +0000 (07:14 +0200)]
node: delete NODE_CHANNEL_FD from env

Prevents accidental inheritance by child processes. If the child process is a
node process, it would try to set up a channel with the parent and consequently
never quit because the channel kept the event loop alive.

Fixes #3240.

12 years agoWindows: add test for path.normalize with UNC paths
Bert Belder [Sun, 13 May 2012 01:29:44 +0000 (03:29 +0200)]
Windows: add test for path.normalize with UNC paths

12 years agoWindows: make path.normalize convert all slashes to backslashes
Bert Belder [Sun, 13 May 2012 01:18:09 +0000 (03:18 +0200)]
Windows: make path.normalize convert all slashes to backslashes

Closes #3066

12 years agoAutomatically close FSWatcher on error
Bert Belder [Sat, 12 May 2012 17:37:33 +0000 (19:37 +0200)]
Automatically close FSWatcher on error

Closes #3250

12 years agofs: fix ReadStream.pause() emits duplicate data event
koichik [Sat, 12 May 2012 01:24:46 +0000 (10:24 +0900)]
fs: fix ReadStream.pause() emits duplicate data event

Fixes #3258.

12 years ago500 is a magic number for the GC for some reason
isaacs [Fri, 11 May 2012 00:55:54 +0000 (17:55 -0700)]
500 is a magic number for the GC for some reason

12 years agoBreak up huge function in ClientRequest.onSocket
isaacs [Fri, 11 May 2012 00:55:28 +0000 (17:55 -0700)]
Break up huge function in ClientRequest.onSocket

12 years agobuild: fix cross-compiling
Ben Noordhuis [Fri, 11 May 2012 01:09:51 +0000 (03:09 +0200)]
build: fix cross-compiling

Take arch cflags in account when building libuv.

12 years agodoc: fix typo in buffer documentation
Shigeki Ohtsu [Fri, 11 May 2012 10:07:08 +0000 (19:07 +0900)]
doc: fix typo in buffer documentation

Fixes #3253.

12 years agoRuntime_NotifyDeoptimized should search for function activation in all thread stacks.
vegorov@chromium.org [Wed, 12 Oct 2011 10:35:42 +0000 (10:35 +0000)]
Runtime_NotifyDeoptimized should search for function activation in all thread stacks.

R=fschneider@chromium.org
BUG=v8:1763

Review URL: http://codereview.chromium.org/8240004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@9588 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agodoc: fs.ReadableStream does not have a destroySoon method
Philip Tellis [Wed, 9 May 2012 20:39:27 +0000 (16:39 -0400)]
doc: fs.ReadableStream does not have a destroySoon method

12 years agopipe_wrap: don't assert() on pipe accept errors
Ben Noordhuis [Wed, 9 May 2012 21:11:14 +0000 (23:11 +0200)]
pipe_wrap: don't assert() on pipe accept errors

Pass errors to the onconnection callback.

12 years agoFix exception output for module load exceptions
Felix Geisendörfer [Tue, 8 May 2012 20:02:28 +0000 (22:02 +0200)]
Fix exception output for module load exceptions

So instead of:

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^

You will now see:

path/to/foo.js:1
throw new Error('bar');
      ^

This is a sub-set of isaacs patch here:

https://github.com/joyent/node/issues/3235

The difference is that this patch purely adresses the exception output,
but does not try to make any behavior changes / improvements.

12 years agoFix process.nextTick throw call sites
Felix Geisendörfer [Tue, 8 May 2012 14:07:14 +0000 (16:07 +0200)]
Fix process.nextTick throw call sites

This patch now reports the proper throw call site for exceptions
triggered within process.nextTick. So instead of this:

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^

You will now see:

mydir/myscript.js:15
  throw new Error('My Error');
          ^

From my testing this patch causes no performance regressions, but does
greatly simplify processing the nextTickQueue.

12 years agozlib: fix error reporting
Ben Noordhuis [Mon, 7 May 2012 15:04:56 +0000 (17:04 +0200)]
zlib: fix error reporting

This commit is a back-port of the changes on the master branch.

Fixes #3230.

12 years agoDon't destroy on timeout
isaacs [Mon, 7 May 2012 21:19:16 +0000 (14:19 -0700)]
Don't destroy on timeout

12 years agoFix #3231. Don't try to emit error on a null'ed req object
isaacs [Mon, 7 May 2012 21:17:17 +0000 (14:17 -0700)]
Fix #3231. Don't try to emit error on a null'ed req object

12 years agotest: add failing HTTP client timeout test
Ben Noordhuis [Mon, 7 May 2012 20:49:10 +0000 (22:49 +0200)]
test: add failing HTTP client timeout test

See #3231.

12 years agotest: No need for weak in 'make test'
isaacs [Sat, 5 May 2012 01:29:56 +0000 (18:29 -0700)]
test: No need for weak in 'make test'

12 years agoNow working on 0.6.18
isaacs [Fri, 4 May 2012 20:34:33 +0000 (13:34 -0700)]
Now working on 0.6.18

12 years agoMerge branch 'v0.6.17-release' into v0.6
isaacs [Fri, 4 May 2012 20:34:08 +0000 (13:34 -0700)]
Merge branch 'v0.6.17-release' into v0.6

12 years ago2012.05.04 Version 0.6.17 (stable) v0.6.17
isaacs [Fri, 4 May 2012 18:21:08 +0000 (11:21 -0700)]
2012.05.04 Version 0.6.17 (stable)

* Upgrade npm to 1.1.21

* uv: Add support for EROFS errors (Ben Noordhuis, Maciej Małecki)

* uv: Add support for EIO and ENOSPC errors (Fedor Indutny)

* windows: Add support for EXDEV errors (Bert Belder)

* http: Fix client memory leaks (isaacs, Vincent Voyer)

* fs: fix file descriptor leak in sync functions (Ben Noordhuis)

* fs: fix ReadStream / WriteStream double close bug (Ben Noordhuis)

12 years agotest: Run weak install with --unsafe-perm
isaacs [Fri, 4 May 2012 19:51:37 +0000 (12:51 -0700)]
test: Run weak install with --unsafe-perm

This way it doesn't die when running as root.

12 years agoUpgrade npm to 1.1.21
isaacs [Fri, 4 May 2012 18:06:35 +0000 (11:06 -0700)]
Upgrade npm to 1.1.21

12 years agoUpgrade uv to 936795a2c
isaacs [Fri, 4 May 2012 18:00:39 +0000 (11:00 -0700)]
Upgrade uv to 936795a2c

12 years agoUpdate Authors
isaacs [Fri, 4 May 2012 17:57:33 +0000 (10:57 -0700)]
Update Authors

12 years agoMerge branch 'http-memleak' into v0.6
isaacs [Fri, 4 May 2012 17:54:24 +0000 (10:54 -0700)]
Merge branch 'http-memleak' into v0.6

12 years agohttp: Clean up parser usage
isaacs [Fri, 4 May 2012 17:40:27 +0000 (10:40 -0700)]
http: Clean up parser usage

Move parsers.free(parser) to a single function, which also
nulls all of the various references we hang on them.

Also, move the parser.on* methods out of the closure, so that
there's one shared definition of each, instead of re-defining
for each parser in a spot where they can close over references
to other request-specific objects.

12 years agoClean up gc tests
isaacs [Fri, 4 May 2012 17:32:42 +0000 (10:32 -0700)]
Clean up gc tests

This fixes the additional issues brought up in #3179.

12 years agodoc: fix callback argument of child_process.exec, execFile
ANDO Takahiro [Tue, 1 May 2012 02:41:29 +0000 (11:41 +0900)]
doc: fix callback argument of child_process.exec, execFile

Fixes #3196.

12 years agohttp: .once() usage in setTimeout
isaacs [Thu, 3 May 2012 17:39:16 +0000 (10:39 -0700)]
http: .once() usage in setTimeout

12 years agoTests for memory leaks
isaacs [Thu, 3 May 2012 17:16:25 +0000 (10:16 -0700)]
Tests for memory leaks

12 years agohttp leak: Null links from parser to req/res
isaacs [Thu, 3 May 2012 17:20:20 +0000 (10:20 -0700)]
http leak: Null links from parser to req/res

12 years agoFix #3179 HTTP memory leak using ClientRequest.
vvo [Thu, 26 Apr 2012 23:02:10 +0000 (01:02 +0200)]
Fix #3179 HTTP memory leak using ClientRequest.

12 years agofs: fix file descriptor leak in sync functions
Ben Noordhuis [Wed, 2 May 2012 23:03:08 +0000 (01:03 +0200)]
fs: fix file descriptor leak in sync functions

Fixes #3202. This is a back-port of commit 4e290e4.

12 years agofs: fix ReadStream / WriteStream double close bug
Ben Noordhuis [Wed, 2 May 2012 02:24:38 +0000 (04:24 +0200)]
fs: fix ReadStream / WriteStream double close bug

* Calling fs.ReadStream.destroy() or fs.WriteStream.destroy() twice would close
  the file descriptor twice. That's bad because the file descriptor may have
  been repurposed in the mean time.

* A bad value check in fs.ReadStream.prototype.destroy() would prevent a stream
  created with fs.createReadStream({fd:0}) from getting closed.

12 years agohttp client: Destroy on timeout
isaacs [Wed, 2 May 2012 19:13:54 +0000 (12:13 -0700)]
http client: Destroy on timeout

12 years agohttp: Remove socket ondata/onend in parser cleanup
isaacs [Tue, 1 May 2012 22:25:59 +0000 (15:25 -0700)]
http: Remove socket ondata/onend in parser cleanup

12 years agoNull references to request object on socket errors.
isaacs [Tue, 1 May 2012 21:26:18 +0000 (14:26 -0700)]
Null references to request object on socket errors.

Regarding #3199 and #3179 and issues seen in production.
Hopefully this fixes them.

12 years agoNow working on 0.6.17
isaacs [Tue, 1 May 2012 20:31:26 +0000 (13:31 -0700)]
Now working on 0.6.17

12 years agoMerge branch 'v0.6.16-release' into v0.6
isaacs [Mon, 30 Apr 2012 20:15:40 +0000 (13:15 -0700)]
Merge branch 'v0.6.16-release' into v0.6

12 years ago2012.04.30 Version 0.6.16 (stable) v0.6.16
isaacs [Fri, 27 Apr 2012 21:33:15 +0000 (14:33 -0700)]
2012.04.30 Version 0.6.16 (stable)

* Upgrade V8 to 3.6.6.25

* Upgrade npm to 1.1.19

* Windows: add mappings for UV_ENOENT (Bert Belder)

* linux: add IN_MOVE_SELF to inotify event mask (Ben Noordhuis)

* unix: call pipe handle connection cb on accept() error (Ben Noordhuis)

* unix: handle EWOULDBLOCK (Ben Noordhuis)

* map EWOULDBLOCK to UV_EAGAIN (Ben Noordhuis)

* Map ENOMEM to UV_ENOMEM (isaacs)

* Child process: support the `gid` and `uid` options (Bert Belder)

* test: cluster: add worker death event test (Ben Noordhuis)

* typo in node_http_parser (isaacs)

* http_parser: Eat CRLF between requests, even on connection:close. (Ben Noordhuis)

* don't check return value of unsetenv (Ben Noordhuis)

12 years agoFix #3194 correct url documentation
isaacs [Mon, 30 Apr 2012 17:30:05 +0000 (10:30 -0700)]
Fix #3194 correct url documentation

12 years agoIndentation fix
isaacs [Mon, 30 Apr 2012 15:37:53 +0000 (08:37 -0700)]
Indentation fix

12 years agoUpgrade npm to 1.1.18
isaacs [Fri, 27 Apr 2012 22:01:31 +0000 (15:01 -0700)]
Upgrade npm to 1.1.18

12 years agoprocess: don't use strdup()
ssuda [Tue, 20 Mar 2012 15:39:49 +0000 (21:09 +0530)]
process: don't use strdup()

file and cwd can be directly used from Utf8Value.

Conflicts:

src/process_wrap.cc

12 years agoprocess_wrap: avoid leaking memory when throwing due to invalid arguments
Bert Belder [Sat, 28 Apr 2012 21:36:47 +0000 (23:36 +0200)]
process_wrap: avoid leaking memory when throwing due to invalid arguments

12 years agoChild process: support the `gid` and `uid` options
Bert Belder [Fri, 27 Apr 2012 20:13:00 +0000 (22:13 +0200)]
Child process: support the `gid` and `uid` options

12 years agoWindows: turn off /Gm
Bert Belder [Fri, 27 Apr 2012 20:06:12 +0000 (22:06 +0200)]
Windows: turn off /Gm

Otherwise multicode compile doesn't work.

12 years agouv: upgrade to d41cc9118d
Bert Belder [Fri, 27 Apr 2012 20:00:44 +0000 (22:00 +0200)]
uv: upgrade to d41cc9118d

12 years agouv: upgrade to aea5db5da1
Bert Belder [Fri, 27 Apr 2012 19:28:56 +0000 (21:28 +0200)]
uv: upgrade to aea5db5da1

12 years agoAdd customary 'fork me on github' banner to website
isaacs [Fri, 27 Apr 2012 14:58:38 +0000 (07:58 -0700)]
Add customary 'fork me on github' banner to website

12 years agotest: cluster: add worker death event test
Ben Noordhuis [Mon, 23 Apr 2012 13:58:32 +0000 (15:58 +0200)]
test: cluster: add worker death event test

12 years agodoc: typo in child_process documentation
isaacs [Fri, 20 Apr 2012 14:46:36 +0000 (07:46 -0700)]
doc: typo in child_process documentation

12 years agodocs: Remove duplicate socket.write() description
Brian White [Fri, 20 Apr 2012 06:57:14 +0000 (02:57 -0400)]
docs: Remove duplicate socket.write() description

12 years agotypo in node_http_parser
isaacs [Wed, 18 Apr 2012 02:24:28 +0000 (19:24 -0700)]
typo in node_http_parser

12 years agodeps: fix v8 build error
Dane Springmeyer [Wed, 18 Apr 2012 17:32:02 +0000 (10:32 -0700)]
deps: fix v8 build error

Pull in build error fix from http://code.google.com/p/v8/source/detail?r=9505
Missed in 5d69bbfbd.

12 years agoFix bug in x64 RegExp detecting start of string.
lrn@chromium.org [Mon, 3 Oct 2011 10:31:01 +0000 (10:31 +0000)]
Fix bug in x64 RegExp detecting start of string.

Also add missing MIPS case in regexp tracer.

Fixes issues v8:1748 and v8:1746

BUG=v8:1748, v8:1746
TEST=mjsunit/regress/regress-1748.js

Review URL: http://codereview.chromium.org/8116001

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@9504 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

12 years agodisable omit-frame-pointer on solaris systems
Dave Pacheco [Wed, 8 Feb 2012 00:50:05 +0000 (16:50 -0800)]
disable omit-frame-pointer on solaris systems

12 years agoPatches floating on v8
isaacs [Thu, 2 Feb 2012 23:37:59 +0000 (15:37 -0800)]
Patches floating on v8

12 years agoUpgrade V8 to 3.6.6.25
Bert Belder [Mon, 16 Apr 2012 15:27:16 +0000 (17:27 +0200)]
Upgrade V8 to 3.6.6.25

12 years agonode: don't check return value of unsetenv()
Ben Noordhuis [Sat, 31 Mar 2012 21:23:46 +0000 (23:23 +0200)]
node: don't check return value of unsetenv()

It returns void on some platforms, notably FreeBSD.

12 years agodeps: upgrade http_parser to joyent/http-parser@da91852
Ben Noordhuis [Sat, 14 Apr 2012 21:12:36 +0000 (23:12 +0200)]
deps: upgrade http_parser to joyent/http-parser@da91852

12 years agoFix #3089 Build changelog.html for website
isaacs [Wed, 11 Apr 2012 01:29:25 +0000 (18:29 -0700)]
Fix #3089 Build changelog.html for website

12 years agoMakefile: minor nit
isaacs [Wed, 11 Apr 2012 01:22:42 +0000 (18:22 -0700)]
Makefile: minor nit

12 years agoNow working on v0.6.16
isaacs [Mon, 9 Apr 2012 17:34:54 +0000 (10:34 -0700)]
Now working on v0.6.16

12 years agoMerge branch 'v0.6.15-release' into v0.6
isaacs [Mon, 9 Apr 2012 17:34:32 +0000 (10:34 -0700)]
Merge branch 'v0.6.15-release' into v0.6

12 years ago2012.04.09 Version 0.6.15 (stable) v0.6.15
isaacs [Sat, 7 Apr 2012 23:59:54 +0000 (16:59 -0700)]
2012.04.09 Version 0.6.15 (stable)

* Update npm to 1.1.16

* Show licenses in binary installers.

* unix: add uv_fs_read64, uv_fs_write64 and uv_fs_ftruncate64 (Ben Noordhuis)

* add 64bit offset fs functions (Igor Zinkovsky)

* windows: don't report ENOTSOCK when attempting to bind an udp handle twice (Bert Belder)

* windows: backport pipe-connect-to-file fixes from master (Bert Belder)

* windows: never call fs event callbacks after closing the watcher (Bert Belder)

* fs.readFile: don't make the callback before the fd is closed (Bert Belder)

* windows: use 64bit offsets for uv_fs apis (Igor Zinkovsky)

* Fix #2061: segmentation fault on OS X due to stat size mismatch (Ben Noordhuis)

12 years agofs.WriteStream: Handle modifications to fs.open
isaacs [Mon, 9 Apr 2012 15:39:13 +0000 (08:39 -0700)]
fs.WriteStream: Handle modifications to fs.open

If the fs.open method is modified via AOP-style extension, in between
the creation of an fs.WriteStream and the processing of its action
queue, then the test of whether or not the method === fs.open will fail,
because fs.open has been replaced.

The solution is to save a reference to fs.open on the stream itself when
the action is placed in the queue.

This fixes isaacs/node-graceful-fs#6.

12 years agofs.readFile: Emit 'close' if we don't expect a close later
isaacs [Sat, 7 Apr 2012 23:53:18 +0000 (16:53 -0700)]
fs.readFile: Emit 'close' if we don't expect a close later

This fixes a regression introduced by 40b7302

12 years agoMake rules for release blog post and email message
isaacs [Thu, 29 Mar 2012 23:01:27 +0000 (16:01 -0700)]
Make rules for release blog post and email message

12 years agowebsite: Add October Sky JS and Node.js Hispano
isaacs [Sat, 7 Apr 2012 23:29:37 +0000 (16:29 -0700)]
website: Add October Sky JS and Node.js Hispano

12 years agoRemove stray comment from LICENSE file
isaacs [Sat, 7 Apr 2012 23:20:42 +0000 (16:20 -0700)]
Remove stray comment from LICENSE file

12 years agoWindows: installer shows license agreement dialog
Bert Belder [Wed, 4 Apr 2012 16:06:33 +0000 (18:06 +0200)]
Windows: installer shows license agreement dialog

12 years agoWindows: add build step that generates license.rtf from LICENSE
Bert Belder [Wed, 4 Apr 2012 16:06:00 +0000 (18:06 +0200)]
Windows: add build step that generates license.rtf from LICENSE

12 years agoMac installer shows license
Ryan Dahl [Mon, 2 Apr 2012 22:14:52 +0000 (15:14 -0700)]
Mac installer shows license

ref #3056

12 years agoInclude text of licenses in LICENSE file
Ryan Dahl [Mon, 2 Apr 2012 22:12:23 +0000 (15:12 -0700)]
Include text of licenses in LICENSE file

For easy inclusion in binary distributions. ref #3056

12 years agoFix links to libev and libeio licenses
Ryan Dahl [Mon, 2 Apr 2012 21:36:23 +0000 (14:36 -0700)]
Fix links to libev and libeio licenses

12 years agoUpdate npm to 1.1.16
isaacs [Fri, 6 Apr 2012 21:42:19 +0000 (14:42 -0700)]
Update npm to 1.1.16

12 years agoenable test-fs-largefile.js test
Igor Zinkovsky [Fri, 6 Apr 2012 01:15:10 +0000 (18:15 -0700)]
enable test-fs-largefile.js test

12 years agoPlease the compiler
Bert Belder [Fri, 6 Apr 2012 01:02:23 +0000 (03:02 +0200)]
Please the compiler

12 years agofs.readFile: don't make the callback before the fd is closed
Bert Belder [Fri, 6 Apr 2012 00:54:33 +0000 (02:54 +0200)]
fs.readFile: don't make the callback before the fd is closed

On Windows it is not possible to unlink() the read file in the callback.
This fixes #3051. A test is included.

12 years agoupgrade libuv to d68b3d960b6d95bfc16027cecca2f3fa48bcc36f
Igor Zinkovsky [Fri, 6 Apr 2012 00:10:39 +0000 (17:10 -0700)]
upgrade libuv to d68b3d960b6d95bfc16027cecca2f3fa48bcc36f

12 years agowindows: use 64bit offsets for uv_fs apis
Igor Zinkovsky [Thu, 5 Apr 2012 23:03:11 +0000 (16:03 -0700)]
windows: use 64bit offsets for uv_fs apis

12 years agobuild: define _DARWIN_USE_64_BIT_INODE=1 on OS X
Ben Noordhuis [Mon, 2 Apr 2012 21:44:36 +0000 (23:44 +0200)]
build: define _DARWIN_USE_64_BIT_INODE=1 on OS X

Fixes a segmentation fault on some OS X systems due to sizeof(struct stat)
mismatches.

Fixes #2061.