Christian Lavoie [Thu, 27 Jan 2011 21:05:45 +0000 (21:05 +0000)]
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
T Jake Luciani [Thu, 27 Jan 2011 02:53:57 +0000 (02:53 +0000)]
revert accidental commit
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1063967 13f79535-47bb-0310-9956-
ffa450edef68
T Jake Luciani [Thu, 27 Jan 2011 02:51:51 +0000 (02:51 +0000)]
THRIFT-904: disable nagle and linger
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1063966 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 26 Jan 2011 23:38:54 +0000 (23:38 +0000)]
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
Bryan Duxbury [Wed, 26 Jan 2011 23:31:19 +0000 (23:31 +0000)]
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
Bryan Duxbury [Wed, 26 Jan 2011 22:43:43 +0000 (22:43 +0000)]
update CHANGES file
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1063910 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 26 Jan 2011 22:42:02 +0000 (22:42 +0000)]
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
Bryan Duxbury [Wed, 26 Jan 2011 18:40:30 +0000 (18:40 +0000)]
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
Bryan Duxbury [Wed, 26 Jan 2011 18:29:33 +0000 (18:29 +0000)]
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
Bryan Duxbury [Wed, 26 Jan 2011 18:25:17 +0000 (18:25 +0000)]
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
Bryan Duxbury [Wed, 26 Jan 2011 17:54:02 +0000 (17:54 +0000)]
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
Christian Lavoie [Mon, 24 Jan 2011 23:01:37 +0000 (23:01 +0000)]
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
Roger Meier [Sun, 23 Jan 2011 10:57:03 +0000 (10:57 +0000)]
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
Roger Meier [Sun, 23 Jan 2011 09:35:45 +0000 (09:35 +0000)]
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
Roger Meier [Sat, 22 Jan 2011 21:43:59 +0000 (21:43 +0000)]
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
Roger Meier [Sat, 22 Jan 2011 21:35:48 +0000 (21:35 +0000)]
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
Roger Meier [Sat, 22 Jan 2011 21:32:50 +0000 (21:32 +0000)]
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
Bryan Duxbury [Thu, 20 Jan 2011 17:47:28 +0000 (17:47 +0000)]
commit a CHANGES change
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1061415 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 13 Jan 2011 18:09:51 +0000 (18:09 +0000)]
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
Bryan Duxbury [Wed, 12 Jan 2011 18:41:52 +0000 (18:41 +0000)]
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
T Jake Luciani [Sat, 8 Jan 2011 03:49:16 +0000 (03:49 +0000)]
THRIFT-1033: node.js target and lib
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1056613 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Fri, 7 Jan 2011 18:45:29 +0000 (18:45 +0000)]
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
Bryan Duxbury [Fri, 7 Jan 2011 18:39:54 +0000 (18:39 +0000)]
update changes file for 0.6
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1056449 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 3 Jan 2011 20:19:07 +0000 (20:19 +0000)]
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
Roger Meier [Thu, 16 Dec 2010 13:15:49 +0000 (13:15 +0000)]
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
Roger Meier [Tue, 14 Dec 2010 21:38:00 +0000 (21:38 +0000)]
THRIFT-71 Debian packaging for Thrift
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1049288 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Mon, 13 Dec 2010 19:17:22 +0000 (19:17 +0000)]
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
Bryan Duxbury [Tue, 7 Dec 2010 18:28:48 +0000 (18:28 +0000)]
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
Bryan Duxbury [Thu, 2 Dec 2010 21:29:20 +0000 (21:29 +0000)]
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
Roger Meier [Tue, 30 Nov 2010 20:23:44 +0000 (20:23 +0000)]
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
Roger Meier [Tue, 30 Nov 2010 19:53:29 +0000 (19:53 +0000)]
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
Roger Meier [Tue, 30 Nov 2010 19:46:56 +0000 (19:46 +0000)]
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
Roger Meier [Tue, 30 Nov 2010 05:54:53 +0000 (05:54 +0000)]
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
Bryan Duxbury [Tue, 30 Nov 2010 00:33:48 +0000 (00:33 +0000)]
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
Roger Meier [Sun, 28 Nov 2010 16:22:10 +0000 (16:22 +0000)]
ignore Thrift.dll and py.twisted test stuff
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1039898 13f79535-47bb-0310-9956-
ffa450edef68
Christian Lavoie [Sun, 28 Nov 2010 14:34:26 +0000 (14:34 +0000)]
THRIFT-916: Commit THRIFT-916_fix_no-overflow.patch -- remove overflow coming from a few constants.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1039885 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 26 Nov 2010 10:17:48 +0000 (10:17 +0000)]
THRIFT-1003 Polishing c_glib code
Patch: Anatol Pomozov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1039299 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 24 Nov 2010 22:30:38 +0000 (22:30 +0000)]
THRIFT-1008. java: byte[] accessors throw NPE on unset field
Further extra null check in accessors that use TBaseHelper.rightSize().
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1038850 13f79535-47bb-0310-9956-
ffa450edef68
Christian Lavoie [Wed, 24 Nov 2010 21:58:05 +0000 (21:58 +0000)]
THRIFT-916: Commit a partial fix for flex-generated code infested with warnings on Mac OS X
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1038844 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 24 Nov 2010 21:30:00 +0000 (21:30 +0000)]
THRIFT-1008. java: byte[] accessors throw NPE on unset field
This patch adds a null check to TBaseHelper.rightSize().
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1038833 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 24 Nov 2010 00:25:57 +0000 (00:25 +0000)]
THRIFT-1006. java: Impossible to correctly qualify an enum constant in an external thrift file
Be a little more sensitive to how we parse out dots; some java generator changes to make sure things stay consistent.
THRIFT-1005. java: Give unions byte[] signature methods to go along with their ByteBuffer counterparts
Some new constructors, getters, and setters to ease migration of unions to ByteBuffer style.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1038399 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 21 Nov 2010 16:59:05 +0000 (16:59 +0000)]
THRIFT-916 long long becomes int64_t
Patch: Christian Lavoie
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1037500 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 20 Nov 2010 06:48:47 +0000 (06:48 +0000)]
THRIFT-916 Wall_Wextra_pedantic_Wno-long-long_Wno-variadic-macros_Wno-overflow_NOWARNINGS_DebianLenny.patch applied
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1037127 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Fri, 19 Nov 2010 00:06:51 +0000 (00:06 +0000)]
THRIFT-347. php: PHP TSocket Timeout Issues
This patch appears to correct the infamous timeout issues.
Patch: Tyler Hobbs
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1036684 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 17 Nov 2010 22:47:06 +0000 (22:47 +0000)]
THRIFT-979. rb: ruby bindings used to work on jruby
Make a dummy makefile so that JRuby doesn't complain.
Patch: Jeff Hodges
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1036267 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 17 Nov 2010 22:11:26 +0000 (22:11 +0000)]
THRIFT-916 compile with -Wall -Wextra without warning on Debian Lenny
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1036250 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 10 Nov 2010 21:19:36 +0000 (21:19 +0000)]
THRIFT-992 add underline for fields
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1033715 13f79535-47bb-0310-9956-
ffa450edef68
Christian Lavoie [Sun, 7 Nov 2010 19:42:48 +0000 (19:42 +0000)]
THRIFT-916: Fix warnings in C++ when compiling with -Wall. In this case, in the flex output, in the new c_glib generator and an actual bug in the parser that couldn't actually trigger.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1032365 13f79535-47bb-0310-9956-
ffa450edef68
Christian Lavoie [Sun, 7 Nov 2010 18:37:11 +0000 (18:37 +0000)]
THRIFT-991: Refactor Haskell code and generator. Part 1: clean up code generator style.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1032342 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Fri, 5 Nov 2010 17:14:52 +0000 (17:14 +0000)]
THRIFT-970. java: Under heavy load, THttpClient may fail with 'too many open files'
This patch updates our THttpClient to have two different modes of operation: its current functionality and a new mode that uses Apache's HttpClient library to provide higher throughput and better pooling functionality.
Patch: Mathias Herberts
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1031668 13f79535-47bb-0310-9956-
ffa450edef68
Christian Lavoie [Thu, 4 Nov 2010 20:35:15 +0000 (20:35 +0000)]
THRIFT-916: Fix warnings in C++ when compiling with -Wall.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1031222 13f79535-47bb-0310-9956-
ffa450edef68
Christian Lavoie [Thu, 4 Nov 2010 18:51:42 +0000 (18:51 +0000)]
THRIFT-953: Fix compilation of TransportTest.cpp on Mac (actual tests still fail) and fix boost m4 macros for Mac.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1031148 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 4 Nov 2010 12:20:05 +0000 (12:20 +0000)]
change URL's to TLP
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1030901 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 3 Nov 2010 17:57:38 +0000 (17:57 +0000)]
THRIFT-977. cpp: Hex Conversion Bug in C++ TJSONProtocol
This patch fixes a silly bug in hex-to-int conversion in TSJONProtocol.
Patch: Aravind Narayanan
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1030576 13f79535-47bb-0310-9956-
ffa450edef68
Christian Lavoie [Tue, 2 Nov 2010 21:42:53 +0000 (21:42 +0000)]
THRIFT-950: Haskell bindings treat 'byte' as unsigned 8-bit int (Data.Word.Word8), java/cpp as signed (byte/int8_t). Fix Haskell.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1030243 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 2 Nov 2010 12:36:52 +0000 (12:36 +0000)]
THRIFT-893 JavaScript Tutorial: dynamic part
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1030018 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 2 Nov 2010 07:33:30 +0000 (07:33 +0000)]
THRIFT-6 TLP URL's and email's, haskell, more details
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1029964 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 29 Oct 2010 05:14:54 +0000 (05:14 +0000)]
THRIFT-975 minimal README added
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1028617 13f79535-47bb-0310-9956-
ffa450edef68
Gavin McDonald [Thu, 28 Oct 2010 02:12:01 +0000 (02:12 +0000)]
Thrift now a TLP - INFRA-3116
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1028168 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 27 Oct 2010 23:39:58 +0000 (23:39 +0000)]
improve formatting in TProtocolUtil.skip
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1028140 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 27 Oct 2010 23:26:52 +0000 (23:26 +0000)]
THRIFT-377. java: TFileTransport port in Java
This patch adds TFileTransport to the java library. This transport is not a general-purpose file transport; instead, it is more of a way to execute one-way RPC via an offline file process.
Patch: Joydeep Sen Sarma
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1028136 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 27 Oct 2010 23:15:35 +0000 (23:15 +0000)]
THRIFT-517. java:TExceptions thrown by server result in cryptic error message on client - Tried to read 4 bytes, but only got 0 bytes
This tiny change improves the message to make it marginally more obvious that the server-side might be the culprit.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1028131 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 27 Oct 2010 19:39:56 +0000 (19:39 +0000)]
THRIFT-969 Java Tutorial broken, move CalculatorHandler to a separate file
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1028079 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 27 Oct 2010 19:19:04 +0000 (19:19 +0000)]
THRIFT-971 java module can't be compiled without ivy and network connection
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1028075 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 27 Oct 2010 17:54:10 +0000 (17:54 +0000)]
THRIFT-949. java: Modify the TEnum interface so it defines a method similar to findByValue
This patch adds a new helper class that makes it easier to get instances of generic TEnum descendents by value.
Patch: Mathias Herberts
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1028051 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 27 Oct 2010 12:30:11 +0000 (12:30 +0000)]
THRIFT-582 C(c_glib) implementation of Thrift
Patch: Anatol Pomozov and Michael Lum
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1027933 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 25 Oct 2010 19:57:26 +0000 (19:57 +0000)]
THRIFT-960 Java: remove TestServer, TestNonblockingServer and TestClient from Unittest
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1027248 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 25 Oct 2010 12:36:04 +0000 (12:36 +0000)]
THRIFT-916 partial commit of v3-fix-all-warnings.patch and member initialization in Thrift.h
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1027092 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 24 Oct 2010 21:41:24 +0000 (21:41 +0000)]
THRIFT-961 JavaScript TestSuite using ant/ivy and Java's ServerTestBase Handler
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1026899 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 23 Oct 2010 23:50:48 +0000 (23:50 +0000)]
THRIFT-960 switch back to TThreadPoolServer with AbstractServerArgs
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1026714 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 23 Oct 2010 23:35:46 +0000 (23:35 +0000)]
THRIFT-960 update to use AbstractServerArgs
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1026712 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 23 Oct 2010 22:25:04 +0000 (22:25 +0000)]
THRIFT-960 Java: add TestServer, TestNonblockingServer and TestClient again
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1026704 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 23 Oct 2010 22:16:51 +0000 (22:16 +0000)]
THRIFT-6 csharp AssemblyInfo added
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1026700 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 23 Oct 2010 22:01:54 +0000 (22:01 +0000)]
THRIFT-6 accidently changed name of ThriftMSBuildTask to Thrift, reverted
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1026690 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Fri, 22 Oct 2010 20:23:57 +0000 (20:23 +0000)]
THRIFT-745. java: Make it easier to instantiate servers
This patch replaces the multitude of constructors with builder-esque Args objects for each server and single constructor.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1026482 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 22 Oct 2010 11:20:25 +0000 (11:20 +0000)]
THRIFT-6 update Version Info for several languages, add print-version to Makefile.am
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1026299 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 20 Oct 2010 19:04:07 +0000 (19:04 +0000)]
THRIFT-959. java: TSocket seems to do its own buffering inefficiently
This patch removes the buffering from TSocket. This seems to improve performance marginally on small reads and writes that are buffered elsewhere (like the Framed Transport).
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1025678 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 19 Oct 2010 23:00:27 +0000 (23:00 +0000)]
THRIFT-947. java: Provide a helper method to determine the TProtocol used to serialize some data.
Patch: Mathias Herberts
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1024455 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 19 Oct 2010 18:06:45 +0000 (18:06 +0000)]
THRIFT-957. java: THsHaServer: Change access modifier of the invoker field.
This patch adds a new overridable method to allow subclasses to specify their own Runnable implementation.
Patch: Benjamin Coverston
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1024343 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 19 Oct 2010 17:20:57 +0000 (17:20 +0000)]
THRIFT-106. java: TSSLServerSocket
This patch adds support for SSL-encrypted client and server sockets.
Patch: Nirmal Ranganathan
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1024328 13f79535-47bb-0310-9956-
ffa450edef68
David Reiss [Mon, 18 Oct 2010 17:25:40 +0000 (17:25 +0000)]
cpp: Support oneway calls in TDebugProtocol.cpp
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1023913 13f79535-47bb-0310-9956-
ffa450edef68
David Reiss [Mon, 18 Oct 2010 17:25:13 +0000 (17:25 +0000)]
cpp: Add a little extra whitespace to TDebugProtocol.cpp
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1023912 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 18 Oct 2010 08:22:57 +0000 (08:22 +0000)]
THRIFT-916 gcc warnings(partial) use snprintf instead of sprintf
Patch: Christian Lavoie
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1023682 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 16 Oct 2010 15:54:36 +0000 (15:54 +0000)]
THRIFT-916 t_java_generator.cc: remove compiler warnings for enumerations not handled in switch
Patch: Christian Lavoie
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1023317 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 15 Oct 2010 19:24:32 +0000 (19:24 +0000)]
THRIFT-893 add JavaScript to the tutorial example (html only)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1023077 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 15 Oct 2010 19:12:44 +0000 (19:12 +0000)]
THRIFT-807 JavaScript: Initialization of Base Types with 0 instead of null
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1023073 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Fri, 15 Oct 2010 16:40:34 +0000 (16:40 +0000)]
THRIFT-958. java: Change accessmodifer on trans_ field in the FrameBuffer class to public.
Patch: Benjamin Coverston
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1023008 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 15 Oct 2010 13:16:05 +0000 (13:16 +0000)]
THRIFT-913 Test Case for Url encoded strings + simple enhancement to lib/js/test/RunTestServer.sh
and ignore gen-* and *.class
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1022907 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 14 Oct 2010 17:56:03 +0000 (17:56 +0000)]
THRIFT-955 remove CharLowerBuff function for mingw based Thrift Compiler
=> no lowercase names and directories which was inconsistent for using across different platforms
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1022630 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 13 Oct 2010 20:02:54 +0000 (20:02 +0000)]
ignore a few test binaries
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1022274 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 13 Oct 2010 18:10:18 +0000 (18:10 +0000)]
THRIFT-916 no errors on GNU/Linux when compiling with CXXFLAGS="-Wall -Wextra -pedantic"
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1022220 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 12 Oct 2010 22:32:23 +0000 (22:32 +0000)]
THRIFT-951. java: Add a new isServing() method to TServer
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1021941 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Mon, 11 Oct 2010 22:13:23 +0000 (22:13 +0000)]
spacing cleanup
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1021535 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Mon, 11 Oct 2010 22:01:27 +0000 (22:01 +0000)]
clear a bunch of java warnings, unused code and imports, etc
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1021531 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Mon, 11 Oct 2010 21:56:50 +0000 (21:56 +0000)]
update svn:ignore in test/py.twisted
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1021528 13f79535-47bb-0310-9956-
ffa450edef68
Mark Slee [Mon, 11 Oct 2010 21:45:13 +0000 (21:45 +0000)]
THRIFT-952. TBinarySerializer utility class for converting between byte strings and PHP objects
Adds a nice TBinarySerializer class to make it simple to convert between PHP objects and serialized strings using the Binary protocol.
Patch: Radu Marin
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1021521 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 8 Oct 2010 21:23:35 +0000 (21:23 +0000)]
THRIFT-926 Miscellaneous C++ improvements
changing single destructor call time limit from 500us to 1000us
build does not fail on busy machines
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1006030 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 8 Oct 2010 17:46:06 +0000 (17:46 +0000)]
THRIFT-581 Add a testsuite for txThrift (Twisted) / py.twisted
Patch: Esteve Fernandez
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1005923 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 6 Oct 2010 20:04:40 +0000 (20:04 +0000)]
THRIFT-862. java: Async client issues / improvements
This patch improves quite a large number of things about the async client code.
Patch: Ning Liang
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1005221 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 6 Oct 2010 20:00:03 +0000 (20:00 +0000)]
THRIFT-946. java: Augment FieldValueMetaData so it differentiates 'string' and 'binary' fields.
This patch adds a new method to the FieldMetaData class that indicates binary or not.
Patch: Mathias Herberts
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@
1005220 13f79535-47bb-0310-9956-
ffa450edef68