Jake Farrell
8514755daf
THRIFT-1397: CI server fails during build due to unused parameters in delphi generator
...
Client: delphi
Patch: Kenjiro Fukumitsu
Cleans up unused parameters in delphi generator.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1186794 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 13:30:08 +00:00
Jake Farrell
3b54621793
Thrift-1396: Dephi generator has dependacy on boost 1.42 later.
...
Client: delphi
Patch: Kenjiro Fukumitsu
Patch to fully remove boost uuid within the delphi generator.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1186603 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 02:49:48 +00:00
Jake Farrell
c92b65311c
Thrift-1390L Debian package build fix for squeeze
...
Client: build
Patch: Jake Farrell
Fix debian build deps for libmomo-system-web2.0-cil.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1186602 13f79535-47bb-0310-9956-ffa450edef68
2011-10-20 02:11:02 +00:00
Roger Meier
266a6b5c11
THRIFT-1361 Optional replacement of pthread by boost::thread
...
revert boost changes
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1186049 13f79535-47bb-0310-9956-ffa450edef68
2011-10-19 09:27:01 +00:00
Roger Meier
0dab3832c7
THRIFT-1361 Optional replacement of pthread by boost::thread
...
Patch: Alexandre Parenteau
Remark: lib/cpp/src/concurrency/BoostMutex.cpp is unmodified
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1185904 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 22:19:30 +00:00
Jake Farrell
711c70c786
Thrift-1393: TTransportException's thrown from THttpClient contain superfluous slashes in the Exception message
...
Client : php
Patch: Nick Jones
The THttpClient class ensures the $uri_ property has a slash prefixed by appending one if needed in the constructor. However in THttpClient::read, there are 2 exceptions thrown where a slash is concatenated between the port and uri. This results in a superfluous slash in the TTransportException message.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1185723 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 15:31:17 +00:00
Jake Farrell
7ae13e10f7
Thrift-1366: Delphi generator, lirbrary and unit test.
...
Client: delphi
Patch: Kenjiro Fukumitsu
Adding delphi XE generator, lib and unit tests.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1185688 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 14:35:26 +00:00
Roger Meier
857a8b8bf8
THRIFT-1261 STDIO support for node-thrift
...
Patch: Jordan Shaw
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1183221 13f79535-47bb-0310-9956-ffa450edef68
2011-10-14 06:35:28 +00:00
Bryan Duxbury
6c928f3f5f
THRIFT-1130. compiler: Add the ability to specify symbolic default value for optional boolean
...
Patch: Nevo Hed
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1183115 13f79535-47bb-0310-9956-ffa450edef68
2011-10-13 21:32:52 +00:00
Roger Meier
bf12239d2e
THRIFT-1381 Thrift C++ libs have incorrectly versioned names
...
Patch: Jake Farrell
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1182052 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 19:48:57 +00:00
Roger Meier
878a948894
THRIFT-1387 Build MSVC libraries with Boost Threads instead of Pthreads
...
Patch: Peace C & Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1182024 13f79535-47bb-0310-9956-ffa450edef68
2011-10-11 19:02:37 +00:00
Jake Farrell
fae04ead81
THRIFT-1384: Java help meny missing newline near javame flag
...
Client: build
patch: Jake Farrell
Adds newline to java stanza in thrift --help menu
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1180276 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 23:15:03 +00:00
Jake Farrell
2361dd1711
Thrift-1373: Fix user-defined exception generation in thrift (python)
...
Client: py
Patch: Dave Watson
forgotten include of TException in py imports section
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1180119 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 17:41:48 +00:00
Jake Farrell
581481f232
Thrift-1379: fix uninitialized enum values in thrift C++ objects
...
Client: cpp
Patch: Dave Watson
The thrift-generated code for C++ class objects does not provide any
initialization for enum values, so they wind up containing random/uninitialized
data. This causes problems when clients do not send argument data, as the server
receives random data rather than zero for unpassed args.
Enums should be initialized to zero.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1179909 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 00:25:46 +00:00
Jake Farrell
51700649d0
Thrift-1377: abort PHP deserialization on unknown field type
...
client: php
Patch: Dave Watson
Previously the code incorrectly ignored unknown field types. After
reading the field header, if it was an unknown type it would incorrectly
assume there was no data, and start trying to read the next field
immediately.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1179907 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 00:17:25 +00:00
Jake Farrell
b5d94e07c4
Thrift-1376: Make port specification option in thrift remote
...
Client: py
Patch: Dave Watson
The thrift-generated Python service client allows overriding the default host/port by doing "-h host:port" on the command line. Oftentimes, you want to override the host but not the port, as most services run on well-defined ports.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1179905 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 00:14:34 +00:00
Jake Farrell
336a1599d7
Thrift-1375: fixed a hex char conversion bug in TJSONProtocol
...
Client: java
Patch: Dave Watson
Fixed a hex char conversion bug in TJSONProtocol: 10 ~ 15 <=> 'a' ~ 'f'.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1179904 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 00:10:20 +00:00
Jake Farrell
2ce7f66dea
Thrift-1373: Fix user-defined exception generation in thrift (python)
...
Client: py
Patch: Dave Watson
Fixed python code generation so that user-defined exceptions have a
base class of TException rather than Exception.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1179903 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 00:04:56 +00:00
Jake Farrell
7301eced16
THRIFT-1370: Debian packaging should Build-Depend on libglib2.0-dev
...
Client: build
Patch: Christian Hofstaedtler
The Debian packaging builds the c_glib interface library, but does not name libglib2.0-dev as a Build-Dependency. While this usually won't affect manual builds, this is a problem for automated build environments which will not have libglib2.0-dev installed unless explicitly requested by Build-Depends.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1178823 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 14:59:40 +00:00
Roger Meier
20e6ef136e
THRIFT-1361 Optional replacement of pthread by boost::thread (minor fix)
...
FIX: member initialization order within constructor
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1178532 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 19:37:09 +00:00
Roger Meier
3faaedf46b
THRIFT-1361 Optional replacement of pthread by boost::thread
...
Patch: alexandre parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1178176 13f79535-47bb-0310-9956-ffa450edef68
2011-10-02 10:51:45 +00:00
Roger Meier
3516e0e306
THRIFT-1031 Patch to compile Thrift for vc++ 9.0 and 10.0
...
Patch: Peace
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1177817 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 20:23:34 +00:00
Bryan Duxbury
9a1d2f01c6
add utility for benchmarking protocols against each other
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1177458 13f79535-47bb-0310-9956-ffa450edef68
2011-09-29 22:51:54 +00:00
Bryan Duxbury
44b2bb6bb5
revert THRIFT-959
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1176472 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 17:07:19 +00:00
Bryan Duxbury
40d51a28d7
THRIFT-1365. java: TupleProtocol#writeBitSet unintentionally writes a variable length byte array
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1176072 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 21:29:15 +00:00
Bryan Duxbury
f35741729f
inconsequential indentation fix to java compiler
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1176034 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:32:59 +00:00
Jake Farrell
7dcd49f1f9
THRIFT-1357: Erlang dependency breaks build
...
Client: erl
Patch: Peter Neumark
Updates json protocol to work with JSX 0.9.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1175906 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 15:29:03 +00:00
Roger Meier
db3c9249c8
THRIFT-1359 --gen-cob cpp:cob_style does not compile anymore
...
Patch: Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1175308 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 07:16:17 +00:00
Jake Farrell
5209237739
Thrift-1355: Running make in lib/rb doesn't build the native extensions
...
Client: rb
Patch: jfarrell
Builds extension prior to running spec calls to resolve test deps.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1174896 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 17:24:00 +00:00
Roger Meier
8cd3b1aa3c
THRIFT-1031 Patch to compile Thrift for vc++ 9.0 and 10.0
...
=> some more improvements
Patch: James Dickson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1174801 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 14:25:22 +00:00
Jake Farrell
4bd4f0ec25
Thrift-1354: Add rake task to build just the gem file
...
Client: rb
Patch: jfarrell
Updates ruby build to now build the gem by default and adds a rake task to create the gem.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1174393 13f79535-47bb-0310-9956-ffa450edef68
2011-09-22 21:15:02 +00:00
Jake Farrell
dec8c54f8e
Thrift-857: tests run by "make install" fail if generators are disabled
...
Client: build
Patch: jfarrell
removes --enable-gen* from configure and adds all generators by default.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1173436 13f79535-47bb-0310-9956-ffa450edef68
2011-09-21 00:15:27 +00:00
Bryan Duxbury
18784d7ccc
THRIFT-1339. java: Extend Tuple Protocol to TUnions
...
This patch implements TupleProtocol (and general Scheme support) to TUnion descendants.
Patch: Armaan Sarkar
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1173418 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 22:53:31 +00:00
Bryan Duxbury
e80a194c47
THRIFT-1331. rb: Ruby library deserializes an empty map to nil
...
This patch properly detects when the metadata is omitted in Compact Protocol messages.
Patch: Armaan Sarkar
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1173300 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 18:45:56 +00:00
Jake Farrell
7e3b866a35
THRIFT-1350: Go library code does not build against latest release
...
Client: go
Patch: Kyle Consalus
Go has moved it's URL-handling code into a "url" package, patch updates for these new changes.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1172901 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 23:38:39 +00:00
Anthony F. Molinaro
a653067e8c
THRIFT-1227 - erlang implementation of thrift json protocol
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1172199 13f79535-47bb-0310-9956-ffa450edef68
2011-09-18 04:57:50 +00:00
Roger Meier
84e4a3c181
THRIFT-1031 Patch to compile Thrift for vc++ 9.0 and 10.0
...
Patch: James Dickson and Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1171777 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 20:58:44 +00:00
Roger Meier
508b317269
THRIFT-1031 Patch to compile Thrift for vc++ 9.0 and 10.0 (partial)
...
no chmod on windows for go and py compiler
Patch: James Dickson
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1171520 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 12:02:57 +00:00
Jake Farrell
32e7b2c7e3
THRIFT-1335: Add accept timeout to TServerSocket
...
Client: cpp
Patch: Dave Watson
Added an accept timeout to the TServerSocket poll loop
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1170443 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 06:19:10 +00:00
Jake Farrell
627f1a0088
Thrift-1345: Allow building without test cases
...
Client: build env
Patch: Vitali Lovich
Adds --without-tests to configure to omit processing/building the test directories.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1170426 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 03:43:49 +00:00
Roger Meier
1fd248fa04
fix spelling issue within license
...
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1170181 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 13:54:46 +00:00
Roger Meier
c3f033f40b
THRIFT-1342 Compilation problem on Windows of fastbinary.c
...
Patch: alexandre parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1170180 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 13:54:05 +00:00
Roger Meier
a93848b684
THRIFT-1341 TProtocol.h endian detection wrong with boost
...
Patch: alexandre parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1169963 13f79535-47bb-0310-9956-ffa450edef68
2011-09-12 22:20:11 +00:00
Roger Meier
f4eec7a57b
THRIFT-1115 python TBase class for dynamic (de)serialization, and __slots__ option for memory savings
...
Patch: Will Pierce
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1169492 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 18:16:21 +00:00
Roger Meier
b288050682
uncomment handler parameter, so compile does not fail if they
...
are undefined
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1167686 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 09:09:52 +00:00
Roger Meier
08077bf9d8
THRIFT-1243 TAsyncChannel callbacks
...
improved exception handling
Patch: Alexandre Parenteau
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1167679 13f79535-47bb-0310-9956-ffa450edef68
2011-09-11 07:28:54 +00:00
Roger Meier
4f8a523fa0
THRIFT-1238 Thrift JS client cannot read map of structures
...
Patch: Henrique Mendonca
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1167032 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:17:02 +00:00
Roger Meier
6869112f5e
THRIFT-1296 SSL detection is broken
...
mingw toolchain used to build "Thrift Compiler for Windows"
does not support libcrypto, so we just check if we building the cpp library
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1167013 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 06:19:35 +00:00
Jake Farrell
2e9f5105b8
THRIFT-1333: Make RWGuard not copyable
...
Client: cpp
Patch: Dave Watson
Copying would cause contained mutex to unlock twice, changing to noncopyable.
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1166996 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 04:32:36 +00:00
Jake Farrell
4013fa3117
Thrift-1334: Add more info to IllegalStateException
...
Client cpp
Patch: Dave Watson
Add support for the message field in IllegalStateException
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1166992 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 04:10:32 +00:00