1038 Commits

Author SHA1 Message Date
Laurenz
b0e5212973 Fs builder methods + tidy up 2021-07-21 11:28:33 +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
5edbd3a5b5 Use array's IntoIterator impl and nested or patterns
*yay*
2021-07-16 12:07:15 +02:00
Laurenz
81f2f8f4c3 Optimize scanner and tokenizer 2021-07-13 15:24:26 +02:00
Laurenz
0481192a77 New shiny benchmarks with iai! 2021-07-13 15:18:34 +02:00
Laurenz
9fe9b95b7f Simpler casting 2021-07-11 13:20:53 +02:00
Laurenz
891e0c5fa6 Remove warnings from parsing and casting 2021-07-10 23:14:46 +02:00
Laurenz
982ce85976 Move comparisons into standard traits 2021-07-10 23:10:35 +02:00
Laurenz
6a4823461f Reference-count complex values
Rename some nodes types
2021-07-10 23:10:17 +02:00
Laurenz
36b3067c19 Eco string 🌱 2021-07-10 13:07:39 +02:00
Laurenz
9950627789 Even shorter error annotations
Error annotations are now relative to the first following non-comment line.
2021-07-09 10:50:25 +02:00
Laurenz
4fb58acafd Fix bound 2021-07-09 10:27:45 +02:00
Laurenz
0c74290519 Compare functions and templates by identity 2021-07-08 23:36:20 +02:00
Laurenz
02b586cc36 Add lots of Eq impls 2021-07-08 23:16:02 +02:00
Laurenz
fd0b89a1d8 Rename Fill to Paint 2021-07-08 22:33:44 +02:00
Laurenz
7e2c217cbc Rename some library arguments
- font
  - color -> fill
  - shorthands for families and size
- decoration functions
  - color -> stroke
  - strength -> thickness
  - position -> offset
  - invert offsets: now positive goes downwards just like the rest of typst
2021-07-08 21:42:36 +02:00
Laurenz
551e3af9d0 Replace using with from 2021-07-08 21:16:16 +02:00
Laurenz
5c327e249e Switch to = for headings once again 2021-07-08 20:03:13 +02:00
Laurenz
f85e5aac64 URL special case for line comments 2021-07-08 19:37:38 +02:00
Laurenz
5a500fb8a7 Range operator 2021-07-08 19:12:07 +02:00
Laurenz
c5635d8a3f Handle missing arguments to with expr 2021-07-08 18:56:52 +02:00
Laurenz
859275b17b Bump dependencies 2021-06-30 22:56:45 +02:00
Laurenz
44d8028b49 Allow wide calls only directly in templates 2021-06-30 22:49:11 +02:00
Laurenz
17e8946884
Remove color literals (#39) 2021-06-30 22:32:24 +02:00
Laurenz
911b581834 Optimize scanner performance 2021-06-30 16:43:11 +02:00
Laurenz
65c0c5607e Make clippy a bit happier 2021-06-30 11:48:51 +02:00
Laurenz
470f8001a1 No more collisions between syntax::Tree and layout::Tree 2021-06-30 11:40:27 +02:00
Laurenz
45812b7001
Merge pull request #35 from typst/wide-calls
Wide calls
2021-06-30 11:04:53 +02:00
Laurenz
1c43d8af12 Bump dependencies 2021-06-30 00:52:50 +02:00
Laurenz
d5d2b80699
Merge pull request #34 from typst/cfg-conditional
Put incremental compilation behind feature
2021-06-30 00:43:53 +02:00
Laurenz
ff0e3442ef Adjust (and overengineer) benchmarks 2021-06-30 00:39:22 +02:00
Martin
96563ccb42 CI allows for both modes 2021-06-30 00:39:11 +02:00
Laurenz
2f44d10aa4 Make test separators commentable 2021-06-29 16:05:05 +02:00
Laurenz
b2fb42cc70 Make even more use of wide calls 2021-06-29 16:00:46 +02:00
Laurenz
32a6b673bc Make use of wide calls 2021-06-29 13:49:50 +02:00
Laurenz
b89cd128ae Wide calls 2021-06-29 13:49:50 +02:00
Martin Haug
21d919e2d2 Put incremental compilation behind feature 2021-06-29 12:33:24 +02:00
Laurenz
6d0911d7a8 Mutable visitor 2021-06-29 10:54:34 +02:00
Laurenz
8ea05739af Make values smaller
Reduced from 48 bytes to 32 bytes on 64-bit architectures.
2021-06-28 21:57:18 +02:00
Laurenz
d8d60207ef
Merge pull request #33 from typst/cache-patterns
A test framework for incremental compilation
2021-06-27 19:02:23 +02:00
Martin Haug
e9960b8942 Code review: Reverse temperature 2021-06-27 18:58:31 +02:00
Martin
6f518c1728 Adjust comments
Co-authored-by: Laurenz <laurmaedje@gmail.com>

Update tests/typ/layout/stack.typ

Co-authored-by: Laurenz <laurmaedje@gmail.com>
2021-06-27 18:58:28 +02:00
Martin Haug
9bd8b7ddac Code review, new stack test 2021-06-27 18:06:39 +02:00
Martin
57bd3e23c7
Apply suggestions from code review
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2021-06-27 17:08:40 +02:00
Martin Haug
6b6cdae7ce Testing for incremental
Also, constraint bugfixes.
2021-06-27 12:31:27 +02:00
Laurenz
f64c772b6d Fix capturing bug 2021-06-27 12:05:36 +02:00
Laurenz
422b8e640f With expressions 2021-06-26 18:07:05 +02:00
Laurenz
d53c933e4d Add box and block functions 2021-06-26 15:47:37 +02:00
Laurenz
784018124d Remove unused template name field 2021-06-26 15:35:37 +02:00