1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

386 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
3fa47263c8 refactor: rename LV_THEME_BASIC to LV_THEME_SIMPLE 2023-12-15 09:13:05 +01:00
Gabor Kiss-Vamosi
cad4a4529c refactor: lv_anim_set_playback_time -> lv_anim_set_playback_duration 2023-12-13 22:23:12 +01:00
Gabor Kiss-Vamosi
d5daccdd48 docs: update API comments 2023-12-13 22:23:03 +01:00
yushuailong
636aba8c34
fix(label): fix rtl txt long dots not show all (#4962)
Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com>
Co-authored-by: yushuailong1 <yushuailong1@xiaomi.com>
2023-12-13 16:13:24 +01:00
Gabor Kiss-Vamosi
de2f7effd9 fix(list): fix text style
fixes #5005
2023-12-13 15:38:44 +01:00
Gabor Kiss-Vamosi
779d2025b8 fix(msgbox): use LV_OPA_50 for the backdrop in the default theme 2023-12-13 07:40:37 +01:00
Gabor Kiss-Vamosi
57a4497a09 refactor(msgbox): make msgbox more modular and flexible 2023-12-12 15:37:45 +01:00
Neo Xu
f1e021e7b3
fix(qrcode): fix crash due to buf_unalign modification (#4987)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-12 09:12:17 +01:00
Gabor Kiss-Vamosi
88865dd910 refactor: minor refactoring and widget docs update 2023-12-11 18:16:07 +01:00
Neo Xu
7119b7488b
fix(display): check NULL act_screen before using it (#4973)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-12-11 14:55:32 +01:00
Neo Xu
47a244afe1 ci(image): test all image formats (#4974)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-11 14:25:33 +01:00
Neo Xu
1dac562ac1
feat(obj): add obj state property (#4969)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-11 14:18:22 +01:00
Neo Xu
4c10e4a992
feat(image): add image properties and test (#4970)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-11 14:17:54 +01:00
Neo Xu
e8d5594026
refactor(anim): rename anim time to anim duration (#4978)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-11 12:35:22 +01:00
Neo Xu
aaac8802e7
chore(test): only do rotation test when image loaded to RAM (#4950)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-06 23:18:09 +01:00
Neo Xu
d14f2f69bd
feat(test): add stride aligned image test (#4839)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-06 23:15:19 +01:00
Gabor Kiss-Vamosi
2d422f421f ci: update reference images 2023-12-06 15:05:43 +01:00
Neo Xu
de77e77882
chore(decoder): remove RLE image decoder (#4923)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-06 09:52:12 +01:00
PGNetHun
f6eefe8eeb
fix(table): set row count to zero (#4937) 2023-12-06 09:00:09 +01:00
Gabor Kiss-Vamosi
3c7e8bd0d4 fix(draw): fix bottom part of triangle drawing
see #4895
2023-12-05 17:12:17 +01:00
Gabor Kiss-Vamosi
c902556794 fix(observer): fix the parameters of the observer_cb for Micropython compatibility 2023-12-05 14:25:20 +01:00
PGNetHun
91020ea20e
fix(table): rename shortened function names to full names (#4918) 2023-12-04 22:57:47 +01:00
Michael Haberler
1fe6c6192a
fix(observer): fix when observing an invalid subject (#4904)
Co-authored-by: Michael Haberler <git@mah.priv.at>
2023-12-01 07:02:19 +01:00
Neo Xu
0233247406
feat(image): add LZ4 compressed binary image support (#4873)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-30 13:20:31 +01:00
Neo Xu
16254ef90d
feat(rle): add RLE compressed binary image support (#4870)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-30 09:47:15 +01:00
Neo Xu
34f7e9e012
chore: fix inconsistent comment style (#4889)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-29 11:11:16 +01:00
Gabor Kiss-Vamosi
f0988b8cf8 refactor(event): add _cb postfix to lv_obj_add_event() 2023-11-28 15:36:51 +01:00
Neo Xu
fea780e837
feat(lib): add lz4 lib support (#4872)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-28 15:05:16 +01:00
Peter Bee
b42cb43074
fix(cmake): add asm file compile definitions (#4884)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-11-28 09:17:21 +01:00
Gabor Kiss-Vamosi
a5c92ef298 feat(draw): add sw display rotate implementations 2023-11-27 11:46:40 +01:00
Neo Xu
5c11abc859
feat(point): add helpers to operate point and precise point (#4867)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-27 06:26:55 +01:00
bjsylvia
990fbc8cdf
fix(draw): remove LV_LAYER_MAX_MEMORY_USAGE (#4809)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-24 20:17:10 +01:00
_VIFEXTech
0447443029
fix(draw_line): use lv_point_precise_t to describe coordinates (#4858)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-11-24 13:41:43 +01:00
Gabor Kiss-Vamosi
a802d1fc8b test: temporarily disable -Wstack-usage
Seemingly unrealistic values are reported. See https://github.com/lvgl/lvgl/actions/runs/6974396516/job/18980011134
2023-11-23 22:47:47 +01:00
Gabor Kiss-Vamosi
ff16a41aca test: increment -Wstack-usage=6000 2023-11-23 22:29:12 +01:00
Gabor Kiss-Vamosi
1c4a520e47 test(binding): use more precise canvas size calculation 2023-11-23 22:17:25 +01:00
Gabor Kiss-Vamosi
e402b42914 test: add -fsanitize=leak -fsanitize=undefined 2023-11-23 22:15:54 +01:00
Gabor Kiss-Vamosi
ce99983d4f feat(anim): save custom_exec_cb in its own field
It allows deleting custom exec animations based on var an callbacks
2023-11-23 21:50:55 +01:00
Gabor Kiss-Vamosi
1320f4fc02 test(binding): add animation delete test 2023-11-23 21:03:34 +01:00
Gabor Kiss-Vamosi
dbf0444d79 test(draw): add blend mode test to lv_demo_render 2023-11-22 23:15:49 +01:00
Neo Xu
6230e755e0
fix(test): remove space in file name (#4849)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-22 20:15:54 +01:00
Gabor Kiss-Vamosi
1756671b91 chore: fix minor issues 2023-11-20 12:47:26 +01:00
Gabor Kiss-Vamosi
c09b73bc35 ci: fix make file build error 2023-11-18 22:06:49 +01:00
Gabor Kiss-Vamosi
c526653822 fix(anim_timeline): fix special cases of anim timeline and add tests 2023-11-18 19:03:57 +01:00
Gabor Kiss-Vamosi
2f3e8d4066 feat(draw): add initial SDL renderer
It caches SW rendered bitmaps in textures.
The cache is also updated to support data and source separately.
E.g. source is a path to an image, and if that image changes all
related cache entries needs to found and invalidated.

Limitations of SDL rederer:
- not all draw task types are supported
- image transformation is not supported
- some textures (e.g. button matrix texts) are not detected as cached
- images are not cached
- images are supported only from path
2023-11-18 15:35:45 +01:00
Neo Xu
511feb39be
chore(image): remove explicit initialization to always_zero (#4796)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-18 08:10:22 +01:00
Gabor Kiss-Vamosi
b11eb4044c ci: add missing demo test 2023-11-15 23:15:17 +01:00
Gabor Kiss-Vamosi
8470365db2 ci: add missing demo test 2023-11-15 23:09:18 +01:00
Gabor Kiss-Vamosi
b56107ae05 refactor: fix typos 2023-11-15 22:58:07 +01:00
Gabor Kiss-Vamosi
4044856553 refactor: rename col to column 2023-11-15 22:42:34 +01:00