|
b69d03b5
|
2009-05-05T14:18:14
|
|
Add a constructor for bufferevent_async.
svn:r1274
|
|
6b21fe2b
|
2009-05-05T03:01:24
|
|
oops; do not forget to distribute listener.h
svn:r1273
|
|
659d54d5
|
2009-05-05T02:59:26
|
|
Add new code to make and accept connections.
This is stuff that it's easy to get wrong (as I noticed when writing
bench_http), and that takes up a fair amount of space (see http.c).
Also, it's something that we'll eventually want to abstract to use
IOCP, where available.
svn:r1272
|
|
0fd70978
|
2009-05-05T01:09:03
|
|
Add an event_get_base() function to remove one more reason to include event_struct.h
svn:r1271
|
|
0e63e72a
|
2009-05-03T18:56:08
|
|
Nothing ever sets event_sigcb or event_gotsig any more: remove them.
svn:r1270
|
|
bd73ed48
|
2009-05-02T16:24:23
|
|
Revise regress_pthreads.c to not use event_set
svn:r1269
|
|
5a3eddf0
|
2009-05-02T16:24:05
|
|
Use fewer _compat.h headers in our own code.
svn:r1268
|
|
d5ca0763
|
2009-05-02T16:23:29
|
|
Move event_set() and friends to event2/event_compat.h.
These functions are deprecated in favor of event_assign().
svn:r1267
|
|
00ecd1d8
|
2009-05-02T16:23:08
|
|
Make evrpc use event2/rpc*.h, not evrpc.h
svn:r1266
|
|
7b24d72a
|
2009-05-02T16:22:55
|
|
Remove some duplicated includes in evdns.c
svn:r1265
|
|
a109d95c
|
2009-05-02T16:11:06
|
|
Add changelog entry for vc++ fixes
svn:r1264
|
|
1aebcd50
|
2009-05-01T01:42:33
|
|
Initial core implementation of bufferevent_async.c
svn:r1263
|
|
e865eb93
|
2009-05-01T00:54:14
|
|
More msvc build tweaks.
svn:r1262
|
|
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
|
|
ebf29455
|
2009-04-30T23:49:15
|
|
Compilation fixes for vc++ 2008 express. Not the end of them.
svn:r1260
|
|
7f967807
|
2009-04-30T20:48:40
|
|
Initial unit test for overlapped evbuffer usage. It's lame, but it doesn't crash any more.
svn:r1259
|
|
efc24f7c
|
2009-04-30T20:47:38
|
|
Get launch_read and launch_write to (apparently) work.
svn:r1258
|
|
23121bfb
|
2009-04-30T19:56:23
|
|
Fix a reversed check in upcast_evbuffer
svn:r1257
|
|
16612eb9
|
2009-04-30T19:20:42
|
|
Beef up the events in the last test a little.
svn:r1256
|
|
ec146883
|
2009-04-30T19:05:43
|
|
Oops: actually commit changes to build and use regress_iocp
svn:r1255
|
|
f1090833
|
2009-04-30T19:04:44
|
|
First tests for IOCP loop, and related fixes.
The fixes are: a shutdown mode that works, and a way to activate an
arbitrary event_overlapped.
svn:r1254
|
|
b45cead7
|
2009-04-30T18:05:33
|
|
Make environment-variable tests work on win32, which has only one method and lacks (un)setenv.
svn:r1253
|
|
24607a39
|
2009-04-29T20:48:43
|
|
Note a place we might do better about lock releasing.
svn:r1252
|
|
50e20fe0
|
2009-04-29T20:48:35
|
|
fix a typo in a comment
svn:r1251
|
|
37bc3466
|
2009-04-29T20:48:28
|
|
Catch attempts to event_base_once a persistent event.
svn:r1250
|
|
19594141
|
2009-04-29T20:48:21
|
|
Clarify semantics on event_pending()
svn:r1249
|
|
9ad45eef
|
2009-04-28T19:08:36
|
|
Patch from Eric Hopper: the test for EVENT_BASE_FLAG_IGNORE_ENV was inverted.
svn:r1248
|
|
586aa468
|
2009-04-28T19:08:27
|
|
Unit test for disabling events with EVENT_NO*, and for EVENT_BASE_FLAG_IGNORE_ENV.
svn:r1247
|
|
2ebfd3ba
|
2009-04-28T19:08:17
|
|
Oops. We never actually defined event_config_set_flag().
svn:r1246
|
|
11cab334
|
2009-04-28T19:08:07
|
|
Fix compile: #elif FOO is not the same as #elif defined(FOO).
svn:r1245
|
|
a146af1d
|
2009-04-25T00:15:55
|
|
move more code directly into evrpc.c; provide backwards compatible vararg macros
svn:r1244
|
|
b228ff91
|
2009-04-25T00:15:31
|
|
remove vararg macros for accessing evrpc structs
svn:r1243
|
|
f69cd80d
|
2009-04-25T00:15:09
|
|
refactor evrpc.h header filer
svn:r1242
|
|
bbf79707
|
2009-04-25T00:14:58
|
|
refactor evrpc.h header filer
svn:r1241
|
|
5c4c13d8
|
2009-04-24T03:24:22
|
|
make sendfile work on freebsd
svn:r1239
|
|
a5897917
|
2009-04-23T21:43:44
|
|
Changelog entry for r1237
svn:r1238
|
|
ec6bfd03
|
2009-04-23T21:41:53
|
|
Fix for evbuffer_read() when all data fits in penultimate chain.
Previously we were reading into the next-to-last chain, but incrementing
the fullness of the last. Bug found by Victor Goya.
svn:r1237
|
|
faa756c7
|
2009-04-23T21:34:37
|
|
Oops. event_config.flags was never initialized. Bugfix on 2.0.1-alpha. Found by Victor Goya.
svn:r1236
|
|
d70b0804
|
2009-04-23T18:08:42
|
|
Make main/methods test pass on systems where only one backend exists.
svn:r1235
|
|
1ad03264
|
2009-04-23T18:04:50
|
|
Fix win32 compilation issues.
svn:r1234
|
|
c5c9589f
|
2009-04-23T06:27:58
|
|
Add missing case to make http.c compile with warnings enabled.
svn:r1232
|
|
9516df0e
|
2009-04-23T05:40:06
|
|
Fix c89 bugs reported by Cory Stup.
Others may remain. I wasn't able to get gcc --std=c89 to build libevent
at all, so I don't know what compiler the original reporter is using here.
Note that this change requires us to disable the part of our rpc code
that uses variadic macros when using a non-gcc compiler. This is a
problem if we want our rpc api to be portable.
svn:r1231
|
|
8ba25b9e
|
2009-04-23T05:20:08
|
|
Add missing regress_minheap.c file
svn:r1230
|
|
5c104cef
|
2009-04-23T00:33:37
|
|
Add a randomized test for heap correctness.
svn:r1229
|
|
df0617f2
|
2009-04-23T00:21:23
|
|
Use signal.h, not sys/signal.h.
This is patch 2673214 from mmadia. It is correct, since we unconditionally
include signal.h in many other places, and only sometimes include sys/signal.h.
It is necessary to compile on Haiku, I'm told.
svn:r1228
|
|
8b7a3b36
|
2009-04-23T00:01:24
|
|
Fix min_heap_erase when we remove an element from the middle of the heap.
Previously, we could lose the heap property when we removed an item
whose parent was greater than the last element in the heap. We would
replace the removed item with the last element, and consider shifting
it down, but we wouldn't consider shifting it up.
Patch from Marko Kreen.
svn:r1226
|
|
0068c98a
|
2009-04-23T00:01:14
|
|
Make version test ignore the bottom byte of the version number.
svn:r1225
|
|
e2b987ed
|
2009-04-23T00:01:05
|
|
bump the numeric version; this is not the same as the alpha.
svn:r1224
|
|
b21be245
|
2009-04-23T00:00:55
|
|
Somehow free_active_base was using the socketpair, but not saying it needed it. How did this ever work?
svn:r1223
|
|
253151c5
|
2009-04-22T20:28:30
|
|
Detect and reject n_priorities less than 1.
svn:r1222
|
|
01bda2b8
|
2009-04-22T20:27:21
|
|
Add forgotten changelog.
svn:r1221
|
|
11ff74cf
|
2009-04-22T19:41:23
|
|
Add a flag to disable checking the EVENT_* environment variables.
svn:r1220
|
|
1f9c9e51
|
2009-04-22T15:38:50
|
|
Add a missing "static".
svn:r1219
|
|
133a015d
|
2009-04-21T18:48:05
|
|
Make sure the test case for mem_functions hits strdup too.
svn:r1218
|
|
d3fbe7fa
|
2009-04-21T18:47:53
|
|
Do not free the signal index unless it was at some point allocated
svn:r1217
|
|
7f1855d0
|
2009-04-21T18:47:35
|
|
Add a basic test for set_mem_functions
svn:r1216
|
|
ea8cc76c
|
2009-04-21T18:47:23
|
|
Fix the documentation of event_pending.
svn:r1215
|
|
386279d0
|
2009-04-21T18:47:02
|
|
Add a test for event_pending; especially the timeout part.
svn:r1214
|
|
ff1f4295
|
2009-04-21T18:46:43
|
|
Unit tests for event_base_once.
svn:r1213
|
|
ea664bf2
|
2009-04-21T18:46:30
|
|
Refactor test wrappers to divide legacy items from useful stuff.
svn:r1212
|
|
122e934e
|
2009-04-21T18:46:11
|
|
Add unit tests for version methods and feature-based backend selection
svn:r1211
|
|
7cf8a7b0
|
2009-04-21T18:45:59
|
|
Call the main testcases "main", not "legacy".
svn:r1210
|
|
1bb8e010
|
2009-04-21T16:17:59
|
|
Format microseconds correctly in bench_httpclient
svn:r1209
|
|
eda27f95
|
2009-04-19T20:54:12
|
|
Update copyright notices, add some missing license statements
svn:r1208
|
|
0c15d6ab
|
2009-04-19T13:33:52
|
|
defer-internal.h was missing from dist; so our first tar ball did not even compile. ouch.
svn:r1207
|
|
b7907a7b
|
2009-04-19T01:59:25
|
|
Note dns work in changelog and whatsnew
svn:r1206
|
|
2d9619d7
|
2009-04-19T01:59:09
|
|
Make dns callbacks run deferred
svn:r1205
|
|
327165b3
|
2009-04-19T01:58:54
|
|
Add locks to evdns.
svn:r1204
|
|
ac3fc991
|
2009-04-19T01:58:41
|
|
Use new-style headers in evdns.c
svn:r1203
|
|
4d8919ec
|
2009-04-19T01:58:26
|
|
Do not try to double-free the nameserver in regression test
svn:r1202
|
|
b182ed76
|
2009-04-18T18:28:18
|
|
More tweaks to http stress-tester
svn:r1201
|
|
a835c7cf
|
2009-04-18T18:27:56
|
|
fix a misindent
svn:r1200
|
|
f00f0c25
|
2009-04-18T04:34:45
|
|
make doxygen happier
svn:r1199
|
|
e4f24219
|
2009-04-18T00:12:52
|
|
Add a new bench_httpclient for a trivial codecon demo.
svn:r1198
|
|
a98a512b
|
2009-04-17T23:12:34
|
|
Add a generic way for any bufferevent to make its callback deferred
svn:r1197
|
|
99de1867
|
2009-04-17T23:07:48
|
|
Bump version to 2.0.1-alpha-dev so that nobody mistakes a svn checkout for 2.0.1-alpha.
svn:r1196
|
|
d047b323
|
2009-04-17T17:22:32
|
|
Increment version to 2.0.1-alpha, and add a numeric version facility
svn:r1193
|
|
b3460387
|
2009-04-17T06:58:18
|
|
Even _more_ recent tinytest, designed to give better help output.
svn:r1192
|
|
2c4c294e
|
2009-04-17T06:58:04
|
|
note new unit test framework.
svn:r1191
|
|
81280062
|
2009-04-17T06:57:52
|
|
Add the latest tinytest. This one supports a --terse flag and a --no-fork flag, and outputs nicer.
svn:r1190
|
|
91039e4d
|
2009-04-17T06:57:38
|
|
Add reference counts to bufferevents.
svn:r1189
|
|
1351e61c
|
2009-04-17T06:57:25
|
|
Write a huge pile of whatsnew-2.0.txt
svn:r1188
|
|
49354138
|
2009-04-17T06:57:13
|
|
Oh hey. There is no support for suspend/unsuspend.
svn:r1187
|
|
7fa8451d
|
2009-04-17T06:56:57
|
|
Add a configure flag to hardcode all of our mm functions.
svn:r1186
|
|
64a37e61
|
2009-04-17T06:56:36
|
|
Fix evmap indentation to be less stupid.
svn:r1185
|
|
9097c95b
|
2009-04-17T06:56:23
|
|
Rename whatsnew file to reflect actual version.
svn:r1184
|
|
a8f6d961
|
2009-04-17T06:56:09
|
|
Actually stop using EVBUFFER_LENGTH/DATA, and move them to buffer_compat.h
svn:r1183
|
|
796ba15f
|
2009-04-17T06:55:25
|
|
Stop claiming that APIs we have are missing.
svn:r1182
|
|
838d0a81
|
2009-04-17T06:55:08
|
|
Document many internal functions and pieces of code.
svn:r1181
|
|
433e2339
|
2009-04-17T06:54:28
|
|
Remove long copy-and-paste section full of windows api notes.
svn:r1180
|
|
30648529
|
2009-04-17T01:03:07
|
|
have evhttp_set_cb return an int; -1 on failure, 0 on success; this is better than returning a pointer
svn:r1179
|
|
edfc28ca
|
2009-04-17T00:24:58
|
|
pkgconfig support from Ted Bullock
svn:r1177
|
|
0b987813
|
2009-04-16T00:32:52
|
|
More hacking on event_iocp.c: make it compile, and give it more of an interface. This code is now testable.
svn:r1176
|
|
09c23b6a
|
2009-04-16T00:27:32
|
|
It seems support for GetCompletionEventEx is not in my mingw. Use the simpler interface instead, for now.
svn:r1175
|
|
93d4f884
|
2009-04-14T20:11:10
|
|
Make buffer iocp stuff compile happily
svn:r1174
|
|
fe95df15
|
2009-04-13T18:32:24
|
|
Fix typo in mm_free
svn:r1173
|
|
ca737ff3
|
2009-04-13T18:29:31
|
|
Add draft (nonworking) versions of iocp code to hack on more.
svn:r1172
|
|
4e8cdc6f
|
2009-04-13T18:23:02
|
|
Fix two windows compilation bugs.
svn:r1171
|
|
915193e7
|
2009-04-13T03:17:19
|
|
Locking support for bufferevents.
svn:r1170
|
|
1becc4c4
|
2009-04-13T03:08:11
|
|
Refactor new elements of bufferevent into bufferevent_private structure
This way we don't expose more of a bufferevent than we need to. One
motivation is to make it easier to automatically get deferred callbacks
with a bufferevent without exposing the deferred_cb structure.
svn:r1169
|