summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Changed Variant::fromString() to Variant::parse(). Also changed implementation.Jonathan Robie2010-11-013-36/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1029673 13f79535-47bb-0310-9956-ffa450edef68
* Moved new cluster design docs into cpp/design.Alan Conway2010-11-013-23/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1029671 13f79535-47bb-0310-9956-ffa450edef68
* Updates to new cluster design docs.Alan Conway2010-11-012-108/+113
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1029670 13f79535-47bb-0310-9956-ffa450edef68
* add ASF licence to various files in the cpp treeRobert Gemmell2010-10-3116-10/+253
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1029521 13f79535-47bb-0310-9956-ffa450edef68
* Prevent sasl_fed from blowing up in a distro, or "make distcheck",Michael Goulish2010-10-291-8/+15
| | | | | | | by bailing out if the python tools that it needs are absent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028878 13f79535-47bb-0310-9956-ffa450edef68
* Corrects AddressParser to use typed simple values.Jonathan Robie2010-10-294-11/+58
| | | | | | | | | | Adds Variant::fromString(). Resolves QPID-2896 and QPID-2908. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028860 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2807 More flexible acknowledgementCharles E. Rolke2010-10-292-0/+12
| | | | | | | The message-level Acknowledge in Cpp was not reflected in the .NET Messaging binding. This commit adds the ack to the code and to the doc book session method mapping table. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028859 13f79535-47bb-0310-9956-ffa450edef68
* Since LSNs are used as persistence IDs and ID 0 usually means "not ↵Stephen D. Huston2010-10-299-30/+131
| | | | | | | | | persisted", ensure that no log record that's used gets written at LSN 0. Add stub for loadContent(). Correct transaction references in enqueue/dequeue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028840 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2916: fix QMF test that was sending a sstr > 255 bytes long.Kenneth Anthony Giusti2010-10-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028812 13f79535-47bb-0310-9956-ffa450edef68
* Add missing hello_world and hello_xml examples. Resolves QPID-2919.Stephen D. Huston2010-10-291-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028752 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2916: throw an exception when a data value cannot be encoded correctly ↵Kenneth Anthony Giusti2010-10-287-28/+92
| | | | | | as its type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028501 13f79535-47bb-0310-9956-ffa450edef68
* Add ASF licence to the git ignore filesRobert Gemmell2010-10-282-0/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028476 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2918 Assembly mis-named in csharp.example.declare_queuesCharles E. Rolke2010-10-281-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2906 Charles E. Rolke2010-10-283-827/+1
| | | | | | Delete vendor-specific licenses. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028391 13f79535-47bb-0310-9956-ffa450edef68
* Fixes broker issues when max_count or max_size are invalid.Jonathan Robie2010-10-282-7/+20
| | | | | | | Accepts non-negative integer values, or strings containing the lexical representation of such values. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028346 13f79535-47bb-0310-9956-ffa450edef68
* Clarify this output comment a little.Michael Goulish2010-10-281-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028250 13f79535-47bb-0310-9956-ffa450edef68
* Add a small executable that prints out the sasl version number in integer form.Michael Goulish2010-10-283-3/+65
| | | | | | | Use it in the sasl_fed test to determine whether that test can run. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028180 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2915 Qpid Cpp Messaging .NET Binding does not properly handle Qpid type ↵Charles E. Rolke2010-10-274-6/+40
| | | | | | | | | | | VAR_VOID * In C# map sender example, send null list and map values. * In Message ToString() display "" for null list and map values. * Do not dereference null values when determining their type. * Properly marshal native Qpid VAR_VOID data type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028099 13f79535-47bb-0310-9956-ffa450edef68
* Updates to new cluster design.Alan Conway2010-10-271-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028082 13f79535-47bb-0310-9956-ffa450edef68
* 1) Fix a bug where AGENT_RESTART is repeatedly reported when detected once.Ted Ross2010-10-273-11/+28
| | | | | | | | | 2) ConsoleSession::getAgents now lists only agents in the agent-filter. If the connected broker agent does not match the filter, it is removed from the list though it is still accessible using ConsoleSession::getConnectedBrokerAgent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028066 13f79535-47bb-0310-9956-ffa450edef68
* Fix make distcheck error: added sasl_fed to EXTRA_DIST.Alan Conway2010-10-272-5/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028056 13f79535-47bb-0310-9956-ffa450edef68
* Revert experimental cluster code, too close to 0.8 release.Alan Conway2010-10-2733-1774/+63
| | | | | | | | | Reverts revisions: r1023966 "Introduce broker::Cluster interface." r1024275 "Fix compile error: outline set/getCluster fucntions on Broker." r1027210 "New cluster: core framework and initial implementation of enqueue logic." git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028055 13f79535-47bb-0310-9956-ffa450edef68
* Updates to new cluster design.Alan Conway2010-10-273-1/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028006 13f79535-47bb-0310-9956-ffa450edef68
* From Robbie's recent 0.8 RAT.txt: Unapproved licenses in ↵Charles E. Rolke2010-10-2738-2/+734
| | | | | | | | cpp/bindings/qpid/dotnet This submission repairs 39 files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028000 13f79535-47bb-0310-9956-ffa450edef68
* Added another missing licenseGordon Sim2010-10-271-0/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027880 13f79535-47bb-0310-9956-ffa450edef68
* Added some missing licenses; added FedOps.h to distribution listGordon Sim2010-10-277-0/+97
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027879 13f79535-47bb-0310-9956-ffa450edef68
* Add missing Apache licences to cluster files.Alan Conway2010-10-266-1/+108
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027749 13f79535-47bb-0310-9956-ffa450edef68
* Updates to new cluster design docs regarding active-passive mode.Alan Conway2010-10-263-3/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027714 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2897 repair missing DLL import/export controlsCharles E. Rolke2010-10-261-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027659 13f79535-47bb-0310-9956-ffa450edef68
* This code's purpose was only to print out the sasl version into the logsMichael Goulish2010-10-262-14/+24
| | | | | | | | | | so that I could grep for it in the sasl_fed test. But it is breaking the windows build. So I am backing it out, and temporarily disabling the sasl_fed test until I can implement something a little less grotesque. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027594 13f79535-47bb-0310-9956-ffa450edef68
* Fix bug in qpid-cpp-benchmark.Alan Conway2010-10-251-2/+4
| | | | | | | | | Symptom was exit with: File "/home/remote/aconway/qpid/qpid/cpp/src/tests/qpid-cpp-benchmark", line 172, in wait if (r.poll()): raise "Receiver error: %s"%(wait_for_output(r)) NameError: global name 'wait_for_output' is not defined git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027266 13f79535-47bb-0310-9956-ffa450edef68
* Changes to make it work in vpath build!Michael Goulish2010-10-251-19/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027243 13f79535-47bb-0310-9956-ffa450edef68
* Initial design document on implementing active/passive clustering.Alan Conway2010-10-251-0/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027211 13f79535-47bb-0310-9956-ffa450edef68
* New cluster: core framework and initial implementation of enqueue logic.Alan Conway2010-10-2525-66/+1080
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1027210 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2897: modify TopicExchange for better performance with respect to large ↵Kenneth Anthony Giusti2010-10-243-169/+867
| | | | | | number of bindings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026715 13f79535-47bb-0310-9956-ffa450edef68
* Test module to run recovery-oriented store tests.Stephen D. Huston2010-10-221-0/+197
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026501 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2913 QPID Cpp Messaging Libraries for WinSDK Are Not SignedCharles E. Rolke2010-10-223-1/+10
| | | | | | | | | * Add the strong key file signature to all variants of org.apache.qpid.messaging. * Clone the qpid.snk file from messaging to sessionreceiver. * Add the strong key file signature to all variants of org.apache.qpid.messaging.sessionreceiver. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026436 13f79535-47bb-0310-9956-ffa450edef68
* Fix this test to parse the sasl version number out of the new logging ↵Michael Goulish2010-10-221-22/+13
| | | | | | statement printed by broker #2 -- and exit if the version number is too low to support redirection of the sasl database file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026233 13f79535-47bb-0310-9956-ffa450edef68
* Make the "SASL enabled" log message also print out the SASL version number. ↵Michael Goulish2010-10-221-1/+5
| | | | | | This will be useful in one test that depends on some SASL functionality that was not available before 2.1.22 . git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026227 13f79535-47bb-0310-9956-ffa450edef68
* Add hybrid SQL-CLFS store that can be used on Windows systems Vista, Win ↵Stephen D. Huston2010-10-2117-6/+3185
| | | | | | Server 2008 and up - these have the Common Log File System facility. The CLFS store uses CLFS to store/recover messages and transactions instead of SQL. SQL still holds queues, bindings, exchanges, configs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026175 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1672, r1024541 Failed to modify the windows-private SaslFactory. This ↵Charles E. Rolke2010-10-213-15/+44
| | | | | | | | | | | | commit: * coerces CMake to include the two different SaslFactory sources into qpidcommon. * modifies the windows SaslFactory to use the new interface constructs. * adds QPID_COMMON_EXPORT to the Sasl code new to qpidcommon. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026155 13f79535-47bb-0310-9956-ffa450edef68
* Get rid of boost::regex in test code.Alan Conway2010-10-216-26/+5
| | | | | | | It was barely being used and it causes portability problems on older versions of boost. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026103 13f79535-47bb-0310-9956-ffa450edef68
* get rid of BOOST_REGEXMichael Goulish2010-10-211-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026096 13f79535-47bb-0310-9956-ffa450edef68
* Strings that identify federation operations.Jonathan Robie2010-10-211-0/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026010 13f79535-47bb-0310-9956-ffa450edef68
* Adds support for federation in the XML exchange.Jonathan Robie2010-10-2011-192/+486
| | | | | | | | | Resolves QPID-2348 for the XML Exchange. Also made some changes to the file structure for fedop constants. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1025780 13f79535-47bb-0310-9956-ffa450edef68
* Add matching fclose for fdopen in ForkedBroker.Alan Conway2010-10-201-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1025587 13f79535-47bb-0310-9956-ffa450edef68
* SASLizing Interbroker LinksMichael Goulish2010-10-2017-48/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------- 1. Brokers already knew how to handle the server side of SASLized links, but not the client side. So we promoted the client-side SASL code from the client library to the common library so that the broker could also use it. This affected SaslFactory.{h,cpp} and Sasl.h TODO -- can the server-side and client-side code be unified here? 2. Some of the SASL verbs in broker/ConnectionHandler.cpp are expanded: start, secure, tune. 3. broker/SecureConnection is altered to get the client-broker and the server-broker to agree on when the security layer should be inserted. 4. the python tool qpid-route is modified so that, in the "route add" command, you can specify the security mechanism for SASL to use. TODO -- should we also pass in {min,max}SSF ? 5. Changes in broker/LinkRegistry to allow the information input by qpid-route to be passed up to where it is needed. 6. A bash script test run by "make check" that creates a SASLized federation link and sends some messages down it. TODO - write a python unit test instead of a bash script. I think I uncovered a bug in the python code when I tried. 7. NOTE - testing for this feature does not work with versions of SASL earlier than 2.1.22, becuase I can't tell SASL to use a SASL database file in a nonstandard location. The test is disabled for earlier versions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1024541 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error in BrokerClusterCalls test, signed/unsigned comparison.Alan Conway2010-10-191-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1024279 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error: outline set/getCluster fucntions on Broker.Alan Conway2010-10-192-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1024275 13f79535-47bb-0310-9956-ffa450edef68
* Introduce broker::Cluster interface.Alan Conway2010-10-1816-53/+1185
| | | | | | | | | See cpp/src/qpid/cluster/new-cluster-design.txt and new-cluster-plan.txt. qpid/cpp/src/tests/BrokerClusterCalls.cpp is a unit test that verifies the broker makes the expected calls on broker::Cluster in various situations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1023966 13f79535-47bb-0310-9956-ffa450edef68