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=WARNINGmust 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
NewClosurein Closure.hpp, 0~3 arguments have been supported. - Update ThreadPool, use
NewClosureinstead ofCreateTask
CHECK(exp) << "log message"supported;
- add test/demo.cc as example.
- move
printmacro to StdExtension.hpp - BigChange: rewrite
logmodule, 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