Lewin Bormann
44e8a431a3
Rust: Upgrade dependency integer-encoding to 3.0
2021-07-06 23:52:19 +02:00
Jens Geyer
4434ee92d5
THRIFT-5438 Inconsistent handling of exceptions during message read vs. message write phase
...
Client: Delphi
Patch: Jens Geyer
2021-07-02 00:35:47 +02:00
Jens Geyer
3b686533f7
THRIFT-5437 Make TProtocolImpl CTOR virtual
...
Client: Delphi
Patch: Jens Geyer
2021-07-01 23:32:12 +02:00
Jens Geyer
7391a31032
uncaught_exception -> uncaught_exceptions
...
Client: cpp
Author: Rune Olesen
This closes #2287
2021-06-30 22:22:37 +02:00
Benjamin Naecker
582293bb5e
Adds support for building C++ codegen on Solaris
...
Client: cpp
Author: Benjamin Naecker
This closes #2380
Solaris-derived systems split some functionality that is usually found
in `sys/ioctl.h` into `sys/filio.h`. In this case, the `FIONREAD`
constant is in the latter file.
2021-06-30 22:05:38 +02:00
Thomas
3c3a389c8a
THRIFT-5425 Throw an exception when reading TSimpleJson in Java
...
Client: java
Author: Thomas Bruggink
This closes #2400
Throw an exception when reading TSimpleJson and update the comment to explain why.
2021-06-30 22:01:20 +02:00
belugabehr
5cada6a320
THRIFT-5433: Add Counter To Thread Name of TThreadPoolServer
...
Client: Java
Patch: David Mollitor
2021-06-30 09:08:34 -04:00
Jens Geyer
598ee9864b
THRIFT-5436 Timeout.Infinite is not a good default
...
Client: netstd
Patch: Jens Geyer
2021-06-25 17:33:12 +02:00
Henry Catalini Smith
80e0d53d90
npm update jsdoc
...
Client: js
Patch: Henry Catalini Smith
This closes #2402
This is a fix for these security warnings we're getting via this package.
2021-06-23 21:07:42 +02:00
Ruslan
ab72ebe564
Android restricts use of AI_V4MAPPED flag.
...
Client: cpp
Patch: Ruslan <thgall@mail.ru>
This closes #2406
2021-06-23 20:51:20 +02:00
Divye Kapoor
58fa7b4610
THRIFT-5430: Fix deadlock triggered by FieldMetaData.class.
...
Details of the deadlock are in the ticket.
This PR addresses the deadlock by limiting the scope of the locks
acquired in FieldMetaData.java to only protect calls to the structMap
hashtable. No locks should be held when the call to sClass.newInstance()
is in progress.
Tested: Regular CI builds should pass.
2021-06-23 20:30:55 +02:00
Jens Geyer
fcfa34108d
Merge branch '0.14.2' into upstream
2021-06-17 22:59:32 +02:00
l00508282
3ccef5cecd
THRIFT-5432 TSaslTransport throw TTransportException of MaxMessageSize reached
...
Client: java
Patch: GuangMing Lu
2021-06-16 21:29:01 +02:00
Jens Geyer
46693f7f5e
THRIFT-5431 Response should include 'content-type' header
...
Client: netstd
Patch: Jens Geyer
This closes #2409
2021-06-16 09:00:13 +02:00
Jens Geyer
c19d05eeef
Version 0.14.2
2021-06-15 23:48:17 +02:00
Yuxuan 'fishy' Wang
57e24caa86
THRIFT-5369: Use MaxMessageSize to check container sizes
...
Client: go
2021-06-12 18:52:58 +02:00
Jens Geyer
63e86ce23a
Version 0.14.2
2021-06-11 00:55:22 +02:00
aaronstgeorge-wf
d604602064
THRIFT-5383 TJSONProtocol Java readString throws on bounds check
...
Client: java
Patch: Aaron St. George
This closes #2366
2021-06-11 00:38:44 +02:00
Mario Emmenlauer
43faa2d22b
Merge pull request #2401 from aaronmjones/THRIFT-3840
...
THRIFT-3840: C++ TJSONProtocol still using locale dependent formatting
2021-06-09 16:38:56 +02:00
Christopher Friedt
93a316c51d
THRIFT-5429 build: autotools: add foreign to AM_INIT_AUTOMAKE
...
Patch: Christopher Friedt
This closes #2405
Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2021-06-07 23:20:03 +02:00
ubuntu
ad76a18db7
Add better unit tests and imbue C locale in floating point to_string
...
ToStringTest.cpp is a better place than JSONProtoTest.cpp for to_string
tests. Move global locale-related unit tests there.
Also imbue the C locale in the floating point to_string functions to avoid
decimal number strings formatted with comma instead of decimal point.
In Dockerfiles, install de_DE locale because it uses decimal comma.
2021-06-07 08:21:05 +05:30
Mario Emmenlauer
29fb3464c9
Merge pull request #2382 from BioDataAnalysis/bda_add_openssl_membuffer_loading
...
Robustness improvements when loading OpenSSL certificates
2021-06-04 11:50:38 +02:00
Jens Geyer
f726ae31b9
THRIFT-5428 Prevent costly reallocations to improve performance
...
Client: Delphi
Patch: Jens Geyer
2021-06-04 11:46:18 +02:00
Marco Schroeter
016dbac94d
Robustness improvements when loading OpenSSL certificates
2021-06-04 10:01:54 +02:00
Mario Emmenlauer
ea456f6654
Merge pull request #2383 from BioDataAnalysis/bda_minor_cmake_cleanup
...
Minor cleanup of two CMake files, and removed (unused) boost deps
2021-06-04 09:55:01 +02:00
David Mollitor
be20ad7e08
THRIFT-5411: Catch SocketTimeoutException in TIOStreamTransport read
2021-06-03 22:16:32 -07:00
ubuntu
323f0325ed
Add unit test for system locale with thousands separator comma
...
Install en_US.UTF-8 locale in Dockerfile
2021-05-31 19:08:05 +05:30
mingwugmail
4abc5cfb4b
fix D build, with D lang openssl 2.0.3
...
Client: d
Patch: mingwugmail <mingwu@gmail.com>
This closes #2397
2021-05-27 23:12:53 +02:00
phxnsharp
9a4802ab41
THRIFT-5419 Incorrect usage of thread pool in TThreadPoolAsyncServer may lead to poor performance
...
Client: netstd
Patch: Nathan P Sharp, Jens Geyer
This closes #2395
2021-05-26 22:34:18 +02:00
Jens Geyer
63d114de97
THRIFT-5422 add threadpool server to netstd test suite impl
...
Client: netstd
Patch: Jens Geyer
This closes #2398
2021-05-26 09:25:39 +02:00
Zicklag
70992f1e74
Add Link to Tutorial in Rust Lib Documentation
...
Client: rs
Patch: Zicklag
This closes #2388
2021-05-20 22:50:22 +02:00
Axel Jäger
346c72c0d0
THRIFT-3508 Map optional fields from thrift idl to optional fields in TypeScript.
...
Client: node,js
Patch: Axel Jäger
This closes #2386
2021-05-20 22:41:31 +02:00
Jeffrey Han
c54cfcb8d2
THRIFT-5417 Fix Lua compiler omitting default values in Lua service functions
...
Client: Lua
Patch: Jeffrey Han
This closes #2394
2021-05-20 22:38:23 +02:00
lm2048
8101302c56
THRIFT-5399: Fix socket leak in abnormal situation
2021-05-17 22:27:25 +02:00
Irelian
33b7f48ba4
consume remaining MessageSize but never reset, we should reset remainin MessageSize after readEnd
...
Client: cpp
Patch: Irelian <240290942@qq.com>
This closes #2390
2021-05-15 21:58:17 +02:00
Jens Geyer
bc18a92519
THRIFT-5414 Use of specific parameter names generates uncompileable code
...
Client: netstd
Patch: Jens Geyer
2021-05-15 00:45:16 +02:00
Jens Geyer
348de16250
THRIFT-5394 AppVeyor CI tries to download outdated cmake
...
Client: build process
Patch: Jens Geyer
This closes #2385
2021-05-13 21:17:08 +02:00
Jens Geyer
728ba7f893
THRIFT-5413 Int vs String in method get_size required by property size
...
Client: hx
Patch: Jens Geyer
2021-05-13 21:06:48 +02:00
Antonio García-Domínguez
32f54667be
THRIFT-5400 Java library does not export the .annotation package
...
Client: java
Patch: Antonio García-Domínguez
This closes #2378
2021-05-06 22:30:59 +02:00
Mario Emmenlauer
aeb8964dda
THRIFT-5407: Minor changes in .NET to support netcoreapp3.1
...
Client: netstd
Patch: Mario Emmenlauer
This closes #2384
2021-05-05 20:43:44 +02:00
Jens Geyer
ecf273f060
THRIFT-5408 Support for deprecated/obsolete methods (via annotation)
...
Client: netstd
Patch: Jens Geyer
This closes #2381
2021-05-05 20:34:34 +02:00
Mario Emmenlauer
9fab23876b
Minor cleanup of two CMake files, and removed some (unused) boost dependencies
2021-05-05 10:41:48 +02:00
zeshuai007
c821d25097
THRIFT-5244 Dynamic exception specifications are deprecated in C++11[-Wdeprecated]
...
Client: cpp
Patch: Zezeng Wang
This closes #2217
2021-04-29 08:57:43 +02:00
Yuxuan 'fishy' Wang
0f735583bb
Fix travis CI for NPM
...
Currently it's complaining about missing dependency of headless chrome:
Running "qunit:ThriftDeepConstructor" (qunit) task
>> There was an error with headless chrome
Fatal error: Failed to launch chrome!
/thrift/src/lib/js/node_modules/puppeteer/.local-chromium/linux-609904/chrome-linux/chrome: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
2021-04-28 18:49:58 -07:00
Yuxuan 'fishy' Wang
fe3f8a1279
THRIFT-5404: Allow other types of TTransportException to be timeouts
...
Client: go
Currently we only treat TTransportException with typeId == TIMED_OUT as
timeout (return true in Timeout function). When opening a new socket, if
we got a connect timeout from net.Dial, we wrap the error as
TTransportException with typeId == NOT_OPEN, thus it's no longer treated
as a timeout error.
Change the error to be directly wrapping the original error (instead of
recreate a new error with the same error message), and change
tTransportException.Timeout to also return true if the wrapped error
is a timeout error. This way we don't have to break anything (if code
rely on TTransportException.TypeId being NOT_OPEN in this case, that's
still true).
While I'm here, also update CHANGES.md from #2359 .
2021-04-28 18:49:58 -07:00
Jens Geyer
80415f05d6
commented private code that is definitely never used
...
This closes #2375
2021-04-16 09:47:28 +02:00
Jens Geyer
d4e1eb9852
THRIFT-5398 ThreadPoolServer not stoppable via CancellationToken
...
Client: netstd
Patch: Jens Geyer
This closes #2376
2021-04-15 19:05:24 +02:00
Jens Geyer
430e540ef9
added breaking change notice for THRIFT-5396
2021-04-10 10:19:43 +02:00
Jens Geyer
2b2ea622b6
THRIFT-5396 deprecate "Async" method postfix
...
Client: netstd
Patch: Jens Geyer
This closes #2374
2021-04-10 10:10:27 +02:00
Jens Geyer
6228b907e0
THRIFT-5395 inconsistent treatment of methods ending in "Async"
...
Client: netstd
Patch: Jens Geyer
This closes #2372
2021-04-10 10:09:44 +02:00