kc3-lang/libevent

Branch :


Log

Author Commit Date CI Message
fd418645 2007-12-06 19:36:49 Add winsock init functions to bench.c so it can run on win32. svn:r579
9cc67e5f 2007-12-06 19:35:55 Compile regression tests by default even on win32. svn:r578
77861fa7 2007-12-06 19:20:24 r16931@catbus: nickm | 2007-12-06 14:19:58 -0500 Fix warnings in debug messages svn:r577
cd666f80 2007-12-06 19:18:14 Debug new win32 code: make bufferevents test pass. svn:r576
78d0de30 2007-12-06 18:38:50 Fix compile warnings and errors in win32 build. svn:r575
2e2104f4 2007-12-06 18:13:03 r15172@tombo: nickm | 2007-12-06 12:54:37 -0500 Rewrite win32.c to use a red-black tree to map sockets to events. This changes the performance from O(N^2) to O(N lg N). Needs testing. (This was made possible by recent changes to the implementation of non-persistent events.) svn:r574
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
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
5482192b 2007-12-06 04:36:18 r15166@tombo: nickm | 2007-12-05 23:35:10 -0500 Apply patch from bug 1841036: set the base of the correct event in evhttp_connection_start_detectclose() svn:r571
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
876c3af7 2007-11-30 02:21:33 add another benchmark that tests cascading events svn:r566
74b3db50 2007-11-29 06:08:24 always generate Date and Content-Length headers for HTTP/1.1 svn:r564
f175befa 2007-11-29 04:03:36 small improvements to evhttp documentation svn:r562
eeb5e4cd 2007-11-29 02:52:32 a bug in the regression test of event_reinit caused epoll to fail svn:r560
ef085e84 2007-11-27 06:45:25 we need to pass the evbase to evsel->add svn:r558
e2e4cf1f 2007-11-27 06:11:28 more complete test for forking behavior svn:r556
5f3e3159 2007-11-27 01:39:10 move EV_PERSIST handling out of the event backends svn:r555
a7a7a190 2007-11-26 19:25:09 r16735@catbus: nickm | 2007-11-26 14:24:58 -0500 Fix test for EVBUFFER_LENGTH in evhttp_make_header(). Since appending an empty buffer to another is a no-op, this is not really a bug-fix. svn:r554
ce4ee418 2007-11-26 19:18:49 r16733@catbus: nickm | 2007-11-26 14:18:25 -0500 Add an --enable-gcc-warnings option (lifted from Tor) to the configure script. When provided, and when we are using GCC, we enable a bunch of extra GCC warnings in the compiler. Also, make the code all build happily with these warnings. svn:r553
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
cbf9cfdf 2007-11-25 21:35:02 r16729@catbus: nickm | 2007-11-25 16:34:50 -0500 Add missing changelog entry for last commit. svn:r551
6773a597 2007-11-25 21:32:26 r14953@tombo: nickm | 2007-11-25 15:56:40 -0500 Replace evbuffer_readline with a more powerful evbuffer_readln that can handle more EOL styles, and that can give useful results when there are NUL characters inside the returned values. Includes regression tests. svn:r550
ab010e16 2007-11-25 21:32:15 r14952@tombo: nickm | 2007-11-25 14:47:45 -0500 Fix an unused variable warning. svn:r549
d1ad9403 2007-11-25 21:28:51 svn:r547
fa95fe46 2007-11-25 21:28:43 r16704@catbus: nickm | 2007-11-19 15:58:54 -0500 Check return value of event_add in signal.c svn:r546
2823cb05 2007-11-25 17:15:28 r14944@tombo: nickm | 2007-11-25 12:12:28 -0500 Make kqueue pass more unit tests. svn:r544
566ca340 2007-11-25 17:15:17 svn:r543
555e300a 2007-11-25 17:14:24 r14940@tombo: nickm | 2007-11-25 12:01:37 -0500 New mm-internal.h header that includes internal memory management functions. svn:r542
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
8c3396b0 2007-11-22 16:41:29 r14935@tombo: nickm | 2007-11-22 11:36:54 -0500 Always set test_ok to zero after finishing a test, and before starting one. This turns up some failures we had been missing. svn:r537
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
70248ca8 2007-11-17 22:21:33 r14930@tombo: nickm | 2007-11-17 17:01:14 -0500 documentation fix on loopexit and elsewhere from Scott Lamb. svn:r534
af6f331a 2007-11-17 01:32:30 use a const pointer for bufferevent_write svn:r531
f586f428 2007-11-14 17:52:21 provide event_base_new() as a mechanism for not setting the current_global svn:r529
56934d5d 2007-11-13 17:36:58 debug cleanups in signal.c; from Christopher Layne svn:r527
d50afbb3 2007-11-13 03:32:10 free minheap; from Christopher Layne svn:r525
d1e03054 2007-11-12 07:34:29 clean up event-config.h to fix make distcheck; from sourceforge tracker svn:r521
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
568095bf 2007-11-12 05:34:10 srcdir for verify; from Christopher Layne svn:r516
7add3d36 2007-11-12 02:44:02 stick autogen.sh into EXTRA_DIST svn:r515
df667b96 2007-11-12 02:32:35 we no longer need acconfig.h svn:r510
4a1a2e0d 2007-11-12 02:31:07 Make the logic for active events work better with internal events; patch from Christopher Layne svn:r509
bbed0954 2007-11-11 03:05:03 revert r505; it introduced errors in epoll svn:r508
97917e68 2007-11-10 07:49:13 r16588@catbus: nickm | 2007-11-10 02:47:14 -0500 Another include for sample. Patch from Christopher Layne. svn:r507
321dfd55 2007-11-10 05:18:17 r16585@catbus: nickm | 2007-11-10 00:16:11 -0500 Patch from Christopher Layne: Make event_del() restore previous signal handlers, not the default. svn:r506
9f0f3d6d 2007-11-10 05:18:11 r16584@catbus: nickm | 2007-11-10 00:00:59 -0500 Patch from Christopher Lane: reduce branch count in epoll_dispatch.c and generally improve clarity. svn:r505
cabcd62f 2007-11-08 17:36:28 r16578@catbus: nickm | 2007-11-08 12:34:51 -0500 The == operator in shell is a bash-ism; do not use it in autogen.sh svn:r503
8fd2124e 2007-11-07 22:57:08 r16556@catbus: nickm | 2007-11-07 17:55:39 -0500 MSVC6 does not seem to define a useful "what is the name of this function" macro svn:r502
74e5e8f4 2007-11-07 22:35:15 r16554@catbus: nickm | 2007-11-07 17:33:49 -0500 Mention autogen.sh in the README, now that we are more vocally encouraging people to try svn. svn:r501
92cd548f 2007-11-07 21:14:04 r16544@catbus: nickm | 2007-11-07 16:12:37 -0500 Oops; forgot the log entry. svn:r500
4e1ec3e0 2007-11-07 21:01:26 Make all the C files in the libraries compile under MSVC 2005 Express. There are still a few warnings, and probably some subtle issues, but it's better than nothing. svn:r499
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
e72661d2 2007-11-07 07:33:31 r16509@catbus: nickm | 2007-11-07 02:08:32 -0500 Stop using C++ style comments. svn:r497
1f50f412 2007-11-07 07:33:26 r16508@catbus: nickm | 2007-11-07 02:01:03 -0500 Note a dubious point in http.c svn:r496
7feba570 2007-11-07 07:33:21 r16507@catbus: nickm | 2007-11-07 01:34:55 -0500 Never assign a string constant to a non-const char *. svn:r495
a3f122d6 2007-11-07 07:33:16 r16506@catbus: nickm | 2007-11-07 01:29:59 -0500 Make all rpc and http functions not prototyped in evrpc.h and evhttp.h into static functions. I believe that these functions were meant to be private, yes? svn:r494
79485724 2007-11-07 06:07:54 Remove spurious #include <sys/tree.h> in win32.c. svn:r493
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
d0ce7d4e 2007-11-07 06:01:45 r16500@catbus: nickm | 2007-11-07 00:27:44 -0500 Remove from the (deprecated) acconfig.h file stubs that are already generated by autoheader. svn:r491
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
29420339 2007-11-07 05:02:14 r16496@catbus: nickm | 2007-11-06 23:58:52 -0500 Clarify some doxygen in event.h svn:r489
bab0e6d4 2007-11-07 04:28:54 r16492@catbus: nickm | 2007-11-06 23:27:32 -0500 Fix unit tests so that an outdated nameserver means "Skip IPv6 tests", not "Abort." svn:r487
7c507668 2007-11-07 03:52:20 r16489@catbus: nickm | 2007-11-06 22:51:05 -0500 Do not use "class" as identifier in evdns.h; but use a backward-compatible fix. (Should fix bug 1826515, originally reported by Roger Clark) svn:r486
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
4555f755 2007-11-07 03:25:03 remove tree.h from EXTRA_DIST; from Charles Kerr svn:r484
3c1bbca6 2007-11-07 02:30:17 r14744@tombo: nickm | 2007-11-06 21:30:11 -0500 Fix coding error: patch from Charles Kerr. svn:r483
a5271518 2007-11-07 01:48:44 make event_init should return struct event_base * svn:r481
81802bf9 2007-11-06 20:57:37 r16473@catbus: nickm | 2007-11-06 15:55:35 -0500 Increment MAX_ADDRS in evdns so as to be quite large. This is not as good as a general solution, but it may be good enough for practical use. svn:r479
d257a4c0 2007-11-06 20:57:32 r16454@catbus: nickm | 2007-11-06 09:59:45 -0500 Small code cleanups in epoll_dispatch(): remove a needless variable and some redundant conditionals. svn:r478
d7d91461 2007-11-06 03:04:49 r14732@tombo: nickm | 2007-11-05 22:03:28 -0500 Quick hack to make evhttp.h build when there is no TAILQ to be found. Based on patch from Paul Fisher. We could perhaps do this more elegantly, but it _does_ need to be done. svn:r475
dc2317f9 2007-11-04 06:35:29 improve doxygen documentation svn:r473
1bcb112b 2007-11-04 02:21:31 r14698@tombo: nickm | 2007-11-03 22:20:23 -0400 Use libtool versioning correctly. Add comment to Makefile.am explaining how to keep this working. svn:r472
22bd8b00 2007-11-03 23:54:27 remove last vestiges of RBTREE svn:r471
2026b215 2007-11-03 23:53:49 remove last vestiges of RBTREE svn:r470
88173102 2007-11-03 23:45:38 split libevent into two extra libraries libevent_core and libevent_extra svn:r469
1d3a008a 2007-11-03 22:51:26 provide hooks for outgoing pools; associate a base with a pool svn:r468
30ae40cc 2007-11-03 18:04:53 switch timeouts to a min heap; from Maxim Yegorushkin svn:r467
65236aa8 2007-11-02 06:34:04 simple hooks for processing incoming and outgoing rpcs svn:r466
18ac9248 2007-10-27 17:50:07 Solaris event port improvements svn:r464
ccdc5990 2007-10-18 17:49:52 r15922@catbus: nickm | 2007-10-18 13:48:46 -0400 Patch to event.3 from Christopher Lane. svn:r463
c91794e2 2007-10-12 18:02:56 Instead of read/write in regress.c, use send/recv. Now all of the win32 regression tests pass, except for http and rpc. svn:r461
e1f09dfe 2007-10-12 17:55:37 Fix evutil code to use correct EVUTIL_SET_SOCKET_ERROR macro. svn:r460
49ede3be 2007-10-03 17:19:22 r15517@catbus: nickm | 2007-10-03 13:14:05 -0400 Correct the pointer manipulation in fake_getaddrinfo(), and do the right thing for fake_getaddrinfo(NULL,&ai). Based on a patch by Lubmir Marinov, hacked until the unit tests passed on Linux with #undef HAVE_GETADDRINFO. svn:r459
bc7b7c24 2007-10-03 04:14:54 Fix implementation of strsep. svn:r457
4ed48673 2007-10-02 19:11:41 r15496@catbus: nickm | 2007-10-02 15:06:22 -0400 Move end of "extern C {" block to the end of evdns.h. svn:r456
3550be93 2007-09-25 15:50:50 r15331@catbus: nickm | 2007-09-25 11:46:52 -0400 Add EVPORT to test.sh script. Patch from Trond Norbye. svn:r454
fe482977 2007-09-24 16:26:11 r15324@catbus: nickm | 2007-09-24 12:22:21 -0400 New evutil.h macros to manipulate winsock errors. Use them in http.c and in evutil_socketpair(). svn:r451
3c1a6a68 2007-09-23 03:49:28 first attempts at refactoring this code to make it more readable; mostly changing to dictionaries for format strings svn:r450
a4cc3d14 2007-09-22 23:57:11 rename the rpc member from kill to attack; that way the structure does not have the same name. might find some bugs. svn:r449
db43c1e1 2007-09-20 19:36:03 On win32, sockets apparently can't be used with ReadFile and WriteFile: You need send() and recv() instead. Also, you need to use ioctlsocket() with sockets, not ioctl. [Fixes evbuffer regression tests.] svn:r448
1e1f77c5 2007-09-20 19:08:20 Make the test/ subdirectory buildable under Windows. Well, mingw at least. The tests still don't all pass, but at least now we know that. svn:r447
d85bce4e 2007-09-20 18:38:31 Remove gratuitous tor-isms in evutil_socketpair(); fix a windows warning in http.c. svn:r446
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
5a0d671f 2007-09-20 18:26:56 r15219@catbus: nickm | 2007-09-20 14:17:32 -0400 Apply patch from Trond Norbye with recommendations from Magne Mahre and Hannah Schroeter: make autogen.sh work on systems where /bin/sh is not bash. svn:r444
8b256b8e 2007-09-20 18:26:51 r15218@catbus: nickm | 2007-09-20 14:14:05 -0400 More win32 fixes: Use evutil_make_socket_nonblocking and EVUTIL_CLOSESOCKET consistently throughout the code. svn:r443
f0e06d75 2007-09-20 18:26:46 r15217@catbus: nickm | 2007-09-20 14:04:32 -0400 Fix win32 signals: teach win32 that we have per-base signal queues; teach signal.c that not everybody has sigaction(). svn:r442