Commit Graph

9176 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
69fb5c8de7 run CodeQL on push 2023-11-13 18:13:00 +01:00
Gabor Kiss-Vamosi
b4641083f6 Merge branch 'codeql' of https://github.com/lvgl/lvgl into codeql 2023-11-13 18:08:05 +01:00
Brian
98d8890e45
Add CodeQL Workflow for Code Security Analysis (#4721)
Signed-off-by: Brian <bayuan@purdue.edu>
2023-11-13 18:03:27 +01:00
Gabor Kiss-Vamosi
56d707a869 chore(sdl): minor clean up 2023-11-13 17:52:00 +01:00
Gabor Kiss-Vamosi
6d7340ef46 fix(sdl): remove the display when the window is closed 2023-11-13 17:48:49 +01:00
lhdjply
ac5acb9ddd fix(lsysmon):fix the MEM_MONITOR using incorrect variables
fix(lsysmon):fix the MEM_MONITOR using incorrect variables
2023-11-13 17:42:21 +01:00
Gabor Kiss-Vamosi
9fce36765c chore: fix code formatting 2023-11-13 17:20:10 +01:00
Xu Xingliang
9f9078d0d3 chore(decoder): move static function to corresponding position
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-13 17:09:20 +01:00
Xu Xingliang
f22a259268 fix(decoder): fix memory leak when decoding failed
Inside open_cb, all memory should be free'ed immediately on any error,
becasue lvgl won't call close_cb in this case.

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-13 17:09:20 +01:00
Gabor Kiss-Vamosi
d286a9da47 fix(draw): fix recoloring lower limit in SW image draw 2023-11-13 17:07:17 +01:00
Gabor Kiss-Vamosi
db4b264076 fix(imgbtn): fix example images 2023-11-13 17:07:17 +01:00
_VIFEXTech
d23c4f72af
fix(sysmon): fix LOG mode not printing (#4800)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
2023-11-13 16:49:08 +01:00
Gabor Kiss-Vamosi
91f133f11b fix(font): fix font loader MPY examples 2023-11-13 16:47:18 +01:00
Gabor Kiss-Vamosi
48ca0d963d chore: fix code formatting 2023-11-13 16:29:31 +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
bjsylvia
ae65f2e683
chore(Kconfig): supplement undefined configuration items in Kconfig (#4791)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-13 08:26:06 +01:00
bjsylvia
3f8d56d0be
chore(init): release indev and display automatically (#4793)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-13 08:23:30 +01:00
bjsylvia
9a9830671f
fix(leak): fix custom style memory leak (#4794)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-13 08:21:07 +01:00
bjsylvia
29c1d94c60
fix(demos): fix demos compiling error caused by font config (#4778)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-10 15:45:12 +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
lhdjply
df910893e4
feat(stdlib):add rtthread function to stdlib (#4777) 2023-11-10 13:41:00 +01:00
bjsylvia
17d1da62af
fix(render): make parallel rendering work based on Nuttx Simulator (#4764)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-10 13:31:36 +01:00
Kenji Mouri (Qi Lu)
ffe2c1528e
feat(osal): add Windows support (#4783) 2023-11-10 13:21:30 +01:00
bjsylvia
49d533923c
fix(leak): fix default theme's memory leak (#4773)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-10 13:19:36 +01:00
bjsylvia
8774537fdf
fix(leak): fix basic theme's memory leak (#4775)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-10 13:19:08 +01:00
bjsylvia
af5b9f9eda
fix(leak): fix mono theme's memory leak (#4774)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-10 13:18:49 +01:00
bjsylvia
ddb1025991
chore(demos): adapt new benchmark demo (#4780)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-10 09:43:29 +01:00
Gabor Kiss-Vamosi
2e5a551028 fix(vector): make vector examples and demos work with the docs 2023-11-09 12:22:39 +01:00
lhdjply
62c3f1c0b5
fix(rtthread):too few arguments to function 'rt_sem_create' (#4770) 2023-11-09 11:40:25 +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
Gabor Kiss-Vamosi
06d74742ad refactor(table): rename lv_table_set/get_user_data to lv_table_set/get_cell_user_data 2023-11-08 22:27:28 +01:00
b4yuan
bc5e46a2d5
Merge branch 'lvgl:master' into master 2023-11-08 14:47:28 -05:00
b4yuan
e3e009aecb
Update codeql-buildscript.sh 2023-11-08 14:43:01 -05:00
Oleg Belousov
81e498baf4 feat(table): add user_data to table cells (#4767)
Co-authored-by: Oleg Belousov <bov@silentwings.ru>
2023-11-08 16:41:25 +01:00
Benign X
a5f6e2761f
chore(lv_label): remove codes for recolor feature (#4766) 2023-11-08 16:25:54 +01:00
bjsylvia
fa17aae81c
fix(demos): fix demos compiling error (#4759)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-08 16:20:26 +01:00
Gabor Kiss-Vamosi
048b28be23 test: reorganize tests and ref_images 2023-11-08 00:53:41 +01:00
Gabor Kiss-Vamosi
21a5841f6b
chore: update ROADMAP.rst 2023-11-08 00:41:36 +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
bjsylvia
f07649bce8
fix(nuttx): fix compiling error for log (#4763)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-07 15:40:50 +01:00
bjsylvia
09d07c9d8a
fix(mem): fix locking mutex before initializing mutex (#4762)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-07 14:51:00 +01:00
bjsylvia
be72afaa15
chore(api): update lv_api_map.h (#4757)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-07 11:11:10 +01:00
_VIFEXTech
21df509ef4
fix(snapshot): fix buffer misalignment (#4760)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-11-07 10:30:50 +01:00
Gabor Kiss-Vamosi
cad26b55ae fix(demo): fix music player demo initial animation 2023-11-06 20:19:09 +01:00
Gabor Kiss-Vamosi
dbd347fdf3 fix(draw): image transformation with no antialiasing 2023-11-06 20:18:37 +01:00
Gabor Kiss-Vamosi
d4613aecbe feat(draw): add lv_draw_sw_rgb565_swap 2023-11-06 15:22:33 +01:00
Niklas Fiekas
91edcf0930
feat(stdlib): add and use lv_malloc_zeroed (#4728) 2023-11-06 15:10:56 +01:00