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
fe20d47b6e fix warnings 2021-02-19 16:16:11 +01:00
embeddedt
406da6856c
Various v8 compilation fixes (#2078)
* fix(style) improve script and fix C/C++ compilation

* fix(api_map) add NO_TASK_READY
2021-02-19 15:58:58 +01:00
Gabor Kiss-Vamosi
5c75c7cc12 fix issues on merging to dev 2021-02-19 15:52:04 +01:00
Gabor Kiss-Vamosi
776165977a merge to dev and slove conflitc 2021-02-19 15:27:44 +01:00
github-actions[bot]
b219998000
Merge 700c1290bae1edfbefdc676f0b2836980e38f089 into dev 2021-02-19 14:02:45 +00:00
Gabor Kiss-Vamosi
5341cb73f5 Merge branch 'dev-v8' of https://github.com/littlevgl/lvgl into dev-v8 2021-02-19 15:02:29 +01:00
Xiang Xiao
700c1290ba
Fix the minor issue in style module (#2071)
* fix(style): correct the comment and alignment

* fix(style): remove the unused macro and inclusion

* fix(style): correct _lv_style_get_xxx with the right pointer type

* fix(style): handle the out of memory gracefully

* fix(style): unify the term usage(class->style)

* fix(style): remove the unnecessary mask in _lv_style_get_xxx

since get_property_index ensure the returned state is a subset of required

* fix(style): centralize the style validation in one place

* fix(style): reuse the new_prop_size in _lv_style_set_xxx

* fix(style): correct the return value of get_style_prop in big endian machine
2021-02-19 15:02:16 +01:00
Gabor Kiss-Vamosi
574a6c0321 fix(meter) fix underflow 2021-02-19 14:48:15 +01:00
Gabor Kiss-Vamosi
fb27f59479 add style examples 2021-02-19 14:47:32 +01:00
github-actions[bot]
b7777b908a
Merge 06917a6ec3bfdf12b19aede3e6df06e66d681ed7 into dev 2021-02-19 12:57:24 +00:00
Xiang Xiao
06917a6ec3
Fix issues found in image decoder (#2083)
* fix(image decoder): replace lv_style.h with lv_color.h

since image decoder doesn't depends on style subsystem
and correct the related comment and some error handling

* fix(image decoder): fix memory leak when no decoder can be used

and handle the out of memory gracefully

* fix(image decoder): zero the output fields after each iteration

to clean the stale info saved by try failed decoder and remove img_data
zero from lv_img_decoder_built_in_open since it has be done in the loop

* fix(image decoder): check .bin suffix in lv_img_decoder_built_in_info

align with what has done in lv_img_decoder_built_in_open

* fix(image decoder): embed lv_fs_file_t directly to save the memory

and handle the abnormal case gracefully(avoid crash or leak)

* fix(image decoder): simplify decode builtin alpha/index bitmap
2021-02-19 13:56:59 +01:00
github-actions[bot]
4452106cce
Merge 2edc95d7cd1c5083aebb6cfd60fcfec5f322c9d1 into dev 2021-02-19 12:51:16 +00:00
Gabor Kiss-Vamosi
2edc95d7cd fix(fix): gauge
fix needle invalidation
2021-02-19 13:50:43 +01:00
Gabor Kiss-Vamosi
c938f44d84 fix(obj tree): fix moving an object to the foreground if the object was the first child 2021-02-19 12:03:13 +01:00
Gabor Kiss-Vamosi
4c56747142 fix(invalidation): do not invalidate an area if it's not on a visible screen 2021-02-19 12:02:07 +01:00
Gabor Kiss-Vamosi
e088388fd5 fix(refr): restart drawer task in true double buffered mode too 2021-02-19 12:00:52 +01:00
Gabor Kiss-Vamosi
b396fd2b9d fix(style): fix the ID of outline properties
They were accidentally overlapping the border properties
2021-02-19 12:00:17 +01:00
Gabor Kiss-Vamosi
4714cc4421 (indev) send release event before click
It's important becasue the release signal handels the LV_OBJ_FLEG_CHECKABLE and the LV_EVENT_CLICKED should alrady know about the checked state
2021-02-18 16:14:18 +01:00
github-actions[bot]
3f36a7593d
Merge 0bdcf362ff885fea6c6f2eb23206f4d1e7c67f50 into dev 2021-02-18 12:42:24 +00:00
Alex Kalmuk
0bdcf362ff
feat(cmake) build a static liblvgl.a library by default (#2079) 2021-02-18 07:41:54 -05:00
github-actions[bot]
4445a77732
Merge faf45419cad90fdfa448168f312d765e3c86f198 into dev 2021-02-17 15:11:12 +00:00
Xiang Xiao
faf45419ca
Try to fix the various issue found in animation module again (#2073)
* fix(anim): relayout lv_anim_t to save 4 bytes

and fix the minor comment issue

* fix(anim): unify the type of time and animation to int32_t or uint32_t

since lv_anim_t use these types internally

* fix(anim): Don't need initialize last_task_run

since lv_anim_start will do this if the list is empty
and remove -1 to improve the accuracy

* fix(anim): remove the return value from anim_ready_handler

since no caller really use the return value

* fix(math): _lv_map check x >= max_in first

_lv_map return max_out when min_in equals max_in,
since the animation module require this behaviour

* fix(anim): normalize the time elapse by lv_map

* fix(anim): avoid iterate the list twice in anim_task
2021-02-17 16:10:36 +01:00
github-actions[bot]
49058df485
Merge 339b3de2dc0f1c88e57f521f840a4b35b3df18fa into dev 2021-02-17 14:52:13 +00:00
embeddedt
339b3de2dc
fix(list) scroll list when button is focused using LV_KEY_NEXT/PREV (#2061) 2021-02-17 09:51:41 -05:00
Gabor Kiss-Vamosi
b9911cb519 fix(theme): fix define name in theme default 2021-02-17 13:45:40 +01:00
Gabor Kiss-Vamosi
bf40fd7572 upadte lv_conf_internal.h 2021-02-17 13:42:54 +01:00
Gabor Kiss-Vamosi
10a26bf082 fix(align): fix align ...IN_MID 2021-02-17 13:42:31 +01:00
Gabor Kiss-Vamosi
f97d1db244 fix(delete): fix screen deletion 2021-02-17 13:41:47 +01:00
Gabor Kiss-Vamosi
c26ff96819 feat(theme): add LV_THEME_DEFAULT_GROW config options 2021-02-17 13:40:50 +01:00
github-actions[bot]
1281406e98
Merge de58ee2784e78bda209bd37ea38eff4711981a3f into dev 2021-02-17 10:40:28 +00:00
Gabor Kiss-Vamosi
de58ee2784 fix(gauge): consider paddigns for needle images 2021-02-17 11:39:52 +01:00
Gabor Kiss-Vamosi
f04dc72c4a fix(examples): update the get started examples 2021-02-16 20:41:11 +01:00
Gabor Kiss-Vamosi
4c1b18527b fix(style): fix style caching 2021-02-16 20:37:45 +01:00
Gabor Kiss-Vamosi
b75a8d43b0 Update dev version 2021-02-16 15:35:44 +01:00
Gabor Kiss-Vamosi
351008edcc Merge branch 'master' into dev 2021-02-16 15:25:31 +01:00
Gabor Kiss-Vamosi
5247094727 Release v7.10.1 v7.10.1 2021-02-16 15:25:31 +01:00
Gabor Kiss-Vamosi
28addaf3ce add some missong LV_USE_... guards 2021-02-16 14:23:18 +01:00
Gabor Kiss-Vamosi
c35b645c31 fix(cpp build): ix the order of __cplusplus tag and #endf in lv_fs.h 2021-02-16 14:22:55 +01:00
Gabor Kiss-Vamosi
0d3a206f00 fix(cpp build): fix the order of __cplusplus tag and #endf in lv_anim.h 2021-02-16 14:07:01 +01:00
Gabor Kiss-Vamosi
71173aa949 add missing comemnts to __cplusplus tags 2021-02-16 10:55:10 +01:00
Gabor Kiss-Vamosi
c449718f99 fix(flex): fix gap calculatin with 'grow' items 2021-02-15 21:16:37 +01:00
Gabor Kiss-Vamosi
1f45d98e46 fix(layout): update the layout when the HIDDEN flag chnages 2021-02-15 21:16:37 +01:00
github-actions[bot]
b8ac56b7e8
Merge 11a2f82027deeef332f557bbacd3942d83ecdf26 into dev 2021-02-15 19:59:38 +00:00
Xiang Xiao
11a2f82027
fix(theme): fix the memory leak when lv_theme_xxx_init is called twice (#2074)
* fix(theme): the minor typo error

* fix(style): make lv_style_reset work with zerod memory

* fix(theme): fix the memory leak when lv_theme_xxx_init is called twice

due to inited variable forget to set to 1

* fix(theme): empty theme should call lv_obj_refresh_style too

and remove lv_obj_clean_style_list since the same thing is
already done in the common code(clear_styles)
2021-02-15 20:59:11 +01:00
github-actions[bot]
af61cc4afd
Merge 626f47f87be881d88be298d2957c75d25404ec9e into dev 2021-02-15 19:48:01 +00:00
Themba Dube
626f47f87b feat(ci) add GCC problem matcher 2021-02-15 14:47:24 -05:00
github-actions[bot]
2e00a075d8
Merge 211a895008e636faa784d4539c1836dd40e98ed5 into dev 2021-02-15 19:45:25 +00:00
Themba Dube
211a895008 ci(tests) add pedantic to compiler options 2021-02-15 14:44:43 -05:00
Gabor Kiss-Vamosi
fcc9f725a5 fix(theme): fix operating without default theme 2021-02-15 19:34:35 +01:00
Gabor Kiss-Vamosi
981f63c3fa fix(makefile): use absoulte path in extra.mk 2021-02-15 19:08:41 +01:00