summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5506: Use a randomness source to certutil that will definitely exist.Andrew Stitcher2014-01-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1560692 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5488: Allow for not enough bytes initially received by client for ↵Andrew Stitcher2014-01-232-2/+6
| | | | | | protocol init git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1560575 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5481: Messaging API Update - 1555202 Logger module addedCharles E. Rolke2014-01-224-0/+368
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1560529 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5503: expose next_receiver through swig wrapper, add test for both 1.0 ↵Gordon Sim2014-01-221-0/+9
| | | | | | and 0-10 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1560395 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5503 implement nextReceiver()Gordon Sim2014-01-227-3/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1560394 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5501: implement missing qmf operationsGordon Sim2014-01-229-4/+122
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1560393 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5501: raise error if topic of given name already existsGordon Sim2014-01-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1560307 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added some information about 'topic' typeGordon Sim2014-01-221-1/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1560298 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5498: restore expiration on paged messagesGordon Sim2014-01-214-11/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1560126 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5497: implement Session::sync()Gordon Sim2014-01-213-2/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1560125 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5488: Fix Amqp protocol version printingAndrew Stitcher2014-01-172-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1559251 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Really fix the test for the correct previous versions of cmakeAndrew Stitcher2014-01-171-2/+2
| | | | | | (sorry, this is getting embarassing) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1559198 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5486: Creating paged queue can overwrite existing qpidd filesPavel Moravec2014-01-171-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1559090 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix switch statement not covering all cases warningAndrew Stitcher2014-01-171-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1559021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5489: Uuid code improvementsAndrew Stitcher2014-01-1712-183/+35
| | | | | | | | | | | | | - Don't use uuid_compare() as it will get the wrong version of the function under FreeBSD which has a uuid library build into libc with different function signatures from libuuid but some overlapping names. - Reorganise the uuid code to limit the used external symbols to uuid_generate(), uuid_parse(), uuid_unparse() - Minimise the framing::Uuid code so that it is a simple wrapper around types::Uuid - Use uuid_generate() as the symbol to search in CMake (uuid_compare() isn't used in qpid anymore). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1559017 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix to allow warning silencing to work on previous versions of ↵Andrew Stitcher2014-01-161-2/+4
| | | | | | cmake too git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558960 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Turn off cmake warnings caused by change in recent cmake 2.8 versionsAndrew Stitcher2014-01-161-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558954 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5487: [linearstore] Replace use of /dev/urandom with c random generator ↵Kim van der Riet2014-01-165-31/+28
| | | | | | calls git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558913 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5481: Messaging API Update - 1520673 Connection reconnect() and ↵Charles E. Rolke2014-01-162-0/+64
| | | | | | getUrl() added git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558911 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5481: Messaging API Update - 1520416 Message ↵Charles E. Rolke2014-01-161-11/+35
| | | | | | | | | | | | | | setProperties(Variant::Map&) added The .NET binding already had a Properties setter but it behaved worked by doing recursive property Add and not a wholesale replace. This patch calls the new setProperty method to get the correct behavior. The Properties property does non trivial calls into the unmanaged code. This patch also intercepts unmanaged exceptions from get and set and relays them into managed space. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558899 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5486 Creating paged queue can overwrite existing qpidd filesPavel Moravec2014-01-161-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558806 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5485 Deleting paged queue does not remove underlying filePavel Moravec2014-01-165-0/+18
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558790 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5481: Messaging API Update - 1513536 Message constructor and content ↵Charles E. Rolke2014-01-154-144/+162
| | | | | | | | | | getters added The .NET Binding already had the bytes constructor and the getContentBytes methods. This patch adds getContentObject/setContentObject interfaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558619 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5484 [linearstore] Poor performance relative to legacystore. Partial ↵Kim van der Riet2014-01-152-2/+9
| | | | | | fix: The use of /dev/random exhausts the kernel's supply of non-deterministic random data, and calls to read from it block until enough is available. It has been determined that /dev/urandom is good enough for this use-case (Journal serial numbers), and does not suffer from blocking. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558592 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed linear/legacy store CMake checks for uuid libraryAndrew Stitcher2014-01-153-59/+16
| | | | | | | - The stores do not directly depend on the library but rather use the platform indirection in qpid to get to uuid capabilities. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558591 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5483: [linearstore] Recovery of journal with partly written record ↵Kim van der Riet2014-01-1511-139/+247
| | | | | | fails with "JERR_JREC_BADRECTAIL: Invalid data record tail" error message git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558589 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5481: Messaging API Update - r1460198 QPID-4586 Receiver and Sender ↵Charles E. Rolke2014-01-154-0/+97
| | | | | | 'Address getAddress()' added git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558549 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5482: HA Backup becomes useless if a connection-forced error is raised.Alan Conway2014-01-155-20/+39
| | | | | | | | | | | Backup will now shut-down with critical error if it receives a connection-forced while trying to connect to the primary so the problem is obvious. ha/StatusCheck: don't use the HaBroker outside the StatusCheck constructor as it may be deleted. Avoids core dump if broker shuts down early while status check is ongoing. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558538 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Reformat white space with Visual Studio 2010 ^K^F Format Selection.Charles E. Rolke2014-01-157-43/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558481 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5476: Improve the robustness and portability of check-abiAndrew Stitcher2014-01-141-7/+12
| | | | | | | - Fix check-abi for BSD mktemp/sed command line syntax. - Make sure we fix sort to C locale to avoid any confusion. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558201 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5452: Change installation directory for qpid-send/qpid-receiveAndrew Stitcher2014-01-141-9/+13
| | | | | | | | | | qpid-send/qpid/receive are useful utilities in their own right and not just used for testing so install them in an easily accessible location. Patch from Irina Boverman git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1558193 13f79535-47bb-0310-9956-ffa450edef68
* Don't use a linkmap to cut down the exported library symbols ifAndrew Stitcher2014-01-141-5/+2
| | | | | | | the compiler if gcc 4.1.2 (as used in RHEL 5). This fixes a crash in the unit tests somehow triggered by adding the work in QPID-5415. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1557946 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5473: Recovery where last record in file is truncated (ie spans files), ↵Kim van der Riet2014-01-122-2/+3
| | | | | | but following file is uninitialized causes crash git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1557620 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5469: link should not override a topic policy specifying autodeletionGordon Sim2014-01-101-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1557280 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5468: fix handling of delete-if-unused for sending linksGordon Sim2014-01-101-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1557279 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5467: fix handling of delete-on-closeGordon Sim2014-01-104-8/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1557272 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5463: make dynamic nodes auto deleted by defaultGordon Sim2014-01-104-4/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1557262 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5428: Heartbeats not in use when attempting to connect with python client.Alan Conway2014-01-091-0/+27
| | | | | | | | | | | | | | | | | | | | | Heartbeats ignored when opening a connection, could hang indefinitely Need to cover 3 cases (test included): - Connect sucessful but then broker stalls. - Connect to a stalled broker that never responds. - Fail-over to a stalled broker that never responds All cases are handled by the following fixes to driver.py: - Check for heartbeats even before engine._connected since we may time out before receiving open-ok if the peer is stalled and never sends data. - Set _last_in and _last_out so that we time heartbeats from the start of the connection if no data is ever sent or received. - Call self.update_status in Driver.timeout to detect connection closed due to heartbeat timeout (rather than a readable or writeable event.) Make update_status a no-op if engine or transport are not yet set up. - Don't consider reconnect complete in connect(), wait till we get the open-ok. See the comment on Driver._check_retry_ok() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1556971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5454: Sporadic core dump in ↵Alan Conway2014-01-091-2/+3
| | | | | | | | | | | ha_tests.ReplicationTests.test_auto_delete_failover Due to race condition Bridge::cancel using a deleted Connection object. If the bridge is being cancelled because it is about to be created on a new connection, then it should not attempt to send a cancel to the remote peer since that connection is no longer valid. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1556966 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5460: [linearstore] Recovery of store which contains prepared but ↵Kim van der Riet2014-01-0912-131/+132
| | | | | | incomplete transactions results in message loss git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1556892 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5457: support for messages composed of multiple transfersGordon Sim2014-01-093-14/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1556787 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix brokertest.py so it doesn't try to load two stores.Alan Conway2014-01-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1556344 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5451: remove unnecessary notice loggingGordon Sim2014-01-071-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1556163 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Remove out of date qpid/cpp/src/qpid/ha/README.mdAlan Conway2014-01-061-98/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1556032 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5418: Prevent qpidd from loading multiple store modules - Patch from ↵Charles E. Rolke2014-01-061-0/+6
| | | | | | | | | | Ernie Allen Approved in https://reviews.apache.org/r/16573/ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1556014 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Install python code as part of cmake make phaseAlan Conway2014-01-061-9/+5
| | | | | | | | | Previosly the qpid/python code was being installed only during cmake configuration phase and was not updated if the python code changed later. Added a custom target to run setup.py whenever make is run. setup.py is smart enough not to do un-necessary work if the python files have not changed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1555989 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5415: Fixes to correct API specification and exportsAndrew Stitcher2014-01-032-1/+9
| | | | | | | - Correctly export LoggerOutput virtual destructor for Visual Studio - Add new APIs into the API specification git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1555245 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5415: Implement control of internal log output in qpid::messaging APIAndrew Stitcher2014-01-0310-20/+555
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1555202 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5427: Critical log messages should not ever be disabledAndrew Stitcher2014-01-031-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1555201 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5447: check whether exchange type was actually specified before raising ↵Gordon Sim2014-01-033-3/+9
| | | | | | error git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1555106 13f79535-47bb-0310-9956-ffa450edef68