|
8a9b0cdf
|
2012-05-03T12:33:36
|
|
Increment version to 2.0.19-stable
|
|
a1630260
|
2012-05-01T13:22:56
|
|
Merge branch '21_robust_monotonic'
|
|
5859c235
|
2012-04-27T09:32:51
|
|
Generate event-config.h with a single sed script
This approach should make the creation of the file more atomic, to
fix a bug reported by Dinh.
This patch has one change from Zack's original version: it avoids
$<, since Dave Hart tells me he thinks that's not so portable.
(commit message by nickm)
|
|
30b6f889
|
2012-04-27T09:32:51
|
|
Generate event-config.h with a single sed script
This approach should make the creation of the file more atomic, to
fix a bug reported by Dinh.
This patch has one change from Zack's original version: it avoids
$<, since Dave Hart tells me he thinks that's not so portable.
(commit message by nickm)
|
|
71bca50f
|
2012-04-20T12:27:12
|
|
Split out time-related prototypes into time-internal.h
|
|
c4194854
|
2012-04-20T12:19:03
|
|
Split out time-related evutil functions into a new evutil_time.c
|
|
2711cda3
|
2012-04-20T12:14:20
|
|
Split long lists in Makefile.am into one-item-per-line
|
|
53a07fe2
|
2010-09-17T00:34:13
|
|
Replace pipe-based notification with EVFILT_USER where possible
Sufficiently recent kqueue implementations have an EVFILT_USER filter
that we can use to wake up an event base from another thread. When
it's supported, we now use this mechanism rather than our old
(pipe-based) mechanism. This should save some time and complications
on newer OSX and freebsds.
|
|
2dedff36
|
2012-04-03T16:50:54
|
|
Try to finalize changelog situation for 2.1.1-alpha
|
|
4fe81e23
|
2012-03-22T18:11:01
|
|
Distribute whatsnew-2.1.txt.
|
|
75401035
|
2012-03-22T14:00:54
|
|
Bump version to 2.0.18-stable
|
|
639383a4
|
2012-02-29T15:07:31
|
|
Make the generated event-config.h use correct include guards
|
|
f82c57e5
|
2012-02-29T15:07:31
|
|
Generate event-config.h using the correct macros.
The previous patch didn't change the sed script in Makefile.am, since
that couldn't be done automatically.
|
|
2958a5cd
|
2012-02-29T15:07:14
|
|
Make event-config.h depend on Makefile.am
|
|
bbea8d6b
|
2012-02-13T12:19:08
|
|
Move libevent 1.x headers to include/, to put all public headers in one place.
|
|
539466e5
|
2012-02-10T17:33:50
|
|
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
Makefile.am
WIN32-Code/event2/event-config.h
configure.in
|
|
e49e2891
|
2012-02-10T17:29:53
|
|
Update copyright notices to 2012
|
|
8152b4c2
|
2012-02-10T16:49:05
|
|
Bump version to 2.0.17-stable
|
|
5de3fa32
|
2011-11-18T15:27:06
|
|
Increment version to 2.0.16-stable
|
|
4d9529fc
|
2011-10-12T00:22:17
|
|
Increment version to 2.0.15-stable
|
|
4cbedae9
|
2011-08-31T11:28:37
|
|
Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
Makefile.am
WIN32-Code/event2/event-config.h
configure.in
|
|
85976ddf
|
2011-08-30T22:28:02
|
|
Bump version to 2.0.14-stable
|
|
46f1769d
|
2011-08-30T09:38:18
|
|
Fix OSX build: $(OPENSSL_INCS) needs to be after $(AM_CPPFLAGS).
|
|
6d2613be
|
2011-08-27T04:46:10
|
|
We need AM_CPPFLAGS when compiling bufferevent_openssl.c
|
|
1c638607
|
2011-08-28T14:30:52
|
|
Use pkg-config (if available) to handle OpenSSL.
|
|
80414e22
|
2011-07-18T18:19:25
|
|
Bump version to 2.0.13-dev
|
|
722207ff
|
2011-06-21T10:07:04
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
e23cda3d
|
2011-06-21T10:05:28
|
|
Don't install event_rpcgen.py when --disable-libevent-install is used
|
|
e40bafe7
|
2011-06-04T21: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
|
|
7283facd
|
2011-06-03T17:08:14
|
|
Bump version to 2.0.12-stable. Not release just yet
|
|
36f745df
|
2011-06-01T13:52:27
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
d54d3fc4
|
2011-06-01T13:48:02
|
|
cygwin: make it possible to build DLLs
Patch from Brian Koehmstedt
|
|
0e95950e
|
2011-05-25T19:46:14
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
86090ee1
|
2011-05-25T10: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.
|
|
6b23518d
|
2011-05-06T11:06:11
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
292092eb
|
2011-05-05T15:49:38
|
|
Use OPENSSL_LIBS in Makefile.am
|
|
7889c43e
|
2011-05-04T16:23:02
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
274dd036
|
2011-05-04T16:34:28
|
|
libssl depends on libcrypto, not the other way around.
|
|
d4d55196
|
2011-04-27T20:25:57
|
|
Increment version number to 2.0.11-stable
|
|
7a91f732
|
2011-03-23T16:34:58
|
|
Merge remote branch 'origin/patches-2.0'
|
|
b5a1f9f7
|
2011-03-23T16:22:24
|
|
Fix make distcheck & installation of libevent 1 headers
libevent/Makefile.am corrects a typo (thanks to Harlan for spotting it
once we realized make distcheck was broken when building the libevent
tearoff). The result was the include/ev*.h were not distributed nor
installed whether or not --disable-libevent-install was used. This
was introduced with the final round (3/3) of
--disable-libevent-install patch from me.
|
|
74bf57a6
|
2011-03-03T12:58:06
|
|
Merge remote-tracking branch 'origin/patches-2.0'
|
|
ab008c7d
|
2011-03-03T12:57:17
|
|
Make --no-libevent-install apply to event1 headers too
|
|
a11c30b5
|
2011-02-22T17:41:27
|
|
Merge remote branch 'origin/patches-2.0'
This branch is the big one that merges all the ntp folks' changes
Conflicts:
configure.in
|
|
49e9bb7f
|
2011-02-13T02: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.
|
|
fd7b5a81
|
2011-01-07T00:37:05
|
|
Shell hack for weird mkdir -p commands
|
|
ad03952e
|
2011-01-03T15:09:21
|
|
Backport libevent to vanilla Autoconf 2.59 (as used in RHEL5)
|
|
b3651d15
|
2011-01-02T08:48:12
|
|
Add an evconfig-private.h stub for Win32.
|
|
9b27b307
|
2011-01-02T08:04:12
|
|
Remove event-private.h and switch to evconfig-private.h
|
|
2c5566a9
|
2010-12-22T23:00:59
|
|
Add event-private.h to noinst_HEADERS
|
|
321b5587
|
2010-12-22T22:53:03
|
|
Filter '# define' statements from autoconf and generate event-private.h
|
|
2570ae50
|
2010-12-16T12:59:22
|
|
Bump version in master to 2.1.0-alpha-dev
|
|
bffc411e
|
2010-12-15T14:29:50
|
|
Set the version to 2.0.10-stable
|
|
79957b89
|
2010-11-23T11:17:06
|
|
Bump VERSION_INFO to 5:0:0
|
|
a4063c06
|
2010-10-26T10:38:30
|
|
Note that 2.0.9 will break the ABI, and make changes we were postponing.
We had to turn a couple of 32-bit size arguments into 64-bit arguments
or size_t arguments (since otherwise we would have had to do it post
2.0.x-stable, and that would be worse).
|
|
ef18c994
|
2010-10-14T18: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.
|
|
fe008ed6
|
2010-09-09T14:59:27
|
|
Make all versioning changes for 2.0.7-rc, and add ChangeLog
|
|
9b5c19ac
|
2010-08-10T11:46:00
|
|
Merge branch 'more_pkgconfig'
|
|
ebcb1f03
|
2010-08-10T11:11:25
|
|
Add pkgconfig files for libevent_{openssl,pthreads}
|
|
556d0f40
|
2010-08-06T21:19:44
|
|
Increment versions to 2.0.6-rc
|
|
ec347b92
|
2010-07-07T16: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.
|
|
14250031
|
2010-06-23T01:15:15
|
|
Really only add libevent_core.la to LIBADD on mingw
Commit fdc629736e1 tried to do this, but added it for mingw and
for everything else. Fixes a segfault in bufferevent unittests.
|
|
9659eced
|
2010-06-19T18:23:16
|
|
Add a comment to describe our plan for library versioning
|
|
b2d7440a
|
2010-06-19T18:22:48
|
|
Set library version for libevent_pthreads correctly
|
|
ad9b7f15
|
2010-05-09T00:22:08
|
|
Increment version numbers for 2.0.5-beta
|
|
fdc62973
|
2010-05-06T14:37:23
|
|
Only add libevent_core.la to LIBADD on mingw
Chris Davis reports that this is also necessary to fix building with
shared libraries on OSX for him. Should fix bug 2997775.
There is probably a better fix for the issues solved by commit
3cbca8661f, but for now, we're trying to get a beta out the door.
|
|
25433b96
|
2010-05-06T14:37:23
|
|
Only specify -no-undefined on mingw
It turns out that commit 3cbca8661f broke building with shared
libraries on OSX. Since -no-undefined is only necessary on platforms
like win32, only use it there.
There may be a better fix for this. Should fix bug 2997775.
|
|
7731ec88
|
2010-05-06T13:26:05
|
|
Stop distributing and installing manpages: they were too inaccurate
It would be great to have the manpages come back some time, perhaps
from a refactoring of my asciidoc book, but for now the existing
manpages were the single worst, most incomplete, and most misleading
libevent documentation we had. (Less misleading: the doxygen output,
the header files, and my reference book.)
|
|
3cbca866
|
2010-04-12T12:52:31
|
|
Create shared libraries under Windows
|
|
9eb2fd75
|
2010-03-22T13:27:47
|
|
Use dist_bin_SCRIPTS, not EXTRA_DIST, to distribute scripts
|
|
77c917de
|
2010-03-12T14:37:54
|
|
Give a better warning for bad automake versions.
If you tried to build with automake-1.6 or earlier, we would
previously spit out pages and pages of garbage output. Now, automake
should just say "Hey, I'm not new enough for this."
|
|
0794b0d2
|
2010-03-12T14:21:52
|
|
Remove an orphaned RELEASE flag in Makefile.am
|
|
2e898f54
|
2010-03-12T14: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.
|
|
b660edf9
|
2010-03-12T13:22:47
|
|
Remove redundant stuff from EXTRA_DIST
To a first approximation, sources that are mentioned anywhere in an
automake file don't need to get mentioned in EXTRA_DIST.
|
|
426c8fbe
|
2010-03-12T13:09:28
|
|
Support the standard 'make check' target in place of 'make verify'
Based on patch 2816088 from Zack Weinberg
|
|
22aff049
|
2010-03-01T22:06:12
|
|
Distribute libevent.pc.in, not libevent.pc
|
|
9669ade5
|
2010-02-28T12:55:29
|
|
Bump the version to 2.0.4-alpha
|
|
d4de062e
|
2010-02-10T17: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.
|
|
70670067
|
2010-01-19T13:55:53
|
|
Add a LICENSE file so people can find our license easily
For what it's worth, we are aware that "Copyright $YEAR $NAME" is
sufficient notice of copyright on software under US law and
Internationally, and saying Copyright (c) $YEAR $NAME is a bit nutty.
The character sequence (c) has never been ruled to have the same force
in US law as the actual copyright symbol, and that neither of these
US-specific symbols adds anything of value beyond saying "Copyright"
since the Berne convention took effect in the US back in 1989.
Similarly, saying "all rights reserved" doesn't do anything magical
unless your software goes in a time-warp back to when the Buenos Aires
Convention was the general rule. (And what will they run it on back
then?) And what would even lead you to say "All Rights Reserved" when
you're explicitly granting most of those rights to anybody receiving
the work in accordance with the 3-clause BSD license?
But still the FOSS community retains these ritual notations out of a
kind of cargo-cult lawyering. Who knows? Perhaps one day, if we
write our copyright notices ineptly enough, John Frum will come and
give us a DFSG-compatible license that everybody can get behind.
(Also, I am not a lawyer. The above should not be taken as legal
advice. -- Nick)
|
|
27308aae
|
2010-01-14T16:30:40
|
|
Changelist code to defer event changes until just before dispatch
This is necessary or useful for a few reasons:
1) Sometimes applications will add and delete the same event more
than once between calls to dispatch. Processing these changes
immediately is needless, and potentially expensive (especially
if we're on a system that makes one syscall per changed event).
Yes, this actually happens in practice for nonpathological
code, such as in cases where the user's callback conditionally
re-adds a non-persistent event, or where draining a buffer
turns off writing and invokes a user callback which adds more
data which in turn re-enabled writing.
2) Sometimes we can coalesce multiple changes on the same fd into
a single syscall if we know about them in advance. For
example, epoll can do an add and a delete at the same time, but
only if we have found out about both of them before we tell
epoll.
3) Sometimes adding an event that we immediately delete can cause
unintended consequences: in kqueue, this makes pending events
get reported spuriously.
|
|
737c9cd8
|
2009-11-27T13:16:54
|
|
Rate-limiting for bufferevents; group and individual limits are supported.
The fairness algorithms are not the best, not every bufferevent type
is supported, and some of the locking tricks here are simply absurd.
Still, this code should be a good first step.
|
|
c69d5a5d
|
2009-12-22T12:03:46
|
|
Remove the contents of WIN32-Prj as unmaintained.
Makefile.nmake is now the preferred way to build with MSVC; the
project files haven't worked properly in ages.
|
|
347952ff
|
2009-11-27T15:20:43
|
|
Revise the locking API: deprecate the old locking callbacks and add trylock.
Previously, there was no good way to request different kinds of lock
(say, read/write vs writeonly or recursive vs nonrecursive), or for a
lock function to signal failure (which would be important for a
trylock mode).
This patch revises the lock API to be a bit more useful. The older
lock calls are still supported for now.
We also add a debugging mode to catch common errors in using the
locking APIs.
|
|
86f57420
|
2009-11-16T22: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
|
|
43ba6693
|
2009-11-05T20:45:07
|
|
Export nmakefiles in source distribution.
svn:r1509
|
|
d3401928
|
2009-11-05T18:49:08
|
|
Rename win32.c to win32select.c, and take it out of the WIN32-Code ghetto.
svn:r1504
|
|
d14c3b45
|
2009-11-05T18:25:46
|
|
Fix another ssize_t user
svn:r1503
|
|
0b9eb1bf
|
2009-11-03T20: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
|
|
0fd0255f
|
2009-11-03T19:54:56
|
|
Remove compat/sys/_time.h
I've gone through everything that it declared to see where it was used,
and it seems that we probably don't need it anywhere.
Here's what it declared, and why I think we're okay dropping it.
o struct timeval {}
(Used all over, and we can't really get away with declaring it ourselves;
we need the same definition the system uses. If we can't find struct
timeval, we're pretty much sunk.)
o struct timespec {}
(Used in event.c, evdns.c, kqueue.c, evport.c. Of these,
kqueue.c and event.c include sys/_time.h. event.c conditions its use on
_EVENT_HAVE_CLOCK_GETTIME, and kqueue() only works if timespec is defined.)
o TIMEVAL_TO_TIMESPEC
(Used in kqueue.c, but every place with kqueue has sys/time.h)
o struct timezone {}
(event2/util.h has a forward declaration; only evutil.c references it and
doesn't look at its contents.)
o timerclear, timerisset, timercmp, timeradd, timersub
(Everything now uses the evutil_timer* variants.)
o ITIMER_REAL, ITIMER_VIRTUAL, ITIMER_PROF, struct itemerval
(These are only used in test/regress.c, which does not include _time.h)
o CLOCK_REALTIME
(Only used in evdns.c, which does not include _time.h)
o TIMESPEC_TO_TIMEVAL
o DST_*
o timespecclear, timespecisset, timespeccmp, timespecadd, timespecsub
o struct clockinfo {}
o CLOCK_VIRTUAL, CLOCK_PROF
o TIMER_RELTIME, TIMER_ABSTIME
(unused)
svn:r1494
|
|
709c21c4
|
2009-07-28T04: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
|
|
0cc10e41
|
2009-07-13T20:02:49
|
|
Use -version-info, not -release.
Patch from Zack Weinberg. His description:
This one might be a little more controversial. Libtool's -release and
-version-info options are supposed to be mutually exclusive, but it doesn't
either enforce that or make it sufficiently clear in the manual. Using
both makes the -version-info switch ineffective; you will get sonames like
"libevent-2.0.so.1", "libevent-2.1.so.1", etc., even though version 2.1
will presumably be backward ABI compatible with 2.0.
This patch just takes out the -release switches and bumps the -version-info
value to 2:0:0 so that people looking at the files in /usr/lib will not be
confused (it'll be "libevent.so.2"). This does change the soname, but the
current release is labeled an alpha, and it would be better to stop using
both switches as soon as possible, before someone over at libtool
headquarters decides to enforce the mutual exclusivity here...
Note that libevent_pthreads is not being linked with any versioning
switches I didn't change that because I wasn't sure whether it was
intentional.
svn:r1339
|
|
85b0a7a2
|
2009-05-15T01:38:23
|
|
We were distributing the wrong event-config.h with our source distributions. Fix that.
svn:r1289
|
|
fe47003d
|
2009-05-05T16:52:37
|
|
Make unit tests for bufferevent_async compile and _almost_ work.
Either I need to make the callbacks get deferred in a base with no events (doable), or I need to make it okay to call launch_read from inside the callback for read (tricky).
svn:r1277
|
|
659d54d5
|
2009-05-05T02:59:26
|
|
Add new code to make and accept connections.
This is stuff that it's easy to get wrong (as I noticed when writing
bench_http), and that takes up a fair amount of space (see http.c).
Also, it's something that we'll eventually want to abstract to use
IOCP, where available.
svn:r1272
|
|
0c15d6ab
|
2009-04-19T13:33:52
|
|
defer-internal.h was missing from dist; so our first tar ball did not even compile. ouch.
svn:r1207
|
|
d047b323
|
2009-04-17T17:22:32
|
|
Increment version to 2.0.1-alpha, and add a numeric version facility
svn:r1193
|
|
9097c95b
|
2009-04-17T06:56:23
|
|
Rename whatsnew file to reflect actual version.
svn:r1184
|
|
838d0a81
|
2009-04-17T06:55:08
|
|
Document many internal functions and pieces of code.
svn:r1181
|
|
edfc28ca
|
2009-04-17T00:24:58
|
|
pkgconfig support from Ted Bullock
svn:r1177
|
|
93d4f884
|
2009-04-14T20:11:10
|
|
Make buffer iocp stuff compile happily
svn:r1174
|