Ben Noordhuis
|
d3f60da67c
|
unix: implement uv_fs_readlink
|
2011-09-05 00:12:16 +02:00 |
|
Peter Bright
|
7db243dc6f
|
Bring inline with node common.gypi.
Win32 readlink()
|
2011-09-04 13:24:45 -07:00 |
|
Igor Zinkovsky
|
060026ced3
|
windows: uv_fs_link + uv_fs_symlink
|
2011-09-04 13:24:35 -07:00 |
|
Bert Belder
|
7b87ff7c9b
|
win: rename uv_loop_t.ares_channel to ares_chan to avoid confusing g++
|
2011-09-04 21:54:31 +02:00 |
|
Bert Belder
|
360f4119e4
|
Make getsockname/getpeername handle uninitialized sockets better
|
2011-09-04 19:18:56 +02:00 |
|
Bert Belder
|
12b01e95f9
|
Specialize uv_xxx_getsockname, add uv_tcp_getpeername
|
2011-09-04 04:49:13 +02:00 |
|
Ben Noordhuis
|
18af13795f
|
unix: fix warning: implicit declaration of function ‘strerror’
|
2011-09-04 03:45:28 +02:00 |
|
Ben Noordhuis
|
b680703178
|
unix: fix warning: implicit declaration of function ‘memcpy’
|
2011-09-04 03:45:15 +02:00 |
|
Luis Lavena
|
6422a14a8f
|
windows: correct a preprocessor typo
GCC chokes on ##name## concatenation (since . and prepare are invalid
tokens)
|
2011-09-04 02:26:53 +02:00 |
|
Igor Zinkovsky
|
cf5ed86a79
|
windows: implement missing fs functions
|
2011-09-03 12:23:27 -07:00 |
|
Ryan Dahl
|
b89f4f34a4
|
implement uv_fs_utime
|
2011-09-01 17:40:57 -07:00 |
|
Ryan Dahl
|
b47fa77eb5
|
unix/fs.c: Apply macro magic, implement symlink, link, chown, fchown
|
2011-09-01 17:12:31 -07:00 |
|
Ryan Dahl
|
9f932f92cf
|
add test fs_chmod, implement uv_fs_fchmod and uv_fs_chmod on unix
|
2011-09-01 15:36:01 -07:00 |
|
Ryan Dahl
|
2e6035895c
|
Add test for uv_fs_fstat, implement on unix.
|
2011-09-01 14:15:06 -07:00 |
|
Igor Zinkovsky
|
716e8eab39
|
windows: fix issue with SetFileCompletionNotificationModes on 64bit xp
|
2011-09-01 13:46:07 -07:00 |
|
Igor Zinkovsky
|
22197ebf3f
|
windows: include _stat struct into uv_fs_t
|
2011-09-01 11:54:43 -07:00 |
|
Ryan Dahl
|
836cc204b6
|
unix: Fix test-gethostbyname
|
2011-08-31 15:37:16 -07:00 |
|
Ryan Dahl
|
6fd340b8ca
|
unix: split out stream into its own file
|
2011-08-31 13:41:22 -07:00 |
|
Ryan Dahl
|
38ce213b6a
|
unix: split out pipe
|
2011-08-31 13:29:17 -07:00 |
|
Ryan Dahl
|
510407c03d
|
unix: split out tcp module
|
2011-08-31 13:11:38 -07:00 |
|
Ryan Dahl
|
e553f96f94
|
unix: split out uv_spawn into src/unix/process.c
|
2011-08-31 11:50:08 -07:00 |
|
Ryan Dahl
|
490c83dd35
|
move src/uv-unix.c to src/unix/core.c
|
2011-08-31 11:26:43 -07:00 |
|
Ryan Dahl
|
6144c93bbc
|
unix: split out error code into separate file
|
2011-08-31 11:23:29 -07:00 |
|
Ryan Dahl
|
e97958ac3b
|
unix: Split out c-ares integration into separate file
|
2011-08-31 11:23:29 -07:00 |
|
Ryan Dahl
|
58461d5ae7
|
split out unix's udp source
|
2011-08-31 11:23:29 -07:00 |
|
Ryan Dahl
|
ea4271fa90
|
submit error to correct loop
|
2011-08-31 01:43:09 -07:00 |
|
Ryan Dahl
|
1408ac4c4f
|
Move src/ev to src/unix/ev
|
2011-08-31 00:33:14 -07:00 |
|
Ryan Dahl
|
5fd68a016a
|
Move unix platform files into src/unix
|
2011-08-31 00:29:47 -07:00 |
|
Ryan Dahl
|
231298a5e8
|
move eio stuff into src/unix
|
2011-08-31 00:24:07 -07:00 |
|
Ryan Dahl
|
e3f910d0a9
|
Multiplicity update on unix
Does not yet support multithreaded use of the thread pool.
|
2011-08-30 23:55:08 -07:00 |
|
Bert Belder
|
78debf9f67
|
win: multiplicity
|
2011-08-31 04:19:16 +02:00 |
|
Ryan Dahl
|
56dcaf9b06
|
unix: multiplicity
|
2011-08-31 04:18:55 +02:00 |
|
Ben Noordhuis
|
0ba44cfd4e
|
ev: improve feature detection on linux
|
2011-08-30 12:49:48 +02:00 |
|
Jeroen Janssen
|
2af955dbf4
|
Fix posix dirent usage
Fixes #161
|
2011-08-30 03:16:03 -07:00 |
|
Ryan Dahl
|
ca1171132e
|
win: stub out missing uv_fs functions
|
2011-08-30 01:53:24 -07:00 |
|
Ryan Dahl
|
a6ed1757ab
|
unix: implement uv_fs_lstat
|
2011-08-30 01:32:53 -07:00 |
|
Ryan Dahl
|
894c005c42
|
unix: fix fs_async_sendfile
|
2011-08-30 00:52:43 -07:00 |
|
Ryan Dahl
|
1a4ead53d6
|
unix: implement uv_queue_work
|
2011-08-29 22:57:34 -07:00 |
|
Ryan Dahl
|
0e81406bfb
|
unix fs_async_dir works
|
2011-08-29 22:08:51 -07:00 |
|
Ryan Dahl
|
5d524fff1a
|
unix passes test fs_file_async
|
2011-08-29 20:41:45 -07:00 |
|
Jorge Chamorro Bieling
|
cbbb254e57
|
Fix for joyent/node#1506, OSX threaded write()s bug
|
2011-08-29 15:21:11 -07:00 |
|
Ryan Dahl
|
3be275bad7
|
Begin implementation of UNIX uv_fs_ functions
Adding this incomplete work now to ease rebase troubles later as it moves
the functions to src/unix/fs.c and introduces src/unix/internal.h.
|
2011-08-29 14:36:45 -07:00 |
|
Igor Zinkovsky
|
925564e968
|
windows: improve error handling for fs functions
|
2011-08-27 13:59:34 -07:00 |
|
Igor Zinkovsky
|
3ea037ccb0
|
windows: free fs arguments inside uv_fs_req_cleanup
|
2011-08-26 18:11:31 -07:00 |
|
Ryan Dahl
|
7cad73aa47
|
Fix build for UNIX
|
2011-08-26 11:26:24 -07:00 |
|
Igor Zinkovsky
|
25175c7071
|
uv_fs & uv_work APIs
|
2011-08-26 11:00:53 -07:00 |
|
Clifford Heath
|
835782a980
|
eio: Mac OSX 10.5 (Leopard) does not have fdatasync
|
2011-08-26 18:08:42 +02:00 |
|
Bert Belder
|
39aac4a5fc
|
win: better shutdown for pipes
|
2011-08-26 02:21:33 +02:00 |
|
Bert Belder
|
27c52a6034
|
win: stop reading on tcp receive error
|
2011-08-26 02:21:32 +02:00 |
|
Ben Noordhuis
|
6490c6a38e
|
unix: improve accept4 syscall feature check
|
2011-08-26 00:16:07 +02:00 |
|
Ryan Dahl
|
40efa9c731
|
win: Fix uv_getsockname for UDP
|
2011-08-24 17:40:35 -07:00 |
|
Bert Belder
|
1f28f81236
|
Fix mingw missing IPV6_V6ONLY
|
2011-08-24 15:38:51 +02:00 |
|
Bert Belder
|
1870c18f3c
|
win: change uv_getsockname signature to support udp
|
2011-08-24 04:55:08 +02:00 |
|
Bert Belder
|
5c9d749a57
|
win: udp support
|
2011-08-24 04:55:08 +02:00 |
|
Ben Noordhuis
|
36ce74f2ca
|
Add UDP support to libuv.
|
2011-08-24 04:55:01 +02:00 |
|
Ben Noordhuis
|
52024061e4
|
Make uv_getsockname() operate on uv_handle_t handles.
|
2011-08-24 04:17:36 +02:00 |
|
Bert Belder
|
5cae6e4e57
|
win: use uv_req_t.overlapped.Internal field to propagate request errors
|
2011-08-23 21:24:14 +02:00 |
|
Bert Belder
|
811828719f
|
win: store the tcp deferred bind error in uv_tcp_t.bind_error, remove uv_handle_t.error
|
2011-08-23 20:41:16 +02:00 |
|
Bert Belder
|
b931e93c3f
|
win: get rid of deferring bind errors for uv_pipe_t
It doesn't work anyway
|
2011-08-23 20:41:15 +02:00 |
|
Bert Belder
|
a8d2613ba0
|
win: integrate uv_close_error into uv_close
|
2011-08-23 20:41:15 +02:00 |
|
Bert Belder
|
6622c35bc4
|
win: add ntstatus-to-winsock-error mapping
|
2011-08-23 20:41:14 +02:00 |
|
Bert Belder
|
301d9283ee
|
trailing whitespace
|
2011-08-23 20:41:07 +02:00 |
|
Ryan Dahl
|
ce9171d41f
|
unix: uv_read_start should fail if UV_CLOSING set
|
2011-08-22 19:29:08 -07:00 |
|
Ryan Dahl
|
bdd880e7fc
|
unix: add a few asserts, cosmetic touch ups
|
2011-08-22 19:29:08 -07:00 |
|
Igor Zinkovsky
|
4e9edceb98
|
windows: temporarily disable non-zero reads
|
2011-08-22 15:59:44 -07:00 |
|
Jeroen Janssen
|
ce207917fd
|
remove unused variable
Fixes #151
|
2011-08-22 10:50:29 -07:00 |
|
Bert Belder
|
062af9fea8
|
win: fix buffer leak when using non-zero tcp reads
|
2011-08-21 21:47:34 +02:00 |
|
Bert Belder
|
beaa676184
|
win: rename UV_HANDLE_TCP_ZERO_READ to UV_HANDLE_ZERO_READ
|
2011-08-21 21:47:28 +02:00 |
|
Bert Belder
|
e45284dd4a
|
win: prototype ordering
|
2011-08-21 21:46:50 +02:00 |
|
Bert Belder
|
d1a63c4003
|
win: move winsock intialization out of tcp.c
|
2011-08-21 21:46:40 +02:00 |
|
Bert Belder
|
48a8f1959a
|
win: merge kernel32.h and ntdll.h; declare pointers in winapi.h
|
2011-08-21 21:46:20 +02:00 |
|
Bert Belder
|
cc0b0e6238
|
Remove trailing whitespace
|
2011-08-21 21:46:05 +02:00 |
|
Igor Zinkovsky
|
8448ee4bf6
|
Windows: Do simultaneous pending AcceptEx calls.
|
2011-08-18 17:45:59 -07:00 |
|
Igor Zinkovsky
|
56b09db2ed
|
windows: set accept socket to INVALID_SOCKET in case of accept failure
|
2011-08-18 12:19:34 -07:00 |
|
Bert Belder
|
8ed2ffb2bf
|
Windows: when searching path, look only for .com and .exe files
|
2011-08-18 04:08:27 +02:00 |
|
Igor Zinkovsky
|
422c139306
|
Windows: Pre-allocate buffers for overlapped WSARecv if the number of active tcp streams is below 50.
|
2011-08-17 17:44:54 -07:00 |
|
Ryan Dahl
|
e5a938f1f4
|
Add uv_buf_init() constructor
|
2011-08-17 17:43:19 -07:00 |
|
Jeroen Janssen
|
6b27bf9a86
|
uv_process_pipe_shutdown_req call should match prototype
|
2011-08-17 13:58:56 +02:00 |
|
Jeroen Janssen
|
a51f376655
|
added missing prototype for uv_process_pipe_shutdown_req
|
2011-08-17 13:58:56 +02:00 |
|
Jeroen Janssen
|
507c4ccea6
|
fixes for unsigned/signed comparison
|
2011-08-17 13:58:55 +02:00 |
|
Jeroen Janssen
|
0883b3d5fc
|
remove unused variables
|
2011-08-17 13:58:54 +02:00 |
|
Igor Zinkovsky
|
e67b9a37a0
|
Skip IOCP for tcp operations that complete synchronously
|
2011-08-16 17:21:06 -07:00 |
|
Igor Zinkovsky
|
fc26321890
|
use GetQueuedCompletionStatusEx if the OS supports it
|
2011-08-15 12:13:47 -07:00 |
|
Bert Belder
|
38c2322378
|
Windows: ipv6 "any address" is ::0, not ::1
|
2011-08-15 05:52:50 +02:00 |
|
Bert Belder
|
c6c3d15d81
|
Windows: slightly improve error reporting
|
2011-08-15 04:25:39 +02:00 |
|
Ben Noordhuis
|
5020134568
|
uv-unix: remove unused variable 'iov'
|
2011-08-15 03:21:56 +02:00 |
|
Ben Noordhuis
|
035fd5beb0
|
eio: future-proof glibc version detection
|
2011-08-14 04:01:57 +02:00 |
|
Ben Noordhuis
|
5899192807
|
eio: fix HAVE_SYNC_FILE_RANGE heuristic on linux
|
2011-08-14 03:13:33 +02:00 |
|
Augusto Henrique Hentz
|
7f82995fb4
|
uv-unix: fix typo in definition of HAVE_PIPE2
The define HAVE_PIPE2 was always being set, even when the requisites
were not met.
|
2011-08-12 16:13:06 +02:00 |
|
Ryan Dahl
|
65f71a2039
|
Temp disable pipe2 on linux
|
2011-08-12 04:10:25 -04:00 |
|
Ben Noordhuis
|
1485c47999
|
eio: define HAVE_UTIMES 1 on freebsd, fixes build
|
2011-08-12 06:16:35 +02:00 |
|
Bert Belder
|
4c63f554a6
|
Windows: much better pipe_pound_1000 results
|
2011-08-12 02:44:02 +02:00 |
|
Bert Belder
|
89aa4078cc
|
Windows: try to avoid using the thread pool for pipe shutdown
|
2011-08-12 02:44:01 +02:00 |
|
Bert Belder
|
a2ee4854c6
|
Windows: dynamically load some ntdll functions
|
2011-08-12 02:44:00 +02:00 |
|
Bert Belder
|
2d40e35b7e
|
Style
|
2011-08-12 02:43:59 +02:00 |
|
Ryan Dahl
|
b44f9d75ea
|
unix: cloexec stdio streams
|
2011-08-11 16:35:56 -07:00 |
|
Ryan Dahl
|
f7b4e65090
|
unix: introduce SPAWN_WAIT_EXEC to turn off poll feature
|
2011-08-11 15:52:22 -07:00 |
|
Ryan Dahl
|
11aa1ea096
|
Remove unnecessary casts
|
2011-08-11 11:27:35 -07:00 |
|
Bert Belder
|
ca633920f5
|
Windows: fix pipe shutdown
|
2011-08-11 04:18:29 +02:00 |
|
Bert Belder
|
a89410456c
|
Whitespace
|
2011-08-11 04:18:28 +02:00 |
|