summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * release branch 0.18.0v0.18.0Jens Geyer2023-02-073-0/+105
| |
* | bump version numberJens Geyer2023-02-0653-65/+65
|/
* fix veralign.shJens Geyer2023-02-061-1/+1
|
* 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 json5 from 2.1.1 to 2.2.3dependabot[bot]2023-02-021-15/+4
| | | | | | | | | | | | | | Bumps [json5](https://github.com/json5/json5) from 2.1.1 to 2.2.3. - [Release notes](https://github.com/json5/json5/releases) - [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md) - [Commits](https://github.com/json5/json5/compare/v2.1.1...v2.2.3) --- updated-dependencies: - dependency-name: json5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
* 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 minimatch from 3.0.4 to 3.1.2dependabot[bot]2023-02-021-3/+3
| | | | | | | | | | | | | | Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. - [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.1.2) --- 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>
* Bump qs from 6.5.2 to 6.5.3dependabot[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-029-13/+13
| | | | | 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-162-5/+6
| | | | Client: [json]
* THRIFT-5601: Fix forward typedef in go compilerYuxuan 'fishy' Wang2023-01-034-22/+68
| | | | | | | | | 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>
* THRIFT-5669 "required" keyword is illegal in a "throws" clauseJens Geyer2022-11-222-45/+95
|
* [docs] Add missing slash to avoid empty cellTriton2022-11-201-2/+2
| | | | | | | | A missing slash in the end `</td>` tag of field cell for Delphi and .NET Standard was generating an additional empty cell, breaking the table (and generating misleading info). [skip ci]
* 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>
* THRIFT-5657: Use Swift 5.7 in travis build (#2719)Kino Roy2022-11-204-12/+21
|
* switched delphi keyword tables from map to set and array initJens Geyer2022-11-181-177/+65
|
* switched netstd keywords from map to set and array initJens Geyer2022-11-182-119/+16
|
* FIX: make dist error "No rule to make target 'go.sum', needed by 'distdir'. ↵Jens Geyer2022-11-181-1/+0
| | | | Stop."
* THRIFT-3956 Java keywords that are legal in IDL can lead to generated code ↵Jens Geyer2022-11-181-115/+154
| | | | that will not compile
* Use multi-module to cleanup top level go.modYuxuan 'fishy' Wang2022-11-0213-48/+79
| | | | | | | | | | | | | | | | | 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-2611-55/+230
| | | | 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-253-4/+19
|
* 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>
* lib: cpp: TProtocol: support zephyr byteorderChris Friedt2022-10-251-0/+14
| | | | | | | | | | | Zephyr's byteorder is defined in `<zephyr/sys/byteorder.h>`. However, the `bswap_xx` macros are also defined there. They need to be `#undef`d first when building for big-endian architectures, since the Thrift byteorder macros are no-ops for little-endian architectures. Signed-off-by: Chris Friedt <cfriedt@fb.com>
* lib: cpp: add missing functional and cmath includesChris Friedt2022-10-235-3/+11
| | | | | | | | Manual runs of the autotools docker script were failing due to `std::functional` not being a member of `std`. Similar error messages for `std::ceil` and `std::log`. Signed-off-by: Chris Friedt <cfriedt@meta.com>
* build: docker: scripts: autotools: do not fail if .m2/ existsChris Friedt2022-10-231-1/+1
| | | | | | | | | | Previously, when doing manual runs inside of the docker container, the `autotools.sh` script would fail if the `.m2/` directory already existed. This was a minor annoyance. Simply pass the `-p` flag to `mkdir`. Signed-off-by: Chris Friedt <cfriedt@meta.com>
* lib: cpp: thrift: include functional in TServerFrameworkChris Friedt2022-10-231-0/+1
| | | | | | Use of `std::placeholders::_1` requires `<functional>`. Signed-off-by: Chris Friedt <cfriedt@fb.com>
* THRIFT-5650: Implement UUID in Go libraryYuxuan 'fishy' Wang2022-10-2120-227/+1009
| | | | | | | | | | | | | | Client: go This is only the library part of THRIFT-5650. I still have some open questions for the compiler part so that will be done later. While I'm here, also made some changes to go CI process: * Update ubuntu-bionic to use go 1.18 for travis * Update ubuntu-jammy to use the latest go 1.19.x for travis * Run both go 1.18 and 1.19 for github actions * Also run test/go tests for github actions
* THRIFT-5653: Update TType.uuid raw value to 16 (#2717)Kino Roy2022-10-212-5/+1
| | | Removes non-standard utf8 type with raw value 16 and replaces uuid raw value with 16
* THRIFT-5656 Escape Delphi keywords with '&' prefix instead of '_' suffixJens Geyer2022-10-174-73/+100
| | | | | Client: Delphi Patch: Jens Geyer
* THRIFT-5652 IDL uuid literals can be improvedJens Geyer2022-10-163-15/+26
| | | | | | | Compiler (general) Patch: Jens Geyer This closes #2714
* * THRIFT-4655 Parser fails on the word "from"Jens Geyer2022-10-1648-42/+281
| | | | | | | | | Client: Compiler (general) Patch: Jens Geyer This also fixes an unhandled "normalize" case with enums in netstd that came up during tests for this ticket. This closes #2715
* fix various java codestyle issues (#2710)Jiayu Liu2022-10-1538-121/+126
| | | | | * fix various java codestyle issues * Update lib/java/src/main/java/org/apache/thrift/server/TSaslNonblockingServer.java
* Bump junit from 4.11 to 4.13.1 in /contrib/thrift-maven-plugindependabot[bot]2022-10-141-1/+1
| | | | | | | | | | | | | | Bumps [junit](https://github.com/junit-team/junit4) from 4.11 to 4.13.1. - [Release notes](https://github.com/junit-team/junit4/releases) - [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.11.md) - [Commits](https://github.com/junit-team/junit4/compare/r4.11...r4.13.1) --- updated-dependencies: - dependency-name: junit:junit dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
* Update contrib/thrift-maven-plugin/pom.xmlJens Geyer2022-10-141-1/+2
| | | Co-authored-by: Jiayu Liu <Jimexist@users.noreply.github.com>
* update com.google.guava:guava 14.0.1 to 30.0-jreherocms2022-10-141-8/+4
|
* Bump json-schema and jsprimdependabot[bot]2022-10-141-10/+12
| | | | | | | | | | | | | | | | | | | | | | Bumps [json-schema](https://github.com/kriszyp/json-schema) and [jsprim](https://github.com/joyent/node-jsprim). These dependencies needed to be updated together. Updates `json-schema` from 0.2.3 to 0.4.0 - [Release notes](https://github.com/kriszyp/json-schema/releases) - [Commits](https://github.com/kriszyp/json-schema/compare/v0.2.3...v0.4.0) Updates `jsprim` from 1.4.1 to 1.4.2 - [Release notes](https://github.com/joyent/node-jsprim/releases) - [Changelog](https://github.com/TritonDataCenter/node-jsprim/blob/v1.4.2/CHANGES.md) - [Commits](https://github.com/joyent/node-jsprim/compare/v1.4.1...v1.4.2) --- updated-dependencies: - dependency-name: json-schema dependency-type: indirect - dependency-name: jsprim dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>