Commit Graph

531 Commits

Author SHA1 Message Date
chenbin c864b8f8e1 fix: 修复安全扫描分析处理报告中Error的问题
删除未继承QObject类使用Q_ENUMS宏定义枚举类型.
由于这个宏只能使用在QObject对象上,在非此类中使
用是没有意义的.因此删除它.

Log: 删除RollingFileAppender类中的Q_ENUMS宏
Change-Id: I82c774751415fb93ef1de2516ce3c5d2a1aca652
Reviewed-on: http://gerrit.uniontech.com/c/dtkcore/+/6728
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-09-29 17:59:39 +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
ck 276ebd2a3d fix: 64k forceWriteMemory crashed
64k页情况下可写的地址空间也改成了只读,有时会出现崩溃现象,暂时改成固定成pagesize=4096

Log: 修复pagesize=64k时出现崩溃的问题
Change-Id: Ib856e9f09f4c394b98098ea6d0f114f1438f39fd
Reviewed-on: http://gerrit.uniontech.com/c/dtkcore/+/3834
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: yanbowen <yanbowen@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-09-07 16:33:23 +08:00
zccrs ca1e23ddfb refactor: DThreadUtils添加一些函数重载
调用时支持关联到一个QObject对象,当此对象被销毁时不调用槽函数
对部分接口添加了单元测试

Change-Id: Ife6264a17e8a8f1325cd21a0ca01f0af177ac762
Reviewed-on: http://gerrit.uniontech.com/c/dtkcore/+/2083
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-15 17:55:25 +08:00
zccrs 6b182546b1 feat: add class DThreadUtils
DThreadUtils是一个允许将一个函数放到指定线程中运行的
方法即可,主要的函数是DThreadUtils::runInThread,是
通过目标线程的事件队列将目标函数在目标进程中执行,且
在当前进程等待函数执行完成。此方法有多个重载,可用于
执行普通函数、成员函数、匿名函数等。

Change-Id: I183f2d45c64ec6cc49a61f58e84ed10786897d22
Reviewed-on: http://gerrit.uniontech.com/c/dtkcore/+/1945
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-13 20:40:19 +08:00
ck 5e61e9f5f8 feat: add rpm spec
行业板打rpm包需要添加spec文件

Log: 支持rpm打包构建
Change-Id: I0a865c7551022549b60042db7c549af613746e17
Reviewed-on: http://gerrit.uniontech.com/c/dtkcore/+/1521
Reviewed-by: <mailman@uniontech.com>
Reviewed-by: chenke <chenke@uniontech.com>
Tested-by: <mailman@uniontech.com>
2020-08-11 15:08:41 +08:00
ck 3241d4d751 fix: 适配os-release中ID的修改
根据产品需求os-release中ID字段被修改,导致isdeepin返回false,此处适配一下

Log: 修复了在更新配置文件后无法识别当前是UOS系统
Change-Id: Ib108393478969f94132024bd472df915d33b4e7e
Reviewed-on: http://gerrit.uniontech.com/c/dtkcore/+/817
Reviewed-by: zhangjide <zhangjide@uniontech.com>
Tested-by: zhangjide <zhangjide@uniontech.com>
2020-07-29 14:34:18 +08:00
Robin Lee 9f052cf1ee Fix shebang 2020-07-24 10:58:54 +08:00
Felix Yan a6bdd5ec9f chore: improve english in dtk_translation.prf 2020-07-24 10:58:19 +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
ck 3a2515ccde fix: dpkg-source build error
dpkg-source: error: can't build with source format '3.0 (quilt)

Log: 修复dtkcore构建失败的问题
Change-Id: I7ed59788c066a7a25d6399bb7ae339cee690da03
2020-07-22 13:54:40 +08:00
ck 82cd32e49d fix: 加入symbols文件后有的架构打包失败
文件名改为 symbols.amd64 只在amd64 平台检查abi兼容

Log: 修复加入symbols文件后有的平台打包失败
2020-07-02 18:40:58 +08:00
lyym d23ce5fd83 abigail: 集成dabi的json文件到包中
通过json文件来对比检查EXPORT_SYMBOL的函数是否发生改变,在debian目录加入了之
前的版本生成的json文件用来和基于当前生成的做对比

Log: 加入用以对比检查EXPORT_SYMBOL的函数是否发生改变的json文件
Task: https://pms.uniontech.com/zentao/task-view-28032.html
2020-06-28 17:47:45 +08:00
chengyulong_cm 371be45301 add: add symbols file 2020-06-18 19:29:47 +08:00
zccrs 33cd3b98e3 refactor: disable dh_makeshlibs 2020-05-06 12:58:05 +08:00
Gary Wang 57fc346a46 license: switch to LGPLv3 license 2020-04-24 14:44:07 +08:00
ck d6fa9d8ffb fix: bug-20975 DSettings::reset emit too many valueChanged
1.【终端】点击恢复默认终端闪退
2. 增加一些空指针判断
2020-04-17 15:40:35 +08:00
Gary Wang 7c50f7cc2b Release 5.1.2 2020-04-09 14:38:38 +08:00
zhangshuang ad9c4e6d58 fix tow tag on same commit 2020-03-21 13:24:11 +08:00
Gary Wang 63d6f5c4b3 feat: support get installed memory size from lshw 2020-03-18 16:39:07 +08:00
chengyulong_cm 4d1a435b51 fix: task17545【KLU-KK】【ARM】【build14】【DDE】【控制中心--系统信息】系统信息首页关于机器处理器的品牌类型信息显示不全 2020-03-18 12:09:55 +08:00
Gary Wang 0f2b21af82 fix: stderr warning from deepin-os-release tool 2020-03-18 09:37:12 +08:00
Gary Wang 079b8b3408 feat: add personal edition support and check 2020-03-06 17:57:30 +08:00
Gary Wang 7381384540 fix: parse error with some desktop files 2020-02-03 14:21:12 +08:00
Ding Heng 029ab07f04 Update .gitlab-ci.yml 2020-01-08 10:45:07 +08:00
zccrs 2eef5b5f8b chore: add class template argument for overrideVfptrFun 2020-01-06 16:32:30 +08:00
zccrs d75ecdd05e feat: support override global vtable of class
add test for DVtableHook interface
2020-01-01 12:24:40 +08:00
Gary Wang 26d67ec780 feat(DDesktopEntry): add ddeDisplayName() for DDE applications 2019-12-17 11:17:20 +08:00
张丁元 0dc0efd248 fix: build failed on MacOS 2019-12-10 10:22:12 +08:00
ck 647b150dc1 fix: saving wps office sheet modify event duplicated
wps表格包含较多数据(8000+行)时,修改保存收到大量重复的修改事件。增加过滤相同事件的判断。
2019-12-06 19:51:12 +08:00
zccrs 4561e5fbf2 feat: add DFileSerices
copy from dtkwidget
2019-11-30 16:17:08 +08:00
zccrs 939541c61e feat: add DTrashManager
move from dtkwidget
2019-11-30 16:05:10 +08:00
zccrs caef88c229 fix warnings of code(DSysInfo) 2019-11-30 14:23:33 +08:00
zccrs c0a96dcfcf feat: add DVtableHook 2019-11-30 14:21:49 +08:00
Gary Wang 6884be6f68 feat: new interface for getting information of different organization 2019-11-28 15:58:22 +08:00
Gary Wang b55380d643 feat: basic support to parse xdg-desktop-entry files 2019-11-28 11:47:12 +08:00
zccrs 772bb77008 fix: ensure uos is equivalent to deepin 2019-11-27 15:44:30 +08:00
Gary Wang a013549232 fix: should ensure deepin info 2019-11-22 18:09:18 +08:00
Gary Wang 04d32611df feat: support deepin distribution info config file 2019-11-22 16:48:16 +08:00
Chris Xiong 3573da6d89 fix: batch_pathmap should be a QMultiHash. 2019-11-08 15:37:26 +08:00
Chris Xiong cc0a885147 fix: removing path from DFileSystemWatcher has unpredictable results. 2019-11-07 14:21:40 +08:00
Chris Xiong b9e609a046 fix: file moved detection.
See dde-file-manager@06a47b9a for details.
2019-11-06 11:52:31 +08:00
Chris Xiong d106ed5bbc fix: DFileSystemWatcher only emits signal for one path if it's bound to multiple locations. 2019-11-05 09:31:23 +08:00
Chris Xiong e66d3ae403 fix: make sure the action exists before invoking it. 2019-10-31 16:19:50 +08:00
Chris Xiong 09dc86a13d feat: add class for exposing invokable to D-Bus. 2019-10-28 11:28:09 +08:00
justforlxz 5164821681 feat(DSecureString): add copy constructor 2019-09-21 16:24:58 +08:00
zccrs 2f6423e5d6 release 5.0.3 2019-09-21 13:32:14 +08:00
zccrs ec9f80ced4 feat: add library gsettings schema
com.deepin.dtk.gschema.xml
2019-09-15 18:55:41 +08:00
zccrs 49586f0efd refactor: move the Chinese2Pinyin codes to dpinyin.cpp 2019-09-15 15:38:27 +08:00
Gary Wang 9f83c45760 feat: DSecureString which always fill 0 on delete 2019-09-12 15:47:08 +08:00