Развитие WUI: новые возможности и исправления из истории проекта.
Архив восстановлен по ChangeLog.md и доступной Git-истории. Дата соответствует номеру версии; это не подтверждение даты публикации удалённого GitHub Release. Оригинальные заметки сохранены на английском. Ссылки на GitHub Releases показаны только для существующих тегов.
WUI 1.5.261116
Отзывчивый UI и устройства macOS.
Таймеры на UI-потоке, быстрые длинные списки, опциональные API микрофона, динамиков, камеры и экрана на macOS, CI Windows/Linux. WUI и приложение нужно полностью пересобрать вместе.
Оригинальные изменения
Add optional experimental macOS native media devices (WUI_ENABLE_MEDIA=ON):
persistent device IDs, PCM capture/playback, camera and primary-display capture.
Negotiate camera frame rates and preserve requested output dimensions.
Dispatch Windows timers on their owning message loop and Linux timers on the
X11 event thread. Handle stop/restart, stale callbacks and callback lifetime;
remove the Windows scrollbar worker thread.
Coalesce Linux redraw/resize requests and dispatch macOS redraws on the main
thread. Initialize Xlib threading before opening the display and use standard
X11 cursor names.
Paint lists and hit-test rows without repeated prefix measurement. Regressions
cover long lists, nonpositive row heights, scrolling and pointer events.
Add explicit input caret positioning and show the caret immediately on focus.
Fix rounded radio/switch geometry.
Add Windows MSVC Debug/Release x Win32/x64 CI and Linux Xvfb Release/ASan/UBSan
CI. Fix Windows CMake source selection and avoid the Boost.Nowide binary link
dependency. Extend platform integration tests.
Update the roadmap against the implemented features and remaining platform,
packaging and accessibility work.
Compatibility: perform a clean rebuild of WUI and every consuming application.
The timer/scroll object layout has changed; headers and libraries must come from
one revision. Windows timers must be created on a thread with a message loop;
Linux timer callbacks now run on the X11 event thread. Native media is optional,
experimental and currently macOS-only; screen capture requires macOS 12.3+.
Экспериментальные порты AppKit и WebAssembly, три живых примера C++, новый Showcase, улучшения ввода текста и прокрутки.
Оригинальные изменения
Add experimental macOS backend (AppKit, Core Graphics, Core Text, ImageIO),
Retina buffers, UTF-8/IME input, clipboard, main-thread timers,
embedded/modal windows and status items.
Build macOS application bundles for all examples and add platform integration tests.
Add experimental WebAssembly backend (Emscripten, Canvas 2D), browser windows,
Unicode/composition input, clipboard events and single-threaded timers.
Preserve the desktop event-loop contract using Asyncify.
Build all three examples for static web hosting and add integration tests
for Chromium, Firefox and WebKit, including touch-focus scenarios.
Keep the active framework implementation alive until its event loop returns.
Replace the main demo with an interactive seven-page Showcase covering controls,
dialogs, text editing, filtered lists, menus, custom drawing and split layouts.
Preserve page state and support switching between light and dark themes.
Draw toggle and radio indicators with primitives instead of PNG resources;
add the classic button_view::checkbox, keyboard activation and theme sizing.
Improve single-line and multiline input selection, Unicode editing, newline
handling, clipboard operations and drag autoscrolling; add regression tests.
Fix text disappearing when scrolling single-line and read-only inputs.
Remove the blinking insertion caret in read-only fields while preserving
selection and copying.
Keep scrollbars visible at full width and fix their rendering on macOS and WASM.
Make Ctrl/Cmd+A independent of the keyboard layout in the browser backend.
Focus browser text entry only for editable inputs, avoiding unconditional
software-keyboard activation when tapping the window or read-only text.
Fix browser-window jumps when dragging across coordinate -1, which was
incorrectly interpreted as a request to center the window.
Fix hello_world image resource paths and missing heading styles.
Fix propagation of size_changed events to plain subscribers for docked windows;
add missing <cstdint> includes in locale_selector.hpp and theme_selector.hpp.
Update English and Russian documentation, API examples, platform build guides
and documentation deployment; add dedicated text and scroll control guides.
Implemented symbols limits and numberic content checking in input (I-32)
Оригинальные изменения
Implemented symbols limits and numberic content checking in input (I-32)
Improved truncate_line() tool (I-34)
Cleanup and resolve PVS warns (I-42)
Replaced 'const wui::rect&' to 'wui::rect'. Interface changed! (I-42.2)
Implemented one thread per many independent windows message handling on Linux. The behavior of ports under windows and linux is completely identical! (I-46)
Added udev handler to send device change events on Linux (I-20)
Оригинальные изменения
Added udev handler to send device change events on Linux (I-20)
Add new method to window: void enable_device_change_handling(bool yes); It is needed to enable the window to receive events about connection / disconnection of devices (will be sent to system_event) (I-20)