Bert Belder
c7edea997e
Merge branch 'v0.6'
2012-05-01 16:21:11 +02:00
Bert Belder
32f6f6e2c7
Windows: map ERROR_NOT_SAME_DEVICE to UV_EXDEV
2012-05-01 16:20:52 +02:00
Keno Fischer
d13b1e0803
Windows: fix uv_fs_ftruncate to compile with Mingw32
...
Close : #382 , #397
Ref: #381
2012-04-29 02:32:27 +02:00
Bert Belder
b386c44e5e
Windows: always enable multicore compile
2012-04-29 02:18:17 +02:00
Bert Belder
0c32087973
Windows: disable minimal rebuild (/Gm)
...
If enabled multicore compile doesn't work.
2012-04-29 02:08:25 +02:00
Bert Belder
e2cae340a6
Merge branch 'v0.6'
...
Conflicts:
include/uv-private/uv-unix.h
include/uv-private/uv-win.h
include/uv.h
src/unix/error.c
src/unix/linux.c
src/uv-common.c
src/win/fs.c
test/test-fs.c
test/test-spawn.c
2012-04-29 00:01:09 +02:00
Erik Dubbelboer
623441685d
test-spawn failed to build on linux
...
- added missing header file
- converted c++ style comment to c style comment
2012-04-28 23:57:59 +02:00
Erik Dubbelboer
e2b6f423cb
test-spawn failed to build on linux
...
- added missing header file
- converted c++ style comment to c style comment
2012-04-28 23:55:54 +02:00
Ben Noordhuis
fac3b68fff
linux: add IN_MOVE_SELF to inotify event mask
...
Partially fixes joyent/node#3172 , behavior is now consistent with inotifywait.
2012-04-28 02:47:58 +02:00
Bert Belder
bfd6d465c7
Test for the uv_spawn's setuid and setgid options
2012-04-28 02:39:18 +02:00
Bert Belder
99a995a6b8
uv_spawn: support setting the child process' user and group id
2012-04-28 02:38:41 +02:00
Bert Belder
c862acc609
Windows: add mappings for UV_ENOENT
2012-04-28 02:09:29 +02:00
isaacs
b26fdde181
Map ENOMEM to UV_ENOMEM
2012-04-28 02:09:17 +02:00
Bert Belder
d41cc9118d
Windows: uv_spawn2 reports the wrong error when setuid/setgid is specified
2012-04-27 21:58:44 +02:00
Bert Belder
aea5db5da1
Windows: add mappings for UV_ENOENT
2012-04-27 21:24:27 +02:00
Bert Belder
66647bf934
Test for setuid/setgid
2012-04-27 21:05:15 +02:00
Bert Belder
c42ba103b7
Temporary API to support spawn with uid and gid options
2012-04-27 17:41:56 +02:00
Aaron Bieber
109dcb28b2
build: make "make test" work on OpenBSD
2012-04-25 03:57:49 -07:00
Luis Lavena
b6e3dcc799
Windows: actually detect mingw-w64 and not 64 bits mode
...
__MINGW64__ is only defined when using mingw-w64 in 64bits mode, not when
using the 32bits version of the compiler.
Instead, to detect usage of mingw-w64 instead of mingw version of GCC we
should look at __MINGW64_VERSION_MAJOR and __MINGW64_VERSION_MINOR. If one
of these is defined means we are running on mingw-w64 compiler and headers
and not mingw.org build.
Read more here: http://bit.ly/detect-mingw-w64-vs-mingw
Closes #384
2012-04-25 04:06:53 +02:00
Ben Noordhuis
06ae804e03
linux: add IN_MOVE_SELF to inotify event mask
...
Partially fixes joyent/node#3172 , behavior is now consistent with inotifywait.
2012-04-25 01:27:43 +02:00
Bert Belder
42a86693a7
Windows: set loop counters to zero in uv_loop_init
2012-04-25 00:30:07 +02:00
Bert Belder
1b6329dd3e
Style fixes
2012-04-25 00:30:07 +02:00
Bert Belder
5342bac4c2
uv.h: make the ssize_t fallback more portable
2012-04-25 00:30:06 +02:00
Ben Noordhuis
84d2f82a68
windows: rename local var errno to errorno
...
Fixes compiler warning: ‘_errno’ redeclared without dllimport attribute:
previous dllimport ignored.
2012-04-23 12:10:38 -07:00
Igor Zinkovsky
e6d4bca2ec
remove left-over cast fixes #3160
2012-04-23 10:52:53 -07:00
Ben Noordhuis
1f001fe917
unix: remove kqueue cb == NULL check
...
The other implementations don't check for it and it's making the counters_init
test fail.
2012-04-23 17:55:57 +02:00
Ben Noordhuis
21bee8c36f
unix: call pipe handle connection cb on accept() error
2012-04-22 19:32:47 +02:00
Ben Noordhuis
cf6dc082ca
unix: handle EWOULDBLOCK in uv__read()
2012-04-22 19:32:47 +02:00
Ben Noordhuis
01cc491853
unix: handle EWOULDBLOCK in uv__write()
2012-04-22 19:32:47 +02:00
Ben Noordhuis
df22d5935e
unix: handle EWOULDBLOCK in uv__server_io()
2012-04-22 19:32:46 +02:00
Ben Noordhuis
73cc3677fc
unix: map EWOULDBLOCK to UV_EAGAIN
2012-04-22 19:32:46 +02:00
Ben Noordhuis
1fa1c5106a
unix: call pipe handle connection cb on accept() error
2012-04-21 06:11:38 +02:00
Ben Noordhuis
a55a33625e
unix: handle EWOULDBLOCK in uv__read()
2012-04-21 06:11:38 +02:00
Ben Noordhuis
4fd6264883
unix: handle EWOULDBLOCK in uv__write()
2012-04-21 06:11:38 +02:00
Ben Noordhuis
a8b5235132
unix: handle EWOULDBLOCK in uv__server_io()
2012-04-21 06:11:38 +02:00
Ben Noordhuis
a29892d9d4
unix: map EWOULDBLOCK to UV_EAGAIN
2012-04-21 06:11:34 +02:00
isaacs
f9fcaf5ccf
Map ENOMEM to UV_ENOMEM
2012-04-20 08:16:55 -07:00
Ben Noordhuis
feafcdbf5f
include: remove stray backslash
2012-04-18 23:08:33 +02:00
Ben Noordhuis
ab3b307df3
unix: clean up uv__req_init()
2012-04-18 22:30:20 +02:00
Ben Noordhuis
5953129353
build: print error message when gyp is not installed
2012-04-18 13:19:51 -07:00
Igor Zinkovsky
d5acfd0c05
64bit offsets for fs operations and cleanup uv_fs_* for uv-win
2012-04-18 11:05:27 -07:00
Ben Noordhuis
132fe600c7
const-ify stream argument to uv_is_readable() and uv_is_writable()
2012-04-18 03:15:53 +02:00
Ben Noordhuis
edb39b2499
const-ify handle argument to uv_is_closing()
2012-04-18 03:11:25 +02:00
Ben Noordhuis
fb6c9eef2a
const-ify handle argument to uv_is_active()
2012-04-18 03:09:53 +02:00
Ben Noordhuis
6c2a2aa250
test: don't assume unref'd timer cb runs
2012-04-18 02:54:57 +02:00
Ben Noordhuis
57ee146985
test: unlink UNIX socket before starting pipe echo server
2012-04-18 02:39:33 +02:00
Ben Noordhuis
976423c643
test: remove unused variable
2012-04-18 02:39:33 +02:00
Ben Noordhuis
f471f06322
test: clean up test-stdio-over-pipes
2012-04-18 02:39:30 +02:00
Ben Noordhuis
32948ab952
test: make variables static in test-gethostbyname.c
2012-04-18 02:36:56 +02:00
Ben Noordhuis
92ec798984
test: stop counter_init from failing when watch_dir exists
2012-04-18 02:36:43 +02:00