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

8078 Commits

Author SHA1 Message Date
Mariotaku
a1326dc31a
fix(fragment): memory leak of fragments #3438 (#3442) 2022-07-04 12:48:27 +02:00
_VIFEXTech
d43f10a180
feat(misc): add asynchronous call function cancellation function (#3439)
* feat(misc): add asynchronous call function cancellation function

* Update documentation

* Remove useless comments

* remove continue

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-07-03 12:31:17 +02:00
Gabor Kiss-Vamosi
7ada1301c2 fix(btnmatrix): fix extra draw size calculation to not clip shadow 2022-07-03 11:32:39 +02:00
Gabor Kiss-Vamosi
77d726efb2 fix(draw): clip the bg img to the rectangle's area in lv_draw_sw_rect 2022-07-03 11:32:39 +02:00
Gabriel Wang
922108dbbe
chore: cmsis pack monthly update (#3435)
* update lv_gpu_arm2d to support  LV_IMG_CF_RGB565A8

* feat(porting) minor update

* feat(cmsis-pack): monthly update for June

* Update LVGL.pidx

* fix(draw): solve memory leaking issue

* Update lv_draw_sw_layer.c

* Update LVGL.lvgl.1.0.5.pack

* Update LVGL.lvgl.1.0.5.pack
2022-07-01 20:20:48 +02:00
Gabriel Wang
a2bd96023f
fix(draw): solve memory leaking issue (#3437)
* fix(draw): solve memory leaking issue

* Update lv_draw_sw_layer.c

* Revert "Update lv_draw_sw_layer.c"

This reverts commit 4ca1ab303c1e0297529f7eb662ea4ee7f24b10fa.

* Revert "fix(draw): solve memory leaking issue"

This reverts commit 6f36e1a8c324abf79423b83bea9611f8cd59664d.

* fix(draw): free layer ctx when layer_init returns NULL

* Update lv_draw_layer.c
2022-07-01 14:27:05 +02:00
Gabor Kiss-Vamosi
25ce6e3ae9 fix(scroll): do not fire scroll begin/end event on every scroll step
fixes: #3436
2022-07-01 13:55:44 +02:00
Gabor Kiss-Vamosi
e5c11f1f68 fix(indev): scroll_ throw_vect cannot converge to 0 when vect is negative
fixes: #3431
2022-07-01 10:24:29 +02:00
Gabor Kiss-Vamosi
4572a0c6c9 fix(chart): fix misaligned horizontal tick lines on bar charts
fixes: https://forum.lvgl.io/t/how-to-make-the-major-ticks-center-the-bars-of-the-chart/9244/2
2022-07-01 10:12:14 +02:00
Gabor Kiss-Vamosi
746917dcca
docs(chart): describe how to set the space between columns 2022-07-01 09:11:31 +02:00
Gabor Kiss-Vamosi
c2c44c68ee
docs(README): fix broken link 2022-06-29 14:24:49 +02:00
100ask
6ff164f87d
example(ime_pinyin): improved lv_example_ime_pinyin_1 (#3428) 2022-06-29 09:58:34 +02:00
Gabor Kiss-Vamosi
6acbdaa53d fix(style): fix using width for both width and height in radius transition
fixes: #3427
2022-06-28 17:32:12 +02:00
Gabor Kiss-Vamosi
88bbef14bf
docs(sim): add link to qt-creator 2022-06-28 17:28:49 +02:00
Man, Jianting (Meco)
cb9a297bc5
docs(indev): add comment in input device part (#3422) 2022-06-26 10:32:14 +02:00
Gabor Kiss-Vamosi
549e70099e
chore(readme): fix link 2022-06-25 11:20:33 +02:00
Yobe Zhou
92f1f9c0cc
feat(ime_pinyin): add API to use Pinyin IME(Chinese input) (#3408)
* feat(pinyin_ime): add API to use Pinyin IME(Chinese input)

1.Low resource usage
2.Support custom thesaurus
3.Support custom styles (Candidate panel, keyboard)
4.Support simple spelling

* fix(ime_pinyin): fix several problems of ime_pinyin

1. Change lv_pinyin_ime to lv_ime_pinyin
2. Add lv_pinyin_ime_set_keyboard interface
3. Add lv_ime_pinyin configuration in Kconfig, src/lv_conf_internal.h

* refactor(ime_pinyin): improve coding specification

* feat(ime_pinyin): add simple Pinyin IME example

* docs(ime_pinyin): Add ime_pinyin documentation

* Delete settings.json

* Update dictionary based on simsun

* Delete lv_font_source_han_sans_normal_16.c

* Update lv_example_ime_pinyin_1.c

* Update ime_pinyin.md

add Chinese translation document

* Update lv_ime_pinyin.c

* Update lv_ime_pinyin.c

* Update lv_ime_pinyin.h

* Update lv_ime_pinyin.c

* Update lv_example_ime_pinyin_1.c

* Update lv_conf_internal.h

* Update lv_ime_pinyin.c

* Update lv_ime_pinyin.c

Co-authored-by: 100askTeam <team100ask@outlook.com>
2022-06-24 14:38:24 +02:00
Eugene Yaremenko
4056a15ecc
fix(gridnav) correct logic in find_last_focusable (#3423) 2022-06-23 10:14:33 -04:00
Gabor Kiss-Vamosi
6b2eac1dd7 example(btnmatrix): update lv_example_btnmatrix_2 to expicitly check which part is drawn
related to https://forum.lvgl.io/t/style-messagebox-buttons-causes-outline-around-all-buttons-in-the-button-matrix/9170
2022-06-23 13:26:31 +02:00
Gabor Kiss-Vamosi
3b95fa8397 chore: fix Kconfig 2022-06-23 13:02:26 +02:00
Gabor Kiss-Vamosi
d4b7283de8 chore: fix code formatting 2022-06-23 11:54:11 +02:00
Gabor Kiss-Vamosi
afaa8c9300 demo(benchmark): add LV_DEMO_BENCHMARK_RGB565A8 option
fixes #3379
2022-06-23 11:51:20 +02:00
KyleParker-Gongyuan
8d8aaed0e3
fix(examples) correct comment in slider example (#3419)
The label is above the slider in this example, not below it.
2022-06-21 08:50:55 -04:00
Gabor Kiss-Vamosi
e651383688 fix(dropdown): fix scrolling when options are CENTER aligned
fixes: https://forum.lvgl.io/t/add-users-style-to-dropdown-list/9144
2022-06-20 08:14:45 +02:00
Gabor Kiss-Vamosi
91ebf810aa
docs(get-started): add quick-overview to the index 2022-06-19 15:05:37 +02:00
Gabor Kiss-Vamosi
0255c6dd39 fix(meter): improve the precision of tick line drawing
fixes #3361
2022-06-19 11:21:27 +02:00
Gabor Kiss-Vamosi
cbff8e83e5 fix(draw): fix transformations on subdivided areas 2022-06-15 23:33:20 +02:00
Mariotaku
f575935180
fix(sdl): add transformation support for the SDL backend (#3403)
* sdl transform wip

* sdl transform wip

* working transform (scale, rotate)

* fixed transform with masks

* fixing includes

* removed lv_obj_t references in draw backend

* update the API to work with SW layers too

* update lv_conf_internal.h

* makefile fixes

* updated sdl transform implementation

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-06-15 10:36:47 +02:00
Gabriel Wang
ca9aff6119
cmsis pack monthy update for June (#3413)
* fix(benchmark): remove duplicated output in report log

* doc(benchmark): update the method for performance analysis

* feat(cmsis-pack): v1.0.5-alpha1

* fix(template): use consistent resolution information

* Update LVGL.lvgl.1.0.5-alpha1.pack
2022-06-14 13:03:50 +02:00
张杨
22627c47ce
fix(bmp): fix with LV_COLOR_16_SWAP (#3412)
* Update lv_bmp.c

fix bug. When the bmp is 16 bit depth, the picture is not displayed properly due to no swap bytes

* Update lv_bmp.c

* Update lv_bmp.c

* format

* using unsigned int
2022-06-14 12:23:04 +02:00
Man, Jianting (Meco)
1e40fa88a4
doc(rt-thread): add section:import a bsp project into rt-thread studio (#3411) 2022-06-14 10:31:30 +02:00
pete-pjb
60ebd25d3d chore(tabview) fix format - (run python script this time!) 2022-06-13 13:07:49 +01:00
pete-pjb
3e56e96922 chore(tabview) fix format. 2022-06-13 13:04:44 +01:00
pete-pjb
11b708ed95 chore(tabview) correct format. 2022-06-13 13:00:23 +01:00
pete-pjb
2c9695afb4 feat(tabview) add API to rename tab.
https://github.com/lvgl/lvgl/issues/3407#issue-1265916615
2022-06-13 12:56:37 +01:00
embeddedt
9a48de0f8b
feat(style) add 'inherit' and 'initial' CSS properties (#3390)
Fixes #3086
2022-06-09 20:20:34 -04:00
Lazar Chervenkov
03c43d95ad
example(imgfont): fix lvgl.h include path (#3405)
When LV_LVGL_H_INCLUDE_SIMPLE is not defined, the path to the lvgl.h gives a compilation error. I fixed the path
2022-06-08 11:08:54 +02:00
Mariotaku
018a8cfdac
fix(sdl): fix LRU, reported in #3402 (#3404)
* fix for #3402

* fixed unsupported type
2022-06-08 11:01:19 +02:00
ivooesch
533e325f21
fix(draw) avoid use-after-free when drawing arcs (#3399)
* Update lv_draw_sw_arc.c

Fixed probelöm with freeing uninitialized, probably not in the most efficient way, as I do not really know the internalk workings of this lib

* Update lv_draw_sw_arc.c
2022-06-07 12:52:10 +02:00
pete-pjb
ff6316c749 revert (msgbox) revert incorrect button padding fix. 2022-06-06 11:10:19 +01:00
Gabriel Wang
c9fa4ef0fc
feat(porting): add flushing control to the template (#3384)
* feat(porting): add flushing control to the template

* Update examples/porting/lv_port_disp_template.c

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>

* Update examples/porting/lv_port_disp_template.c

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>

* Update examples/porting/lv_port_disp_template.c

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>

* Update lv_port_disp_template.h

* use consistent comment

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-06-03 15:08:08 +02:00
qinshijing
e59c83b453
feat(anim): add deleted callback (#3279) (#3295)
Co-authored-by: qinshijing <qinshijing@xiaomi.com>
2022-06-03 11:01:07 +02:00
Gabriel Wang
ce0605182c
feat(cmsis-pack): monthly update for May (#3394) 2022-06-03 10:40:33 +02:00
martaaay
d5ccf379da
docs(slider) mention that VALUE_CHANGED is not sent on release (#3397) 2022-06-02 19:50:17 -04:00
Gabor Kiss-Vamosi
9ac8ce69f6 fix(draw): handle non BLEND_MODE_NORMAL for ARGB drawing 2022-06-02 10:16:42 +02:00
Johannes Marbach
eef838f51f
feat(textarea): make it possible to customize the bullet character (#3388)
* feat(textarea): Make it possible to customise the bullet character

This adds functions to allow overriding the default bullet character
with a custom one (or even no character at all).

* Update docs/widgets/core/textarea.md

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-05-30 12:05:22 +02:00
kctan0805
6ad52a7119
fix(subpx): fix subpixel rendering font is not displaying bug (#3387) 2022-05-28 21:39:28 +02:00
Amir Gonnen
6a8dd1a3b6
fix(style): reset style lookup table after gc sweep/lv_deinit (#3385) 2022-05-28 21:21:01 +02:00
Gabor Kiss-Vamosi
6be43b83b3 fix(gpu): fix warning with NXP GPU
fixes https://github.com/lvgl/lvgl/pull/3322#issuecomment-1139282874
2022-05-27 21:07:16 +02:00
PeterB
d4c9ab5037 chore(msg_box) correct formatting. 2022-05-27 11:17:17 +01:00