Commit Graph

64 Commits

Author SHA1 Message Date
Simon MacMullen 5fa3fbf1a7 More renaming :) 2010-07-07 13:43:36 +01:00
Simon MacMullen b6e6b01baf Stylistic changes: Rename old to acc, allow_overwrite to allow_accumulate, and o to merged. Add comment. Tweak usage message. 2010-07-07 13:03:24 +01:00
Simon MacMullen af25b5695c Remove accidental print statement 2010-07-05 17:30:21 +01:00
Simon MacMullen 4a5a3c0c13 ...and back out all those checks after discussion with Matthias. 2010-07-05 17:18:33 +01:00
Simon MacMullen 93096e13ae Refactor merge_dict_lists_by a bit. 2010-07-05 16:40:31 +01:00
Simon MacMullen 07d8aa56d1 Actually, default-value conflicts all over the place. 2010-07-05 16:34:01 +01:00
Simon MacMullen fd5af7eb9e Always break when there's
- a method argument defined with two different types or default values
2010-07-05 16:30:28 +01:00
Simon MacMullen 3ee744c477 Always break when there's
- a method with two different "synchronous" settings
2010-07-05 16:15:29 +01:00
Simon MacMullen 0427e055ba Always break when there's
- a domain defined with two different types
- a constant defined with two different values
- differences in properties signatures
2010-07-05 16:07:07 +01:00
Simon MacMullen bd9fef9680 Add --allow-overwrite command line switch. 2010-07-05 15:18:46 +01:00
Simon MacMullen a10c0c6247 Merge everything, don't die on conflicts. 2010-06-24 15:26:11 +01:00
Emile Joubert 6232b61fe5 Merged bug22864 into default 2010-06-22 17:28:48 +01:00
Tony Garnock-Jones 68a62e19d8 Update class records in-place 2010-06-21 22:49:50 +12:00
Alexandru Scvortov 5c72a777f2 xrange instead of range 2010-06-21 10:32:12 +01:00
Tony Garnock-Jones 6ddef67e2e Preserve ordering of constants, methods and classes 2010-06-21 14:44:33 +12:00
Simon MacMullen 56f6c4407f Put all our extensions in one file. 2010-06-17 13:05:30 +01:00
Simon MacMullen 98986c5421 Create an extension for synchronous basic.recover in 0-8. Also move queue.unbind in 0-8 to an extension since that's what it is. 2010-06-17 12:57:53 +01:00
Alexandru Scvortov 7b5be26842 updated docs 2010-06-11 07:17:14 +01:00
Alexandru Scvortov 2cc2af31ee amqp_codegen.py now supports an arbitrary number of functions 2010-06-03 16:11:31 +01:00
Alexandru Scvortov a815c3dde0 rabbit_framing_spec.hrl is now generated 2010-06-03 14:51:10 +01:00
Marek Majkowski 2c4850e41d bug22555 merged into default (synchronous is now True not 'true') 2010-05-28 18:03:12 +01:00
Tony Garnock-Jones 3e1daa6637 More documentation. 2010-05-23 23:11:06 +12:00
Tony Garnock-Jones e2b3041082 Documentation. 2010-05-23 22:56:49 +12:00
Tony Garnock-Jones 36035d82a7 Check for duplicate properties. 2010-05-23 22:55:52 +12:00
Matthew Sackman 5b45e992b0 "true" => true. This requires no changes elsewhere because the python json library which we're using in codegen seems to be able to cope with "true" and "false" as boolean values. 2010-04-01 14:12:24 +01:00
Tony Garnock-Jones e458b5bdb3 Move demo extension from rabbitmq-server to rabbitmq-codegen; start documentation 2009-10-19 13:36:42 +01:00
Tony Garnock-Jones b496184de1 Extensions mergers. 2009-10-07 16:11:54 +01:00
Tony Garnock-Jones 7f1137b69a Infrastructure for supporting piecewise spec extension. 2009-10-07 14:55:02 +01:00
Ben Hood 7ca539bfff Merged bug21493 into default 2009-08-26 14:19:07 +01:00
Paul Jones db97179e9b Added synchronous flag to json for methods that have an associated response 2009-08-26 12:11:47 +01:00
Matthias Radestock 6b5b8ffb82 add a few more default method arg values
and changed *.ack.multiple's default from true to false, which is the
more sensible (and less dangerous) default
2009-08-12 23:08:22 +01:00
David Wragg 77bd658abb Avoid try: ... except: ... finally: to syppoet python 2.4
Python 2.4 (as still used by RHEL 5) doesn't have this syntax.  You
have to nest a try: ... except: inside a try: ... finally: ...

Tested on Centos 5.
2009-05-08 16:17:07 +01:00
Hubert Plociniczak 5a72c5ebcd Write autogenerated code to file instead of to stdout.
To avoid generating incorrect code, remove the file on exception.
2009-01-09 19:05:59 +01:00
Hubert Plociniczak 23ed51ce65 More strict matching 2008-12-12 15:01:04 +00:00
Hubert Plociniczak 552f37bcc8 Use default regex type in find 2008-12-12 14:44:14 +00:00
Hubert Plociniczak 1052e77bae Added distclean target 2008-12-12 14:25:19 +00:00
Tony Garnock-Jones e150fc2e5a Advice about macports py25-simplejson 2008-12-10 21:18:36 +00:00
Matthias Radestock 6360be7e26 extend copyright year and cosmetic changes 2008-12-10 10:52:40 +00:00
Matthias Radestock f45c1c442e merge bug19845 into default 2008-12-10 10:49:00 +00:00
Tony Garnock-Jones b17673a5c0 Remove dots, for consistency 2008-12-09 15:58:17 +00:00
Tony Garnock-Jones 84ede90b1b Another tweak. 2008-12-09 15:23:49 +00:00
Tony Garnock-Jones e0321d0325 Update copyrights. 2008-12-09 14:47:40 +00:00
Tony Garnock-Jones 0026437a39 John has assigned his copyright in the specification JSON file to the
RabbitMQ team.
2008-12-08 18:28:50 +00:00
Tony Garnock-Jones 0948ae9bae Multiline strings are not permitted in JSON 2008-12-02 16:38:53 +00:00
Hubert Plociniczak e085151d7c Use simplejson.py API, move copyright info
since comments are not valid in json
2008-11-20 13:32:47 +00:00
Tony Garnock-Jones 88e870720b merge bug19250 into default 2008-10-30 14:10:55 +00:00
Matthias Radestock acd67e5e3b merge bug19332 into default 2008-10-12 17:35:36 +01:00
Hubert Plociniczak 04189c2322 Print error message when codegen cannot import json 2008-10-10 16:26:06 +01:00
Ben Hood e3c4c91087 Added queue.unbind method 2008-10-04 15:32:06 +01:00
Ben Hood 6309e8d93d Added default field to consume 2008-09-07 14:31:44 +01:00