Commit Graph

5388 Commits

Author SHA1 Message Date
James E. King III
5e649973eb THRIFT-4691: ensure CPAN module runs unit tests 2019-03-06 23:13:52 +01:00
Jens Geyer
92c660f541 additional test for TSimpleJSONProtocol 2019-03-06 23:13:09 +01:00
James E. King III
798e90aa87 THRIFT-4024, THRIFT-4783: throw when skipping invalid type (#1742)
* THRIFT-4024: make c_glib throw on unsupported type when skipping
* THRIFT-4783: throw on invalid skip (py)
* THRIFT-4024: make cpp throw on unsupported type when skipping
* THRIFT-4024: uniform skip behavior on unsupported type
2019-02-25 22:14:35 +01:00
Jens Geyer
1e41be40d8 THRIFT-4784 Thrift should throw when skipping over unexpected data
Client: as3
Patch: Jens Geyer
2019-02-25 22:14:33 +01:00
jfarrell
384647d290 Version 0.12.0 2018-12-18 20:24:34 -05:00
James E. King III
9b75e4fe74 THRIFT-4680: fix up std::min, std::max, and numeric limits min/max on Windows; remove NOMINMAX from cmake build 2018-12-18 10:17:57 -05:00
James E. King III
56ac72e74a Update a couple of our m4 files for autoconf 2018-12-17 12:18:48 -05:00
James E. King III
33772b7d78 Add node.ts to the languages markdown 2018-12-17 09:57:27 -05:00
Allen George
f4b17857db
Merge pull request #1646 from allengeorge/rustfmt_10
Reformat rust code with rustfmt 1.0

Client: rs
2018-12-17 00:35:16 -05:00
Allen George
ef7a18970f Reformat rust code with rustfmt 1.0 2018-12-16 18:22:04 -05:00
Jay Gheewala
2b7365c54f THRIFT-4659: Fix race when closing server socket (#1645)
Client: go
2018-12-11 09:44:44 +01:00
proller
44ee32cef5 Fix c++98 build 2018-12-10 18:44:23 -05:00
proller
e6e7e62981 Correct c++17 definition 2018-12-10 18:44:23 -05:00
proller
db61f10497 Fix build with old c++ 2018-12-10 18:44:23 -05:00
proller
f201bf05fb Fix build with c++17 2018-12-10 18:44:23 -05:00
louyl
9c3d2d6c0a Fix build compiler with cmake 2018-12-10 08:35:09 -05:00
griffinmichl
208a048dc4 THRIFT-4679: Remove unused variable declaration 2018-12-07 16:18:46 -05:00
proller
17a9cffabb Fix warning: catching polymorphic type ‘class std::runtime_error’ by value
../contrib/thrift/lib/cpp/src/thrift/protocol/TJSONProtocol.cpp:902:35: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=]
       } catch (std::runtime_error e) {
                                   ^
../contrib/thrift/lib/cpp/src/thrift/protocol/TJSONProtocol.cpp:915:33: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=]
     } catch (std::runtime_error e) {
                                 ^
2018-12-05 16:14:09 -05:00
Allen George
54e9587117 THRIFT-4676: Fix intermittent CL build failures 2018-12-05 16:09:10 -05:00
Josip Sokcevic
30d3125cc2 THRIFT-4656: Fix infinite loop in PHP TCurlClient
Infinite loop happens when response body is empty and HTTP status is
200. This patch fixes it.
2018-12-05 16:07:09 -05:00
Mustafa Senol Cosar
dd965c1eb4 Fix hs-nodets test and re-enable it 2018-12-03 09:08:09 -05:00
wilfrem
2c69b5a01e THRIFT-3143: Add nodets support
Co-authored-by: Mustafa Senol Cosar <cosar.mustafasenol@gmail.com>
2018-11-29 15:28:44 -05:00
Efimov Evgenij
7f0fa6c21e THRIFT-4674 Added stream context support for PHP THttpClient 2018-11-27 22:19:24 -05:00
Jens Geyer
b073e1438d THRIFT-4672 IAsyncResult style methods not being supported by certain transports leads to issues in mixed ISync/IAsync use cases
Client: C#
Patch: Jens Geyer

This closes #1633
2018-11-24 21:46:53 +01:00
Jens Geyer
fc52c3ccee THRIFT-4673 IAsyncResult not supported by layered transports (buffered/framed)
Client: C#
Patch: Jens Geyer

This closes #1634
2018-11-24 02:08:20 +01:00
lixiasong
7abb7d5fbc THRIFT-4671 handle client's unexpected close.
handle client's unexpected close. Avoid the server work thread falling into dead loop because :
1. the function return result from INT32 coverts to UINT32 ;
2. the condition in line 482 "ftype == T_STOP" will never be satisfied when the client socket closed before sending data to server.
2018-11-23 16:53:25 -05:00
lshgdut
7af79c8359 THRIFT-4668: make socket backlog configurable for python2
Client: py
2018-11-22 08:30:56 -05:00
Palmer Cox
5112afcc97 THRIFT-4670: Twisted, slots, and void method fails with "object has no attribute 'success'"
For a void method, there is no success value, so, it is an error to
attempt to assign one to the result object. This error is harmless
unless slots is also specified - with slots specified, the attempt to
assign to a non-existent field causes an error which makes the service
method fail.

Client: py
2018-11-22 08:17:15 -05:00
Allen George
aa177ea4b3 THRIFT-4666: Attempt to work around dlang client pool test failure 2018-11-19 12:53:16 -05:00
GREATEST Wiggler EvaR!
0882354f28 Fix function name in Rust generator (does not affect generated code)
Client: rs
2018-11-16 15:50:17 -05:00
Jake W
24918abba9 THRIFT-4664: Cannot create ReadHalf/WriteHalf
Client: rs
2018-11-12 07:58:54 -05:00
GREATEST Wiggler EvaR!
b57d126157 THRIFT-4529: Rust enum variants are now camel-cased
Client: rs
2018-11-12 07:57:43 -05:00
jake-ruyi
6436899e47 THRIFT-4662: Rust const string calls function at compile time
Client: rs
2018-11-12 07:51:25 -05:00
James E. King III
2391f33465 THRIFT-4545: fix haskell build on windows, fix appveyor stale packages 2018-11-11 17:07:24 -05:00
jake-ruyi
d5bd2005ea THRIFT-4661: Rust enum name wrong case in generated structs
Client: rs
2018-11-09 17:56:25 -05:00
James E. King III
f7d43ce0aa fix build errors related to updated static code analysis tools for python and php 2018-11-06 12:20:52 -05:00
Lázaro Clapp
fed4977027 THRIFT-4660: Include Generated and Nullable as needed for enums
Client: Java
2018-11-06 07:55:55 +01:00
GREATEST Wiggler EvaR!
718a63c85b THRIFT-4658: TBinaryInputProtocol fails when strict is false
Client: rs
2018-11-05 07:58:52 -05:00
Manu Sridharan
f216dfb716 THRIFT-4657: Include @javax.annotation.Generated annotations for generated Java union classes
Client: Java
2018-11-03 07:45:50 +01:00
James E. King III
92be4f312b Add probot stale processor configuration to keep PR backlog clean 2018-10-31 20:36:39 -04:00
bforbis
da1169d75b THRIFT-4653: ES6 classes support (#1615)
* ES6 classes support
* Lint generated code
* ES6 Tests for NodeJS
* Add eslint rules for nodejs
* Run prettier/eslint on nodejs test code
2018-10-28 11:27:38 -04:00
James E. King III
cd829a0b9a update some bionic build components 2018-10-19 07:55:58 -04:00
D. Can Celasun
9ee29516c4 Replace git.apache.org imports with github.com
Client: go
2018-10-19 07:48:56 +01:00
Dean Hamstead
8a130f63e5 THRIFT-4382: Replace the use of Indirect Object Syntax calls to new() 2018-10-17 19:13:45 -04:00
Andylee
7a51220c02 Remove redundant source files in project libthrift.vcxproj (#1614)
delete redundant configuration of three files
2018-10-17 09:20:47 -04:00
Craig Wickesser
5c1ecb67cd THRIFT-4650: fix required fields incorrectly being marked as set
This closes #1610.

Client: go
2018-10-16 07:40:13 +01:00
st0ke
961fa70134 THRIFT-4618: Use poll() instead of select() in C++ TNonblockingServer if available (#1580) 2018-10-12 07:37:40 -04:00
Simon South
2853da436f THRIFT-4648: Use correct namespace in type names
Client: c_glib
2018-10-12 07:35:39 -04:00
jfarrell
2a2b72f6c8 Thrift-4647: Node.js Filesever webroot fixed path
Updates the node.js fileserver to have a fixed based webroot which can
not be escaped by end users.
2018-10-11 10:19:50 -04:00
Naveen Gangam
d566da7739 THRIFT-4494: Increase Java Socket Buffer Size (#1608) 2018-10-05 17:05:40 -04:00