- 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