8ef2700d51
fix(img_buf): add missing brackets for LV_IMG_BUF_SIZE_XXX ( #3867 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-12-18 16:50:49 +01:00
a4217c7f59
fix(docs): add missing barcode toctree ( #3868 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-12-15 14:04:19 +01:00
0ef4e6f48b
feat(demo): add flex_layout demo ( #3755 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Signed-off-by: W-Mai <1341398182@qq.com >
Co-authored-by: Uli Raich <uli.raich@gmail.com >
Co-authored-by: W-Mai <1341398182@qq.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com >
2022-12-15 13:34:13 +01:00
eaea0c4cc8
fix(draw_img): move the image color format check to draw_img_decoded ( #3863 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-12-13 11:26:42 +01:00
889634398a
feat(libs): add barcode widget ( #3778 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-12-11 11:48:03 +01:00
df2aa08aa4
chore(monkey): fix warning. ( #3852 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-12-07 10:03:05 +01:00
1c2dc983b4
feat(log): add log level parameters to custom_print_cb ( #3826 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-11-24 13:54:15 +01:00
e7da3b247e
refact(freetype): clean up global variables and infrequent functions ( #3782 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-11-24 12:27:38 +01:00
ef62275ffb
feat(img_cache): add support for alternate img cache algorithm ( #3798 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-11-19 09:26:17 +01:00
45f932c55b
chore(table): remove extra spaces ( #3805 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-11-16 14:21:01 +01:00
4c90ec54d7
chore(fsdrv): fix warning ( #3797 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-11-16 08:22:47 +01:00
5236e73f59
chore(log): remove unnecessary prefixes in LV_LOG_XXX ( #3795 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-11-13 10:01:22 +01:00
be1e1fca3a
fix(qrcode): remove global variables and lv_qrcode_delete ( #3771 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-11-02 18:32:48 +01:00
39db14d75e
fix(printf): fix built-in snprintf cannot be disabled ( #3776 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-10-30 08:41:57 +01:00
677ab54bda
fix(draw): center imgfont's drawing position ( #3668 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
Co-authored-by: W-Mai <1341398182@qq.com >
2022-10-26 13:53:53 +02:00
8ff87647da
feat(tlsf): add memory pool expansion support ( #3757 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-10-26 10:36:26 +02:00
69e50712a9
fix(png): fix file leaks ( #3765 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-10-25 12:22:34 +02:00
648d1cbd03
fix(mem): add missing stdio.h and string.h include ( #3753 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-10-24 08:05:28 +02:00
a201df799b
fix(Kconfig): remove the maximum limit on LV_MEM_SIZE ( #3758 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-10-24 08:00:23 +02:00
d1e8c676a4
fix(examples): fix invalid include for unistd.h in file_explorer example ( #3756 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-10-24 07:59:37 +02:00
6a9f324a4f
fix(demo_music): remove font resource compilation dependencies ( #3739 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-10-13 11:58:01 +02:00
bc90ebe72d
chore(Kconfig): replace space indent with Tab ( #3737 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-10-12 10:11:03 +02:00
14c126a883
chore(examples): fix unused-variable warning ( #3732 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-10-10 15:31:29 +02:00
4c52309d4e
fix(fs_posix): fix win32 build error: undefined identifier 'off_t' ( #3702 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-09-26 17:41:32 +02:00
4c3bca9a7f
fix(span): fix incomplete text display when disable the placeholder. ( #3687 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-09-25 16:09:55 +02:00
b700052087
fix(draw): fix duplicate alpha overlay for draw letter ( #3696 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-09-20 20:50:09 +02:00
f9eb73bfae
fix(txt): append ')]}' to LV_TXT_BREAK_CHARS ( #3675 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-09-08 23:29:38 +02:00
3812f6cc85
fix(switch): fix knob overflow on right edge ( #3674 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-09-08 23:21:16 +02:00
81736cac1b
fix(benchmark): fix run_max_speed score incorrect ( #3416 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-08-29 12:25:41 +02:00
b98ccf94f8
fix(draw_sw): fix image cache to access the freed stack space ( #3584 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-08-23 15:27:00 +02:00
bb7feb232f
fix(obj): fix crash of lv_obj_move_foreground/background when the parent of obj is NULL ( #3577 )
...
* fix(obj): fix crash of lv_obj_move_foreground/background when the parent of obj is NULL
* decrease LOG level
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-08-19 14:24:37 +02:00
e93e210b41
feat(log): add option to disable printing of timestamps ( #3578 )
...
* feat(log): add option to enable printing of timestamps
* remove unnecessary \t
* Update lv_conf_template.h
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2022-08-17 13:18:53 +02:00
1de64ade88
chore(demo/indev): fix warning ( #3583 )
...
* chore(demo/indev): fix warning
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
* fix 'Micropython CI / Build rp2 port' warning
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-08-17 12:32:51 +02:00
0900377be2
fix(draw): decrease the LOG level when the letter is not found ( #3557 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-08-10 14:04:53 +02:00
76dc45f546
fix(printf): add LV_PRIX32 to fix build error ( #3555 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-08-09 18:09:01 +02:00
b7a51f1378
chore(ime_pinyin): fix warning ( #3554 )
...
..\lvgl/src/others/ime/lv_ime_pinyin.h(144): warning: #1-D: last line of file ends without a newline
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-08-09 18:08:06 +02:00
a9da5ae3c8
fix(indev): fix typo lv_disp_t -> lv_indev_t ( #3553 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-08-09 18:07:38 +02:00
ed4df8c1bb
perf(label): add size cache for get self size event ( #3546 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-08-09 18:07:08 +02:00
a6f7370d75
feat(imgfont): add option to use img cache to buffer img headers ( #3504 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-07-19 13:33:55 +02:00
d11171d2bd
fix(obj): reset all input devices when disable obj ( #3483 )
...
* fix(obj): reset all input devices when disable obj
* remove const
* Replace lv_obj_reset_input with lv_indev_reset
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-07-15 14:21:11 +02:00
aafa32aaeb
fix(bar): fix division by 0 ( #3463 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-07-11 14:19:15 +02:00
73114028d3
feat(font): add font placeholder drawing configuration ( #3446 )
...
* feat(font): add font placeholder drawing configuration
* Turn on placeholder by default in Kconfig
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
* When disabled LV_USE_FONT_PLACEHOLDER set box_w=0
* Remove placeholder_font to get glyphs
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-07-05 16:42:46 +02:00
23c8a91a11
feat(fsdrv): add posix lseek() error checking ( #3444 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-07-04 15:03:49 +02:00
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
d151a6789f
feat(disp): add a temporary invalidation disable interface ( #3378 )
...
* feat(disp): add a temporary disable invalidation interface
* minor adjustments
* remove forgotten comment
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2022-05-26 22:46:55 +02:00
6e3d01190f
feat(benchmark): make lvgl render at the highest frame rate ( #3352 )
...
* feat(benchmark): make lvgl render at the highest frame rate
* add lv_demo_benchmark_set_max_speed
* Update comments and README
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-05-24 12:36:22 +02:00
0d6c08105a
fix(demo): fix warning. ( #3344 )
...
* fix(demo): fix warning.
lvgl/demos/keypad_encoder/lv_demo_keypad_encoder.c:169:5: warning: "LV_EX_MOUSEWHEEL" is not defined, evaluates to 0 [-Wundef]
169 | #if LV_EX_MOUSEWHEEL
| ^~~~~~~~~~~~~~~~
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
* fix benchmark warning.
~/lvgl/demos/benchmark/lv_demo_benchmark.c:1069:33: warning: cast between incompatible function types from ‘void (*)(lv_obj_t , uint16_t)’ {aka ‘void ()(struct _lv_obj_t , short unsigned int)’} to ‘void ()(void , int32_t)’ {aka ‘void ()(void , int)’} [-Wcast-function-type]
1069 | lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t) lv_arc_set_end_angle);
| ^
~/lvgl/demos/benchmark/lv_demo_benchmark.c: In function ‘fall_anim’:
~/lvgl/demos/benchmark/lv_demo_benchmark.c:1090:29: warning: cast between incompatible function types from ‘void ()(struct _lv_obj_t , lv_coord_t)’ {aka ‘void ()(struct _lv_obj_t , short int)’} to ‘void ()(void , int32_t)’ {aka ‘void ()(void *, int)’} [-Wcast-function-type]
1090 | lv_anim_set_exec_cb(&a, (lv_anim_exec_xcb_t) lv_obj_set_y);
|
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-05-14 07:35:12 +02:00
93dfd87a7a
feat(anim): add the function of getting global animation refresher timer ( #3331 )
...
* feat(anim): add dynamic setting animation refresh period support
* add lv_anim_get_refr_period
* add lv_anim_get_timer
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-05-07 22:58:38 +02:00
e577b7a616
feat(demo): add Weighted FPS and Opa speed log output ( #3326 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-05-06 14:39:26 +02:00
012a7cfddb
fix(chart): fix accessing uninitialized point_area ( #3327 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-05-05 11:02:39 +02:00
181bf88ef0
fix(refr): initializing row_cnt is to silence the warning ( #3309 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-05-04 20:19:52 +02:00
bf0a0d543b
fix(meter): fix typo ( #3308 )
...
* fix(meter): remove unused code
* add part_draw_dsc.p2 = &p_outer
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-04-29 21:29:31 +02:00
787f1a7729
fix(draw): update Makefiles ( #3303 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-04-29 09:15:52 -04:00
e8cf036955
fix(lodepng): fix NULL pointer access ( #3307 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-04-29 13:29:06 +02:00
69aa421acd
docs(gesture): fix typo lv_indev_act() -> lv_indev_get_act() ( #3291 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-04-26 10:32:18 +02:00
c9ab5e4e55
fix(demo): fix Wformat warning ( #3290 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-04-25 12:57:01 +02:00
9868cb92bc
fix(snapshot): add missing ASSERT checks ( #3292 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-04-25 12:56:10 +02:00
0fdd5d6449
feat(hal): add render_start_cb to disp_drv ( #3274 )
...
* feat(hal): add render_start_cb to disp_drv
* update doc for render_start_cb
* Update docs/porting/display.md
* remove disp_refr parameter
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2022-04-19 10:05:59 +02:00
56383c46cf
fix(msgbox): do not execute init obj when obj == NULL ( #3264 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-04-12 09:07:24 +02:00
96c4a45576
fix(menu): use LV_ASSERT_MALLOC check for new_node ( #3263 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-04-11 20:31:30 +02:00
3db7adffb1
fix(obj_style): prevent access to class null pointer ( #3252 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-04-11 12:43:52 +02:00
563603589d
pref(png): use lv_memcpy/memset to improve performance ( #3251 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-04-11 12:41:59 +02:00
bf85b50031
fix(png): fix possible memory leak when decoding fails ( #3249 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-04-05 10:21:09 +02:00
311df87f0d
fix(libs): fix possible buffer underflow caused by extension matching ( #3250 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-04-05 10:19:17 +02:00
f9b554503e
fix(png): use LV_IMG_CF_TRUE_COLOR_ALPHA instead of LV_IMG_CF_RAW_ALPHA ( #3212 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 13:18:28 +02:00
8a2d283b2e
fix(meter): fix infinite loop caused by loop variable type mismatch ( #3232 )
...
* fix(meter): fix infinite loop caused by loop variable type mismatch
* Update src/extra/widgets/meter/lv_meter.c
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2022-03-30 13:06:30 +02:00
82740fea59
fix(chart): remove invalid decision branches ( #3231 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 13:05:33 +02:00
06e616d0cb
fix(gradient): assert before dividing by 0 ( #3228 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 13:04:52 +02:00
b35a37f52d
fix(calendar): fix infinite loop caused by loop variable type mismatch ( #3230 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 13:01:49 +02:00
435cc3fedc
fix(flex): assert before dividing by 0 ( #3237 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 13:00:48 +02:00
74f66d96d5
fix(hal): fix LV_ASSERT_MALLOC wrong placement ( #3236 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:59:58 +02:00
e4fb579558
fix(disp): fix missing null pointer judgment ( #3238 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:59:26 +02:00
80a6d2bf57
fix(obj_class): fix possible memory leak when the default disp is NULL ( #3235 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:58:28 +02:00
adf7dc2121
fix(draw_sw_letter): fix incorrect use of sizeof for a pointer ( #3234 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:57:53 +02:00
7dd229a7cd
fix(indev): fix null pointer access caused by typo ( #3229 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:57:30 +02:00
5d8845e0a2
fix(event): remove invalid decision branches ( #3233 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:56:54 +02:00
b0c1e297f4
fix(draw_mask): remove invalid decision branches ( #3225 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:55:05 +02:00
5a7e7e25e9
fix(spinbox): remove invalid judgment ( #3227 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:54:26 +02:00
2c70665674
fix(gradient): remove invalid decision branches ( #3226 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:53:46 +02:00
931207683d
fix(txt): return 0 if letter_uni is out of range ( #3224 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:52:37 +02:00
9768c78c20
fix(calendar): fix possible array access out of bounds ( #3223 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:51:58 +02:00
423a3eb5d7
fix(style): remove useless null pointer judgment ( #3222 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-30 12:51:36 +02:00
9a0a74813d
fix(libs): fix memcmp memory access overflow ( #3205 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-25 14:22:16 +01:00
8ddbae1f35
fix(png): fix possible file leaks ( #3204 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-24 22:12:29 +01:00
f28cd60279
fix(indev): fix warning about formatting uint32_t with %d ( #3193 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-03-22 13:56:07 +01:00
30648ab4f1
feat(refr): prevents dirty areas from being modified during rendering ( #3107 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-02-22 11:59:02 +01:00
48cb4e9164
fix(extra): adjust image decoder initialization order ( #3085 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-02-18 12:56:14 +01:00
2be4e82991
fix(refr): fix performance monitor NULL pointer access ( #3105 )
...
* fix(refr) performance monitor NULL pointer access
* doc(refr): describe the setting of LV_DISP_DEF_REFR_PERIOD
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-02-18 11:32:16 +01:00
9f90d82e91
fix(fsdrv): replacing sprintf with lv_snprintf for safety ( #3079 )
...
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration
* feat(refr) add reset of FPS statistics
* fix(conf) mismatched macro judgment
* feat(fsdrv) replacing sprintf with lv_snprintf for safety
* feat(fsdrv) update stdio and win32
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-02-08 15:22:28 +01:00
85a582a6df
fix(conf) add missing LV_LOG_LEVEL default definition ( #2996 )
...
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration
* feat(refr) add reset of FPS statistics
* fix(conf) mismatched macro judgment
* fix(conf) add missing LV_LOG_LEVEL default definition
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-01-12 15:14:49 +01:00
89389d3c96
fix(Kconfig): adapt to lvgl's built-in demos ( #2989 )
...
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration
* feat(refr) add reset of FPS statistics
* fix(conf) mismatched macro judgment
* feat(Kconfig) adapt to lvgl's built-in demos
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-01-11 11:43:13 +01:00
828744f11d
fix(Makefile): compilation errors ( #2944 )
...
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration
* feat(refr) add reset of FPS statistics
* fix(conf) mismatched macro judgment
* fix(Makefile) compilation errors
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2022-01-10 11:17:03 +01:00
_VIFEXTech and GitHub
89df950082
chore(monkey) add the missing monkey from toctree ( #2901 )
2021-12-15 13:06:57 +01:00
5433e0bc2a
fix(ffmpeg): when disabled LV_FFMPEG_AV_DUMP_FORMAT makes av_log quiet ( #2838 )
...
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration
* feat(refr) add reset of FPS statistics
* fix(ffmpeg) when disabled LV_FFMPEG_AV_DUMP_FORMAT makes av_log quiet
Signed-off-by: _VIFEXTech <1290176185@qq.com >
* docs(ffmpeg) add example code
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2021-11-26 19:35:39 +01:00
a712443a50
feat(refr): add reset function for FPS statistics ( #2832 )
...
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration
* feat(refr) add reset of FPS statistics
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2021-11-26 12:36:00 +01:00
9233918b93
feat(Kconfig): add monitor position configuration ( #2834 )
...
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration
* feat(Kconfig) add monitor position configuration
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2021-11-26 12:20:43 +01:00
9ced5a76ec
fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration ( #2813 )
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
2021-11-19 17:40:53 +08:00
a97ac7ec8e
feat(lib) add ffmpeg video and image decoder ( #2805 )
...
* add ffmpeg decoder to extra/libs
* fix(Kconfig) add ffmpeg configuration
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
* feat(example) add ffmpeg decoder example
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
* update lv_conf_template.h
* feat(example) add picture and video to ffmpeg example
* docs(libs) update FFMpeg introduction
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
* fix(ffmpeg) replace with new videos and examples
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com >
* fix(ffmpeg) remove the include of lv_img_cache.h
* fix(ffmpeg) add LV_ASSERT_OBJ
* Update examples/libs/ffmpeg/lv_example_ffmpeg_2.c
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com >
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2021-11-19 08:49:39 +01:00
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
690b3546d6
feat(anim) add anim timeline ( #2309 )
...
* 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
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2021-07-19 13:58:58 +02:00