From 4e8c500fb26aa6c41f30b8873c52e6c891319c3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20B=C3=B6rchers?= Date: Sat, 6 May 2023 13:23:42 +0200 Subject: [PATCH] merged from work --- .gitignore | 2 + AppStub/App.config | 6 - AppStub/AppStub.csproj | 65 - AppStub/Program.cs | 77 - AppStub/Properties/AssemblyInfo.cs | 35 - AppStub/packages.config | 4 - AppStubEx/App.config | 6 - AppStubEx/AppEntry.cs | 19 - AppStubEx/AppStubEx.csproj | 70 - AppStubEx/IniFile.cs | 50 - AppStubEx/InstallerUx.cs | 73 - AppStubEx/InstallerUx.designer.cs | 149 -- AppStubEx/InstallerUx.resx | 126 - AppStubEx/Program.cs | 102 - AppStubEx/Properties/AssemblyInfo.cs | 42 - AppStubEx/Taskbar.cs | 117 - Example/Annotations.cs | 1066 -------- Example/App.config | 22 - Example/App.xaml | 15 - Example/App.xaml.cs | 18 - Example/Example.csproj | 165 -- Example/MainWindow.xaml | 105 - Example/MainWindow.xaml.cs | 22 - Example/MainWindowViewModel.cs | 91 - Example/Properties/AssemblyInfo.cs | 53 - Example/Properties/Resources.Designer.cs | 63 - Example/Properties/Resources.resx | 117 - Example/Properties/Settings.Designer.cs | 26 - Example/Properties/Settings.settings | 7 - Example/nsis3-install.ico | Bin 11697 -> 0 bytes Example/packages.config | 12 - ExampleCore/Annotations.cs | 1065 -------- ExampleCore/App.xaml | 17 +- ExampleCore/App.xaml.cs | 7 + ExampleCore/ExampleCore.csproj | 22 +- ExampleCore/Katteker.config | 1 + ExampleCore/MainWindow.xaml | 141 +- ExampleCore/MainWindowViewModel.cs | 86 +- .../PublishProfiles/FolderProfile.pubxml | 7 +- ExampleCore/Properties/launchSettings.json | 8 + Katteker.Gui/packages.config | 4 - Katteker.Lib.sln | 37 - Katteker.Test/Katteker.Test.csproj | 141 -- Katteker.Test/Properties/AssemblyInfo.cs | 19 - Katteker.Test/app.config | 11 - Katteker.Test/packages.config | 6 - Katteker.Test/testdata/changelog.md | 5 - Katteker.sln | 37 +- Katteker/ChangelogHelper.cs | 102 - Katteker/Common/MarkdownSharp.cs | 1779 ------------- Katteker/Common/SemVersion.cs | 536 ---- Katteker/GlobalSuppressions.cs | 9 - Katteker/Katteker.csproj | 16 - Katteker/ReleaseEntry.cs | 155 -- Katteker/VersionUtils.cs | 38 - KattekerCreator/Helper/Log.cs | 58 - KattekerCreator/Helper/Utils.cs | 157 -- KattekerCreator/KattekerCreatorCore.csproj | 4 - KattekerCreator/Program.cs | 178 -- .../Properties/launchSettings.json | 8 - KattekerCreator/SetupTemplate.Code.cs | 53 - KattekerCreator/T4Extensions.cs | 28 - KattekerCreator/Types/AssemblyFileInfo.cs | 87 - KattekerCreator/Types/Minimatcher.cs | 1042 -------- KattekerCreator/Types/PathFragments.cs | 23 - KattekerCreator/Types/PhysicalFile.cs | 13 - KattekerCreator/Types/TemporaryDirectory.cs | 42 - KattekerCreator/nsis/COPYING | 144 -- .../nsis/Contrib/Graphics/Checks/big.bmp | Bin 886 -> 0 bytes .../Contrib/Graphics/Checks/classic-cross.bmp | Bin 886 -> 0 bytes .../nsis/Contrib/Graphics/Checks/classic.bmp | Bin 886 -> 0 bytes .../nsis/Contrib/Graphics/Checks/colorful.bmp | Bin 2512 -> 0 bytes .../Contrib/Graphics/Checks/grey-cross.bmp | Bin 886 -> 0 bytes .../nsis/Contrib/Graphics/Checks/grey.bmp | Bin 886 -> 0 bytes .../nsis/Contrib/Graphics/Checks/modern.bmp | Bin 1652 -> 0 bytes .../Contrib/Graphics/Checks/red-round.bmp | Bin 886 -> 0 bytes .../nsis/Contrib/Graphics/Checks/red.bmp | Bin 886 -> 0 bytes .../Contrib/Graphics/Checks/simple-round.bmp | Bin 1616 -> 0 bytes .../Contrib/Graphics/Checks/simple-round2.bmp | Bin 1844 -> 0 bytes .../nsis/Contrib/Graphics/Checks/simple.bmp | Bin 1616 -> 0 bytes .../nsis/Contrib/Graphics/Header/nsis-r.bmp | Bin 9744 -> 0 bytes .../nsis/Contrib/Graphics/Header/nsis.bmp | Bin 9744 -> 0 bytes .../Graphics/Header/nsis3-branding-r.bmp | Bin 25820 -> 0 bytes .../Graphics/Header/nsis3-branding.bmp | Bin 25820 -> 0 bytes .../Graphics/Header/nsis3-grey-right.bmp | Bin 8932 -> 0 bytes .../Contrib/Graphics/Header/nsis3-grey.bmp | Bin 8956 -> 0 bytes .../Graphics/Header/nsis3-metro-right.bmp | Bin 25820 -> 0 bytes .../Contrib/Graphics/Header/nsis3-metro.bmp | Bin 25820 -> 0 bytes .../Graphics/Header/nsis3-vintage-right.bmp | Bin 8996 -> 0 bytes .../Contrib/Graphics/Header/nsis3-vintage.bmp | Bin 9008 -> 0 bytes .../Contrib/Graphics/Header/orange-nsis.bmp | Bin 9740 -> 0 bytes .../Contrib/Graphics/Header/orange-r-nsis.bmp | Bin 9740 -> 0 bytes .../nsis/Contrib/Graphics/Header/orange-r.bmp | Bin 9744 -> 0 bytes .../Graphics/Header/orange-uninstall-nsis.bmp | Bin 9740 -> 0 bytes .../Header/orange-uninstall-r-nsis.bmp | Bin 9740 -> 0 bytes .../Graphics/Header/orange-uninstall-r.bmp | Bin 9744 -> 0 bytes .../Graphics/Header/orange-uninstall.bmp | Bin 9744 -> 0 bytes .../nsis/Contrib/Graphics/Header/orange.bmp | Bin 9744 -> 0 bytes .../nsis/Contrib/Graphics/Header/win.bmp | Bin 9744 -> 0 bytes .../Contrib/Graphics/Icons/arrow-install.ico | Bin 4710 -> 0 bytes .../Graphics/Icons/arrow-uninstall.ico | Bin 4710 -> 0 bytes .../Contrib/Graphics/Icons/arrow2-install.ico | Bin 4710 -> 0 bytes .../Graphics/Icons/arrow2-uninstall.ico | Bin 4710 -> 0 bytes .../Contrib/Graphics/Icons/box-install.ico | Bin 4710 -> 0 bytes .../Contrib/Graphics/Icons/box-uninstall.ico | Bin 4710 -> 0 bytes .../Graphics/Icons/classic-install.ico | Bin 1078 -> 0 bytes .../Graphics/Icons/classic-uninstall.ico | Bin 1078 -> 0 bytes .../Contrib/Graphics/Icons/llama-blue.ico | Bin 2238 -> 0 bytes .../Contrib/Graphics/Icons/llama-grey.ico | Bin 2238 -> 0 bytes .../Icons/modern-install-blue-full.ico | Bin 23558 -> 0 bytes .../Graphics/Icons/modern-install-blue.ico | Bin 13902 -> 0 bytes .../Icons/modern-install-colorful.ico | Bin 23558 -> 0 bytes .../Graphics/Icons/modern-install-full.ico | Bin 23558 -> 0 bytes .../Contrib/Graphics/Icons/modern-install.ico | Bin 13902 -> 0 bytes .../Icons/modern-uninstall-blue-full.ico | Bin 23558 -> 0 bytes .../Graphics/Icons/modern-uninstall-blue.ico | Bin 13902 -> 0 bytes .../Icons/modern-uninstall-colorful.ico | Bin 23558 -> 0 bytes .../Graphics/Icons/modern-uninstall-full.ico | Bin 23558 -> 0 bytes .../Graphics/Icons/modern-uninstall.ico | Bin 13902 -> 0 bytes .../nsis/Contrib/Graphics/Icons/nsis-menu.ico | Bin 39119 -> 0 bytes .../Contrib/Graphics/Icons/nsis1-install.ico | Bin 1078 -> 0 bytes .../Graphics/Icons/nsis1-uninstall.ico | Bin 1078 -> 0 bytes .../Graphics/Icons/nsis3-install-alt.ico | Bin 13111 -> 0 bytes .../Contrib/Graphics/Icons/nsis3-install.ico | Bin 11697 -> 0 bytes .../Graphics/Icons/nsis3-uninstall.ico | Bin 12533 -> 0 bytes .../Graphics/Icons/orange-install-nsis.ico | Bin 25214 -> 0 bytes .../Contrib/Graphics/Icons/orange-install.ico | Bin 25214 -> 0 bytes .../Graphics/Icons/orange-uninstall-nsis.ico | Bin 25214 -> 0 bytes .../Graphics/Icons/orange-uninstall.ico | Bin 25214 -> 0 bytes .../Contrib/Graphics/Icons/pixel-install.ico | Bin 5390 -> 0 bytes .../Graphics/Icons/pixel-uninstall.ico | Bin 5390 -> 0 bytes .../Contrib/Graphics/Icons/win-install.ico | Bin 1078 -> 0 bytes .../Contrib/Graphics/Icons/win-uninstall.ico | Bin 1078 -> 0 bytes .../nsis/Contrib/Graphics/Wizard/arrow.bmp | Bin 52576 -> 0 bytes .../nsis/Contrib/Graphics/Wizard/llama.bmp | Bin 26494 -> 0 bytes .../nsis/Contrib/Graphics/Wizard/nsis.bmp | Bin 26494 -> 0 bytes .../Graphics/Wizard/nsis3-branding.bmp | Bin 154544 -> 0 bytes .../Contrib/Graphics/Wizard/nsis3-grey.bmp | Bin 51832 -> 0 bytes .../Contrib/Graphics/Wizard/nsis3-metro.bmp | Bin 154544 -> 0 bytes .../Contrib/Graphics/Wizard/nsis3-vintage.bmp | Bin 51920 -> 0 bytes .../nsis/Contrib/Graphics/Wizard/nullsoft.bmp | Bin 26494 -> 0 bytes .../Contrib/Graphics/Wizard/orange-nsis.bmp | Bin 52572 -> 0 bytes .../Graphics/Wizard/orange-uninstall-nsis.bmp | Bin 52572 -> 0 bytes .../Graphics/Wizard/orange-uninstall.bmp | Bin 52576 -> 0 bytes .../nsis/Contrib/Graphics/Wizard/orange.bmp | Bin 52576 -> 0 bytes .../nsis/Contrib/Graphics/Wizard/win.bmp | Bin 26494 -> 0 bytes .../nsis/Contrib/Language files/Afrikaans.nlf | 190 -- .../nsis/Contrib/Language files/Afrikaans.nsh | 121 - .../nsis/Contrib/Language files/Albanian.nlf | 191 -- .../nsis/Contrib/Language files/Albanian.nsh | 129 - .../nsis/Contrib/Language files/Arabic.nlf | 190 -- .../nsis/Contrib/Language files/Arabic.nsh | 130 - .../nsis/Contrib/Language files/Armenian.nlf | 191 -- .../nsis/Contrib/Language files/Armenian.nsh | 130 - .../nsis/Contrib/Language files/Asturian.nlf | 190 -- .../nsis/Contrib/Language files/Asturian.nsh | 129 - .../nsis/Contrib/Language files/Basque.nlf | 190 -- .../nsis/Contrib/Language files/Basque.nsh | 129 - .../Contrib/Language files/Belarusian.nlf | 190 -- .../Contrib/Language files/Belarusian.nsh | 129 - .../nsis/Contrib/Language files/Bosnian.nlf | 191 -- .../nsis/Contrib/Language files/Bosnian.nsh | 121 - .../nsis/Contrib/Language files/Breton.nlf | 191 -- .../nsis/Contrib/Language files/Breton.nsh | 121 - .../nsis/Contrib/Language files/Bulgarian.nlf | 194 -- .../nsis/Contrib/Language files/Bulgarian.nsh | 124 - .../nsis/Contrib/Language files/Catalan.nlf | 191 -- .../nsis/Contrib/Language files/Catalan.nsh | 121 - .../nsis/Contrib/Language files/Corsican.nlf | 192 -- .../nsis/Contrib/Language files/Corsican.nsh | 133 - .../nsis/Contrib/Language files/Croatian.nlf | 190 -- .../nsis/Contrib/Language files/Croatian.nsh | 121 - .../nsis/Contrib/Language files/Czech.nlf | 191 -- .../nsis/Contrib/Language files/Czech.nsh | 129 - .../nsis/Contrib/Language files/Danish.nlf | 191 -- .../nsis/Contrib/Language files/Danish.nsh | 129 - .../nsis/Contrib/Language files/Dutch.nlf | 191 -- .../nsis/Contrib/Language files/Dutch.nsh | 129 - .../nsis/Contrib/Language files/English.nlf | 191 -- .../nsis/Contrib/Language files/English.nsh | 129 - .../nsis/Contrib/Language files/Esperanto.nlf | 191 -- .../nsis/Contrib/Language files/Esperanto.nsh | 129 - .../nsis/Contrib/Language files/Estonian.nlf | 190 -- .../nsis/Contrib/Language files/Estonian.nsh | 121 - .../nsis/Contrib/Language files/Farsi.nlf | 191 -- .../nsis/Contrib/Language files/Farsi.nsh | 121 - .../nsis/Contrib/Language files/Finnish.nlf | 193 -- .../nsis/Contrib/Language files/Finnish.nsh | 124 - .../nsis/Contrib/Language files/French.nlf | 191 -- .../nsis/Contrib/Language files/French.nsh | 129 - .../nsis/Contrib/Language files/Galician.nlf | 191 -- .../nsis/Contrib/Language files/Galician.nsh | 121 - .../nsis/Contrib/Language files/Georgian.nlf | 190 -- .../nsis/Contrib/Language files/Georgian.nsh | 121 - .../nsis/Contrib/Language files/German.nlf | 190 -- .../nsis/Contrib/Language files/German.nsh | 129 - .../nsis/Contrib/Language files/Greek.nlf | 190 -- .../nsis/Contrib/Language files/Greek.nsh | 121 - .../nsis/Contrib/Language files/Hebrew.nlf | 190 -- .../nsis/Contrib/Language files/Hebrew.nsh | 129 - .../nsis/Contrib/Language files/Hindi.nlf | 190 -- .../nsis/Contrib/Language files/Hindi.nsh | 129 - .../nsis/Contrib/Language files/Hungarian.nlf | 191 -- .../nsis/Contrib/Language files/Hungarian.nsh | 122 - .../nsis/Contrib/Language files/Icelandic.nlf | 191 -- .../nsis/Contrib/Language files/Icelandic.nsh | 121 - .../Contrib/Language files/Indonesian.nlf | 194 -- .../Contrib/Language files/Indonesian.nsh | 129 - .../nsis/Contrib/Language files/Irish.nlf | 191 -- .../nsis/Contrib/Language files/Irish.nsh | 121 - .../nsis/Contrib/Language files/Italian.nlf | 192 -- .../nsis/Contrib/Language files/Italian.nsh | 131 - .../nsis/Contrib/Language files/Japanese.nlf | 190 -- .../nsis/Contrib/Language files/Japanese.nsh | 130 - .../nsis/Contrib/Language files/Korean.nlf | 191 -- .../nsis/Contrib/Language files/Korean.nsh | 121 - .../nsis/Contrib/Language files/Kurdish.nlf | 190 -- .../nsis/Contrib/Language files/Kurdish.nsh | 122 - .../nsis/Contrib/Language files/Latvian.nlf | 191 -- .../nsis/Contrib/Language files/Latvian.nsh | 122 - .../Contrib/Language files/Lithuanian.nlf | 191 -- .../Contrib/Language files/Lithuanian.nsh | 121 - .../Contrib/Language files/Luxembourgish.nlf | 190 -- .../Contrib/Language files/Luxembourgish.nsh | 121 - .../Contrib/Language files/Macedonian.nlf | 191 -- .../Contrib/Language files/Macedonian.nsh | 121 - .../nsis/Contrib/Language files/Malay.nlf | 190 -- .../nsis/Contrib/Language files/Malay.nsh | 121 - .../nsis/Contrib/Language files/Mongolian.nlf | 190 -- .../nsis/Contrib/Language files/Mongolian.nsh | 129 - .../nsis/Contrib/Language files/Norwegian.nlf | 190 -- .../nsis/Contrib/Language files/Norwegian.nsh | 129 - .../Language files/NorwegianNynorsk.nlf | 191 -- .../Language files/NorwegianNynorsk.nsh | 129 - .../nsis/Contrib/Language files/Pashto.nlf | 191 -- .../nsis/Contrib/Language files/Pashto.nsh | 121 - .../nsis/Contrib/Language files/Polish.nlf | 195 -- .../nsis/Contrib/Language files/Polish.nsh | 132 - .../Contrib/Language files/Portuguese.nlf | 191 -- .../Contrib/Language files/Portuguese.nsh | 129 - .../Contrib/Language files/PortugueseBR.nlf | 191 -- .../Contrib/Language files/PortugueseBR.nsh | 129 - .../nsis/Contrib/Language files/Romanian.nlf | 202 -- .../nsis/Contrib/Language files/Romanian.nsh | 128 - .../nsis/Contrib/Language files/Russian.nlf | 192 -- .../nsis/Contrib/Language files/Russian.nsh | 129 - .../Contrib/Language files/ScotsGaelic.nlf | 191 -- .../Contrib/Language files/ScotsGaelic.nsh | 129 - .../nsis/Contrib/Language files/Serbian.nlf | 190 -- .../nsis/Contrib/Language files/Serbian.nsh | 121 - .../Contrib/Language files/SerbianLatin.nlf | 190 -- .../Contrib/Language files/SerbianLatin.nsh | 121 - .../Contrib/Language files/SimpChinese.nlf | 191 -- .../Contrib/Language files/SimpChinese.nsh | 130 - .../nsis/Contrib/Language files/Slovak.nlf | 190 -- .../nsis/Contrib/Language files/Slovak.nsh | 133 - .../nsis/Contrib/Language files/Slovenian.nlf | 190 -- .../nsis/Contrib/Language files/Slovenian.nsh | 130 - .../nsis/Contrib/Language files/Spanish.nlf | 191 -- .../nsis/Contrib/Language files/Spanish.nsh | 130 - .../Language files/SpanishInternational.nlf | 191 -- .../Language files/SpanishInternational.nsh | 130 - .../nsis/Contrib/Language files/Swedish.nlf | 190 -- .../nsis/Contrib/Language files/Swedish.nsh | 130 - .../nsis/Contrib/Language files/Tatar.nlf | 190 -- .../nsis/Contrib/Language files/Tatar.nsh | 129 - .../nsis/Contrib/Language files/Thai.nlf | 191 -- .../nsis/Contrib/Language files/Thai.nsh | 121 - .../Contrib/Language files/TradChinese.nlf | 194 -- .../Contrib/Language files/TradChinese.nsh | 131 - .../nsis/Contrib/Language files/Turkish.nlf | 192 -- .../nsis/Contrib/Language files/Turkish.nsh | 122 - .../nsis/Contrib/Language files/Ukrainian.nlf | 192 -- .../nsis/Contrib/Language files/Ukrainian.nsh | 130 - .../nsis/Contrib/Language files/Uzbek.nlf | 190 -- .../nsis/Contrib/Language files/Uzbek.nsh | 121 - .../Contrib/Language files/Vietnamese.nlf | 191 -- .../Contrib/Language files/Vietnamese.nsh | 129 - .../nsis/Contrib/Language files/Welsh.nlf | 191 -- .../nsis/Contrib/Language files/Welsh.nsh | 121 - .../nsis/Contrib/Modern UI 2/Deprecated.nsh | 86 - .../nsis/Contrib/Modern UI 2/Interface.nsh | 361 --- .../nsis/Contrib/Modern UI 2/Localization.nsh | 198 -- .../nsis/Contrib/Modern UI 2/MUI2.nsh | 117 - .../nsis/Contrib/Modern UI 2/Pages.nsh | 324 --- .../Contrib/Modern UI 2/Pages/Components.nsh | 242 -- .../Contrib/Modern UI 2/Pages/Directory.nsh | 126 - .../nsis/Contrib/Modern UI 2/Pages/Finish.nsh | 509 ---- .../Modern UI 2/Pages/InstallFiles.nsh | 149 -- .../Contrib/Modern UI 2/Pages/License.nsh | 143 -- .../Contrib/Modern UI 2/Pages/StartMenu.nsh | 236 -- .../Modern UI 2/Pages/UninstallConfirm.nsh | 100 - .../Contrib/Modern UI 2/Pages/Welcome.nsh | 180 -- .../nsis/Contrib/Modern UI/System.nsh | 2252 ----------------- .../nsis/Contrib/Modern UI/ioSpecial.ini | 19 - KattekerCreator/nsis/Contrib/UIs/default.exe | Bin 6144 -> 0 bytes KattekerCreator/nsis/Contrib/UIs/modern.exe | Bin 6656 -> 0 bytes .../nsis/Contrib/UIs/modern_headerbmp.exe | Bin 4608 -> 0 bytes .../nsis/Contrib/UIs/modern_headerbmpr.exe | Bin 4608 -> 0 bytes .../nsis/Contrib/UIs/modern_nodesc.exe | Bin 4096 -> 0 bytes .../nsis/Contrib/UIs/modern_smalldesc.exe | Bin 4096 -> 0 bytes .../nsis/Contrib/UIs/sdbarker_tiny.exe | Bin 6656 -> 0 bytes KattekerCreator/nsis/Contrib/zip2exe/Base.nsh | 87 - .../nsis/Contrib/zip2exe/Classic.nsh | 4 - .../nsis/Contrib/zip2exe/Modern.nsh | 8 - .../nsis/Docs/AdvSplash/advsplash.txt | 51 - KattekerCreator/nsis/Docs/Banner/Readme.txt | 47 - KattekerCreator/nsis/Docs/BgImage/BgImage.txt | 92 - KattekerCreator/nsis/Docs/Dialer/Dialer.txt | 121 - .../nsis/Docs/InstallOptions/Changelog.txt | 144 -- .../nsis/Docs/InstallOptions/Readme.html | 907 ------- KattekerCreator/nsis/Docs/Math/Math.txt | 197 -- .../nsis/Docs/Modern UI 2/License.txt | 10 - .../nsis/Docs/Modern UI 2/Readme.html | 1159 --------- .../nsis/Docs/Modern UI 2/images/closed.gif | Bin 203 -> 0 bytes .../nsis/Docs/Modern UI 2/images/header.gif | Bin 6023 -> 0 bytes .../nsis/Docs/Modern UI 2/images/open.gif | Bin 138 -> 0 bytes .../nsis/Docs/Modern UI 2/images/screen1.png | Bin 15647 -> 0 bytes .../nsis/Docs/Modern UI 2/images/screen2.png | Bin 18437 -> 0 bytes .../nsis/Docs/Modern UI/Changelog.txt | 268 -- .../nsis/Docs/Modern UI/License.txt | 10 - .../nsis/Docs/Modern UI/Readme.html | 1158 --------- .../nsis/Docs/Modern UI/images/closed.gif | Bin 203 -> 0 bytes .../nsis/Docs/Modern UI/images/header.gif | Bin 6023 -> 0 bytes .../nsis/Docs/Modern UI/images/open.gif | Bin 138 -> 0 bytes .../nsis/Docs/Modern UI/images/screen1.png | Bin 15647 -> 0 bytes .../nsis/Docs/Modern UI/images/screen2.png | Bin 18437 -> 0 bytes .../nsis/Docs/MultiUser/Readme.html | 412 --- KattekerCreator/nsis/Docs/NSISdl/License.txt | 18 - KattekerCreator/nsis/Docs/NSISdl/ReadMe.txt | 92 - KattekerCreator/nsis/Docs/Splash/splash.txt | 41 - .../nsis/Docs/StartMenu/Readme.txt | 47 - KattekerCreator/nsis/Docs/StrFunc/StrFunc.txt | 707 ------ KattekerCreator/nsis/Docs/System/System.html | 880 ------- KattekerCreator/nsis/Docs/System/WhatsNew.txt | 46 - KattekerCreator/nsis/Docs/VPatch/Readme.html | 334 --- .../nsis/Docs/makensisw/License.txt | 17 - .../nsis/Docs/makensisw/Readme.txt | 228 -- .../nsis/Docs/nsDialogs/Readme.html | 838 ------ KattekerCreator/nsis/Docs/nsExec/nsExec.txt | 53 - .../nsis/Examples/AdvSplash/Example.nsi | 35 - .../nsis/Examples/Banner/Example.nsi | 38 - .../nsis/Examples/BgImage/Example.nsi | 101 - KattekerCreator/nsis/Examples/FileFunc.ini | 91 - KattekerCreator/nsis/Examples/FileFunc.nsi | 732 ------ .../nsis/Examples/FileFuncTest.nsi | 572 ----- .../nsis/Examples/InstallOptions/test.ini | 76 - .../nsis/Examples/InstallOptions/test.nsi | 84 - .../nsis/Examples/InstallOptions/testimgs.ini | 65 - .../nsis/Examples/InstallOptions/testimgs.nsi | 59 - .../nsis/Examples/InstallOptions/testlink.ini | 44 - .../nsis/Examples/InstallOptions/testlink.nsi | 58 - .../Examples/InstallOptions/testnotify.ini | 105 - .../Examples/InstallOptions/testnotify.nsi | 133 - KattekerCreator/nsis/Examples/Library.nsi | 130 - KattekerCreator/nsis/Examples/LogicLib.nsi | 619 ----- KattekerCreator/nsis/Examples/Math/math.nsi | 33 - .../nsis/Examples/Math/mathtest.ini | 101 - .../nsis/Examples/Math/mathtest.nsi | 171 -- .../nsis/Examples/Math/mathtest.txt | 7 - KattekerCreator/nsis/Examples/Memento.nsi | 79 - .../nsis/Examples/Modern UI/Basic.nsi | 88 - .../nsis/Examples/Modern UI/HeaderBitmap.nsi | 90 - .../nsis/Examples/Modern UI/MultiLanguage.nsi | 204 -- .../nsis/Examples/Modern UI/StartMenu.nsi | 114 - .../nsis/Examples/Modern UI/WelcomeFinish.nsi | 92 - KattekerCreator/nsis/Examples/NSISMenu.nsi | 300 --- .../nsis/Examples/Plugin/exdll-vs2008.sln | 20 - .../nsis/Examples/Plugin/exdll-vs2008.vcproj | 266 -- KattekerCreator/nsis/Examples/Plugin/exdll.c | 42 - .../nsis/Examples/Plugin/exdll.dpr | 118 - .../nsis/Examples/Plugin/exdll.dsp | 112 - .../nsis/Examples/Plugin/exdll.dsw | 29 - .../nsis/Examples/Plugin/exdll_with_unit.dpr | 93 - .../nsis/Examples/Plugin/extdll.inc | 145 -- KattekerCreator/nsis/Examples/Plugin/nsis.pas | 209 -- .../nsis/Examples/Plugin/nsis/api.h | 85 - .../nsis/Examples/Plugin/nsis/nsis_tchar.h | 229 -- .../Plugin/nsis/pluginapi-x86-ansi.lib | Bin 7004 -> 0 bytes .../Plugin/nsis/pluginapi-x86-unicode.lib | Bin 7012 -> 0 bytes .../nsis/Examples/Plugin/nsis/pluginapi.h | 108 - .../nsis/Examples/Splash/Example.nsi | 21 - .../nsis/Examples/StartMenu/Example.nsi | 50 - KattekerCreator/nsis/Examples/StrFunc.nsi | 635 ----- .../nsis/Examples/System/Resource.dll | Bin 31744 -> 0 bytes .../nsis/Examples/System/SysFunc.nsh | 395 --- .../nsis/Examples/System/System.nsh | 413 --- .../nsis/Examples/System/System.nsi | 137 - KattekerCreator/nsis/Examples/TextFunc.ini | 130 - KattekerCreator/nsis/Examples/TextFunc.nsi | 834 ------ .../nsis/Examples/TextFuncTest.nsi | 414 --- .../nsis/Examples/UserInfo/UserInfo.nsi | 44 - KattekerCreator/nsis/Examples/UserVars.nsi | 69 - .../nsis/Examples/VPatch/example.nsi | 62 - .../nsis/Examples/VPatch/newfile.txt | 6 - .../nsis/Examples/VPatch/oldfile.txt | 6 - .../nsis/Examples/VPatch/patch.pat | Bin 99 -> 0 bytes KattekerCreator/nsis/Examples/VersionInfo.nsi | 29 - KattekerCreator/nsis/Examples/WordFunc.ini | 107 - KattekerCreator/nsis/Examples/WordFunc.nsi | 535 ---- .../nsis/Examples/WordFuncTest.nsi | 610 ----- KattekerCreator/nsis/Examples/bigtest.nsi | 330 --- KattekerCreator/nsis/Examples/example1.nsi | 40 - KattekerCreator/nsis/Examples/example2.nsi | 92 - KattekerCreator/nsis/Examples/gfx.nsi | 123 - KattekerCreator/nsis/Examples/languages.nsi | 191 -- KattekerCreator/nsis/Examples/makensis.nsi | 1107 -------- .../Examples/nsDialogs/InstallOptions.nsi | 47 - .../nsis/Examples/nsDialogs/example.nsi | 220 -- .../nsis/Examples/nsDialogs/timer.nsi | 107 - .../nsis/Examples/nsDialogs/welcome.nsi | 214 -- KattekerCreator/nsis/Examples/nsExec/test.nsi | 31 - KattekerCreator/nsis/Examples/one-section.nsi | 80 - KattekerCreator/nsis/Examples/primes.nsi | 70 - KattekerCreator/nsis/Examples/rtest.nsi | 93 - KattekerCreator/nsis/Examples/silent.nsi | 63 - KattekerCreator/nsis/Examples/unicode.nsi | 30 - KattekerCreator/nsis/Examples/viewhtml.nsi | 53 - KattekerCreator/nsis/Examples/waplugin.nsi | 205 -- KattekerCreator/nsis/Include/Colors.nsh | 75 - KattekerCreator/nsis/Include/FileFunc.nsh | 2015 --------------- .../nsis/Include/InstallOptions.nsh | 244 -- KattekerCreator/nsis/Include/LangFile.nsh | 191 -- KattekerCreator/nsis/Include/Library.nsh | 885 ------- KattekerCreator/nsis/Include/LogicLib.nsh | 855 ------- KattekerCreator/nsis/Include/MUI.nsh | 1 - KattekerCreator/nsis/Include/MUI2.nsh | 1 - KattekerCreator/nsis/Include/Memento.nsh | 526 ---- KattekerCreator/nsis/Include/MultiUser.nsh | 486 ---- KattekerCreator/nsis/Include/Sections.nsh | 310 --- KattekerCreator/nsis/Include/StrFunc.nsh | 1760 ------------- KattekerCreator/nsis/Include/TextFunc.nsh | 1211 --------- KattekerCreator/nsis/Include/UpgradeDLL.nsh | 207 -- KattekerCreator/nsis/Include/Util.nsh | 184 -- KattekerCreator/nsis/Include/VB6RunTime.nsh | 90 - KattekerCreator/nsis/Include/VPatchLib.nsh | 47 - KattekerCreator/nsis/Include/Win/COM.nsh | 264 -- KattekerCreator/nsis/Include/Win/Propkey.nsh | 51 - KattekerCreator/nsis/Include/Win/WinDef.nsh | 67 - KattekerCreator/nsis/Include/Win/WinError.nsh | 64 - KattekerCreator/nsis/Include/Win/WinNT.nsh | 224 -- KattekerCreator/nsis/Include/Win/WinUser.nsh | 199 -- KattekerCreator/nsis/Include/WinCore.nsh | 231 -- KattekerCreator/nsis/Include/WinMessages.nsh | 827 ------ KattekerCreator/nsis/Include/WinVer.nsh | 558 ---- KattekerCreator/nsis/Include/WordFunc.nsh | 1800 ------------- KattekerCreator/nsis/Include/nsDialogs.nsh | 1163 --------- KattekerCreator/nsis/Include/x64.nsh | 111 - KattekerCreator/nsis/NSIS.chm | Bin 397958 -> 0 bytes .../nsis/Plugins/x86-ansi/AdvSplash.dll | Bin 5632 -> 0 bytes .../nsis/Plugins/x86-ansi/Banner.dll | Bin 4096 -> 0 bytes .../nsis/Plugins/x86-ansi/BgImage.dll | Bin 7680 -> 0 bytes .../nsis/Plugins/x86-ansi/Dialer.dll | Bin 3584 -> 0 bytes .../nsis/Plugins/x86-ansi/InstallOptions.dll | Bin 14848 -> 0 bytes .../nsis/Plugins/x86-ansi/LangDLL.dll | Bin 5632 -> 0 bytes .../nsis/Plugins/x86-ansi/Math.dll | Bin 67584 -> 0 bytes .../nsis/Plugins/x86-ansi/NSISdl.dll | Bin 14848 -> 0 bytes .../nsis/Plugins/x86-ansi/Splash.dll | Bin 4096 -> 0 bytes .../nsis/Plugins/x86-ansi/StartMenu.dll | Bin 7680 -> 0 bytes .../nsis/Plugins/x86-ansi/System.dll | Bin 11776 -> 0 bytes .../nsis/Plugins/x86-ansi/TypeLib.dll | Bin 3584 -> 0 bytes .../nsis/Plugins/x86-ansi/UserInfo.dll | Bin 4096 -> 0 bytes .../nsis/Plugins/x86-ansi/VPatch.dll | Bin 8192 -> 0 bytes .../nsis/Plugins/x86-ansi/nsDialogs.dll | Bin 9728 -> 0 bytes .../nsis/Plugins/x86-ansi/nsExec.dll | Bin 6656 -> 0 bytes .../nsis/Plugins/x86-unicode/AdvSplash.dll | Bin 6144 -> 0 bytes .../nsis/Plugins/x86-unicode/Banner.dll | Bin 4096 -> 0 bytes .../nsis/Plugins/x86-unicode/BgImage.dll | Bin 7680 -> 0 bytes .../nsis/Plugins/x86-unicode/Dialer.dll | Bin 3584 -> 0 bytes .../Plugins/x86-unicode/InstallOptions.dll | Bin 15872 -> 0 bytes .../nsis/Plugins/x86-unicode/LangDLL.dll | Bin 5632 -> 0 bytes .../nsis/Plugins/x86-unicode/Math.dll | Bin 69120 -> 0 bytes .../nsis/Plugins/x86-unicode/NSISdl.dll | Bin 15360 -> 0 bytes .../nsis/Plugins/x86-unicode/Splash.dll | Bin 4096 -> 0 bytes .../nsis/Plugins/x86-unicode/StartMenu.dll | Bin 7680 -> 0 bytes .../nsis/Plugins/x86-unicode/System.dll | Bin 12288 -> 0 bytes .../nsis/Plugins/x86-unicode/TypeLib.dll | Bin 3584 -> 0 bytes .../nsis/Plugins/x86-unicode/UserInfo.dll | Bin 4096 -> 0 bytes .../nsis/Plugins/x86-unicode/VPatch.dll | Bin 8704 -> 0 bytes .../nsis/Plugins/x86-unicode/nsDialogs.dll | Bin 9728 -> 0 bytes .../nsis/Plugins/x86-unicode/nsExec.dll | Bin 6656 -> 0 bytes KattekerCreator/nsis/Stubs/bzip2-x86-ansi | Bin 36864 -> 0 bytes KattekerCreator/nsis/Stubs/bzip2-x86-unicode | Bin 37888 -> 0 bytes .../nsis/Stubs/bzip2_solid-x86-ansi | Bin 36864 -> 0 bytes .../nsis/Stubs/bzip2_solid-x86-unicode | Bin 38400 -> 0 bytes KattekerCreator/nsis/Stubs/lzma-x86-ansi | Bin 36352 -> 0 bytes KattekerCreator/nsis/Stubs/lzma-x86-unicode | Bin 37888 -> 0 bytes .../nsis/Stubs/lzma_solid-x86-ansi | Bin 36864 -> 0 bytes .../nsis/Stubs/lzma_solid-x86-unicode | Bin 38400 -> 0 bytes KattekerCreator/nsis/Stubs/uninst | Bin 766 -> 0 bytes KattekerCreator/nsis/Stubs/zlib-x86-ansi | Bin 37888 -> 0 bytes KattekerCreator/nsis/Stubs/zlib-x86-unicode | Bin 39424 -> 0 bytes .../nsis/Stubs/zlib_solid-x86-ansi | Bin 37888 -> 0 bytes .../nsis/Stubs/zlib_solid-x86-unicode | Bin 39424 -> 0 bytes KattekerCreator/nsis/makensis.exe | Bin 2560 -> 0 bytes KattekerCreator/nsis/makensisw.exe | Bin 1131008 -> 0 bytes KattekerCreator/nsis/nsisconf.nsh | 62 - app-stub/.vscode/launch.json | 45 + app-stub/Cargo.lock | 168 ++ app-stub/Cargo.toml | 13 + app-stub/src/main.rs | 120 + nuget.config | 6 + .../IconExtractor/IconExtractor.cs | 43 +- src/IconExtractor/IconExtractor.csproj | 13 + .../IconExtractor/IconUtil.cs | 9 +- .../IconExtractor/NativeMethods.cs | 1 + src/Katteker.Changelog/ChangelogExtension.cs | 32 + .../Katteker.Changelog.csproj | 16 + .../Properties/AssemblyInfo.cs | 22 + .../Katteker.Gui}/ChangelogHelper.cs | 0 .../Katteker.Gui}/Katteker.Gui.nuspec | 0 .../Katteker.UserInterface.csproj | 17 +- .../Katteker.Gui}/NativeMethods.cs | 0 .../Katteker.Gui}/Properties/AssemblyInfo.cs | 0 .../Properties/Resources.Designer.cs | 0 .../Katteker.Gui}/Properties/Resources.resx | 0 .../Katteker.Gui}/UpdateWindow.Designer.cs | 24 +- .../Katteker.Gui}/UpdateWindow.cs | 17 +- .../Katteker.Gui}/UpdateWindow.resx | 0 .../Katteker.Gui}/UserInterface.cs | 19 +- {Katteker.Gui => src/Katteker.Gui}/app.config | 0 src/Katteker.Test/Katteker.Test.csproj | 85 + .../Katteker.Test}/KattekerLibTest.cs | 17 +- .../Katteker.Test}/testdata/Autofac.dll | Bin .../Katteker.Test}/testdata/Autofac.xml | 0 .../Katteker.Test}/testdata/Example.exe | Bin .../testdata/Example.exe.config | 0 .../testdata/Example.vshost.exe | Bin .../testdata/Katteker.UserInterface.dll | Bin .../Katteker.UserInterface.dll.config | 0 .../testdata/Katteker.UserInterface.xml | 0 .../Katteker.Test}/testdata/Katteker.dll | Bin .../Microsoft.Practices.ServiceLocation.dll | Bin .../Microsoft.Practices.ServiceLocation.xml | 0 .../testdata/Prism.Autofac.Wpf.dll | Bin .../testdata/Prism.Autofac.Wpf.dll.config | 0 .../testdata/Prism.Autofac.Wpf.xml | 0 .../Katteker.Test}/testdata/Prism.Wpf.dll | Bin .../Katteker.Test}/testdata/Prism.Wpf.xml | 0 .../Katteker.Test}/testdata/Prism.dll | Bin .../Katteker.Test}/testdata/Prism.xml | 0 .../testdata/System.Windows.Interactivity.dll | Bin .../Katteker.Test/testdata}/changelog.md | 0 .../testdata/squirrelHelperInfo.json | 0 src/Katteker/3rdParty/IntExtensions.cs | 34 + src/Katteker/3rdParty/SemVersion.cs | 578 +++++ src/Katteker/3rdParty/SimpleJson.cs | 2204 ++++++++++++++++ src/Katteker/Changelog/ChangelogFile.cs | 90 + src/Katteker/Changelog/ChangelogFileType.cs | 9 + .../Exceptions}/KattekerUpdateException.cs | 8 +- src/Katteker/Katteker.csproj | 18 + src/Katteker/Properties/AssemblyInfo.cs | 22 + .../Katteker/Types}/KattekerConfig.cs | 39 +- src/Katteker/Types/ReleaseEntry.cs | 201 ++ {Katteker => src/Katteker/Types}/Releases.cs | 16 +- .../Katteker/Types}/UpdateInfo.cs | 7 +- {Katteker => src/Katteker}/UpdateManager.cs | 166 +- .../Katteker/Utilities}/Constants.cs | 4 +- .../Katteker/Utilities}/Utility.cs | 24 +- src/Katteker/Utilities/VersionUtils.cs | 43 + src/KattekerCreator/7zip/7za.exe | Bin 0 -> 1152000 bytes src/KattekerCreator/7zip/License.txt | 31 + src/KattekerCreator/7zip/history.txt | 111 + src/KattekerCreator/7zip/readme.txt | 124 + .../CompilerErrorCollection.cs | 16 + src/KattekerCreator/Creator.cs | 204 ++ .../KattekerCreator/CreatorArguments.cs | 91 +- .../Exceptions/KattekerCreatorException.cs | 3 +- src/KattekerCreator/Helper/Utils.cs | 152 ++ .../KattekerCreator}/KattekerCreator.csproj | 51 +- src/KattekerCreator/Program.cs | 8 + .../Properties/AssemblyInfo.cs | 22 + .../PublishProfiles/FolderProfile.pubxml | 0 .../Properties/launchSettings.json | 8 + src/KattekerCreator/SetupTemplate.Code.cs | 36 + .../KattekerCreator}/SetupTemplate.cs | 238 +- .../KattekerCreator}/SetupTemplate.tt | 40 +- src/KattekerCreator/Types/AssemblyFileInfo.cs | 121 + src/KattekerCreator/Types/Nsis.cs | 45 + src/KattekerCreator/Types/SevenZip.cs | 33 + .../Types/TemporaryDirectory.cs | 32 + .../KattekerCreator}/app.ico | Bin .../contrib/LoadingBar_Icon.exe | Bin .../KattekerCreator}/contrib/signtool.exe | Bin .../KattekerCreator}/contrib/uninstall.ico | Bin .../contrib/wait-for-process.exe | Bin 0 -> 402432 bytes src/KattekerCreator/nsis/nsis-3.05.zip | Bin 0 -> 3078794 bytes wait-for-process/.gitignore | 1 + wait-for-process/.vscode/launch.json | 45 + wait-for-process/Cargo.lock | 207 ++ wait-for-process/Cargo.toml | 10 + wait-for-process/src/main.rs | 39 + 592 files changed, 5577 insertions(+), 71276 deletions(-) delete mode 100644 AppStub/App.config delete mode 100644 AppStub/AppStub.csproj delete mode 100644 AppStub/Program.cs delete mode 100644 AppStub/Properties/AssemblyInfo.cs delete mode 100644 AppStub/packages.config delete mode 100644 AppStubEx/App.config delete mode 100644 AppStubEx/AppEntry.cs delete mode 100644 AppStubEx/AppStubEx.csproj delete mode 100644 AppStubEx/IniFile.cs delete mode 100644 AppStubEx/InstallerUx.cs delete mode 100644 AppStubEx/InstallerUx.designer.cs delete mode 100644 AppStubEx/InstallerUx.resx delete mode 100644 AppStubEx/Program.cs delete mode 100644 AppStubEx/Properties/AssemblyInfo.cs delete mode 100644 AppStubEx/Taskbar.cs delete mode 100644 Example/Annotations.cs delete mode 100644 Example/App.config delete mode 100644 Example/App.xaml delete mode 100644 Example/App.xaml.cs delete mode 100644 Example/Example.csproj delete mode 100644 Example/MainWindow.xaml delete mode 100644 Example/MainWindow.xaml.cs delete mode 100644 Example/MainWindowViewModel.cs delete mode 100644 Example/Properties/AssemblyInfo.cs delete mode 100644 Example/Properties/Resources.Designer.cs delete mode 100644 Example/Properties/Resources.resx delete mode 100644 Example/Properties/Settings.Designer.cs delete mode 100644 Example/Properties/Settings.settings delete mode 100644 Example/nsis3-install.ico delete mode 100644 Example/packages.config delete mode 100644 ExampleCore/Annotations.cs create mode 100644 ExampleCore/Katteker.config create mode 100644 ExampleCore/Properties/launchSettings.json delete mode 100644 Katteker.Gui/packages.config delete mode 100644 Katteker.Lib.sln delete mode 100644 Katteker.Test/Katteker.Test.csproj delete mode 100644 Katteker.Test/Properties/AssemblyInfo.cs delete mode 100644 Katteker.Test/app.config delete mode 100644 Katteker.Test/packages.config delete mode 100644 Katteker.Test/testdata/changelog.md delete mode 100644 Katteker/ChangelogHelper.cs delete mode 100644 Katteker/Common/MarkdownSharp.cs delete mode 100644 Katteker/Common/SemVersion.cs delete mode 100644 Katteker/GlobalSuppressions.cs delete mode 100644 Katteker/Katteker.csproj delete mode 100644 Katteker/ReleaseEntry.cs delete mode 100644 Katteker/VersionUtils.cs delete mode 100644 KattekerCreator/Helper/Log.cs delete mode 100644 KattekerCreator/Helper/Utils.cs delete mode 100644 KattekerCreator/KattekerCreatorCore.csproj delete mode 100644 KattekerCreator/Program.cs delete mode 100644 KattekerCreator/Properties/launchSettings.json delete mode 100644 KattekerCreator/SetupTemplate.Code.cs delete mode 100644 KattekerCreator/T4Extensions.cs delete mode 100644 KattekerCreator/Types/AssemblyFileInfo.cs delete mode 100644 KattekerCreator/Types/Minimatcher.cs delete mode 100644 KattekerCreator/Types/PathFragments.cs delete mode 100644 KattekerCreator/Types/PhysicalFile.cs delete mode 100644 KattekerCreator/Types/TemporaryDirectory.cs delete mode 100644 KattekerCreator/nsis/COPYING delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Checks/big.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Checks/classic-cross.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Checks/classic.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Checks/colorful.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Checks/grey-cross.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Checks/grey.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Checks/modern.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Checks/red-round.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Checks/red.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Checks/simple-round.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Checks/simple-round2.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Checks/simple.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/nsis-r.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/nsis.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/nsis3-branding-r.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/nsis3-branding.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/nsis3-grey-right.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/nsis3-grey.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/nsis3-metro-right.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/nsis3-metro.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/nsis3-vintage-right.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/nsis3-vintage.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/orange-nsis.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/orange-r-nsis.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/orange-r.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/orange-uninstall-nsis.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/orange-uninstall-r-nsis.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/orange-uninstall-r.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/orange-uninstall.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/orange.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Header/win.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/arrow-install.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/arrow-uninstall.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/arrow2-install.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/arrow2-uninstall.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/box-install.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/box-uninstall.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/classic-install.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/classic-uninstall.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/llama-blue.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/llama-grey.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/modern-install-blue-full.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/modern-install-blue.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/modern-install-colorful.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/modern-install-full.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/modern-install.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/modern-uninstall-blue-full.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/modern-uninstall-blue.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/modern-uninstall-colorful.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/modern-uninstall-full.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/modern-uninstall.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/nsis-menu.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/nsis1-install.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/nsis1-uninstall.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/nsis3-install-alt.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/nsis3-install.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/nsis3-uninstall.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/orange-install-nsis.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/orange-install.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/orange-uninstall-nsis.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/orange-uninstall.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/pixel-install.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/pixel-uninstall.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/win-install.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Icons/win-uninstall.ico delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/arrow.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/llama.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/nsis.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/nsis3-branding.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/nsis3-grey.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/nsis3-metro.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/nsis3-vintage.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/nullsoft.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/orange-nsis.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/orange-uninstall-nsis.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/orange-uninstall.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/orange.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Graphics/Wizard/win.bmp delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Afrikaans.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Afrikaans.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Albanian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Albanian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Arabic.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Arabic.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Armenian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Armenian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Asturian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Asturian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Basque.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Basque.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Belarusian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Belarusian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Bosnian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Bosnian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Breton.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Breton.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Bulgarian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Bulgarian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Catalan.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Catalan.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Corsican.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Corsican.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Croatian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Croatian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Czech.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Czech.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Danish.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Danish.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Dutch.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Dutch.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/English.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/English.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Esperanto.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Esperanto.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Estonian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Estonian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Farsi.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Farsi.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Finnish.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Finnish.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/French.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/French.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Galician.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Galician.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Georgian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Georgian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/German.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/German.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Greek.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Greek.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Hebrew.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Hebrew.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Hindi.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Hindi.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Hungarian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Hungarian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Icelandic.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Icelandic.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Indonesian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Indonesian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Irish.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Irish.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Italian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Italian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Japanese.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Japanese.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Korean.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Korean.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Kurdish.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Kurdish.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Latvian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Latvian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Lithuanian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Lithuanian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Luxembourgish.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Luxembourgish.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Macedonian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Macedonian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Malay.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Malay.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Mongolian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Mongolian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Norwegian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Norwegian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/NorwegianNynorsk.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/NorwegianNynorsk.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Pashto.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Pashto.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Polish.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Polish.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Portuguese.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Portuguese.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/PortugueseBR.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/PortugueseBR.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Romanian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Romanian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Russian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Russian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/ScotsGaelic.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/ScotsGaelic.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Serbian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Serbian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/SerbianLatin.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/SerbianLatin.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/SimpChinese.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/SimpChinese.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Slovak.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Slovak.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Slovenian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Slovenian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Spanish.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Spanish.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/SpanishInternational.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/SpanishInternational.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Swedish.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Swedish.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Tatar.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Tatar.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Thai.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Thai.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/TradChinese.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/TradChinese.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Turkish.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Turkish.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Ukrainian.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Ukrainian.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Uzbek.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Uzbek.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Vietnamese.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Vietnamese.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Welsh.nlf delete mode 100644 KattekerCreator/nsis/Contrib/Language files/Welsh.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/Deprecated.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/Interface.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/Localization.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/MUI2.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/Pages.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/Pages/Components.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/Pages/Directory.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/Pages/Finish.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/Pages/InstallFiles.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/Pages/License.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/Pages/StartMenu.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/Pages/UninstallConfirm.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI 2/Pages/Welcome.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI/System.nsh delete mode 100644 KattekerCreator/nsis/Contrib/Modern UI/ioSpecial.ini delete mode 100644 KattekerCreator/nsis/Contrib/UIs/default.exe delete mode 100644 KattekerCreator/nsis/Contrib/UIs/modern.exe delete mode 100644 KattekerCreator/nsis/Contrib/UIs/modern_headerbmp.exe delete mode 100644 KattekerCreator/nsis/Contrib/UIs/modern_headerbmpr.exe delete mode 100644 KattekerCreator/nsis/Contrib/UIs/modern_nodesc.exe delete mode 100644 KattekerCreator/nsis/Contrib/UIs/modern_smalldesc.exe delete mode 100644 KattekerCreator/nsis/Contrib/UIs/sdbarker_tiny.exe delete mode 100644 KattekerCreator/nsis/Contrib/zip2exe/Base.nsh delete mode 100644 KattekerCreator/nsis/Contrib/zip2exe/Classic.nsh delete mode 100644 KattekerCreator/nsis/Contrib/zip2exe/Modern.nsh delete mode 100644 KattekerCreator/nsis/Docs/AdvSplash/advsplash.txt delete mode 100644 KattekerCreator/nsis/Docs/Banner/Readme.txt delete mode 100644 KattekerCreator/nsis/Docs/BgImage/BgImage.txt delete mode 100644 KattekerCreator/nsis/Docs/Dialer/Dialer.txt delete mode 100644 KattekerCreator/nsis/Docs/InstallOptions/Changelog.txt delete mode 100644 KattekerCreator/nsis/Docs/InstallOptions/Readme.html delete mode 100644 KattekerCreator/nsis/Docs/Math/Math.txt delete mode 100644 KattekerCreator/nsis/Docs/Modern UI 2/License.txt delete mode 100644 KattekerCreator/nsis/Docs/Modern UI 2/Readme.html delete mode 100644 KattekerCreator/nsis/Docs/Modern UI 2/images/closed.gif delete mode 100644 KattekerCreator/nsis/Docs/Modern UI 2/images/header.gif delete mode 100644 KattekerCreator/nsis/Docs/Modern UI 2/images/open.gif delete mode 100644 KattekerCreator/nsis/Docs/Modern UI 2/images/screen1.png delete mode 100644 KattekerCreator/nsis/Docs/Modern UI 2/images/screen2.png delete mode 100644 KattekerCreator/nsis/Docs/Modern UI/Changelog.txt delete mode 100644 KattekerCreator/nsis/Docs/Modern UI/License.txt delete mode 100644 KattekerCreator/nsis/Docs/Modern UI/Readme.html delete mode 100644 KattekerCreator/nsis/Docs/Modern UI/images/closed.gif delete mode 100644 KattekerCreator/nsis/Docs/Modern UI/images/header.gif delete mode 100644 KattekerCreator/nsis/Docs/Modern UI/images/open.gif delete mode 100644 KattekerCreator/nsis/Docs/Modern UI/images/screen1.png delete mode 100644 KattekerCreator/nsis/Docs/Modern UI/images/screen2.png delete mode 100644 KattekerCreator/nsis/Docs/MultiUser/Readme.html delete mode 100644 KattekerCreator/nsis/Docs/NSISdl/License.txt delete mode 100644 KattekerCreator/nsis/Docs/NSISdl/ReadMe.txt delete mode 100644 KattekerCreator/nsis/Docs/Splash/splash.txt delete mode 100644 KattekerCreator/nsis/Docs/StartMenu/Readme.txt delete mode 100644 KattekerCreator/nsis/Docs/StrFunc/StrFunc.txt delete mode 100644 KattekerCreator/nsis/Docs/System/System.html delete mode 100644 KattekerCreator/nsis/Docs/System/WhatsNew.txt delete mode 100644 KattekerCreator/nsis/Docs/VPatch/Readme.html delete mode 100644 KattekerCreator/nsis/Docs/makensisw/License.txt delete mode 100644 KattekerCreator/nsis/Docs/makensisw/Readme.txt delete mode 100644 KattekerCreator/nsis/Docs/nsDialogs/Readme.html delete mode 100644 KattekerCreator/nsis/Docs/nsExec/nsExec.txt delete mode 100644 KattekerCreator/nsis/Examples/AdvSplash/Example.nsi delete mode 100644 KattekerCreator/nsis/Examples/Banner/Example.nsi delete mode 100644 KattekerCreator/nsis/Examples/BgImage/Example.nsi delete mode 100644 KattekerCreator/nsis/Examples/FileFunc.ini delete mode 100644 KattekerCreator/nsis/Examples/FileFunc.nsi delete mode 100644 KattekerCreator/nsis/Examples/FileFuncTest.nsi delete mode 100644 KattekerCreator/nsis/Examples/InstallOptions/test.ini delete mode 100644 KattekerCreator/nsis/Examples/InstallOptions/test.nsi delete mode 100644 KattekerCreator/nsis/Examples/InstallOptions/testimgs.ini delete mode 100644 KattekerCreator/nsis/Examples/InstallOptions/testimgs.nsi delete mode 100644 KattekerCreator/nsis/Examples/InstallOptions/testlink.ini delete mode 100644 KattekerCreator/nsis/Examples/InstallOptions/testlink.nsi delete mode 100644 KattekerCreator/nsis/Examples/InstallOptions/testnotify.ini delete mode 100644 KattekerCreator/nsis/Examples/InstallOptions/testnotify.nsi delete mode 100644 KattekerCreator/nsis/Examples/Library.nsi delete mode 100644 KattekerCreator/nsis/Examples/LogicLib.nsi delete mode 100644 KattekerCreator/nsis/Examples/Math/math.nsi delete mode 100644 KattekerCreator/nsis/Examples/Math/mathtest.ini delete mode 100644 KattekerCreator/nsis/Examples/Math/mathtest.nsi delete mode 100644 KattekerCreator/nsis/Examples/Math/mathtest.txt delete mode 100644 KattekerCreator/nsis/Examples/Memento.nsi delete mode 100644 KattekerCreator/nsis/Examples/Modern UI/Basic.nsi delete mode 100644 KattekerCreator/nsis/Examples/Modern UI/HeaderBitmap.nsi delete mode 100644 KattekerCreator/nsis/Examples/Modern UI/MultiLanguage.nsi delete mode 100644 KattekerCreator/nsis/Examples/Modern UI/StartMenu.nsi delete mode 100644 KattekerCreator/nsis/Examples/Modern UI/WelcomeFinish.nsi delete mode 100644 KattekerCreator/nsis/Examples/NSISMenu.nsi delete mode 100644 KattekerCreator/nsis/Examples/Plugin/exdll-vs2008.sln delete mode 100644 KattekerCreator/nsis/Examples/Plugin/exdll-vs2008.vcproj delete mode 100644 KattekerCreator/nsis/Examples/Plugin/exdll.c delete mode 100644 KattekerCreator/nsis/Examples/Plugin/exdll.dpr delete mode 100644 KattekerCreator/nsis/Examples/Plugin/exdll.dsp delete mode 100644 KattekerCreator/nsis/Examples/Plugin/exdll.dsw delete mode 100644 KattekerCreator/nsis/Examples/Plugin/exdll_with_unit.dpr delete mode 100644 KattekerCreator/nsis/Examples/Plugin/extdll.inc delete mode 100644 KattekerCreator/nsis/Examples/Plugin/nsis.pas delete mode 100644 KattekerCreator/nsis/Examples/Plugin/nsis/api.h delete mode 100644 KattekerCreator/nsis/Examples/Plugin/nsis/nsis_tchar.h delete mode 100644 KattekerCreator/nsis/Examples/Plugin/nsis/pluginapi-x86-ansi.lib delete mode 100644 KattekerCreator/nsis/Examples/Plugin/nsis/pluginapi-x86-unicode.lib delete mode 100644 KattekerCreator/nsis/Examples/Plugin/nsis/pluginapi.h delete mode 100644 KattekerCreator/nsis/Examples/Splash/Example.nsi delete mode 100644 KattekerCreator/nsis/Examples/StartMenu/Example.nsi delete mode 100644 KattekerCreator/nsis/Examples/StrFunc.nsi delete mode 100644 KattekerCreator/nsis/Examples/System/Resource.dll delete mode 100644 KattekerCreator/nsis/Examples/System/SysFunc.nsh delete mode 100644 KattekerCreator/nsis/Examples/System/System.nsh delete mode 100644 KattekerCreator/nsis/Examples/System/System.nsi delete mode 100644 KattekerCreator/nsis/Examples/TextFunc.ini delete mode 100644 KattekerCreator/nsis/Examples/TextFunc.nsi delete mode 100644 KattekerCreator/nsis/Examples/TextFuncTest.nsi delete mode 100644 KattekerCreator/nsis/Examples/UserInfo/UserInfo.nsi delete mode 100644 KattekerCreator/nsis/Examples/UserVars.nsi delete mode 100644 KattekerCreator/nsis/Examples/VPatch/example.nsi delete mode 100644 KattekerCreator/nsis/Examples/VPatch/newfile.txt delete mode 100644 KattekerCreator/nsis/Examples/VPatch/oldfile.txt delete mode 100644 KattekerCreator/nsis/Examples/VPatch/patch.pat delete mode 100644 KattekerCreator/nsis/Examples/VersionInfo.nsi delete mode 100644 KattekerCreator/nsis/Examples/WordFunc.ini delete mode 100644 KattekerCreator/nsis/Examples/WordFunc.nsi delete mode 100644 KattekerCreator/nsis/Examples/WordFuncTest.nsi delete mode 100644 KattekerCreator/nsis/Examples/bigtest.nsi delete mode 100644 KattekerCreator/nsis/Examples/example1.nsi delete mode 100644 KattekerCreator/nsis/Examples/example2.nsi delete mode 100644 KattekerCreator/nsis/Examples/gfx.nsi delete mode 100644 KattekerCreator/nsis/Examples/languages.nsi delete mode 100644 KattekerCreator/nsis/Examples/makensis.nsi delete mode 100644 KattekerCreator/nsis/Examples/nsDialogs/InstallOptions.nsi delete mode 100644 KattekerCreator/nsis/Examples/nsDialogs/example.nsi delete mode 100644 KattekerCreator/nsis/Examples/nsDialogs/timer.nsi delete mode 100644 KattekerCreator/nsis/Examples/nsDialogs/welcome.nsi delete mode 100644 KattekerCreator/nsis/Examples/nsExec/test.nsi delete mode 100644 KattekerCreator/nsis/Examples/one-section.nsi delete mode 100644 KattekerCreator/nsis/Examples/primes.nsi delete mode 100644 KattekerCreator/nsis/Examples/rtest.nsi delete mode 100644 KattekerCreator/nsis/Examples/silent.nsi delete mode 100644 KattekerCreator/nsis/Examples/unicode.nsi delete mode 100644 KattekerCreator/nsis/Examples/viewhtml.nsi delete mode 100644 KattekerCreator/nsis/Examples/waplugin.nsi delete mode 100644 KattekerCreator/nsis/Include/Colors.nsh delete mode 100644 KattekerCreator/nsis/Include/FileFunc.nsh delete mode 100644 KattekerCreator/nsis/Include/InstallOptions.nsh delete mode 100644 KattekerCreator/nsis/Include/LangFile.nsh delete mode 100644 KattekerCreator/nsis/Include/Library.nsh delete mode 100644 KattekerCreator/nsis/Include/LogicLib.nsh delete mode 100644 KattekerCreator/nsis/Include/MUI.nsh delete mode 100644 KattekerCreator/nsis/Include/MUI2.nsh delete mode 100644 KattekerCreator/nsis/Include/Memento.nsh delete mode 100644 KattekerCreator/nsis/Include/MultiUser.nsh delete mode 100644 KattekerCreator/nsis/Include/Sections.nsh delete mode 100644 KattekerCreator/nsis/Include/StrFunc.nsh delete mode 100644 KattekerCreator/nsis/Include/TextFunc.nsh delete mode 100644 KattekerCreator/nsis/Include/UpgradeDLL.nsh delete mode 100644 KattekerCreator/nsis/Include/Util.nsh delete mode 100644 KattekerCreator/nsis/Include/VB6RunTime.nsh delete mode 100644 KattekerCreator/nsis/Include/VPatchLib.nsh delete mode 100644 KattekerCreator/nsis/Include/Win/COM.nsh delete mode 100644 KattekerCreator/nsis/Include/Win/Propkey.nsh delete mode 100644 KattekerCreator/nsis/Include/Win/WinDef.nsh delete mode 100644 KattekerCreator/nsis/Include/Win/WinError.nsh delete mode 100644 KattekerCreator/nsis/Include/Win/WinNT.nsh delete mode 100644 KattekerCreator/nsis/Include/Win/WinUser.nsh delete mode 100644 KattekerCreator/nsis/Include/WinCore.nsh delete mode 100644 KattekerCreator/nsis/Include/WinMessages.nsh delete mode 100644 KattekerCreator/nsis/Include/WinVer.nsh delete mode 100644 KattekerCreator/nsis/Include/WordFunc.nsh delete mode 100644 KattekerCreator/nsis/Include/nsDialogs.nsh delete mode 100644 KattekerCreator/nsis/Include/x64.nsh delete mode 100644 KattekerCreator/nsis/NSIS.chm delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/AdvSplash.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/Banner.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/BgImage.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/Dialer.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/InstallOptions.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/LangDLL.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/Math.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/NSISdl.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/Splash.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/StartMenu.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/System.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/TypeLib.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/UserInfo.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/VPatch.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/nsDialogs.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-ansi/nsExec.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/AdvSplash.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/Banner.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/BgImage.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/Dialer.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/InstallOptions.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/LangDLL.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/Math.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/NSISdl.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/Splash.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/StartMenu.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/System.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/TypeLib.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/UserInfo.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/VPatch.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/nsDialogs.dll delete mode 100644 KattekerCreator/nsis/Plugins/x86-unicode/nsExec.dll delete mode 100644 KattekerCreator/nsis/Stubs/bzip2-x86-ansi delete mode 100644 KattekerCreator/nsis/Stubs/bzip2-x86-unicode delete mode 100644 KattekerCreator/nsis/Stubs/bzip2_solid-x86-ansi delete mode 100644 KattekerCreator/nsis/Stubs/bzip2_solid-x86-unicode delete mode 100644 KattekerCreator/nsis/Stubs/lzma-x86-ansi delete mode 100644 KattekerCreator/nsis/Stubs/lzma-x86-unicode delete mode 100644 KattekerCreator/nsis/Stubs/lzma_solid-x86-ansi delete mode 100644 KattekerCreator/nsis/Stubs/lzma_solid-x86-unicode delete mode 100644 KattekerCreator/nsis/Stubs/uninst delete mode 100644 KattekerCreator/nsis/Stubs/zlib-x86-ansi delete mode 100644 KattekerCreator/nsis/Stubs/zlib-x86-unicode delete mode 100644 KattekerCreator/nsis/Stubs/zlib_solid-x86-ansi delete mode 100644 KattekerCreator/nsis/Stubs/zlib_solid-x86-unicode delete mode 100644 KattekerCreator/nsis/makensis.exe delete mode 100644 KattekerCreator/nsis/makensisw.exe delete mode 100644 KattekerCreator/nsis/nsisconf.nsh create mode 100644 app-stub/.vscode/launch.json create mode 100644 app-stub/Cargo.lock create mode 100644 app-stub/Cargo.toml create mode 100644 app-stub/src/main.rs create mode 100644 nuget.config rename {KattekerCreator => src}/IconExtractor/IconExtractor.cs (89%) create mode 100644 src/IconExtractor/IconExtractor.csproj rename {KattekerCreator => src}/IconExtractor/IconUtil.cs (98%) rename {KattekerCreator => src}/IconExtractor/NativeMethods.cs (99%) create mode 100644 src/Katteker.Changelog/ChangelogExtension.cs create mode 100644 src/Katteker.Changelog/Katteker.Changelog.csproj create mode 100644 src/Katteker.Changelog/Properties/AssemblyInfo.cs rename {Katteker.Gui => src/Katteker.Gui}/ChangelogHelper.cs (100%) rename {Katteker.Gui => src/Katteker.Gui}/Katteker.Gui.nuspec (100%) rename {Katteker.Gui => src/Katteker.Gui}/Katteker.UserInterface.csproj (80%) rename {Katteker.Gui => src/Katteker.Gui}/NativeMethods.cs (100%) rename {Katteker.Gui => src/Katteker.Gui}/Properties/AssemblyInfo.cs (100%) rename {Katteker.Gui => src/Katteker.Gui}/Properties/Resources.Designer.cs (100%) rename {Katteker.Gui => src/Katteker.Gui}/Properties/Resources.resx (100%) rename {Katteker.Gui => src/Katteker.Gui}/UpdateWindow.Designer.cs (97%) rename {Katteker.Gui => src/Katteker.Gui}/UpdateWindow.cs (92%) rename {Katteker.Gui => src/Katteker.Gui}/UpdateWindow.resx (100%) rename {Katteker.Gui => src/Katteker.Gui}/UserInterface.cs (74%) rename {Katteker.Gui => src/Katteker.Gui}/app.config (100%) create mode 100644 src/Katteker.Test/Katteker.Test.csproj rename {Katteker.Test => src/Katteker.Test}/KattekerLibTest.cs (79%) rename {Katteker.Test => src/Katteker.Test}/testdata/Autofac.dll (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Autofac.xml (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Example.exe (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Example.exe.config (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Example.vshost.exe (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Katteker.UserInterface.dll (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Katteker.UserInterface.dll.config (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Katteker.UserInterface.xml (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Katteker.dll (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Microsoft.Practices.ServiceLocation.dll (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Microsoft.Practices.ServiceLocation.xml (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Prism.Autofac.Wpf.dll (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Prism.Autofac.Wpf.dll.config (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Prism.Autofac.Wpf.xml (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Prism.Wpf.dll (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Prism.Wpf.xml (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Prism.dll (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/Prism.xml (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/System.Windows.Interactivity.dll (100%) rename {Example => src/Katteker.Test/testdata}/changelog.md (100%) rename {Katteker.Test => src/Katteker.Test}/testdata/squirrelHelperInfo.json (100%) create mode 100644 src/Katteker/3rdParty/IntExtensions.cs create mode 100644 src/Katteker/3rdParty/SemVersion.cs create mode 100644 src/Katteker/3rdParty/SimpleJson.cs create mode 100644 src/Katteker/Changelog/ChangelogFile.cs create mode 100644 src/Katteker/Changelog/ChangelogFileType.cs rename {Katteker => src/Katteker/Exceptions}/KattekerUpdateException.cs (77%) create mode 100644 src/Katteker/Katteker.csproj create mode 100644 src/Katteker/Properties/AssemblyInfo.cs rename {Katteker => src/Katteker/Types}/KattekerConfig.cs (58%) create mode 100644 src/Katteker/Types/ReleaseEntry.cs rename {Katteker => src/Katteker/Types}/Releases.cs (91%) rename {Katteker => src/Katteker/Types}/UpdateInfo.cs (91%) rename {Katteker => src/Katteker}/UpdateManager.cs (55%) rename {Katteker => src/Katteker/Utilities}/Constants.cs (89%) rename {Katteker => src/Katteker/Utilities}/Utility.cs (61%) create mode 100644 src/Katteker/Utilities/VersionUtils.cs create mode 100644 src/KattekerCreator/7zip/7za.exe create mode 100644 src/KattekerCreator/7zip/License.txt create mode 100644 src/KattekerCreator/7zip/history.txt create mode 100644 src/KattekerCreator/7zip/readme.txt create mode 100644 src/KattekerCreator/CompilerErrorCollection.cs create mode 100644 src/KattekerCreator/Creator.cs rename KattekerCreator/ProgramArguments.cs => src/KattekerCreator/CreatorArguments.cs (62%) rename {KattekerCreator => src/KattekerCreator}/Exceptions/KattekerCreatorException.cs (87%) create mode 100644 src/KattekerCreator/Helper/Utils.cs rename {KattekerCreator => src/KattekerCreator}/KattekerCreator.csproj (54%) create mode 100644 src/KattekerCreator/Program.cs create mode 100644 src/KattekerCreator/Properties/AssemblyInfo.cs rename {KattekerCreator => src/KattekerCreator}/Properties/PublishProfiles/FolderProfile.pubxml (100%) create mode 100644 src/KattekerCreator/Properties/launchSettings.json create mode 100644 src/KattekerCreator/SetupTemplate.Code.cs rename {KattekerCreator => src/KattekerCreator}/SetupTemplate.cs (65%) rename {KattekerCreator => src/KattekerCreator}/SetupTemplate.tt (86%) create mode 100644 src/KattekerCreator/Types/AssemblyFileInfo.cs create mode 100644 src/KattekerCreator/Types/Nsis.cs create mode 100644 src/KattekerCreator/Types/SevenZip.cs create mode 100644 src/KattekerCreator/Types/TemporaryDirectory.cs rename {KattekerCreator => src/KattekerCreator}/app.ico (100%) rename {KattekerCreator => src/KattekerCreator}/contrib/LoadingBar_Icon.exe (100%) rename {KattekerCreator => src/KattekerCreator}/contrib/signtool.exe (100%) rename {KattekerCreator => src/KattekerCreator}/contrib/uninstall.ico (100%) create mode 100644 src/KattekerCreator/contrib/wait-for-process.exe create mode 100644 src/KattekerCreator/nsis/nsis-3.05.zip create mode 100644 wait-for-process/.gitignore create mode 100644 wait-for-process/.vscode/launch.json create mode 100644 wait-for-process/Cargo.lock create mode 100644 wait-for-process/Cargo.toml create mode 100644 wait-for-process/src/main.rs diff --git a/.gitignore b/.gitignore index 67687b3..dcaa468 100644 --- a/.gitignore +++ b/.gitignore @@ -116,3 +116,5 @@ nsis/* /KattekerCreator/contrib/AppStub.exe /KattekerCreator/contrib/AppStub.exe.config /.idea +/app-stub/target +/nupkg diff --git a/AppStub/App.config b/AppStub/App.config deleted file mode 100644 index 8e15646..0000000 --- a/AppStub/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/AppStub/AppStub.csproj b/AppStub/AppStub.csproj deleted file mode 100644 index 7b80d38..0000000 --- a/AppStub/AppStub.csproj +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - Debug - AnyCPU - {E746AE0F-BEEA-4C18-9ED8-2E708ED00A5B} - WinExe - AppStub - AppStub - v4.5.2 - 512 - - - - - AnyCPU - true - full - false - ..\KattekerCreator\contrib\ - DEBUG;TRACE - prompt - 4 - latest - - - AnyCPU - pdbonly - true - ..\KattekerCreator\contrib\ - TRACE - prompt - 4 - latest - - - - - - - - - - - - - SemVersion.cs - - - - - - - - - - - - Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}". - - - - \ No newline at end of file diff --git a/AppStub/Program.cs b/AppStub/Program.cs deleted file mode 100644 index 02b2439..0000000 --- a/AppStub/Program.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Reflection; -using System.Windows.Forms; -using Semver; - -namespace AppStub -{ - internal static class Program - { - [STAThread] - private static void Main(string[] args) - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - - try - { - var commandline = string.Join(" ", args); - var location = new FileInfo(Assembly.GetExecutingAssembly().Location); - var directory = location.Directory; - if (directory == null) return; - var files = directory.EnumerateFiles(location.Name, SearchOption.AllDirectories) - .Where(x => x.Directory?.Name.StartsWith("app-") == true); - - var entries = new SortedList(); - - foreach (var file in files) - { - var version = SemVersion.TryParse(file.Directory?.Name.Replace("app-", ""), out var value) - ? value - : new SemVersion(0); - entries.Add(version, file); - } - - var latestVersion = entries.LastOrDefault().Value; - if (latestVersion == null) throw new FileNotFoundException(); - DeleteOldVersionDirectories(entries.Where(x => x.Value != latestVersion)); - using (var process = new Process()) - { - process.StartInfo = - new ProcessStartInfo(latestVersion.FullName) - { - Arguments = commandline, - WorkingDirectory = latestVersion.DirectoryName ?? Assembly.GetExecutingAssembly().Location, - UseShellExecute = false - }; - process.Start(); - process.WaitForExit(); - } - } - catch (Exception e) - { - MessageBox.Show(e.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); - } - } - - private static void DeleteOldVersionDirectories(IEnumerable> dirEntries) - { - if (Debugger.IsAttached) return; - foreach (var directoryInfo in dirEntries) - { - try - { - directoryInfo.Value.Directory?.Delete(true); - } - catch - { - // silently ignore - } - } - } - } -} \ No newline at end of file diff --git a/AppStub/Properties/AssemblyInfo.cs b/AppStub/Properties/AssemblyInfo.cs deleted file mode 100644 index 30a0dee..0000000 --- a/AppStub/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// Allgemeine Informationen über eine Assembly werden über die folgenden -// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, -// die einer Assembly zugeordnet sind. -[assembly: AssemblyTitle("AppStub")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("AppStub")] -[assembly: AssemblyCopyright("Copyright © 2018")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly -// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von -// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. -[assembly: ComVisible(false)] - -// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird -[assembly: Guid("e746ae0f-beea-4c18-9ed8-2e708ed00a5b")] - -// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: -// -// Hauptversion -// Nebenversion -// Buildnummer -// Revision -// -// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, -// übernehmen, indem Sie "*" eingeben: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/AppStub/packages.config b/AppStub/packages.config deleted file mode 100644 index 71f1798..0000000 --- a/AppStub/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/AppStubEx/App.config b/AppStubEx/App.config deleted file mode 100644 index e707b32..0000000 --- a/AppStubEx/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/AppStubEx/AppEntry.cs b/AppStubEx/AppEntry.cs deleted file mode 100644 index cb51529..0000000 --- a/AppStubEx/AppEntry.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.IO; - -namespace Katteker.AppStub -{ - public class AppEntry : IComparable - { - public AppEntry(DirectoryInfo info) - { - DirInfo = info; - Version = SemanticVersion.Parse(info.Name.Replace("app-", "")); - } - - public SemanticVersion Version { get; } - public DirectoryInfo DirInfo { get; } - - public int CompareTo(AppEntry other) => Version.CompareTo(other.Version); - } -} \ No newline at end of file diff --git a/AppStubEx/AppStubEx.csproj b/AppStubEx/AppStubEx.csproj deleted file mode 100644 index f947275..0000000 --- a/AppStubEx/AppStubEx.csproj +++ /dev/null @@ -1,70 +0,0 @@ - - - - - Debug - AnyCPU - {AF7579CC-C0B2-4E5A-B052-00D2991DC715} - WinExe - Katteker.AppStubEx - AppStubEx - v4.5 - 512 - - - - AnyCPU - true - full - false - ..\bin\Debug\ - DEBUG;TRACE - prompt - 4 - true - - - AnyCPU - pdbonly - true - ..\bin\Release\ - TRACE - prompt - 4 - true - - - - - - - - - - - - - - - - - Form - - - InstallerUx.cs - - - - - - - - - - - - InstallerUx.cs - - - - \ No newline at end of file diff --git a/AppStubEx/IniFile.cs b/AppStubEx/IniFile.cs deleted file mode 100644 index dc24985..0000000 --- a/AppStubEx/IniFile.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.IO; -using System.Reflection; -using System.Runtime.InteropServices; -using System.Text; - -namespace Katteker.AppStub -{ - public class IniFile // revision 11 - { - private readonly FileInfo _path; - private readonly string _exe = Assembly.GetExecutingAssembly().GetName().Name; - - [DllImport("kernel32", CharSet = CharSet.Unicode)] - private static extern long WritePrivateProfileString(string section, string key, string value, string filePath); - - [DllImport("kernel32", CharSet = CharSet.Unicode)] - private static extern int GetPrivateProfileString(string section, string key, string Default, StringBuilder retVal, int size, string filePath); - - public IniFile(string iniPath = null) - { - _path = new FileInfo(iniPath ?? _exe + ".ini"); - } - - public string Read(string key, string section = null) - { - var retVal = new StringBuilder(255); - GetPrivateProfileString(section ?? _exe, key, "", retVal, 255, _path.FullName); - return retVal.ToString(); - } - - public void Write(string key, string value, string section = null) - { - WritePrivateProfileString(section ?? _exe, key, value, _path.FullName); - } - - public void DeleteKey(string key, string section = null) - { - Write(key, null, section ?? _exe); - } - - public void DeleteSection(string section = null) - { - Write(null, null, section ?? _exe); - } - - public bool Exists => _path.Exists; - - public bool KeyExists(string key, string section = null) => Read(key, section).Length > 0; - } -} \ No newline at end of file diff --git a/AppStubEx/InstallerUx.cs b/AppStubEx/InstallerUx.cs deleted file mode 100644 index 6bf8986..0000000 --- a/AppStubEx/InstallerUx.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using System.Drawing; -using System.Windows.Forms; - -namespace Katteker.AppStub -{ - public sealed partial class InstallerUx : Form - { - private int _autoCloseCountdown = 10; - - public InstallerUx(string appName) - { - Font = SystemFonts.MessageBoxFont; - InitializeComponent(); - SetLocationAndShow(); - this.appName.Text = appName; - } - - private void SetLocationAndShow() - { - var taskBar = new Taskbar(); - switch (taskBar.Position) - { - case TaskbarPosition.Unknown: - break; - case TaskbarPosition.Left: - Location = new Point(taskBar.Bounds.Left + taskBar.Bounds.Width, taskBar.Bounds.Bottom - Size.Height); - break; - case TaskbarPosition.Top: - Location = new Point(taskBar.Bounds.Right - Size.Width, taskBar.Bounds.Bottom); - break; - case TaskbarPosition.Right: - Location = new Point(taskBar.Bounds.Left - Size.Width, taskBar.Bounds.Bottom - Size.Height); - break; - case TaskbarPosition.Bottom: - Location = new Point(taskBar.Bounds.Right - Size.Width, taskBar.Bounds.Top - Size.Height); - break; - default: - break; - } - Show(); - } - - private void closeBtn_Click(object sender, EventArgs e) - { - Close(); - } - - private void installBtn_Click(object sender, EventArgs e) - { - _autoCloseCountdown = 0; - MessageBox.Show("Hallo Welt"); - } - - private void autoCloseTimer_Tick(object sender, EventArgs e) - { - switch (_autoCloseCountdown) - { - case 1: - Close(); - break; - case 0: - countDownLbl.Text = string.Empty; - autoCloseTimer.Enabled = false; - break; - default: - countDownLbl.Tag = --_autoCloseCountdown; - countDownLbl.Text = _autoCloseCountdown.ToString(); - break; - } - } - } -} \ No newline at end of file diff --git a/AppStubEx/InstallerUx.designer.cs b/AppStubEx/InstallerUx.designer.cs deleted file mode 100644 index e47e9a4..0000000 --- a/AppStubEx/InstallerUx.designer.cs +++ /dev/null @@ -1,149 +0,0 @@ -namespace Katteker.AppStub -{ - sealed partial class InstallerUx - { - /// - /// Erforderliche Designervariable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Verwendete Ressourcen bereinigen. - /// - /// True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Vom Windows Form-Designer generierter Code - - /// - /// Erforderliche Methode für die Designerunterstützung. - /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - this.closeBtn = new System.Windows.Forms.Button(); - this.installBtn = new System.Windows.Forms.Button(); - this.messageLbl = new System.Windows.Forms.Label(); - this.appName = new System.Windows.Forms.Label(); - this.countDownLbl = new System.Windows.Forms.Label(); - this.autoCloseTimer = new System.Windows.Forms.Timer(this.components); - this.SuspendLayout(); - // - // closeBtn - // - this.closeBtn.AutoSize = true; - this.closeBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.closeBtn.FlatAppearance.BorderSize = 0; - this.closeBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204))))); - this.closeBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(63)))), ((int)(((byte)(65))))); - this.closeBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.closeBtn.Font = new System.Drawing.Font("Marlett", 10F); - this.closeBtn.Location = new System.Drawing.Point(249, 0); - this.closeBtn.Margin = new System.Windows.Forms.Padding(0); - this.closeBtn.Name = "closeBtn"; - this.closeBtn.Size = new System.Drawing.Size(31, 26); - this.closeBtn.TabIndex = 1; - this.closeBtn.TabStop = false; - this.closeBtn.Text = "r"; - this.closeBtn.UseVisualStyleBackColor = true; - this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); - // - // installBtn - // - this.installBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.installBtn.FlatAppearance.BorderSize = 0; - this.installBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(122)))), ((int)(((byte)(204))))); - this.installBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(63)))), ((int)(((byte)(65))))); - this.installBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.installBtn.Location = new System.Drawing.Point(192, 59); - this.installBtn.Margin = new System.Windows.Forms.Padding(0); - this.installBtn.Name = "installBtn"; - this.installBtn.Size = new System.Drawing.Size(77, 30); - this.installBtn.TabIndex = 2; - this.installBtn.TabStop = false; - this.installBtn.Text = "Install"; - this.installBtn.UseVisualStyleBackColor = true; - this.installBtn.Click += new System.EventHandler(this.installBtn_Click); - // - // messageLbl - // - this.messageLbl.AutoSize = true; - this.messageLbl.Location = new System.Drawing.Point(11, 68); - this.messageLbl.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.messageLbl.Name = "messageLbl"; - this.messageLbl.Size = new System.Drawing.Size(93, 13); - this.messageLbl.TabIndex = 3; - this.messageLbl.Text = "Upgrade available"; - // - // appName - // - this.appName.AutoSize = true; - this.appName.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.appName.Location = new System.Drawing.Point(13, 13); - this.appName.Name = "appName"; - this.appName.Size = new System.Drawing.Size(80, 20); - this.appName.TabIndex = 4; - this.appName.Text = "AppName"; - // - // countDownLbl - // - this.countDownLbl.AutoSize = true; - this.countDownLbl.BackColor = System.Drawing.Color.Transparent; - this.countDownLbl.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.countDownLbl.ForeColor = System.Drawing.SystemColors.ControlDark; - this.countDownLbl.Location = new System.Drawing.Point(229, 5); - this.countDownLbl.Name = "countDownLbl"; - this.countDownLbl.Size = new System.Drawing.Size(24, 17); - this.countDownLbl.TabIndex = 5; - this.countDownLbl.Tag = 10; - this.countDownLbl.Text = "10"; - this.countDownLbl.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - // autoCloseTimer - // - this.autoCloseTimer.Enabled = true; - this.autoCloseTimer.Interval = 1000; - this.autoCloseTimer.Tick += new System.EventHandler(this.autoCloseTimer_Tick); - // - // InstallerUx - // - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; - this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(45)))), ((int)(((byte)(48))))); - this.ClientSize = new System.Drawing.Size(278, 98); - this.ControlBox = false; - this.Controls.Add(this.countDownLbl); - this.Controls.Add(this.appName); - this.Controls.Add(this.messageLbl); - this.Controls.Add(this.installBtn); - this.Controls.Add(this.closeBtn); - this.ForeColor = System.Drawing.SystemColors.Control; - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; - this.Location = new System.Drawing.Point(30, 0); - this.Name = "InstallerUx"; - this.ShowIcon = false; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; - this.TopMost = true; - this.ResumeLayout(false); - this.PerformLayout(); - - } - - #endregion - private System.Windows.Forms.Button closeBtn; - private System.Windows.Forms.Button installBtn; - private System.Windows.Forms.Label messageLbl; - private System.Windows.Forms.Label appName; - private System.Windows.Forms.Label countDownLbl; - private System.Windows.Forms.Timer autoCloseTimer; - } -} - diff --git a/AppStubEx/InstallerUx.resx b/AppStubEx/InstallerUx.resx deleted file mode 100644 index 22570e0..0000000 --- a/AppStubEx/InstallerUx.resx +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 167, 17 - - - 87 - - \ No newline at end of file diff --git a/AppStubEx/Program.cs b/AppStubEx/Program.cs deleted file mode 100644 index f2c6178..0000000 --- a/AppStubEx/Program.cs +++ /dev/null @@ -1,102 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace Katteker.AppStub -{ - internal class Program - { - private Program() - { - CurrentDir = new DirectoryInfo(AppDomain.CurrentDomain.BaseDirectory); - ConfigFile = new IniFile(Path.Combine(CurrentDir.FullName, "app.ini")); - } - - private DirectoryInfo CurrentDir { get; } - - private IniFile ConfigFile { get; } - - private Process MainProcess { get; set; } - - [STAThread] - private static void Main(string[] args) - { - Application.EnableVisualStyles(); - Application.SetCompatibleTextRenderingDefault(false); - var p = new Program(); - p.Run(args); - } - - private void Run(string[] args) - { - StartExecutable(args); - StartUpdateInfo(); - } - - private static void StartUpdateInfo() - { - Application.Run(new InstallerUx("TestProgramm")); - } - - private void StartExecutable(string[] args) - { - var dirEntries = CurrentDir.EnumerateDirectories().Where(x => x.Name.StartsWith("app-")) - .Select(x => new AppEntry(x)).ToList(); - - var latestVersion = dirEntries.OrderByDescending(x => x).FirstOrDefault(); - - if (latestVersion != null && ConfigFile.Exists) - { - try - { - var executable = ConfigFile.Read("Executable", "Main"); - - var a = args.Aggregate(string.Empty, (current, s) => current + s + " ").TrimEnd(' '); - MainProcess = new Process - { - StartInfo = - new ProcessStartInfo($"{latestVersion.DirInfo.FullName}\\{executable}") - { - Arguments = a, - WorkingDirectory = latestVersion.DirInfo.FullName, - UseShellExecute = false - } - }; - MainProcess.Start(); - Task.Run(() => - DeleteOldVersionDirectories(dirEntries.Where(x => - x.DirInfo.Name != latestVersion.DirInfo.Name))); - } - catch (Exception ex) - { - MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); - } - } - else - { - MessageBox.Show("Error, File not found", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); - } - } - - private static void DeleteOldVersionDirectories(IEnumerable dirEntries) - { -#if !DEBUG - foreach (var directoryInfo in dirEntries) - { - try - { - directoryInfo.DirInfo.Delete(true); - } - catch (Exception) - { - // silently ignore - } - } -#endif - } - } -} \ No newline at end of file diff --git a/AppStubEx/Properties/AssemblyInfo.cs b/AppStubEx/Properties/AssemblyInfo.cs deleted file mode 100644 index 4670df4..0000000 --- a/AppStubEx/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -// Allgemeine Informationen über eine Assembly werden über die folgenden -// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, -// die einer Assembly zugeordnet sind. -//[assembly: AssemblyTitle("AppStub")] -//[assembly: AssemblyDescription("")] -//[assembly: AssemblyConfiguration("")] -//[assembly: AssemblyCompany("")] -//[assembly: AssemblyProduct("AppStub")] -//[assembly: AssemblyCopyright("Copyright © 2016")] -//[assembly: AssemblyTrademark("")] -//[assembly: AssemblyCulture("")] - -// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly -// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von -// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen. -[assembly: ComVisible(false)] - -// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird -[assembly: Guid("af7579cc-c0b2-4e5a-b052-00d2991dc715")] -[assembly: AssemblyTitle("Katteker.AppStubEx")] -[assembly: AssemblyDescription("Katteker.AppStubEx")] -[assembly: AssemblyCompany("Holger Börchers")] -[assembly: AssemblyProduct("Katteker.AppStubEx")] -[assembly: AssemblyCopyright("Holger Börchers")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] - -// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: -// -// Hauptversion -// Nebenversion -// Buildnummer -// Revision -// -// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden. -// übernehmen, indem Sie "*" eingeben: -// [assembly: AssemblyVersion("1.0.*")] -//[assembly: AssemblyVersion("1.0.0.0")] -//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/AppStubEx/Taskbar.cs b/AppStubEx/Taskbar.cs deleted file mode 100644 index 8696f9c..0000000 --- a/AppStubEx/Taskbar.cs +++ /dev/null @@ -1,117 +0,0 @@ -using System; -using System.Drawing; -using System.Runtime.InteropServices; - -namespace Katteker.AppStub -{ - public enum TaskbarPosition - { - Unknown = -1, - Left, - Top, - Right, - Bottom - } - - public sealed class Taskbar - { - private const string ClassName = "Shell_TrayWnd"; - - public Taskbar() - { - var taskbarHandle = User32.FindWindow(ClassName, null); - - var data = new APPBARDATA - { - cbSize = (uint) Marshal.SizeOf(typeof(APPBARDATA)), - hWnd = taskbarHandle - }; - var result = Shell32.SHAppBarMessage(ABM.GetTaskbarPos, ref data); - if (result == IntPtr.Zero) - throw new InvalidOperationException(); - - Position = (TaskbarPosition) data.uEdge; - Bounds = Rectangle.FromLTRB(data.rc.left, data.rc.top, data.rc.right, data.rc.bottom); - - data.cbSize = (uint) Marshal.SizeOf(typeof(APPBARDATA)); - result = Shell32.SHAppBarMessage(ABM.GetState, ref data); - var state = result.ToInt32(); - AlwaysOnTop = (state & ABS.AlwaysOnTop) == ABS.AlwaysOnTop; - AutoHide = (state & ABS.Autohide) == ABS.Autohide; - } - - public Rectangle Bounds { get; } - - public TaskbarPosition Position { get; private set; } - - public Point Location => Bounds.Location; - - public Size Size => Bounds.Size; - - //Always returns false under Windows 7 - public bool AlwaysOnTop { get; private set; } - - public bool AutoHide { get; private set; } - } - - public enum ABM : uint - { - New = 0x00000000, - Remove = 0x00000001, - QueryPos = 0x00000002, - SetPos = 0x00000003, - GetState = 0x00000004, - GetTaskbarPos = 0x00000005, - Activate = 0x00000006, - GetAutoHideBar = 0x00000007, - SetAutoHideBar = 0x00000008, - WindowPosChanged = 0x00000009, - SetState = 0x0000000A - } - - public enum ABE : uint - { - Left = 0, - Top = 1, - Right = 2, - Bottom = 3 - } - - public static class ABS - { - public const int Autohide = 0x0000001; - public const int AlwaysOnTop = 0x0000002; - } - - public static class Shell32 - { - [DllImport("shell32.dll", SetLastError = true)] - public static extern IntPtr SHAppBarMessage(ABM dwMessage, [In] ref APPBARDATA pData); - } - - public static class User32 - { - [DllImport("user32.dll", SetLastError = true)] - public static extern IntPtr FindWindow(string lpClassName, string lpWindowName); - } - - [StructLayout(LayoutKind.Sequential)] - public struct APPBARDATA - { - public uint cbSize; - public IntPtr hWnd; - public uint uCallbackMessage; - public ABE uEdge; - public RECT rc; - public int lParam; - } - - [StructLayout(LayoutKind.Sequential)] - public struct RECT - { - public int left; - public int top; - public int right; - public int bottom; - } -} \ No newline at end of file diff --git a/Example/Annotations.cs b/Example/Annotations.cs deleted file mode 100644 index 667e482..0000000 --- a/Example/Annotations.cs +++ /dev/null @@ -1,1066 +0,0 @@ -/* MIT License - -Copyright (c) 2016 JetBrains http://www.jetbrains.com - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. */ - -using System; - -#pragma warning disable 1591 -// ReSharper disable UnusedMember.Global -// ReSharper disable MemberCanBePrivate.Global -// ReSharper disable UnusedAutoPropertyAccessor.Global -// ReSharper disable IntroduceOptionalParameters.Global -// ReSharper disable MemberCanBeProtected.Global -// ReSharper disable InconsistentNaming -// ReSharper disable once CheckNamespace - -namespace JetBrains.Annotations -{ - /// - /// Indicates that the value of the marked element could be null sometimes, - /// so the check for null is necessary before its usage. - /// - /// - /// [CanBeNull] object Test() => null; - /// - /// void UseTest() { - /// var p = Test(); - /// var s = p.ToString(); // Warning: Possible 'System.NullReferenceException' - /// } - /// - [AttributeUsage( - AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Property | - AttributeTargets.Delegate | AttributeTargets.Field | AttributeTargets.Event | - AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.GenericParameter)] -internal sealed class CanBeNullAttribute : Attribute { } - - /// - /// Indicates that the value of the marked element could never be null. - /// - /// - /// [NotNull] object Foo() { - /// return null; // Warning: Possible 'null' assignment - /// } - /// - [AttributeUsage( - AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Property | - AttributeTargets.Delegate | AttributeTargets.Field | AttributeTargets.Event | - AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.GenericParameter)] -internal sealed class NotNullAttribute : Attribute { } - - /// - /// Can be appplied to symbols of types derived from IEnumerable as well as to symbols of Task - /// and Lazy classes to indicate that the value of a collection item, of the Task.Result property - /// or of the Lazy.Value property can never be null. - /// - [AttributeUsage( - AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Property | - AttributeTargets.Delegate | AttributeTargets.Field)] -internal sealed class ItemNotNullAttribute : Attribute { } - - /// - /// Can be appplied to symbols of types derived from IEnumerable as well as to symbols of Task - /// and Lazy classes to indicate that the value of a collection item, of the Task.Result property - /// or of the Lazy.Value property can be null. - /// - [AttributeUsage( - AttributeTargets.Method | AttributeTargets.Parameter | AttributeTargets.Property | - AttributeTargets.Delegate | AttributeTargets.Field)] -internal sealed class ItemCanBeNullAttribute : Attribute { } - - /// - /// Indicates that the marked method builds string by format pattern and (optional) arguments. - /// Parameter, which contains format string, should be given in constructor. The format string - /// should be in -like form. - /// - /// - /// [StringFormatMethod("message")] - /// void ShowError(string message, params object[] args) { /* do something */ } - /// - /// void Foo() { - /// ShowError("Failed: {0}"); // Warning: Non-existing argument in format string - /// } - /// - [AttributeUsage( - AttributeTargets.Constructor | AttributeTargets.Method | - AttributeTargets.Property | AttributeTargets.Delegate)] -internal sealed class StringFormatMethodAttribute : Attribute - { - /// - /// Specifies which parameter of an annotated method should be treated as format-string - /// - public StringFormatMethodAttribute([NotNull] string formatParameterName) - { - FormatParameterName = formatParameterName; - } - - [NotNull] public string FormatParameterName { get; private set; } - } - - /// - /// For a parameter that is expected to be one of the limited set of values. - /// Specify fields of which type should be used as values for this parameter. - /// - [AttributeUsage( - AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Field, - AllowMultiple = true)] -internal sealed class ValueProviderAttribute : Attribute - { - public ValueProviderAttribute([NotNull] string name) - { - Name = name; - } - - [NotNull] public string Name { get; private set; } - } - - /// - /// Indicates that the function argument should be string literal and match one - /// of the parameters of the caller function. For example, ReSharper annotates - /// the parameter of . - /// - /// - /// void Foo(string param) { - /// if (param == null) - /// throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol - /// } - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class InvokerParameterNameAttribute : Attribute { } - - /// - /// Indicates that the method is contained in a type that implements - /// System.ComponentModel.INotifyPropertyChanged interface and this method - /// is used to notify that some property value changed. - /// - /// - /// The method should be non-static and conform to one of the supported signatures: - /// - /// NotifyChanged(string) - /// NotifyChanged(params string[]) - /// NotifyChanged{T}(Expression{Func{T}}) - /// NotifyChanged{T,U}(Expression{Func{T,U}}) - /// SetProperty{T}(ref T, T, string) - /// - /// - /// - /// public class Foo : INotifyPropertyChanged { - /// public event PropertyChangedEventHandler PropertyChanged; - /// - /// [NotifyPropertyChangedInvocator] - /// protected virtual void NotifyChanged(string propertyName) { ... } - /// - /// string _name; - /// - /// public string Name { - /// get { return _name; } - /// set { _name = value; NotifyChanged("LastName"); /* Warning */ } - /// } - /// } - /// - /// Examples of generated notifications: - /// - /// NotifyChanged("Property") - /// NotifyChanged(() => Property) - /// NotifyChanged((VM x) => x.Property) - /// SetProperty(ref myField, value, "Property") - /// - /// - [AttributeUsage(AttributeTargets.Method)] -internal sealed class NotifyPropertyChangedInvocatorAttribute : Attribute - { - public NotifyPropertyChangedInvocatorAttribute() { } - public NotifyPropertyChangedInvocatorAttribute([NotNull] string parameterName) - { - ParameterName = parameterName; - } - - [CanBeNull] public string ParameterName { get; private set; } - } - - /// - /// Describes dependency between method input and output. - /// - /// - ///

Function Definition Table syntax:

- /// - /// FDT ::= FDTRow [;FDTRow]* - /// FDTRow ::= Input => Output | Output <= Input - /// Input ::= ParameterName: Value [, Input]* - /// Output ::= [ParameterName: Value]* {halt|stop|void|nothing|Value} - /// Value ::= true | false | null | notnull | canbenull - /// - /// If method has single input parameter, it's name could be omitted.
- /// Using halt (or void/nothing, which is the same) for method output - /// means that the methos doesn't return normally (throws or terminates the process).
- /// Value canbenull is only applicable for output parameters.
- /// You can use multiple [ContractAnnotation] for each FDT row, or use single attribute - /// with rows separated by semicolon. There is no notion of order rows, all rows are checked - /// for applicability and applied per each program state tracked by R# analysis.
- ///
- /// - /// - /// [ContractAnnotation("=> halt")] - /// public void TerminationMethod() - /// - /// - /// [ContractAnnotation("halt <= condition: false")] - /// public void Assert(bool condition, string text) // regular assertion method - /// - /// - /// [ContractAnnotation("s:null => true")] - /// public bool IsNullOrEmpty(string s) // string.IsNullOrEmpty() - /// - /// - /// // A method that returns null if the parameter is null, - /// // and not null if the parameter is not null - /// [ContractAnnotation("null => null; notnull => notnull")] - /// public object Transform(object data) - /// - /// - /// [ContractAnnotation("=> true, result: notnull; => false, result: null")] - /// public bool TryParse(string s, out Person result) - /// - /// - [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] -internal sealed class ContractAnnotationAttribute : Attribute - { - public ContractAnnotationAttribute([NotNull] string contract) - : this(contract, false) { } - - public ContractAnnotationAttribute([NotNull] string contract, bool forceFullStates) - { - Contract = contract; - ForceFullStates = forceFullStates; - } - - [NotNull] public string Contract { get; private set; } - - public bool ForceFullStates { get; private set; } - } - - /// - /// Indicates that marked element should be localized or not. - /// - /// - /// [LocalizationRequiredAttribute(true)] - /// class Foo { - /// string str = "my string"; // Warning: Localizable string - /// } - /// - [AttributeUsage(AttributeTargets.All)] -internal sealed class LocalizationRequiredAttribute : Attribute - { - public LocalizationRequiredAttribute() : this(true) { } - - public LocalizationRequiredAttribute(bool required) - { - Required = required; - } - - public bool Required { get; private set; } - } - - /// - /// Indicates that the value of the marked type (or its derivatives) - /// cannot be compared using '==' or '!=' operators and Equals() - /// should be used instead. However, using '==' or '!=' for comparison - /// with null is always permitted. - /// - /// - /// [CannotApplyEqualityOperator] - /// class NoEquality { } - /// - /// class UsesNoEquality { - /// void Test() { - /// var ca1 = new NoEquality(); - /// var ca2 = new NoEquality(); - /// if (ca1 != null) { // OK - /// bool condition = ca1 == ca2; // Warning - /// } - /// } - /// } - /// - [AttributeUsage(AttributeTargets.Interface | AttributeTargets.Class | AttributeTargets.Struct)] -internal sealed class CannotApplyEqualityOperatorAttribute : Attribute { } - - /// - /// When applied to a target attribute, specifies a requirement for any type marked - /// with the target attribute to implement or inherit specific type or types. - /// - /// - /// [BaseTypeRequired(typeof(IComponent)] // Specify requirement - /// class ComponentAttribute : Attribute { } - /// - /// [Component] // ComponentAttribute requires implementing IComponent interface - /// class MyComponent : IComponent { } - /// - [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] - [BaseTypeRequired(typeof(Attribute))] -internal sealed class BaseTypeRequiredAttribute : Attribute - { - public BaseTypeRequiredAttribute([NotNull] Type baseType) - { - BaseType = baseType; - } - - [NotNull] public Type BaseType { get; private set; } - } - - /// - /// Indicates that the marked symbol is used implicitly (e.g. via reflection, in external library), - /// so this symbol will not be marked as unused (as well as by other usage inspections). - /// - [AttributeUsage(AttributeTargets.All)] -internal sealed class UsedImplicitlyAttribute : Attribute - { - public UsedImplicitlyAttribute() - : this(ImplicitUseKindFlags.Default, ImplicitUseTargetFlags.Default) { } - - public UsedImplicitlyAttribute(ImplicitUseKindFlags useKindFlags) - : this(useKindFlags, ImplicitUseTargetFlags.Default) { } - - public UsedImplicitlyAttribute(ImplicitUseTargetFlags targetFlags) - : this(ImplicitUseKindFlags.Default, targetFlags) { } - - public UsedImplicitlyAttribute(ImplicitUseKindFlags useKindFlags, ImplicitUseTargetFlags targetFlags) - { - UseKindFlags = useKindFlags; - TargetFlags = targetFlags; - } - - public ImplicitUseKindFlags UseKindFlags { get; private set; } - - public ImplicitUseTargetFlags TargetFlags { get; private set; } - } - - /// - /// Should be used on attributes and causes ReSharper to not mark symbols marked with such attributes - /// as unused (as well as by other usage inspections) - /// - [AttributeUsage(AttributeTargets.Class | AttributeTargets.GenericParameter)] -internal sealed class MeansImplicitUseAttribute : Attribute - { - public MeansImplicitUseAttribute() - : this(ImplicitUseKindFlags.Default, ImplicitUseTargetFlags.Default) { } - - public MeansImplicitUseAttribute(ImplicitUseKindFlags useKindFlags) - : this(useKindFlags, ImplicitUseTargetFlags.Default) { } - - public MeansImplicitUseAttribute(ImplicitUseTargetFlags targetFlags) - : this(ImplicitUseKindFlags.Default, targetFlags) { } - - public MeansImplicitUseAttribute(ImplicitUseKindFlags useKindFlags, ImplicitUseTargetFlags targetFlags) - { - UseKindFlags = useKindFlags; - TargetFlags = targetFlags; - } - - [UsedImplicitly] public ImplicitUseKindFlags UseKindFlags { get; private set; } - - [UsedImplicitly] public ImplicitUseTargetFlags TargetFlags { get; private set; } - } - - [Flags] -internal enum ImplicitUseKindFlags - { - Default = Access | Assign | InstantiatedWithFixedConstructorSignature, - /// Only entity marked with attribute considered used. - Access = 1, - /// Indicates implicit assignment to a member. - Assign = 2, - /// - /// Indicates implicit instantiation of a type with fixed constructor signature. - /// That means any unused constructor parameters won't be reported as such. - /// - InstantiatedWithFixedConstructorSignature = 4, - /// Indicates implicit instantiation of a type. - InstantiatedNoFixedConstructorSignature = 8, - } - - /// - /// Specify what is considered used implicitly when marked - /// with or . - /// - [Flags] -internal enum ImplicitUseTargetFlags - { - Default = Itself, - Itself = 1, - /// Members of entity marked with attribute are considered used. - Members = 2, - /// Entity marked with attribute and all its members considered used. - WithMembers = Itself | Members - } - - /// - /// This attribute is intended to mark publicly available API - /// which should not be removed and so is treated as used. - /// - [MeansImplicitUse(ImplicitUseTargetFlags.WithMembers)] -internal sealed class PublicAPIAttribute : Attribute - { - public PublicAPIAttribute() { } - - public PublicAPIAttribute([NotNull] string comment) - { - Comment = comment; - } - - [CanBeNull] public string Comment { get; private set; } - } - - /// - /// Tells code analysis engine if the parameter is completely handled when the invoked method is on stack. - /// If the parameter is a delegate, indicates that delegate is executed while the method is executed. - /// If the parameter is an enumerable, indicates that it is enumerated while the method is executed. - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class InstantHandleAttribute : Attribute { } - - /// - /// Indicates that a method does not make any observable state changes. - /// The same as System.Diagnostics.Contracts.PureAttribute. - /// - /// - /// [Pure] int Multiply(int x, int y) => x * y; - /// - /// void M() { - /// Multiply(123, 42); // Waring: Return value of pure method is not used - /// } - /// - [AttributeUsage(AttributeTargets.Method)] -internal sealed class PureAttribute : Attribute { } - - /// - /// Indicates that the return value of method invocation must be used. - /// - [AttributeUsage(AttributeTargets.Method)] -internal sealed class MustUseReturnValueAttribute : Attribute - { - public MustUseReturnValueAttribute() { } - - public MustUseReturnValueAttribute([NotNull] string justification) - { - Justification = justification; - } - - [CanBeNull] public string Justification { get; private set; } - } - - /// - /// Indicates the type member or parameter of some type, that should be used instead of all other ways - /// to get the value that type. This annotation is useful when you have some "context" value evaluated - /// and stored somewhere, meaning that all other ways to get this value must be consolidated with existing one. - /// - /// - /// class Foo { - /// [ProvidesContext] IBarService _barService = ...; - /// - /// void ProcessNode(INode node) { - /// DoSomething(node, node.GetGlobalServices().Bar); - /// // ^ Warning: use value of '_barService' field - /// } - /// } - /// - [AttributeUsage( - AttributeTargets.Field | AttributeTargets.Property | AttributeTargets.Parameter | AttributeTargets.Method | - AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.GenericParameter)] -internal sealed class ProvidesContextAttribute : Attribute { } - - /// - /// Indicates that a parameter is a path to a file or a folder within a web project. - /// Path can be relative or absolute, starting from web root (~). - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class PathReferenceAttribute : Attribute - { - public PathReferenceAttribute() { } - - public PathReferenceAttribute([NotNull, PathReference] string basePath) - { - BasePath = basePath; - } - - [CanBeNull] public string BasePath { get; private set; } - } - - /// - /// An extension method marked with this attribute is processed by ReSharper code completion - /// as a 'Source Template'. When extension method is completed over some expression, it's source code - /// is automatically expanded like a template at call site. - /// - /// - /// Template method body can contain valid source code and/or special comments starting with '$'. - /// Text inside these comments is added as source code when the template is applied. Template parameters - /// can be used either as additional method parameters or as identifiers wrapped in two '$' signs. - /// Use the attribute to specify macros for parameters. - /// - /// - /// In this example, the 'forEach' method is a source template available over all values - /// of enumerable types, producing ordinary C# 'foreach' statement and placing caret inside block: - /// - /// [SourceTemplate] - /// public static void forEach<T>(this IEnumerable<T> xs) { - /// foreach (var x in xs) { - /// //$ $END$ - /// } - /// } - /// - /// - [AttributeUsage(AttributeTargets.Method)] -internal sealed class SourceTemplateAttribute : Attribute { } - - /// - /// Allows specifying a macro for a parameter of a source template. - /// - /// - /// You can apply the attribute on the whole method or on any of its additional parameters. The macro expression - /// is defined in the property. When applied on a method, the target - /// template parameter is defined in the property. To apply the macro silently - /// for the parameter, set the property value = -1. - /// - /// - /// Applying the attribute on a source template method: - /// - /// [SourceTemplate, Macro(Target = "item", Expression = "suggestVariableName()")] - /// public static void forEach<T>(this IEnumerable<T> collection) { - /// foreach (var item in collection) { - /// //$ $END$ - /// } - /// } - /// - /// Applying the attribute on a template method parameter: - /// - /// [SourceTemplate] - /// public static void something(this Entity x, [Macro(Expression = "guid()", Editable = -1)] string newguid) { - /// /*$ var $x$Id = "$newguid$" + x.ToString(); - /// x.DoSomething($x$Id); */ - /// } - /// - /// - [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method, AllowMultiple = true)] -internal sealed class MacroAttribute : Attribute - { - /// - /// Allows specifying a macro that will be executed for a source template - /// parameter when the template is expanded. - /// - [CanBeNull] public string Expression { get; set; } - - /// - /// Allows specifying which occurrence of the target parameter becomes editable when the template is deployed. - /// - /// - /// If the target parameter is used several times in the template, only one occurrence becomes editable; - /// other occurrences are changed synchronously. To specify the zero-based index of the editable occurrence, - /// use values >= 0. To make the parameter non-editable when the template is expanded, use -1. - /// > - public int Editable { get; set; } - - /// - /// Identifies the target parameter of a source template if the - /// is applied on a template method. - /// - [CanBeNull] public string Target { get; set; } - } - - [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = true)] -internal sealed class AspMvcAreaMasterLocationFormatAttribute : Attribute - { - public AspMvcAreaMasterLocationFormatAttribute([NotNull] string format) - { - Format = format; - } - - [NotNull] public string Format { get; private set; } - } - - [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = true)] -internal sealed class AspMvcAreaPartialViewLocationFormatAttribute : Attribute - { - public AspMvcAreaPartialViewLocationFormatAttribute([NotNull] string format) - { - Format = format; - } - - [NotNull] public string Format { get; private set; } - } - - [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = true)] -internal sealed class AspMvcAreaViewLocationFormatAttribute : Attribute - { - public AspMvcAreaViewLocationFormatAttribute([NotNull] string format) - { - Format = format; - } - - [NotNull] public string Format { get; private set; } - } - - [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = true)] -internal sealed class AspMvcMasterLocationFormatAttribute : Attribute - { - public AspMvcMasterLocationFormatAttribute([NotNull] string format) - { - Format = format; - } - - [NotNull] public string Format { get; private set; } - } - - [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = true)] -internal sealed class AspMvcPartialViewLocationFormatAttribute : Attribute - { - public AspMvcPartialViewLocationFormatAttribute([NotNull] string format) - { - Format = format; - } - - [NotNull] public string Format { get; private set; } - } - - [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Field | AttributeTargets.Property, AllowMultiple = true)] -internal sealed class AspMvcViewLocationFormatAttribute : Attribute - { - public AspMvcViewLocationFormatAttribute([NotNull] string format) - { - Format = format; - } - - [NotNull] public string Format { get; private set; } - } - - /// - /// ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - /// is an MVC action. If applied to a method, the MVC action name is calculated - /// implicitly from the context. Use this attribute for custom wrappers similar to - /// System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - /// - [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)] -internal sealed class AspMvcActionAttribute : Attribute - { - public AspMvcActionAttribute() { } - - public AspMvcActionAttribute([NotNull] string anonymousProperty) - { - AnonymousProperty = anonymousProperty; - } - - [CanBeNull] public string AnonymousProperty { get; private set; } - } - - /// - /// ASP.NET MVC attribute. Indicates that a parameter is an MVC area. - /// Use this attribute for custom wrappers similar to - /// System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String). - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class AspMvcAreaAttribute : Attribute - { - public AspMvcAreaAttribute() { } - - public AspMvcAreaAttribute([NotNull] string anonymousProperty) - { - AnonymousProperty = anonymousProperty; - } - - [CanBeNull] public string AnonymousProperty { get; private set; } - } - - /// - /// ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is - /// an MVC controller. If applied to a method, the MVC controller name is calculated - /// implicitly from the context. Use this attribute for custom wrappers similar to - /// System.Web.Mvc.Html.ChildActionExtensions.RenderAction(HtmlHelper, String, String). - /// - [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)] -internal sealed class AspMvcControllerAttribute : Attribute - { - public AspMvcControllerAttribute() { } - - public AspMvcControllerAttribute([NotNull] string anonymousProperty) - { - AnonymousProperty = anonymousProperty; - } - - [CanBeNull] public string AnonymousProperty { get; private set; } - } - - /// - /// ASP.NET MVC attribute. Indicates that a parameter is an MVC Master. Use this attribute - /// for custom wrappers similar to System.Web.Mvc.Controller.View(String, String). - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class AspMvcMasterAttribute : Attribute { } - - /// - /// ASP.NET MVC attribute. Indicates that a parameter is an MVC model type. Use this attribute - /// for custom wrappers similar to System.Web.Mvc.Controller.View(String, Object). - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class AspMvcModelTypeAttribute : Attribute { } - - /// - /// ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter is an MVC - /// partial view. If applied to a method, the MVC partial view name is calculated implicitly - /// from the context. Use this attribute for custom wrappers similar to - /// System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper, String). - /// - [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)] -internal sealed class AspMvcPartialViewAttribute : Attribute { } - - /// - /// ASP.NET MVC attribute. Allows disabling inspections for MVC views within a class or a method. - /// - [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)] -internal sealed class AspMvcSuppressViewErrorAttribute : Attribute { } - - /// - /// ASP.NET MVC attribute. Indicates that a parameter is an MVC display template. - /// Use this attribute for custom wrappers similar to - /// System.Web.Mvc.Html.DisplayExtensions.DisplayForModel(HtmlHelper, String). - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class AspMvcDisplayTemplateAttribute : Attribute { } - - /// - /// ASP.NET MVC attribute. Indicates that a parameter is an MVC editor template. - /// Use this attribute for custom wrappers similar to - /// System.Web.Mvc.Html.EditorExtensions.EditorForModel(HtmlHelper, String). - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class AspMvcEditorTemplateAttribute : Attribute { } - - /// - /// ASP.NET MVC attribute. Indicates that a parameter is an MVC template. - /// Use this attribute for custom wrappers similar to - /// System.ComponentModel.DataAnnotations.UIHintAttribute(System.String). - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class AspMvcTemplateAttribute : Attribute { } - - /// - /// ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - /// is an MVC view component. If applied to a method, the MVC view name is calculated implicitly - /// from the context. Use this attribute for custom wrappers similar to - /// System.Web.Mvc.Controller.View(Object). - /// - [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)] -internal sealed class AspMvcViewAttribute : Attribute { } - - /// - /// ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - /// is an MVC view component name. - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class AspMvcViewComponentAttribute : Attribute { } - - /// - /// ASP.NET MVC attribute. If applied to a parameter, indicates that the parameter - /// is an MVC view component view. If applied to a method, the MVC view component view name is default. - /// - [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)] -internal sealed class AspMvcViewComponentViewAttribute : Attribute { } - - /// - /// ASP.NET MVC attribute. When applied to a parameter of an attribute, - /// indicates that this parameter is an MVC action name. - /// - /// - /// [ActionName("Foo")] - /// public ActionResult Login(string returnUrl) { - /// ViewBag.ReturnUrl = Url.Action("Foo"); // OK - /// return RedirectToAction("Bar"); // Error: Cannot resolve action - /// } - /// - [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property)] -internal sealed class AspMvcActionSelectorAttribute : Attribute { } - - [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Property | AttributeTargets.Field)] -internal sealed class HtmlElementAttributesAttribute : Attribute - { - public HtmlElementAttributesAttribute() { } - - public HtmlElementAttributesAttribute([NotNull] string name) - { - Name = name; - } - - [CanBeNull] public string Name { get; private set; } - } - - [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Field | AttributeTargets.Property)] -internal sealed class HtmlAttributeValueAttribute : Attribute - { - public HtmlAttributeValueAttribute([NotNull] string name) - { - Name = name; - } - - [NotNull] public string Name { get; private set; } - } - - /// - /// Razor attribute. Indicates that a parameter or a method is a Razor section. - /// Use this attribute for custom wrappers similar to - /// System.Web.WebPages.WebPageBase.RenderSection(String). - /// - [AttributeUsage(AttributeTargets.Parameter | AttributeTargets.Method)] -internal sealed class RazorSectionAttribute : Attribute { } - - /// - /// Indicates how method, constructor invocation or property access - /// over collection type affects content of the collection. - /// - [AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Property)] -internal sealed class CollectionAccessAttribute : Attribute - { - public CollectionAccessAttribute(CollectionAccessType collectionAccessType) - { - CollectionAccessType = collectionAccessType; - } - - public CollectionAccessType CollectionAccessType { get; private set; } - } - - [Flags] -internal enum CollectionAccessType - { - /// Method does not use or modify content of the collection. - None = 0, - /// Method only reads content of the collection but does not modify it. - Read = 1, - /// Method can change content of the collection but does not add new elements. - ModifyExistingContent = 2, - /// Method can add new elements to the collection. - UpdatedContent = ModifyExistingContent | 4 - } - - /// - /// Indicates that the marked method is assertion method, i.e. it halts control flow if - /// one of the conditions is satisfied. To set the condition, mark one of the parameters with - /// attribute. - /// - [AttributeUsage(AttributeTargets.Method)] -internal sealed class AssertionMethodAttribute : Attribute { } - - /// - /// Indicates the condition parameter of the assertion method. The method itself should be - /// marked by attribute. The mandatory argument of - /// the attribute is the assertion type. - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class AssertionConditionAttribute : Attribute - { - public AssertionConditionAttribute(AssertionConditionType conditionType) - { - ConditionType = conditionType; - } - - public AssertionConditionType ConditionType { get; private set; } - } - - /// - /// Specifies assertion type. If the assertion method argument satisfies the condition, - /// then the execution continues. Otherwise, execution is assumed to be halted. - /// -internal enum AssertionConditionType - { - /// Marked parameter should be evaluated to true. - IS_TRUE = 0, - /// Marked parameter should be evaluated to false. - IS_FALSE = 1, - /// Marked parameter should be evaluated to null value. - IS_NULL = 2, - /// Marked parameter should be evaluated to not null value. - IS_NOT_NULL = 3, - } - - /// - /// Indicates that the marked method unconditionally terminates control flow execution. - /// For example, it could unconditionally throw exception. - /// - [Obsolete("Use [ContractAnnotation('=> halt')] instead")] - [AttributeUsage(AttributeTargets.Method)] -internal sealed class TerminatesProgramAttribute : Attribute { } - - /// - /// Indicates that method is pure LINQ method, with postponed enumeration (like Enumerable.Select, - /// .Where). This annotation allows inference of [InstantHandle] annotation for parameters - /// of delegate type by analyzing LINQ method chains. - /// - [AttributeUsage(AttributeTargets.Method)] -internal sealed class LinqTunnelAttribute : Attribute { } - - /// - /// Indicates that IEnumerable, passed as parameter, is not enumerated. - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class NoEnumerationAttribute : Attribute { } - - /// - /// Indicates that parameter is regular expression pattern. - /// - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class RegexPatternAttribute : Attribute { } - - /// - /// Prevents the Member Reordering feature from tossing members of the marked class. - /// - /// - /// The attribute must be mentioned in your member reordering patterns - /// - [AttributeUsage( - AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Enum)] -internal sealed class NoReorderAttribute : Attribute { } - - /// - /// XAML attribute. Indicates the type that has ItemsSource property and should be treated - /// as ItemsControl-derived type, to enable inner items DataContext type resolve. - /// - [AttributeUsage(AttributeTargets.Class)] -internal sealed class XamlItemsControlAttribute : Attribute { } - - /// - /// XAML attribute. Indicates the property of some BindingBase-derived type, that - /// is used to bind some item of ItemsControl-derived type. This annotation will - /// enable the DataContext type resolve for XAML bindings for such properties. - /// - /// - /// Property should have the tree ancestor of the ItemsControl type or - /// marked with the attribute. - /// - [AttributeUsage(AttributeTargets.Property)] -internal sealed class XamlItemBindingOfItemsControlAttribute : Attribute { } - - [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] -internal sealed class AspChildControlTypeAttribute : Attribute - { - public AspChildControlTypeAttribute([NotNull] string tagName, [NotNull] Type controlType) - { - TagName = tagName; - ControlType = controlType; - } - - [NotNull] public string TagName { get; private set; } - - [NotNull] public Type ControlType { get; private set; } - } - - [AttributeUsage(AttributeTargets.Property | AttributeTargets.Method)] -internal sealed class AspDataFieldAttribute : Attribute { } - - [AttributeUsage(AttributeTargets.Property | AttributeTargets.Method)] -internal sealed class AspDataFieldsAttribute : Attribute { } - - [AttributeUsage(AttributeTargets.Property)] -internal sealed class AspMethodPropertyAttribute : Attribute { } - - [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] -internal sealed class AspRequiredAttributeAttribute : Attribute - { - public AspRequiredAttributeAttribute([NotNull] string attribute) - { - Attribute = attribute; - } - - [NotNull] public string Attribute { get; private set; } - } - - [AttributeUsage(AttributeTargets.Property)] -internal sealed class AspTypePropertyAttribute : Attribute - { - public bool CreateConstructorReferences { get; private set; } - - public AspTypePropertyAttribute(bool createConstructorReferences) - { - CreateConstructorReferences = createConstructorReferences; - } - } - - [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] -internal sealed class RazorImportNamespaceAttribute : Attribute - { - public RazorImportNamespaceAttribute([NotNull] string name) - { - Name = name; - } - - [NotNull] public string Name { get; private set; } - } - - [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] -internal sealed class RazorInjectionAttribute : Attribute - { - public RazorInjectionAttribute([NotNull] string type, [NotNull] string fieldName) - { - Type = type; - FieldName = fieldName; - } - - [NotNull] public string Type { get; private set; } - - [NotNull] public string FieldName { get; private set; } - } - - [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] -internal sealed class RazorDirectiveAttribute : Attribute - { - public RazorDirectiveAttribute([NotNull] string directive) - { - Directive = directive; - } - - [NotNull] public string Directive { get; private set; } - } - - [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] -internal sealed class RazorPageBaseTypeAttribute : Attribute - { - public RazorPageBaseTypeAttribute([NotNull] string baseType) - { - BaseType = baseType; - } - public RazorPageBaseTypeAttribute([NotNull] string baseType, string pageName) - { - BaseType = baseType; - PageName = pageName; - } - - [NotNull] public string BaseType { get; private set; } - [CanBeNull] public string PageName { get; private set; } - } - - [AttributeUsage(AttributeTargets.Method)] -internal sealed class RazorHelperCommonAttribute : Attribute { } - - [AttributeUsage(AttributeTargets.Property)] -internal sealed class RazorLayoutAttribute : Attribute { } - - [AttributeUsage(AttributeTargets.Method)] -internal sealed class RazorWriteLiteralMethodAttribute : Attribute { } - - [AttributeUsage(AttributeTargets.Method)] -internal sealed class RazorWriteMethodAttribute : Attribute { } - - [AttributeUsage(AttributeTargets.Parameter)] -internal sealed class RazorWriteMethodParameterAttribute : Attribute { } -} \ No newline at end of file diff --git a/Example/App.config b/Example/App.config deleted file mode 100644 index 2ab126c..0000000 --- a/Example/App.config +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/App.xaml b/Example/App.xaml deleted file mode 100644 index 21f0938..0000000 --- a/Example/App.xaml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/Example/App.xaml.cs b/Example/App.xaml.cs deleted file mode 100644 index 7d783f2..0000000 --- a/Example/App.xaml.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System.Windows; -using Prism.Ioc; - -namespace Example -{ - /// - /// Interaction logic for App.xaml - /// - public partial class App - { - protected override void RegisterTypes(IContainerRegistry containerRegistry) - { - //nothing - } - - protected override Window CreateShell() => Container.Resolve(); - } -} diff --git a/Example/Example.csproj b/Example/Example.csproj deleted file mode 100644 index 84f9026..0000000 --- a/Example/Example.csproj +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - Debug - AnyCPU - {DE9CFDEB-40B8-447D-9959-31BA78512CED} - WinExe - Example - Example - v4.5 - 512 - {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - 4 - - - - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - false - latest - - - x64 - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - latest - - - nsis3-install.ico - - - Example.App - - - - ..\packages\CommonServiceLocator.2.0.5\lib\net45\CommonServiceLocator.dll - True - - - ..\packages\DryIoc.dll.4.0.7\lib\net45\DryIoc.dll - True - - - ..\packages\MaterialDesignColors.1.2.1\lib\net45\MaterialDesignColors.dll - True - - - ..\packages\MaterialDesignThemes.3.0.0\lib\net45\MaterialDesignThemes.Wpf.dll - - - - ..\packages\Prism.Core.7.2.0.1422\lib\net45\Prism.dll - - - ..\packages\Prism.DryIoc.7.2.0.1422\lib\net45\Prism.DryIoc.Wpf.dll - True - - - ..\packages\Prism.Wpf.7.2.0.1422\lib\net45\Prism.Wpf.dll - - - - - ..\packages\System.ValueTuple.4.5.0\lib\netstandard1.0\System.ValueTuple.dll - - - - ..\packages\Prism.Wpf.7.2.0.1422\lib\net45\System.Windows.Interactivity.dll - - - - - 4.0 - - - - - - - - MSBuild:Compile - Designer - - - MSBuild:Compile - Designer - - - - App.xaml - Code - - - MainWindow.xaml - Code - - - - - - Code - - - True - True - Resources.resx - - - True - Settings.settings - True - - - ResXFileCodeGenerator - Resources.Designer.cs - - - PreserveNewest - - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - - - - - - {07e2de31-80a0-43da-b307-1ca47cd930a1} - Katteker.UserInterface - - - {4cd50166-c3ab-4cc4-9694-951a3f33addb} - Katteker - - - - - - - - - Dieses Projekt verweist auf mindestens ein NuGet-Paket, das auf diesem Computer fehlt. Verwenden Sie die Wiederherstellung von NuGet-Paketen, um die fehlenden Dateien herunterzuladen. Weitere Informationen finden Sie unter "http://go.microsoft.com/fwlink/?LinkID=322105". Die fehlende Datei ist "{0}". - - - - - - \ No newline at end of file diff --git a/Example/MainWindow.xaml b/Example/MainWindow.xaml deleted file mode 100644 index da1d518..0000000 --- a/Example/MainWindow.xaml +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - -