Commit Graph

1627 Commits

Author SHA1 Message Date
cyy
9fed90104c fix static analyzer warings 2019-01-22 10:38:15 +08:00
Jens Geyer
3b280d1ee2 THRIFT-4744 Erlang help intendation not aligned
Client: Erlang
Patch: Jens Geyer
2019-01-20 12:38:36 +01:00
Mustafa Senol Cosar
f86845e8ed THRIFT-4675: Generate Int64 constants for js 2019-01-15 09:20:54 -05:00
James E. King III
234fb47229 THRIFT-4719: remove cocoa 2019-01-14 08:13:52 -05:00
James E. King III
1735542542 THRIFT-4735: Remove Qt4 build support 2019-01-13 09:01:52 -05:00
James E. King III
278528cf7b THRIFT-4732: windows cmake refinements and add windows docker build support 2019-01-11 20:47:00 -05:00
James E. King III
c9ac8d2953 THRIFT-4720: documenting breaking changes, minor cleanup 2019-01-09 17:05:34 -05:00
cyy
0140cbf567 remove unused variables 2019-01-07 08:11:37 -05:00
cyy
316723add4 remove stdcxx namespace and use std directly 2019-01-07 08:11:37 -05:00
cyy
e42cf5023e use noexcept instead of throw() in compiler generated code 2019-01-07 08:11:37 -05:00
Shaoyu Zhang
087d88108d THRIFT-4684: Fix WCF related C# code generation
Client: C#
Complete the namespace in System.ServiceModel in WCF related code.
Also when generating fields in fault classes, we follow the same behavior in normal struct,
to avoid generating unused private fields, when auto properties are also generated.
2018-12-25 12:53:52 -05:00
James E. King III
9b75e4fe74 THRIFT-4680: fix up std::min, std::max, and numeric limits min/max on Windows; remove NOMINMAX from cmake build 2018-12-18 10:17:57 -05:00
louyl
9c3d2d6c0a Fix build compiler with cmake 2018-12-10 08:35:09 -05:00
wilfrem
2c69b5a01e THRIFT-3143: Add nodets support
Co-authored-by: Mustafa Senol Cosar <cosar.mustafasenol@gmail.com>
2018-11-29 15:28:44 -05:00
Jens Geyer
b073e1438d THRIFT-4672 IAsyncResult style methods not being supported by certain transports leads to issues in mixed ISync/IAsync use cases
Client: C#
Patch: Jens Geyer

This closes #1633
2018-11-24 21:46:53 +01:00
Palmer Cox
5112afcc97 THRIFT-4670: Twisted, slots, and void method fails with "object has no attribute 'success'"
For a void method, there is no success value, so, it is an error to
attempt to assign one to the result object. This error is harmless
unless slots is also specified - with slots specified, the attempt to
assign to a non-existent field causes an error which makes the service
method fail.

Client: py
2018-11-22 08:17:15 -05:00
GREATEST Wiggler EvaR!
0882354f28 Fix function name in Rust generator (does not affect generated code)
Client: rs
2018-11-16 15:50:17 -05:00
GREATEST Wiggler EvaR!
b57d126157 THRIFT-4529: Rust enum variants are now camel-cased
Client: rs
2018-11-12 07:57:43 -05:00
jake-ruyi
6436899e47 THRIFT-4662: Rust const string calls function at compile time
Client: rs
2018-11-12 07:51:25 -05:00
jake-ruyi
d5bd2005ea THRIFT-4661: Rust enum name wrong case in generated structs
Client: rs
2018-11-09 17:56:25 -05:00
Lázaro Clapp
fed4977027 THRIFT-4660: Include Generated and Nullable as needed for enums
Client: Java
2018-11-06 07:55:55 +01:00
Manu Sridharan
f216dfb716 THRIFT-4657: Include @javax.annotation.Generated annotations for generated Java union classes
Client: Java
2018-11-03 07:45:50 +01:00
bforbis
da1169d75b THRIFT-4653: ES6 classes support (#1615)
* ES6 classes support
* Lint generated code
* ES6 Tests for NodeJS
* Add eslint rules for nodejs
* Run prettier/eslint on nodejs test code
2018-10-28 11:27:38 -04:00
D. Can Celasun
9ee29516c4 Replace git.apache.org imports with github.com
Client: go
2018-10-19 07:48:56 +01:00
Dean Hamstead
8a130f63e5 THRIFT-4382: Replace the use of Indirect Object Syntax calls to new() 2018-10-17 19:13:45 -04:00
Craig Wickesser
5c1ecb67cd THRIFT-4650: fix required fields incorrectly being marked as set
This closes #1610.

Client: go
2018-10-16 07:40:13 +01:00
Simon South
2853da436f THRIFT-4648: Use correct namespace in type names
Client: c_glib
2018-10-12 07:35:39 -04:00
David Walker
031f57122f THRIFT-4646: change dart generation of exception to exception
Generator: Dart
2018-10-04 15:44:02 -04:00
Tsuzu
14190de4cb THRIFT-4644: Compiler cannot be compiled on macOS (#1601)
Client: compiler
2018-10-03 07:57:17 -04:00
nsrtvwls
014f53f658 THRIFT-4496: python specific list of keywords for python generator (#1567)
Client: py
2018-09-28 11:11:21 -04:00
Brian Forbis
b5d6ea390f THRIFT-4625: Use let/const variable decorators in ES6 Javascript 2018-09-28 10:36:55 -04:00
Jens Geyer
0f6e52abcc THRIFT-4637 C# async mode generates incorrect code with inherited services
Client: C#
Patch: Jens Geyer
2018-09-16 07:02:55 -04:00
Charles Giardina
180888820a THRIFT-4631 Fix Ruby codegen to gen valid ruby for recursive structs 2018-09-15 09:47:14 -04:00
Chris Simpson
612fdd871c Better consistency with module names, fix module name for Errors 2018-09-13 07:50:24 -04:00
Simon South
8de3749235 THRIFT-4622: Resolve typedef'd list-element type
Client: c_glib
2018-08-29 08:03:07 -04:00
Flavien Raynaud
3f5f0f82a7 THRIFT-4617: Prepend service-specific struct names with service name (#1578)
Client: rs
2018-08-28 23:55:15 -04:00
Manu Sridharan
831819c563 THRIFT-4614: Generate missing @Nullable annotation (#1577)
Client: Java
2018-08-07 06:40:38 +01:00
bforbis
f2867c2498 THRIFT-3950: Memory leak while calling oneway methods (#1568)
* THRIFT-3950: Memory leak while calling oneway methods
* THRIFT-3950: Update NodeJS Oneway tests
2018-07-17 12:19:49 -04:00
Kevin Carbone
e7fa464584 THRIFT-4586: Cocoa generator generates NSString with copy instead of strong.
Client: [cocoa]
2018-07-03 08:18:54 -04:00
Brian Forbis
d7b635f784 THRIFT-4225: Delete callback if RPC send failed 2018-06-27 08:48:18 -04:00
Brian Forbis
896c206c56 THRIFT-4564: Reset buffered transport on serizliation errors 2018-06-21 20:48:16 -04:00
D. Can Celasun
88591e32e7
THRIFT-4573 Support binary fields in union counts
This commit also fixes another, related issue: Since union support was
added in b3654df, `Count*` methods (and count checks in `Write`
methods) were only generated if there was at least 1 pointer field.

But pointer fields are not the only nullable types in Go, slices and
maps can also be set the nil, which are now taken into account.

Client: go
2018-05-17 10:26:09 +02:00
McGradyDa
8672394ade Simplify the rust code generated by the generator (#1553)
Client: rs
2018-05-09 08:51:31 -04:00
Jens Geyer
92d80629ac THRIFT-4562 Calling wrong exception CTOR leads to "call failed: unknown result" instead of the real exception being thrown
Client: Delphi
Patch: Jens Geyer

This closes #1551
2018-05-03 09:04:05 +02:00
nicaro
c7aa68bd59 Thrift 4556: Optional rethrow of unhandled exceptions in java processor (#1544)
Client: java
2018-05-01 09:07:50 -04:00
Mustafa Senol Cosar
09c1f3719c THRIFT-4532: Do not update previously generated output files if the contents have not changed 2018-05-01 07:53:52 -04:00
Pierre Mignolet
4a00fc658a THRIFT-4558 normalize name in C# constructor
Client: csharp
Patch: Pierre Mignolet <p.mignolet@evs.com>

This closes #1546
2018-04-17 22:12:17 +02:00
Ben Podgursky
50bfc56d5d THRIFT-4555 Optionally disable copies of binary fields in constructors, getters and setters.
Client: java

This closes #1540.
2018-04-17 07:21:46 +01:00
Jens Geyer
c564651dd4 THRIFT-4554 uncompileable code with member names that are also types under specific conditions
Client: Delphi
Patch: Jens Geyer

This closes #1539
2018-04-14 00:51:41 +02:00
Davin Chia
b9d5fb25e4 THRIFT-4253: Fix for constant assignments to optional fields in Go. (#1311)
Client: go
2018-04-09 08:04:42 -04:00