Liu
|
74fbffa525
|
fix(ui-widgets): correct text widget content update conditions
|
2024-05-13 22:49:18 +08:00 |
|
Liu
|
02c306c685
|
fix(ui): request reflow after self size change
|
2024-05-13 22:49:18 +08:00 |
|
Liu
|
1637be7630
|
build: treat warnings as errors
|
2024-05-13 22:49:18 +08:00 |
|
Liu
|
b23be50c1b
|
fix(ui-server): UNINITIALIZED READ
|
2024-05-13 22:49:18 +08:00 |
|
Liu
|
261ee1b993
|
fix(ui): some dirty rectangles are not collected
|
2024-05-13 22:49:18 +08:00 |
|
Liu
|
d6f0f8e98f
|
feat(ui): add css_load event
|
2024-05-13 22:49:18 +08:00 |
|
Liu
|
59e3220370
|
style: euqal -> equal
|
2024-05-13 22:49:18 +08:00 |
|
Liu
|
62ca908c81
|
style: centent -> content
|
2024-05-13 22:49:18 +08:00 |
|
Liu
|
6f745cb9f6
|
fix(ui): widget size not stable after style update
|
2024-05-13 22:49:18 +08:00 |
|
Liu
|
1552a71ff8
|
fix(ui): correct vertical-align related position calculation
|
2024-05-13 22:49:17 +08:00 |
|
Liu
|
20d235e6b9
|
fix(pandagl): the default style should not be reset when clearing text
|
2024-05-13 22:49:17 +08:00 |
|
Liu
|
a7b36c51a0
|
refactor(ui): rename widget default prototype functions
|
2024-05-13 22:49:17 +08:00 |
|
Liu
|
f2466c7d75
|
feat(ui): improve widget update process and related data structures
|
2024-05-13 22:49:17 +08:00 |
|
Liu
|
549f8077a6
|
fix(ui): correct widget box comparison and dirty rectangle collection
|
2024-05-13 22:49:17 +08:00 |
|
Liu
|
322f57fb7f
|
fix(ui): correct flex item width compute
|
2024-05-13 22:49:16 +08:00 |
|
Liu
|
299239822f
|
feat: rename textedit to textinput
BREAKING CHANGE: textedit has been renamed as textinput
|
2023-10-15 20:27:52 +08:00 |
|
Liu
|
43f1fdc972
|
fix(css): remove quotes from the value of font-family
|
2023-10-15 20:26:10 +08:00 |
|
Liu
|
7f409cb120
|
feat(css): add border-top/right/bottom/left shorthand properties
|
2023-08-27 17:55:05 +08:00 |
|
Liu
|
2d9d5fafd1
|
fix(ui): use the root widget as the default event target
|
2023-08-21 22:53:14 +08:00 |
|
Liu
|
4294314ac0
|
fix(css): correct cascading of background-size
|
2023-08-20 16:24:16 +08:00 |
|
Liu
|
878ebd3a94
|
fix(ui): correct the calculation of background position
|
2023-08-20 12:39:41 +08:00 |
|
Liu
|
34071c8334
|
fix(css): correct single value parsing of background-position
|
2023-08-20 12:38:24 +08:00 |
|
Liu
|
c8d62e9826
|
build(xmake): set include directory to public
|
2023-08-12 23:47:12 +08:00 |
|
Liu
|
3c9c3dd8f7
|
refactor(css): css_key_* -> css_prop_*
|
2023-06-09 23:49:15 +08:00 |
|
Liu
|
329b7c192d
|
refactor: simplify naming and function parameters
|
2023-06-07 23:39:01 +08:00 |
|
Liu
|
53ec550701
|
docs(examples): simplify fabric example code
|
2023-06-03 18:06:33 +08:00 |
|
Liu
|
27db5aeede
|
feat: add i18n library
|
2023-06-03 17:52:22 +08:00 |
|
Liu
|
ac10451453
|
ci(github): update artifact config
|
2023-05-20 23:45:47 +08:00 |
|
Liu
|
3cf81201bd
|
feat: add LCUI/main.h
|
2023-05-20 23:33:29 +08:00 |
|
Liu
|
80afffa60a
|
feat(ui): remove uncommon parameter of ui_widget_on()
|
2023-05-20 23:06:13 +08:00 |
|
Liu
|
e7bf061f50
|
docs(examples): add todolist example
|
2023-05-14 22:13:47 +08:00 |
|
Liu
|
ed852fef26
|
feat: add app initialization and destruction functions
|
2023-05-14 22:13:47 +08:00 |
|
Liu
|
bb17087d0b
|
feat(ui): rename textview to text
|
2023-05-14 22:13:47 +08:00 |
|
Liu
|
c5d66f6357
|
fix(ui): background image not loaded
|
2023-05-14 21:36:22 +08:00 |
|
Liu
|
9c4f0e9391
|
refactor: RGB() -> pd_rgb()
|
2023-05-03 21:49:46 +08:00 |
|
Liu
|
c2930907cb
|
feat: add libui-router
|
2023-05-03 17:49:51 +08:00 |
|
Liu
|
f3f1fc612c
|
feat: update libctest
|
2023-05-02 14:44:41 +08:00 |
|
Liu
|
9ad372595a
|
docs(examples): add fabric example to show how to use cairo
|
2023-04-30 16:55:36 +08:00 |
|
Liu
|
f5d0d120a2
|
refactor: update header files and xmake.lua
|
2023-04-30 00:31:47 +08:00 |
|
Liu
|
d4ea54a78a
|
refactor: remove some dependencies of libui
|
2023-04-01 22:36:10 +08:00 |
|
Liu
|
4769ad7bd3
|
refactor: remove the dependency of libplatform on LCUI
|
2023-04-01 22:36:09 +08:00 |
|
Liu
|
cc5dfe4690
|
refactor: remove the dependency of libcss on LCUI
|
2023-04-01 22:36:09 +08:00 |
|
Liu
|
98632bdfca
|
feat: merge libimage, libtext and libfont into pandagl
|
2023-04-01 22:36:08 +08:00 |
|
Liu
|
e533853908
|
feat: update css library
feat(css): add css value definition parser
refactor(css): change the parameter types of css_parse_* functions
refactor(css): migrate to new data types
refactor(css): migrate to new data types (2)
refactor(css): migrate to new data types (3)
test: add valdef test
feat(css): add css_valdef_parser_finish()
refactor(css): split css_library.c
refactor(css): css_data_type.c -> css_data_types.c
fix(css): the parsing error message of sign is not truncated
fix(css): correct initialization of data type library
fix(css): error message should not be empty
feat(css): add css_valdef_to_string()
feat(css): add double bar combinator
feat(css): add double ampersand combinator
feat(css): add curly braces multiplier
feat(css): add brackets combinator parser
docs: update css value matcher section
feat(css): add question mark multiplier
test(css): add test for brackets combinator
docs(css): update libcss_css_value.md
docs: update directory structure
refactor: numberic -> numeric
refactor(css): delete style property parser
refactor: migrate to css property API
docs(css): add css value converter section
feat(css): add css_computed_style_t
refactor(css): rename `css_style` associated identifiers
feat(css): add css_cascade_style()
refactor(css): change type of css_value_matcher_t::value
refactor(css): update args of css_register_property()
refactor(css): move css_computed_style_t
feat(css): update opacity property
feat(css): update z-index property
feat(css): update display property
feat(css): update pointer-events property
feat(css): update flex-wrap property
feat(css): update flex-direction property
feat(css): update flex-grow property
feat(css): update flex-shrink property
feat(css): update align-items property
feat(css): update justify-content property
feat(css): update position property
feat(css): update box-sizing property
feat(css): update align-content property
feat(css): update white-space property
feat(css): update content property
feat(css): update text-align property
feat(css): automatically register new keywords
feat(css): update font-style property
feat(css): update visibility property
feat(css): update border-*-style property
refactor: update css_unit_t definition
feat(css): update border-*-*-radius properties
refactor(css): delete CSS_PERCENTAGE_VALUE
refactor(css): css_cascade_length() -> css_cascade_length_auto()
refactor(css): update enum definitions
feat(css): update border-*-width properties
feat(css): update border-*-color properties
feat(css): add css_array_value_get_length()
feat(css): add border-width shorthand property
feat(css): add border-style shorthand property
feat(css): add border-radius shorthand property
feat(css): add border-color shorthand property
feat(css): add border shorthand property
feat(css): add margin shorthand property
feat(css): add padding shorthand property
feat(css): update size related properties
feat(css): update top, right, bottom, left properties
feat(css): update flex-basis property
feat(css): update line-height property
feat(css): update color property
refactor(css): add css_cascade_bg_border_color()
refactor(css): bits -> keyword_bits
refactor(css): flag -> keyword
refactor(css): update css_color_value_t definition
feat(css): add CSS_COLOR_TRANSPARENT
refactor(css): remove transparent keyword
feat(css): update font-size property
feat(css): update font-family property
feat(css): update background shorthand property
feat(css): update vertical-align property
feat(css): update box-shadow property
feat(css): update the computing of the box-shadow property
feat(css): update the computing of the background property
feat(css): update the computing of the border property
refactor(css): keyword_bits -> type_bits
refactor(css): enum css_*_e -> uint8_t
feat(css): add absolute size computing
feat(css): add absolute padding computing
feat(css): add absolute margin computing
style(css): format code
feat(css): add top, right, bottom, and left absolute value computing
feat(css): add flex-basis absolute value computing
refactor(ui): replace data type of computed style
feat(ui): update widget background style computing
feat(ui): update widget box-shadow style computing
feat(ui): update widget border style computing
feat(ui): update widget box computing
feat(ui): use tabindex instead of focusable
feat(css): remove focusable property
feat(css): update font-weight property
fix(css): clear compile errors
refactor(ui): adapt to new computed style data structure
refactor(ui): delete ui_widget_box_model_t
fix: clear some compiler warnings
refactor(ui): ui_font_style.c -> ui_text_style.c
feat(ui): remove unnecessary helper functions
fix: clear some compiler warnings
fix(font): correct bitmap cache access
fix(css): correct the key assignment of keywords
fix(css): some memory access errors
fix: missing NULL at the end of font names
fix: clear gcc errors
refactor: clear gcc warnings
fix(css): array subscript is above array bounds
fix(css): incorrect property name memory allocation
fix(css): style parser memory leak
fix(css): prop->valdef memory leak
refactor(css): logger_debug -> DEBUG_MSG
refactor(ui-builder): clear warnings
fix(css): css_properties.list memory leak
fix(css): css_style_link_group_create() memory leak
fix(css): incorrect keyword storage
test(css): correct color_value comparison
test: clear compiler errors
fix(css): correct the return value of css_register_keyword()
fix(css): correct integer type value parsing
chore(css): _DEBUG -> DEBUG
feat(css): add string value parsing
fix(css): correct font-family initial value
test(css): add test_css_computed.c
fix(css): value read error in css_cascade_background()
fix(css): add some missing properties
feat(css): add flex shorthand property
build: update rundir of lcui-css-test
fix(css): font-family parsing error
feat(css): style array value to string
chore(vscode): add compileCommands
fix(css): string value parsing error
fix(css): correct content property initial value
fix(css): the parsed style data is not stored correctly
fix(css): correct cascading of some properties
fix(css): percentage value parsing inccorect
fix(css): <length> should not contain <percentage>
fix(css): css_array_value_duplicate() did not copy the last value
feat(css): add visible keyword
feat(css): cascade each property in order
refactor(css): add style_decl.c
refactor(css): use css_style_decl_t instead of css_style_t
fix(css): incorrect number of resolved values
refactor(css): add css_style.c
feat(css): parse shorthand properties in the parsing phase
refactor(css): add background property parser
refactor(css): add border property parser
refactor(css): css_select_style_decl -> css_find_style_store
refactor(css): add css_select_style_with_cache()
refactor(css): add margin property parser
refactor(css): add padding property parser
refactor(css): add flex property parser
fix(ui): incorrect widget style cascading order
refactor(css): const css_propdef_t* -> css_propdef_t*
refactor(css): update arguments of shorthand property parser
fix(css): incorrect value parsing of shorthand property
fix(css): unexpected truncation while parsing color value
fix(css): correct value matching and style computing
fix(ui): correct css style operation
fix(platform): crash when closing window
refactor(css): delete file prefix
refactor(css): delete style.c
refactor(css): clear compiler warnings
refactor: update directory structure and build configuration
feat(css): add dump functions
fix(css): correct valdef parser cursor operation
fix(css): correct the definition of margin and padding
fix(css): correct flex property parsing and definition
refactor(ui): adjust the use of calculated styles in the layout engine
chore: tests/helloword -> examples/hello
fix(ui): some bugs in block layout
fix(css): correct flex property definition
refactor(ui): simplify the naming of widget style and layout diff API
refactor(ui): update reflow trigger rules
refactor(ui): ui_widget_auto_reflow -> ui_widget_reflow
feat(ui): allow multiple observers to connect to the same widget
refactor(ui): simplify widget update process
refactor(ui): adjust row processing in block layout
refactor(ui): adjust the data structure used in the flexbox layout
fix(ui): correct flex layout algorithm
build: update config
|
2023-04-01 22:36:07 +08:00 |
|
Liu
|
e30aa7d016
|
feat(ui): allow multiple observers to connect to the same widget
|
2023-04-01 22:36:06 +08:00 |
|
Liu
|
2bceaf0a7f
|
fix(ui): infinite loop when adding mutation record
|
2023-04-01 22:36:06 +08:00 |
|
Liu
|
f5704386e1
|
chore: update commitlint config
|
2023-04-01 22:36:04 +08:00 |
|
Liu
|
3ebb6fba4d
|
test(pandagl): add cairo example
|
2023-04-01 22:35:30 +08:00 |
|
Liu
|
fd58de75ab
|
refactor: add lib/lcui-def
|
2023-04-01 22:35:29 +08:00 |
|
Liu
|
ae8c8a42eb
|
chore: clear compilation warnings
|
2023-04-01 22:35:29 +08:00 |
|