summaryrefslogtreecommitdiff
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* THRIFT-5590 Haxe complex initsJens Geyer2022-06-131-144/+166
| | | | | | | Client: hx Patch: Jens Geyer This closes #2622
* THRIFT-5589 Haxe compiler/runtime fixesJens Geyer2022-06-071-14/+15
| | | | | Client: hx Patch: Jens Geyer
* THRIFT-5588 Remove slist/senum from IDLJens Geyer2022-06-068-93/+18
| | | | | | Patch: Jens Geyer This closes #2615
* 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-5583: Add skip_remote arg to go compilerYuxuan 'fishy' Wang2022-05-101-2/+10
| | | | Client: go
* THRIFT-5582: Improve TProtocol.java for Kotlin generator (#2603)Jiayu Liu2022-05-101-130/+16
| | | | * Improve TProtocol.java through the use of interfaces * Reduce Kotlin extensions usage
* THRIFT-5571: add metadata map building to kotlin generator (#2584)Jiayu Liu2022-05-061-0/+101
|
* THRIFT-5544: annotations_as_metadata java code gen param (#2553)Jiayu Liu2022-05-051-1/+40
| | | | Add a java code generation parameter called "annotations_as_metadata" to optionally include Thrift field annotations as metadata in the generated code.
* THRIFT-5578 #nullable disable collides with C# lang versions < 8Jens Geyer2022-05-051-2/+0
| | | | | Client: netstd Patch: Jens Geyer
* (typescript): Fix invalid optional members and argument generationPhil Price2022-04-211-2/+17
| | | | | | | Fixes two cases where the optional flag `?` is generated incorrectly for typescript, leading to invalid build: - Non-optional function arguments after optional arguments - Exception types with optional message
* THRIFT-5548: add kotlin code genJiayu Liu2022-04-205-1/+2018
| | | | | | | Client: kotlin Patch: Jiayu Liu This closes #2556
* THRIFT-5569: add negative size checks in Go generator when reading maps, ↵Andreas Krennmair2022-04-201-0/+9
| | | | | | sets and lists Client: go
* change the java gen @SuppressWarnings locationJiayu Liu2022-04-191-5/+8
|
* THRIFT-5521: [java gen] use jdk8 option type in java generator codeJiayu Liu2022-04-161-14/+85
| | | | | | | Client: Java Patch: Jiayu Liu This closes #2525
* THRIFT-4100: Extract Rust read/write struct methods into a traitZachary Kuhn2022-04-141-11/+25
| | | | Client: rs
* THRIFT-5551: java generator to add @Override where possibleJiayu Liu2022-04-131-34/+67
| | | | | | | | | Client: java Patch: Jiayu Liu Co-authored-by: Christopher Tubbs <ctubbsii@apache.org> This closes #2559
* add interface generationJiayu Liu2022-04-131-0/+90
|
* THRIFT-5552 apply clang-format to java generatorJiayu Liu2022-04-111-293/+373
| | | | | Format only: `clang-format -i compiler/cpp/src/thrift/generate/t_java_generator.cc` This is a subset of `make style` for this one file only This closes PR #2560
* json gen should indent while printing include stringsJiayu Liu2022-04-111-0/+1
|
* THRIFT-5540 Can't use a typedef for a container type containing enums in a ↵Jens Geyer2022-03-172-0/+17
| | | | | | constant Patch: Jens Geyer
* FIX: error C4244: conversion from "int64_t" to "int", possible data lossJens Geyer2022-03-161-1/+1
| | | | | Client: py Patch: Jens Geyer
* workaround MSVC compiler bugLeon Scharnowski2022-03-121-1/+3
| | | | Client: cpp
* THRIFT-5501 Remove Common Lisp supportJens Geyer2022-03-066-565/+0
| | | | | Client: cl Patch: Jens Geyer
* don't output empty import line if old style enums are usedKevin Wojniak2022-03-051-3/+3
|
* match existing style for setting default value of gen_enum_Kevin Wojniak2022-03-051-1/+2
|
* fix broken syntax for old style enumKevin Wojniak2022-03-051-3/+3
|
* clean up formattingKevin Wojniak2022-03-051-1/+2
|
* init gen_enum_ to falseKevin Wojniak2022-03-051-1/+1
|
* Support for Python and enumsConstantinos Dimitriou2022-03-051-11/+47
| | | | | | In the spirit and steps of https://grokbase.com/t/thrift/user/13614a6xd1/introspection-of-thrift-enums-in-python (cherry picked from commit 4a8beb65f82a9525c5835cf93b664b7ac04ff076)
* THRIFT-5525 use "reuse_objects" instead of "reuse-objects" as a consistent ↵Jiayu Liu2022-03-021-2/+4
| | | | | | | | | param casing Client: java Patch: Jiayu Liu This closes #2530
* THRIFT-5526 to use "private_members" instead of "private-members" as a ↵Jiayu Liu2022-03-021-2/+4
| | | | | | | | | consistent param casing Client: java Patch: Jiayu Liu This closes #2531
* THRIFT-5519 Java async client loses exceptions in void methodsAlex Kormukhin2022-03-021-0/+4
| | | | | | Client: java (cherry picked from commit c4d3e36ed4db97fb6213cc13a4e611a4e658b4b7)
* Fixes #5529 missing space in between "<" and "::" in c++ generatorAndreas Renggli2022-02-261-3/+3
|
* THRIFT-5528 Incorrect HTML link for referenced typedefsJens Geyer2022-02-231-1/+1
| | | | | Client: html Patch: Jens Geyer
* THRIFT-5527: Don't swallow idl exceptions in Process functionYuxuan 'fishy' Wang2022-02-231-41/+103
| | | | | | | | | | | Client: go This allows ProcessorMiddlewares to access such exceptions, unless there's a network error writing the response (which takes priority). While I'm here, also make the indentation of Process function more consistent, and make it consistent on returning false and an error when the reading/writing fails.
* THRIFT-5511 Full support for the new net6 "nullability" semanticsJens Geyer2022-02-082-184/+493
| | | | | | | Client: netstd Patch: Jens Geyer This closes #2516
* minor indent fixesJens Geyer2022-02-011-16/+7
|
* THRIFT-5504 CA2254 Message template should be compile time constantJens Geyer2022-02-011-1/+1
| | | | | Client netstd Patch: Jens Geyer
* THRIFT-5506 C26495 variable "t_field::req_" not initialized, t_field.h:40Jens Geyer2022-01-301-0/+1
| | | | | Compiler General Patch: Jens Geyer
* THRIFT-5505 error: 'close_generator' overrides a member function but is not ↵Jens Geyer2022-01-301-9/+9
| | | | | | | marked 'override' Client: netstd Patch: Jens Geyer
* Fixes #5500, uncompilable code when a .thirft struct named 'System' is presentJonas Marty2022-01-201-1/+1
|
* Release 0.16.0Jens Geyer2022-01-201-1/+1
|
* THRIFT-5418: Fix missing implementation for enum functionsDirk Sandbrink2022-01-171-0/+2
| | | | | | | If a thrift file only contains an enum, then the c++ source file with the implementation for to_string and ostream operator<< is not generated. This bug was introduced in PR#2095 / THRIFT-5168.
* THRIFT-5479 Add net 6 supportJens Geyer2022-01-092-2/+15
|
* THRIFT-5476 Deprecate Common Lisp supportJens Geyer2021-10-311-1/+4
| | | | | Client: cl Patch: Jens Geyer
* THRIFT-5408 Support for deprecated methods - follow_up fixJens Geyer2021-10-272-10/+18
|
* THRIFT-5448: map binary to typescript BufferOpportunity2021-10-141-1/+1
| | | | | Client: js Author: OpportunityLiu
* THRIFT-5471 Introduce delimiter and app_prefix options to erl generatorSergey Yelin2021-10-141-3/+23
| | | | | | | Client: erl Patch: Sergey Yelin This closes #2457
* THRIFT-4868: Golang: Fix compilation for optional set<binary> with default ↵Yuri Melnikov2021-09-091-2/+2
| | | | values
* THRIFT-5459: Fix breaking issue when adding a new exceptionYuxuan 'fishy' Wang2021-09-031-1/+17
| | | | | | | | | | Client: go Currently in the compiler generated go code, adding a new exception to an existing endpoint can cause unexpected behaviors when the client isn't updated. Fix the issue. Will be cherry-picked into 0.15.0 after merged.