Commit Graph

6231 Commits

Author SHA1 Message Date
Mario Emmenlauer
2d2df9e892
Allow wrapping TTransportFactory into a TZlibTransportFactory
Client: cpp
2020-04-24 17:02:18 +01:00
Mario Emmenlauer
5ef8e3ec2a
Remove boost from compiler test, delete unused bincat.sh 2020-04-24 15:34:02 +01:00
Mario Emmenlauer
25f81d11c2
Rework NodeJS / Javascript consistency
Client: js

* Re-worked consistency of browser.js and index.js in lib/nodejs

* Wrap non-standard V8 method 'Error.captureStackTrace()'
2020-04-24 14:45:05 +01:00
Alexander Edge
b4711a6178
Swift 5.1 support
Use stdlib Result instead of TAsyncResult

Fix: deprecations for `withUnsafeBytes`

Bump CI job Xcode version

Hash (into)

Co-authored-by: Sophie Lambrakis <SLambrakis@users.noreply.github.com>
Co-authored-by: Alexander Edge <alex@alexedge.co.uk>
2020-04-24 14:43:03 +01:00
Mario Emmenlauer
04574379a4
TOutput: Add further parsers for errno-to-string conversion for Windows 2020-04-24 10:44:41 +01:00
Mario Emmenlauer
802793638b
THRIFT-4282: Disabled StressTestNonBlocking on Windows 2020-04-24 07:51:37 +01:00
Mario Emmenlauer
ed0bad3430
Add isOpen() to TServerTransport
Client: cpp
2020-04-24 07:50:43 +01:00
Yuxuan 'fishy' Wang
e98ba9cb84
THRIFT-5183: Don't try to read next frame in THeaderTransport.Read
Trying to read the next frame will likely cause the Read call blocking
indefinitely and eventually lead to timeout. See the JIRA ticket for
more context.

Client: go
2020-04-24 07:39:04 +01:00
Kengo Seki
d5a9bf2b30
THRIFT-5171: Fix maven-ant-tasks to use HTTPS instead of HTTP
Client: js, json
2020-04-23 21:58:00 +01:00
Mario Emmenlauer
93171d2482 THRIFT-5109 Misc Cmake build improvements
Patch: Mario Emmenlauer

This closes #2094
2020-04-22 21:17:33 +02:00
Mario Emmenlauer
6064696ae0 lib/js/Gruntfile.js: Generalized to add some level of Windows CMD support (not complete yet) 2020-04-22 21:15:14 +02:00
Mario Emmenlauer
df2f5d2cf3 THRIFT-5178: Add constructor with default host to THttpClient
Client: cpp
Patch: Mario Emmenlauer

This closes #2105

The new default host is localhost. Also, the new default path is /service. This works around issue THRIFT-5180 where a path is required for the THttpTransport in Unix domain sockets.
2020-04-21 23:37:28 +02:00
zeshuai007
57c2507208 THRIFT-5168 Useless generated code when .thrift file only has service type
Client: cpp
Patch: zeshuai007 <51382517@qq.com>

This closes #2095
2020-04-21 23:29:14 +02:00
gaganso
dd7e11798b Removed a duplicate line + Fixed typo in the comments of lib/cpp/src/thrift/concurrency/Thread.h
Client: cpp
Patch: gaganso <gagan.somashekar@gmail.com>

This closes #2104
2020-04-20 23:32:52 +02:00
zeshuai007
35a3942e70 Update libthrift.vcxproj and libthrift.vcxproj.filters: remove xxxThreadFactory.h file which has been removed
Client: cpp
Patch: zeshuai007 <51382517@qq.com>

This closes #2100
2020-04-20 23:30:21 +02:00
Yuxuan 'fishy' Wang
9e864d5702
Add UnsetHeader to go library
Client: go

We already have SetHeader and GetHeader helper functions in the go
library to deal with THeader injected into the context object. But we
didn't provide a way to unset/delete a key from the context object.

This will be useful with the TSimpleServer.SetForwardHeaders API. In the
scenario that a thrift server want to auto forward certain headers to
other upstream thrift servers as the fallback, but during the handling
of the request might decide to remove some of the auto forward headers.
This is also achievable through mutate the write header list, but since
that's a list, finding one key from the list and remove it is much more
hassle.
2020-04-17 19:53:39 +01:00
wangyunjian
5f35275422 THRIFT-5157 Fix memory leak in c_glib unit tests
Client: c_glib
Patch: wangyunjian

Signed-off-by: wangyunjian <wangyunjian@huawei.com>
2020-04-16 21:48:24 -04:00
lvqian
81334cd734 THRIFT-5152: introduce connect timeout and socket timeout
Client: Go
Patch: Qian Lv

This closes #2071
2020-04-13 18:11:03 +02:00
Joao Antonio
69642f389a THRIFT-5165: THttpClient saves session cookie.
Client: py
Patch: Joao Antonio

This closes #2086
2020-04-13 18:06:56 +02:00
zeshuai007
daa7669a76 Update Thrift's latest branch status in README.md
Patch: zeshuai007 <51382517@qq.com>

This closes #2097
2020-04-13 18:04:20 +02:00
James Lacey
6bbdb1a46c THRIFT-5166: Add support for using WebSockets as a server transport.
Client: d
Patch: James Lacey

This closes #2087
2020-04-09 21:52:46 +02:00
gzuykov
f44b6ee8db Modify autogenerated message for Go to standard to match the expectations of some tools
Client: Go
Patch: gzuykov

This closes #2096
2020-04-09 21:41:57 +02:00
Wenqiang Yang
23aabcc1b1 markdown head title needs space
This closes #2090
2020-04-09 21:28:29 +02:00
eric.bleher@software-managed.com
5159da9096 THRIFT-5172 NetStd OutOfMemoryException
Client: netstd
Patch: Eric Bleher

This closes #2093
2020-04-09 21:22:46 +02:00
cyy
13e6f9ec89 THRIFT-5047:fix openssl switch
Client: cpp
Patch: Yuanyuan Chen

This closes #1962
2020-04-06 22:47:20 +02:00
James Lacey
818105653d THRIFT-5156: Fix library compilation on Windows and compiler warnings
Client: d
Patch: James Lacey

This closes #2075
2020-04-04 20:52:26 +02:00
Kevin Wojniak
dbb95e438f THRIFT-5076 Improve CMake OpenSSL usage
Client: c_glib
Patch: Kevin Wojniak

This closes #1994
2020-04-03 21:17:25 +02:00
Márton Csordás
102428d35d THRIFT-5163 adds Q to exports for browserify
Client: NodeJS
Patch: Márton Csordás

This closes #2061
2020-04-03 02:19:11 +02:00
Márton Csordás
dfd6df7588 THRIFT-3356: handle undefined captureStackTrace
Client: nodejs
Patch: Márton Csordás

This closes #2082
2020-04-03 02:12:25 +02:00
zeshuai007
86396c6880 Add testcase for other condition judgment in the readJSONDouble function
Client: cpp
Patch: zeshuai007 <51382517@qq.com>

This closes #2080
2020-03-31 23:06:36 +02:00
Allen George
3b56a036c3
Merge pull request #2076 from allengeorge/thrift-4764
THRIFT-4764: Use new syntax for clippy skipping
2020-03-31 08:21:16 -04:00
Kanishth Karthik
8ec585793c THRIFT-4963: Fix deadlock in ThreadManager::Worker::run
Client: cpp
Patch: Kanishth Karthi

This closes #2070
2020-03-29 18:28:05 +02:00
Mikail Bagishov
7e90252af6
THRIFT-4764: Use new syntax for clippy skipping
Client: rs
2020-03-28 10:11:37 -04:00
Jens Geyer
11fc716a20 THRIFT-5154 Generate interface IDs (IID) for Windows platforms
Client: Delphi
Patch: Jens Geyer

This closes #2072
2020-03-28 13:56:49 +01:00
panivko
dfe7f30070 THRIFT-5130 Use Apcu instead of APC
Client: PHP
Patch: Vladimir Panivko

This closes #2041
2020-03-27 21:44:05 +01:00
Jens Geyer
aeda987cc4 THRIFT-5146 Align Delphi to the test suite arguments rules (its "--switch=value", not "--switch value")
Client: Delphi
Patch: Jens Geyer
2020-03-22 15:30:37 +01:00
Jens Geyer
4a33b188f4 THRIFT-5145 Streamline --pipe and --named-pipe options in the code base
Client: Test suite
Patch: Jens Geyer

This closes #2065
2020-03-22 15:30:27 +01:00
zeshuai007
24ab31fc57 THRIFT-5067 Invalid generated Cpp code from valid Thrift IDL with dots in file names for nested namespaces
Client: cpp
Patch: zeshuai007 <51382517@qq.com>

This closes #2060
2020-03-22 14:12:21 +01:00
Jano Svitok
9f3198e1a8 THRIFT-5074: Crosstest client/server command line [skip ci]
Client: Documentation
Patch: Jano Svitok
2020-03-22 13:26:59 +01:00
zeshuai007
655f52590d Fix some compile warnings
Client: c_glib
Patch: zeshuai007 <51382517@qq.com>

This closes #2063
2020-03-22 13:22:37 +01:00
Mikel Blanchard
4b66a9d881 THRIFT-5133: Use ArrayPool when reading and writing strings to improve performance
Client: netstd
Patch: Mikel Blanchard

This closes #2057
2020-03-19 23:13:03 +01:00
Jens Geyer
eccd2e879e Updated known cross failures list 2020-03-16 23:38:53 +01:00
Jens Geyer
9b992f5af8 Updated known cross failures list
Patch: Jens Geyer

This closes #2058
2020-03-15 19:31:26 +01:00
Kevin Wojniak
dad2bf87da Fix several warnings in c_glib lib and incorrect error message
CLient: c_glib
Patch: Kevin Wojniak

This closes #1830
2020-03-15 12:20:08 +01:00
Alexander Edge
b013dc004a THRIFT-5121: Fix inverted logic when testing message type
Client: Swift
Patch: Alexander Edge

This closes #2036
2020-03-14 15:41:12 +01:00
Jano Svitok
ed1711e861 THRIFT-5087 test/test.py fails with "AssertionError: Python 3.3 or later is required for proper operation."
Client: Python
Patch: Jano Svitok

This closes #2055

THRIFT-5087: Show features log, check log presence
THRIFT-5087: Revert/Improve PR1995 (commit f8b004081d)

Make the condition work both
a) when both python2 and python3 are installed
b) when only python3 is installed

Check also python 3.8 when searching for 3.x
2020-03-13 02:17:58 +01:00
zeshuai007
adf278dae0 fix typos in CHANGES.md
Patch: zeshuai007

This closes #2053
2020-03-10 22:46:59 +01:00
Jano Svitok
299b68e723 THRIFT-5100: Upgrade ruby to 2.4
Client: Ruby
Patch: Jano Svitok

This closes #2054

due to byebug gem 11.1 (used by pry-byebug)
2020-03-10 22:38:23 +01:00
Jano Svitok
b1f755a1e9 THRIFT-5120: Use nodejs 8.x
Client: node
Patch: Jano Svitok

This closes #2054

JSDoc 3.6.3 requires Node.js >=8.15.0
2020-03-10 22:37:33 +01:00
Jano Svitok
2e11577477 THRIFT-5111: Upgrade rust to 1.36.0
Client: Rust
Patch: Jano Svitok

This closes #2050

Also contains portions of THRIFT-4547: Upgrade Swift in docker to 5.1.4
Client: Swift
Patch: Jano Svitok

Linux version 4.2.0 does not have FileHandle.acceptConnectionInBackgroundAndNotify()
implemented. We need at least 5.1 for TSocketServer to run in docker.

In the meantime, URLRequest was moved to FoundationNetworking.
To keep compatibility with previous versions, conditional import is
used.
2020-03-07 11:12:13 +01:00