Code

History

Commits on git-commitgraph-v0.8.2735+
  1. change!: Much more comfortable API `file::*Mut` types thanks to `impl Into/AsRef`. (#331)Sebastian Thiel committed 4 years ago3d25fe6
  2. change!: Rename `Mutable*` into `$1Mut` for consistency. (#331)Sebastian Thiel committed 4 years ago393b392
  3. fix: `file::MutableSection::remove()` now actually removes keys _and_ values. (#331)Sebastian Thiel committed 4 years ago94dde44
  4. thanks clippySebastian Thiel committed 4 years ago3ca8027
  5. many more tests for MutableSection (#331)Sebastian Thiel committed 4 years agoac843cb
  6. refactor (#331)Sebastian Thiel committed 4 years ago701266e
  7. make fmtSebastian Thiel committed 4 years agoaa9fdb0
  8. Merge branch 'config-output'Sebastian Thiel committed 4 years ago20e188f
  9. change!: conform APIs of `file::MutableValue` and `file::MutableMultiValue`. (#331)Sebastian Thiel committed 4 years ago0a7391a
  10. fix: `file::MutableMultiValue` escapes input values and maintains key separator specific whitespace. (#331)Sebastian Thiel committed 4 years ago048b925
  11. thanks clippySebastian Thiel committed 4 years agoc9a2390
  12. feat: place spaces around `key = value` pairs, or whatever is used in the source configuration. (#331)Sebastian Thiel committed 4 years ago5418bc7
  13. avoid extra copies when setting values and escaping them (#331)Sebastian Thiel committed 4 years agoa7eff01
  14. refactor (#331)Sebastian Thiel committed 4 years ago15cd1d2
  15. thanks clippySebastian Thiel committed 4 years agobadd00c
  16. more empty-value tests (#331)Sebastian Thiel committed 4 years ago511985a
  17. default space is just a single tab, not two ones (#331)Sebastian Thiel committed 4 years ago7e03b83
  18. feat: proper escaping of value bytes to allow round-tripping after mutation (#331)Sebastian Thiel committed 4 years ago8118644
  19. refactor (#331)Sebastian Thiel committed 4 years agoafa736a
  20. a few tests for `MutableValue` showing that it's too buggy right now (#331)Sebastian Thiel committed 4 years ago5e6f9d9
  21. change!: rename `file::MutableSection::set_leading_space()` to `set_leading_whitespace()`. (#331)Sebastian Thiel committed 4 years ago83a0922
  22. feat: whitespace in newly pushed keys is derived from first section value. (#331)Sebastian Thiel committed 4 years ago9f59356
  23. feat: `File::from_str()` implementation, to support `let config: File = "[core]".parse()?` (#331)Sebastian Thiel committed 4 years agodb1f34d
  24. feat: whitespace in mutable sections can be finely controlled, and is derived from existing sections (#331)Sebastian Thiel committed 4 years ago9157717
  25. refactor (#331)Sebastian Thiel committed 4 years agoc88eea8
  26. refactor (#331)Sebastian Thiel committed 4 years agoa0d6caa
  27. auto-compute whitespace for sections, even though it probably needs to be better than that (#331)Sebastian Thiel committed 4 years agoee9ac95
  28. validation for Keys and header names (#331)Sebastian Thiel committed 4 years ago59ec7f7
  29. refactorSebastian Thiel committed 4 years agobffbcee
  30. refactorSebastian Thiel committed 4 years agoe83879c
  31. fix!: Simplify specifying keys when mutating config values. (#331)Sebastian Thiel committed 4 years agoa93a156
  32. remove unused makefile targets and add `nextest` targetSebastian Thiel committed 4 years ago1d8dee2
  33. fix!: `File::rename_section()` with validation of input arguments. (#331)Sebastian Thiel committed 4 years ago895ce40
  34. fix unescaping logic - thanks fuzzerSidney Douw committed 4 years ago9c6281f
  35. re-add newlines after multi-line values (#331)Sebastian Thiel committed 4 years ago9a2f597