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
Gabor Kiss-Vamosi
1b04bf4488
fix warning
2021-10-25 18:43:32 +02:00
Gabor Kiss-Vamosi
2e08f80361
feat(calendar): add the header directly into the calendar widget
...
In v8.0 the header was a detached object which made it difficult to move the header and the calendar
together. Besides there were no way to notifi the header of the calendar's shown date has changed.
BREAKING CHANGE: API of cleander headers, the appearence of the calendars
related to #2573 "
2021-10-25 18:39:18 +02:00
Johannes Marbach
b59cc9cfb8
feat(disp): add non-fullscreen display utilities ( #2724 )
...
This adds utility functions/macros for dealing with non-fullscreen
displays.
Related to lvgl/lv_drivers#166
2021-10-25 08:26:43 -04:00
Xiang Xiao
0c10453f17
fix(fs): fix the off-by-one error in the path function ( #2725 )
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-25 12:28:37 +02:00
Xiang Xiao
dd5199f279
Improve LV_FORMAT_ATTRIBUTE usage ( #2673 )
...
* fix(format): remove LV_FORMAT_ATTRIBUTE from the function body
since it's enough to append LV_FORMAT_ATTRIBUTE to function declaration
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(format): add LV_FORMAT_ATTRIBUTE to lv_snprintf and lv_log
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(format): fix the format specifier warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-25 12:18:45 +02:00
Xiang Xiao
dedf822930
Merge pull request #2723 from ajsb85/master
...
Fix typo in commands to build rlottie
2021-10-24 04:45:21 -05:00
Alexander Salas Bastidas
ed9169c56d
docs(rlottie): fix typo in commands
2021-10-24 01:47:24 +02:00
embeddedt
93c1303ee7
chore(stale) disable on forks
2021-10-23 08:20:19 -04:00
Gabor Kiss-Vamosi
ce0b564588
docs(rlottie) fix build error
2021-10-22 16:09:15 +02:00
Gabor Kiss-Vamosi
03fff13f62
feat(rlottie) add LVGL-Rlottie interface as 3rd party lib ( #2700 )
2021-10-22 15:44:43 +02:00
Jianting (Meco) Man
49c069fe89
del(.gitmodules): delete .gitmodules ( #2718 )
2021-10-22 12:43:48 +02:00
Gabor Kiss-Vamosi
f6d7dc7f00
fix(lv_printf.h): to eliminate the errors in Keil and IAR
...
Originally added here but stragely disappeared: https://github.com/lvgl/lvgl/pull/2695
2021-10-22 12:42:38 +02:00
Jianting (Meco) Man
9d7f53012c
feat(rtthread): prepare for porting the device-driver of rt-thread ( #2719 )
2021-10-22 11:13:39 +02:00
Gabor Kiss-Vamosi
00e5597d69
Merge branch 'master' of https://github.com/lvgl/lvgl
2021-10-21 19:05:20 +02:00