35 Commits

Author SHA1 Message Date
Laurenz
47dff3765d Remove 'static bound on World
Thanks to improvements in comemo, tracked types don't need to be 'static anymore. This means that the 'static bound on the `World` is now lifted and that the `Route` doesn't need to use unsafe code anymore to manage its lifetime.
2023-05-11 10:50:30 +02:00
Martin Haug
17cef8dcee
Add ICC profiles to images in PDF and update usvg, svg2pdf (#822) 2023-05-02 13:53:20 +02:00
Martin Haug
2a682f0008
Add alt text to image function and PDF (#823) 2023-04-20 11:23:03 +02:00
Laurenz
35302d2004 Handle SVG with text 2023-04-18 19:04:46 +02:00
Laurenz
bce83d330f Remove intermediate strings in error message 2023-04-18 14:31:32 +02:00
Laurenz
b73b4f33bc Fix a few clippy lints 2023-01-20 14:21:59 +01:00
Laurenz
2271d67f8f Faster image rendering 2022-12-12 10:35:42 +01:00
Laurenz
e1e93938a1 Memoize image size computation 2022-11-30 14:52:18 +01:00
Laurenz
f6adc45638 XML reading 2022-09-25 18:20:39 +02:00
Laurenz
3760748fdd Refactor error handling 2022-09-20 19:49:47 +02:00
Laurenz
757a701c1a A New World 2022-09-20 16:37:15 +02:00
Laurenz
59f67b79c7 Remove image store 2022-09-19 12:49:36 +02:00
Laurenz
7fb19d5ef8 Unified file loading errors 2022-06-14 20:07:27 +02:00
Laurenz
c81e2a5f56 Many fixes 2022-06-14 13:53:02 +02:00
Laurenz
ed6550fdb0 Bump dependencies 2022-06-10 23:54:16 +02:00
Laurenz
3309ff9fe5 Slim down context 2022-05-25 11:16:03 +02:00
Laurenz
a741bd6b83 Absolute paths 2022-05-16 17:56:36 +02:00
Laurenz
20b1a38414 Switch from Rc to Arc 2022-01-31 16:47:00 +01:00
Laurenz
3739ab7720 Export into rendered images 2022-01-24 17:39:49 +01:00
Laurenz
f5dcb84e36 Make clippy a bit happier 2021-12-30 12:00:12 +01:00
Martin Haug
7c829c5c1b Bump pdf-writer, svg2pdf and error messages
Co-Authored-By: Laurenz <laurmaedje@gmail.com>
2021-12-07 00:06:54 +01:00
Martin Haug
f15ee7efb6 Add SVG capabilities 2021-12-06 14:58:57 +01:00
Laurenz
a493b9533a More useful Debug impls 2021-09-26 12:24:24 +02:00
Laurenz
0dd4ae0a7a Prune derives 2021-08-21 17:30:21 +02:00
Laurenz
ba6b91e2ee Editable source files 2021-08-16 14:40:02 +02:00
Laurenz
3932bb2cb9 New source loading architecture 2021-08-09 11:26:41 +02:00
Laurenz
3c92bad9a7 Pretty-printed diagnostics with traceback 2021-08-01 00:00:36 +02:00
Laurenz
1ee1d078e2 Fatal errors
- Makes errors fatal, so that a phase is only reached when all previous phases were error-free
- Parsing still recovers and can produce multiple errors
- Evaluation fails fast and can thus produce only a single error (except for parse errors due to an import)
- The single error that could occur during execution is removed for now
- Removes Value::Error variant
2021-07-30 18:49:19 +02:00
Laurenz
929f4d64fe Switch Loader from Option to io::Result 2021-07-21 12:27:40 +02:00
Laurenz
9488b1b850 Main context struct 2021-07-21 11:28:29 +02:00
Laurenz
8000783f95 FileId instead of Path + FileHash 2021-07-20 18:35:05 +02:00
Laurenz
65c0c5607e Make clippy a bit happier 2021-06-30 11:48:51 +02:00
Laurenz
7218892c72 Refactor path handling 2021-06-01 12:55:07 +02:00
Laurenz
e023bf2ac9 Module loading system
Detects cyclic imports and loads each module only once per compilation.
2021-05-31 22:33:40 +02:00
Laurenz
0bfee5b777 Refactored loading and cache architecture 2021-05-28 12:46:43 +02:00