Commit Graph

3829 Commits

Author SHA1 Message Date
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
Roger Meier
1d7e35a7cb THRIFT-2631 c_glib: Support service inheritance in clients
Patch: Simon South
2014-07-22 21:56:12 +02:00
Jens Geyer
dd077c8b0b THRIFT-2634 undocumented php "nsglobal" option
Client: PHP
Patch: Jens Geyer
2014-07-22 00:41:07 +02:00
henrique
7a8b286b3f THRIFT-2629 JavaDoc style documentation should be reused
Client: C++
2014-07-16 22:05:08 +02:00
John Chee
a75a5f0f70 fully qualified names in hs generator 2014-07-16 21:13:28 +02:00
Roger Meier
3148f21c8e Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/thrift 2014-07-16 20:16:22 +02:00
henrique
8a2bab3f72 THRIFT-1766 [Ruby] Provide support for binary types
Patch: Vanja Bucic
2014-07-16 20:10:57 +02:00
alisdair sullivan
c437cff08f THRIFT-2627:erlang backend doesn't support corecursive structs client: erlang patch: anthony molinari
add additional type specifications to generated erlang files to support
corecursive structs
2014-07-16 20:09:49 +02:00
alisdair sullivan
cb3f3f37e2 THRIFT-1357:Erlang Dependency breaks build
client: erlang
patch: talentdeficit (alisdair sullivan)

integrate jsx json parser into thrift erlang client
2014-07-16 19:54:02 +02:00
Roger Meier
57e6de46f3 THRIFT-2602 Fix missing dist files
no config.h for mingw builds

Patch: Roger Meier
2014-07-16 10:19:59 +02:00
Jens Geyer
9a93fe07ff THRIFT-2612 Java TCompactProtocol.readBinary zero copying
Client: Java
Patch: Jon Hoffman
2014-07-14 22:39:46 +02:00
Roger Meier
3974aaba69 THRIFT-2602 Fix missing dist files
- set bison to 2.5
- include "config.h" within thriftl.ll

Patch: Roger Meier
2014-07-14 20:22:12 +02:00
Jens Geyer
1a3632351e THRIFT-2541 reclaim TFramedTransport's read and write buffers for thrift cpp
Client: C++
Patch: Huabin <4130944@qq.com>
2014-07-14 19:51:36 +02:00
Randy Abernethy
0e86f1f774 THRIFT-2624: Add TServerEventHandler support to C#
Client: C#
Patch: ra

Adds the TServerEventHandler interface to the C# lib and adds
support in all C# servers.
2014-07-13 09:50:19 -07:00
Jens Geyer
cdab7eef75 THRIFT-1609 Cocoa import namespace
Client: Cocoa
Patch: Xabier Eizmendi
2014-07-12 12:36:41 +02:00
jfarrell
30a472e04f THRIFT-2602: Fix missing dist files
Client: build process
Patch: jfarrell

Add check for php extension to not build if phpize has not been run,
update Vagrantfile to update package list for haskell test deps, and
change bison min version to 2.4 to work with the current versions of
debian, ubuntu and centos.
2014-07-10 18:42:30 -04:00