Jens Geyer
c54a90d12d
THRIFT-4189 Framed/buffered transport Dispose() does not dispose the nested transport
...
Client: C#
Patch: Jens Geyer
2017-05-06 00:58:05 +02:00
James E. King, III
19baeefd8c
THRIFT-4184: fix appveyor build issue with escaped character sequence in boost path
...
This closes #1259
2017-04-27 14:09:31 -04:00
Dome Geszler
177b5691b6
THRIFT-4185: (scribe ctrl counters) fix encoding in name of counter avoiding outage in monitoring
...
Client: fb303
This closes #1257
2017-04-27 09:53:07 -04:00
Allen George
0e22c362b9
THRIFT-4176: Implement threaded server for Rust
...
Client: rs
* Create a TIoChannel construct
* Separate TTransport into TReadTransport and TWriteTransport
* Restructure types to avoid shared ownership
* Remove user-visible boxing and ref-counting
* Replace TSimpleServer with a thread-pool based TServer
This closes #1255
2017-04-27 08:46:02 -04:00
Jens Geyer
9db23b7be3
THRIFT-4183: Named pipe client blocks forever on Open() when there is no server at the other end
...
Client: C#
Patch: Jens Geyer
This closes #1258
2017-04-27 00:29:52 +02:00
Deniss Afonin
3311a9b237
THRIFT-4177 fix java deep copy
...
Client: Java
Java compiler produces deep copy constructor that could make shallow copy accidentally.
This closes #1254
2017-04-19 12:38:14 -04:00
Mario Emmenlauer
a105450fd1
THRIFT-4158: MSYS-appveyor-install.bat: use mingw-w64-xxx variants of openssl and zlib
...
Client: C++
This closes #1247
2017-04-18 09:11:06 -04:00
771545803@qq.com
2d65c2365f
THRIFT-3832: fix lnk 200 error on windows when compile as lib
...
This closes #1250
2017-04-10 08:55:19 -04:00
Mario Emmenlauer
3db41faf4e
THRIFT-4159: enable some Windows sources also on MSYS2
...
This closes #1248
2017-04-08 00:31:35 -04:00
Allen George
92e1c409c7
THRIFT-4099: Derive Hash trait for Rust structs
...
Client: rs
This closes #1246
2017-04-07 09:24:41 -04:00
James E. King, III
ee17ff95e5
THRIFT-4071: rebalance build job 5 to eliminate CI failures
...
This closes #1245
2017-04-07 00:25:42 -04:00
James E. King, III
f74943cf6e
THRIFT-4172: fix node.js tutorial when connection fails
...
Client: node.js
Patch: Eden Hochbaum <eden.hochbaum@gmail.com>
This closes #1037
This closes #1244
2017-04-06 21:04:56 -04:00
Kazuki Matsuda
b909a3897b
THRIFT-3627 fix missing basic code style consistency of JavaScript.
...
Client: js
This closes #858
This closes #1243
2017-04-06 19:12:28 -04:00
James E. King, III
3641b54352
THRIFT-4170: fix lua backwards compatibility
...
Client: lua
Patch: wlgys8 <147668916@qq.com>
This closes #669
This closes #1241
2017-04-06 17:49:05 -04:00
James E. King, III
d6de199259
Pull CHANGES file from 0.10.0 release to master
2017-04-06 09:22:22 -04:00
James E. King, III
33df4eb77a
THRIFT-4166: fix recent VC2010 build regression and prevent it in the future
...
Client: cpp
This closes #1237
2017-04-06 08:45:17 -04:00
James E. King, III
4eb23472b7
THRIFT-4071: collapse and remove unnecessary build jobs in Travis CI; ensure WITH_PLUGIN is tested somewhere
...
This closes #1238
2017-04-05 19:32:27 -04:00
Changli Gao
257dceff5e
THRIFT-4160 (pt. 2): Fix wrong numActiveProcessors_ when failing to notify any IO thread
...
Client: cpp
This closes #1239
We should decrease numActiveProcessors_ when failing to notify any
IO thread.
2017-04-05 19:29:24 -04:00
James E. King, III
43e959bc5c
THRIFT-4165: better cmake support for C++ language level selection; fixed compiler warnings
...
This closes #1236
2017-04-05 08:58:38 -04:00
James E. King, III
7f5a8c28bc
THRIFT-4164: update openssl cleanup to match current requirements and document TSSLSocketFactory lifetime requirements
...
Client: cpp
This closes #1235
2017-04-04 09:36:38 -04:00
James E. King, III
00d4252392
THRIFT-3978: tighten up pthread mutex implementation, removing asserts and replacing them with exceptions
...
Client: cpp
This closes #1228
2017-04-04 09:32:45 -04:00
Changli Gao
7e7a1a7c10
TSocket: Don't close connections when failing to read/write
...
Client: cpp
Sockets maybe registered to a event base of libevent, so the
following epoll_ctl(2) may fail due to EBADF, or may
delete other sockets. Chaos occurs.
This closes #1217
2017-04-02 23:37:14 -04:00
Changli Gao
bf42d55189
THRIFT-4161: TNonblockingServer: Fix using uninitialized event_
...
Client: cpp
When there are more than one IO threads, and we have failed to notify
one IO threads, then we have to close the connection. But the event_
in that connection isn't initialized. We should use setIdle() instead.
This closes #1216
2017-04-02 23:30:04 -04:00
Changli Gao
d4fa706dca
THRIFT-4160: Fix use closed(freed) connections in non-blocking server
...
Client: cpp
When failing to add tasks into the thread manager, we close the
corresponding connections, then set the flags of these connections,
which have been already freed.
We should decrease the number of active processors.
This closes #1211
2017-04-02 23:24:54 -04:00
Chris Vasselli
df3223c85d
THRIFT-3859: Add support for Unix Domain Sockets to TSocketServer and TSocketTransport.
...
Client: cocoa
TSocketServer and TSocketTransport have been refactored to support sockets created using either a port or a path.
Existing behavior for port-based socket transport is unchanged by this commit.
This closes #1031
2017-04-02 23:14:29 -04:00
Jens Geyer
90b6304901
THRIFT-4157 outdated readme about Haxe installation on Linux
...
Client: Haxe
Patch: Jens Geyer
This closes #1234
2017-04-02 16:06:08 +02:00
James E. King, III
c6ded922c5
THRIFT-4154: properly close socket whether it is persistent or not on close()
...
Client: php
This closes #1011
This closes #1233
2017-04-01 23:26:54 -04:00
James E. King, III
d5536d1ea0
THRIFT-3730: go server errors are logged twice
...
Client: go
Patch: zhujun2006 <stone1342006 at gmail dot com>
This closes #940
2017-04-01 11:21:12 -04:00
Chris Osborn
f65db706b3
THRIFT-3784: thrift-maven-plugin generates invalid include directories for IDL in dependency JARs
...
Client: thrift-maven (contrib)
This closes #984
2017-04-01 11:15:54 -04:00
Gonzalo Aguilar Delgado
fcf4476792
THRIFT-4152: Make a patch to fix #4152 at least for structs
...
Documentation
This closes #1230
2017-04-01 10:56:21 -04:00
Jim Apple
117a5cca77
THRIFT-4138: Remove undefined behavior imported from Boost
...
Client: C++
There is undefined behavior in boost::lexical_cast that was fixed in
https://github.com/boostorg/lexical_cast/issues/21 , but that fix is
only available in recent Boost releases. This patch removes all uses
of lexical_cast instead.
That removes the last undefined behavior, so this patch also makes
ubsan.sh unconditionally fail on undefined behavior.
This closes #1232
2017-04-01 10:51:48 -04:00
James E. King, III
5c3de6d3d2
THRIFT-4140: fix unsafe call to gmtime
...
Client: C++
Patch: Adriaan Schmidt <adriaan.schmidt@siemens.com>
This closes #1231
2017-04-01 10:46:25 -04:00
James E. King, III
2c0badd660
THRIFT-3823: Use 'pre' HTML tag when generating non escaped documentation
...
Patch: Maxime Mouial <maxime.mouial@scmfrance.fr>
This closes #1009
2017-04-01 10:38:13 -04:00
tpcwang
bede86a032
THRIFT-3944 TSSLSocket has dead code in checkHandshake
...
Client: C++
This closes #1110
2017-04-01 10:14:16 -04:00
James E. King, III
7bc943196d
THRIFT-4151: disable pthread concurrency analysis code in standard builds
...
Client: C++
This closes #1229
2017-03-31 21:25:20 -04:00
Chao Sun
c063b30ecd
THRIFT-4147: Rust: protocol should accept transports with non-static lifetime
...
Client: rs
This closes #1226
2017-03-30 17:28:58 -04:00
Flier Lu
1187060183
THRIFT-4113: export thrift::mem::TBufferTransport
...
Client: rs
This closes #1218
2017-03-30 17:25:10 -04:00
James E. King, III
177c37ce85
THRIFT-4069: perl library cleanup - namespaces, versioning, exception fixes
...
Client: perl
This closes #1220
2017-03-30 17:09:04 -04:00
kufd
1360270eb8
THRIFT-4126: implement required fields validation in php extension when validate compiler option is enabled
...
Client: php
This closes #1215
2017-03-30 16:42:11 -04:00
Jens Geyer
7470995ce4
THRIFT-4137 Fix remaining undefined behavior invalid vptr casts in Thrift Compiler
2017-03-27 22:50:16 +02:00
James E. King, III
9a8d576c88
THRIFT-4141: fix haxe installation in docker build for debian, ubuntu
...
This closes #1225
2017-03-27 15:39:00 -04:00
Chao Sun
9f71e00b00
THRIFT-4114: Space after '///' in doc comments
...
Client: rs
This closes #1224
2017-03-27 08:52:12 -04:00
Jens Geyer
971d077807
THRIFT-4136 Align is_binary() method with is_string() to simplify those checks
...
Client: Compiler (general)
Patch: Jens Geyer
This closes #1221
2017-03-26 19:54:50 +02:00
Jim Apple
147c2849af
THRIFT-2026: Eliminate some undefined behavior in C/C++
...
Clients: glib, C++
Patch: Jim Apple <jbapple-impala@apache.org>
This closes #1214
This patch fixes some undefined behavior were found using Clang's
UndefinedBehaviorSanitizer (UBSan). To check for undefined behavior,
run /build/docker/scripts/ubsan.sh. This is run during CI builds, as
well.
The examples of the types of undefined behavior fixed in this commit
are:
1. Enumerations exhibit undefined behavior when they have values
outside of a range dependent on the values of their enumerators, as
specified in C++14's chapter 7.2 ("Enumeration declarations"),
paragraph 8.
2. Left shift of negative values, used in zigzag encoding, is
undefined behavior. See 5.8 ("Shift operators"), paragraph 2 for
C++ and 6.5.7 ("Bitwise shift operators"), paragraph 4 for C99 and
C11.
2017-03-25 08:16:18 -04:00
Jonathan Pearlin
6c08ac72c6
THRIFT-4130: Release connection back to managed pool.
...
Client: C++
This closes #1212
2017-03-22 20:33:20 -04:00
James E. King, III
847fae9388
THRIFT-3959: document that the go simple server is not simple
...
Client: go
Patch: JodeZer <jeffery1993@hotmail.com>
This closes #1213
2017-03-22 15:17:30 -04:00
James E. King, III
bf9b6970ba
THRIFT-4081 broke compiling with gcc 4.6.x
2017-03-22 15:07:23 -04:00
Changli Gao
75386db8c0
THRIFT-4129: Fix fd leak when failing to dispatch new connections
...
Client: C++
This closes #1210
2017-03-22 15:03:37 -04:00
James E. King, III
e576b26e39
THRIFT-4079: emit use clauses in Types.pm generated files as well (fix reopened defect)
...
Client: perl
This closes #1219
2017-03-22 14:42:52 -04:00
Yao Jin
6582757752
THRIFT-4029: add MANIFEST.in to include the extension files
...
Client: py
This closes #1206
2017-03-10 06:24:31 -05:00