summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix pmd main for java0.17.0Jiayu Liu2022-09-193-18/+13
|
* fixing missing EXTRA_DISTsv0.17.0Jens Geyer2022-08-314-1/+11
|
* CHANGES.md updatedJens Geyer2022-08-301-5/+141
|
* If the amount of data transmitted is large, an error will be reported.TianMaiChengGhostRidder2022-08-301-1/+18
| | | | | Client: erl Patch: TianMaiChengGhostRidder <51288333+TianMaiChengGhostRidder@users.noreply.github.com>
* Revert "Update thrift_socket_transport.erl"Jens Geyer2022-08-301-18/+1
| | | | This reverts commit 60fef438188958b5439c4d207f1bfa753a218938.
* Update thrift_socket_transport.erlTianMaiChengGhostRidder2022-08-301-1/+18
| | | 如果传送的数据量大的时候就会报错。
* THRIFT-5576: fix old-style cast and redundant copykashirin.alex2022-08-251-13/+14
|
* THRIFT-5502 Log SocketException at WARN level only + Fix formattingSylwester Lachiewicz2022-08-251-15/+20
| | | | | | | Client: java Patch: Sylwester Lachiewicz & Christopher Tubbs This closes #2608
* THRIFT-4086: Add missing calls to get_true_type when generating validator + ↵Hernan Silberman2022-08-255-2/+100
| | | | | | metadata code Client: java
* Add a generic sync.Pool wrapper to go libraryYuxuan 'fishy' Wang2022-08-0910-100/+149
| | | | | | | | | | Since we dropped support of Go 1.18-, use generic to avoid dealing with type assertions with interface{}/any. While I'm here, also remove the usages of ioutil, as that's officially marked as deprecated in Go 1.19. Client: go
* THRIFT-5609: Make TJSONProtocol safe to be used in deserializer poolYuxuan 'fishy' Wang2022-08-065-2/+93
| | | | | | | Client: go Add Reset to TJSONProtocol, and call it in deserializer and serializer to make sure that it's always safe to be used in the pool version.
* Update supported go version to 1.18.* and 1.19.*Yuxuan 'fishy' Wang2022-08-027-9/+15
| | | | | | Client: go Also provide generic version of Pointer helper function.
* THRIFT-5605: Client middleware to extract exceptionsYuxuan 'fishy' Wang2022-08-026-3/+318
| | | | | | | | | Client: go Provide ExtractIDLExceptionClientMiddleware client middleware implementation and ExtractExceptionFromResult to extract exceptions defined in thrift IDL into err return so they are accessible from other client middlewares.
* Merge pull request #2636 from PikachuHy/masterJiayu Liu2022-07-311-1/+1
|\ | | | | [skip ci] fix typo
| * fix typoPikachuHy2022-07-311-1/+1
|/
* script to regenerate server/client keysJens Geyer2022-07-011-0/+18
|
* script to regenerate server/client keysJens Geyer2022-07-012-0/+137
|
* Pin integer-encoding to 3.0.3 (#2627)Jiayu Liu2022-07-011-1/+1
|
* eplaced outdated TLS test keysJens Geyer2022-07-0111-312/+455
|
* Bump shell-quote from 1.7.2 to 1.7.3 in /lib/jsdependabot[bot]2022-06-221-3/+3
| | | | | | | | | | | | | | Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. - [Release notes](https://github.com/substack/node-shell-quote/releases) - [Changelog](https://github.com/substack/node-shell-quote/blob/master/CHANGELOG.md) - [Commits](https://github.com/substack/node-shell-quote/compare/v1.7.2...1.7.3) --- updated-dependencies: - dependency-name: shell-quote dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* THRIFT-5599: contrib/fb303 does not compile after C++ library refactoringsMichael Leinartas2022-06-213-25/+20
| | | | | | Patch: Michael Leinartas This closes #2624
* THRIFT-5590 Haxe complex initsJens Geyer2022-06-1317-149/+294
| | | | | | | Client: hx Patch: Jens Geyer This closes #2622
* THRIFT-5595: Handle peek request error with SSLSocketMichael Smith2022-06-103-0/+6
| | | | | | | | | | The update to TSocket in 01d53f483a7531ad4899b522060e8913dca309fb errors for TSSLSocket with ``` ValueError: non-zero flags not allowed in calls to recv() on <class 'ssl.SSLSocket'> ``` Handles ValueError from ssl.SSLSocket to fix isOpen when using TSSLSocket.
* THRIFT-5592 Add uuid type documentationTriton Circonflexe2022-06-085-41/+86
| | | | | | | | Patch: Triton Circonflexe <triton@kumal.info> Also includes followup-patch for THRIFT-5588 Remove references to slist and senum from docs This closes #2618
* FIX misc license headersJens Geyer2022-06-085-48/+73
|
* THRIFT-5589 Haxe compiler/runtime fixesJens Geyer2022-06-0721-271/+72
| | | | | Client: hx Patch: Jens Geyer
* THRIFT-5588 Remove slist/senum from IDLJens Geyer2022-06-0610-107/+22
| | | | | | Patch: Jens Geyer This closes #2615
* THRIFT-5586 User-Agent header not conforming to RFC 7231Jens Geyer2022-06-012-2/+2
| | | | | Client: Delphi Patch: Jens Geyer
* Bump grunt from 1.4.1 to 1.5.3 in /lib/jsdependabot[bot]2022-05-291-28/+8
| | | | | | | | | | | | | | Bumps [grunt](https://github.com/gruntjs/grunt) from 1.4.1 to 1.5.3. - [Release notes](https://github.com/gruntjs/grunt/releases) - [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG) - [Commits](https://github.com/gruntjs/grunt/compare/v1.4.1...v1.5.3) --- updated-dependencies: - dependency-name: grunt dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump grunt from 1.4.1 to 1.5.3 in /lib/tsdependabot[bot]2022-05-291-11/+11
| | | | | | | | | | | | | | Bumps [grunt](https://github.com/gruntjs/grunt) from 1.4.1 to 1.5.3. - [Release notes](https://github.com/gruntjs/grunt/releases) - [Changelog](https://github.com/gruntjs/grunt/blob/main/CHANGELOG) - [Commits](https://github.com/gruntjs/grunt/compare/v1.4.1...v1.5.3) --- updated-dependencies: - dependency-name: grunt dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
* THRIFT-5585 net5.0 end of support May 2022Jens Geyer2022-05-261-1/+1
| | | | | Client: netstd Patch: Jens Geyer
* Remove execute bit from plain text files in git (#2611)Christopher Tubbs2022-05-2466-0/+0
| | | | | | | Trivially change file mode from 755 to 644 for files in git that shouldn't be marked as executable. These were probably marked as executable due to some contributors developing on Windows using a filesystem that doesn't support POSIX file modes, or aggressively marks everything as executable.
* Trivial: Add missing AC_CHECK_HEADERS (#2610)Christopher Tubbs2022-05-231-10/+12
| | | | | | | | | | | Fix warnings running bootstrap.sh for the following by adding missing entries in configure.ac: ``` configure.ac: warning: missing AC_CHECK_HEADERS([stdint.h]) wanted by: lib/rb/ext/binary_protocol_accelerated.c:22 configure.ac: warning: missing AC_CHECK_HEADERS([strings.h]) wanted by: lib/cpp/src/thrift/transport/TFileTransport.cpp:39 ``` Sort all of the AC_CHECK_HEADERS lines, for easier readability in configure.ac
* THRIFT-5575: add a github workflow to invoke cmake (#2595)Jiayu Liu2022-05-211-0/+37
|
* Minor tweak to ErrAbandonRequest in go libraryYuxuan 'fishy' Wang2022-05-212-11/+37
| | | | | | | | | Client: go Make it unwrap to context.Canceled, since the main use case of it is to be returned in lieu of context.Canceled to avoid extra writing to the client, so that if user has any processor middleware that checks for context.Canceled error those would still work.
* THRIFT-5584: use gradle toolchain to specify Java 11 with --release 8 (#2606)Jiayu Liu2022-05-186-47/+35
| | | | | | | | * use gradle toolchain to specify Java 11 with --release 8 * use newer syntax * fix spotless apply * remove legacy apply and bump version of spot bugs * migrate pmd to new plugin syntax
* Revert "THRIFT-5569: add negative size checks in Go generator when reading ↵Yuxuan 'fishy' Wang2022-05-121-9/+0
| | | | | | maps, sets and lists" This reverts commit 8987820e84ac26392293ab40480cf8f2971fb314.
* THRIFT-5569: Fix size check in TCompactProtocol.ReadListBeginYuxuan 'fishy' Wang2022-05-121-1/+1
| | | | | | | Client: go This was a copy-paste error in the original implementation in 6583f4e52345c3b05a76f0b188836599628356e8.
* THRIFT-5581: use gradle 7 for java/kotlin (#2601)Jiayu Liu2022-05-1131-201/+197
| | | | | | | * upgrade gradle version to 7.4 * migrate from `maven` plugin to `maven-publish` plugin as required for Gradle 7 * add guard to ktfmt, since it can't run with JDK 8 Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
* THRIFT-5583: Add skip_remote arg to go compilerYuxuan 'fishy' Wang2022-05-103-4/+17
| | | | Client: go
* THRIFT-5582: Improve TProtocol.java for Kotlin generator (#2603)Jiayu Liu2022-05-1018-199/+517
| | | | * Improve TProtocol.java through the use of interfaces * Reduce Kotlin extensions usage
* THRIFT-5564: setup cross test in GitHub action (#2602)Jiayu Liu2022-05-095-4/+115
| | | * include java and kotlin into precross
* THRIFT-5580: refactor kotlin cross tests (#2600)Jiayu Liu2022-05-0810-1161/+838
| | | | | refactor kotlin cross test to: * use proper cli framework, * add more transport/protocol cases
* THRIFT-5543: add type parameter to java lib field metadata (#2552)Jiayu Liu2022-05-081-18/+12
| | | | * add type parameter to java lib field metadata * reduce number of exceptions
* THRIFT-5553: use newer gradle API (#2561)Jiayu Liu2022-05-0813-45/+180
| | | | Prepare for moving to Gradle 7 by removing use of older Gradle directives (except the use of maven; the transition to maven-publish is not included here)
* THRIFT-5568: Add CI formatting/test checks for Java and Kotlin (#2599)Jiayu Liu2022-05-061-7/+18
| | | Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
* THRIFT-5571: add metadata map building to kotlin generator (#2584)Jiayu Liu2022-05-0611-54/+285
|
* THRIFT-5568: enforce consistent Java formatting (#2581)Jiayu Liu2022-05-06227-7691/+8308
| | | | | | | * use spotless plugin and google-java-format to enforce a consistent code format * add a step of spotless check before building * only run spotless on the src/ directory Co-authored-by: Christopher Tubbs <ctubbsii@apache.org>
* THRIFT-5570: update java lib document about gradle usage (#2583)Jiayu Liu2022-05-066-108/+86
| | | | * update java doc about gradle usage * update .gitignore
* THRIFT-5567: remove cl namespace references (#2580)Jiayu Liu2022-05-062-2/+0
| | | | Fix warnings in the tutorial code by removing the Common Lisp namespace references, since support for that was removed in THRIFT-5476