From 900e8b6bf866f77cad8806d3df5260b3b6c15d4c Mon Sep 17 00:00:00 2001 From: MaddoScientisto Date: Sat, 21 Feb 2026 19:03:02 +0100 Subject: [PATCH 01/52] Update CI configuration and assembly information; remove log file and add logo image --- .gitlab-ci.yml | 12 ++- MaddoLibrary | 1 - MaddoShared/Properties/AssemblyInfo.cs | 6 +- imagecatalog/AssemblyInfo.cs | 4 +- imagecatalog/Logo.png | Bin 0 -> 317 bytes log.txt | 135 ------------------------- 6 files changed, 12 insertions(+), 146 deletions(-) delete mode 160000 MaddoLibrary create mode 100644 imagecatalog/Logo.png delete mode 100644 log.txt diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a7ae755..fee2f0b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -88,7 +88,7 @@ build_windows: } artifacts: paths: - - "**/bin/$BUILD_CONFIG/net10.0-windows/**" + - "imagecatalog/bin/$BUILD_CONFIG/net10.0-windows/**" expire_in: 1 hour # Publish and create GitLab Release when building a tag. This job expects a Windows runner with PowerShell and curl available. @@ -112,7 +112,7 @@ publish_release: $dotnetExe = 'dotnet' } - & $dotnetExe publish "imagecatalog\ImageCatalog 2.csproj" -c $env:BUILD_CONFIG -r win-x64 --self-contained false -o publish + & $dotnetExe publish "imagecatalog\ImageCatalog 2.csproj" -c $env:BUILD_CONFIG -f net10.0-windows -r win-x64 --self-contained false /p:PublishSingleFile=true /p:PublishReadyToRun=true -o publish Write-Host "Published to $(pwd)\\publish" # Configure private NuGet source from GitLab Packages using CI_JOB_TOKEN @@ -130,8 +130,10 @@ publish_release: Write-Host 'No credentials available; skipping private NuGet source configuration.' } - # Find first file in publish folder - $file = Get-ChildItem -Path publish -File | Select-Object -First 1; Write-Host "Uploading $($file.FullName)" + # Find the produced EXE in publish folder (fallback to first file if no exe found) + $file = Get-ChildItem -Path publish -Filter *.exe -File | Select-Object -First 1 + if (-not $file) { $file = Get-ChildItem -Path publish -File | Select-Object -First 1 } + Write-Host "Uploading $($file.FullName)" # Upload to GitLab project uploads API to get a public URL for the artifact $uploadUrl = "$env:CI_API_V4_URL/projects/$env:CI_PROJECT_ID/uploads" $formData = "file=@$($file.FullName)" @@ -145,7 +147,7 @@ publish_release: } artifacts: paths: - - publish/* + - publish/*.exe expire_in: 1 day only: - tags diff --git a/MaddoLibrary b/MaddoLibrary deleted file mode 160000 index 5987cc2..0000000 --- a/MaddoLibrary +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 5987cc26521d839bf81bdaab19d101488294da19 diff --git a/MaddoShared/Properties/AssemblyInfo.cs b/MaddoShared/Properties/AssemblyInfo.cs index 52a601e..6af8d79 100644 --- a/MaddoShared/Properties/AssemblyInfo.cs +++ b/MaddoShared/Properties/AssemblyInfo.cs @@ -8,10 +8,10 @@ using System.Runtime.InteropServices; [assembly: AssemblyTitle("MaddoShared")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] +[assembly: AssemblyCompany("Maddo")] [assembly: AssemblyProduct("MaddoShared")] -[assembly: AssemblyCopyright("Copyright © 2021")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyCopyright("Copyright © 2021-2026")] +[assembly: AssemblyTrademark("Maddo")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible diff --git a/imagecatalog/AssemblyInfo.cs b/imagecatalog/AssemblyInfo.cs index 4767298..e5b467a 100644 --- a/imagecatalog/AssemblyInfo.cs +++ b/imagecatalog/AssemblyInfo.cs @@ -11,8 +11,8 @@ using System.Runtime.InteropServices; [assembly: AssemblyDescription("")] -[assembly: AssemblyCopyright("(C) 2002-08")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyCopyright("(C) 2012-2026")] +[assembly: AssemblyTrademark("Maddo")] [assembly: CLSCompliant(true)] // The following GUID is for the ID of the typelib if this project is exposed to COM diff --git a/imagecatalog/Logo.png b/imagecatalog/Logo.png new file mode 100644 index 0000000000000000000000000000000000000000..849b093e8a89ad92d3546ec2edc2dbc6299bbd0b GIT binary patch literal 317 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`jKx9jP7LeL$-D$|zI(bjhFJ6_ zryO9qal_(YvT%E2{Qf$FLpOAGh@3pTr!DkP;4ZPe$v1&=j}L2oe*f3KT(*t-!_7Z$ z%b40MxX+~3_#H{r=;H3!IP>+fc%DkNIc~|uIj1ApfS~Pvxa>o{Ht7$Ih7Av67YiR| zKgPf|ZSQ%Bd!|;2H~v(vGdO(y^Ryqa2go+uS}R)TGVSKi!Pg#doDB>D22WQ% Jmvv4FO#tBnf_ne} literal 0 HcmV?d00001 diff --git a/log.txt b/log.txt deleted file mode 100644 index aa7e6df..0000000 --- a/log.txt +++ /dev/null @@ -1,135 +0,0 @@ -2021-03-06 10:04:44.068 +01:00 [INF] MSBuild registered from C:\Program Files\dotnet\sdk\5.0.200\ -2021-03-06 10:04:44.120 +01:00 [INF] Registered 1 extensions: - Default extension -2021-03-06 10:04:50.740 +01:00 [INF] Initializing upgrade step Select an entrypoint -2021-03-06 10:05:37.931 +01:00 [INF] Applying upgrade step Select an entrypoint -2021-03-06 10:05:56.095 +01:00 [INF] Upgrade step Select an entrypoint applied successfully -2021-03-06 10:05:59.578 +01:00 [INF] Initializing upgrade step Select project to upgrade -2021-03-06 10:06:53.914 +01:00 [INF] Applying upgrade step Select project to upgrade -2021-03-06 10:07:00.961 +01:00 [INF] Upgrade step Select project to upgrade applied successfully -2021-03-06 10:07:03.582 +01:00 [INF] Initializing upgrade step Back up project -2021-03-06 10:07:22.200 +01:00 [INF] Applying upgrade step Back up project -2021-03-06 10:07:26.114 +01:00 [INF] Backing up H:\dev\vs\Catalog\MaddoShared to H:\dev\vs\Catalog\MaddoShared.backup -2021-03-06 10:07:31.549 +01:00 [INF] Project backed up to H:\dev\vs\Catalog\MaddoShared.backup -2021-03-06 10:07:31.550 +01:00 [INF] Upgrade step Back up project applied successfully -2021-03-06 10:07:40.695 +01:00 [INF] Initializing upgrade step Convert project file to SDK style -2021-03-06 10:07:40.696 +01:00 [FTL] Try-Convert not found. This tool depends on the Try-Convert CLI tool. Please ensure that Try-Convert is installed and that the correct location for the tool is specified (in configuration, for example). https://github.com/dotnet/try-convert -2021-03-06 10:09:23.887 +01:00 [INF] Applying upgrade step Convert project file to SDK style -2021-03-06 10:09:23.889 +01:00 [INF] Converting project file format with try-convert -2021-03-06 10:09:27.336 +01:00 [INF] [try-convert] Conversion complete! -2021-03-06 10:09:27.915 +01:00 [INF] Project file converted successfully! The project may require additional changes to build successfully against the new .NET target. -2021-03-06 10:09:30.087 +01:00 [INF] Upgrade step Convert project file to SDK style applied successfully -2021-03-06 10:09:36.050 +01:00 [INF] Initializing upgrade step Update TFM -2021-03-06 10:09:48.944 +01:00 [INF] Applying upgrade step Update TFM -2021-03-06 10:09:54.879 +01:00 [INF] Upgrade step Update TFM applied successfully -2021-03-06 10:10:10.865 +01:00 [INF] Initializing upgrade step Update NuGet packages -2021-03-06 10:10:12.295 +01:00 [INF] Marking package System.Reflection.Metadata for removal because it appears to be a transitive dependency -2021-03-06 10:10:13.789 +01:00 [INF] Reference to .NET Upgrade Assistant analyzer package (Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers, version 0.2.212405) needs added -2021-03-06 10:10:15.101 +01:00 [INF] Adding Microsoft.Windows.Compatibility 5.0.2 -2021-03-06 10:10:15.104 +01:00 [INF] Packages to be removed: -System.Reflection.Metadata, Version=5.0.0 -2021-03-06 10:10:15.105 +01:00 [INF] Packages to be addded: -Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers, Version=0.2.212405 -Microsoft.Windows.Compatibility, Version=5.0.2 -2021-03-06 10:10:18.926 +01:00 [INF] Applying upgrade step Update NuGet packages -2021-03-06 10:10:18.932 +01:00 [INF] Removing outdated package reference: System.Reflection.Metadata, Version=5.0.0 -2021-03-06 10:10:18.935 +01:00 [INF] Adding package reference: Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers, Version=0.2.212405 -2021-03-06 10:10:18.937 +01:00 [INF] Adding package reference: Microsoft.Windows.Compatibility, Version=5.0.2 -2021-03-06 10:10:24.287 +01:00 [INF] Marking package System.Data.DataSetExtensions for removal because it appears to be a transitive dependency -2021-03-06 10:10:24.292 +01:00 [INF] Marking package System.Numerics.Vectors for removal because it appears to be a transitive dependency -2021-03-06 10:10:24.706 +01:00 [INF] Removing outdated package reference: System.Data.DataSetExtensions, Version=4.5.0 -2021-03-06 10:10:24.707 +01:00 [INF] Removing outdated package reference: System.Numerics.Vectors, Version=4.5.0 -2021-03-06 10:10:27.413 +01:00 [INF] Upgrade step Update NuGet packages applied successfully -2021-03-06 10:10:36.907 +01:00 [INF] Initializing upgrade step Add template files -2021-03-06 10:10:36.924 +01:00 [INF] 0 expected template items needed -2021-03-06 10:10:36.926 +01:00 [INF] Initializing upgrade step Upgrade app config files -2021-03-06 10:10:36.944 +01:00 [INF] Found 0 app settings for upgrade: -2021-03-06 10:10:36.950 +01:00 [INF] 0 web page namespace imports need upgraded: -2021-03-06 10:10:36.951 +01:00 [INF] Initializing upgrade step Update C# source -2021-03-06 10:10:38.659 +01:00 [INF] Initializing upgrade step Move to next project -2021-03-06 10:10:43.824 +01:00 [INF] Applying upgrade step Move to next project -2021-03-06 10:10:43.825 +01:00 [INF] Upgrade step Move to next project applied successfully -2021-03-06 10:11:07.545 +01:00 [INF] Initializing upgrade step Select project to upgrade -2021-03-06 10:11:10.510 +01:00 [INF] Applying upgrade step Select project to upgrade -2021-03-06 10:11:14.382 +01:00 [INF] Upgrade step Select project to upgrade applied successfully -2021-03-06 10:11:17.877 +01:00 [INF] Initializing upgrade step Back up project -2021-03-06 10:11:21.030 +01:00 [INF] Applying upgrade step Back up project -2021-03-06 10:11:22.810 +01:00 [INF] Backing up H:\dev\vs\Catalog\imagecatalog to H:\dev\vs\Catalog\imagecatalog.backup -2021-03-06 10:11:37.349 +01:00 [INF] Project backed up to H:\dev\vs\Catalog\imagecatalog.backup -2021-03-06 10:11:37.350 +01:00 [INF] Upgrade step Back up project applied successfully -2021-03-06 10:11:47.584 +01:00 [INF] Initializing upgrade step Convert project file to SDK style -2021-03-06 10:11:49.609 +01:00 [INF] Applying upgrade step Convert project file to SDK style -2021-03-06 10:11:49.610 +01:00 [INF] Converting project file format with try-convert -2021-03-06 10:11:52.238 +01:00 [INF] [try-convert] Conversion complete! -2021-03-06 10:11:52.666 +01:00 [INF] Project file converted successfully! The project may require additional changes to build successfully against the new .NET target. -2021-03-06 10:11:55.581 +01:00 [INF] Upgrade step Convert project file to SDK style applied successfully -2021-03-06 10:12:00.489 +01:00 [INF] Initializing upgrade step Update TFM -2021-03-06 10:12:03.093 +01:00 [INF] Applying upgrade step Update TFM -2021-03-06 10:12:06.038 +01:00 [INF] Upgrade step Update TFM applied successfully -2021-03-06 10:12:10.906 +01:00 [INF] Initializing upgrade step Update NuGet packages -2021-03-06 10:12:12.592 +01:00 [INF] Marking package Ben.Demystifier for removal because it appears to be a transitive dependency -2021-03-06 10:12:12.607 +01:00 [INF] Marking package System.Buffers for removal because it appears to be a transitive dependency -2021-03-06 10:12:12.624 +01:00 [INF] Marking package System.Collections.Immutable for removal because it appears to be a transitive dependency -2021-03-06 10:12:12.628 +01:00 [INF] Marking package System.Memory for removal because it appears to be a transitive dependency -2021-03-06 10:12:12.630 +01:00 [INF] Marking package System.Numerics.Vectors for removal because it appears to be a transitive dependency -2021-03-06 10:12:12.633 +01:00 [INF] Marking package System.Reflection.Metadata for removal because it appears to be a transitive dependency -2021-03-06 10:12:12.637 +01:00 [INF] Marking package System.Runtime.CompilerServices.Unsafe for removal because it appears to be a transitive dependency -2021-03-06 10:12:12.640 +01:00 [INF] Marking package System.Threading.Tasks.Extensions for removal because it appears to be a transitive dependency -2021-03-06 10:12:14.097 +01:00 [INF] Reference to .NET Upgrade Assistant analyzer package (Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers, version 0.2.212405) needs added -2021-03-06 10:12:14.104 +01:00 [INF] Packages to be removed: -Ben.Demystifier, Version=0.3.0 -System.Buffers, Version=4.5.1 -System.Collections.Immutable, Version=5.0.0 -System.Memory, Version=4.5.4 -System.Numerics.Vectors, Version=4.5.0 -System.Reflection.Metadata, Version=5.0.0 -System.Runtime.CompilerServices.Unsafe, Version=5.0.0 -System.Threading.Tasks.Extensions, Version=4.5.4 -2021-03-06 10:12:14.104 +01:00 [INF] Packages to be addded: -Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers, Version=0.2.212405 -2021-03-06 10:12:16.572 +01:00 [INF] Applying upgrade step Update NuGet packages -2021-03-06 10:12:16.573 +01:00 [INF] Removing outdated package reference: Ben.Demystifier, Version=0.3.0 -2021-03-06 10:12:16.573 +01:00 [INF] Removing outdated package reference: System.Buffers, Version=4.5.1 -2021-03-06 10:12:16.574 +01:00 [INF] Removing outdated package reference: System.Collections.Immutable, Version=5.0.0 -2021-03-06 10:12:16.575 +01:00 [INF] Removing outdated package reference: System.Memory, Version=4.5.4 -2021-03-06 10:12:16.576 +01:00 [INF] Removing outdated package reference: System.Numerics.Vectors, Version=4.5.0 -2021-03-06 10:12:16.578 +01:00 [INF] Removing outdated package reference: System.Reflection.Metadata, Version=5.0.0 -2021-03-06 10:12:16.578 +01:00 [INF] Removing outdated package reference: System.Runtime.CompilerServices.Unsafe, Version=5.0.0 -2021-03-06 10:12:16.580 +01:00 [INF] Removing outdated package reference: System.Threading.Tasks.Extensions, Version=4.5.4 -2021-03-06 10:12:16.581 +01:00 [INF] Adding package reference: Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers, Version=0.2.212405 -2021-03-06 10:12:19.366 +01:00 [INF] Upgrade step Update NuGet packages applied successfully -2021-03-06 10:12:35.849 +01:00 [INF] Initializing upgrade step Add template files -2021-03-06 10:12:35.850 +01:00 [INF] 0 expected template items needed -2021-03-06 10:12:35.851 +01:00 [INF] Initializing upgrade step Upgrade app config files -2021-03-06 10:12:35.852 +01:00 [INF] Found 0 app settings for upgrade: -2021-03-06 10:12:35.853 +01:00 [INF] system.diagnostics is not supported in .NET 5. See https://github.com/dotnet/runtime/issues/23937 for details. For now, it will be disabled. -2021-03-06 10:12:35.854 +01:00 [INF] 0 web page namespace imports need upgraded: -2021-03-06 10:12:40.725 +01:00 [INF] Applying upgrade step Disable unsupported configuration sections -2021-03-06 10:12:40.727 +01:00 [INF] system.diagnostics is not supported in .NET 5. See https://github.com/dotnet/runtime/issues/23937 for details. For now, it will be disabled. -2021-03-06 10:12:40.730 +01:00 [INF] Configuration file H:\dev\vs\Catalog\imagecatalog\app.config has been updated -2021-03-06 10:12:40.737 +01:00 [INF] Upgrade step Disable unsupported configuration sections applied successfully -2021-03-06 10:12:40.739 +01:00 [INF] Applying upgrade step Upgrade app config files -2021-03-06 10:12:40.740 +01:00 [INF] Upgrade step Upgrade app config files applied successfully -2021-03-06 10:12:43.598 +01:00 [INF] Initializing upgrade step Update C# source -2021-03-06 10:12:44.173 +01:00 [INF] Initializing upgrade step Move to next project -2021-03-06 10:12:47.488 +01:00 [INF] Applying upgrade step Move to next project -2021-03-06 10:12:47.489 +01:00 [INF] Upgrade step Move to next project applied successfully -2021-03-06 10:12:48.833 +01:00 [INF] Initializing upgrade step Select project to upgrade -2021-03-06 10:12:50.361 +01:00 [INF] Applying upgrade step Select project to upgrade -2021-03-06 10:12:54.374 +01:00 [ERR] Unknown selection: '' -2021-03-06 10:13:02.205 +01:00 [ERR] Unknown selection: '' -2021-03-06 10:13:04.059 +01:00 [ERR] Unknown selection: 'exit' -2021-03-06 10:13:06.542 +01:00 [ERR] Unknown selection: '0' -2021-03-06 10:13:08.242 +01:00 [INF] Saving upgrade progress file at H:\dev\vs\Catalog\.upgrade-assistant -2021-03-06 10:13:13.625 +01:00 [INF] MSBuild registered from C:\Program Files\dotnet\sdk\5.0.200\ -2021-03-06 10:13:13.651 +01:00 [INF] Registered 1 extensions: - Default extension -2021-03-06 10:13:15.795 +01:00 [INF] Loading upgrade progress file at H:\dev\vs\Catalog\.upgrade-assistant -2021-03-06 10:13:17.819 +01:00 [INF] Initializing upgrade step Select project to upgrade -2021-03-06 10:13:29.438 +01:00 [INF] Skipping upgrade step Select project to upgrade -2021-03-06 10:13:29.440 +01:00 [INF] Upgrade step Select project to upgrade skipped -2021-03-06 10:13:31.325 +01:00 [INF] Initializing upgrade step Finalize Solution -2021-03-06 10:13:34.820 +01:00 [INF] Applying upgrade step Finalize Solution -2021-03-06 10:13:34.821 +01:00 [INF] Upgrade step Finalize Solution applied successfully -2021-03-06 10:13:36.563 +01:00 [INF] Upgrade has completed. Please review any changes. -2021-03-06 10:13:36.565 +01:00 [INF] Saving upgrade progress file at H:\dev\vs\Catalog\.upgrade-assistant From f8d4687a9741db7a0c62b8500a50d3d5abc7d7af Mon Sep 17 00:00:00 2001 From: MaddoScientisto Date: Sat, 21 Feb 2026 20:01:31 +0100 Subject: [PATCH 02/52] Refactor CI pipeline for GitLab: streamline publish_release job and improve artifact handling --- .gitlab-ci.yml | 91 ++++++++++++++++++++------------------------------ 1 file changed, 36 insertions(+), 55 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fee2f0b..452d9da 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -91,66 +91,47 @@ build_windows: - "imagecatalog/bin/$BUILD_CONFIG/net10.0-windows/**" expire_in: 1 hour -# Publish and create GitLab Release when building a tag. This job expects a Windows runner with PowerShell and curl available. +# Publish and create GitLab Release when building a tag. publish_release: stage: publish - tags: - - saas-windows-medium-amd64 + image: mcr.microsoft.com/dotnet/sdk:10.0 needs: - - build_windows - script: - - | - powershell -NoProfile -Command { - # Ensure .NET 10 SDK is available (install to user folder if missing) and use that dotnet for publish - $needsInstall = -not (dotnet --list-sdks 2>$null | Select-String '^10\.') - if ($needsInstall) { - Write-Host 'Installing .NET 10 SDK using dotnet-install.ps1' - Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile dotnet-install.ps1 -UseBasicParsing - .\dotnet-install.ps1 -Channel 10.0 -InstallDir $env:USERPROFILE\.dotnet - $dotnetExe = Join-Path $env:USERPROFILE '.dotnet\dotnet.exe' - } else { - $dotnetExe = 'dotnet' - } - - & $dotnetExe publish "imagecatalog\ImageCatalog 2.csproj" -c $env:BUILD_CONFIG -f net10.0-windows -r win-x64 --self-contained false /p:PublishSingleFile=true /p:PublishReadyToRun=true -o publish - Write-Host "Published to $(pwd)\\publish" - - # Configure private NuGet source from GitLab Packages using CI_JOB_TOKEN - # Fallback to repository variables NUGET_USERNAME/NUGET_PASSWORD for shared runners - $nugetUrl = 'https://gitlab.com/api/v4/projects/79509532/packages/nuget/index.json' - if ($env:CI_JOB_TOKEN) { - Write-Host 'Configuring private NuGet source Nuget-GitLab-AIFotoONLUS using CI_JOB_TOKEN...' - try { & $dotnetExe nuget remove source Nuget-GitLab-AIFotoONLUS } catch {} - & $dotnetExe nuget add source $nugetUrl --name Nuget-GitLab-AIFotoONLUS --username gitlab-ci-token --password $env:CI_JOB_TOKEN --store-password-in-clear-text - } elseif ($env:NUGET_USERNAME -and $env:NUGET_PASSWORD) { - Write-Host 'Configuring private NuGet source Nuget-GitLab-AIFotoONLUS using NUGET_USERNAME/NUGET_PASSWORD...' - try { & $dotnetExe nuget remove source Nuget-GitLab-AIFotoONLUS } catch {} - & $dotnetExe nuget add source $nugetUrl --name Nuget-GitLab-AIFotoONLUS --username $env:NUGET_USERNAME --password $env:NUGET_PASSWORD --store-password-in-clear-text - } else { - Write-Host 'No credentials available; skipping private NuGet source configuration.' - } - - # Find the produced EXE in publish folder (fallback to first file if no exe found) - $file = Get-ChildItem -Path publish -Filter *.exe -File | Select-Object -First 1 - if (-not $file) { $file = Get-ChildItem -Path publish -File | Select-Object -First 1 } - Write-Host "Uploading $($file.FullName)" - # Upload to GitLab project uploads API to get a public URL for the artifact - $uploadUrl = "$env:CI_API_V4_URL/projects/$env:CI_PROJECT_ID/uploads" - $formData = "file=@$($file.FullName)" - $uploadResp = curl --silent --show-error --header "JOB-TOKEN:$env:CI_JOB_TOKEN" --form $formData $uploadUrl - $uploadJson = $uploadResp | ConvertFrom-Json - $assetUrl = "$env:CI_SERVER_URL$($uploadJson.url)" - Write-Host "Uploaded asset url: $assetUrl" - # Create the release using uploads URL - $body = @{ name = $env:CI_COMMIT_TAG; tag_name = $env:CI_COMMIT_TAG; description = "Automated release from CI"; assets = @{ links = @(@{ name = "$($file.Name)"; url = $assetUrl }) } } | ConvertTo-Json -Depth 10 - Invoke-RestMethod -Method Post -Uri "$env:CI_API_V4_URL/projects/$env:CI_PROJECT_ID/releases" -Headers @{ "JOB-TOKEN" = $env:CI_JOB_TOKEN } -Body $body -ContentType "application/json" - } + - job: build_windows + artifacts: true + script: | + set -euo pipefail + dotnet --info + echo "Reading MinVer version from build artifacts" + # locate a minversion file produced by the build artifacts + minfile=$(find imagecatalog -type f -iname 'minversion' -print | head -n1 || true) + if [ -z "$minfile" ]; then minfile=$(find . -type f -iname 'minversion' -print | head -n1 || true); fi + if [ -z "$minfile" ]; then echo "No minversion file found in artifacts"; exit 1; fi + echo "Found minversion file: $minfile" + version=$(cat "$minfile" | tr -d '\r\n') + if [ -z "$version" ]; then echo "minversion was empty"; exit 1; fi + echo "Using version: $version" + # find the primary artifact to upload (prefer the executable or first file under the build output) + file=$(find imagecatalog/bin -type f \! -iname 'minversion' -print | head -n1 || true) + if [ -z "$file" ]; then file=$(find . -type f -name 'ImageCatalog.*' -print | head -n1 || true); fi + if [ -z "$file" ]; then echo "No artifact file found to attach"; exit 1; fi + echo "Uploading artifact: $file" + uploadResp=$(curl --silent --show-error --header "JOB-TOKEN:$CI_JOB_TOKEN" --form "file=@$file" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/uploads") + assetPath=$(echo "$uploadResp" | sed -n 's/.*"url":"\([^\"]*\)".*/\1/p') + if [ -z "$assetPath" ]; then echo "Upload failed: $uploadResp"; exit 1; fi + assetUrl="$CI_SERVER_URL$assetPath" + echo "Uploaded asset url: $assetUrl" + basename=$(basename "$file") + # create release JSON using the exact minversion value as tag_name + cat > release.json < Date: Sat, 21 Feb 2026 20:11:46 +0100 Subject: [PATCH 03/52] Removed tags only from publish job --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 452d9da..e0ccef7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -129,8 +129,8 @@ publish_release: curl --silent --show-error --header "JOB-TOKEN:$CI_JOB_TOKEN" -X POST -H "Content-Type: application/json" --data @release.json "$CI_API_V4_URL/projects/$CI_PROJECT_ID/releases" artifacts: expire_in: 1 day - only: - - tags +# only: +# - tags # Notes for runner setup: The job now runs on the public .NET SDK image and downloads artifacts from the # `build_windows` job via `needs`. It reads the `minversion` file produced by the build artifacts and From 335da52abfd73567a9daed2bb967963e270667ca Mon Sep 17 00:00:00 2001 From: MaddoScientisto Date: Sun, 22 Feb 2026 00:57:23 +0100 Subject: [PATCH 04/52] Add minversion file generation to build output for downstream jobs --- .gitlab-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e0ccef7..f13eb57 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,6 +85,23 @@ build_windows: } & $dotnetExe restore & $dotnetExe build "imagecatalog\ImageCatalog 2.csproj" -c $env:BUILD_CONFIG -v minimal + # Write a minversion file into the build output so downstream jobs can read the computed version. + try { + $outRoot = Join-Path -Path "imagecatalog\bin\$env:BUILD_CONFIG" -ChildPath '*' + # search under the build output for a file starting with ImageCatalog. + $built = Get-ChildItem -Path (Join-Path "imagecatalog\bin\$env:BUILD_CONFIG" '.') -Recurse -File -ErrorAction SilentlyContinue | Where-Object { $_.Name -like 'ImageCatalog.*' } | Select-Object -First 1 + if ($built) { + $base = [System.IO.Path]::GetFileNameWithoutExtension($built.Name) + $version = $base -replace '^ImageCatalog\.', '' + $minPath = Join-Path $built.DirectoryName 'minversion' + Write-Host "Writing minversion '$version' to $minPath" + Set-Content -Path $minPath -Value $version -Encoding UTF8 + } else { + Write-Host 'No ImageCatalog build artifact found to derive minversion from.' + } + } catch { + Write-Host "Failed to write minversion: $_" + } } artifacts: paths: From 3a964bbbcf09cf6902dc2f3e242bcf88a3a9ceaf Mon Sep 17 00:00:00 2001 From: MaddoScientisto Date: Sun, 22 Feb 2026 11:38:15 +0100 Subject: [PATCH 05/52] Refactor CI pipeline: replace minversion file generation with single-file publish for downstream jobs --- .gitlab-ci.yml | 48 ++++++++++++++++++++---------------------------- 1 file changed, 20 insertions(+), 28 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f13eb57..f257f27 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -85,52 +85,45 @@ build_windows: } & $dotnetExe restore & $dotnetExe build "imagecatalog\ImageCatalog 2.csproj" -c $env:BUILD_CONFIG -v minimal - # Write a minversion file into the build output so downstream jobs can read the computed version. + # Produce a single-file, ready-to-run publish so downstream jobs only need the EXE. try { - $outRoot = Join-Path -Path "imagecatalog\bin\$env:BUILD_CONFIG" -ChildPath '*' - # search under the build output for a file starting with ImageCatalog. - $built = Get-ChildItem -Path (Join-Path "imagecatalog\bin\$env:BUILD_CONFIG" '.') -Recurse -File -ErrorAction SilentlyContinue | Where-Object { $_.Name -like 'ImageCatalog.*' } | Select-Object -First 1 - if ($built) { - $base = [System.IO.Path]::GetFileNameWithoutExtension($built.Name) - $version = $base -replace '^ImageCatalog\.', '' - $minPath = Join-Path $built.DirectoryName 'minversion' - Write-Host "Writing minversion '$version' to $minPath" - Set-Content -Path $minPath -Value $version -Encoding UTF8 - } else { - Write-Host 'No ImageCatalog build artifact found to derive minversion from.' - } + & $dotnetExe publish "imagecatalog\ImageCatalog 2.csproj" -c $env:BUILD_CONFIG -r win-x64 --self-contained true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true -o "imagecatalog\bin\$env:BUILD_CONFIG\net10.0-windows\publish" -v minimal } catch { - Write-Host "Failed to write minversion: $_" + Write-Host "dotnet publish failed: $_" + throw } } artifacts: paths: - - "imagecatalog/bin/$BUILD_CONFIG/net10.0-windows/**" + - "imagecatalog/bin/$BUILD_CONFIG/net10.0-windows/publish/**" expire_in: 1 hour # Publish and create GitLab Release when building a tag. publish_release: stage: publish image: mcr.microsoft.com/dotnet/sdk:10.0 + variables: + GIT_DEPTH: 0 needs: - job: build_windows artifacts: true script: | set -euo pipefail dotnet --info - echo "Reading MinVer version from build artifacts" - # locate a minversion file produced by the build artifacts - minfile=$(find imagecatalog -type f -iname 'minversion' -print | head -n1 || true) - if [ -z "$minfile" ]; then minfile=$(find . -type f -iname 'minversion' -print | head -n1 || true); fi - if [ -z "$minfile" ]; then echo "No minversion file found in artifacts"; exit 1; fi - echo "Found minversion file: $minfile" - version=$(cat "$minfile" | tr -d '\r\n') - if [ -z "$version" ]; then echo "minversion was empty"; exit 1; fi + export PATH="$PATH:$HOME/.dotnet/tools" + echo "Installing minver-cli" + dotnet tool install --global minver-cli --version 7.0.0 + # Ensure we have full git history and tags for MinVer to compute an accurate version + git fetch --prune --unshallow || true + git fetch --tags || true + echo "Computing version with minver-cli" + version=$(minver 2>/dev/null | tail -n1 || true) + if [ -z "$version" ]; then echo "minver failed to produce a version"; exit 1; fi echo "Using version: $version" - # find the primary artifact to upload (prefer the executable or first file under the build output) - file=$(find imagecatalog/bin -type f \! -iname 'minversion' -print | head -n1 || true) - if [ -z "$file" ]; then file=$(find . -type f -name 'ImageCatalog.*' -print | head -n1 || true); fi - if [ -z "$file" ]; then echo "No artifact file found to attach"; exit 1; fi + # find the single-file exe from the publish output + file=$(find imagecatalog/bin -type f -iname '*.exe' -print | head -n1 || true) + if [ -z "$file" ]; then file=$(find imagecatalog -type f -iname '*.exe' -print | head -n1 || true); fi + if [ -z "$file" ]; then echo "No artifact EXE found to attach"; exit 1; fi echo "Uploading artifact: $file" uploadResp=$(curl --silent --show-error --header "JOB-TOKEN:$CI_JOB_TOKEN" --form "file=@$file" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/uploads") assetPath=$(echo "$uploadResp" | sed -n 's/.*"url":"\([^\"]*\)".*/\1/p') @@ -138,7 +131,6 @@ publish_release: assetUrl="$CI_SERVER_URL$assetPath" echo "Uploaded asset url: $assetUrl" basename=$(basename "$file") - # create release JSON using the exact minversion value as tag_name cat > release.json < Date: Sun, 22 Feb 2026 11:48:32 +0100 Subject: [PATCH 06/52] Made trimmed false --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f257f27..fb87b2e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -87,7 +87,7 @@ build_windows: & $dotnetExe build "imagecatalog\ImageCatalog 2.csproj" -c $env:BUILD_CONFIG -v minimal # Produce a single-file, ready-to-run publish so downstream jobs only need the EXE. try { - & $dotnetExe publish "imagecatalog\ImageCatalog 2.csproj" -c $env:BUILD_CONFIG -r win-x64 --self-contained true -p:PublishSingleFile=true -p:PublishTrimmed=true -p:PublishReadyToRun=true -o "imagecatalog\bin\$env:BUILD_CONFIG\net10.0-windows\publish" -v minimal + & $dotnetExe publish "imagecatalog\ImageCatalog 2.csproj" -c $env:BUILD_CONFIG -r win-x64 --self-contained true -p:PublishSingleFile=true -p:PublishTrimmed=false -p:PublishReadyToRun=true -o "imagecatalog\bin\$env:BUILD_CONFIG\net10.0-windows\publish" -v minimal } catch { Write-Host "dotnet publish failed: $_" throw From 3ae4da3e494fff81e189381902472553b56609dc Mon Sep 17 00:00:00 2001 From: MaddoScientisto Date: Sun, 22 Feb 2026 14:51:44 +0100 Subject: [PATCH 07/52] Enhance publish_release job: export version and add release metadata for automated releases --- .gitlab-ci.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb87b2e..050a0aa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -120,6 +120,7 @@ publish_release: version=$(minver 2>/dev/null | tail -n1 || true) if [ -z "$version" ]; then echo "minver failed to produce a version"; exit 1; fi echo "Using version: $version" + export VERSION="$version" # find the single-file exe from the publish output file=$(find imagecatalog/bin -type f -iname '*.exe' -print | head -n1 || true) if [ -z "$file" ]; then file=$(find imagecatalog -type f -iname '*.exe' -print | head -n1 || true); fi @@ -131,13 +132,18 @@ publish_release: assetUrl="$CI_SERVER_URL$assetPath" echo "Uploaded asset url: $assetUrl" basename=$(basename "$file") - cat > release.json < Date: Thu, 26 Feb 2026 18:43:07 +0100 Subject: [PATCH 08/52] Add Avalonia UI frontend alongside WinForms and WPF Introduce Avalonia as a new cross-platform UI option, including new XAML and code-behind files for the application and main window. Update Program.cs to support a --avalonia launch argument and add corresponding launch profile. Integrate Avalonia NuGet packages and ensure DataModel supports UI-thread invocation for all frontends. All business logic and state are shared via DI, enabling consistent behavior across WinForms, WPF, and Avalonia. --- imagecatalog/AvaloniaApp.axaml | 8 + imagecatalog/AvaloniaApp.axaml.cs | 20 ++ imagecatalog/AvaloniaMainWindow.axaml | 317 ++++++++++++++++++++ imagecatalog/AvaloniaMainWindow.axaml.cs | 151 ++++++++++ imagecatalog/DataModel.cs | 12 +- imagecatalog/ImageCatalog 2.csproj | 4 + imagecatalog/Program.cs | 23 +- imagecatalog/Properties/launchSettings.json | 9 +- 8 files changed, 535 insertions(+), 9 deletions(-) create mode 100644 imagecatalog/AvaloniaApp.axaml create mode 100644 imagecatalog/AvaloniaApp.axaml.cs create mode 100644 imagecatalog/AvaloniaMainWindow.axaml create mode 100644 imagecatalog/AvaloniaMainWindow.axaml.cs diff --git a/imagecatalog/AvaloniaApp.axaml b/imagecatalog/AvaloniaApp.axaml new file mode 100644 index 0000000..8ce9be1 --- /dev/null +++ b/imagecatalog/AvaloniaApp.axaml @@ -0,0 +1,8 @@ + + + + + + diff --git a/imagecatalog/AvaloniaApp.axaml.cs b/imagecatalog/AvaloniaApp.axaml.cs new file mode 100644 index 0000000..9a14f4d --- /dev/null +++ b/imagecatalog/AvaloniaApp.axaml.cs @@ -0,0 +1,20 @@ +using Avalonia.Controls.ApplicationLifetimes; +using Avalonia.Markup.Xaml; +using Microsoft.Extensions.DependencyInjection; + +namespace ImageCatalog_2; + +public partial class AvaloniaApp : Avalonia.Application +{ + public override void Initialize() => AvaloniaXamlLoader.Load(this); + + public override void OnFrameworkInitializationCompleted() + { + if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) + { + var model = Program.ServiceProvider.GetRequiredService(); + desktop.MainWindow = new AvaloniaMainWindow(model); + } + base.OnFrameworkInitializationCompleted(); + } +} diff --git a/imagecatalog/AvaloniaMainWindow.axaml b/imagecatalog/AvaloniaMainWindow.axaml new file mode 100644 index 0000000..a16b949 --- /dev/null +++ b/imagecatalog/AvaloniaMainWindow.axaml @@ -0,0 +1,317 @@ + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/WPFCatalog/Controls/GeneralSettingsControl.xaml.cs b/WPFCatalog/Controls/GeneralSettingsControl.xaml.cs deleted file mode 100644 index af3e0aa..0000000 --- a/WPFCatalog/Controls/GeneralSettingsControl.xaml.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace WPFCatalog.Controls -{ - /// - /// Interaction logic for GeneralSettingsControl.xaml - /// - public partial class GeneralSettingsControl : UserControl - { - public GeneralSettingsControl() - { - InitializeComponent(); - } - } -} diff --git a/WPFCatalog/Controls/TextSettingsControl.xaml b/WPFCatalog/Controls/TextSettingsControl.xaml deleted file mode 100644 index 7d7ac19..0000000 --- a/WPFCatalog/Controls/TextSettingsControl.xaml +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/WPFCatalog/Controls/TextSettingsControl.xaml.cs b/WPFCatalog/Controls/TextSettingsControl.xaml.cs deleted file mode 100644 index 2c29c51..0000000 --- a/WPFCatalog/Controls/TextSettingsControl.xaml.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Controls; -using System.Windows.Data; -using System.Windows.Documents; -using System.Windows.Input; -using System.Windows.Media; -using System.Windows.Media.Imaging; -using System.Windows.Navigation; -using System.Windows.Shapes; - -namespace WPFCatalog.Controls -{ - /// - /// Interaction logic for TextSettingsControl.xaml - /// - public partial class TextSettingsControl : UserControl - { - public TextSettingsControl() - { - InitializeComponent(); - } - } -} diff --git a/WPFCatalog/Converters/FontFamilyStringConverter.cs b/WPFCatalog/Converters/FontFamilyStringConverter.cs deleted file mode 100644 index 66a103e..0000000 --- a/WPFCatalog/Converters/FontFamilyStringConverter.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Data; -using System.Windows.Media; - -namespace WPFCatalog -{ - public class FontFamilyStringConverter : IValueConverter - { - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - FontFamily fontfamily = new FontFamily("Verdana"); - if (value != null) - { - fontfamily = new FontFamily(value.ToString()); - } - return fontfamily; - - } - - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - throw new NotImplementedException(); - } - } -} diff --git a/WPFCatalog/Converters/MaddoColorConverter.cs b/WPFCatalog/Converters/MaddoColorConverter.cs deleted file mode 100644 index 2248484..0000000 --- a/WPFCatalog/Converters/MaddoColorConverter.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Diagnostics; -using System.Globalization; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; -using System.Windows.Data; -using System.Windows.Media; - -namespace WPFCatalog -{ - public class MaddoColorConverter : IValueConverter - { - private static readonly DependencyObject _dummy = new DependencyObject(); - - public object Convert(object value, Type targetType, object parameter, CultureInfo culture) - { - Color color = Colors.Black; - - if (value != null && value != DependencyProperty.UnsetValue && value is string && !String.IsNullOrWhiteSpace((string)value)) - { - string c = (string)value; - object convertedColor = null; - try - { - convertedColor = ColorConverter.ConvertFromString(c); - } - catch (Exception ex) - { - if (!DesignerProperties.GetIsInDesignMode(_dummy)) - { - throw new FormatException($"String {c} does not represent a valid color", ex); - } - } - if (convertedColor != null) - { - color = (Color)convertedColor; - } - } - - return color; - - } - - public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) - { - if (value != null) - { - Color color = (Color)value; - Debug.WriteLine(color.ToString()); - return color.ToString(); - } - return string.Empty; - } - } -} diff --git a/WPFCatalog/Icons/camera-photo-5.png b/WPFCatalog/Icons/camera-photo-5.png deleted file mode 100644 index 1e54dea89239f7aecab3e55382432a57c6c60e54..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1231 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkEj_j@0&dJZ`)n?tl_D>YcrteH1n%v&r z_6D}Ly{R)T`VJp%U+u(U_=)Yn=RMi8mff8cWF)~OFv~$-WW{y$A1{yZestu=+3oSG z&-%`<+PkhrV8*hQ4ewnRUknIe7pLYMye{r1*HV%4X?dHU{>ck| zs(0@WS#7Fw`q{JI+3dR#C0qjge}50puz&x+!tD24v(58kk8ISvq@u{d^zUx|=RKci zEV-XtS~}Hxx}E&G32B;t>-d*GSbscw&PTgr*5=;!Ih!|bJNz+$VW-kr)vZyzZ`bDD zdOKmUiX>CfOy#944wp^VJktDE_l13#;i38c*D_eE=SXQ^&Zs#wS>6BV2j%{}<;_*M zMMau++<$!Y9pArWY%f0w28tA3$P_MhR$G2Mg#cHe}xXv-#y^E~XyA zxp~`9A3DSo931>4sOiiJqfXd0L&cpl=vk}N&X|36 zR#siFuT9OI5uz=6u{*hMGRsntvuTqJcr5E5+63w^3R~NB>hgxW7av*Fso9+0z3la` zwK}Jb8WcDl6>k>z+SPEbj{Eec6(L$J4;h2fmSlDXd2uNQExq!+>AH!r@n_8fu^&N~ zx18ouV|nwmav#qfwrkg~UoZFjqtCGHz5VvaE%BhFZ(8CSQR1ARo12WKm#mw4Gnb-4MGept&A*)L>|!Yha{nWDsIx zY-MC-Wn>7^Q1iRK5Jf|7eoAIqB~$~@2Ez~o3oBDIE0BJW4IybSR|7Q|ft=)%nVgze zoXU_|`z^)3Ja diff --git a/WPFCatalog/Icons/document-open-6.png b/WPFCatalog/Icons/document-open-6.png deleted file mode 100644 index fe03b7f429925fe2a0d967ce4ac873644a773707..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1028 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(^vlDyqr zfHV;NblzPLq&N#aB8!2v2N=7Z%(epwmK8Xr18J~%3^B*n9%f)*{Nw537-DgH>cq3& zA%POd>Yv|RtZZy%X4!2LzBcQ+Q_L2PNgf5lYk%F?dio#p;@o=2gCZ^g21;8z7K(`p zvNXClg^7qXb=KafSyi0Ar}(^kcX7L*{+Ex3BIkVm^yl2?J?l4I`?TDu^3jh=KYq-t zxsbK;?)#gyH}9qU&-dZ>J3s&EvCf0Y2MTI=7~45>E}r*JU;y5#YWRk z_2+L6r8w!UX%u{UwNQR)S@u@PU2#nMYAtMh{SHewRS!J6zNB=wLFbGIzpBn$%L5w{$|YkN(F5kei=+)V)ST;=l!vT@w@nB zzjaS+`1qQx+~o*lab`adrLB74*fin)dnU5n+4I)Wh#^k8r651bc^`X=>Qjc>>pmu_ z{yW%Ubm7{Bciw`gSu&F6R3BIwNs247g+%L3HxkHX*AVHxv$I_M!v=>9D_@-V@|rEU zI^Hfs#bKo&Gt>6un}Q%+xA%j6NPGtYeY$MQEFmIs%{F9U@$T;u+%j))HO5>F*LI>u&^>Q)HN`- zGB8kC_wWHs14yM6L>Ewlp@FV}k*<+Jh>@|Ck(rgDDMSOCbxb3QhTQy=%(P0V2A~aw zAqJLKh89-F77z_#T2`z;4W=L``D7-i<`t(hWR#Q?Sn2D7?aC}mP0r8F&Ce^=%P&gT z&w(f@*7tD_@X}xJ3eHBg8TSeyWzAeg&vO5@cg=ep*R+Vo@rCV@iHfs)A>3 zVtQ&&YGO)d;mK4Rpdwy~qSB(|R0hA&vizLHHU6d_ff6PNiTKbUADENN%ggmLlk@X* ovorJ3^?(l7FDS~-N=+^)*3ScL*Dtf(0?OwMp00i_>zopr0HQU2XaE2J diff --git a/WPFCatalog/Icons/document-open-folder.png b/WPFCatalog/Icons/document-open-folder.png deleted file mode 100644 index 98b8a9448a5756451eadce70af3772be1f543993..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 852 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE0z%d<2gY`4S99w&sfq~J`)5S5w;`Gv>-CoX)0=DVp@A8@$w+gyk zW?Ac-n7w$Ze1a7Bf29fX7vwoQ4Hb2pPwpZlyzw76$+xg?=UZ@v)2#b0dFKL^yir1f2 zt+>ggS-@fCtq(Ex_jLpt?sq=QxidndJz~ivPG#4%|6CrooJiGKz_z#ckGRXBLZ=S# z=AO+0v)?T_Dip_agq^3>;pDE8aM_iI*m+c6pSkz-@$0O_tezzH&kKY#UzwjTyf!m7 z^Zxy?Tjg_SuDX&L3oGvKvI+89`ut4Jd~asWlEpt6A96=DZ(*2U2MkHo64!{5 z9nO2Eg!<&1*zW_C)gPi1(nVgzeoXU_vn(|^KQ}i&uUId?C|y4XqNG?qsZzH%QQuh4KwlxhNP!p~KJEcN`bK(&`qBM1 z$uKuUoQD(&2FALEmLY})R;ET)ra(`b0X=n7{@W&?21$?`gY(l$$`gxH8OqDc^)mCa zi<1)zQbA6e{mw=Ts7M&1sI(|KmBGKFGCeg(}6TtKSRv1wTBrPn7KV&978Nlr%v|Gh)I=bo&Wo;wf)BANB+lH zZr#}B5o^+8+L$5Qy-U#1iIvysU@Yf~)wiYwvButzat`B-xU*uVM@H@%-G43tQj^)d z7W)J%-S|_s$awOSnP*app4WY^yZ>4#WJzUsdZC3(#rekt*L!OnXBXX-b1CiYoW&@! z^pk@4nj8M}>*lWf|9h_WqhkUeiv*-U2=%r{^UL%vm#cAGSz+wqA#x@_^IuMWobA%y zILpfu9`x4Uees{Et*s!sx!#%UvxHbreyWK`4UUy z4@my*x%;tgS{ekt}^R9TRuU@Dh;*ZcQBo}}6huiwqJZY#kX63?F2!>&{5{m#E5RSSj=Ipl6nrGf)3-(>lN8FHB}<1h0ujo;_dm*Gnu}Ye(ta zkZJnSg%bCw9`F60dV6=>s_CaP^TKbP^!*yBtDC6A+wi*bPVoH`>$Yw0Jk3!0lKDEv*`k$L8nUW>zoz5M?3q8`t~_h) z{E0#A@wXX!e>yMkxP0-`jgKxn44XdIAAMnYgv}yPYWq8edwt?NO82f0nfkhB9#JiEjVMVjN=+$?Z| z=o{%7=;vgyt$bP0l+XkK^*s1x diff --git a/WPFCatalog/Icons/format-justify-left-2.png b/WPFCatalog/Icons/format-justify-left-2.png deleted file mode 100644 index d6abc0585efd6d5e4a41f17f3545b877c432432c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3517 zcmZXWcT`hNyTu2PVh|}x*C0(%DFGrS0ff+{h!7PO1?i!M5~>10M1d$ZG(iNUqe6%v zN)ZquQeS%S3K9`%p-B7U>;2YUcipqr%wA_^|JHuy%=zPqGBefZfCxbV033z}I_7lc z`ZL&A=(EV$!Ckr>a?&!<0)P~Af9Faf01$PIwze6@&JKWpk>?gpXp03t_05TOlu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820ba19..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1075 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Ea{HEjtmUzPnffIy#(^vlDyqr zfHV;NblzPLq&N#aB8!2v2N=7Z%(epwmK8Xr18J~%3^B*n9%f)*{OIZ87-DgH>15mN z5J!==`NrSx?fsr6UZyC0*lm#t<3Xj4l|BC$xw)lRFWE5R3!`*>%YH|n^o3JfBP9Mi zI&9!*=~(cryC%nM_M1C%Et3T|r<{RzJq$VV6zLro8-Y zCtH?zQcHO8?I)hX;#2k>p0hqXwCzxCQd{M}6sGk`dj+}JkGV)R9?CHaysxHPyF4@6 z;(f>EDJMU&-M@DFidSg}y9qKGt3ES;>8*6da~>Bb-5cZ`QB9g2E4{?W4!o3=8v zPVwI461N?Orv9qg4?=(ET)ckp)jOs*(eDj*nwS9 z;lSaUNAEeC)E+3To}TlV`|EG+Gp?TVjn9|#Fg_95|7%a%`Rp6NuBg_@2pD=V0XnSQ z?S113`4EfU;*;iTcPMk(I%rNa&!2uhom+m{|8&d8972b)8Fs$1`p?Fee`_*x?ty*4 zl%QJT8c~v5l$uzQs+$5N7>o=IEOiYHbq&ozjEt-dEvyX9bq&m|3=EwgR%j8iFPNj{m$sd>ez z3>hUQ1y=g{V7oHQQj_y@bMy0x_413-^>ZLfiuIE!^^Nrm^cC`p6o^!Aq-Uz%-DZ;t za~{NH@BlE=H89pSGzu{?v@$ibGBkns$Nu+~=RggTAm;_=r9C%$#fm&t#wnnyONM1C<#gl*NYz`M`Wz sUS6)3mY54cdO$zx=OiZSXM!~97X!`EKXinb7pR@V)78&qol`;+06No>>Hq)$ diff --git a/WPFCatalog/MainWindow.xaml b/WPFCatalog/MainWindow.xaml deleted file mode 100644 index c7cd8fe..0000000 --- a/WPFCatalog/MainWindow.xaml +++ /dev/null @@ -1,203 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -