Commit Graph

5729 Commits

Author SHA1 Message Date
Kevin Wojniak
a392566e9b THRIFT-4896 - prevent cpp and c_glib include directories from leaking into other targets (#1821)
- enable the automake `nostdinc` option
- fix up include paths
2019-07-01 14:07:45 -04:00
James Z.M. Gao
3711d90810 THRIFT-4897 generate test resource for thrift-maven-plugin
Client: Java
Patch: James Z.M. Gao <gaozhiming@360.cn>

This closes #1822

generate SharedIdl.jar for passing the test case for thrift-maven-plugin
use antrun plugin to generate test jar
2019-07-01 19:39:52 +02:00
Jens Geyer
a304b7c3a0 THRIFT-4769 Change NuGet package to use netstd artifact
Patch: Jens Geyer

This closes #1825

Although netcore is superseded by netstd and thus omitted from the package, it still contains "regular" C# binaries. These are deprecated and will be removed with the next regular release after 0.13
2019-07-01 19:22:42 +02:00
Allen George
c2c1e1d709 Change docker builds to include specific version of Rust (1.35.0) 2019-07-01 11:44:58 -04:00
jose andres
5338d99176 bug fixed
Use TTcpChannel instead of TTcpTransport
2019-07-01 11:40:42 -04:00
jose andres
0124c4d66b minor change
upgrade to thrift 0.12.0

[THRIFT-4529] - Rust enum variants are now camel-cased instead of uppercased to conform to Rust naming conventions
2019-07-01 11:40:42 -04:00
John Boiles
d9019fc5a4 THRIFT-4797: Fix import collisions in Go
Client: go

This closes #1811.
2019-06-29 07:07:10 +01:00
Jens Geyer
bd1a273ab7 THRIFT-4898 Pipe write operations across a network are limited to 65,535 bytes per write.
Client: netstd
Patch: Jens Geyer

This closes #1823
2019-06-27 21:30:25 +02:00
Kevin Wojniak
c5068e297c Fix some typos in ThriftTest.thrift
[ci skip]
2019-06-27 12:28:19 -04:00
Jens Geyer
62238d1a6c THRIFT-4886 More detailed error information for WinHTTP transport
Client: Delphi
Patch: Jens Geyer
2019-06-26 20:53:22 +02:00
James E. King III
03bf848269
THRIFT-4878: Document c_glib domain transport change in matrix [skip ci] 2019-06-23 08:47:56 -04:00
James E. King III
d886ab291d
Add a PR checklist item for skipping CI [skip ci] 2019-06-23 08:40:36 -04:00
Kevin Wojniak
99ae730c5d Fix environment spelling 2019-06-23 08:37:12 -04:00
Jens Geyer
1e808af7b3 THRIFT-4893 Enable automatic content encoding handling for gzip,deflate in the HTTP client
Client: netstd
Patch: Jens Geyer

This closes #1818
2019-06-22 10:27:57 +02:00
Jens Geyer
19505c3de3 THRIFT-4894 Enable automatic content encoding handling for gzip,deflate in the WinHTTP client
Client: Delphi
Patch: Jens Geyer
2019-06-22 01:03:55 +02:00
antbofh
95870f06cd THRIFT-4892: fixed data type conflict with simultaneous usage of bytes and str (#1804) 2019-06-21 15:33:55 -04:00
James E. King III
a85d532bb3 Fix mingw appveyor build issue [skip travis] 2019-06-21 11:21:40 -04:00
David Carlier
29ecfaba53 CPP generator test, catching exceptions by ref instead. 2019-06-21 07:30:13 -04:00
Mustafa Senol Cosar
3f0d444791 Implement episodic compilation for js code generation 2019-06-21 06:38:32 -04:00
Jens Geyer
96c6113dda THRIFT-4891 Align HTTP test client with all other variants
Client: netstd
Patch: Jens Geyer

This closes #1816
2019-06-21 01:48:31 +02:00
Jens Geyer
433a649a36 THRIFT-4886 More detailed error information for WinHTTP transport
Client: Delphi
Patch: Jens Geyer
2019-06-19 23:32:19 +02:00
Yuxuan 'fishy' Wang
4d46c11244 THRIFT-4612: THeader support in go library
Client: go

Implement THeaderTransport and THeaderProtocol, with support of:

* clients:
  - headers
  - framedBinary
  - unframedBinary
  - framedCompact
  - unframedCompact
* transforms:
  - none
  - zlib
* info types:
  - key_value
* wrapped protocols:
  - TBinary
  - TCompact

The support list is in general on par of the THeader implementation in
the python library.

The cross-test passes, except ones related to cpp/nodejs http transport,
which were also failing for non-theader protocols.

This change also fixes two bugs:

1. A small issue in test/go/src/bin/testserver/main.go
2. A bug in TFrameTransport go implementation
2019-06-19 22:52:24 +02:00
Kyle Smith
823474ec89 THRIFT-4848: Add ability to set Content-Type,Accept headers in HTTP client
Client: netstd
Patch: Kyle Smith

This closes #1801
2019-06-14 22:42:15 +02:00
John Boiles
5eef01f231 THRIFT-4868: Fix Go compilation for optional sets with default values (#1802)
Client: go
2019-06-13 19:49:45 +02:00
Jens Geyer
19fdca82c2 THRIFT-4886 More detailed error information for WinHTTP transport
Client: Delphi
Patch: Jens Geyer
2019-06-12 22:09:58 +02:00
Jens Geyer
b342bd9a61 THRIFT-4884 Add serialisation performance test for Delphi
Client: Delphi
Patch: Jens Geyer
2019-06-07 22:31:26 +02:00
Jens Geyer
83ff753777 THRIFT-4882 Autodetect proxy settings with WinHTTP
Client: Delphi
Patch: Jens Geyer
2019-06-07 22:26:55 +02:00
Jens Geyer
47f6317336 THRIFT-4881 Allow TLS1.1 and TLS1.2 even when not configured as systemwide default
Client: Delphi
Patch: Jens Geyer
2019-06-07 22:26:53 +02:00
Jens Geyer
936944384f THRIFT-4879 general performance improvements for netstd library
Client: netstd
Patch: Jens Geyer

Removing obsolete (and finally incorrect) assertion.
2019-06-05 22:03:14 +02:00
Jens Geyer
5a17b13ebc THRIFT-4879 general performance improvements for netstd library
Client: netstd
Patch: Jens Geyer

This closes #1808
2019-06-04 22:31:58 +02:00
James E. King III
057bebc1c3 Merge branch '0.12.1' 2019-05-26 14:59:04 -04:00
timestee
370d7513f0 spelling mistake, perhaps (#1803) [ci skip 2019-05-20 07:20:42 -04:00
Henrik Tudborg
c035eca3c6 hotfix: clear the offline queue when once written 2019-05-14 14:26:48 -04:00
Jeremy Mikkola
79c2337705 THRIFT-4845: Stop ignoring small timeouts
Client: php

CURLOPT_TIMEOUT requires a long [0], so it seems that small values
like 0.2 are being rounded to 0, resulting in a lack of any timeout.

This change uses CURLOPT_TIMEOUT_MS, which the PHP documentation
says was "added in cURL 7.16.2. Available since PHP 5.2.3."

[0] https://curl.haxx.se/libcurl/c/CURLOPT_TIMEOUT.html
2019-05-14 06:15:48 -04:00
James E. King III
b261f3c0f1 THRIFT-4857: [java] added a unit test for TField 2019-05-13 16:53:57 -04:00
Garret Wilson
6b6a8279ab THRIFT-4857: Made Java TField class hash code consistent with equals.
Client: java
2019-05-13 16:53:57 -04:00
James E. King III
6ba58e9a66
Update README [ci skip] 2019-05-13 07:21:21 -04:00
Sergey Yelin
4ffe76351e THRIFT-4583: Switch to rebar3
Client: erl
2019-05-13 06:52:19 -04:00
Aaron Goldman
b808a11559 Make Field definition follow Literal definition
I think this is a violation of your Literal syntax.

Could you explain what i'm missing in the language definition?
Is this supposed to be a litteral '='?

Literal         ::=  ('"' [^"]* '"') | ("'" [^']* "'")
2019-05-12 07:22:05 -04:00
Sergey Elin
ce32ed7012 Report error for abnormal server termination only
Client: erl
2019-05-12 07:08:07 -04:00
Sergey Elin
f3d4d51d42 Add missing autogenerated comment to header files
Client: erl
2019-05-12 07:07:28 -04:00
Jens Geyer
a5dbb011fd THRIFT-4864 CI fails at netstd
Client: netstd
Patch: Jens Geyer

This closes #1798
2019-05-11 18:46:48 +02:00
James E. King III
522f873e1e Update and fix js dependencies 2019-05-10 18:47:27 -04:00
Jens Geyer
85431d9c6a THRIFT-4862 better ToString() support for enums and container types
Client: Delphi
Patch: Jens Geyer
2019-05-10 22:49:20 +02:00
D. Can Celasun
e0e1a088d6 THRIFT-4855: Pin golang/mock to 1.2.0
The latest version (1.3.0) requires us to switch to Go modules for our
tests, but that's not trivial given our directory structure.

For now, just fix the CI issues by pinning the version.
2019-05-10 21:08:07 +02:00
Jens Geyer
8f7487e108 THRIFT-4862 better ToString() support for enums and container types
Client: Delphi
Patch: Jens Geyer

This closes #1795
2019-05-10 00:39:30 +02:00
Jens Geyer
14a9a120a8 THRIFT-4863 better indication of WinHTTP errors
Client: Delphi
Patch: Jens Geyer
2019-05-10 00:20:25 +02:00
James E. King III
acdd4226c2 Remove unused THREADMODEL from MSVC appveyor build 2019-05-04 21:52:29 -04:00
James E. King III
ee8caca54e THRIFT-4861: Set minimum boost to 1.56 and stop using deprecated boost predef endian header
Client: cpp
2019-05-04 21:52:29 -04:00
James E. King III
9ecdce3fe0 Fix MinGW build issue in AppVeyor 2019-05-04 21:52:29 -04:00