Commit Graph

3617 Commits

Author SHA1 Message Date
Jens Geyer
6f86f9ac58 THRIFT-2557 CS0542 member names cannot be the same as their enclosing type
Client: C#
Patch: Jens Geyer
2014-07-08 21:31:52 +02:00
Roger Meier
2e9be756ce THRIFT-2610 MSVC warning in TSocket.cpp
Patch: Konrad Grochowski
2014-07-08 07:46:11 +02:00
Roger Meier
3e50a9a1d0 THRIFT-2605 TSocket warning on gcc 4.8.3
Patch: Konrad Grochowski
2014-07-08 07:29:12 +02:00
Roger Meier
f83c0e13b7 THRIFT-2416 Cannot use TCompactProtocol with MSVC
Patch: Konrad Grochowski
2014-07-07 22:06:45 +02:00
Roger Meier
5f61d29a26 THRIFT-2609 TFileTransport.h unused field warning (clang 3.4)
Patch: Konrad Grochowski
2014-07-07 22:02:57 +02:00
Roger Meier
2768eb29ce THRIFT-2608 TNonblockingServer.cpp warnings on clang 3.4
Patch: Konrad Grochowski
2014-07-07 21:56:44 +02:00
Roger Meier
9a242c02f6 THRIFT-2607 ThreadManager.cpp warning on clang++ 3.4
Patch: Konrad Grochowski
2014-07-07 21:55:27 +02:00
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