Skip to content

Commit

Permalink
Undo namespace rename
Browse files Browse the repository at this point in the history
  • Loading branch information
NoobNotFound committed Oct 29, 2024
1 parent ddb892d commit ea84310
Show file tree
Hide file tree
Showing 28 changed files with 55 additions and 55 deletions.
2 changes: 1 addition & 1 deletion Emerald.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.11.35103.136
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Emerald.Uno", "Emerald\Emerald.Uno.csproj", "{9D3213F4-E514-4E7D-872A-725DB4872436}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Emerald", "Emerald\Emerald.csproj", "{9D3213F4-E514-4E7D-872A-725DB4872436}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{3142BDF3-E95C-4F0F-8701-CF981F6EA3C0}"
ProjectSection(SolutionItems) = preProject
Expand Down
2 changes: 1 addition & 1 deletion Emerald/App.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Application x:Class="Emerald.Uno.App"
<Application x:Class="Emerald.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

Expand Down
4 changes: 2 additions & 2 deletions Emerald/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Uno.Resizetizer;

namespace Emerald.Uno;
namespace Emerald;
public partial class App : Application
{
/// <summary>
Expand Down Expand Up @@ -50,7 +50,7 @@ protected override void OnLaunched(LaunchActivatedEventArgs args)
MainWindow.Content = rootFrame;
}
#if WINDOWS
var mica = Emerald.Uno.Helpers.WindowManager.IntializeWindow(MainWindow);
var mica = Emerald.Helpers.WindowManager.IntializeWindow(MainWindow);
#endif

if (rootFrame.Content == null)
Expand Down
6 changes: 3 additions & 3 deletions Emerald/Emerald.Uno.csproj → Emerald/Emerald.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Uno.Sdk">
<Project Sdk="Uno.Sdk">
<PropertyGroup>
<TargetFrameworks>
net8.0-maccatalyst;
Expand All @@ -10,9 +10,9 @@
<UnoSingleProject>true</UnoSingleProject>

<!-- Display name -->
<ApplicationTitle>Emerald.Uno</ApplicationTitle>
<ApplicationTitle>Emerald</ApplicationTitle>
<!-- App Identifier -->
<ApplicationId>Riverside.Emerald.Uno</ApplicationId>
<ApplicationId>Riverside.Emerald</ApplicationId>
<!-- Versions -->
<ApplicationDisplayVersion>1.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>
Expand Down
4 changes: 2 additions & 2 deletions Emerald/Helpers/Converters/BoolToVisibility.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

using Microsoft.UI.Xaml.Data;

namespace Emerald.Uno.Helpers.Converters;
namespace Emerald.Helpers.Converters;
public class BoolToVisibility : IValueConverter
{
public bool Reversed { get; set; }
Expand All @@ -15,4 +15,4 @@ public object ConvertBack(object value, Type targetType, object parameter, strin
{
throw new InvalidOperationException();
}
}
}
2 changes: 1 addition & 1 deletion Emerald/Helpers/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using System.Text;
using Windows.System.Diagnostics;

namespace Emerald.Uno.Helpers;
namespace Emerald.Helpers;

public static class Extensions
{
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Helpers/MarkupExtensions/ConditionString.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.UI.Xaml.Markup;

namespace Emerald.Uno.Helpers;
namespace Emerald.Helpers;

[MarkupExtensionReturnType(ReturnType = typeof(string))]
public class ConditionString : MarkupExtension
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Helpers/MarkupExtensions/FontIcon.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.UI.Xaml.Markup;

namespace Emerald.Uno.Helpers;
namespace Emerald.Helpers;

[MarkupExtensionReturnType(ReturnType = typeof(Microsoft.UI.Xaml.Controls.FontIcon))]
public sealed class FontIcon : MarkupExtension
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Helpers/MarkupExtensions/LocalizeString.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.UI.Xaml.Markup;
using CommunityToolkit.Mvvm;
namespace Emerald.Uno.Helpers;
namespace Emerald.Helpers;

[MarkupExtensionReturnType(ReturnType = typeof(string))]
public sealed class Localize : MarkupExtension
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Helpers/Settings/Enums/MicaTintColor.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Emerald.Uno.Helpers.Settings.Enums
namespace Emerald.Helpers.Settings.Enums
{
public enum MicaTintColor : int
{
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Helpers/Settings/JSON.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
using System.Collections.Generic;
using Windows.UI;
using Emerald.CoreX.Store.Modrinth;
namespace Emerald.Uno.Helpers.Settings.JSON;
namespace Emerald.Helpers.Settings.JSON;

public class JSON : Models.Model
{
Expand Down
4 changes: 2 additions & 2 deletions Emerald/Helpers/Settings/SettingsSystem.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using Emerald.Uno.Helpers.Settings.JSON;
using Emerald.Helpers.Settings.JSON;
using System.Text.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Windows.Storage;

namespace Emerald.Uno.Helpers.Settings;
namespace Emerald.Helpers.Settings;

public static class SettingsSystem
{
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Helpers/WindowManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
using WinRT;
using WinRT.Interop;

namespace Emerald.Uno.Helpers
namespace Emerald.Helpers
{
#if WINDOWS
public static class WindowManager
Expand Down
12 changes: 6 additions & 6 deletions Emerald/MainPage.xaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Page x:Class="Emerald.Uno.MainPage"
<Page x:Class="Emerald.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Emerald.Uno"
xmlns:local="using:Emerald"
xmlns:utu="using:Uno.Toolkit.UI"
xmlns:models="using:Emerald.Uno.Models"
xmlns:uc="using:Emerald.Uno.UserControls"
xmlns:conv="using:Emerald.Uno.Helpers.Converters"
xmlns:helpers="using:Emerald.Uno.Helpers">
xmlns:models="using:Emerald.Models"
xmlns:uc="using:Emerald.UserControls"
xmlns:conv="using:Emerald.Helpers.Converters"
xmlns:helpers="using:Emerald.Helpers">
<Page.Resources>
<conv:BoolToVisibility x:Key="BoolToVisibilty"/>
</Page.Resources>
Expand Down
10 changes: 5 additions & 5 deletions Emerald/MainPage.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using Emerald.Uno.Helpers;
using Emerald.Uno.Models;
using Emerald.Uno.Views.Settings;
using Emerald.Helpers;
using Emerald.Models;
using Emerald.Views.Settings;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Media.Animation;

namespace Emerald.Uno;
namespace Emerald;

public sealed partial class MainPage : Page
{
Expand All @@ -24,7 +24,7 @@ private void MainNavigationView_ItemInvoked(NavigationView sender, NavigationVie
private void MainPage_Loaded(object sender, RoutedEventArgs e)
{
#if WINDOWS
Emerald.Uno.Helpers.WindowManager.SetTitleBar(App.Current.MainWindow, AppTitleBar);
Emerald.Helpers.WindowManager.SetTitleBar(App.Current.MainWindow, AppTitleBar);
#endif
NavView.MenuItems.Add(new SquareNavigationViewItem("Home".Localize())
{
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Models/Model.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using CommunityToolkit.Mvvm.ComponentModel;
using System.ComponentModel;

namespace Emerald.Uno.Models;
namespace Emerald.Models;

public partial class Model : ObservableObject
{
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Models/NavViewHeader.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using CommunityToolkit.Mvvm.ComponentModel;

namespace Emerald.Uno.Models;
namespace Emerald.Models;

public partial class NavViewHeader : Model
{
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Models/SquareNavigationViewItem.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;

namespace Emerald.Uno.Models;
namespace Emerald.Models;

public partial class SquareNavigationViewItem : Model
{
Expand Down
10 changes: 5 additions & 5 deletions Emerald/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
IgnorableNamespaces="uap rescap">

<Identity
Name="Emerald.Uno"
Name="Emerald"
Publisher="O=Riverside Valley"
Version="1.0.0.0" />

<Properties>
<DisplayName>Emerald.Uno</DisplayName>
<PublisherDisplayName>Emerald.Uno</PublisherDisplayName>
<DisplayName>Emerald</DisplayName>
<PublisherDisplayName>Emerald</PublisherDisplayName>
</Properties>

<Dependencies>
Expand All @@ -30,8 +30,8 @@
Executable="$targetnametoken$.exe"
EntryPoint="$targetentrypoint$">
<uap:VisualElements
DisplayName="Emerald.Uno"
Description="Emerald.Uno">
DisplayName="Emerald"
Description="Emerald">
<uap:SplashScreen />
</uap:VisualElements>
</Application>
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Platforms/Desktop/Program.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Uno.UI.Runtime.Skia;

namespace Emerald.Uno;
namespace Emerald;
public class Program
{
[STAThread]
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Platforms/MacCatalyst/Main.maccatalyst.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UIKit;

namespace Emerald.Uno.MacCatalyst;
namespace Emerald.MacCatalyst;
public class EntryPoint
{
// This is the main entry point of the application.
Expand Down
10 changes: 5 additions & 5 deletions Emerald/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@
},
"profiles": {
// Note: In order to select this profile, you'll need to comment the `Packaged` profile below until this is fixed: https://aka.platform.uno/wasdk-maui-debug-profile-issue
"Emerald.Uno (WinAppSDK Unpackaged)": {
"Emerald (WinAppSDK Unpackaged)": {
"commandName": "Project",
"compatibleTargetFramework": "windows"
},
"Emerald.Uno (WinAppSDK Packaged)": {
"Emerald (WinAppSDK Packaged)": {
"commandName": "MsixPackage",
"compatibleTargetFramework": "windows"
},
"Emerald.Uno (Desktop)": {
"Emerald (Desktop)": {
"commandName": "Project",
"compatibleTargetFramework": "desktop"
},
"Emerald.Uno (Desktop WSL2)": {
"Emerald (Desktop WSL2)": {
"commandName": "WSL2",
"commandLineArgs": "{ProjectDir}/bin/Debug/net8.0-desktop/Emerald.Uno.dll",
"commandLineArgs": "{ProjectDir}/bin/Debug/net8.0-desktop/Emerald.dll",
"distributionName": "",
"compatibleTargetFramework": "desktop"
}
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Strings/en/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,6 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="ApplicationName" xml:space="preserve">
<value>Emerald.Uno-en</value>
<value>Emerald-en</value>
</data>
</root>
6 changes: 3 additions & 3 deletions Emerald/UserControls/Titlebar.xaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<UserControl
x:Class="Emerald.Uno.UserControls.TitleBar"
x:Class="Emerald.UserControls.TitleBar"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:Emerald.Uno.UserControls"
xmlns:local="using:Emerald.UserControls"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Expand All @@ -27,7 +27,7 @@
Margin="8,0,0,0"
VerticalAlignment="Center"
Style="{ThemeResource CaptionTextBlockStyle}"
Text="Emerald.Uno" />
Text="Emerald" />
<TextBlock
x:Name="PreviewTitle"
Margin="4,0,0,0"
Expand Down
2 changes: 1 addition & 1 deletion Emerald/UserControls/Titlebar.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

// The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236

namespace Emerald.Uno.UserControls;
namespace Emerald.UserControls;
public sealed partial class TitleBar : UserControl
{
public TitleBar()
Expand Down
8 changes: 4 additions & 4 deletions Emerald/Views/Settings/SettingsPage.xaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Page
x:Class="Emerald.Uno.Views.Settings.SettingsPage"
x:Class="Emerald.Views.Settings.SettingsPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:helpers="using:Emerald.Uno.Helpers"
xmlns:local="using:Emerald.Uno.Views.Settings"
xmlns:helpers="using:Emerald.Helpers"
xmlns:local="using:Emerald.Views.Settings"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:uc="using:Emerald.Uno.UserControls"
xmlns:uc="using:Emerald.UserControls"
mc:Ignorable="d">

<Page.Resources>
Expand Down
2 changes: 1 addition & 1 deletion Emerald/Views/Settings/SettingsPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Microsoft.UI.Xaml.Media.Animation;
using System;

namespace Emerald.Uno.Views.Settings
namespace Emerald.Views.Settings
{
public sealed partial class SettingsPage : Page
{
Expand Down
2 changes: 1 addition & 1 deletion Emerald/app.manifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="Emerald.Uno.Windows.app"/>
<assemblyIdentity version="1.0.0.0" name="Emerald.Windows.app"/>

<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
Expand Down

0 comments on commit ea84310

Please sign in to comment.