kc3-lang/libevent/test/regress.c

Branch :


Log

Author Commit Date CI Message
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
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
22bd8b00 2007-11-03 23:54:27 remove last vestiges of RBTREE svn:r471
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
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
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
8ee20a3f 2007-09-09 02:15:34 fix memory leaks/unitialized memory found by valgrind svn:r418
e678f009 2007-09-09 01:46:35 fix a couple memory leaks; time buffer marshaling svn:r417
9c3ac4e4 2007-09-07 00:10:15 r14970@catbus: nickm | 2007-09-06 20:09:39 -0400 Fix compilation on Solaris; Patch from Magne Mahre. svn:r409
67947ce3 2007-08-19 02:41:23 provide evhttp_new and evhttp_bind_socket instead of evhttp_start; using evhttp_new, it is possible to associate an event_base with the http server so that multi-threaded applications can have their own http server per thread; add appropriate testing. svn:r397
35983cd6 2007-08-16 21:12:53 r14618@catbus: nickm | 2007-08-16 17:11:47 -0400 In ANSI C, int func() is a function with unspecified arguments, whereas int func(void) is a function that takes no arguments. Using int func() to mean a function with no arguments is a C++ism, so let's not use or generate it. svn:r395
21a7e7ed 2007-08-10 15:59:31 r14498@catbus: nickm | 2007-08-10 11:58:32 -0400 Fix compilation warnings in trunk on linux with gcc 4.1.2. In time-test.c, always include time.h, so that time() is defined. In test/Makefile.am, put -I../compat in CPPFLAGS, and fix a typo. In test/regress.c, cast unsigned char pointers to char* before passing them to str[n]cmp. svn:r385
72c479e7 2007-07-30 23:54:25 remove c99 variable declarations; from Jan Kneschke svn:r374
f0ff792a 2007-06-30 18:58:34 fixes from Joerg Sonnenberger: http.c is a violation of the ctype(3) interface and an unused function. test/regress_http.c are incorrect format strings. test/regress.c uses raise(3) from signal.h. evdns.c: evdns_error_strings is unused. The GET* macros can eat the semicolon from the expression. pos is passed in as off_t, so just pass that down. When assigning negativ values to unsigned variables, an explicit cast is considered good style. svn:r367
621a1b29 2007-05-23 05:31:33 support freeing of evrpc base svn:r356
4408a5f8 2007-04-19 03:13:12 fix evbuffer_find off by one; found by Ken Cox; regression test by him and fix by me svn:r353
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
8d94bd03 2007-02-28 04:29:18 signal fixes from scott lamb svn:r340
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
f554234f 2006-11-16 07:36:20 first stab at an rpc layer; this breaks the regression test. svn:r254
64c76fbe 2006-09-03 21:12:59 typo in kqueue delete; from Bert JW Regeer svn:r232
07c3fb50 2006-08-27 20:04:20 add a simple regression test for the DNS resolver; requires internet access. do some KNF on evdns.c; add checks to prevent potential buffer overflows. fix one memory leak. svn:r230
6813af3f 2006-06-10 22:37:21 move http related prototypes to evhttp.h svn:r214
147b71e3 2006-06-10 22:28:21 rename http.h to http-internal.h - i wish there were decent refactoring tools for open source programmers. svn:r213
60192b46 2006-02-26 20:18:35 improved/well-completely rewritten rtsig support by Mathew Mills; fix some cases where regress would not pass on Linux svn:r204
a3bb4a03 2006-01-22 05:08:50 I often need some very simple HTTP functionality, so this is a first stab at integrating something really simple with HTTP. The interface is still evolving as I start messing with it. Not all the interfaces are properly exported yet. I am also trying to figure out how to intelligently hide the details about the different structures from users, so that that things can be changed around later. svn:r196
139e862e 2005-12-17 20:15:25 do not remove kq inkernel flag before event_del gets to it; bug reported by Tassilo von Parseval; also add a test for this behavior. svn:r190
8d1317d7 2005-12-06 03:26:28 add evbuffer_add_vprintf interface from artur grabowski; add some testing svn:r188
50f7aaef 2005-09-09 06:56:12 make it compile on mac os x svn:r183
3b9b3f6b 2005-09-02 05:34:14 don't spam on stderr svn:r182
b4ab56dc 2005-08-28 23:48:16 support for arrays on structs. svn:r178
c4e60994 2005-08-22 01:34:34 including the tagging code that is required by event_rpcgen.py; test the new functionality. svn:r172
bc9b2487 2005-04-04 00:10:17 make it compile on solaris svn:r142
1e128e2d 2005-04-03 07:46:27 fix bug that broke poll/select stuff svn:r141
d85d47f8 2005-03-29 07:16:52 devpoll improvements from Andrew Danforth <adanforth@gmail.com> svn:r137
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
98c14269 2004-07-30 05:03:55 fix compiler warning svn:r115
d829ccea 2004-07-30 05:00:44 fix a warning on freebsd; svn:r114
06aaa92f 2004-07-30 04:57:21 devpoll support svn:r113
ee739151 2004-07-13 08:01:05 make the sockets non-blocking; increase the data size for bufferevent testing svn:r109
025d1bc2 2004-05-24 00:19:52 fix some of the windows compile issues; make buffer.c faster; support signals via pipes. svn:r105
57a51a16 2004-04-04 02:19:08 provide more regression tests svn:r98
98af43a3 2003-10-04 23:33:04 3-clause license and changes to the benchmark by davide svn:r85
34d794b2 2003-03-09 23:29:57 some cleanup svn:r56
adf0bb84 2003-03-08 20:14:39 another test svn:r53
33b1c6c4 2003-03-08 14:44:08 include config.h svn:r49
481799af 2003-03-08 14:21:14 add persist test svn:r47
bedded82 2003-03-08 06:39:30 more comprehensive regression test svn:r46