| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Client: Go
Pacth: Frank Schroeder
|
|
|
|
| |
Patch: Roger Meier
|
| |
|
|
|
|
| |
Patch: John Campbell
|
|
|
|
| |
Patch: Roger Meier
|
|
|
|
| |
remove C++11 dependency
|
|
|
|
|
|
| |
Patch: Craig Peterson, Peter Neumark & Roger Meier
Github Pull Request: This closes #247
|
| |
|
|
|
|
|
|
| |
Patch: noazark
Github Pull Request: This closes #232
|
|
|
|
|
|
| |
namespacing""
This reverts commit 371358ce4e58ed45e86c87cc79d3b67ac95cfc98.
|
|
|
|
| |
This reverts commit 9a7cb9f6c8e6cab5970075e2faf40944ce331ad2.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a "json" option to PHP code generation that will
make generated classes implement JsonSerializable, so thrift
objects may be converted to json using json_encode() easily.
If the "validate" option is enabled, the object's write validator
will be called, beyond that the jsonSerialize() method only outputs
non-null fields in the JSON object (JSON parsers get grumpy if you
send them null where they expect to see a number).
Patch: Stig Bakken
Github Pull Request: This closes #219
|
|
|
|
|
|
| |
Patch: Stig Bakken
This closes: #227
|
|
|
|
|
|
|
| |
Client: General (Makefile.am)
Patch: Jens Geyer
Reverted makefile.am - tabs are not optional there
|
|
|
|
|
|
|
| |
Client: General (Makefile.am, *.thrift)
Patch: Jens Geyer
DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
|
|
|
|
|
|
|
| |
Client: Erlang
Patch: Alisdair Sullivan
This closes #228
|
|
|
|
|
|
|
|
|
| |
character generate broken erlang code
Client: Erlang
Patch: Alisdair Sullivan
This closes #204
|
|
|
|
|
|
|
| |
Client: Build
Patch: Konrad Grochowski
Haskell compiler no longer need to be disabled when building with mingw
|
|
|
|
|
|
|
|
|
| |
Client: compiler (haskell and cpp generators)
Patch: Randy Abernethy
This patch replaces various bits of C++11 code in the Apache
Thrift compiler which fail to compile on older versions of
gcc (such as 4.4.7)
|
|
|
|
|
|
|
|
|
|
| |
Client: Python-Compiler
Patch: Dustin Spicuzza
'recv_' method is resolved later, thus disregarding exceptions send from
oneway methods calls
This closes #188
|
|
|
|
|
|
|
|
|
| |
Client: Python-Compiler
Patch: Dustin Spicuzza
fixes python generator when py:tornado option is enabled
This closes #186
|
|
|
|
|
|
|
|
|
| |
Client: Ruby Library, Ruby Compiler
Patch: Konrad Grochowski
now oneway method calls will use proper message type
This closes #217
|
|
|
|
| |
Patch: Simon South
|
|
|
|
|
|
|
|
|
|
| |
This is an update of the patch posted to:
https://issues.apache.org/jira/browse/THRIFT-585
and a re-write of 8345772
Patch: Mattias de Zalenski, James Broadhead
Jira: THRIFT-585
|
|
|
|
|
| |
Client: Graphviz
Patch: Jens Geyer
|
|
|
|
|
|
| |
Patch: Konrad Grochowski
This closes #216
|
|
|
|
|
| |
Client: Delphi
Patch: Jens Geyer
|
|
|
|
|
| |
Client: Compiler (General)
Patch: Jens Geyer
|
|
|
|
|
| |
Client: Compiler (General)
Patch: Konrad Grochowski
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch: Dave Watson
This closes #88
Summary:
Clean up how enum values are handled if an integer value is not
explicitly specified in the thrift file.
For example, the following used to be a compile error, but
works now:
enum MyEnum {
SOMEVALUE
}
struct MyStruct {
1: MyEnum e = SOMEVALUE
}
This change also cleans up some of the error handling with out-of-range
values. Previously thrift simply issued a warning for enum values that
didn't fit in an i32, but serialized them as i32 anyway. Now
out-of-range enum values result in a compile failure.
Test Plan:
Included a new unit test to verify the assignment of enum values. I
also verified that g++ makes the same enum value assignments when
compiling these enums as C++ code.
|
|
|
|
|
| |
Client: Go
Patch: Dustin Spicuzza & Jens Geyer
|
|
|
|
|
|
| |
c_glib: Incorrect behaviour when serializing a map with typedef'd keys
Patch: Simon South
|
|
|
|
| |
Patch: Simon South
|
| |
|
|
|
|
|
| |
Client: Python
Patch: Jens Geyer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a bug in the cocoa code generator where the variable
used by a for-loop can conflict with a built-in symbol when the
temporary variable counter is equal to 386. The generated variable
name, 'i386', conflicts with a macro built-in to the compiler.
I can reproduce this bug on Xcode 5 as well as Xcode 6. It appears
to only affect iOS projects, not OS X projects.
My fix simply prefixes the generated variable with 'idx' instead of 'i'.
This test code demonstrates the problem, regardless of Thrift codegen.
int i386 = 42;
printf("foobar %d\n", i386);
Which results in the following compiler error:
/Users/keith/Desktop/ReservedSymbolTest/ReservedSymbolTest/ViewController.m:22:7: error: expected identifier or '('
int i386 = 99;
^
<built-in>:143:14: note: expanded from here
^
1 error generated.
|
|
|
|
| |
Patch: Stig Bakken
|
|
|
|
| |
Patch: Simon South
|
|
|
|
| |
Patch: Simon South
|
|
|
|
|
| |
-add 'android' option to java compiler which will generate Parcelable structures for Android
-cleaned up warnings
|
|
|
|
| |
fix CMake build and update README.md
|
|
|
|
| |
Signed-off-by: Roger Meier <roger@apache.org>
|
|
|
|
|
|
|
|
|
| |
- test/test.sh integration
- add json and compact protocol
This closes #175
Signed-off-by: Roger Meier <roger@apache.org>
|
|
|
|
|
| |
Client: Delphi
Patch: Jens Geyer
|
|
|
|
|
|
|
| |
properties
Client: C#
Patch: Thomas Lazar
|
|
|
|
|
|
|
|
|
| |
type signatures
patch: alisdairsullivan@yahoo.ca
client: erlang
fixes error exposed in THRIFT-2647 by avoiding using restricted identifiers in erlang type signatures generated by the compiler
|
|
|
|
|
|
| |
Client: Python
Patch: Roey Berman
Signed-off-by: Roger Meier <roger@apache.org>
|
|
|
|
|
|
|
| |
argument bindings
Client: Haskell
Patch: John Chee
|
|
|
|
|
|
|
| |
Client: C-glib
Patch: Simon South
Fixes error: 'to_string' is not a member of 'std' for non-C++11 conformant compilers
|