Code

History

Commits on git-commitgraph-v0.8.2 to git-config/src140+
  1. feat: proper escaping of value bytes to allow round-tripping after mutation (#331)Sebastian Thiel committed 4 years ago8118644
  2. refactor (#331)Sebastian Thiel committed 4 years agoafa736a
  3. a few tests for `MutableValue` showing that it's too buggy right now (#331)Sebastian Thiel committed 4 years ago5e6f9d9
  4. change!: rename `file::MutableSection::set_leading_space()` to `set_leading_whitespace()`. (#331)Sebastian Thiel committed 4 years ago83a0922
  5. feat: whitespace in newly pushed keys is derived from first section value. (#331)Sebastian Thiel committed 4 years ago9f59356
  6. feat: `File::from_str()` implementation, to support `let config: File = "[core]".parse()?` (#331)Sebastian Thiel committed 4 years agodb1f34d
  7. feat: whitespace in mutable sections can be finely controlled, and is derived from existing sections (#331)Sebastian Thiel committed 4 years ago9157717
  8. refactor (#331)Sebastian Thiel committed 4 years agoc88eea8
  9. refactor (#331)Sebastian Thiel committed 4 years agoa0d6caa
  10. auto-compute whitespace for sections, even though it probably needs to be better than that (#331)Sebastian Thiel committed 4 years agoee9ac95
  11. validation for Keys and header names (#331)Sebastian Thiel committed 4 years ago59ec7f7
  12. fix!: Simplify specifying keys when mutating config values. (#331)Sebastian Thiel committed 4 years agoa93a156
  13. fix!: `File::rename_section()` with validation of input arguments. (#331)Sebastian Thiel committed 4 years ago895ce40
  14. re-add newlines after multi-line values (#331)Sebastian Thiel committed 4 years ago9a2f597
  15. change!: Enforce `parse::section::Header::new()` by making its fields private. (#331)Sebastian Thiel committed 4 years ago219cf7a
  16. feat: `parse::Header::new(…)` with sub-section name validation (#331)Sebastian Thiel committed 4 years agoae3895c
  17. feat!: section names are now validated. (#331)Sebastian Thiel committed 4 years agocfd974f
  18. prepare for validation of `parse::section::Header` (#331)Sebastian Thiel committed 4 years ago00592f6
  19. basic escaping of subsection names during serialization (#331)Sebastian Thiel committed 4 years ago00d1a9b
  20. change!: Add `File::write_to()` and `File::to_bstring()`; remove some `TryFrom` impls. (#331)Sebastian Thiel committed 4 years ago4f6cd8c
  21. change!: remove `Integer::to_bstring()` as well as some `TryFrom` impls. (#331)Sebastian Thiel committed 4 years ago0e392f8
  22. change!: remove `Boolean::to_bstring()` along with a few `From` impls. (#331)Sebastian Thiel committed 4 years agob22732a
  23. feat: Add `parse::(Event|section::Header|Comment)::write_to(…)`. (#331)Sebastian Thiel committed 4 years agod087f12
  24. make fmtSebastian Thiel committed 4 years ago0700b09
  25. fix: value normalization (via `value::normalize()` handles escape sequences. (#331)Sebastian Thiel committed 4 years agof911707
  26. refactor normalization and more tests (#331)Sebastian Thiel committed 4 years agocf3bf4a
  27. more escape characters for normalization (#331)Sebastian Thiel committed 4 years agob92bd58
  28. thanks clippySebastian Thiel committed 4 years agob246f0a
  29. review docs of `file::mutating` (#331)Sebastian Thiel committed 4 years ago2d5703e
  30. fix: stable sort order for `File::sections_by_name_with_header()` (#331)Sebastian Thiel committed 4 years ago44dfec0
  31. review `file::raw` module (#331)Sebastian Thiel committed 4 years ago6acf4a4
  32. don't over-normalize in comfort layer - all values are normalized now (#331)Sebastian Thiel committed 4 years agob979a3b
  33. docs for comfort level File API (#331)Sebastian Thiel committed 4 years agoeafc6ce
  34. review and refactor 'File::value' module (#331)Sebastian Thiel committed 4 years ago7aa8a0b
  35. change!: allocation free `File::sections_by_name()` and `File::sections_by_name_with_header()`. (#331)Sebastian Thiel committed 4 years ago65c520c