-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# 功能更新 ## 添加新的测试文件以及更新推荐引擎类以支持隐式反馈和评估功能 - **测试文件**: 新增测试文件以覆盖隐式反馈和评估功能的测试用例。 - **推荐引擎类**: 更新推荐引擎类以支持隐式反馈和评估功能,增强推荐系统的准确性和实用性。 ## 添加网络管理器与进程信息结构,更新字符串处理函数,增强配置管理功能 - **网络管理器**: 新增网络管理器类,用于管理网络连接和资源。 - **进程信息结构**: 添加进程信息结构,用于存储和管理进程相关信息。 - **字符串处理函数**: 更新字符串处理函数,增强字符串操作的效率和功能。 - **配置管理功能**: 增强配置管理功能,支持更灵活的配置选项和动态更新。 ## 代码优化与重构 - **头文件引用**: 更新头文件引用,确保所有依赖项正确包含。 - **类成员类型**: 修复类成员类型,确保类型一致性和正确性。 - **TCP 代理功能**: 添加新的 TCP 代理功能,优化网络通信效率。 - **组件管理器**: 优化组件管理器,提高组件加载和管理的效率。 - **命名空间重构**: 重构命名空间,优化代码结构,提高代码可读性和维护性。 - **SHA1 算法实现**: 新增 SHA1 算法实现,增强数据安全性和完整性。 - **CMake 配置**: 更新 CMake 配置以支持 Python 模块,扩展项目功能。 ## 安全与错误修复 - **代码扫描警报 no. 242**: 修复代码扫描警报 no. 242,清除明文日志记录敏感信息,增强数据安全性。 - **pre-commit.ci 自动修复**: 使用 pre-commit.ci 自动修复来自 pre-commit.com 的钩子,确保代码质量和一致性。 ## 新类与功能添加 - **MimeTypes 类**: 添加 MimeTypes 类以支持 MIME 类型处理,增强文件类型识别和处理能力。 - **LCG 类重构**: 重构 LCG 类以实现内联最小和最大值函数,优化随机数生成效率。 - **XML 头文件包含**: 优化 XML 头文件包含,提高 XML 处理的效率和稳定性。 - **插件管理器异常处理**: 增强插件管理器中的异常处理,提高插件加载和管理的可靠性。 - **差异比较库**: 新增差异比较库及其单元测试,增强数据比较和分析能力。 - **Preloader 类**: 新增 Preloader 类及其功能,优化资源加载和预处理效率。 - **存储监控类**: 更新存储监控类,增强存储资源管理和监控能力。 - **JSON 处理能力**: 增强 JSON 处理能力,提高 JSON 数据解析和生成的效率。 - **GPIO 类**: 新增 GPIO 类,支持硬件 GPIO 接口的管理和控制。 - **任务等待功能**: 添加任务等待功能,优化任务调度和执行效率。 - **波特率枚举重命名**: 重命名波特率枚举,提高代码可读性和一致性。 - **相机和配置管理器接口**: 更新相机和配置管理器接口,增强设备管理和配置能力。 - **打印格式优化**: 优化打印格式,提高日志和输出信息的可读性。 - **INDI 服务器中间件功能**: 增加 INDI 服务器中间件功能,增强天文设备控制和管理能力。 ## CMake 配置与模块更新 - **CMakeLists.txt 文件**: 新增多个模块的 CMakeLists.txt 文件,确保模块构建和管理的正确性。 - **项目重命名**: 重命名项目以统一命名规范,提高项目管理的规范性和一致性。 - **包描述文件**: 添加 atom.async、atom.algorithm、atom.connection 和 atom.extra 模块的包描述文件,增强模块管理和文档化。 - **UUID 比较运算符实现**: 更新 UUID 比较运算符实现,增强 UUID 数据处理的效率和准确性。 - **atom.sysinfo 模块库类型**: 调整 atom.sysinfo 模块的库类型为共享库,提高模块加载和使用的灵活性。 - **CMake 配置文件**: 新增 CMake 配置文件以支持多个依赖项,增强项目构建和管理的灵活性。 - **模块扫描功能**: 重构模块扫描功能,提高模块加载和管理的效率。 - **安装路径设置**: 更新安装路径设置,确保项目安装和部署的正确性。 - **过时 CMake 模块删除**: 删除过时的 CMake 模块,提高项目构建和管理的效率。 ## 跨团队协作 - **Co-authored-by: Copilot Autofix powered by AI**: 使用 AI 自动修复代码,提高代码质量和一致性。 - **Co-authored-by: pre-commit-ci[bot]**: 使用 pre-commit-ci[bot] 自动修复代码,确保代码质量和一致性。
- Loading branch information
Showing
362 changed files
with
26,124 additions
and
13,238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# - Try to find Glib-2.0 (with gobject) | ||
# Once done, this will define | ||
# | ||
# Glib_FOUND - system has Glib | ||
# Glib_INCLUDE_DIRS - the Glib include directories | ||
# Glib_LIBRARIES - link these to use Glib | ||
|
||
include(LibFindMacros) | ||
|
||
# Use pkg-config to get hints about paths | ||
libfind_pkg_check_modules(Glib_PKGCONF glib-2.0>=2.16) | ||
|
||
# Main include dir | ||
find_path(Glib_INCLUDE_DIR | ||
NAMES glib.h | ||
PATHS ${Glib_PKGCONF_INCLUDE_DIRS} | ||
PATH_SUFFIXES glib-2.0 | ||
) | ||
|
||
# Glib-related libraries also use a separate config header, which is in lib dir | ||
find_path(GlibConfig_INCLUDE_DIR | ||
NAMES glibconfig.h | ||
PATHS ${Glib_PKGCONF_INCLUDE_DIRS} /usr | ||
PATH_SUFFIXES lib/glib-2.0/include | ||
) | ||
|
||
# Finally the library itself | ||
find_library(Glib_LIBRARY | ||
NAMES glib-2.0 | ||
PATHS ${Glib_PKGCONF_LIBRARY_DIRS} | ||
) | ||
|
||
# Find gobject library | ||
find_library(GObject_LIBRARY | ||
NAMES gobject-2.0 | ||
PATHS ${Glib_PKGCONF_LIBRARY_DIRS} | ||
) | ||
|
||
# Find gthread library | ||
find_library(GThread_LIBRARY | ||
NAMES gthread-2.0 | ||
PATHS ${Glib_PKGCONF_LIBRARY_DIRS} | ||
) | ||
|
||
# Set the include dir variables and the libraries and let libfind_process do the rest. | ||
# NOTE: Singular variables for this library, plural for libraries this this lib depends on. | ||
set(Glib_PROCESS_INCLUDES Glib_INCLUDE_DIR GlibConfig_INCLUDE_DIR) | ||
set(Glib_PROCESS_LIBS Glib_LIBRARY GObject_LIBRARY GThread_LIBRARY) | ||
libfind_process(Glib) | ||
|
||
# Redefine variables for backward compatibility | ||
set(GLIB_INCLUDE_DIRS ${Glib_INCLUDE_DIRS}) | ||
set(GLIB_LIBRARIES ${Glib_LIBRARIES}) | ||
set(GLIB_FOUND ${Glib_FOUND}) | ||
|
||
# Provide a summary of the found libraries | ||
if(Glib_FOUND) | ||
message(STATUS "Found Glib: ${Glib_LIBRARIES}") | ||
message(STATUS "Glib include directories: ${Glib_INCLUDE_DIRS}") | ||
else() | ||
message(WARNING "Glib not found") | ||
endif() |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# - Try to find LIBSECRET-1 | ||
# Once done, this will define | ||
# | ||
# LIBSECRET_FOUND - system has LIBSECRET | ||
# LIBSECRET_INCLUDE_DIRS - the LIBSECRET include directories | ||
# LIBSECRET_LIBRARIES - link these to use LIBSECRET | ||
|
||
include(LibFindMacros) | ||
|
||
# Use pkg-config to get hints about paths | ||
libfind_pkg_check_modules(LIBSECRET_PKGCONF LIBSECRET-1) | ||
|
||
# Main include dir | ||
find_path(LIBSECRET_INCLUDE_DIR | ||
NAMES LIBSECRET/secret.h | ||
PATHS ${LIBSECRET_PKGCONF_INCLUDE_DIRS} | ||
) | ||
|
||
# Finally the library itself | ||
find_library(LIBSECRET_LIBRARY | ||
NAMES secret-1 | ||
PATHS ${LIBSECRET_PKGCONF_LIBRARY_DIRS} | ||
) | ||
|
||
# Set the include dir variables and the libraries and let libfind_process do the rest. | ||
# NOTE: Singular variables for this library, plural for libraries this this lib depends on. | ||
set(LIBSECRET_PROCESS_INCLUDES LIBSECRET_INCLUDE_DIR) | ||
set(LIBSECRET_PROCESS_LIBS LIBSECRET_LIBRARY) | ||
libfind_process(LIBSECRET) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.