Commit Graph

6406 Commits

Author SHA1 Message Date
Jens Geyer
50f97135cc FIX Python code style TTransport.py:400:5: E301 expected 1 blank line, found 0 2021-11-14 12:35:52 +01:00
Jens Geyer
ea1e8ff140 THRIFT-5481 consolidate netstd server implementation details into one common model
Client: netstd
Patch: JensG
2021-11-14 12:35:30 +01:00
Jens Geyer
7156940c1d Refactoring test server/client to use async/await more consistently 2021-11-14 12:35:30 +01:00
Yiyang Zhou
da1e19b72b THRIFT-5454: add __setState__ function to TProcessPoolServer to enable correct multiprocessing behavior related to pickling
Client: Python
2021-11-14 00:54:12 +01:00
Jens Geyer
ea39a14a1f THRIFT-5480 TThreadPoolAsyncServer using TFramedTransport mistakenly drops client
Client: netstd
Patch:  Ioannis Efthymiou & Jens Geyer

This closes #2478
2021-11-14 00:20:19 +01:00
Jens Geyer
591575a8a8 THRIFT-5476 Deprecate Common Lisp support
Client: cl
Patch: Jens Geyer
2021-10-31 12:03:12 +01:00
Jens Geyer
3f1fd59925 - Fixed a few XML comments and ArgumentException arguments
- Suppressed certain unwanted CS1591 "XML comments missing" warnings
2021-10-28 23:02:12 +02:00
Jens Geyer
007b99b72a THRIFT-5408 Support for deprecated methods - follow_up fix 2021-10-27 16:43:12 +02:00
Jens Geyer
2b8be5154f ran npm audit fix to fix several reported issues 2021-10-23 13:41:38 +02:00
Kevin Wojniak
839a1daf5a THRIFT-5456 Disable SIGPIPE on TSocketServer
CLient: cpp
Patch: Kevin Wojniak

This closes #2440
2021-10-21 22:57:04 +02:00
郑桐
0f760537c3 skip map value with depth limit 2021-10-18 23:00:55 +02:00
Kevin Wojniak
6a7278b9db Fix processing typo in TSocketServer.swift 2021-10-18 22:10:16 +02:00
Brian Forbis
50dd262f28 THRIFT-5416: Allow UDP Sockets 2021-10-18 22:08:49 +02:00
Jens Geyer
2145741a9d FIX for "error: malformed HTML" broken by 91be87a76f 2021-10-18 22:04:29 +02:00
Yuming Wang
152dab945c THRIFT-5237: FOLLOWUP: Add a new constructor for TSocket
Workaround for this issue: https://github.com/apache/spark/pull/34280#issuecomment-945814566
2021-10-18 22:03:49 +02:00
Allen George
2b691ee3bf Fix Rust formatting error
Client: rs
2021-10-15 20:33:25 +02:00
Jens Geyer
353e810199 THRIFT-5470 Error: Constraint check failure for haxe.ds.ObjectMap.K
Client: hx
Patch: Jens Geyer
2021-10-15 03:22:24 +02:00
Opportunity
e5c636defe THRIFT-5448: map binary to typescript Buffer
Client: js
Author: OpportunityLiu
2021-10-14 23:28:09 +02:00
Sergey Yelin
e394cb4c9f THRIFT-5471 Introduce delimiter and app_prefix options to erl generator
Client: erl
Patch: Sergey Yelin

This closes #2457
2021-10-14 23:23:59 +02:00
kpandit
91be87a76f fix javadoc warnings
Client: java
Patch: Bhalchandra Pandit

This closes #2444
2021-10-14 23:16:57 +02:00
James E. King III
cb808fcb79 fix perl packaging issue 2021-09-26 07:46:16 -04:00
James E. King III
7ecc9ef021 minor changes to make pypi distribution look better (long desc) 2021-09-25 22:09:31 -04:00
Balázs Grill
ab2f23a2a9 Modified build tags to allow js/wasm target 2021-09-20 13:43:30 -07:00
Jens Geyer
e3be32112a Merge branch '0.15.0' into upstream 2021-09-11 23:00:25 +02: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
xiexiaoqun
0cc06506b8
Remove redundant format!(..) macro calls (#2443)
Client: rs
2021-09-08 22:43:00 -04:00
Jens Geyer
8317ec43ea Branch 0.15.0 2021-09-04 20:45:55 +02:00
Yuxuan 'fishy' Wang
67bf304de1 THRIFT-5459: Fix breaking issue when adding a new exception
Client: go

Currently in the compiler generated go code, adding a new exception to
an existing endpoint can cause unexpected behaviors when the client
isn't updated. Fix the issue.

Will be cherry-picked into 0.15.0 after merged.
2021-09-03 22:25:33 -07:00
Yuxuan 'fishy' Wang
cdbcff9995 THRIFT-5459: Fix breaking issue when adding a new exception
Client: go

Currently in the compiler generated go code, adding a new exception to
an existing endpoint can cause unexpected behaviors when the client
isn't updated. Fix the issue.

Will be cherry-picked into 0.15.0 after merged.
2021-09-03 22:24:25 -07:00
Mario Emmenlauer
f83ebeae9d
Merge pull request #2451 from BioDataAnalysis/bda_cmake_cleanup
Minor cmake cleanup
2021-09-02 14:10:01 +02:00
Mario Emmenlauer
e66814e6bc
Merge pull request #2450 from BioDataAnalysis/bda_slim_windows_h
Reduce the usage of Windows.h, and add macros to slim Windows.h
2021-09-02 14:07:53 +02:00
Mario Emmenlauer
bdb54bc1c9 Use modern OpenSSL cmake syntax (if available), and larger cmake cleanup 2021-09-02 08:54:42 +02:00
Mario Emmenlauer
034c9359e9 Reduce the usage of Windows.h, and add macros to slim Windows.h 2021-09-02 08:53:36 +02:00
Mario Emmenlauer
b8069cbe9c
Merge pull request #2449 from BioDataAnalysis/bda_unify_nonblockingserversocket
Updated TNonblockingServerSocket to better match TServerSocket
2021-09-02 08:51:06 +02:00
Mario Emmenlauer
dd0bf89ca3 Updated TNonblockingServerSocket to better match TServerSocket 2021-09-01 15:30:35 +02:00
Mario Emmenlauer
0f5aebb52c
Merge pull request #2327 from BioDataAnalysis/bda_add_domain_sockets_for_windows
THRIFT-5187: Added Win32 support for domain sockets (AF_UNIX)
2021-09-01 11:04:55 +02:00
Mario Emmenlauer
18bf591535 Added support for Unix domain sockets on Windows 2021-08-31 14:53:14 +02:00
Mario Emmenlauer
5b25b99cda
Merge pull request #2447 from BioDataAnalysis/bda_use_cmake_config_on_msvc
Use the cmake-generated thrift config also on MSVC
2021-08-31 14:52:40 +02:00
Mario Emmenlauer
5a64c71017 Use the cmake-generated thrift config also on MSVC 2021-08-30 11:41:54 +02:00
Mario Emmenlauer
ee65215143 TNonblockingServer.cpp: Replace deprecated bzero with memset (more portable) 2021-08-30 11:41:54 +02:00
Mario Emmenlauer
6762a907c1
Merge pull request #2448 from BioDataAnalysis/bda_fix_dotnet_docker
build/docker/*/Dockerfile: Added dotnet additional dependencies
2021-08-30 11:40:33 +02:00
Mario Emmenlauer
96ed727098 build/docker/*/Dockerfile: Added dotnet additional dependencies 2021-08-30 11:25:55 +02:00
Yuxuan 'fishy' Wang
5f829f143c 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:37 -07: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
d53f056427
Merge pull request #2445 from BioDataAnalysis/bda_add_dotnet_docs
Added dotnet documentation
2021-08-25 19:13:51 +02:00
Mario Emmenlauer
70ef984655 lib/netstd/Thrift/Thrift.csproj: Generate documentation for .NET 2021-08-25 11:56:06 +02:00
Mario Emmenlauer
db997bde47 Minor whitespace cleanup in csproj files 2021-08-25 11:55:05 +02:00
Triton
ace8613f0f Fix specification to match implementation
As stated in THRIFT-5300, the specification was wrong and type identifiers for collections DO match the field types (except for the obvious boolean type which is then represented as only `BOOL_TRUE`).

Also replaced `BYTE` name with `I8` as the former is documented as a compatibility name only (especially since some languages have an unsigned byte type).

[skip ci] Trivial documentation changes only.
2021-08-22 19:00:10 +02:00
Jorge C. Leitao
77afa017ce Made server optional. 2021-08-22 18:46:08 +02:00