Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 3eb044d0 | 2010-03-23 13:27:10 | Never test for select() on windows On 64-bit windows, configure actually _finds_ select when it tests for it, and due to the ordering of the io implementations in event.c it is chosen over the win32select implementation. This modification skips the test for select on win32 (we don't want that anyway, because Windows has its own), causing my windows box to get the win32select implementation. (edited by Nick) | ||
| 2e898f54 | 2010-03-12 14:16:30 | Switch to using AM conditionals in place of AC_LIBOBJ AC_LIBOBJ is really only meant for defining missing library functions, not conditional code compilation. Sticking our conditionally compiled modules in SYS_SRC should make stuff easier to maintain. | ||
| 2cffd6c9 | 2010-02-28 16:53:42 | Bump version to 2.0.4-alpha-dev | ||
| 9669ade5 | 2010-02-28 12:55:29 | Bump the version to 2.0.4-alpha | ||
| ca46d25b | 2010-02-17 23:02:28 | Merge branch 'arc4random' | ||
| 63e868e6 | 2010-02-15 16:45:19 | Increment the submicro version number. We've changed a couple of APIs introduced in 2.0.1-alpha, so it behooves us to give high-needs apps (like Tor) a way to tell we've done this. Sensible apps will just say "is it 2.0.3-alpha or 2.0.4-alpha" and ignore the existence of 2.0.3-alpha-dev, which is just as it should be. | ||
| 4ec8fea6 | 2010-02-13 00:11:44 | Make RNG work when we have arc4random() but not arc4random_buf() | ||
| d4de062e | 2010-02-10 17:19:18 | Add an arc4random implementation for use by evdns Previously, evdns was at the mercy of the user for providing a good entropy source; without one, it would be vulnerable to various active attacks. This patch adds a port of OpenBSD's arc4random() calls to Libevent [port by Chris Davis], and wraps it up a little bit so we can use it more safely. | ||
| 1fa4c81c | 2010-01-26 12:06:41 | Add ev_[u]intptr_t to include/event2/util.h We already emulate most of the other useful bits of stdint.h, and we seem to have started to use uintptr_t in a few places throughout the code. Let's make sure we can continue to do so even on backwards platforms that don't do C99. | ||
| cd17c3ac | 2010-01-22 00:34:37 | Add support for a "debug mode" to try to catch common errors. Right now it only catches cases where we aren't initializing events, or where we are re-initializing events without deleting them first. These are however shockingly common. | ||
| 7296971b | 2009-12-29 16:38:03 | Detect setenv/unsetenv; skip main/base_environ test if we can't fake them. Previously, we assumed that we would have setenv/unsetenv everywhere but WIN32, where we could fake them with putenv. This isn't so: some other non-windows systems lack setenv/unsetenv, and some of them lack putenv too. The first part of the solution, then, is to detect setenv/unsetenv/ putenv from configure.in, and to fake setenv/unsetenv with putenv whenever we have the latter but not one of the former. But what should we do when we don't even have putenv? We could do elaborate tricks to manipulate the environ pointer, but since we're only doing this for the unit tests, let's just skip the one test in question that uses setenv/unsetenv. | ||
| 78ed0972 | 2009-12-30 11:58:36 | Never believe that we have pthreads on win32, even if gcc thinks we do. Apparently some newer versions of mingw provide a fake pthreads api to let applications work even if they don't know about windows threading. That's nice, but we aren't one of those. | ||
| 5a112d3c | 2009-12-18 23:37:50 | Set all instances of the version number correctly. Note that we've made two subtle mistakes: we are supposed to suffix any non-released version with "-dev", and we're supposed to use the last byte of the numeric version to indicate whether we have done this. For example, when 2.0.4-alpha is released, its numeric versin will be 0x 02 00 04 00. As soon as we tag it, we will change the version in the git repository to 2.0.4-alpha-dev, whose numeric version will be 0x 02 00 04 01 or something. | ||
| 505040a2 | 2009-11-20 00:18:35 | call it 2.0.3-alpha svn:r1556 | ||
| 888007f9 | 2009-11-17 02:38:19 | Windows *does* have getservbyname, no matter what autoconf says. TODO: figure out why autoconf is confused about this. svn:r1538 | ||
| 86f57420 | 2009-11-16 22:25:46 | Add two implementations of getaddrinfo: one blocking and one nonblocking. The entry points are evutil_getaddrinfo and evdns_getaddrinfo respectively. There are fairly extensive unit tests. I believe this code conforms to RFC3493 pretty closely, but there are probably more issues. It should get tested on more platforms. This code means we can dump the well-intentioned but weirdly-implemented bufferevent_evdns and evutil_resolve code. svn:r1537 | ||
| 629a6133 | 2009-11-15 18:59:59 | When running set[ug]id, don't check the environment. Idea from OpenBSD, but made a bit more generic to handle uncivilized lands that do not define issetugid. svn:r1530 | ||
| e2b2de79 | 2009-11-15 18:59:48 | Use arc4random() for dns transaction ids where available. Patch taken from OpenBSD svn:r1528 | ||
| 47bad8ab | 2009-11-04 20:17:32 | Implement size limits on HTTP header length and body length. Patch from Constantine Verutin, simplified a little. svn:r1500 | ||
| 0b9eb1bf | 2009-11-03 20:40:48 | Add a bufferevent function to resolve a name then connect to it. This function, bufferevent_socket_connect_hostname() can either use evdns to do the resolve, or use a new function (evutil_resolve) that uses getaddrinfo or gethostbyname, like http.c does now. This function is meant to eventually replace the hostname resolution mess in http.c. svn:r1496 | ||
| 18fe4008 | 2009-09-23 23:51:26 | Forward-port: fix android compilation svn:r1435 | ||
| 22bd5b42 | 2009-08-16 16:40:42 | Support sendfile on solaris: patch from Caitlin Mercer. svn:r1419 | ||
| 709c21c4 | 2009-07-28 04:03:57 | Bufferevent support for openssl. This code adds a new Bufferevent type that is only compiled when the openssl library is present. It supports using an SSL object and an event alert mechanism, which can either be an fd or an underlying bufferevent. There is still more work to do: the unit tests are incomplete, and we need to support flush and shutdown much better. Sometimes events are generated needlessly: this will hose performance. There's a new encrypting proxy in sample/le-proxy.c. This code has only been tested on OSX, and nowhere else. svn:r1382 | ||
| 6fbeb923 | 2009-07-25 03:23:46 | call it 2.0.2-alpha svn:r1378 | ||
| 1fb2e818 | 2009-07-17 21:47:45 | Use a uniform strategy when a function is not working: do not expose it. Rather than failing at runtime, it is better to fail at compile or link time. svn:r1363 | ||
| d3a8ccb8 | 2009-07-10 19:38:16 | Change use of AC_CHECK_LIB to AC_SEARCH_LIBS. Patch from Zack Weinberg. His message: This one eliminates all use of AC_CHECK_LIB in the configure script. AC_CHECK_LIB has a serious flaw: if the library you mention *exists* but is not *necessary* for the function you want, it adds it to $(LIBS) anyway. This was fine in the days of static libraries, because the linker would ignore an .a library that didn't contain anything you needed. However, ELF shared libraries are different (let's not get into why): the linker will by default record a DT_NEEDED entry for every shared object mentioned on the link command line. Thus, every use of AC_CHECK_LIB is a potential unnecessary DT_NEEDED, making extra work for the dynamic loader. The cure is simply to use AC_SEARCH_LIBS instead; it first tries to find the function you ask for in libc, and only if that doesn't work does it try to use the extra library you mention. For the same reasons, pkg-config .pc files should distinguish between the libraries to use for shared linkage (Libs:) and the additional libraries needed for static linkage (Libs.private:). I have also made that correction in this patch. I also took the opportunity to clean up the substitution variables a little and make absolutely sure that the core library does not get linked against zlib. svn:r1338 | ||
| 49f18a0a | 2009-05-25 20:02:51 | Add requirement in configure.in for autoconf 2.59c. Needed for ssize_t test. Spotted by Yang Hong. svn:r1313 | ||
| b2e8fd0e | 2009-04-30 23:56:53 | Apparently MSVC lacks a ssize_t. Define an ev_ssize_t for headers, and make ssize_t work elsewhere. svn:r1261 | ||
| df0617f2 | 2009-04-23 00:21:23 | Use signal.h, not sys/signal.h. This is patch 2673214 from mmadia. It is correct, since we unconditionally include signal.h in many other places, and only sometimes include sys/signal.h. It is necessary to compile on Haiku, I'm told. svn:r1228 | ||
| e2b987ed | 2009-04-23 00:01:05 | bump the numeric version; this is not the same as the alpha. svn:r1224 | ||
| 99de1867 | 2009-04-17 23:07:48 | Bump version to 2.0.1-alpha-dev so that nobody mistakes a svn checkout for 2.0.1-alpha. svn:r1196 | ||
| d047b323 | 2009-04-17 17:22:32 | Increment version to 2.0.1-alpha, and add a numeric version facility svn:r1193 | ||
| 7fa8451d | 2009-04-17 06:56:57 | Add a configure flag to hardcode all of our mm functions. svn:r1186 | ||
| edfc28ca | 2009-04-17 00:24:58 | pkgconfig support from Ted Bullock svn:r1177 | ||
| 52eb4951 | 2009-01-31 07:31:47 | Build with the -fno-strict-aliasing flag on GCC. You do not want to know about the 2 hours I just spent tracking down an evdns bug that only affected me on some platforms to the way we were using sockaddr* and sockaddr_in*. Suffice it to say that I do not think this is the only C99-aliasing-dubiousness in our code, nor that I am smart enough to keep my code correct with the GCC's strict aliasing optimizations in place. svn:r1079 | ||
| fdf69493 | 2009-01-27 06:05:38 | sendfile/mmap and memory reference implementation for evbuffers svn:r1057 | ||
| 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 | ||
| 309fc7c4 | 2009-01-21 07:51:25 | New functions to provide sane threading callbacks with pthreads and win32 threading implementations. svn:r1031 | ||
| a5901991 | 2009-01-19 20:37:24 | Use eventfd for main-thread notification where available (i.e., linux). svn:r1023 | ||
| ec4cfa33 | 2009-01-19 01:34:14 | Make event_break threadsafe; make notify-thread mechanism a little more generic; let it use pipes where they work. svn:r1019 | ||
| 980bcd68 | 2009-01-02 21:21:58 | Work better with platforms that do not have ipv6 structures, or that do not have sin_len fields, etc. svn:r986 | ||
| 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 | ||
| 950af186 | 2008-05-10 05:58:17 | replace fnmatch with homegrown function svn:r804 | ||
| 64ce7990 | 2008-05-08 23:57:31 | r15555@tombo: nickm | 2008-05-08 19:56:51 -0400 fwd-port The IRIX compiler thinks #error means warn. Fix configure.in to tolerate this. svn:r801 | ||
| f2a81fbc | 2008-05-05 07:17:05 | add support for virtual http hosts; no tests yet svn:r771 | ||
| ccb70f1b | 2008-04-30 04:31:10 | provide example bufferevent filters doing compression and decompression as additional regression test svn:r751 | ||
| 44ceb945 | 2008-04-10 19:34:50 | r19305@catbus: nickm | 2008-04-10 15:34:10 -0400 Fix bug 1938754: do not warn when epoll_create() fails with ENOSYS. svn:r706 | ||
| 558de9b3 | 2008-03-02 21:18:33 | Provide OpenSSL style support for multiple threads accessing the same event_base svn:r684 | ||
| 0322ce0a | 2008-02-28 18:36:03 | r18486@catbus: nickm | 2008-02-28 13:35:53 -0500 Make offsetof into evutil_offsetof. Be a little more willing to call evbuffer_chain_align() from evbuffer_expand(). Clarify some docs, and add some XXX comments to note questionable areas. svn:r677 | ||
| 5c70ea4c | 2008-02-28 02:47:43 | improved code for evbuffer; avoids memcpy svn:r674 | ||
| 0d26f160 | 2008-02-18 20:13:27 | r18169@catbus: nickm | 2008-02-18 15:13:20 -0500 Rebuild and re-run configure etc when configure.in or Makefile.am changes. Also, have automake do its dependency tracking. svn:r651 | ||
| 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 | ||
| f09e9d91 | 2008-02-17 01:12:09 | 1.3.99-trunk -> 1.4.99-trunk svn:r644 | ||
| 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 | ||
| d4bdbca8 | 2007-12-18 03:54:19 | add -Wstrict-aliasing and remove bogus evtag_test from event.h svn:r602 | ||
| 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 | ||
| 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 | ||
| 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 | ||
| 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 | ||
| 25007183 | 2007-09-20 18:26:40 | r15216@catbus: nickm | 2007-09-20 13:58:23 -0400 Add a new evutil module to contain the usual cross-platform hacks: socketpair, closesocket, and make_socket_nonblocking() svn:r441 | ||
| 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 | ||
| 5f04e3b7 | 2007-08-24 01:08:39 | Bump version number in svn trunk to 1.3.99. svn:r403 | ||
| 5e0ac7f2 | 2007-07-31 00:25:22 | check for sys/select.h svn:r377 | ||
| 3ad6b47e | 2007-07-30 22:41:00 | make clock_monotonic work; do not use default timeout; from Scott Lamb, plus some fixes from me. svn:r371 | ||
| 753ffa56 | 2007-06-30 19:08:46 | convert u_int8_t types to uint8_t types svn:r368 | ||
| aa5c8068 | 2007-06-16 03:23:15 | make it compile on solaris; from Andrei Nigmatulin svn:r366 | ||
| 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 | ||
| b5d2f9a2 | 2007-03-01 06:25:18 | rolling back r339: evconfig.h does not work svn:r341 | ||
| 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 | ||
| 72a3f29d | 2007-02-18 19:33:19 | 1.3a on trunk? svn:r333 | ||
| 121efe65 | 2007-01-27 08:38:51 | small bug fixes to AAAA resolution and regression test; from Nick Mathewson! we love regresson tests. svn:r319 | ||
| 6318fca2 | 2007-01-27 04:22:36 | AAAA support for DNS; from Nick Mathewson. unfortunately, no regression test svn:r315 | ||
| 0db257b8 | 2007-01-03 07:11:17 | rename strlcpy so that it does not conflict with other tests; from Nick Mathewson. svn:r306 | ||
| 868f10e7 | 2006-11-22 01:21:10 | mingw fixes from Nick svn:r271 | ||
| 3eec7f7c | 2006-10-15 21:55:13 | make it 1.2; fix some size issues for printf in regression code svn:r242 | ||
| 9f7d28bb | 2006-09-27 03:07:38 | make it compile with mingw; from Nick svn:r235 | ||
| d0d8f9b4 | 2006-08-13 06:59:37 | configure evdns and make it compile svn:r225 | ||
| 00bc7e37 | 2006-07-15 02:55:57 | 1.2-rc1; Solaris' event port support from Dave Pacheco svn:r216 | ||
| 571ac954 | 2006-03-28 04:33:41 | use clock_gettime if available from Claudio Jeker <claudio@openbsd.org> svn:r209 | ||
| f6550f40 | 2006-02-26 20:13:04 | provide strlcpy for the unenlightened libcs svn:r203 | ||
| 8af2db10 | 2006-01-22 05:06:29 | version 1.2 svn:r195 | ||
| 9938aaf5 | 2005-06-11 21:15:22 | treate EINVAL as per fd error in kqueue; use argument for debug macros in poll; version 1.1a; EINVAL fix from Nick Mathewson svn:r168 | ||
| c15db034 | 2005-05-10 04:40:03 | performance improvements by Nick Mathewson; we modify the arrays directly in poll_add and poll_del; some minor tweaks by me. earmark this as 1.0f svn:r161 | ||
| d6e56988 | 2005-05-10 04:16:17 | sync svn:r160 | ||
| c09a8175 | 2005-04-23 03:03:28 | 1.0d svn:r155 | ||
| fdfa743c | 2005-04-23 02:48:49 | libtoolize; from Nick Mathewson svn:r153 | ||
| 4157d33e | 2005-04-04 00:35:14 | acknowledgements and new version svn:r143 | ||
| fbdaf3ab | 2005-03-29 07:03:10 | debugging callbacks from Nick Mathewson <nickm@freehaven.net> svn:r136 | ||
| a46c2609 | 2005-02-22 16:12:34 | compilation fixes for IRIX; from Nick Mathewson <nickm@freehaven.net> svn:r132 | ||
| 905ee67d | 2005-02-22 15:47:53 | provide maintainer mode in automake; put event_gotsig back into global state; return proper error code svn:r131 | ||
| d9cf6fe2 | 2004-12-05 22:16:35 | version 1.0 svn:r127 | ||
| 6df2ede5 | 2004-08-10 18:29:37 | close file descriptors on exec(); suggested by aaron at die.net svn:r119 | ||
| 06aaa92f | 2004-07-30 04:57:21 | devpoll support svn:r113 | ||
| 6db3da27 | 2004-07-19 06:18:10 | should work a little bit better with solaris compiler svn:r111 | ||
| 44d88ea6 | 2004-07-13 08:02:45 | change evbuffer_read so that it reads directly into the memory allocated to the evbuffer; this avoids one unnecessary data copy. svn:r110 | ||
| 8f7a7a91 | 2004-04-04 02:19:39 | version 0.8 svn:r99 | ||
| 5908bd72 | 2004-03-23 03:43:53 | provided buffered events svn:r95 | ||
| ec2c1db4 | 2004-02-22 21:17:23 | new event_once interface; start of buffering interface for buffered events svn:r93 | ||
| 8a92823c | 2003-10-25 21:59:24 | make rtsig optional svn:r91 | ||
| dd0b36ab | 2003-09-25 03:25:17 | update build stuff svn:r76 |