Features and their tests
Everything OxiGuitar itself does (the viewer, the editor, the player, the plugin host and the command-line program), and the tests that check it. The test names are the ones cargo test prints, after the crate (oxiguitar-edit/lib::... is a test inside oxiguitar-edit; oxiguitar-app/oxiguitar::... one inside the app); a stage: is a step of scripts/test-all.py. The script fails when a feature here names no test, or names a test that doesn’t exist, so a new feature gets its row and its tests in the same pull request (the Testing page says how to run them, on your own files too).
What the plugins do is on each plugin’s own Features page: OxiGuitar opens no file format and plays no sound by itself. The tests that need a file format use the released Guitar Pro plugins.
Opening and saving
| Feature | What it does | Tests |
|---|---|---|
| Opening a file | The plugin whose signature recognises the file reads it; one no plugin recognises, or with no plugins at all, is refused with a sentence. | oxiguitar-app/oxiguitar::document::tests::opens_engraves_and_exports, oxiguitar-app/oxiguitar::worker::tests::a_bad_file_reports_and_keeps_going, oxiguitar-cli/cli::without_plugins_nothing_opens, oxiguitar-cli/cli::unreadable_files_fail_with_a_message, oxiguitar-plugin-api/lib::signature::tests::* |
| A new score | File > New: one guitar track, ready for notes, saved where asked. | oxiguitar-app/oxiguitar::worker::tests::a_new_score_takes_notes_and_is_saved_where_asked, oxiguitar-edit/lib::entry::tests::a_new_score_and_a_bar_added_at_its_end |
| Saving and Save As | A .gp file is saved in place, a .gp5 as itself; Save As writes where asked and names what the format loses; a file no plugin writes asks for another format; writing over the opened file names what opening left out; a file changed on disk asks first. | oxiguitar-app/oxiguitar::document::tests::a_gp_file_is_saved_in_place, oxiguitar-app/oxiguitar::document::tests::a_gp5_file_is_saved_as_itself_and_save_as_gp5_names_its_losses, oxiguitar-app/oxiguitar::document::tests::save_as_writes_where_asked_and_names_losses, oxiguitar-app/oxiguitar::document::tests::a_file_no_plugin_writes_asks_for_another_format, oxiguitar-app/oxiguitar::document::tests::writing_over_the_opened_file_names_what_opening_left_out, oxiguitar-app/oxiguitar::worker::tests::saving_asks_when_the_file_changes_and_writes_on_yes |
The .oxg file beside a score | What a format can’t hold (when the user says to keep it), plugins’ data, bar colours, track settings and the order of effects, kept beside the file and read back. | oxiguitar-host/lib::sidecar::tests::*, oxiguitar-app/oxiguitar::document::tests::what_a_format_cant_hold_is_kept_beside_the_file_when_the_user_says_so, oxiguitar-app/oxiguitar::document::tests::what_plugins_keep_anywhere_is_saved_beside_the_file_and_read_back, oxiguitar-app/oxiguitar::document::tests::the_tracks_plugin_settings_are_saved_beside_the_file |
| The score model | Exact durations (ratios that report overflow), tuplets, grace notes, tunings, capo, spellings, drums’ kit map, lyrics, colours. | oxiguitar-model/lib::ratio::tests::*, oxiguitar-model/lib::duration::tests::*, oxiguitar-model/lib::bar::tests::grace_beats_take_no_time, oxiguitar-model/lib::tuning::tests::*, oxiguitar-model/lib::track::tests::*, oxiguitar-model/lib::note::tests::*, oxiguitar-model/lib::drums::tests::*, oxiguitar-model/lib::lyrics::tests::*, oxiguitar-model/lib::score::tests::* |
| Your files | Every Guitar Pro file of the corpus: the bar check runs and the caret walks every beat; random edits undo and redo exactly, and are saved as .gp and .gp5 and read back. | oxiguitar-edit/corpus::the_corpus, oxiguitar-edit/corpus::the_fixtures_add_up, oxiguitar-edit/entry::random_edits_on_the_corpus_undo_and_redo, oxiguitar-edit/entry::edits_on_the_corpus_are_saved_and_read_back_equal, oxiguitar-edit/entry::edits_on_the_corpus_are_saved_as_gp5_and_read_back |
The page
| Feature | What it does | Tests |
|---|---|---|
| Four layouts and paper | Page, vertical, horizontal and the screen’s, on named paper sizes; many bars break into systems and pages; Design Mode’s bars per line are kept. | oxiguitar-layout/engrave::the_four_layouts, oxiguitar-layout/engrave::layouts_and_paper_have_names, oxiguitar-layout/engrave::many_bars_break_into_systems_and_pages, oxiguitar-layout/engrave::systems_hold_the_bars_set_in_design_mode, oxiguitar-edit/lib::marks::tests::bars_per_system_are_set_and_undone |
| Notation and tablature | Standard notation, tab, or both; rhythm on tab only when asked; pitches, accidentals and key signatures as the key spells them; stems, beams, voices, seconds and spacing. | oxiguitar-layout/engrave::tablature_only_shows_rhythm, oxiguitar-layout/lib::pitch::tests::*, oxiguitar-layout/lib::plan::tests::*, oxiguitar-layout/lib::rhythm::tests::*, oxiguitar-layout/engrave::the_files_key_is_shown_as_it_is, oxiguitar-layout/engrave::a_key_change_at_a_line_break_is_shown_again_before_it, oxiguitar-layout/lib::engrave::tests::* |
| Effects, lyrics, chords and marks | Every effect and mark of the palette, lyrics in syllables, chord diagrams and names (music signs included), grace notes, any tuplet grouping, bends as Guitar Pro reads them. | oxiguitar-layout/engrave::effects_lyrics_and_diagrams_are_drawn, oxiguitar-layout/engrave::the_marks_of_the_rest_of_the_palette_are_drawn, oxiguitar-layout/engrave::chord_names_with_music_signs_have_every_glyph, oxiguitar-layout/engrave::grace_notes_come_small_before_their_note, oxiguitar-layout/engrave::any_tuplet_grouping_is_drawn, oxiguitar-layout/lib::effects::tests::bend_amounts_read_like_guitar_pro, oxiguitar-layout/lib::system::tests::lyrics_split_into_syllables, oxiguitar-layout/lib::grid::tests::* |
| Drums and keyboards | Drum tablature with the kit’s numbers; keyboards on a grand staff split between the hands. | oxiguitar-layout/engrave::drum_tablature_shows_the_kit_s_numbers, oxiguitar-layout/engrave::keyboards_get_a_grand_staff_and_tab_only_when_asked, oxiguitar-layout/lib::hands::tests::* |
| Bars that don’t add up | Laid in red; F4 walks through them. | oxiguitar-layout/engrave::marked_bars_are_laid_in_red, oxiguitar-edit/lib::check::tests::*, oxiguitar-app/oxiguitar::editing::tests::f4_walks_the_shown_bad_bars |
| Settings dialog | View > Settings… holds the dark interface and page, paper, the beat played after an edit, and the count-in and metronome a session starts with; each is kept in settings.json. | oxiguitar-app/oxiguitar::prefs::tests::* |
| Dark page and dynamics | The page in the desktop’s colours or dark; dynamics can be hidden. | oxiguitar-render/lib::raster::tests::dark_theme_inverts_the_page, oxiguitar-layout/engrave::dynamics_can_be_hidden, oxiguitar-app/oxiguitar::prefs::tests::* |
| The same page every time | Engraving is deterministic; the reference songs engrave as stored, and a moved symbol is caught; odd and damaged scores never panic. | oxiguitar-layout/engrave::engraving_is_deterministic, oxiguitar-testgen/visual::references_engrave_as_stored, oxiguitar-testgen/visual::a_moved_symbol_is_caught, oxiguitar-layout/engrave::odd_scores_do_not_panic, oxiguitar-layout/engrave::public_fixtures_engrave |
| Drawing it | Fonts (Bravura and the text fonts), the display list, the screen in tiles drawn centre first, the viewport, glyphs where the list says. | oxiguitar-display/lib::fonts::tests::*, oxiguitar-display/lib::list::tests::*, oxiguitar-display/lib::smufl::tests::*, oxiguitar-display/lib::wire::tests::*, oxiguitar-render/lib::raster::tests::draws_a_glyph_where_the_list_says, oxiguitar-render/lib::raster::tests::viewport_draws_only_its_part, oxiguitar-app/oxiguitar::canvas::tests::* |
| Your files on the page | Every Guitar Pro file of the corpus engraves in every layout, every track shown, everything on the sheet and every glyph in the fonts. | oxiguitar-layout/engrave::corpus_engraves |
Tracks
| Feature | What it does | Tests |
|---|---|---|
| Showing tracks | Any combination of tracks shown, each its own button; Ctrl+Up and Down switch a single track; the last shown stays. | oxiguitar-app/oxiguitar::tracks::tests::any_combination_and_none_hides, oxiguitar-app/oxiguitar::tracks::tests::several_tracks_shown_via_their_own_buttons, oxiguitar-app/oxiguitar::tracks::tests::ctrl_up_and_down_switch_a_single_track, oxiguitar-app/oxiguitar::tracks::tests::the_last_shown_track_stays, oxiguitar-app/oxiguitar::tracks::tests::a_changed_list_keeps_what_it_can, oxiguitar-app/oxiguitar::worker::tests::tracks_are_followed_where_they_went |
| Track settings | The track dialog: name, instrument, strings and tuning (retuned keeping pitches or frets), capo; fretted tracks open with tab alone, every other track with standard notation, drums have their own. | oxiguitar-app/oxiguitar::track_form::tests::*, oxiguitar-edit/lib::tracks::tests::retuning_keeps_pitches_or_frets, oxiguitar-app/oxiguitar::document::tests::only_fretted_tracks_default_to_tab, oxiguitar-app/oxiguitar::tracks::tests::drums_have_tab_and_stringless_tracks_none |
| Adding, duplicating, moving, deleting | Tracks added, duplicated, moved and deleted, each one Undo step. | oxiguitar-edit/lib::tracks::tests::add_duplicate_move_delete, oxiguitar-edit/lib::tracks::tests::a_saved_or_undone_change_is_not_joined |
| Merging tracks | One track’s music into another’s voices or chords; strings taken moved or lost; rhythms cut and tied; drums only with drums; notes out of range refuse. | oxiguitar-edit/lib::merge::tests::* |
| The mixer | Volume and pan per track, kept in range, saved in the score and undone; changed while playing. | oxiguitar-app/oxiguitar::tracks::tests::the_mixer_keeps_each_tracks_values_in_range, oxiguitar-edit/lib::tracks::tests::the_mixer_is_saved_in_the_score_and_undone, oxiguitar-app/oxiguitar::worker::tests::the_mixer_is_saved_in_the_file, oxiguitar-app/oxiguitar::worker::tests::the_mixer_is_kept_in_the_score_while_it_plays |
| Plugins’ track sections | Effect plugins’ sections in the track dialog, in their order, moved up and down, changed while playing. | oxiguitar-app/oxiguitar::track_sections::tests::*, oxiguitar-app/oxiguitar::worker::tests::a_track_section_s_settings_change_while_the_score_plays |
| The waveform | A track’s activity across the song, beside it. | oxiguitar-app/oxiguitar::tracks::tests::the_waveform_spans_the_song_mirrored, oxiguitar-app/oxiguitar::document::tests::activity_covers_every_bar_relative_to_the_busiest |
Editing
| Feature | What it does | Tests |
|---|---|---|
| The caret | Moves as Guitar Pro’s does: across bar lines, through every staff and voice, on the instrument’s strings; a click puts it on a string; it keeps its moment between voices and tracks. | oxiguitar-edit/lib::caret::tests::*, oxiguitar-app/oxiguitar::editing::tests::keys_move_the_caret_as_guitar_pro_does, oxiguitar-app/oxiguitar::editing::tests::a_press_puts_the_caret_on_the_string_and_shift_press_selects, oxiguitar-layout/lib::hits::tests::*, oxiguitar-testgen/hits::every_note_is_where_the_map_says |
| Typing notes | Frets on the caret’s string (two digits one change), pitches on the nearest fret, rests, durations, dots, triplets, ties, semitones, voices; Enter types at the caret’s line or space. | oxiguitar-edit/lib::entry::tests::*, oxiguitar-app/oxiguitar::editing::tests::keys_typed_at_the_caret_are_note_entry, oxiguitar-app/oxiguitar::editing::tests::enter_types_the_note_at_the_caret_s_line_or_space |
| Drum entry | One kit element a line on the drum staff; drum commands mean nothing elsewhere. | oxiguitar-edit/lib::entry::tests::drums_are_entered_one_element_a_line, oxiguitar-edit/lib::entry::tests::drum_commands_mean_nothing_on_other_tracks, oxiguitar-app/oxiguitar::editing::tests::drums_are_typed_on_the_drum_staff |
| Selecting | Shift selects beats in a voice; dragging selects bars across tracks; Select All; a right-click keeps the selection. | oxiguitar-edit/lib::selection::tests::*, oxiguitar-app/oxiguitar::editing::tests::shift_selects_and_a_plain_move_drops_it, oxiguitar-app/oxiguitar::editing::tests::drag_select_bars, oxiguitar-app/oxiguitar::editing::tests::a_right_click_keeps_the_selection_it_falls_in |
| Copy, cut and paste | Beats flow over bar lines (tied where a bar line cuts), whole bars land bar for bar, Paste Bars before or after; random clipboard edits keep the score whole. | oxiguitar-edit/lib::clip::tests::*, oxiguitar-app/oxiguitar::editing::tests::copy_cut_and_paste |
| Undo and redo | Every change one step, putting back only what changed; saving moves the mark; random edits undo to the original and redo to the end, and are saved and read back equal. | oxiguitar-edit/lib::history::tests::*, oxiguitar-edit/entry::random_edits_undo_to_the_original_and_redo_to_the_end, oxiguitar-edit/entry::every_edit_is_saved_and_read_back_equal, oxiguitar-edit/entry::every_edit_is_saved_as_gp5_and_read_back_equal, oxiguitar-app/oxiguitar::document::tests::undo_redo_and_the_bars_that_dont_add_up |
| Effects | Note and beat effects from the palette, keys and the Effects dialog: on the caret’s note or the selection, on and off; slides, barres, slurs, bends drawn on a grid; rests take only dynamics. | oxiguitar-edit/lib::effects::tests::*, oxiguitar-app/oxiguitar::effect_form::tests::*, oxiguitar-app/oxiguitar::bend_form::tests::*, oxiguitar-app/oxiguitar::editing::tests::effect_keys |
| Marks | Fermatas, repeat signs (one and two bars), accidentals and spellings, fingerings, the pedal. | oxiguitar-edit/lib::marks::tests::* |
| Bars | Insert and delete bars; time and key signatures, repeats, endings, directions, sections, tempo; bar colours; the Bar dialog as one change. | oxiguitar-edit/lib::bars::tests::*, oxiguitar-app/oxiguitar::bar_form::tests::*, oxiguitar-app/oxiguitar::editing::tests::sections_to_go_to |
| Texts, lyrics and the song’s information | Texts on beats (also another voice’s), lyrics typed beat by beat on the page, the song’s fields in Guitar Pro’s order. | oxiguitar-edit/lib::notation::tests::*, oxiguitar-app/oxiguitar::editing::tests::lyrics_typed_on_the_page, oxiguitar-app/oxiguitar::song::tests::fields_in_guitar_pro_s_order_and_set, oxiguitar-edit/entry::text_in_voice_2_is_edited_from_voice_1 |
| Chords | Chord names in any convention and style, diagrams from a name or a beat’s notes, up the neck; every chord renamed as one step. | oxiguitar-edit/lib::chord_names::tests::*, oxiguitar-edit/lib::harmony::tests::*, oxiguitar-app/oxiguitar::chord_form::tests::*, oxiguitar-app/oxiguitar::chord_prefs::tests::*, oxiguitar-edit/lib::notation::tests::every_chord_is_renamed_as_one_step |
| Transposing | Chromatic or diatonic, keeping the fingering or not, the whole score or a selection; spellings move with the notes. | oxiguitar-edit/lib::transpose::tests::* |
| Several voices | Every voice walked; the other voices greyed out for the editor. | oxiguitar-app/oxiguitar::editing::tests::multivoice_walks_and_greys_nothing, oxiguitar-layout/engrave::other_voices_are_greyed_out_for_the_editor |
| The palette | Guitar Pro 8’s groups, collapsing, every symbol the one named; plugins’ tools join their group. | oxiguitar-app/oxiguitar::palette::tests::*, oxiguitar-app/oxiguitar::icons::tests::notation_glyphs_are_what_they_say |
| The inspector | The caret’s note and beat, each voice against the time signature. | oxiguitar-app/oxiguitar::inspector::tests::* |
| Keyboard and mouse | The keys and dialog keys as the manual lists them; Design Mode sets the caret’s system. | oxiguitar-app/oxiguitar::editing::tests::key_names, oxiguitar-app/oxiguitar::editing::tests::dialog_keys, oxiguitar-app/oxiguitar::editing::tests::design_mode_sets_the_caret_s_system, oxiguitar-app/oxiguitar::editing::tests::tracks_hidden_and_selected |
| No editing while playing | Edits wait while the score plays, except the mixer and plugins’ track sections. | oxiguitar-app/oxiguitar::worker::tests::no_edit_is_made_while_the_score_plays, oxiguitar-app/oxiguitar::player::tests::play_opens_the_output_first_and_edits_wait_while_the_sound_runs |
Tools
| Feature | What it does | Tests |
|---|---|---|
| Find Fingering | Pitched notes placed on strings and frets a hand plays: positions, barres, open chords, ties keeping their strings, struck notes never on a ringing string, the hard places marked; one change. | oxiguitar-edit/lib::fingering::tests::*, oxiguitar-app/oxiguitar::worker::tests::find_fingering_is_one_change_and_marks_what_stays_hard |
| Harmonize | Chords for a tune, in its key, where beats start, sevenths and changes inside a bar when asked; one change. | oxiguitar-edit/lib::harmonize::tests::*, oxiguitar-app/oxiguitar::worker::tests::harmonize_writes_chords_as_one_change |
| Fit Bars to Time Signature | Re-bars the music to its time signatures, ties across new bar lines, pickups kept, tuplets where needed; every track together; one change. | oxiguitar-edit/lib::fit::tests::*, oxiguitar-app/oxiguitar::worker::tests::fit_bars_rebars_every_track_as_one_change |
| Key signatures from the notes | Infers the keys the music is in and writes them, modulations included. | oxiguitar-tools/lib::keys::tests::* |
| The tools, run safely | Every tool has a unique id and name, says what it did and never panics; the Tools menu; tools run for plugins with their options. | oxiguitar-tools/lib::tests::*, oxiguitar-app/oxiguitar::document::tests::tools_menu_and_apply, oxiguitar-app/oxiguitar::automation::tests::*, oxiguitar-app/oxiguitar::tests::reasons_follow_the_tool_name |
| Your files through the tools | Every Guitar Pro file of the corpus: fingering, harmonizing, fitting bars and every tool. | oxiguitar-edit/fingering_corpus::fingering_runs_on_the_corpus, oxiguitar-edit/harmonize_corpus::harmonizing_runs_on_the_corpus, oxiguitar-edit/fit_corpus::fitting_runs_on_the_corpus, oxiguitar-tools/corpus::tools_run_on_the_corpus |
Playing
| Feature | What it does | Tests |
|---|---|---|
| Playing in order | Repeats, endings, D.C., D.S., coda and Fine played as written; a jump with nowhere to go ignored. | oxiguitar-play/lib::order::tests::* |
| Timing | Tempo changes (sudden and gradual), fermatas, triplet feel, bars that don’t add up lasting as their notes. | oxiguitar-play/lib::time::tests::* |
| How notes sound | Velocities as Guitar Pro’s, crescendos, fades and swells, arpeggios, rasgueados, golpes, harmonics, ornaments in the key, the pedal, chords on their own voice with the capo. | oxiguitar-play/lib::events::tests::*, oxiguitar-plugin-test/contract::a_track_s_chords_play_on_a_voice_of_their_own |
| How notes are struck | Written pick strokes, brushes and right-hand fingers, tremolo picking alternating, a rasgueado’s strokes, carried to instruments as a note’s flags and back from performing plugins. | oxiguitar-play/lib::events::tests::written_pick_strokes_brushes_and_right_hand_fingers_say_how_notes_are_struck, oxiguitar-play/lib::events::tests::tremolo_picking_alternates_from_the_written_stroke, oxiguitar-play/lib::events::tests::a_rasgueados_strokes_carry_their_fingers_and_directions, oxiguitar-play/lib::events::tests::how_a_note_is_struck_goes_through_its_flags_and_back, oxiguitar-plugin-api/lib::realtime::tests::a_right_hand_finger_fits_its_three_bits_and_leaves_the_others |
| Performers that read the rhythm | A performing plugin whose manifest asks for performs_every_beat is given every beat of a track, so it knows where each note falls in its bar. | oxiguitar-play/lib::plugin_source::tests::a_performer_that_reads_the_rhythm_gets_every_beat, oxiguitar-plugin-api/lib::manifest::tests::performing_is_declared |
| The engine | Every note on its frame at every speed, loops and seeks on their frame, ten minutes without drift, the count-in, the metronome, mute and solo, effects lined up. | oxiguitar-play/engine::*, oxiguitar-play/lib::click::tests::beats_of_simple_and_compound_time |
| The player | Play, stop (back where playing began), play the selection, loop, rewind; the output opened first and closed after the ring-out; the master volume. | oxiguitar-app/oxiguitar::player::tests::*, oxiguitar-app/oxiguitar::sound::tests::* |
| The cursor | The beat heard boxed across its system, the line between columns, the page turned near an edge. | oxiguitar-app/oxiguitar::cursor::tests::* |
| Practice | Speed, loops and the count-in on every reference song. | oxiguitar-play/practice::the_practice_tools_work_on_every_reference_song |
| Sound from plugins | Instruments by class, a track’s effects after its instrument, new settings while playing, an audio device through the host; a sounding or performing plugin’s new settings play the song again. | oxiguitar-app/oxiguitar::playing::tests::a_performers_settings_change_what_is_heard_as_an_instruments_do, oxiguitar-plugin-test/contract::the_engine_plays_a_plugin_instrument_on_its_frames, oxiguitar-plugin-test/contract::the_player_puts_each_track_s_effects_after_its_instrument, oxiguitar-plugin-test/contract::the_player_sends_effects_their_new_settings_while_it_plays, oxiguitar-plugin-test/contract::an_audio_device_plays_the_engine_through_the_host, oxiguitar-plugin-test/contract::instruments_are_offered_by_class |
| Timelines stay the same | Each reference song’s timeline matches its golden file. | oxiguitar-play/golden::timelines_match_their_golden_files, oxiguitar-play/corpus::the_reference_songs_have_sound_timelines, oxiguitar-play/corpus::the_band_song_timeline_is_quick |
| Your files played | Every Guitar Pro file of the corpus has a timeline any timeline must be: in order, inside the song, on its tracks. | oxiguitar-play/corpus::every_corpus_file_has_a_sound_timeline |
Exporting
| Feature | What it does | Tests |
|---|---|---|
| PDF and pictures | Pages as a PDF with its fonts embedded, or PNG pictures. | oxiguitar-render/lib::pdf::tests::*, oxiguitar-cli/cli::render_engraves_pages_and_a_pdf, oxiguitar-app/oxiguitar::worker::tests::open_engrave_draw_and_export |
| Audio | The song rendered faster than real time with no sound card, through an export plugin, written under a temporary name until whole; the dialog remembers the last format. | oxiguitar-plugin-test/contract::an_audio_export_writes_the_song_through_the_exporter, oxiguitar-cli/cli::export_writes_a_wav_file_through_the_export_plugin, oxiguitar-cli/cli::export_names_what_no_plugin_exports, oxiguitar-cli/cli::play_into_a_wav_file_needs_no_sound_card, oxiguitar-app/oxiguitar::audio_export::tests::* |
Settings and plugins
| Feature | What it does | Tests |
|---|---|---|
| Settings | settings.json: defaults, plugin folders, keys kept that this version doesn’t know; one that can’t be read is never written. | oxiguitar-host/lib::settings::tests::*, oxiguitar-app/oxiguitar::manager::tests::settings_that_could_not_be_read_are_never_written |
| Folders | Each system’s conventions (XDG on Linux), system folders before the user’s, OXIGUITAR_HOME, created at first start. | oxiguitar-host/lib::folders::tests::*, oxiguitar-host/lib::tests::a_first_start_creates_the_folders_and_says_what_is_missing, oxiguitar-host/lib::tests::no_home_is_an_error_but_not_fatal, oxiguitar-host/lib::tests::a_program_without_a_window_creates_nothing_and_saves_nothing |
| Finding plugins | Plugin files (archives) in every folder, manifests read without loading the code or unpacking; the later folder’s copy wins whatever its version, then in one folder the newest version, then the build for this processor; the copy used unpacked once into the user’s folder and kept, its own files given to it; needs met or set aside. | oxiguitar-host/lib::plugins::tests::*, oxiguitar-host/lib::oxp::tests::*, oxiguitar-plugin-test/contract::a_plugin_file_is_unpacked_and_kept, oxiguitar-app/oxiguitar::plugin_ui::tests::a_plugin_s_file_on_disk_imports_what_is_beside_it, oxiguitar-host/lib::plugins::missing::a_missing_system_library_is_named, oxiguitar-plugin-test/contract::the_manifest_is_read_without_loading_and_the_code_on_first_use, oxiguitar-plugin-test/contract::speed_budget_thirty_manifests |
| The plugin manager | Tools > Plugins lists every file and what became of it; a tick disables for the next start; Safe Mode loads none. | oxiguitar-app/oxiguitar::manager::tests::*, oxiguitar-host/lib::tests::safe_mode_says_so_and_nothing_else_about_plugins, oxiguitar-app/oxiguitar::tests::the_command_line_takes_safe_mode_and_a_file_in_any_order |
| Plugins that fail | A damaged file is reported and never loaded; a crash names the plugin at the next start; a failing plugin is withdrawn as if not installed, its services chosen again among the others. | oxiguitar-plugin-test/contract::a_damaged_plugin_file_is_reported_and_never_loaded, oxiguitar-plugin-test/contract::a_crash_in_a_plugin_names_the_plugin, oxiguitar-plugin-test/contract::a_plugin_that_fails_is_withdrawn_as_if_it_were_not_installed, oxiguitar-plugin-test/contract::a_service_whose_plugin_crashes_is_chosen_again_among_the_others, oxiguitar-host/lib::crash::tests::* |
| What’s missing, said once | The startup check says what the core can’t do without plugins; advice shown once and silenced for good. | oxiguitar-host/lib::inventory::tests::*, oxiguitar-host/lib::advice::tests::*, oxiguitar-host/lib::tests::the_startup_check_is_advice_the_user_can_silence, oxiguitar-app/oxiguitar::advice::tests::*, oxiguitar-plugin-test/contract::advice_is_shown_once_and_can_be_silenced |
| Plugins in the window | A plugin’s own views in Slint (windows, panels, Track-tab sections, export options), its tools on the palette, menus and toolbar, its marks and drawings on the page, its reports in the footer. | oxiguitar-app/oxiguitar::plugin_tabs::tests::*, oxiguitar-app/oxiguitar::shell::tests::*, oxiguitar-app/oxiguitar::footer::tests::*, oxiguitar-app/oxiguitar::drawings::tests::*, oxiguitar-layout/engrave::a_plugin_s_mark_is_drawn_at_its_beat, oxiguitar-layout/engrave::others_drawings_stand_in_a_lane_of_their_own_over_their_beat, oxiguitar-layout/engrave::a_drawing_s_run_goes_on_across_bars_and_systems_to_its_point, oxiguitar-plugin-test/contract::views_in_slint, oxiguitar-plugin-test/contract::a_plugin_draws_at_its_places_and_isnt_asked_twice_about_the_same |
| Plugins and the score | Events in order, the score on request, one undoable change per plugin edit, plugins’ data on every level, a plugin playing notes its own way. | oxiguitar-plugin-test/contract::events_are_pushed_in_order_and_the_plugin_asks_for_the_score, oxiguitar-app/oxiguitar::worker::tests::a_plugin_s_change_is_one_undoable_command_unless_late, oxiguitar-app/oxiguitar::worker::tests::opening_a_score_tells_the_plugins_that_listen_and_they_can_read_it, oxiguitar-plugin-test/contract::a_plugin_plays_the_notes_its_own_way_and_isnt_asked_twice_about_the_same, oxiguitar-host/lib::events::tests::*, oxiguitar-model/lib::wire::tests::* |
| The plugin interface | Its messages, manifests, signatures, display items and score, every message’s number frozen so new ones are only appended; a plugin built for this interface does everything it offers; the loader’s entry is the interface’s. | oxiguitar-plugin-api/lib::*, oxiguitar-host/lib::loader::tests::the_entry_is_the_interface_s, oxiguitar-plugin-test/contract::tools_edit_the_score_and_plugins_hear_the_selection, oxiguitar-plugin-test/contract::track_sections_footer_links_and_folders, oxiguitar-plugin-test/contract::palette_tools_menus_dialogs_beat_data_and_following_effects, oxiguitar-plugin-test/contract::tools_text_and_selecting, oxiguitar-plugin-test/contract::a_plugins_settings_window, oxiguitar-plugin-test/contract::an_exports_options, oxiguitar-plugin-test/contract::the_score_s_file, oxiguitar-plugin-test/contract::the_plugin_files, oxiguitar-plugin-test/contract::services_are_chosen_by_conditions_priority_probe_and_settings, oxiguitar-plugin-test/contract::plugin_settings_live_under_the_plugin_id_beside_everyone_else_s, oxiguitar-plugin-test/contract::one_file_per_plugin_disabled_ones_are_never_loaded, oxiguitar-plugin-test/contract::disabled_plugins_hear_no_events_and_add_no_views |
| The plugin SDK and checker | The SDK every plugin is built with; oxiguitar-plugin-test checks a plugin file’s contract (with the plugins it needs beside it), real time included; unsafe code only in the loader and the SDK’s glue; a plugin from the template works as the guide says. | oxiguitar-plugin/lib::tests::*, oxiguitar-plugin-test/contract::the_test_plugin_passes_the_contract, oxiguitar-plugin-test/contract::the_real_time_checks_catch_allocations_system_calls_and_late_notes, oxiguitar-plugin-test/contract::only_the_checked_plugin_is_checked_beside_the_ones_it_needs, oxiguitar-plugin-test/oxiguitar-plugin-test::tests::the_command_line_reads, linux:oxiguitar-plugin-test/lib::syscalls::tests::*, oxiguitar-plugin-test/unsafe_audit::unsafe_code_is_allowed_only_in_the_loader_and_the_sdk_glue, oxiguitar-test-plugin/lib::*, stage:plugin template, stage:released-plugin contract |
The window and the rest
| Feature | What it does | Tests |
|---|---|---|
| The window | Zoom in steps; the Wayland and X11 builds each name their display system; About lists the plugin folders; Keyboard and Mouse lists the keys in three columns; links open only web addresses (the manual, the credits, donations). | oxiguitar-app/oxiguitar::tests::interface_zoom_steps, oxiguitar-app/oxiguitar::tests::shortcuts_fill_three_columns_in_turn, oxiguitar-app/oxiguitar::tests::each_build_names_its_own_display_system, oxiguitar-app/oxiguitar::tests::about_lists_the_plugin_folders, oxiguitar-app/oxiguitar::links::tests::* |
| The command-line program | detect, info, convert, render, events, play, export, tools, specimen; bad usage exits with 2. | oxiguitar-cli/cli::*, oxiguitar-cli/oxiguitar-cli::export::tests::options, oxiguitar-cli/oxiguitar-cli::play::tests::options_are_read, oxiguitar-display/lib::specimen::tests::* |
| Fast enough | A 300-bar, 8-track file opens, and a typed note shows, within their budgets. | oxiguitar-app/oxiguitar::speed::*, oxiguitar-edit/lib::fingering::tests::a_long_track_is_quick, oxiguitar-render/lib::raster::tests::raster_speed, stage:speed budget |
| Notes on our libraries stay current | Every Upstream (CRATE VERSION) note in the code, on what a library does or lacks, names a version Cargo.lock has, so moving a library shows the notes to read again. | stage:upstream notes |
| No network, ever | The app and the command-line program never open an internet connection: a whole session under strace. | stage:no network |
| Test songs | The test scores (fifty references, eight full tracks, the band song), their Guitar Pro files current, Guitar Pro 7.6 keeping our songs. | oxiguitar-testgen/lib::*, oxiguitar-testgen/read::the_band_song_reads_back_whole, oxiguitar-testgen/guitar_pro_check::the_files_for_guitar_pro_are_current, oxiguitar-testgen/guitar_pro_7_6::* |