Carel Combrink
0835277ec2
THRIFT-5898: Replace global variable with a singleton getter
...
Client: cpp
2025-12-01 22:30:46 +01:00
Jens Geyer
944b8e68a0
fixed a ton of missing ASF headers in *.thrift files
2022-09-11 12:31:26 +02:00
zeshuai007
26681fbdb7
THRIFT-5225: Use nullptr instead of NULL
...
Patch: Zezeng Wang
This closes #2168
2020-06-14 14:17:11 +02:00
Kevin Wojniak
596e25f9b0
Fix unknown pragma warnings on mingw
...
Client: cpp
Patch: Kevin Wojniak
This closes #1917
These pragmas are only valid for MSVC. Fixes warnings found in the logs:
> In file included from C:\projects\thrift\lib\cpp\test\processor\ProcessorTest.cpp:40:
731C:\projects\thrift\lib\cpp\test\processor\Handlers.h:143: warning: ignoring #pragma warning [-Wunknown-pragmas]
732 143 | #pragma warning( push )
733 |
734C:\projects\thrift\lib\cpp\test\processor\Handlers.h:144: warning: ignoring #pragma warning [-Wunknown-pragmas]
735 144 | #pragma warning (disable : 4250 ) //inheriting methods via dominance
736 |
737C:\projects\thrift\lib\cpp\test\processor\Handlers.h:172: warning: ignoring #pragma warning [-Wunknown-pragmas]
738 172 | #pragma warning( pop )
739 |
2019-11-06 01:11:55 +01:00
David Carlier
29ecfaba53
CPP generator test, catching exceptions by ref instead.
2019-06-21 07:30:13 -04: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
cyy
ca8af9b48f
THRIFT-4730: remove pthread code and refactor, ending up with just ThreadFactory
2019-01-11 09:13:12 -05:00
cyy
316723add4
remove stdcxx namespace and use std directly
2019-01-07 08:11:37 -05:00
James E. King, III
82ae9575cd
THRIFT-2221: detect C++11 and use std namespace for memory operations (smart_ptr)
...
Client: C++
This closes #1328
2017-08-10 13:27:21 -04:00
Divya Thaluru
808d143245
THRIFT-4276:Add SSL support to the C++ Nonblocking Server
...
Client: C++ Lib
Patch: Divya Thaluru
Github Pull Request:
This closes #1251
2017-08-06 16:36:36 -07:00
James E. King, III
7edc8faefd
THRIFT-3873: fix various compiler warnings and overflow errors
...
THRIFT-3847: change VERSION to PACKAGE_VERSION to avoid conflicts with third party or OS headers
This closes #1128
2017-01-20 10:12:06 -05:00
James E. King, III
df89913b8a
THRIFT-3932 fixed ThreadManager concurrency issues, added more tests in that area, did a little refactoring and prettying up along the way
...
Client: C++
This closes #1103
2016-11-12 15:16:30 -05:00
James E. King, III
36200904e7
THRIFT-3943: resolve some high severity outstanding defects identified by coverity scan
...
Clients: C++, Lua
Patch: James E. King, III <jim.king@simplivity.com >
This closes #1109
2016-10-13 22:59:20 +02:00
Antonio Di Monaco
796667b29f
THRIFT-3437 Fixed MinGW-w64 build
...
Client: Build
Patch: Antonio Di Monaco
This closes #771
2016-01-06 04:35:12 +09:00
Jens Geyer
b141fd0801
THRIFT-3257 warning: extra tokens at end of #endif directive
...
Client: C++
Patch: Jens Geyer
This closes #559
2015-07-24 01:03:07 +02:00
ben-craig
fae08e774c
THRIFT-3246 Reduce the number of trivial warnings in Windows C++ CMake builds
...
Client: cpp
Patch: Ben Craig <bencraig@apache.org >
This closes #553
2015-07-15 11:34:47 -05:00
Konrad Grochowski
3b115dfa61
THRIFT-727 - C++: what() method of generated exceptions will provide more information
...
Patch: Anna Dymek <aadymek@gmail.com >
Client: C++
This closes #469
2015-05-18 19:47:23 +02:00
Nobuaki Sukegawa
2825664f25
THRIFT-2893 CMake build fails with boost thread or std thread
...
Following changes are made to fix the build
* Add USE_..._THREAD compiler definitions correctly
* Link to boost_thread and boost_system when configured with boost thread
* Link to pthread if platform is posix and std thread is used
* Use PlatformThreadFactory in test code
2014-12-21 16:36:46 +01:00
Konrad Grochowski
16a23a6618
THRIFT-2729: C++ - .clang-format created and applied
...
Client: C++
Patch: Konrad Grochowski
make style command added
2014-11-18 11:39:10 +01:00
Konrad Grochowski
240120c843
Revert "THRIFT-2729: C++ - .clang-format created and applied"
...
This reverts commit 74260aa909 .
2014-11-18 11:33:31 +01:00
Konrad Grochowski
74260aa909
THRIFT-2729: C++ - .clang-format created and applied
...
Client: C++
Patch: Konrad Grochowski
make style command added
2014-11-18 10:02:08 +01:00
Konrad Grochowski
8c12b19eb7
THRIFT-2827: C++ - Remove unused tr1/functional include from ProcessorTest
...
Client: C++
Patch: Aiden Scandella
This closes #267
Include was unused yet was causing compilation problems on platforms
without c++11 tr1
2014-11-15 12:57:23 +01:00
Konrad Grochowski
b3f5ffc42d
THRIFT-2801: cpp - compilation warnings removed from test suite
...
Client: C++
Patch: Konrad Grochowski
Unused parameters mostly
2014-11-06 19:32:59 +01:00
Roger Meier
a5bf1a1ff0
cpp: fix automake dependencies and make ProcessorTest.cpp compilable again
2014-10-22 23:26:01 +02:00
Jake Farrell
970c86a5f2
Thrift-1607:Incorrect file modes for several source files
...
Client: build
Patch: Andrew Cox
File modes of some non-script text files (e.g. .xml, .java, .cc) in the source tree include execute permissions (because these files have the svn:executable property).
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1339492 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 05:41:09 +00:00
Roger Meier
2b1a5289a7
THRIFT-1336 thrift: added server and processor test code
...
move the tests from src to test:
lib\cpp\src\thrift\concurrency\test to lib\cpp\test\concurrency
lib\cpp\src\thrift\processor\test to lib\cpp\test\processor
git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1337098 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 10:12:39 +00:00