|
ccf4c74d
|
2024-05-04T12:40:36
|
|
Add ChangeLog-2.1/ChangeLog (aka 2.2) into dist package
|
|
d241fcab
|
2024-05-04T20:33:18
|
|
Add Privacy Manifest for App Store submissions
Doc: https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api
From the API list, the libevent library only uses:
- mach_absolute_time, but that one is avoided with HAVE_POSIX_MONOTONIC (default) instead of HAVE_MACH_MONOTONIC
- fstat and stat in evbuffer_file_segment_new, which is covered by third-party SDK usage (0A2A.1)
- fstat and stat in evutil_read_file_, which is used to read the "/etc/resolv.conf" and "/etc/hosts" files, for which there are no available supporting reasons
|
|
8d1388a3
|
2023-05-21T08:40:48
|
|
Bump version to 2.2.1
|
|
1af745d0
|
2022-10-25T11:30:34
|
|
signal: new signal handling backend based on signalfd
Linux-specific signal handling backend based on signalfd(2)
system call, and public function event_base_get_signal_method()
to obtain an underlying kernel signal handling mechanism.
Signed-off-by: Dmitry Antipov <dantipov@cloudlinux.com>
|
|
e8313084
|
2022-09-12T22:16:56
|
|
Add minimal WebSocket server implementation for evhttp (#1322)
This adds few functions to use evhttp-based webserver to handle incoming
WebSockets connections. We've tried to use both libevent and libwebsockets in
our application, but found that we need to have different ports at the same
time to handle standard HTTP and WebSockets traffic. This change can help to
stick only with libevent library.
Implementation was inspired by modified Libevent source code in ipush project
[1].
[1]: https://github.com/sqfasd/ipush/tree/master/deps/libevent-2.0.21-stable
Also, WebSocket-based chat server was added as a sample.
|
|
eb7bed03
|
2020-08-01T16:10:48
|
|
Convert from WinCrypt to Windows BCrypt
Fixes: #1069
|
|
85c67599
|
2020-07-24T17:19:14
|
|
fix: compat mbedtls < 2.4
|
|
d095b834
|
2020-07-07T17:26:46
|
|
Merge ssl implementations (openssl and mbedtls)
This patch splits common part out to avoid copy-paste from the
- bufferevent_openssl.c
- bufferevent_mbedtls.c
It uses VFS/bufferevent-like approach, i.e. structure of callbacks.
|
|
028385f6
|
2020-05-28T17:14:46
|
|
fix build system and add test and cleanup code
|
|
b28effa9
|
2020-01-13T23:04:29
|
|
mbedtls based SSL implementation
prototype is libevent-2.1.11-stable libevent_openssl.c
|
|
28e31050
|
2020-07-03T16:02:09
|
|
build: move automake options into AM_INIT_AUTOMAKE call
|
|
a9aa2b36
|
2020-05-27T15:39:49
|
|
remove FindGit.cmake, improve `git describe` command
|
|
83ef3216
|
2020-04-22T19:44:45
|
|
Add wepoll support to light up the epoll backend on Windows
libevent is lacking a scalable backend on Windows. Let's leverage the wepoll
library until Windows comes up with an epoll/kqueue compete user mode API.
- All regress tests pass for standard wepoll
- These 2 tests fail intermittently for changelist wepoll, so disabling
changelist wepoll for now
http/cancel_inactive_server
http/stream_in
- verify target on Windows runs tests for both wepoll and win32 backends
- wepoll backend preferred over win32 backend
- wepoll version 1.5.6
v2: cleaner backend abstraction. Disallow wepoll on MinGW/Cygwin.
v3: Add wepoll.h to dist
v4: Make sure wepoll source files are excluded from cygwin/mingw builds
v5: Keep win32 as default backend on windows.
v6: Include wepoll in mingw builds. Verified that regress tests pass w/ WEPOLL backend.
v7: Enable wepoll on mingw when building with cmake
v8: Add wepoll testrunner for autotools test target
|
|
f3bc5327
|
2020-05-05T16:24:59
|
|
Update list of cmake files for autotools dist archive
Fixes: #976
|
|
1495f8b6
|
2019-11-06T21:41:38
|
|
Link with iphlpapi only on windows
Fixes: 9fecb59a ("Parse IPv6 scope IDs.")
Refs: #923
|
|
9fecb59a
|
2019-10-29T15:48:53
|
|
Parse IPv6 scope IDs.
|
|
f9c6a14e
|
2019-08-23T22:31:28
|
|
autotools: attach doxygen target into all target
v2: disable man pages by default
|
|
1d1c1909
|
2019-08-23T21:48:05
|
|
cmake: attach doxygen target into all target
v2: Disable non-html generator for doxygen by default
v3: convert cmake option to doxygen config
|
|
3f09e923
|
2019-08-08T21:48:21
|
|
Change the minimum version of automake to 1.13 and autoconf to 2.67
When I run make check via automake with a version of 1.12.6 or lower, I got this error:
/bin/sh: line 9: ./test_runner_epoll: No such file or directory
FAIL: test_runner_epoll
/bin/sh: line 9: ./test_runner_select: No such file or directory
FAIL: test_runner_select
/bin/sh: line 9: ./test_runner_kqueue: No such file or directory
FAIL: test_runner_kqueue
/bin/sh: line 9: ./test_runner_evport: No such file or directory
FAIL: test_runner_evport
/bin/sh: line 9: ./test_runner_devpoll: No such file or directory
FAIL: test_runner_devpoll
/bin/sh: line 9: ./test_runner_poll: No such file or directory
FAIL: test_runner_poll
/bin/sh: line 9: ./test_runner_win32: No such file or directory
FAIL: test_runner_win32
/bin/sh: line 9: ./test_runner_timerfd: No such file or directory
FAIL: test_runner_timerfd
/bin/sh: line 9: ./test_runner_changelist: No such file or directory
FAIL: test_runner_changelist
/bin/sh: line 9: ./test_runner_timerfd_changelist: No such file or directory
FAIL: test_runner_timerfd_changelist
Open the Makefile generated by command ./autogen.sh && ./configure
I can see the errors are caused by this line:
if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then
$${dir}$$tst will expand to ./test_runner_epoll, but test_runner_epoll is only a target in test/include.am,
not a file, so it print:
/bin/sh: line 9: ./test_runner_epoll: No such file or directory.
It seems like a bug in automake 1.12.6.
The errors will disappear if I simply upgrade automake to 1.13, and upgrade autoconf to 2.65
(2.65 is the lowest version dependent by automake-1.13).
When I build with automake-1.13 and autoconf-2.66, I got another error:
configure.ac:667: error: AC_CHECK_SIZEOF: requires literal arguments
The code in configure.ac line 667 is :
AC_CHECK_SIZEOF(void *)
It is a bug in autoconf-2.66 :
http://gnu-autoconf.7623.n7.nabble.com/AC-CHECK-SIZEOF-int-is-error-in-autoconf-2-66-td13537.html
Finally, everything works fine when using automake-1.13 and autoconf-2.67.
Refs: #858
|
|
f05ba671
|
2019-08-03T14:32:21
|
|
Add Uninstall.cmake.in into dist archive
Fixes: #863
|
|
1947dd0d
|
2019-07-27T22:41:39
|
|
Change autoconf version to 2.62 and automake version to 1.11.2
On my computer, the version of autoconf is 2.59 and automake is 1.9
I build with autogen.sh & configure & make and failed.
I find In Makefile.am:
include/event2/event-config.h: config.h make-event-config.sed
$(AM_V_GEN)test -d include/event2 || $(MKDIR_P) include/event2
$(AM_V_at)$(SED) -f $(srcdir)/make-event-config.sed < config.h > $@T
$(AM_V_at)mv -f $@T $@
There are three undefined variables: MKDIR_P, AM_V_GEN and AM_V_at.
Then I tried:
- autoconf-2.60 / automake-1.10
- autoconf-2.61 / automake-1.11
- autoconf-2.62 / automake-1.11.2
And only autoconf-2.62 & automake-1.11.2 is ok.
Therefore, I recommend changing the autoconf version from 2.59 to 2.62
and automake version from 1.9 to 1.11.2.
Plus autoconf 2.59 is too old - 2003.12.16 [1], so as automake 1.9 -
2004.08.11 [2], while $(AM_V_GEN)/$(AM_V_at) had been introduced in
371a1237 back in 2012.
[1]: http://ftp.gnu.org/gnu/autoconf/
[1]: http://ftp.gnu.org/gnu/automake/
Fixes: 371a1237 ("Make quiet build even quieter")
|
|
97488b2c
|
2019-06-26T01:20:53
|
|
Add README.md/Documentation into dist archive
Fixes: #841
|
|
c8b403a8
|
2019-05-15T21:29:03
|
|
Add getopt into dist archive
Fixes: #815
|
|
2f184f8b
|
2019-03-26T13:33:57
|
|
evwatch: Add "prepare" and "check" watchers.
Adds two new callbacks: "prepare" watchers, which fire immediately
before we poll for I/O, and "check" watchers, which fire immediately
after we finish polling and before we process events. This allows other
event loops to be embedded into libevent's, and enables certain
performance monitoring.
Closes: #710
|
|
d4c75450
|
2019-03-25T11:13:03
|
|
Remove manually written nmake makefiles (cmake should be used instead)
This nmake stuff is out dated, and nobody wants to support it anyway.
|
|
69bc2da7
|
2018-10-31T06:34:40
|
|
Add cmake rules into dist archive
Fixes: #502
Refs: #551
|
|
5d74565a
|
2018-04-19T09:39:39
|
|
Give priority to the build directory headers
Not changing anything right now AFAIK. But if for any reason in the
future we end up with two headers with the same name in the source and
build directories, chances are we want to use the one in the build
directory.
|
|
0379eb4b
|
2018-04-19T09:28:36
|
|
Do not ship evconfig-private.h in dist archive
It will be generated by autotools, so there is not reason to include it.
And infact this breaks compilation with out-of-tree builds (VPATH),
since, for the quote form of the include directive, headers in the
directory of the file with the #include line have priority over those
named in -I options, the copy of evconfig-private.h from the source
directory had priority over the one in the build directory.
|
|
1a448088
|
2017-05-14T06:22:11
|
|
Provide Makefile variables LIBEVENT_{CFLAGS,CPPFLAGS,LDFLAGS}
This will allow a parent package to specify compiler, CPP, and linker
flags to a libevent built as a sub-package. Document this in
whatsnew-2.2.txt.
Picked-from: #506
Closes: #506
|
|
7bc822ca
|
2017-01-29T21:37:31
|
|
Include openssl-compat.h into dist archive
Refs: nmathewson/Libevent@140
Refs: http://archives.seul.org/libevent/users/Jan-2017/msg00001.html
|
|
efcfa046
|
2017-01-29T18:13:07
|
|
Bump version in master to 2.2.0-alpha-dev
And according to f8d80a285cf941505277d9060d0357b5b7e543d2 ("Bump version
to 2.1.3-alpha-dev") numeric version have 1 at the end, since it means
"-dev".
|
|
9b63b5d4
|
2017-01-22T18:21:57
|
|
Bump version to 2.1.8-stable everywhere
P.S. in referenced commit I made a mistake and instead of *-rc* I wrote
*-beta*.
See-also: f4489b8323cda0bf8eed7c1353911a852d7a947c ("Bump version to
2.1.7-beta everywhere")
|
|
bed52ff6
|
2017-01-22T16:38:01
|
|
VERSION_INFO should me equal to library version
This reverts commit 43243b9d55efcd0e6e2767a5c45bc7da46cff60c (I
shouldn't do this).
|
|
a7513cc9
|
2017-01-15T12:31:27
|
|
automake: do not use serial-tests if parallel-test-harness available
Revert: 61179dec7716975a151c6dae4524ae504d05780e ("automake: define
serial-tests only if automake have this option") Revert:
Revert: 44d755e00e249c09914cf35089c16735df82e270 ("test/automake: don't
use paralell test harness (since automake 1.12)")
|
|
43243b9d
|
2017-01-20T21:24:54
|
|
Bump VERSION_INFO so that libraries symlinks will have the same version
Fixes: f4489b8323cda0bf8eed7c1353911a852d7a947c ("Bump version to 2.1.7-beta
everywhere")
|
|
f4489b83
|
2016-11-02T00:31:31
|
|
Bump version to 2.1.7-beta everywhere
- cmake basic
- cmake detecting from git -- event_fuzzy_version_from_git()
- autotools
- win32
- appveyor
|
|
51019e94
|
2016-07-13T17:40:48
|
|
Bump version to 2.1.6-beta everywhere
- cmake basic
- cmake detecting from git -- event_fuzzy_version_from_git()
- autotools
- win32
- appveyor
|
|
bb09535b
|
2016-08-07T22:19:39
|
|
autoconf: fix --disable-thread-support build under win32
Fixes: https://ci.appveyor.com/project/azat/libevent/build/job/gvud4tcqsd5bnarl
Fixes: https://ci.appveyor.com/project/azat/libevent/build/2.1.6.80/job/5frnb1c3n4quxxqy
Fixes: https://ci.appveyor.com/project/azat/libevent/build/2.1.6.80/job/3wdahbrew7setmoa
|
|
61179dec
|
2016-05-11T16:02:02
|
|
automake: define serial-tests only if automake have this option
P.S. I did try a lot of other ways, but seems that this is the only one that
will work.
Fixes: automake 1.11
Travis-CI: https://travis-ci.org/azat/libevent/jobs/129398265
|
|
44d755e0
|
2016-05-11T10:18:25
|
|
test/automake: don't use paralell test harness (since automake 1.12)
Starting from automake 1.2 there is parallel test harness, that redirects all
output to some log, which serial-test doesn't do.
So in case of new runner we can get no output for 10 minutes, for example on my
desktop:
$ time make verify VERBOSE=1
PASS: test/test-script.sh
============================================================================
Testsuite summary for libevent 2.1.5-beta
============================================================================
# TOTAL: 1
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
real 25m31.735s
user 0m13.753s
sys 0m7.648s
And this means that this will fail on travis-ci, since it has timeout for 10
minutes. Sure we can use `travis wait 60` instead, but I think that it is
better to fix this by writing result to output, instead of hacking around, so
let's use serial-tests instead of parallel always.
And now it works on travis-ci under linux because it has automake 1.11 while
osx has at least 1.12.
Links:
https://docs.travis-ci.com/user/common-build-problems/
https://www.gnu.org/software/automake/manual/html_node/Serial-Test-Harness.html#Serial-Test-Harness
https://www.gnu.org/software/automake/manual/html_node/Parallel-Test-Harness.html
CI:
https://travis-ci.org/azat/libevent/jobs/129171497 # ok on linux
https://travis-ci.org/azat/libevent/jobs/129171532 # no output for 10 min on osx
|
|
b8d7c621
|
2016-04-20T07:31:25
|
|
libevent_core and libevent_extra also deserve a pkgconfig file
|
|
683f5568
|
2015-01-05T09:16:12
|
|
Increment version to 2.1.5-beta
|
|
d08273ec
|
2014-03-16T12:09:24
|
|
Increment version to 2.1.4-alpha
|
|
43ffcf69
|
2014-01-21T15:47:44
|
|
Split epoll lookup table into a separate header file
It accounted for more than half the length of epoll.c, and it's
machine-generated, so we might as well keep it separate.
|
|
ae1bd829
|
2014-01-21T19:19:30
|
|
Fix broken autotools build.
The move of the static *config.h files to a sub directory for WIN32 broke the autotools build. Use the proper subpath for that as well...
|
|
dd4be76f
|
2013-04-30T12:02:49
|
|
Incremement version to 2.1.3-alpha
|
|
49146200
|
2013-03-31T14:05:26
|
|
Do not build strlcpy.c when it will have no code.
|
|
2863c837
|
2013-02-08T22:10:05
|
|
Avoid using $(top_srcdir) in TESTS.
Newer automakes don't like this.
|
|
ffdad1dc
|
2012-11-18T10:53:52
|
|
Bump versions to 2.1.2-alpha
|
|
64177777
|
2012-11-18T01:39:10
|
|
Increment libtool version for 2.0.21 too
|
|
b3fea673
|
2012-09-03T08:37:25
|
|
Rename configure.in to configure.ac.
".ac" is the preferred extension.
|
|
b7f6e89a
|
2012-08-28T16:22:00
|
|
We now require automake 1.9 or later. Modernize!
|
|
371a1237
|
2012-08-28T16:07:56
|
|
Make quiet build even quieter
|
|
6cdfeebe
|
2012-08-28T16:01:14
|
|
Rename subordinate Makefile.ams to include.am
|
|
7092f3b6
|
2012-08-28T15:58:18
|
|
Switch to non-recursive makefiles
This approach should let Make work better, let libevent build faster
(especially when using a parallelized build), and basically make the
Makefiles easier to maintain.
See http://miller.emu.id.au/pmiller/books/rmch/ for more info on why
you'd want to do this.
This is due to an idea from Zack Weinberg; the patch is my own.
|
|
7b18e5c6
|
2012-08-28T15:10:55
|
|
Enable silent build rules by default. Override with V=1
|
|
46604b34
|
2012-08-23T14:38:54
|
|
Increment version to 2.0.20-stable
|
|
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
|