30 Commits

Author SHA1 Message Date
Azat Khuzhin
742bb5f5af Update AUTHORS for 2.1.12 2020-06-28 22:11:46 +03:00
Azat Khuzhin
b9c364e4ec
Bump AUTHORS.md 2019-08-02 00:12:11 +03:00
Azat Khuzhin
8a24ff20f0
Bump AUTHORS section 2019-05-25 23:44:43 +03:00
Azat Khuzhin
5991f5b22c
Update link to the appveyor project
Since the migration request has been hanged for a while, let's switch it
for now without beauty API URL.

Fixes: #555
(cherry picked from commit 2fccb967c52e9f5373494df2773c684dee5ef973)
2019-05-25 21:25:09 +03:00
Azat Khuzhin
9e0a1e06cd
Bump AUTHORS section 2019-02-10 16:22:56 +03:00
Azat Khuzhin
bc7f2fd9f2
cmake: do not build both (SHARED and STATIC) for MSVC/win32
MSVC does not support SHARED and STATIC libraries with the same name,
so let's just build SHARED libraries by default instead (yes we can add
prefix but let's stick with this).

The reason for this is that in windows shared libraries requires .lib
file too, but this is not static library it is imported library for
shared (doh...), for more info [1] and [2].

  [1]: https://docs.microsoft.com/en-us/windows/desktop/dlls/dynamic-link-library-creation
  [2]: https://blogs.msdn.microsoft.com/oldnewthing/20091013-00/?p=16403

And when we build both static library can and will override shared
library imported part, let's take a look at event_extra.lib:

- before patch [3]:
  $ less libevent-fail/lib/Debug/event_extra.lib | head
  ==> use library:contained_file to view a file in the archive
  rw-rw-rw- 100666/100666  59568 Nov 21 23:55 2018 event_extra_static.dir/Debug/evrpc.obj
  rw-rw-rw- 100666/100666 252219 Nov 21 23:55 2018 event_extra_static.dir/Debug/evdns.obj
  rw-rw-rw- 100666/100666 203850 Nov 21 23:55 2018 event_extra_static.dir/Debug/http.obj
  rw-rw-rw- 100666/100666  25907 Nov 21 23:55 2018 event_extra_static.dir/Debug/event_tagging.obj

  [3]: https://ci.appveyor.com/project/azat/libevent/builds/20472024/job/t0o93v042jai0dj7

- "after patch" [4] (not after but the same effect):
  $ less libevent-ok/lib/Debug/event_extra.lib | head
  ==> use library:contained_file to view a file in the archive
  --------- 0/0    509 Nov 21 23:38 2018 event_extra.dll
  ...

  [4]: https://ci.appveyor.com/project/azat/libevent/builds/20478998/job/ca9k3c76amc4qr76

Refs: #691
(cherry picked from commit 90d80ef4167d97b11e01e80fcc4eaa447712e92f)
2019-02-02 15:18:05 +03:00
Azat Khuzhin
eb10a7387c
cmake: introduce EVENT__LIBRARY_TYPE option
Long time ago in [1] cmake build was forced to compile both libraries
(SHARED and STATIC), since this is how our autotools build works.

  [1]: 7182c2f561570cd9ceb704623ebe9ae3608c7b43 ("cmake: build SHARED and STATIC libraries (like autoconf does)")

And there is no way to configure this (and indeed you need to do this
for MSVC for example), so let's introduce option for this --
EVENT__LIBRARY_TYPE.

Plus now we have INTERFACE libraries, that we can use internally in
libevent's cmake rules to avoid strict to _shared/_static variant of the
libraries to link with samples/tests (we prefer SHARED over STATIC for
linking).

Also bump minimal cmake required version to 3.1 by the following
reasons:
- 3.1 is required for RPATH configuration under APPLE
- 3.0 is required for add_library(INTERFACE) (did not found it in 2.8.x
documentation)
- remove extra conditions
(anyway 3.1 was release 4 years ago, so I guess that most of the systems
will have it)

(cherry picked from commit c9a073eae8f86a74fbbb125db34b881ef40108b7)
2019-02-02 15:18:05 +03:00
Azat Khuzhin
21bfaa702f
Merge branch 'official/pr/671' -- README cleanup
* official/pr/671:
  Capitalise project names consistently in README.md
  Indent configure flag section to make markdown format them as code
  Use https for resources that support it
  Rewords awkward sentences in README.md
  Fix typos in README.md

(cherry picked from commit c3a6fe75e1511a4c7a7a6ef0a5954b1918902933)
2019-02-02 15:17:58 +03:00
The Gitter Badger
8886eed498
Add Gitter badge
(cherry picked from commit ba78ba9e8ba4c964dd5d14a281d7421c95d37937)
2019-02-02 15:17:55 +03:00
Azat Khuzhin
02312d506b
Remove OpenSSL paragram from README
Because it is mauvais ton to use binaries instead of normal packages
(like apt-get in debian, pacman in arch, and others).

Plus that link was borken and according to [1] OpenSSL do not ship
binaries officially.

And personally I don't think that this is not obvious that you need
openssl libraries to build libevent with it's support, and BTW you need
headers too (of course).

[1]: https://www.openssl.org/community/binaries.html
Fixes: #562

(cherry picked from commit 62866f98a5979e3b9ee8db0287be79749fcf7d6a)
2019-02-02 15:13:53 +03:00
Gonçalo Ribeiro
5dbcae8578
Correct URL for the libevent logo
(cherry picked from commit f988c5ca0eb654a8e60df174abfc63dd9476be5e)
2019-02-02 15:13:50 +03:00
Azat Khuzhin
9806b12637
Merge branch 'cmake-missing-bits'
This patchset adds next missing things (in compare to autotools):
- pkgconfig
- event_pthreads/event_openssl
- compile shared/static libraries always

And some fixes, because it will not build after fixing other things:
- export missing symbols for cmake (-fvisibility=hidden)

* cmake-missing-bits:
  cmake: support visibility for AppleClang too
  cmake: fix export absolute path and relative path and cleanup a bit
  cmake: generate and install pkgconfig files
  cmake: build SHARED and STATIC libraries (like autoconf does)
  cmake: add missing event_openssl/event_pthreads libraries
  Export symbols for -fvisibility=hidden (under cmake)

Refs: #246
(cherry picked from commit 489991a2b2628ba1ff4e6879b9f67ec35d224c38)
2019-02-02 15:13:49 +03:00
Azat Khuzhin
d9d11cb2e9
Make EVENT_STAGE_NAME non cached
It did not work before correctly anyway, since cmake do not reset cache
entries by default, so that reset to "beta" didn't work.

But I don't think that making this variable cached is useful, so let's
remove this.

(cherry picked from commit fe2c2622c389d7e9529b3c2fa828fb69cc985a1e)
2019-02-02 14:19:09 +03:00
Azat Khuzhin
50824ae2a0 README: update AUTHORS
$ git log --format='%an' HEAD...refs/tags/release-2.1.6-beta | sort -u | xargs -n1 -i bash -c 'fgrep -q "{}" README.md || echo {}'
2017-01-22 16:14:30 +03:00
Breaker
3821cca1a6 Update README.md
The default option of  EVENT__DISABLE_OPENSSL:BOOL is `OFF`
2016-12-23 16:19:35 +08:00
Azat Khuzhin
5904dd53b2 README: update AUTHORS
$ git log --format='%an' HEAD...refs/tags/release-2.1.6-beta | sort -u | xargs -n1 -i bash -c 'fgrep -q "{}" README.md || echo {}'
2016-11-04 03:32:57 +03:00
Azat Khuzhin
9ac000c724 Use coveralls.io via travis 2016-11-02 15:42:16 +03:00
Simone Basso
236161611f README.md: fix typo: ar -> are 2016-10-21 10:49:22 +02:00
Azat Khuzhin
3298c254b7 Update AUTHORS section in README
P.S. "Sebastian Hahn" was declared two times.
2016-08-27 01:28:36 +03:00
Mark Ellzey
b8ec70c461 Update README.md 2015-12-23 02:42:48 -08:00
Mark Ellzey
8b228e27f5 Lot's of cmake updates
This is still not done, cmake here was a horrid mess, but we're
getting our act together now.
2015-12-19 01:47:49 -08:00
Mark Ellzey
80faee9fbb Update README.md 2015-05-13 00:52:40 -04:00
Mark Ellzey
ad4a897a76 Update README.md 2015-05-13 00:51:07 -04:00
Mark Ellzey
a2b2e1e6f7 Update README.md 2015-05-13 00:49:08 -04:00
Mark Ellzey
0dfa5dc671 Update README.md 2015-05-12 15:33:26 -04:00
Nick Mathewson
e6c6f12050 Bring changelog up to date for 2.1.4-alpha 2014-03-16 12:01:44 -04:00
Nick Mathewson
d03b5bf0bc Disclaimerize cmake a little in the README 2014-01-21 14:29:00 -05:00
JoakimSoderberg
8d4cb35dda Clean up the README some. 2014-01-14 18:41:58 +01:00
Joakim Soderberg
604b8cc4d1 Update README with CMake build instructions. 2014-01-14 18:25:07 +01:00
Joakim Soderberg
d2bc39afd0 Rename README to README.md and use markdown to format. 2014-01-14 18:24:43 +01:00