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

8923 Commits

Author SHA1 Message Date
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
bjsylvia
21f3659559
fix(draw_buf): runtime error: applying non-zero offset 3 to null pointer (#4471)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-19 22:23:01 +02:00
bjsylvia
a711c8b427
chore(multi-instance): update description of related documents (#4470)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-19 22:22:00 +02:00
bjsylvia
44a36354e8
fix(style): runtime error: applying zero offset to null pointer (#4468)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-19 22:18:30 +02:00
Gabor Kiss-Vamosi
8a1396d770 chore(global): check if LOG is enabled 2023-08-19 01:48:54 +02:00
Gabor Kiss-Vamosi
0b83a82a07 feat(multi-instance): collect all the global variables into a struct to allow running multiple instances of LVGL
Closes #4358
2023-08-19 01:42:37 +02:00
Gabor Kiss-Vamosi
1f807ae714 feat(draw_buf): add option to select draw_buf implementation 2023-08-18 23:01:56 +02:00
Benign X
ae3567cb46
fix(chart): fix off-by-one error in chart widget (#4461)
Signed-off-by: W-Mai <1341398182@qq.com>
2023-08-18 10:58:35 +02:00
xaowang96
d47a44f225
feat(bar): add DIR_RTL support in vertical mode (#4459)
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-08-17 13:57:35 +02:00
Kevin Schlosser
dcffe24094
fix: add guard macros to lv_style_gen.c,h and lv_obj_style_gen.c,h (#4450) 2023-08-16 22:24:37 +02:00
Peter Bee
ea6d27682b
fix(Kconfig): add Kconfig for draw buf alignments and obj. style cache (#4457)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-08-16 22:22:29 +02:00
Gabor Kiss-Vamosi
6b8d1e94b4 example(canvas): fix canvas examples 2023-08-16 06:59:31 +02:00
Gabor Kiss-Vamosi
3631ad4b78 chore(style): add lv_style_is_const() for better readability 2023-08-15 12:48:54 +02:00
Peter Bee
d1890895a4
fix(misc): fix build warning with lv_style.h (#4458)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-08-15 12:44:09 +02:00
faxe1008
4ff76dffa1
fix(kconfig): Change LV_CONF_SKIP default value (#4455)
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2023-08-15 12:22:32 +02:00
Gabor Kiss-Vamosi
4fe5933630 feat(img): update the bits in lv_img_header_t
See #4382
2023-08-15 12:19:09 +02:00
Gabor Kiss-Vamosi
4736ebfbca perf(style): speed up getting stye properties by adding LV_OBJ_STYLE_CACHE 2023-08-15 07:31:33 +02:00
bjsylvia
67ca457a07
fix: fix typos (#4451)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-14 16:49:30 +02:00
Kevin Schlosser
e01994dc6c
chore: removes unused function (#4449) 2023-08-14 16:46:41 +02:00
_VIFEXTech
9a483c87bf
feat(layer): add more efficient widget translucent mode (#4415)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-14 07:57:19 +02:00