Commit Graph

3481 Commits

Author SHA1 Message Date
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
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
d77e097726 fix minor glib warning 2019-02-02 01:17:46 -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
f15b4152b9 THRIFT-4405: fix negative sequence id handling in python TCompactProtocol 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
James E. King III
4f7d93d8c3 Update grunt-shell-spawn javascript dependency 2019-01-30 14:59:22 -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
638c91f6be THRIFT-1549: properly unwrap and close TSSLSocket in python 2019-01-27 08:21:40 -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
James E. King III
b96c43892a THRIFT-4717: fix up make clean with autoconf 2019-01-25 23:33:54 -05:00
James E. King III
8935c98046 THRIFT-4753: re-version master to next release 0.13.0 2019-01-25 23:33:54 -05:00
Mustafa Senol Cosar
129bb3e10d THRIFT-4675: Fix int64 constants generation for map keys 2019-01-25 10:03:37 -05:00
James E. King III
b1d63e7190 THRIFT-4750: as3 changes to build and publish to maven central 2019-01-24 12:20:30 -05:00
Florian Lonqueu-Brochard
22749ac376 THRIFT-4751: Missing imports in TProtocol (phpdoc related only)
Client: php
2019-01-24 07:57:20 -05:00
James E. King III
328e437f26 THRIFT-4698: add releading instructions to the haskell readme [ci skip] 2019-01-24 07:46:13 -05:00
James E. King III
98f379ece1 THRIFT-4746: changes for publishing java library to maven; fix java debug vs. release build with cmake 2019-01-23 09:24:32 -05:00
James E. King III
dd63da19fa
Merge pull request #1690 from cyyever/const_members
THRIFT-4740:Use std::chrono for timeout and add const to some methods.
2019-01-22 09:40:21 -05:00
Renan Cakirerk
c28a739b8c THRIFT-4747: The 'omitempty' tag should not be appended to optional fields that have a default value 2019-01-21 22:25:40 -05:00
Rob Becker
f1eadad76e THRIFT-4654 Minor fixes for dart 1 & 2 compatibility (backwards compatible) (#1617)
* THRIFT-4654 Minor fixes for dart 1 & 2 compatibility
* update dockerfiles for CI to test dart 2
* THRIFT-4654 update pubspec for tests
* THRIFT-4654 update dart test generator and readme to 1.24.3
* THRIFT-4654 update generated dart sdk to a range
* fix the dart tutorials
* Add .dart_tool directories to .gitignore
* THRIFT-4654: use dart 2.1.0 and fix cross test dart client timeout
2019-01-21 22:24:01 -05:00
cyy
9fed90104c fix static analyzer warings 2019-01-22 10:38:15 +08:00
cyy
f7a4ead00d fix warings 2019-01-22 10:38:14 +08:00
cyy
f6460fa00b change doc 2019-01-22 10:38:14 +08:00
cyy
72a878ebe3 change timeous_ms to unsigned type 2019-01-22 10:36:18 +08:00
cyy
c349cdb295 add override and const 2019-01-22 10:36:18 +08:00
cyy
fc222b3a87 remove useless assert code 2019-01-22 10:36:18 +08:00
cyy
c1bfe3d718 remove WIN XP macros 2019-01-22 10:36:18 +08:00
cyy
6a01d46df6 remove unused code 2019-01-22 10:36:18 +08:00
cyy
bfdbd0344b use chrono 2019-01-22 10:36:18 +08:00
cyy
d12dbed670 remove unused headers 2019-01-22 10:36:18 +08:00
cyy
7190ca7a3d remove unused headers 2019-01-22 10:36:17 +08:00
cyy
f83d3f90d6 add const to member functions 2019-01-22 10:36:17 +08:00
James E. King III
ef32bc10b7 THRIFT-4163: update cmake build type handling 2019-01-21 16:14:25 -05:00
Christoph Herold
1ad08ca91b THRIFT-3587 TTLSSocket now also uses ConnectHelper to allow for timeouts when opening the connection.
Client: C#
Patch: Christoph Herold

This closes #1698
2019-01-20 22:13:54 +01:00
Jens Geyer
8630eb9cf2 THRIFT-4741 Missing "inner" argument from one CTOR
Client: C#
Patch: Jens Geyer

This closes #1696
2019-01-20 11:35:17 +01:00