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

8915 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
e657c74aca chore: fix build errors 2023-09-18 21:29:22 +02:00
Gabor Kiss-Vamosi
f3cb2c5772 chore: code formatting 2023-09-18 21:20:23 +02:00
Gabor Kiss-Vamosi
ca55b2ed8d arch(img_decoder): replace read_liine_c with get_area_cb
also remove sjpeg support as get_area_cb can de quite same (some optimization is still needed to not decode the out of bounds chunks)
2023-09-18 21:19:00 +02:00
xaowang96
6fdd585549
feat(indev): add an indev reset event (#4539)
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-09-17 22:18:04 +02:00
Gabor Kiss-Vamosi
788ba76638
Update ROADMAP.rst 2023-09-16 11:50:01 +02:00
Gabor Kiss-Vamosi
48eb88a8ee
docs(roadmap): use consistent checkbox 2023-09-15 01:24:00 +02:00
Gabor Kiss-Vamosi
fed57a9625 fix(rlettie): fix cache usage 2023-09-15 00:44:19 +02:00
Gabor Kiss-Vamosi
2116fc3e8d fix(ffmpeg): fix cache usage 2023-09-15 00:37:05 +02:00
Gabor Kiss-Vamosi
10414b2f96 chore: fix warning and build error 2023-09-15 00:25:26 +02:00
Gabor Kiss-Vamosi
757877b1fc feat(cache): rework cache
- based in cache size instead of entry count
- not only for images
- needs to be called manually in decoders (and not the cache manages the decoders)
2023-09-14 23:23:29 +02:00
Gabor Kiss-Vamosi
09c12d0f9c refactor(btn, img): rename btn to button and img to image 2023-09-14 20:12:31 +02:00
zhengqingquan
e91786ce49
chore(lv_keyboard): minor optimization and formatting (#4555) 2023-09-14 19:33:34 +02:00
zephyr-zhu
f6e0ab80eb
fix(cmake): fix issue of cmake generating header files (#4557)
Signed-off-by: zephyrZhu <zenghui_zhu@126.com>
2023-09-14 19:32:19 +02:00
bjsylvia
06238e4947
fix(music): delete timer when deleting related-object (#4558)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-09-14 19:12:47 +02:00
Gabor Kiss-Vamosi
0c1f5510d7 fixup! fix(anim): fix reading deleted anaimations in lv_anim_del
fix(anim): fix infinite loop in lv_anim_del
2023-09-14 19:11:56 +02:00
Niklas Fiekas
d935cb676a
fix(docs): fix small mistakes in grid layout docs (#4559) 2023-09-14 19:02:45 +02:00
Gabor Kiss-Vamosi
ca0fed9344 fix(anim): fix reading deleted anaimations in lv_anim_del
see #4508
2023-09-14 17:22:36 +02:00
bjsylvia
140369c5c0
fix(disp): should clean up event_cb when deleting lv_disp and lv_obj (#4550)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-09-12 19:55:46 +02:00
Kevin Schlosser
57d06dd5b4
chore: changes lv_lru_free_t function pointer typedef (#4544) 2023-09-11 20:51:04 +02:00
bjsylvia
0762003b87
fix(docs): fix typos (#4546)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-09-11 15:56:42 +02:00
茳岚
cf6f541394
chore(docs): fix comment lv_port_indev_template.c (#4545) 2023-09-11 12:44:44 +02:00
Gabor Kiss-Vamosi
4415f4a766 feat(scale): add lv_scale_set_post_draw and use label_dsc.text_local in a smarter way 2023-09-08 21:40:56 +02:00
Gabor Kiss-Vamosi
1768e5740a
Update ROADMAP.rst 2023-09-07 22:35:17 +02:00
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