summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Patch sumbitted to qpid-dev:Gordon Sim2006-12-064-32/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 2006-12-05 Jim Meyering <meyering@redhat.com>Alan Conway2006-12-051-2/+0
| | | | | | | * src/qpidd.cpp (main): Remove now-pointless FIXME comments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482772 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 submitted on qpid-dev:Gordon Sim2006-12-052-8/+17
| | | | | | | | | | | | | | | | | | 2006-12-05 Jim Meyering <meyering@redhat.com> * gen/Makefile.am (timestamp): Remove unnecessary "; \", that could have obscured a failure. (gen-src.mk): Use echo 'var = '\\, rather than 'var = \'. Both work, but emacs' font-lock mode mishandles the latter. * bootstrap: Give JAVA and JAVAC default values, and export them. Don't define abs_srcdir; no longer needed. Also filter out gen/Makefile.am's echo warning: ... Add comments. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482637 13f79535-47bb-0310-9956-ffa450edef68
* 2006-12-04 Jim Meyering <jim@meyering.net>Alan Conway2006-12-041-6/+7
| | | | | | | | | | | Changes to make "make distcheck" pass. * gen/Makefile.am (DISTCLEANFILES): List gen-src.mk here, rather than distributing it. (gen-src.mk): Guard emitted java_sources and cxx_templates templates with "if BUILD_IN_MESSAGE_TREE" conditional. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482367 13f79535-47bb-0310-9956-ffa450edef68
* Andrew Stitcher: Reduced CppUnit version requirement to 1.10.2Alan Conway2006-12-042-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482365 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
* 2006-12-01 Jim Meyering <meyering@redhat.com>Alan Conway2006-12-044-116/+45
| | | | | | | | | | | | | | | | | | | * configure.ac: Use an automake conditional to indicate when we have access to files outside of the current hierarchy, and when we have the tools (java and javac) to build some generated files. * gen/Makefile.am: Don't use $(abs_srcdir); not needed. (timestamp): Depend on java sources and C++ template files, if we're building in a qpid tree. Use $(JAVA) and $(JAVAC), rather than hard-coding those names. (gen-src.mk) [$(java_sources), $(cxx_templates)]: New rules to generate these lists of file names. * bootstrap: Also generate gen/gen-src.mk. But do that only if we're in a qpid hierarchy. Redirect make's stdout to /dev/null. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482255 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Andrew Stitcher, sent to qpid-dev list.Gordon Sim2006-12-041-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482254 13f79535-47bb-0310-9956-ffa450edef68
* 2006-12-04 Jim Meyering <jim@meyering.net>Alan Conway2006-12-042-5/+6
| | | | | | | | | | | * configure.ac: Check for cppunit (>= 1.11.4). Set/substitute CPPUNIT_CXXFLAGS. * tests/Makefile.am (extra_libs): Use $(CPPUNIT_LIBS), rather than hard-coding -lcppunit. (AM_CXXFLAGS): Add $(CPPUNIT_CXXFLAGS). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482252 13f79535-47bb-0310-9956-ffa450edef68
* Split README into README-dev for developers and README-dist for peopleAlan Conway2006-12-012-5/+29
| | | | | | | building the source distro. The latter needs work. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481335 13f79535-47bb-0310-9956-ffa450edef68
* Fixed quoting error in tests/Makefile.am.Alan Conway2006-12-011-2/+1
| | | | | | | More svn:ignore properties. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481333 13f79535-47bb-0310-9956-ffa450edef68
* Jim Meyering: README typos, svn:ignore properties on directories.Alan Conway2006-12-011-12/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481312 13f79535-47bb-0310-9956-ffa450edef68
* Re-enable signal handling. Make APRAcceptor::shutdown() threadsafe.Gordon Sim2006-12-012-10/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481305 13f79535-47bb-0310-9956-ffa450edef68
* Backed apr dependancy down to >=1.2.2 to be able to build on FC5 and FC6Carl C. Trieloff2006-12-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481297 13f79535-47bb-0310-9956-ffa450edef68
* Further checkin of previous patch ( I seem to have done something wrong to ↵Gordon Sim2006-12-011-19/+18
| | | | | | have missed it first time round). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481265 13f79535-47bb-0310-9956-ffa450edef68
* Path from Jim Meyering (sent to qpid-dev list) to fix issue with gen.mk plus ↵Gordon Sim2006-12-015-25/+38
| | | | | | 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-012-2/+3
| | | | 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-016-135/+51
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481175 13f79535-47bb-0310-9956-ffa450edef68
* Script to bootstrap autconf/automake in a fresh checkout.Alan Conway2006-12-011-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481160 13f79535-47bb-0310-9956-ffa450edef68
* 2006-12-01 Jim Meyering <meyering@redhat.com>Alan Conway2006-12-01235-930/+13784
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Patches from Andrew Stitcher to fix QPID-140, QPID-141.Alan Conway2006-11-303-9/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480994 13f79535-47bb-0310-9956-ffa450edef68
* Some further tweaks to MessageStore interface.Gordon Sim2006-11-3010-35/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480946 13f79535-47bb-0310-9956-ffa450edef68
* Changes for building on RHEL3. Also bundle debug and release libsSteven Shaw2006-11-306-27/+36
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480934 13f79535-47bb-0310-9956-ffa450edef68
* Added some comments about building a debug release for RHEL3Steven Shaw2006-11-303-2/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480911 13f79535-47bb-0310-9956-ffa450edef68
* Removed old xslt generation files no longer used.Carl C. Trieloff2006-11-2917-2825/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480711 13f79535-47bb-0310-9956-ffa450edef68
* Added license filesCarl C. Trieloff2006-11-292-0/+224
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480705 13f79535-47bb-0310-9956-ffa450edef68
* no longer usedCarl C. Trieloff2006-11-291-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480703 13f79535-47bb-0310-9956-ffa450edef68
* Fix apr-1 header includes.Alan Conway2006-11-292-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480657 13f79535-47bb-0310-9956-ffa450edef68
* Posix EventChannel implementation using epoll. Placeholder for kevents.Alan Conway2006-11-2943-661/+1903
| | | | | | | | Dynamic thread pool EventChannelThreads to serve EventChannel. Misc cleanup/enhancements. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480582 13f79535-47bb-0310-9956-ffa450edef68
* Bug fixes: corrected fragmentation of large messages in client, set buffer ↵Gordon Sim2006-11-282-11/+13
| | | | | | size on server to be the same as the max frame size (this still needs some work to be better managed and configurable). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480178 13f79535-47bb-0310-9956-ffa450edef68
* Modifications to allow loading of message data in chunks, refragmentation of ↵Gordon Sim2006-11-2818-86/+639
| | | | | | messages, plus some related refactoring and tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480087 13f79535-47bb-0310-9956-ffa450edef68
* Bug fix, basic_qos_ok was set to wrong type.Gordon Sim2006-11-271-29/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@479677 13f79535-47bb-0310-9956-ffa450edef68
* Initial sketching out of staging functionality for large messages (i.e. ↵Gordon Sim2006-11-2413-83/+291
| | | | | | allowing content to be stored as it arrives, rather than collecting it in memory until complete). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478923 13f79535-47bb-0310-9956-ffa450edef68
* Scripts to simplify runnning topictest. topicall is the main script.Alan Conway2006-11-234-0/+135
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478659 13f79535-47bb-0310-9956-ffa450edef68
* Renamed (slightly) the rhel3 release tarballSteven Shaw2006-11-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478638 13f79535-47bb-0310-9956-ffa450edef68
* Added echo_service to EXAMPLESSteven Shaw2006-11-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478637 13f79535-47bb-0310-9956-ffa450edef68
* Merged AMQP version-sensitive generated files with C++ trunk. Phase 1 of ↵Kim van der Riet2006-11-2231-177/+369
| | | | | | merge complete - all locations where version info is required in the framing, broker and client code, the version has been hard-coded to mahor=8, minor=0. Next step: make broker and client version-aware. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478237 13f79535-47bb-0310-9956-ffa450edef68
* Enclose any 'using std::string' statements within qpid namespaces to avoid ↵Gordon Sim2006-11-2219-25/+43
| | | | | | | | | | pollution of global namespaces. Explicit use of std::string in many places, especially for client APIs where not already done. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478212 13f79535-47bb-0310-9956-ffa450edef68
* Temporary fix to avoid type name clashes. Will very shortly move this ↵Gordon Sim2006-11-221-2/+1
| | | | | | definition of string into the qpid::framing namespace to avoid any pollution of the global namespace. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@478183 13f79535-47bb-0310-9956-ffa450edef68
* QPID-121 Added script to build a release package of qpid cpp client.Steven Shaw2006-11-213-1/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@477895 13f79535-47bb-0310-9956-ffa450edef68
* QPID-120 Forget the build.rhel3 script in earlier commit.Steven Shaw2006-11-211-0/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@477866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-121 Added a makefile for use by users after release.Steven Shaw2006-11-211-0/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@477842 13f79535-47bb-0310-9956-ffa450edef68
* QPID-120 Enabled qpid-cpp to build on RHEL3 with less pain.Steven Shaw2006-11-215-4/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@477826 13f79535-47bb-0310-9956-ffa450edef68
* Added another example for client api.Gordon Sim2006-11-213-4/+207
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@477636 13f79535-47bb-0310-9956-ffa450edef68
* Modifications to recovery process to allow for recovery of default bindings.Gordon Sim2006-11-2011-20/+103
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@477148 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Andrew Stitcher to fix APR #include using apr-config.Alan Conway2006-11-1715-90/+21
| | | | | | | Fixed build problems with USE_APR= - builds OK but broker non-functional. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@476303 13f79535-47bb-0310-9956-ffa450edef68