Skip to content

Commit

Permalink
Release 2.0.39, se changelog for details
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeio committed Jul 5, 2022
1 parent 3e76e54 commit 5ebc00e
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 18 deletions.
4 changes: 2 additions & 2 deletions CNC Controls Camera/CNC Controls Camera/ConfigControl.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
xmlns:local="clr-namespace:CNC.Controls.Camera"
xmlns:Controls="clr-namespace:CNC.Controls;assembly=CNC.Controls.WPF" x:Class="CNC.Controls.Camera.ConfigControl"
mc:Ignorable="d"
d:DesignHeight="160" d:DesignWidth="250">
<GroupBox x:Uid="grp_camera" x:Name="grpCamera" Header="Camera" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="250">
d:DesignHeight="160" d:DesignWidth="310">
<GroupBox x:Uid="grp_camera" x:Name="grpCamera" Header="Camera" HorizontalAlignment="Left" VerticalAlignment="Top" Height="Auto" Width="310">
<StackPanel HorizontalAlignment="Left" Height="Auto" Margin="0,3,0,0" VerticalAlignment="Top" Width="235">
<CheckBox x:Uid="chk_moveToSpindle" Content="Inital move to spindle" IsChecked="{Binding Path=Camera.InitialMoveToSpindle, Mode=TwoWay}" Margin="90,0,0,0"/>
<CheckBox x:Uid="chk_confirmMove" Content="Confirm move" IsChecked="{Binding Path=Camera.ConfirmMove, Mode=TwoWay}" Margin="90,0,0,0"/>
Expand Down
4 changes: 2 additions & 2 deletions CNC Controls/CNC Controls/Converters.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* Converters.cs - part of CNC Controls library for Grbl
*
* v0.36 / 2021-12-08 / Io Engineering (Terje Io)
* v0.39 / 2022-06-24 / Io Engineering (Terje Io)
*
*/

Expand Down Expand Up @@ -375,7 +375,7 @@ public class LogicalNotConverter : IValueConverter

public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
bool result = (value is bool ? !(bool)value : ((value is int) ? (int)value == 0 : false)) || value == null;
bool result = (value is bool ? !(bool)value : ((value is bool?) ? (bool?)value != true : ((value is int) ? (int)value == 0 : false))) || value == null;

return FinalConverter == null ? result : FinalConverter.Convert(result, targetType, parameter, culture);
}
Expand Down
4 changes: 2 additions & 2 deletions CNC Core/CNC Core/GrblViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* GrblViewModel.cs - part of CNC Controls library
*
* v0.38 / 2022-06-01 / Io Engineering (Terje Io)
* v0.39 / 2022-06-24 / Io Engineering (Terje Io)
*
*/

Expand Down Expand Up @@ -755,7 +755,7 @@ public void ParseHomedStatus(string data)
public bool ParseStatus(string data)
{
bool changed, wco_present = data.Contains("|WCO:");
int rti = data.Contains("|WCO:") ? 1 : (data.Contains("|Ov:") ? 2 : 0);
int rti = data.Contains("|WCO:") || data.Contains("|MPG:") ? 1 : (data.Contains("|Ov:") ? 2 : 0);

if ((changed = (_rtState[rti] != data) || _grblState.State == GrblStates.Unknown)) {

Expand Down
4 changes: 2 additions & 2 deletions Grbl Config App/Grbl Config App/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.38.0")]
[assembly: AssemblyFileVersion("2.0.38.0")]
[assembly: AssemblyVersion("2.0.39.0")]
[assembly: AssemblyFileVersion("2.0.39.0")]
8 changes: 8 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
## ioSender changelog

2022-07-05: [Release 2.0.39](https://github.com/terjeio/Grbl-GCode-Sender/releases/tag/2.0.39).

* Fixed MPG mode switching issue, "hardened" code.
* Removed dependency on XCeed WPF toolkit. WPF toolkit issue [#1598}(https://github.com/xceedsoftware/wpftoolkit/issues/1598) and sender issue [#231](https://github.com/terjeio/ioSender/issues/231).
* UI color selection for 3D viewer disabled. Color changes has to be done by editing _App.cofig_ until a new color picker is found or made.

---

Executable for development builds available for download [here](http://www.io-engineering.com/downloads/) if you want to participate in testing.

2022-06-12: [Release 2.0.38](https://github.com/terjeio/Grbl-GCode-Sender/releases/tag/2.0.38).
Expand Down
4 changes: 2 additions & 2 deletions ioSender XL/ioSender XL/JobView.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* JobView.xaml.cs - part of Grbl Code Sender
*
* v0.38 / 2022-02-27 / Io Engineering (Terje Io)
* v0.39 / 2022-06-24 / Io Engineering (Terje Io)
*
*/

Expand Down Expand Up @@ -85,7 +85,7 @@ private void OnDataContextPropertyChanged(object sender, PropertyChangedEventArg
if (sender is GrblViewModel) switch (e.PropertyName)
{
case nameof(GrblViewModel.GrblState):
if (!Controller.ResetPending)
if (Controller != null && !Controller.ResetPending)
{
if (isBooted && initOK == false && (sender as GrblViewModel).GrblState.State != GrblStates.Alarm)
Dispatcher.BeginInvoke(new System.Action(() => InitSystem()), DispatcherPriority.ApplicationIdle);
Expand Down
2 changes: 1 addition & 1 deletion ioSender XL/ioSender XL/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace GCode_Sender

public partial class MainWindow : Window
{
private const string version = "2.0.38";
private const string version = "2.0.39";
public static MainWindow ui = null;
public static CNC.Controls.Viewer.Viewer GCodeViewer = null;
public static UIViewModel UIViewModel { get; } = new UIViewModel();
Expand Down
4 changes: 2 additions & 2 deletions ioSender XL/ioSender XL/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.38.0")]
[assembly: AssemblyFileVersion("2.0.38.0")]
[assembly: AssemblyVersion("2.0.39.0")]
[assembly: AssemblyFileVersion("2.0.39.0")]
4 changes: 2 additions & 2 deletions ioSender/ioSender/JobView.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* JobView.xaml.cs - part of Grbl Code Sender
*
* v0.38 / 2022-04-15 / Io Engineering (Terje Io)
* v0.39 / 2022-06-24 / Io Engineering (Terje Io)
*
*/

Expand Down Expand Up @@ -85,7 +85,7 @@ private void OnDataContextPropertyChanged(object sender, PropertyChangedEventArg
if (sender is GrblViewModel) switch (e.PropertyName)
{
case nameof(GrblViewModel.GrblState):
if (!Controller.ResetPending)
if (Controller != null && !Controller.ResetPending)
{
if (initOK == false && isBooted && (sender as GrblViewModel).GrblState.State != GrblStates.Alarm)
{
Expand Down
2 changes: 1 addition & 1 deletion ioSender/ioSender/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ namespace GCode_Sender

public partial class MainWindow : Window
{
private const string version = "2.0.38";
private const string version = "2.0.39";
public static MainWindow ui = null;
public static CNC.Controls.Viewer.Viewer GCodeViewer = null;
public static UIViewModel UIViewModel { get; } = new UIViewModel();
Expand Down
4 changes: 2 additions & 2 deletions ioSender/ioSender/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.38.0")]
[assembly: AssemblyFileVersion("2.0.38.0")]
[assembly: AssemblyVersion("2.0.39.0")]
[assembly: AssemblyFileVersion("2.0.39.0")]

0 comments on commit 5ebc00e

Please sign in to comment.