summaryrefslogtreecommitdiff
path: root/qpid/cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@532491 13f79535-47bb-0310-9956-ffa450edef68
* * qpid/CommonOptions.h:Alan Conway2007-04-2512-589/+269
| | | | | | | | | | | | | - 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/trunk@532430 13f79535-47bb-0310-9956-ffa450edef68
* Added some dtx related unit testsGordon Sim2007-04-2011-154/+520
| | | | | | | | Added support for suspend and resume git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@530853 13f79535-47bb-0310-9956-ffa450edef68
* Some dtx related updates.Gordon Sim2007-04-1919-70/+731
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@530500 13f79535-47bb-0310-9956-ffa450edef68
* - Add missing Requires: e2fsprogs-devel for qpidc-devel.Alan Conway2007-04-171-6/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@529750 13f79535-47bb-0310-9956-ffa450edef68
* Add missing %defattr to specAlan Conway2007-04-171-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@529726 13f79535-47bb-0310-9956-ffa450edef68
* Longer broker_start timeout to avoid failures in plague builds.Alan Conway2007-04-172-2/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@529710 13f79535-47bb-0310-9956-ffa450edef68
* Fix for making gen code work againAndrew Stitcher2007-04-171-4/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@529628 13f79535-47bb-0310-9956-ffa450edef68
* More QPID-243Andrew Stitcher2007-04-173-205/+197
| | | | | | | | - Change Makefiles so that .o files are created in the same directory as the source files git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@529599 13f79535-47bb-0310-9956-ffa450edef68
* * qpidc.spec.in: bump RPM revision for bugfix.Alan Conway2007-04-163-7/+11
| | | | | | | | * src/qpid/framing/Correlator.cpp: Fix memory bug in correlator. * src/tests/Makefile.am: Re-enable ClientChannelTest, bug fixed. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@529397 13f79535-47bb-0310-9956-ffa450edef68
* Disable ClientChannelTest to allow RPM work to continue. I am investigating.Alan Conway2007-04-161-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@529372 13f79535-47bb-0310-9956-ffa450edef68
* Fixes QPID-303 and QPID-409.Gordon Sim2007-04-164-17/+53
| | | | | | | | | * qpid/client/Connector: atomic test-and-set for closed, don't try to close if already closed * qpid/client/Connection: atomic test-and-set for isOpen, don't send requests to broker on shutdown git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@529209 13f79535-47bb-0310-9956-ffa450edef68
* Remove unused pkgconfig stuff. Causing trouble with rpmbuildAlan Conway2007-04-143-21/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@528836 13f79535-47bb-0310-9956-ffa450edef68
* * Moved code generation into top-level gen/ dir with own Makefile.amAlan Conway2007-04-1411-94/+91
| | | | | | | | | to correctly install generated headers. * Fixed gen-src.mk/Makefile dependency loop, bootstrap no longer needs to pre-create gen-src.mk. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@528835 13f79535-47bb-0310-9956-ffa450edef68
* * tests/Makefile.am: fix for source move.Alan Conway2007-04-131-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@528681 13f79535-47bb-0310-9956-ffa450edef68
* Fix minor typo in spec fileAlan Conway2007-04-131-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@528672 13f79535-47bb-0310-9956-ffa450edef68
* Fixed broken installation of .h files.Alan Conway2007-04-131-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@528671 13f79535-47bb-0310-9956-ffa450edef68
* Moved src/ source code to src/qpid directory:Alan Conway2007-04-13271-425/+432
| | | | | | | | | | | - allows rhm package to build consistently against checked-out or installed qpid. - consistent correspondence between source paths and C++ namespaces. - consistent use of #include <qpid/foo> in source and by users. - allows header files to split over multiple directories, e.g. separating generated code, separating public API from private files. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@528668 13f79535-47bb-0310-9956-ffa450edef68
* * Add pgg-config support for downstream packagesAlan Conway2007-04-125-104/+35
| | | | | | | * Bump version to 0.2 for downstream packages. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@528107 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/qpid-config.in, Makefile.am, configure.ac: added qpid-config script.Alan Conway2007-04-126-31/+195
| | | | | | | | | * cpp/m4/qpid.m4: added qpid.m4 script. * cpp/docs/api/doxygen_mk.sh: removed, unused. * cpp/docs/api/Makefile.am: fixed dependency typo. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@527998 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/configure.ac: Disable static libraries by default. Half the build time!Alan Conway2007-04-113-25/+20
| | | | | | | | | * cpp/src/Makefile.am (maintainer-clean): added missing maintainer-clean * cpp/src/tests/Makefile.am (check): remove un-necessary dependencies that were causing trouble with parallel builds. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@527712 13f79535-47bb-0310-9956-ffa450edef68
* * src/tests/Makefile.am: Remove trailing blanks.Jim Meyering2007-04-111-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@527662 13f79535-47bb-0310-9956-ffa450edef68