Commit Graph

3333 Commits

Author SHA1 Message Date
James E. King III
f74bc7b8bc THRIFT-4634: work around cabal 1.22 dependency bug breaking CI job for Xenial 2018-09-15 09:44:05 -04:00
Chris Simpson
612fdd871c Better consistency with module names, fix module name for Errors 2018-09-13 07:50:24 -04:00
Chris Simpson
2566ecd5d9 Update Swift Library and tests 2018-09-02 07:03:19 -04:00
Vyacheslav Kulakov
6e29b192a3 Remove checking of remaining bytes in the Go library.
Obtaining the remaining bytes isn't supported with some combinations of protocols and transports in the Go library. For example, the binary protocol doesn't work properly with the zlib transport which wraps the framed transport. In libraries for other languages checking is used for directly reading data from a buffer of an underlying transport. If data isn't enough we just read data from the underlying transport and never throw an error as in the Go library. But buffer for the zlib transport is encapsulated in the Go zlib library and we can't access to it. So removing that checking is the most simple and convenient method to solve the problem.
2018-09-02 07:01:14 -04:00
Neil Williams
66a44c5d8d THRIFT-4621 Add THeader for Python
Client: py
2018-09-01 10:24:43 +09:00
Jens Geyer
6e67faa928 THRIFT-4609 keep InnerException wherever appropriate
Client: C#
Patch: Jens Geyer

This closes #1576
2018-08-07 23:28:49 +02:00
Kevin Wojniak
0a2d4587c8 Fix comparison of integers of different signs
This fixes a warning in Xcode/clang "Comparison of integers of different signs: 'int' and 'UInt32' (aka 'unsigned int')"
2018-08-03 17:03:22 -04:00
Kevin Greene
fdd735eec3 THRIFT-4604: NodeJS add Int64 to exports for browserify (#1573) 2018-08-01 08:59:18 -04:00
bforbis
f2867c2498 THRIFT-3950: Memory leak while calling oneway methods (#1568)
* THRIFT-3950: Memory leak while calling oneway methods
* THRIFT-3950: Update NodeJS Oneway tests
2018-07-17 12:19:49 -04:00
zhiyong0804
f12cacf561 THRIFT-4591: optimize lua client to use one write per framed message (#1566) 2018-07-05 09:29:51 -04:00
Drew Ritter
c0a5eed219 THRIFT-4592: change readI32 to use Array.reverse/Array.pop vs Array.shift, which is expensive for big arrays in V8 2018-07-03 08:15:49 -04:00
Jens Geyer
af7ecd6a2b THRIFT-4590 running the test client using HTTP transport leads to "CoInitialize not called"
Client: Delphi
Patch: Jens Geyer
2018-06-22 23:05:17 +02:00
Jens Geyer
20e727e67a THRIFT-4589 HTTP client timeouts are a) incomplete and b) not used at all
Client: Delphi
Patch: Jens Geyer
2018-06-22 22:43:07 +02:00
Brian Forbis
896c206c56 THRIFT-4564: Reset buffered transport on serizliation errors 2018-06-21 20:48:16 -04:00
James E. King III
f5f430df56 THRIFT-4579: Move up to Ubuntu Bionic for CI builds
make dlang library compatible with openssl-1.1 for Ubuntu Bionic
Requires an upstream deimos update to be compatible.
2018-06-16 19:16:04 +00:00
James E. King III
b5471f63cb THRIFT-4289: fix ruby unit test compatibility for 2.4 Fixnum Integer handling 2018-06-10 20:43:45 +00:00
James E. King III
b92ca5f226
THRIFT-4582: Fix Xenial CI build issues (#1563)
* THRIFT-4582: fix xenial build issues

* THRIFT-2913: fix Thrift::ThreadPoolServer should serve inside a thread on xenial

* THRIFT-4478: Move Xenial up to dmd 2.075.1 as that is the new minimum
version that works since the changes for 2.080.0 went in.
2018-06-09 23:02:12 -04:00
Aki Sukegawa
b03d74992e THRIFT-4478: Thrift will not build with dlang 2.078 or later (#1559)
* THRIFT-4478 Thrift will not build with dlang 2.078 or later

This fixes build errors and deprecation warnings on dmd v2.080.0.

* THRIFT-4478: Update ubuntu-artful docker build image to use DMD 2.080.0

* THRIFT-4478 Fix build failure for nonblocking

* THRIFT-4478: update readme files
2018-06-07 22:39:34 -04:00
Nicholas Martin
747158c8da THRIFT-4548: python binary accelerated protocol with multiplexing via decoration (#1547)
* Fix binary accelerated protocol with multiplexing

TMultiplexedProtocol objects did not inherit from TProtocol, so the
decorated protocol object passed into the binary accelerated C extension
was not really a TProtocol object, which caused errors. This
implementation decorates the protocol object by dynamically creating a
new class that extends both the class of the protocol being decorated
and TMultiplexedProtocol.

* THRIFT-4548: remove known failures for py multiplexed client cross tests

* Call super with args for python2 & pep8 fixes

* THRIFT-3877: disable known failures for http cpp tests

This closes #1535
2018-06-07 20:30:44 -04:00
Stefan Bolus
9edecce91a Build async. protocol processor as part of main thrift library. 2018-06-07 09:46:35 -04:00
Aki Sukegawa
eb9f65b74e THRIFT-4577 Outdated cipher string in python unit test
Also fixes a bug where unit test execution hanged forever on SSL initialization failure.
2018-06-07 09:38:49 -04:00
D. Can Celasun
88591e32e7
THRIFT-4573 Support binary fields in union counts
This commit also fixes another, related issue: Since union support was
added in b3654df, `Count*` methods (and count checks in `Write`
methods) were only generated if there was at least 1 pointer field.

But pointer fields are not the only nullable types in Go, slices and
maps can also be set the nil, which are now taken into account.

Client: go
2018-05-17 10:26:09 +02:00
nicaro
7db90771ac THRIFT-4566: Pass message to rethrow exception (#1554)
Client: java
2018-05-09 08:48:56 -04:00
Josip Sokcevic
edf8f0f251 THRIFT-4561: Remove python socket timeout
Timeout is already set in HttpClient. The reason for removal is issue
with gunicorn and gevent as described here
https://github.com/benoitc/gunicorn/pull/1616
2018-05-07 19:11:34 -04:00
Jens Geyer
92d80629ac THRIFT-4562 Calling wrong exception CTOR leads to "call failed: unknown result" instead of the real exception being thrown
Client: Delphi
Patch: Jens Geyer

This closes #1551
2018-05-03 09:04:05 +02:00
Sidneys1
b33130f679 THRIFT-4559: TSSLSocket no longer prints incorrect error for SYSCALL (#1549)
Client: cpp
2018-05-02 13:39:49 -04:00
nicaro
c7aa68bd59 Thrift 4556: Optional rethrow of unhandled exceptions in java processor (#1544)
Client: java
2018-05-01 09:07:50 -04:00
Vihang Karajgaonkar
33fb1a3f0d THRIFT-3769 : Fix logic of THRIFT-2268
Client: java
2018-05-01 08:16:42 -04:00
Filip Spiridonov
0293c3643b Add JS language highlighting in readme (#1538)
Client: nodejs
2018-04-17 23:21:30 -04:00
Ben Podgursky
50bfc56d5d THRIFT-4555 Optionally disable copies of binary fields in constructors, getters and setters.
Client: java

This closes #1540.
2018-04-17 07:21:46 +01:00
Jens Geyer
c564651dd4 THRIFT-4554 uncompileable code with member names that are also types under specific conditions
Client: Delphi
Patch: Jens Geyer

This closes #1539
2018-04-14 00:51:41 +02:00
James E. King III
2068544a09 THRIFT-4548: add python cross test client multiplexed protocol support
Client: py
2018-04-13 13:20:49 -04:00
Jens Geyer
606f1ef314 THRIFT-4549 Thrift exceptions should derive from TException
Client: Delphi
Patch: Jens Geyer
2018-04-09 23:26:25 +02:00
Josip Sokcevic
cc935b5554 THRIFT-4373: Derefer PHP zval _TSPEC (#1401)
Client: php
2018-04-09 08:47:47 -04:00
Chris Simpson
a9b6c7039b THRIFT-3773: Swift 3 changes, Squashed (#1084)
Client: swift
2018-04-08 07:11:37 -04:00
Filip Spiridonov
63b75d9e3a THRIFT-3926: Fix undeclared statusCode variable (#1531)
Client: nodejs
2018-04-06 08:56:54 -04:00
James E. King III
6f8c99e981 THRIFT-3118: add http (for non-ssl and for ssl) to the python cross tests 2018-04-05 10:25:19 -04:00
Jens Geyer
a0cf38ed31 THRIFT-4540 buffered transport broken when trying to re-open a formerly closed transport
Client: Delphi
Patch: Jens Geyer
2018-04-04 17:32:14 +02:00
Jens Geyer
3c0edfa875 THRIFT-4540 buffered transport broken when trying to re-open a formerly closed transport
Client: Delphi
Patch: Jens Geyer

This closes #1530
2018-04-02 23:41:01 +02:00
Jens Geyer
99daecdd1d THRIFT-4539 Allow TBufferedTransport to be used as base class
Client: C#
Patch: Jens Geyer
2018-04-02 14:12:54 +02:00
Christian Weiss
8fb719efb1 THRIFT-4535: XML docs; code cleanup (tabs->spaces; String->string)
Client: C#
Patch: Christian Weiss

This closes #1524
2018-04-01 12:29:51 +02:00
Matthew Pound
8a83b041d2
THRIFT-4537: TSimpleServer can exit AcceptLoop() without releasing lock
Client: go

This closes #1523.
2018-03-30 08:48:15 +02:00
Manu Sridharan
930428438c
THRIFT-4530: add @Nullable annotations to generated Java code
Use our own `org.apache.thrift.annotations.Nullable` type to avoid
introducing a third-party dependency

Client: java

This closes #1522.
2018-03-29 14:53:36 +02:00
James E. King III
272470790a THRIFT-4342: update ruby tests to use rspec 3, updated all dependencies for ruby
Client: rb
2018-03-23 15:16:47 -04:00
Josh
dab4529f73 THRIFT-4527 bump byteorder version
Client: rs

This closes #1516
2018-03-23 07:40:49 -04:00
Daniel Shih
e41de0fbcb THRIFT-4489: Add unix domain socket support for nodejs
Client: nodejs

This closes #1491
2018-03-21 07:48:31 -04:00
James E. King III
9aaf295806 THRIFT-4358: add unix domain socket option to ruby cross tests
Client: rb

This closes #1513
2018-03-21 01:02:11 -04:00
Stephen Starkie
22bd3450c6 THRIFT-4524: .NET Core Server doesn't close properly when cancelled
Also fixed up the project files to include quoted Program Files paths
Client: netcore

This closes #1512
2018-03-20 16:32:32 -04:00
Ozan Can Altiok
e46419b5ec THRIFT-4476: Typecasting problem on double list items,
emitting doubles with high precision
Client: cpp
Client: erl
Client: java
Client: js
Client: py

This closes #1511
2018-03-20 16:28:15 -04:00
Allen George
b4960838a3 THRIFT-4187 Allow dart framed transport to read incomplete frame
Client: dart

This closes #1269
2018-03-20 16:21:21 -04:00