Commit Graph

5303 Commits

Author SHA1 Message Date
Kevin Carbone
e7fa464584 THRIFT-4586: Cocoa generator generates NSString with copy instead of strong.
Client: [cocoa]
2018-07-03 08:18:54 -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
James E. King III
129f332d72 move autotools builds in front of cmake builds in Travis CI 2018-06-27 21:08:08 +00:00
James E. King III
a3a5909d1f add coverity scan build automation to cron job on Travis CI 2018-06-27 21:05:57 +00:00
James E. King III
c7fe3f4e3d
Update README with build status badges 2018-06-27 11:01:16 -04:00
Brian Forbis
d7b635f784 THRIFT-4225: Delete callback if RPC send failed 2018-06-27 08:48:18 -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
d2f6f19bb8 disable one cross test that has been failing 2018-06-10 03:02:32 +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
Mario Emmenlauer
4d10279244 THRIFT-4580: fix erlang tutorial unpack on windows (#1561) 2018-06-07 09:52:17 -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
Stefan Bolus
e59b73d3c2 THRIFT-4571: Updated ZeroMQ examples to ZeroMQ version >= 3.0. (#1556)
* New style for Python is default now.
* Symbols were replaced in newer versions of ZeroMQ (>=3.0).
* Use Thrift's abstraction for `shared_ptr` instead of Boost.
* Symbols were replaced in Python as well.
2018-05-14 08:48:09 -04:00
jfarrell
336d4ecddf
Merge pull request #1555 from chadknight-wf/THRIFT-4569
THRIFT-4569: Fix 'requiredness' typo
2018-05-10 16:06:22 -04:00
Chad Knight
6e1606a9ce
THRIFT-4569: Fix 'requiredness' typo 2018-05-10 12:58:24 -05:00
McGradyDa
8672394ade Simplify the rust code generated by the generator (#1553)
Client: rs
2018-05-09 08:51:31 -04: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
James E. King III
ebf46314d7
Document breaking changes since 0.11.0
All breaking changes will require a modification to the CHANGES file to keep it current, as well as the language-specific README file.
2018-05-01 08:14:37 -04:00
Mustafa Senol Cosar
09c1f3719c THRIFT-4532: Do not update previously generated output files if the contents have not changed 2018-05-01 07:53:52 -04:00
Filip Spiridonov
0293c3643b Add JS language highlighting in readme (#1538)
Client: nodejs
2018-04-17 23:21:30 -04:00
Filip Spiridonov
b255790b8e THRIFT-4551: Add Prettier for consistent JS code formatting (#1536)
Client: js
2018-04-17 23:18:29 -04:00
Pierre Mignolet
4a00fc658a THRIFT-4558 normalize name in C# constructor
Client: csharp
Patch: Pierre Mignolet <p.mignolet@evs.com>

This closes #1546
2018-04-17 22:12:17 +02: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
James E. King, III
8a6d9f4f42
Update pull request template to be more helpful 2018-04-09 08:11:38 -04:00
Davin Chia
b9d5fb25e4 THRIFT-4253: Fix for constant assignments to optional fields in Go. (#1311)
Client: go
2018-04-09 08:04:42 -04:00
Chris Simpson
a9b6c7039b THRIFT-3773: Swift 3 changes, Squashed (#1084)
Client: swift
2018-04-08 07:11:37 -04:00
Jens Geyer
7ad0665008 Pull changes file from 0.11.0 to master 2018-04-06 22:49:05 +02: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
10cfd6a504 update pull request template 2018-04-06 08:43:04 -04:00
James E. King III
85db0fe2ed modify contributing markdown and add pull request template markdown for github 2018-04-06 08:37:11 -04:00
James E. King III
0d2794d38f THRIFT-4545: disable haskell on windows builds until language-specific build issue can be resolved 2018-04-05 19:55:26 -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