Jens Geyer
0f6e52abcc
THRIFT-4637 C# async mode generates incorrect code with inherited services
...
Client: C#
Patch: Jens Geyer
2018-09-16 07:02:55 -04:00
Charles Giardina
180888820a
THRIFT-4631 Fix Ruby codegen to gen valid ruby for recursive structs
2018-09-15 09:47:14 -04:00
Chris Simpson
612fdd871c
Better consistency with module names, fix module name for Errors
2018-09-13 07:50:24 -04:00
Simon South
8de3749235
THRIFT-4622: Resolve typedef'd list-element type
...
Client: c_glib
2018-08-29 08:03:07 -04:00
Flavien Raynaud
3f5f0f82a7
THRIFT-4617: Prepend service-specific struct names with service name ( #1578 )
...
Client: rs
2018-08-28 23:55:15 -04:00
Manu Sridharan
831819c563
THRIFT-4614: Generate missing @Nullable annotation ( #1577 )
...
Client: Java
2018-08-07 06:40:38 +01:00
bforbis
f2867c2498
THRIFT-3950: Memory leak while calling oneway methods ( #1568 )
...
* THRIFT-3950: Memory leak while calling oneway methods
* THRIFT-3950: Update NodeJS Oneway tests
2018-07-17 12:19:49 -04:00
Kevin Carbone
e7fa464584
THRIFT-4586: Cocoa generator generates NSString with copy instead of strong.
...
Client: [cocoa]
2018-07-03 08:18:54 -04:00
Brian Forbis
d7b635f784
THRIFT-4225: Delete callback if RPC send failed
2018-06-27 08:48:18 -04:00
Brian Forbis
896c206c56
THRIFT-4564: Reset buffered transport on serizliation errors
2018-06-21 20:48:16 -04:00
D. Can Celasun
88591e32e7
THRIFT-4573 Support binary fields in union counts
...
This commit also fixes another, related issue: Since union support was
added in b3654df
, `Count*` methods (and count checks in `Write`
methods) were only generated if there was at least 1 pointer field.
But pointer fields are not the only nullable types in Go, slices and
maps can also be set the nil, which are now taken into account.
Client: go
2018-05-17 10:26:09 +02:00
McGradyDa
8672394ade
Simplify the rust code generated by the generator ( #1553 )
...
Client: rs
2018-05-09 08:51:31 -04:00
Jens Geyer
92d80629ac
THRIFT-4562 Calling wrong exception CTOR leads to "call failed: unknown result" instead of the real exception being thrown
...
Client: Delphi
Patch: Jens Geyer
This closes #1551
2018-05-03 09:04:05 +02:00
nicaro
c7aa68bd59
Thrift 4556: Optional rethrow of unhandled exceptions in java processor ( #1544 )
...
Client: java
2018-05-01 09:07:50 -04:00
Mustafa Senol Cosar
09c1f3719c
THRIFT-4532: Do not update previously generated output files if the contents have not changed
2018-05-01 07:53:52 -04:00
Pierre Mignolet
4a00fc658a
THRIFT-4558 normalize name in C# constructor
...
Client: csharp
Patch: Pierre Mignolet <p.mignolet@evs.com>
This closes #1546
2018-04-17 22:12:17 +02:00
Ben Podgursky
50bfc56d5d
THRIFT-4555 Optionally disable copies of binary fields in constructors, getters and setters.
...
Client: java
This closes #1540 .
2018-04-17 07:21:46 +01:00
Jens Geyer
c564651dd4
THRIFT-4554 uncompileable code with member names that are also types under specific conditions
...
Client: Delphi
Patch: Jens Geyer
This closes #1539
2018-04-14 00:51:41 +02:00
Davin Chia
b9d5fb25e4
THRIFT-4253: Fix for constant assignments to optional fields in Go. ( #1311 )
...
Client: go
2018-04-09 08:04:42 -04:00
Chris Simpson
a9b6c7039b
THRIFT-3773: Swift 3 changes, Squashed ( #1084 )
...
Client: swift
2018-04-08 07:11:37 -04:00
Manu Sridharan
930428438c
THRIFT-4530: add @Nullable annotations to generated Java code
...
Use our own `org.apache.thrift.annotations.Nullable` type to avoid
introducing a third-party dependency
Client: java
This closes #1522 .
2018-03-29 14:53:36 +02:00
Margar Simonyan
46fec41738
THRIFT-4531: Fix generated Python read() method for immutable structs with optional members
...
Client: python
This closes #1521 .
2018-03-28 10:35:16 +02:00
Roman Soroka
a8a97bde9e
THRIFT-4513: fix bug in comparator introduced by e58f75d
...
This closes #1517
2018-03-22 11:30:14 -04:00
Ozan Can Altiok
e46419b5ec
THRIFT-4476: Typecasting problem on double list items,
...
emitting doubles with high precision
Client: cpp
Client: erl
Client: java
Client: js
Client: py
This closes #1511
2018-03-20 16:28:15 -04:00
Robert Lu
68707d9219
THRIFT-4474: Use PSR-4 autoloader by default
...
Client: php
This closes #1479
2018-03-15 11:05:30 +01:00
Roman Soroka
e58f75daa8
THRIFT-4513: Fix thrift compiler to generate constants in stable order.
...
This closes #1505
2018-03-14 13:07:10 -04:00
John Boiles
5785279e2e
THRIFT-4448: Golang: do something with context.Context. Remove Go1.6 compatibility.
...
Client: go
This closes #1459
2018-03-12 18:35:17 -04:00
David Hull
fe50feae7e
THRIFT-4497: Use map()
field type for Erlang type for map struct fields.
...
Client: erl
The Thrift Erlang code generator previously generated fields with the
`#{}` Erlang type for maps fields. In the Erlang type specification
languages, however, `#{}` specifically means an empty map. This commit
fixes the code to emit `map()` instead, which means the maps keys and
values may be of any type.
It would be possible to emit a field type such as
`${keytype() => maptype()}`, but this commit does not do that.
This closes #1495
2018-03-09 18:32:36 -05:00
David Hull
1918b21d1c
THRIFT-4495: Allow undefined
for non-required Erlang records fields.
...
Client: erl
As of Erlang 19, the dialyzer static type-analysis tool no longer
implicitly adds `undefined` to the allowed types for a field. This
means that dialyzer will now complain about any non-required fields
that are not explicitly initialed when creating a new record.
This closes #1494
2018-03-09 18:31:49 -05:00
James E. King III
860a5f1ff8
THRIFT-4508: change windows CI builds to use current MSVC, one cygwin and one mingw build
2018-03-06 18:17:41 -05:00
John Boiles
3b87c71ccb
THFIFT-4486: golang: support https from generated clients
...
golang: don't generate -remote.go clients when there are no functions
golang: support for http headers in -remote clients
golang: serialize cli requests with TJsonProtocol since serialization is not supported with TSimpleJsonProtocol
Client: golang
This closes #1488
2018-03-03 13:20:04 -05:00
Tomek Kurcz
e93a901715
THRIFT-82: Add Common Lisp support
...
Client: cl
There's framed and buffered socket transport, binary protocol, multiplex, simple
server, cross-tests, self-tests, tutorial, CL library, CL code generator. Only
SBCL is supported for now.
This closes #1412
2018-03-02 13:44:50 -05:00
Robert Lu
e241265cb2
THRIFT-4463: Generated PHP code to match PSR-2
...
Client: php
* PHP ident with 4 space
* remove redundancy blank lines
* open bracket of function, class at new line
* remove hard-coded indent, use indent()
* add necessary visibility declaration for class field
* open bracket of flow control put end of line, not new line
* remove inline control structures
* add blank around equal symbol
This closes #1473
2018-01-24 00:08:23 -05:00
Volodymyr Gotra
54993296c4
THRIFT-4434: .NET Core cleanup and the beginnings of compiler unit tests
...
Client: netcore
This closes #1449
2018-01-14 08:39:32 -05:00
Chet Murthy
19a6493ff0
THRIFT-4399 plugin.thrift t_const_value is not used as a union in C++ code -- fix this
...
Client: compiler
This closes #1435
2018-01-10 23:49:29 -05:00
Chet Murthy
6ae4023052
THRIFT-4393: renumber GeneratorInput t_{type,etc...}_id
...
Client: compiler
This closes #1419
2018-01-10 23:45:56 -05:00
John Boiles
080e43ee8e
THRIFT-4447: Fix panic on p.c.Call when using legacy initializers
...
Client: go
This closes #1461
2018-01-10 21:17:19 -05:00
Philip Frank
8fdd610ba7
THRIFT-4406: Optionally generate ES6 compatible JavaScript where service methods return Promises
...
includes tests and TypeScript support
Client: js
This closes #1452
2018-01-04 09:15:24 -05:00
Jens Geyer
14f5d500b9
THRIFT-4422 Add Async implementation via IFuture
...
Client: Delphi
Patch: Jens Geyer
This closes #1444
2017-12-14 00:00:03 +01:00
Jens Geyer
d30a7d1599
THRIFT-4400 Visual Studio Compiler project should link runtime statically in release builds
...
Client: Compiler (general)
Patch: Jens Geyer
This closes #1436
2017-12-02 17:17:48 +01:00
Nobuaki Sukegawa
3c420072ab
THRIFT-3580 THeader for Haskell
...
Client: hs
This closes #820
This closes #1423
2017-11-30 16:15:25 -05:00
Nobuaki Sukegawa
af56286378
THRIFT-3610 Streamline exception handling in Python server handler
...
Client: py
This closes #842
This closes #1426
2017-11-30 12:36:52 -05:00
Nobuaki Sukegawa
66c3dbf2de
THRIFT-3602 Make Tornado server send exception on unexpected handler error
...
Client: py
This closes #839
This closes #1425
2017-11-30 12:36:33 -05:00
Nobuaki Sukegawa
6f8264037c
THRIFT-3600 Make TTwisted server send exception on unexpected handler error
...
Client: py
This closes #838
This closes #1424
2017-11-30 12:36:11 -05:00
Chet Murthy
35f987d45b
THRIFT-4392 reorder structs in plugin.thrift
...
This fixes #1417
This closes #1413
2017-11-29 21:37:18 -05:00
Dylan Trotter
cde4d4181a
Fix remote client for HTTP transport
...
Client: go
Assign parsedUrl to the variable in the outer scope instead of creating
a new one. Previously the outer parsedUrl was never assigned and was
therefore always empty.
This closes #1411
2017-11-20 07:34:01 -05:00
D. Can Celasun
4f77ab8e29
THRIFT-4285 Move TX/RX methods from gen. code to library
...
This change removes a lot of duplication from generated code and allows
the caller to customize how they can read from / write to the
transport. Backwards compatible adapters make the change compatible
with existing code in use by consuming applications.
Client: Go
This closes #1382
2017-11-03 18:21:40 -07:00
James E. King, III
533405e3f8
THRIFT-4376: fix more high impact coverity defects
...
Led to the discovery of incorrect lua socket error handling.
This closes #1405
2017-10-29 07:05:47 -04:00
James E. King, III
43f4bf2fdd
THRIFT-4376: fix a few high impact coverity defects:
...
1458947: memory leak in compiler
1458787: resource leak in c_glib led to discovery of assert() abuse
1459090: fix string.find result check in JSON processor (unlikely)
This closes #1404
2017-10-28 16:44:09 -04:00
Robert Lu
9dff0efc1e
THRIFT-4356: fix segment fault for thrift_protocol
...
NOTE: drops php5 support for PHP extension (thrift_protocol)
however library still can support PHP5 as evidenced by CI build
Client: php
This closes #1385
This closes #1391
2017-10-25 08:57:04 -04:00