127 Commits

Author SHA1 Message Date
Martin Haug
99cb655832 Intra-document links 2022-05-27 12:56:20 +02:00
Laurenz
64f8f981c2 Fix Cast implementation of LayoutNode 2022-05-12 11:42:09 +02:00
Laurenz
1927cc86da Set, show, wrap in code blocks 2022-05-09 00:03:57 +02:00
Laurenz
bfaf5447a7 Cast content from string 2022-05-06 10:05:11 +02:00
Laurenz
e674fd7e90 New raw theme & nicer debug representation 2022-05-04 22:14:57 +02:00
Laurenz
507c5fc925 Text replacement show rules 2022-05-04 00:14:31 +02:00
Laurenz
d59109e8ff Support recursive show rules 2022-05-03 15:58:15 +02:00
Martin Haug
9b4397cdab Tests for the new shape API 2022-05-02 18:25:53 +02:00
Martin Haug
7b6f3a0ab9 A new Cast implementation for Sides
Reinstate circle
2022-05-02 16:35:11 +02:00
Laurenz
f9e115daf5 New block spacing model 2022-04-30 14:12:28 +02:00
Laurenz
8fbb11fc05 Extract model module 2022-04-24 15:47:42 +02:00
Laurenz
e4ee14e54f Extract methods into separate module 2022-04-24 15:27:06 +02:00
Laurenz
29eb13ca62 Sum color and length into stroke 2022-04-09 12:02:35 +02:00
Laurenz
712c00ecb7 Em units 2022-04-08 15:45:14 +02:00
Laurenz
e1d7edb7c1 Property resolving 2022-04-08 14:48:02 +02:00
Laurenz
4bb6240b40 Make Relative generic 2022-04-07 18:04:29 +02:00
Laurenz
1192132dc0 Rename length-related types
`Fractional` => `Fraction`
`Relative` => `Ratio`
`Linear` => `Relative`
2022-04-07 16:19:51 +02:00
Laurenz
3d52387eea Rework style chains 2022-04-07 11:07:00 +02:00
Laurenz
23d108c8e0 Font fallback 2022-04-03 13:55:58 +02:00
Laurenz
beca01c826 Methods 2022-03-18 23:43:58 +01:00
Laurenz
288a926fea Knuth-Plass and MicroType 2022-03-14 20:52:32 +01:00
Laurenz
2890a156d2 Remove classes and improve naming 2022-03-12 14:24:24 +01:00
Laurenz
5ac7eb3860 Rename template to content 2022-03-11 23:36:06 +01:00
Laurenz
5ce2a006b6 Consistent block naming 2022-03-11 12:22:27 +01:00
Laurenz
2bf32c51bc Remove layout cache 2022-02-22 12:42:02 +01:00
Laurenz
e01970b20a Basic show rules 2022-02-18 16:57:53 +01:00
Laurenz
261f387535 Accept closures for heading styling 2022-02-17 18:12:13 +01:00
Laurenz
3d965ae6a4 Change default parameter of Cast 2022-02-17 14:31:02 +01:00
Laurenz
91e45458e3 Make values hashable 2022-02-17 12:50:54 +01:00
Laurenz
c7a9bac992 Better debug implementations for numeric types 2022-02-17 12:14:50 +01:00
Laurenz
624471db61 Proper error messages for shorthands 2022-02-10 10:29:17 +01:00
Laurenz
e089b6ea40 Set rules for everything 2022-02-09 12:34:19 +01:00
Laurenz
a7b403fd74 Rename Node to Template 2022-02-02 16:02:23 +01:00
Laurenz
6a6753cb69 Better function representation 2022-02-01 12:26:13 +01:00
Laurenz
20b1a38414 Switch from Rc to Arc 2022-01-31 16:47:00 +01:00
Laurenz
24d513d891 Enable for loop over captured args 2022-01-29 21:36:25 +01:00
Laurenz
e74ae6ce70 Make all nodes into classes 2022-01-08 00:20:48 +01:00
Laurenz
2a3d0f4b39 Set Rules Episode VII: The Set Awakens 2021-12-15 20:27:41 +01:00
Laurenz
ae38be9097 Set Rules Episode IV: A New Fold 2021-12-15 11:11:57 +01:00
Laurenz
fe21c4d399 Set Rules Episode III: Revenge of the packer 2021-12-09 13:42:52 +01:00
Laurenz
26bdc1f0f6 Set Rules Episode I: The Phantom Style 2021-12-05 12:54:03 +01:00
Laurenz
4f9e5819bb 2d alignments with plus operator 2021-11-23 12:45:20 +01:00
Laurenz
ed50661378 Castable optional and smart values 2021-11-29 16:47:35 +01:00
Laurenz
cef46e6c40 Strokes 2021-11-20 15:51:07 +01:00
Laurenz
63c274e7f6 Make clippy happier and remove Str 2021-11-15 17:06:43 +01:00
Laurenz
8a38899c98 Tidying 2021-11-14 15:06:34 +01:00
Laurenz
d4cc8c775d Move paint and colors into geom 2021-10-10 20:26:58 +02:00
Laurenz
7f48e8fe66 Make user-facing "debug" representation use Debug instead of Display 2021-08-31 16:25:12 +02:00
Laurenz
3481d8cc81 More utility functions
- join("a", "b", "c", sep: ", ")
- int("12")
- float("31.4e-1")
- str(10)
- sorted((3, 2, 1))
2021-08-31 12:59:53 +02:00
Laurenz
0dd4ae0a7a Prune derives 2021-08-21 17:30:21 +02:00