Commit Graph

2401 Commits

Author SHA1 Message Date
Roger Meier
b94b5514b5 THRIFT-1185 Bogus forward declaration of class TAsyncTransport inside file lib/cpp/src/async/TAsyncChannel.h
Patch: Pavlin Radoslavov


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1129346 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 20:14:00 +00:00
Jake Farrell
210d766d89 Thrift-731: configure doesn't check for ant >= 1.7
Client: java, build process
Patch: Harlan Lieberman-Berg, Jake Farrell

Adds a configure check to verify that the current version of ant is >= 1.7 otherwise sets WITH_JAVA to no.




git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1127686 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 21:07:29 +00:00
Bryan Duxbury
9a42239eec THRIFT-1170. java: Thrift Generated Code and Java 5
This patch adds a trivial java5 option to the java generator.

Patch: Greg Moulliet

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1126765 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 21:41:02 +00:00
Bryan Duxbury
b9e47c4ba9 THRIFT-1178. java: Java: TBase signature should be T extends TBase<?,?>
Patch: Ryan Rawson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1126637 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 18:30:06 +00:00
Roger Meier
5860f8850e THRIFT-1176 Thrift compiler global leakage js
Patch: Dan Di Spaltro

includes updated test.html to get qunit.js with correct mime-type(IE9 complains)
Fixed by Roger Meier


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1125892 13f79535-47bb-0310-9956-ffa450edef68
2011-05-22 09:59:34 +00:00
Jake Farrell
c023d90e3b Thrift-1174: Publish as3 client implementation via Maven for use by flex-mojos users
Client: as3

Adds the ability to publish the as3 client to maven central repo along side the java and fb303 libs.




git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1125511 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 19:04:13 +00:00
Jake Farrell
aeb4411d1c Thrift-835: Bad AS3 syntax in constructors that set default values
Client: as3
Patch: Justin Florentine

Generated AS3 object won't compile since the compiler uses the same function that generates member declarations.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1125067 13f79535-47bb-0310-9956-ffa450edef68
2011-05-19 19:23:26 +00:00
Jake Farrell
05e0cdb454 Thrift-1104: INSTALLDIRS should be included in configure script
Client: perl, build process
Patch: Dmitriy Kargapolov

Adds INSTALLDIRS to configure to be able to specify a specific install location for perl since it does not use --prefix.




git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1099799 13f79535-47bb-0310-9956-ffa450edef68
2011-05-05 13:45:26 +00:00
Roger Meier
b34b83e89d THRIFT-1158 Node.js - package.json used by npm is invalid
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1097229 13f79535-47bb-0310-9956-ffa450edef68
2011-04-27 20:14:33 +00:00
Jake Farrell
6ece9be5c7 THRIFT-1155: Remove log4j dependency from java client
Client: java

Removed dependency for slf4j-log4j for pom and broke requirements for testing. This fixes those requirements and restores the build.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1096788 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 15:44:50 +00:00
Jake Farrell
b0cdd91a83 Thrift-1155: Remove log4j dependency from java client.
Client: java

slf4j-log4j should not be included with the pom since it is not required for the client. Any logger supported by slf4j can be used.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1096758 13f79535-47bb-0310-9956-ffa450edef68
2011-04-26 14:18:07 +00:00
Jake Farrell
e74caa84e3 Adding java build.properties file to the exported files list.
client: java




git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1095491 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 19:48:12 +00:00
Jake Farrell
ad6426cfd0 Thrift-1133: Java and JavaScript tutorial is broken since we have Java maven deployment
patch: jfarrell
client: js

Fixing build.xml for the js test cases to use ant-tasks.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1095454 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 16:35:20 +00:00
Jake Farrell
ebf0bec670 Thrift-1152: attributes from private to protected
patch: jfarrell
clent: php

Changing the TForkingServer children_ from private to protected



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1095434 13f79535-47bb-0310-9956-ffa450edef68
2011-04-20 15:23:26 +00:00
Jake Farrell
680114defb Thrift-1109: Deploy fb303 along side libthrift to maven repo
patch: jfarrell
client: contrib fb303 java
depends on: Thrift-363

Adding the ability to publish the fb303 java library as an artifact alongside libthrift to the apache maven repository. 



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1095218 13f79535-47bb-0310-9956-ffa450edef68
2011-04-19 21:15:17 +00:00
Jake Farrell
4b8faf9e20 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
2011-04-19 21:11:54 +00:00
Roger Meier
87e4980df0 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
2011-04-19 19:47:03 +00:00
Roger Meier
330b5ae1bf 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
2011-04-18 19:46:02 +00:00
Bryan Duxbury
5671a55f8e 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
2011-04-18 17:29:06 +00:00
Roger Meier
6b38cf6805 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
2011-04-16 20:05:51 +00:00
Roger Meier
0b0c90a7f9 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
2011-04-16 18:55:11 +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
Jake Farrell
10ed8e814f 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
2011-04-13 19:42:35 +00:00
Bryan Duxbury
b891145894 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
2011-04-12 22:03:45 +00:00
Roger Meier
f3a51e6b03 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
2011-04-12 20:36:12 +00:00
Roger Meier
0ae0542152 THRIFT-1136 C++ SSL implementation cleanup
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1091553 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 19:23:10 +00:00
Roger Meier
08d4681438 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
2011-04-12 19:08:21 +00:00
Bryan Duxbury
d26cb9b325 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
2011-04-11 17:59:27 +00:00
Roger Meier
5c819c084c 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
2011-04-09 11:10:04 +00:00
Roger Meier
cbf4d5d7d2 ignore gen-* instead of gen-cpp
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1090490 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 23:23:13 +00:00
Roger Meier
5fc6973bdf 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
2011-04-08 21:28:50 +00:00
Roger Meier
c65e3978ec ignore gen-* folders
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1090452 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 21:24:55 +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
Roger Meier
08b309997f 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
2011-04-06 21:30:53 +00:00
Anthony F. Molinaro
54af25e3d3 THRIFT-1126 - extended struct info + minor fixes
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1087585 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 05:34:27 +00:00
Roger Meier
39e9c3036b 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
2011-03-30 06:14:06 +00:00
Roger Meier
b7bc726486 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
2011-03-30 04:52:50 +00:00
Anthony F. Molinaro
ff20fa11e0 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
2011-03-29 21:19:03 +00:00
Roger Meier
ba47e8e7d9 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
2011-03-29 19:59:44 +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
Bryan Duxbury
137fea686e 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
2011-03-28 14:52:25 +00:00
Bryan Duxbury
3cf5daf9cf 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
2011-03-25 17:28:19 +00:00
Roger Meier
3460393675 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
2011-03-25 12:22:17 +00:00
Roger Meier
2fdf05c69e 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
2011-03-25 11:37:16 +00:00
Bryan Duxbury
55f7ffea5d 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
2011-03-24 17:24:27 +00:00
Anthony F. Molinaro
5a9ca88118 THRIFT-1080 : fix building of test code
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1085035 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 16:46:22 +00:00
Roger Meier
f2100be15b 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
2011-03-23 20:36:20 +00:00
Bryan Duxbury
1709d40b4f 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
2011-03-23 18:15:19 +00:00