Skip to content

Commit b6b075d

Browse files
Adds Dynamic EFI support for CSVs
Signed-off-by: Cole Gentry <peapod2007@gmail.com>
1 parent ea24e90 commit b6b075d

11 files changed

Lines changed: 1437 additions & 5 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ultralog"
3-
version = "2.2.0"
3+
version = "2.3.0"
44
edition = "2021"
55
description = "A high-performance ECU log viewer written in Rust"
66
authors = ["Cole Gentry"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A high-performance, cross-platform ECU log viewer written in Rust.
66

77
![CI](https://github.com/SomethingNew71/UltraLog/actions/workflows/ci.yml/badge.svg)
88
![License](https://img.shields.io/badge/license-AGPL--3.0-blue.svg)
9-
![Version](https://img.shields.io/badge/version-2.2.0-green.svg)
9+
![Version](https://img.shields.io/badge/version-2.3.0-green.svg)
1010

1111
---
1212

exampleLogs/dynamicEFI/20251006_0834_toWorkNewCap.csv

Lines changed: 1032 additions & 0 deletions
Large diffs are not rendered by default.
284 KB
Binary file not shown.
83.5 KB
Binary file not shown.

src/app.rs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ use crate::analytics;
1818
use crate::computed::{ComputedChannel, ComputedChannelLibrary, FormulaEditorState};
1919
use crate::i18n::Language;
2020
use crate::parsers::{
21-
Aim, EcuMaster, EcuType, Emerald, Haltech, Link, Locomotive, Parseable, RomRaider, Speeduino,
21+
Aim, DynamicEfi, EcuMaster, EcuType, Emerald, Haltech, Link, Locomotive, Parseable, RomRaider,
22+
Speeduino,
2223
};
2324
use crate::settings::UserSettings;
2425
use crate::state::{
@@ -495,6 +496,16 @@ impl UltraLogApp {
495496
e
496497
))),
497498
}
499+
} else if DynamicEfi::detect(contents) {
500+
// DynamicEFI EBL WhatsUp format detected
501+
let parser = DynamicEfi;
502+
match parser.parse(contents) {
503+
Ok(l) => Ok((l, EcuType::DynamicEfi)),
504+
Err(e) => Err(LoadResult::Error(format!(
505+
"Failed to parse DynamicEFI file: {}",
506+
e
507+
))),
508+
}
498509
} else {
499510
// Default to Haltech format
500511
let parser = Haltech;

0 commit comments

Comments
 (0)