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

7943 Commits

Author SHA1 Message Date
_VIFEXTech
c9ab5e4e55
fix(demo): fix Wformat warning (#3290)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-25 12:57:01 +02:00
_VIFEXTech
9868cb92bc
fix(snapshot): add missing ASSERT checks (#3292)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-25 12:56:10 +02:00
Gabor Kiss-Vamosi
8481e3a33b ci(switch): fix mem leak test 2022-04-21 21:18:40 +02:00
Gabor Kiss-Vamosi
98660a861d fix(fs): fix cached read and add unit test for lv_fs
fixes: #3262
2022-04-21 20:45:33 +02:00
simplejack-src
1cf2e5d886
feat(cmake-build): Option to allow building shared libraries. (#3278)
Add option in CMake build to specify that shared libraries should be created (as
opposed to static). This is an exclusive option (not enabled by default).

Co-authored-by: simeplejack-src <example@example.com>
2022-04-20 12:04:56 +02:00
Gabor Kiss-Vamosi
17f5e0accb fix(slider): fix left knob in ranged mode
fixes: #3285
2022-04-20 11:19:26 +02:00
Gabor Kiss-Vamosi
9997fb00aa feat(dropdown): add lv_dropdown_get_option_index 2022-04-19 11:25:29 +02:00
Mariotaku
2c90cba9de
Revert "Update lv_draw_sdl.c (#3167)" (#3280)
This reverts commit ededba94b49c534792c18b46c8484ce20933d754.
2022-04-19 10:22:44 +02:00
Gabor Kiss-Vamosi
65db5c99e0
docs(gesture): describe how prevent sending events after a gesture
Related to #3211
2022-04-19 10:11:16 +02:00
_VIFEXTech
0fdd5d6449
feat(hal): add render_start_cb to disp_drv (#3274)
* feat(hal): add render_start_cb to disp_drv

* update doc for render_start_cb

* Update docs/porting/display.md

* remove disp_refr parameter

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-04-19 10:05:59 +02:00
Gabor Kiss-Vamosi
ef08f1c0fe
chore(ci): add friendlier message to stale bot 2022-04-19 08:37:46 +02:00
Gabor Kiss-Vamosi
c596a36d9e fix(layout): use uint16_t LV_LAYOUT_FLEX/GRID
fixes #3273
2022-04-14 13:41:32 +02:00
Gabor Kiss-Vamosi
777fe1ea70 fix(scroll): send LV_EVENT_SCROLL_BEGIN/END with no animation too 2022-04-14 13:38:03 +02:00
Gabriel Wang
b6e76e28cf
feat(cmsis-pack): monthly update for April (v1.0.3-alpha) (#3271) 2022-04-14 13:28:34 +02:00
Arno Moonen
016099e09c
fix(Kconfig): Add LV_USE_GRIDNAV and LV_USE_FRAGMENT to Kconfig (#3270)
Co-authored-by: Arno Moonen <arno.moonen@airios.eu>
2022-04-13 15:38:20 +02:00
_VIFEXTech
56383c46cf
fix(msgbox): do not execute init obj when obj == NULL (#3264)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-12 09:07:24 +02:00
embeddedt
06fff4b9ba
fix(event) avoid using a boolean as a pointer
Fixes #3265
2022-04-11 17:53:57 -04:00
_VIFEXTech
96c4a45576
fix(menu): use LV_ASSERT_MALLOC check for new_node (#3263)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-11 20:31:30 +02:00
guoweilkd
9137840582
fix(canvas):image cache may expire after set canvas's buff (#3267) 2022-04-11 13:35:28 +02:00
_VIFEXTech
3db7adffb1
fix(obj_style): prevent access to class null pointer (#3252)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-11 12:43:52 +02:00
_VIFEXTech
563603589d
pref(png): use lv_memcpy/memset to improve performance (#3251)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-11 12:41:59 +02:00
Gabor Kiss-Vamosi
dea75d9b4a fix(draw): fix disp_bg_img drawing
See https://forum.lvgl.io/t/issue-with-background-image-rendering-in-lvgl-8-2-0-with-lv-color-depth-32/8607
2022-04-11 12:40:56 +02:00
Gabor Kiss-Vamosi
1b219654db chore: code formatting and fix warnings 2022-04-06 22:18:30 +02:00
Gabor Kiss-Vamosi
b0a46c4837 fix(indev): do not send keys to objects in disabled state 2022-04-06 22:12:24 +02:00
Gabor Kiss-Vamosi
00f67597d3 fix(theme) add disabled style to textarea in the default theme 2022-04-06 22:12:24 +02:00
Gabor Kiss-Vamosi
79a29d749d feat(msg): add publisher-subscriber messaging 2022-04-06 22:12:24 +02:00
embeddedt
5977eeff3c
ci(stale) bump action version
This should fix a couple problems I've noted with issues not having their stale status removed.
2022-04-05 08:14:03 -04:00
Gabriel Wang
c6d4b6e554
feat(benchmark): add trace output for running a specific scenario (#3245)
* feat(benchmark): add trace output for running a specific scenario

* Update lv_demo_benchmark.c
2022-04-05 10:52:07 +02:00
_VIFEXTech
bf85b50031
fix(png): fix possible memory leak when decoding fails (#3249)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-05 10:21:09 +02:00
_VIFEXTech
311df87f0d
fix(libs): fix possible buffer underflow caused by extension matching (#3250)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-04-05 10:19:17 +02:00
Gabor Kiss-Vamosi
a7f9dfa8c3 fix(refr): consider masks with LV_OBJ_FLAG_OVERFLOW_VISIBLE
fixes: #3151
2022-04-04 18:37:30 +02:00
Ryzee119
57e3697dca
fix(fs): track multiple directory handles with win32 backends (#3243)
* fix(fs_win32): Track multiple directory handles

* fix(fs_stdio): Track multiple directory handles (win32)
2022-04-04 14:49:07 +02:00
Gabor Kiss-Vamosi
b7b22c190c revert(group): 72cb683c799f65cd4fbae22dafc3a35c123bb66b
fixes: #3248
2022-04-04 13:28:23 +02:00
Gabor Kiss-Vamosi
b171f7dde2 fix(list): use for icon 2022-03-30 14:19:21 +02:00
_VIFEXTech
f9b554503e
fix(png): use LV_IMG_CF_TRUE_COLOR_ALPHA instead of LV_IMG_CF_RAW_ALPHA (#3212)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 13:18:28 +02:00
Man, Jianting (Meco)
6185da3d76
fix(Keil-AC5): slience warnings in Keil-AC5 (#3221)
* fix(Keil-AC5): slience warnings in Keil-AC5

* Update SConscript

* Update src/misc/lv_types.h

Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>

Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
2022-03-30 13:12:39 +02:00
Xiang Xiao
7c6f98146d
chore(kconfig): minor fix for Kconfig (#3215)
* chore(Kconfig): remove "!= 0" from "depends on LV_USE_FS_XXX != 0"

since all LV_USE_FS_XXX is bool variable, "depends on LV_USE_FS_XXX" is enough

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* chore(Kconfig): select LV_USE_IMG for LV_USE_CANVAS

since canvas depends on image

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-30 13:09:48 +02:00
_VIFEXTech
8a2d283b2e
fix(meter): fix infinite loop caused by loop variable type mismatch (#3232)
* fix(meter): fix infinite loop caused by loop variable type mismatch

* Update src/extra/widgets/meter/lv_meter.c

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-03-30 13:06:30 +02:00
_VIFEXTech
82740fea59
fix(chart): remove invalid decision branches (#3231)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 13:05:33 +02:00
_VIFEXTech
06e616d0cb
fix(gradient): assert before dividing by 0 (#3228)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 13:04:52 +02:00
_VIFEXTech
b35a37f52d
fix(calendar): fix infinite loop caused by loop variable type mismatch (#3230)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 13:01:49 +02:00
_VIFEXTech
435cc3fedc
fix(flex): assert before dividing by 0 (#3237)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 13:00:48 +02:00
_VIFEXTech
74f66d96d5
fix(hal): fix LV_ASSERT_MALLOC wrong placement (#3236)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 12:59:58 +02:00
_VIFEXTech
e4fb579558
fix(disp): fix missing null pointer judgment (#3238)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 12:59:26 +02:00
_VIFEXTech
80a6d2bf57
fix(obj_class): fix possible memory leak when the default disp is NULL (#3235)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 12:58:28 +02:00
_VIFEXTech
adf7dc2121
fix(draw_sw_letter): fix incorrect use of sizeof for a pointer (#3234)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 12:57:53 +02:00
_VIFEXTech
7dd229a7cd
fix(indev): fix null pointer access caused by typo (#3229)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 12:57:30 +02:00
_VIFEXTech
5d8845e0a2
fix(event): remove invalid decision branches (#3233)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 12:56:54 +02:00
_VIFEXTech
b0c1e297f4
fix(draw_mask): remove invalid decision branches (#3225)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 12:55:05 +02:00
_VIFEXTech
5a7e7e25e9
fix(spinbox): remove invalid judgment (#3227)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 12:54:26 +02:00