summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added troubleshooting case for ./configureCarl C. Trieloff2007-06-251-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@550508 13f79535-47bb-0310-9956-ffa450edef68
* Dummy libcluster.so when openais is not available, keep rpmbuild happy.Alan Conway2007-06-202-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@549277 13f79535-47bb-0310-9956-ffa450edef68
* Intermediate checkin with preliminary work on epoll based net IOAndrew Stitcher2007-06-1823-365/+1609
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@548337 13f79535-47bb-0310-9956-ffa450edef68
* Parser for AMQP-95 URLsAlan Conway2007-06-155-0/+257
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@547789 13f79535-47bb-0310-9956-ffa450edef68
* Minor update of log messages.Gordon Sim2007-06-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@547726 13f79535-47bb-0310-9956-ffa450edef68
* Fixed catch clauses to catch by const & and use std::exception forAlan Conway2007-06-146-11/+11
| | | | | | | "generic" catches. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@547241 13f79535-47bb-0310-9956-ffa450edef68
* Add ability for a queue to record all bindings to it, such that these can be ↵Gordon Sim2007-06-148-3/+176
| | | | | | | | | | removed when the queue is deleted. Fix to QPID-438 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@547151 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused files src/qpid/client/ClientAdapter.cpp and .h.Alan Conway2007-06-133-137/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@547016 13f79535-47bb-0310-9956-ffa450edef68
* Examples update, exception handling.Alan Conway2007-06-133-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@546995 13f79535-47bb-0310-9956-ffa450edef68
* Example updates from jrobie.Alan Conway2007-06-132-12/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@546858 13f79535-47bb-0310-9956-ffa450edef68
* Various minor fixes to build and test process:Gordon Sim2007-06-134-3/+4
| | | | | | | | | | | * cpp/src/tests/start_broker - removed use of the now invalid --ppid option * cpp/src/tests/Makefile.am - make running of ais tests dependent on inclusion of cluster * cpp/src/Makefile.am - added missing PrivatePosix.h file to dist * cpp/Makefile.am - added examples to list of sub dirs git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@546842 13f79535-47bb-0310-9956-ffa450edef68
* Initial examples directory with jrobies example programs and Makefile.am.Alan Conway2007-06-125-0/+279
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@546612 13f79535-47bb-0310-9956-ffa450edef68
* add libqpidcluster.so to installed libraries.Alan Conway2007-06-121-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@546600 13f79535-47bb-0310-9956-ffa450edef68
* QPID-504: Print bound port if --port 0 is specified. Not yet used by tests.Alan Conway2007-06-116-148/+203
| | | | | | | | | | | | | | | | | * qpidd.cpp: - With --port 0 print the bound port number to stdout. - Removed --ppid, --check now prints pid. * Daemon.cpp/h: Move pid-file generation to caller (qpidd.cpp) * Exception.cpp: Log a debug message in exception constructors. Helps to show what exceptions were thrown even if they aren't logged at a higher level. * daemon_test: Test new daemon options. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@546180 13f79535-47bb-0310-9956-ffa450edef68
* Handler refactoring notes for cluster.Alan Conway2007-06-111-0/+161
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@546140 13f79535-47bb-0310-9956-ffa450edef68
* src/tests/Makefile.am: Fix typo in makefileAlan Conway2007-06-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@545570 13f79535-47bb-0310-9956-ffa450edef68
* Add missing scripts to EXTRA_DISTAlan Conway2007-06-081-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@545560 13f79535-47bb-0310-9956-ffa450edef68
* Timeout handling for dtx, plus tests.Gordon Sim2007-06-0817-60/+625
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@545531 13f79535-47bb-0310-9956-ffa450edef68
* Build support for clustering, initial CPG wrapper & tests.Alan Conway2007-06-0716-32/+374
| | | | | | | | | - src/qpid/cluster/Cpg.cpp: C++ wrapper for the openais CPG library. - src/tests/unit/Cpg.cpp: verify CPG functions in make check. - makefiles etc.: build cluster stuff only if openais is installed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@545190 13f79535-47bb-0310-9956-ffa450edef68
* Made FieldTable argument of client::Channel::bind() optional.Alan Conway2007-06-062-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@544938 13f79535-47bb-0310-9956-ffa450edef68
* Merged in channel.flow implementation and interoperability tests.Gordon Sim2007-06-0615-7/+915
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@544879 13f79535-47bb-0310-9956-ffa450edef68
* Fixed qpidd --trace flag to be equivalent to "--log.enable trace+"Alan Conway2007-06-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@544854 13f79535-47bb-0310-9956-ffa450edef68
* Some tests and fixes for dtx preview.Gordon Sim2007-06-0513-83/+267
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@544522 13f79535-47bb-0310-9956-ffa450edef68
* Updates to dtx support.Gordon Sim2007-05-3110-25/+145
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@543182 13f79535-47bb-0310-9956-ffa450edef68
* Logging infrastructure: See qpidd --long-help for details.Alan Conway2007-05-3050-168/+1516
| | | | | | | | | | | | | | | | | * src/qpid/log/*: Logging infrastructure, QPID_LOG macro. * src/*: changed output to cout/cerr to logging. * src/qpidd.cpp: logging options. * src/tests/Makefile.am: fixed issues with valgrind * src/tests/kill|start_broker: use broker daemon options. * src/tests/run_test: run tests in valgrind. Disabled till leaks in client_test are fixed. * src/test/unit/logging.cpp: Logging unit test using boost test framework. Eventually we should move all unit tests to boost & drop CppUnit. * src/test/unit/test_tools.h: useful extensions to boost framework: Regular expression check, ostream << for vectors. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@542855 13f79535-47bb-0310-9956-ffa450edef68
* Remove dummy class defs.Gordon Sim2007-05-301-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@542791 13f79535-47bb-0310-9956-ffa450edef68
* Include new dtx classes in generated code.Gordon Sim2007-05-302-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@542768 13f79535-47bb-0310-9956-ffa450edef68
* Ensure work is marked completed when recovered.Gordon Sim2007-05-252-8/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@541689 13f79535-47bb-0310-9956-ffa450edef68
* Added support for recovering prepared transactions.Gordon Sim2007-05-2516-8/+333
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@541619 13f79535-47bb-0310-9956-ffa450edef68
* * Split apart platform (threading etc.) from network ioAndrew Stitcher2007-05-2244-658/+1262
| | | | | | | | | | | you can now use a posix platform implementation by configuring --disable-apr-platform * Changed Time classes to distinguish between absolute times (AbsTime) and durations (Duration). This should avoid bugs caused by confusing the two types of time. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@540608 13f79535-47bb-0310-9956-ffa450edef68
* Temporary hack to the logic used in parsing environment options to avoid ↵Gordon Sim2007-05-211-1/+2
| | | | | | treating QPID_DIR (used in external modules) from being treated as an (invalid) option 'dir'. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@540108 13f79535-47bb-0310-9956-ffa450edef68
* Added back -s short option for store lib.Gordon Sim2007-05-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@540097 13f79535-47bb-0310-9956-ffa450edef68
* * docs/api/Makefile.am: Adding html.timestamp to clean target.Alan Conway2007-05-184-4/+4
| | | | | | | | | * src/Makefile.am: Fixed -I for generated code. * src/tests/Makefile.am: Fixed -I for generated code. * src/qpidd.cpp: Typo in help message. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@539568 13f79535-47bb-0310-9956-ffa450edef68
* Fix RPM explicit dep errorAlan Conway2007-05-181-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@539505 13f79535-47bb-0310-9956-ffa450edef68
* Fix make distcheckAlan Conway2007-05-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@539446 13f79535-47bb-0310-9956-ffa450edef68
* Added RecoverableExchange.h to Makefile.amGordon Sim2007-05-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@539343 13f79535-47bb-0310-9956-ffa450edef68
* Changes to support durable exchanges.Gordon Sim2007-05-1725-60/+333
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@538872 13f79535-47bb-0310-9956-ffa450edef68
* Fix incorrect -I directive for generated code.Alan Conway2007-05-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@537935 13f79535-47bb-0310-9956-ffa450edef68
* Removed unnecessary suppressions.Alan Conway2007-05-141-34/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@537927 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/src/Makefile.am: Move generated code into src. Fix generation script.Alan Conway2007-05-118-126/+86
| | | | | | | | | | | | * cpp/src/generate.sh: New generator script, simplify & fix some problems. * cpp/Makefile.am: removed gen subdir * cpp/bootstrap: remove redundant comment * cpp/configure.ac: remove generator tests, now in generate.sh * cpp/gen,cpp/gen/Makefile.am,cpp/gen/gen-src-mk.sh: Replaced by generate.sh * cpp/src/tests/Makefile.am: Remove client_test from EXTRA_DEPS git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@537278 13f79535-47bb-0310-9956-ffa450edef68
* Recorded merge of revisions 536339 via svnmerge from Alan Conway2007-05-081-1/+1
| | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/M2 ........ r536339 | aconway | 2007-05-08 17:40:40 -0400 (Tue, 08 May 2007) | 3 lines * README: added libdaemon to yum instructions. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@536340 13f79535-47bb-0310-9956-ffa450edef68
* * README: added libdaemon to yum instructions.Alan Conway2007-05-082-3/+3
| | | | | | | * configure.ac: clarified missing package error messages. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@536338 13f79535-47bb-0310-9956-ffa450edef68
* Recorded merge of revisions 536279 via svnmerge from Alan Conway2007-05-081-1/+1
| | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/branches/M2 ........ r536279 | aconway | 2007-05-08 14:09:35 -0400 (Tue, 08 May 2007) | 3 lines * lib/broker/Daemon.cpp: Fixed bug causing qpidd -c to sometmes delete the pidfile. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@536285 13f79535-47bb-0310-9956-ffa450edef68
* Check for libdaemon headers in configure.Alan Conway2007-05-021-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@534456 13f79535-47bb-0310-9956-ffa450edef68
* Moved parseOptions from qipdd to CommonOptions where it can be re-used.Alan Conway2007-05-013-21/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@534226 13f79535-47bb-0310-9956-ffa450edef68
* Makefile fixes to get make distcheck passing.Alan Conway2007-05-014-19/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@534143 13f79535-47bb-0310-9956-ffa450edef68
* Resolves: QPID-298, QPID-304: qpidd flags to control broker daemon.Alan Conway2007-04-309-30/+351
| | | | | | | | | | | | | | | | | | | * README: added new dependency, libdaemon. * 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. * test_env: minor fix. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@533828 13f79535-47bb-0310-9956-ffa450edef68
* - docs/man/qpidd.x: explain file and environment configuration. Alan Conway2007-04-262-12/+31
| | | | | | | - src/qpidd.cpp: read config from file. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@532750 13f79535-47bb-0310-9956-ffa450edef68
* * Make APR/"posix" configurable using --disable-aprAndrew Stitcher2007-04-263-9/+26
| | | | | | | | * Make "posix" code build (but not run correctly) * By default still build APR version, which works as before git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@532543 13f79535-47bb-0310-9956-ffa450edef68
* Added environment variables as a source of Qpid configuration.Alan Conway2007-04-253-2/+36
| | | | | | | | 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/trunk/qpid@532491 13f79535-47bb-0310-9956-ffa450edef68