summaryrefslogtreecommitdiff
path: root/src/layout
AgeCommit message (Collapse)Author
2020-08-03Formatting, documentation and small improvements ๐ŸงฝLaurenz
2020-08-02Refactor model into tree ๐Ÿ›’Laurenz
2020-08-02Layout elements and pure rust rendering ๐ŸฅLaurenz
2020-08-02Move binary into separate crate and tidy dependencies ๐ŸŽญLaurenz
2020-08-02Refactor argument parsing ๐Ÿ”ฌLaurenz
2020-08-01Raw lengths ๐ŸšฒLaurenz
Replace unitless length with raw f64 and introduce length type with unit.
2020-08-01Port font handling to fontdock and ttf-parser ๐Ÿ›ณLaurenz
- Use fontdock for indexing fonts and querying - Typst binary now automatically indexes and uses system fonts in addition to a fixed font folder! - Removes subsetting support for now (was half-finished anyways, plan is to use harfbuzz for subsetting in the future) - Adds font width configuration support
2020-07-29Move, rename and switch some things (boring) ๐ŸššLaurenz
- Problems -> Diagnostics - Position -> Pos - offset_spans -> Offset trait - Size -> Length (and some more size types renamed) - Paper into its own module - scope::Parser -> parsing::CallParser - Create `Decorations` alias - Remove lots of double newlines - Switch from f32 to f64
2020-07-27Refactor parser ๐Ÿš‡Laurenz
2020-07-26Rename errors to problems and make error! macro more ergonomic ๐ŸงผLaurenz
Also adds a `warning!` macro.
2020-02-13New syntax features ๐Ÿ‘”Laurenz
- Forced line breaks with backslash followed by whitespace - (Multline) raw text in backticks - Set font class fallbacks with [font.family] (e.g. [font.family: monospace=("CMU Typewriter Text")]) - More sophisticated procedure to find end of function, which accounts for comments, strings, raw text and nested functions (this is a mix of a feature and a bug fix)
2020-02-09Write lots of parser tests ๐ŸŒชLaurenz
2020-02-06Highlight bold / italic / monospace ๐ŸŽจLaurenz
2020-02-04Serialize layouts with serde ๐Ÿ” Laurenz
2020-02-04Merge `Parsed` and `Layouted` types into `Pass` with `Feedback` ๐ŸŒ๐ŸŽข๐ŸŒšLaurenz
2020-02-03Better Debug/Display and Derives ๐ŸงฝLaurenz
2020-02-03Upgrade to new toddle interface ๐ŸณLaurenz
2020-01-26Document everything ๐Ÿ“œLaurenz
2020-01-24Reorganize modules ๐ŸงฑLaurenz
2020-01-24Non-fatal argument parsing ๐ŸŒ‹Laurenz
2020-01-21Decoupled function parser ๐Ÿ”— [WIP]Laurenz
2020-01-19Move to non-fatal errors ๐Ÿช‚ [WIP]Laurenz
- Dynamic models instead of SyntaxTrees - No more ParseResult/LayoutResult - Errors and Decorations which are propagated to parent contexts - Models are finally clonable
2020-01-13Checkpoint ๐ŸLaurenz
2020-01-06Formatting ๐Ÿ›€Laurenz
2020-01-06Asyncify font loading ๐ŸชLaurenz
2020-01-05Re-enable *, _ and `.Laurenz
2020-01-04Adopt new font loading engine โš™Laurenz
2019-12-30Fix looping bug ๐ŸšงLaurenz
2019-12-30Simple line layouter ๐ŸงพLaurenz
2019-12-15Paper styles and scalable+default margins ๐Ÿ“œLaurenz
2019-12-15Fix padding-top bug ๐Ÿ—Laurenz
2019-12-13More consistent library code and functions ๐ŸŽ„Laurenz
2019-12-12Refine and rename layouting types ๐Ÿ›€Laurenz
2019-12-12Tidying up ๐ŸงนLaurenz
2019-12-12Refactor size module โ™ปLaurenz
2019-12-11Pretty good stack layouter โœˆLaurenz
2019-12-11Not too shabby stack layouter ๐Ÿš†Laurenz
2019-12-10Progressing stack layouter ๐ŸšŠLaurenz
2019-12-09Bad stack layouter ๐Ÿš‘Laurenz
2019-12-08Improve testers โ™ปLaurenz
2019-12-05Rename crate `typst` -> `typstc` โœLaurenz
2019-12-05Move arg parser into `FuncArgs` and create (incomplete) consistent map ๐ŸงญLaurenz
2019-12-04Unify error types โ™พLaurenz
2019-12-04Expand functionality of function! macro ๐Ÿ›ฐLaurenz
2019-12-01First half of stack update ๐ŸŒ“Laurenz
2019-11-30Refactor layouting base โ™ปLaurenz
2019-11-30Better error reporting ๐ŸšจLaurenz
2019-11-23Fix bugs ๐ŸšงLaurenz
2019-11-22Fix secondary non-origin alignment ๐ŸšงLaurenz
2019-11-22Specify both axis with align function โž•Laurenz