summaryrefslogtreecommitdiff
path: root/python/qpid
Commit message (Collapse)AuthorAgeFilesLines
* QPID-979: added convenience accessors for headersRafael H. Schloming2008-05-071-1/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654158 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1033: made loading of the spec file not fail if the results cannot be ↵Rafael H. Schloming2008-05-061-3/+11
| | | | | | cached, e.g. due to an unwritable directory git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653875 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1031Rajith Muditha Attapattu2008-05-061-1/+5
| | | | | | | I added read/write methods for datetime that calls int64. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@653830 13f79535-47bb-0310-9956-ffa450edef68
* applying Ted Ross's patch to handle unicode encoding and management message ↵Nuno Santos2008-05-011-25/+26
| | | | | | ordering issues git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652535 13f79535-47bb-0310-9956-ffa450edef68
* QPID-988 and QPID-989: fixes to framing for final 0-10 specGordon Sim2008-04-302-7/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652386 13f79535-47bb-0310-9956-ffa450edef68
* QPID-979: added backwards compatible uuid to qpid.datatypesRafael H. Schloming2008-04-291-1/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@652086 13f79535-47bb-0310-9956-ffa450edef68
* QPID-953 from trossCarl C. Trieloff2008-04-242-6/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651290 13f79535-47bb-0310-9956-ffa450edef68
* Add support for reading 0-10 arrays; Set sync bit on session header for ↵Gordon Sim2008-04-232-1/+9
| | | | | | commands sent with auto_sync on. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650875 13f79535-47bb-0310-9956-ffa450edef68
* QPID-948: patch from Ted Ross for updated management utilities to 0-10 finalRafael H. Schloming2008-04-221-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650604 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: update cpp and python management to 0-10 finalRafael H. Schloming2008-04-2216-1270/+1327
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650565 13f79535-47bb-0310-9956-ffa450edef68
* From Ted Ross: https://issues.apache.org/jira/browse/QPID-934 Alan Conway2008-04-181-2/+7
| | | | | | | This patch fixes a problem related to multiple management sessions run over the same AMQP session (typically seen in test environments). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@649554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-921: applied qpid-patch36.diff on behalf of Ted RossNuno Santos2008-04-152-17/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@648308 13f79535-47bb-0310-9956-ffa450edef68
* * Fix interpretation of accept-mode, 0 == EXPLICITGordon Sim2008-04-141-0/+3
| | | | | | | | * Ensure accepts are taken into account in command sequence git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@647999 13f79535-47bb-0310-9956-ffa450edef68
* Use the errata file for final 0-10 that has a type code for xids without ↵Gordon Sim2008-04-141-0/+2
| | | | | | | | | | which dtx.recover can't work. Return the indoubt xids as an array of struct32s each of which contains an encoded xid. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@647903 13f79535-47bb-0310-9956-ffa450edef68
* fixed encode/decode of structs in command/control arguments to include the ↵Rafael H. Schloming2008-04-142-4/+9
| | | | | | type code when specified git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@647887 13f79535-47bb-0310-9956-ffa450edef68
* QPID-917: Use PLAIN (rather than the non-standard AMQPLAIN) as the SASL ↵Gordon Sim2008-04-141-1/+4
| | | | | | | | | mechanism when authenticating python test clients. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@647704 13f79535-47bb-0310-9956-ffa450edef68
* QPID-913: committed patch from tross@redhat.comGordon Sim2008-04-112-0/+698
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@647099 13f79535-47bb-0310-9956-ffa450edef68
* QPID-908 from trossCarl C. Trieloff2008-04-081-3/+3
| | | | | | | | | + corrected spec location -s. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646093 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Ted Ross: QPID-907: Management Improvements for C++ Broker and StoreKim van der Riet2008-04-081-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646045 13f79535-47bb-0310-9956-ffa450edef68
* Re-introduced old 'no-local' behaviour for exclusive queues via a ↵Gordon Sim2008-03-311-0/+7
| | | | | | proprietary arg to queue.declare. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@642981 13f79535-47bb-0310-9956-ffa450edef68
* QPID-883: applying patch supplied by Ted RossNuno Santos2008-03-271-15/+116
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@641976 13f79535-47bb-0310-9956-ffa450edef68
* Update to dtx inline with latest spec:Gordon Sim2008-03-263-2/+8
| | | | | | | | | | | | * 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/qpid@641464 13f79535-47bb-0310-9956-ffa450edef68
* QPID-877: applied patch from Ted RossNuno Santos2008-03-251-37/+100
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@640970 13f79535-47bb-0310-9956-ffa450edef68
* Enabled tx methods on final 0-10 path and converted tests accordinglyGordon Sim2008-03-112-0/+12
| | | | | | | | Added read/write- uuid to codec010 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@636121 13f79535-47bb-0310-9956-ffa450edef68
* Fixed headers exchange to allow unbind using binding key and not argsGordon Sim2008-03-111-1/+1
| | | | | | | | Converted alternate exchange python tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@635976 13f79535-47bb-0310-9956-ffa450edef68
* added convenience API for turning on logging; added logging for controls and ↵Rafael H. Schloming2008-03-117-15/+58
| | | | | | commands; made logging prettier git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@635939 13f79535-47bb-0310-9956-ffa450edef68
* renamed datatypes.Struct.type -> datatypes.Struct._type; this avoids naming ↵Rafael H. Schloming2008-03-107-63/+75
| | | | | | 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/qpid@635660 13f79535-47bb-0310-9956-ffa450edef68
* added support for mapsRafael H. Schloming2008-03-073-10/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634803 13f79535-47bb-0310-9956-ffa450edef68
* Added acquire impl to final 0-10 codepathGordon Sim2008-03-071-1/+1
| | | | | | | | Converted some more python tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634780 13f79535-47bb-0310-9956-ffa450edef68
* send an empty frame for an empty segmentRafael H. Schloming2008-03-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634763 13f79535-47bb-0310-9956-ffa450edef68
* added session.sync(); session.auto_sync; made transfers not auto-complete; ↵Rafael H. Schloming2008-03-075-16/+86
| | | | | | fixed bug in RangedSet git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634744 13f79535-47bb-0310-9956-ffa450edef68
* added timeouts to hello-010-world; switched to conditions rather than events ↵Rafael H. Schloming2008-03-076-30/+100
| | | | | | for handling connection/session state; handle session exceptions git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634678 13f79535-47bb-0310-9956-ffa450edef68
* preliminary support for message headersRafael H. Schloming2008-03-061-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634289 13f79535-47bb-0310-9956-ffa450edef68
* added codec for sequence_set; added id to Message; RangeSet -> RangedSet; ↵Rafael H. Schloming2008-03-063-21/+40
| | | | | | added RangedSet.add(lower, upper) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634255 13f79535-47bb-0310-9956-ffa450edef68
* forked python tests for 0-10 preview and 0-10 finalGordon Sim2008-03-052-13/+44
| | | | | | | | | | | 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/qpid@634003 13f79535-47bb-0310-9956-ffa450edef68
* added incoming queues for messages; altered session dispatch to send entire ↵Rafael H. Schloming2008-03-054-31/+94
| | | | | | assembly to a single handler; added logging switch for hello-010-world git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633861 13f79535-47bb-0310-9956-ffa450edef68
* added frame-end back as a temporary workaround for C++; added a timeout to ↵Rafael H. Schloming2008-03-051-0/+6
| | | | | | the hello-010-world session open git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633820 13f79535-47bb-0310-9956-ffa450edef68
* added logging; fixed deprecation warnings in old codec; filled in ↵Rafael H. Schloming2008-03-054-9/+31
| | | | | | datatypes.Message git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@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/qpid@633623 13f79535-47bb-0310-9956-ffa450edef68
* import of in-process 0-10 final python clientRafael H. Schloming2008-03-0411-0/+1747
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633610 13f79535-47bb-0310-9956-ffa450edef68
* QPID-820 from trossCarl C. Trieloff2008-02-282-230/+353
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@632087 13f79535-47bb-0310-9956-ffa450edef68
* put queue listeners in their own threadRafael H. Schloming2008-02-251-16/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@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/qpid@629883 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/qpid@614638 13f79535-47bb-0310-9956-ffa450edef68
* fixed python dependence on the content-length attribute (bz 419371)Rafael H. Schloming2008-01-182-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@613211 13f79535-47bb-0310-9956-ffa450edef68
* patch-715 (tross)Carl C. Trieloff2008-01-021-15/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@608135 13f79535-47bb-0310-9956-ffa450edef68
* patch from tross Carl C. Trieloff2007-12-141-5/+7
| | | | | | | | | | | QPID-706 Added implementation for the "Call" command to invoke methods on management objects. Fixed a bug in qpid/management.py caused by replies to methods with no arguments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@604286 13f79535-47bb-0310-9956-ffa450edef68
* Patches from Ted Ross <tross@redhat.com>Alan Conway2007-12-102-60/+636
| | | | | | | | | | | | | | | | | | | QPID-697 Fixed access-rights constants for management schema. Added mutex to fix problems associated with concurrent invocation of accessors for queue statistics. Removed queue schema content that is not relevant to QPID. QPID-698 This patch creates a new subdirectory in python called "mgmt-cli". python/mgmt-cli/main.py can be executed from the shell. If no arguments are supplied, it attempts to connect to the broker at localhost:5672. The first argument is the hostname for the target broker and the second (optional) argument is the TCP port (defaults to 5672). It is assumed that the AMQP spec file is in the following location: /usr/share/amqp/amqp.0-10-preview.xml It is also required that the qpid/python directory be in the PYTHONPATH environment variable. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@603034 13f79535-47bb-0310-9956-ffa450edef68
* removed warnings on duplicate constants, the issue will go away with 0-10 finalRafael H. Schloming2007-12-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@601112 13f79535-47bb-0310-9956-ffa450edef68
* QPID-687: comitted qpid-patch7-python.diff for real this time.Alan Conway2007-11-152-74/+190
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@595465 13f79535-47bb-0310-9956-ffa450edef68