Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 75401035 | 2012-03-22 14:00:54 | Bump version to 2.0.18-stable | ||
| 083296bc | 2012-03-13 06:40:56 | Don't do clang version detection when disabling some flags When clang 2.9 was around we hoped they'd introduce support for the normalized=id and override-init warnings by 3.0, but they haven't. We should only add the version detection back in when clang actually supports those warnings. | ||
| 2d67b638 | 2012-02-14 15:37:58 | Changed OPENSSL_LDFLAGS to OPENSSL_LIBADD | ||
| 92781968 | 2012-02-14 15:01:02 | Added OPENSSL_LDFLAGS env variable which is appended to SSL checks. If openssl is not installed system-wide or not compiled as a shared library, some systems require various link flags (e.g., -ld). | ||
| 2d7bf0f7 | 2012-02-10 22:16:14 | Bump version to 2.0.17-stable-dev | ||
| e49e2891 | 2012-02-10 17:29:53 | Update copyright notices to 2012 | ||
| 8152b4c2 | 2012-02-10 16:49:05 | Bump version to 2.0.17-stable | ||
| 358c745e | 2011-12-08 11:39:48 | check for sysctl before we use it Not all C libraries under Linux support the sysctl() func. | ||
| ba4d6696 | 2011-11-18 15:34:37 | Increment version to 2.0.16-stable-dev | ||
| 5de3fa32 | 2011-11-18 15:27:06 | Increment version to 2.0.16-stable | ||
| 8589f6c4 | 2011-10-12 01:00:23 | Bump version to 2.0.15-stable-dev | ||
| 4d9529fc | 2011-10-12 00:22:17 | Increment version to 2.0.15-stable | ||
| a718b6c3 | 2011-08-31 11:25:11 | Increment version to 2.0.14-stable-dev | ||
| 85976ddf | 2011-08-30 22:28:02 | Bump version to 2.0.14-stable | ||
| 5d1b255b | 2011-08-10 19:11:55 | Ignore deprecation warnings on OS X Starting with Lion, Apple decided to deprecate the system openssl. We can start requiring users to install their own openssl once OS X doesn't ship with it anymore. | ||
| a2fdf9b0 | 2011-07-18 23:37:59 | Bump version to 2.0.13-stable-dev | ||
| 80414e22 | 2011-07-18 18:19:25 | Bump version to 2.0.13-dev | ||
| 60c1426f | 2011-06-04 21:36:34 | Bump version to 2.0.12-stable-dev | ||
| 7283facd | 2011-06-03 17:08:14 | Bump version to 2.0.12-stable. Not release just yet | ||
| d54d3fc4 | 2011-06-01 13:48:02 | cygwin: make it possible to build DLLs Patch from Brian Koehmstedt | ||
| 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. | ||
| 66193853 | 2011-05-05 16:27:55 | Correctly detect openssl on windows | ||
| ceb03b90 | 2011-05-05 15:51:11 | Move the win32 detection in configure.in | ||
| 292092eb | 2011-05-05 15:49:38 | Use OPENSSL_LIBS in Makefile.am | ||
| e7529fa4 | 2011-04-27 21:28:11 | Bump version to 2.0.11-stable-dev | ||
| d4d55196 | 2011-04-27 20:25:57 | Increment version number to 2.0.11-stable | ||
| ea0d019b | 2011-04-23 02:35:17 | Use AM_CONDITIONAL, not AC_SUBST, to tell automake to build regress For some reason, this makes mingw much happier about building regress.exe by default. No, I'm afraid I don't know why. | ||
| 53d1e450 | 2011-04-23 01:48:11 | Try to fix up CHECK_REGRESS hack to not break on win32 | ||
| ad9ff583 | 2011-04-10 17:23:11 | Fix compilation under LLVM/clang with --enable-gcc-warnings When compiling using clang (2.9 or lower) do not enable -Wnormalized=id or -Woverride-init when --enable-gcc-warnings or --enable-gcc-warnings-advisory is set as these options are unsupported. This commit is based on a patch for Tor (git commit 56bdc844ba68ac0911efc7ad3398f1eafeaaac76 by Steven Murdoch), Copyright (c) 2007-2011, The Tor Project, Inc. | ||
| c6213591 | 2011-03-23 16:32:42 | Add comment to configure.in to explain gc-sections test logic (Basically, we need access to conftest.err for the test to work properly.) | ||
| 6bb23e4b | 2011-03-23 16:22:57 | Fix for --gc-sections on NetBSD This patch fixes http://bugs.ntp.org/1844, works around http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=40401, by improving the test for support of --gc-sections to run a program which reads a file using stdio built with --gc-sections, instead of simply link the binary. This catches the buggy linker as the garbage collection removes a tag NetBSD uses to distinguish its own elf binaries from Linux ones, causing it to treat conftest as a Linux binary and run it with the wrong syscall table. | ||
| 2fba21d8 | 2011-02-22 16:20:42 | Make -ffunction-sections off-by-default in 2.0.x I don't see how this can burn anybody, but I don't want to take chances: new build options are something that should be done in an alpha. To turn -ffunction-sections on, pass --enable-function-sections to configure. | ||
| 7d913f4c | 2011-02-22 16:14:16 | Remove nonfunctional enable_libevent_(install|regress)_def variables | ||
| 49e9bb7f | 2011-02-13 02:05:04 | Add configure options to disable installation, regression tests The main reason for disabling installation is if you're building libevent as a subpackage for embedding: you want to have your main package's "make all" build libevent, but you don't want your main package's "make install" to install libevent. | ||
| 0b334799 | 2011-02-13 02:00:10 | Add -D_OSF_SOURCE to fix hpux builds | ||
| 0965c563 | 2011-02-13 01:50:40 | Use the gcc -ffunction-segments feature to allow gc when linking with static libevent | ||
| af08a940 | 2011-02-13 01:42:58 | Check for getservbyname even if not on win32. | ||
| 833e5e9f | 2011-02-13 01:39:10 | Fix autoconf bracket issues; make check for getaddrinfo include netdb.h | ||
| a317c068 | 2011-02-13 01:34:40 | Skip check for zlib if we have no zlib.h | ||
| f663112f | 2010-10-14 20:15:04 | Fix warnings about AC_LANG_PROGRAM usage Autoconf 2.68 introduced some new warnings that were triggered during autogen.sh. Fix those. | ||
| c1260b0e | 2011-01-31 17:36:49 | Do not check for gethostbyname_r versions if we have getaddrinfo | ||
| 9184563e | 2011-01-24 18:29:20 | Build correctly on platforms without sockaddr_storage | ||
| 32677036 | 2011-01-24 17:42:23 | Make --enable-gcc-warnings a no-op if not using gcc | ||
| 05f0195d | 2010-12-16 12:57:23 | Bump version to 2.0.10-stable-dev | ||
| bffc411e | 2010-12-15 14:29:50 | Set the version to 2.0.10-stable | ||
| 2b0b06d7 | 2010-11-30 02:19:25 | Increment version to 2.0.9-rc-dev | ||
| 9ce4cc4e | 2010-11-23 11:17:24 | Increment version to 2.0.9-rc | ||
| 2e2a3d7b | 2010-11-23 19:09:08 | Reworked AIX __ss_family workaround to use AC_STRUCT_MEMBER. | ||
| a3a9f6b2 | 2010-11-22 20:44:10 | select comes from <sys/select.h> according to POSIX.1-2001, or from a variety of other standard headers on older systems, but not <select.h>. AIX build fix. | ||
| fbaf0770 | 2010-10-26 12:09:20 | Fix bugs in posix thread-id calculation when sizeof(pthread_t) != sizeof(long) When pthread_t was smaller, our calculated thread IDs would include uninitialized RAM, and so our unit tests would fail because thread_ids would never match one another. When pthread_t was larger and alignment was big-endian, our calculated thread IDs would only have the most significant bytes of the pthread_t, when in practice all the entropy is in the low-order bytes. Found with help from Dagobert Michelsen. | ||
| 9dc5f44a | 2010-10-14 22:12:32 | Increment version in git to 2.0.8-rc-dev | ||
| ef18c994 | 2010-10-14 18:36:07 | Increment the version to 2.0.8-rc NOTE: This is not the official release until I tag it. If you see this commit, and you decide that Libevent 2.0.8-rc is now finalized, you might get something besides 2.0.8-rc. | ||
| d3b096c0 | 2010-10-14 13:54:15 | Make the --enable-gcc-warnings option include signed comparison warnings | ||
| 5811d74c | 2010-09-09 15:59:18 | Bump version to 2.0.7-rc-dev | ||
| fe008ed6 | 2010-09-09 14:59:27 | Make all versioning changes for 2.0.7-rc, and add ChangeLog | ||
| 6123d129 | 2010-08-19 09:38:44 | Fix kquue correctness test on x84_64 Apparently, in our configure.in check for a working kqueue, we were leaving some fields unset that seemed to irritate 64-bit kqueue a lot. Found by Christopher Layne | ||
| 9b5c19ac | 2010-08-10 11:46:00 | Merge branch 'more_pkgconfig' | ||
| ebcb1f03 | 2010-08-10 11:11:25 | Add pkgconfig files for libevent_{openssl,pthreads} | ||
| ff481a8e | 2010-08-06 23:22:01 | Increment vesion to 2.0.6-rc-dev | ||
| 556d0f40 | 2010-08-06 21:19:44 | Increment versions to 2.0.6-rc | ||
| ec347b92 | 2010-07-07 16:45:03 | Move event-config.h to include/event2 This change means that all required include files are in event2, and all files not in event2/* are optional. | ||
| d14bb926 | 2010-05-18 14:05:01 | Use -Wlogical-op on gcc 4.5 or higher It exposed one bug for us (see 8c3452bcb294e07888), and might prevent more. | ||
| 75701e89 | 2010-05-14 14:30:09 | Add some missing includes to fix Linux build again | ||
| 9cb5bc86 | 2010-05-10 14:51:32 | Bump version to 2.0.5-beta-dev | ||
| ad9b7f15 | 2010-05-09 00:22:08 | Increment version numbers for 2.0.5-beta | ||
| 7c519dfd | 2010-05-08 23:29:29 | Fix some autoconf issues on OpenBSD Issue 1: autoconf gets accept when a header works properly with cpp but not with cc. This was true of the sys/sysctl.h header on openbsd. The fix: include sys/param.h (if present) when testing for sys/sysctl.h Issue 2: Somehow, autoconf's macro generation code is messed up on some versions of openbsd (including mine, and other people's too) so that instead of SIZEOF_VOID_P, it makes SIZEOF_VOID__. evutil/util.h now works around that. | ||
| c1cd32a1 | 2010-05-08 22:21:52 | Define _REENTRANT as needed on Solaris, elsewhere It turns out that _REENTRANT isn't only needed to make certain functions visible; we also need it to make pthreads work properly some places (like Solaris, where forgetting _REENTRANT basically means that all threads are sharing the same errno). Fortunately, our ACX_PTHREAD() configure macro already gives us a PTHREAD_CFLAG variable, so all we have to do is use it. | ||
| c44de06c | 2010-05-08 18:09:27 | Numerous opensolaris compilation fixes For future note, opensolaris doesn't have sys/sysctl.h, doesn't like comparing iov_buf to a chain_space_ptr without a cast, and is (predictably) unforgiving of dumb syntax errors. Also, we had accidentally broken the devpoll backend test in configure.in | ||
| 40c301b7 | 2010-04-28 14:56:51 | Fix compilation when openssl support is disabled Previously, we'd fail if OpenSSL was present but openssl support was disabled. Now we don't. | ||
| a47a4b7e | 2010-04-23 16:08:09 | Fix a couple of bugs in the BSD sysctl arc4seed logic Of course, FreeBSD has its own arc4random() implementation, so this should never actually be needed. Still, it's good to paint the underside of the wagon. | ||
| 71fc3eb0 | 2010-03-04 01:13:51 | Seed the RNG using sysctl() as well as /dev/urandom William Ahern points out that if the user has chrooted, they might not have a working /dev/urandom. Linux and many of the BSDs, however, define a sysctl interface to their kernel random number generators. This patch takes a belt-and-suspenders approach and tries to do use the sysctl _and_ the /dev/urandom approach if both are present. When using the sysctl approach, it tries to bulletproof itself by checking to make sure that the buffers are actually set by the sysctl calls. | ||
| 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 |