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

7783 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
7cf5709b06 fix(font): use 0 width for non printable characters 2022-02-16 09:10:48 +01:00
GoT
cbcf194bc4
docs(msgbox) fix typo (#3095) 2022-02-15 16:45:02 -05:00
Gabriel Wang
305ad00893
feat(benchmark): add an API to run specific scene (#3089) 2022-02-13 14:02:45 -05:00
embeddedt
9771050b99
chore(format) add formatting for examples & demos, merge test config 2022-02-13 13:59:17 -05:00
Gabriel Wang
ba38a4bb76
feat(log): improve lv_log and add log the result from lv_demo_benchmark (#3084)
* feat(log): improve log

* Update log.md

* Update log.md

* fix: fix formatting issue

* fix: fix formatting again...

* fix: remove blanks
2022-02-12 20:12:32 +01:00
Gabor Kiss-Vamosi
48d87e1ed2 test(img): fix image error diff handler 2022-02-11 16:59:24 +01:00
guoweilkd
751b1b67b8
fix(font):draw placeholder if get_glyph_dsc() returns false (#3000) 2022-02-11 15:26:57 +01:00
embeddedt
c6b34bc85b
fix(conf): work around GCC bug (#3082)
Fixes #3078
2022-02-11 15:25:44 +01:00
Mariotaku
e7736f2c32
feat(fragment): add fragment manager (a UI Controller concept) (#2940)
* adding lv_obj_controller

* adding examples for lv_obj_controller

* added some docs

* formatted code

* updated controller docs

* updated controller docs

* updated sample controller field

* changed lv_controller_manager_parent to lv_controller_manager_get_parent

* updated unmanaged controller creation/deletion

* renamed lv_controller_manager_t

* rename: controller -> fragment

* formatted code

* Update examples/others/fragment/lv_example_fragment.h

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>

* Update src/extra/others/fragment/lv_fragment.c

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>

* Update src/extra/others/fragment/lv_fragment.c

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>

* Update src/extra/others/fragment/lv_fragment.c

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>

* code cleanup

* fragment creation rework

* (wip) fragment manager

* (wip) fragment manager

* refactoring fragment

* lifecycle fixes

* updated fragment event callback

* exposed states of fragment

* added some docs

* updated lv_fragment_managed_states_t name

* updated docs

* updated docs

* updated lv_fragment_manager_dispatch_event docs

* removed msgbox fragment

* updated fragment docs

* updated fragment docs

* updated docs

* updating examples

* fixed example

* reformatted code

* fixed obj_created set timing

* simplified fragment

* improved fragment view del assertion

* fixed a typo

* fixed event_cb check in lv_obj_remove_event_cb_with_user_data

* fixing fragment obj assertion

* regenerated config

* fixed fragment examples

* fixed fragment examples

* added missing examples

* updated docs

* fragment api cleanup

* rename fragment struct names

* added missing param doc

* enabled test for 32bit build

* feat(porting): add a macro lv_run_timer_handler_in_period to simplify porting (#3063)

* feat(porting): add a macro lv_run_timer_handler_in_period to simplify porting

* feat: update helper function and doc

* doc(porting): update function names

* revise to the original os.md

* fix: fix typo

* fix: mitigate warnings

* chore: fix code formatting

* fix(fsdrv): replacing sprintf with lv_snprintf for safety (#3079)

* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration

* feat(refr) add reset of FPS statistics

* fix(conf) mismatched macro judgment

* feat(fsdrv) replacing sprintf with lv_snprintf for safety

* feat(fsdrv) update stdio and win32

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>

* fix warnings

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: Gabriel Wang <embedded_zhuoran@Hotmail.com>
Co-authored-by: _VIFEXTech <1290176185@qq.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-02-11 12:43:08 +01:00
_VIFEXTech
9f90d82e91
fix(fsdrv): replacing sprintf with lv_snprintf for safety (#3079)
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration

* feat(refr) add reset of FPS statistics

* fix(conf) mismatched macro judgment

* feat(fsdrv) replacing sprintf with lv_snprintf for safety

* feat(fsdrv) update stdio and win32

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-02-08 15:22:28 +01:00
Gabor Kiss-Vamosi
2dc804f2b2 chore: fix code formatting 2022-02-07 21:18:00 +01:00
Gabriel Wang
796f0c0b4e
feat(porting): add a macro lv_run_timer_handler_in_period to simplify porting (#3063)
* feat(porting): add a macro lv_run_timer_handler_in_period to simplify porting

* feat: update helper function and doc

* doc(porting): update function names

* revise to the original os.md

* fix: fix typo

* fix: mitigate warnings
2022-02-07 21:10:12 +01:00
Gabor Kiss-Vamosi
9e1b789fb3 chore(demo): describe why the memory leak is no zero 2022-02-07 20:38:05 +01:00
Gabor Kiss-Vamosi
9a1e385b2b docs(images): fix notes about breaking change inf v8.2
Indexed images are not chroma keyed. Use the alpha chaneel instead.
Realted to: https://forum.lvgl.io/t/8-2-0-image-drawing-renders-actual-color-defined-for-transparency-in-lv-img-cf-indexed-8bit-images-8-1-0-and-prior-did-not/8133
2022-02-07 19:15:01 +01:00
GoT
78966f5cc4
docs(scroll): use LV_DIR_VER instead of LV_DIR_TOP (#3066)
Bad usage of LV_DIR_TOP
2022-02-07 17:33:54 +01:00
Carlos Diaz
2c7760c687
chore(test): format test cases (#3071) 2022-02-03 09:59:55 +01:00
Gabriel Wang
e400a87df9
fix(cmsis-pack): add PIDX for cmsis-pack (#3064) 2022-02-01 09:01:50 +01:00
embeddedt
9fcefe5a49
ci use GCC problem matcher on ARM tests as well 2022-01-31 09:28:02 -05:00
Gabor Kiss-Vamosi
23c7b2dbf2 change version numbers to v8.3.0-dev 2022-01-31 13:35:13 +01:00
Gabor Kiss-Vamosi
0b5a1d4b23 release v8.2 v8.2.0 2022-01-31 13:32:05 +01:00
Gabriel Wang
d851fe0528
feat(cmsis-pack): prepare for lvgl v8.2.0 release (#3062) 2022-01-31 13:15:27 +01:00
Gabor Kiss-Vamosi
4bd1e7e9f7 arch(env): move the zephyr folder into the env_support folder 2022-01-29 19:48:39 +01:00
Amir Gonnen
c7a414bfc6
fix(micropython) update examples for new API (#3059)
Related: https://github.com/lvgl/lv_binding_micropython/issues/202
2022-01-29 12:39:11 -05:00
Gabor Kiss-Vamosi
f6a61df3ae chore: update lv_conf_internal.h 2022-01-29 14:35:05 +01:00
Gabriel Wang
7f4cde9388
fix: increase default value of LV_MEM_SIZE for lv_demo_widgets #3057 (#3058)
* fix: increase default value of LV_MEM_SIZE for demo:widgets #3057

* Update demos/widgets/lv_demo_widgets.c

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-29 14:34:08 +01:00
embeddedt
b34fe9ed8b
ci(micropython) use ESP-IDF 4.4 2022-01-29 08:25:34 -05:00
Gabriel Wang
4aa6829bdc
fix(cmsis-pack): fix issue #3032 (#3056)
* fix(cmsis-pack): fix issue #3032

- catchup with the latest master branch
- fixed an cmsis-pack issue
- update lv_conf_cmsis.h with the latest lv_conf_template.h

* fix(cmsis-pack): update default value of LV_MEM_SIZE for better user experience

- Improve user experience when people use cmsis-pack to try demo: widgets
2022-01-29 14:22:51 +01:00
Gabor Kiss-Vamosi
74091c42f7 chore: fix typos in FATFS config
fixes https://github.com/lvgl/lvgl/pull/2979#discussion_r794612134
2022-01-29 13:47:14 +01:00
Gabriel Wang
f6ebb9a5a7
fix(porting): add missing function prototypes (#3054) 2022-01-28 11:58:41 -05:00
Gabor Kiss-Vamosi
244ca091c4
chore(docs): update faq 2022-01-28 15:27:16 +01:00
Amir Gonnen
a4c235a93e
fix(kconfig): add missing default values (#3050)
Related: https://github.com/lvgl/lv_micropython/runs/4958046580?check_suite_focus=true
2022-01-28 11:33:17 +01:00
Gabor Kiss-Vamosi
285e6b39f9
docs(fs): update fs interface description to the latest API 2022-01-27 11:20:56 +01:00
Mariotaku
70c2b57abe
fix(canvas): force canvas to use sw draw (#3045)
* force canvas to use sw draw

* added userdata to lv_draw_sdl_drv_param_t

* fixing build test

* Update src/draw/sdl/lv_draw_sdl.h

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-25 13:24:34 +01:00
Man, Jianting (Meco)
8a2d72c35b
fix(rt-thread): use ARCH_CPU_BIG_ENDIAN to replace RT_USING_BIG_ENDIAN (#3044) 2022-01-25 12:37:51 +01:00
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