summaryrefslogtreecommitdiff
path: root/src/library
AgeCommit message (Collapse)Author
2021-07-10Remove warnings from parsing and castingLaurenz
2021-07-10Move comparisons into standard traitsLaurenz
2021-07-10Reference-count complex valuesLaurenz
Rename some nodes types
2021-07-10Eco string 🌱Laurenz
2021-07-08Rename Fill to PaintLaurenz
2021-07-08Rename some library argumentsLaurenz
- font - color -> fill - shorthands for families and size - decoration functions - color -> stroke - strength -> thickness - position -> offset - invert offsets: now positive goes downwards just like the rest of typst
2021-06-30Remove color literals (#39)Laurenz
2021-06-30Make clippy a bit happierLaurenz
2021-06-29Make use of wide callsLaurenz
2021-06-27Fix capturing bugLaurenz
2021-06-26Add box and block functionsLaurenz
2021-06-26Remove unused template name fieldLaurenz
2021-06-26Cleanse libraryLaurenz
- Remove doc-comments for Typst functions from library - Reduce number of library source files
2021-06-25Make font take everything as keyword argumentsLaurenz
2021-06-18Ref count the framesMartin
2021-06-18LevelsMartin
2021-06-18Remove eat_ prefixLaurenz
2021-06-18Len function for strings, arrays and dictionariesLaurenz
2021-06-17Constraints (#31)Martin
2021-06-13Refactor column resolvingLaurenz
2021-06-12Allow grid cells to span multiple regions. (#30)Martin
2021-06-11Push some nodes directly into the stackLaurenz
2021-06-11Remove props in favor of using state for everythingLaurenz
2021-06-10Text decorationsMartin Haug
2021-06-09Tidy upLaurenz
2021-06-09Add a grid layouterMartin Haug
2021-06-09Lists with indent-based parsingLaurenz
- Unordered lists with indent-based parsing and basic layout using stacks - Headings are now also indent based - Removes syntax functions since they will be superseded by select & transform
2021-06-01Refactor path handlingLaurenz
2021-05-31Fix and improveLaurenz
- Set context location to resolved path during module evaluation. - Dump module diagnostics on import - Use same-file for more robustness than fs::canonicalize
2021-05-31Module loading systemLaurenz
Detects cyclic imports and loads each module only once per compilation.
2021-05-28Refactored loading and cache architectureLaurenz
2021-05-27Switch to N64 type aliasLaurenz
2021-05-26Add hash impls for all nodesMartin Haug
This prepares the incremental PR. Co-Authored-By: Laurenz <laurmaedje@gmail.com>
2021-05-23A few predefined colors for testingLaurenz
2021-05-23Stack functionLaurenz
2021-05-21Rename areas to regionsLaurenz
2021-05-18Leaner argument parsingLaurenz
2021-05-18Rename _new to new and typify to valueLaurenz
2021-05-18Min and max functionsLaurenz
2021-05-17Tidy up layouting codeLaurenz
2021-05-17Move aspect ratio into stackLaurenz
2021-05-14Remove resource abstraction and handle images nativelyLaurenz
2021-04-23Reengineer font and resource loading 🏞Laurenz
2021-03-30Baseline alignment ⏏Laurenz
2021-03-29Write spaces and linebreaks into text runs ✒Laurenz
2021-03-29Move around test cases 🚚Laurenz
2021-03-27Better space coalescing logic 🌧Laurenz
This creates a smaller state machine helper type for softness coalescing, which does not own the resulting nodes. While this creates a bit more duplication in stack and par builder, it makes it a lot easier to integrate additional logic into the paragraph builder. Furthermore: - Line breaks are now "hard", that is, not coalesced with each other. - Text nodes with equal style are now merged allowing for example `f{}i` to form a ligature.
2021-03-25Refactor alignments & directions 📐Laurenz
- Adds lang function - Refactors execution context - Adds StackChild and ParChild enums
2021-03-24Text shaping 🚀Laurenz
- Shapes text with rustybuzz - Font fallback with family list - Tofus are shown in the first font Co-Authored-By: Martin <mhaug@live.de>
2021-03-22Better font family definitions ✒Laurenz