Brett Kiefer
220e2281e4
Fix issue 915 (Failed to find kqueue on FreeBSD) with the relevant portion of a patch submitted to node.js dev ( http://groups.google.com/group/nodejs-dev/browse_thread/thread/3aaf7fe2ca390fdc ) by Davie Siegel. The issue is that event.h requires types.h on FreeBSD. This rearranges some of the logic but looks like it should still be valid for Darwin.
14 years ago
Bert Belder
874321298b
Make libev work on MinGW again
14 years ago
Ryan Dahl
470ebe249f
Upgrade libev to 4.4
14 years ago
Bert Belder
8ee9c53c77
Fix problem with libev/select on windows.
Patch by Marc Lehmann.
This fix should be included in the next libev release.
14 years ago
Bert Belder
d8d627e2d4
Revert "Workaround for libev handle caching bug on windows"
This reverts commit 25d0e38048
.
14 years ago
Bert Belder
25d0e38048
Workaround for libev handle caching bug on windows
The windows socket api uses handles, not fds. Libev caches the handle
associated with an fd, and uses this handle when updating the (also cached)
handle set that goes into select(). When an fd is closed and subsequently
re-used before the event loop returns to libev, libev fails to detect
properly that the handle changed. And even if it does, the cached handle of
the closed socket is overwritten by the new handle, so by the time libev
tries to update the select fdset it has forgotten which handle to remove
from it. This is solved by a simple hook ev_fd_closed that makes it clear
its caches before the fd is re-used.
14 years ago
Bert Belder
b9540c28e9
Libev windows fixes
14 years ago
Ryan Dahl
b7419dfaad
Upgrade libev to 4.3
14 years ago
Ryan Dahl
d0beac70f4
Revert "Simplify next tick logic by looping around ev_loop"
This reverts commit 241ea7e595
.
Fixes GH-511: https://github.com/ry/node/issues/issue/511
14 years ago
Bert Belder
4a329af418
win: Waf doesn't detect sys/select.h on mingw, but its there for sure
14 years ago
Bert Belder
4c16dd7c5c
win: Make libev use send instead of write for sockets
It looks like MINGW doesn't like to write() to sockets.
If wrong, revert this patch
14 years ago
Tom Hughes
446beebd79
Add cmake build support.
Squashed commit of ca128f7dcd28cbcfba154c8577ed54d4aa71dd02 with
contributions from Mark Constable (markc@renta.net ) and Daniel Gröber
(darklord@darkboxed.org ).
14 years ago
Ryan Dahl
241ea7e595
Simplify next tick logic by looping around ev_loop
This is also in preparation for the writev patch, which needs to dump
remaining data after ev_loop ends.
14 years ago
Ryan Dahl
97c9745063
Back to WAF
Too much instability right now. Hopefully we can revisit autoconf soon.
14 years ago
Ryan Dahl
15594eaf87
Replace WAF with make/autoconf
14 years ago
Ryan Dahl
174a3a9a08
Upgrade libev to 4.00
14 years ago
Ryan Dahl
ccf2a04ea2
Install ev.h and eio.h
14 years ago
Ryan Dahl
f7a9eea0d4
Add config.h for cygwin for libev and libeio
14 years ago
Ryan Dahl
48d7a1edc1
libev, libeio config.h files don't depend on arch
14 years ago
David Siegel
3faa3b56f3
libev libeio: added freebsd-x86 config headers
14 years ago
Ryan Dahl
29cc78f824
Simpler libev and libeio config
14 years ago
Ryan Dahl
3a64c22cc1
Disable a few more libev features
14 years ago
Ryan Dahl
74614c1bf1
Change libev/wscript for waf 1.5.14
15 years ago
Ryan Dahl
933a37cd28
Upgrade libev to 3.9
15 years ago
Ryan Dahl
22d1d3dbf7
Fix kqueue check (broke it in last commit)
15 years ago
Ryan Dahl
fa667f718c
Fix check for epoll_ctl(). Was broken on Linux
15 years ago
Rasmus Andersson
752da03eb0
detect nanosleep on OS X and do not look for functions in libraries we know dows not exist
15 years ago
Rasmus Andersson
87077e03cc
fix kqueue feature detection on Mac OS X 10.6
15 years ago
Ryan Dahl
55f9fdd6b5
Upgrade libev to latest CVS
15 years ago
Ryan Dahl
c779647600
Link libev and libeio as a normal .o instead of as .a
Using WAF "staticlib" to compile libev tends to confuse it with a system
version. Thanks to mr.binary42 for helping debug.
15 years ago
Ryan Dahl
45ea62a0f6
Changes to compile on Andrew Miller's very old machine
15 years ago
Ryan
2b6d72431b
First attempt at node.dlopen
Compiled first working 'hello world' module with this config
16 years ago
Ryan
b41ea5289e
Upgrade libev to 3.8
16 years ago
Ryan
f4dfbe37a3
Upgrade libev to 3.7
16 years ago
Ryan
e763efdadf
Upgrade v8 to 1.2.10 and libev to 3.6
16 years ago
Ryan
cc67d8efc7
Fix bug waf problem with HAVE_CLOCK_SYSCALL
16 years ago
Ryan
a3627c06f8
Change to build on FreeBSD
The v8/SConstruct change has been give to the v8 people.
http://codereview.chromium.org/113897
16 years ago
Ryan
90fc8d3622
Update liboi. Use EV_MULTIPLICITY=0.
This might need to be changed in the future if ev is needed in thread pools
or extension libraries. However for now it makes sense to just use a single
loop.
16 years ago
Ryan
8e7bbf26e2
get 'make install' working
16 years ago
Ryan
29b528c980
fix the waf configure --debug options. seems to work now.
16 years ago
Ryan
a4593e3ebd
WAF: fix the debug variant.
problem is they both build by default. need a way to disable the debug variant.
16 years ago
Ryan
1a126ed11c
use the WAF build system
16 years ago
Ryan
c518373838
add dependencies: libeio, libev, v8
16 years ago