Commit Graph

4147 Commits

Author SHA1 Message Date
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
Jens Geyer
5588a569d5 THRIFT-2554 double initialization in generated Read() method
Client: C#
Patch: Jens Geyer
2014-05-30 17:53:47 +02:00
Jens Geyer
eb1e1d5567 THRIFT-2555 excessive "unused field" comments
Client: Go
Patch: Jens Geyer
2014-05-30 17:53:45 +02:00
ra
91b3b1a6b2 THRIFT-2558: CSharp gen tries to add str + int
Client: C# Compiler
Patch: Randy Abernethy

The C# generator attempts to throw a str + int string in
several places producing undesirable results. This patch
uses stringstream to concatenate the string representations.
2014-05-30 06:31:00 -07:00
Roger Meier
73464acebf update doc/install 2014-05-30 14:53:22 +02:00
Roger Meier
e9f00cbe64 add doc/install from website, update README.md 2014-05-30 14:40:36 +02:00
Roger Meier
6848de85b8 THRIFT-2543 Generated enum type in haskell should be qualified
Client: Haskell
Patch: Zejun Wu
2014-05-30 03:03:09 +02:00
Roger Meier
5c976038f9 THRIFT-2469 "java:fullcamel" option to automatically camel-case underscored attribute names
add missing TestFullCamel.java

Client: Java
Patch: Tom Lee
2014-05-30 00:18:50 +02:00
Roger Meier
e86428c6b0 THRIFT-2469 "java:fullcamel" option to automatically camel-case underscored attribute names
Client: Java
Patch: Tom Lee
2014-05-30 00:17:12 +02:00
Roger Meier
7ca13f5507 THRIFT-2526 Assignment operators and copy constructors in c++ don't copy the __isset struct
Client: cpp
Patch: Doug Judd
2014-05-29 22:40:32 +02:00
Roger Meier
80a44f84fb THRIFT-2551 OutOfMemoryError "unable to create new native thread" kills serve thread
Github Pull Request: This closes #112

Patch: Fuud
2014-05-29 16:25:22 +02:00
Roger Meier
72268b78a3 THRIFT-847 Test Framework harmonization across all languages
py-py, py-java, java-py, cpp-py, py-cpp, nodejs-py, py-nodejs tests added with
py_protocols="binary compact json accel"
py_transports="buffered"
py_sockets="ip",
test.sh refactored so that new protocols, transports and sockets can be easily added.

Patch: Chamila Dilshan Wijayarathna
2014-05-28 23:08:09 +02:00
Jens Geyer
4b0fede142 THRIFT-1584 could not SetMinThreads in ThreadPool on single-core machines
Client: C#
Patch: Jens Geyer after suggestion from JIRA-User "Funny"
2014-05-28 22:35:15 +02:00
Roger Meier
97243a73ea THRIFT-2239 Address FindBugs errors
Client: Java
Patch: Liang Xie
2014-05-28 14:19:09 +02:00