Skip to content

Commit e34c74d

Browse files
committed
Merge from master
2 parents 6ea67b6 + 205772e commit e34c74d

File tree

18 files changed

+77
-44
lines changed

18 files changed

+77
-44
lines changed

ReleaseNotes.md

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,6 @@
1-
Hello folks,
2-
after a long time the release 2.8.0 is ready. Here are the highlights
1+
# Release 2.8.1
32

4-
### New Features :rocket:
5-
- You can undo/redo now (mostly). Yes, you read that right. Currently you can undo/redo the following
6-
- Adding of shapes and connections
7-
- Deleting of shapes and connections
8-
- Renaming shapes
9-
- Adding/inserting/renaming/modifying members of class shapes
10-
- Adding/inserting/renaming/modifying members of enums
11-
- Adding/inserting/renaming/modifying members of delegates
12-
- Pasting elements
13-
14-
Moreover I've implemented an undo/redo visualizer ala Photoshop:
15-
So this is what I considered the MVP of the feauture. There maybe bugs and not everything is in place, more will follow
16-
17-
- The support for vs2015 is now dropped and support for vs2019 is now in place in the code generation
18-
- NClass now uses an error details dialog when opening a file or importing a diagram. This should help find and troubleshoot problems faster
19-
- NClass now checks for updates on application start.
20-
21-
### Bug fixes :bug:
22-
- Fixed a weird behavior where shapes where dragged when the user did right click in them, caused by spurious win32 messages
23-
- Fixed a small error when importing assemblies and there were internal only property
24-
- Misc small stuff
25-
26-
### Next steps 📡
27-
So the work is going to continue with glacial pace, I'm doing this in my spare time, after all. The next release will focus on some java and code import improvements, most likely.
28-
29-
Thank you for your support and patience!
3+
This is release 2.8.1, bugfixes:
4+
- Fix the update checker and make it to do not nag at the user, if there are no updates #42
5+
- Build the zip archive in unix conform way #43
6+
- Use bitmap resources for the DetailsErrorDialog, so that it does not crash under linux #44

src/CSharp/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
// Build Number
3030
// Revision
3131
//
32-
[assembly: AssemblyVersion("2.8.0.0")]
32+
[assembly: AssemblyVersion("2.8.0.1")]
3333
[assembly: AssemblyFileVersion("2.8.0.0")]
3434
[assembly: InternalsVisibleTo("NClass.Tests")]

src/CodeGenerator/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@
2929
// Build Number
3030
// Revision
3131
//
32-
[assembly: AssemblyVersion("2.8.0.0")]
32+
[assembly: AssemblyVersion("2.8.0.1")]
3333
[assembly: AssemblyFileVersion("2.8.0.0")]

src/Core/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
// Build Number
3030
// Revision
3131
//
32-
[assembly: AssemblyVersion("2.8.0.0")]
32+
[assembly: AssemblyVersion("2.8.0.1")]
3333
[assembly: AssemblyFileVersion("2.8.0.0")]
3434
[assembly: InternalsVisibleTo("NClass.Tests")]

src/DiagramEditor/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@
2929
// Build Number
3030
// Revision
3131
//
32-
[assembly: AssemblyVersion("2.8.0.0")]
32+
[assembly: AssemblyVersion("2.8.0.1")]
3333
[assembly: AssemblyFileVersion("2.8.0.0")]

src/GUI/Dialogs/DetailsErrorDialog.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using System.Diagnostics.CodeAnalysis;
1818
using System.Drawing;
1919
using System.Windows.Forms;
20+
using NClass.GUI.Properties;
2021
using NClass.Translations;
2122

2223
namespace NClass.GUI.Dialogs
@@ -75,9 +76,9 @@ public string Message
7576

7677
public DetailsErrorDialog(MessageBoxIcon icon = MessageBoxIcon.Warning)
7778
{
78-
expandImage = new Bitmap(typeof(ThreadExceptionDialog), "down.bmp");
79+
expandImage = Resources.Down;
7980
expandImage.MakeTransparent();
80-
collapseImage = new Bitmap(typeof(ThreadExceptionDialog), "up.bmp");
81+
collapseImage = Resources.Up;
8182
collapseImage.MakeTransparent();
8283

8384
InitializeComponent();

src/GUI/GUI.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,12 @@
277277
<ItemGroup>
278278
<None Include="Resources\play.png" />
279279
</ItemGroup>
280+
<ItemGroup>
281+
<None Include="Resources\down.bmp" />
282+
</ItemGroup>
283+
<ItemGroup>
284+
<None Include="Resources\up.bmp" />
285+
</ItemGroup>
280286
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
281287
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
282288
Other similar extension points exist, see Microsoft.Common.targets.

src/GUI/MainForm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private async void MainForm_Load(object sender, EventArgs e)
119119
{
120120
LoadPlugins();
121121
LoadWindowSettings();
122-
await UpdatesChecker.CheckForUpdates();
122+
await UpdatesChecker.CheckForUpdates(true);
123123
}
124124

125125
private void LoadPlugins()

src/GUI/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929
// Build Number
3030
// Revision
3131
//
32-
[assembly: AssemblyVersion("2.8.0.0")]
33-
[assembly: AssemblyFileVersion("2.8.0.0")]
32+
[assembly: AssemblyVersion("2.8.0.1")]
33+
[assembly: AssemblyFileVersion("2.8.0.1")]
3434
[assembly: AssemblyInformationalVersion("branch-and-git-hash-here")]

src/GUI/Properties/Resources.Designer.cs

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)