Commit Graph

22 Commits

Author SHA1 Message Date
Heysion Yuan 211dbbea9c Revert "test: add test demo data"
This reverts commit 1f3949c4df.

Change-Id: I27fe4eabfa17a523b8dada3aec5df2ad4d30b991
2022-08-26 21:43:20 +08:00
Heysion Yuan d58e5622e5 Revert "add: add demo pkg data"
This reverts commit e1b73deb34.

Change-Id: Iea015f8c95088738b91e13ede52ef8461ddd5443
2022-08-18 11:04:17 +08:00
liujianqiang 6bab478cb2 fix: 调整玲珑安装路径
调整玲珑安装路径,不同系统版本安装的位置不同。

Log:
Bug: https://pms.uniontech.com/bug-view-126683.html
Change-Id: Id65c11a381628d8f4a615a44183901072f084a2c
2022-05-12 08:50:50 +08:00
Heysion 5147606096 feat: add testcase for runtime app header file
给runtime/app.h 增加测试用例

Log:
Change-Id: I0a2d35ecbdaa08aeffd9b37edd6c9f1a1adae13c
2022-03-29 11:06:04 +08:00
Your Name ec7ad15851 fix: support serialize with full namespace
The type system of C++ can not get the full type when build. if you
define two same class names like "Mount" in the global namespace, there
is no way to deserialize it because of name conflict. But when you put
it in a different namespace, the qRegisterMetaType can not deduce
the full namespace of "Mount", it can not find the exact converter
function by the template.

The only fix is to set the full namespace when you use Q_PROPERTY
or Q_JSON_PROPERTY/Q_JSON_PTR_PROPERTY in this project. for example:

Q_JSON_PROPERTY(linglong::test::MountList, mounts);

Also you should do that:

1. D_SERIALIZE_DECLARE(Mount) just behind class Mount;
2. D_SERIALIZE_REGISTER_TYPE_NM(linglong::test, MountRule) in the header
 file in global namespace;
3. call qJsonRegister<linglong::test::Mount>() only once before
you use this serialize system;

TODO:

The serialize code should spilt to meta_serialize.h and json.h/yaml.h
just process the special file format.

Change-Id: I1eb7d68097eb71d07ea0e1421c078a3d65e86b1a
2022-03-16 09:41:04 +08:00
Heysion Yuan c1bd4429a1 feat: add permissions on package info struct
在info.json中增加permssion的结构

Log:
Change-Id: Iddbd9e58d0742ac2649469c5d75a9f5c6846a6c6
2022-03-11 10:27:39 +08:00
black-desk 0e2b615148 fix: add "rbind" to all bind mounts
* Add "rbind" option to all bind mounts
  * Remove "ro" option when mounting X11 socket

Change-Id: Id4f3b5d9c7379791fe00218db77b9055bf810cd0
2022-02-17 09:47:42 +08:00
huqinghong 10f0912e1c fix: 适配新的ref格式及runtime
包管理适配新的ref格式及runtime

Log:
Change-Id: Ibe1b8f823ed7b27f6dc580a9b9eb35063f437f9e
2021-12-10 11:06:12 +08:00
liujianqiang b8073ac42c fix: 修改uap.json格式
修改uap.json格式

Log: 修改uap.json格式

Change-Id: I13e256b62f781f5a2fa0242810339f333886412c
2021-09-27 11:54:50 +08:00
Heysion cd0657bbe9 test: update test data desktop file
Update test data desktop file

Log:
Change-Id: I56cc54643377a43ae88d3d1c967c78333f6e506a
2021-09-27 10:18:29 +08:00
Heysion 1f3949c4df test: add test demo data
Add test demo data

Log:
Change-Id: Ic72b370025fdfbe59162dfee59c98a99d0afb43f
2021-09-26 21:57:07 +08:00
Heysion fec67c4b49 fix: fix test demo and memory leak
Fix test demo memory leak

Log:
2021-09-16 22:10:58 +08:00
Heysion e1b73deb34 add: add demo pkg data
Add demo test pkg data

Log:
2021-09-16 09:58:16 +08:00
Heysion fc4ef32999 feat: reset uap struct
Rest Uap Struct

Log:
2021-09-15 11:44:03 +08:00
Heysion 5073f3bc45 add:add uap config json
Add uap config json

Log:
2021-09-15 10:36:05 +08:00
Heysion 2a1b9a781a fix: test package case
Fix package test case

Log:
2021-09-08 22:22:04 +08:00
Iceyer 707eff9552
feat: support uid/gid map 2021-09-07 10:11:05 +08:00
Iceyer 4149c6fa23
fix: reset clang-format config 2021-09-06 09:18:15 +08:00
Heysion Yuan d2f6b1dcf4 add uap0001 2021-09-02 21:12:28 +08:00
Iceyer 20251249c9
fix: fix memory leak 2021-09-02 10:12:59 +08:00
Iceyer 6df3b5a5d8
feat: add yaml support 2021-09-01 19:18:25 +08:00
Iceyer e70810e429
Init commit 2021-08-31 15:17:45 +08:00