Bryan Duxbury [Thu, 30 Jun 2011 20:47:09 +0000 (20:47 +0000)]
trash an inaccurate comment (via Chad Walters)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1141710 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 30 Jun 2011 18:59:18 +0000 (18:59 +0000)]
THRIFT-1228. php: The php accelerator module calls flush incorrectly
This patch makes sure that filling the php extension's internal buffer does not cause a premature flush of the whole transport.
Patch: Nathaniel Cook
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1141668 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 28 Jun 2011 18:46:03 +0000 (18:46 +0000)]
THRIFT-1189. rb: Ruby deserializer speed improvements
This patch gives the Ruby deserialization stack a healthy performance boost.
Patch: Ilya Maykov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1140780 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 28 Jun 2011 17:43:30 +0000 (17:43 +0000)]
THRIFT-1221. cpp: Remove SimpleCallback.h
This file was unused.
Patch: Diwaker Gupta
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1140746 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Mon, 27 Jun 2011 18:44:04 +0000 (18:44 +0000)]
Thrift-1220: TRpocessor::process never returns false
Client: c++
Patch: Diwaker Gupta
Fixes issue with return values always returning true from process method when an exception or error occurs.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1140262 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 24 Jun 2011 14:01:10 +0000 (14:01 +0000)]
THRIFT-457 test/cpp makefiles do not honor --prefix configuration setting
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1139309 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Fri, 24 Jun 2011 12:58:47 +0000 (12:58 +0000)]
Thrift-627: should c++ have setters for optional fields?
client: c++
patch: Eric Rannaud
Updated optional setter patch to preserve case within generated code.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1139283 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 23 Jun 2011 22:21:20 +0000 (22:21 +0000)]
THRIFT-1216. java: build Java Library behind a proxy
Patch: Roger Meier
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1139094 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 23 Jun 2011 21:20:34 +0000 (21:20 +0000)]
THRIFT-1218. c_glib uses wrong name in pkg-config
Patch: Eric Evans
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1139079 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Thu, 23 Jun 2011 17:43:05 +0000 (17:43 +0000)]
remove some commented out bits
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1139014 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 22 Jun 2011 23:01:02 +0000 (23:01 +0000)]
THRIFT-892 Refactor erlang build system with rebar
reactivate eunit test cases
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1138674 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Wed, 22 Jun 2011 16:44:19 +0000 (16:44 +0000)]
really comment out the eunit calls
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1138546 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Tue, 21 Jun 2011 17:05:05 +0000 (17:05 +0000)]
turn off eunit for now, so build works on apache jenkins server
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1138094 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 21 Jun 2011 14:09:13 +0000 (14:09 +0000)]
THRIFT-1214 JavaScript constructor does not accept object properties
Patch: Henrique Mendonca
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1138013 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Tue, 21 Jun 2011 06:20:18 +0000 (06:20 +0000)]
THRIFT-892 - refactor erlang library to build using rebar, move tests into lib/erl/test directory and run several via make check
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1137870 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 21 Jun 2011 04:42:43 +0000 (04:42 +0000)]
THRIFT-1202 Malformed JSON for map<string,type> services parameters
fix broken build (add testcase to haskell test suite)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1137858 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Mon, 20 Jun 2011 22:03:40 +0000 (22:03 +0000)]
THRIFT-1151 - support R13 as well as R14
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1137801 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Mon, 20 Jun 2011 21:42:17 +0000 (21:42 +0000)]
THRIFT-1211. java: When using THttpClient, non 200 responses leave the connection open
This patch reorders the code so that we can close the connection in the case of an error.
Patch: Mathias Herberts
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1137794 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Sat, 18 Jun 2011 06:04:01 +0000 (06:04 +0000)]
THRIFT-1151 - catch some serialization errors
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1137131 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Sat, 18 Jun 2011 03:54:04 +0000 (03:54 +0000)]
THRIFT-1213 - make membuffer in erlang more useful
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1137121 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 17 Jun 2011 19:40:48 +0000 (19:40 +0000)]
THRIFT-1202 Malformed JSON for map<string,type> services parameters
fix broken build => add missing testcase for testStringMap introduced with THRIFT-1202
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1137004 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 15 Jun 2011 20:52:57 +0000 (20:52 +0000)]
THRIFT-418. rb: Don't do runtime sorting of struct fields
A simpler version of the already-committed patch.
Patch: Ilya Maykov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1136189 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 15 Jun 2011 20:34:53 +0000 (20:34 +0000)]
THRIFT-1207. rb: Support DESTDIR on 'make install' of ruby libs
Patch: Brandon Philips
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1136180 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 14 Jun 2011 19:38:27 +0000 (19:38 +0000)]
THRIFT-1202 Malformed JSON for map<string,type> services parameters
Patch: Henrique Mendonca
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1135763 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 9 Jun 2011 22:46:28 +0000 (22:46 +0000)]
THRIFT-418. rb: Don't do runtime sorting of struct fields
Patch: Ilya Maykov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1134122 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 9 Jun 2011 21:35:11 +0000 (21:35 +0000)]
THRIFT-1200 js: JS compiler generates code that clobbers existing namespaces
fix broken build(jslint) introduced with original patch
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1134093 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Thu, 9 Jun 2011 19:14:22 +0000 (19:14 +0000)]
Thrift-1102: typo in configure.ac: "==" operator in 'test' (instead of "=")
Fixed incorrect operator check for have_cpp in configure.ac
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1134046 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Thu, 9 Jun 2011 18:55:12 +0000 (18:55 +0000)]
Thrift-1181: AS3 compiler generates incorrect code for setting default values in constructor
Client: as3
Patch: Ethan Urie
Fix generated statements syntax to remove :type of the variable.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1134039 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 9 Jun 2011 00:40:47 +0000 (00:40 +0000)]
THRIFT-1180. as3: AS3 compiler generates uncompilable code for binary types.
Switch to ByteArray.
Patch: Ethan Urie
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1133617 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 9 Jun 2011 00:36:55 +0000 (00:36 +0000)]
fix indentation
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1133615 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 9 Jun 2011 00:21:55 +0000 (00:21 +0000)]
THRIFT-1140. glib_c: Framed Transport Client using C (Glib) Library hangs when connecting to Ruby Server
Include the size of the whole buffer.
Patch: Lukas Fittl
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1133611 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 8 Jun 2011 23:51:24 +0000 (23:51 +0000)]
THRIFT-1200. js: JS compiler generates code that clobbers existing namespaces
Patch: Ilya Maykov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1133606 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 8 Jun 2011 22:53:11 +0000 (22:53 +0000)]
THRIFT-1193. rb: Potential infinite loop in nonblocking_server
Patch: Ilya Maykov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1133593 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 8 Jun 2011 17:46:55 +0000 (17:46 +0000)]
THRIFT-1199. java: Union structs should have generated methods to test whether a specific field is currently set
Patch: Piotr Kozikowski
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1133482 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 7 Jun 2011 17:59:07 +0000 (17:59 +0000)]
THRIFT-1198 C++ TestClient and Server Improvements (add Unix Domain Socket, HTTP, JSON)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1133116 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 6 Jun 2011 18:00:03 +0000 (18:00 +0000)]
THRIFT-1197 TFileTransportTest.cpp fails on slower machines
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1132712 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 4 Jun 2011 08:57:43 +0000 (08:57 +0000)]
THRIFT-1196 Unix Domain Socket Support is broken
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1131352 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Fri, 3 Jun 2011 17:03:00 +0000 (17:03 +0000)]
Thrift-1171: Perl write/readDouble assumes little-endian platform
Client: perl
Patch: Andy Grundman
The code for handling doubles uses pack 'd' (pack to native byte order) and then reverses the bytes. This works on little-endian systems but will produce backwards data on big-endian systems.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1131110 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Thu, 2 Jun 2011 16:13:18 +0000 (16:13 +0000)]
Thrift-1194: Java lib does not install artifacts to local dir correctly
Client: java
Patch: Jake Farrell
Fixes broken java lib install target to work properly and cleans up build.properties.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1130626 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Wed, 1 Jun 2011 20:34:26 +0000 (20:34 +0000)]
THRIFT-1192: Typo: TProtocol.h tests for HAVE_SYS_PARAM_H_
Client: cpp
Patch: Eric Rannaud
Fixes the typo in the check for HAVE_SYS_PARAM_H
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1130293 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 1 Jun 2011 17:43:39 +0000 (17:43 +0000)]
THRIFT-1187. rb: nonblocking_server shutdown race under Ruby 1.9
This patch fixes a shutdown error that occurs under ruby 1.9.2
Patch: Ilya Maykov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1130242 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 1 Jun 2011 17:23:33 +0000 (17:23 +0000)]
THRIFT-1183. rb: Pure-ruby CompactProtocol raises ArgumentError when deserializing under Ruby 1.9
Use #ord to ensure we get back an int
Patch: Ilya Maykov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1130236 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 1 Jun 2011 17:19:57 +0000 (17:19 +0000)]
THRIFT-1190. java: readBufferBytesAllocated in TNonblockingServer.java should be AtomicLong to fix FD leakage and general server malfunction
There was a race condition in the use of the memory limiting feature that would lead to memory loss.
Patch: Tom May
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1130231 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 31 May 2011 20:35:37 +0000 (20:35 +0000)]
THRIFT-1166 C++ tests in test/cpp broken
Patch: David Nadlinger, Roger Meier
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1129908 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 31 May 2011 20:33:51 +0000 (20:33 +0000)]
THRIFT-1165 Missing parameter names for C++ oneway stubs
Patch: David Nadlinger
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1129907 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 31 May 2011 20:03:29 +0000 (20:03 +0000)]
THRIFT-1182. rb: Native deserializer segfaults on incorrect list element type
This patch causes both the pure ruby and native extension code paths to check if the data in lists, sets, and maps is of the expected type before deserlizing it. When it's not the right type, it now skips the bad data correctly.
Patch: Ilya Maykov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1129892 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 30 May 2011 20:14:00 +0000 (20:14 +0000)]
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
Jake Farrell [Wed, 25 May 2011 21:07:29 +0000 (21:07 +0000)]
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
Bryan Duxbury [Mon, 23 May 2011 21:41:02 +0000 (21:41 +0000)]
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
Bryan Duxbury [Mon, 23 May 2011 18:30:06 +0000 (18:30 +0000)]
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
Roger Meier [Sun, 22 May 2011 09:59:34 +0000 (09:59 +0000)]
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
Jake Farrell [Fri, 20 May 2011 19:04:13 +0000 (19:04 +0000)]
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
Jake Farrell [Thu, 19 May 2011 19:23:26 +0000 (19:23 +0000)]
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
Jake Farrell [Thu, 5 May 2011 13:45:26 +0000 (13:45 +0000)]
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
Roger Meier [Wed, 27 Apr 2011 20:14:33 +0000 (20:14 +0000)]
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
Jake Farrell [Tue, 26 Apr 2011 15:44:50 +0000 (15:44 +0000)]
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
Jake Farrell [Tue, 26 Apr 2011 14:18:07 +0000 (14:18 +0000)]
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
Jake Farrell [Wed, 20 Apr 2011 19:48:12 +0000 (19:48 +0000)]
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
Jake Farrell [Wed, 20 Apr 2011 16:35:20 +0000 (16:35 +0000)]
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
Jake Farrell [Wed, 20 Apr 2011 15:23:26 +0000 (15:23 +0000)]
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
Jake Farrell [Tue, 19 Apr 2011 21:15:17 +0000 (21:15 +0000)]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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