summaryrefslogtreecommitdiff
path: root/qpid/cpp
Commit message (Collapse)AuthorAgeFilesLines
* NO-JIRA: Make qpid-receive print a bit more info for message headers/contentAndrew Michael Stitcher2014-04-141-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1587304 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5696: Floats losing their fractional part.Darryl L. Pierce2014-04-141-1/+1
| | | | | | | This is due to doubles be cast as floats when passed into the Variant type causing the loss of value. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1587267 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: added some notes on dynamic node policies and broker initiated ↵Gordon Sim2014-04-141-0/+54
| | | | | | links in qpidd's AMQP 1.0 support git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1587223 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5669: spurious error on connection close (Windows C++): SSL negotiation ↵Clifford Jansen2014-04-143-42/+67
| | | | | | failed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1587222 13f79535-47bb-0310-9956-ffa450edef68
* Updated build instructions also added RDMA prerequisites fixing QPID-5652Andrew Michael Stitcher2014-04-111-16/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1586788 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5681: Fix core dump in interlink_tests.Alan Conway2014-04-112-1/+9
| | | | | | Use native python client for older (<=0.6) versions of proton. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1586646 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5560: Fix ReplicationTests.test_reject to work with SWIG and native ↵Alan Conway2014-04-091-1/+1
| | | | | | | | clients. Catch more general LinkError rather than TargetCapacityExceeded which is only raised by native client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585985 13f79535-47bb-0310-9956-ffa450edef68
* Author: Alan Conway <aconway@redhat.com>Alan Conway2014-04-081-2/+3
| | | | | | | --- log message follows this QPID-5560: Remove use of python if expression, not available in older python (2.4) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585755 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5560: HA tests do not use AMQP 1.0Alan Conway2014-04-0727-599/+857
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HA tests were using only AMQP 0-10. Modified the tests to use AMQP 1.0 if available (still use 0-10 if 1.0 is not available) Fixed bugs uncovered both in the tests and in the AMQP 1.0 implementation. Summary of changes: - brokertest.py: configurable support for of swig vs. native and amqp0-10 vs. 1.0 - default to swig+amqp1.0 if swig is available, native+amqp0-10 otherwise - qpidtoollibs/broker.py: enable use of swig client with BrokerAgent - Swig python client: - support for passing client_properties/properties. - expose AddressHelper pn_data read/write as PnData helper class - set sender/receiver capacity on creation - limited disposition support - rejected messages. - support for additional timeout parameters - expose messaging::Logger, allow log configuration to be set from python. - ha_tests.py: - bind, delete policies not supported by AMQP 1.0, switched to using BrokerAgent QMF. - pass protocol:amqp1.0 connection-option to c++ test clients (qpid-send, qpid-receive) - TX tests forsce use of 0-10 protocol (but still with Swig client if enabled.) - Broker fixes: - Queue::Settings::isTemporary was set in the 0-10 SessionAdapter, moved to Broker::createQueue. - broker::amqp::Session was always setting an exclusive owner in createQueue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5667: C++ broker: QMF subscribe events are not raised with AMQP 1.0Alan Conway2014-04-078-32/+34
| | | | | | | The raise event logic for subscribe/unsubscribe events was in 0-10 specific code. Moved it into Queue.cpp so events are generated regardless of protocol. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5666: HA fails with resource-limit-exceeded: Exceeded replicated queue ↵Alan Conway2014-04-077-26/+55
| | | | | | | | | | | | limit This is regression introduced in r1561206: CommitDate: Fri Jan 24 21:54:59 2014 +0000 QPID-5513: HA backup fails if number of replicated queues exceeds number of channels. Fixed by the current commit. PrimaryQueueLimits was not taking account of queues already on the broker prior to promotion. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585507 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5661: Set default cmake build to exclude linearstoreKim van der Riet2014-04-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584379 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5660: [legacystore] Python tests fail with syntax error on Python 2.4Kim van der Riet2014-04-032-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584347 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5659: Fixes to compile with C++11 (needed to compile with clang on ↵Andrew Stitcher2014-04-0214-19/+26
| | | | | | | | | | | FreeBSD 10) - shared_ptr no longer has a default conversion to bool. - Change in default destructor semantics: by default destructors are now not allowed to throw exceptions. - stringstream no longer has a default conversion to string. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584199 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5658: Small changes to compile with clang's libc++Andrew Stitcher2014-04-024-2/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584198 13f79535-47bb-0310-9956-ffa450edef68
* Change CMake version check from 2.8.0 to 2.8.3 per QPID-5646Stephen D. Huston2014-04-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584055 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5648: restore processing the ConnectionSettings protocol, lost ↵Clifford Allan Jansen2014-04-022-5/+9
| | | | | | inadvertently in QPID-5568 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1583901 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5362: Bugfix for qpid_qls_analyzeKim van der Riet2014-04-012-11/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1583778 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5651: [C++ broker] segfault in ↵Pavel Moravec2014-03-281-0/+1
| | | | | | qpid::linearstore::journal::jdir::clear_dir when declaring durable queue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1582730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5646: Fixes Proton detection to work with non standard pkg-config locationAndrew Stitcher2014-03-271-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1582337 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5646: Fixes Proton detection to work with cmake 2.6Andrew Stitcher2014-03-271-6/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1582187 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5646: Detect and build against earlier versions of Proton.Andrew Stitcher2014-03-272-0/+63
| | | | | | | - This should detect any version of Proton that either uses pkg-config or native cmake config files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1582139 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Use better logic to locate Visual Studio vcvars on 32-/64-bit systemsCharles E. Rolke2014-03-221-14/+62
| | | | | | | | | | Emit a make-install.bat. Install failures from within VS gui are hidden but are in plain sight from the command line. Fix a couple of bad references to boost root directory. Turn off INSTALL_QMFGEN to preclude install failures Replace hard tabs with spaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1580210 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5641: [legacystore] Valgrind reports memory leaks on older store testsKim van der Riet2014-03-215-1727/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579963 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5631: Adjust for changes to Qpid CMake detection of Proton.Charles E. Rolke2014-03-201-375/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Buried deep in cpp\bindings\qpid\dotnet is a script configure-windows.ps1. This script originally came into being to support the .NET binding, which is a .NET project that has no support from CMake. The script gathers the facts of where cmake runs and where boost comes from and embeds the environment into launch scripts used to start the .NET binding solution(s). Then the .NET solution can link naturally to the rest of the cmake project environment. Before this commit the script was very liberal about where one could root a build (run cmake). This patch forces some order onto the build and install directories to ease integration with proton. I use a couple of conventions and it makes life much easier. 1. Map some drives. Drive P: maps to the root of a proton checkout Drive Q: maps to the root of a qpid checkout Strictly speaking this is not necessary and if you use this scheme then you must be careful about the drive mappings. If you get them wrong then your builds will be confused. 2. Use fixed names for the studio/platform builds and installs. Builds go to: P:\build_2008_x86 Q:\build_2008_x86 P:\build_2008_x64 Q:\build_2008_x64 P:\build_2010_x86 Q:\build_2010_x86 P:\build_2010_x64 Q:\build_2010_x64 Installs go to: Q:\install_2008_x86 Q:\install_2008_x64 Q:\install_2010_x86 Q:\install_2010_x64 That is, cmake for a VS2010 32-bit build is run in P:\build_2010_x86 and Q:\build_2010_x86 But both of these builds use -DCMAKE_INSTALL_PREFIX=Q:\install_2010_x86 to install into the same place. 3. To build qpid with proton support: build and install proton first and then build and install qpid. To build qpid with no proton support: just build and optionally install qpid. Other fixes to this script are: * Adds --help option * It does only one studio/platform at a time. It doesn't mix 32- and 64-bit builds together. * It is callable from the command line: > cd cpp\bindings\qpid\dotnet > powershell -ExecutionPolicy unrestricted .\configure-windows.ps1 2010-x86 c:\boost-win-1.47-32bit-vs2010 It will create the canonical build directory and run cmake in it. * A new batch file is emitted that has the exact cmake command used. You can use this to rerun cmake without rerunning any powershell. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579734 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5600: Advance the version number on trunk to 0.29Justin Ross2014-03-202-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579690 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5586: Introduce SessionClosed exceptionAndrew Stitcher2014-03-194-1/+15
| | | | | | | - use it for qpid::messaging::Session::nextReceiver to ensure that closing a connection/session can be distinguished. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579367 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed not about using only Ruby < 2.0Darryl L. Pierce2014-03-191-2/+1
| | | | | | Also fixed a typo in the Python requirement. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579261 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5362: No store tools exist for examining the journals - Bugfix and ↵Kim van der Riet2014-03-185-124/+142
| | | | | | reorganization of qls python modules. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1578899 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5631: Adjust for changes in Proton detection files exported by proton.Andrew Stitcher2014-03-162-62/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1577982 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5632: Added cmake config files to the install areaAndrew Stitcher2014-03-163-1/+81
| | | | | | For use by other projects using cmake that want to simply detect qpid libraries git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1577981 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5630: Windows C++ broker never loads modules using --module-dirAndrew Stitcher2014-03-141-1/+3
| | | | | | - Need to use full path to load modules instead of just the filename. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1577742 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5623: [C++ Messaging Client - amqp1.0] throws qpid::Exception instead ↵Charles E. Rolke2014-03-131-1/+7
| | | | | | | | | | of qpid::types::Exception Intercept the trap and rethrow in proper format. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1577322 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5622: Expose {get,set}ContentObject in Ruby bindings.Darryl L. Pierce2014-03-1110-18/+77
| | | | | | | Added the feature and updated the rspec tests and examples to use content_object for retrieving data. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1576357 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5621: [C++ broker] userId is not passed to ACL when DIGEST-MD5 is used ↵Pavel Moravec2014-03-111-21/+21
| | | | | | while creating link git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1576248 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5613: Self test broker start command fails without --interface option.Charles E. Rolke2014-03-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575443 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5608: [amqp1.0] delete-on-close: typo in r1575225Charles E. Rolke2014-03-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575441 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5608: [amqp1.0] delete-on-close policy do not work for producers to ↵Pavel Moravec2014-03-073-7/+16
| | | | | | exchanges git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575225 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5607: [linearstore] Recovery of store results in jexception 0x010b ↵Kim van der Riet2014-03-064-35/+83
| | | | | | LinearFileController::getCurrentSerial() threw JERR_NULL git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1575009 13f79535-47bb-0310-9956-ffa450edef68
* Revert "NO-JIRA: CMakelists.txt check that ../python exists before building it."Alan Conway2014-03-051-6/+16
| | | | | | | | | | | | | | | | This reverts most of commit r1574138. The changes were intended to simplify handling of setup.py by letting it detect when things were out of date, but even when there are no changes setup.py does touch some files: changing mode of /home/andrew/Work/qpid/bld-ninja/src/tests/python/commands/qpid-python-trunning install_egg_info removing /home/andrew/Work/qpid/bld-ninja/src/tests/python/qpid_python-0.27-py2.7.egg-info writing /home/andrew/Work/qpid/bld-ninja/src/tests/python/qpid_python-0.27-py2.7.egg-info This commit restores the previous logic that avoids running setup.py if not needed but retains the if (EXISTS ${python_src}) check to avoid all this logic if there is no python source directory available. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574656 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5603: Broker recovery fails with JERR_JREC_BADRECTAIL when record tail ↵Kim van der Riet2014-03-051-1/+1
| | | | | | is partly or fully separated from rest of record by file boundary git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574513 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5599: C++ Broker silently ignores --max-connections option when no ACL ↵Charles E. Rolke2014-03-051-2/+2
| | | | | | | | | | | file is loaded Subsequent reloads of the ACL file did not reflect that the rule set in force was created by a user. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574490 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5599: C++ Broker silently ignores --max-connections option when no ACL ↵Charles E. Rolke2014-03-056-17/+23
| | | | | | | | | | | | | | | | | | | | | | | | | file is loaded Simply installing a null and permissive rule file trips up the 'create link' security check. The security check from https://issues.apache.org/jira/browse/QPID-4631 reasons that if authentication is enabled and no ACL rule file is specified then interbroker links are denied. The check for 'ACL rule file is loaded' is simply the existence of the ACL object. That check is voided by always having an ACL object regardless of whether the ACL rule file was specified or not. One fix considered was adding an ACL rule "acl deny-log all create link" to the formerly null rule set when no ACL file is specified. This solution has too much complexity in several places and is too hard. The fix implemented here is a boolean flag indicating if the ACL rule set in force is specified by the user or not. Then the security check tests that the acl exists (always true) and that the rule set is specified by the user. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574291 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5599: C++ Broker silently ignores --max-connections option when no ACL ↵Charles E. Rolke2014-03-041-4/+4
| | | | | | | | | | | file is loaded Temporarily revert creation of ACL with null rule set as it subverts the CREATE LINK security check and self test. Real fix coming shortly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574219 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5599: C++ Broker silently ignores --max-connections option when no ACL ↵Charles E. Rolke2014-03-043-12/+41
| | | | | | | | | | | file is loaded. Always create an ACL object. If no ACL file is specified then create a permissive, empty ACL rule set. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574208 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: CMakelists.txt check that ../python exists before building it.Alan Conway2014-03-041-20/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5597: [C++ client] Topic subscriptions should not ignore auto-delete ↵Pavel Moravec2014-03-041-1/+3
| | | | | | x-declare flag git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1574119 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5589: Add option for suppressing qmf/site-package installation; replace ↵Charles E. Rolke2014-03-031-13/+19
| | | | | | windows path separators before they are seen by cmake. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1573784 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5594: [amqp1.0] missing first-acquirer property support in C++ brokerPavel Moravec2014-03-033-5/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1573546 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5587: QMF to track queue owner (userId)Pavel Moravec2014-02-283-3/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1572963 13f79535-47bb-0310-9956-ffa450edef68