Commit Graph

5930 Commits

Author SHA1 Message Date
embeddedt
acf42d3999 fix(indev) provide raw old points to read_cb, not rotated points (#2180) 2021-04-02 12:51:49 +02:00
Gabor Kiss-Vamosi
82b9779067 Merge branch 'release/v7' of https://github.com/littlevgl/lvgl into release/v7 2021-04-01 12:22:08 +02:00
Gabor Kiss-Vamosi
c08b0cdc79 fix(draw_rect) drawing right border
fixes #2159
2021-04-01 12:21:39 +02:00
embeddedt
08b3fe1f11 fix(btnmatrix): initialize align parameter (#2176) 2021-03-31 08:06:00 -04:00
Amir Gonnen
1748798aca feat(cmake) Allow building LVGL without kconfig (#2165)
Also add ../ to the search path, such that lv_conf.h could be found on parent directory

Related discussion: https://github.com/lvgl/lvgl/pull/1875#issuecomment-803179499
2021-03-24 18:54:03 -04:00
Gabor Kiss-Vamosi
e1ac174e16 Merge branch 'master' into release/v7 2021-03-16 16:33:07 +01:00
Gabor Kiss-Vamosi
ec9de515b3 Release v7.11.0 v7.11.0 2021-03-16 16:31:32 +01:00
Gabor Kiss-Vamosi
fa2c817681 Update lv_port_disp_template.c 2021-03-12 14:12:12 +01:00
Gabor Kiss-Vamosi
9a447883c1 fix(draw) consider style opa for outline too 2021-03-09 11:43:04 +01:00
Gabor Kiss-Vamosi
c908cc98b6 add lv_anim_del_all() 2021-03-09 10:31:17 +01:00
Petteri Aimonen
607e02e52a Cleanup LV_SIGNAL_GET_TYPE implementations (#2127)
Remove dead code in lv_label and lv_spinbox, there is already lv_obj_handle_get_type_signal() call higher up.
Change lv_led to use lv_obj_handle_get_type_signal() like other widgets do.
2021-03-08 15:01:59 +01: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
3856548377 Merge branch 'master' into release/v7 2021-02-16 15:34:28 +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 11a2f82027 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 626f47f87b 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 211a895008 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 85c75c2f34 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 87a8be3624 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 6b3452dc7b 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 0f48c62b17 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