]> granicus.if.org Git - libevent/log
libevent
16 years ago1.3.99-trunk -> 1.4.99-trunk
Niels Provos [Sun, 17 Feb 2008 01:12:09 +0000 (01:12 +0000)]
1.3.99-trunk -> 1.4.99-trunk

svn:r644

16 years ago r14213@tombo: nickm | 2008-02-16 15:48:07 -0500
Nick Mathewson [Sat, 16 Feb 2008 20:50:02 +0000 (20:50 +0000)]
 r14213@tombo:  nickm | 2008-02-16 15:48:07 -0500
 Patch from Scott Lamb: make http content length into a 64-bit value.

svn:r641

16 years ago r14211@tombo: nickm | 2008-02-16 15:28:54 -0500
Nick Mathewson [Sat, 16 Feb 2008 20:49:47 +0000 (20:49 +0000)]
 r14211@tombo:  nickm | 2008-02-16 15:28:54 -0500
 Add new evutil_strtoll() function so we can apply 64-bit content-length patch from Scott Lamb in a portable way.

svn:r640

16 years ago r14205@tombo: nickm | 2008-02-16 11:55:57 -0500
Nick Mathewson [Sat, 16 Feb 2008 16:56:34 +0000 (16:56 +0000)]
 r14205@tombo:  nickm | 2008-02-16 11:55:57 -0500
 Fix bug 1894184: add a CRLF after each chunk when sending chunked HTTP data.  Original patch from propanbutan.

svn:r637

16 years agoevent_base_get_method; from Springande Ulv
Niels Provos [Sat, 16 Feb 2008 06:09:39 +0000 (06:09 +0000)]
event_base_get_method; from Springande Ulv

svn:r635

16 years agodevpoll and evport need reinit; tested by W.C.A. Wijngaards
Niels Provos [Tue, 12 Feb 2008 06:01:46 +0000 (06:01 +0000)]
devpoll and evport need reinit; tested by W.C.A. Wijngaards

svn:r633

16 years agoaddress some compiler warnings in debug mode
Niels Provos [Sat, 9 Feb 2008 16:03:01 +0000 (16:03 +0000)]
address some compiler warnings in debug mode

svn:r630

16 years agoEAGAIN check for event ports; from Wijngaards
Niels Provos [Wed, 6 Feb 2008 16:14:42 +0000 (16:14 +0000)]
EAGAIN check for event ports; from Wijngaards

svn:r629

16 years agoremove pending timeouts on event_base_free
Niels Provos [Sat, 26 Jan 2008 07:29:57 +0000 (07:29 +0000)]
remove pending timeouts on event_base_free

svn:r627

16 years ago r15764@tombo: nickm | 2007-12-31 15:46:16 -0500
Nick Mathewson [Mon, 31 Dec 2007 20:47:12 +0000 (20:47 +0000)]
 r15764@tombo:  nickm | 2007-12-31 15:46:16 -0500
 Forward-port from 1.4 branch: Make generated rpc files build-depend on event_rpcgen.

svn:r626

16 years agodereference the right field and associate the right connection
Niels Provos [Mon, 31 Dec 2007 20:42:21 +0000 (20:42 +0000)]
dereference the right field and associate the right connection

svn:r624

16 years agoallow hooks to get access to the connection object
Niels Provos [Mon, 31 Dec 2007 19:33:30 +0000 (19:33 +0000)]
allow hooks to get access to the connection object

svn:r623

17 years agoallow association of meta data with RPC requests for hook processing
Niels Provos [Sat, 29 Dec 2007 22:45:54 +0000 (22:45 +0000)]
allow association of meta data with RPC requests for hook processing

svn:r622

17 years agothe win32 changes for regress_http broke the regression test under unix. making...
Niels Provos [Fri, 28 Dec 2007 07:58:29 +0000 (07:58 +0000)]
the win32 changes for regress_http broke the regression test under unix.  making the socket non-blocking can return -1 on connect; so now, we need to check the errno; not sure if that is supported under windows.

svn:r621

17 years agopausing an rpc via a hook needs to deal with the fact that http callbacks free the...
Niels Provos [Fri, 28 Dec 2007 00:36:47 +0000 (00:36 +0000)]
pausing an rpc via a hook needs to deal with the fact that http callbacks free the request after they return; provide a way for a callback to take ownership of the request structure; the user then needs to explicitly free it.

svn:r620

17 years agoFix at least two bugs that are keeping the HTTP regression tests from running on...
Nick Mathewson [Fri, 28 Dec 2007 00:34:05 +0000 (00:34 +0000)]
Fix at least two bugs that are keeping the HTTP regression tests from running on windows.  There are some more bugs somewhere, since the HTTP regression tests still fail on windows.  But now they fail less.

svn:r619

17 years agoallow hooks to pause RPC processing; this will allow hooks to do meaningful work...
Niels Provos [Thu, 27 Dec 2007 23:17:24 +0000 (23:17 +0000)]
allow hooks to pause RPC processing; this will allow hooks to do meaningful work before resuming the
RPC processing; this is not backwards compatible.

svn:r617

17 years ago r15733@tombo: nickm | 2007-12-27 16:37:33 -0500
Nick Mathewson [Thu, 27 Dec 2007 21:37:52 +0000 (21:37 +0000)]
 r15733@tombo:  nickm | 2007-12-27 16:37:33 -0500
 Add another "what's new" file -- this one for svn trunk

svn:r616

17 years agoadditional add argument was missing const qualifier
Niels Provos [Thu, 27 Dec 2007 20:08:21 +0000 (20:08 +0000)]
additional add argument was missing const qualifier

svn:r615

17 years agosupport string arrays in event_rpcgen
Niels Provos [Mon, 24 Dec 2007 23:59:41 +0000 (23:59 +0000)]
support string arrays in event_rpcgen

svn:r613

17 years agorollback r594: restructuring to make event activation independent.
Niels Provos [Mon, 24 Dec 2007 22:49:30 +0000 (22:49 +0000)]
rollback r594: restructuring to make event activation independent.
changes are going to wait for api design

svn:r612

17 years agosupport integer arrays in rpc structures; this involved some refactoring of the...
Niels Provos [Sun, 23 Dec 2007 07:38:11 +0000 (07:38 +0000)]
support integer arrays in rpc structures;  this involved some refactoring of the event_rpcgen code, so that other types should be able to get arrays fairly easily

svn:r609

17 years agoFix a win32 warning in regress.c
Nick Mathewson [Thu, 20 Dec 2007 22:45:30 +0000 (22:45 +0000)]
Fix a win32 warning in regress.c

svn:r608

17 years ago r17291@catbus: nickm | 2007-12-20 17:19:55 -0500
Nick Mathewson [Thu, 20 Dec 2007 22:20:06 +0000 (22:20 +0000)]
 r17291@catbus:  nickm | 2007-12-20 17:19:55 -0500
 Add tree.h to distributed files in trunk.

svn:r607

17 years agoremoved linger from http server socket; reported by Ilya Martynov
Niels Provos [Wed, 19 Dec 2007 06:33:05 +0000 (06:33 +0000)]
removed linger from http server socket; reported by Ilya Martynov

svn:r604

17 years agoadd -Wstrict-aliasing and remove bogus evtag_test from event.h
Niels Provos [Tue, 18 Dec 2007 03:54:19 +0000 (03:54 +0000)]
add -Wstrict-aliasing and remove bogus evtag_test from event.h

svn:r602

17 years ago r17185@catbus: nickm | 2007-12-16 14:33:40 -0500
Nick Mathewson [Sun, 16 Dec 2007 19:34:09 +0000 (19:34 +0000)]
 r17185@catbus:  nickm | 2007-12-16 14:33:40 -0500
 Fix compilation with --enable-gcc-warnings enabled.

svn:r599

17 years ago r16991@catbus: nickm | 2007-12-06 15:05:56 -0500
Nick Mathewson [Sun, 16 Dec 2007 19:33:52 +0000 (19:33 +0000)]
 r16991@catbus:  nickm | 2007-12-06 15:05:56 -0500
 Move event_init in regress.c to the function that actually messed up the current_base value.

svn:r598

17 years ago r15519@tombo: nickm | 2007-12-16 13:54:12 -0500
Nick Mathewson [Sun, 16 Dec 2007 18:55:16 +0000 (18:55 +0000)]
 r15519@tombo:  nickm | 2007-12-16 13:54:12 -0500
 Fix for bug 1846282: accept as well-formed DNS replies with questions but no answers.

svn:r595

17 years agorestructure the code to make event activation independent of regular event logic
Niels Provos [Sun, 16 Dec 2007 04:10:30 +0000 (04:10 +0000)]
restructure the code to make event activation independent of regular event logic

svn:r594

17 years agoforgot to make new member optional
Niels Provos [Fri, 14 Dec 2007 07:12:05 +0000 (07:12 +0000)]
forgot to make new member optional

svn:r590

17 years agofix a bug with event_rpcgen for integers
Niels Provos [Thu, 13 Dec 2007 06:36:54 +0000 (06:36 +0000)]
fix a bug with event_rpcgen for integers

svn:r588

17 years agoprefix {encode,decode}_tag functions with evtag to avoid collisions
Niels Provos [Thu, 13 Dec 2007 06:14:18 +0000 (06:14 +0000)]
prefix {encode,decode}_tag functions with evtag to avoid collisions

svn:r587

17 years agopull setters/getters out of RPC structures to reduce their memory footprint
Niels Provos [Wed, 12 Dec 2007 07:02:55 +0000 (07:02 +0000)]
pull setters/getters out of RPC structures to reduce their memory footprint

svn:r585

17 years agosupport for 32-bit tag numbers in rpc structures
Niels Provos [Wed, 12 Dec 2007 04:39:42 +0000 (04:39 +0000)]
support for 32-bit tag numbers in rpc structures

svn:r583

17 years agoupdate ChangeLog; forgot about it
Niels Provos [Sun, 9 Dec 2007 05:07:48 +0000 (05:07 +0000)]
update ChangeLog; forgot about it

svn:r582

17 years agoremove obsoleted recalc code
Niels Provos [Sun, 9 Dec 2007 05:07:20 +0000 (05:07 +0000)]
remove obsoleted recalc code

svn:r581

17 years agoAdjust more unit tests to pass on win32.
Nick Mathewson [Thu, 6 Dec 2007 19:40:49 +0000 (19:40 +0000)]
Adjust more unit tests to pass on win32.

svn:r580

17 years agoAdd winsock init functions to bench.c so it can run on win32.
Nick Mathewson [Thu, 6 Dec 2007 19:36:49 +0000 (19:36 +0000)]
Add winsock init functions to bench.c so it can run on win32.

svn:r579

17 years agoCompile regression tests by default even on win32.
Nick Mathewson [Thu, 6 Dec 2007 19:35:55 +0000 (19:35 +0000)]
Compile regression tests by default even on win32.

svn:r578

17 years ago r16931@catbus: nickm | 2007-12-06 14:19:58 -0500
Nick Mathewson [Thu, 6 Dec 2007 19:20:24 +0000 (19:20 +0000)]
 r16931@catbus:  nickm | 2007-12-06 14:19:58 -0500
 Fix warnings in debug messages

svn:r577

17 years agoDebug new win32 code: make bufferevents test pass.
Nick Mathewson [Thu, 6 Dec 2007 19:18:14 +0000 (19:18 +0000)]
Debug new win32 code: make bufferevents test pass.

svn:r576

17 years agoFix compile warnings and errors in win32 build.
Nick Mathewson [Thu, 6 Dec 2007 18:38:50 +0000 (18:38 +0000)]
Fix compile warnings and errors in win32 build.

svn:r575

17 years ago r15172@tombo: nickm | 2007-12-06 12:54:37 -0500
Nick Mathewson [Thu, 6 Dec 2007 18:13:03 +0000 (18:13 +0000)]
 r15172@tombo:  nickm | 2007-12-06 12:54:37 -0500
 Rewrite win32.c to use a red-black tree to map sockets to events.  This changes the performance from O(N^2) to O(N lg N).  Needs testing.  (This was made possible by recent changes to the implementation of non-persistent events.)

svn:r574

17 years ago r15171@tombo: nickm | 2007-12-06 12:47:47 -0500
Nick Mathewson [Thu, 6 Dec 2007 18:12:56 +0000 (18:12 +0000)]
 r15171@tombo:  nickm | 2007-12-06 12:47:47 -0500
 Use GCC attributes (where available) to verify printf type-correctness.  Fix some bugs this turned up.

svn:r573

17 years ago r15170@tombo: nickm | 2007-12-06 12:38:03 -0500
Nick Mathewson [Thu, 6 Dec 2007 18:12:44 +0000 (18:12 +0000)]
 r15170@tombo:  nickm | 2007-12-06 12:38:03 -0500
 Fix a warning in regress.c

svn:r572

17 years ago r15166@tombo: nickm | 2007-12-05 23:35:10 -0500
Nick Mathewson [Thu, 6 Dec 2007 04:36:18 +0000 (04:36 +0000)]
 r15166@tombo:  nickm | 2007-12-05 23:35:10 -0500
 Apply patch from bug 1841036: set the base of the correct event in evhttp_connection_start_detectclose()

svn:r571

17 years agoremove duplicate submit of test_evbuffer_readln
Niels Provos [Sat, 1 Dec 2007 16:36:00 +0000 (16:36 +0000)]
remove duplicate submit of test_evbuffer_readln

svn:r569

17 years ago r15096@tombo: nickm | 2007-12-01 04:29:39 -0500
Nick Mathewson [Sat, 1 Dec 2007 09:30:07 +0000 (09:30 +0000)]
 r15096@tombo:  nickm | 2007-12-01 04:29:39 -0500
 Test for corner-cases of re-adding non-persistent events from one another's handlers

svn:r568

17 years agosvn:r567
Nick Mathewson [Sat, 1 Dec 2007 09:29:52 +0000 (09:29 +0000)]
svn:r567

17 years agoadd another benchmark that tests cascading events
Niels Provos [Fri, 30 Nov 2007 02:21:33 +0000 (02:21 +0000)]
add another benchmark that tests cascading events

svn:r566

17 years agoalways generate Date and Content-Length headers for HTTP/1.1
Niels Provos [Thu, 29 Nov 2007 06:08:24 +0000 (06:08 +0000)]
always generate Date and Content-Length headers for HTTP/1.1

svn:r564

17 years agosmall improvements to evhttp documentation
Niels Provos [Thu, 29 Nov 2007 04:03:36 +0000 (04:03 +0000)]
small improvements to evhttp documentation

svn:r562

17 years agoa bug in the regression test of event_reinit caused epoll to fail
Niels Provos [Thu, 29 Nov 2007 02:52:32 +0000 (02:52 +0000)]
a bug in the regression test of event_reinit caused epoll to fail

svn:r560

17 years agowe need to pass the evbase to evsel->add
Niels Provos [Tue, 27 Nov 2007 06:45:25 +0000 (06:45 +0000)]
we need to pass the evbase to evsel->add

svn:r558

17 years agomore complete test for forking behavior
Niels Provos [Tue, 27 Nov 2007 06:11:28 +0000 (06:11 +0000)]
more complete test for forking behavior

svn:r556

17 years agomove EV_PERSIST handling out of the event backends
Niels Provos [Tue, 27 Nov 2007 01:39:10 +0000 (01:39 +0000)]
move EV_PERSIST handling out of the event backends

svn:r555

17 years ago r16735@catbus: nickm | 2007-11-26 14:24:58 -0500
Nick Mathewson [Mon, 26 Nov 2007 19:25:09 +0000 (19:25 +0000)]
 r16735@catbus:  nickm | 2007-11-26 14:24:58 -0500
 Fix test for EVBUFFER_LENGTH in evhttp_make_header().  Since appending an empty buffer to another is a no-op, this is not really a bug-fix.

svn:r554

17 years ago r16733@catbus: nickm | 2007-11-26 14:18:25 -0500
Nick Mathewson [Mon, 26 Nov 2007 19:18:49 +0000 (19:18 +0000)]
 r16733@catbus:  nickm | 2007-11-26 14:18:25 -0500
 Add an --enable-gcc-warnings option (lifted from Tor) to the configure script.  When provided, and when we are using GCC, we enable a bunch of extra GCC warnings in the compiler.  Also, make the code all build happily with these warnings.

svn:r553

17 years ago r16731@catbus: nickm | 2007-11-25 16:52:53 -0500
Nick Mathewson [Sun, 25 Nov 2007 21:53:06 +0000 (21:53 +0000)]
 r16731@catbus:  nickm | 2007-11-25 16:52:53 -0500
 Replace all fds on non-unix-specific APIs with evutil_socket_t, which is int on unix and intptr_t on win32.

svn:r552

17 years ago r16729@catbus: nickm | 2007-11-25 16:34:50 -0500
Nick Mathewson [Sun, 25 Nov 2007 21:35:02 +0000 (21:35 +0000)]
 r16729@catbus:  nickm | 2007-11-25 16:34:50 -0500
 Add missing changelog entry for last commit.

svn:r551

17 years ago r14953@tombo: nickm | 2007-11-25 15:56:40 -0500
Nick Mathewson [Sun, 25 Nov 2007 21:32:26 +0000 (21:32 +0000)]
 r14953@tombo:  nickm | 2007-11-25 15:56:40 -0500
 Replace evbuffer_readline with a more powerful evbuffer_readln that can handle more EOL styles, and that can give useful results when there are NUL characters inside the returned values. Includes regression tests.

svn:r550

17 years ago r14952@tombo: nickm | 2007-11-25 14:47:45 -0500
Nick Mathewson [Sun, 25 Nov 2007 21:32:15 +0000 (21:32 +0000)]
 r14952@tombo:  nickm | 2007-11-25 14:47:45 -0500
 Fix an unused variable warning.

svn:r549

17 years agosvn:r547
Nick Mathewson [Sun, 25 Nov 2007 21:28:51 +0000 (21:28 +0000)]
svn:r547

17 years ago r16704@catbus: nickm | 2007-11-19 15:58:54 -0500
Nick Mathewson [Sun, 25 Nov 2007 21:28:43 +0000 (21:28 +0000)]
 r16704@catbus:  nickm | 2007-11-19 15:58:54 -0500
 Check return value of event_add in signal.c

svn:r546

17 years ago r14944@tombo: nickm | 2007-11-25 12:12:28 -0500
Nick Mathewson [Sun, 25 Nov 2007 17:15:28 +0000 (17:15 +0000)]
 r14944@tombo:  nickm | 2007-11-25 12:12:28 -0500
 Make kqueue pass more unit tests.

svn:r544

17 years agosvn:r543
Nick Mathewson [Sun, 25 Nov 2007 17:15:17 +0000 (17:15 +0000)]
svn:r543

17 years ago r14940@tombo: nickm | 2007-11-25 12:01:37 -0500
Nick Mathewson [Sun, 25 Nov 2007 17:14:24 +0000 (17:14 +0000)]
 r14940@tombo:  nickm | 2007-11-25 12:01:37 -0500
 New mm-internal.h header that includes internal memory management functions.

svn:r542

17 years ago r14939@tombo: nickm | 2007-11-25 11:59:26 -0500
Nick Mathewson [Sun, 25 Nov 2007 17:14:19 +0000 (17:14 +0000)]
 r14939@tombo:  nickm | 2007-11-25 11:59:26 -0500
 New function event_set_mem_functions to replace internal calls to malloc, free, etc with a user-supplied functions.

svn:r541

17 years agoforgot to dealloc previous base
Niels Provos [Sun, 25 Nov 2007 07:11:59 +0000 (07:11 +0000)]
forgot to dealloc previous base

svn:r540

17 years agoprovide event_reinit() to reinitialized an event_base after fork - necessary for...
Niels Provos [Sun, 25 Nov 2007 06:57:59 +0000 (06:57 +0000)]
provide event_reinit() to reinitialized an event_base after fork - necessary for epoll/kqueue

svn:r539

17 years ago r14935@tombo: nickm | 2007-11-22 11:36:54 -0500
Nick Mathewson [Thu, 22 Nov 2007 16:41:29 +0000 (16:41 +0000)]
 r14935@tombo:  nickm | 2007-11-22 11:36:54 -0500
 Always set test_ok to zero after finishing a test, and before starting one.  This turns up some failures we had been missing.

svn:r537

17 years ago r14931@tombo: nickm | 2007-11-17 17:21:09 -0500
Nick Mathewson [Sat, 17 Nov 2007 22:21:42 +0000 (22:21 +0000)]
 r14931@tombo:  nickm | 2007-11-17 17:21:09 -0500
 Patch from Scott Lamb: Implement event_{base_}loopbreak.  Includes documentation and tests.  From sf.net Feature Request 1826546.

svn:r535

17 years ago r14930@tombo: nickm | 2007-11-17 17:01:14 -0500
Nick Mathewson [Sat, 17 Nov 2007 22:21:33 +0000 (22:21 +0000)]
 r14930@tombo:  nickm | 2007-11-17 17:01:14 -0500
 documentation fix on loopexit and elsewhere from Scott Lamb.

svn:r534

17 years agouse a const pointer for bufferevent_write
Niels Provos [Sat, 17 Nov 2007 01:32:30 +0000 (01:32 +0000)]
use a const pointer for bufferevent_write

svn:r531

17 years agoprovide event_base_new() as a mechanism for not setting the current_global
Niels Provos [Wed, 14 Nov 2007 17:52:21 +0000 (17:52 +0000)]
provide event_base_new() as a mechanism for not setting the current_global

svn:r529

17 years agodebug cleanups in signal.c; from Christopher Layne
Niels Provos [Tue, 13 Nov 2007 17:36:58 +0000 (17:36 +0000)]
debug cleanups in signal.c; from Christopher Layne

svn:r527

17 years agofree minheap; from Christopher Layne
Niels Provos [Tue, 13 Nov 2007 03:32:10 +0000 (03:32 +0000)]
free minheap; from Christopher Layne

svn:r525

17 years agoclean up event-config.h to fix make distcheck; from sourceforge tracker
Niels Provos [Mon, 12 Nov 2007 07:34:29 +0000 (07:34 +0000)]
clean up event-config.h to fix make distcheck; from sourceforge tracker

svn:r521

17 years agoWe do not need to specially remove a timeout before calling event_del; patch from...
Niels Provos [Mon, 12 Nov 2007 06:54:35 +0000 (06:54 +0000)]
We do not need to specially remove a timeout before calling event_del; patch from Christopher Layne.

svn:r519

17 years agosrcdir for verify; from Christopher Layne
Niels Provos [Mon, 12 Nov 2007 05:34:10 +0000 (05:34 +0000)]
srcdir for verify; from Christopher Layne

svn:r516

17 years agostick autogen.sh into EXTRA_DIST
Niels Provos [Mon, 12 Nov 2007 02:44:02 +0000 (02:44 +0000)]
stick autogen.sh into EXTRA_DIST

svn:r515

17 years agowe no longer need acconfig.h
Niels Provos [Mon, 12 Nov 2007 02:32:35 +0000 (02:32 +0000)]
we no longer need acconfig.h

svn:r510

17 years agoMake the logic for active events work better with internal events; patch from Christo...
Niels Provos [Mon, 12 Nov 2007 02:31:07 +0000 (02:31 +0000)]
Make the logic for active events work better with internal events; patch from Christopher Layne

svn:r509

17 years agorevert r505; it introduced errors in epoll
Niels Provos [Sun, 11 Nov 2007 03:05:03 +0000 (03:05 +0000)]
revert r505; it introduced errors in epoll

svn:r508

17 years ago r16588@catbus: nickm | 2007-11-10 02:47:14 -0500
Nick Mathewson [Sat, 10 Nov 2007 07:49:13 +0000 (07:49 +0000)]
 r16588@catbus:  nickm | 2007-11-10 02:47:14 -0500
 Another include for sample.  Patch from Christopher Layne.

svn:r507

17 years ago r16585@catbus: nickm | 2007-11-10 00:16:11 -0500
Nick Mathewson [Sat, 10 Nov 2007 05:18:17 +0000 (05:18 +0000)]
 r16585@catbus:  nickm | 2007-11-10 00:16:11 -0500
 Patch from Christopher Layne: Make event_del() restore previous signal handlers, not the default.

svn:r506

17 years ago r16584@catbus: nickm | 2007-11-10 00:00:59 -0500
Nick Mathewson [Sat, 10 Nov 2007 05:18:11 +0000 (05:18 +0000)]
 r16584@catbus:  nickm | 2007-11-10 00:00:59 -0500
 Patch from Christopher Lane: reduce branch count in epoll_dispatch.c and generally improve clarity.

svn:r505

17 years ago r16578@catbus: nickm | 2007-11-08 12:34:51 -0500
Nick Mathewson [Thu, 8 Nov 2007 17:36:28 +0000 (17:36 +0000)]
 r16578@catbus:  nickm | 2007-11-08 12:34:51 -0500
 The == operator in shell is a bash-ism; do not use it in autogen.sh

svn:r503

17 years ago r16556@catbus: nickm | 2007-11-07 17:55:39 -0500
Nick Mathewson [Wed, 7 Nov 2007 22:57:08 +0000 (22:57 +0000)]
 r16556@catbus:  nickm | 2007-11-07 17:55:39 -0500
 MSVC6 does not seem to define a useful "what is the name of this function" macro

svn:r502

17 years ago r16554@catbus: nickm | 2007-11-07 17:33:49 -0500
Nick Mathewson [Wed, 7 Nov 2007 22:35:15 +0000 (22:35 +0000)]
 r16554@catbus:  nickm | 2007-11-07 17:33:49 -0500
 Mention autogen.sh in the README, now that we are more vocally encouraging people to try svn.

svn:r501

17 years ago r16544@catbus: nickm | 2007-11-07 16:12:37 -0500
Nick Mathewson [Wed, 7 Nov 2007 21:14:04 +0000 (21:14 +0000)]
 r16544@catbus:  nickm | 2007-11-07 16:12:37 -0500
 Oops; forgot the log entry.

svn:r500

17 years agoMake all the C files in the libraries compile under MSVC 2005 Express. There are...
Nick Mathewson [Wed, 7 Nov 2007 21:01:26 +0000 (21:01 +0000)]
Make all the C files in the libraries compile under MSVC 2005 Express.  There are still a few warnings, and probably some subtle issues, but it's better than nothing.

svn:r499

17 years ago r16510@catbus: nickm | 2007-11-07 02:29:42 -0500
Nick Mathewson [Wed, 7 Nov 2007 07:33:36 +0000 (07:33 +0000)]
 r16510@catbus:  nickm | 2007-11-07 02:29:42 -0500
 Try not to shadow local variables or function arguments.

svn:r498

17 years ago r16509@catbus: nickm | 2007-11-07 02:08:32 -0500
Nick Mathewson [Wed, 7 Nov 2007 07:33:31 +0000 (07:33 +0000)]
 r16509@catbus:  nickm | 2007-11-07 02:08:32 -0500
 Stop using C++ style comments.

svn:r497

17 years ago r16508@catbus: nickm | 2007-11-07 02:01:03 -0500
Nick Mathewson [Wed, 7 Nov 2007 07:33:26 +0000 (07:33 +0000)]
 r16508@catbus:  nickm | 2007-11-07 02:01:03 -0500
 Note a dubious point in http.c

svn:r496

17 years ago r16507@catbus: nickm | 2007-11-07 01:34:55 -0500
Nick Mathewson [Wed, 7 Nov 2007 07:33:21 +0000 (07:33 +0000)]
 r16507@catbus:  nickm | 2007-11-07 01:34:55 -0500
 Never assign a string constant to a non-const char *.

svn:r495

17 years ago r16506@catbus: nickm | 2007-11-07 01:29:59 -0500
Nick Mathewson [Wed, 7 Nov 2007 07:33:16 +0000 (07:33 +0000)]
 r16506@catbus:  nickm | 2007-11-07 01:29:59 -0500
 Make all rpc and http functions not prototyped in evrpc.h and evhttp.h into static functions.  I believe that these functions were meant to be private, yes?

svn:r494

17 years agoRemove spurious #include <sys/tree.h> in win32.c.
Nick Mathewson [Wed, 7 Nov 2007 06:07:54 +0000 (06:07 +0000)]
Remove spurious #include <sys/tree.h> in win32.c.

svn:r493

17 years ago r16501@catbus: nickm | 2007-11-07 01:00:31 -0500
Nick Mathewson [Wed, 7 Nov 2007 06:01:57 +0000 (06:01 +0000)]
 r16501@catbus:  nickm | 2007-11-07 01:00:31 -0500
 This is one of those patches which will either make matters far
 simpler after the bugs shake out, or will get reverted pretty quick
 once we realize that it is a stupid idea.

 We now post-process the config.h file into a new event-config.h file,
 whose macros are prefixed with _EVENT_ and which is thus safe for
 headers to include.  Using this, we can define replacement timeval
 manipulation functions in evutil.h, and use them uniformly through our
 code.  We can also detect which headers are needful in event.h, and
 include them as required.

 This is also the perfect time to remove the long-deprecated acconfig.h
 file, so that autoheader no longer warns.

 Should resolve the following issues:

 [ 1826530 ] Header files should have access to autoconf output.
 [ 1826545 ] acconfig.h is deprecated.
 [ 1826564 ] On some platforms, event.h can't be included alone.

svn:r492