- Reimplement previews using nested UISceneNodes with isolated styles
and resources.
- Preserve live XML/CSS editing, unsaved buffer previews, external file
watching, and project resource loading.
- Use UIApplication for initialization, font resolution, and offscreen
rendering support.
- Enable Breeze by default, add a menu toggle, and replace
--use-app-theme with --disable-app-theme.
- Automatically preserve declared project viewport dimensions, with
an optional override to use the preview split size.
- Support embedded HTML documents inside WebView XML elements.
- Fix fading window shadows and shutdown with visible modal dialogs.
- Update documentation and add regression coverage.
Publish the base process snapshot without waiting for PSS collection.
Leave Family Memory blank until startup accounting completes.
- Derive PSS policy from saved column visibility before startup.
- Collect Linux startup PSS with four temporary workers and seed the cache.
- Apply completed samples only to matching process identities without
advancing performance history or aging ended processes.
- Preserve live cache entries while memory columns are hidden and
invalidate entries on PID reuse.
- Share table-state parsing and validation; remove unused migrations.
- Add next-tab and previous-tab commands with Mod+Tab and Mod+Shift+Tab.
- Remember and restore each tab's last focused widget.
- Add coverage for startup collection, cache lifetime, saved visibility,
and asynchronous family-memory updates.
SocketSelector used fd_set + select() on every platform. On POSIX,
descriptors >= FD_SETSIZE (1024) were rejected and only logged, so a
UI inspector listener or client opened that high was never serviced.
On Windows, the selector held at most 64 sockets (Winsock's default
FD_SETSIZE).
SocketSelector:
- Use a shared pollfd implementation on every platform: poll() on
POSIX and WSAPoll() on Windows. This removes both FD_SETSIZE limits.
Store descriptors in a SmallVector<pollfd, 16>, which covers the
inspector's peak without heap allocations.
- Report POLLIN | POLLERR | POLLHUP as ready to match select()'s read
readiness, so a peer disconnect still triggers the receive() that
discovers it. Windows reports a graceful shutdown as POLLHUP.
- Treat negative timeouts as an immediate check instead of an infinite
wait.
- Clear revents when poll() fails, so isReady() never reports readiness
left over from an earlier wait.
- An empty selector sleeps for a finite timeout and returns false;
with an infinite timeout it returns immediately. WSAPoll() rejects
empty sets, and nothing could ever become ready anyway.
- Remove sockets by swapping with the last entry instead of shifting.
- Raise the Winsock target to Vista (0x0600), the minimum for WSAPoll().
UI inspector:
- Stop watching the listener while the 16-client limit is reached. A
pending connection kept it readable, so every wait() returned
immediately and the network thread spun.
Tests:
- Add SocketSelector tests for listener and data readiness, removal,
duplicate adds, disconnect readiness, negative timeouts and empty
selectors, plus a POSIX run with every descriptor above FD_SETSIZE.
- Add HighFileDescriptorReservation, shared with
Http.tcpConnectTimeoutHandlesFdAboveFdSetSize. It raises the soft
RLIMIT_NOFILE when needed, so the high-fd tests run under common
defaults (1024 on Linux, 256 on macOS) instead of being skipped.
- Fix UIHTML.AttributeSelectorsMatchWidgetIds on Windows: it compared
c_str() of a temporary that was destroyed before the check.
- Fix UIHTML.StylesheetsDoNotPaintRawTextNodes on Windows: read the
frame before display(), because Windows drivers don't preserve the
back buffer after a buffer swap.
Selector matching (Selectors Level 4 §17.3):
- Retry other candidates for descendant and general-sibling combinators
instead of rejecting after the first failed path. Checkpoints use a
fixed array of one entry per checkpoint-saving rule (16 on the stack,
32/64 in out-of-line helpers, heap beyond), with failure pruning so
exhausted searches stop early.
- Handle <html> as a style-sheet parent boundary whose siblings stay
visible: failed parent steps at an <html> with element siblings retry
instead of rejecting, and a ~ candidate that is such an <html> resumes
its search without a checkpoint.
- Reject the subject before sizing storage for long selectors.
Style dependencies:
- getRelatedElements() now returns the union of tracked elements over
every matching path, so state changes on any eligible ancestor or
sibling restyle the subject. Strategies are chosen per selector:
immediate exit, fixed-prefix walk, single candidate scan (with a
shared suffix for ~ candidates), an ancestor-path DP, and a memoized
collector. All are linear and allocation-free for common selectors.
Other fixes:
- Exclude raw text nodes from matched author styles; their widget
backgrounds painted over glyphs drawn by the parent rich text.
- Report widget ids from getPropertyString() so [id=...] selectors match.
- Add StyleSheetSelectorRule::hasAnyPseudoClasses() and
UIStyle::getRelatedWidgets() (inline, ABI-compatible additions).
Build:
- Link libeepp with -Wl,-Bsymbolic-functions on Linux, BSD and Haiku so
internal calls skip the PLT (11,314 -> 619 PLT entries). Measured:
Markdown load -25%, selector matching -11%, attribute matching -14%.
Tests and benchmarks:
- Regression tests for backtracking, <html> boundaries, subscription
union and cleanup, operation-count bounds, long selectors and id
attribute selectors, plus a differential test against an exhaustive
reference matcher.
- Add Benchmark.CSSSelectorCombinators and Benchmark.CSSStateDependencies
and create all benchmark windows hidden.
- Add CalendarDate, TimeOfDay, LocalDateTime and DateRange with Gregorian
arithmetic, locale-aware formatting/parsing, ISO serialization and Unix
timestamp conversions with explicit UTC offsets.
- Add UIDateTimeEdit, UIDatePicker, UITimePicker, UIDateTimePicker and
standalone UICalendar, with XML/CSS registration and data binding.
- Support segmented keyboard editing, numeric entry, ISO paste, configurable
steps, bounds, empty values and independent seconds/milliseconds display.
Default time display to hours and minutes while preserving stored precision.
- Add day/month/year calendar navigation and a combined date-time popup with
time steppers, live configuration updates and scoped event connections.
- Add Breeze and fallback theme styles with CSS-defined SVG icons, dp sizing,
font-aware calendar dimensions and muted read-only/disabled controls.
- Map HTML date, time and datetime-local inputs to native controls with strict
value sanitization, min/max/step/required/readonly/disabled handling,
constraint validation and normalized form serialization.
- Provide private light HTML control defaults and intrinsic temporal sizing;
prevent author CSS from styling anonymous implementation parts.
- Share popup placement and visibility helpers across pickers, dropdowns and
trigger/cursor menus while retaining cascading-menu placement rules.
- Fix fractional grid wrapping and input cursor bubbling over child buttons;
notify and refresh styles when editing permission changes.
- Reduce CSS registration allocations with string_view parameters and
heterogeneous name lookup; inline frequently used node and CSS getters.
- Align CodeEditor default font sizing with text widgets without overriding
application preferences.
- Add HTML form margin defaults and update the affected rendering baseline.
- Upgrade Windows ecode nightly builds to Ubuntu 24.04 and newer MinGW.
- Add picker documentation, an example and regression coverage for date math,
locales, editing, popup placement/lifetime, HTML controls and pixel density
- Compensate for the difference between font ascent used by RichText layout
and the character-size baseline used by Text rendering. Cache the natural
baseline in each text span while preserving background and selection boxes.
- Add pixel-level coverage for proportional and monospace fonts at matching
and different sizes, with default and explicit line heights. Refresh the
affected rendering reference images.
- Keep diff view select buttons last in the child list so lazily created
image viewers cannot intercept their clicks.
- Display source images and generated diffs at native pixel dimensions,
independent of UI density, scaling down only to fit the viewport. Avoid
rounding twice at fractional densities.
- Add regression coverage for mode switching and sizing at densities
1, 1.5, and 2. Use portable temporary paths.
- Follow local Markdown links relative to each document, including
relative file:// paths, with configurable handling and async loading.
- Add validated subtree navigation interceptors and custom link flows.
- Introduce UIScrollableMarkdownView with XML support and scroll reset
after successful navigation.
- Add opt-in Back/Forward history, localized context menu actions, and
mod+[ / mod+] shortcuts; enable history in ecode previews.
- Restore preview tabs between sessions and preserve live editor binding
and unsaved source content when navigating back.
- Refresh the README around eepp's GUI framework and document the new APIs.
- Remove the fixed Markdown code font size and add regression coverage
- Clamp selection coordinates independently so horizontal dragging preserves
the selected row. Use the mouse event's Y coordinate against the terminal's
vertical bounds, including padding, and retain unclamped coordinates during
periodic updates outside the window.
- Preserve nested branch names when removing the remote prefix.
- Create and check out local branches with explicit upstream tracking.
- Avoid marking tracked branches as local only.
- Cache the resulting local branch name after checkout.
- Add regression coverage for nested names, custom names, and checkout failures
Recognize the canonical root path with or without a trailing slash so
root-level add and move events can find their parent node.
Add regression tests for root-level file and directory additions and
moving a file into the project from outside the tree.
Track when the formatting owner assigns fragment bounds and suppress
layout feedback from text-node and inline-span size changes. Preserve
size events and invalidation from callback-driven text or style changes.
Add regression coverage for content reuse and table sizing after size
callbacks. Preserve class sizes and existing member offsets.
Adjust browser toolbar padding and remove the URL bar's right margin.
- Reuse unchanged inline content and fragment lookups.
- Share plain-text min/max intrinsic measurements without copying
existing shaped layout state.
- Preserve content invalidation during active measurements.
- Default URL bar and CLI addresses to HTTPS while preserving
explicit URLs and local file paths.
- Fix Windows header macro conflicts and eproc signal declarations.
- Add regression coverage for reuse, rewrapping, and invalidation
Correct checkbox and radio autosizing, submenu padding, scrollbar skin
sizing, and nested menu-bar popup coordinates.
Preserve resolved stroke widths through CSS serialization and transitions,
including HTML's special px scaling.
Add high-density regressions for these fixes and the preceding DPI cleanup
commits, covering padding and margin setters, widget defaults, dialog
dimensions, table padding, editor spacing, and diff gutters.
Preserve the viewport when restoring a pane's selection on mouse focus,
so click hit testing uses the visible text. Keep scrolling to the restored
cursor for keyboard and programmatic focus changes.
Refs SpartanJ/ecode#958
- Translate SDL2 and SDL3 clipboard updates into ClipboardChanged events.
- Expose Unknown, Self, and External clipboard ownership metadata.
- Add regression tests for event dispatch and ownership defaults.
- Add a persisted eterm setting controlling tab bars in split panes.
- Fixed both scrolling tests. SDL2 starts text input automatically on desktop, so the first Space waited for a text event the key-only test never sent.
eepp framework:
- Add shared cookie jars to UISceneNode and UIWebView, plus versioned
CookieManager persistence, domain clearing, and locking in hasCookie().
- Follow HTTP 303 redirects and merge same-host redirect cookies as
name/value pairs without forwarding Set-Cookie attributes.
- Include Cookie headers in document cache keys while preserving static
resource reuse as cookies change.
- Submit HTML forms with an empty action to the current document URL.
- Extend NavigationRequest with source, mouse buttons, modifiers, and
navigation target; anchors forward this context to the scene.
- Emit OnLinkOpenRequested for middle-click, platform-modifier click,
and explicit new-tab requests, with current-view fallback if unhandled.
- Install the WebView navigation interceptor during construction.
- Dispatch middle clicks to the hovered node without moving keyboard focus.
- Add the clicked target to ContextMenuEvent so applications can extend
context menus through existing events.
- Parse HTML titles, emit TitleEvent, and fix onTitleChanged's payload cast.
- Load declared favicons through the shared image cache, emit
OnFaviconChanged, and ignore responses from superseded navigation.
- Add optional UITabWidgetSplitter tab-bar visibility while split;
keep it disabled by default and respect explicitly hidden tab bars.
- Add Space/Shift+Space scrolling and viewport-sized Page Up/Down steps
to UIScrollView, shared by WebView and Markdown content.
- Implement setEnableDefaultKeybindings() and preserve text-input
priority through normal bubbling without control-type checks.
- Report inserted UICodeEditor text as handled.
- Add UITextView::onFontColorChanged() and synchronize password-mask color.
- Support validated left, middle, and right clicks in the inspector
server and Python client.
ui_html example:
- Use UITabWidgetSplitter for tabs and user-controlled splits.
- Share cookies and the resource cache across tabs; persist cookies
between sessions and open new tabs blank.
- Add Inspect, Clear Domain Cookies, Clear All Cookies, and contextual
Open Link in New Tab actions through menu event subscriptions.
- Open requested links in background tabs and synchronize navigation UI.
- Use document titles and 16dp favicons for tabs, cap width at 200dp,
and truncate long titles with ellipsis.
- Enable tab-bar visibility across split panes.
- Fixed: the selection rectangle now uses the visible password symbols instead of the original text.
Update HTML compatibility and inspector documentation and add regression
coverage for persistence, redirects, cache isolation, navigation, menus,
titles, favicons, password colors, split visibility, and scrolling.
Store native and inherited fallback values outside local styles, then restore them when state rules stop matching. Handle indexed properties across overlapping states and retain a serialized value when an inherited source disappears. Add rollback regression tests and update the CSS documentation
Focus and select the first process row when pressing Down in the search input. Pressing Up from the first row returns focus to search in both table and tree views.
Generate size-aware macOS icons and separate runtime Dock PNGs for ee,
ecode, eterm, eeiv, and eproc. Keep shared PNGs sized for small Linux
icons, and package ecode's macOS runtime icon.
Bump eepp to 5.0.0 (Kittima-attā) and ecode to 0.9.0 (Yanta-lekhā).
- Rename .agent to .agents and update plan references
- Add an articles index and clearer links to the UI inspector
- Correct the UI introduction’s CSS inheritance guidance and add an example workflow
- Add F11 visual inspection to the hello-world example and enlarge its window to fit
- Remove the old Kitty keyboard plan and TODO.md
Add guides for native UI authoring, layouts, application CSS, and HTML
compatibility. Update the CSS reference, rename article files consistently,
and point README links to the local guides.
Add Copy Link for HTML and Markdown anchors when no text is selected.
Resolve relative links against the document URI before copying, and cover
Markdown and WebView behavior with tests.
Fix layout width policy serialization to use the widget's width.
Extend truncated Linux process names from argv[0] when it safely matches
the kernel-provided name. Fill performance chart lines and show uptime
in readable days, hours, and minutes, with the new text ready for i18n.
- Token generation (src/eepp/ui/tools/uiinspectorserver.cpp:67) now uses `BCryptGenRandom` on Windows, including for screenshot filenames.
- Split basic HTML defaults from document and form styles
- Load only structural defaults for Markdown views, leaving document colors and form-control styles to full HTML documents. Add Breeze styling for Markdown horizontal rules and HTML textareas.
Require the initial mouse press to occur within the view’s selection tree, excluding scrollbars. This prevents scrollbar drags and drags from a code editor from starting text selection when the pointer enters the view.
Add regression coverage for both cases
`UIInspector` owns move-only event connections. Explicitly delete its copy constructor and assignment operator so MSVC does not instantiate invalid copies of the handle maps. Restore the dense map implementation
Add an opt-in TCP/NDJSON inspector for running eepp applications. It
provides authenticated, UI-thread-safe access to windows, scenes, and
widgets, including nested WebView documents. The v1 protocol supports
queries, trees, properties, focus, input actions, watches, screenshots,
and composed batches with result references and deferred execution.
Add a standard-library Python CLI, protocol documentation, build
entries, and integration tests. The listener remains disabled unless
explicitly enabled.
Fix HTML compatibility issues found while debugging NewsBlur:
- Let explicit flex minimums, including min-width: 0, replace the
automatic content minimum.
- Measure flex lines against the container content box when padding
and explicit dimensions are present.
- Keep promoted positioned descendants of hidden ancestors out of
the paint list.
An embedded UI scene can leave the host event dispatcher pointing to it after teardown. With hidden windows starting the mouse at (0, 0), the next update can call onMouseLeave on the destroyed scene and crash.
Clear hover, focus, and mouse-down references before detaching the shared dispatcher.
Verified with 20 runs of UIWebView.DestroyWithPendingSubresourcesIsSafe and the full macOS release suite (1,310 tests).
Add a View menu toggle, keyboard shortcut, and --zen-mode option.
Hide the side panel, status bar, menu controls, tab bar, and document
info while Zen Mode is active, then restore configured visibility.
Add the menu label to all locale catalogs. Refs SpartanJ/ecode#964.
Test stability
test(ui): stabilize visual tests and Windows clipboard assertions
Initialize hidden SDL windows with an internal mouse position of (0, 0)
so desktop cursor hover cannot affect visual tests. Assert this in
complexLayout3 and normalize Windows clipboard line endings in the
Markdown selection test.
Allow each LineSeries to fill down to the plot’s bottom edge, using a translucent version of its line color by default or a custom fill color. Render overlapping fills beneath the strokes, document the new API, and demonstrate it in the charts example. Add coverage for blending, data gaps, and toggling fills.