summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* README-dev: Added Fedora 6 setup instructions.Alan Conway2006-12-132-3/+28
| | | | | | | versions: simple script to print out versions of packages in use. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486791 13f79535-47bb-0310-9956-ffa450edef68
* Added some doxygen comments for the client API.Gordon Sim2006-12-1313-24/+416
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486747 13f79535-47bb-0310-9956-ffa450edef68
* Added prepared() method to MessageStore interface.Gordon Sim2006-12-136-8/+43
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486555 13f79535-47bb-0310-9956-ffa450edef68
* Sundry fixes to spec and build system for RPM packaging.Alan Conway2006-12-1310-26/+132
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486428 13f79535-47bb-0310-9956-ffa450edef68
* 2006-12-11 Alan Conway <aconway@redhat.com>Alan Conway2006-12-1214-99/+195
| | | | | | | | | | | * SPECS/qpid-cpp.spec: Draft RPM spec file for C++. Based on initial draft provided by David Lutterkort <dlutter@redhat.com> * cpp Makefiles: Renamed libraries with qpid prefix: libqpidclient etc. * cpp/man/: moved to docs/man/ * docs/api/usr.doxygen: more restricted, user-oriented doc settings. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486207 13f79535-47bb-0310-9956-ffa450edef68
* Renamed Content.h (and Content.cpp for consistency) in framing to avoid ↵Gordon Sim2006-12-124-4/+4
| | | | | | clashing with existing Content.h file. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486119 13f79535-47bb-0310-9956-ffa450edef68
* Added new Content class and other methods in Buffer to support the new ↵Kim van der Riet2006-12-115-0/+103
| | | | | | transport in AMQP 0-9. This will allow the code produced by the code generator for 0-9 to compile. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485780 13f79535-47bb-0310-9956-ffa450edef68
* Allow xid to be associated with publication and acknowledgements.Gordon Sim2006-12-119-27/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485594 13f79535-47bb-0310-9956-ffa450edef68
* Patch posted to dev listed:Gordon Sim2006-12-113-11/+20
| | | | | | | | | | | | | | | | | | | 2006-12-08 Jim Meyering <meyering@redhat.com> Move each test into a script of its own, as Automake requires. * tests/Makefile.am (TESTS): List test script names here, rather than listing rules as dependents of "check". (EXTRA_DIST): Add $(TESTS). (run-unit-tests, run-python-tests): Remove rules, putting their contents in the following new scripts. * tests/run-unit-tests: New one-line script. * tests/run-python-tests: New script, containing the script from Makefile.am. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485592 13f79535-47bb-0310-9956-ffa450edef68
* Restored lost edit from earlier merge (note about cppunit being on path).Gordon Sim2006-12-111-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@485545 13f79535-47bb-0310-9956-ffa450edef68
* 2006-12-08 Jim Meyering <meyering@redhat.com>Carl C. Trieloff2006-12-081-2/+3
| | | | | | | | | | * tests/Makefile.am (run-python-tests): Kill qpidd via a trap. Don't let a failed/interrupted "make check" leave a running qpidd process. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@484719 13f79535-47bb-0310-9956-ffa450edef68
* 2006-12-08 Based on a patch by Jim Meyering <meyering@redhat.com>Alan Conway2006-12-081-4/+3
| | | | | | | | * tests/Makefile.am (run-python-tests): Depend on ../src/qpidd. Start a background job that will kill the daemon in 5 minutes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@484694 13f79535-47bb-0310-9956-ffa450edef68
* Merged in changes from patch submitted by Jim Meyering on dev list.Gordon Sim2006-12-081-10/+18
| | | | | | | | | | * README-dev: Don't mention precise versions; they get out of date. Add pkgconfig (aka pkg-config) to the list. Emphasize the need for the latest stable versions of these tools. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483979 13f79535-47bb-0310-9956-ffa450edef68
* Patch submitted to dev:Gordon Sim2006-12-084-1/+27
| | | | | | | | | | | | | | 2006-12-08 Jim Meyering <meyering@redhat.com> Automatically generate qpidd.1 from qpidd --help output. * Makefile.am (SUBDIRS): Add man. * configure.ac: Test for help2man. * man/qpidd.x: New file. * man/Makefile.am: New file. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483973 13f79535-47bb-0310-9956-ffa450edef68
* Added docs/api/Makefile to the list of files to create in configure.ac. Gordon Sim2006-12-081-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483969 13f79535-47bb-0310-9956-ffa450edef68
* Thanks Alan the static_cast does prevent the warning on rhel4/x86_64Steven Shaw2006-12-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483943 13f79535-47bb-0310-9956-ffa450edef68
* Append system and processor to the tarball nameSteven Shaw2006-12-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483941 13f79535-47bb-0310-9956-ffa450edef68
* Some more unit tests.Gordon Sim2006-12-083-17/+203
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483916 13f79535-47bb-0310-9956-ffa450edef68
* Additional notes about setting up cppunit and boostSteven Shaw2006-12-071-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483660 13f79535-47bb-0310-9956-ffa450edef68
* New make-dist script and related files. Just a hack for now to build a ↵Steven Shaw2006-12-078-204/+169
| | | | | | binary dev release. Also updated README-dev with correct automake version and note about configuring cppunit git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483638 13f79535-47bb-0310-9956-ffa450edef68
* Added "make html" target to build doxygen documentation in docs/api/html.Alan Conway2006-12-075-8/+50
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483600 13f79535-47bb-0310-9956-ffa450edef68
* Added unit test and slightly refactored code.Gordon Sim2006-12-075-22/+110
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483437 13f79535-47bb-0310-9956-ffa450edef68
* Macro was defined twice, removed second copy.Gordon Sim2006-12-071-89/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483401 13f79535-47bb-0310-9956-ffa450edef68
* Moved cppunit.m4 to correct location.Gordon Sim2006-12-071-0/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483392 13f79535-47bb-0310-9956-ffa450edef68
* Missed file from Jim's patchCarl C. Trieloff2006-12-061-0/+178
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483179 13f79535-47bb-0310-9956-ffa450edef68
* Allow non-durable messages to be lazy-loaded. Cleanup of lazy-loaded messages Gordon Sim2006-12-0616-71/+100
| | | | | | | | that are never enqueued. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483165 13f79535-47bb-0310-9956-ffa450edef68
* allow automake from RHEL4Steven Shaw2006-12-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483159 13f79535-47bb-0310-9956-ffa450edef68
* 2006-12-06 Jim Meyering <meyering@redhat.com>Carl C. Trieloff2006-12-061-1/+3
| | | | | | | | | | | | | | Still test for libcppunit, but don't make configure fail if it's not available or too old. * configure.ac: Don't use PKG_CHECK_MODULES to test for cppunit, since this isn't a hard test (needed only for the tests run by "make check"), and doesn't really depend on the version. Instead, use the AM_PATH_CPPUNIT macro. * m4/cppunit.m4: New file, from cppunit-1.12. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483149 13f79535-47bb-0310-9956-ffa450edef68
* Patch submitted to dev list:Gordon Sim2006-12-061-6/+20
| | | | | | | | | | | 2006-12-06 Jim Meyering <meyering@redhat.com> * configure.ac: Add new configure-time options: --enable-apr (default), --disable-apr. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483109 13f79535-47bb-0310-9956-ffa450edef68
* Added new configuration option for staging threshold (size above which messages Gordon Sim2006-12-0611-18/+96
| | | | | | | | | will be written to disk as content arrives rather than accumulating that content in memory). Pass this through to all channels and to the store on recovery. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483046 13f79535-47bb-0310-9956-ffa450edef68
* 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