Code

History

Commits on git-sync to cli/src/template_builder.rs35+
  1. templater: add try(expr, fallback...) function to suppress runtime errorsYuya Nishihara committed 3 months ago32bfcf3
  2. templates: Add FsPath template typeJosh McKinney committed 4 months agodb49e5f
  3. dsl: add description support to AliasesMapNiko Savola committed 6 months ago60b21fd
  4. templater: add support for dynamic time format stringsYuya Nishihara committed 6 months agocb8c12d
  5. templater: attach alias context to config name errorYuya Nishihara committed 6 months ago0160c44
  6. templater: add substr() to ByteString typeYuya Nishihara committed 6 months agodd3536c
  7. templater: use monadic functions in String::substr() for shortYuya Nishihara committed 6 months agode3ad0f
  8. templater: add replace() to ByteString typeYuya Nishihara committed 6 months ago4f2390e
  9. templater: add split() to ByteString typeYuya Nishihara committed 6 months ago1923c52
  10. templater: add match() to ByteString typeYuya Nishihara committed 6 months ago1d90f92
  11. templater: copy simple 1-ary methods to ByteString typeYuya Nishihara committed 6 months ago1dbefa3
  12. templater: add function to extract ByteString property from tagged unionYuya Nishihara committed 6 months agod12a3c5
  13. templater: add ByteString type, remove some unneeded UTF-8 round tripYuya Nishihara committed 6 months ago4d7f5c0
  14. templater: sort String methods in doc and codeYuya Nishihara committed 6 months agod3cc135
  15. templater: remove fallible UTF-8 conversion from unit testsYuya Nishihara committed 6 months ago2e93ecc
  16. templater: make other .try_into_<type>() functions recoverableYuya Nishihara committed 6 months agoc621f0d
  17. templater: extract common template fallback from try_into_stringify()Yuya Nishihara committed 6 months ago40a94eb
  18. templates: add `replace` functionBenjamin Tan committed 8 months ago209f2ec
  19. template: allow dynamic config value lookupZeyi Fan committed 7 months agoae610e8
  20. tests: exercise a few more template_builder operations on Any and AnyListDavid Higgs committed 8 months agod61ebac
  21. templating: Make `end` optional in `substr()` methodJoseph Lou committed 8 months ago3308d93
  22. templates: Support Serialize on the result of if(...)Nika Layzell committed 8 months ago75da0ed
  23. templates: Support Serialize on the result of List.mapNika Layzell committed 9 months agoc5bd7d5
  24. tests: run `cargo insta test --force-update-snapshots`Ilya Grigoriev committed 8 months ago3a9e56d
  25. fileset, revset, templater: extract Pattern { .. } node to named typeYuya Nishihara committed 9 months ago0f55a76
  26. templater: Add Timestamp::since()Evan Simmons committed 9 months agoaa2f1be
  27. tests: additional coverage for optional config templatesDavid Higgs committed 9 months ago3400569
  28. templating: add more list type methodsCaleb White committed 10 months agoafb9363
  29. templates: make config() return OptionMatthew Suozzo committed 10 months ago291fe33
  30. templater: add builtin `hyperlink()` functionGeorge Christou committed 9 months ago44bf7e4
  31. tests: exercise template evaluating an omitted if-false caseDavid Higgs committed 9 months ago3081c33
  32. tests: exercise templater error when evaluating a conditionalDavid Higgs committed 9 months ago098fb35
  33. tests: exercise templater error when labellingDavid Higgs committed 9 months ago46a1d3b
  34. tests: exercise templater error when formatting TimestampDavid Higgs committed 9 months ago07acfc2
  35. tests: exercise template parser failing to parse a string patternDavid Higgs committed 9 months ago5a6bea6