Bryan Duxbury [Wed, 24 Aug 2011 20:53:03 +0000 (20:53 +0000)]
THRIFT-1288. cpp: Allow typedefed exceptions in throws clauses
Patch: David Reiss
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1161271 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 24 Aug 2011 18:35:55 +0000 (18:35 +0000)]
THRIFT-1287. cpp: start refactoring some of the C++ processor
Move the generation of Processors into a separate subclass.
Patch: Adam Simpkins
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1161223 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 24 Aug 2011 00:35:52 +0000 (00:35 +0000)]
THRIFT-1280. cpp: Improve Monitor exception-free interfaces
Patch: Mark Rabkin
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1160944 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 24 Aug 2011 00:28:18 +0000 (00:28 +0000)]
THRIFT-1281. compiler: add @generated to the docblock
Patch: Bill Fumerola
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1160943 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 24 Aug 2011 00:22:30 +0000 (00:22 +0000)]
THRIFT-1282. java: Upgrade httpclient to 4.1.2 (from 4.0.1)
Patch: Aravind Srini
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1160941 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 23 Aug 2011 23:26:58 +0000 (23:26 +0000)]
THRIFT-1284. cpp: fix processor inheritance
Don't make processors that have a proper parent class also inherit from TProcessor.
Patch: Adam Simpkins
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1160933 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 23 Aug 2011 23:21:59 +0000 (23:21 +0000)]
THRIFT-1283. cpp: wrap t_cpp_generator::generate_process_function() to 80
Adjust the line width to 80 for generated CPP classes.
Patch: Adam Simpkins
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1160931 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 23 Aug 2011 20:27:19 +0000 (20:27 +0000)]
THRIFT-1278 javadoc warnings - compilation
Patch: Aravind Srini
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1160883 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 22 Aug 2011 21:38:50 +0000 (21:38 +0000)]
THRIFT-1269 thrift: handle undeclared exceptions in the async
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1160453 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Mon, 22 Aug 2011 21:38:16 +0000 (21:38 +0000)]
THRIFT-1274 Making * a known symbol
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1160451 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Mon, 22 Aug 2011 16:59:20 +0000 (16:59 +0000)]
THRIFT-1254. javame: Code can't be compiled against a regular JRE: Object.clone() override has a different return type
This patch mirrors a previous commit to the main Java library by removing the clone() implementation altogether.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1160333 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Fri, 19 Aug 2011 18:32:51 +0000 (18:32 +0000)]
THRIFT-1271. cpp: missing namespace in generated local reflection
Patch: Adam Simpkins
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1159734 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Fri, 19 Aug 2011 18:27:47 +0000 (18:27 +0000)]
THRIFT-1274. compiler: fail compilation if an unexpected token is encountered
This patch makes the lexer throw an exception when an unexpected token is encountered, as opposed to the standard behavior of just printing it out and doing nothing.
Patch: Adam Simpkins
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1159733 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Fri, 19 Aug 2011 18:23:39 +0000 (18:23 +0000)]
THRIFT-1275. cpp: always prefix namespaces with ' ::'
Ensures no accidental namespace clashes.
Patch: Adam Simpkins
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1159729 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 19 Aug 2011 11:25:39 +0000 (11:25 +0000)]
THRIFT-1276 Add thrift compiler option to suppress warnings about
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1159593 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 18 Aug 2011 20:31:16 +0000 (20:31 +0000)]
(void) unused parameters to reduce compiler warnings to zero!
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1159405 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 18 Aug 2011 00:02:50 +0000 (00:02 +0000)]
THRIFT-1167. java: Java nonblocking server with more than one thread for select and handling IO
This patch refactors the nonblocking server hierarchy and adds in a new server that has a threaded selector pool as well as a threaded invoker pool.
Patch: Steve Jiang
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1158977 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 17 Aug 2011 23:17:04 +0000 (23:17 +0000)]
THRIFT-1270. compiler: add --allow-neg-keys argument to allow
This switch allows the user to specify explicit negative field IDs in Thrift IDL in order to avoid breaking wire protocol.
Patch: Dave Watson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1158967 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Wed, 17 Aug 2011 19:00:33 +0000 (19:00 +0000)]
Updating python setup.py for deploying client to pypi
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1158869 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Tue, 16 Aug 2011 17:13:41 +0000 (17:13 +0000)]
Thrift-1263: Updating rb client Rakefile to add suport for publishing client to rubygems.org
Client: Ruby
Patch: Jfarrell
Updating Rakefile to remove deprecated functions and add support for publishing to rubgems.org
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1158383 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Sat, 13 Aug 2011 21:29:36 +0000 (21:29 +0000)]
updating trunk from 0.7.0-dev to 0.8.0-dev
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1157426 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Thu, 11 Aug 2011 19:11:26 +0000 (19:11 +0000)]
Removing duplicate java client properties seen during release process
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1156747 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 11 Aug 2011 18:54:11 +0000 (18:54 +0000)]
THRIFT-1205. java: port server unduly fragile with arbitrary input
Increase the default max frame size to 16MB.
Patch: Ryan King
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1156731 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 11 Aug 2011 18:50:58 +0000 (18:50 +0000)]
THRIFT-169. java: Pluggable Serializers
THRIFT-1239. java: TupleProtocol- An extremely compact, temporary protocol
This monster commit is the combination of the two above tickets, providing a new serialization framework and the first new consumer in one go.
Patch: Armaan Sarkar
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1156728 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 4 Aug 2011 23:08:35 +0000 (23:08 +0000)]
THRIFT-1241 php namespace generation
realization of THRIFT-777
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1154045 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 4 Aug 2011 22:37:16 +0000 (22:37 +0000)]
THRIFT-916 do not mix declarations and code
issue detected with -Werror
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1154040 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 4 Aug 2011 22:36:07 +0000 (22:36 +0000)]
fix memoryleak detected by cppcheck
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1154039 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 4 Aug 2011 21:23:27 +0000 (21:23 +0000)]
THRIFT-916 remove i64 => fix build and compile without warning on CI
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1154022 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 3 Aug 2011 21:21:43 +0000 (21:21 +0000)]
THRIFT-1249 js-test-driver support (run unittests on multiple browsers and get XML test results)
additonal improvements
- unit test log in XML
- fetch local copy of jslibs to build/js/lib/
- remove unused json2.js
- some lint on test.js
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1153673 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 3 Aug 2011 20:12:32 +0000 (20:12 +0000)]
THRIFT-916 printf %lld for 32bit platform only by using __ia64__
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1153638 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 3 Aug 2011 17:36:55 +0000 (17:36 +0000)]
THRIFT-1256 Unit Test Logging Output for CI
pass BOOST environment variables to the test suite arguments and create a tests.xml with the results
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1153594 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 3 Aug 2011 09:49:27 +0000 (09:49 +0000)]
THRIFT-690 add new ApplicationExceptions (INTERNAL_ERROR, PROTOCOL_ERROR) to the following languages: as3, c_glib, cocoa, cpp, erl, hs, js, nodejs, ocaml, perl, py, rb
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1153412 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 2 Aug 2011 23:37:36 +0000 (23:37 +0000)]
THRIFT-1184 event_base memory freeing by class TNonblockingServer
adds option to use existing event base
Patch: Pavlin Radoslavov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1153307 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 2 Aug 2011 23:10:32 +0000 (23:10 +0000)]
THRIFT-1251. java: Generated java code should indicate which fields are required and which are optional
Patch: Takashi Yonebayashi
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1153302 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 2 Aug 2011 22:37:16 +0000 (22:37 +0000)]
THRIFT-1255. javame: Mismatch of method name between JavaME's lib and generated code (compareTo/compareObjects)
Patch: Raphael Bartement
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1153295 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Tue, 2 Aug 2011 20:51:55 +0000 (20:51 +0000)]
THRIFT-1253. javame: Code generated for maps is not compiling
Fix a casting issue.
Patch: Raphael Bartement
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1153270 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Tue, 2 Aug 2011 10:55:47 +0000 (10:55 +0000)]
THRIFT-1252 Segfault in Ruby deserializer
Patch: Ilya Maykov
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1153093 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 30 Jul 2011 15:10:42 +0000 (15:10 +0000)]
THRIFT-1247 JavaScript unit test with phantomjs
update: unit test depends on init, move testcases from test.html to test.js
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1152486 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 29 Jul 2011 21:08:04 +0000 (21:08 +0000)]
THRIFT-1247 JavaScript unit test with phantomjs
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1152373 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 28 Jul 2011 18:49:39 +0000 (18:49 +0000)]
THRIFT-1233 Remove unused include in generated C++ code
Note: revert patch and include transport/TBufferTransports.h
Patch: Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1151967 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 28 Jul 2011 18:35:51 +0000 (18:35 +0000)]
THRIFT-1245 C# JSON Protocol uses culture-dependant decimal separator for double
Patch: Nacim Rahal
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1151959 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 28 Jul 2011 18:04:30 +0000 (18:04 +0000)]
THRIFT-1244 using 'using' to disambiguate between functions in different bases does not conform to C++ standard and will not compile on certain compilers
Patch: Anatoly Fayngelerin
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1151945 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Thu, 28 Jul 2011 17:51:36 +0000 (17:51 +0000)]
THRIFT-1243 TAsyncChannel callbacks (use void instead of bool)
Patch: Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1151940 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Mon, 25 Jul 2011 13:22:14 +0000 (13:22 +0000)]
updating java tutorial readme
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1150692 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 17 Jul 2011 18:55:59 +0000 (18:55 +0000)]
THRIFT-916 gcc warnings in c++ header files
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1147700 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 17 Jul 2011 14:47:48 +0000 (14:47 +0000)]
THRIFT-1230 C# Library -- THashSet is not marked as Serializable which makes all Thrift classes that uses it unserializable
Patch: Maciek Weksej
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1147643 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sun, 17 Jul 2011 07:28:28 +0000 (07:28 +0000)]
THRIFT-1222 Unhandled exception for TEvhttpServer request
Patch: Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1147542 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 15 Jul 2011 20:16:43 +0000 (20:16 +0000)]
THRIFT-1238 Thrift JS client cannot read map of structures(TestCase)
Patch: Henrique Mendonca
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1147301 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Thu, 14 Jul 2011 21:25:08 +0000 (21:25 +0000)]
Thrift-1233: Remove unused include in generated C++ code
Client: c++
Patch: Diwaker Gupta
Removing unused include of TTransportUtils.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1146901 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Wed, 13 Jul 2011 21:17:26 +0000 (21:17 +0000)]
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
Bryan Duxbury [Wed, 13 Jul 2011 18:15:41 +0000 (18:15 +0000)]
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
Bryan Duxbury [Wed, 13 Jul 2011 18:11:29 +0000 (18:11 +0000)]
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
Bryan Duxbury [Wed, 13 Jul 2011 17:58:05 +0000 (17:58 +0000)]
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
Anthony F. Molinaro [Tue, 12 Jul 2011 18:56:15 +0000 (18:56 +0000)]
THRIFT-1236 - adding reconnecting client
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1145719 13f79535-47bb-0310-9956-
ffa450edef68
Jake Farrell [Mon, 11 Jul 2011 13:47:25 +0000 (13:47 +0000)]
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
Jake Farrell [Fri, 8 Jul 2011 17:32:44 +0000 (17:32 +0000)]
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
Roger Meier [Fri, 8 Jul 2011 12:51:15 +0000 (12:51 +0000)]
add jstest.jar to .gitignore
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1144297 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Fri, 8 Jul 2011 12:44:29 +0000 (12:44 +0000)]
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
Roger Meier [Fri, 8 Jul 2011 12:23:31 +0000 (12:23 +0000)]
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
Roger Meier [Sat, 2 Jul 2011 22:33:32 +0000 (22:33 +0000)]
update .gitignore
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1142335 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Sat, 2 Jul 2011 08:53:05 +0000 (08:53 +0000)]
svn:ignore binaries
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1142177 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 30 Jun 2011 20:48:30 +0000 (20:48 +0000)]
add some files to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1141712 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 30 Jun 2011 20:47:09 +0000 (20:47 +0000)]
trash an inaccurate comment (via Chad Walters)
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1141710 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 30 Jun 2011 18:59:18 +0000 (18:59 +0000)]
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
Bryan Duxbury [Tue, 28 Jun 2011 18:46:03 +0000 (18:46 +0000)]
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
Bryan Duxbury [Tue, 28 Jun 2011 17:43:30 +0000 (17:43 +0000)]
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
Jake Farrell [Mon, 27 Jun 2011 18:44:04 +0000 (18:44 +0000)]
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
Roger Meier [Fri, 24 Jun 2011 14:01:10 +0000 (14:01 +0000)]
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
Jake Farrell [Fri, 24 Jun 2011 12:58:47 +0000 (12:58 +0000)]
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
Bryan Duxbury [Thu, 23 Jun 2011 22:21:20 +0000 (22:21 +0000)]
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
Bryan Duxbury [Thu, 23 Jun 2011 21:20:34 +0000 (21:20 +0000)]
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
Anthony F. Molinaro [Thu, 23 Jun 2011 17:43:05 +0000 (17:43 +0000)]
remove some commented out bits
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1139014 13f79535-47bb-0310-9956-
ffa450edef68
Roger Meier [Wed, 22 Jun 2011 23:01:02 +0000 (23:01 +0000)]
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
Anthony F. Molinaro [Wed, 22 Jun 2011 16:44:19 +0000 (16:44 +0000)]
really comment out the eunit calls
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1138546 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Tue, 21 Jun 2011 17:05:05 +0000 (17:05 +0000)]
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
Roger Meier [Tue, 21 Jun 2011 14:09:13 +0000 (14:09 +0000)]
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
Anthony F. Molinaro [Tue, 21 Jun 2011 06:20:18 +0000 (06:20 +0000)]
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
Roger Meier [Tue, 21 Jun 2011 04:42:43 +0000 (04:42 +0000)]
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
Anthony F. Molinaro [Mon, 20 Jun 2011 22:03:40 +0000 (22:03 +0000)]
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
Bryan Duxbury [Mon, 20 Jun 2011 21:42:17 +0000 (21:42 +0000)]
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
Anthony F. Molinaro [Sat, 18 Jun 2011 06:04:01 +0000 (06:04 +0000)]
THRIFT-1151 - catch some serialization errors
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1137131 13f79535-47bb-0310-9956-
ffa450edef68
Anthony F. Molinaro [Sat, 18 Jun 2011 03:54:04 +0000 (03:54 +0000)]
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
Roger Meier [Fri, 17 Jun 2011 19:40:48 +0000 (19:40 +0000)]
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
Bryan Duxbury [Wed, 15 Jun 2011 20:52:57 +0000 (20:52 +0000)]
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
Bryan Duxbury [Wed, 15 Jun 2011 20:34:53 +0000 (20:34 +0000)]
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
Roger Meier [Tue, 14 Jun 2011 19:38:27 +0000 (19:38 +0000)]
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
Bryan Duxbury [Thu, 9 Jun 2011 22:46:28 +0000 (22:46 +0000)]
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
Roger Meier [Thu, 9 Jun 2011 21:35:11 +0000 (21:35 +0000)]
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
Jake Farrell [Thu, 9 Jun 2011 19:14:22 +0000 (19:14 +0000)]
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
Jake Farrell [Thu, 9 Jun 2011 18:55:12 +0000 (18:55 +0000)]
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
Bryan Duxbury [Thu, 9 Jun 2011 00:40:47 +0000 (00:40 +0000)]
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
Bryan Duxbury [Thu, 9 Jun 2011 00:36:55 +0000 (00:36 +0000)]
fix indentation
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1133615 13f79535-47bb-0310-9956-
ffa450edef68
Bryan Duxbury [Thu, 9 Jun 2011 00:21:55 +0000 (00:21 +0000)]
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
Bryan Duxbury [Wed, 8 Jun 2011 23:51:24 +0000 (23:51 +0000)]
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
Bryan Duxbury [Wed, 8 Jun 2011 22:53:11 +0000 (22:53 +0000)]
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
Bryan Duxbury [Wed, 8 Jun 2011 17:46:55 +0000 (17:46 +0000)]
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
Roger Meier [Tue, 7 Jun 2011 17:59:07 +0000 (17:59 +0000)]
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
Roger Meier [Mon, 6 Jun 2011 18:00:03 +0000 (18:00 +0000)]
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
Roger Meier [Sat, 4 Jun 2011 08:57:43 +0000 (08:57 +0000)]
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
Jake Farrell [Fri, 3 Jun 2011 17:03:00 +0000 (17:03 +0000)]
Thrift-1171: Perl write/readDouble assumes little-endian platform
Client: perl
Patch: Andy Grundman
The code for handling doubles uses pack 'd' (pack to native byte order) and then reverses the bytes. This works on little-endian systems but will produce backwards data on big-endian systems.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@
1131110 13f79535-47bb-0310-9956-
ffa450edef68