Roger Meier
19e32dc0ed
THRIFT-2850 CMake for Apache Thrift
...
add test/cpp and lib/py
2015-04-12 22:03:00 +02:00
Roger Meier
5af78c8776
Revert "THRIFT-3014 AppVeyor support - fix format"
...
This reverts commit 81b3c440c6
.
commit included modified CMakeLists.txt files, as part from local test
2015-04-12 21:43:12 +02:00
Roger Meier
81b3c440c6
THRIFT-3014 AppVeyor support - fix format
2015-04-12 21:06:11 +02:00
Winger Pun
b1a35da916
THRIFT-3088 TThreadPoolServer with Sasl auth may leak CLOSE_WAIT socket
...
TThreadPoolServer with Sasl auth may leak CLOSE_WAIT socket
2015-04-12 17:46:35 +02:00
Roger Meier
79e971e7de
c_glib: fix some warnings
2015-04-12 13:11:33 +02:00
Jens Geyer
86f7350f90
THRIFT-3076 Compatibility with Haxe 3.2.0
...
Client: Haxe
Patch: Jens Geyer
This closes #435
2015-04-11 02:04:09 +02:00
Jim King
8ccd634946
THRIFT-3077 TFileTransport fix ignored ftruncate result
2015-04-07 23:23:31 +02:00
Roger Meier
7110ab2951
THRIFT-3079 java: TNonblockingServerSocket's logger is not named after TNonblockingServerSocket
...
Patch: Xiaoshuang LU
2015-04-07 23:08:29 +02:00
Simon Hürlimann (CyT)
b818185cf8
nodejs: Add main header to example README.
2015-04-07 22:59:12 +02:00
Simon Hürlimann (CyT)
d732321bed
nodejs: Fix Markdown syntax for README.
2015-04-07 22:59:12 +02:00
Lei Feiwei
b5ebcd199c
THRIFT-3080: use select() instead poll() for early windows compatibility.
2015-04-07 22:38:25 +02:00
abadcafe
38772c9c8d
THRIFT-3080: fix connection leak of C++ Nonblocking Server while huge number connections are accepted and unix socket stream fd is busy.
2015-04-07 22:38:25 +02:00
Roger Meier
9226590dc0
THRIFT-3065 java: Update libthrift dependencies (slf4j, httpcore, httpclient)
2015-04-07 22:12:20 +02:00
Jim King
7848d887e0
THRIFT-3086 fix a few minor valgrind identified issues
2015-04-07 20:46:48 +02:00
Jens Geyer
7fc33be18c
THRIFT-3085 thrift_reconnecting_client never tries to reconnect
...
CLient: Erlang
Patch: NOMORECOFFEE <github.coffee@hotmail.com>
This closes #427
gen_server does not handle message try_connect after unsuccessful connection, and gen_server always return {error, noconn}
2015-04-06 17:51:24 +02:00
Jens Geyer
1dc265301d
THRIFT-3070 Add ability to set the LocalCertificateSelectionCallback
...
Client: C#
Patch: Hans-Peter Klett <hansk@spectralogic.com>
This closes #415
Added an optional LocalCertificateSelectionCallback. Also cleans up the connection when a secure authentication fails on the server.
2015-04-05 19:27:19 +02:00
Roger Meier
3815e0b2dc
THRIFT-1025 C++ ServerSocket should inherit from Socket with the necessary Ctor to listen on connections from a specific host (similar to perl library)
...
add new test to CMakeLists.txt
2015-04-04 16:26:30 +02:00
Roger Meier
011445528f
THRIFT-1025 C++ ServerSocket should inherit from Socket with the necessary Ctor to listen on connections from a specific host (similar to perl library)
...
Patch: Jim King <jim.king@simplivity.com>
This closes PR: #417
2015-04-04 16:14:08 +02:00
Jens Geyer
8ffabb02c2
THRIFT-1125 Multiplexing support for the Ruby Library
...
Client: Ruby
Patch: André Aizim Kelmanson <akelmanson@gmail.com>
This closes #406
2015-04-03 14:31:27 +02:00
Jens Geyer
434edf6d5d
THRIFT-3066 C++ TDenseProtocol assert modifies instead of checks
...
Client: C++
Patch: James E. King, III <jim.king@simplivity.com>
2015-04-03 12:52:01 +02:00
Jens Geyer
c2145725e1
THRIFT-3033 Perl: Support for Multiplexing Services on any Transport, Protocol and Server
...
Client: Perl
Patch: Harry S. <hs2323@gmail.com> & Jens Geyer
This closes #405
This closes #418
2015-04-02 22:54:02 +02:00
Jens Geyer
af577247c9
THRIFT-3050 Client certificate authentication for non-http TLS in C#
...
Client: C#
Patch: Hans-Peter Klett <hansk@spectralogic.com>
This closes #410
This plumbs the remote certificate validation callback down to the server side authentication code. When the callback is set, we set the client certificate required flag. In practice, the validation callback still gets called even when the client doesn't supply a certificate.
I've taken the liberty of using slightly more modern C# syntax to shorten up the affected method.
2015-03-30 23:44:51 +02:00
Roger Meier
6fc2115e18
THRIFT-2441 ccp: Cannot shutdown TThreadedServer when clients are still connected
2015-03-29 20:56:04 +02:00
Randy Abernethy
664dd0a013
THRIFT-123: TZlibTransport for Java
...
Client: Java
Patch: Dragan Okiljevic, Keith Chew, Randy Abernethy
Adds a Java 1.7 based TZlibTransport to the Java library.
2015-03-29 10:10:02 -07:00
Randy Abernethy
cada37008c
THRIFT-3048: Repair node i64 compact interface
...
Client: Node lib
Patch: Will Demaine
Github Pull Request:
This closes #403
commit 11d0a661985cabe63c1dc1b47576bb2b2d6c2e54
Author: Willyham <willyd@uber.com>
Date: 2015-03-20T22:28:01Z
Make TCompactProtocol always return an object for i64
2015-03-26 16:03:08 -07: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
Roger Meier
a2d12b6ee3
ruby: fix typo
2015-03-24 21:15:06 +01:00
Roger Meier
47accfc802
nodejs: fix typo
2015-03-24 21:01:46 +01:00
Roger Meier
2bb6f51dda
THRIFT-3031 Java: migrate "shouldStop" flag to TServer
...
Patch: John Wang & Roger Meier
2015-03-23 20:56:27 +01:00
Roger Meier
e6789480d2
THRIFT-1909 Java: Add compiler flag to use the "option pattern" for optional fields
...
Patch: Eirik Sletteberg & rebase by Wouter Lammers
2015-03-23 20:41:15 +01:00
jfarrell
d565e2f496
Thrift-1784: pep-3110 exception handling
...
Client: py
Patch: jfarrell
Updates python lib for pep-3110
2015-03-18 21:02:47 -04:00
Jens Geyer
1d1bca2738
THRIFT-3027 Go compiler does not ensure common initialisms have consistent case
...
Client: Go
Patch: Magrath <paul@paulmagrath.com>
This closes #394
2015-03-14 16:38:43 +02:00
Jens Geyer
28c1c19f91
THRIFT-3023 Go compiler is a little overly conservative with names of attributes
...
Client: Go
Patch: Paul Magrath <paul@swiftkey.com>
This closes #389
2015-03-07 14:25:00 +01:00
Jens Geyer
c7cf379aae
THRIFT-3030 TThreadedServer: Property for number of clientThreads
...
Client: C#
Patch: Nils Hügelmann
2015-03-07 14:24:58 +01:00
Jens Geyer
d6834409b4
THRIFT-3018 Compact protocol for Delphi, added another test case
...
Client: Delphi
Patch: Jens Geyer
2015-03-07 14:24:55 +01:00
Jens Geyer
624781c1c4
THRIFT-3026 TMultiplexedProcessor does not have a constructor
...
Client: Haxe
Patch: Jens Geyer
This closes #392
2015-03-06 02:12:29 +01:00
Jens Geyer
65ee9838bc
THRIFT-3025 Change pure Ints into @enums
...
Client: Haxe
Patch: Jens Geyer
This closes #391
2015-03-06 01:27:48 +01:00
Jens Geyer
8cc78c101a
THRIFT-3024 User-Agent "BattleNet" used in some Thrift library files
...
Client: AS3, Haxe
Patch: Jens Geyer
This closes #390
2015-03-06 01:26:13 +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
Jens Geyer
a6ea4442dd
THRIFT-3018 Compact protocol for Delphi, one missing test case added
...
Client: Delphi
Patch: Jens Geyer
2015-03-03 21:35:40 +01:00
Randy Abernethy
f702fed427
THRIFT-3020:Repair CPP11 init of member in TFramedTrans
...
Client: CPP
Patch: Zachary Sims
Github Pull Request:
This closes #384
commit dacbee68444aeded794ff445559367b538113c91
Author: Zachary Sims <z.sims@qsr.com.au>
Date: 2015-03-03T05:12:31Z
Removes C++11-style field initialisation in TBufferTransports.h
2015-03-03 08:14:12 -08:00
Jens Geyer
f0e63317c7
THRIFT-3018 Compact protocol for Delphi
...
Client: Delphi
Patch: Jens Geyer
2015-03-02 02:16:11 +01:00
Jens Geyer
96eff17e50
THRIFT-3017 order of map key/value types incorrect for one CTOR
...
Client: Delphi
Patch: Jens Geyer
2015-03-02 02:12:45 +01:00
Roger Meier
6b61601cc1
THRIFT-2180 Integer types issues in Cocoa lib on ARM64
...
CLient: Cocoa
Patch: Jeremy W. Sherman
This closes #372
2015-03-01 12:32:50 +01:00
Jens Geyer
00a4e3e802
THRIFT-3009 TSSLSocket does not use the correct hostname (breaks certificate checks)
...
Client: Go
Patch: Mathias Gottschlag <mgottschlag@gmail.com>
2015-02-27 23:15:21 +01:00
Jens Geyer
962e41078b
THRIFT-3006 Attach 'omitempty' json tag for optional fields in Go
...
Client: Go
Patch: Peter Woodman <peter@vineapp.com>
This closes #380
2015-02-27 22:53:00 +01:00
Randy Abernethy
bd60b92c6f
THRIFT-3008: Node.js server does not fully support exceptions
...
Client: Node.js
Patch: Nobuaki Sukegawa
Github Pull Request:
This closes #382
commit 0c0d51ca1dafa5f8e0004563df780a92580590f3
Author: Nobuaki Sukegawa <nsukeg@gmail.com>
Date: 2015-02-22T16:49:22Z
THRIFT-3008 - Node.js server does not fully support exception
2015-02-26 16:59:14 -08:00
Jens Geyer
2ad6c307be
THRIFT-3012 Timing problems in NamedPipe implementation due to unnecessary open/close
...
Client: Delphi
Patch: Jens Geyer
2015-02-27 00:39:36 +01:00
Jens Geyer
8b14d179c4
THRIFT-3011 C# test server testException() not implemented according to specs
...
Client: C#
Patch: Jens Geyer
2015-02-27 00:27:00 +01:00
Konrad Grochowski
12b06e4f8c
THRIFT-2870 - C++: JSON protocol will read & write doubles using "C" locale
...
Client: C++
Patch: Simon Falsig
2015-02-23 17:19:33 +01:00
Jens Geyer
80aa53e6bc
THRIFT-3001 C# Equals fails for binary fields (byte[])
...
Client: C#
Patch: Benjamin Schulz, Testcase added by Jens Geyer
2015-02-18 23:25:13 +01:00
Randy Abernethy
d8187c5ff1
THRIFT-2976: add browserify support and tests
...
Client: nodejs
Patch: Andrew de Andrade
2015-02-16 01:25:53 -08: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
Roger Meier
4702fe63c8
THRIFT-2930 erlang module thriftTest_thrift referenced instead of thrift_test_thrift
...
This closes #347
commit b8da46b6908b826d3fb4f6077455e6a57fb8a04f
Author: Bosky <bosky@helpshift.com>
Date: 2015-01-04T22:06:39Z
THRIFT-2930 erlang module thriftTest_thrift referenced instead of thrift_test_thrift
Client: Erlang
Patch: Bhasker Kode
Replace thriftTest_thrift with thrift_test_thrift in a test and the Readme.
2015-02-15 21:17:30 +01:00
Randy Abernethy
ded6401da4
THRIFT-2999 remove CR/LF post .getattributes text = auto
...
Client: all
Patch: Randy Abernethy
2015-02-15 11:28:40 -08:00
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
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
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
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
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
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
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
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
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
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
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
Jens Geyer
4461a2fc16
THRIFT-2910 libevent is not really optional
...
Client: C++
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>
This closes #337
2014-12-23 18:22:54 +01:00
Jens Geyer
2ac3a3c821
THRIFT-2912 Autotool build for C++ Qt library is invalid
...
Client: C++
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>
This closes #336
* Fix incorrect AC_PATH_PROGS usage
* Exclude generated source code from distribution
2014-12-23 18:18:58 +01:00
Kirby1337
6d9a3ca7d9
THRIFT-2901 Fix for generated TypeScript functions + indentation of JavaScript maps
2014-12-21 17:38:58 +01:00
Nobuaki Sukegawa
6622877a09
THRIFT-2098 Add support for Qt5+
2014-12-21 16:36:47 +01:00
Nobuaki Sukegawa
6304a53414
THRIFT-2903 Qt4 library built with CMake does not work
2014-12-21 16:36:46 +01:00
Nobuaki Sukegawa
2825664f25
THRIFT-2893 CMake build fails with boost thread or std thread
...
Following changes are made to fix the build
* Add USE_..._THREAD compiler definitions correctly
* Link to boost_thread and boost_system when configured with boost thread
* Link to pthread if platform is posix and std thread is used
* Use PlatformThreadFactory in test code
2014-12-21 16:36:46 +01:00
Konrad Grochowski
38bf23404c
THRIFT-2907 - macro ntohll defined only when needed
...
Client: C++
Patch: Jon Parise
This closes #334
2014-12-20 13:23:27 +01:00
Konrad Grochowski
ec8d8778b5
THRIFT-2906 - linking with boost_unit_test_framework made more portable
...
Client: C++
Patch: Jon Parise
BOOST_TEST_LDADD Makefile variable added and should be used when linking
with boost_unit_test_framework
This closes #333
2014-12-20 12:50:30 +01:00
Jens Geyer
6af074e419
THRIFT-2880 Read the network address from the listener if available.
...
Client: Go
Patch: awaw fumin <awawfumin@gmail.com>
2014-12-18 22:34:53 +01:00
Jens Geyer
3bb34df8f3
THRIFT-2904 json_protocol_test.go fails
...
Client: Go
Patch: Jens Geyer
2014-12-18 00:14:46 +01:00
Jens Geyer
9f9535c5fb
THRIFT-2890 binary data may lose bytes with JSON transport under specific circumstances
...
Client: Delphi
Patch: Jens Geyer
minor fix regarding two warnings introduced with this patch
2014-12-14 15:00:34 +01:00
Jens Geyer
15fe1cb5f4
THRIFT-2891 binary data may cause a failure with JSON transport under specific circumstances
...
Client: Go
Patch: Jens Geyer
2014-12-14 03:18:18 +01:00
Jens Geyer
d8bddbcefb
THRIFT-2890 binary data may lose bytes with JSON transport under specific circumstances
...
Client: Delphi
Patch: Jens Geyer
This closes #319
This patch consists of a ported version of the base64 encoding/decoding used in C#. It handles the above case correctly, decodes data more efficiently in-place, and removes the dependency to Indy (IdCoderMIME).
2014-12-14 00:41:33 +01:00
Jens Geyer
4991574b5e
THRIFT-2884 Map does not serialize correctly for JSON protocol in Go library
...
Reverted commit 0a378709ab
See JIRA for details
2014-12-13 23:48:33 +01:00
Pascal Bach
d5f87e1f21
CMake: Add CMake support for Thrift libraries
...
Currently the following libraries are supported:
- C++
- C_Glib
- Java (using Ant wrapper)
The compilers CMake file is adjusted to work with the new global CMakeLists.txt file.
Signed-off-by: Roger Meier <r.meier@siemens.com>
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
Also-by: Sergei Nikulov <sergey.nikulov@gmail.com>
2014-12-13 22:02:29 +01:00
Jon Parise
a195a2574e
THRIFT-2887 Respect --with-openssl when building C++ support.
2014-12-13 21:36:25 +01:00
winsweet
de76a3772b
THRIFT-2882 Lua Generator: using string.len funtion to get struct(map,list,set) size
2014-12-13 21:29:55 +01:00
Jens Geyer
0a378709ab
THRIFT-2884 Map does not serialize correctly for JSON protocol in Go library
...
Client: Go
Patch: Liangliang He <lliang.he@gmail.com>
This closes #312
2014-12-10 21:04:28 +01:00
Jens Geyer
119869a204
THRIFT-2779 PHP TJSONProtocol encode unicode into UCS-4LE which can't be parsed by other langurage bindings
...
Client: PHP
Patch: Liangliang He <lliang.he@gmail.com>
This closes #313
This closes #244
2014-12-10 20:54:14 +01:00
Konrad Grochowski
3876ea70a2
make style applied
2014-12-09 15:24:56 +01:00
Jens Geyer
1f42d31575
THRIFT-2868 Enhance error handling in the Go client
...
Client: Go
Patch: Chi Vinh Le <cvl@chinet.info>
This closes #297
2014-12-08 21:49:54 +01:00
Jens Geyer
57cd421de3
THRIFT-2881 Handle errors from Accept() correctly
...
Client: Go
Patch: awaw fumin <awawfumin@gmail.com>
This closes #309
Often in tests, servers are started and closed when a test case is
finished, as in the standard library's "httptest" package.
http://golang.org/pkg/net/http/httptest/#example_Server
However, currently the "p.quit" channel of TSimpleServer does not
correctly handle the case when the listener socket is Closed, resulting
in spurious logs with the text "Accept err: ...".
For details of handling closed listener sockets, see
https://code.google.com/p/go/issues/detail?id=4373
http://zhen.org/blog/graceful-shutdown-of-go-net-dot-listeners/
http://stackoverflow.com/a/13419724/2182406
2014-12-08 21:31:33 +01:00
winsweet
38a1c66428
THRIFT-2879 TMemoryBuffer: using lua string in wrong way
2014-12-08 20:54:46 +01:00
Nobuaki Sukegawa
d0d7a65581
THRIFT-2838 TNonblockingServer can bind to port 0 (i.e., get an OS-assigned port) but there is no way to get the port number
2014-12-07 17:00:02 +01:00
Konrad Grochowski
4c1fde226e
make style applied
2014-12-06 19:54:26 +01:00
Roger Meier
bf9603c77e
THRIFT-2846 Expose ciphers parameter from ssl.wrap_socket()
...
fix: add missing comma
2014-12-06 18:52:35 +01:00
Pascal Bach
3de6b8fe23
THRIFT-2873 Make TPipe and TPipeServer working with unicode on windows
...
Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2014-12-06 16:30:03 +01:00
Konrad Grochowski
9db4b51b66
THRIFT-2876: C++ - tests: coping __isset structure in copy constructor
...
Client: C++
Patch: Nobuaki Sukegawa
Test verifies THRIFT-2526
This closes #303
2014-12-04 23:32:52 +01:00
Konrad Grochowski
6794698a12
THRIFT-2874: C++ - typo in TDenseProtocol comment fixed
...
Client: C++
Patch: Nobuaki Sukegawa
This closes #302
2014-12-04 23:22:41 +01:00
Konrad Grochowski
37b7a0afe0
THRIFT-2874: C++ - unused field removed from TBinaryProtocol
...
Client: C++
Patch: Nobuaki Sukegawa
This closes #301
2014-12-04 22:35:39 +01:00
Jens Geyer
fb05cf67db
THRIFT-2789 TNonblockingServer leaks socket FD's under load
...
Client: C++
Patch: Sergey <drigh@deviantart.com> and Qiao Mu <qiaomuf@gmail.com>
2014-12-04 21:52:28 +01:00
Jens Geyer
78c57e1720
THRIFT-2871 Missing semicolon in thrift.js
...
Client: NodeJS
Patch: Chi Vinh Le <cvl@chinet.info>
This closes #300
JSHint complains about missing semicolon. Might break older browser compatibility.
2014-12-02 21:22:04 +01:00
Randy Abernethy
878483759c
THRIFT-2844:Add Browserify support to node
...
Client: Node
Patch Cameron Ring
Adds Node support for ArrayBuffer when run in Browser
under Browserify.
2014-12-02 05:42:00 -08:00
Zach Steindler
3a5252999d
THRIFT-2825 Supplying unicode to python Thrift client can cause next request arguments to get overwritten
...
Make sure we clear wbuf on exception, so it doesn't contain a
partial function call.
Patch: Zach Steindler
This closes #282
2014-12-02 00:14:11 +01:00
Roger Meier
fc1303e2b5
THRIFT-2846 Expose ciphers parameter from ssl.wrap_socket()
...
Patch: Rodney Richardson
This closes #277
2014-12-02 00:11:54 +01:00
Anatol Pomozov
4bf97c196a
Do not drop CFLAGS from c_glib compilation
...
CFLAGS contains important flags. Dropping it introduces e.g. such issues:
https://sourceware.org/bugzilla/show_bug.cgi?id=13979
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
This closes #284
2014-12-02 00:10:11 +01:00
Konrad Grochowski
dae6d3cbd1
'make style' applied
2014-12-01 11:26:07 +01:00
Jens Geyer
527b6d9c86
THRIFT-2854 Go Struct writer and reader looses important error information
...
Client: Go
Patch: Chi Vinh Le <cvl@chinet.info>
This closes #291
Fixes error reporting in go generator
2014-11-30 15:24:08 +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
Jens Geyer
1e7971cfff
THRIFT-2851 Remove strange public Peek() from Go transports
...
Client: Go
Patch: Chi Vinh Le
This closes #283
In its current form Peek() is not only useless, but misleading.
If anyone can provide a better implementation, please do.
2014-11-25 21:43:54 +01:00
Jens Geyer
740db54d1a
THRIFT-2853 Adjust comments that doesn't apply anymore because of THRIFT-2852
...
Client: Go
Patch: Chi Vinh Le <cvl@chinet.info> & Jens Geyer
This closes #286
2014-11-25 00:37:33 +01:00
Jens Geyer
cb0afcc035
THRIFT-2852 Better Open/IsOpen/Close behavior for StreamTransport.
...
Client: Go
Patch: Chi Vinh Le <cvl@chinet.info>
This closes #285
2014-11-24 22:55:42 +01:00
Konrad Grochowski
28d9315de8
THRIFT-2849: nodejs - some typos fixed
...
Client: Node.JS
Patch: Konrad Grochowski
codespell was trying to make wrong fix, so this had to be applied
manually
2014-11-24 11:36:20 +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
eab29a0da9
THRIFT-2848 certain Delphi tests do not build if TypeRegistry is used
...
Client: Delphi
Patch: Jens Geyer
2014-11-22 22:06:58 +01:00
Jens Geyer
e50f12a5ff
THRIFT-2847 function IfValue() is a duplicate of System.StrUtils.IfThen
...
Client: Delphi
Patch: Qian Xu <sx.away@googlemail.com>
This closes #280
2014-11-22 21:58:59 +01:00
Jens Geyer
5f9bdffd2a
THRIFT-2841 Add comprehensive integration tests for the whole Go stack
...
Client: Go
Patch: Chi Vinh Le <cvl@chinet.info>
This closes #273
2014-11-18 22:18:15 +01:00
Jens Geyer
0dd4801ce5
THRIFT-2839 TFramedTransport read bug
...
Client: Go
Patch: Chi Vinh Le <cvl@chinet.info>
2014-11-18 22:18:13 +01:00
Jens Geyer
2f971e8f74
THRIFT-2817 Smarter buffer peeking for json protocols
...
Client: Go
Patch: Chi Vinh Le <cvl@chinet.info>
2014-11-18 22:18:09 +01:00
Randy Abernethy
9c0316bbf3
THRIFT-2831:Eliminates dead code in node web server
...
Clinet: Node
Patch: Chi Vinh Le
Github Pull Request: This closes #270
2014-11-18 12:11:31 -08:00
jfarrell
0a93dcde9f
THRIFT-2840: Cabal file points to LICENSE file outside the path of the Haskell project.
...
Client: hs
Patch: Sean Parsons
Update Thrift.cabal license to copy of local license file
This closes #272
2014-11-18 08:45:41 -05: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
Roger Thomas
6fb5923711
THRIFT-2807 PHP CS Fix
...
This closes #252
Patch: Roger Thomas
2014-11-16 22:41:20 +01:00
Randy Abernethy
2e091f681b
THRIFT-2819
...
Client Node
Patch: Chi Vinh Le
Adds websocket client to Node with tests
2014-11-15 23:05:22 -08:00
Randy Abernethy
8c16ed79c4
THRIFT-2823:grunt tests failing
...
Client: JS
Patch: Randy Abernethy
The lib/js/test/build.xml was copying thrift.js incorrectly.
2014-11-15 21:29:18 -08:00
Jens Geyer
b029aa8b82
THRIFT-2829 Support haxelib installation via github
...
Client: Haxe
Patch: Jens Geyer
This closes #268
2014-11-15 23:54:16 +01:00
Randy Abernethy
b2652300c0
THRIFT-2823: grunt jsjq test fail
...
Client: JS
Patch: Randy Abernethy
Node no longer supports loading thrift.js from
parent dir, moved to test/build
2014-11-15 12:02:57 -08:00
Konrad Grochowski
8c12b19eb7
THRIFT-2827: C++ - Remove unused tr1/functional include from ProcessorTest
...
Client: C++
Patch: Aiden Scandella
This closes #267
Include was unused yet was causing compilation problems on platforms
without c++11 tr1
2014-11-15 12:57:23 +01:00
Jens Geyer
565ea0c497
THRIFT-2818 Trailing commas in array
...
Client: Node.js
Patch: Chi Vinh Le
This closes #263
2014-11-14 21:29:19 +01:00
Jens Geyer
e5ff9a860d
THRIFT-2815 Support for Multiplexing Services on any Transport, Protocol and Server
...
Client: Haxe
Patch: Jens Geyer
This closes #262
2014-11-11 01:39:38 +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
6794c62485
THRIFT-2812 Go server adding redundant buffering layer
...
Client: Go
Patch: Craig Peterson
This closes #259
It has been pointed out to me that #249 was wrong. It was not needed to allow server sockets to use buffering. The correct way is to pass in a TBufferedTransportFactory to the server. This will create buffered sockets as the processor starts up.
This change creates extra buffering, and is actually a real pain to deactivate. Sorry.
2014-11-11 00:11:16 +01:00
Jens Geyer
4c33094050
THRIFT-2811 Make remote socket address accessible
...
Client: Go
Patch: Craig Peterson
This closes #255
Go Library - Make remote socket address accessible
In my server I would like to log the remote ip address of incoming connections. This patch makes the addr available on TSocket via an accessor, so my server implementation can read it and log it or do other things with it.
2014-11-10 21:22:34 +01:00
Konrad Grochowski
1cf9612a70
THRIFT-2810: java - clean-up resources on error in TServerSocket constructor
...
Client: Java
Patch: Guido de Caso
TServerSocket will call close() in constructor, when error is detected
This closes #258
2014-11-10 19:07:40 +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
Konrad Grochowski
fed887f9d9
THRIFT-2804: java - TAsyncProcessor interface extracted from TBaseAsyncProcessor
...
Client: Java
Patch: Michael Donaghy
This closes #253
2014-11-07 18:28:00 +01:00
Jens Geyer
a4b72eed2c
THRIFT-2803 TCP_DEFER_ACCEPT not supported with domain sockets
...
Client: C++
Patch: Jens Geyer
2014-11-06 21:14:04 +01:00
Konrad Grochowski
b3f5ffc42d
THRIFT-2801: cpp - compilation warnings removed from test suite
...
Client: C++
Patch: Konrad Grochowski
Unused parameters mostly
2014-11-06 19:32:59 +01:00
Konrad Grochowski
cc092b37c8
THRIFT-2773: java - fixed oneway support while using TServiceClient
...
Client: java
Patch: Konrad Grochowski
new method for oneway call provided by TServiceClient
and compiler will now use it
This closes #241
2014-11-05 19:00:54 +01:00
Roger Meier
3fa5d89e16
c_glib: remove -Werror
2014-11-02 12:19:54 +01:00
Roger Meier
6f28c04560
cpp: fix automake dependencies
2014-11-01 20:31:44 +01:00
jfarrell
5b02960648
THRIFT-2046:The worktask can be timed out in TThreadPoolServer (Java) when the max# thrift thread is reached
...
Client: java
Patch: Brock Noland
Introduces a task timeout for unexecuted tasks
2014-10-29 22:27:34 -04:00
Jens Geyer
cc15dff127
THRIFT-2791 Allowing use of buffered sockets in go server
...
Client: Go
Patch: Craig Peterson
This closes #249
2014-10-29 19:54:58 +02:00
Jens Geyer
fdd8d13bd4
THRIFT-2792 Wrong option level for setsockopt(...TCP_DEFER_ACCEPT)
...
Client: C++
Patch: Sven-Ola <sven-ola.tuecke@numberfour.eu>
2014-10-29 19:42:26 +02:00
Jens Geyer
902b7af4c8
THRIFT-2654 reduce number of server exceptions
...
Client: C#
Patch: Jens Geyer
2014-10-23 19:36:36 +02:00
Roger Meier
035870d333
c_glib: fix automake dependencies
2014-10-22 23:43:05 +02: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
Lei Feiwei
b006a50783
THRIFT-2788: enable TCP keep alive for sockets in java lib.
...
This closes #248
Signed-off-by: Roger Meier <roger@apache.org>
2014-10-21 23:49:50 +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
Jens Geyer
9b0c47f77e
THRIFT-2787 Delphi Lib README missing
...
Client: Delphi
Patch: Jens Geyer
2014-10-17 10:22:14 +02:00
Jens Geyer
157691fa98
THRIFT-2785 Wrap errors in iostream_transport.go
...
Client: Go
Patch: GitHub user cvlchinet <cvl@chinet.info>
This closes #246
Wrap errors in iostream_transport.go using NewTTransportExceptionFromError
When I used the StreamTransport to do unit tests I noticed that the EOF TTransportException is not correctly thrown. I quickly found out that the errors in iostream_transport.go where not wrapped with NewTTransportExceptionFromError.
2014-10-13 21:34:51 +02:00
Roger Meier
ec300e33d4
THRIFT-1462 add more strict compiler flags
...
Patch: Roger Meier
2014-10-13 02:13:35 +02:00
Randy Abernethy
1107b17ae4
THRIFT-2783:Prop bin encoding in node
...
Client: Node Lib
Patch: John Campbell
Fixes node web socket lib bin encoding propagation.
2014-10-11 13:42:31 -07:00
Jens Geyer
7a03611fae
THRIFT-2782: D: Timing-insensitive unit tests for thrift.internal.resource_pool.
...
Client: D
Patch: David Nadlinger
This closes #245
2014-10-11 11:19:35 +02:00
Jens Geyer
2adfb0a8d3
THRIFT-2776 D tests failing
...
Client: D
Patch: Jens Geyer
Temporarily disabled unittest, fails on some systems due to race conditions
2014-10-10 19:31:14 +02:00
Jens Geyer
18502ee177
THRIFT-2781: D compiler stuck at idlgen due to compiler bug
...
Client: D
Patch: Jens Geyer
Temporarily disabled idlgen (experimental feature, not required), to be fixed later.
2014-10-10 19:30:58 +02:00
Jens Geyer
62d2af7cd3
THRIFT-2775 static assert fails in src/thrift/internal/ctfe.d
...
Client: D
Patch: Konrad Grochowski
2014-10-09 20:56:44 +02:00
alisdair sullivan
ec71f2ebc5
THRIFT-2777: move erlang test files into .eunit scratch dir
...
client: erlang
patch: alisdair sullivan
tests could fail with eaccess error if run as an account with
innapropriate permissions
2014-10-09 12:38:55 +02:00
Konrad Grochowski
07218673b0
THRIFT-2757: py - fixed checkIntegerLimits in TProtocol.py
...
Client: Python
Patch: Bret Curtis
I was applying patch, refactoring method names and profiling method, all at once
and in that commotion code in commit was half refactored. This commit fixes it.
2014-10-09 12:18:25 +02:00
jfarrell
dabdf659ef
THRIFT-2778 - nodejs build cleanup
...
Client: nodejs
Patch: jfarrell
nodejs test file cleanup
2014-10-08 23:41:47 -04:00
jfarrell
f2319457f2
THRIFT-2269: Can deploy libthrift-source.jar to maven center repository
...
Client: build
Patch: jfarrell
Fix java src package
2014-10-08 23:24:37 -04: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
Roger Meier
25023b16eb
THRIFT-809 Javascript client: Please make required fields actually required.
...
Patch: noazark
Github Pull Request: This closes #232
2014-10-09 02:01:17 +02:00
Roger Meier
275278e00c
lib/js/test/test.html: fix thrift.js include
2014-10-09 01:28:31 +02:00
Roger Meier
87caecf6f1
THRIFT-2705 make a package out of the haskell libraries for thrift
...
Patch: Kasper Janssens
Github Pull Request: This closes #222
2014-10-09 00:55:01 +02:00
Roger Meier
964082a8eb
THRIFT-2712 PHP: add "json" option to create JsonSerializable code
...
This patch adds a "json" option to PHP code generation that will
make generated classes implement JsonSerializable, so thrift
objects may be converted to json using json_encode() easily.
If the "validate" option is enabled, the object's write validator
will be called, beyond that the jsonSerialize() method only outputs
non-null fields in the JSON object (JSON parsers get grumpy if you
send them null where they expect to see a number).
Patch: Stig Bakken
Github Pull Request: This closes #219
2014-10-08 23:41:18 +02:00
Konrad Grochowski
d5f3be5ebd
THRIFT-2757: py - checkIntegerLimits optimized
...
Client: Python
2014-10-08 15:40:00 +02:00
Konrad Grochowski
93fea15b51
THRIFT-2757: py - Added integer limits checks in compact and JSON protocols
...
Client: Python
Patch: Bret Curtis
This closes : #234
2014-10-08 13:35:54 +02:00
Roger Meier
5e58b80c8b
THRIFT-2767 hs: Transport.Empty is not externally available
...
Patch: Koen De Keyser
This Closes : #223
2014-10-08 11:59:44 +02:00
jfarrell
3da090642c
THRIFT-2774: Add documentation for new erlang case feature flag
...
client: erlang
patch: alisdair sullivan
document the `legacynames` compiler option
2014-10-08 01:18:07 -04:00
Jens Geyer
2771991ca2
THRIFT-2770 thrift.internal.traits unittest fails due to std.metastrings import
...
Client: D
Patch: David Nadlinger
This closes #237
I originally wrote what became std.traits.SetFunctionAttributes as thrift.internal.traits.ChangeFuncAttrs. Now that it has been in Phobos for a number of releases, remove the local copy. This is both a cleanup and fixes the -unittest build in 2.066, where std.metastrings (which was just a stray import anyway) has finally been removed.
2014-10-07 21:51:35 +02:00
Jens Geyer
8f8eaf376f
THRIFT-2769 std.traits.pointerTarget is deprecated
...
Client: D
Patch: David Nadlinger
This closes #236
2014-10-07 21:42:43 +02:00
Jens Geyer
196c5afbb1
THRIFT-2768: Whitespace Fixup
...
Client: General (Makefile.am)
Patch: Jens Geyer
Reverted makefile.am - tabs are not optional there
2014-10-03 21:12:58 +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
d5436f5cf7
THRIFT-2768: Whitespace Fixup
...
Client: C#, Delphi
Patch: Jens Geyer
2014-10-03 20:12:40 +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
jfarrell
63ad5f6f51
Thrift-2715:Wrong Import-Package directive in MANIFEST
...
Client: Java
Patch: Zlika
Updates java build.xml import headers for OSGI.
2014-10-01 21:44:30 -04:00
Jens Geyer
656a2fbdae
THRIFT-1847 TSSLSocket.cpp and TFileTransport.cpp incorrectly excluded from Visual Studio project file
...
Client: C++
Patch: Chris Stylianou
2014-10-01 21:53:02 +02:00
Jens Geyer
5aff35f7be
THRIFT-2754 erlang lib tests don't clean up after themselves properly
...
Client: Erlang
Patch: Alisdair Sullivan
This closes #230
2014-10-01 21:06:52 +02:00
Jens Geyer
b898eaa25c
THRIFT-2665 Debug statements are unnecessary and should be removed
...
Client: Python
Patch: Dustin Spicuzza
This closes #189
2014-10-01 03:00:19 +02:00
Randy Abernethy
5057b4cb5a
THRIFT-2750: makes targets for get explicit
...
Client: Java and JavaScript Libs
Patch: Randy Abernethy
This fixes the build.xml for the Java server used to
test JavaScript. Older ants fail when get is used
with a target directory and not an explicit file name.
2014-09-30 17:34:44 -07:00
Randy Abernethy
bd2fce6fa3
THRIFT-2751: repair node oneway bug and symlink issue
...
Client: Node Lib
Patch: Randy Abernethy
This patch keep npm from creating sym links on npm install.
Sym links fail when writting to some shared volumes.
Also fixes multiplex oneway bug in nodejs
2014-09-30 17:12:27 -07:00
Randy Abernethy
38f7a56e55
THRIFT-2749: clean up cpp lib for cpp98 build
...
Client: CPP Lib
Patch: Randy Abernethy
Adds required limits header and reverts use of sizof on
nonstatic members to cpp98 conformance.
2014-09-30 15:37:26 -07:00
Konrad Grochowski
293a40e960
THRIFT-2745: c++ - fixed some unit test compilation on windows
...
Client: C++-Library
Patch: Sergei Nikulov
unist.h removed
THRIFT_SLEEP_USEC used instead of usleep
ERROR variable renamed to TEST_TOLERANCE
This closes #207
2014-09-30 12:04:02 +02:00
Konrad Grochowski
3a724e37d4
THRIFT-2663: py - per module logger used in python lib
...
Client: Python-Library
Patch: Dustin Spicuzza
This enables per module log message filtering
This closes #187
2014-09-29 23:55:47 +02:00
Jens Geyer
eb393ac3cd
THRIFT-2701 Update TCompactProtocol.php
...
Client: PHP
Patch: GitHub-User anjz <anartzn@gmail.com>
This closes #212
Removed `strrev` from `readDouble` and `writeDouble` functions. I found problems reading a double that was generated with the python library.
2014-09-29 22:47:44 +02:00
Roger Meier
25c68f45da
THRIFT-2693 Erlang test leaves a lot of generated files
...
Patch: Roger Meier
2014-09-29 22:14:30 +02:00
Jens Geyer
aa99e0e2b8
THRIFT-2144 Client-side support for Multiplexing Services on any Transport and Protocol
...
Client: Cocoa
Patch: David Robakowski
This closes #151
This closes #150
2014-09-29 22:11:08 +02:00
Konrad Grochowski
05d64b4e3b
THRIFT-2707: rb - support for oneway messages fixed
...
Client: Ruby Library, Ruby Compiler
Patch: Konrad Grochowski
now oneway method calls will use proper message type
This closes #217
2014-09-29 22:08:58 +02:00
Konrad Grochowski
1ff4a97a45
THRIFT-2716 - removed warnings from some Makefile.ams
2014-09-29 22:05:49 +02:00
Jens Geyer
eb8e5ad87f
THRIFT-2654 reduce number of server exceptions
...
Client: C#
Patch: Craig Peterson
This closes #177
2014-09-29 21:50:15 +02:00
Roger Meier
63243c6a29
THRIFT-2709 c_glib: Support server implementation
...
Patch: Simon South
2014-09-29 20:29:58 +02:00
James Broadhead
51ba56c31b
py.twisted: Avoid synchronous exceptions
...
This is an update of the patch posted to:
https://issues.apache.org/jira/browse/THRIFT-585
and a re-write of 8345772
Patch: Mattias de Zalenski, James Broadhead
Jira: THRIFT-585
2014-09-28 22:39:55 +02:00
Jens Geyer
b360b65d3f
THRIFT-2718 Align cmdline help and return codes for Thrift test server/client
...
Client: Delphi
Patch: Jens Geyer
2014-09-28 01:55:46 +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
be8326d586
THRIFT-2706 D library does not support "oneway" message type
...
Client: D
Patch: Konrad Grochowski
This closes #220
2014-09-19 20:35:46 +02:00
Jens Geyer
a86886e77d
THRIFT-2704 - compiler: T_ONEWAY type used for oneway methods instead of T_CALL
...
Patch: Konrad Grochowski
This closes #216
2014-09-17 22:36:00 +02:00
Jens Geyer
3e8d9272ce
THRIFT-2696 Unable to stop socket server while there are idle clients
...
Client: Delphi
Patch: Jens Geyer & Severian Duchenko
2014-09-17 21:53:55 +02:00
name
b3e5ebe1e4
THRIFT-2513 clean up enum value assignment
...
Client: Compiler (General)
Patch: Konrad Grochowski
Fixes the failing test with pure_enums. For details, see JIRA ticket.
2014-09-12 11:15:24 +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
684ccab5e7
THRIFT-2696 Unable to stop socket server while there are idle clients
...
Client: Delphi
Patch: Severian Duchenko & Jens Geyer
The patch contains some additional refactoring, e.g. I consolidated the excessively overloaded CTORs a bit.
2014-09-11 21:14:44 +02:00
Jens Geyer
6bbbf1946e
THRIFT-2694 Minor glitches in Delphi cross-test code
...
Client: Delphi
Patch: Jens Geyer
2014-09-07 01:45:56 +02:00
Jens Geyer
1235ee3f2a
Fix EnumTest (part 2)
...
Patch: Konrad Grochowski, as part of his pull request 209
2014-09-06 14:59:51 +02:00
Jens Geyer
4d223c6fee
FIX: wrong include path
2014-09-05 22:31:39 +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
0cc6d3c7bd
THRIFT-2690
...
c_glib: Incorrect behaviour when serializing a map with typedef'd keys
Patch: Simon South
2014-09-04 00:24:17 +02:00
Konrad Grochowski
b3f6ea100f
THRIFT-2067 C++: all generated objects provide ostream operator<<
2014-09-03 23:41:32 +02:00
Roger Meier
b191ecc8dc
THRIFT-2686 Another extraneous semicolon - TBinaryProtocol.h
...
Client: cocoa
Patch: Mark Frawley
2014-09-01 22:01:10 +02:00
Roger Meier
db8751b1bc
THRIFT-2673 PHP: generated Service_method_result code should not have validators
...
Patch: Stig Bakken
2014-09-01 21:58:07 +02:00
John Chee
aa42d61d7a
THRIFT-2677 haskell library and tutorial: build with network > 2.5
2014-09-01 21:55:04 +02:00
Roger Meier
7fa9848b85
THRIFT-2680 c_glib: ThriftFramedTransport fails when peer unexpectedly closes connection
...
Patch: Simon South
2014-09-01 20:21:33 +02:00
Konrad Grochowski
e1358ce8f4
THRIFT-2687 - C++ Qt lib - fixed struct/class inconsitency between forward decl and definition
...
Signed-off-by: Roger Meier <roger@apache.org>
2014-09-01 20:08:49 +02:00
Liangliang He
5d6378f61e
fix js list<map> support
2014-08-23 22:22:46 +02:00
Pascal Bach
9be413fca4
Add getOrigin() function to TTransport
...
getOrigin returns the origin of a request, the value depends on the transport used
2014-08-21 14:36:25 +02:00
Roger Meier
e26db2fcf2
THRIFT-847 Test Framework harmonization across all languages
...
Client: hs
add split dependency to lib, not installed otherwise
2014-08-18 21:19:44 +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
5f841dff8b
THRIFT-2660 Validate the bytes received in TSaslTransport
...
fix unit test
Client: Java
Patch: Harsh J
2014-08-13 12:54:53 +02:00
Roger Meier
c983250355
THRIFT-2660 Validate the bytes received in TSaslTransport
...
Client: Java
Patch: Harsh J
2014-08-13 12:36:42 +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
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
7fd06407a0
THRIFT-2649 TAsyncClientManager leaks the selector
...
Client: Java
Patch: Roelof Naude
Signed-off-by: Roger Meier <roger@apache.org>
2014-08-07 14:36:49 +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