fix(core): resolve StackOverflowException in TabControl layout recursion and release v3.0.0

This commit is contained in:
LilDosto 2026-10-29 00:53:23 +03:00
parent fcf315abda
commit dab3a1361f
7 changed files with 11 additions and 20 deletions

View file

@ -1,4 +1,4 @@
# 📐 ttCalculator v2.9.0 # 📐 ttCalculator v3.0.0
[![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) [![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) [![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 ## 🚀 Hızlı Başlangıç & Kurulum
1. **[Releases](https://github.com/LilDosto/ttCalculator/releases/tag/v2.9.0)** sayfasına gidin. 1. **[Releases](https://github.com/LilDosto/ttCalculator/releases/tag/v3.0.0)** sayfasına gidin.
2. İhtiyacınıza göre indirin: 2. İhtiyacınıza göre indirin:
- **`ttCalculator-v2.9.0-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.0.0-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.exe`**: Kurulumsuz doğrudan çalıştırılabilen tek dosya taşınabilir (portable) sürüm.
- **`ttCalculator-v2.9.0-win-x64.zip`**: Taşınabilir arşiv paketi. - **`ttCalculator-v3.0.0-win-x64.zip`**: Taşınabilir arşiv paketi.
3. Çift tıklayarak doğrudan çalıştırın — ek bağımlılık gerektirmez! 3. Çift tıklayarak doğrudan çalıştırın — ek bağımlılık gerektirmez!
--- ---

View file

@ -1,6 +1,6 @@
; Script generated by Antigravity for ttCalculator ; Script generated by Antigravity for ttCalculator
#define MyAppName "ttCalculator" #define MyAppName "ttCalculator"
#define MyAppVersion "2.9.0" #define MyAppVersion "3.0.0"
#define MyAppPublisher "LilDosto" #define MyAppPublisher "LilDosto"
#define MyAppURL "https://github.com/LilDosto/ttCalculator" #define MyAppURL "https://github.com/LilDosto/ttCalculator"
#define MyAppExeName "ttCalculator.exe" #define MyAppExeName "ttCalculator.exe"
@ -25,7 +25,7 @@ DefaultGroupName={#MyAppName}
AllowNoIcons=yes AllowNoIcons=yes
LicenseFile=..\LICENSE LicenseFile=..\LICENSE
OutputDir=..\Release OutputDir=..\Release
OutputBaseFilename=ttCalculator-v2.9.0-Setup OutputBaseFilename=ttCalculator-v3.0.0-Setup
SetupIconFile=..\Release\logo.ico SetupIconFile=..\Release\logo.ico
Compression=lzma2/ultra64 Compression=lzma2/ultra64
SolidCompression=yes SolidCompression=yes

View file

@ -1631,7 +1631,7 @@ namespace MathApp.Controls
{ {
var validCurves = _curves.Where(c => c.Visible && !c.IsVerticalLine && !c.IsPolar).ToList(); var validCurves = _curves.Where(c => c.Visible && !c.IsVerticalLine && !c.IsPolar).ToList();
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.AppendLine("% ttCalculator v2.9 LaTeX Pgfplots / TikZ Kodu"); sb.AppendLine("% ttCalculator v3.0 LaTeX Pgfplots / TikZ Kodu");
sb.AppendLine("\\begin{tikzpicture}"); sb.AppendLine("\\begin{tikzpicture}");
sb.AppendLine("\\begin{axis}["); sb.AppendLine("\\begin{axis}[");
sb.AppendLine($" xmin={rangeMinX:F1}, xmax={rangeMaxX:F1},"); sb.AppendLine($" xmin={rangeMinX:F1}, xmax={rangeMaxX:F1},");

View file

@ -156,7 +156,7 @@ namespace MathApp
// Footer version label // Footer version label
this.lblVersion.Dock = DockStyle.Bottom; this.lblVersion.Dock = DockStyle.Bottom;
this.lblVersion.Height = 28; this.lblVersion.Height = 28;
this.lblVersion.Text = "v2.9 • 128-bit Decimal Motoru • 60 FPS"; this.lblVersion.Text = "v3.0 • 128-bit Decimal Motoru • 60 FPS";
this.lblVersion.Font = new Font("Segoe UI", 8F); this.lblVersion.Font = new Font("Segoe UI", 8F);
this.lblVersion.ForeColor = Color.FromArgb(100, 116, 139); this.lblVersion.ForeColor = Color.FromArgb(100, 116, 139);
this.lblVersion.TextAlign = ContentAlignment.MiddleCenter; this.lblVersion.TextAlign = ContentAlignment.MiddleCenter;

View file

@ -171,16 +171,7 @@ namespace MathApp
tabControl.DrawMode = TabDrawMode.OwnerDrawFixed; tabControl.DrawMode = TabDrawMode.OwnerDrawFixed;
tabControl.SizeMode = TabSizeMode.Fixed; tabControl.SizeMode = TabSizeMode.Fixed;
tabControl.ItemSize = new Size(Math.Max(56, (tabControl.Width - 10) / Math.Max(1, tabControl.TabCount)), 32); tabControl.ItemSize = new Size(Math.Max(58, (tabControl.Width > 50 ? tabControl.Width - 14 : 306) / Math.Max(1, tabControl.TabCount)), 32);
tabControl.Resize += (s, e) =>
{
if (tabControl.TabCount > 0 && tabControl.Width > 20)
{
tabControl.ItemSize = new Size(Math.Max(56, (tabControl.Width - 10) / tabControl.TabCount), 32);
tabControl.Invalidate();
}
};
tabControl.DrawItem += (s, e) => tabControl.DrawItem += (s, e) =>
{ {

View file

@ -9,7 +9,7 @@
<ApplicationIcon>logo.ico</ApplicationIcon> <ApplicationIcon>logo.ico</ApplicationIcon>
<AssemblyName>ttCalculator</AssemblyName> <AssemblyName>ttCalculator</AssemblyName>
<Product>ttCalculator - Gelişmiş Matematik &amp; Nümerik Analiz Stüdyosu</Product> <Product>ttCalculator - Gelişmiş Matematik &amp; Nümerik Analiz Stüdyosu</Product>
<Version>2.9.0</Version> <Version>3.0.0</Version>
<Company>ttCalculator</Company> <Company>ttCalculator</Company>
</PropertyGroup> </PropertyGroup>

View file

@ -11,7 +11,7 @@ namespace MathApp.Tests
static void Main(string[] args) static void Main(string[] args)
{ {
Console.WriteLine("================================================="); Console.WriteLine("=================================================");
Console.WriteLine("ttCalculator v2.9 Graph Plotter Studio Verification"); Console.WriteLine("ttCalculator v3.0 Graph Plotter Studio Verification");
Console.WriteLine("================================================="); Console.WriteLine("=================================================");
int passed = 0; int passed = 0;