Commit Graph

1028 Commits

Author SHA1 Message Date
hakki aae99a9656 docs: Invoker initial docs 2024-11-15 21:55:08 +00:00
Alain Emilia Anna Zscheile ddbaf2abe5 chore: fix cargo fmt 2024-11-15 20:46:29 +01:00
Weblate Translation Memory 265f5967cf
Translated using Weblate (Portuguese)
Currently translated at 91.4% (43 of 47 strings)

Translation: Topola/Topola
Translate-URL: https://translate.codeberg.org/projects/topola/topola/pt/
2024-11-13 00:01:00 +00:00
wilker f6caaa0c41
Translated using Weblate (Portuguese)
Currently translated at 91.4% (43 of 47 strings)

Translation: Topola/Topola
Translate-URL: https://translate.codeberg.org/projects/topola/topola/pt/
2024-11-13 00:01:00 +00:00
wilker 7173f01ae0
Added translation using Weblate (Portuguese) 2024-11-13 00:01:00 +00:00
fogti e451d39fd3
Translated using Weblate (German)
Currently translated at 97.8% (46 of 47 strings)

Translation: Topola/Topola
Translate-URL: https://translate.codeberg.org/projects/topola/topola/de/
2024-11-13 00:01:00 +00:00
Outbreak2096 1e87062d51
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 95.7% (45 of 47 strings)

Translation: Topola/Topola
Translate-URL: https://translate.codeberg.org/projects/topola/topola/zh_Hans/
2024-11-13 00:01:00 +00:00
Codeberg Translate 22e191fa4a
Update translation files
Updated by "Cleanup translation files" add-on in Weblate.

Translation: Topola/Topola
Translate-URL: https://translate.codeberg.org/projects/topola/topola/
2024-11-13 00:01:00 +00:00
fogti c2128d6f3d
Translated using Weblate (German)
Currently translated at 100.0% (49 of 49 strings)

Translation: Topola/Topola
Translate-URL: https://translate.codeberg.org/projects/topola/topola/de/
2024-11-13 00:01:00 +00:00
Mikolaj Wielgus d6fe67a373 feat(board,layout,drawing): implement edit recording
Not stored in the undo/redo objects yet.
2024-11-13 00:00:56 +00:00
Mikolaj Wielgus ad1b43b806 feat(geometry): implement recording geometry changes to edit objects 2024-11-13 00:00:56 +00:00
hakki c1271e570e docs: navigation mesh documented 2024-10-29 19:53:47 +01:00
hakki 75d41f983a docs: add general description 2024-10-29 19:14:33 +01:00
Tomasz Cichoń 509e032dbc specctra: echo the imported units when exporting 2024-10-28 23:30:10 +01:00
Tomasz Cichoń 77c0fa2272 specctra: various fixes to import 2024-10-27 07:19:12 +01:00
Mikolaj Wielgus 22ad92db54 chore(cargo): use our own development fork of Petgraph for now 2024-10-25 21:34:03 +02:00
hakki de0ba42e18 layout: general info about the module 2024-10-22 15:39:27 +00:00
Mikolaj Wielgus 2ef645bbaf fix(cli,tests): set routed_band_width to 100.0 where I forgot
This was making the CLI build and tests fail because my second previous
commit was botched.

For future reference, I fixed the *.cmd files by running the following
in Fish shell:

```
for f in tests/**.cmd
    jq ".done?.[].Autoroute[1].router_options.routed_band_width |= 100.0" $f | sponge $f
end
```
2024-10-22 14:58:20 +02:00
Mikolaj Wielgus 7d75f918e7 feat(autorouter): add pointroute execution, which routes to a point
Not available as a command (for now?). Hasn't been tested yet.
2024-10-22 00:40:40 +02:00
Mikolaj Wielgus dc11b5d8ff feat(egui,autorouter): make it possible to set routed band width 2024-10-21 02:48:04 +02:00
Outbreak2096 81747af6df
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 95.9% (47 of 49 strings)

Translation: Topola/Topola
Translate-URL: https://translate.codeberg.org/projects/topola/topola/zh_Hans/
2024-10-20 08:07:46 +00:00
Mikolaj Wielgus e62bac69ef refactor(interactor,egui): pass pointer position down to interactions 2024-10-19 02:10:41 +02:00
Mikolaj Wielgus 1638a289ed fix(egui): rename "Properties" to "Preferences"
I managed to conflate these two because both start with "Pr".
2024-10-17 23:41:37 +02:00
Weblate Translation Memory 1b53bce353
Translated using Weblate (Turkish)
Currently translated at 100.0% (47 of 47 strings)

Translation: Topola/Topola
Translate-URL: https://translate.codeberg.org/projects/topola/topola/tr/
2024-10-16 14:21:04 +00:00
tekrei 69b69eb944
Translated using Weblate (Turkish)
Currently translated at 100.0% (47 of 47 strings)

Translation: Topola/Topola
Translate-URL: https://translate.codeberg.org/projects/topola/topola/tr/
2024-10-16 14:21:04 +00:00
Outbreak2096 50370a8a6f
Translated using Weblate (Chinese (Simplified Han script))
Currently translated at 95.7% (45 of 47 strings)

Translation: Topola/Topola
Translate-URL: https://translate.codeberg.org/projects/topola/topola/zh_Hans/
2024-10-14 21:27:28 +00:00
fnetX 4e71b3eb77
Translated using Weblate (German)
Currently translated at 100.0% (45 of 45 strings)

Translation: Topola/Topola
Translate-URL: https://translate.codeberg.org/projects/topola/topola/de/
2024-10-14 21:27:28 +00:00
Mikolaj Wielgus ac92623454 refactor(egui): move Properties menu to its own method 2024-10-14 23:24:13 +02:00
Mikolaj Wielgus 941a271339 fix(egui): show language display names instead of codes 2024-10-14 04:26:12 +02:00
Mikolaj Wielgus 4b66e585c5 feat(egui): add radio buttons to choose language 2024-10-14 02:50:05 +02:00
Mikolaj Wielgus 90afd70f2a refactor(egui): move action definitions to a separate file 2024-10-14 01:34:59 +02:00
Mikolaj Wielgus 894326e3d5 fix(egui): actually impl. F1 keyboard shortcut for opening doc 2024-10-13 22:38:00 +02:00
Mikolaj Wielgus 2bc090b132 feat(egui): add `Help > Online Documentation` menu button 2024-10-13 16:25:04 +02:00
omerdduran adad7a8926
Added translation using Weblate (Turkish) 2024-10-12 21:04:22 +00:00
Mikolaj Wielgus c1df3ba8ad refactor: move `Interactor<...>` and friends to new module dir, `interactor` 2024-10-12 17:21:34 +02:00
Mikolaj Wielgus 23d1eaa722 refactor: make `Step::step(...)` return `ControlFlow<...>`
This is an iteration on what was suggested in
https://codeberg.org/topola/topola/pulls/79 .

This removes the need to create a new status type for steppers that
have only one intermediate state, and removes unidiomatic `TryInto<...>`
usage to determine if a stepper has finished.
2024-10-12 05:38:57 +02:00
Mikolaj Wielgus a9e42eef17 refactor: make `Step`'s error an associated type
This was suggested in https://codeberg.org/topola/topola/pulls/79.
2024-10-12 05:38:57 +02:00
fogti 0d6a0237a9
Translated using Weblate (German)
Currently translated at 100.0% (43 of 43 strings)

Translation: Topola/Topola
Translate-URL: https://translate.codeberg.org/projects/topola/topola/de/
2024-10-11 17:07:32 +00:00
Mikolaj Wielgus 6104e761d2 refactor: autogenerate getters with `derive-getters` crate 2024-10-11 18:43:15 +02:00
Mikolaj Wielgus bdc021cb6e refactor: destruct with `.dissolve()` autogenerated with `derive-getters` crate
Introduces `derive-getters` as a dependency.
2024-10-11 16:54:53 +02:00
Mikolaj Wielgus 3766ade270 refactor(egui): report invoker error one outside of `Interactor` 2024-10-11 03:20:36 +02:00
Mikolaj Wielgus 489f55a8b0 refactor(egui): split out some activity code to new module, `interactor` 2024-10-11 02:50:42 +02:00
Mikolaj Wielgus 3e9e3c69c9 refactor(egui): make `ActivityContext` generic over mesadata type 2024-10-11 00:05:40 +02:00
Alain Emilia Anna Zscheile 5c377e805b general refactor: omit unnecessary clones 2024-10-10 12:21:54 +00:00
Alain Emilia Anna Zscheile 4f40c26bac chore(autorouter): let ExecutionStepper::step_catch_err take Autorouter as context 2024-10-10 12:21:54 +00:00
Mikolaj Wielgus 8559734336 refactor: rename "trace" to "navcord", "tracer" to "navcorder"
Navcord stands for "navigation cord". I try to prefix anything that is
specific to the navmesh with the "nav-" prefix. I chose the word "cord"
as analogy to the terms "umbilical cord" (and by extension, umbilical
cable), and "power cord".

Calling this "trace" was misleading, as this term has other meanings
that are relevant to Topola: "trace" may refer to a debugging trace, and
more importantly, to a PCB track.

I've also shortened two comments that I found to mention the navcord as
"traces" during substitution.
2024-10-10 03:00:27 +02:00
Alain Emilia Anna Zscheile 911c974cfc fix(egui/MenuBar): temporarily comment out all partial conditional enabled UIs
This is workaround for https://github.com/emilk/egui/issues/4774
(and can be reverted once that bug is fixed).

Here, we comment out all `ui.add_enabled_ui(..., |ui| ...);` wrappers
which don't cover whole menus (the bug above should only affect menus
in which only some items are disabled).
2024-10-09 19:43:23 +02:00
Alain Emilia Anna Zscheile ae66a35b8f egui: reset activity on error 2024-10-08 19:52:12 +02:00
Alain Emilia Anna Zscheile e26b1c13ed feat(egui): also disable activity buttons if some activity hasn't finished yet 2024-10-08 19:52:12 +02:00
Alain Emilia Anna Zscheile b5c637e68b egui/MenuBar: grey out workspace-tied commands when no workspace is loaded 2024-10-08 19:52:09 +02:00