Commit Graph

3253 Commits

Author SHA1 Message Date
Robert Lu
2471efab00 THRIFT-4477: php TBufferedTransport must have underlying transport
Client: php

This closes #1484
2018-01-30 07:49:20 -05:00
Robert Lu
12f124c19a THRIFT-4475: PSR-2 support for lib/php/test
Client: php

This closes #1482
2018-01-29 15:44:43 -05:00
Jens Geyer
3d556248a8 THRIFT-4473 Move Thrift.Console.pas out of the Library
Client: Delphi
Patch: Jens Geyer

This closes #1478
2018-01-26 00:10:06 +01:00
James E. King III
23dde8c446 THRIFT-4471: add Makefile.PL to Perl CPAN module build script
Client: perl
2018-01-24 14:56:29 -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
Yubing Dong (Tom)
00646bbba7 THRIFT-4464: Fix typo in TNonblockingServer.py
Client: py

This closes #1475
2018-01-24 00:10:42 -05:00
Robert Lu
b03ca01cc9 THRIFT-4460: Use PSR-2 as php library coding standard
Client: php

This closes #1472
2018-01-24 00:07:54 -05:00
James E. King III
52bf20c0da THRIFT-4472: fix ruby gemspec license declaration
Client: rb
2018-01-23 19:12:15 -05:00
Jens Geyer
b636ffb613 THRIFT-4462 First line in Console duplicated
Client: Delphi
Patch: Anton Shchyrov

Slightly modified by JensG
2018-01-19 19:21:57 +01:00
Jens Geyer
36c0b34dad THRIFT-4461 Compiler directive should match Delphi XE4
Client: Delphi
Patch: Anton Shchyrov
2018-01-19 19:21:56 +01:00
Robert Lu
bfba370bf1 THRIFT-4459: reduce php library directory depth
Client: php

This closes #1471
2018-01-16 09:22:42 -05:00
James E. King III
ad23852294 THRIFT-4344: some docker updates for xenial and for trusty to fix build issues 2018-01-14 08:42:28 -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
Jens Geyer
1d5113ed75 THRIFT-4455 Missing dispose calls in ThreadedServer & ThreadpoolServer
Client: C#
Patch: Jens Geyer

This closes #1467
2018-01-14 11:53:29 +01:00
Jens Geyer
85827154b4 THRIFT-4454 Large writes/reads may cause range check errors in debug mode
Client: Delphi
Patch: Jens Geyer

This closes #1466
2018-01-13 21:36:46 +01: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
Kerri Devine
91c74b6019 THRIFT-4443: Implement skip function in json_protocol
Client: node.js

This closes #1460
2018-01-10 21:21:03 -05:00
Allen Warthen
d066fa850a THRIFT-4446: JSONProtocol Base64 Encoding: Do not trim padding on encode.
Client: csharp
Client: netcore

This closes #1463
2018-01-10 21:13:07 -05:00
Vadim Chekan
d3355af260 THRIFT-4450: Added "seek" implementation to TCompactInputTransport in Rust
Client: rust

This closes #1462
2018-01-10 21:09:39 -05:00
Stephane Landelle
dda41f37cf Fix generated maven packaging
Client: java

This closes #1430
This closes #1456
This closes #1442
2018-01-04 09:28:19 -05:00
Philip Frank
8fdd610ba7 THRIFT-4406: Optionally generate ES6 compatible JavaScript where service methods return Promises
includes tests and TypeScript support
Client: js

This closes #1452
2018-01-04 09:15:24 -05:00
Philip Frank
0a84eae1db THRIFT-4437: JavaScript WebSocket - fix duplicate callbacks and enable ThriftWS test suite
Client: js

This closes #1450
2017-12-28 07:57:36 -05:00
Chet Murthy
041c3c777d THRIFT-4421 golang tests rely on gomock, which has changed behaviour, causing tests to fail
Client: go

This closes #1443
2017-12-14 08:49:40 -05:00
Jens Geyer
14f5d500b9 THRIFT-4422 Add Async implementation via IFuture
Client: Delphi
Patch: Jens Geyer

This closes #1444
2017-12-14 00:00:03 +01:00
James E. King III
cea50758b9 THRIFT-4416: additional CPAN packaging changes
Client: perl
2017-12-12 18:42:45 -05:00
James E. King, III
8101f00b09 THRIFT-4416: fixed up CPAN module creation and automated all steps except for upload to CPAN
Client: perl

This closes #1441
2017-12-09 17:02:12 -05:00
zhouweikang
c4af63385f THRIFT-4418: evhttp_connection_new is deprecated; use evhttp_connection_base_new
Client: C++

This closes #1438
2017-12-09 16:53:57 -05:00
Philip Frank
05a08ce9c1 THRIFT-4403: Fix incorrect usage of 'this'
Client: js

This closes #1437
2017-12-04 11:03:38 -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
Jens Geyer
214746619a THRIFT-4396 inconsistent (or plain wrong) version numbers in master/trunk
Client: (multiple)
Patch: Jens Geyer

This closes #1422
2017-11-30 20:46:39 +01:00
Nobuaki Sukegawa
026c9d032c THRIFT-3686 Java processor should report internal error on uncaught exception
Client: java

This closes #904
This closes #1428
2017-11-30 12:43:26 -05:00
Nobuaki Sukegawa
1541f0a74d THRIFT-3657 D TFileWriterTransport close should use non-priority send
Client: D

This closes #884
This closes #1427
2017-11-30 12:41:35 -05:00
James E. King, III
1ce7a5b459 THRIFT-2913: fix random CI build failures in lib/rb test
'Thrift::ThreadPoolServer should serve inside a thread'
Client: rb

This closes #1429
2017-11-30 12:32:17 -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
itegel
847ecf3c1d THRIFT-4378: add set method for stopTimeoutUnit in TThreadPoolServer java lib
modify timeout unit in createDefaultExecutorService from hard coding to read from args
Client: java

This closes #1409
2017-11-02 05:53:09 -07:00
Oleksii Prudkyi
a533ea1615 THRIFT-4377: more informative error messages on tests
THRIFT-4377: fix haxe-php integration
Client: haxe

This closes #1407
2017-10-30 15:12:16 -04:00
Oleksii Prudkyi
ac11cf88f8 THRIFT-4377: close socket after processing request
Client: Haxe
Patch: Oleksii Prudkyi <Oleksii.Prudkyi@gmail.com>

This closes #1407
2017-10-29 17:52:48 +01:00
James E. King, III
619218cd7f THRIFT-4343: enable nodejs-8.x on ubuntu-artful image and update grunt-jsdoc
also fix a perl failure as we were using a deprecated language feature
in the cross test server for perl.
Client: nodejs, perl

This closes #1406
2017-10-29 10:15:10 -04:00
James E. King, III
533405e3f8 THRIFT-4376: fix more high impact coverity defects
Led to the discovery of incorrect lua socket error handling.

This closes #1405
2017-10-29 07:05:47 -04:00
James E. King, III
375bfee701 THRIFT-2998: enable cross test for nodejs http transport,
fix missing apache license headers in nodejs
Client: nodejs

This closes #1403
2017-10-28 17:54:58 -04:00
stanevt
5a4f7382d2 THRIFT-2998: Set Content-Type for HTTP request in Node.js wrapper.
Client: nodejs

This closes #378
2017-10-28 17:54:17 -04:00