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
guoweilkd
2a6bfe8cf9
fix (span) fill LV_EVENT_GET_SELF_SIZE ( #2360 )
...
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-07-08 16:40:43 +02:00
embeddedt
27d88de899
fix(codecov) disable uploading coverage for pull requests
2021-07-08 09:42:37 -04:00
embeddedt
41869f238e
fix(README) spelling correction
2021-07-07 18:18:36 -04:00
Amir Gonnen
0c386e3115
fix(workflow) change MicroPython workflow to use master ( #2358 )
...
Micropython dev-8.0 was merged to main. Change workflow to checkout main branch instead of dev-8.0
2021-07-07 17:51:41 -04:00
Amir Gonnen
c751c11a87
fix(examples) remove cast in MP scripts ( #2354 )
...
After https://github.com/lvgl/lv_binding_micropython/pull/161 merged, it is no longer needed to cast the result of 'e.get_target()'
Also, additional small fixes to allow CI improvements
2021-07-07 17:04:46 +02:00
Gabor Kiss-Vamosi
84c00862ae
docs minor typo fixes
2021-07-07 16:30:17 +02:00
Gabor Kiss-Vamosi
88c485949f
feat(event, widgets) improve the paramter of LV_EVENT_DRAW_PART_BEGIN/END
...
Add lv_<widget>_draw_part_type_t to widgets to precisly describe the hooked drawings.
Also add class_p element to lv_obj_draw_part_dsc_t to show what widgets lv_<widget>_draw_part_type_t needs to be used.
Related to: https://forum.lvgl.io/t/how-to-add-minor-division-lines-to-a-chart/5366/
2021-07-07 16:19:06 +02:00
Gabor Kiss-Vamosi
f172eb3fd7
fix(arc) disable LV_OBJ_FLAG_SCROLL_CHAIN by default
2021-07-07 16:19:06 +02:00
Gabor Kiss-Vamosi
c3b6c6dc64
fix (draw) fix arc bg image drawing with full arcs
2021-07-07 16:19:06 +02:00
xaowang96
ab7e0eb2b6
fix(disp) fix memory leak in lv_disp_remove ( #2355 )
...
Co-authored-by: wangxuedong <wangxuedong@xiaomi.com>
2021-07-07 13:05:12 +02:00
embeddedt
e53aa82658
Create .codecov.yml
2021-07-06 08:57:02 -04:00
Gabor Kiss-Vamosi
e3024032dc
fix warnigs introduced by 3fb8baf5
2021-07-06 13:55:16 +02:00
Gabor Kiss-Vamosi
3fb8baf503
fix(widgets) use lv_obj_class for all the widgets
...
Related to #2346
2021-07-06 13:52:12 +02:00
Gabor Kiss-Vamosi
b06393747f
fix(obj) move clean ups from lv_obj_del to lv_obj_destructor
2021-07-06 13:52:12 +02:00
wreyford
45eda2f664
Update win.md ( #2352 )
...
In the paragraph **Title and buttons**
should be lv_add_btn and not lv_add_btn_right
And in the prargraph **Events**
should also be lv_add_btn
2021-07-06 12:20:18 +02:00
Themba Dube
4fff99da1d
feat(tests) upload coverage to codecov
2021-07-05 13:58:46 -04:00
Gabor Kiss-Vamosi
6bc40f8c44
fix(roller) fix partial redraw of the selected area
2021-07-05 15:44:40 +02:00
Gabor Kiss-Vamosi
01d1c873e1
fix(roller) adjust the size of the selected area correctly
...
fixes #2340
2021-07-05 14:12:58 +02:00
guoweilkd
a8aadb3fcd
fix(lv_obj.h)typos ( #2350 )
...
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-07-05 11:47:35 +02:00
Uli Raich
082244b467
feat(examples) added MP version of second tabview example ( #2347 )
2021-07-03 11:22:50 -04:00
guoweilkd
93e40c71ec
fix(obj) delete useless type conversion ( #2343 )
...
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-07-02 14:35:47 -04:00
guoweilkd
21d28a6bc9
fix(lv_obj_scroll.h) typos ( #2345 )
...
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-07-02 14:35:17 -04:00
embeddedt
b1589326d4
fix(scroll) fire LV_EVENT_SCROLL_BEGIN in the same spot for both axes
2021-07-02 10:43:34 -04:00
Gabor Kiss-Vamosi
ebb9ce913e
perf(obj) remove lv_obj_get_child_cnt from cycle limit checks
2021-07-01 21:49:04 +02:00