diff --git a/.gitignore b/.gitignore index 1594fe1..d2c4f95 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ -privacy/*.pfk -privacy/*.ps1 +privacy/* ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. diff --git a/EasyPlot/EasyPlot.csproj b/EasyPlot/EasyPlot.csproj index 7ee7b78..fcb7887 100644 --- a/EasyPlot/EasyPlot.csproj +++ b/EasyPlot/EasyPlot.csproj @@ -16,12 +16,12 @@ EasyPlot - com.companyname.easyplot + org.oucc.easyplot 57aa4d4d-d9c8-444b-8de9-ca3c3f2afb3a - 1.0 - 1 + 0.2.0 + 0.2 13.6 13.1 @@ -38,12 +38,12 @@ 0 win10-x64 x64 + ja-JP True $(PackageCertificateThumbprintOverrride) - SHA256 @@ -52,7 +52,7 @@ - + diff --git a/EasyPlot/Platforms/Android/AndroidManifest.xml b/EasyPlot/Platforms/Android/AndroidManifest.xml deleted file mode 100644 index e9937ad..0000000 --- a/EasyPlot/Platforms/Android/AndroidManifest.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/EasyPlot/Platforms/Android/MainActivity.cs b/EasyPlot/Platforms/Android/MainActivity.cs deleted file mode 100644 index 6a60e7f..0000000 --- a/EasyPlot/Platforms/Android/MainActivity.cs +++ /dev/null @@ -1,10 +0,0 @@ -using Android.App; -using Android.Content.PM; -using Android.OS; - -namespace EasyPlot; - -[Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] -public class MainActivity : MauiAppCompatActivity -{ -} diff --git a/EasyPlot/Platforms/Android/MainApplication.cs b/EasyPlot/Platforms/Android/MainApplication.cs deleted file mode 100644 index 4401dd5..0000000 --- a/EasyPlot/Platforms/Android/MainApplication.cs +++ /dev/null @@ -1,15 +0,0 @@ -using Android.App; -using Android.Runtime; - -namespace EasyPlot; - -[Application] -public class MainApplication : MauiApplication -{ - public MainApplication(IntPtr handle, JniHandleOwnership ownership) - : base(handle, ownership) - { - } - - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} diff --git a/EasyPlot/Platforms/Android/Resources/values/colors.xml b/EasyPlot/Platforms/Android/Resources/values/colors.xml deleted file mode 100644 index c04d749..0000000 --- a/EasyPlot/Platforms/Android/Resources/values/colors.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - #512BD4 - #2B0B98 - #2B0B98 - \ No newline at end of file diff --git a/EasyPlot/Platforms/Tizen/Main.cs b/EasyPlot/Platforms/Tizen/Main.cs deleted file mode 100644 index 667cdb1..0000000 --- a/EasyPlot/Platforms/Tizen/Main.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using Microsoft.Maui; -using Microsoft.Maui.Hosting; - -namespace EasyPlot; - -class Program : MauiApplication -{ - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); - - static void Main(string[] args) - { - var app = new Program(); - app.Run(args); - } -} diff --git a/EasyPlot/Platforms/Tizen/tizen-manifest.xml b/EasyPlot/Platforms/Tizen/tizen-manifest.xml deleted file mode 100644 index 05b47f2..0000000 --- a/EasyPlot/Platforms/Tizen/tizen-manifest.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - maui-appicon-placeholder - - - - - http://tizen.org/privilege/internet - - - - \ No newline at end of file diff --git a/EasyPlot/Platforms/Windows/Package.appxmanifest b/EasyPlot/Platforms/Windows/Package.appxmanifest index cf49a36..fd00b71 100644 --- a/EasyPlot/Platforms/Windows/Package.appxmanifest +++ b/EasyPlot/Platforms/Windows/Package.appxmanifest @@ -6,13 +6,13 @@ xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities" IgnorableNamespaces="uap rescap"> - + $placeholder$ - User Name + OUCC $placeholder$.png diff --git a/EasyPlot/Platforms/iOS/AppDelegate.cs b/EasyPlot/Platforms/iOS/AppDelegate.cs deleted file mode 100644 index 4b0a60e..0000000 --- a/EasyPlot/Platforms/iOS/AppDelegate.cs +++ /dev/null @@ -1,9 +0,0 @@ -using Foundation; - -namespace EasyPlot; - -[Register("AppDelegate")] -public class AppDelegate : MauiUIApplicationDelegate -{ - protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); -} diff --git a/EasyPlot/Platforms/iOS/Info.plist b/EasyPlot/Platforms/iOS/Info.plist deleted file mode 100644 index 0004a4f..0000000 --- a/EasyPlot/Platforms/iOS/Info.plist +++ /dev/null @@ -1,32 +0,0 @@ - - - - - LSRequiresIPhoneOS - - UIDeviceFamily - - 1 - 2 - - UIRequiredDeviceCapabilities - - arm64 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - XSAppIconAssets - Assets.xcassets/appicon.appiconset - - diff --git a/EasyPlot/Platforms/iOS/Program.cs b/EasyPlot/Platforms/iOS/Program.cs deleted file mode 100644 index 4f3161f..0000000 --- a/EasyPlot/Platforms/iOS/Program.cs +++ /dev/null @@ -1,15 +0,0 @@ -using ObjCRuntime; -using UIKit; - -namespace EasyPlot; - -public class Program -{ - // This is the main entry point of the application. - static void Main(string[] args) - { - // if you want to use a different Application Delegate class from "AppDelegate" - // you can specify it here. - UIApplication.Main(args, null, typeof(AppDelegate)); - } -} diff --git a/EasyPlot/Utilities/ValueStringBuilder.cs b/EasyPlot/Utilities/ValueStringBuilder.cs index 12e6516..929bcec 100644 --- a/EasyPlot/Utilities/ValueStringBuilder.cs +++ b/EasyPlot/Utilities/ValueStringBuilder.cs @@ -52,20 +52,13 @@ public ValueStringBuilder(CultureInfo? cultureInfo) public void Append(ReadOnlySpan value) { - try - { - if (Disposed) - ThrowObjectDisposedException(); + if (Disposed) + ThrowObjectDisposedException(); - EnsureBuffer(Length + value.Length); + EnsureBuffer(Length + value.Length); - value.CopyTo(_buffer[Length..]); - Length += value.Length; - } - catch (Exception ex) - { - throw; - } + value.CopyTo(_buffer[Length..]); + Length += value.Length; } public void Append(T value, ReadOnlySpan format = default) where T : ISpanFormattable