008 ellipsize targets#5
Merged
Merged
Conversation
…sis module skeleton - Create src/path_ellipsis.rs with EllipsizedPath struct and ellipsize_path() stub - Register pub mod path_ellipsis in lib.rs - Add ellipsize: Option<bool> to Config (SWITCH_COUNT 9→10, SWITCH_MEMBER_ORDER) - Add ellipsize/ellipsize- to SWITCH_MAPPINGS and switch_name_to_source_index - Add ellipsize: Option<bool> to CommandLine (bool_switches, is_recognized, apply_config_defaults) - Add --Ellipsize to help output, synopsis, env var help, config file help, settings display - Fix bounds check in display_env_var_decoded_settings switch loop
…tegration, --Ellipsize- guard - 23 unit tests for ellipsize_path() covering all 5 priority levels, spec test data, edge cases - compute_available_width_for_target() shared by normal and tree displayers - Normal mode: ellipsize long reparse targets with split-color rendering - Tree mode: same algorithm, subtracts tree prefix width - --Ellipsize- bypass renders full target path unchanged
- Fix help output ordering to match TCDir: --Ellipsize after --Tree, before --Depth - Fix help description padding to match TCDir column alignment - Add parity_ellipsize_disabled test for --Ellipsize- mode - Update CHANGELOG.md and README.md for v5.5 ellipsize feature - All 492 unit tests pass, clippy clean - Parity tests: 3 previously-failing reparse tests now pass (23/33 total pass) - 10 remaining parity failures are pre-existing (timing/wide mode, same on master)
Owner
Author
|
Closes #4 |
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.
No description provided.