Gabor Kiss-Vamosi
55197a2934
name unamed structs in lv_color.h
2019-02-28 06:08:15 +01:00
Gabor Kiss-Vamosi
cc3ef640da
rename lv_fs_free to lv_fs_free_space to avoid collosion woth free()
2019-02-25 15:34:35 +01:00
Gabor Kiss-Vamosi
ca2a2e9c49
fix conflicts
2019-02-25 06:56:49 +01:00
Gabor Kiss-Vamosi
285ff7d3b4
lv_cont: improve fit with TIGHT, FLOOD, FILL
2019-02-24 06:24:36 +01:00
Gabor Kiss-Vamosi
f2bd701927
multi-disp: API updates
2019-02-20 10:16:33 +01:00
Gabor Kiss-Vamosi
a494521d7b
Merge branch 'dev-6.0' into manison-feature/theme_focus_cb
2019-02-19 07:03:31 +01:00
Themba Dube
99825aa29f
Merge branch 'master' into dev-6.0
2019-02-18 12:18:16 -05:00
Themba Dube
2e0b8e10ae
Add missing include to lv_math.c
2019-02-18 12:15:57 -05:00
Themba Dube
62e58a25c9
Merge branch 'master' into dev-6.0
2019-02-17 14:58:32 -05:00
Themba Dube
19ea8ac55f
Fix compilation error introduced in 1e8ea6b15bea6dbd8c9314d58c70a3ba49f9ac2b
2019-02-17 14:58:10 -05:00
manison
8ec60fbe3e
add groups to the linked list
...
https://github.com/littlevgl/lvgl/issues/806
2019-02-15 08:46:12 +01:00
Gabor Kiss-Vamosi
e3bbe0a4fd
spinbox fixes
2019-02-15 06:34:30 +01:00
Muhammet Asan
533d39b4c2
10 times faster int to string implementation
2019-02-14 14:13:25 +01:00
Gabor Kiss-Vamosi
8c4e4c3861
multi-disp: refresh multiple displays
2019-02-12 12:21:34 +01:00
Gabor Kiss-Vamosi
5b92b4d01b
move basic descriptors to lv_disp_t
2019-02-10 11:06:47 +01:00
Folke Will
321a08b42e
Retain formatting
2019-02-09 13:48:09 +01:00
Folke Will
b7d5537961
Fix color narrowing warning
2019-02-09 13:46:29 +01:00
Gabor Kiss-Vamosi
68f25fa999
add_lv_fs_is_ready()
2019-01-31 13:24:02 +01:00
Gabor Kiss-Vamosi
855dc44e32
solve warings
2019-01-28 16:02:11 +01:00
Gabor Kiss-Vamosi
eca9245382
lv_mem: add LV_MEM_ADR to set wotk memory address externally
2019-01-28 06:09:06 +01:00
Brian Pugh
ac8ce1f643
Added lv_gc.c to lv_misc.mk
2019-01-27 12:30:25 -08:00
Amir Gonnen
10f3928169
Fixed refernce to anim_ll. LV_GC_ROOT must be used for Micropython gc support
2019-01-24 00:51:46 +02:00
Amir Gonnen
b58e526a0b
restore LV_COLOR_HEX macros and add inline functions in addition to them, not instead of them
2019-01-24 00:17:37 +02:00
Amir Gonnen
fe479fe261
lv_colors.h: move OPA macros to enum, move LV_COLOR_HEX macros to inline funcs, this exposes them to Micropython. If enum member is a number (as in OPA), prefix it by underscore to create a valid python attribute. Bugfix: when returning to a struct by value, copy it first. lv_mpy.c renamed to lv_mpy_example.c since the actual lv_mpy.c should be generated by the build script automatically based on current H files and lv_conf.h
2019-01-24 00:17:37 +02:00
Amir Gonnen
473c2276dd
add '_lv_' prefix to global roots
2019-01-24 00:14:33 +02:00
Amir Gonnen
1e8ea6b15b
gc: add undescore to roots, arranged lv_mem.c regarding gc defines. Added support to Symbols using the numstr technique of encoding the characters as a number in an enum. Globals: register them directly witout the need for constructor to access them. Updated example code. Updated lv_mpy.c
2019-01-24 00:14:33 +02:00
Amir Gonnen
a883f0b39a
Enable Micropython gc (Garbage Collection) on lvgl. This is controlled by LV_ENABLE_GC macro defined in lv_conf.h. When enabled, lv_conf.h should also define LV_MEM_CUSTOM_REALLOC, LV_MEM_CUSTOM_GET_SIZE, LV_GC_INCLUDE and LV_GC_ROOT
2019-01-24 00:14:33 +02:00
Gabor Kiss-Vamosi
10b86cea37
lv_anim: add ease_in/out path
2019-01-22 15:52:47 +01:00
Gabor Kiss-Vamosi
8ddc9f21fe
Set LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN default value to 1 to avoide warnings
2019-01-15 15:36:35 +01:00
Gabor Kiss-Vamosi
bb4b37c6b3
add new object type: lv_ canvas
2019-01-14 16:03:40 +01:00
Gabor Kiss-Vamosi
6f12166af2
lv_task_handler: revert the addition of return value. See: #708
2019-01-14 15:21:04 +01:00
Gabor Kiss-Vamosi
eec348132f
turn LV_OPA_.. defines to enum
2019-01-14 15:08:54 +01:00
Gabor Kiss-Vamosi
088936e7f8
add return value to lv_task_handler. resolves #708
2019-01-13 07:46:12 +01:00
Gabor Kiss-Vamosi
d76b9c5b17
Merge pull request #721 from joltwallet/long_word_wrap2
...
Break long words immediately if word is longer than wrap width 2
2019-01-13 06:20:34 +01:00
Brian Pugh
48cd728693
move LV_TXT_BREAK_LONG defines to lv_conf.h
2019-01-12 10:59:15 -08:00
Brian Pugh
1a4a35f5a1
Change LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN to 0; see discussion #721
2019-01-12 08:44:16 -08:00
Brian Pugh
5b8e2cb6e1
Fixed off by one error for LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN
2019-01-12 08:42:37 -08:00
Brian Pugh
6c55ba5d31
Fixed characters jumping after character after future break character
2019-01-11 08:57:23 -08:00
Brian Pugh
62d7b3b034
Added pretty breaks for long, but not widht-long words
2019-01-10 19:52:47 -08:00
Brian Pugh
d8aa9bfa1d
move define macro to lv_txt.c
2019-01-10 19:07:36 -08:00
Brian Pugh
56fd6d944c
Fixed last character from being cutoff
2019-01-10 19:05:19 -08:00
Gabor Kiss-Vamosi
d3fab62f8f
txt position fixes
2019-01-07 07:06:31 +01:00
Brian Pugh
4b2cd9030c
Correctly count characters. Also remove letter spaces from 0-width characters
2019-01-06 17:49:07 -08:00
Brian Pugh
ab1a9b41e6
Add a minimum number of characters to print on a super long screen before wrapping it to the next line
2019-01-04 18:43:20 -08:00
Brian Pugh
b7c08e8aed
Proper word wrapping taking into account letter_space
2019-01-04 09:10:27 -08:00
Brian Pugh
0a0df60f77
Long word breaking algorithm
2019-01-03 23:17:19 -08:00
Themba Dube
53c19167f3
Merge branch 'master' into dev-5.3
2019-01-03 13:36:02 -05:00
Gabor Kiss-Vamosi
2ab274542a
Merge branch 'dev-5.3' of https://github.com/littlevgl/lvgl into dev-5.3
2019-01-03 18:04:38 +01:00
Philipp Trommler
75f3198c3d
lv_log: Fix type limits error
...
When building LittlevGL with a rather recent compiler (tested with GCC
7.3.1 provided by Arm), `-Wall`, `-Wextra` and `-Werror` activated and
`LV_LOG_LEVEL` set to `LV_LOG_LEVEL_TRACE`, compilation fails due to a
type limits error in lv_log.c
if(level >= LV_LOG_LEVEL) {
^~
because the comparison is always true, since level is a `lv_log_level_t`
(that is a typedef for `uint8_t`) and `LV_LOG_LEVEL_TRACE` equals 0.
Fix that by making `lv_log_level_t` a typedef to `int8_t`.
Fixes #690
2019-01-02 15:18:02 +01:00
Gabor Kiss-Vamosi
cda531fc56
lv_circ.c: include lv_circ.h for consistency
2019-01-01 01:34:29 +01:00