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

8458 Commits

Author SHA1 Message Date
tvanfossen-bissell
5c71bc1434
feat(arc): add knob offset utility (#3589)
Co-authored-by: tvanfossen <vanfosst@gmail.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-08-31 22:59:30 +02:00
Carlos Diaz
46f7384320
test(spinbox) add unit tests (#3575) 2022-08-31 12:09:05 -04:00
Gabriel Wang
eb2e296d23
cmsis pack monthly update for Aug (#3640) 2022-08-31 07:49:27 +02:00
Amir Gonnen
33d8ca779d
feat(examples) adjust micropython examples to use lv_png (#3639) 2022-08-29 17:12:37 -04:00
Lyon
125b72f010
chore: add binding for PikaScript. (#3636) 2022-08-29 16:00:10 +02:00
Amir Gonnen
ddcbb4335b
fix(ffmpeg): install ffmpeg on CI workflow (#3635) 2022-08-29 14:09:44 +02:00
geert-KLA-BE
3b7e13b7b3
feat(menu): Add setting of a page title (#3624) 2022-08-29 13:23:01 +02:00
Gabor Kiss-Vamosi
45dfc99f4d chore: fix code formatting 2022-08-29 13:15:54 +02:00
_VIFEXTech
81736cac1b
fix(benchmark): fix run_max_speed score incorrect (#3416)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-08-29 12:25:41 +02:00
Gabor Kiss-Vamosi
97f3084666
feat(demo): add benchmark modes (#3625) 2022-08-29 12:25:11 +02:00
Amir Gonnen
43da9f6faa
fix(png): fix decode image size and some warnings (#3632)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-08-28 19:59:32 +02:00
qinshijing
d0191a6e7b
fix(anim): fix the problem that the animation time is shortened #3572 (#3626)
fixes #3572

Signed-off-by: qinshijing <qinshijing@xiaomi.com>
Co-authored-by: qinshijing <qinshijing@xiaomi.com>
2022-08-28 19:56:43 +02:00
Uli Raich
fd331980bb
example(ffmpeg): replaced av_init_packet by av_packet_alloc to get rid of deprecation … (#3634) 2022-08-28 19:30:02 +02:00
Ruben Brandhofer
a81dbd338c
fix: remove tabview content not click focusable causes bugs in widgets reacting to focus changes(#3633)
fixes #3614

Co-authored-by: Ruben Vincent Brandhofer <ruben.brandhofer@rwth-aachen.de>
2022-08-28 19:23:29 +02:00
totoro
f65ee82758
fix(disp): automatically delete the old screen when not using animation (#3599) 2022-08-28 15:38:38 +02:00
Amir Gonnen
8bfccea1e2
fix(pinyin) expose lv_ime_pinyin_class (#3631) 2022-08-27 10:27:43 -04:00
Amir Gonnen
75fabab38a
fix(imgfont) add user_data argument to callback (#3630) 2022-08-27 09:31:33 -04:00
Amir Gonnen
00d92f152b
fix(ffmpeg) ignore deprecated warning (#3629) 2022-08-26 15:30:15 -04:00
Bora Özgen
89e3a712cb
fix(style) check style count overflow (#3627) 2022-08-26 11:34:46 -04:00
Lyon
314a1d79a8
doc(bindings): fix format for doc/pikascript (#3619) 2022-08-25 21:53:11 +02:00
Gabor Kiss-Vamosi
74cbed21e6 fix(png): fix warning
fixes #3620
2022-08-25 21:52:07 +02:00
Gabor Kiss-Vamosi
f18dd84e15 fix(format): fix src/libs path in pre-commit hook 2022-08-25 21:35:06 +02:00
Gabor Kiss-Vamosi
48ee005d4d fix(format): fix lv_conf_internal.h formatting by pre-commit hook
fixes #3585
2022-08-25 21:33:56 +02:00
Lyon
5cafbc912c
doc(bindings): add PikaScript Python binding (#3615) 2022-08-25 14:26:24 +02:00
Gabor Kiss-Vamosi
7f0f826c5e fix(spinbox): fix range violation on zero range crossing 2022-08-25 14:21:32 +02:00
Gabor Kiss-Vamosi
327dbb6031 feat(msg): allow using variable address as msg_id 2022-08-25 14:20:43 +02:00
Derek Carter
bdd520e00c
fix(img): lv_img_buf_get_img_size miscalculation for 1/2/4 it images (#3611) 2022-08-24 10:05:48 +02:00
qinshijing
b9bad8272e
feat(lv_label): override animation properties when scrolling (#3561) (#3582)
Signed-off-by: qinshijing <qinshijing@xiaomi.com>
Co-authored-by: qinshijing <qinshijing@xiaomi.com>
2022-08-24 09:46:04 +02:00
_VIFEXTech
b98ccf94f8
fix(draw_sw): fix image cache to access the freed stack space (#3584)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-08-23 15:27:00 +02:00
Gabor Kiss-Vamosi
50be1859de fix(ime_pinyin): fix warnings and add it to build tests 2022-08-23 13:11:12 +02:00
Pieter De Gendt
49912d8533 fix(style): Use compile time prop_cnt for const styles 2022-08-23 12:37:18 +02:00
totoro
200440fa57
fix(group): be sure the default group pointer points to a proper place (#3605) 2022-08-23 12:20:21 +02:00
Mariotaku
2a7f63e76f
fix(sdl): clear streaming/target texture with FillRect (#3608) 2022-08-23 10:03:10 +02:00
ckielstra
c069cf18fb
chore(doc) fix spelling in source comments and add missing parameter descriptions (#3607) 2022-08-22 09:21:25 -04:00
Roman Romanchuk
118a3bee76
docs: fix broken links in documentation (#3598) 2022-08-19 11:35:24 -04:00
Gabor Kiss-Vamosi
878e3d3334 feat(roller): remove LV_ROLLER_INF_PAGES and calculate it dynamically
fixes #3214
2022-08-19 14:40:08 +02:00
_VIFEXTech
bb7feb232f
fix(obj): fix crash of lv_obj_move_foreground/background when the parent of obj is NULL (#3577)
* fix(obj): fix crash of lv_obj_move_foreground/background when the parent of obj is NULL

* decrease LOG level

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-08-19 14:24:37 +02:00
Roman Romanchuk
778d872409
chore: change image tags in demo README to GitHub markdown (#3596) 2022-08-19 12:28:00 +02:00
Gabor Kiss-Vamosi
5550d61eef fix(group): be sure obj is removed from its current group in lv_group_add_obj
fixes #3593
2022-08-19 12:02:14 +02:00
Carlos Diaz
430574ed5f
chore(label) make selection interface naming consistent (#3595) 2022-08-18 18:44:18 -04:00
tvanfossen-bissell
956c47f6a7
feat(arc) add rotation getter (#3587)
Co-authored-by: tvanfossen <vanfosst@gmail.com>
2022-08-17 14:27:31 -04:00
Mariotaku
c9487f7924
fix(sdl) transformation with alpha (#3576) 2022-08-17 08:52:53 -04:00
Carlos Diaz
b878a1aed9
ci(test): unit tests for label widget (#3529)
* test(label) Add initial test for constructor

* test(label) Add tests for recolor

* cleanup(label): lv_label_event

* test(label) set text tests

* test(label) Add tests for lv_label_get_letter_pos

* chore(label) Const where possible in lv_label_get_letter_pos

* test(label) Add tests for lv_label_is_char_under_pos

* chore(label) Add const when possible to lv_label_is_char_under_pos

* test(label) Add simple test for lv_label_cut_text

* chore(label) Cleanup lv_label_revert_dots a bit

* test(label) Make tests pass on Build OPTIONS_MINIMAL_MONOCHROME

* test(label) Initial tests for lv_label_get_letter_on

* chore(label) Introduce calculate_x_coordinate helper

* chore(label) Use calculate_x_coordinate in lv_label_get_letter_on

* chore(label) Reduce varible scope in lv_label_get_letter_on

* chore(label) Use calculate_x_coordinate in lv_label_get_letter_pos

This also reduces complexity of lv_label_get_letter_pos from 21 to 19 (measured using python package 'ravioli')

* chore(label) Remove extra lv_anim_set_exec_cb on lv_label_refr_text

* chore(label) Minor edits on docs

* test(label): Remove unfinished tests

* test(label): Add tests for text selection

* Update lv_label.c

Fix formatting
2022-08-17 13:22:29 +02:00
_VIFEXTech
e93e210b41 feat(log): add option to disable printing of timestamps (#3578)
* feat(log): add option to enable printing of timestamps

* remove unnecessary \t

* Update lv_conf_template.h

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-08-17 13:18:53 +02:00
Gabriel Wang
e88a868005
feat(cmsis-pack): monthly update for August (#3574) 2022-08-17 13:08:42 +02:00
Gabor Kiss-Vamosi
3a67cb62da fix(style): add missing invalidation in lv_obj_remove_local_style_prop
fixes #3581
2022-08-17 12:53:12 +02:00
_VIFEXTech
1de64ade88
chore(demo/indev): fix warning (#3583)
* chore(demo/indev): fix warning

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

* fix 'Micropython CI / Build rp2 port' warning

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-08-17 12:32:51 +02:00
embeddedt
b08bc4c775
docs(examples) fix include paths after 2461ac0758eae69a94ee60a9be50d3de882ced09
Fixes #3571
2022-08-15 09:27:36 -04:00
Man, Jianting (Meco)
704363c5bd
[rt-thread][squareline] support squareline studio for every rt-thread bsp which has supported LVGL (#3566)
Squareline Studio can automatically put the generated C files into `ui` folder, so that rt-thread will automatically detect them; or, as a user,  you can move the generated C files into `ui` folder manually.
2022-08-15 14:47:58 +02:00
Man, Jianting (Meco)
95e6fcc566
[rt-thread] attach redefine LV_SNPRINTF and LV_VSNPRINTF (#3567)
attach 965552e446
2022-08-15 13:26:17 +02:00