summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5732: Perl examples getting the wrong cmdline argumentsDarryl L. Pierce2014-04-292-5/+5
| | | | | | | | | | The hello_world and map_receiver examples had a one-off error when getting command line arguments. This patch points them back to the correct arguments. Contributed by Zdenek Kraus <zkraus@redhat.com> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1591006 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5716: Messaging C++ .NET binding fails to return GetContentObject dataCharles E. Rolke2014-04-234-17/+96
| | | | | | | | Changes function signature to: object = message.GetContentObject() Adds self tests using SetContentObject and GetContentObject. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1589496 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5560: HA tests do not use AMQP 1.0Alan Conway2014-04-071-10/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The HA tests were using only AMQP 0-10. Modified the tests to use AMQP 1.0 if available (still use 0-10 if 1.0 is not available) Fixed bugs uncovered both in the tests and in the AMQP 1.0 implementation. Summary of changes: - brokertest.py: configurable support for of swig vs. native and amqp0-10 vs. 1.0 - default to swig+amqp1.0 if swig is available, native+amqp0-10 otherwise - qpidtoollibs/broker.py: enable use of swig client with BrokerAgent - Swig python client: - support for passing client_properties/properties. - expose AddressHelper pn_data read/write as PnData helper class - set sender/receiver capacity on creation - limited disposition support - rejected messages. - support for additional timeout parameters - expose messaging::Logger, allow log configuration to be set from python. - ha_tests.py: - bind, delete policies not supported by AMQP 1.0, switched to using BrokerAgent QMF. - pass protocol:amqp1.0 connection-option to c++ test clients (qpid-send, qpid-receive) - TX tests forsce use of 0-10 protocol (but still with Swig client if enabled.) - Broker fixes: - Queue::Settings::isTemporary was set in the 0-10 SessionAdapter, moved to Broker::createQueue. - broker::amqp::Session was always setting an exclusive owner in createQueue git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1585588 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Use better logic to locate Visual Studio vcvars on 32-/64-bit systemsCharles E. Rolke2014-03-221-14/+62
| | | | | | | | | | Emit a make-install.bat. Install failures from within VS gui are hidden but are in plain sight from the command line. Fix a couple of bad references to boost root directory. Turn off INSTALL_QMFGEN to preclude install failures Replace hard tabs with spaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1580210 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5631: Adjust for changes to Qpid CMake detection of Proton.Charles E. Rolke2014-03-201-375/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Buried deep in cpp\bindings\qpid\dotnet is a script configure-windows.ps1. This script originally came into being to support the .NET binding, which is a .NET project that has no support from CMake. The script gathers the facts of where cmake runs and where boost comes from and embeds the environment into launch scripts used to start the .NET binding solution(s). Then the .NET solution can link naturally to the rest of the cmake project environment. Before this commit the script was very liberal about where one could root a build (run cmake). This patch forces some order onto the build and install directories to ease integration with proton. I use a couple of conventions and it makes life much easier. 1. Map some drives. Drive P: maps to the root of a proton checkout Drive Q: maps to the root of a qpid checkout Strictly speaking this is not necessary and if you use this scheme then you must be careful about the drive mappings. If you get them wrong then your builds will be confused. 2. Use fixed names for the studio/platform builds and installs. Builds go to: P:\build_2008_x86 Q:\build_2008_x86 P:\build_2008_x64 Q:\build_2008_x64 P:\build_2010_x86 Q:\build_2010_x86 P:\build_2010_x64 Q:\build_2010_x64 Installs go to: Q:\install_2008_x86 Q:\install_2008_x64 Q:\install_2010_x86 Q:\install_2010_x64 That is, cmake for a VS2010 32-bit build is run in P:\build_2010_x86 and Q:\build_2010_x86 But both of these builds use -DCMAKE_INSTALL_PREFIX=Q:\install_2010_x86 to install into the same place. 3. To build qpid with proton support: build and install proton first and then build and install qpid. To build qpid with no proton support: just build and optionally install qpid. Other fixes to this script are: * Adds --help option * It does only one studio/platform at a time. It doesn't mix 32- and 64-bit builds together. * It is callable from the command line: > cd cpp\bindings\qpid\dotnet > powershell -ExecutionPolicy unrestricted .\configure-windows.ps1 2010-x86 c:\boost-win-1.47-32bit-vs2010 It will create the canonical build directory and run cmake in it. * A new batch file is emitted that has the exact cmake command used. You can use this to rerun cmake without rerunning any powershell. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579734 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5622: Expose {get,set}ContentObject in Ruby bindings.Darryl L. Pierce2014-03-1110-18/+77
| | | | | | | Added the feature and updated the rspec tests and examples to use content_object for retrieving data. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1576357 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: fix malformed install directoryCharles E. Rolke2014-02-241-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1571470 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5575: csharp.map.receiver example throws referencing connectionOptions argCharles E. Rolke2014-02-211-1/+1
| | | | | | | | Dereference proper arg. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1570603 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5556: Provide the right Perl packages in top-level modules.Darryl L. Pierce2014-02-172-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1569117 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5546: Expose the get_content_object method in Perl.Darryl L. Pierce2014-02-113-3/+36
| | | | | | | Updated the spout and drain examples to use this rather than encode/decode to retrieve the content of a message. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1567173 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5499: Fix Ruby/Perl bindings when built with -Werror=format-securityDarryl L. Pierce2014-02-073-23/+23
| | | | | | Changed the swig descriptors so that they use a constant format string. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1565651 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Update configuration script to handle a PROTON_ROOT.Charles E. Rolke2014-01-291-17/+85
| | | | | | | Expose the cmake command lines as they are executed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1562539 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5481: Messaging API Update - 1555202 Logger module addedCharles E. Rolke2014-01-224-0/+368
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560529 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5503: expose next_receiver through swig wrapper, add test for both 1.0 ↵Gordon Sim2014-01-221-0/+9
| | | | | | and 0-10 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560395 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix switch statement not covering all cases warningAndrew Stitcher2014-01-171-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1559021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5481: Messaging API Update - 1520673 Connection reconnect() and ↵Charles E. Rolke2014-01-162-0/+64
| | | | | | getUrl() added git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558911 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5481: Messaging API Update - 1520416 Message ↵Charles E. Rolke2014-01-161-11/+35
| | | | | | | | | | | | | | setProperties(Variant::Map&) added The .NET binding already had a Properties setter but it behaved worked by doing recursive property Add and not a wholesale replace. This patch calls the new setProperty method to get the correct behavior. The Properties property does non trivial calls into the unmanaged code. This patch also intercepts unmanaged exceptions from get and set and relays them into managed space. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558899 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5481: Messaging API Update - 1513536 Message constructor and content ↵Charles E. Rolke2014-01-154-144/+162
| | | | | | | | | | getters added The .NET Binding already had the bytes constructor and the getContentBytes methods. This patch adds getContentObject/setContentObject interfaces. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558619 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5481: Messaging API Update - r1460198 QPID-4586 Receiver and Sender ↵Charles E. Rolke2014-01-154-0/+97
| | | | | | 'Address getAddress()' added git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558549 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Reformat white space with Visual Studio 2010 ^K^F Format Selection.Charles E. Rolke2014-01-157-43/+54
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558481 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added licensing prologs to the Perl MakefileDarryl L. Pierce2013-12-161-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551313 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added licensing prologs to the Ruby feature files and gemspecDarryl L. Pierce2013-12-1612-2/+208
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551312 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Add ASF license statements to dotnet binding solution and config files.Charles E. Rolke2013-12-1617-0/+312
| | | | | | | Reported by RAT on qpid-0.26-rc1 Generated at: 2013-12-15T18:48:44+00:00 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1551262 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5394: Fix the binding dependencies so that we no longer keep on ↵Andrew Stitcher2013-12-046-18/+41
| | | | | | rebuilding the python swig bindings unnecessarily git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1547933 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5369: add deprecation warnings to the QMF2 wrapped modulesKenneth Anthony Giusti2013-11-262-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1545776 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5369: Issue compile-time error if deprecated QMF Agent or Console API ↵Kenneth Anthony Giusti2013-11-254-0/+8
| | | | | | used by applications git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1545368 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5336: Don't hardcode script interpreter locationAndrew Stitcher2013-11-142-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541997 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: track recent GEN_DOXYGEN to BUILD_DOCS changeCharles E. Rolke2013-11-041-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538730 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5287: .NET binding does not set AssemblyVersion to build version.Charles E. Rolke2013-11-043-4/+5
| | | | | | | | | | The fix is 1. rename the AssemblyInfo.cpp to indicate that it is a template. 2. put replacement strings into the template (see sessionreceiver for correct pattern). 3. configure the template during cmake run. 4. Refer to generated file in projects that need it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1538674 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5260: Get test for building Perl bindings correctAndrew Stitcher2013-10-291-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536738 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5260: Significant tidy up of cmake buildAndrew Stitcher2013-10-281-54/+69
| | | | | | | | | | | | | | | | | | | | | * Move to cmake 2.6 as minimum required version (2.4 is extremely long in the tooth now) * Add control over building individual language bindings * Make settings you don't usually want to change advanced so they are hidden by default * Changed to a uniform naming scheme for options: ** Options controlling what to build are all BUILD_ ** Options controlling features of he build are ENABLE_ ** Options controlling internal aspects of the qpid runtime are QPID_ * Respect the BUILD_TESTING option so that we won't build the tests unless it is set (it is by default) * If we don't find the boost_unit_test_framework then don't fail, just don't build the unit tests (this is motivated by one of the Apache Jenkins ubuntu builders which has this set up) * Tidied up some of the detection of external dependencies to make it more idiomatic cmake (but there is more to do here) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5250: Fixed the ordering of caught/throw Ruby exceptions.Darryl L. Pierce2013-10-251-40/+40
| | | | | | | The previous ordering let parent classes be caught before descendant classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1535837 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5250: Raise all exceptions within Ruby bindings.Darryl L. Pierce2013-10-252-3/+87
| | | | | | | | Created a static definition for MessagingError in Ruby, then had all thrown exceptions within the bindings extend that to maintain backwards compatibility. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1535795 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5231: Fix QMF code to use qpid_messaging rather than cqpid.Darryl L. Pierce2013-10-153-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532324 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-5213: Fix QMF code to use qpid_messaging rather than cqpid."Darryl L. Pierce2013-10-153-12/+12
| | | | | | | | This reverts commit 067e9aa1656b9f92e5910bbb6d530f9df6d0dad3. It had the wrong JIRA number in the commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532323 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5213: Fix QMF code to use qpid_messaging rather than cqpid.Darryl L. Pierce2013-10-143-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532049 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Show and save cmake command lineCharles E. Rolke2013-09-271-8/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1527082 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5140: removed unnecessary and peculiar assignmentGordon Sim2013-09-201-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525047 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4924: Move the Python examples under the bindings directory.Darryl L. Pierce2013-09-187-0/+716
| | | | | | They now are found with the other languages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524574 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4924: Created the console Python example app.Darryl L. Pierce2013-09-181-1/+1
| | | | | | | It allows the user to send messages tot he server example app and get messages back. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524573 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4924: Fixed the Python examples to use the new Python moduleDarryl L. Pierce2013-09-181-1/+2
| | | | | | | | Now the imports will first attempt to bring in qpid_messaging, the Swig generated Python. If that fails it will then fall back to trying to import qpid.messaging, the pure Python binding. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524572 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5140: Add get/set methods to MessagePropertiesDarryl L. Pierce2013-09-182-0/+8
| | | | | | | Also set MessageProperties instance as the properties value on the owning Message object. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524554 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4952: Added ChangeLog entry for Python rename.Darryl L. Pierce2013-09-181-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524551 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4952: Renamed the Swig Python binding module to qpid_messagingDarryl L. Pierce2013-09-183-24/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524550 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5133: Add option to the spout examples to enable durable messagesDarryl L. Pierce2013-09-112-0/+12
| | | | | | | | Each of the examples (C++, Ruby, Perl, Python) now have a command line option to set the durable flag on messages sent. This allows for experimenting with message persistence. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1522042 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5104: make handling of properties in swigged impl match the pure python ↵Gordon Sim2013-09-051-12/+36
| | | | | | impl more closely git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1520416 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5111: Make library dependencies clearer in build systemAndrew Stitcher2013-09-031-2/+2
| | | | | | | - Use -as-needed to link libraries to avoid unnecessary libraries - Tidyup mess with nss and qpid-proton libraries git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519866 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5071: Swig bindings now rebuild if any descriptor has changed.Darryl L. Pierce2013-09-033-0/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519840 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Stop some messages from needlessly interupting ccmake flowAndrew Stitcher2013-09-031-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4711: translate between structured content in AMQP 0-10 and 1.0Gordon Sim2013-08-131-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1513537 13f79535-47bb-0310-9956-ffa450edef68