diff --git a/AltCover.Avalonia/AltCover.MainWindow.xaml b/AltCover.Avalonia/AltCover.MainWindow.xaml index 2d3a65bf5..5e27d3743 100644 --- a/AltCover.Avalonia/AltCover.MainWindow.xaml +++ b/AltCover.Avalonia/AltCover.MainWindow.xaml @@ -25,7 +25,7 @@ - + diff --git a/AltCover.Tests/ShowGeneratedRunLatest.xml b/AltCover.Tests/ShowGeneratedRunLatest.xml new file mode 100644 index 000000000..f587d5b42 --- /dev/null +++ b/AltCover.Tests/ShowGeneratedRunLatest.xml @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/AltCover.UICommon/AltCover.UICommon.fsproj b/AltCover.UICommon/AltCover.UICommon.fsproj index b3cc22513..887daf9ad 100644 --- a/AltCover.UICommon/AltCover.UICommon.fsproj +++ b/AltCover.UICommon/AltCover.UICommon.fsproj @@ -47,9 +47,9 @@ - - - + + + diff --git a/AltCover.UICommon/Assembly.png b/AltCover.UICommon/Assembly.png index dce52a2ca..94d98842e 100644 Binary files a/AltCover.UICommon/Assembly.png and b/AltCover.UICommon/Assembly.png differ diff --git a/AltCover.UICommon/Blank.png b/AltCover.UICommon/Blank.png index 9bf60ade3..8e0b98042 100644 Binary files a/AltCover.UICommon/Blank.png and b/AltCover.UICommon/Blank.png differ diff --git a/AltCover.UICommon/Class.png b/AltCover.UICommon/Class.png index cd6d0f4bd..2ec5c5920 100644 Binary files a/AltCover.UICommon/Class.png and b/AltCover.UICommon/Class.png differ diff --git a/AltCover.UICommon/Effect.png b/AltCover.UICommon/Effect.png index da6b05b82..c47719ef7 100644 Binary files a/AltCover.UICommon/Effect.png and b/AltCover.UICommon/Effect.png differ diff --git a/AltCover.UICommon/Exit.png b/AltCover.UICommon/Exit.png index 67d11dd24..5b005668d 100644 Binary files a/AltCover.UICommon/Exit.png and b/AltCover.UICommon/Exit.png differ diff --git a/AltCover.UICommon/ExpandDown.png b/AltCover.UICommon/ExpandDown.png index b41ea26fc..ee0119278 100644 Binary files a/AltCover.UICommon/ExpandDown.png and b/AltCover.UICommon/ExpandDown.png differ diff --git a/AltCover.UICommon/ExpandRight.png b/AltCover.UICommon/ExpandRight.png index ac6c9eb90..21bc6726b 100644 Binary files a/AltCover.UICommon/ExpandRight.png and b/AltCover.UICommon/ExpandRight.png differ diff --git a/AltCover.UICommon/Font.png b/AltCover.UICommon/Font.png index 529103453..9f615b758 100644 Binary files a/AltCover.UICommon/Font.png and b/AltCover.UICommon/Font.png differ diff --git a/AltCover.UICommon/Icons.fs b/AltCover.UICommon/Icons.fs index f0044af7e..070a2754d 100644 --- a/AltCover.UICommon/Icons.fs +++ b/AltCover.UICommon/Icons.fs @@ -22,13 +22,13 @@ type Icons<'TIcon>(toIcon: System.IO.Stream -> 'TIcon) = //with //| x -> System.InvalidOperationException(name, x) |> raise - member self.Report = makeIcon "Report" + member self.Report = makeIcon "RawCodeCoverageDataFile" member self.ReportDated = - makeIcon "ReportStale" + makeIcon "RawCodeCoverageDataFileStale" member self.ReportWarning = - makeIcon "ReportWarning" + makeIcon "RawCodeCoverageDataFileWarning" member self.Assembly = makeIcon "Assembly" member self.Event = makeIcon "Event" @@ -49,7 +49,7 @@ type Icons<'TIcon>(toIcon: System.IO.Stream -> 'TIcon) = makeIcon "MethodWarning" member self.MethodNoSource = - makeIcon "MissingMethod" + makeIcon "MethodMissing" member self.Branched = makeIcon "BranchFork_grn" diff --git a/AltCover.UICommon/MethodMissing.png b/AltCover.UICommon/MethodMissing.png index 1fbb7904f..50804e38b 100644 Binary files a/AltCover.UICommon/MethodMissing.png and b/AltCover.UICommon/MethodMissing.png differ diff --git a/AltCover.UICommon/MissingFile.png b/AltCover.UICommon/MissingFile.png index 6501833a0..9718b1901 100644 Binary files a/AltCover.UICommon/MissingFile.png and b/AltCover.UICommon/MissingFile.png differ diff --git a/AltCover.UICommon/Module.png b/AltCover.UICommon/Module.png index 2c00abbd3..367e97818 100644 Binary files a/AltCover.UICommon/Module.png and b/AltCover.UICommon/Module.png differ diff --git a/AltCover.UICommon/Namespace.png b/AltCover.UICommon/Namespace.png index bf16afb4e..aa8c42ff3 100644 Binary files a/AltCover.UICommon/Namespace.png and b/AltCover.UICommon/Namespace.png differ diff --git a/AltCover.UICommon/OpenFile.png b/AltCover.UICommon/OpenFile.png index e450d7b93..b23481407 100644 Binary files a/AltCover.UICommon/OpenFile.png and b/AltCover.UICommon/OpenFile.png differ diff --git a/AltCover.UICommon/Property.png b/AltCover.UICommon/Property.png index 5409edc0c..107da691d 100644 Binary files a/AltCover.UICommon/Property.png and b/AltCover.UICommon/Property.png differ diff --git a/AltCover.UICommon/RawCodeCoverageDataFile.png b/AltCover.UICommon/RawCodeCoverageDataFile.png new file mode 100644 index 000000000..c30445c0a Binary files /dev/null and b/AltCover.UICommon/RawCodeCoverageDataFile.png differ diff --git a/AltCover.UICommon/RawCodeCoverageDataFileStale.png b/AltCover.UICommon/RawCodeCoverageDataFileStale.png new file mode 100644 index 000000000..ee74cfc8d Binary files /dev/null and b/AltCover.UICommon/RawCodeCoverageDataFileStale.png differ diff --git a/AltCover.UICommon/RawCodeCoverageDataFileWarning.png b/AltCover.UICommon/RawCodeCoverageDataFileWarning.png new file mode 100644 index 000000000..18993f585 Binary files /dev/null and b/AltCover.UICommon/RawCodeCoverageDataFileWarning.png differ diff --git a/AltCover.UICommon/Report.png b/AltCover.UICommon/Report.png deleted file mode 100644 index d69c3faa9..000000000 Binary files a/AltCover.UICommon/Report.png and /dev/null differ diff --git a/AltCover.UICommon/ReportStale.png b/AltCover.UICommon/ReportStale.png deleted file mode 100644 index d89e857f2..000000000 Binary files a/AltCover.UICommon/ReportStale.png and /dev/null differ diff --git a/AltCover.UICommon/ReportWarning.png b/AltCover.UICommon/ReportWarning.png deleted file mode 100644 index 1e97d36ed..000000000 Binary files a/AltCover.UICommon/ReportWarning.png and /dev/null differ diff --git a/AltCover.UICommon/StatusError.png b/AltCover.UICommon/StatusError.png index 07329ed43..6254b19b9 100644 Binary files a/AltCover.UICommon/StatusError.png and b/AltCover.UICommon/StatusError.png differ diff --git a/AltCover.UICommon/StatusError.svg b/AltCover.UICommon/StatusError.svg index 62b75554f..904dc73f7 100644 --- a/AltCover.UICommon/StatusError.svg +++ b/AltCover.UICommon/StatusError.svg @@ -1,13 +1 @@ - - - - - StatusError - - - - - - - - +StatusError \ No newline at end of file diff --git a/AltCover.UICommon/StatusError_32.png b/AltCover.UICommon/StatusError_32.png index 17ebfa8aa..816f43fb1 100644 Binary files a/AltCover.UICommon/StatusError_32.png and b/AltCover.UICommon/StatusError_32.png differ diff --git a/AltCover.UICommon/StatusError_32.svg b/AltCover.UICommon/StatusError_32.svg index ec77ffa46..7b07234fe 100644 --- a/AltCover.UICommon/StatusError_32.svg +++ b/AltCover.UICommon/StatusError_32.svg @@ -1,7 +1 @@ - - - - - - - + \ No newline at end of file diff --git a/AltCover.UICommon/StatusInformation.png b/AltCover.UICommon/StatusInformation.png index ba72b232e..2911c4ec1 100644 Binary files a/AltCover.UICommon/StatusInformation.png and b/AltCover.UICommon/StatusInformation.png differ diff --git a/AltCover.UICommon/StatusInformation.svg b/AltCover.UICommon/StatusInformation.svg index e832c98c5..988873adb 100644 --- a/AltCover.UICommon/StatusInformation.svg +++ b/AltCover.UICommon/StatusInformation.svg @@ -1,13 +1 @@ - - - - - StatusInformation - - - - - - - - +StatusInformation \ No newline at end of file diff --git a/AltCover.UICommon/StatusInformation_32.svg b/AltCover.UICommon/StatusInformation_32.svg index 7eb61babe..e3abf3200 100644 --- a/AltCover.UICommon/StatusInformation_32.svg +++ b/AltCover.UICommon/StatusInformation_32.svg @@ -1,7 +1 @@ - - - - - - - + \ No newline at end of file diff --git a/AltCover.UICommon/StatusWarning.svg b/AltCover.UICommon/StatusWarning.svg index 9cb9047fd..f245724f2 100644 --- a/AltCover.UICommon/StatusWarning.svg +++ b/AltCover.UICommon/StatusWarning.svg @@ -1,13 +1 @@ - - - - - IconLightStatusWarning - - - - - - - - +IconLightStatusWarning \ No newline at end of file diff --git a/AltCover.UICommon/StatusWarning_32.svg b/AltCover.UICommon/StatusWarning_32.svg index f14e61e89..053f8848a 100644 --- a/AltCover.UICommon/StatusWarning_32.svg +++ b/AltCover.UICommon/StatusWarning_32.svg @@ -1,7 +1 @@ - - - - - - - + \ No newline at end of file diff --git a/AltCover.UICommon/TextFile.png b/AltCover.UICommon/TextFile.png index 975ac3c84..a3d596937 100644 Binary files a/AltCover.UICommon/TextFile.png and b/AltCover.UICommon/TextFile.png differ diff --git a/AltCover.UICommon/VisualStudioToolsAboutBox.png b/AltCover.UICommon/VisualStudioToolsAboutBox.png index b156c6e3f..365d9ed88 100644 Binary files a/AltCover.UICommon/VisualStudioToolsAboutBox.png and b/AltCover.UICommon/VisualStudioToolsAboutBox.png differ diff --git a/AltCover.UICommon/Web.png b/AltCover.UICommon/Web.png index b5a942746..4f2f8c7cd 100644 Binary files a/AltCover.UICommon/Web.png and b/AltCover.UICommon/Web.png differ diff --git a/AltCover.UICommon/logo.png b/AltCover.UICommon/logo.png index f94f235cc..8ccf4e486 100644 Binary files a/AltCover.UICommon/logo.png and b/AltCover.UICommon/logo.png differ diff --git a/AltCover.Visualizer/Screenshot-Avalonia.png b/AltCover.Visualizer/Screenshot-Avalonia.png index 972ca94b5..45c9df815 100644 Binary files a/AltCover.Visualizer/Screenshot-Avalonia.png and b/AltCover.Visualizer/Screenshot-Avalonia.png differ diff --git a/AltCover.Visualizer/Screenshot-GTK.png b/AltCover.Visualizer/Screenshot-GTK.png index eea4f55de..a790659cc 100644 Binary files a/AltCover.Visualizer/Screenshot-GTK.png and b/AltCover.Visualizer/Screenshot-GTK.png differ diff --git a/AltCover.Visualizer/Screenshot-GTK3.png b/AltCover.Visualizer/Screenshot-GTK3.png index 33e336fb2..0922c0a8e 100644 Binary files a/AltCover.Visualizer/Screenshot-GTK3.png and b/AltCover.Visualizer/Screenshot-GTK3.png differ diff --git a/AltCover.Visualizer/Visualizer.fs b/AltCover.Visualizer/Visualizer.fs index 54ba6c200..2c7b6cb20 100644 --- a/AltCover.Visualizer/Visualizer.fs +++ b/AltCover.Visualizer/Visualizer.fs @@ -183,63 +183,18 @@ module private Gui = seq { 0 .. (types.Length - 1) } |> Seq.iter (prepareTreeLine handler) - handler.classStructureTree.Model <- - new TreeStore( #if !VIS_PERCENT - typeof, -#endif - typeof, - typeof, -#if VIS_PERCENT - typeof, -#endif - typeof, - typeof, -#if VIS_PERCENT - typeof, -#endif - typeof, - typeof, -#if VIS_PERCENT - typeof, -#endif - typeof, - typeof, -#if VIS_PERCENT - typeof -#else - typeof -#endif - ) - + handler.classStructureTree.Model <- + new TreeStore(typeof, typeof, typeof, typeof, + typeof, typeof, typeof, + typeof, typeof, typeof, + typeof) handler.auxModel <- - new TreeStore( -#if !VIS_PERCENT - typeof, -#endif - typeof, - typeof, -#if VIS_PERCENT - typeof, -#endif - typeof, - typeof, -#if VIS_PERCENT - typeof, + new TreeStore(typeof, typeof, typeof, typeof, + typeof, typeof, typeof, + typeof, typeof, typeof, + typeof) #endif - typeof, - typeof, -#if VIS_PERCENT - typeof, -#endif - typeof, - typeof, -#if VIS_PERCENT - typeof -#else - typeof -#endif - ) #if !NET472 [] @@ -408,7 +363,7 @@ module private Gui = table.Clear() let topRow = - model.AppendValues(name, pc, icon.Force()) + model.AppendValues(name, (*pc,*) icon.Force()) // VIS_PERCENT if tip |> String.IsNullOrWhiteSpace |> not then let path = model.GetPath(topRow) diff --git a/AltCover.Visualizer/images.txt b/AltCover.Visualizer/images.txt new file mode 100644 index 000000000..2a93b086b --- /dev/null +++ b/AltCover.Visualizer/images.txt @@ -0,0 +1,16 @@ +Screenshot-GTK.png -> README.core.md +Screenshot-Avalonia -> README.visualizer.md +Annotated.png +Annotation66a.png +FontSelection.png + +--- +TheVisualizer.md -> + +Screenshot-Avalonia +Screenshot-GTK +Annotated.png +Annotation66a.png +FontSelection.png -- 328x112 +Annotation66b.png +Screenshot-GTK3 \ No newline at end of file diff --git a/AltCover.Visualizer/wiki/Annotated.png b/AltCover.Visualizer/wiki/Annotated.png new file mode 100644 index 000000000..c7ec3cc94 Binary files /dev/null and b/AltCover.Visualizer/wiki/Annotated.png differ diff --git a/AltCover.Visualizer/wiki/Annotation66a.png b/AltCover.Visualizer/wiki/Annotation66a.png new file mode 100644 index 000000000..943f4f2e1 Binary files /dev/null and b/AltCover.Visualizer/wiki/Annotation66a.png differ diff --git a/AltCover.Visualizer/wiki/Annotation66b.png b/AltCover.Visualizer/wiki/Annotation66b.png new file mode 100644 index 000000000..a3229acbf Binary files /dev/null and b/AltCover.Visualizer/wiki/Annotation66b.png differ diff --git a/AltCover.Visualizer/wiki/FontSelection.png b/AltCover.Visualizer/wiki/FontSelection.png new file mode 100644 index 000000000..b946e6a32 Binary files /dev/null and b/AltCover.Visualizer/wiki/FontSelection.png differ diff --git a/Build/AltCover_128.png b/Build/AltCover_128.png index 4939e5398..58b747d83 100644 Binary files a/Build/AltCover_128.png and b/Build/AltCover_128.png differ diff --git a/RegressionTesting/issue143/SaveContextToDatabaseStep-Coverage.png b/RegressionTesting/issue143/SaveContextToDatabaseStep-Coverage.png index e2b056dbc..7e82ec590 100644 Binary files a/RegressionTesting/issue143/SaveContextToDatabaseStep-Coverage.png and b/RegressionTesting/issue143/SaveContextToDatabaseStep-Coverage.png differ diff --git a/RegressionTesting/issue143/SupplementContextWithDatabaseRecordStep-Coverage.png b/RegressionTesting/issue143/SupplementContextWithDatabaseRecordStep-Coverage.png index f368fe29a..9115c6243 100644 Binary files a/RegressionTesting/issue143/SupplementContextWithDatabaseRecordStep-Coverage.png and b/RegressionTesting/issue143/SupplementContextWithDatabaseRecordStep-Coverage.png differ diff --git a/ReleaseNotes.md b/ReleaseNotes.md index b484082ec..233cf7f88 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -2,6 +2,10 @@ A. Start with the Quick Start guide : https://github.com/SteveGilham/altcover/wiki/QuickStart-Guide +# 8.2.837 (Habu series release 13) +* [VISUALIZER] Critical bug fixes for GTK and Avalonia : mismatched new icon names causing crashes +* [VISUALIZER] Use new coverage data icon for the coverage report file, not a generic report icon + # 8.2.836 (Habu series release 12) * [BUGFIX] Fix project file path handling in Cake support * [BUGFIX] Improve heuristic to recognise (and ignore) state-machine injected branches in `async` methods; this may cause subtle changes, up or down, in branch detection for other generated code ("hidden" sequence points) contexts with branches