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
Bryan Duxbury
c216556bd6
update version numbers to 0.7.0-dev
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1056453 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 18:45:29 +00:00
Bryan Duxbury
f54f4cb0e2
update changes file for 0.6
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1056449 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 18:39:54 +00:00
Roger Meier
cd9bc46ebd
THRIFT-1024 Add Python Twisted example to the Tutorial
...
Patch: Michael
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1054733 13f79535-47bb-0310-9956-ffa450edef68
2011-01-03 20:19:07 +00:00
Roger Meier
e0cac988b6
THRIFT-1022 Typo cleanup patch
...
Patch: Anatol Pomozov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1049968 13f79535-47bb-0310-9956-ffa450edef68
2010-12-16 13:15:49 +00:00
Roger Meier
08dc7e85b9
THRIFT-71 Debian packaging for Thrift
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1049288 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 21:38:00 +00:00
Bryan Duxbury
ed2dc5359e
THRIFT-1020. ocaml: OCaml compiler generates invalid OCaml
...
This patch resolves problems with double constants and adds a copy method to generated structs.
Patch: Richard Low
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1045320 13f79535-47bb-0310-9956-ffa450edef68
2010-12-13 19:17:22 +00:00
Bryan Duxbury
932ce2b80a
THRIFT-1013. java: generated java code may have name clashes with thrift library
...
This patch removes the imports for Thrift library classes and fully qualifies all references, guaranteeing there won't be any name clashes.
Patch: Peter Schuller
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1043156 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 18:28:48 +00:00
Bryan Duxbury
22903cb542
THRIFT-1015. java: TUnion does not handle ByteBuffer in toString
...
This patch adds a test case and fixes the toString method of TBaseHelper for ByteBuffers.
Patch: Takashi Yonebayashi
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1041590 13f79535-47bb-0310-9956-ffa450edef68
2010-12-02 21:29:20 +00:00
Roger Meier
c0b5d9065c
THRIFT-998 Silence g++ -Wswitch-enum warning in header
...
Patch: Rich Salz
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1040758 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 20:23:44 +00:00
Roger Meier
c2cc61a0fa
THRIFT-1002 some more cleanup in c_glib part
...
Patch: Anatol Pomozov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1040738 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 19:53:29 +00:00
Roger Meier
26f817a0c9
THRIFT-1010 Fix typo asigned -> assigned
...
Patch: Anatol Pomozov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1040732 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 19:46:56 +00:00
Roger Meier
6eeb21e917
THRIFT-1002 CodeStyle: t_c_glib_generator.cc
...
Patch: Anatol Pomozov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1040415 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 05:54:53 +00:00
Bryan Duxbury
708971351f
THRIFT-1009. java: TUnion does not correctly deep copy a ByteBuffer
...
This patch adds a case to deepCopyObject for ByteBuffer, along with a test case that verifies the change in functionality.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1040358 13f79535-47bb-0310-9956-ffa450edef68
2010-11-30 00:33:48 +00:00