Commit Graph

6231 Commits

Author SHA1 Message Date
Nik Clayton
e791760098 THRIFT-5131: Require >= 1.1.4 of integer-encoding dependency
Client: Rust
Patch: Nik Clayton

This closes #2045

Versions 1.1.0 - 1.1.3 of the integer-encoding crate had a bug where
numbers larger than 0x4000_0000_0000_0000 would cause a panic during
decoding.

Add a test to be sure that numbers up to i64::maxvalue() encode and
decode successfully.
2020-03-07 10:59:24 +01:00
Jens Geyer
1b7b00cde9 CI broken, reverting following PRs
reverted https://github.com/apache/thrift/pull/2025
reverted https://github.com/apache/thrift/pull/2026
Reverted https://github.com/apache/thrift/pull/2021
2020-02-28 19:20:27 +01:00
Jens Geyer
56700e469d THRIFT-4982 Remove deprecated C# bindings from the code base
Client: csharp
Patch: Jens Geyer

This closes #2027
2020-02-28 19:18:34 +01:00
Jens Geyer
4903d18fca THRIFT-5123 add possibility to query HTTP status code with WinHTTP
Client: delphi
Patch: Jens Geyer
2020-02-27 20:37:50 +01:00
Jens Geyer
aec555aac8 make dist fails due to CMakeList.txt files missing from the generated tarball 2020-02-26 22:14:12 +01:00
Mario Emmenlauer
b7b02afcd8 THRIFT-5115 PR #2022 Updated gradle to 6.2 broke CI
Client: java
Patch: Mario Emmenlauer

This closes #2031

Downgraded gradle to 5.6.4 after problems with 6.x in AS3
2020-02-25 23:21:57 +01:00
Alexander Edge
4b475af694 THRIFT-5084: Multiplexed processor in Swift – explicit return statements
Client: swift
Patch: Alexander Edge

This closes #2028
2020-02-24 19:00:49 +01:00
Mario Emmenlauer
66d110bcce THRIFT-5109 Misc Cmake build improvements
Patch: Mario Emmenlauer

This closes #2017
This closes #2018
This closes #2019

- build/cmake/DefineInstallationPaths.cmake: fixed the library path
- build/cmake/ThriftMacros.cmake: do not enforce debug suffix 'd'
- lib/java/CMakeLists.txt: allow to override JAVA_INSTALL_DIR
2020-02-23 15:12:19 +01:00
Mario Emmenlauer
13cbc8defa Updated NodeJS dependencies
Client: nodejs
Patch: Mario Emmenlauer

This closes #2024
2020-02-23 15:01:50 +01:00
Mario Emmenlauer
b70dc1e61c Updated gradle to 6.2
Client: java
Patch: Mario Emmenlauer

This closes #2022
2020-02-23 14:58:10 +01:00
Mario Emmenlauer
f8b3698ab4 Updated Javascript dependencies
Client: js
Patch: Mario Emmenlauer

This closes #2023
2020-02-23 14:57:59 +01:00
Mario Emmenlauer
61d502075b THRIFT-5109 Misc Cmake build improvements
Patch: Mario Emmenlauer

This closes #2026
This closes #2025
This closes #2021
2020-02-23 14:51:48 +01:00
Mario Emmenlauer
f5a9a30e34 THRIFT-5110 Added a number of required libs for using static OpenSSL
Client: cpp
Patch: Mario Emmenlauer

This closes #2020
2020-02-23 14:50:30 +01:00
Kengo Seki
d858a8d4bc THRIFT-5066: Implement testBinary invocation in TestClient.pl
Client: perl
Patch: Kengo Seki

This closes #1984
2020-02-21 22:06:09 +01:00
Alexander Edge
a89036c8c3 THRIFT-5084: Multiplexed processor in Swift
Client: Swift
Patch: Alexander Edge

This closes #2002
2020-02-21 21:57:37 +01:00
Kengo Seki
f0c761e171 THRIFT-5059: Add cross tests for TZlibTransport in D
Client: D
Patch: Kengo Seki

This closes #1977
2020-02-21 21:41:27 +01:00
wangyunjian
ea4a086757 THRIFT-5102: Fix memory leak in thrift_simple_server_serve()
Client: c_glib
Patch: wangyunjian

This closes #2012

Signed-off-by: wangyunjian <wangyunjian@huawei.com>
2020-02-21 21:35:39 +01:00
wangyunjian
bd26d38569 THRIFT-5094: Fix memory leak in thrift_server_set_property()
Client: c_glib
Patch: wangyunjian

This closes #2008

Signed-off-by: wangyunjian <wangyunjian@huawei.com>
2020-02-21 21:25:45 +01:00
wangyunjian
d8480c9ac1 THRIFT-5101: Return NULL install of FALSE for thrift_server_socket_accept()
Client: c_glib
Patch: wangyunjian

This closes #2011

Signed-off-by: wangyunjian <wangyunjian@huawei.com>
2020-02-21 21:15:29 +01:00
Jeffrey Han
7b712f42d7 THRIFT-5106: Fix various Lua library and compiler issues
Client: lua
Patch: Jeffrey Han

This closes #2014
2020-02-21 21:08:19 +01:00
Jens Geyer
222362cc70 THRIFT-5095 ToString() should print entire structure, not just the top-level data
Client: netstd
Patch: Jens Geyer

This closes #2009
2020-02-16 13:19:43 +01:00
Tobias Mayer
c8e46cf861 THRIFT-5097: Fix exported version in cmake module
Patch: Tobias Mayer

This closes #2010
2020-02-16 13:18:24 +01:00
Jens Geyer
bb5f7ec6b0 THRIFT-5091 Netstd generator produces uncompileable code for struct names ending with "_result" or "_args"
Client: netstd
Patch: Jens Geyer

THis closes #2006
2020-02-14 09:15:17 +01:00
Renan I. Del Valle
aa9e7e8f59 THRIFT-5092: Return an error instead of causing a panic when attempting to write to a closed client.
Client: go
Patch: Renan I. Del Valle

This closes #2005
2020-02-13 22:42:14 +01:00
Jens Geyer
b012318fc8 THRIFT-5088 Memory leak in TWinHttpTransport
Client: Delphi
Patch: Jens Geyer
2020-02-12 22:40:42 +01:00
Homarechan
ded326101a THRIFT-5072 Fix data type generation.
Client: hs
Patch: Homarechan <tikuwakunn@icloud.com>

This closes #1974
2020-02-06 23:21:02 +01:00
Gaurav Singh
7d30e2c0b6 (no ticket) catch exception by ref
Patch: Gaurav Singh

This closes #1998
2020-02-06 23:10:08 +01:00
Gaurav Singh
77c4afae16 (no ticket) Propagate exception instead of rethrowing
Client: cpp
Patch: Gaurav Singh

This closes #1999
2020-02-06 23:06:07 +01:00
Jens Geyer
baddaa8612 THRIFT-5086 CMake target thrift::thrift has no INTERFACE_INCLUDE_DIRECTORIES property
Client: cpp
Patch: SmartNet Club

This closes #2003
2020-02-06 22:59:31 +01:00
Cameron Rollheiser
b576ae91f0 (no ticket) Document Docker Build JS Versions [skip ci]
Client: docs
Patch: Cameron Rollheiser

This closes #1976
2020-02-05 22:40:21 +01:00
Srinivas Reddy
68b113a73e (no ticket) Improved formatting
Client: doc
Patch: Srinivas Reddy

This closes #1989
2020-02-05 22:36:33 +01:00
Paulo Neves
f049ff374d THRIFT-5083 Reset context on new messages.
Client: netstd
Patch: Paulo Neves

This closes #
2020-02-05 21:40:16 +01:00
Christopher Friedt
f8b004081d
Fix typo for python 3 support
This change simply enables the existing check in configure.ac to function as intended.

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2020-01-29 08:03:46 +00:00
Kengo Seki
cb4c31a072 THRIFT-5050 Fix MemoryBuffer.pm to raise a proper exception if no data is available
Client: perl
Patch: Kengo Seki

This closes #1967
2020-01-28 23:27:48 +01:00
Nick Collier
e56f717b7f THRIFT-5078 Handle named pipe clients quickly disconnecting
Client: C++
Patch: Nick Collier

This closes #1964
2020-01-28 23:20:40 +01:00
David Mollitor
e8f82da45e THRIFT-5016 Do Not Check 'other' For Null in Equals
Client: Java
Patch: David Mollitor

This closes #1937
2020-01-28 22:53:58 +01:00
Sam De Roeck
436bce3321 (no ticket) Gracefully terminate the connection handling loop when encountering EOF on the transport layer
Client: Rust
Patch: Sam De Roeck

This closes #1928
2020-01-28 22:47:55 +01:00
Jens Geyer
a86a3549cf THRIFT-5074 Cleanup of test suite command line options
Client: Documentation
Patch: Jens Geyer & Kengo Seki

This closes #1990
2020-01-23 23:17:00 +01:00
Cameron Rollheiser
3a2a44bb51 Remove non-required JS dependencies
These dependencies are not needed at runtime.

Client: js
2020-01-21 17:02:22 +00:00
JackBoosY
829b7d330d Add vcpkg installation instructions
Patch: JackBoosY, edited by JensG

This closes #1986
2020-01-19 23:00:32 +01:00
Kengo Seki
d082d1d61b THRIFT-5052: Make the Go tutorial executable to the end
Client: Go
Patch: Kengo Seki

This closes #1969
2020-01-19 22:33:58 +01:00
Kengo Seki
c97e6aa860 THRIFT-5060: Add cross tests for TZlibTransport in Java
Client: Java
Patch: Kengo Seki

This closes #1978
2020-01-19 22:26:09 +01:00
Kengo Seki
46554d0a4c THRIFT-5051: Fix Python tutorials to address THRIFT-4002
Client: Python
Patch: Kengo Seki

This closes #1968
2020-01-19 22:18:52 +01:00
Kengo Seki
1c789cea1e THRIFT-5065: Fix broken links in the IDL document
Patch: Kengo Seki
This closes #1983
2020-01-19 22:13:16 +01:00
Yuxuan 'fishy' Wang
397645ac24 THRIFT-5069: Make TDeserializer resource pool friendly
Client: go

This change improves performance when using TDeserializer with a
resource pool. See https://issues.apache.org/jira/browse/THRIFT-5069 for
more context.

Also add TSerializerPool and TDeserializerPool, which are thread-safe
versions of TSerializer and TDeserializer. Benchmark result shows that
they are both faster and use less memory than the plain version:

    $ go test -bench Serializer -benchmem
    goos: darwin
    goarch: amd64
    BenchmarkSerializer/baseline-8            577558              1930 ns/op             512 B/op          6 allocs/op
    BenchmarkSerializer/plain-8               452712              2638 ns/op            2976 B/op         16 allocs/op
    BenchmarkSerializer/pool-8                591698              2032 ns/op             512 B/op          6 allocs/op
    PASS
2020-01-18 20:55:51 +00:00
Christopher Tubbs
a5ec666e1b THRIFT-5068: Force secure Maven Central in Travis CI
Modify docker build scripts used in CI test environments in order to put
in place a Maven .m2/settings.xml configuration file that overrides the
repository with the id 'central' with an equivalent "mirror" that uses
https instead of http.

This closes #1988.
2020-01-17 12:33:38 +00:00
D. Can Celasun
70c4e7a7c7
Use HTTPS for repo1.maven.org
Upstream no longer supports plain HTTP as of today [1].

[1] https://support.sonatype.com/hc/en-us/articles/360041287334
2020-01-15 21:13:50 +00:00
Kengo Seki
45a94594ff THRIFT-5061: Pin Ruby's rack version to 2.0.8
Client: ruby
Patch: Kengo Seki

This closes #1980
2020-01-11 12:57:53 +01:00
Kengo Seki
bee4f2fd69 THRIFT-5053: Fix the netstd tutorial console logging and README
Client: netstd
Patch: Kengo Seki

This closes #1970
2020-01-11 00:52:42 +01:00
Eugen
30ac2598e8 THRIFT-5003: Websocket Connection in Browsers with nodejs code
* changed this to self in forEach callback

* updated minimum node version to 8.16.2 (Maintenance LTS until December 2019)
changed ws_connection.js to work in the browser, with isomorphic-ws
added exports for `wsConnection`, `createWSConnection`, `createWSClient`

* added exports for WSConnection to browser.js

* extended the sample of nodejs code in the browser with webpack

* tested and updated node version to LTS 10.18.0 Dubnium
discussion based: https://github.com/apache/thrift/pull/1927#discussion_r358140463
2020-01-07 14:28:45 +00:00