Commit Graph

942 Commits

Author SHA1 Message Date
creker
ca714c4397 THRIFT-3467 Go Maps for Thrift Sets Should Have Values of Type struct{}
Client: Go
Patch: artem antonenko <sam901@yandex.ru>

This closes #976
2016-04-06 22:53:25 +02:00
Nobuaki Sukegawa
eb344a8191 THRIFT-3762 Fix warnings for deprecated Thrift "byte" fields
This closes #967
2016-03-29 12:03:34 +09:00
Nobuaki Sukegawa
73d16378c5 More make dist entries 2016-03-19 23:53:05 +09:00
Nobuaki Sukegawa
e134cbc6ff Update make dist entries 2016-03-18 22:37:02 +09:00
John Sirois
bd964c7f34 THRIFT-3112 [Java] AsyncMethodCallback should be typed in generated AsyncIface
The parametrization brings the existing actual parametrization with
client call implementation objects to the fore and so this change
also fixes that parametrization to be a simple parametrization over
the return type as is done in the server-side AsyncProcessor code.

NB: This is a breaking change in both generated code and the client
libs.

This closes #840
2016-03-18 22:33:38 +09:00
Wang Yaofu
e432c6b828 THRIFT-3728 http transport for thrift-lua
This closes #938
2016-03-18 04:40:46 +09:00
Jens Geyer
1d20a370d2 THRIFT-3742 haxe php cli support
Client: Haxe
Patch: Oleksii Prudkyi + minor changes from Jens Geyer

This closes #950
2016-03-16 09:59:47 +02:00
Nobuaki Sukegawa
e364081f82 follow-up: THRIFT-3734 update test/known_failures.json 2016-03-13 18:19:01 +09:00
Nobuaki Sukegawa
4938bab184 THRIFT-3725 Skip a flaky cross test entry (d-dart compact framed-ip)
This closes #935
2016-03-10 11:35:55 +09:00
Nobuaki Sukegawa
c874408326 THRIFT-3722 Fix cert path in C++ cross tests for non-Linux platform
This closes #933
2016-03-09 19:55:56 +09:00
Jens Geyer
775671aea4 THRIFT-3709 Comment syntax can produce broken code
Client: Compiler(general)
Patch: Jens Geyer
2016-03-07 00:19:21 +01:00
Nobuaki Sukegawa
8b791b270e THRIFT-3711 Add D to cross language test
This closes #923
2016-03-06 09:45:42 +09:00
Nobuaki Sukegawa
06e8fd4a08 THRIFT-3694 [Windows] Disable tests of a few servers that are not supported
This closes #909
2016-03-02 23:44:23 +09:00
Mark Erickson
56c1c645f2 THRIFT-3702 Fix cross tests for Dart compact protocol (3 failing)
Client: Dart
Patch: Mark Erickson

This closes #917
2016-03-01 16:53:35 -06:00
Mark Erickson
b5f126f6d6 THRIFT-3637 Implement compact protocol for dart
This closes #916
2016-02-29 15:27:59 -06:00
Nobuaki Sukegawa
d479e23a1d THRIFT-3691 Run flake8 Python style check on Travis-CI
Client: Build (Python)
Patch: Nobuaki Sukegawa

This closes #907
2016-02-28 12:05:14 +09:00
Nobuaki Sukegawa
103974ec55 THRIFT-3688 Fix socket bind failure detection of cross test
Client: Test
Patch: Nobuaki Sukegawa

This closes #905
2016-02-28 12:03:40 +09:00
Nobuaki Sukegawa
e9b3234b28 THRIFT-3682 Do not reuse refused sockets in test scripts
Client: Test
Patch: Nobuaki Sukegawa

This closes #902
2016-02-27 16:55:55 +09:00
Nobuaki Sukegawa
fa53a3ce94 THRIFT-3592 Add basic test client
Fix sed command so that it work for both linux and bsd sed.
Client: Build (Lua)
Patch: Nobuaki Sukegawa

This closes #900
2016-02-27 16:55:55 +09:00
Nobuaki Sukegawa
008283de6c THRIFT-3660 Add V4 mapped address to test client cert's altname
Client: Test
Patch: Nobuaki Sukegawa

This closes #887
2016-02-22 23:26:11 +09:00
Nobuaki Sukegawa
23ffb31290 THIFT-3645 Add command line args and testBool handler to Lua test server
Client: Test (Lua)
Patch: Nobuaki Sukegawa

This closes #876
2016-02-20 00:44:54 +09:00
Nobuaki Sukegawa
08d67d7163 THRIFT-3644 Adds testStruct call to Lua test client
Client: Test (Lua)
Patch: Nobuaki Sukegawa

This closes #875
2016-02-20 00:44:24 +09:00
Nobuaki Sukegawa
59310f5dd0 THRIFT-3642 Speed up cross test runner
This closes #873
2016-02-20 00:18:43 +09:00
Wang Yaofu
19a3a2771a THRIFT-3631 JSON protocol implement for thrift-lua library.
THRIFT-3631 Lua-This is JSON protocol implement for thrift-lua library.
TJsonProtocol.lua is new source of lua for thrift JSON protocol.
2016-02-19 01:06:05 +09:00
Nobuaki Sukegawa
e1e09c7967 THRIFT-3641 Ruby client should try to connect to every result of getaddrinfo
Client: Ruby
Patch: Nobuaki Sukegawa

This closes #872
2016-02-19 01:06:05 +09:00
Nobuaki Sukegawa
7af189a236 THRIFT-3613 Port Python C extension to Python 3
Client: Python
Patch: Nobuaki Sukegawa

This closes #845
2016-02-13 23:12:34 +09:00
Nobuaki Sukegawa
6525f6ae87 THRIFT-3612 Add Python C extension for compact protocol
Client: Python
Patch: Nobuaki Sukegawa

This closes #844
2016-02-13 23:12:34 +09:00
Nobuaki Sukegawa
144bbef3dd THRIFT-3611 Add --regex filter to cross test runner
Client: Test
Patch: Nobuaki Sukegawa

This closes #843
2016-02-11 20:06:46 +09:00
Nobuaki Sukegawa
4708409c2d THRIFT-3601 Better conformance to PEP8 for generated code
This closes #837
2016-02-05 20:48:07 +09:00
Nobuaki Sukegawa
ebd71cedc3 THRIFT-3585 Compact protocol implementation for Lua
Enable compact protocol for cross test.
2016-02-04 22:20:01 +09:00
Nobuaki Sukegawa
1f647f01c4 THRIFT-3584 boolean false value cannot be transferred
Return value fix and test.
2016-02-04 22:20:00 +09:00
Phongphan Phuttha
3b89cc5305 THRIFT-3598 TBufferedTransport doesn't instantiate client connection
Client: Lua
Patch: Phongphan Phuttha

This closes #836
2016-02-04 22:20:00 +09:00
Nobuaki Sukegawa
f39f7dbd26 THRIFT-3599 Validate client IP address against cert's SubjectAltName 2016-02-04 22:20:00 +09:00
John Sirois
f7d497978d THRIFT-3597 make check hangs in go tests
Client: Test (Go)
Patch: John Sirois

This closes #833
2016-02-04 14:28:24 +09:00
Nobuaki Sukegawa
10308cb975 THRIFT-3596 Better conformance to PEP8
This closes #832
2016-02-04 14:28:24 +09:00
Nobuaki Sukegawa
d094e79de7 THRIFT-3592 Add basic test client
This closes #830
2016-02-03 01:07:43 +09:00
Nobuaki Sukegawa
95c628eade THRIFT-3578 Make THeaderTransport detect TCompact framed and unframed
Client: C++
Patch: Nobuaki Sukegawa

This closes #819
2016-02-01 21:24:39 +09:00
Nobuaki Sukegawa
2eed686406 Fix CI build for THRIFT-3251 Add http transport for server to Go lib
This closes #829
2016-02-01 21:23:25 +09:00
claudemiro
f8ca05528e THRIFT-3251 Add http transport for server to Go lib
Client: Go
Patch: claudemiro <dimiro1@gmail.com>

This closes #785
2016-01-28 23:05:02 +01:00
Jens Geyer
108fab8242 THRIFT-3501 Forward slash in comment causes compiler error
Client: Compiler (general)
Patch: Jens Geyer
2016-01-28 23:03:24 +01:00
Nobuaki Sukegawa
5e432ec37b THRIFT-3579 Introduce retry to make cross
This closes #817
2016-01-24 03:44:26 +09:00
Nobuaki Sukegawa
9890c28b7e THRIFT-3568 THeader server crashes on readSlow
Client: C++
Patch: Nobuaki Sukegawa

This closes #807
2016-01-24 00:13:44 +09:00
Nobuaki Sukegawa
bd165305fa THRIFT-3571 Make feature test result browsable
Client: Test
Patch: Nobuaki Sukegawa

This closes #809
2016-01-24 00:13:44 +09:00
Chandler May
3fe3df2ac8 THRIFT-3567 GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Client: c_glib
Patch: Chandler May <cjmay4754@gmail.com>

This closes #806
2016-01-19 22:00:48 +01:00
Chandler May
6dde90be2e THRIFT-1313 implement compact protocol for c_glib library
Client: C_glib
Chandler May <cjmay4754@gmail.com>

This closes #795
2016-01-19 22:00:27 +01:00
Nobuaki Sukegawa
2ba79440bf THRIFT-3544 Let cross test fail when server process died unexpectedly
Client: Test
Patch: Nobuaki Sukegawa

This closes #793
2016-01-19 02:48:07 +09:00
Roger Meier
baa110126d crossrunner: fix browse url 2016-01-17 21:06:44 +01:00
Nobuaki Sukegawa
fc07084ada THRIFT-3542 Add length limit support to Java test server
This closes #788
2016-01-13 20:25:26 +09:00
Nobuaki Sukegawa
7b545b5720 THRIFT-3532 Add configurable string and container read size limit to Python protocols
This closes #787
2016-01-13 20:25:23 +09:00
Nobuaki Sukegawa
1a42a05477 Skip C#-Python SSL cross tests that fails on Debian image
It is presumably due to SSL chagnes in Python 2.7.9.
2016-01-12 20:15:06 +09:00
Nobuaki Sukegawa
85650612e1 THRIFT-3531 Create cross lang feature test for string and container read length limit
This closes #780
2016-01-11 11:41:56 +09:00
Nobuaki Sukegawa
a3b88a012e THRIFT-3503 Enable py:utf8string by default
This closes #779
2016-01-11 11:41:14 +09:00
Nobuaki Sukegawa
378b727f8e THRIFT-3516 Add feature test for THeader TBinaryProtocol
This closes #767
2016-01-05 03:02:35 +09:00
Nobuaki Sukegawa
33744b0524 THRIFT-3515 Python 2.6 compatibility and test on CI
This closes #766
2016-01-05 03:02:35 +09:00
Nobuaki Sukegawa
ad8358664e THRIFT-3505 Enhance Python TSSLSocket
This closes #760
2016-01-03 02:39:51 +09:00
Nobuaki Sukegawa
b78d781b2e THRIFT-3438 Enable py:new_style by default
Client: Python
Patch: Nobuaki Sukegawa

This closes #759
2016-01-02 22:54:16 +09:00
Nobuaki Sukegawa
7b8946941e THRIFT-3504 Fix FastbinaryTest.py
Client: Python
Patch: Nobuaki Sukegawa

This closes #757
2016-01-02 22:54:16 +09:00
Nobuaki Sukegawa
6dde7f1925 Disable 2 flaky cross tests 2015-12-24 02:11:17 +09:00
Simon South
a873e16097 THRIFT-3386 misc. warnings with make check
c_glib: Add explicit casts to prevent compiler warnings during "make
check"
Client: c_glib
Patch: Simon South

This closes #751
2015-12-24 02:11:17 +09:00
Sebastian Zenker
39e505c150 THRIFT-3496 C++: Cob style client fails when sending a consecutive request
This closes #752
2015-12-24 02:11:17 +09:00
Nobuaki Sukegawa
9b35a7c021 THRIFT-3495 Minor enhancements and fixes for cross test
This closes #750
2015-12-24 02:11:17 +09:00
Nobuaki Sukegawa
e68ccc23be THRIFT-3482 Haskell JSON protocol does not encode binary field as Base64 2015-12-13 23:48:22 +09:00
Nobuaki Sukegawa
ef2b5285f3 THRIFT-3145 JSON protocol does not handle bool and empty containers correctly
Client: Haskell
Patch: Nobuaki Sukegawa

Fix bool and empty map and add test

This closes #740
2015-12-13 14:07:27 +09:00
Nobuaki Sukegawa
dfb6896436 THRIFT-3483 Incorrect empty binary handling introduced by THRIFT-3359
Client: C++, Node.js
Patch: Nobuaki Sukegawa

This closes #737
2015-12-11 00:19:09 +09:00
Jens Geyer
52de5cafbd THRIFT-3477 Parser fails on enum item that starts with 'E' letter and continues with number
Client: Compiler (general)
Patch: Jens Geyer

Fixes the issue with negative doubles. The "-" was recognized as valid st_identifier, which is only a leftover from THRIFT-3416 that is no longer used at all.
2015-12-08 23:03:17 +01:00
Jens Geyer
5eed3a161f THRIFT-3477 Parser fails on enum item that starts with 'E' letter and continues with number
Client: Compiler (general)
Patch: Jens Geyer
2015-12-08 21:05:52 +01:00
Tom Lee
9caf6d63c6 THRIFT-3435 Separate package for fullcamel thrift
Client: Java Test
Patch: Tom Lee

This closes #708
2015-12-06 10:11:19 +09:00
Nobuaki Sukegawa
ba3fe86b0a THRIFT-3464 Fix several defects in c_glib code generator
Client: c_glib compiler
Patch: Nobuaki Sukegawa

This closes #724
2015-12-06 10:11:16 +09:00
Nobuaki Sukegawa
a6ab1f5e6d THRIFT-3452 .travis.yml: Migrating from legacy to container-based infrastructure
Client: Build
Patch: Nobuaki Sukegawa

Use "services: docker"

This closes #730
2015-12-05 11:28:27 +09:00
Nobuaki Sukegawa
f56b90772f THRIFT-3444 Large 64 bit Integer does not preserve value through Node.js JSONProtocol
Client: Node.js
Patch: Nobuaki Sukegawa

This closes #712
2015-12-02 02:03:59 +09:00
Nobuaki Sukegawa
6dab9bbeb5 Remove a line break that broke 'grep -v' in test/go/Makefile.am 2015-11-28 22:34:01 +09:00
Nobuaki Sukegawa
e841b3dac6 THRIFT-162 Thrift structures are unhashable, preventing them from being used as set elements
Client: Python
Patch: David Reiss, Nobuaki Sukegawa

This closes #714
2015-11-28 00:08:07 +01:00
Nobuaki Sukegawa
e8c71d8cc9 THRIFT-3442 Run CMake tests on Appveyor
Client: Test
Patch: Nobuaki Sukegawa

This closes #713
2015-11-23 22:45:25 +09:00
Nobuaki Sukegawa
cacce2f1d5 THRIFT-3440 Python make check takes too much time
Client: Test Python
Patch: Nobuaki Sukegawa

This closes #711
2015-11-23 21:24:24 +09:00
Nobuaki Sukegawa
2de2700c34 THRIFT-3439 Run make cross using Python3 when available
Client: Test
Patch: Nobuaki Sukegawa

This closes #710
2015-11-23 21:24:00 +09:00
Nobuaki Sukegawa
ca93936e78 THRIFT-3424 Add CMake android build option
Client: Build
Patch: Nobuaki Sukegawa

This closes #696
2015-11-23 16:59:10 +09:00
Jens Geyer
aad06deedd THRIFT-3436 cross test fails with "UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20: ordinal not in range(128)"
Client: Test Suite
Patch: Jens Geyer
2015-11-21 15:03:32 +01:00
Jens Geyer
2faac5afac THRIFT-3385 warning: format ‘%lu’ expects ‘long unsigned int’, but has type ‘std::basic_string<char>::size_type {aka unsigned int}
Client: C++
Patch: Jens Geyer, based on a proposal made by Henrique Mendonça
2015-11-17 23:36:24 +01:00
Nobuaki Sukegawa
6defea5f7b THRIFT-3200 JS and nodejs do not encode JSON protocol binary fields as base64
Client: Javascript
Patch: Nobuaki Sukegawa

This closes #698
2015-11-15 14:00:18 +09:00
Nobuaki Sukegawa
bc7e480d0f THRIFT-3350 Python JSON protocol does not encode binary as Base64
Client: Python
Patch: Nobuaki Sukegawa

This closes #697
2015-11-15 14:00:18 +09:00
Roger Meier
f892674d17 THRIFT-3421 rebar as dependency instead of bundling 2015-11-15 01:50:38 +01:00
BCG
cc193c1bec THRIFT-3417: "namespace xsd" is not really working
Client: XSD
Patch: Benjamin Gould

This closes #691
2015-11-14 14:28:09 +01:00
Nobuaki Sukegawa
8a4d06febe THRIFT-3409 NodeJS binary field issues
Client: Node.js
Patch: Nobuaki Sukegawa

This closes #681
2015-11-06 21:25:25 +09: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
760511f59b THRIFT-1857 Python 3 Support
Client: Python
Patch: Thomas Bartelmess, Eevee (Alex Munroe), helgridly, Christian Verkerk, Jeroen Vlek, Nobuaki Sukegawa

This closes #213 and closes #680
2015-11-06 21:24:16 +09:00
James E. King, III
49f4dc0cd8 THRIFT-3402: add unix socket support to perl
Client: Perl
Patch: James E. King, III

This closes #670
2015-11-06 21:21:01 +09:00
Nobuaki Sukegawa
d3f7d0e66c THRIFT-3274 calling "make clean" twice in a row yields make error
This closes #676
2015-11-03 21:11:40 +01:00
Dave Watson
792db4e926 THRIFT-2423 Facebook's THeader protocol and transport for cpp
Client: C++ Library, Compiler
Patch: Dave Watson rebased by Nobuaki Sukegawa

This closes #357 and closes #677
2015-11-04 01:25:22 +09:00
Nobuaki Sukegawa
b31f0900b5 THRIFT-338 Compact Protocol in Erlang
Client: Erlang
Patch: Nobuaki Sukegawa

This closes #338
2015-11-03 22:02:55 +09:00
Nobuaki Sukegawa
f58bca7adb THRIFT-2113 Erlang SSL Socket Support
Client: Erlang
Patch: Nobuaki Sukegawa

Enable SSL cross test
2015-11-01 18:30:46 +09:00
David Robakowski
a7d6a97033 THRIFT-2113 Erlang SSL Socket Support
Client: Erlang
Patch: David Robakowski
2015-11-01 18:30:46 +09:00
Nobuaki Sukegawa
7ab56e835c THRIFT-2708 add support for oneway (async) function calls in erlang client
Client: Erlang
Patch: Nobuaki Sukegawa

Add timeout to oneway call in cross test client.
2015-11-01 18:30:20 +09:00
alisdair sullivan
7bdba5c06a THRIFT-2708 add support for oneway (async) function calls in erlang client
Client: Erlang
Patch: Alisdair Sullivan modified by Nobuaki Sukegawa

Modification: Fix invalid send_call return type.

This closes #231
2015-11-01 18:07:15 +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
Nobuaki Sukegawa
27378fa34e THRIFT-3398 Add CMake build for Haskell library and tests
Client: Build, Haskell
Patch: Nobuaki Sukegawa

This closes #660
2015-10-29 00:41:52 +09:00
Mark Erickson
83072a6234 THRIFT-3366 ThriftTest to implement standard return values
Client: Test, Dart
Patch Mark Erickson

This closes #635
2015-10-25 16:00:13 +09:00
Jens Geyer
40c28d3310 THRIFT-3393 Introducing i8 to provide consistent set of Thrift integers
Client: Compiler (general)
Patch: Jens Geyer <jensg@apache.org>

This closes #656
2015-10-20 23:17:38 +02:00
Jens Geyer
fa0796d332 THRIFT-3391 Wrong bool formatting in test server Client: Go Patch: Jens Geyer 2015-10-16 21:35:34 +02:00
Nobuaki Sukegawa
228b328f7b THRIFT-3376 C# and Python JSON protocol double values lose precision
Client: C#, Python, C++, Ruby
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #643
2015-10-14 00:40:23 +02:00
Nobuaki Sukegawa
a175437f66 THRIFT-3276 Binary data does not decode correctly using the TJSONProtocol when the base64 encoded data is padded.
This closes #645
2015-10-11 00:55:58 +02:00
pavlo
dd08f6e43c THRIFT-3371: added test for abstract namespace domain sockets. 2015-10-11 00:47:27 +02:00
Nobuaki Sukegawa
30f465db92 THRIFT-3378 c_glib service does not handle negative Thrift byte values correctly
This closes #644
2015-10-11 00:40:37 +02:00
Nobuaki Sukegawa
64b8f6ca15 THRIFT-3375 Python TJSONProtocol encodes utf8 string values in an incompatible way
This closes #642
2015-10-11 00:23:31 +02:00
Nobuaki Sukegawa
8cd519f7a3 THRIFT-3374 Ruby TJSONProtocol fails to unescape string values
This closes #640
2015-10-11 00:18:02 +02: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
Jens Geyer
a8d5a7841d THRIFT-3299 Apache Thrift language bindings for Dart
Client: Dart
Patch: Jens Geyer

Adjusted dart package description files (pubspec.yaml)
2015-10-03 01:44:44 +02: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
123258ba60 THRIFT-3364 Fix ruby binary field encoding in TJSONProtocol
Client: Ruby
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #633
2015-10-02 00:38:17 +02:00
Jens Geyer
178b813acd THRIFT-3361 Improve C# library
Client: C#
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #630
2015-09-30 23:16:45 +02:00
Roger Meier
a03464c526 THRIFT-3322 CMake generated "make check" failes on python_test
Patch: Claudius Heine
2015-09-30 08:15:53 +02:00
Nobuaki Sukegawa
01ede042aa THRIFT-3360 Improve cross test servers and clients further
This closes #629
2015-09-28 20:38:37 +02:00
jfarrell
a1ae93f4be THRIFT-3290: Using from in variable names causes the generated Python code to have errors
Client: py
Patch: Prathik Rajendran

Adds 'from' to the reserved words list for py

This closes #579
2015-09-24 22:58:45 -04:00
Jens Geyer
d629ea0bb2 THRIFT-3347 Improve cross test servers and clients
Client: TestSuite, C++, Perl, NodeJS, c_glib, Haskell, Python
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #621
2015-09-23 21:20:38 +02:00
Nobuaki Sukegawa
6823829710 THRIFT-3342 Improve ruby cross test client and server compatibility
This closes #615
2015-09-22 07:48:25 +02:00
Jens Geyer
fa2daef14b THRIFT-3341 Add testBool methods
Client: Haxe
Patch: Jens Geyer

This closes #614
2015-09-22 00:29:32 +02:00
Roger Meier
840f3ef649 THRIFT-3340 Python: enable json tests again
This closed #613
2015-09-21 23:36:27 +02:00
Nobuaki Sukegawa
a649e7473b THRIFT-3337 Add testBool method to cross tests
This closes #611
2015-09-21 23:07:39 +02:00
Roger Meier
6857b7fe90 THRIFT-2918 Race condition in Python TProcessPoolServer test 2015-09-17 09:46:24 +02:00
Jens Geyer
5bc8b5a3a5 THRIFT-3302 Go JSON protocol should encode Thrift byte type as signed integer string
Client: Go
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #591
2015-09-05 12:50:24 +02:00
jfarrell
f13e431bab THRIFT-3305: Missing dist files for 0.9.3 release candidate
Client: build
Patch: jfarrell

Adds missing files to dist
2015-08-25 00:39:29 -04:00
Nobuaki Sukegawa
2fab3deb09 THRIFT-3296 - Go cross test does not conform to spec 2015-08-17 21:54:23 +10:00
Henrique Mendonça
738143cf36 THRIFT-3293 JavaScript: null values turn into empty structs in constructor
Patch: Håkon Hitland
2015-08-16 19:17:33 +10:00
Jens Geyer
c6b991fe00 THRIFT-3292 Integrate new Zlib transport for Go into test suite
Client: Go
Patch: Paul Magrath <paul@swiftkey.com>

This closes #580
2015-08-08 00:24:09 +02:00
Jim King
f5f1b35a7d THRIFT-3053: Added perl SSL Socket support, split SSLSocket and SSLServerSocket out from their base classes, fixed THRIFT-3191 generated perl compiler exception handling code, added perl to make cross, fixed THRIFT-3189 allowing perl to listen on a specific interface through construction arguments. Did not add support in the perl client SSLSocket to verify server certificate authenticity at this time. 2015-07-30 14:19:49 +02:00
Jens Geyer
8c5fce9afa THRIFT-2917 "make clean" breaks test/c_glib
Client: c_glib
Patch: Simon South
2015-07-28 22:59:16 +02:00
Jens Geyer
f7d327ae96 THRIFT-2918 Race condition in Python TProcessPoolServer test
Client: Python
Patch: Jens Geyer
2015-07-25 15:44:20 +02:00
ben-craig
02bade1583 THRIFT-3247 Generate a C++ thread-safe client
Client: cpp
Patch: Ben Craig <bencraig@apache.org>
2015-07-17 08:40:48 -05:00
ben-craig
fae08e774c THRIFT-3246 Reduce the number of trivial warnings in Windows C++ CMake builds
Client: cpp
Patch: Ben Craig <bencraig@apache.org>

This closes #553
2015-07-15 11:34:47 -05:00
Jens Geyer
90c60e340c THRIFT-3239 Limit recursion depth
Client: Haxe
Patch: Jens Geyer

This closes #547
2015-07-11 01:19:53 +02:00
Ben Craig
012dd4e3fc Renamed, relocated, and reformated the audit tool's readme file 2015-07-09 20:55:53 -05:00
Ben Craig
262cfb4189 THRIFT-3221 Create a tool to audit network compatibility between two
.thrift files
Client: Compiler (general)
Patch: Sanjay Poojary <sanjay.poojary@ni.com>, Ben Craig
<bencraig@apache.org>, and Zach Hindes <zach.hindes@ni.com>

This closes #541
2015-07-08 20:37:15 -05:00
Ben Craig
384f976a3b THRIFT-3217 Provide a little endian variant of the binary protocol in C++
Client: C++
Patch: Ben Craig <bencraig@apache.org>

This closes #537
2015-07-08 20:33:03 -05:00
Ben Craig
7207c22f9d THRIFT-2850 CMake for Apache Thrift
Client: Cpp
Patch: Ben Craig

This closes #534
2015-07-06 08:40:35 -05:00
Jim King
5903d67459 THRIFT-3211: add php client compact protocol to make cross test
This closes #532
2015-07-03 20:48:50 +02:00
Henrique Mendonça
15d904240e THRIFT-3122 Javascript struct constructor should properly initialize struct and container members from plain js arguments
Patch:  Igor Tkach

This closes #519
2015-06-25 22:31:41 +10: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
Jens Geyer
8b4700265c THRIFT-3194 Can't build with go enabled. gomock SCC path incorrect.
Client: Go
Patch: Larry Matter <larry.matter@gmail.com>

This closes #524
2015-06-19 21:22:57 +02:00
Jens Geyer
56a03be3f9 THRIFT-3192 Go import paths changed in 1.4, and expired June 1
Client: Go
Patch: Adam Beberg <beberg@sentient.ai>

This closes #523
2015-06-17 22:21:27 +02:00
Roger Meier
74d503e0eb THRIFT-2850 CMake for Apache Thrift
Change project name to "Apache Thrift" and add test/py

fix: add missing test/py/CMakeLists.txt and update package name
2015-06-05 07:10:19 +02:00
Henrique Mendonça
c0e4a8dc07 Revert "THRIFT-3122 Javascript struct constructor should properly initialize struct and container members from plain js arguments"
This reverts commit 1568aef7d4.
2015-06-01 23:23:22 +10:00
Jens Geyer
bbd6fd7773 THRIFT-3076 Compatibility with Haxe 3.2.0
Client: Haxe
Patch: Jens Geyer

This closes #510
2015-05-31 00:39:41 +02:00
Henrique Mendonça
1568aef7d4 THRIFT-3122 Javascript struct constructor should properly initialize struct and container members from plain js arguments
Client: Node and JS
Patch: Igor Tkach

    This closes #476
2015-05-27 22:15:46 +10:00
Konrad Grochowski
1f6e380c5d make style applied 2015-05-18 19:47:28 +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
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
Jens Geyer
5ec2121cf2 THRIFT-233 IDL doesn't support negative hex literals
Client: Compiler general
Patch: mreve <aadymek@gmail.com>

This closes #461

Update hexconstant regex in thriftl.ll
As it is now, the parser doesn't allow hex constant values to be negative (it throws a 'bad syntax' error).The change updates the regex and the part that parses the hex value from the string read from the IDL file to support negative values.

Add test to ConstantsDemo.thrift
Before the change, "make install" would break with negative hex constant in ConstantsDemo.thrift. Now it compiles.
2015-04-26 17:47:43 +02:00
Nobuaki Sukegawa
783660a335 THRIFT-3109 Cross test log file cannot be browsed when served in HTTP server 2015-04-26 16:08:20 +02:00
Marco Molteni
83494259d1 THRIFT-3099 cmake build is broken on FreeBSD 2015-04-16 22:23:27 +02:00
Roger Meier
2659381e7f THRIFT-2850 CMake for Apache Thrift
add test/cpp and lib/py
2015-04-12 16:10:35 +02:00
Roger Meier
5af3b8abf7 make cross: update test/known_failures_Linux.json 2015-04-12 11:41:55 +02:00
Nobuaki Sukegawa
147a5a278a THRIFT-2946 Enhance usability of cross test framework
*make fail* runs test.py 4 times to detect nondeterministic failures.
2015-04-12 09:58:22 +02:00
Roger Meier
bb23eadca1 THRIFT-2946 Enhance usability of cross test framework
introduce *make fail* to update known failures
2015-04-11 13:15:13 +02:00
Nobuaki Sukegawa
f5b795d3be THRIFT-2578 Moving 'make cross' from test.sh to test.py 2015-03-29 14:39:32 +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
426ab86801 THRIFT-3022 Compact protocol for Haxe
Client: Haxe
Patch: Jens Geyer

This closes #388
2015-03-05 23:43:23 +01:00
Roger Meier
6f7399b355 cpp: remove unused variable g_socket_syscalls 2015-03-04 14:32:59 +01:00
Randy Abernethy
3b9ff4de6e THRIFT-2969
Client: nodejs
Patch: Andrew de Andrade

General node test cleanup and consolidation.
2015-02-16 00:51:24 -08:00
henrique
2f34da7024 THRIFT-2951 Fix Erlang name conflict test
Patch: Nobuaki Sukegawa

    This closes #360

----
commit 06cc3e990ade560461a276991ce9cb544706dae3
Author: Nobuaki Sukegawa <nsukeg@gmail.com>
Date:   2015-01-27T18:11:40Z

    THRIFT-2951 Fix Erlang name conflict test

----
2015-02-05 12:39:34 +11:00
Nobuaki Sukegawa
a0c5ab711e THRIFT-2971 - C++ test and tutorial parallel build is unstable 2015-02-02 22:06:39 +01:00
Jens Geyer
ce36aac591 THRIFT-2942 CSharp generate invalid code for property named read or write
Client: C#
Patch: Jens Geyer
2015-01-20 23:31:19 +01:00
Jens Geyer
8bcfdd98ae THRIFT-2886 Integrate binary type in standard Thrift cross test
Client: C_glib, C++, D, Erlang, Go, Haskell, Lua, Java/Me, JavaScript, Node, Ocaml, Perl, PHP, Python, Ruby
Patch: Jens Geyer

This closes #341

Minimal server-side implementations and TODO stubs for various languages to let "make check" succeeed.
Not contained in this patch and still TODO:
- client side implementations, i.e. calls to testBinary() and appropriate tests
- server side hex printout missing for some languages
2015-01-03 17:37:54 +01:00
Jens Geyer
43e195afcd THRIFT-2886 Integrate binary type in standard Thrift cross test
Client: Haxe
Patch: Jens Geyer
2015-01-03 17:37:22 +01:00
Jens Geyer
a2d5dfd9f6 THRIFT-2886 Integrate binary type in standard Thrift cross test
Client: Tests
Patch: Jens Geyer
2015-01-03 17:37:10 +01:00
Jens Geyer
3a3ba00b97 THRIFT-2920 Erlang Thrift test uses wrong IDL file
Client: Erlang
Patch: Jens Geyer
2014-12-30 00:10:06 +01:00
Jens Geyer
326cf0d0fb THRIFT-2920 Erlang Thrift test uses wrong IDL file
Client: Erlang
Patch: Jens Geyer
2014-12-29 23:56:12 +01:00
Jens Geyer
8c8e9c6a55 THRIFT-2919 Haxe test server timeout too large
Client: Haxe
Patch: Jens Geyer

This closes #340

- reduced timeout and made sure the test script waits appropriately
- added test to make sure Haxe >= 3.1.3 is used
2014-12-29 19:52:47 +01:00
Roger Meier
051ea1cf2f test/cpp/Makefile.am: add ZLIB_LIBS to LDFLAGS 2014-12-20 22:43:24 +01:00
Jens Geyer
20b51b667b Fixed a typo in test/README.md
Patch: Kirill Sevastyanenko <kirillseva@gmail.com>

This closes #329
2014-12-18 22:15:49 +01:00
Jens Geyer
6aeb82ef5d THRIFT-2862 Enable RTTI and/or build macros for generated code
Client: Haxe
Patch: Jens Geyer

This closes #293
2014-11-29 23:47:11 +01:00
Jens Geyer
d35f616c73 THRIFT-2861 add buffered transport
Client: Haxe
Patch: Jens Geyer

This closes #292
2014-11-29 19:23:19 +01:00
Konrad Grochowski
3b5dacba44 THRIFT-2849: spelling errors fixed using codespell tool
Client: All
Patch: Anatol Pomozov

This closes #281
2014-11-24 10:55:31 +01: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
65e9bde0ed THRIFT-2813 multiple haxe library fixes/improvements
Client: Haxe
Patch: Jens Geyer

This closes #260
2014-11-11 01:35:21 +01:00
Jens Geyer
b502832c79 THRIFT-2806 more whitespace fixups
Client: Haxe
Patch: Jens Geyer

This closes #254
2014-11-09 02:50:33 +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
a5bf1a1ff0 cpp: fix automake dependencies and make ProcessorTest.cpp compilable again 2014-10-22 23:26:01 +02: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
cb0754db1e THRIFT-2784 Eliminate compiler warnings in generated C++ code
remove unused MyEnum5 and add -pedantic to lib/cpp/test/Makefile.am
2014-10-21 21:28:04 +02:00
Roger Meier
ec300e33d4 THRIFT-1462 add more strict compiler flags
Patch: Roger Meier
2014-10-13 02:13:35 +02:00
jfarrell
5d4953fc4c THRIFT-2764: Haskell does not build/test when using the Trusty Vagrantfile
Client: build
Patch: jfarrell

Fix hs to compile and run all tests
2014-10-08 23:21:19 -04:00
Konrad Grochowski
d5f3be5ebd THRIFT-2757: py - checkIntegerLimits optimized
Client: Python
2014-10-08 15:40:00 +02:00
Jens Geyer
dd971d5377 THRIFT-2689 struct names that differ only in capitalization of first character generate broken erlang code
Client: haskell
Patch: Alisdair Sullivan

This closes #239

Removed struct from NameConflictTest.thrift that causes problems for certain backends
2014-10-07 21:17:10 +02:00
Jens Geyer
79f988c27a THRIFT-2768: Whitespace Fixup
Client: General (Makefile.am)
Patch: Jens Geyer

Reverted makefile.am - tabs are not optional there
2014-10-03 20:42:54 +02:00
Jens Geyer
aaa8947f3a THRIFT-2768: Whitespace Fixup
Client: General (Makefile.am, *.thrift)
Patch: Jens Geyer

DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
2014-10-03 20:30:38 +02:00
Jens Geyer
6d15c3090f THRIFT-2628 struct member name conflicts due to lowercased names
Client: Erlang
Patch: Alisdair Sullivan

This closes #228
2014-10-02 10:06:07 +02:00
Jens Geyer
cc4ac4955c THRIFT-2689 struct names that differ only in capitalization of first character generate broken erlang code
Client: Erlang
Patch: Alisdair Sullivan

This closes #204
2014-10-01 21:13:39 +02:00
Konrad Grochowski
1ff4a97a45 THRIFT-2716 - removed warnings from some Makefile.ams 2014-09-29 22:05:49 +02:00
Roger Meier
15df0767d3 THRIFT-2685 c_glib: Include in integration test suite
Patch: Simon South
2014-09-29 20:50:56 +02:00
Jens Geyer
f8a1b7a29a THRIFT-2718 Align cmdline help and return codes for Thrift test server/client
Client: Delphi
Patch: Jens Geyer
2014-09-24 00:26:46 +02:00
Jens Geyer
86b309cde0 THRIFT-2513 clean up enum value assignment
Client: Compiler (General)
Patch: Jens Geyer
2014-09-12 00:23:51 +02:00
Jens Geyer
089bcd3f8c THRIFT-1040 Can't end typedef lines with a semicolon
Client: Compiler (General)
Patch: Konrad Grochowski
2014-09-11 22:36:41 +02:00
Jens Geyer
ae0b22cc29 THRIFT-2513 clean up enum value assignment
Patch: Dave Watson

This closes #88

Summary:
Clean up how enum values are handled if an integer value is not
explicitly specified in the thrift file.

For example, the following used to be a compile error, but
works now:

  enum MyEnum {
	SOMEVALUE
  }
  struct MyStruct {
	1: MyEnum e = SOMEVALUE
  }

This change also cleans up some of the error handling with out-of-range
values.  Previously thrift simply issued a warning for enum values that
didn't fit in an i32, but serialized them as i32 anyway.  Now
out-of-range enum values result in a compile failure.

Test Plan:
Included a new unit test to verify the assignment of enum values.  I
also verified that g++ makes the same enum value assignments when
compiling these enums as C++ code.
2014-09-04 23:40:14 +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
cdwijayarathna
7191bc99fe THRIFT-847 Test Framework harmonization across all languages
THRIFT-847 Test Framework harmonization across all languages
2014-08-17 21:48:21 +02:00
cdwijayarathna
9ea3d2e75d THRIFT-2652 THRIFT_TEST_PORT variable via to run tests in parallel 2014-08-16 22:15:01 +02:00
cdwijayarathna
d92179129a THRIFT-847 Test Framework harmonization across all languages
Signed-off-by: Roger Meier <roger@apache.org>
2014-08-15 23:34:45 +02:00
Roger Meier
dace6937a7 THRIFT-847 Test Framework harmonization across all languages
update tests.json

Patch: cdwijayarathna
2014-08-15 23:01:09 +02:00
cdwijayarathna
d1041656e8 THRIFT-2578 Moving 'make cross' from test.sh to test.py 2014-08-15 22:41:06 +02:00
cdwijayarathna
a07ec0bdf2 THRIFT-2655 CPP tests should not use relative path when accessing ssh related files 2014-08-10 21:59:37 +02:00
cdwijayarathna
0d4072b0cf THRIFT-2578 Moving 'make cross' from test.sh to test.py 2014-08-10 21:45:30 +02:00
James Broadhead
79c3f4a731 THRIFT-2657 Fix spurious test failures in py:twisted
- py.twisted/test_suite.py:ThriftTestCase.testOneway relies on
  testOneWay executing in less than 0.04 seconds (since it sleeps for 2
  seconds, then asserts that 2s - <time> ~= 0). On slow, or loaded
  machines this may fail. Switch this to sleep for 1 second, then have a
  tolerance of 0.4s for the deferred resolution.

- Removes a dud return d from testOneWay.

- Remove '*' import & dud 'import random'. This file now passes
  pyflakes.

- Strip trailing whitespace

This closes #181

Jira: THRIFT-2657

Signed-off-by: Roger Meier <roger@apache.org>
2014-08-10 21:26:17 +02:00
Roger Meier
862218ec13 THRIFT-2641 Improvements to Haskell Compiler/Libraries
some fixes
2014-08-10 21:13:58 +02:00
Noam Zilberstein
af5d64adb7 THRIFT-2641 Improvements to Haskell Compiler/Libraries
- test/test.sh integration
- add json and compact protocol

This closes #175

Signed-off-by: Roger Meier <roger@apache.org>
2014-08-10 21:11:43 +02:00
Roger Meier
bea273484d THRIFT-847 Test Framework harmonization across all languages
add info: $FAILED failed of $TESTCOUNT tests in total
2014-08-08 00:32:58 +02:00
alisdair sullivan
ca44a622df THRIFT-2651: struct names that are restricted erlang terms generate invalid type signatures
patch: alisdairsullivan@yahoo.ca
client: erlang

fixes error exposed in THRIFT-2647 by avoiding using restricted identifiers in erlang type signatures generated by the compiler
2014-08-07 17:40:22 +02:00
Roger Meier
d52edba00f THRIFT-2231 Support tornado-4.x (Python)
Client: Python
Patch: Roey Berman
Signed-off-by: Roger Meier <roger@apache.org>
2014-08-07 17:04:23 +02:00
Roger Meier
f5136abeba Revert "THRIFT-2578 Moving 'make cross' from test.sh to test.py"
This reverts commit c53bbd2c4b.

oops, I accidently committed this, sorry!
2014-08-07 14:54:30 +02:00
cdwijayarathna
c53bbd2c4b THRIFT-2578 Moving 'make cross' from test.sh to test.py 2014-08-07 03:20:21 +02:00
Roger Meier
16c164ed30 THRIFT-2647 compiler-hs: don't decapitalize field names, do decapitalize argument bindings
Client: Haskell
Patch: John Chee
2014-08-07 03:09:23 +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
f341c590dc THRIFT-2152 Generated Haskell files does not compile
fully qualified module names at usage site for structs

Patch: John Chee & Roger Meier
2014-08-02 18:05:23 +02:00
Roger Meier
e8bafb6d92 THRIFT-2578 Moving 'make cross' from test.sh to test.py
Patch: cdwijayarathna
2014-08-01 23:39:32 +02:00
cdwijayarathna
75eb2a31a1 THRIFT-2578 Moving 'make cross' from test.sh to test.py 2014-07-30 01:14:08 +02:00
Jens Geyer
557d6ea410 make clean should rm src/gen instead of emptying 2014-07-27 14:48:28 +02:00
cdwijayarathna
11066bd56d THRIFT-2578 Moving 'make cross' from test.sh to test.py
This closes #166

----

commit 0fdd2148af1ea4e3be79ec05a76ea31af0f2b082
Author: cdwijayarathna <cdwijayarathna@gmail.com>
Date:   2014-07-26T17:32:13Z

    THRIFT-2578 Moving 'make cross' from test.sh to test.py

----

Signed-off-by: Roger Meier <roger@apache.org>
2014-07-26 22:30:37 +02:00
Roger Meier
2591be2790 test/go: use mkdir -p 2014-07-26 09:40:07 +02:00
Roger Meier
84d1188842 THRIFT-2637 "java:fullcamel_service_methods" option to automatically camel-case Java service methods
Patch: Tom Lee
2014-07-25 23:26:11 +02:00
jfarrell
8fd8c6366d THRIFT-2602:Fix missing dist files
Client: build process
Patch: jfarrell

Add all missing files to the dist package.
2014-07-10 09:14:51 -04:00
jfarrell
dbf2bb5c46 Thrift-2601:Fix vagrant to work again for builds again
Client: build process
Patch: jfarrell

Reverting TMultiplexedProtocol tests in test/py from commit 879cab2c are non functional,
reverts the portion of the commit that changed test/py/{TestServer.py,TestClient.py}

Follow up to address this issue: THRIFT-2613
2014-07-09 23:37:12 -04:00
cdwijayarathna
3f67978103 THRIFT-2578 Moving 'make cross' from test.sh to test.py
Signed-off-by: Roger Meier <roger@apache.org>
2014-07-09 13:06:26 +02:00
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
32f3982275 THRIFT-2578 Moving 'make cross' from test.sh to test.py
Patch: Chamila Dilshan Wijayarathna
2014-06-18 22:43:17 +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
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
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
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
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
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
Roger Meier
5c6ad2427c THRIFT-847 Test Framework harmonization across all languages
Patch: Chamila Dilshan Wijayarathna
2014-05-27 21:18:00 +02:00
Roger Meier
d9b331d266 make cross: add nodejs-nodejs test and nodejs compact protocol 2014-05-25 22:59:17 +02:00
Roger Meier
c62798bb6e THRIFT-2534 Cross language test results should recorded to a status.md or status.html file automatically
fix: swap client server

Patch: Chamila Dilshan Wijayarathna
2014-05-23 12:54:08 +02:00
henrique
ad4df16579 THRIFT-2534 Cross language test results should recorded to a status.md or status.html file automatically
also removes go and lua from travis CI builds
2014-05-20 13:18:45 +02:00
Jens Geyer
a47cf906ab Fixed broken build: "thrift -out <dir>" expects that <dir> already exists 2014-05-17 01:54:09 +02:00
Jens Geyer
6ff1dfb3af Fixed broken build (superfluous EXTRA_DIST section) 2014-05-17 01:20:32 +02:00
Jens Geyer
91cfb9901e THRIFT-2500 sending random data crashes thrift(golang) service
Client: Go
Patch: Aleksey Pesternikov

This closes #117

commit 1bb25c4a48845e112847ca8293402f0294d8f597
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-05-02T21:40:59Z

recover from panic in processor

commit 8d1427a2c3c183d499442dc1f0437292e6641ac3
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-05-02T21:41:52Z

some sanity checks in binary protocol

commit 666cc87a51f86ca5940225c36716bbad467c6e73
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-05-02T21:53:59Z

some sanity checks in compact protocol
2014-05-17 01:07:28 +02:00
Roger Meier
cc0fe274c0 THRIFT-2534 Cross language test results should recorded to a status.md or status.html file automatically
Patch: Chamila Dilshan Wijayarathna & Roger Meier
2014-05-16 23:18:25 +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
879cab2cea THRIFT-1914 Python: Support for Multiplexing Services on any
Transport, Protocol and Server

Patch: smallfish & djwatson
 & haijunz & Roger Meier

This closes #103 and #82

From 7aaea7ef4e6f44097b02543fa2e62597eae9d61e Mon Sep 17 00:00:00 2001
From: smallfish <smallfish.xy@gmail.com>
Date: Tue, 22 Apr 2014 11:26:52 +0800
Subject: [PATCH]  THRIFT-1914 Python: Support for Multiplexing Services on any
 Transport
2014-05-03 17:51:21 +02:00
Roger Meier
72e9c37517 test/README.md: fix link 2014-05-03 00:33:46 +02:00
Jens Geyer
89847dfaa0 THRIFT-2499 Compiler: allow annotations without "= value"
Client: compiler general
Patch: Dave Watson

This closes #87

commit 078ce57e816eeb3697acf6f2c50e09526da73d3b
 Author: Dave Watson <davejwatson@fb.com>
 Date: 2014-03-21T19:42:31Z

[thrift] Compiler: allow annotations without "= value"

Summary: (foo) is the same as (foo = 1), for brevity

Test: AnnotationTest.thrift still compiles
2014-05-02 23:50:04 +02:00
Jens Geyer
e52c046cb6 THRIFT-2491 unable to import generated ThriftTest service
Client: Go
Patch: Aleksey Pesternikov

This closes #105

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
2014-05-02 23:37:39 +02:00
Jens Geyer
885c679123 THRIFT-2471 Make cpp.ref annotation language agnostic
Client: compiler general
Patch: Dave Watson

This closes #113

commit 52b99af4ee1574253dcb77933d76a7ebb2d830df
 Author: Dave Watson <davejwatson@fb.com>
 Date: 2014-04-23T20:05:56Z

change cpp.ref to &

commit 3f9d31cc6140367529fd8f7b1b67056ec321786f
 Author: Dave Watson <davejwatson@fb.com>
 Date: 2014-04-23T21:50:29Z

Recursion depth limit

commit 61468e4534ce9e6a4f4f643bfd00542d13600d83
 Author: Dave Watson <davejwatson@fb.com>
 Date: 2014-04-25T19:59:18Z

shared_ptr for reference type
2014-05-02 21:31:55 +02:00
Roger Meier
0a7c69cfe6 THRIFT-2492 use tcxx instead of tr1 in test/cpp
Github Pull Request: This closes #106
----
From a6ed88196fbf4622a3b0261bbac0fe6b258bdd36 Mon Sep 17 00:00:00 2001
From: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
Date: Tue, 22 Apr 2014 07:19:13 -0700
Subject: [PATCH 1/2] use tcxx instead of tr1 in test/cpp
2014-05-02 21:15:45 +02:00
Roger Meier
4edac7ff08 THRIFT-847 Test Framework harmonization across all languages
- no verbose output, use log/error.log instead
- improve test/README.md

Patch: Roger Meier
2014-05-02 21:07:01 +02:00
henrique
d5aba4c13b more consistent timing on test.sh 2014-04-30 18:11:11 +02:00
henrique
d17f1c98e6 THRIFT-847 Test Framework harmonization across all languages
cross test speed up from 30min to 6
2014-04-30 16:36:31 +02:00
Jens Geyer
c1d7943a7e THRIFT-2347 C# TLS Transport based on THRIFT-181
Client: C#
Patch: Beat Käslin

This closes #104

commit 21c33abd59a2333c48722933c6894d8ed145e638
 Author: Beat Kaeslin <beat.kaeslin@siemens.com>
 Date: 2014-04-16T14:07:58Z

Add TLS transport for C#

commit 60a0baa1797b0ef0ea6f8c21e5b81a78cdfcdf16
 Author: Beat Kaeslin <beat.kaeslin@siemens.com>
 Date: 2014-04-17T06:23:57Z

csharp tests moved to the end
2014-04-22 22:52:43 +02:00
Roger Meier
9b32853112 THRIFT-2463 test/py/RunClientServer.py fails sometimes
Client: Python
Patch: Benoit Sigoure
2014-04-21 21:22:54 +02:00
Roger Meier
188024e4b2 THRIFT-847 Test Framework harmonization across all languages
Patch: Roger Meier
make cross: cpp-java fix parameters
2014-04-17 21:53:45 +02:00
jfarrell
e0e8316838 THRIFT-2421: Tree/Recursive struct support in thrift
Client: cpp
Patch:  Dave Watson

Github Pull Request: This closes #84
----
commit b6134cedf292845e5ed01052919894df6b561bf2
Date:   2014-03-20T18:12:04Z

    Recursive structs support in parser

    A common complaint is that you can't express trees or other recursive structures in thrift easily - unlike protobufs. This diff loosens up the parser to allow using structs before they are defined (and uses typedef as a forward declaration).
    This diff is actually enough to make recursive types work for some dyamic languages (I tried php, works out of the box!)

    Other languages will need forward declarations, or ways to box types, to make this work (i.e. C++ needs both forward decls and a way to express structs as pointers)
2014-04-08 22:45:01 -04:00
Roger Meier
5829a2c64a THRIFT-847: Test Framework harmonization across all languages
add ip-ssl for cpp
2014-04-08 00:28:17 +02:00
Roger Meier
a6415bc985 THRIFT-2325: SSL test certificates
CN for servername was ssltest instead of localhost
+ little update of README.md

Patch: Roger Meier
2014-04-07 23:45:19 +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
ra
161ffe708f THRIFT-2448: test.sh has incorrect node path
Client: test suite
Patch: Randy Abernethy

repairs node path in test.sh
2014-04-04 07:14:17 -07:00
henrique
d7902bf19d THRIFT-2368 New option: reuse-objects for Java generator
Patch: adam-aph
2014-03-31 16:21:37 +02:00
Roger Meier
284101c7a0 THRIFT-2029 Port C++ tests to Windows
THRIFT-847 Test Framework harmonization across all languages

fix compact protocol test within TestServer.cpp and TestClient.cpp
remove stuff that breaks the cross language test suite
- TestServer.cpp: cin read
- test.sh: mkfifo

Reported-by: Chamila Wijayarathna
2014-03-11 21:20:35 +01:00
Roger Meier
7a66f75da8 test/test.sh: fix typo 2014-03-10 12:35:41 +01:00
Roger Meier
f85fdd7a3a THRIFT-847 Test Framework harmonization across all languages
README.md added
Patch: Roger Meier
2014-03-01 17:00:46 +01:00
Roger Meier
c94b293dc7 THRIFT-2325 SSL-test-certificates_cpp_tests
Patch: Roger Meier
2014-02-22 20:07:33 +01:00
Roger Meier
48555c5d1f THRIFT-2325 SSL-test-certificates.patch
Java test suite use keys and certs from test/keys/

Patch: Roger Meier
2014-02-22 20:05:21 +01:00
Roger Meier
57b354b8f7 THRIFT-2369 Add ssl support for nodejs implementation
Patch: Pierre Lamot
2014-02-22 01:01:58 +01:00
Roger Meier
58bbb709a4 THRIFT-2325 SSL test certificates
Fix: use common test cert within Python unit tests
Patch: Roger Meier
2014-02-19 19:59:25 +01:00
Roger Meier
161cf42b09 THRIFT-2325 SSL test certificates
Patch: Roger Meier
2014-02-19 16:45:56 +01:00
Roger Meier
023192f7e1 THRIFT-2358 C++: add compact protocol to cross language test suite
Patch: Roger Meier
2014-02-12 09:35:12 +01:00
Roger Meier
22888ce3a8 THRIFT-2352 msvc failed to compile thrift tests
Patch: Sergei Nikulov & Roger Meier
2014-02-09 11:31:02 +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
Roger Meier
9aa08a9f68 THRIFT-1810 add ruby to test/test.sh
initial version without cross language checks

Signed-off-by: Roger Meier <roger@apache.org>
2014-01-20 18:41:48 +01:00
Roger Meier
c95d5dfb76 THRIFT-1810 add ruby to test/test.sh
initial version without cross language checks

Signed-off-by: Roger Meier <roger@apache.org>
2014-01-19 21:53:02 +01:00
Roger Meier
0e8148024b THRIFT-2229 cpp:thrift failed to build on OSX 10.9 GM
fix test/cpp
Patch: Roger Meier
2014-01-17 21:07:58 +01:00
Roger Meier
dffc9fe8dd THRIFT-2196 Fix invalid dependency in Makefile.am
Patch: Hiroaki Kawai
2014-01-15 21:10:59 +01:00
henrique
216374ec4a THRIFT-2313 nodejs server crash after processing the first request when using MultiplexedProcessor/FramedBuffer/BinaryProtocol
patch: Pierre Lamot
2014-01-14 15:17:04 +01:00
Jens Geyer
b9d55220ce THRIFT-2205 Node.js Test Server to support test.js JavaScript Browser test and sundry fixes
Patch: Randy Abernethy, Pierre Lamot
2014-01-10 21:26:25 +01:00
Ben Craig
f41d79d144 THRIFT-2029: Port C++ tests to Windows
Client: cpp

fixes test script to handle new termination approach for test servers.
2014-01-08 15:15:48 -06:00
Jake Farrell
5d02b80e9c Thrift-2029:Port C++ tests to Windows
Client: cpp
Patch: Ben Craig

Updates cpp tests to work with windows and c++11
2014-01-07 21:42:01 -05:00
Jens Geyer
97cc95b24c THRIFT-1755 Comment parsing bug - the missing test case from Brian's patch
Patch: Brian Brooks
2013-09-18 23:53:14 +02:00
henrique
aff2f78b27 THRIFT-2167 nodejs lib throws error if options argument isn't passed
Client: nodejs
Patch: Randy Abernethy and Red Daly

also add examples to test makefile
2013-09-09 12:38:25 +02:00
henrique
2fdd916b8b THRIFT-2053 NodeJS: Support for Multiplexing Services
Client: nodejs
Patch: Remo Hertig
2013-08-28 14:03:34 +02:00
jfarrell
b5948eb378 Thrift-2137:Ruby test lib fails jenkins build #864
Client: ruby test
Patch: jfarrell

Updates test suite to include needed dependencies and run via bundler.
2013-08-18 16:36:06 -04:00
jfarrell
102c600bbb Thrift-2124: .o, .so, .la, .deps, .libs, gen-* files left tutorials, test and lib/cpp when making DIST
Client: build
Patch: jfarrell

Fixing all the missing files and dist build issues that have been ignored.
2013-08-15 21:20:19 -04:00
Jens Geyer
11430df7ae THRIFT-2102 constants are not referencing to correct type when included from another thrift file
Patch: Remo Hertig
2013-07-26 00:23:00 +02:00
Henrique Mendonça
6afe0535e1 THRIFT-1659 Bring nodejs default transport in line with Java default transport 2013-06-09 22:54:51 +02:00
Henrique Mendonça
27db434fd9 THRIFT-1659 Bring nodejs default transport in line with Java default transport 2013-06-09 22:20:25 +02:00
Carl Yeksigian
de07408e43 THRIFT-1995: IDL can generate uncompilable ocde
Patch: Carl Yeksigian
2013-06-09 05:28:47 -07:00
Carl Yeksigian
0928eda771 THRIFT-2002: Update Maybe to use Data.Maybe to prevent failure of the debug test
Client: haskell
Patch: Carl Yeksigian
2013-06-06 20:53:32 -04:00
Henrique Mendonça
8d22c10a47 THRIFT-1973 TCompactProtocol in C# lib does not serialize and deserialize negative int32 and int64 number correctly
Patch: Eric Ding
2013-06-01 16:53:32 +02:00
Henrique Mendonça
da7982edea THRIFT-1973 TCompactProtocol in C# lib does not serialize and deserialize negative int32 and int64 number correctly
Patch: Eric Ding
2013-05-31 18:20:42 +02:00
Henrique Mendonça
8ad13a38e8 THRIFT-1907 Compiling namespace and sub-namespace directives for unrecognized generators should only be a warning
Patch: Andrew Cox
2013-05-16 21:26:20 +02:00
Henrique Mendonça
f837f30181 Revert "THRIFT-1907 Compiling namespace and sub-namespace directives for unrecognized generators should only be a warning"
This reverts commit d28d4d5784.
2013-05-16 21:25:18 +02:00
Henrique
d28d4d5784 THRIFT-1907 Compiling namespace and sub-namespace directives for unrecognized generators should only be a warning
Patch: Andrew Cox
2013-05-16 21:22:46 +02:00
Henrique
08c34eae97 THRIFT-1967 Node.js tests don't cover all services
Patch: Henrique Mendonça

align with the tests we have for the original JS and C++ libraries
it also corrects two small bugs on the test server
and add nodejs to travis and make check
2013-05-11 20:41:22 +02:00
Henrique
4a35d4c4d3 extend tests to check THRIFT-1679 and THRIFT-1821 2013-05-11 12:08:35 +02:00
Henrique
4e1ef5bece ignoring test if node is not present 2013-05-11 01:24:59 +02:00
Henrique
99be0275e1 THRIFT-1957 NodeJS TFramedTransport and TBufferedTransport read bytes as unsigned
Patch: Matthew Imrie

Add method to binary.js to properly read a byte type as
signed Changed transport.js readByte methods in
TFramedBuffer and TBufferedTransport to use binary.js
readByte method Added unit test for binary.js readByte
method to binary.test.js and changed test harness to
nodeunit.
2013-05-11 01:21:52 +02:00
Jens Geyer
379c2776e2 THRIFT-1961 C# tests should be in lib/csharp/test/...
Patch: Jens Geyer
2013-05-09 15:23:48 +02:00
Jens Geyer
f670181a3d THRIFT-1961 C# tests should be in lib/csharp/test/...
Patch: Jens Geyer
2013-05-06 23:48:00 +02:00
Jens Geyer
1b4c9b9691 THRIFT-1945: C#: sbyte breaks TestClient
Patch: Carl Yeksigian
2013-04-26 23:38:58 +02:00