Code

History

Commits on ig/commit-debug to cli/src/formatter.rs35+
  1. cleanup: use method version of str::from_utf8()Yuya Nishihara committed 1 year ago744631d
  2. formatter: migrate away from .with_label*() functionsYuya Nishihara committed 1 year ago3f434ad
  3. formatter: reimplement LabeledWriter as RAII typeYuya Nishihara committed 1 year agoe1d0ec1
  4. formatter: move labeled() to extension trait, add owned versionYuya Nishihara committed 2 years ago2c0f65e
  5. formatter: add forwarding impls for &mut/Boxed FormatterYuya Nishihara committed 1 year ago6a7999a
  6. formatter: make push/pop_label() never failYuya Nishihara committed 1 year ago760ab75
  7. formatter: emit pending color sequence on flush() instead of pop_label()Yuya Nishihara committed 1 year ago6a70a9b
  8. cli: make all DiffRenderer methods asyncYuya Nishihara committed 1 year agod61be4c
  9. cli lib: make use of `Self` consistentadamnemecek committed 1 year ago8a26df2
  10. formatter: add support for ANSI 256-color paletteDaniel Luz committed 1 year ago2f95eaf
  11. formatter: add support for reversing colorsDaniel Luz committed 1 year ago05c77a8
  12. cleanup: enable `unused_trait_names` clippy lint and run `clippy --fix`Ilya Grigoriev committed 1 year agoacaedc3
  13. tests: wrap formatter output so insta won't trim trailing whitespaceYuya Nishihara committed 1 year agoc6ed2af
  14. formatter: add support for italic textGeorge Christou committed 1 year ago9314df9
  15. formatter: leverage serde to parse color stylesYuya Nishihara committed 1 year ago32ee480
  16. formatter: rename Style fields to match configuration keysYuya Nishihara committed 1 year ago7ae1a97
  17. formatter: in tests, use IndexMap to preserve definition order of colorsYuya Nishihara committed 1 year ago1c7634f
  18. config: migrate underlying data structure to toml_editYuya Nishihara committed 1 year agoe2be4fa
  19. cli: replace uses of .get_table() to include better error indicationYuya Nishihara committed 1 year agoec14d08
  20. config: introduce our ConfigGetError typeYuya Nishihara committed 1 year agoc0ce880
  21. cli: migrate remainder of Config::get() to StackedConfig::get()Yuya Nishihara committed 1 year ago4134511
  22. formatter: migrate tests to be using StackedConfigYuya Nishihara committed 1 year ago548f85d
  23. config: add type alias for config::ConfigErrorYuya Nishihara committed 1 year ago6d26d53
  24. text_util: add function to pad labeled textYuya Nishihara committed 2 years agoca5d119
  25. style: remove unneeded lifetimes from trait implementationsSamuel Tardieu committed 2 years ago2112584
  26. formatter: flush color escape sequence when raw() stream is requestedYuya Nishihara committed 2 years ago8bb806e
  27. formatters: implement raw() for FormatRecorderVamsi Avula committed 2 years ago92103f4
  28. style: add semicolon at the end of expressions used as statementsSamuel Tardieu committed 2 years ago3f2ef2e
  29. style: inline variables into format stringsSamuel Tardieu committed 2 years ago46e2723
  30. formatting only: switch to Item level import ganularityMatt Kulukundis committed 2 years ago8ead72e
  31. formatter: make error type of with_label() callback genericYuya Nishihara committed 2 years ago052f022
  32. formatter: minor cleanup in --color=debug handlingYuya Nishihara committed 2 years ago8ee5b78
  33. --color=debug: combine segments with same labelsJonathan Tan committed 2 years agode2940f
  34. --color=debug: print unlabeled text without markupJonathan Tan committed 2 years ago579ba80
  35. formatter: add .labeled().with_heading() helperYuya Nishihara committed 2 years agob9e29b0