summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* THRIFT-5546: automate pypi publishing [ci skip]ci/pypi-automationJames E. King III2022-04-045-1/+70
| | | | | | When a pre-release is created on GitHub for the repo it will publish to the TestPyPI service, and if that pre-release is promoted to a release, it will publish to the PyPI (real) service.
* fix binary protocol's first byte value.Blacker12302022-04-011-1/+1
|
* THRIFT-5541: Clarify on THeader key/value format in the specYuxuan 'fishy' Wang2022-03-311-1/+2
| | | | [skip ci]
* THRIFT-5283: add support for Unix Domain Sockets in lib/rs (#2545)tokcum2022-03-309-69/+256
| | | Client: rs
* Revert SHA-1: 52d263e77c48bbf7cbabd03161107557d1e410b1Jens Geyer2022-03-191-4/+10
| | | | | | | Using sync calls breaks web scenarios. THRIFT-5499: Use blocking Read/Write calls to make sure the Receive/SendTimeout is checked. Client: netstd
* Pass cancellation token to AcceptTcpClientAsync() in net6Jens Geyer2022-03-191-0/+4
| | | | | Client: netstd Patch: Jens Geyer
* THRIFT-5540 Can't use a typedef for a container type containing enums in a ↵Jens Geyer2022-03-172-0/+17
| | | | | | constant Patch: Jens Geyer
* FIX: error C4244: conversion from "int64_t" to "int", possible data lossJens Geyer2022-03-161-1/+1
| | | | | Client: py Patch: Jens Geyer
* THRIFT-5539: Decouple TDuplicateToProtocol out of TDebugProtocolYuxuan 'fishy' Wang2022-03-153-0/+319
| | | | | | | | | | | | | | | Client: go Currently go's TDebugProtocol does two things: log the read/writes, and duplicate all the reads/writes to another TProtocol. For people who only need the second feature, even if they use NopLogger for the logging part, they still need to pay the price of all the fmt.Sprintf calls used by logging, and on some cases those fmt.Sprintf calls alone can cause significant CPU to be wasted (in one of our services fmt.Sprintf called by TDebugProtocol used ~10% of CPU). Create a dedicated TDuplicateToProtocol to reduce cpu waste, and mark TDebugProtocol.DuplicateTo as deprecated.
* THRIFT-5515: TConnection::workSocket reads all pending oneway requests.Tamas Kovacs2022-03-141-122/+129
|
* feat: support creating connection on OpenHarmonyOSkonpeki6222022-03-132-0/+265
|
* workaround MSVC compiler bugLeon Scharnowski2022-03-121-1/+3
| | | | Client: cpp
* update to gradle 6.9, jdk 15, update findbugsJiayu Liu2022-03-103-12/+8
|
* lib/rs/Cargo.toml: Update ordered-floatMike Cronce2022-03-101-1/+1
|
* add support for converting to java optionalJiayu Liu2022-03-091-0/+15
|
* THRIFT-5536 Fix cross language testsAki Sukegawa2022-03-087-29/+43
|
* THRIFT-5501 Remove Common Lisp supportJens Geyer2022-03-0633-1913/+1
| | | | | Client: cl Patch: Jens Geyer
* THRIFT-5494 fix cpu full caused by infinite select() when frameSize < ↵wangfan2022-03-064-5/+36
| | | | | | | | | maxReadBufferBytes but readBufferBytesAllocated.get() + frameSize always greater than MAX_READ_BUFFER_BYTES Client: Java Patch: wangfan <wangfan8@xiaomi.com> This closes #2533
* update makefileKevin Wojniak2022-03-051-1/+9
|
* add testsKevin Wojniak2022-03-053-2/+18
|
* don't output empty import line if old style enums are usedKevin Wojniak2022-03-051-3/+3
|
* match existing style for setting default value of gen_enum_Kevin Wojniak2022-03-051-1/+2
|
* fix broken syntax for old style enumKevin Wojniak2022-03-051-3/+3
|
* clean up formattingKevin Wojniak2022-03-051-1/+2
|
* init gen_enum_ to falseKevin Wojniak2022-03-051-1/+1
|
* Support for Python and enumsConstantinos Dimitriou2022-03-051-11/+47
| | | | | | In the spirit and steps of https://grokbase.com/t/thrift/user/13614a6xd1/introspection-of-thrift-enums-in-python (cherry picked from commit 4a8beb65f82a9525c5835cf93b664b7ac04ff076)
* THRIFT-5525 use "reuse_objects" instead of "reuse-objects" as a consistent ↵Jiayu Liu2022-03-022-3/+5
| | | | | | | | | param casing Client: java Patch: Jiayu Liu This closes #2530
* THRIFT-5526 to use "private_members" instead of "private-members" as a ↵Jiayu Liu2022-03-022-3/+5
| | | | | | | | | consistent param casing Client: java Patch: Jiayu Liu This closes #2531
* THRIFT-5519 Java async client loses exceptions in void methodsAlex Kormukhin2022-03-028-0/+769
| | | | | | Client: java (cherry picked from commit c4d3e36ed4db97fb6213cc13a4e611a4e658b4b7)
* Fix headers bug in Thrift/HttpClient.pmFinn Colman2022-03-011-1/+2
|
* FIX: remove duplicate constant declsJens Geyer2022-02-261-4/+0
| | | | | Client: Delphi Patch: Jens Geyer
* Fixes #5529 missing space in between "<" and "::" in c++ generatorAndreas Renggli2022-02-261-3/+3
|
* THRIFT-5528 Incorrect HTML link for referenced typedefsJens Geyer2022-02-231-1/+1
| | | | | Client: html Patch: Jens Geyer
* THRIFT-5527: Don't swallow idl exceptions in Process functionYuxuan 'fishy' Wang2022-02-234-43/+249
| | | | | | | | | | | 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.
* THRIFT-5467 Python: fix CannotSendHeader exceptionMárton Csordás2022-02-211-4/+7
| | | | | | | | | | | | | 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.
* FIX: incorrect URL in documentationJens Geyer2022-02-171-2/+2
|
* THRIFT-5495: close client when shutdown server in go lib郑桐2022-02-164-7/+210
| | | | Client: go
* Updated website update info, the ASF CMS is not longer used anymore.Jens Geyer2022-02-161-1/+1
|
* Updated website update info, the ASF CMS is not longer used anymore.Jens Geyer2022-02-161-16/+1
|
* Merge branch '0.16.0' into masterJens Geyer2022-02-1512-10/+34
|\
| * Update changelog for 0.16.0v0.16.00.16.0Jens Geyer2022-02-091-0/+1
| |
| * THRIFT-5512: Update java dependenciesYuxuan 'fishy' Wang2022-02-091-5/+5
| | | | | | | | | | Update java dependencies according to the suggestions from: https://mvnrepository.com/artifact/org.apache.thrift/libthrift/0.15.0
| * THRIFT-5509: Suppress noisy log from go's TSimpleServerYuxuan 'fishy' Wang2022-02-081-2/+6
| | | | | | | | | | | | | | | | | | | | 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.
| * Update changelog for 0.16.0Jens Geyer2022-02-041-0/+1
| |
| * THRIFT-5509: Close connection in IsOpenYuxuan 'fishy' Wang2022-02-031-1/+12
| | | | | | | | | | | | | | | | | | Client: go When the connectivity check failed in IsOpen, close the connection explicitly to avoid connection leaks. This is Path 2 of THRIFT-5509.
| * FIX: test left too early on false premiseJens Geyer2022-02-031-1/+5
| |
| * FIX: missing EXTRA_DIST entriesJens Geyer2022-02-022-1/+3
| |
| * FIX: missing EXTRA_DIST entriesJens Geyer2022-02-021-1/+1
| |
| * FIX: missing EXTRA_DIST entriesJens Geyer2022-02-0210-0/+18
| |
| * THRIFT-5504 CA2254 Message template should be compile time constantJens Geyer2022-02-011-1/+1
| | | | | | | | | | Client netstd Patch: Jens Geyer