Commit Graph

1449 Commits

Author SHA1 Message Date
James E. King, III
4d39ac5240 THRIFT-3936: fix compile error on VS2013 and earlier from changes introduced during 0.10.0 development (snprintf)
This closes #1099
2016-10-01 23:39:46 +09:00
Robert Lu
346e231495 THRIFT-3929 php namespace remove tail "\\"
This closes #1089
2016-09-26 01:42:03 +09:00
dtmuller
052abc39c6 THRIFT-2835 Add possibility to distribute generators separately from thrift core, and load them dynamically
Deploy headers needed to build plugins

Restructure source tree to match lib and to make sure headers are
deployed to INCLUDE_DIR/thrift.

This closes #368 and closes #1039
2016-09-26 01:42:02 +09:00
Nobuaki Sukegawa
11da87e6f3 THRIFT-2835 Add possibility to distribute generators separately from thrift core, and load them dynamically
Client: Compiler
Patch: Nobuaki Sukegawa, rebased by dtmuller

Also fixed by dtmuller:
* Add plugin namespace for erlang language binding
* Fix unit test test_const_value
* Don't clear type cache with every t_program conversion
* Type "wb" may not be supported by popen on non-Windows platforms
* Fix constness of AST type signatures
2016-09-26 01:42:01 +09:00
fduch
7b0cb9a63a THRIFT-3046: Allow PSR4 class loading for generated classes (PHP) 2016-09-03 15:57:47 +09:00
Mark Erickson
aa4312ef5f THRIFT-3905 Initialize bool, int, and double properties
Client: Dart
Patch: Mark Erickson <merickson@apache.org>

This closes #1068
2016-08-31 15:30:35 -05:00
Jens Geyer
2007783e87 THRIFT-3893 Command injection in format_go_output
Client: Go
Patch: Jens Geyer
2016-08-10 09:33:48 +02:00
Zach Howe
0e9fed1e12 THRIFT-3750 Check isSet in copyWithZone
Client: Cocoa
Patch: Zach Howe <zach@zachhowe.com>

This closes #958
2016-06-16 22:15:12 +02:00
Steve Cohen
7ea4a87fc5 THRIFT-3834 Erlang namespacing and exception metadata
Client: Erlang
Patch: Steve Cohen <steve@pinterest.com>

This closes #1027
2016-06-14 21:57:24 +02:00
Jens Geyer
7407e2e2f3 Revert "THRIFT-3834 Erlang namespacing and exception metadata"
This reverts commit c8deed8cba.
2016-06-07 21:42:09 +02:00
Steve Cohen
c8deed8cba THRIFT-3834 Erlang namespacing and exception metadata
Client: Erlang
Patch: Steve Cohen
2016-06-06 23:10:10 +02:00
Jens Geyer
cee82ae3c7 Revert "THRIFT-3834 Erlang namespacing and exception metadata"
This reverts commit 8e2320339f.
2016-06-06 23:10:01 +02:00
Mark Erickson
1fa95f53bb THRIFT-3842 Dart generates incorrect code for a const struct
Client: Dart
Patch: Mark Erickson <merickson@apache.org>

This closes #1019
2016-05-25 21:23:51 -05:00
Steve Cohen
8e2320339f THRIFT-3834 Erlang namespacing and exception metadata
Client: Erlang
Patch: Steve Cohen
2016-05-20 20:06:53 +02:00
Jens Geyer
6ee1a0bd26 THRIFT-3533 Can not send nil pointer as service method argument
Client: Go
Patch: Chris Bannister
2016-05-04 22:57:53 +02:00
BCG
ea0da97d44 THRIFT-3803 - Remove file attribute from include elements in XML generator
Client: XML/XSD
Patch: Benjamin Gould <bgould@users.noreply.github.com>

This closes #996
2016-04-29 23:29:29 +02:00
Stig Bakken
ad3714ac3d THRIFT-3806 Swift generator does not handle self-referring structs
Client: Swift
Patch: Stig Bakken <stig@zedge.net>

This closes #997
2016-04-29 23:29:28 +02:00
Stig Bakken
b749c2603e THRIFT-3807 Swift compiler does not escape reserved words
Client: Swift
Patch: Stig Bakken <stig@zedge.net>

This closes #998
2016-04-29 23:29:27 +02:00
Kyle Johnson
f5972c9682 THRIFT-3797 Generated Delphi processor shouldn't error out on timed out exceptions
Client: Delphi
Patch: Kyle Johnson

This closes #994
2016-04-29 23:29:23 +02:00
Jens Geyer
80542987f9 THRIFT-3795 Generated hashValue method in Swift will overflow
Client: Swift
Patch: Håkon Hitland
2016-04-22 21:32:35 +02:00
Jens Geyer
e0e3240d64 THRIFT-3794 Split Delphi application, protocol and transport exception subtypes into separate exceptions
Client: Delphi
Patch: Kyle Johnson
2016-04-21 22:58:53 +02:00
Kevin Wooten
4b7abedb04 THRIFT-3559 Fix awkward extra semi-colons with Cocoa container literals
Client: Cocoa
Patch: Kevin Wooten

This closes #797
2016-04-16 23:54:04 +02:00
creker
ca714c4397 THRIFT-3467 Go Maps for Thrift Sets Should Have Values of Type struct{}
Client: Go
Patch: artem antonenko <sam901@yandex.ru>

This closes #976
2016-04-06 22:53:25 +02:00
guo
717334816d THRIFT-3778 go client can not pass method parameter to server of other language
Client: Go
Patch: guo <ggndnn@163.com>

This closes #978
2016-04-06 00:59:00 +02:00
creker
9b39e1686b THRIFT-3776 Go code from multiple thrift files with the same namespace
Client: Go
Patch: artem antonenko <sam901@yandex.ru>

This closes #974
2016-04-06 00:58:59 +02:00
Jens Geyer
06340a4664 THRIFT-3751 Compiler allows field ids that are too large for generated code
Client: Compiler (General)
Patch: Jens Geyer

This closes #964
2016-03-25 02:28:24 +02:00
Jens Geyer
1043d71c2e THRIFT-3759 required fields that are nil are silently ignored on write
Client: Delphi
Patch: Jens Geyer
2016-03-25 00:41:29 +02:00
Nobuaki Sukegawa
e831490db9 follow-up: THRIFT-640 Fix indent in generated code 2016-03-19 01:25:10 +09:00
Daniel Wolf
0d12de3b27 THRIFT-640 Support deprecation 2016-03-19 00:49:35 +09:00
Nobuaki Sukegawa
400ae6e76e THRIFT-3449 TBaseAsyncProcessor fb.responseReady() never called for oneway functions 2016-03-18 23:53:41 +09:00
Nobuaki Sukegawa
a8765276d8 THRIFT-3680 Java async processor fails to notify errors to clients
This closes #903
2016-03-18 22:35:39 +09:00
John Sirois
bd964c7f34 THRIFT-3112 [Java] AsyncMethodCallback should be typed in generated AsyncIface
The parametrization brings the existing actual parametrization with
client call implementation objects to the fore and so this change
also fixes that parametrization to be a simple parametrization over
the return type as is done in the server-side AsyncProcessor code.

NB: This is a breaking change in both generated code and the client
libs.

This closes #840
2016-03-18 22:33:38 +09:00
Jens Geyer
55499b8802 THRIFT-3705 Go map has incorrect types when used with forward-defined types
Client: Go
Patch: Jens Geyer

This closes #951
2016-03-17 09:50:59 +02:00
Mark Erickson
8c8ae96eb8 THRIFT-3719: Dart generator should use lowerCamelCase for service names
Client: Dart
Patch: Mark Erickson

This closes #932
2016-03-08 13:25:30 -06:00
Mark Erickson
aef81d632f THRIFT-3710 Dart generator does not camel case Constants class names
Client: Dart

This closes #922
2016-03-07 11:01:34 -06:00
Jens Geyer
775671aea4 THRIFT-3709 Comment syntax can produce broken code
Client: Compiler(general)
Patch: Jens Geyer
2016-03-07 00:19:21 +01:00
Jens Geyer
35b4465ab7 THRIFT-3664 Remove md5.c
Client: Compiler (general)
Patch: Jens Geyer
2016-03-06 14:59:35 +01:00
Nobuaki Sukegawa
5fb1fda25a THRIFT-3708 NameError: global name 'TProtocol' is not defined
This closes #920
2016-03-06 09:45:48 +09:00
Mark Erickson
b52d03d7a0 THRIFT-3697 Dart generator does not name imports
Client: Dart
Patch: Mark Erickson
2016-02-29 13:24:16 -06:00
Nobuaki Sukegawa
d479e23a1d THRIFT-3691 Run flake8 Python style check on Travis-CI
Client: Build (Python)
Patch: Nobuaki Sukegawa

This closes #907
2016-02-28 12:05:14 +09:00
Nobuaki Sukegawa
3b4a93bba1 THRIFT-3664 Remove md5.c
Client: Compiler
Patch: Nobuaki Sukegawa

This closes #891
2016-02-22 23:27:12 +09:00
Jens Geyer
ea2bd9cb08 THRIFT-3656 incorrect serialization of optionals
Client: Dart
Patch: Jens Geyer
2016-02-21 15:37:26 +01:00
Jens Geyer
517aa15791 THRIFT-3652 incorrect serialization of optionals
Client: AS3
Patch: Jens Geyer
2016-02-21 15:37:25 +01:00
Jens Geyer
a2e74465d4 THRIFT-3654 incorrect serialization of optionals
Client: Haxe
Patch: Jens Geyer
2016-02-21 15:37:25 +01:00
Jens Geyer
b72bb94a82 THRIFT-3650 incorrect union serialization
Client: Compiler (general)
Patch: Jens Geyer

This closes #881
2016-02-21 15:37:11 +01:00
Nobuaki Sukegawa
8b411a0c8f THRIFT-3632 c_glib testserialization fails with glib assertion
Client: c_glib
Patch: Nobuaki Sukegawa

This closes #865
2016-02-14 22:47:19 +09:00
Roshan George
949e242ec8 THRIFT-2877 Generate hashCode using primitives and static utility methods
Client: Java
Author: Roshan George <roshan@arjie.com>

The TBaseHelper.hashCode methods are the Java 8 implementations of hashCode for
those types.

This closes #448
2016-02-14 22:47:19 +09:00
Jens Geyer
d4722d9c48 THRIFT-3629 Parser sets exitcode on errors, but the generator does not
Client: Compiler (general)
Patch: Jens Geyer

This closes #861
2016-02-14 13:50:07 +01:00
Jens Geyer
4733c4c535 THRIFT-3605 Have the compiler complain about invalid arguments and options
Client: Compiler (general)
Patch: Jens Geyer

This closes #862
2016-02-14 11:10:42 +01:00
Nobuaki Sukegawa
6525f6ae87 THRIFT-3612 Add Python C extension for compact protocol
Client: Python
Patch: Nobuaki Sukegawa

This closes #844
2016-02-13 23:12:34 +09:00