summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5324: don't ignore unrecognised filter, throw exceptionGordon Sim2013-11-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1540794 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5328: not-acquired implies no accept neededGordon Sim2013-11-111-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1540676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5318: HA tests fail sporadically with "AttributeError: 'NoneType' ↵Alan Conway2013-11-081-2/+3
| | | | | | | | | object has no attribute 'name'" This was due to a race condition where a session was deleted while the QmfAgent was looking it up. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1540171 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5315: record persistence ids in paging file so they can be restored ↵Gordon Sim2013-11-081-2/+6
| | | | | | after paging out git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1540138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5314: exceptions should not contain full path for paging fileGordon Sim2013-11-082-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1540137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5312: make sure page is loaded before attempting to find message in itGordon Sim2013-11-082-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1540136 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5299: check access permissions before resolving nodeGordon Sim2013-11-083-6/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1540041 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5300: correct error condition for certain unauthorized access errorsGordon Sim2013-11-081-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1540040 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5309: don't set executable flag on page fileGordon Sim2013-11-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1540039 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5304: Alow this change to work with earlier versions of boostAndrew Stitcher2013-11-072-9/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1539777 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5308: Allow various bits of the test outputs to be XMLAndrew Stitcher2013-11-073-20/+51
| | | | | | | - This meshes nicely with the Jenkins CI system which can better display tests results generated in XML. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1539686 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4984: Minor fix for ambiguous comparison error on some compilersKim van der Riet2013-11-071-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1539680 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5306: Python isn't optional in build, so don't need to test for it.Andrew Stitcher2013-11-071-17/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1539511 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5306: Improve c++ tests some more:Andrew Stitcher2013-11-0713-569/+96
| | | | | | | | | | | | | | Add options to run_test script: --working-dir - run the test in this directory --build-dir - set the top of the build tree --source-dir - set the top of the source tree --python - run a python test --start-broker - start/stop broker before and after test --broker-options - allow non default broker options Remove a bunch of now obsolete testing related scripts git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1539510 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5305: Make legacystore fully initialise buffers to avoid undefinedAndrew Stitcher2013-11-071-31/+24
| | | | | | | | disk file contents (this silences a complaint from valgrind) NO-JIRA: Fix odd whitespace NO-JIRA: Remove unneeded include path mangling git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1539509 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5304: Allow c++ unit tests to run if XML_LIB env var not setAndrew Stitcher2013-11-071-4/+9
| | | | | | | (The tests for the xml exchange will obviously fail, but at least you can run anything else you might have been interested in) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1539505 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3502: Windows SslConnector memory error from unititialized dataClifford Allan Jansen2013-11-061-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1539474 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4984: WIP. Basic enqueue/dequeue/txns work, still no EFP recycling.Kim van der Riet2013-11-0428-924/+653
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538790 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5292: restore raising of connection event and setting of authIdentity ↵Gordon Sim2013-11-042-0/+13
| | | | | | on mgmt object git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538754 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5291: hook in specific connection properties to management schemaGordon Sim2013-11-041-1/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538753 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add cmake install command for linearstoreutils library.Alan Conway2013-11-041-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5290: fix exception thrown in PagedQueueGordon Sim2013-11-041-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538684 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5287: .NET binding does not set AssemblyVersion to build version.Charles E. Rolke2013-11-041-0/+2
| | | | | | | | | | The fix is 1. rename the AssemblyInfo.cpp to indicate that it is a template. 2. put replacement strings into the template (see sessionreceiver for correct pattern). 3. configure the template during cmake run. 4. Refer to generated file in projects that need it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538674 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5289: Improvements to error handling and reportingGordon Sim2013-11-042-2/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538658 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5277: remove install directive for qpidtGordon Sim2013-11-041-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5288: add checking for connection/session close before waiting on ↵Gordon Sim2013-11-041-2/+3
| | | | | | Sender::close() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538629 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5277: removed qpidt as qpid-config now offers similar functionalityGordon Sim2013-11-041-141/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538627 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: prevent scary error message when not actually appropriateGordon Sim2013-11-011-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5286: replenish credit when using getGordon Sim2013-11-012-6/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537985 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5284: ensure timestamp is added to the data that is persistedGordon Sim2013-11-0110-22/+37
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537889 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5283: ensure queue has no consumers before granting exclusive ownershipGordon Sim2013-10-312-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537579 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed reference to non-existent test.Alan Conway2013-10-311-2/+0
| | | | | | Removed test "NAME" from qpid/cpp/src/tests/legacystore/CMakeLists.txt. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537512 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5280: prevent bind/unbind of someone elses exclusive queueGordon Sim2013-10-314-6/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537498 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5279: test exclusivity checks in 1.0Gordon Sim2013-10-312-1/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537497 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5279: checks for exclusivity in linking to queueGordon Sim2013-10-311-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537496 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix compile errors in legacystore on older compilersAlan Conway2013-10-301-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5139: HA correct compile error on older C++ compilers.Alan Conway2013-10-305-13/+15
| | | | | | | - Added constructors for AsyncCompletion::Callback so subclasses can be copied. - Get rid of intrusive_ptr::reset git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537187 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5276: improve node resolution where specific capability is requestedGordon Sim2013-10-301-10/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537051 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4327: Include file moved to correct placeAndrew Stitcher2013-10-291-0/+106
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536903 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5237: Self-contained C++ source distributionAndrew Stitcher2013-10-292-62/+658
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536900 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5274: Create separate cmake file for windows-specific functions.Charles E. Rolke2013-10-292-127/+151
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536857 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5263: Allow boost versions less than 1.47 not to have Boost.chrono libraryAndrew Stitcher2013-10-291-15/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536853 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5139: Add missing EXTERN decl in TxBuffer.hAlan Conway2013-10-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536842 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5139: HA transactions block a thread, can deadlock the brokerAlan Conway2013-10-2918-216/+496
| | | | | | | | | | | | | | | | | | | | | PrimaryTxObserver::prepare used to block pending responses from each backup. With concurrent transactions this can deadlock the broker: once all worker threads are blocked in prepare, responses from backups cannot be received. This commit generalizes the async completion mechanism for messages to allow async completion of arbitrary commands. It leaves the special-case code for messages undisturbed but adds a second path (starting from SessionState::handleCommand) for async completion of other commands. In particular it implements tx.commit to allow async completion. TxBuffer is now an AsyncCompletion and commitLocal() is split into - startCommit() called by SemanticState::commit() - endCommit() called when the commit command completes TxAccept no longer holds pre-computed ranges, compute fresh each time. - Avoid range iterators going out of date during a delayed commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536754 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5139: Make TxBuffer inherit from AsyncCompletion.Alan Conway2013-10-2917-71/+76
| | | | | | Switched from shared_ptr to intrusive_ptr for TxBuffer and DtxBuffer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536752 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5139: Add unit test for deadlock caused by blocking HA commit.Alan Conway2013-10-292-4/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536751 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5263: Fix boost files on windows.Andrew Stitcher2013-10-281-58/+7
| | | | | | | | - As we no longer install any header files with boost dependencies we can stop shipping any boost includes files in the windows kit. - Install correct Boost DLLs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536332 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5261: Install DLLs and import Libs to more usual places for a windows SDKAndrew Stitcher2013-10-281-10/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536330 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5260: Significant tidy up of cmake buildAndrew Stitcher2013-10-286-104/+98
| | | | | | | | | | | | | | | | | | | | | * Move to cmake 2.6 as minimum required version (2.4 is extremely long in the tooth now) * Add control over building individual language bindings * Make settings you don't usually want to change advanced so they are hidden by default * Changed to a uniform naming scheme for options: ** Options controlling what to build are all BUILD_ ** Options controlling features of he build are ENABLE_ ** Options controlling internal aspects of the qpid runtime are QPID_ * Respect the BUILD_TESTING option so that we won't build the tests unless it is set (it is by default) * If we don't find the boost_unit_test_framework then don't fail, just don't build the unit tests (this is motivated by one of the Apache Jenkins ubuntu builders which has this set up) * Tidied up some of the detection of external dependencies to make it more idiomatic cmake (but there is more to do here) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4287: Poor performance when a priority queue with a ring queue policy ↵Alan Conway2013-10-253-18/+43
| | | | | | | | | | | has a large backlog LossyQueue::checkDepth was performing an unintended linear search of its messages when a new message was added at capacity. Since the messages are in priority order, only the tail message on the queue needs to be compared with the new message to determine which of them should be dropped. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1535803 13f79535-47bb-0310-9956-ffa450edef68