summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 526714 via svnmerge from Robert Greig2007-04-0914-225/+120
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/M2 ........ r526714 | rgreig | 2007-04-09 12:25:32 +0100 (Mon, 09 Apr 2007) | 1 line Purged logging from exception constructors. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@526720 13f79535-47bb-0310-9956-ffa450edef68
* Added shell script.Robert Greig2007-04-093-6/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@526689 13f79535-47bb-0310-9956-ffa450edef68
* Refactoring and multi-version supportRobert Godfrey2007-04-0731-174/+631
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@526447 13f79535-47bb-0310-9956-ffa450edef68
* Refactoring and multi-version supportRobert Godfrey2007-04-0757-5573/+7246
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@526446 13f79535-47bb-0310-9956-ffa450edef68
* QPID-381 Amended session constructor to make non-transactional and client ↵Marnie McCormack2007-04-061-2/+2
| | | | | | ack mode. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@526197 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/src/broker/BrokerMessageMessage.h: Change reference from weak_ptr toAlan Conway2007-04-056-6/+49
| | | | | | | | | | | | | | shared_ptr. Broker messages hold their reference. * cpp/src/broker/Reference.cpp (close): clear messages array to break shared_ptr cycle and avoid a leak. * cpp/src/client/MessageMessageChannel.cpp (publish): Support references for large messages. * cpp/src/shared_ptr.h (make_shared_ptr): added deleter variant. * cpp/src/tests/ClientChannelTest.cpp: Enabled testGetNoContent, testGetFragmentedMessage git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525964 13f79535-47bb-0310-9956-ffa450edef68
* * Exteneded use of shared pointers frame bodies across all send() commands.Alan Conway2007-04-0516-77/+345
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/Makefile.am: added check-unit target to run just unit tests. * Introduced make_shared_ptr convenience function for wrapping plain pointers with shared_ptr. * cpp/src/client/ClientChannel.h,cpp (sendsendAndReceive,sendAndReceiveSync): Pass shared_ptr instead of raw ptr to fix memory problems. Updated the following files to use make_shared_ptr - src/client/BasicMessageChannel.cpp - src/client/ClientConnection.cpp * src/client/MessageMessageChannel.cpp: implemented 0-9 message.get. * src/framing/Correlator.h,cpp: Allow request sender to register actions to take when the correlated response arrives. * cpp/src/tests/FramingTest.cpp: Added Correlator tests. * src/framing/ChannelAdapter.h,cpp: use Correlator to dispatch response actions. * cpp/src/shared_ptr.h (make_shared_ptr): Convenience function to make a shared pointer from a raw pointer. * cpp/src/tests/ClientChannelTest.cpp: Added message.get test. * cpp/src/tests/Makefile.am (check-unit): Added test-unit target to run unit tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525932 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 525531-525536 via svnmerge from Robert Greig2007-04-056-73/+308
| | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/M2 ........ r525531 | rgreig | 2007-04-04 16:18:44 +0100 (Wed, 04 Apr 2007) | 1 line Added standard command line handline ........ r525533 | rgreig | 2007-04-04 16:19:38 +0100 (Wed, 04 Apr 2007) | 1 line Added simeple file copy function. ........ r525535 | rgreig | 2007-04-04 16:20:30 +0100 (Wed, 04 Apr 2007) | 1 line Added comments and logging to track down bug. ........ r525536 | rgreig | 2007-04-04 16:21:43 +0100 (Wed, 04 Apr 2007) | 1 line Fixed dangling transaction problem by correctly binding queue. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525825 13f79535-47bb-0310-9956-ffa450edef68
* * Further (minor) changes to the interface between store and broker.Gordon Sim2007-04-0516-170/+137
| | | | | | | | | * TxBuffer now uses shared_ptr to TxOps (removed DeletingTxOp) * Queue now persists the field table of settings git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525801 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 522994-523245 via svnmerge from Robert Greig2007-04-059-855/+1282
| | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/M2 ........ r522994 | rgreig | 2007-03-27 17:48:23 +0100 (Tue, 27 Mar 2007) | 1 line Test added for durability of messages under broker failure. ........ r523245 | rgreig | 2007-03-28 10:30:49 +0100 (Wed, 28 Mar 2007) | 1 line Reversed accidental replacing of the word 'initialize' in comments to 'establishConnection' through a method refactoring. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525800 13f79535-47bb-0310-9956-ffa450edef68
* * Made client::Channel bi-modal: 0-8 or 0-9 modes.Alan Conway2007-04-046-56/+488
| | | | | | | | * Added dummy impl of client::MessageMessageChannel. * Generalised ClientChannelTest to be able to test both modes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525542 13f79535-47bb-0310-9956-ffa450edef68
* * tests/FramingTest.cpp: Fixed integer types to build on 64 bit architecturesAlan Conway2007-04-032-15/+15
| | | | | | | * tests/test_env: added missing executable property. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525310 13f79535-47bb-0310-9956-ffa450edef68
* * Remove redundant Makefile.am, not needed with single src/ makefile.Alan Conway2007-04-037-184/+12
| | | | | | | * Fixed automake warnings. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525297 13f79535-47bb-0310-9956-ffa450edef68
* Moved BasicMessage::WaitableDestination to ↵Alan Conway2007-04-034-63/+72
| | | | | | IncomingMessage::WaitableDestination so it can be shared by Basic and Message implementations. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525282 13f79535-47bb-0310-9956-ffa450edef68
* Ignore .deps directoryAlan Conway2007-04-030-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525246 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/src/broker/Broker.cpp: Join cleaner thread.Alan Conway2007-04-034-143/+160
| | | | | | | | | * cpp/src/broker/BrokerMessageMessage.h, .cpp, ReferenceTest: - Broke reference cycle between broker::MessageMessage and Reference by using a weak_ptr in MessageMessage git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525244 13f79535-47bb-0310-9956-ffa450edef68
* Run selected python tests with make check TESTS=python_tests ↵Alan Conway2007-04-021-1/+1
| | | | | | PYTHON_TESTS=<some test> git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524943 13f79535-47bb-0310-9956-ffa450edef68
* Fix error in flags.Alan Conway2007-04-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524941 13f79535-47bb-0310-9956-ffa450edef68
* Fix error in previous commit.Alan Conway2007-04-021-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524938 13f79535-47bb-0310-9956-ffa450edef68
* Updated to point to tests/README.Alan Conway2007-04-021-23/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524927 13f79535-47bb-0310-9956-ffa450edef68
* * src/tests/examples.README,examples.Makefile: out of date, removed.Alan Conway2007-04-029-204/+164
| | | | | | | | | | * src/tests/README: details on running tests. * cpp/README: Point to src/tests/README * src/tests/ .valgrind.supp, .valgrindrc-default: moved valgrind options to file, easier to modify locally updated suppressions (see README) * src/tests/test_env, run-unit-tests: more flexible test running (see README) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524913 13f79535-47bb-0310-9956-ffa450edef68
* More QPID-243Andrew Stitcher2007-04-024-7/+169
| | | | | | | | * Moved most of the C++ make into src/Makefile.am * There is still a separate src/tests/Makefile.am git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524847 13f79535-47bb-0310-9956-ffa450edef68
* Fix for the most disruptive items in QPID-243.Andrew Stitcher2007-04-02292-823/+797
| | | | | | | | | | | | * All #include lines now use '""' rather than '<>' where appropriate. * #include lines within the qpid project use relative includes so that the same path will work in /usr/include when installed as part of the client libraries. * All the source code has now been rearranged to be under src in a directory analogous to the namespace of the classes in it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524769 13f79535-47bb-0310-9956-ffa450edef68
* Fixed autmake $wildcard warnings, added html-dev to generate full doxygen ↵Alan Conway2007-03-303-15/+33
| | | | | | for developers (slow!). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524260 13f79535-47bb-0310-9956-ffa450edef68
* Fixed and improved running selected unit tests. See comment in run-unit-testsAlan Conway2007-03-301-9/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524166 13f79535-47bb-0310-9956-ffa450edef68
* Refactored the MessageStore interface to restrict visibility of broker core ↵Gordon Sim2007-03-3041-408/+903
| | | | | | from store implementations. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524139 13f79535-47bb-0310-9956-ffa450edef68
* Fix configure.ac. It was broken by removal of ExchangeBinding.cpp.Alan Conway2007-03-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524129 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused and defective AcceptorTest.cppAlan Conway2007-03-301-95/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524091 13f79535-47bb-0310-9956-ffa450edef68
* Fixed more test memory leaks.Alan Conway2007-03-295-61/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523870 13f79535-47bb-0310-9956-ffa450edef68
* * tests/BrokerChannelTest.cpp: fixed leak in test code.Alan Conway2007-03-292-38/+18
| | | | | | | * tests/.vg-supp: Updated supressions git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523869 13f79535-47bb-0310-9956-ffa450edef68
* * tests/InProcessBroker: Fix embarassing bug in previous mergeAlan Conway2007-03-292-2/+95
| | | | | | | * tests/.vg-supp: Updated supressions - down to only 3 leaks! git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523865 13f79535-47bb-0310-9956-ffa450edef68
* Fixed memory leak: removed Binding and ExchangeBinding.Alan Conway2007-03-2911-191/+5
| | | | | | | | | | | | | | These classes unbind a deleted queue from any Exchanges. But Exchanges hold shared_ptr<Queue>, so queues never deleted while the exchange exists. Moreover queue-binding form a shared_ptr cycle causing a leak. Raised QPID-438 for the remaining problem: destroyed queues are never unbound or deleted git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523857 13f79535-47bb-0310-9956-ffa450edef68
* More changes preparatory to changing all #include linesAndrew Stitcher2007-03-2910-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523848 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/tests/.vg-supp (fun): Remove wildcarded suppressions generatedAlan Conway2007-03-293-1592/+36
| | | | | | | | | | | before the dlclose_noop fix, replaced with fully qualified ones. * cpp/tests/InProcessBroker.h: fix memory leak in InputToOutputHandler. * cpp/tests/run-unit-tests (fail): pass test paths to DllPlugInTester git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523846 13f79535-47bb-0310-9956-ffa450edef68
* * Preliminary fix for rearranging all #include linesAndrew Stitcher2007-03-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523827 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/tests/.vg-supp: Removed wildcarded suppressions generatedAlan Conway2007-03-281-3218/+176
| | | | | | | before the dlclose_noop fix, replaced with fully qualified ones. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523489 13f79535-47bb-0310-9956-ffa450edef68
* Missed changes on previous commit.Alan Conway2007-03-283-9/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523474 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/tests/run-unit-tests,setup: use valgrind --log-file rather thanAlan Conway2007-03-287-16/+25
| | | | | | | | | | | redirecting stderr. Redirecting also swallows DllPlugInTester output. * cpp/lib/common/sys/Acceptor.h: getPort() to return uint16_t, not int16t. Note AcceptorTest is not inclued in Makefile.am. I fixed it to compile but it hangs, need to determine if it's a test or an Acceptor bug. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523473 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/tests/setup,run-unit-tests:Alan Conway2007-03-284-680/+172
| | | | | | | | | | | | - make run-unit-tests work directly as ./run-unit-tests as well as via make. - run-unit-tests takes list of tests to run as args or in env UNIT_TESTS. * cpp/tests/.vg-supp: - Fixed bogus symbols produced by --gen-suppressions. See http://article.gmane.org/gmane.comp.debugging.valgrind/5939 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523444 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 521792-522567 via svnmerge from Bhupendra Bhusman Bhardwaj2007-03-280-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/M2 ........ r521793 | bhupendrab | 2007-03-23 16:20:52 +0000 (Fri, 23 Mar 2007) | 1 line ........ r522463 | bhupendrab | 2007-03-26 10:30:02 +0100 (Mon, 26 Mar 2007) | 2 lines QPID-408 ........ r522528 | bhupendrab | 2007-03-26 15:33:11 +0100 (Mon, 26 Mar 2007) | 1 line QPID-428 Added login functionality ........ r522535 | ritchiem | 2007-03-26 15:55:21 +0100 (Mon, 26 Mar 2007) | 1 line Added passwdVhost to the build ........ r522567 | bhupendrab | 2007-03-26 17:43:24 +0100 (Mon, 26 Mar 2007) | 1 line QPID-421 displaying AMQMessage properties in user understandable format in Management Console, like Persistent instead of 1. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523252 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/tests/BrokerChannelTest.cpp: Fix leak.Alan Conway2007-03-279-20/+21
| | | | | | | | | * cpp/lib/broker/Connection.h: signature fix, pass const& instead of *. * cpp/lib/client/IncomingMessage.cpp: Correct error codes. * cpp/lib/broker/Reference.cpp: Fix TODO. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523085 13f79535-47bb-0310-9956-ffa450edef68
* Removed useless ExceptionTest.cpp.Alan Conway2007-03-272-62/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523067 13f79535-47bb-0310-9956-ffa450edef68
* Fix valgrind on unit tests: missing symbols for dynamically unloaded libs.Alan Conway2007-03-273-3/+37
| | | | | | | Interposed library supresses dlclose so symbols are reported. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@523055 13f79535-47bb-0310-9956-ffa450edef68
* Refactored client::Message to be independent of all Basic class conceptsAlan Conway2007-03-2728-721/+612
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and client::IncomingMessage to handle 0-9 style references and appends. * cpp/lib/client/ClientMessage.cpp: Made independent of Basic class. * cpp/lib/client/IncomingMessage.cpp: Refactored to handle references/appends. * cpp/lib/client/BasicMessageChannel.cpp: Refactored to use new IncomingMessage Thread safety fixes: * cpp/lib/client/ResponseHandler.h: Remove stateful functions. * cpp/lib/client/ClientChannel.cpp: use new ResponseHandler interface. Minor cleanup: * cpp/lib/common/framing/BasicHeaderProperties.cpp: use DeliveryMode enum. * cpp/tests/HeaderTest.cpp: use DeliveryMode enum. * cpp/tests/MessageTest.cpp: use DeliveryMode enum. * cpp/lib/common/shared_ptr.h: #include <boost/cast.hpp> for convenience. * cpp/lib/common/sys/ThreadSafeQueue.h: Changed "stop" "shutdown" * cpp/lib/common/sys/ProducerConsumer.h: Changed "stop" "shutdown" * cpp/tests/ClientChannelTest.cpp (TestCase): Removed debug couts. * cpp/tests/setup: valgrind --demangle=yes by default. * cpp/tests/topictest: sleep to hack around startup race. * cpp/lib/broker/BrokerQueue.cpp (configure): Fixed memory leak. Removed/updated FIXME comments in: * cpp/lib/broker/BrokerMessage.cpp: * cpp/lib/broker/BrokerMessageBase.h: * cpp/lib/broker/InMemoryContent.cpp: * cpp/lib/common/framing/MethodContext.h: git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@522956 13f79535-47bb-0310-9956-ffa450edef68
* merged from M2 (r521792:522567) QPID-408 QPID-421 QPID-428Bhupendra Bhusman Bhardwaj2007-03-2718-178/+555
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@522821 13f79535-47bb-0310-9956-ffa450edef68
* Updated perftests from M2Robert Greig2007-03-236-559/+472
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@521711 13f79535-47bb-0310-9956-ffa450edef68
* QPID-418 : Add ability to save user preferences to Java Management ConsoleBhupendra Bhusman Bhardwaj2007-03-224-66/+385
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@521345 13f79535-47bb-0310-9956-ffa450edef68
* added cygwin check to correct the path if running on cygwinBhupendra Bhusman Bhardwaj2007-03-221-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@521337 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up signatures: safer to return string than const string&.Alan Conway2007-03-213-78/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520993 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused files and #includes.Alan Conway2007-03-214-470/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520976 13f79535-47bb-0310-9956-ffa450edef68