From 6b881d0aa024d1470ab808ae9cb2fb89401c9f94 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Thu, 9 Jul 2020 00:56:43 +0300 Subject: [PATCH 01/20] Update README.md --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 10a0d2e..68ef50e 100644 --- a/README.md +++ b/README.md @@ -49,15 +49,20 @@ If you like or are using this project please give it a star. Thanks! - - - + + + + + + + + ``` ### Save work space as PNG/JPEG From aab924ab56a2596f92622b92fbe64e2761e2485e Mon Sep 17 00:00:00 2001 From: GMIKE Date: Thu, 9 Jul 2020 01:18:10 +0300 Subject: [PATCH 02/20] update version --- .../SimpleStateMachineNodeEditor.csproj | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj b/SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj index 479dbcb..c59128a 100644 --- a/SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj +++ b/SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj @@ -7,7 +7,7 @@ SimpleStateMachineNodeEditor.App StateMachine.ico false - 1.1.0 + 2.0.0 MIT https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor SimpleStateMachine.png @@ -15,11 +15,11 @@ statemachine state-machine finite-state-machine false Node editor for SimpleStateMachine - 1.1.0.0 - 1.1.0.0 - Table of transitions -Fix for read start state -ReactiveUI 11.4.17 + 2.0.0.0 + 2.0.0.0 + Correct scaling +Config for save last selected theme +New format for xml file with schemes From 95d635b060d2a95cf67ae74ea9205526787c0e00 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Fri, 10 Jul 2020 14:36:44 +0300 Subject: [PATCH 03/20] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 68ef50e..0c14158 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,8 @@ -# StateMachineNodeEditor [![](https://img.shields.io/github/v/release/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/releases) [![](https://img.shields.io/github/stars/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/license/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) +# StateMachineNodeEditor [![](https://img.shields.io/github/v/release/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/releases) [![](https://img.shields.io/github/stars/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/license/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/SimpleStateMachine) + StateMachineNodeEditor is a WPF node-editor for visual work and editoring state-machine ## Give a Star! :star: From 39eb4d3538d96359359efa32f847d0006948dd92 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Fri, 10 Jul 2020 14:46:34 +0300 Subject: [PATCH 04/20] Update README.md --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c14158..9ceb2f4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# StateMachineNodeEditor [![](https://img.shields.io/github/v/release/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/releases) [![](https://img.shields.io/github/stars/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/license/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/SimpleStateMachine) +# StateMachineNodeEditor [![](https://img.shields.io/github/v/release/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/releases) [![](https://img.shields.io/github/stars/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/license/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w) StateMachineNodeEditor is a WPF node-editor for visual work and editoring state-machine @@ -77,7 +77,6 @@ If you like or are using this project please give it a star. Thanks! **3.** Run the exe file - ## Shortcuts📎 * Ctrl +A = Select All Nodes * Ctrl + S = Save @@ -103,6 +102,14 @@ If you like or are using this project please give it a star. Thanks! * C + Delete = Delete Selected Connector * N + Delete = Delete Selected Nodes + ## FAQ📎 + If you think you have found a bug, create a github [issue](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/issues). + + But if you just have questions about how to use: + +- [Slack channel](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) +- [Telegram channel](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w) + ## License📑 Copyright (c) SimpleStateMachine From 7683078bde96f2f6492292a4a4f7cf24061aad7b Mon Sep 17 00:00:00 2001 From: GMIKE Date: Fri, 10 Jul 2020 14:47:02 +0300 Subject: [PATCH 05/20] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9ceb2f4..441539e 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ If you like or are using this project please give it a star. Thanks! * C + Delete = Delete Selected Connector * N + Delete = Delete Selected Nodes - ## FAQ📎 + ## FAQ❔ If you think you have found a bug, create a github [issue](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/issues). But if you just have questions about how to use: From 9c6d62616f8c72ad2ff377f7889a122330ef82ca Mon Sep 17 00:00:00 2001 From: Kibnet Philosoff Date: Fri, 10 Jul 2020 16:12:05 +0300 Subject: [PATCH 06/20] refactor: Took out the Configurator in Nuget --- SimpleStateMachineNodeEditor/App.xaml.cs | 14 +-- .../WritableJsonConfigurationProvider.cs | 99 ------------------- ...ableJsonConfigurationProviderExtensions.cs | 33 ------- .../WritableJsonConfigurationSource.cs | 14 --- .../SimpleStateMachineNodeEditor.csproj | 1 + .../NodesCanvasCommandsViewModel.cs | 3 +- 6 files changed, 5 insertions(+), 159 deletions(-) delete mode 100644 SimpleStateMachineNodeEditor/Helpers/Configuration/WritableJsonConfigurationProvider.cs delete mode 100644 SimpleStateMachineNodeEditor/Helpers/Configuration/WritableJsonConfigurationProviderExtensions.cs delete mode 100644 SimpleStateMachineNodeEditor/Helpers/Configuration/WritableJsonConfigurationSource.cs diff --git a/SimpleStateMachineNodeEditor/App.xaml.cs b/SimpleStateMachineNodeEditor/App.xaml.cs index 0d61160..07c417c 100644 --- a/SimpleStateMachineNodeEditor/App.xaml.cs +++ b/SimpleStateMachineNodeEditor/App.xaml.cs @@ -1,9 +1,9 @@ using System.Reflection; using Microsoft.Extensions.Configuration; using ReactiveUI; -using SimpleStateMachineNodeEditor.Helpers.Configuration; using Splat; using SimpleStateMachineNodeEditor.Helpers.Converters; +using WritableJsonConfiguration; using Application = System.Windows.Application; namespace SimpleStateMachineNodeEditor @@ -18,16 +18,8 @@ public App() Locator.CurrentMutable.RegisterViewsForViewModels(Assembly.GetCallingAssembly()); Locator.CurrentMutable.RegisterConstant(new ConverterBoolAndVisibility(), typeof(IBindingTypeConverter)); - IConfigurationBuilder configurationBuilder = new ConfigurationBuilder(); - IConfigurationRoot configuration = configurationBuilder.Add(s => - { - s.FileProvider = null; - s.Path = "Settings.json"; - s.Optional = true; - s.ReloadOnChange = true; - s.ResolveFileProvider(); - }).Build(); - + IConfigurationRoot configuration; + configuration = WritableJsonConfigurationFabric.Create("Settings.json"); Locator.CurrentMutable.RegisterConstant(configuration, typeof(IConfiguration)); } } diff --git a/SimpleStateMachineNodeEditor/Helpers/Configuration/WritableJsonConfigurationProvider.cs b/SimpleStateMachineNodeEditor/Helpers/Configuration/WritableJsonConfigurationProvider.cs deleted file mode 100644 index be17ef1..0000000 --- a/SimpleStateMachineNodeEditor/Helpers/Configuration/WritableJsonConfigurationProvider.cs +++ /dev/null @@ -1,99 +0,0 @@ -using System; -using System.IO; -using Microsoft.Extensions.Configuration.Json; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; - -namespace SimpleStateMachineNodeEditor.Helpers.Configuration -{ - public class WritableJsonConfigurationProvider : JsonConfigurationProvider - { - public WritableJsonConfigurationProvider(JsonConfigurationSource source) : base(source) - { - } - - private void Save(dynamic jsonObj) - { - var fileFullPath = base.Source.FileProvider.GetFileInfo(base.Source.Path).PhysicalPath; - string output = JsonConvert.SerializeObject(jsonObj, Formatting.Indented); - File.WriteAllText(fileFullPath, output); - } - - private void SetValue(string key, string value, dynamic jsonObj) - { - base.Set(key, value); - var split = key.Split(":"); - var context = jsonObj; - for (int i = 0; i < split.Length; i++) - { - var currentKey = split[i]; - if (i < split.Length - 1) - { - var child = jsonObj[currentKey]; - if (child == null) - { - context[currentKey] = new JObject(); - } - context = context[currentKey]; - } - else - { - context[currentKey] = value; - } - } - } - - private dynamic GetJsonObj() - { - var fileFullPath = base.Source.FileProvider.GetFileInfo(base.Source.Path).PhysicalPath; - var json = File.Exists(fileFullPath) ? File.ReadAllText(fileFullPath) : "{}"; - return JsonConvert.DeserializeObject(json); - } - - public override void Set(string key, string value) - { - var jsonObj = GetJsonObj(); - SetValue(key, value, jsonObj); - Save(jsonObj); - } - - public void Set(string key, object value) - { - var jsonObj = GetJsonObj(); - var serialized = JsonConvert.SerializeObject(value); - var jToken = JsonConvert.DeserializeObject(serialized) as JToken ?? new JValue(value); - WalkAndSet(key, jToken, jsonObj); - Save(jsonObj); - } - - private void WalkAndSet(string key, JToken value, dynamic jsonObj) - { - switch (value) - { - case JArray jArray: - { - //TODO Realize arrays - break; - } - case JObject jObject: - { - foreach (var propertyInfo in jObject.Properties()) - { - var propName = propertyInfo.Name; - var currentKey = key == null ? propName : $"{key}:{propName}"; - var propValue = propertyInfo.Value; - WalkAndSet(currentKey, propValue, jsonObj); - } - break; - } - case JValue jValue: - { - SetValue(key, jValue.ToString(), jsonObj); - break; - } - default: - throw new ArgumentOutOfRangeException(nameof(value)); - } - } - } -} \ No newline at end of file diff --git a/SimpleStateMachineNodeEditor/Helpers/Configuration/WritableJsonConfigurationProviderExtensions.cs b/SimpleStateMachineNodeEditor/Helpers/Configuration/WritableJsonConfigurationProviderExtensions.cs deleted file mode 100644 index bf38a50..0000000 --- a/SimpleStateMachineNodeEditor/Helpers/Configuration/WritableJsonConfigurationProviderExtensions.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Linq; -using System.Reflection; -using Microsoft.Extensions.Configuration; - -namespace SimpleStateMachineNodeEditor.Helpers.Configuration -{ - public static class WritableJsonConfigurationProviderExtensions - { - public static void Set(this IConfiguration configuration, object value) - { - switch (configuration) - { - case IConfigurationRoot configurationRoot: - { - var provider = configurationRoot.Providers.First(p => p is WritableJsonConfigurationProvider) as WritableJsonConfigurationProvider; - provider.Set(null, value); - break; - } - case ConfigurationSection configurationSection: - { - var rootProp = typeof(ConfigurationSection).GetField("_root", BindingFlags.NonPublic | BindingFlags.Instance); ; - var root = rootProp.GetValue(configurationSection) as IConfigurationRoot; - var provider = root.Providers.First(p => p is WritableJsonConfigurationProvider) as WritableJsonConfigurationProvider; - provider.Set(configurationSection.Path, value); - break; - } - default: - throw new ArgumentOutOfRangeException(nameof(configuration)); - } - } - } -} \ No newline at end of file diff --git a/SimpleStateMachineNodeEditor/Helpers/Configuration/WritableJsonConfigurationSource.cs b/SimpleStateMachineNodeEditor/Helpers/Configuration/WritableJsonConfigurationSource.cs deleted file mode 100644 index fdd871d..0000000 --- a/SimpleStateMachineNodeEditor/Helpers/Configuration/WritableJsonConfigurationSource.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Configuration.Json; - -namespace SimpleStateMachineNodeEditor.Helpers.Configuration -{ - public class WritableJsonConfigurationSource : JsonConfigurationSource - { - public override IConfigurationProvider Build(IConfigurationBuilder builder) - { - this.EnsureDefaults(builder); - return (IConfigurationProvider)new WritableJsonConfigurationProvider(this); - } - } -} \ No newline at end of file diff --git a/SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj b/SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj index c59128a..fa16753 100644 --- a/SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj +++ b/SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj @@ -72,6 +72,7 @@ New format for xml file with schemes + diff --git a/SimpleStateMachineNodeEditor/ViewModel/NodesCanvas/NodesCanvasCommandsViewModel.cs b/SimpleStateMachineNodeEditor/ViewModel/NodesCanvas/NodesCanvasCommandsViewModel.cs index c252718..1ae6cc2 100644 --- a/SimpleStateMachineNodeEditor/ViewModel/NodesCanvas/NodesCanvasCommandsViewModel.cs +++ b/SimpleStateMachineNodeEditor/ViewModel/NodesCanvas/NodesCanvasCommandsViewModel.cs @@ -1,4 +1,4 @@ -using DynamicData; +using DynamicData; using ReactiveUI; using SimpleStateMachineNodeEditor.Helpers; using SimpleStateMachineNodeEditor.Helpers.Commands; @@ -13,7 +13,6 @@ using System.Windows.Input; using System.Xml.Linq; using Microsoft.Extensions.Configuration; -using SimpleStateMachineNodeEditor.Helpers.Configuration; using Splat; using System.Drawing.Drawing2D; using System.Windows.Media; From ff861a4d102ba9e83f9757a2c8910a0f94386df9 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Sat, 11 Jul 2020 01:35:05 +0300 Subject: [PATCH 07/20] Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 441539e..79e9af5 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,11 @@ -# StateMachineNodeEditor [![](https://img.shields.io/github/v/release/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/releases) [![](https://img.shields.io/github/stars/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/license/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w) - + [![](https://img.shields.io/github/v/release/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/releases) [![](https://img.shields.io/github/stars/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/license/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/languages/code-size/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) + [![]( https://img.shields.io/github/last-commit/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) + + [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w) +# StateMachineNodeEditor StateMachineNodeEditor is a WPF node-editor for visual work and editoring state-machine ## Give a Star! :star: From 1d145fa4cfde7be58e6051a9b55c16ef2d0f64a1 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Sat, 11 Jul 2020 02:08:39 +0300 Subject: [PATCH 08/20] Update README.md --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 79e9af5..9bd3142 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,11 @@ - - - [![](https://img.shields.io/github/v/release/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/releases) [![](https://img.shields.io/github/stars/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/license/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/languages/code-size/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![]( https://img.shields.io/github/last-commit/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w) -# StateMachineNodeEditor - StateMachineNodeEditor is a WPF node-editor for visual work and editoring state-machine + + # ![](https://avatars3.githubusercontent.com/u/61209955?s=50&v=4) SimpleStateMachineNodeEditor + + SimpleStateMachineNodeEditor is a WPF node-editor for visual work and editoring state-machine ## Give a Star! :star: If you like or are using this project please give it a star. Thanks! From 4c96b0ede819f88fcf24cef6fd8ada8fd51db924 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Sat, 11 Jul 2020 02:09:00 +0300 Subject: [PATCH 09/20] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9bd3142..c8d6b51 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w) - # ![](https://avatars3.githubusercontent.com/u/61209955?s=50&v=4) SimpleStateMachineNodeEditor + # SimpleStateMachineNodeEditor SimpleStateMachineNodeEditor is a WPF node-editor for visual work and editoring state-machine From a3cb5270337fba7fb2cc3ca607d393e801499ad9 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Sat, 11 Jul 2020 02:09:34 +0300 Subject: [PATCH 10/20] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index c8d6b51..517dc72 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ [![](https://img.shields.io/github/v/release/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/releases) [![](https://img.shields.io/github/stars/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/license/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/languages/code-size/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) - [![]( https://img.shields.io/github/last-commit/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) - - [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w) + [![]( https://img.shields.io/github/last-commit/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w) # SimpleStateMachineNodeEditor From 154983e954efda2733242612ada469676f776839 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Mon, 13 Jul 2020 01:44:33 +0300 Subject: [PATCH 11/20] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 517dc72..794c272 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![](https://img.shields.io/github/v/release/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/releases) [![](https://img.shields.io/github/stars/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/license/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/languages/code-size/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) - [![]( https://img.shields.io/github/last-commit/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w) + [![]( https://img.shields.io/github/last-commit/SimpleStateMachine/SimpleStateMachineNodeEditor/ToAvaloniaUI)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w) # SimpleStateMachineNodeEditor From dd39546042c1a96198fb0ccfac19c6823192a83d Mon Sep 17 00:00:00 2001 From: GMIKE Date: Sun, 30 Aug 2020 19:00:53 +0300 Subject: [PATCH 12/20] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..472fd17 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,34 @@ +jobs: +- job: Linux + pool: + vmImage: 'ubuntu-18.04' + variables: + buildConfiguration: 'Release' + steps: + - script: cd $(Build.SourcesDirectory) && bash ./build.sh + displayName: 'Linux Build and Tests' + - task: PublishTestResults@2 + inputs: + testRunner: VSTest + testResultsFiles: '**/*.trx' + +- job: Windows + pool: + vmImage: 'windows-2019' + variables: + buildConfiguration: 'Release' + steps: + - task: DotNetCoreInstaller@0 + inputs: + version: '3.1.302' + - script: cd $(Build.SourcesDirectory) && powershell -ExecutionPolicy Unrestricted ./build.ps1 --full + displayName: 'Windows Full Build and Tests' + - task: PublishTestResults@2 + inputs: + testRunner: VSTest + testResultsFiles: '**/*.trx' + - task: PublishCodeCoverageResults@1 + inputs: + summaryFileLocation: $(Build.SourcesDirectory)\artifacts\coverage.cobertura.xml + reportDirectory: $(Build.SourcesDirectory)\artifacts + codecoverageTool: cobertura \ No newline at end of file From 28161acae3da6e3ad61a045cf0403dc076a96cde Mon Sep 17 00:00:00 2001 From: GMIKE Date: Sun, 30 Aug 2020 19:20:32 +0300 Subject: [PATCH 13/20] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 472fd17..05e3524 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -5,7 +5,7 @@ jobs: variables: buildConfiguration: 'Release' steps: - - script: cd $(Build.SourcesDirectory) && bash ./build.sh + - script: cd $(Build.SourcesDirectory) && dotnet build displayName: 'Linux Build and Tests' - task: PublishTestResults@2 inputs: @@ -21,7 +21,7 @@ jobs: - task: DotNetCoreInstaller@0 inputs: version: '3.1.302' - - script: cd $(Build.SourcesDirectory) && powershell -ExecutionPolicy Unrestricted ./build.ps1 --full + - script: cd $(Build.SourcesDirectory) && dotnet build displayName: 'Windows Full Build and Tests' - task: PublishTestResults@2 inputs: From b9c3a992a6cc1625f6cde872b3a2d3ca6840175f Mon Sep 17 00:00:00 2001 From: GMIKE Date: Mon, 7 Jun 2021 17:24:45 +0300 Subject: [PATCH 14/20] Create dotnet.yml --- .github/workflows/dotnet.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/dotnet.yml diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..a3936a2 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,25 @@ +name: .NET + +on: + push: + branches: [ ToAvaloniaUI ] + pull_request: + branches: [ ToAvaloniaUI ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 5.0.x + - name: Restore dependencies + run: dotnet restore + - name: Build + run: dotnet build --no-restore + - name: Test + run: dotnet test --no-build --verbosity normal From dcdcdf3a6ee698fb60567d2721d92ab5cb3053a8 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Mon, 7 Jun 2021 17:28:09 +0300 Subject: [PATCH 15/20] Update azure-pipelines.yml --- azure-pipelines.yml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 05e3524..b523d3a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,17 +1,3 @@ -jobs: -- job: Linux - pool: - vmImage: 'ubuntu-18.04' - variables: - buildConfiguration: 'Release' - steps: - - script: cd $(Build.SourcesDirectory) && dotnet build - displayName: 'Linux Build and Tests' - - task: PublishTestResults@2 - inputs: - testRunner: VSTest - testResultsFiles: '**/*.trx' - - job: Windows pool: vmImage: 'windows-2019' @@ -31,4 +17,4 @@ jobs: inputs: summaryFileLocation: $(Build.SourcesDirectory)\artifacts\coverage.cobertura.xml reportDirectory: $(Build.SourcesDirectory)\artifacts - codecoverageTool: cobertura \ No newline at end of file + codecoverageTool: cobertura From c3b96361dd17dd4bc11feeb6238ab10c3c704401 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Mon, 7 Jun 2021 17:30:43 +0300 Subject: [PATCH 16/20] Update azure-pipelines.yml --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b523d3a..8d1f537 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,3 +1,4 @@ +jobs: - job: Windows pool: vmImage: 'windows-2019' From be1adeaeb5e37c5c6daf4b30505fac2418efabd9 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Mon, 7 Jun 2021 17:35:05 +0300 Subject: [PATCH 17/20] Add azure-pipelines build badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 794c272..d69992f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ [![](https://img.shields.io/github/v/release/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor/releases) [![](https://img.shields.io/github/stars/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/license/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/github/languages/code-size/SimpleStateMachine/SimpleStateMachineNodeEditor)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![]( https://img.shields.io/github/last-commit/SimpleStateMachine/SimpleStateMachineNodeEditor/ToAvaloniaUI)](https://github.com/SimpleStateMachine/SimpleStateMachineNodeEditor) [![](https://img.shields.io/badge/chat-slack-blueviolet.svg)](https://join.slack.com/t/simplestatemachine/shared_invite/zt-fnfhvvsx-fTejcpPn~PPb2ojdG_MQBg) [![](https://img.shields.io/badge/chat-telegram-blue.svg)](https://t.me/joinchat/HMLJFkv9do6aDV188rhd0w) + [![Build Status](https://dev.azure.com/GMIKE/SimpleStateMachineNodeEditor/_apis/build/status/SimpleStateMachine.SimpleStateMachineNodeEditor?branchName=master)](https://dev.azure.com/GMIKE/SimpleStateMachineNodeEditor/_build/latest?definitionId=1&branchName=master) # SimpleStateMachineNodeEditor From a3623437ad6cd0520ec2870fce706b5c0494aca8 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Mon, 7 Jun 2021 17:37:09 +0300 Subject: [PATCH 18/20] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index b692b6b..f776e0d 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,3 @@ # These are supported funding model platforms -custom: ['paypal.me/romansolovyov'] +custom: ['https://opencollective.com/simplestatemachine'] From fda12c6a266849291afc695045ba09f160c8b499 Mon Sep 17 00:00:00 2001 From: GMIKE Date: Mon, 7 Jun 2021 17:37:54 +0300 Subject: [PATCH 19/20] Funding open collective --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index f776e0d..dee5ecd 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,3 @@ # These are supported funding model platforms -custom: ['https://opencollective.com/simplestatemachine'] +open_collective: simplestatemachine From 13d77f83676a81f839cd342e70c25275fbc07197 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 Jun 2022 23:08:02 +0000 Subject: [PATCH 20/20] Bump Newtonsoft.Json in /SimpleStateMachineNodeEditor Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1. - [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases) - [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1) --- updated-dependencies: - dependency-name: Newtonsoft.Json dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .../SimpleStateMachineNodeEditor.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj b/SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj index fa16753..11538cd 100644 --- a/SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj +++ b/SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj @@ -64,7 +64,7 @@ New format for xml file with schemes - +