Skip to content

Commit

Permalink
Merge pull request #1816 from Krypton-Suite/1813-feature-request-lts-…
Browse files Browse the repository at this point in the history
…configuration-v85

* LTS Configuration
  • Loading branch information
Smurf-IV authored Oct 15, 2024
2 parents f0a8fb6 + 777ba7d commit 3acdf42
Show file tree
Hide file tree
Showing 13 changed files with 288 additions and 21 deletions.
22 changes: 22 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,28 @@
<PackageVersion>85.$(Minor).$(Build).$(Revision)</PackageVersion>
</PropertyGroup>
</When>

<When Condition="'$(Configuration)' == 'LTS'">
<PropertyGroup>
<Minor>$([System.DateTime]::Now.ToString(yy))</Minor>
<Build>$([System.DateTime]::Now.ToString(MM))</Build>
<Revision>$([System.DateTime]::Now.get_DayOfYear().ToString())</Revision>

<!--Version layout schema:
85 = Major
24 = Minor - Year of release
01 = Build - Month of release
1 = Revision - Day of release (day of year)
-->

<!--As WIX installer can only cope with build numbers <= 256, the yyMM layout won't work.
Therefore, the build number for these packages will utilise the month number, assuming
that the major number will follow the latest .NET release number.-->
<LibraryVersion>85.$(Minor).$(Build).$(Revision)</LibraryVersion>

<PackageVersion>85.$(Minor).$(Build).$(Revision)</PackageVersion>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<Minor>$([System.DateTime]::Now.ToString(yy))</Minor>
Expand Down
21 changes: 11 additions & 10 deletions Documents/Help/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
=======

# 2024-10-14 - Build 2410 (Patch 3) - October 2024
* Implemented [#1813](https://github.com/Krypton-Suite/Standard-Toolkit/issues/1813), LTS Configuration
* Resolved [#1800](https://github.com/Krypton-Suite/Standard-Toolkit/issues/1800) `KryptonDataGridViewComboBoxEditingControl.EditingControlFormattedValue` property is differently implemented.
* Implement [#1792](https://github.com/Krypton-Suite/Standard-Toolkit/issues/1792), Enable 'SourceLink' for NuGet packages
* Implemented [#1792](https://github.com/Krypton-Suite/Standard-Toolkit/issues/1792), Enable 'SourceLink' for NuGet packages
* Resolved [#66](https://github.com/Krypton-Suite/Standard-Toolkit/issues/66), Cannot Add Ribbon-Buttons-Container (KryptonRibbonGroupTripple) when using .netcore onwards [Returns error due to abstract class]
* Resolved [#297](https://github.com/Krypton-Suite/Standard-Toolkit/issues/297), Office 2k7 colour usages are wrong
* Resolved [#1772](https://github.com/Krypton-Suite/Standard-Toolkit/issues/1772), `KryptonDataGridViewComboBoxCell` properties, `AutoCompleteMode` and `AutoCompleteSource` have incorrect default values.
Expand Down Expand Up @@ -280,7 +281,7 @@ Cannot add items to KryptonGroupBox in WinForms Designer
* Resolved [#380](https://github.com/Krypton-Suite/Standard-Toolkit/issues/380), MDI Child form not fully maximizing not merging on the ribbon
* Resolved [#571](https://github.com/Krypton-Suite/Standard-Toolkit/issues/571), CenterScreen start on Form is no longer respected
* Resolved [#441](https://github.com/Krypton-Suite/Standard-Toolkit/issues/441), Wrong Ribbon Form Height when Windows is using scaling; e.g. 200% dpi
* Implement [#493](https://github.com/Krypton-Suite/Standard-Toolkit/issues/493), Invoke `PaletteState.Pressed` for all controlbox items in all office palettes
* Implemented [#493](https://github.com/Krypton-Suite/Standard-Toolkit/issues/493), Invoke `PaletteState.Pressed` for all controlbox items in all office palettes
* Resolved [#487](https://github.com/Krypton-Suite/Standard-Toolkit/issues/487), The position of the KryptonForm Control Buttons are too low, when no desktop scaling preference is applied
* Implemented [#53](https://github.com/Krypton-Suite/Standard-Toolkit/issues/53), Need images of what this toolkit can give a developer on landing page
* Resolved [#34](https://github.com/Krypton-Suite/Standard-Toolkit/issues/34), KryptonRibbon.RibbonAppButton.AppButtonMenuItems has error
Expand Down Expand Up @@ -354,7 +355,7 @@ Cannot add items to KryptonGroupBox in WinForms Designer
* Resolved [#361](https://github.com/Krypton-Suite/Standard-Toolkit/issues/361), Nightlies version needs to have something that allows installers to upgrade correctly
* Resolved [#358](https://github.com/Krypton-Suite/Standard-Toolkit/issues/358), Since the "Nightlies" have been created, loading the Standard toolkit project causes Visual Studio to go ape
* Resolved [#336](https://github.com/Krypton-Suite/Standard-Toolkit/issues/336), "Office 2010 And 365 Minimise Icons Change Size" on hover
* Implement [#335](https://github.com/Krypton-Suite/Standard-Toolkit/issues/335), Create 'Nightly' NuGet packages When Merges into alpha are done
* Implemented [#335](https://github.com/Krypton-Suite/Standard-Toolkit/issues/335), Create 'Nightly' NuGet packages When Merges into alpha are done
* Resolved [#315](https://github.com/Krypton-Suite/Standard-Toolkit/issues/315), When adding a new KContextmenu, How do you change it's name etc
- Sort out the Callback actions that were removed
* Resolved [#323](https://github.com/Krypton-Suite/Standard-Toolkit/issues/323), `KryptonCheckButton` Click removes image
Expand Down Expand Up @@ -389,7 +390,7 @@ Cannot add items to KryptonGroupBox in WinForms Designer
* Resolved [#254](https://github.com/Krypton-Suite/Standard-Toolkit/issues/254), VisualStudio Themes should not be listed yet, as they cause an exception when used
* Resolved [#242](https://github.com/Krypton-Suite/Standard-Toolkit/issues/242), `KryptonMessageBox` display is off the left of the display area
* Resolved [#234](https://github.com/Krypton-Suite/Standard-Toolkit/issues/234), `KryptonDataGridViewBinary`#### Classes should **not** be in the standard toolkit
* Implement [#212](https://github.com/Krypton-Suite/Standard-Toolkit/issues/212), The `KryptonPropertyGrid` should be moved into the `Standard-Toolkit`
* Implemented [#212](https://github.com/Krypton-Suite/Standard-Toolkit/issues/212), The `KryptonPropertyGrid` should be moved into the `Standard-Toolkit`
* Centralised `AsssemblyInfo` and `Version` information
* Implemented [#223](https://github.com/Krypton-Suite/Standard-Toolkit/issues/223), Can the build also echo out the DateTime, after the time elapsed
* Resolved [#159](https://github.com/Krypton-Suite/Standard-Toolkit/issues/159), Office 365 tracking colours are wrong
Expand All @@ -416,7 +417,7 @@ Cannot add items to KryptonGroupBox in WinForms Designer
=======

## 2021-08-02 Build 2108 - August 2021 (Canary)
* Implement [#207](https://github.com/Krypton-Suite/Standard-Toolkit/issues/207), 'DarkMode' for `KryptonRichTextBox`/`KryptonTextBox` (Sparkle theme updates to come)
* Implemented [#207](https://github.com/Krypton-Suite/Standard-Toolkit/issues/207), 'DarkMode' for `KryptonRichTextBox`/`KryptonTextBox` (Sparkle theme updates to come)
* Resolved [#150](https://github.com/Krypton-Suite/Standard-Toolkit/issues/150), Change the Default type of Theme for A KryptonLabel to be "Normal- Panel"
- Make sure that the `NormalPanel` is the default style
- Also Resolved the WrapLabel Style not being set correctly
Expand All @@ -426,19 +427,19 @@ Cannot add items to KryptonGroupBox in WinForms Designer
- Update the projects to comply/use the latest analysers
* RichTextBox now allows CueHint Text
* ComboBox now allows CueHint Text
* Implement [#197](https://github.com/Krypton-Suite/Standard-Toolkit/issues/197), Rounding should use `float` or `double` instead of `int`. Rounding now accepts `float` values
* Implemented [#197](https://github.com/Krypton-Suite/Standard-Toolkit/issues/197), Rounding should use `float` or `double` instead of `int`. Rounding now accepts `float` values
* New logo for both canary and stable builds
* Resolved [#138](https://github.com/Krypton-Suite/Standard-Toolkit/issues/138), `KryptonListView` throws a `System.Resources.MissingManifestResourceException`
- If you want a standard List then use ListBox or CheckedListBox
- If you want a Details view then use a `DataGrid`
- This implements LargeIcons / Small Icons / Tiles with and without checkboxes as allowed
* New `KryptonMessageBoxIcon` to replace the default `MessageBoxIcon` option
* Updated `KryptonMessageBox` icons
* Implement [#162](https://github.com/Krypton-Suite/Standard-Toolkit/issues/162), Default rounding of control corners
* Implemented [#162](https://github.com/Krypton-Suite/Standard-Toolkit/issues/162), Default rounding of control corners
* New the `KryptonButton` will now change its text, based on the `DialogResult` property
* Implement [#154](https://github.com/Krypton-Suite/Standard-Toolkit/issues/154), Ability to alter both a `KryptonManager` and a `KryptonPalette` from within a `KryptonForm`
* Implement [#149](https://github.com/Krypton-Suite/Standard-Toolkit/issues/149), Change the default theme from `Office 2010 - Blue` to `Office 365 - Blue`
* Implement [#147](https://github.com/Krypton-Suite/Standard-Toolkit/issues/147), Update `csproj` files to handle `AssemblyInfo` data
* Implemented [#154](https://github.com/Krypton-Suite/Standard-Toolkit/issues/154), Ability to alter both a `KryptonManager` and a `KryptonPalette` from within a `KryptonForm`
* Implemented [#149](https://github.com/Krypton-Suite/Standard-Toolkit/issues/149), Change the default theme from `Office 2010 - Blue` to `Office 365 - Blue`
* Implemented [#147](https://github.com/Krypton-Suite/Standard-Toolkit/issues/147), Update `csproj` files to handle `AssemblyInfo` data
* New `KryptonInputBoxManager` control, now you can configure a `KryptonInputBox` through the designer
* Improved the `KryptonInputBox` to take advantage of the `KryptonTextBox` ***CueHint*** features
* New `KryptonWebBrowser`Control allowing `KryptonContext` menus [#113](https://github.com/Krypton-Suite/Standard-Toolkit/issues/113)
Expand Down
63 changes: 63 additions & 0 deletions Scripts/build-long-term-stable.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
@echo off

if exist "%ProgramFiles%\Microsoft Visual Studio\2022\Preview\MSBuild\Current\Bin" goto vs17prev
if exist "%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin" goto vs17ent
if exist "%ProgramFiles%\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin" goto vs17pro
if exist "%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin" goto vs17com
if exist "%ProgramFiles%\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin" goto vs17build

echo "Unable to detect suitable environment. Check if VS 2022 is installed."

goto end

:vs17prev
set msbuildpath=%ProgramFiles%\Microsoft Visual Studio\2022\Preview\MSBuild\Current\Bin
goto build

:vs17ent
set msbuildpath=%ProgramFiles%\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin
goto build

:vs17pro
set msbuildpath=%ProgramFiles%\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin
goto build

:vs17com
set msbuildpath=%ProgramFiles%\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin
goto build

:vs17build
set msbuildpath=%ProgramFiles%\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin
goto build

:build
for /f "tokens=* usebackq" %%A in (`tzutil /g`) do (
set "zone=%%A"
)

echo Started: %date% %time% %zone%
echo
set targets=Build
if not "%~1" == "" set targets=%~1
"%msbuildpath%\msbuild.exe" /t:%targets% longtermstable.proj /fl /flp:logfile=longtermstable.log

echo Build Completed: %date% %time% %zone%

pause

@echo Do you want to return to complete another task? (Y/N)
set /p answer="Enter input: "
if %answer%==Y (goto run)
if %answer%==y (goto run)
if %answer%==N exit
if %answer%==n exit

@echo Invalid input, please try again.

:run
cd ..

run.cmd

:end
pause
77 changes: 77 additions & 0 deletions Scripts/longtermstable.proj
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<Project>
<Import Project="..\Directory.Build.props" />

<PropertyGroup>
<RootFolder>$(MSBuildProjectDirectory)</RootFolder>
<Configuration>Release</Configuration>
</PropertyGroup>

<Target Name="Clean">
<ItemGroup>
<Projects Include="..\Source\Krypton Components\Krypton.*\*.csproj" />
</ItemGroup>
<MSBuild Projects="@(Projects)" Properties="Configuration=$(Configuration);TFMs=all" Targets="Clean" />
</Target>

<Target Name="Restore">
<ItemGroup>
<Projects Include="..\Source\Krypton Components\Krypton.*\*.csproj" />
</ItemGroup>
<MSBuild Projects="@(Projects)" Properties="Configuration=$(Configuration);TFMs=all" Targets="Restore" />
</Target>

<Target Name="Build" DependsOnTargets="Restore">
<ItemGroup>
<Projects Include="..\Source\Krypton Components\Krypton.*\*.csproj" />
</ItemGroup>
<MSBuild Projects="@(Projects)" Properties="Configuration=$(Configuration);TFMs=all" />
</Target>

<Target Name="CleanPackages">
<ItemGroup>
<NugetPkgs Include="..\Bin\Release\*.nupkg" />
</ItemGroup>
<Delete Files="@(NugetPkgs)" />
</Target>

<Target Name="PackLite">
<ItemGroup>
<Projects Include="..\Source\Krypton Components\Krypton.*\*.csproj" />
</ItemGroup>
<ItemGroup>
<NugetAssets Include="..\Source\Krypton Components\Krypton.*\obj\*.json" />
<NugetAssets Include="..\Source\Krypton Components\Krypton.*\obj\*.cache" />
<NugetAssets Include="..\Source\Krypton Components\Krypton.*\obj\*.g.targets" />
<NugetAssets Include="..\Source\Krypton Components\Krypton.*\obj\*.g.props" />
</ItemGroup>
<MSBuild Projects="@(Projects)" Properties="Configuration=$(Configuration);TFMs=all" Targets="Clean" />
<Delete Files="@(NugetAssets)" />
<MSBuild Projects="@(Projects)" Properties="Configuration=$(Configuration);TFMs=lite" Targets="Restore" />
<MSBuild Projects="@(Projects)" Properties="Configuration=$(Configuration);TFMs=lite" Targets="Pack" />
</Target>

<Target Name="PackAll">
<ItemGroup>
<Projects Include="..\Source\Krypton Components\Krypton.*\*.csproj" />
</ItemGroup>
<ItemGroup>
<NugetAssets Include="..\Source\Krypton Components\Krypton.*\obj\*.json" />
<NugetAssets Include="..\Source\Krypton Components\Krypton.*\obj\*.cache" />
<NugetAssets Include="..\Source\Krypton Components\Krypton.*\obj\*.g.targets" />
<NugetAssets Include="..\Source\Krypton Components\Krypton.*\obj\*.g.props" />
</ItemGroup>
<MSBuild Projects="@(Projects)" Properties="Configuration=$(Configuration);TFMs=all" Targets="Clean" />
<Delete Files="@(NugetAssets)" />
<MSBuild Projects="@(Projects)" Properties="Configuration=$(Configuration);TFMs=all" Targets="Restore" />
<MSBuild Projects="@(Projects)" Properties="Configuration=$(Configuration);TFMs=all" Targets="Pack" />
</Target>

<Target Name="Pack" DependsOnTargets="CleanPackages;PackLite;PackAll" />

<Target Name="Push">
<ItemGroup>
<NugetPkgs Include="..\Bin\Release\*.$(LibraryVersion).nupkg" />
</ItemGroup>
<Exec Command="nuget.exe push %(NugetPkgs.Identity)" />
</Target>
</Project>
32 changes: 32 additions & 0 deletions Source/Krypton Components/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,38 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
</When>

<When Condition="'$(Configuration)' == 'LTS'">
<ItemGroup>
<None Include="../../../Assets/PNG/NuGet Package Icons/Krypton LTS.png" Link="Icon.png" Pack="true" PackagePath="" />

<None Include="..\..\..\Documents\License\License.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>


<None Include="..\..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>

</ItemGroup>

<PropertyGroup>
<!-- common package data -->
<PackageProjectUrl>https://github.com/Krypton-Suite/Standard-Toolkit</PackageProjectUrl>
<PackageIcon>Krypton LTS.png</PackageIcon>
<Authors>Peter William Wagner &amp; Simon Coghlan &amp; Giduac &amp; Ahmed Abdelhameed &amp; Thomas Bolon</Authors>
<PackageLicenseFile>License.md</PackageLicenseFile>
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
<PackageTags>Krypton ComponentFactory WinForms Themes Controls DataGrid Ribbon Workspace Tabs .Net Toolkit</PackageTags>
<PackageReleaseNotes>Get updates here: https://github.com/Krypton-Suite/Standard-Toolkit</PackageReleaseNotes>
<RepositoryURL>https://github.com/Krypton-Suite/Standard-Toolkit</RepositoryURL>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
</PropertyGroup>
</When>
<Otherwise>
<ItemGroup>
<None Include="../../../Assets/PNG/NuGet Package Icons/Krypton Stable.png" Link="Icon.png" Pack="true" PackagePath="" />
Expand Down
Loading

0 comments on commit 3acdf42

Please sign in to comment.