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

362 Commits

Author SHA1 Message Date
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
Gabor Kiss-Vamosi
235d580a51 refactor: rename cnt to count 2023-11-15 22:42:33 +01:00
Gabor Kiss-Vamosi
43a231cf5a refactor(tabview): make it use with buttons instead of button matrix 2023-11-15 22:42:33 +01:00
gcopoix
5267c0b9f4
feat(drivers): add x11 driver (display/input) support (#4795)
Co-authored-by: Gregor Copoix <gregor.copoix@ithinx.io>
2023-11-15 14:08:03 +01:00
Gabor Kiss-Vamosi
e27491cb2a chore: remove debug code 2023-11-15 12:59:16 +01:00
Gabor Kiss-Vamosi
6e91a1e99c test(draw): add rendering test for RGB565, RGB888, XRGRB8888, and ARGB8888 2023-11-15 12:57:50 +01:00
Gabor Kiss-Vamosi
628fb98b52 fix(draw): fix minor issues in SW render 2023-11-15 09:47:34 +01:00
Gabor Kiss-Vamosi
6cda061c65 fix(draw): make SW render work with any stride and add stride=64 to CI 2023-11-14 22:19:56 +01:00
Gabor Kiss-Vamosi
f9c98905b9 fix(draw): make tests work with non default LV_DRAW_BUF_ALIGN 2023-11-14 14:52:59 +01:00
Gabor Kiss-Vamosi
7ea8192208 fix(anim): fix anim_timeline progress calculation and add tests 2023-11-14 14:52:59 +01:00
Gabor Kiss-Vamosi
51bc45f870 refactor(font_load): rename font_load to binfont_load
font_load was to generic
2023-11-14 08:48:28 +01:00
Neo Xu
8e076cc230
feat(image): support C array type of alpha-only image in the built-in decoder (#4797)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-13 18:14:36 +01:00
Gabor Kiss-Vamosi
9fce36765c chore: fix code formatting 2023-11-13 17:20:10 +01:00
Gabor Kiss-Vamosi
90a7e3e98f feat(tiny_ttf): add lv_font_* as paramater to lv_tiny_ttf_create
This way if a font is used by styles or widgets it can be easily reloaded without updating the font pointer on all places
2023-11-13 14:47:13 +01:00
Gabor Kiss-Vamosi
ddc1bdf815 feat(font_load): add lv_font_* as paramater to lv_font_load
This way if a font is used by styles or widgets it can be easily reloaded
without updating the font pointer on all places.
2023-11-13 14:47:11 +01:00
Neo Xu
d73f260002
feat(image): add custom RLE decoder (#4332)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-13 08:38:27 +01:00
Viktor Szépe
cc6581ae03
ci: upgrade astyle tool (#4776)
Install from source to use the latest version
2023-11-10 15:37:23 +01:00
Zhang Ji Peng
8cf0bbb558
feat(draw): add implements vector graphic APIs (#4528) (#4691)
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-11-09 11:37:33 +01:00
Gabor Kiss-Vamosi
3bb649db7f test: add binding test reference
related to #4645
2023-11-08 22:28:14 +01:00
Benign X
a5f6e2761f
chore(lv_label): remove codes for recolor feature (#4766) 2023-11-08 16:25:54 +01:00
Gabor Kiss-Vamosi
048b28be23 test: reorganize tests and ref_images 2023-11-08 00:53:41 +01:00
Gabor Kiss-Vamosi
d02562b796 feat(image): add lv_image_align_t to stretch, tile, and align images
related to #4733
2023-11-08 00:34:22 +01:00
Gabor Kiss-Vamosi
a5a58e39d2 refactor: replace lv_coord_t with int32_t 2023-10-31 19:25:01 +01:00
Gabor Kiss-Vamosi
d456b1cb4d refactor: remove LV_USE_LARGE_COORD, always use int32_t as lv_coord_t 2023-10-31 19:23:24 +01:00
Gabor Kiss-Vamosi
50d01cec3d refactor(style): rename lv_indev_get_act to lv_indev_active 2023-10-31 19:20:36 +01:00