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.
- 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.
Restructure the test infrastructure with these changes:
* Extend libctest with ctest_suite_t, ctest_parse_args, ctest_run_suites and CTEST_MAIN macro to standardize test entry points; support --grep / --grep= / --list / --interactive flags; add ctest-tests for self-tests.
* Regroup tests by lib boundary: sink unit tests into lib/<name>/tests/ with <lib>_<topic> entry function names, move fixtures into lib/<name>/tests/fixtures/, rename top-level tests/cases/ to tests/integration/ for cross-lib integration tests.
* Add tests/scenes/ for reusable widget tree builders shared by integration cases and visual preview binaries; add tests/previews/ with 4 diagnostic binaries (flex_layout, block_layout, widget_opacity, scrollbar).
* Rewrite all describe/equal description strings using 'should ...' style or noun topic names; drop redundant lcui_quit/lcui_main calls from integration cases.
* Integrate xmake test via add_tests(\default\) and a shared tests.runnable rule defined in the root xmake.lua; the rule wraps the test binary with drmemory (Windows) or valgrind (Linux) when option memcheck=y.
* Drop the lcui-tests aggregation: lcui-tests now contains only integration cases and scenes, not the union of lib tests. Use xmake test to run everything across libs.
* Fix .clang-format: InsertNewlineAtEndOfFile -> InsertNewlineAtEOF (correct key for clang-format 16+).
* Update AGENTS.md with the new test layout, naming rules, description style and run commands.
* Update CI to use xmake test and xmake f --memcheck=y instead of per-lib runs.
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
* add yutil
* add yutil to util.h
* remove util file that same as yutil's
* replace the old header file like '#include <LCUI/util/*>' with yutil's head file
* Replace the old UTIL module associated data structures and function call code
* change timer
* Replace the old UTIL module associated data structures and function call code
* fix
* fix compilation problems(RGB to YUTIL_TEST_RGB)
* turn some useless changes back to origin
* change YUTIL_TEST_RGB back to RGB and add lcui-util/xmake.lua include
* update github action
* update github action
* update github action
* change new yutil func name
* update xmake and change way to include yutil
* update include to <yutil.h>
* update list_for_each to for(list_each())
* fix
* add graph.h to test_*
* add #include <LCUI/graph.h>
* update yutil
* change timer func name and update submodule
* update submodules
* test strncpy
* turn useless code back origin
* fix lose RGB issue
* fix yutil charset
* update yutil
* update yutil
* add yutil_test instead of lcui-util test
* change timer func name style
Co-authored-by: 李梓豪 <yidianyiko@foxmail.com>