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

7562 Commits

Author SHA1 Message Date
Xiang Xiao
572880ccd3
Fix typo error in color.md 2021-11-08 01:42:12 +08:00
Kevin Thibedeau
53a3e17f76
fix(proto) Remove redundant prototype declarations (#2771) 2021-11-07 16:03:31 +08:00
Gabor Kiss-Vamosi
41c2dd16ee chore: update lv_conf_internal.h 2021-11-05 15:44:28 +01:00
_VIFEXTech
abcf5660a9 fix(conf) better support bool option from Kconfign (#2555)
* fix(arc) format code

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

* fix(Kconfig) add missing LV_BUILD_EXAMPLES configuration

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

* fix(fsdrv): remove the seek call in fs_open (#2736)

since the file should be located at zero after open

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* docs(os) add example and clarify some poinits

* fix(draw border):border draw error if border width > radius (#2739)

* fix(label) consider base dir lv_label_get_letter_pos in special cases

related to https://github.com/lvgl/lvgl/issues/2712#issuecomment-953463193

* improve lv_conf_internal_gen.py for better Kconfig support

Co-authored-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Co-authored-by: guoweilkd <guowei15@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-11-05 15:42:42 +01:00
Gabor Kiss-Vamosi
607dfeceb6
feat(display) add direct_mode drawing mode (#2460)
* feat(display) add direct_mode drawing mode

* update the docs
2021-11-05 15:35:36 +01:00
Gabor Kiss-Vamosi
acd0f4fbc7 feat: add LV_USE_MEM_PERF/MONITOR_POS
fixes #2735
2021-11-05 13:27:40 +01:00
Gabor Kiss-Vamosi
4d7d30677a fix(examples) exclude example animimg images if animimg is disabled 2021-11-05 13:21:29 +01:00
Miguel Magno
4e393178f3
docs: fix typo (#2765) 2021-11-05 12:18:40 +01:00
guoweilkd
372f94b7de
fix(draw_border):draw error if radius == 0 and parent clip_corner == true (#2764) 2021-11-05 12:08:56 +01:00
Jeff Kent
b189be67d2
fix(msgbox) add declaration for lv_msgbox_content_class (#2761) 2021-11-05 11:37:59 +01:00
DennisSHCheung
5b548006ed
fix(txt): skip basic arabic vowel characters when processing conjunction
* Skips basic vowel characters when calculating arabic conjunction

* Updated CHANGELOG.md

* Update docs/CHANGELOG.md

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

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-11-05 11:36:55 +01:00
Gabor Kiss-Vamosi
6d95521076 tool: add changelog_gen.sh to automatically generate changelog 2021-11-04 17:07:58 +01:00
Matteo Iervasi
d6341f05a9
fix(core) add L suffix to enums to ensure 16-bit compatibility (#2760) 2021-11-03 14:28:12 -04:00
embeddedt
1ab5c9689f
ci(micropython) add rp2 port
Related: https://github.com/lvgl/lvgl/issues/2758#issuecomment-958912402
2021-11-03 09:49:36 -04:00
Gabor Kiss-Vamosi
d9d3f27126 fix(printf) add (int) casts to log messages to avoid warnings on %d 2021-11-03 11:53:03 +01:00
Amir Gonnen
63ff80192b
ci(micropython) fix git fetch (#2757)
Switch from git protocol to https.

Related: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
2021-11-02 20:24:55 -04:00
Xiang Xiao
83f9c30985
feat(conf): make LV_MEM_BUF_MAX_NUM configurable (#2747)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-02 19:29:37 +01:00
Gabor Kiss-Vamosi
749d1b3ec3 docs(table) describe keypad/encoder navigation
related to: #2746
2021-11-02 19:22:09 +01:00
Gabor Kiss-Vamosi
06962a564f
docs(arduino) update how to use the examples
Related to: #2706
2021-11-02 18:40:59 +01:00
Xiang Xiao
e8d0809173
fix(anim): add lv_anim_get_playtime (#2745)
and migrate lv_anim_timeline_get_playtime to lv_anim_get_playtime

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-02 17:03:13 +01:00
Xiang Xiao
e461a4360c
fix(area) minor fixes (#2749)
* fix(area): fix typo error in _lv_area_is_out

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(area): compute LV_COORD_MAX/LV_COORD_MIN correctly

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(area): make LV_COORD_IS_PX work with the negative coordinate

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-02 16:41:05 +01:00
Xiang Xiao
e63a04e310
fix(mem): ALIGN_MASK should equal 0x3 on 32bit platform (#2748)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-02 15:39:30 +01:00
Gabor Kiss-Vamosi
174ef6692e docs describe the options to include or skip lv_conf.h 2021-11-02 13:57:45 +01:00
Hotakus
1ad5a86fe6
fix(template) prototype error (#2755) 2021-11-02 19:53:15 +08:00
Amir Gonnen
6c956cc0f4 Fix compile errors 2021-11-01 21:56:24 -05:00
Meco Man
32d33fe4d9 feat(rt-thread): support LVGL projects with GCC/Keil(AC5)/Keil(AC6)/IAR 2021-10-30 23:24:07 -05:00
Xiang Xiao
78ee8e6cd7
fix(anim): remove time_orig from lv_anim_t (#2744)
swap time and playback_time instead to save four bytes

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-29 16:28:36 +02:00
Xiang Xiao
ffe386186f
animation improvement (#2743)
* fix(anim): replace the hardcode 1024 with LV_BEZIER_VAL_MAX

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(anim): simplify the animation end condition

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(anim): remove the temp anim obj in anim_ready_handler

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-29 16:25:45 +02:00
guoweilkd
f43a33921a
fix(draw_rect):bottom border lost if enable clip_corner (#2742) 2021-10-29 10:57:45 +02:00
Gabor Kiss-Vamosi
580e05a0e1 fix(label) update lv_label_get_letter_pos to work with LV_BASE_DIR_AUTO too
related to #2712
2021-10-29 10:52:01 +02:00
Xiang Xiao
3d0a21e8c4
fix(anim) and improvement (#2738)
* fix(anim): fix the callback type error of lv_anim_set_start_cb

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* feat(anim): add lv_anim_custom_get which paired with lv_anim_get

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-29 10:22:41 +02:00
Gabor Kiss-Vamosi
6df51225c2 fix(label) consider base dir lv_label_get_letter_pos in special cases
related to https://github.com/lvgl/lvgl/issues/2712#issuecomment-953463193
2021-10-28 19:48:13 +02:00
guoweilkd
74258507fc
fix(draw border):border draw error if border width > radius (#2739) 2021-10-28 17:23:40 +02:00
embeddedt
d996453207
docs(os) add example and clarify some poinits 2021-10-28 08:30:49 -04:00
Xiang Xiao
1cce91fac0
fix(fsdrv): remove the seek call in fs_open (#2736)
since the file should be located at zero after open

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-27 12:52:10 +02:00
Gabor Kiss-Vamosi
17b8a76c4a feat(log) allow overwriting LV_LOG_... macros 2021-10-27 10:31:36 +02:00
Gabor Kiss-Vamosi
cc935b87f6 fix(tlsf) undef printf before define-ing it 2021-10-27 10:31:36 +02:00
Xiang Xiao
ec2be7e53a
fix(fsdrv): skip the path format if LV_FS_xxx_PATH not defined (#2726)
to save the stack space and fix some minor code style issue

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-27 10:19:59 +02:00
Xiang Xiao
91cf82d081
fix: mark unused variable with LV_UNUSED(xxx) instead of (void)xxx (#2734)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-27 10:00:06 +02:00
Gabor Kiss-Vamosi
58f3f5625c fix(label) fix in lv_label_get_letter_pos with when pos==line_start
related to #2712
2021-10-26 15:08:49 +02:00
Gabor Kiss-Vamosi
e95efc152f fix(label) do not bidi process text in lv_label_ins_text
related to #2712
2021-10-26 14:21:34 +02:00
Gabor Kiss-Vamosi
9c7338c90b fix warnings 2021-10-26 10:25:37 +02:00
Gabor Kiss-Vamosi
6319673db3 fix warnings 2021-10-26 10:14:05 +02:00
Gabor Kiss-Vamosi
924bc754ad fix various minor warnings
- remove stdio.h when possible
- use LV_LOG_WARN to instead of printf
2021-10-26 10:06:29 +02:00
Xiang Xiao
47cdfa6cfc
fix(fsdrv): fix typo error in commit 752fba34f677ad73aee (#2732)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-25 13:26:56 -04:00
Xiang Xiao
752fba34f6
fix(fsdrv): return error in case of the read/write failure (#2729)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-25 19:15:42 +02:00
Gabor Kiss-Vamosi
9318e02ef5 fix(scroll) in scroll to view functions respect disabled LV_OBJ_FLAG_SCROLLABLE
fixes #2730
2021-10-25 19:09:28 +02:00
Gabor Kiss-Vamosi
0bab4a72cf fix(calendar) update the MP example 2021-10-25 18:51:49 +02:00
Jianting (Meco) Man
97bf74915d
fix(refr) silence compiler warning due to integer type mismatch (#2722) 2021-10-25 18:47:25 +02:00
Jianting (Meco) Man
95be2c7b99
fix(example):format codes (#2731) 2021-10-25 18:44:44 +02:00