1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-02-04 07:13:00 +08:00

5722 Commits

Author SHA1 Message Date
Xiang Xiao
bc25998c5b
Minor fix found in mem module (#2014)
* fix(mem): Utilize ALIGN_MASK as much as possible

to avoid check LV_ARCH_64 again and again and
correct the comment about MEM_UNIT

* fix(mem): Simplify _lv_memset implementation by SET8/SET32/REPEAT8 macro

* fix(mem): Handle the out of memory gracefully in _lv_mem_buf_get

don't modify the state in the failure

* fix(mem): Remove the unnecessary memset, memcpy and assignment
2021-01-12 19:26:26 +01:00
Xiang Xiao
9ca4ffd64d
fix(format) correct comments in lv_gc.h, lv_ll.h and lv_log.h (#2016) 2021-01-12 11:01:45 -05:00
Xiang Xiao
d6ca15a749
Move LV_GC_INCLUDE to the common place(gc.h) (#2010)
* Move LV_GC_INCLUDE to the common place(gc.h)

to avoid the duplication in many source files

* fix(theme template): Always initialize _lv_theme_material_styles

just like what other theme do
2021-01-12 16:13:41 +01:00
Xiang Xiao
486053012d
Various fs module fix and improvement (#2019)
* fix(fs): Check driver ready in lv_fs_dir_open and lv_fs_free_space

* fix(fs): Avoid the memory leak in lv_fs_open and lv_fs_dir_open

* fix(fs): Fix typo error in lv_fs_trunc(tell_cb should be trunc_cb)

* fix(fs): Make lv_fs_dir_close same as lv_fs_close when dir_close_cb equals NULL

* fix(fs): Handle the struct cleanup correctly

* improve(fs): Don't allocate memory when file_size or rddir_size equal zero

pass the address of file_d or dir_d to open_cb or dir_open_cb instead, so
implementor can point file_d/dir_d to other location. In many cases(POSIX),
file system will allocate the context for us, this improvement could avoid
we allocate the 4/8 bytes intermediate space.
2021-01-12 12:16:02 +01:00
Xiang Xiao
c083d19b52
Minor fix found in async module (#2015)
* fix(async): Move lv_async_info_t from lv_async.h to lv_async.c

since the user don't need know the implementation detail

* fix(async): Don't set user_data again

since lv_task_create already save it for us
2021-01-12 12:07:00 +01:00
Xiang Xiao
138fcfec79
fix(math): Correct the function argument type declaration (#2013)
1.all argument of _lv_bezier3 should be uint32_t since the input and output are unsigned
2.the return type of _lv_map should be int32_t since the type of output range is int32_t
3.remove the unnecessary cast
2021-01-12 12:00:20 +01:00
Xiang Xiao
c20d5d81f2
Minor fix found in Kconfig (#2005)
* Trim trailing whitespace from Kconfig

* Replace all tab to space in Kconfig

* Add more dependence between opions to Kconfig

* Add LV_USE_FONT_SUBPX for LV_FONT_SUBPX_BGR in Kconfig

* Fix typo error(LV_USE_DROPBOX->LV_USE_DROPDOWN) in Kconfig

* Remove LV_THEME_MATERIAL dependence from the child of LV_THEME_DEFAULT_FLAG

since LV_THEME_DEFAULT_FLAG already depends on LV_THEME_MATERIAL

* Rename LV_MEM_SIZE_BYTES to LV_MEM_SIZE_KILOBYTES

since this opion use KiB as the unit
2021-01-11 14:38:17 +01:00
Xiang Xiao
81b13bf3b6
Remove the double empty lines from all source files (#2009)
* Run dos2unix for all source files

* Remove the trail space from all source files

* Remove the double empty lines from all source files
2021-01-11 14:28:00 +01:00
udoudou
52ba06a228
Update CHANGELOG.md (#2011)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-01-11 13:10:54 +01:00
udoudou
923f989b39
Fix(indev): Don't leave edit mode if there is only one object in the group (#1999)
* Release v7.7.0

* Fix(indev): Don't leave edit mode if there is only
 one object in the group

* Remove unnecessary judgment conditions

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

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-01-11 13:10:02 +01:00
Julian Mitchell
a2e9f03eda
Fix build when LV_USE_GPU_NXP_PXP is enabled (#1982)
* Fix build when LV_USE_GPU_NXP_PXP is enabled

* Allow fill_normal to use PXP
2021-01-11 10:26:24 +01:00
Gabor Kiss-Vamosi
4cff14f823 fix(gou_nxp_pxp): fix incorrent define name 2021-01-11 10:22:23 +01:00
embeddedt
0d52a60200
Update CHANGELOG.md 2021-01-09 15:25:21 -05:00
embeddedt
c988b68605
fix(msgbox) use the animation time provided
Fixes #2008
2021-01-09 15:25:07 -05:00
Gabor Kiss-Vamosi
7d3a6c8de4
Update main.yml 2021-01-08 14:35:39 +01:00
Gabor Kiss-Vamosi
636ea46a44
Delete close-if-no-template.yml 2021-01-08 14:33:49 +01:00
Gabor Kiss-Vamosi
0e2c83813f
Create main.yml 2021-01-08 14:32:55 +01:00
Gabor Kiss-Vamosi
ccc847e975
Create close-if-no-template.yml 2021-01-08 14:24:53 +01:00
Gabor Kiss-Vamosi
cabbaf093c
Delete auto-close-if-no-template.yml 2021-01-08 14:24:24 +01:00
Gabor Kiss-Vamosi
d31304a1cc
Create auto-close-if-no-template.yml 2021-01-08 14:22:51 +01:00
Gabor Kiss-Vamosi
6de31e9ffc
Update bug-report.md 2021-01-08 14:11:23 +01:00
Gabor Kiss-Vamosi
e457c33dc2
Update dev-discussion.md 2021-01-08 14:10:12 +01:00
Gabor Kiss-Vamosi
9bb7ff30ec
Update and rename all-other-issues.md to dev-discussion.md 2021-01-08 14:08:39 +01:00
Gabor Kiss-Vamosi
f0fd2b757f
Update bug-report.md 2021-01-08 12:52:23 +01:00
Gabor Kiss-Vamosi
97f1493202
Update bug-report.md 2021-01-08 12:51:44 +01:00
Gabor Kiss-Vamosi
20975a2290
Update all-other-issues.md 2021-01-07 14:52:19 +01:00
Gabor Kiss-Vamosi
7dc3262855
Update config.yml 2021-01-07 14:50:43 +01:00
Gabor Kiss-Vamosi
0110a1888d
Update bug-report.md 2021-01-07 14:49:09 +01:00
embeddedt
74564b7c7e
fix(canvas): spelling in log messages 2021-01-07 07:46:20 -05:00
Gabor Kiss-Vamosi
b391c64434
Update config.yml 2021-01-07 13:33:01 +01:00
Gabor Kiss-Vamosi
509a56fde9 fix(dropdown): fix selecting options after the last one
fix #1996
2021-01-06 12:06:51 +01:00
Gabor Kiss-Vamosi
8cd07b6ff5 fix(cpicker): fix division by zero
fix #1992
2021-01-06 11:53:51 +01:00
embeddedt
ae2fbdb9ef
fix(win): incorrect switch syntax 2021-01-05 17:10:57 -05:00
Gabor Kiss-Vamosi
8aaff10bd5 fix(release script): fix regexp to update the required LVGL version in lv_examples.h 2021-01-05 16:33:07 +01:00
Gabor Kiss-Vamosi
e3ad7918e2 Update master version 2021-01-05 16:04:29 +01:00
Gabor Kiss-Vamosi
e66f19e5ce Release v7.9.0 v7.9.0 2021-01-05 15:57:36 +01:00
Gabor Kiss-Vamosi
8ed224fd63 fix warning 2021-01-05 15:51:59 +01:00
Gabor Kiss-Vamosi
998ad66c84 fix(kconfig): fix redefinition of LV_SPRINTF_DISABLE_FLOAT if no Kconfig 2021-01-05 15:46:57 +01:00
Gabor Kiss-Vamosi
83c55c2a64
Update ROADMAP.md 2021-01-04 18:15:37 +01:00
Carlos Diaz
6ed420e043
Kconfig: Handle LV_SPRINTF_DISABLE_FLOAT (#1988)
* Kconfig: Handle LV_SPRINTF_DISABLE_FLOAT

* Update CHANGELOG

* Remove debug code

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-01-04 15:27:38 +01:00
Gabor Kiss-Vamosi
de44f74522 fix(gauge): fix redraw with image needle
fix #1993
2021-01-04 15:12:34 +01:00
Jan Van Winkel
ed5f91ab72
Add support for Zephyr intergartion (#1979)
* Removed src/lv_conf_zephyr.h

Removed src/lv_conf_zephyr.h as it is maintained in the Zephyr build it self.

* CMakeLists.txt: Added support for Zephyr RTOS

Added support to build LVGL as library for Zephyr RTOS

* Added support to use LVGL repo as Zephyr module

Added support to use the LVGL repository as a Zephyr module repository
2021-01-04 14:18:11 +01:00
robekras
e5f58151ac
Update lv_disp.c (#1990)
Check d->scr_to_load for not beeing NULL.

See forum post https://forum.lvgl.io/t/lv-scr-load-anim-does-not-work-properly/4057
2021-01-04 10:47:34 +01:00
embeddedt
26ab373b43
fix(layout): workaround overflow by implementing a recursion threshold (#1986)
* fix(layout): workaround overflow by implementing a recursion threshold

* Update CHANGELOG.md
2021-01-04 09:55:13 +01:00
Gabor Kiss-Vamosi
3dbee9b584 refactor(lv_conf_internal): simplify the uppercase conversation added in aba10b0
Reaeted to #1989
2021-01-04 09:46:01 +01:00
Gabor Kiss-Vamosi
56a48e0173 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-01-04 09:42:59 +01:00
Gabor Kiss-Vamosi
aba10b0170 fix(lv_conf_internal): be sure Kconfig defines are always uppercase
fixes #1989
2021-01-04 09:42:50 +01:00
Themba Dube
f0c52b3511 Add note about base_dir functions requiring LV_USE_BIDI 2020-12-30 11:01:24 -05:00
liebman
6dd1884228
Fix kconfig warnings (#1967)
* quote string defaults for Kconfig values to eliminate warnings

* don't add \ in default for LV_TICK_CUSTOM_SYS_TIME_EXPR
(tho its needed on linux and MacOS) as I can't test on Windows
2020-12-30 16:54:38 +01:00
embeddedt
20d56ee6e9
fix(linemeter): draw first critical needle with correct color (#1978)
* fix(linemeter): draw first critical needle with correct color

* Update CHANGELOG.md
2020-12-27 11:30:59 +01:00