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

7173 Commits

Author SHA1 Message Date
Gabor Kiss-Vamosi
8a50edd068 fix(dropdown) handle LV_KEY_ENTER
fixes https://forum.lvgl.io/t/how-to-send-key-events-to-a-dropdown/6393
2021-08-11 10:49:05 +02:00
Themba Dube
e5fafc4122 docs(flex) fix typo in flex grow section 2021-08-10 11:54:49 -04:00
Gabor Kiss-Vamosi
adbac5220b fix(calendar) fix incorrect highlight of today
fixes #2446
2021-08-10 16:09:20 +02:00
Gabor Kiss-Vamosi
0f14f49465 fix(arc, merter) fix invaidation in special cases
fixes #2443
2021-08-09 15:37:58 +02:00
Gabor Kiss-Vamosi
6118d63c2f fix(chart) fix typo in 655f42b8 2021-08-09 15:30:31 +02:00
Gabor Kiss-Vamosi
655f42b852 fix(chart) don't draw series lines with < 1 points
Releated to https://forum.lvgl.io/t/maybe-it-has-bug-in-draw-chart-line-data/6394
2021-08-09 13:31:53 +02:00
Gabor Kiss-Vamosi
a1b362c986 fix(canvas) invalidate the image on delete
fixes #2398
2021-08-09 11:23:48 +02:00
Gabor Kiss-Vamosi
3c86d777c1 chore(format) lv_conf_template.h minor formatting
related to #2441
2021-08-09 11:16:16 +02:00
embeddedt
f0e8549fe1
fix(docs) commit to meta repo as lvgl-bot instead of actual commit author 2021-08-07 16:21:32 -04:00
Themba Dube
2122583ec2 style fix usage of clang-format directives
We do not use clang-format anymore, so the directive has been removed from most headers.

lv_conf_template.h is untouched as a convenience for downstream projects which still use the tool.

Fixes #2441
2021-08-07 16:06:40 -04:00
Gabor Kiss-Vamosi
50ea6fb3fe fix(msgbox) return the correct pointer from lv_msgbox_get_text
fixes #2436
2021-08-06 19:20:44 +02:00
Gabor Kiss-Vamosi
a958c29af7 remove temorary test file 2021-08-05 17:55:55 +02:00
Gabor Kiss-Vamosi
89081c2d6e fix(eaxmple) fix lv_example_chart_2 2021-08-05 17:54:31 +02:00
Gabor Kiss-Vamosi
a8427915c7 perf(draw) ignore masks if they don't affect the current draw area 2021-08-05 17:39:59 +02:00
Gabor Kiss-Vamosi
4f9a037b93 fix warning and remove test code from an example 2021-08-03 16:37:25 +02:00
Themba Dube
202d977eb2 Merge branch 'master' of github.com:littlevgl/lvgl 2021-08-03 10:25:27 -04:00
Themba Dube
ae15a1bbfe Revert "fix(tests) remove src/test_runners when cleaning"
This reverts commit 6726b0f5df3f4689368782b601bb01f76498123b.
2021-08-03 10:25:20 -04:00
Gabor Kiss-Vamosi
7672847ce3 fix(bidi) fix the handling of LV_BASE_DIR_AUTO in several widgets
fixes #2421
2021-08-03 16:03:07 +02:00
Themba Dube
6726b0f5df fix(tests) remove src/test_runners when cleaning 2021-08-03 09:38:13 -04:00
Gabor Kiss-Vamosi
0f8bc18f6a docs update CHANGELOG 2021-08-02 15:55:04 +02:00
Gabor Kiss-Vamosi
5b3d3dc8b3 perf(draw) reimplement rectangle drawing algorithms
No functionalty has changed only make them more readable and faster.
2021-08-02 15:45:14 +02:00
Gabor Kiss-Vamosi
f61b2ca455 Revert "fix(indev) focus on objects on release instead of press"
This reverts commit 76a8293375b705a5e02e4f9c8f8a42d99db762e2.

Revert because it breaks the drop down list.
If the dropdown list is opened and the parent is scrolled
the dropdown is not defocused and not closed.

Fixes #2417
2021-08-02 14:33:43 +02:00
Kevin Sidwar
f2c2393b30
fix(build) remove main component dependency (#2420)
Resolves #2403
2021-08-02 13:26:36 +02:00
Gabor Kiss-Vamosi
79edb37b0a fix(dropdown) fix list position with RTL base direction
related to #2424
2021-08-02 12:27:57 +02:00
Gabor Kiss-Vamosi
531afcc6ce fix(obj) fix lv_obj_align_to with RTL base direction
Related to #2424
2021-08-02 12:27:57 +02:00
Amir Gonnen
4bdeb756da
fix(examples) join usage (#2425)
Use 'join' correctly on Python scripts
2021-08-02 11:56:44 +02:00
guoweilkd
65415d3f68
docs(chart) typos (#2427) 2021-08-02 11:51:18 +02:00
Levente Tamas
980a95ce5d
kconfig: minor fix for default dark theme option (#2426)
Changes the name of the CONFIG variable from
LV_THEME_DEFAULT_PALETTE_LIGHT to LV_THEME_DEFAULT_DARK.
Most likely it should have been included in
4f46336a544d6cde0ed14f37775dfd8ecb772af3
2021-08-02 11:50:30 +02:00
Amir Gonnen
4effc87a87
fix(examples) add missing lv.PART.INDICATOR (#2423) 2021-07-31 17:40:13 -04:00
Amir Gonnen
145440dbce
fix(examples) use lv.grid_fr for MicroPython (#2419)
Instead of re-implementing LV_GRID_FR, use lv.grid_fr

Also use lv.GRID_TEMPLATE.LAST instead of lv.COORD.MAX where needed
2021-07-31 09:07:07 -04:00
xaowang96
65475a75ba
feat(anim) add interface for handling lv_anim user data. (#2415)
* fix(animation) add interface for setting user data.

Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>

* fix(animation) add interface for getting user data.

Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>

* fix(animation) resolve parameter errors

Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>

Co-authored-by: wangxuedong <wangxuedong@xiaomi.com>
2021-07-29 12:32:46 +02:00
Gabor Kiss-Vamosi
524f8dd50b fix(style) initialize colors to black instead of zero
With LV_COLOR_SCREEN_TRANSP alpha should be 0xff not 0x00
2021-07-28 17:12:53 +02:00
Uli Raich
06b3013de5
feat(examples) add MicroPython version of lv_example_anim_3 and allow loading roller font dynamically (#2412) 2021-07-28 08:51:41 -04:00
Gabor Kiss-Vamosi
4dd1d566fc fix(dropdown) use LV_EVENT_READY/CANCEL on list open/close
Instead of LV_EVENT_VALUE_CHANGE to avoid conflicts with new option selection.
2021-07-28 10:09:46 +02:00
Gabor Kiss-Vamosi
dae7039803 fix(dropdown) send LV_EVENT_VALUE_CHANGED to allow styling of the list 2021-07-28 09:52:37 +02:00
Gabor Kiss-Vamosi
8c15933030 fix(table) clip overflowing content
If there was a extra draw padding the cells were draw out of the real table
2021-07-28 09:38:45 +02:00
SmartAnda
95347b768b
fix circle drawing algorithms (#2413) 2021-07-28 08:58:25 +02:00
Amir Gonnen
559b6458c0
fix(examples) remove symlinks (#2406)
Remove symlinks from Python examples because the JS simulator doesn't follow them and sees the target filename instead
2021-07-27 19:13:30 -04:00
Gabor Kiss-Vamosi
637b706ddc
perf(draw) reimplement circle drawing algorithms (#2374)
* perf(draw) reimplement circle drawing algorithms

Imporve the speed of circle drawing
Add circle draw caching
Various other speed improvements

* docs describe how to use masks

* fix(draw) add missing GC root usage
2021-07-27 19:16:00 +02:00
guoweilkd
e23701e2c2
example(anim) add demo to use cubic-bezier (#2393)
* animation:add demo to use cubic-bezier

* fix minor fixes on layout and chart

Co-authored-by: guoweilkd <guowei15@xioami.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-27 19:14:44 +02:00
_VIFEXTech
202cf1c8cb
perf(anim_timeline) add lv_anim_timeline_stop() (#2411)
* add anim_timeline

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* add anim_timeline

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* add lv_anim_timeline.c to lv_misc.mk

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* LV_ANIM_TIMELINE_END uses global variables to replace macros, lv_anim_timeline_set_progress() adds user_data, act_time uses int32_t type

* solve the problem of uninitialized variable and act_time comparison

* add LV_ANIM_TIMELINE_CUSTOM_EXEC option

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* add LV_ANIM_TIMELINE_CUSTOM_EXEC in lv_conf_internal.h

* redesign lv_anim_timeline

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* add missing LV_USE_USER_DATA

* remove set_progress, update doc

* update workflow files

* Remove lv_example_anim_timeline_2.c and LV_ANIM_TIMELINE_CUSTOM_EXEC, update lv_anim_timeline_1.c example

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* fix warning

* fix(anim_timeline) heap use after free

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* fix(docs) wrong spelling of words in pictures

* perf(anim_timeline) add lv_anim_timeline_stop()

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-27 14:30:36 +02:00
Gabor Kiss-Vamosi
c28c146310 fix(meter) fix inner mask usage
fixes #2407
2021-07-27 13:21:19 +02:00
_VIFEXTech
e258e78f21
fix(docs) wrong spelling of words in pictures (#2409)
* add anim_timeline

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* add anim_timeline

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* add lv_anim_timeline.c to lv_misc.mk

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* LV_ANIM_TIMELINE_END uses global variables to replace macros, lv_anim_timeline_set_progress() adds user_data, act_time uses int32_t type

* solve the problem of uninitialized variable and act_time comparison

* add LV_ANIM_TIMELINE_CUSTOM_EXEC option

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* add LV_ANIM_TIMELINE_CUSTOM_EXEC in lv_conf_internal.h

* redesign lv_anim_timeline

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* add missing LV_USE_USER_DATA

* remove set_progress, update doc

* update workflow files

* Remove lv_example_anim_timeline_2.c and LV_ANIM_TIMELINE_CUSTOM_EXEC, update lv_anim_timeline_1.c example

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* fix warning

* fix(anim_timeline) heap use after free

Signed-off-by: FASTSHIFT <vifextech@foxmail.com>

* fix(docs) wrong spelling of words in pictures

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-27 12:26:38 +02:00
Gabor Kiss-Vamosi
4dba8df2a1 fix(log) fix warning for empty log macros
Fixes #2408
2021-07-27 11:03:22 +02:00
Amir Gonnen
4db0071f05
feat(obj) add lv_is_initialized (#2402)
While it's possible to try initialize LVGL after it is already initialized, it warns 'lv_init: already inited' in such case. Therefore it is useful to be able to check on runtime whether LVGL was initialized or not before calling lv_init().
2021-07-24 10:27:16 -04:00
EnricoLusaEGF
105bf24318
fix(chart) fixed point-following cursor during vertical scroll in charts (#2400) 2021-07-23 15:55:43 +02:00
Yin Zhong
1f255b7a0c
feat(obj) Backport keypad and encoder scrolling from v7 lv_page to v8 lv_obj (#2390)
* support scrolling scrollable but non-editable objects thru keypad / encoder

* update doc on `lv_obj` scrolling behavior by arrow keys
2021-07-23 14:55:13 +02:00
Gabor Kiss-Vamosi
6d8799fbbf
Update textarea.md 2021-07-23 13:52:13 +02:00
EnricoLusaEGF
1b7e2b5103
fix(chart) fixed cursor positioning with large Y rescaling without LV_USE_LARGE_COORD (#2399) 2021-07-23 13:43:21 +02:00
Gabor Kiss-Vamosi
71a10e4ecd fix(example) adjust the object sizes in lv_example_anim_timeline_1() 2021-07-23 13:40:42 +02:00