Commit Graph

4944 Commits

Author SHA1 Message Date
Gonzalo Aguilar Delgado
b79396f799 THRIFT-4108: c_glib ssl implementation fixes - remove global ssl context and more
Client: glib

This closes #1208
2017-03-06 19:09:06 -05:00
D. Can Celasun
431732d39e THRIFT-4031: Fix invalid code generation for list of typedef'ed built-in types
Client: Go
Patch: D. Can Celasun <can@dcc.im>

This closes #1207

This commit reverts 12d430e723 which
caused invalid code to be generated for certain types.
2017-03-04 14:13:59 +01:00
James E. King, III
c89e172289 THRIFT-3921: fix ostream definitions so they are not inline because it confused template deduction
Client: C++

This closes #1204
2017-02-28 12:25:28 -05:00
Buğra Gedik
36d1b0dea5 THRIFT-3891 TNonblockingServer configured with more than one IO threads does not always return from serve() upon stop()
Client: C++
Patch: additional changes by jking@apache.org to improve the test and stop clean in all cases

This closes #1080
This closes #1196
2017-02-27 23:44:35 -05:00
Christopher Tubbs
5038466e5e THRIFT-1805 Provide option for handling RTEs
Client: Java

Adds a Java option to the generator to generate code which lets Thrift
handle RuntimeExceptions from a service, and present them as
TApplicationException to the client.

This closes #1186
2017-02-27 23:38:44 -05:00
Yao Jin
e2bc972750 THRIFT-4102 remove useless code cause performance problem
Client: python

This closes #1203
2017-02-24 10:28:27 -05:00
Håkon Hitland
e66b8fcde3 THRIFT-3984 PHP7 extension causes segfault
The PHP 7 extension can sometimes free strings it does not own,
when serializing string map keys, or the name of called methods.
The latter case was somewhat migitated since the double-free has no
effect on interned strings.
Using ZVAL_STR_COPY instead of ZVAL_STR will increment the reference
count, making the following destructor call correct.

Fix memory leak in PHP 7

Fix memory leak when deserializing maps or sets.
zend_hash_update will add its own reference to the key, so we need to
destruct the key zval to not leak.
We don't need to destruct the value, the hash table will take ownership
of it.

This closes #1152
2017-02-23 11:43:45 -05:00
James E. King, III
37aac3bb58 THRIFT-3706: added cross test support for backwards compatible multiplexed server, added c_glib testBinary, fixed a number of glib object reference issues
Client: c_glib, java

This closes #1200
2017-02-22 12:46:04 -05:00
Adam Curtis
4361ecc3a1 THRIFT-3801 - Node Thrift client throws exception with multiplexer and responses that are bigger than a single buffer
Client: nodejs

This closes #773
This closes #1063
This closes #1202
2017-02-22 11:24:41 -05:00
James E. King, III
8615fee798 THRIFT-4076: pick up PATH changes and JAVA_HOME from the registry after using chocolatey to install ant (and jdk, which it depends on)
This closes #1201
2017-02-21 21:29:17 -05:00
D. Can Celasun
43fb34df28 THRIFT-4011 Sets of Thrift structs generate Go code that can't be serialized to JSON
Client: Go
Patch: D. Can Celasun <dcelasun@gmail.com>

This closes #1156
2017-02-21 22:32:49 +01:00
Gonzalo Aguilar Delgado
bc0082e023 THRIFT-3706: Implement multiplexed protocol client and test client for c_glib; test server for java; integrate into crosstest
Client: c_glib

This closes #1191
This closes #1199
2017-02-20 14:04:17 -05:00
James E. King, III
06190874c8 THRIFT-4084: Add a SSL/TLS negotiation check to crossfeature to verify SSLv3 is not active and that at least one of TLSv1.0 through 1.2 are accepted.
Client: csharp, d, go, nodejs, perl

This closes #1197
2017-02-20 08:52:11 -05:00
James E. King, III
239233afb6 THRIFT-4077: fix Appveyor warnings (VS2015) in PlatformSocket.h
Client: C++

This closes #1198
2017-02-20 08:04:12 -05:00
James E. King, III
4d651ab06a THRIFT-3973: Provide some tools to make it easier to build thrift C++ on Windows
Client: C++

This closes #1162
2017-02-19 22:19:55 -05:00
Vivek Jain
655b9b6ef8 THRIFT-3921: Add ostream operator<< functions for enums (working with THRIFT-4060)
Client: C++

This closes #1083
This closes #1194
2017-02-18 14:30:46 -05:00
Aleksey Pesternikov
400b346db2 THRIFT-2504: Add default processor to java multiplexed processor to handle older clients
Client: Java

This closes #114
This closes #1195
2017-02-18 13:58:21 -05:00
James E. King, III
736075d2ac THRIFT-4095: add multiplexed protocol to Travis CI jobs 1 and 2 for make cross 2017-02-18 13:55:30 -05:00
James E. King, III
377719c2d8 THRIFT-3272 (THRIFT-4066) fix perl SSL authentication support; fixed error in erlang test client using wrong key file and added CA
Client: Perl

This closes #1189
2017-02-15 14:33:20 -05:00
James E. King, III
b28160b9c3 THRIFT-2364: use oasis to build thrift for ocaml
Client: OCaml
Patch: Spiros Eliopoulos <seliopou@gmail.com>

This closes #1193
2017-02-15 14:23:44 -05:00
James E. King, III
ab8ff1abf7 THRIFT-4091 - revert THRIFT-4045 and remove unused test code in test/cpp
Client: C++

This closes #1192
2017-02-15 14:12:37 -05:00
James E. King, III
ec50ae0ed5 THRIFT-4041: add ocaml and oasis to ubuntu and debian docker build images
Client: OCaml

This closes #1190
2017-02-14 16:12:11 -05:00
James E. King, III
0a660ee285 THRIFT-4084: only join threads if joinable
Client: cpp
Patch: Chris Grebeldinger <cgrebeld@gmail.com>

This closes #1188
2017-02-13 18:25:56 -05:00
James E. King, III
b4c190b6ea THRIFT-4060 add better support in the cpp generator for custom ostream operators on structures
Client: C++

This closes #1172
2017-02-13 16:39:59 -05:00
James E. King, III
36628a28e9 THRIFT-3369 Provide SSL/TLS client for c_glib
Client: c_glib
Patch: Gonzalo Aguilar Delgado <gaguilar@level2crm.com>

This closes #1185
2017-02-13 15:25:41 -05:00
Nobuaki Sukegawa
e8ba7877ba THRIFT-4026 TSSLSocket doesn't work with Python < 2.7.9
This closes #1166
2017-02-12 21:14:48 +09:00
Nobuaki Sukegawa
4626fd889d THRIFT-3938 Python TNonblockingServer does not work with SSL
This closes #1100
2017-02-12 21:11:36 +09:00
James E. King, III
bff044667c THRIFT-4075: better support for headers-only boost with mingw
Client: C++

This closes #1184
2017-02-11 01:18:03 -05:00
James E. King, III
e1832c3543 THRIFT-3622: remove auto_ptr use in the codebase because it is deprecated
Client: C++

This closes #1183
2017-02-10 13:03:10 -05:00
Swati Kumar
3590f1e7ca THRIFT-4072 php: TCurlClient - Add the possibility to send custom headers
Client: php

This closes #1178
2017-02-09 15:12:47 -05:00
James E. King, III
f535058572 THRIFT-4073: enum files are still being generated with unused imports
Client: Java
Patch: BCG <bgould@users.noreply.github.com>

This closes #1182
2017-02-09 10:03:03 -05:00
James E. King, III
d1482fe3e2 THRIFT-4079 add missing use clauses for included thrift sources in generated perl modules
Client: perl

This closes #1181
2017-02-09 07:53:44 -05:00
James E. King, III
9019b280ea THRIFT-4065 fix SIGCHLD handling for perl ForkingServer and document restrictions
Client: perl

This closes #1176
2017-02-08 20:53:09 -05:00
James E. King, III
bd257f1b90 THRIFT-4043 ensure perl files do not end up in /usr/lib/Thrift
Client: Build

This closes #1174
2017-02-08 13:05:33 -05:00
James E. King, III
bdd0b73a89 THRIFT-4076 fix appveyor ant issue
Client: Build

This closes #1180
2017-02-08 12:27:57 -05:00
James E. King, III
3a8bbbd4a6 THRIFT-3896 fix map type with string key can not access deserialized by php extension
Client: php
Patch: feidong@anjuke.com

This closes #1062
2017-02-06 12:57:21 -05:00
James E. King, III
a3d6be906b THRIFT-4068 fix comment in java server socket code
Client: Java
Patch: pigbrain <hyundong.lee@nhnent.com>

This closes #1177
2017-02-04 00:23:55 -05:00
James E. King, III
de9c330b24 THRIFT-4007: TTransport.py micro-optimization: don't call len(chunk) twice
Client: Python
Patch: Nate Jensen <nathan.jensen@raytheon.com>

This closes #1121
2017-02-01 07:16:28 -05:00
James E. King, III
2d6060d882 THRIFT-4046 fix PlatformSocket.h for mingw64/msys2 and provide instructions for building with cmake under that toolchain
Client: cmake
Patch: James E. King, III <jking@apache.org>

This closes #1171
2017-01-31 16:17:53 -05:00
Tom Davis
34bd992bc3 THRIFT-4062 Remove debug print from TServiceClient
Client: Java
Patch: Tom Davis <tom@recursivedream.com>

This closes #1173
2017-01-31 21:31:58 +01:00
Jens Geyer
feea47852c THRIFT-3000 .NET implementation has trouble with mixed IP modes
Client: C#
Patch: Jens Geyer, based on https://github.com/apache/thrift/pull/377

This closes #1167
2017-01-31 21:22:06 +01:00
James E. King, III
8d377fa6be THRIFT-4045 Remove AC_FUNC_MALLOC and AC_FUNC_REALLOC to fix building with Address Sanitizer
Client: C++
Patch: Dawid Drechny <dawid.drechny@tomtom.com>

This closes #1065
This closes #1169
2017-01-28 18:27:26 -05:00
James E. King, III
8656670fe2 THRIFT-4044 work around an hspec-core 2.4.0 library issue causing all build job #17 on Travis CI to fail
Client: Haskell

This closes #1168
2017-01-28 16:00:09 -05:00
James E. King, III
b88a25a47f Remove deprecated bower json property
Client: nodejs
Patch: Kevin Kirsche <Kev.Kirsche@gmail.com>

This closes #520
2017-01-27 23:47:16 -05:00
James E. King, III
de3e17ad39 THRIFT-3854 add a way in java to clear TFramedTransport read buffers
Client: Java
Patch: Chris Lockfort <clockfort@palantir.com>

This closes #1164
This closes #1081
2017-01-27 23:36:31 -05:00
Chandler May
988b3e9bde THRIFT-4042 set zip_safe=False in python build to prevent egg ExtractionError
Client: Python

This closes #1165
2017-01-27 23:33:19 -05:00
James E. King, III
96be8c8d94 THRIFT-3550 add some information about thrift to the perl library README directing folks to the official web site for more info 2017-01-27 11:45:57 -05:00
James E. King, III
f3490c5f8e THRIFT-3550 make a script to build perl cpan module and update perl dependencies for cpan 2017-01-27 09:43:18 -05:00
James E. King, III
71eba643dd THRIFT-4033 disable thrift compiler plug-in support by default, as the thrift-compiler packaging is not ready for it yet
This closes #1157
2017-01-25 20:41:06 -05:00
James E. King, III
cf25489402 Build fails using Java 1.8 with Ant < 1.9
Client: Java
Patch: Adinata <mail.dieend@gmail.com>

This closes #1060
2017-01-25 20:34:04 -05:00