Ben Noordhuis
ec8c5008aa
Update AUTHORS and .mailmap
2011-12-20 20:47:33 +01:00
Paddy Byers
abf9654a55
unix: create separate eio result queue per loop
...
Makes the eio "done" callback run in the thread that submitted it. Makes it safe
to use libeio from multiple event loops.
2011-12-20 20:47:33 +01:00
Ben Noordhuis
10de090b9e
unix: centralize loop init logic
...
Also fixes a bug where loops other than the main loop didn't pick the kqueue
backend, which broke the fs event watcher on Darwin and the BSDs.
2011-12-20 20:47:33 +01:00
Ben Noordhuis
6a9cb902ae
Add ngx_queue_foreach() macro.
2011-12-20 20:47:33 +01:00
Ben Noordhuis
69ce0145f6
Wrap platform "thread-safe run once" APIs.
2011-12-20 20:34:55 +01:00
Ryan Dahl
a993329c02
add uv_thread_self
2011-12-20 11:34:18 -08:00
Daisuke Murase
3cbe7c3f79
Fixes for iOS
...
replace AbsoluteToNanoseconds to alternate implementation in uv_hrtime when
target OS is iOS which does not have CoreServices.framework
Fixes #243
2011-12-20 11:07:11 -08:00
Ben Noordhuis
cb70db1240
linux: fix compiler warnings
2011-12-16 20:39:35 +01:00
Ben Noordhuis
f9edaca5bd
Merge branch 'v0.6'
...
Conflicts:
src/unix/linux.c
2011-12-16 20:14:16 +01:00
okuoku
8e50b6043d
freebsd: Fix build
...
Fixes #280
2011-12-15 15:48:02 -08:00
okuoku
9775121581
win: Fix MinGW32 builds
...
Fixes #279 .
2011-12-15 15:47:14 -08:00
Igor Zinkovsky
7aacfad447
windows: support for getting multiple addresses for a network interface
2011-12-14 22:56:53 -08:00
Igor Zinkovsky
3d189de699
platform api
2011-12-14 17:50:36 -08:00
Ben Noordhuis
12cc4f7d3d
Update AUTHORS and .mailmap
2011-12-14 14:32:13 +01:00
mattn
e53cecb8c0
add uv_run_once()
2011-12-14 14:28:35 +01:00
Ben Noordhuis
4c6008f488
Merge branch 'v0.6'
...
Conflicts:
test/test-list.h
2011-12-12 18:04:17 +01:00
Ben Noordhuis
bfd51ca022
Merge branch 'v0.6'
2011-12-12 02:15:45 +01:00
Ben Noordhuis
0d8cb08f83
Merge branch 'v0.6'
2011-12-08 16:31:52 +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
Bert Belder
eb6d754a06
Win: utf-8 decoder bug when compiling with gcc
2011-12-01 19:40:12 +01:00
Bert Belder
ee49c7a2b6
Fix MinGW and MinGW-w64 builds
...
Closes GH-222 and GH-267.
Thanks Yuki Okumura and Yasuhiro Matsumoto for providing fixes.
2011-12-01 15:47:49 +01:00
Yuki Okumura
7c50415db6
Win: lower case tlhelp32.h to support cross compilation
2011-12-01 15:29:10 +01:00
Bert Belder
b471b33da8
Bump required windows headers to Vista
...
This does not mean that XP/2k3 is no longer supported - we just need the
headers so we can use newer APIs on later windows versions.
2011-12-01 15:23:35 +01:00
Bert Belder
35fa2a6a51
Merge branch 'v0.6'
2011-11-25 12:46:17 +01:00
Ben Noordhuis
ef811b1a4f
Merge branch 'v0.6'
2011-11-23 19:06:08 +01:00
seebees
59f9a736b1
test: process should not wait for stdio before terminating
2011-11-23 17:34:18 +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
5728bd4549
test: touching a file should generate only one fs event
2011-11-21 18:01:01 +00:00
Shimon Doodkin
57ae9cc4a8
cygwin: fix undefined _SC_PAGESIZE
...
unistd.h was not included, when tried to build node 0.5.9 had an error of:
_SC_PAGESIZE undefined
2011-11-20 14:56:01 +01:00
Ben Noordhuis
e4680ccc62
windows: make SRWLock API usage more explicit
2011-11-18 12:59:10 +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
Ben Noordhuis
1e0aab06c9
unix: properly disarm kqueue fs watcher
...
Fixes "Assertion failed: (revents == EV_LIBUV_KQUEUE_HACK),
function uv__fs_event, file ../src/unix/kqueue.c, line 58."
2011-11-18 01:39:30 +01:00
Igor Zinkovsky
b0b54bf88d
windows: return UV_FILE for non-console FILE_TYPE_CHAR
2011-11-17 15:18:32 -08:00
Ben Noordhuis
d5b26154f7
linux: improve kernel feature detection
...
Do not check for minimum kernel and glibc versions, just check that the kernel
headers export the syscall number and invoke the syscall directly. Effectively
bypasses glibc.
2011-11-17 18:05:53 +01:00
Ryan Dahl
10c5293cae
Update list of supported features
2011-09-27 13:24:51 -07:00
Bert Belder
2c0fca9a41
win: Fix crash when calling uv_close from shutdown callback
2011-09-27 19:12:40 +02:00
Bert Belder
bdac72cc93
win tty: Implement uv_close and uv_shutdown
2011-09-27 19:12:39 +02:00
Bert Belder
554cb78eeb
win tty: Use NULL consistently, don't mix with INVALID_HANDLE_VALUE
2011-09-27 19:12:33 +02:00
Bert Belder
f5f005d51d
tty-win: fix absolute cursor positioning
2011-09-27 16:10:38 +02:00
Bert Belder
b0a9d601c8
win: tty fixes
2011-09-27 12:41:38 +02: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
Ryan Dahl
2ebb2272c3
Add tcp reference count tests
2011-09-26 22:51:08 -07:00
Ryan Dahl
3e5aa06c49
Add two timer ref count tests
2011-09-26 22:01:21 -07:00
Ryan Dahl
2c0179197f
Make libev verify itself in debug build
2011-09-26 21:07:05 -07:00
Ben Noordhuis
9673abeab5
unix: fix pointer ownership bug
...
libuv realloc'd a pointer that belonged to and was later freed by libev.
2011-09-27 01:02:44 +02:00
Igor Zinkovsky
f6a365ed91
fix tcp_write_error for windows
2011-09-26 14:39:02 -07:00
Ben Noordhuis
b288afdf14
common: fix includes
...
Don't rely on c-ares to pull in the headers for inet_addr, net_pton and
inet_ntop. c-ares 1.7.4 did but 1.7.5 does not.
2011-09-26 22:41:17 +02:00