Commit Graph

6443 Commits

Author SHA1 Message Date
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
kpandit
db7ad5b1a1 fix javadoc warnings 2021-08-22 18:43:11 +02:00
xiexiaoqun
72f04b4e2c Change StringBuffer to StringBuilder for more efficiency 2021-08-22 18:38:49 +02:00
Yuxuan 'fishy' Wang
57b9aa0dd5 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:57 -07: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
Mario Emmenlauer
a142709bae
Merge pull request #2437 from BioDataAnalysis/bda_several_improvements
Several smaller improvements in the C++ code and build
2021-08-13 14:48:54 +02:00
Mario Emmenlauer
a484b5c7e4 Added new method isUnixDomainSocket() to check type of socket 2021-08-13 10:14:52 +02:00
Mario Emmenlauer
29b083e9f8 Include signal.h depending on HAVE_SIGNAL_H, not depending on __linux__ 2021-08-13 10:14:22 +02:00
Mario Emmenlauer
04aabcb808 TCompactProtocol.tcc: add missing include cstdlib 2021-08-13 10:14:01 +02:00
Mario Emmenlauer
464339dbb5 build/cmake/BoostMacros.cmake: Removed 'Boost_NO_BOOST_CMAKE' and minor cleanup 2021-08-13 10:14:01 +02:00
Mario Emmenlauer
b01368164f lib/cpp/test/CMakeLists.txt: Added missing boost::chrono 2021-08-13 10:14:01 +02:00
Mario Emmenlauer
654968a24b build/cmake/DefineOptions.cmake: Minor improvement in logging for 'WITH_MT' 2021-08-13 10:14:01 +02:00
Mario Emmenlauer
b31377f0a1 TSocket.cpp: Print THRIFT_EAGAIN (timed out) to global error 2021-08-13 10:14:01 +02:00
Mario Emmenlauer
431368a368 lib/cpp/src/thrift/transport/TBufferTransports.h: Minor whitespace changes 2021-08-13 10:14:01 +02:00