ui_server_on_window_resize() required INITIALIZED, but the doc-viewer tests resize a window before ui_server_update transitions PENDING to INITIALIZED, especially under Xvfb, so the resize was ignored. Update the widget whenever a connection exists.
versions.json is now the single source of truth; scripts/sync-versions.mjs keeps xmake descriptors, tracked version headers and package.json in sync. Sub-library versions are aligned with the published 1.0.0 packages. C11 is set at the project level, and _GNU_SOURCE is defined on POSIX so strict C11 still exposes clock_gettime, strdup and recursive pthread mutexes.
- add the window API and lifecycle design specs
- lcui_init no longer creates a window; settings loading is explicit
- add lcui_window_* create/bind/geometry/state/show/close api
- replace display modes with window options and quit-on-last-window
- add per-window event scopes and window-based pointer/keyboard routing
- keep pending updates for widgets appended during a frame
- migrate examples, tests, previews and internals docs
- remove default-scope focus and mouseover getters
- move cursor.c and ui_cursor.h into libui-server
- remove the libui-cursor target and package
- drop the unused ui.h and yutil dependencies
- declare libcss explicitly for ui-server
Expose ui_get_mouseover() and, at the end of ui_server_update(), resolve
the first non-auto cursor up the hover ancestor chain (emulating CSS
inheritance), then apply it to the owning window. Runs after style
recomputation so :hover and dynamic changes take effect in the same
frame; resets to auto when the hovered widget is destroyed.
- Per-window state with [window.<id>] sections in settings.ini
- Settings module split into rendering and window_state subsystems
- Schema-driven (de)serialization with DEFINE_SETTING_INT/BOOL_FIELD macros
- Listener-based change notification via deserialize/serialize callbacks
- Integration tests for get/set, validation, and bind/restore lifecycle
The visible property check was missing '== 0', so any non-visible property change incorrectly set update_visible to true, while actual visible mutations were ignored. This caused the window to never receive ptk_window_show on Windows.
- Remove per-lib set_project() calls that overrode the global lcui
project name; xmake show now correctly reports the project as lcui.
- Move per-lib set_version() into the corresponding target() block so
each sub-library keeps an independent version usable for standalone
packaging.
- Add set_default(false) and set_group(examples) to all pandagl
examples so they are no longer picked up by xmake package.
- Rename targets to use dashes for consistency:
pandagl_cairo_example -> pandagl-cairo-example
preview_block_layout -> preview-block-layout
preview_flex_layout -> preview-flex-layout
preview_scrollbar -> preview-scrollbar
preview_widget_opacity -> preview-widget-opacity
- Bump yutil submodule to drop its set_project() call as well.
* refactor: redesign PandaGL library
* refactor: update rect and canvas API
* refactor(pandagl): renames the line drawing function
* refactor(pandagl): replace pd_painter_t with pd_context_t
* fixup! refactor: update rect and canvas API
* test(pandagl): add tests
* fixup! refactor: update rect and canvas API
* fixup! refactor: update rect and canvas API
* fixup! refactor: update rect and canvas API
* fixup! refactor: update rect and canvas API
feat: redesign the ui library
fixup! feat: redesign the app library
feat: add the ui-server library
fixup! feat: redesign the ui library
fixup! feat: redesign the app library
fixup! feat: redesign the ui library
fixup! feat: redesign the app library
fixup! feat: redesign the app library
feat(ui): add mutation observer
fixup! feat: add the ui-server library
fixup! feat(ui): add mutation observer
feat: migrate to new app and ui libraries
refactor: rename LCUI_Build.h and remove some macros related to malloc
build: copy lib/yutil/include/yutil/*.h into the include/LCUI/util
refactor: lib/app -> lib/platform
refactor: clear compilation errors in Linux
fix: conditional jump depends on uninitialised value
fix(platform): incorrect Linux app driver
feat(platform): add --use-linux-input-event option
fix(platform): correct app driver and data types
fix: test_settings failed
fix: test errors and memcheck errors
fix: undefined reference to 'WinMain'
fix(platform): the error message is not formatted correctly
fix(platform): the mouse position in the mouse event is incorrect
fix(platform): incorrect window size
fix(util): undefined reference to 'logger_log'
refactor: remove the dependency of fontlibrary.h on graph.h
fix: freetype.dll not found
fix(ui): the wheel event was not dispatched correctly
fix(ui-server): the window in the minmaxinfo event is not required
fix: the widget is not connected to the window
fix(ui): mutation observer connection node incorrect
refactor(css): update LCUI_StyleListNode structure
refactor(ui): LCUI_WSTATE_* -> UI_WIDGET_STATE_*
fix: the root widget must have a fixed size for the layout to be correct
fix(ui): root widget did not trigger the ready event
fix(ui): mutation observer not working
fix(ui-server): widget mutation handler is not working
fix: the UI is not redrawn when resizing the window
fix(platform): APP_EVENT_QUIT not working
fix(platform): Incorrect peekmessage usage
test: use the event functions provided by the libui
docs: add README.md for some libraries
feat(ui): add ui logger
fix(ui-server): `wnd_mutation` is uninitialized
fix(platform): fb app engine not work
build: fix xmake file matching warning
test: update scroll bar test code
build: use system libxml2
build: delete unneeded openMP rules
refactor(platform): remove tick thread
refactor(ui): clear compilation warnings
fix: memory leak bug
test: fix compilation errors
build: add "headers" target
refactor: LCUI_USER -> APP_EVENT_USER
fix: ui image event was not processed
refactor: delete steptimer.h
test: update requires
fix(platform): incorrect window size
refactor: simplify window creation in ui display mode switching
fix(platform): window position not updated
feat(ui-server): set the initial position of the window to center
feat(platform): add APP_EVENT_VISIBILITY_CHANGE
fix(ui-server): the window content is not completely drawn
fix(platform): windows cannot be maximized and minimized
refactor(ui): change image loader API to public
fix: the window size is incorrect in fullscreen mode
refactor(ui): move some types into ui.h