Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Net8 #1897

Merged
merged 7 commits into from
Nov 18, 2023
Merged

Net8 #1897

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
SA1518 - fix file ends with new line
LiorBanai committed Nov 17, 2023
commit f259034efd2ca4293a1a477baff19cb9c0b94750
2 changes: 1 addition & 1 deletion Analogy.Common/CommonUtils.cs
Original file line number Diff line number Diff line change
@@ -46,4 +46,4 @@ public static AnalogyPositionState CreatePosition(Form form)
return position;
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/AnalogyPositionState.cs
Original file line number Diff line number Diff line change
@@ -30,4 +30,4 @@ public AnalogyPositionState(FormWindowState formWindowState, Point location, Siz
}

}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/ColorSettings.cs
Original file line number Diff line number Diff line change
@@ -82,4 +82,4 @@ public ColorSettings()
public string AsJson() => JsonConvert.SerializeObject(this);
public static ColorSettings FromJson(string fileName) => JsonConvert.DeserializeObject<ColorSettings>(fileName);
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/DataSource.cs
Original file line number Diff line number Diff line change
@@ -27,4 +27,4 @@ public override string ToString()
return $"{DisplayName} ({Type})";
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/Enums.cs
Original file line number Diff line number Diff line change
@@ -79,4 +79,4 @@ public enum DataSourceType
NetworkPath,
LocalPath
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/FactoryContainer.cs
Original file line number Diff line number Diff line change
@@ -72,4 +72,4 @@ public bool ContainsDataProviderOrDataFactory(Guid componentId)
return contains;
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/FactorySettings.cs
Original file line number Diff line number Diff line change
@@ -22,4 +22,4 @@ public FactorySettings(string factoryName,Guid factoryId, DataProviderFactorySta
public override string ToString() => $"{nameof(FactoryName)}: {FactoryName}, {nameof(FactoryId)}: {FactoryId}, {nameof(Status)}: {Status}";

}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/FileAssociations.cs
Original file line number Diff line number Diff line change
@@ -24,4 +24,4 @@ public void Update(List<string> fileAssociations)
Associations = fileAssociations;
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/FileProcessor.cs
Original file line number Diff line number Diff line change
@@ -234,4 +234,4 @@ private static bool IsCompressedArchive(string filename)
}

}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/FilterCriteriaObject.cs
Original file line number Diff line number Diff line change
@@ -388,4 +388,4 @@ private bool MatchAlert(AnalogyLogMessage message)
}

}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/FilterCriteriaUIOption.cs
Original file line number Diff line number Diff line change
@@ -21,4 +21,4 @@ public FilterCriteriaUIOption(string displayMember, string valueMember, bool che
CheckMember = checkMember;
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/FilteringExclusion.cs
Original file line number Diff line number Diff line change
@@ -33,4 +33,4 @@ public FilteringExclusion()

public void SetLogLevelExclusion(string level, bool exclude) => ExcludeLogLevels[level] = exclude;
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/FontSettings.cs
Original file line number Diff line number Diff line change
@@ -126,4 +126,4 @@ public Font GetMenuFont(FontSelectionType mode)
return new Font(MenuFontName, menuFontSize, FontStyle.Regular, GraphicsUnit.Point);
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/PreDefineAlert.cs
Original file line number Diff line number Diff line change
@@ -28,4 +28,4 @@ public override string ToString()
return $"Alert: Message Text:{IncludeText}. Exclude:{ExcludeText}. Sources:{Sources}. Modules:{Modules}";
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/PreDefineFilter.cs
Original file line number Diff line number Diff line change
@@ -33,4 +33,4 @@ public string NiceText() =>
$"Message Text: {IncludeText}{Environment.NewLine}Exclude Text: {ExcludeText}{Environment.NewLine}Sources: {Sources}{Environment.NewLine}Module: {Modules}";

}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/PreDefineHighlight.cs
Original file line number Diff line number Diff line change
@@ -26,4 +26,4 @@ public override string ToString()
return $"Highlight: {Text}. Type:{PreDefinedQueryType}. Color:{Color}";
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/DataTypes/PreDefinedQueries.cs
Original file line number Diff line number Diff line change
@@ -50,4 +50,4 @@ public void RemoveAlert(PreDefineAlert alert)
}
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/Interfaces/IExtensionsManager.cs
Original file line number Diff line number Diff line change
@@ -16,4 +16,4 @@ public interface IExtensionsManager
void RegisterExtension(IAnalogyExtension analogyExtension);
int GetIndexForExtension(IAnalogyExtension extension);
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/Interfaces/IFactoriesManager.cs
Original file line number Diff line number Diff line change
@@ -45,4 +45,4 @@ IEnumerable<IAnalogyOfflineDataProvider> GetSupportedOfflineDataSourcesFromFacto
Task InitializeIfNeeded(IAnalogyDataProvider dataProvider);
IEnumerable<IAnalogyOfflineDataProvider> GetAllOfflineDataSources(IEnumerable<Guid> dataProviders);
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/Interfaces/IFactoryContainer.cs
Original file line number Diff line number Diff line change
@@ -39,4 +39,4 @@ public interface IFactoryContainer
string ToString();
bool ContainsDataProviderOrDataFactory(Guid componentId);
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/Interfaces/ILogWindow.cs
Original file line number Diff line number Diff line change
@@ -9,4 +9,4 @@ public interface ILogWindow
List<IAnalogyLogMessage> GetMessages();
Guid Id { get; }
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/Managers/CleanupManager.cs
Original file line number Diff line number Diff line change
@@ -48,4 +48,4 @@ public void Clean(ILogger logger)

}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/Managers/DefaultExtensionManager.cs
Original file line number Diff line number Diff line change
@@ -30,4 +30,4 @@ public int GetIndexForExtension(IAnalogyExtension extension)
return -1;
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/Managers/DefaultFactoriesManager.cs
Original file line number Diff line number Diff line change
@@ -118,4 +118,4 @@ public IEnumerable<IAnalogyOfflineDataProvider> GetAllOfflineDataSources(IEnumer
return Enumerable.Empty<IAnalogyOfflineDataProvider>();
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/Managers/DefaultUserSettingsManager.cs
Original file line number Diff line number Diff line change
@@ -108,4 +108,4 @@ public void SetLogsLayoutFileName(string filename)

}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.Common/Managers/FileProcessingManager.cs
Original file line number Diff line number Diff line change
@@ -67,4 +67,4 @@ public void Reset()

}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls.Example/Form1.cs
Original file line number Diff line number Diff line change
@@ -38,4 +38,4 @@ private void Form1_Load(object sender, EventArgs e)
});
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls.Example/Program.cs
Original file line number Diff line number Diff line change
@@ -22,4 +22,4 @@ static void Main()
Application.Run(new Form1());
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/CommonControlChangeLog.cs
Original file line number Diff line number Diff line change
@@ -21,4 +21,4 @@ public static IEnumerable<AnalogyChangeLog> GetChangeLog()
GetChangeLog().OrderByDescending(c => c.Date).Select(cl => $"{cl.Date.ToString()}: {cl.ChangeInformation} ({cl.Name})"));

}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/ControlExtensions.cs
Original file line number Diff line number Diff line change
@@ -25,4 +25,4 @@ public static T InvokeIfRequired<T>(this T source, Action<T> action) where T : C
return source;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -49,4 +49,4 @@ public void SetXAxisType(AnalogyPlottingPointXAxisDataType xAxisDataType)
XAxisDataType = xAxisDataType;
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/DataTypes/EventArgs.cs
Original file line number Diff line number Diff line change
@@ -34,4 +34,4 @@ public AnalogyClearedHistoryEventArgs(List<IAnalogyLogMessage> clearedMessages)
ClearedMessages = clearedMessages;
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/DataTypes/LogAnalyzerLogLevel.cs
Original file line number Diff line number Diff line change
@@ -64,4 +64,4 @@ public PieChartSingleDataPoint(string name, double value)
Value = value;
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/DataTypes/LogStatistics.cs
Original file line number Diff line number Diff line change
@@ -96,4 +96,4 @@ private bool Contains(string source, string toCheck, StringComparison comp)
return string.IsNullOrEmpty(toCheck) || (!string.IsNullOrEmpty(source) && source.IndexOf(toCheck, comp) >= 0);
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/DataTypes/PlottingDataManager.cs
Original file line number Diff line number Diff line change
@@ -96,4 +96,4 @@ public void ClearAllData()
});
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/DataTypes/PlottingGraphData.cs
Original file line number Diff line number Diff line change
@@ -108,4 +108,4 @@ public void SetWindowValue(int windowValue)
DataWindow = windowValue;
}
}
}
}
Original file line number Diff line number Diff line change
@@ -54,4 +54,4 @@ private void btnAddNote_Click(object sender, EventArgs e)
}
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Forms/AnalogyExclude.cs
Original file line number Diff line number Diff line change
@@ -93,4 +93,4 @@ public List<string> Parse(string sql)
return null;
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Forms/AnalogyExcludeMessage.cs
Original file line number Diff line number Diff line change
@@ -36,4 +36,4 @@ private void AnalogyExcludeMessage_Load(object sender, EventArgs e)
{
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Forms/AnalogyOTAForm.cs
Original file line number Diff line number Diff line change
@@ -89,4 +89,4 @@ private void sBtnSend_Click(object sender, EventArgs e)
}
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Forms/FormMessageDetails.cs
Original file line number Diff line number Diff line change
@@ -41,4 +41,4 @@ private void FormMessageDetails_FormClosing(object sender, FormClosingEventArgs
Settings.SetWindowPosition(WindowID, CommonUtils.CreatePosition(this));
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Interfaces/IAnalogyWorkspace.cs
Original file line number Diff line number Diff line change
@@ -10,4 +10,4 @@ interface IAnalogyWorkspace
{
void SaveCurrentWorkspace();
}
}
}
3 changes: 1 addition & 2 deletions Analogy.CommonControls/LogLoaders/AnalogyBuiltInFactory.cs
Original file line number Diff line number Diff line change
@@ -139,5 +139,4 @@ protected override List<FileInfo> GetSupportedFilesInternal(DirectoryInfo dirInf

}

}

}
3 changes: 1 addition & 2 deletions Analogy.CommonControls/LogLoaders/AnalogyJSonLoader.cs
Original file line number Diff line number Diff line change
@@ -72,5 +72,4 @@ public Task Save(List<IAnalogyLogMessage> messages, string fileName)


}
}

}
Original file line number Diff line number Diff line change
@@ -63,4 +63,4 @@ public Task Save(List<IAnalogyLogMessage> messages, string fileName)
File.WriteAllBytes(fileName, data);
});
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/LogLoaders/AnalogyXmlLogFile.cs
Original file line number Diff line number Diff line change
@@ -78,4 +78,4 @@ internal Task<List<IAnalogyLogMessage>> ReadFromFile(string fileName, Cancellati
}, token);
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Managers/BookmarkPersistManager.cs
Original file line number Diff line number Diff line change
@@ -140,4 +140,4 @@ public void ReportFileReadProgress(AnalogyFileReadProgress progress)
//noop
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Managers/PagingManager.cs
Original file line number Diff line number Diff line change
@@ -362,4 +362,4 @@ public void UpdateOffsets()
lockSlim.ExitWriteLock();
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Plotting/PlotState.cs
Original file line number Diff line number Diff line change
@@ -35,4 +35,4 @@ public bool GetChecked(string legendName)
return CheckedLegendState[legendName];
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Plotting/PlottingUC.cs
Original file line number Diff line number Diff line change
@@ -480,4 +480,4 @@ public void SetDataColor(Color color)
}

}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Tools/JsonNodeType.cs
Original file line number Diff line number Diff line change
@@ -7,4 +7,4 @@ public enum JsonNodeType
Object,
}

}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Tools/JsonTreeNodeCreator.cs
Original file line number Diff line number Diff line change
@@ -35,4 +35,4 @@ internal static JsonTreeNode CreateNode(string property, JToken item)
return node;
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Tools/JsonTreeUC.cs
Original file line number Diff line number Diff line change
@@ -80,4 +80,4 @@ public void ClearList()
_jsonTreeView.ClearList();
}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/Tools/JsonTreeView.cs
Original file line number Diff line number Diff line change
@@ -383,4 +383,4 @@ public async Task ShowJson(string jsonString)

}
}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/UserControls/DateTimeSelectionUC.cs
Original file line number Diff line number Diff line change
@@ -51,4 +51,4 @@ private void sbtnOK_Click(object sender, EventArgs e)


}
}
}
2 changes: 1 addition & 1 deletion Analogy.CommonControls/UserControls/JsonColumnChooserUC.cs
Original file line number Diff line number Diff line change
@@ -56,4 +56,4 @@ private void sbtnCancel_Click(object sender, EventArgs e)
control?.HidePopup();
}
}
}
}
Loading