Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-18 | Add break line in each part of lines (#325) | ryuta69 | |
2020-09-18 | Fix `git add -p` to work when any options enabled (#323) | ryuta69 | |
* Add test for input and output for diff interactive filter * Add color_only in config struct * Refactor should_handle false when color_only and FileMeta, CommitMeta * Refactor handle_hunk_header_line to show raw_text with color_format when color_only * Fix indent * Revert the logic changes for interactive filter * Add color only workaround in set options * Add more test patterns for diff interactive fillter | |||
2020-08-20 | Interpret `line-numbers = false` in gitconfig as no line numbers at all (#296) | Dan Davison | |
Fixes #292 | |||
2020-08-14 | Do not display hunk first line number when hunk-header-style is raw | Dan Davison | |
Fixes #292 When hunk-header-style is raw, the line numbers are present in the hunk header. | |||
2020-08-14 | Truncate long lines (#290) | Dan Davison | |
Fixes #154, #288 | |||
2020-08-14 | Use native ansi-parsing utilities instead of console crate | Dan Davison | |
Fixes #262 console was great but it didn't support ANSI OSC sequences. | |||
2020-08-08 | Calculate line numbers correctly in raw/color-only mode (#272) | Yoichi NAKAYAMA | |
* Calculate line numbers correctly in raw/color-only mode - call handle_hunk_header_line() if line number option is set - insert empty line before hunk header line only if decoration style is set * Move condition into should_handle() | |||
2020-08-02 | Bugfix: avoid emitting header twice when file is renamed with changes | Dan Davison | |
Fixes #245 | |||
2020-08-01 | Add inspect-raw-lines {true,false} option | Dan Davison | |
Fixes #72 | |||
2020-08-01 | Emit raw lines instead of explicitly handling --color-moved | Dan Davison | |
2020-08-01 | Initial implementation of color-moved support | Dan Davison | |
- Inspect the raw hunk line - If it does not appear to be a standard minus/plus line, treat it as moved - Apply special delta color-moved-* styles | |||
2020-07-27 | Paint buffered minus and plus lines before handling hunk header | Dan Davison | |
Fixes #263 | |||
2020-07-27 | Move a line for consistency | Dan Davison | |
2020-07-22 | Format files and commits as OSC 8 hyperlinks | Dan Davison | |
Closes #257 | |||
2020-07-10 | Refactor: compute fill styles from line type | Dan Davison | |
2020-07-08 | Refactor: move prepare() and expand_tabs() into Painter | Dan Davison | |
2020-07-08 | Refactor: Painter::paint_zero_line | Dan Davison | |
2020-07-08 | Rename function | Dan Davison | |
2020-07-08 | Do not use line_numbers data structure unless line-numbers is active | Dan Davison | |
2020-07-08 | Refactor: line numbers | Dan Davison | |
2020-07-07 | Fix line number padding | Dan Davison | |
Fixes #238 | |||
2020-07-07 | Refactor: parse line-numbers format strings early | Dan Davison | |
2020-07-05 | Rename function: hunk_metadata -> hunk_header | Dan Davison | |
2020-07-05 | Simplify regex | Dan Davison | |
2020-07-05 | Refactor: parse unified diff hunk header | Dan Davison | |
2020-07-01 | Improve unified diff directory diff handling | Dan Davison | |
Fixes #232 | |||
2020-06-26 | Bugfix: fix highlighting bug (no test coverage) | Dan Davison | |
2020-06-25 | Delete redundant state assignment | Dan Davison | |
2020-06-25 | Fix state machine FileMeta parse bug | Dan Davison | |
2020-06-25 | Fix test: --color-only should syntax highlight | Dan Davison | |
2020-06-25 | Rename: --number => --line-numbers | Dan Davison | |
2020-06-17 | Highlight added/removed empty lines if they would be invisible | Dan Davison | |
Thanks @phillipwood | |||
2020-06-17 | Eliminate leading space unless --keep-plus-minus-markers | Dan Davison | |
2020-06-08 | Add --number option for showing line numbers. Also adds related options: | Catherine Noll | |
- format string for specifying minus number line - format string for specifying plus number line - minus number style - plus number style - minus format string style - plus format string style | |||
2020-06-03 | New CLI options: --file-modified-label, --file-removed-label, etc | Dan Davison | |
2020-06-02 | Implement compositional decoration attributes | Dan Davison | |
Ref #205 | |||
2020-05-31 | Make decorations honor --width variable | Dan Davison | |
2020-05-31 | Make decorations respect --width | Dan Davison | |
Fixes #61 Fixes #155 | |||
2020-05-31 | Implement --{commit,file,hunk-header}-style=raw | Dan Davison | |
2020-05-31 | Fix painting of file line under --decoration-style=omit | Dan Davison | |
2020-05-30 | Implement --thing-style omit | Dan Davison | |
2020-05-30 | Implement --commit-style raw with decoration | Dan Davison | |
`--commit-style fg bg` is also raw at this point (delta colors are ignored) but this commit ensures that '--commit-style raw' doesn't erroneously remove the decoration. | |||
2020-05-30 | Implement --file-style raw with decoration | Dan Davison | |
`--file-style raw` doesn't have any effect currently (unlike `--hunk-style raw`), but this commit ensures that it doesn't erroneously remove the decoration. | |||
2020-05-30 | Refactor: config.get_style and delta::should_handle | Dan Davison | |
2020-05-30 | Emit raw hunk header with decoration | Dan Davison | |
2020-05-30 | Make decoration style non-optional | Dan Davison | |
2020-05-29 | Introduce is_raw style attribute | Dan Davison | |
If this attribute is set in --thing-style then the `thing` element text received from git should be passed though unchanged. (It may or may not have a decoration.) | |||
2020-05-29 | Change decoration style enum variant name: Omit => NoDecoration | Dan Davison | |
2020-05-29 | Remove distracting comment about edge case bug | Dan Davison | |
2020-05-28 | Add a blank line before each hunk | Dan Davison | |