summaryrefslogtreecommitdiff
path: root/qpid/python
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-885: patch from Ted RossNuno Santos2008-03-281-0/+342
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@642375 13f79535-47bb-0310-9956-ffa450edef68
* QPID-883: applying patch supplied by Ted RossNuno Santos2008-03-274-17/+207
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@641976 13f79535-47bb-0310-9956-ffa450edef68
* Update to dtx inline with latest spec:Gordon Sim2008-03-265-259/+276
| | | | | | | | | | | | * Updated dtx handling in c++ broker to take account of separation of completion and acceptance. * Added final dtx method defs to extra xml fragment and implemented appropriate handlers in c++ broker. * Converted dtx python tests (recover test still requires some work on decoding arrays). * Allow creation of structs without type codes through a python session method. * Fixed exception handling in python client for commands with results. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@641464 13f79535-47bb-0310-9956-ffa450edef68
* QPID-877: applied patch from Ted RossNuno Santos2008-03-252-38/+107
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@640970 13f79535-47bb-0310-9956-ffa450edef68
* Made dom query results addable per QPID-870.Rafael H. Schloming2008-03-221-1/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@640117 13f79535-47bb-0310-9956-ffa450edef68
* Scope exclusive queues to sessions.Gordon Sim2008-03-174-33/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@637854 13f79535-47bb-0310-9956-ffa450edef68
* Enabled tx methods on final 0-10 path and converted tests accordinglyGordon Sim2008-03-115-123/+143
| | | | | | | | Added read/write- uuid to codec010 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@636121 13f79535-47bb-0310-9956-ffa450edef68
* Converted some more testsGordon Sim2008-03-112-17/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@635995 13f79535-47bb-0310-9956-ffa450edef68
* Fixed headers exchange to allow unbind using binding key and not argsGordon Sim2008-03-115-85/+77
| | | | | | | | Converted alternate exchange python tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@635976 13f79535-47bb-0310-9956-ffa450edef68
* added convenience API for turning on logging; added logging for controls and ↵Rafael H. Schloming2008-03-1110-29/+73
| | | | | | commands; made logging prettier git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@635939 13f79535-47bb-0310-9956-ffa450edef68
* Fixed broker to take application headers from final format ↵Gordon Sim2008-03-112-25/+20
| | | | | | | | | | | message-properties struct Fixed headers exchange to recognise x-match even if sent as a string other than 32 bit sized Converted remaining python exchange tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@635898 13f79535-47bb-0310-9956-ffa450edef68
* fixed datatypes.Struct.type -> datatypes.Struct._type rename omitted from ↵Rafael H. Schloming2008-03-101-1/+1
| | | | | | server010 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@635672 13f79535-47bb-0310-9956-ffa450edef68
* renamed datatypes.Struct.type -> datatypes.Struct._type; this avoids naming ↵Rafael H. Schloming2008-03-1011-73/+89
| | | | | | conflicts with metadata-driven fields; moved argument validation -> datatypes.Struct and improved error checking; improved datatypes.Struct.__repr__ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@635660 13f79535-47bb-0310-9956-ffa450edef68
* Adjusted exception handling in c++ for final 0-10 path.Gordon Sim2008-03-102-39/+37
| | | | | | | | Converted some more tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@635618 13f79535-47bb-0310-9956-ffa450edef68
* added support for mapsRafael H. Schloming2008-03-075-10/+116
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634803 13f79535-47bb-0310-9956-ffa450edef68
* Added acquire impl to final 0-10 codepathGordon Sim2008-03-075-30/+53
| | | | | | | | Converted some more python tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634780 13f79535-47bb-0310-9956-ffa450edef68
* send an empty frame for an empty segmentRafael H. Schloming2008-03-072-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634763 13f79535-47bb-0310-9956-ffa450edef68
* added session.sync(); session.auto_sync; made transfers not auto-complete; ↵Rafael H. Schloming2008-03-0711-17/+126
| | | | | | fixed bug in RangedSet git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634744 13f79535-47bb-0310-9956-ffa450edef68
* Converted some more tests to use new clientGordon Sim2008-03-075-93/+201
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634729 13f79535-47bb-0310-9956-ffa450edef68
* added timeouts to hello-010-world; switched to conditions rather than events ↵Rafael H. Schloming2008-03-077-34/+104
| | | | | | for handling connection/session state; handle session exceptions git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634678 13f79535-47bb-0310-9956-ffa450edef68
* Altered management of delivery records to support separateion of completion ↵Gordon Sim2008-03-073-63/+63
| | | | | | | | | | (which drives flow control) and acceptance. Converted flow control python tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634661 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to c++ broker:Gordon Sim2008-03-065-419/+426
| | | | | | | | | | | | | - use final version of delivery properties where appropriate - start sequence numbering of outgoing messages at 0 - explicit accept-mode is now 0 (no more confirm-mode) - add default initialisers for numeric fields in methods Converted some more python tests to use final 0-10 client. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634368 13f79535-47bb-0310-9956-ffa450edef68
* preliminary support for message headersRafael H. Schloming2008-03-063-4/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634289 13f79535-47bb-0310-9956-ffa450edef68
* added codec for sequence_set; added id to Message; RangeSet -> RangedSet; ↵Rafael H. Schloming2008-03-066-29/+57
| | | | | | added RangedSet.add(lower, upper) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634255 13f79535-47bb-0310-9956-ffa450edef68
* Fix message delivery for 0-10 final codepathGordon Sim2008-03-062-7/+2
| | | | | | | | Convert two more python tests to use 0-10 client git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634229 13f79535-47bb-0310-9956-ffa450edef68
* forked python tests for 0-10 preview and 0-10 finalGordon Sim2008-03-0520-177/+3469
| | | | | | | | | | | fixed result handling in c++ broker modified testlib in python to allow new 0-10 client to be run as well converted query tests for final 0-10 added python tests for 0-10 final to automated set for c++ broker (most unconverted still) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@634003 13f79535-47bb-0310-9956-ffa450edef68
* added incoming queues for messages; altered session dispatch to send entire ↵Rafael H. Schloming2008-03-057-47/+124
| | | | | | assembly to a single handler; added logging switch for hello-010-world git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@633861 13f79535-47bb-0310-9956-ffa450edef68
* added frame-end back as a temporary workaround for C++; added a timeout to ↵Rafael H. Schloming2008-03-052-1/+7
| | | | | | the hello-010-world session open git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@633820 13f79535-47bb-0310-9956-ffa450edef68
* added logging; fixed deprecation warnings in old codec; filled in ↵Rafael H. Schloming2008-03-055-9/+35
| | | | | | datatypes.Message git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@633815 13f79535-47bb-0310-9956-ffa450edef68
* check the mtime of the cached spec against the code that generates itRafael H. Schloming2008-03-042-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@633623 13f79535-47bb-0310-9956-ffa450edef68
* import of in-process 0-10 final python clientRafael H. Schloming2008-03-0419-0/+2267
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@633610 13f79535-47bb-0310-9956-ffa450edef68
* QPID-820 from trossCarl C. Trieloff2008-02-284-296/+473
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@632087 13f79535-47bb-0310-9956-ffa450edef68
* improved error messageRafael H. Schloming2008-02-271-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@631657 13f79535-47bb-0310-9956-ffa450edef68
* put queue listeners in their own threadRafael H. Schloming2008-02-252-39/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@631002 13f79535-47bb-0310-9956-ffa450edef68
* Start moving towards final 0-10 spec:Gordon Sim2008-02-213-5/+11
| | | | | | | | | | | | | * marked preview spec as 99-0 to distinguish it from 0-10 (which will now be used for the final version) * modified python client to treat 99-0 as 0-10 for now * modified broker to have two paths for the two different versions: 99-0 uses PreviewConnection, PreviewConnectionHandler and PreviewSessionHandler which are straight copy & pastes of the Connection, ConnectionHandler and SessionHandler now associated with 0-10 (so we can migrate the 0-10 path to the final spec without affecting clients working with the preview version) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@629883 13f79535-47bb-0310-9956-ffa450edef68
* Requests to release a message that has not been acquired should be ignored.Gordon Sim2008-02-181-0/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@628659 13f79535-47bb-0310-9956-ffa450edef68
* Updated c++ and python fanout examples and verify scripts.Alan Conway2008-02-154-102/+91
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@628169 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug in browsing that failed to deal correctly with 'gaps' in message ↵Gordon Sim2008-02-141-0/+43
| | | | | | sequence. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@627718 13f79535-47bb-0310-9956-ffa450edef68
* Fix errors in verify scripts.Alan Conway2008-02-114-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@620619 13f79535-47bb-0310-9956-ffa450edef68
* whitespace cleanupRafael H. Schloming2008-02-081-34/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@620011 13f79535-47bb-0310-9956-ffa450edef68
* Refactored verify scripts, added verify for python Examples.Alan Conway2008-02-0820-27/+147
| | | | | | | | | | | | | | To verify an example: <qpid-trunk>/bin/verify <example-dir> See comments in bin/verify for more details. Changes: - Each example dir has its own verify script and verify.in. - Added sys.stdout.flush() to som python examples so verify can tell when they're ready. - Made python examples svn:executable. - C++ examples/Makefile.am runs python examples git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@619903 13f79535-47bb-0310-9956-ffa450edef68
* Changd name of alternate_exchange.Alan Conway2008-01-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@615912 13f79535-47bb-0310-9956-ffa450edef68
* added imports to test module __init__.pysRafael H. Schloming2008-01-243-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@614968 13f79535-47bb-0310-9956-ffa450edef68
* removed management.py.rej, which had been checked in by mistakeNuno Santos2008-01-231-457/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@614638 13f79535-47bb-0310-9956-ffa450edef68
* fixed python dependence on the content-length attribute (bz 419371)Rafael H. Schloming2008-01-183-11/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@613211 13f79535-47bb-0310-9956-ffa450edef68
* Qpid-745Arnaud Simon2008-01-189-21/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@613126 13f79535-47bb-0310-9956-ffa450edef68
* Set the exchange field in delivery properties on the broker.Gordon Sim2008-01-171-1/+1
| | | | | | | | (required an adjustment to the size of messages in the bytes based credit test) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612805 13f79535-47bb-0310-9956-ffa450edef68
* Patch from https://issues.apache.org/jira/browse/QPID-722 by Ted Ross:Alan Conway2008-01-071-12/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two changes in this patch: 1) Management object IDs are now persistent for persistent (durable) objects. This is required to provide continuity of historical management data across broker restarts. The format of object IDs now indicates whether they are transient or persistent. The upper bit (bit 63) is 0 for transient IDs and 1 for persistent IDs. 2) Changes have been made to the management code generator in preparation for allowing it to be used by outside projects that wish to use the broker Plugin API for management access. File-by-file notes: M python/mgmt-cli/managementdata.py Enhanced user-friendly display of 64-bit object IDs to differentiate between persistent IDs and non-persistent IDs. M cpp/src/Makefile.am Changed command line format for call to the management code generator. M cpp/src/qpid/broker/Broker.cpp M cpp/src/qpid/broker/Vhost.cpp M cpp/src/qpid/broker/Queue.cpp Updated calls to ManagementAgent::addObject to use the new support for persistent IDs, ensuring that the management object IDs for persistent objects are themselves persistent. M cpp/src/qpid/management/ManagementAgent.h M cpp/src/qpid/management/ManagementAgent.cpp Added support (using defaulted arguments) to ManagementAgent::addObject for persistent object IDs M cpp/managementgen/generate.py M cpp/managementgen/schema.py M cpp/managementgen/main.py Added the ability for templates to set variables to be used during code generation. Makefile fragment is now generated using a template rather than hard-code. This was done to help non-qpid code to use the code generator for management-via-qpid support. M cpp/managementgen/templates/Args.h M cpp/managementgen/templates/Class.cpp M cpp/managementgen/templates/Class.h Use a generator variable to define the comment prefix. A cpp/managementgen/templates/Makefile.mk New template for the qpid makefile fragment. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@609672 13f79535-47bb-0310-9956-ffa450edef68
* patch-715 (tross)Carl C. Trieloff2008-01-023-49/+158
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608135 13f79535-47bb-0310-9956-ffa450edef68
* Further renames as suggested by jrobie@redhat.comGordon Sim2007-12-205-1/+173
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@605975 13f79535-47bb-0310-9956-ffa450edef68