mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-28 19:39:19 +01:00
Merge branch 'refs/heads/master' into apiX
# Conflicts: # Dalamud/Game/Libc/LibcFunction.cs # Dalamud/Game/Libc/LibcFunctionAddressResolver.cs # Dalamud/Game/Libc/OwnedStdString.cs # Dalamud/Game/Libc/StdString.cs # Dalamud/Interface/UiBuilder.cs
This commit is contained in:
commit
b32ed39826
297 changed files with 768 additions and 543 deletions
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Dalamud.Interface.Internal.Windows.PluginInstaller;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Interface.Internal.Windows.PluginInstaller;
|
||||
namespace Dalamud.Interface.Internal.Windows.PluginInstaller;
|
||||
|
||||
/// <summary>
|
||||
/// Class representing a Dalamud changelog.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.Http.Json;
|
||||
using System.Threading.Tasks;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
using System;
|
||||
|
||||
namespace Dalamud.Interface.Internal.Windows.PluginInstaller;
|
||||
namespace Dalamud.Interface.Internal.Windows.PluginInstaller;
|
||||
|
||||
/// <summary>
|
||||
/// Class representing a changelog entry.
|
||||
|
|
|
|||
|
|
@ -2099,7 +2099,8 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
var useTesting = pluginManager.UseTesting(manifest);
|
||||
var wasSeen = this.WasPluginSeen(manifest.InternalName);
|
||||
|
||||
var isOutdated = manifest.DalamudApiLevel < PluginManager.DalamudApiLevel;
|
||||
var effectiveApiLevel = useTesting && manifest.TestingDalamudApiLevel != null ? manifest.TestingDalamudApiLevel.Value : manifest.DalamudApiLevel;
|
||||
var isOutdated = effectiveApiLevel < PluginManager.DalamudApiLevel;
|
||||
|
||||
// Check for valid versions
|
||||
if ((useTesting && manifest.TestingAssemblyVersion == null) || manifest.AssemblyVersion == null)
|
||||
|
|
@ -2421,7 +2422,8 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
var canFeedback = !isThirdParty &&
|
||||
!plugin.IsDev &&
|
||||
!plugin.IsOrphaned &&
|
||||
plugin.Manifest.DalamudApiLevel == PluginManager.DalamudApiLevel &&
|
||||
(plugin.Manifest.DalamudApiLevel == PluginManager.DalamudApiLevel
|
||||
|| plugin.Manifest.TestingDalamudApiLevel == PluginManager.DalamudApiLevel) &&
|
||||
acceptsFeedback &&
|
||||
availablePluginUpdate == default;
|
||||
|
||||
|
|
@ -3323,7 +3325,9 @@ internal class PluginInstallerWindow : Window, IDisposable
|
|||
var searchString = this.searchText.ToLowerInvariant();
|
||||
var matcher = new FuzzyMatcher(searchString, MatchMode.FuzzyParts);
|
||||
var hasSearchString = !string.IsNullOrWhiteSpace(this.searchText);
|
||||
var oldApi = manifest.DalamudApiLevel < PluginManager.DalamudApiLevel;
|
||||
var oldApi = (manifest.TestingDalamudApiLevel == null
|
||||
|| manifest.TestingDalamudApiLevel < PluginManager.DalamudApiLevel)
|
||||
&& manifest.DalamudApiLevel < PluginManager.DalamudApiLevel;
|
||||
var installed = this.IsManifestInstalled(manifest).IsInstalled;
|
||||
|
||||
if (oldApi && !hasSearchString && !installed)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
using System;
|
||||
using System.Linq;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue