summaryrefslogtreecommitdiff
path: root/src/library/utility.rs
AgeCommit message (Collapse)Author
2022-02-28Reorganize libraryLaurenz
2022-02-24Lower and upper on templatesLaurenz
2022-02-23Rework the core contextLaurenz
2022-02-18List label stylingLaurenz
2022-02-17Merge eval and layout contexts into `Vm`Laurenz
2022-02-10Proper error messages for shorthandsLaurenz
2022-02-10Fix CMYK formattingLaurenz
2022-02-07Tidy upLaurenz
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
2022-01-08Make all nodes into classesLaurenz
2021-12-28TidyingLaurenz
2021-11-20StrokesLaurenz
2021-11-15Make clippy happier and remove `Str`Laurenz
2021-11-02Reduce namespace pollutionLaurenz
2021-10-31Reorganize modulesLaurenz
Instead of separating functionality into layout and library, everything lives in the library now. This way, related things live side by side and there are no duplicate file names in the two directories.
2021-10-25Replace `..` syntax with `range` functionLaurenz
2021-10-10Move paint and colors into `geom`Laurenz
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-09-15Bugfix and tidyingLaurenz
2021-09-10Rename `Arguments` to `Args`Laurenz
2021-08-31Make user-facing "debug" representation use Debug instead of DisplayLaurenz
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-08-13Add file information to spansLaurenz
2021-08-12Array and dictionary indexingLaurenz
2021-08-09New source loading architectureLaurenz
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-29Move font family and refactor alignmentLaurenz
2021-07-10Remove warnings from parsing and castingLaurenz
2021-07-10Move comparisons into standard traitsLaurenz
2021-07-10Eco string 🌱Laurenz
2021-06-30Remove color literals (#39)Laurenz
2021-06-26Cleanse libraryLaurenz
- Remove doc-comments for Typst functions from library - Reduce number of library source files