Alain Emilia Anna Zscheile
f454e248d7
refactor(egui/actions): put menu rendering into `actions` module
2024-12-31 13:35:20 +01:00
Alain Emilia Anna Zscheile
b47459b3d7
refactor(egui/action): `into_*` methods instead of wrapping `::new` calls
2024-12-31 12:38:18 +01:00
Mikolaj Wielgus
71cdc2794d
chore(licensing): add REUSE headers to hidden files, `flake.nix`, `index.html`
...
I ran the following command in Fish shell:
```
reuse annotate --copyright="Topola contributors" --license="MIT" **/.gitignore {.woodpecker/*,.*}.yaml .rustfmt.toml flake.nix index.html
```
2024-12-30 00:18:38 +01:00
Mikolaj Wielgus
44c30caafe
chore(licensing): add REUSE license headers to `**.{rs,md,toml}` files
...
I ran the following command in Fish shell:
```
reuse annotate --skip-unrecognised --copyright="Topola contributors" --license="MIT" **.{rs,md,toml}
```
The choice of year 2024 in the copyright statements is intentional.
2024-12-29 22:47:00 +01:00
Mikolaj Wielgus
1567a9a83e
style: rename "squeeze through under bands" to "(...) bends"
...
Everywhere except in translatable strings. I'm not changing these
because I prefer this to be done via Weblate.
2024-12-29 01:43:36 +01:00
Alain Emilia Anna Zscheile
ba41ff6837
refactor: get rid of unnecessary bounds on struct generics
2024-12-12 16:38:26 +01:00
Alain Emilia Anna Zscheile
3cb3a9a230
refactor(specctra_derive): fix clippy warnings
2024-12-12 06:59:03 +00:00
Alain Emilia Anna Zscheile
81a6ec22d0
refactor(specctra-core): merge common.rs into lib.rs
2024-12-12 06:59:03 +00:00
Alain Emilia Anna Zscheile
ae006173ce
chore(specctra-core/read): remove unnecessary bound from ListTokenizer
2024-12-12 06:59:03 +00:00
Alain Emilia Anna Zscheile
3e7526bcc6
chore(specctra-core): remove unused stuff
2024-12-12 06:59:03 +00:00
Alain Emilia Anna Zscheile
7737aaf0cc
refactor(specctra-core/read): inline expect_leaf into only callsite
2024-12-12 06:59:03 +00:00
Alain Emilia Anna Zscheile
ca012a8c13
refactor(specctra-core/read): inline expect_* functions from ListToken into InputToken
2024-12-12 06:59:03 +00:00
Alain Emilia Anna Zscheile
81c0de1f91
refactor(specctra-core/read): implement read_named via read_optional
2024-12-12 06:59:03 +00:00
Alain Emilia Anna Zscheile
50ef279286
refactor(specctra-core/read): reuse String::read_dsn where possible
2024-12-12 06:59:03 +00:00
Alain Emilia Anna Zscheile
5e54453433
refactor(specctra-core/read): accept multiple possible names anywhere
...
Previously, some methods handled items/lists with multiple allowed names,
and some only allowed a single name. As the overhead of always handling
multiple names isn't that large, do that everywhere and make the overall
API more streamlined in the process.
2024-12-12 06:59:03 +00:00
Alain Emilia Anna Zscheile
e90449b75e
refactor(specctra-core/read): use macro to produce repetitive impl ReadDsn via FromStr
2024-12-12 06:59:03 +00:00
Alain Emilia Anna Zscheile
5f4496ffce
refactor(specctra-core/read): align read_optional to be like read_array_with_alias
2024-12-12 06:59:03 +00:00
Alain Emilia Anna Zscheile
8fb9bfc0e6
feat(specctra-core/error): separate errors for expected leaf / end-of-list
2024-12-12 06:59:03 +00:00
Alain Emilia Anna Zscheile
9e0bdb5bc7
refactor: various further refactorings ( #128 )
...
These optimize out unnecessary code duplication, reserve vector capacity beforehand by leveraging `Iterator`s and avoid unnecessary double-lookups into HashMaps.
Reviewed-on: https://codeberg.org/topola/topola/pulls/128
Co-authored-by: Alain Emilia Anna Zscheile <fogti+devel@ytrizja.de>
Co-committed-by: Alain Emilia Anna Zscheile <fogti+devel@ytrizja.de>
2024-12-11 14:13:21 +00:00
Mikolaj Wielgus
0184a6537e
feat(egui): have a separate layout color theme for light mode
2024-12-09 14:22:38 +01:00
Mikolaj Wielgus
a5503de0a2
feat(egui): use smaller color theme toggle like in Egui's demo
2024-12-09 14:22:38 +01:00
Mikolaj Wielgus
4b16285143
refactor(egui): move layer colors to `Config`
2024-12-09 14:22:38 +01:00
hakki
5425ac2d3a
egui: fixed typo in build
2024-12-08 13:56:59 +01:00
Mikolaj Wielgus
2337576245
refactor(egui): rename "layers" to "appearance panel"
2024-12-08 02:22:12 +01:00
Alain Emilia Anna Zscheile
cbf99e0a6e
feat(specctra-core-fuzz): actually test roundtrip through serialization+parsing
2024-12-06 14:38:09 +01:00
Alain Emilia Anna Zscheile
e381731475
feat(specctra-core/write): get rid of unnecessary restrictions on method args
2024-12-06 14:38:09 +01:00
Alain Emilia Anna Zscheile
acab24d7d4
feat(specctra-core-fuzz): add another fuzz target (for 'Structure')
2024-12-06 14:38:09 +01:00
Alain Emilia Anna Zscheile
c1101b4304
doc(specctra-core-fuzz): provide README.md with invocation example
2024-12-06 14:38:09 +01:00
Alain Emilia Anna Zscheile
0b37bb2dbc
feat: add rudimentary fuzzer for specctra-core DSN parser
...
Fixes #110
2024-12-06 14:38:09 +01:00
Alain Emilia Anna Zscheile
0fe23c9c71
build: put `specctra` module into separate crate
2024-12-06 14:38:00 +01:00
Alain Emilia Anna Zscheile
e77a034634
chore: bump dependencies (mostly geo, thiserror)
2024-12-05 19:17:43 +01:00
Mikolaj Wielgus
848a497991
fix(egui): show ratsnest by default
...
Closes https://codeberg.org/topola/topola/issues/118
2024-12-05 07:47:21 +01:00
Alain Emilia Anna Zscheile
3bdfa8c12e
fix(cli): compilation failure fix about missing Option<LayoutEdit>
2024-11-29 12:51:44 +01:00
Alain Emilia Anna Zscheile
e0de008f51
build/deps(egui): bump icu_experimental to v0.2; replace icu_locid -> icu_locale_core
2024-11-28 21:28:29 +01:00
Alain Emilia Anna Zscheile
070fe2c176
build(egui): depend on icu_{experimental,locid} directly to reduce deps
2024-11-28 17:19:18 +01:00
Alain Emilia Anna Zscheile
cbd3c77821
build/refactor: move secondary crates into 'crates' folder named by crate name
2024-11-20 15:44:02 +01:00