Commit Graph

4147 Commits

Author SHA1 Message Date
Roger Meier
0d964d8e52 THRIFT-2937 Allow setting a maximum frame size
Set maximum frame size to 256MB (same as TNonblockingServer)

Client: cpp
Patch: Cristian Klein & Roger Meier
2015-02-15 19:24:50 +01:00
Sergei Nikulov
283899bf9a Use Boost C++ >= 1.53.0 2015-02-15 00:04:46 +01:00
Jens Geyer
22dddc9fab THRIFT-2996 Test for Haxe 3.1.3 or better
Client: Haxe
Patch: Jens Geyer

This closes #374
2015-02-12 23:12:17 +01:00
Randy Abernethy
96f4f07beb THRIFT-2964: nodejs file breakout
Client: NodeJS
Patch: Andrew de Andrade

Moves protocols and transports (among others) into seperate files.
2015-02-10 02:29:15 -08:00
Bosky
43509df15c THRIFT-2928 Rename the erlang test_server module Client: Erlang Patch: Bhasker Kode
Avoiding clashes with the in-built erlang app bundled since November '09
Used git mv, then renamed the module in the source.
Verified that git blame continues to work as expected.
2015-02-09 20:27:49 +01:00
Roger Meier
17aa474938 doc: update Smalltalk namespace 2015-02-09 12:09:19 +01:00
Roger Meier
e0ab13f63a doc: idl.md remove meta data 2015-02-09 12:08:07 +01:00
Roger Meier
c5026aaa37 doc: move idl.md doc from www to source tree 2015-02-09 12:03:59 +01:00
Jens Geyer
468e63b36d THRIFT-2914 explicit dependency to Lua5.2 fails on some systems
Client: Lua
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #373
2015-02-08 14:43:15 +01:00
Konrad Grochowski
3bc6424c76 THRIFT-2724 - Coding standards template added all over project
Client: All
Patch: Konrad Grochowski

This closes #371
2015-02-05 12:15:19 +01: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
Randy Abernethy
a7270074d3 THRIFT-2932: Node.js Thrift connection libraries throw Exceptions into event emitter
Client: Nodejs
Patch: Tom Croucher and Andrew de Andrade

This commits a limited set of hunks from teh original patch.
2015-02-04 13:18:53 -08:00
Roger Meier
281bdae6b2 THRIFT-2940 nodejs: move package.json to root folder
fix make dist & co
2015-02-03 23:45:21 +01:00
Jens Geyer
b3654df14c THRIFT-2189 add union support for go generator
Client: Go
Patch: Anton Lindström <lindztr@gmail.com> and Jens Geyer

This closes #369

This makes it possible to check if a field  is set and skips adding new ones.
Fields in unions are pointers by setting them as `t_field::T_OPTIONAL`.

To be sure that exactly one and only one field is set in a union, we count the
number of fields set and return an error if not exactly one field is set.

This is a breaking change and will require fields in unions to be passed in as
pointers.
2015-02-03 23:40:02 +01:00
Jens Geyer
2663ec43ab THRIFT-2955 Using list of typedefs does not compile on Go
Client: Go
Patch: Johannes Martinsson <johannes@saltside.se>

Be explicit about when to use true type.
2015-02-03 22:45:18 +01:00
Jens Geyer
12d430e723 THRIFT-2955 Using list of typedefs does not compile on Go
Client: Go
Patch: Johannes Martinsson <johannes@saltside.se>

Be explicit about when to use true type.
2015-02-03 22:34:41 +01:00
Randy Abernethy
8e73137c27 THRIFT-2963: add code coverage to nodejs lib
Client: Node
Patch: Tom Croucher and Andrew de Andrade
2015-02-03 00:04:40 -08:00
henrique
2f2d6ac7ea THRIFT-2368 New option: reuse-objects for Java generator
Client: Java
Patch: adam.p.hajduk

amendments to original patch
2015-02-03 12:47:31 +11:00
Nobuaki Sukegawa
a0c5ab711e THRIFT-2971 - C++ test and tutorial parallel build is unstable 2015-02-02 22:06:39 +01:00
Nobuaki Sukegawa
208738a6e3 THRIFT-2972 - Missing backstash in lib/cpp/test/Makefile.am 2015-02-02 22:04:29 +01:00
Roger Meier
1abd746b9c THRIFT-2940 nodejs: move package.json to root folder 2015-02-02 21:59:38 +01:00
Sergei Nikulov
9d8c1bf6f6 THRIFT-2850 CMake: Fixed Java lib build enable - Ant required to build java part of Thrift
This closes: #365
2015-02-02 21:47:14 +01:00
Randy Abernethy
97c4398c38 THRIFT-2963: repairs bad error refs and exceptions
Client: Nodejs
Patch: Tom Croucher

Repairs various error code blocks in nodejs TCompactProtocol
2015-02-02 06:51:25 -08:00
Randy Abernethy
cf743d7ac7 THRIFT-2959: reenable binary.test.js in testAll.sh
Client: Nodejs
Patch: Andrew de Andrade
2015-02-02 05:56:14 -08:00
Randy Abernethy
1097c40ed0 THRIFT-2934: make node server options optional
Client: Nodejs
Patch: Randy Abernethy
2015-02-02 05:18:59 -08:00
Randy Abernethy
4e1e132142 THRIFT-2933: Repairs incorrect double byte order in Node compact proto
Client Nodejs
Patch: Dan Heller
2015-02-02 04:43:23 -08:00
Jens Geyer
662eea9e69 THRIFT-2973 Update Haxe lib readme regarding Haxe 3.1.3
Client: haxe
Patch: Jens Geyer
2015-02-01 20:20:34 +01:00
Randy Abernethy
5bde9f75b8 THRIFT-2970:grunt-jsdoc fails due to dependency issues
Client: JS Lib
Patch: Randy Abernethy
2015-01-31 06:19:21 -08:00
jfarrell
8f2596ad54 THRIFT-2961: Service inheritance does not work with namespaced Ruby code
Client: rb
Patch: Jan Brauer

This closes #364

commit 111c4e77a78c1a82f526923f13534bb0027ef33f
Author: Jan Brauer <jan@jimdo.com>
Date: 2015-01-29T22:01:26Z
Make 'extends' work with 'rb:namespaced'.
commit 34cab3d7c77bd5e8325ac4f30f1091429c35905e
Author: Jan Brauer <jan@jimdo.com>
Date: 2015-01-29T22:25:03Z
Add test for namespaced service extension
2015-01-29 23:42:05 -05:00
jfarrell
4e16718e99 Thrift-2960: Fix namespace regression for Ruby
Client: rb
Patch: Jan Brauer

Add test that exposes the broken namespacing.

Fixes a bug introduced by #140.

This closes #363
2015-01-29 23:03:34 -05:00
Jens Geyer
176c9261ed THRIFT-2949 typo in compiler/cpp/README.md
Client: C++
Patch: Seokju Yun <noricube@gmail.com>

This closes #359
2015-01-29 00:30:08 +01:00
Jens Geyer
a7363f233f THRIFT-2953 TNamedPipeServerTransport is not Stop()able
Client: C#
Patch: Jens Geyer

This closes #362
2015-01-28 00:54:48 +01:00
Jens Geyer
7d88208945 THRIFT-2952 Improve handling of Server.Stop()
Client: C#
Patch: Jens Geyer

This closes #361
2015-01-28 00:52:45 +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
307144a5b5 THRIFT-2878 Go validation support of required fields
Client: Go
Patch: Chi Vinh Le <cvl@chinet.info>

This closes #304
2015-01-20 22:40:38 +01:00
Randy Abernethy
da80afe740 THRIFT-2936 Minor memory leak in CPP SSL
Client: CPP
Patch: Cristian Klein
2015-01-09 14:32:24 -08:00
Konrad Grochowski
f9c4be80a5 line endings fix
git merge on linux can fail due to wrong line endings...
2015-01-09 11:32:26 +01:00
David Helder
4a78c6eb86 THRIFT-1618: synchronize access to hashtable in FieldMetaData 2015-01-06 23:57:26 +01:00
Jens Geyer
4f2c0a066f THRIFT-2900 Python THttpClient does not reset socket timeout on exception
Client: Python
Patch: Aiden Scandella <aiden@uber.com>

This closes #322

Wrap THttpClient withTimeout in a try/finally
Otherwise the original value of the socket timeout is not restored properly.
2015-01-05 21:17:06 +01:00
Nobuaki Sukegawa
8016af800f THRIFT-2924 TNonblockingServer crashes when user-provided event_base is used 2015-01-04 16:50:59 +01:00
radekg
1d30558c8c THRIFT-2923 Initialise tpos and tstack in the Protocol constructor so writing to a protocol without a message does not fail.
This closes: #342
2015-01-04 13:55:52 +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
fd1b358559 THRIFT-2886 Integrate binary type in standard Thrift cross test
Client: Delphi
Patch: Jens Geyer
2015-01-03 17:37:18 +01:00
Jens Geyer
71e814a9a2 THRIFT-2886 Integrate binary type in standard Thrift cross test
Client: C#
Patch: Jens Geyer
2015-01-03 17:37:14 +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
Nobuaki Sukegawa
c444fb581d THRIFT-2925 CMake build does not work with OpenSSL nor anything installed in non-system location
This diff fixes them by correcting invalid CMake variable names:
* OPENSSL_... rather than OpenSSL_...
* LIBEVENT_... rather than Libevent_...
* Boost_INCLUDE_DIRS rather than Boost_INCLUDE_DIR
* LIBEVENT_INCLUDE_DIRS rather than LIBEVENT_INCLUDE_DIR
* ZLIB_INCLUDE_DIRS rather than ZLIB_INCLUDE_DIR

Note:
* OPENSSL_INCLUDE_DIR is correct (rather than ..._DIRS)
* Boost_INCLUDE_DIR exists and actually works for most cases but
  Boost_INCLUDE_DIRS is the one desinged to be included

Also, library headers are now included as SYSTEM headers.
2015-01-03 10:08:09 +01:00
Jens Geyer
5c10fd8cb1 Add-on-patch for THRIFT-2922 ($TRIAL used but not tested accordingly)
Client: Python
Patch: Jens Geyer

Simply added $TRIAL to configure output. Note that the actual issue is still unsolved.
2014-12-30 16:15:57 +01:00
Jens Geyer
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