summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/framing
Commit message (Collapse)AuthorAgeFilesLines
* QPID-2916: throw an exception when a data value cannot be encoded correctly ↵Kenneth Anthony Giusti2010-10-281-11/+32
| | | | | | as its type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1028501 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2670: copy-on-write when tagging message for loop detectionGordon Sim2010-06-152-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@954933 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2605: Fix to fragmentation logic for delivered messagesGordon Sim2010-05-171-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945048 13f79535-47bb-0310-9956-ffa450edef68
* This reverts r736810. In my testing (admittedly limited) I did not observe ↵Gordon Sim2010-05-142-33/+10
| | | | | | any benefot from the optimisation. It causes a bug where concurrent calls to the non-const getBody() method can result in the encodedSize() method returning 0. This has implications e.g. for store modules where the message size may be incorrectly reported resulting in buffer overruns. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@944329 13f79535-47bb-0310-9956-ffa450edef68
* Update cluster store status with a single atomic write() operation.Alan Conway2010-04-011-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@930055 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2452: Fixed control over the encoding used when sending a string valued ↵Gordon Sim2010-03-181-0/+15
| | | | | | variant. The user is currently responsible for correctly setting any encoding (e.g. utf8). If none is specified it will be transfered as an amqp0-10 vbin. Fixed bug preventing correct assignment of encoding in variants. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@924939 13f79535-47bb-0310-9956-ffa450edef68
* Removed unecessary include of Msg.h in Exception.hAndrew Stitcher2010-02-258-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@916453 13f79535-47bb-0310-9956-ffa450edef68
* I have added the license header to the files included in this commit.Rajith Muditha Attapattu2010-02-121-0/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@909641 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2323: add a Uuid type and allow it as the value of a Variant.Gordon Sim2010-01-151-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@899657 13f79535-47bb-0310-9956-ffa450edef68
* BodyHolder.cpp, .h removed. 0 bytes and no references to either one. ↵Stephen D. Huston2010-01-052-0/+0
| | | | | | Resolves QPID-2213. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@896256 13f79535-47bb-0310-9956-ffa450edef68
* Added handling of MAP values for the wrapped QMF interfaces.Ted Ross2010-01-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@896191 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2266: error sending update: Enqueue capacity threshold exceededAlan Conway2009-12-112-0/+11
| | | | | | | | | Fix for the problem with a test to verify that messages going to the store have the same headers and content-size for an updatee or a broker that receives the publish directly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@889813 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2245 QMF protocol changes will make 0.6 incompatible with 0.5Ted Ross2009-12-111-134/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@889619 13f79535-47bb-0310-9956-ffa450edef68
* Support for restarting a persistent cluster.Alan Conway2009-11-241-1/+1
| | | | | | | | | | | Option --cluster-size=N: members wait for N members before recovering store. Stores marked as clean/dirty. Automatically recover from clean store on restart. Stores marked with UUID to detect errors. Not yet implemented: consistency checks, manual recovery from all dirty stores. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@883842 13f79535-47bb-0310-9956-ffa450edef68
* Changes to compile under SunCC 5.10Andrew Stitcher2009-11-181-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881679 13f79535-47bb-0310-9956-ffa450edef68
* Integrated InitialStatusMap into cluster code.Alan Conway2009-11-171-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881423 13f79535-47bb-0310-9956-ffa450edef68
* Remove extraneous space from exception message.Stephen D. Huston2009-10-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@831160 13f79535-47bb-0310-9956-ffa450edef68
* Working towards abstracting away the cross platform uuid mess:Andrew Stitcher2009-08-311-0/+31
| | | | | | | * Stop including indirectly from uuid.h in qpid/framing/Uuid.h and move inline definitions there into the implementation file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@809781 13f79535-47bb-0310-9956-ffa450edef68
* Fixed distcheck target, broken by my last commit.Gordon Sim2009-08-201-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@806237 13f79535-47bb-0310-9956-ffa450edef68
* Add List class to handle encoding of AMQP 0-10 list type.Gordon Sim2009-08-203-7/+126
| | | | | | | | Fill out accessors for different FieldValue types. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@806162 13f79535-47bb-0310-9956-ffa450edef68
* Removed spurious code in AMQFrame::~AMQFrame.Alan Conway2009-08-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803656 13f79535-47bb-0310-9956-ffa450edef68
* Optimized handling of accepts and completions.Alan Conway2009-08-121-0/+51
| | | | | | | | | | SemanticState::accept/completed now make a single pass through the SequenceSet of commands and the unacked DeliveryRecord list in parallel, rather than doing a pass through unacked for every range in the SequenceSet. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@803655 13f79535-47bb-0310-9956-ffa450edef68
* Make AMQFrame::getMethod() safe on frames with no body.Alan Conway2009-07-311-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@799686 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'move_public_h_to_include' into trunkAlan Conway2009-07-1511-1137/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@794325 13f79535-47bb-0310-9956-ffa450edef68
* Add directory to #includeAlan Conway2009-07-1456-116/+116
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@793909 13f79535-47bb-0310-9956-ffa450edef68
* Fix out-of-range vector access; fixes QPID-1957Stephen D. Huston2009-06-261-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@788886 13f79535-47bb-0310-9956-ffa450edef68
* Added const to the Uuid constructor argument.Ted Ross2009-06-251-2/+2
| | | | | | | | | | | Without this, calls to Uuid with a const uint8_t* argument were matched by the compiler to the constructor with the boolean argument yielding no warnings but very unpredictable behavior (instead of initializing the Uuid to the initial value, it generated a random value). Also, minor cosmetic cleanup in ManagementAgent.cpp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@788521 13f79535-47bb-0310-9956-ffa450edef68
* Performance improvements in AggregateOutput and SemanticState.Alan Conway2009-06-162-78/+21
| | | | | | | | | | | | | | Replaced AggregateOutput hierarchy with a flat list per connection holding only the OutputTasks that are potentially active. Tasks are droped from the list as soon as they return false, and added back when they may have output. Inlined frequently-used SequenceNumber functions. Replace std::list in QueueListeners with std::vector. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@785408 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1786 - Committed qmf patches from Bryan KearneyTed Ross2009-06-112-1/+138
| | | | | | | | Additionally updated existing qmf and Qman to be compatible. The magic number for qmf messages has been incremented. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@783818 13f79535-47bb-0310-9956-ffa450edef68
* Patch small probs building tests, examples on WindowsStephen D. Huston2009-05-111-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@773714 13f79535-47bb-0310-9956-ffa450edef68
* Add --quit, --check for Windows; required fixing LockFile for WindowsStephen D. Huston2009-05-111-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@773712 13f79535-47bb-0310-9956-ffa450edef68
* Remove useless qpid/shared_ptr.h wrapper.Alan Conway2009-05-062-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@772294 13f79535-47bb-0310-9956-ffa450edef68
* Remove client::Execution and FrameSet from the public API.Alan Conway2009-05-062-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@772182 13f79535-47bb-0310-9956-ffa450edef68
* Added missing const clause for putBin128.Ted Ross2009-04-242-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@768355 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up some un-necessary #include dependencies.Alan Conway2009-04-151-2/+1
| | | | | | | Removed un-used LatencyMetric hack. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@765285 13f79535-47bb-0310-9956-ffa450edef68
* Changes to build DLLs instead of static libs on Windows; primarily added ↵Stephen D. Huston2009-03-1222-234/+256
| | | | | | decorators to exported names. Fixes QPID-1673 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@753014 13f79535-47bb-0310-9956-ffa450edef68
* Add missing #includes to build with gcc 4.4.Alan Conway2009-03-101-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@752092 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster TTL: replicte expiry information to newcomers.Alan Conway2009-03-092-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751760 13f79535-47bb-0310-9956-ffa450edef68
* Fixed race conditions in cluster.Alan Conway2009-03-081-1/+2
| | | | | | | | Execute all cluster logic in frameDeliverQueue thread, decoding only in eventDeliverQueue thread. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@751557 13f79535-47bb-0310-9956-ffa450edef68
* Complete change started by r749621: "Avoid use of std::vector::data(), not ↵Gordon Sim2009-03-031-1/+1
| | | | | | available on some platforms." git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749669 13f79535-47bb-0310-9956-ffa450edef68
* Avoid use of std::vector::data(), not available on some platforms.Alan Conway2009-03-031-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749621 13f79535-47bb-0310-9956-ffa450edef68
* Replicate connection decoder fragments to new members.Alan Conway2009-03-022-2/+19
| | | | | | | | | | | | Refactoring: - Merge Decoder into ConnectionMap. - Process cluster controls in event queue thread. - Use counter not pointer for connection ID, avoid re-use. - Do all processing in event queue thread to avoid races (temporary pending performance measurements) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@749473 13f79535-47bb-0310-9956-ffa450edef68
* Cluster support for message time-to-live.Alan Conway2009-02-092-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@742774 13f79535-47bb-0310-9956-ffa450edef68
* Replace assertion with exception.Alan Conway2009-01-231-8/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@737067 13f79535-47bb-0310-9956-ffa450edef68
* Optimization: cache results of AMQFrame::encodedSize().Alan Conway2009-01-222-10/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@736810 13f79535-47bb-0310-9956-ffa450edef68
* Removed BodyHolder: minor performance improvement, opens the way for more ↵Alan Conway2009-01-2216-399/+153
| | | | | | efficient memory management. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@736783 13f79535-47bb-0310-9956-ffa450edef68
* Additional latency measurement points.Alan Conway2009-01-211-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@736326 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1567: added 'exactly-once' guarantee to asynchronous replication of ↵Gordon Sim2009-01-202-2/+19
| | | | | | | | | | | | queue state * altered replication protocol to detect and eliminate duplicates * added support for acknowledged transfer over inter-broker bridges * added option to qpid-route to control this git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@736018 13f79535-47bb-0310-9956-ffa450edef68
* Fix encoding 0-length values; resolves QPID-1449Stephen D. Huston2008-12-231-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@729054 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1412 - c++ implementation of the QMF client APITed Ross2008-12-192-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@728132 13f79535-47bb-0310-9956-ffa450edef68