Skip to content

Release v0.7.2 - #52

Merged
erickramer42 merged 111 commits into
mainfrom
dev
Nov 11, 2026
Merged

erickramer42 merged 111 commits into
mainfrom
dev

Conversation

@erickramer42

Copy link
Copy Markdown
Owner

Release v0.7.2

Havne 0.7.2 finishes the Dashboard and signals. The desktop's gauges sit on one panel with the pages as tabs, edit mode has undo and redo, and Remove is in a gauge's panel. A Light look reads in sun. The built-in layouts show Boost, Lambda and Battery. A signal file can give a signal its dial range and warning levels, and Python writes what havne-cli writes (exports and the health report). On the phone, the drive view's gauges fill the screen, Dash lists your adapters to connect with a tap, and a held gauge opens its menu even when the finger drifts. A short user guide and an address reference join the docs. The release notes are in docs/releases/v0.7.2.md, and CHANGELOG.md lists every change under 0.7.2.

Before this PR, dev passed the full verify at 0.7.2 (1982/1982, cross-arch 103/103), a full review pass with its fixes, and release.sh check: a Clang build with warnings as errors, the Windows zip and its symbols, the wheel (installed into a fresh venv, reading mock:// at core 0.7.2) and the APK. CI passed on all three platforms at f545121; the commits since are the screenshots, a QML fix for the held gauge's menu with its test, the merge of main's CodeQL update, and the release commit.

While an export runs, Cancel takes Save as...'s place. RecordingExport::cancel() sets the worker's own stop, which core's cancel and the copy read as they read the object's end, so the export stops at the next ask, removes what it began, a picked document too, and says it was canceled rather than failed. A sizing a newer one supersedes, or one dropped, stops the same way instead of running to its end.
…l-button

# Conflicts:
#	tests/qml/tst_recordings.qml
The end line's readout came right after the session's close, before the recorder's writer had drained its ring: the writer wakes on its own timer, 100 ms when idle, so a replay played at max could end with values 0 while the recording held every row. The readout now waits, 2 s at most, until each frame put is written or dropped.

Seen as CliLogRunTest.AReplayEndsTheLogAtItsLastFrame failing on the macOS runner.
ecuio_import_with and ecuio_health_export_with take the ecuio_cancel_t the export takes, asked on the calling thread as each pass begins and as bytes or rows are read. A nonzero answer ends the call with ECUIO_ERR_CANCELED, and what it had begun goes the way every failure takes. A session's report never asks. ecuio_import and ecuio_health_export are the same calls with no cancel; the C API only grows.
RecordingImport's and RecordingView's destructors joined their workers on the GUI thread, so quitting during a long import or the viewer's health report froze the UI until it ended. Each destructor sets a stop that core's cancel reads, and that the import's copy of a provider's file checks between chunks, then waits for the next ask; nothing half made is left. A close or another open still lets a report run out, so the file picked is written.
import installs the Ctrl+C and SIGTERM handlers before its guess and passes the interrupt to core's cancel. An interrupted import writes the interrupted end line and exits 1, as an interrupted export does, with no partial folder left. CliTransferRunTest.interrupt holds a candump and a CSV import at their first ask and interrupts each.
Both take cancel=, a callable asked as core reads; true stops the import with Error CANCELED, and an exception it raises is raised again after core has removed what it began. On the main thread a Ctrl+C stops the import at core's next ask and is raised as KeyboardInterrupt: SIGINT's default handler gives way to a flag while core runs, since Python's own would raise on the callback's entry, outside its try.
ADR-0054's export-cancel appendix gains a dated note on ecuio_import_with and ecuio_health_export_with, docs/testing.md a row for their tests, and CHANGELOG.md a line under Unreleased.
A second look, daylight: near-black text on an off-white page with white panels, the warning a dark amber since no yellow reaches 4.5:1 on white, and Dark's ten trace hue families deepened to read on white. It joins lookNames, so Night still shows over it, and is appended to paletteNames, so each existing index keeps its palette. Theme.nightPalettes names the two night palettes; the tests that held their night rules for every palette but Dark, and the helpers that showed any other palette as Night, key on it. Every palette also holds success and info at 4.5:1 on a panel and the dim text at 4.5:1 on a secondary fill.
A Look row, Dark and Daylight, sits between the display size and Night, shown while Theme has more than one look (ADR-0058, decision 3). Night still wins over the look chosen. The Display row in Settings' list names the look when it isn't Dark.
WindowTheme::lightBars calls a page lighter than half a light look's. Under one the application's color scheme is Light, so Windows 10's title bar, which refuses a caption color, turns light too, and Android's status and navigation icons draw dark; Dark and the night palettes keep the Dark scheme and light icons. main.cpp's Dark scheme stays as the first frame's. BridgeTest.WindowThemeLightBarsFollowTheBackground pins the line.
ADR-0058 gains an appendix on Daylight, the second look; architecture.md names Theme's four palettes, README's Live data line and CHANGELOG.md's Unreleased name the look, and docs/testing.md has a row for the looks and palettes.
A number or computed signal takes an optional gauge object: min, max and the optional warn_low and warn_high, in the signal's own unit. havne_signals stays 1, so every existing file loads unchanged and an older Havne refuses only a file that uses the key. A range the field can't reach is refused with the unit named as the likely cause.

The C ABI adds ecuio_signal_file_gauge and ecuio_signal_gauge_t, found by the def's address like ecuio_signal_file_key, and ecuio_plugin_requires_core for the manifest's requires.core. havne-cli writes a gauge object on signal_def lines and on the signals line of stream --values, and plugins check warns when a plugin uses the key with a requires.core below 0.7.2; Python adds SignalFile.gauge, Plugin.gauge and havne.Gauge. The schema, its fixtures and the fuzz target's invariants cover the key.
The gauge row and section: its keys, its unit, what is refused, where havne-cli and Python report it, and that a file using it needs Havne 0.7.2 (requires.core for a plugin), a recording's scrubbed export included. ADR-0051's appendix records why the gauge sits beside the def and how the ABI grows.
CHANGELOG.md's Unreleased names the signal file's gauge key, and docs/testing.md has a row for its tests.
Id 14001 on bytes 14-15 of the mock frame: about 12.45 V with the key on, a dip under the starter, the alternator's 14.1-14.6 V once running. Named as obd2's Battery Voltage so one Dashboard cell reads under either profile. Live's group list gains Electrical and its tall-page case a taller page.
CHANGELOG.md's Unreleased names the battery voltage signal the demo connection now reads.
The phone screenshot row shows the Codes page in place of Live (Live stays on the desktop shot below the row). The row is an HTML table with a width on each column and each image, so the three shots render at one size on GitHub; a Markdown table sizes each column by its text. Each image still links to its full-size file.
…sted

elm327.md and j2534.md list scan, session and keepalive_ms with their values, j2534.md says mock:// also takes diagnose, and testing.md's Settings row names session= and keepalive_ms=. internal.h and the two transports' parse_query comments point at the key lists and the request keys' reader instead of repeating names. Comments and docs only.
test_c_abi.c called ecuio_signal_file_gauge and ecuio_plugin_requires_core with NULLs alone. It now loads a signal file and a packed plugin given as string literals and reads them back: a gauge's range, levels and flags, none for a def without one or a NULL def, and requires.core part by part, its patch past a byte.
A stopped or failed ecuio_export_with copied the counts it had reached into report, as if a file were there; it now zeroes them and keeps failed_class, as the health report does. Also pins the session keys the scrub keeps in a copy's URI, with a value that isn't plain dropped.
The report's URI keeps session and keepalive_ms as core's own keys and drops a key whose value isn't plain.
A real window with a WindowTheme on Theme gets Light under Daylight and Dark under Dark and Night.
… start

An import and a health report start their thread in a try: a start that fails returns false with nothing busy. A report that fails or is stopped, an export that refuses to start or can't start a thread, removes the empty document a provider's picker made. The startup sweep also removes a day-old import or health report folder.
The 10 01 goes out on core's teardown thread, which the bridge can't see, so the line reads returning to the default session. Also moves a test's comment back above its test.
The second Ctrl+C or SIGTERM writes the interrupted end line whole and exits 1, for export, import and health over a recording only; log and stream still close their recording. Adds a test knob that holds the first ask deaf to the first interrupt, a run test for the second interrupt, a run test for the stream's session lines against the fake DLL, and says what the first-ask interrupt test checks.
…ices

A family named Bar no longer passes on the word Barlow.
Plugin.requires_core is (major, minor, patch) from ecuio_plugin_requires_core.
One after core's last ask raises once the file is whole and in place.
ECUIO_DROP_ACCESS and the engine's drop reason allow the extended session core enters on request, the simulated ECU's comment says manufacturer, two QML comments name their appendix by its whole title, and WindowTheme's header says main makes one on Windows and Android only.
…s up to date

Changelog entries for the viewer's order, the gauge calls and the fixes; testing.md names the extended session's tests and its gap, bench-prep gains the extended session as an item; architecture describes Home's connect list and the session step; ADR-0060's example and close wording, ADR-0053's and ADR-0054's notes; the gallery's words say which looks it shows.
docs/user-guide.md gives the steps for each task in the app: connecting (an adapter, Bluetooth pairing, Linux's serial permissions), live values, editing the Dashboard, logging a drive, viewing and exporting a recording, reading and clearing codes, adding a vehicle and importing signals, and the drive view.

docs/addresses.md is every address form and option, each with its default and an example, checked against core's parser. README, architecture.md's map and CHANGELOG link both, and signal-files.md names the Profile row as the app shows it.
# Conflicts:
#	docs/adr/0060-extended-session-reads.md
The Dashboard's built-in layouts show what a driver watches: Boost, Lambda and Battery take the place of Throttle and Engine load, on the desktop and the phone. On the desktop the cells after the dials are all squares, so the grid has no empty square at 1280 x 800 or 1920 x 1080. The bridge's gauge map gains a lambda row (the demo's wideband and obd2's commanded ratio). Boost refs the demo's signal alone until the obd2 set computes it. A stored layout is untouched.
The phone connect list's no-paired-adapter helper fits two lines at 320 px under the CI font (DejaVu Sans lays it out wider than the Windows face). tst_phone's 320 px case checks it.
Settings' Look row, the Display row's summary and the docs call the second look Light. Its stored key and palette name stay daylight, so a saved choice carries over; ADR-0058's appendix gains a dated note.
STATUS takes v0.7.2's section in place of v0.7.1's, the re-sequenced roadmap (v0.9.0 the whole car through plugins, v0.10.0 discovery, v0.11.0 the scan tool, the freeze at 0.11.x), Known Issue #43 for the drive view's back swipes under gesture navigation, the test count, and a backlog without the items now placed. The changelog adds the built-in layouts and the Diagnostics night fix, and drops an import claim that holds only in v0.7.3. ADR-0057 gains the built-in layout's appendix, and the user guide says Mark shows while Record sessions records.
The phone Dashboard shots in Dark, Night amber and Night red show the built-in layout with Boost, Battery and Lambda. The drive view takes the plain Dashboard's place in the README's phone row and joins the gallery, as does the Dashboard in the Light look. All five are the phone layout drawn by the desktop build at the phone's width, on mock://demo in a warm pull.
The README's Dashboard clip, the Night stills and Home show v0.7.2's built-in layout and Home. The gallery gains the Dashboard in the Light look, and its opening says so.
… place

A held finger that moved past the drag distance started a move, and a drop back on the cell's own place opened nothing, so a thumb's tremble, or a finger on a phone in a holder, never reached the menu. A release over its own place now opens the menu while the drop place never left it; a drag to another place and back still changes nothing.
Release 0.7.2: the version, the CHANGELOG section, STATUS and README, and the release notes. The packed plugin fixture asks for core 0.7.2, so plugins check no longer warns about its gauge.
@erickramer42
erickramer42 merged commit 13e729d into main Nov 11, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant