[PowerRename] Handle many items w/o crashing and OOM (#26761)

* [PowerRename] Disable AnimatedIcon (check mark) for CheckBox to prevent crashes
* [PowerRename] Implement lightweight ExplorerItemsSource/VM
This commit is contained in:
Andrey Nekrasov
2023-07-13 18:42:08 +02:00
committed by GitHub
parent bf0d442770
commit 53e104e858
32 changed files with 1124 additions and 538 deletions

View File

@@ -91,6 +91,14 @@
<DependentUpon>ExplorerItem.xaml</DependentUpon>
<SubType>Code</SubType>
</ClInclude>
<ClInclude Include="ExplorerItemsSource.h">
<DependentUpon>ExplorerItemsSource.idl</DependentUpon>
<SubType>Code</SubType>
</ClInclude>
<ClInclude Include="ExplorerItemViewModel.h">
<DependentUpon>ExplorerItemViewModel.idl</DependentUpon>
<SubType>Code</SubType>
</ClInclude>
<ClInclude Include="PatternSnippet.h">
<DependentUpon>PatternSnippet.idl</DependentUpon>
</ClInclude>
@@ -101,6 +109,7 @@
<ClInclude Include="MainWindow.xaml.h">
<DependentUpon>MainWindow.xaml</DependentUpon>
</ClInclude>
<ClInclude Include="Utils.h" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml" />
@@ -114,6 +123,14 @@
<DependentUpon>ExplorerItem.xaml</DependentUpon>
<SubType>Code</SubType>
</ClCompile>
<ClCompile Include="ExplorerItemsSource.cpp">
<DependentUpon>ExplorerItemsSource.idl</DependentUpon>
<SubType>Code</SubType>
</ClCompile>
<ClCompile Include="ExplorerItemViewModel.cpp">
<DependentUpon>ExplorerItemViewModel.idl</DependentUpon>
<SubType>Code</SubType>
</ClCompile>
<ClCompile Include="PatternSnippet.cpp">
<DependentUpon>PatternSnippet.idl</DependentUpon>
</ClCompile>
@@ -137,6 +154,12 @@
<DependentUpon>ExplorerItem.xaml</DependentUpon>
<SubType>Code</SubType>
</Midl>
<Midl Include="ExplorerItemsSource.idl">
<SubType>Code</SubType>
</Midl>
<Midl Include="ExplorerItemViewModel.idl">
<SubType>Designer</SubType>
</Midl>
<Midl Include="MainWindow.idl">
<SubType>Code</SubType>
<DependentUpon>MainWindow.xaml</DependentUpon>