Gabor Kiss-Vamosi
48ee005d4d
fix(format): fix lv_conf_internal.h formatting by pre-commit hook
...
fixes #3585
2022-08-25 21:33:56 +02:00
Gabor Kiss-Vamosi
7f0f826c5e
fix(spinbox): fix range violation on zero range crossing
2022-08-25 14:21:32 +02:00
Gabor Kiss-Vamosi
327dbb6031
feat(msg): allow using variable address as msg_id
2022-08-25 14:20:43 +02:00
Derek Carter
bdd520e00c
fix(img): lv_img_buf_get_img_size miscalculation for 1/2/4 it images ( #3611 )
2022-08-24 10:05:48 +02:00
qinshijing
b9bad8272e
feat(lv_label): override animation properties when scrolling ( #3561 ) ( #3582 )
...
Signed-off-by: qinshijing <qinshijing@xiaomi.com>
Co-authored-by: qinshijing <qinshijing@xiaomi.com>
2022-08-24 09:46:04 +02:00
_VIFEXTech
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
Gabor Kiss-Vamosi
50be1859de
fix(ime_pinyin): fix warnings and add it to build tests
2022-08-23 13:11:12 +02:00
Pieter De Gendt
49912d8533
fix(style): Use compile time prop_cnt for const styles
2022-08-23 12:37:18 +02:00
totoro
200440fa57
fix(group): be sure the default group pointer points to a proper place ( #3605 )
2022-08-23 12:20:21 +02:00
Mariotaku
2a7f63e76f
fix(sdl): clear streaming/target texture with FillRect ( #3608 )
2022-08-23 10:03:10 +02:00
ckielstra
c069cf18fb
chore(doc) fix spelling in source comments and add missing parameter descriptions ( #3607 )
2022-08-22 09:21:25 -04:00
Gabor Kiss-Vamosi
878e3d3334
feat(roller): remove LV_ROLLER_INF_PAGES and calculate it dynamically
...
fixes #3214
2022-08-19 14:40:08 +02:00
_VIFEXTech
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
Gabor Kiss-Vamosi
5550d61eef
fix(group): be sure obj is removed from its current group in lv_group_add_obj
...
fixes #3593
2022-08-19 12:02:14 +02:00
Carlos Diaz
430574ed5f
chore(label) make selection interface naming consistent ( #3595 )
2022-08-18 18:44:18 -04:00
tvanfossen-bissell
956c47f6a7
feat(arc) add rotation getter ( #3587 )
...
Co-authored-by: tvanfossen <vanfosst@gmail.com>
2022-08-17 14:27:31 -04:00
Mariotaku
c9487f7924
fix(sdl) transformation with alpha ( #3576 )
2022-08-17 08:52:53 -04:00
Carlos Diaz
b878a1aed9
ci(test): unit tests for label widget ( #3529 )
...
* test(label) Add initial test for constructor
* test(label) Add tests for recolor
* cleanup(label): lv_label_event
* test(label) set text tests
* test(label) Add tests for lv_label_get_letter_pos
* chore(label) Const where possible in lv_label_get_letter_pos
* test(label) Add tests for lv_label_is_char_under_pos
* chore(label) Add const when possible to lv_label_is_char_under_pos
* test(label) Add simple test for lv_label_cut_text
* chore(label) Cleanup lv_label_revert_dots a bit
* test(label) Make tests pass on Build OPTIONS_MINIMAL_MONOCHROME
* test(label) Initial tests for lv_label_get_letter_on
* chore(label) Introduce calculate_x_coordinate helper
* chore(label) Use calculate_x_coordinate in lv_label_get_letter_on
* chore(label) Reduce varible scope in lv_label_get_letter_on
* chore(label) Use calculate_x_coordinate in lv_label_get_letter_pos
This also reduces complexity of lv_label_get_letter_pos from 21 to 19 (measured using python package 'ravioli')
* chore(label) Remove extra lv_anim_set_exec_cb on lv_label_refr_text
* chore(label) Minor edits on docs
* test(label): Remove unfinished tests
* test(label): Add tests for text selection
* Update lv_label.c
Fix formatting
2022-08-17 13:22:29 +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
Gabor Kiss-Vamosi
3a67cb62da
fix(style): add missing invalidation in lv_obj_remove_local_style_prop
...
fixes #3581
2022-08-17 12:53:12 +02:00
_VIFEXTech
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
supperthomas
a4800dbcca
hal(disp): add macro of GPU ( #3551 )
2022-08-11 09:49:51 -04:00
Chris Morgan
b0a3b275e0
docs(draw) remove reference to old lv_fs_add_drv function ( #3563 )
2022-08-11 09:24:39 -04:00
_VIFEXTech
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
_VIFEXTech
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
_VIFEXTech
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
_VIFEXTech
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
_VIFEXTech
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
Jackhtk
91f69874ab
fix(hal_disp): incorrect deinit callbacks set ( #3549 )
...
This patch correct some incorrectly set hal display callbacks.
2022-08-08 10:46:37 +02:00
Gabor Kiss-Vamosi
3a8b1c8748
feat(flex,grid): add const styles to flex and grid
...
related to #3481
2022-08-07 23:34:54 +02:00
Gabor Kiss-Vamosi
84361f9ea3
fix(colorwheel): fix updating color when using lv_colorwheel_set_hsv
...
fixes https://forum.lvgl.io/t/about-colorwheel-updates-bug/9522
2022-08-07 23:05:55 +02:00
Gabor Kiss-Vamosi
4519a874d7
fix(canvas): fix clipéping on transformation
...
fixes : #3545
2022-08-07 21:09:46 +02:00
tries
4a7ddf9f19
feat(textarea): add lv_textarea_get_current_char(obj) ( #3536 )
...
* Update lv_textarea.h
add uint32_t lv_textarea_get_right_char(lv_obj_t * obj); //Get a the right character from the current cursor position
* Update lv_textarea.c
Add uint32_t lv_textarea_get_right_char(lv_obj_t * obj); Get a the right character from the current cursor position
* Add uint32_t lv_textarea_get_right_char(lv_obj_t * obj); /* Get a the right character from the current cursor position */Y
* Rename name to 'lv_textarea_get_current_char(..)' and modify 'int' to 'uint32_t'
Co-authored-by: root <root@localhost.localdomain>
2022-08-05 00:24:58 +02:00
Bora Özgen
6012d3e31c
fix(bar): stop animation when set with LV_ANIM_OFF ( #3538 )
2022-08-03 08:13:15 +02:00
100ask
35d845b360
fix(ime_pinyin): fix the problem that lv_ime_pinyin is not hidden together with the keyboard ( #3540 )
...
In fact, the use of lv_ime_pinyin does not need to use the lv_ime_pinyin object itself, so we decided to hide it to avoid some other unnecessary problems.
2022-08-02 17:38:18 +02:00
Gabriel Wang
b454a66e0b
Cmsis pack montly update july ( #3531 )
...
* fix(gpu): fix arm2d support
* fix(cmsis-pack): fix cmsis-pack script
* feat(cmsis-pack): Monthly update for July
* fix: format
* remove unrequired white-spaces
2022-08-02 08:01:12 +02:00
Amir Gonnen
cd11476592
fix(msg): make it work with Micropython ( #3488 )
...
* fix(msg): fill callback prototype
lv_msg_subscribe_cb_t does not follow the callback conventions.
Remove unused void* argument to fix that.
* fix(msg): move subs_ll to gc roots
* fix(msg): rename subsribe to subscribe
* fix(msg): update docs
* fix(msg): Add example_1
* fix(msg): fix include paths
* fix(mgs): Fix python example typo and comments
* fix(msg): LV_EVENT_MSG_RECEIVED event code
2022-07-27 09:42:48 +02:00
embeddedt
ca8f0ab549
refactor(style) prefix const property IDs with an underscore
2022-07-26 13:18:23 -04:00
Mariotaku
03b04a45b9
fix(SDL): fix typos and other minor issues ( #3517 )
...
* fix(sdl): wrong coords for transformed backgrounds
* fix(sdl): fixed typo
* fix(sdl): fixed typo
2022-07-25 21:00:48 +02:00
Gabor Kiss-Vamosi
17730c276c
fix(spinbox): fix lv_spinbox_set_cursor_pos()
...
fixes #3516
2022-07-25 14:07:34 +02:00
Gabor Kiss-Vamosi
85ef9b2b84
perf(draw): optimize LV_COLOR_FORMAT_NATIVE
2022-07-24 22:02:31 +02:00
Gabor Kiss-Vamosi
9ce59a734f
chore: fix warnings
2022-07-24 17:39:05 +02:00
Gabor Kiss-Vamosi
cd4d07a4ba
fix(snapshot): make snapshot work again
...
Support inly true color, true color alpha and a8 formats
2022-07-24 16:22:55 +02:00
Gabor Kiss-Vamosi
7823db1ded
fix: fix area invalidation issue with style_transform_zoom/ange
2022-07-24 16:22:55 +02:00
Gabor Kiss-Vamosi
689e584d52
feat(draw): add transformation for LV_IMG_CF_A8 images
2022-07-24 16:22:50 +02:00
Adam Martini
30d860adc1
fix(led): add bg_color draw descriptors back to led draw event to support LV_DRAW_COMPLEX 0 ( #3515 )
...
Co-authored-by: Hopper Automation <automation_hopper@hopper.com>
2022-07-23 20:37:51 +02:00
xaowang96
fcd4011f22
feat(img): do not show "no data" if src is NULL ( #3510 )
...
* feat(img):do not show "no data" if src is NULL
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
* format code
Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2022-07-23 20:03:06 +02:00
Gabor Kiss-Vamosi
efe47b17e4
minor fixes
2022-07-21 23:09:54 +02:00
Gabor Kiss-Vamosi
59818094c5
update lv_conf_temaple.h
2022-07-21 22:45:23 +02:00
Gabor Kiss-Vamosi
4c980c1a94
refactor(mem): move builtin memcpy, memset, strcpy, strlen into a separate file
2022-07-21 22:22:35 +02:00