Commit Graph

5345 Commits (ebd0f98e2bde2b8d345d1a0eedfd621f70cf00fa)

Author SHA1 Message Date
ANDO Takahiro ebd0f98e2b doc: fix callback argument of child_process.exec, execFile
Fixes .
2012-05-04 19:15:30 +09:00
Ben Noordhuis df2c5fa81d fs: fix file descriptor leak in sync functions
Fixes . This is a back-port of commit 4e290e4.
2012-05-03 02:49:36 +02:00
Ben Noordhuis 47d6a94656 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.
2012-05-03 01:01:46 +02:00
isaacs acf19500ee Now working on 0.6.17 2012-05-01 13:31:26 -07:00
isaacs 518d28c23a Merge branch 'v0.6.16-release' into v0.6 2012-04-30 13:15:40 -07:00
isaacs a1d193963d 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)
2012-04-30 13:09:50 -07:00
isaacs e5ef103b05 Fix correct url documentation 2012-04-30 13:09:31 -07:00
isaacs 35bcb1d6a9 Indentation fix 2012-04-30 13:09:31 -07:00
isaacs 1ac05cc5ad Upgrade npm to 1.1.18 2012-04-30 13:09:31 -07:00
ssuda db844b152a process: don't use strdup()
file and cwd can be directly used from Utf8Value.

Conflicts:

	src/process_wrap.cc
2012-04-28 23:51:41 +02:00
Bert Belder 3546383cf0 process_wrap: avoid leaking memory when throwing due to invalid arguments 2012-04-28 23:36:47 +02:00
Bert Belder 55e4d54927 Child process: support the `gid` and `uid` options 2012-04-27 22:13:00 +02:00
Bert Belder 51e66ec410 Windows: turn off /Gm
Otherwise multicode compile doesn't work.
2012-04-27 22:06:12 +02:00
Bert Belder 0b75eee364 uv: upgrade to d41cc9118d 2012-04-27 22:00:44 +02:00
Bert Belder e221cd4a53 uv: upgrade to aea5db5da1 2012-04-27 21:28:56 +02:00
isaacs 76de7c0c26 Add customary 'fork me on github' banner to website 2012-04-27 07:58:38 -07:00
Ben Noordhuis a64acd8baa test: cluster: add worker death event test 2012-04-23 15:58:48 +02:00
isaacs 27dfb1d4c0 doc: typo in child_process documentation 2012-04-20 07:46:42 -07:00
Brian White 642945cc00 docs: Remove duplicate socket.write() description 2012-04-20 16:16:17 +02:00
isaacs c9a231db0e typo in node_http_parser 2012-04-18 13:01:33 -07:00
Dane Springmeyer e5b787e84d deps: fix v8 build error
Pull in build error fix from http://code.google.com/p/v8/source/detail?r=9505
Missed in 5d69bbfbd.
2012-04-18 21:15:09 +02:00
lrn@chromium.org 5d69bbfbdb 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
2012-04-16 17:40:17 +02:00
Dave Pacheco 0f74729758 disable omit-frame-pointer on solaris systems 2012-04-16 17:28:45 +02:00
isaacs 0c0f13eda4 Patches floating on v8 2012-04-16 17:28:33 +02:00
Bert Belder 69ca83f755 Upgrade V8 to 3.6.6.25 2012-04-16 17:27:16 +02:00
Ben Noordhuis 3f4261276e node: don't check return value of unsetenv()
It returns void on some platforms, notably FreeBSD.
2012-04-16 14:16:48 +02:00
Ben Noordhuis d03b80bc12 deps: upgrade http_parser to joyent/http-parser@da91852 2012-04-14 23:12:36 +02:00
isaacs 8b82abb953 Fix Build changelog.html for website 2012-04-10 18:31:12 -07:00
isaacs d0365fd21f Makefile: minor nit 2012-04-10 18:22:42 -07:00
isaacs e8067cb685 Now working on v0.6.16 2012-04-09 10:34:54 -07:00
isaacs 163d3cdf14 Merge branch 'v0.6.15-release' into v0.6 2012-04-09 10:34:32 -07:00
isaacs f160a45b25 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 : segmentation fault on OS X due to stat size mismatch (Ben Noordhuis)
2012-04-09 09:03:00 -07:00
isaacs c75f71dd72 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 .
2012-04-09 09:03:00 -07:00
isaacs 45b772d8cb fs.readFile: Emit 'close' if we don't expect a close later
This fixes a regression introduced by 40b7302
2012-04-07 16:53:18 -07:00
isaacs 08e2e570a7 Make rules for release blog post and email message 2012-04-07 16:37:44 -07:00
isaacs 57d722011a website: Add October Sky JS and Node.js Hispano 2012-04-07 16:29:37 -07:00
isaacs e81a5e9c9c Remove stray comment from LICENSE file 2012-04-07 16:20:42 -07:00
Bert Belder ba055115e0 Windows: installer shows license agreement dialog 2012-04-06 16:15:55 -07:00
Bert Belder 1330419446 Windows: add build step that generates license.rtf from LICENSE 2012-04-06 16:15:51 -07:00
Ryan Dahl c9f17305e6 Mac installer shows license
ref 
2012-04-06 16:15:43 -07:00
Ryan Dahl cf75619bc3 Include text of licenses in LICENSE file
For easy inclusion in binary distributions. ref 
2012-04-06 16:15:33 -07:00
Ryan Dahl 331cd7c251 Fix links to libev and libeio licenses 2012-04-06 16:15:24 -07:00
isaacs 37ac5e52bf Update npm to 1.1.16 2012-04-06 14:42:19 -07:00
Igor Zinkovsky 0b57fee3f8 enable test-fs-largefile.js test 2012-04-05 18:18:48 -07:00
Bert Belder 1042a8d887 Please the compiler 2012-04-06 03:14:07 +02:00
Bert Belder 40b7302af8 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 . A test is included.
2012-04-06 03:13:56 +02:00
Igor Zinkovsky f178f2ae3f upgrade libuv to d68b3d960b6d95bfc16027cecca2f3fa48bcc36f 2012-04-05 17:10:39 -07:00
Igor Zinkovsky 052aaa4c4d windows: use 64bit offsets for uv_fs apis 2012-04-05 16:03:11 -07:00
Ben Noordhuis ffee873941 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 .
2012-04-02 23:44:38 +02:00
Nathan Rajlich 0965d2d9f6 js2c: fix to support files other than ones ending with 2 char extensions
Previously this was basically hard-coded for *.js files, but now we
need to include the 'config.gypi' file in there as well.
2012-04-01 01:44:54 +02:00