summaryrefslogtreecommitdiff
path: root/cpp/bindings/qpid/dotnet/src
Commit message (Collapse)AuthorAgeFilesLines
* Update from trunk r1375509 through r1450773asyncstoreKim van der Riet2013-02-282-16/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1451244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3193 Locking .NET Disposed objects - repair patch r1221824Charles E. Rolke2011-12-227-7/+7
| | | | | | That code initialized the private lock object instead of locking it. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1222343 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3193 Major update provides locks and checks for disposed objects.Charles E. Rolke2011-12-2123-1210/+1677
| | | | | | | | | | | | | * White space police: tabs, trailing white, reformat source per Visual Studio ^k ^f. * Changed native object pointer names to nativeObjPtr for all classes. * Reviewed at https://reviews.apache.org/r/3239 * No macros - all code expanded in-line. * msclr::lock scoped locks use per-object private lock and not 'this'. * References to native functions of disposed (.NET Dispose, C++ delete) objects throws ObjectDisposedException. * Each object gets an IsDisposed property for diagnostic purposes. * Unused file Duration.cpp is deleted. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1221824 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 Visual Studio 2010Charles E. Rolke2011-11-231-3/+3
| | | | | | modify project and script to support refactoring for VS2010. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1205537 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 Visual Studio 2010Charles E. Rolke2011-11-103-0/+552
| | | | | | | | Add the Visual Studio 2010 (msvc10) solution and project files for the .NET Binding. Work remaining for VS2010 includes cpp/examples/ and wcf/. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1200522 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 Visual Studio 2010Charles E. Rolke2011-11-091-1/+1
| | | | | | Fix template source file to refer to new relative path. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1199581 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2643 Support Visual Studio 2010Charles E. Rolke2011-11-082-37/+37
| | | | | | | | | | | | | | This check in for the dotnet binding separates the Visual Studio project and solution files from the source files. The projects and solutions are moved to a VS2008 specific folder named 'msvc9'. The project and solution files are modified to refer to other source objects. This check in also deletes the Visual Basic and Powershell examples. Parties interested in .NET should find no difficulty converting the CSharp examples to the language of their choice. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1199441 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2922 Implement FailoverUpdate class in .NET bindingCharles E. Rolke2011-06-271-0/+1
| | | | | | Suppress copy constructor through tracking reference. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1140178 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3200 Ability to acknowledge all messages up to and including a given ↵Charles E. Rolke2011-06-172-0/+27
| | | | | | | | message for a Session .NET Binding keeps up with additions to the Messaging package. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1137034 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3226 Define more intuitive equality operators for Duration instancesCharles E. Rolke2011-04-261-1/+11
| | | | | | Add == and != operators for Duration class. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1096898 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3192 .NET Binding for Messaging classes are missing intrinsic copy ↵Charles E. Rolke2011-04-0712-7/+149
| | | | | | | | | constructors. The existing 'T(const T ^)' constructor is useful for C# code but fails for Cpp/clr. This commit adds the 'T(const T %)' intrinsic copy constructor for Cpp/clr. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1089995 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
* .NET Binding for Qpid Messaging:Charles E. Rolke2011-01-032-42/+77
| | | | | | | 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
* 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-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
* QPID-2924 Refactor WinSDK to create separate debug and release /bin directoriesCharles E. Rolke2010-11-051-2/+2
| | | | | | | | | | 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-2915 Qpid Cpp Messaging .NET Binding does not properly handle Qpid type ↵Charles E. Rolke2010-10-273-6/+36
| | | | | | | | | | | 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-274-0/+76
| | | | | | | | 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-2906 Qpid WinSDK .NET Binding does not support Release configurationCharles E. Rolke2010-10-141-3/+3
| | | | | | | | | | | | | | | | | | | | 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
* 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-112-12/+209
| | | | | | | 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
* QPID-2827 - QPID Cpp WinSDK does not contain 64-bit librariesTed Ross2010-08-302-12/+187
| | | | | | | | | | | | | | 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-2013-248/+132
| | | | | | | | correctly Patch from Chuck Rolke git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987510 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
* QPID-2589 - Patch from Chuck RolkeTed Ross2010-07-1913-23/+183
| | | | | | This patch cleans up or adds the copy constructors and the copy assignment operators for the binding classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@965603 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2708 - Patch from Chuck RolkeTed Ross2010-07-011-2/+2
| | | | | | Added dependency for new qpidtypes library. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@959664 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck RolkeTed Ross2010-06-251-6/+74
| | | | | | Re-do changes to Session.cpp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958141 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck RolkeTed Ross2010-06-2512-354/+426
| | | | | | | | | * Convert c-style Get() functions to c#-style properties. * Add powershell helloworld example. * Fix message SetContent to accept byte array or byte array slice. * Re-code Session GetReceiver and GetSender not to malloc new objects but to create the objects on the stack. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@958052 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck RolkeTed Ross2010-06-241-1/+29
| | | | | | Visual Basic example added, UUID support added, C# Hello World example added. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@957531 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck RolkeTed Ross2010-06-155-20/+260
| | | | | | More API cleanup and new examples (to match the examples for other languages) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@954983 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 Cleanup pass to address function naming, capitalization rules, ↵Ted Ross2010-06-0923-612/+613
| | | | | | | | | change Qpid messaging 'list' representation from List<> to Collection<>, some exception cleanup. Patch from Chuck Rolke git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@952968 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Build DLLs and EXEs usable on both 32 and 64-bit architectures.Ted Ross2010-06-032-8/+24
| | | | | | Patch from Chuck Rolke. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@951003 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2628 - Patch from Chuck RolkeTed Ross2010-05-2826-605/+2108
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@949245 13f79535-47bb-0310-9956-ffa450edef68
* Added setEncoding call to strings encoded from maps and lists. Encoding is ↵Ted Ross2010-05-211-0/+1
| | | | | | "utf8" for now. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947045 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Patch from Chuck Rolke that exposes structured message content ↵Ted Ross2010-05-142-1/+528
| | | | | | (map/list). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@944263 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2589 - Applied patch from Chuck Rolke.Ted Ross2010-05-1018-0/+1895
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@942892 13f79535-47bb-0310-9956-ffa450edef68