Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 55bcd7d2 | 2009-01-09 13:42:21 | On win32, use a hashtable to map sockets to events rather than using an array. svn:r988 | ||
| d776f846 | 2008-12-23 22:23:37 | deprecate the usage of signal_{add,del,set} and name it evsignal_{add,del,set} instead; move the old definitions to compat svn:r973 | ||
| 02b2b4d1 | 2008-12-23 16:37:01 | Restructure the event backends so that they do not need to keep track of events themselves, as a side effect multiple events can use the same fd or signal. svn:r972 | ||
| 77867244 | 2008-12-19 21:02:36 | memory leak: forgot to free the configuration object svn:r961 | ||
| 808f00e1 | 2008-12-13 06:11:12 | constify structs; from Andrei Nigmatulin svn:r959 | ||
| 4fa4a562 | 2008-11-27 19:57:48 | fix a typo in setting the global event base; reported by lance svn:r953 | ||
| 4fe25cef | 2008-11-27 19:27:33 | Clear the timer cache when leaving the event loop; reported by Robin Haberkorn svn:r950 | ||
| 31cfe526 | 2008-10-30 19:38:31 | clear the timer cache on entering event loop; reported by Victor Chang svn:r944 | ||
| c97ee898 | 2008-09-26 13:36:15 | Fix: do not crash when asked to configure an impossible event_base svn:r942 | ||
| de069b99 | 2008-09-05 16:29:56 | On win32, errno is not the last socket error. Worse, WSAGetLastError() is not the last socket error sometimes (i.e., EWOULDBLOCK). Also, strerror() does not handle winsock errors. Therefore, event_err() and event_warn() are completely wrong for windows socket errors. Fix that. svn:r936 | ||
| cca2f8fa | 2008-07-25 01:29:54 | make event_add not change any state if it fails; repoted by Ian Bell svn:r923 | ||
| 3b24f4ee | 2008-07-25 00:48:30 | another fix; we also need to remove the signal event from the queue svn:r918 | ||
| e67a5ea9 | 2008-07-25 00:19:15 | fix a problem with epoll and event_reinit; reported by Alexander Drozdov svn:r917 | ||
| f7e61870 | 2008-07-11 15:49:04 | support multiple events listening on the same signal; make signals regular events that go on the same event queue svn:r901 | ||
| 60e4c067 | 2008-06-24 22:41:43 | add an event_debug statement for executing active events. svn:r865 | ||
| 35b1236c | 2008-06-24 15:29:41 | change write to send for windows. svn:r859 | ||
| 05965921 | 2008-05-31 14:37:31 | Add new functions to access backends by their features and to query the features of a backend. svn:r842 | ||
| 2deb3ce0 | 2008-05-29 01:39:43 | simplify handling of environment variables for disabling backends; make event_get_supported_methods obey environment variables; this fixes make verify; problem reported by Scott Lamb. svn:r838 | ||
| 8b66f1bd | 2008-05-17 02:14:17 | constify struct timeval * svn:r836 | ||
| 134344b7 | 2008-05-16 01:55:40 | Fix use of freed memory in event_reinit; pointed out by Peter Postma svn:r834 | ||
| a68de252 | 2008-05-15 03:49:03 | r19749@catbus: nickm | 2008-05-14 23:48:44 -0400 New function to dump inserted and active events. Also do not recv() on an int array. svn:r829 | ||
| f9b4ee0a | 2008-05-15 03:19:05 | replace write/read/close with send/recv/EVUTIL_CLOSESOCKET svn:r828 | ||
| 90ddd91f | 2008-05-15 03:14:48 | do not include sys/time.h on windows svn:r826 | ||
| 03fafae0 | 2008-05-12 01:03:36 | Make trunk event.c build happily on win32 under mingw. svn:r811 | ||
| 8acb80b4 | 2008-05-08 22:51:39 | r15551@tombo: nickm | 2008-05-08 14:49:20 -0400 Use _get_ convention for new accessor functions. (These are all new ones as of 2.0, I believe). svn:r799 | ||
| 3d60bccc | 2008-05-08 14:25:44 | r19656@catbus: nickm | 2008-05-08 10:25:08 -0400 forward-port: Remove #include "misc.h"s. svn:r795 | ||
| a26442c5 | 2008-05-08 14:06:33 | r19649@catbus: nickm | 2008-05-08 10:00:14 -0400 Replace gettimeofday() usage with a new evutil_gettimeofday(). This removes all previous need for win32-code/misc.[ch] svn:r792 | ||
| 3f56e364 | 2008-05-08 05:56:20 | event_base_new_with_config() and related methods svn:r789 | ||
| 3b2022ef | 2008-05-08 05:33:15 | provide an api for retrieving the supported event mechanisms svn:r788 | ||
| d0c3644e | 2008-05-05 15:45:30 | r19599@catbus: nickm | 2008-05-05 11:26:18 -0400 Turn event_initialized() and friends into a function; add function equivalents for EVENT_FD and EVENT_SIGNAL. svn:r773 | ||
| 40a44b36 | 2008-05-04 17:23:20 | r19564@catbus: nickm | 2008-05-04 13:23:10 -0400 Fix compile with --enable-gcc-warnings and clock_gettime() svn:r766 | ||
| 181007b9 | 2008-05-03 22:14:44 | make event_assign void; it cannot return an error svn:r763 | ||
| 1d30750b | 2008-05-03 22:10:09 | support for periodic timeouts svn:r762 | ||
| 8c750eaf | 2008-05-03 21:37:33 | separate signal events from io events svn:r760 | ||
| 45e6fb0d | 2008-05-03 18:23:44 | cache clock_gettime/gettimeofday values in base svn:r758 | ||
| 5fbc7f0a | 2008-05-02 16:28:25 | r15439@tombo: nickm | 2008-05-02 12:28:08 -0400 use event_assign internall; switch uses of event_set to use event_assign instead. svn:r755 | ||
| fe2e7307 | 2008-04-25 01:29:15 | r15320@tombo: nickm | 2008-04-24 21:29:06 -0400 Yes, niels says this is safe. svn:r727 | ||
| 94fb4d0a | 2008-04-25 01:18:18 | r15317@tombo: nickm | 2008-04-24 21:17:49 -0400 Add new functions to be more threadsafe (and structure-ignorant) than event_set. svn:r726 | ||
| 49868b61 | 2008-04-25 01:18:08 | r15316@tombo: nickm | 2008-04-24 20:58:36 -0400 Rename internal memory management functions from event_malloc() etc to mm_malloc() etc. svn:r725 | ||
| 0ac73078 | 2008-04-16 20:01:51 | r15193@tombo: nickm | 2008-04-16 16:00:35 -0400 Split event.h into several new headers in include/event2. event.h is now just a wrapper that includes all the subheaders. svn:r711 | ||
| cb50f615 | 2008-03-11 05:26:30 | rename lock create callback functions; as suggested by nick svn:r691 | ||
| c182baca | 2008-03-10 03:17:20 | switch thread support so that locks get allocated as they are needed. svn:r690 | ||
| 558de9b3 | 2008-03-02 21:18:33 | Provide OpenSSL style support for multiple threads accessing the same event_base svn:r684 | ||
| bb914ed9 | 2008-02-25 07:34:07 | do not insert event into list when evsel->add fails svn:r660 | ||
| 8ab61891 | 2008-02-16 06:09:39 | event_base_get_method; from Springande Ulv svn:r635 | ||
| 8c66d4e2 | 2008-01-26 07:29:57 | remove pending timeouts on event_base_free svn:r627 | ||
| 03589ccb | 2007-12-24 22:49:30 | rollback r594: restructuring to make event activation independent. changes are going to wait for api design svn:r612 | ||
| 7aa845b7 | 2007-12-16 04:10:30 | restructure the code to make event activation independent of regular event logic svn:r594 | ||
| fbe24f43 | 2007-12-09 05:07:20 | remove obsoleted recalc code svn:r581 | ||
| 77861fa7 | 2007-12-06 19:20:24 | r16931@catbus: nickm | 2007-12-06 14:19:58 -0500 Fix warnings in debug messages svn:r577 | ||
| 3206bbca | 2007-12-06 18:12:56 | r15171@tombo: nickm | 2007-12-06 12:47:47 -0500 Use GCC attributes (where available) to verify printf type-correctness. Fix some bugs this turned up. svn:r573 | ||
| ef085e84 | 2007-11-27 06:45:25 | we need to pass the evbase to evsel->add svn:r558 | ||
| 5f3e3159 | 2007-11-27 01:39:10 | move EV_PERSIST handling out of the event backends svn:r555 | ||
| 1120f04f | 2007-11-25 21:53:06 | r16731@catbus: nickm | 2007-11-25 16:52:53 -0500 Replace all fds on non-unix-specific APIs with evutil_socket_t, which is int on unix and intptr_t on win32. svn:r552 | ||
| 7eb250e9 | 2007-11-25 17:14:19 | r14939@tombo: nickm | 2007-11-25 11:59:26 -0500 New function event_set_mem_functions to replace internal calls to malloc, free, etc with a user-supplied functions. svn:r541 | ||
| 98b5453e | 2007-11-25 07:11:59 | forgot to dealloc previous base svn:r540 | ||
| 88897852 | 2007-11-25 06:57:59 | provide event_reinit() to reinitialized an event_base after fork - necessary for epoll/kqueue svn:r539 | ||
| 1c23e219 | 2007-11-17 22:21:42 | r14931@tombo: nickm | 2007-11-17 17:21:09 -0500 Patch from Scott Lamb: Implement event_{base_}loopbreak. Includes documentation and tests. From sf.net Feature Request 1826546. svn:r535 | ||
| f586f428 | 2007-11-14 17:52:21 | provide event_base_new() as a mechanism for not setting the current_global svn:r529 | ||
| d50afbb3 | 2007-11-13 03:32:10 | free minheap; from Christopher Layne svn:r525 | ||
| 3742868a | 2007-11-12 06:54:35 | We do not need to specially remove a timeout before calling event_del; patch from Christopher Layne. svn:r519 | ||
| 4a1a2e0d | 2007-11-12 02:31:07 | Make the logic for active events work better with internal events; patch from Christopher Layne svn:r509 | ||
| 45c7ab25 | 2007-11-07 07:33:36 | r16510@catbus: nickm | 2007-11-07 02:29:42 -0500 Try not to shadow local variables or function arguments. svn:r498 | ||
| f74e7258 | 2007-11-07 06:01:57 | r16501@catbus: nickm | 2007-11-07 01:00:31 -0500 This is one of those patches which will either make matters far simpler after the bugs shake out, or will get reverted pretty quick once we realize that it is a stupid idea. We now post-process the config.h file into a new event-config.h file, whose macros are prefixed with _EVENT_ and which is thus safe for headers to include. Using this, we can define replacement timeval manipulation functions in evutil.h, and use them uniformly through our code. We can also detect which headers are needful in event.h, and include them as required. This is also the perfect time to remove the long-deprecated acconfig.h file, so that autoheader no longer warns. Should resolve the following issues: [ 1826530 ] Header files should have access to autoconf output. [ 1826545 ] acconfig.h is deprecated. [ 1826564 ] On some platforms, event.h can't be included alone. svn:r492 | ||
| 206d4336 | 2007-11-07 05:02:21 | r16497@catbus: nickm | 2007-11-07 00:01:02 -0500 Resolve issue 1826588: make event_base_free() succeed even if there are pending non-INTERNAL events still in the base. This can leak memory and fds if used injudiciously, but at least it no longer crashes. svn:r490 | ||
| e9564ece | 2007-11-07 03:40:26 | r16487@catbus: nickm | 2007-11-06 22:38:44 -0500 Remove rtsig method, as discussed in July. It hasn't compiled for quite a while, and nobody has seemed to miss it much. Please let us know if this was a bad call. [Tracker issue 1826539]. svn:r485 | ||
| a5271518 | 2007-11-07 01:48:44 | make event_init should return struct event_base * svn:r481 | ||
| 2026b215 | 2007-11-03 23:53:49 | remove last vestiges of RBTREE svn:r470 | ||
| 30ae40cc | 2007-11-03 18:04:53 | switch timeouts to a min heap; from Maxim Yegorushkin svn:r467 | ||
| f4c84e86 | 2007-09-20 18:27:01 | r15220@catbus: nickm | 2007-09-20 14:22:57 -0400 Another patch from Trond: Skip calling gettime() in timeout_process if we have no events in the timetree. svn:r445 | ||
| 10267216 | 2007-07-30 23:49:00 | initalize ev_res from Scott Lamb svn:r372 | ||
| 3ad6b47e | 2007-07-30 22:41:00 | make clock_monotonic work; do not use default timeout; from Scott Lamb, plus some fixes from me. svn:r371 | ||
| 41b7cbc3 | 2007-03-10 06:37:53 | more the signal base into the event base; this removes global state and makes signals work better with threading; from Wouter Wijngaards small fixes for kqueue and style by me svn:r351 | ||
| b5d2f9a2 | 2007-03-01 06:25:18 | rolling back r339: evconfig.h does not work svn:r341 | ||
| 127c260b | 2007-02-28 04:02:29 | make evconfig.h available as installed header file; not really ideal but good enough for me; from Nick Mathewson svn:r339 | ||
| 4922f342 | 2007-01-27 04:06:52 | extern "C" guard for header file. assert activeq in event.c; from Phil Oelson. svn:r313 | ||
| c6e285d3 | 2006-12-06 03:38:41 | allow gotsig to terminate active event loop; free http connection on failed incoming connections; bugs pointed out by Dug Song. svn:r293 | ||
| 7fe5edf5 | 2006-12-02 21:25:21 | use CLOCK_REALTIME when CLOCK_MONOTONIC is not available; from Phil Oleson svn:r290 | ||
| d6989659 | 2006-10-28 03:20:22 | fix a potential memory leak in event_once from Scott Lamb svn:r244 | ||
| 00bc7e37 | 2006-07-15 02:55:57 | 1.2-rc1; Solaris' event port support from Dave Pacheco svn:r216 | ||
| 71108cd9 | 2006-03-28 16:57:19 | uhm - i obliterated a gettimeofday that was required for remapping the timeouts to "real" time. thanks to claudio for pointing that out. svn:r211 | ||
| 2e8051f5 | 2006-03-28 04:40:54 | introduce a way to free the base from Nick Mathewson <nickm@freehaven.net> svn:r210 | ||
| 571ac954 | 2006-03-28 04:33:41 | use clock_gettime if available from Claudio Jeker <claudio@openbsd.org> svn:r209 | ||
| 7517ef2a | 2006-03-28 04:16:14 | some fixes from openbsd via brad svn:r207 | ||
| 1d308e88 | 2005-12-17 20:25:22 | mostly whitespace fixes from OpenBSD via Brad svn:r192 | ||
| 9c9f0651 | 2005-12-03 20:51:23 | avoid double recacle when loop_once is used; from Richard Nyberg svn:r187 | ||
| 0f5b0389 | 2005-04-23 15:40:14 | fix memory leak; from Andrey Matveev svn:r156 | ||
| 1d0d4bc6 | 2005-04-17 06:51:10 | make gotsig volatile. from Alexander von Gernler svn:r149 | ||
| bc2c695b | 2005-04-10 07:18:18 | type; set the priorities based on the correct base; reported by Vinh D. Lee svn:r147 | ||
| 1e128e2d | 2005-04-03 07:46:27 | fix bug that broke poll/select stuff svn:r141 | ||
| 720f7fcc | 2005-04-02 08:43:55 | event_base_loop and some event logging fixes. svn:r140 | ||
| fbdaf3ab | 2005-03-29 07:03:10 | debugging callbacks from Nick Mathewson <nickm@freehaven.net> svn:r136 | ||
| 99442c6f | 2005-03-29 06:54:36 | windows fixes from Nick Mathewson <nickm@freehaven.net> svn:r135 | ||
| da971e5f | 2005-03-12 02:30:32 | bug fix in event_once by Jody Belka <knew@pimb.org> svn:r134 | ||
| c5e4eee0 | 2005-02-25 05:28:57 | event_get_version() and event_get_method() from Nick Mathewson <nickm@freehaven.net> svn:r133 | ||
| 905ee67d | 2005-02-22 15:47:53 | provide maintainer mode in automake; put event_gotsig back into global state; return proper error code svn:r131 | ||
| bd6999b4 | 2004-12-14 03:36:12 | fix issue where event_del is called before event_set. bad bad thing to do. pointed out by Mark Kidwell <MKidwell@looksmart.net> svn:r128 | ||
| 25646045 | 2004-12-01 20:04:54 | provide more base-based functions :-) svn:r125 | ||
| 8773c4c9 | 2004-11-25 09:50:18 | make libevent thread-safe; first cut svn:r122 | ||
| fa6c304d | 2004-09-19 21:08:09 | support for event priorities; active events are scheduled into priority queues; lower priorities get always processed before higher priorities svn:r120 |