Commit Graph

6369 Commits

Author SHA1 Message Date
James Z.M. Gao
65fb49bb41 THRIFT-5334 change version of thrift-maven-plugin to 0.14.0
Client: Java
Patch: James Z.M. Gao
2021-02-26 21:07:11 +01: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
4a8b0f9ecc fix to publish haxelib 2021-02-24 23:05:04 +01:00
Jens Geyer
e254b21c73 fix nullptr exception in publishing.gradle 2021-02-24 22:31:45 +01:00
Jens Geyer
13f9e9e864 fix nullptr exception in publishing.gradle 2021-02-24 20:40:45 +01:00
Yuxuan 'fishy' Wang
e89b3e11ee 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-22 10:02:58 -08:00
Yuxuan 'fishy' Wang
bb8fec7930 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:58 -08:00
Yuxuan 'fishy' Wang
abb8fa8c44 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-22 10:02:58 -08:00
Neil Williams
cee3ddb0e0 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-22 10:02:58 -08: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
Jens Geyer
2c0f932301 THRIFT-5347 Deprecate Haskell bindings
Client: hs
Patch: Jens Geyer
2021-02-19 00:08:16 +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
011eb22e32 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:53:04 +01: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
Mario Emmenlauer
4fa710ea76 Added c++ dependencies to ThriftConfig.cmake.in 2021-02-12 11:10:15 +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
Jihoon Seo
897652e5f0 THRIFT-5348: Update debian/copyright [skip ci]
Patch: Jihoon Seo

This closes #2326
2021-02-10 20:25:47 +01:00
Jens Geyer
2ef0113d69 Consolidated gitignore & added missing EXTRA_DISTs 2021-02-05 12:58:49 +01:00
Jens Geyer
8411e189b0 Version 0.14.0 2021-02-05 00:13:59 +01:00
Jens Geyer
0be1b7d758 Version 0.14.0 2021-02-04 23:36:10 +01:00
Jens Geyer
705f377833 Version 0.14.0 2021-02-04 22:13:17 +01:00
Christopher Tubbs
ebfa771a26 THRIFT-5274: Enforce Java 8 compatibility
Client: Java
Patch: Christopher Tubbs

This closes #2325

* Enforce Java 8 compatibility using the new `--release` flag introduced
  in JDK9, so that all generated bytecode follows Java 8 strict
  compatibility, even when building with newer JDK versions (9 or later)
  (this fixes NoSuchMethodError with ByteBuffer, and other potential
  incompatibilities in bytecode generation that would make the code
  unable to run on a Java 8 JRE)
* Also strictly enforce the JDK version used to build the project by
  ensuring it is at least version 1.8, and will fail fast when building
  the Java libraries if this condition is not met.
2021-02-04 22:10:30 +01:00
Ting Sun
518163afbd Update README.md
Patch: Ting Sun

This closes #2317
2021-02-04 20:49:45 +01:00