summaryrefslogtreecommitdiff
path: root/src/library
AgeCommit message (Collapse)Author
2020-08-02Refactor argument parsing ๐Ÿ”ฌLaurenz
2020-08-02Unify font and page functions ๐Ÿ’•Laurenz
- Removes font weight and width warnings for now, will be added again later - Adds a bit hacky get_first function for tuples, will be refactored soon anyway
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-06Highlight bold / italic / monospace ๐ŸŽจLaurenz
2020-02-04Merge `Parsed` and `Layouted` types into `Pass` with `Feedback` ๐ŸŒ๐ŸŽข๐ŸŒšLaurenz
2020-02-04Adapt for tonty and fix a few bugs ๐ŸšงLaurenz
2020-02-04Streamline Key + Value traits ๐ŸŒŠ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-16Powerful parser testing ๐Ÿฑโ€๐Ÿ‘คLaurenz
2020-01-13Refactor expressions and create tuples and objects ๐ŸงฎLaurenz
2020-01-11Re-engineer tokenization ๐ŸšฟLaurenz
2020-01-08Fix font weight bug ๐Ÿšง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
2020-01-01Add basic font family function โœLaurenz
2020-01-01Add word|line|par.spacing functions ๐Ÿ’ถLaurenz
2019-12-30Simple line layouter ๐ŸงพLaurenz
2019-12-15Paper styles and scalable+default margins ๐Ÿ“œLaurenz
2019-12-13More consistent library code and functions ๐ŸŽ„Laurenz
2019-12-13Implement expression kind for Spanned<T> ๐Ÿ‘ฉโ€๐Ÿ’ปLaurenz
2019-12-12Refine and rename layouting types ๐Ÿ›€Laurenz
2019-12-12Tidying up ๐ŸงนLaurenz
2019-12-12Add font size function ๐ŸŒฑLaurenz
2019-12-11Pretty good stack layouter โœˆLaurenz
2019-12-10Progressing stack layouter ๐ŸšŠLaurenz
2019-12-09Bad stack layouter ๐Ÿš‘Laurenz
2019-12-06Finish consistent map and add two further convenience maps ๐Ÿ—บ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-22Fix secondary non-origin alignment ๐ŸšงLaurenz
2019-11-22Specify both axis with align function โž•Laurenz
2019-11-21Fix spacing bugs ๐ŸšงLaurenz
2019-11-20Refined expansion model ๐Ÿ”›Laurenz