summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* 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