summaryrefslogtreecommitdiff
path: root/qpid/cpp/include
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4730: Losing object references in Perl.Darryl L. Pierce2013-10-041-4/+8
| | | | | | Contributed by Hao Chang Yu <hyu@redhat.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1529269 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2926: Better solution for instantiating qpid::messaging::Handle<> ↵Andrew Stitcher2013-09-231-4/+5
| | | | | | specialisations git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4932: expose reconnect&replay logic for application to control itselfGordon Sim2013-09-061-0/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1520673 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5104: fix for python 2.4Gordon Sim2013-09-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1520552 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5104: make handling of properties in swigged impl match the pure python ↵Gordon Sim2013-09-052-1/+10
| | | | | | impl more closely git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1520416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5079: Remove unused and unecessary member of MessagingException classAndrew Stitcher2013-08-221-3/+0
| | | | | | - Potentially an ABI change but noone can really have used this for anything. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1516551 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5079: Get library import/export declarations working for linuxAndrew Stitcher2013-08-221-4/+8
| | | | | | - Only qpidmessaging and qpidtypes libraries are affected git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1516549 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-5067: Changed language bindings to use UTF-8 encoding on strings."Darryl L. Pierce2013-08-143-19/+8
| | | | | | This reverts commit e9abca572cf1845bd3ad25238e3edbeef10e61a6. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1513818 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-5067: Fixed an unmatched closing parenthesis."Darryl L. Pierce2013-08-141-1/+1
| | | | | | This reverts commit 87a60f02cfe49d99fda6d867108c3c7c6d1ad122. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1513817 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5040: further fix for windows buildGordon Sim2013-08-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1513624 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5040: support for sending and receiving messages with AmqpValue sectionsGordon Sim2013-08-131-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1513536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5067: Fixed an unmatched closing parenthesis.Darryl L. Pierce2013-08-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1513256 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5067: Changed language bindings to use UTF-8 encoding on strings.Darryl L. Pierce2013-08-093-8/+19
| | | | | | | Now, by default, all strings will come out of the dynamic languages and be encoded using UTF-8. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1512482 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5051: fixes for swig test failures on RHEL5 (and the failure to detect ↵Gordon Sim2013-08-071-1/+2
| | | | | | them) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1511483 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Corrected use of boost_hash, failing to build on some compilers.Alan Conway2013-08-051-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1510597 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4327: HA TX transactions, blocking wait for prepareAlan Conway2013-08-011-0/+1
| | | | | | | | | | | Backups send prepare messages to primary, primary delays completion of prepare till all are prepared (or there is a failure). This is NOT the production solution - blocking could cause a deadlock. We need to introduce asynchronous completion of prepare without blocking. This interim solution allows testing on other aspects of TX support. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1509424 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4327: HA TX transactions: basic replication.Alan Conway2013-08-011-0/+106
| | | | | | | | | | | | | | | On primary a PrimaryTxObserver observes a transaction's TxBuffer and generates transaction events on a tx-replication-queue. On the backup a TxReplicator receives the events and constructs a TxBuffer equivalent to the one in the primary. Unfinished: - Primary does not wait for backups to prepare() before committing. - All connected backups are assumed to be in the transaction, there are race conditions around brokers joining/leavinv where this assumption is invalid. - Need more tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1509423 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4942: Include file not part of supported APIAndrew Stitcher2013-07-311-91/+0
| | | | | | (missed out from earlier commit) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1508915 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4942: Only install include files that are used by the supported APIAndrew Stitcher2013-07-2676-7654/+0
| | | | | | | - Since we removed a whole lot of old API code we can drastically cut down on the header files that we export. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507469 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4940: Remove qmf1 console codeAndrew Stitcher2013-07-2613-1336/+0
| | | | | | QPID-4941: Remove qmf1 console examples git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507467 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4940: Remove obsolete qmf codeAndrew Stitcher2013-07-2616-1825/+0
| | | | | | | | | - Remove qmf1 engine code - Remove qmf1 language bindings - Remove qmf1 agent code (it depends on engine) - Fix up cmake to build git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507464 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: tweak code to allow better lock analysis by CoverityKenneth Anthony Giusti2013-07-021-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1498926 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fixed two minor typos in doxygenGordon Sim2013-06-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1496467 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix compile errors in Windows build.Alan Conway2013-06-181-2/+2
| | | | | | Missing EXTERN declaration in types/Uuid.h. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1494290 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4348: HA Use independent sequence numbers for identifying messagesAlan Conway2013-06-171-1/+10
| | | | | | | | | | | | | | | Previously HA code used queue sequence numbers to identify messasges. This assumes that message sequence is identical on primary and backup. Implementing new features (for example transactions) requires that we tolerate ordering differences between primary and backups. This patch introduces a new, queue-scoped HA sequence number managed by the HA plugin. The HA ID is set *before* the message is enqueued and assigned a queue sequence number. This means it is possible to identify messages before they are enqueued, e.g. messages in an open transaction. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493771 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added missing const qualifiers to Buffer get functions.Alan Conway2013-05-221-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1485510 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA Use qpid::Address in ha::BrokerInfo rather than host/port.Alan Conway2013-05-161-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4826: Patch Perl bindings memory leakDarryl L. Pierce2013-05-101-0/+1
| | | | | | | | | | | Marked the VariantToPerl() method in swig_perl_typemaps.i as returning a new object, which indicates to the Perl bindings that it needs to keep track of the return value for garbage collection. Also removed the Swig 1.3.32 minimum restriction to enable building on RHEL5 systems. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1481021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4808: Augmented documentation of connection options and added ↵Gordon Sim2013-05-071-9/+14
| | | | | | description of the 'protocol' option git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1479855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4651: export symbol directivesGordon Sim2013-04-301-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477800 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4651: C++ Broker add --log-disable optionCharles E. Rolke2013-04-262-35/+41
| | | | | | | | Reviewed at https://reviews.apache.org/r/10799/ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1476409 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4748: Consistent handling of durations - apply changes to Windows platformCharles E. Rolke2013-04-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1470002 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4748: Consistent handling of durations in broker configuration, ↵Alan Conway2013-04-191-0/+1
| | | | | | | | | | | | | | | | | | | | allowing sub-second intervals. Provides string conversion for sys::Duration, allowing intervals to be expressed like this: 10.5 - value in seconds, backward compatible. 10.5s - value in seconds 10.5ms - value in milliseconds 10.5us - value in microseconds 10.5ns - value in nanoseconds Converted the folllowing broker options to Duration: mgmtPubInterval, queueCleanInterval, linkMaintenanceInterval, linkHeartbeatInterval Did not convert: maxNegotiateTime. This is expressed in milliseconds so it would not be backward compatible to make it a Duration. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1469661 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3689: Fix previous change of command line option handlingAndrew Stitcher2013-04-181-0/+4
| | | | | | | Now introduced new command line option type that is a pure command line switch which can take no boolean argument. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1469466 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3689: Change tcp nodelay to be the defaultAndrew Stitcher2013-04-171-1/+7
| | | | | | | | | This change also alters the implementation of simple switch like options when using boost version 1.35 and later. We now allow these switches to also take an optional "=yes" or "=no" (and similar) argument. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1469088 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921: Move code from Statement.h to Statement.cppAndrew Stitcher2013-04-161-59/+0
| | | | | | So it won't slow down the build anymore. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1468574 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4586: fixes for dynamic sources/targets and on demand creation of nodesGordon Sim2013-03-233-0/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1460198 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4493: Fixes memory leak in Perl bindings.Darryl L. Pierce2013-03-181-15/+18
| | | | | | Contributed by: Jimmy Jones <jimmyjones2@gmx.co.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457923 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4626: Amqp 0-10 Message getProperty() does not correctly return booleansAndrew Stitcher2013-03-081-0/+2
| | | | | | - Add codec function to convert FieldValue to Variant to support this change git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454436 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4630: HA Fix starting from persistent store.Andrew Stitcher2013-03-081-1/+2
| | | | | | | Reengineered code for converting a Variant to a FieldValue by reinstating code previously removed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454435 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4630: HA Fix starting from persistent store.Alan Conway2013-03-071-0/+4
| | | | | | | | | | This was implemented in r1390123 but broken by subsequent changes. When re-starting a persistent HA cluster, the broker that becomes primary keeps its recovered queues while backup brokers discard their recovered queues and catch up from the primary. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4629 Improve validation of received frames.Andrew Stitcher2013-03-052-1/+2
| | | | | | | | | | | | | | | | | - Added checks to Buffer to ensure no buffer overruns occur; - Fixed an unsigned comparison error in the checking function. - Improved FieldValue decoding to check we've actually got data before allocating the space for it. - Disallowed large arrays (greater than 256 elements) of zero length elements - avoids potential memory exhaustion problems. [Fixes from Florian Weimer, Red Hat Product Security Team, lightly modified] This change fixes these vulnerabilities CVE-2012-4458 CVE-2012-4459 CVE-2012-4460 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453031 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4588: Moved the swig descriptors to the include/qpid directory.Darryl L. Pierce2013-02-193-0/+1149
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1447877 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4054: C++ Broker connection limits specified per-userCharles E. Rolke2013-02-121-0/+5
| | | | | | | | | | | | | | From the self-test log file: 2013-02-12 15:33:53 [Broker] notice Changing log hires timestamp to 1 2013-02-12 15:33:53.219003940 [Broker] debug Broker::setLogHiresTimestamp() ... 2013-02-12 15:33:53.491318800 [Broker] notice Changing log hires timestamp to 0 2013-02-12 15:33:53 [Broker] debug Broker::setLogHiresTimestamp() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1445358 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4575 Visual Studio 2012 requires exported destructorCharles E. Rolke2013-02-081-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1444277 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4536: Remove functionality which automatically makes a brokerAndrew Stitcher2013-01-142-13/+0
| | | | | | advertise all its network interfaces as potential failover endpoints. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1433061 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4416: Perl bindings fail on getContentPtr with null in the contentDarryl L. Pierce2012-12-181-0/+25
| | | | | | Contributed by Jimmy Jones <jimmyjones2@gmx.co.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423582 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4466: Cannot multiply Durations in Perl bindings.Darryl L. Pierce2012-12-181-0/+6
| | | | | | | | | Adds a swig wrapper for the operator* code from C++ into the Perl bindings. Contributed by Jimmy Jones <jimmyjones2@gmx.co.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423566 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4449 - Reverted much of the original change and re-implemented the fix ↵Ted Ross2012-11-302-3/+13
| | | | | | | | | | in a simpler way. The build-define _IN_QPID_BROKER is now used for modules built in the broker. The shared-pointer changes are conditionally compiled only for in-broker cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415796 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4207 : Relocated all swig .i files to the include directory.Darryl L. Pierce2012-11-273-0/+195
| | | | | | | Updated the build systems to use the new locations. Updated all other .i files to not use relative paths when referencing them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414294 13f79535-47bb-0310-9956-ffa450edef68