summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
Commit message (Collapse)AuthorAgeFilesLines
* QPID-1904: Ensure that all timestamp uses are correctly relative to 1/1/1970 ↵Andrew Stitcher2010-04-237-22/+13
| | | | | | | | | | epoch. - Removed the hacky way to access the internal time value in AbsTime now that there is a defined AbsTime value EPOCH. - Changed all the code to use Duration(EPOCH, abtime) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937147 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2523Rajith Muditha Attapattu2010-04-232-6/+20
| | | | | | | I added a mutex to protect the boost shared pointer assignments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937120 13f79535-47bb-0310-9956-ffa450edef68
* Changed from using arrays to using vectors.Rajith Muditha Attapattu2010-04-235-78/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937119 13f79535-47bb-0310-9956-ffa450edef68
* QMF: correct the build of exception response messages.Kenneth Anthony Giusti2010-04-221-16/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1811: Applied patch from Andrey Kotrekhov with more portableAndrew Stitcher2010-04-221-20/+35
| | | | | | code to enumerate the IP addresses of the local network interfaces git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936610 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2527: Remove Thread::id member as its uses are better implemented by ↵Andrew Stitcher2010-04-214-15/+39
| | | | | | | | comparison operators. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936537 13f79535-47bb-0310-9956-ffa450edef68
* - Hold up tearing down client I/O threads until there are no moreAndrew Stitcher2010-04-211-1/+8
| | | | | | | connections active. - Don't create more client I/O threads than connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936309 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2521Rajith Muditha Attapattu2010-04-201-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@936028 13f79535-47bb-0310-9956-ffa450edef68
* QMF: fix object name separator, use native bool typeKenneth Anthony Giusti2010-04-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935961 13f79535-47bb-0310-9956-ffa450edef68
* Add store test executions if building the store module. Add trigger on ↵Stephen D. Huston2010-04-191-0/+16
| | | | | | messageMap table deletes to remove orphaned messages from message table; part of QPID-2420. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935710 13f79535-47bb-0310-9956-ffa450edef68
* QMF: Add timestamps to generated V2 objectsKenneth Anthony Giusti2010-04-193-23/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935704 13f79535-47bb-0310-9956-ffa450edef68
* Fix g++ compile warning-turned-errorStephen D. Huston2010-04-191-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935595 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that ConnectionImpl is notified of shutdown even in the case of ↵Gordon Sim2010-04-191-1/+7
| | | | | | disconnect (which needs different handling than eof) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935473 13f79535-47bb-0310-9956-ffa450edef68
* An alternative attempt at ensuring ConnectionImpl is not deleted before IO ↵Gordon Sim2010-04-173-36/+41
| | | | | | thread is finished with it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935275 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-2420 to correctly handle restoring and commit/abort prepared ↵Stephen D. Huston2010-04-1618-262/+899
| | | | | | | | transactions. The basic approach is documented in QPID-2420. This also makes improvements in the way changes are done to the tblMessageMap table which should perform much better, avoiding pulling the whole table into the broker just to add or edit or delete a single record. Also, some of the consistency checks and enforcements are moved into the database itself from the C++ code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935068 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problems with the broker's QMFv2 mode:Ted Ross2010-04-166-12/+27
| | | | | | | | | | - app_id is a message property, not an application header - even in v2 mode, the agent must respond to v1 schema requests - missing object_id was added to the periodic data updates - epoch/boot-sequence added to agent information (locate-response, heartbeat) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935044 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that ConnectionImpl is notified of shutdown even in the case of ↵Gordon Sim2010-04-162-1/+7
| | | | | | disconnect (which needs different handling than eof) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935017 13f79535-47bb-0310-9956-ffa450edef68
* Fix unreferenced local variable warnings.Stephen D. Huston2010-04-151-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934650 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2507: drop the userLock before calling exchange->route()Kenneth Anthony Giusti2010-04-152-77/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2511: Altered shutdown sequence in connectors; after connect() has ↵Gordon Sim2010-04-155-48/+73
| | | | | | returned there will always now be a shutdown callback made and only at that point is it guaranteed that there will be no further io callbacks. ConnectionImpl consequently waits for this before allowing itself to be deleted. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934503 13f79535-47bb-0310-9956-ffa450edef68
* Implementation of QPID-2509 (Remove message staging from C++ broker)Kim van der Riet2010-04-158-46/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@934463 13f79535-47bb-0310-9956-ffa450edef68
* Tidy up unnecessary includes in ConnectionSettings and fix consequencesGordon Sim2010-04-144-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933971 13f79535-47bb-0310-9956-ffa450edef68
* Fix url parsing to make hostname requiredGordon Sim2010-04-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933970 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: more specific exception handling (avoids reconnecting for invalid url)Gordon Sim2010-04-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933924 13f79535-47bb-0310-9956-ffa450edef68
* Remove final vestiges of old client API references from messaging and agent ↵Andrew Stitcher2010-04-142-1/+19
| | | | | | header files git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933842 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-2470 - Broker does not honour flow-to-disk policy on recoveryKim van der Riet2010-04-138-8/+46
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933711 13f79535-47bb-0310-9956-ffa450edef68
* Simplified the vaidate method using for_each to make it more readable.Rajith Muditha Attapattu2010-04-122-49/+56
| | | | | | | Also renamed AclProperty to PropertyType to avoid any confusion with acl::Property. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933417 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed option verifier to use constants rather than duplicating ↵Gordon Sim2010-04-121-17/+18
| | | | | | string literals; added a test to make sure all valid options are allowed and illegal ones are not git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933330 13f79535-47bb-0310-9956-ffa450edef68
* Added missing newline at end of the fileTed Ross2010-04-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933217 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: removed explicit throw() clauseGordon Sim2010-04-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@933176 13f79535-47bb-0310-9956-ffa450edef68
* Small fixes to get recent management changes to compile under Visual ↵Andrew Stitcher2010-04-091-1/+4
| | | | | | Studio/Windows git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2497: added some verification that address options specified are validGordon Sim2010-04-091-3/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2489 - Added wrapped version of Mutex to isolate QMF-generated source ↵Ted Ross2010-04-094-49/+78
| | | | | | from boost. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932517 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed pending to unsettled; added available to sender; minor ↵Gordon Sim2010-04-0912-42/+43
| | | | | | update to address doc git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed connect() back to open(),removed detach(),defined new ↵Gordon Sim2010-04-0916-103/+261
| | | | | | exception hierarchy, added ability to re-use reconnect/replay logic for resource-limit-exceeded errors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932451 13f79535-47bb-0310-9956-ffa450edef68
* Adding virtual destructors.Rajith Muditha Attapattu2010-04-091-0/+3
| | | | | | | The virtual dtor warning is not given on fedora 11 but is on rhel5, so I missed it the first time around. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2489 - Remove references to boost:: and qpid::framing:: from ↵Ted Ross2010-04-092-0/+117
| | | | | | | | | | | QMF-generated cpp files Added a wrapper class for framing::Buffer in the qpid::management namespace. This wrapper class has no reference to framing or boost and is now used in the generated C++ code to encode QMFv1 content. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932236 13f79535-47bb-0310-9956-ffa450edef68
* Committing the patch attached to QPID-2488Rajith Muditha Attapattu2010-04-083-0/+227
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932148 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2487: always save the origin, even if queue is already boundKenneth Anthony Giusti2010-04-084-1/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: changed open() to connect(), moved url parameter to constructor, ↵Gordon Sim2010-04-085-18/+28
| | | | | | added detach() and isConnected() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931852 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: set content-type on encoded messages, removed some duplication and ↵Gordon Sim2010-04-081-32/+41
| | | | | | added in a typedef to codecs that may be useful git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931851 13f79535-47bb-0310-9956-ffa450edef68
* Remove some clunky accessors for AbsTime on Windows and replace by making ↵Andrew Stitcher2010-04-081-4/+0
| | | | | | | | Condition a friend class of AbsTime. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931783 13f79535-47bb-0310-9956-ffa450edef68
* Changed the recent AbsTime::Epoch code to conform better to the previouslyAndrew Stitcher2010-04-082-6/+11
| | | | | | | | existing code. Fixed AbsTime to compile on Windows again. Removed unused and seemingly extraneous serialize() code from AbsTime. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931782 13f79535-47bb-0310-9956-ffa450edef68
* Improved fix for to create client library Poller. Improved because itAndrew Stitcher2010-04-083-11/+14
| | | | | | is now created at first need rather than library load. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931781 13f79535-47bb-0310-9956-ffa450edef68
* Use read-write lock to imporve Logger concurrency.Alan Conway2010-04-071-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931682 13f79535-47bb-0310-9956-ffa450edef68
* Added AbsTime::epoch()) constant to Time.h to provide a portable reference ↵Alan Conway2010-04-072-0/+6
| | | | | | time point. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: removed flush, added option to make sync non-blocking if so desiredGordon Sim2010-04-076-34/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931651 13f79535-47bb-0310-9956-ffa450edef68
* Be sure not to back off the beginning of rules in loadDecisionData(). ↵Stephen D. Huston2010-04-061-130/+139
| | | | | | | | Resolves QPID-2474. Also replaced tabs with spaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931345 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: added method to release messagesGordon Sim2010-04-064-0/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2482: prevent duplication of messages that match multiple binding keys ↵Kenneth Anthony Giusti2010-04-061-2/+9
| | | | | | on a topic exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931257 13f79535-47bb-0310-9956-ffa450edef68