diff --git a/CMakeLists.txt b/CMakeLists.txt index 7148a23..6486322 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,8 +20,8 @@ cmake_minimum_required(VERSION 3.0.0) project(TTKTinyTools) -set(TTK_MAJOR_VERSION 2) -set(TTK_MINOR_VERSION 8) +set(TTK_MAJOR_VERSION 3) +set(TTK_MINOR_VERSION 0) set(TTK_PATCH_VERSION 0) set(TTK_VERSION "${TTK_MAJOR_VERSION}.${TTK_MINOR_VERSION}.${TTK_PATCH_VERSION}.0") diff --git a/ChangeLog b/ChangeLog index 7b11f73..0576485 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -v2.8.0.0 Final 2024.03.29 +v3.0.0.0 Final 2024.12.05 优化部分交互逻辑 优化其他一些细节 diff --git a/Doxyfile b/Doxyfile index 46a59ce..4162588 100644 --- a/Doxyfile +++ b/Doxyfile @@ -5,7 +5,7 @@ #--------------------------------------------------------------------------- DOXYFILE_ENCODING = UTF-8 PROJECT_NAME = TTKTinyTools -PROJECT_NUMBER = 2.8.0.0 +PROJECT_NUMBER = 3.0.0.0 PROJECT_BRIEF = "TTKTinyTools是基于Qt的自定义小工具集合" PROJECT_LOGO = TTKUtils/resource/qicon.dll OUTPUT_DIRECTORY = TTKDocs diff --git a/TTKCommon/TTKRun/ttkrunobject.cpp b/TTKCommon/TTKRun/ttkrunobject.cpp index f685ee8..f490119 100644 --- a/TTKCommon/TTKRun/ttkrunobject.cpp +++ b/TTKCommon/TTKRun/ttkrunobject.cpp @@ -37,7 +37,7 @@ void TTKRunObject::run(int argc, char **argv) const } args.append(TTK_STR_QUOTES(arg)); - args.append(" "); + args.append(TTK_SPACE); } } @@ -66,6 +66,6 @@ void TTKRunObject::run(int argc, char **argv) const } } - system((filePath + suffix + " " + args).c_str()); + system((filePath + suffix + TTK_SPACE + args).c_str()); #endif } diff --git a/TTKCommon/TTKRun/ttkrunobject.h b/TTKCommon/TTKRun/ttkrunobject.h index 6daf23d..7400a6d 100644 --- a/TTKCommon/TTKRun/ttkrunobject.h +++ b/TTKCommon/TTKRun/ttkrunobject.h @@ -21,7 +21,7 @@ #include "ttkobject.h" -#ifdef _MSC_VER +#ifdef _MSC_VER // do not show console window # pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"") #endif diff --git a/TTKCommon/ttkversion.h b/TTKCommon/ttkversion.h index e09fd60..65681c7 100644 --- a/TTKCommon/ttkversion.h +++ b/TTKCommon/ttkversion.h @@ -19,14 +19,14 @@ * with this program; If not, see . ***************************************************************************/ -//update time 2024.03.28 -#define TTK_MAJOR_VERSION 2 -#define TTK_MINOR_VERSION 8 +//update time 2024.12.05 +#define TTK_MAJOR_VERSION 3 +#define TTK_MINOR_VERSION 0 #define TTK_PATCH_VERSION 0 #define TTK_VERSION TTK_VERSION_CHECK(TTK_MAJOR_VERSION, TTK_MINOR_VERSION, TTK_PATCH_VERSION, 0) #define TTK_VERSION_STR TTK_VERSION_CHECK_STR(TTK_MAJOR_VERSION, TTK_MINOR_VERSION, TTK_PATCH_VERSION, 0) -#define TTK_VERSION_TIME_STR "(2024/03/28)" +#define TTK_VERSION_TIME_STR "(2024/12/05)" #define TTK_RC_FILEVERSION TTK_MAJOR_VERSION, TTK_MINOR_VERSION, TTK_PATCH_VERSION, 0 #define TTK_RC_PRODUCTVERSION TTK_VERSION_STR diff --git a/TTKUtils/linux_time.sh b/TTKUtils/linux_time.sh index 73b8473..bf18602 100644 --- a/TTKUtils/linux_time.sh +++ b/TTKUtils/linux_time.sh @@ -1,2 +1,2 @@ #!/bin/sh -find . -exec touch -c -m -d "2024-03-28 12:00" {} \; +find . -exec touch -c -m -d "2024-12-05 12:00" {} \; diff --git a/TTKVersion.pri b/TTKVersion.pri index cfb5d7f..f30942f 100644 --- a/TTKVersion.pri +++ b/TTKVersion.pri @@ -23,5 +23,5 @@ RCC_DIR = ./.build/rcc greaterThan(QT_MAJOR_VERSION, 4): DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050400 QT_DEPRECATED_WARNINGS -# update time 2024.03.28 -TTK_VERSION = 2.8.0.0 +# update time 2024.12.05 +TTK_VERSION = 3.0.0.0