Konrad Grochowski
d5f3be5ebd
THRIFT-2757: py - checkIntegerLimits optimized
...
Client: Python
2014-10-08 15:40:00 +02:00
Konrad Grochowski
93fea15b51
THRIFT-2757: py - Added integer limits checks in compact and JSON protocols
...
Client: Python
Patch: Bret Curtis
This closes : #234
2014-10-08 13:35:54 +02:00
Roger Meier
5e58b80c8b
THRIFT-2767 hs: Transport.Empty is not externally available
...
Patch: Koen De Keyser
This Closes : #223
2014-10-08 11:59:44 +02:00
jfarrell
3da090642c
THRIFT-2774: Add documentation for new erlang case feature flag
...
client: erlang
patch: alisdair sullivan
document the `legacynames` compiler option
2014-10-08 01:18:07 -04:00
Jens Geyer
2771991ca2
THRIFT-2770 thrift.internal.traits unittest fails due to std.metastrings import
...
Client: D
Patch: David Nadlinger
This closes #237
I originally wrote what became std.traits.SetFunctionAttributes as thrift.internal.traits.ChangeFuncAttrs. Now that it has been in Phobos for a number of releases, remove the local copy. This is both a cleanup and fixes the -unittest build in 2.066, where std.metastrings (which was just a stray import anyway) has finally been removed.
2014-10-07 21:51:35 +02:00
Jens Geyer
8f8eaf376f
THRIFT-2769 std.traits.pointerTarget is deprecated
...
Client: D
Patch: David Nadlinger
This closes #236
2014-10-07 21:42:43 +02:00
Jens Geyer
196c5afbb1
THRIFT-2768: Whitespace Fixup
...
Client: General (Makefile.am)
Patch: Jens Geyer
Reverted makefile.am - tabs are not optional there
2014-10-03 21:12:58 +02:00
Jens Geyer
79f988c27a
THRIFT-2768: Whitespace Fixup
...
Client: General (Makefile.am)
Patch: Jens Geyer
Reverted makefile.am - tabs are not optional there
2014-10-03 20:42:54 +02:00
Jens Geyer
aaa8947f3a
THRIFT-2768: Whitespace Fixup
...
Client: General (Makefile.am, *.thrift)
Patch: Jens Geyer
DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
2014-10-03 20:30:38 +02:00
Jens Geyer
d5436f5cf7
THRIFT-2768: Whitespace Fixup
...
Client: C#, Delphi
Patch: Jens Geyer
2014-10-03 20:12:40 +02:00
Jens Geyer
6d15c3090f
THRIFT-2628 struct member name conflicts due to lowercased names
...
Client: Erlang
Patch: Alisdair Sullivan
This closes #228
2014-10-02 10:06:07 +02:00
jfarrell
63ad5f6f51
Thrift-2715:Wrong Import-Package directive in MANIFEST
...
Client: Java
Patch: Zlika
Updates java build.xml import headers for OSGI.
2014-10-01 21:44:30 -04:00
Jens Geyer
656a2fbdae
THRIFT-1847 TSSLSocket.cpp and TFileTransport.cpp incorrectly excluded from Visual Studio project file
...
Client: C++
Patch: Chris Stylianou
2014-10-01 21:53:02 +02:00
Jens Geyer
5aff35f7be
THRIFT-2754 erlang lib tests don't clean up after themselves properly
...
Client: Erlang
Patch: Alisdair Sullivan
This closes #230
2014-10-01 21:06:52 +02:00
Jens Geyer
b898eaa25c
THRIFT-2665 Debug statements are unnecessary and should be removed
...
Client: Python
Patch: Dustin Spicuzza
This closes #189
2014-10-01 03:00:19 +02:00
Randy Abernethy
5057b4cb5a
THRIFT-2750: makes targets for get explicit
...
Client: Java and JavaScript Libs
Patch: Randy Abernethy
This fixes the build.xml for the Java server used to
test JavaScript. Older ants fail when get is used
with a target directory and not an explicit file name.
2014-09-30 17:34:44 -07:00
Randy Abernethy
bd2fce6fa3
THRIFT-2751: repair node oneway bug and symlink issue
...
Client: Node Lib
Patch: Randy Abernethy
This patch keep npm from creating sym links on npm install.
Sym links fail when writting to some shared volumes.
Also fixes multiplex oneway bug in nodejs
2014-09-30 17:12:27 -07:00
Randy Abernethy
38f7a56e55
THRIFT-2749: clean up cpp lib for cpp98 build
...
Client: CPP Lib
Patch: Randy Abernethy
Adds required limits header and reverts use of sizof on
nonstatic members to cpp98 conformance.
2014-09-30 15:37:26 -07:00
Konrad Grochowski
293a40e960
THRIFT-2745: c++ - fixed some unit test compilation on windows
...
Client: C++-Library
Patch: Sergei Nikulov
unist.h removed
THRIFT_SLEEP_USEC used instead of usleep
ERROR variable renamed to TEST_TOLERANCE
This closes #207
2014-09-30 12:04:02 +02:00
Konrad Grochowski
3a724e37d4
THRIFT-2663: py - per module logger used in python lib
...
Client: Python-Library
Patch: Dustin Spicuzza
This enables per module log message filtering
This closes #187
2014-09-29 23:55:47 +02:00
Jens Geyer
eb393ac3cd
THRIFT-2701 Update TCompactProtocol.php
...
Client: PHP
Patch: GitHub-User anjz <anartzn@gmail.com>
This closes #212
Removed `strrev` from `readDouble` and `writeDouble` functions. I found problems reading a double that was generated with the python library.
2014-09-29 22:47:44 +02:00
Roger Meier
25c68f45da
THRIFT-2693 Erlang test leaves a lot of generated files
...
Patch: Roger Meier
2014-09-29 22:14:30 +02:00
Jens Geyer
aa99e0e2b8
THRIFT-2144 Client-side support for Multiplexing Services on any Transport and Protocol
...
Client: Cocoa
Patch: David Robakowski
This closes #151
This closes #150
2014-09-29 22:11:08 +02:00
Konrad Grochowski
05d64b4e3b
THRIFT-2707: rb - support for oneway messages fixed
...
Client: Ruby Library, Ruby Compiler
Patch: Konrad Grochowski
now oneway method calls will use proper message type
This closes #217
2014-09-29 22:08:58 +02:00
Konrad Grochowski
1ff4a97a45
THRIFT-2716 - removed warnings from some Makefile.ams
2014-09-29 22:05:49 +02:00
Jens Geyer
eb8e5ad87f
THRIFT-2654 reduce number of server exceptions
...
Client: C#
Patch: Craig Peterson
This closes #177
2014-09-29 21:50:15 +02:00
Roger Meier
63243c6a29
THRIFT-2709 c_glib: Support server implementation
...
Patch: Simon South
2014-09-29 20:29:58 +02:00
James Broadhead
51ba56c31b
py.twisted: Avoid synchronous exceptions
...
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
2014-09-28 22:39:55 +02:00
Jens Geyer
b360b65d3f
THRIFT-2718 Align cmdline help and return codes for Thrift test server/client
...
Client: Delphi
Patch: Jens Geyer
2014-09-28 01:55:46 +02:00
Jens Geyer
f8a1b7a29a
THRIFT-2718 Align cmdline help and return codes for Thrift test server/client
...
Client: Delphi
Patch: Jens Geyer
2014-09-24 00:26:46 +02:00
Jens Geyer
be8326d586
THRIFT-2706 D library does not support "oneway" message type
...
Client: D
Patch: Konrad Grochowski
This closes #220
2014-09-19 20:35:46 +02:00
Jens Geyer
a86886e77d
THRIFT-2704 - compiler: T_ONEWAY type used for oneway methods instead of T_CALL
...
Patch: Konrad Grochowski
This closes #216
2014-09-17 22:36:00 +02:00
Jens Geyer
3e8d9272ce
THRIFT-2696 Unable to stop socket server while there are idle clients
...
Client: Delphi
Patch: Jens Geyer & Severian Duchenko
2014-09-17 21:53:55 +02:00
name
b3e5ebe1e4
THRIFT-2513 clean up enum value assignment
...
Client: Compiler (General)
Patch: Konrad Grochowski
Fixes the failing test with pure_enums. For details, see JIRA ticket.
2014-09-12 11:15:24 +02:00
Jens Geyer
089bcd3f8c
THRIFT-1040 Can't end typedef lines with a semicolon
...
Client: Compiler (General)
Patch: Konrad Grochowski
2014-09-11 22:36:41 +02:00
Jens Geyer
684ccab5e7
THRIFT-2696 Unable to stop socket server while there are idle clients
...
Client: Delphi
Patch: Severian Duchenko & Jens Geyer
The patch contains some additional refactoring, e.g. I consolidated the excessively overloaded CTORs a bit.
2014-09-11 21:14:44 +02:00
Jens Geyer
6bbbf1946e
THRIFT-2694 Minor glitches in Delphi cross-test code
...
Client: Delphi
Patch: Jens Geyer
2014-09-07 01:45:56 +02:00
Jens Geyer
1235ee3f2a
Fix EnumTest (part 2)
...
Patch: Konrad Grochowski, as part of his pull request 209
2014-09-06 14:59:51 +02:00
Jens Geyer
4d223c6fee
FIX: wrong include path
2014-09-05 22:31:39 +02:00
Jens Geyer
ae0b22cc29
THRIFT-2513 clean up enum value assignment
...
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.
2014-09-04 23:40:14 +02:00
Roger Meier
0cc6d3c7bd
THRIFT-2690
...
c_glib: Incorrect behaviour when serializing a map with typedef'd keys
Patch: Simon South
2014-09-04 00:24:17 +02:00
Konrad Grochowski
b3f6ea100f
THRIFT-2067 C++: all generated objects provide ostream operator<<
2014-09-03 23:41:32 +02:00
Roger Meier
b191ecc8dc
THRIFT-2686 Another extraneous semicolon - TBinaryProtocol.h
...
Client: cocoa
Patch: Mark Frawley
2014-09-01 22:01:10 +02:00
Roger Meier
db8751b1bc
THRIFT-2673 PHP: generated Service_method_result code should not have validators
...
Patch: Stig Bakken
2014-09-01 21:58:07 +02:00
John Chee
aa42d61d7a
THRIFT-2677 haskell library and tutorial: build with network > 2.5
2014-09-01 21:55:04 +02:00
Roger Meier
7fa9848b85
THRIFT-2680 c_glib: ThriftFramedTransport fails when peer unexpectedly closes connection
...
Patch: Simon South
2014-09-01 20:21:33 +02:00
Konrad Grochowski
e1358ce8f4
THRIFT-2687 - C++ Qt lib - fixed struct/class inconsitency between forward decl and definition
...
Signed-off-by: Roger Meier <roger@apache.org>
2014-09-01 20:08:49 +02:00
Liangliang He
5d6378f61e
fix js list<map> support
2014-08-23 22:22:46 +02:00
Pascal Bach
9be413fca4
Add getOrigin() function to TTransport
...
getOrigin returns the origin of a request, the value depends on the transport used
2014-08-21 14:36:25 +02:00
Roger Meier
e26db2fcf2
THRIFT-847 Test Framework harmonization across all languages
...
Client: hs
add split dependency to lib, not installed otherwise
2014-08-18 21:19:44 +02:00
cdwijayarathna
d92179129a
THRIFT-847 Test Framework harmonization across all languages
...
Signed-off-by: Roger Meier <roger@apache.org>
2014-08-15 23:34:45 +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
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
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
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
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
Charles O'Farrell
57e68b2500
THRIFT-2643 Introduce additional deserialize() variant with offset/length
2014-08-01 18:09:38 +10: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
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
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
f04d9f45dd
make clean should remove gen-go folder
2014-07-27 13:35:04 +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
henrique
c0a7d72c83
THRIFT-2638 travis: build with Haskell
...
Patch: John Chee
2014-07-26 13:11:12 +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
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
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
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
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
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
Jens Geyer
9a93fe07ff
THRIFT-2612 Java TCompactProtocol.readBinary zero copying
...
Client: Java
Patch: Jon Hoffman
2014-07-14 22:39:46 +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
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
jfarrell
4c8506e30d
Thrift-2602:Fix missing dist files
...
Client: build process
Patch: jfarrell
Introduced a bug in 8fd8c63
adding gen files to the dist, removing those
files from the EXTRA_DIST.
2014-07-10 14:17:49 -04:00
jfarrell
ef7d56c1d6
THRIFT-2602:Fix missing dist files
...
Client: ruby
Patch: jfarrell
fix ruby extension to use RBConfig to work with newer versions of ruby
2014-07-10 09:21:25 -04:00
jfarrell
750df2ec4c
THRIFT-2620: Fix python packaging
...
Client: build process
Patch: jfarrell
Fixes python build to include missing README.md and also run packaging under
vagrant images
2014-07-10 09:18:42 -04:00
jfarrell
8fd8c6366d
THRIFT-2602:Fix missing dist files
...
Client: build process
Patch: jfarrell
Add all missing files to the dist package.
2014-07-10 09:14:51 -04:00
Konrad Grochowski
b7af66e189
THRIFT-2614 - C++ Library - TNonblockingServer.cpp MSVC warning removed
...
Signed-off-by: Roger Meier <roger@apache.org>
2014-07-08 23:03:08 +02:00
Roger Meier
2e9be756ce
THRIFT-2610 MSVC warning in TSocket.cpp
...
Patch: Konrad Grochowski
2014-07-08 07:46:11 +02:00
Roger Meier
3e50a9a1d0
THRIFT-2605 TSocket warning on gcc 4.8.3
...
Patch: Konrad Grochowski
2014-07-08 07:29:12 +02:00
Roger Meier
f83c0e13b7
THRIFT-2416 Cannot use TCompactProtocol with MSVC
...
Patch: Konrad Grochowski
2014-07-07 22:06:45 +02:00
Roger Meier
5f61d29a26
THRIFT-2609 TFileTransport.h unused field warning (clang 3.4)
...
Patch: Konrad Grochowski
2014-07-07 22:02:57 +02:00
Roger Meier
2768eb29ce
THRIFT-2608 TNonblockingServer.cpp warnings on clang 3.4
...
Patch: Konrad Grochowski
2014-07-07 21:56:44 +02:00