summaryrefslogtreecommitdiff
path: root/cpp/lib
Commit message (Collapse)AuthorAgeFilesLines
* Patch sumbitted to qpid-dev:Gordon Sim2006-12-062-22/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-05 Jim Meyering <meyering@redhat.com> Improve --help output. Add --version option. * lib/broker/Configuration.cpp: Include <config.h>. (Configuration::Configuration): Use the active voice. Handle --version. (Configuration::usage): Add Usage:... and bug-reporting address. Output short+long options like "-o, --option ...", so that help2man will format them properly. * lib/broker/Configuration.h: (class Configuration) [version, programName]: New members. (parse): Update prototype. (isVersion, setValue): New prototypes. * src/qpidd.cpp: Include <config.h>. (programName): New file-scoped global. (handle_signal, main): Emit diagnostics to stderr. (main): Pass program name to config.parse. (main): Handle new --version option. Also updated ConfigurationTest to use the modified parse() method. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482958 13f79535-47bb-0310-9956-ffa450edef68
* 2006-12-05 Jim Meyering <meyering@redhat.com>Alan Conway2006-12-051-1/+1
| | | | | | | * src/qpidd.cpp (main): Remove now-pointless FIXME comments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482773 13f79535-47bb-0310-9956-ffa450edef68
* Allow settings to be set and persisted for queues.Gordon Sim2006-12-059-26/+65
| | | | | | | | Define policy based on these settings. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482723 13f79535-47bb-0310-9956-ffa450edef68
* Added queue policy class for controlling when message content should be ↵Gordon Sim2006-12-058-15/+163
| | | | | | released from memory. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482639 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Andrew Stitcher:Gordon Sim2006-12-042-2/+2
| | | | | | | | | | This patch improves the performance of my test by about 20% It removes a lot of unnecessary string creation, as ...::check(...) is called for every CHECK_APR_SUCCESS(), and they are very frequent. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482262 13f79535-47bb-0310-9956-ffa450edef68
* Re-enable signal handling. Make APRAcceptor::shutdown() threadsafe.Gordon Sim2006-12-011-8/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481305 13f79535-47bb-0310-9956-ffa450edef68
* Path from Jim Meyering (sent to qpid-dev list) to fix issue with gen.mk plus ↵Gordon Sim2006-12-013-22/+22
| | | | | | apr dependencies etc. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481262 13f79535-47bb-0310-9956-ffa450edef68
* Modification to ensure lazy loading is setup correctly where required on ↵Gordon Sim2006-12-011-0/+3
| | | | | | recovery. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481261 13f79535-47bb-0310-9956-ffa450edef68
* Fix to test. Throw exception where previously printed warning.Gordon Sim2006-12-011-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481235 13f79535-47bb-0310-9956-ffa450edef68
* Buliding APR code, running python tests.Alan Conway2006-12-013-29/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481175 13f79535-47bb-0310-9956-ffa450edef68
* 2006-12-01 Jim Meyering <meyering@redhat.com>Alan Conway2006-12-01174-0/+14227
This delta imposes two major changes on the C++ hierarchy: - adds autoconf, automake, libtool support - makes the hierarchy flatter and renames a few files (e.g., Queue.h, Queue.cpp) that appeared twice, once under client/ and again under broker/. In the process, I've changed many #include directives, mostly to remove a qpid/ or qpid/framing/ prefix from the file name argument. Although most changes were to .cpp and .h files under qpid/cpp/, there were also several to template files under qpid/gentools, and even one to CppGenerator.java. Nearly all files are moved to a new position in the hierarchy. The new hierarchy looks like this: src # this is the new home of qpidd.cpp tests # all tests are here. See Makefile.am. gen # As before, all generated files go here. lib # This is just a container for the 3 lib dirs: lib/client lib/broker lib/common lib/common/framing lib/common/sys lib/common/sys/posix lib/common/sys/apr build-aux m4 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481159 13f79535-47bb-0310-9956-ffa450edef68