Skip to content
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions src/OneWare.GhdlExtension/GhdlExtensionModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@
},
new PackageTarget()
{
Target = "osx-arm",
Target = "osx-arm64",
Url =
"https://github.com/ghdl/ghdl/releases/download/v5.1.1/ghdl-llvm-5.1.1-macos14-aarch64.tar.gz",
AutoSetting =
Expand Down Expand Up @@ -284,7 +284,7 @@
},
new PackageTarget()
{
Target = "osx-arm15",
Target = "osx-arm64",
Url =
"https://github.com/ghdl/ghdl/releases/download/v6.0.0/ghdl-llvm-6.0.0-macos15-aarch64.tar.gz",
AutoSetting =
Expand Down Expand Up @@ -320,7 +320,7 @@

serviceProvider.Resolve<IPackageService>().RegisterPackage(GhdlPackage);

serviceProvider.Resolve<ISettingsService>().RegisterTitledFilePath("Simulator", "GHDL", GhdlPathSetting,

Check warning on line 323 in src/OneWare.GhdlExtension/GhdlExtensionModule.cs

View workflow job for this annotation

GitHub Actions / build

'ISettingsService.RegisterTitledFilePath(string, string, string, string, string, string, string?, string?, Func<string, bool>?, params FilePickerFileType[])' is obsolete: 'Use RegisterSetting instead'

Check warning on line 323 in src/OneWare.GhdlExtension/GhdlExtensionModule.cs

View workflow job for this annotation

GitHub Actions / build

'ISettingsService.RegisterTitledFilePath(string, string, string, string, string, string, string?, string?, Func<string, bool>?, params FilePickerFileType[])' is obsolete: 'Use RegisterSetting instead'
"GHDL Path", "Path for GHDL executable", "",
null, serviceProvider.Resolve<IPaths>().NativeToolsDirectory, File.Exists);

Expand Down Expand Up @@ -428,7 +428,7 @@
serviceProvider.Resolve<IProjectExplorerService>().RegisterConstructContextMenu(((list, models) =>
{
if (list[0] is IProjectFolder { Root: UniversalFpgaProjectRoot root } folder &&
folder.Children.Any(x => x is IProjectFile file))

Check warning on line 431 in src/OneWare.GhdlExtension/GhdlExtensionModule.cs

View workflow job for this annotation

GitHub Actions / build

Possible null reference argument for parameter 'source' in 'bool Enumerable.Any<IProjectExplorerNode>(IEnumerable<IProjectExplorerNode> source, Func<IProjectExplorerNode, bool> predicate)'.

Check warning on line 431 in src/OneWare.GhdlExtension/GhdlExtensionModule.cs

View workflow job for this annotation

GitHub Actions / build

Possible null reference argument for parameter 'source' in 'bool Enumerable.Any<IProjectExplorerNode>(IEnumerable<IProjectExplorerNode> source, Func<IProjectExplorerNode, bool> predicate)'.
{
IEnumerable<string>? libs = root.Properties.GetStringArray("GHDL_Libraries");

Expand Down Expand Up @@ -465,7 +465,7 @@
{
if (folder.Root is UniversalFpgaProjectRoot root)
{
foreach (var file in folder.Children.Where(x =>

Check warning on line 468 in src/OneWare.GhdlExtension/GhdlExtensionModule.cs

View workflow job for this annotation

GitHub Actions / build

Possible null reference argument for parameter 'source' in 'IEnumerable<IProjectExplorerNode> Enumerable.Where<IProjectExplorerNode>(IEnumerable<IProjectExplorerNode> source, Func<IProjectExplorerNode, bool> predicate)'.
x is IProjectFile { Extension: ".vhd" or ".vhdl" }))
{
await AddFileToLibraryAsync(library, (file as IProjectFile)!);
Expand Down
Loading