This is an automated email from the ASF dual-hosted git repository.
jking pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git.
from 93e8ec2 THRIFT-4726: Remove SLF4J Logging Guards
new 3cf0667 force c++11 in cmake
new 7b93559 use noexcept instead of throw() in library
new e42cf50 use noexcept instead of throw() in compiler generated code
new 0705d99 force c++11 in GNU autotools
new 83b65f0 allow specifing CMAKE_CXX_STANDARD above c++11
new c109e01 remove boost::thread and boost::mutex code
new 2150a34 remove boost::thread in CI
new f23e6a5 remove boost::thread in CI
new 9f837bb remove boost smart ptr
new 52637b3 remove std tr1
new 316723a remove stdcxx namespace and use std directly
new d65e91c remove stdcxx namespace and use std directly
new 8cb3b68 remove stdcxx namespace and use std directly
new 0f43f95 revert noexcept changings
new e9421b8 remove std tr1
new 7f8aef7 replace boost::atomic with std::atomic
new 7007506 replace boost static_assert with static_assert
new 77d26e2 replace boost unique_ptr with std::unique_ptr
new 863262d add static_assert message
new 5e16f8b set c++11 in proper place
new 1f34504 remove unused boost headers
new 0140cbf remove unused variables
The 22 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.travis.yml | 8 -
build/appveyor/cl_setenv.bat | 11 +-
build/cmake/DefineCMakeDefaults.cmake | 17 +-
build/cmake/DefineOptions.cmake | 19 +-
build/cmake/DefinePlatformSpecifc.cmake | 13 +-
build/cmake/README-MSYS2.md | 2 +-
build/cmake/README.md | 2 +-
build/cmake/config.h.in | 3 -
build/wincpp/build-thrift.bat | 1 -
.../cpp/src/thrift/generate/t_cpp_generator.cc | 118 ++++++------
.../cpp/src/thrift/generate/t_erl_generator.cc | 2 -
compiler/cpp/src/thrift/generate/t_go_generator.cc | 3 -
compiler/cpp/src/thrift/generate/t_hs_generator.cc | 4 -
compiler/cpp/src/thrift/generate/t_py_generator.cc | 2 -
compiler/cpp/src/thrift/plugin/plugin.cc | 29 +--
compiler/cpp/src/thrift/plugin/plugin_output.cc | 7 +-
configure.ac | 23 +--
contrib/transport-sample/ThriftCommon.h | 2 -
contrib/zeromq/TZmqServer.cpp | 2 +-
contrib/zeromq/TZmqServer.h | 5 +-
contrib/zeromq/test-client.cpp | 2 +-
contrib/zeromq/test-receiver.cpp | 2 +-
contrib/zeromq/test-sender.cpp | 2 +-
contrib/zeromq/test-server.cpp | 2 +-
lib/c_glib/test/testbufferedtransport.c | 3 -
lib/c_glib/test/testframedtransport.c | 3 -
lib/c_glib/test/testthrifttestclient.cpp | 12 +-
lib/c_glib/test/testtransportsocket.c | 3 -
lib/cpp/CMakeLists.txt | 9 +-
lib/cpp/Makefile.am | 8 -
lib/cpp/src/thrift/TApplicationException.h | 4 +-
lib/cpp/src/thrift/TDispatchProcessor.h | 8 +-
lib/cpp/src/thrift/TProcessor.h | 33 ++--
lib/cpp/src/thrift/Thrift.h | 7 +-
lib/cpp/src/thrift/async/TAsyncBufferProcessor.h | 8 +-
lib/cpp/src/thrift/async/TAsyncChannel.cpp | 5 +-
lib/cpp/src/thrift/async/TAsyncChannel.h | 5 +-
lib/cpp/src/thrift/async/TAsyncDispatchProcessor.h | 20 +-
lib/cpp/src/thrift/async/TAsyncProcessor.h | 20 +-
.../src/thrift/async/TAsyncProtocolProcessor.cpp | 18 +-
lib/cpp/src/thrift/async/TAsyncProtocolProcessor.h | 18 +-
.../src/thrift/async/TConcurrentClientSyncInfo.h | 4 +-
lib/cpp/src/thrift/async/TEvhttpClientChannel.h | 2 +-
lib/cpp/src/thrift/async/TEvhttpServer.cpp | 19 +-
lib/cpp/src/thrift/async/TEvhttpServer.h | 8 +-
lib/cpp/src/thrift/concurrency/BoostMonitor.cpp | 214 ---------------------
lib/cpp/src/thrift/concurrency/BoostMutex.cpp | 73 -------
.../src/thrift/concurrency/BoostThreadFactory.cpp | 162 ----------------
.../src/thrift/concurrency/BoostThreadFactory.h | 63 ------
lib/cpp/src/thrift/concurrency/FunctionRunner.h | 18 +-
lib/cpp/src/thrift/concurrency/Monitor.cpp | 8 +-
lib/cpp/src/thrift/concurrency/Mutex.h | 6 +-
.../src/thrift/concurrency/PlatformThreadFactory.h | 8 +-
.../src/thrift/concurrency/PosixThreadFactory.cpp | 26 +--
.../src/thrift/concurrency/PosixThreadFactory.h | 6 +-
.../src/thrift/concurrency/StdThreadFactory.cpp | 20 +-
lib/cpp/src/thrift/concurrency/StdThreadFactory.h | 6 +-
lib/cpp/src/thrift/concurrency/Thread.h | 27 +--
lib/cpp/src/thrift/concurrency/ThreadManager.cpp | 10 +-
lib/cpp/src/thrift/concurrency/ThreadManager.h | 19 +-
lib/cpp/src/thrift/concurrency/TimerManager.cpp | 4 +-
lib/cpp/src/thrift/concurrency/TimerManager.h | 26 +--
lib/cpp/src/thrift/processor/PeekProcessor.cpp | 26 +--
lib/cpp/src/thrift/processor/PeekProcessor.h | 30 +--
lib/cpp/src/thrift/processor/StatsProcessor.h | 8 +-
.../src/thrift/processor/TMultiplexedProcessor.h | 36 ++--
lib/cpp/src/thrift/protocol/TBase64Utils.cpp | 2 -
lib/cpp/src/thrift/protocol/TBinaryProtocol.h | 12 +-
lib/cpp/src/thrift/protocol/TBinaryProtocol.tcc | 8 +-
lib/cpp/src/thrift/protocol/TCompactProtocol.h | 12 +-
lib/cpp/src/thrift/protocol/TCompactProtocol.tcc | 8 +-
lib/cpp/src/thrift/protocol/TDebugProtocol.cpp | 1 -
lib/cpp/src/thrift/protocol/TDebugProtocol.h | 12 +-
lib/cpp/src/thrift/protocol/THeaderProtocol.cpp | 7 +-
lib/cpp/src/thrift/protocol/THeaderProtocol.h | 32 +--
lib/cpp/src/thrift/protocol/TJSONProtocol.cpp | 13 +-
lib/cpp/src/thrift/protocol/TJSONProtocol.h | 14 +-
lib/cpp/src/thrift/protocol/TMultiplexedProtocol.h | 2 +-
lib/cpp/src/thrift/protocol/TProtocol.h | 21 +-
lib/cpp/src/thrift/protocol/TProtocolDecorator.h | 4 +-
lib/cpp/src/thrift/protocol/TProtocolException.h | 4 +-
lib/cpp/src/thrift/protocol/TProtocolTap.h | 6 +-
lib/cpp/src/thrift/protocol/TVirtualProtocol.h | 4 +-
lib/cpp/src/thrift/qt/TQIODeviceTransport.cpp | 4 +-
lib/cpp/src/thrift/qt/TQIODeviceTransport.h | 6 +-
lib/cpp/src/thrift/qt/TQTcpServer.cpp | 13 +-
lib/cpp/src/thrift/qt/TQTcpServer.h | 18 +-
lib/cpp/src/thrift/server/TConnectedClient.cpp | 2 +-
lib/cpp/src/thrift/server/TConnectedClient.h | 22 +--
lib/cpp/src/thrift/server/TNonblockingServer.cpp | 66 +++----
lib/cpp/src/thrift/server/TNonblockingServer.h | 86 ++++-----
lib/cpp/src/thrift/server/TServer.h | 140 +++++++-------
lib/cpp/src/thrift/server/TServerFramework.cpp | 6 +-
lib/cpp/src/thrift/server/TServerFramework.h | 46 ++---
lib/cpp/src/thrift/server/TSimpleServer.cpp | 2 +-
lib/cpp/src/thrift/server/TSimpleServer.h | 42 ++--
lib/cpp/src/thrift/server/TThreadPoolServer.cpp | 4 +-
lib/cpp/src/thrift/server/TThreadPoolServer.h | 60 +++---
lib/cpp/src/thrift/server/TThreadedServer.cpp | 6 +-
lib/cpp/src/thrift/server/TThreadedServer.h | 66 +++----
lib/cpp/src/thrift/stdcxx.h | 129 -------------
lib/cpp/src/thrift/transport/TBufferTransports.h | 26 +--
lib/cpp/src/thrift/transport/TFileTransport.cpp | 14 +-
lib/cpp/src/thrift/transport/TFileTransport.h | 42 ++--
lib/cpp/src/thrift/transport/THeaderTransport.cpp | 3 +-
lib/cpp/src/thrift/transport/THeaderTransport.h | 13 +-
lib/cpp/src/thrift/transport/THttpClient.cpp | 4 +-
lib/cpp/src/thrift/transport/THttpClient.h | 2 +-
lib/cpp/src/thrift/transport/THttpServer.cpp | 2 +-
lib/cpp/src/thrift/transport/THttpServer.h | 6 +-
lib/cpp/src/thrift/transport/THttpTransport.cpp | 2 +-
lib/cpp/src/thrift/transport/THttpTransport.h | 4 +-
.../transport/TNonblockingSSLServerSocket.cpp | 10 +-
.../thrift/transport/TNonblockingSSLServerSocket.h | 11 +-
.../thrift/transport/TNonblockingServerSocket.cpp | 2 +-
.../thrift/transport/TNonblockingServerSocket.h | 7 +-
.../thrift/transport/TNonblockingServerTransport.h | 7 +-
lib/cpp/src/thrift/transport/TPipe.h | 2 +-
lib/cpp/src/thrift/transport/TPipeServer.cpp | 11 +-
lib/cpp/src/thrift/transport/TPipeServer.h | 6 +-
lib/cpp/src/thrift/transport/TSSLServerSocket.cpp | 8 +-
lib/cpp/src/thrift/transport/TSSLServerSocket.h | 11 +-
lib/cpp/src/thrift/transport/TSSLSocket.cpp | 48 ++---
lib/cpp/src/thrift/transport/TSSLSocket.h | 53 +++--
lib/cpp/src/thrift/transport/TServerSocket.cpp | 5 +-
lib/cpp/src/thrift/transport/TServerSocket.h | 9 +-
lib/cpp/src/thrift/transport/TServerTransport.h | 7 +-
lib/cpp/src/thrift/transport/TShortReadTransport.h | 6 +-
lib/cpp/src/thrift/transport/TSocket.cpp | 2 +-
lib/cpp/src/thrift/transport/TSocket.h | 4 +-
lib/cpp/src/thrift/transport/TSocketPool.cpp | 2 +-
lib/cpp/src/thrift/transport/TSocketPool.h | 14 +-
lib/cpp/src/thrift/transport/TTransport.h | 4 +-
.../src/thrift/transport/TTransportException.cpp | 2 +-
lib/cpp/src/thrift/transport/TTransportException.h | 6 +-
lib/cpp/src/thrift/transport/TTransportUtils.cpp | 4 +-
lib/cpp/src/thrift/transport/TTransportUtils.h | 44 ++---
lib/cpp/src/thrift/transport/TZlibTransport.h | 12 +-
lib/cpp/src/thrift/windows/TWinsockSingleton.cpp | 10 -
lib/cpp/src/thrift/windows/TWinsockSingleton.h | 16 +-
lib/cpp/src/thrift/windows/config.h | 3 -
lib/cpp/test/AllProtocolTests.tcc | 2 +-
lib/cpp/test/Benchmark.cpp | 16 +-
lib/cpp/test/CMakeLists.txt | 2 +-
lib/cpp/test/DebugProtoTest.cpp | 8 +-
lib/cpp/test/GenericHelpers.h | 26 +--
lib/cpp/test/JSONProtoTest.cpp | 36 ++--
lib/cpp/test/Makefile.am | 2 -
lib/cpp/test/OneWayHTTPTest.cpp | 24 +--
lib/cpp/test/OptionalRequiredTest.cpp | 6 +-
lib/cpp/test/RecursiveTest.cpp | 4 +-
lib/cpp/test/SecurityTest.cpp | 6 +-
lib/cpp/test/SpecializationTest.cpp | 4 +-
lib/cpp/test/TBufferBaseTest.cpp | 4 +-
lib/cpp/test/TMemoryBufferTest.cpp | 4 +-
lib/cpp/test/TNonblockingSSLServerTest.cpp | 46 +++--
lib/cpp/test/TNonblockingServerTest.cpp | 8 +-
lib/cpp/test/TPipeInterruptTest.cpp | 8 +-
lib/cpp/test/TPipedTransportTest.cpp | 8 +-
lib/cpp/test/TSSLSocketInterruptTest.cpp | 16 +-
lib/cpp/test/TServerIntegrationTest.cpp | 32 +--
lib/cpp/test/TServerSocketTest.cpp | 4 +-
lib/cpp/test/TServerTransportTest.cpp | 4 +-
lib/cpp/test/TSocketInterruptTest.cpp | 24 +--
lib/cpp/test/TransportTest.cpp | 23 ++-
lib/cpp/test/ZlibTest.cpp | 10 +-
lib/cpp/test/concurrency/RWMutexStarveTest.cpp | 4 +-
lib/cpp/test/concurrency/ThreadFactoryTests.h | 2 +-
lib/cpp/test/concurrency/ThreadManagerTests.h | 14 +-
lib/cpp/test/processor/Handlers.h | 32 +--
lib/cpp/test/processor/ProcessorTest.cpp | 158 +++++++--------
lib/cpp/test/processor/ServerThread.cpp | 2 +-
lib/cpp/test/processor/ServerThread.h | 16 +-
lib/cpp/test/qt/TQTcpServerTest.cpp | 39 ++--
test/cpp/src/StressTest.cpp | 75 ++++----
test/cpp/src/StressTestNonBlocking.cpp | 71 ++++---
test/cpp/src/TestClient.cpp | 51 +++--
test/cpp/src/TestServer.cpp | 119 ++++++------
tutorial/cpp/CppClient.cpp | 7 +-
tutorial/cpp/CppServer.cpp | 39 ++--
180 files changed, 1377 insertions(+), 2197 deletions(-)
delete mode 100644 lib/cpp/src/thrift/concurrency/BoostMonitor.cpp
delete mode 100644 lib/cpp/src/thrift/concurrency/BoostMutex.cpp
delete mode 100644 lib/cpp/src/thrift/concurrency/BoostThreadFactory.cpp
delete mode 100644 lib/cpp/src/thrift/concurrency/BoostThreadFactory.h
delete mode 100644 lib/cpp/src/thrift/stdcxx.h