733 Commits

Author SHA1 Message Date
Niels Provos
8d1317d71c add evbuffer_add_vprintf interface from artur grabowski; add some testing
svn:r188
2005-12-06 03:26:28 +00:00
Niels Provos
9c9f065184 avoid double recacle when loop_once is used; from Richard Nyberg
svn:r187
2005-12-03 20:51:23 +00:00
Niels Provos
68292e2f45 signal handler satefy improvements from Theo DeRaadt
svn:r186
2005-12-03 17:52:47 +00:00
Niels Provos
65644dfb80 solaris kernel changes are not backwards compatible - how retarded. problem
pointed out by: Geoffrey Giesemann


svn:r185
2005-11-12 19:04:17 +00:00
Niels Provos
11a40d478e event.3
svn:r184
2005-09-20 15:59:00 +00:00
Niels Provos
50f7aaef6b make it compile on mac os x
svn:r183
2005-09-09 06:56:12 +00:00
Niels Provos
3b9b3f6b7e don't spam on stderr
svn:r182
2005-09-02 05:34:14 +00:00
Niels Provos
acafd9942f make it run on older shells; from tor user via Nick Mathewson <nickm@freehaven.net>
svn:r181
2005-09-02 05:34:01 +00:00
Niels Provos
7000fe664d remove dos opportunity
svn:r180
2005-08-30 06:02:09 +00:00
Niels Provos
5c5145dc1c oops forgot this one
svn:r179
2005-08-29 07:23:51 +00:00
Niels Provos
b4ab56dc04 support for arrays on structs.
svn:r178
2005-08-28 23:48:16 +00:00
Niels Provos
32acc283c8 a few more bug fixes
svn:r177
2005-08-27 06:29:52 +00:00
Niels Provos
2813f1b0f1 constify
svn:r176
2005-08-26 02:15:54 +00:00
Niels Provos
aaf56fb61e fix API problems for get in some types
svn:r175
2005-08-23 07:43:11 +00:00
Niels Provos
6e55da606c typo
svn:r174
2005-08-22 01:39:54 +00:00
Niels Provos
e5ab86a726 make use of the built in warn/err code
svn:r173
2005-08-22 01:38:23 +00:00
Niels Provos
c4e60994a2 including the tagging code that is required by event_rpcgen.py; test the
new functionality.


svn:r172
2005-08-22 01:34:34 +00:00
Niels Provos
949cbd12fa generate marshalling code based on libevent
svn:r171
2005-08-21 16:25:02 +00:00
Niels Provos
fbee901e23 correctly test against SIG_ERR
svn:r170
2005-07-14 04:09:55 +00:00
Niels Provos
e1759c7bbd fix issue with signedness warnings; from Alexander von Gernler
svn:r169
release-1.1b
2005-06-19 20:28:20 +00:00
Niels Provos
9938aaf511 treate EINVAL as per fd error in kqueue; use argument for debug macros in
poll; version 1.1a; EINVAL fix from Nick Mathewson


svn:r168
2005-06-11 21:15:22 +00:00
Niels Provos
81bd0a0687 bufferevents would not correctly detect EOF on read; reported by
Jonathan Brannan


svn:r167
2005-06-10 07:42:14 +00:00
Niels Provos
7a0c530b56 performance improvements of select handler by Nick Mathewson; I added
better recovery when memory allocation fails; something that needs to be
done for the poll improvements, too.


svn:r166
2005-05-11 04:08:51 +00:00
Niels Provos
57fafe6b5f detect kqueue bug in Mac OS X 10.4; from Nick Mathewson
svn:r165
2005-05-11 03:34:42 +00:00
Niels Provos
145c11fd6d more credits
svn:r164
2005-05-10 17:27:58 +00:00
Niels Provos
dc816fdc7a type; from Alexander von Gernler
svn:r163
2005-05-10 17:27:11 +00:00
Niels Provos
cdcfae7fc1 call epoll_ctl after changing our state table; in case that epoll_ctl fails
we need to make sure that the table is consistent. from William Ahern


svn:r162
2005-05-10 08:14:39 +00:00
Niels Provos
c15db0349a performance improvements by Nick Mathewson; we modify the arrays directly
in poll_add and poll_del; some minor tweaks by me.  earmark this as 1.0f


svn:r161
2005-05-10 04:40:03 +00:00
Niels Provos
d6e56988a7 sync
svn:r160
2005-05-10 04:16:17 +00:00
Niels Provos
e444040f3d fix rule that depended on obsolete libevent.a
svn:r159
2005-04-29 02:55:20 +00:00
Niels Provos
1585013558 prototype addition; from Alexander von Gernler
svn:r158
2005-04-26 15:48:42 +00:00
Niels Provos
dfe4e16e13 pointer arithmetic bug; from Nick Mathewson
svn:r157
2005-04-26 07:17:42 +00:00
Niels Provos
0f5b0389e5 fix memory leak; from Andrey Matveev
svn:r156
2005-04-23 15:40:14 +00:00
Niels Provos
c09a817563 1.0d
svn:r155
2005-04-23 03:03:28 +00:00
Niels Provos
425fc0d574 provide a function to read lines from buffers; comes in handy for many
AscII protocols.


svn:r154
2005-04-23 02:53:39 +00:00
Niels Provos
fdfa743ccc libtoolize; from Nick Mathewson
svn:r153
2005-04-23 02:48:49 +00:00
Niels Provos
0cce9a01d7 better comment
svn:r152
2005-04-23 02:48:27 +00:00
Niels Provos
2fa38549d7 compress read and write events for the same file descriptor into on poll
descriptor; from Nick Mathewson plus bug fixes from me.


svn:r151
2005-04-23 02:40:26 +00:00
Niels Provos
bca504e41c fix typos
svn:r150
2005-04-23 02:38:30 +00:00
Niels Provos
1d0d4bc66e make gotsig volatile. from Alexander von Gernler
svn:r149
2005-04-17 06:51:10 +00:00
Niels Provos
5e2ba12a89 fixes from alexander von gernler
svn:r148
2005-04-14 23:28:06 +00:00
Niels Provos
bc2c695b76 type; set the priorities based on the correct base; reported by Vinh D. Lee
svn:r147
2005-04-10 07:18:18 +00:00
Niels Provos
6ba5e0d03e fix a windows bug; from nick mathewson
svn:r146
2005-04-09 03:32:11 +00:00
Niels Provos
d47798be5a return error code when kqueue fails on a specific fd; from alexander von
gernler.


svn:r145
2005-04-07 03:35:56 +00:00
Niels Provos
8f0541af3e forgot
svn:r144
2005-04-04 00:37:26 +00:00
Niels Provos
4157d33ee9 acknowledgements and new version
svn:r143
2005-04-04 00:35:14 +00:00
Niels Provos
bc9b24876b make it compile on solaris
svn:r142
2005-04-04 00:10:17 +00:00
Niels Provos
1e128e2d05 fix bug that broke poll/select stuff
svn:r141
2005-04-03 07:46:27 +00:00
Niels Provos
720f7fcc0d event_base_loop and some event logging fixes.
svn:r140
2005-04-02 08:43:55 +00:00
Niels Provos
32bed8f9b6 build fixes from nick mathewson
svn:r139
2005-04-01 04:20:39 +00:00