Commit Graph

991 Commits

Author SHA1 Message Date
Jens Geyer
154d1548a8 THRIFT-5626 Parser should not confuse data types and field names
Patch: Jens Geyer
2022-09-10 23:17:47 +02:00
Jens Geyer
60970c4e10 THRIFT-5624 suboptimal performance of the c# named pipe server transport in multithread servers
Client: netstd
Patch: Jens Geyer
2022-09-09 23:00:09 +02:00
Jens Geyer
5e37d5751e THRIFT-5623 ref to disposed instance should be set to null
Client: netstd
Patch: Jens Geyer

plus some improvements regarding error outputs
2022-09-08 23:18:02 +02:00
Jiayu Liu
aa85593c89 THRIFT-5600: rust lib to upgrade to edition 2021
Client: rs
Patch: Jiayu Liu

This closes #2628
2022-09-05 22:56:04 +02:00
Jens Geyer
f066d84ffb Replace ThriftTest.thrift with v0.16/ThriftTest.thrift to allow for merging the partially completed uuid implementation to master 2022-09-05 22:04:22 +02:00
Jens Geyer
18564d29cf THRIFT-5593 Implement uuid for Haxe
Client: hx
Patch: Jens Geyer

Relies on https://github.com/flashultra/uuid/issues/4 being fixed, thus may require using the most recent uuid package from Github instead of the Haxelib package.
2022-09-05 22:04:21 +02:00
Jens Geyer
62445c1d2e THRIFT-5591 Add uuid type to IDL and implement reference code (+ improved self-tests)
Client: compiler general, netstd, Delphi
Patch: Jens Geyer
2022-09-05 22:04:20 +02:00
Tdxdxoz
85d82bfd0c THRIFT-5600: upgrade rust toolchain to 1.61 and edition 2021
THRIFT-5606: Wrong indent for const double
Client: rs
Patch: Ommy Zhang <tdxdxoz@gmail.com>

This closes #2634
2022-09-01 22:05:45 +02:00
Max-Gerd Retzlaff
75bdba5d25 THRIFT-5410 CL build broken: Component :NET.DIDIERVERNA.CLON.TERMIO not found
Client: cl
Patch: Max-Gerd Retzlaff

This closes #2646
2022-08-30 23:58:58 +02:00
Max-Gerd Retzlaff
04057ac28a Revert "THRIFT-5501 Remove Common Lisp support"
This reverts commit d88d4f93b3.
2022-08-30 23:58:57 +02:00
Jens Geyer
c75646a359 version bump 2022-08-30 23:55:34 +02:00
Jens Geyer
7a5f29d48d script to regenerate server/client keys 2022-07-01 21:15:57 +02:00
Jens Geyer
b18964e135 script to regenerate server/client keys 2022-07-01 21:14:12 +02:00
Jens Geyer
5476585487 eplaced outdated TLS test keys 2022-07-01 14:46:47 +02:00
Jens Geyer
7628392dff THRIFT-5590 Haxe complex inits
Client: hx
Patch: Jens Geyer

This closes #2622
2022-06-13 23:05:02 +02:00
Jens Geyer
ce1d314ef3 THRIFT-5589 Haxe compiler/runtime fixes
Client: hx
Patch: Jens Geyer
2022-06-07 08:56:54 +02:00
Jens Geyer
0b1eb6bcab THRIFT-5588 Remove slist/senum from IDL
Patch: Jens Geyer

This closes #2615
2022-06-06 01:44:16 +02:00
Christopher Tubbs
4646a3557b
Remove execute bit from plain text files in git (#2611)
Trivially change file mode from 755 to 644 for files in git that
shouldn't be marked as executable. These were probably marked as
executable due to some contributors developing on Windows using a
filesystem that doesn't support POSIX file modes, or aggressively marks
everything as executable.
2022-05-24 05:19:41 -04:00
Jiayu Liu
ab83ffc894
THRIFT-5564: setup cross test in GitHub action (#2602)
* include java and kotlin into precross
2022-05-09 13:56:30 -04:00
Jiayu Liu
5fdfd0cae0
THRIFT-5580: refactor kotlin cross tests (#2600)
refactor kotlin cross test to:
* use proper cli framework,
* add more transport/protocol cases
2022-05-08 22:52:26 -04:00
Yuxuan 'fishy' Wang
8045d82f0d Update Go versions used in travis and LANGUAGES.md
Per our support policy, drop support of go 1.16 and add support of go
1.18.

Also enable go vet in make check, and fix issues reported by go vet.
2022-04-25 16:00:53 -07:00
Jiayu Liu
49b2d6b888 THRIFT-5548: add kotlin code gen
Client: kotlin
Patch: Jiayu Liu

This closes #2556
2022-04-20 23:49:33 +02:00
Jiayu Liu
1eb361a893 THRIFT-5521: [java gen] use jdk8 option type in java generator code
Client: Java
Patch: Jiayu Liu

This closes #2525
2022-04-16 09:58:32 +02:00
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