Jens Geyer
d8ed39803a
Merge branch '0.16.0' into master
2022-02-15 22:26:08 +01:00
Jens Geyer
d2c28b349d
THRIFT-5514 netstd test client slow in multithread mode
...
Client: netstd
Patch: Jens Geyer
2022-02-12 01:15:16 +01:00
Jens Geyer
3cac320451
THRIFT-5511 Full support for the new net6 "nullability" semantics
...
Client: netstd
Patch: Jens Geyer
This closes #2516
2022-02-08 17:45:10 +01:00
Jens Geyer
2d667f3476
FIX: test left too early on false premise
2022-02-05 03:04:41 +01:00
Jens Geyer
b9fe9c2417
FIX: test left too early on false premise
2022-02-03 22:27:15 +01:00
Jens Geyer
a10d401996
FIX: missing EXTRA_DIST entries
2022-02-02 22:58:16 +01:00
Yuxuan 'fishy' Wang
c4f2ba1173
Fix the travis issue
...
For example [1]:
FAILURE: Build failed with an exception.
* Where:
Script '/thrift/src/thrift-0.17.0/lib/java/gradle/generateTestThrift.gradle' line: 40
* What went wrong:
A problem occurred evaluating script.
> assert thriftFile.exists()
| |
| false
/thrift/src/thrift-0.17.0/test/partial/thrift_test_schema.thrift
[1]: https://app.travis-ci.com/github/apache/thrift/jobs/557030315
2022-01-27 07:38:24 -08:00
Jens Geyer
6868ebbb31
Release 0.16.0
2022-01-20 21:02:02 +01:00
Jens Geyer
98a232577f
THRIFT-5479 Add net 6 support
2022-01-09 21:57:30 +01:00
Ali-Akber Saifee
b597043146
Pin clap to 2.33 as 2.34 results in build failures
2021-12-13 08:55:45 +01:00
Jens Geyer
4c7b9fd38a
THRIFT-5479 Add net 6 support
...
Client: netstd
Patch: Jens Geyer
2021-12-05 13:05:58 +01:00
kpandit
5a9d139be4
THRIFT-5443: add support for partial Thrift deserialization
...
Client: java
Patch: Bhalchandra Pandit
This closes #2439
2021-11-20 00:57:57 +01:00
Jens Geyer
7156940c1d
Refactoring test server/client to use async/await more consistently
2021-11-14 12:35:30 +01:00
Jens Geyer
591575a8a8
THRIFT-5476 Deprecate Common Lisp support
...
Client: cl
Patch: Jens Geyer
2021-10-31 12:03:12 +01:00
Allen George
7e07267379
THRIFT-5457 Pin bitflags to 1.2 to maintain MSRV ( #2454 )
...
Client: rs
See https://issuehunt.io/r/clap-rs/clap/issues/2691 for an explanation of the underlying issue.
2021-09-11 11:30:34 -04:00
Yuri Melnikov
38bd636a18
THRIFT-4868: Golang: Fix compilation for optional set<binary> with default values
2021-09-09 22:19:17 -07:00
Mario Emmenlauer
bdb54bc1c9
Use modern OpenSSL cmake syntax (if available), and larger cmake cleanup
2021-09-02 08:54:42 +02:00
Yuxuan 'fishy' Wang
17373a3f35
go: Fix things staticcheck complains about
...
Client: go
Staticcheck is the recommended replacement of the frozen and deprecated
official golint linter [1].
Fix the things it complained about (or add lint:ignore directive) in:
- lib/go/thrift
- lib/go/test/tests
- tutorial/go/src
- test/go/src
- compiler generated code
The majority of the fixes are in the following categories:
- Use of deprecated function (mainly the TConfiguration related ones)
- Redundant break in switch cases
- Unused and unexported variables/fields/functions
Also in the same spirit as fb539ae
, remove the error return from
NewTSSLSocket as it can never be non-nil.
This change will be cherry-picked into 0.15.0 branch after merged.
[1]: https://groups.google.com/g/golang-nuts/c/rCP70Aq_tBc
2021-08-27 09:28:08 -07:00
Mario Emmenlauer
db997bde47
Minor whitespace cleanup in csproj files
2021-08-25 11:55:05 +02:00
Yuxuan 'fishy' Wang
a265236feb
THRIFT-5447: Update supported Go versions
...
Client: go
Update go versions used in travis to 1.16.7 and 1.17, update
LANGUAGES.md, and update go's README to clarify on support policy.
This change will be cherry-picked into 0.15.0 branch after merged.
2021-08-19 14:09:24 -07:00
Yuxuan 'fishy' Wang
fb539ae412
THRIFT-5453: Defer DNS from NewTSocketConf to TSocket.Open
...
Client: go
We used to do DNS lookups in NewTSocketConf, without any timeout checks.
Stop doing that and do DNS lookups in TSocket.Open instead, which
already checks for ConnectTimeout set in TConfiguration.
Also remove the error return from NewTSocketConf.
2021-08-11 11:08:49 -07:00
Jens Geyer
f7e6c654bd
bump version number
2021-08-03 22:21:05 +02:00
Jens Geyer
273607d1f4
THRIFT-5444 Netstd generator produces uncompileable code for enums ending with "_result" or "_args"
...
Client: netstd
Patch: Jens Geyer
This closes #2424
2021-08-01 12:01:27 +02:00
Jens Geyer
63d114de97
THRIFT-5422 add threadpool server to netstd test suite impl
...
Client: netstd
Patch: Jens Geyer
This closes #2398
2021-05-26 09:25:39 +02:00
Mario Emmenlauer
aeb8964dda
THRIFT-5407: Minor changes in .NET to support netcoreapp3.1
...
Client: netstd
Patch: Mario Emmenlauer
This closes #2384
2021-05-05 20:43:44 +02:00
Jens Geyer
2b2ea622b6
THRIFT-5396 deprecate "Async" method postfix
...
Client: netstd
Patch: Jens Geyer
This closes #2374
2021-04-10 10:10:27 +02:00
Jens Geyer
ef0cb01abe
THRIFT-5391 Named pipes transport hardening
...
Client: netstd
Patch: Jens Geyer
This closes #2367
2021-04-02 19:05:59 +02:00
zeshuai007
037753eb6b
THRIFT-5265 add the zlib transport to c_glib
...
Client: c_glib
Patch: Zezeng Wang
This closes #2216
2021-04-01 23:34:47 +02:00
Sergey Yelin
eb0f1175a7
THRIFT-5377 Remove Erlang R16 support
...
Client: erl
Patch: Sergey Yelin
This closes #2357
2021-03-26 22:19:05 +01:00
Yuxuan 'fishy' Wang
b71f11e251
THRIFT-5358: Add go.mod file to root directory
...
Client: go
This unblocks the development under go 1.16+, which starts to complain
when there's no go.mod file in any of the directories.
The current approach is certainly not the best solution ever, for
example it does not run the tests under lib/go/test/tests but copy them
into lib/go/test/gopath/src/sometest and run them there instead, but
those improvements can be done in the future in follow up PRs and this
should be a good enough first step to unblock developments.
2021-03-24 13:32:14 -07:00
Jens Geyer
66d897667c
THRIFT-5347 Remove deprecated Haskell bindings
...
Client: hs
Patch: Jens Geyer
This closes #2352
2021-03-22 09:42:38 +01:00
Jens Geyer
2dcefadba8
THRIFT-5370 Haxe 4 compatibility incl TConfiguration & MAX_MESSAGE_SIZE
...
Client: haxe
Patch: Jens Geyer
This closes #2349
2021-03-17 20:42:29 +01:00
Allen George
99c3aa27e6
Enable clippy in all Rust targets and ensure that all existing code is clippy-clean ( #2341 )
...
Client: rs
2021-03-06 14:11:56 -05:00
Allen George
55c3e4c2ef
Reformat rust code using 1.40 rustfmt and fail build if rustfmt fails ( #2339 )
2021-03-01 23:19:52 -05:00
aaronstgeorge-wf
1ab156ab17
THRIFT-5285 Update http package + update to dart 2 + stylistic changes
...
Client: Dart
Patch: aaronstgeorge-wf
This closes #2251
2021-03-01 22:59:33 +01:00
Allen George
2e90ef569c
[THRIFT-5314][THRIFT-4101] Generate enums that don't error on unexpected values ( #2337 )
...
Client: rs
2021-03-01 14:47:04 -05:00
Allen George
5cff2793c0
THRIFT-4451 Use a shared TcpStream between both Thrift clients in cross-test
...
Client: rs
2021-02-28 17:20:41 -05:00
Yuxuan 'fishy' Wang
b0b353191a
Move ConflictingNamesTest to lib/go/test
...
Client: go
Also add missing copyright header for files added in
https://github.com/apache/thrift/pull/2307 .
2021-02-22 10:02:48 -08:00
Yuxuan 'fishy' Wang
a2522c0c83
THRIFT-4914: Fix name redeclaration bug in compiled go code
...
Client: go
This fixes the bug reported in
https://github.com/apache/thrift/pull/2315#discussion_r577919697 .
2021-02-17 18:50:47 -08:00
Neil Williams
055fe67ec1
THRIFT-5352: Fix construction of Py exceptions with no fields
...
Client: py
When no fields are present, we don't get the special constructor that
uses __setattr__ to avoid these checks. So the default constructor sets
message normally and triggers the anti-mutation tripwires.
2021-02-16 16:31:00 -08:00
Jens Geyer
526a1acf3b
THRIFT-5349 Add net5.0 as supported platform
...
Client: netstd
Patch: Jens Geyer
This closes #2328
2021-02-15 09:12:56 +01:00
Mario Emmenlauer
7553fc5d52
CMake: Pass linker dependencies transitively to downstream projects
2021-02-12 11:10:15 +01:00
Jens Geyer
3fc0b8d061
Version number aligned to 0.15.0
2021-02-11 23:17:45 +01:00
Jens Geyer
b5fe1dbc0c
Reverted wrongly pushed commits.
...
- This reverts commit 876aee506b
.
- This reverts commit b89316d54b
.
2021-02-11 22:49:49 +01:00
Jens Geyer
876aee506b
Setup for Visual Studio 2019 + workarounds for some open tickets:
...
- (NO TICKET) fix Haxe warning
- Referenzdaten PerfTest Delphi und netstd
- "custom build" added to version info
- netstd nuget upgrades
2021-02-10 20:27:08 +01:00
Jens Geyer
b89316d54b
Revert "THRIFT-4982 Remove deprecated C# bindings from the code base"
...
Only compiler, test, lib and tutorial code.
2021-02-10 20:27:08 +01:00
Jens Geyer
2ef0113d69
Consolidated gitignore & added missing EXTRA_DISTs
2021-02-05 12:58:49 +01:00
Jens Geyer
828ffa8963
silenced few warnings
...
Client: netstd
Patch: Jens Geyer
2020-11-21 15:19:02 +01:00
Mario Emmenlauer
47e4923a99
Minor whitespace changes for netstd
...
Patch: Mario Emmenlauer
Client: netstd
This closes #2282
2020-11-19 22:23:35 +01:00
Allen George
7ddbcc07ec
THRIFT-5306: Rust code and generated code no longer has clippy warnings (Rust 1.40)
...
Client: rs
NOTE: Also properly update the min/max supported Rust versions
2020-11-12 08:47:42 -05:00
Jens Geyer
25f8d5385f
fix CI: add Erlang crashes to known failures
2020-09-20 19:07:04 +02:00
Jens Geyer
dbc4fbf4fe
fix CI: add Erlang crashes to known failures
2020-09-17 09:55:07 +02:00
Jens Geyer
413377bbbc
fix CI: add Erlang crashes to known failures
2020-09-12 19:18:36 +02:00
longzhiri
03715899d2
THRIFT-5260 Fix the thrift compiler generate problematic lua code for the oneway method
...
Client: lua
Patch: longzhiri <persistentsnail@gmail.com>
This closes #2212
The oneway method's processor has no need to write the result to client, but it is necessary to return values of each handler's return.
2020-09-12 19:01:36 +02:00
Allen George
b0d14133d5
THRIFT-5158 Update Rust generator and Rust lib,test,tutorial to only support 2018 edition
...
Client: rs
Patch: Allen George
This closes #2078
2020-09-02 09:03:40 +02:00
Jens Geyer
68c1506715
THRIFT-5261 Support for deprecated methods (via annotation)
...
Client: Delphi
Patch: Jens Geyer
This closes #2213
2020-08-05 11:55:00 +02:00
Jens Geyer
506e311c38
FIX: CI error at ./test/py/TestServer.py:178:26: F507 '...' % ... has 1 placeholder(s) but 6 substitution(s)
...
FIX: CI error at ./test/crossrunner/compat.py:11:21: E741 ambiguous variable name 'l'
Patch: Jens Geyer
This closes #2147
2020-05-19 00:00:29 +02:00
penenin
1ab096c80a
THRIFT-5185: Support for using WebSockets as a server transport
...
Client: cpp
2020-05-18 20:27:31 +01:00
Zezeng Wang
371d92f159
THRIFT-5179: Fix generated code for struct's named "a" or "b"
...
Client: cpp
2020-04-28 07:23:15 +01:00
Mario Emmenlauer
2d2df9e892
Allow wrapping TTransportFactory into a TZlibTransportFactory
...
Client: cpp
2020-04-24 17:02:18 +01:00
Mario Emmenlauer
802793638b
THRIFT-4282: Disabled StressTestNonBlocking on Windows
2020-04-24 07:51:37 +01:00
zeshuai007
57c2507208
THRIFT-5168 Useless generated code when .thrift file only has service type
...
Client: cpp
Patch: zeshuai007 <51382517@qq.com>
This closes #2095
2020-04-21 23:29:14 +02:00
wangyunjian
5f35275422
THRIFT-5157 Fix memory leak in c_glib unit tests
...
Client: c_glib
Patch: wangyunjian
Signed-off-by: wangyunjian <wangyunjian@huawei.com>
2020-04-16 21:48:24 -04:00
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