summaryrefslogtreecommitdiff
path: root/cpp/bindings
Commit message (Collapse)AuthorAgeFilesLines
...
* Exposed asMap for DataAddr objects in Pyton and Ruby wrappers.Ted Ross2011-01-116-2/+89
| | | | | | | Enhanced the examples to show the passing of a DataAddr in an argument. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057774 13f79535-47bb-0310-9956-ffa450edef68
* QMFv2 API change:Ted Ross2011-01-114-14/+56
| | | | | | | | | 1) Added public constructor for DataAddr(Variant::Map) 2) Fixed Python and Ruby typemaps to support Variant::Map& and Variant::List& with const 3) Added support for building Queries based on object-id maps in both Python and Ruby wrappers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057709 13f79535-47bb-0310-9956-ffa450edef68
* .NET Binding for Qpid Messaging, in every .NET object that keeps Charles E. Rolke2011-01-1014-97/+40
| | | | | | | | | | a reference to unmanaged memory: * Function Cleanup() is deleted and cleanup is moved to Finalizer. * Destructor calls Finalizer. * Finalizer takes a lock before deleting unmanaged memory. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057350 13f79535-47bb-0310-9956-ffa450edef68
* Updated Python and Ruby wrappers to reflect API changes.Ted Ross2011-01-105-11/+14
| | | | | | | Updates to the agent examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057200 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up the makefiles for the Swig-generated bindings.Ted Ross2011-01-075-6/+12
| | | | | | | | 1) Suppression of some warnings 2) Proper installation of artifacts in "make install" git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1056420 13f79535-47bb-0310-9956-ffa450edef68
* Suppress spurious warnings from Swig.Ted Ross2011-01-062-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1056095 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2989 .NET Cpp Messaging Binding - Example program file is misnamedCharles E. Rolke2011-01-033-2/+2
| | | | | | Spell receiver correctly in the file name, and change two project references to the correct name. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1054709 13f79535-47bb-0310-9956-ffa450edef68
* .NET Binding for Qpid Messaging:Charles E. Rolke2011-01-033-44/+79
| | | | | | | Add the boolean variation of Get() and Fetch(). Modify drain example to use the boolean Fetch. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1054684 13f79535-47bb-0310-9956-ffa450edef68
* Two fixes in the Ruby QMF2 binding:Ted Ross2010-12-222-2/+3
| | | | | | | | 1) Fixed typos in the close methods for Console and Agent sessions 2) Fixed the makefile to properly distribute the qmf2.rb wrapper git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1051903 13f79535-47bb-0310-9956-ffa450edef68
* Bring QPID .NET Binding examples more in line with cpp examples.Charles E. Rolke2010-12-0112-33/+88
| | | | | | | | 1. Return 0/1 from main to indicate success/failure, where possible. 2. Call sender's session.Sync() after transmitting messages and not waiting for responses. 3. Add third arg connectionOptions as used in cpp examples. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1041141 13f79535-47bb-0310-9956-ffa450edef68
* Ensure spout example waits for all messages to be sent before detaching sessionCharles E. Rolke2010-11-301-0/+1
| | | | | | see c++ spout fix r957513 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1040778 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2958 Qpid Cpp Messaging .NET Binding library should use Framework v2.0 ↵Charles E. Rolke2010-11-231-4/+1
| | | | | | and not v3.5 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1038352 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2939 Qpid .NET Messaging Binding has stray references and using statements.Charles E. Rolke2010-11-232-10/+0
| | | | | | Fix same problems in sessionreceiver. These were missed in the last pass. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1038188 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2953 Qpid Cpp Messaging .NET Binding does not include unit tests.Charles E. Rolke2010-11-186-208/+742
| | | | | | | This checkin converts project test\messaging.test from an EXE to a DLL usable by NUnit. Tests for several managed objects are included in new files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036644 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2952 Qpid Cpp Messaging .NET Binding - Address constructor mishandles ↵Charles E. Rolke2010-11-181-1/+1
| | | | | | | | Name and Type fields Setting 'Type' actually set 'Name'. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1036558 13f79535-47bb-0310-9956-ffa450edef68
* Added a blank setAgentFilter (will make this a command option).Ted Ross2010-11-111-2/+8
| | | | | | | Added an indication for the connected broker agent in the list. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1034108 13f79535-47bb-0310-9956-ffa450edef68
* Fixed segfault when setting the agent filter on a closed session.Ted Ross2010-11-103-7/+85
| | | | | | | | | Fixed notification for the connected-broker agent. Added an example console program in c++ to monitor the set of agents. Fixed the Python agent example to more elegantly handle connection failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033763 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2939 Qpid .NET Messaging Binding has stray references and using statementsCharles E. Rolke2010-11-1031-327/+0
| | | | | | Clean them up. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033679 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2933 Messaging .NET binding has several assembly properties misnamedCharles E. Rolke2010-11-087-14/+14
| | | | | | Property files got cut and paste errors when projects were cloned. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1032720 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2924 Refactor WinSDK to create separate debug and release /bin directoriesCharles E. Rolke2010-11-0513-26/+26
| | | | | | | | | | This checkin gets rid of the "d" in the debug version of the .NET Binding org.apache.qpid.messaging.dll. It applies to the project that creates the dll and to twelve CSharp projects that use the dll. This simple change greatly reduces the burden on customers that QPID-2924 tries to address. Now to switch between debug and release for .NET examples, the customer unpacks the correct DLLs into the \bin directory and relinks the examples. The user does not have to remove and restore project references to the correct DLL for each project. Note that these name changes have zero effect on a developer's view of the examples. In those .csproj files the DLL reference is resolved by a _project_ reeference and not by a DLL reference. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031720 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2923 Qpid Messaging .NET Binding fails to translate exceptions from C++ ↵Charles E. Rolke2010-11-027-198/+922
| | | | | | | | to .NET This checkin moves code out of class constructor member initialization and puts it into try-catch blocks. Any SEH Exceptions thrown by the C++ Messaging libraries are caught and re-thrown as .NET exceptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1030209 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2922 Qpid Cpp Messaging .NET Binding does not implement FailoverUpdate ↵Charles E. Rolke2010-11-023-0/+169
| | | | | | | | class This checkin provides the implemtation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1030061 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2807 More flexible acknowledgementCharles E. Rolke2010-10-292-0/+12
| | | | | | | The message-level Acknowledge in Cpp was not reflected in the .NET Messaging binding. This commit adds the ack to the code and to the doc book session method mapping table. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028859 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2916: fix QMF test that was sending a sstr > 255 bytes long.Kenneth Anthony Giusti2010-10-291-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028812 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2918 Assembly mis-named in csharp.example.declare_queuesCharles E. Rolke2010-10-281-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028433 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2915 Qpid Cpp Messaging .NET Binding does not properly handle Qpid type ↵Charles E. Rolke2010-10-274-6/+40
| | | | | | | | | | | VAR_VOID * In C# map sender example, send null list and map values. * In Message ToString() display "" for null list and map values. * Do not dereference null values when determining their type. * Properly marshal native Qpid VAR_VOID data type. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028099 13f79535-47bb-0310-9956-ffa450edef68
* From Robbie's recent 0.8 RAT.txt: Unapproved licenses in ↵Charles E. Rolke2010-10-2738-2/+734
| | | | | | | | cpp/bindings/qpid/dotnet This submission repairs 39 files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2913 QPID Cpp Messaging Libraries for WinSDK Are Not SignedCharles E. Rolke2010-10-223-1/+10
| | | | | | | | | * Add the strong key file signature to all variants of org.apache.qpid.messaging. * Clone the qpid.snk file from messaging to sessionreceiver. * Add the strong key file signature to all variants of org.apache.qpid.messaging.sessionreceiver. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026436 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2907 Developing Qpid Cpp Messaging .NET Binding requires setup helpCharles E. Rolke2010-10-141-0/+522
| | | | | | | | | This script helps a user set up 32-bit and 64-bit Windows development trees without manually editing CMake answer files. Theory of operation and use case descriptions are in the script comments. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022704 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2906 Qpid WinSDK .NET Binding does not support Release configurationCharles E. Rolke2010-10-142-50/+13
| | | | | | | | | | | | | | | | | | | | This patch adds Release mode build support for the .NET Binding to C++ Messaging. 1. SessionReceiver project was putting its x64 output into the wrong directory and was not picked up by the WinSDK. 2. winsdk_dotnet_examples.sln had the projects in a hierarchy. This spoils the experience for users of VS Express where the solution failed to load. 3. README-winsdk.txt provides an ascii-art picture of the components in the SDK. Also adds a description of how to switch the .NET example projects from debug to release. 4. New files added in cpp/src/windows/winsdk: LICENSE-MSVC is windows-only text to be appended to the root LICENSE file. MS-LICENSE.HTM is the Microsoft Runtime Redistributable license for VS2008 and .NET Framework 3.5. 5. bld-winsdk.ps1: Builds full Debug and Release (RelWithDebInfo) .NET binding DLLs. Augments the licenses in the kit root with information about the Microsoft Redistributable Runtime. Enforces DOS line endings on all the kit root info files. Installs the Debug version of .NET Binding in the /bin directory. Places zipped Debug and Release versions of .NET Binding in the /bin directory that users may select. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022667 13f79535-47bb-0310-9956-ffa450edef68
* Added -fno-strict-aliasing for all of the swig-generated Python wrappers becauseTed Ross2010-10-133-3/+3
| | | | | | | Swig (for Python) generates code that violates the strict aliasing rules. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1022224 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2866 Remove unneeded build files and directoryCharles E. Rolke2010-10-113-433/+0
| | | | | | Delete directory qpid/cpp/bindings/qpid/dotnet/bld and all the files in it. They are unused (see QPID-2827) and their presence will only confuse future maintainers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2863Charles E. Rolke2010-10-112-156/+0
| | | | | | These files were not deleted in last commit. Trying again. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021366 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2863 Propagate WinSDK Build Version numbers to the Messaging .NET BindingCharles E. Rolke2010-10-114-3/+159
| | | | | | | | | | Rooted at qpid/, this patch propagates the Windows version numbers to the .NET Binding DLLs. The changes can be summarized: 1. The files that hold the version numbers are renamed to templates and are edited to hold the version number CMake variable names. 2. CMake calls configure_file twice to put the version numbers into the generated files. 3. The projects that use these files are steered to use the generated source. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021361 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2895 Qpid Windows Messaging .NET Binding does not work in release mode.Charles E. Rolke2010-10-1117-408/+808
| | | | | | | The problem is that the Release mode dll is built with links to the MSVC debug runtime libraries. This fix also gets rid of the AllCPU configuration. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1021351 13f79535-47bb-0310-9956-ffa450edef68
* Fix session-shutdown-after-failure so it does not cause a segfault.Ted Ross2010-10-071-4/+7
| | | | | | | | Fixed the method-call wrapper for Python in the qpid messaging wrapper to properly handle and translate C++ exceptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005654 13f79535-47bb-0310-9956-ffa450edef68
* Renamed swig-generated Ruby binding for QMF2 from "qmf2" to "cqmf2" to match theTed Ross2010-09-233-10/+547
| | | | | | | | | pattern of the Python binding. Added a proper Ruby binding for Qmf2. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1000288 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2880: allow boolean values in method call map/list arguments.Kenneth Anthony Giusti2010-09-222-5/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999919 13f79535-47bb-0310-9956-ffa450edef68
* QMFv2 Additions:Ted Ross2010-09-212-6/+20
| | | | | | | | | | | | - QMFv2 schema encoding completed - Schema queries handled by the agent and initiated by the console by user request - Full query support with predicates evaluated on the agent (regex not yet implemented) - Agent filtering in the console - Agent aging in the console - Unit tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999662 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2827 - QPID Cpp WinSDK does not contain 64-bit librariesTed Ross2010-08-3030-68/+1867
| | | | | | | | | | | | | | Patch from Chuck Rolke * Adds the x64 platform to the cpp\example solution and six example projects. * Adds the x64 platform to the qpid messaging .NET binding dlls and examples. * Adds QPID_BUILD_ROOT environment variable to .NET binding projects for locating C++ libraries and headers, and for storing generated output. This is required to compensate for the varying location of cmake-generated directories. For a given build QPID_BUILD_ROOT must be set to the directory in which cmake was run. * Reorganize the bld-winsdk.ps1 script to build x86 (Win32) and x64 platforms. * Update Readme-winsdk.txt content. Also switch this file to DOS line endings to improve its usability on a Windows system. * Add a shadow solution file and shadow project files for the C# examples. The new build process copies the development example source tree to get the example sources organized into a hierarchy and then overlays the copied tree with the shadow .sln and .csproj files. Users then build the examples directly using the customized solution. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@990917 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2798 - C++ Messaging Client .NET binding fails to clone managed objects ↵Ted Ross2010-08-2016-255/+145
| | | | | | | | correctly Patch from Chuck Rolke git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987510 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2792 - Added C++ example agent.Ted Ross2010-08-134-2/+228
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@985207 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2793 - Python and Ruby bindings for the C++ QMFv2 APITed Ross2010-08-1212-21/+1183
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@985020 13f79535-47bb-0310-9956-ffa450edef68
* Added some missing typecasts and type-check clauses.Ted Ross2010-08-121-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@985019 13f79535-47bb-0310-9956-ffa450edef68
* Re-enabled the wrapping of the messaging API with fixes for earlier versionsTed Ross2010-08-043-8/+9
| | | | | | | of Swig, Python, and Ruby. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@982244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2765 - WinSdk does not have the .NET Binding examplesTed Ross2010-07-304-16/+495
| | | | | | Patch from Chuck Rolke git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980936 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2777Ted Ross2010-07-302-4/+0
| | | | | | | Removed unneeded swig include files. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980789 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2777 - Additional bindings for the C++ messaging API (Python, Ruby)Ted Ross2010-07-298-0/+940
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@980531 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: agent label in wrapped (python, ruby) qmf agent was not transmitted ↵Ted Ross2010-07-223-3/+3
| | | | | | | | | to the consoles. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966871 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck RolkeTed Ross2010-07-193-1/+20
| | | | | | Fixes a property misspelling and adds two missing functions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@965634 13f79535-47bb-0310-9956-ffa450edef68