Commit Graph

665 Commits

Author SHA1 Message Date
eradman
c46321fbda cast off_t as (unsigned long) so that tests build on MacOS 10.8. MacOS and FreeBSD should both serve as a useful reference for the correctness of the tests.
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@651 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-06-04 16:28:46 +00:00
eradman
96faa0057a Remove extra print statement from test_kevent_user_oneshot()
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@650 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-06-04 14:22:34 +00:00
eradman
66b64819d5 Adapt test_kevent_user_multi_trigger_merged() from the 1.0 branch. It appears that 2.0-current does not suffer from the same problem. Tests pass on Debian 6.0/i386.
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@649 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-06-04 14:14:36 +00:00
eradman
667dfef7a7 Integrate INSTALL with a new README file that includes very breif release
history.



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@648 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-06-01 21:45:01 +00:00
mheily
843a5ca561 Release version 2.0.1
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@646 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-05-09 01:43:36 +00:00
mheily
e49088c46e Replace manual changes to GNUmakefile with the new code generated by Makeconf
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@645 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-05-09 01:35:56 +00:00
eradman
e2f44841a7 Small cleanup for 2.0 release: remove Makefile.OLD it's available in the stable branch
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@644 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-05-08 13:21:24 +00:00
eradman
92190517c9 Rename COPYING to LICENSE to match libpwq/
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@643 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-05-08 12:50:01 +00:00
eradman
c0a726677c Use official source file from sf.net instead of my public WIP folder
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@642 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-05-02 14:41:39 +00:00
eradman
74528c5129 Port libkqueue spec file from libkqueue/1.x maintenance branch. Patch to GNUmakefile is a temporary fix since it's generated by Makeconf. ok mheily
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@641 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-05-02 12:30:44 +00:00
mheily
aed62e257a Release 2.0
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@639 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-04-30 02:15:04 +00:00
mheily
108d390354 Make kqtest statically linked
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@638 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-04-30 02:08:26 +00:00
mheily
d161704b91 Change how we check for the ARM achitecture for Android
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@637 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-04-13 01:39:04 +00:00
mheily
e48e52b304 Remove manpage symlink before recreating it
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@636 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-03-08 02:37:03 +00:00
mheily
3373ca3f8f Regenerate GNUmakefile
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@635 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-03-08 02:33:05 +00:00
mheily
c14870ee6f Fix regression with Ruby 1.8
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@634 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-02-05 01:41:02 +00:00
mheily
a40f69b820 disable signal test on android
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@633 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-02-01 01:58:52 +00:00
mheily
57f14047f6 Remove concurrency, re-enable signal tests
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@632 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-25 02:59:35 +00:00
mheily
f05d44f9b3 Revert accidental checkin of win32-specific script
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@631 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-25 02:48:07 +00:00
mheily
757116ae6a Fixes for _WIN32. Eliminates the use of MAKE_STATIC and the DllMain constructor.
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@630 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-25 02:43:43 +00:00
mheily
c7ed4e84f3 Minor tweaks for cross-compiling to Win32
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@629 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-24 02:40:19 +00:00
mheily
a9575f667f try something different
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@628 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-24 02:00:41 +00:00
mheily
617dc2d953 Add an INSTALL file
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@627 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-24 00:16:54 +00:00
mheily
aaa29fd9d3 Fix regressions on Android. Tested OK on Android, Debian, and Debian without eventfd()/timerfd()/signalfd()
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@626 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-24 00:08:03 +00:00
mheily
1a3e7ee985 Revert the /dev/zero code path, and use syscall(SYS_eventfd) instead
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@625 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-23 02:00:55 +00:00
mheily
0dab9e7ce8 Use magic numbers because of missing SYS_timerfd_* functions
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@624 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-22 02:27:59 +00:00
mheily
622f3b43bf improve portability of timerfd() syscall wrappers
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@623 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-22 02:17:50 +00:00
mheily
9934ab8356 Support signalfd on RHEL 5 via syscall()
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@622 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-22 02:14:24 +00:00
mheily
16325b7e80 Try using syscall(3) on RHEL5
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@621 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-22 02:08:13 +00:00
mheily
c1678290dd attempt to use posix/user.c for RHEL 5
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@620 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-22 01:56:43 +00:00
mheily
e102269f24 Partial support for older Linux kernels without eventfd support
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@619 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-22 01:06:27 +00:00
mheily
9ef584b787 restore missing file
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@618 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-19 01:17:16 +00:00
mheily
24e055c215 Add libkqueue.pc
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@617 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-19 01:16:06 +00:00
mheily
b8d52cb5bf Install the manpages
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@616 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-13 15:56:56 +00:00
mheily
4e38904812 update configure script
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@615 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-13 05:18:44 +00:00
mheily
1d144326de Add the generated Makefile and configure script. This eliminates the requirement for having Makeconf and it's dependencies when building on certain platforms (Linux, at least).
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@614 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-12 02:51:53 +00:00
mheily
c16e255e6b restore missing check for sys/event.h
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@613 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-06 17:29:36 +00:00
mheily
24baeafda7 Use ifdef instead of check_decl() where possible.
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@612 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2013-01-06 17:28:12 +00:00
mheily
a21da812d9 add changelog
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@611 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-12-24 23:39:25 +00:00
mheily
3530b37e2a * Use ppoll(2) where possible (Credit: Eric Wong)
* Reenable some additional unit tests



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@610 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-12-24 23:37:59 +00:00
mheily
a316fbb867 * Optimize kevent() when it is called with a zero timeout.
(Credit: Eric Wong)



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@609 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-12-24 17:19:37 +00:00
mheily
21f15f32e2 * Avoid calling getsockopt() on file descriptors that are not sockets.
(Credit: Eric Wong)

  * Call epoll_wait after linux_kevent_wait_hires()
    (Credit: Eric Wong)

  * Detect regular files correctly 
    (Credit: Eric Wong)



git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@608 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-12-09 22:28:45 +00:00
mheily
b39187af2f Install sys/event.h
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@607 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-12-05 03:10:25 +00:00
mheily
1a7a77af13 Upgrade Makeconf to get some fixes for Android
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@606 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-12-05 02:51:07 +00:00
mheily
b081d775e0 Add support for Android
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@605 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-12-04 02:54:17 +00:00
mheily
7b5d4f36f6 Pin makeconf to rev 326
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@604 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-12-03 02:32:59 +00:00
mheily
a3fde75592 Remove -I. from cflags, use shared library for kqtest
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@603 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-12-03 02:31:11 +00:00
mheily
ddd7f1b4b3 More win32 test changes
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@602 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-11-27 04:49:44 +00:00
mheily
00f4e1aac4 Minor fixes for win32
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@601 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-11-27 04:31:43 +00:00
mheily
ad40a816ae Add missing Win32 files
git-svn-id: svn://svn.code.sf.net/p/libkqueue/code/trunk@600 fb4e3144-bc1c-4b72-a658-5bcd248dd7f7
2012-11-27 04:23:15 +00:00