Commit Graph

18 Commits

Author SHA1 Message Date
yeshanshan 39b91e4b79 fix: resolve non-reproducible DBUS code generation issue
Changed QSet to QStringList for annotations collection to ensure
deterministic output order
Added removeDuplicates() call to maintain uniqueness while preserving
order
This fixes non-reproducible builds caused by QSet's unpredictable
iteration order

Log: Fixed DBUS code generation reproducibility issue

Influence:
1. Verify DBUS interface code generation produces identical output for
same inputs
2. Test with multiple interface definitions containing annotations
3. Check build reproducibility across different systems

fix: 修复DBUS代码生成不可重复的问题

将注解集合从QSet改为QStringList以确保输出顺序确定性
添加removeDuplicates()调用在保持顺序的同时确保唯一性
修复了由于QSet迭代顺序不可预测导致的构建不可重复问题

Log: 修复了DBUS代码生成不可重复的问题

Influence:
1. 验证相同输入下DBUS接口代码生成是否产生相同输出
2. 测试包含多个注解的接口定义
3. 检查不同系统间的构建可重复性
2025-08-19 18:42:54 +08:00
Ye ShanShan 73aa1884c0 chore: remove warning for dbusxml2cpp in qt6
adapt to qt6.
2024-05-13 11:00:36 +08:00
groveer fe43eb823d fix(qdbusxml2cpp): support qt 6.7
as title

Log:
2024-04-15 17:30:40 +08:00
chenhongtao a94a528d86 feat: allow skip including headers of annotations
Log:
Issue: https://github.com/linuxdeepin/dtk/issues/147
2023-12-19 14:33:36 +08:00
Gary Wang c7a4732115 fix: correct Dtk6SettingsToolsMacros.cmake path
* fix: correct Dtk6SettingsToolsMacros.cmake path

修正 Dtk6SettingsToolsMacros.cmake 路径不正确的问题
同时避免硬编码版本号到 6

Log:
2023-10-23 10:21:41 +08:00
YeShanShan f29a571b83 fix: Type error for qdbusxml2cpp
We get typeName using `QMetaType::name` in qt6.
  filename of `moc` is changed from `xxx.moc` to `moc_xxx.cpp`, and
it is consistent with qt6.
https://code.qt.io/cgit/qt/qtbase.git/tree/src/tools/qdbusxml2cpp/qdbusxml2cpp.cpp?h=dev#n221
2023-10-23 00:19:32 +08:00
ck d56c3629e8 chore: remove unused pro files
remove unused files
2023-07-05 10:19:56 +08:00
wangyixue 5e8b5d2820 fix: qdbusxml2cpp-fix not in path
Now qdbusxml2cpp-fix is not in PATH, just export it as a target so
others can use it.

Log: fix qdbusxml2cpp-fix not in path
2023-06-19 14:40:22 +08:00
ck f5fd6cf9a8 feat: support dtk6core build
cmake -DDVERSION=6.0.0 to build libdtk6core
install qdbusxml2cpp-fix to DCore/bin to avoid conficts
do not build doc when build dtk6
remove Core5Compat depends
DVERSION ==> DTK_VERSION
tools install to CMAKE_INSTALL_LIBEXECDIR
2023-06-16 08:32:50 +08:00
guoyao 4c6390cd5b chore: remove build warning
as title

Log:
2023-04-27 08:54:19 +08:00
heyuming d1605f7da2 feat: support Qt6
Log: 支持Qt6
2023-02-14 13:22:03 +08:00
ck d3e83fdecf fix(build): dtkcore namespace not using
add DCORE_USE_NAMESPACE

Log: none
Influence: none
Change-Id: Ib9003d4f162732a1c17b4c7588f614b1c4d5580a
2023-01-03 17:17:41 +08:00
songwentao 468f065f28 fix: qdbusxml2cpp-fix error
修复使用命令生成代码文件,编译报错问题

Log:
2022-12-07 08:08:32 +00:00
范朋程 554d22da1a feat: add ddbusextendedabstractinterface
通过此类可以很方便得实现异步dbus通信
修改tools生成信息中的类名

Log: add ddbusextendedabstractinterface
Change-Id: Ida45d0d22d065af3d86c7ad062419183572291dc
feat: add ddbusextendedabstractinterface

通过此类可以很方便得实现异步dbus通信

Log: add ddbusextendedabstractinterface
Change-Id: Ida45d0d22d065af3d86c7ad062419183572291dc
2022-10-31 15:20:34 +08:00
rewine 8ce7d3e3c7 feat: Optimize compilation parameters
Log: Optimize compilation parameters
2022-10-09 07:21:28 +00:00
ShootingStarDragons db5ae947fe feat(tocmake): tocmake
Change the build system to cmake

Log: use cmake
2022-08-16 07:50:54 +00:00
guoyao c6629ebb55 chore: adapt REUSE license header
开源合规

Log: 开源合规
2022-08-11 14:02:36 +08:00
ck 74f9f9da90 feat: add qdbusxml2cpp-fix
dtkcore5-bin 新增qdbusxml2cpp-fix(from dde-qt-dbus-factory, 修复生成的类中无属性变化的信号问题)。
修复没有参数时block的bug,无参数直接showhelp

Log: 添加xml2cpp修复版工具
Change-Id: Ic7c4ec4d9564735f4b9e19de67a57f2322e7a0c7
2021-03-23 11:36:04 +08:00