| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/QPID-4659@1461870 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457898 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457062 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457058 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456950 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456621 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456464 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
| |
broker method.
Patch contributed by Ernie Allen.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1456081 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
credit is flushed
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455630 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
Pavel Moravec
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455549 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455540 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455529 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455484 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455236 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455200 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1454601 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
(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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453972 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453970 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453898 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Initial Selectors implemented:
* Only string values supported (no numerics or bools)
- Parses and executes the forms:
* A=B
* A<>B
* I IS NULL
* I IS NOT NULL
- where A, B are strings or identifiers
- I is an identifier
* Conditional expressions can include the AND, OR and NOT
operators and use parentheses.
- Only limited special identifiers return useful values (although
they are all recognised)
- Unit tests for selector language
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452523 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add support to 0-10 protocol codepaths in client messaging library
and the broker to transmit a selector when subscribing to a queue
- This is specified by using a link property qpid.selector in the queue
address.
- The selector is actually transmitted under 0-10 as an user vlaue
named qpid.selector in the arguments table of the subscription.
- Added simple selector framework to broker.
- Added in infrastructure for selector evaluation
-- Put in place a trivial (but real) selector:
The expression specifies a message property
and returns true if it is present.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452522 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
be fixed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1452520 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
Allen.
See https://reviews.apache.org/r/9703/
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451737 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
until the tests are rewritten to account for porting issues.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451642 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451446 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1451443 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Repair a few small but critical errors in program logic.
Repair several misconceptions in the self test including:
* provide visibility to connections (not sessions) so that they may be closed.
* dodge names that may survive open connections from other tests.
Tests may pass if run first but then fail if run 30th.
The whole acl.py module could use a clean up pass to close out the
50+ open connections that exist that the end of the test.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1450841 13f79535-47bb-0310-9956-ffa450edef68
|