MCPcopy Create free account

hub / github.com/RallyPat/LibreTune / functions

Functions2,182 in github.com/RallyPat/LibreTune

↓ 8 callersMethodbytes_to_read
(&mut self)
crates/libretune-core/src/protocol/stream.rs:73
↓ 8 callersMethodclear
Clear all recorded data
crates/libretune-core/src/datalog/recorder.rs:118
↓ 8 callersFunctionextract_help_text
Extract help text from constant name according to TunerStudio format Format: fieldname;+help text;"units" Returns (clean_name, Option<help_text>)
crates/libretune-core/src/ini/parser.rs:627
↓ 8 callersFunctiongenerate_rpm_bins
Generate RPM axis bins with logarithmic-like spacing Lower RPMs get finer resolution since that's where most tuning matters.
crates/libretune-core/src/basemap/generator.rs:105
↓ 8 callersFunctionhandleFocus
()
crates/libretune-app/src/components/dialogs/fields/DialogField.tsx:112
↓ 8 callersMethodimport
Import an INI file into the repository Returns the entry ID
crates/libretune-core/src/project/repository.rs:106
↓ 8 callersMethodis_computed
Check if this is a computed channel (has expression)
crates/libretune-core/src/ini/output_channels.rs:77
↓ 8 callersFunctionnormalizeZ
(v: number)
crates/libretune-app/src/components/tables/3d/SceneComponents.tsx:51
↓ 8 callersFunctionupdate_table_z_values_internal
Helper function to update table z_values internally
crates/libretune-app/src-tauri/src/commands/table_internals.rs:151
↓ 8 callersFunctionvalueToHeatmapColor
( value: number, min: number, max: number, scheme: HeatmapScheme | string[] = 'tunerstudio' )
crates/libretune-app/src/utils/heatmapColors.ts:203
↓ 8 callersFunctionxScale
(rpm: number)
crates/libretune-app/src/components/tuner-ui/DynoOverlay.tsx:151
↓ 7 callersFunctioncheckStatus
()
crates/libretune-app/src/App.tsx:574
↓ 7 callersMethodclose
Close project (saves if auto-save enabled)
crates/libretune-core/src/project/project.rs:409
↓ 7 callersFunctioncorpus_dir
Get the path to the corpus directory
crates/libretune-core/tests/corpus.rs:9
↓ 7 callersMethodcount
Get plugin count.
crates/libretune-core/src/plugin_system.rs:322
↓ 7 callersFunctioncreateMetallicGradient
( ctx: CanvasRenderingContext2D, x: number, y: number, r1: number, r2: number, baseColor: TsColor,
crates/libretune-app/src/components/gauges/drawUtils.ts:58
↓ 7 callersMethoddetect_anomalies
Analyze a table for anomalies # Arguments `table_values` - Table values (row-major: `[row][col]`) `x_bins` - RPM axis bins `y_bins` - Load axis bins
crates/libretune-core/src/autotune/anomaly.rs:91
↓ 7 callersFunctiondiscover_ecu
Probe each port in `ports` against the baud × query matrix in `config`. Returns one [`DiscoveredEcu`] per requested port (order preserved). Stops pro
crates/libretune-core/src/protocol/discovery.rs:155
↓ 7 callersFunctionevaluate_simple
Convenience function for backward compatibility (no string context)
crates/libretune-core/src/ini/expression.rs:1143
↓ 7 callersFunctionfast_config
()
crates/libretune-core/src/protocol/discovery.rs:371
↓ 7 callersFunctionget_cell_value
Get a cell value safely
crates/libretune-core/src/table_ops.rs:182
↓ 7 callersMethodparse
Parse value from raw bytes
crates/libretune-core/src/ini/output_channels.rs:91
↓ 7 callersFunctionparse_constant_line
Parse a constant definition line from INI Format: name = class, type, offset, shape, units, scale, translate, min, max, digits Note: Uses split_ini_l
crates/libretune-core/src/ini/constants.rs:167
↓ 7 callersFunctionparse_tune_view
Parse a `.tuneView` document from a string.
crates/libretune-core/src/tune_view/parser.rs:23
↓ 7 callersMethodrecord_action
Record an action
crates/libretune-core/src/action_scripting.rs:133
↓ 7 callersFunctionsave_settings
(app: &tauri::AppHandle, settings: &Settings)
crates/libretune-app/src-tauri/src/commands/app_settings.rs:134
↓ 7 callersFunctionset_conn_lock_holder
(who: &'static str)
crates/libretune-app/src-tauri/src/commands/util_helpers.rs:78
↓ 7 callersMethodset_constant_with_page
Set a constant value with its page number (preserves MSQ page structure)
crates/libretune-core/src/tune/file.rs:1024
↓ 7 callersFunctionyScaleHp
(hp: number)
crates/libretune-app/src/components/tuner-ui/DynoOverlay.tsx:152
↓ 6 callersFunctionangleAt
(percent: number)
crates/libretune-app/src/components/gauges/painters/analogGauge.ts:84
↓ 6 callersMethodcheck_permission
Check if plugin has permission (non-panicking).
crates/libretune-core/src/plugin_api.rs:29
↓ 6 callersMethodchoose_runtime_command
Decide which runtime fetch command to use (Burst vs OCH)
crates/libretune-core/src/protocol/connection.rs:1098
↓ 6 callersFunctioncreate_test_config
()
crates/libretune-core/tests/plugin_system.rs:17
↓ 6 callersMethoddetect_conflicts
Detect port conflicts
crates/libretune-core/src/port_editor.rs:173
↓ 6 callersMethodget_constant
Get a constant value
crates/libretune-core/src/tune/file.rs:1031
↓ 6 callersMethodget_page
Get a page's raw data
crates/libretune-core/src/tune/file.rs:1014
↓ 6 callersFunctionis_color_property
(name: &str)
crates/libretune-core/src/dash/parser.rs:464
↓ 6 callersFunctionloadData
()
crates/libretune-app/src/components/TuneHistoryPanel.tsx:66
↓ 6 callersFunctionopener
(f: F)
crates/libretune-core/src/protocol/discovery.rs:381
↓ 6 callersMethodparse_with_context
Parse value from raw bytes, with context for computed channel expressions For non-computed channels, behaves like `parse()`. For computed channels, e
crates/libretune-core/src/ini/output_channels.rs:123
↓ 6 callersMethodpredict_cells
Generate predictions for all zero-hit cells in the VE table. # Arguments `table_values` - Current VE table values (row-major: `[row][col]`) `hit_coun
crates/libretune-core/src/autotune/predictor.rs:86
↓ 6 callersMethodsend_raw_command
Send raw bytes and get response (for initial handshake) Uses non-blocking reads with bytes_to_read() polling for reliable timeout behavior
crates/libretune-core/src/protocol/connection.rs:724
↓ 6 callersMethodsignature
Get ECU signature (if connected)
crates/libretune-core/src/protocol/connection.rs:453
↓ 6 callersFunctionsmooth_table
Smooth table values using 2D Gaussian weighted average Each selected cell is replaced with a weighted average of itself and its 8 neighbors (3×3 kern
crates/libretune-core/src/table_ops.rs:133
↓ 6 callersFunctionwrite_axis_bins
Helper: write axis bin values to a constant
crates/libretune-app/src-tauri/src/commands/apply_base_map.rs:118
↓ 5 callersFunctionangleAt
(percent: number)
crates/libretune-app/src/components/gauges/painters/sweepGauge.ts:36
↓ 5 callersMethodbuild_command
Generic command builder that parses format string and substitutes values
crates/libretune-core/src/protocol/command_builder.rs:76
↓ 5 callersFunctioncelsius_to_fahrenheit
Unit Conversion Functions Provides conversion functions for ECU tuning applications: - Temperature: °C ↔ °F - Pressure: kPa ↔ PSI - Air-Fuel Ratio: L
crates/libretune-core/src/unit_conversion.rs:11
↓ 5 callersFunctioncollectFolderIds
Collect all folder IDs from a tree (for auto-expand during search)
crates/libretune-app/src/components/tuner-ui/Sidebar.tsx:54
↓ 5 callersFunctioncollect_attrs
(e: &BytesStart<'_>)
crates/libretune-core/src/tune_view/parser.rs:168
↓ 5 callersFunctioncompare_signatures_with_prefix
Compare signatures honoring an optional `signaturePrefix` (msEnvelope_1.0 spec §3.4). When `ini_prefix` is provided and the ECU signature starts with
crates/libretune-app/src-tauri/src/commands/signature_helpers.rs:44
↓ 5 callersMethodcurrent
Get the current entry
crates/libretune-core/src/datalog/playback.rs:68
↓ 5 callersFunctiondecode_ini_bytes
Decode raw INI file bytes into a `String`, preferring UTF-8 and falling back to Windows-1252 for legacy / translated definition files. This never pro
crates/libretune-core/src/ini/encoding.rs:19
↓ 5 callersMethodextrapolate_1d
Extrapolate from known 1D data points to target index
crates/libretune-core/src/autotune/predictor.rs:403
↓ 5 callersFunctionfind_matching_inis_from_state
Test-friendly variant that operates on an AppState reference directly
crates/libretune-app/src-tauri/src/commands/signature_helpers.rs:246
↓ 5 callersFunctionget_dashboards_dir
Get the dashboards directory (cross-platform).
crates/libretune-app/src-tauri/src/paths.rs:35
↓ 5 callersMethodget_effective_min_wait
Get effective minimum wait time for write_and_wait
crates/libretune-core/src/protocol/connection.rs:501
↓ 5 callersFunctionhandleLoad
(filename: string)
crates/libretune-app/src/components/dialogs/RestorePointsDialog.tsx:78
↓ 5 callersFunctionisHex
(color: string)
crates/libretune-app/src/utils/__tests__/utilities.test.ts:113
↓ 5 callersMethodopen
Open an existing project
crates/libretune-core/src/project/project.rs:214
↓ 5 callersFunctionparse_command_list
Parse a comma-separated list of command format strings Applies variable substitution for $varName references
crates/libretune-core/src/ini/parser.rs:1150
↓ 5 callersFunctionparse_csv_line
Parse a CSV line handling quoted fields
crates/libretune-core/src/datalog/dyno.rs:438
↓ 5 callersFunctionrebin_table
Re-bin a table with new X/Y axis bins
crates/libretune-core/src/table_ops.rs:21
↓ 5 callersMethodrestore_points_dir
Get the restore points directory
crates/libretune-core/src/project/project.rs:417
↓ 5 callersMethodsave_config
Save project configuration
crates/libretune-core/src/project/project.rs:352
↓ 5 callersMethodscore_table
Generate a complete health report for a VE table # Arguments `table_values` - VE table values (row-major) `hit_counts` - AutoTune hit counts per cell
crates/libretune-core/src/autotune/health.rs:122
↓ 5 callersFunctionsetupTauriMocks
(defaultResponses: Record<string, any> = {})
crates/libretune-app/src/test-utils/tauriMocks.ts:37
↓ 5 callersFunctionshouldBlockOnSignature
(matchType: MatchType | null | undefined)
crates/libretune-app/src/utils/signature.ts:9
↓ 5 callersMethodto_bytes
Encode the packet to raw bytes
crates/libretune-core/src/protocol/packet.rs:177
↓ 5 callersFunctionwrite_and_wait
( channel: &mut Box<dyn CommunicationChannel>, data: &[u8], baud_rate: u32, min_wait_ms: Optio
crates/libretune-core/src/protocol/connection.rs:165
↓ 4 callersFunctionapi_get_table_data
Host function: Get table data (readonly). # Permissions Requires `ReadTables` permission. # Arguments `plugin_name` - Name of calling plugin `table_
crates/libretune-core/src/plugin_api.rs:173
↓ 4 callersFunctionbuild_shallow_mismatch_info
( ecu_signature: &str, ini_signature: &str, current_ini_path: Option<String>, )
crates/libretune-app/src-tauri/src/commands/signature_helpers.rs:131
↓ 4 callersMethodburn
Burn current page to flash using INI-defined command format
crates/libretune-core/src/protocol/connection.rs:1465
↓ 4 callersMethodcache_expression
Cache the parsed expression AST for computed channels. Call this after parsing INI to avoid reparsing on every realtime update.
crates/libretune-core/src/ini/output_channels.rs:62
↓ 4 callersFunctionclamp
(value: number, min: number, max: number)
crates/libretune-app/src/utils/__tests__/utilities.test.ts:58
↓ 4 callersFunctionclean_axis_label
Clean up INI expression labels for display Converts expressions like `{bitStringValue(pwmAxisLabels, gppwm1_loadAxis)}` to a readable fallback like `g
crates/libretune-app/src-tauri/src/commands/util_helpers.rs:30
↓ 4 callersMethodcommit
Commit the current tune with a message
crates/libretune-core/src/project/version_control.rs:143
↓ 4 callersMethodcompile
(&mut self)
crates/libretune-core/src/project/math_channels.rs:26
↓ 4 callersFunctiondoSync
()
crates/libretune-app/src/App.tsx:640
↓ 4 callersMethodfind_nearest_known
( &self, row: usize, col: usize, row_dir: i32, // -1 (up), 0, or 1 (down)
crates/libretune-core/src/autotune/predictor.rs:248
↓ 4 callersFunctionformat
(value: number)
crates/libretune-app/src/utils/__tests__/utilities.test.ts:10
↓ 4 callersFunctionformatTime
(ms: number)
crates/libretune-app/src/utils/__tests__/utilities.test.ts:211
↓ 4 callersFunctiongenerate_unique_filename
Generate a unique filename by appending _2, _3, etc.
crates/libretune-app/src-tauri/src/commands/dash_layout.rs:163
↓ 4 callersMethodget
Get a value by key
crates/libretune-core/src/project/properties.rs:124
↓ 4 callersFunctiongetPath
(obj: any, path: string)
crates/libretune-app/src/utils/__tests__/utilities.test.ts:126
↓ 4 callersFunctiongetSchemeStops
(scheme: HeatmapScheme | string[])
crates/libretune-app/src/utils/heatmapColors.ts:241
↓ 4 callersFunctiongetUnitLabel
(unit: string)
crates/libretune-app/src/utils/unitConversions.ts:247
↓ 4 callersFunctionget_app_data_dir
Get the LibreTune app data directory (cross-platform).
crates/libretune-app/src-tauri/src/paths.rs:11
↓ 4 callersFunctionget_value
Safe value fetch with bounds checks
crates/libretune-core/src/table_ops.rs:116
↓ 4 callersFunctionhandleArrowNavigation
(key: string, extendSelection: boolean)
crates/libretune-app/src/components/tables/TableEditor2D.tsx:504
↓ 4 callersFunctionhandleIncrement
(amount: number)
crates/libretune-app/src/components/dialogs/CellEditDialog.tsx:81
↓ 4 callersFunctionhandler
()
crates/libretune-app/src/components/dialogs/__tests__/DialogRenderer.test.tsx:51
↓ 4 callersFunctionhexToRgb
(hex: string)
crates/libretune-app/src/utils/heatmapColors.ts:121
↓ 4 callersFunctioninterpolate_at_rpm
Linearly interpolate a value at a given RPM from sorted data points
crates/libretune-core/src/datalog/dyno.rs:539
↓ 4 callersMethodis_enabled
Check if adaptive timing is enabled
crates/libretune-core/src/ini/types.rs:762
↓ 4 callersFunctionkpa_to_psi
Convert kPa to PSI
crates/libretune-core/src/unit_conversion.rs:21
↓ 4 callersFunctionlocal_name
(raw: &[u8])
crates/libretune-core/src/tune_view/parser.rs:159
↓ 4 callersFunctionmake_hits
(rows: usize, cols: usize, fill: u32)
crates/libretune-core/src/autotune/predictor.rs:490
↓ 4 callersFunctionmake_table
(rows: usize, cols: usize, fill: f64)
crates/libretune-core/src/autotune/predictor.rs:486
↓ 4 callersMethodmodify_assignment
Modify an existing assignment
crates/libretune-core/src/port_editor.rs:153
← previousnext →101–200 of 2,182, ranked by callers