Commit Graph

4332 Commits

Author SHA1 Message Date
Jim King
6077481139 THRIFT-1248 fix TMemoryBuffer pointer arithmetic and add unit test
This closes #486
2015-05-10 14:45:17 +02:00
Jim King
9f85468eb6 THRIFT-1642 pull in patch from Jira to fix signedness issue in timeout calculation
This closes #485
2015-05-10 14:42:42 +02:00
Jim King
9dfe7b83ef THRIFT-2474 complete the ntohll precompile conditionals 2015-05-09 23:45:33 +02:00
Roger Meier
446a319f9a THRIFT-3086 add valgrind suppression support to the ExperimentalMemCheck test run
Patch: James E. King, III

This closes #481
2015-05-09 23:40:54 +02:00
Roger Meier
ec847acab5 THRIFT-3125 Fix the list of exported headers in automake input
This closes #478
2015-05-09 21:33:42 +02:00
Konrad Grochowski
2a15b99372 THRIFT-3132: Java generator will properly format date in @Generated
Client: Java
Patch: Stig Bakken <stig@zedge.net>

This closes #484
2015-05-09 11:55:36 +02:00
Jens Geyer
dfc22ad205 THRIFT-3128 Go generated code produces name collisions between services
Client: Go
Patch: Adam Beberg
2015-05-08 21:43:50 +02:00
Konrad Grochowski
24ea0bf5df THRIFT-3130 - C++ Lib: removed no longer needed macro THRIFT_OVERLOAD_IF
Client: C++
Patch: Jim King <jim.king@simplivity.com>

This closes #483
2015-05-07 15:16:24 +02:00
Jens Geyer
89cffc6f76 THRIFT-3126 PHP JSON serializer converts empty or int-indexed maps to lists
Client: php/test/Test/Thrift/JsonSerialize/JsonSerializeTest.php
Patch: Stig Bakken <stig@zedge.net>

This closes #479
2015-05-05 21:10:50 +02:00
henrique
eec445ef8a THRIFT-2674 JavaScript: declare Accept: and Content-Type: in request 2015-05-04 21:37:51 +10:00
henrique
55c3abcb63 Revert "THRIFT-2674 JavaScript: declare Accept: and Content-Type: in request"
This reverts commit 1e723d931e.
2015-05-04 21:05:48 +10:00
Konrad Grochowski
de7cf5df92 THRIFT-3124: some signed/unsigned warnings removed from compiler
Client: all
Patch: Konrad Grochowski
2015-05-04 11:24:47 +02:00
Konrad Grochowski
13699f878a THRIFT-3123: Missing include added to compiler/cpp/src/main.h
Patch: David Ehrmann
Client: all

This closes #477
2015-05-04 11:21:22 +02:00
Thomas Bartelmess
9e78ed81a9 THRIFT-3121 Librt does not exist on OSX 2015-05-02 17:12:47 +02:00
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