Commit Graph

2471 Commits

Author SHA1 Message Date
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
9d9c4b9039 THRIFT-1071 configure.ac checks for openssl
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1073930 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 20:27:54 +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
Christian Lavoie
282e717add Remove a pair of useless files.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1072476 13f79535-47bb-0310-9956-ffa450edef68
2011-02-20 01:57:55 +00:00
Christian Lavoie
c59c30ebd3 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
2011-02-19 21:02:22 +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
Roger Meier
dd0c328a45 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
2011-02-16 19:25:05 +00:00
Anthony F. Molinaro
f8bf0d69c5 add a little README
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1071150 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 06:00:10 +00:00
Anthony F. Molinaro
10a8743f6a Fix the erlang tutorial
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1071148 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 05:54:17 +00:00
Bryan Duxbury
b005c1f456 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
2011-02-09 17:05:11 +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
Roger Meier
4ebaa761cb 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
2011-02-08 20:44:22 +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
Todd Lipcon
56c2d5682e 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
2011-02-06 18:13:10 +00:00
Mark Slee
a026b5d9eb 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
2011-01-28 22:26:13 +00:00
Christian Lavoie
b547141797 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
2011-01-27 21:05:45 +00:00
T Jake Luciani
03ec1e4696 revert accidental commit
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063967 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 02:53:57 +00:00
T Jake Luciani
7070aaa23b THRIFT-904: disable nagle and linger
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063966 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 02:51:51 +00:00
Bryan Duxbury
e61fef37d8 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
2011-01-26 23:38:54 +00:00
Bryan Duxbury
9dedce2196 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
2011-01-26 23:31:19 +00:00
Bryan Duxbury
65ad14cbd7 update CHANGES file
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063910 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 22:43:43 +00:00
Bryan Duxbury
c8d533b65e THRIFT-1038. java: Generated Java code for structures containing binary fields (or collections thereof) are not serializable (in the Java sense) even though they implement java.io.Serializable
This patch causes Java Serialized Thrift structs to be serialized onto the stream via the Compact Protocol.

Patch: Mathias Herberts

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063907 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 22:42:02 +00:00
Bryan Duxbury
34c2dbd545 THRIFT-1041. java: TDeserializer holds onto a reference of the array it reads after it is done deserializing
This patch makes sure that after using the bytes passed in, no references are retained.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063820 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 18:40:30 +00:00
Bryan Duxbury
d94cb081a1 THRIFT-998. java: Using valueOf for base types in getFieldValue
valueOf saves us on memory for 'small' primitive types and costs us nothing in other situations, so it's an all-around win.

Patch: Takashi Yonebayashi

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063818 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 18:29:33 +00:00
Bryan Duxbury
c0e2ef50b7 THRIFT-999. php: Add TForkingServer
Patch: Nick Jones

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063814 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 18:25:17 +00:00
Bryan Duxbury
e0498c984e THRIFT-1049. py: Allow for TServerSocket python library to bind to a specific host
This patch adds a new host argument to TServerSocket that allows it to bind to a specific host.

Patch: Jake Farrell

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063806 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 17:54:02 +00:00
Christian Lavoie
6a084da48f Fix haskell-related bug in the 0.6.x branch for RC1; make sure trunk receives the same patch.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063050 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 23:01:37 +00:00
Roger Meier
7f979e4f78 THRIFT-1042 Fix TApplicationException.read
Patch: Wade Simmons


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1062377 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 10:57:03 +00:00
Roger Meier
a99c7505e0 THRIFT-1036 Auto-generated C++ code fails to compile with "-Werror -Wextra -Wall" g++ compiler flags
Patch: Pavlin Radoslavov


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1062352 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 09:35:45 +00:00
Roger Meier
afb0c7f374 THRIFT-1045 Support "included"ed thrift files
Patch: Wade Simmons


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1062281 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 21:43:59 +00:00
Roger Meier
90443f4e11 THRIFT-1044 Fix JavaScript inheritance
Patch Wade Simmons


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1062279 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 21:35:48 +00:00
Roger Meier
4b3f1c3181 THRIFT-1043 Fix how the length of a map is calculated
Patch: Wade Simmons


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1062278 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 21:32:50 +00:00
Bryan Duxbury
c7cd68eb86 commit a CHANGES change
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1061415 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 17:47:28 +00:00
Bryan Duxbury
39fbb9a95b THRIFT-1032. make dist fails due to c_glib problem
Patch: Michael Lum

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1058692 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 18:09:51 +00:00
Bryan Duxbury
fad8d6b109 THRIFT-125. OCaml libraries don't compile with 32-bit ocaml
Patch: Iain Proctor and John Bilings

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1058270 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 18:41:52 +00:00
T Jake Luciani
0c124bb94f THRIFT-1033: node.js target and lib
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1056613 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 03:49:16 +00:00