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

5910 Commits

Author SHA1 Message Date
Themba Dube
438ba35076 feat(disp) add drv_update_cb to detect rotation/other parameter changes 2021-03-07 12:51:42 -05:00
Kamranaghl
a4c33bb16e
feat(label) decide text animation's direction based on base_dir (#2112) 2021-03-02 12:51:37 -05:00
Gabor Kiss-Vamosi
b8b66c6929
Update lv_label.h 2021-03-02 12:23:31 +01:00
Gabor Kiss-Vamosi
2618326f24 fix(txt): fix global buffer overflow in lv_txt_utf8_get_byte_id
fixes #2089
2021-03-01 16:07:59 +01:00
Gabor Kiss-Vamosi
58708ca771 fix(gauge): fix needle invalidation 2021-03-01 14:01:13 +01:00
Carlos Diaz
b55ee6aaf3
fix(esp32) adjust COMPONENT_SRCDIRS and COMPONENT_ADD_INCLUDEDIRS in component.mk (#2108) 2021-02-26 21:03:32 -05:00
Gabor Kiss-Vamosi
add5ce9ddb fix typo 2021-02-26 09:49:14 +01:00
Gabor Kiss-Vamosi
c4dc6ff940 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-02-26 09:47:49 +01:00
Gabor Kiss-Vamosi
9f1fbadf9d fix(bar, slider): fix with negative padding on bar and slider background
It allows making the indicator larger
2021-02-26 09:47:35 +01:00
embeddedt
b47a982510
fix(bar) correct symmetric handling for vertical bars (#2085) 2021-02-24 07:52:04 -05:00
Gabor Kiss-Vamosi
af98c9a9c0 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-02-23 11:18:20 +01:00
Gabor Kiss-Vamosi
8cfba6ae39 fix(shadow): fix overlapping shadow parts on small objects 2021-02-23 11:18:11 +01:00
Xiang Xiao
dcf0339747
Fix issues found in image cache (#2081)
* fix(image cache): don't need zero dec_dsc field individually

since the next _lv_memset_00 cover this field too and

* fix(image cache): shouldn't call lv_img_decoder_close when lv_img_decoder_open fail

* fix(image cache): fix the cache match algo

1.check cache entry is LV_IMG_SRC_FILE before invoke strcmp
2.ensure lv_img_cache_invalidate_src use the same algo
2021-02-22 12:18:37 +01:00
Gabor Kiss-Vamosi
3ddf26923f fix warning 2021-02-22 09:54:38 +01:00
Gabor Kiss-Vamosi
b252998b62 fix(anim) handle edge cases in lv_anim_path_bounce 2021-02-22 09:48:23 +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
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
Gabor Kiss-Vamosi
2edc95d7cd fix(fix): gauge
fix needle invalidation
2021-02-19 13:50:43 +01:00
Alex Kalmuk
0bdcf362ff
feat(cmake) build a static liblvgl.a library by default (#2079) 2021-02-18 07:41:54 -05: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
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
de58ee2784 fix(gauge): consider paddigns for needle images 2021-02-17 11:39:52 +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
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
github-actions[bot]
bad50d05e1
Merge 85c75c2f34ddde5ad0301b770255f41c8ed4c72a into dev 2021-02-15 14:40:19 +00:00
Xiang Xiao
85c75c2f34
fix(color): simplify the current color depth macro definition (#2076)
the change also simplify the addition of new color format
2021-02-15 09:39:49 -05:00
github-actions[bot]
5e25a432b8
Merge 87a8be362431a89a2fdd4c74defe454523656f9f into dev 2021-02-15 08:39:53 +00:00
Xiang Xiao
87a8be3624
fix(style): merge scaler and noscalar variant into one (#2072)
since there is no real difference between these two version
2021-02-15 09:39:22 +01:00
github-actions[bot]
e0cf4c3845
Merge 6b3452dc7beba00486ed510bd93e119c2ccf88e2 into dev 2021-02-15 08:28:04 +00:00
Xiang Xiao
6b3452dc7b
fix(release/com.py): fail to update Kconfig version (#2075) 2021-02-15 09:27:30 +01:00
github-actions[bot]
68688fba26
Merge 0f48c62b17d3f4c9c968f7ac2e2779cd6bb4b795 into dev 2021-02-12 21:34:26 +00:00
Themba Dube
0f48c62b17 fix(calendar) force no wrapping on day numbers and names
Fixes #1850
2021-02-12 16:33:32 -05:00
embeddedt
4b151cc885
feat(rotation) add full 90-degree rotation support, incl. software rotation (#2055) 2021-02-12 09:57:58 -05:00
github-actions[bot]
11afa125b4
Merge 681cf0dc57f2008a408606e38d08be29cbafa024 into dev 2021-02-12 14:16:42 +00:00
embeddedt
681cf0dc57
fix(draw) overlap outline with background to prevent aliasing artifacts (#2067)
* fix(draw) overlap outline with background to prevent aliasing artifacts

* fix(draw) only overlap outline if padding == 0
2021-02-12 15:16:10 +01:00
github-actions[bot]
830d341b50
Merge 1566e6fab1b3c3eb88d9789d9b76a074f73699e4 into dev 2021-02-12 10:02:50 +00:00
Gabor Kiss-Vamosi
1566e6fab1
Update Makefile 2021-02-12 11:02:20 +01:00
github-actions[bot]
c94ce67015
Merge 3cec3964ddd04dd6a3bd1d812ead1b86e6f1d474 into dev 2021-02-12 10:00:40 +00:00
Gabor Kiss-Vamosi
3cec3964dd Revert "Fix the various issue found in animation module (#2063)"
This reverts commit a62ecda7607c73093411f4d498857252c7c3b304.
2021-02-12 10:59:53 +01:00
github-actions[bot]
0350f29cab
Merge c4b46706c3e977e918224009623e6d1caf118151 into dev 2021-02-12 01:01:52 +00:00
Xiang Xiao
c4b46706c3
fix(fs): correct the document for lv_fs_get_last (#2068) 2021-02-11 20:01:26 -05:00
github-actions[bot]
8ccc17f9cc
Merge 4cb3f01b9d61a1d49f135d12d80ba7fd86459ff3 into dev 2021-02-11 22:08:28 +00:00
Xiang Xiao
4cb3f01b9d
fix(font): add the new font to lv_font.mk (#2069)
and order the item to find the difference from file system quickly
2021-02-11 17:07:59 -05:00
github-actions[bot]
06520e38af
Merge 84600a78db83bd02b781e8cc2d5c108720f98cd6 into dev 2021-02-11 17:53:27 +00:00