github yappologistic/CUI v1.3.0
CUI 1.3

48 minutes ago

Added

  • Developer tools, ten components for the tools developers build. Each works at phone width and in a right-to-left interface, builds or draws only what is in view, and allocates only when its data changes. See Developer tools and the gallery's new Developer tools page.
    • Trace viewer: lanes of nested spans for threads, processes or services, with markers across every lane. It zooms around the pointer, pans, measures a range with Shift+drag, folds a lane from its name and walks the call tree with the arrows. 200,000 spans take under a millisecond a frame.
    • Network waterfall: requests as a table with timing bars showing queued, DNS, connect, TLS, waiting and download phases, plus DOMContentLoaded and load lines, a breakdown on hover, a summary and a legend.
    • Dependency graph: nodes and edges laid out in layers, with cycles broken. Long edges are routed between the nodes, and the order within each layer is chosen to cross fewer edges. Hovering a node lights up its neighbours. It zooms, pans and fits, left to right or top down.
    • Commit graph: history with branch lanes, merges, and badges for branches, remote branches and tags. Fifty thousand commits lay out in a few milliseconds.
    • Pipeline: the stages of a CI or CD run, with their jobs, status, durations and a summary for each stage. Jobs allowed to fail do not fail their stage, and the stages stack on a phone.
    • Problems panel: diagnostics grouped by file, with toggles that filter by severity and show counts, a text filter, folding, keys, and activation to open the file.
    • Key-value editor: headers, parameters or environment variables. Typing in the last row adds a pair, and pairs can be switched off, kept secret, or flagged as duplicate keys.
    • Query builder: conditions in nested all/any groups, with operators that fit each field's type. cui_query_text writes the query as a sentence and cui_query_match tests a record.
    • Schedule picker: a cron expression edited as every N minutes, hourly, daily, weekly, monthly or custom, with the next runs listed. cui_cron_next and cui_cron_describe are public.
    • Keymap: shortcuts drawn on a keyboard by modifier set, with categories, conflicts, the bindings on hover, and the clicked key returned for rebinding.
  • tests/test_devtools.c: the developer tools under clicks, keys and random input, at three widths, in both directions and both themes, with timing checks on large inputs.
  • Ten more developer tools, to the same standard. They are on the gallery's new More developer tools page.
    • Test explorer: test results as a tree. Suites sum up their tests, and failures show their messages. It has run buttons, Run all, status filters with counts, a name filter and keys.
    • Stack trace: an exception with its frames. Library frames fold, and frames open to show their source, highlighted, with the failing line marked. A button copies the trace.
    • Blame: source with who last changed each line. Runs of a commit share a gutter entry with author, age and hash, newer changes are shaded stronger, and a hover marks a commit's lines. 100,000 lines take a tenth of a millisecond a frame.
    • Coverage: a folder tree built from file paths. Each folder sums up its files, with lines, branches and functions against thresholds, sortable columns and folding.
    • Regex tester: matches and groups highlighted in a test text, with the flags i, m and s, errors under the pattern, and a list of the matches and groups. Its engine is public as cui_regex_search: groups, named groups, lazy quantifiers, classes and anchors, with a step budget, so a pattern that backtracks for too long stops instead of freezing.
    • HTTP request bar: the method, the URL and Send or Cancel, plus cui_response_status for a response's status, time and size. cui_url_params and cui_url_set_params keep a parameters table in step with the URL.
    • API explorer: endpoints grouped by tag, with method colors, path parameters marked, deprecated endpoints struck through, parameters, Try it, a filter and keys.
    • Feature flags: flags against environments. Each environment has a switch and a share of users set from a popover, and a phone shows one environment at a time.
    • Uptime bars: a status page. Each service has its state, its uptime and a bar per day colored by availability, with hover details. Narrow panels keep the latest days.
    • Time histogram: event counts over time, stacked by series. Drag to select whole buckets, and hover for the counts. The time labels adapt from seconds to weeks.
  • The code editor takes marks, ranges of bytes to highlight in the accent or a series color. The highlighter takes "text" for no highlighting.

Fixed

  • CUI_VERSION_STRING said "1.1.0" in 1.2. It now matches CUI_VERSION_MAJOR, MINOR and PATCH, and the gallery shows the version from them.

Don't miss a new CUI release

NewReleases is sending notifications on new releases.