Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move event-config.h to include/event2 | Nick Mathewson | 2010-08-06 | 1 | -1/+1 |
| | | | | | This change means that all required include files are in event2, and all files not in event2/* are optional. | ||||
* | Fix a memory leak when unmarshalling RPC object arrays | Nick Mathewson | 2010-04-23 | 1 | -17/+23 |
| | | | | | | | The old code would use type_var_add() for its side-effect of expanding the array, then leak the new object that was added to the array. The new code adds a static function to handle the array resizing. | ||||
* | Add void* arguments to request_new and reply_new evrpc hooks | Shuo Chen | 2010-04-14 | 1 | -0/+7 |
| | | | | | | | | | | | | | | This makes evprc setup more extensible, and helps with Shuo Chen's work on implementing Google protocol buffers rpc on top of Libevent 2 evrpc. This patch breaks binary compatibility with previous versions of Libevent, since it changes struct evrpc and the signature of evrpc_register_generic(). Since all compliant code should be calling evrpc_register_generic via EVRPC_REGISTER, it shouldn't break source compatibility. (Code by Shuo Chen; commit message by Nick) | ||||
* | Tolerate code that returns from a fatal_cb. | Nick Mathewson | 2009-11-20 | 1 | -2/+0 |
| | | | | Also, replace more abort() calls with EVUTIL_ASSERT() or event_errx. | ||||
* | Fix a declaration of __func__ in rpcgen. | Nick Mathewson | 2009-11-16 | 1 | -1/+1 |
| | | | | svn:r1535 | ||||
* | Some tweaks to Brodie Thesfield's MSVC patch. | Nick Mathewson | 2009-07-28 | 1 | -0/+4 |
| | | | | svn:r1386 | ||||
* | Remove all trailing whitespace from end-of-line. | Nick Mathewson | 2009-07-17 | 1 | -5/+5 |
| | | | | svn:r1350 | ||||
* | Allow C identifiers as struct names; allow multiple comments in .rpc files; ↵ | Niels Provos | 2009-07-03 | 1 | -9/+16 |
| | | | | | | from Zack Weinberg; plus a tiny tweak svn:r1336 | ||||
* | Allow specifying the output filename for rpcgen; based on work by jmansion; ↵ | Niels Provos | 2009-07-03 | 1 | -43/+83 |
| | | | | | | patch from Zack Weinberg. svn:r1335 | ||||
* | fix preamble of rpcgen-generated files to rely on event2 includes; based on ↵ | Niels Provos | 2009-07-03 | 1 | -16/+13 |
| | | | | | | work by jmansion; patch from Zack Weinberg. svn:r1334 | ||||
* | Raise RpcGenError in event_rpcgen.py; from jmanison and Zack Weinberg | Niels Provos | 2009-07-03 | 1 | -47/+44 |
| | | | | svn:r1333 | ||||
* | remove vararg macros for accessing evrpc structs | Niels Provos | 2009-04-25 | 1 | -12/+1 |
| | | | | svn:r1243 | ||||
* | Fix c89 bugs reported by Cory Stup. | Nick Mathewson | 2009-04-23 | 1 | -0/+2 |
| | | | | | | | | | | | 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 | ||||
* | Actually stop using EVBUFFER_LENGTH/DATA, and move them to buffer_compat.h | Nick Mathewson | 2009-04-17 | 1 | -2/+2 |
| | | | | svn:r1183 | ||||
* | Remove all trailing whitespace in all the source files. | Nick Mathewson | 2009-01-27 | 1 | -73/+73 |
| | | | | svn:r1063 | ||||
* | support 64-bit integers in rpc structs | Niels Provos | 2008-06-21 | 1 | -11/+21 |
| | | | | svn:r856 | ||||
* | r19601@catbus: nickm | 2008-05-05 11:45:04 -0400 | Nick Mathewson | 2008-05-05 | 1 | -1/+4 |
| | | | | | | | Make event_rpcgen.py use the new headers. svn:r775 | ||||
* | proxy one more generator | Niels Provos | 2008-04-03 | 1 | -6/+9 |
| | | | | svn:r701 | ||||
* | slight refactoring | Niels Provos | 2008-04-03 | 1 | -125/+159 |
| | | | | svn:r700 | ||||
* | make event_rpcgen.py generate code include event-config.h | Niels Provos | 2008-03-03 | 1 | -1/+5 |
| | | | | svn:r686 | ||||
* | improved code for evbuffer; avoids memcpy | Niels Provos | 2008-02-28 | 1 | -3/+1 |
| | | | | svn:r674 | ||||
* | r18145@catbus: nickm | 2008-02-18 15:02:20 -0500 | Nick Mathewson | 2008-02-18 | 1 | -18/+18 |
| | | | | | | | Stop using deprecated autoconf code to set integer types; detect actual files to include more thoroughly. This should make us work on solaris 9 again. This should be a backport candidate, if it works. Also, make all libevent code use ev_uint32_t etc, rather than uint_32_t. svn:r649 | ||||
* | additional add argument was missing const qualifier | Niels Provos | 2007-12-27 | 1 | -1/+2 |
| | | | | svn:r615 | ||||
* | support string arrays in event_rpcgen | Niels Provos | 2007-12-24 | 1 | -105/+146 |
| | | | | svn:r613 | ||||
* | support integer arrays in rpc structures; this involved some refactoring of ↵ | Niels Provos | 2007-12-23 | 1 | -205/+368 |
| | | | | | | the event_rpcgen code, so that other types should be able to get arrays fairly easily svn:r609 | ||||
* | fix a bug with event_rpcgen for integers | Niels Provos | 2007-12-13 | 1 | -0/+4 |
| | | | | svn:r588 | ||||
* | pull setters/getters out of RPC structures to reduce their memory footprint | Niels Provos | 2007-12-12 | 1 | -20/+26 |
| | | | | svn:r585 | ||||
* | support for 32-bit tag numbers in rpc structures | Niels Provos | 2007-12-12 | 1 | -9/+9 |
| | | | | svn:r583 | ||||
* | first attempts at refactoring this code to make it more readable; | Niels Provos | 2007-09-23 | 1 | -259/+243 |
| | | | | | | | mostly changing to dictionaries for format strings svn:r450 | ||||
* | deal with out of memory situations for realloc | Niels Provos | 2007-09-15 | 1 | -9/+15 |
| | | | | svn:r429 | ||||
* | make allocating array members in event_rpcgen more efficient, but doubling ↵ | Niels Provos | 2007-09-09 | 1 | -4/+14 |
| | | | | | | | | | the size of available slots every time we run out. svn:r421 | ||||
* | r14618@catbus: nickm | 2007-08-16 17:11:47 -0400 | Nick Mathewson | 2007-08-16 | 1 | -2/+2 |
| | | | | | | | In ANSI C, int func() is a function with unspecified arguments, whereas int func(void) is a function that takes no arguments. Using int func() to mean a function with no arguments is a C++ism, so let's not use or generate it. svn:r395 | ||||
* | make event_rpcgen.py use the uint_ types; | Niels Provos | 2007-07-06 | 1 | -18/+21 |
| | | | | | | | make event.h include stdint.h (wonder which OS that will break) svn:r369 | ||||
* | support #define in .rpc descriptions | Niels Provos | 2006-11-26 | 1 | -2/+13 |
| | | | | svn:r278 | ||||
* | make it work with python2.2 | Niels Provos | 2006-11-19 | 1 | -5/+10 |
| | | | | svn:r267 | ||||
* | use more python builtins; dont use reserved keywords | Niels Provos | 2006-11-18 | 1 | -21/+21 |
| | | | | svn:r266 | ||||
* | oops. the enums were actually creating symbols | Niels Provos | 2006-05-17 | 1 | -1/+1 |
| | | | | svn:r212 | ||||
* | I often need some very simple HTTP functionality, so this is a first stab | Niels Provos | 2006-01-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | at integrating something really simple with HTTP. The interface is still evolving as I start messing with it. Not all the interfaces are properly exported yet. I am also trying to figure out how to intelligently hide the details about the different structures from users, so that that things can be changed around later. svn:r196 | ||||
* | make it compile on mac os x | Niels Provos | 2005-09-09 | 1 | -18/+18 |
| | | | | svn:r183 | ||||
* | remove dos opportunity | Niels Provos | 2005-08-30 | 1 | -0/+4 |
| | | | | svn:r180 | ||||
* | support for arrays on structs. | Niels Provos | 2005-08-28 | 1 | -11/+261 |
| | | | | svn:r178 | ||||
* | a few more bug fixes | Niels Provos | 2005-08-27 | 1 | -15/+33 |
| | | | | svn:r177 | ||||
* | constify | Niels Provos | 2005-08-26 | 1 | -13/+14 |
| | | | | svn:r176 | ||||
* | fix API problems for get in some types | Niels Provos | 2005-08-23 | 1 | -4/+23 |
| | | | | svn:r175 | ||||
* | typo | Niels Provos | 2005-08-22 | 1 | -2/+2 |
| | | | | svn:r174 | ||||
* | make use of the built in warn/err code | Niels Provos | 2005-08-22 | 1 | -4/+11 |
| | | | | svn:r173 | ||||
* | including the tagging code that is required by event_rpcgen.py; test the | Niels Provos | 2005-08-22 | 1 | -18/+41 |
| | | | | | | | new functionality. svn:r172 | ||||
* | generate marshalling code based on libevent | Niels Provos | 2005-08-21 | 1 | -0/+1056 |
svn:r171 |