Commit Graph

942 Commits

Author SHA1 Message Date
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