Commit Graph

3230 Commits

Author SHA1 Message Date
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
James E. King, III
43f4bf2fdd THRIFT-4376: fix a few high impact coverity defects:
1458947: memory leak in compiler
1458787: resource leak in c_glib led to discovery of assert() abuse
1459090: fix string.find result check in JSON processor (unlikely)

This closes #1404
2017-10-28 16:44:09 -04:00
Jens Geyer
d4df91709b THRIFT-4372 Pipe write operations across a network are limited to 65,535 bytes per write
Client: Delphi, C#
Patch: Jens Geyer

This closes #1402
2017-10-26 20:36:28 +02:00
Robert Lu
e54945551f add stdc++ back for php extension build
Client: php

This closes #1400
2017-10-26 12:02:20 -04:00
James E. King, III
350fe7531f THRIFT-4370: build generated code before running static code analysis;
fix E722 flake8 issues identified in python code

This closes #1399
2017-10-26 11:37:02 -04:00
Robert Lu
9dff0efc1e THRIFT-4356: fix segment fault for thrift_protocol
NOTE: drops php5 support for PHP extension (thrift_protocol)
however library still can support PHP5 as evidenced by CI build
Client: php

This closes #1385
This closes #1391
2017-10-25 08:57:04 -04:00
董菲
1df2d9b801 THRIFT-4353: support php ext read data after message begin
Client: php

This closes #1383
2017-10-25 08:56:40 -04:00
christianc
a39ba7f294 THRIFT-4362 check "read length" in readStringBody(int)
Client: Java

This closes #1398
2017-10-25 08:40:51 -04:00
James E. King, III
e7611d0f3e THRIFT-4367: Fix missing positional argument in python
TProcessor.process
Client: py
Patch: Qyetfu

This closes #1392
2017-10-23 16:44:45 -04:00
James E. King, III
0ad20bdbfe THRIFT-4351: use travis build stages to optimize build,
avoiding duplicate rebuilds of the same image, and also
allow personal docker hub repositories for private fork
builds to be optimized. Move ubsan build to artful image
because it catches more stuff and fix what was found.

THRIFT-4345: solidify docker build strategy for maximum
coverage: trusty, xenial, artful as stock as they can be

THRIFT-4344: add top level language summary markdown and
update readme with a new image on the layered architecture

THRIFT-3847: remove VERSION macro from config.h which
was causing a conflict on artful builds.

THRIFT-4359: fix haxe map/set decode when key is binary,
as a missing break statement caused it to use an int
during decode

This closes #1389
2017-10-19 11:29:04 -04:00
James E. King, III
b62873686f THRIFT-4350: enable dotnet-2.0.0-sdk in ubuntu xenial, update netcore
projects, get them running with make cross
Client: netcore

This closes #1379
2017-10-10 08:35:48 -07:00
Martin Haimberger
9f9e30b51e THRIFT-4331: C++ TSSLSocket fixes for huge message handling
Client: C++

fixed issue with large messages, where waitForEvent was called
mutliple times waiting for SSL_read() to get bytes and running
in the retry timeout.

fixed issue where poll was not using the right flags.

This fixes #1363
2017-10-06 05:22:13 -07:00
Yuri Khrustalev
39310dad79 THRIFT-4346: Allow go ZlibTransportFactory to wrap other factories
Client: go

This closes #1375
2017-09-27 12:46:19 -07:00
James E. King, III
65efdff10b build both ubuntu xenial as well as trusty to get more language level
coverage, force C++98 in one of the C++ builds to guarantee compat,
and update docker readme

This closes #1377
2017-09-26 06:48:54 -07:00
Carwyn Moore
d7720f4363 THRIFT-4348 - Allow custom HTTP headers to be set in Perl HTTP client.
Client: Perl

This closes #1376
2017-09-26 06:42:14 -07:00
Elvis Pranskevichus
2d1fe88db3 THRIFT-4206: Fix decoding of strings in containers with py:dynamic and py:utf8strings
Client: py

_read_by_ttype and _write_by_ttype must be using the *element* spec
and not the container spec when determining the correct read/write
handler.

This closes #1273
2017-09-25 17:11:33 -07:00
James E. King, III
48ba736a58 THRIFT-4131: js / WebSocket / fix handling oneway methods
Client: js
Patch: Martin Hejnfelt <mh@newtec.dk>

This closes #1372
2017-09-24 20:35:01 -07:00
cclauss
4bd3682c79 THRIFT-4309: Python print() function
Client: py

This closes #1339
2017-09-24 06:04:15 -07:00
James E. King, III
9ce1fd9aee THRIFT-4049, THRIFT-4053: when skipping, if field type is invalid, throw a
protocol exception of invalid data instead of doing nothing which could
cause a loop
Client: C++, java

This closes #1371
2017-09-24 05:59:35 -07:00
James E. King, III
eb7b76d32c add perl coding standard of perlstyle
Client: perl
2017-09-23 20:35:29 -07:00
Equim
c8e0207053 THRIFT-4288: Implement logging levels in node.js properly
Client: nodejs

This closes #1334
2017-09-23 06:11:34 -07:00
James E. King, III
aded00b617 THRIFT-3821: make memory buffer size configurable so unit test does
not need 2GB to run; add unit test to prove THRIFT-3480
Client: C++

This closes #1369
2017-09-22 15:17:25 -07:00
James E. King, III
d3013f3fb5 THRIFT-3766: add zlib getUnderlyingTransport method
Client: C++

This closes #1370
2017-09-22 15:15:30 -07:00
James E. King, III
4a6bff1c5b THRIFT-4283: fix TNamedPipeServer race condition in interrupt
Client: C++
Patch: jn.goor@evs.com

This closes #1368
2017-09-22 10:11:06 -07:00