Commit Graph

274 Commits

Author SHA1 Message Date
Lemon
2f67d804ce
feat(barcode): add vertical display mode (#4564)
Signed-off-by: liujp <liujp@xiaomi.com>
Co-authored-by: liujp <liujp@xiaomi.com>
2023-09-24 21:41:24 +02:00
_VIFEXTech
c4c4627ae0
feat(libs): add libjpeg-turbo decoder (#4567)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-09-22 10:43:59 +02:00
Gabor Kiss-Vamosi
971c533375 refactor: use only uint32_t and int32_t in the widget's API 2023-09-21 13:30:51 +02:00
_VIFEXTech
e53cd59fcb
chore(libs/jpg): rename lv_jpg to lv_tjpgd (#4573)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-09-20 10:38:47 +02:00
_VIFEXTech
45fb2148d5
chore(libs/png): rename lv_png to lv_lodepng (#4574)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-09-20 10:30:04 +02:00
Stephan Wirth
f77cacd1b7
fix(roller): fix bubbling events (#4542) 2023-09-20 10:27:36 +02:00
Gabor Kiss-Vamosi
0721884ee9 refactor: disp->display, res->result/resolution, hor/ver->horizontal/vertical, txt->text, angle->rotation, zoom->scale 2023-09-18 22:57:30 +02:00
Gabor Kiss-Vamosi
e657c74aca chore: fix build errors 2023-09-18 21:29:22 +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
Gabor Kiss-Vamosi
09c12d0f9c refactor(btn, img): rename btn to button and img to image 2023-09-14 20:12:31 +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
aa164e5778 chore(ci): try to fix ci 2023-08-31 20:36:58 +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
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
xaowang96
d7289962f1
ci(bar): add screenshot test (#4503)
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2023-08-31 10:19:26 +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
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
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
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
_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
Gabor Kiss-Vamosi
45aa59a473
feat(draw_buf): add lv_draw_buf_t for stride support (#4423) 2023-07-31 18:44:02 +02:00
Gabor Kiss-Vamosi
35c23a4069 ci: fix potential out of memory issue 2023-07-31 18:22:13 +02:00
Gabor Kiss-Vamosi
4b4ff3ba70 ci: add clip corner test 2023-07-24 17:31:35 +02:00
Gabor Kiss-Vamosi
b78d4dc04b demo: add lv_demo_scroll 2023-07-15 23:24:58 +02:00
Peter Bee
36c5f19c95
fix(kconfig): update Kconfig and lv_conf_kconfig.h (#4338)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
Signed-off-by: Peter Bee <pbjd97@gmail.com>
2023-07-09 23:27:32 +02:00
Gabor Kiss-Vamosi
f753265a79 arch(draw): add parallel rendering architecture
BREAKING CHANGE

This is a huge update which introduces parallel rendering. lv_conf.h needs to be updated too.
2023-07-05 13:05:19 +02:00
Neo Xu
3fbdd7b6c1
fix(anim): fix compile warnings (#4305)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-06-23 20:32:25 +02:00
Gabor Kiss-Vamosi
e820dacd5a fix spinner 2023-06-20 11:27:09 +02:00
Neo Xu
043c48761f chore(math): tune cubic-bezier precison to 10bits
10 bits is already enough for normally used ease functions(ease, ease-in, ease-out, ease-in-out).
14 bits provides more accuracy and requires additional shift operation.
>14bits provices more accuracy but requires 64bit calculation and additional shift operation.

Add normally used ease function in test.

Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2023-06-20 11:27:09 +02:00
Neo Xu
b374282e23 test: add math test for cubic-bezier function
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2023-06-20 11:27:09 +02:00
Benign X
caf9d16dc9
fix(pos): fix invalidate area problem with transform (#4285)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-06-13 21:16:22 +02:00
Gabor Kiss-Vamosi
35b1290b94 ci(line): fix unit test 2023-05-29 11:31:02 +02:00
hiornso
239b70a8da
fix(dropdown): lv_dropdown_get_option_index shouldn't match strings of different lengths (#4191) 2023-05-02 10:45:02 +02:00
_VIFEXTech
4658c27f37
refact(monitor): refact system monitor component (#4195)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
2023-05-02 10:40:13 +02:00
Gabor Kiss-Vamosi
e7f88efa58 ci(roller): fix test 2023-04-27 09:26:08 +02:00
sparkles43
312303cb44
fix(obj_tree): update parents of children after swapping (#4150) 2023-04-20 20:29:58 +02:00
Gabor Kiss-Vamosi
efa02eca24 ci(build): in minimal config use default theme disabled, basic theme enabled
fixes: #4111
2023-04-06 09:11:03 +02:00
Carlos Diaz
609e2d34d7
fix(checkbox): check for mem allocation failure in set_text (#4089) 2023-03-29 09:15:55 +02:00
Carlos Diaz
61b46756f6
ci(malloc): add malloc/realloc/free stub in unit tests (#4078) 2023-03-24 09:06:16 +01:00
Gabor Kiss-Vamosi
c7b26a27b6 test(fs): fix typo, change rd -> r in fopen 2023-03-17 16:34:58 +01:00
_VIFEXTech
afe29b7dab
refact(user_data): remove LV_USE_USER_DATA configuration (#4056)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-03-14 14:34:56 +01:00
Gabor Kiss-Vamosi
6cd98892a4 fix(event): fix typos and tests 2023-03-06 13:00:05 +01:00
Carlos Diaz
67941f4964
ci(test): add unit test for lv_list (#4032) 2023-03-04 17:02:08 +01:00
some00
7854d55046
test(main.py): add cli option to select test suite (#4023) 2023-03-02 09:51:55 +01:00
Gabor Kiss-Vamosi
77836dd260 fix(fs): fix cached read
related to: #3968
2023-02-28 21:22:01 +01:00
Gabor Kiss-Vamosi
746e26fd52 chore: fix warnings 2023-02-28 07:38:13 +01:00
Gabor Kiss-Vamosi
84d91adaf4 fix(fs): fix cached file read
related to #3968
2023-02-27 22:17:50 +01:00
Gabor Kiss-Vamosi
426739d060 ci(test): make test_style faster 2023-02-27 09:50:21 +01:00