Jens Geyer
86f7350f90
THRIFT-3076 Compatibility with Haxe 3.2.0
...
Client: Haxe
Patch: Jens Geyer
This closes #435
2015-04-11 02:04:09 +02:00
Nobuaki Sukegawa
58ed1cdf3c
THRIFT-3057 Java compiler build is broken
2015-03-29 14:39:32 +02:00
Roger Meier
e6789480d2
THRIFT-1909 Java: Add compiler flag to use the "option pattern" for optional fields
...
Patch: Eirik Sletteberg & rebase by Wouter Lammers
2015-03-23 20:41:15 +01:00
Jens Geyer
43ceaf7cf5
THRIFT-3043 go compiler generator uses non C++98 code
...
Client: Go
Patch: Jens Geyer
2015-03-17 00:39:36 +02:00
Jens Geyer
1d1bca2738
THRIFT-3027 Go compiler does not ensure common initialisms have consistent case
...
Client: Go
Patch: Magrath <paul@paulmagrath.com>
This closes #394
2015-03-14 16:38:43 +02:00
Jens Geyer
28c1c19f91
THRIFT-3023 Go compiler is a little overly conservative with names of attributes
...
Client: Go
Patch: Paul Magrath <paul@swiftkey.com>
This closes #389
2015-03-07 14:25:00 +01:00
Jens Geyer
eda0f844ee
THRIFT-3021 Service remote tool does not import stub package with package prefix
...
Client: Go
Patch: Yinyin L <yinyinl@gmail.com>
This closes #385
2015-03-03 21:35:44 +01:00
Jens Geyer
3811e59c15
THRIFT-3019 Golang generator missing docstring for structs
...
Client: Go
Patch: Abdel Said
2015-03-03 21:35:36 +01:00
Jens Geyer
962e41078b
THRIFT-3006 Attach 'omitempty' json tag for optional fields in Go
...
Client: Go
Patch: Peter Woodman <peter@vineapp.com>
This closes #380
2015-02-27 22:53:00 +01:00
Randy Abernethy
bd60b92c6f
THRIFT-3008: Node.js server does not fully support exceptions
...
Client: Node.js
Patch: Nobuaki Sukegawa
Github Pull Request:
This closes #382
commit 0c0d51ca1dafa5f8e0004563df780a92580590f3
Author: Nobuaki Sukegawa <nsukeg@gmail.com>
Date: 2015-02-22T16:49:22Z
THRIFT-3008 - Node.js server does not fully support exception
2015-02-26 16:59:14 -08:00
Jens Geyer
80aa53e6bc
THRIFT-3001 C# Equals fails for binary fields (byte[])
...
Client: C#
Patch: Benjamin Schulz, Testcase added by Jens Geyer
2015-02-18 23:25:13 +01:00
Konrad Grochowski
3bc6424c76
THRIFT-2724 - Coding standards template added all over project
...
Client: All
Patch: Konrad Grochowski
This closes #371
2015-02-05 12:15:19 +01:00
Jens Geyer
b3654df14c
THRIFT-2189 add union support for go generator
...
Client: Go
Patch: Anton Lindström <lindztr@gmail.com> and Jens Geyer
This closes #369
This makes it possible to check if a field is set and skips adding new ones.
Fields in unions are pointers by setting them as `t_field::T_OPTIONAL`.
To be sure that exactly one and only one field is set in a union, we count the
number of fields set and return an error if not exactly one field is set.
This is a breaking change and will require fields in unions to be passed in as
pointers.
2015-02-03 23:40:02 +01:00
Jens Geyer
2663ec43ab
THRIFT-2955 Using list of typedefs does not compile on Go
...
Client: Go
Patch: Johannes Martinsson <johannes@saltside.se>
Be explicit about when to use true type.
2015-02-03 22:45:18 +01:00
Jens Geyer
12d430e723
THRIFT-2955 Using list of typedefs does not compile on Go
...
Client: Go
Patch: Johannes Martinsson <johannes@saltside.se>
Be explicit about when to use true type.
2015-02-03 22:34:41 +01:00
henrique
2f2d6ac7ea
THRIFT-2368 New option: reuse-objects for Java generator
...
Client: Java
Patch: adam.p.hajduk
amendments to original patch
2015-02-03 12:47:31 +11:00
jfarrell
8f2596ad54
THRIFT-2961: Service inheritance does not work with namespaced Ruby code
...
Client: rb
Patch: Jan Brauer
This closes #364
commit 111c4e77a78c1a82f526923f13534bb0027ef33f
Author: Jan Brauer <jan@jimdo.com>
Date: 2015-01-29T22:01:26Z
Make 'extends' work with 'rb:namespaced'.
commit 34cab3d7c77bd5e8325ac4f30f1091429c35905e
Author: Jan Brauer <jan@jimdo.com>
Date: 2015-01-29T22:25:03Z
Add test for namespaced service extension
2015-01-29 23:42:05 -05:00
jfarrell
4e16718e99
Thrift-2960: Fix namespace regression for Ruby
...
Client: rb
Patch: Jan Brauer
Add test that exposes the broken namespacing.
Fixes a bug introduced by #140 .
This closes #363
2015-01-29 23:03:34 -05:00
Jens Geyer
176c9261ed
THRIFT-2949 typo in compiler/cpp/README.md
...
Client: C++
Patch: Seokju Yun <noricube@gmail.com>
This closes #359
2015-01-29 00:30:08 +01:00
Jens Geyer
ce36aac591
THRIFT-2942 CSharp generate invalid code for property named read or write
...
Client: C#
Patch: Jens Geyer
2015-01-20 23:31:19 +01:00
Jens Geyer
307144a5b5
THRIFT-2878 Go validation support of required fields
...
Client: Go
Patch: Chi Vinh Le <cvl@chinet.info>
This closes #304
2015-01-20 22:40:38 +01:00
Jens Geyer
89dc20f4e0
THRIFT-2915 Lua generator missing from Visual Studio build project
...
Client: Compiler (general)
Patch: Jens Geyer
2014-12-24 02:39:53 +01:00
Roger Meier
1b17991f26
THRIFT-2897: Implement hash and isEqual: methods
...
Client: cocoa
Patch: Jim Speth
This closes #330
2014-12-21 21:05:14 +01:00
Kirby1337
6d9a3ca7d9
THRIFT-2901 Fix for generated TypeScript functions + indentation of JavaScript maps
2014-12-21 17:38:58 +01:00
Nobuaki Sukegawa
80784b1098
THRIFT-2902 Generated c_glib code does not compile with clang
2014-12-18 22:20:55 +01:00
Jens Geyer
c61b3a8170
THRIFT-2894 PHP json serializer skips maps with int/bool keys
...
Client: PHP
Patch: Stig Bakken <stig@zedge.net>
This closes #331
PHP generator: in jsonSerialize, only skip maps with non-scalar keys (previously skipped maps with non-string keys)
2014-12-18 21:48:42 +01:00
Jens Geyer
a792e5d5ac
THRIFT-2894 PHP json serializer skips maps with int/bool keys
...
Client: PHP
Patch: Stig Bakken <stig@zedge.net>
This closes #320
PHP generator: in jsonSerialize, only skip maps with non-scalar keys (previously skipped maps with non-string keys)
2014-12-16 22:59:02 +01:00
Pascal Bach
d5f87e1f21
CMake: Add CMake support for Thrift libraries
...
Currently the following libraries are supported:
- C++
- C_Glib
- Java (using Ant wrapper)
The compilers CMake file is adjusted to work with the new global CMakeLists.txt file.
Signed-off-by: Roger Meier <r.meier@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Also-by: Sergei Nikulov <sergey.nikulov@gmail.com>
2014-12-13 22:02:29 +01:00
winsweet
de76a3772b
THRIFT-2882 Lua Generator: using string.len funtion to get struct(map,list,set) size
2014-12-13 21:29:55 +01:00
Nate Rosenblum
3c5a788d8f
THRIFT-2836 Add moveable_types option to C++ generator
...
Setting this option enables generation of MoveConstructible types,
allowing types to be bound via move in std::bind. This is especially
pleasant when using Thrift container types.
2014-12-13 21:22:47 +01:00
Konrad Grochowski
714a9aa1c5
THRIFT-2888: JSON generator - fixed missing include
...
Client: JSON
Patch: Pascal Bach
<limits> was used but not directly included
2014-12-12 16:03:40 +01:00
Jens Geyer
1f42d31575
THRIFT-2868 Enhance error handling in the Go client
...
Client: Go
Patch: Chi Vinh Le <cvl@chinet.info>
This closes #297
2014-12-08 21:49:54 +01:00
Konrad Grochowski
0494987fd1
THRIFT-2859: JSON generator - fixed i64 numbers generation
...
Client: JSON
Patch: Stig Bakken
Also forced "C locale" for numbers - problems where detected in JSON lib
in C++, so fixing it in generator also might be a good idea.
This closes #305
2014-12-06 20:09:10 +01:00
Konrad Grochowski
6ce1e73d71
THRIFT-2866: Go - generator code readability enhanced
...
Client: Go
Patch: Chi Vinh Le
This closes #295
2014-12-01 19:30:33 +01:00
Konrad Grochowski
9462ce388e
THRIFT-2859: compilation fix, C++11 removed from JSON generator
2014-12-01 12:11:31 +01:00
Konrad Grochowski
dae6d3cbd1
'make style' applied
2014-12-01 11:26:07 +01:00
Jens Geyer
ffa255cac5
THRIFT-2859 JSON generator: output complete descriptors
...
Client: JSON
Patch: Stig Bakken <stig@zedge.net>
This closes #290
- add --gen json:merge option, and disable merging by default
- output complete descriptors
- add schema for JSON generator
- indent output
2014-12-01 02:15:54 +01:00
Jens Geyer
527b6d9c86
THRIFT-2854 Go Struct writer and reader looses important error information
...
Client: Go
Patch: Chi Vinh Le <cvl@chinet.info>
This closes #291
Fixes error reporting in go generator
2014-11-30 15:24:08 +01:00
Jens Geyer
200150d330
THRIFT-2864 JSON generator missing from Visual Studio build project
...
Client: Compiler (general)
Patch: Jens Geyer
2014-11-30 12:29:37 +01:00
Jens Geyer
6aeb82ef5d
THRIFT-2862 Enable RTTI and/or build macros for generated code
...
Client: Haxe
Patch: Jens Geyer
This closes #293
2014-11-29 23:47:11 +01:00
Jens Geyer
406e7956c1
THRIFT-2860 Delphi server closes connection on unexpected exceptions
...
Client: Delphi
Patch: Jens Geyer
2014-11-29 19:05:46 +01:00
Jens Geyer
eed6a6d657
THRIFT-2857 C# generator creates uncompilable code for struct constants
...
Client: C#
Patch: Jens Geyer
Thanks: Stig Bakken for catching this
This closes #289
C#: constant assignments where values are structs did not properly
uppercase field names in the Constants constructor
2014-11-28 00:54:55 +01:00
Konrad Grochowski
3b5dacba44
THRIFT-2849: spelling errors fixed using codespell tool
...
Client: All
Patch: Anatol Pomozov
This closes #281
2014-11-24 10:55:31 +01:00
Randy Abernethy
6a4589aa4f
THRIFT-2834:Remove spurious semicolons in generated code
...
Client: Python Compiler
Patch: Cash Costello
Github Pull Request: This closes #276
2014-11-18 21:25:59 -08:00
Konrad Grochowski
16a23a6618
THRIFT-2729: C++ - .clang-format created and applied
...
Client: C++
Patch: Konrad Grochowski
make style command added
2014-11-18 11:39:10 +01:00
Konrad Grochowski
240120c843
Revert "THRIFT-2729: C++ - .clang-format created and applied"
...
This reverts commit 74260aa909
.
2014-11-18 11:33:31 +01:00
Konrad Grochowski
74260aa909
THRIFT-2729: C++ - .clang-format created and applied
...
Client: C++
Patch: Konrad Grochowski
make style command added
2014-11-18 10:02:08 +01:00
Jens Geyer
ca7e97e042
THRIFT-2814 args/result classes not found when no namespace is set
...
Client: Haxe
Patch: Jens Geyer
This closes #275
Fixes remaining issues regarding proper Haxe class and package names capitalization.
2014-11-18 02:17:10 +01:00
Jens Geyer
182411406a
THRIFT-2828 slightly wrong help screen indent
...
Client: Compiler (general)
Patch: Jens Geyer
This closes #269
2014-11-15 23:51:39 +01:00
Jens Geyer
e38f1e2dc2
THRIFT-2824 Flag to disable html escaping doctext
...
Client: HTML
Patch: Craig Peterson
This closes #266
commit 0df9592deb6dce477600f923745d6cdb113592ae
Author: Craig Peterson <cpeterson@ancestry.com>
Date: 2014-11-14T19:12:49Z
adding flag to allow unescaped html in doectexts
2014-11-14 22:31:22 +01:00