konpeki622
bbea728aaa
feat: support creating connection on OpenHarmonyOS
2022-03-13 18:59:54 +01:00
Leon Scharnowski
8ef4ed1b2a
workaround MSVC compiler bug
...
Client: cpp
2022-03-12 00:02:38 +01:00
Jiayu Liu
649dcfd4a0
update to gradle 6.9, jdk 15, update findbugs
2022-03-10 23:15:19 +01:00
Mike Cronce
20e2ceb823
lib/rs/Cargo.toml: Update ordered-float
2022-03-10 23:14:22 +01:00
Jiayu Liu
aa27cdadd0
add support for converting to java optional
2022-03-09 11:39:48 +01:00
Aki Sukegawa
7594da8d7a
THRIFT-5536 Fix cross language tests
2022-03-08 16:06:00 -05:00
Jens Geyer
d88d4f93b3
THRIFT-5501 Remove Common Lisp support
...
Client: cl
Patch: Jens Geyer
2022-03-06 14:58:37 +01:00
wangfan
66ac7b46fa
THRIFT-5494 fix cpu full caused by infinite select() when frameSize < maxReadBufferBytes but readBufferBytesAllocated.get() + frameSize always greater than MAX_READ_BUFFER_BYTES
...
Client: Java
Patch: wangfan <wangfan8@xiaomi.com>
This closes #2533
2022-03-06 12:30:30 +01:00
Kevin Wojniak
b8920b01cb
update makefile
2022-03-05 09:58:27 +01:00
Kevin Wojniak
d0e49f01ca
add tests
2022-03-05 09:58:27 +01:00
Kevin Wojniak
8d6694d607
don't output empty import line if old style enums are used
2022-03-05 09:58:27 +01:00
Kevin Wojniak
c4e5dbac2a
match existing style for setting default value of gen_enum_
2022-03-05 09:58:27 +01:00
Kevin Wojniak
411df3aacb
fix broken syntax for old style enum
2022-03-05 09:58:27 +01:00
Kevin Wojniak
b89f07977a
clean up formatting
2022-03-05 09:58:27 +01:00
Kevin Wojniak
a0ccc7e5fa
init gen_enum_ to false
2022-03-05 09:58:27 +01:00
Constantinos Dimitriou
7ce2216e36
Support for Python and enums
...
In the spirit and steps of https://grokbase.com/t/thrift/user/13614a6xd1/introspection-of-thrift-enums-in-python
(cherry picked from commit 4a8beb65f82a9525c5835cf93b664b7ac04ff076)
2022-03-05 09:58:27 +01:00
Jiayu Liu
5a44db88b2
THRIFT-5525 use "reuse_objects" instead of "reuse-objects" as a consistent param casing
...
Client: java
Patch: Jiayu Liu
This closes #2530
2022-03-02 22:23:19 +01:00
Jiayu Liu
4bd1fd8079
THRIFT-5526 to use "private_members" instead of "private-members" as a consistent param casing
...
Client: java
Patch: Jiayu Liu
This closes #2531
2022-03-02 22:20:50 +01:00
Alex Kormukhin
c9b7bd7b12
THRIFT-5519 Java async client loses exceptions in void methods
...
Client: java
(cherry picked from commit c4d3e36ed4db97fb6213cc13a4e611a4e658b4b7)
2022-03-02 22:14:55 +01:00
Finn Colman
8ab86c3303
Fix headers bug in Thrift/HttpClient.pm
2022-03-01 23:20:50 +01:00
Jens Geyer
79f89e0cec
FIX: remove duplicate constant decls
...
Client: Delphi
Patch: Jens Geyer
2022-02-26 13:19:09 +01:00
Andreas Renggli
fa44e9048a
Fixes #5529 missing space in between "<" and "::" in c++ generator
2022-02-26 12:58:32 +01:00
Jens Geyer
8fea4ea0c1
THRIFT-5528 Incorrect HTML link for referenced typedefs
...
Client: html
Patch: Jens Geyer
2022-02-23 18:23:46 +01:00
Yuxuan 'fishy' Wang
9bee877e66
THRIFT-5527: Don't swallow idl exceptions in Process function
...
Client: go
This allows ProcessorMiddlewares to access such exceptions, unless
there's a network error writing the response (which takes priority).
While I'm here, also make the indentation of Process function more
consistent, and make it consistent on returning false and an error when
the reading/writing fails.
2022-02-23 09:17:50 -08:00
Márton Csordás
103a11c9c2
THRIFT-5467 Python: fix CannotSendHeader exception
...
Based on the python source for `http.client`, `HTTPConnection.putheader`
can only be called after a request has been started, and before it's
been sent. Otherwise it will throw a `http.client.CannotSendHeader`
exception.
If the server returns a `Set-Cookie` header, the client will always
fail with the `CannotSendHeader` exception because `HTTPConnection.putheader`
is called after reading the response.
With this patch we will call this method before the request has been sent.
2022-02-21 19:19:42 +01:00
Jens Geyer
ff74696658
FIX: incorrect URL in documentation
2022-02-17 21:53:40 +01:00
郑桐
2fa907e84b
THRIFT-5495: close client when shutdown server in go lib
...
Client: go
2022-02-16 14:14:40 -10:00
Jens Geyer
6266dc0777
Updated website update info, the ASF CMS is not longer used anymore.
2022-02-16 08:52:43 +01:00
Jens Geyer
f0563a5c49
Updated website update info, the ASF CMS is not longer used anymore.
2022-02-16 08:50:47 +01:00
Jens Geyer
d8ed39803a
Merge branch '0.16.0' into master
2022-02-15 22:26:08 +01:00
Jens Geyer
d2c28b349d
THRIFT-5514 netstd test client slow in multithread mode
...
Client: netstd
Patch: Jens Geyer
2022-02-12 01:15:16 +01:00
TeinRnD
52d263e77c
THRIFT-5499: Use blocking Read/Write calls to make sure the Receive/SendTimeout is checked.
...
Client: netstd
2022-02-10 23:11:23 +01:00
Jens Geyer
2a93df80f2
Update changelog for 0.16.0
2022-02-09 20:46:41 +01:00
Yuxuan 'fishy' Wang
a8e3b758af
THRIFT-5512: Update java dependencies
...
Update java dependencies according to the suggestions from:
https://mvnrepository.com/artifact/org.apache.thrift/libthrift/0.15.0
2022-02-09 08:57:06 -08:00
Yuxuan 'fishy' Wang
0b29261a4f
THRIFT-5512: Update java dependencies
...
Update java dependencies according to the suggestions from:
https://mvnrepository.com/artifact/org.apache.thrift/libthrift/0.15.0
2022-02-09 08:56:04 -08:00
Yuxuan 'fishy' Wang
3031394106
THRIFT-5509: Suppress noisy log from go's TSimpleServer
...
Client: go
This is a follow up of 6f33b0470
. After we proactively closed the client
connection, processor.Process could return NOT_OPEN as a result, and
those errors being logged will cause the log to be very noisy.
This will also be cherry-picked into 0.16.0 branch.
2022-02-08 16:40:47 -08:00
Yuxuan 'fishy' Wang
acd19a8439
THRIFT-5509: Suppress noisy log from go's TSimpleServer
...
Client: go
This is a follow up of 6f33b0470
. After we proactively closed the client
connection, processor.Process could return NOT_OPEN as a result, and
those errors being logged will cause the log to be very noisy.
This will also be cherry-picked into 0.16.0 branch.
2022-02-08 16:40:12 -08:00
Jeremiah
50819ce8ef
Fix winsock capitalization for case sensitive cross-compilation
2022-02-08 20:33:32 +01:00
Jens Geyer
3cac320451
THRIFT-5511 Full support for the new net6 "nullability" semantics
...
Client: netstd
Patch: Jens Geyer
This closes #2516
2022-02-08 17:45:10 +01:00
Jens Geyer
2d667f3476
FIX: test left too early on false premise
2022-02-05 03:04:41 +01:00
Jens Geyer
f18a8f34e2
Update changelog for 0.16.0
2022-02-04 22:38:03 +01:00
Mario Emmenlauer
6b5b6c479b
Merge pull request #2515 from dsandbrink/patch-1
...
THRIFT-5510: On Windows NOMINMAX and WIN32_LEAN_AND_MEAN are unset
2022-02-04 14:03:51 +01:00
Dirk Sandbrink
cbb6530228
[THRIFT-5510] On Windows NOMINMAX and WIN32_LEAN_AND_MEAN are unset even if set before
...
Only define and undefine NOMINMAX and WIN32_LEAN_AND_MEAN if they have not been set before.
2022-02-04 09:55:19 +01:00
Yuxuan 'fishy' Wang
56a840aa17
THRIFT-5509: Close connection in IsOpen
...
Client: go
When the connectivity check failed in IsOpen, close the connection
explicitly to avoid connection leaks.
This is Path 2 of THRIFT-5509.
2022-02-03 16:12:06 -08:00
Yuxuan 'fishy' Wang
6f33b04706
THRIFT-5509: Close connection in IsOpen
...
Client: go
When the connectivity check failed in IsOpen, close the connection
explicitly to avoid connection leaks.
This is Path 2 of THRIFT-5509.
2022-02-03 16:11:20 -08:00
Jens Geyer
b9fe9c2417
FIX: test left too early on false premise
2022-02-03 22:27:15 +01:00
Jens Geyer
f087ec48a2
FIX: missing EXTRA_DIST entries
2022-02-02 23:14:52 +01:00
Jens Geyer
48d1a707d1
FIX: missing EXTRA_DIST entries
2022-02-02 23:03:58 +01:00
Jens Geyer
a10d401996
FIX: missing EXTRA_DIST entries
2022-02-02 22:58:16 +01:00
Jens Geyer
af453f33c4
minor indent fixes
2022-02-01 23:51:00 +01:00