event_rpcgen.py


Log

Author Commit Date CI Message
Nick Mathewson a826a758 2009-07-28T19:41:48 Some tweaks to Brodie Thesfield's MSVC patch. svn:r1386
Nick Mathewson 5d71b25b 2009-07-17T18:38:38 Remove all trailing whitespace from end-of-line. svn:r1350
Niels Provos 6469598e 2009-07-03T17:43:26 Allow C identifiers as struct names; allow multiple comments in .rpc files; from Zack Weinberg; plus a tiny tweak svn:r1336
Niels Provos fbb181d1 2009-07-03T17:31:17 Allow specifying the output filename for rpcgen; based on work by jmansion; patch from Zack Weinberg. svn:r1335
Niels Provos bbcc54ef 2009-07-03T17:25:45 fix preamble of rpcgen-generated files to rely on event2 includes; based on work by jmansion; patch from Zack Weinberg. svn:r1334
Niels Provos 37d3e16c 2009-07-03T17:20:56 Raise RpcGenError in event_rpcgen.py; from jmanison and Zack Weinberg svn:r1333
Niels Provos b228ff91 2009-04-25T00:15:31 remove vararg macros for accessing evrpc structs svn:r1243
Nick Mathewson 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
Nick Mathewson a8f6d961 2009-04-17T06:56:09 Actually stop using EVBUFFER_LENGTH/DATA, and move them to buffer_compat.h svn:r1183
Nick Mathewson 9993137c 2009-01-27T21:10:31 Remove all trailing whitespace in all the source files. svn:r1063
Niels Provos 99a1063e 2008-06-21T02:21:25 support 64-bit integers in rpc structs svn:r856
Nick Mathewson bb37fbb2 2008-05-05T15:45:47 r19601@catbus: nickm | 2008-05-05 11:45:04 -0400 Make event_rpcgen.py use the new headers. svn:r775
Niels Provos 812d2fd8 2008-04-03T14:27:01 proxy one more generator svn:r701
Niels Provos a7e39551 2008-04-03T03:33:07 slight refactoring svn:r700
Niels Provos d5c15b2e 2008-03-03T03:36:51 make event_rpcgen.py generate code include event-config.h svn:r686
Niels Provos 5c70ea4c 2008-02-28T02:47:43 improved code for evbuffer; avoids memcpy svn:r674
Nick Mathewson 11230f7e 2008-02-18T20:04:01 r18145@catbus: nickm | 2008-02-18 15:02:20 -0500 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
Niels Provos 616a64c8 2007-12-27T20:08:21 additional add argument was missing const qualifier svn:r615
Niels Provos 7e3a7af7 2007-12-24T23:59:41 support string arrays in event_rpcgen svn:r613
Niels Provos 68725dc8 2007-12-23T07:38:11 support integer arrays in rpc structures; this involved some refactoring of the event_rpcgen code, so that other types should be able to get arrays fairly easily svn:r609
Niels Provos 85053473 2007-12-13T06:36:54 fix a bug with event_rpcgen for integers svn:r588
Niels Provos 3b345f3e 2007-12-12T07:02:55 pull setters/getters out of RPC structures to reduce their memory footprint svn:r585
Niels Provos ba487199 2007-12-12T04:39:42 support for 32-bit tag numbers in rpc structures svn:r583
Niels Provos 3c1a6a68 2007-09-23T03:49:28 first attempts at refactoring this code to make it more readable; mostly changing to dictionaries for format strings svn:r450
Niels Provos 640c61ba 2007-09-15T00:53:47 deal with out of memory situations for realloc svn:r429
Niels Provos babd622f 2007-09-09T03:10:16 make allocating array members in event_rpcgen more efficient, but doubling the size of available slots every time we run out. svn:r421
Nick Mathewson 35983cd6 2007-08-16T21:12:53 r14618@catbus: nickm | 2007-08-16 17:11:47 -0400 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
Niels Provos b15d715c 2007-07-06T03:36:31 make event_rpcgen.py use the uint_ types; make event.h include stdint.h (wonder which OS that will break) svn:r369
Niels Provos c1aa5480 2006-11-26T16:13:17 support #define in .rpc descriptions svn:r278
Niels Provos 3a15f7d4 2006-11-19T02:03:43 make it work with python2.2 svn:r267
Niels Provos 226fd50a 2006-11-18T21:27:42 use more python builtins; dont use reserved keywords svn:r266
Niels Provos ebf5333f 2006-05-17T13:13:31 oops. the enums were actually creating symbols svn:r212
Niels Provos a3bb4a03 2006-01-22T05:08:50 I often need some very simple HTTP functionality, so this is a first stab 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
Niels Provos 50f7aaef 2005-09-09T06:56:12 make it compile on mac os x svn:r183
Niels Provos 7000fe66 2005-08-30T06:02:09 remove dos opportunity svn:r180
Niels Provos b4ab56dc 2005-08-28T23:48:16 support for arrays on structs. svn:r178
Niels Provos 32acc283 2005-08-27T06:29:52 a few more bug fixes svn:r177
Niels Provos 2813f1b0 2005-08-26T02:15:54 constify svn:r176
Niels Provos aaf56fb6 2005-08-23T07:43:11 fix API problems for get in some types svn:r175
Niels Provos 6e55da60 2005-08-22T01:39:54 typo svn:r174
Niels Provos e5ab86a7 2005-08-22T01:38:23 make use of the built in warn/err code svn:r173
Niels Provos c4e60994 2005-08-22T01:34:34 including the tagging code that is required by event_rpcgen.py; test the new functionality. svn:r172
Niels Provos 949cbd12 2005-08-21T16:25:02 generate marshalling code based on libevent svn:r171