summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* QPID-5890: Refactoring AclModule.hCharles E. Rolke2014-07-114-176/+257
| | | | | | | | | | | | | * make single instances of strings associated with enums * make more compact search functions * make string definitions const * return 'const string&' instead of copies of temporaries * add self test as string defs sanity check * export AclHelper to satisfy tests (!!) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1609828 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5887: abort transactional session of failover.Charles E. Rolke2014-07-111-1/+1
| | | | | | qpid-txtest2.cpp requires new EXTERN git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1609763 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5887: abort transactional session on failover; added equivalent of ↵Gordon Sim2014-07-114-10/+336
| | | | | | txtest using messaging API git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1609748 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5890: Refactor AclModule.hCharles E. Rolke2014-07-114-437/+511
| | | | | | | | | Move code from .h file into AclLexer source module. Does not change basic function structure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1609728 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5858: Remove unneeded line that generates a warning on Windows VS2010.Charles E. Rolke2014-07-111-1/+0
| | | | | | | | | 2> MessagingSessionTests.cpp 2>..\..\..\cpp\src\tests\MessagingSessionTests.cpp(1438): warning C4930: 'std::string queue(void)': prototyped function not called (was a variable definition intended?) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1609726 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5886: Get windows to export the Handle<CompletonImpl> methods.Charles E. Rolke2014-07-104-6/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1609444 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: qpid-send help: copy&paste typo fixedPavel Moravec2014-07-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1609098 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5883: improve error message a little for 'no-mech' sasl errorGordon Sim2014-07-081-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1608711 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5882: fix authentication failure on 1.0 codepathGordon Sim2014-07-075-30/+74
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1608578 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix defects found by coverity.Alan Conway2014-07-074-5/+5
| | | | | | | | | | | | | | | | | | To view the defects in Coverity Scan visit, http://scan.coverity.com/projects/6?tab=overview ** CID 1224524: Big parameter passed by value (PASS_BY_VALUE) /qpidbuilds/trunk/qpid/cpp/src/tests/BrokerFixture.h: 155 in qpid::tests::SessionFixtureT<qpid::tests::LocalConnection, qpid::client::Session_0_10>::SessionFixtureT(qpid::broker::BrokerOptions)() ** CID 1224525: Big parameter passed by value (PASS_BY_VALUE) /qpidbuilds/trunk/qpid/cpp/src/tests/ClientSessionTest.cpp: 108 in qpid::tests::ClientSessionFixture::ClientSessionFixture(qpid::broker::BrokerOptions)() ** CID 1224526: Big parameter passed by value (PASS_BY_VALUE) /qpidbuilds/trunk/qpid/cpp/src/tests/MessagingFixture.h: 106 in qpid::tests::MessagingFixture::MessagingFixture(qpid::broker::BrokerOptions, bool)() ** CID 1224527: Wrapper object use after free (WRAPPER_ESCAPE) /qpidbuilds/trunk/qpid/cpp/src/qpid/broker/SaslAuthenticator.cpp: 276 in qpid::broker::CyrusAuthenticator::init()() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1608487 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5874: Treat all empty selectors sensiblyAndrew Stitcher2014-07-034-16/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607739 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5806: Allow quoted syntax for non standard selector identifiersAndrew Stitcher2014-07-032-8/+10
| | | | | | - This matches the Java broker syntax for selectors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607738 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5869: Check that agent is not null before firing event.Charles E. Rolke2014-07-031-12/+24
| | | | | | | | Propagate Rajith's logic to the rest of the cases in Acl code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607634 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5866]: [C++ client] AMQP 1.0 closing session without closing receiver ↵Pavel Moravec2014-07-032-9/+11
| | | | | | first marks further messages as redelivered (previous commit not complete) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607628 13f79535-47bb-0310-9956-ffa450edef68
* [QPID-5866]: [C++ client] AMQP 1.0 closing session without closing receiver ↵Pavel Moravec2014-07-031-0/+8
| | | | | | first marks further messages as redelivered git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5871: Remove unused generated code and dependent codeAndrew Stitcher2014-07-0340-3396/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607521 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5869 Added a check to see if agent is null before firing the event.Rajith Muditha Attapattu2014-07-021-1/+3
| | | | | | There are other places in the code where this check is missing. Chuck will take care of them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607488 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921: Removed unused header includesAndrew Stitcher2014-07-023-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607452 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921: Deleted unnecessary header file includesAndrew Stitcher2014-07-012-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5859: Fix to allow listening to some interfaces to failAndrew Stitcher2014-07-011-21/+17
| | | | | | - but still listen to the succeeding ones git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607167 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3921: Refactored Broker::Options into its own independent classAndrew Stitcher2014-07-0129-154/+265
| | | | | | | | | | - Now called BrokerOptions - Added extra getters to Broker so that nothing else needs to know about BrokerOptions - Significantly reduces header coupling as lots of files include Broker.h, but now don't need Options.h git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607166 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5865: Be more robust in face of system clock being changed:Andrew Stitcher2014-07-0119-65/+129
| | | | | | | | | | - Separate Wall clock time uses from other time * (assumed that any time with respect to the epoch is wallclock) - For Posix use CLOCK_MONOTONIC for all non wall clock purposes so that changing system time doesn't affect internal timekeeping - For Windows kept the same time keeping scheme. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1607140 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed typo in a comment.Ted Ross2014-06-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1606929 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5860: release sender lock before invoking on sessionGordon Sim2014-06-271-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1606259 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5858: prevent leakage of old exception typesGordon Sim2014-06-272-1/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1606258 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5859: Make qpidd listen to all protocol addresses when it starts up.Andrew Stitcher2014-06-271-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1606197 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Error handling in swig_python_typemaps: don't core dump if ↵Alan Conway2014-06-261-8/+11
| | | | | | qpid.datatypes is not found. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1605920 13f79535-47bb-0310-9956-ffa450edef68
* [no JIRA]: brokertest to set connection option 'protocol' only for SWIG ↵Pavel Moravec2014-06-261-2/+4
| | | | | | client on AMQP1.0 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1605703 13f79535-47bb-0310-9956-ffa450edef68
* [no JIRA]: mark flow-to-disk stats as deprecatedPavel Moravec2014-06-261-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1605678 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5843: Producing to many queues locks I/O threads for new connectionsAlan Conway2014-06-261-2/+2
| | | | | | | | | This patch changes where the duration is calculated in sys/posix/AsyncIO.cpp->readable(). This will prevent the loop from executing past the threadMaxIoTimeNs. Doing this decreased the connection delay observed by 19%. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1605664 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5849: set mechanism on management connection even if auth=noGordon Sim2014-06-251-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1605511 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5828: more consistent behaviour os send() when disconnectedGordon Sim2014-06-257-19/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1605429 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5848: update reference doc for connection optionsGordon Sim2014-06-251-1/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1605426 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5845: topic policy's auto delete delay should not be overridden by link ↵Gordon Sim2014-06-251-2/+5
| | | | | | specific timeout git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1605320 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5841: allow SSL hostname verification failure to be ignored (with NSS)Gordon Sim2014-06-248-2/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1605127 13f79535-47bb-0310-9956-ffa450edef68
* PQID-5840: .NET Binding example.server confuses argument indexingCharles E. Rolke2014-06-241-3/+3
| | | | | | Don't require an unused argument just to keep connectionOptions as arg[2] git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1605112 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5839: [C++ broker] Broker does not set lifetime-policy in AMQP1.0 ↵Pavel Moravec2014-06-241-1/+1
| | | | | | attach performative git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1605051 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5828: Drop expired incoming messagesGordon Sim2014-06-236-7/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1604953 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5828: Check and adjust ttl on resend attemptGordon Sim2014-06-235-10/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1604952 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5828: Ensure that we don't try to check status of null completion handleGordon Sim2014-06-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1604785 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5835: [C++ broker] Broker recovery forgets auto-delete flag on queues ↵Pavel Moravec2014-06-212-10/+28
| | | | | | and exchanges git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1604455 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5807: Fix inconsistent DLL linkageAndrew Stitcher2014-06-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1603661 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix some MSVC warningsAndrew Stitcher2014-06-184-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1603660 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5829: This rearrangement is really it...Andrew Stitcher2014-06-181-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1603632 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5829: One more CMake rearrangement and all will be good...Andrew Stitcher2014-06-181-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1603613 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5829: Rearrange CMake - repair original commit that breaks the .NET bindingCharles E. Rolke2014-06-182-3/+3
| | | | | | r1603064 fails to define some CMake version variables before using them for template processing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1603587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5817: [C++ broker] Improve ACL authorisation of QMF methods and queriesPavel Moravec2014-06-188-45/+312
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1603364 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Make bindings install on windowsAndrew Stitcher2014-06-175-37/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1603302 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5829: Properly fix the CMake conditionalAndrew Stitcher2014-06-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1603067 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5829: Oops - fix mistaken change to actually work on WindowsAndrew Stitcher2014-06-171-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1603065 13f79535-47bb-0310-9956-ffa450edef68