Commit Graph

2460 Commits

Author SHA1 Message Date
Bryan Duxbury
4e98a258b2 THRIFT-1237. contrib: Java fb303 missing some methods
Added counters to FacebookBase.

Patch: Ionel Corneliu Gog 

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1146484 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 21:17:26 +00:00
Bryan Duxbury
11dfc8bb73 THRIFT-1225. php: TCompactProtocol for PHP
Patch: Dave Watson

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1146185 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 18:15:41 +00:00
Bryan Duxbury
54df97c507 THRIFT-1208. py: Compact protocol always reads and writes booleans as true
Patch: liwei

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1146180 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 18:11:29 +00:00
Bryan Duxbury
b7bd5626aa THRIFT-1177. go: Update thrift to reflect changes in Go's networking libraries
Patch: Aalok Shah

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1146167 13f79535-47bb-0310-9956-ffa450edef68
2011-07-13 17:58:05 +00:00
Anthony F. Molinaro
6e48e98580 THRIFT-1236 - adding reconnecting client
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1145719 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 18:56:15 +00:00
Jake Farrell
6462185074 Thrift-1234: thrift --help is missing doc on py:utf8strings
Client:python
Patch: Eric Rannaud

Updated displayed options for python help to print py:utf8strings availability.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1145175 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 13:47:25 +00:00
Jake Farrell
fd39193aa0 THRIFT-1231: Remove bogus include
Client: c++
Patch: Diwaker Gupta

Removing unused import TTransportUtils.h from TAsyncChannel.h.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1144395 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 17:32:44 +00:00
Roger Meier
9659d4d3b7 add jstest.jar to .gitignore
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1144297 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:51:15 +00:00
Roger Meier
6b0d456716 THRIFT-1232 JavaScript TException should be a constructor function
Patch: Pascal Bach
file: 1232-Improve-Exception-handling-and-make-error-hierarchy.patch

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1144292 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:44:29 +00:00
Roger Meier
30aae0ca87 THRIFT-1217 Use evutil_socketpair instead of pipe
Patch: alexandre parenteau

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1144286 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 12:23:31 +00:00
Roger Meier
0bb3db2eed update .gitignore
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1142335 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 22:33:32 +00:00
Roger Meier
57a45ab3d3 svn:ignore binaries
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1142177 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 08:53:05 +00:00
Bryan Duxbury
0266416dbf add some files to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1141712 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 20:48:30 +00:00
Bryan Duxbury
d580dc6b8a trash an inaccurate comment (via Chad Walters)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1141710 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 20:47:09 +00:00
Bryan Duxbury
2323aa9c1c 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
2011-06-30 18:59:18 +00:00
Bryan Duxbury
ad0ad824d2 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
2011-06-28 18:46:03 +00:00
Bryan Duxbury
82dc2e2e96 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
2011-06-28 17:43:30 +00:00
Jake Farrell
4d116e18e7 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
2011-06-27 18:44:04 +00:00
Roger Meier
d3b9dca285 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
2011-06-24 14:01:10 +00:00
Jake Farrell
dfb8ba482e 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
2011-06-24 12:58:47 +00:00
Bryan Duxbury
35dd47bc7e 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
2011-06-23 22:21:20 +00:00
Bryan Duxbury
3c9530c3fa 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
2011-06-23 21:20:34 +00:00
Anthony F. Molinaro
439db4dd63 remove some commented out bits
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1139014 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 17:43:05 +00:00
Roger Meier
e594bf7e20 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
2011-06-22 23:01:02 +00:00
Anthony F. Molinaro
49c06dd927 really comment out the eunit calls
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1138546 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 16:44:19 +00:00
Anthony F. Molinaro
8588624d0f 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
2011-06-21 17:05:05 +00:00
Roger Meier
2079bfe712 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
2011-06-21 14:09:13 +00:00
Anthony F. Molinaro
917d89825f 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
2011-06-21 06:20:18 +00:00
Roger Meier
0680a83634 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
2011-06-21 04:42:43 +00:00
Anthony F. Molinaro
76bd0050ce 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
2011-06-20 22:03:40 +00:00
Bryan Duxbury
4b212b4b7f 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
2011-06-20 21:42:17 +00:00
Anthony F. Molinaro
e49a44ab1d THRIFT-1151 - catch some serialization errors
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1137131 13f79535-47bb-0310-9956-ffa450edef68
2011-06-18 06:04:01 +00:00
Anthony F. Molinaro
3d3f42103c 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
2011-06-18 03:54:04 +00:00
Roger Meier
a1c416fbbd 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
2011-06-17 19:40:48 +00:00
Bryan Duxbury
d1df20a20d 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
2011-06-15 20:52:57 +00:00
Bryan Duxbury
6e292e5bfa 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
2011-06-15 20:34:53 +00:00
Roger Meier
9d8e8f87ed 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
2011-06-14 19:38:27 +00:00
Bryan Duxbury
df8a0e6fca 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
2011-06-09 22:46:28 +00:00
Roger Meier
af7804e29a 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
2011-06-09 21:35:11 +00:00
Jake Farrell
3ad8081af4 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
2011-06-09 19:14:22 +00:00
Jake Farrell
38dcb685e1 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
2011-06-09 18:55:12 +00:00
Bryan Duxbury
7a79d39957 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
2011-06-09 00:40:47 +00:00
Bryan Duxbury
9579b64922 fix indentation
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1133615 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 00:36:55 +00:00
Bryan Duxbury
f3138ad24b 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
2011-06-09 00:21:55 +00:00
Bryan Duxbury
aad0d6510c 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
2011-06-08 23:51:24 +00:00
Bryan Duxbury
b7c69711e7 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
2011-06-08 22:53:11 +00:00
Bryan Duxbury
63c2d378c5 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
2011-06-08 17:46:55 +00:00
Roger Meier
ca142b0bc8 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
2011-06-07 17:59:07 +00:00
Roger Meier
1ebeffb0d8 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
2011-06-06 18:00:03 +00:00
Roger Meier
18f1050e71 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
2011-06-04 08:57:43 +00:00