summaryrefslogtreecommitdiff
path: root/qpid/cpp
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4631: Lock down link creation using ACLqpid-4631Charles E. Rolke2013-04-1812-44/+9
| | | | | | | | This commit makes link creation contingent on having an ACL file and then having an ACL rule approve the request. There is no longer a requirement for an explicit CREATE LINK rule; either 'allow all all' or 'deny all all' is sufficient. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-4631@1469525 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4631 create link lockdown - fix sasl_fed testCharles E. Rolke2013-03-271-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-4631@1461813 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4631: C++ Broker interbroker links protected by ACLCharles E. Rolke2013-03-222-3/+7
| | | | | | | | federation and federation-sys tests need acl file to allow link creation git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-4631@1459854 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4631: C++ Broker interbroker links protected by ACLCharles E. Rolke2013-03-2210-6/+55
| | | | | | | | | This patch has the Acl code to observe CREATE LINK rules and the new link cration logic in the broker connection handler. Several self tests are broken by this patch and only ha_test.py has been repaired. The fix for these self tests are indicators of what customers must do to deal with this new feature. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/qpid-4631@1459822 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4586: Add generic (and somewhat experimental) tool for creating, ↵Gordon Sim2013-03-213-2/+145
| | | | | | deleting and listing qpidd entities e.g. domains and incoming- or outgoing- links git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1459434 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: C++ broker selectors: trivial - remove unnecessary templatesAndrew Stitcher2013-03-201-15/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1458644 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: silence irrelevant warning in release modeAndrew Stitcher2013-03-201-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1458620 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: C++ broker selectors: Improved error reportingAndrew Stitcher2013-03-205-56/+126
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1458610 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Change C++ Selector implementation to use registered valuesAndrew Stitcher2013-03-195-11/+13
| | | | | | | | | | | | - Selectors should now implement every language feature of the registered apache selector filter extension to the amqp 1.0 spec. - In the addressing syntax use a link property called just "selector" - For amqp 1.0 on the wire use the registered filter descriptor code for the selector. - For amqp 0-10 on the wire use a subscription property of "x-apache-selector" for the selector. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1458453 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4624: Implement IN operator for C++ broker selectorsAndrew Stitcher2013-03-182-2/+57
| | | | | | | | | - Implemented parser for IN operator - Implement In operator evaluator and unit tests - Syntax is a bit wider than the spec allowing full expressions in the contents of the IN expression not just strings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457998 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4658: Update statistics even when no binding key matches routing keyJustin Ross2013-03-181-5/+7
| | | | | | | | | This is a patch from Pavel Moravec. Thanks to Ernie Allen for testing it and fixit it for latest trunk. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457924 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4493: Fixes memory leak in Perl bindings.Darryl L. Pierce2013-03-182-15/+25
| | | | | | 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-4621: Arithmetic operations for C++ broker selectorsAndrew Stitcher2013-03-186-284/+561
| | | | | | | | | | | | | | | - Rearranged Syntax and parser to support arithmetic - Implemented arithmetic syntax - Implemented arithmetic operators - Added some tests for arithmetic operations - Added explicit lexical tokens for all the comparison and arithmetic operations - Added the missing ',' token for us in the 'IN' comparison - Rearranged the lexer so that everything is not uniformly inside the hand crafted state machine. - Moved a bunch of testing code from the tokeniser to the unit test (much of this code might actually not be very useful anymore) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457912 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4586: some management related tweaks and fixesGordon Sim2013-03-1815-38/+63
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457898 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4640: Fixed up some of the documentation from the autotools deprecationAndrew Stitcher2013-03-173-42/+105
| | | | | | | | - The new INSTALL-AUTOMAKE was incorrectly based on the new INSTALL not the old one - The cmake build instructions didn't use a separate build directory which is the recommended configuration (both by cmake and qpid) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457373 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4640: Deprecate autotools build system.Alan Conway2013-03-155-161/+273
| | | | | | | | | | | | This patch does the following: - Update INSTALL and README files to refer to the cmake build. - configure script prints a deprecation notice. The autotools instructions are still available in INSTALL-AUTOTOOLS, which also has a deprecation notice. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457098 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4640: brokertest.py prints a message and skips tests if qmf.console not ↵Alan Conway2013-03-151-1/+4
| | | | | | | | | | available. Tests that use qmf.console will print a skip message if it is not available. For example: they may not be available when building from a distro rather than a checkout. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457097 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4640: Add files required for legacystore build to distro.Alan Conway2013-03-152-1/+115
| | | | | | | | | Several files needed to build the legacystore were missing from automake dist rules. Note still need to use cmake to build legacystore, it is not build by automake. The missing files were added so that you can use cmake without error in an automake-generated distribution. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457096 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4623: Fixed the unit test for unknown valuesAndrew Stitcher2013-03-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457062 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4623: Fixed unknown semantics of "between" comparisonAndrew Stitcher2013-03-152-26/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457058 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4623: Implemented parser and evaluator for BETWEEN comparisonsAndrew Stitcher2013-03-152-19/+57
| | | | | | | | | - The implementation uses a custom between operator rather than desugaring the syntax, because we can avoid repeated evaluation of the expression bing compared that way (this will also be true for the IN comparison operator). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457029 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4649: use qpid uuid library instead of pythonKenneth Anthony Giusti2013-03-153-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456950 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4586: add ability to have qpidd establish outgoing connectionsGordon Sim2013-03-1444-247/+2412
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456621 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4622: Implement 'LIKE' string matching operations in selectorAndrew Stitcher2013-03-144-18/+227
| | | | | | | | | - This implements <expression> [NOT] LIKE <string> [ESCAPE <character>] - The implementation uses the posix regex library (in BRE mode) on Unix systems - It uses std::tr1::regex on Visual Studio (in std::tr1::regex::basic mode) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456561 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Fix string iterator being dereferenced 1 beyond end().Andrew Stitcher2013-03-141-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456464 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4559 - Added handling of the queue-delete preconditions in the qmf ↵Ted Ross2013-03-133-2/+61
| | | | | | | | | broker method. Patch contributed by Ernie Allen. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456081 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4595: ensure completions for previously received messages are sent when ↵Gordon Sim2013-03-121-0/+1
| | | | | | credit is flushed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455630 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4625: Extract amqp 1.0 application-properties from messagesAndrew Stitcher2013-03-126-5/+81
| | | | | | | | - A working implementaion to qpid::amqp::Message::processProperties() so that qpid::broker::Message::getProperty() will work. * This is used by the selector implementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455579 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4576: commit "ready" message if session is transactional; patch from ↵Gordon Sim2013-03-121-1/+4
| | | | | | Pavel Moravec git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455549 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Separate catch/finally blocks in ha_tests.py to work on older python.Alan Conway2013-03-121-35/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455540 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4641: C++ build errors re virtual functions but non-virtual destructorAlan Conway2013-03-121-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455529 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4646: Remove Perl Makefile.PL from configure.acDarryl L. Pierce2013-03-121-1/+0
| | | | | | | The file is no longer generated, so configure.ac should not concern itself with the file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455524 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4590: check management object exists before using itGordon Sim2013-03-121-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455484 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix distcheck problems, missing files in installation.Alan Conway2013-03-113-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4637: Remove ProtocolFactory.h from the sources list; it no longer existsJustin Ross2013-03-111-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455200 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4632 - Improvement to queue threshold alertingTed Ross2013-03-084-78/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454601 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4633, QPID-4634: RHEL 5 related compilation problemsAndrew Stitcher2013-03-085-8/+8
| | | | | | | - Some things that the gcc 4.1/boost 1.33 environment in RHEL5 cares about. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454595 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4626: Amqp 0-10 Message getProperty() does not correctly return booleansAndrew Stitcher2013-03-085-19/+44
| | | | | | | - Improve amqp 0-10 message property handling to correct deal with floats/double and bools. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454437 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4626: Amqp 0-10 Message getProperty() does not correctly return booleansAndrew Stitcher2013-03-082-0/+7
| | | | | | - 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-083-45/+88
| | | | | | | 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-4558: Selectors for C++ broker - don't use boost::make_shared<>()Andrew Stitcher2013-03-071-2/+1
| | | | | | (It's not available in boost 1.33 - which is what RHEL5 has available - sigh) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454105 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4630: HA fix inconsistent header file paths in legacystore.Alan Conway2013-03-073-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453972 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4630: HA Fix starting from persistent store.Alan Conway2013-03-077-32/+42
| | | | | | | | | | 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-4630: HA enable store tests if legacystore is built.Alan Conway2013-03-074-3/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453970 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Selectors for C++ broker - fixes windows builds and 32-bit buildsCharles E. Rolke2013-03-074-16/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453898 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Selectors for C++ brokerAndrew Stitcher2013-03-061-6/+2
| | | | | | | - Changed unit test code that relied on non C++03 feature Windows compiler spotted this problem. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453536 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4629 Improve validation of received frames.Andrew Stitcher2013-03-054-25/+39
| | | | | | | | | | | | | | | | | - 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-4558: Selectors for C++ brokerAndrew Stitcher2013-03-051-8/+7
| | | | | | | | - Small fixes: * Missing include file (accidentally included under gcc) * Workaround some strange VS 2008 issue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452960 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Selectors for C++ brokerAndrew Stitcher2013-03-0411-231/+867
| | | | | | | | | | | | | - Added numeric and boolean values * To literals and identifier values * To the code that extracts values from message properties - Added the full set of comparison operators - Implemented full "unknown" semantics for all operators. - Implemented extended "is null" and "is not null" operators that allow expressions as well as just identifiers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452525 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4558: Selectors for C++ brokerAndrew Stitcher2013-03-047-2/+59
| | | | | | | | - Added in amqp 1.0 support that uses a filter for the selector - This change requires at least qpid-proton 0.4 (or a lot of warning messages are produced by the broker) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452524 13f79535-47bb-0310-9956-ffa450edef68