kc3-lang/libevent/event.h

Branch :


Log

Author Commit Date CI Message
b04cc60f 2009-11-23 12:55:50 Backport evbuffer_readln(). This is necessary because it is not actually possible to use evbuffer_readline() safely: it will treat "A\r\n" as 'A' EOL if it reads it all at once, and as 'A' EOL EOL if there is a delay between reading the \r and the \n. Nicholas Marriott's comments on this patch: Gilles is too busy so I've had a go at this, please see the diff below. Rather than try to backport directly from 2.0 where the evbuffer code is quite different, I've backported the _readln function from when it was initially added in buffer.c r550. I can't see any relevant bug fixes after this point so the function is pretty much just copied in directly from that revision.
f76b599d 2009-11-16 19:21:25 Fix 1.4 compilation on msvc, and add a couple of minimal (not-quite-right) nmakefiles. svn:r1534
64b3a571 2009-03-30 17:36:59 correct evbuffer_drain documentation from John Khvatov svn:r1128
9ce23feb 2008-05-17 02:19:21 constify struct timeval * svn:r837
d58a0a7c 2008-05-04 00:52:57 revert to maintain stability: from trunk: separate signal events from io events svn:r764
974a7543 2008-05-03 21:40:32 from trunk: separate signal events from io events svn:r761
8c4529c5 2008-04-27 20:45:57 from trunk: introduce bufferevent_setcb and bufferevent_setfd to allow better manipulation of bufferevents svn:r738
47abd3ea 2008-04-26 00:38:36 from trunk: expose bufferevent_setwatermark via header files and fix high watermark on read svn:r730
a63db431 2008-04-10 19:24:25 r19300@catbus: nickm | 2008-04-10 14:54:25 -0400 Correct the documentation on evbuffer_add_[v]printf: Fix for bug 1914464 svn:r704
fccf4489 2008-02-20 21:53:33 from trunk: update event_base_loop documentation; from Tani Hosokawa svn:r653
72ae0a2e 2008-02-16 06:10:52 from trunk: event_base_get_method; from Springande Ulv svn:r636
108ee5f3 2007-12-19 04:52:28 from trunk: 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:r603
3368cc79 2007-12-18 03:50:04 from trunk: 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:r601
5bb67a80 2007-12-15 02:55:59 from trunk: support for 32-bit tag numbers in rpc structures svn:r593
eecd6932 2007-12-12 06:26:07 from trunk: Patch from Scott Lamb: Implement event_{base_}loopbreak. Includes documentation and tests. From sf.net Feature Request 1826546. svn:r584
7717cec7 2007-11-27 06:15:36 from trunk: provide event_reinit() to reinitialized an event_base after fork - necessary for epoll/kqueue svn:r557
2604377f 2007-11-17 22:23:03 r14929@tombo: nickm | 2007-11-17 17:00:31 -0500 Backport documentation fix on loopexit from Scott Lamb. svn:r536
9e060775 2007-11-17 01:33:35 from trunk: use a const pointer for bufferevent_write svn:r532
a060b24c 2007-11-14 17:53:43 from trunk: provide event_base_new() without setting current_base global svn:r530
6b4342db 2007-11-12 02:37:25 copy trunk to 1.4 svn:r512