Commit Graph

2588 Commits

Author SHA1 Message Date
Jens Geyer
83cd3e8d41 THRIFT-3162 Rename the 'format' parameter to disambiguate from std.format's format.
Client: D
Patch: Phongphan Phuttha <phongphan@acm.org>

This closes #502
2015-05-17 19:44:01 +02:00
Jens Geyer
fc8a6a5187 THRIFT-3131 fix path for "go get"
Client: Go
Patch: Konstantin Shaposhnikov <k.shaposhnikov@gmail.com>

This closes #497

git.apache.org/thrift.git/lib/go/thrift is the correct import path as it is used
by default in the generated go code.

Unfortunately "go get" can download this library only using git:// scheme so if a user running "go get" is behind a firewall or Git is down at git.apache.org (which seems to be the case from time to time) then running go get with this path will fail.

I will try to get this fixed in Go 1.5.
Issues to watch:
- https://issues.apache.org/jira/browse/INFRA-9658
- https://github.com/golang/go/issues/10797
2015-05-16 14:33:58 +02:00
Jens Geyer
b7138acd86 THRIFT-3149 go: make generated readFieldN methods private
Client: Go
Patch: Konstantin Shaposhnikov <k.shaposhnikov@gmail.com>

This closes #496
2015-05-15 22:35:50 +02:00
Roger Meier
a6b6633259 THRIFT-2850 CMake: Windows improvements, doc, TMemoryBufferTest fix 2015-05-15 15:44:22 +02:00
Roger Meier
516e28a42d THRIFT-3152 Compiler error on Mac OSX (missing #include <cstdlib>)
Patch: Mathias Gottschlag
2015-05-15 11:23:01 +02:00
Jens Geyer
04488dddf8 THRIFT-3151 Fix links to git-wip* - should be git.apache.org
Client: Haxe
Patch: Jens Geyer

This closes #492
2015-05-14 18:57:50 +02:00
Nobuaki Sukegawa
113b638790 THRIFT-3148 Markdown links to coding_standards are dead
This closes #491
2015-05-13 21:40:26 +02:00
Jens Geyer
77a7103fe1 THRIFT-3144 make String representation of enums in generated go code less verbose
Client: Go
Patch: Konstantin Shaposhnikov <k.shaposhnikov@gmail.com>

This closes #489

Changed generated String/FromString methods for enums to use values from thrift definition file for string representation of an enum.

E.g.:
- before: String(TestEnum_FIRST) = "TestEnum_FIRST"
- after : String(TestEnum_FIRST) = "FIRST"
2015-05-11 22:45:55 +02:00
Nobuaki Sukegawa
ef0a8fa62a THRIFT-3138 "make check" parallel execution is underministic 2015-05-10 18:25:56 +02:00
Nobuaki Sukegawa
03f0e18fcb THRIFT-3133 Allow "make cross" and "make precross" to run without building all languages 2015-05-10 18:25:56 +02:00
Nobuaki Sukegawa
72f8809290 THRIFT-3141 Improve logging of JavaScript test 2015-05-10 18:25:56 +02:00
Nobuaki Sukegawa
63b5120c78 THRIFT-3142 Make JavaScript use downloaded libraries 2015-05-10 18:25:56 +02:00
Nobuaki Sukegawa
fbc6977381 THRIFT-3140 ConcurrentModificationException is thrown by JavaScript test server 2015-05-10 18:25:56 +02:00
Nobuaki Sukegawa
42bc88cfbb THRIFT-3139 JS library test is flaky 2015-05-10 18:25:56 +02:00
Nobuaki Sukegawa
2c4edd88b1 THRIFT-3134 Remove use of deprecated "phantom.args" 2015-05-10 18:25:56 +02:00
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
ec847acab5 THRIFT-3125 Fix the list of exported headers in automake input
This closes #478
2015-05-09 21:33:42 +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
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
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
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
Jim King
5ec805b22b THRIFT-3081 consolidate client processing loop in Simple, Threaded, and Thread Pool servers 2015-04-26 20:58:17 +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
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
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
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
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