Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c64fcfd4d1 | |||
| 6689cdb968 | |||
| 345aa3ea2a | |||
| 1ffc41f97d | |||
| 36b92f0520 |
@@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
subtitle: ChatLog Frame-Hot-Path
|
||||||
|
versionsnatur: Performance-Patch
|
||||||
|
---
|
||||||
|
|
||||||
|
**Hellion Chat 1.4.2 — ChatLog Frame-Hot-Path**
|
||||||
|
|
||||||
|
Dritter Sub-Patch der v1.4.x Polish-Sweep-Serie. Drei
|
||||||
|
Per-Frame-Allokations-Quellen aus dem ChatLogWindow-Render-
|
||||||
|
Pfad und der Settings-StatusBar eliminiert.
|
||||||
|
|
||||||
|
- **Card-Mode-Border-Loop entlastet.** DrawMessages hebt
|
||||||
|
Theme, DrawList, Window-Left, Window-Right und die ABGR-
|
||||||
|
Border-Color einmalig vor den Per-Message-Loop. Bei 100
|
||||||
|
sichtbaren Messages sind das gut 500 redundante P/Invokes
|
||||||
|
und Property-Reads, die der Hoist eliminiert. Pop-Out-
|
||||||
|
Heavy-Setups (mehrere parallele Chat-Windows) profitieren
|
||||||
|
proportional, weil der Hoist pro DrawMessages-Call greift,
|
||||||
|
also pro Window
|
||||||
|
- **Auto-Tell Tab-Tint und Icon gecached.** Die Hash-Color-
|
||||||
|
Berechnung für Auto-Tell-Tabs lief pro Tab pro Frame, mit
|
||||||
|
zwei String-Allokationen pro Tab (eine für Tint-Hash, eine
|
||||||
|
für Icon-Hash). Der neue TabTintCache liest pre-computed
|
||||||
|
Werte aus dem Tab und rechnet nur neu wenn das Tell-Target
|
||||||
|
drifted. Beide Caches haben separate Validation-Keys, also
|
||||||
|
keine Cross-Invalidation zwischen Tint- und Icon-Pfad.
|
||||||
|
AutoTellTabTint selbst bleibt pure Hash-Helper, weiterhin
|
||||||
|
ohne Tab-Awareness
|
||||||
|
- **StatusBar-Aggregation hinter Cache-Gate.** Die Status-
|
||||||
|
Leiste am unteren Window-Rand summiert die Tab-Message-
|
||||||
|
Counts und zählt die Auto-Tell-Tabs pro Frame. Der Cache-
|
||||||
|
Gate (1 Sekunde) lag bisher hinter den LINQ-Pfaden, also
|
||||||
|
liefen Sum und Count trotzdem pro Frame. Jetzt vor dem
|
||||||
|
Gate, plus die LINQ-Pfade durch eine Single-Pass-Foreach
|
||||||
|
ersetzt. Die Aggregation läuft auf etwa 1 % der Frames
|
||||||
|
|
||||||
|
Realistische Frame-Time-Recovery: 2-5 % in typischen Szenen,
|
||||||
|
Pop-Out-Heavy-Setups potenziell mehr durch die Card-Border-
|
||||||
|
Multiplikation pro Window.
|
||||||
|
|
||||||
|
Keine Schema-Bumps, keine User-sichtbaren Funktions-
|
||||||
|
Änderungen außer dass die Frames im Chat-Log und in der
|
||||||
|
Settings-Statusleiste merklich glatter laufen.
|
||||||
@@ -482,6 +482,16 @@ public class Tab
|
|||||||
// session. NonSerialized because the temp tab itself is session-only.
|
// session. NonSerialized because the temp tab itself is session-only.
|
||||||
[NonSerialized] public bool IsGreeted;
|
[NonSerialized] public bool IsGreeted;
|
||||||
|
|
||||||
|
// v1.4.2 — TabTintCache uses separate validation keys per cache so a
|
||||||
|
// TellTarget change picked up by GetTint can't strand GetIcon (or vice
|
||||||
|
// versa) with a stale entry that looks fresh on the shared key.
|
||||||
|
[NonSerialized] internal string? _cachedTintTellName;
|
||||||
|
[NonSerialized] internal uint _cachedTintTellWorld;
|
||||||
|
[NonSerialized] internal uint _cachedTellTint;
|
||||||
|
[NonSerialized] internal string? _cachedIconTellName;
|
||||||
|
[NonSerialized] internal uint _cachedIconTellWorld;
|
||||||
|
[NonSerialized] internal string? _cachedTellIcon;
|
||||||
|
|
||||||
public bool Matches(Message message)
|
public bool Matches(Message message)
|
||||||
{
|
{
|
||||||
if (!message.Matches(SelectedChannels, ExtraChatAll, ExtraChatChannels))
|
if (!message.Matches(SelectedChannels, ExtraChatAll, ExtraChatChannels))
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
0.1.0 is our bootstrap release; the underlying Chat 2 base is
|
0.1.0 is our bootstrap release; the underlying Chat 2 base is
|
||||||
called out in the yaml changelog so users can see what it
|
called out in the yaml changelog so users can see what it
|
||||||
derives from. -->
|
derives from. -->
|
||||||
<Version>1.4.1</Version>
|
<Version>1.4.2</Version>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<!-- Honor packages.lock.json on restore so floating version ranges
|
<!-- Honor packages.lock.json on restore so floating version ranges
|
||||||
|
|||||||
@@ -31,11 +31,6 @@ description: |-
|
|||||||
- Independent plugin state — own config file and database directory,
|
- Independent plugin state — own config file and database directory,
|
||||||
so Hellion Chat does not share state with upstream Chat 2
|
so Hellion Chat does not share state with upstream Chat 2
|
||||||
|
|
||||||
v1.2.3 — Theme catalogue grown to nine built-in themes:
|
|
||||||
Hellion Arctic, Hellion Spectrum (CVD-safe Deuteran/Protan),
|
|
||||||
Chat 2 Klassik, Event Horizon, Moonlit Bloom, Mint Grove,
|
|
||||||
Night Blue, Indigo Violet, Forge Merchantman.
|
|
||||||
|
|
||||||
v1.3.0 First plugin integration cycle. Honorific custom titles
|
v1.3.0 First plugin integration cycle. Honorific custom titles
|
||||||
are shown in the chat header above the message log, with auto-detect
|
are shown in the chat header above the message log, with auto-detect
|
||||||
and silent fallback when Honorific is not installed.
|
and silent fallback when Honorific is not installed.
|
||||||
@@ -56,6 +51,13 @@ description: |-
|
|||||||
as the tenth built-in theme — Hot Magenta + Cyan on midnight
|
as the tenth built-in theme — Hot Magenta + Cyan on midnight
|
||||||
violet, 80s neon-grid vibes.
|
violet, 80s neon-grid vibes.
|
||||||
|
|
||||||
|
v1.4.2 — ChatLog Frame-Hot-Path. Three per-frame allocation
|
||||||
|
patterns gone from the chat-log render path: card-mode borders
|
||||||
|
hoist invariants out of the per-message loop, auto-tell tab
|
||||||
|
tint and icon get a per-tab cache, and the status bar gates
|
||||||
|
its tab aggregation behind the same one-second cache it uses
|
||||||
|
for the format strings.
|
||||||
|
|
||||||
Based on Chat 2 by Infi and Anna, licensed under EUPL-1.2.
|
Based on Chat 2 by Infi and Anna, licensed under EUPL-1.2.
|
||||||
|
|
||||||
Modding & support: join the Hellion Forge Discord at
|
Modding & support: join the Hellion Forge Discord at
|
||||||
@@ -75,6 +77,32 @@ tags:
|
|||||||
- Replacement
|
- Replacement
|
||||||
- Privacy
|
- Privacy
|
||||||
changelog: |-
|
changelog: |-
|
||||||
|
**Hellion Chat 1.4.2 — ChatLog Frame-Hot-Path**
|
||||||
|
|
||||||
|
Third sub-patch of the v1.4.x Polish Sweep series. Per-frame
|
||||||
|
allocations from the chat-log render path eliminated.
|
||||||
|
|
||||||
|
- DrawMessages card-mode hoists theme/drawList/winLeft/winRight/
|
||||||
|
borderColorAbgr out of the per-message loop. About 500
|
||||||
|
redundant calls per frame at 100 visible messages, multiplied
|
||||||
|
by every pop-out window
|
||||||
|
- Auto-tell tab tint and icon use a per-tab cache. Hash
|
||||||
|
computation and string allocation only happen when the tell
|
||||||
|
target name or world drifts. AutoTellTabTint stays a pure
|
||||||
|
hash helper; cache lives in a thin TabTintCache wrapper
|
||||||
|
- Status bar gates its tab aggregation behind the same
|
||||||
|
one-second cache it already used for the format strings.
|
||||||
|
LINQ Sum and Count replaced with a single foreach pass
|
||||||
|
that runs on roughly 1% of frames
|
||||||
|
|
||||||
|
Realistic frame-time recovery: 2-5% in typical scenes, more
|
||||||
|
on pop-out-heavy setups because the card-border hoist scales
|
||||||
|
per window.
|
||||||
|
|
||||||
|
Modding & support: join Hellion Forge — https://discord.gg/X9V7Kcv5gR
|
||||||
|
|
||||||
|
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
||||||
|
|
||||||
**Hellion Chat 1.4.1 — Theme Engine Performance**
|
**Hellion Chat 1.4.1 — Theme Engine Performance**
|
||||||
|
|
||||||
Second sub-patch of the v1.4.x Polish Sweep series. Heap
|
Second sub-patch of the v1.4.x Polish Sweep series. Heap
|
||||||
@@ -163,32 +191,6 @@ changelog: |-
|
|||||||
|
|
||||||
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
||||||
|
|
||||||
**Hellion Chat 1.2.3 — Theme Expansion**
|
|
||||||
|
|
||||||
Four new built-in themes round out the picker. No engine changes,
|
|
||||||
no settings touched — just more colour options.
|
|
||||||
|
|
||||||
- **Night Blue** — Royal Blue on deep marine. Cool tech-dashboard
|
|
||||||
mood, distinct from the brand themes.
|
|
||||||
- **Indigo Violet** — Royal Violet on deep indigo with a turquoise-
|
|
||||||
mint counter for an aurora glitter feel. Sister to Event Horizon
|
|
||||||
but darker and denser; the turquoise accent keeps the two
|
|
||||||
distinguishable.
|
|
||||||
- **Forge Merchantman** — Patina bronze on workshop slate, warm
|
|
||||||
amber counter. Hellion Forge given a theme of its own — sister
|
|
||||||
to Hellion Arctic but greener and warmer instead of cold cyan.
|
|
||||||
- **Hellion Spectrum** — Deuteran/Protan-safe channel colours
|
|
||||||
using Wong/Okabe-Ito palette tones. Channel identity (Tell pink,
|
|
||||||
Yell yellow, Shout orange, Party blue, FC green) is preserved;
|
|
||||||
tones are chosen so each channel stays distinguishable under
|
|
||||||
red-green colour vision deficiency. Covers the ~99% of CVD cases
|
|
||||||
that are red-green.
|
|
||||||
|
|
||||||
No schema bump, no migration. Default theme is unchanged (Hellion
|
|
||||||
Arctic). Existing custom themes keep working.
|
|
||||||
|
|
||||||
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Earlier history: https://github.com/JonKazama-Hellion/HellionChat/releases
|
Earlier history: https://github.com/JonKazama-Hellion/HellionChat/releases
|
||||||
|
|||||||
@@ -1203,6 +1203,15 @@ public sealed class ChatLogWindow : Window
|
|||||||
|
|
||||||
var maxLines = Plugin.Config.MaxLinesToRender;
|
var maxLines = Plugin.Config.MaxLinesToRender;
|
||||||
var startLine = messages.Count > maxLines ? messages.Count - maxLines : 0;
|
var startLine = messages.Count > maxLines ? messages.Count - maxLines : 0;
|
||||||
|
|
||||||
|
// Card-mode pre-loop hoist: theme/drawList/winLeft/winRight/border
|
||||||
|
// are invariant per DrawMessages call; only cursorY moves per row.
|
||||||
|
var theme = Plugin.ThemeRegistry.Active;
|
||||||
|
var drawList = ImGui.GetWindowDrawList();
|
||||||
|
var winLeft = ImGui.GetWindowPos().X;
|
||||||
|
var winRight = winLeft + ImGui.GetWindowSize().X;
|
||||||
|
var borderColorAbgr = ColourUtil.RgbaToAbgr((theme.Colors.Border & 0xFFFFFF00u) | 0x33u);
|
||||||
|
|
||||||
for (var i = startLine; i < messages.Count; i++)
|
for (var i = startLine; i < messages.Count; i++)
|
||||||
{
|
{
|
||||||
var message = messages[i];
|
var message = messages[i];
|
||||||
@@ -1344,7 +1353,6 @@ public sealed class ChatLogWindow : Window
|
|||||||
{
|
{
|
||||||
if (message.Sender.Count > 0)
|
if (message.Sender.Count > 0)
|
||||||
{
|
{
|
||||||
var theme = Plugin.ThemeRegistry.Active;
|
|
||||||
var senderColor = Plugin.Functions.Chat.GetChannelColor(message.Code.Type)
|
var senderColor = Plugin.Functions.Chat.GetChannelColor(message.Code.Type)
|
||||||
?? theme.Colors.TextPrimary;
|
?? theme.Colors.TextPrimary;
|
||||||
using (ImRaii.PushColor(ImGuiCol.Text, ColourUtil.RgbaToAbgr(senderColor)))
|
using (ImRaii.PushColor(ImGuiCol.Text, ColourUtil.RgbaToAbgr(senderColor)))
|
||||||
@@ -1363,15 +1371,11 @@ public sealed class ChatLogWindow : Window
|
|||||||
// Subtile Border-Bottom als Card-Trenner. Border-Farbe mit
|
// Subtile Border-Bottom als Card-Trenner. Border-Farbe mit
|
||||||
// reduzierter Alpha (RGBA → 0x33) für dezente Trennung.
|
// reduzierter Alpha (RGBA → 0x33) für dezente Trennung.
|
||||||
{
|
{
|
||||||
var theme = Plugin.ThemeRegistry.Active;
|
|
||||||
var rowEndY = ImGui.GetCursorScreenPos().Y;
|
var rowEndY = ImGui.GetCursorScreenPos().Y;
|
||||||
var winLeft = ImGui.GetWindowPos().X;
|
drawList.AddLine(
|
||||||
var winRight = winLeft + ImGui.GetWindowSize().X;
|
|
||||||
var borderRgba = (theme.Colors.Border & 0xFFFFFF00u) | 0x33u;
|
|
||||||
ImGui.GetWindowDrawList().AddLine(
|
|
||||||
new Vector2(winLeft + 4, rowEndY - 1),
|
new Vector2(winLeft + 4, rowEndY - 1),
|
||||||
new Vector2(winRight - 4, rowEndY - 1),
|
new Vector2(winRight - 4, rowEndY - 1),
|
||||||
ColourUtil.RgbaToAbgr(borderRgba),
|
borderColorAbgr,
|
||||||
1f);
|
1f);
|
||||||
ImGui.Dummy(new Vector2(0, 2));
|
ImGui.Dummy(new Vector2(0, 2));
|
||||||
}
|
}
|
||||||
@@ -1567,7 +1571,7 @@ public sealed class ChatLogWindow : Window
|
|||||||
{
|
{
|
||||||
// v1.2.0 — Hash-Color-Tint differenziert parallele Auto-Tell-Tabs
|
// v1.2.0 — Hash-Color-Tint differenziert parallele Auto-Tell-Tabs
|
||||||
// visuell ohne dass User pro Tab manuell ein Custom-Icon setzen muss.
|
// visuell ohne dass User pro Tab manuell ein Custom-Icon setzen muss.
|
||||||
iconColor = AutoTellTabTint.For(tab.TellTarget.Name, tab.TellTarget.World);
|
iconColor = TabTintCache.GetTint(tab);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -52,6 +52,19 @@ internal sealed class StatusBar
|
|||||||
return $"{count} {(count == 1 ? "tell" : "tells")}";
|
return $"{count} {(count == 1 ? "tell" : "tells")}";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Single-pass replacement for the LINQ Sum+Count pair in Draw. Pure
|
||||||
|
// helper so a future LINQ regression gets pinned by xUnit.
|
||||||
|
internal static (int messages, int tells) AggregateForStatusBar(IList<Tab> tabs)
|
||||||
|
{
|
||||||
|
int messages = 0, tells = 0;
|
||||||
|
foreach (var t in tabs)
|
||||||
|
{
|
||||||
|
messages += t.Messages.Count;
|
||||||
|
if (t.IsTempTab) tells++;
|
||||||
|
}
|
||||||
|
return (messages, tells);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test-Hook: Cache-Logic ohne reale Time-Source verifizieren.
|
/// Test-Hook: Cache-Logic ohne reale Time-Source verifizieren.
|
||||||
/// Nicht für Production-Render.
|
/// Nicht für Production-Render.
|
||||||
@@ -80,12 +93,13 @@ internal sealed class StatusBar
|
|||||||
var theme = plugin.ThemeRegistry.Active;
|
var theme = plugin.ThemeRegistry.Active;
|
||||||
var now = Environment.TickCount64;
|
var now = Environment.TickCount64;
|
||||||
|
|
||||||
// Counts pro Frame berechnen ist günstig (List<>.Count, kleine
|
// Outer gate keeps the foreach out of the hot path 99% of frames.
|
||||||
// Sums); Format-String wird gecached.
|
// UpdateCacheIfDue runs the same check internally — idempotent.
|
||||||
var tabs = Plugin.Config.Tabs.Count;
|
if (now - _lastUpdateMs >= UpdateIntervalMs)
|
||||||
var messages = Plugin.Config.Tabs.Sum(t => t.Messages.Count);
|
{
|
||||||
var tells = Plugin.Config.Tabs.Count(t => t.IsTempTab);
|
var (messages, tells) = AggregateForStatusBar(Plugin.Config.Tabs);
|
||||||
UpdateCacheIfDue(now, tabs, messages, tells);
|
UpdateCacheIfDue(now, Plugin.Config.Tabs.Count, messages, tells);
|
||||||
|
}
|
||||||
|
|
||||||
// BorderTop als Trenner — DrawList-Line, ImGui-Separator hat zu viel Padding.
|
// BorderTop als Trenner — DrawList-Line, ImGui-Separator hat zu viel Padding.
|
||||||
var cursorY = ImGui.GetCursorScreenPos().Y;
|
var cursorY = ImGui.GetCursorScreenPos().Y;
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ internal static class TabIconMapping
|
|||||||
string? autoTellGlyph = null;
|
string? autoTellGlyph = null;
|
||||||
if (tab.IsTempTab && tab.TellTarget != null && tab.TellTarget.IsSet())
|
if (tab.IsTempTab && tab.TellTarget != null && tab.TellTarget.IsSet())
|
||||||
{
|
{
|
||||||
autoTellGlyph = AutoTellTabTint.IconFor(tab.TellTarget.Name, tab.TellTarget.World);
|
autoTellGlyph = TabTintCache.GetIcon(tab);
|
||||||
}
|
}
|
||||||
|
|
||||||
var glyph = TabIconGlyphResolver.ResolveGlyphName(tab, autoTellGlyph);
|
var glyph = TabIconGlyphResolver.ResolveGlyphName(tab, autoTellGlyph);
|
||||||
|
|||||||
@@ -0,0 +1,36 @@
|
|||||||
|
namespace HellionChat.Ui;
|
||||||
|
|
||||||
|
// Per-Tab cache wrapper around the pure AutoTellTabTint hash helpers.
|
||||||
|
// Each cache (tint, icon) carries its own name+world validation key so
|
||||||
|
// neither read path mutates the other's state — refilling one never
|
||||||
|
// invalidates the other. No string allocation in the steady-state lookup.
|
||||||
|
internal static class TabTintCache
|
||||||
|
{
|
||||||
|
public static uint GetTint(Tab tab)
|
||||||
|
{
|
||||||
|
var name = tab.TellTarget.Name;
|
||||||
|
var world = tab.TellTarget.World;
|
||||||
|
if (tab._cachedTintTellName != name || tab._cachedTintTellWorld != world)
|
||||||
|
{
|
||||||
|
tab._cachedTintTellName = name;
|
||||||
|
tab._cachedTintTellWorld = world;
|
||||||
|
tab._cachedTellTint = AutoTellTabTint.For(name, world);
|
||||||
|
}
|
||||||
|
return tab._cachedTellTint;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string GetIcon(Tab tab)
|
||||||
|
{
|
||||||
|
var name = tab.TellTarget.Name;
|
||||||
|
var world = tab.TellTarget.World;
|
||||||
|
if (tab._cachedTellIcon is null
|
||||||
|
|| tab._cachedIconTellName != name
|
||||||
|
|| tab._cachedIconTellWorld != world)
|
||||||
|
{
|
||||||
|
tab._cachedIconTellName = name;
|
||||||
|
tab._cachedIconTellWorld = world;
|
||||||
|
tab._cachedTellIcon = AutoTellTabTint.IconFor(name, world);
|
||||||
|
}
|
||||||
|
return tab._cachedTellIcon;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<img src="docs/images/hellion-forge.png" alt="Hellion Forge" width="180" />
|
<img src="docs/images/hellion-forge.png" alt="Hellion Forge" width="180" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
**Version 1.4.1** — Privacy-First-Chat-Plugin für FINAL FANTASY XIV / Dalamud, basierend auf [Chat 2](https://github.com/Infiziert90/ChatTwo) (EUPL-1.2).
|
**Version 1.4.2** — Privacy-First-Chat-Plugin für FINAL FANTASY XIV / Dalamud, basierend auf [Chat 2](https://github.com/Infiziert90/ChatTwo) (EUPL-1.2).
|
||||||
|
|
||||||
Hellion Chat ist ein Privacy-First-Plugin auf dem Chat-2-Fundament. Der größte Teil der Engine kommt aus Chat 2 (Message-Store, Channel-Logik, Hook-System), die meisten Tastenkürzel funktionieren weiterhin wie gewohnt. Was sich ändert: schärfere Privacy-Defaults von Haus aus, eigene Slash-Commands unter `/hellionchat`, kein Webinterface mehr, und mit v1.1.0 eine Theme-Engine als Schritt in Richtung eigenes UI-Look-and-Feel.
|
Hellion Chat ist ein Privacy-First-Plugin auf dem Chat-2-Fundament. Der größte Teil der Engine kommt aus Chat 2 (Message-Store, Channel-Logik, Hook-System), die meisten Tastenkürzel funktionieren weiterhin wie gewohnt. Was sich ändert: schärfere Privacy-Defaults von Haus aus, eigene Slash-Commands unter `/hellionchat`, kein Webinterface mehr, und mit v1.1.0 eine Theme-Engine als Schritt in Richtung eigenes UI-Look-and-Feel.
|
||||||
|
|
||||||
@@ -225,7 +225,7 @@ Eine optionale Submission ans Dalamud-Main-Plugin-Repo (zusätzlich zum eigenen
|
|||||||
|
|
||||||
## Projektstatus
|
## Projektstatus
|
||||||
|
|
||||||
**Version 1.4.1** — Theme Engine Performance: ABGR-Cache auf den Theme-Records pre-computed, HellionStyle.PushGlobal liest aus dem Cache statt pro Slot pro Frame zu konvertieren (~13 % Render-Time-Recovery im Smoke-Test). Custom-Theme-Hot-Reload überlebt transient File-Locks via Last-Known-Good-Snapshot. Plus: Synthwave Sunset als zehnter Built-In, Author-Credits konsolidiert. Zweiter Sub-Patch der v1.4.x Polish-Sweep-Serie (Stand: 2026-05-07).
|
**Version 1.4.2** — ChatLog Frame-Hot-Path: Per-Frame-Allokationen aus dem ChatLogWindow-Render-Pfad und der Settings-StatusBar eliminiert. Card-Mode-Border-Loop in DrawMessages hebt fünf Invarianten in einen Pre-Loop-Hoist innerhalb des BeginChild-Scopes, AutoTellTabTint bekommt einen Per-Tab-Cache via TabTintCache (separate Validation-Keys pro Cache, kein Cross-Invalidation), StatusBar zieht den Cache-Gate-Check vor die LINQ-Pfade und ersetzt Sum+Count durch eine Single-Pass-Foreach. Realistische Frame-Time-Recovery: 2-5 % in typischen Szenen, mehr bei Pop-Out-Heavy-Setups. Dritter Sub-Patch der v1.4.x Polish-Sweep-Serie (Stand: 2026-05-07).
|
||||||
|
|
||||||
Hellion Chat ist ein eigenständiges Plugin, kein Fork mehr im Repository-Sinne. Vollständig abgeschlossen:
|
Hellion Chat ist ein eigenständiges Plugin, kein Fork mehr im Repository-Sinne. Vollständig abgeschlossen:
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,34 @@ und verlinkt für Details auf die Release-Pages.
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Hellion Chat 1.4.2 — ChatLog Frame-Hot-Path
|
||||||
|
|
||||||
|
Third sub-patch of the v1.4.x Polish Sweep series. Per-frame
|
||||||
|
allocations from the chat-log render path eliminated.
|
||||||
|
|
||||||
|
- `DrawMessages` card-mode hoists `theme`/`drawList`/`winLeft`/
|
||||||
|
`winRight`/`borderColorAbgr` out of the per-message loop. About
|
||||||
|
500 redundant calls per frame at 100 visible messages, multiplied
|
||||||
|
by every pop-out window
|
||||||
|
- Auto-tell tab tint and icon use a per-tab cache. Hash
|
||||||
|
computation and string allocation only happen when the tell
|
||||||
|
target name or world drifts. `AutoTellTabTint` stays a pure
|
||||||
|
hash helper; cache lives in a thin `TabTintCache` wrapper
|
||||||
|
- Status bar gates its tab aggregation behind the same
|
||||||
|
one-second cache it already used for the format strings.
|
||||||
|
LINQ `Sum` and `Count` replaced with a single `foreach` pass
|
||||||
|
that runs on roughly 1 % of frames
|
||||||
|
|
||||||
|
Realistic frame-time recovery: 2-5 % in typical scenes, more
|
||||||
|
on pop-out-heavy setups because the card-border hoist scales
|
||||||
|
per window.
|
||||||
|
|
||||||
|
Modding & support: join Hellion Forge — https://discord.gg/X9V7Kcv5gR
|
||||||
|
|
||||||
|
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Hellion Chat 1.4.1 — Theme Engine Performance
|
## Hellion Chat 1.4.1 — Theme Engine Performance
|
||||||
|
|
||||||
Second sub-patch of the v1.4.x Polish Sweep series. Heap
|
Second sub-patch of the v1.4.x Polish Sweep series. Heap
|
||||||
|
|||||||
+16
-6
@@ -12,13 +12,23 @@ Privacy-First-Schnittmenge des Plugins erweisen.
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Nächster Cycle (v1.4.2)
|
## Nächster Cycle (v1.4.3)
|
||||||
|
|
||||||
**ChatLog Frame-Hot-Path** — Card-Mode Border-Loop in
|
**Plugin-Load Async-Init** — IAsyncDalamudPlugin-Migration
|
||||||
ChatLogWindow vom Per-Message GetWindowDrawList befreien,
|
und FontManager-async, Plugin-Konstruktor von 3.16 Sek auf
|
||||||
AutoTellTabTint Per-Tab-Cache mit Tell-Target-Invalidierung,
|
unter 500 ms perceived load time. Größter und riskantester
|
||||||
StatusBar LINQ Sum/Count durch klassische for-Loops mit
|
Patch der Serie, kommt nach drei stabilen Vorläufer-Patches.
|
||||||
TickCount64-Cache-Gate ersetzen. Direkter FPS-Impact.
|
|
||||||
|
## v1.4.2 — ChatLog Frame-Hot-Path (released <Datum>)
|
||||||
|
|
||||||
|
Dritter Sub-Patch der v1.4.x Polish-Sweep-Serie. Per-Frame-
|
||||||
|
Allokationen aus dem ChatLogWindow-Render-Pfad und der
|
||||||
|
Settings-StatusBar eliminiert. Card-Mode-Border-Loop in
|
||||||
|
DrawMessages hebt fünf Invarianten in einen Pre-Loop-Hoist,
|
||||||
|
AutoTellTabTint bekommt einen Per-Tab-Cache via TabTintCache
|
||||||
|
(separate Validation-Keys pro Cache, kein Cross-Invalidation),
|
||||||
|
StatusBar zieht den Cache-Gate-Check vor die Aggregations
|
||||||
|
und ersetzt LINQ Sum+Count durch eine Single-Pass-Foreach.
|
||||||
|
|
||||||
## v1.4.1 — Theme Engine Performance (released <Datum>)
|
## v1.4.1 — Theme Engine Performance (released <Datum>)
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
"Author": "JonKazama-Hellion",
|
"Author": "JonKazama-Hellion",
|
||||||
"Name": "Hellion Chat",
|
"Name": "Hellion Chat",
|
||||||
"InternalName": "HellionChat",
|
"InternalName": "HellionChat",
|
||||||
"AssemblyVersion": "1.4.1.0",
|
"AssemblyVersion": "1.4.2.0",
|
||||||
"Description": "Hellion Chat is a privacy-focused chat replacement for FINAL FANTASY XIV based on the Chat 2 codebase (EUPL-1.2). One feature is intentionally removed (the optional webinterface) and a stack of privacy controls is added on top. Tabs, channel filters, RGB colours, emotes, screenshot mode, IPC integration and the chat replacement window itself work the same. The webinterface is intentionally not part of Hellion Chat because it serves a different use case from the smaller default footprint this plugin is built around.\n\nOn top of that, Hellion Chat adds privacy and data-handling controls designed to align with the modern data protection rules that apply across the EU, the United States and Japan. By default only your own conversations are stored; messages from strangers, NPCs and system spam stay out of the database. Retention windows are configurable per channel, history can be wiped retroactively, and stored data can be exported on demand.\n\nKey privacy and data-handling features:\n\n- Channel whitelist with a Privacy-First default\n- Per-channel retention with a daily background sweep\n- Retroactive cleanup with a Ctrl+Shift confirm\n- Export to Markdown, JSON or CSV\n- First-run wizard with three preset profiles (Privacy-First, Casual, Full History)\n- Bilingual UI (English and German) with live language switching\n- Independent plugin state — own config file and database directory, so Hellion Chat does not share state with upstream Chat 2\n\nv1.2.3 — Theme catalogue grown to nine built-in themes: Hellion Arctic, Hellion Spectrum (CVD-safe Deuteran/Protan), Chat 2 Klassik, Event Horizon, Moonlit Bloom, Mint Grove, Night Blue, Indigo Violet, Forge Merchantman.\n\nv1.3.0 First plugin integration cycle. Honorific custom titles are shown in the chat header above the message log, with auto-detect and silent fallback when Honorific is not installed.\n\nv1.4.0 — Critical Lifecycle Fixes. Plugin reload and shutdown are cleaner: SQLite no longer leans on GC pressure to release its file, worker threads are explicitly background, deferred config saves no longer get lost mid-disable, and pre-v13 config backups carry the user's custom theme opacity into the v14 schema instead of falling back to the default.\n\nv1.4.1 — Theme Engine Performance plus a tenth built-in. HellionStyle.PushGlobal reads pre-computed ABGR values from a per-theme cache instead of converting RGBA per slot per frame (~13 % render-time recovery in typical scenes). Custom-theme hot-reload survives transient file locks (editor mid-save keeps the last-known-good snapshot). Synthwave Sunset joins as the tenth built-in theme — Hot Magenta + Cyan on midnight violet, 80s neon-grid vibes.\n\nBased on Chat 2 by Infi and Anna, licensed under EUPL-1.2.\n\nModding & support: join the Hellion Forge Discord at https://discord.gg/X9V7Kcv5gR — community for Hellion Chat and other Hellion Online Media plugins/tools.",
|
"Description": "Hellion Chat is a privacy-focused chat replacement for FINAL FANTASY XIV based on the Chat 2 codebase (EUPL-1.2). One feature is intentionally removed (the optional webinterface) and a stack of privacy controls is added on top. Tabs, channel filters, RGB colours, emotes, screenshot mode, IPC integration and the chat replacement window itself work the same. The webinterface is intentionally not part of Hellion Chat because it serves a different use case from the smaller default footprint this plugin is built around.\n\nOn top of that, Hellion Chat adds privacy and data-handling controls designed to align with the modern data protection rules that apply across the EU, the United States and Japan. By default only your own conversations are stored; messages from strangers, NPCs and system spam stay out of the database. Retention windows are configurable per channel, history can be wiped retroactively, and stored data can be exported on demand.\n\nKey privacy and data-handling features:\n\n- Channel whitelist with a Privacy-First default\n- Per-channel retention with a daily background sweep\n- Retroactive cleanup with a Ctrl+Shift confirm\n- Export to Markdown, JSON or CSV\n- First-run wizard with three preset profiles (Privacy-First, Casual, Full History)\n- Bilingual UI (English and German) with live language switching\n- Independent plugin state — own config file and database directory, so Hellion Chat does not share state with upstream Chat 2\n\nv1.3.0 First plugin integration cycle. Honorific custom titles are shown in the chat header above the message log, with auto-detect and silent fallback when Honorific is not installed.\n\nv1.4.0 — Critical Lifecycle Fixes. Plugin reload and shutdown are cleaner: SQLite no longer leans on GC pressure to release its file, worker threads are explicitly background, deferred config saves no longer get lost mid-disable, and pre-v13 config backups carry the user's custom theme opacity into the v14 schema instead of falling back to the default.\n\nv1.4.1 — Theme Engine Performance plus a tenth built-in. HellionStyle.PushGlobal reads pre-computed ABGR values from a per-theme cache instead of converting RGBA per slot per frame (~13 % render-time recovery in typical scenes). Custom-theme hot-reload survives transient file locks (editor mid-save keeps the last-known-good snapshot). Synthwave Sunset joins as the tenth built-in theme — Hot Magenta + Cyan on midnight violet, 80s neon-grid vibes.\n\nv1.4.2 — ChatLog Frame-Hot-Path. Three per-frame allocation patterns gone from the chat-log render path: card-mode borders hoist invariants out of the per-message loop, auto-tell tab tint and icon get a per-tab cache, and the status bar gates its tab aggregation behind the same one-second cache it uses for the format strings.\n\nBased on Chat 2 by Infi and Anna, licensed under EUPL-1.2.\n\nModding & support: join the Hellion Forge Discord at https://discord.gg/X9V7Kcv5gR — community for Hellion Chat and other Hellion Online Media plugins/tools.",
|
||||||
"ApplicableVersion": "any",
|
"ApplicableVersion": "any",
|
||||||
"RepoUrl": "https://github.com/JonKazama-Hellion/HellionChat",
|
"RepoUrl": "https://github.com/JonKazama-Hellion/HellionChat",
|
||||||
"Tags": [
|
"Tags": [
|
||||||
@@ -20,12 +20,12 @@
|
|||||||
"CanUnloadAsync": false,
|
"CanUnloadAsync": false,
|
||||||
"LoadPriority": 0,
|
"LoadPriority": 0,
|
||||||
"Punchline": "Chat replacement with privacy controls aligned to EU, US and JP rules — based on Chat 2 (EUPL-1.2)",
|
"Punchline": "Chat replacement with privacy controls aligned to EU, US and JP rules — based on Chat 2 (EUPL-1.2)",
|
||||||
"Changelog": "**Hellion Chat 1.4.1 — Theme Engine Performance**\n\nSecond sub-patch of the v1.4.x Polish Sweep series. Heap pressure from the theme engine's per-frame render path removed, plus a tenth built-in theme and hardening for the custom-theme hot-reload.\n\n- Theme records carry a pre-computed ABGR-packed cache for every color slot; cache is filled when the theme is registered and refreshed defensively on every Switch()\n- HellionStyle.PushGlobal reads ABGR values from the cache instead of calling ColourUtil.RgbaToAbgr per slot per frame; ~13 % render-time recovery measured in typical scenes (plan estimate was 2–6 %, real ~10–15 %)\n- ThemeRegistry custom-theme reload distinguishes a recoverable file lock (editor mid-save) from a permanent IO failure; locked themes keep their last-known-good snapshot and retry on the next lookup instead of dropping out of the picker\n- New built-in: Synthwave Sunset — Hot Magenta + Cyan on midnight violet, 80s neon-grid vibes; tenth theme in the picker\n- Author credits refreshed: brand themes are credited as \"Hellion Forge\"; Mint Grove and Forge Merchantman now credited to Carla Beleandis as a community thanks\n\nNo schema bump, no user-visible behaviour change other than smoother frames on GC-sensitive setups and one additional colour option.\n\nModding & support: join Hellion Forge — https://discord.gg/X9V7Kcv5gR\n\nBased on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).\n\n**Hellion Chat 1.4.0 — Critical Lifecycle Fixes**\n\nFirst sub-patch of the v1.4.x Polish Sweep series. Seven known lifecycle and race bugs eliminated before any performance refactor sits on top.\n\n- MessageStore disposal no longer triggers GC.Collect globally; Pooling=false on the SQLite connection means there's nothing left to clean up by hand\n- PendingMessage and RetentionSweep worker threads are explicitly marked IsBackground=true so the plugin domain can unload during XIVLauncher reload without waiting for them\n- EmoteCache image and gif loaders moved from async-void to async Task with a shared task tracker, draining on Dispose so an in-flight load can no longer write to a disposed EmoteImages entry\n- DisposeAsync 10s timeout now warns loudly instead of silently leaving the worker behind\n- Plugin.Dispose flushes any pending DeferredSaveFrames before tearing services down, so settings changes made in the last few frames before disable are no longer lost\n- The v13→v14 config migration now reads the pre-v13 backup and carries HellionThemeWindowOpacity into the new WindowOpacity field instead of falling back to the default 0.85\n\nModding & support: join Hellion Forge — https://discord.gg/X9V7Kcv5gR\n\nBased on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).\n\n**Hellion Chat 1.3.0 - Plugin Integrations: Honorific**\n\nFirst step on the plugin-integration roadmap. HellionChat now listens to Honorific and shows your custom title in the chat header. The slot auto-hides when Honorific is not installed, when no custom title is active, or when you are using the original FFXIV title.\n\n- New \"Integrations\" settings tab\n- Honorific integration with auto-detection and live updates\n- \"Coming soon\" preview of the next five planned integrations: context menu actions, smart notifications, RP status block, ExtraChat channels, and quick DM compose\n- Maintainer attribution buttons for Honorific repo and Caraxi\n- New service-class pattern under HellionChat/Integrations/\n\nModding and support: join Hellion Forge - https://discord.gg/X9V7Kcv5gR\n\nBased on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).\n\n**Hellion Chat 1.2.3 — Theme Expansion**\n\nFour new built-in themes round out the picker. No engine changes, no settings touched — just more colour options.\n\n- **Night Blue** — Royal Blue on deep marine. Cool tech-dashboard mood, distinct from the brand themes.\n- **Indigo Violet** — Royal Violet on deep indigo with a turquoise-mint counter for an aurora glitter feel. Sister to Event Horizon but darker and denser; the turquoise accent keeps the two distinguishable.\n- **Forge Merchantman** — Patina bronze on workshop slate, warm amber counter. Hellion Forge given a theme of its own — sister to Hellion Arctic but greener and warmer instead of cold cyan.\n- **Hellion Spectrum** — Deuteran/Protan-safe channel colours using Wong/Okabe-Ito palette tones. Channel identity (Tell pink, Yell yellow, Shout orange, Party blue, FC green) is preserved; tones are chosen so each channel stays distinguishable under red-green colour vision deficiency. Covers the ~99% of CVD cases that are red-green.\n\nNo schema bump, no migration. Default theme is unchanged (Hellion Arctic). Existing custom themes keep working.\n\nBased on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).\n\n---\n\nEarlier history: https://github.com/JonKazama-Hellion/HellionChat/releases",
|
"Changelog": "**Hellion Chat 1.4.2 — ChatLog Frame-Hot-Path**\n\nThird sub-patch of the v1.4.x Polish Sweep series. Per-frame allocations from the chat-log render path eliminated.\n\n- DrawMessages card-mode hoists theme/drawList/winLeft/winRight/borderColorAbgr out of the per-message loop. About 500 redundant calls per frame at 100 visible messages, multiplied by every pop-out window\n- Auto-tell tab tint and icon use a per-tab cache. Hash computation and string allocation only happen when the tell target name or world drifts. AutoTellTabTint stays a pure hash helper; cache lives in a thin TabTintCache wrapper\n- Status bar gates its tab aggregation behind the same one-second cache it already used for the format strings. LINQ Sum and Count replaced with a single foreach pass that runs on roughly 1% of frames\n\nRealistic frame-time recovery: 2-5% in typical scenes, more on pop-out-heavy setups because the card-border hoist scales per window.\n\nModding & support: join Hellion Forge — https://discord.gg/X9V7Kcv5gR\n\nBased on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).\n\n**Hellion Chat 1.4.1 — Theme Engine Performance**\n\nSecond sub-patch of the v1.4.x Polish Sweep series. Heap pressure from the theme engine's per-frame render path removed, plus a tenth built-in theme and hardening for the custom-theme hot-reload.\n\n- Theme records carry a pre-computed ABGR-packed cache for every color slot; cache is filled when the theme is registered and refreshed defensively on every Switch()\n- HellionStyle.PushGlobal reads ABGR values from the cache instead of calling ColourUtil.RgbaToAbgr per slot per frame; ~13 % render-time recovery measured in typical scenes (plan estimate was 2–6 %, real ~10–15 %)\n- ThemeRegistry custom-theme reload distinguishes a recoverable file lock (editor mid-save) from a permanent IO failure; locked themes keep their last-known-good snapshot and retry on the next lookup instead of dropping out of the picker\n- New built-in: Synthwave Sunset — Hot Magenta + Cyan on midnight violet, 80s neon-grid vibes; tenth theme in the picker\n- Author credits refreshed: brand themes are credited as \"Hellion Forge\"; Mint Grove and Forge Merchantman now credited to Carla Beleandis as a community thanks\n\nNo schema bump, no user-visible behaviour change other than smoother frames on GC-sensitive setups and one additional colour option.\n\nModding & support: join Hellion Forge — https://discord.gg/X9V7Kcv5gR\n\nBased on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).\n\n**Hellion Chat 1.4.0 — Critical Lifecycle Fixes**\n\nFirst sub-patch of the v1.4.x Polish Sweep series. Seven known lifecycle and race bugs eliminated before any performance refactor sits on top.\n\n- MessageStore disposal no longer triggers GC.Collect globally; Pooling=false on the SQLite connection means there's nothing left to clean up by hand\n- PendingMessage and RetentionSweep worker threads are explicitly marked IsBackground=true so the plugin domain can unload during XIVLauncher reload without waiting for them\n- EmoteCache image and gif loaders moved from async-void to async Task with a shared task tracker, draining on Dispose so an in-flight load can no longer write to a disposed EmoteImages entry\n- DisposeAsync 10s timeout now warns loudly instead of silently leaving the worker behind\n- Plugin.Dispose flushes any pending DeferredSaveFrames before tearing services down, so settings changes made in the last few frames before disable are no longer lost\n- The v13→v14 config migration now reads the pre-v13 backup and carries HellionThemeWindowOpacity into the new WindowOpacity field instead of falling back to the default 0.85\n\nModding & support: join Hellion Forge — https://discord.gg/X9V7Kcv5gR\n\nBased on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).\n\n**Hellion Chat 1.3.0 - Plugin Integrations: Honorific**\n\nFirst step on the plugin-integration roadmap. HellionChat now listens to Honorific and shows your custom title in the chat header. The slot auto-hides when Honorific is not installed, when no custom title is active, or when you are using the original FFXIV title.\n\n- New \"Integrations\" settings tab\n- Honorific integration with auto-detection and live updates\n- \"Coming soon\" preview of the next five planned integrations: context menu actions, smart notifications, RP status block, ExtraChat channels, and quick DM compose\n- Maintainer attribution buttons for Honorific repo and Caraxi\n- New service-class pattern under HellionChat/Integrations/\n\nModding and support: join Hellion Forge - https://discord.gg/X9V7Kcv5gR\n\nBased on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).\n\n---\n\nEarlier history: https://github.com/JonKazama-Hellion/HellionChat/releases",
|
||||||
"AcceptsFeedback": true,
|
"AcceptsFeedback": true,
|
||||||
"DownloadLinkInstall": "https://github.com/JonKazama-Hellion/HellionChat/releases/download/v1.4.1/latest.zip",
|
"DownloadLinkInstall": "https://github.com/JonKazama-Hellion/HellionChat/releases/download/v1.4.2/latest.zip",
|
||||||
"DownloadLinkUpdate": "https://github.com/JonKazama-Hellion/HellionChat/releases/download/v1.4.1/latest.zip",
|
"DownloadLinkUpdate": "https://github.com/JonKazama-Hellion/HellionChat/releases/download/v1.4.2/latest.zip",
|
||||||
"DownloadLinkTesting": "https://github.com/JonKazama-Hellion/HellionChat/releases/download/v1.4.1/latest.zip",
|
"DownloadLinkTesting": "https://github.com/JonKazama-Hellion/HellionChat/releases/download/v1.4.2/latest.zip",
|
||||||
"TestingAssemblyVersion": "1.4.1.0",
|
"TestingAssemblyVersion": "1.4.2.0",
|
||||||
"IconUrl": "https://raw.githubusercontent.com/JonKazama-Hellion/HellionChat/main/HellionChat/images/icon.png",
|
"IconUrl": "https://raw.githubusercontent.com/JonKazama-Hellion/HellionChat/main/HellionChat/images/icon.png",
|
||||||
"ImageUrls": [
|
"ImageUrls": [
|
||||||
"https://raw.githubusercontent.com/JonKazama-Hellion/HellionChat/main/HellionChat/images/chatWindow.png",
|
"https://raw.githubusercontent.com/JonKazama-Hellion/HellionChat/main/HellionChat/images/chatWindow.png",
|
||||||
|
|||||||
Reference in New Issue
Block a user