dtkcore/src
Ye ShanShan c695367b4f fix: correct bitwise operation in dconfig status tracking
1. Fixed incorrect bitwise AND operation in property status tracking
2. Changed `fetchAndAndOrdered(1 << index)` to `fetchAndAndOrdered(~(1
<< index))`
3. This ensures proper bit clearing when unsetting property flags
4. The change was made in both the generated header and the generator
tool
5. Without this fix, status tracking would incorrectly set bits instead
of clearing them

fix: 修正 dconfig 状态跟踪中的位操作

1. 修复了属性状态跟踪中错误的位与操作
2. 将 `fetchAndAndOrdered(1 << index)` 改为 `fetchAndAndOrdered(~(1
<< index))`
3. 确保在取消设置属性标志时能正确清除位
4. 修改同时应用于生成的头部文件和生成器工具
5. 若不修复此问题,状态跟踪会错误地设置位而非清除它们
2025-05-08 16:57:49 +08:00
..
base chore: add CMake rules for installing dexpected.h 2022-10-24 02:36:46 +00:00
dbus feat: Add isDefaultValue for DConfig 2023-09-15 16:55:13 +08:00
dci fix: compilation on Qt 6.8.1 2024-12-03 14:13:18 +08:00
filesystem fix: compilation on Qt 6.8.1 2024-12-03 14:13:18 +08:00
log fix: correct bitwise operation in dconfig status tracking 2025-05-08 16:57:49 +08:00
settings refactor!: deprecate some interfaces in dtk6 2023-07-05 10:19:56 +08:00
util fix: hasVtable is incorrect when destructing 2024-12-02 17:45:48 +08:00
CMakeLists.txt fix: remove unnecessary link libraries 2024-09-09 10:37:18 +08:00
dconfig.cpp feat: support auto generate the Qt code from a dconfig's json 2025-02-20 19:45:06 +08:00
dconfigfile.cpp fix: double value is converted to int for DConfig 2024-12-12 17:58:32 +08:00
ddesktopentry.cpp feat: support Qt6 2023-02-14 13:22:03 +08:00
dlicenseinfo.cpp feat: add license infomation feature 2023-05-09 16:30:56 +08:00
dsecurestring.cpp fix: incorrect DSecureString destructor 2023-04-28 09:24:14 +08:00
dsgapplication.cpp fix: pidfd leak 2024-12-10 09:10:47 +08:00
dsysinfo.cpp feat: DeepinType类型增加军用版 2024-05-17 09:56:39 +08:00
dtkcore_global.cpp chore: remove unused code 2024-01-10 11:14:25 +08:00
glob.cmake refactor!: deprecate some interfaces in dtk6 2023-07-05 10:19:56 +08:00