Philippe Antoine
65ea75279a
Adds fuzz target for oss-fuzz integration
2021-03-24 10:03:20 -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
cd2fae091b
THRIFT-5373 HTTP status in case of Protocol/Transport exceptions
...
Client: netstd
Patch: Jens Geyer
2021-03-18 16:53:32 +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
Philippe Antoine
62beb6751d
Early error check in golang struct reading
...
avoids a timeout on malformed input found by fuzzing
2021-03-15 09:28:27 -07:00
Stan Hu
cc70b4e89a
THIRFT-5367 Fix crashes when using Ruby compaction GC
...
Client: rb
Patch: Stan Hu
This closes #2347
2021-03-11 22:41:44 +01:00
Allen George
de6f61aed0
THRIFT-4098 Namespace support for generated Rust code ( #2348 )
...
Client: rs
2021-03-11 08:25:26 -05:00
Jens Geyer
f926d84a48
added contrib readme [ci skip]
2021-03-10 23:05:06 +01:00
Jens Geyer
83370694d0
THRIFT-5332 Question: list all the reserved words in thrift doc
2021-03-09 23:35:57 +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
372ada90df
THRIFT-5363 Render constant names correctly ( #2343 )
...
Client: rs
2021-03-07 09:03:52 -05:00
Allen George
a194276fab
THRIFT-5360 Remove deprecated Error::description() methods ( #2342 )
...
Client: rs
2021-03-06 17:39:02 -05:00
Jens Geyer
7482f1130e
FIX: added missing ASF header
2021-03-06 23:06:18 +01:00
Jens Geyer
b4d108d47e
FIX: added missing ASF header
2021-03-06 22:48:41 +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
iadcode
a8c041dd58
Move java dependency tomcat-embed to the crossTest configuration to remove outdated unnecessary compile time dependency.
...
This closes #2340
For the java libthrift, tomcat-embedded is only used in crossTests, I have moved it to crossTest configuration so the libthrift java package does not require this unnecessary dependency for compilation. Instead, the java-servlet dependency has been reintroduced in compile time. I've also taken this opportunity to update both dependenciesto a later version.
2021-03-02 20:14:53 +01: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
4f6439b309
Merge pull request #2338 from allengeorge/thrift-4451
...
THRIFT-4451 Use a shared TcpStream between both Thrift clients in cross-test
2021-02-28 20:33:08 -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
James Z.M. Gao
93ae7af5ba
THRIFT-5334 change version of thrift-maven-plugin to 0.14.0
...
Client: Java
Patch: James Z.M. Gao
This closes #2304
2021-02-26 21:06:46 +01:00
Jens Geyer
6140fb27e0
fix to publish haxelib
2021-02-24 23:05:19 +01:00
Jens Geyer
e254b21c73
fix nullptr exception in publishing.gradle
2021-02-24 22:31:45 +01: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
Allen George
6813b1914b
Merge pull request #2336 from allengeorge/thrift-5299
...
THRIFT-5299: Encode sequence numbers as non-zigzag varint
2021-02-21 13:35:37 -05:00
Allen George
4890510022
Avoid custom non-zigzag read/write functions
2021-02-20 08:47:01 -05:00
Allen George
8a1743df9e
THRIFT-5299: Encode sequence numbers as non-zigzag varint
...
Client: rs
2021-02-19 23:34:33 -05:00
Triton
62f1bd5561
THRIFT-5355 Do not rely on compiler and check boundaries
...
Client: cpp
Patch: Triton <19377203+EnigmaTriton@users.noreply.github.com>
This closes #2305
2021-02-19 09:00:56 +01:00
Jens Geyer
c15e75d4ac
THRIFT-5354 disable IDE0083 warning
...
Client: netstd
Patch: Jens Geyer
The recommended pattern matching expression \"that is not SomeType\" requires C#9/net5.0 but we still want to support earlier versions (.NET Core 3.1 is LTS until 2022-DEC-03)
2021-02-19 00:28:39 +01:00
Yuxuan 'fishy' Wang
f9177f34e6
THRIFT-5353: Fix import dedup without explicit go namespace
...
Client: go
When a thrift file includes 2 or more other thrift files, and those
included thrift files do not have explicit go namespaces defined, the
current import dedup logic would wrongly use their empty namespace and
skip the second one, while the real import namespace should be inferred
from the filename.
2021-02-18 13:54:04 -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
Orion Poplawski
36bd59ff82
THRIFT-5350 char is unsigned on non-x86 arches, use signed char to avoid compiler warning about always true comparisons
...
Patch: Orion Poplawski
This closes #2331
2021-02-17 19:51:36 +01: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
Jens Geyer
8461365378
Merge branch '0.14.0'
2021-02-15 03:46:08 +01:00
Juan Cruz Viotti
2e7f39f6b6
Clarify Compact Protocol var int encoding definition
...
Patch: Juan Cruz Viotti
This closes #2312
I'm having problems following the var int explanation from the Compact
Protocol spec. Here is an attempt to clarify it with more precise
encoding steps and with an example.
I'm also mentioning, for completeness, that the formal name of such
variable-length integer encoding is Unsigned LEB128 (Unsigned Little
Endian Base-128).
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
2021-02-14 11:40:14 +01:00
Juan Cruz Viotti
47b3d3b148
Make it clear that strings are not NUL-delimited
...
Patch: Juan Cruz Viotti
This closes #2313
It might not be obvious from the existing description. I had to run some
experiments to double-check it and this might save some time to the next
interested reader.
Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
2021-02-14 11:38:54 +01:00
Tyler Christensen
b04e39a7e9
THRIFT-5318: Update PHP thrift_protocol extension for PHP 8
...
Client: php
Patch: Tyler Christensen & Rasmus Lerdorf
This closes #2288
See https://github.com/php/php-src/blob/PHP-8.0.0/UPGRADING.INTERNALS
2021-02-14 11:34:38 +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
b51a62b968
THRIFT-5347 Deprecate Haskell bindings
...
Client: hs
Patch: Jens Geyer
2021-02-13 15:15:09 +01:00
Jens Geyer
d446f0248f
Added nuget package info to csproj, needed to publish the nuget package
2021-02-13 12:22:06 +01:00
Jens Geyer
2af1037b8e
Added nuget package info to csproj, needed to publish the nuget package
2021-02-13 12:21:31 +01:00
Mario Emmenlauer
102e83413b
Merge pull request #2276 from BioDataAnalysis/bda_add_noncopyable_base
...
Added TNonCopyable.h in favor of boost dependency
2021-02-12 17:57:25 +01:00
Mario Emmenlauer
d270b35e58
Added TNonCopyable.h in favor of boost dependency
2021-02-12 15:35:11 +01:00
Mario Emmenlauer
1d905de644
Merge pull request #2141 from BioDataAnalysis/bda_better_external_source_deps
...
CMake: Added better dependency tracking for external build tools
2021-02-12 15:33:57 +01:00
Mario Emmenlauer
037916b45d
CMake: Added better dependency tracking for external build tools
2021-02-12 13:05:19 +01:00
Mario Emmenlauer
e5e7d1d5fc
Merge pull request #2283 from BioDataAnalysis/bda_cmake_improvements
...
Diverse cmake improvements in dependency handling
2021-02-12 13:04:06 +01:00
Mario Emmenlauer
7553fc5d52
CMake: Pass linker dependencies transitively to downstream projects
2021-02-12 11:10:15 +01:00
Mario Emmenlauer
0db67ab751
Added support for thriftz to ThriftConfig.cmake.in
2021-02-12 11:10:15 +01:00