John Boiles
5785279e2e
THRIFT-4448: Golang: do something with context.Context. Remove Go1.6 compatibility.
...
Client: go
This closes #1459
2018-03-12 18:35:17 -04:00
D. Can Celasun
4f77ab8e29
THRIFT-4285 Move TX/RX methods from gen. code to library
...
This change removes a lot of duplication from generated code and allows
the caller to customize how they can read from / write to the
transport. Backwards compatible adapters make the change compatible
with existing code in use by consuming applications.
Client: Go
This closes #1382
2017-11-03 18:21:40 -07:00
James E. King, III
0ad20bdbfe
THRIFT-4351: use travis build stages to optimize build,
...
avoiding duplicate rebuilds of the same image, and also
allow personal docker hub repositories for private fork
builds to be optimized. Move ubsan build to artful image
because it catches more stuff and fix what was found.
THRIFT-4345: solidify docker build strategy for maximum
coverage: trusty, xenial, artful as stock as they can be
THRIFT-4344: add top level language summary markdown and
update readme with a new image on the layered architecture
THRIFT-3847: remove VERSION macro from config.h which
was causing a conflict on artful builds.
THRIFT-4359: fix haxe map/set decode when key is binary,
as a missing break statement caused it to use an int
during decode
This closes #1389
2017-10-19 11:29:04 -04:00
Thomas Petazzoni
1744cdcb67
configure.ac, Makefile.am: introduce THRIFT variable to support cross-compilation
...
The thrift build system currently assumes that the thrift compiler is
always available in $(top_builddir)/compiler/cpp/thrift. However, in a
cross-compilation context, this location contains the thrift compiler
built for the target... which obviously will not run on the build
machine.
In order to support such cross-compilation situation, we introduce the
THRIFT variable as a an argument for the configure script (using
AC_ARG_VAR). If not specified, it defaults to the existing value of
using compiler/cpp/thrift from the build directory, but it can be
overridden when calling ./configure.
Note that $(top_builddir) cannot be used within the configure script,
so we simply use `pwd`, which is the same as the top_builddir.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This closes #1336
This closes #1350
2017-09-09 07:50:54 -07:00
James E. King, III
d7142b7e4f
THRIFT-4295: rework the docker build images, updating them and tuning the travis builds
...
This closes #1340
2017-09-04 18:09:34 -07:00
taozle
5c302e02c4
THRIFT-4260 Go context generation issue. Context is parameter in Interface not in implementation
...
Client: Go
Patch: taozle <zhangliyang26@gmail.com>
This closes #1312
2017-07-25 00:17:30 +02:00
taozle
c0d384a38c
THRIFT-4236 Support context in go generated code
...
Client: Go
Patch: taozle <zhangliyang26@gmail.com>
This closes #1309
2017-07-22 19:42:48 +02:00
D. Can Celasun
43fb34df28
THRIFT-4011 Sets of Thrift structs generate Go code that can't be serialized to JSON
...
Client: Go
Patch: D. Can Celasun <dcelasun@gmail.com>
This closes #1156
2017-02-21 22:32:49 +01:00
Nobuaki Sukegawa
fd02a30e58
THRIFT-3883 Go TestAllConnection fails with port 9090 collision
...
This closes #1066
2016-08-20 18:34:57 +09:00
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
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
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
Nobuaki Sukegawa
9b35a7c021
THRIFT-3495 Minor enhancements and fixes for cross test
...
This closes #750
2015-12-24 02:11:17 +09: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
a649e7473b
THRIFT-3337 Add testBool method to cross tests
...
This closes #611
2015-09-21 23:07:39 +02:00
Nobuaki Sukegawa
2fab3deb09
THRIFT-3296 - Go cross test does not conform to spec
2015-08-17 21:54:23 +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
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
Nobuaki Sukegawa
ef0a8fa62a
THRIFT-3138 "make check" parallel execution is underministic
2015-05-10 18:25:56 +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
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
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
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
557d6ea410
make clean should rm src/gen instead of emptying
2014-07-27 14:48:28 +02:00
Roger Meier
2591be2790
test/go: use mkdir -p
2014-07-26 09:40:07 +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
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
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