From 3673c44615c3077e76c7a1d90e52b2e6f6b80838 Mon Sep 17 00:00:00 2001 From: Tian L <60599517+tian-lt@users.noreply.github.com> Date: Thu, 13 Jul 2023 00:41:30 +0800 Subject: [PATCH 01/20] port the fix for symbol collision (#2027) --- build/pipelines/templates/build-single-architecture.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/build/pipelines/templates/build-single-architecture.yaml b/build/pipelines/templates/build-single-architecture.yaml index faddea26..e65bbab2 100644 --- a/build/pipelines/templates/build-single-architecture.yaml +++ b/build/pipelines/templates/build-single-architecture.yaml @@ -97,7 +97,6 @@ jobs: searchPattern: '**/*.pdb' symbolServerType: teamServices treatNotIndexedAsWarning: true - symbolsArtifactName: $(System.teamProject)/$(Build.BuildNumber)_$(BuildPlatform)$(BuildConfiguration) - task: CopyFiles@2 displayName: Copy Files for BinSkim analysis From b0f30025fe26e0c953fa2b82c28e4896ccd6ca36 Mon Sep 17 00:00:00 2001 From: Cory Volk <57420088+volkcor@users.noreply.github.com> Date: Mon, 17 Jul 2023 09:19:39 -0700 Subject: [PATCH 02/20] Update Main version to 2307 (#2029) --- build/pipelines/azure-pipelines.release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pipelines/azure-pipelines.release.yaml b/build/pipelines/azure-pipelines.release.yaml index 54121b18..ea5f5928 100644 --- a/build/pipelines/azure-pipelines.release.yaml +++ b/build/pipelines/azure-pipelines.release.yaml @@ -9,7 +9,7 @@ pr: none variables: versionMajor: 11 - versionMinor: 2305 + versionMinor: 2307 versionBuild: $[counter(format('{0}.{1}.*', variables['versionMajor'], variables['versionMinor']), 0)] versionPatch: 0 From 039bb5dea497657fd9324ed07098b4d792a49170 Mon Sep 17 00:00:00 2001 From: hanzhang54 Date: Tue, 1 Aug 2023 19:44:29 +0800 Subject: [PATCH 03/20] Workaround for Simplified Chinese localization issue of currency API (#2031) * Workaround for Simplified Chinese localization issue of currency API * Update fix --- src/CalcViewModel/DataLoaders/CurrencyDataLoader.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/CalcViewModel/DataLoaders/CurrencyDataLoader.cpp b/src/CalcViewModel/DataLoaders/CurrencyDataLoader.cpp index c0b3690a..9a9787c2 100644 --- a/src/CalcViewModel/DataLoaders/CurrencyDataLoader.cpp +++ b/src/CalcViewModel/DataLoaders/CurrencyDataLoader.cpp @@ -107,6 +107,14 @@ CurrencyDataLoader::CurrencyDataLoader(_In_ unique_ptr clie if (GlobalizationPreferences::Languages->Size > 0) { m_responseLanguage = GlobalizationPreferences::Languages->GetAt(0); + + // Workaround for Simplified Chinese localization issue of currency API. + std::wstring_view responseLanguage(m_responseLanguage->Data(), m_responseLanguage->Length()); + std::match_results match; + if (std::regex_match(responseLanguage.cbegin(), responseLanguage.cend(), match, std::wregex(L"zh-hans-[a-z]+", std::regex_constants::icase))) + { + m_responseLanguage = L"zh-CN"; + } } else { From fbc65987700f45fd7bdcd7144b9ffd9aa9720119 Mon Sep 17 00:00:00 2001 From: hanzhang54 Date: Tue, 1 Aug 2023 19:44:49 +0800 Subject: [PATCH 04/20] Revert PR#1964 (#2032) * Revert PR#1964 * Replace keyboard input of decimal with mouse input in UI test * Update UI test --- nuget.config | 3 +- src/Calculator/Calculator.csproj | 3 - src/Calculator/Resources/en-US/Resources.resw | 4 +- src/Calculator/Views/Settings.xaml | 291 +++++++++++------- src/Calculator/Views/Settings.xaml.cs | 6 +- .../StandardModeFunctionalTests.cs | 31 ++ 6 files changed, 216 insertions(+), 122 deletions(-) diff --git a/nuget.config b/nuget.config index 0b8604f4..e59e698f 100644 --- a/nuget.config +++ b/nuget.config @@ -3,9 +3,8 @@ - - \ No newline at end of file + diff --git a/src/Calculator/Calculator.csproj b/src/Calculator/Calculator.csproj index 4f5693fb..653eafaf 100644 --- a/src/Calculator/Calculator.csproj +++ b/src/Calculator/Calculator.csproj @@ -793,9 +793,6 @@ - - 0.0.16 - 6.2.14 diff --git a/src/Calculator/Resources/en-US/Resources.resw b/src/Calculator/Resources/en-US/Resources.resw index 5b994de9..b94831fb 100644 --- a/src/Calculator/Resources/en-US/Resources.resw +++ b/src/Calculator/Resources/en-US/Resources.resw @@ -4714,11 +4714,11 @@ Appearance Subtitle of appearance setting on Settings page - + App theme Title of App theme expander - + Select which app theme to display Description of App theme expander diff --git a/src/Calculator/Views/Settings.xaml b/src/Calculator/Views/Settings.xaml index 78308de4..44848a79 100644 --- a/src/Calculator/Views/Settings.xaml +++ b/src/Calculator/Views/Settings.xaml @@ -3,7 +3,6 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:automation="using:CalculatorApp.ViewModel.Common.Automation" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" - xmlns:labs="using:CommunityToolkit.Labs.WinUI" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:muxc="using:Microsoft.UI.Xaml.Controls" xmlns:utils="using:CalculatorApp.Utils" @@ -15,7 +14,7 @@ - - - - 3 @@ -53,6 +44,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +