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

7949 Commits

Author SHA1 Message Date
Carlos Diaz
ded126a478
chore(ci): update check_style.yml (#3047)
Update failure message
2022-01-25 11:01:56 +01:00
Gabor Kiss-Vamosi
71c739cc2d fix(config): fix anonymus choice
realted to #2955
2022-01-24 21:41:42 +01:00
Adrian Schnyder
abba1c351a feat(fs): add caching option for lv_fs-read (#2979)
BREAKING CHANGE:
The `LV_FS_...` related configs needs to be updated.

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-24 20:52:37 +01:00
embeddedt
4122dda399
ci add 5k stack limit 2022-01-24 14:34:00 -05:00
Gabor Kiss-Vamosi
4197b2fd6e feat(scrollbar): add more control over scrollbar paddings 2022-01-24 20:11:43 +01:00
embeddedt
6de3fa8004
ci force use of ccache in PATH 2022-01-24 11:29:46 -05:00
embeddedt
a7c590f10d
ci force ccache to be saved every time 2022-01-24 11:26:58 -05:00
Themba Dube
8c75bb298a Revert "ci add back stack usage check at 4 kilobytes"
This reverts commit 89135d663daca34c9d9695a4c12b4208ef4ba217.
2022-01-24 11:01:22 -05:00
Themba Dube
89135d663d ci add back stack usage check at 4 kilobytes 2022-01-24 10:56:11 -05:00
Themba Dube
3bd6ad80e7 test(demo) add tests for widget and stress demos 2022-01-24 10:55:32 -05:00
embeddedt
80408f704e
ci attempt to speed up cross tests 2022-01-24 10:42:54 -05:00
embeddedt
c9e19272c6
ci disable LeakSanitizer on dockerized tests 2022-01-24 10:26:21 -05:00
Gabor Kiss-Vamosi
5ec532dfd5 fix(sw): make knob size calculation more intuitive 2022-01-24 16:21:43 +01:00
Themba Dube
1900c21548 ci temporarily disable stack usage check 2022-01-24 10:16:58 -05:00
embeddedt
772f219c0a
ci(cross) install build-essential 2022-01-24 10:07:20 -05:00
Gabor Kiss-Vamosi
5c98ac8511 fix(draw): fix clipping children to parent 2022-01-24 16:06:38 +01:00
embeddedt
df7eaa020d
ci(cross) use python3 instead of python 2022-01-24 10:05:12 -05:00
embeddedt
90e2b9f05e
ci inline apt-get commands 2022-01-24 10:01:00 -05:00
embeddedt
59b4769344
ci use specific version tag 2022-01-24 09:57:58 -05:00
embeddedt
7008770261
ci initial support for cross-architecture tests 2022-01-24 09:55:47 -05:00
X-Ryl669
923defd6b6
fix(gradient): general cleanup and fix for alignment issues (#3036)
* Try to fix ASAN behavior

* improve alignments

* fix buffer overflow and various other fixes

* minor fixes

* formatting

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-24 15:47:47 +01:00
Themba Dube
ba083dfd6d test(style) fix compile error 2022-01-23 12:10:08 -05:00
Themba Dube
da8f34566b test(style) add test for gradient 2022-01-23 12:02:25 -05:00
Themba Dube
51ef9c242c test(event) add test for #2886 2022-01-23 10:07:50 -05:00
Themba Dube
446b1ebf2b test add support for using system heap 2022-01-23 09:58:55 -05:00
Carlos Diaz
0b68840cd9
test(bar): add unit tests (#2845)
* test(bar) Add test for docummented default attributes

* test(bar) Update test for docummented default attributes

* test(bar): Indicator width tracks value

* test(bar) Calculate bar indicator width based on its style

Take padding, max value and bar value into consideraion

* test(bar) Indicator area gets smaller when increasing padding in LV_PART_MAIN style

* test(bar) Start value changes only when in range mode

* docs(bar): Add missing MODE to symbols

* test(bar) Start value should be smaller than current value

* test(bar): Test current value truncation to max and min value

* bar: Check bar mode in lv_bar_set_start_value

bar start_value can be changed only when bar is in LV_BAR_MODE_RANGE mode.
Return early when it's not.

* test(bar): Fix width calculation test

* bar: Initialize indic_area in constructor

* test(bar): Refactor indicator coordinate update test

* test(bar): Indicator negative value in symmetrical mode

* test(bar): Fix base direction

* test(bar): Indicator coord test for RTL base dir
2022-01-22 16:17:13 +01:00
X-Ryl669
1f9d3892a3
fix(draw): rendering issues for vertical gradient with and without dithering (#3034) 2022-01-22 15:43:37 +01:00
Amir Gonnen
e143788903
fix uninitialized variable (#3033) 2022-01-20 17:12:08 -05:00
Gabriel Wang
101d09276f
docs(demos) update information to reflect new layout (#3029) 2022-01-20 13:52:52 -05:00
Gabor Kiss-Vamosi
79d0ec092d
chore: update arduino linter 2022-01-20 13:22:36 +01:00
Gabor Kiss-Vamosi
f79b00cce0
ci: add arduino linter action 2022-01-20 13:20:42 +01:00
Mariotaku
842296d874
fix(lru): lower dependency for standard C functions (#3024)
* uses lvgl memory functions for lru

* uses lv_memset_00

* using lv_rand for seed
updated to use lvgl naming convention

* includes stddef.h
2022-01-20 12:00:13 +01:00
Gabriel Wang
b0949109bd
fix(env_support): move cmsis-pack to env_support folder (#3026)
* fix(env_support): move cmsis-pack to env_support folder

* fix(cmsis-pack): change version info from v8.1.0 to v8.1.1

* feat(cmsis-pack): catchup before merge
2022-01-20 11:40:47 +01:00
Gabor Kiss-Vamosi
1efe61fda2 chore(test): fix failing tests 2022-01-20 10:33:04 +01:00
Gabor Kiss-Vamosi
62fc7123f1 feat(gridnav): add lv_gridnav (#2911)
* add first implememtation

* Update src/extra/others/gridnav/lv_gridnav.c

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

* minor fix

* add example and minor fixes

* add more examples

* add more examples

* code formatting

* add LV_GRIDNAC_CTRL_SCROLL_FIRST

* code formatting

* add example for list

* add docs

* Misc:  improvements to gridnav docs (#2994)

Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Co-authored-by: Ken Carpenter <62639971+FoundationKen@users.noreply.github.com>
2022-01-20 10:29:40 +01:00
Gabor Kiss-Vamosi
731ef5a75e fix(refr): fix missed buffer switch in double full-screen buffer + direct_mode
fixes #3010
2022-01-20 10:17:44 +01:00
Gabriel Wang
218d68e99d
feat: update the cmsis-pack to 0.8.3 (#3021)
* doc: add readme.md for cmsis-pack

* feat: add benchmark to cmsis-pack

* fix: force WORD alignment for enabling AC6 auto-vectorization

* feat: add demo:widgets

* fix: use the original lv_demos.h
2022-01-19 22:31:02 +01:00
Gabor Kiss-Vamosi
773d50f0ac arch(env): arch(env): move the cmake folder into the env_support folder 2022-01-19 22:14:04 +01:00
Man, Jianting (Meco)
bd243f3124
arch(env): move rt-thread into env_support folder (#3025) 2022-01-19 22:10:54 +01:00
ckielstra
10866ce3f0
fix(doc): full covering opacity is 255, not 256 (#3022) 2022-01-19 09:30:10 -05:00
Amir Gonnen
9d1febd275
fix uninitialized variables (#3023) 2022-01-19 09:24:44 -05:00
Gabor Kiss-Vamosi
e9d70803e1 chore(qrcode): fix warnings
fixes #3016
2022-01-19 14:06:12 +01:00
Gabor Kiss-Vamosi
adc218a7b3 fix(theme): add arc, spinner and colorwheel to basic theme 2022-01-19 14:02:43 +01:00
Gabor Kiss-Vamosi
345f6882c9 fix(arc): fix knob invalidation 2022-01-19 14:02:11 +01:00
Gabor Kiss-Vamosi
f8d88567f6 fix(obj) make LV_OBJ_FLAG_SCROLL_CHAIN part of the enum instead of define
It's required for MicroPython backward compatibility
2022-01-19 13:18:08 +01:00
Gabor Kiss-Vamosi
ca5f04cfe3 fix(theme): fix crash in lv_theme_basic_init 2022-01-19 13:03:02 +01:00
Gabor Kiss-Vamosi
933d67fe5b
docs(event): tell to not adjust widgets in draw events
fixes #3009
2022-01-19 12:34:13 +01:00
Mariotaku
d33db6bb59
feat(sdl): support rounded images (#3012)
* added radius mask for rounded img

* improved mask composite
improved image zoom fidelity

* implementing sdl image radius

* low performance radius img drawing

* improved rounded image performance

* improved rounded image performance

* improved rounded image blending

* pixel perfect rounded image for SDL

* accurate drawing only

* supports rounded img for rect as well

* fixed mask check when zoomed

* surrounded rounded mask in lv_img with draw_complex check

* updated docs

* fixed build issue

* aware of clip_corner property

* reverted lv_img.c

* updated docs
2022-01-18 11:41:45 +01:00
Gabor Kiss-Vamosi
0921dfc8cd fix(switch): make knob height calculation similar to slider
That is use the switch's full height without padding as default knob height
2022-01-18 11:25:23 +01:00
Man, Jianting (Meco)
1df510ebe1
doc(rt-thread): update documentation (#3017) 2022-01-17 19:53:41 -05:00