Commit Graph

5195 Commits

Author SHA1 Message Date
Jens Geyer
5089b0a7b5 THRIFT-4454 Large writes/reads may cause range check errors in debug mode
Client: Delphi
Patch: Jens Geyer

This closes #1490
2018-02-02 14:20:38 +01:00
James E. King III
f338d576b7 THRIFT-4308: re-enable dlang deimos build support for libevent
and openssl, working around a dmd link order issue.
Update dotnet-sdk to 2.1.4 (was 2.0.5) because of build failures

Client: d
Client: netcore

This closes #1483
2018-01-30 07:53:35 -05:00
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
Dmitry Volodin
f92493b857 THRIFT-4470: Include popular IDE file templates to gitignore
This closes #1477
2018-01-24 00:12:30 -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
e241265cb2 THRIFT-4463: Generated PHP code to match PSR-2
Client: php

* PHP ident with 4 space
* remove redundancy blank lines
* open bracket of function, class at new line
* remove hard-coded indent, use indent()
* add necessary visibility declaration for class field
* open bracket of flow control put end of line, not new line
* remove inline control structures
* add blank around equal symbol

This closes #1473
2018-01-24 00:08:23 -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
8d96b3bbdd Closing all inactive github pull requests (no activity since 2015).
This closes #93
This closes #326
This closes #345
This closes #352
This closes #353
This closes #383
This closes #395
This closes #413
This closes #488
This closes #555
This closes #624
This closes #731
This closes #747
This closes #756
2018-01-23 19:52:51 -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
f64a3fcaf9 THRIFT-4456: quiet haxelib the right way 2018-01-14 08:54:25 -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
James E. King III
9a32f8af3a THRIFT-4456: add --quiet to haxelib install so build log is not as huge 2018-01-14 08:36:18 -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
Robert Lu
31d5b7be27 THRIFT-4452: optimize Dockerfile so it runs apt-get update only once
This closes #1464
2018-01-12 15:04:03 -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
19a6493ff0 THRIFT-4399 plugin.thrift t_const_value is not used as a union in C++ code -- fix this
Client: compiler

This closes #1435
2018-01-10 23:49:29 -05:00
Chet Murthy
6ae4023052 THRIFT-4393: renumber GeneratorInput t_{type,etc...}_id
Client: compiler

This closes #1419
2018-01-10 23:45:56 -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
John Boiles
080e43ee8e THRIFT-4447: Fix panic on p.c.Call when using legacy initializers
Client: go

This closes #1461
2018-01-10 21:17:19 -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
Dmitry Volodin
1b855d47aa Insert files related to eclipse project to gitignore
This closes #1446
2018-01-04 09:38:41 -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
Robert Lu
c72d8dcb42 use dartlang repo for builds
Client: dart

This closes #1453
2018-01-04 09:17:55 -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
Robert Lu
e669b8726b cleanup unused docker *.orig
This closes #1455
2018-01-04 09:11:16 -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
James E. King, III
2590988c02 THRIFT-4417: Fix broken fb303 build, that occurred after conversion to stdcxx::shared_ptr
Patch: Stanislav Korolev

This closes #1439
2017-12-09 12:25:00 -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
d30a7d1599 THRIFT-4400 Visual Studio Compiler project should link runtime statically in release builds
Client: Compiler (general)
Patch: Jens Geyer

This closes #1436
2017-12-02 17:17:48 +01: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
Jens Geyer
152d1bef44 THRIFT-4397 Ubuntu install instructions broken on 16.04
Client: Build process
Patch: Jens Geyer
2017-12-01 09:08:00 +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