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
Gabor Kiss-Vamosi
5b27ebb409
fix(obj_pos) consider all alignements in contnt size calculation but only if x and y = 0
2021-10-21 12:20:00 +02:00
Gabor Kiss-Vamosi
76c8ee6b7e
fix(freetype) fix underline calculation
...
Fixes : #2711
Based on: aa85d97474
2021-10-21 11:45:25 +02:00
Gabor Kiss-Vamosi
c2d93f78b9
fix(sjpg) remove unnecessary typedefs
...
stdio.h should be always available, adding custom typedefs resulted in conflicting types on Windows
2021-10-21 11:13:07 +02:00
Xiang Xiao
7339cff139
fix(timer): remove the code duplication in lv_timer_exec ( #2708 )
...
and fix some minor comment issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-21 10:50:30 +02:00
Xiang Xiao
0d48396f25
fix(async): remove the wrong comment from lv_async_call ( #2707 )
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-21 10:30:16 +02:00
embeddedt
5d8285e2d3
ci create check for lv_conf_internal.h
2021-10-20 20:06:34 -04:00
embeddedt
56f62b8d73
fix(gif) replace printf statement with LVGL logging
2021-10-20 18:00:27 -04:00
Xiang Xiao
13b7fd8dae
fix(kconfig): change CONFIG_LV_THEME_DEFAULT_FONT to CONFIG_LV_FONT_DEFAULT ( #2703 )
...
so the user can overwrite LV_FONT_DEFAULT
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-20 15:47:02 +02:00
Gabor Kiss-Vamosi
a9b660c278
fix(obj_pos) save x,y even if the object is on a layout
...
The set values will be ignored later, but they needs to be saved
in case the layout is removed from the parent
2021-10-20 11:55:26 +02:00
Kenji Mouri
bbad478ce6
feat(fsdrv) add driver based on Win32 API ( #2701 )
2021-10-20 11:35:11 +02:00
guoweilkd
91a0d3b5e4
feat(span) indent supports percent for fix and break mode ( #2693 )
...
* span:indent supports percent for fix and break mode
* Update docs/widgets/extra/span.md
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-10-20 11:13:42 +02:00
Amir Gonnen
eaf25348a7
fix add MP support for LVGL 3rd party libraries ( #2666 )
...
* Fixes for MP support for LVGL 3rd party libraries
Add missing lv_qrcode_class
Remove 'struct JDEC' from public API. This struct is needed intenally on tjpgd.c and lv_sjpg.c, but doesn't need to be exposed in the public API. When exposed, it increases Micropython binding program size and some fields are not supported today (uint8_t* huffbits[2][2]). To overcome this, moved it to a new H file which is not included in public API, only in sjpg C files
Related: https://github.com/lvgl/lv_binding_micropython/issues/180
* lv_qrcode: add lv_class_qrcode
Must define a distinct class for every widget, to allow Micropython bindings convert lv_obj_t into the specific class
* gifdec.c: fix uninitialized
ESP32 reports some potentially uninitialized variables. Initialize them to prevent the errors
* src/extra/libs/sjpg: smaller public header
Only keep lv_split_jpeg_init in public header, since JPEG is used with image decoder
* Remove tjdec.h
2021-10-20 10:46:22 +02:00
Gabor Kiss-Vamosi
64527a5a1b
fix(docs) add fsdrv back
2021-10-20 10:42:38 +02:00
woody
c5900e36fa
fix(png) memory leak for sjpg and use lv_mem_... in lv_png ( #2704 )
...
* Unified format
* fix memory leak for lv_sjpg.c
* unified format for lib_png
2021-10-20 10:40:40 +02:00
Tomasz Jastrzębski
3a4ade1e1f
lv_obj_draw_part_dsc_t.text_length added ( #2694 )
2021-10-19 21:33:30 +02:00
woody
5413e0c4ce
fix(gif) unified whence and remove off_t ( #2690 )
2021-10-19 18:13:21 +02:00
Gabor Kiss-Vamosi
80f0b09e34
test fix LV_USE_LOG_LEVEL -> LV_LOG_LEVEL typo
...
Related to #2673
2021-10-19 17:40:41 +02:00
Gabor Kiss-Vamosi
e83df6f14d
test(arc): add test case for adv_hittest
2021-10-19 17:36:37 +02:00
Gabor Kiss-Vamosi
79ab3d29b0
chore(indev) minor formatting
2021-10-19 16:40:00 +02:00
Gabor Kiss-Vamosi
747b6a2a9a
fix(flex) remove unused variable
...
fixes #2672
2021-10-19 13:52:47 +02:00
Gabor Kiss-Vamosi
b3b3ffc2b3
feat(canvas) add lv_canvas_set_px_opa
...
fixes #2665
2021-10-19 13:44:40 +02:00
Gabor Kiss-Vamosi
dfa4f5cff5
feat(arc) add support to LV_OBJ_FLAG_ADV_HITTEST
2021-10-19 12:52:35 +02:00
Jianting (Meco) Man
c61c371ee9
fix(rt-thread): include the rt-thread configuration header file ( #2692 )
2021-10-18 18:41:00 +02:00