summaryrefslogtreecommitdiff
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #2273 from allengeorge/allen/clippy_cleanAllen George2020-11-181-13/+12
|\ | | | | THRIFT-5306: Rust code and generated code no longer has clippy warnings (Rust 1.40)
| * THRIFT-5306: Rust code and generated code no longer has clippy warnings ↵Allen George2020-11-121-13/+12
| | | | | | | | | | | | | | | | (Rust 1.40) Client: rs NOTE: Also properly update the min/max supported Rust versions
* | THRIFT-5302 Add recursive function name uniqueness checkwangliming072020-11-012-4/+50
| | | | | | | | | | | | Patch: wangliming07 <wangliming07@58.com> This closes #2268
* | THRIFT-5290 Adjusting cpp *.cproj options according to LEGAL-538Jens Geyer2020-11-011-1/+1
|/
* THRIFT-5290 Adjusting cpp *.cproj options according to LEGAL-538Jens Geyer2020-10-061-3/+5
| | | | | | | Client: cpp Patch: Jens Geyer This closes #2250
* markdown compiler addedKashirin Alex2020-10-025-0/+1116
| | | | | | | Client: md Patch: Kashirin Alex This closes #2241
* Rust compiler generates invalid code when using typedef with unionguanjialin2020-10-011-0/+4
| | | | | | | Client: rs Patch: guanjialin <1406147701@qq.com> This closes #2228
* Fix typoTom Wieczorek2020-09-301-1/+1
|
* THRIFT-4942 Set PHP struct generated field values as private with getters ↵Dedipyaman Das2020-09-271-1/+2
| | | | | | | | | | | and setters Client: php Patch: Das Dedipyaman This closes #2245 Update field access for getters_setters flag. FFields are private if getters_setters are set, otherwise, public.
* THRIFT-4942 Set PHP struct generated field values as private with getters ↵Dedipyaman Das2020-09-251-1/+94
| | | | | | | | | | and setters Client: php Patch: Das Dedipyaman This closes #1859 This closes #2238
* Merge pull request #2191 from zeshuai007/Implements_TConfigZezeng Wang2020-09-181-8/+7
|\ | | | | THRIFT-5237 Implement MAX_MESSAGE_SIZE and consolidate limits into a TConfiguration class(JAVA)
| * Implements TConfiguration for javazeshuai0072020-09-161-8/+7
| |
* | THRIFT-5134: Fix memory leak when the handler method return FALSEwangyunjian2020-09-171-42/+41
|/ | | | | | | | | Client: c_glib Patch: wangyunjian This closes #2049 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* Fixed double newline at end of generated python service files (#2236)Jonathan Mackenzie2020-09-141-1/+1
| | | | | | | Generated python files have a blank line at the end of files, except for service files where there are two blank lines, this change makes these service files consistent. This change is trivial and thus does not require a ticket.
* THRIFT-5260 Fix the thrift compiler generate problematic lua code for the ↵longzhiri2020-09-121-25/+38
| | | | | | | | | | | oneway method Client: lua Patch: longzhiri <persistentsnail@gmail.com> This closes #2212 The oneway method's processor has no need to write the result to client, but it is necessary to return values of each handler's return.
* THRIFT-5158 Update Rust generator and Rust lib,test,tutorial to only support ↵Allen George2020-09-021-3/+1
| | | | | | | | | 2018 edition Client: rs Patch: Allen George This closes #2078
* THRIFT-5261 Support for deprecated methods (via annotation)Jens Geyer2020-08-051-12/+53
| | | | | | | Client: Delphi Patch: Jens Geyer This closes #2213
* THRIFT-5254 Member name cannot be Isset (unless it is an "required" member)Jens Geyer2020-07-162-13/+19
| | | | | | | Client: netstd Patch: Jens Geyer This closes #2203
* THRIFT-5253 using Result in result name generates wrong IAsync interfaceJens Geyer2020-07-161-9/+17
| | | | | | | Client: netstd Patch: Jens Geyer This closes #2202
* THRIFT-5118: Fix memory leak when the handler method return a exceptionwangyunjian2020-07-011-0/+1
| | | | | | | | | Client: c_glib Patch: wangyunjian This closes #2035 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* THRIFT-5240: Do connectivity check in Go serverYuxuan 'fishy' Wang2020-07-011-4/+65
| | | | | | | | | | | | Client: go In compiler generated TProcessorFunction implementations, add a goroutine after read the request to do connectivity check on the input transport. If the transport is no longer open, cancel the context object passed into the handler implementation. Also define ErrAbandonRequest error, to help TSimpleServer closing client connections that's already closed on the other end.
* THRIFT-5144: Fix memory leak when generate deserialize list elementwangyunjian2020-06-271-0/+1
| | | | | | | | | Client: c_glib Patch: wangyunjian This closes #2064 Signed-off-by: wangyunjian <wangyunjian@huawei.com>
* THRIFT-5238 GetHashCode can throw NullReferenceExceptionJens Geyer2020-06-252-72/+57
| | | | | | | Client: netstd Patch: Jens Geyer This closes #2187
* THRIFT-2087 Python compiler replace non utf-8 char with defaultEmmanuel Brard2020-06-221-1/+1
| | | | | | | Client: py Patch: Emmanuel Brard This closes #2184
* THRIFT-5233: Handle I/O timeouts in go library (#2181)Duru Can Celasun2020-06-181-70/+70
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client: go As discussed in the JIRA ticket, this commit changes how we handle I/O timeouts in the go library. This is a breaking change that adds context to all Read*, Write*, and Skip functions to TProtocol, along with the compiler change to support that, and also adds context to TStandardClient.Recv, TDeserializer, TStruct, and a few others. Along with the function signature changes, this commit also implements context cancellation check in the following TProtocol's ReadMessageBegin implementations: - TBinaryProtocol - TCompactProtocol - THeaderProtocol In those ReadMessageBegin implementations, if the passed in context object has a deadline attached, it will keep retrying the I/O timeout errors, until the deadline on the context object passed. They won't retry I/O timeout errors if the passed in context does not have a deadline attached (still return on the first error).
| * THRIFT-5233: Handle I/O timeouts in go libraryYuxuan 'fishy' Wang2020-06-151-70/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Client: go As discussed in the JIRA ticket, this commit changes how we handle I/O timeouts in the go library. This is a breaking change that adds context to all Read*, Write*, and Skip functions to TProtocol, along with the compiler change to support that, and also adds context to TStandardClient.Recv, TDeserializer, TStruct, and a few others. Along with the function signature changes, this commit also implements context cancellation check in the following TProtocol's ReadMessageBegin implementations: - TBinaryProtocol - TCompactProtocol - THeaderProtocol In those ReadMessageBegin implementations, if the passed in context object has a deadline attached, it will keep retrying the I/O timeout errors, until the deadline on the context object passed. They won't retry I/O timeout errors if the passed in context does not have a deadline attached (still return on the first error).
* | THRIFT-5235 Add property setter for isset flagsJens Geyer2020-06-181-8/+19
| | | | | | | | | | Client: delphi Patch: Jens Geyer
* | THRIFT-5234 Fix a number of js/ts generation issuesPhil Price2020-06-181-16/+59
| | | | | | | | | | Client: js/ts Patch: Phil Price
* | THRIFT-5229 Deprecate as3 supportJens Geyer2020-06-162-8/+7
| | | | | | | | | | | | | | Client: as3 Patch: Jens Geyer This closes #2182
* | THRIFT-5225: Use nullptr instead of NULLzeshuai0072020-06-1434-348/+348
|/ | | | | | Patch: Zezeng Wang This closes #2168
* THRIFT-5082 Add a Class reference for PHP enum $_TSPECStanislav Markevic2020-06-091-2/+2
| | | | | | | Client: php Patch: Stanislav Markevic This closes #2000
* THRIFT-5200 Thrift compiler will generate incorrect code when add ↵zeshuai0072020-06-041-3/+38
| | | | | | | | | 'cob_style' option Client: cpp Patch: Zezeng Wang This closes #2144
* THRIFT-5220 DeepCopy() extension methods not generated when the IDL contains ↵Jens Geyer2020-05-281-3/+2
| | | | | | | no service Client: netstd Patch: Jens Geyer
* THRIFT-5216 generate DeepCopy methodsJens Geyer2020-05-272-59/+469
| | | | | | | Client: netstd Patch: Jens Geyer This closes #2155
* THRIFT-5138 Swift keywords may be used as identifiers if escapedJano Svitok2020-05-204-5/+24
| | | | | | | Client: Swift Patch: Jano Svitok This closes #2059
* THRIFT-5128 Swift TFramedTransport does not work using present codeJano Svitok2020-05-201-4/+6
| | | | | | | Client: Swift Patch: Jano Svitok This closes #2047
* THRIFT-3622 Fix deprecated uses of std::auto_ptrzeshuai0072020-05-151-2/+2
| | | | | | | Client: cpp Patch: zeshuai007 <51382517@qq.com> This closes #2135
* THRIFT-5198 Fix certain Visual Studio hints in generated netstd codeJens Geyer2020-05-082-21/+35
| | | | | | | Client: netstd Patch: Jens Geyer This closes #2133
* THRIFT-5179: Fix generated code for struct's named "a" or "b"Zezeng Wang2020-04-281-9/+34
| | | Client: cpp
* THRIFT-5159: Fix runtime ReferenceError in generated codepenenin2020-04-271-0/+3
| | | Client: nodejs
* Remove boost from compiler test, delete unused bincat.shMario Emmenlauer2020-04-243-12/+1
|
* Swift 5.1 supportAlexander Edge2020-04-241-17/+7
| | | | | | | | | | | | Use stdlib Result instead of TAsyncResult Fix: deprecations for `withUnsafeBytes` Bump CI job Xcode version Hash (into) Co-authored-by: Sophie Lambrakis <SLambrakis@users.noreply.github.com> Co-authored-by: Alexander Edge <alex@alexedge.co.uk>
* THRIFT-5109 Misc Cmake build improvementsMario Emmenlauer2020-04-221-0/+7
| | | | | | Patch: Mario Emmenlauer This closes #2094
* THRIFT-5168 Useless generated code when .thrift file only has service typezeshuai0072020-04-211-41/+57
| | | | | | | Client: cpp Patch: zeshuai007 <51382517@qq.com> This closes #2095
* Modify autogenerated message for Go to standard to match the expectations of ↵gzuykov2020-04-091-3/+3
| | | | | | | | | some tools Client: Go Patch: gzuykov This closes #2096
* THRIFT-4764: Use new syntax for clippy skippingMikail Bagishov2020-03-281-1/+1
| | | | Client: rs
* THRIFT-5154 Generate interface IDs (IID) for Windows platformsJens Geyer2020-03-281-0/+28
| | | | | | | Client: Delphi Patch: Jens Geyer This closes #2072
* THRIFT-5067 Invalid generated Cpp code from valid Thrift IDL with dots in ↵zeshuai0072020-03-221-0/+26
| | | | | | | | | file names for nested namespaces Client: cpp Patch: zeshuai007 <51382517@qq.com> This closes #2060
* CI broken, reverting following PRsJens Geyer2020-02-281-4/+0
| | | | | | reverted https://github.com/apache/thrift/pull/2025 reverted https://github.com/apache/thrift/pull/2026 Reverted https://github.com/apache/thrift/pull/2021
* THRIFT-4982 Remove deprecated C# bindings from the code baseJens Geyer2020-02-289-3275/+1
| | | | | | | Client: csharp Patch: Jens Geyer This closes #2027