Commit Graph

198 Commits

Author SHA1 Message Date
Roger Meier
c7b3086665 THRIFT-3421 rebar as dependency instead of bundling
This closes #693
2015-11-14 17:24:11 +01:00
Nobuaki Sukegawa
a185d7e785 THRIFT-1857 Python 3 Support
Client: Python
Patch: Nobuaki Sukegawa

Add py3 cross test
2015-11-06 21:24:24 +09:00
Nobuaki Sukegawa
826ea998d5 THRIFT-3400 Add Erlang to cross test
Client: Test, Erlang
Patch: Nobuaki Sukegawa
2015-10-31 14:54:12 +09:00
Randy Abernethy
983bf7de41 THRIFT-3373: cross test cleanup
Client: build, node, c_glib, cpp, hs, py, rb
Patch: Nobuaki Sukegawa

Github Pull Request:
This closes #641
commit 338f1a502961a4f63b0bd4b3dae4099062d6d17f
Author: Nobuaki Sukegawa <nsukeg@gmail.com>
Date: 2015-10-09T17:25:18Z
THRIFT-3373 Various fixes for cross test servers and clients
2015-10-09 12:28:57 -07:00
Mark Erickson
932c4700c6 THRIFT-3299 Create an Apache Thrift language binding for Dart (dartlang.org).
Client: Dart
Patch: Mark Erickson <mark.erickson@workiva.com>

This closes #608
2015-10-03 01:43:59 +02:00
Jens Geyer
96d80200c5 THRIFT-3295 C# library does not build on Mono 4.0.2.5 or later
Client: C#
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #586
2015-09-03 21:14:30 +02:00
Jim King
b0b710a426 THRIFT-3164: disable insecure SSLv3 protocol in cpp lib unless SSLv3 is specifically asked for to make the defaults more secure; added a matrix security unit test for SSL in the cpp lib 2015-07-30 21:57:03 +02:00
Jens Geyer
57ac33ea1a THRIFT-3264 Fix Erlang 16 namespaced types
Client: Erlang
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #566
2015-07-28 23:12:52 +02:00
Jens Geyer
8677719180 THRIFT-2957 warning: source file %s is in a subdirectory, but option 'subdir-objects' is disabled
Client: Compiler General
Patch: Simon South

This closes #563
2015-07-27 23:52:13 +02:00
jfarrell
6cdbd98b71 Thrift-2922: TRIAL is used with Python tests but not tested accordingly
Client: py
Patch: jfarrell

Updated configure.ac to require trial for py.twisted tests
2015-06-23 21:58:50 -04: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
Gustavo Zacarias
e856d6846b THRIFT-3113 m4 C++11 macro issue
Make it cross-compile happy the hard way, there's no clean way.
Make zlib version detection cross-compile happy.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>

autotools: update ax_cxx_compile_stdcxx_11.m4 to version 10

The ax_cxx_compile_stdcxx_11 macro bundled in thrift package is
brocken [1] and out of date.

Since Thrift actually doesn't use that particular C++11 feature,
make C++11 support optional.

[1] https://savannah.gnu.org/patch/index.php?8287

Fixes:
[thrift]
http://autobuild.buildroot.net/results/21e/21e3fff1e0d714f94ac7e621289d1a59bc02a05f/build-end.log
[host-thrift]
http://autobuild.buildroot.net/results/b89/b89ffc2bff699eb10bb6abd92369a43d4900354d/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>

This closes: #462
2015-04-26 16:03:38 +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
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
4aa95df383 THRIFT-3071 check minimum required version of automake in bootstrap.sh
Client: Build process
Patch: James E. King, III <jim.king@simplivity.com>

This closes #421

- check minimum required version of automake in bootstrap.sh
- remove a warning from bootstrap processing
2015-04-03 12:38:17 +02:00
Roger Meier
41ad4342c5 THRIFT-847 Test Framework harmonization across all languages
THRIFT-2946 Enhance usability of cross test framework

Patch: Nobuaki Sukegawa

This closes: #358
2015-03-24 22:30:40 +01:00
Jens Geyer
0cfdf7cb9d THRIFT-2598 Add check for minimum Go version to configure.ac
Client: Go
Patch: Jens Geyer

This closes #399
2015-03-19 04:08:18 +02:00
Sergei Nikulov
283899bf9a Use Boost C++ >= 1.53.0 2015-02-15 00:04:46 +01:00
Jens Geyer
22dddc9fab THRIFT-2996 Test for Haxe 3.1.3 or better
Client: Haxe
Patch: Jens Geyer

This closes #374
2015-02-12 23:12:17 +01:00
Jens Geyer
468e63b36d THRIFT-2914 explicit dependency to Lua5.2 fails on some systems
Client: Lua
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #373
2015-02-08 14:43:15 +01:00
Jens Geyer
5c10fd8cb1 Add-on-patch for THRIFT-2922 ($TRIAL used but not tested accordingly)
Client: Python
Patch: Jens Geyer

Simply added $TRIAL to configure output. Note that the actual issue is still unsolved.
2014-12-30 16:15:57 +01:00
Jens Geyer
2ac3a3c821 THRIFT-2912 Autotool build for C++ Qt library is invalid
Client: C++
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #336

* Fix incorrect AC_PATH_PROGS usage
* Exclude generated source code from distribution
2014-12-23 18:18:58 +01:00
Nobuaki Sukegawa
6622877a09 THRIFT-2098 Add support for Qt5+ 2014-12-21 16:36:47 +01:00
Konrad Grochowski
ec8d8778b5 THRIFT-2906 - linking with boost_unit_test_framework made more portable
Client: C++
Patch: Jon Parise

BOOST_TEST_LDADD Makefile variable added and should be used when linking
with boost_unit_test_framework

This closes #333
2014-12-20 12:50:30 +01:00
Jon Parise
a195a2574e THRIFT-2887 Respect --with-openssl when building C++ support. 2014-12-13 21:36:25 +01:00
jfarrell
ea2fbcfc91 THRIFT-2843: Automake configure.ac has possible typo related to Java
Client: build
Patch: Cash Costello

Fixes typo in configure.ac for java detection.

This closes #279
commit 6cca2524b1d40375b383abef09a76d272be310c5
Author: Cash Costello <cash.costello@jhuapl.edu>
Date: 2014-11-21T14:29:25Z
2014-11-21 10:06:55 -05:00
Konrad Grochowski
16a23a6618 THRIFT-2729: C++ - .clang-format created and applied
Client: C++
Patch: Konrad Grochowski

make style command added
2014-11-18 11:39:10 +01:00
Konrad Grochowski
240120c843 Revert "THRIFT-2729: C++ - .clang-format created and applied"
This reverts commit 74260aa909.
2014-11-18 11:33:31 +01:00
Konrad Grochowski
74260aa909 THRIFT-2729: C++ - .clang-format created and applied
Client: C++
Patch: Konrad Grochowski

make style command added
2014-11-18 10:02:08 +01:00
Jens Geyer
fea00ac871 THRIFT-2753 Haxe support: Misc. improvements
Client: Haxe
Patch: Jens Geyer

This closes #229
2014-11-09 01:58:29 +01:00
Jens Geyer
bd52f1a1dd THRIFT-2644 Haxe support
Client: Haxe
Patch: Jens Geyer

This closes #214
2014-11-09 01:58:25 +01:00
Roger Meier
81a1f996bc THRIFT-2602 fix missing dist files
- add automake 1.13 dependency to configure.ac and doc
- use serial-tests instead of .NOTPARALLEL (introduced by THRIFT-1829)

Patch: Roger Meier
2014-10-22 14:09:43 +02:00
Roger Meier
b3c8409c24 THRIFT-2685 c_glib: Include in integration test suite
- client side

Patch: Simon South
2014-09-01 21:53:40 +02:00
alisdair sullivan
06d0fa05a5 THRIFT-2648 cleanup erlang lib
client: erlang
patch: alisdair sullivan (alisdairsullivan@yahoo.ca)

moves tests for the thrift compiler generation of files to /test/erl, properly removes artifacts from test
suite runs, adds module listing to .app.src for better behaviour when using erlang tools like relx and
rebar and modifies .gitignore to not ignore relevant erlang test components
2014-08-07 02:41:29 +02:00
Roger Meier
2814c2e726 THRIFT-976 c_glib tutorial
Patch: Simon South
Signed-off-by: Roger Meier <roger@apache.org>
2014-07-29 23:28:46 +02:00
Roger Meier
3974aaba69 THRIFT-2602 Fix missing dist files
- set bison to 2.5
- include "config.h" within thriftl.ll

Patch: Roger Meier
2014-07-14 20:22:12 +02:00
jfarrell
30a472e04f THRIFT-2602: Fix missing dist files
Client: build process
Patch: jfarrell

Add check for php extension to not build if phpize has not been run,
update Vagrantfile to update package list for haskell test deps, and
change bison min version to 2.4 to work with the current versions of
debian, ubuntu and centos.
2014-07-10 18:42:30 -04:00
jfarrell
4f54d13e79 THRIFT-2602: Fix missing dist files
Client: build process
Patch: jfarrell

Adding macro check around bison version and removing am__yacc_c2h and will
conditionally include the necessary h/hh file, this will fix the mentioned
missing .hh file in dist and make it compatible with automake 1.11 and above
2014-07-10 09:23:43 -04:00
henrique
48b189716f THRIFT-2471 requires libboost 1.54
+ additional script clean up
2014-06-10 15:19:55 +02:00
Jens Geyer
0cf802a366 THRIFT-2552 eliminate warning from configure.ac
Client: build process
Patch: Liang Xie
2014-05-27 23:10:11 +02:00
Roger Meier
303eb1b4f0 THRIFT-2401 Haskell tutorial compiles
Patch: John Chee & Roger Meier

includes minifix from:
THRIFT-2453 haskell tutorial: fix up division by 0 example
2014-05-14 00:49:41 +02:00
Jens Geyer
f459868f93 THRIFT-2497 server and client for test/go, also several fixes and improvements
Client: Go
Patch: Aleksey Pesternikov

This closes #109

commit f2e7186ca8d63f407dba0c56ee51afd6405926ba
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-22T12:48:14Z

add _ to generated filename if it ends with _test.go

commit a6ed88196fbf4622a3b0261bbac0fe6b258bdd36
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-22T14:19:13Z

use tcxx instead of tr1 in test/cpp

commit d1848fa05f4baefc66eb405f4b1a8657bb2869bd
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-23T01:01:03Z

Merge branch 'master' of https://github.com/apache/thrift into go_integration

commit 04d22fef228d3f868b32a296a38f99ff52ee2142
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-25T00:34:24Z

additions:
 test for client/server with several protocol/transport/ssl combinations
 bin/testclient and bin/testserver
 debug_transport

fixes:
 separate Listen() and AcceptLoop() instead of Serve() in SimpleServer
 if handler function returns any unknown exception, handler closes connection

commit ed88d57d977cffea9fac8f61143801f3097ef46c
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T13:29:54Z

Generate lowercase package name
 lowercased pkg name in thrift files
 underline() -> lowercase()

commit 498a910c6c6753a4b1e3633eb5c9c82be33e8c7b
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T13:32:26Z

Merge branch 'master' into go_test_service_name

commit 25792d7218a2c32ee3c2077f65ca7d0cea7f31f5
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-22T12:48:14Z

add _ to generated filename if it ends with _test.go

commit af994b415308a2e174d57a03675fc83d7cbd43d1
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-25T00:34:24Z

additions:
 test for client/server with several protocol/transport/ssl combinations
 bin/testclient and bin/testserver
 debug_transport

fixes:
 separate Listen() and AcceptLoop() instead of Serve() in SimpleServer
 if handler function returns any unknown exception, handler closes connection

commit f22a777a5d5b4d93a8d7981e7aadc2c63919518a
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T13:44:08Z

Merge branch 'go_integration' of github.com:apesternikov/thrift into go_integration

commit 49a33c8c80ea35f923ee9aa3577780fcf41fe840
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T13:49:05Z

Merge branch 'master' into test_cpp_on_mac

commit 81b402ec6301f6b132c9b346ad5481f55f0aff89
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T13:56:56Z

operator < for ThriftTest

commit cde312d940d12077274dd0ba677ca850b5b439a7
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T14:12:58Z

minor formatting

commit 0a693115c2c20a2a8375f3859ff7bed261e6c8da
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T14:13:20Z

Merge branch 'test_cpp_on_mac' into go_integration

commit e06b5d24e8b6d429723a3c77a58c6ce903e1366a
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-25T15:19:20Z

Merge branch 'go_test_service_name' into go_integration

commit 42d577c9812a070060c773fcd0598e58e6d6ba61
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-25T15:39:57Z

imported THRIFT-2491
 lowercase package names

commit 491ccf8b018c046c5ced72b1e19d9ac4ec48a6f5
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-25T15:51:53Z

--noinsane flag for c++ TestClient. works with go server now for other default params

commit 78db3c9a3a5742818a5de6e57f2fe9aed84919e5
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-25T16:03:23Z

license
2014-05-08 23:18:44 +02:00
Roger Meier
1953e21a37 THRIFT-2471: Make cpp.ref annotation language agnostic
update boost to 1.53

Patch: Roger Meier
2014-05-04 22:02:17 +02:00
Roger Meier
bea3144a45 THRIFT-2454: c_glib: There is no gethostbyname_r() in some OS
Patch: Jin-wook Jeong
2014-04-08 23:52:01 +02:00
Roger Meier
6cf0ffcec9 THRIFT-1681: Add Lua Support Patch: Dave Watson
Github Pull Request: This closes #92
2014-04-05 00:50:35 +02:00
Roger Meier
c92cda0d99 THRIFT-2344 configure.ac: compiler-only option
Patch: Roger Meier
2014-02-09 21:13:53 +01:00
Roger Meier
64998e2ac4 THRIFT-2334 nodejs: add a tutorial for node JS
Patch: Pierre Lamot
2014-01-27 21:15:56 +01:00
Roger Meier
c88d581952 THRIFT-2317 add disable option to exclude tutorial from build 2014-01-26 11:51:26 +01:00
Roger Meier
8909cbdf81 THRIFT-2327 nodejs: nodejs test suite should be bundled with the library
Patch: Pierre Lamot

further modifications by Roger Meier
- git mv instead of delete and add
- detect node or nodejs with configure.ac
- use exit instead of return within lib/nodejs/test/testAll.sh
2014-01-26 11:44:27 +01:00