Commit Graph

163 Commits

Author SHA1 Message Date
Jens Geyer
f64d7e07de THRIFT-2544 Add support for socket transport for c# library when using Windows Phone projects
Client: C#
Patch: Matrix Ji
2014-05-26 23:34:35 +02:00
Jens Geyer
c0ad368486 THRIFT-2455 Allow client certificates to be used with THttpClient
Client: C#
Patch: Adam Connelly & Jens Geyer

This closes #96

commit a87068655a3d31e2f85e5630462dd174b02f43c6
 Author: Adam Connelly <adam@resdiary.com>
 Date: 2014-04-09T12:06:20Z

THRIFT-2455: Allow client certificates to be used with THttpClient
2014-05-08 22:31:34 +02:00
Jens Geyer
6d1a83aa48 THRIFT-2506 Update TProtocolException error codes to be used consistently throughout the library
Patch: Jens Geyer
2014-05-03 00:49:05 +02:00
Jens Geyer
2a9e6a491e THRIFT-2501: C# The test parameters from the TestServer and TestClient are different from the http://thrift.apache.org/test/
Client: C#
Patch: Beat Kaeslin

This closes #108

commit 0fb9ff4ae19702ffe6d098a6515f6a23d60e88d5
 Author: Beat Kaeslin <beat.kaeslin@siemens.com>
 Date: 2014-04-23T06:33:59Z

Parameter aligned with thrift.apache.org/test/
2014-05-02 22:23:15 +02:00
henrique
4920a65a09 exec permissions for sh files 2014-04-30 18:16:20 +02:00
Jens Geyer
c1d7943a7e THRIFT-2347 C# TLS Transport based on THRIFT-181
Client: C#
Patch: Beat Käslin

This closes #104

commit 21c33abd59a2333c48722933c6894d8ed145e638
 Author: Beat Kaeslin <beat.kaeslin@siemens.com>
 Date: 2014-04-16T14:07:58Z

Add TLS transport for C#

commit 60a0baa1797b0ef0ea6f8c21e5b81a78cdfcdf16
 Author: Beat Kaeslin <beat.kaeslin@siemens.com>
 Date: 2014-04-17T06:23:57Z

csharp tests moved to the end
2014-04-22 22:52:43 +02:00
Jens Geyer
a131b8f92c THRIFT-2456 THttpClient fails when using async support outside Silverlight
Client: C#
Patch: Adam Connelly & Jens Geyer

This closes #97

commit 080b28eac31516ef9e3f988a87d890769f0751cd
 Author: Adam Connelly <adam@resdiary.com>
 Date: 2014-04-09T12:46:27Z

THRIFT-2456 Support async operations outside Silverlight

I altered TTransport to throw the NotSupportedExceptions to make it more obvious what's going on if someone generates their client using the async option, and then uses a transport that doesn't support it.
2014-04-18 19:46:17 +02:00
Jens Geyer
057be5a9bd THRIFT-2470 THttpHandler swallows exceptions from processor
Client: C#
Patch: Adam Conelly

This closes #100

commit 6dcb1c3dc5d3259574863f0bc6af67b241b4653e
 Author: Adam Connelly <adam@resdiary.com>
 Date: 2014-04-16T14:37:54Z

THRIFT-2470: Stop THttpHandler from swallowing processor exceptions

The problem with the way it works currently is that it makes it very difficult to figure out what's going on when I've got a handler running on a remote web server. If the handler just allows the exceptions to bubble up like normal, they get caught by our normal exception handling code and logged.

I also added a new project for unit tests, and some tests for the changes I've made.
2014-04-16 22:43:08 +02:00
Jens Geyer
703200c9d0 Added missing ASF headers 2014-04-15 21:54:55 +02:00
Jens Geyer
fd62df75fa THRIFT-2408 Named Pipe Transport Option for C#
Patch: Carl Yeksigian & Jens Geyer
2014-03-20 00:52:55 +02:00
Roger Meier
16fcad0b25 THRIFT-2407 use markdown (rename README => README.md)
Patch: Roger Meier
2014-03-19 06:47:47 +01:00
Jens Geyer
d26f6fde00 THRIFT-2339 Uncaught exception in thrift c# driver
Patch: Janis Ser
Github Pull Request: This closes #79
----
commit d650ca3380aac39eae1f17dc72d4097eb3394562
Author: JSSTR <janis.sermulins@struq.com>
Date:   2014-01-29T13:49:51Z

    Update TSocket.cs

    Make sure to catch all exceptions in the ConnectCallback.

----
2014-03-19 00:21:49 +02:00
Jens Geyer
1c99e7079b Fixed a bunch of inconsistent/wrong line endings in the C# part, no other changes 2014-03-17 22:51:23 +02:00
Jens Geyer
f36fda2035 THRIFT-2305 TFramedTransport empty constructor should probably be private
Patch: Alex Ausch  & Jens Geyer
2014-02-24 22:57:52 +01:00
Jens Geyer
b080f68d54 THRIFT-2373 warning CS0414 in THttpClient.cs: private field 'Thrift.Transport.THttpClient.connection' assigned but never used
Patch: Jens Geyer
2014-02-22 21:11:40 +01:00
Jens Geyer
06ad7218a9 THRIFT-2365 C# decodes too many binary bytes from JSON
Patch: Jens Geyer
2014-02-16 15:49:52 +01:00
Jens Geyer
73938622ef THRIFT-2346 C#: UTF-8 sent by PHP as JSON is not understood by TJsonProtocol
Patch: Jens Geyer
2014-02-07 22:22:36 +01:00
Jens Geyer
f6acf44117 THRIFT-2303 TBufferredTransport not properly closing underlying transport
Patch: Alex Ausch
2014-01-02 22:58:43 +01:00
Jens Geyer
4d1b0eac7d THRIFT-2298 TJsonProtocol implementation for C# does not allow for both possible slash (solidus) encodings
Patch: Jens Geyer
2013-12-26 19:00:28 +01:00
Jens Geyer
d335acdc2e THRIFT-2259 C# unexpected null logDelegate() pointer causes AV in TServer.serve()
Patch: Jens Geyer
2013-11-11 21:34:40 +01:00
Jens Geyer
d73aa078d0 THRIFT-2191 Fix charp JSONProtocol.ReadJSONDouble (specify InvariantCulture)
Patch: Alexander Makarov
2013-09-18 23:30:42 +02:00
Carl Yeksigian
2ca9c20285 THRIFT-820 Remove readLength attribute from BinaryProtocol
Patch: Carl Yeksigian
2013-08-14 19:38:42 -04:00
Jens Geyer
6b9e1c6a87 THRIFT-2080 C# multiplex processor does not catch IOException
Patch: Jens Geyer
2013-07-06 09:30:31 +02:00
Jens Geyer
ee353e6c98 THRIFT-1709 Warning "Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first" in TBinaryProtocol.cs at ReadInt64()
Patch: Jens Geyer
2013-07-06 09:30:30 +02:00
Jens Geyer
866c23b5d1 THRIFT-2081 Specified timeout should be used in TSocket.Open()
Patch: Jens Geyer
2013-07-05 19:20:27 +02:00
Jens Geyer
e5bfd4c285 THRIFT-2070 Improper `HexChar' and 'HexVal' implementation in TJSONProtocol.cs
Patch: Yousong Zhou
2013-06-28 21:48:02 +02:00
Jens Geyer
102bca47f7 THRIFT-2032 C# client leaks sockets/handles
Patch: Jens Geyer
2013-06-25 22:21:29 +02:00
Jens Geyer
e549a80e4e THRIFT-2050 Vagrant C# lib compile fails with TException missing
Patch: Justin Porterfield
2013-06-20 21:48:21 +02:00
Jens Geyer
b310ae7816 THRIFT-2015 Thrift exceptions should derive from TException
Patch: Jens Geyer
2013-06-12 21:10:35 +02:00
Carl Yeksigian
548244f049 THRIFT-1959: Add Union TMemoryBuffer support
Client: csharp
Patch: carl
2013-06-06 07:52:42 -04:00
Henrique Mendonça
8d22c10a47 THRIFT-1973 TCompactProtocol in C# lib does not serialize and deserialize negative int32 and int64 number correctly
Patch: Eric Ding
2013-06-01 16:53:32 +02:00
Henrique Mendonça
da7982edea THRIFT-1973 TCompactProtocol in C# lib does not serialize and deserialize negative int32 and int64 number correctly
Patch: Eric Ding
2013-05-31 18:20:42 +02:00
Jens Geyer
744e45f3b6 THRIFT-1969 C#: Tests not properly linked from the solution
Patch: Carl Yeksigian
2013-05-14 21:56:24 +02:00
Jens Geyer
379c2776e2 THRIFT-1961 C# tests should be in lib/csharp/test/...
Patch: Jens Geyer
2013-05-09 15:23:48 +02:00
Jens Geyer
7203424e96 THRIFT-1901 C#: Support for Multiplexing Services on any Transport, Protocol and Server
Patch: Jens Geyer
2013-05-08 18:46:57 +02:00
Jens Geyer
f670181a3d THRIFT-1961 C# tests should be in lib/csharp/test/...
Patch: Jens Geyer
2013-05-06 23:48:00 +02:00
Jens Geyer
7f8b870357 THRIFT-1949: WP7 build broken 2013-05-02 19:52:30 +02:00
Jens Geyer
b706b1a905 THRIFT-1742 Optionally implement hashcode and equals in c#
Patch: Carl Yeksigian
2013-04-29 22:10:10 +02:00
Jake Luciani
938e640702 THRIFT-1785 add TMemoryBuffer; patch by carl yeksigian reviewed by tjake 2013-04-25 17:53:08 -04:00
Jens Geyer
f509df9c96 THRIFT-1930: C# generates unsigned byte for Thrift "byte" type
Patch: Jens Geyer
2013-04-25 20:38:55 +02:00
Jake Farrell
146e5116a2 Thrift-1786: C# Union Typing
Client: csharp
Patch: Carl Yeksigian

Updating  makefile for mono
2013-04-22 22:28:56 -04:00
jfarrell
bdb19a467a Thrift-1786: C# Union Typing
Client: csharp
Patch: Carl Yeksigian

Union typing patch
2013-04-22 14:41:13 -05:00
Roger Meier
0193149842 THRIFT-1801 Sync up TApplicationException codes across languages and thrift implementations
Patch: Andrew Cox
2012-12-22 21:31:03 +01:00
Jake Farrell
98f93778e1 Thrift-1709:Warning "Bitwise-or operator used on a sign-extended operand;..."
Client: csharp
Patch: Jake Farrell

Reverts initial patch submitted with ticket and changes to using unchecked {} due to reported memory issues with the previous patch.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1400487 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 16:47:51 +00:00
Jake Farrell
6fcecd45a7 Updating Thrift trunk version to 1.0.0-dev
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1397293 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 20:34:25 +00:00
Jake Farrell
510ecae946 Thrift-1722:C# WP7 Assembly addition beaks mono build
Client: csharp
Patch: Jake Farrell

Fix DIST build for release which broke with the addition of WP7 Assembly info.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1396874 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 00:20:00 +00:00
Roger Meier
e983cf51f3 update Visual Studio project files and svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1395370 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 19:15:04 +00:00
Jake Farrell
14c217d490 Thrift-1709:Warning "Bitwise-or operator used on a sign-extended operand; consider casting to a smaller unsigned type first" in TBinaryProtocol.cs at ReadInt64()
Client: csharp
Patch: Jens Geyer

Fixes warning at the byte shift operations due to a missing cast at the bitwise-or.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1394338 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 00:38:11 +00:00
Henrique Mendonca
bd5db3aa70 Thrift-336: Compact Protocol in C#
Patch: Henrique Mendonça


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1393370 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 09:26:32 +00:00
Henrique Mendonca
ecad39224c Thrift-336: Compact Protocol in C#
Patch: Henrique Mendonça


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1393368 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 09:25:52 +00:00
Roger Meier
3d37fba206 THRIFT-1694 Re-Enable serialization for WP7 Silverlight
Patch: Jens Geyer


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1387715 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 19:30:36 +00:00
Roger Meier
4cb8e40d8a THRIFT-1612 Base64 encoding is broken
Patch: Andrew Cox

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1343074 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 18:05:16 +00:00
Jake Farrell
86d2a4ada8 THRIFT-1610:IWebProxy not available on WP7 platform
Client: csharp
Patch: Jens Geyer

Fix WP7 clients which do not have IWebProxy available.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340487 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 14:29:15 +00:00
Jake Farrell
5e022aa686 THRIFT-1159:THttpClient->Flush() issue (connection thru proxy)
Client: csharp
Patch: Joshua Samuel + Alex Gaas

Resolve HttpClient flush issues with proxy.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339934 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 00:33:54 +00:00
Jake Farrell
970c86a5f2 Thrift-1607:Incorrect file modes for several source files
Client: build
Patch: Andrew Cox

File modes of some non-script text files (e.g. .xml, .java, .cc) in the source tree include execute permissions (because these files have the svn:executable property).



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339492 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 05:41:09 +00:00
Roger Meier
b1ec4ccca1 THRIFT-1412 Thrift Transport classes should manage the lifetime of objects implementing IDisposable by implementing IDisposable themselves
Patch: Joshua Garvin

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1325013 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 21:21:41 +00:00
Roger Meier
2b828b1a94 THRIFT-1516 TProtocolException in C# should be public
Patch: Stefan Gmeiner

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1292148 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 07:08:36 +00:00
Roger Meier
2fbde0eff0 THRIFT-1517 TTransport.ReadAll() should set exception type to EndOfFile
Patch: Stefan Gmeiner

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1291039 13f79535-47bb-0310-9956-ffa450edef68
2012-02-19 18:53:08 +00:00
Jake Farrell
12ac2acfaf Thrift-1456: System.Net.HttpWebRequest' does not contain a definition for 'Proxy'
Client: delphi
Patch: Jens Geyer

Fix for Silverlight 'System.Net.HttpWebRequest' does not contain a definition for 'Proxy' 



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1212223 13f79535-47bb-0310-9956-ffa450edef68
2011-12-09 02:21:37 +00:00
Roger Meier
284a9b56d7 THRIFT-1037 Proposed changes to support Silverlight, Windows Phone and AsyncCTP v3
Patch: Damian Mehers & Jens Geyer

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1211880 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 13:39:56 +00:00
Jake Farrell
9901069442 Updating trunk to 0.9.0 version.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1208214 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 02:09:46 +00:00
Jake Farrell
e0c5316736 Thrift-1426: Dist package missing files for release 0.8
Client: build
Patch: Jake Farrell

Cleans up dist target and removes extra folders.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1202686 13f79535-47bb-0310-9956-ffa450edef68
2011-11-16 12:58:36 +00:00
Roger Meier
212022cce6 THRIFT-322 IHttpHandler for Thrift
Patch: Nils Huegelmann

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1164723 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 21:45:44 +00:00
Roger Meier
3da317bda1 THRIFT-1245 C# JSON Protocol uses culture-dependant decimal separator for double
Patch: Nacim Rahal

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1151959 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 18:35:51 +00:00
Roger Meier
1e20e9f589 THRIFT-1230 C# Library -- THashSet is not marked as Serializable which makes all Thrift classes that uses it unserializable
Patch: Maciek Weksej

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1147643 13f79535-47bb-0310-9956-ffa450edef68
2011-07-17 14:47:48 +00:00
Jake Farrell
83693531db Thrift-1131: C# JSON Protocol is unable to decode escaped characters in string
Client lib: csharp
Patch: Maciek Weksej

C# JSON Protocol throws TProtocolException after meeting an escaped character in UTF8 string, this casts the value being read to avoid this.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1092282 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 14:30:25 +00:00
Jake Farrell
daca3596f2 Thrift-322: HttpHandler for Thrift
Client lib: csharp
Patch: Nils Hügelmann

Adding HttpHandler Support to CSharp lib.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1091986 13f79535-47bb-0310-9956-ffa450edef68
2011-04-14 01:42:12 +00:00
Jake Farrell
6f1e992f6c THRIFT-322: IHttpHandler for Thrift
Client lib: C#
Patch By: nilshu

Adding HTTPHandler to csharp client lib.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1091921 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 21:09:02 +00:00
Bryan Duxbury
c32e8309f4 THRIFT-1132. csharp: Deserialization error in TApplicationException C#
Add in a missing ReadStructBegin call.

Patch: Wojciech Baćmaga

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1090392 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 18:31:52 +00:00
Bryan Duxbury
f02d43772f THRIFT-1119. csharp: TJSONProtocol fails to UTF8 decode strings
Patch: guoyunfeng

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1086262 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 14:56:53 +00:00
Roger Meier
6d8219c105 THRIFT-6 update version info
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1078952 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 21:16:46 +00:00
Bryan Duxbury
2d9dfdb88e THRIFT-1055. csharp: csharp TServerSocket and TSocket do not disable Nagle via Socket.NoDelay = true like cpp and java do
This patch sets NoDelay on TSocket and TServerSocket to improve performance.

Patch: Chris Morgan

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1068470 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 16:38:15 +00:00
T Jake Luciani
7070aaa23b THRIFT-904: disable nagle and linger
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063966 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 02:51:51 +00:00
Bryan Duxbury
c216556bd6 update version numbers to 0.7.0-dev
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1056453 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 18:45:29 +00:00
Roger Meier
e0cac988b6 THRIFT-1022 Typo cleanup patch
Patch: Anatol Pomozov


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1049968 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 13:15:49 +00:00
Roger Meier
56b6e32173 THRIFT-6 csharp AssemblyInfo added
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1026700 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 22:16:51 +00:00
Roger Meier
bc8109faff THRIFT-6 accidently changed name of ThriftMSBuildTask to Thrift, reverted
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1026690 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 22:01:54 +00:00
Roger Meier
2287278140 THRIFT-6 update Version Info for several languages, add print-version to Makefile.am
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1026299 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 11:20:25 +00:00
Bryan Duxbury
fd32d79afa THRIFT-323. csharp: TJSONProtocol
This patch adds support for the JSON Protocol to the csharp library. 

Patch: Roger Meier

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@998539 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 20:51:25 +00:00
Bryan Duxbury
ea67a78377 THRIFT-834. csharp: THttpClient resends contents of message after transport errors
This patch causes the send buffer to be refreshed even in the case of errors.

Patch: Anatoly Fayngelerin

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@983067 13f79535-47bb-0310-9956-ffa450edef68
2010-08-06 17:50:51 +00:00
Bryan Duxbury
e95d2772b5 Add ASL to Thrift.sln
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@980162 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 19:06:33 +00:00
Bryan Duxbury
dc4a871e12 add license headers to a smattering of files
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@979366 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 17:18:30 +00:00
Bryan Duxbury
623594749c THRIFT-160. csharp: Created THttpTransport for the C# library based on WebHttpRequest
This patch adds a new THttpTransport to the C# library and adds some related changes to the Makefile and csproj.

Patch: Michael Greene and Todd Gardner

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@957708 13f79535-47bb-0310-9956-ffa450edef68
2010-06-24 20:34:34 +00:00
Todd Lipcon
53ae9f39d5 THRIFT-622. Add appropriate licensing information to get Thrift ready for a release.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@887812 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 00:42:38 +00:00
Esteve Fernandez
7948a66cfc THRIFT-210. c#: Add support for TFramedTransport
author: Michael Greene (euphoria)


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@835006 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 18:32:25 +00:00
Bryan Duxbury
f45977fef8 THRIFT-531. csharp: C# project and solution files reference external source control system
This patch removes the external source providers from all csproj and sln files. 



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@790731 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 20:18:12 +00:00
David Reiss
d90063f29b THRIFT-467. csharp: Fix compilation on Debian Sid
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@769114 13f79535-47bb-0310-9956-ffa450edef68
2009-04-27 19:25:23 +00:00
Bryan Duxbury
def30a6072 THRIFT-387. Add appropriate Apache header to all code files
This hits all the documentation and some misc code files that have avoided the license up to this point.



git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@763048 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 00:19:37 +00:00
David Reiss
deda141392 THRIFT-388. Create a "ONEWAY" message type that is an alias for "CALL"
Pave the way for a new message type for oneway function calls.
For now, just define the constant in all languages and make
server implementations treat it the same way as a normal call.
Only C++ and Erlang currently check the message type (on the
server side).

There is a little bit of redundancy in the Erlang code, but
the alternative is a bit gross, and this split-up will be
necessary eventually when we start handling one-way calls
differently.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@761389 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 19:22:31 +00:00
David Reiss
ea2cba8ba8 THRIFT-387. Add license headers to a bunch of files
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760189 13f79535-47bb-0310-9956-ffa450edef68
2009-03-30 21:35:00 +00:00
Kevin Clark
ab4460dc97 THRIFT-158. csharp: Update headers to Apache
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@756311 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 02:28:41 +00:00
David Reiss
d831a21773 THRIFT-309. Make Thrift's C# mapping .NET 2.0 (Mono 1.2.4) compatible
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@743963 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 03:09:52 +00:00
David Reiss
80a44e7e82 THRIFT-258. csharp: Include all lib source files in Makefile.am
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@740485 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 22:16:46 +00:00
David Reiss
670cb0f18d THRIFT-264. csharp: Include TBufferedTransport in the build on Linux
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@740456 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:20:55 +00:00
David Reiss
2cdfd3705e THRIFT-264. csharp: Use /langversion:linq to fix the Linux build
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@740454 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 21:20:27 +00:00
David Reiss
3fa89e33f3 THRIFT-209. csharp: Make TTransportFactory.GetTransport virtual
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@739641 13f79535-47bb-0310-9956-ffa450edef68
2009-01-31 22:12:34 +00:00
David Reiss
c654416843 THRIFT-129. csharp: Make all Thrift structures extend TBase
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@732081 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 19:49:33 +00:00
David Reiss
6319133cac THRIFT-25. csharp: Various compiler and library improvements
Compiler:
- Thrift structures are serializable.
- The member fields of thrift structures are now private and only accessible
  through Properties, which keep the appropriate __isset up to date.

Library
- Addition of TBufferedTransport, which can be used to wrap other Transports.
- Addition of TThreadedServer, which manually manages threads instead of
  relying on .NET ThreadPool.
- Servers use a log delegate that defaults to System.Console but allows
  servers to use log4net without introducing the dependency.

ThriftTest Visual Studio Project
- Test client and server that use ThriftTest.thrift. The project references
  thrift.exe and Thrift.dll from the subversion tree and automatically builds
  generated code. This makes it very easy to test changes in both the compiler
  and library.


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@732079 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 19:49:22 +00:00
David Reiss
cee1e085b5 C#: Catch exceptions by name.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665631 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 22:10:09 +00:00
David Reiss
437c03bb3d C#: Make TSimpleServer a public class.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665630 13f79535-47bb-0310-9956-ffa450edef68
2008-04-02 22:10:06 +00:00