Repository navigation
v0.6.0 - #48
Merged
Merged
v0.6.0#48
Conversation
Restored on every ref and saved by main's pushes only, so one copy each stays under the Actions cache's limit; a miss downloads as before. The 504s from services.gradle.org, GitHub's releases and Qt's mirrors stop failing runs.
schema/ describes signal files, plugin manifests and value fixtures for editors and other repositories' CI. SchemaKeysTest keeps each object's keys equal to the loaders' only_keys sets; SchemaFixturesTest validates every committed file and checks that the schema and havne-cli agree, with jsonschema hash-pinned in core-and-tests.
ecuio_sim_create_unbound makes the simulated car on no bus, on every platform, and ecuio_sim_ask answers one request on the caller's clock: each ECU's reply, its fault as a start time and a flag. The bus's sim shares the answering and the build.
An ELM327 v1.4b's text in front of an unbound sim on a TCP port, 127.0.0.1 unless an address is named, one host at a time. Core's elm327 session and python-OBD read it on Windows. ADR-0055.
fuzz_elm327_emulator drives cli/elm327_emulator.h before an unbound sim, a line at a time on a moving clock: the output stays bounded per input byte, nothing is left queued, ecuio_sim_ask's replies stay in bounds, and two runs agree. Seeded with python-OBD's opening, Havne's setup and a VIN read; added to CI's fuzz job.
The session's per-frame decode (the def index, a packed reply's split, computed signals, the text slots) moves from core.cpp and session.h into frame_decoder.{h,cpp} unchanged, so the recording reader can decode frames.csv as a session does.
ecuio_recording_open_frames decodes frames.csv through a copied set, raw ISO-TP frames on the diagnostic IDs reassembled first and two senders on one ID torn, never spliced, so a raw recording or one older than its signal file has values. havne-cli view --frames and the viewer's choice of where the values come from use it; fuzz_recording opens every folder through its frames too. ADR-0049's appendix of 2026-11-06.
--yes is the script's word, and --engine-running and --moving pass core's two flags. Every ECU's report goes out first as diagnostics lines, flushed before any clear is asked; then a clear line per ECU, the read after a 44, and exit 0 only when every ECU cleared. ADR-0038's appendix answers its section 7.
The ELM327 emulator, havne-cli clear, the viewer reading a recording's frames and the JSON Schemas under Unreleased and in STATUS's Works; v0.6.0's section in place of v0.5.1's; the tests that pin each.
…nd sets through signal files
Import an OBDb set runs core's converter on the picked file, the model year from a VIN or typed, and shows each field that differs and each signal left out before Keep saves the file as the vehicle's. The same set read again replaces the vehicle's earlier import and says so first; a file the user named is never replaced, and the bridge refuses a replace while a session decodes with it. ADR-0051's appendix describes it.
…p one Configurable gauges from a library, a refresh for the phone and night themes go in ahead of conditions; the scan tool is v0.10.0 and the freeze runs as 0.10.x. ADR-0048's appendix of 2026-11-06 records it.
ecuio_export writes a recording's frames as pcapng: identification replies and text signals' messages left out and counted, every written message and the file checked for the car's identity before it is put in place, messages delivered whole re-segmented and marked made up. ecuio_import reads a candump -L log into a recording folder. havne-cli export and import candump; CAN FD's ESI as a frame flag; fuzz_candump.
Under Unreleased, in STATUS's Works and v0.6.0 section (a recording opens in Wireshark: met), and the tests that pin each in testing.md.
The filter takes IDs and ranges, data bytes with wildcards, the direction and one flag, and the table shows only what it passes as frames come and the ring wraps. By ID lists each ID's count, rate and last payload; a tap reads its frames. A selection bar replaces Pause and Clear while rows are selected, and the Time header turns the order.
…R-0053) ecuio links the archive whole and exports the functions the public headers declare, from a list generated at build time; ExportsTest and c_abi_shared hold it to that, the x86 DLL too through verify.sh. ecuio_version gives the version as numbers.
ecuio_scrub_frames asks the caller for each frame twice, classifies them with the export's reassembly and classes (now shared in frame_reassembly.h), then checks the kept frames and messages for identity values and VIN-shaped tokens. A match fails it with the class, keep all zero. ADR-0054 gains its appendix on frames in memory.
Export CSV runs a copy of the ring through ecuio_scrub_frames with every session's text and hex defs, then writes the kept frames the filter shows, one comment line of counts first. The page says it leaves identification out and that Copy does not.
An imported recording has no frames, so its report says so and ends with no ECU instead of failing.
CHANGELOG, STATUS and testing.md for the Python examples, the CSV import with the Recordings list's folders of values, and the health report's Save report in the app.
CliTransferRunTest.candump logs vcan0 with candump, and ECUIO_VCAN_REQUIRED fails it without one: core-sanitizers and linux-build install it now.
ARefusalPastTheBitmapsDropsIsNamed passed with the knob unset. It now fails unless RPM reads and Engine Load and Coolant Temp never do.
…frames.csv A write that failed only at the flush exited 0: every return after the output began now flushes and checks. The health, exported and imported lines are sized from their paths, so a long one is never dropped. view --frames on a folder with no frames.csv says so before asking for a profile, and sim --elm327 names a failed listener wait on stderr.
… cases out RequiredTest.ThePythonTestsAreRegistered counts the PythonTest.* cases and the wheel test configure registered, then fails when the knob is set and any are missing. Without the knob it skips.
macOS has no SOCK_CLOEXEC, so macos-build failed. The listener and each accepted socket now take FD_CLOEXEC through fcntl, as core's TCP adapter does; the accepted one inherited nothing before.
The frame check's known flags left out ECUIO_FRAME_FLAG_FD_ESI, so an FD frame with ESI set aborted. It now allows it, and fails BRS or ESI on a classic frame.
Parsed kept the interface's pointer into a temporary freed after its constructor (heap-use-after-free under ASan). It now parses a copy of its own and checks the name lies within it.
A cold Windows runner took more than discovery's default 5 s to list test_socketcan. DiscoveryTimeoutTest.EveryDiscoveryWaits checks each call in tests/CMakeLists.txt names a timeout.
ctypes_gen.py maps a non-const char** out-parameter, a non-const char* result and a release function's char* to POINTER(c_char), so ecuio_obdb_free gets core's own pointer. It maps <stdint.h>'s limits, emits string macros, and fails on any other ECUIO_ macro it can't read.
Bus checks the interface itself, so fuzz() called from a script meets the refusal main() gives.
A replay's last frame or a closed session ends the scan with a line saying so, instead of spinning until --seconds.
… right set An unclosed Session, Sim or Recording is closed when collected or at exit, in close()'s order (ADR-0053's appendix note). A closed stream ends its iteration; a plugin session records its variant's file; Recording(signals=) decodes through that file. Plugin folders load safely from two threads, with any read error a refusal and each read bounded.
The window is half-open, so a 10 Hz ID reads 10/s, and a log shorter than the window rates each ID over its own span, its count less one: 10/s from the second frame, not 12/s. The Live refusal test waits for its count instead of reading it before the last refusal.
A standard row's tap sets Standard (11-bit), as an extended row's sets Extended (29-bit), so the same number at the other width stays out. The By ID tests wait for the list's layout before a tap.
A 17-character window whose check digit matches is a VIN wherever it sits, and the recording's own values are searched first. Torn segments and unread FD frames on any 18DA ID, and identification replies on other IDs, are left out. A signals.json that doesn't load refuses a scrubbed export, and a partial file takes an exclusive name and is removed on every way out.
…ably A candump log's last line with no line end is left out and said so, and a log that changes between the import's passes is refused. A NaN or infinity is written as nan, inf or -inf, and a packed reply's text records each get a slot. fuzz_export runs the exports and the health report over a fuzzed recording; the two-ECU pace test judges its floor.
write_whole truncated <out>.partial with a plain open, so a second writer of the same name could cut the first's partial short and have it renamed over the user's file. The partial is now <out>.partial-<pid>-<n>, created exclusively, the next n tried while one is there (16, then a refusal in words), and removed on every failure after it was made.
… health report The live wait ended once the shown values' count held for 2 s, which a slow rotation's slow class outlasts, so the report missed since-cleared values. It now also waits, within --seconds, for every shown Service 01 PID its channel's bitmaps list as supported; PIDs the ECU lacks or no bitmap covers keep the quiet rule.
…listing A since-cleared value no ECU takes is a key value, an older recording's whole rows give its ECU, and the text is UTF-8 whatever its source held. An age near its limit saturates, an enum value no table holds has no label, and a report not written counts nothing. A folder's listing and the wire log's are closed when a name's copy runs out of memory.
hold_writer waits for two of the writer's wakes after the hold instead of 50 ms, so a loop that read no hold and was then held up can't drain the frames a case puts in next. A new case keeps such a loop going with queued notes and wants no row while held.
…e over a name An identification reply on another ID is read in normal and extended addressing and in CAN FD's forms, a bad length followed to a cap, and a cut reply's bytes kept. The second check joins ISO-TP frames on any ID, so a segmented echo of the VIN is found. A POSIX rename into place refuses a name taken meanwhile where the file system can.
README, STATUS and CHANGELOG for v0.6.0, the engineering log's rows and lesson, and architecture, development, security, testing and the platform docs checked against the tree; the ADRs' statuses and the session sheets since 2026-11-03.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sharing and scripting: scrubbed exports (pcapng, CSV, a folder copy) and imports (candump, a logger's CSV), a car's health report, the havne Python package and a wheel per platform, the ELM327 emulator, havne-cli clear, the viewer reading a recording's frames, and the review pass's fixes. A minor release (ADR-0048): the C ABI grows, append-only. Notes: docs/releases/v0.6.0.md.