Xiang Xiao
3035d27d4a
chore(conf): ensure the template and generated file conform the coding style ( #2823 )
...
* fix(conf): ensure the template and generated file conform the coding style
and remove lv_conf_internal.h from the excluding list of code-format.cfg
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(conf): regenerate lv_conf_internal.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2021-11-22 09:52:26 +01:00
Xiang Xiao
2d683fab96
fix(scripts): switch all scripts to python3 ( #2820 )
...
* fix(scripts): switch all to python3
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(changelog-template.hbs): remove the duplicated message fix
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2021-11-22 09:48:38 +01:00
Xiang Xiao
425455d20f
chore(font) code clean up ( #2821 )
...
* fix(lv_symbol_def.h): LV_SYMBOL_xxx by the encode order
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(lv_symbol_def.h): change the hex number to upper case
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(font): Keep the LV_FONT_DECLARE order same as LV_FONT_xxxx
and correct the comment and format
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2021-11-22 09:47:22 +01:00
xaowang96
bfc428ecd1
fix(event): event_send_core crash in special case. ( #2807 )
...
Add or delete event callback in lv_obj_event_base, the
address of event_dsc will change, causing crash.
Change-Id: I3085a077826e4c132f8f5088d31cad1d0ffd3b9f
2021-11-19 15:32:42 +01:00
_VIFEXTech
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
Gabor Kiss-Vamosi
4bf49a82a3
docs(format) let wrap
2021-11-19 10:32:45 +01:00
_VIFEXTech
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
patricklaf
bdc6331ba6
docs(porting/display) fix formatting ( #2812 )
2021-11-18 10:45:43 -05:00
Gabor Kiss-Vamosi
cdd5128bc0
docs(event) fix lv_event_get_original_target vs lv_event_get_current_target
2021-11-17 12:23:17 +01:00
Gabor Kiss-Vamosi
318edd8a3f
feat(qrcode) use destructor instead of lv_qrcode_delete()
2021-11-16 14:07:58 +01:00
Gabor Kiss-Vamosi
85cc84ad94
feat(disp) allow decouplig the disp_refr timer
...
With this change after an lv_timer_del(disp->refr_timer); disp->refr_timer = NULL;
the user can call _lv_disp_refr_timer(NULL); anywhere to sync rendering with VSYNC or the TE signal.
lv_timer_handler() and _lv_disp_refr_timer() can not run at the same time.
2021-11-12 20:00:55 +01:00
xaowang96
25c2f53a67
fix(obj): in obj event use the current target instead of target ( #2785 )
...
When the event is bubbling, use lv_event_get_current_target
to get the obj that needs to be processed
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com >
Co-authored-by: wangxuedong <wangxuedong@xiaomi.com >
2021-11-12 15:35:25 +01:00
Gabor Kiss-Vamosi
b9a5078cd9
fix(obj) fix comments of lv_obj_set_pos/x/y
...
fixes #2792
2021-11-12 14:18:13 +01:00
guoweilkd
fa6e49df5b
fix(draw_label): radius Mask doesn't work in Specific condition ( #2784 )
2021-11-12 12:24:26 +01:00
guoweilkd
ab544696dc
example: add non-null judgment to lv_example_obj_2 ( #2799 )
2021-11-12 11:00:48 +01:00
Gabor Kiss-Vamosi
b279f63d6b
test(template) simplify _test_template.c
...
Originally added here 7278089040
but lost somehow
2021-11-11 17:36:12 +01:00
Gabor Kiss-Vamosi
075831a54c
fix(draw) border_draw crash is special case
2021-11-11 17:31:52 +01:00
guoweilkd
1167bdfd52
fix(draw_mask): will crash if get_width/height < 0 ( #2793 )
2021-11-11 17:27:05 +01:00
Vincent Hamp
bf6837f4c0
docs(events) rename LV_EVENT_APPLY to LV_EVENT_READY ( #2791 )
2021-11-11 16:51:17 +01:00
Mariotaku
742db8bdc0
Fixed unbalanced parenthesis for LV_COORD_IS_PX ( #2797 )
2021-11-11 21:08:08 +08:00
Gabor Kiss-Vamosi
77e76aab21
chore(version) update version number to v8.1.1-dev
2021-11-10 12:21:29 +01:00
Gabor Kiss-Vamosi
d38eb1e689
release v8.1
v8.1.0
2021-11-10 12:17:53 +01:00
Gabor Kiss-Vamosi
7de661a3f4
docs(changelog) update changelog with the generated data
2021-11-10 12:16:03 +01:00
Gabor Kiss-Vamosi
bf76d235e0
docs(changelog) improve changelog template
2021-11-10 12:14:20 +01:00
Bluelongshirt
9113b9d4fb
fix(bidi): add weak characters to the previous strong character's run ( #2777 )
...
* fix some errors in bidi algorithm when displaying arabic
* fix some errors in bidi algorithm when displaying arabic
* fix format error
Co-authored-by: liuxinh <liuxinh@landicorp.com >
2021-11-10 10:47:52 +01:00
guoweilkd
7e2e25a9d6
fix(draw_img): radius mask doesn't work in specific condition ( #2786 )
2021-11-10 10:39:20 +01:00
guoweilkd
1b7cc1500d
fix(border_post): ignore bg_img_opa draw when draw border_post ( #2788 )
2021-11-10 10:37:31 +01:00
Gabor Kiss-Vamosi
7bae9e3ddd
feat(event) add LV_SCREEN_(UN)LOAD_START
2021-11-10 10:13:50 +01:00
Kevin Thibedeau
09e19bb687
fix(refresh) switch to portable format specifiers ( #2781 )
...
Some platforms define uint32_t as "unsigned long" rather than "unsigned int".
The %d format specifier is mismatched and the C99 format macros are the only
portable way to handle these types.
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2021-11-09 16:03:06 +01:00
Gabor Kiss-Vamosi
462fbcbf49
feat(example) add text with gradient example
...
fixes #2778
2021-11-09 15:44:39 +01:00
Gabor Kiss-Vamosi
cc78ef4506
feat(draw) add LV_BLEND_MODE_MULTIPLY
2021-11-09 15:34:30 +01:00
Gabor Kiss-Vamosi
4c034e56e0
fix(draw) fix horizontal gradient drawing
2021-11-09 15:29:55 +01:00
Xiang Xiao
58d9645a5c
chore: replace (void)xxx with LV_UNUSED(xxx) ( #2779 )
...
and remove the redundant inclusion
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2021-11-09 13:48:02 +01:00
Kevin Thibedeau
61b0de3bdc
fix(stm32) Mark unused variable in stm32 DMA2D driver ( #2782 )
2021-11-09 15:23:38 +08:00
Gabor Kiss-Vamosi
d89a5fbbd2
fix(obj) do not set the child's position in lv_obj_set_parent
...
It's already stored in the object and will be applied later
fixes #2772
2021-11-08 15:13:51 +01:00
Xiang Xiao
ddfdccac3c
fix(conf): Make LV_COLOR_MIX_ROUND_OFS configurable ( #2766 )
...
* fix(config): check macro equal one correctly
1.remove all tabs from lv_conf_internal_gen.py
2.make the generated code align each other
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(conf): Make LV_COLOR_MIX_ROUND_OFS configurable
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2021-11-08 14:40:08 +01:00
Xiang Xiao
dfb036e42c
fix(misc): correct the comment and code style ( #2769 )
...
and remove the redundant inclusion
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com >
2021-11-08 11:28:52 +01:00
Xiang Xiao
a4978d0913
fix(color): minor fixes( #2767 )
...
* fix(color): move LV_UDIV255 to lv_math.h
since lv_math.h is better place for the computation function
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
* fix(color): replace the inifite loop with LV_ASSERT
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com >
2021-11-08 10:54:13 +01:00
guoweilkd
3bd53b984d
fix(draw_map) use existing variables instead function calls ( #2776 )
2021-11-08 10:47:57 +01:00
guoweilkd
47de6f05dc
fix(draw_img): fix typos in API comments ( #2773 )
2021-11-08 09:15:18 +01:00
guoweilkd
cbf02f8175
fix(draw_img):radius Mask doesn't work in Specific condition ( #2775 )
2021-11-08 09:02:42 +01:00
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