Ben Noordhuis
271aa1806c
unix: eio_init() is not thread-safe, run atomically
2011-12-22 03:38:34 +01:00
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
Ben Noordhuis
d808cf9023
linux: detect if inotify syscalls are supported
2011-12-16 15:50:27 +01:00
Ben Noordhuis
6b3075cd73
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-12-16 15:16:31 +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
Igor Zinkovsky
a4c8ffa3c2
windows: correctly check the result of malloc
2011-12-12 19:10:11 -08:00
Igor Zinkovsky
4e99cd4e29
windows: fix memory leak when non-zero tcp reads are used
2011-12-12 12:30:12 -08:00
Ben Noordhuis
4c6008f488
Merge branch 'v0.6'
...
Conflicts:
test/test-list.h
2011-12-12 18:04:17 +01:00
Shigeki Ohtsu
ba52023ef3
Fix missing increments of loop->counters
2011-12-12 18:01:26 +01:00
Ben Noordhuis
bfd51ca022
Merge branch 'v0.6'
2011-12-12 02:15:45 +01:00
Ben Noordhuis
9fe9e233cf
.gitignore core and vgcore files.
2011-12-12 02:15:22 +01:00
Ben Noordhuis
12cefcaa86
Update AUTHORS and .mailmap
2011-12-12 02:14:25 +01:00
Maciej Małecki
b5762b26ff
doc: add Travis CI build status image
2011-12-12 02:10:43 +01:00
Maciej Małecki
5989961184
test: add .travis.yml for testing on Travis CI
2011-12-12 02:10:43 +01:00
Maciej Małecki
b06da4cbab
test: make test runner return non-zero in case of failure
2011-12-12 02:08:28 +01:00
Ben Noordhuis
0d8cb08f83
Merge branch 'v0.6'
2011-12-08 16:31:52 +01:00
Ben Noordhuis
b89c31b936
unix: fix warning: return 0 in function returning void
2011-12-06 22:20:30 +01:00
Ben Noordhuis
0db3274f8a
unix: check UV_CLOSING flag in uv__write()
...
uv__write() runs after the read callbacks have fired. Said callbacks may have
closed the handle, handle that graciously.
2011-12-05 16:56:30 +01:00
Ben Noordhuis
34e95d1a4c
unix: make it safe to delete the default loop
...
Fixes a potential free() of non-malloc'ed memory.
2011-12-04 13:20:23 +01:00
Ben Noordhuis
248ca5d612
unix: translate ETIMEDOUT to UV_ETIMEDOUT
2011-12-03 23:31:02 +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
Igor Zinkovsky
60630dab0f
windows: enable pending pipe instances knob
2011-12-01 13:48:57 -08:00
Bert Belder
9c064fbbd2
Win: utf-8 decoder bug when compiling with gcc
2011-12-01 22:45:58 +01:00
Bert Belder
2a6a4a0864
Fix MinGW and MinGW-w64 builds
2011-12-01 22:45:40 +01:00
Yuki Okumura
f71f5a02e6
Win: lower case tlhelp32.h to support cross compilation
2011-12-01 22:42:35 +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
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
Ben Noordhuis
fadfd0f5b2
Update AUTHORS and .mailmap
2011-12-01 14:24:25 +01:00
Bruce Mitchener
c69ccfabc2
Remove incorrect documentation comment.
...
The callback for uv_close does not have a status parameter.
2011-12-01 14:22:47 +01:00
Bruce Mitchener
b684deb4f4
Note that uv_is_active works on timers.
2011-11-30 14:48:57 +01:00
Bruce Mitchener
d513d9bb41
Fix typos.
2011-11-30 14:35:13 +01:00
Bert Belder
fce90652ed
Windows: avoid the loop starvation bug. Closes GH-154
2011-11-28 19:36:41 +01:00
Bert Belder
35fa2a6a51
Merge branch 'v0.6'
2011-11-25 12:46:17 +01:00