summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix NewTZlibTransportFactoryWithFactory commentRobert Pająk2023-05-151-1/+1
|
* THRIFT-5707 deprecation warning fixes for extern and enumJens Geyer2023-05-114-12/+8
| | | | | Client: hx Patch: Jens Geyer
* Bump org.jetbrains.kotlinx:kotlinx-coroutines-jdk8 in /lib/kotlin (#2798)dependabot[bot]2023-05-021-1/+1
| | | | | | | | | | | | | | | | Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-jdk8](https://github.com/Kotlin/kotlinx.coroutines) from 1.6.1 to 1.6.4. - [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.6.1...1.6.4) --- 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>
* Bump jvm from 1.6.10 to 1.8.21 in /lib/kotlin (#2803)dependabot[bot]2023-05-021-1/+1
| | | | | | | | | | | | | | | | Bumps [jvm](https://github.com/JetBrains/kotlin) from 1.6.10 to 1.8.21. - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.10...v1.8.21) --- updated-dependencies: - dependency-name: jvm 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>
* THRIFT-4086: Use true type when generating field meta data (#2765)Klemen Košir2023-04-274-16/+59
| | | Client: java
* Bump com.github.spotbugs from 4.7.1 to 5.0.14 in /lib/java (#2797)dependabot[bot]2023-04-271-1/+1
|
* Bump com.diffplug.spotless from 6.5.2 to 6.18.0 in /lib/java (#2791)dependabot[bot]2023-04-271-1/+1
|
* Migration to JakartaEE 8 (#2777)Bogdan Drutu2023-04-272-4/+4
| | | | Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> Co-authored-by: Jiayu Liu <Jimexist@users.noreply.github.com>
* Upgrade java mockito from version 1.x to version 5 (#2781)Jiayu Liu2023-04-205-6/+4
| | | | | | | * use mockito 5 * remove unnecessary flag * fix java annotation test file name
* THRIFT-5564: add GitHub action for python 2.x and 3.x (#2787)Jiayu Liu2023-04-204-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update .github workflow to consolidate config * add lib python * Update build.yml update * rust => rs * Update build.yml update * update install openssl remove 3.6 setup daemon try 3.6 fix lib path add backports of py Update build.yml use sudo add install-exec-hook * add ssl test skip
* THRIFT-5699: java lib and build tool chain: gradle 8.0.2 (#2779)Jiayu Liu2023-04-144-6/+6
|
* update gradle to version 7.6 (#2744)Jiayu Liu2023-04-091-3/+3
| | | | | * update gradle to version 7.6 * update hash
* reduce java logging (#2659)Jiayu Liu2023-04-082-2/+1
|
* THRIFT-5696: Allow custom TConfiguration for TByteBuffer.javaRiza Suminto2023-04-062-3/+42
|
* Add missing include for the security testsTobias Mayer2023-03-182-0/+2
|
* py TSocket: Only disable socket.IPV6_V6ONLY when the family is AF_INET6Ling Li2023-03-171-7/+8
|
* Update Java lib gradle build script docs (#2767)Jiayu Liu2023-03-091-2/+2
| | | It stated Java 8 but now we are on Java 11
* THRIFT-5685: Revert "THRIFT-5601: Fix forward typedef in go compiler"Yuxuan 'fishy' Wang2023-03-013-9/+48
| | | | | This reverts commit b39370ec3bc96d201bbc82fbde136f98ae605ed1, and also adds a test case for THRIFT-5685.
* THRIFT-5686 Add comparer and capacity arguments to container classesJens Geyer2023-02-241-29/+46
| | | | | Client: Delphi Patch: Jens Geyer
* lib/cpp: Fix MSVC warning C4706 (BinaryProtocol)dejank-isystem2023-02-211-2/+2
| | | MSVC warning C4706: assignment within conditional expression
* Fix VisualStudio project files and upgrade to VS2015Zlika2023-02-214-95/+73
|
* THRIFT-5679 libthrift-0.17.0 has wrong version numbers in MANIFEST.MFZlika2023-02-211-1/+1
| | | | | | | Client: Java Patch: Thomas Lorblanchès This closes #2761
* Fix Security Tests for OpenSSLv3Tobias Mayer2023-02-192-6/+8
|
* THRIFT-5684 upgrade to net7.0:Jens Geyer2023-02-166-46/+27
| | | | | Client: netstd Patch: Jens Geyer
* Merge branch 0.18.0Jens Geyer2023-02-141-1/+6
|\
| * Added reference to existing netstd README.md file to satisfy nuget package ↵0.18.0Jens Geyer2023-02-141-1/+6
| | | | | | | | upload
* | bump version numberJens Geyer2023-02-0625-28/+28
|/
* Bump http, fixnum, logging, dart_style, build_test, build_web_compilers, ↵dependabot[bot]2023-02-061-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mockito and build_runner Bumps [http](https://github.com/dart-lang/http/tree/master/pkgs), [fixnum](https://github.com/dart-lang/fixnum), [logging](https://github.com/dart-lang/logging), [dart_style](https://github.com/dart-lang/dart_style), [build_test](https://github.com/dart-lang/build), [build_web_compilers](https://github.com/dart-lang/build), [mockito](https://github.com/dart-lang/mockito) and [build_runner](https://github.com/dart-lang/build). These dependencies needed to be updated together. Updates `http` from 0.12.2 to 0.13.5 - [Release notes](https://github.com/dart-lang/http/releases) - [Commits](https://github.com/dart-lang/http/commits/HEAD/pkgs) Updates `fixnum` from 0.10.11 to 1.1.0 - [Release notes](https://github.com/dart-lang/fixnum/releases) - [Changelog](https://github.com/dart-lang/fixnum/blob/master/CHANGELOG.md) - [Commits](https://github.com/dart-lang/fixnum/compare/0.10.11...v1.1.0) Updates `logging` from 0.11.4 to 1.1.1 - [Release notes](https://github.com/dart-lang/logging/releases) - [Changelog](https://github.com/dart-lang/logging/blob/master/CHANGELOG.md) - [Commits](https://github.com/dart-lang/logging/compare/0.11.4...v1.1.1) Updates `dart_style` from 1.3.10 to 2.2.4 - [Release notes](https://github.com/dart-lang/dart_style/releases) - [Changelog](https://github.com/dart-lang/dart_style/blob/master/CHANGELOG.md) - [Commits](https://github.com/dart-lang/dart_style/compare/1.3.10...v2.2.4) Updates `build_test` from 0.10.12+1 to 2.1.6 - [Release notes](https://github.com/dart-lang/build/releases) - [Commits](https://github.com/dart-lang/build/compare/build_test-v0.10.12...build_test-v2.1.6) Updates `build_web_compilers` from 2.12.0 to 3.2.7 - [Release notes](https://github.com/dart-lang/build/releases) - [Commits](https://github.com/dart-lang/build/compare/build_web_compilers-v2.12.0...build_web_compilers-v3.2.7) Updates `mockito` from 4.1.4 to 5.3.2 - [Release notes](https://github.com/dart-lang/mockito/releases) - [Changelog](https://github.com/dart-lang/mockito/blob/master/CHANGELOG.md) - [Commits](https://github.com/dart-lang/mockito/compare/4.1.4...5.3.2) Updates `build_runner` from 1.11.1+1 to 2.3.3 - [Release notes](https://github.com/dart-lang/build/releases) - [Commits](https://github.com/dart-lang/build/compare/build_runner-v1.11.1...build_runner-v2.3.3) --- updated-dependencies: - dependency-name: http dependency-type: direct:production - dependency-name: fixnum dependency-type: direct:production - dependency-name: logging dependency-type: direct:production - dependency-name: dart_style dependency-type: direct:production - dependency-name: build_test dependency-type: direct:production - dependency-name: build_web_compilers dependency-type: direct:production - dependency-name: mockito dependency-type: direct:production - dependency-name: build_runner dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
* go: Use new atomic types introduced in go1.19Yuxuan 'fishy' Wang2023-02-023-10/+10
| | | | | Those come with nocopy protection, so they can prevent bugs like people passing the types by value instead of by pointer from the compiler.
* Bump minimatch from 3.0.4 to 3.0.8 in /lib/tsdependabot[bot]2023-02-021-3/+21
| | | | | | | | | | | | | | Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/isaacs/minimatch/releases) - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump minimatch from 3.0.4 to 3.0.8 in /lib/jsdependabot[bot]2023-02-021-12/+21
| | | | | | | | | | | | | | Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.0.8. - [Release notes](https://github.com/isaacs/minimatch/releases) - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.0.8) --- updated-dependencies: - dependency-name: minimatch dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump qs from 6.5.2 to 6.5.3 in /lib/tsdependabot[bot]2023-02-021-3/+3
| | | | | | | | | | | | | | Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. - [Release notes](https://github.com/ljharb/qs/releases) - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.5.3) --- updated-dependencies: - dependency-name: qs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* Update supported go versionsYuxuan 'fishy' Wang2023-02-022-2/+2
| | | | | Following our policy regarding supported go releases, change the supported go versions to 1.19.* and 1.20.* with the release of go 1.20.
* Improve enum support for json generatorChristian Westberg2023-01-161-2/+3
| | | | Client: [json]
* THRIFT-5601: Fix forward typedef in go compilerYuxuan 'fishy' Wang2023-01-032-2/+38
| | | | | | | | | Client: go While https://github.com/apache/thrift/pull/951 fixed the bug with forward typedef used in container values, it also introduced a bug that broke forward typedef used in other cases in go code. Limit the fix of it to only the container key and value types to fix other cases.
* py server: Listen also on IPv4dejank-isystem2023-01-011-0/+1
|
* netstd Server: Add IPv6dejank-isystem2023-01-011-1/+2
| | | | Unlike servers in other languages (tested: cpp & python), netstd (Csharp) listens only on IPv4. This can cause errors and delays on clients if they use "localhost" for hostname.
* lib: c_glib: fix compile error due to missing unistd.hChristopher Friedt2022-11-251-0/+6
| | | | | | | | | | | Previously, the c_glib library tests failed to compile due to implicit function declarationsn for `sleep()`, `fork()`, and `alarm()`. Include `<unistd.h>` to address all of those issues (on platforms that have `<unistd.h>`). Signed-off-by: Christopher Friedt <cfriedt@meta.com>
* lib: cpp: transport: include thrift/config.h in TFDTransportChris Friedt2022-11-221-5/+7
| | | | | | | | | | | | | | | | | The `PlatformSocket.h` defines some macros that reference symbols in the libc without including the necessary headers. Moreover, the headers are protected by config macros (i.e. `#ifdef HAVE_UNISTD_H`). This makes header ordering rather fragile. Explicitly include `<thrift/config.h>` and conditionally include `<unistd.h>` prior to referencing them. A future improvement to reduce fragility would be to add includes directly in `PlatformSocket.h`. Signed-off-by: Chris Friedt <cfriedt@meta.com>
* lib: cpp: automake: ship thrift/numeric_cast.hChris Friedt2022-11-221-0/+1
| | | | | | | | The `<thrift/numeric_cast.h>` header should be part of the installed thrift artifacts since it is included by other installed headers. Signed-off-by: Chris Friedt <cfriedt@meta.com>
* lib: cpp: TTransportException: create thrift::numeric_castChristopher Friedt2022-11-202-2/+73
| | | | | | | | | | | | | This adds an equivalent implementation of `boost::numeric_cast` written purely in standard c++. The implementation is relatively trivial and reduces the dependency on `boost`. Adapted from https://stackoverflow.com/a/49658950/5636218 Signed-off-by: Chris Friedt <cfriedt@meta.com>
* THRIFT-5666: lib: cpp: prefer poll.h over sys/poll.hChris Friedt2022-11-204-0/+12
| | | | | | | | | | | The `<sys/poll.h>` header is not actually where `poll(2)` must be defined according to the spec. However, it may be the case that some random UNIX-like OS uses `<sys/poll.h>` instead. Both use cases can be supported simply by including the proper header, if it exists. Signed-off-by: Chris Friedt <cfriedt@meta.com>
* THRIFT-5663: lib: cpp: usleep was not declared in this scopeChris Friedt2022-11-202-8/+8
| | | | | | | | | | | | | | | | | Several build failures in Travis resulted from an include-order problem in `TFileTransport.cpp`. It would probably be better to simply include the right header files in `PlatformSocket.h` but it's possible that might slow down compilation. ``` error: 'usleep' was not declared in this scope .. # define THRIFT_SLEEP_USEC usleep ``` Also fixing the same (potential) problem in `TFDTransport.cpp`. Signed-off-by: Chris Friedt <cfriedt@meta.com>
* Use multi-module to cleanup top level go.modYuxuan 'fishy' Wang2022-11-026-13/+48
| | | | | | | | | | | | | | | | | Client: go The go library itself does not have any third-party dependencies. We have one third party dependency from the test code, which kind of polluted from top-level go.mod file to the users of thrift go library. We previous tried to clean that up by creating go.mod file at lib/go/thrift, which caused issues to the release process and thus reverted. Use multi-module to separate tests requiring mock to their own modules so that we can keep the top-level go.mod file clean. Also some minor fixes on the github actions go workflow.
* THRIFT-5650: Implement UUID in Go compilerYuxuan 'fishy' Wang2022-10-263-7/+51
| | | | Client: go
* lib: cpp: protocol: declare when methods overrideChristopher Friedt2022-10-263-12/+12
| | | | | | | This avoids compiler warnings about inconsistent use of `override`. Signed-off-by: Chris Friedt <cfriedt@meta.com>
* Implement Validate message reply seq idszeshuai0072022-10-252-3/+13
|
* clear retry timer first then emit close eventWu Jian Ping2022-10-251-1/+1
|
* fix reconnect issue for nodejsWu Jian Ping2022-10-251-6/+13
|
* lib: cpp: TOutput: add zephyr-specific strerror_s implementationChris Friedt2022-10-251-0/+4
| | | | | | | | In Zephyr, optimize `TOutput::strerror_s` to minimize (stack) space. The string error table is in ROM in any case, so string values will not be overwritten (if they happen to be compiled-in). Signed-off-by: Chris Friedt <cfriedt@fb.com>