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

7809 Commits

Author SHA1 Message Date
guoweilkd
8315eb1ca4
feat(txt): add used_width parameter to _lv_txt_get_next_line() (#2898) 2021-12-21 10:37:02 +01:00
Gabor Kiss-Vamosi
0788d91899 fix(mem/perf monitor): fix issue introduced in #2910
fixes: #2932
2021-12-21 10:31:26 +01:00
Gabor Kiss-Vamosi
d79283c145
fix(example): update LVGL_Arduino.ino 2021-12-21 10:21:40 +01:00
Paul
28d06b0354
fix(dropdown): in lv_dropdpwn_get_selected_str handle if there are no options (#2925)
* fix lv_dropdown_get_selected_str

* fix lv_dropdown_get_selected_str

* fix lv_dropdown_get_selected_str
2021-12-20 15:57:03 +01:00
Gabor Kiss-Vamosi
d2316447c5 fix(theme): fix theme initialization issue introduced in 6e0072479 2021-12-20 15:37:19 +01:00
Gabor Kiss-Vamosi
fa9340c45f fix(roller): snap on press lost
fixes #2916
2021-12-20 15:09:32 +01:00
geert-KLA-BE
6e00724797
fix: lv_deinit/lv_init crash or hang (#2910)
* Fix themes that are not correctly initialized after lv_deinit

* Fix performance & memory monitoring not correctly initialized after lv_deinit & lv_init

* Apply code formatting fixes

* Fix build errors

* Fix build errors

* Fix formatting

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-12-20 14:05:06 +01:00
Man, Jianting (Meco)
e24a9fdf18
fix(rt-thread): improve the structure (#2912) 2021-12-20 13:17:08 +01:00
Man, Jianting (Meco)
70778fb9e4
fix: removed string format warnings for int32_t and uint32_t (#2924)
* fix:Removed string format warnings for int32_t and uint32_t
re-handle #2722

* feat(rt-thread): add the option of built-in examples
2021-12-20 09:52:07 +01:00
Man, Jianting (Meco)
01daed356a
fix(lv_fs_win32): add missing include of <stdio.h> (#2918) 2021-12-18 14:11:23 -05:00
Man, Jianting (Meco)
d85f6324a7
chore replace LittlevGL references with LVGL (#2913) 2021-12-17 20:52:46 -05:00
Gabor Kiss-Vamosi
8951bd2a15 Revert "experiement"
This reverts commit 5658cc9444db9325cce4897ecc9c308b116fdf95.
2021-12-17 15:04:34 +01:00
Gabor Kiss-Vamosi
53ececc5ec feat(obj): add lv_obj_get_event_user_data() 2021-12-17 14:58:23 +01:00
Gabor Kiss-Vamosi
70327bdb2d feat(obj) add LV_OBJ_FLAG_SCROLL_WITH_ARROW 2021-12-17 14:58:23 +01:00
Gabor Kiss-Vamosi
5658cc9444 experiement 2021-12-17 14:58:23 +01:00
embeddedt
2f808965a1
docs(font) fix example to match v8
Closes #2873. Thanks for bringing this to our attention @rafaelcorsi.
2021-12-16 21:01:51 -05:00
Jakob Vukalović
5eb11dc34f
fix: use unsigned integer literal for bit shifing. (#2888)
Fixes hicpp-signed-bitwise error.
2021-12-16 22:18:24 +01:00
Gabor Kiss-Vamosi
a3b22128ad chore: run code formatter 2021-12-16 20:55:36 +01:00
Gabor Kiss-Vamosi
6f40db2752 chore(conf) update lv_conf_template.h with demos 2021-12-16 20:52:18 +01:00
Gabor Kiss-Vamosi
5414652a41 arch merge lv_demos 2021-12-16 20:49:41 +01:00
xaowang96
350e15a12e
chore(lottie) move rlottie_capi.h to lv_rlottie.c (#2902)
fix(lottie) invalidate image src after delete rlottie

Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
Change-Id: Ie8ec726663335925ae9f25f2428097c2f948892e
2021-12-15 14:27:09 +01:00
Gabor Kiss-Vamosi
b9b4447369
chore trigger docs rebuild 2021-12-15 14:06:13 +01:00
_VIFEXTech
89df950082
chore(monkey) add the missing monkey from toctree (#2901) 2021-12-15 13:06:57 +01:00
_VIFEXTech
8a2c670be4
feat(others) add monkey test (#2885)
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration

* feat(refr) add reset of FPS statistics

* fix(conf) mismatched macro judgment

* feat(others) add monkey test

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

* fix(monkey) use lv_memset_00 to initialize monkey config

* fix(monkey) random upper limit value

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

* feat(examples) add monkey test example

* feat(docs) add monkey test description

* feat(monkey) add user_data

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

* docs(monkey) add instructions

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

* fix(monkey) EX -> EXAMPLE

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

* feat(monkey) add comments to monkey config

* docs(monkey) update usage

* feat(Kconfig) add monkey test configuration

* fix(monkey) rand() -> lv_rand()

* feat(example) add button monkey test

* docs(monkey) add button introduction

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* fix(monkey) obj -> monkey

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2021-12-14 20:55:45 +01:00
Bartosz Gołaszewski
050ee4848f
fix(qrcodegen) add brackets around assert calls (#2897)
Add brackets to fix build errors on platforms which define assert as an empty macro.
2021-12-14 08:34:59 -05:00
Gabor Kiss-Vamosi
cb7fc2bb59 fix(dropdown) be sure the list is the top object on the screen
fixes #2893
2021-12-13 20:26:24 +01:00
embeddedt
6de89e4b7b
ci remove formatting request workflow
This approach is too risky and insecure in its current implementation.
2021-12-13 08:55:36 -05:00
embeddedt
dddafaec94
ci one last try at this for tonight 2021-12-12 22:00:33 -05:00
embeddedt
8277f78d13
ci force pushing to upstream branch 2021-12-12 21:55:47 -05:00
embeddedt
cb3de308fd
ci try alternate checkout mechanism 2021-12-12 21:52:31 -05:00
embeddedt
9fcf52a82b
ci ensure lvgl-bot is used to make commits 2021-12-12 21:49:22 -05:00
embeddedt
02f02fa78f
ci apply my updates to the verify-formatting action 2021-12-12 21:44:14 -05:00
embeddedt
d1ccbf607f
ci fix typo in formatting action 2021-12-12 21:42:15 -05:00
embeddedt
1f6037ce98
ci more formatting action updates 2021-12-12 21:39:34 -05:00
embeddedt
065d821c70
ci test formatting action 2021-12-12 21:37:21 -05:00
embeddedt
2f8e4bc4c4
ci more debugging for formatting action 2021-12-12 21:35:18 -05:00
embeddedt
be9722c420
ci update action 2021-12-12 21:33:32 -05:00
embeddedt
7af78498a8
ci create handler for formatting requests 2021-12-12 21:30:46 -05:00
Gabor Kiss-Vamosi
9810920fc5 fix(event): crash if an object was deleted in an event
fixes: #2886
2021-12-10 13:40:31 +01:00
embeddedt
d792c5f6c2
docs(imgbtn) fix typo 2021-12-09 09:57:17 -05:00
SgtPepper
c2b0343431
fix(list) guard image creation with LV_USE_IMG (#2881) 2021-12-09 09:47:21 -05:00
Neo
a2e4dfdce2
fix(snapshot): make fake display size big enough to avoid align issue. (#2883)
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
Change-Id: I5a5e39f15b816bc281a6b9fb348a2adebb947368
2021-12-08 18:57:30 +01:00
_VIFEXTech
01973c2242
fix(sdl) correct makefile (#2884)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2021-12-08 09:19:31 -05:00
Gabor Kiss-Vamosi
d47cd1d7fe fix(btnmatrix): keep the selected button even on release
fixes: #2858
2021-12-07 15:38:11 +01:00
Carlos Diaz
559c2cdc9e
test(switch): add initial unit test (#2794)
* test(switch): Add test file and state at creation test

* test(switch): Event handler called only once per click

* test(switch): Add test state change when event bubbling is enabled

* test(switch): Cleanup event bubbling test

* tests(switch): Update memory test and add basic animation test

* test(switch) Add helper to click on switch

* test(switch) Add basic test for knob size calculation

* misc(switch) Replace switch knob rounding error magic number with define

* test(switch) Improve animation test

Properly wait for 50ms after clicking on the switch using lv_test_indev_wait and also assert on switch state after the first and second clicks

* test(switch) cleanup

* misc(switch) Cleanup

* switch: Expose _LV_SWITCH_KNOB_EXT_AREA_CORRECTION value

So we can use it when testing extra draw size
2021-12-07 13:49:26 +01:00
Neo
e50950683d
fix(draw): fix set_px_cb memory write overflow crash. (#2882) 2021-12-07 13:46:02 +01:00
Gabor Kiss-Vamosi
43729d1502 fix(build) fix sdl build with make
fixes 1281abef9e (commitcomment-61235260)
2021-12-06 10:44:23 +01:00
ckielstra
a5058eafd0
style(examples) fix style issues in Python examples (#2880)
Removes all semicolons at line endings in the Python examples.
2021-12-05 08:41:17 -05:00
s-hadinger
0b91b6c42f
chore(docs): fix typo (#2878) 2021-12-03 14:26:55 +01:00
guoweilkd
5a49c06833
fix(freetype): fix memset error (#2877) 2021-12-03 13:08:06 +01:00