Commit Graph

1343 Commits

Author SHA1 Message Date
jfarrell
4f54d13e79 THRIFT-2602: Fix missing dist files
Client: build process
Patch: jfarrell

Adding macro check around bison version and removing am__yacc_c2h and will
conditionally include the necessary h/hh file, this will fix the mentioned
missing .hh file in dist and make it compatible with automake 1.11 and above
2014-07-10 09:23:43 -04:00
jfarrell
8fd8c6366d THRIFT-2602:Fix missing dist files
Client: build process
Patch: jfarrell

Add all missing files to the dist package.
2014-07-10 09:14:51 -04:00
Jens Geyer
6f86f9ac58 THRIFT-2557 CS0542 member names cannot be the same as their enclosing type
Client: C#
Patch: Jens Geyer
2014-07-08 21:31:52 +02:00
Jens Geyer
bc2ca4e5d7 THRIFT-1926 PHP Constant Generation Refactoring
Client: PHP
Patch: Xavier HAUSHERR
2014-07-04 21:45:55 +02:00
Roger Meier
45abf12f13 THRIFT-2594 JS Compiler: Single quotes are not being escaped in constants.
Patch: Thomas Lazar
2014-07-04 21:42:32 +02:00
Jens Geyer
12ee88170a THRIFT-2599 Uncompileable Delphi code due to naming conflicts with IDL
Client: Delphi
Patch: Jens Geyer
2014-07-04 00:12:25 +02:00
David Robakowski
7878f11024 Add [-s[sl]] option for the python service remote to enable communication over an SSL socket connection 2014-06-28 08:37:21 +02:00
jfarrell
bf2617ed15 Thrift-THRIFT-2574: Compiler option to generate namespace directories for Ruby
Client: rb
Patch: Andrew Bloomgarden

Adds option to generate namespaced ruby classes.

Github: closes #140
2014-06-26 22:53:01 -04:00
Jens Geyer
ff296c8841 THRIFT-2588 Thrift compiler is not buildable in Visual Studio 2010
Client: General Compiler
Patch: Thomas Lazar
2014-06-24 21:06:58 +02:00
Jens Geyer
bd05f9e06c THRIFT-2233 Java compiler should defensively copy its binary inputs
Client: Java
Patch: Andrew Gaul
2014-06-22 19:47:52 +02:00
Jens Geyer
9999f5295e THRIFT-2503 C++: Fix name collision when a struct has a member named "val"
Client: C++
Patch: Jens Geyer & Alexander Potashev
2014-06-22 19:09:06 +02:00
Jens Geyer
ebddd933d1 THRIFT-2508 Uncompileable C# code due to language keywords in IDL
Client: C#
Patch: Jens Geyer
2014-06-22 19:06:51 +02:00
Jens Geyer
c0d126fcaf THRIFT-2549 Generate json tag for struct members. use go.tag annotation to override the default generated tag.
Client: Go
Patch: Aleksey Pesternikov

This closes #128
2014-06-19 22:49:54 +02:00
henrique
55087a49d3 THRIFT-2571 doc and speed up travis build 2014-06-17 12:36:39 +02:00
Roger Meier
db372ac248 compiler: move README_Windows.md content to README.md
fix compiler/cpp/Makefile.am
2014-06-16 07:32:12 +02:00
Roger Meier
63fcb7e756 THRIFT-2520 cpp:cob_style generates incorrect .tcc file
This closes #118

commit 22d266eefaf16f21ffd0ad193a6a54403de65197
Author: N.Sukegawa <nsukeg@gmail.com>
Date: 2014-05-07T19:36:43Z
2014-06-15 21:51:32 +02:00
Roger Meier
746952efc1 compiler: move README_Windows.md content to README.md 2014-06-14 21:59:24 +02:00
Pascal Bach
569863a138 Allow cross build for windows using mingw32
- Build the compiler using CMake for:
  - Linux native gcc
  - Windows using mingw32
2014-06-10 13:44:02 +02:00
Pascal Bach
42be4e818a Get thrift version from configure.ac for CMake build 2014-06-10 13:33:58 +02:00
Pascal Bach
6eb015aa55 Add CMake file for the thrift compiler 2014-06-10 13:33:58 +02:00
Jens Geyer
cf18e91831 THRIFT-2435 Java compiler doesn't like struct member names that are identical to an existing enum or struct type
Client: java
Patch: Jens Geyer

Fixed a potential nullptr dereference introduced by that patch (Coverity ID 1216835)
2014-05-31 22:58:15 +02:00
Jens Geyer
a3350b48ea THRIFT-2560 Thrift compiler generator tries to concat ints with strings using +
Client: Compiler
Patch: Jens Geyer
2014-05-31 22:32:18 +02:00
Jens Geyer
5588a569d5 THRIFT-2554 double initialization in generated Read() method
Client: C#
Patch: Jens Geyer
2014-05-30 17:53:47 +02:00
Jens Geyer
eb1e1d5567 THRIFT-2555 excessive "unused field" comments
Client: Go
Patch: Jens Geyer
2014-05-30 17:53:45 +02:00
ra
91b3b1a6b2 THRIFT-2558: CSharp gen tries to add str + int
Client: C# Compiler
Patch: Randy Abernethy

The C# generator attempts to throw a str + int string in
several places producing undesirable results. This patch
uses stringstream to concatenate the string representations.
2014-05-30 06:31:00 -07:00
Roger Meier
6848de85b8 THRIFT-2543 Generated enum type in haskell should be qualified
Client: Haskell
Patch: Zejun Wu
2014-05-30 03:03:09 +02:00
Roger Meier
e86428c6b0 THRIFT-2469 "java:fullcamel" option to automatically camel-case underscored attribute names
Client: Java
Patch: Tom Lee
2014-05-30 00:17:12 +02:00
Roger Meier
7ca13f5507 THRIFT-2526 Assignment operators and copy constructors in c++ don't copy the __isset struct
Client: cpp
Patch: Doug Judd
2014-05-29 22:40:32 +02:00
henrique
d0265c7052 THRIFT-2522 TypeScript extension for Thrift Compiler
add info and format js/README.md

    This closes #124

----
commit ada1016fdd
Author: Pascal Schweizer <pasci@hispeed.ch>
Date:   2014-03-21T16:18:59Z

    THRIFT-2522 TypeScript extension for Thrift Compiler

----
2014-05-19 19:31:09 +02:00
Pascal Schweizer
ada1016fdd THRIFT-2522 TypeScript extension for Thrift Compiler 2014-05-19 17:21:34 +02:00
Roger Meier
303eb1b4f0 THRIFT-2401 Haskell tutorial compiles
Patch: John Chee & Roger Meier

includes minifix from:
THRIFT-2453 haskell tutorial: fix up division by 0 example
2014-05-14 00:49:41 +02:00
Jens Geyer
facc8dc6c7 THRIFT-2505 go struct should always be a pointer to avoid copying of potentially size-unbounded structs
Client: Go
Patch: Aleksey Pesternikov

This closes #116

commit 69bbf0e2b148cb1f48e24f46d181cc4d5dc35786
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-05-02T15:45:15Z

struct should always be a pointer to avoid copying of potentially size-unbounded structs
2014-05-09 23:48:57 +02:00
Jens Geyer
958581d090 THRIFT-2491 unable to import generated ThriftTest service
Client: Go
Patch: Aleksey Pesternikov

Go codegen fix regarding Process(), as discussed in THRIFT-2491.
Belongs to pull request 109.
2014-05-09 23:35:24 +02:00
Roger Meier
cf0edd3659 THRIFT-2490 c_glib: if fail to read a exception from server, client may be occurred double free
Client: c_glib
Patch: Jaesang Kim
2014-05-04 21:52:36 +02:00
Roger Meier
40f8ce2b4d THRIFT-2494: Add enum toString helper function in c_glib
Client: c_glib
Patch: Xiaodong Ma
2014-05-04 21:48:48 +02:00
Jens Geyer
89847dfaa0 THRIFT-2499 Compiler: allow annotations without "= value"
Client: compiler general
Patch: Dave Watson

This closes #87

commit 078ce57e816eeb3697acf6f2c50e09526da73d3b
 Author: Dave Watson <davejwatson@fb.com>
 Date: 2014-03-21T19:42:31Z

[thrift] Compiler: allow annotations without "= value"

Summary: (foo) is the same as (foo = 1), for brevity

Test: AnnotationTest.thrift still compiles
2014-05-02 23:50:04 +02:00
Jens Geyer
e52c046cb6 THRIFT-2491 unable to import generated ThriftTest service
Client: Go
Patch: Aleksey Pesternikov

This closes #105

commit f2e7186ca8d63f407dba0c56ee51afd6405926ba
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-22T12:48:14Z

add _ to generated filename if it ends with _test.go
2014-05-02 23:37:39 +02:00
Jens Geyer
885c679123 THRIFT-2471 Make cpp.ref annotation language agnostic
Client: compiler general
Patch: Dave Watson

This closes #113

commit 52b99af4ee1574253dcb77933d76a7ebb2d830df
 Author: Dave Watson <davejwatson@fb.com>
 Date: 2014-04-23T20:05:56Z

change cpp.ref to &

commit 3f9d31cc6140367529fd8f7b1b67056ec321786f
 Author: Dave Watson <davejwatson@fb.com>
 Date: 2014-04-23T21:50:29Z

Recursion depth limit

commit 61468e4534ce9e6a4f4f643bfd00542d13600d83
 Author: Dave Watson <davejwatson@fb.com>
 Date: 2014-04-25T19:59:18Z

shared_ptr for reference type
2014-05-02 21:31:55 +02:00
Jens Geyer
731975a645 THRIFT-2451: Do not use pointers for optional fields with defaults. Do not write such fields if its value set to default. Also, do not use pointers for any optional fields mapped to go map or slice. generate Get accessors
Client: Go
Patch: Aleksey Pesternikov

This closes #101

commit e6e5dcf3a07cd931183991ff031179b425e2740b
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-16T14:06:52Z

initial change

commit f65730e951a4310160a9f7e3e4eeb7e55abd2c55
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-16T14:16:03Z

no IsSet for required

commit 9865f700eb9354d6053994da989a907766c42d1d
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-17T19:32:13Z

inlined required structs

commit ca52300c07cefcf553f1ebf35569953c933b2367
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-17T19:44:24Z

do not use heap for args struct

commit 012ca3e512d2bc8822de8a715b4f3d3cae5c0c42
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-17T19:52:41Z

do not use heap for result struct

commit 2fc4afc53ff7db43e08eadeaa30e34bc1fd9c889
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-17T21:32:43Z

do not set result field on error

commit 6e5da0062b139f02dcafe3148cdf02f97c23442a
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-17T21:57:57Z

Jens' thrift source as test case

commit 7317957ed708831e280f182f081043fbe9d38a0c
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-17T23:43:08Z

support for cpp.ref

commit 1c4f3efc7b54fd335db633f86faf8c426ae9c87d
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-18T00:13:24Z

package flag

commit c9d7e54f5c5d29c776f42fb861bc9e82da4e542f
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-18T00:21:18Z

Merge branch 'master' into go_inlines
2014-05-02 00:24:24 +02:00
Jens Geyer
3290336e33 THRIFT-2495 JavaScript/Node string constants lack proper escaping
Client: JS
Patch: Jens Geyer
2014-04-27 18:30:40 +02:00
Jens Geyer
e8c51ed9c8 THRIFT-2477 thrift --help text with misplaced comma
Patch: Jens Geyer
2014-04-18 02:27:57 +02:00
Jens Geyer
c2ccca8e4b THRIFT-2458 Generated golang server code for "oneway" methods is incorrect
Client: Go compiler
Patch: Jens Geyer & Aleksey Pesternikov
2014-04-14 22:36:50 +02:00
Jens Geyer
d000b241a4 THRIFT-2449 Enhance typedef structure to distinguish between forwards and real typedefs
Client: General Compiler, Delphi
Patch: Jens Geyer
2014-04-13 21:59:51 +02:00
jfarrell
8b1799f3ae THRIFT-2459: --version should not exit 1
Client: compiler
Patch: jfarrell

Updated compiler to exit 0 when --version is called.
2014-04-10 22:06:11 -04:00
henrique
bcc0f1aa73 THRIFT-2421: Tree/Recursive struct support in thrift
Client: cpp

also fix mixed tabs and ignore RecursiveTest binary
2014-04-09 20:57:17 +02:00
jfarrell
524b924f61 Thrift-2421:Tree/Recursive struct support in thrift
Client: compiler
Patch: Dave Watson

Patch to go along with pull request 84 to fix missing destructors.

Github Pull Request: This closes #98
----
commit f4daec9b0af386e8f6e9e66fb688aab8cd949fdc
Date:   2014-04-09T17:33:18Z

    Also generate destructor for _result, presult, args, pargs
2014-04-09 14:55:54 -04:00
jfarrell
e0e8316838 THRIFT-2421: Tree/Recursive struct support in thrift
Client: cpp
Patch:  Dave Watson

Github Pull Request: This closes #84
----
commit b6134cedf292845e5ed01052919894df6b561bf2
Date:   2014-03-20T18:12:04Z

    Recursive structs support in parser

    A common complaint is that you can't express trees or other recursive structures in thrift easily - unlike protobufs. This diff loosens up the parser to allow using structs before they are defined (and uses typedef as a forward declaration).
    This diff is actually enough to make recursive types work for some dyamic languages (I tried php, works out of the box!)

    Other languages will need forward declarations, or ways to box types, to make this work (i.e. C++ needs both forward decls and a way to express structs as pointers)
2014-04-08 22:45:01 -04:00
Roger Meier
6cf0ffcec9 THRIFT-1681: Add Lua Support Patch: Dave Watson
Github Pull Request: This closes #92
2014-04-05 00:50:35 +02:00
Jens Geyer
d06957bf91 THRIFT-2435 Java compiler doesn't like struct member names that are identical to an existing enum or struct type
Client: java
Patch: Jens Geyer
2014-04-02 23:21:25 +02:00
Jens Geyer
5d1521225b THRIFT-2009 Go redeclaration error
Patch: Jens Geyer
2014-04-01 21:27:58 +02:00
jfarrell
7b021bb13b THRIFT-2095:Use print function for Python 3 compatiblity
Client: py
Patch: jfarrell

Updated py generator to print out () for py4 compatability
2014-03-31 23:34:46 -04:00
henrique
d7902bf19d THRIFT-2368 New option: reuse-objects for Java generator
Patch: adam-aph
2014-03-31 16:21:37 +02:00
Roger Meier
8384351c9a THRIFT-2432 Flaky parallel build
Patch: Benoit Sigoure
2014-03-30 19:36:25 +02:00
Roger Meier
bf0b6291f8 THRIFT-2414 c_glib fix several bug
Patch: Jaesang Kim
2014-03-26 23:32:34 +01:00
Jens Geyer
932cad8dcc THRIFT-2420 Go argument parser for methods without arguments does not skip fields
Patch: Frank Schroeder & Jens Geyer
2014-03-21 21:37:54 +02:00
Jens Geyer
46f9c45084 THRIFT-2419 golang - Fix fmt.Errorf in generated code
Patch: Chris Bannister
2014-03-21 00:42:58 +02:00
Jens Geyer
3c489f9e7f THRIFT-2418 Go handler function panics on internal error
Patch: Frank Schroeder
2014-03-20 23:03:48 +02:00
Jake Luciani
2bf90780d4 THRIFT-2417: Make union types partial classes
Patch by Jake Luciani, Reviewed by Jake Farrell
2014-03-20 10:30:43 -04:00
jfarrell
ec8daae710 THRIFT-2386: Thrift refuses to link yylex
Client: compiler
Patch: Milan Freml

Fixes undefined reference to `yylex' due to upstream changes.
2014-03-19 09:50:10 -04:00
Roger Meier
16fcad0b25 THRIFT-2407 use markdown (rename README => README.md)
Patch: Roger Meier
2014-03-19 06:47:47 +01:00
Jens Geyer
6fe77e8e66 THRIFT-2404 emit warning on (typically inefficient) list<byte>
Patch: Jens Geyer
2014-03-17 22:51:21 +02:00
jfarrell
d272f21cca THRIFT-2389: namespaces handled wrongly in acrionscript 3.0 implementation
Client: as3
Patch: dima levchenko

Updates compiler to work with AS3.0 namespacing
2014-03-11 21:56:15 -04:00
Jens Geyer
e3ab0bf507 THRIFT-2375 Excessive <br>'s in generated HTML
Patch: Jens Geyer
2014-03-11 22:32:31 +02:00
henrique
2a7dccc8a0 THRIFT-2355 Add SSL and Web Socket Support to Node and JavaScript
Patch: Randy Abernethy
2014-03-07 22:16:51 +01:00
henrique
af26af6d25 THRIFT-2387 nodejs: external imports should be centralized in index.js
Patch: Pierre Lamot
2014-03-06 15:06:22 +01:00
Jens Geyer
3e4c51f5cf THRIFT-2378 service method arguments of binary type lead to uncompileable Go code
Patch: Jens Geyer
2014-02-28 19:35:26 +01:00
Jens Geyer
111d13a1e7 THRIFT-2384 Binary map keys produce uncompilable code in go
Patch: Aleksey Pesternikov
2014-02-28 19:34:40 +01:00
Jens Geyer
38eea034c3 THRIFT-2380 unreachable code (CID 1174546, CID 1174679)
Patch: Jens Geyer
2014-02-26 21:00:05 +01:00
henrique
312362314c THRIFT-2376 nodejs: allow Promise style calls for client and server
patch:  Pierre Lamot
2014-02-25 22:11:10 +01:00
Jens Geyer
305e42ae3e THRIFT-2370 Compiler SEGFAULTs generating HTML documentation for complex structure
Patch: Jens Geyer
2014-02-23 19:36:18 +01:00
henrique
a2de410531 THRIFT-2350 Add async calls to normal JavaScript
Patch: Randy Abernethy
2014-02-07 14:12:56 +01:00
Roger Meier
2a816c28ae THRIFT-2348 PHP Generator: add array typehint to functions
Patch: Maurus Cuelenaere
2014-02-07 01:15:23 +01:00
Jens Geyer
38b1a04b60 THRIFT-2343 Fix tutotial code and codegen for methods without exceptions
Patch: Jens Geyer
2014-02-04 23:56:39 +01:00
Jens Geyer
4904ab81ff THRIFT-2343 Golang - Return a single error for all exceptions instead of multiple return values
Patch: Chris Bannister
2014-02-04 23:03:30 +01:00
Jens Geyer
d95fc9b1ee THRIFT-2341 Enable generation of Delphi XMLDoc comments (a.k.a. "Help Insight")
Patch: Jens Geyer
2014-02-02 18:08:31 +01:00
Jens Geyer
483d791f64 THRIFT-2340 Generated server implementation does not send response type EXCEPTION on the Thrift.TApplicationExceptionType.UNKNOWN_METHOD exception
Patch: Tomasz A. Biczel
2014-02-01 03:58:40 +01:00
Jens Geyer
813749dc50 THRIFT-2338 First doctext wrongly interpreted as program doctext in some cases
Patch: Jens Geyer
2014-01-31 23:42:57 +01:00
Jens Geyer
e8379b538a THRIFT-2320 Program level doctext does not get attached by parser
Patch: Craig Peterson & Jens Geyer
2014-01-25 00:59:45 +01:00
Roger Meier
ad7f788824 THRIFT-2330 Generate PHPDoc comments
Patch: Maurus Cuelenaere
2014-01-23 20:44:36 +01:00
Jens Geyer
026d7fc0e1 THRIFT-2323 Uncompileable Delphi code generated for typedef'd structs
Patch: Jens Geyer
2014-01-23 19:03:37 +01:00
Jens Geyer
a16737a87f THRIFT-2311 Go: invalid code generated when exception name is a go keyword
Patch: Krzysztof Godlewski
2014-01-13 19:55:44 +01:00
Jens Geyer
c0c889b9dd THRIFT-1964 'Isset' causes problems with C#/.NET serializers
Patch: Jens Geyer
2014-01-11 22:22:40 +01:00
Jake Farrell
06dbb8f011 THRIFT-2211:Exception constructor does not contain namespace prefix
Client: cocoa
Patch: Jan Brauer

Prefixed cocoa exceptions with set namespace.
2014-01-07 22:29:50 -05:00
Roger Meier
6bac11f4fa THRIFT-2304 cpp:Move client assignments from construtor in method
fix short_suffix
Patch: Roger Meier
2014-01-05 02:10:33 +01:00
Roger Meier
cf8b626434 THRIFT-2304 cpp:Move client assignments from construtor in method
Patch: Martin Vogt
2014-01-04 23:31:21 +01:00
Jens Geyer
1406c9adaf THRIFT-2290 anyfile.go:10: imported and not used: "math"
Patch: Jens Geyer
2013-12-24 17:20:20 +01:00
Jens Geyer
4095d62cd7 THRIFT-2322: wrong Go code generated for assignment of an optional set
Patch: Jens Geyer
2013-12-21 20:14:43 +01:00
Jens Geyer
0853ab67b4 THRIFT-2232 IsSet* broken in Go
Patch: Ben Sigelman
2013-12-17 21:38:44 +01:00
Roger Meier
acdac81665 THRIFT-2263 java: Always generate good hashCode for Java
Patch: Andrew Gaul
2013-12-08 22:10:36 +01:00
Jens Geyer
5b8e770864 THRIFT-2282 Incorect code generated for some typedefs
Patch: Jens Geyer
2013-12-07 00:11:38 +01:00
Jens Geyer
739032ac4b THRIFT-2281 Generated send/recv code ignores errors returned by the underlying protocol
Patch: Jens Geyer
2013-12-07 00:11:36 +01:00
Roger Meier
5f2d34e5ab THRIFT-2229 thrift failed to build on OSX 10.9 GM 2013-11-16 16:43:41 +01:00
Roger Meier
3da1c9025b THRIFT-2260 java: Thrift imposes unneeded dependency on commons-lang3
Patch: Andrew Gaul
2013-11-16 15:37:20 +01:00
Roger Meier
5df24f7afb THRIFT-2172 Java compiler allocates optionals array for every struct with an optional field
Patch: Andrew Gaul
2013-11-13 22:08:06 +01:00
Jens Geyer
b54fbd32cf THRIFT-2193 Java code generator emits spurious semicolon when deep copying binary data
Patch: Andrew Gaul  & Jens Geyer
2013-11-11 23:17:17 +01:00
Jens Geyer
4ccc24f621 THRIFT-2227 Thrift compiler generates spurious warnings with Xlint
Patch: Andrew Gaul
2013-11-11 22:43:45 +01:00
Jens Geyer
13848c6801 THRIFT-2254 Exceptions generated by Go compiler should implement error interface
Patch: Aleksey Pesternikov
2013-11-11 22:06:05 +01:00
Roger Meier
1ee7bb645d THRIFT-1813 java: Add @Generated annotation to generated classes
Patch: Arvind Jayaprakash and Andrew Gaul
2013-11-09 19:41:46 +01:00
Jens Geyer
73250ba96c THRIFT-2247 Go generator doesn't deal well with map keys of type binary
Patch: Tonnerre Lombard & Aleksey Pesternikov
2013-11-05 09:16:11 +01:00
Jens Geyer
0ec155e160 THRIFT-2246 Unset enum value is printed by ToString() - fix for some edge cases
Patch: Jens Geyer
2013-11-05 00:49:10 +01:00
Jens Geyer
088c26b40c THRIFT-2246 Unset enum value is printed by ToString()
Patch: Jens Geyer
2013-11-04 22:40:38 +01:00
Jens Geyer
fca0b8c972 THRIFT-1815 Code generators line buffer output - Go compiler
Patch: Jens Geyer
2013-11-03 23:42:35 +01:00
Jens Geyer
53078be3ee THRIFT-1815 Code generators line buffer output - Go compiler
Patch: Jens Geyer
2013-11-02 20:05:40 +02:00
Ben Craig
22856f3425 Related to THRIFT-2045: Somehow missed "go" MINGW issue that Jens found.
Putting that back and trying again...
Client: cpp compiler, build
Patch: Ben Craig, Jens Geyer
2013-10-11 08:53:51 -05:00
Ben Craig
e957675647 THRIFT-2045: C++ compiler warning and build cleanup (again)
Client: cpp
Patch: Ben Craig
2013-10-11 08:19:16 -05:00
Ben Craig
9f9cd10e81 Revert "THRIFT-2045: C++ compiler warning and build cleanup"
This reverts commit 282e440c6d.

This change had unintended autoconf side effects.
2013-10-09 09:47:48 -05:00
Ben Craig
282e440c6d THRIFT-2045: C++ compiler warning and build cleanup
Client: cpp compiler, go compiler, python compiler, compiler build
Patch: Ben Craig
2013-10-08 16:02:06 -05:00
Jens Geyer
27148dee98 THRIFT-2215 Generated HTML/Graphviz lists referenced enum identifiers as UNKNOWN.
Patch: Jens Geyer
2013-10-04 19:10:16 +02:00
Jens Geyer
0164040804 THRIFT-2195 Delphi: Add event handlers for server and processing events
Patch: Jens Geyer
2013-09-25 21:12:21 +02:00
Jens Geyer
83767a72cd THRIFT-2200: nested structs cause generate_fingerprint() to slow down at excessive CPU load
Patch: Jens Geyer
2013-09-23 22:09:49 +02:00
Ben Craig
836d95f9f0 THRIFT-2201: Ternary operator returns different types (build error for
some compilers)
Client: java compiler, ruby compiler
Patch: Randy Abernathy
2013-09-23 11:53:47 -05:00
Henrique Mendonça
f7be519e08 THRIFT-1772 Serialization does not check types of embedded structures.
Client: python
Patch: Avi Flamholz

clean up references to php only, no functional changes
2013-09-19 12:30:05 +02:00
Jens Geyer
8cd3efe50a THRIFT-1755 Comment parsing bug
Patch: Brian Brooks & Jens Geyer
2013-09-16 22:17:52 +02:00
Jens Geyer
901d555296 THRIFT-2175 Wrong field type set for binary
Patch: Jens Geyer
2013-09-10 21:34:43 +02:00
jfarrell
7096942cfa THRIFT-2178:Thrift generator returns error exit code on --version
Client: compiler
Patch: Nate Rosenblum

Changes exit status of --version call.
2013-09-09 20:33:38 -04:00
henrique
aff2f78b27 THRIFT-2167 nodejs lib throws error if options argument isn't passed
Client: nodejs
Patch: Randy Abernethy and Red Daly

also add examples to test makefile
2013-09-09 12:38:25 +02:00
Jens Geyer
c949514e41 THRIFT-2170 Generated Go code should populate all ReadErrors completely
Patch: Jens Geyer
2013-09-08 00:31:59 +02:00
Jens Geyer
ec8744c4dd THRIFT-2166 Delphi compiler should generate constant class name prefixed with thrift file name (similar to Java and C#)
Patch: Jens Geyer
2013-09-06 21:09:08 +02:00
Jens Geyer
d21fa6e502 THRIFT-2163 Incorrect Delphi code generated for typedef'ed constants
Patch: Jens Geyer
2013-09-06 21:05:46 +02:00
Jens Geyer
718f6eefb6 THRIFT-2162 Missing calls to inherited CTOR at misc. places
Patch: Jens Geyer
2013-09-06 21:02:57 +02:00
Jens Geyer
03d4944e85 THRIFT-2165: Thrift Compiler fails at input files with UTF-8 BOM
Patch: Jens Geyer
2013-09-04 22:34:41 +02:00
henrique
17d42799eb Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/thrift 2013-08-30 22:04:52 +02:00
Ben Craig
fb89bb5fca THRIFT-2155: Adding one liner guide to rename the version.h.in and rename
thrifty.cc.h
Client: cpp
Patch: Karthick Selvaraj
2013-08-30 13:46:05 -05:00
henrique
2fdd916b8b THRIFT-2053 NodeJS: Support for Multiplexing Services
Client: nodejs
Patch: Remo Hertig
2013-08-28 14:03:34 +02:00
Carl Yeksigian
cf1fe74b13 THRIFT-2149:Add an option to disable the generation of default operators
client: cpp
patch: Chris Stylianou
2013-08-26 17:29:11 -04:00
Jens Geyer
12c09f44cb THRIFT-667 Period should not be allowed in identifier names
Patch: Jens Geyer
2013-08-25 14:17:32 +02:00
Jens Geyer
d4a0b27ad0 THRIFT-1351 Compiler does not care about binary strings
Patch: Wade Simmons & Jens Geyer
2013-08-21 23:55:29 +02:00
jfarrell
f7516e13d3 Thrift-1614:Thrift build from svn repo sources fails with automake-1.12
Client: build
Patch: jfarrell

Override am__yacc_c2h to force all generated headers to be .h
2013-08-18 10:53:07 -04:00
jfarrell
92f24b2780 THRIFT-1614: Thrift build from svn repo sources fails with automake-1.12
Client: compiler
Patch: jfarrell

Updates automake version min req to 1.11 and switches header generated
by yacc to .h instead of .hh.
2013-08-17 15:47:13 -04:00
jfarrell
87577ef001 THRIFT-2128: lib GO tests fail with funct ends without a return statement
Client: go
Patch: jfarrell

Fix issue with go tests failing in go1 in the process function.
2013-08-16 09:26:05 -04:00
jfarrell
102c600bbb Thrift-2124: .o, .so, .la, .deps, .libs, gen-* files left tutorials, test and lib/cpp when making DIST
Client: build
Patch: jfarrell

Fixing all the missing files and dist build issues that have been ignored.
2013-08-15 21:20:19 -04:00
Carl Yeksigian
f8e8c59921 THRIFT-2105 Generated code for default values of collections ignores t_field::T_REQUIRED
Client: cpp
Patch: Vladimir Strisovsky
2013-08-13 18:23:03 -04:00
Jens Geyer
09b97c78de THRIFT-2017 Resource Leak in thrift struct under compiler/cpp/src/parse/t_program.h
Patch: kuldeep gupta
2013-08-04 13:39:09 +02:00
Jens Geyer
656a173050 THRIFT-2112 Error in Go generator when using typedefs in map keys
Patch: Emir Habul
2013-08-03 10:22:39 +02:00
Jens Geyer
27a7ce9f12 THRIFT-2107 minor Go generator fixes
Patch: Jens Geyer
2013-07-31 13:20:20 +02:00
Jens Geyer
d1257debcf THRIFT-2106 Fix support for namespaces in GO generator
Patch: Emir Habul
2013-07-31 13:03:26 +02:00
Jens Geyer
7b07fbcba0 THRIFT-2100 typedefs are not correctly referenced when including from other thrift files
Patch: Remo Hertig
2013-07-30 03:08:17 +02:00
Jens Geyer
11430df7ae THRIFT-2102 constants are not referencing to correct type when included from another thrift file
Patch: Remo Hertig
2013-07-26 00:23:00 +02:00
Jens Geyer
a7da48805c THRIFT-2090: Go generator, fix including of other thrift files
Patch: Emir Habul
2013-07-18 00:33:05 +02:00
Roger Meier
ba406d3a02 THRIFT-2089 Compiler ignores duplicate typenames
Patch: Randy Abernethy
2013-07-15 22:41:34 +02:00
Jens Geyer
1075a6f67b THRIFT-2088 Typos in Thrift compiler help text
Patch: Jens Geyer
2013-07-14 13:54:10 +02:00
Carl Yeksigian
049f5f3375 THRIFT-2082 Executing "gmake clean" is broken
Patch: Pavlin Radoslavov
2013-07-05 13:49:15 -04:00
Jens Geyer
b3495ffd20 THRIFT-2065 Not valid constants filename in Java
Patch: Jens Geyer
2013-06-26 20:20:13 +02:00
Jens Geyer
102bca47f7 THRIFT-2032 C# client leaks sockets/handles
Patch: Jens Geyer
2013-06-25 22:21:29 +02:00
Jens Geyer
6ce16d95a4 THRIFT-2049 Go compiler doesn't build on native Windows
Patch: Ben Craig & Jens Geyer
2013-06-21 00:04:45 +02:00
Roger Meier
bb98ed44d7 THRIFT-1458 cpp: use the C++ standard (c++0x or later c++11) to improve code quality and cross platform capability
Signed-off-by: Nate Rosenblum <nater@maginatics.com>
2013-06-20 01:06:22 +02:00
Jens Geyer
f713a75a08 THRIFT-2012 Modernizing Go
Fix for variable ‘field_default_value’ set but not used

Patch: jens Geyer
2013-05-07 11:37:41 +02:00
Jens Geyer
0e87c46c18 THRIFT-2012 Modernizing Go
Patch: Travis Cline
2013-06-18 22:25:07 +02:00
Jens Geyer
70a5762736 THRIFT-2030 Thrift allows for inconsistent use of "oneway"
Patch: Jens Geyer
2013-06-15 03:05:03 +02:00
Jens Geyer
b310ae7816 THRIFT-2015 Thrift exceptions should derive from TException
Patch: Jens Geyer
2013-06-12 21:10:35 +02:00
Roger Meier
03aaf93c53 THRIFT-2010 Generate c_glib code doesn't compile with strict gcc flags
Patch: Miguel Angel Cabrera Moya
2013-06-10 21:24:54 +02:00
Carl Yeksigian
de07408e43 THRIFT-1995: IDL can generate uncompilable ocde
Patch: Carl Yeksigian
2013-06-09 05:28:47 -07:00
Jens Geyer
c08926ae73 THRIFT-1913 skipping unknown fields in java unions
Patch: Hrushikesh Tilak
2013-06-09 14:10:57 +02:00
kamilsalas
d522421d7f Thrift-1775: 2013-06-09 13:47:37 +02:00
Carl Yeksigian
c317852eed THRIFT-2003: Deprecate senum
Patch: Randy Abernethy
2013-06-07 12:31:13 -04:00
Jake Farrell
1b0bc0f421 THRIFT-1996:Constants generation is broken / inconsistent with regular Java generation
Client: as3/javame
Patch: Matthew Rathbone

Constants file missing program_name_ prefix.
2013-06-04 22:46:38 -04:00
Jens Geyer
c2c4d72b90 THRIFT-1993 Factory to create instances from known (generated) interface types with Delphi
Patch: Jens Geyer
2013-06-04 22:06:30 +02:00
Jens Geyer
0ca234f3b6 THRIFT-1944 Deprecate slist
Patch: Randy Abernethy
2013-06-04 22:01:47 +02:00
Jens Geyer
d65def0159 THRIFT-1977: Fix to ensure proper C# class names
Patch: Jens Geyer
2013-06-04 01:19:53 +02:00
Jake Farrell
0049ec72ed Thrift-1402:Generated Y_types.js does not require() X_types.js when an include in the IDL file was used
Client: js
Patch: Patrick Costello

Adds render_includes() to js header.
2013-05-30 23:42:56 -04:00
Jens Geyer
d3c71827f8 THRIFT-1977 C# compiler should generate constant files prefixed with thrift file name
Patch: Deniss Afonin & Jens Geyer
2013-05-28 03:09:04 +02:00
Jens Geyer
a5cce17a8d THRIFT-1958 C#: Use static Object.Equals instead of .Equals() calls in equals
Patch: Carl Yeksigian
2013-05-27 23:55:56 +02:00
Jens Geyer
691a16ac04 THRIFT-1970 [Graphviz] Adds option to render exceptions relationships
Patch: Rodrigo Setti
2013-05-18 11:16:28 +02:00
Henrique Mendonça
cbb979b804 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/thrift 2013-05-16 21:37:32 +02:00
Henrique Mendonça
8ad13a38e8 THRIFT-1907 Compiling namespace and sub-namespace directives for unrecognized generators should only be a warning
Patch: Andrew Cox
2013-05-16 21:26:20 +02:00
Henrique Mendonça
f837f30181 Revert "THRIFT-1907 Compiling namespace and sub-namespace directives for unrecognized generators should only be a warning"
This reverts commit d28d4d5784.
2013-05-16 21:25:18 +02:00
Henrique
d28d4d5784 THRIFT-1907 Compiling namespace and sub-namespace directives for unrecognized generators should only be a warning
Patch: Andrew Cox
2013-05-16 21:22:46 +02:00
Jake Luciani
36af4d3b40 THRIFT-1972 Add async server processors to Java
Patch: Jake Luciani
2013-05-16 12:59:50 -04:00
Jens Geyer
d7b4579272 THRIFT-1965 Adds Graphviz (graph description language) generator
Patch: Rodrigo Setti
2013-05-13 22:11:46 +02:00
Roger Meier
6d7473d0f1 THRIFT-1960 main() declares 22 unused gen bools
Patch: Randy Abernethy
2013-05-06 01:08:36 +02:00
Jake Farrell
0fd47dab1b THRIFT-1956: Switch to Apache Commons Lang 3
Client: java
Patch: Christoffer Sawicki

Updates commons lang from 2.5 to 3.1
2013-05-02 22:51:52 -04:00
Jens Geyer
d708ebb689 THRIFT-1955 Union Type writer generated in C# does not WriteStructBegin
Patch: Carl Yeksigian
2013-05-02 19:29:42 +02:00
Jens Geyer
b706b1a905 THRIFT-1742 Optionally implement hashcode and equals in c#
Patch: Carl Yeksigian
2013-04-29 22:10:10 +02:00
Jens Geyer
47af9f1703 THRIFT-1943 docstrings for enum values are ignored
Patch: Jens Geyer
2013-04-26 22:34:53 +02:00
Jens Geyer
f509df9c96 THRIFT-1930: C# generates unsigned byte for Thrift "byte" type
Patch: Jens Geyer
2013-04-25 20:38:55 +02:00
Jens Geyer
0f8acc5697 THRIFT-1924: Delphi: Inconsistency in serialization of optional fields
Patch: Jens Geyer
2013-04-24 21:53:39 +02:00
jfarrell
bdb19a467a Thrift-1786: C# Union Typing
Client: csharp
Patch: Carl Yeksigian

Union typing patch
2013-04-22 14:41:13 -05:00
Jake Farrell
de262dc77e Thrift-1903: PHP namespaces cause binary protocols to not be used
Client: php
Patch: Tyler Hobbs

Resolves the issue by importing TBinaryProtocolAccelerated and checking if $this->output_ is an instance of that instead of using a static string in TProtocol.
2013-04-19 21:58:33 -04:00
Jens Geyer
1bd9424b47 THRIFT-1933: Delphi generator crashes when a typedef references another typedef from an included file
Patch: Jens Geyer
2013-04-19 20:15:05 +02:00
Jens Geyer
93220328d9 THRIFT-1922: Inconsistency in optional fields between Java/C# and python
Patch: Nate Rosenblum
2013-04-09 22:42:31 +02:00
Jens Geyer
45766049e0 THRIFT-1904 Incorrect code is generated for typedefs which use included types
Patch: Jens Geyer
2013-03-27 20:32:41 +02:00
Jake Farrell
2d26f18a12 Thrift-1806: Python generation always truncates __init__.py files
Client: Python
Patch: Nathaniel Cook

When generating python code the generator correctly creates _init.py file for each directory. If the __init_.py file has contents it is always overwritten. This usually isn't a problem unless using the -out flag, then there is a potential to erase non generated code.
2013-03-25 23:49:37 -04:00
Jake Farrell
3c434ab87d Thrift-1823:Missing parenthesis breaks "IS_..." macro in generated code
Client: c_glib
Patch: Simon South

Fixes missing paren in the c_glib compiler
2013-03-23 23:27:43 -04:00
Jake Farrell
d1fb1807fe Thrift-1859: Generated error c++ code with -out and include_prefix param
Client: cpp
Patch: Jingxu Chen

Updates output directory to no longer include gen-cpp folder when using -out.
2013-03-23 21:35:03 -04:00
Roger Meier
e491d298f0 THRIFT-1896 cocoa: Add TBase protocol for Cocoa
Patch: Kevin Li
2013-03-22 22:18:45 +01:00
Roger Meier
5505465ffa THRIFT-1897 cocoa: Support validation of required fields
Patch: Kevin Li
2013-03-22 22:11:01 +01:00
Roger Meier
948a2d4fb8 THRIFT-1855 deep-copy for collections of primitives should use copy-constructor
Patch: Vitali Lovich
2013-03-22 19:01:25 +01:00
Jens Geyer
7af5868e57 THRIFT-1895 Delphi: reserved variable name "result" not detected properly
Patch: Jens Geyer
2013-03-21 19:59:05 +02:00
Jens Geyer
19251ad24a THRIFT-1876 Use enum names instead of casted integers in assignments
Patch: Jens Geyer
2013-03-10 22:51:14 +02:00
Jens Geyer
b3fb3e6092 THRIFT-1318 Incorrect syntax for struct with enum property and default value when value is negative
Patch: Jens Geyer, Thunder Stumpges
2013-03-10 19:07:52 +02:00
Jens Geyer
b19c339460 removed unused variable 2013-03-08 09:03:01 +01:00
Chris Piro
20c81ad74c THRIFT-1704: Tornado support (Python) 2013-03-07 11:32:48 -05:00
Chris Piro
92e3860cfb THRIFT-1614: handle automake >= 1.12 yacc output name (thrifty.hh) 2013-03-07 11:24:51 -05:00
Jake Farrell
5b0c590968 THRIFT-1856: different comments generated
Patch: Jake Farrell

Fix different comments being generated on OSX vs Linux/Windows.
2013-02-17 19:31:04 -05:00
Jake Farrell
1af57289f2 THRIFT-1856: different comments generated
Patch: Jake Farrell

Fix different comments being generated on OSX vs Linux/Windows
2013-02-17 14:44:46 -05:00
Jens Geyer
3a67c2f834 THRIFT-1603 Thrift IDL allows for multiple exceptions, args or struct member names to be the same
Patch: Kamil Sałaś
2013-02-03 22:30:41 +01:00
Roger Meier
814d4c7fb9 THRIFT-1843 Get rid of annoying comma in python function signatures
Patch: Volodymyr Krestiannykov
2013-01-24 23:16:54 +01:00
Roger Meier
d34bea0c04 THRIFT-1837 Deploy and use cxxfunctional.h in cpp code generated in cob_style mode
Patch: Nate Rosenblum
2013-01-22 21:36:42 +01:00
Jens Geyer
a1e36f6ee5 THRIFT-1832 C# async generator assumes all methods have arguments
Patch: Kevin Radloff
2013-01-17 22:46:57 +01:00
Roger Meier
d536424633 THRIFT-1831 Bug in list deserializer
Patch: Satheesh Velmurugan
2013-01-16 22:46:10 +01:00
Roger Meier
e3da768367 THRIFT-1826 update c_glib source header paths
Patch: Simon South
2013-01-11 11:41:53 +01:00
Jens Geyer
945537c1fc THRIFT-1815 Code generators line buffer output
Patch: Andrew Gaul
2013-01-04 19:33:29 +01:00
Roger Meier
6df4f3bbc7 THRIFT-1779 Missing process_XXXX method in generated TProcessor implementation for all 'oneway' service functions
Patch: Luis Laugga
2012-12-27 02:32:44 +01:00
Jens Geyer
63e3c63078 THRIFT-1800 Documentation text not always escaped correctly when rendered to HTML
Patch: Jens Geyer
2012-12-24 10:32:58 +01:00
Jens Geyer
c880b44c5d THRIFT-1799 Option to generate HTML in "standalone mode"
Patch: Jens Geyer
2012-12-21 23:07:29 +01:00
Jens Geyer
5bcf32bfa8 THRIFT-1788 C#: Constants static constructor does not compile
Patch: Carl Yeksigian
2012-12-18 22:35:04 +01:00
Jens Geyer
a58a9cb99f THRIFT-1767 unions can't have required fields (Delphi)
Patch: Kenjiro Fukumitsu, Jens Geyer
2012-12-17 23:24:13 +01:00
Jens Geyer
04f70976ac THRIFT-1768 unions can't have required fields (Compiler)
Patch: Jens Geyer
2012-12-17 22:41:21 +01:00
Jens Geyer
59a884b739 THRIFT-1794 C# asyncctp broken
Patch: Carl Yeksigian
2012-12-16 20:04:19 +01:00
Jens Geyer
716454e36e Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/thrift 2012-12-16 19:04:52 +01:00
Jens Geyer
65d83ecf3e THRIFT-1783 C# doesn't handle required fields correctly
Patch: Carl Yeksigian
2012-12-16 19:00:27 +01:00
Roger Meier
e7b0b69246 THRIFT-1630 Equivalent objects that contain sets and maps can serialize differently
Patch: Kamil Salas
2012-12-16 15:44:48 +01:00
Jens Geyer
b030392080 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/thrift 2012-12-15 03:18:26 +01:00
Jens Geyer
0ab273abdf THRIFT-1782 async only defined in silverlight
Patch: Carl Yeksigian
2012-12-14 00:09:15 +01:00
Jens Geyer
ad4467e9db THRIFT-1780 Add option to generate nullable values
Patch: Carl Yeksigian
2012-12-14 00:08:24 +01:00
Jens Geyer
7740739b79 THRIFT-1765 Incorrect error message printed for null or negative keys 2012-12-11 23:38:12 +01:00
Todd Lipcon
2b2560e836 THRIFT-1773. Revert "Thrift-1604:Python exxception handeling for changes from PEP3110"
This reverts commit 6c5ee6ad20.

This commit is being reverted since it broke compatibility with
Python 2.4, which is the latest version included in RHEL5 releases.
2012-12-10 14:29:59 -08:00
Roger Meier
a212369383 THRIFT-1422 async_server.skeleton.cpp include TEventServer.h, but there isn't corresponding file in deed
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1410139 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 01:22:47 +00:00
Roger Meier
3e5e9d0901 THRIFT-1494 Python generated "Service-remote" script doesn't honor service inheritance
Patch: Nathaniel Cook


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1410130 13f79535-47bb-0310-9956-ffa450edef68
2012-11-16 00:51:59 +00:00
Roger Meier
32104d71bd THRIFT-1752 structs do not implement Comparable and have a redundant cast
Patch: Andrew Gaul


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1410061 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 22:20:44 +00:00
Roger Meier
3806a743c8 THRIFT-1747 Generated Python code incorrect when declaring constants of a struct type declared in an included thrift file
Patch: Justin Judd


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1410038 13f79535-47bb-0310-9956-ffa450edef68
2012-11-15 21:46:01 +00:00
Roger Meier
e854206180 THRIFT-1724 HTML generator doesn't identify unions in output
Patch: Kevin Radloff


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1400519 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 21:29:02 +00:00
Roger Meier
cc6ea425b7 THRIFT-1731 error: expected identifier before ';' token
Patch: Martin Vogt


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1400518 13f79535-47bb-0310-9956-ffa450edef68
2012-10-20 21:18:43 +00:00
Jake Farrell
7c7a5e05ba Thrift-1721:Dist broken due to 0.8.0 to 0.9.0 changes
Client: build
Patch: Jake Farrell

Fix dist build to create the 0.9.0 release



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1396880 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 00:29:11 +00:00
Roger Meier
061d4a2cb4 THRIFT-1695 allow warning-free compilation in VS 2012 and GNU 4.6
Patch: Ben Craig & James K Lowden


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1395277 13f79535-47bb-0310-9956-ffa450edef68
2012-10-07 11:51:00 +00:00
Jake Farrell
2fd8a15fc4 Thrift-1680:Make install requires GNU make
Client: build
patch: Jake Farrell

Updates boost and libevent configure messages, updates thrift help to display error and smaller message, moves help to --help or -help and takes care of // TODO(dreiss): Delete these when everyone is using the new hotness. Welcome to the new hotness everyone.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1391705 13f79535-47bb-0310-9956-ffa450edef68
2012-09-29 00:26:36 +00:00
Henrique Mendonca
6e283a0e6d Thrift-1703:Add leading :: to cpp names
Client: c++
Patch: Jochen Topf


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1390983 13f79535-47bb-0310-9956-ffa450edef68
2012-09-27 12:58:40 +00:00
Henrique Mendonca
ffb031d74e Thrift-1696:Compiler fails if namespace of an unknown language is present in the IDL
Patch: Abhishek Kona

print warning instead of throwing an exception


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1389509 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 18:36:16 +00:00
Roger Meier
3d37fba206 THRIFT-1694 Re-Enable serialization for WP7 Silverlight
Patch: Jens Geyer


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1387715 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 19:30:36 +00:00
Roger Meier
3087738f28 THRIFT-1651 Support annotations on all elements
Patch: Benjy Weinberger



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1386848 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 21:18:05 +00:00
Roger Meier
5cac98c659 THRIFT-1686 t_php_generator.cc uses "and" instead of "&&", and causes compiler errors with Visual Studio
Patch: Ben Craig


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1381696 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 17:59:55 +00:00
Roger Meier
21c0a85079 THRIFT-1615 PHP Namespace (was Thrift for Symfony 2)
Patch: Xavier HAUSHERR


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1381323 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 19:47:14 +00:00
Jake Farrell
e06e8b7e99 Thrift-1671:Cocoa code generator does not put keywords into generated method calls
Client: cocoa
Patch: Jan Brauer

Adds keywords into generated method calls.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1370855 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 17:38:39 +00:00
Bryan Duxbury
d62032850c THRIFT-1624. java: Isset Generated differently on different platforms
This patch initializes is_union_ to a specific value to try and avoid the issue.

Patch: Brian Bloniarz

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1353784 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 00:32:57 +00:00
Jake Farrell
16b764196f THRIFT-1438: lib/cpp/src/windows/config.h should read version from configure.ac rather than a #define
Client: compiler
Patch: Jake Farrell

Converts compiler/cpp/src/windows/version.h to a template and automates uses of configure.ac version rather than a random #define version string.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1352767 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 03:51:38 +00:00
Jake Farrell
f42ae012aa Thrift-1567:Thrift/cpp: Allow alternate classes to be used for strings
Client: cpp
Patch: dreiss

The goal of this diff is to allow Thrift strings to be used without
depending on std::string, since it looks like we're starting to move
away from std::string instead of moving to a better implementation.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1352765 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 03:22:53 +00:00
Roger Meier
122803bade THRIFT-1558 Named Pipe and Anonymous Pipe transport for Windows
Patch: Peace
add pipe crossplatform example to contrib

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1351477 13f79535-47bb-0310-9956-ffa450edef68
2012-06-18 20:23:58 +00:00
Bryan Duxbury
6edb27a5af THRIFT-1622. cpp: Incorrect size returned on read
This patch adds a missing 'xfer +=' in a few spots.

Patch: NN

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1350268 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 14:36:18 +00:00
Roger Meier
9212e79b3d THRIFT-1627 compiler built using compilers.vcxproj cannot be used to build some test .thrift files
Patch: Andrew Cox

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1349524 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 21:01:06 +00:00
Roger Meier
febe845f05 THRIFT-1621 Delphi Memory leaks
Patch: Jens Geyer

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1346814 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 10:32:24 +00:00
Jake Farrell
d11c8bc4be Thrift-1611:Improved code generation for typedefs
Client: delphi
Patch: Jens Geyer

Currently, IDL typedefs are translated into their base types and do not appear in the generated code at all



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340873 13f79535-47bb-0310-9956-ffa450edef68
2012-05-21 00:07:14 +00:00
Roger Meier
6849f2014d THRIFT-1598 Update Haskell generated code to use Text, Hash{Map,Set}, Vector
Patch: Itai Zukerman

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1340014 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 07:35:19 +00:00
Jake Farrell
6c5ee6ad20 Thrift-1604:Python exxception handeling for changes from PEP3110
Client: py
Patch: Jake Farrell

Python PEP 3110 changed exception handling by replacing the ',' with 'as'. This was initially introduced in python 2.6 and in 3.0 the ',' usage is no longer suppported. Since exception handling through out the py lib uses the ',' it will need to be converted over to using the 'as' syntax for exceptions



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339941 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 01:00:39 +00:00
Jake Farrell
970c86a5f2 Thrift-1607:Incorrect file modes for several source files
Client: build
Patch: Andrew Cox

File modes of some non-script text files (e.g. .xml, .java, .cc) in the source tree include execute permissions (because these files have the svn:executable property).



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339492 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 05:41:09 +00:00
Jake Farrell
e8c259a08a Thrift-541: Cocoa code generator doesn't put keywords before all arguments.
Client: cocoa
Patch: Andrew McGeachie

Updates args list to contain keywords before any args.


git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1338995 13f79535-47bb-0310-9956-ffa450edef68
2012-05-16 03:49:57 +00:00
Jake Farrell
b87e5667a4 Thrift-1079:Support i64 in AS3
Client: as3
Patch: Reverting 

Reverting patch due to usage of non public library which breaks ability to export as3 client to maven central during a release.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337007 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 02:23:00 +00:00
Christopher Piro
ea7b21d175 fix TApplicationException not imported in Python gencode
used unconditionally in the generated code. "from thrift.Thrift import *" included it before r1169492 but not since.

Reviewed By: dreiss

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1335325 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 01:45:21 +00:00
Roger Meier
7abda07738 THRIFT-681 The HTML generator does not handle JavaDoc style comments very well
add missing file t_html_generator.h

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333398 13f79535-47bb-0310-9956-ffa450edef68
2012-05-03 10:23:15 +00:00
Bryan Duxbury
b2f3bcdd08 THRIFT-681. The HTML generator does not handle JavaDoc style comments very well
Patch: Kevin Burnett

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1333222 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 21:39:01 +00:00
Roger Meier
95b1bd71e3 THRIFT-1588 Java Generated Exceptions don't follow inheritance pattern as other Languages
- reduce NUM_QUERIES within test for slow machines ;-r

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1332809 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 20:43:26 +00:00