Commit Graph

225 Commits

Author SHA1 Message Date
Matt Broadstone 01d792f38d refactor Message to be explicitly shared class, rather than passing
shared pointers around directly
2014-06-05 15:37:41 -04:00
Matt Broadstone 73a1d1db36 organize which methods are related to which parts of the spec, try to figure
out what we're missing
2014-06-05 14:10:29 -04:00
Matt Broadstone 6f05bf5ef9 remove convenience bind methods from exchange, reducing the confusion about
how queues are actually bound to an exchange (not the other way around)
2014-06-04 23:44:07 -04:00
Matt Broadstone eaee35df12 add a test for a default exchange to tst_QAMQPQueue 2014-06-04 10:24:45 -04:00
Matt Broadstone 1a769b2b48 rename ChannelPrivate::number -> channelNumber 2014-06-04 09:50:31 -04:00
Matt Broadstone 343609d884 move all frame handlers to private classes in an effort to make amqp_frame private 2014-06-04 09:46:15 -04:00
Matt Broadstone 9a4e1f2764 update travis config for qt5 builds, add build status to README.md 2014-06-03 22:16:57 -04:00
Matt Broadstone 7b695f52f3 start rabbitmq for tests in travis 2014-06-03 17:38:01 -04:00
Matt Broadstone 0cd96eef2f add travis configuration for CI 2014-06-03 17:33:38 -04:00
Matt Broadstone 80ba14136b rename customProperty -> customProperties 2014-06-03 17:30:41 -04:00
Matt Broadstone e9dcb18c44 remove no longer needed auto test 2014-06-03 16:46:51 -04:00
Matt Broadstone 983eb60f76 fix delayed declarations for different exchange types 2014-06-03 16:33:43 -04:00
Matt Broadstone d4b1824b46 merged Client Connection and Network classes, fixed a bug allowing for proper
connecting and disconnecting from a broker
2014-06-03 16:11:30 -04:00
Matt Broadstone fde4bcf39a overhauled tests, added TestCase class, made a few skeleton auto tests 2014-06-03 13:48:50 -04:00
Matt Broadstone 1198db2857 refactored Channel, changed some methods to better convey their intention 2014-06-03 13:00:25 -04:00
Matt Broadstone 128f350cf8 refactored QAMQP::Network to include a dptr, made whole class private as it is
not meant to be used externally (only used by Client internally)
2014-06-03 12:28:12 -04:00
Matt Broadstone 60bcfabe2b refactor Connection into a private class, since it can only be created by a Client.
moved ConnectionPrivate methods into Connection
2014-06-03 11:50:24 -04:00
Matt Broadstone 9eabe0587e refactored Connection to take a Network in the ctor
standardized variable names
decoupled Connection and Client (they are no longer friends)
2014-06-03 09:13:37 -04:00
Matt Broadstone 360e64b34b add auto tests for standard exchange types
fixed a bug with reporting the removal of an exchange
added an ExchangeType enum for standard types
2014-06-02 11:00:04 -04:00
Matt Broadstone 4aa8397f2a style fixes 2014-05-30 17:20:11 -04:00
Matt Broadstone 477cca3d69 moved publish from private to main class 2014-05-30 17:07:41 -04:00
Matt Broadstone 5bd2ebbde8 moved declare/remove from private to main class 2014-05-30 16:56:29 -04:00
Matt Broadstone 10ca783442 split binded to bound/unbound, replaced invokeMetaMethod with Q_EMIT 2014-05-30 15:40:38 -04:00
Matt Broadstone 93287a4836 moved declare/remove from QueuePrivate to Queue 2014-05-30 15:36:11 -04:00
Matt Broadstone d8da64b373 merge QueuePrivate and Queue bind/unbind methods 2014-05-30 15:20:57 -04:00
Matt Broadstone 598b10bf73 merge more code from private functions to Queue class 2014-05-30 15:10:55 -04:00
Matt Broadstone 1c3bd9fdf1 merge _q_body/_q_content from QueuePrivate to Queue 2014-05-30 14:57:09 -04:00
Matt Broadstone e5e3036d03 merge Queue::purge and QueuePrivate::purge 2014-05-30 14:51:44 -04:00
Matt Broadstone c6d0c57d5f remove crufty unused functions, used constBegin/End for iterations, store itEnd during loop, various other cleanups 2014-05-30 14:33:24 -04:00
Matt Broadstone e325037fdd remove needless function duplication in private class 2014-05-29 14:10:38 -04:00
Matt Broadstone 3d69359431 renamed open/close methods to connectToHost/disconnectFromHost (to mirror Qt socket API), added the first auto tests! 2014-05-29 10:16:33 -04:00
Matt Broadstone 8f39b2a367 missed a few namespace cleanups 2014-05-28 16:28:45 -04:00
Matt Broadstone 7a708cc39a added dummy auto tests 2014-05-28 16:27:46 -04:00
Matt Broadstone 2ba2823b84 export it all! this may be unnecessary, more investigation needed 2014-05-28 15:33:15 -04:00
Matt Broadstone 64f23fd648 namespace cleanup 2014-05-28 14:58:18 -04:00
Matt Broadstone cd33957147 rename amqp => amqp_client 2014-05-28 13:05:51 -04:00
Matt Broadstone 7394092f60 turn qamqp into a proper library, set up test dir structure, moved qamqp test app to manual test 2014-05-28 12:52:42 -04:00
Matt Broadstone 565d0e04df rename and move pro files 2014-05-28 12:36:50 -04:00
Matt Broadstone dbb03b9df4 move library files to src directory 2014-05-28 12:35:31 -04:00
Matt Broadstone 0dfa78a9db moved qamqp cli code to a manual test 2014-05-28 12:35:05 -04:00
Matt Broadstone 50e6eec7b1 remove old build files, added tests directory 2014-05-28 12:31:22 -04:00
Matt Broadstone c069b063d3 use Q_Q/Q_D from Qt rather than P_Q/P_D, style cleanups for Qt coding style
delete exception-related code, as Qt does not officially support them anymore
2014-05-28 12:26:55 -04:00
Alexey Shcherbakov 387af4038e Merge pull request #40 from open-rnd/cmake-support
cmake: add cmake support
2014-05-17 17:37:49 +06:00
Maciej Borzecki c43aad796f cmake: add cmake support
Use standard GNU installation directories. Headers are installed under
${includedir}/qamqp.
2014-05-16 22:02:21 +02:00
Alexey Shcherbakov 34f418262a Merge pull request #39 from AdamMajer/master
This fixes segfaults trying to use the QAMQP::Client constructor with passed QUrl
2014-05-02 10:57:07 +06:00
Adam Majer 0bad40be56 Allocate internal structures before using them
ClientPrivate::parseCnnString() touches class parameters that are
allocated in the init() function.
2014-04-30 12:48:44 -05:00
Adam Majer 29fc73a5d2 Provide a valid default port when parsing QUrl
When port is not specified in QUrl, the default value is
returned. This default value is -1, which was promptly cast to an
unsigned integer.
2014-04-30 12:46:26 -05:00
Alexey Shcherbakov 5c4db2233c Merge branch 'master' of https://github.com/fuCtor/QAMQP 2013-09-08 11:16:10 +06:00
Alexey Shcherbakov ea61479ced fix #28 2013-09-08 11:15:47 +06:00
Alexey Shcherbakov 754c1fd480 Update Readme 2013-04-28 11:13:57 +06:00