Commit Graph

968 Commits

Author SHA1 Message Date
tokcum
f0336417ca
THRIFT-5283: add support for Unix Domain Sockets in lib/rs (#2545)
Client: rs
2022-03-30 05:39:08 -04:00
Aki Sukegawa
7594da8d7a THRIFT-5536 Fix cross language tests 2022-03-08 16:06:00 -05:00
Jens Geyer
d88d4f93b3 THRIFT-5501 Remove Common Lisp support
Client: cl
Patch: Jens Geyer
2022-03-06 14:58:37 +01:00
Kevin Wojniak
b8920b01cb update makefile 2022-03-05 09:58:27 +01:00
Kevin Wojniak
d0e49f01ca add tests 2022-03-05 09:58:27 +01:00
Alex Kormukhin
c9b7bd7b12 THRIFT-5519 Java async client loses exceptions in void methods
Client: java

(cherry picked from commit c4d3e36ed4db97fb6213cc13a4e611a4e658b4b7)
2022-03-02 22:14:55 +01:00
郑桐
2fa907e84b THRIFT-5495: close client when shutdown server in go lib
Client: go
2022-02-16 14:14:40 -10:00
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