summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* Add definition of int64_t (required by gcc 4.4.1)Gordon Sim2009-09-301-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820252 13f79535-47bb-0310-9956-ffa450edef68
* Revised set of source files and library names for QMF; matches earlier ↵Stephen D. Huston2009-09-291-42/+45
| | | | | | changes to qmf.mk. Fixes QPID-2119 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820131 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-2108Rajith Muditha Attapattu2009-09-292-10/+10
| | | | | | | | | I was initially setting the qpid.max_count and qpid.max_size as strings instead of ints as expected by the API. I also incorrectly fetched them as strings on the broker side. This commit fixes acl.py test script to use int values for the above properties and then fetches them appropriately from the broker side. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@820082 13f79535-47bb-0310-9956-ffa450edef68
* Fix dependencies so python client used by tests is built before tests.Alan Conway2009-09-291-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819994 13f79535-47bb-0310-9956-ffa450edef68
* I have applied the patch attached to QPID-2108 from Tim Platten with a few ↵Rajith Muditha Attapattu2009-09-294-49/+214
| | | | | | | | | | | modifications. (Please refer to the JIRA for a description of these modifications) I also fixed the formatting and added more debug loggging for the publish acl lookup method in AclData.cpp I also added test cases to cover QPID-2108 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819948 13f79535-47bb-0310-9956-ffa450edef68
* QMF Engine updates:Ted Ross2009-09-2912-55/+201
| | | | | | | | | - Connected console handler callbacks - Added string representations for a number of object classes - Added a feature that completes query requests sent to disconnected agents git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819819 13f79535-47bb-0310-9956-ffa450edef68
* Fix python tests to work in VPATH builds and for make distcheck.Alan Conway2009-09-2815-101/+135
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819738 13f79535-47bb-0310-9956-ffa450edef68
* Transient flow-to-disk messages switched to store from BDB. Only ↵Kim van der Riet2009-09-283-4/+8
| | | | | | single-queue transient messages are handled at this point, multi-queue bindings are blocked under all circumstances to prevent routing order dependencies from making the outcome inconsistent. BZ525813 - "Move Flow to disk from BDB to journal" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819600 13f79535-47bb-0310-9956-ffa450edef68
* r817742 (the fix for QPID-2102), introduced a deadlock and a race condition ↵Gordon Sim2009-09-282-26/+30
| | | | | | | | | into flow-to-disk behaviour, fixed by this checkin. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819524 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2102: Changed QueuePolicy to rely on external locking and require ↵Gordon Sim2009-09-285-37/+22
| | | | | | | | | | dequeues to be handled by policy user rather. (r817742 introduced a deadlock in ring queue policy which this checkin fixes) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819505 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up issues with distribution.Ted Ross2009-09-271-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819370 13f79535-47bb-0310-9956-ffa450edef68
* Backed out a broker change that was unintentionally carried along in another ↵Ted Ross2009-09-251-1/+1
| | | | | | commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818996 13f79535-47bb-0310-9956-ffa450edef68
* QMF updates:Ted Ross2009-09-2537-1540/+332
| | | | | | | | | | | | - Refactored into two namespaces: 1) 'qmf' for the public QMF api (c++) 2) 'qmf::engine' for the public engine API (used for language bindings) - Added object and first_object calls to Console (in Ruby) - Made objects call compatible with the kwarg arguments used in the older API - Added to_s functions to classes that needed them git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818994 13f79535-47bb-0310-9956-ffa450edef68
* Exchange route() refactorization that eliminates common code in each of the ↵Kim van der Riet2009-09-257-142/+67
| | | | | | Exchange subclass route() methods. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818935 13f79535-47bb-0310-9956-ffa450edef68
* Use struct/class consistentlyStephen D. Huston2009-09-247-49/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818347 13f79535-47bb-0310-9956-ffa450edef68
* Fix to allow python testing stuff to build outside source treeAndrew Stitcher2009-09-231-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818246 13f79535-47bb-0310-9956-ffa450edef68
* This patch requires svn 817742, corrects the lock issue for ring queue in ↵Carl C. Trieloff2009-09-235-24/+58
| | | | | | 817742, and protects replication when used together with flow to disk git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818244 13f79535-47bb-0310-9956-ffa450edef68
* rhs's new system for python allows us to build python testMichael Goulish2009-09-2312-27/+34
| | | | | | | | | | | | | | | | code that is appropriate for the installed python version, and place the code at any desired location. This is a big improvement in making the builds automatically adapt to different OSs. From src/tests/Makefile.am, I am calling his gadget to create the code, and placing it all in PYTHON_DIR/temp. Then altering the paths in a bunch of test scripts to point to the right places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818020 13f79535-47bb-0310-9956-ffa450edef68
* Attempt to clean up a warning about violating aliasing rules.Ted Ross2009-09-231-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817949 13f79535-47bb-0310-9956-ffa450edef68
* QMF updates:Ted Ross2009-09-224-7/+20
| | | | | | | | | | - Added "sendUserId" option (defaults to true) to QMF connection settings - Implemented the user-id function using "negotiatedSettings" from qpid::client::Connection - Fixed a sign-extension bug in Value - Added tests for all of the above git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817813 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2112 - C++ Client: Facility needed for app to extract the user-ID in ↵Ted Ross2009-09-226-0/+29
| | | | | | use for a connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817770 13f79535-47bb-0310-9956-ffa450edef68
* Minor update to allow store access to the message isPersistent() method. ↵Kim van der Riet2009-09-224-4/+6
| | | | | | This is required for correctly setting the transient flag. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817748 13f79535-47bb-0310-9956-ffa450edef68
* Joint checkin from gsim, kpvdr, cctrieloff. See QPID-2102: Exceeding reject ↵Kim van der Riet2009-09-2219-192/+631
| | | | | | queue policy under a transaction causes broker crash git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817742 13f79535-47bb-0310-9956-ffa450edef68
* Make the AsynchIO API more consistentAndrew Stitcher2009-09-225-10/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817711 13f79535-47bb-0310-9956-ffa450edef68
* More namespace cleaningAndrew Stitcher2009-09-211-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817396 13f79535-47bb-0310-9956-ffa450edef68
* Added Ruby test infrastructure and Console tests in RubyTed Ross2009-09-216-11/+58
| | | | | | | | | | Fixed issues identified by the new tests: - Improper formatting of object-id in get-query - Remote (non-broker-resident) agents not visible to the console - object.update() and object.merge() not implemented git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817312 13f79535-47bb-0310-9956-ffa450edef68
* Enabled some tests that were unintentionally disabled.Alan Conway2009-09-181-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816781 13f79535-47bb-0310-9956-ffa450edef68
* Refactored the QMF engine to adhere to the following rules regardingTed Ross2009-09-1825-500/+572
| | | | | | | | | | | | | | | | the pimpl (Pointer to Implementation) pattern: 1) Impl classes have constructors matching the public constructors 2) Additional Impl constructors are accessed through a static factory function 3) All linkages to objects are to the public object 4) If a back-link (from Impl to public) is needed, the Impl class must be derived from boost::noncopyable 5) All public classes have non-default copy constructors that make a copy of the Impl class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816770 13f79535-47bb-0310-9956-ffa450edef68
* Rearrange readCredit logic for correctnessAndrew Stitcher2009-09-181-14/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816763 13f79535-47bb-0310-9956-ffa450edef68
* Rolling back my recent change 816715. These script changes don't work with ↵Michael Goulish2009-09-1812-35/+27
| | | | | | the RH "Ptolemy" build system. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816731 13f79535-47bb-0310-9956-ffa450edef68
* rhs's new system for python allows us to build python testMichael Goulish2009-09-1812-27/+35
| | | | | | | | | | | | | | | | code that is appropriate for the installed python version, and place the code at any desired location. This is a big improvement in making the builds automatically adapt to different OSs. From src/tests/Makefile.am, I am calling his gadget to create the code, and placing it all in PYTHON_DIR/temp. Then altering the paths in a bunch of test scripts to point to the right places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816715 13f79535-47bb-0310-9956-ffa450edef68
* Add console control handler to properly shut down broker on ^C et al; fixes ↵Stephen D. Huston2009-09-171-0/+9
| | | | | | QPID-2109 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816348 13f79535-47bb-0310-9956-ffa450edef68
* QMF ConsoleTed Ross2009-09-1713-1397/+1478
| | | | | | | | | - Added implementation for method invocation - Added metaprogramming hooks in Ruby for attribute and method access - Refactored file structure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816345 13f79535-47bb-0310-9956-ffa450edef68
* backing out change r815804 -- didn't test with clustering turned on.Michael Goulish2009-09-1612-26/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@815923 13f79535-47bb-0310-9956-ffa450edef68
* Path fix for recent checkin of Python changes.Michael Goulish2009-09-161-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@815912 13f79535-47bb-0310-9956-ffa450edef68
* Use qpid::sys::sleep() instead of naked sleep(); fixes build error on WindowsStephen D. Huston2009-09-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@815876 13f79535-47bb-0310-9956-ffa450edef68
* rhs's new system for python allows us to build python testMichael Goulish2009-09-1612-13/+20
| | | | | | | | | | | | | | | code that is appropriate for the installed python version, and place the code at any desired location. This is a big improvement in making the builds automatically adapt to different OSs. From src/tests/Makefile.am, I am calling his gadget to create the code, and placing it all in PYTHON_DIR/temp. Then altering the paths in a bunch of test scripts to point to the right places. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@815804 13f79535-47bb-0310-9956-ffa450edef68
* QMF Console updated to the point where query (get_object) is supported.Ted Ross2009-09-1516-246/+676
| | | | | | | The Ruby binding continues to track the c++ engine progress. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@815416 13f79535-47bb-0310-9956-ffa450edef68
* Reversed checkin of r.813825 until its problems can be resolvedKim van der Riet2009-09-1423-526/+411
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814692 13f79535-47bb-0310-9956-ffa450edef68
* Added available and pendingAck properties to Receiver; added capacity and ↵Gordon Sim2009-09-1422-140/+512
| | | | | | pending properties to Sender. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814562 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrect file nameGordon Sim2009-09-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814539 13f79535-47bb-0310-9956-ffa450edef68
* Organized the tests to cover both allow and deny mode for particular caseRajith Muditha Attapattu2009-09-111-33/+259
| | | | | | | | Added more tests cases to exchange , particularly to cover QPID-2098 Fixed errors in test cases for queue acl git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814077 13f79535-47bb-0310-9956-ffa450edef68
* Minor fix from r.814021Kim van der Riet2009-09-111-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814043 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrect test for quorum status.Alan Conway2009-09-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814021 13f79535-47bb-0310-9956-ffa450edef68
* Fix for signed-unsigned mismatch in testKim van der Riet2009-09-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814020 13f79535-47bb-0310-9956-ffa450edef68
* This commit contains the followingRajith Muditha Attapattu2009-09-116-164/+327
| | | | | | | | | | 1. Applying patches from Tim Platten attched to QPID-2062 and QPID-2063 2. Fixed QPID-2098 3. Added test cases for QPID-2062 and QPID-2063 4. Added more user friendly logging for ACL rule processing and lookup methods. In debug mode the logging should now provide more visibility into how rules are evaluated. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813850 13f79535-47bb-0310-9956-ffa450edef68
* Joint checkin with cctrieloff. Refactor of exchange routing so that ↵Kim van der Riet2009-09-1123-412/+537
| | | | | | multi-queue policy differences may be resolved and allow for correct multi-queue flow-to-disk behavior. Different queues may have differing policies and persistence properties - these were previously being neglected. New c++ test added. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813825 13f79535-47bb-0310-9956-ffa450edef68
* Fixed wrong namespace placement in previous check inAndrew Stitcher2009-09-091-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813123 13f79535-47bb-0310-9956-ffa450edef68
* Fix QPID-2086, hang of federated_cluster_test_with_node_failure.Alan Conway2009-09-091-1/+9
| | | | | | | cluster::Connection did not give read credit if there was an exception processing a frame. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813100 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up namespace usageAndrew Stitcher2009-09-0993-971/+1423
| | | | | | Miscelleneous whitespace fixes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813094 13f79535-47bb-0310-9956-ffa450edef68