Ben Noordhuis
c733cb807d
build: sort source files
2012-04-04 05:12:02 +02:00
Ben Noordhuis
396d1383fe
Merge branch 'v0.6'
2012-04-02 23:50:27 +02:00
Ben Noordhuis
9c8f6dd4f9
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.
2012-04-02 23:49:53 +02:00
Ben Noordhuis
685b36ba66
linux: tidy up syscall code
2012-03-31 00:19:01 +00:00
saghul
e729a82e7d
build: don't link against the Carbon framework
...
Unused. The Makefile doesn't link against it either.
2012-03-26 00:13:55 +02:00
Ben Noordhuis
e190162975
test: test cross-process handle send/recv
2012-03-09 09:12:53 -08:00
Bert Belder
e99fba47c8
Merge remote-tracking branch 'origin/v0.6'
...
Conflicts:
src/win/pipe.c
test/run-tests.c
2012-03-09 16:41:12 +01:00
Bert Belder
422a898a7f
Tests: verify that shutdown_cb is always called
2012-03-09 05:00:11 +01:00
Ben Noordhuis
a93dc7ef11
build: link against libdl on linux
2012-03-05 15:36:27 +01:00
Shigeki Ohtsu
b55801f225
win, unix: add uv_dlerror() and uv_dlerror_free()
2012-03-02 16:39:21 +01:00
Ben Noordhuis
d3efefb043
linux: share inotify fd across event loop
...
Previously, a new inotify fd was created for each watcher, making it quite easy
to run into the system-wide fs.inotify.max_user_instances limit (usually 128).
Fixes #300 .
2012-02-23 09:21:30 -08:00
Ben Noordhuis
4e1f2b1f64
Merge remote-tracking branch 'origin/v0.6'
2012-02-12 16:10:05 +01:00
Ben Noordhuis
c5aa86bd39
Remove uv_import() and uv_export().
...
Not needed anymore now that support for isolates has been removed from Node.
This commit reverts the following commits:
812e410 test: fix up stream import/export test
e34dc13 unix: implement uv_import() and uv_export()
d1a0e8e test: fix undefined macro error
2ce0058 import/export streams accross loops
2012-02-12 15:49:54 +01:00
Roman Shtylman
9fa2cf2eac
test: add multicast TTL test
2012-02-06 15:02:39 +01:00
Ben Noordhuis
65bbf02dc5
build: bump _WIN32_WINNT to 0x600
...
Commit b471b33 updated the Makefile, this commit updates the gyp file.
2012-02-01 15:26:01 +01:00
isaacs
243cfcd078
Merge remote-tracking branch 'ry/v0.6'
2012-01-31 18:00:59 -08:00
Ben Noordhuis
cd16ba5186
test: add UDP broadcast/multicast/ttl tests
2012-01-31 16:52:27 +01:00
Igor Zinkovsky
2ce0058251
import/export streams accross loops
2012-01-30 21:44:27 +01:00
Shigeki Ohtsu
ba52023ef3
Fix missing increments of loop->counters
2011-12-12 18:01:26 +01:00
Igor Zinkovsky
dceb3e65ca
uv_cwd + uv_chdir
2011-12-01 12:27:12 -08:00
Ben Noordhuis
ec37d05d66
Revert "build: compile with -D__DARWIN_64_BIT_INO_T on OS X"
...
This reverts commit 01fbe7bf37 .
__DARWIN_64_BIT_INO_T is a no-op in most cases and might be actively harmful in
some others.
2011-12-01 21:02:29 +01:00
Ben Noordhuis
01fbe7bf37
build: compile with -D__DARWIN_64_BIT_INO_T on OS X
...
Fixes a struct stat size mismatch on 64 bits machines that made Node crash with
a EXC_BAD_ACCESS on startup.
Solution proposed by Paddy Byers.
2011-11-18 21:16:24 +01:00
Igor Zinkovsky
f1859eb841
windows: convert WSAECONNABORTED to EOF
2011-11-07 16:53:27 -08:00
Ryan Dahl
0698e3f905
Fix UNIX pipe connect error reporting, add test
2011-11-03 15:47:43 -07:00
Bert Belder
90e15f1110
Implement uv_dlopen and friends
2011-10-29 00:52:34 +02:00
Bert Belder
04b3c65ec8
Add common.gypi to gyp-generated projects
2011-10-29 00:48:40 +02:00
Igor Zinkovsky
314d0ee4f6
windows: don't fail uv_listen with UV_EALREADY if already listening. fixes #227 .
2011-10-26 13:48:53 -07:00
Ben Noordhuis
3ecb319128
build: sunos expects -pthreads, not -pthread
2011-10-25 23:52:03 +00:00
Ben Noordhuis
ec825ffc62
unix: add TCP keepalive and no-delay control knobs
2011-10-21 16:08:26 -07:00
Igor Zinkovsky
54982a23ef
windows: stdio over non-overlapped pipes
2011-10-20 15:14:39 -07:00
Ben Noordhuis
1e0d25a39a
build: fix gyp script, broken in 4ab1990
2011-10-15 00:04:30 +02:00
Frank DENIS
4ab1990064
unix: add support for OpenBSD
2011-10-14 01:59:45 +02:00
Ben Noordhuis
014394df3a
build: compile all targets with large file support
2011-10-12 01:42:25 +00:00
Roman Shtylman
a3d1f6fd6f
add uv_udp_set_membership for unix multicast support
...
- test-udp-multicast-join tests that multicast packets can be received
- stub src/win/udp.c until support added
2011-10-11 21:25:20 +02:00
Ben Noordhuis
732169565e
sunos: link against libkstat
2011-10-10 20:47:30 +00:00
Ryan Dahl
60c639fd57
Merge branch 'ipc2'
2011-10-06 10:18:13 -07:00
Igor Zinkovsky
81c4043c83
ipc on windows
2011-10-06 10:17:42 -07:00
Ryan Dahl
bb6b629e6a
make test-ipc accept the pending tcp server
2011-10-06 10:17:18 -07:00
Ben Noordhuis
27262134cd
bench: add batched TCP writes benchmark
...
Times how long it takes to queue and write out 1,000,000 short strings.
2011-10-06 03:31:58 +02:00
Ben Noordhuis
c7870465aa
error reporting: return sensible messages for synthetic errors
2011-10-06 01:17:46 +02:00
Erick Tryzelaar
e3f2631127
unix: bad connect addresses should error with EINVAL
2011-10-04 16:46:39 -07:00
Ben Noordhuis
8e9a3384c9
unix: implement kqueue file watcher API
...
kqueue fds are not embeddable into other pollsets (select, poll, kqueue).
Hack the libev event loop to receive kqueue events with filter flags intact.
2011-10-04 23:28:36 +02:00
Fedor Indutny
a35591bbfc
os: implement loadavg (not working on cygwin/win)
2011-10-04 18:15:14 +02:00
Fedor Indutny
33cb8775bc
os: implement memory bindings
...
* us_get_free_memory
* us_get_total_memory
2011-10-04 18:10:35 +02:00
Ben Noordhuis
6221904013
sunos: fix gyp build
2011-10-02 00:14:44 +00:00
Igor Zinkovsky
a1f98d55b1
fix c-ares on windows
2011-09-27 16:09:57 -07:00
Ben Noordhuis
2e4eca3b5e
c-ares: upgrade to 1.7.5
2011-09-27 16:04:25 -07:00
Ben Noordhuis
99748250f2
unix: link to libkvm on freebsd
...
Fixes 'undefined reference' linker errors to kvm_open(), kvm_close(), etc.
2011-09-28 00:57:20 +02:00
Fedor Indutny
e7758e126f
unix: remove eio_set_max_poll_reqs
...
* added test
2012-01-16 14:49:13 +01:00
Ryan Dahl
4ad33e9748
Revert "Add uv_pipe_pair for communication between threads"
...
Not needed. We took a different approach for isolates.
This reverts commit 5cc6090fdf .
2012-01-09 11:22:46 -08:00
Ryan Dahl
5cc6090fdf
Add uv_pipe_pair for communication between threads
...
This is only the Unix implementation and test.
2011-12-29 22:41:08 -08:00
Igor Zinkovsky
3d189de699
platform api
2011-12-14 17:50:36 -08:00
Ben Noordhuis
4c6008f488
Merge branch 'v0.6'
...
Conflicts:
test/test-list.h
2011-12-12 18:04:17 +01:00
Ben Noordhuis
f5c2a4a1ae
Merge branch 'v0.6'
...
Conflicts:
src/unix/core.c
src/win/winapi.h
2011-12-02 18:15:04 +01:00
Ben Noordhuis
b52b8c7128
util: add uv_strlcpy() and uv_strlcat() functions
2011-11-23 17:29:02 +01:00
Ben Noordhuis
0834e73621
Merge branch 'v0.6'
2011-11-22 00:06:58 +01:00
Ben Noordhuis
45180fea27
bench: add thread creation benchmark
2011-11-21 21:27:36 +01:00
Ben Noordhuis
8e4ed88bbe
Wrap platform thread APIs.
2011-11-21 21:04:16 +01:00
Ben Noordhuis
1fc1f28093
Wrap platform mutex and rwlock APIs.
...
Read/write locks are emulated with critical sections on Windows XP and Vista
because those platforms don't have a (complete) native read/write lock API.
2011-11-18 12:42:08 +01:00
Bert Belder
8f563e2963
Revert c-ares upgrade and includes fix
...
It broke the windows build.
This reverts commit 083c97e28b and commit b288afdf14 .
2011-09-27 12:39:55 +02:00
Ben Noordhuis
083c97e28b
c-ares: upgrade to 1.7.5
2011-09-26 22:41:17 +02:00
Igor Zinkovsky
1e0757ffda
windows: file watcher
2011-09-21 13:13:34 -07:00
Ben Noordhuis
78f4acacf1
build: fix freebsd gyp build
2011-08-17 06:40:17 +02:00
Ben Noordhuis
9f8bc7b4b8
build: add test-tty to gyp file list, unbreaks build
2011-09-21 00:26:29 +02:00
Ryan Dahl
2f18cf5ecf
Fix gyp build
2011-09-18 18:34:40 -07:00
Ben Noordhuis
3c96410902
unix: bring back uv__stream_destroy()
...
This is the revised version of reverted commit 431195c .
2011-09-14 04:48:56 +02:00
Ryan Dahl
4484d61fe1
Add interfaces for uv_pipe_open, uv_tty_init, uv_tty_set_mode
...
Nothing works - no tests. This is just to coordinate efforts between Bert
and I.
2011-09-12 14:32:14 -07:00
Ben Noordhuis
9bd8bd7945
gyp: add sunos config section
2011-09-12 23:20:45 +02:00
Bert Belder
f790b689a7
Remove uv_init from uv.h and windows backend
2011-09-12 11:32:41 -07:00
Bert Belder
c4317f639a
Update uv.gyp after 98b9f58 got reverted
2011-09-09 23:44:03 +02:00
Erick Tryzelaar
fe6157bdd4
Stop "./gyp_uv --check" from complaining.
2011-09-08 14:21:49 -07:00
Igor Zinkovsky
70bc6c0ca8
add test-tcp-close.c to uv.gyp
2011-09-08 13:23:49 -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
b47c474cfd
Move private headers into include/uv-private
2011-08-31 00:43:55 -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
df0b483ce3
Fix gyp build
2011-08-29 15:03:42 -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
25175c7071
uv_fs & uv_work APIs
2011-08-26 11:00:53 -07:00
Bert Belder
5c9d749a57
win: udp support
2011-08-24 04:55:08 +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
Igor Zinkovsky
fc26321890
use GetQueuedCompletionStatusEx if the OS supports it
2011-08-15 12:13:47 -07:00
Ryan Dahl
e89f54ece4
Add forgotten gyp files
2011-08-13 22:56:11 -07:00