summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Use the errata file for final 0-10 that has a type code for xids without ↵Gordon Sim2008-04-145-11/+26
| | | | | | | | | | 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
* QPID-648: keep the sasl_conn member in the handler to avoid the need for ↵Gordon Sim2008-04-144-32/+29
| | | | | | friend declaration git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@647800 13f79535-47bb-0310-9956-ffa450edef68
* QPID-648: Initial support for sasl authentication for c++ broker. From patch ↵Gordon Sim2008-04-148-6/+132
| | | | | | | | | | | | | submitted by mfarrellee@redhat.com. Authentication is optional at compile time (based on user selection or availability of cyrus sasl libs) and at runtime (through broker config option). Note: At present the runtime default is to not authenticate; this is a temporary measure to give some time for any automation scripts etc to be updated and will revert shortly to be on by default. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@647716 13f79535-47bb-0310-9956-ffa450edef68
* amqp_0_10: Encoding for packed structs.Alan Conway2008-04-105-28/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646943 13f79535-47bb-0310-9956-ffa450edef68
* Minor change to format of log message when exception is thrownKim van der Riet2008-04-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646791 13f79535-47bb-0310-9956-ffa450edef68
* Use "Exception" instead of typeid.name() as default exception name.Alan Conway2008-04-101-1/+1
| | | | | | | Mangled type names are too confusing. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646783 13f79535-47bb-0310-9956-ffa450edef68
* Invocation handlers, see src/tests/amqp_0_10/handlers.cpp for example.Alan Conway2008-04-104-18/+169
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646778 13f79535-47bb-0310-9956-ffa450edef68
* Fixes and automated tests for federation function.Gordon Sim2008-04-096-11/+236
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646505 13f79535-47bb-0310-9956-ffa450edef68
* Handle the set-redelivered flag on the final version of the message.release ↵Gordon Sim2008-04-097-9/+12
| | | | | | command. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646452 13f79535-47bb-0310-9956-ffa450edef68
* Improved diagnostics in allSegmentTypes test.Alan Conway2008-04-091-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646376 13f79535-47bb-0310-9956-ffa450edef68
* Fix packaing problem with generated file allSegmentTypes.hAlan Conway2008-04-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646099 13f79535-47bb-0310-9956-ffa450edef68
* Summary: added 0-10 Array encoding and decoding.Alan Conway2008-04-0819-74/+360
| | | | | | | | | | | | | | | | | | | | | | | rubygen/0-10/allsegmenttypes.rb: test header,body and each command and control type. rubygen/0-10/specification.rb: enable packed encoding. src/qpid/amqp_0_10/Array.h: Implemented array and array domains. src/qpid/amqp_0_10/Codec.h: enable litte-endian encoding for pack bits src/qpid/amqp_0_10/Packer.h: use litte-endian encoding for pack bits src/qpid/amqp_0_10/Unit.cpp, .h: setting flags, fix op <<. src/qpid/amqp_0_10/complex_types.cpp, .h: added op << src/qpid/framing/Blob.h: copy-object template constructor. src/tests/amqp_0_10/serialize.cpp: - test Array Minor adjustments for new Array.h: src/qpid/amqp_0_10/Map.cpp src/qpid/amqp_0_10/Map.h src/qpid/amqp_0_10/UnknownType.h src/qpid/amqp_0_10/built_in_types.h src/qpid/amqp_0_10/Body.h git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646054 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Ted Ross: QPID-907: Management Improvements for C++ Broker and StoreKim van der Riet2008-04-0816-26/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@646045 13f79535-47bb-0310-9956-ffa450edef68
* QPID-903: changed read-write lock to mutex (currently recursive) to avoid ↵Gordon Sim2008-04-082-5/+5
| | | | | | deadlocking when adding bridge. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645951 13f79535-47bb-0310-9956-ffa450edef68
* Removed out-of-date and misleading comment.Gordon Sim2008-04-081-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645826 13f79535-47bb-0310-9956-ffa450edef68
* Fixed compilation error from ignored qualifier on function return type.Gordon Sim2008-04-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645804 13f79535-47bb-0310-9956-ffa450edef68
* src/qpid/amqp_0_10/Body.h, Header.h: placeholders.Alan Conway2008-04-0713-429/+454
| | | | | | | | | src/qpid/amqp_0_10/Unit.h,.cpp - Decode "units" - command/control/header segments or body frames. Equivalent to preview AMQFrame class. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645733 13f79535-47bb-0310-9956-ffa450edef68
* rubygen/0-10/specification.rbAlan Conway2008-04-075-150/+0
| | | | | | | | | | | - operator << for generated types. - src/tests/amqp_0_10/serialize.cpp src/qpid/BoundedIterator.h, .cpp - removed unused file git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645699 13f79535-47bb-0310-9956-ffa450edef68
* Fixed time classes for some changes that misunderstood how they are supposedAndrew Stitcher2008-04-074-27/+48
| | | | | | | to be used (and documented them better to hopefully avoid this in the future) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645685 13f79535-47bb-0310-9956-ffa450edef68
* Fix rhel5 build errors.Alan Conway2008-04-072-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645670 13f79535-47bb-0310-9956-ffa450edef68
* Missing from last commit.Alan Conway2008-04-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645664 13f79535-47bb-0310-9956-ffa450edef68
* Encoding/decoding for packed structs and optional members.Alan Conway2008-04-075-95/+204
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645663 13f79535-47bb-0310-9956-ffa450edef68
* AsynchIoAcceptor.cpp: Limit output from codec to one buffer per 'idle' call.Gordon Sim2008-04-072-2/+3
| | | | | | | | PreviewConnectionCodec: Generate output frames for encoding while available and while they can fit in the buffer given git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@645470 13f79535-47bb-0310-9956-ffa450edef68
* src/qpid/amqp_0_10/Exception.hAlan Conway2008-04-045-7/+190
| | | | | | | | | - base classes for 0-10 exceptions rubygen/0-10/exceptions.rb - generated 0-10 exceptions git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644917 13f79535-47bb-0310-9956-ffa450edef68
* Minor cleanup of base Exception and python_tests script.Alan Conway2008-04-043-35/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644845 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Ted Ross (see QPID-902): This patch contains the following ↵Kim van der Riet2008-04-045-38/+43
| | | | | | improvements for management:\n1) Schema display cleaned up in the python mgmt-cli\n2) Locking added automatically to management object accessors (manual locking removed from broker/Queue.cpp)\n3) Schemas are now pre-registered with the management agent using a package initializer. This allows management consoles to get schema information for a class even if no instances of the class exist. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644806 13f79535-47bb-0310-9956-ffa450edef68
* src/qpid/amqp_0_10/Assembly.cpp,.h:Alan Conway2008-04-045-161/+12
| | | | | | | | | - remove unused class. src/qpid/Serializer.h, src/qpid/amqp_0_10/Map.h: - Enforce map Size limits using serializer. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644727 13f79535-47bb-0310-9956-ffa450edef68
* qpid/Serializer.h, qpid/amqp_0_10/Codec.h:Alan Conway2008-04-036-12/+109
| | | | | | | | | - serializer enforces overrunning encode/decode limits. tests/amqp_0_10: Moved unit tests for amqp_0_10 namespace into amqp_0_10 directory. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644533 13f79535-47bb-0310-9956-ffa450edef68
* rubygen/0-10/exceptions.rb:Alan Conway2008-04-032-4/+5
| | | | | | | | | | | | | | - generate exception classes for each error code, e.g. InvalidArgumentException rubygen/0-10/specification.rb - extracted specification_fwd.h from specification.h, contains consts enums, typedefs and forward declarations of classes. src/qpid/amqp_0_10/Map.cpp, src/qpid/broker/SessionAdapter.cpp: - updated to use exceptions.h git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644461 13f79535-47bb-0310-9956-ffa450edef68
* src/qpid/amqp_0_10/Map.h,.cpp: use preview encoding temporarily.Alan Conway2008-04-039-115/+129
| | | | | | | Misc cleanup for 0-10 encoding. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644413 13f79535-47bb-0310-9956-ffa450edef68
* amqp_0_10/built_in_types.hAlan Conway2008-04-036-54/+167
| | | | | | | | | | | | | | - generic Wrapper template for making distinct types. - added Bit - bool wrapper with empty encode/decode. amqp_0_10/complex_types.h: - Added constants SIZE=0, PACK=2 to Action base class. amqp_0_10/PackedCodec.h: - Decode packed struct fields according to the packing bits. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644308 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Ted Ross (see QPID-893): This patch enables management of ↵Kim van der Riet2008-04-035-12/+26
| | | | | | plugged-in store modules. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644287 13f79535-47bb-0310-9956-ffa450edef68
* Fix serialize test failure on 64 bit architerctures.Alan Conway2008-04-033-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644125 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error on rhel5.Alan Conway2008-04-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@644005 13f79535-47bb-0310-9956-ffa450edef68
* Encoding/decoding for new types: amqp_0_10::Map, amqp_0_10:UnknownTypeAlan Conway2008-04-0212-53/+622
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643995 13f79535-47bb-0310-9956-ffa450edef68
* Fixed logger warning on F9.Alan Conway2008-04-022-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643957 13f79535-47bb-0310-9956-ffa450edef68
* Fix gcc 4.3 warnings.Alan Conway2008-04-021-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643914 13f79535-47bb-0310-9956-ffa450edef68
* Fix gcc 4.3 warnings.Alan Conway2008-04-021-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643891 13f79535-47bb-0310-9956-ffa450edef68
* Further correction to transitional xml def for final 0-10 (using old schema)Gordon Sim2008-04-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643482 13f79535-47bb-0310-9956-ffa450edef68
* Added a dump method to buffer for debugging io (patch from rafaels@redhat.com)Gordon Sim2008-04-012-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643478 13f79535-47bb-0310-9956-ffa450edef68
* Fix some erroneous definitions in the transitional xml fragment for 0-10.Gordon Sim2008-04-012-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643472 13f79535-47bb-0310-9956-ffa450edef68
* Allow zero sized arrays (with no typecode or count)Gordon Sim2008-03-311-17/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643086 13f79535-47bb-0310-9956-ffa450edef68
* Updated xml fragment to reflect correct types for ↵Gordon Sim2008-03-316-5/+42
| | | | | | | | | | | | connection.start.mechanisms, connection.start.locales and connection.open.capabilities Updated connection handler in line with above changes Added Str16Value to FieldValues Allow Array instances of different types to be created git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@643067 13f79535-47bb-0310-9956-ffa450edef68
* Re-introduced old 'no-local' behaviour for exclusive queues via a ↵Gordon Sim2008-03-3112-8/+52
| | | | | | proprietary arg to queue.declare. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@642981 13f79535-47bb-0310-9956-ffa450edef68
* Prevent broker exit on receiving connection with invalid protocol version.Gordon Sim2008-03-311-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@642959 13f79535-47bb-0310-9956-ffa450edef68
* Prefer binding key for unbind if specified.Gordon Sim2008-03-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@642346 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused files.Alan Conway2008-03-275-419/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@641969 13f79535-47bb-0310-9956-ffa450edef68
* Send accept in response to message publications if required.Gordon Sim2008-03-2711-10/+284
| | | | | | | | Hold up completion (and accept) until message from transfer is fully enqueued. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@641929 13f79535-47bb-0310-9956-ffa450edef68
* Update to dtx inline with latest spec:Gordon Sim2008-03-2614-17/+313
| | | | | | | | | | | | * 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
* Removed unused class RefCountedMap.Alan Conway2008-03-261-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@641437 13f79535-47bb-0310-9956-ffa450edef68