Commit Graph

5914 Commits

Author SHA1 Message Date
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
Jens Geyer
27d8387c49 THRIFT-4860 Allow changing "User-Agent"
Client: netstd
Patch: Jens Geyer
2019-05-04 12:22:47 +02:00
Park June Chul
8d554f503e THRIFT-4859 Enables changing 'UserAgent'
Client: C#
Patch: Park June Chul <pjc0247@naver.com>

This closes #1787
2019-05-04 12:13:11 +02:00
Albert Hives
65d5f84507 renamed TClientTransport.cs file to match its class name TTransport.cs
Client: netstd
Patch: Albert Hives <ahives@hotmail.com>

This closes #1784
2019-05-03 23:10:16 +02:00
Beluga Behr
cc13de4f87 THRIFT-4851: Remove All Calls To printStackTrace
Client: Java
Patch: Beluga Behr <dam6923@gmail.com>

This closes #1783
2019-05-03 22:58:53 +02:00
Jens Geyer
366cc3dee0 THRIFT-4854 oneway calls do not work over HTTP
Client: netstd
Patch: Jens Geyer

This closes #1790
2019-04-28 23:51:34 +02:00
Jens Geyer
8f327f24ee THRIFT-4853 TServerFramedTransport is now obsolete and can be removed
Client: netstd
Patch: Jens Geyer

This closes #1789
2019-04-28 00:31:57 +02:00
Jens Geyer
2ff952b0af THRIFT-4816 JSONTransports Context.WriteAsync/ReadAsync are badly named
Client: netstd
Patch: Jens Geyer

This closes #1779
2019-04-19 16:07:29 +02:00
Jens Geyer
e26269e7b3
Merge pull request #1781 from dbcfd/4536-rust-stable
THRIFT-4536: Rust 1.34.0
2019-04-19 02:15:17 +02:00
Jens Geyer
2135a361a5 THRIFT-4834 CI error at Haskell: Failed to load interface for 'Network' (#1780) 2019-04-16 10:27:03 -04:00
Danny Browning
181d900a39 THRIFT 4536: Rust 1.34.0
Update dockerfiles to use rust stable, call out required rust version in
breaking changes.
2019-04-15 09:55:04 -06:00
Jens Geyer
0223091b70 THRIFT-4841 THTTPTransport relies on activeX component
Client: Delphi
Patch: Jens Geyer

This closes #1778
2019-04-06 09:53:09 +02:00
Jens Geyer
c9b1e29bc9 THRIFT-4843 http:// and https:// schemes are switched in test client
Client: Delphi
Patch: Jens Geyer
2019-04-04 00:02:03 +02:00
Kyle Smith
0bc4712929 THRIFT-4840: Updated the README for the netstd tutorial
Client: netstd
Patch: Kyle Smith

This closes #1772
2019-03-31 16:16:56 +02:00
Kyle Smith
7b94dd4221 THRIFT-4839: Remove embedded buffering/framed options from TCP transports
Client: netstd
Patch: Kyle Smith + minor changes by Jens Geyer

This closes #1770
2019-03-27 00:17:55 +01:00
Danny Browning
ddec431b4a TryFrom stable
TryFrom is now stable, so use that. Additionally re-export OrderedFloat since
it is used by the generated code. Relax dependencies to reduce downstream
conflicts.
2019-03-22 14:38:36 -04:00