summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Erasing an iterator invalidates the iterator; changed the code to not ↵Stephen D. Huston2009-11-031-2/+5
| | | | | | dereference an iterator that was just deleted. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832233 13f79535-47bb-0310-9956-ffa450edef68
* Fix leak in SASL code, enable cluster ACL test.Alan Conway2009-11-022-9/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832134 13f79535-47bb-0310-9956-ffa450edef68
* Remove incorrect import.Alan Conway2009-11-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832085 13f79535-47bb-0310-9956-ffa450edef68
* Minor fix for testlib.py cluster testing scriptKim van der Riet2009-11-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832008 13f79535-47bb-0310-9956-ffa450edef68
* Changed ssl_test to use 127.0.0.1 instead of hostname and to regenerate ↵Gordon Sim2009-11-021-8/+19
| | | | | | certs every time (to avoid stale certs). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831846 13f79535-47bb-0310-9956-ffa450edef68
* Refer to struct/class consistently across files.Stephen D. Huston2009-10-302-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831483 13f79535-47bb-0310-9956-ffa450edef68
* Correct the macro used to detect DLL building to match the new target name ↵Stephen D. Huston2009-10-301-1/+1
| | | | | | changed in CMakeLists.txt a while back. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831482 13f79535-47bb-0310-9956-ffa450edef68
* Fix variable used to retrieve Boost include files for Windows kit.Stephen D. Huston2009-10-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831477 13f79535-47bb-0310-9956-ffa450edef68
* In broker, change RecoverableExchange[Impl]::bind() strings to const; they ↵Stephen D. Huston2009-10-307-58/+91
| | | | | | | | | | are never changed, and are only passed on to other methods that expect const strings. Makes it easier to work with from store. In SQL store, fix the deletion of multiple bindings at once. Also, change the tblBinding table to store queue persistenceIds instead of names. Helps keep referential integrity with the queue table. Restoring bindings then just needs to look up the queue name from its ID before restoring each binding. Fixes QPID-2169, and probably QPID-2170. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831476 13f79535-47bb-0310-9956-ffa450edef68
* Fix memory leak in testCoincidentErrors due to un-joined connector thread.Alan Conway2009-10-303-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831446 13f79535-47bb-0310-9956-ffa450edef68
* Add missing install rule for brokertest.pyAlan Conway2009-10-301-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831411 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2181 - Alternate exchange on queue is not visible in management toolsTed Ross2009-10-302-0/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831351 13f79535-47bb-0310-9956-ffa450edef68
* Python framework for tests that start multiple brokers.Alan Conway2009-10-303-5/+252
| | | | | | | | | | | | This is intended to become a general framework for python scripting tests that start multiple brokers and executable clients, e.g. cluster and federation tests. This framework is intended to replace testlib.py once there is equivalent test coverage from new-style tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831350 13f79535-47bb-0310-9956-ffa450edef68
* Ensure a client-side cursor is used, and change to static cursor to improve ↵Stephen D. Huston2009-10-302-2/+7
| | | | | | | | performance. When adding a new record that has a persistence ID, wait until after the Update to retrieve the new id from the new record. Fixes QPID-2168. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831167 13f79535-47bb-0310-9956-ffa450edef68
* Always include the hresult message if it's available.Stephen D. Huston2009-10-301-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831161 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/qpid@831160 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem of queue alternate-exchange property not being persisted on ↵Kim van der Riet2009-10-293-5/+21
| | | | | | persistent queues, and on recovery this property is lost. No tests exist as yet for this. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831082 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-2171 "No checks made for reserved exchange names "amq.*" and ↵Kim van der Riet2009-10-291-2/+2
| | | | | | "qpid.*". This checkin adds the qpid check, r.830751 added the amq check. Python tests also inlcuded which checks for these prefixes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830930 13f79535-47bb-0310-9956-ffa450edef68
* Added extra info to doxygen comments regarding use of ↵Gordon Sim2009-10-291-0/+6
| | | | | | SubscriptionManager::get(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830896 13f79535-47bb-0310-9956-ffa450edef68
* condrestart was mentioned in usage but not supported in case; made it a ↵Gordon Sim2009-10-291-1/+1
| | | | | | synonym for existing try-restart. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830879 13f79535-47bb-0310-9956-ffa450edef68
* Fixing a build failure in the examples code.Michael Goulish2009-10-281-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830799 13f79535-47bb-0310-9956-ffa450edef68
* Change StorageProvider::Exception to inherit from qpid::Exception instead of ↵Stephen D. Huston2009-10-284-26/+42
| | | | | | | | std::exception; allows the broker to catch them and do something other than die without a message. Fixed exception handling around more ADO ops and correctly handle com exceptions without associated ErrorInfo. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830797 13f79535-47bb-0310-9956-ffa450edef68
* Ensure connections are done blocking; there's no asynch connect support yet. ↵Stephen D. Huston2009-10-281-1/+1
| | | | | | Fixes intermittent connection hangs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830796 13f79535-47bb-0310-9956-ffa450edef68
* Fixed lack of checking for reserved exchange names that start with "amq." ↵Kim van der Riet2009-10-281-0/+3
| | | | | | according to the AMQP spec. Added a python test for this functionality. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830751 13f79535-47bb-0310-9956-ffa450edef68
* Reduce redundancy in cluster log output.Alan Conway2009-10-282-6/+2
| | | | | | | start_cluster: Use PID in cluster name to avoid name clashes with multiple tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830696 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem where broker does not persist the alternate exchange setting ↵Kim van der Riet2009-10-285-4/+28
| | | | | | to the store for durable exchanges, and these settings were being lost upon recovery. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830687 13f79535-47bb-0310-9956-ffa450edef68
* Fix unused arg warningsStephen D. Huston2009-10-282-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830649 13f79535-47bb-0310-9956-ffa450edef68
* Adapt to Boost.system only in 1.35 and laterStephen D. Huston2009-10-281-7/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830648 13f79535-47bb-0310-9956-ffa450edef68
* Set up COM initialization before trying to database connection in ↵Stephen D. Huston2009-10-271-0/+1
| | | | | | earlyInitialize. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830397 13f79535-47bb-0310-9956-ffa450edef68
* Use class/struct consistently for OutgoingMessage.Stephen D. Huston2009-10-272-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830395 13f79535-47bb-0310-9956-ffa450edef68
* Add install steps.Stephen D. Huston2009-10-271-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830311 13f79535-47bb-0310-9956-ffa450edef68
* Include store directory; fix moved FailoverListener.h file; add a bunch of ↵Stephen D. Huston2009-10-271-110/+94
| | | | | | install stuff for Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830309 13f79535-47bb-0310-9956-ffa450edef68
* Added missing resetDequeueCompleteCallback calls to ~IncompleteMessageList.Alan Conway2009-10-271-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830269 13f79535-47bb-0310-9956-ffa450edef68
* Make Session::close and Connection::close no-throwAlan Conway2009-10-274-10/+46
| | | | | | | close() will often be called in destructors and so should not throw exceptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830268 13f79535-47bb-0310-9956-ffa450edef68
* Separate FailoverListener from client::Connection.Alan Conway2009-10-2617-134/+116
| | | | | | | | | | | | | | | | | | client::ConnectionImpl used to contain a FailoverListener to subscribe for updates on the amq.failover exchange. This caused some lifecycle issues including memory leaks. Now FailoverListener is a public API class that the user must create associated with a session to get known-broker updates. Removed the weak_ptr logic in client::SessionImpl which was only required because of FailoverListener. Made SessionImpl::close() idempotent. Gets rid of spurious warning messages in some tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829931 13f79535-47bb-0310-9956-ffa450edef68
* Ignore exceptions from detach() in ~SessionImpl.Alan Conway2009-10-261-3/+5
| | | | | | | | Otherwise clients can crash in terminate() if there is an error, e.g. a TransportFailure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829912 13f79535-47bb-0310-9956-ffa450edef68
* Fix regression introduced in r828108Alan Conway2009-10-261-9/+10
| | | | | | | SessionHandler ignores all but detach/detached controls when awaitingDetached. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829815 13f79535-47bb-0310-9956-ffa450edef68
* Removed spurious assertion from python test agentTed Ross2009-10-261-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829786 13f79535-47bb-0310-9956-ffa450edef68
* Removed references to broker and agent bank from API, replaced with theTed Ross2009-10-236-99/+109
| | | | | | | | | | | | | more generic (and forward compatible) "key". In the Ruby binding, ensured that ruby objects reference their own copies of the wrapped c++ objects to protect from problems when the c++ objects are deleted out from under the wrappers. Added agent discriminator to the console::objects method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829167 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2156 - Add thread shutdown to python QMF bindings, additional logging, ↵Ted Ross2009-10-231-41/+99
| | | | | | | | | native console test. Committed patch from Ken Giusti. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829161 13f79535-47bb-0310-9956-ffa450edef68
* Get selected TCP listen port before building the pid file name; fixes ↵Stephen D. Huston2009-10-231-2/+3
| | | | | | regression introduced yesterday. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828898 13f79535-47bb-0310-9956-ffa450edef68
* Removed "..." from suppressions to work with older valgrind versions.Alan Conway2009-10-222-5/+15
| | | | | | | Allow enabling of valgrind suppressions by setting VALGRIND_OPTS. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828739 13f79535-47bb-0310-9956-ffa450edef68
* Move management-agent earlier in the init-sequence so it is destroyed after theTed Ross2009-10-222-2/+2
| | | | | | | message store is finalized. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828716 13f79535-47bb-0310-9956-ffa450edef68
* Added operators for present/not-present in the object (i.e. for optional ↵Ted Ross2009-10-221-1/+3
| | | | | | properties). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828694 13f79535-47bb-0310-9956-ffa450edef68
* Added immediate-publish for new connections and agents. This solves a race ↵Ted Ross2009-10-223-35/+53
| | | | | | | | | | | | condition where a QMF console may learn about an object before it learns about the agent that controls that object. Changed log category for QMF messages from debug to trace. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828685 13f79535-47bb-0310-9956-ffa450edef68
* Improved suppression for TCPConnector leak.Alan Conway2009-10-221-8/+4
| | | | | | Works for different libgcc version and different amounts of inlining. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828676 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1732 - When an exchange is deleted, the binding-count for bound queues ↵Ted Ross2009-10-225-9/+6
| | | | | | is not adjusted for deleted bindings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828674 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up dependencies in IOHandle so that it is no longerAndrew Stitcher2009-10-217-43/+41
| | | | | | dependent on the windows implementation classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828230 13f79535-47bb-0310-9956-ffa450edef68
* Add missing accept() call to start listening on broker portStephen D. Huston2009-10-211-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828202 13f79535-47bb-0310-9956-ffa450edef68
* Fix problems with sessions going out of scope and session numbers wrapping ↵Alan Conway2009-10-216-29/+52
| | | | | | | | | | | | | around. Fixes QPID-1789: sessions that go out of scope without being detached will detach themselves. Also fixes several issues that arise when the session numbers wraps around and start re-using old numbers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828108 13f79535-47bb-0310-9956-ffa450edef68