summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Applied fix (submitted as patch to qpid-dev by Nuno Santos): include headers ↵Gordon Sim2007-09-121-0/+1
| | | | | | used in posix wrappers. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@574874 13f79535-47bb-0310-9956-ffa450edef68
* Fixes for QPID-581 & QPID-563Gordon Sim2007-09-074-7/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@573516 13f79535-47bb-0310-9956-ffa450edef68
* Fixes for QPID-544 and QPID-548Gordon Sim2007-08-139-5/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@565284 13f79535-47bb-0310-9956-ffa450edef68
* Revised release notes: removed bug fixed on this branch, removed outstanding ↵Gordon Sim2007-07-231-10/+2
| | | | | | feature lists as it is not terribly accurate or helpful. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@558630 13f79535-47bb-0310-9956-ffa450edef68
* Removed .txt from RELEASE_NOTESAlan Conway2007-07-202-1/+1
| | | | | | | Added RELEASE_NOTES to EXTRA_DIST in Makefile.am git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@558116 13f79535-47bb-0310-9956-ffa450edef68
* added release notesRajith Muditha Attapattu2007-07-201-0/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@558114 13f79535-47bb-0310-9956-ffa450edef68
* typo fixCarl C. Trieloff2007-07-201-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@558108 13f79535-47bb-0310-9956-ffa450edef68
* Ignore QPID_ env variables that don't correspond to known options.Alan Conway2007-07-204-15/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@558099 13f79535-47bb-0310-9956-ffa450edef68
* Remove -ldaemon, we no longer require libdaemon.Alan Conway2007-07-201-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@558083 13f79535-47bb-0310-9956-ffa450edef68
* Fixed the license from the "old" apache copyright noticeAndrew Stitcher2007-07-2015-195/+240
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@558072 13f79535-47bb-0310-9956-ffa450edef68
* * lib/broker/Daemon.cpp, .hAlan Conway2007-07-197-229/+234
| | | | | | | | | | | | | | | | | - Rewrote to remove libdaemon dependency. - PID file stored in /var/run if root, /tmp otherwise. * src/qpidd.cpp: Use new Daemon.cpp. - lock files stored in /var/run (for root) or /tmp. - updated to trunk daemon flag behavior. * lib/broker/Makefile.am (libqpidbroker_la_LIBADD): - Daemon.cpp now needs -lboost_iostreams * NOTICE, README: Removed mention of libdaemon. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@557452 13f79535-47bb-0310-9956-ffa450edef68
* removed optional cppunit as not in distributed packagesCarl C. Trieloff2007-07-161-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@556682 13f79535-47bb-0310-9956-ffa450edef68
* clean upCarl C. Trieloff2007-07-161-9/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@556680 13f79535-47bb-0310-9956-ffa450edef68
* added notice entriesCarl C. Trieloff2007-07-161-2/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@556675 13f79535-47bb-0310-9956-ffa450edef68
* Added license to files that seemed to be missing it.Gordon Sim2007-07-0528-0/+506
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@553447 13f79535-47bb-0310-9956-ffa450edef68
* Patch submitted to qpid-dev by ksmith@redhat.com. Fixes concurrency issues ↵Gordon Sim2007-05-2215-30/+121
| | | | | | | | | | | | | | | | arising from previous move to use singleton apr pool. "My patch does three things: 1) Modifies the APRPool class to use alloc/free semantics for APR memory pools. Each time a caller calls APRPool::get() they'll their own pool reference. I've fixed up all the call sites I can find to also call APRPool::free() at the appropriate time. 2) Caches freed APR memory pools in a STL stack. This cuts down on the number of memory pools created overall. 3) As a result of doing #1 and #2 I've introduced a guard mutex around APRPool::get() and APRPool::free(). This is to prevent concurrent access to the memory pool cache. If it's too heavyweight, the mutex along with the caching mechanism could be removed entirely." git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@540511 13f79535-47bb-0310-9956-ffa450edef68
* Made message less scary when persistence not enabled(!).Gordon Sim2007-05-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@540169 13f79535-47bb-0310-9956-ffa450edef68
* * Makefile.am: added rpmbuild target for consistency with trunk.Alan Conway2007-05-181-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@539594 13f79535-47bb-0310-9956-ffa450edef68
* Added missing files so that make distcheck passes.Gordon Sim2007-05-151-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@538098 13f79535-47bb-0310-9956-ffa450edef68
* Separated out implementation from interop test headers.Gordon Sim2007-05-157-200/+299
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@538079 13f79535-47bb-0310-9956-ffa450edef68
* Fix for acknowledgements (since the addition of the protocol version, the ↵Gordon Sim2007-05-111-2/+2
| | | | | | 'wrong' constructor to BasicAckBody was being called resulting in random values for delivery tag and multiple) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@537171 13f79535-47bb-0310-9956-ffa450edef68
* * Added support for channel.flow:Gordon Sim2007-05-0910-22/+87
| | | | | | | | | | | | | | | | | | | | | | cpp/tests/ChannelTest.cpp cpp/lib/broker/SessionHandlerImpl.cpp cpp/lib/broker/BrokerChannel.h cpp/lib/broker/BrokerChannel.cpp * Fixed client connection closing process: cpp/lib/common/sys/apr/Socket.cpp cpp/lib/client/Connector.h cpp/lib/client/Connector.cpp cpp/lib/client/Connection.h cpp/lib/client/Connection.cpp * Use amq.direct rather than default exchange in P2P test (to interop with java) cpp/tests/BasicP2Ptest.h git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@536584 13f79535-47bb-0310-9956-ffa450edef68
* Altered test case 2, i.e. basic p2p, such that it binds the queue to ↵Gordon Sim2007-05-092-1/+3
| | | | | | | | | | amq.direct rather than relying on the default bindings. Modified the clientid option of the test runner to be -n,--clientname to be consistent with java test runner. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@536449 13f79535-47bb-0310-9956-ffa450edef68
* * README: added libdaemon to yum instructions.Alan Conway2007-05-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@536339 13f79535-47bb-0310-9956-ffa450edef68
* * lib/broker/Daemon.cpp: Fixed bug causing qpidd -c to sometmes delete the ↵Alan Conway2007-05-081-1/+1
| | | | | | pidfile. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@536279 13f79535-47bb-0310-9956-ffa450edef68
* Initial interop tests for c++.Gordon Sim2007-05-088-3/+758
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@536253 13f79535-47bb-0310-9956-ffa450edef68
* Add doxygen.timestamp to distribution so make distcheck will pass.Alan Conway2007-05-011-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@534113 13f79535-47bb-0310-9956-ffa450edef68
* Add .M2 tag to rpm releaseAlan Conway2007-04-302-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533860 13f79535-47bb-0310-9956-ffa450edef68
* Added -M2 tag to RPM release.Alan Conway2007-04-306-14/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533840 13f79535-47bb-0310-9956-ffa450edef68
* * README: added new dependency, libdaemon.Alan Conway2007-04-309-75/+355
| | | | | | | | | | | | | | | | | | * qpidc.spec.in: libdaemon dependencies. * broker/Daemon.h|cpp: Daemon and pid file management, wrapper for libdaemon. * qpidd.cpp modifid flags -d [ --daemon ] - waits till deamon is listening before returning. * qpidd.cpp: new flags -q [ --quit ] Stop the running daemon politely. -k [ --kill ] Kill the running daemon harshly. -c [ --check ] If daemon is running return 0. --wait SECONDS (=10) Maximum wait for daemon response. --ppid Print daemon pid to stdout * tests/dameon_test: Test daemon startup, shutdown. * deleted tests/broker: obsolete script. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@533819 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 532430 by hand fromAlan Conway2007-04-266-135/+63
| | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/trunk/qpid/cpp ------------------------------------------------------------------------ r532750 | aconway | 2007-04-26 10:13:14 -0400 (Thu, 26 Apr 2007) | 4 lines - docs/man/qpidd.x: explain file and environment configuration. - src/qpidd.cpp: read config from file. ------------------------------------------------------------------------ r532491 | aconway | 2007-04-25 17:26:53 -0400 (Wed, 25 Apr 2007) | 4 lines Added environment variables as a source of Qpid configuration. Option "foo-bar" will be read from env. QPID_FOO_BAR if not specified on command line. ------------------------------------------------------------------------ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@532791 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 532430 by hand fromAlan Conway2007-04-2616-593/+405
| | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/trunk/qpid/cpp ------------------------------------------------------------------------ r532430 | aconway | 2007-04-25 14:06:14 -0400 (Wed, 25 Apr 2007) | 10 lines * qpid/CommonOptions.h: - Convenience classs/functions to use boost::program_options. - CommonOptions class for options common to client/broker. * qpid/broker/Broker.h: - Replaced broker::Configuration with class Broker::Options, derived from CommonOptions. * qpidd.cpp: Updated options handling. * qpid/Exception.h: Added strError function to get std::string from errno. ------------------------------------------------------------------------ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@532787 13f79535-47bb-0310-9956-ffa450edef68
* Fixed line endingsAndrew Stitcher2007-03-091-42/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@516451 13f79535-47bb-0310-9956-ffa450edef68
* Send missing recoverOk response to recover.Alan Conway2007-03-051-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@514903 13f79535-47bb-0310-9956-ffa450edef68
* (Patch submitted by Rupert Smith) Small changes to use virtual hosts, merged ↵Robert Greig2007-03-014-45/+45
| | | | | | back in from perftesting_persistent branch. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@513371 13f79535-47bb-0310-9956-ffa450edef68
* Check for existing channel on channel_openGordon Sim2007-02-211-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@510159 13f79535-47bb-0310-9956-ffa450edef68
* * qpidc.spec.in: Add a %changelog entry for 0.1-4.Jim Meyering2007-02-201-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@509737 13f79535-47bb-0310-9956-ffa450edef68
* * qpidc.spec.in (URL): Update URL: and Source0: to point useJim Meyering2007-02-191-2/+2
| | | | | | | http://rhm.et.redhat.com. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@509208 13f79535-47bb-0310-9956-ffa450edef68
* Applied QPID-351 patch 1 with the following mods:Alan Conway2007-02-147-490/+266
| | | | | | | | | | | - Moved "source distro" instructions in front of "subversion checkout" instructions. - Added instructions on using qpid-autotools-install - Added general blurb with links at top - renamed to README, removed other README-* files. - Updated makefiles (spec file was already OK.) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507729 13f79535-47bb-0310-9956-ffa450edef68
* Add durability property to queues and pass this to broker on declare.Gordon Sim2007-02-143-14/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507582 13f79535-47bb-0310-9956-ffa450edef68
* Applied patch from Jim Meyering, submitted on dev list:Gordon Sim2007-02-141-1/+1
| | | | | | | | | | | | 2007-02-14 Jim Meyering <jim@meyering.net> * gen/Makefile.am (gen-src.mk): Don't append to $@-t, in case there's a stray copy left over from an interrupted build. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507472 13f79535-47bb-0310-9956-ffa450edef68
* Applied patch from Jim Meyering, submitted on dev list:Gordon Sim2007-02-141-1/+1
| | | | | | | | * tests/setup: Remove use of libtool's --debug option. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507458 13f79535-47bb-0310-9956-ffa450edef68
* Applied patch from Jim Meyering submitted on dev list:Gordon Sim2007-02-141-3/+2
| | | | | | | | | | | 2007-02-14 Jim Meyering <jim@meyering.net> * qpidc.spec.in: Use an absolute Source0: URL. Suggestion from Ralf Corsepius. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507457 13f79535-47bb-0310-9956-ffa450edef68
* Applied patch from Jim Meyering, submitted on dev list:Gordon Sim2007-02-141-4/+4
| | | | | | | | | | | 2007-02-14 Jim Meyering <jim@meyering.net> * configure.ac: Use $enableval, not $enable_APR in the code supporting --disable-apr and --enable-apr. The latter doesn't work. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507455 13f79535-47bb-0310-9956-ffa450edef68
* (Submitted by Rupert Smith) Small ommission corrected.Robert Greig2007-02-131-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@506972 13f79535-47bb-0310-9956-ffa450edef68
* (Submitted by Rupert Smith) Qpid-351, c++ build instructions, all in one file.Robert Greig2007-02-131-0/+222
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@506967 13f79535-47bb-0310-9956-ffa450edef68
* * lib/client/Connection.h - changed default virtual host from '/' to '' as ↵Gordon Sim2007-02-122-2/+2
| | | | | | | | | | per QPID-349 * lib/client/ClientExchange.h - fixed typo in a comment git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@506406 13f79535-47bb-0310-9956-ffa450edef68
* * Fixed typo in make rpm target.Alan Conway2007-01-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499864 13f79535-47bb-0310-9956-ffa450edef68
* * qpidc.spec.in: fixed bad date in changelog.Alan Conway2007-01-251-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499847 13f79535-47bb-0310-9956-ffa450edef68
* * qpidc.spec.in: updated to release 3 for RPM.Alan Conway2007-01-255-24/+42
| | | | | | | | | * gen/make-gen-src-mk.sh: fixed problem with makefile generation in a new checkout. * Other Makefile.am: added missing files to maintainer-clean. * Added missing svn-ignores. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499845 13f79535-47bb-0310-9956-ffa450edef68