Commit Graph

220 Commits

Author SHA1 Message Date
qinshijing
423c288070
feat(label): LV_LABEL_WAIT_CHAR_COUNT can be configured externally (#4837)
Signed-off-by: qinshijing <qinshijing@xiaomi.com>
Co-authored-by: qinshijing <qinshijing@xiaomi.com>
2023-11-20 18:17:49 +01:00
gcopoix
5267c0b9f4
feat(drivers): add x11 driver (display/input) support (#4795)
Co-authored-by: Gregor Copoix <gregor.copoix@ithinx.io>
2023-11-15 14:08:03 +01:00
Neo Xu
d73f260002
feat(image): add custom RLE decoder (#4332)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-11-13 08:38:27 +01:00
bjsylvia
ae65f2e683
chore(Kconfig): supplement undefined configuration items in Kconfig (#4791)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-11-13 08:26:06 +01:00
bjsylvia
29c1d94c60
fix(demos): fix demos compiling error caused by font config (#4778)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-10 15:45:12 +01:00
Kenji Mouri (Qi Lu)
ffe2c1528e
feat(osal): add Windows support (#4783) 2023-11-10 13:21:30 +01:00
Zhang Ji Peng
8cf0bbb558
feat(draw): add implements vector graphic APIs (#4528) (#4691)
Signed-off-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: zhangjipeng <zhangjipeng@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-11-09 11:37:33 +01:00
lhdjply
b95d74bfcb
feat(os): add rt-thread for osal (#4746) 2023-11-03 10:54:11 +01:00
bjsylvia
406631bd92
fix(config): add config LV_USE_OS in Kconfig (#4736)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-11-02 11:00:57 +01:00
Neo Xu
0910ee0e38
feat(image decoder): decode whole image to RAM support (#4674)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-10-29 17:02:06 +01:00
bjsylvia
d98e7b27cb
feat(nuttx): add libuv mode for nuttx dev and poll for nuttx fbdev (#4683)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-10-24 15:00:47 +02:00
Niklas Fiekas
3dbb103c42
feat(dev): port evdev input driver (#4672) 2023-10-20 23:57:11 +02:00
bjsylvia
c0356c9380
chore: cleanup LV_USE_MSG (#4681)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-10-20 22:24:15 +02:00
terry.rong
505eeeaeb5
feat(draw): add SIMD draw support. #4463 (#4590)
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-10-19 10:13:17 +02:00
_VIFEXTech
afd410c1de
feat(log): add file line number printing option (#4653)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-10-11 23:30:53 +02:00
bjsylvia
17d0f568c8
feat(nuttx): refactor Nuttx porting layer (#4634)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-10-11 06:38:36 +02:00
PGNetHun
8c2fc7ec4b
chore: code and documentation cleanups, renames and fixes (#4607) 2023-09-27 12:23:40 +02:00
terry.rong
064a844d74
feat(disp): update nuttx disp framebuffer (#4591)
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-09-25 10:59:41 +02:00
Neo Xu
27357d5139
feat(obj): add obj_id, class names, and dump support (#4536)
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-09-25 10:58:36 +02:00
_VIFEXTech
9937138392
feat(libs): add libpng decoder (#4569)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-09-25 10:28:35 +02:00
_VIFEXTech
c4c4627ae0
feat(libs): add libjpeg-turbo decoder (#4567)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-09-22 10:43:59 +02:00
nicusorcitu
733e11d86d
feat(vglite, pxp): add beta version of NXP's PXP and VG-Lite acceleration (#4568)
Signed-off-by: Nicușor Cîțu <nicusor.citu@nxp.com>
2023-09-20 12:32:24 +02:00
_VIFEXTech
e53cd59fcb
chore(libs/jpg): rename lv_jpg to lv_tjpgd (#4573)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-09-20 10:38:47 +02:00
_VIFEXTech
45fb2148d5
chore(libs/png): rename lv_png to lv_lodepng (#4574)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-09-20 10:30:04 +02:00
Gabor Kiss-Vamosi
0721884ee9 refactor: disp->display, res->result/resolution, hor/ver->horizontal/vertical, txt->text, angle->rotation, zoom->scale 2023-09-18 22:57:30 +02:00
Carlos Diaz
5c1fc63647
feat(scale): add the lv_scale widget (#4196)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2023-08-31 15:09:40 +02:00
bjsylvia
da02c6314c
chore(multilang): add Kconfig for multilang (#4480)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-08-24 11:07:18 +02:00
bjsylvia
35a90983d4
chore(Kconfig): add LV_DEF_REFR_PERIOD config (#4483)
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-08-24 11:05:12 +02:00
Gabor Kiss-Vamosi
0b83a82a07 feat(multi-instance): collect all the global variables into a struct to allow running multiple instances of LVGL
Closes #4358
2023-08-19 01:42:37 +02:00
Peter Bee
ea6d27682b
fix(Kconfig): add Kconfig for draw buf alignments and obj. style cache (#4457)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-08-16 22:22:29 +02:00
faxe1008
4ff76dffa1
fix(kconfig): Change LV_CONF_SKIP default value (#4455)
Signed-off-by: Fabian Blatz <fabianblatz@gmail.com>
2023-08-15 12:22:32 +02:00
bjsylvia
67ca457a07
fix: fix typos (#4451)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
2023-08-14 16:49:30 +02:00
yushuailong
933db950bb
feat: add config set LV_WIDGETS_HAS_DEAFULT_VALUE (#4371)
Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com>
Co-authored-by: yushuailong1 <yushuailong1@xiaomi.com>
2023-07-19 15:09:06 +02:00
Peter Bee
2cdd41345a
feat(dev): add nuttx lcd driver (#4377)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-07-17 08:03:33 +02:00
Peter Bee
0aa856aeb7
feat(driver): add NuttX fbdev and touchscreen support (#4360) 2023-07-13 20:31:33 +02:00
Peter Bee
36c5f19c95
fix(kconfig): update Kconfig and lv_conf_kconfig.h (#4338)
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
Signed-off-by: Peter Bee <pbjd97@gmail.com>
2023-07-09 23:27:32 +02:00
_VIFEXTech
06b3b62475
feat(profiler): add built-in profiler (#4255)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Co-authored-by: W-Mai <1341398182@qq.com>
2023-06-05 16:53:57 +02:00
_VIFEXTech
fa5388a38b
fix(profiler): fixed inability to disable and add new measurement points (#4224)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-05-18 13:02:17 +02:00
_VIFEXTech
540c028d60
feat(profiler): add performance profiler hook (#4211)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-05-11 11:10:47 +02:00
_VIFEXTech
4658c27f37
refact(monitor): refact system monitor component (#4195)
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
2023-05-02 10:40:13 +02:00
_VIFEXTech
9b5f7d91af
feat(refr): implement the monitor component (#4121)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-05-01 09:56:53 +02:00
_VIFEXTech
afe29b7dab
refact(user_data): remove LV_USE_USER_DATA configuration (#4056)
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-03-14 14:34:56 +01:00
Mr.9You
699eca1542
fix(Kconfig): Fix wrong type of LV_FS_STDIO_CACHE_SIZE (#3898) 2023-01-05 21:11:15 +01:00
_VIFEXTech
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
wrgallo-navitas
5cdf242a21
fix(msg): able to create/delete msgs during notify (#3847)
Co-authored-by: wrgallo <28547933+wrgallo@users.noreply.github.com>
2022-12-11 12:02:31 +01:00
_VIFEXTech
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
_VIFEXTech
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
_VIFEXTech
8ff87647da
feat(tlsf): add memory pool expansion support (#3757)
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-10-26 10:36:26 +02:00
_VIFEXTech
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
_VIFEXTech
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
_VIFEXTech
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
Yobe Zhou
f09c04b935
feat(file_explorer): add API to use file explorer (#3601)
Co-authored-by: 100ask <team100ask@outlook.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-09-04 16:57:15 +02:00
_VIFEXTech
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
Xiang Xiao
343c61375b
fix(config): remove LV_DISP_DEF_REFR_PERIOD related stuff (#3512)
* fix(config): remove LV_DISP_DEF_REFR_PERIOD related stuff

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

* fix(config): remove LV_INDEV_DEF_READ_PERIOD related stuff

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-23 00:27:48 +02:00
Xiang Xiao
9ed5b3fe06
Sync up Kconfig with lv_config_template.h (#3508)
* fix(config): remove LV_COLOR_16_SWAP related stuff

follow commit 5369d7d473

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

* fix(config): remove LV_COLOR_SCREEN_TRANSP related stuff

follow commit 5369d7d473

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-20 11:29:34 +02:00
_VIFEXTech
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
Xiang Xiao
2fd2b6e4ed
fix(config): remove LV_FONT_CUSTOM_DECLARE from Kconfig (#3495)
since the code doesn't expect it's type is string

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-07-18 15:26:51 +02:00
100ask
10e0b7a1ad
feat(ime_pinyin): add API to support 9-key input mode (#3447)
* feat(ime_pinyin): add API to support 9-key input mode

* some optimizations for lv_ime_pinyin

* Update lv_example_ime_pinyin_2.c

* Update src/extra/others/ime/lv_ime_pinyin.h

Co-authored-by: YobeZhou <smilezyb@163.com>
Co-authored-by: Yobe Zhou <33565334+YobeZhou@users.noreply.github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-07-06 09:04:53 +02:00
_VIFEXTech
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
Gabor Kiss-Vamosi
f3a07a3e8a fix(Kconfig): allow unchecking LV_CONF_SKIP
fixes: #3441
2022-07-04 14:30:10 +02:00
Yobe Zhou
92f1f9c0cc
feat(ime_pinyin): add API to use Pinyin IME(Chinese input) (#3408)
* feat(pinyin_ime): add API to use Pinyin IME(Chinese input)

1.Low resource usage
2.Support custom thesaurus
3.Support custom styles (Candidate panel, keyboard)
4.Support simple spelling

* fix(ime_pinyin): fix several problems of ime_pinyin

1. Change lv_pinyin_ime to lv_ime_pinyin
2. Add lv_pinyin_ime_set_keyboard interface
3. Add lv_ime_pinyin configuration in Kconfig, src/lv_conf_internal.h

* refactor(ime_pinyin): improve coding specification

* feat(ime_pinyin): add simple Pinyin IME example

* docs(ime_pinyin): Add ime_pinyin documentation

* Delete settings.json

* Update dictionary based on simsun

* Delete lv_font_source_han_sans_normal_16.c

* Update lv_example_ime_pinyin_1.c

* Update ime_pinyin.md

add Chinese translation document

* Update lv_ime_pinyin.c

* Update lv_ime_pinyin.c

* Update lv_ime_pinyin.h

* Update lv_ime_pinyin.c

* Update lv_example_ime_pinyin_1.c

* Update lv_conf_internal.h

* Update lv_ime_pinyin.c

* Update lv_ime_pinyin.c

Co-authored-by: 100askTeam <team100ask@outlook.com>
2022-06-24 14:38:24 +02:00
Gabor Kiss-Vamosi
3b95fa8397 chore: fix Kconfig 2022-06-23 13:02:26 +02:00
Gabor Kiss-Vamosi
afaa8c9300 demo(benchmark): add LV_DEMO_BENCHMARK_RGB565A8 option
fixes #3379
2022-06-23 11:51:20 +02:00
Xiang Xiao
58b75f1175
fix(config): add LV_GPU_SDL_LRU_SIZE (#3348)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-12 12:41:41 +02:00
Xiang Xiao
c7ca38f1d5
fix(config): add LV_LAYER_SIMPLE_BUF_SIZE to Kconfig (#3312)
* fix(config): add LV_LAYER_SIMPLE_BUF_SIZE to Kconfig

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

* fix(config): remove LV_USE_EXTERNAL_RENDERER which is unused anymore

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-04 21:02:34 +02:00
Xiang Xiao
e827207080
fix(config): Keep the sequence of widget in order (#3314)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-04 21:00:49 +02:00
Xiang Xiao
da9e53c2f4
fix(config): fix typo in LV_USE_PERF_MONITOR and LV_USE_MEM_MONITOR (#3313)
and order macro in lv_conf_kconfig.h as Kconfig and lv_conf_template.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-04 20:59:55 +02:00
woody
07b7eea56c
feat(gpu): add SWM341 gpu support (synwit)
* Update lv_gpu_stm32_dma2d.c

fix stm32 DMA2D blend。

* add SWM341 DMA2D support for lvgl

* add SWM341 DMA2D support for lvgl

* add SWM341 DMA2D support for lvgl

* add SWM341 DMA2D support for lvgl

* add SWM341 DMA2D support for lvgl
2022-04-25 15:13:19 +02:00
ZiyangYE
95620285bd
fix(Kconfig): change the type of LV_FS_STDIO_LETTER from string to int (#3282) 2022-04-25 13:07:58 +02:00
Arno Moonen
016099e09c
fix(Kconfig): Add LV_USE_GRIDNAV and LV_USE_FRAGMENT to Kconfig (#3270)
Co-authored-by: Arno Moonen <arno.moonen@airios.eu>
2022-04-13 15:38:20 +02:00
Xiang Xiao
7c6f98146d
chore(kconfig): minor fix for Kconfig (#3215)
* chore(Kconfig): remove "!= 0" from "depends on LV_USE_FS_XXX != 0"

since all LV_USE_FS_XXX is bool variable, "depends on LV_USE_FS_XXX" is enough

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

* chore(Kconfig): select LV_USE_IMG for LV_USE_CANVAS

since canvas depends on image

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-30 13:09:48 +02:00
Xiang Xiao
7d968bda8b
chore(config): change LV_FFMPEG_AV_DUMP_FORMAT to LV_FFMPEG_DUMP_FORMAT (#3199)
ensure all ffmpeg special config start with the prefix(LV_FFMPEG_)

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-24 22:13:06 +01:00
guoweilkd
061b6b5441
fix(Kconfig): move LV_USE_IMGFONT to others menu (#3176) 2022-03-17 16:00:47 +01:00
guoweilkd
7713327d61
feat(font): add imgfont - can be used to add emojis to label/span (#3160)
* feature(font): draw img in label/span

* add to tests

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-03-17 10:18:14 +01:00
Gabriel Wang
a0153182b8
feat(gpu): add gpu arm2d (#3162)
* feat(gpu): add support for arm-2d

* fix(hal): fix typos

* feat(cmsis-pack): v1.0.2-alpha2 for monthly update

* update format for lv_gpu_arm2d.c

* Update LVGL.lvgl.1.0.2-alpha1.pack
2022-03-16 10:26:12 +01:00
Jackson Ming Hu
04aca9dae3
fix(Kconfig): add missing LV_USE_THEME_MONO (#3146) 2022-03-04 20:55:05 +01:00
Amir Gonnen
a4c235a93e
fix(kconfig): add missing default values (#3050)
Related: https://github.com/lvgl/lv_micropython/runs/4958046580?check_suite_focus=true
2022-01-28 11:33:17 +01:00
Gabor Kiss-Vamosi
71c739cc2d fix(config): fix anonymus choice
realted to #2955
2022-01-24 21:41:42 +01:00
Adrian Schnyder
abba1c351a feat(fs): add caching option for lv_fs-read (#2979)
BREAKING CHANGE:
The `LV_FS_...` related configs needs to be updated.

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-24 20:52:37 +01:00
X-Ryl669
923defd6b6
fix(gradient): general cleanup and fix for alignment issues (#3036)
* Try to fix ASAN behavior

* improve alignments

* fix buffer overflow and various other fixes

* minor fixes

* formatting

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-24 15:47:47 +01:00
ckielstra
febafd1cc7
chore: many trivial spelling and layout fixes (#3008)
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2022-01-17 08:10:23 -05:00
Tomas Rezucha
e7a0f3b99c
fix various issues for esp32 (#3007)
* kconfig: Fix invalid dependancy in fsdrv

LV_USE_FS_* symbols are integers, instead of usual booleans.
We must treat them as such.

* ci: Get LVGL version from git tag

* docu: Update Espressif readme

* ci run apt update before installing
2022-01-14 12:47:49 -05:00
_VIFEXTech
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
_VIFEXTech
8a2c670be4
feat(others) add monkey test (#2885)
* fix(Kconfig) remove duplicate LV_BUILD_EXAMPLES configuration

* feat(refr) add reset of FPS statistics

* fix(conf) mismatched macro judgment

* feat(others) add monkey test

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

* fix(monkey) use lv_memset_00 to initialize monkey config

* fix(monkey) random upper limit value

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

* feat(examples) add monkey test example

* feat(docs) add monkey test description

* feat(monkey) add user_data

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

* docs(monkey) add instructions

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

* fix(monkey) EX -> EXAMPLE

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

* feat(monkey) add comments to monkey config

* docs(monkey) update usage

* feat(Kconfig) add monkey test configuration

* fix(monkey) rand() -> lv_rand()

* feat(example) add button monkey test

* docs(monkey) add button introduction

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

* fix(monkey) obj -> monkey

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

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2021-12-14 20:55:45 +01:00
guoweilkd
92da356bc4
feat(Kconfig): add FreeType config (#2846)
Change-Id: I581af22e639c124407ff003f17aaf76d413bba41
2021-11-30 19:01:36 +01:00
HX2003
ad947d3085
feat(widgets): add menu widget (#2603)
* add menu widget

* Update lv_example_widgets.h

* fix errors

* Update lv_menu.c

* try to fix errors

* micropython

* Fix colons

* Simplify and optimise

* Refactor

* Update lv_example_menu_3.c

* Update lv_example_menu_3.c

* Add simple micropython examples

* Improvements

* Automatically set clickable flags

* Custom header example

* Include example

* Refactor again

* Fix error

* Fix error

* Add back micropython example

* Hide back btn by default

* Add config

* Fix spacing

* Fix spacing

* Docs

* Update lv_theme_default.c

* Remove shaded text

* Improve clarity

* Create index.rst

* Update custom header example

* Change lv_menu_set_mode_sidebar to lv_menu_set_sidebar_page

* Fix unused variable

* Added ability to set title to page

* Flex

* Simplify sidebar check

* Rename mode and update header btn

* Run lv_conf_internal_gen.py

* Run code-format.sh

* Add contributors

* Micropython example 3

* Micropython example 4

* Improve docs
2021-11-29 11:33:34 +01:00
_VIFEXTech
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
_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
_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
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
_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
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
03fff13f62
feat(rlottie) add LVGL-Rlottie interface as 3rd party lib (#2700) 2021-10-22 15:44:43 +02:00
Kenji Mouri
bbad478ce6
feat(fsdrv) add driver based on Win32 API (#2701) 2021-10-20 11:35:11 +02:00
Xiang Xiao
4baaa6fe07
fix(kconfig) sync Kconfig with the latest lv_conf_template.h (#2662)
* fix(conf): correct LV_USE_EXTERNAL_RENDERER and LV_USE_GPU_SDL related setting

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

* fix(Kconfig): typo error in the font and theme related setting

and correct the default value and sequence

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

* fix(Kconfig): Add the missing misc config

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

* fix(Kconfig): sync widget and theme in Kconfig with lv_conf_template.h

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

* fix(Kconfig): add the option for 3rd party library and examples

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-15 11:34:16 +02:00
Xiang Xiao
7124ef7761
fix(conf) make a better style alignment in lv_conf_internal.h (#2652)
and reorder Kconfig and src/lv_conf_kconfig.h as lv_conf_template.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-12 18:15:05 +02:00
Xiang Xiao
c9e3760464
fix(config): remove the nonexistent Kconfig (#2654)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-11 14:02:59 +02:00
Xiang Xiao
6694d9d019
fix(Kconfig): add LV_MEM_ADDR config (#2653)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-11 13:58:47 +02:00
Carlos Diaz
480ee77911
Kconfig: Add missing options (#2597)
* Kconfig: Add option for LV_USE_GPU_SDL

Default is n or 0

* Kconfig: Add option for LV_CIRCLE_CACHE_SIZE
2021-09-28 09:41:10 +02:00
Xiang Xiao
c6e8ee5002
fix(Kconfig) fix the comment in LV_THEME_DEFAULT_DARK (#2524)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-09-03 14:50:42 +02:00
ckielstra
5249a34d5d
docs more spelling fixes (#2499) 2021-08-27 12:15:39 +02:00
Levente Tamas
980a95ce5d
kconfig: minor fix for default dark theme option (#2426)
Changes the name of the CONFIG variable from
LV_THEME_DEFAULT_PALETTE_LIGHT to LV_THEME_DEFAULT_DARK.
Most likely it should have been included in
4f46336a54
2021-08-02 11:50:30 +02:00
Seb Fagard
00c3eb197c fix(pxp): update RTOS macro for SDK 2.10
replace FSL_RTOS_FREE_RTOS by SDK_OS_FREE_RTOS in order to be aligned
with MCU SDK 2.10.
See MCUX-41577.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
2021-06-21 10:53:38 +02:00
guoweilkd
9fc556a90b
add span widget (#2227)
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-05-13 17:42:33 +02:00
ZhaoQiang-b45475
8f083a34fa
Extra: widgets: add a new widget animation image (#2167)
* Extra: widgets: add a new widget animation image

This widget is a combination of img and animation,
could achieve animation effects by
constantly switching a series imgs.

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
Signed-off-by: Hui Song <hui.song_1@nxp.com>
Signed-off-by: Xiaolin He <xiaolin.he@nxp.com>

* example: add animimg example

Signed-off-by: Qiang Zhao <qiang.zhao@nxp.com>
2021-05-07 14:50:48 +02:00
embeddedt
a4f5e14302
fix(kconfig) remove dependency for LV_COLOR_CHROMA_KEY_HEX
forward port of #2234
2021-05-05 11:16:21 -04:00
Carlos Diaz
1ad767b152 fix(kconfig) update Kconfig to match LVGLv8 options (#2170)
* Kconfig: Remove LV_HOR_RES_MAX and LV_VER_RES_MAX options

* Kconfig: Remove LV_USE_ANIMATION

* Kconfig: Remove LV_USE_GROUP

* Kconfig: Remove LV_USE_FILESYSTEM

* Kconfig: Add LV_USE_MEM_MONITOR

* Kconfig: Add LV_USE_REFR_MONITOR

* Kconfig: Add Layouts menu, missing descriptions

* Kconfig: Update themes menu

* Kconfig: Create and update Color settings menu

* Kconfig: Update Memory settings menu

* Kconfig: Create and update HAL Settings menu

* Kconfig: Remove LV_ANTIALIAS option

* Kconfig: Create and update Drawing menu

Remove unused options

* Kconfig: Create and update GPU menu

* Kconfig: Create and update Logging menu

* Kconfig: Create and update Asserts menu

* Kconfig: Create and update Others menu

* Kconfig: Create and update Compiler settings menu

* Kconfig: Remove Image decoder and cache menu

* Kconfig: Update Hal settings menu

* Kconfig: Adds LV_USE_FONT_COMPRESSED option

* Kconfig: Update Widget usage menu

* Kconfig: Create and update Extra components menu

* Kconfig: Remove string-function options

It will cause compilation failure when they're used as strings.

* Kconfig: Add description to LV_USE_FLEX and LV_USE_GRID

* Kconfig: Update default font usage

* lv_conf_kconfig: Remove Color selection section

* lv_conf_kconfig: Update Default font section

* lv_conf_kconfig: Remove ext click area section

* lv_conf_kconfig: Remove linemeter precise section

* lv_conf_kconfig: Remove sprintf disable float section

* lv_conf_kconfig: Remove theme selection section

* lv_conf_kconfig: Remove spinner def anim section

* Kconfig: Fix typo

* Kconfig: Fix chroma key value setting

* Kconfig: Update header version
2021-04-06 20:48:57 +02:00
Xiang Xiao
8dd3c76305 fix(build): remove lv_ prefix from path 2021-03-23 23:30:32 +08:00
Xiang Xiao
b35c67c8b6
Various fix for gc module (#2102)
* fix(gc): remove the unused variables from gc

* fix(gc): correct typo(from _lv_img_defoder_ll to _lv_img_decoder_ll)

* fix(gc): change _lv_drv_ll to _lv_fsdrv_ll

since only instances fo lv_fs_drv_t can be added to this list

* fix(gc): Iterate the root variables only when they are really used

to save the memory space

* fix(image cache): move cache_temp to gc.h

and rename it to _lv_img_cache_single
2021-03-01 13:18:57 +01:00
Gabor Kiss-Vamosi
b75a8d43b0 Update dev version 2021-02-16 15:35:44 +01:00
Gabor Kiss-Vamosi
5247094727 Release v7.10.1 2021-02-16 15:25:31 +01:00
Carlos Diaz
fd74f6985a
Kconfig: Add comments to primary and secondary colors (#2048) 2021-02-08 10:41:51 +01:00
Xiang Xiao
c9b97feea8
fix(formatting): various improvements (#2028)
* fix(formatting): Remove the duplicated space

* fix(formatting): Remove the duplicated 'the'

* fix(spell): run codespell -w for the code base
2021-01-17 09:03:31 -05:00
Xiang Xiao
c20d5d81f2
Minor fix found in Kconfig (#2005)
* Trim trailing whitespace from Kconfig

* Replace all tab to space in Kconfig

* Add more dependence between opions to Kconfig

* Add LV_USE_FONT_SUBPX for LV_FONT_SUBPX_BGR in Kconfig

* Fix typo error(LV_USE_DROPBOX->LV_USE_DROPDOWN) in Kconfig

* Remove LV_THEME_MATERIAL dependence from the child of LV_THEME_DEFAULT_FLAG

since LV_THEME_DEFAULT_FLAG already depends on LV_THEME_MATERIAL

* Rename LV_MEM_SIZE_BYTES to LV_MEM_SIZE_KILOBYTES

since this opion use KiB as the unit
2021-01-11 14:38:17 +01:00
liebman
6dd1884228
Fix kconfig warnings (#1967)
* quote string defaults for Kconfig values to eliminate warnings

* don't add \ in default for LV_TICK_CUSTOM_SYS_TIME_EXPR
(tho its needed on linux and MacOS) as I can't test on Windows
2020-12-30 16:54:38 +01:00
Mattia Maldini
62d21734d9
Improved ESP-IDF integration (#1961)
* Removed LV_CONF_SKIP definition from CMake to avoid redefinition warnings; added more Kconfig options

* Bumped up version and removed unnecessary default values

* Added user data configuration to KConfig

* Moved user data options to "Feature Usage" menu
2020-12-20 13:34:48 +01:00
nazar01
568c2ee688
Spelling, docs fixing, and cosmetic code fixing (#1944)
* Spelling and docs fixes

* Fix #endif comments

* Fix function declarations (fix param names and remove duplicate)
2020-12-02 11:25:15 +01:00
Carlos Diaz
bf08ff444e
Update Kconfig. (#1917)
* Kconfig: Add missing _HEX to LV_COLOR_TRANSP option.

* lv_conf_checker: Define LV_CONF_SKIP if CONFIG_LV_CONF_SKIP is defined.

* fix(indev): disabled object shouldn't absorb clicks but let the parent to be clicked

* Update README.md

* fix(arabic): support processing again alraedy processed texts with _lv_txt_ap_proc

* fix(textarea): support Arabic letter connections

fixes #1888

* Fix #1924: incorrect date on changelog

December 1st is two weeks from 7.7.2 release.

* Kconfig: Fix LV_CONF_MINIMAL related options.

* fix(arabic): support Arabic letter connections

fixes #1920

* fix(arabic): support Arabic letter connections in value string property

* Update CHANGELOG.md

* Update CHANGELOG.md

* Kconfig: Add Zephyr specific code.

* fix: fix double include in lv_obj.c

fix #1926

* Removed trailing semi-colon from macros (#1928)

* Removed commented out test definition

Removed commented out test definition LV_BUILD_TEST

* Remove blank line

* Fix comment spelling

* Added blank line

* Removed trailing semi-colon in macros

* fix(indev): in LV_INDEV_TYPE_BUTTON recognize 1 cycle long presses too

Fixes https://forum.lvgl.io/t/bug-in-indev-button-proc-misses-buttons-that-are-pressed-for-a-single-callback/3699

* fix(arc): make arc work with encoder

fixes https://forum.lvgl.io/t/lv-arc-with-encoder-lv-group/3769

* fix(slider): adjusting the left knob too with encoder

https://forum.lvgl.io/t/slider-with-2-knobs-and-encoder-functionality/3770

* fix(arc_draw): remove statments that do nothing

fix #1930

* Change LV_DRAW_BUF_MAX_NUM to LV_MEM_BUF_MAX_NUM (#1931)

* Update CHANGELOG.md

* fix(draw polygon): join adjacent points if they are on the same coordinate

* fix(draw polygon): fix memory leak and vertex joining

* fix(style): invalidate cache on every PART

Inherited properties on parts other than MAIN  needs to be recached on property change beacuse they
are inherted from MAIN

fixes #1933

* fix(anim): fix bounce path

* fix(slider): do not let edit left knob in non-range mode

* Update ROADMAP.md

* Fix hardfault when DCache is disabled with no callback (#1935)

* fix(linemeter): fix invalidation when setting new value

The old complex but more optimal invalidation was buggy in some cases

fixes #1904

* fix(linemeter): fix invalidation when setting new value

The old complex but more optimal invalidation was buggy in some cases

fixes #1904

* fix(table): add missing invalidation when changeing cell type

fixes https://forum.lvgl.io/t/bug-of-table-click-to-change-style/3842

* CMakeLists.txt: Let the user configure whether LV_ATTRIBUTE_FAST_MEM is IRAM_ATTR (#1939)

* fix(slider): fix left/right knob control with encoder

* fix(img): increase the size of invalidated area in lv_img_set_zoom

Becasue of the pivot placement there can be some rounding errors

* feat(perf_monitor): add lv_refr_get_fps_avg()

* Add 8px and 10px montserrat fonts to build (#1941)

* Fix #1942: lv_textarea_set_pwd_mode not changing to bullets

Thanks to @fvanroie for investigating.

* fix(material): make button pressed color darker (#1940)

* simplify touch handling in the Arduino example

* Update ROADMAP.md

* Update ROADMAP.md

* feat(lv_conf_kconfig): add LV_CONF_KCONFIG_EXTERNAL_INCLUDE

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
Co-authored-by: xennex22 <25083624+xennex22@users.noreply.github.com>
Co-authored-by: incity <610455681@qq.com>
Co-authored-by: Andrey <spirit@spirit.re>
Co-authored-by: defogprog <22955033+defogprog@users.noreply.github.com>
2020-12-01 15:04:20 +01:00
Carlos Diaz
3c55dfb672
CMakeLists.txt: Let the user configure whether LV_ATTRIBUTE_FAST_MEM is IRAM_ATTR (#1939) 2020-11-27 13:17:15 -05:00
Carlos Diaz
16567f5705
Add Kconfig (#1875)
* Kconfig: Add first revision of Kconfig.

* Kconfig: Let the user edit LV_COLOR_TRANSP directly.

* Kconfig: Define CONFIG_LV_CONF_SKIP.

* Kconfig: Let the user edit LV_THEME_DEFAULT_COLOR_PRIMARY and LV_THEME_DEFAULT_COLOR_SECONDARY directly.

* Kconfig: add LV_CONF_MINIMAL

* Kconfig: Expose LV_CONF_MINIMAL option.

* Kconfig: Fix LV_CONF_SKIP missing type.

* Remove garbage files

* lv_conf_kconfig: Fix wrong check for LV_THEME_DEFAULT_COLOR_PRIMARY and SECONDARY symbols.

* Add Unscii 16 options.

* Multiply LV_MEM_SIZE by 1024

* Fix message on API compability options

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2020-11-16 12:49:48 +01:00