Commit Graph

9246 Commits

Author SHA1 Message Date
terry.rong
cf74e81917
fix(cache): fix use after free in lv_cache_invalidate_by_src (#4853)
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-11-23 08:23:40 +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
5f12474a46 fix(draw): use byte as stride unit instead of pixel (#4812)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-22 23:14:44 +01:00
bjsylvia
1a781880da
fix(typos): fix typos in lv_map API document (#4845) 2023-11-22 20:17:17 +01:00
Neo Xu
2970b84b1b
feat(tool): PNG to lvgl image in python (#4414)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-22 20:16:59 +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
bjsylvia
afda43b037
feat(indev): start scroll_throw animation using lv_anim_start (#4827)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-22 20:15:03 +01:00
_VIFEXTech
bf1d0d3235
fix(nuttx): fix uninitialized variables (#4848)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-11-22 15:40:45 +01:00
_VIFEXTech
296c1df302
chore(demos): fix warning (#4847)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-11-22 07:07:04 +01:00
_VIFEXTech
067a58794b
chore(sdl): fix warning (#4846)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-11-22 07:05:26 +01:00
Gabor Kiss-Vamosi
224fb43703 refactor(display): display_remove->display_delete 2023-11-21 21:42:15 +01:00
Gabor Kiss-Vamosi
1d5dd3c2f3 feat(init): add deinit_in_progress to lv_globals
With this in LV_EVENT_DELETE displays and indevs can deinit the drivers too
2023-11-21 21:42:04 +01:00
Neo Xu
0c8a1f22a4
fix(draw): use half of RGB stride as alpha map stride for RGB565A8 (#4842)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-21 19:46:58 +01:00
Neo Xu
695f4e9247
feat(decoder): add decoder open args (#4834)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-21 19:30:31 +01:00
Neo Xu
534768ed27
chore(draw): use byte as stride unit for draw_transform (#4843)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-21 17:44:21 +01:00
fuxiujun
619f712aa9
chore(txt): add cjk Unicode range (#4840)
Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com>
Co-authored-by: yushuailong1 <yushuailong1@xiaomi.com>
2023-11-21 17:38:16 +01:00
Neo Xu
02bed79fa8
chore(image): add image flag bitfield (#4832)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-21 17:21:46 +01:00
bjsylvia
6ef63a65ff
chore(anim): remove unused header (#4836)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-21 17:09:25 +01:00
Neo Xu
4420aa7ea2
fix(decoder): fix stride process in get_area_cb for RGB image (#4841)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-21 16:19:46 +01:00
qinshijing
423c288070
feat(label): LV_LABEL_WAIT_CHAR_COUNT can be configured externally (#4837)
Signed-off-by: qinshijing <qinshijing@xiaomi.com>
Co-authored-by: qinshijing <qinshijing@xiaomi.com>
2023-11-20 18:17:49 +01:00
terry.rong
420094d5b2
fix(gif): correct the name in gifdec_mve.h (#4831)
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-11-20 17:55:04 +01:00
Gabor Kiss-Vamosi
f9328de841 chore: remove debug code 2023-11-20 12:50:26 +01:00
Gabor Kiss-Vamosi
1756671b91 chore: fix minor issues 2023-11-20 12:47:26 +01:00
Gabor Kiss-Vamosi
4bc03a8bea
Update ROADMAP.rst 2023-11-20 12:40:25 +01:00
Neo Xu
e68e5248cd
fix(draw): use byte as stride unit instead of pixel (#4812)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-19 21:59:42 +01:00
Neo Xu
6be9592e8b
refactor(image decoder): move lvgl binary image decoder to standalone file (#4829)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-19 21:53:40 +01:00
Gabor Kiss-Vamosi
b1be5441c3
Update ROADMAP.rst 2023-11-19 12:28:09 +01:00
bjsylvia
9399fc4664
fix(draw): delete duplicate prototype (#4826)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-19 08:55:05 +01:00
Gabor Kiss-Vamosi
74aa5e298c chore(sdl): revert debug code 2023-11-19 08:06:43 +01:00
Gabor Kiss-Vamosi
54f9cc926b test: upload to CodeCov only from lvgl/lvgl 2023-11-18 22:26:07 +01:00
Gabor Kiss-Vamosi
c09b73bc35 ci: fix make file build error 2023-11-18 22:06:49 +01:00
Gabor Kiss-Vamosi
51efe57ae9 chore: fix micropython example 2023-11-18 20:25:47 +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
873364f65f fix: fix pycparser in SDL and update rlottie, ffmpeg for cache API changes 2023-11-18 17:04:36 +01:00
terry.rong
0471034a73
perf(gif): add mve(helium) support (#4819)
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-11-18 15:58:44 +01:00
Gabor Kiss-Vamosi
4bdb2cd0ea chore: format code and fix build error 2023-11-18 15:48:12 +01:00
Neo Xu
328ed69b4e
fix(decoder): add C-array indexed image process in get_area_cb (#4824)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-18 15:42:18 +01:00
Gabor Kiss-Vamosi
5304bf6044 chore: fix build error 2023-11-18 15:41:46 +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
蒋慧赟
cd6b4db6e8
chore(timer): add assertions for null pointer (#4823) 2023-11-18 09:08:54 +01:00
gcopoix
2cba406014
fix(cmake): fixed lvgl.pc source dir in install step if using FetchContent (#4815)
Co-authored-by: Gregor Copoix <gregor.copoix@ithinx.io>
2023-11-18 08:46:43 +01:00
Neo Xu
e15df6744e
fix(draw): stride fix for canvas and image decoder (#4820)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-18 08:41:14 +01:00
Neo Xu
9db2ea26c7
fix(barcode): use draw buffer for canvas image (#4818)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-18 08:38:28 +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
Neo Xu
defaafaa44
fix(snapshot): need to set disp refreshing firstly (#4816)
Signed-off-by: Xuxingliang <xuxingliang@xiaomi.com>
2023-11-18 08:09:45 +01:00
Gabor Kiss-Vamosi
b10294186a fix(tabview): fix micropython example 2023-11-15 23:41:24 +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