-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync zzz-mobile-mode with main (#604)
# Main Goal {Describe/list your goal for the PR here} ## PR Status : - Overall Status : Done/In Progress/Stalled/Cancelled - Commits : Done/In Progress/Stalled/Cancelled - Synced to base (Collapse:main) : Yes/Not yet - Build status : OK/Crashing/Build Errors - Crashing : Yes/No - Bug found caused by PR : {int} ### Templates <details> <summary>Changelog Prefixes</summary> ``` **[New]** **[Imp]** **[Fix]** **[Loc]** **[Doc]** ``` </details>
- Loading branch information
Showing
379 changed files
with
29,539 additions
and
9,046 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,15 +21,16 @@ jobs: | |
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
configuration: [Release] # No need to distribute Debug builds | ||
configuration: [Debug] # No need to distribute Debug builds | ||
platform: [x64] | ||
framework: [net8.0-windows10.0.22621.0] | ||
framework: [net9.0-windows10.0.22621.0] | ||
|
||
env: | ||
Configuration: ${{ matrix.configuration }} | ||
Platform: ${{ matrix.platform }} | ||
DOTNET_INSTALL_DIR: '.\.dotnet' | ||
DOTNET_VERSION: '8.x' | ||
DOTNET_VERSION: '9.x' | ||
DOTNET_QUALITY: 'ga' | ||
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages | ||
|
||
steps: | ||
|
@@ -42,6 +43,48 @@ jobs: | |
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: ${{ env.DOTNET_VERSION }} | ||
dotnet-quality: ${{ env.DOTNET_QUALITY }} | ||
cache: true | ||
cache-dependency-path: CollapseLauncher/packages.lock.json | ||
|
||
- name: Build | ||
run: | | ||
dotnet publish CollapseLauncher -p:PublishProfile=Publish-DebugCIRelease -p:PublishDir=".\debug-build\" | ||
- name: Upload Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: collapse_${{ matrix.platform }}-${{ matrix.configuration }}_${{ matrix.framework }}_${{ github.sha }} | ||
path: ./CollapseLauncher/debug-build/ | ||
compression-level: 9 | ||
|
||
build-nativeaot: | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
configuration: [Debug] | ||
platform: [x64] | ||
framework: [net9.0-windows10.0.22621.0] | ||
|
||
env: | ||
Configuration: ${{ matrix.configuration }} | ||
Platform: ${{ matrix.platform }} | ||
DOTNET_INSTALL_DIR: '.\.dotnet' | ||
DOTNET_VERSION: '9.x' | ||
DOTNET_QUALITY: 'ga' | ||
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install .NET | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: ${{ env.DOTNET_VERSION }} | ||
dotnet-quality: ${{ env.DOTNET_QUALITY }} | ||
cache: true | ||
cache-dependency-path: CollapseLauncher/packages.lock.json | ||
|
||
|
@@ -51,16 +94,20 @@ jobs: | |
|
||
- name: Build | ||
run: | | ||
dotnet publish CollapseLauncher -p:PublishProfile=Publish-PreviewRelease -p:PublishDir=".\preview-build\" | ||
dotnet publish CollapseLauncher -p:PublishProfile=Publish-DebugCIReleaseAOT -p:PublishDir=".\debug-aot-build\" | ||
- name: Upload Artifact (Release) | ||
- name: Upload Artifact | ||
uses: actions/[email protected] | ||
if: ${{ matrix.configuration == 'Release' }} | ||
with: | ||
name: collapse_${{ matrix.platform }}-${{ matrix.configuration }}_${{ matrix.framework }}_${{ github.sha }} | ||
path: ./CollapseLauncher/preview-build/ | ||
name: aot-experimental_collapse_${{ matrix.platform }}-${{ matrix.configuration }}_${{ matrix.framework }}_${{ github.sha }} | ||
path: ./CollapseLauncher/debug-aot-build/ | ||
compression-level: 9 | ||
|
||
notify-discord: | ||
runs-on: ubuntu-latest | ||
if: always() | ||
needs: [build, build-nativeaot] | ||
steps: | ||
- name: Notify Discord | ||
uses: sarisia/[email protected] | ||
if: always() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
.idea/.idea.CollapseLauncher/.idea/inspectionProfiles/Project_Default.xml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
Backup/CommunityToolkit.WinUI.Controls.ImageCropper.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<Project> | ||
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" Condition="Exists('$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))')" /> | ||
|
||
<PropertyGroup> | ||
<ToolkitComponentName>ImageCropper</ToolkitComponentName> | ||
<Description>The ImageCropper control allows the user to freely crop an image.</Description> | ||
|
||
<!-- Rns suffix is required for namespaces shared across projects. See https://github.com/CommunityToolkit/Labs-Windows/issues/152 --> | ||
<RootNamespace>CommunityToolkit.WinUI.Controls.ImageCropperRns</RootNamespace> | ||
<PackageReadmeFile>ReadMe.md</PackageReadmeFile> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Graphics.Win2D" Version="1.0.0.30"/> | ||
</ItemGroup> | ||
|
||
<!-- Sets this up as a toolkit component's source project --> | ||
<Import Project="$(ToolingDirectory)\ToolkitComponent.SourceProject.props" /> | ||
|
||
<ItemGroup> | ||
<None Include="ReadMe.md"> | ||
<Pack>True</Pack> | ||
<PackagePath>\</PackagePath> | ||
</None> | ||
</ItemGroup> | ||
|
||
<PropertyGroup> | ||
<PackageId>$(PackageIdPrefix).$(PackageIdVariant).Controls.$(ToolkitComponentName)</PackageId> | ||
</PropertyGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
|
||
# Windows Community Toolkit - ImageCropper | ||
|
||
This package is part of the [Windows Community Toolkit](https://aka.ms/toolkit/windows) from the [.NET Foundation](https://dotnetfoundation.org). | ||
|
||
## Package Contents | ||
|
||
This package contains the following controls in the `CommunityToolkit.WinUI.Controls` namespace: | ||
|
||
- ImageCropper | ||
|
||
## Which Package is for me? | ||
|
||
If you're developing with _UWP/WinUI 2 or Uno.UI_ you should be using the `CommunityToolkit.Uwp.Controls.ImageCropper` package. | ||
|
||
If you're developing with _WindowsAppSDK/WinUI 3 or Uno.WinUI_ you should be using the `CommunityToolkit.WinUI.Controls.ImageCropper` package. | ||
|
||
## WinUI Resources (UWP) | ||
|
||
For UWP projects, the WinUI 2 reference requires you include the WinUI XAML Resources in your App.xaml file: | ||
|
||
```xml | ||
<Application.Resources> | ||
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" /> | ||
</Application.Resources> | ||
``` | ||
|
||
See [Getting Started in WinUI 2](https://learn.microsoft.com/windows/apps/winui/winui2/getting-started) for more information. | ||
|
||
## Documentation | ||
|
||
Further documentation about these components can be found at: https://aka.ms/windowstoolkitdocs | ||
|
||
## License | ||
|
||
MIT | ||
|
||
See License.md in package for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.