From 35cafee947ed22d65f9db040e92e8fc79e542012 Mon Sep 17 00:00:00 2001 From: LilDosto Date: Thu, 29 Oct 2026 02:58:41 +0300 Subject: [PATCH] fix(v3.6.4): Function aci biriminde [ThreadStatic] ile is parcacigi izolasyonu ve tam mimari stabilizasyon --- README.md | 8 ++++---- installer/setup.iss | 4 ++-- src/ttCalculator/Core/Function.cs | 9 ++++++++- src/ttCalculator/MainForm.Designer.cs | 2 +- src/ttCalculator/ttCalculator.csproj | 2 +- tests/ttCalculator.Tests/Program.cs | 2 +- 6 files changed, 17 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 9571d98..5bd72cf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# 📐 ttCalculator v3.6.3 +# 📐 ttCalculator v3.6.4 [![GitHub release](https://img.shields.io/github/v/release/LilDosto/ttCalculator?color=brightgreen&label=S%C3%BCr%C3%BCm)](https://github.com/LilDosto/ttCalculator/releases) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) @@ -13,11 +13,11 @@ Tüm matematiksel çekirdek, otomatik test paketinden **%100 başarıyla (0 hata ## 🚀 Hızlı Başlangıç & Kurulum -1. **[Releases](https://github.com/LilDosto/ttCalculator/releases/tag/v3.6.3)** sayfasına gidin. +1. **[Releases](https://github.com/LilDosto/ttCalculator/releases/tag/v3.6.4)** sayfasına gidin. 2. İhtiyacınıza göre indirin: - - **`ttCalculator-v3.6.3-Setup.exe` (Önerilen)**: Standart Windows kurulum sihirbazı. Masaüstüne ve Başlat Menüsüne kısayol oluşturur, Denetim Masası / Program Ekle-Kaldır entegrasyonu sağlar. + - **`ttCalculator-v3.6.4-Setup.exe` (Önerilen)**: Standart Windows kurulum sihirbazı. Masaüstüne ve Başlat Menüsüne kısayol oluşturur, Denetim Masası / Program Ekle-Kaldır entegrasyonu sağlar. - **`ttCalculator.exe`**: Kurulumsuz doğrudan çalıştırılabilen tek dosya taşınabilir (portable) sürüm. - - **`ttCalculator-v3.6.3-win-x64.zip`**: Taşınabilir arşiv paketi. + - **`ttCalculator-v3.6.4-win-x64.zip`**: Taşınabilir arşiv paketi. 3. Çift tıklayarak doğrudan çalıştırın — ek bağımlılık gerektirmez! --- diff --git a/installer/setup.iss b/installer/setup.iss index f3ae498..4e31b96 100644 --- a/installer/setup.iss +++ b/installer/setup.iss @@ -1,6 +1,6 @@ ; Script generated by Antigravity for ttCalculator #define MyAppName "ttCalculator" -#define MyAppVersion "3.6.3" +#define MyAppVersion "3.6.4" #define MyAppPublisher "LilDosto" #define MyAppURL "https://github.com/LilDosto/ttCalculator" #define MyAppExeName "ttCalculator.exe" @@ -25,7 +25,7 @@ DefaultGroupName={#MyAppName} AllowNoIcons=yes LicenseFile=..\LICENSE OutputDir=..\Release -OutputBaseFilename=ttCalculator-v3.6.3-Setup +OutputBaseFilename=ttCalculator-v3.6.4-Setup SetupIconFile=..\Release\logo.ico Compression=lzma2/ultra64 SolidCompression=yes diff --git a/src/ttCalculator/Core/Function.cs b/src/ttCalculator/Core/Function.cs index 7ddcde8..3cc0394 100644 --- a/src/ttCalculator/Core/Function.cs +++ b/src/ttCalculator/Core/Function.cs @@ -32,7 +32,14 @@ public class Function "fact", "factorial" }; - public static AngleUnit CurrentAngleUnit { get; set; } = AngleUnit.Radian; + [System.ThreadStatic] + private static AngleUnit? _threadAngleUnit; + + public static AngleUnit CurrentAngleUnit + { + get => _threadAngleUnit ?? AngleUnit.Radian; + set => _threadAngleUnit = value; + } public static bool UseRadians { diff --git a/src/ttCalculator/MainForm.Designer.cs b/src/ttCalculator/MainForm.Designer.cs index 9ba72f5..eab81e5 100644 --- a/src/ttCalculator/MainForm.Designer.cs +++ b/src/ttCalculator/MainForm.Designer.cs @@ -156,7 +156,7 @@ namespace MathApp // Footer version label this.lblVersion.Dock = DockStyle.Bottom; this.lblVersion.Height = 28; - this.lblVersion.Text = "v3.6.3 • 128-bit Decimal Motoru • 60 FPS"; + this.lblVersion.Text = "v3.6.4 • 128-bit Decimal Motoru • 60 FPS"; this.lblVersion.Font = new Font("Segoe UI", 8F); this.lblVersion.ForeColor = Color.FromArgb(100, 116, 139); this.lblVersion.TextAlign = ContentAlignment.MiddleCenter; diff --git a/src/ttCalculator/ttCalculator.csproj b/src/ttCalculator/ttCalculator.csproj index 7288077..9a15683 100644 --- a/src/ttCalculator/ttCalculator.csproj +++ b/src/ttCalculator/ttCalculator.csproj @@ -9,7 +9,7 @@ logo.ico ttCalculator ttCalculator - Gelişmiş Matematik & Nümerik Analiz Stüdyosu - 3.6.3 + 3.6.4 ttCalculator diff --git a/tests/ttCalculator.Tests/Program.cs b/tests/ttCalculator.Tests/Program.cs index 08b246e..0a416ff 100644 --- a/tests/ttCalculator.Tests/Program.cs +++ b/tests/ttCalculator.Tests/Program.cs @@ -11,7 +11,7 @@ namespace MathApp.Tests static void Main(string[] args) { Console.WriteLine("================================================="); - Console.WriteLine("ttCalculator v3.6.3 Numerical Studios Verification"); + Console.WriteLine("ttCalculator v3.6.4 Numerical Studios Verification"); Console.WriteLine("================================================="); int passed = 0;