2867 Commits

Author SHA1 Message Date
Nick Mathewson
b738ee189f Merge remote-tracking branch 'rosslagerwall/python2' 2012-11-01 10:19:01 -04:00
Nick Mathewson
32ed11024a Merge remote-tracking branch 'origin/patches-2.0' 2012-10-26 19:37:00 -04:00
Nick Mathewson
2479d96405 Merge remote-tracking branch 'rosslagerwall/python2-2.0' into patches-2.0 2012-10-26 19:36:44 -04:00
Nick Mathewson
d5318b664d Merge remote-tracking branch 'origin/patches-2.0' 2012-10-26 19:34:47 -04:00
Juan Pablo Fernandez
cb853ea36c Close IOCP listener socket on free when LEV_OPT_CLOSE_ON_FREE is set 2012-10-26 19:33:31 -04:00
Nick Mathewson
cda69d0df0 Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
	bufferevent_openssl.c
2012-10-24 22:55:17 -04:00
Nick Mathewson
1ff2c249bd Merge remote-tracking branch 'public/20_bev_timeout_semantics' into patches-2.0 2012-10-24 22:48:59 -04:00
Patrick Pelletier
09098f70a2 fix a few trivial documentation typos 2012-10-23 22:09:45 -07:00
Ross Lagerwall
0eb01099da Use python2 rather than python
python may refer to either python2 or python3 so rather by explicit by
using python2.
See PEP 394 - http://www.python.org/dev/peps/pep-0394/ for more
details.
2012-10-23 13:30:58 +01:00
Ross Lagerwall
4b5f32a59e Use python2 rather than python
python may refer to either python2 or python3 so rather by explicit by
using python2.
See PEP 394 - http://www.python.org/dev/peps/pep-0394/ for more
details.
2012-10-23 13:26:44 +01:00
Nick Mathewson
f2050e79d5 Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
	bufferevent_openssl.c
2012-09-22 19:21:21 -04:00
Joachim Bauch
1acf2ebcff No need to reserve space if reading is suspended.
Conflicts:
	bufferevent_openssl.c
2012-09-22 18:09:21 -04:00
Joachim Bauch
f719b8a918 Stop looping in "consider_reading" if reading is suspended. 2012-09-22 18:06:57 -04:00
Azat Khuzhin
05f1aca598 Fix typo : events instead of evets 2012-09-18 15:17:29 +04:00
Nick Mathewson
8827dbc3e9 Merge remote-tracking branch 'origin/patches-2.0' 2012-09-12 20:19:22 -04:00
George Danchev
f2bff75ed8 FIx another memleak on OOM in evdns 2012-09-12 20:12:03 -04:00
George Danchev
73e85dd08f Avoid a memory-leak on OOM in evdns. 2012-09-12 20:11:12 -04:00
Nick Mathewson
ffe1643b98 Add missing return value in event_base_foreach_event
Fix for github issue nmathewson/Libevent #65

Found by Joachim Bauch
2012-09-10 13:43:26 -04:00
Nick Mathewson
576b29f21b Don't discard SSL read event when timeout and read come close together 2012-09-07 15:53:02 -04:00
Nick Mathewson
232055ef49 Tweak patch for event_base_foreach_event()
* Fix whitespace
* Explain return value from callback function
* Reinstate return value so that caller can tell whether forech
  exited early.
* Rename event_base_foreach_event_() to
  event_base_foreach_event_nolock_().
* Use event_base_foreach_event_cb_fn typedef in more places
* Be more dire about undefined behavior.
2012-09-07 09:58:24 -04:00
Roman Puls
84fd6d7506 Expose event_base_foreach_event() as a public API. 2012-09-07 09:47:50 -04:00
Nick Mathewson
e8faa2c74c Merge pull request #61 from rosslagerwall/rename-configure
Rename configure.in to configure.ac.
2012-09-04 07:58:38 -07:00
Joachim Bauch
b7577868a8 Prevent reference leak of bufferevent if getaddrinfo fails. 2012-09-03 17:49:15 +02:00
Ross Lagerwall
b3fea67385 Rename configure.in to configure.ac.
".ac" is the preferred extension.
2012-09-03 08:37:25 +02:00
Nick Mathewson
b7f6e89ab9 We now require automake 1.9 or later. Modernize! 2012-08-28 16:22:00 -04:00
Nick Mathewson
1e3123dae1 Fix handling of no-python case for nonrecursive make 2012-08-28 16:15:14 -04:00
Nick Mathewson
607a8ff9df Be quiet when making regress.gen.[ch] 2012-08-28 16:14:38 -04:00
Nick Mathewson
aa59c1e924 New --quiet option for event_rpcgen.py 2012-08-28 16:14:17 -04:00
Nick Mathewson
371a1237d0 Make quiet build even quieter 2012-08-28 16:07:56 -04:00
Nick Mathewson
6cdfeebebc Rename subordinate Makefile.ams to include.am 2012-08-28 16:01:14 -04:00
Nick Mathewson
7092f3b677 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.
2012-08-28 15:58:18 -04:00
Nick Mathewson
7b18e5c633 Enable silent build rules by default. Override with V=1 2012-08-28 15:10:55 -04:00
Nick Mathewson
7d60ba84d9 Use newer syntax for autoconf/automake init 2012-08-28 15:09:49 -04:00
Nick Mathewson
2aad8cbb62 Merge remote-tracking branch 'origin/patches-2.0' 2012-08-24 11:41:18 -04:00
Nick Mathewson
484e93c1d0 Increment version to 2.0.20-stable-dev 2012-08-24 11:40:46 -04:00
Nick Mathewson
1879e061e4 Update ChangeLog-2.0 2012-08-23 14:42:54 -04:00
Nick Mathewson
5cf0db7d83 Merge remote-tracking branch 'origin/patches-2.0' 2012-08-23 14:41:51 -04:00
Nick Mathewson
41d77a7c1e Add a date to the changelog release-2.0.20-stable 2012-08-23 14:39:30 -04:00
Nick Mathewson
46604b341c Increment version to 2.0.20-stable 2012-08-23 14:38:54 -04:00
Nick Mathewson
fc43cbdcda Initial changelog and credits for 2.0.20 2012-08-23 14:33:52 -04:00
Nick Mathewson
3b3e21de5a Add missing implementation for event_enable_debug_logging 2012-08-23 11:42:04 -04:00
Nick Mathewson
07e132e3ad Rename event_enable_lock_debuging() to ..._debugging()
Keep the misspelled version around for backward compatibility

Based on a patch by Diwaker Gupta.
2012-08-23 10:46:29 -04:00
Nick Mathewson
e3d010c8f6 Merge remote-tracking branch 'origin/patches-2.0' 2012-08-23 10:13:26 -04:00
Nick Mathewson
606ac43b91 Correctly invoke callbacks when a SSL bufferevent reads some and then blocks.
Based on a patch by Andrew Hochhaus, who correctly diagnosed this bug.
2012-08-22 12:30:42 -04:00
Nick Mathewson
f1bd9388a9 Avoid test -e; older shs don't have one.
Reported by Paul Croome.

Report forwarded by Dave Hart.
2012-08-02 15:02:27 -04:00
Nick Mathewson
34c8f31650 Add deferred_cb_skew to list of timing-dependent tests 2012-08-02 12:36:05 -04:00
Nick Mathewson
9be546809a Avoid unused-var warning on systems with clock_gettime but without CLOCK_MONOTONIC_COARSE 2012-08-02 12:35:49 -04:00
Nick Mathewson
a64c56470d Merge remote-tracking branch 'origin/patches-2.0'
Conflicts:
	evutil_rand.c
2012-08-02 12:09:08 -04:00
Nick Mathewson
ca80ea61b5 Add explicit AC_PROG_SED to configure.in so all autoconfs will expose $(SED) 2012-08-02 11:56:17 -04:00
Nick Mathewson
c0720c1b0f Fix an unused variable warning on *BSD. 2012-08-02 11:38:32 -04:00