aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat_libevent.c
Commit message (Collapse)AuthorAge
* make c612ddee compile with old libeventsRoger Dingledine2010-09-29
|
* Add a new option to enable/disable IOCP supportNick Mathewson2010-09-28
|
* Fix whitespace in bufferevents branchNick Mathewson2010-09-27
|
* Some bufferevents related fixes and pointers for nickmSebastian Hahn2010-09-27
|
* Convert bufferevents to use rate-limiting.Nick Mathewson2010-09-27
| | | | | | | | | | | This requires the latest Git version of Libevent as of 24 March 2010. In the future, we'll just say it requires Libevent 2.0.5-alpha or later. Since Libevent doesn't yet support hierarchical rate limit groups, there isn't yet support for tracking relayed-bytes separately when using the bufferevent system. If a future version does add support for hierarchical buckets, we can add that back in.
* whitespace fixSebastian Hahn2010-07-27
|
* Make sure we don't warn for libevent versions like 1.4.14b-stableSebastian Hahn2010-07-26
|
* Rename log.h to torlog.hNick Mathewson2010-07-09
| | | | | | | | | | This should make us conflict less with system files named "log.h". Yes, we shouldn't have been conflicting with those anyway, but some people's compilers act very oddly. The actual change was done with one "git mv", by editing Makefile.am, and running find . -name '*.[ch]' | xargs perl -i -pe 'if (/^#include.*\Wlog.h/) {s/log.h/torlog.h/; }'
* Fix a compile error when building with Libevent before 1.4.5-stableNick Mathewson2010-06-25
| | | | | Older versions of Libevent forgot to declare enough function arguments constant.
* Use Libevent 2.0's periodic timers where available.Nick Mathewson2010-06-25
| | | | | | | | These timers behave better with non-monotonic clocks than our old ones, and also try harder to make once-per-second events get called one second apart, rather than one-plus-epsilon seconds apart. This fixes bug 943 for everybody using Libevent 2.0 or later.
* Fix a compilation warning on compat_libevent.c on some versions of windows ↵Nick Mathewson2010-04-19
| | | | libevent
* Update copyright dates for files not in maint-0.2.1Nick Mathewson2010-02-27
|
* Remove duplicate words and a duplicate newline.Karsten Loesing2009-12-18
|
* Set EV_PERSIST flag on signal events with Libevent < 2.0.Nick Mathewson2009-06-18
| | | | Fix for bug 1007.
* Fix bug 1001Sebastian Hahn2009-06-16
| | | | | For compatibility with Libevent2, tor_event_new should accept a NULL base without crashing.
* Whitespace and osx fixes on libevent2 patch.Nick Mathewson2009-06-12
|
* Make Tor compile with Libevent 1.0 again.Nick Mathewson2009-06-12
|
* Move the Libvent setup logic into compat_libevent from config.Nick Mathewson2009-06-12
| | | | | This has been some pretty ugly and voodoo-laden code. I've tried to clean it up a bit, but more work probably remains.
* Update Tor to use Libevent 2.0 APIs when available.Nick Mathewson2009-06-12
This patch adds a new compat_libevent.[ch] set of files, and moves our Libevent compatibility and utilitity functions there. We build them into a separate .a so that nothing else in src/commmon depends on Libevent (partially fixing bug 507). Also, do not use our own built-in evdns copy when we have Libevent 2.0, whose evdns is finally good enough (thus fixing Bug 920).