summaryrefslogtreecommitdiff
path: root/crates/typst-macros
AgeCommit message (Collapse)Author
2024-06-22Add message when trying to access a field that is not set (#4399)+merlan #flirora
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-13Make symbols callable like functions & migrate callable accents to callable ↵Yip Coekjan
symbols (#4299) Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-06-04Refactor casts to use `HintedStrResult` (#4229)PgBiel
2024-05-25Refactor `Capable::vtable` to return `Option<NonNull<()>>` (#4252)+merlan #flirora
2024-05-25Improve macro docs (+ Native*Data docs) (#4240)bluebear94
2024-05-13Factor out `typst-utils` crate (#4125)Laurenz
2024-04-02A few CI and crate config changes (#3852)Laurenz
2024-03-15Final touches (#3678)Laurenz
2024-03-04Add support for shortcut links in docs (#3547)Laurenz
2024-03-03Fix some comments (#3541)geekvest
Signed-off-by: geekvest <cuimoman@sohu.com>
2024-02-27New context system (#3497)Laurenz
2024-02-13Minor realization improvements (#3408)Laurenz
2024-02-01Fix show-set semantics (#3311)Laurenz
2024-01-31Ensure synthesized field access never panics (#3310)Laurenz
2024-01-30Respect set rules in where selectors (#3290)Laurenz
2024-01-30Refactor `#[elem]` macro (#3303)Laurenz
2024-01-30Refactor folding (#3294)Laurenz
2024-01-29Refactor capability helpersLaurenz
2024-01-29Merge `Fields` and `ElementFields` traitsLaurenz
2024-01-17Add a few manual Debug impls to elementsLaurenz
2024-01-16Don't discard other attributes in `time` macroLaurenz
2024-01-16Migrate metadata fields out of individual elements (#3200)Laurenz
2024-01-12Autogenerate default cast in`#[ty]` unless `cast` is specifiedLaurenz
2024-01-02Fix `#[internal]` fields needing `IntoValue` impl (#3103)Sébastien d'Herbais de Thun
2023-12-30New performance timings (#3096)Sébastien d'Herbais de Thun
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2023-12-28Remove uses of `EcoString::inline`Laurenz
EcoString::inline can produce runtime panics if things are changed later. It should only be used if really necessary (because of const context)
2023-12-07Fix label in `.fields()` accessor (#2884)Sébastien d'Herbais de Thun
2023-12-04Fix defaults on `#[synthesized]` fields (#2825)Sébastien d'Herbais de Thun
Fixes #2821
2023-11-30Fix content hashingLaurenz
Fixes #2800
2023-11-27Make workspace inheriting consistentLaurenz
2023-11-27Optimize `Content::has`, `Introspector::query_label`, and `MetaElem` (#2759)Sébastien d'Herbais de Thun
2023-11-27Use clippy workspace lints and inline format args (#2771)danieleades
2023-11-26Rework `Vt` into `Engine`Laurenz
- Moves as much data out of the `Vm` - Removes duplication with call_vm and call_vt flavours - Uses tracked chain instead of fixed int for determining max nesting depth - This means that nesting checks now generalizes to layout and realization, to detect crashing show rules and overly nested layouts
2023-11-24Merge `typst` and `typst-library`Laurenz
2023-11-24Fix `has` on non-inherent fields (#2745)frozolotl
2023-11-20Document the `#[ghost]` attribute from #2718 (#2721)Sébastien d'Herbais de Thun
2023-11-19Added `ghost` attr to `elem` macro (#2718)Sébastien d'Herbais de Thun
2023-11-19Streamline importsLaurenz
2023-11-17Allow `elem` synthesized fields to take a default value (#2687)Sébastien d'Herbais de Thun
2023-11-08Move some things out of `util`Laurenz
2023-11-08Switch to workspace dependenciesLaurenz
2023-11-06Content rework 2 - Electric Boogaloo (#2504)Sébastien d'Herbais de Thun
2023-10-30Fixed typos (#2524)Fritz Rehde
2023-10-27Fix error priority for function argumentsLaurenz
Errors about superfluous arguments are now thrown before errors of the function execution itself. Fixes #1367
2023-10-27Fix argument parsing bugLaurenz
Things like `luma(1, key: "val")` didn't produce an error before because `args.finish()?` wasn't called. This changes `args: Args` to `args: &mut Args` to make it impossible for that to happen.
2023-09-11Better proc macrosLaurenz
2023-08-25calm down clippy even more (#1997)Beiri22
2023-08-07Touch up docsLaurenz
2023-07-20Center delimiters vertically about the axis (#1756)damaxwell
2023-07-06Raw syntax definition loading (#1655)Sébastien d'Herbais de Thun