lion2tomato
9b64df0b74
chore: fix warning ( #5065 )
...
```bash
CC:
lvgl/lvgl/src/draw/lv_draw_buf.c
lvgl/lvgl/src/dev/nuttx/lv_nuttx_entry.c: In function 'lv_global_default':
lvgl/lvgl/src/dev/nuttx/lv_nuttx_entry.c:73:12: error: 'data' may be used uninitialized in this function [-Werror=maybe-uninitialized]
73 | return data;
```
Signed-off-by: lijianjun <lijianjun@xiaomi.com>
Co-authored-by: lijianjun <lijianjun@xiaomi.com>
2023-12-20 15:01:18 +08:00
Benign X
ccc63521d0
fix(lv_canvas): fix undefined behavior ( #5059 )
...
```bash
Left shift of 255 by 24 places cannot be represented in type 'int'
at 0x102d47f44 lv_canvas_fill_bg (lv_canvas.c:310)
at 0x102812b30 canvas_basic_render(unsigned char*, unsigned char, char const*, char const*) (main.cpp:38)
at 0x102811fd4 canvas_blend_test(_lv_obj_t*, _lv_draw_image_dsc_t*, char const*, char const*, unsigned char, unsigned int) (main.cpp:108)
at 0x102814f50 canvas_draw(char const*, unsigned char) (main.cpp:154)
at 0x102814858 test_xrgb8888() (main.cpp:162)
at 0x10281536c main (main.cpp:218)
at 0x18d0790dc
```
2023-12-20 14:17:19 +08:00
Neo Xu
ac3c623abd
chore: fix warning of typedef redefinition ( #5063 )
...
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2023-12-20 14:14:23 +08:00
Neo Xu
5e3fb68835
refactor(image): add magic to image header ( #5051 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-19 12:54:30 +01:00
Neo Xu
08803f9a11
refactor(drawbuf): eliminate clear/copy buffer callbacks ( #5052 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-19 11:55:59 +01:00
Neo Xu
29f04f5443
chore: rename _unaligned to avoid MSVC compile issue ( #5028 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-19 11:55:31 +01:00
Neo Xu
76d7b3dd70
chore(image): remove useless check ( #5050 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-19 11:53:37 +01:00
_VIFEXTech
4a58f6d290
fix(vg_lite): fix build break ( #5048 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-19 13:18:43 +08:00
_VIFEXTech
5c4c41e3d0
Merge pull request #5032 from FASTSHIFT/fix_draw_sw_vector
...
fix(draw_vector): fix build break when thorvg disabled
2023-12-19 10:36:30 +08:00
Gabor Kiss-Vamosi
1152a62ea4
fix(sysmon): fix incorrect render time calcualtion
2023-12-18 21:20:48 +01:00
Gabor Kiss-Vamosi
9b67c5ba67
fix(dave2d): fix various smaller issues ( #5043 )
...
Co-authored-by: Jeremy Baker <jeremy.baker@renesas.com>
See https://github.com/lvgl/lv_renesas/issues/3
2023-12-18 21:15:15 +01:00
Gabor Kiss-Vamosi
1f86e1ed80
fix(dave2d): fix image rendering
2023-12-18 20:46:40 +01:00
Gabor Kiss-Vamosi
34f444e327
chore(draw): optimize lv_draw_sw_rgb565_swap
2023-12-18 20:24:40 +01:00
Neo Xu
347b5eb23d
feat(decoder): use shift and mask to deal with rounding error ( #5042 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 20:16:33 +01:00
Xu Xingliang
8af0cfa7aa
chore(examples): use draw buffer for canvas
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 20:13:46 +01:00
pengyiqiang
3ff5f97651
feat(canvas): use draw buffer for canvas
...
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 20:13:46 +01:00
Neo Xu
8e7fb71bdb
chore(anim): use const lv_anim_t for get methods ( #5024 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 20:13:02 +01:00
Gabor Kiss-Vamosi
7b9f9a9f9e
chore: fix false positive warning
2023-12-18 17:25:48 +01:00
Gabor Kiss-Vamosi
a720948aa1
fix(draw): fix off by one scaling issue o nthe left and bottom
...
fixes #4993
2023-12-18 17:06:00 +01:00
_VIFEXTech
9fc6801860
feat(draw): add vg-lite draw unit ( #5010 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-18 14:17:42 +01:00
Gabor Kiss-Vamosi
b172c64a8c
docs: fix syntax
2023-12-18 13:51:35 +01:00
Neo Xu
db905eec15
feat(draw_buf): remove legacy lv_draw_buf_go_to_xy ( #5035 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 13:34:44 +01:00
Gabor Kiss-Vamosi
35d4100bca
chore: fix code formatting
2023-12-18 13:30:40 +01:00
lhdjply
1d170a6be5
chore(api): update lv_api_map.h ( #5038 )
...
Signed-off-by: lhdjply <lhdjply@126.com>
2023-12-18 13:27:40 +01:00
Benign X
a29d11b894
fix(bin_decoder): add missing cache_data_type register ( #5017 )
2023-12-18 13:27:16 +01:00
Gabor Kiss-Vamosi
b54549cae4
chore(demo_benchmark): make the table widget local
...
fixes #5025
2023-12-18 13:21:25 +01:00
_VIFEXTech
15d273be7b
fix(area): fix narrowing conversion error ( #5031 )
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-18 13:08:29 +01:00
Neo Xu
a8312d2b6c
feat(snapshot): create draw buf for snapshot image ( #5030 )
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-12-18 13:08:09 +01:00
lhdjply
62801b5422
chore(README): follow naming changes in README ( #5036 )
...
Signed-off-by: lhdjply <lhdjply@126.com>
2023-12-18 13:07:28 +01:00
pengyiqiang
63953a0717
fix(draw_vector): fix build break when thorvg disabled
...
```
lvgl/demos/lv_demos.c:74:37: error: ‘lv_demo_vector_graphic’ undeclared here (not in a function)
74 | { "vector_graphic", .entry_cb = lv_demo_vector_graphic },
| ^~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: lib/liblvgl.a(lv_draw_sw.c.o): in function `execute_drawing':
lvgl/src/draw/sw/lv_draw_sw.c:338: undefined reference to `lv_draw_sw_vector'
```
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2023-12-18 12:22:35 +08:00
Gabor Kiss-Vamosi
3ececbfc93
chore: CHANGELOG fixes
2023-12-16 18:23:03 +01:00
Gabor Kiss-Vamosi
21c2c0c168
docs: add v9 CHANGELOG
2023-12-16 17:02:48 +01:00
Gabor Kiss-Vamosi
823721c56f
Update ROADMAP.rst
2023-12-15 22:36:58 +01:00
Gabor Kiss-Vamosi
25cbfd9d51
fix: follow naming changes in Kconfig
2023-12-15 18:19:24 +01:00
Gabor Kiss-Vamosi
5988c56b40
feat(display): add LV_EVENT_COLOR_FORMAT_CHANGED
2023-12-15 16:48:06 +01:00
Gabor Kiss-Vamosi
3e769a8ecf
feat(tick): add lv_delay
2023-12-15 16:48:06 +01:00
_VIFEXTech
6bdadad1f3
chore: fix warning when log disable ( #5018 )
...
Signed-off-by: FASTSHIFT <vifextech@foxmail.com>
2023-12-15 16:03:08 +01:00
Gabor Kiss-Vamosi
9264b50c18
docs: update API comments
2023-12-15 12:16:06 +01:00
Gabor Kiss-Vamosi
3fa47263c8
refactor: rename LV_THEME_BASIC to LV_THEME_SIMPLE
2023-12-15 09:13:05 +01:00
terry.rong
b773abbb08
fix(decoder):optimize the logic of bin decoder ( #5016 )
...
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-12-15 08:45:52 +01:00
Gabor Kiss-Vamosi
640a125da6
fix(anim): fix speed to time conversation
2023-12-14 21:51:48 +01:00
Gabor Kiss-Vamosi
9cd016d958
demo(benchmark): add summary
2023-12-14 21:39:52 +01:00
Gabor Kiss-Vamosi
de4c9b0b15
fix(scroll): fix incorrect scroll postion on release
2023-12-14 21:38:50 +01:00
Gabor Kiss-Vamosi
0d60129469
feat(draw): add generic draw image helpers ( #5008 )
2023-12-14 18:46:42 +01:00
Benign X
492a474f5f
feat(lv_math): add lv_rand_set_seed api ( #5013 )
2023-12-14 14:22:54 +01:00
Gabor Kiss-Vamosi
cad4a4529c
refactor: lv_anim_set_playback_time -> lv_anim_set_playback_duration
2023-12-13 22:23:12 +01:00
Gabor Kiss-Vamosi
d5daccdd48
docs: update API comments
2023-12-13 22:23:03 +01:00
yushuailong
636aba8c34
fix(label): fix rtl txt long dots not show all ( #4962 )
...
Signed-off-by: yushuailong1 <yushuailong1@xiaomi.com>
Co-authored-by: yushuailong1 <yushuailong1@xiaomi.com>
2023-12-13 16:13:24 +01:00
Benign X
f9135d5498
feat(lv_rb): add drop_node and remove_node api ( #4996 )
2023-12-13 15:58:35 +01:00
jianglianfang
ebcdb26e29
fix(indev): change LV_EVENT_LONG_PRESSED to code ( #5000 )
...
Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
2023-12-13 15:48:57 +01:00