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

467 Commits

Author SHA1 Message Date
ckielstra
b911b72f4b
docs: spelling fixes (#2828) 2021-11-23 10:50:18 +01:00
Gabor Kiss-Vamosi
77287ca7d9
chore(docs) try to fix table rendering error 2021-11-22 13:31:03 +01:00
Gabor Kiss-Vamosi
084439e947
docs(roadmap) udpate 2021-11-22 12:04:22 +01:00
Gabor Kiss-Vamosi
1cd851f8c0
docs(contributing) update commit message format 2021-11-22 11:11:46 +01:00
Xiang Xiao
f1584e122f
docs(style) minor style fix (#2818)
* fix(misc): avoid ;; after LV_ASSERT_STYLE/LV_ASSERT_OBJ

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(style_api_gen.py): remove the unused docs_prop_cnt variable

and remove the trailing space

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(style_api_gen.py): ensure the generated code follow the coding style

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(style_api_gen.py): ensure props has the same order of lv_style_prop_t

and correct the style flags

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-22 10:53:16 +01:00
Vincent Hamp
a8f30120ce
fix(CMake) split CMakeLists.txt, add options, includes and dependencies (#2753)
* fix(CMake) split CMakeLists.txt, add options, includes and dependencies

* fix(CMake) do not use 'project' keyword with ESP_PLATFORM

* fix(CMake) prefix includes with CMAKE_CURRENT_LIST_DIR

* Don't depend on CMAKE_CURRENT_SOURCE_DIR

* fix(CMake) rename baremetal.cmake to custom.cmake

* fix(CMake) add CMake documentation
2021-11-22 10:51:51 +01:00
Mariotaku
3ea4d66411
feat(font) add fallback support and mem. font load option to FreeType (#2796)
* adding font type check

* using theme specified font
supports freetype drawing

* adding font type check

* using theme specified font
supports freetype drawing

* freetype fallback font support

* improved fallback font

* updated fallback font modifier

* docs(events) LV_EVENT_APPLY was removed (#2791)

* reverted to default font logic

* removed unused function

* improved font fallback

* font fallback for default lv_draw_letter as well

* added back masked drawing support

* fallback support for freetype uncached

* updated description

* fixed constructor initialization for ISO C

* reverted unneeded changes

* using loop instead of recursion to resolve glyph info

* simplified glyph dec resolving

* removed unused enum value

* improved lv_font_fmt_ft_dsc_t field naming

* supports pointer as freetype font source

* Updated docs for font fallback

Co-authored-by: Vincent Hamp <higaski@users.noreply.github.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-11-22 10:43:58 +01:00
Xiang Xiao
2d683fab96
fix(scripts): switch all scripts to python3 (#2820)
* fix(scripts): switch all to python3

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(changelog-template.hbs): remove the duplicated message fix

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-11-22 09:48:38 +01:00
Gabor Kiss-Vamosi
4bf49a82a3 docs(format) let wrap 2021-11-19 10:32:45 +01:00
_VIFEXTech
a97ac7ec8e
feat(lib) add ffmpeg video and image decoder (#2805)
* add ffmpeg decoder to extra/libs

* fix(Kconfig) add ffmpeg configuration

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

* feat(example) add ffmpeg decoder example

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

* update lv_conf_template.h

* feat(example) add picture and video to ffmpeg example

* docs(libs) update FFMpeg introduction

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

* fix(ffmpeg) replace with new videos and examples

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>

* fix(ffmpeg) remove the include of lv_img_cache.h

* fix(ffmpeg) add LV_ASSERT_OBJ

* Update examples/libs/ffmpeg/lv_example_ffmpeg_2.c

Co-authored-by: pengyiqiang <pengyiqiang@xiaomi.com>
Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-11-19 08:49:39 +01:00
patricklaf
bdc6331ba6
docs(porting/display) fix formatting (#2812) 2021-11-18 10:45:43 -05:00
Gabor Kiss-Vamosi
cdd5128bc0
docs(event) fix lv_event_get_original_target vs lv_event_get_current_target 2021-11-17 12:23:17 +01:00
Vincent Hamp
bf6837f4c0 docs(events) rename LV_EVENT_APPLY to LV_EVENT_READY (#2791) 2021-11-11 16:51:17 +01:00
Gabor Kiss-Vamosi
7de661a3f4 docs(changelog) update changelog with the generated data 2021-11-10 12:16:03 +01:00
Gabor Kiss-Vamosi
7bae9e3ddd feat(event) add LV_SCREEN_(UN)LOAD_START 2021-11-10 10:13:50 +01:00
Kevin Thibedeau
09e19bb687
fix(refresh) switch to portable format specifiers (#2781)
Some platforms define uint32_t as "unsigned long" rather than "unsigned int".
The %d format specifier is mismatched and the C99 format macros are the only
portable way to handle these types.

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-11-09 16:03:06 +01:00
Gabor Kiss-Vamosi
cc78ef4506 feat(draw) add LV_BLEND_MODE_MULTIPLY 2021-11-09 15:34:30 +01:00
Kevin Thibedeau
61b0de3bdc
fix(stm32) Mark unused variable in stm32 DMA2D driver (#2782) 2021-11-09 15:23:38 +08:00
Xiang Xiao
572880ccd3
Fix typo error in color.md 2021-11-08 01:42:12 +08:00
Kevin Thibedeau
53a3e17f76
fix(proto) Remove redundant prototype declarations (#2771) 2021-11-07 16:03:31 +08:00
Gabor Kiss-Vamosi
607dfeceb6
feat(display) add direct_mode drawing mode (#2460)
* feat(display) add direct_mode drawing mode

* update the docs
2021-11-05 15:35:36 +01:00
Miguel Magno
4e393178f3
docs: fix typo (#2765) 2021-11-05 12:18:40 +01:00
Jeff Kent
b189be67d2
fix(msgbox) add declaration for lv_msgbox_content_class (#2761) 2021-11-05 11:37:59 +01:00
DennisSHCheung
5b548006ed
fix(txt): skip basic arabic vowel characters when processing conjunction
* Skips basic vowel characters when calculating arabic conjunction

* Updated CHANGELOG.md

* Update docs/CHANGELOG.md

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-11-05 11:36:55 +01:00
Matteo Iervasi
d6341f05a9
fix(core) add L suffix to enums to ensure 16-bit compatibility (#2760) 2021-11-03 14:28:12 -04:00
Gabor Kiss-Vamosi
749d1b3ec3 docs(table) describe keypad/encoder navigation
related to: #2746
2021-11-02 19:22:09 +01:00
Gabor Kiss-Vamosi
06962a564f
docs(arduino) update how to use the examples
Related to: #2706
2021-11-02 18:40:59 +01:00
Gabor Kiss-Vamosi
174ef6692e docs describe the options to include or skip lv_conf.h 2021-11-02 13:57:45 +01:00
embeddedt
d996453207
docs(os) add example and clarify some poinits 2021-10-28 08:30:49 -04:00
Gabor Kiss-Vamosi
2e08f80361 feat(calendar): add the header directly into the calendar widget
In v8.0 the header was a detached object which made it difficult to move the header and the calendar
together. Besides there were no way to notifi the header of the calendar's shown date has changed.

BREAKING CHANGE: API of cleander headers, the appearence of the calendars

related to #2573"
2021-10-25 18:39:18 +02:00
Johannes Marbach
b59cc9cfb8
feat(disp): add non-fullscreen display utilities (#2724)
This adds utility functions/macros for dealing with non-fullscreen
displays.

Related to lvgl/lv_drivers#166
2021-10-25 08:26:43 -04:00
Alexander Salas Bastidas
ed9169c56d
docs(rlottie): fix typo in commands 2021-10-24 01:47:24 +02:00
Gabor Kiss-Vamosi
03fff13f62
feat(rlottie) add LVGL-Rlottie interface as 3rd party lib (#2700) 2021-10-22 15:44:43 +02:00
Kenji Mouri
bbad478ce6
feat(fsdrv) add driver based on Win32 API (#2701) 2021-10-20 11:35:11 +02:00
guoweilkd
91a0d3b5e4
feat(span) indent supports percent for fix and break mode (#2693)
* span:indent supports percent for fix and break mode

* Update docs/widgets/extra/span.md

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
2021-10-20 11:13:42 +02:00
Gabor Kiss-Vamosi
64527a5a1b fix(docs) add fsdrv back 2021-10-20 10:42:38 +02:00
Gabor Kiss-Vamosi
b3b3ffc2b3 feat(canvas) add lv_canvas_set_px_opa
fixes #2665
2021-10-19 13:44:40 +02:00
Gabor Kiss-Vamosi
dfa4f5cff5 feat(arc) add support to LV_OBJ_FLAG_ADV_HITTEST 2021-10-19 12:52:35 +02:00
Xiang Xiao
608d06e47a
fix(fsdrv) minor fs issue (#2682)
* fix(fs): replace all tab to space and other minor style fix

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(extra/fs): rename lv_fs_libs.h to lv_fsdrv.h

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(extra/fs/stdio): fix the wrong directory path in fs_dir_open

and remove the duplicated or platform specific code

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(extra/fs/posix): implement in fs_dir_read

and fix the wrong directory path in fs_dir_open

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>

* fix(extra/fs/posix): return file handle directly to avoid malloc

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2021-10-18 13:00:47 +02:00
gesture1968
2a701eeaa7
feat(lv_spinbox) support both right-to-left and left-to-right digit steps when clicking encoder button (#2644)
* Update lv_spinbox.c

* Added support for moving the Spinbox digit position from right-to-left when clicking the button on an encoder. The default behaviour is when clicking the encoder button, the digit is moved from left-to-right (MSB to LSB). 
* Added a check to see if the spinbox digit-count is just one. In that case it is pointless to check the buttonclick
* See also the spinbox.h file

* Update lv_spinbox.c

* Forgot the implementation of the setter function
* forgot a ;

* Update lv_spinbox.h

Adding Spinbox support for moving the digitposition both from left-to-right and right-to-left when editing a spinbox and clicking the encoder button. The current behaviour is clicking the encoder button only moves the digitposition from right to left (from MSB to LSB)

* Update lv_spinbox.c

Added brief / comment to new function

* Update lv_spinbox.h

More clear Brief / Comment

* Update lv_spinbox.c

nested function replaced by lv_pow fiunction

* Update lv_spinbox.h

removed spaces

* Update lv_spinbox.h

Replaced type used for direction of digit step when clicking an encoder with existing LVGL lv_dir_t

* Update lv_spinbox.c

Replaced type used for direction of digit step when clicking an encoder with existing LVGL lv_dir_t

* Update spinbox.md

Added comment for the new function 'lv_spinbox_set_digit_step_direction'

* Update src/extra/widgets/spinbox/lv_spinbox.h

Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>

* Update src/extra/widgets/spinbox/lv_spinbox.h

Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>

* Update lv_spinbox.c

bug: old definition LV_SPINBOX_DIGIT_DIR_TO_RIGHT changed to LV_DIR_RIGHT

* Update lv_spinbox.h

Extra linefeed removed

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com>
2021-10-14 13:42:25 +02:00
Gabor Kiss-Vamosi
ee5369e2d2 feat(event) add LV_EVENT_SCREEN_LOADED/UNLOADED events 2021-10-13 12:36:03 +02:00
Jianting (Meco) Man
8debe10cd2
feat add support for rt-thread RTOS (#2660) 2021-10-12 17:35:37 +02:00
Johannes Marbach
d09f6bdea3
feat(disp): Enable rendering to display subsection (#2583)
This change introduces new fields on `lv_disp_drv_t` that allow to
specify the size of the full display and the offset of the display
subsection that is being rendered to. The values are used to transform
the drawing area before calling `flush_cb` so that only the desired part
of the full display is being rendered to.

Relates to: lvgl/lv_drivers#166
2021-10-11 08:48:15 -04:00
Johannes Marbach
7658f98e86
feat(keyboard): add user-defined modes (#2651)
As discussed in https://forum.lvgl.io/t/localized-keyboard-layouts/6734,
this adds further `..._USER_N` keyboard modes that can be used to
implemented more keyboard layouts for locales that need more than 4
layers.
2021-10-11 14:46:07 +02:00
Jose Commins
07688e6543
docs(colorwheel) fix old API names (#2643)
`lv_colorwheel_set_color_mode` is now `lv_colorwheel_set_mode`
2021-10-06 12:55:09 -04:00
Miguel Magno
d93360537f
fix typos (#2634) 2021-10-04 18:37:07 +02:00
Gabor Kiss-Vamosi
5f90029811
feat(event) add LV_EVENT_CHILD_CREATED/DELETED (#2618)
* feat(event) add LV_EVENT_CHILD_CREATED/DELETED

* update docs and CHANGELOG
2021-10-04 16:52:11 +02:00
grarup
4eb406440b
fix LV_FORMAT_ATTRIBUTE fix for gnu > 4.4 (#2631)
Co-authored-by: Peter Grarup <pegp@dgs-diagnostics.com>
2021-10-04 16:42:41 +02:00
Gabor Kiss-Vamosi
8e7bba6ace docs libs fixes 2021-10-04 15:27:52 +02:00
Gabor Kiss-Vamosi
1a8fed5df0 docs add libs to the main index 2021-10-04 15:08:52 +02:00