@nativescript/windows-hermes 0.1.0-alpha.144 → 0.1.0-alpha.146
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/framework/dotnet-bridge/Bridge.Dispatch.cs +1 -1
- package/framework/dotnet-bridge/Bridge.Proxy.cs +0 -1
- package/framework/dotnet-bridge/Bridge.cs +3 -3
- package/framework/dotnet-bridge/DotNetBridge.csproj +8 -0
- package/framework/libs/x64/nativescript.dll +0 -0
- package/framework/tools/ManifestMerger/ManifestMerger.dll +0 -0
- package/framework/tools/ManifestMerger/ManifestMerger.pdb +0 -0
- package/framework/tools/dotnet-tool-x64.exe +0 -0
- package/framework/tools/dotnet-tool.exe +0 -0
- package/framework/tools/dotnet-typings-gen/dotnet-typings-gen.dll +0 -0
- package/framework/tools/dotnet-typings-gen/dotnet-typings-gen.exe +0 -0
- package/framework/tools/dotnet-typings-gen/dotnet-typings-gen.pdb +0 -0
- package/framework/tools/nsbundle_pack-x64.exe +0 -0
- package/framework/tools/nsbundle_pack.exe +0 -0
- package/framework/tools/sbg-x64.exe +0 -0
- package/framework/tools/sbg.exe +0 -0
- package/framework/tools/typings-generator-x64.exe +0 -0
- package/framework/tools/typings-generator.exe +0 -0
- package/package.json +1 -1
|
@@ -351,7 +351,7 @@ public static partial class Bridge
|
|
|
351
351
|
: DispatchResult.Handle(id, typeName);
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
-
private static bool IsAwaitable(object value, Type t)
|
|
354
|
+
private static bool IsAwaitable(object? value, Type t)
|
|
355
355
|
{
|
|
356
356
|
if (value is Task || value is ValueTask) return true;
|
|
357
357
|
if (t.IsGenericType && t.GetGenericTypeDefinition() == typeof(ValueTask<>)) return true;
|
|
@@ -421,7 +421,6 @@ public static partial class Bridge
|
|
|
421
421
|
// look up or dynamically emit a proxy for the correct base class.
|
|
422
422
|
string? resolveFrom = typeName;
|
|
423
423
|
if (!string.IsNullOrEmpty(assemblyName)
|
|
424
|
-
&& typeName != null
|
|
425
424
|
&& typeName.StartsWith("com.tns.gen.winrt.", StringComparison.Ordinal))
|
|
426
425
|
{
|
|
427
426
|
resolveFrom = assemblyName;
|
|
@@ -115,7 +115,7 @@ public static partial class Bridge
|
|
|
115
115
|
var simple = Path.GetFileNameWithoutExtension(file);
|
|
116
116
|
if (string.IsNullOrEmpty(simple)) continue;
|
|
117
117
|
|
|
118
|
-
Assembly asm = AppDomain.CurrentDomain.GetAssemblies()
|
|
118
|
+
Assembly? asm = AppDomain.CurrentDomain.GetAssemblies()
|
|
119
119
|
.FirstOrDefault(a => string.Equals(a.GetName().Name, simple, StringComparison.OrdinalIgnoreCase));
|
|
120
120
|
if (asm is null)
|
|
121
121
|
{
|
|
@@ -540,7 +540,7 @@ public static partial class Bridge
|
|
|
540
540
|
{
|
|
541
541
|
var handlerType = ev.EventHandlerType;
|
|
542
542
|
var method = typeof(Bridge).GetMethod(nameof(CoreApplicationUnhandledErrorHandler), BindingFlags.NonPublic | BindingFlags.Static);
|
|
543
|
-
if (method != null)
|
|
543
|
+
if (handlerType != null && method != null)
|
|
544
544
|
{
|
|
545
545
|
var del = Delegate.CreateDelegate(handlerType, method);
|
|
546
546
|
ev.AddEventHandler(null, del);
|
|
@@ -633,7 +633,7 @@ public static partial class Bridge
|
|
|
633
633
|
try
|
|
634
634
|
{
|
|
635
635
|
var iidLocal = s_iidIInspectable;
|
|
636
|
-
var hr = Marshal.QueryInterface(iunknown,
|
|
636
|
+
var hr = Marshal.QueryInterface(iunknown, in iidLocal, out var inspectable);
|
|
637
637
|
if (hr == 0 && inspectable != IntPtr.Zero)
|
|
638
638
|
{
|
|
639
639
|
Marshal.Release(iunknown);
|
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
host process is already running on net10. LatestMajor accepts any version >= 9. -->
|
|
17
17
|
<RollForward>LatestMajor</RollForward>
|
|
18
18
|
</PropertyGroup>
|
|
19
|
+
<ItemGroup>
|
|
20
|
+
<!-- The bridge only runs inside a Windows host, but the TFM stays plain net9.0 so the
|
|
21
|
+
net9.0 test/benchmark projects can reference it. Declaring the platform here keeps
|
|
22
|
+
CA1416 quiet for the Marshal COM APIs. Skipped when an OS-specific TFM already emits it. -->
|
|
23
|
+
<AssemblyAttribute Include="System.Runtime.Versioning.SupportedOSPlatformAttribute" Condition="'$(TargetPlatformIdentifier)' == ''">
|
|
24
|
+
<_Parameter1>windows</_Parameter1>
|
|
25
|
+
</AssemblyAttribute>
|
|
26
|
+
</ItemGroup>
|
|
19
27
|
<Target Name="WriteDotNetToolDone" AfterTargets="Publish">
|
|
20
28
|
<PropertyGroup>
|
|
21
29
|
<DotNetToolDoneFile>$(MSBuildProjectDirectory)\publish\.dotnet_tool_done</DotNetToolDoneFile>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/framework/tools/sbg.exe
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|