Permalink
Browse files

Big levent update.

  • Loading branch information...
1 parent 0bf5b95 commit 5a6ace5994a80cf90a8d9fcc1095aae197455514 @jedisct1 committed Jan 8, 2011
Showing with 1,534 additions and 498 deletions.
  1. +2 −0 src/levent2/.gitignore
  2. +4 −1 src/levent2/Makefile.am
  3. +6 −0 src/levent2/WIN32-Code/evconfig-private.h
  4. +2 −2 src/levent2/WIN32-Code/event2/event-config.h
  5. +1 −0 src/levent2/arc4random.c
  6. +281 −264 src/levent2/buffer.c
  7. +2 −1 src/levent2/buffer_iocp.c
  8. +1 −0 src/levent2/bufferevent-internal.h
  9. +3 −2 src/levent2/bufferevent.c
  10. +1 −0 src/levent2/bufferevent_async.c
  11. +2 −0 src/levent2/bufferevent_filter.c
  12. +3 −2 src/levent2/bufferevent_openssl.c
  13. +2 −2 src/levent2/bufferevent_pair.c
  14. +1 −0 src/levent2/bufferevent_ratelim.c
  15. +3 −2 src/levent2/bufferevent_sock.c
  16. +12 −3 src/levent2/configure.in
  17. +2 −0 src/levent2/defer-internal.h
  18. +1 −0 src/levent2/devpoll.c
  19. +252 −141 src/levent2/epoll.c
  20. +1 −0 src/levent2/epoll_sub.c
  21. +45 −12 src/levent2/evbuffer-internal.h
  22. +43 −0 src/levent2/evconfig-private.h.in
  23. +3 −1 src/levent2/evdns.c
  24. +422 −0 src/levent2/event-config.h
  25. +2 −0 src/levent2/event-internal.h
  26. +1 −0 src/levent2/event.c
  27. +1 −0 src/levent2/event_iocp.c
  28. +1 −0 src/levent2/event_tagging.c
  29. +1 −0 src/levent2/evmap.c
  30. +7 −0 src/levent2/evport.c
  31. +1 −0 src/levent2/evrpc.c
  32. +3 −1 src/levent2/evthread-internal.h
  33. +1 −0 src/levent2/evthread.c
  34. +4 −2 src/levent2/evthread_pthread.c
  35. +1 −0 src/levent2/evthread_win32.c
  36. +1 −2 src/levent2/evutil.c
  37. +1 −0 src/levent2/evutil_rand.c
  38. +1 −0 src/levent2/http.c
  39. +102 −1 src/levent2/include/event2/buffer.h
  40. +3 −1 src/levent2/ipv6-internal.h
  41. +1 −2 src/levent2/kqueue.c
  42. +3 −2 src/levent2/listener.c
  43. +1 −0 src/levent2/log.c
  44. +3 −0 src/levent2/m4/ac_backport_259_ssizet.m4
  45. +57 −0 src/levent2/make_epoll_table.py
  46. +1 −0 src/levent2/minheap-internal.h
  47. +1 −0 src/levent2/poll.c
  48. +1 −0 src/levent2/select.c
  49. +1 −0 src/levent2/signal.c
  50. +1 −0 src/levent2/strlcpy-internal.h
  51. +3 −2 src/levent2/strlcpy.c
  52. +1 −1 src/levent2/test/regress.h
  53. +219 −46 src/levent2/test/regress_buffer.c
  54. +5 −2 src/levent2/test/regress_main.c
  55. +8 −2 src/levent2/util-internal.h
  56. +2 −1 src/levent2/win32select.c
@@ -66,8 +66,10 @@ libevent_openssl.pc
/ltmain.sh
/missing
/stamp-h1
+/stamp-h2
/include/event2/event-config.h
+/evconfig-private.h
/sample/dns-example
/sample/event-test
@@ -128,7 +128,7 @@ endif
BUILT_SOURCES = ./include/event2/event-config.h
./include/event2/event-config.h: config.h
- @MKDIR_P@ ./include/event2
+ $(MKDIR_P) ./include/event2 || true
echo '/* event2/event-config.h' > $@
echo ' *' >> $@
echo ' * This file was generated by autoconf when libevent was built, and post-' >> $@
@@ -143,6 +143,7 @@ BUILT_SOURCES = ./include/event2/event-config.h
sed -e 's/#define /#define _EVENT_/' \
-e 's/#undef /#undef _EVENT_/' \
+ -e 's/# define /# define _EVENT_/' \
-e 's/#ifndef /#ifndef _EVENT_/' < config.h >> $@
echo "#endif" >> $@
@@ -192,7 +193,9 @@ noinst_HEADERS = util-internal.h mm-internal.h ipv6-internal.h \
minheap-internal.h log-internal.h evsignal-internal.h evmap-internal.h \
changelist-internal.h iocp-internal.h \
ratelim-internal.h \
+ evconfig-private.h \
WIN32-Code/event2/event-config.h \
+ WIN32-Code/evconfig-private.h \
WIN32-Code/tree.h \
compat/sys/queue.h
@@ -0,0 +1,6 @@
+#if !defined(_EVENT_EVCONFIG__PRIVATE_H) && !defined(__MINGW32__)
+#define _EVENT_EVCONFIG__PRIVATE_H
+
+/* Nothing to see here. Move along. */
+
+#endif
@@ -274,7 +274,7 @@
/* #undef _EVENT_HAVE_WORKING_KQUEUE */
/* Numeric representation of the version */
-#define _EVENT_NUMERIC_VERSION 0x02000901
+#define _EVENT_NUMERIC_VERSION 0x02010001
/* Name of package */
#define _EVENT_PACKAGE "libevent"
@@ -331,7 +331,7 @@
#define _EVENT_TIME_WITH_SYS_TIME 1
/* Version number of package */
-#define _EVENT_VERSION "2.0.9-rc-dev"
+#define _EVENT_VERSION "2.1.0-alpha-dev"
/* Define to appropriate substitue if compiler doesnt have __func__ */
#define _EVENT___func__ __FUNCTION__
@@ -49,6 +49,7 @@
#endif
#ifndef ARC4RANDOM_NO_INCLUDES
+#include "evconfig-private.h"
#ifdef WIN32
#include <wincrypt.h>
#include <process.h>
Oops, something went wrong.

0 comments on commit 5a6ace5

Please sign in to comment.