Jens Geyer
eeb51962fa
THRIFT-3426 Align autogen comment in XSD
...
Client: XSD
Patch: Jens Geyer
2015-11-14 14:28:10 +01:00
BCG
cc193c1bec
THRIFT-3417: "namespace xsd" is not really working
...
Client: XSD
Patch: Benjamin Gould
This closes #691
2015-11-14 14:28:09 +01:00
Jens Geyer
86284da849
THRIFT-3413 Thrift code generation bug in Go when extending service
...
Client: Go
Patch: Jens Geyer
2015-11-11 01:33:39 +01:00
Max Spencer
c04fb0069e
THRIFT-2974 fix optional writeToParcel
...
Client: Java
Patch: Max Spencer
This closes #687
2015-11-11 00:32:55 +09:00
Laurent Goujon
11c3569720
THRIFT-3199 Uses StructMetaData for exception fieldvalue
...
Client: Compiler(Java, javame, as3)
Patch: Laurent Goujon
This closes #526
2015-11-08 23:59:40 +09:00
Nobuaki Sukegawa
760511f59b
THRIFT-1857 Python 3 Support
...
Client: Python
Patch: Thomas Bartelmess, Eevee (Alex Munroe), helgridly, Christian Verkerk, Jeroen Vlek, Nobuaki Sukegawa
This closes #213 and closes #680
2015-11-06 21:24:16 +09:00
Konrad Grochowski
7f4be5f188
some 'some make style' suggestions applied to C++ files
2015-11-05 20:23:11 +01:00
Konrad Grochowski
673c94137a
THRIFT-3382 - C++: TBase class for generated structs added
...
Client: C++
Patch: Adam Beberg <beberg@sentient.ai>
TBase.h is now part of C++ Thrift library and TBase
is used as base class for all structs generated from
user defined structs (when not generating in template mode)
This closes #653
2015-11-05 20:13:05 +01:00
Andrew Bloomgarden
f0f607ffac
THRIFT-3408: correct emitted JSON types
...
This closes #679
2015-11-04 12:32:44 +01:00
Stig Bakken
d6ca81b2cc
PHP Compiler: always cast scalar types in jsonSerialize()
2015-10-29 23:01:37 +02:00
Kevin Wooten
867fafffa5
THRIFT-3401 Nested collections emit Objective-C code that cannot compile
...
Client: Cocoa
Patch: Kevin Wooten <kevin@wooten.com>
This closes #665
2015-10-29 22:51:33 +02:00
Jens Geyer
6748993dcb
THRIFT-3394 compiler generates uncompilable code
...
Client: Haskell
Patch: Tom Lippincott & Jens Geyer
Modified version of Toms patch
2015-10-27 02:23:09 +02:00
Aleksei Shevchenko
bc464c4ce8
Cocoa compiler: fixed incorrect boxing of enums inside map. #THRIFT-3395
2015-10-25 16:55:58 +02:00
Jens Geyer
40c28d3310
THRIFT-3393 Introducing i8 to provide consistent set of Thrift integers
...
Client: Compiler (general)
Patch: Jens Geyer <jensg@apache.org>
This closes #656
2015-10-20 23:17:38 +02:00
Jens Geyer
86da51d2ae
THRIFT-3339 Support for database/sql
...
Client: Go
Patch: Adam Beberg <beberg@sentient.ai>
Contributed by Sentient Technologies - http://www.sentient.ai/
This closes #623
2015-10-14 14:34:03 +02:00
Jens Geyer
673c44bc11
Fix for misc. codegen issues with THRIFT-2905
...
Client: Cocoa
Patch: Kevin Wooten <kevin@wooten.com>
This closes #652
2015-10-13 23:58:50 +02:00
Andrew Audibert
2d3eff5d38
THRIFT-2794 Suppress "unused" warnings in autogenerated Java files Client: Java
...
Client: java
This closes #649
2015-10-13 23:27:00 +02:00
Nobuaki Sukegawa
30f465db92
THRIFT-3378 c_glib service does not handle negative Thrift byte values correctly
...
This closes #644
2015-10-11 00:40:37 +02:00
Jens Geyer
56e5b9b01b
THRIFT-2905 Cocoa compiler should have option to produce "modern" Objective-C
...
Client: Cocoa (ObjectiveC & Swift)
Author: Kevin Wooten <kevin@wooten.com>
This closes #539
2015-10-09 22:01:55 +02:00
Jens Geyer
f124b55e6d
THRIFT-3372 Add dart generator to Visual Studio project
...
Client: Dart
Patch: Jens Geyer
2015-10-08 22:42:50 +02:00
Mark Erickson
932c4700c6
THRIFT-3299 Create an Apache Thrift language binding for Dart (dartlang.org).
...
Client: Dart
Patch: Mark Erickson <mark.erickson@workiva.com>
This closes #608
2015-10-03 01:43:59 +02:00
Jens Geyer
178b813acd
THRIFT-3361 Improve C# library
...
Client: C#
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>
This closes #630
2015-09-30 23:16:45 +02:00
Konrad Grochowski
ce636dd65c
THRIFT-3317: C++ - generated code will properly reference global apache namespace
...
Client: C++
Patch: Carrey Zhan
apache::xxxxx --> ::apache::xxxxx
2015-09-25 21:11:55 +02:00
Jens Geyer
0621e1fc94
THRIFT-3354 Fix word-extraction substr bug in initialism code
...
Client: Go
Author: Prashant Varanasi <prashant@uber.com>
This closes #625
2015-09-25 20:54:45 +02:00
Konrad Grochowski
c623197d37
THRIFT-3336: C++ - generated ostream operator<< will be overridable
...
Client: C++
Patch: James E. King, III <jim.king@simplivity.com>
This closes #626
Generated scructs will have virtual printTo(ostream&) method, used by
inline ostream operator<<.
2015-09-25 20:41:42 +02:00
jfarrell
a1ae93f4be
THRIFT-3290: Using from in variable names causes the generated Python code to have errors
...
Client: py
Patch: Prathik Rajendran
Adds 'from' to the reserved words list for py
This closes #579
2015-09-24 22:58:45 -04:00
Jens Geyer
804504b79a
THRIFT-3331 warning: ‘etype’ may be used uninitialized in this function
...
Client: C_glib
Patch: Simon South
2015-09-23 22:01:06 +02:00
Jens Geyer
8c7b03c2a5
THRIFT-3349 Python server does not handle processor exception
...
Client: Python
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>
This closes #621
2015-09-23 21:20:57 +02:00
Jens Geyer
293e2f450b
THRIFT-3338 Stray underscore in generated go when service name starts with "New"
...
Client: Go
Patch: Jens Geyer
2015-09-21 23:18:07 +02:00
Jens Geyer
61444d7be5
THRIFT-557 charset problem with file Autogenerated by Thrift
...
Client: Python
Patch: zhenghuabin <zhenghuabin@bytedance.com>
This closes #601
2015-09-21 22:43:28 +02:00
Jens Geyer
0f17e15255
THRIFT-3051 Go Thrift generator creates bad go code
...
Client: Go
Patch: Jake Farrell
2015-09-15 21:44:53 +02:00
Jens Geyer
5bc8b5a3a5
THRIFT-3302 Go JSON protocol should encode Thrift byte type as signed integer string
...
Client: Go
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>
This closes #591
2015-09-05 12:50:24 +02:00
jfarrell
6949b7c969
THRIFT-2981: IDL with no namespace produces unparsable PHP
...
Client: php
Patch: Randy Abernethy
The compiler is generating the namespace statement even when there isn't one, which blows up the PHP interpreter. Patch supresses service and type file output of namespace unless there actually is one.
2015-08-25 01:09:35 -04:00
jfarrell
f13e431bab
THRIFT-3305: Missing dist files for 0.9.3 release candidate
...
Client: build
Patch: jfarrell
Adds missing files to dist
2015-08-25 00:39:29 -04:00
Henrique Mendonça
738143cf36
THRIFT-3293 JavaScript: null values turn into empty structs in constructor
...
Patch: Håkon Hitland
2015-08-16 19:17:33 +10:00
Jens Geyer
4fed1af570
THRIFT-3178 glib C does not compile
...
Client: c_glib
Patch: Simon South <ssouth@simonsouth.com>
This closes #581
2015-08-08 00:24:13 +02:00
Randy Abernethy
8dbe5f60a7
THRIFT-2199:Remove dense protocol
...
Client: C++ library and compiler
Patch: Randy Abernethy
2015-08-01 22:57:02 -07:00
Jens Geyer
54f392b8fd
THRIFT-2832 c_glib: Handle string lists correctly
...
Client: c_glib
Patch: Simon South <ssouth@simonsouth.com>
The compiler now correctly generates code for string lists (i.e. variables of type list<string>) that are
- Passed as a parameter to a service method,
- Returned from a service method or
- Assigned a default value.
Added a unit test that covers containers (initially only string lists) used as parameters to and return values from
service methods, and as members with default values inside structs.
2015-08-05 21:45:10 +02:00
Simon South
b28e3ccdcb
THRIFT-3288 c_glib: Compiler: Gently refactor functions
...
This change gently refactors a handful of recently modified
functions to
- Wrap lines at 80 columns,
- Improve readability (making the layout of the compiler's source
code more closely match that of the code it's generating),
- Use more consistently the indent_up/indent_down and
scope_up/scope_down helper functions rather than embedding
formatting characters directly, and
- Improve slightly the formatting of the generated code.
2015-08-03 22:10:23 +02:00
Simon South
7bc907a959
THRIFT-3288 c_glib: Compiler: Silence unused-parameter warnings
...
This change modifies the generated class and interface initializers
so they don't generate "unused parameter" warnings when compiled.
2015-08-03 22:10:23 +02:00
Simon South
c83a2b5185
THRIFT-3288 c_glib: Compiler: Don't mix declarations and code
...
This change moves variable declarations to the top of code blocks
in the generated code, resolving a number of "ISO C90 forbids mixed
declarations and code" warnings when building the unit tests.
2015-08-03 22:10:23 +02:00
Simon South
c1febebef6
THRIFT-3284 c_glib: Compiler: Omit processing-function defs for empty services
...
This closes : #575
2015-08-02 16:19:06 +02:00
Jens Geyer
a2e0c5075d
THRIFT-3260 multiple warnings in c_glib tutorial
...
Client: c_glib
Simon South <ssouth@simonsouth.com>
This closes #573
Here are additional changes that should really and truly resolve all the warnings generated when building the c_glib tutorial:
Compiler:
- Do not output a trailing comma in exception-enum definitions.
- Move variable declarations to avoid mixing declarations and code in generated code.
- Improve the readability of affected code blocks (and rely on indent_up and indent_down for indentation).
Library
- Use only C-style comments in headers included by clients.
Tutorial
- Move THRIFT_UNUSED_VAR calls to avoid mixing declarations and code.
2015-07-31 23:23:41 +02:00
Jens Geyer
f6eebba4a0
THRIFT-3260 multiple warnings in c_glib tutorial
...
Client: c_glib
Patch: Simon South <ssouth@simonsouth.com>
This closes #572
Tutorial:
- Silence unused-function warnings
- Remove spurious ";" from GObject type macro
Compiler:
- Suppress unused-var warnings in client initializers
- Omit spurious ";" after GObject type macros
2015-07-30 21:11:23 +02:00
Jim King
f5f1b35a7d
THRIFT-3053: Added perl SSL Socket support, split SSLSocket and SSLServerSocket out from their base classes, fixed THRIFT-3191 generated perl compiler exception handling code, added perl to make cross, fixed THRIFT-3189 allowing perl to listen on a specific interface through construction arguments. Did not add support in the perl client SSLSocket to verify server certificate authenticity at this time.
2015-07-30 14:19:49 +02:00
Jens Geyer
46ab187bb5
THRIFT-3273 c_glib: Generated code tries to convert between function and void pointers
...
Client: c_glib
Patch: Simon South <ssouth@simonsouth.com>
This closes #568
2015-07-30 00:01:04 +02:00
Jens Geyer
57ac33ea1a
THRIFT-3264 Fix Erlang 16 namespaced types
...
Client: Erlang
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>
This closes #566
2015-07-28 23:12:52 +02:00
Jens Geyer
8677719180
THRIFT-2957 warning: source file %s is in a subdirectory, but option 'subdir-objects' is disabled
...
Client: Compiler General
Patch: Simon South
This closes #563
2015-07-27 23:52:13 +02:00
Jens Geyer
e33d16520a
THRIFT-3255 Thrift generator doesn't exclude 'package' keyword for thrift property names breaking java builds
...
Client: Compiler General
Patch: Jens Geyer
This closes #561
2015-07-25 15:23:45 +02:00
ben-craig
02bade1583
THRIFT-3247 Generate a C++ thread-safe client
...
Client: cpp
Patch: Ben Craig <bencraig@apache.org>
2015-07-17 08:40:48 -05:00