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

5830 Commits

Author SHA1 Message Date
alsaleem00
84600a78db
fix(text) improve Arabic contextual analysis (#2062)
Adds hyphen processing and proper handling of lam-alef sequence
2021-02-11 12:53:00 -05:00
Gabor Kiss-Vamosi
5d0a06b6fa add -Wno-error=cast-function-type to build 2021-02-11 15:58:41 +01:00
Gabor Kiss-Vamosi
f9c73fe69d update CHANGELOG 2021-02-11 14:53:05 +01:00
Gabor Kiss-Vamosi
ab14266f67 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-02-11 14:42:54 +01:00
Gabor Kiss-Vamosi
0591dec33a fix(delete): delete animation after the children are deleted
New animation can be added during child delete
2021-02-11 14:42:48 +01:00
Xiang Xiao
9b52db0531
fix(conf): remove esp specific inclusion from lv_conf_internal.h (#2065)
* fix(lv_conf_internal.h): remove esp specific inclusion

since the same thing is already included in lv_conf_kconfig.h

* fix(library.json): change space to tab
2021-02-11 11:49:50 +01:00
Xiang Xiao
a62ecda760
Fix the various issue found in animation module (#2063)
* fix(anim): relayout lv_anim_t to save 4 bytes

and fix the minor comment issue

* fix(anim): unify the type of time and animation to int32_t or uint32_t

since lv_anim_t use these types internally

* fix(anim): Don't need initialize last_task_run

since lv_anim_start will do this if the list is empty
and remove -1 to improve the accuracy

* fix(anim): remove the return value from anim_ready_handler

since no caller really use the return value

* fix(anim): normalize the time elapse by lv_map

* fix(anim): avoid iterate the list twice in anim_task
2021-02-11 11:11:49 +01:00
Carlos Diaz
e6de537952
Add component.mk file for esp-idf make based commands (#2056)
* Add component.mk file for esp-idf make commands

* component.mk: Check for IDF_VER

Checks for IDF_VER when adding COMPONENT_SRCDIRS and COMPONENT_ADD_INCLUDEDIRS
to avoid definig them when not using LVGL as ESP-IDF component.

* component.mk: Remove info messages
2021-02-08 16:15:59 +01:00
embeddedt
5d3fce8208
fix(gauge,linemeter) draw critical sections/end value in correct spot (#2059)
Revert be4f7a76d48112edce88d259470222aa4990ad52 and
20d56ee6e97905f56eb71d30c9a391d4b4d7eb20 as they both have issues.
2021-02-08 10:45:32 +01:00
Carlos Diaz
fd74f6985a
Kconfig: Add comments to primary and secondary colors (#2048) 2021-02-08 10:41:51 +01:00
Vitaly Puzrin
dfc6719479
Improve OpenCollective link (#2054)
Will show better icon
2021-02-03 08:54:17 -05:00
Gabor Kiss-Vamosi
2181dd858b
Update FUNDING.yml 2021-02-03 11:46:08 +01:00
Gabor Kiss-Vamosi
fe47caf161 update CHANGELOG 2021-02-03 10:31:20 +01:00
Gabor Kiss-Vamosi
8b78688c79 fix(text): fix out of bounds read in _lv_txt_get_width 2021-02-03 10:29:45 +01:00
Gabor Kiss-Vamosi
1b25649483 Merge branch 'fix/indev' 2021-02-03 10:06:18 +01:00
Gabor Kiss-Vamosi
0631b17076 fix(indev): clear the indev's act_obj in lv_indev_reset
fixes #2052
2021-02-03 10:06:07 +01:00
Gabor Kiss-Vamosi
cc8b564352 Update master version 2021-02-02 15:17:59 +01:00
Gabor Kiss-Vamosi
81e5690b2c Release v7.10.0 v7.10.0 2021-02-02 15:12:11 +01:00
Gabor Kiss-Vamosi
222afe9e9b
Update CHANGELOG.md 2021-02-02 15:00:53 +01:00
embeddedt
b38ceb52eb
fix(lv_version) add proper C++ prototype to functions 2021-02-01 08:55:03 -05:00
Xiang Xiao
ced4f2a61f
fix(font): load_glyph calculate the wrong size(one byte short) of last glyph (#2042)
* fix(font): load_glyph calculate the wrong size(one byte short) of last glyph

* Print the banner before running the font test
2021-02-01 12:09:16 +01:00
Carlos Diaz
5e8d053adf
fix(issue-templates) correct typos in dev-discussion.md (#2047) 2021-01-31 13:11:08 -05:00
embeddedt
9fa5216263
fix(spinbox) cast ext_attr for C++ (#2051) 2021-01-31 12:51:23 -05:00
minyiky
27154b632c
feat(spinbox) add get_step function (#2051)
Adds a static inline function to allow access to the step parameter for the spinbox widget
2021-01-31 11:40:57 -05:00
Xiang Xiao
9003f4a9e3
Fix various issues found in font module(2) (#2044)
* fix(font): Remove the unnecessary and duplicated inclusion

and correct some wrong comment too

* fix(font): Handle the out of memory gracefully in decompression case

and remove the check of gdsc since it is impossible to become null

* fix(font): Use the correct type to avoid the cast and shift

* fix(font): Change the bit field width to occupy the whole byte
2021-01-28 09:48:26 +01:00
Xiang Xiao
1e91569763
Fix various issues found in font module (#2040)
* fix(font): Correct _LV_STR_SYMBOL_ generation command

and add _LV_STR_SYMBOL_BULLET to the list

* fix(font): lv_font_load shouldn't call lv_fs_close if lv_fs_open fail

* fix(font): read_bits should return 0 not -1 in error case

to avoid read_bits_signed waste time to extend the sign bit

* fix(font): Correct the return type of read_bits to unsgined int

and extend the sign bit more efficient and correct

* fix(font): Sync LV_FONT_FMT_TXT_CMAP_ value to binary font spec

and then remove the hard code value from source code:
https://github.com/lvgl/lv_font_conv/blame/master/doc/font_spec.md#L96
remove zero fields statement too since font_dsc->cmaps already zero at line 334.

* fix(font): Improve the performance by reading cmap table by once

* fix(font): Improve the loading performance if the header is multipled by 8bits

* fix(font): Read loca table in batch if the size is 32bits

* fix(font): Load the underline related attributes

spec here:
https://github.com/lvgl/lv_font_conv/blame/master/doc/font_spec.md#L55-L56
2021-01-27 11:20:36 +01:00
Gabor Kiss-Vamosi
df3cf24db4 fix(indev): fix implementation of LV_PROTECT_EVENT_TO_DISABLED 2021-01-27 10:37:38 +01:00
Gabor Kiss-Vamosi
b6db434c21 fix(btnmatrix): fix lv_btnmatrix_get_active_btn_text() when used in a group 2021-01-27 10:00:08 +01:00
embeddedt
19f769f1d7
Fix incorrect version for new feature in CHANGELOG 2021-01-26 12:18:33 -05:00
scandermore
dacca6eeb8
feat(indev) allow input events to be passed to disabled objects (#2033) 2021-01-26 12:16:47 -05:00
Linch
eaacde6722
fixs draw pattern stack-use-after-scope error (#2030)
* fixs draw pattern stack-use-after-scope error

* Update CHANGELOG.md
2021-01-20 11:57:33 +01:00
Gabor Kiss-Vamosi
762c0a3274
Update ROADMAP.md 2021-01-20 11:56:54 +01:00
Gabor Kiss-Vamosi
f6fe3dcc8c
Update ROADMAP.md 2021-01-19 15:57:27 +01:00
Gabor Kiss-Vamosi
011f105038 Merge branch 'master' of https://github.com/littlevgl/lvgl 2021-01-19 14:54:10 +01:00
Gabor Kiss-Vamosi
aaf4ee95f1 fix(release script) add missed merging of lv_examples to release branch 2021-01-19 14:53:54 +01:00
Gabor Kiss-Vamosi
7740085a08 Merge branch 'master' into dev 2021-01-19 14:36:38 +01:00
Gabor Kiss-Vamosi
0aefab358b Release v7.9.1 v7.9.1 2021-01-19 14:36:38 +01:00
Gabor Kiss-Vamosi
b639ddc3bc
Update CHANGELOG.md 2021-01-19 14:32:22 +01:00
Gabor Kiss-Vamosi
c03ffd7c3c
Update CHANGELOG.md 2021-01-19 14:31:47 +01:00
github-actions[bot]
32b2381168
Merge 60be7c1ceecf26bcc7413e80ddb2f154a5f6b5e5 into dev 2021-01-19 09:09:03 +00:00
Xiang Xiao
60be7c1cee
Fix minor issues found in task module (#2029)
* fix(task): Remove the unnecessary cast and init

and correct the comment too

* fix(task): Implement lv_task_create directly

to avoid lv_task_set_prio which is a time consuming operation.

* fix(task): Exclude the return value computing from the idle time

and change handler_start and time_till_next to local variables

* fix(task): Remove zero task_deleted and task_created in lv_task_exec

since the loop in lv_task_handler already do the same thing
2021-01-19 10:08:30 +01:00
github-actions[bot]
3dbaa25911
Merge a637f415d77053782cc18c12e9c6d0fb0240ac1f into dev 2021-01-18 08:14:19 +00:00
Xiang Xiao
a637f415d7
Fix minor issue found in color module (#2024)
* fix(color): Return the opposite value in lv_color_premult when LV_COLOR_DEPTH equals 1

and correct the comment too

* fix(color): Correct the comment and alignment issue

* fix(color): Remove LV_COLOR_[SET|GET]_G16_SWAP

to simplify LV_COLOR_16_SWAP process

* fix(color): Correct the cast usage

* fix(color): Remove LV_MATH_ABS in lv_color_rgb_to_hsv

since delta can never become a negative number

* fix(color): Align LV_COLOR_[SET|GET]_A1 with other similar macro
2021-01-18 09:13:42 +01:00
github-actions[bot]
680d537607
Merge c9b97feea87b820a68de0b78c6adb61a1527e042 into dev 2021-01-17 14:04:07 +00:00
Xiang Xiao
c9b97feea8
fix(formatting): various improvements (#2028)
* fix(formatting): Remove the duplicated space

* fix(formatting): Remove the duplicated 'the'

* fix(spell): run codespell -w for the code base
2021-01-17 09:03:31 -05:00
github-actions[bot]
bb2d633e33
Merge 873551bb5e84c259404f3897be6d5ca2584d9e1c into dev 2021-01-15 19:31:51 +00:00
Xiang Xiao
873551bb5e
fix(area): minor improvements (#2023)
* fix(area): Correct r_sqrd and dist(int32_t to uint32_t)

since these two variables never become negative

* fix(area): Return early in _lv_area_is_in if pointer outside area

The origin code always does the full check if radius != 0, but it
is unnecessary when is_in equals true.
2021-01-15 14:31:16 -05:00
github-actions[bot]
31622a811d
Merge bc25998c5b2acc347eade7d3dac29675d81476b8 into dev 2021-01-12 18:26:55 +00:00
Xiang Xiao
bc25998c5b
Minor fix found in mem module (#2014)
* fix(mem): Utilize ALIGN_MASK as much as possible

to avoid check LV_ARCH_64 again and again and
correct the comment about MEM_UNIT

* fix(mem): Simplify _lv_memset implementation by SET8/SET32/REPEAT8 macro

* fix(mem): Handle the out of memory gracefully in _lv_mem_buf_get

don't modify the state in the failure

* fix(mem): Remove the unnecessary memset, memcpy and assignment
2021-01-12 19:26:26 +01:00
github-actions[bot]
febe314b3b
Merge 9ca4ffd64db6fb00bc71bada2db232e6337c9b69 into dev 2021-01-12 16:02:18 +00:00