summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@1424761 13f79535-47bb-0310-9956-ffa450edef68
* Bug 886656 - HA backup broker does not properly increment the alternate ↵Alan Conway2012-12-206-23/+40
| | | | | | | | exchange user count Set alternate exchange in-use counters correctly on backup brokers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424617 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Stop linking boost filesystem library in Posix port as it isn't ↵Andrew Stitcher2012-12-202-5/+2
| | | | | | | | used anymore (yay!) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424608 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Stop using boost::filesystem for something that std::fstream can do ↵Andrew Stitcher2012-12-201-11/+8
| | | | | | well enough git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424607 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726: ASF licensed, Qpid hosted store moduleCharles E. Rolke2012-12-2076-358/+360
| | | | | | | | | | | | | Incorporating post-commit review comments: * Rename *.hpp to *.h; repair include references and comments * Promote include guards to be unambiguous filename-related tokens * #include uses double quote not angle brackets when refering to files in qpid source code tree git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424588 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, Qpid hosted store moduleCharles E. Rolke2012-12-2036-0/+0
| | | | | | | Project standard: rename files from .hpp to .h git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424532 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: still more in pluginCharles E. Rolke2012-12-201-7/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424520 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Repair include guards that are absent or fail to encompass everything.Charles E. Rolke2012-12-203-8/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424499 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4095: Move the directory iteration into FileSysDir:Andrew Stitcher2012-12-209-32/+75
| | | | | | | - For Posix implement with direct calls - For windows implement with v2/v3 boost::filesystem to be replaced later git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, Qpid hosted store module Charles E. Rolke2012-12-191-1/+1
| | | | | | | | Repair typo. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424191 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, Qpid hosted store module Charles E. Rolke2012-12-1983-278/+6
| | | | | | | | Remove corporate copyright notices. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424184 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4516: Sporadic failure in ha_tests test_failover_send_receiveAlan Conway2012-12-198-32/+31
| | | | | | | | | | | | | | | | Sporadic failures in ha_tests.py test_failover_send_receive. Two types of failure observed: - core dumps in a debug build at a C++ assertion - python test assertion like: AssertionError: Broker<137:cluster0-0.log qpidd-157 :35273> expected='ready', actual='catchup' The following fixes were made to correct the 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. - Remove incorrect demotion ready->catchup on timeout. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424169 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed, Qpid hosted store module Charles E. Rolke2012-12-191-1/+1
| | | | | | | | Disable building the legacystore component until it has further hardening. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424162 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1726 ASF licensed storeCharles E. Rolke2012-12-191-0/+68
| | | | | | | | Add new file git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424149 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: still more testsAlan Conway2012-12-1914-2126/+168
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: more testsAlan Conway2012-12-1914-1411/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424140 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: cleanup testsAlan Conway2012-12-1926-4520/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424139 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: obsolete valgrind suppressions.Alan Conway2012-12-191-23/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424138 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: ManagementAgentAlan Conway2012-12-192-35/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424137 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: MessageStorePluginAlan Conway2012-12-195-70/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424136 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: Connection::isAuthenticatedAlan Conway2012-12-194-19/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424135 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: MessageStoreAlan Conway2012-12-195-23/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424134 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: Queue, Semanticstate, SessionHandlerAlan Conway2012-12-197-32/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424133 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: get rid of StatefulQueueObserver.Alan Conway2012-12-196-172/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424132 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: QueueFlowLimitAlan Conway2012-12-192-77/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424131 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: MessageGroupManager, MessagesAlan Conway2012-12-192-21/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424130 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: LinkRegistryAlan Conway2012-12-192-15/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424129 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: DtxWorkRecordAlan Conway2012-12-192-20/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424127 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: DtxManager, more Broker, ↵Alan Conway2012-12-199-67/+2
| | | | | | Connection, Link. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424126 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: Broker, Connection, Link.Alan Conway2012-12-1911-114/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424125 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4514: Remove obsolete cluster code: AclConnectionCounterAlan Conway2012-12-191-61/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424124 13f79535-47bb-0310-9956-ffa450edef68