Commit Graph

3610 Commits

Author SHA1 Message Date
Roger Meier
ca545bd429 THRIFT-2606 ThreadManager.h warning in clang++ 3.4
Patch: Konrad Grochowski
2014-07-07 21:53:04 +02:00
Roger Meier
464a3a4432 THRIFT-2092 TNonblocking server should release handler as soon as connection closes
Patch: Konrad Grochowski
2014-07-07 21:48:28 +02:00
Roger Meier
1a5127b76d THRIFT-1998 TCompactProtocol.tcc - one more warning on Visual 2010
Patch: Konrad Grochowski
2014-07-07 21:44:30 +02:00
Roger Meier
f9fbda8f42 THRIFT-1926 PHP Constant Generation Refactoring
remove author tag
2014-07-06 12:33:38 +02:00
Jens Geyer
81b3a42c93 THRIFT-2524 Visual Studio project is missing TThreadedServer files
Client: C++
Patch: Jens Geyer
2014-07-04 22:30:14 +02:00
Jens Geyer
41312c7e92 THRIFT-2590 C++ Visual Studio solution doesn't include Multiplexing support
Client: C++
Patch: Jens Geyer, based on a patch proposal from Thomas Lazar
2014-07-04 22:09:31 +02:00
Jens Geyer
9a4f40de19 THRIFT-2590 C++ Visual Studio solution doesn't include Multiplexing support
Client: C++
Patch: Pascal Bach
2014-07-04 22:02:21 +02:00
Jens Geyer
bc2ca4e5d7 THRIFT-1926 PHP Constant Generation Refactoring
Client: PHP
Patch: Xavier HAUSHERR
2014-07-04 21:45:55 +02:00
Roger Meier
45abf12f13 THRIFT-2594 JS Compiler: Single quotes are not being escaped in constants.
Patch: Thomas Lazar
2014-07-04 21:42:32 +02:00
Wade Simmons
0dd35a6c4b fix global leaks and copy-paste errors
- TCompactProtocol.prototype.writeBool not referencing `booleanField_`
  on `this` correctly. Also using `NULL` instead of `null`.

- TCompactProtocol.prototype.writeVarint64 had a typo for TProtocolException

- TCompactProtocol.prototype.readMapBegin had a typo between `kvtype` and
 `kvType`

- createMultiplexServer leaked a global var `processStatus`

- TFramedTransport had a line that was accidently copy pasted, leading
  to a global leak of `frameLeft`. (I created the patch the introduced
  this copy paste error in Thrift-1353, so I can confirm it was
  a mistake).

- createWebServer tried to check a non-existent var `route` and leaked
  a global `result`

Signed-off-by: Roger Meier <roger@apache.org>
2014-07-04 21:28:44 +02:00
Roger Meier
f16daad8d3 .gitignore: haskell related exclude 2014-07-04 15:38:20 +02:00
Jens Geyer
12ee88170a THRIFT-2599 Uncompileable Delphi code due to naming conflicts with IDL
Client: Delphi
Patch: Jens Geyer
2014-07-04 00:12:25 +02:00
Jens Geyer
9bb4c117aa Testcase fixed 2014-07-04 00:11:56 +02:00
jfarrell
0cb870bac1 Thrift-2467: Unable to build contrib/fb303 on OSX 10.9.2
Client: build
Patch: jfarrell

Updates fb303 build to use ax_cxx macros to detect and add std cflags.
2014-06-30 22:45:28 -04:00
Wade Simmons
35c8b97fbf fix TFramedTransport residual continuation
There were many bugs in the current TFramedTransport.receiver caused by
merge mistakes and bad patches. Simplify the logic so it is easier to
reason about and prevent future issues.

- THRIFT-2194 Fixed one bug with residual not being set
- THRIFT-2205 Reverted the above fix (by accident) and broke it further
  by including InputBufferUnderrunError in TFramedTransport (which is
  incorrect)

This patch cleans up TFramedTransport.receiver by only have one hold
over buffer instead of two (frame + residual).
2014-06-29 22:53:23 +02:00
David Robakowski
7878f11024 Add [-s[sl]] option for the python service remote to enable communication over an SSL socket connection 2014-06-28 08:37:21 +02:00
jfarrell
bf2617ed15 Thrift-THRIFT-2574: Compiler option to generate namespace directories for Ruby
Client: rb
Patch: Andrew Bloomgarden

Adds option to generate namespaced ruby classes.

Github: closes #140
2014-06-26 22:53:01 -04:00
henrique
c9bdd50270 THRIFT-2579 C++ lib Windows CE support 2014-06-25 13:13:23 +02:00
Jens Geyer
ff296c8841 THRIFT-2588 Thrift compiler is not buildable in Visual Studio 2010
Client: General Compiler
Patch: Thomas Lazar
2014-06-24 21:06:58 +02:00
henrique
cf9d968a89 format tutorial Java README.md 2014-06-24 16:11:26 +02:00
henrique
58993d1205 THRIFT-2577 C++ TFileTransport missuse of closesocket on windows platform
Patch: suuyaoo

    This closes #142

---
2014-06-24 16:08:22 +02:00
Henrique Mendonça
d5acf051b5 format tutorial Java README.md 2014-06-24 16:06:32 +02:00
henrique
ad67aa0acf THRIFT-2581 C++ TFDTransport destructor should not throw 2014-06-24 15:45:41 +02:00
Jens Geyer
bd05f9e06c THRIFT-2233 Java compiler should defensively copy its binary inputs
Client: Java
Patch: Andrew Gaul
2014-06-22 19:47:52 +02:00
Jens Geyer
9999f5295e THRIFT-2503 C++: Fix name collision when a struct has a member named "val"
Client: C++
Patch: Jens Geyer & Alexander Potashev
2014-06-22 19:09:06 +02:00
Jens Geyer
ebddd933d1 THRIFT-2508 Uncompileable C# code due to language keywords in IDL
Client: C#
Patch: Jens Geyer
2014-06-22 19:06:51 +02:00
Jens Geyer
104ecb6589 FIX broken test 2014-06-19 23:25:50 +02:00
Jens Geyer
c0d126fcaf THRIFT-2549 Generate json tag for struct members. use go.tag annotation to override the default generated tag.
Client: Go
Patch: Aleksey Pesternikov

This closes #128
2014-06-19 22:49:54 +02:00
Jens Geyer
329d59aab0 THRIFT-2576 Implement Thrift.Protocol.prototype.skip method in JavaScript library
Client: JavaScript
Patch: Hyungsul Kim

This closes #141
2014-06-19 22:11:53 +02:00
Roger Meier
32f3982275 THRIFT-2578 Moving 'make cross' from test.sh to test.py
Patch: Chamila Dilshan Wijayarathna
2014-06-18 22:43:17 +02:00
henrique
55087a49d3 THRIFT-2571 doc and speed up travis build 2014-06-17 12:36:39 +02:00
Randy Abernethy
44c9b4411a THRIFT-2539:TSocket.cpp AI_ADDRCONFIG problems on Windows
Client: C++ Lib
Patch: Michal Gazda

AI_ADDRCONFIG keeps Windows from making local connections
when no NICs are present.
2014-06-16 21:15:23 -07:00
Roger Meier
db372ac248 compiler: move README_Windows.md content to README.md
fix compiler/cpp/Makefile.am
2014-06-16 07:32:12 +02:00
Roger Meier
63fcb7e756 THRIFT-2520 cpp:cob_style generates incorrect .tcc file
This closes #118

commit 22d266eefaf16f21ffd0ad193a6a54403de65197
Author: N.Sukegawa <nsukeg@gmail.com>
Date: 2014-05-07T19:36:43Z
2014-06-15 21:51:32 +02:00
Roger Meier
746952efc1 compiler: move README_Windows.md content to README.md 2014-06-14 21:59:24 +02:00
Roger Meier
cd9dd515bb THRIFT-2572 Add string/collection length limit checks (from C++) to java protocol readers
Client: Java

This closes #138

Patch: Andrew Cox
2014-06-11 14:15:21 +02:00
Roger Meier
40cc23269d THRIFT-847 Test Framework harmonization across all languages
initial version of test.py and tests.json

Patch: Roger Meier
2014-06-11 11:09:14 +02:00
henrique
bbac92453b THRIFT-2571 Simplify cross compilation using CMake
Patch: Pascal Bach

    This closes #137

----
2014-06-11 09:28:17 +02:00
Roger Meier
a3570ac367 THRIFT-847 Test Framework harmonization across all languages
Added cross tests for ruby with ruby, cpp, java, node and python.
ruby_protocols="binary compact json accel"
ruby_transports="buffered framed"
ruby_sockets="ip"
Created new TestServer.rb and TestClient.rb for this purpose

Patch: Chamila Dilshan Wijayarathna
2014-06-10 22:16:14 +02:00
henrique
48b189716f THRIFT-2471 requires libboost 1.54
+ additional script clean up
2014-06-10 15:19:55 +02:00
Pascal Bach
569863a138 Allow cross build for windows using mingw32
- Build the compiler using CMake for:
  - Linux native gcc
  - Windows using mingw32
2014-06-10 13:44:02 +02:00
Pascal Bach
42be4e818a Get thrift version from configure.ac for CMake build 2014-06-10 13:33:58 +02:00
Pascal Bach
6eb015aa55 Add CMake file for the thrift compiler 2014-06-10 13:33:58 +02:00
Roger Meier
faf52db216 THRIFT-2569 Introduce file to specify third party library locations on Windows
This closes #136

----
commit f55437d55549ced475092518f432936c4e760639
Author: Pascal Bach <pascal.bach@siemens.com>
Date:   2014-04-09T09:19:18Z

    TPipeServer requires OverlappedSubmissionThread.cpp|h

    so include it in the corresponding VS files

commit 63a3309a83e6fb09b589a61fe56c5abe1157acb5
Author: Pascal Bach <pascal.bach@siemens.com>
Date:   2014-03-26T15:44:07Z

    Replace Env variables for 3rdparty

----

Patch: Pascal Bach
2014-06-09 22:41:06 +02:00
Roger Meier
27b57834e2 .gitignore: add c_glib profiling files *.gcno 2014-06-09 22:37:42 +02:00
Jens Geyer
7b11fec0c5 THRIFT-2568 Implement own certificate handler
Client: C#
Patch: Michael Blättler

This closes #133

commit 57494794e787356ee98229cac35ea7aaa60ad562
 Author: mblaettler <michi.blaettler@bluewin.ch>
 Date: 2014-06-05T11:41:05Z

THRIFT-2568: Implemented possibility to use own certificate handler
2014-06-05 22:03:19 +02:00
henrique
245dbdfd11 THRIFT-2565 autoconf fails to find mingw-g++ cross compiler on travis CI 2014-06-04 18:14:39 +02:00
Jens Geyer
cf18e91831 THRIFT-2435 Java compiler doesn't like struct member names that are identical to an existing enum or struct type
Client: java
Patch: Jens Geyer

Fixed a potential nullptr dereference introduced by that patch (Coverity ID 1216835)
2014-05-31 22:58:15 +02:00
Jens Geyer
a3350b48ea THRIFT-2560 Thrift compiler generator tries to concat ints with strings using +
Client: Compiler
Patch: Jens Geyer
2014-05-31 22:32:18 +02:00
Roger Meier
76150722af THRIFT-847 Test Framework harmonization across all languages
Added 'ssl' tests for python tests.
Added '-transport arg (=buffered) transport: buffered, framed, http' to test/py/TestServer.py and test/py/TestClient.py and removed '-framed' arguement.
Changed test/py/RunClientServer.py to match above changes.
Added tests to compact protocol in python cases.
Added tests to test BinaryAccelarated protocol with Binary Protocol.
Changed py/TestClient.py and py/TestServer.py from --proto to --protocol parameter

Patch: Chamila Dilshan Wijayarathna & Roger Meier
2014-05-31 22:22:07 +02:00