Minecraft-Console-Client/MinecraftClient
BruceChen 512445cb1d fix: prevent TUI StackOverflowException from excessive log controls
The TUI log view used an ItemsControl with 5000 max entries and no UI
virtualization. Avalonia's composition renderer traverses the entire
visual tree on each frame -- with thousands of TextBlock controls, the
recursive Render/RenderCore calls exceed the thread stack size on
constrained devices (especially ARM where each stack frame is larger
due to ABI differences), causing a StackOverflowException in
ServerCompositionContainerVisual.Render.

Changes:
- Enable VirtualizingStackPanel on the log ItemsControl so Avalonia
  only creates visuals for the rows currently in the viewport.
- Add [Console.General] TUI_Log_Scrollback config option so users can
  control max log lines in TUI mode. Default is 0 (automatic: 3000 on
  x86/x64, 500 on ARM/ARM64).

Made-with: Cursor
2026-04-03 03:17:53 +08:00
..
ChatBots fix: resolve AutoRelog reconnect errors (#3036) 2026-04-03 01:28:26 +08:00
CommandHandler Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
Commands feat: add Teams packet support (parsing, state tracking, /teams command, bot API) 2026-03-30 23:41:11 +00:00
config Fixed session if changing in the Web Socket Chat bot. 2026-03-25 21:59:01 +01:00
Crypto refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
Inventory Enhance container handling for Minecraft protocol updates 2026-03-28 02:17:47 +08:00
Logger refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
Mapping feat: add Teams packet support (parsing, state tracking, /teams command, bot API) 2026-03-30 23:41:11 +00:00
Physics TUI for MCC (#2976) 2026-03-26 02:08:18 +08:00
Properties Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
Protocol fix: resolve AutoRelog reconnect errors (#3036) 2026-04-03 01:28:26 +08:00
Proxy Tooltip support & Bug fix 2022-12-11 13:00:19 +08:00
Resources fix: prevent TUI StackOverflowException from excessive log controls 2026-04-03 03:17:53 +08:00
Scripting feat: add Teams packet support (parsing, state tracking, /teams command, bot API) 2026-03-30 23:41:11 +00:00
Tui fix: prevent TUI StackOverflowException from excessive log controls 2026-04-03 03:17:53 +08:00
WinAPI Bug fix 2022-10-10 10:56:12 +08:00
Achievement.cs Implement unified achievements feature: data model, protocol handling, state management, ChatBot API, and /achievement command 2026-03-29 20:22:31 +00:00
AutoTimeout.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
ClassicConsoleBackend.cs TUI for MCC (#2976) 2026-03-26 02:08:18 +08:00
ColorHelper.cs Modernize data carriers to records and add primary constructors 2026-03-24 01:31:17 +00:00
Command.cs Bug fix 2022-12-11 16:30:45 +08:00
ConsoleIO.cs Refactor ConsoleIO and Program settings handling 2026-03-29 00:54:34 +08:00
ExtensionMethods.cs Better translation 2022-10-17 20:00:33 +08:00
FileMonitor.cs refactor: convert == null / != null to is null / is not null in 31 files 2026-03-24 00:42:59 +00:00
IConsoleBackend.cs TUI for MCC (#2976) 2026-03-26 02:08:18 +08:00
INIFile.cs [skip ci] Normalize all line endings 2023-09-15 14:44:11 +08:00
Json.cs Fix ParseJson crash on non-JSON plain-text input (e.g. vanilla MOTD) 2026-03-22 19:53:15 +01:00
LegacyAchievementCatalog.cs Fix legacy achievements and add test harness 2026-03-30 17:25:08 +02:00
McClient.cs fix: resolve AutoRelog reconnect errors (#3036) 2026-04-03 01:28:26 +08:00
MinecraftClient.csproj Minimap support 2026-03-29 19:53:50 +08:00
Program.cs fix: work around Consolonia libcoreclr.so DllNotFoundException on Linux single-file publish 2026-04-03 01:11:36 +08:00
RecipeBookRecipeEntry.cs fix: support 1.21.11 recipe book display ids 2026-03-29 18:45:14 +00:00
Settings.cs fix: prevent TUI StackOverflowException from excessive log controls 2026-04-03 03:17:53 +08:00
TaskWithDelay.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
TaskWithResult.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
UpgradeHelper.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00