Commit Graph

7023 Commits

Author SHA1 Message Date
Jiayu Liu
d40dd7203e
use gradle 8.4 (#2869) 2023-10-19 08:37:49 +08:00
Mario Emmenlauer
52581915f7
Merge pull request #2871 from BioDataAnalysis/emmenlau_revert_breaking_cast
Revert "lib: cpp: TTransportException: create thrift::numeric_cast"
2023-10-16 11:12:33 +02:00
Jens Geyer
597907a2e4 THRIFT-4606 LGPL license file still present (follow-up to THRIFT-3209) 2023-10-16 03:06:14 +02:00
Mario Emmenlauer
49e4cea002 THRIFT-5660: Revert "lib: cpp: TTransportException: create thrift::numeric_cast"
This reverts commit 6e9cbbd059.

See https://issues.apache.org/jira/browse/THRIFT-5660 for a discussion.
2023-10-14 15:07:58 +02:00
Mario Emmenlauer
3fdc63649e
Merge pull request #2868 from BioDataAnalysis/emmenlau_fix_find_libevent_install
Do not install `FindLibevent.cmake` when libevent is disabled
2023-10-13 09:52:22 +02:00
Jiayu Liu
df0c674f4e fix domain socket 2023-10-12 22:38:37 +02:00
Jiayu Liu
ca76644627 remove utf8 2023-10-12 22:38:37 +02:00
Jiayu Liu
b6b6dc715c rust to add uuid support 2023-10-12 22:38:37 +02:00
dependabot[bot]
653d184a84 Bump jvm from 1.8.22 to 1.9.10 in /lib/kotlin
Bumps [jvm](https://github.com/JetBrains/kotlin) from 1.8.22 to 1.9.10.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.9.10/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.22...v1.9.10)

---
updated-dependencies:
- dependency-name: jvm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-12 22:36:30 +02:00
Mario Emmenlauer
a4e7b9a4a0 build/cmake/GenerateConfigModule.cmake: Do not install 'FindLibevent.cmake' if libevent is disabled 2023-10-12 14:50:55 +02:00
Mario Emmenlauer
35b319baa8
Merge pull request #2866 from BioDataAnalysis/emmenlau_minor_test_improvement
Very minor code cleanup (whitespace changes only)
2023-10-12 14:39:39 +02:00
Mario Emmenlauer
d327636dad lib/cpp/test/concurrency/Tests.cpp: Very minor code cleanup (whitespace changes only) 2023-10-12 14:39:20 +02:00
Mario Emmenlauer
2810fd207e
Merge pull request #2862 from BioDataAnalysis/emmenlau_fix_windows_header_include
TProtocol.h: Be extra careful when including MSVC Windows-related headers
2023-10-12 14:37:54 +02:00
Mario Emmenlauer
49c6ec702d TProtocol.h: Be extra careful when including MSVC Windows-related headers to not pollute the c++ namespace 2023-10-12 09:30:59 +02:00
Mario Emmenlauer
ffa4f541a5
Merge pull request #2864 from BioDataAnalysis/emmenlau_fix_openssl_version_macros
lib/cpp/test/Security*Test.cpp: Fix the check for OpenSSL version macro
2023-10-12 09:29:24 +02:00
Ilya Urvachev
8aa22a42fa fix(php): exclude most part of the repo for php package 2023-10-11 22:10:07 +02:00
Mario Emmenlauer
006bc89370
Merge pull request #2865 from BioDataAnalysis/emmenlau_minor_clangcl_improvement
Separated MSVC and clang-cl settings for Windows
2023-10-11 16:48:02 +02:00
Mario Emmenlauer
c5a5f79d7a build/cmake/DefinePlatformSpecifc.cmake: Separated MSVC and Clang-Cl settings for Windows 2023-10-11 16:46:19 +02:00
Mario Emmenlauer
5f87b836a5 lib/cpp/test/Security*Test.cpp: Fix the check for OpenSSL version 2023-10-11 16:43:35 +02:00
Biswapriyo Nath
7b8c04273f Fix building with gcc 13
This fixes the following compiler error.

t_js_generator.cc:48:14: error: 'int64_t' does not name a type
   48 | static const int64_t max_safe_integer = 0x1fffffffffffff;
      |              ^~~~~~~
t_js_generator.cc:50:14: error: 'int64_t' does not name a type
   50 | static const int64_t min_safe_integer = -max_safe_integer;
      |              ^~~~~~~
2023-10-07 18:32:33 +02:00
dependabot[bot]
a14231c698
Bump actions/checkout from 3 to 4 (#2858)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 18:33:29 -04:00
dependabot[bot]
94abea1b2e
Bump com.diffplug.spotless from 6.21.0 to 6.22.0 in /lib/kotlin (#2859)
Bumps com.diffplug.spotless from 6.21.0 to 6.22.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 18:32:45 -04:00
Jeff Alder
bc9c04d804 THRIFT-5738: Remove unused variable 2023-09-26 00:10:12 +02:00
bwangelme
407630f280 fix: fix NewTSocketConf comment error
Client: ["go"]

[skip ci]
2023-09-20 09:24:31 -07:00
Jens Geyer
0ca6e888fc Release Management: added the missing EXTRA_DIST validation step 2023-09-12 22:22:28 +02:00
Egor Cherniak
60a04af6b5
Bump woody version 2023-09-07 10:15:25 +03:00
Egor Cherniak
a8c4e8c6a8
Fix tests 2023-09-07 10:11:30 +03:00
Egor Cherniak
5e9d5ee0d4
Fix build (tests still fail) 2023-09-04 18:34:44 +03:00
Egor Cherniak
b47360784a
Fix java import 2023-09-04 16:13:09 +03:00
Egor Cherniak
42376dbbd8
Fix compilation errors 2023-09-04 15:55:19 +03:00
Egor Cherniak
26b3abb95b
Merge remote-tracking branch 'upstream/0.19.0' into ft/0.19.0
# Conflicts:
#	.gitignore
#	compiler/cpp/CMakeLists.txt
#	compiler/cpp/src/thrift/generate/t_java_generator.cc
#	lib/java/gradle.properties
#	lib/java/src/main/java/org/apache/thrift/server/TServlet.java
#	lib/java/src/main/java/org/apache/thrift/transport/THttpClient.java
#	lib/java/src/test/java/org/apache/thrift/server/ServerTestBase.java
2023-09-04 15:08:59 +03:00
Jens Geyer
50787cc0b0 THRIFT-5734 generated code may lack required capitalization at class names
CLient: haxe
Patch: Jens Geyer
2023-09-03 10:56:26 +02:00
Jens Geyer
346aa81899 THRIFT-5733 Building code with circular includes crashes Thrift compiler
Patch: Jens Geyer

This closes #2851
2023-09-03 10:53:47 +02:00
Jens Geyer
54bdf8d71c Merge branch '0.19.0' into upstream 2023-09-02 13:39:06 +02:00
dependabot[bot]
09820df910
Bump com.diffplug.spotless from 6.20.0 to 6.21.0 in /lib/java (#2847)
Bumps com.diffplug.spotless from 6.20.0 to 6.21.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 03:13:27 -04:00
dependabot[bot]
c340e0bad1
Bump com.github.spotbugs from 5.1.0 to 5.1.3 in /lib/java (#2848)
Bumps com.github.spotbugs from 5.1.0 to 5.1.3.

---
updated-dependencies:
- dependency-name: com.github.spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 02:41:47 -04:00
Jens Geyer
5656208a20 release 0.19.0 2023-08-27 15:45:30 +02:00
Yuxuan 'fishy' Wang
291b560c36 THRIFT-5653: Fix Java UUID typeid
It should be 16 not 17 according to the spec.

Currently ENUM holds 16, it's not in TBinaryProtocol spec and seems to
be a Java implementation detail somehow got mixed inside TType, move
that to -1 for now. Someone more familiar with Java can probably remove
it from TType completely in the future.

client: java
2023-08-20 17:28:52 -07:00
Yuxuan 'fishy' Wang
ee1a7ea35b THRIFT-5731: Handle ErrAbandonRequest automatically
Also add a test to verify the behavior.

The test helped me to found a bug in TSimpleServer that didn't handle
the ErrAbandonRequest case correctly, so fix the bug as well.

client: go
2023-08-20 17:28:52 -07:00
Jiayu Liu
4ca47e0362 fix kotlin cross test by downgrading to java 8 (#2840) 2023-08-20 17:28:52 -07:00
Yuxuan 'fishy' Wang
79c56026fc Update supported go versions to 1.20 and 1.21 2023-08-20 17:28:52 -07:00
Jiayu Liu
628023c273 fix gradle format 2023-08-20 17:28:52 -07:00
Jiayu Liu
fd60a9a3a1 reformat kotlin files 2023-08-20 17:28:52 -07:00
Yuxuan 'fishy' Wang
4e4461a946 THRIFT-5653: Fix Java UUID typeid
It should be 16 not 17 according to the spec.

Currently ENUM holds 16, it's not in TBinaryProtocol spec and seems to
be a Java implementation detail somehow got mixed inside TType, move
that to -1 for now. Someone more familiar with Java can probably remove
it from TType completely in the future.

client: java
2023-08-14 13:31:22 -07:00
Yuxuan 'fishy' Wang
0e872c84aa THRIFT-5731: Handle ErrAbandonRequest automatically
Also add a test to verify the behavior.

The test helped me to found a bug in TSimpleServer that didn't handle
the ErrAbandonRequest case correctly, so fix the bug as well.

client: go
2023-08-09 16:03:22 -07:00
Jiayu Liu
166a2136ca
fix kotlin cross test by downgrading to java 8 (#2840) 2023-08-10 06:33:43 +08:00
Yuxuan 'fishy' Wang
dc733faff4 Update supported go versions to 1.20 and 1.21 2023-08-08 11:33:22 -07:00
dependabot[bot]
055ceecebf
Bump org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 in /lib/kotlin (#2834)
Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-jdk8](https://github.com/Kotlin/kotlinx.coroutines) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.7.2...1.7.3)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-jdk8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 22:39:55 -04:00
dependabot[bot]
cc4d99d93d
Bump com.diffplug.spotless from 6.19.0 to 6.20.0 in /lib/java (#2839)
Bumps com.diffplug.spotless from 6.19.0 to 6.20.0.

---
updated-dependencies:
- dependency-name: com.diffplug.spotless
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 22:32:38 -04:00
dependabot[bot]
c500eabf4b
Bump com.github.spotbugs from 5.0.14 to 5.1.0 in /lib/java (#2838)
Bumps com.github.spotbugs from 5.0.14 to 5.1.0.

---
updated-dependencies:
- dependency-name: com.github.spotbugs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 22:30:59 -04:00