summaryrefslogtreecommitdiff
path: root/src/eval/walk.rs
AgeCommit message (Collapse)Author
2021-12-05Set Rules Episode I: The Phantom StyleLaurenz
2021-11-17Align nodeLaurenz
2021-11-16Don't wrap already layoutable nodes into flows/pars unnecessarilyLaurenz
2021-11-16Revert page and inline levelsLaurenz
2021-11-16Move `lang` functionality into `par`Laurenz
2021-11-16Introduce `FlowNode`Laurenz
2021-11-15Make clippy happier and remove `Str`Laurenz
2021-11-08Final touchesLaurenz
2021-11-05Code Review: No Patrick, question marks are not an instrumentMartin Haug
2021-11-05RefactoringLaurenz
Co-Authored-By: Martin <mhaug@live.de>
2021-11-05Improve error handlingMartin Haug
2021-11-05Less owning, more iteratingMartin Haug
2021-11-05Change parserMartin Haug
2021-11-02Fix page breaks in lists and enumsLaurenz
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-26Simplify node constructionLaurenz
2021-10-26Fr in stack and parLaurenz
2021-10-23Simplify decorationsLaurenz
2021-10-23Introduce page / block / inline levelsLaurenz
2021-10-23Revise block node contractLaurenz
Frames produced by block nodes are now always treated as exactly one per given region and a frame must not be larger than its respective region. Any overflow must be handled internally. This means that stack and grid don't need to search for fitting regions anymore, since the child has already does that for them. This commit further moves stack spacing into a new `SpacingNode`.
2021-10-23Remove inline alignment from stackLaurenz
The current inline alignment is very broken and leads to lots of subtle weirdness. Getting rid of it simplifies the stack's interface a lot. At a later point either: - inline alignment will be added back in a better way, or - all nodes will be able to expand or align themselves, meaning that the stack's children take care of their alignment
2021-10-10Rename `State` to `Style` and move it into its own moduleLaurenz
2021-09-15Rename `SyntaxTree` to `Markup`Laurenz
Also `SyntaxNode` -> `MarkupNode`.
2021-09-14Add `BoolExt` trait with `flip` methodLaurenz
2021-08-31Make user-facing "debug" representation use Debug instead of DisplayLaurenz
2021-08-23Links! (#43)Martin
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2021-08-21Shorter/clearer field name for geometry typesLaurenz
Size { width, height } => Size { w, h } Spec { horizontal, vertical } => Spec { x, y } Gen { cross, main } => Gen { inline, block }
2021-08-21Prune derivesLaurenz