- rm thread pool demo
- deleted: include/limonp/BlockingQueue.hpp
- deleted: include/limonp/BoundedBlockingQueue.hpp
- deleted: include/limonp/BoundedQueue.hpp
- deleted: include/limonp/MutexLock.hpp
- deleted: include/limonp/Thread.hpp
- deleted: include/limonp/ThreadPool.hpp
- deleted: test/unittest/TBlockingQueue.cpp
- deleted: test/unittest/TBoundedQueue.cpp
- deleted: test/unittest/TMutexLock.cpp
- deleted: test/unittest/TThread.cpp
- deleted: test/unittest/TThreadPool.cpp
- rm FileLock
- rm Md5.hpp
- [c++20] compatibility
- [c++17] compatibility
- [CI] fix windows gtest thread link error
- [submodule] rm test/googletest
- [CMake] FetchContent googletest
- [CMake] required 3.5 -> 3.14
- [StringUtil] Fix windows assert typo
- [CMake] find_package(Threads REQUIRED); target_link_libraries(... Threads::Threads)
- [CMAKE][CI] windows: 2019,2022
- [CMAKE][CI] matrix.build_type[Release, Debug]
- [unittest] disable #TMd5.cpp
- [unittest] disable #TFileLock.cpp
- [unittest] disable #TBoundedQueue.cpp
- [unittest] disable #TMutexLock.cpp
- [unittest] disable #TBlockingQueue.cpp
- [unittest] disable #TThread.cpp
- [unittest] disable #TThreadPool.cpp
- [CI] ubuntu version from 20 to 22, macos version from 12 to 14
- [test/unittes] uint->size_t
- [googletest] v1.6.0->v1.10.0
- [CMake] version required 3.0 -> 3.5
- [CMake] fix CMAKE_CXX_STANDARD passed from github/actions and [c++11, c++14] only
- [CI] Added os.macos and cpp_version=[c++98, c++03, c++11, c++14, c++17, c++20]
- [git submodule] Added googletest-release-v1.6.0
- Merged pr-31 To be compatible with cpp17 and later, use lambda instead of std::not1 & std::bind2nd #31
- Merged pr-25 Update cmake.yml
- Merged pr-26 fix license for end of line sequence and remove useless signature
- Merged pr-27 Update cmake.yml
- Merged pr-28 add a target to be ready to support installation
- Merged pr-29 Installable by cmake
- Merged pr-30 Replace localtime with localtime_s on Windows and localtime_r on Linux
- merge fixup gcc8 warnings
- remove compiler conplained macro
- merge pr-18
add Specialized template for vector
when it is vector<string>
, print like this: ["hello", "world"]; (special case)
when it is vector<int>
, print like this: [1, 10, 1000]; (common cases)
- remove Trim out of Split.
- fix hidden trouble.
- macro name LOG and CHECK in Logging.hpp is so easy to confict with other lib, so I have to rename them to XLOG and XCHECK for avoiding those macro name conflicts.
- add ForcePublic.hpp
- Add Utf8ToUnicode32 and Unicode32ToUtf8 in StringUtil.hpp
- Fix incompatibility problem about 'time.h' in Windows.
- Fix incompatibility problem about
enum {INFO ...}
name conflicts in Windows . - So from this version begin: the compile flags:
-DLOGGING_LEVEL=WARNING
must be changed to-DLOGGING_LEVEL=LL_WARNING
- add
ThreadPool::Stop()
to wait util all the threads finished. If Stop() has not been called, it will be called when the ThreadPool destructing.
- Reorganized directories: include/ -> include/limonp/ ... and so on.
- Add
NewClosure
in Closure.hpp, 0~3 arguments have been supported. - Update ThreadPool, use
NewClosure
instead ofCreateTask
CHECK(exp) << "log message"
supported;
- add test/demo.cc as example.
- move
print
macro to StdExtension.hpp - BigChange: rewrite
log
module, useLOG(INFO) << "xxx"
insteadLogInfo
. - remove HandyMacro.hpp, add CHECK in Logging.hpp instead.
- remove 'MysqlClient.hpp', 'InitOnOff.hpp', 'CastFloat.hpp'
- add 'Closure.hpp'
- uniform code style
namespace limonp
, notLimonp
.
- Basic functions