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

7150 Commits

Author SHA1 Message Date
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
Gabor Kiss-Vamosi
65673c0e15 docs(textarea) clarify the use of text selection bg_color 2021-06-25 15:31:57 +02:00
Gabor Kiss-Vamosi
e0ae2aa106 feat(chart) send LV_EVENT_DRAW_PART_BEGIN/END before/after the division line drawing section.
See https://forum.lvgl.io/t/how-to-add-minor-division-lines-to-a-chart/5366/15
2021-06-25 13:51:09 +02:00
embeddedt
255f7294d3
docs(keyboard) add note regarding event handler 2021-06-23 17:32:41 -04:00
Gabor Kiss-Vamosi
c38cae22fb test fix CI build error 2021-06-23 23:04:12 +02:00
Gabor Kiss-Vamosi
845c4080f5 Merge branch 'master' into feat/test-unity 2021-06-23 22:20:00 +02:00
Gabor Kiss-Vamosi
61cda59cbe test fix build error 2021-06-23 22:19:51 +02:00
Gabor Kiss-Vamosi
a3898b931e test update CI for the new tests 2021-06-23 22:13:15 +02:00
Gabor Kiss-Vamosi
e66b935061 fix(dropdown) forget the selected option on encoder longpress 2021-06-23 21:53:16 +02:00
Gabor Kiss-Vamosi
4143b804c8 test(dropdown) add tess for keypad and encoder 2021-06-23 21:51:52 +02:00
Gabor Kiss-Vamosi
e536bb6325 test add keypad and encoder emulators 2021-06-23 21:51:14 +02:00
Gabor Kiss-Vamosi
2ba810b8de tests add mosue emulator 2021-06-23 15:51:30 +02:00
Gabor Kiss-Vamosi
b765643e49 tests add README 2021-06-23 15:51:12 +02:00
Gabor Kiss-Vamosi
3672f87332 test move more source files to src folder 2021-06-23 13:23:47 +02:00
Gabor Kiss-Vamosi
ad04307d3f Merge branch 'master' into feat/test-unity 2021-06-23 12:51:26 +02:00
Gabor Kiss-Vamosi
2df12827dd fix(refr) reduce the nesting level in lv_refr_area 2021-06-22 20:39:47 +02:00
guoweilkd
973a4e08d5
fix(txt) enhance the function of break_chars (#2327)
Co-authored-by: guowei15 <guowei15@xiaomi.com>
2021-06-22 14:42:39 +02:00
Gabor Kiss-Vamosi
13ed195354
Merge pull request #2313 from NXPmicro/nxp_pxp_vglite_v8-dev
Nxp pxp vglite v8 dev
2021-06-22 11:50:28 +02:00
Gabor Kiss-Vamosi
5bd82b038b fix(flex) fix layout update and invalidation issues 2021-06-22 11:08:33 +02:00
Gabor Kiss-Vamosi
97ba12f280 fix(flex) fix NULL pointer dereference
fixes #2331
2021-06-22 10:26:37 +02:00
Gabor Kiss-Vamosi
713b39ecdb fix(obj, switch) do not send LV_EVENT_VALUE_CHANGED twice
fixes #2330
2021-06-22 10:06:28 +02:00
embeddedt
52d1c2e5b5
fix(examples) adjust canvas example for MicroPython API change 2021-06-21 10:27:40 -04:00
Duco Sebel
1d0c53118e
docs(README) fix broken references (#2329) 2021-06-21 08:46:34 -04:00
Seb Fagard
00c3eb197c fix(pxp): update RTOS macro for SDK 2.10
replace FSL_RTOS_FREE_RTOS by SDK_OS_FREE_RTOS in order to be aligned
with MCU SDK 2.10.
See MCUX-41577.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
2021-06-21 10:53:38 +02:00
Jozef Bastek
e3e3eeaf8c fix(vglite): update for v8
includes updates coming from NXP MCU SDK 2.10 with adaptation for lvgl v8:

Fixed BLIT offset computation

Previous implementation didn't take into account a possibility of
non-zero offset in source image, so output was wrong if offset was used.
With this fix, CPU and VG-Lite output is the same even with offsets.

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

gpu: vglite: Buffer sync with BLITs

Added buffer synchronisation with BLITs instead of memcpy for VG-Lite.
In LVGL v8, buffer synchronisation acceleration is moved to littlevgl_support.c.

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

gpu: vglite: Fixed BLIT boundary

Fixed artifact issue revealed by buffer sync with BLIT feature. Caused
by wrong BLIT boundary.

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

gpu: vglite: BLIT quality degradation workaround for RT595

Limitation in RT595 causes BLIT image quality degradation when
coordinates are above 368 px. This patch implements workaround that will
break the BLIT into multiple smaller BLITs, so the quality is not
affected for higher resolutions.

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

gpu: vglite: Fix address alignment and stride requirements

Fixed multiple issues:
- The VGLite alignment requirement checks for the pixel destination
buffer are not applicable in our case of Linear (non-tiled) format.
- Some VGLite stride requirement requirement should be expressed in bytes,
not in pixels.
- Fix the Y alignment function to ensure that line starts at an address
that the respects the alignment requirement of VG-Lite.

Such mistakes do not break application,
but cause a fallback to non-accelerated Blit by CPU.
See MGG-741.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>

gpu: vglite: fix some MISRA C 2012 violations

fixed 56 violations: mainly implicit format casts
and unchecked returned values.

see JIRA MCUX-43327

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>

gpu: vglite: fix stride requirement in _init_vg_buf()

fix unit: need to convert the alignment requirement into bytes when checking
stride parameter.
fix condition: stride requirement applies only on source buffers.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>

gpu: vglite: updates for v8

cache callback type changed in display driver struct

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>

gpu: vglite: update parameter type for v8

display driver is now a pointer in structure.

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
2021-06-21 10:53:38 +02:00
Jozef Bastek
8a2a4a11c8 fix(pxp): update for v8
includes updates from NXP MCU SDK 2.10 with adaptation for lvgl v8:

Updated cache handling

- range limited cache flushing changed to complete cache flush, which is
faster and shold be safe
- flushing done via callback system, so OS specific code is removed
from LVGL

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

gpu: pxp: Buffer sync with BLITs

Added buffer synchronisation with BLITs instead of memcpy for PXP.
In LVGL v8, buffer synchronisation acceleration is moved to littlevgl_support.c.

Signed-off-by: Jozef Bastek <jozef.bastek@nxp.com>

gpu: pxp: updates for v8

cache callback type changed in display driver struct
chroma key name changed

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>

gpu: pxp: new log header file for v8

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>

core: init PXP accelerator

Signed-off-by: Seb Fagard <sebastien.fagard@nxp.com>
2021-06-21 10:53:38 +02:00
Gabor Kiss-Vamosi
b203167c75 feat(obj) send LV_EVENT_DRAW_PART_BEGIN/END for MAIN and SCROLLBAR parts 2021-06-20 12:35:10 +02:00
Gabor Kiss-Vamosi
fe6d8d7636 fix(color) overflow with 16 bit color depth 2021-06-20 12:35:10 +02:00
embeddedt
145a0fad08
fix(docs) consider an example to be visible over a wider area 2021-06-18 18:11:53 -04:00
Themba Dube
b5f632ee7a fix(docs) add margin for example description 2021-06-18 12:38:08 -04:00
Themba Dube
4b8c73a577 feat(docs) improvements to examples
* examples are now loaded only when they are visible on your screen
* stylistic improvements
* support for a description
2021-06-18 12:25:49 -04:00
Gabor Kiss-Vamosi
35c0e84078 fix conflict 2021-06-18 14:18:27 +02:00
Gabor Kiss-Vamosi
b9b4ba5b26 test cleant up report folder 2021-06-18 14:15:53 +02:00
Gabor Kiss-Vamosi
e35b1d04bd test add build test again, add dropdown test, integrate gcov and gvocr 2021-06-18 14:13:41 +02:00