summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* NO-JIRA: fix trunk break, "except Exception as e" syntax is invalid in ↵Alan Conway2011-07-221-2/+2
| | | | | | python 2.4 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1149733 13f79535-47bb-0310-9956-ffa450edef68
* Corrected qpid-client-test's name when setting up the test script. NO-JIRAStephen D. Huston2011-07-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1149571 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove unused #include file, causing compile errors on rhel5.Alan Conway2011-07-201-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1148870 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3304: fixes to windows build, broken by r1148503Gordon Sim2011-07-202-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1148774 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3304: Patch from Gordon Sim plus tests which detect the condition being ↵Kim van der Riet2011-07-1922-105/+2471
| | | | | | solved. Added a make check-long target to the Makefile in the cpp dir to make it easier to run the long tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1148503 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Trivial code clean-up - LegacyLVQ to use isInBrokerAlan Conway2011-07-191-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1148499 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-152-0/+101
| | | | | | | | | | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Rakefile for automating tasks. The Rakefile allows us to run both unit and integration tests. Also included a README.rdoc file. All tests are in the "test:" namespace, and can be run with the commands: rake test:units rake test:integrations rake test:all # runs both unit and integraton tests rake test # alias for test:all git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147252 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+393
| | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Connection class and its unit tests. The Connection class is packaged as follows: Qpid::Messaging::Connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147249 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+633
| | | | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Session class and its unit tests. The Session class is packaged as follows: Qpid::Messaging::Session A Session can create a Sender or a Receiver endpoint. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+342
| | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Receiver class and its unit tests. The class is packaged as follows: Qpid::Messaging::Receiver git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147246 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+267
| | | | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Sender class and its unit tests. The class is packaged as follows: Qpid::Messaging::Sender A Sender can send a message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+438
| | | | | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Message class and its unit tests. The class is packaged as: Qpid::Messaging::Message A Message can return its content and be used to send a message over an instance of Sender. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147241 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+166
| | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Ruby bindings for Address. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147240 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+204
| | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the encode and decode methods in Qpid::Messaging. These methods differ from the same methods in Cqpid in that they handle working with symbols and other non-string values. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147239 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-152-0/+64
| | | | | | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Duration namespace for duration contants. Added constants to map the C++ values to symbols within Ruby: * FOREVER * IMMEDIATE * MINUTE * SECOND git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147235 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3306 - Provides a more Ruby-like set of APIs on top of the bindings ↵Ted Ross2011-07-154-0/+105
| | | | | | | | | | | | | | created by swig. Applied patch from Darryl Pierce Created the Qpid Ruby libraries. The libraries provide a more Ruby-esque way of using the Qpid libraries that are generated via SWIG. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147234 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed two EXTERN declarations in FieldTable.hTed Ross2011-07-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147147 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2979: Make windows broker advertise PLAIN even when auth is turned off.Gordon Sim2011-07-151-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1147045 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3352: Export method in common lib that is now used from within the ↵Gordon Sim2011-07-131-1/+1
| | | | | | broker. (Previous commit for this issue broker the windows build). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145938 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3355: Declare the wait while waiting for completion. Patch from Jason ↵Gordon Sim2011-07-131-0/+1
| | | | | | Dillaman. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3355: Ensure session is not deleted out from under a sync() callGordon Sim2011-07-131-2/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145935 13f79535-47bb-0310-9956-ffa450edef68
* qpid-3338 fix CMake variable to distinguish toolchains: msvc vs mingwClifford Allan Jansen2011-07-131-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145883 13f79535-47bb-0310-9956-ffa450edef68
* qpid-3256 additional changes to also work for mingwClifford Allan Jansen2011-07-131-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145876 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3352 - Federation bridge doesn't recover from session errorsTed Ross2011-07-126-4/+83
| | | | | | | Applied patch from Jason Dillaman git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3333: Patches from Anthony Foglia to close the gap between ↵Gordon Sim2011-07-121-1/+272
| | | | | | qpid.messaging and swig based python 'binding' (this includes patches 0001 to 0008 as attached to JIRA) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145698 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3344 - Comparisons of const DataAddr objects are incorrectTed Ross2011-07-124-5/+10
| | | | | | | Applied patch from Zane Bitter git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145644 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3275 - QMF Console asynchronous correlation-id should be scoped to the ↵Ted Ross2011-07-124-25/+10
| | | | | | session, not the specific agent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145557 13f79535-47bb-0310-9956-ffa450edef68
* qpid-3256 Windows fix for loader lock hangClifford Allan Jansen2011-07-121-29/+251
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145468 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2905 Code modifications to enable Windows builds with the mingw32 compiler.Charles E. Rolke2011-07-071-0/+1
| | | | | | | | See also checkin 1104662. Add newly created file to Makefile.am windows_dist list to ensure the file is included in the cpp source distribution. This patch is required for 0.12 distributions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143995 13f79535-47bb-0310-9956-ffa450edef68
* JIRA 3337Michael Goulish2011-07-069-42/+16
| | | | | | | | | | | no more defaulting to guest/guest username/password qpidd.sasldb is no longer created -- users who want usernames and passwords in there must create it. but a local qpidd.sasldb is (before this change) being created for 'make check' testing. The etc/sasl2/qpidd.conf file now has an explicit mech list -- so we will no longer default to the system-list. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3309: This fix sets the value of the port number in management if the ↵Kim van der Riet2011-07-051-2/+10
| | | | | | broker is started with a port value of 0. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1143078 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3335: remove stale type conversion codeKenneth Anthony Giusti2011-07-012-194/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141950 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3330: Corrected handling of empty strings (using patch from Anthony ↵Gordon Sim2011-07-012-1/+12
| | | | | | Foglia) and added test case git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141910 13f79535-47bb-0310-9956-ffa450edef68
* Code HaikuMichael Goulish2011-06-301-0/+1
| | | | | | | | | | | | | | ============================ Summer ---------- A new "dot h" Ripened by the drowsy sun. Doh! forgot makefile! git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141644 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3329: Configure C++ client connections to replace url-addresses rather ↵Alan Conway2011-06-304-10/+18
| | | | | | than merging new addresses with old git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1141493 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: minor update to doxygen comment for internal broker interfaceGordon Sim2011-06-281-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1140666 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add reconnect-timeout to test clients to prevent client hangs.Alan Conway2011-06-272-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1140179 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2922 Implement FailoverUpdate class in .NET bindingCharles E. Rolke2011-06-271-0/+1
| | | | | | Suppress copy constructor through tracking reference. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1140178 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3321: revised fix to avoid excessive flushingGordon Sim2011-06-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1139382 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3321: flush occasionally to keep the list of pending accepts from ↵Gordon Sim2011-06-242-2/+15
| | | | | | growing too large git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1139334 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: remove dead code in qpid/cpp/src/qpid/cluster/UpdateClient.cppAlan Conway2011-06-231-9/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1139036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3121: Cluster management inconsistency when using persistent store.Alan Conway2011-06-231-0/+6
| | | | | | | | | | | | | | | | | With the recent changes to asynchronous completion, completeRcvMsg can be called immediately by the thread that enqueues the message or deferred as an IO Callback till after journal threads are done with the message. The choice between these two options is unpredicatable, so the ordering of management events generated during completeRcvMsg unpredictalbe and can cause an inconsistency error when completeRcvMsg updates connection stats. The fix is to mark completeRcvMsg as a cluster-unsafe scope so no management messages will be generated regardless of how it is called. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1138874 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3305 - Variable is created, but not initialized, in VariantToRb.Ted Ross2011-06-211-1/+1
| | | | | | | Applied patch from Darryl Pierce. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1137997 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3129: cluster_tests.LongTests.test_failover hangsAlan Conway2011-06-202-5/+15
| | | | | | | | | Problem: the first broker in the cluster could be killed before the receiver was connected, so the receiver could not fail-over, it didn't have a failover update. Fix: wait for the first message to be received by the receiver before starting the broker-kill loop. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1137657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3200 Ability to acknowledge all messages up to and including a given ↵Charles E. Rolke2011-06-172-0/+27
| | | | | | | | message for a Session .NET Binding keeps up with additions to the Messaging package. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1137034 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix compile error on windows due to assigning an AtomicValue.Alan Conway2011-06-172-5/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3280: further fix compilation error on windowsGordon Sim2011-06-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136862 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3280: fix compilation error on windows introduced by previous commit ↵Gordon Sim2011-06-171-1/+1
| | | | | | for this JIRA git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136852 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3280: Performance problem with TTL messages.Alan Conway2011-06-1535-477/+583
| | | | | | | | | | | | When sending a large number of messages with nonzero TTLs to a cluster, overall message throughput drops by around 20-30% compared to messages with TTL 0. The previous approach to TTL in the cluster is replaced with a simpler "cluster clock". Also QueueCleaner is executed in the cluster timer, and modified to be deterministic in a cluster. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136170 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix sporadic failures in cluster_tests.py test_management.Alan Conway2011-06-152-4/+8
| | | | | | | | Fix timing problems with broker shut down in this test. Kill all brokers in the test, rather than leaving the last 2 running to be cleaned up by the harness. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1136166 13f79535-47bb-0310-9956-ffa450edef68