Commit Graph

1494 Commits

Author SHA1 Message Date
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
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
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
Bryan Duxbury
f02d43772f THRIFT-1119. csharp: TJSONProtocol fails to UTF8 decode strings
Patch: guoyunfeng

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1086262 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 14:56:53 +00:00
Roger Meier
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
Bryan Duxbury
d081dd668b 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
2011-03-23 18:05:27 +00:00
Bryan Duxbury
1606659171 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
2011-03-22 18:06:04 +00:00
Roger Meier
42a6fa4b29 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
2011-03-21 21:26:35 +00:00
Bryan Duxbury
177b52ab58 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
2011-03-21 18:18:33 +00:00
Bryan Duxbury
d3fceb02d4 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
2011-03-21 18:04:08 +00:00
Bryan Duxbury
5040911bfa 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
2011-03-21 17:59:49 +00:00
Bryan Duxbury
59d4efda81 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
2011-03-21 17:38:22 +00:00
Roger Meier
f2495760fe 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
2011-03-17 19:13:36 +00:00
Bryan Duxbury
ee7c7bb485 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
2011-03-15 17:25:23 +00:00
Bryan Duxbury
df4cffd34a 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
2011-03-15 17:16:09 +00:00
Roger Meier
da6e6ae918 THRIFT-1089 JavaScript Quality Assurance with lint
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1081707 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 09:55:33 +00:00
Bryan Duxbury
a48b7d6e52 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
2011-03-09 18:05:58 +00:00
Roger Meier
0244e9353f 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
2011-03-09 15:25:01 +00:00
Roger Meier
6d8219c105 THRIFT-6 update version info
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1078952 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 21:16:46 +00:00
Roger Meier
b4bcbe3cb2 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
2011-03-07 19:37:46 +00:00
Roger Meier
3f067a86eb THRIFT-1084 Typo fixes
Patch: Bruce Mitchener


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1077939 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 13:35:05 +00:00
Roger Meier
062de1b0d3 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
2011-03-04 13:10:58 +00:00
Bryan Duxbury
e7b1864d46 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
2011-03-04 01:35:17 +00:00
Bryan Duxbury
c46f32ce18 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
2011-03-04 01:25:17 +00:00
Bryan Duxbury
a2cceb4396 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
2011-03-02 18:25:24 +00:00
Bryan Duxbury
ef6cbfd1ab 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
2011-03-01 16:57:34 +00:00
Roger Meier
46d32b4f08 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
2011-02-28 16:04:51 +00:00
Roger Meier
9db5e50b42 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
2011-02-27 19:24:45 +00:00
Roger Meier
d9924984db 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
2011-02-24 16:04:03 +00:00
Roger Meier
60cb3baf8f 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
2011-02-24 14:45:03 +00:00
Roger Meier
598bf48f77 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
2011-02-22 21:56:33 +00:00
Roger Meier
76d55f6357 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
2011-02-22 20:56:45 +00:00
Roger Meier
b3b07d6de4 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
2011-02-22 20:55:21 +00:00
Roger Meier
a8738b5560 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
2011-02-22 20:15:03 +00:00
Bryan Duxbury
2b969add48 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
2011-02-22 18:20:53 +00:00
Bryan Duxbury
f1ed926969 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
2011-02-22 18:20:13 +00:00
Bryan Duxbury
7d1517aa4c 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
2011-02-22 18:17:23 +00:00
Bryan Duxbury
cd9aea1136 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
2011-02-22 18:12:06 +00:00
Christian Lavoie
cd2ee9ae6e 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
2011-02-20 18:59:33 +00:00
Christian Lavoie
afc6d8f650 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
2011-02-20 02:39:19 +00:00
Roger Meier
55ea68f8e7 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
2011-02-16 19:29:50 +00:00
Christian Lavoie
d4c67c343e 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
2011-02-09 14:37:53 +00:00
Christian Lavoie
410253a1e0 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
2011-02-09 05:27:32 +00:00
Christian Lavoie
2bbc328212 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
2011-02-08 23:05:47 +00:00
Bryan Duxbury
0fd37f0871 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
2011-02-08 17:26:37 +00:00
Bryan Duxbury
2d9dfdb88e THRIFT-1055. csharp: csharp TServerSocket and TSocket do not disable Nagle via Socket.NoDelay = true like cpp and java do
This patch sets NoDelay on TSocket and TServerSocket to improve performance.

Patch: Chris Morgan

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1068470 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 16:38:15 +00:00