Jens Geyer
14a9a120a8
THRIFT-4863 better indication of WinHTTP errors
...
Client: Delphi
Patch: Jens Geyer
2019-05-10 00:20:25 +02:00
James E. King III
ee8caca54e
THRIFT-4861: Set minimum boost to 1.56 and stop using deprecated boost predef endian header
...
Client: cpp
2019-05-04 21:52:29 -04:00
Jens Geyer
27d8387c49
THRIFT-4860 Allow changing "User-Agent"
...
Client: netstd
Patch: Jens Geyer
2019-05-04 12:22:47 +02:00
Park June Chul
8d554f503e
THRIFT-4859 Enables changing 'UserAgent'
...
Client: C#
Patch: Park June Chul <pjc0247@naver.com>
This closes #1787
2019-05-04 12:13:11 +02:00
Albert Hives
65d5f84507
renamed TClientTransport.cs file to match its class name TTransport.cs
...
Client: netstd
Patch: Albert Hives <ahives@hotmail.com>
This closes #1784
2019-05-03 23:10:16 +02:00
Beluga Behr
cc13de4f87
THRIFT-4851: Remove All Calls To printStackTrace
...
Client: Java
Patch: Beluga Behr <dam6923@gmail.com>
This closes #1783
2019-05-03 22:58:53 +02:00
Jens Geyer
366cc3dee0
THRIFT-4854 oneway calls do not work over HTTP
...
Client: netstd
Patch: Jens Geyer
This closes #1790
2019-04-28 23:51:34 +02:00
Jens Geyer
8f327f24ee
THRIFT-4853 TServerFramedTransport is now obsolete and can be removed
...
Client: netstd
Patch: Jens Geyer
This closes #1789
2019-04-28 00:31:57 +02:00
Jens Geyer
2ff952b0af
THRIFT-4816 JSONTransports Context.WriteAsync/ReadAsync are badly named
...
Client: netstd
Patch: Jens Geyer
This closes #1779
2019-04-19 16:07:29 +02:00
Jens Geyer
e26269e7b3
Merge pull request #1781 from dbcfd/4536-rust-stable
...
THRIFT-4536: Rust 1.34.0
2019-04-19 02:15:17 +02:00
Jens Geyer
2135a361a5
THRIFT-4834 CI error at Haskell: Failed to load interface for 'Network' ( #1780 )
2019-04-16 10:27:03 -04:00
Danny Browning
181d900a39
THRIFT 4536: Rust 1.34.0
...
Update dockerfiles to use rust stable, call out required rust version in
breaking changes.
2019-04-15 09:55:04 -06:00
Jens Geyer
0223091b70
THRIFT-4841 THTTPTransport relies on activeX component
...
Client: Delphi
Patch: Jens Geyer
This closes #1778
2019-04-06 09:53:09 +02:00
Jens Geyer
c9b1e29bc9
THRIFT-4843 http:// and https:// schemes are switched in test client
...
Client: Delphi
Patch: Jens Geyer
2019-04-04 00:02:03 +02:00
Kyle Smith
7b94dd4221
THRIFT-4839: Remove embedded buffering/framed options from TCP transports
...
Client: netstd
Patch: Kyle Smith + minor changes by Jens Geyer
This closes #1770
2019-03-27 00:17:55 +01:00
Danny Browning
ddec431b4a
TryFrom stable
...
TryFrom is now stable, so use that. Additionally re-export OrderedFloat since
it is used by the generated code. Relax dependencies to reduce downstream
conflicts.
2019-03-22 14:38:36 -04:00
Jens Geyer
421444f2df
THRIFT-4831 interface ITProtocolFactory should be class TProtocolFactory again
...
Client: netstd
Patch: Jens Geyer
This closes #1767
2019-03-21 09:03:13 +01:00
Jens Geyer
98c194103d
THRIFT-4829 HTTP server transport lacks TransportFactory arguments
...
Client: netstd
Patch: Jens Geyer
This closes #1766
2019-03-21 09:01:50 +01:00
Kyle Smith
6378ff69a6
THRIFT-4825 Aligned the TTlsSocketServerTransport constructors with the TSocketServerTransport
...
Client: C#
Patch: Kyle Smith <ksmith@jrautomation.com>
This closes #1762
2019-03-15 22:55:26 +01:00
Jens Geyer
b11f63c552
THRIFT-4824 Logger deprecation warnings in tutorial
...
Client: netstd
Patch: Jens Geyer
this closes #1760
2019-03-15 22:01:37 +01:00
Jens Geyer
bf27637960
THRIFT-4822 Convert bool CTOR flags into enum type
...
Client: netstd
Patch: Jens Geyer
This closes #1759
2019-03-15 01:31:04 +01:00
Kyle Smith
cf51a84391
THRIFT-4821 Normalized the constructors in TServerSocketTransport to allow parity between the TcpListerer and port options.
...
Client: netstd
Patch: Kyle Smith
This closes #1758
2019-03-14 21:13:54 +01:00
Jens Geyer
22c412e42d
THRIFT-4817 Add string CTOR to TTlsSocketTransport
...
Client: netstd
Patch: Jens Geyer
This closes #1753
2019-03-13 09:09:09 +01:00
James E. King III
17fa32f275
fix java build issue
2019-03-09 09:19:54 -05:00
Jens Geyer
8d21d80cd1
Release 0.12.1
2019-03-08 22:08:23 +01:00
James E. King III
c685cb05d4
THRIFT-4698: add haskell hackage sdist target and fix cabal file
2019-03-08 22:08:23 +01:00
James E. King III
52da9ab801
THRIFT-4750: as3 changes to build and publish to maven central
2019-03-08 22:08:21 +01:00
James E. King III
5ecaeb9d4a
THRIFT-4746: changes for publishing 0.12.0 to maven; fix java debug vs. release build with cmake
2019-03-08 22:03:41 +01:00
James E. King III
5e649973eb
THRIFT-4691: ensure CPAN module runs unit tests
2019-03-06 23:13:52 +01:00
Jens Geyer
92c660f541
additional test for TSimpleJSONProtocol
2019-03-06 23:13:09 +01:00
Jens Geyer
68ff6cddc0
THRIFT-4813 NamedPipes may not work in all cases
...
Client: netstd
Patch: Jens Geyer
2019-02-28 08:39:59 +01:00
Jens Geyer
a34f78385f
THRIFT-4812 haxelib readme still points to old ASF git repo
...
Client: haxe
Patch: Jens Geyer
2019-02-25 23:21:18 +01:00
James E. King III
798e90aa87
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-25 22:14:35 +01:00
Jens Geyer
1e41be40d8
THRIFT-4784 Thrift should throw when skipping over unexpected data
...
Client: as3
Patch: Jens Geyer
2019-02-25 22:14:33 +01:00
Jens Geyer
264a3f318e
additional test for TSimpleJSONProtocol
2019-02-24 17:19:09 +01: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
Tim Armstrong
6b3f7d92f9
Fix spelling errors in TSSLSocket.py
2019-02-14 19:17:01 -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
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
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
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
Jens Geyer
67df34afa7
THRIFT-4742 Typo "cannot read from null input stream" on write
...
Client: netcore
Patch: Jens Geyer
This closes #1697
2019-01-17 01:34:04 +01:00
Jens Geyer
ac9e9b1227
THRIFT-4741 Missing "inner" argument from one CTOR
...
Client: C#
Patch: Jens Geyer
This closes #1696
2019-01-17 01:33:24 +01:00
Mustafa Senol Cosar
f86845e8ed
THRIFT-4675: Generate Int64 constants for js
2019-01-15 09:20:54 -05:00
James E. King III
010ccf0a0c
Merge pull request #1678 from BELUGABEHR/THRIFT-4725
...
THRIFT-4725: Change Return Type Signature of Process Methods
2019-01-14 16:54:59 -05:00
James E. King III
bbc1377874
THRIFT-4691: ensure CPAN module runs unit tests
2019-01-14 13:57:30 -05:00
Christian Bürckert
f61d9e5282
THRIFT-4737: fixed
...
THRIFT-4737: [added beforeSend to add customHeaders to jqXHR in jqRequest]
Client: [lib/js]
locally tested - custom headers where missing when using jq. So I added these lines to fix it.
2019-01-14 12:14:10 -05:00
junnplus
fe11c48ee1
THRIFT-4733: Fix test unix socket address already in use
2019-01-14 12:10:24 -05:00
Beluga Behr
e20ab3e237
THRIFT-4725: Change Return Type Signature of Process Methods
2019-01-14 11:22:02 -05:00
James E. King III
4eac57abcf
THRIFT-4487: replace gettimeofday implementation on windows
2019-01-14 09:56:02 -05:00
James E. King III
234fb47229
THRIFT-4719: remove cocoa
2019-01-14 08:13:52 -05:00
James E. King III
1735542542
THRIFT-4735: Remove Qt4 build support
2019-01-13 09:01:52 -05:00
James E. King III
278528cf7b
THRIFT-4732: windows cmake refinements and add windows docker build support
2019-01-11 20:47:00 -05:00
James E. King III
d7c11ada88
Fix swift version [ci skip]
2019-01-11 19:19:44 -05:00
cyy
ca8af9b48f
THRIFT-4730: remove pthread code and refactor, ending up with just ThreadFactory
2019-01-11 09:13:12 -05:00
James E. King III
c9ac8d2953
THRIFT-4720: documenting breaking changes, minor cleanup
2019-01-09 17:05:34 -05:00
Ozan Can Altiok
caf7da9767
automatize the double rendering test
2019-01-07 10:45:27 -05:00
cyy
0140cbf567
remove unused variables
2019-01-07 08:11:37 -05:00
cyy
1f34504f43
remove unused boost headers
2019-01-07 08:11:37 -05:00
cyy
863262dad7
add static_assert message
2019-01-07 08:11:37 -05:00
cyy
77d26e2e5c
replace boost unique_ptr with std::unique_ptr
2019-01-07 08:11:37 -05:00
cyy
7007506960
replace boost static_assert with static_assert
2019-01-07 08:11:37 -05:00
cyy
7f8aef7099
replace boost::atomic with std::atomic
2019-01-07 08:11:37 -05:00
cyy
0f43f95b89
revert noexcept changings
2019-01-07 08:11:37 -05:00
cyy
8cb3b68548
remove stdcxx namespace and use std directly
2019-01-07 08:11:37 -05:00
cyy
d65e91c476
remove stdcxx namespace and use std directly
2019-01-07 08:11:37 -05:00
cyy
316723add4
remove stdcxx namespace and use std directly
2019-01-07 08:11:37 -05:00
cyy
52637b33ab
remove std tr1
2019-01-07 08:11:37 -05:00
cyy
9f837bbfb4
remove boost smart ptr
2019-01-07 08:11:37 -05:00
cyy
c109e01979
remove boost::thread and boost::mutex code
2019-01-07 08:11:37 -05:00
cyy
7b935597ba
use noexcept instead of throw() in library
2019-01-07 08:11:37 -05:00
Beluga Behr
93e8ec2d6a
THRIFT-4726: Remove SLF4J Logging Guards
2019-01-06 21:33:37 -05:00
邹异雄
0f79045627
Fix: free useless timer
2019-01-05 01:59:19 -05:00
邹异雄
b239b0a53b
Style: fix style
2019-01-05 01:59:19 -05:00
邹异雄
41d5d3a9ef
Fix: do not reconnect if connection.destroyed, prevent connection leak
2019-01-05 01:59:19 -05:00
Nephi Allred
414f9a5bf6
Skip native extension for jruby
2019-01-04 21:33:31 -05:00
James E. King III
ecebd77c4a
THRIFT-4716: add veralign.sh tool to set versions for releases
2019-01-04 16:28:13 -05:00
Beluga Behr
d532441366
THRIFT-4368: Fix guaranteed NPE in TBaseAsyncProcessor.java
...
wq# Please enter the commit message for your changes. Lines starting
2019-01-04 14:27:10 -05:00
James E. King III
6503043bc4
THRIFT-4714: optimize java TFramedTransport to call write once per flush
2019-01-03 22:04:36 -05:00
Beluga Behr
88584f8469
THRIFT-4712: Improve Performance and Refactor ShortStack
2019-01-03 18:55:36 -05:00
Beluga Behr
882d48da5d
THRIFT-4481: TBinaryProtocol.writeMessageEnd does not allow throwable exception
2019-01-03 14:45:16 -05:00
Beluga Behr
36ffe1e8dc
THRIFT-4469: Make isServing volatile
2019-01-03 07:23:45 -05:00
Beluga Behr
5abf58cf79
THRIFT-4709: Use StandardCharsets UTF-8
2019-01-03 00:10:15 -05:00
Beluga Behr
9e813aeed2
THRIFT-4702: Improve AutoExpandingBuffer
2019-01-03 00:06:19 -05:00
Beluga Behr
99f673a767
THRIFT-4694: Upgrade Java to Java 1.8
2019-01-02 19:20:56 -05:00
James E. King III
a3a7c6c789
THRIFT-4547: add swift to bionic build image and run unit tests
2019-01-02 15:20:23 -05:00
Beluga Behr
1c6914d5c5
THRIFT-4713: Review of TBaseHelper
2019-01-02 10:42:23 -05:00
Beluga Behr
df9c60d38f
THRIFT-4711: Improve Immutable None Type Instantiation
2019-01-02 10:05:48 -05:00
James E. King III
4c71660dab
THRIFT-4705: add nuget configuration file
2019-01-02 07:54:43 -05:00
Beluga Behr
138a81d5b4
THRIFT-4704: Streamline TDeserializer Implementation
2018-12-31 17:27:43 -05:00
James E. King III
e2109b914c
Merge pull request #1653 from jeking3/consume-0.12.0
...
THRIFT-4689: Consume the 0.12.0 release branch changes into master
2018-12-30 22:41:49 -05:00
Beluga Behr
bf51a9faf9
THRIFT-4695: Pre-Size Java Collections in Union
2018-12-30 22:39:32 -05:00
Beluga Behr
3671b8bce9
Use case-switch Statement Instead of if-else Clauses
2018-12-30 22:37:32 -05:00
James E. King III
c3375d9e43
Merge remote-tracking branch 'origin/0.12.0' into consume-0.12.0
2018-12-30 11:06:00 -05:00
Robert Lu
a139082755
THRIFT-4546: replace all git-wip-us.apache.org to github.com
2018-12-28 07:46:47 -05:00
Allen George
f9f037bd5a
Update Cargo.toml, release instructions and release script
...
Client: rs
2018-12-28 07:33:17 -05:00
jfarrell
384647d290
Version 0.12.0
2018-12-18 20:24:34 -05:00
James E. King III
9b75e4fe74
THRIFT-4680: fix up std::min, std::max, and numeric limits min/max on Windows; remove NOMINMAX from cmake build
2018-12-18 10:17:57 -05:00
Allen George
ef7a18970f
Reformat rust code with rustfmt 1.0
2018-12-16 18:22:04 -05:00
Jay Gheewala
2b7365c54f
THRIFT-4659: Fix race when closing server socket ( #1645 )
...
Client: go
2018-12-11 09:44:44 +01:00
proller
44ee32cef5
Fix c++98 build
2018-12-10 18:44:23 -05:00
proller
e6e7e62981
Correct c++17 definition
2018-12-10 18:44:23 -05:00
proller
db61f10497
Fix build with old c++
2018-12-10 18:44:23 -05:00
proller
f201bf05fb
Fix build with c++17
2018-12-10 18:44:23 -05:00
griffinmichl
208a048dc4
THRIFT-4679: Remove unused variable declaration
2018-12-07 16:18:46 -05:00
proller
17a9cffabb
Fix warning: catching polymorphic type ‘class std::runtime_error’ by value
...
../contrib/thrift/lib/cpp/src/thrift/protocol/TJSONProtocol.cpp:902:35: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=]
} catch (std::runtime_error e) {
^
../contrib/thrift/lib/cpp/src/thrift/protocol/TJSONProtocol.cpp:915:33: warning: catching polymorphic type ‘class std::runtime_error’ by value [-Wcatch-value=]
} catch (std::runtime_error e) {
^
2018-12-05 16:14:09 -05:00
Josip Sokcevic
30d3125cc2
THRIFT-4656: Fix infinite loop in PHP TCurlClient
...
Infinite loop happens when response body is empty and HTTP status is
200. This patch fixes it.
2018-12-05 16:07:09 -05:00
Mustafa Senol Cosar
dd965c1eb4
Fix hs-nodets test and re-enable it
2018-12-03 09:08:09 -05:00
wilfrem
2c69b5a01e
THRIFT-3143: Add nodets support
...
Co-authored-by: Mustafa Senol Cosar <cosar.mustafasenol@gmail.com>
2018-11-29 15:28:44 -05:00
Efimov Evgenij
7f0fa6c21e
THRIFT-4674 Added stream context support for PHP THttpClient
2018-11-27 22:19:24 -05:00
Jens Geyer
fc52c3ccee
THRIFT-4673 IAsyncResult not supported by layered transports (buffered/framed)
...
Client: C#
Patch: Jens Geyer
This closes #1634
2018-11-24 02:08:20 +01:00
lixiasong
7abb7d5fbc
THRIFT-4671 handle client's unexpected close.
...
handle client's unexpected close. Avoid the server work thread falling into dead loop because :
1. the function return result from INT32 coverts to UINT32 ;
2. the condition in line 482 "ftype == T_STOP" will never be satisfied when the client socket closed before sending data to server.
2018-11-23 16:53:25 -05:00
lshgdut
7af79c8359
THRIFT-4668: make socket backlog configurable for python2
...
Client: py
2018-11-22 08:30:56 -05:00
Allen George
aa177ea4b3
THRIFT-4666: Attempt to work around dlang client pool test failure
2018-11-19 12:53:16 -05:00
Jake W
24918abba9
THRIFT-4664: Cannot create ReadHalf/WriteHalf
...
Client: rs
2018-11-12 07:58:54 -05:00
GREATEST Wiggler EvaR!
b57d126157
THRIFT-4529: Rust enum variants are now camel-cased
...
Client: rs
2018-11-12 07:57:43 -05:00
jake-ruyi
6436899e47
THRIFT-4662: Rust const string calls function at compile time
...
Client: rs
2018-11-12 07:51:25 -05:00
James E. King III
2391f33465
THRIFT-4545: fix haskell build on windows, fix appveyor stale packages
2018-11-11 17:07:24 -05:00
jake-ruyi
d5bd2005ea
THRIFT-4661: Rust enum name wrong case in generated structs
...
Client: rs
2018-11-09 17:56:25 -05:00
James E. King III
f7d43ce0aa
fix build errors related to updated static code analysis tools for python and php
2018-11-06 12:20:52 -05:00
GREATEST Wiggler EvaR!
718a63c85b
THRIFT-4658: TBinaryInputProtocol fails when strict is false
...
Client: rs
2018-11-05 07:58:52 -05:00
bforbis
da1169d75b
THRIFT-4653: ES6 classes support ( #1615 )
...
* ES6 classes support
* Lint generated code
* ES6 Tests for NodeJS
* Add eslint rules for nodejs
* Run prettier/eslint on nodejs test code
2018-10-28 11:27:38 -04:00
D. Can Celasun
9ee29516c4
Replace git.apache.org imports with github.com
...
Client: go
2018-10-19 07:48:56 +01:00
Dean Hamstead
8a130f63e5
THRIFT-4382: Replace the use of Indirect Object Syntax calls to new()
2018-10-17 19:13:45 -04:00
Andylee
7a51220c02
Remove redundant source files in project libthrift.vcxproj ( #1614 )
...
delete redundant configuration of three files
2018-10-17 09:20:47 -04:00
Craig Wickesser
5c1ecb67cd
THRIFT-4650: fix required fields incorrectly being marked as set
...
This closes #1610 .
Client: go
2018-10-16 07:40:13 +01:00
st0ke
961fa70134
THRIFT-4618: Use poll() instead of select() in C++ TNonblockingServer if available ( #1580 )
2018-10-12 07:37:40 -04:00
Simon South
2853da436f
THRIFT-4648: Use correct namespace in type names
...
Client: c_glib
2018-10-12 07:35:39 -04:00
jfarrell
2a2b72f6c8
Thrift-4647: Node.js Filesever webroot fixed path
...
Updates the node.js fileserver to have a fixed based webroot which can
not be escaped by end users.
2018-10-11 10:19:50 -04:00
Naveen Gangam
d566da7739
THRIFT-4494: Increase Java Socket Buffer Size ( #1608 )
2018-10-05 17:05:40 -04:00
Naveen Gangam
eb31a6cd7e
THRIFT-4499: Remove Magic Number In TFIleTransport ( #1607 )
2018-10-05 17:05:07 -04:00
James E. King III
e1aacb9546
THRIFT-3863: fix automake lua library list dependency ordering
2018-10-04 19:43:07 +00:00
James Johnston
4a983069a6
THRIFT-4645: TCurlClient: include failure reason in exception
...
When curl_exec fails, more detailed failure information is available
by calling curl_error. Include this error information in the message in
the thrown TTransportException.
Also change the comparison of the return value of curl_exec to
explicitly check for boolean false, so as to distinguish from an empty
response body (per the PHP documentation on this subject).
2018-10-03 15:12:26 -04:00
Brian Forbis
b5d6ea390f
THRIFT-4625: Use let/const variable decorators in ES6 Javascript
2018-09-28 10:36:55 -04:00
Jens Geyer
a923580546
THRIFT-4642 FPU ctrl word settings may cause an unexpected "denormalized" error
...
Client: Delphi
Patch: Jens Geyer
2018-09-25 00:22:15 +02:00
Josip Sokcevic
ce70ba20c9
THRIFT-4641: Check HTTP Status Code in TCurlClient
2018-09-21 13:27:15 -04:00
cyy
cbcfb2573f
fix some static analyzer warnings in cpp library ( #1596 )
2018-09-20 09:06:35 -04:00
Nikolay
abd0df7449
dub.json for integration into Dlang package registry and fix deprication warnings
2018-09-16 19:56:29 -04:00
Dominic Coyne
27705f487d
THRIFT-4620: Ensure enough space for for zlib flush marker
...
Client: lib/cpp
2018-09-16 06:51:38 -04:00
James E. King III
f74bc7b8bc
THRIFT-4634: work around cabal 1.22 dependency bug breaking CI job for Xenial
2018-09-15 09:44:05 -04:00
Chris Simpson
612fdd871c
Better consistency with module names, fix module name for Errors
2018-09-13 07:50:24 -04:00
Chris Simpson
2566ecd5d9
Update Swift Library and tests
2018-09-02 07:03:19 -04:00
Vyacheslav Kulakov
6e29b192a3
Remove checking of remaining bytes in the Go library.
...
Obtaining the remaining bytes isn't supported with some combinations of protocols and transports in the Go library. For example, the binary protocol doesn't work properly with the zlib transport which wraps the framed transport. In libraries for other languages checking is used for directly reading data from a buffer of an underlying transport. If data isn't enough we just read data from the underlying transport and never throw an error as in the Go library. But buffer for the zlib transport is encapsulated in the Go zlib library and we can't access to it. So removing that checking is the most simple and convenient method to solve the problem.
2018-09-02 07:01:14 -04:00
Neil Williams
66a44c5d8d
THRIFT-4621 Add THeader for Python
...
Client: py
2018-09-01 10:24:43 +09:00
Jens Geyer
6e67faa928
THRIFT-4609 keep InnerException wherever appropriate
...
Client: C#
Patch: Jens Geyer
This closes #1576
2018-08-07 23:28:49 +02:00
Kevin Wojniak
0a2d4587c8
Fix comparison of integers of different signs
...
This fixes a warning in Xcode/clang "Comparison of integers of different signs: 'int' and 'UInt32' (aka 'unsigned int')"
2018-08-03 17:03:22 -04:00
Kevin Greene
fdd735eec3
THRIFT-4604: NodeJS add Int64 to exports for browserify ( #1573 )
2018-08-01 08:59:18 -04:00
bforbis
f2867c2498
THRIFT-3950: Memory leak while calling oneway methods ( #1568 )
...
* THRIFT-3950: Memory leak while calling oneway methods
* THRIFT-3950: Update NodeJS Oneway tests
2018-07-17 12:19:49 -04:00
zhiyong0804
f12cacf561
THRIFT-4591: optimize lua client to use one write per framed message ( #1566 )
2018-07-05 09:29:51 -04:00
Drew Ritter
c0a5eed219
THRIFT-4592: change readI32 to use Array.reverse/Array.pop vs Array.shift, which is expensive for big arrays in V8
2018-07-03 08:15:49 -04:00