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

8892 Commits

Author SHA1 Message Date
xaowang96
142c98df8b
fix(obj): fix memory leak if LV_EVENT_DELETE event cb return LV_RES_INV (#4527)
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-09-07 13:55:48 +02:00
Gabor Kiss-Vamosi
4068c079a2 feat(draw_buf): add color_format paramater to draw_buf_malloc and align
related to https://github.com/lvgl/lvgl/pull/4414#issuecomment-1707725195
2023-09-06 12:14:00 +02:00
xaowang96
8d6c24b40d
fix(obj): check obj->is_deleting at the beginning of obj_del_core (#4525)
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-09-06 12:00:36 +02:00
xaowang96
217e989a43
chore: add assert check for obj's parent (#4524)
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-09-06 11:58:59 +02:00
bjsylvia
378ad2492c
fix(music): fix anim and timer crash when delete music demo (#4523)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-09-05 22:10:54 +02:00
bjsylvia
23ebeed652
fix(widgets): fix timer crash when delete widgets demo (#4522)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-09-05 21:16:37 +02:00
bjsylvia
2500da071a
feat(meter): fix crash when deleting meter, should clean up indicator's animation (#4521)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-09-05 21:15:30 +02:00
bjsylvia
a1ba36b77c
fix(obj): fix the crash caused by nested calls to lv_obj_del (#4520)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-09-05 21:14:37 +02:00
Gabor Kiss-Vamosi
af959cb94e fix(draw): always set the bg_coords in lv_draw_glyph_dsc_t for placeholder drawing 2023-09-05 21:05:19 +02:00
Gabor Kiss-Vamosi
3e4cad6551 feat(draw_buf): rework darw_buf API for more flexibility and use them in glyph bitmap allocation 2023-09-05 21:05:19 +02:00
bjsylvia
237f687e93
fix(scale): fix compiling warning (#4519)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-09-04 18:42:50 +02:00
Gabor Kiss-Vamosi
7e923d2a26 demo(benchmark): fix black screen issue 2023-09-01 14:09:49 +02:00
Gabor Kiss-Vamosi
490f3da4e7 feat(img): replace image decider read_line_cb with get_area_cb 2023-09-01 13:38:58 +02:00
Gabor Kiss-Vamosi
b8356ebe6c fix(draw): stride handling for RGB565A8 images 2023-09-01 11:13:21 +02:00
Gabor Kiss-Vamosi
fd0ebf01e6 chore(img): keep the .reserved element for backward compatibility 2023-09-01 01:04:29 +02:00
Gabor Kiss-Vamosi
fb9c86e937 chore(img): reorganize the image header 2023-09-01 00:56:13 +02:00
Gabor Kiss-Vamosi
828d34aa3b chore: revert debug code 2023-08-31 22:03:31 +02:00
Gabor Kiss-Vamosi
aa164e5778 chore(ci): try to fix ci 2023-08-31 20:36:58 +02:00
Gabor Kiss-Vamosi
0738e04723 feat(draw): consider stride for glyph bitmaps 2023-08-31 20:33:32 +02:00
Gabor Kiss-Vamosi
c3e2120616 feat(img): add img.header.stride
see https://github.com/lvgl/lvgl/pull/4414#issuecomment-1698538169
2023-08-31 19:54:36 +02:00
bjsylvia
a910736cbc
feat(theme): avoid reinitializing the default theme (#4500)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-08-31 18:10:39 +02:00
Carlos Diaz
5c1fc63647
feat(scale): add the lv_scale widget (#4196)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-31 15:09:40 +02:00
Zoltan Janosy
ca54d127c2
feat(fs): add support for memory-mapped files (#4462)
Co-authored-by: Zoltan Janosy <zjanosy@fishman.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-31 13:00:26 +02:00
_VIFEXTech
6d389ce979
fix(fs_posix): fix vfs failed to open when fd = 0 (#4502)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-08-31 10:27:32 +02:00
xaowang96
d7289962f1
ci(bar): add screenshot test (#4503)
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-08-31 10:19:26 +02:00
Benign X
5c984b4a53
fix(layout): wrong layout counter (#4501) 2023-08-30 21:55:29 +02:00
Gabor Kiss-Vamosi
da876e4a21 feat(draw): add preferred_draw_unit_id and preference_score to draw_tasks
see https://github.com/lvgl/lvgl/issues/4342#issuecomment-1691636624
2023-08-30 19:46:41 +02:00
Gabor Kiss-Vamosi
19c9afb57a feat(draw): add img_header to lv_draw_img_dsc_t and init. it in lv_draw_img
This way all image data will be avaialbel for the draw_units to decide if they are interested in an image or not
2023-08-30 14:44:32 +02:00
Gabor Kiss-Vamosi
a3013d490b docs(px5): add empty file for PX5 RTOS 2023-08-29 23:03:14 +02:00
Neo Xu
5b60d1de72
feat(str): add lv_strdup (#4498)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-29 18:20:29 +02:00
Brandon Holland
b92cfe801d
fix(mem): for typo in mem pool allocation (#4496) 2023-08-28 22:21:15 +02:00
Neo Xu
362a8e676e
feat(img): support LV_PCT for pivot (#4495)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-28 21:27:37 +02:00
bjsylvia
3c47aadacf
feat(indev): add 'lv_indev_read' to allow read events from specified indev (#4494)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-28 20:51:32 +02:00
bjsylvia
538bae5de8
fix(typos): fix typos for lv_draw_buf (#4492)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-27 21:43:08 +02:00
Gabor Kiss-Vamosi
efbd0a41e2 fix(init): fix lv_init crash with LV_ENABLE_GLOBAL_CUSTOM 2023-08-27 21:29:01 +02:00
Neo Xu
b6c5ab3954
chore: remove not needed "expression ? true : false" (#4485)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-25 22:58:21 +02:00
Gabor Kiss-Vamosi
7899f77ee9 feat(draw): add lv_draw_layer_alloc_buf() 2023-08-25 22:57:35 +02:00
Gabor Kiss-Vamosi
45ff2a663b feat(draw_buf): add lv_draw_buf_handlers to allow using custom callbacks 2023-08-25 22:49:31 +02:00
Gabor Kiss-Vamosi
cd5c93b248
docs(fs): fix minor formatting issue 2023-08-25 21:46:21 +02:00
faxe1008
4f6c895fc7
fix(lv_disp): fix lv_scr_load_anim being called twice quickly (#4487) 2023-08-25 21:07:11 +02:00
Gabor Kiss-Vamosi
c069f98e7a fix(dropdown): position to the selected item in lv_dropdown_set_selected 2023-08-25 13:57:52 +02:00
bjsylvia
da02c6314c
chore(multilang): add Kconfig for multilang (#4480)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-08-24 11:07:18 +02:00
bjsylvia
35a90983d4
chore(Kconfig): add LV_DEF_REFR_PERIOD config (#4483)
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-08-24 11:05:12 +02:00
faxe1008
af14c3b324
fix(sdl): fix usage of lv_monkey with SDL (#4481) 2023-08-23 14:44:17 +02:00
faxe1008
1480e0470e
docs(indev): add explanation for LV_INDEV_TYPE_BUTTON (#4478) 2023-08-23 14:42:24 +02:00
Gabor Kiss-Vamosi
5d604b46ab ci(test): add more tests for LV_OBJ_FLAG_OVERFLOW_VISIBLE 2023-08-22 23:44:45 +02:00
Gabor Kiss-Vamosi
c7e8b8447d feat(obj): add LV_OBJ_FLAG_OVERFLOW_VISIBLE again 2023-08-22 22:45:39 +02:00
Gabor Kiss-Vamosi
72a62f4eda example(ffmpeg): enable the MicroPython example 2023-08-22 10:47:38 +02:00
bjsylvia
83cd50b4df
fix(typos): fix some typos for style (#4469)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-20 21:03:24 +02:00
bjsylvia
a950fe5408
fix(ffmpeg): fix error linesize (#4472)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-19 22:26:50 +02:00