summaryrefslogtreecommitdiff
path: root/src/layout/mod.rs
AgeCommit message (Collapse)Author
2021-07-09Fix boundLaurenz
2021-07-08Add lots of Eq implsLaurenz
2021-06-30No more collisions between syntax::Tree and layout::TreeLaurenz
2021-06-29Put incremental compilation behind featureMartin Haug
2021-06-27Testing for incrementalMartin Haug
Also, constraint bugfixes.
2021-06-26Cleanse libraryLaurenz
- Remove doc-comments for Typst functions from library - Reduce number of library source files
2021-06-18Ref count the framesMartin
2021-06-18LevelsMartin
2021-06-17Constraints (#31)Martin
2021-06-15Refactor grid row layoutLaurenz
2021-06-12Allow grid cells to span multiple regions. (#30)Martin
2021-06-11Push some nodes directly into the stackLaurenz
2021-06-09Add a grid layouterMartin Haug
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-27Remove hash() from AnyNode since caching is now fully transparentLaurenz
2021-05-27Switch to N64 type aliasLaurenz
2021-05-26Add a cache for unchanged layoutsMartin Haug
Co-Authored-By: Laurenz <laurmaedje@gmail.com>
2021-05-26Add hash impls for all nodesMartin Haug
This prepares the incremental PR. Co-Authored-By: Laurenz <laurmaedje@gmail.com>
2021-05-21Rename areas to regionsLaurenz
2021-05-17Tidy up layouting codeLaurenz
2021-05-17Move aspect ratio into stackLaurenz
2021-05-17Rename expand to fixed and switch to boolsLaurenz
2021-03-25Refactor alignments & directions 📐Laurenz
- Adds lang function - Refactors execution context - Adds StackChild and ParChild enums
2021-03-20Square, circle and ellipse 🔵Laurenz
2021-03-19Scheduled maintenance 🔨Laurenz
- New naming scheme - TextNode instead of NodeText - CallExpr instead of ExprCall - ... - Less glob imports - Removes Value::Args variant - Removes prelude - Renames Layouted to Fragment - Moves font into env - Moves shaping into layout - Moves frame into separate module
2021-03-12Rename ChildAlign to LayoutAligns ✏Laurenz
2021-03-11Better expansion behaviour 🐪Laurenz
This makes expansion behaviour inheritable by placing it into the area and passing it down during layouting instead of computing some approximation of what we want during execution.
2021-03-09Rename run to line and add some explanatory comments ✏Laurenz
The name run was a relict of the time where a line consisted of a set of runs with same alignment. While these runs still exist conceptually, they are all stored flatly together in what was now renamed from `run` to `line`.
2021-02-09Split evaluation and execution 🔪Laurenz
2021-02-06Generalize child of NodeBackground 🍼Martin Haug
2021-02-06Merge `rect` and `box` 🦚Martin Haug
2021-02-04Add rectangle function 🎛Martin Haug
2021-01-15Split state and scopes, less ref-counting 🔀Laurenz
2021-01-13Unbounded pages 🌌Laurenz
2021-01-13Some minor improvements ♻Laurenz
2021-01-03Move and rename many things 🚛Laurenz
2020-11-28Export alpha channel into PDF 🧊Laurenz
2020-11-27Basic environment and resource loader 🏞Laurenz
2020-11-27Export images in PDF 🖼Laurenz
2020-11-25Merge some modules 🥞Laurenz
2020-11-24Use newly stabilized intra doc links ↩Laurenz
2020-11-20Basic image support 🖼Laurenz
- [image] function - Image rendering in tests - Supports JPEG and PNG - No PDF export so far
2020-10-13BoxAlign and Flow aliases ✏Laurenz
2020-10-12Naming and grammar ✔Laurenz
2020-10-12Less vecs in layouting ⚡Laurenz
2020-10-12Synchronous layout 🪀Laurenz
2020-10-11Refactor layouting base 🪁Laurenz
2020-10-11Rename LayoutItem to Layouted ✏Laurenz
2020-10-10Switch back to custom geometry types, unified with layout primitives 🏞Laurenz