Code

History

Commits on git-commitgraph-v0.8.2 to git-config140+
  1. try to fix attributes, once more (#331)Sebastian Thiel committed 4 years ago207e483
  2. fix: validate incoming conifguration keys when interpreting envirnoment variables. (#331)Sebastian Thiel committed 4 years ago0d07ef1
  3. try to fix filter settings, but it doesn't seem to work (#331)Sebastian Thiel committed 4 years ago9750b7a
  4. sketch new section and metadata (#331)Sebastian Thiel committed 4 years ago9cb9acb
  5. add `Source` type to allow knowing where a particular value is from. (#331)Sebastian Thiel committed 4 years agoc92d5c6
  6. fix: `Boolean` can use numbers to indicate true or false, drops support for `one` and `zero`.(#331)Sebastian Thiel committed 4 years ago6b90184
  7. change!: All accessors in `File` are now using `impl AsRef<str>` where possible for added comfort. (#331)Sebastian Thiel committed 4 years ago3de0cfd
  8. change!: Much more comfortable API `file::*Mut` types thanks to `impl Into/AsRef`. (#331)Sebastian Thiel committed 4 years ago3d25fe6
  9. change!: Rename `Mutable*` into `$1Mut` for consistency. (#331)Sebastian Thiel committed 4 years ago393b392
  10. fix: `file::MutableSection::remove()` now actually removes keys _and_ values. (#331)Sebastian Thiel committed 4 years ago94dde44
  11. thanks clippySebastian Thiel committed 4 years ago3ca8027
  12. many more tests for MutableSection (#331)Sebastian Thiel committed 4 years agoac843cb
  13. refactor (#331)Sebastian Thiel committed 4 years ago701266e
  14. make fmtSebastian Thiel committed 4 years agoaa9fdb0
  15. change!: conform APIs of `file::MutableValue` and `file::MutableMultiValue`. (#331)Sebastian Thiel committed 4 years ago0a7391a
  16. fix: `file::MutableMultiValue` escapes input values and maintains key separator specific whitespace. (#331)Sebastian Thiel committed 4 years ago048b925
  17. thanks clippySebastian Thiel committed 4 years agoc9a2390
  18. feat: place spaces around `key = value` pairs, or whatever is used in the source configuration. (#331)Sebastian Thiel committed 4 years ago5418bc7
  19. avoid extra copies when setting values and escaping them (#331)Sebastian Thiel committed 4 years agoa7eff01
  20. refactor (#331)Sebastian Thiel committed 4 years ago15cd1d2
  21. thanks clippySebastian Thiel committed 4 years agobadd00c
  22. more empty-value tests (#331)Sebastian Thiel committed 4 years ago511985a
  23. default space is just a single tab, not two ones (#331)Sebastian Thiel committed 4 years ago7e03b83
  24. feat: proper escaping of value bytes to allow round-tripping after mutation (#331)Sebastian Thiel committed 4 years ago8118644
  25. refactor (#331)Sebastian Thiel committed 4 years agoafa736a
  26. a few tests for `MutableValue` showing that it's too buggy right now (#331)Sebastian Thiel committed 4 years ago5e6f9d9
  27. change!: rename `file::MutableSection::set_leading_space()` to `set_leading_whitespace()`. (#331)Sebastian Thiel committed 4 years ago83a0922
  28. feat: whitespace in newly pushed keys is derived from first section value. (#331)Sebastian Thiel committed 4 years ago9f59356
  29. feat: `File::from_str()` implementation, to support `let config: File = "[core]".parse()?` (#331)Sebastian Thiel committed 4 years agodb1f34d
  30. feat: whitespace in mutable sections can be finely controlled, and is derived from existing sections (#331)Sebastian Thiel committed 4 years ago9157717
  31. refactor (#331)Sebastian Thiel committed 4 years agoc88eea8
  32. refactor (#331)Sebastian Thiel committed 4 years agoa0d6caa
  33. auto-compute whitespace for sections, even though it probably needs to be better than that (#331)Sebastian Thiel committed 4 years agoee9ac95
  34. validation for Keys and header names (#331)Sebastian Thiel committed 4 years ago59ec7f7
  35. fix!: Simplify specifying keys when mutating config values. (#331)Sebastian Thiel committed 4 years agoa93a156