summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
...
* NO-JIRA: QPID-3921: More Header file tidy upAndrew Stitcher2013-01-314-15/+10
| | | | | | - Removed all unnecessary includes from qpid/broker/Connection.h git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1440778 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove IO start/stop reading primitives used by removed clusterAndrew Stitcher2013-01-305-62/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1440617 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove IO readCredit throttling only used by removed cluster codeAndrew Stitcher2013-01-3015-63/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1440616 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix build error in windows buildAlan Conway2013-01-281-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1439431 13f79535-47bb-0310-9956-ffa450edef68
* Refer to Url consistently as a struct, not a class. Removes warning on MSVC. ↵Stephen D. Huston2013-01-252-2/+2
| | | | | | NO-JIRA git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1438776 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA refactor, re-organise code for clarity and thread safety.Alan Conway2013-01-2314-298/+442
| | | | | | | | | | | | | | | | Introduce Role base class. Primary and Backup are now subclasses of Role. Moved backup/primary specific code from HaBroker to the Backup and Primary roles. HaBroker always holds a single Role, via a thread-safe RoleHolder. RoleHolder ensures atomic transition between roles: the old role is deleted before the new role is created. Membership is now independently thread safe, breaking the potential deadlock between HaBroker and the Roles. Logging improvements and other minor cleanup. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1437771 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA refactor, centralize critical error shutdown logic.Alan Conway2013-01-234-17/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1437742 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4546: review feedback and re-enable federation system testsKen Giusti2013-01-222-4/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1437188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4546: delete links regardless of connection state.Ken Giusti2013-01-222-45/+77
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1437187 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add abort() implementation for SSL client code - this make heartbeatsAndrew Stitcher2013-01-221-1/+21
| | | | | | work for SSL client connections too. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1437101 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4543 - The Move-Messages method no longer returns an error if no ↵Ted Ross2013-01-212-11/+13
| | | | | | messages were moved. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1436517 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4545: expose certain 'internal' symbols necessary for AMQP 1.0 supportGordon Sim2013-01-211-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1436504 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4095: New boost filesystem support. This commit removes the requirement ↵Charles E. Rolke2013-01-182-23/+36
| | | | | | | | | | | for Boost filesystem in Windows. The code in FileSysDir that used Boost is rewritten to use simple windows native calls instead. Now Boost filesystem is not used at all. All references in CMakeLists.txt are removed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1435326 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4516: Undo use of atomic status in HaBroker.cppAlan Conway2013-01-152-39/+29
| | | | | | Fixes issue introduced in r1432273, causing build failures on windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1433655 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add brokertest.py to EXTRA_DIST, required by ha_tests.py.Alan Conway2013-01-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1433143 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4535 Cmake build broken by legacy storeCharles E. Rolke2013-01-141-3/+31
| | | | | | | | | | Check for libaio and uuid. Fix logic error that allowed build to proceed when DB_FOUND was false. Remove unnecessary 'rt' from link. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1433127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Clean up cluster code: remove passive links.Alan Conway2013-01-144-51/+5
| | | | | | Remove passive code from Link and LinkRegistry, only used by defunct cluster code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1433089 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Clean up cluster code: remove unused testlib.pyAlan Conway2013-01-141-766/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1433072 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4536: Remove functionality which automatically makes a brokerAndrew Stitcher2013-01-145-127/+10
| | | | | | advertise all its network interfaces as potential failover endpoints. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1433061 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Clean up cluster code: sasl_fed_ex testAlan Conway2013-01-141-81/+11
| | | | | | Clean up obsolete code sasl_fed_ex related to defunct cluster testing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1433056 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Clean up cluster code: SessionImplAlan Conway2013-01-142-92/+35
| | | | | | | | | Clean up obsolete code in SessionImpl class used only by defunct cluster code: - Remove SessionImpl::send reframe parameter. - Remove doClearDeliveryPropertiesExchange flag. - Remove disableAutoDetach and autoDetach flag. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1433055 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Clean up cluster code: Obsolete management import/export functions.Alan Conway2013-01-143-560/+0
| | | | | | Remove management fucntions used to import/export data from the cluster module. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1433054 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Clean up cluster code: Obsolete comment in BSDSocket.cpp.Alan Conway2013-01-141-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1433053 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4516: Sporadic failure in ha_tests test_failover_send_receiveAlan Conway2013-01-116-41/+73
| | | | | | | | | | | | | | Several fixes were required in the code to correct this problem: - Missing break statement in switch. - Remove unused function HaBroker::resetMembership - Abort connection of timed-out backups so they can attempt to reconnect. - New primary resets membership before allowing backups to connect. - Test for and ignore double-promotion. - HaBroker: dynamic logPrefix() shows status. Made status atomic for efficient access for log messages. - Update primary status in membership. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1432273 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: HA log message missing sequence number.Alan Conway2013-01-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1432263 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed QPID store - reenable in buildCharles E. Rolke2013-01-106-96/+114
| | | | | | | | Add new legacystore.cmake to EXTRA_DIST in makefile suite. Fix cmake scripts for core library and tests. Note: Tests are not truly integrated. Four standalone unit tests are starters for proving functionality. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1431635 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4531 : older GCC libs have error on negative-zero cast.Michael Goulish2013-01-101-7/+13
| | | | | | | | This is a real fix, a replacement for r1431435, which was written by a crazy person. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1431548 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA : undoing r1431435. It's wrong, wrong, wrong!Michael Goulish2013-01-101-9/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1431509 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Expand Variant tests to test previous Variant conversion checkinAndrew Stitcher2013-01-101-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1431493 13f79535-47bb-0310-9956-ffa450edef68
* JIRA-4531 : Variant.cpp cast of -0 failing with older GCCMichael Goulish2013-01-101-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1431435 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4315: Make Windows workAndrew Stitcher2013-01-091-367/+379
| | | | | | More cut-n-paste cargo cult programming git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1431116 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4518 : disallow unknown args in config fileMichael Goulish2013-01-092-14/+45
| | | | | | | | | | | | | Change EnvOptMapper::configFileLine to take ar arg telling it if it's OK to have unknown args or not. If not, throw upon encountering. From the higher level of run_broker(), there are two passes of arg parsing. In the first pass it's normal to have unknown args, because the loadable modules are not loaded yet. But I change the second parsing to pass down the arg that says "unknowns are not okay." git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1431016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4315: Changed Connection management name to be supplied by LinkAndrew Stitcher2013-01-0811-86/+61
| | | | | | | code on outgoing connections so that the Link code can correlate the connection with the Link using the name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1430573 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed Qpid store - disable building this componentCharles E. Rolke2013-01-082-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1430338 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4368: Add missing dist fileJustin Ross2013-01-081-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1430329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed Qpid StoreCharles E. Rolke2013-01-0723-0/+3281
| | | | | | | | | | | | | | | | | | | | | | | | Add unit tests. There are several issues with these tests: 1. Originally the four .cpp unit test sources were compiled into a single unit_test executable. In the current framework those four sources create conflicting brokers that overwrite each other's store and fail to open port 5672. In this checkin there are four unit test executables. Running each serially gets them all to pass. A new strategy is needed to start brokers that don't conflict. 2. The legacystore.so is not integrated with the rest of the tests. Some tests may run with the externally compiled msgstore.so and some use the built in test_store. Plugging legacystore.so into these other tests is TBD. 3. cpp/src/tests/legacystore defines more tests beyond simple unit tests. None of the issues related to wider system tests are addressed yet. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1430018 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed Qpid storeCharles E. Rolke2013-01-075-40/+43
| | | | | | | | Update legacystore from changes in source svn revisions 4514 to 4528. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1429990 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed Qpid store. Charles E. Rolke2013-01-072-39/+49
| | | | | | | | | Enable legacystore build in normal processing. Rewrite CMake to have look and feel of cpp/src CMake code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1429980 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: restore inclusion for Windows builds broken by r1428722Charles E. Rolke2013-01-041-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1428912 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: slim down some header file inclusionsAndrew Stitcher2013-01-049-147/+151
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1428722 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: brokertest.pyAlan Conway2013-01-031-85/+7
| | | | | | Clean up cluster obsolete code in brokertest.py. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1428634 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - refer to DtxTimeout as the struct it is, not a class. Avoids a VC ↵Stephen D. Huston2013-01-021-1/+1
| | | | | | diagnostic. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1428104 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - add newline at end of fileStephen D. Huston2013-01-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1428100 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added Broker.h to recover from r1425038 in windows buildsCharles E. Rolke2012-12-212-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1425137 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed Broker.h from all unnecessary header filesAndrew Stitcher2012-12-2114-17/+72
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1425038 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed Timer.h out of the chain of header files included by Broker.hAndrew Stitcher2012-12-2116-77/+128
| | | | | | (since that is widely included) to avoid unnecessary recompilation git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1425037 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed some unused Timer features (old cluster used to use them)Andrew Stitcher2012-12-212-9/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1425036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, Qpid hosted store moduleCharles E. Rolke2012-12-2168-169/+169
| | | | | | | | Change included file references in #include to specify the full path name relative to qpid/cpp/src. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1425009 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed unnecessary header includesAndrew Stitcher2012-12-201-5/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1424767 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed some unused Broker codeAndrew Stitcher2012-12-202-22/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1424761 13f79535-47bb-0310-9956-ffa450edef68