|
683f5568
|
2015-01-05T09:16:12
|
|
Increment version to 2.1.5-beta
|
|
e69d9109
|
2015-01-03T02:22:31
|
|
Fix CMake shared library build
This fixes following problems in shared library build:
* visibility=hidden was not enabled for gcc because of incorrect variable name
* test programs that need internal APIs caused link errors
|
|
5c7282f7
|
2014-09-24T13:46:09
|
|
Fix compilation for older OpenSSL versions.
For instance OpenSSL 0.9.7 does not have SSL_set_tlsext_host_name.
Also add the missing EVENT__DISABLE_SAMPLES CMake option.
|
|
27bd9faf
|
2014-09-02T18:25:52
|
|
updates in cmake build
|
|
15d90cce
|
2014-03-24T15:01:02
|
|
Add missing headerfile for cmake
|
|
de268feb
|
2014-03-21T13:20:34
|
|
Increment version to 2.1.4-alpha-dev
|
|
73474042
|
2014-03-21T12:12:10
|
|
Fixup make install for cmake projects
Install all of the public headers and put the dll's in the
same directory as the binaries.
|
|
d08273ec
|
2014-03-16T12:09:24
|
|
Increment version to 2.1.4-alpha
|
|
8896a92b
|
2014-03-03T13:47:21
|
|
Merge remote-tracking branch 'origin/pr/110'
|
|
4545fa9b
|
2014-02-19T06:31:27
|
|
Add option to build shared library
|
|
f665d5cb
|
2014-02-24T10:32:00
|
|
Stop checking for inet_aton; we don't use it.
We had cmake and autoconf tests for the inet_aton function... but we
never actually use it any more.
(The autoconf tests still use the callability of inet_aton to decide
whether we need to link against -lresolv)
Reported by Harlan Stenn.
|
|
a0dd5df2
|
2014-02-19T06:29:58
|
|
Rename event_extras to event_extra
The library event_extras is named event_extra when building with
GNU autotools
|
|
ed99d92c
|
2014-02-14T08:26:07
|
|
Added -Qunused-arguments for clang on macosx
The CLang provided through Xcode on Mac OSX emits warnings for
all unused include paths making the compilation extremely verbose.
|
|
f1715b47
|
2014-01-22T12:12:51
|
|
Guard against EVENT_NOWIN32 being set during testing.
On windows all tests will fail if EVENT_NOWIN32 is set, since then there
will be no backend available.
Question is if we should simply disable the environment variable check on
Windows, since there's only one backend available anyway?
|
|
d38d798b
|
2014-01-22T00:06:21
|
|
CMake: Get rid of python not found warning when regress tests turned off.
It would warn that python wasn't found when it was, just because the regress tests where turned off... confusing.
|
|
e423d420
|
2014-01-22T00:03:37
|
|
Fix CMake compile when OpenSSL is disabled.
|
|
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.
|
|
20244671
|
2014-01-21T11:19:02
|
|
Fix include bug.
On systems where a previous version of Libevent is installed we don't want the system version of the headers to be included before the ones in the build tree. This happened on my OSX system where I had an ancient version of Libevent installed. It would then load the incorrect event-config.h and fail because the system introspection macros weren't set properly.
|
|
fd42e70d
|
2014-01-14T17:37:58
|
|
Set USE_DEBUG=1 on EVENT__ENABLE_VERBOSE_DEBUG
|
|
49ab3632
|
2014-01-14T13:01:31
|
|
Some work on making it possible to simply do add_subdirectory() on the project.
|
|
4b754df9
|
2014-01-10T17:58:42
|
|
Fix typo
|
|
f3446ed5
|
2014-01-09T13:44:38
|
|
Add CMake config and install targets.
Make it easier for other projects to do find_package by creating config
files both in the build and install tree.
|
|
dd413bd1
|
2013-12-19T12:03:49
|
|
Added EVENT__ENABLE_GCC_WARNINGS, turns all warnings into errors.
|
|
f7805939
|
2013-12-19T10:46:04
|
|
Only look for ZLib when it is used (if tests are included).
Also make the project language C.
|
|
4ac086ab
|
2013-12-19T10:54:52
|
|
Fix the "make verify" target on NetBSD
|
|
f2483f8b
|
2013-12-17T15:17:29
|
|
Add a "make verify_coverage" target generation coverage info.
Use lcov/gcov to gather coverage info for the tests (Only works with gcc/clang and make).
cmake -DEVENT__COVERAGE=1 -DCMAKE_BUILD_TYPE=Debug ..
make
make verify_coverage
Current coverage (run on debian):
Line coverage 79.1 % 10231 / 12939
Function coverage 86.1 % 933 / 1083
|
|
968e97bd
|
2013-12-17T14:31:22
|
|
Minimum required python version is 2.4.
Got rid of TODO... The version you specify to find_package is the minimum
version, so exactly what we want.
|
|
2799b359
|
2013-12-17T14:01:21
|
|
Added a test for testing if kqueue works with pipes.
|
|
a831f2f7
|
2013-12-17T13:29:04
|
|
Fix kqueue support.
|
|
69c3516b
|
2013-12-17T13:28:23
|
|
Get rid of deprecation warnings for OpenSSL on OSX 10.7+
|
|
67e5d749
|
2013-12-16T18:10:32
|
|
Fix the make "verify" target on Windows.
Windows does not have the "unset" command, but this doesn't matter since
the problem that requires us to use unset doesn't happen on Windows.
Also did some minor cosmetic changes, and dependcy changes.
|
|
e053c4f0
|
2013-12-16T16:44:13
|
|
Added a "make verify" target.
This is more than for cosmetic purposes to match how it's done with autoconf.
Due to the fact that we use environment variables to turn off certain backends during the tests, simply running "ctest" or "make test" can result in failed tests.
This is because if you do "EVENT_NOEPOLL=yes && export EVENT_NOEPOLL" and then run the tests, when running the epoll tests, the EPOLL backend will be turned off. There is no way of unsetting an environment variable for a test in CMake, you can only set them. And since libevent simply checks if the environment variable is set (it doesn't check the actual value of it), this won't work.
So to remedy this, we create the "make verify" target that first unsets all the EVENT_NO* environment variables, and then runs ctest.
Also bumped the required CMake version from 2.6 to 2.8, since the set_test_properties(bla PROPERTIES ENVIRONMENT "SOME_VAR") requires 2.8
Added some explicit dependencies for the test programs to libevent, so they don't just fail if you try to run the tests without first doing "make"
|
|
7ea4159d
|
2013-12-16T16:37:51
|
|
Only test the event backends available on the system.
Fix how the CMake project adds the tests using the different backends. At
first we tried to do it exactly as it's done in test/test.sh.
However, test.sh uses a special program test-init to decide if a given
backend is available or not before running the actual tests. Doing it this way
will not be possible using CMake. Since then we would have to have the
test-init executable compiled at the time we run CMake, to know what tests
we should add. (And since CMake generates the make/project files that
compiles the executables, there's a catch 22).
Instead of deciding what tests to run this way, we simply use the result
of the CMake system introspection (that figures out what backends are
available) to decide what backend tests to add.
|
|
9bbce0b6
|
2013-12-16T11:34:14
|
|
Only include WIN32 getopt where it is used.
getopt is only used in the benchmark tests, don't include it in the core
lib...
|
|
19222e52
|
2013-12-13T17:00:23
|
|
Added some GCC specific options.
- Added sample applications.
- Fixed the https-client to work on Windows kind of (No cert validation).
|
|
58fcd428
|
2013-12-13T12:39:50
|
|
Link libm on unix platforms.
|
|
ce14defe
|
2013-12-13T11:34:22
|
|
Generate a dummy evconfig-private.h so things build properly.
Windows used to have an empty file for this before.
|
|
99c1dc32
|
2013-12-12T18:21:11
|
|
More work on adding tests to CMake project
|
|
e9fc014c
|
2013-12-12T16:33:20
|
|
Add all tests and benchmarks to CMake project.
Also fixed some minor issues with what's built.
|
|
e415196a
|
2013-12-09T18:05:32
|
|
Initial CMake commit.
|