1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

7083 Commits

Author SHA1 Message Date
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
Gabor Kiss-Vamosi
90438603ad fix(test) do not including anything in test files when not running tests 2021-07-01 21:14:00 +02:00
Gabor Kiss-Vamosi
77cedfa08f fix(btnmatrix) fix button invalidation on focus change 2021-07-01 16:58:24 +02:00
Gabor Kiss-Vamosi
60d9a5e493 fix(textarea) style update in oneline mode + improve sroll to cursor
fixes: #2335
2021-07-01 15:33:50 +02:00
Amir Gonnen
4114dc30e8
fix(examples) fix MicroPython examples and run the examples with CI (#2339)
* Fixes to micropython examples

Added missing images and fonts under 'assets'. Since .bin is in gitignore, renamed fonts to .fnt

* Update build_micropython workflow

Build the unix port dev variant and run tests.

See: https://github.com/lvgl/lv_binding_micropython/issues/151
2021-07-01 14:37:57 +02:00
Gabor Kiss-Vamosi
3668e54f06
docs(contributing) add commit message format section 2021-07-01 14:36:01 +02:00
Gabor Kiss-Vamosi
c9745b9c4e fix(tlsf) do not use <assert.h>
fixes: #2341
2021-07-01 14:20:56 +02:00
Gabor Kiss-Vamosi
6e83d378e9
docs(keyboard) change LV_KEYBOARD_MODE_NUM to LV_KEYBOARD_MODE_NUMBER
Fixes https://forum.lvgl.io/t/error-in-master-branch-documentation-for-lv-keyboard/6072/1
2021-07-01 14:12:57 +02:00
Amir Gonnen
fe4afe8ef2
fix(examples) align with renamed Micropython APIs (#2338)
Align examples with renames on https://github.com/lvgl/lv_binding_micropython/issues/157
2021-06-29 17:03:07 -04:00
Gabor Kiss-Vamosi
fcd4aa3924 feat(led) send LV_EVENT_DRAW_PART_BEGIN/END
fixes
https://forum.lvgl.io/t/how-to-change-the-border-color-of-led-object-in-lvgl-v8/5996
https://forum.lvgl.io/t/set-border-color-of-led-object/5986
2021-06-28 15:33:05 +02:00
Gabor Kiss-Vamosi
a38fcf2c7a
Update ROADMAP.md 2021-06-28 15:16:20 +02:00
Gabor Kiss-Vamosi
2b1ae3c107
Update ROADMAP.md 2021-06-28 15:03:12 +02:00
Gabor Kiss-Vamosi
7e49f48894 fix(imgbtn) consider width==LV_SIZE_CONTENT if only mid. img is set
fixes #2305
2021-06-28 13:48:45 +02:00
Gabor Kiss-Vamosi
36b9db38b7 fix tests 2021-06-28 11:13:34 +02:00
Gabor Kiss-Vamosi
449952e3b7 fix tests 2021-06-28 11:08:46 +02:00
Gabor Kiss-Vamosi
227402a81a make test run on mseter and release/v8.* 2021-06-28 11:02:48 +02:00
Gabor Kiss-Vamosi
eb70e2b37a Merge branch 'feat/test-unity' 2021-06-28 11:01:42 +02:00
Gabor Kiss-Vamosi
1640b7fe08 Merge branch 'master' of https://github.com/lvgl/lvgl 2021-06-25 15:32:07 +02:00