Commit Graph

4218 Commits

Author SHA1 Message Date
henrique
1e723d931e THRIFT-2674 JavaScript: declare Accept: and Content-Type: in request
Patch: Stig Bakken

This closes #468
2015-05-01 14:09:00 +10:00
henrique
467998b6e9 doc GitHub service hooks 2015-05-01 14:03:19 +10:00
Jim King
9de9b1f1be THRIFT-2850 get windows cmake working again and building the unit tests for lib/cpp, and pass make check through cmake - also resolve some compiler warnings 2015-04-30 22:40:26 +02:00
Jens Geyer
1a8e048bd0 THRIFT-3120 Minor spelling errors and an outdated URL
Client: C++
Patch: Calvin Sun <675313675@qq.com>

This closes #471
2015-04-30 20:37:20 +02:00
Jim King
79c9911b87 THRIFT-3084 add optional concurrent client limit enforcement to lib/cpp threaded servers 2015-04-30 19:48:15 +02:00
Roger Meier
4bf9399ca3 THRIFT-3117 Java TSSLTransportFactory can't load certificates within JAR archive
This closes #465

 commit aa6d693b21ccc855921a23f507fbb367b91da2c4
 Author: Smyatkin Maxim <smyatkinmaxim@gmail.com>
 Date: 2015-04-26T15:07:26Z
2015-04-30 19:42:41 +02:00
Roger Meier
a199a16622 make dist: add CONTRIBUTING.md 2015-04-30 18:19:06 +02:00
Roger Meier
195142426d THRIFT-1954 Allow for a separate connection timeout value
This closes #472

 commit 0548c01742d8fd3a55de1d516c7911720c08debc
 Author: Roshan George <roshan@arjie.com>
 Date: 2015-04-30T07:07:56Z

 Make it possible to use separate socket and connection timeouts
2015-04-30 18:08:53 +02:00
Roger Meier
5428302717 THRIFT-3119 Java's TThreadedSelectorServer has indistinguishable log messages in run()
This closes #470

commit f2898ff23b529a584c104989c320b450248da292
Author: Intropy <jbolla@gmail.com>
Date: 2015-04-29T00:25:16Z

Add thread class to the run() failure log message
2015-04-30 16:20:39 +02:00
Jim King
21b6852408 THRIFT-3083 consolidate simple and threaded server run loops 2015-04-30 12:41:16 +02:00
Konrad Grochowski
87bb771d89 THRIFT-3105 - C++ TNonblockingServer compilation on Windows fixed
Client: C++
Patch: James E. King, III <jim.king@simplivity.com>

This closes #453
2015-04-30 11:38:39 +02:00
Jens Geyer
dc799ca078 Compact Protocol in Cocoa
Client: Cocoa
Patch: creker <sam901@yandex.ru>

This closes #442
2015-04-27 23:02:05 +02:00
Roger Meier
fa0a125d22 .travis.yml: remove accidently added add sudo command 2015-04-27 21:56:51 +02:00
Jim King
5ec805b22b THRIFT-3081 consolidate client processing loop in Simple, Threaded, and Thread Pool servers 2015-04-26 20:58:17 +02:00
Jens Geyer
811d279d58 THRIFT-3114 Using local temp variables to not pollute the global table
Client: Lua
Patch: Xin Li <lixin.lab@gmail.com>

This closes #463
2015-04-26 17:47:58 +02:00
Jens Geyer
958a7a242a THRIFT-3115 Uncompileable code due to name collision with predefined used types
Client: Delphi
Patch: Jens Geyer
2015-04-26 17:47:50 +02:00
Jens Geyer
5ec2121cf2 THRIFT-233 IDL doesn't support negative hex literals
Client: Compiler general
Patch: mreve <aadymek@gmail.com>

This closes #461

Update hexconstant regex in thriftl.ll
As it is now, the parser doesn't allow hex constant values to be negative (it throws a 'bad syntax' error).The change updates the regex and the part that parses the hex value from the string read from the IDL file to support negative values.

Add test to ConstantsDemo.thrift
Before the change, "make install" would break with negative hex constant in ConstantsDemo.thrift. Now it compiles.
2015-04-26 17:47:43 +02:00
Roger Meier
71f2d8a714 THRIFT-3067 C++ cppcheck performance related warnings
Patch: Arijit Chattopadhyay <arijitnit06@gmail.com>

This closes #444
2015-04-26 17:00:04 +02:00
Roger Meier
7ed94ef8e8 THRIFT-3110 Print error log after cross test failures on Travis
This closes #458

 commit 7dfc994028df512d791f79c090d3d6cc1108a815
 Author: Nobuaki Sukegawa <nsukeg@gmail.com>
 Date: 2015-04-23T16:38:55Z
2015-04-26 16:55:35 +02:00
Nobuaki Sukegawa
783660a335 THRIFT-3109 Cross test log file cannot be browsed when served in HTTP server 2015-04-26 16:08:20 +02:00
Gustavo Zacarias
e856d6846b THRIFT-3113 m4 C++11 macro issue
Make it cross-compile happy the hard way, there's no clean way.
Make zlib version detection cross-compile happy.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>

autotools: update ax_cxx_compile_stdcxx_11.m4 to version 10

The ax_cxx_compile_stdcxx_11 macro bundled in thrift package is
brocken [1] and out of date.

Since Thrift actually doesn't use that particular C++11 feature,
make C++11 support optional.

[1] https://savannah.gnu.org/patch/index.php?8287

Fixes:
[thrift]
http://autobuild.buildroot.net/results/21e/21e3fff1e0d714f94ac7e621289d1a59bc02a05f/build-end.log
[host-thrift]
http://autobuild.buildroot.net/results/b89/b89ffc2bff699eb10bb6abd92369a43d4900354d/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>

This closes: #462
2015-04-26 16:03:38 +02:00
Ben Craig
1684c42950 THRIFT-2441 Cannot shutdown TThreadedServer when clients are still connected
Author: James E. King, III <Jim.King@simplivity.com>
2015-04-24 08:52:44 -05:00
Jens Geyer
95717c92d8 Revert "THRIFT-3000 .NET implementation has trouble with mixed IP modes"
This reverts commit 018c1b8f77.
2015-04-23 22:48:13 +02:00
Roger Meier
3b99c970ad THRIFT-3106 CMake summary should give more information why a library is set to off
Patch: Pascal Bach
This closes #454
2015-04-20 22:49:48 +02:00
Marco Molteni
aeb89aa81b THRIFT-3103 cmake is missing RPATH on MacOSX. 2015-04-20 22:31:12 +02:00
Marco Molteni
98201b0605 THRIFT-3090 cmake build is broken on MacOSX. 2015-04-20 22:26:37 +02:00
Jens Geyer
018c1b8f77 THRIFT-3000 .NET implementation has trouble with mixed IP modes
Client: C#
Patch: sharpdevel <icode666@github> & Jens Geyer

This closes #377
This closes #452

This commit effectively establishes .NET 4.5 as a requirement for C#. Trying to build for earlier platform versions will fail. If that turns out to become a problem we should address this with a subsequent ticket.

TcpListener and TcpClient are created based on the capabilities of the used runtime framework. For windows the changes automatically handle IPv4 and IPv6 sockets. In mono it behaves as before.

When using TcpListener and TcpClient it depends on the network configuration if IPv4 or IPv6 is used. By upgrading the framework to .NET 4.5 the DualMode can be set on the sockets of the listener and the client. The sockets then try to establish IPv6 sockets before they fallback to IPv4
2015-04-18 00:52:06 +02:00
Jens Geyer
9f74f32ac8 THRIFT-3102 could not make check for Go Library
Client: Go
Patch: Jens Geyer

This closes #451
2015-04-18 00:48:21 +02:00
Jens Geyer
2aa04bf384 THRIFT-3028 Regression caused by THRIFT-2180
Client: Cooca
Patch: Jeremy W. Sherman
2015-04-17 18:44:37 +02:00
Marco Molteni
83494259d1 THRIFT-3099 cmake build is broken on FreeBSD 2015-04-16 22:23:27 +02:00
Jens Geyer
3b61971c8e THRIFT-3047 Uneven calls to indent_up and indent_down in Cocoa generator
Client: Cocoa
Author: Mike Riley <mikeriley@yelirekim.com>

This closes #401
2015-04-16 22:11:14 +02:00
Jens Geyer
f332d16460 THRIFT-3041 Generate asynchronous clients for Cocoa
Client: Cocoa
Patch: Mike Riley <mikeriley@yelirekim.com>

This closes #400
2015-04-16 22:11:11 +02:00
Jens Geyer
f9c318ca9e THRIFT-3098 Print binary typedefs the same way we do binary fields
Client: Java
Patch: Roshan George <roshan@arjie.com>

This closes #445
2015-04-16 21:29:20 +02:00
Marco Molteni
fdf0198103 THRIFT-3097 cmake targets unconditionally depend on optional libraries Consider also cases of missing ZLIB and missing OpenSSL. 2015-04-15 22:04:49 +02:00
Marco Molteni
7f47792bf2 THRIFT-3097 cmake targets unconditionally depend on optional libraries 2015-04-15 22:04:49 +02:00
Roger Meier
a242c28ba1 THRIFT-227 Pretty print binary collections
This closes #441

commit 5da68694fec6a51e97f5a75823babb1074e32eb2
Author: Roshan George <roshan@arjie.com>
Date: 2015-04-13T03:40:26Z
2015-04-14 22:14:41 +02:00
Roger Meier
8f27189dfd THRIFT-3090 cmake build is broken (set CMake version to 2.8.12) 2015-04-14 22:05:50 +02:00
Roger Meier
afc3777f9b THRIFT-3069 fix socket leak if fcntl fails
This closes #419

commit 467f67d13248c433fc3a9b50882e39837dc62376
Author: Jim King <jim.king@simplivity.com>
Date: 2015-04-03T01:01:00Z
2015-04-14 21:50:31 +02:00
Roger Meier
7726b03ac1 THRIFT-1857 Python 3.X Support - Replace deprecated "," with "as" in python exception generation code.
Patch: George Leslie-Waksman
This closes #440
2015-04-14 21:47:58 +02:00
Roger Meier
efd14e7c25 THRIFT-3062 fix segfault on invalid port number
This closes #425

commit 9d5654389daab6ab6be6bdae110a1acede51e945
Author: Jim King <jim.king@simplivity.com>
Date: 2015-04-04T19:47:34Z
2015-04-14 21:06:14 +02:00
Jens Geyer
a4fc440e51 THRIFT-3071 fix bootstrap.sh on MinGW
Client: Build process
Patch: James E. King, III <jim.king@simplivity.com>

This closes #438
2015-04-14 20:11:24 +02:00
Jim King
1673adf94a THRIFT-3094 fix broken cmake build of C++ library with alternate threading 2015-04-13 21:05:53 +02:00
Roger Meier
932c3ee66e THRIFT-3061 eliminate potential for client to hang SSLSocket close
This closes #423

commit 5cb13f25ee6d292f2fde0051a2b7ee56b7884055
Author: Jim King <jim.king@simplivity.com>
Date: 2015-04-03T18:56:27Z
2015-04-12 22:11:04 +02:00
Roger Meier
b1783a5722 THRIFT-3092 Generated Haskell types should derive Generic
This closes #437

commit bc922190b70e1264f356ab463dda18babf7910e3
Author: Abhinav Gupta <mail@abhinavg.net>
Date: 2015-03-11T07:26:58Z

[haskell] Derive Generic in generated types
2015-04-12 22:08:20 +02:00
Roger Meier
19e32dc0ed THRIFT-2850 CMake for Apache Thrift
add test/cpp and lib/py
2015-04-12 22:03:00 +02:00
Roger Meier
5d0a806785 THRIFT-3014 AppVeyor support - fix format 2015-04-12 21:45:11 +02:00
Roger Meier
5af78c8776 Revert "THRIFT-3014 AppVeyor support - fix format"
This reverts commit 81b3c440c6.

commit included modified CMakeLists.txt files, as part from local test
2015-04-12 21:43:12 +02:00
Roger Meier
81b3c440c6 THRIFT-3014 AppVeyor support - fix format 2015-04-12 21:06:11 +02:00
Winger Pun
b1a35da916 THRIFT-3088 TThreadPoolServer with Sasl auth may leak CLOSE_WAIT socket
TThreadPoolServer with Sasl auth may leak CLOSE_WAIT socket
2015-04-12 17:46:35 +02:00
Roger Meier
2659381e7f THRIFT-2850 CMake for Apache Thrift
add test/cpp and lib/py
2015-04-12 16:10:35 +02:00