diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index ab4f11f..3c8c5a7 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -14,7 +14,7 @@ updates:
# NuGet packages; Avalonia moves in lockstep, so its packages arrive as one pull request.
# Dependabot rewrites only the lock file of the project that references a package directly:
- # run `dotnet restore Waehlhilfe.slnx --force-evaluate` on its branch and push the result.
+ # run `dotnet restore Freizeichen.slnx --force-evaluate` on its branch and push the result.
- package-ecosystem: nuget
directory: /
schedule:
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index df0409b..36f1c94 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- # Windows and macOS are the platforms Wählhilfe ships for; Linux is where the
+ # Windows and macOS are the platforms Freizeichen ships for; Linux is where the
# DL500A is tested by hand today and where the format check runs.
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
@@ -40,14 +40,14 @@ jobs:
dotnet-version: '10.0.x'
- name: Restore
- run: dotnet restore Waehlhilfe.slnx --locked-mode
+ run: dotnet restore Freizeichen.slnx --locked-mode
- name: Build
- run: dotnet build Waehlhilfe.slnx -c Release --no-restore
+ run: dotnet build Freizeichen.slnx -c Release --no-restore
- name: Test
- run: dotnet test Waehlhilfe.slnx -c Release --no-build
+ run: dotnet test Freizeichen.slnx -c Release --no-build
- name: Format check
if: matrix.os == 'ubuntu-latest'
- run: dotnet format Waehlhilfe.slnx --verify-no-changes --no-restore
+ run: dotnet format Freizeichen.slnx --verify-no-changes --no-restore
diff --git a/AGENTS.md b/AGENTS.md
index 55652a8..38b9f7f 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -1,6 +1,6 @@
# Agent instructions
-Wählhilfe registers as the operating system's `tel:` handler and dials the number on a Gigaset
+Freizeichen registers as the operating system's `tel:` handler and dials the number on a Gigaset
DL500A over Bluetooth. It exists so that Lagebuch (CodeForFire/lagebuch) and every other program
in the ELW can keep emitting plain `tel:` links; see CodeForFire/lagebuch#617 for how the
protocol was found.
@@ -39,7 +39,7 @@ Einsatzkraft). Keep UI wording short and imperative; it is read in a command veh
only when it needs that one's code; the body then says "Stacked on #N, review only the last
commit".
- A pull request that touches a view carries before/after PNGs rendered with the headless Skia
- harness in `tests/Waehlhilfe.App.Tests`, attached with `gh pr create --attach`.
+ harness in `tests/Freizeichen.App.Tests`, attached with `gh pr create --attach`.
## GitHub Actions
diff --git a/Freizeichen.slnx b/Freizeichen.slnx
new file mode 100644
index 0000000..3bba25c
--- /dev/null
+++ b/Freizeichen.slnx
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Makefile b/Makefile
index edeccd2..c63452f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-SLN := Waehlhilfe.slnx
-APP := src/Waehlhilfe.App/Waehlhilfe.App.csproj
+SLN := Freizeichen.slnx
+APP := src/Freizeichen.App/Freizeichen.App.csproj
.PHONY: help restore build test ci format format-check run clean
diff --git a/README.md b/README.md
index eec6141..9cb0128 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,6 @@
-# Wählhilfe
+# Freizeichen
+
+*Ein Klick auf die Nummer – das Telefon wählt.*
Wählt `tel:`-Links über ein Gigaset DL500A – per Bluetooth, ohne Gigaset QuickSync, TAPI oder CSTA.
@@ -9,7 +11,7 @@ auf; das Gespräch wird am Telefon geführt.
## So funktioniert es
Das DL500A stellt über Bluetooth eine serielle Schnittstelle (SPP) bereit und versteht dort
-AT-Befehle. Wählhilfe öffnet diese Schnittstelle, sendet `ATD ` und schließt sie wieder.
+AT-Befehle. Freizeichen öffnet diese Schnittstelle, sendet `ATD ` und schließt sie wieder.
## Status
diff --git a/Waehlhilfe.slnx b/Waehlhilfe.slnx
deleted file mode 100644
index 6763e25..0000000
--- a/Waehlhilfe.slnx
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/Waehlhilfe.App/CompositionRoot.cs b/src/Freizeichen.App/CompositionRoot.cs
similarity index 81%
rename from src/Waehlhilfe.App/CompositionRoot.cs
rename to src/Freizeichen.App/CompositionRoot.cs
index 437039e..e1acab2 100644
--- a/src/Waehlhilfe.App/CompositionRoot.cs
+++ b/src/Freizeichen.App/CompositionRoot.cs
@@ -1,11 +1,11 @@
-using Waehlhilfe.App.Platform;
-using Waehlhilfe.AppLogic;
-using Waehlhilfe.AppLogic.ViewModels;
-using Waehlhilfe.Modem;
+using Freizeichen.App.Platform;
+using Freizeichen.AppLogic;
+using Freizeichen.AppLogic.ViewModels;
+using Freizeichen.Modem;
-namespace Waehlhilfe.App;
+namespace Freizeichen.App;
-/// Wires Wählhilfe by hand: no container.
+/// Wires Freizeichen by hand: no container.
internal sealed class CompositionRoot
{
private readonly JsonSettingsStore _store = new JsonSettingsStore(JsonSettingsStore.DefaultPath());
diff --git a/src/Waehlhilfe.App/Waehlhilfe.App.csproj b/src/Freizeichen.App/Freizeichen.App.csproj
similarity index 66%
rename from src/Waehlhilfe.App/Waehlhilfe.App.csproj
rename to src/Freizeichen.App/Freizeichen.App.csproj
index f6de772..740a8cf 100644
--- a/src/Waehlhilfe.App/Waehlhilfe.App.csproj
+++ b/src/Freizeichen.App/Freizeichen.App.csproj
@@ -3,10 +3,10 @@
WinExeapp.manifest
- Waehlhilfe
- Waehlhilfe.App
- Wählhilfe
- Wählhilfe
+ Freizeichen
+ Freizeichen.App
+ Freizeichen
+ Freizeichen0.1.0true
@@ -20,11 +20,11 @@
-
+
-
+
diff --git a/src/Waehlhilfe.App/WaehlhilfeApp.axaml b/src/Freizeichen.App/FreizeichenApp.axaml
similarity index 84%
rename from src/Waehlhilfe.App/WaehlhilfeApp.axaml
rename to src/Freizeichen.App/FreizeichenApp.axaml
index 09a5c57..103ada4 100644
--- a/src/Waehlhilfe.App/WaehlhilfeApp.axaml
+++ b/src/Freizeichen.App/FreizeichenApp.axaml
@@ -1,6 +1,6 @@
diff --git a/src/Waehlhilfe.App/WaehlhilfeApp.axaml.cs b/src/Freizeichen.App/FreizeichenApp.axaml.cs
similarity index 95%
rename from src/Waehlhilfe.App/WaehlhilfeApp.axaml.cs
rename to src/Freizeichen.App/FreizeichenApp.axaml.cs
index 22d1cb1..43c0e2e 100644
--- a/src/Waehlhilfe.App/WaehlhilfeApp.axaml.cs
+++ b/src/Freizeichen.App/FreizeichenApp.axaml.cs
@@ -3,11 +3,11 @@
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
using Avalonia.Threading;
-using Waehlhilfe.App.Views;
+using Freizeichen.App.Views;
-namespace Waehlhilfe.App;
+namespace Freizeichen.App;
-internal sealed partial class WaehlhilfeApp : Application
+internal sealed partial class FreizeichenApp : Application
{
// How long macOS gets to deliver the link that launched the app before the settings open.
private static readonly TimeSpan LaunchLinkGrace = TimeSpan.FromMilliseconds(500);
diff --git a/src/Waehlhilfe.App/LaunchArguments.cs b/src/Freizeichen.App/LaunchArguments.cs
similarity index 76%
rename from src/Waehlhilfe.App/LaunchArguments.cs
rename to src/Freizeichen.App/LaunchArguments.cs
index 8746874..98cf747 100644
--- a/src/Waehlhilfe.App/LaunchArguments.cs
+++ b/src/Freizeichen.App/LaunchArguments.cs
@@ -1,10 +1,10 @@
-namespace Waehlhilfe.App;
+namespace Freizeichen.App;
internal static class LaunchArguments
{
///
/// The tel: link Windows and Linux pass on the command line when a link is clicked,
- /// or null when Wählhilfe was started on its own. macOS delivers links as an Apple
+ /// or null when Freizeichen was started on its own. macOS delivers links as an Apple
/// event instead, which arrives through IActivatableLifetime.
///
public static string? TelLink(IEnumerable args) =>
diff --git a/src/Waehlhilfe.App/Platform/MacTelHandlerRegistration.cs b/src/Freizeichen.App/Platform/MacTelHandlerRegistration.cs
similarity index 95%
rename from src/Waehlhilfe.App/Platform/MacTelHandlerRegistration.cs
rename to src/Freizeichen.App/Platform/MacTelHandlerRegistration.cs
index aee22cd..93b5e1a 100644
--- a/src/Waehlhilfe.App/Platform/MacTelHandlerRegistration.cs
+++ b/src/Freizeichen.App/Platform/MacTelHandlerRegistration.cs
@@ -1,16 +1,16 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Text;
-using Waehlhilfe.AppLogic;
+using Freizeichen.AppLogic;
-namespace Waehlhilfe.App.Platform;
+namespace Freizeichen.App.Platform;
/// The bundle declares tel in CFBundleURLTypes; Launch Services picks the default.
[SupportedOSPlatform("macos")]
internal sealed partial class MacTelHandlerRegistration : ITelHandlerRegistration
{
/// Must match CFBundleIdentifier in packaging/macos/build-dmg.sh.
- internal const string BundleId = "io.github.deepdiver1975.waehlhilfe";
+ internal const string BundleId = "io.github.deepdiver1975.freizeichen";
private const string CoreFoundation = "/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation";
private const string CoreServices = "/System/Library/Frameworks/CoreServices.framework/CoreServices";
diff --git a/src/Freizeichen.App/Platform/UnsupportedTelHandlerRegistration.cs b/src/Freizeichen.App/Platform/UnsupportedTelHandlerRegistration.cs
new file mode 100644
index 0000000..3ab2160
--- /dev/null
+++ b/src/Freizeichen.App/Platform/UnsupportedTelHandlerRegistration.cs
@@ -0,0 +1,12 @@
+using Freizeichen.AppLogic;
+
+namespace Freizeichen.App.Platform;
+
+/// Linux: Freizeichen dials there (it is where the DL500A is tested), but ships no handler registration.
+internal sealed class UnsupportedTelHandlerRegistration : ITelHandlerRegistration
+{
+ public bool IsDefaultHandler() => false;
+
+ public Task MakeDefaultAsync(CancellationToken cancellationToken = default) =>
+ throw new PlatformNotSupportedException("Freizeichen registers as the tel: handler on Windows and macOS only.");
+}
diff --git a/src/Waehlhilfe.App/Platform/WindowsTelHandlerRegistration.cs b/src/Freizeichen.App/Platform/WindowsTelHandlerRegistration.cs
similarity index 75%
rename from src/Waehlhilfe.App/Platform/WindowsTelHandlerRegistration.cs
rename to src/Freizeichen.App/Platform/WindowsTelHandlerRegistration.cs
index d1e837a..1ea89f6 100644
--- a/src/Waehlhilfe.App/Platform/WindowsTelHandlerRegistration.cs
+++ b/src/Freizeichen.App/Platform/WindowsTelHandlerRegistration.cs
@@ -1,22 +1,22 @@
using System.Diagnostics;
using System.Runtime.Versioning;
+using Freizeichen.AppLogic;
using Microsoft.Win32;
-using Waehlhilfe.AppLogic;
-namespace Waehlhilfe.App.Platform;
+namespace Freizeichen.App.Platform;
///
-/// The MSI registers Wählhilfe as *capable* of handling tel: (ProgId, Capabilities,
+/// The MSI registers Freizeichen as *capable* of handling tel: (ProgId, Capabilities,
/// RegisteredApplications). Windows lets no program make itself the default, so this opens the
/// Settings page where the user picks it once.
///
[SupportedOSPlatform("windows")]
internal sealed class WindowsTelHandlerRegistration : ITelHandlerRegistration
{
- /// Must match the ProgId and the RegisteredApplications name in packaging/windows/Waehlhilfe.wxs.
- internal const string ProgId = "Waehlhilfe.tel";
+ /// Must match the ProgId and the RegisteredApplications name in packaging/windows/Freizeichen.wxs.
+ internal const string ProgId = "Freizeichen.tel";
- internal const string RegisteredApplicationName = "Waehlhilfe";
+ internal const string RegisteredApplicationName = "Freizeichen";
private const string UserChoiceKey = @"Software\Microsoft\Windows\Shell\Associations\UrlAssociations\tel\UserChoice";
@@ -28,7 +28,7 @@ public bool IsDefaultHandler()
public Task MakeDefaultAsync(CancellationToken cancellationToken = default)
{
- // A fixed URI, nothing from input: the Settings page that lists Wählhilfe's link types.
+ // A fixed URI, nothing from input: the Settings page that lists Freizeichen's link types.
using var _ = Process.Start(new ProcessStartInfo($"ms-settings:defaultapps?registeredAppMachine={RegisteredApplicationName}")
{
UseShellExecute = true,
diff --git a/src/Waehlhilfe.App/Program.cs b/src/Freizeichen.App/Program.cs
similarity index 79%
rename from src/Waehlhilfe.App/Program.cs
rename to src/Freizeichen.App/Program.cs
index af33cbf..5ae5c0a 100644
--- a/src/Waehlhilfe.App/Program.cs
+++ b/src/Freizeichen.App/Program.cs
@@ -1,6 +1,6 @@
using Avalonia;
-namespace Waehlhilfe.App;
+namespace Freizeichen.App;
internal static class Program
{
@@ -9,7 +9,7 @@ public static void Main(string[] args) =>
BuildAvaloniaApp().StartWithClassicDesktopLifetime(args);
public static AppBuilder BuildAvaloniaApp() =>
- AppBuilder.Configure()
+ AppBuilder.Configure()
.UsePlatformDetect()
.WithInterFont();
}
diff --git a/src/Waehlhilfe.App/Views/DialWindow.axaml b/src/Freizeichen.App/Views/DialWindow.axaml
similarity index 88%
rename from src/Waehlhilfe.App/Views/DialWindow.axaml
rename to src/Freizeichen.App/Views/DialWindow.axaml
index 60f4847..8f23ef2 100644
--- a/src/Waehlhilfe.App/Views/DialWindow.axaml
+++ b/src/Freizeichen.App/Views/DialWindow.axaml
@@ -1,10 +1,10 @@
diff --git a/src/Waehlhilfe.App/Views/DialWindow.axaml.cs b/src/Freizeichen.App/Views/DialWindow.axaml.cs
similarity index 93%
rename from src/Waehlhilfe.App/Views/DialWindow.axaml.cs
rename to src/Freizeichen.App/Views/DialWindow.axaml.cs
index 2eded01..cd40733 100644
--- a/src/Waehlhilfe.App/Views/DialWindow.axaml.cs
+++ b/src/Freizeichen.App/Views/DialWindow.axaml.cs
@@ -1,7 +1,7 @@
using Avalonia.Controls;
-using Waehlhilfe.AppLogic.ViewModels;
+using Freizeichen.AppLogic.ViewModels;
-namespace Waehlhilfe.App.Views;
+namespace Freizeichen.App.Views;
internal sealed partial class DialWindow : Window
{
diff --git a/src/Waehlhilfe.App/Views/SettingsWindow.axaml b/src/Freizeichen.App/Views/SettingsWindow.axaml
similarity index 90%
rename from src/Waehlhilfe.App/Views/SettingsWindow.axaml
rename to src/Freizeichen.App/Views/SettingsWindow.axaml
index 3c954ad..e5e9e51 100644
--- a/src/Waehlhilfe.App/Views/SettingsWindow.axaml
+++ b/src/Freizeichen.App/Views/SettingsWindow.axaml
@@ -1,10 +1,10 @@
@@ -23,7 +23,7 @@
-
+
@@ -58,7 +58,7 @@
-
+
diff --git a/src/Waehlhilfe.App/Views/SettingsWindow.axaml.cs b/src/Freizeichen.App/Views/SettingsWindow.axaml.cs
similarity index 80%
rename from src/Waehlhilfe.App/Views/SettingsWindow.axaml.cs
rename to src/Freizeichen.App/Views/SettingsWindow.axaml.cs
index f6396f5..196f905 100644
--- a/src/Waehlhilfe.App/Views/SettingsWindow.axaml.cs
+++ b/src/Freizeichen.App/Views/SettingsWindow.axaml.cs
@@ -1,6 +1,6 @@
using Avalonia.Controls;
-namespace Waehlhilfe.App.Views;
+namespace Freizeichen.App.Views;
internal sealed partial class SettingsWindow : Window
{
diff --git a/src/Waehlhilfe.App/app.manifest b/src/Freizeichen.App/app.manifest
similarity index 85%
rename from src/Waehlhilfe.App/app.manifest
rename to src/Freizeichen.App/app.manifest
index 9b9836d..6251ace 100644
--- a/src/Waehlhilfe.App/app.manifest
+++ b/src/Freizeichen.App/app.manifest
@@ -1,6 +1,6 @@
-
+ true/PM
diff --git a/src/Waehlhilfe.App/packages.lock.json b/src/Freizeichen.App/packages.lock.json
similarity index 98%
rename from src/Waehlhilfe.App/packages.lock.json
rename to src/Freizeichen.App/packages.lock.json
index bdbace3..ddfe109 100644
--- a/src/Waehlhilfe.App/packages.lock.json
+++ b/src/Freizeichen.App/packages.lock.json
@@ -301,22 +301,22 @@
"resolved": "0.94.1",
"contentHash": "11YMr7FnAbL83bQmVxlhbIKHvSLxjO81D12Ej0QMSGXMDTxNA9MTOa4MQxx43nv5el/efuPHwzyrj6a5ha2gug=="
},
- "waehlhilfe.applogic": {
+ "freizeichen.applogic": {
"type": "Project",
"dependencies": {
"CommunityToolkit.Mvvm": "[8.4.2, )",
- "Waehlhilfe.Domain": "[1.0.0, )",
- "Waehlhilfe.Modem": "[1.0.0, )"
+ "Freizeichen.Domain": "[1.0.0, )",
+ "Freizeichen.Modem": "[1.0.0, )"
}
},
- "waehlhilfe.domain": {
+ "freizeichen.domain": {
"type": "Project"
},
- "waehlhilfe.modem": {
+ "freizeichen.modem": {
"type": "Project",
"dependencies": {
- "System.IO.Ports": "[10.0.14, )",
- "Waehlhilfe.Domain": "[1.0.0, )"
+ "Freizeichen.Domain": "[1.0.0, )",
+ "System.IO.Ports": "[10.0.14, )"
}
},
"Avalonia.Skia": {
diff --git a/src/Waehlhilfe.AppLogic/DialMessages.cs b/src/Freizeichen.AppLogic/DialMessages.cs
similarity index 84%
rename from src/Waehlhilfe.AppLogic/DialMessages.cs
rename to src/Freizeichen.AppLogic/DialMessages.cs
index 094aeda..0d487ee 100644
--- a/src/Waehlhilfe.AppLogic/DialMessages.cs
+++ b/src/Freizeichen.AppLogic/DialMessages.cs
@@ -1,6 +1,6 @@
-using Waehlhilfe.Modem;
+using Freizeichen.Modem;
-namespace Waehlhilfe.AppLogic;
+namespace Freizeichen.AppLogic;
/// What the Lagebuchführer reads after a dial or a connection test.
public static class DialMessages
@@ -9,14 +9,14 @@ public static class DialMessages
{
DialResult.Dialled => "Gewählt. Gespräch am Telefon führen.",
DialResult.Answered => "Telefon antwortet. Alles bereit.",
- DialResult.PortNotSet => "Kein Telefon eingerichtet – in Wählhilfe den Bluetooth-Port wählen.",
+ DialResult.PortNotSet => "Kein Telefon eingerichtet – in den Freizeichen-Einstellungen den Bluetooth-Port wählen.",
DialResult.PortMissing => $"Port {portName} nicht gefunden. Ist das Telefon mit diesem PC gekoppelt?",
DialResult.PortBusy => $"Port {portName} ist belegt oder gesperrt – läuft noch ein Anruf, oder nutzt ein anderes Programm den Port?",
DialResult.NoResponse => "Telefon antwortet nicht. Bluetooth am Telefon eingeschaltet? Ist es mit diesem PC als Audiogerät verbunden, diese Verbindung trennen.",
DialResult.Rejected => "Das Telefon hat die Wahl abgelehnt.",
DialResult.LineBusy => "Besetzt.",
DialResult.NoCarrier => "Keine Verbindung zustande gekommen.",
- DialResult.NoDialTone => "Kein Freizeichen – ist die Telefonleitung angeschlossen?",
+ DialResult.NoDialTone => "Kein Wählton – ist die Telefonleitung angeschlossen?",
_ => "Unbekannte Antwort vom Telefon.",
};
diff --git a/src/Freizeichen.AppLogic/Freizeichen.AppLogic.csproj b/src/Freizeichen.AppLogic/Freizeichen.AppLogic.csproj
new file mode 100644
index 0000000..f64c773
--- /dev/null
+++ b/src/Freizeichen.AppLogic/Freizeichen.AppLogic.csproj
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Waehlhilfe.AppLogic/ISettingsStore.cs b/src/Freizeichen.AppLogic/ISettingsStore.cs
similarity index 84%
rename from src/Waehlhilfe.AppLogic/ISettingsStore.cs
rename to src/Freizeichen.AppLogic/ISettingsStore.cs
index 38cf53c..e5ee0a1 100644
--- a/src/Waehlhilfe.AppLogic/ISettingsStore.cs
+++ b/src/Freizeichen.AppLogic/ISettingsStore.cs
@@ -1,6 +1,6 @@
-using Waehlhilfe.Domain;
+using Freizeichen.Domain;
-namespace Waehlhilfe.AppLogic;
+namespace Freizeichen.AppLogic;
public interface ISettingsStore
{
diff --git a/src/Waehlhilfe.AppLogic/ITelHandlerRegistration.cs b/src/Freizeichen.AppLogic/ITelHandlerRegistration.cs
similarity index 52%
rename from src/Waehlhilfe.AppLogic/ITelHandlerRegistration.cs
rename to src/Freizeichen.AppLogic/ITelHandlerRegistration.cs
index e8be287..f989804 100644
--- a/src/Waehlhilfe.AppLogic/ITelHandlerRegistration.cs
+++ b/src/Freizeichen.AppLogic/ITelHandlerRegistration.cs
@@ -1,12 +1,12 @@
-namespace Waehlhilfe.AppLogic;
+namespace Freizeichen.AppLogic;
-/// Whether the OS opens tel: links with Wählhilfe, and the way to make it so.
+/// Whether the OS opens tel: links with Freizeichen, and the way to make it so.
public interface ITelHandlerRegistration
{
bool IsDefaultHandler();
///
- /// Makes Wählhilfe the handler, or opens the OS dialog where the user does — Windows lets
+ /// Makes Freizeichen the handler, or opens the OS dialog where the user does — Windows lets
/// no program set it on its own. Throws when neither is possible.
///
Task MakeDefaultAsync(CancellationToken cancellationToken = default);
diff --git a/src/Waehlhilfe.AppLogic/JsonSettingsStore.cs b/src/Freizeichen.AppLogic/JsonSettingsStore.cs
similarity index 88%
rename from src/Waehlhilfe.AppLogic/JsonSettingsStore.cs
rename to src/Freizeichen.AppLogic/JsonSettingsStore.cs
index 9ab883d..6285399 100644
--- a/src/Waehlhilfe.AppLogic/JsonSettingsStore.cs
+++ b/src/Freizeichen.AppLogic/JsonSettingsStore.cs
@@ -1,12 +1,12 @@
using System.Text.Json;
-using Waehlhilfe.Domain;
+using Freizeichen.Domain;
-namespace Waehlhilfe.AppLogic;
+namespace Freizeichen.AppLogic;
/// The settings as a small JSON file in the user's profile.
public sealed class JsonSettingsStore : ISettingsStore
{
- /// A settings file is well under a kilobyte; anything this size was not written by Wählhilfe.
+ /// A settings file is well under a kilobyte; anything this size was not written by Freizeichen.
public const int MaxFileBytes = 16 * 1024;
private static readonly JsonSerializerOptions Options = new(JsonSerializerDefaults.Web) { WriteIndented = true };
@@ -20,15 +20,15 @@ public JsonSettingsStore(string path)
}
///
- /// %APPDATA%\Waehlhilfe on Windows, ~/Library/Application Support/Waehlhilfe on
- /// macOS, $XDG_CONFIG_HOME/Waehlhilfe on Linux.
+ /// %APPDATA%\Freizeichen on Windows, ~/Library/Application Support/Freizeichen on
+ /// macOS, $XDG_CONFIG_HOME/Freizeichen on Linux.
///
public static string DefaultPath()
{
var folder = OperatingSystem.IsMacOS()
? Environment.SpecialFolder.LocalApplicationData
: Environment.SpecialFolder.ApplicationData;
- return Path.Join(Environment.GetFolderPath(folder), "Waehlhilfe", "settings.json");
+ return Path.Join(Environment.GetFolderPath(folder), "Freizeichen", "settings.json");
}
public DialSettings Load()
diff --git a/src/Waehlhilfe.AppLogic/ViewModels/DialViewModel.cs b/src/Freizeichen.AppLogic/ViewModels/DialViewModel.cs
similarity index 97%
rename from src/Waehlhilfe.AppLogic/ViewModels/DialViewModel.cs
rename to src/Freizeichen.AppLogic/ViewModels/DialViewModel.cs
index 1c2973f..be139c2 100644
--- a/src/Waehlhilfe.AppLogic/ViewModels/DialViewModel.cs
+++ b/src/Freizeichen.AppLogic/ViewModels/DialViewModel.cs
@@ -1,10 +1,10 @@
using System.Diagnostics.CodeAnalysis;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
-using Waehlhilfe.Domain;
-using Waehlhilfe.Modem;
+using Freizeichen.Domain;
+using Freizeichen.Modem;
-namespace Waehlhilfe.AppLogic.ViewModels;
+namespace Freizeichen.AppLogic.ViewModels;
///
/// The confirm window a tel: click opens. Nothing is dialled until the Lagebuchführer
diff --git a/src/Waehlhilfe.AppLogic/ViewModels/SettingsViewModel.cs b/src/Freizeichen.AppLogic/ViewModels/SettingsViewModel.cs
similarity index 91%
rename from src/Waehlhilfe.AppLogic/ViewModels/SettingsViewModel.cs
rename to src/Freizeichen.AppLogic/ViewModels/SettingsViewModel.cs
index 3815d4c..f1de335 100644
--- a/src/Waehlhilfe.AppLogic/ViewModels/SettingsViewModel.cs
+++ b/src/Freizeichen.AppLogic/ViewModels/SettingsViewModel.cs
@@ -2,12 +2,12 @@
using System.Diagnostics.CodeAnalysis;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
-using Waehlhilfe.Domain;
-using Waehlhilfe.Modem;
+using Freizeichen.Domain;
+using Freizeichen.Modem;
-namespace Waehlhilfe.AppLogic.ViewModels;
+namespace Freizeichen.AppLogic.ViewModels;
-/// What Wählhilfe shows when started on its own: the phone's port, the dialling rules, the tests.
+/// What Freizeichen shows when started on its own: the phone's port, the dialling rules, the tests.
public sealed partial class SettingsViewModel : ObservableObject
{
private readonly ISettingsStore _store;
@@ -132,14 +132,14 @@ private async Task MakeDefaultHandlerAsync()
IsDefaultHandler = _registration.IsDefaultHandler();
Show(
IsDefaultHandler
- ? "Wählhilfe öffnet jetzt tel:-Links."
- : "Im Systemdialog Wählhilfe für tel:-Links auswählen und danach „Prüfen“ drücken.",
+ ? "Freizeichen öffnet jetzt tel:-Links."
+ : "Im Systemdialog Freizeichen für tel:-Links auswählen und danach „Prüfen“ drücken.",
isError: false);
}
catch (Exception)
{
IsDefaultHandler = _registration.IsDefaultHandler();
- Show("Wählhilfe konnte nicht als Standard für tel:-Links eingetragen werden.", isError: true);
+ Show("Freizeichen konnte nicht als Standard für tel:-Links eingetragen werden.", isError: true);
}
}
diff --git a/src/Waehlhilfe.AppLogic/packages.lock.json b/src/Freizeichen.AppLogic/packages.lock.json
similarity index 97%
rename from src/Waehlhilfe.AppLogic/packages.lock.json
rename to src/Freizeichen.AppLogic/packages.lock.json
index b27e594..b463fd8 100644
--- a/src/Waehlhilfe.AppLogic/packages.lock.json
+++ b/src/Freizeichen.AppLogic/packages.lock.json
@@ -125,14 +125,14 @@
"resolved": "1.2.0.556",
"contentHash": "zvn9Mqs/ox/83cpYPignI8hJEM2A93s2HkHs8HYMOAQW0PkampyoErAiIyKxgTLqbbad29HX/shv/6LGSjPJNQ=="
},
- "waehlhilfe.domain": {
+ "freizeichen.domain": {
"type": "Project"
},
- "waehlhilfe.modem": {
+ "freizeichen.modem": {
"type": "Project",
"dependencies": {
- "System.IO.Ports": "[10.0.14, )",
- "Waehlhilfe.Domain": "[1.0.0, )"
+ "Freizeichen.Domain": "[1.0.0, )",
+ "System.IO.Ports": "[10.0.14, )"
}
},
"System.IO.Ports": {
diff --git a/src/Waehlhilfe.Domain/DialNumber.cs b/src/Freizeichen.Domain/DialNumber.cs
similarity index 97%
rename from src/Waehlhilfe.Domain/DialNumber.cs
rename to src/Freizeichen.Domain/DialNumber.cs
index 5f4f3ea..ddc4df5 100644
--- a/src/Waehlhilfe.Domain/DialNumber.cs
+++ b/src/Freizeichen.Domain/DialNumber.cs
@@ -1,4 +1,4 @@
-namespace Waehlhilfe.Domain;
+namespace Freizeichen.Domain;
/// The exact string sent after ATD: digits only.
public sealed record DialNumber
diff --git a/src/Waehlhilfe.Domain/DialSettings.cs b/src/Freizeichen.Domain/DialSettings.cs
similarity index 96%
rename from src/Waehlhilfe.Domain/DialSettings.cs
rename to src/Freizeichen.Domain/DialSettings.cs
index 35fc50d..e4b4119 100644
--- a/src/Waehlhilfe.Domain/DialSettings.cs
+++ b/src/Freizeichen.Domain/DialSettings.cs
@@ -1,6 +1,6 @@
using System.Diagnostics.CodeAnalysis;
-namespace Waehlhilfe.Domain;
+namespace Freizeichen.Domain;
/// How numbers are dialled and through which port.
/// Serial port of the phone's Bluetooth SPP service; empty until chosen.
diff --git a/src/Waehlhilfe.Domain/Waehlhilfe.Domain.csproj b/src/Freizeichen.Domain/Freizeichen.Domain.csproj
similarity index 55%
rename from src/Waehlhilfe.Domain/Waehlhilfe.Domain.csproj
rename to src/Freizeichen.Domain/Freizeichen.Domain.csproj
index 4c447ec..e47131c 100644
--- a/src/Waehlhilfe.Domain/Waehlhilfe.Domain.csproj
+++ b/src/Freizeichen.Domain/Freizeichen.Domain.csproj
@@ -1,7 +1,7 @@
-
+
diff --git a/src/Waehlhilfe.Domain/TelUri.cs b/src/Freizeichen.Domain/TelUri.cs
similarity index 99%
rename from src/Waehlhilfe.Domain/TelUri.cs
rename to src/Freizeichen.Domain/TelUri.cs
index 5b230b4..576df32 100644
--- a/src/Waehlhilfe.Domain/TelUri.cs
+++ b/src/Freizeichen.Domain/TelUri.cs
@@ -1,7 +1,7 @@
using System.Diagnostics.CodeAnalysis;
using System.Text;
-namespace Waehlhilfe.Domain;
+namespace Freizeichen.Domain;
///
/// A tel: link (RFC 3966) reduced to the number it names. holds only
diff --git a/src/Waehlhilfe.Domain/packages.lock.json b/src/Freizeichen.Domain/packages.lock.json
similarity index 100%
rename from src/Waehlhilfe.Domain/packages.lock.json
rename to src/Freizeichen.Domain/packages.lock.json
diff --git a/src/Waehlhilfe.Modem/AtDialer.cs b/src/Freizeichen.Modem/AtDialer.cs
similarity index 99%
rename from src/Waehlhilfe.Modem/AtDialer.cs
rename to src/Freizeichen.Modem/AtDialer.cs
index 6619d34..923e474 100644
--- a/src/Waehlhilfe.Modem/AtDialer.cs
+++ b/src/Freizeichen.Modem/AtDialer.cs
@@ -1,6 +1,6 @@
-using Waehlhilfe.Domain;
+using Freizeichen.Domain;
-namespace Waehlhilfe.Modem;
+namespace Freizeichen.Modem;
///
/// One dial is one connection: open the port, AT, ATD <number>, close. The
diff --git a/src/Waehlhilfe.Modem/DialResult.cs b/src/Freizeichen.Modem/DialResult.cs
similarity index 95%
rename from src/Waehlhilfe.Modem/DialResult.cs
rename to src/Freizeichen.Modem/DialResult.cs
index 0336498..d078785 100644
--- a/src/Waehlhilfe.Modem/DialResult.cs
+++ b/src/Freizeichen.Modem/DialResult.cs
@@ -1,4 +1,4 @@
-namespace Waehlhilfe.Modem;
+namespace Freizeichen.Modem;
public enum DialResult
{
diff --git a/src/Waehlhilfe.Modem/Waehlhilfe.Modem.csproj b/src/Freizeichen.Modem/Freizeichen.Modem.csproj
similarity index 56%
rename from src/Waehlhilfe.Modem/Waehlhilfe.Modem.csproj
rename to src/Freizeichen.Modem/Freizeichen.Modem.csproj
index 2f8ebe2..7af1813 100644
--- a/src/Waehlhilfe.Modem/Waehlhilfe.Modem.csproj
+++ b/src/Freizeichen.Modem/Freizeichen.Modem.csproj
@@ -5,11 +5,11 @@
-
+
-
+
diff --git a/src/Waehlhilfe.Modem/IAtChannel.cs b/src/Freizeichen.Modem/IAtChannel.cs
similarity index 95%
rename from src/Waehlhilfe.Modem/IAtChannel.cs
rename to src/Freizeichen.Modem/IAtChannel.cs
index 49caaed..13351ea 100644
--- a/src/Waehlhilfe.Modem/IAtChannel.cs
+++ b/src/Freizeichen.Modem/IAtChannel.cs
@@ -1,4 +1,4 @@
-namespace Waehlhilfe.Modem;
+namespace Freizeichen.Modem;
/// A line-oriented connection to the phone's AT command interpreter.
public interface IAtChannel : IAsyncDisposable
diff --git a/src/Waehlhilfe.Modem/IDialer.cs b/src/Freizeichen.Modem/IDialer.cs
similarity index 85%
rename from src/Waehlhilfe.Modem/IDialer.cs
rename to src/Freizeichen.Modem/IDialer.cs
index 6d8dcd2..316b604 100644
--- a/src/Waehlhilfe.Modem/IDialer.cs
+++ b/src/Freizeichen.Modem/IDialer.cs
@@ -1,6 +1,6 @@
-using Waehlhilfe.Domain;
+using Freizeichen.Domain;
-namespace Waehlhilfe.Modem;
+namespace Freizeichen.Modem;
public interface IDialer
{
diff --git a/src/Waehlhilfe.Modem/PortUnavailableException.cs b/src/Freizeichen.Modem/PortUnavailableException.cs
similarity index 97%
rename from src/Waehlhilfe.Modem/PortUnavailableException.cs
rename to src/Freizeichen.Modem/PortUnavailableException.cs
index 02fde82..25194cb 100644
--- a/src/Waehlhilfe.Modem/PortUnavailableException.cs
+++ b/src/Freizeichen.Modem/PortUnavailableException.cs
@@ -1,4 +1,4 @@
-namespace Waehlhilfe.Modem;
+namespace Freizeichen.Modem;
public enum PortFailure
{
diff --git a/src/Waehlhilfe.Modem/SerialPorts.cs b/src/Freizeichen.Modem/SerialPorts.cs
similarity index 99%
rename from src/Waehlhilfe.Modem/SerialPorts.cs
rename to src/Freizeichen.Modem/SerialPorts.cs
index 9423d31..9d4900b 100644
--- a/src/Waehlhilfe.Modem/SerialPorts.cs
+++ b/src/Freizeichen.Modem/SerialPorts.cs
@@ -2,7 +2,7 @@
using System.Globalization;
using System.IO.Ports;
-namespace Waehlhilfe.Modem;
+namespace Freizeichen.Modem;
///
/// The phone's Bluetooth SPP service as the OS exposes it: an outgoing COM port on Windows,
diff --git a/src/Waehlhilfe.Modem/StreamAtChannel.cs b/src/Freizeichen.Modem/StreamAtChannel.cs
similarity index 98%
rename from src/Waehlhilfe.Modem/StreamAtChannel.cs
rename to src/Freizeichen.Modem/StreamAtChannel.cs
index df860ce..c4afd4e 100644
--- a/src/Waehlhilfe.Modem/StreamAtChannel.cs
+++ b/src/Freizeichen.Modem/StreamAtChannel.cs
@@ -1,6 +1,6 @@
using System.Text;
-namespace Waehlhilfe.Modem;
+namespace Freizeichen.Modem;
/// AT lines over a byte stream: commands end in CR LF, answers end in CR, LF or both.
public sealed class StreamAtChannel : IAtChannel
diff --git a/src/Waehlhilfe.Modem/packages.lock.json b/src/Freizeichen.Modem/packages.lock.json
similarity index 99%
rename from src/Waehlhilfe.Modem/packages.lock.json
rename to src/Freizeichen.Modem/packages.lock.json
index bc338c9..bbc6ec5 100644
--- a/src/Waehlhilfe.Modem/packages.lock.json
+++ b/src/Freizeichen.Modem/packages.lock.json
@@ -128,7 +128,7 @@
"resolved": "1.2.0.556",
"contentHash": "zvn9Mqs/ox/83cpYPignI8hJEM2A93s2HkHs8HYMOAQW0PkampyoErAiIyKxgTLqbbad29HX/shv/6LGSjPJNQ=="
},
- "waehlhilfe.domain": {
+ "freizeichen.domain": {
"type": "Project"
}
}
diff --git a/src/Waehlhilfe.App/Platform/UnsupportedTelHandlerRegistration.cs b/src/Waehlhilfe.App/Platform/UnsupportedTelHandlerRegistration.cs
deleted file mode 100644
index 6e08ddd..0000000
--- a/src/Waehlhilfe.App/Platform/UnsupportedTelHandlerRegistration.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using Waehlhilfe.AppLogic;
-
-namespace Waehlhilfe.App.Platform;
-
-/// Linux: Wählhilfe dials there (it is where the DL500A is tested), but ships no handler registration.
-internal sealed class UnsupportedTelHandlerRegistration : ITelHandlerRegistration
-{
- public bool IsDefaultHandler() => false;
-
- public Task MakeDefaultAsync(CancellationToken cancellationToken = default) =>
- throw new PlatformNotSupportedException("Wählhilfe registers as the tel: handler on Windows and macOS only.");
-}
diff --git a/src/Waehlhilfe.AppLogic/Waehlhilfe.AppLogic.csproj b/src/Waehlhilfe.AppLogic/Waehlhilfe.AppLogic.csproj
deleted file mode 100644
index 7a65011..0000000
--- a/src/Waehlhilfe.AppLogic/Waehlhilfe.AppLogic.csproj
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/tests/Waehlhilfe.App.Tests/DialWindowTests.cs b/tests/Freizeichen.App.Tests/DialWindowTests.cs
similarity index 95%
rename from tests/Waehlhilfe.App.Tests/DialWindowTests.cs
rename to tests/Freizeichen.App.Tests/DialWindowTests.cs
index b7d1666..6a28444 100644
--- a/tests/Waehlhilfe.App.Tests/DialWindowTests.cs
+++ b/tests/Freizeichen.App.Tests/DialWindowTests.cs
@@ -4,13 +4,13 @@
using Avalonia.Input;
using Avalonia.LogicalTree;
using Avalonia.Threading;
+using Freizeichen.App.Views;
+using Freizeichen.AppLogic.Tests;
+using Freizeichen.AppLogic.ViewModels;
+using Freizeichen.Domain;
using Microsoft.Extensions.Time.Testing;
-using Waehlhilfe.App.Views;
-using Waehlhilfe.AppLogic.Tests;
-using Waehlhilfe.AppLogic.ViewModels;
-using Waehlhilfe.Domain;
-namespace Waehlhilfe.App.Tests;
+namespace Freizeichen.App.Tests;
public sealed class DialWindowTests
{
diff --git a/tests/Waehlhilfe.App.Tests/Waehlhilfe.App.Tests.csproj b/tests/Freizeichen.App.Tests/Freizeichen.App.Tests.csproj
similarity index 82%
rename from tests/Waehlhilfe.App.Tests/Waehlhilfe.App.Tests.csproj
rename to tests/Freizeichen.App.Tests/Freizeichen.App.Tests.csproj
index 35b36ed..ea68a3f 100644
--- a/tests/Waehlhilfe.App.Tests/Waehlhilfe.App.Tests.csproj
+++ b/tests/Freizeichen.App.Tests/Freizeichen.App.Tests.csproj
@@ -21,11 +21,11 @@
-
+
-
+
diff --git a/tests/Waehlhilfe.App.Tests/KeyboardInput.cs b/tests/Freizeichen.App.Tests/KeyboardInput.cs
similarity index 97%
rename from tests/Waehlhilfe.App.Tests/KeyboardInput.cs
rename to tests/Freizeichen.App.Tests/KeyboardInput.cs
index 2b00bdf..d895e7a 100644
--- a/tests/Waehlhilfe.App.Tests/KeyboardInput.cs
+++ b/tests/Freizeichen.App.Tests/KeyboardInput.cs
@@ -3,7 +3,7 @@
using Avalonia.Input;
using Avalonia.Threading;
-namespace Waehlhilfe.App.Tests;
+namespace Freizeichen.App.Tests;
internal static class KeyboardInput
{
diff --git a/tests/Waehlhilfe.App.Tests/LaunchArgumentsTests.cs b/tests/Freizeichen.App.Tests/LaunchArgumentsTests.cs
similarity index 95%
rename from tests/Waehlhilfe.App.Tests/LaunchArgumentsTests.cs
rename to tests/Freizeichen.App.Tests/LaunchArgumentsTests.cs
index d2c14c5..3d169e7 100644
--- a/tests/Waehlhilfe.App.Tests/LaunchArgumentsTests.cs
+++ b/tests/Freizeichen.App.Tests/LaunchArgumentsTests.cs
@@ -1,4 +1,4 @@
-namespace Waehlhilfe.App.Tests;
+namespace Freizeichen.App.Tests;
public sealed class LaunchArgumentsTests
{
diff --git a/tests/Waehlhilfe.App.Tests/SettingsWindowTests.cs b/tests/Freizeichen.App.Tests/SettingsWindowTests.cs
similarity index 90%
rename from tests/Waehlhilfe.App.Tests/SettingsWindowTests.cs
rename to tests/Freizeichen.App.Tests/SettingsWindowTests.cs
index 7624392..2e03cd6 100644
--- a/tests/Waehlhilfe.App.Tests/SettingsWindowTests.cs
+++ b/tests/Freizeichen.App.Tests/SettingsWindowTests.cs
@@ -3,12 +3,12 @@
using Avalonia.Headless.XUnit;
using Avalonia.LogicalTree;
using Avalonia.Threading;
-using Waehlhilfe.App.Views;
-using Waehlhilfe.AppLogic.Tests;
-using Waehlhilfe.AppLogic.ViewModels;
-using Waehlhilfe.Domain;
+using Freizeichen.App.Views;
+using Freizeichen.AppLogic.Tests;
+using Freizeichen.AppLogic.ViewModels;
+using Freizeichen.Domain;
-namespace Waehlhilfe.App.Tests;
+namespace Freizeichen.App.Tests;
public sealed class SettingsWindowTests
{
@@ -30,7 +30,7 @@ private SettingsWindow Open()
[AvaloniaFact]
public void Settings_window_is_titled_with_the_app_name()
{
- Assert.Equal("Wählhilfe", Open().Title);
+ Assert.Equal("Freizeichen", Open().Title);
}
[AvaloniaFact]
@@ -66,7 +66,7 @@ public void Save_stores_what_is_shown()
}
[AvaloniaFact]
- public void Says_whether_waehlhilfe_opens_tel_links()
+ public void Says_whether_freizeichen_opens_tel_links()
{
var window = Open();
Assert.True(window.FindControl("NotDefaultText")?.IsVisible);
diff --git a/tests/Waehlhilfe.App.Tests/TestAppBuilder.cs b/tests/Freizeichen.App.Tests/TestAppBuilder.cs
similarity index 73%
rename from tests/Waehlhilfe.App.Tests/TestAppBuilder.cs
rename to tests/Freizeichen.App.Tests/TestAppBuilder.cs
index 30b3b0e..9493f15 100644
--- a/tests/Waehlhilfe.App.Tests/TestAppBuilder.cs
+++ b/tests/Freizeichen.App.Tests/TestAppBuilder.cs
@@ -1,16 +1,16 @@
using Avalonia;
using Avalonia.Headless;
-[assembly: AvaloniaTestApplication(typeof(Waehlhilfe.App.Tests.TestAppBuilder))]
+[assembly: AvaloniaTestApplication(typeof(Freizeichen.App.Tests.TestAppBuilder))]
-namespace Waehlhilfe.App.Tests;
+namespace Freizeichen.App.Tests;
internal static class TestAppBuilder
{
// UseHeadlessDrawing = false keeps the real Skia text backend, and Inter is the font the app
// ships with, so PNG captures for pull requests look like the app.
public static AppBuilder BuildAvaloniaApp() =>
- AppBuilder.Configure()
+ AppBuilder.Configure()
.UseSkia()
.WithInterFont()
.UseHeadless(new AvaloniaHeadlessPlatformOptions { UseHeadlessDrawing = false });
diff --git a/tests/Waehlhilfe.App.Tests/packages.lock.json b/tests/Freizeichen.App.Tests/packages.lock.json
similarity index 98%
rename from tests/Waehlhilfe.App.Tests/packages.lock.json
rename to tests/Freizeichen.App.Tests/packages.lock.json
index 62eb3e6..2fd76e4 100644
--- a/tests/Waehlhilfe.App.Tests/packages.lock.json
+++ b/tests/Freizeichen.App.Tests/packages.lock.json
@@ -460,32 +460,32 @@
"xunit.v3.runner.common": "[3.2.2]"
}
},
- "Waehlhilfe": {
+ "Freizeichen": {
"type": "Project",
"dependencies": {
"Avalonia": "[12.1.4, )",
"Avalonia.Desktop": "[12.1.4, )",
"Avalonia.Fonts.Inter": "[12.1.4, )",
"Avalonia.Themes.Fluent": "[12.1.4, )",
- "Waehlhilfe.AppLogic": "[1.0.0, )"
+ "Freizeichen.AppLogic": "[1.0.0, )"
}
},
- "waehlhilfe.applogic": {
+ "freizeichen.applogic": {
"type": "Project",
"dependencies": {
"CommunityToolkit.Mvvm": "[8.4.2, )",
- "Waehlhilfe.Domain": "[1.0.0, )",
- "Waehlhilfe.Modem": "[1.0.0, )"
+ "Freizeichen.Domain": "[1.0.0, )",
+ "Freizeichen.Modem": "[1.0.0, )"
}
},
- "waehlhilfe.domain": {
+ "freizeichen.domain": {
"type": "Project"
},
- "waehlhilfe.modem": {
+ "freizeichen.modem": {
"type": "Project",
"dependencies": {
- "System.IO.Ports": "[10.0.14, )",
- "Waehlhilfe.Domain": "[1.0.0, )"
+ "Freizeichen.Domain": "[1.0.0, )",
+ "System.IO.Ports": "[10.0.14, )"
}
},
"Avalonia": {
diff --git a/tests/Waehlhilfe.AppLogic.Tests/DialMessagesTests.cs b/tests/Freizeichen.AppLogic.Tests/DialMessagesTests.cs
similarity index 94%
rename from tests/Waehlhilfe.AppLogic.Tests/DialMessagesTests.cs
rename to tests/Freizeichen.AppLogic.Tests/DialMessagesTests.cs
index a75483e..9d6c218 100644
--- a/tests/Waehlhilfe.AppLogic.Tests/DialMessagesTests.cs
+++ b/tests/Freizeichen.AppLogic.Tests/DialMessagesTests.cs
@@ -1,6 +1,6 @@
-using Waehlhilfe.Modem;
+using Freizeichen.Modem;
-namespace Waehlhilfe.AppLogic.Tests;
+namespace Freizeichen.AppLogic.Tests;
public sealed class DialMessagesTests
{
diff --git a/tests/Waehlhilfe.AppLogic.Tests/DialViewModelTests.cs b/tests/Freizeichen.AppLogic.Tests/DialViewModelTests.cs
similarity index 97%
rename from tests/Waehlhilfe.AppLogic.Tests/DialViewModelTests.cs
rename to tests/Freizeichen.AppLogic.Tests/DialViewModelTests.cs
index 2c0744e..7c2a75b 100644
--- a/tests/Waehlhilfe.AppLogic.Tests/DialViewModelTests.cs
+++ b/tests/Freizeichen.AppLogic.Tests/DialViewModelTests.cs
@@ -1,9 +1,9 @@
+using Freizeichen.AppLogic.ViewModels;
+using Freizeichen.Domain;
+using Freizeichen.Modem;
using Microsoft.Extensions.Time.Testing;
-using Waehlhilfe.AppLogic.ViewModels;
-using Waehlhilfe.Domain;
-using Waehlhilfe.Modem;
-namespace Waehlhilfe.AppLogic.Tests;
+namespace Freizeichen.AppLogic.Tests;
public sealed class DialViewModelTests
{
diff --git a/tests/Waehlhilfe.AppLogic.Tests/FakeDialer.cs b/tests/Freizeichen.AppLogic.Tests/FakeDialer.cs
similarity index 96%
rename from tests/Waehlhilfe.AppLogic.Tests/FakeDialer.cs
rename to tests/Freizeichen.AppLogic.Tests/FakeDialer.cs
index 8dbab53..3470cd8 100644
--- a/tests/Waehlhilfe.AppLogic.Tests/FakeDialer.cs
+++ b/tests/Freizeichen.AppLogic.Tests/FakeDialer.cs
@@ -1,7 +1,7 @@
-using Waehlhilfe.Domain;
-using Waehlhilfe.Modem;
+using Freizeichen.Domain;
+using Freizeichen.Modem;
-namespace Waehlhilfe.AppLogic.Tests;
+namespace Freizeichen.AppLogic.Tests;
internal sealed class FakeDialer : IDialer
{
diff --git a/tests/Waehlhilfe.AppLogic.Tests/Waehlhilfe.AppLogic.Tests.csproj b/tests/Freizeichen.AppLogic.Tests/Freizeichen.AppLogic.Tests.csproj
similarity index 85%
rename from tests/Waehlhilfe.AppLogic.Tests/Waehlhilfe.AppLogic.Tests.csproj
rename to tests/Freizeichen.AppLogic.Tests/Freizeichen.AppLogic.Tests.csproj
index c7a5f14..6c2d7af 100644
--- a/tests/Waehlhilfe.AppLogic.Tests/Waehlhilfe.AppLogic.Tests.csproj
+++ b/tests/Freizeichen.AppLogic.Tests/Freizeichen.AppLogic.Tests.csproj
@@ -18,7 +18,7 @@
-
+
diff --git a/tests/Waehlhilfe.AppLogic.Tests/JsonSettingsStoreTests.cs b/tests/Freizeichen.AppLogic.Tests/JsonSettingsStoreTests.cs
similarity index 93%
rename from tests/Waehlhilfe.AppLogic.Tests/JsonSettingsStoreTests.cs
rename to tests/Freizeichen.AppLogic.Tests/JsonSettingsStoreTests.cs
index 9c4b38e..c3e75c1 100644
--- a/tests/Waehlhilfe.AppLogic.Tests/JsonSettingsStoreTests.cs
+++ b/tests/Freizeichen.AppLogic.Tests/JsonSettingsStoreTests.cs
@@ -1,10 +1,10 @@
-using Waehlhilfe.Domain;
+using Freizeichen.Domain;
-namespace Waehlhilfe.AppLogic.Tests;
+namespace Freizeichen.AppLogic.Tests;
public sealed class JsonSettingsStoreTests : IDisposable
{
- private readonly string _directory = Path.Join(Path.GetTempPath(), "waehlhilfe-tests-" + Guid.NewGuid().ToString("N"));
+ private readonly string _directory = Path.Join(Path.GetTempPath(), "freizeichen-tests-" + Guid.NewGuid().ToString("N"));
private string File => Path.Join(_directory, "settings.json");
diff --git a/tests/Waehlhilfe.AppLogic.Tests/SettingsViewModelTests.cs b/tests/Freizeichen.AppLogic.Tests/SettingsViewModelTests.cs
similarity index 93%
rename from tests/Waehlhilfe.AppLogic.Tests/SettingsViewModelTests.cs
rename to tests/Freizeichen.AppLogic.Tests/SettingsViewModelTests.cs
index d207141..a04efa6 100644
--- a/tests/Waehlhilfe.AppLogic.Tests/SettingsViewModelTests.cs
+++ b/tests/Freizeichen.AppLogic.Tests/SettingsViewModelTests.cs
@@ -1,8 +1,8 @@
-using Waehlhilfe.AppLogic.ViewModels;
-using Waehlhilfe.Domain;
-using Waehlhilfe.Modem;
+using Freizeichen.AppLogic.ViewModels;
+using Freizeichen.Domain;
+using Freizeichen.Modem;
-namespace Waehlhilfe.AppLogic.Tests;
+namespace Freizeichen.AppLogic.Tests;
public sealed class SettingsViewModelTests
{
@@ -133,7 +133,7 @@ public async Task Test_call_refuses_what_is_not_a_number(string number)
}
[Fact]
- public async Task Makes_waehlhilfe_the_tel_handler()
+ public async Task Makes_freizeichen_the_tel_handler()
{
var vm = ViewModel();
Assert.False(vm.IsDefaultHandler);
@@ -154,7 +154,7 @@ public async Task Reports_when_the_os_did_not_make_it_the_handler()
Assert.True(vm.IsError);
Assert.False(vm.IsDefaultHandler);
- Assert.Equal("Wählhilfe konnte nicht als Standard für tel:-Links eingetragen werden.", vm.Status);
+ Assert.Equal("Freizeichen konnte nicht als Standard für tel:-Links eingetragen werden.", vm.Status);
}
[Fact]
diff --git a/tests/Waehlhilfe.AppLogic.Tests/packages.lock.json b/tests/Freizeichen.AppLogic.Tests/packages.lock.json
similarity index 98%
rename from tests/Waehlhilfe.AppLogic.Tests/packages.lock.json
rename to tests/Freizeichen.AppLogic.Tests/packages.lock.json
index b421a28..0d2ad3b 100644
--- a/tests/Waehlhilfe.AppLogic.Tests/packages.lock.json
+++ b/tests/Freizeichen.AppLogic.Tests/packages.lock.json
@@ -286,22 +286,22 @@
"xunit.v3.runner.common": "[3.2.2]"
}
},
- "waehlhilfe.applogic": {
+ "freizeichen.applogic": {
"type": "Project",
"dependencies": {
"CommunityToolkit.Mvvm": "[8.4.2, )",
- "Waehlhilfe.Domain": "[1.0.0, )",
- "Waehlhilfe.Modem": "[1.0.0, )"
+ "Freizeichen.Domain": "[1.0.0, )",
+ "Freizeichen.Modem": "[1.0.0, )"
}
},
- "waehlhilfe.domain": {
+ "freizeichen.domain": {
"type": "Project"
},
- "waehlhilfe.modem": {
+ "freizeichen.modem": {
"type": "Project",
"dependencies": {
- "System.IO.Ports": "[10.0.14, )",
- "Waehlhilfe.Domain": "[1.0.0, )"
+ "Freizeichen.Domain": "[1.0.0, )",
+ "System.IO.Ports": "[10.0.14, )"
}
},
"CommunityToolkit.Mvvm": {
diff --git a/tests/Waehlhilfe.Domain.Tests/DialNumberTests.cs b/tests/Freizeichen.Domain.Tests/DialNumberTests.cs
similarity index 98%
rename from tests/Waehlhilfe.Domain.Tests/DialNumberTests.cs
rename to tests/Freizeichen.Domain.Tests/DialNumberTests.cs
index 81bc38d..3289eb4 100644
--- a/tests/Waehlhilfe.Domain.Tests/DialNumberTests.cs
+++ b/tests/Freizeichen.Domain.Tests/DialNumberTests.cs
@@ -1,4 +1,4 @@
-namespace Waehlhilfe.Domain.Tests;
+namespace Freizeichen.Domain.Tests;
public sealed class DialNumberTests
{
diff --git a/tests/Waehlhilfe.Domain.Tests/Waehlhilfe.Domain.Tests.csproj b/tests/Freizeichen.Domain.Tests/Freizeichen.Domain.Tests.csproj
similarity index 84%
rename from tests/Waehlhilfe.Domain.Tests/Waehlhilfe.Domain.Tests.csproj
rename to tests/Freizeichen.Domain.Tests/Freizeichen.Domain.Tests.csproj
index 514baaf..5f74773 100644
--- a/tests/Waehlhilfe.Domain.Tests/Waehlhilfe.Domain.Tests.csproj
+++ b/tests/Freizeichen.Domain.Tests/Freizeichen.Domain.Tests.csproj
@@ -17,7 +17,7 @@
-
+
diff --git a/tests/Waehlhilfe.Domain.Tests/TelUriTests.cs b/tests/Freizeichen.Domain.Tests/TelUriTests.cs
similarity index 99%
rename from tests/Waehlhilfe.Domain.Tests/TelUriTests.cs
rename to tests/Freizeichen.Domain.Tests/TelUriTests.cs
index c6d4555..14905f9 100644
--- a/tests/Waehlhilfe.Domain.Tests/TelUriTests.cs
+++ b/tests/Freizeichen.Domain.Tests/TelUriTests.cs
@@ -1,4 +1,4 @@
-namespace Waehlhilfe.Domain.Tests;
+namespace Freizeichen.Domain.Tests;
public sealed class TelUriTests
{
diff --git a/tests/Waehlhilfe.Domain.Tests/packages.lock.json b/tests/Freizeichen.Domain.Tests/packages.lock.json
similarity index 99%
rename from tests/Waehlhilfe.Domain.Tests/packages.lock.json
rename to tests/Freizeichen.Domain.Tests/packages.lock.json
index 2fd615b..1bba8b1 100644
--- a/tests/Waehlhilfe.Domain.Tests/packages.lock.json
+++ b/tests/Freizeichen.Domain.Tests/packages.lock.json
@@ -177,7 +177,7 @@
"xunit.v3.runner.common": "[3.2.2]"
}
},
- "waehlhilfe.domain": {
+ "freizeichen.domain": {
"type": "Project"
}
}
diff --git a/tests/Waehlhilfe.Modem.Tests/AtDialerTests.cs b/tests/Freizeichen.Modem.Tests/AtDialerTests.cs
similarity index 99%
rename from tests/Waehlhilfe.Modem.Tests/AtDialerTests.cs
rename to tests/Freizeichen.Modem.Tests/AtDialerTests.cs
index 19c30cb..626a981 100644
--- a/tests/Waehlhilfe.Modem.Tests/AtDialerTests.cs
+++ b/tests/Freizeichen.Modem.Tests/AtDialerTests.cs
@@ -1,7 +1,7 @@
+using Freizeichen.Domain;
using Microsoft.Extensions.Time.Testing;
-using Waehlhilfe.Domain;
-namespace Waehlhilfe.Modem.Tests;
+namespace Freizeichen.Modem.Tests;
public sealed class AtDialerTests
{
diff --git a/tests/Waehlhilfe.Modem.Tests/Waehlhilfe.Modem.Tests.csproj b/tests/Freizeichen.Modem.Tests/Freizeichen.Modem.Tests.csproj
similarity index 86%
rename from tests/Waehlhilfe.Modem.Tests/Waehlhilfe.Modem.Tests.csproj
rename to tests/Freizeichen.Modem.Tests/Freizeichen.Modem.Tests.csproj
index 499077e..6afe610 100644
--- a/tests/Waehlhilfe.Modem.Tests/Waehlhilfe.Modem.Tests.csproj
+++ b/tests/Freizeichen.Modem.Tests/Freizeichen.Modem.Tests.csproj
@@ -18,7 +18,7 @@
-
+
diff --git a/tests/Waehlhilfe.Modem.Tests/ScriptedAtChannel.cs b/tests/Freizeichen.Modem.Tests/ScriptedAtChannel.cs
similarity index 98%
rename from tests/Waehlhilfe.Modem.Tests/ScriptedAtChannel.cs
rename to tests/Freizeichen.Modem.Tests/ScriptedAtChannel.cs
index 5f37bdd..b98419e 100644
--- a/tests/Waehlhilfe.Modem.Tests/ScriptedAtChannel.cs
+++ b/tests/Freizeichen.Modem.Tests/ScriptedAtChannel.cs
@@ -1,6 +1,6 @@
using System.Threading.Channels;
-namespace Waehlhilfe.Modem.Tests;
+namespace Freizeichen.Modem.Tests;
///
/// A phone that answers each command with scripted lines. A command without a script stays
diff --git a/tests/Waehlhilfe.Modem.Tests/SerialPortsTests.cs b/tests/Freizeichen.Modem.Tests/SerialPortsTests.cs
similarity index 97%
rename from tests/Waehlhilfe.Modem.Tests/SerialPortsTests.cs
rename to tests/Freizeichen.Modem.Tests/SerialPortsTests.cs
index 9e912ce..b48ddcc 100644
--- a/tests/Waehlhilfe.Modem.Tests/SerialPortsTests.cs
+++ b/tests/Freizeichen.Modem.Tests/SerialPortsTests.cs
@@ -1,4 +1,4 @@
-namespace Waehlhilfe.Modem.Tests;
+namespace Freizeichen.Modem.Tests;
public sealed class SerialPortsTests
{
diff --git a/tests/Waehlhilfe.Modem.Tests/StreamAtChannelTests.cs b/tests/Freizeichen.Modem.Tests/StreamAtChannelTests.cs
similarity index 99%
rename from tests/Waehlhilfe.Modem.Tests/StreamAtChannelTests.cs
rename to tests/Freizeichen.Modem.Tests/StreamAtChannelTests.cs
index d719d3f..7fd295d 100644
--- a/tests/Waehlhilfe.Modem.Tests/StreamAtChannelTests.cs
+++ b/tests/Freizeichen.Modem.Tests/StreamAtChannelTests.cs
@@ -1,6 +1,6 @@
using System.Text;
-namespace Waehlhilfe.Modem.Tests;
+namespace Freizeichen.Modem.Tests;
public sealed class StreamAtChannelTests
{
diff --git a/tests/Waehlhilfe.Modem.Tests/packages.lock.json b/tests/Freizeichen.Modem.Tests/packages.lock.json
similarity index 98%
rename from tests/Waehlhilfe.Modem.Tests/packages.lock.json
rename to tests/Freizeichen.Modem.Tests/packages.lock.json
index cd91811..e7e82fa 100644
--- a/tests/Waehlhilfe.Modem.Tests/packages.lock.json
+++ b/tests/Freizeichen.Modem.Tests/packages.lock.json
@@ -286,14 +286,14 @@
"xunit.v3.runner.common": "[3.2.2]"
}
},
- "waehlhilfe.domain": {
+ "freizeichen.domain": {
"type": "Project"
},
- "waehlhilfe.modem": {
+ "freizeichen.modem": {
"type": "Project",
"dependencies": {
- "System.IO.Ports": "[10.0.14, )",
- "Waehlhilfe.Domain": "[1.0.0, )"
+ "Freizeichen.Domain": "[1.0.0, )",
+ "System.IO.Ports": "[10.0.14, )"
}
},
"System.IO.Ports": {