Gabor Kiss-Vamosi
71a10e4ecd
fix(example) adjust the object sizes in lv_example_anim_timeline_1()
2021-07-23 13:40:42 +02:00
guoweilkd
7f9297879f
fix(grid.h) typos ( #2395 )
...
* fix(grid.h) typos
* grid:replace LV_COORD_MAX use LV_GRID_TEMPLATE_LAST
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-07-23 11:52:09 +02:00
Yin Zhong
4d43b99702
doc(table) update doc on cell merging ( #2397 )
...
See https://github.com/lvgl/lvgl/issues/2276#issuecomment-884776230
2021-07-23 09:49:59 +02:00
Gabor Kiss-Vamosi
9ce2c7702d
Update index.rst
2021-07-22 21:56:00 +02:00
_VIFEXTech
bfab70802e
fix(anim_timeline) heap use after free ( #2394 )
2021-07-22 15:19:08 +02:00
EnricoLusaEGF
95bf16952e
docs(layout) add internal padding paragraph to grid and flex layout p… ( #2392 )
...
* docs(layout) add internal padding paragraph to grid and flex layout pages
* docs(layout) inlined bulletpoints
2021-07-22 11:36:40 +02:00
Gabor Kiss-Vamosi
533066e6ac
docs(obj) add comment lv_obj_get_x/y/width/height about postponed layout recalculation
2021-07-21 11:03:56 +02:00
Uli Raich
c6e97162d1
added example lv_example_anim_timeline_1.py ( #2387 )
2021-07-21 10:37:22 +02:00
Amir Gonnen
55ef1826fc
fix(snapshot) add missing import on MicroPython example ( #2389 )
2021-07-20 19:37:00 -04:00
Gabor Kiss-Vamosi
e3f0b85623
Merge branch 'master' of https://github.com/lvgl/lvgl
2021-07-19 15:35:47 +02:00
Gabor Kiss-Vamosi
34b8cd9c12
fix(chart) fix sending LV_EVENT_DRAW_PART_BEGIN/END for the cursor
2021-07-19 15:35:34 +02:00
Neo
c98c8252ea
feat(snapshot) add API to take snapshot for object ( #2353 )
...
* Fix image zooming causes unexpected object size.
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
* add lv_snapshot_take API.
* fix(img) invalidate size and layout on zoom and angle change
* fix(img) not self-repeating under some zoom level.
* fix(snapshot) fix to keep the original position
* Move various set_px_cb_xx functions to lv_hal_disp.c
* add snapshot API to store image to provided buffer
* minor fixes and refactoring
* Move snapshot source to extra/others/snapshot.
1. Update parameter buff to buf.
2. Add macro to disable lv_snapshot, enabled by default.
* docs(others) add the others folder with snapshot.md
* docs(snapshot) added doc and example for snapshot.
1. Update doc snapshot.md
2. Add example lv_example_snapshot_1 to folder examples/others/snapshot
3. Update lv_conf_template.h and lv_conf_internal.h
4. Remove lv_snapshot.c from lv_misc.mk
5. Add others to index.md
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
* add micropython example for snapshot
Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-19 14:46:28 +02:00
_VIFEXTech
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
Neo
e5e93e24b4
fix(disp) Fix assert failure in lv_disp_remove ( #2382 )
...
Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
2021-07-19 12:24:22 +02:00
Drew Hoener
d041191ff3
feat(span) Add missing spangroup functions ( #2379 )
2021-07-18 21:44:27 -04:00
embeddedt
706f81e586
docs(indev) clarify purpose of continue_reading
flag
2021-07-18 08:55:34 -04:00
Yin Zhong
5a3876e9e6
docs(porting) fix indev example to remove v7 bool return ( #2381 )
...
update indev doc example to remove v7 `return false` and fix return type
2021-07-18 08:54:33 -04:00
Gabor Kiss-Vamosi
c386110e23
docs update changelog
2021-07-16 21:57:54 +02:00
Neo
fe461caf7e
feat(img) add img_size property ( #2284 )
...
* Fix image zooming causes unexpected object size.
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
* fix(img) invalidate size and layout on zoom and angle change
* fix(img) not self-repeating under some zoom level.
* minor fixes and refactoring
* docs(img) add img_size
Co-authored-by: Xu Xingliang <xuxingliang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-07-16 21:05:49 +02:00
Gabor Kiss-Vamosi
33ba7225f5
fix(obj) fix size invalidation issue on padding change
...
If a style properties with LV_STYLE_PROP_LAYOUT_REFR is applied
on a not MAIN part it might effect the size if the size is LV_SIZE_CONTENT.
So check it in lv_obj_refresh_style()
2021-07-16 20:35:31 +02:00
Gabor Kiss-Vamosi
1c3ecf1cc1
add basic patch release script
2021-07-16 20:35:31 +02:00
Gabor Kiss-Vamosi
1626a0c029
start to implement release/patch
2021-07-16 20:35:31 +02:00
Gabor Kiss-Vamosi
0838f1296b
Update release.yml
...
Filter for normal version tags (e.g. v.5.6.7 but not v5.6.7-dev)
2021-07-16 17:51:39 +02:00
guoweilkd
84664fc2ca
fix(span) modify the underline position ( #2376 )
...
Co-authored-by: guowei15 <guowei15@xiaomi.com>
v8.0.3-dev
2021-07-16 14:31:58 +02:00
Gabor Kiss-Vamosi
2504b7e436
fix(theme) improve button focus of keyboard
...
fixes https://github.com/lvgl/lvgl/issues/2359#issuecomment-880704341
2021-07-16 12:26:06 +02:00
Gabor Kiss-Vamosi
933d2829ac
fix(tabview) send LV_EVENT_VALUE_CHANGED only once
...
Fixes #2377
2021-07-16 12:16:10 +02:00
Gabor Kiss-Vamosi
04c515adac
fix(imgbtn) use the correct src in LV_EVENT_GET_SELF_SIZE
2021-07-16 11:57:49 +02:00
Themba Dube
3eacc5923c
ci add config for 8bpp
2021-07-15 17:12:25 -04:00
Themba Dube
157534cdbf
fix(color) remove extraneous cast for 8-bit color
...
This brings it in line with the corresponding macros for other BPP values.
This issue was found via CI added in the following commit.
2021-07-15 17:11:53 -04:00
Gabor Kiss-Vamosi
57cf6610a9
fix(obj style) fix children reposition if the parent's padding changes.
...
fixes #2368
2021-07-15 20:42:11 +02:00
embeddedt
d79ca388ef
fix(color) remove extraneous _LV_COLOR_MAKE_TYPE_HELPER ( #2372 )
...
This updates it to match the other `LV_COLOR_MAKEXX` (where XX is the color depth) lines.
2021-07-15 17:57:30 +02:00
Gabor Kiss-Vamosi
acbb680683
docs minor CSS fix
2021-07-15 16:07:40 +02:00
HX2003
b3c86208a0
fix(spinner) should not be clickable ( #2373 )
2021-07-15 16:00:42 +02:00
embeddedt
ad1f91ab32
refactor(examples) drop usys import from header.py
...
This should not be needed as there is no platform-specific code anymore.
2021-07-14 12:47:59 -04:00
Gabor Kiss-Vamosi
76a8293375
fix(indev) focus on objects on release instead of press
...
Previously if the obejct were pressed and scrolled the parent by scroll chaining
focus event were sent. If the focusing is moved to the release phase we can detect if there were scroll.
2021-07-13 16:58:26 +02:00
Gabor Kiss-Vamosi
7f367d6956
docs minor CSS improvements
2021-07-13 16:42:03 +02:00
Gabor Kiss-Vamosi
a04f2dea64
fix(obj) improve how the focusing indev is determined
2021-07-13 16:35:57 +02:00
Amir Gonnen
b6bda5e17e
fix(workflow) silence SDL warning for MicroPython ( #2367 )
...
Export XDG_RUNTIME_DIR to remove SDL warnings in workflow log
2021-07-11 18:15:32 -04:00
embeddedt
ac68b10e53
fix(workflow) use same Unix port variant for MicroPython submodules
2021-07-11 17:03:39 -04:00
embeddedt
de81889cbd
fix(README) improve grammar
...
The real intent is to kick CI to test a MicroPython build.
2021-07-11 16:59:28 -04:00
embeddedt
d8a3d3d0d7
fix(template) update indev template for v8
...
A few APIs were missed in the last attempt.
Fixes #2363
2021-07-11 15:47:23 -04:00
embeddedt
38ad5d548b
fix(workflow) speed up MicroPython workflow
...
Previously cloning submodules took a very long time - too slow to give useful feedback.
2021-07-11 15:37:43 -04:00
embeddedt
9a77102c40
docs(arduino) update some outdated information
...
This fixes some broken links and updates the steps to match the new repository layout.
2021-07-11 15:28:08 -04:00
Themba Dube
ee9bbea29c
fix(printf) skip defining attribute if pycparser is used
2021-07-11 15:27:30 -04:00
Avamander
078eaa009d
refactor(printf) add printf-like function attribute to _lv_txt_set_text_vfmt and lv_label_set_text_fmt ( #2332 )
...
This improves static analysis and compiler warnings of incorrect format usage.
2021-07-11 15:19:51 -04:00
embeddedt
ef41450ed8
refactor(examples) drop JS-specific code from header.py
...
This logic was moved into the JS simulator itself
2021-07-11 15:09:25 -04:00
Amir Gonnen
5f6e07e57f
feat(calendar) improve MicroPython example ( #2366 )
...
Small improvements:
- Remove cast from get_pressed_date
- Check return value of get_pressed_date
- Call set_today_date on clicked date
- Compact highlighted_days
- Added a switch to show different header type
2021-07-11 11:39:08 -04:00
Amir Gonnen
1b6a39ca61
fix(examples) import 'u'-prefixed versions of modules ( #2365 )
...
import usys and utime instead of sys and time, as the latter are not available on all platforms
2021-07-10 19:24:16 -04:00
Gabor Kiss-Vamosi
0ae15bd470
fix(template) include lvgl.h in lv_port_*_template.c files
...
fixes : #2361
2021-07-09 13:29:29 +02:00
Gabor Kiss-Vamosi
f03d4b8cb9
fix(obj) detecting which indev sent LV_EVENT_FOCUS
...
fixes #2359
2021-07-08 17:04:15 +02:00