Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge remote-tracking branch 'origin/patches-2.0' | Nick Mathewson | 2011-11-14 | 1 | -2/+14 |
|\ | | | | | | | | | Conflicts: sample/dns-example.c | ||||
| * | Improve win32 behavior of dns-sample.c codex | Gisle Vanem | 2011-11-09 | 1 | -2/+14 |
| | | |||||
* | | Merge remote-tracking branch 'origin/patches-2.0' | Nick Mathewson | 2011-09-25 | 1 | -7/+7 |
|\ \ | |/ | |||||
| * | Use _SOURCES, not _sources, in sample/Makefile.am | Nick Mathewson | 2011-09-25 | 1 | -7/+7 |
| | | | | | | | | Found by Adrian Chadd | ||||
* | | Merge remote-tracking branch 'origin/patches-2.0' | Nick Mathewson | 2011-09-16 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | le-proxy and regress depend on openssl directly | Sergey Avseyev | 2011-09-16 | 1 | -1/+1 |
| | | |||||
* | | Use pkg-config (if available) to handle OpenSSL. | Harlan Stenn | 2011-08-28 | 1 | -0/+1 |
| | | |||||
* | | Merge remote-tracking branch 'origin/patches-2.0' | Nick Mathewson | 2011-08-28 | 2 | -1/+8 |
|\ \ | |/ | |||||
| * | Clean up some problems identified by Coverity. | Harlan Stenn | 2011-08-28 | 2 | -1/+8 |
| | | |||||
* | | Merge remote-tracking branch 'origin/patches-2.0' | Nick Mathewson | 2011-07-15 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Use AM_CPPFLAGS in sample/Makefile.am, not AM_CFLAGS | Nick Mathewson | 2011-07-15 | 1 | -1/+1 |
| | | | | | | | | Reported by Dagobert Michelsen. | ||||
* | | Use "_WIN32", not WIN32: it's standard and we don't need to fake it | Nick Mathewson | 2011-05-25 | 7 | -24/+24 |
|/ | | | | | | This patch was automatically generated with perl. Based on a patch by Peter Rosin. | ||||
* | MSVC does not provide S_ISDIR, so provide it manually. | Peter Rosin | 2011-05-25 | 1 | -0/+3 |
| | |||||
* | Libtool brings in the dependencies of libevent_openssl.la automatically | Peter Rosin | 2011-05-04 | 1 | -1/+1 |
| | |||||
* | libssl depends on libcrypto, not the other way around. | Peter Rosin | 2011-05-04 | 1 | -1/+1 |
| | |||||
* | Remote some dead code from dns-example.c | Sebastian Hahn | 2011-04-23 | 1 | -3/+0 |
| | | | | Found by Dave Heart | ||||
* | Be nice and "handle" error return values in sample code | Sebastian Hahn | 2011-04-23 | 1 | -0/+2 |
| | | | | Caught by clang's static analyzer | ||||
* | Fix a couple of memory leaks in samples/http-server.c. Found by Dave Hart. | Nick Mathewson | 2011-04-14 | 1 | -4/+5 |
| | |||||
* | Use $(), not @@, for LIBEVENT_GC_SECTIONS | Nick Mathewson | 2011-02-22 | 1 | -1/+1 |
| | |||||
* | Use the gcc -ffunction-segments feature to allow gc when linking with static ↵ | Dave Hart | 2011-02-22 | 1 | -1/+1 |
| | | | | libevent | ||||
* | FIX: comment internal headers used in sample code. | Nick Mathewson | 2011-02-22 | 2 | -0/+2 |
| | |||||
* | NM: Fix sample/http-server ipv6 fixes | Nick Mathewson | 2011-02-22 | 1 | -3/+1 |
| | | | | | | | | Fix 1: Use #include "../xyz" rather than #include <../xyz> Fix 2: util-internal.h includes ipv6-internal.h, which in turn defines a replacement AF_INET6 on platforms that don't have it. As such, the AF_INET6 checks shouldn't be needed. (right?) | ||||
* | Include util-internal.h as needed to build on platforms with no sockaddr_storage | Harlan Stenn | 2011-02-22 | 2 | -0/+6 |
| | |||||
* | Include arpa/inet.h as needed on HPUX | Harlan Stenn | 2011-02-22 | 2 | -0/+6 |
| | |||||
* | Remove end-of-line whitespace | Nick Mathewson | 2010-12-09 | 1 | -1/+1 |
| | |||||
* | Fix win32 build of http-server.c with unicode enabled | Nick Mathewson | 2010-11-30 | 1 | -1/+1 |
| | |||||
* | make http-server example code build on win32 | Nick Mathewson | 2010-11-29 | 1 | -1/+47 |
| | |||||
* | Fix http-server.c compilation on freebsd | Nick Mathewson | 2010-11-29 | 1 | -0/+4 |
| | |||||
* | Fix a misplaced ) in http_server.c | Nick Mathewson | 2010-11-26 | 1 | -1/+1 |
| | |||||
* | Add a basic example of how to write a static HTTP server. | Nick Mathewson | 2010-11-26 | 2 | -1/+344 |
| | |||||
* | Fix some irix compilation warnings spotted by Kevin Bowling | Nick Mathewson | 2010-11-22 | 1 | -0/+3 |
| | |||||
* | Move event-config.h to include/event2 | Nick Mathewson | 2010-08-06 | 5 | -5/+5 |
| | | | | | This change means that all required include files are in event2, and all files not in event2/* are optional. | ||||
* | Fixed compilation of sample/le-proxy.c on win32 | Trond Norbye | 2010-08-01 | 1 | -0/+5 |
| | |||||
* | Make sample/hello_world work on windows | Nick Mathewson | 2010-07-05 | 1 | -1/+4 |
| | | | | | | | | We forgot to include the WSAStartup call in main(). Patch from an anonymous user on Sourceforge. Fixes bug 3025354. | ||||
* | more whitespace normalization | Nick Mathewson | 2010-03-05 | 1 | -8/+8 |
| | |||||
* | Replace users of "int fd" with "evutil_socket_t fd" in portable code | Nick Mathewson | 2010-03-05 | 2 | -2/+2 |
| | | | | | | | | | Remeber, win32 has a socket type that's actually a handle, so if there's a chance that code is run on win32, we can't use "int" as the socket type. This isn't a blind search-and-replace: sometimes an fd is really in fact for a file, and not a socket at all. | ||||
* | Clean up formatting: function/keyword spacing consistency. | Nick Mathewson | 2010-02-19 | 3 | -5/+5 |
| | | | | | | - Keywords always have a space before a paren. Functions never do. - No more than 3 blank lines in a row. | ||||
* | Clean up formatting: use tabs, not 8-spaces, to indent. | Nick Mathewson | 2010-02-18 | 1 | -7/+7 |
| | |||||
* | Clean up formatting: Disallow space-before-tab. | Nick Mathewson | 2010-02-18 | 1 | -1/+1 |
| | |||||
* | Add some headers to fix freebsd compilation | Nick Mathewson | 2010-02-18 | 1 | -0/+4 |
| | |||||
* | Make Libevent 1.4.12 build on win32 with Unicode enabled. | Brodie Thiesfield | 2010-02-03 | 1 | -1/+1 |
| | | | | | | This patch fixes calls to the win32 api to explicitly call the char* versions of the functions. This fixes build failures when libevent is built with the UNICODE define. | ||||
* | Update time-test.c to use event2 | Nick Mathewson | 2010-01-27 | 1 | -18/+41 |
| | | | | | | | time-test.c wasn't crazy, but it used some old interfaces. There are probably more cleanups and explanations to do beyond the ones here. | ||||
* | Clarify status of example programs | Nick Mathewson | 2010-01-27 | 3 | -0/+17 |
| | | | | | (That is, add comments to say that dns-example and le-proxy are recent and ugly; event-test is old and ugly.) | ||||
* | Add a new "hello world" sample program | Nick Mathewson | 2010-01-27 | 2 | -1/+133 |
| | |||||
* | Update sample/signal-test.c to use newer APIs and not leak. | Evan Jones | 2009-12-08 | 1 | -3/+5 |
| | |||||
* | OpenBSD demands that sys/types.h be included before sys/socket.h | Nick Mathewson | 2009-11-17 | 1 | -0/+2 |
| | | | | svn:r1539 | ||||
* | Add two implementations of getaddrinfo: one blocking and one nonblocking. | Nick Mathewson | 2009-11-16 | 1 | -2/+46 |
| | | | | | | | | | | | | | 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 | ||||
* | We do not work any more without an event-config.h; stop pretending that it ↵ | Nick Mathewson | 2009-11-06 | 3 | -9/+3 |
| | | | | | | is meaningful to check for HAVE_CONFIG_H svn:r1516 | ||||
* | Actually add the new dns-example.c code. :p | Nick Mathewson | 2009-11-05 | 1 | -0/+169 |
| | | | | svn:r1512 | ||||
* | Move the evdns sample code into the sample directory and fix it not to use ↵ | Nick Mathewson | 2009-11-05 | 1 | -1/+2 |
| | | | | | | any deprecated APIs. svn:r1511 |