summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Check for existing channel on channel_openGordon Sim2007-02-211-3/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@510159 13f79535-47bb-0310-9956-ffa450edef68
* * qpidc.spec.in: Add a %changelog entry for 0.1-4.Jim Meyering2007-02-201-1/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@509737 13f79535-47bb-0310-9956-ffa450edef68
* * qpidc.spec.in (URL): Update URL: and Source0: to point useJim Meyering2007-02-191-2/+2
| | | | | | | http://rhm.et.redhat.com. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@509208 13f79535-47bb-0310-9956-ffa450edef68
* Applied QPID-351 patch 1 with the following mods:Alan Conway2007-02-147-490/+266
| | | | | | | | | | | - Moved "source distro" instructions in front of "subversion checkout" instructions. - Added instructions on using qpid-autotools-install - Added general blurb with links at top - renamed to README, removed other README-* files. - Updated makefiles (spec file was already OK.) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507729 13f79535-47bb-0310-9956-ffa450edef68
* Add durability property to queues and pass this to broker on declare.Gordon Sim2007-02-143-14/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507582 13f79535-47bb-0310-9956-ffa450edef68
* Applied patch from Jim Meyering, submitted on dev list:Gordon Sim2007-02-141-1/+1
| | | | | | | | | | | | 2007-02-14 Jim Meyering <jim@meyering.net> * gen/Makefile.am (gen-src.mk): Don't append to $@-t, in case there's a stray copy left over from an interrupted build. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507472 13f79535-47bb-0310-9956-ffa450edef68
* Applied patch from Jim Meyering, submitted on dev list:Gordon Sim2007-02-141-1/+1
| | | | | | | | * tests/setup: Remove use of libtool's --debug option. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507458 13f79535-47bb-0310-9956-ffa450edef68
* Applied patch from Jim Meyering submitted on dev list:Gordon Sim2007-02-141-3/+2
| | | | | | | | | | | 2007-02-14 Jim Meyering <jim@meyering.net> * qpidc.spec.in: Use an absolute Source0: URL. Suggestion from Ralf Corsepius. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507457 13f79535-47bb-0310-9956-ffa450edef68
* Applied patch from Jim Meyering, submitted on dev list:Gordon Sim2007-02-141-4/+4
| | | | | | | | | | | 2007-02-14 Jim Meyering <jim@meyering.net> * configure.ac: Use $enableval, not $enable_APR in the code supporting --disable-apr and --enable-apr. The latter doesn't work. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@507455 13f79535-47bb-0310-9956-ffa450edef68
* (Submitted by Rupert Smith) Small ommission corrected.Robert Greig2007-02-131-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@506972 13f79535-47bb-0310-9956-ffa450edef68
* (Submitted by Rupert Smith) Qpid-351, c++ build instructions, all in one file.Robert Greig2007-02-131-0/+222
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@506967 13f79535-47bb-0310-9956-ffa450edef68
* * lib/client/Connection.h - changed default virtual host from '/' to '' as ↵Gordon Sim2007-02-122-2/+2
| | | | | | | | | | per QPID-349 * lib/client/ClientExchange.h - fixed typo in a comment git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@506406 13f79535-47bb-0310-9956-ffa450edef68
* * Fixed typo in make rpm target.Alan Conway2007-01-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499864 13f79535-47bb-0310-9956-ffa450edef68
* * qpidc.spec.in: fixed bad date in changelog.Alan Conway2007-01-251-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499847 13f79535-47bb-0310-9956-ffa450edef68
* * qpidc.spec.in: updated to release 3 for RPM.Alan Conway2007-01-255-24/+42
| | | | | | | | | * gen/make-gen-src-mk.sh: fixed problem with makefile generation in a new checkout. * Other Makefile.am: added missing files to maintainer-clean. * Added missing svn-ignores. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499845 13f79535-47bb-0310-9956-ffa450edef68
* * Removed .txt extension from README NOTICE LICENSE to follow common practice.Alan Conway2007-01-256-5/+5
| | | | | | | | * Updated all references to .txt files. * rpm/Makefile.am: Fixed local-clean target to clean up generaed directories. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499803 13f79535-47bb-0310-9956-ffa450edef68
* 2007-01-24 Jim Meyering <meyering@redhat.com>Gordon Sim2007-01-243-7/+17
| | | | | | | | | | | | | | | | | | | | | Suggestions from Ralf Corsepius in http://bugzilla.redhat.com/220630. * qpidc.spec.in (BuildRequires): Remove redundant cppunit here, too. The previous removal addressed only the redundant _Requires_. (%configure): Add --disable-static, so as not to build unused static libraries. Generate qpidc.spec. Re-factor/generate even more. * qpidc.spec.in: New file. Use it to generate qpidc.spec, substituting PACKAGE and VERSION from configure.ac. (URL): Omit trailing .tar.gz name. That's specified via "Source0". * Makefile.am (qpidc.spec): New rule. (EXTRA_DIST): Add $(PACKAGE).spec and $(PACKAGE).spec.in. (MAINTAINERCLEANFILES): Define. * qpidc.spec: Remove file. Now it's generated. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499374 13f79535-47bb-0310-9956-ffa450edef68
* Patch from Jim Meyering (jim@meyering.net) submitted on dev list.Gordon Sim2007-01-239-22/+2643
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instrument all tests so that they are run via valgrind: check for both errors and leaks. * configure.ac: Add new configure options: --enable-valgrind and --disable-valgrind. For now, the latter is the default. * README-dev: Document (and recommend) --enable-valgrind. * tests/.vg-supp: Add many more, from Gordon Sim for FC5. * configure.ac: Check for valgrind. * tests/Makefile.am (TESTS_ENVIRONMENT): Export VALGRIND. * tests/setup: New file. * tests/run-unit-tests: Use new "setup" file. Invoke DllPlugInTester via $vg (aka valgrind). Refer to the source directory using $pwd, since we're now running from a temporary subdirectory. * tests/run-python-tests: Remove traps. That is now done by "setup". [VERBOSE]: Print qpidd --version. Invoke qpidd via $vg and its absolute name. Add a kludgey "sleep 3", because it can take a while for libtool to start valgrind to start qpidd, in the background. Ideally, the python script would simply sleep-0.3-and-retry for a couple seconds, upon failure of the initial connection attempt. * tests/.vg-supp: New file, exempting known leaks on Debian/unstable. Some of these leaks appear to be legitimate. * tests/Makefile.am (EXTRA_DIST): Add .vg-supp and setup. * qpid-autotools-install (usage): Add a missing backslash. Fix "make distcheck" failure. * docs/api/Makefile.am (EXTRA_DIST): Add user.doxygen git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@499049 13f79535-47bb-0310-9956-ffa450edef68
* Fixed creation of error message for unknown channel.Gordon Sim2007-01-221-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@498591 13f79535-47bb-0310-9956-ffa450edef68
* Added the non-standard 'binary' type to the field table implementation to ↵Gordon Sim2007-01-182-0/+13
| | | | | | support the java client. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497439 13f79535-47bb-0310-9956-ffa450edef68
* Close connection when connection.close is sent to client.Gordon Sim2007-01-182-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@497341 13f79535-47bb-0310-9956-ffa450edef68
* Some basic additional error logging of framing errors. Gordon Sim2007-01-162-4/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496665 13f79535-47bb-0310-9956-ffa450edef68
* 2006-12-08 Jim Meyering <meyering@redhat.com>Alan Conway2007-01-154-6/+7
| | | | | | | | | | | | | | | Ensure that AccumulatedAck.range is not used uninitialized. * lib/broker/AccumulatedAck.h (AccumulatedAck): Make this a class, rather than a struct. (AccumulatedAck::AccumulatedAck): Add a constructor to require initialization of the "range" member. * lib/broker/BrokerChannel.cpp (Channel) [accumulatedAck]: Initialize. * tests/TxAckTest.cpp (TxAckTest) [acked]: Likewise. * tests/AccumulatedAckTest.cpp (testCovers): Initialize local. (testUpdateAndConsolidate): Likewise. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@496317 13f79535-47bb-0310-9956-ffa450edef68
* With thanks to Jim Meyering and Rafael Schloming: Fix incorrect error numberAlan Conway2007-01-121-1/+1
| | | | | | | | shown by python test failure in: testDifferentDeclaredType (tests.exchange.MiscellaneousErrorsTests) ... git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@495661 13f79535-47bb-0310-9956-ffa450edef68
* 2007-01-11 Jim Meyering <jim@meyering.net>Alan Conway2007-01-121-6/+3
| | | | | | | | * qpidc.spec (Requires): Remove apr and cppunit, both redundant. Suggestion from Jason Tibbitts. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@495629 13f79535-47bb-0310-9956-ffa450edef68
* Fix build order: common first.Alan Conway2007-01-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@494587 13f79535-47bb-0310-9956-ffa450edef68
* Most of remaining version changes for C++. Still need to deal with AMQFrameCarl C. Trieloff2007-01-0917-83/+87
| | | | | | | | defualt constructor and do some clean up here and there.. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@494540 13f79535-47bb-0310-9956-ffa450edef68
* 2007-01-05 Jim Meyering <meyering@redhat.com>Alan Conway2007-01-052-3/+5
| | | | | | | | | * lib/broker/Makefile.am (libqpidbroker_la_LIBADD): Define, so we link with libqpidcommon.la. * lib/client/Makefile.am (libqpidclient_la_LIBADD): Likewise. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@493151 13f79535-47bb-0310-9956-ffa450edef68
* 2007-01-05 Jim Meyering <meyering@redhat.com>Alan Conway2007-01-051-1/+6
| | | | | | | | | | | * gen/Makefile.am (gen-src.mk) [CAN_GENERATE_CODE]: Emit an empty dependency for each generated file, in case they are renamed, removed, or no longer generated. Otherwise, "./bootstrap --build" would fail with e.g., `*** No rule to make target ../../gentools/templ.cpp/AMQP_HighestVersion.cpp.tmpl'. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@493140 13f79535-47bb-0310-9956-ffa450edef68
* Add refernece to prereqs in README-dist.Alan Conway2007-01-051-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@493126 13f79535-47bb-0310-9956-ffa450edef68
* Fixed C++ client sending protocol version 0-0 over the wire. Minor fixes and ↵Kim van der Riet2007-01-042-47/+1
| | | | | | tidy-up in related code. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@492756 13f79535-47bb-0310-9956-ffa450edef68
* Added "make check" to -build flag.Alan Conway2007-01-041-1/+2
| | | | | | | Removed rpm build directories from svn. Create them during make. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@492636 13f79535-47bb-0310-9956-ffa450edef68
* Added "make check" to -build flag.Alan Conway2007-01-041-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@492588 13f79535-47bb-0310-9956-ffa450edef68
* Added -build flag: a new working copy can be built with just "bootstrap -build"Alan Conway2007-01-041-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@492585 13f79535-47bb-0310-9956-ffa450edef68
* Comment correction.Alan Conway2007-01-031-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@492318 13f79535-47bb-0310-9956-ffa450edef68
* - rpm: make rpm now builds RPMs under rpm/ directory.Alan Conway2006-12-2312-199/+293
| | | | | | | | | - src/qpidd.cpp: added --daemon option to run as daemon. - etc/qpidd: fixed bugs in init.rc script. - qpidc.spec: fixed rpmlint warnings, added apache URL git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489905 13f79535-47bb-0310-9956-ffa450edef68
* File tidy-up for AMQP version code: Removed old XSLT files; moved ↵Kim van der Riet2006-12-221-1/+1
| | | | | | cluster.asl into spec directory; renamed spec files to better reflect version notation; updated java, c++ and python files to reference new names. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489715 13f79535-47bb-0310-9956-ffa450edef68
* missed files from last commit.Carl C. Trieloff2006-12-212-5/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489422 13f79535-47bb-0310-9956-ffa450edef68
* Multi version part 3. (2 more to come + tests)Carl C. Trieloff2006-12-213-6/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489418 13f79535-47bb-0310-9956-ffa450edef68
* Support for multi version, merge part 1. - can still refactor out dup use ofCarl C. Trieloff2006-12-2013-38/+50
| | | | | | | | version object in client and server opperations. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489212 13f79535-47bb-0310-9956-ffa450edef68
* Adding files for EventChannel implementation.Alan Conway2006-12-207-0/+835
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489110 13f79535-47bb-0310-9956-ffa450edef68
* make rpm in cpp directory builds qpidc RPMs in default locations.Alan Conway2006-12-205-28/+77
| | | | | | | | | Note: you need to chown or chmod the directories under /usr/src/redhat/RPMS/i386 to be writable for this to work, there is probably a better solution. Building RPMs as root is a Bad Idea. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489103 13f79535-47bb-0310-9956-ffa450edef68
* [For Andrew Stitcher] inlined qpid::sys::check() in APRBase.h; This is ↵Kim van der Riet2006-12-192-10/+12
| | | | | | called a lot - for every call to an APR call, inlining this seems to give about 8% speed in my tests (even though originally check() only seemed to use 1-2% of the time). I think this must be a 2nd order instruction caching effect. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488808 13f79535-47bb-0310-9956-ffa450edef68
* Print program locations with versions.Alan Conway2006-12-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488771 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/gen/Makefile.am: fixed generated code dependencies.Alan Conway2006-12-199-35/+41
| | | | | | | | * *Channel,SessionHandlerImpl,FramingTest: added FieldTable argument to consume() to conform to updated XML. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488745 13f79535-47bb-0310-9956-ffa450edef68
* [For Jim Meyering] Added new utility to download and build required tools to ↵Kim van der Riet2006-12-182-7/+235
| | | | | | build the C++ version git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488343 13f79535-47bb-0310-9956-ffa450edef68
* Added additional files AMQP_HighestVersion.h/.cpp to identify the highest ↵Kim van der Riet2006-12-182-0/+47
| | | | | | available version for client use. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@488304 13f79535-47bb-0310-9956-ffa450edef68
* [for Jim Meyring] configure.ac: Restore the logic used to determine whether toKim van der Riet2006-12-151-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487616 13f79535-47bb-0310-9956-ffa450edef68
* Broker side dynamic version hook up.Carl C. Trieloff2006-12-142-35/+52
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@487359 13f79535-47bb-0310-9956-ffa450edef68
* A bit more documentation for the client tests which are currently doubling ↵Gordon Sim2006-12-134-10/+128
| | | | | | as examples. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486797 13f79535-47bb-0310-9956-ffa450edef68