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

7864 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
46bd054ad4 chore: code formatting 2022-03-20 22:37:12 +01:00
Gabor Kiss-Vamosi
d9ae58b697 fix(style): fix heap use after free with transition styles 2022-03-20 22:37:01 +01:00
Gabor Kiss-Vamosi
48728a7839 fix(layout): fix the handling of FLOATING children 2022-03-20 21:45:09 +01:00
Gabor Kiss-Vamosi
5546b9d740 fix(style): make color filter inherited 2022-03-20 21:45:09 +01:00
Gabor Kiss-Vamosi
0e3bd11751 chore: fix comment typo 2022-03-20 21:45:09 +01:00
Xiang Xiao
6ba51f7f3f
chore(docs): update the link of demos to the new location (#3182)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-20 08:20:57 -04:00
Gabor Kiss-Vamosi
559986d5b7 chore: run code format 2022-03-18 16:03:48 +01:00
Gabor Kiss-Vamosi
242112b2df fix(theme): properly disable transitions if LV_THEME_DEFAULT_TRANSITION_TIME==0
fixes #3157
2022-03-18 15:46:07 +01:00
Gabor Kiss-Vamosi
306fa19682 fix(table): invalidate only the changed cell
fixes: https://forum.lvgl.io/t/refresh-cells-that-changed/8454
2022-03-18 15:16:06 +01:00
Gabor Kiss-Vamosi
7c74f6556a fix(scroll): fix scroll to view to the left
fixes #3158
2022-03-18 15:15:51 +01:00
Man, Jianting (Meco)
ca17c204d0
doc(rt-thread): add more BSP supports (#3178)
* doc(rt-thread): add more BSP supports

* improve sconscript
2022-03-18 14:09:01 +01:00
Mariotaku
c76a3d206e
added missing implementation for lv_fragment_get_manager (#3169) 2022-03-17 16:26:16 +01:00
guoweilkd
061b6b5441
fix(Kconfig): move LV_USE_IMGFONT to others menu (#3176) 2022-03-17 16:00:47 +01:00
embeddedt
3016266686
chore(docs) fix logical inconsistency in wording 2022-03-17 10:54:26 -04:00
rqbh
ededba94b4
Update lv_draw_sdl.c (#3167)
Fix sdl gpu draw back
2022-03-17 15:22:10 +01:00
Gabor Kiss-Vamosi
f584a30af3 chore(docs): fix links 2022-03-17 13:47:54 +01:00
Gabor Kiss-Vamosi
8a81532191 docs: rearrange the get-started section
Add folder for Platforms, RTOS, and Bindings
2022-03-17 13:19:53 +01:00
Gabor Kiss-Vamosi
4341660b93
chore(docs): mark v7 as eol 2022-03-17 11:17:35 +01:00
guoweilkd
7713327d61
feat(font): add imgfont - can be used to add emojis to label/span (#3160)
* feature(font): draw img in label/span

* add to tests

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-03-17 10:18:14 +01:00
Gabor Kiss-Vamosi
7153e3f8b7 fix(arc): fix arc image drawing issue 2022-03-17 10:11:39 +01:00
Gabriel Wang
16a1af3873
fix(draw): src_buf_tmp will be NULL when LV_DRAW_COMPLEX is '0' (#3163) 2022-03-16 16:15:20 +01:00
Gabor Kiss-Vamosi
28bd55c5d3
fix(span): align the baselines (#3164) 2022-03-16 10:43:39 +01:00
Gabriel Wang
a0153182b8
feat(gpu): add gpu arm2d (#3162)
* feat(gpu): add support for arm-2d

* fix(hal): fix typos

* feat(cmsis-pack): v1.0.2-alpha2 for monthly update

* update format for lv_gpu_arm2d.c

* Update LVGL.lvgl.1.0.2-alpha1.pack
2022-03-16 10:26:12 +01:00
ckielstra
f79e2838cb
chore(doc): spelling (#3172)
* Spelling: 'an unicode' -> 'a unicode'

* fix(changelog) spelling

* Remove double spaces

* Spelling
2022-03-16 10:19:19 +01:00
patricklaf
d56ce08782
feat(dma2d): add lv_draw_stm32_dma2d_buffer_copy function (#3147)
* Add lv_draw_stm32_dma2d_buffer_copy function

* Code format

* More code format
2022-03-12 19:28:38 +01:00
Gabor Kiss-Vamosi
bae823cf54 chore: code formatting 2022-03-12 19:19:43 +01:00
Gabor Kiss-Vamosi
54f99870b3 fix(fs): mark the read cache as invalid by default
fixes #3148
2022-03-12 19:07:04 +01:00
Gabor Kiss-Vamosi
62d6f3c533 fix(theme): make the basic theme even more simpler 2022-03-12 18:50:19 +01:00
HX2003
44f6f75238
chore(gridnav): fix broken links for gridnav (#3159) 2022-03-11 10:57:06 +01:00
Viatorus
45b0f86ae5
feat(disp): add screen out animations (#3081)
* add screen out animations

* make FADE_ON an alias of FADE_IN for backward compatiblitiy

* revert any changes to lv_indev.c

* format code

* update docs

* disable input if screen animation is active
2022-03-10 16:54:42 +01:00
Gabor Kiss-Vamosi
5ec6694f78 fix(theme): fix mono theme init 2022-03-10 15:12:17 +01:00
HX2003
bc94b4de52
feat(menu): make menu widget more compatible with encoder (#3061) 2022-03-10 14:03:38 +01:00
Carlos Diaz
688421bc10
chore(tests_indev): Add comments to encoder helper (#3155) 2022-03-10 10:53:56 +01:00
Gabor Kiss-Vamosi
a6c4c13490
fix(menu): fix crash on delete (#3154)
* fix(menu): fix crash on delete

fixes #3123

* handle NULL

* code formatting
2022-03-09 00:05:53 +01:00
Gabriel Wang
08a3cc0eb6
chore(doc): fix typos in task-handler.md (#3153) 2022-03-08 20:29:40 +01:00
embeddedt
fcc1152f9c
ci don't run workflows twice on PRs 2022-03-07 10:04:59 -05:00
embeddedt
8ac93ad883
refactor(style) move flag information into a dedicated table (#3102) 2022-03-07 10:01:25 -05:00
embeddedt
d345f76d02
ci remove formatting comment
This only works when the author is an @lvgl member.
2022-03-05 17:11:39 -05:00
embeddedt
cbc38afb3a
fix(bmp) fix typo in BPP condition
Thanks @egonbeermat
2022-03-05 13:28:45 -05:00
Xiang Xiao
ff0bf6386d
chore(lvgl.[h|mk]): don't include the grandchildren file (#3145)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-04 21:00:13 +01:00
Jackson Ming Hu
04aca9dae3
fix(Kconfig): add missing LV_USE_THEME_MONO (#3146) 2022-03-04 20:55:05 +01:00
Xiang Xiao
4078a571dc
fix(demo/stress): remove the unused assets (#3139)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-01 19:38:32 +01:00
LY3T
5a3ca098f7
fix(jpg): swap high and low bytes when macro LV_COLOR_16_SWAP is 1 (#3138) 2022-03-01 18:57:48 +01:00
Gabriel Wang
c0575c57af
chore(env-support): cmsis-pack monthly update (#3137)
* Update README.md

* feat(env_support): cmsis-pack monthly update
2022-03-01 18:49:05 +01:00
Gabor Kiss-Vamosi
18f2d78728 fix(roller): fix unexpected jump in infinite mode
fixes #3132
2022-03-01 18:40:39 +01:00
Carlos Diaz
0a5c5465d2
chore(docs): fix trailing whitespaces in files (#3133) 2022-03-01 13:52:45 +01:00
Carlos Diaz
406386dc3f
test(line): add unit tests for line widget (#3104)
* test(line): Test y invert field

* test(line): Validate documented default values

* test(line): Assert line is not clickable after construction

* test(line): Test line size calculation

* chore(line): Refactor LV_EVENT_GET_SELF_SIZE handling

Return early when no point_array is set or point_num is 0

* chore(line): Cleanup LV_EVENT_DRAW_MAIN handling

Reduce scope of point variables

* test(line): Clean screen on tearDown

* test(line): Add initial test for extra draw size calculation

* test(line): Fix extra draw size test
2022-02-25 19:58:43 +01:00
Andres O. Vela
340d45cfa9
feat(label): added animation style property to apply it to circular scrolling animation of label widget (#3128)
* feat(label): added animation style property to apply it to circular scrolling animation of label widget

Added an animation style property to be used as animation template for different use cases in different widgets.
This commit implements using this property to set the start and repeat delay of the circular scrolling animation of the label widget.

Closes #3097

* fix(label): changed animation style property's var_type to `const lv_anim_t *`

* example(label): added example showing how to customize circular scrolling animation

* chore(label): ran code-format.py and added missing function prototype to lv_example_widgets.h
2022-02-25 11:54:27 +01:00
Carlos Diaz
e25fa427d1
test(table): replicate issue when reducing table cells (#3121)
* test(table): Replicate issue when reducing table cells

See #3120 for report

* test(table): Cell reduction test without use after free

Set the row count to 1 to be able to have a passing test, now we can track
down the real bug, which is triggered when having more than 1 row in the table.

* test(table): Add failing test for cell reduction

This test currently triggers the use after free bug

* chore(table): No-op when new and current row and columns counts are equal

* chore(table): Clean up lv_table_set_col_cnt

* chore(table): Add comments to get_row_height

* chore(table): Minor format cleanup and comment of cell_data layout

* fix ASAN arror

* minor fixes

* chore(table): Restore comments to get_row_height

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-02-24 19:14:33 +01:00
Carlos Diaz
a83cae012d
feat(script): add pre-commit configuration for code formatting (#3092)
* Add initial pre-commit configuration for code formatting

* chore: Move --recursive switch from cfg file to script

* pre-commit: Update format-source hook to use code-format.cfg

Also remove the code-format-per-file.cfg file as it's now unused

* docs: Add section about pre-commit
2022-02-24 18:44:39 +01:00