Commit Graph

25 Commits

Author SHA1 Message Date
wangpenga 5712b5f618 fix: unit test memory leak.
修复单元测试中的内存泄露。

Log:
Change-Id: I42404a332a90f2f5b58d2532299f1b01351f291c
2021-06-18 15:01:38 +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
sunkang b9205142b7 feat: 适配多版本合并(移除冲突添加依赖)
1. 移除prf文件,全部移动到libdtkcommon包中
2. 移除cmake文件夹中的文件,移动到libdtkcommon包中
3. 移除src/com.deepin.dtk.gschema.xml文件,移动到libdtkcommon包中
4. 修改control文件,添加依赖libdtkcommon包

Log: dtkcore多版本前的适配版本(移除冲突)
Change-Id: Iac4310cef55ab2bf31478e905d751aa121fb4078
2021-03-01 19:39:05 +08:00
ck 562b0e8c37 fix: correct tools output message typo
打印信息有误,更新api.json

Log: 修复工具输出信息有误的地方
Change-Id: I0eb72cb6162882e083d931318672b008dfdb0cf1
Reviewed-on: http://gerrit.uniontech.com/c/dtkcore/+/5078
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: caitongxun <caitongxun@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-09-16 17:01:59 +08:00
Robin Lee 9f052cf1ee Fix shebang 2020-07-24 10:58:54 +08:00
ck 523a51ab69 feat: os-version 系统识别方案新接口
根据系统识别方案实现新的接口

Log: 系统识别方案新接口
Task: https://pms.uniontech.com/zentao/task-view-30524.html
Change-Id: I9e1b95a0e85d40c97164b2dd95090bd1d4abf2f9
Reviewed-on: http://gerrit.uniontech.com/c/dtkcore/+/506
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-07-24 01:09:36 +00:00
Gary Wang 57fc346a46 license: switch to LGPLv3 license 2020-04-24 14:44:07 +08:00
Gary Wang 63d6f5c4b3 feat: support get installed memory size from lshw 2020-03-18 16:39:07 +08:00
Gary Wang 0f2b21af82 fix: stderr warning from deepin-os-release tool 2020-03-18 09:37:12 +08:00
Gary Wang 6884be6f68 feat: new interface for getting information of different organization 2019-11-28 15:58:22 +08:00
zccrs a64a8da288 refactor: adjust responsibility of the prf files
prf files:
 * dtk_build_config.prf: 只用于dtk模块,包含一些编译
   中需要的变量(如版本号,文件名等)
 * dtk_build.prf: 只用于dtk模块,为模块编译添加一些
   必要的信息,以及动态生成一些源文件(如 dtkcore_config.h)
 * dtk_cmake.prf: 只用于dtk模块,在编译过程中生成
   模块对应的的cmake package文件,便于在cmake项目中引入库
 * dtk_module.prf: 只用于dtk模块,生成一个qmake模块对应的
   pri文件,便于在qmake项目中引入库
 * dtk_translation.prf: 只用于dtk模块,封装了模块内翻译文件的
   生成以及安装的操作
 * dtk_qmake.prf: dtk库提供的通用方法,可用于任意qmake项目,
   包含了获取系统版本号、当前构建平台信息等一些变量的定义
2019-07-30 17:01:17 +08:00
Gary Wang 2606b1624f
fix: dtk-settings binary location for libdtkcore-bin package
(#24)
2019-07-30 11:13:23 +08:00
zccrs b2df7cde34 refactor: export defines "DTK_LIB_DIR_NAME" "DXXX_TRANSLATIONS_PATH" "DXXX_TRANSLATIONS_DIR"
reset the translate file path to "/usr/share/libdtk-2.0.16/DXXX/translations"
2019-07-25 16:32:50 +08:00
zccrs deb1813558 Revert "update packages to version 5"
This reverts commit 761feaaa66.
2019-07-25 13:41:21 +08:00
deepinzhangshuang 761feaaa66 update packages to version 5 2019-07-25 11:16:28 +08:00
Gary Wang e34dcae466
feat: allow dtk-settings-tools skip json key translation
(#21)
2019-07-06 16:38:43 +08:00
Felix Yan a3873dc5f4 chore: correct a typo 2019-05-07 17:47:44 +08:00
Gary Wang cbeb47c97e fix: deepin-os-release support cpu model and other info query
Now support:
--cpu-model, --memory-size, --disk-size

Now with better help output.

Change-Id: I52115e66db0b14ee18854158c231650c7daa530c
2019-02-17 17:33:07 +08:00
zccrs 432ad80de0 refactor: fallback to lsb-release if same property is empty on os-release
feat: add deepin-version property

Change-Id: I3a58f24a256b5a64f301ce3e8cd02dd1dbef449f
2018-09-12 09:20:47 +08:00
zccrs 16faf6c84d feat: add DSysInfo class
feat: add the “dtk_qmake.prf” feature of qmake

Change-Id: I6ed77c13e0233d59b48b160c640d5a8c68c4dadf
2018-08-16 14:23:40 +08:00
Felix Yan 907b3c675f
refactor: fix a typo
Change-Id: Iaea10b1829c3c6002758a42dbfa8a88094c65e61
2018-05-30 11:44:02 +08:00
Iceyer a0e4443ee7 feat: support dtk_translations
Change-Id: Ibf3bb150c7861cee42fbb93ff8a95aa35cd3dce5
2018-04-12 20:27:17 +08:00
Iceyer 99886406a0 fix: better static lib support
Change-Id: I13c0588a79d8ec66ee5a6d62c28de6341e6f7127
2018-02-13 01:14:37 +08:00
Iceyer 1893cff301 fix: fix dtk-settings install path
Change-Id: I5c6822b16ec73e1e36c242b7f98c6d1051fb2552
2018-01-22 17:15:25 +08:00
Iceyer 3ebc7956f1 refactor: split tool to libdtkcore-bin
Change-Id: Ide59c0f11faea6592b2801daa41816336358ad85
2018-01-22 16:37:08 +08:00