summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Improved wording in the doxygen strings for session::reject(), ↵Jonathan Robie2010-10-151-4/+6
| | | | | | session::release(). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022902 13f79535-47bb-0310-9956-ffa450edef68
* Removed confusing text from reject() and release() doxygen strings.Jonathan Robie2010-10-141-7/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022712 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2907 Developing Qpid Cpp Messaging .NET Binding requires setup helpCharles E. Rolke2010-10-141-0/+522
| | | | | | | | | This script helps a user set up 32-bit and 64-bit Windows development trees without manually editing CMake answer files. Theory of operation and use case descriptions are in the script comments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022704 13f79535-47bb-0310-9956-ffa450edef68
* Code cleanup in broker directory.Alan Conway2010-10-1449-469/+498
| | | | | | | | - Removed un-necessary #includes for broker/Queue.h - Removed "using std::string" in header files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022679 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2906 Qpid WinSDK .NET Binding does not support Release configurationCharles E. Rolke2010-10-146-169/+1062
| | | | | | | | | | | | | | | | | | | | This patch adds Release mode build support for the .NET Binding to C++ Messaging. 1. SessionReceiver project was putting its x64 output into the wrong directory and was not picked up by the WinSDK. 2. winsdk_dotnet_examples.sln had the projects in a hierarchy. This spoils the experience for users of VS Express where the solution failed to load. 3. README-winsdk.txt provides an ascii-art picture of the components in the SDK. Also adds a description of how to switch the .NET example projects from debug to release. 4. New files added in cpp/src/windows/winsdk: LICENSE-MSVC is windows-only text to be appended to the root LICENSE file. MS-LICENSE.HTM is the Microsoft Runtime Redistributable license for VS2008 and .NET Framework 3.5. 5. bld-winsdk.ps1: Builds full Debug and Release (RelWithDebInfo) .NET binding DLLs. Augments the licenses in the kit root with information about the Microsoft Redistributable Runtime. Enforces DOS line endings on all the kit root info files. Installs the Debug version of .NET Binding in the /bin directory. Places zipped Debug and Release versions of .NET Binding in the /bin directory that users may select. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022667 13f79535-47bb-0310-9956-ffa450edef68
* Test client to measure cluster lag: greater delays in responses from some ↵Alan Conway2010-10-132-9/+99
| | | | | | | | | brokers. Note yet incorporated into an automated test, but this is a useful stand-alone test client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022279 13f79535-47bb-0310-9956-ffa450edef68
* Added -fno-strict-aliasing for all of the swig-generated Python wrappers becauseTed Ross2010-10-133-3/+3
| | | | | | | Swig (for Python) generates code that violates the strict aliasing rules. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022224 13f79535-47bb-0310-9956-ffa450edef68
* Add state constraint annotations to Rdma::AsynchIO;Andrew Stitcher2010-10-121-4/+14
| | | | | | | Simplify state machine slightly git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021831 13f79535-47bb-0310-9956-ffa450edef68
* Improve the performance of the Rdma::AsynchIO by using a veryAndrew Stitcher2010-10-122-7/+62
| | | | | | | | simple state machine to reduce the context switch for notifyPendingWrite() by allowing it to "hijack" existing concurrent processing on an IO thread. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021823 13f79535-47bb-0310-9956-ffa450edef68
* Rewrite Rdma::AsynchIO to use deferred code rather than a state machine:Andrew Stitcher2010-10-122-238/+26
| | | | | | | | This eliminates a lot of difficult to understand error prone state machine code git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021822 13f79535-47bb-0310-9956-ffa450edef68
* Delay deleting the Rdma::AsynchIO associated with a Connection to just beforeAndrew Stitcher2010-10-121-69/+55
| | | | | | | | | | | | the callback to the ConnectionImpl shutdown function so that we make the possibility of race between a write coming down and deleting it as small as possible. Rearranged scope of polling boolean to indicate that the data channel is connected (or not) and changed name to better describe its function git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021821 13f79535-47bb-0310-9956-ffa450edef68
* Account for seemingly getting reject messages after already getting establishedAndrew Stitcher2010-10-121-1/+7
| | | | | | | event. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021820 13f79535-47bb-0310-9956-ffa450edef68
* Serialise close into the data callbacks:Andrew Stitcher2010-10-123-38/+72
| | | | | | | | | Rejig Rdma::ConnectionManager to have a stop function with a callback and use this to ensure that the Rdma::Connector used by qpid::sys::RdmaConnector is correctly deleted only after it has been actually stopped git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021819 13f79535-47bb-0310-9956-ffa450edef68
* Make sure that Rdma::Listener can generate no more callbacks after it receivesAndrew Stitcher2010-10-121-0/+12
| | | | | | | a disconnected event for a connection id. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021818 13f79535-47bb-0310-9956-ffa450edef68
* If we have already stopped an Rdma connection, but we still get a data eventAndrew Stitcher2010-10-121-0/+3
| | | | | | | ignore it git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021817 13f79535-47bb-0310-9956-ffa450edef68
* Handle Rdma Flush events - instead of reporting to the application justAndrew Stitcher2010-10-121-0/+16
| | | | | | | | return write buffers to the pool and do nothing for recv buffers as the connection must be in an error state now. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021816 13f79535-47bb-0310-9956-ffa450edef68
* Fix Rdma test server so that you can interrupt it again (since makingAndrew Stitcher2010-10-121-3/+9
| | | | | | | Poller run loop impervious to signals) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021815 13f79535-47bb-0310-9956-ffa450edef68
* Catch uncaught exceptions thrown by DispatchHandle callbacks instead of lettingAndrew Stitcher2010-10-121-0/+7
| | | | | | | then destroy the Poller thread. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021814 13f79535-47bb-0310-9956-ffa450edef68
* Converted four files from DOS format to Unix format to match all of the otherTed Ross2010-10-114-1335/+1335
| | | | | | | | | files in their respective directories. This is a non-substantive change, only end-of-line formatting was modified. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021423 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2866 Remove unneeded build files and directoryCharles E. Rolke2010-10-113-433/+0
| | | | | | Delete directory qpid/cpp/bindings/qpid/dotnet/bld and all the files in it. They are unused (see QPID-2827) and their presence will only confuse future maintainers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2865 Cpp messaging examples compile problems for x64.Charles E. Rolke2010-10-116-12/+12
| | | | | | This fix adds a unique identifier to each x64 target's IntermediateDirectory. Consequently, each project's BuildLog file goes into a separate directory and the compiles are cleaner. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021367 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2863Charles E. Rolke2010-10-112-156/+0
| | | | | | These files were not deleted in last commit. Trying again. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021366 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2863 Propagate WinSDK Build Version numbers to the Messaging .NET BindingCharles E. Rolke2010-10-115-4/+169
| | | | | | | | | | Rooted at qpid/, this patch propagates the Windows version numbers to the .NET Binding DLLs. The changes can be summarized: 1. The files that hold the version numbers are renamed to templates and are edited to hold the version number CMake variable names. 2. CMake calls configure_file twice to put the version numbers into the generated files. 3. The projects that use these files are steered to use the generated source. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021361 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2895 Qpid Windows Messaging .NET Binding does not work in release mode.Charles E. Rolke2010-10-1117-408/+808
| | | | | | | The problem is that the Release mode dll is built with links to the MSVC debug runtime libraries. This fix also gets rid of the AllCPU configuration. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021351 13f79535-47bb-0310-9956-ffa450edef68
* Registers the amq.failover exchange in the management exchange.Jonathan Robie2010-10-085-14/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005908 13f79535-47bb-0310-9956-ffa450edef68
* Apply patch from QPID-2415 describing SSL use on Windows.Stephen D. Huston2010-10-081-0/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005688 13f79535-47bb-0310-9956-ffa450edef68
* Fix session-shutdown-after-failure so it does not cause a segfault.Ted Ross2010-10-072-6/+9
| | | | | | | | Fixed the method-call wrapper for Python in the qpid messaging wrapper to properly handle and translate C++ exceptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005654 13f79535-47bb-0310-9956-ffa450edef68
* Add explicit node-type declaration for receivers.Ted Ross2010-10-071-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005643 13f79535-47bb-0310-9956-ffa450edef68
* Update new cluster design: no longer planning to use MessageStore interface.Alan Conway2010-10-071-36/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005472 13f79535-47bb-0310-9956-ffa450edef68
* Cluster benchmark test script. Improvements to qpid-cpp-bencmhark.Alan Conway2010-10-043-14/+68
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1004420 13f79535-47bb-0310-9956-ffa450edef68
* Allows browsing of exclusive queues held by another session. Jonathan Robie2010-10-042-1/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1004357 13f79535-47bb-0310-9956-ffa450edef68
* Fixes two bugs for ring queue policies that involve size. Jonathan Robie2010-10-013-22/+125
| | | | | | | | | | | | - When messages vary in size, now correctly displaces enough smaller messages to make room for the new message. - When a message is larger than maximum queue size, now correctly rejects the message. Resolves JIRA QPID-2338 (https://issues.apache.org/jira/browse/QPID-2338). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003531 13f79535-47bb-0310-9956-ffa450edef68
* Improvements to output & message distribution for qpid-cpp-benchmark.Alan Conway2010-09-304-6/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003231 13f79535-47bb-0310-9956-ffa450edef68
* Add missing files to EXTRA_DIST.Alan Conway2010-09-301-2/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1003230 13f79535-47bb-0310-9956-ffa450edef68