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

6157 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
f6fe3dcc8c
Update ROADMAP.md 2021-01-19 15:57:27 +01:00
github-actions[bot]
9ec84e2662
Merge 011f105038212fff7b4aeec9a81ea0a0da7ded0b into dev 2021-01-19 14:10:00 +00:00
Gabor Kiss-Vamosi
011f105038 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-01-19 14:54:10 +01:00
Gabor Kiss-Vamosi
aaf4ee95f1 fix(release script) add missed merging of lv_examples to release branch 2021-01-19 14:53:54 +01:00
Gabor Kiss-Vamosi
9c1d81db90 Update dev version 2021-01-19 14:50:06 +01:00
Gabor Kiss-Vamosi
7740085a08 Merge branch 'master' into dev 2021-01-19 14:36:38 +01:00
Gabor Kiss-Vamosi
0aefab358b Release v7.9.1 v7.9.1 2021-01-19 14:36:38 +01:00
Gabor Kiss-Vamosi
b639ddc3bc
Update CHANGELOG.md 2021-01-19 14:32:22 +01:00
Gabor Kiss-Vamosi
c03ffd7c3c
Update CHANGELOG.md 2021-01-19 14:31:47 +01:00
github-actions[bot]
32b2381168
Merge 60be7c1ceecf26bcc7413e80ddb2f154a5f6b5e5 into dev 2021-01-19 09:09:03 +00:00
Xiang Xiao
60be7c1cee
Fix minor issues found in task module (#2029)
* fix(task): Remove the unnecessary cast and init

and correct the comment too

* fix(task): Implement lv_task_create directly

to avoid lv_task_set_prio which is a time consuming operation.

* fix(task): Exclude the return value computing from the idle time

and change handler_start and time_till_next to local variables

* fix(task): Remove zero task_deleted and task_created in lv_task_exec

since the loop in lv_task_handler already do the same thing
2021-01-19 10:08:30 +01:00
Gabor Kiss-Vamosi
c64810dac4 add custom draw function to styles 2021-01-18 15:48:46 +01:00
github-actions[bot]
3dbaa25911
Merge a637f415d77053782cc18c12e9c6d0fb0240ac1f into dev 2021-01-18 08:14:19 +00:00
Xiang Xiao
a637f415d7
Fix minor issue found in color module (#2024)
* fix(color): Return the opposite value in lv_color_premult when LV_COLOR_DEPTH equals 1

and correct the comment too

* fix(color): Correct the comment and alignment issue

* fix(color): Remove LV_COLOR_[SET|GET]_G16_SWAP

to simplify LV_COLOR_16_SWAP process

* fix(color): Correct the cast usage

* fix(color): Remove LV_MATH_ABS in lv_color_rgb_to_hsv

since delta can never become a negative number

* fix(color): Align LV_COLOR_[SET|GET]_A1 with other similar macro
2021-01-18 09:13:42 +01:00
github-actions[bot]
680d537607
Merge c9b97feea87b820a68de0b78c6adb61a1527e042 into dev 2021-01-17 14:04:07 +00:00
Xiang Xiao
c9b97feea8
fix(formatting): various improvements (#2028)
* fix(formatting): Remove the duplicated space

* fix(formatting): Remove the duplicated 'the'

* fix(spell): run codespell -w for the code base
2021-01-17 09:03:31 -05:00
github-actions[bot]
bb2d633e33
Merge 873551bb5e84c259404f3897be6d5ca2584d9e1c into dev 2021-01-15 19:31:51 +00:00
Xiang Xiao
873551bb5e
fix(area): minor improvements (#2023)
* fix(area): Correct r_sqrd and dist(int32_t to uint32_t)

since these two variables never become negative

* fix(area): Return early in _lv_area_is_in if pointer outside area

The origin code always does the full check if radius != 0, but it
is unnecessary when is_in equals true.
2021-01-15 14:31:16 -05:00
Gabor Kiss-Vamosi
4c93793fe5 Merge branch 'master' of https://github.com/littlevgl/lvgl into dev 2021-01-12 19:27:21 +01:00
github-actions[bot]
31622a811d
Merge bc25998c5b2acc347eade7d3dac29675d81476b8 into dev 2021-01-12 18:26:55 +00:00
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
Gabor Kiss-Vamosi
09ffbb80e7 rwork and update widgets 2021-01-12 19:22:38 +01:00
github-actions[bot]
febe314b3b
Merge 9ca4ffd64db6fb00bc71bada2db232e6337c9b69 into dev 2021-01-12 16:02:18 +00: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
github-actions[bot]
8e93df38a1
Merge d6ca15a74923f2e86ce1e4ee6ee83bb2bbc887b8 into dev 2021-01-12 15:14:18 +00: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
github-actions[bot]
49124b4ef0
Merge 486053012dd970211315efbe9e7f56d77935725c into dev 2021-01-12 11:16:38 +00: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
github-actions[bot]
47ad247988
Merge c083d19b52a3f6b9460cb919b15e4e6ad37de1f5 into dev 2021-01-12 11:07:33 +00: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
github-actions[bot]
f170e1d2ec
Merge 138fcfec7955c1f37a5bf2372a25bc08cbcb0dc5 into dev 2021-01-12 11:00:50 +00: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
github-actions[bot]
595bb0b062
Merge c20d5d81f28b78b450610c223402681e7a435183 into dev 2021-01-11 13:38:56 +00: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
Gabor Kiss-Vamosi
0f0c2790fb merge master 2021-01-11 14:35:26 +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
github-actions[bot]
18444e5ce3
Merge 52ba06a2284b058d6b418bede3115790d10fcf5a into dev 2021-01-11 12:11:25 +00:00
udoudou
52ba06a228
Update CHANGELOG.md (#2011)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-01-11 13:10:54 +01:00
github-actions[bot]
6e862b0f83
Merge 923f989b391417e77f14aeb35311fe4a25749e8d into dev 2021-01-11 12:10:32 +00: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
github-actions[bot]
b66600d0c8
Merge a2e9f03edae44e26f2f02a12d29ea5b63af9dc62 into dev 2021-01-11 09:26:54 +00: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
github-actions[bot]
57df8f4175
Merge 4cff14f82394667b270c7225750176c008b882a6 into dev 2021-01-11 09:23:20 +00:00
Gabor Kiss-Vamosi
4cff14f823 fix(gou_nxp_pxp): fix incorrent define name 2021-01-11 10:22:23 +01:00
github-actions[bot]
1a04b54f2b
Merge 0d52a60200ef17693fe96d8303085e813c51462a into dev 2021-01-09 20:25:57 +00:00
github-actions[bot]
6ae11b7a46
Merge c988b686053d2284a0368ab1d7c6e6906086e25d into dev 2021-01-09 20:25:39 +00: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
04aa8de0f3 change data inheritance model (drop ext) 2021-01-08 21:30:14 +01:00
github-actions[bot]
4249b9edc5
Merge 7d3a6c8de4303f69582a3939d36405a06b376ed0 into dev 2021-01-08 13:36:42 +00:00