Commit Graph

5633 Commits

Author SHA1 Message Date
Jens Geyer
264a3f318e additional test for TSimpleJSONProtocol 2019-02-24 17:19:09 +01:00
James E. King III
6e5c0f6e31 Minor update to LANGUAGES.md [ci skip] 2019-02-22 09:14:17 -05:00
James E. King III
c63eacc684 Minor fix to LANGUAGES.md [ci skip] 2019-02-22 09:11:35 -05:00
James E. King III
36d4552532 THRIFT-4808: Update LANGUAGES.md [ci skip] 2019-02-22 08:22:23 -05:00
David Mai
ddd2224e9c [THRIFT-4771] add nodejs THeaderProtocol support (#1743)
Client: nodejs
2019-02-22 06:37:49 -05:00
Josip Sokcevic
a4ee1f281b THRIFT-4807: Fix php segfault on reference pass
Client: php (extension)

When reference is passed to php extension, it's unreferenced (instead of
derefrenced). The next time one tries to use the same variable PHP
segaults. Even if not used again, php segfaults on
user_shutdown_function_call.
2019-02-22 06:21:28 -05:00
Jens Geyer
c6b019affd THRIFT-4768 Remove "nullable" option from the code base (netstd ONLY)
Client: netstd
Patch: Jens Geyer
2019-02-15 13:55:11 -05:00
Tim Armstrong
6b3f7d92f9 Fix spelling errors in TSSLSocket.py 2019-02-14 19:17:01 -05:00
James E. King III
b000bc02df
Update the pull request template [ci skip] 2019-02-14 17:58:04 -05:00
James E. King III
dbc1f8def5
THRIFT-4024, THRIFT-4783: throw when skipping invalid type (#1742)
* THRIFT-4024: make c_glib throw on unsupported type when skipping
* THRIFT-4783: throw on invalid skip (py)
* THRIFT-4024: make cpp throw on unsupported type when skipping
* THRIFT-4024: uniform skip behavior on unsupported type
2019-02-14 16:46:38 -05:00
James E. King III
3ca88065df re-disable hs-csharp_json_framed-ip cross test 2019-02-12 13:26:45 -05:00
James E. King III
393f6c93e1 THRIFT-3877: fix py/py3 server, java client with http transport
The java TestClient asks the server to runa  oneway request that
sleeps for 3 seconds.  If the java TestClient sees the duration
of the call exceed one second, it fails the test.  This means the
server did not participate in the "fire and forget" dynamics of
ONEWAY requests.  In this case the THttpServer was processing the
RPC before sending the transport response.  The fix was to enhance
the TProcessor so that the THttpServer has an opportunity to inspect
the message header before processing the RPC.

This is partly due to the violation of the THttpServer in the
layered architecture.  It is essentially implementing a combined
server and transport, whereas there should be a distinct server,
protocol, and transport separation.  Many languages seem to have
this problem where HTTP was introduced.
2019-02-11 17:46:30 -05:00
James E. King III
e53d23c16c THRIFT-4794: finish php json cross test 2019-02-10 13:11:46 -05:00
Jens Geyer
2b70c1df2b THRIFT-4784 Thrift should throw when skipping over unexpected data
Client: as3
Patch: Jens Geyer
2019-02-09 10:47:31 -05:00
James E. King III
6c26e098ca THRIFT-4037: get as3 builds working in cmake for windows too 2019-02-09 10:44:53 -05:00
James E. King III
9804ab983a THRIFT-4780: finish the server implementation of multi in python server
- Add default processor handling to python multi
2019-02-08 17:16:17 -05:00
cyy
647501693b THRIFT-4776:Modernize c++11 code by clang-tidy (#1732)
* use override
* use make_shared
* use emplace
* use range for
* fix error on MSVC
* replace boost functions with std functions
* fix static analyzer warnings
* check api return value
* initialize member
* check the return value of SSL_peek > 0
* add override
2019-02-08 00:40:59 -05:00
James E. King III
74a3e0923d THRIFT-4779: fix exception type in TMultiplexedProcessor 2019-02-08 00:34:01 -05:00
James E. King III
e44f6a9e06 THRIFT-4778: fix inheritance for protocol factories 2019-02-07 20:00:16 -05:00
James E. King III
fc6c15c83d Update the pull request template [ci skip] 2019-02-07 17:16:59 -05:00
cyy
a6a3a787ec THRIFT-4732:refine cmake scripts (#1688)
* add cmake support for clib and remove unused variables
* add targets for code analysis
* add wall to all compilers and add utf-8 options for msvc
2019-02-07 09:27:33 -05:00
Qinghui Xu
4a898564f9 THRIFT-4773: Provide root cause for sasl negotiation failure
Client: java
The error for sasl negotiation failure dropped the root cause, which makes troubleshooting sometimes difficult.
2019-02-06 16:07:19 -05:00
Jens Geyer
adde44b0f5 THRIFT-4772 fully enable server-side usage of framed/buffered transports
Client: netstd
Patch: Jens Geyer

This closes #1729
2019-02-05 09:08:24 +01:00
cyy
8fdb7587e6 THRIFT-4759:add thrift export to fix windows shared lib building (#1714)
* add THRIFT_EXPORT to fix windows shared lib building
* use shared libraries on vs2017 appveyor build, leave msvc2017 static link
2019-02-04 13:57:21 -05:00
James E. King III
71afec0ea3 THRIFT-4739: fix concurrency_test (test-only fix) 2019-02-02 22:10:41 -05:00
James E. King III
4c57be0b60 THRIFT-4384: fix concurrent sync in cpp async client code 2019-02-02 22:10:41 -05:00
James E. King III
d77e097726 fix minor glib warning 2019-02-02 01:17:46 -05:00
James E. King III
ef9405f930 fix java-ruby test timeouts in ci 2019-02-01 16:14:19 -05:00
Fokko Driesprong
1686c87024 THRIFT-4766: Fix JDK11 build (#1723)
* [THRIFT-4766] Enable JDK9 build
* THRIFT-4766: build on bionic using native jdk (java-11-openjdk)
Change from headless to the normal JDK. Maybe the libasound is pulled
in transitively.
2019-02-01 14:31:58 -05:00
James E. King III
3ec4031a4c THRIFT-4405: fix cygwin on appveyor 2019-02-01 11:13:49 -05:00
James E. King III
53bd0e6295 THRIFT-4745: fixes compiler warnings 2019-02-01 11:13:49 -05:00
James E. King III
2be45e566d THRIFT-4405: add documentation on sequence number rules 2019-02-01 11:13:49 -05:00
James E. King III
f15b4152b9 THRIFT-4405: fix negative sequence id handling in python TCompactProtocol 2019-02-01 11:13:49 -05:00
James E. King III
84d9cd27f9 THRIFT-4405: Enhance python cross test client for pedantic sequence id handling 2019-02-01 11:13:49 -05:00
James E. King III
973c8552e0 THRIFT-4405: fix parsing bug in cpp json header read if sequence ID wrapped around to negative 2019-02-01 11:13:49 -05:00
James E. King III
43f689d153 THRIFT-4405: fix c_glib seqid limited to min 0 instead of full int32_t range 2019-02-01 11:13:49 -05:00
James E. King III
f95620d2b1 THRIFT-4405: sanity tests relating to sequence numbers
- prove all servers return the sequence ID given
- prove that sequences that wrap around the int32_t space are handled ok
2019-02-01 11:13:49 -05:00
Jun
f6511c904b THRIFT-4767: Added TSocket/TSSLSocket support tcp keep-alive in python (#1725)
* THRIFT-4767: Added TSocket support tcp keep-alive in python
* TSSLSocket support tcp keep-alive
2019-01-31 23:07:58 -05:00
Sebastian Zenker
2ec93c8a2d THRIFT-4763: HTML compiler produces invalid HTML document (#1720)
* HTML: the html generator did generate a closing </code> tag without a match <code>
* THRIFT-4763: added HTML test and fixed up additional HTML generation issues
2019-01-30 20:14:27 -05:00
James E. King III
4f7d93d8c3 Update grunt-shell-spawn javascript dependency 2019-01-30 14:59:22 -05:00
James E. King III
06ecaae4f3
Updated the Contributing Guide [ci skip]
Added details about trivial changes not needing a Jira ticket.
2019-01-30 10:29:08 -05:00
James E. King III
91a4fd7076
Update the pull request template [ci skip] 2019-01-30 10:24:33 -05:00
Sebastian Zenker
042580f534 THRIFT-4762: Applied some C++11 refactorings to the runtime library and compiler (#1719)
* make use of C++11 override keyword
* added const specifier to TTransport::getOrigin()
* added more const correctness to the compiler
* make use of auto keyword
* replaced usage of NULL with nullptr
* make use of explicitly-defaulted function definition
* extended changelog
2019-01-29 09:48:12 -05:00
Jens Geyer
aa0c8b35d8 THRIFT-4723 Consolidate C#/netcore into new netstd language target
Client: netstd
Patch: Jens Geyer

This closes #1710
2019-01-28 23:12:28 +01:00
Joel 'Aaron' Cohen
1231930abd THRIFT-4760: Configure and install pkgconfig files when using cmake
Client: cpp
2019-01-28 09:36:41 -05:00
James E. King III
4927179a53
Update the pull request template. [ci skip] 2019-01-28 08:32:47 -05:00
James E. King III
638c91f6be THRIFT-1549: properly unwrap and close TSSLSocket in python 2019-01-27 08:21:40 -05:00
James E. King III
5e23c4df5b Update changes with removal of compiler plugin [ci skip]. 2019-01-27 00:00:33 -05:00
James E. King III
29f7f8f32f THRIFT-4743: remove cpp compiler plugin support to simplify the project 2019-01-26 23:53:38 -05:00
James E. King III
3f559940c2 THRIFT-4757: fix npm identified security vulnerability in transient dependency on sync-exec 2019-01-26 09:35:46 -05:00