Nick Mathewson
6f2337dd0e
Merge remote-tracking branch 'origin/patches-2.0'
release-2.1.1-alpha
2012-04-03 18:39:30 -04:00
Nick Mathewson
d1a03b2ff1
Backport: provide EVENT_LOG_* names, and deprecate _EVENT_LOG_*
...
This is a partial backport of cb9da0bf and a backport of c9635349.
Because C doesn't like us to declare identifiers starting with an
underscore, Libevent 2.1 has renamed every such identifier. The
only change that affects a public API is that the _EVENT_LOG_*
macros have been renamed to start with EVENT_LOG instead. The old
names are still present, but deprecated.
I'm doing this backport because it represents the deprecation of a
Libevent 2.0 interface, and folks should have the opportunity to
write code that isn't deprecated and works with both 2.0 and 2.1.
2012-04-03 18:31:08 -04:00
Nick Mathewson
3ef4b3532f
Merge remote-tracking branch 'origin/patches-2.0'
2012-04-03 17:27:07 -04:00
Nick Mathewson
88b4f0bb0d
fix some typos in the 2.1 changelog
2012-04-03 17:26:25 -04:00
Nick Mathewson
3faaad49c4
Bump the version to Libevent 2.1.1-alpha
2012-04-03 17:26:12 -04:00
Nick Mathewson
f775521c31
Fix the website URL in the readme
2012-04-03 17:25:36 -04:00
Nick Mathewson
2dedff36e1
Try to finalize changelog situation for 2.1.1-alpha
2012-04-03 16:50:54 -04:00
Nick Mathewson
ba696dce0b
Merge remote-tracking branch 'vm/21_fix_nmake_build'
2012-04-03 16:35:36 -04:00
Nick Mathewson
2bb8f2dd78
Add pending names to the README; add more entries to the changelog
2012-04-03 16:35:26 -04:00
Nick Mathewson
bcf5258533
Include ws2tcpip.h from util.h to get EAI_* definitions.
...
This is necessary on msvc, to get the EVUTIL_EAI_* values defined properly
2012-04-03 16:24:18 -04:00
Nick Mathewson
2449e0c508
Fix some compilation warnings with msvc
2012-04-03 16:15:49 -04:00
Nick Mathewson
07cb57042d
Oops; fix a merge conflict that got committed into event2/event-config.h. Now msvc builds work again.
2012-04-03 16:08:23 -04:00
Nick Mathewson
6c95c6c8a2
Decrease MAX_REQUESTS in test-fdleak
...
We've got to do this because doing otherwise seems to freak out
windows XP.
2012-04-03 15:44:21 -04:00
Nick Mathewson
14eb28a312
Include util-internal.h earlier in test-dumpevents to fix solaris build
...
See 95e2455cdbf840b for rationale.
2012-04-03 15:41:12 -04:00
Nick Mathewson
e78baf4a01
Fix compilation with mm-replacement disabled.
2012-04-03 14:54:39 -04:00
Nick Mathewson
13dad99c2f
make event_base_get_running_event build with threads disabled.
2012-04-03 14:53:00 -04:00
Nick Mathewson
55e8dc1ba2
Make check-dumpevents work with out-of-tree builds
2012-04-03 14:51:51 -04:00
Nick Mathewson
f7b8200ca7
Make check-dumpevents.py actually get included in the tarballs
2012-04-03 12:36:51 -04:00
Nick Mathewson
93defa2ffc
Merge remote-tracking branch 'origin/patches-2.0'
2012-04-03 09:52:40 -04:00
Sebastian Hahn
4a6fd43313
Configure with gcc older than 2.95
...
I don't know why people use such ancient gcc versions, but the fix seems
straightforward enough to maybe just do it.
2012-04-03 05:37:31 +02:00
Nick Mathewson
e780d4e16c
Merge remote-tracking branch 'origin/patches-2.0'
2012-04-02 18:14:26 -04:00
Nick Mathewson
78d67b2973
Missing ) in bufferevent_ratelim.c comment. Found by rransom
2012-04-02 18:13:53 -04:00
Nick Mathewson
4c7ee6b0c9
Add missing ) to changelog; spotted by rransom
2012-04-02 18:12:44 -04:00
Nick Mathewson
620f4a7c8f
Add a missing name to the readme.
2012-04-02 17:31:31 -04:00
Nick Mathewson
e08a88d702
Merge branch '21_http_test_timing'
2012-04-01 01:01:50 -04:00
Nick Mathewson
fc23af45d1
Increase duration and tolerance on http/connection_retry test
...
This takes its runtime back up a little again, but not so high as it
was before. It appears to address the heisenbug issues of github
nmathewson/libevent issue #49 . So far.
2012-04-01 00:21:55 -04:00
Nick Mathewson
dcab134708
Merge remote-tracking branch 'origin/patches-2.0'
2012-03-30 10:29:08 -04:00
Nick Mathewson
336dcaeaef
Fix a compilation error with MSVC 2005 due to use of mode_t
...
MSVC apparently doesn't have a mode_t defined, though mingw does.
Found by Savg He.
2012-03-30 10:26:50 -04:00
Nick Mathewson
09cbc3dcfb
Temporarily disable event_queue_reinsert_timeout
...
Apparently, now that we have tests for it in main/common_timeout, we
can now see that it sometimes breaks referential integrity somehow.
Since I'd like to get 2.1.1-alpha out the door soon, I'm turning it
off for now.
2012-03-26 23:28:21 -04:00
Nick Mathewson
55e991b27c
Make libevent_global_shutdown() idempotent
...
Two calls to libevent_global_shutdown on your exit path shouldn't
result in a crash.
2012-03-26 17:35:21 -04:00
Nick Mathewson
43d5389c80
Updates for whatsnew-2.1.txt
2012-03-26 14:23:01 -04:00
Nick Mathewson
7f62f4ab2e
Merge pull request #48 from rosslagerwall/py-version
...
Require python version
2012-03-26 11:21:51 -07:00
Ross Lagerwall
029a3db354
Require at least Python 2.4 for check-dumpevents.py.
2012-03-26 20:12:45 +02:00
Nick Mathewson
d8a7853ed0
Merge remote-tracking branch 'origin/patches-2.0'
2012-03-25 18:56:34 -04:00
Nick Mathewson
98e9119fab
Fix a typo in the bufferevent documentation
2012-03-25 18:56:15 -04:00
Nick Mathewson
c24f91ad97
Test more bufferevent_ratelim features
2012-03-25 18:55:31 -04:00
Nick Mathewson
c5732fddb0
Add event_base_get_running_event() to get the event* whose cb we are in
2012-03-25 18:54:40 -04:00
Nick Mathewson
5626092c58
More coverage on reinsert_timeout tests
2012-03-23 19:30:02 -04:00
Nick Mathewson
8d08ccee09
Make test-dumpevents build on Linux
2012-03-23 19:29:45 -04:00
Nick Mathewson
8c36acd0b0
Fix a nasty bug in event_queue_reinsert_timeout()
...
What was I thinking? The old function could handle heap-to-heap
transitions, and transitions within the same common timeout queue, but
it completely failed to handle heap/queue transitions, or transitions
between timeout queues.
Now, alas, it's complicated. I should look hard at the assembly here
to see if it's actually better than the alternatives.
2012-03-23 18:42:56 -04:00
Nick Mathewson
7afe48aab8
Add a unit test for event_base_dump_events()
...
This function uses a C program to generate its output, and then uses a
Python program to check it for correctness. On systems without
Python, we just make sure that the C program doesn't crash.
It's likely that we should be requiring some particular python version.
This is an alpha, though: I'm sure somebody will tell us which.
2012-03-23 17:56:23 -04:00
Nick Mathewson
0343d8fec5
event_base_dump_events: Report active events tersely, and note internal events
2012-03-23 17:53:08 -04:00
Nick Mathewson
172896831c
Fix compilation of evutil_rand on osx
2012-03-23 17:27:18 -04:00
Nick Mathewson
1d8240c04a
Merge pull request #47 from rosslagerwall/patch-1
...
Fix typo in whatsnew-2.1.txt
2012-03-23 11:24:58 -07:00
Ross Lagerwall
6aa4801569
Fix typo in whatsnew-2.1.txt
2012-03-23 12:35:33 +02:00
Nick Mathewson
15296d06bd
Use libevent_global_shutdown() to clean up in unit tests.
...
This bumps coverage up by a few lines. Every little bit helps.
2012-03-22 18:24:48 -04:00
Nick Mathewson
4fe81e238b
Distribute whatsnew-2.1.txt.
2012-03-22 18:11:01 -04:00
Nick Mathewson
f98c1588c2
Fix another bug from rebase of libevent_global_shutdown patch
...
This one affected machines without a builtin arc4random
2012-03-22 17:33:17 -04:00
Nick Mathewson
7ae08e5031
Write a first draft of whatsnew-2.1.txt
2012-03-22 17:33:12 -04:00
Nick Mathewson
107272b681
Tweak changelog for 2.1 even more
2012-03-22 15:28:00 -04:00