Commit Graph

3903 Commits

Author SHA1 Message Date
cdwijayarathna
d1041656e8 THRIFT-2578 Moving 'make cross' from test.sh to test.py 2014-08-15 22:41:06 +02:00
Roger Meier
5f841dff8b THRIFT-2660 Validate the bytes received in TSaslTransport
fix unit test

Client: Java
Patch: Harsh J
2014-08-13 12:54:53 +02:00
Roger Meier
c983250355 THRIFT-2660 Validate the bytes received in TSaslTransport
Client: Java
Patch: Harsh J
2014-08-13 12:36:42 +02:00
cdwijayarathna
a07ec0bdf2 THRIFT-2655 CPP tests should not use relative path when accessing ssh related files 2014-08-10 21:59:37 +02:00
cdwijayarathna
0d4072b0cf THRIFT-2578 Moving 'make cross' from test.sh to test.py 2014-08-10 21:45:30 +02:00
James Broadhead
5e5eacfefe Fix bison required version message
Jira: THRIFT-2656
2014-08-10 21:30:50 +02:00
James Broadhead
79c3f4a731 THRIFT-2657 Fix spurious test failures in py:twisted
- py.twisted/test_suite.py:ThriftTestCase.testOneway relies on
  testOneWay executing in less than 0.04 seconds (since it sleeps for 2
  seconds, then asserts that 2s - <time> ~= 0). On slow, or loaded
  machines this may fail. Switch this to sleep for 1 second, then have a
  tolerance of 0.4s for the deferred resolution.

- Removes a dud return d from testOneWay.

- Remove '*' import & dud 'import random'. This file now passes
  pyflakes.

- Strip trailing whitespace

This closes #181

Jira: THRIFT-2657

Signed-off-by: Roger Meier <roger@apache.org>
2014-08-10 21:26:17 +02:00
Roger Meier
862218ec13 THRIFT-2641 Improvements to Haskell Compiler/Libraries
some fixes
2014-08-10 21:13:58 +02:00
Noam Zilberstein
af5d64adb7 THRIFT-2641 Improvements to Haskell Compiler/Libraries
- test/test.sh integration
- add json and compact protocol

This closes #175

Signed-off-by: Roger Meier <roger@apache.org>
2014-08-10 21:11:43 +02:00
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