summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 649909-650455 via svnmerge from Aidan Skinner2008-04-22102-2212/+2491
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk ........ r649915 | gsim | 2008-04-20 13:10:37 +0100 (Sun, 20 Apr 2008) | 6 lines QPID-920: converted c++ client to use final 0-10 protocol * connection handler converted to using invoker & proxy and updated to final method defs * SessionCore & ExecutionHandler replace by SessionImpl * simplified handling of completion & results, removed handling of responses ........ r650127 | arnaudsimon | 2008-04-21 13:45:48 +0100 (Mon, 21 Apr 2008) | 1 line QPID-939 Added "ID:" to message ID ........ r650159 | gsim | 2008-04-21 15:37:03 +0100 (Mon, 21 Apr 2008) | 4 lines QPID-920: send message-accept for acks (as well as completion) * AckPolicy now maintains a set of transfered messages for cumulative accepts ........ r650198 | aconway | 2008-04-21 17:36:08 +0100 (Mon, 21 Apr 2008) | 6 lines src/qpid/RangeSet.h: generic set implementation using ranges. - no heap allocation for simple sets (<= 3 ranges) - binary searches for o(log(n)) performance in complex sets ........ r650210 | aconway | 2008-04-21 18:34:49 +0100 (Mon, 21 Apr 2008) | 1 line Fix compile error on rhel5. ........ r650221 | aconway | 2008-04-21 19:59:31 +0100 (Mon, 21 Apr 2008) | 2 lines Better workaround for boost::ptr_map incompatibility between boost 1.33 and 1.34, based on public properties of ptr::map types rather than version numbers. ........ r650227 | aconway | 2008-04-21 20:19:42 +0100 (Mon, 21 Apr 2008) | 2 lines Disable compilation of amqp_0_10 codec until ready for integration. ........ r650250 | gsim | 2008-04-21 21:34:49 +0100 (Mon, 21 Apr 2008) | 4 lines * raise error when controls other than attached are received on unattached channel * corrected exception handling in client and on broker (broker to issue detach) ........ r650273 | aconway | 2008-04-21 22:22:09 +0100 (Mon, 21 Apr 2008) | 1 line Fix packaging problems for rpmbuild. ........ r650439 | gsim | 2008-04-22 11:33:12 +0100 (Tue, 22 Apr 2008) | 7 lines QPID-648: (based on patch from mfarrellee@redhat.com) * apply authentication to final 0-10 codepath * consolidate conditional compilation of sasl-related code * improved handling of connection close during connection establishment in client ........ r650450 | gsim | 2008-04-22 13:05:52 +0100 (Tue, 22 Apr 2008) | 3 lines QPID-944: do no-local checking where requested when there is an exclusive subscription active ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@650478 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 649661-649908 via svnmerge from Aidan Skinner2008-04-2010-171/+274
| | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk ........ r649666 | astitcher | 2008-04-18 20:44:25 +0100 (Fri, 18 Apr 2008) | 2 lines Split AsynchIOAcceptor into IOHandler and connection control code ........ r649671 | aconway | 2008-04-18 20:56:27 +0100 (Fri, 18 Apr 2008) | 2 lines Fix test failure. ........ r649689 | astitcher | 2008-04-18 22:03:49 +0100 (Fri, 18 Apr 2008) | 2 lines Refactored Acceptor code to allow multiple acceptors to be present in the broker ........ r649691 | astitcher | 2008-04-18 22:10:42 +0100 (Fri, 18 Apr 2008) | 2 lines Added missed new include file ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@649909 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 649482-649660 via svnmerge from Aidan Skinner2008-04-182-285/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk ........ r649547 | aconway | 2008-04-18 15:12:36 +0100 (Fri, 18 Apr 2008) | 2 lines Uncommented tests. ........ r649554 | aconway | 2008-04-18 15:49:15 +0100 (Fri, 18 Apr 2008) | 4 lines From Ted Ross: https://issues.apache.org/jira/browse/QPID-934 This patch fixes a problem related to multiple management sessions run over the same AMQP session (typically seen in test environments). ........ r649571 | aconway | 2008-04-18 16:26:05 +0100 (Fri, 18 Apr 2008) | 1 line Fix build problem. ........ r649642 | kpvdr | 2008-04-18 19:18:22 +0100 (Fri, 18 Apr 2008) | 1 line fix ambiguity problem found on gcc 3.4 compilers ........ r649648 | rhs | 2008-04-18 19:35:51 +0100 (Fri, 18 Apr 2008) | 1 line QPID-901: update pom to work with new codegen ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@649661 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 648217-649481 via svnmerge from Aidan Skinner2008-04-1887-940/+1661
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk ........ r648272 | aconway | 2008-04-15 15:54:46 +0100 (Tue, 15 Apr 2008) | 1 line Fix build error: MapValue SIZE was too small for Struct32. ........ r648288 | astitcher | 2008-04-15 16:41:21 +0100 (Tue, 15 Apr 2008) | 4 lines Refactored the IO framework that sits on top of Poller so that it uses a generalised IOHandle. This means that you can define new classes derived from IOHandle (other than Socket) that can also be added to a Poller and waited for. ........ r648292 | nsantos | 2008-04-15 16:46:38 +0100 (Tue, 15 Apr 2008) | 1 line add svn revision include to specfile ........ r648297 | aconway | 2008-04-15 16:57:58 +0100 (Tue, 15 Apr 2008) | 2 lines Cleanup of size calculations and handling UnknownStruct ........ r648308 | nsantos | 2008-04-15 17:12:01 +0100 (Tue, 15 Apr 2008) | 1 line QPID-921: applied qpid-patch36.diff on behalf of Ted Ross ........ r648329 | aconway | 2008-04-15 18:00:40 +0100 (Tue, 15 Apr 2008) | 2 lines Disabled failing tests, working on fixing the issues. ........ r648338 | aconway | 2008-04-15 18:10:59 +0100 (Tue, 15 Apr 2008) | 1 line Comment out failing test, repairing. ........ r648362 | aconway | 2008-04-15 19:23:55 +0100 (Tue, 15 Apr 2008) | 4 lines Correct Struct32 encoding: size/code/data. Proper re-encoding for unknown struct codes. ........ r648418 | aconway | 2008-04-15 22:32:35 +0100 (Tue, 15 Apr 2008) | 1 line Fix build error - missing op << for Struct32. ........ r648661 | arnaudsimon | 2008-04-16 11:32:23 +0100 (Wed, 16 Apr 2008) | 1 line QPID-928 Added a pause period for letting the finalyzer a chance to notify all the Mina connector threads before we check for spurious threads. ........ r648681 | arnaudsimon | 2008-04-16 13:28:31 +0100 (Wed, 16 Apr 2008) | 1 line QPID-897: this test was intermittently timing out when messages are not prefetched. This is a temporary fix until we use a configurable timeout. ........ r648692 | rhs | 2008-04-16 14:32:13 +0100 (Wed, 16 Apr 2008) | 1 line QPID-901: updates to the java client to use the 0-10 final spec instead of the 0-10 preview spec; this includes improvements to the codegen process as well as some modifications to the shared code path in the client to not lose per message state when consumers are closed. ........ r648699 | rhs | 2008-04-16 14:58:35 +0100 (Wed, 16 Apr 2008) | 1 line QPID-901: add back ExceptionHelper.java to fix the build ........ r648706 | aconway | 2008-04-16 15:32:33 +0100 (Wed, 16 Apr 2008) | 2 lines Fix bug in Blob::assign assigning from an empty blob. ........ r648724 | aconway | 2008-04-16 16:33:51 +0100 (Wed, 16 Apr 2008) | 3 lines Fix encoding for sized structs. ........ r648726 | aconway | 2008-04-16 16:45:01 +0100 (Wed, 16 Apr 2008) | 3 lines Separate new codec from liqqpidcommon to improve link times. To be included in libqpidcommon when we are ready to replace framing codec. ........ r648770 | aconway | 2008-04-16 19:01:28 +0100 (Wed, 16 Apr 2008) | 2 lines Removed complex_types.h from Makefile.am. ........ r648771 | rhs | 2008-04-16 19:03:22 +0100 (Wed, 16 Apr 2008) | 1 line QPID-901: don't depend on constant values matching up when converting between JMS and AMQP delivery modes ........ r648782 | aconway | 2008-04-16 19:23:14 +0100 (Wed, 16 Apr 2008) | 1 line Add missing files to packaging. ........ r648784 | rhs | 2008-04-16 19:25:29 +0100 (Wed, 16 Apr 2008) | 1 line QPID-901: updated the JMS examples to use legal delivery mode values as they are now checked with the 0-10 final updates ........ r648904 | astitcher | 2008-04-17 01:19:14 +0100 (Thu, 17 Apr 2008) | 7 lines Refactored IO Thread creation so that it happens in the Broker class - There is now a single Poller created by the Broker class that is passed to the Acceptor for use in network IO. It can also now be passed to anything else that wants to put work in the IO threads - The Broker class itself is now responsible for actually creating the threads ........ r649016 | arnaudsimon | 2008-04-17 10:20:24 +0100 (Thu, 17 Apr 2008) | 1 line QPID-919 Changed AMQBrokerDetails to throw an URL exception when the port number is not specified. ........ r649059 | gsim | 2008-04-17 13:21:38 +0100 (Thu, 17 Apr 2008) | 3 lines Some fixes to the transitional spec defs. ........ r649070 | arnaudsimon | 2008-04-17 13:44:35 +0100 (Thu, 17 Apr 2008) | 1 line QPID-796 Made connection URL property + use session level method ........ r649099 | arnaudsimon | 2008-04-17 14:47:29 +0100 (Thu, 17 Apr 2008) | 1 line QPID-884 Added cpp profile that does not use a store. Also updated profile for taking auth into account and updated broker.clean as per QPID-904 ........ r649126 | nsantos | 2008-04-17 15:31:01 +0100 (Thu, 17 Apr 2008) | 1 line add full path to qpidd in init script, as it fails in some environments with just the command name ........ r649130 | aconway | 2008-04-17 15:42:09 +0100 (Thu, 17 Apr 2008) | 4 lines Added missing .h files to Makefile.am to fix make rpmbuild. Add non-const Message::data() Make log/Statement.h public. ........ r649159 | aconway | 2008-04-17 17:01:05 +0100 (Thu, 17 Apr 2008) | 4 lines src/Makefile.am: Fix problems with rpmbuild. src/tests/README: Updated information about boost test. ........ r649294 | astitcher | 2008-04-17 22:46:22 +0100 (Thu, 17 Apr 2008) | 2 lines Patch for improved compatibility with gcc 3.4 and boost 1.33 ........ r649339 | aconway | 2008-04-18 01:54:14 +0100 (Fri, 18 Apr 2008) | 3 lines src/tests/python_tests: fix exit status if QPID_NO_PREVIEW is set. src/qpid/framing/AMQFrame.h: frame header setters/getters with 0-10 naming. ........ r649409 | arnaudsimon | 2008-04-18 09:43:53 +0100 (Fri, 18 Apr 2008) | 1 line QPID-798 Make property per connection and/or system wide; change name to SYNC_PERSISTENT to denote only used on persistent messages ........ r649436 | arnaudsimon | 2008-04-18 10:50:13 +0100 (Fri, 18 Apr 2008) | 1 line QPID-936: added missing session close op ........ r649479 | kpvdr | 2008-04-18 13:09:42 +0100 (Fri, 18 Apr 2008) | 1 line Fix to prevent possible Timer deadlocks by holding onto mutex while calling fire() ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@649585 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 647798-648216 via svnmerge from Aidan Skinner2008-04-1529-146/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk ........ r647800 | gsim | 2008-04-14 14:57:36 +0100 (Mon, 14 Apr 2008) | 3 lines QPID-648: keep the sasl_conn member in the handler to avoid the need for friend declaration ........ r647887 | rhs | 2008-04-14 17:33:40 +0100 (Mon, 14 Apr 2008) | 1 line fixed encode/decode of structs in command/control arguments to include the type code when specified ........ r647903 | gsim | 2008-04-14 17:56:35 +0100 (Mon, 14 Apr 2008) | 4 lines Use the errata file for final 0-10 that has a type code for xids without which dtx.recover can't work. Return the indoubt xids as an array of struct32s each of which contains an encoded xid. ........ r647937 | aconway | 2008-04-14 20:14:10 +0100 (Mon, 14 Apr 2008) | 7 lines https://bugzilla.redhat.com/show_bug.cgi?id=441080 from Ville Skytt?\195?\164 (ville.skytta@iki.fi) qpidc's build does not use $RPM_OPT_FLAGS so it misses some compiler security features, and strips installed executables thus preventing rpmbuild from doing its job and creating a useful debuginfo package. Candidate fix for both attached, build tested only. ........ r647940 | gsim | 2008-04-14 20:19:27 +0100 (Mon, 14 Apr 2008) | 3 lines QPID-648: more flexible sasl implementation (patch provided by mfarrellee@redhat.com) ........ r647990 | gsim | 2008-04-14 21:34:30 +0100 (Mon, 14 Apr 2008) | 3 lines Fix to struct32 encoding ........ r647999 | gsim | 2008-04-14 22:11:25 +0100 (Mon, 14 Apr 2008) | 4 lines * Fix interpretation of accept-mode, 0 == EXPLICIT * Ensure accepts are taken into account in command sequence ........ r648013 | nsantos | 2008-04-14 22:42:21 +0100 (Mon, 14 Apr 2008) | 1 line fix home dir permissions ........ r648095 | aconway | 2008-04-15 02:58:05 +0100 (Tue, 15 Apr 2008) | 2 lines Struct32 encoding ........ r648194 | gsim | 2008-04-15 10:40:28 +0100 (Tue, 15 Apr 2008) | 3 lines Remove deleted file from distribution list. ........ r648196 | gsim | 2008-04-15 10:41:48 +0100 (Tue, 15 Apr 2008) | 2 lines QPID-648: Get list of supported mechanisms from sasl lib. (Patch from mfarrellee@redhat.com) ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@648218 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 sync cpp with trunkAidan Skinner2008-04-14519-0/+54926
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@647727 13f79535-47bb-0310-9956-ffa450edef68
* QPID-832 delete for resync with trunk (cpp, ruby) and M2.1 (java/broker)Aidan Skinner2008-04-14479-49364/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@647726 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions ↵Aidan Skinner2008-02-2836-147/+961
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 630296,630353,630847,630852,630934,631002,631014,631128,631250,631486,631489-631490,631638,631657,631695,631697-631698,631740,631790,631823,631931 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/trunk ........ r630296 | aconway | 2008-02-22 19:14:05 +0000 (Fri, 22 Feb 2008) | 2 lines Provide separate name, message and error code on all Exceptions. ........ r630353 | aconway | 2008-02-22 23:13:43 +0000 (Fri, 22 Feb 2008) | 6 lines Fixed rubygen to skip unchanged generated files, prevents needless rebuilding every time the code generator changes. Start of amqp 0-10 mapping, work in progress. ........ r630847 | arnaudsimon | 2008-02-25 13:45:53 +0000 (Mon, 25 Feb 2008) | 1 line Changed checkPreConditions for accessing directly to _messageSelector ........ r630852 | arnaudsimon | 2008-02-25 13:50:46 +0000 (Mon, 25 Feb 2008) | 1 line added prop jvmarg, that could be used allocate more memory: -Djvmarg=-Xmx512m ........ r630934 | gsim | 2008-02-25 16:56:29 +0000 (Mon, 25 Feb 2008) | 3 lines Some refactoring of the 0-10 codepath (being migrated to final spec) that primarily colocates the current session and execution layers to facilitate implementing the new session layer that will now encompass this behaviour. ........ r631002 | rhs | 2008-02-25 21:29:55 +0000 (Mon, 25 Feb 2008) | 1 line put queue listeners in their own thread ........ r631014 | aconway | 2008-02-25 21:56:03 +0000 (Mon, 25 Feb 2008) | 2 lines Fix build problem if openais is installed but openais-devel is not. ........ r631128 | gsim | 2008-02-26 08:40:13 +0000 (Tue, 26 Feb 2008) | 3 lines Use sessions reference to broker rather than connections in semantic state as the sessions ref is valid even when not attached. ........ r631250 | rhs | 2008-02-26 15:20:35 +0000 (Tue, 26 Feb 2008) | 1 line jvmarg -> test.mem; this fixes build breakage when jvmarg is empty or unspecified ........ r631486 | rajith | 2008-02-27 05:15:20 +0000 (Wed, 27 Feb 2008) | 2 lines This contains the ground work for QPID-803. ........ r631489 | rajith | 2008-02-27 05:17:07 +0000 (Wed, 27 Feb 2008) | 5 lines Added a new parser for the BindingURL. This allows adding multiple binding keys, using # and * in the URLs. This is tracked via QPID-814 ........ r631490 | rajith | 2008-02-27 05:17:46 +0000 (Wed, 27 Feb 2008) | 1 line added a test case for the multiple binding key case ........ r631638 | aconway | 2008-02-27 16:37:48 +0000 (Wed, 27 Feb 2008) | 3 lines Generate code for both 0-99 preview and 0-10 final specs . 0-10 final: extended code generation and non-generated support classes. ........ r631657 | rhs | 2008-02-27 17:18:40 +0000 (Wed, 27 Feb 2008) | 1 line improved error message ........ r631695 | rajith | 2008-02-27 19:56:58 +0000 (Wed, 27 Feb 2008) | 5 lines Correct the constant OPTION_BINDING_KEY that resulted in a test case failure Modified the AMQBindingURL to fix an error in the toString method Added more test cases to the main method in the BindingURLParser for quick testing, these cases are also present as unit tests. ........ r631697 | rajith | 2008-02-27 19:59:13 +0000 (Wed, 27 Feb 2008) | 2 lines Added another test to check for URISyntaxException when both routingkey and bindingkey is specified ........ r631698 | rajith | 2008-02-27 20:01:12 +0000 (Wed, 27 Feb 2008) | 3 lines Fixed the toString method to avoid printing both a routingkey and bindingkey and also to properly printout the bindingkeys when required. This bug caused 3 test failures. ........ r631740 | aconway | 2008-02-27 21:49:04 +0000 (Wed, 27 Feb 2008) | 4 lines Generating domains, structs, commands and controls for 0-10 final spec. Not yet generating: holders, visitors. ........ r631790 | aconway | 2008-02-28 00:32:56 +0000 (Thu, 28 Feb 2008) | 3 lines Added missing generated files to distribution. ........ r631823 | aconway | 2008-02-28 03:08:42 +0000 (Thu, 28 Feb 2008) | 3 lines Added missing generated files to RPM. ........ r631931 | arnaudsimon | 2008-02-28 11:17:50 +0000 (Thu, 28 Feb 2008) | 1 line See Qpid-817 ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@632040 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions ↵Aidan Skinner2008-02-2272-689/+3043
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 628737,628827,628846,628875,629196,629199,629253,629263,629385,629403-629404,629503,629510,629514,629679,629747,629749-629750,629796,629800,629802,629806,629883,629986,629991,629999,630075 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/trunk ........ r628737 | rhs | 2008-02-18 13:42:44 +0000 (Mon, 18 Feb 2008) | 1 line bumped spec release ........ r628827 | aconway | 2008-02-18 17:27:11 +0000 (Mon, 18 Feb 2008) | 2 lines Added sleep to verify script to avoid startup races. ........ r628846 | aconway | 2008-02-18 19:18:25 +0000 (Mon, 18 Feb 2008) | 1 line Fix problem with verify script in ../../bin. ........ r628875 | aconway | 2008-02-18 21:54:02 +0000 (Mon, 18 Feb 2008) | 9 lines Fixed race condition in the examples: when a listener program prints its "ready" message, the commands it has sent to the broker may not yet be complete. This results in sporadic lost messages if the producer is started immediately (e.g. by a script.) - Added Session::sync(), wait till all commands to date have completed. - Call sync() before printing "ready" in listener example programs - Removed sleep from verify script ........ r629196 | rhs | 2008-02-19 19:19:57 +0000 (Tue, 19 Feb 2008) | 1 line added AMQP 0-10 final ........ r629199 | rhs | 2008-02-19 19:23:34 +0000 (Tue, 19 Feb 2008) | 1 line fixed svn:eol-style ........ r629253 | aconway | 2008-02-19 22:33:29 +0000 (Tue, 19 Feb 2008) | 2 lines STL-style intrsive linked lists, single (ISList) and double (IList) ........ r629263 | aconway | 2008-02-19 22:58:41 +0000 (Tue, 19 Feb 2008) | 4 lines sys::RefCountedMap - reference-counted weak map of reference-counted objects. Ensures objects are atomically deleted and removed from the map. ........ r629385 | arnaudsimon | 2008-02-20 08:22:57 +0000 (Wed, 20 Feb 2008) | 1 line added init after broker shutdown and changed receiveNowait to receive(1000) ........ r629403 | arnaudsimon | 2008-02-20 10:11:03 +0000 (Wed, 20 Feb 2008) | 1 line added store prop ........ r629404 | arnaudsimon | 2008-02-20 10:11:41 +0000 (Wed, 20 Feb 2008) | 1 line added xa destinations ........ r629503 | aconway | 2008-02-20 15:26:05 +0000 (Wed, 20 Feb 2008) | 3 lines Added non-optional enum { SYNC, ASYNC } parameter to newSession. Updated API doc in client/SessionBase.h ........ r629510 | aconway | 2008-02-20 15:36:18 +0000 (Wed, 20 Feb 2008) | 1 line Update examples with ASYNC mode to newSession ........ r629514 | aconway | 2008-02-20 15:54:59 +0000 (Wed, 20 Feb 2008) | 2 lines Disabled RefCountedMap test - failing with valgrind error. RefCountedMap is not yet in use anywhere, will fix before I use it. ........ r629679 | aconway | 2008-02-21 02:58:37 +0000 (Thu, 21 Feb 2008) | 15 lines AMQP 0-10 type system: - new lightweight templated serialization framework - all fixed-size built-in types tested and working - all vbin & str types implemented, tests disabled need to fix encoding. The following types remain to be implemented: byte-ranges 2 byte ranges within a 64-bit payload sequence-set 2 ranged set representation map 0xa8 4 a mapping of keys to typed values list 0xa9 4 a series of consecutive type-value pairs array 0xaa 4 a defined length collection of values of a single type struct32 0xab 4 a coded struct with a 32-bit size ........ r629747 | arnaudsimon | 2008-02-21 11:07:36 +0000 (Thu, 21 Feb 2008) | 1 line added flag for tagging header without a payload ........ r629749 | arnaudsimon | 2008-02-21 11:09:43 +0000 (Thu, 21 Feb 2008) | 1 line changed for notifying message arrival when the header does not have a payload ........ r629750 | arnaudsimon | 2008-02-21 11:11:13 +0000 (Thu, 21 Feb 2008) | 1 line changed for creating durable queue for a durable subscriber ........ r629796 | aconway | 2008-02-21 14:24:24 +0000 (Thu, 21 Feb 2008) | 1 line Fix verify script problem ........ r629800 | arnaudsimon | 2008-02-21 14:38:38 +0000 (Thu, 21 Feb 2008) | 1 line changed for runing only with an 0.8 broker (this is testing 0.8 connection) ........ r629802 | arnaudsimon | 2008-02-21 14:39:37 +0000 (Thu, 21 Feb 2008) | 1 line added consumer2.close as messages may be delivered to this not used consumer ........ r629806 | arnaudsimon | 2008-02-21 14:41:51 +0000 (Thu, 21 Feb 2008) | 1 line added message releasing when messag listener is set ........ r629883 | gsim | 2008-02-21 17:40:42 +0000 (Thu, 21 Feb 2008) | 9 lines Start moving towards final 0-10 spec: * marked preview spec as 99-0 to distinguish it from 0-10 (which will now be used for the final version) * modified python client to treat 99-0 as 0-10 for now * modified broker to have two paths for the two different versions: 99-0 uses PreviewConnection, PreviewConnectionHandler and PreviewSessionHandler which are straight copy & pastes of the Connection, ConnectionHandler and SessionHandler now associated with 0-10 (so we can migrate the 0-10 path to the final spec without affecting clients working with the preview version) ........ r629986 | rhs | 2008-02-21 20:51:11 +0000 (Thu, 21 Feb 2008) | 1 line modified test harness to clean up data dir when broker crashes ........ r629991 | rhs | 2008-02-21 21:04:43 +0000 (Thu, 21 Feb 2008) | 1 line combined test cases and eliminated race condition ........ r629999 | gsim | 2008-02-21 21:23:37 +0000 (Thu, 21 Feb 2008) | 3 lines Fixes to prevent problems with async store when queue is deleted before all messages are completed or dequeued ........ r630075 | aconway | 2008-02-22 02:57:19 +0000 (Fri, 22 Feb 2008) | 2 lines Extended amqpgen.rb to cover 0-10 final model. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@630165 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions ↵Aidan Skinner2008-02-1810-22/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 627484,627531,627536,627543,627607,627629,627634,627652-627655,627718,627777,628132,628169,628171,628659 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/trunk ........ r627484 | aconway | 2008-02-13 15:39:59 +0000 (Wed, 13 Feb 2008) | 14 lines Broker::connect - connect to URL, return ConnectionInputHandler. M src/qpid/broker/Broker.cpp M src/qpid/broker/Broker.h M src/qpid/sys/Acceptor.h M src/qpid/sys/AsynchIOAcceptor.cpp AMQBody::match - test for matching frames. M src/qpid/framing/AMQBody.cpp M src/qpid/framing/AMQBody.h Url::throwIfEmpty() - test for empty URL. M src/qpid/Url.cpp M src/qpid/Url.h ........ r627531 | rhs | 2008-02-13 17:13:45 +0000 (Wed, 13 Feb 2008) | 1 line added client/example to the build ........ r627536 | rhs | 2008-02-13 17:30:32 +0000 (Wed, 13 Feb 2008) | 1 line updated runSample.sh from jrobie ........ r627543 | rajith | 2008-02-13 17:33:20 +0000 (Wed, 13 Feb 2008) | 1 line modified it to show the selector test bug ........ r627607 | rhs | 2008-02-13 22:45:26 +0000 (Wed, 13 Feb 2008) | 1 line fixed logging of message Data ........ r627629 | rajith | 2008-02-14 01:08:58 +0000 (Thu, 14 Feb 2008) | 1 line This is a fix for QPID-791 ........ r627634 | rajith | 2008-02-14 02:09:59 +0000 (Thu, 14 Feb 2008) | 1 line Fix for Qpid-793 ........ r627652 | rhs | 2008-02-14 03:52:08 +0000 (Thu, 14 Feb 2008) | 1 line set initial cause ........ r627653 | rhs | 2008-02-14 03:53:06 +0000 (Thu, 14 Feb 2008) | 1 line rethrow exception rather than ignoring it ........ r627654 | rhs | 2008-02-14 03:54:04 +0000 (Thu, 14 Feb 2008) | 1 line print message text directly ........ r627655 | rhs | 2008-02-14 03:55:28 +0000 (Thu, 14 Feb 2008) | 1 line recompute internal 0-10 message for reused messages ........ r627718 | gsim | 2008-02-14 11:49:17 +0000 (Thu, 14 Feb 2008) | 3 lines Fixed bug in browsing that failed to deal correctly with 'gaps' in message sequence. ........ r627777 | rhs | 2008-02-14 15:12:11 +0000 (Thu, 14 Feb 2008) | 1 line bumped spec release ........ r628132 | rhs | 2008-02-15 17:49:47 +0000 (Fri, 15 Feb 2008) | 1 line protect the _currentException variable with its own lock, this avoids deadlocks between getCurrentException and the dispatcher thread ........ r628169 | aconway | 2008-02-15 21:00:44 +0000 (Fri, 15 Feb 2008) | 2 lines Updated c++ and python fanout examples and verify scripts. ........ r628171 | aconway | 2008-02-15 21:03:28 +0000 (Fri, 15 Feb 2008) | 2 lines svn:ignore properties. ........ r628659 | gsim | 2008-02-18 09:23:54 +0000 (Mon, 18 Feb 2008) | 3 lines Requests to release a message that has not been acquired should be ignored. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@628695 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions ↵Aidan Skinner2008-02-1314-49/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 619974,620011,620014,620016-620017,620479,620481,620566,620584,620619,620622,620831,620854,620861-620862,620889,627128,627133,627141,627153-627155,627157,627171,627187 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/trunk ........ r619974 | rhs | 2008-02-08 18:30:04 +0000 (Fri, 08 Feb 2008) | 1 line made xa tests run, and made QpidTestCase more robust ........ r620011 | rhs | 2008-02-08 22:05:50 +0000 (Fri, 08 Feb 2008) | 1 line whitespace cleanup ........ r620014 | aconway | 2008-02-08 22:23:23 +0000 (Fri, 08 Feb 2008) | 7 lines cpp/examples/direct, fanout: Converted listener.cpp to SubscriptionManager. All python/cpp combos run as part of cpp/examples make check. Fixed problems with verify scripts and VPATH builds. ........ r620016 | cctrieloff | 2008-02-08 22:24:33 +0000 (Fri, 08 Feb 2008) | 2 lines yum correction ........ r620017 | aconway | 2008-02-08 22:27:38 +0000 (Fri, 08 Feb 2008) | 10 lines From Ted Ross, https://issues.apache.org/jira/browse/QPID-782 The attached patch makes the following changes: The --load-dir option has been renamed to --module-dir The --no-modules option and been replaced by the --no-module-dir option. This new option suppresses ONLY the loading of modules from the directory. The --no-data-dir option has been added to suppress the use of a data directory. Logging has been added for data directory lock and unlock. ........ r620479 | gsim | 2008-02-11 13:00:45 +0000 (Mon, 11 Feb 2008) | 3 lines Check valid listener (or handler) exist and log error if not. See QPID-783. ........ r620481 | gsim | 2008-02-11 13:10:38 +0000 (Mon, 11 Feb 2008) | 3 lines Added a test (currently disabled) that highlights a deadlock in the client when commands are sent to the broker concurrently with acks (e.g. when the dispatcher thread is running with auto-acking and messages are sent on another thread). ........ r620566 | rhs | 2008-02-11 18:23:12 +0000 (Mon, 11 Feb 2008) | 1 line bumped release for Beta 3 ........ r620584 | rhs | 2008-02-11 19:21:01 +0000 (Mon, 11 Feb 2008) | 1 line fixed computation of ranged acks, fix needed for failing RecoverTest ........ r620619 | aconway | 2008-02-11 21:43:32 +0000 (Mon, 11 Feb 2008) | 1 line Fix errors in verify scripts. ........ r620622 | aconway | 2008-02-11 21:50:17 +0000 (Mon, 11 Feb 2008) | 1 line Remove dependency on sys::Socket for management ID of connections. ........ r620831 | rhs | 2008-02-12 15:44:14 +0000 (Tue, 12 Feb 2008) | 1 line added help text for the clean-results target ........ r620854 | gsim | 2008-02-12 16:35:45 +0000 (Tue, 12 Feb 2008) | 3 lines Explicitly reset shared pointer; brokers destructor not called if started through -d otherwise it seems... ........ r620861 | gsim | 2008-02-12 16:54:05 +0000 (Tue, 12 Feb 2008) | 3 lines Fixed typo ........ r620862 | aconway | 2008-02-12 16:54:42 +0000 (Tue, 12 Feb 2008) | 2 lines Create /var/lib/qpidd correctly. ........ r620889 | aconway | 2008-02-12 18:04:11 +0000 (Tue, 12 Feb 2008) | 1 line Quote all non-printable ASCII characters (not just control characters) ........ r627128 | aconway | 2008-02-12 21:39:55 +0000 (Tue, 12 Feb 2008) | 1 line Create a tar file of verify scripts suitable for untarring into and installed examples directory. ........ r627133 | aconway | 2008-02-12 21:48:52 +0000 (Tue, 12 Feb 2008) | 2 lines Add -g to build flags to get debug info. ........ r627141 | aconway | 2008-02-12 21:57:36 +0000 (Tue, 12 Feb 2008) | 2 lines Fix verify error in Makefile.am ........ r627153 | rhs | 2008-02-12 22:21:20 +0000 (Tue, 12 Feb 2008) | 1 line increased the test timeout ........ r627154 | rhs | 2008-02-12 22:22:20 +0000 (Tue, 12 Feb 2008) | 1 line synchronize access to lastWrite future ........ r627155 | rhs | 2008-02-12 22:23:02 +0000 (Tue, 12 Feb 2008) | 1 line added default getConnection() ........ r627157 | rhs | 2008-02-12 22:26:26 +0000 (Tue, 12 Feb 2008) | 1 line added a test for message send followed by immediate connection close; fixed connection close handshaking ........ r627171 | aconway | 2008-02-12 23:09:06 +0000 (Tue, 12 Feb 2008) | 6 lines Patches from Ted Ross: Fix for bignumber problem in the management console. Fix for broker crash when sessions are closed via management. ........ r627187 | rhs | 2008-02-12 23:52:01 +0000 (Tue, 12 Feb 2008) | 1 line applied patch from rajith to fix reply-to ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@627359 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions ↵Aidan Skinner2008-02-1175-1522/+1376
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 615958,615968,616353,616396,616402,616404,616445,616454,616507,616511,616542,616545,616715,616736,616927,616929,617188,617286,617303,617305,617320-617321,617510-617511,617513,617524,617527,617533,617543,617556,617582,617590,617592,617594,617596-617597,617607,617662,618412,618428,618436-618437,618450,618462,618519,618770,618982,618984,618986,618989,619012,619043,619148,619182,619189,619192,619200,619204,619424,619538,619604,619611,619626,619636,619646,619888,619903,619941 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/trunk ................ r615958 | aconway | 2008-01-28 17:17:06 +0000 (Mon, 28 Jan 2008) | 1 line Convert ClientSessionTest to boost. ................ r615968 | aconway | 2008-01-28 17:42:22 +0000 (Mon, 28 Jan 2008) | 1 line Added disabled test and FIXME note to fix client-side race. ................ r616353 | aconway | 2008-01-29 14:48:59 +0000 (Tue, 29 Jan 2008) | 9 lines Deleted unused classes, adjusted files that still mention them. D src/qpid/framing/ChannelAdapter.cpp D src/qpid/framing/ChannelAdapter.h D src/qpid/framing/HandlerUpdater.h D src/tests/BrokerChannelTest.cpp D src/tests/MockChannel.h ................ r616396 | aconway | 2008-01-29 15:45:29 +0000 (Tue, 29 Jan 2008) | 3 lines Provide public read-access to IListNode pointers, so frame handlers can use then to find the next frame. ................ r616402 | aconway | 2008-01-29 15:48:35 +0000 (Tue, 29 Jan 2008) | 2 lines Remove references to defunct broker::ChannelHandler ................ r616404 | aconway | 2008-01-29 15:49:55 +0000 (Tue, 29 Jan 2008) | 2 lines Log peer address with SEND/RECV messages. ................ r616445 | aidan | 2008-01-29 16:38:53 +0000 (Tue, 29 Jan 2008) | 3 lines Initialized merge tracking via "svnmerge" with revisions "1-616438" from https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1 ................ r616454 | aidan | 2008-01-29 17:25:32 +0000 (Tue, 29 Jan 2008) | 13 lines Merged revisions 579126,579137 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/branches/M2 ........ r579126 | rgreig | 2007-09-25 09:42:53 +0100 (Tue, 25 Sep 2007) | 2 lines QPID-582: fix some 1.6 compile errors ........ r579137 | rgreig | 2007-09-25 10:00:34 +0100 (Tue, 25 Sep 2007) | 2 lines QPID-582 fix Java 6 compile errors ........ ................ r616507 | aconway | 2008-01-29 20:29:46 +0000 (Tue, 29 Jan 2008) | 2 lines Re-enabled build of cluster code when openais is installed. ................ r616511 | aconway | 2008-01-29 20:39:26 +0000 (Tue, 29 Jan 2008) | 1 line Added Observer to SessionManager for cluster use. ................ r616542 | rajith | 2008-01-29 22:24:40 +0000 (Tue, 29 Jan 2008) | 1 line added support to notify connection.close to the JMSExceptionListener ................ r616545 | rajith | 2008-01-29 22:30:20 +0000 (Tue, 29 Jan 2008) | 1 line I accidently commited some modifications done for a quick test, I reversed those changes ................ r616715 | arnaudsimon | 2008-01-30 10:38:11 +0000 (Wed, 30 Jan 2008) | 1 line changed default port value for tcp ................ r616736 | gsim | 2008-01-30 12:18:53 +0000 (Wed, 30 Jan 2008) | 3 lines Parse out the userid and password from the response; a small step on the road to authentication. ................ r616927 | aconway | 2008-01-30 22:32:17 +0000 (Wed, 30 Jan 2008) | 4 lines Remove Socket param from Connection constructor, pass a string id instead. ................ r616929 | aconway | 2008-01-30 22:34:50 +0000 (Wed, 30 Jan 2008) | 6 lines From Ted Ross, https://issues.apache.org/jira/browse/QPID-767 Bugfix: --load-dir rejected path-name-elements beginning with or ending with '.' (boost 1.33 only) ................ r617188 | gsim | 2008-01-31 18:50:46 +0000 (Thu, 31 Jan 2008) | 4 lines Make ports accesible through socket interface. Add local port to each logged frame in the client Connector ................ r617286 | aconway | 2008-01-31 23:14:49 +0000 (Thu, 31 Jan 2008) | 3 lines Generate URLs for local host. ................ r617303 | rhs | 2008-01-31 23:50:43 +0000 (Thu, 31 Jan 2008) | 1 line fixed svn:executable and svn:eol-style ................ r617305 | rhs | 2008-01-31 23:52:15 +0000 (Thu, 31 Jan 2008) | 1 line avoid use of Throwable.initCause(e) that is illegal with java 1.6 ................ r617320 | rhs | 2008-02-01 01:03:46 +0000 (Fri, 01 Feb 2008) | 1 line ant build system ................ r617321 | rhs | 2008-02-01 01:25:27 +0000 (Fri, 01 Feb 2008) | 1 line futzed with deps for faster build, and fixed bug in manifest generation ................ r617510 | rhs | 2008-02-01 14:49:33 +0000 (Fri, 01 Feb 2008) | 1 line added junit dependency ................ r617511 | rhs | 2008-02-01 14:53:52 +0000 (Fri, 01 Feb 2008) | 1 line fixed typo ................ r617513 | rhs | 2008-02-01 14:59:49 +0000 (Fri, 01 Feb 2008) | 1 line more dependency fixes ................ r617524 | rhs | 2008-02-01 15:46:44 +0000 (Fri, 01 Feb 2008) | 1 line added support for running one test, and made test output pretty ................ r617527 | rhs | 2008-02-01 15:55:30 +0000 (Fri, 01 Feb 2008) | 1 line less confusing options ................ r617533 | aconway | 2008-02-01 16:03:02 +0000 (Fri, 01 Feb 2008) | 9 lines Added cluster URL configuration, defaults to all interfaces. src/qpid/Plugin.h - added doxygen src/qpid/Url.cpp,.h - cache string rep, op==, istream/ostream ops. src/qpid/broker/Broker.h,.cpp - removed getUrl() src/qpid/cluster/Cluster.h,.cpp - use Url class src/qpid/cluster/ClusterPlugin.cpp - added --url configuration. ................ r617543 | rhs | 2008-02-01 16:16:22 +0000 (Fri, 01 Feb 2008) | 1 line more dependency fixes ................ r617556 | rhs | 2008-02-01 16:58:16 +0000 (Fri, 01 Feb 2008) | 1 line fixed build order ................ r617582 | aconway | 2008-02-01 18:02:42 +0000 (Fri, 01 Feb 2008) | 8 lines Cluster code fixed for changes in codebase. - Using SessionManager::Observer - Better ais test setup, only need to be member of ais group. - Update cluster_client - SessionState holds handler chains. - Cluster frames include next handler ptr. ................ r617590 | gsim | 2008-02-01 18:21:01 +0000 (Fri, 01 Feb 2008) | 3 lines Initial cut of inter-broker bridging ................ r617592 | gsim | 2008-02-01 18:26:08 +0000 (Fri, 01 Feb 2008) | 3 lines Oops, missed makefile in last commit. ................ r617594 | gsim | 2008-02-01 18:27:23 +0000 (Fri, 01 Feb 2008) | 3 lines Missed a couple of new files in previous commit. ................ r617596 | gsim | 2008-02-01 18:28:14 +0000 (Fri, 01 Feb 2008) | 3 lines Use 'guest' as default uid and password for tests. ................ r617597 | aconway | 2008-02-01 18:28:46 +0000 (Fri, 01 Feb 2008) | 1 line svn:ignore properties. ................ r617607 | gsim | 2008-02-01 18:54:27 +0000 (Fri, 01 Feb 2008) | 3 lines Remove includes to files no longer generated. ................ r617662 | rhs | 2008-02-01 21:43:20 +0000 (Fri, 01 Feb 2008) | 1 line added a detailed help target and cleaned up descriptions ................ r618412 | cctrieloff | 2008-02-04 20:11:39 +0000 (Mon, 04 Feb 2008) | 1 line add interval pu/sub options to test many concurrent connections ................ r618428 | cctrieloff | 2008-02-04 20:38:19 +0000 (Mon, 04 Feb 2008) | 1 line Turn management on by defualt ................ r618436 | rhs | 2008-02-04 21:05:39 +0000 (Mon, 04 Feb 2008) | 1 line set up logging for tests ................ r618437 | rhs | 2008-02-04 21:06:35 +0000 (Mon, 04 Feb 2008) | 1 line added exception callback to ConnectonDelegate ................ r618450 | rhs | 2008-02-04 21:43:01 +0000 (Mon, 04 Feb 2008) | 1 line clear the report directory before generating test report ................ r618462 | rhs | 2008-02-04 22:11:22 +0000 (Mon, 04 Feb 2008) | 1 line added a TransportException ................ r618519 | rajith | 2008-02-05 02:37:13 +0000 (Tue, 05 Feb 2008) | 2 lines Added code to connect the network error exceptions to the JMS Exception listener. ................ r618770 | aconway | 2008-02-05 20:44:14 +0000 (Tue, 05 Feb 2008) | 16 lines Added testSendToSelf for https://bugzilla.redhat.com/show_bug.cgi?id=410551 M src/tests/ClientSessionTest.cpp Disabled management for BrokerFixture - management singleton assumes only one broker per process, causes shutdown races with fixtures. M src/tests/BrokerFixture.h Made Timer::stop() idempotent M src/qpid/broker/Timer.cpp M src/qpid/broker/Timer.h Added STL-style size() and empty() M src/qpid/sys/BlockingQueue.h M src/qpid/client/LocalQueue.cpp M src/qpid/client/LocalQueue.h ................ r618982 | arnaudsimon | 2008-02-06 12:47:27 +0000 (Wed, 06 Feb 2008) | 1 line Changed for using AUTO_ACK session ................ r618984 | arnaudsimon | 2008-02-06 12:52:19 +0000 (Wed, 06 Feb 2008) | 1 line Byte message were losing their payload see QPI-779 ................ r618986 | arnaudsimon | 2008-02-06 12:56:20 +0000 (Wed, 06 Feb 2008) | 1 line QPID-777 and QPID-778 ................ r618989 | arnaudsimon | 2008-02-06 13:40:38 +0000 (Wed, 06 Feb 2008) | 1 line Changed session mode to AUTO_ACK so mesages are removed from broker between two tests. ................ r619012 | arnaudsimon | 2008-02-06 15:14:42 +0000 (Wed, 06 Feb 2008) | 1 line Changed for using Window mode see QPID-778 ................ r619043 | arnaudsimon | 2008-02-06 16:00:22 +0000 (Wed, 06 Feb 2008) | 1 line Added close logic for releasing pre-fetched messages, see QPID-778 ................ r619148 | aconway | 2008-02-06 20:49:05 +0000 (Wed, 06 Feb 2008) | 8 lines Replaced --enable-cluster option with --with-cpg to enable/disable CPG. make rpmbuild uses --with-cpg, will fail unless openais is installed. Normal builds respect explicit --with/--without, or use CPG if installed when neither is specified. ................ r619182 | rhs | 2008-02-06 22:13:31 +0000 (Wed, 06 Feb 2008) | 1 line added close notification ................ r619189 | rajith | 2008-02-06 22:36:02 +0000 (Wed, 06 Feb 2008) | 2 lines Added code to pass in the throwable to the closedListener so that it can be included in the JMS Exception thrown via the ExceptionListener ................ r619192 | rajith | 2008-02-06 22:38:12 +0000 (Wed, 06 Feb 2008) | 2 lines Removed the System.outs from the code. ................ r619200 | aconway | 2008-02-06 22:49:10 +0000 (Wed, 06 Feb 2008) | 12 lines From Ted Ross, https://issues.apache.org/jira/browse/QPID-780 Implementation of --data-dir for qpidd. Additions by myself: - set QPID_DATA_DIR= in test env so existing tests can run with no data dir. - src/Makefile.am and qpidc.spec.in install /var/lib/qpidd directory. NOTE: qpidd with no optoins will now FAIL if it cannot write /var/lib/qpidd. Start it with --data-dir= or set QPID_DATA_DIR= in your environement to run with no data directory. ................ r619204 | rhs | 2008-02-06 22:50:54 +0000 (Wed, 06 Feb 2008) | 1 line fixed log level defaults ................ r619424 | aconway | 2008-02-07 14:25:32 +0000 (Thu, 07 Feb 2008) | 2 lines Quote unprintable control characters in log output. ................ r619538 | rhs | 2008-02-07 18:15:20 +0000 (Thu, 07 Feb 2008) | 1 line added test for exception listener; fixed NPE ................ r619604 | aconway | 2008-02-07 19:51:01 +0000 (Thu, 07 Feb 2008) | 3 lines qpidc.spec.in: Build --without-cpg, no point adding the dependency till cluster functionality is available. ................ r619611 | aconway | 2008-02-07 20:02:14 +0000 (Thu, 07 Feb 2008) | 2 lines Disable QPID_DATA_DIR for verify tests. ................ r619626 | nsantos | 2008-02-07 20:18:54 +0000 (Thu, 07 Feb 2008) | 1 line create missing dir ................ r619636 | aconway | 2008-02-07 21:06:01 +0000 (Thu, 07 Feb 2008) | 2 lines Removed signal-unsafe code from shutdown handler. ................ r619646 | aconway | 2008-02-07 21:31:21 +0000 (Thu, 07 Feb 2008) | 3 lines Clean shutdown of broker: Moved signal unsafe code from Broker::shutdown to ~Broker, moved shutdown logging from shutdown handler to main() in qpidd.cpp ................ r619888 | rhs | 2008-02-08 13:50:55 +0000 (Fri, 08 Feb 2008) | 1 line simplied QpidTestCase's interface for running non vm brokers and set up build system to run cpp tests easily ................ r619903 | aconway | 2008-02-08 15:01:30 +0000 (Fri, 08 Feb 2008) | 11 lines Refactored verify scripts, added verify for python Examples. To verify an example: <qpid-trunk>/bin/verify <example-dir> See comments in bin/verify for more details. Changes: - Each example dir has its own verify script and verify.in. - Added sys.stdout.flush() to som python examples so verify can tell when they're ready. - Made python examples svn:executable. - C++ examples/Makefile.am runs python examples ................ r619941 | aconway | 2008-02-08 17:02:55 +0000 (Fri, 08 Feb 2008) | 3 lines Added verify scripts to run mixed python/cpp examples. bin/verify_all runs all examples. ................ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/thegreatmerge@620468 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Ted Ross, QPID-744Alan Conway2008-01-281-5/+9
| | | | | | | | | | Two bugs are fixed in this patch: 1) A plug-in module with no configuration options caused the broker to crash when the module was loaded. 2) Failure to load a module called out in --load-module now causes the broker to exit. Failure to load a module via --load-dir is logged but does not cause the broker to exit. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@615910 13f79535-47bb-0310-9956-ffa450edef68
* Fixed re-entry problem with exceptions throw in logger code.Alan Conway2008-01-242-3/+4
| | | | | | | | - src/qpid/log/Logger.cpp - src/qpid/log/Statement.cpp git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@615075 13f79535-47bb-0310-9956-ffa450edef68
* Fix error in NDEBUG builds.Alan Conway2008-01-241-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@615073 13f79535-47bb-0310-9956-ffa450edef68
* Improved/additional client API tests.Alan Conway2008-01-2428-509/+336
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replaced InProcessBroker with a more accurate loopback BrokerFixture. - Added asserts for mutex/condition/thread errors in debug build. - Added client tests for several exception conditions. - Added peer address to log ouput, client/server distinguished by (addr) or [addr] - Fixed various deadlocks & races exposed by the new asserts & tests. File-by-file: New BrokerFixture replaces InProcessBroker D src/tests/InProcessBroker.h M src/tests/BrokerFixture.h M src/tests/SocketProxy.h M src/tests/Makefile.am Made it run a bit faster. M src/tests/quick_perftest Redundant D src/tests/APRBaseTest.cpp Updated tests to use BrokerFixture M src/tests/ClientChannelTest.cpp M src/tests/exception_test.cpp M src/tests/ClientSessionTest.cpp Print thread IDs in decimal, same as GDB. M src/qpid/log/Logger.cpp Assert mutex/condition ops in debug build. M src/qpid/sys/posix/check.h M src/qpid/sys/posix/Mutex.h M src/qpid/sys/posix/Condition.h M src/qpid/sys/posix/Thread.h Added toFd() so SocketProxy can use ::select() M src/qpid/sys/Socket.h M src/qpid/sys/posix/Socket.cpp Fixes for races & deadlocks shown up by new tests & asserts. Mostly shutdown/close issues. M src/qpid/client/ConnectionHandler.h M src/qpid/client/ConnectionImpl.cpp M src/qpid/client/Demux.h M src/qpid/client/SessionCore.cpp M src/qpid/client/ConnectionHandler.cpp M src/qpid/client/Connector.h M src/qpid/client/Demux.cpp M src/qpid/client/Dispatcher.cpp M src/qpid/client/ConnectionImpl.h Logging peer address. M src/qpid/sys/AsynchIOAcceptor.cpp git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@615063 13f79535-47bb-0310-9956-ffa450edef68
* examples/Makefile.am:Alan Conway2008-01-232-2/+3
| | | | | | | | | | | | | | - verify.tar target, tars up verify script for easy transport to installation. examples/examples/pub-sub/verify.in: fixed typeo. examples/verify: don't kill the pub-sub listener, it should exit gracefully. src/qpid/client/Dispatcher.cpp src/qpid/client/SubscriptionManager.cpp - Fix uninitialized autoStop member variable. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@614587 13f79535-47bb-0310-9956-ffa450edef68
* Some minor changes to doc; primarily aimed at making the list of classesGordon Sim2008-01-2311-11/+29
| | | | | | | | listed as client API more useful. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@614551 13f79535-47bb-0310-9956-ffa450edef68
* qpid/IList.h: Added public T* getNext(), T* getPrev() to IListNode so node ↵Alan Conway2008-01-182-11/+37
| | | | | | | | | subclasses can follow their own links. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@613290 13f79535-47bb-0310-9956-ffa450edef68
* Add optional host, port arguments to all example clients.Alan Conway2008-01-182-3/+15
| | | | | | | | | | Verify can start private broker & pass host/port to examples, by default it still uses local host/standard port. Added host:port to Socket error messages. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@613018 13f79535-47bb-0310-9956-ffa450edef68
* Added a test to measure latency (still needs refining, still evolving)Gordon Sim2008-01-172-0/+376
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612986 13f79535-47bb-0310-9956-ffa450edef68
* Removed erroneous commentGordon Sim2008-01-171-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612977 13f79535-47bb-0310-9956-ffa450edef68
* Intrusive list template qpid::IList and unit tests.Alan Conway2008-01-175-13/+433
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612976 13f79535-47bb-0310-9956-ffa450edef68
* Set the exchange field in delivery properties on the broker.Gordon Sim2008-01-171-0/+1
| | | | | | | | (required an adjustment to the size of messages in the bytes based credit test) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612805 13f79535-47bb-0310-9956-ffa450edef68
* Add option to perftest to run for n iterations and print averages of all ↵Gordon Sim2008-01-161-75/+128
| | | | | | reported rates. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612478 13f79535-47bb-0310-9956-ffa450edef68
* Added option for making each published message have unique data (that can be ↵Gordon Sim2008-01-151-5/+26
| | | | | | tracked e.g. for latency measurement) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@612086 13f79535-47bb-0310-9956-ffa450edef68
* From https://issues.apache.org/jira/browse/QPID-737 by Ted Ross.Alan Conway2008-01-141-3/+3
| | | | | | | | | The new --load-dir and --load options don't work with boost-1.33. This older version considers the option --load to be ambiguous. This patch change --load to --load-module to remove the ambiguity. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611876 13f79535-47bb-0310-9956-ffa450edef68
* Apply patch from QPID-732 by Ted Ross.Alan Conway2008-01-1413-80/+210
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The attached patch provides support for plugin modules in the C++ broker. - Plugins are supported (--load <lib>, --load-dir <dir> options provided) - Command options may be extended by plugins. - A workaround was added to make config-file parsing tolerant of unregistered options. - Store-specific options were removed so they can be supplied by a plugin - A pre-log facility was introduced so log messages can be generated prior to the initialization of the logging module. File-by-file details: M cpp/src/qpidd.cpp Added support for loadable plugin modules. This involves a two-phased handling of command line/config options. Phase-1 determines which modules to load and phase-2 is based on all of the command-line options supplied by qpidd and the loaded plugins. M cpp/src/Makefile.am Added dependency for boost_filesystem library. M cpp/src/qpid/Plugin.h Added 'earlyInitialize' method. Plugins are now initialized at two points: earlyInitialize is called prior to broker initialization and initialize is called at the end of broker init. This allows modules like the store to be hooked in early and other modules to be able to assume that the broker target is fully functional. M cpp/src/qpid/cluster/ClusterPlugin.cpp Added stub for the new pure-virtual earlyInitialize method. M cpp/src/qpid/Options.h M cpp/src/qpid/Options.cpp Added 'allowUnknown' option in the parse method. This is needed in phase-1 command processing when there are options for not-yet-loaded plugin modules. Because the stable version of boost does not permit 'allowUnknown' for config files, a workaround has been implemented in this module to pre-filter the config file text removing lines that represent unknown options. M cpp/src/qpid/broker/Broker.h M cpp/src/qpid/broker/Broker.cpp Removed all store-specific command options. Updated logic to allow the store to be a plugin module. M cpp/src/qpid/broker/DtxManager.h M cpp/src/qpid/broker/DtxManager.cpp M cpp/src/qpid/broker/QueueRegistry.h M cpp/src/qpid/broker/QueueRegistry.cpp Changed API to these classes such that the store is no longer supplied in the constructor but is supplied later, before any operations are called for. M cpp/src/qpid/broker/MessageStoreModule.h M cpp/src/qpid/broker/MessageStoreModule.cpp This module is still needed to provide "exception transfer" service. It was changed to not load the store module but rather use the already-loaded plugin store. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611823 13f79535-47bb-0310-9956-ffa450edef68
* Apply patch from QPID-732 by Ted Ross.Alan Conway2008-01-141-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The attached patch provides support for plugin modules in the C++ broker. - Plugins are supported (--load <lib>, --load-dir <dir> options provided) - Command options may be extended by plugins. - A workaround was added to make config-file parsing tolerant of unregistered options. - Store-specific options were removed so they can be supplied by a plugin - A pre-log facility was introduced so log messages can be generated prior to the initialization of the logging module. File-by-file details: M cpp/src/qpidd.cpp Added support for loadable plugin modules. This involves a two-phased handling of command line/config options. Phase-1 determines which modules to load and phase-2 is based on all of the command-line options supplied by qpidd and the loaded plugins. M cpp/src/Makefile.am Added dependency for boost_filesystem library. M cpp/src/qpid/Plugin.h Added 'earlyInitialize' method. Plugins are now initialized at two points: earlyInitialize is called prior to broker initialization and initialize is called at the end of broker init. This allows modules like the store to be hooked in early and other modules to be able to assume that the broker target is fully functional. M cpp/src/qpid/cluster/ClusterPlugin.cpp Added stub for the new pure-virtual earlyInitialize method. M cpp/src/qpid/Options.h M cpp/src/qpid/Options.cpp Added 'allowUnknown' option in the parse method. This is needed in phase-1 command processing when there are options for not-yet-loaded plugin modules. Because the stable version of boost does not permit 'allowUnknown' for config files, a workaround has been implemented in this module to pre-filter the config file text removing lines that represent unknown options. M cpp/src/qpid/broker/Broker.h M cpp/src/qpid/broker/Broker.cpp Removed all store-specific command options. Updated logic to allow the store to be a plugin module. M cpp/src/qpid/broker/DtxManager.h M cpp/src/qpid/broker/DtxManager.cpp M cpp/src/qpid/broker/QueueRegistry.h M cpp/src/qpid/broker/QueueRegistry.cpp Changed API to these classes such that the store is no longer supplied in the constructor but is supplied later, before any operations are called for. M cpp/src/qpid/broker/MessageStoreModule.h M cpp/src/qpid/broker/MessageStoreModule.cpp This module is still needed to provide "exception transfer" service. It was changed to not load the store module but rather use the already-loaded plugin store. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611822 13f79535-47bb-0310-9956-ffa450edef68
* Allow more than one message to be encoded into a single buffer if available.Gordon Sim2008-01-111-2/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611205 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in Connector - incorrect use of iterator.Alan Conway2008-01-112-11/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@611009 13f79535-47bb-0310-9956-ffa450edef68
* Client always collects at least an entire frameset into a single bufferAlan Conway2008-01-107-240/+287
| | | | | | | | | | | | | when possible. Based on patch from Gordon Sim. - Refactor Connector::writebuff, ::send as Connector::Writer - Collect frames up to EOF notifying AIO write. - Encode all available complete framesets into buffers as compactly as possible. - Logging buffer size and frames encoded per write for client and broker. - framing::Buffer added getPosition(), getSize(), default ctor, copy ctor. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@610972 13f79535-47bb-0310-9956-ffa450edef68
* Extra level of exception handling to prevent core dumps.Gordon Sim2008-01-091-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@610354 13f79535-47bb-0310-9956-ffa450edef68
* Patch from https://issues.apache.org/jira/browse/QPID-722 by Ted Ross:Alan Conway2008-01-076-11/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Two changes in this patch: 1) Management object IDs are now persistent for persistent (durable) objects. This is required to provide continuity of historical management data across broker restarts. The format of object IDs now indicates whether they are transient or persistent. The upper bit (bit 63) is 0 for transient IDs and 1 for persistent IDs. 2) Changes have been made to the management code generator in preparation for allowing it to be used by outside projects that wish to use the broker Plugin API for management access. File-by-file notes: M python/mgmt-cli/managementdata.py Enhanced user-friendly display of 64-bit object IDs to differentiate between persistent IDs and non-persistent IDs. M cpp/src/Makefile.am Changed command line format for call to the management code generator. M cpp/src/qpid/broker/Broker.cpp M cpp/src/qpid/broker/Vhost.cpp M cpp/src/qpid/broker/Queue.cpp Updated calls to ManagementAgent::addObject to use the new support for persistent IDs, ensuring that the management object IDs for persistent objects are themselves persistent. M cpp/src/qpid/management/ManagementAgent.h M cpp/src/qpid/management/ManagementAgent.cpp Added support (using defaulted arguments) to ManagementAgent::addObject for persistent object IDs M cpp/managementgen/generate.py M cpp/managementgen/schema.py M cpp/managementgen/main.py Added the ability for templates to set variables to be used during code generation. Makefile fragment is now generated using a template rather than hard-code. This was done to help non-qpid code to use the code generator for management-via-qpid support. M cpp/managementgen/templates/Args.h M cpp/managementgen/templates/Class.cpp M cpp/managementgen/templates/Class.h Use a generator variable to define the comment prefix. A cpp/managementgen/templates/Makefile.mk New template for the qpid makefile fragment. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@609672 13f79535-47bb-0310-9956-ffa450edef68
* Ensure tx test retains durability of 'transfered' messages.Gordon Sim2008-01-041-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608948 13f79535-47bb-0310-9956-ffa450edef68
* Additional test for excercising transactional behaviour.Gordon Sim2008-01-042-0/+275
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608916 13f79535-47bb-0310-9956-ffa450edef68
* Provide method to test for empty local queue.Gordon Sim2008-01-043-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608915 13f79535-47bb-0310-9956-ffa450edef68
* Makefile.am: added check-long target to run perftest scenarios.Alan Conway2008-01-047-5/+25
| | | | | | | | | Not run as part of normal check target. Takes about 5 minutes to run on an amd-32 optimized build. For a longer run, increase PERFTEST_MULT in run_perftest. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608892 13f79535-47bb-0310-9956-ffa450edef68
* added missing header fileNuno Santos2008-01-031-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608649 13f79535-47bb-0310-9956-ffa450edef68
* patch-715 (tross)Carl C. Trieloff2008-01-0216-48/+258
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@608135 13f79535-47bb-0310-9956-ffa450edef68
* Fixed bug in completion tracking.Gordon Sim2007-12-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@606176 13f79535-47bb-0310-9956-ffa450edef68
* Probable fix for QPID-712:Andrew Stitcher2007-12-201-1/+3
| | | | | | | | | Poller::epollToDirection now treats EPOLLERR as equivalent to EPOLLHUP for purposes of indicating a disconnect from the peer on the write side of the connection git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@605982 13f79535-47bb-0310-9956-ffa450edef68
* Fixed to ensure that the correct exchange is used for different modes. ↵Gordon Sim2007-12-201-7/+8
| | | | | | (Previously the default exchange was being used regardless of mode; if a shared test was run followed by e.g. a fanout test the messages would collect in the shared queue which had no listeners and the memroy buildup skewed test results). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@605888 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to max frame size default and fragmentation on broker.Gordon Sim2007-12-187-8/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@605251 13f79535-47bb-0310-9956-ffa450edef68
* * Limited time allowed for reading on a single connection in a single go to 2msAndrew Stitcher2007-12-173-16/+59
| | | | | | | | * Limit bytes allowed to be written on a connection on a single go to the max ever read * Small performance fix for appending to FrameSets git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@604983 13f79535-47bb-0310-9956-ffa450edef68
* Add log message when broker closes connectionGordon Sim2007-12-171-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@604947 13f79535-47bb-0310-9956-ffa450edef68
* Fixed fragmentation (content bodies were 1 byte smaller than they could be ↵Gordon Sim2007-12-171-1/+1
| | | | | | due to including end of frame marker in the overhead) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@604823 13f79535-47bb-0310-9956-ffa450edef68
* Changed to use the new session api, made size and max-frame-size configurable.Gordon Sim2007-12-171-74/+83
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@604821 13f79535-47bb-0310-9956-ffa450edef68
* Fix sequence numbers and sequence checks in perftest.Alan Conway2007-12-141-17/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@604272 13f79535-47bb-0310-9956-ffa450edef68
* Updated tests expectations inline with recent change to default logging outputGordon Sim2007-12-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@604244 13f79535-47bb-0310-9956-ffa450edef68