summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added sed based alternative to help2man to ensure that a reasonable man page ↵Gordon Sim2010-06-305-8/+28
| | | | | | is produced in all cases git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959271 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2706 Patch from Chuck RolkeTed Ross2010-06-291-0/+13
| | | | | | Added missing file from patch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959100 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2706 Patch from Chuck RolkeTed Ross2010-06-298-20/+7
| | | | | | Removed space from directory name in the VB examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959099 13f79535-47bb-0310-9956-ffa450edef68
* Move all shared lib prefix/postfix/suffix settings from tests/CMakeLists.txt ↵Stephen D. Huston2010-06-293-13/+11
| | | | | | to config.h (revises the plan implemented at r770001). Also sets separate macros for MODULE and SHLIB. Fixes QPID-2707. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959067 13f79535-47bb-0310-9956-ffa450edef68
* added a case for SEC_ERROR_EXPIRED_CERTIFICATE: in getErrorString() Rajith Muditha Attapattu2010-06-291-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959064 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2689: Install and package Visual Studio debugging symbols (.pdb) files,Andrew Stitcher2010-06-282-168/+191
| | | | | | | | in the windows sdk zip package. A Modified version of a patch from Chuck Rolke git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958703 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck RolkeTed Ross2010-06-251-6/+74
| | | | | | Re-do changes to Session.cpp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck RolkeTed Ross2010-06-2523-378/+498
| | | | | | | | | * Convert c-style Get() functions to c#-style properties. * Add powershell helloworld example. * Fix message SetContent to accept byte array or byte array slice. * Re-code Session GetReceiver and GetSender not to malloc new objects but to create the objects on the stack. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958052 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2698: recognise special property names for amqp 0-10 specific message- ↵Gordon Sim2010-06-254-3/+98
| | | | | | and delivery- properties git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958044 13f79535-47bb-0310-9956-ffa450edef68
* Fix regression in r956882, sporadic failures of ↵Alan Conway2010-06-243-18/+11
| | | | | | client_test.cpp:testBadClientData git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957640 13f79535-47bb-0310-9956-ffa450edef68
* Fix test bug causing occasional failure of cluster_test.Alan Conway2010-06-241-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957639 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck RolkeTed Ross2010-06-2417-1/+779
| | | | | | Visual Basic example added, UUID support added, C# Hello World example added. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957531 13f79535-47bb-0310-9956-ffa450edef68
* Ensure spout example waits for all messages to be sent before detaching sessionGordon Sim2010-06-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957513 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2691: ensure ttl adjustment uses correct expiration on cloned messageGordon Sim2010-06-244-5/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957511 13f79535-47bb-0310-9956-ffa450edef68
* Make verify_cluster_objects more informative.Alan Conway2010-06-231-9/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957363 13f79535-47bb-0310-9956-ffa450edef68
* Make management+cluster test more aggressive.Alan Conway2010-06-233-13/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957337 13f79535-47bb-0310-9956-ffa450edef68
* Fixed scripts that referred to README instead of README.txt.Jonathan Robie2010-06-235-32/+13
| | | | | | | Changes to web site template and content. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957222 13f79535-47bb-0310-9956-ffa450edef68
* Changed README to README.txt throughout the project for consistency. Removed ↵Jonathan Robie2010-06-235-0/+0
| | | | | | gentools/README.txt, which described Velocity. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957201 13f79535-47bb-0310-9956-ffa450edef68
* small clean up: Remove use of obsolete Dispatcher class.Andrew Stitcher2010-06-231-8/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957110 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2388: Do not unmask signals whilst waiting for IO to happenAndrew Stitcher2010-06-232-18/+2
| | | | | | | - The client and common libraries do not use signals at all so there is no real reason to allow signal handling on IO threads. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957109 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2688: ensure that unacked messages are requeued before autodeletion ↵Gordon Sim2010-06-223-9/+37
| | | | | | occurs when session closes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956988 13f79535-47bb-0310-9956-ffa450edef68
* Fix bad assertion introduced in prevoius commit r956882Alan Conway2010-06-222-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956965 13f79535-47bb-0310-9956-ffa450edef68
* Don't hold QueueRegistry lock while iterating over queues to purge them of ↵Gordon Sim2010-06-221-1/+17
| | | | | | expired messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956923 13f79535-47bb-0310-9956-ffa450edef68
* Fix cluster broker crashes when management is active.Alan Conway2010-06-2212-427/+188
| | | | | | | | | | | | Cluser brokers were exiting with errors "modified cluster state outside cluster context" and "confirmed < (50+0) but only sent < (49+0)" Fix was to: - delay completion of incoming update till update connection closes. - delay addding new connections to managment until connection is announced. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956882 13f79535-47bb-0310-9956-ffa450edef68
* Fix version infoAlan Conway2010-06-187-30/+11
| | | | | | | | - no version info for modules - no $(PLUGINLDFLAGS) on libqmfconsole, typo in previous merge. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@956001 13f79535-47bb-0310-9956-ffa450edef68
* Refer to FailoverUpdatesImpl as the struct it is, not a class. Removes ↵Stephen D. Huston2010-06-171-1/+1
| | | | | | compile warning on Windows. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955750 13f79535-47bb-0310-9956-ffa450edef68
* Consistent comparison of unsigned values; clarify usage as well as removing ↵Stephen D. Huston2010-06-171-1/+2
| | | | | | potential bad compare. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955749 13f79535-47bb-0310-9956-ffa450edef68
* Change warning C4996 from level 1 to level 4. This is the "warning C4996: ↵Stephen D. Huston2010-06-172-1/+9
| | | | | | 'std::equal': Function call with parameters that may be unsafe" warning. The "safe" replacements are only available on Windows, so can't be portably used. If the conditions are violated run-time errors are thrown, so these aren't totally ignored. Changing them to level 4 makes it possible for someone to easily find them all in a build if desired. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955742 13f79535-47bb-0310-9956-ffa450edef68
* Allow libraries to be independently versioned in the autotools build.Alan Conway2010-06-179-41/+52
| | | | | | | | Each library libfoo or plugin foo has a variable FOO_VERSION_INFO with a value passed as -version-info to libtool. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955672 13f79535-47bb-0310-9956-ffa450edef68
* Bug 603835 - cluster_tests.test_management failing.Alan Conway2010-06-166-37/+53
| | | | | | | | | | | Clean up connections causing extra connection objects in the mangement agent map. - update connection was not being closed. - connections belonging to members that left the cluster were not fully cleaned up Also fixed test errors making failover_soak fail sporadically. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955370 13f79535-47bb-0310-9956-ffa450edef68
* remove assertion for condition that is in fact valid (the callback could ↵Gordon Sim2010-06-161-2/+0
| | | | | | have been processed on the back of an event concurrently returned with the interrupt request) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955339 13f79535-47bb-0310-9956-ffa450edef68
* Nix a compile warning on Windows about converting int to bool.Stephen D. Huston2010-06-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@955208 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck RolkeTed Ross2010-06-1536-92/+1879
| | | | | | More API cleanup and new examples (to match the examples for other languages) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954983 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2670: copy-on-write when tagging message for loop detectionGordon Sim2010-06-156-4/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954933 13f79535-47bb-0310-9956-ffa450edef68
* This change is a partial fix for the problem of long cluster failovers. ↵Michael Goulish2010-06-151-1/+3
| | | | | | | | | | | This change addresses part of that problem: long newbie-broker catchup times. At this time, it looks as though there are two distinct mechanisms causing these long catchup times. They roughly divide into a population of times less than 20 seconds, and a population of much longer times (up to hundreds of seconds). This fix addresses only the shorter times. In a test of 25 failovers before and after the change, it reduced those times by an average of nearly 50%. A T-test on the times indicates that the likelihood of the observed change happening randomly is less than 2%. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954895 13f79535-47bb-0310-9956-ffa450edef68
* Added qpid-cpp-benchmark to EXTRA_DIST.Alan Conway2010-06-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954613 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2667 - Documentation update from Chuck RolkeTed Ross2010-06-141-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954603 13f79535-47bb-0310-9956-ffa450edef68
* Allow entry into notifyPendingWrite() if already stopped as it is too hardAndrew Stitcher2010-06-141-2/+2
| | | | | | | to eliminate a race that can cause this, and it is essentially harmless if ignored git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954499 13f79535-47bb-0310-9956-ffa450edef68
* Move QueuePair member in Rdma::AsynchIO to ensure that it get destroyed beforeAndrew Stitcher2010-06-142-4/+6
| | | | | | | the buffers it uses, so that there is no hardware activity using them after they are deleted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954498 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that we can't shutdown in the middle of writing a bufferAndrew Stitcher2010-06-141-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954497 13f79535-47bb-0310-9956-ffa450edef68
* Combine Rdma::Buffer and ibv_sge needed to send itAndrew Stitcher2010-06-147-63/+60
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954496 13f79535-47bb-0310-9956-ffa450edef68
* Try to avoid getting into a state where we can't send credit because weAndrew Stitcher2010-06-141-1/+10
| | | | | | | sent the very last buffer without any credit. So in theory when we do have credit to send we should have a buffer and xmit credit to do it with. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954495 13f79535-47bb-0310-9956-ffa450edef68
* Added asserts to ensure that we catch it if xmitCredit isn't saneAndrew Stitcher2010-06-141-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954494 13f79535-47bb-0310-9956-ffa450edef68
* Allow stopping even if we've got outstanding write buffers.Andrew Stitcher2010-06-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954493 13f79535-47bb-0310-9956-ffa450edef68
* In Rdma::AsynchIO::stop():Andrew Stitcher2010-06-142-6/+19
| | | | | | | | | | | | - make sure we stop the underlying handle immediately whether or not we do the stopped callback now or have to defer it. In qpid::client::RdmaConnector: - make sure that the shutdown handler is called under all circumstances. - make sure that the destructor doesn't delete the aio if it is already deleted git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954492 13f79535-47bb-0310-9956-ffa450edef68
* Only set the draining flag when we delay calling the drained callback.Andrew Stitcher2010-06-141-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954491 13f79535-47bb-0310-9956-ffa450edef68
* Trivial code simplificationAndrew Stitcher2010-06-141-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954490 13f79535-47bb-0310-9956-ffa450edef68
* Removed unnecessary parameter from Rdma::AsynchIO::dataEvent()Andrew Stitcher2010-06-142-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954489 13f79535-47bb-0310-9956-ffa450edef68
* Rename tests qpid_* to qpid-* for consistency.Alan Conway2010-06-148-47/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954471 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug in which QMF error return codes were being sent back as 7 - ↵Ted Ross2010-06-111-20/+12
| | | | | | Exception. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@953885 13f79535-47bb-0310-9956-ffa450edef68