Commit Graph

3694 Commits

Author SHA1 Message Date
Roger Meier
bea273484d THRIFT-847 Test Framework harmonization across all languages
add info: $FAILED failed of $TESTCOUNT tests in total
2014-08-08 00:32:58 +02:00
Jens Geyer
044e89de0a THRIFT-2653 improved Delphi const generation
Client: Delphi
Patch: Jens Geyer
2014-08-07 22:50:15 +02:00
Jens Geyer
c20eeaae82 THRIFT-2589 const of BaseType in IDL generates static instead of const properties
Client: C#
Patch: Thomas Lazar
2014-08-07 22:41:24 +02:00
alisdair sullivan
ca44a622df THRIFT-2651: struct names that are restricted erlang terms generate invalid 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
2014-08-07 17:40:22 +02:00
Roger Meier
d52edba00f THRIFT-2231 Support tornado-4.x (Python)
Client: Python
Patch: Roey Berman
Signed-off-by: Roger Meier <roger@apache.org>
2014-08-07 17:04:23 +02:00
Roger Meier
f5136abeba Revert "THRIFT-2578 Moving 'make cross' from test.sh to test.py"
This reverts commit c53bbd2c4b.

oops, I accidently committed this, sorry!
2014-08-07 14:54:30 +02:00
Roger Meier
7fd06407a0 THRIFT-2649 TAsyncClientManager leaks the selector
Client: Java
Patch: Roelof Naude
Signed-off-by: Roger Meier <roger@apache.org>
2014-08-07 14:36:49 +02:00
cdwijayarathna
c53bbd2c4b THRIFT-2578 Moving 'make cross' from test.sh to test.py 2014-08-07 03:20:21 +02:00
Roger Meier
16c164ed30 THRIFT-2647 compiler-hs: don't decapitalize field names, do decapitalize argument bindings
Client: Haskell
Patch: John Chee
2014-08-07 03:09:23 +02:00
alisdair sullivan
06d0fa05a5 THRIFT-2648 cleanup erlang lib
client: erlang
patch: alisdair sullivan (alisdairsullivan@yahoo.ca)

moves tests for the thrift compiler generation of files to /test/erl, properly removes artifacts from test
suite runs, adds module listing to .app.src for better behaviour when using erlang tools like relx and
rebar and modifies .gitignore to not ignore relevant erlang test components
2014-08-07 02:41:29 +02:00
Jens Geyer
a0b8674116 THRIFT-2639 c_glib: Expose as properties members of generated structs
Client: C-glib
Patch: Simon South

Fixes error: 'to_string' is not a member of 'std' for non-C++11 conformant compilers
2014-08-03 19:14:11 +02:00
Roger Meier
f341c590dc THRIFT-2152 Generated Haskell files does not compile
fully qualified module names at usage site for structs

Patch: John Chee & Roger Meier
2014-08-02 18:05:23 +02:00
Jens Geyer
b360ed393c THRIFT-2645 generated Go server code always sets Success retval
Client: Go
Patch: Jens Geyer
2014-08-02 16:23:13 +02:00
Roger Meier
e8bafb6d92 THRIFT-2578 Moving 'make cross' from test.sh to test.py
Patch: cdwijayarathna
2014-08-01 23:39:32 +02:00
Jens Geyer
790a3881b2 THRIFT-2621 Add basic default hash code method to python
Client: Python
Patch: Kishor Patil & Jens Geyer
2014-08-01 22:25:51 +02:00
Charles O'Farrell
57e68b2500 THRIFT-2643 Introduce additional deserialize() variant with offset/length 2014-08-01 18:09:38 +10:00
Roger Meier
6e25d749b6 .gitignore: add tutorial/c_glib/tutorial_client 2014-07-30 01:17:58 +02:00
cdwijayarathna
75eb2a31a1 THRIFT-2578 Moving 'make cross' from test.sh to test.py 2014-07-30 01:14:08 +02:00
Roger Meier
8033e7e794 Revert "THRIFT-585 exceptions in the autogenerated send_METHOD functions are not propagated"
This reverts commit 8345772f29.
2014-07-30 01:01:50 +02:00
Roger Meier
2814c2e726 THRIFT-976 c_glib tutorial
Patch: Simon South
Signed-off-by: Roger Meier <roger@apache.org>
2014-07-29 23:28:46 +02:00
Roger Meier
60b7ad6b3d THRIFT-2639 c_glib: Expose as properties members of generated structs
Patch: Simon South

Signed-off-by: Roger Meier <roger@apache.org>
2014-07-29 23:25:53 +02:00
Roger Meier
87a0477a08 go: clean tutorial properly 2014-07-28 08:18:20 +02:00
Jens Geyer
5c0e987ac1 THRIFT-2541 fixed C4003 with VC2012 around max()
Client: C++
Patch: Jens Geyer
2014-07-27 19:19:31 +02:00
Jens Geyer
557d6ea410 make clean should rm src/gen instead of emptying 2014-07-27 14:48:28 +02:00
Jens Geyer
f04d9f45dd make clean should remove gen-go folder 2014-07-27 13:35:04 +02:00
cdwijayarathna
11066bd56d THRIFT-2578 Moving 'make cross' from test.sh to test.py
This closes #166

----

commit 0fdd2148af1ea4e3be79ec05a76ea31af0f2b082
Author: cdwijayarathna <cdwijayarathna@gmail.com>
Date:   2014-07-26T17:32:13Z

    THRIFT-2578 Moving 'make cross' from test.sh to test.py

----

Signed-off-by: Roger Meier <roger@apache.org>
2014-07-26 22:30:37 +02:00
Alan Dunn
bee7b73802 Add unit test for OpenSSL manual initialization
This test checks whether Thrift leaves OpenSSL functionality available
after the last TSSLSocketFactory is destroyed when manual
initialization is set.  It uses the EVP_get_digestbyname function as
an example function that requires OpenSSL initialization to work
properly.

Signed-off-by: Alan Dunn <amdunn@gmail.com>
Signed-off-by: Roger Meier <roger@apache.org>
2014-07-26 22:13:55 +02:00
Alan Dunn
c0ff5561fe Add ability to take control of OpenSSL initialization
Signed-off-by: Alan Dunn <amdunn@gmail.com>
Signed-off-by: Roger Meier <roger@apache.org>
2014-07-26 22:13:55 +02:00
Alan Dunn
8953e7016a Expose OpenSSL initialization functions
Otherwise, commit is a logical no-op; it keeps the same OpenSSL
initialization behavior as before.  Move the SSL initialization
functionality to one place to make it easier to track.

Signed-off-by: Alan Dunn <amdunn@gmail.com>
Signed-off-by: Roger Meier <roger@apache.org>
2014-07-26 22:13:55 +02:00
Jens Geyer
8345772f29 THRIFT-585 exceptions in the autogenerated send_METHOD functions are not propagated
Client: Python (Twisted)
Patch: Mattias de Zalenski, James Broadhead

This closes #165
2014-07-26 18:02:12 +02:00
Roger Meier
3c494114b1 THRIFT-1188 C++: Use bit fields for a more compact __isset struct
Patch: Eric Rannaud
2014-07-26 14:43:57 +02:00
henrique
c0a7d72c83 THRIFT-2638 travis: build with Haskell
Patch: John Chee
2014-07-26 13:11:12 +02:00
Roger Meier
2591be2790 test/go: use mkdir -p 2014-07-26 09:40:07 +02:00
Roger Meier
54c0d2e8e7 THRIFT-2122 NPE in TSSLTransportFactory.createClient when no truststore password is passed in custom SSL params
Client: Java
Patch: Venki Korukanti
2014-07-26 00:37:44 +02:00
Roger Meier
e3f0a42347 THRIFT-2489 Peer host name not provied when performing AccessManager common name verification.
This closes #102
commit fd2afa58bff579c2a03281a34afda990e2f499e3
Author: Chris Stylianou <chris5287@gmail.com>
Date: 2014-04-21T14:06:20Z
THRIFT-2489 Pull Request
Peer host name not provied when performing AccessManager common name verification.
2014-07-26 00:24:39 +02:00
Roger Meier
6aacd4cc71 THRIFT-2394 TCurlClient: an HTTP transport implementation using libcurl
Client: PHP
Patch: Oran Kelly
2014-07-26 00:19:02 +02:00
Roger Meier
fcd062d6ce THRIFT-2173 Move FrameBuffer creation to a factory method for cusomization
Client: Java
Patch: Eric Newton
2014-07-25 23:40:27 +02:00
Roger Meier
84d1188842 THRIFT-2637 "java:fullcamel_service_methods" option to automatically camel-case Java service methods
Patch: Tom Lee
2014-07-25 23:26:11 +02:00
Roger Meier
9df385408b .gitignore: add test/go stuff 2014-07-25 23:24:46 +02:00
Roger Meier
ce9cf13bb3 THRIFT-2619 Go lib http transport does not handle EOF correctly
Patch: Frank Schroeder
2014-07-25 23:20:54 +02:00
Roger Meier
da8b60715f THRIFT-2442 Fix issue with cpp server on Windows (WSAStartup wasn't called)
Patch: andrey-agenosov
closes GitHub: #86
2014-07-25 23:16:24 +02:00
Jens Geyer
7dce7b2a30 THRIFT-1260 The thrift THttpclient in c# client is not closing the connections when calling SendRequest
Client: C#
Patch: Rush Manbert
2014-07-25 22:00:44 +02:00
alisdair sullivan
fb6ed7ead1 THRIFT-2628 erlang: struct member name conflicts due to lowercased names
client: erlang
patch: talentdeficit (alisdair sullivan)

preserve case in generated field names (via erlang 'atom' form)
2014-07-25 00:09:25 +02:00
Jens Geyer
577f407df9 THRIFT-2632 add "validate" option to generate read/write validation code
Client: PHP
Patch: Stig Bakken & Jens Geyer

Modifications made to the original pull request:
- moved TestValidators.* to lib/php/test
- created new TestValidators.thrift to house the UnionOfStrings union
- modified makefiles accordingly

This closes #159
2014-07-25 00:13:27 +02:00
Roger Meier
16e2ed25ac .gitignore update 2014-07-24 23:54:53 +02:00
Roger Meier
909f186fa6 THRIFT-2636 c_glib: ThriftApplicationException: Expose "type" and "message" properties
Patch: Simon South
2014-07-24 23:52:14 +02:00
Roger Meier
dfdc0088a7 THRIFT-1944 Binding to zero port
Client: Java
Patch: Eric Newton
2014-07-24 23:40:38 +02:00
Roger Meier
8b51bc6ad7 remove trailing whitespace 2014-07-24 23:33:33 +02:00
henrique
ac8d8e260e THRIFT-2635 Travis CI build and test matrix
This closes #163
2014-07-23 23:31:04 +02:00
alisdair sullivan
feea9477e7 THRIFT-2633 remove 'this is a dummy struct' structs from generated erlang
client: erlang
patch: talentdeficit (alisdair sullivan)

removes dummy struct info clauses from generated code and replaces
them with error that matches other undefined structs. adds error
for non-existent functions to function_info/2
2014-07-22 22:04:42 +02:00