Commit Graph

187 Commits

Author SHA1 Message Date
Alexandru Scvortov 2c6c2887b0 added pubAck.deselect-ok 2010-08-10 15:54:50 +01:00
Alexandru Scvortov 81e792505a puback -> pubAck 2010-08-10 15:31:52 +01:00
Alexandru Scvortov d715381af2 added Publisher Acks class and methods
This introduces one new class and two new methods within said class.

> puback
>   class-id: 85
>
>   puback.select{many : bit}
>     put the channel into one of the two publisher ack modes, namely
>     "ack publisher messages as soon as they arrive" or "let them
>     pile up a bit and ack many messages at once"; this cannot be
>     called on a transacted channel
>
>   puback.deselect{}
>     handle any outstanding acks, put the channel back in the normal
>     mode, then return
2010-08-10 15:12:09 +01:00
Matthias Radestock 0659342d94 add unexpected_frame error code to 0-8 spec
we agreed we'd use the same error codes across version, but somehow
missed this one.
2010-07-30 19:46:01 +01:00
Matthias Radestock 966c8fdb36 merge bug22889 into default 2010-07-30 15:18:24 +01:00
Matthias Radestock a4aa0d556b revert gratuitous change 2010-07-09 17:08:00 +01:00
Simon MacMullen d8123867d6 Make acc win in domains_merger. 2010-07-07 16:07:45 +01:00
Simon MacMullen 23e5d9ff50 Revert these two merges to new into old, I can't remember why I swapped them round and it makes things rather clearer this way. 2010-07-07 14:42:46 +01:00
Simon MacMullen 0e14045eaf Merging bug22901 into 22889. 2010-07-07 13:43:58 +01:00
Simon MacMullen 5fa3fbf1a7 More renaming :) 2010-07-07 13:43:36 +01:00
Simon MacMullen 487f64894f Merged bug22901 into bug22889. 2010-07-07 13:06:50 +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 861db4aeba Merge bug22901 2010-07-05 17:47:30 +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 e7635893f7 Merged bug22901 into bug22889 2010-07-05 16:41:29 +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 6929c42ecc Merge bug 22901 into bug 22889. 2010-07-05 16:09:50 +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 fba4fd20d0 Restart bug 22889 2010-07-05 16:06:13 +01:00
Simon MacMullen 60df6cd41a Merge bug 22901 2010-07-05 15:19:08 +01:00
Simon MacMullen bd9fef9680 Add --allow-overwrite command line switch. 2010-07-05 15:18:46 +01:00
Simon MacMullen 96a7dbea0d Major and minor are integers, revision should be too. 2010-07-02 17:42:58 +01:00
Simon MacMullen 42ad999d1d Rename JSON files, and merge the 0-8 extensions back into our main 0-8 file. 2010-07-02 14:25:08 +01:00
Simon MacMullen 8afa5424a2 Remove close08 hack, and remove deprecated- prefix everywhere so it will merge with 0-8. 2010-06-24 16:11:58 +01:00
Simon MacMullen cc35c0fdf4 Merged bug 22901 2010-06-24 15:26:46 +01:00
Simon MacMullen a10c0c6247 Merge everything, don't die on conflicts. 2010-06-24 15:26:11 +01:00
Simon MacMullen f9ecfbf546 Revert the lie that this file is 0-8 2010-06-24 13:36:14 +01:00
Simon MacMullen 34cc3d2287 Re-add 0-8 JSON for the clients. 2010-06-24 12:54:50 +01:00
Simon MacMullen e6b7a73ff9 Claim to be 0-8 for the time being. This needs to be stripped out though. 2010-06-23 16:21:13 +01:00
Simon MacMullen 44e7a7c972 Remove 0-8 specific JSON and use the unified one. 2010-06-23 15:41:02 +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
Hubert Plociniczak 0a03379584 Removed license needed by json.py since it was removed 2008-09-04 18:30:14 +01:00
Hubert Plociniczak 10364dec73 Removed json.py, it will be added as a dependency 2008-09-04 17:09:31 +01:00
Tony Garnock-Jones 28f82ebe55 Merge bug17070 into default 2008-08-28 09:39:33 +01:00
Matthias Radestock 222c1cc208 correct a few defaults, based on Tony's comments
- there is no sensible default value for the reply-code in basic.return
- '*.reject' should default requeue to 'true' so we don't throw away
messages by default
2008-08-27 10:54:55 +01:00
Matthias Radestock c7bf3d841b fewer defaults - based on Tony's feedback
- we consider MRDQ to be a mis-feature, so we shouldn't use defaults
that bring it into play
- it is illegal to bind to the default exchange, so we shouldn't make
that the default
- routing-keys should be specified in most cases, so no point having a
default of ""
- it makes no sense to have an empty queue name in 'deliver', and
'declare-ok'.
2008-08-27 10:22:00 +01:00
Matthias Radestock c5877ca42e merge bug17070 into default 2008-08-26 20:48:28 +01:00
Matthias Radestock 4648f344e5 squash tiny bug 2008-08-26 20:47:54 +01:00
Matthias Radestock 876bff2356 add a few empty-table defaults 2008-08-26 20:29:54 +01:00
Matthias Radestock 952435a1ff more default values
also changed a few defaults to more sensible settings
2008-08-26 19:26:08 +01:00
Karol Skocik 196ae05011 added more default values 2008-08-26 15:11:18 +01:00
Karol Skocik 17f516262e unquote default values, so they became Python objects after JSON parsing 2008-08-08 15:35:11 +01:00
Tony Garnock-Jones c7ca7d9be7 Migrate .hgignore from umbrella 2008-07-08 12:18:00 +01:00
Tony Garnock-Jones a41fc5ad04 Migrate branch bug17070 2008-07-03 13:45:32 +01:00
Tony Garnock-Jones 5aa63a26a1 Initial commit, from repo-rebase-20080703121916_default (e96543d904a2) 2008-07-03 13:35:10 +01:00