Commit Graph

898 Commits

Author SHA1 Message Date
Kevin Wojniak
dbb95e438f THRIFT-5076 Improve CMake OpenSSL usage
Client: c_glib
Patch: Kevin Wojniak

This closes #1994
2020-04-03 21:17:25 +02:00
Jens Geyer
4a33b188f4 THRIFT-5145 Streamline --pipe and --named-pipe options in the code base
Client: Test suite
Patch: Jens Geyer

This closes #2065
2020-03-22 15:30:27 +01:00
Jano Svitok
9f3198e1a8 THRIFT-5074: Crosstest client/server command line [skip ci]
Client: Documentation
Patch: Jano Svitok
2020-03-22 13:26:59 +01:00
Jens Geyer
eccd2e879e Updated known cross failures list 2020-03-16 23:38:53 +01:00
Jens Geyer
9b992f5af8 Updated known cross failures list
Patch: Jens Geyer

This closes #2058
2020-03-15 19:31:26 +01:00
Jens Geyer
56700e469d THRIFT-4982 Remove deprecated C# bindings from the code base
Client: csharp
Patch: Jens Geyer

This closes #2027
2020-02-28 19:18:34 +01:00
Kengo Seki
d858a8d4bc THRIFT-5066: Implement testBinary invocation in TestClient.pl
Client: perl
Patch: Kengo Seki

This closes #1984
2020-02-21 22:06:09 +01:00
Kengo Seki
f0c761e171 THRIFT-5059: Add cross tests for TZlibTransport in D
Client: D
Patch: Kengo Seki

This closes #1977
2020-02-21 21:41:27 +01:00
Homarechan
ded326101a THRIFT-5072 Fix data type generation.
Client: hs
Patch: Homarechan <tikuwakunn@icloud.com>

This closes #1974
2020-02-06 23:21:02 +01:00
Jens Geyer
a86a3549cf THRIFT-5074 Cleanup of test suite command line options
Client: Documentation
Patch: Jens Geyer & Kengo Seki

This closes #1990
2020-01-23 23:17:00 +01:00
Kengo Seki
c97e6aa860 THRIFT-5060: Add cross tests for TZlibTransport in Java
Client: Java
Patch: Kengo Seki

This closes #1978
2020-01-19 22:26:09 +01:00
Kengo Seki
f1c53418a7 THRIFT-4974: Add cross test for Python's Unix domain socket transport
Client: Python

This closes #1896.
2019-12-12 23:09:36 +00:00
Elvis Pranskevichus
9c43962da8 Revert "Revert "THRIFT-4002: Make generated exception classes immutable by default""
This reverts commit 1234ddf8a5.
2019-12-12 13:50:42 +00:00
D. Can Celasun
1234ddf8a5
Revert "THRIFT-4002: Make generated exception classes immutable by default"
This reverts commit b40f5c227f.
2019-12-10 22:13:06 +00:00
Elvis Pranskevichus
b40f5c227f
THRIFT-4002: Make generated exception classes immutable by default
Currently, the generated exception classes are not hashable under
Python 3 because of the generated `__eq__` method.  Exception objects
are generally expected to be hashable by the Python standard library.
Post-construction mutation of an exception object seems like a very
unlikely case, so enable hashing for all exceptions by making them
immutable by default.  This also adds a way to opt-out of immutability
by setting the `python.immutable` annotation to `"false"`.
2019-12-10 20:44:24 +00:00
Jens Geyer
ffb97e105c THRIFT-4990 Upgrade to .NET Core 3.1 (LTS)
Client: netstd
Patch: Jens Geyer

This closes #1961
2019-12-07 08:47:32 +01:00
Paulo Neves
4266faef0e THRIFT-5032 netstd: Use PascalCase for Properties.
Client: netstd
Patch: Paulo Neves

This closes #1949
2019-11-28 21:34:32 +01:00
Jens Geyer
5080645cb0 THRIFT-5027 Implement remaining read bytes checks
Client: netstd
Patch: Jens Geyer

This closes #1946
2019-11-23 22:40:53 +01:00
Jens Geyer
b541c6f2b1 THRIFT-5026 TestClient/Server ignores first cmdline argument
Client: netstd
Patch: Jens Geyer

This closes #1945
2019-11-23 22:33:29 +01:00
Jens Geyer
eacd1d48c8 THRIFT-5021 Implement MAX_MESSAGE_SIZE and centralize limits into a TConfiguration class
Client: netstd
Patch: Jens Geyer

This closes #1943
2019-11-23 01:15:45 +01:00
Jens Geyer
261cad3417 THRIFT-5020 Refactoring & minor fixes for netstd library
Client: netstd
Patch: Jens Geyer

This closes #1941
2019-11-21 22:26:09 +01:00
Jens Geyer
ec439548c5 THRIFT-4990 Switch to .NET core 3.0
Client: netstsd
Patch: Jens Geyer

This closes #1909
2019-11-02 17:34:23 +01:00
Jens Geyer
3f3567a114 THRIFT-4981 Remove deprecated netcore bindings from the code base
Client: netcore
Patch: Jens Geyer

This closes #1901
2019-10-20 16:21:29 +02:00
Jens Geyer
616df98f00 fix veralign.sh and bump version (again) 2019-10-20 00:12:14 +02:00
Jens Geyer
e02559fd46 bump version
This closes #1899
2019-10-17 20:31:24 +02:00
Jens Geyer
85d8162dcb Revert "THRIFT-4951: Remove senum from tests"
This reverts commit df8ef4b489.

The contributor confuses "deprecated" with "unsupported". Unless the feature as a whole is also removed, so essentially nothing is left to be tested. Regardless whether a particular feature is deprecated or not, removing a working test for it is NOT helpful. The only "achievement" of such efforts would be that the test coverage goes down, which is clearly not in our intention and only opens room for bugs and issues.
2019-10-10 01:38:05 +02:00
pengzhouhu
df8ef4b489 THRIFT-4951: Remove senum from tests
Senum are unsupported since 0.9.1.

This closes #1868.
2019-10-09 09:33:29 +01:00
Kengo Seki
caf8904913 THRIFT-4969: PHP test doesn't check the code generation with php:classmap
Client: php

This closes #1889.
2019-10-08 22:57:53 +01:00
Allen George
786c019476
Merge pull request #1870 from dbcfd/thrift-4953
THRIFT-4953: Missing Field Identifiers
2019-09-23 08:41:30 -04:00
pengzhouhu
2d03630b61 THRIFT-4950 fix bind print error and Macro call errors thrift_server_socket
Client: C_glib
Patch: pengzhouhu

This closes #1867
2019-09-22 11:38:29 +02:00
Ewan Higgs
b3745eea10 THRIFT-4932: Using a default string on a binary field results in invalid Java code.
Client: Java
Patch: Ewan Higgs

This closes #1875.
2019-09-20 16:15:04 +01:00
Jens Geyer
061eafb1fa THRIFT-4955 Haskell test broken due to extension to CompactProtoTestStruct
Client: Haskell
Patch: Jens Geyer

This closes #1872
2019-09-11 22:53:12 +02:00
Jens Geyer
8ff8abd6f2 THRIFT-4957 testSanePartsOfCompactProtoTestStruct FAILED
Client: Java
Patch: Jens Geyer

This closes #1873
2019-09-11 00:41:49 +02:00
Danny Browning
236032a8af THRIFT-4953: Missing Field Identifiers
When identifiers are not specified, negative id will be converted to a valid
rust identifier.
2019-09-06 10:40:53 -06:00
Jens Geyer
a715f701bf THRIFT-4944 Field IDs > 255 fail with compact protocol
Cliwent: Delphi
Patch: Jens Geyer
2019-08-28 22:56:35 +02:00
James E. King III
08fea1640e Mark some csharp-erl, erl-csharp ssl tests as known issues.
The latest ssl (9.3) in erl does not support TLSv1.0 or TLSv1.1
by default and cross tests are failing.  Since csharp was
deprecated in favor of netstd, ignoring it.
2019-07-07 12:16:52 -04:00
James E. King III
93ff9b0053 Update language levels, fix erlang and rust in CI
- Include rebar3 in docker image so erlang builds in CI
- Include the correct path in docker image so rust builds in CI
- Updated common lisp (sbcl) to 1.5.3 in docker image
- Updated dlang to 2.087.0 in docker image
- Updated dart to 2.0.0 in xenial docker image
- Updated dart to 2.4.0 in bionic docker image
- Updated erlang to 22.0 in docker image
- Updated openjdk to 11.0.3 in docker image
- Updated node.js to 10.16 in docker image
- Updated rust to 1.34.0 in xenial docker image
- Updated rust to 1.35.0 in bionic docker image

THRIFT-4905: Disable hanging experimental dlang async ssl test
2019-07-07 12:16:52 -04:00
Kevin Wojniak
6c847d2d02 THRIFT-4878 - [c_glib] add unix domain socket support to ThriftSocket (#1807) 2019-07-01 20:11:56 -04:00
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
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
Kevin Wojniak
99ae730c5d Fix environment spelling 2019-06-23 08:37:12 -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
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
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
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
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
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
Jens Geyer
421444f2df THRIFT-4831 interface ITProtocolFactory should be class TProtocolFactory again
Client: netstd
Patch: Jens Geyer

This closes #1767
2019-03-21 09:03:13 +01:00