From: Nick Mathewson Date: Thu, 9 Sep 2010 18:59:27 +0000 (-0400) Subject: Make all versioning changes for 2.0.7-rc, and add ChangeLog X-Git-Tag: release-2.0.7-rc^0 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe008ed656766266b93cdf2083f5b8bc50e6aad3;p=libevent Make all versioning changes for 2.0.7-rc, and add ChangeLog --- diff --git a/ChangeLog b/ChangeLog index 8b22ad12..2e852424 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,64 @@ -Changes in 2.0.7-??: - [See the git log for now] +Changes in 2.0.7-rc: + [Autogenerated from the Git log, sorted and cleaned by hand.] +NEW APIS + o Expose a evdns_base_nameserver_sockaddr_add() function to add a nameserver by sockaddr (1952143) + o Add event_config_set_num_cpus_hint() for tuning win32 IOCP thread pools, etc. (2447fe8 Christopher Davis) + +BUGFIXES + o Fix a nasty dangling-event bug when using rate-limiting groups (0bffe43) + o Clean up syntax on TAILQ_ENTRY() usage to build correctly with recent MSVC (60433a0 Gilad Benjamini) + o Make definition of WIN32_LEAN_AND_MEAN in event.h conditional (3920172 Gilad Benjamini) + o Correctly detect failure to delete bufferevent read-timeout event (da6e7cd) + o Set close-on-exec bit for filedescriptors created by dns subsystem (d0b8843) + o Fix kqueue correctness test on x84_64 (6123d12) + o Detect events with no ev_base; warn instead of crashing (f1074b7) + o Fix an issue with forking and signal socketpairs in select/poll backends (d61b2f3) + o Stop using global arrays to implement the EVUTIL_ctype functions (1fdec20) + o On windows, make lock/thread function tables static (5de2bcb) + o Close th_notify_fds and open a new pair on reinit (495ed66) + o Declare signal handler function as "__cdecl" on Windows (f0056d0) + o Use the _func() replacements for open, fstat, etc in evutil.c on win32 (e50c0fc) + o Only process up to MAX_DEFERRED deferred_cbs at a time (17a14f1 Christopher Davis) + +THREADING BUGFIXES + o Avoid deadlock when activating signals (970e6ad) + o Add a condition variable backend, with implementations for pthreads and win32 (d4977b5) + o Use conditions instead of current_event_lock to fix a deadlock (e0972c2) + o Fix logic error in win32 TRY_LOCK that caused problems with rate-limiting (4c32b9d) + o Avoid needlessly calling evthread_notify_base() when the loop is not running (c7a06bf) + o Minimize calls to base_notify implementation functions, thereby avoiding needless syscalls (4632b78) + +IOCP BUGFIXES + o IOCP-related evbuffer fixes (03afa20 Christopher Davis) + o Stop IOCP when freeing the event_base (d844242 Christopher Davis) + o Some IOCP bufferevent tweaks (76f7e7a Christopher Davis) + +TESTS + o Make the regress_pthread.c tests work on windows with current test APIs (d74ae38) + o Add a unit test for conditions (5fb1095) + o Allow more than one copy of regression tests to run at once (a97320a) + o Fix event_del(0) instance in bench.c (b0f284c Shuo Chen) + o Fix a few memory leaks in the tests (1115366) + o IOCP-related unit test tweaks (499452f Christopher Davis) + o Improve testing of when thread-notification occurs (ce85280) + +BUILD AND DISTRIBUTION + o Add pkgconfig files for libevent_{openssl,pthreads} (ebcb1f0) + o Change include order in Makefile.nmake (4022b28) + o Make include/event2/event-config.h not included in source dist (a4af9be) + o Honor NDEBUG; build without warnings with NDEBUG; make NDEBUG always-off in unit test code (743f866) + o Declare evkeyvalq and event_list even if event_struct.h comes before sys/queue.h (d3ceca8) + o Move evkeyvalq into a separate header for evhttp_parse_query users (ca9048f) + o Prefer autoreconf -ivf to manual autogen.sh (7ea8e89) + +CLEANUP + o Completely remove the (mostly-removed) obsolete thread functions (3808168) + o Rename regress_pthread.c to regress_thread.c (041989f) + o Make defer-internal.h use lock macros, not direct calls to lock fns (5218d2a) + +DOCUMENTATION + o Document that DNS_NO_SEARCH is an obsolete alias for DNS_QUERY_NO_SEARCH (33200e7) + o Update the whatsnew-2.0.txt document (4991669) Changes in 2.0.6-rc: diff --git a/Makefile.am b/Makefile.am index 7de4db1a..3f219413 100644 --- a/Makefile.am +++ b/Makefile.am @@ -33,7 +33,7 @@ RELEASE = -release 2.0 # Return (current+1:0:0) # # Once an RC is out, DO NOT MAKE ANY ABI-BREAKING CHANGES IN THAT SERIES. -VERSION_INFO = 2:0:0 +VERSION_INFO = 3:0:1 # History: RELEASE VERSION_INFO # 2.0.1-alpha -- 2.0 1:0:0 @@ -41,9 +41,10 @@ VERSION_INFO = 2:0:0 # 2.0.3-alpha -- 2:0:0 (should have incremented; didn't.) # 2.0.4-alpha -- 3:0:0 # 2.0.5-beta -- 4:0:0 -# 2.0.6-rc -- 2.0 2:0:0 +# 2.0.6-rc -- 2.0 2:0:0 +# 2.0.7-rc -- 2.0 3:0:1 # Planned: -# 2.0.7-stable -- 2.0 2:1:0 (Assuming no ABI change) +# 2.0.8-stable -- 2.0 3:1:1 (Assuming no ABI change) # # If Libevent 2.1.1 makes 'struct event' etc opaque in the headers: # 2.1.1-alpha -- 2.1 1:0:0 diff --git a/README b/README index d3978005..2cc9432f 100644 --- a/README +++ b/README @@ -75,12 +75,16 @@ fixing bugs: Weston Andros Adamson William Ahern Avi Bab + Gilad Benjamini Stas Bekman Joachim Bauch + Ralph Castain + Shuo Chen Ka-Hing Cheung Andrew Danforth Christopher Davis Mike Davis + Mihai Draghicioiu Shie Erlich Alexander von Gernler Artur Grabowski @@ -91,6 +95,7 @@ fixing bugs: Valery Kyholodov Marko Kreen Scott Lamb + Christopher Layne Adam Langley Christopher Layne Philip Lewis @@ -101,6 +106,7 @@ fixing bugs: Lubomir Marinov Nick Mathewson James Mansion + Nicholas Marriott Andrey Matveev Caitlin Mercer Felix Nawothnig @@ -115,6 +121,7 @@ fixing bugs: Jon Poland Bert JW Regeer Hanna Schroeter + Ralf Schmitt Mike Smellie Kevin Springborn Ferenc Szalai diff --git a/WIN32-Code/event2/event-config.h b/WIN32-Code/event2/event-config.h index ad92f920..ab6c6c4b 100644 --- a/WIN32-Code/event2/event-config.h +++ b/WIN32-Code/event2/event-config.h @@ -274,7 +274,7 @@ /* #undef _EVENT_HAVE_WORKING_KQUEUE */ /* Numeric representation of the version */ -#define _EVENT_NUMERIC_VERSION 0x02000601 +#define _EVENT_NUMERIC_VERSION 0x02000700 /* Name of package */ #define _EVENT_PACKAGE "libevent" @@ -324,7 +324,7 @@ #define _EVENT_TIME_WITH_SYS_TIME 1 /* Version number of package */ -#define _EVENT_VERSION "2.0.6-rc-dev" +#define _EVENT_VERSION "2.0.7-rc" /* Define to appropriate substitue if compiler doesnt have __func__ */ #define _EVENT___func__ __FUNCTION__ diff --git a/configure.in b/configure.in index 1967d90a..70cf5093 100644 --- a/configure.in +++ b/configure.in @@ -5,9 +5,9 @@ AC_INIT(event.c) AC_CONFIG_MACRO_DIR([m4]) -AM_INIT_AUTOMAKE(libevent,2.0.6-rc-dev) +AM_INIT_AUTOMAKE(libevent,2.0.7-rc) AM_CONFIG_HEADER(config.h) -AC_DEFINE(NUMERIC_VERSION, 0x02000601, [Numeric representation of the version]) +AC_DEFINE(NUMERIC_VERSION, 0x02000700, [Numeric representation of the version]) dnl Initialize prefix. if test "$prefix" = "NONE"; then