_VIFEXTech
2c70665674
fix(gradient): remove invalid decision branches ( #3226 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 12:53:46 +02:00
_VIFEXTech
931207683d
fix(txt): return 0 if letter_uni is out of range ( #3224 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 12:52:37 +02:00
_VIFEXTech
9768c78c20
fix(calendar): fix possible array access out of bounds ( #3223 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 12:51:58 +02:00
_VIFEXTech
423a3eb5d7
fix(style): remove useless null pointer judgment ( #3222 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-30 12:51:36 +02:00
Pete Bone
8f8bd5f47c
Update chart to set LV_CHART_POINT_NONE correctly for LV_USE_LARGE_COORD ( #3217 )
...
* Update chart to set LV_CHART_POINT_NONE correctly for LV_USE_LARGE_COORD
* Fix warning.
2022-03-29 17:33:47 +01:00
guoweilkd
6b628e524b
fix(obj): scrolling exception when use lv_obj_set_parent() ( #3210 )
2022-03-29 16:39:26 +02:00
Gabriel Wang
a5b9a1c210
feat(env_support): cmsis pack monthly update ( #3209 )
...
* feat(gpu): update lv_gpu_arm2d
* feat(cmsis-pack): Monthly update for March
2022-03-29 13:58:07 +02:00
Tim Stableford
f426d546fa
feat(tabview): support vertical scrolling ( #3184 )
...
This makes it so when the tabview has the tabs on the left or right
it will be scrolled up and down rather than left and right in all cases.
2022-03-29 13:57:48 +02:00
guoweilkd
47791926f9
feat(span): add an interface for setting the number of lines ( #3200 )
...
* fix draw: remove the high overflow judgment code
2022-03-29 13:06:58 +02:00
_VIFEXTech
9a0a74813d
fix(libs): fix memcmp memory access overflow ( #3205 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-25 14:22:16 +01:00
Xiang Xiao
7d968bda8b
chore(config): change LV_FFMPEG_AV_DUMP_FORMAT to LV_FFMPEG_DUMP_FORMAT ( #3199 )
...
ensure all ffmpeg special config start with the prefix(LV_FFMPEG_)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-24 22:13:06 +01:00
_VIFEXTech
8ddbae1f35
fix(png): fix possible file leaks ( #3204 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-24 22:12:29 +01:00
Xiang Xiao
a6368fec53
fix(docs): rename task-handler.md to timer-handler.md ( #3203 )
...
since all task facility is already switched to timer facility
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-24 22:11:45 +01:00
Gabor Kiss-Vamosi
378aaa637b
docs: add section for renderers and gpus
2022-03-24 21:52:42 +01:00
Ryzee119
4f30bb9fa5
fix(lru): Fix use of undefined variables ( #3181 )
2022-03-24 21:42:31 +01:00
Gabor Kiss-Vamosi
127d8e82e3
fix(textarea): fix max length handling
2022-03-24 18:48:25 +01:00
Man, Jianting (Meco)
15247f9305
fix(rt-thread): Sconscript use LOCAL_CFLAGS to replace LOCAL_CCFLAGS ( #3196 )
2022-03-23 13:13:59 +01:00
Carlos Diaz
2b6cc3bc9c
ci(slider): add unit test ( #3198 )
...
* slider: Refactor LV_SLIDER_KNOB_COORD and draw_knob
The `hor` parameter of this macro was always true, ending up always using the
left side of the ternary operator, with this refactor we eliminate the `hor`
parameter and remove the ternary operator it was used for.
This macro is only used in the `draw_knob` event handler, so it helps with its
initial cleanup.
* test(slider): Test documented default properties
* test(slider): Tests for LV_EVENT_KEY with valid and invalid keys
* feat(slider): Add helper to know if slider is horizontal
* chore(slider): Cleanup LV_EVENT_PRESSING handler
Reduce scope of variables where possible and use LV_CLAMP
* chore(slider): Cleanup draw_knob
* test(slider): Add tests for LV_EVENT_RELEASED
* test(slider): Add note about left_knob_focus
* test(slider): Initial test for hit test
* test(slider): Add tests for different slider modes
* chore(slider): cleanup draw_knob
* chore(slider): Cleanup position_knob
* test(slider): Move group configuration to setUp
* test(slider): Refactor tests with feedback
* add test_ranged_mode_adjust_with_encoder
* code formatting
* tests(slider): Remove direct usages of left_knob_focus
* test(slider): Remove unused variable
* Revert "test(slider): Refactor tests with feedback"
This reverts commit b274f829ecd83c894569b6f0535c7edebce5cbc9.
* test(slider): Add missing variable
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-03-23 13:05:30 +01:00
Xiang Xiao
a694fc3f87
fix(make) make files under draw/gpu ( #3202 )
...
* chore(gpu): remove the empty src/gpu/lv_gpu.mk
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(draw): add the missing gnu driver .mk
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-23 12:58:37 +01:00
Gabor Kiss-Vamosi
1d60da6d8e
chore: code formatting
2022-03-23 12:49:33 +01:00
Gabor Kiss-Vamosi
e53f60259c
fix(style): _lv_style_prop_lookup_flags tell all flags for LV_STYLE_PROP_ANY
2022-03-23 11:25:29 +01:00
Man, Jianting (Meco)
a8e99798b3
fix(docs-CN):fix broken links to docs in dir get-started ( #3195 )
2022-03-23 10:38:17 +08:00
gliggy
3f778638bf
fix broken links to docs in dir get-started ( #3190 )
...
add sub-directories as appropriate
2022-03-23 10:37:56 +08:00
_VIFEXTech
f28cd60279
fix(indev): fix warning about formatting uint32_t with %d ( #3193 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-03-22 13:56:07 +01:00
Viatorus
962d374791
feat(indev): add possibility to enable/disable all input devices at once ( #3179 )
...
* add possibility to globally enable/disable all input devices
* fix copy/paste error
* merge lv_indev_globally_enable into lv_indev_enable
* add missing simicolon
* remove unused variable
2022-03-21 14:53:40 +01:00
Xiang Xiao
fcf833f9af
Minor document update ( #3185 )
...
* chore(docs): change "-DLV_USE_BTN 1" to "-DLV_USE_BTN=1"
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* chore(docs): update demo related link and description
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 13:34:12 +01:00
Xiang Xiao
bc17353057
chore(docs): remove [lv_sim_...] and [lv_...] from "Repository layout" ( #3183 )
...
* chore(docs): remove [lv_sim_...] and [lv_...] from "Repository layout"
since [lv_sim_...] is part of [lv_port...] and [lv_...] just equals no filter at all
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* Update docs/intro/index.md
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-03-21 13:26:19 +01:00
Xiang Xiao
2e80590b3f
chore(make): add lv_ prefix to examples/examples.mk and src/extra/extra.mk ( #3187 )
...
follow other make file convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 11:27:08 +01:00
Xiang Xiao
4c4f954059
chore(style): remove the trailing space from all source files ( #3188 )
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-21 11:25:51 +01:00
Gabor Kiss-Vamosi
46bd054ad4
chore: code formatting
2022-03-20 22:37:12 +01:00
Gabor Kiss-Vamosi
d9ae58b697
fix(style): fix heap use after free with transition styles
2022-03-20 22:37:01 +01:00
Gabor Kiss-Vamosi
48728a7839
fix(layout): fix the handling of FLOATING children
2022-03-20 21:45:09 +01:00
Gabor Kiss-Vamosi
5546b9d740
fix(style): make color filter inherited
2022-03-20 21:45:09 +01:00
Gabor Kiss-Vamosi
0e3bd11751
chore: fix comment typo
2022-03-20 21:45:09 +01:00
Xiang Xiao
6ba51f7f3f
chore(docs): update the link of demos to the new location ( #3182 )
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-20 08:20:57 -04:00
Gabor Kiss-Vamosi
559986d5b7
chore: run code format
2022-03-18 16:03:48 +01:00
Gabor Kiss-Vamosi
242112b2df
fix(theme): properly disable transitions if LV_THEME_DEFAULT_TRANSITION_TIME==0
...
fixes #3157
2022-03-18 15:46:07 +01:00
Gabor Kiss-Vamosi
306fa19682
fix(table): invalidate only the changed cell
...
fixes: https://forum.lvgl.io/t/refresh-cells-that-changed/8454
2022-03-18 15:16:06 +01:00
Gabor Kiss-Vamosi
7c74f6556a
fix(scroll): fix scroll to view to the left
...
fixes #3158
2022-03-18 15:15:51 +01:00
Man, Jianting (Meco)
ca17c204d0
doc(rt-thread): add more BSP supports ( #3178 )
...
* doc(rt-thread): add more BSP supports
* improve sconscript
2022-03-18 14:09:01 +01:00
Mariotaku
c76a3d206e
added missing implementation for lv_fragment_get_manager ( #3169 )
2022-03-17 16:26:16 +01:00
guoweilkd
061b6b5441
fix(Kconfig): move LV_USE_IMGFONT to others menu ( #3176 )
2022-03-17 16:00:47 +01:00
embeddedt
3016266686
chore(docs) fix logical inconsistency in wording
2022-03-17 10:54:26 -04:00
rqbh
ededba94b4
Update lv_draw_sdl.c ( #3167 )
...
Fix sdl gpu draw back
2022-03-17 15:22:10 +01:00
Gabor Kiss-Vamosi
f584a30af3
chore(docs): fix links
2022-03-17 13:47:54 +01:00
Gabor Kiss-Vamosi
8a81532191
docs: rearrange the get-started section
...
Add folder for Platforms, RTOS, and Bindings
2022-03-17 13:19:53 +01:00
Gabor Kiss-Vamosi
4341660b93
chore(docs): mark v7 as eol
2022-03-17 11:17:35 +01:00
guoweilkd
7713327d61
feat(font): add imgfont - can be used to add emojis to label/span ( #3160 )
...
* feature(font): draw img in label/span
* add to tests
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-03-17 10:18:14 +01:00
Gabor Kiss-Vamosi
7153e3f8b7
fix(arc): fix arc image drawing issue
2022-03-17 10:11:39 +01:00
Gabriel Wang
16a1af3873
fix(draw): src_buf_tmp will be NULL when LV_DRAW_COMPLEX is '0' ( #3163 )
2022-03-16 16:15:20 +01:00