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

6389 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
289f8e4bac fix(table): refresh only the changed cell's height 2021-03-08 23:14:26 +01:00
Gabor Kiss-Vamosi
c01f54d206 fix warning 2021-03-08 20:41:11 +01:00
Gabor Kiss-Vamosi
fdbee4bf54 fix old function name 2021-03-08 20:31:14 +01:00
Gabor Kiss-Vamosi
e65e80c1f8 Merge branch 'dev' of https://github.com/littlevgl/lvgl into dev 2021-03-08 20:13:26 +01:00
Gabor Kiss-Vamosi
4f70bbf182 feat(font): make all fonts const 2021-03-08 20:08:51 +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
Gabor Kiss-Vamosi
cdbbdc36bb Merge branch 'feat/font-cache' into dev 2021-03-08 14:51:15 +01:00
Gabor Kiss-Vamosi
00860900b2 merge master 2021-03-08 14:46:55 +01:00
Xiang Xiao
54cab8a283
Minor fix for hal indev module (#2124)
* fix(hal indev): correct the typo and adjust the alignment

* fix(hal indev): remove the unnecessary forward declaration

* fix(hal indev): relayout the bitfiled to save space

* fix(hal indev): remove the unnecessary memory zero

* fix(hal indev): remove the initial hardcode value for scroll_throw
2021-03-08 14:44:39 +01:00
Gabor Kiss-Vamosi
430c91e40c fix(table): recalcualte the height only the necesasry rows 2021-03-08 10:22:58 +01:00
Themba Dube
438ba35076 feat(disp) add drv_update_cb to detect rotation/other parameter changes 2021-03-07 12:51:42 -05:00
Gabor Kiss-Vamosi
34dfccd829 fix(refr): send LV_EVENT_COVER_CHECK 2021-03-06 13:11:31 +01:00
Xiang Xiao
7aab2b669c
fix(timer): change 'Task' to 'Timer' (#2125) 2021-03-05 14:02:19 -05:00
Gabor Kiss-Vamosi
42ab81cac5 add #ifs 2021-03-04 19:41:55 +01:00
Gabor Kiss-Vamosi
376da66dab feat(layout): automatically update the screen's layout in lv_obj_scroll_to_view 2021-03-03 21:10:49 +01:00
Gabor Kiss-Vamosi
0d38d100c2 feat(layout): add deferred layout recalculation 2021-03-03 20:15:21 +01:00
Gabor Kiss-Vamosi
3ecf550bcd fix(example) add trailing empty string in lv_example_textarea_1 2021-03-03 15:05:37 +01:00
Gabor Kiss-Vamosi
22fcb8009b fix(meter): use the arc styles of the meter during indicator drawing 2021-03-03 14:25:55 +01:00
Gabor Kiss-Vamosi
15ebc12b64 fix(draw): use arc_rounded instead of line_rounded property in lv_obj_init_draw_arc_dsc() 2021-03-03 14:25:55 +01:00
Xiang Xiao
8e55d42290
fix(style): remove allocated field from lv_style_t (#2121)
to simplify the code logic and extend prop_cnt to 256
2021-03-03 13:32:22 +01:00
Xiang Xiao
ffd9c47d3d
fix: remove the tail space after cast expression (#2122)
ensure the style consistency through the code base
2021-03-03 12:02:58 +01:00
Xiang Xiao
58413adbd3
Merge pull request #2117 from xiaoxiang781216/anim
fix(task): change all task related term to timer
2021-03-03 01:00:03 -08:00
Xiang Xiao
649c45de0d
Merge pull request #2120 from xiaoxiang781216/style2
fix(style): align the enum entry in lv_style_prop_t
2021-03-03 00:59:00 -08:00
Gabor Kiss-Vamosi
586542ddce font cache test 2021-03-03 09:22:34 +01:00
Xiang Xiao
1a5606e0f4 fix(style): align the enum entry in lv_style_prop_t 2021-03-03 15:54:57 +08:00
Xiang Xiao
33b5ee3ad2 fix(task): change all task related term to timer
follow up the task module change
2021-03-03 14:32:25 +08:00
Gabor Kiss-Vamosi
d4eb6a2ad3 fix(layout): fix layout update trigger in lv_obj_add/clear_flag() 2021-03-03 02:23:11 +01:00
Gabor Kiss-Vamosi
a8dd20435d fix(indev): fix not clicking hidden objects 2021-03-03 02:20:57 +01:00
Gabor Kiss-Vamosi
bb8cce00d2 fix(chart): add the current series to hook_dsc->sub_part_ptr with line charts too 2021-03-02 23:50:21 +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
Xiang Xiao
978e8915da
fix(style): handle the out of memory gracefully in lv_style_[set|remove]_prop (#2101)
* fix(style): remove the wrong first break statement from lv_style_prop_get_default

and correct the comment and style

* fix(style): handle the out of memory gracefully in lv_style_[set|remove]_prop
2021-03-01 20:18:22 +01:00
Gabor Kiss-Vamosi
122f6c12be fix(disp): lv_disp_drv_update set screen size manually
Using lv_obj_set_size will trigger asserts as normally the size of the screens shouldn't be adjusted
2021-03-01 20:11:09 +01:00
Themba Dube
a42c4191a6 Merge branch 'dev' of github.com:littlevgl/lvgl into dev 2021-03-01 13:58:39 -05:00
Themba Dube
db7a6e4fac fix(disp) disp->screens isn't terminated by a null member, so use screen_cnt instead 2021-03-01 13:58:20 -05:00
Gabor Kiss-Vamosi
834895ebc2 fix(arc): fix ext. draw pad calculation of the knob 2021-03-01 19:51:06 +01:00
Gabor Kiss-Vamosi
1a30e04952 fix(theme): add smaller padding to window header 2021-03-01 19:51:06 +01:00
Gabor Kiss-Vamosi
47b8893f99 fix(mem) fix traeting data as lvgl alloacted even if LV_MEM_CUSTOM 1 2021-03-01 19:31:09 +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
Xiang Xiao
772e403eb0
fix(lv_*.mk): add the miss source code (#2106)
and reorder the entry to help finding the mismatch
2021-03-01 16:00:35 +01:00
Xiang Xiao
3bf5079427
fix(aysnc): don't set the timer's user data again (#2097)
* fix(async): replace all task with timer

* fix(aysnc): don't set the timer's user data again

since lv_timer_create alreqdy do the same thing
2021-03-01 15:59:51 +01:00
Xiang Xiao
4118b1e52a
fs: avoid the unnecessary memory allocation (#2098)
* fix(fs): don't allocate lv_fs_file_t in lv_fs_open

avoid the unnecessary allocation

* fix(fs): apply the similar file open/close change to dir open/close

avoid the unnecessary allocation
2021-03-01 15:59:14 +01:00
Gabor Kiss-Vamosi
293807eb27 fix issue after fixing conflits 2021-03-01 15:56:33 +01:00
Xiang Xiao
2aacbd5ddd
fix(misc): correct the comment and coding style (#2096)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-03-01 15:55:46 +01:00
Xiang Xiao
02efef12db
fix(image decoder): fix the chagne losed after merging dev-v8 (#2103)
commit 06917a6ec3bfdf12b19aede3e6df06e66d681ed7
* 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

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-03-01 15:52:04 +01:00
Gabor Kiss-Vamosi
fd34dbe056 test with LV_MEM_CUSTOM 1 too 2021-03-01 15:44:43 +01:00
Gabor Kiss-Vamosi
367e3a31df fix(mem): with LV_MEM_CUSTOM don't try to realloc &zero_mem, use malloc instead 2021-03-01 15:44:27 +01:00
Gabor Kiss-Vamosi
23a8c0b68a remove accent colors becasue they were inconsistent 2021-03-01 15:15:35 +01:00
Gabor Kiss-Vamosi
f990a5f85e use LV_COLOR_PALETTE_LIGHT_BLUE by deafult 2021-03-01 14:59:38 +01:00
Gabor Kiss-Vamosi
58708ca771 fix(gauge): fix needle invalidation 2021-03-01 14:01:13 +01:00