Commit Graph

3550 Commits

Author SHA1 Message Date
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
Roger Meier
f8c1c989f2 THRIFT-847 Test Framework harmonization across all languages
Added
--port arg (=9090) Port number to listen
to nodejs server at lib/nodejs/test/server.js and added
--host arg (=localhost) Host to connect
--port arg (=9090) Port number to connect
to nodejs client at lib/nodejs/test/client.js

Patch: Chamila Dilshan Wijayarathna
2014-05-28 00:04:32 +02:00
Roger Meier
44460e2e7a Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/thrift 2014-05-27 23:57:38 +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
5c6ad2427c THRIFT-847 Test Framework harmonization across all languages
Patch: Chamila Dilshan Wijayarathna
2014-05-27 21:18:00 +02:00
Jens Geyer
8fcc82ba70 Updated makefile for THRIFT-2544 Add support for socket transport for c# library when using Windows Phone projects
Client: C#
Patch: Jens Geyer
2014-05-26 23:39:47 +02:00
Jens Geyer
f64d7e07de THRIFT-2544 Add support for socket transport for c# library when using Windows Phone projects
Client: C#
Patch: Matrix Ji
2014-05-26 23:34:35 +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
henrique
4f073d8af4 THRIFT-2505 fix apache license header 2014-05-19 21:59:39 +02:00
henrique
d0265c7052 THRIFT-2522 TypeScript extension for Thrift Compiler
add info and format js/README.md

    This closes #124

----
commit ada1016fdd
Author: Pascal Schweizer <pasci@hispeed.ch>
Date:   2014-03-21T16:18:59Z

    THRIFT-2522 TypeScript extension for Thrift Compiler

----
2014-05-19 19:31:09 +02:00
Pascal Schweizer
ada1016fdd THRIFT-2522 TypeScript extension for Thrift Compiler 2014-05-19 17:21:34 +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
Jens Geyer
b7cb9457dc THRIFT-2537 Path for "go get" does not work
Client: Go
Patch: Jens Geyer

This closes #115
2014-05-17 00:38:06 +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
jfarrell
816790b18d Thrift-2535:TJSONProtocol when serialized yields TField ids rather than names
Adds ability to optionally serialize TJSONProtocol with TField names
2014-05-15 23:25:46 -04: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
Roger Meier
73b58a2469 THRIFT-1771 "make check" fails on x64 for libboost_unit_test_framework.a
update ax_boost_base.m4 from http://www.gnu.org/software/autoconf-archive/
Patch: Roger Meier
2014-05-11 17:39:34 +02:00
ra
20aeba3e38 THRIFT-2511 Node.js compact protocol
Client: Node
Patch: Randy Abernethy

Adds Compact Protocol to Node.js, tests in testAll.sh and repairs all
library JSHint warnings.
2014-05-11 00:25:01 -07:00
Jens Geyer
facc8dc6c7 THRIFT-2505 go struct should always be a pointer to avoid copying of potentially size-unbounded structs
Client: Go
Patch: Aleksey Pesternikov

This closes #116

commit 69bbf0e2b148cb1f48e24f46d181cc4d5dc35786
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-05-02T15:45:15Z

struct should always be a pointer to avoid copying of potentially size-unbounded structs
2014-05-09 23:48:57 +02:00
Jens Geyer
958581d090 THRIFT-2491 unable to import generated ThriftTest service
Client: Go
Patch: Aleksey Pesternikov

Go codegen fix regarding Process(), as discussed in THRIFT-2491.
Belongs to pull request 109.
2014-05-09 23:35:24 +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
Jens Geyer
c0ad368486 THRIFT-2455 Allow client certificates to be used with THttpClient
Client: C#
Patch: Adam Connelly & Jens Geyer

This closes #96

commit a87068655a3d31e2f85e5630462dd174b02f43c6
 Author: Adam Connelly <adam@resdiary.com>
 Date: 2014-04-09T12:06:20Z

THRIFT-2455: Allow client certificates to be used with THttpClient
2014-05-08 22:31:34 +02:00
Roger Meier
37042270ef THRIFT-2512 lib/${language}/README.md
Client: cpp

remove README_WINDOWS.md from WINDOWS_DIST
2014-05-04 22:58:15 +02:00
Roger Meier
2c60625b53 THRIFT-2512 lib/${language}/README.md
Client: cpp

remove README_SSL.md from EXTRA_DIST
2014-05-04 22:56:44 +02:00
Roger Meier
4fba9d2c3c THRIFT-2512 lib/${language}/README.md
Client: cpp

doc cosmetics
2014-05-04 22:34:44 +02:00
Roger Meier
6370cfdd7a THRIFT-2512 lib/${language}/README.md
Client: cpp

merge README_WINDOWS.md and README.SSL.md into README.md
2014-05-04 22:21:58 +02:00
Roger Meier
5c80b56573 THRIFT-2475 c_glib: buffered_transport_write function return always TRUE.
Patch: Jaesang Kim
2014-05-04 22:19:46 +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
cf0edd3659 THRIFT-2490 c_glib: if fail to read a exception from server, client may be occurred double free
Client: c_glib
Patch: Jaesang Kim
2014-05-04 21:52:36 +02:00
Roger Meier
40f8ce2b4d THRIFT-2494: Add enum toString helper function in c_glib
Client: c_glib
Patch: Xiaodong Ma
2014-05-04 21:48:48 +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
Jens Geyer
6d1a83aa48 THRIFT-2506 Update TProtocolException error codes to be used consistently throughout the library
Patch: Jens Geyer
2014-05-03 00:49:05 +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
2a9e6a491e THRIFT-2501: C# The test parameters from the TestServer and TestClient are different from the http://thrift.apache.org/test/
Client: C#
Patch: Beat Kaeslin

This closes #108

commit 0fb9ff4ae19702ffe6d098a6515f6a23d60e88d5
 Author: Beat Kaeslin <beat.kaeslin@siemens.com>
 Date: 2014-04-23T06:33:59Z

Parameter aligned with thrift.apache.org/test/
2014-05-02 22:23:15 +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
Jens Geyer
0997250744 THRIFT-2502 Optimize go implementations of binary and compact protocols for speed
Client: Go
Patch: Aleksey Pesternikov

This closes #110

commit 7ece8e6f16f7ff46cda4b896215d595ac986d332
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-26T17:45:12Z

simplify buffered transport by reusing bufio

commit 814b661d7e5c3c27ad4035a42925eae619447ee3
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-26T18:05:12Z

zero-initialize buffers in framed transport

commit 0f576138e24fae8e7f8d210cfb480889a41d1d9a
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-26T19:19:39Z

do not buffer the whole frame while reading in framed transport
 reuse frame header buffer

commit 4db9b65458eb34e1b1676dba76d1e664c6339a57
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-26T19:43:07Z

enforce max frame size in framed transport

commit 58ecc23ec1a2176f7dc5db7a658a51817dc626e6
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-27T00:31:16Z

microbenchmarks for serialization/deserialization (binary,compact)x(memoryBuffer,Stream,framedMemoryBuffer)x(bool,byte,i16,i32,i64,double,string,binary)

commit 156116f484db513251e0e6c65942466ed5a8142c
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-27T00:32:09Z

Merge branch 'go_microbench' into go_simplify_and_optimize

commit 1c27c0913cf5a8c0352afff1dae9e9fc9f758409
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-27T22:45:52Z

do not allocate buffer in TBinaryProtocol.WriteByte

commit 86addfb0585e04c648cde1b9cb1566d7976f8cda
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-27T23:46:12Z

no extra alloc in double marshaling test

commit 98ac62b0a80d4f27dce736b561005953cb915a90
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-27T23:46:50Z

Merge branch 'go_microbench' into go_simplify_and_optimize

commit 76c26624578a5455cacd08bb0167444748aaa41d
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-28T12:48:41Z

optimized ReadByte, WriteByte

commit 5a79d81d326582dbbdcf523ebc0180390ac24497
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-28T13:03:26Z

optimized WriteString

commit f6d4a9aa65434831cbd2993148fa12c12b2a342c
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-28T15:35:06Z

compact protocol optimization

commit 03bdb6b9f097a47ef54826483867c23d49374ac0
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-28T16:08:52Z

cache reader and writer to aviod interface conversions
2014-05-02 01:35:24 +02:00
Jens Geyer
731975a645 THRIFT-2451: Do not use pointers for optional fields with defaults. Do not write such fields if its value set to default. Also, do not use pointers for any optional fields mapped to go map or slice. generate Get accessors
Client: Go
Patch: Aleksey Pesternikov

This closes #101

commit e6e5dcf3a07cd931183991ff031179b425e2740b
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-16T14:06:52Z

initial change

commit f65730e951a4310160a9f7e3e4eeb7e55abd2c55
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-16T14:16:03Z

no IsSet for required

commit 9865f700eb9354d6053994da989a907766c42d1d
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-17T19:32:13Z

inlined required structs

commit ca52300c07cefcf553f1ebf35569953c933b2367
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-17T19:44:24Z

do not use heap for args struct

commit 012ca3e512d2bc8822de8a715b4f3d3cae5c0c42
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-17T19:52:41Z

do not use heap for result struct

commit 2fc4afc53ff7db43e08eadeaa30e34bc1fd9c889
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-17T21:32:43Z

do not set result field on error

commit 6e5da0062b139f02dcafe3148cdf02f97c23442a
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-17T21:57:57Z

Jens' thrift source as test case

commit 7317957ed708831e280f182f081043fbe9d38a0c
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-17T23:43:08Z

support for cpp.ref

commit 1c4f3efc7b54fd335db633f86faf8c426ae9c87d
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-18T00:13:24Z

package flag

commit c9d7e54f5c5d29c776f42fb861bc9e82da4e542f
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-18T00:21:18Z

Merge branch 'master' into go_inlines
2014-05-02 00:24:24 +02:00
henrique
ce79d59144 add missing bc on travis 2014-05-01 15:22:38 +02:00
henrique
4920a65a09 exec permissions for sh files 2014-04-30 18:16:20 +02:00
henrique
d5aba4c13b more consistent timing on test.sh 2014-04-30 18:11:11 +02:00