common/thrift.git
10 years agoTHRIFT-2522 TypeScript extension for Thrift Compiler
henrique [Mon, 19 May 2014 17:11:10 +0000 (19:11 +0200)] 
THRIFT-2522 TypeScript extension for Thrift Compiler

add info and format js/README.md

    This closes #124

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

    THRIFT-2522 TypeScript extension for Thrift Compiler

----

10 years agoTHRIFT-2522 TypeScript extension for Thrift Compiler
Pascal Schweizer [Fri, 21 Mar 2014 16:18:59 +0000 (17:18 +0100)] 
THRIFT-2522 TypeScript extension for Thrift Compiler

11 years agoFixed broken build: "thrift -out <dir>" expects that <dir> already exists
Jens Geyer [Fri, 16 May 2014 23:54:09 +0000 (01:54 +0200)] 
Fixed broken build: "thrift -out <dir>" expects that <dir> already exists

11 years agoFixed broken build (superfluous EXTRA_DIST section)
Jens Geyer [Fri, 16 May 2014 23:20:32 +0000 (01:20 +0200)] 
Fixed broken build (superfluous EXTRA_DIST section)

11 years agoTHRIFT-2500 sending random data crashes thrift(golang) service
Jens Geyer [Fri, 16 May 2014 23:07:28 +0000 (01:07 +0200)] 
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

11 years agoTHRIFT-2537 Path for "go get" does not work
Jens Geyer [Fri, 16 May 2014 22:38:06 +0000 (00:38 +0200)] 
THRIFT-2537 Path for "go get" does not work
Client: Go
Patch: Jens Geyer

This closes #115

11 years agoTHRIFT-2534 Cross language test results should recorded to a status.md or status...
Roger Meier [Fri, 16 May 2014 21:18:25 +0000 (23:18 +0200)] 
THRIFT-2534 Cross language test results should recorded to a status.md or status.html file automatically

Patch: Chamila Dilshan Wijayarathna & Roger Meier

11 years agoThrift-2535:TJSONProtocol when serialized yields TField ids rather than names
jfarrell [Fri, 16 May 2014 03:25:46 +0000 (23:25 -0400)] 
Thrift-2535:TJSONProtocol when serialized yields TField ids rather than names

Adds ability to optionally serialize TJSONProtocol with TField names

11 years agoTHRIFT-2401 Haskell tutorial compiles
Roger Meier [Tue, 13 May 2014 22:49:41 +0000 (00:49 +0200)] 
THRIFT-2401 Haskell tutorial compiles

Patch: John Chee & Roger Meier

includes minifix from:
THRIFT-2453 haskell tutorial: fix up division by 0 example

11 years agoTHRIFT-1771 "make check" fails on x64 for libboost_unit_test_framework.a
Roger Meier [Sun, 11 May 2014 15:39:34 +0000 (17:39 +0200)] 
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

11 years agoTHRIFT-2511 Node.js compact protocol
ra [Sun, 11 May 2014 07:25:01 +0000 (00:25 -0700)] 
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.

11 years agoTHRIFT-2505 go struct should always be a pointer to avoid copying of potentially...
Jens Geyer [Fri, 9 May 2014 21:48:57 +0000 (23:48 +0200)] 
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

11 years agoTHRIFT-2491 unable to import generated ThriftTest service
Jens Geyer [Fri, 9 May 2014 21:34:10 +0000 (23:34 +0200)] 
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.

11 years agoTHRIFT-2497 server and client for test/go, also several fixes and improvements
Jens Geyer [Thu, 8 May 2014 21:18:44 +0000 (23:18 +0200)] 
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

11 years agoTHRIFT-2455 Allow client certificates to be used with THttpClient
Jens Geyer [Thu, 8 May 2014 20:31:34 +0000 (22:31 +0200)] 
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

11 years agoTHRIFT-2512 lib/${language}/README.md
Roger Meier [Sun, 4 May 2014 20:58:15 +0000 (22:58 +0200)] 
THRIFT-2512 lib/${language}/README.md

Client: cpp

remove README_WINDOWS.md from WINDOWS_DIST

11 years agoTHRIFT-2512 lib/${language}/README.md
Roger Meier [Sun, 4 May 2014 20:56:44 +0000 (22:56 +0200)] 
THRIFT-2512 lib/${language}/README.md

Client: cpp

remove README_SSL.md from EXTRA_DIST

11 years agoTHRIFT-2512 lib/${language}/README.md
Roger Meier [Sun, 4 May 2014 20:34:44 +0000 (22:34 +0200)] 
THRIFT-2512 lib/${language}/README.md

Client: cpp

doc cosmetics

11 years agoTHRIFT-2512 lib/${language}/README.md
Roger Meier [Sun, 4 May 2014 20:21:58 +0000 (22:21 +0200)] 
THRIFT-2512 lib/${language}/README.md

Client: cpp

merge README_WINDOWS.md and README.SSL.md into README.md

11 years agoTHRIFT-2475 c_glib: buffered_transport_write function return always TRUE.
Roger Meier [Sun, 4 May 2014 20:19:46 +0000 (22:19 +0200)] 
THRIFT-2475 c_glib: buffered_transport_write function return always TRUE.

Patch: Jaesang Kim

11 years agoTHRIFT-2471: Make cpp.ref annotation language agnostic
Roger Meier [Sun, 4 May 2014 20:02:17 +0000 (22:02 +0200)] 
THRIFT-2471: Make cpp.ref annotation language agnostic

update boost to 1.53

Patch: Roger Meier

11 years agoTHRIFT-2490 c_glib: if fail to read a exception from server, client may be occurred...
Roger Meier [Sun, 4 May 2014 19:52:36 +0000 (21:52 +0200)] 
THRIFT-2490 c_glib: if fail to read a exception from server, client may be occurred double free

Client: c_glib
Patch: Jaesang Kim

11 years agoTHRIFT-2494: Add enum toString helper function in c_glib
Roger Meier [Sun, 4 May 2014 19:48:48 +0000 (21:48 +0200)] 
THRIFT-2494: Add enum toString helper function in c_glib

Client: c_glib
Patch: Xiaodong Ma

11 years agoTHRIFT-1914 Python: Support for Multiplexing Services on any
Roger Meier [Sat, 3 May 2014 15:51:21 +0000 (17:51 +0200)] 
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

11 years agoTHRIFT-2506 Update TProtocolException error codes to be used consistently throughout...
Jens Geyer [Fri, 2 May 2014 22:49:05 +0000 (00:49 +0200)] 
THRIFT-2506 Update TProtocolException error codes to be used consistently throughout the library

Patch: Jens Geyer

11 years agotest/README.md: fix link
Roger Meier [Fri, 2 May 2014 22:33:46 +0000 (00:33 +0200)] 
test/README.md: fix link

11 years agoTHRIFT-2499 Compiler: allow annotations without "= value"
Jens Geyer [Fri, 2 May 2014 21:50:04 +0000 (23:50 +0200)] 
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

11 years agoTHRIFT-2491 unable to import generated ThriftTest service
Jens Geyer [Fri, 2 May 2014 21:37:39 +0000 (23:37 +0200)] 
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

11 years agoTHRIFT-2501: C# The test parameters from the TestServer and TestClient are different...
Jens Geyer [Fri, 2 May 2014 20:23:15 +0000 (22:23 +0200)] 
THRIFT-2501: C# The test parameters from the TestServer and TestClient are different from the 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/

11 years agoTHRIFT-2471 Make cpp.ref annotation language agnostic
Jens Geyer [Fri, 2 May 2014 19:31:55 +0000 (21:31 +0200)] 
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

11 years agoTHRIFT-2492 use tcxx instead of tr1 in test/cpp
Roger Meier [Fri, 2 May 2014 19:15:45 +0000 (21:15 +0200)] 
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

11 years agoTHRIFT-847 Test Framework harmonization across all languages
Roger Meier [Fri, 2 May 2014 19:07:01 +0000 (21:07 +0200)] 
THRIFT-847 Test Framework harmonization across all languages

- no verbose output, use log/error.log instead
- improve test/README.md

Patch: Roger Meier

11 years agoTHRIFT-2502 Optimize go implementations of binary and compact protocols for speed
Jens Geyer [Thu, 1 May 2014 23:30:13 +0000 (01:30 +0200)] 
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

11 years agoTHRIFT-2451: Do not use pointers for optional fields with defaults. Do not write...
Jens Geyer [Thu, 1 May 2014 22:24:24 +0000 (00:24 +0200)] 
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

11 years agoadd missing bc on travis
henrique [Thu, 1 May 2014 13:22:38 +0000 (15:22 +0200)] 
add missing bc on travis

11 years agoexec permissions for sh files
henrique [Wed, 30 Apr 2014 16:16:20 +0000 (18:16 +0200)] 
exec permissions for sh files

11 years agomore consistent timing on test.sh
henrique [Wed, 30 Apr 2014 16:11:11 +0000 (18:11 +0200)] 
more consistent timing on test.sh

11 years agoTHRIFT-847 Test Framework harmonization across all languages
henrique [Wed, 30 Apr 2014 14:21:25 +0000 (16:21 +0200)] 
THRIFT-847 Test Framework harmonization across all languages

cross test speed up from 30min to 6

11 years agoTHRIFT-2132 Go: Support for Multiplexing Services on any Transport, Protocol and...
henrique [Wed, 30 Apr 2014 14:19:35 +0000 (16:19 +0200)] 
THRIFT-2132 Go: Support for Multiplexing Services on any Transport, Protocol and Server
Patch: Aleksey Pesternikov

typo

This closes #112

----
commit f362570683f57ad9ee78cedc437babb697c6a8d1
Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
Date:   2014-04-30T12:49:11Z

    THRIFT-2132 broken tests

----

11 years agoTHRIFT-2495 JavaScript/Node string constants lack proper escaping
Jens Geyer [Sun, 27 Apr 2014 16:29:50 +0000 (18:29 +0200)] 
THRIFT-2495 JavaScript/Node string constants lack proper escaping
Client: JS
Patch: Jens Geyer

11 years agoTHRIFT-2493:Node.js lib needs HTTP client
ra [Thu, 24 Apr 2014 03:04:23 +0000 (20:04 -0700)] 
THRIFT-2493:Node.js lib needs HTTP client
Client: node
Patch: Randy Abernethy

Clean up of many jshint warnings/errors, jsdoc for HttpConnect,
added support for https and Python to HttpConnect, added tests
for HttpConnect with https and promises.

11 years agoTHRIFT-2493:Node.js lib needs HTTP client
ra [Wed, 23 Apr 2014 09:23:18 +0000 (02:23 -0700)] 
THRIFT-2493:Node.js lib needs HTTP client
Client: node
Patch: Randy Abernethy

Adds http client to node.js along with tests.

11 years agoTHRIFT-2132 Go: Support for Multiplexing Services on any Transport, Protocol and...
Jens Geyer [Tue, 22 Apr 2014 21:36:27 +0000 (23:36 +0200)] 
THRIFT-2132 Go: Support for Multiplexing Services on any Transport, Protocol and Server
Client: Go
Patch: Aleksey Pesternikov

11 years agoTHRIFT-2347 C# TLS Transport based on THRIFT-181
Jens Geyer [Tue, 22 Apr 2014 20:52:43 +0000 (22:52 +0200)] 
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

11 years agoTHRIFT-2405:Node.js Multiplexer tests fail (silently)
ra [Tue, 22 Apr 2014 13:37:37 +0000 (06:37 -0700)] 
THRIFT-2405:Node.js Multiplexer tests fail (silently)
Client: node
Patch: Randy Abernethy

Repairs client side multiplex protocol.

11 years agoTHRIFT-2463 test/py/RunClientServer.py fails sometimes
Roger Meier [Mon, 21 Apr 2014 19:22:54 +0000 (21:22 +0200)] 
THRIFT-2463 test/py/RunClientServer.py fails sometimes
Client: Python
Patch: Benoit Sigoure

11 years agoTHRIFT-2466: Improper error handling for SSL/TLS connections that don't complete...
Roger Meier [Mon, 21 Apr 2014 19:20:00 +0000 (21:20 +0200)] 
THRIFT-2466: Improper error handling for SSL/TLS connections that don't complete a handshake
Client: Python
Patch: Benoit Sigoure

11 years agoTHRIFT-2456 THttpClient fails when using async support outside Silverlight
Jens Geyer [Fri, 18 Apr 2014 17:46:17 +0000 (19:46 +0200)] 
THRIFT-2456 THttpClient fails when using async support outside Silverlight
Client: C#
Patch: Adam Connelly & Jens Geyer

This closes #97

commit 080b28eac31516ef9e3f988a87d890769f0751cd
 Author: Adam Connelly <adam@resdiary.com>
 Date: 2014-04-09T12:46:27Z

THRIFT-2456 Support async operations outside Silverlight

I altered TTransport to throw the NotSupportedExceptions to make it more obvious what's going on if someone generates their client using the async option, and then uses a transport that doesn't support it.

11 years agoTHRIFT-2477 thrift --help text with misplaced comma
Jens Geyer [Fri, 18 Apr 2014 00:27:57 +0000 (02:27 +0200)] 
THRIFT-2477 thrift --help text with misplaced comma

Patch: Jens Geyer

11 years agoTHRIFT-847 Test Framework harmonization across all languages
Roger Meier [Thu, 17 Apr 2014 19:53:45 +0000 (21:53 +0200)] 
THRIFT-847 Test Framework harmonization across all languages
Patch: Roger Meier
make cross: cpp-java fix parameters

11 years agoTHRIFT-2190:Add the JavaScript thrift.js lib to the Bower registry
jfarrell [Thu, 17 Apr 2014 02:17:55 +0000 (22:17 -0400)] 
THRIFT-2190:Add the JavaScript thrift.js lib to the Bower registry
Client: js
Patch: jfarrell

Adds bower.json to be able to register js package.

11 years agoTHRIFT-2470 THttpHandler swallows exceptions from processor
Jens Geyer [Wed, 16 Apr 2014 20:43:08 +0000 (22:43 +0200)] 
THRIFT-2470 THttpHandler swallows exceptions from processor
Client: C#
Patch: Adam Conelly

This closes #100

commit 6dcb1c3dc5d3259574863f0bc6af67b241b4653e
 Author: Adam Connelly <adam@resdiary.com>
 Date: 2014-04-16T14:37:54Z

THRIFT-2470: Stop THttpHandler from swallowing processor exceptions

The problem with the way it works currently is that it makes it very difficult to figure out what's going on when I've got a handler running on a remote web server. If the handler just allows the exceptions to bubble up like normal, they get caught by our normal exception handling code and logged.

I also added a new project for unit tests, and some tests for the changes I've made.

11 years agoAdded some more missing ASF headers, fixed go/test makefile structure
Jens Geyer [Tue, 15 Apr 2014 22:27:31 +0000 (00:27 +0200)] 
Added some more missing ASF headers, fixed go/test makefile structure

11 years agoAdded missing ASF headers
Jens Geyer [Tue, 15 Apr 2014 19:54:55 +0000 (21:54 +0200)] 
Added missing ASF headers

11 years agoTHRIFT-2460 unopened socket fd must be less than zero.
Jens Geyer [Tue, 15 Apr 2014 19:14:04 +0000 (21:14 +0200)] 
THRIFT-2460 unopened socket fd must be less than zero.
Client: C glib
Patch: Jaesang Kim

11 years agoAdded missing ASF header
Jens Geyer [Mon, 14 Apr 2014 20:42:25 +0000 (22:42 +0200)] 
Added missing ASF header

11 years agoTHRIFT-2458 Generated golang server code for "oneway" methods is incorrect
Jens Geyer [Mon, 14 Apr 2014 20:42:01 +0000 (22:42 +0200)] 
THRIFT-2458 Generated golang server code for "oneway" methods is incorrect
Client: Go compiler
Patch: Jens Geyer & Aleksey Pesternikov

This closes #99

commit 5f4833d0dda663e8432c6ed61dae38fa42d52ed9
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-14T12:59:39Z

THRIFT-2458 Generated code for oneway function

11 years agoTHRIFT-2458 Generated golang server code for "oneway" methods is incorrect
Jens Geyer [Mon, 14 Apr 2014 20:36:50 +0000 (22:36 +0200)] 
THRIFT-2458 Generated golang server code for "oneway" methods is incorrect
Client: Go compiler
Patch: Jens Geyer & Aleksey Pesternikov

11 years agoTHRIFT-2449 Enhance typedef structure to distinguish between forwards and real typedefs
Jens Geyer [Sun, 13 Apr 2014 19:58:47 +0000 (21:58 +0200)] 
THRIFT-2449 Enhance typedef structure to distinguish between forwards and real typedefs
Client: General Compiler, Delphi
Patch: Jens Geyer

11 years agoTHRIFT-1743: Add composer.json for new Symfony 2.1 Dependency Manager
Roger Meier [Fri, 11 Apr 2014 18:25:46 +0000 (20:25 +0200)] 
THRIFT-1743: Add composer.json for new Symfony 2.1 Dependency Manager

From acba5ca4cb9d6d727e63b25a6ce8dfaf863190bc Mon Sep 17 00:00:00 2001
From: Mauro Maggi <mauro.maggi@immobiliare.it>
Date: Fri, 28 Mar 2014 17:18:30 +0100
Subject: [PATCH] Adds composer.json for Thrift dev-master branch and aliases
 dev-master to 1.0.x-dev

Github Pull Request: This closes #91

11 years agoTHRIFT-1908: Using php thrift_protocol accelerated transfer causes core dump
jfarrell [Fri, 11 Apr 2014 04:15:16 +0000 (00:15 -0400)] 
THRIFT-1908: Using php thrift_protocol accelerated transfer causes core dump
Client: php
Patch: Tyler Hobbs

Reverts THRIFT-1453 to fix issue with coe dumps seen in the php lib.

11 years agoTHRIFT-2459: --version should not exit 1
jfarrell [Fri, 11 Apr 2014 02:06:11 +0000 (22:06 -0400)] 
THRIFT-2459: --version should not exit 1
Client: compiler
Patch: jfarrell

Updated compiler to exit 0 when --version is called.

11 years agoFIX: it's now readme.MD
Jens Geyer [Wed, 9 Apr 2014 23:16:48 +0000 (01:16 +0200)] 
FIX: it's now readme.MD

11 years agoTHRIFT-2421: Tree/Recursive struct support in thrift
henrique [Wed, 9 Apr 2014 18:52:11 +0000 (20:52 +0200)] 
THRIFT-2421: Tree/Recursive struct support in thrift
Client: cpp

also fix mixed tabs and ignore RecursiveTest binary

11 years agoThrift-2421:Tree/Recursive struct support in thrift
jfarrell [Wed, 9 Apr 2014 18:53:03 +0000 (14:53 -0400)] 
Thrift-2421:Tree/Recursive struct support in thrift
Client: compiler
Patch: Dave Watson

Patch to go along with pull request 84 to fix missing destructors.

Github Pull Request: This closes #98
----
commit f4daec9b0af386e8f6e9e66fb688aab8cd949fdc
Date:   2014-04-09T17:33:18Z

    Also generate destructor for _result, presult, args, pargs

11 years agoTHRIFT-2421: Tree/Recursive struct support in thrift
jfarrell [Wed, 9 Apr 2014 02:45:01 +0000 (22:45 -0400)] 
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)

11 years agoTHRIFT-2454: c_glib: There is no gethostbyname_r() in some OS
Roger Meier [Tue, 8 Apr 2014 21:52:01 +0000 (23:52 +0200)] 
THRIFT-2454: c_glib: There is no gethostbyname_r() in some OS

Patch: Jin-wook Jeong

11 years agoTHRIFT-847: Test Framework harmonization across all languages
Roger Meier [Mon, 7 Apr 2014 22:28:17 +0000 (00:28 +0200)] 
THRIFT-847: Test Framework harmonization across all languages

add ip-ssl for cpp

11 years agoTHRIFT-2325: SSL test certificates
Roger Meier [Mon, 7 Apr 2014 21:45:19 +0000 (23:45 +0200)] 
THRIFT-2325: SSL test certificates

CN for servername was ssltest instead of localhost
+ little update of README.md

Patch: Roger Meier

11 years agoTHRIFT-2445 (code generation for go maps with binary keys) should be tested
Jens Geyer [Mon, 7 Apr 2014 19:20:16 +0000 (21:20 +0200)] 
THRIFT-2445 (code generation for go maps with binary keys) should be tested

Patch: Aleksey Pesternikov

11 years agoTHRIFT-2450:include HowToContribute in the src repo
jfarrell [Sat, 5 Apr 2014 16:25:07 +0000 (12:25 -0400)] 
THRIFT-2450:include HowToContribute in the src repo
Client: build
Patch: jfarrell

Renamed doc files.

11 years agoTHRIFT-2450 - include HowToContribute in the src repo
jfarrell [Sat, 5 Apr 2014 16:20:07 +0000 (12:20 -0400)] 
THRIFT-2450 - include HowToContribute in the src repo
Client: build
Patch: jfarrell

Reorganized docs and adds HowToContribute to the code base.

11 years agoTHRIFT-1681: Add Lua Support Patch: Dave Watson
Roger Meier [Fri, 4 Apr 2014 22:45:42 +0000 (00:45 +0200)] 
THRIFT-1681: Add Lua Support Patch: Dave Watson

Github Pull Request: This closes #92

11 years agoTHRIFT-2402: byte count of FrameBuffer in AWAITING_CLOSE state is not subtracted...
jfarrell [Fri, 4 Apr 2014 17:09:32 +0000 (13:09 -0400)] 
THRIFT-2402: byte count of FrameBuffer in AWAITING_CLOSE state is not subtracted from readBufferBytesAllocated
Client: java
Patch: jfarrell

Addresses issue where changeSelectInterests would cause close() to occur in the AWAITING_CLOSE state and readBufferBytesAllocated was never called

11 years agoTHRIFT-2268:Modify TSaslTransport to ignore TCP health checks from loadbalancers
jfarrell [Fri, 4 Apr 2014 16:07:25 +0000 (12:07 -0400)] 
THRIFT-2268:Modify TSaslTransport to ignore TCP health checks from loadbalancers
Client: java
Patch: Thiruvel Thirumoolan

Adds a TSaslTransportException to be able to catch and ignore invalid Sasl headers

11 years agoTHRIFT-2204:SSL client for the cocoa client
jfarrell [Fri, 4 Apr 2014 15:41:15 +0000 (11:41 -0400)] 
THRIFT-2204:SSL client for the cocoa client
Client: cocoa
Patch: Olivier Van Acker

Adds a SSL transport to the cocoa library

11 years agoTHRIFT-1868:Make the TPC backlog configurable in the Java servers
jfarrell [Fri, 4 Apr 2014 15:34:42 +0000 (11:34 -0400)] 
THRIFT-1868:Make the TPC backlog configurable in the Java servers
Client: java
Patch: Jean-Daniel Cryans

Makes TServerSocket backlog configurable.

11 years agoTHRIFT-2448: test.sh has incorrect node path
ra [Fri, 4 Apr 2014 14:14:17 +0000 (07:14 -0700)] 
THRIFT-2448: test.sh has incorrect node path
Client: test suite
Patch: Randy Abernethy

repairs node path in test.sh

11 years agoTHRIFT-2446: cause servers to emit stream errors
ra [Thu, 3 Apr 2014 15:55:18 +0000 (08:55 -0700)] 
THRIFT-2446: cause servers to emit stream errors
Client: node
Patch: alexey

Mods Thrift Node Servers to emit stream errors

This closes #94
----
commit 296f296db1d415b1d2a7bd8168f48cec5766a210
Author: gruzovator <gruzovator@gmail.com>
Date: 2014-04-03T15:16:07Z
nodejs server stream error handling

11 years agoTHRIFT-2435 Java compiler doesn't like struct member names that are identical to...
Jens Geyer [Wed, 2 Apr 2014 21:21:25 +0000 (23:21 +0200)] 
THRIFT-2435 Java compiler doesn't like struct member names that are identical to an existing enum or struct type
Client: java
Patch: Jens Geyer

11 years agoTHRIFT-2443: node fails cross lang tests
ra [Wed, 2 Apr 2014 19:31:05 +0000 (12:31 -0700)] 
THRIFT-2443: node fails cross lang tests
Client: node
Patch: Randy Abernethy

adds support for recursive tests of i64 types and fixes cross
lang test failure with C++.

11 years agoTHRIFT-2312 travis.yml: build everything
henrique [Wed, 2 Apr 2014 12:45:39 +0000 (14:45 +0200)] 
THRIFT-2312 travis.yml: build everything
Patch: Henrique Mendonça

fix php build and turn caching on

11 years agoTHRIFT-2009 Go redeclaration error
Jens Geyer [Tue, 1 Apr 2014 19:27:58 +0000 (21:27 +0200)] 
THRIFT-2009 Go redeclaration error

Patch: Jens Geyer

11 years agoTHRIFT-2434 Missing namespace import for php TMultiplexedProcessor implementation
Jens Geyer [Tue, 1 Apr 2014 19:24:27 +0000 (21:24 +0200)] 
THRIFT-2434 Missing namespace import for php TMultiplexedProcessor implementation

Patch: Mauro Maggi

11 years agoTHRIFT-2258:Add TLS v1.1/1.2 support to TSSLSocket.cpp
jfarrell [Tue, 1 Apr 2014 03:58:32 +0000 (23:58 -0400)] 
THRIFT-2258:Add TLS v1.1/1.2 support to TSSLSocket.cpp
Client: cpp
Patch:  Chris Stylianou

Enables TSSLSocketFactory to set the required protocol.

11 years agoTHRIFT-2095:Use print function for Python 3 compatiblity
jfarrell [Tue, 1 Apr 2014 03:34:46 +0000 (23:34 -0400)] 
THRIFT-2095:Use print function for Python 3 compatiblity
Client: py
Patch: jfarrell

Updated py generator to print out () for py4 compatability

11 years agoTHRIFT-981:cocoa: add version Info to the library
jfarrell [Tue, 1 Apr 2014 02:30:54 +0000 (22:30 -0400)] 
THRIFT-981:cocoa: add version Info to the library
Client: cocoa
Patch: jfarrell

Adds version to cocoa lib

11 years agoTHRIFT-2437 Author fields in Python setup.py must be strings not lists
Roger Meier [Mon, 31 Mar 2014 17:49:53 +0000 (19:49 +0200)] 
THRIFT-2437 Author fields in Python setup.py must be strings not lists
Patch: Pascal Bach

11 years agoTHRIFT-2439 Bug in TProtocolDecorator Class causes parsing errors
Jens Geyer [Mon, 31 Mar 2014 17:21:27 +0000 (19:21 +0200)] 
THRIFT-2439 Bug in TProtocolDecorator Class causes parsing errors

Patch: Gianluca Bargelli

11 years agoTHRIFT-2368 New option: reuse-objects for Java generator
henrique [Mon, 31 Mar 2014 14:21:37 +0000 (16:21 +0200)] 
THRIFT-2368 New option: reuse-objects for Java generator
Patch: adam-aph

11 years agoTHRIFT-2432 Flaky parallel build
Roger Meier [Sun, 30 Mar 2014 17:36:25 +0000 (19:36 +0200)] 
THRIFT-2432 Flaky parallel build
Patch: Benoit Sigoure

11 years agoTHRIFT-2398:Improve Node Server Library
ra [Sat, 29 Mar 2014 08:14:48 +0000 (01:14 -0700)] 
THRIFT-2398:Improve Node Server Library
CLIENT: node
Patch: Randy Abernethy

Update node hello web example and line ending clean up.

11 years agoTHRIFT-2430 Crash during TThreadPoolServer shutdown
Jens Geyer [Fri, 28 Mar 2014 20:45:27 +0000 (22:45 +0200)] 
THRIFT-2430 Crash during TThreadPoolServer shutdown

Patch: Lars Benner

11 years agoTHRIFT-2398:Improve Node Server Library\nClient: Node\nPatch: Randy Abernethy\n\nGene...
Randy Abernethy [Fri, 28 Mar 2014 17:36:38 +0000 (10:36 -0700)] 
THRIFT-2398:Improve Node Server Library\nClient: Node\nPatch: Randy Abernethy\n\nGeneral server parameter harmonization and comments

11 years agoTHRIFT-2428: Python 3 setup.py support
jfarrell [Thu, 27 Mar 2014 17:56:04 +0000 (13:56 -0400)] 
THRIFT-2428: Python 3 setup.py support
Client: py
Patch: Nathan Van Gheem

Github Pull Request: This closes #89
----
commit 89838fb1ff173eae6d81312e4e73e0ac2adc049d
Author: Nathan Van Gheem <vangheem@gmail.com>
Date:   2014-03-27T17:35:10Z

    python 3 support

11 years agoTHRIFT-2414 c_glib fix several bug
Roger Meier [Wed, 26 Mar 2014 22:32:34 +0000 (23:32 +0100)] 
THRIFT-2414 c_glib fix several bug
Patch: Jaesang Kim

11 years agojs tutorial add missing semicolon
Roger Meier [Wed, 26 Mar 2014 22:23:37 +0000 (23:23 +0100)] 
js tutorial add missing semicolon

11 years agoTHRIFT-2425 PHP: Server-side support for Multiplexing Services
Jens Geyer [Mon, 24 Mar 2014 19:41:12 +0000 (21:41 +0200)] 
THRIFT-2425 PHP: Server-side support for Multiplexing Services

Patch: Aldo Armiento

11 years agoTHRIFT-2420 Go argument parser for methods without arguments does not skip fields
Jens Geyer [Fri, 21 Mar 2014 19:37:54 +0000 (21:37 +0200)] 
THRIFT-2420 Go argument parser for methods without arguments does not skip fields

Patch: Frank Schroeder & Jens Geyer

11 years agoTHRIFT-2419 golang - Fix fmt.Errorf in generated code
Jens Geyer [Thu, 20 Mar 2014 22:42:58 +0000 (00:42 +0200)] 
THRIFT-2419 golang - Fix fmt.Errorf in generated code

Patch: Chris Bannister