summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3540 Charles E. Rolke2011-10-141-0/+1
| | | | | | | | Include boost/cstdint.hpp to get uintptr_t git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183469 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3540 Typecasting and alignment requirements for various platformsCharles E. Rolke2011-10-142-11/+10
| | | | | | | | | | | On sparc platform: SchemaHash::update() fails when the hash byte array is cast as two quadwords in a union. This fix uses the union in the definition of the hash byte array to coerce the compiler to place them in quadword alignment when they are created. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183456 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3549 - Improved handling of boolean configuration options in Queue.cppTed Ross2011-10-141-4/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183455 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Removed tabs from sourceTed Ross2011-10-141-24/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183453 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3540 Typecasting and alignment requirements for various platformsCharles E. Rolke2011-10-143-5/+26
| | | | | | | | | | | | | In RefCountedBuffer: 1. Pad the instantiantion address of RefCountedBuffer class up to an 8-byte boundary. 2. Add (void *) casts to 'store' pointer to prevent warnings about alignment. In qpid-perftest: 1. Don't pull a size_t object from an arbitrary buffer address. Instead, memcopy the object by bytes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3528Michael Goulish2011-10-133-5/+247
| | | | | | | | | | | | sasl_set_path() does no check on the given directory, so when you get bad behavior later it can be hard to track down. Especially bad is its policy of defaulting to an alternate standard location if yours fails. That's a potential security bug. So this patch checks that your dir exists, and is readable, before calling sasl_set_path(). Either you get the sasl config dir you were expecting, git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183121 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: code cleanup - move private code out of headers, delete dead code.Kenneth Anthony Giusti2011-10-132-80/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1183001 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2920: Update new-cluster-plan.txt and new-cluster-design.txt.Alan Conway2011-10-132-570/+260
| | | | | | | Filled out outstanding tasks in plan. Added comments on live upgrades to design and plan. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182831 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3544: ACL denials while replicating exclusive queues to a newly joined ↵Alan Conway2011-10-124-9/+5
| | | | | | | | node. Changes missed from previous commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182514 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3417: C++ broker - support adding arrival timestamp to received messages.Kenneth Anthony Giusti2011-10-1212-10/+224
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3544: ACL denials while replicating exclusive queues to a newly joined ↵Alan Conway2011-10-124-7/+16
| | | | | | | | node. Disabled ACL during cluster update process. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182451 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove un-used and incorrect tests from cluster_tests.pyAlan Conway2011-10-121-86/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182450 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3522: Distinguish between null and empty string for sasl responseGordon Sim2011-10-1210-53/+105
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182212 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3543: correctly dequeue messages that are auto-acknowledged.Kenneth Anthony Giusti2011-10-111-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: move message group feature into trunk.Kenneth Anthony Giusti2011-10-0733-235/+2581
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1180050 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2574 Mismatch uint32_t / size_tCharles E. Rolke2011-09-301-4/+4
| | | | | | | There is no logic error in this code. The explicit type conversions silence conversion warnings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177835 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3362 - Creates the Qpid gem file for distribution on RubyGems.orgTed Ross2011-09-308-23/+438
| | | | | | | Committed patch from Darryl Pierce git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177629 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3304Michael Goulish2011-09-291-0/+6
| | | | | | | | | | | ( well, at least related to that jira ^^ ) Without these extra locks I got a broker SEGV during a federation test. 100% reproducible, 5 times. gsim suggested that this might be the issue. After placing these locks, no SEGV in many tries. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1177412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2574 Mismatch uint32_t / size_tCharles E. Rolke2011-09-271-0/+1
| | | | | | | Suppress size mismatch warning in windows builds. The /wd4267 switch can be turned off when -Wconversion is turned on in gcc builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1176412 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3508: Ensure subscription queue is deleted on closing receiver (unless ↵Gordon Sim2011-09-272-1/+19
| | | | | | it has explicitly been configured non-exclusive) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1176363 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3478 VS2010 warning C4251 'needs to have dll interface'Charles E. Rolke2011-09-262-25/+25
| | | | | | Apply proper class/function DLL member export macros. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1176038 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3502: Ensure accepts are sent when required for asynchronously ↵Gordon Sim2011-09-231-3/+1
| | | | | | completed messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1174800 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3496 - Removes erroneous namespace usage.Ted Ross2011-09-202-2/+0
| | | | | | | Committed patch from Darryl Pierce. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1173208 13f79535-47bb-0310-9956-ffa450edef68
* NO_JIRA - fix PYTHONPATH to pick up qmf and enable to store recovery tests ↵Stephen D. Huston2011-09-171-1/+1
| | | | | | to run. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1172143 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3492: Treat string literals in addresses as utf8 encodedGordon Sim2011-09-161-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1171715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3484 - Added missing constructor for EventNotifier, fixed ↵Ted Ross2011-09-166-6/+35
| | | | | | initialization bug. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1171592 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 Visual Studio 2010: c++ expressCharles E. Rolke2011-09-161-1/+1
| | | | | | In template-rexource.h, change hard inclusion of afxres.h to windows.h. Afxres.h is absent in VS2010 Express, and qpid libraries need no AFX definitions. Reported by Darryl Pierce. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1171561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3488: Ensure that message-stop clears any outstanding credit 'window'Gordon Sim2011-09-152-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1171174 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3487: Ensure delivery records for cancelled subscriptions are correctly ↵Gordon Sim2011-09-152-1/+5
| | | | | | cleaned up git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1171078 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3484 - Fixed handling of unused return values to prevent compiler warnings.Ted Ross2011-09-141-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1170860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3484 - QMF Main-Loop IntegrationTed Ross2011-09-1317-132/+890
| | | | | | | Applied patch from Darryl Pierce. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1170314 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3482: Unable to switch off logging to syslog when qpidd runs as daemonAlan Conway2011-09-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1170164 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3360 - Ruby implementation of Qpid example applicationsTed Ross2011-09-124-0/+352
| | | | | | | Committed patch from Darryl Pierce. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1169926 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3480 - Directly encodes and decodes message content in RubyTed Ross2011-09-122-5/+79
| | | | | | | Committed patch from Darryl Pierce. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1169924 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3476: Demote timer warnings to informational statementsGordon Sim2011-09-081-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1166818 13f79535-47bb-0310-9956-ffa450edef68
* Bug 730017, QPID-3475: Cluster authentication ignores cluster-* settings.Alan Conway2011-09-074-5/+123
| | | | | | | | | When a broker joins a cluster, it should be authenticated authenticate using the options --cluster-username, --cluster-password and --cluster-mechanism. The broker was ignoring the settings and joining the cluster even if an invalid user or password are supplied. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1166279 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Restrict the allowed mechanisms, primarily to prevent GSSAPI being ↵Gordon Sim2011-09-071-0/+1
| | | | | | picked as it is most likely not configured correctly for these tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1166176 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Get more information from failed assertionsGordon Sim2011-09-071-18/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1166172 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3360 - Ruby implementation of Qpid example applicationsTed Ross2011-09-064-0/+179
| | | | | | | Applied partial patch from Darryl Pierce git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1165794 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Additional doxygen comments for exceptionsGordon Sim2011-09-053-14/+140
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1165391 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix minor FIXME in brokertest.pyAlan Conway2011-09-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1164249 13f79535-47bb-0310-9956-ffa450edef68
* Bug 727182, QPID-3384 - Support DTX transactions - test for set-dtx-timeoutAlan Conway2011-09-011-5/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1164247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3384: DTX transactions - additional transaction tests.Alan Conway2011-09-011-18/+30
| | | | | | - Update suspended & ended transactions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1164246 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Suppress logging of clock events in cluster code.Alan Conway2011-08-314-20/+34
| | | | | | | Clock events are much too frequent to log, doing so makes trace logging useless for clustered brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163766 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 VS2010 supportCharles E. Rolke2011-08-311-2/+66
| | | | | | Add a dialog to select version of Visual Studio as cmake generator. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163754 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3333: Patch from Anthony Foglia - Handle amqp/list and amqp/map content ↵Gordon Sim2011-08-311-4/+21
| | | | | | (0013) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163537 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3333: Patch from Anthony Foglia - Add connection property to Session ↵Gordon Sim2011-08-311-0/+3
| | | | | | object (0012) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3333: Patch from Anthony Foglia - Convert UUIDs to python equivalents ↵Gordon Sim2011-08-311-0/+56
| | | | | | (0011) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163534 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3333: Patch from Anthony Foglia - Add session property to senders and ↵Gordon Sim2011-08-311-0/+6
| | | | | | receivers (0010) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163529 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3333: Patch from Anthony Foglia - Wrap more exceptions (0009)Gordon Sim2011-08-311-1/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163526 13f79535-47bb-0310-9956-ffa450edef68