WIN32-Code


Log

Author Commit Date CI Message
Nick Mathewson 2d7bf0f7 2012-02-10T22:16:14 Bump version to 2.0.17-stable-dev
Nick Mathewson 539466e5 2012-02-10T17:33:50 Merge remote-tracking branch 'origin/patches-2.0' Conflicts: Makefile.am WIN32-Code/event2/event-config.h configure.in
Nick Mathewson 8152b4c2 2012-02-10T16:49:05 Bump version to 2.0.17-stable
Nick Mathewson ba4d6696 2011-11-18T15:34:37 Increment version to 2.0.16-stable-dev
Nick Mathewson 5de3fa32 2011-11-18T15:27:06 Increment version to 2.0.16-stable
Nick Mathewson 8589f6c4 2011-10-12T01:00:23 Bump version to 2.0.15-stable-dev
Nick Mathewson 4d9529fc 2011-10-12T00:22:17 Increment version to 2.0.15-stable
Nick Mathewson a718b6c3 2011-08-31T11:25:11 Increment version to 2.0.14-stable-dev
Nick Mathewson 85976ddf 2011-08-30T22:28:02 Bump version to 2.0.14-stable
Nick Mathewson a2fdf9b0 2011-07-18T23:37:59 Bump version to 2.0.13-stable-dev
Nick Mathewson 80414e22 2011-07-18T18:19:25 Bump version to 2.0.13-dev
Nick Mathewson 60c1426f 2011-06-04T21:36:34 Bump version to 2.0.12-stable-dev
Nick Mathewson 7283facd 2011-06-03T17:08:14 Bump version to 2.0.12-stable. Not release just yet
Nick Mathewson e7529fa4 2011-04-27T21:28:11 Bump version to 2.0.11-stable-dev
Nick Mathewson d4d55196 2011-04-27T20:25:57 Increment version number to 2.0.11-stable
Nick Mathewson 18f24ef4 2011-04-23T02:31:59 Merge remote-tracking branch 'origin/patches-2.0'
Nick Mathewson 7739c86d 2011-04-23T02:31:04 Fix msvc build: it needed to know about _EVENT_HAVE_STRUCT_SOCKADDR_STORAGE
Kevin Bowling f964b721 2011-01-03T15:44:26 Prefer the ./configure evconfig-private.h in MinGW, just in case.
Kevin Bowling b3651d15 2011-01-02T08:48:12 Add an evconfig-private.h stub for Win32.
Nick Mathewson 2570ae50 2010-12-16T12:59:22 Bump version in master to 2.1.0-alpha-dev
Nick Mathewson 05f0195d 2010-12-16T12:57:23 Bump version to 2.0.10-stable-dev
Nick Mathewson bffc411e 2010-12-15T14:29:50 Set the version to 2.0.10-stable
Nick Mathewson 2b0b06d7 2010-11-30T02:19:25 Increment version to 2.0.9-rc-dev
Nick Mathewson 9ce4cc4e 2010-11-23T11:17:24 Increment version to 2.0.9-rc
Dimitre Piskyulev 1ae82cd8 2010-10-27T17:32:41 Set _EVENT_SIZEOF_VOID_P correctly on win32 and win64
Nick Mathewson 9dc5f44a 2010-10-14T22:12:32 Increment version in git to 2.0.8-rc-dev
Nick Mathewson ef18c994 2010-10-14T18:36:07 Increment the version to 2.0.8-rc NOTE: This is not the official release until I tag it. If you see this commit, and you decide that Libevent 2.0.8-rc is now finalized, you might get something besides 2.0.8-rc.
Nick Mathewson 5811d74c 2010-09-09T15:59:18 Bump version to 2.0.7-rc-dev
Nick Mathewson fe008ed6 2010-09-09T14:59:27 Make all versioning changes for 2.0.7-rc, and add ChangeLog
Nick Mathewson ff481a8e 2010-08-06T23:22:01 Increment vesion to 2.0.6-rc-dev
Nick Mathewson 556d0f40 2010-08-06T21:19:44 Increment versions to 2.0.6-rc
Nick Mathewson ec347b92 2010-07-07T16:45:03 Move event-config.h to include/event2 This change means that all required include files are in event2, and all files not in event2/* are optional.
Nick Mathewson 9cb5bc86 2010-05-10T14:51:32 Bump version to 2.0.5-beta-dev
Nick Mathewson ad9b7f15 2010-05-09T00:22:08 Increment version numbers for 2.0.5-beta
Nick Mathewson bf3bfd0c 2010-03-01T22:12:04 Revert the broken part of 2cffd6c937 It looks like I accidentally removed most of WIN32-Code/event-config.h when I was bumping the version. Fortunately, this happened when I bumped to 2.0.4-alpha-dev rather than when I bumped to 2.0.4-alpha. :) This patch restores the deleted parts of WIN32-Code/event-config.h
Nick Mathewson 2cffd6c9 2010-02-28T16:53:42 Bump version to 2.0.4-alpha-dev
Nick Mathewson 9669ade5 2010-02-28T12:55:29 Bump the version to 2.0.4-alpha
Nick Mathewson 1e14f826 2010-02-25T17:11:28 Try to define a sane _EVENT_SIZEOF_SIZE_T for msvc compilation
Nick Mathewson e5cf9879 2010-02-18T17:46:56 Clean up formatting: remove trailing spaces
Nick Mathewson e5bbd40a 2010-02-18T17:41:15 Clean up formatting: use tabs, not 8-spaces, to indent.
Nick Mathewson aae7db52 2010-02-15T17:53:24 Update event-config.h version number to match configure.in
Nick Mathewson 5a112d3c 2009-12-18T23:37:50 Set all instances of the version number correctly. Note that we've made two subtle mistakes: we are supposed to suffix any non-released version with "-dev", and we're supposed to use the last byte of the numeric version to indicate whether we have done this. For example, when 2.0.4-alpha is released, its numeric versin will be 0x 02 00 04 00. As soon as we tag it, we will change the version in the git repository to 2.0.4-alpha-dev, whose numeric version will be 0x 02 00 04 01 or something.
Nick Mathewson 86f57420 2009-11-16T22:25:46 Add two implementations of getaddrinfo: one blocking and one nonblocking. The entry points are evutil_getaddrinfo and evdns_getaddrinfo respectively. There are fairly extensive unit tests. I believe this code conforms to RFC3493 pretty closely, but there are probably more issues. It should get tested on more platforms. This code means we can dump the well-intentioned but weirdly-implemented bufferevent_evdns and evutil_resolve code. svn:r1537
Nick Mathewson 25a5e681 2009-11-05T20:37:19 Build fixes for MSVC svn:r1506
Nick Mathewson d3401928 2009-11-05T18:49:08 Rename win32.c to win32select.c, and take it out of the WIN32-Code ghetto. svn:r1504
Nick Mathewson a0b30263 2009-11-05T18:07:27 Remove win32-code/config.h. It was apparently confusing. svn:r1502
Nick Mathewson 2e36dbe1 2009-10-26T20:00:43 Use EVUTIL_ASSERT() consistently instead of assert. svn:r1464
Nick Mathewson d8164d0c 2009-10-21T07:00:14 Fix win32 connect() event handling. Christopher Davis reported: Connection failures aren't reported on Windows when using bufferevent_socket_connect, because Windows uses select's exceptfds to notify of failure, and libevent treats them like read events. Only the write event handler is currently used to handle connection events. We should think hard about this one, since it changes behavior from 1.4.x. Anything that worked on Mac/Unix before will work more consistently on Windows now... but this might break stuff that worked only on Windows, but nowhere else. Patch from Chris Davis. svn:r1454
Nick Mathewson ed748a48 2009-10-21T04:45:59 Fix win32 compilation. svn:r1451
Nick Mathewson 6b22e74a 2009-10-21T03:54:00 Add locking to event_base_loop. This is harder than it sounds, since we need to make sure to release the lock around the key call to the kernel (e.g., select, epoll_wait, kevent), AND we need to make sure that none of the fields that are used in that call are touched by anything that might be running concurrently in another thread. I managed to do this pretty well for everything but poll(). With poll, I needed to introduce a copy of the event_set structure. This patch also fixes a bug in win32.c where we called realloc() instead of mm_realloc(). svn:r1450
Nick Mathewson a826a758 2009-07-28T19:41:48 Some tweaks to Brodie Thesfield's MSVC patch. svn:r1386
Nick Mathewson 5b5b880b 2009-07-28T19:41:39 Various MSVC cleanups from Brodie Thiesfield. svn:r1385
Nick Mathewson a43a1c2b 2009-05-28T20:44:04 Fix compilation problems in win32.c svn:r1322
Nick Mathewson cdaca02c 2009-05-27T15:35:00 Activate fd events in a pseudorandom order on older backends. New backends like poll and kqueue and so on add fds to the queue in the order that they are triggered. But the select backend currently activates low-numbered fds first, whereas the poll and win32 backends currently favor whatever fds have been on for the longest. This is no good for fairness. svn:r1318
Nick Mathewson 8c66eb2e 2009-05-22T14:48:40 Try to contain the failure when we are running without socketpair(). Some win32 systems (mostly those using Kaspersky, it would seem) prevent us from faking socketpair(). This makes our signal notification code just not work. Our response since 1.4 has been to assert. For users who would rather work without signals than not work at all, this has been a regression from 1.3e. This patch makes adding signal events fail in this case; there's no reason to kill the whole process. svn:r1303
Nick Mathewson e865eb93 2009-05-01T00:54:14 More msvc build tweaks. svn:r1262
Nick Mathewson b2e8fd0e 2009-04-30T23:56:53 Apparently MSVC lacks a ssize_t. Define an ev_ssize_t for headers, and make ssize_t work elsewhere. svn:r1261
Nick Mathewson ebf29455 2009-04-30T23:49:15 Compilation fixes for vc++ 2008 express. Not the end of them. svn:r1260
Nick Mathewson b85b710c 2009-01-27T22:34:36 Update copyright statements to reflect the facts that: a) this is 2009 b) niels and nick have been comaintainers for a while c) saying "all rights reserved" when you then go on to explicitly disclaim some rights is sheer cargo-cultism. svn:r1065
Nick Mathewson 89fe3167 2009-01-14T21:13:58 Update win32 code to put indices in evmap. svn:r1009
Nick Mathewson 9935d5b0 2009-01-13T21:39:32 Fix win32 compilation. Surprisingly, unit tests pass too. svn:r1002
Nick Mathewson 169321c9 2009-01-13T20:26:37 Rename four internal headers to follow the -internal.h convention. svn:r1000
Niels Provos d776f846 2008-12-23T22:23:37 deprecate the usage of signal_{add,del,set} and name it evsignal_{add,del,set} instead; move the old definitions to compat svn:r973
Niels Provos 02b2b4d1 2008-12-23T16:37:01 Restructure the event backends so that they do not need to keep track of events themselves, as a side effect multiple events can use the same fd or signal. svn:r972
Nick Mathewson 05965921 2008-05-31T14:37:31 Add new functions to access backends by their features and to query the features of a backend. svn:r842
Nick Mathewson 9ca7a3a3 2008-05-30T16:19:01 Resolve two conflicts. svn:r839
Niels Provos 9e8688a7 2008-05-15T06:10:40 windows does not have varargs macros, so this is all useless svn:r831
Niels Provos a35529c6 2008-05-15T06:03:23 add the code here until we figure out how to generate it on windows svn:r830
Nick Mathewson 04366d5a 2008-05-12T00:51:48 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
Nick Mathewson a26442c5 2008-05-08T14:06:33 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
Nick Mathewson 0a804f3c 2008-05-07T21:51:49 r19641@catbus: nickm | 2008-05-07 17:51:26 -0400 Forward-port: Fix win32 vc-2005 build. svn:r786
Nick Mathewson 9859bc78 2007-12-31T20:47:12 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
Niels Provos fbe24f43 2007-12-09T05:07:20 remove obsoleted recalc code svn:r581
Nick Mathewson cd666f80 2007-12-06T19:18:14 Debug new win32 code: make bufferevents test pass. svn:r576
Nick Mathewson 78d0de30 2007-12-06T18:38:50 Fix compile warnings and errors in win32 build. svn:r575
Nick Mathewson 2e2104f4 2007-12-06T18:13:03 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
Nick Mathewson 7eb250e9 2007-11-25T17:14:19 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
Nick Mathewson 8fd2124e 2007-11-07T22:57:08 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
Nick Mathewson 4e1ec3e0 2007-11-07T21:01:26 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
Nick Mathewson 79485724 2007-11-07T06:07:54 Remove spurious #include <sys/tree.h> in win32.c. svn:r493
Nick Mathewson f0e06d75 2007-09-20T18:26:46 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
Nick Mathewson 25007183 2007-09-20T18:26:40 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
Nick Mathewson 12fe087e 2007-08-10T16:37:33 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
Niels Provos 41b7cbc3 2007-03-10T06:37:53 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
Niels Provos b5d2f9a2 2007-03-01T06:25:18 rolling back r339: evconfig.h does not work svn:r341
Niels Provos 127c260b 2007-02-28T04:02:29 make evconfig.h available as installed header file; not really ideal but good enough for me; from Nick Mathewson svn:r339
Niels Provos 868f10e7 2006-11-22T01:21:10 mingw fixes from Nick svn:r271
Niels Provos 9f7d28bb 2006-09-27T03:07:38 make it compile with mingw; from Nick svn:r235
Niels Provos 2e8051f5 2006-03-28T04:40:54 introduce a way to free the base from Nick Mathewson <nickm@freehaven.net> svn:r210
Niels Provos 0c48c706 2005-12-08T23:05:42 windows memory corruption bug fix from I-M Weasel via Nick Mathewson. svn:r189
Niels Provos 99442c6f 2005-03-29T06:54:36 windows fixes from Nick Mathewson <nickm@freehaven.net> svn:r135
Niels Provos 42b97958 2005-02-04T11:17:18 make it compile again; from dug song svn:r130
Niels Provos 025d1bc2 2004-05-24T00:19:52 fix some of the windows compile issues; make buffer.c faster; support signals via pipes. svn:r105
Niels Provos ee8cc84e 2003-09-23T22:28:01 Windows support from Mike Davis svn:r74