Skip to content

Commit 5386955

Browse files
authored
Merge pull request #1295 from Ordisoftware/dev
Dev
2 parents 5ee50b2 + c4bb3c6 commit 5386955

18 files changed

+1530
-271
lines changed

Documents/WebLinks/WebLinks-18-YouTubePlaylistsSciences.txt

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ URL = https://www.youtube.com/playlist?list=PLSn7yTHwEx-BEv_KNGXktzeF8oBTXGoKR
2222
Name = (FR/EN) Bodybuilding et nutrition
2323
URL = https://www.youtube.com/playlist?list=PLSn7yTHwEx-BEAk_k9s5tCMG5ZPwK6KVz
2424

25+
Name = (FR/EN) Bodybuilding et nutrition selon JamCore
26+
URL = https://www.youtube.com/playlist?list=PLSn7yTHwEx-Dxwct2znoLCEugMfSoFVlB
27+
2528
Name = (FR) Mentalisme et psychologie
2629
URL = https://www.youtube.com/playlist?list=PLSn7yTHwEx-B3m_jadFZi3rvJx9LPhHeG
2730

Project/Hebrew Calendar (vs2022).csproj

+7-3
Original file line numberDiff line numberDiff line change
@@ -1138,6 +1138,10 @@
11381138
</BootstrapperPackage>
11391139
</ItemGroup>
11401140
<ItemGroup>
1141+
<Content Include="..\README.html">
1142+
<Link>README.html</Link>
1143+
<DependentUpon>README.md</DependentUpon>
1144+
</Content>
11411145
<Content Include="..\Setup\OrdisoftwareHebrewCalendarSetup.iss">
11421146
<Link>Properties\OrdisoftwareHebrewCalendarSetup.iss</Link>
11431147
</Content>
@@ -1173,7 +1177,7 @@
11731177
<Version>0.31.0</Version>
11741178
</PackageReference>
11751179
<PackageReference Include="morelinq">
1176-
<Version>3.4.1</Version>
1180+
<Version>3.4.2</Version>
11771181
</PackageReference>
11781182
<PackageReference Include="Newtonsoft.Json">
11791183
<Version>13.0.3</Version>
@@ -1205,12 +1209,12 @@
12051209
<PrivateAssets>all</PrivateAssets>
12061210
</PackageReference>
12071211
<PackageReference Include="IDisposableAnalyzers">
1208-
<Version>4.0.2</Version>
1212+
<Version>4.0.4</Version>
12091213
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
12101214
<PrivateAssets>all</PrivateAssets>
12111215
</PackageReference>
12121216
<PackageReference Include="Meziantou.Analyzer">
1213-
<Version>2.0.26</Version>
1217+
<Version>2.0.29</Version>
12141218
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
12151219
<PrivateAssets>all</PrivateAssets>
12161220
</PackageReference>

Project/Properties/AssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// en utilisant '*', comme indiqué ci-dessous :
3333
// [assembly: AssemblyVersion("1.0.*")]
3434
[assembly: NeutralResourcesLanguage("en")]
35-
[assembly: AssemblyVersion("10.3.0.0")]
36-
[assembly: AssemblyFileVersion("10.3.0.0")]
35+
[assembly: AssemblyVersion("10.4.0.0")]
36+
[assembly: AssemblyFileVersion("10.4.0.0")]

Project/Source/Common/Core/Globals/GlobalSuppressions.cs

+2
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,5 @@
9090
[assembly: SuppressMessage("Style", "GCop436:As the implementation is relatively long, change this into a standard method implementation.", Justification = "Opinion or N/A (need a parameter for the analyzer)", Scope = "module")]
9191
[assembly: SuppressMessage("Style", "GCop437:Complete the task associated to this \"TODO\" comment.", Justification = "N/A", Scope = "module")]
9292
[assembly: SuppressMessage("Usage", "GCop511:Either remove the parameter documentation node, or describe it properly.", Justification = "Opinion", Scope = "module")]
93+
94+
[assembly: SuppressMessage("CodeQuality", "IDE0079:Retirer la suppression inutile", Justification = "For GCop when no nuget added", Scope = "module")]

Project/Source/Common/Core/Globals/Globals.Assembly.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -61,37 +61,37 @@ static public string AssemblyTitleWithVersion
6161
/// Gets information describing the assembly.
6262
/// </summary>
6363
static public string AssemblyDescription
64-
=> GetAttribute<AssemblyDescriptionAttribute>().Description;
64+
=> GetAttribute<AssemblyDescriptionAttribute>()?.Description ?? string.Empty;
6565

6666
/// <summary>
6767
/// Gets the assembly product.
6868
/// </summary>
6969
static public string AssemblyProduct
70-
=> GetAttribute<AssemblyProductAttribute>().Product;
70+
=> GetAttribute<AssemblyProductAttribute>()?.Product ?? string.Empty;
7171

7272
/// <summary>
7373
/// Gets the assembly copyright.
7474
/// </summary>
7575
static public string AssemblyCopyright
76-
=> GetAttribute<AssemblyCopyrightAttribute>().Copyright;
76+
=> GetAttribute<AssemblyCopyrightAttribute>()?.Copyright ?? string.Empty;
7777

7878
/// <summary>
7979
/// Gets the assembly company.
8080
/// </summary>
8181
static public string AssemblyCompany
82-
=> GetAttribute<AssemblyCompanyAttribute>().Company;
82+
=> GetAttribute<AssemblyCompanyAttribute>()?.Company ?? string.Empty;
8383

8484
/// <summary>
8585
/// Gets the assembly trademark.
8686
/// </summary>
8787
static public string AssemblyTrademark
88-
=> GetAttribute<AssemblyTrademarkAttribute>().Trademark;
88+
=> GetAttribute<AssemblyTrademarkAttribute>()?.Trademark ?? string.Empty;
8989

9090
/// <summary>
9191
/// Gets the assembly GUID.
9292
/// </summary>
9393
static public string AssemblyGUID
94-
=> GetAttribute<System.Runtime.InteropServices.GuidAttribute>().Value;
94+
=> GetAttribute<GuidAttribute>()?.Value ?? string.Empty;
9595

9696
/// <summary>
9797
/// Gets the assembly compiled DateTime.

Project/Source/Common/Core/Globals/Globals.Files.cs

+7-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/// You may add additional accurate notices of copyright ownership.
1212
/// </license>
1313
/// <created> 2016-04 </created>
14-
/// <edited> 2022-03 </edited>
14+
/// <edited> 2023-04 </edited>
1515
namespace Ordisoftware.Core;
1616

1717
/// <summary>
@@ -149,6 +149,12 @@ static public string ApplicationIconFilePath
149149
static public string ApplicationReadmeMDPath
150150
=> Path.Combine(RootFolderPath, "README.md");
151151

152+
/// <summary>
153+
/// Indicates the file path of the application's readme html file.
154+
/// </summary>
155+
static public string ApplicationReadmeHtmlPath
156+
=> Path.Combine(RootFolderPath, "README.html");
157+
152158
/// <summary>
153159
/// Indicates the file path of the help.
154160
/// </summary>

Project/Source/Common/Core/System/SystemManager.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static public long SizeOf(this object instance)
133133
try
134134
{
135135
using var stream = new MemoryStream();
136-
new BinaryFormatter().Serialize(stream, instance); // TODO REPLACE
136+
new BinaryFormatter().Serialize(stream, instance);
137137
result = stream.Length;
138138
}
139139
catch ( Exception ex1 )

Project/Source/Common/Core/WinControls/CommonMenusControl.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,9 @@
1111
/// You may add additional accurate notices of copyright ownership.
1212
/// </license>
1313
/// <created> 2016-04 </created>
14-
/// <edited> 2022-09 </edited>
14+
/// <edited> 2023-04 </edited>
1515
namespace Ordisoftware.Core;
1616

17-
using Markdig;
18-
1917
using TranslationPair = KeyValuePair<string, TranslationsDictionary>;
2018

2119
public sealed partial class CommonMenusControl : UserControl
@@ -241,6 +239,8 @@ private void ActionOpenWebsiteURL_Click(object sender, EventArgs e)
241239

242240
private void ActionReadme_Click(object sender, EventArgs e)
243241
{
242+
SystemManager.RunShell(Globals.ApplicationReadmeHtmlPath);
243+
/* TODO remove that and markdig
244244
var fileLines = Markdown.ToHtml(File.ReadAllText(Globals.ApplicationReadmeMDPath),
245245
new MarkdownPipelineBuilder().UseAdvancedExtensions().Build());
246246
string filePath = Path.Combine(Path.GetTempPath(), $"{Globals.ApplicationCode}-README.html");
@@ -253,7 +253,7 @@ private void ActionReadme_Click(object sender, EventArgs e)
253253
SystemManager.TryCatch(() => File.Delete(filePath));
254254
timer.Dispose();
255255
};
256-
timer.Start();
256+
timer.Start();*/
257257
}
258258

259259
private void ActionAbout_Click(object sender, EventArgs e)

Project/Source/Forms/MainForm/MainForm.Designer.cs

+16-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Project/Source/Forms/MainForm/MainForm.resx

+4-7
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
<value>MonthlyCalendar</value>
230230
</data>
231231
<data name="&gt;&gt;MonthlyCalendar.Type" xml:space="preserve">
232-
<value>CodeProjectCalendar.NET.Calendar, Ordisoftware.Hebrew.Calendar, Version=10.1.0.0, Culture=neutral, PublicKeyToken=null</value>
232+
<value>CodeProjectCalendar.NET.Calendar, Ordisoftware.Hebrew.Calendar, Version=10.4.0.0, Culture=neutral, PublicKeyToken=null</value>
233233
</data>
234234
<data name="&gt;&gt;MonthlyCalendar.Parent" xml:space="preserve">
235235
<value>PanelViewMonthlyCalendar</value>
@@ -3625,9 +3625,6 @@
36253625
<data name="ContextMenuParashahSeparator.Size" type="System.Drawing.Size, System.Drawing">
36263626
<value>239, 6</value>
36273627
</data>
3628-
<data name="ContextMenuParashahSeparator.Visible" type="System.Boolean, mscorlib">
3629-
<value>False</value>
3630-
</data>
36313628
<data name="ContextMenuDayCelebrationVersesBoard.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
36323629
<value>
36333630
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
@@ -3927,7 +3924,7 @@
39273924
<value>Navigation window</value>
39283925
</data>
39293926
<data name="ContextMenuStripDay.Size" type="System.Drawing.Size, System.Drawing">
3930-
<value>243, 476</value>
3927+
<value>243, 498</value>
39313928
</data>
39323929
<data name="&gt;&gt;ContextMenuStripDay.Name" xml:space="preserve">
39333930
<value>ContextMenuStripDay</value>
@@ -3943,7 +3940,7 @@
39433940
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
39443941
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
39453942
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAC8
3946-
CQAAAk1TRnQBSQFMAgEBBAEAAaABAwGgAQMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
3943+
CQAAAk1TRnQBSQFMAgEBBAEAAagBAwGoAQMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
39473944
AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
39483945
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
39493946
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
@@ -4180,7 +4177,7 @@
41804177
<value>EditExportDataEnumsAsTranslations</value>
41814178
</data>
41824179
<data name="&gt;&gt;EditExportDataEnumsAsTranslations.Type" xml:space="preserve">
4183-
<value>Ordisoftware.Core.ToolStripCheckBoxItem, Ordisoftware.Hebrew.Calendar, Version=10.1.0.0, Culture=neutral, PublicKeyToken=null</value>
4180+
<value>Ordisoftware.Core.ToolStripCheckBoxItem, Ordisoftware.Hebrew.Calendar, Version=10.4.0.0, Culture=neutral, PublicKeyToken=null</value>
41844181
</data>
41854182
<data name="&gt;&gt;LabelEnumsAsTranslations.Name" xml:space="preserve">
41864183
<value>LabelEnumsAsTranslations</value>

Project/Source/Forms/MainForm/Reminder/MainForm.Reminder.AnnivMoon.cs

-55
This file was deleted.

Project/Source/Forms/MainForm/Reminder/MainForm.Reminder.AnnivMoonDay.cs

-33
This file was deleted.

0 commit comments

Comments
 (0)