Commit Graph

292 Commits

Author SHA1 Message Date
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
Jens Geyer
f7e6c654bd bump version number 2021-08-03 22:21:05 +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
66f9536e2c THRIFT-5387 Improved and simplified Delphi test setup
Client: Delphi
Patch: Jens Geyer
2021-03-29 22:59:59 +02: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
Jens Geyer
0d12832d92 misc. netstd improvements
Client: netstd
Patch: Jens Geyer

This closes #2344
2021-03-08 09:04:28 +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
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
Jens Geyer
cb094b80f2 THRIFT-5229 remove AS3 support
Client: AS3
Patch: Jens Geyer

This closes #2329
2021-02-14 11:18:01 +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
Mario Emmenlauer
b72b674efc Removed symbolic link tutorial/cl/ensure-externals.sh 2020-11-28 18:04:38 +08: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
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
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
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
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
Srinivas Reddy
68b113a73e (no ticket) Improved formatting
Client: doc
Patch: Srinivas Reddy

This closes #1989
2020-02-05 22:36:33 +01:00
Kengo Seki
d082d1d61b THRIFT-5052: Make the Go tutorial executable to the end
Client: Go
Patch: Kengo Seki

This closes #1969
2020-01-19 22:33:58 +01:00
Kengo Seki
46554d0a4c THRIFT-5051: Fix Python tutorials to address THRIFT-4002
Client: Python
Patch: Kengo Seki

This closes #1968
2020-01-19 22:18:52 +01:00
Kengo Seki
bee4f2fd69 THRIFT-5053: Fix the netstd tutorial console logging and README
Client: netstd
Patch: Kengo Seki

This closes #1970
2020-01-11 00:52:42 +01: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
Jens Geyer
a019cda66c THRIFT-5012 Centralize configuration aspects into a commonly used configuration object [ci skip]
Client: Delphi
Patch: Jens Geyer

This closes #1955
2019-11-28 00:52:47 +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
zembord
50caa4de84 THRIFT-4990: Upgrade to .NET Core 3.0
Client: netstsd
Patch: Edward Zhuravlov

This closes #1921
2019-11-08 19:24:59 +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
Kengo Seki
538e36c645 THRIFT-4975: Add Makefile.am to the PHP tutorial
Client: php

This closes #1900.
2019-10-18 14:09:01 +01:00
Kengo Seki
58efe895b5 THRIFT-4972: Add Makefile.am to the Perl tutorial
Client: Perl
Patch: Kengo Seki

This closes #1893
2019-10-18 00:15:23 +02:00
Jens Geyer
e02559fd46 bump version
This closes #1899
2019-10-17 20:31:24 +02:00
Kengo Seki
4fc4661c30 THRIFT-4967: Node.js tutorial server fails if the zip function is invoked
Client: nodejs

This closes #1887.
2019-10-08 23:09:04 +01:00
Kengo Seki
3b5c40c6ea THRIFT-4970: PHP tutorial doesn't work with Thrift v0.12.0+
Client: php

This closes #1890.
2019-10-08 22:53:14 +01:00
Kengo Seki
fd2acd1521 THRIFT-4968: Makefile.am in the Ruby tutorial refers to Python directory
Client: Ruby
Patch: Kengo Seki

This closes #1888
2019-10-06 12:19:16 +02:00
Kengo Seki
d1ccd0a08f THRIFT-4965: Perl tutorial server doesn't work due to the lack of use statement
Client: Perl

This closes #1885.
2019-10-02 00:15:44 +01:00
Matt Kantor
f9435643d7 Fix a typo in README.md.
The crate is named `ordered-float`, not `ordered_float`.
2019-07-07 12:18:30 -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
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
jose andres
5338d99176 bug fixed
Use TTcpChannel instead of TTcpTransport
2019-07-01 11:40:42 -04:00