30 Commits

Author SHA1 Message Date
Nick Mathewson
05965921ab Add new functions to access backends by their features and to query the features of a backend.
svn:r842
2008-05-31 14:37:31 +00:00
Nick Mathewson
9ca7a3a3d6 Resolve two conflicts.
svn:r839
2008-05-30 16:19:01 +00:00
Niels Provos
9e8688a749 windows does not have varargs macros, so this is all useless
svn:r831
2008-05-15 06:10:40 +00:00
Niels Provos
a35529c60f add the code here until we figure out how to generate it on windows
svn:r830
2008-05-15 06:03:23 +00:00
Nick Mathewson
04366d5acc r19677@catbus: nickm | 2008-05-11 20:51:41 -0400
Oops; we had not changed event_malloc() to mm_malloc() [etc] in win32.c


svn:r809
2008-05-12 00:51:48 +00:00
Nick Mathewson
a26442c5ac r19649@catbus: nickm | 2008-05-08 10:00:14 -0400
Replace gettimeofday() usage with a new evutil_gettimeofday().  This removes all previous need for win32-code/misc.[ch]


svn:r792
2008-05-08 14:06:33 +00:00
Nick Mathewson
0a804f3c83 r19641@catbus: nickm | 2008-05-07 17:51:26 -0400
Forward-port: Fix win32 vc-2005 build.


svn:r786
2008-05-07 21:51:49 +00:00
Nick Mathewson
9859bc783a 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
2007-12-31 20:47:12 +00:00
Niels Provos
fbe24f43ab remove obsoleted recalc code
svn:r581
2007-12-09 05:07:20 +00:00
Nick Mathewson
cd666f8071 Debug new win32 code: make bufferevents test pass.
svn:r576
2007-12-06 19:18:14 +00:00
Nick Mathewson
78d0de30b8 Fix compile warnings and errors in win32 build.
svn:r575
2007-12-06 18:38:50 +00:00
Nick Mathewson
2e2104f4ce 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
2007-12-06 18:13:03 +00:00
Nick Mathewson
7eb250e9c5 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
2007-11-25 17:14:19 +00:00
Nick Mathewson
8fd2124ef9 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
2007-11-07 22:57:08 +00:00
Nick Mathewson
4e1ec3e05e 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
2007-11-07 21:01:26 +00:00
Nick Mathewson
794857242f Remove spurious #include <sys/tree.h> in win32.c.
svn:r493
2007-11-07 06:07:54 +00:00
Nick Mathewson
f0e06d75e5 r15217@catbus: nickm | 2007-09-20 14:04:32 -0400
Fix win32 signals: teach win32 that we have per-base signal queues; teach signal.c that not everybody has sigaction().


svn:r442
2007-09-20 18:26:46 +00:00
Nick Mathewson
250071830a r15216@catbus: nickm | 2007-09-20 13:58:23 -0400
Add a new evutil module to contain the usual cross-platform hacks: socketpair, closesocket, and make_socket_nonblocking()


svn:r441
2007-09-20 18:26:40 +00:00
Nick Mathewson
12fe087e12 r14505@catbus: nickm | 2007-08-10 12:35:52 -0400
Fix win32 build errors (reported by Phobos): mingw gcc seems to dislike unnamed function parameters.


svn:r390
2007-08-10 16:37:33 +00:00
Niels Provos
41b7cbc381 more the signal base into the event base; this removes global state and makes signals
work better with threading; from Wouter Wijngaards
small fixes for kqueue and style by me


svn:r351
2007-03-10 06:37:53 +00:00
Niels Provos
b5d2f9a255 rolling back r339: evconfig.h does not work
svn:r341
2007-03-01 06:25:18 +00:00
Niels Provos
127c260bb7 make evconfig.h available as installed header file; not
really ideal but good enough for me; from Nick Mathewson


svn:r339
2007-02-28 04:02:29 +00:00
Niels Provos
868f10e7c9 mingw fixes from Nick
svn:r271
2006-11-22 01:21:10 +00:00
Niels Provos
9f7d28bb81 make it compile with mingw; from Nick
svn:r235
2006-09-27 03:07:38 +00:00
Niels Provos
2e8051f593 introduce a way to free the base from Nick Mathewson <nickm@freehaven.net>
svn:r210
2006-03-28 04:40:54 +00:00
Niels Provos
0c48c70680 windows memory corruption bug fix from I-M Weasel via Nick Mathewson.
svn:r189
2005-12-08 23:05:42 +00:00
Niels Provos
99442c6f00 windows fixes from Nick Mathewson <nickm@freehaven.net>
svn:r135
2005-03-29 06:54:36 +00:00
Niels Provos
42b9795867 make it compile again; from dug song
svn:r130
2005-02-04 11:17:18 +00:00
Niels Provos
025d1bc220 fix some of the windows compile issues; make buffer.c faster; support
signals via pipes.


svn:r105
2004-05-24 00:19:52 +00:00
Niels Provos
ee8cc84e9f Windows support from Mike Davis
svn:r74
2003-09-23 22:28:01 +00:00