react-native-windows 0.82.3 → 0.82.5

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.
@@ -94,7 +94,7 @@
94
94
  </ItemGroup>
95
95
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
96
96
  <ItemGroup>
97
- <PackageReference Include="boost" Version="1.83.0.0" />
97
+ <PackageReference Include="boost" Version="1.84.0.0" />
98
98
  <PackageReference Include="Microsoft.Windows.CppWinRT" Version="$(CppWinRTVersion)" PrivateAssets="all" />
99
99
  </ItemGroup>
100
100
  <ImportGroup Label="ExtensionTargets">
@@ -362,7 +362,7 @@
362
362
  <TemporaryFollyPatchFiles Include="$(MSBuildThisFileDirectory)\TEMP_UntilFollyUpdate\**\*.*" />
363
363
  </ItemGroup>
364
364
  <ItemGroup>
365
- <PackageReference Include="boost" Version="1.83.0.0" />
365
+ <PackageReference Include="boost" Version="1.84.0.0" />
366
366
  </ItemGroup>
367
367
  <Target Name="Deploy" />
368
368
  <!-- Reenable this task if we need to temporarily replace any folly files for fixes, while we wait for PRs to land in folly -->
@@ -1023,16 +1023,16 @@ void ScrollViewComponentView::OnKeyDown(
1023
1023
  args.Handled(pageUp(true));
1024
1024
  break;
1025
1025
  case winrt::Windows::System::VirtualKey::Up:
1026
- args.Handled(lineUp(true));
1026
+ args.Handled(lineUp(false));
1027
1027
  break;
1028
1028
  case winrt::Windows::System::VirtualKey::Down:
1029
- args.Handled(lineDown(true));
1029
+ args.Handled(lineDown(false));
1030
1030
  break;
1031
1031
  case winrt::Windows::System::VirtualKey::Left:
1032
- args.Handled(lineLeft(true));
1032
+ args.Handled(lineLeft(false));
1033
1033
  break;
1034
1034
  case winrt::Windows::System::VirtualKey::Right:
1035
- args.Handled(lineRight(true));
1035
+ args.Handled(lineRight(false));
1036
1036
  break;
1037
1037
  }
1038
1038
 
@@ -1775,7 +1775,10 @@ void WindowsTextInputComponentView::DrawText() noexcept {
1775
1775
  }
1776
1776
 
1777
1777
  // TODO keep track of proper invalid rect
1778
+ // Prevent reentrancy: TxDrawD2D may call TxViewChange -> DrawText
1779
+ m_cDrawBlock++;
1778
1780
  auto hrDraw = m_textServices->TxDrawD2D(d2dDeviceContext, &rc, nullptr, TXTVIEW_ACTIVE);
1781
+ m_cDrawBlock--;
1779
1782
  winrt::check_hresult(hrDraw);
1780
1783
 
1781
1784
  // draw placeholder text if needed
@@ -426,9 +426,9 @@
426
426
  </ProjectReference>
427
427
  </ItemGroup>
428
428
  <ItemGroup>
429
- <PackageReference Include="boost" Version="1.83.0.0" />
429
+ <PackageReference Include="boost" Version="1.84.0.0" />
430
430
  <PackageReference Include="Microsoft.Windows.CppWinRT" Version="$(CppWinRTVersion)" PrivateAssets="all" />
431
- <PackageReference Include="Microsoft.JavaScript.Hermes" Version="$(HermesVersion)" />
431
+ <PackageReference Include="$(HermesPackageName)" Version="$(HermesVersion)" />
432
432
  <PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" Condition="'$(OverrideWinUIPackage)'!='true'" />
433
433
  <PackageReference Include="$(V8PackageName)" Version="$(V8Version)" Condition="'$(UseV8)' == 'true'" />
434
434
  </ItemGroup>
@@ -21,8 +21,8 @@
21
21
  <Import Project="$(ReactNativeWindowsDir)\PropertySheets\External\Microsoft.ReactNative.Uwp.CppApp.targets" />
22
22
 
23
23
  <ItemGroup>
24
- <PackageReference Include="boost" Version="1.83.0.0" />
24
+ <PackageReference Include="boost" Version="1.84.0.0" />
25
25
  <PackageReference Include="Microsoft.VCRTForwarders.140" Version="1.0.2-rc" />
26
26
  </ItemGroup>
27
27
 
28
- </Project>
28
+ </Project>
@@ -23,8 +23,8 @@
23
23
  <Import Project="$(ReactNativeWindowsDir)\PropertySheets\Codegen.targets" />
24
24
 
25
25
  <ItemGroup>
26
- <PackageReference Include="boost" Version="1.83.0.0" />
26
+ <PackageReference Include="boost" Version="1.84.0.0" />
27
27
  <PackageReference Include="Microsoft.VCRTForwarders.140" Version="1.0.2-rc" />
28
28
  </ItemGroup>
29
29
 
30
- </Project>
30
+ </Project>
@@ -25,7 +25,7 @@
25
25
  <!-- WinUI package name and version are set by WinUI.props -->
26
26
  <PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" Condition="'$(OverrideWinUIPackage)'!='true'" />
27
27
  <!-- Hermes version is set by JSEngine.props -->
28
- <PackageReference Include="Microsoft.JavaScript.Hermes" Version="$(HermesVersion)" />
28
+ <PackageReference Include="$(HermesPackageName)" Version="$(HermesVersion)" />
29
29
  </ItemGroup>
30
30
 
31
31
  <Import Project="$(ReactNativeWindowsDir)PropertySheets\ManagedCodeGen\Microsoft.ReactNative.Managed.CodeGen.targets"
@@ -25,7 +25,7 @@
25
25
  <!-- WinUI package name and version are set by WinUI.props -->
26
26
  <PackageReference Include="$(WinUIPackageName)" Version="$(WinUIPackageVersion)" Condition="'$(OverrideWinUIPackage)'!='true'" />
27
27
  <!-- Hermes version is set by JSEngine.props -->
28
- <PackageReference Include="Microsoft.JavaScript.Hermes" Version="$(HermesVersion)" />
28
+ <PackageReference Include="$(HermesPackageName)" Version="$(HermesVersion)" />
29
29
  </ItemGroup>
30
30
 
31
31
  <!-- The props file for bundling is not set up to be just defaults, it assumes to be run at the end of the project. -->
@@ -10,11 +10,11 @@
10
10
  -->
11
11
  <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
12
12
  <PropertyGroup>
13
- <ReactNativeWindowsVersion>0.82.3</ReactNativeWindowsVersion>
13
+ <ReactNativeWindowsVersion>0.82.5</ReactNativeWindowsVersion>
14
14
  <ReactNativeWindowsMajor>0</ReactNativeWindowsMajor>
15
15
  <ReactNativeWindowsMinor>82</ReactNativeWindowsMinor>
16
- <ReactNativeWindowsPatch>3</ReactNativeWindowsPatch>
16
+ <ReactNativeWindowsPatch>5</ReactNativeWindowsPatch>
17
17
  <ReactNativeWindowsCanary>false</ReactNativeWindowsCanary>
18
- <ReactNativeWindowsCommitId>44975125c841b61bdf863328c0076bbf5bb3e7af</ReactNativeWindowsCommitId>
18
+ <ReactNativeWindowsCommitId>56bff6ad766909975dae8df1a7b65789f7bf4cbe</ReactNativeWindowsCommitId>
19
19
  </PropertyGroup>
20
20
  </Project>
@@ -7,8 +7,9 @@
7
7
  <UseHermes Condition="'$(UseHermes)' == ''">true</UseHermes>
8
8
  <!-- This will be true if (1) the client want to use hermes by setting UseHermes to true OR (2) We are building for UWP where dynamic switching is enabled -->
9
9
  <HermesVersion Condition="'$(HermesVersion)' == ''">0.0.0-2512.22001-bc3d0ed7</HermesVersion>
10
+ <HermesPackageName Condition="'$(HermesPackageName)' == ''">Microsoft.JavaScript.Hermes</HermesPackageName>
10
11
  <HermesPackage Condition="'$(HermesPackage)' == '' And Exists('$(PkgMicrosoft_JavaScript_Hermes)')">$(PkgMicrosoft_JavaScript_Hermes)</HermesPackage>
11
- <HermesPackage Condition="'$(HermesPackage)' == ''">$(NuGetPackageRoot)\Microsoft.JavaScript.Hermes\$(HermesVersion)</HermesPackage>
12
+ <HermesPackage Condition="'$(HermesPackage)' == ''">$(NuGetPackageRoot)\$(HermesPackageName)\$(HermesVersion)</HermesPackage>
12
13
  <EnableHermesInspectorInReleaseFlavor Condition="'$(EnableHermesInspectorInReleaseFlavor)' == ''">false</EnableHermesInspectorInReleaseFlavor>
13
14
  <!-- Disable linking Hermes into the output in cases where we need to fully rely on HermesShim -->
14
15
  <HermesNoLink Condition="'$(HermesNoLink)' == '' and '$(Configuration)' == 'Release' and '$(EnableHermesInspectorInReleaseFlavor)' != 'true'">true</HermesNoLink>
@@ -230,7 +230,7 @@
230
230
  </ProjectReference>
231
231
  </ItemGroup>
232
232
  <ItemGroup>
233
- <PackageReference Include="boost" Version="1.83.0.0" />
233
+ <PackageReference Include="boost" Version="1.84.0.0" />
234
234
  <PackageReference Include="Microsoft.Windows.CppWinRT" Version="$(CppWinRTVersion)" PrivateAssets="all" />
235
235
  </ItemGroup>
236
236
  <PropertyGroup>
@@ -0,0 +1,40 @@
1
+ # Copyright (c) Microsoft Corporation.
2
+ # Licensed under the MIT License.
3
+
4
+ <#
5
+ .SYNOPSIS
6
+ Downloads a file from a URI with retry logic.
7
+
8
+ .PARAMETER Uri
9
+ The URI to download from.
10
+
11
+ .PARAMETER OutFile
12
+ The output file path.
13
+
14
+ .PARAMETER MaxRetries
15
+ Maximum number of download attempts. Default is 3.
16
+ #>
17
+ param(
18
+ [Parameter(Mandatory)]
19
+ [string]$Uri,
20
+
21
+ [Parameter(Mandatory)]
22
+ [string]$OutFile,
23
+
24
+ [int]$MaxRetries = 3
25
+ )
26
+
27
+ Set-StrictMode -Version Latest
28
+ $ErrorActionPreference = 'Stop'
29
+
30
+ for ($i = 1; $i -le $MaxRetries; $i++) {
31
+ try {
32
+ Write-Host "Downloading $OutFile (attempt $i of $MaxRetries)"
33
+ Invoke-WebRequest -Uri $Uri -OutFile $OutFile
34
+ return
35
+ } catch {
36
+ Write-Host "Attempt $i failed: $_"
37
+ if ($i -eq $MaxRetries) { throw }
38
+ Start-Sleep -Seconds (5 * $i)
39
+ }
40
+ }
@@ -5,7 +5,7 @@ param(
5
5
  [string] $SourceRoot = ($PSScriptRoot | Split-Path | Split-Path | Split-Path),
6
6
  [string] $TargetRoot = "$SourceRoot\vnext\target",
7
7
  [System.IO.DirectoryInfo] $ReactWindowsRoot = "$SourceRoot\vnext",
8
- [System.IO.DirectoryInfo] $ReactNativeRoot = "$SourceRoot\node_modules\react-native",
8
+ [System.IO.DirectoryInfo] $ReactNativeRoot = "$SourceRoot\node_modules\react-native",
9
9
  [string[]] $Extensions = ('h', 'hpp', 'def')
10
10
  )
11
11
 
@@ -111,20 +111,6 @@ Get-ChildItem -Path $ReactWindowsRoot\Desktop.DLL -Recurse -Include '*.def' | Fo
111
111
  -Force
112
112
  }
113
113
 
114
- # React.Windows.Test headers
115
- Get-ChildItem -Path $ReactWindowsRoot\Test -Name -Recurse -Include $patterns | ForEach-Object { Copy-Item `
116
- -Path $ReactWindowsRoot\Test\$_ `
117
- -Destination (New-Item -ItemType Directory $TargetRoot\inc\Test\$(Split-Path $_) -Force) `
118
- -Force
119
- }
120
-
121
- # React.Windows.Test DLL DEF files
122
- Get-ChildItem -Path $ReactWindowsRoot\Desktop.Test.DLL -Name -Recurse -Include $patterns | ForEach-Object { Copy-Item `
123
- -Path $ReactWindowsRoot\Desktop.Test.DLL\$_ `
124
- -Destination (New-Item -ItemType Directory $TargetRoot\inc\$(Split-Path $_) -Force) `
125
- -Force
126
- }
127
-
128
114
  # include headers
129
115
  Copy-Item -Force -Recurse -Path $ReactWindowsRoot\include -Destination $TargetRoot\inc
130
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-windows",
3
- "version": "0.82.3",
3
+ "version": "0.82.5",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,39 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3
- <metadata>
4
- <id>$id$</id>
5
- <version>$version$</version>
6
- <description>OpenSSL for Windows Desktop - Static Library.</description>
7
- <authors>Microsoft</authors>
8
- <projectUrl>https://www.openssl.org</projectUrl>
9
- <requireLicenseAcceptance>false</requireLicenseAcceptance>
10
- <dependencies>
11
- <group targetFramework="Windows8-x86" />
12
- <group targetFramework="Windows8-x64" />
13
- <group targetFramework="Windows8-ARM64" />
14
- </dependencies>
15
- <repository type="git" url="$repoUrl$" branch="$repoBranch$" commit="$repoCommit$" />
16
- <license type="expression">OpenSSL</license>
17
- </metadata>
18
- <files>
19
- <file src="OpenSSL.targets" target="build\native\$id$.targets" />
20
-
21
- <file src="$vcpkgroot$\installed\x86-windows-static\include\openssl\**\*.*" target="include\x86\openssl" />
22
- <file src="$vcpkgroot$\installed\x86-windows-static\debug\lib\libeay32.lib" target="lib\win8-x86\Debug" />
23
- <file src="$vcpkgroot$\installed\x86-windows-static\debug\lib\ssleay32.lib" target="lib\win8-x86\Debug" />
24
- <file src="$vcpkgroot$\installed\x86-windows-static\lib\libeay32.lib" target="lib\win8-x86\Release" />
25
- <file src="$vcpkgroot$\installed\x86-windows-static\lib\ssleay32.lib" target="lib\win8-x86\Release" />
26
-
27
- <file src="$vcpkgroot$\installed\x64-windows-static\include\openssl\**\*.*" target="include\x64\openssl" />
28
- <file src="$vcpkgroot$\installed\x64-windows-static\debug\lib\libeay32.lib" target="lib\win8-x64\Debug" />
29
- <file src="$vcpkgroot$\installed\x64-windows-static\debug\lib\ssleay32.lib" target="lib\win8-x64\Debug" />
30
- <file src="$vcpkgroot$\installed\x64-windows-static\lib\libeay32.lib" target="lib\win8-x64\Release" />
31
- <file src="$vcpkgroot$\installed\x64-windows-static\lib\ssleay32.lib" target="lib\win8-x64\Release" />
32
-
33
- <file src="$vcpkgroot$\installed\arm64-windows-static\include\openssl\**\*.*" target="include\ARM64\openssl" />
34
- <file src="$vcpkgroot$\installed\arm64-windows-static\debug\lib\libeay32.lib" target="lib\win8-arm64\Debug" />
35
- <file src="$vcpkgroot$\installed\arm64-windows-static\debug\lib\ssleay32.lib" target="lib\win8-arm64\Debug" />
36
- <file src="$vcpkgroot$\installed\arm64-windows-static\lib\libeay32.lib" target="lib\win8-arm64\Release" />
37
- <file src="$vcpkgroot$\installed\arm64-windows-static\lib\ssleay32.lib" target="lib\win8-arm64\Release" />
38
- </files>
39
- </package>
@@ -1,36 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <ItemDefinitionGroup>
4
- <ClCompile>
5
- <AdditionalIncludeDirectories Condition="'$(Platform)' != 'Win32'">
6
- $(MSBuildThisFileDirectory)..\..\include\$(Platform);
7
- %(AdditionalIncludeDirectories)
8
- </AdditionalIncludeDirectories>
9
- <AdditionalIncludeDirectories Condition="'$(Platform)' == 'Win32'">
10
- $(MSBuildThisFileDirectory)..\..\include\x86;
11
- %(AdditionalIncludeDirectories)
12
- </AdditionalIncludeDirectories>
13
- </ClCompile>
14
- <Link>
15
- <AdditionalLibraryDirectories Condition="'$(Platform)' != 'Win32'">
16
- $(MSBuildThisFileDirectory)..\..\lib\win8-$(Platform)\$(Configuration);
17
- %(AdditionalLibraryDirectories)
18
- </AdditionalLibraryDirectories>
19
- <AdditionalLibraryDirectories Condition="'$(Platform)' == 'Win32'">
20
- $(MSBuildThisFileDirectory)..\..\lib\win8-x86\$(Configuration);
21
- %(AdditionalLibraryDirectories)
22
- </AdditionalLibraryDirectories>
23
- <!--
24
- libeay32.lib - Provided by this package
25
- ssleay32.lib - Provided by this package
26
- Crypt32.lib - Provided by Windows API
27
- -->
28
- <AdditionalDependencies>
29
- libeay32.lib;
30
- ssleay32.lib;
31
- Crypt32.lib;
32
- %(AdditionalDependencies)
33
- </AdditionalDependencies>
34
- </Link>
35
- </ItemDefinitionGroup>
36
- </Project>