kc3-lang/libevent

Branch :


Log

Author Commit Date CI Message
b07940ce 2011-07-05 14:58:35 Merge remote-tracking branch 'origin/patches-2.0'
d5bd604a 2011-07-05 14:57:08 Add doxygen to .gitignore
caf695af 2011-07-05 14:55:09 Fix up test_evutil_snprintf
af6a05f7 2011-07-05 14:51:24 Merge remote-tracking branch 'github/20_size_fmt' into patches-2.0
16bacbc5 2011-07-05 14:43:24 Fix a test-call accidentally in the last commit
cd74c4ec 2011-07-05 14:41:46 More abstraction in test.sh
21be3dff 2011-07-05 14:38:21 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: include/event2/buffer.h include/event2/thread.h include/event2/util.h
341e1b03 2011-07-05 13:04:30 Merge branch 'doxygen' into patches-2.0
aea0555b 2011-07-04 23:14:19 Update Doxyfile to produce more useful output
2888facc 2011-07-04 23:02:11 Revise the event/evbuffer/bufferevent doxygen for clarity and accuracy
1fb5cc68 2011-07-05 00:36:09 Use "unlimited select" on OSX so that we can have more than FD_SETSIZE fds
71349d08 2011-07-05 00:35:35 Merge remote-tracking branch 'origin/patches-2.0'
49d11362 2011-07-05 00:11:59 Fix select.c compilation on systems with no NFDBITS
78fb99ce 2011-07-04 12:22:54 Merge remote-tracking branch 'origin/patches-2.0'
e7fe9270 2011-07-04 12:16:08 Merge remote-tracking branch 'github/20_global_locks_init' into patches-2.0
c3d36285 2011-07-04 11:48:41 Merge remote-tracking branch 'origin/patches-2.0'
f87f5689 2011-07-04 11:47:24 Speed up invoke_callbacks on evbuffers when there are no callbacks This fixes a performance regression against 1.4
c116d960 2011-07-04 11:37:52 Merge remote-tracking branch 'origin/patches-2.0'
e050703d 2011-07-04 11:36:14 Fix bug in SSL bufferevents backed by a bev with a write high-watermarks Original mail: the logic that handles write watermarks in "bio_bufferevent_write" is not working. It currently doesn't write any data if the high watermark is *above* the amount of data to write (i.e. when there is actually enough room available).
2bbed8fe 2011-07-02 21:50:49 Merge remote-tracking branch 'origin/patches-2.0'
8ee9f9c1 2011-07-02 21:49:07 Fix a few warnings on OpenBSD - redeclaration of dst_size - arpa/inet.h requires netinet/in.h first - don't use a local with the same name as a global - it isn't needed so remove it
e9340964 2011-06-22 11:22:35 Fix AIX build issue with TAILQ_FOREACH definition Reported by Lawnstein Chan.
722207ff 2011-06-21 10:07:04 Merge remote-tracking branch 'origin/patches-2.0'
e23cda3d 2011-06-21 10:05:28 Don't install event_rpcgen.py when --disable-libevent-install is used
89def539 2011-06-16 13:28:40 Merge remote-tracking branch 'origin/patches-2.0'
79ff78d2 2011-06-16 13:19:43 Merge branch '20_kqueue_badf' into patches-2.0
33124033 2011-06-14 15:15:43 Merge remote-tracking branch 'origin/patches-2.0'
b031adf1 2011-06-14 14:37:49 Don't break when building tests from git without python installed
e9d095d4 2011-06-11 01:41:19 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: test/tinytest.c
812d42e8 2011-06-11 01:26:54 Simplify windows commandname logic in tinytest Instead of using a dup'd pointer, let's use a static array, so we don't need to free it. This patch also makes tinytest build on non-windows again.
57def346 2011-06-11 00:49:24 Fix tinytest invocation from windows shell Original post: This post is in response to a posting last December on a Windows regression fork failure ([Libevent-users] Re: Libevent 2.0.10-stable is released by Dongsheng Song). I noticed the question was not answered and I recently experienced the same error myself when trying to run the Windows regression tests myself. I checked the return status from the CreateProcess call and found it was "file not found". This led me to look at the command-line I was using which was .\regress in a Visual Studio 2008 command prompt window. Windows could not find the file because it did not have the .exe extension on the end. The code that builds the command should be modified to ensure the extension is present.
4df9b433 2011-06-08 17:38:17 Merge remote-tracking branch 'origin/patches-2.0'
3203f88c 2011-06-08 17:18:03 Use the correct printf args when formatting size_t Based on a patch from Mansour Moufid
446cc7a0 2011-05-27 18:40:31 Check if the `evhttp_new_object' function in `http.c' returns NULL.
1fd34ab4 2011-06-08 14:56:19 Report kqueue ebadf, epipe, and eperm as EV_READ events When asked to add one side of a pipe, and the other side has been closed, kqueue on NetBSD will say EBADF; kqueue on FreeBSD will say EPIPE, and kqueue on OpenBSD will say EPERM. So treat all of these as EV_READ events, to give the user an opportunity to notice that the pipe is closed. Diagnosed by Nicholas Marriott and Dale Rahn; based on a patch by Nicholas Marriott.
5099d858 2011-06-08 14:29:36 Merge remote-tracking branch 'origin/patches-2.0'
09fe97da 2011-06-08 14:24:45 Replace an assertion for event_base_free(NULL) with a check-and-warn event_base_free(NULL) means "free the current event base". Previously, it would assert if there was no 'current' base. Now it just warns and returns. Reported by Gilad Benjamini
89d5e09e 2011-06-08 14:18:41 Add some missing checks for mm_calloc failures Found by Gilad Benjamini
d19a3260 2011-06-08 13:32:47 Remove a needless branch in evbuffer_drain() Found by Gilad Benjamini; see June 2011 thread "Dead or wrong code".
d927965f 2011-06-06 15:33:27 Fix a bug in the improved EOL_CRLF code When searching for a CRLF, it would find an LF, then look for a preceding CR if not at the start of the buffer. That's fine when we're starting from the beginning of the buffer, but if we're starting at (say) byte 100, and we have that byte == LF, we shouldn't check for a CR at byte 99.
264c7b96 2011-06-06 15:26:37 Merge remote-tracking branch 'origin/patches-2.0'
4461f1a0 2011-06-06 15:11:28 Fix incorrect results from evbuffer_search_eol(EOL_LF) Our evbuffer_strchr() function [which was only used for search_eol(EOL_LF) could give incorrect results if it found its answer in the first chunk but didn't start searching from the front of the chunk. Also, this patch adds unit tests for evbuffer_search_eol, particularly in those cases that evbuffer_readln() tests didn't exercise.
e40bafe7 2011-06-04 21:40:55 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: Makefile.am WIN32-Code/event2/event-config.h configure.in test/regress_ssl.c
60c1426f 2011-06-04 21:36:34 Bump version to 2.0.12-stable-dev
281ab5c5 2011-06-04 21:12:53 Merge branch 'patches-2.0' of ssh://levent.git.sourceforge.net/gitroot/levent/libevent into patches-2.0
452a8342 2011-06-04 21:11:09 tweak date on changelog
be5e8575 2011-06-04 10:34:14 Merge branch 'patches-2.0' of ssh://levent.git.sourceforge.net/gitroot/levent/libevent into patches-2.0
c3555837 2011-06-03 17:08:30 Changelog and new credits for 2.0.12-stable
7283facd 2011-06-03 17:08:14 Bump version to 2.0.12-stable. Not release just yet
bdfb8330 2011-06-03 17:06:17 Fix regress_ssl.c build on openbsd
8254de76 2011-06-02 17:07:40 Fix windows file segment mappings Instead of mapping enough bytes for each segment, we were failing to take into account the slop created by rounding the segment position down to the nearest page. Should fix bug 3142394 found by Sebastian Hahn.
27ce38b6 2011-06-01 17:27:28 Avoid a segfault when all methods are disabled or broken
7b9d1395 2011-06-01 14:19:13 Try to squeeze a little more speed out of EVBUFFER_EOL_CRLF
25fe3829 2011-06-01 14:02:56 Merge remote-tracking branch 'github/master'
d70dd220 2011-06-01 11:02:48 Merge pull request #17 from minaguib/master Improve speed of EVBUFFER_EOL_CRLF
36f745df 2011-06-01 13:52:27 Merge remote-tracking branch 'origin/patches-2.0'
d54d3fc4 2011-06-01 13:48:02 cygwin: make it possible to build DLLs Patch from Brian Koehmstedt
5dde0f04 2011-05-31 13:56:56 Roughly 20% speed increase when line-draining a buffer using EVBUFFER_EOL_CRLF
5926d601 2011-05-30 12:10:26 Merge branch '21_evport_improved'
0dca19bb 2011-05-30 12:09:18 Merge remote-tracking branch 'origin/patches-2.0'
87c0dff6 2011-05-30 12:06:36 Merge branch '20_select_nfds' into patches-2.0
d90149d4 2011-05-30 11:53:19 Fix a fencepost bug in the select backend This bug would sometimes lead us to looking one bit off the end of the fdset arrays, and trying to activate a (nonexistent) event if that bit was set. Found by Harlann Stenn. Fixes a test failure on OpenSolaris.
257651a4 2011-05-27 23:33:40 Merge remote-tracking branch 'origin/patches-2.0'
f47c15e7 2011-05-27 23:28:17 Make the new http_connect_fail_test use a multicast addr, not broadcast Turns out that FreeBSD does _not_ give a ENETUNREACH error when told to make a TCP socket to 255.255.255.255, but it is quite happy to do so for 239.10.20.30. So that's what we'll do. Found by Robert Ransom and Dave Hart.
942e2268 2011-05-27 23:19:11 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: evthread_win32.c listener.c
816115a1 2011-05-26 10:10:57 InitializeCriticalSectionAndSpinCount requires _WIN32_WINNT >= 0x0403.
94b8e676 2011-05-27 22:54:16 Allow base-notification functions to exist without setting an fd The kqueue and evport backends can make good use of this.
e903db33 2011-05-27 15:31:40 Reenable main/many_events_slow_add for evport in 2.1 The various evport fixes should let it actually work again
c04d9276 2011-05-27 14:41:24 evport: Remove artificial low limit on max events per getn call Previously, evport could only handle up to 8 events per time through the loop. This would impose an artificially high number of syscalls on us to retrieve a large number of events. This code allows the EVLOOP_* flags to work more similarly to how they do on other platforms (up to 4096 events per syscall). Dispite dire warning (from 2006), doing this won't impose a big incremental RAM penalty: if you have 4096 events firing at once, you necessarily have a proportional number of events pending, and their associated data structures are already costing a good bit of RAM. This patch makes the main/many_events_slow_add test pass again.
849a5cff 2011-05-27 14:28:39 evport: don't scan more events in ed_pending than needed
276ec0ef 2011-05-27 14:22:50 evport: Use portev_user to remember fdinfo struct
0f77efef 2011-05-27 14:15:32 evport: Remove a linear search over recent events when reactivating them
4687ce4f 2011-05-27 13:44:41 evport: use evmap_io to track fdinfo status. Should save time and RAM.
356720a2 2011-05-27 15:09:54 Merge remote-tracking branch 'origin/patches-2.0'
203ba274 2011-05-27 15:08:25 Fix a couple of signed/unsigned warnings in http.c
c11c6fcd 2011-05-27 14:57:55 Disable main/many_events_slow_add with evport backend In 2.0 and earlier, evport only reports up to 8 events at a time, which confuses this test badly.
29e5f7ea 2011-05-26 17:45:54 Merge remote-tracking branch 'origin/patches-2.0'
dbb3c652 2011-05-26 17:43:17 Fix compilation.
f0c9b51c 2011-05-26 17:34:15 Merge branch 'intcmp_overflow_fixes' into patches-2.0
1814ae96 2011-05-25 18:52:07 updated EV_S(s)IZE definitions
84560fc4 2011-05-25 14:31:09 Added overflow checks in evhttp_read_body and evhttp_get_body
a2792722 2011-05-25 12:58:59 Added several checks for under/overflow conditions in evhttp_handle_chunked_read
95f70166 2011-05-25 21:20:31 Merge remote-tracking branch 'origin/patches-2.0'
d1b2d11b 2011-05-26 02:05:54 Always use evutil_snprintf, even if OS provides it In test/tinytest_local.h we can't redefine snprintf if the OS has it defined already.
d41f3ea2 2011-05-25 19:54:44 Do not define WIN32 in Makefile.nmake
85078b1f 2011-05-25 19:54:33 In configure, test for _WIN32 not WIN32.
9f560bfa 2011-05-25 19:50:56 Use "_WIN32", not WIN32: it's standard and we don't need to fake it This patch was automatically generated with perl. Based on a patch by Peter Rosin.
0e95950e 2011-05-25 19:46:14 Merge remote-tracking branch 'origin/patches-2.0'
0de87fe6 2011-05-25 15:11:01 Use evutil_gettimeofday instead of relying on the system gettimeofday.
3d768dc9 2011-05-25 11:04:43 Fix winsock2.h #include issues with MSVC Define WIN32_LEAN_AND_MEAN, so that windows.h does not bring in winsock.h which in turn makes it impossible to #include <winsock2.h> (at least with MSVC)
8fa030c0 2011-05-26 00:03:38 Make sure TINYTEST_LOCAL is defined when building tinytest.c
fe93022a 2011-05-25 10:58:48 unistd.h and sys/time.h might not exist.
70be7d17 2011-05-25 10:57:16 MSVC does not provide S_ISDIR, so provide it manually.
f3c7a4c1 2011-05-25 10:56:32 Bring in the compile script from automake, if needed.
07c41bea 2011-05-25 10:55:41 Make the tests build when OpenSSL is not available. Don't #define HAVE_OPENSSL (to zero) when OpenSSL is not available. Code written as #ifdef HAVE_OPENSSL do not expect that.
86090ee1 2011-05-25 10:54:06 Link with -lshell32 and -ladvapi32 on Win32. SHGetSpecialFolderPath is in Shell32.dll and the RegOpenKey (et al) and CryptGenRandom (et al) functions are in -ladvapi32.dll. MinGW is "nice" and brings those in automatically, but specify them explicitly for other tool chains.
9155b095 2011-05-25 16:52:50 Merge remote-tracking branch 'origin/patches-2.0'
06a714ff 2011-05-25 16:51:25 Fix new warnings from GCC 4.6
173509d9 2011-05-23 18:25:05 Merge remote-tracking branch 'origin/patches-2.0'
06c51cdf 2011-05-23 18:01:24 Prevent size_t overflow in evhttp_htmlescape. Modified the `html_replace' function so that it returns the length of the replacement string instead of the string itself. This is used to easily check for overflows of the `new_size' variable in the first for loop of the `evhttp_htmlescape' function, and thus potential out of bounds writes in the second for loop (if an overflow occurs in new_size, then new_size < old_size). Also check that new_size + 1 doesn't overflow in mm_malloc(new_size + 1). Removed the `scratch_space' variable from the `evhttp_htmlescape' function since it wasn't actually used; also removed the `buf' variable from the `evhttp_htmlescape' function since it was only used by `scratch_space'.