Commit Graph

809 Commits

Author SHA1 Message Date
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
GREATEST Wiggler EvaR!
b57d126157 THRIFT-4529: Rust enum variants are now camel-cased
Client: rs
2018-11-12 07:57:43 -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
Dean Hamstead
8a130f63e5 THRIFT-4382: Replace the use of Indirect Object Syntax calls to new() 2018-10-17 19:13:45 -04:00
James E. King III
b2b767e1a4 THRIFT-4620: add crosstest support for zlib (buffered) to cpp, enable cpp,go,py,py3 tests 2018-09-16 06:51:38 -04:00
Charles Giardina
180888820a THRIFT-4631 Fix Ruby codegen to gen valid ruby for recursive structs 2018-09-15 09:47:14 -04:00
Neil Williams
66a44c5d8d THRIFT-4621 Add THeader for Python
Client: py
2018-09-01 10:24:43 +09: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
d2f6f19bb8 disable one cross test that has been failing 2018-06-10 03:02:32 +00: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
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
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
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
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
James E. King III
714c77cebe THRIFT-4525: add ruby cross test ssl support
Client: rb

This closes #1514
2018-03-21 20:45:25 -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
James E. King III
9bea32f73c THRIFT-4515: cross server test improvement: graceful test server shutdown
This closes #1509
2018-03-19 14:38:49 -04:00
Allen George
b7084cbc0d
THRIFT-4419: Fix bug where framed messages > 4K could not be read
Client: rs

This closes #1508
2018-03-17 09:38:15 +01:00
D. Can Celasun
a9efd1abd4
THRIFT-4516: Fix "go vet" warnings for Go 1.10
Client: go
2018-03-15 14:16:10 +01:00
Robert Lu
68707d9219
THRIFT-4474: Use PSR-4 autoloader by default
Client: php

This closes #1479
2018-03-15 11:05:30 +01:00
John Boiles
5785279e2e THRIFT-4448: Golang: do something with context.Context. Remove Go1.6 compatibility.
Client: go

This closes #1459
2018-03-12 18:35:17 -04:00
James E. King III
3ae304268e THRIFT-4515: fix windows build
Client: cpp
2018-03-12 11:30:22 -04:00
James E. King III
70b33fb6b4 THRIFT-4515: fix up nonblocking options and enable ssl for nonblocking in cpp server cross
Client: cpp
2018-03-11 10:57:56 -04:00
James E. King III
78755f5297 THRIFT-4508: Fix node.js to be the desired version in docker ubuntu-artful image 2018-03-06 09:53:12 -05:00
James E. King III
641b139fd6 THRIFT-4503: fix dlang server logging on client disconnect so it does not report an error for normal operation 2018-03-03 12:01:19 -05:00
James E. King III
6aa4c0f448 THRIFT-82: fix cl test server to return the correct SecondService string and enable multi tests 2018-03-02 16:15:18 -05:00
James E. King III
bf7f76bb1f THRIFT-82: follow-up to common lisp to stabilize the linux build environment and update some docs 2018-03-02 13:48:08 -05:00
Tomek Kurcz
e93a901715 THRIFT-82: Add Common Lisp support
Client: cl

There's framed and buffered socket transport, binary protocol, multiplex, simple
server, cross-tests, self-tests, tutorial, CL library, CL code generator. Only
SBCL is supported for now.

This closes #1412
2018-03-02 13:44:50 -05:00
James E. King III
d907cc92db THRIFT-4352: update artful to use haxe 3.4.4 which fixes a core in haxe 2018-02-17 11:20:07 -05:00
Alex Volanis
7004a61e44 THRIFT-(1418|1507|3983|4120|4178|4259|4294): Multiple issues
Client: java

THRIFT-4294: Java Configure Fails for Ant >= 1.10
THRIFT-4259: Thrift does not compile due to Ant Maven task errors
THRIFT-4178: Java libraries missing from package when using cmake
THRIFT-3983: libthrift is deployed on central with pom packaging
             instead of jar
THRIFT-1507: Maven can't download resource from central when behind
             a proxy and won't use local repository
THRIFT-1418: Compiling Thrift from source: Class
             org.apache.tools.ant.taskdefs.ConditionTask doesn't
             support the nested "typefound" element

Refactor CMake install hook to allow using "sudo make install/fast"
which avoids the THRIFT-1507 and THRIFT-1418 issues.

New Gradle based build system for Thrift Java Library

* Add Gradle 4.4.1 Wrapper artifacts to enable builds
Using the Gradle Wrapper helps normalize the builds on all platforms
so we use a consistent build tool independent of package managers.

The Gradle build logic was partitioned into multiple specific
scripts to simplify understanding and maintenance of the build.

This is now hooked into CMake and Autoconf processing steps
and can build/test/publish to Maven. The README.md was updated
to illustrate the new build options and add some documentation
on the requirements for Maven publication.

Cleaned up the CMake files to reduce reliance on file globbing
which is known to cause confusion when multiple users contribute.

* Fix two minor issues in Javadoc and unit test

Return values were undeclared in Javadoc
Test was asserting on the wrong test object instance

* Create simple runner scripts for cross-check

Using Gradle as a java execution wrapper is too heavy.
I simplified the test client/server execution by using a
three generated scripts in the build directory direcly
callable by the cross-check test harness.

* Cleanup the remaining Ant build scripts

Pulled the Maven Ant task properties out of the Java build
since they are no longer used there.
Deleted the no longer used build.xml and build.properties
files from the Java build.
Made each Ant build own the Maven Ant task details in their
build.properties file.

* Fix the build issue with Java SSL in the ubuntu-trusty container

The latest Trusty JDK7 builds seem to have encountered this issue
because the OpenJDK removed the SunEC algorithms.

* Update the developer info as requested in review

Use the generic Apache Thrift developer list for contact information

* Add Clover Code coverage for easy access by developers

Clover plugin for Gradle was applied and configured which enables
code coverage reports to be available on demand via a command line
option. The documentation in the README.md was enhanced to give
the details of this change and how to take advantage of it.
2018-01-24 12:28:55 -05:00
James E. King III
b56fc700d6 THRIFT-4434: fixes to delegate all dependency responsibility from make to the dotnet build
Client: dotnet

This closes #1469
2018-01-14 08:41:10 -05:00
Volodymyr Gotra
54993296c4 THRIFT-4434: .NET Core cleanup and the beginnings of compiler unit tests
Client: netcore

This closes #1449
2018-01-14 08:39:32 -05:00
Allen George
cf7ba4ca32 THRIFT-4390: Fix bug where binary/buffered messages > 4K could not be read/written
Client: rs

This closes #1458
2018-01-12 08:06:59 -05:00
Robert Lu
a15060acd8 THRIFT-4423: migrate to psr-4
Client: php

This closes #1445
2018-01-11 09:37:37 -05:00
Chet Murthy
ad08a8b168 THRIFT-3877: cpp http server buffering bug oneway
Client: C++

This closes #1418

C++ HTTP server, hit with oneway RPC, then roundtrip RPC, no longer
hangs, as demonstrated by OneWayHTTPTest.

Unit-test: Hit a C++ HTTP server with a oneway rpc, and the next RPC
will hang.  This test-case elicits the failure (converts to
timeout-expiry).
2018-01-10 23:40:18 -05:00
Jens Geyer
f3a2974dfe THRIFT-4398 Update EXTRA_DIST for "make dist"
Client: Build process
Patch: Jens Geyer

This closes #1431
2017-12-01 23:01:41 +01:00
Nobuaki Sukegawa
3c420072ab THRIFT-3580 THeader for Haskell
Client: hs

This closes #820
This closes #1423
2017-11-30 16:15:25 -05:00
Nobuaki Sukegawa
66c3dbf2de THRIFT-3602 Make Tornado server send exception on unexpected handler error
Client: py

This closes #839
This closes #1425
2017-11-30 12:36:33 -05:00
Nobuaki Sukegawa
6f8264037c THRIFT-3600 Make TTwisted server send exception on unexpected handler error
Client: py

This closes #838
This closes #1424
2017-11-30 12:36:11 -05:00
James E. King, III
44426c9095 THRIFT-4395: fix rust build on xenial
Client: rs

This closes #1421
2017-11-29 21:29:48 -05:00
James E. King, III
20e16bc6a4 THRIFT-2013: add perl crosstest multiplexed client and server logic
Client: perl

This closes #1416
2017-11-21 14:20:26 -05:00
James E. King, III
39eaae6675 THRIFT-2013: update docker for artful (go back to lua 5.2) and enhance
cpp client to send 0,1,2,4,8,...,131072 size binary tests, this exposed
problems in the erl and rs servers and those tests have been disabled for now.
2017-11-20 07:27:03 -05:00
James E. King, III
58402ff6a7 THRIFT-2013: add multiplex server and client test support to cpp language
add multiplex client test support to csharp and java languages
fix a bug in the server-side header protocol factory
fix a bug in the cpp SSL server socket implementation
remove unnecessary sleep in cpp server testOneway

This closes #1414
2017-11-18 21:10:40 -05:00
Gonzalo Aguilar Delgado
87ad2bcaaa THRIFT-4329: multiplexed processor, client and server for c_glib
Client: c_glib

This closes #1361
2017-11-18 21:10:18 -05:00
D. Can Celasun
4f77ab8e29 THRIFT-4285 Move TX/RX methods from gen. code to library
This change removes a lot of duplication from generated code and allows
the caller to customize how they can read from / write to the
transport.  Backwards compatible adapters make the change compatible
with existing code in use by consuming applications.

Client: Go

This closes #1382
2017-11-03 18:21:40 -07:00