_VIFEXTech
e93e210b41
feat(log): add option to disable printing of timestamps ( #3578 )
...
* feat(log): add option to enable printing of timestamps
* remove unnecessary \t
* Update lv_conf_template.h
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-08-17 13:18:53 +02:00
Mariotaku
03b04a45b9
fix(SDL): fix typos and other minor issues ( #3517 )
...
* fix(sdl): wrong coords for transformed backgrounds
* fix(sdl): fixed typo
* fix(sdl): fixed typo
2022-07-25 21:00:48 +02:00
Gabor Kiss-Vamosi
59818094c5
update lv_conf_temaple.h
2022-07-21 22:45:23 +02:00
Gabor Kiss-Vamosi
6104855491
fix(conf): fix a lot of new config realted issues
2022-07-19 17:21:19 +02:00
_VIFEXTech
a6f7370d75
feat(imgfont): add option to use img cache to buffer img headers ( #3504 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-07-19 13:33:55 +02:00
Gabor Kiss-Vamosi
5369d7d473
arch(conf, api) refactor lv_conf and some API ( #3501 )
...
Kconfig and MicroPython config is not updated yet.
* start to refactor lv_conf.h
* further mem refactoring
* create lv_mem_builtin.c/h
* update lv_conf_internal.h
* add lv_strlen and lv_strncpy
* rename LV_DRAW_COMPLEX to LV_USE_DRAW_MASK
* update lv_conf_template
* minor fix
2022-07-19 13:31:42 +02:00
Xiang Xiao
0e367d0a76
chore(config): fix the style issue in lv_conf_template.h ( #3469 )
...
* chore(config): fix the style issue in lv_conf_template.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* chore(format): don't exclude lv_conf_internal.h from code-format.cfg
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-11 14:06:31 +02:00
Gabor Kiss-Vamosi
27cf84637d
chore: bump version numbers to v9.0.0-dev
2022-07-07 08:40:07 +02:00
Gabor Kiss-Vamosi
eb992e2355
set version numbers to v8.3.0
2022-07-06 10:28:20 +02:00
100ask
10e0b7a1ad
feat(ime_pinyin): add API to support 9-key input mode ( #3447 )
...
* feat(ime_pinyin): add API to support 9-key input mode
* some optimizations for lv_ime_pinyin
* Update lv_example_ime_pinyin_2.c
* Update src/extra/others/ime/lv_ime_pinyin.h
Co-authored-by: YobeZhou <smilezyb@163.com>
Co-authored-by: Yobe Zhou <33565334+YobeZhou@users.noreply.github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-07-06 09:04:53 +02:00
_VIFEXTech
73114028d3
feat(font): add font placeholder drawing configuration ( #3446 )
...
* feat(font): add font placeholder drawing configuration
* Turn on placeholder by default in Kconfig
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
* When disabled LV_USE_FONT_PLACEHOLDER set box_w=0
* Remove placeholder_font to get glyphs
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-07-05 16:42:46 +02:00
Yobe Zhou
92f1f9c0cc
feat(ime_pinyin): add API to use Pinyin IME(Chinese input) ( #3408 )
...
* feat(pinyin_ime): add API to use Pinyin IME(Chinese input)
1.Low resource usage
2.Support custom thesaurus
3.Support custom styles (Candidate panel, keyboard)
4.Support simple spelling
* fix(ime_pinyin): fix several problems of ime_pinyin
1. Change lv_pinyin_ime to lv_ime_pinyin
2. Add lv_pinyin_ime_set_keyboard interface
3. Add lv_ime_pinyin configuration in Kconfig, src/lv_conf_internal.h
* refactor(ime_pinyin): improve coding specification
* feat(ime_pinyin): add simple Pinyin IME example
* docs(ime_pinyin): Add ime_pinyin documentation
* Delete settings.json
* Update dictionary based on simsun
* Delete lv_font_source_han_sans_normal_16.c
* Update lv_example_ime_pinyin_1.c
* Update ime_pinyin.md
add Chinese translation document
* Update lv_ime_pinyin.c
* Update lv_ime_pinyin.c
* Update lv_ime_pinyin.h
* Update lv_ime_pinyin.c
* Update lv_example_ime_pinyin_1.c
* Update lv_conf_internal.h
* Update lv_ime_pinyin.c
* Update lv_ime_pinyin.c
Co-authored-by: 100askTeam <team100ask@outlook.com>
2022-06-24 14:38:24 +02:00
Gabor Kiss-Vamosi
afaa8c9300
demo(benchmark): add LV_DEMO_BENCHMARK_RGB565A8 option
...
fixes #3379
2022-06-23 11:51:20 +02:00
Mariotaku
f575935180
fix(sdl): add transformation support for the SDL backend ( #3403 )
...
* sdl transform wip
* sdl transform wip
* working transform (scale, rotate)
* fixed transform with masks
* fixing includes
* removed lv_obj_t references in draw backend
* update the API to work with SW layers too
* update lv_conf_internal.h
* makefile fixes
* updated sdl transform implementation
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-06-15 10:36:47 +02:00
Gabor Kiss-Vamosi
523062b9ee
fix(color): color mix rounding error
...
fixes : #3362
2022-05-18 07:57:48 +02:00
Xiang Xiao
e827207080
fix(config): Keep the sequence of widget in order ( #3314 )
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-04 21:00:49 +02:00
Xiang Xiao
4e7a0b2824
chore: correct the code format in lv_conf_template.h ( #3310 )
...
* chore: correct the code format in lv_conf_template.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* feat(config): support #undef in lv_conf_template.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-04 20:58:09 +02:00
Gabor Kiss-Vamosi
8b15007568
fix(draw): create intermediate layer for blend modes too
2022-04-26 11:23:55 +02:00
Gabor Kiss-Vamosi
318146a2c2
feat(draw): support transforming widgets and improfe sw transform
...
For details see: https://docs.lvgl.io/master/overview/style.html
2022-04-26 10:45:12 +02:00
woody
07b7eea56c
feat(gpu): add SWM341 gpu support (synwit)
...
* Update lv_gpu_stm32_dma2d.c
fix stm32 DMA2D blend。
* add SWM341 DMA2D support for lvgl
* add SWM341 DMA2D support for lvgl
* add SWM341 DMA2D support for lvgl
* add SWM341 DMA2D support for lvgl
* add SWM341 DMA2D support for lvgl
2022-04-25 15:13:19 +02:00
Gabor Kiss-Vamosi
79a29d749d
feat(msg): add publisher-subscriber messaging
2022-04-06 22:12:24 +02: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
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
Gabriel Wang
a0153182b8
feat(gpu): add gpu arm2d ( #3162 )
...
* feat(gpu): add support for arm-2d
* fix(hal): fix typos
* feat(cmsis-pack): v1.0.2-alpha2 for monthly update
* update format for lv_gpu_arm2d.c
* Update LVGL.lvgl.1.0.2-alpha1.pack
2022-03-16 10:26:12 +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
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
2022-01-31 13:32: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
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
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
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
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
ckielstra
febafd1cc7
chore: many trivial spelling and layout fixes ( #3008 )
...
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-17 08:10:23 -05:00
Gabor Kiss-Vamosi
86525c35ba
chore(lv_conf): add comment about the widgets demo might require more memory
2022-01-15 19:57:19 +01:00
Mariotaku
49dc90a2b6
fix(sdl): fix clipped image drawing ( #2992 )
...
* fixed clipped image drawing
* make sdl blend mode a feature toggle
* improved textarea cursor fidelity
* added some comment to config
* updated config header
* updated formatting
2022-01-13 16:56:56 +01:00
X-Ryl669
6617385f8a
feat(draw): add gradient dithering support ( #2872 )
...
* Add dithering to gradients
* Add support for 8x8 matrix for ordered dithering
* Fix CI errors
* Try error diffusion on vertical gradient too
* Vertical error diffusion dithering
* Add support for runtime based dithering mode selection (from none, ordered, error diffusion).
* Reduce the binary size of the code by sharing the dithering table when appropriate.
* Fix CI
* Fix CI
* Review corrections
* Fix union mapping
* Revert bg_color changes
* Fix for keeping bg_color in the API.
* Fix after review
* Add support for setting multiple stops per gradient in the style API
* Let's make an example
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-11 12:38:30 +01:00
Gabor Kiss-Vamosi
db53ea925c
arch(draw): allow replacing the draw engine
...
BREAKING CHANGE: the API of lv_draw_... function have been changed
2021-12-21 15:54:22 +01:00
Gabor Kiss-Vamosi
740d7400dd
chore(conf): do not enable demos by default
2021-12-21 13:31:05 +01:00
Gabor Kiss-Vamosi
6f40db2752
chore(conf) update lv_conf_template.h with demos
2021-12-16 20:52:18 +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
_VIFEXTech
216298d6e9
fix(conf) mismatched macro judgment ( #2843 )
...
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration
* feat(refr) add reset of FPS statistics
* fix(conf) mismatched macro judgment
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2021-11-29 11:42:08 +01:00
HX2003
ad947d3085
feat(widgets): add menu widget ( #2603 )
...
* add menu widget
* Update lv_example_widgets.h
* fix errors
* Update lv_menu.c
* try to fix errors
* micropython
* Fix colons
* Simplify and optimise
* Refactor
* Update lv_example_menu_3.c
* Update lv_example_menu_3.c
* Add simple micropython examples
* Improvements
* Automatically set clickable flags
* Custom header example
* Include example
* Refactor again
* Fix error
* Fix error
* Add back micropython example
* Hide back btn by default
* Add config
* Fix spacing
* Fix spacing
* Docs
* Update lv_theme_default.c
* Remove shaded text
* Improve clarity
* Create index.rst
* Update custom header example
* Change lv_menu_set_mode_sidebar to lv_menu_set_sidebar_page
* Fix unused variable
* Added ability to set title to page
* Flex
* Simplify sidebar check
* Rename mode and update header btn
* Run lv_conf_internal_gen.py
* Run code-format.sh
* Add contributors
* Micropython example 3
* Micropython example 4
* Improve docs
2021-11-29 11:33:34 +01:00
guoweilkd
81f7d50c45
feat(freetype): support bold and italic ( #2824 )
...
* feat(freetype):support bold and italic
* fix(format): replace code-format.sh with code-format.py
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-11-24 20:19:09 +01:00
Xiang Xiao
3035d27d4a
chore(conf): ensure the template and generated file conform the coding style ( #2823 )
...
* fix(conf): ensure the template and generated file conform the coding style
and remove lv_conf_internal.h from the excluding list of code-format.cfg
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(conf): regenerate lv_conf_internal.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-22 09:52:26 +01:00
_VIFEXTech
a97ac7ec8e
feat(lib) add ffmpeg video and image decoder ( #2805 )
...
* add ffmpeg decoder to extra/libs
* fix(Kconfig) add ffmpeg configuration
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
* feat(example) add ffmpeg decoder example
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
* update lv_conf_template.h
* feat(example) add picture and video to ffmpeg example
* docs(libs) update FFMpeg introduction
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
* fix(ffmpeg) replace with new videos and examples
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
* fix(ffmpeg) remove the include of lv_img_cache.h
* fix(ffmpeg) add LV_ASSERT_OBJ
* Update examples/libs/ffmpeg/lv_example_ffmpeg_2.c
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-11-19 08:49:39 +01:00
Gabor Kiss-Vamosi
77e76aab21
chore(version) update version number to v8.1.1-dev
2021-11-10 12:21:29 +01:00
Gabor Kiss-Vamosi
d38eb1e689
release v8.1
2021-11-10 12:17:53 +01:00
Xiang Xiao
ddfdccac3c
fix(conf): Make LV_COLOR_MIX_ROUND_OFS configurable ( #2766 )
...
* fix(config): check macro equal one correctly
1.remove all tabs from lv_conf_internal_gen.py
2.make the generated code align each other
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(conf): Make LV_COLOR_MIX_ROUND_OFS configurable
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-08 14:40:08 +01:00
_VIFEXTech
abcf5660a9
fix(conf) better support bool option from Kconfign ( #2555 )
...
* fix(arc) format code
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
* fix(Kconfig) add missing LV_BUILD_EXAMPLES configuration
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
* fix(fsdrv): remove the seek call in fs_open (#2736 )
since the file should be located at zero after open
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* docs(os) add example and clarify some poinits
* fix(draw border):border draw error if border width > radius (#2739 )
* fix(label) consider base dir lv_label_get_letter_pos in special cases
related to https://github.com/lvgl/lvgl/issues/2712#issuecomment-953463193
* improve lv_conf_internal_gen.py for better Kconfig support
Co-authored-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Co-authored-by: guoweilkd <guowei15@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-11-05 15:42:42 +01:00
Gabor Kiss-Vamosi
acd0f4fbc7
feat: add LV_USE_MEM_PERF/MONITOR_POS
...
fixes #2735
2021-11-05 13:27:40 +01:00