Gabor Kiss-Vamosi
80149e7f98
refactor(msg): remove lv_msg in favor of lv_observer
2023-10-10 20:48:46 +02:00
Zoltan Janosy
4f541cf523
feat(observer): implemented an observer pattern ( #4541 )
...
Co-authored-by: Zoltan Janosy <zjanosy@fishman.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-10-09 23:20:29 +02:00
Fabian Blatz
7d52859fe8
feat(lv_group): get group count and retrieve by index ( #4632 )
2023-10-09 18:36:47 +02:00
Gabor Kiss-Vamosi
edc89960ea
fix(draw): fix using placeholders in a glyph is not found
2023-10-04 10:33:35 +02:00
Raúl Gotor
0b66468f2f
ci(span): add unit test ( #4595 )
2023-10-02 18:04:01 +02:00
Gabor Kiss-Vamosi
9d8570aa3f
fix(draw) fix stride realted bugs in SW render
2023-09-28 12:22:49 +02:00
PGNetHun
8c2fc7ec4b
chore: code and documentation cleanups, renames and fixes ( #4607 )
2023-09-27 12:23:40 +02:00
Gabor Kiss-Vamosi
9c437d1073
feat(grid): add a basic subgrid implementation
2023-09-25 20:56:09 +02:00
Neo Xu
27357d5139
feat(obj): add obj_id, class names, and dump support ( #4536 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-09-25 10:58:36 +02:00
Gabor Kiss-Vamosi
87d323f240
chore: fix TEST_ASSERT_MEM_LEAK_LESS_THAN
2023-09-25 10:54:02 +02:00
Gabor Kiss-Vamosi
4eedc8cd5a
ci: add TEST_ASSERT_MEM_LEAK_LESS_THAN and use it in image decoder tests
2023-09-25 10:49:54 +02:00
_VIFEXTech
9937138392
feat(libs): add libpng decoder ( #4569 )
...
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-25 10:28:35 +02:00
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