summaryrefslogtreecommitdiff
path: root/event_rpcgen.py
Commit message (Collapse)AuthorAgeFilesLines
* add a requested docstring for event_rpcgen.CommandLine.__init__Nick Mathewson2010-10-251-0/+5
|
* Move event-config.h to include/event2Nick Mathewson2010-08-061-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 arraysNick Mathewson2010-04-231-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 hooksShuo Chen2010-04-141-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 Mathewson2009-11-201-2/+0
| | | | Also, replace more abort() calls with EVUTIL_ASSERT() or event_errx.
* Fix a declaration of __func__ in rpcgen.Nick Mathewson2009-11-161-1/+1
| | | | svn:r1535
* Some tweaks to Brodie Thesfield's MSVC patch.Nick Mathewson2009-07-281-0/+4
| | | | svn:r1386
* Remove all trailing whitespace from end-of-line.Nick Mathewson2009-07-171-5/+5
| | | | svn:r1350
* Allow C identifiers as struct names; allow multiple comments in .rpc files; ↵Niels Provos2009-07-031-9/+16
| | | | | | from Zack Weinberg; plus a tiny tweak svn:r1336
* Allow specifying the output filename for rpcgen; based on work by jmansion; ↵Niels Provos2009-07-031-43/+83
| | | | | | patch from Zack Weinberg. svn:r1335
* fix preamble of rpcgen-generated files to rely on event2 includes; based on ↵Niels Provos2009-07-031-16/+13
| | | | | | work by jmansion; patch from Zack Weinberg. svn:r1334
* Raise RpcGenError in event_rpcgen.py; from jmanison and Zack WeinbergNiels Provos2009-07-031-47/+44
| | | | svn:r1333
* remove vararg macros for accessing evrpc structsNiels Provos2009-04-251-12/+1
| | | | svn:r1243
* Fix c89 bugs reported by Cory Stup.Nick Mathewson2009-04-231-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.hNick Mathewson2009-04-171-2/+2
| | | | svn:r1183
* Remove all trailing whitespace in all the source files.Nick Mathewson2009-01-271-73/+73
| | | | svn:r1063
* support 64-bit integers in rpc structsNiels Provos2008-06-211-11/+21
| | | | svn:r856
* r19601@catbus: nickm | 2008-05-05 11:45:04 -0400Nick Mathewson2008-05-051-1/+4
| | | | | | | Make event_rpcgen.py use the new headers. svn:r775
* proxy one more generatorNiels Provos2008-04-031-6/+9
| | | | svn:r701
* slight refactoringNiels Provos2008-04-031-125/+159
| | | | svn:r700
* make event_rpcgen.py generate code include event-config.hNiels Provos2008-03-031-1/+5
| | | | svn:r686
* improved code for evbuffer; avoids memcpyNiels Provos2008-02-281-3/+1
| | | | svn:r674
* r18145@catbus: nickm | 2008-02-18 15:02:20 -0500Nick Mathewson2008-02-181-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 qualifierNiels Provos2007-12-271-1/+2
| | | | svn:r615
* support string arrays in event_rpcgenNiels Provos2007-12-241-105/+146
| | | | svn:r613
* support integer arrays in rpc structures; this involved some refactoring of ↵Niels Provos2007-12-231-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 integersNiels Provos2007-12-131-0/+4
| | | | svn:r588
* pull setters/getters out of RPC structures to reduce their memory footprintNiels Provos2007-12-121-20/+26
| | | | svn:r585
* support for 32-bit tag numbers in rpc structuresNiels Provos2007-12-121-9/+9
| | | | svn:r583
* first attempts at refactoring this code to make it more readable;Niels Provos2007-09-231-259/+243
| | | | | | | mostly changing to dictionaries for format strings svn:r450
* deal with out of memory situations for reallocNiels Provos2007-09-151-9/+15
| | | | svn:r429
* make allocating array members in event_rpcgen more efficient, but doubling ↵Niels Provos2007-09-091-4/+14
| | | | | | | | | the size of available slots every time we run out. svn:r421
* r14618@catbus: nickm | 2007-08-16 17:11:47 -0400Nick Mathewson2007-08-161-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 Provos2007-07-061-18/+21
| | | | | | | make event.h include stdint.h (wonder which OS that will break) svn:r369
* support #define in .rpc descriptionsNiels Provos2006-11-261-2/+13
| | | | svn:r278
* make it work with python2.2Niels Provos2006-11-191-5/+10
| | | | svn:r267
* use more python builtins; dont use reserved keywordsNiels Provos2006-11-181-21/+21
| | | | svn:r266
* oops. the enums were actually creating symbolsNiels Provos2006-05-171-1/+1
| | | | svn:r212
* I often need some very simple HTTP functionality, so this is a first stabNiels Provos2006-01-221-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 xNiels Provos2005-09-091-18/+18
| | | | svn:r183
* remove dos opportunityNiels Provos2005-08-301-0/+4
| | | | svn:r180
* support for arrays on structs.Niels Provos2005-08-281-11/+261
| | | | svn:r178
* a few more bug fixesNiels Provos2005-08-271-15/+33
| | | | svn:r177
* constifyNiels Provos2005-08-261-13/+14
| | | | svn:r176
* fix API problems for get in some typesNiels Provos2005-08-231-4/+23
| | | | svn:r175
* typoNiels Provos2005-08-221-2/+2
| | | | svn:r174
* make use of the built in warn/err codeNiels Provos2005-08-221-4/+11
| | | | svn:r173
* including the tagging code that is required by event_rpcgen.py; test theNiels Provos2005-08-221-18/+41
| | | | | | | new functionality. svn:r172
* generate marshalling code based on libeventNiels Provos2005-08-211-0/+1056
svn:r171