summaryrefslogtreecommitdiff
path: root/tests/typ/utility
AgeCommit message (Collapse)Author
2022-11-03Tidy up libraryLaurenz
2022-09-25Round to nearest `u8` instead of flooringLaurenz
2022-09-25Methods to modify colorsMartin Haug
2022-09-25XML readingLaurenz
2022-09-25JSON readingLaurenz
2022-09-20Refactor error handlingLaurenz
2022-07-27CSV readingLaurenz
2022-07-26New `Str` type with methodsLaurenz
2022-07-26Rework array methodsLaurenz
2022-05-30Find optionally takes function instead of valueLaurenz
2022-05-27Luma colorLaurenz
2022-05-16Safe `eval` functionLaurenz
2022-05-04Text replacement show rulesLaurenz
2022-04-30New block spacing modelLaurenz
2022-04-25Add blind text functionMartin Haug
2022-04-11Negative array indexingLaurenz
2022-04-08Em unitsLaurenz
2022-04-07Make `Relative` genericLaurenz
2022-04-07Rename length-related typesLaurenz
`Fractional` => `Fraction` `Relative` => `Ratio` `Linear` => `Relative`
2022-04-03Font fallbackLaurenz
2022-03-18MethodsLaurenz
2022-03-11Rename template to contentLaurenz
2022-03-11More restructuringLaurenz
2022-02-28Reorganize libraryLaurenz
2022-02-24Lower and upper on templatesLaurenz
2022-02-18List label stylingLaurenz
2022-02-08New color stuffMartin Haug
- CMYK function - More default colors - Interpret RGB values as sRGB
2022-02-03Harmonize non-negative int argumentsMartin Haug
2022-02-03Add moduloMartin Haug
2022-02-03Add roman numeral and footnote formattingMartin Haug
2022-01-13Add `even` and `odd` functionsLaurenz
2021-11-02Reduce namespace pollutionLaurenz
2021-10-25Replace `..` syntax with `range` functionLaurenz
2021-10-05Error on out-of-range values in `rgb`Laurenz
2021-10-05Always use first positional argument in `expect()`Laurenz
This changes `#h(100)` from "missing argument: spacing" to "expected linear, found integer".
2021-10-05Add `assert` functionLaurenz
2021-08-31More utility functionsLaurenz
- join("a", "b", "c", sep: ", ") - int("12") - float("31.4e-1") - str(10) - sorted((3, 2, 1))
2021-08-30Add abs() functionLaurenz
2021-08-30Lower- and uppercase string conversion functionsLaurenz
2021-08-14Separate type for string valuesLaurenz
2021-07-31Call args span now includes parensLaurenz
2021-07-30Fatal errorsLaurenz
- Makes errors fatal, so that a phase is only reached when all previous phases were error-free - Parsing still recovers and can produce multiple errors - Evaluation fails fast and can thus produce only a single error (except for parse errors due to an import) - The single error that could occur during execution is removed for now - Removes Value::Error variant
2021-07-10Remove warnings from parsing and castingLaurenz
2021-07-09Even shorter error annotationsLaurenz
Error annotations are now relative to the first following non-comment line.
2021-06-30Remove color literals (#39)Laurenz
2021-06-18Len function for strings, arrays and dictionariesLaurenz
2021-06-10Restructure testsLaurenz