common/thrift.git
14 years agoThrift-363: Maven Deploy
Jake Farrell [Tue, 19 Apr 2011 21:11:54 +0000 (21:11 +0000)] 
Thrift-363: Maven Deploy
Patch: jfarrell
Client lib: java

Adding the ability to publish the java client library as artifacts to the apache maven repository.

Usage: ant -Drelease=true publish
Note: You must have a gpg key setup and push it to pgp.mit.edu and
  have a ~/.m2/settings.xml file containing your apache and gpg information.
  Thrift-1114 will help make this file more secure or unnecessary.

  <settings>
    <servers>
      <server>
        <id>apache.releases.https</id>
        <username>@APACHE_USERNAME@</username>
        <password>@APACHE_PASSWORD@</password>
      </server>
    </servers>
    <profiles>
      <profile>
        <id>gpg</id>
        <properties>
          <gpg.passphrase>@GPG_PASSPHRASE@</gpg.passphrase>
        </properties>
      </profile>
    </profiles>
  </settings>

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1095216 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-812 Demo of Thrift over ZeroMQ (C#)
Roger Meier [Tue, 19 Apr 2011 19:47:03 +0000 (19:47 +0000)] 
THRIFT-812 Demo of Thrift over ZeroMQ (C#)
Patch: Nils Huegelmann

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1095179 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1139 C++ compilation of classes generated for an enum
Roger Meier [Mon, 18 Apr 2011 19:46:02 +0000 (19:46 +0000)] 
THRIFT-1139 C++ compilation of classes generated for an enum
Patch: Xavier Lepaul

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1094710 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1149. ruby: Nonblocking server fails when client connection is reset
Bryan Duxbury [Mon, 18 Apr 2011 17:29:06 +0000 (17:29 +0000)] 
THRIFT-1149. ruby: Nonblocking server fails when client connection is reset

In some situations, a disconnecting client could cause the nonblocking server to trip on an exception and take the whole server down. This patch rescues such errors and cleans up only the disconnected client.

Patch: Alex

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1094667 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1146 add java:android_legacy option to the compiler
Roger Meier [Sat, 16 Apr 2011 20:05:51 +0000 (20:05 +0000)] 
THRIFT-1146 add java:android_legacy option to the compiler

Issue: Android Incompatibility : in Android < 2.3 java.io.IOException doesn't support for Throwable parameter in constructor

Patch: Alessandro Rossi

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1094044 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1060 fb303 build error for cpp
Roger Meier [Sat, 16 Apr 2011 18:55:11 +0000 (18:55 +0000)] 
THRIFT-1060 fb303 build error for cpp
Patch: Sudhir Jorwekar

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1094028 13f79535-47bb-0310-9956-ffa450edef68

14 years agoThrift-1131: C# JSON Protocol is unable to decode escaped characters in string
Jake Farrell [Thu, 14 Apr 2011 14:30:25 +0000 (14:30 +0000)] 
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

14 years agoThrift-322: HttpHandler for Thrift
Jake Farrell [Thu, 14 Apr 2011 01:42:12 +0000 (01:42 +0000)] 
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

14 years agoTHRIFT-322: IHttpHandler for Thrift
Jake Farrell [Wed, 13 Apr 2011 21:09:02 +0000 (21:09 +0000)] 
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

14 years agoTHRIFT-1144: PHP client Attributes from private to protected
Jake Farrell [Wed, 13 Apr 2011 19:42:35 +0000 (19:42 +0000)] 
THRIFT-1144: PHP client Attributes from private to protected

Updating private variable for persistant connections in TSocket to protected.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1091897 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-342. php: PHP: can't have sets of complex types
Bryan Duxbury [Tue, 12 Apr 2011 22:03:45 +0000 (22:03 +0000)] 
THRIFT-342. php: PHP: can't have sets of complex types

This patch implements a dual approach for scalars vs objects.

Patch: Jake Farrell

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1091580 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1141 Include C (glib) library in default Debian package,
Roger Meier [Tue, 12 Apr 2011 20:36:12 +0000 (20:36 +0000)] 
THRIFT-1141 Include C (glib) library in default Debian package,
fix libthrift.jar location, updated changelog file

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1091569 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1136 C++ SSL implementation cleanup
Roger Meier [Tue, 12 Apr 2011 19:23:10 +0000 (19:23 +0000)] 
THRIFT-1136 C++ SSL implementation cleanup

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1091553 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1137 add Compiler Version Info to generated files
Roger Meier [Tue, 12 Apr 2011 19:08:21 +0000 (19:08 +0000)] 
THRIFT-1137 add Compiler Version Info to generated files

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1091546 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-690. php: Update TApplicationException codes
Bryan Duxbury [Mon, 11 Apr 2011 17:59:27 +0000 (17:59 +0000)] 
THRIFT-690. php: Update TApplicationException codes

Patch: Nicholas Telford

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1091150 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1129 Add BufferedTransport (non-framed) to Node.js library
Roger Meier [Sat, 9 Apr 2011 11:10:04 +0000 (11:10 +0000)] 
THRIFT-1129 Add BufferedTransport (non-framed) to Node.js library
Patch: Wade Simmons

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1090565 13f79535-47bb-0310-9956-ffa450edef68

14 years agoignore gen-* instead of gen-cpp
Roger Meier [Fri, 8 Apr 2011 23:23:13 +0000 (23:23 +0000)] 
ignore gen-* instead of gen-cpp

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1090490 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1133 Java and JavaScript tutorial is broken since we have Java maven deployment
Roger Meier [Fri, 8 Apr 2011 21:28:50 +0000 (21:28 +0000)] 
THRIFT-1133 Java and JavaScript tutorial is broken since we have Java maven deployment

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1090454 13f79535-47bb-0310-9956-ffa450edef68

14 years agoignore gen-* folders
Roger Meier [Fri, 8 Apr 2011 21:24:55 +0000 (21:24 +0000)] 
ignore gen-* folders

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1090452 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1132. csharp: Deserialization error in TApplicationException C#
Bryan Duxbury [Fri, 8 Apr 2011 18:31:52 +0000 (18:31 +0000)] 
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

14 years agoTHRIFT-1087 Nonblocking asynchronous JS services
Roger Meier [Wed, 6 Apr 2011 21:30:53 +0000 (21:30 +0000)] 
THRIFT-1087 Nonblocking asynchronous JS services
Patch: Henrique Mendonca

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1089637 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1126 - extended struct info + minor fixes
Anthony F. Molinaro [Fri, 1 Apr 2011 05:34:27 +0000 (05:34 +0000)] 
THRIFT-1126 - extended struct info + minor fixes

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1087585 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1124 add ifdef for crossplatform mkdir, ugly but it works
Roger Meier [Wed, 30 Mar 2011 06:14:06 +0000 (06:14 +0000)] 
THRIFT-1124 add ifdef for crossplatform mkdir, ugly but it works

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1086852 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1124 go compiler does now mkdir without mask
Roger Meier [Wed, 30 Mar 2011 04:52:50 +0000 (04:52 +0000)] 
THRIFT-1124 go compiler does now mkdir without mask

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1086838 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-27 : use default values when generating erlang records
Anthony F. Molinaro [Tue, 29 Mar 2011 21:19:03 +0000 (21:19 +0000)] 
THRIFT-27 : use default values when generating erlang records

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1086752 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1122 do not build any library: added --without-haskell
Roger Meier [Tue, 29 Mar 2011 19:59:44 +0000 (19:59 +0000)] 
THRIFT-1122 do not build any library: added --without-haskell

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1086705 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1119. csharp: TJSONProtocol fails to UTF8 decode strings
Bryan Duxbury [Mon, 28 Mar 2011 14:56:53 +0000 (14:56 +0000)] 
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

14 years agoTHRIFT-1120. csharp: proto.WriteListEnd being called in the wrong place
Bryan Duxbury [Mon, 28 Mar 2011 14:52:25 +0000 (14:52 +0000)] 
THRIFT-1120. csharp: proto.WriteListEnd being called in the wrong place

Patch: guoyunfeng

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1086260 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1111. html: The HTML generator does not distinguish between string and binary...
Bryan Duxbury [Fri, 25 Mar 2011 17:28:19 +0000 (17:28 +0000)] 
THRIFT-1111. html: The HTML generator does not distinguish between string and binary types

Patch: Adrian Muraru

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1085480 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1116 Compilation error in file TSSLSocket.cpp on FreeBSD-8.0
Roger Meier [Fri, 25 Mar 2011 12:22:17 +0000 (12:22 +0000)] 
THRIFT-1116 Compilation error in file TSSLSocket.cpp on FreeBSD-8.0
Patch: Pavlin Radoslavov

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1085347 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1117 JavaScript Unit Test does not work anymore because libthrift*.jar where...
Roger Meier [Fri, 25 Mar 2011 11:37:16 +0000 (11:37 +0000)] 
THRIFT-1117 JavaScript Unit Test does not work anymore because libthrift*.jar where moved by Maven Deployment(THRIFT-363)

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1085330 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-363. java: Maven deploy
Bryan Duxbury [Thu, 24 Mar 2011 17:24:27 +0000 (17:24 +0000)] 
THRIFT-363. java: Maven deploy

It finally works\!

Patch: Jake Farrell

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1085046 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1080 : fix building of test code
Anthony F. Molinaro [Thu, 24 Mar 2011 16:46:22 +0000 (16:46 +0000)] 
THRIFT-1080 : fix building of test code

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1085035 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1074 .keystore and .truststore are missing from the 0.6.0 distribution
Roger Meier [Wed, 23 Mar 2011 20:36:20 +0000 (20:36 +0000)] 
THRIFT-1074 .keystore and .truststore are missing from the 0.6.0 distribution
- new tar format for dist files: tar-ustar POSIX 1003.1-1988
- adds .XYZ files not in the excluded build list to the dist tar.gz file
Patch: Jake Farrell

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1084724 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1107. py: improvement for compiler-generated python for 'None' object comparisons
Bryan Duxbury [Wed, 23 Mar 2011 18:15:19 +0000 (18:15 +0000)] 
THRIFT-1107. py: improvement for compiler-generated python for 'None' object comparisons

This patch switches from 'x != None' to 'x is not None' for a small performance boost.

Patch: Will Pierce

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1084661 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1106. cpp: C++ code TAsyncProtocolProcessor.h & TAsyncBufferProcessor.h dont...
Bryan Duxbury [Wed, 23 Mar 2011 18:05:27 +0000 (18:05 +0000)] 
THRIFT-1106. cpp: C++ code TAsyncProtocolProcessor.h & TAsyncBufferProcessor.h dont have virtual functions but no virtual destructor. Causes warnings on -Wall

Patch: Fasih

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1084656 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1105. ocaml: OCaml generator does not prefix methods of included structs with...
Bryan Duxbury [Wed, 23 Mar 2011 17:57:21 +0000 (17:57 +0000)] 
THRIFT-1105. ocaml: OCaml generator does not prefix methods of included structs with their type

This patch fixes the ocaml generator to generate good code when the 'include' Thrift IDL directive is used.

Patch: Joel Raymont

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1084654 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1103. py: TZlibTransport for python, a zlib compressed transport
Bryan Duxbury [Tue, 22 Mar 2011 18:06:04 +0000 (18:06 +0000)] 
THRIFT-1103. py: TZlibTransport for python, a zlib compressed transport

This patch adds a new TZlibTransport to the Python library and extends the test suite to exercise it.

Patch: Will Pierce

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1084276 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1091 integrate JavaScript Test into Testsuite via make check
Roger Meier [Mon, 21 Mar 2011 21:26:35 +0000 (21:26 +0000)] 
THRIFT-1091 integrate JavaScript Test into Testsuite via make check
...fix broken build

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1083963 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1101. java: bytebuffer length calculation in TBinaryProtocol writeBinary
Bryan Duxbury [Mon, 21 Mar 2011 18:18:33 +0000 (18:18 +0000)] 
THRIFT-1101. java: bytebuffer length calculation in TBinaryProtocol writeBinary

This patch fixes a bug in Binary and Compact protocol that incorrectly calculates the length of the bytes to be written when the byte buffer being written has a nonzero array offset (such as after a slice() call).

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1083890 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1098. php: Undefined properties in TBinaryProtocolFactory
Bryan Duxbury [Mon, 21 Mar 2011 18:04:08 +0000 (18:04 +0000)] 
THRIFT-1098. php: Undefined properties in TBinaryProtocolFactory

Corrected some typos.

Patch: Torben Brodt

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1083882 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1100. py: python TSSLSocket improvements, including certificate validation
Bryan Duxbury [Mon, 21 Mar 2011 17:59:49 +0000 (17:59 +0000)] 
THRIFT-1100. py: python TSSLSocket improvements, including certificate validation

This patch adds a number of features to TSSLSocket and TSSLServerSocket.

Patch: Will Pierce

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1083880 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1094. py: bug in TCompactProto python readMessageEnd method and updated test...
Bryan Duxbury [Mon, 21 Mar 2011 17:38:22 +0000 (17:38 +0000)] 
THRIFT-1094. py: bug in TCompactProto python readMessageEnd method and updated test cases

This patch fixes a TCompactProtocol bug and expands the test cases to exercise the problem.

Patch: Will Pierce

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1083877 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1091 integrate JavaScript Test into Testsuite via make check
Roger Meier [Thu, 17 Mar 2011 19:20:56 +0000 (19:20 +0000)] 
THRIFT-1091 integrate JavaScript Test into Testsuite via make check

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1082651 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1091 integrate JavaScript Test into Testsuite via make check
Roger Meier [Thu, 17 Mar 2011 19:13:36 +0000 (19:13 +0000)] 
THRIFT-1091 integrate JavaScript Test into Testsuite via make check

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1082649 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1050. java: Declaring an argument named 'manager' to a service method produces...
Bryan Duxbury [Tue, 15 Mar 2011 17:25:23 +0000 (17:25 +0000)] 
THRIFT-1050. java: Declaring an argument named 'manager' to a service method produces code that fails compile due to name conflicts with protected ivars in TAsyncClient

This patch adds a triple-underscore prefix to all the ivars in TAsyncClient, making it substantially more difficult to get a conflict.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1081868 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1093. py: several bugs in python TCompactProtocol
Bryan Duxbury [Tue, 15 Mar 2011 17:16:09 +0000 (17:16 +0000)] 
THRIFT-1093. py: several bugs in python TCompactProtocol

Patch; Will Pierce

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1081864 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1092. py: generated validate() method has wrong indentation
Bryan Duxbury [Tue, 15 Mar 2011 17:10:15 +0000 (17:10 +0000)] 
THRIFT-1092. py: generated validate() method has wrong indentation

Patch: Will Pierce

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1081862 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1089 JavaScript Quality Assurance with lint
Roger Meier [Tue, 15 Mar 2011 09:55:33 +0000 (09:55 +0000)] 
THRIFT-1089 JavaScript Quality Assurance with lint

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1081707 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1014 JavaScript gjslint compatibility (only line too long warnings)
Roger Meier [Fri, 11 Mar 2011 12:38:54 +0000 (12:38 +0000)] 
THRIFT-1014 JavaScript gjslint compatibility (only line too long warnings)

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1080553 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-627. cpp: should c++ have setters for optional fields?
Bryan Duxbury [Thu, 10 Mar 2011 18:14:14 +0000 (18:14 +0000)] 
THRIFT-627. cpp: should c++ have setters for optional fields?

Yes, it should.

Patch: Jake Farrell

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1080303 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1083. py: Preforking python process pool server
Bryan Duxbury [Wed, 9 Mar 2011 18:05:58 +0000 (18:05 +0000)] 
THRIFT-1083. py: Preforking python process pool server

Patch: Dvir Volk

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1079913 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-983 js: add version Info to the library
Roger Meier [Wed, 9 Mar 2011 15:25:01 +0000 (15:25 +0000)] 
THRIFT-983 js: add version Info to the library

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1079834 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-6 update version info
Roger Meier [Mon, 7 Mar 2011 21:16:46 +0000 (21:16 +0000)] 
THRIFT-6 update version info

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1078952 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1014 JavaScript code should use semicolon-terminated statements
Roger Meier [Mon, 7 Mar 2011 19:37:46 +0000 (19:37 +0000)] 
THRIFT-1014 JavaScript code should use semicolon-terminated statements

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1078905 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1084 Typo fixes
Roger Meier [Fri, 4 Mar 2011 13:35:05 +0000 (13:35 +0000)] 
THRIFT-1084 Typo fixes
Patch: Bruce Mitchener

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1077939 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-987 ruby does not build on Debian based distro's
Roger Meier [Fri, 4 Mar 2011 13:10:58 +0000 (13:10 +0000)] 
THRIFT-987 ruby does not build on Debian based distro's

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1077930 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-867. php: PHP accelerator module's output transport is incompatible with TFram...
Bryan Duxbury [Fri, 4 Mar 2011 01:35:17 +0000 (01:35 +0000)] 
THRIFT-867. php: PHP accelerator module's output transport is incompatible with TFramedTransport

This patch prevents TFramedTransport from flushing empty frames.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1076918 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-638. php: BufferedTransport + C extensions block until recv timeout is reached...
Bryan Duxbury [Fri, 4 Mar 2011 01:25:17 +0000 (01:25 +0000)] 
THRIFT-638. php: BufferedTransport + C extensions block until recv timeout is reached on last fread call

This patch refactors TSocket to make use of stream_select() for timeout detection.

Patch: Nicholas Telford

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1076917 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1081. php: PHP tests broken and somewhat incomplete
Bryan Duxbury [Fri, 4 Mar 2011 00:49:40 +0000 (00:49 +0000)] 
THRIFT-1081. php: PHP tests broken and somewhat incomplete

This patch fixes some minor bugs and includes a test for Framed Transport.

Patch: Nicholas Telford

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1076908 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1076. erl: Erlang Thrift socket server has a bug that causes java thrift clien...
Bryan Duxbury [Wed, 2 Mar 2011 18:25:24 +0000 (18:25 +0000)] 
THRIFT-1076. erl: Erlang Thrift socket server has a bug that causes java thrift client of framed binary client to throw 'out of sequence' exception

This patch makes the erlang server return the seq id that the client sent instead of 0.

Patch: Pascal Qu

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1076318 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1078. php: ThriftTest.thrift generates invalid PHP library
Bryan Duxbury [Wed, 2 Mar 2011 18:13:30 +0000 (18:13 +0000)] 
THRIFT-1078. php: ThriftTest.thrift generates invalid PHP library

This patch updates ThriftTest.thrft to have a valid php namespace, as well as updating the test client to use the properly namespaced code

Patch: Nicholas Telford

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1076316 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1069. general: Add command line option to prevent thrift from inserting gen...
Bryan Duxbury [Tue, 1 Mar 2011 19:53:07 +0000 (19:53 +0000)] 
THRIFT-1069. general: Add command line option to prevent thrift from inserting gen-* directories

This patch adds a -out switch that allows for an absolute path to be set for outputting generated code.

Patch: Jake Farrell

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1076000 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1011. as3: Error generating package imports when using classes from other...
Bryan Duxbury [Tue, 1 Mar 2011 16:57:34 +0000 (16:57 +0000)] 
THRIFT-1011. as3: Error generating package imports when using classes from other packages

Patch: Usman Ismail

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1075916 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1030 C++ THttpTransport doesn't support chucked transfer encoding
Roger Meier [Mon, 28 Feb 2011 16:04:51 +0000 (16:04 +0000)] 
THRIFT-1030 C++ THttpTransport doesn't support chucked transfer encoding
Patch: Rowan Kerr

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1075399 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1070 C++ compiler and runtime have 32/64bit problems
Roger Meier [Sun, 27 Feb 2011 19:24:45 +0000 (19:24 +0000)] 
THRIFT-1070 C++ compiler and runtime have 32/64bit problems
Patch: Rich Salz

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1075121 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-863 JavaScript fix Map Type
Roger Meier [Thu, 24 Feb 2011 16:04:03 +0000 (16:04 +0000)] 
THRIFT-863 JavaScript fix Map Type
Patch: Henrique Mendonca

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1074194 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1073 fix javadoc target
Roger Meier [Thu, 24 Feb 2011 14:45:03 +0000 (14:45 +0000)] 
THRIFT-1073 fix javadoc target
Patch: Diwaker Gupta

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1074173 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1071 configure.ac checks for openssl
Roger Meier [Wed, 23 Feb 2011 20:27:54 +0000 (20:27 +0000)] 
THRIFT-1071 configure.ac checks for openssl

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073930 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1071 invalid cast breaks build
Roger Meier [Tue, 22 Feb 2011 21:56:33 +0000 (21:56 +0000)] 
THRIFT-1071 invalid cast breaks build
Patch: Rowan Kerr

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073526 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1065 JavaScript read-undefined-exceptions2
Roger Meier [Tue, 22 Feb 2011 20:56:45 +0000 (20:56 +0000)] 
THRIFT-1065 JavaScript read-undefined-exceptions2
Patch: Henrique Mendonca

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073497 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1065 JavaScript qUnit test cleanup
Roger Meier [Tue, 22 Feb 2011 20:55:21 +0000 (20:55 +0000)] 
THRIFT-1065 JavaScript qUnit test cleanup
Patch: Henrique Mendonca

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073495 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1065 Unexpected exceptions not proper handled on JS
Roger Meier [Tue, 22 Feb 2011 20:15:03 +0000 (20:15 +0000)] 
THRIFT-1065 Unexpected exceptions not proper handled on JS
THRIFT-847  same bahavior for Java and C++(test/cpp/src/TestServer.cpp)

Patch: Henrique Mendonca

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073484 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1068. py: Python SSL Socket Support
Bryan Duxbury [Tue, 22 Feb 2011 18:20:53 +0000 (18:20 +0000)] 
THRIFT-1068. py: Python SSL Socket Support

A python implementation of TSSLSocket.

Patch: Kevin Worth

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073447 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1067. php: Tons of bugs in php implementation
Bryan Duxbury [Tue, 22 Feb 2011 18:20:13 +0000 (18:20 +0000)] 
THRIFT-1067. php: Tons of bugs in php implementation

Patch: Ruslan Usifov

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073446 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1067. php: Tons of bugs in php implementation
Bryan Duxbury [Tue, 22 Feb 2011 18:17:23 +0000 (18:17 +0000)] 
THRIFT-1067. php: Tons of bugs in php implementation

Patch: Ruslan Usifov

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073444 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-151. cpp: TSSLServerSocket and TSSLSocket implementation
Bryan Duxbury [Tue, 22 Feb 2011 18:12:06 +0000 (18:12 +0000)] 
THRIFT-151. cpp: TSSLServerSocket and TSSLSocket implementation

This patch adds an implementation of the above ssl sockets.

Patch: Ping Li, Kevin Worth, Rowan Kerr

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073441 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFix small bug in THRIFT-538 commit: use int32s instead of in64s to encode lengths.
Christian Lavoie [Sun, 20 Feb 2011 18:59:33 +0000 (18:59 +0000)] 
Fix small bug in THRIFT-538 commit: use int32s instead of in64s to encode lengths.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1072684 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-625: Add support for 'Go'; provided by Aalok Shah.
Christian Lavoie [Sun, 20 Feb 2011 02:39:19 +0000 (02:39 +0000)] 
THRIFT-625: Add support for 'Go'; provided by Aalok Shah.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1072478 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRemove a pair of useless files.
Christian Lavoie [Sun, 20 Feb 2011 01:57:55 +0000 (01:57 +0000)] 
Remove a pair of useless files.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1072476 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUse standard sh syntax instead of bash extensions.
Christian Lavoie [Sat, 19 Feb 2011 21:02:22 +0000 (21:02 +0000)] 
Use standard sh syntax instead of bash extensions.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1072440 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1044 Fix JavaScript Inheritance
Roger Meier [Wed, 16 Feb 2011 19:29:50 +0000 (19:29 +0000)] 
THRIFT-1044 Fix JavaScript Inheritance

Patch: Henrique Mendonca

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1071370 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1045 Support "included"ed thrift files
Roger Meier [Wed, 16 Feb 2011 19:25:05 +0000 (19:25 +0000)] 
THRIFT-1045 Support "included"ed thrift files

Patch: Henrique Mendonca

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1071366 13f79535-47bb-0310-9956-ffa450edef68

14 years agoadd a little README
Anthony F. Molinaro [Wed, 16 Feb 2011 06:00:10 +0000 (06:00 +0000)] 
add a little README

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1071150 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFix the erlang tutorial
Anthony F. Molinaro [Wed, 16 Feb 2011 05:54:17 +0000 (05:54 +0000)] 
Fix the erlang tutorial

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1071148 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1054. build: explicit call to PKG_PROG_PKG_CONFIG is missing and first use...
Bryan Duxbury [Wed, 9 Feb 2011 17:05:11 +0000 (17:05 +0000)] 
THRIFT-1054. build: explicit call to PKG_PROG_PKG_CONFIG is missing and first use of PKG_CHECK_MODULES may not happen, causes mono detection to fail

Uh, yeah, what the description says.

Patch: Chris Morgan

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1068976 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFix file 'added twice' by accident by previous commit.
Christian Lavoie [Wed, 9 Feb 2011 14:37:53 +0000 (14:37 +0000)] 
Fix file 'added twice' by accident by previous commit.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1068909 13f79535-47bb-0310-9956-ffa450edef68

14 years agoCommit client support for framed transport in Haskell from Martin Grabmueller.
Christian Lavoie [Wed, 9 Feb 2011 05:27:32 +0000 (05:27 +0000)] 
Commit client support for framed transport in Haskell from Martin Grabmueller.

THRIFT-538: missing support for framed transport

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1068756 13f79535-47bb-0310-9956-ffa450edef68

14 years agoPatch from Chris Morgan, fixing gcc warnings.
Christian Lavoie [Tue, 8 Feb 2011 23:05:47 +0000 (23:05 +0000)] 
Patch from Chris Morgan, fixing gcc warnings.

THRIFT-1057: casts in TBinaryProtocol.tcc causing "dereferencing type-punned pointer will break strict-aliasing rules" warnings from gcc

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1068672 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1056 python tests invoked by 'make check' appear broken
Roger Meier [Tue, 8 Feb 2011 20:44:22 +0000 (20:44 +0000)] 
THRIFT-1056 python tests invoked by 'make check' appear broken
Patch: Chris Morgan

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1068568 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-447. java: Make an abstract base Client class so we can generate less code
Bryan Duxbury [Tue, 8 Feb 2011 17:26:37 +0000 (17:26 +0000)] 
THRIFT-447. java: Make an abstract base Client class so we can generate less code

This patch introduces a handful of abstract, non-generated classes that allow us to generate much less code for service implementations.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1068487 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1055. csharp: csharp TServerSocket and TSocket do not disable Nagle via Socket...
Bryan Duxbury [Tue, 8 Feb 2011 16:38:15 +0000 (16:38 +0000)] 
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

14 years agoTHRIFT-1053. Provide a getUnderlyingTransport function for TSaslTransport
Todd Lipcon [Sun, 6 Feb 2011 18:13:10 +0000 (18:13 +0000)] 
THRIFT-1053. Provide a getUnderlyingTransport function for TSaslTransport

Patch: Devaraj Das

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1067719 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1051. Applying @Override to interface method breaks compile on Java 1.5
Mark Slee [Fri, 28 Jan 2011 22:26:13 +0000 (22:26 +0000)] 
THRIFT-1051. Applying @Override to interface method breaks compile on Java 1.5

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1064911 13f79535-47bb-0310-9956-ffa450edef68

14 years agoApply THRIFT-993's patch from Rich Salz (reverting the oneway caching):
Christian Lavoie [Thu, 27 Jan 2011 21:05:45 +0000 (21:05 +0000)] 
Apply THRIFT-993's patch from Rich Salz (reverting the oneway caching):

(THRIFT-993) Some improvements in C++ stubs for oneway operations

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1064303 13f79535-47bb-0310-9956-ffa450edef68

14 years agorevert accidental commit
T Jake Luciani [Thu, 27 Jan 2011 02:53:57 +0000 (02:53 +0000)] 
revert accidental commit

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063967 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-904: disable nagle and linger
T Jake Luciani [Thu, 27 Jan 2011 02:51:51 +0000 (02:51 +0000)] 
THRIFT-904: disable nagle and linger

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063966 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-994. build: Don't try to invoke phpize if we don't have it
Bryan Duxbury [Wed, 26 Jan 2011 23:38:54 +0000 (23:38 +0000)] 
THRIFT-994. build: Don't try to invoke phpize if we don't have it

Patch: Richard Salz

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063919 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTHRIFT-1021. ocaml: Framed transport support for OCaml
Bryan Duxbury [Wed, 26 Jan 2011 23:31:19 +0000 (23:31 +0000)] 
THRIFT-1021. ocaml: Framed transport support for OCaml

Patch: Richard Low

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063917 13f79535-47bb-0310-9956-ffa450edef68

14 years agoupdate CHANGES file
Bryan Duxbury [Wed, 26 Jan 2011 22:43:43 +0000 (22:43 +0000)] 
update CHANGES file

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063910 13f79535-47bb-0310-9956-ffa450edef68