Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 8cc68835 | 2009-07-25 03:35:32 | Fix the main/methods unit test to pass from "make verify". The problem was introduced when we changed the semantics of get_supported_methods() to reflect all the methods that exist. Previously, it had not returned methods disabled from the environment, but the test didn't know that. svn:r1379 | ||
| 49de08ef | 2009-07-21 19:20:44 | Push coverage of event.c a little higher svn:r1373 | ||
| f4775918 | 2009-07-20 14:55:51 | Refactor evtag tests into their own suite. svn:r1366 | ||
| e8400a43 | 2009-07-20 14:55:35 | Rename encode_int(64) to avoid polluting the global namespace. They're now called evtag_encode_int(64). The old names are available as macros in event2/tag_compat.h. Also, add unit tests for encode/decode_int64. svn:r1365 | ||
| 5d71b25b | 2009-07-17 18:38:38 | Remove all trailing whitespace from end-of-line. svn:r1350 | ||
| d4e3671f | 2009-07-17 18:38:21 | Add a test to free_active_base to free a base with an active event. svn:r1349 | ||
| e224321c | 2009-07-14 18:49:42 | Convert and expand free_active_base/event_base_new tests to avoid dbl-free. Patch from Zack Weinberg svn:r1342 | ||
| b45cead7 | 2009-04-30 18:05:33 | Make environment-variable tests work on win32, which has only one method and lacks (un)setenv. svn:r1253 | ||
| 586aa468 | 2009-04-28 19:08:27 | Unit test for disabling events with EVENT_NO*, and for EVENT_BASE_FLAG_IGNORE_ENV. svn:r1247 | ||
| d70b0804 | 2009-04-23 18:08:42 | Make main/methods test pass on systems where only one backend exists. svn:r1235 | ||
| 0068c98a | 2009-04-23 00:01:14 | Make version test ignore the bottom byte of the version number. svn:r1225 | ||
| b21be245 | 2009-04-23 00:00:55 | Somehow free_active_base was using the socketpair, but not saying it needed it. How did this ever work? svn:r1223 | ||
| 1f9c9e51 | 2009-04-22 15:38:50 | Add a missing "static". svn:r1219 | ||
| 133a015d | 2009-04-21 18:48:05 | Make sure the test case for mem_functions hits strdup too. svn:r1218 | ||
| 7f1855d0 | 2009-04-21 18:47:35 | Add a basic test for set_mem_functions svn:r1216 | ||
| 386279d0 | 2009-04-21 18:47:02 | Add a test for event_pending; especially the timeout part. svn:r1214 | ||
| ff1f4295 | 2009-04-21 18:46:43 | Unit tests for event_base_once. svn:r1213 | ||
| ea664bf2 | 2009-04-21 18:46:30 | Refactor test wrappers to divide legacy items from useful stuff. svn:r1212 | ||
| 122e934e | 2009-04-21 18:46:11 | Add unit tests for version methods and feature-based backend selection svn:r1211 | ||
| 7cf8a7b0 | 2009-04-21 18:45:59 | Call the main testcases "main", not "legacy". svn:r1210 | ||
| a8f6d961 | 2009-04-17 06:56:09 | Actually stop using EVBUFFER_LENGTH/DATA, and move them to buffer_compat.h svn:r1183 | ||
| 68d0139f | 2009-04-07 04:49:25 | Refactor the zlib and pthreads tests to appear in the regular tinytest tree structure. svn:r1141 | ||
| 71604d85 | 2009-02-10 19:38:25 | Remove some needless includes svn:r1104 | ||
| f9e4e0f9 | 2009-02-03 18:28:53 | Move bufferevent tests to regress_bufferevent.c file. svn:r1101 | ||
| ea4b8724 | 2009-02-02 19:22:13 | checkpoint work on big bufferevent refactoring svn:r1095 | ||
| a30c9eb1 | 2009-02-01 01:07:12 | Move evbuffer tests into their own file. svn:r1087 | ||
| 12e8db5b | 2009-01-31 18:36:47 | Convert evtag test. svn:r1085 | ||
| 5831d11a | 2009-01-31 18:36:37 | Move rpc_test to regress_rpc. svn:r1084 | ||
| fa6ae169 | 2009-01-31 18:36:24 | Convert RPC suite. There are still some places it can exit(1), but those always run forked, so no big deal. svn:r1083 | ||
| eac75f91 | 2009-01-31 07:32:14 | Port DNS tests. svn:r1081 | ||
| 153093ec | 2009-01-30 17:44:13 | Port the HTTP unit tests. Most are still legacy (since they use test_ok so much), but at least they no longer exit(1) on failure svn:r1076 | ||
| 241690b2 | 2009-01-30 17:43:59 | Move util tests to regress_util.c svn:r1075 | ||
| 4e9470b4 | 2009-01-30 17:43:48 | Convert test_evutil_strtoll to new framework. svn:r1074 | ||
| a8203b34 | 2009-01-29 23:19:57 | Refactor unit tests using my spiffy new "tinytest" framework. The big win here is that we can get process-level isolation. This has been tested to work okay on at least Linux and Win32. Only the tests in regress.c have been converted wrapped in the new wrapper functions; the others are still on the old system. svn:r1073 | ||
| cc7a53c1 | 2009-01-29 18:15:36 | fix signed/unsigned warning in unit tests. can we just use "char*" on all new APIs? this void/unsigned char*/char* business is awful. svn:r1071 | ||
| 7dd362b1 | 2009-01-29 15:09:24 | Have util-internal.h define socklen_t if we need it, and include it appropriately. This fixes win32 compilation. svn:r1070 | ||
| 66b2a7ff | 2009-01-29 03:20:40 | test evbuffer_add_reference svn:r1068 | ||
| b85b710c | 2009-01-27 22:34:36 | Update copyright statements to reflect the facts that: a) this is 2009 b) niels and nick have been comaintainers for a while c) saying "all rights reserved" when you then go on to explicitly disclaim some rights is sheer cargo-cultism. svn:r1065 | ||
| 8889a770 | 2009-01-27 22:30:46 | Replace all use of config.h with event-config.h. svn:r1064 | ||
| 9993137c | 2009-01-27 21:10:31 | Remove all trailing whitespace in all the source files. svn:r1063 | ||
| 30653899 | 2009-01-27 16:35:28 | make it so that test_persistent_timeout can call loopexit only once; reported by Alexander Drozdov svn:r1062 | ||
| f20902a2 | 2009-01-22 17:56:15 | Remove evperiodic_assign and its related parts: its functionality is subsumed by EV_PERSIST timeouts. svn:r1040 | ||
| dc1526e0 | 2009-01-22 17:48:16 | Fix warnings on compile: make static functions static. svn:r1037 | ||
| fe72c885 | 2009-01-22 06:23:14 | fix signal processing for non-kqueue backends; when a signal callback delivers a signal; from Alexander Drozdov svn:r1035 | ||
| a077fb8c | 2009-01-22 02:47:35 | rename sys/signal.h to signal.h; configure m4 macro dir; this assist with compilation on Haiku svn:r1033 | ||
| 56ea4687 | 2009-01-22 02:33:38 | Change the semantics of timeouts in conjunction with EV_PERSIST; timeouts in that case will now repeat until deleted. svn:r1032 | ||
| 169321c9 | 2009-01-13 20:26:37 | Rename four internal headers to follow the -internal.h convention. svn:r1000 | ||
| 0d9d5cfe | 2009-01-02 20:46:12 | New functions in evutil to clone inet_pton and inet_ntop, with tests. Adapted from Tor code. svn:r983 | ||
| eed23451 | 2008-12-25 16:20:45 | forgot to re-enable dns tests svn:r978 | ||
| 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 | ||
| ebcf5efc | 2008-12-19 22:42:51 | fix memory leaks in the regression tools; add another close detection test that validates that there are no dangling connections on the server svn:r969 | ||
| 3b24f4ee | 2008-07-25 00:48:30 | another fix; we also need to remove the signal event from the queue svn:r918 | ||
| a4e2f52a | 2008-07-20 23:31:28 | add a signal and free the base for reinit test svn:r915 | ||
| 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 | ||
| 5512be01 | 2008-07-11 15:15:04 | fix a bug where deleting signals with kqueue would delete subsequent adds svn:r899 | ||
| 2f8708db | 2008-06-24 18:04:41 | ifdef out a whole bunch of sections; gettimeofday to evutil_gettimeofday svn:r862 | ||
| 99a1063e | 2008-06-21 02:21:25 | support 64-bit integers in rpc structs svn:r856 | ||
| 9586a1cb | 2008-06-01 16:21:24 | fix an evbuffer corruption when adding an empty evbuffer; from Scott Lamb svn:r845 | ||
| 39400e68 | 2008-05-30 16:56:34 | Patch from Valery Kholodkov: support for edge-triggered events with epoll and kqueue. Changed from original patch: made test into a regression test, with explicit success/failure for edge-triggered and non-edge-triggered cases. Closes SF request 1968284. svn:r840 | ||
| 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 | ||
| 134344b7 | 2008-05-16 01:55:40 | Fix use of freed memory in event_reinit; pointed out by Peter Postma svn:r834 | ||
| 7be8f13b | 2008-05-14 15:56:17 | r19736@catbus: nickm | 2008-05-14 11:50:49 -0400 Add casts to make some printf formats in regress.c happier. svn:r821 | ||
| 0cafdeb6 | 2008-05-12 17:16:47 | Tweaks to make unit tests fail less badly on mingw on trunk. svn:r814 | ||
| c6da86ff | 2008-05-12 16:44:24 | r19709@catbus: nickm | 2008-05-12 12:42:48 -0400 Possible fix for [1960723] snprintf and vsnprintf return values are wrong on win32 svn:r813 | ||
| 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 | ||
| 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 | ||
| caa368e1 | 2008-05-05 19:19:47 | r19610@catbus: nickm | 2008-05-05 15:18:52 -0400 Switch strcmp() tests in test_evbuffer() to use memcmp instead. Previously they broke on my Linux box. svn:r779 | ||
| 4e8a339e | 2008-05-05 15:46:00 | r19602@catbus: nickm | 2008-05-05 11:45:18 -0400 Make most of the tests use the new headers. svn:r776 | ||
| 1d30750b | 2008-05-03 22:10:09 | support for periodic timeouts svn:r762 | ||
| f04497e4 | 2008-05-03 03:05:28 | introduce evbuffer_reserve_space() and evbuffer_commit_space() to make processing in filters more efficient svn:r757 | ||
| ccb70f1b | 2008-04-30 04:31:10 | provide example bufferevent filters doing compression and decompression as additional regression test svn:r751 | ||
| c58a01a2 | 2008-04-30 00:50:20 | fix regression test; oops svn:r749 | ||
| 682adc44 | 2008-04-30 00:09:16 | support input/output filters for bufferevents svn:r748 | ||
| 3a17aeed | 2008-04-26 01:00:44 | fix a bug in buffrevent read water marks and add a test for them svn:r731 | ||
| 89f63b20 | 2008-04-25 02:44:46 | add bufferevent_read_buffer function svn:r728 | ||
| 193c06a7 | 2008-03-31 02:04:34 | fix a bug in which evbuffer_add_vfprintf would loop forever; avoid fragmentation in evbuffer_expand by increasing the size of the last buffer in the chain; as a result with have to keep track of the previous_to_last chain; provide a evbuffer_validate() function in the regression test to make sure that all evbuffer are internally consistent. svn:r699 | ||
| 558de9b3 | 2008-03-02 21:18:33 | Provide OpenSSL style support for multiple threads accessing the same event_base svn:r684 | ||
| 0e7cbe65 | 2008-02-28 17:38:52 | r18482@catbus: nickm | 2008-02-28 12:38:40 -0500 Fix GCC 4.2 warnings; fix includes in subdirs. svn:r675 | ||
| 5c70ea4c | 2008-02-28 02:47:43 | improved code for evbuffer; avoids memcpy svn:r674 | ||
| bd31d00f | 2008-02-26 04:54:19 | move signal callbacks closer to test code svn:r670 | ||
| 67bf29ad | 2008-02-23 06:02:04 | simplify evbuffer by removing orig_buffer svn:r654 | ||
| 11230f7e | 2008-02-18 20:04:01 | r18145@catbus: nickm | 2008-02-18 15:02:20 -0500 Stop using deprecated autoconf code to set integer types; detect actual files to include more thoroughly. This should make us work on solaris 9 again. This should be a backport candidate, if it works. Also, make all libevent code use ev_uint32_t etc, rather than uint_32_t. svn:r649 | ||
| 807ab182 | 2008-02-16 20:49:47 | r14211@tombo: nickm | 2008-02-16 15:28:54 -0500 Add new evutil_strtoll() function so we can apply 64-bit content-length patch from Scott Lamb in a portable way. svn:r640 | ||
| 8c66d4e2 | 2008-01-26 07:29:57 | remove pending timeouts on event_base_free svn:r627 | ||
| 7e3a7af7 | 2007-12-24 23:59:41 | support string arrays in event_rpcgen svn:r613 | ||
| 68725dc8 | 2007-12-23 07:38:11 | support integer arrays in rpc structures; this involved some refactoring of the event_rpcgen code, so that other types should be able to get arrays fairly easily svn:r609 | ||
| a5176a65 | 2007-12-20 22:45:30 | Fix a win32 warning in regress.c svn:r608 | ||
| d4bdbca8 | 2007-12-18 03:54:19 | add -Wstrict-aliasing and remove bogus evtag_test from event.h svn:r602 | ||
| d56a34e4 | 2007-12-16 19:33:52 | r16991@catbus: nickm | 2007-12-06 15:05:56 -0500 Move event_init in regress.c to the function that actually messed up the current_base value. svn:r598 | ||
| ffd606cd | 2007-12-13 06:14:18 | prefix {encode,decode}_tag functions with evtag to avoid collisions svn:r587 | ||
| ba487199 | 2007-12-12 04:39:42 | support for 32-bit tag numbers in rpc structures svn:r583 | ||
| fa89d661 | 2007-12-06 19:40:49 | Adjust more unit tests to pass on win32. svn:r580 | ||
| 1e435af1 | 2007-12-06 18:12:44 | r15170@tombo: nickm | 2007-12-06 12:38:03 -0500 Fix a warning in regress.c svn:r572 | ||
| 60103d25 | 2007-12-01 16:36:00 | remove duplicate submit of test_evbuffer_readln svn:r569 | ||
| 395dd198 | 2007-12-01 09:30:07 | r15096@tombo: nickm | 2007-12-01 04:29:39 -0500 Test for corner-cases of re-adding non-persistent events from one another's handlers svn:r568 | ||
| d73cf1e1 | 2007-12-01 09:29:52 | svn:r567 | ||
| eeb5e4cd | 2007-11-29 02:52:32 | a bug in the regression test of event_reinit caused epoll to fail svn:r560 | ||
| e2e4cf1f | 2007-11-27 06:11:28 | more complete test for forking behavior svn:r556 |