summaryrefslogtreecommitdiff
path: root/qpid/cpp/bindings
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4493: Fixes memory leak in Perl bindings.Darryl L. Pierce2013-03-181-0/+7
| | | | | | Contributed by: Jimmy Jones <jimmyjones2@gmx.co.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1457923 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix distcheck problems, missing files in installation.Alan Conway2013-03-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1455236 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4588: Moved the swig descriptors to the include/qpid directory.Darryl L. Pierce2013-02-193-1149/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1447877 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4587: Improve the quality of the Perl examples.Darryl L. Pierce2013-02-188-134/+229
| | | | | | Added more detailed comments to the code, and reformatted it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1447519 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4588: Updated the Perl language bindings.Darryl L. Pierce2013-02-181-1/+1
| | | | | | | They will now look for the Swig descriptors and typemaps in their proper locations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1447499 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4588: Updated the Ruby language bindings.Darryl L. Pierce2013-02-182-2/+2
| | | | | | | They will now look for the Swig descriptors and typemaps in their new locations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1447498 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4588: Updated the Python bindings.Darryl L. Pierce2013-02-182-2/+2
| | | | | | | The Python language bindings will now look for the Swig descriptors and typemaps in their proper locations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1447497 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4581: Perl message content are automatically encoded.Darryl L. Pierce2013-02-157-16/+52
| | | | | | Updated all Perl examples to properly reflect this change. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1446715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4580: Added a README file for Perl.Darryl L. Pierce2013-02-131-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1445949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4580: Provides perldoc documentation to the Perl bindings.Darryl L. Pierce2013-02-139-40/+1530
| | | | | | | | | | | | | Once installed, the documentation can be accessed using the command: perldoc [MODULE] where [MODULE] is the name of one of the source modules. To get an example app, one can type: perldoc qpid_messaging git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1445948 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fixes a few typos in the Ruby documentation.Darryl L. Pierce2013-02-135-12/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1445947 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4544: Perl bindings now support UTF8 encodingDarryl L. Pierce2013-02-122-1/+15
| | | | | | | | Modifies the swig bindings to properly work with UTF8 encoded strings. Contributed by: Jimmy Jones <jimmyjones2@gmx.co.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1445344 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4575 Visual Studio 2012 - Add VS2012 to cmake shell script.Charles E. Rolke2013-02-111-16/+25
| | | | | | | | Tested with CMake 2.8.6. * This patch trivially adds VS2012 to the version pulldown and passes the right args to CMake. * CMake now gets a Boost_COMPILER value to allow older (2.8.6) versions of CMake to find boost. This is probably not necessary with newer CMake. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1444937 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4567: Removed errors from qpid_messaging.rb.Darryl L. Pierce2013-02-081-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1444113 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4568: Improved the Ruby rdocs.Darryl L. Pierce2013-02-079-315/+416
| | | | | | | | Added more detailed examples. Fixed up the rdoc markups to make the docs more useful to developers. Added a comprehensive example to the Qpid::Messaging module rdocs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443577 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4567: Dropped the errors.rb file and special exceptions.Darryl L. Pierce2013-02-074-66/+22
| | | | | | | | The code will now raise MessagingException instead in error conditions. Refactored the Session.sender, Session.receiver and Connection.session methods to no longer raise those exceptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443576 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4568: Fixed the wording in the ChangeLog.Darryl L. Pierce2013-02-071-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443575 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4568: Marked all license prologs as not rdoc material in Ruby.Darryl L. Pierce2013-02-0710-20/+21
| | | | | | | This prevents rdoc from including the prolog as part of the docs for each class and module. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443574 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4568: Removed the extraneous block at the top of LICENSEDarryl L. Pierce2013-02-071-4/+0
| | | | | | | | Not sure how that got in there, likely from when the file was copied from higher up in the repo. It caused rdoc to generate unneeded site so it was removed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443573 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4568: Fixed the TODO list for Ruby.Darryl L. Pierce2013-02-071-5/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443572 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4568: Fixed up the README.rdoc fileDarryl L. Pierce2013-02-071-20/+15
| | | | | | | | | Removed extraneous pieces of information, such as the copyright notice and author name. Fixed the instructions for how to generate the Swig wrapper code and build the gem, how to install it and where to find more information. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443571 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4567: Moved the gem packaging to using a gemspec file.Darryl L. Pierce2013-02-073-173/+2
| | | | | | | | The gemspec already existed, but now the Rakefile has been removed. Cleaned up what is included in the gemfile: removed the spec tests, cucumber tests and examples from the gem, added the ChangeLog file. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1443570 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Moved to a Gemspec file for packaging up the Ruby bindings.Darryl L. Pierce2013-02-041-0/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442401 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4565: Fixed the encode method for messages.Darryl L. Pierce2013-02-041-13/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442337 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4565: Setting message content turned maps and lists into strings.Darryl L. Pierce2013-02-042-11/+34
| | | | | | | | | | | | | When setting content for a message, the Ruby code attempted to convert anything that was a symbol to a string. But it was overzealous and converted everything to a string, including map values that were themselves maps or lists. This fix now only converts symbols to strings. It steps down through arrays or lists and only converts its elements that are symbols to strings, leaving anything else as is. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442329 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4564: Fixes decoding in Ruby.Darryl L. Pierce2013-02-041-3/+3
| | | | | | | The return type was previously being lost/ignored. Now it is returned properly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442287 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Changed references to "URI" to be "address string".Darryl L. Pierce2013-02-046-10/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442150 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4562: Changed Message.reply_to to accept a address string.Darryl L. Pierce2013-02-043-4/+18
| | | | | | | Previously it would accept only an instance of Qpid::Messaging::Address, but now will create an instance from a string if necessary. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442149 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4563: Changed the Address constructor to take a URI.Darryl L. Pierce2013-02-0410-34/+17
| | | | | | | | | | Previously it took the components of an address. Now it takes a single string URI for the address. Updated all cucumber and rspec tests to reflect these changes. Also fixed up the example apps. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442141 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fixed Rspec tests to remove deprecated methods.Darryl L. Pierce2013-02-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1442140 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4504: Break up the Perl sources into individual source modules.Darryl L. Pierce2013-02-0111-921/+1100
| | | | | | | | | | Each of the 8 individual classes are broken up into separate source files. Also modified the release.sh script to include the new lib directory in the Perl upstream sources. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1441445 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4493: Fixes a memory leak in the Perl language bindings.Darryl L. Pierce2013-01-281-8/+4
| | | | | | | | | Replaces creating hashes and arrays using a scalar type with the appropriate Perl API calls for creating a hash and an array. Submitted by: Jimmy Jones <jimmyjones2@gmx.co.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1439422 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed Makefile.PL from DISTCLEANFILES in Autotools.Darryl L. Pierce2013-01-081-1/+0
| | | | | | | The file used to be generated, but is not any longer. So the file never needs to be deleted when cleaning up. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1430464 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4207: Fix distcheck errors for swig .i files.Alan Conway2012-12-193-5/+1
| | | | | | | | | | Introduced in r1414294: "QPID-4207 : in Relocated all swig .i files to the include directory." The new Makefile.am were set up to distribute the files from the new location but the old Makefile.am were not updated to remove the EXTRA_DIST entries for the old locations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1424117 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4505: Fixes to the Perl language bindings revealed by the tests.Darryl L. Pierce2012-12-181-16/+118
| | | | | | | In writing the unit tests some deficiencies were discovered in the Perl bindings. Those are fixed here. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423689 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4505: Provide Perl unit tests.Darryl L. Pierce2012-12-186-59/+534
| | | | | | | | These tests ensure that the Perl language bindings are working as expected, and that changes to either the underlying C++ implementation or the Perl bindings themselves don't break those expectations. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423688 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Added ChangeLog entries for Perl bindings.Darryl L. Pierce2012-12-181-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423589 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4466: Add support for Duration multiplication to Ruby bindings.Darryl L. Pierce2012-12-182-0/+43
| | | | | | | You can now multiply a Qpid::Messaging::Duration instance and get back a new instance of Qpid::Messaging::Duration. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1423567 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4507: Perl bindings were not properly handling int8 and uint8 types.Darryl L. Pierce2012-12-141-4/+4
| | | | | | | Handlers were in place to map between 16-64 bit types but not the 8-bit types. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1422060 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4495: RVM fails to use C++ compiler for the Ruby gem.Darryl L. Pierce2012-12-071-1/+2
| | | | | | | | | | mkmf tries to find a basic working compiler and linker first, and when it finds gcc it stops. But since Qpid is written in C++ this causes the gem to fail to install when the C++ libraries checked. This fix forces mkmf from the outset to use a C++ compiler instead. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418488 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Small typo fix in the drain..pl example.Darryl L. Pierce2012-12-071-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3723: further refinement to the change to link against the .la files, ↵Gordon Sim2012-12-061-4/+7
| | | | | | rather than use the unqualified lib names git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1418000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4480: Fix handling in Perl of strings with embedded nulls.Darryl L. Pierce2012-11-292-1/+62
| | | | | | Contributed by Jimmy Jones <jimmyjones2@gmx.co.uk> git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415313 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3723: Applied patch from Fraser Adams for explicit linkingGordon Sim2012-11-291-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1415137 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Fix bindings breakage from previous checkinsAndrew Stitcher2012-11-287-7/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414741 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4214 : Adds a LICENSE and Makefile.PL to the Qpid Perl bindings.Darryl L. Pierce2012-11-273-0/+221
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414297 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4214 : Updated all Perl examples to work with the new Perl APIs.Darryl L. Pierce2012-11-279-124/+100
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414296 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4124 : New Perl language bindings for Qpid.Darryl L. Pierce2012-11-271-0/+840
| | | | | | | This newer language binding sits on top of those generated by Swig and provide a set of classes that live in the qpid namespace. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414295 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4207 : Relocated all swig .i files to the include directory.Darryl L. Pierce2012-11-2723-223/+41
| | | | | | | Updated the build systems to use the new locations. Updated all other .i files to not use relative paths when referencing them. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414294 13f79535-47bb-0310-9956-ffa450edef68
* BZ878940 - Fixes and improvements to spout.pl and drain.plDarryl L. Pierce2012-11-272-19/+64
| | | | | | | Initial changes from Petr Matousek with additions from Darryl Pierce for show usage information. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1414221 13f79535-47bb-0310-9956-ffa450edef68