summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* - rpm: make rpm now builds RPMs under rpm/ directory.Alan Conway2006-12-231-0/+20
| | | | | | | | | - 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
* Sundry fixes to spec and build system for RPM packaging.Alan Conway2006-12-131-0/+3
| | | | 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-121-3/+3
| | | | | | | | | | | * 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
* Patch sumbitted to qpid-dev:Gordon Sim2006-12-061-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-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
* Re-enable signal handling. Make APRAcceptor::shutdown() threadsafe.Gordon Sim2006-12-011-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@481305 13f79535-47bb-0310-9956-ffa450edef68
* 2006-12-01 Jim Meyering <meyering@redhat.com>Alan Conway2006-12-01174-14088/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-302-8/+13
| | | | 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-309-33/+46
| | | | 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-301-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@480934 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-2935-638/+1371
| | | | | | | | 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-2814-73/+404
| | | | | | 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-2410-60/+201
| | | | | | 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
* Merged AMQP version-sensitive generated files with C++ trunk. Phase 1 of ↵Kim van der Riet2006-11-2227-152/+323
| | | | | | 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-2215-25/+39
| | | | | | | | | | 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-120 Enabled qpid-cpp to build on RHEL3 with less pain.Steven Shaw2006-11-211-1/+1
| | | | 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-212-4/+10
| | | | 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-209-16/+99
| | | | 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-1713-17/+19
| | | | | | | 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
* Some fixes and tests for bugs uncovered during testing of persistence.Gordon Sim2006-11-174-11/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@476108 13f79535-47bb-0310-9956-ffa450edef68
* Minor modifications for recovery and debug.Gordon Sim2006-11-165-13/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@475753 13f79535-47bb-0310-9956-ffa450edef68
* Re-enabled tracing of requests sent and received.Gordon Sim2006-11-154-8/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@475266 13f79535-47bb-0310-9956-ffa450edef68
* Added ability for broker to load a message store implementation from a library.Gordon Sim2006-11-158-4/+311
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@475181 13f79535-47bb-0310-9956-ffa450edef68
* Tidy-up of version codeKim van der Riet2006-11-134-9/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@474493 13f79535-47bb-0310-9956-ffa450edef68
* EventChannel classes, start of epoll-based posix implementation.Alan Conway2006-11-1312-50/+492
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@474452 13f79535-47bb-0310-9956-ffa450edef68
* update Apache licenses to the current versionStephen Vinoski2006-11-10152-1976/+2432
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473568 13f79535-47bb-0310-9956-ffa450edef68
* Some more riguorous 'const' declarations in basic header properties. Some ↵Gordon Sim2006-11-104-69/+75
| | | | | | more comments in queue header. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473352 13f79535-47bb-0310-9956-ffa450edef68
* Added POSIX equivalents to APR classes used by clients, inlined trivial calls.Alan Conway2006-11-09137-728/+1051
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@473087 13f79535-47bb-0310-9956-ffa450edef68
* Added some encode/decode routines to Message (plus test).Gordon Sim2006-11-096-6/+78
| | | | | | | | Altered Buffer to allow memory for data to be specified on construction. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472850 13f79535-47bb-0310-9956-ffa450edef68
* Removed invalid and redundant include.Gordon Sim2006-11-091-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472844 13f79535-47bb-0310-9956-ffa450edef68
* More separation of concerns with APR, client side complete.Alan Conway2006-11-098-141/+211
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472732 13f79535-47bb-0310-9956-ffa450edef68
* Files missed in last commit.Alan Conway2006-11-083-0/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472557 13f79535-47bb-0310-9956-ffa450edef68
* More reorg to separate APR/posix code, work in progress.Alan Conway2006-11-0851-564/+414
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472545 13f79535-47bb-0310-9956-ffa450edef68
* Modified TransactionalStore to return the txn ctxt as an auto_ptr to make ↵Gordon Sim2006-11-074-12/+20
| | | | | | ownership more obvious. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472166 13f79535-47bb-0310-9956-ffa450edef68
* Made passing of transaction context in message store explicit (to avoid ↵Gordon Sim2006-11-0719-50/+174
| | | | | | thread local storage in case this doesn't fit with new io design). git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@472067 13f79535-47bb-0310-9956-ffa450edef68
* Minor source reorg, see README.Alan Conway2006-11-0659-88/+1797
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@471789 13f79535-47bb-0310-9956-ffa450edef68
* Added protocol version and version exception classes in preparation for ↵Kim van der Riet2006-11-036-10/+240
| | | | | | multi-protocol generation. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@471002 13f79535-47bb-0310-9956-ffa450edef68
* Added some methods to MessageStore interface and hooked these in where ↵Gordon Sim2006-11-0311-29/+87
| | | | | | appropriate. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470810 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused code.Alan Conway2006-11-012-268/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@470110 13f79535-47bb-0310-9956-ffa450edef68
* Misc. cleanup.Alan Conway2006-11-0112-39/+47
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469753 13f79535-47bb-0310-9956-ffa450edef68
* Moved APR specific sources into src_apr.Alan Conway2006-11-0124-1807/+27
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469738 13f79535-47bb-0310-9956-ffa450edef68
* IO refactor phase 1. Reduced dependencies, removed redundant classes.Alan Conway2006-10-3158-1480/+464
| | | | | | | Renamed pricipal APR classes in preparation for move to apr namespace. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469625 13f79535-47bb-0310-9956-ffa450edef68
* Hid locking within exchange registry, switched to shared_ptr for exchanges, ↵Gordon Sim2006-10-3112-80/+92
| | | | | | added some extra error handling and tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469599 13f79535-47bb-0310-9956-ffa450edef68
* Added doc & unit tests.Gordon Sim2006-10-312-1/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469530 13f79535-47bb-0310-9956-ffa450edef68
* Some additional unit tests.Gordon Sim2006-10-314-8/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469471 13f79535-47bb-0310-9956-ffa450edef68
* Initial implementation for tx class.Gordon Sim2006-10-3042-270/+1291
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@469242 13f79535-47bb-0310-9956-ffa450edef68