Commit Graph

4207 Commits

Author SHA1 Message Date
Jens Geyer
e84c582531 THRIFT-2916 Add default toHash method to 'class' and 'struct' to meet D's associative arrays requirement.
Client: D
Patch: Phongphan Phuttha <phongphan@acm.org>

This closes #503
2015-05-19 01:33:23 +02:00
Konrad Grochowski
1f6e380c5d make style applied 2015-05-18 19:47:28 +02:00
Konrad Grochowski
3b115dfa61 THRIFT-727 - C++: what() method of generated exceptions will provide more information
Patch: Anna Dymek <aadymek@gmail.com>
Client: C++

This closes #469
2015-05-18 19:47:23 +02:00
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
Roger Meier
e46ec45b38 THRIFT-2850 CMake: mingw32-toolchain, set static linker flags
fixes: libgcc_s dependencies on Windows

Now we have an installer and the compiler as executable
2015-05-17 00:35:52 +02:00
Roger Meier
880a2b32e5 doc: update compiler CMake build and update .gitignore 2015-05-16 22:40:17 +02:00
Roger Meier
4ead520841 THRIFT-3155 move contrib/mingw32-toolchain.cmake to build/cmake/ 2015-05-16 21:09:18 +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
86fded21b5 THRIFT-2850 CMake: improve Windows support
use YY_NO_UNISTD_H and remove --wincompat
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
eab9c45bad THRIFT-3089 Assigning default ENUM values results in non-compilable java code if java namespace is not defined
Client: Java
Patch: Anna Dymek <aadymek@gmail.com>

This closes #490
2015-05-12 23:02:32 +02:00
Jens Geyer
b9f6038cfb THRIFT-3146 Graphviz generates function name collisions between services
Client: Graphviz
Patch: Adam Beberg
2015-05-12 22:39:31 +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
Nobuaki Sukegawa
fd5a4d2969 THRIFT-3137 Travis build hangs after failure 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
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