Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-14 | New ANSI escape sequence parser based on vte | Dan Davison | |
Reimplement utility functions from `console` crate, but with support for OSC sequences. | |||
2020-08-09 | Expand tabs when emitting as raw line | Dan Davison | |
Fixes #280 | |||
2020-08-06 | Do not send artificial leading space to syntax highlighter | Dan Davison | |
Fixes #275 | |||
2020-08-06 | Fix comment | Dan Davison | |
2020-08-01 | Change parse_first_style() to take &str instead of bytes iterator | Dan Davison | |
2020-08-01 | Set fill style for raw lines | Dan Davison | |
Before this, if a color-moved color such as color.diff.oldMoved had a background color, then the background color terminated with the text. | |||
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-30 | Create ansi module | Dan Davison | |
2020-07-13 | Refactor: has_background_color() -> get_background_color() | Dan Davison | |
2020-07-11 | Add side-by-side diff view (#243) | Dan Davison | |
Closes #86 | |||
2020-07-10 | Refactor: compute fill styles from line type | Dan Davison | |
2020-07-09 | Bugfix: empty line marker color was overwriting line numbers | Dan Davison | |
2020-07-09 | Silent bug fix: push empty line marker to line, not output buffer | Dan Davison | |
2020-07-09 | Refactor | Dan Davison | |
2020-07-09 | Refactor: functions for emitting line end ANSI sequences | Dan Davison | |
2020-07-08 | Refactor: paint_lines | 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 | Refactor: line numbers | Dan Davison | |
2020-07-07 | Refactor: line numbers | Dan Davison | |
2020-07-07 | Refactor: parse line-numbers format strings early | Dan Davison | |
2020-06-30 | Fix infinite recursion when there are no syntax references | Dan Davison | |
2020-06-26 | Bugfix: fix highlighting bug (no test coverage) | Dan Davison | |
2020-06-25 | Rename: --number => --line-numbers | Dan Davison | |
2020-06-25 | Support subset of Rust string format language | Dan Davison | |
2020-06-25 | Rearrange: move code into numbers feature module | Dan Davison | |
2020-06-25 | Alternative regex match processing | Dan Davison | |
2020-06-25 | Formatting | Dan Davison | |
2020-06-25 | Command line option to apply line number style to unchanged lines | Catherine Noll | |
2020-06-19 | Refactor: add native style.paint() method | Dan Davison | |
2020-06-18 | Do not emit unnecessary ANSI sequence | Dan Davison | |
https://github.com/dandavison/delta/pull/225#discussion_r442234332 | |||
2020-06-17 | Fix failing test: removal of whitespace error is not an error | Dan Davison | |
2020-06-17 | Refactor: simplify paint_lines terminal background color logic | Dan Davison | |
2020-06-17 | Highlight whitespace errors | 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-16 | Refactor: prepare for updating whitespace error styles | Dan Davison | |
2020-06-16 | Rename ANSI escape sequence constant | Dan Davison | |
2020-06-16 | Do not paint empty strings | Dan Davison | |
2020-06-11 | New option --word-diff-regex | Dan Davison | |
Fixes #184 | |||
2020-06-08 | Edit help text, touch-ups | 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-06 | Use 'syntax_theme' instead of 'theme' everywhere | Dan Davison | |
2020-05-30 | Bug fix: non-emph styling was incorrect | Dan Davison | |
The code was relying on inequality-by-value of e.g. --minus-style and --minus-emph-style. So when those were the same by value, the behavior was incorrect. See also previous commit eec0fb23cfcf64cd2a5da78895112ce7fe3f1108 | |||
2020-05-30 | Hack: add boolean to Style struct to identify non-emph styles | Dan Davison | |
This isn't a correct approach. The problem being addressed is that currently, Style instances are being used to represent things like the presence of an emph section in a line with edit annotations. A consequence is that if an emph and non-emph section are styled the same, then it's impossible to tell that the sections are different in any way at all. I think the correct approach is probably to start using a Struct that models elements such as emph/non-emph to represent these things, and make each such struct instance possess a style. | |||
2020-05-30 | Add is_omitted field to Style struct | 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.) |