Skip to content

Commit

Permalink
Updating package dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Serg-Norseman committed Dec 6, 2024
1 parent 79b2d78 commit cbf646e
Show file tree
Hide file tree
Showing 27 changed files with 80 additions and 62 deletions.
14 changes: 8 additions & 6 deletions projects/GKCore/GKCore.nstd.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

<Configurations>Debug;Release</Configurations>
<Platforms>MSWin86;MSWin64;Linux;MacOS;FreeBSD;Android;iPhone</Platforms>

<NoWarn>$(NoWarn);NU1902;NU1903;NU1904</NoWarn>
</PropertyGroup>

<Import Project="..\GKConfigurations3.targets" />
Expand Down Expand Up @@ -48,17 +50,17 @@

<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="all" />
<PackageReference Include="sqlite-net-pcl" Version="1.8.116" />
<PackageReference Include="YamlDotNet" Version="12.0.0" />
<PackageReference Include="sqlite-net-pcl" Version="1.9.172" />
<PackageReference Include="YamlDotNet" Version="16.2.1" />
<PackageReference Include="UTF.Unknown" Version="2.5.1" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="iTextSharp.LGPLv2.Core" Version="3.3.3" />
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="iTextSharp.LGPLv2.Core" Version="3.4.18" />
<PackageReference Include="log4net" Version="3.0.3" />
</ItemGroup>


<ItemGroup Condition=" !$(DefineConstants.Contains('MOBILE')) ">
<PackageReference Include="NLua" Version="1.6.2" />
<PackageReference Include="NLua" Version="1.7.3" />
</ItemGroup>


Expand Down
2 changes: 1 addition & 1 deletion projects/GKMap/GKMap.Core/GKMap.Core.nstd.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</ItemGroup>

<ItemGroup Condition=" !$(DefineConstants.Contains('MOBILE')) ">
<PackageReference Include="System.Data.SQLite" Version="1.0.117" />
<PackageReference Include="System.Data.SQLite" Version="1.0.119" />
</ItemGroup>

<ItemGroup Condition=" $(DefineConstants.Contains('OS_MSWIN')) ">
Expand Down
2 changes: 1 addition & 1 deletion projects/GKMap/GKMap.EtoForms/GKMap.EtoForms.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="all" />
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
</ItemGroup>

</Project>
1 change: 1 addition & 0 deletions projects/GKTests/GKCore/ControllerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,7 @@ public void Test_LocationEditDlgController()
SubstituteControl<IButton>(view, "btnSearch");
SubstituteControl<IButton>(view, "btnSelect");
SubstituteControl<IButton>(view, "btnSelectName");
SubstituteControl<IButton>(view, "btnSelectCursor");
SubstituteControl<IGroupBox>(view, "pageHistNames");
SubstituteControl<IGroupBox>(view, "pageHistLinks");

Expand Down
2 changes: 1 addition & 1 deletion projects/GKTests/GKCore/ListsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public void Test_LMGroup()
Assert.Throws(typeof(ArgumentNullException), () => { listColumns.CopyTo(null); });

listManager.QuickFilter.Value = "*";
listManager.AddCondition((byte)GroupListModel.ColumnType.ctName, ConditionKind.ck_Contains, "*roup*");
listManager.AddCondition((byte)GroupListModel.ColumnType.ctName, ConditionKind.ck_ContainsMask, "*roup*");
Assert.IsTrue(listManager.CheckFilter());
}

Expand Down
1 change: 1 addition & 0 deletions projects/GKv3/GEDKeeper3.sln
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "locales", "locales", "{4AF8
..\..\locales\russian.lng = ..\..\locales\russian.lng
..\..\locales\Serbian (Latin).lng = ..\..\locales\Serbian (Latin).lng
..\..\locales\Spanish.lng = ..\..\locales\Spanish.lng
..\..\locales\Turkish.lng = ..\..\locales\Turkish.lng
..\..\locales\ukrainian.lng = ..\..\locales\ukrainian.lng
EndProjectSection
EndProject
Expand Down
10 changes: 6 additions & 4 deletions projects/GKv3/GEDKeeper3/GEDKeeper3.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

<Configurations>Debug;Release</Configurations>
<Platforms>MSWin86;MSWin64;Linux;MacOS;FreeBSD</Platforms>

<NoWarn>$(NoWarn);NU1902;NU1903;NU1904</NoWarn>
</PropertyGroup>

<Import Project="..\..\GKConfigurations3.targets" />
Expand All @@ -35,7 +37,7 @@

<ItemGroup>
<PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
</ItemGroup>


Expand All @@ -50,7 +52,7 @@
</PropertyGroup>

<ItemGroup Condition=" $(DefineConstants.Contains('OS_MSWIN')) ">
<PackageReference Include="Eto.Platform.Wpf" Version="2.8.0" />
<PackageReference Include="Eto.Platform.Wpf" Version="2.8.3" />
</ItemGroup>

<PropertyGroup Condition=" '$(Platform)' == 'MSWin86' ">
Expand Down Expand Up @@ -89,7 +91,7 @@
</PropertyGroup>

<ItemGroup Condition=" $(DefineConstants.Contains('OS_LINUX')) or $(DefineConstants.Contains('OS_FREEBSD')) ">
<PackageReference Include="Eto.Platform.Gtk" Version="2.8.0" />
<PackageReference Include="Eto.Platform.Gtk" Version="2.8.3" />
</ItemGroup>


Expand All @@ -101,7 +103,7 @@
</PropertyGroup>

<ItemGroup Condition=" $(DefineConstants.Contains('OS_MACOS')) ">
<PackageReference Include="Eto.Platform.Mac64" Version="2.8.0" />
<PackageReference Include="Eto.Platform.Mac64" Version="2.8.3" />
</ItemGroup>

<ItemGroup Condition=" $(DefineConstants.Contains('OS_MACOS')) ">
Expand Down
3 changes: 1 addition & 2 deletions projects/GKv3/GEDKeeper3/GKUI/Forms/RepositoryCitEditDlg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,11 @@ public sealed partial class RepositoryCitEditDlg : CommonDialog<IRepositoryCitEd
private Button btnAccept;
private Button btnCancel;
private Button btnRepositoryAdd;
private GKSheetList fCallNumbersList;

#pragma warning restore CS0169, CS0649, IDE0044, IDE0051
#endregion

private readonly GKSheetList fCallNumbersList;

public GDMRepositoryCitation RepositoryCitation
{
get { return fController.RepositoryCitation; }
Expand Down
8 changes: 5 additions & 3 deletions projects/GKv3/GKComponents/GKComponents.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

<Configurations>Debug;Release</Configurations>
<Platforms>MSWin86;MSWin64;Linux;MacOS;FreeBSD</Platforms>

<NoWarn>$(NoWarn);NU1902;NU1903;NU1904</NoWarn>
</PropertyGroup>

<Import Project="..\..\GKConfigurations3.targets" />
Expand All @@ -34,11 +36,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
<PackageReference Include="OxyPlot.Eto" Version="1.1.0" />
<PackageReference Include="ExifLibNet" Version="2.1.4" />
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.5" />
<PackageReference Include="SixLabors.ImageSharp" Version="3.1.6" />
</ItemGroup>

<ItemGroup Condition=" !$(DefineConstants.Contains('DIS_VLC')) ">
Expand Down
10 changes: 2 additions & 8 deletions projects/GKv3/GKComponents/GKUI/Components/GKListView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using BSLib;
using Eto.Drawing;
using Eto.Forms;
Expand Down Expand Up @@ -305,21 +306,14 @@ protected override void OnColumnHeaderClick(GridColumnEventArgs e)
base.OnColumnHeaderClick(e);
}

// In Eto not exists
/*protected override void OnDrawColumnHeader(DrawListViewColumnHeaderEventArgs e)
{
}*/

/*protected override void OnSelectionChanged(EventArgs e)
{
base.OnSelectionChanged(e);
// FIXME: [Wpf]GridView.ReloadData(...) is very slow, Eto 2.7.0 #2245
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) {
return;
base.ReloadData(base.SelectedRow);
}
base.ReloadData(base.SelectedRow);
}*/

private int fRowFormatting = -1;
Expand Down
18 changes: 14 additions & 4 deletions projects/GKv3/GKComponents/GKUI/Forms/PrintableForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@

//define DEBUG_PRINT

using System;
using BSLib;
using Eto.Drawing;
using Eto.Forms;
using GKCore;
using GKCore.Design.Graphics;
using GKUI.Platform.Handlers;

Expand Down Expand Up @@ -108,17 +110,25 @@ public void DoPrint()
{
InitCurDoc();

using (PrintDialog printDlg = new PrintDialog()) {
printDlg.ShowDialog(this, fPrintDoc);
try {
using (PrintDialog printDlg = new PrintDialog()) {
printDlg.ShowDialog(this, fPrintDoc);
}
} catch (Exception ex) {
Logger.WriteError("PrintableForm.DoPrint()", ex);
}
}

public void DoPrintPreview()
{
InitCurDoc();

using (PrintPreviewDialog previewDlg = new PrintPreviewDialog(fPrintDoc)) {
previewDlg.ShowDialog(this);
try {
using (PrintPreviewDialog previewDlg = new PrintPreviewDialog(fPrintDoc)) {
previewDlg.ShowDialog(this);
}
} catch (Exception ex) {
Logger.WriteError("PrintableForm.DoPrintPreview()", ex);
}
}

Expand Down
7 changes: 7 additions & 0 deletions projects/GKv3/NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@

# Fundamentals

.NET 6,8-9 - only supports Windows >= 10 (7 SP1 and 8.1 also ended!)
https://github.com/dotnet/core/blob/main/release-notes/9.0/supported-os.md
https://github.com/dotnet/core/blob/main/release-notes/8.0/supported-os.md
https://github.com/dotnet/core/blob/main/release-notes/6.0/supported-os.md

# Eto.Forms

Eto.Forms v2.7.4 compatible with netfw462
Expand Down
4 changes: 2 additions & 2 deletions projects/plugins/GKBackupPlugin/GKBackupPlugin.net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
</ItemGroup>

<Import Project="GKBackupPlugin.props" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
</ItemGroup>

<Import Project="GKCalculatorPlugin.props" />
Expand Down
4 changes: 2 additions & 2 deletions projects/plugins/GKCalendarPlugin/GKCalendarPlugin.net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
</ItemGroup>

<Import Project="GKCalendarPlugin.props" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
</ItemGroup>

<Import Project="GKChroniclePlugin.props" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
</ItemGroup>

<Import Project="GKFlowInputPlugin.props" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
</ItemGroup>

<Import Project="GKHistoryDataPlugin.props" />
Expand Down
4 changes: 2 additions & 2 deletions projects/plugins/GKLifePlugin/GKLifePlugin.net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
</ItemGroup>

<Import Project="GKLifePlugin.props" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
</ItemGroup>

<Import Project="GKNamesBookPlugin.props" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
</ItemGroup>

<Import Project="GKNavigatorPlugin.props" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="NPOI" Version="2.6.2" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
<PackageReference Include="NPOI" Version="2.7.2" />
</ItemGroup>

<Import Project="GKPedigreeImporterPlugin.props" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Lucene.Net" Version="4.8.0-beta00016" />
<PackageReference Include="Lucene.Net.Analysis.Common" Version="4.8.0-beta00016" />
<PackageReference Include="Lucene.Net.QueryParser" Version="4.8.0-beta00016" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
<PackageReference Include="Lucene.Net" Version="4.8.0-beta00017" />
<PackageReference Include="Lucene.Net.Analysis.Common" Version="4.8.0-beta00017" />
<PackageReference Include="Lucene.Net.QueryParser" Version="4.8.0-beta00017" />
</ItemGroup>

<Import Project="GKTextSearchPlugin.props" />
Expand Down
4 changes: 2 additions & 2 deletions projects/plugins/GKTimeLinePlugin/GKTimeLinePlugin.net.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.0" />
<PackageReference Include="Eto.Forms" Version="2.8.3" />
<PackageReference Include="Eto.Serialization.Xaml" Version="2.8.3" />
</ItemGroup>

<Import Project="GKTimeLinePlugin.props" />
Expand Down
Loading

0 comments on commit cbf646e

Please sign in to comment.