Skip to content

Release v0.9.0 - #56

Merged
erickramer42 merged 764 commits into
mainfrom
dev
Nov 22, 2026
Merged

erickramer42 merged 764 commits into
mainfrom
dev

Conversation

@erickramer42

Copy link
Copy Markdown
Owner

Havne 0.9.0 reads a whole car: a profile may hold every module's signals (up to 32 modules), the app asks only the signals you pick, and the pacing through J2534, ELM327 and SocketCAN adapters is reworked so each signal updates at about the same rate and a silent module no longer slows the others. The release notes are in docs/releases/v0.9.0.md, and CHANGELOG.md lists every change under 0.9.0.

…ntime

A plugin that carries the tier loads as data and, in a session (core's case) or imported through the store and connected (the bridge's), makes no instance: runtime_allocations() and runtime_bytes_in_use() are the same after as before. Mutant: a make_instance call in the load fails both.
A vendor whose frame stamps stand still or count frames and not microseconds lagged the host by one frame's interval at each step, so the ahead-only guard never fired. j2534_clock_step now takes the host's delta once session time falls J2534_CLOCK_LAG_US (10 s) behind the host's, and keeps stamping from the host for the rest of the session (trust_lost), each frame counted in host_steps. ecuio_set_j2534_clock_lag_us (internal.h) lets the harness case run in under a second.
… one

program_fault blamed the program for a chain that runs through a base program (obd2's Boost over a replaced input). It now says which one: the program reads 'Boost', which sits 8 computed signals deep. The sentence is reads_deep_base_words, beside too_deep_words; the loader's base_programs_fit words its own refusal with too_deep_words. A program through its own signals keeps its words.
A paused chart showed only about 1 sample in 8 (on the mock): pausedSeries tested no-column-yet with col >= 0, but a snapshot's times are at most 0, so every column index was negative and the picks were dropped. It is NaN now. The same function walked every sample of every series on each paint, and cursorSample every sample while a cursor is set: both now binary-search the time-ordered samples, so a full ring costs the window's samples. The cases compare with a walk and count reads through a Proxy.
…judges into socketcan_link.h

A move only: lines 23-644 go to socketcan_link.h, which socketcan_wire.h includes, so every includer is unchanged. The size baseline's socketcan_send_refusal line follows its function.
…d physics into mock_drive_model.h

A move only: the constants, the model's functions and the phase list go to mock_drive_model.h; DriveCycle and encode_payload stay, so mock_drive_cycle.h's includers are unchanged.
…es.h

A move only: the header and cell rules and the JSON writer go to csv_guess_rules.h; the guesser class and guess() stay, so includers are unchanged.
A move only: the small parsers and the column map go to csv_map.h, the RFC 4180 reader to csv_reader.h; the pass stays in csv_import.h, which includes both, so includers are unchanged. The size baseline's next and parse_map lines follow their functions.
…db_importer.h

A move only, with one non-verbatim change: the words and rules, which sat in an anonymous namespace, go to obdb_import_words.h in a named namespace (ecuio_obdb_impl) with an inline before each function. The converter goes to obdb_importer.h; the C entry stays in obdb_import.cpp. The size baseline's five converter lines follow their functions.
A move only: the 101 cases keep their suites and names and go to six files by what they check (the CSV export, the folder export, a range and the session keys, frames in memory, a cancel); the helpers they share go to test_export_support.h. The one non-verbatim change is an inline prefix on the 20 helper functions in that header, so a part that doesn't use one builds without an unused-function warning.
…g_*.cpp

A move only: the 65 cases keep their suites and names and go to five files (the rows and the first RecordingTest cases, the reader, the hour, the statistics and the stretches); the helpers they share go to test_recording_support.h. The one non-verbatim change is an inline prefix on the 8 helper functions in that header.
A move only: the 104 cases keep their suites and names and go to five files (the line formatters, the view, the signal files and plugins, the refused signals and clear, the ELM327 emulator); the helpers they share go to test_cli_support.h. The one non-verbatim change is an inline prefix on the 4 helper functions in that header.
…ording_view_*.cpp

A move only: the 80 RecordingViewTest cases keep their names and go to six files (open and values, the stretches ask, the statistics and means, open and the health report, the passes that give way, the conditions' spans); the helpers they share go to test_recording_view_support.h. The one non-verbatim change is an inline prefix on the 13 helper functions in that header.
…327_session_*.cpp

A move only: the 119 cases keep their suites and names and go to ten files by what they check; the fixture and helpers go to test_elm327_support.h. Non-verbatim: an inline prefix on the 16 helper functions in that header; g_log_root, mutable state every part shares, is an inline global there, outside the anonymous namespace; and Elm327SessionTest, a fixture gtest wants as one type across files, is outside it too. LogRootEnvironment and its registration stay verbatim in test_elm327_session.cpp; new_counter.h, which defines operator new, is included only by test_elm327_session_alloc.cpp, which holds the cases that count allocations.
Moves only: 11 sources and tests/core_test_support.h in the test_core target, each under 1,000 lines, Suite.Case names unchanged (191 cases, same list). The helpers more than one part uses sit in the support header's namespace with inline added; new_counter.h stays in test_core.cpp alone and the header shims it for the others. One comment edit: test_core.cpp's pointer to test_export.cpp now names test_export_frames.cpp and the other core tests that fail an allocation.
Moves only: PhoneKit.qml holds the shared setup and helpers (the DashEditKit pattern), five tst_phone_* files hold the cases, each keeps TestCase name Phone so every case id is unchanged (148 cases, same list). The ctest entries become QmlTest.phone_fit, _viewer, _frame, _headers and _connect; the shares and cost settings for phone follow.
A function in a header's anonymous namespace that a part doesn't call fails -Werror=unused-function (GCC and Clang); fixture_hour missed the inline prefix the other helpers have, so test_recording_stats.cpp and the other parts that don't use it failed core-and-tests, the sanitizers and both macOS jobs.
…*.cpp

A move only: the 44 RecorderTest cases keep their names and go to five files by what they check (open and the file's content, replay and link lines, the focus, attach and succession, the writer and the signal file); the helpers they share go to test_recorder_support.h. The one non-verbatim change is an inline prefix on the 6 helper functions in that header.
…e_*.cpp

A move only: the 24 OneStore cases keep their names and go to four files (wrapping and import, updates and export, the index, forgotten facts and variants); the helpers they share go to test_one_store_support.h. The one non-verbatim change is an inline prefix on the 18 helper functions in that header.
…bridge_conditions_*.cpp

A move only: the 41 BridgeTest cases keep their names and go to five files (the store, import, export and the tick; firings around an attach; stale rows; tones; the allocation cases); the helpers they share go to test_bridge_conditions_support.h. The one non-verbatim change is an inline prefix on the 7 helper functions in that header. new_counter.h, which defines operator new, is included only by test_bridge_conditions_alloc.cpp, which holds the three cases that count allocations.
…_requests_*.cpp

A move only: the 43 cases keep their suites and names and go to four files (probing and identification, the focus and the halted session, the faults and the held close, the simulated car's bus); the fixtures and helpers they share go to test_vcan_requests_support.h. Non-verbatim: an inline prefix on the 2 helper functions in that header; SocketCanRequestTest, SocketCanFaultTest and Session, which a suite spanning files needs as one type, sit outside the anonymous namespace there.
Moves only: RecordingsKit.qml holds the shared setup and helpers (the PhoneKit pattern), eight tst_recordings* files hold the cases, each keeps TestCase name Recordings so every case id is unchanged (165 test functions, the same list). The ctest entries become QmlTest.recordings, _export, _layout, _cursors, _panes, _stretches, _compare and _baseline; the cost settings follow.
Moves only: DashboardKit.qml holds the shared setup and helpers (its own init and cleanup, taken as they were: DashEditKit's differ), tst_dashboard, _pages and _panel hold the cases, each keeps TestCase name Dashboard so every case id is unchanged (84 cases, same list). The ctest entries become QmlTest.dashboard, _pages and _panel instead of three shares; their cost settings follow.
… files

Moves only: the kit holds the document helpers, tst_dashboardbook, _writes and _files hold the cases, each keeps TestCase name DashboardBook (97 cases, same list). New ctest entries QmlTest.dashboardbook, _writes and _files.
Moves only: the kit holds the stand-in window, the stores, init and cleanup and the shared helpers, tst_driveview, _sheet and _platform hold the cases, each keeps TestCase name DriveView (86 cases, same list). The ctest entries become QmlTest.driveview, _sheet and _platform instead of three shares; their cost settings follow.
A module that answers nothing cost every other module its waits on
every lap through an ELM327 (705), and under the J2534 hold an absent
module's probes held the segmented rows (707's absent half). The engine
now judges a channel quiet: never heard since the start or the last
rescan, at its second wait run out in a row; heard, at a run as long as
its rotation (two at least) and 2 s with no frame from it, so a module
losing replies on a busy bus keeps its pace. While another channel is
live a quiet one is held: its lists settle unanswered unasked, and its
rotation gives one row alone at 0.5, 1, 2 and 4 s, then every 5 s, two
held channels' rows 250 ms apart. With no live channel nothing changes.
Any frame from it ends the state as a rescan does for its channel: its
rows' waits run out are judged by their defs again and the settled
items are asked again. One rule for ELM327, SocketCAN and J2534, read
through due, the next event and the turns' next time.

The J2534 hold asks a quiet module's first four steps as probes, so a
module that wakes into another's segmented reply is found at its next
step, not after the hold's eighth wait.

The five pins of 705 and 707 run (DISABLED_ removed), with one more for
the laps after a connect beside 14 absent modules, and RequestQuietTest
pins the rule with the time passed in. Two turns cases and one hold case
keep their claims with setups the rule doesn't change.
… pin and v0.9.1's held-over work

ADR-0064's note covers the bytes-judged removal, the unnamed copies' records, an unread old book and the downgrade; ADR-0033, bench-prep and elm327.md carry the Windows sleep and the wire log's words; STATUS drops the sleep's known issue and brings v0.9.0's left line and v0.9.1 in line with the plan; testing.md and the inventory list the plain-text pin.
applyStretchRules now answers false on a refusal and the page has the Stretches panel put its pull end back to the one in force (keepEnd), as a typed bad number already does. Typed fields stay as typed. Case: a level core refuses, the tap on top speed, the lift still selected, rulesProblem set.
A record with no name (a copy no vehicle lists, written by recordUnnamed and keepUnnamed) listed as a lone colon on the Settings page. The row, its remove question and Save's name now read "A signal file" when the name is empty.
AModuleAwakeAfterASilenceIsJudgedByItsDefsAgain holds heard_us at
INT64_MAX until the woken module's first frame and added a second to it
on every pass before that frame: a signed overflow UBSan stops on in
core-sanitizers. The window now compares the time since the frame, and
only once there is one. The engine's own INT64_MAX (no next event) is
never added to.
A quiet module with nothing picked of it had no row to ask at its steps,
so its identification, diagnostics and scan items, settled unanswered,
were never asked again until a rescan. Held, it now asks one of its
unanswered items at each step in the row's place, another service than
the last step's when there is one (a module may serve 22 and not 09):
at every step once heard, at its first four never heard, since an absent
module has nothing on screen to gain and each later step would cost the
others one wait through an ELM327 (the stall pin's worst interval).

Under the J2534 hold every step of a module heard before is a probe, so
one that wakes into another's segmented reply is read at its next step
(3.2 s at worst in the model, 37.9 s before); a module never heard keeps
its first four, so an absent one holds no one past them.

Held channels wait for a later channel whose step passed first. Each
worker reaches the channels in their order, so the oldest goes next:
side by side past 20 quiet channels the last were never asked again,
and through an ELM327, whose lap holds one held ask, the last of 14
beside 4 that answer were asked twice in 70 s; each now takes its turn.

Cases for a refusal, a pending reply and a late answer ending the quiet
state, and for a pack's wait counting each of its rows.
…arts at

A held module waited only for a later channel's older step, which assumes a rising scan. An ELM327's turn and SocketCAN's pass start past the last channel asked, so a quiet module numbered below every live one was never asked again.
An item a quiet module's step asks again settled unanswered again and moved its report's generation, so havne-cli printed the same identity or diagnostics line at each step.
Linux refuses (EBUSY) to shrink a pipe that already holds more than the new size, so cutting it after the spawn raced the child's first lines. The pipe is made and cut first and its write end is the child's stdout.
# Conflicts:
#	scripts/tidy-size-baseline.txt
ADR-0065's appendix of 2026-11-21 (the rule as built through the earliest-first order and the unanswered-again settle), dated notes in ADR-0021 and ADR-0037 on the generation, the performance figures of the quiet rule, a row's first ask and the Linux load floor, the inventory's rows, the size and file-length baselines, the CHANGELOG line and STATUS's v0.9.0 and v0.9.1 text.
The text is display text and belongs in RecordingTexts; the page reads it
through textsPart. Brings the page under the 1,000-line limit.
RefusingEngine holds the factory and the interceptor as a base made before the
engine and destroyed after it, and installs both in its constructor.
The value's cap subtracted its neighbors' fractional widths, but the layout rounds each up, so at Noto Sans widths a long value ended 0.89 px into the 12 px margin. The cap now rounds each neighbor up and the room left down.
@erickramer42
erickramer42 merged commit f69d30e into main Nov 22, 2026
26 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.

2 participants