Deniss Afonin
d3cda9c2f3
THRIFT-3357: Generate EnumSet/EnumMap where elements/keys are enums
...
Client: Java
This closes #1253
2017-09-21 13:57:09 -07:00
oryahud
8506121b3e
THRIFT-4287: Add c++ compiler no_skeleton flag option
...
Client: C++
This closes #1333
2017-09-21 10:03:00 -07:00
Ivan Sadikov
04d983c14e
THRIFT-4330: Allow unused crates in Rust files
...
Client: Rust
Patch: Ivan Sadikov <ivan.sadikov@team.telstra.com>
This closes #1360
2017-09-19 22:02:43 +02:00
Jens Geyer
078281dcd3
THRIFT-4324 field names can conflict with local vars in generated code
...
Client: Delphi
Patch: Jens Geyer
2017-09-08 23:55:02 +02:00
Jens Geyer
17c3ad9c8a
THRIFT-4318 Delphi performance improvements
...
Client: Delphi
Patch: Jens Geyer
This closes #1348
2017-09-07 22:14:00 +02:00
Dirk Sandbrink
05c672b4d0
THRIFT-4290: Fixed csharp:nullable code generation for non-required enum fields with default values
...
Client: cs
This closes #1347
2017-09-07 10:31:35 -07:00
Charlie Zhang
e9ede89c1c
THRIFT-4275: add support for zope.interface exclusively when generating code for python
...
Client: py
This closes #1324
2017-09-06 21:19:42 -07:00
James E. King, III
113614b2e5
fix flex syntax in compiler readme
...
Patch: Zhaopin <daishun9@gmail.com>
This closes #1332
2017-09-04 18:28:29 -07:00
James E. King, III
d7142b7e4f
THRIFT-4295: rework the docker build images, updating them and tuning the travis builds
...
This closes #1340
2017-09-04 18:09:34 -07:00
jiangq
de112fbb0d
change js generator for simple using in object params
...
Client: node.js
This closes #1034
2017-08-12 16:23:06 -07:00
James E. King, III
82ae9575cd
THRIFT-2221: detect C++11 and use std namespace for memory operations (smart_ptr)
...
Client: C++
This closes #1328
2017-08-10 13:27:21 -04:00
David Hull
0a8c34ceed
THRIFT-4279 Wrong path in include directive in generated Thrift sources
...
Client: Erlang
Patch: David Hull <david.hull@openx.com>
This closes #1329
2017-08-09 14:58:31 +02:00
David Hull
0eda909573
THRIFT-4270 Generate Erlang mapping functions for const maps and lists
...
Client: Erlang
Patch: David Hull <david.hull@openx.com>
This closes #1320
2017-08-02 22:20:42 +02:00
David Hull
ec2a252136
THRIFT-4269 Don't append '.' to Erlang namespace if it ends in '_'.
...
Client: Erlang
Patch: David Hull <david.hull@openx.com>
This closes #1319
2017-08-01 00:38:55 +02:00
Mike Morton
3ba4ecf3e0
THRIFT-4257 Typescript async callbacks do not provide the correct types
...
Client: Typescript
Patch: Mike Morton <michaeldouglasmorton@gmail.com>
This closes #1310
2017-07-30 12:00:06 +02:00
taozle
5c302e02c4
THRIFT-4260 Go context generation issue. Context is parameter in Interface not in implementation
...
Client: Go
Patch: taozle <zhangliyang26@gmail.com>
This closes #1312
2017-07-25 00:17:30 +02:00
taozle
c0d384a38c
THRIFT-4236 Support context in go generated code
...
Client: Go
Patch: taozle <zhangliyang26@gmail.com>
This closes #1309
2017-07-22 19:42:48 +02:00
Eric Conner
c34653f751
THRIFT-2642 Recursive structs don't work in python
...
Client: Python
Patch: Eric Conner <eric@pinterest.com>
This closes #1293
2017-07-06 22:59:10 +02:00
taozle
5b4c6bfc62
THRIFT-4236: Add context support for go server.
...
Client: Go
Patch: taozle <zhangliyang26@gmail.com>
This closes #1298
2017-07-01 17:23:56 +02:00
Stig Bakken
c0e353500d
THRIFT-4238 JSON generator: make annotation-aware
...
Client: json
Autor: Stig Bakken <stig@zedge.net>
This closes #1299
2017-07-01 15:51:14 +02:00
Jens Geyer
c55fdb9534
THRIFT-4231 TJSONProtocol throws unexpected non-Thrift-exception on null strings
...
Client: C#
Patch: Jens Geyer
This closes #1291
2017-06-17 17:59:46 +02:00
D. Can Celasun
2b1b32c283
THRIFT-3703 Unions Field Count Does Not Consider Map/Set/List Fields
...
Client: Go
Patch: D. Can Celasun <can@dcc.im>
This closes #1281
2017-05-31 22:56:52 +02:00
Allen George
5862099f37
THRIFT-4196 Support recursive types in Rust
...
Client: rs
Patch: Allen George <allen.george@gmail.com>
This closes #1267
2017-05-13 00:01:05 +02:00
Allen George
bc1344d55f
THRIFT-4186 Add travis build for Rust
...
Client: rs
Patch: Allen George <allen.george@gmail.com>
This closes #1260
2017-05-11 01:35:33 +02:00
Allen George
0e22c362b9
THRIFT-4176: Implement threaded server for Rust
...
Client: rs
* Create a TIoChannel construct
* Separate TTransport into TReadTransport and TWriteTransport
* Restructure types to avoid shared ownership
* Remove user-visible boxing and ref-counting
* Replace TSimpleServer with a thread-pool based TServer
This closes #1255
2017-04-27 08:46:02 -04:00
Deniss Afonin
3311a9b237
THRIFT-4177 fix java deep copy
...
Client: Java
Java compiler produces deep copy constructor that could make shallow copy accidentally.
This closes #1254
2017-04-19 12:38:14 -04:00
Allen George
92e1c409c7
THRIFT-4099: Derive Hash trait for Rust structs
...
Client: rs
This closes #1246
2017-04-07 09:24:41 -04:00
Gonzalo Aguilar Delgado
fcf4476792
THRIFT-4152: Make a patch to fix #4152 at least for structs
...
Documentation
This closes #1230
2017-04-01 10:56:21 -04:00
James E. King, III
2c0badd660
THRIFT-3823: Use 'pre' HTML tag when generating non escaped documentation
...
Patch: Maxime Mouial <maxime.mouial@scmfrance.fr>
This closes #1009
2017-04-01 10:38:13 -04:00
James E. King, III
177c37ce85
THRIFT-4069: perl library cleanup - namespaces, versioning, exception fixes
...
Client: perl
This closes #1220
2017-03-30 17:09:04 -04:00
kufd
1360270eb8
THRIFT-4126: implement required fields validation in php extension when validate compiler option is enabled
...
Client: php
This closes #1215
2017-03-30 16:42:11 -04:00
Jens Geyer
7470995ce4
THRIFT-4137 Fix remaining undefined behavior invalid vptr casts in Thrift Compiler
2017-03-27 22:50:16 +02:00
Chao Sun
9f71e00b00
THRIFT-4114: Space after '///' in doc comments
...
Client: rs
This closes #1224
2017-03-27 08:52:12 -04:00
Jens Geyer
971d077807
THRIFT-4136 Align is_binary() method with is_string() to simplify those checks
...
Client: Compiler (general)
Patch: Jens Geyer
This closes #1221
2017-03-26 19:54:50 +02:00
Jim Apple
147c2849af
THRIFT-2026: Eliminate some undefined behavior in C/C++
...
Clients: glib, C++
Patch: Jim Apple <jbapple-impala@apache.org>
This closes #1214
This patch fixes some undefined behavior were found using Clang's
UndefinedBehaviorSanitizer (UBSan). To check for undefined behavior,
run /build/docker/scripts/ubsan.sh. This is run during CI builds, as
well.
The examples of the types of undefined behavior fixed in this commit
are:
1. Enumerations exhibit undefined behavior when they have values
outside of a range dependent on the values of their enumerators, as
specified in C++14's chapter 7.2 ("Enumeration declarations"),
paragraph 8.
2. Left shift of negative values, used in zigzag encoding, is
undefined behavior. See 5.8 ("Shift operators"), paragraph 2 for
C++ and 6.5.7 ("Bitwise shift operators"), paragraph 4 for C99 and
C11.
2017-03-25 08:16:18 -04:00
James E. King, III
e576b26e39
THRIFT-4079: emit use clauses in Types.pm generated files as well (fix reopened defect)
...
Client: perl
This closes #1219
2017-03-22 14:42:52 -04:00
James E. King, III
07f59971bd
THRIFT-4081: appveyor retooling - added mingw64 build as a second job to the CI build process
...
This closes #1205
2017-03-10 06:18:33 -05:00
D. Can Celasun
431732d39e
THRIFT-4031: Fix invalid code generation for list of typedef'ed built-in types
...
Client: Go
Patch: D. Can Celasun <can@dcc.im>
This closes #1207
This commit reverts 12d430e723
which
caused invalid code to be generated for certain types.
2017-03-04 14:13:59 +01:00
James E. King, III
c89e172289
THRIFT-3921: fix ostream definitions so they are not inline because it confused template deduction
...
Client: C++
This closes #1204
2017-02-28 12:25:28 -05:00
Christopher Tubbs
5038466e5e
THRIFT-1805 Provide option for handling RTEs
...
Client: Java
Adds a Java option to the generator to generate code which lets Thrift
handle RuntimeExceptions from a service, and present them as
TApplicationException to the client.
This closes #1186
2017-02-27 23:38:44 -05:00
D. Can Celasun
43fb34df28
THRIFT-4011 Sets of Thrift structs generate Go code that can't be serialized to JSON
...
Client: Go
Patch: D. Can Celasun <dcelasun@gmail.com>
This closes #1156
2017-02-21 22:32:49 +01:00
James E. King, III
06190874c8
THRIFT-4084: Add a SSL/TLS negotiation check to crossfeature to verify SSLv3 is not active and that at least one of TLSv1.0 through 1.2 are accepted.
...
Client: csharp, d, go, nodejs, perl
This closes #1197
2017-02-20 08:52:11 -05:00
Vivek Jain
655b9b6ef8
THRIFT-3921: Add ostream operator<< functions for enums (working with THRIFT-4060)
...
Client: C++
This closes #1083
This closes #1194
2017-02-18 14:30:46 -05:00
James E. King, III
b4c190b6ea
THRIFT-4060 add better support in the cpp generator for custom ostream operators on structures
...
Client: C++
This closes #1172
2017-02-13 16:39:59 -05:00
James E. King, III
f535058572
THRIFT-4073: enum files are still being generated with unused imports
...
Client: Java
Patch: BCG <bgould@users.noreply.github.com>
This closes #1182
2017-02-09 10:03:03 -05:00
James E. King, III
d1482fe3e2
THRIFT-4079 add missing use clauses for included thrift sources in generated perl modules
...
Client: perl
This closes #1181
2017-02-09 07:53:44 -05:00
Allen George
8b96bfbf1e
THRIFT-2945 Add Rust support
...
Client: Rust
Patch: Allen George <allen.george@gmail.com>
This closes #1147
2017-01-26 01:34:16 +01:00
James E. King, III
330b3f814a
THRIFT-4034 compiler build fixes for macos sierra and some cmake cleanup for compiler
...
Compiler
Patch: Robert Lu <robberphex@gmail.com>
This closes #1161
2017-01-23 08:52:04 -05:00
James E. King, III
7edc8faefd
THRIFT-3873: fix various compiler warnings and overflow errors
...
THRIFT-3847: change VERSION to PACKAGE_VERSION to avoid conflicts with third party or OS headers
This closes #1128
2017-01-20 10:12:06 -05:00
BCG
4f710aa4f4
THRIFT-3960 Inherited services in Lua generator are not named correctly
...
Client: Lua
Patch: Benjamin Gould <bgould@users.noreply.github.com>
This closes #1124
2017-01-10 23:02:00 +01:00