Compare commits
33 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| de9d1ac60b | |||
| 19f7099af0 | |||
| f8a734d93f | |||
| 3f7e86b32e | |||
| e5bf375b42 | |||
| 93329087a9 | |||
| 72d568e5b3 | |||
| c9dfd024b2 | |||
| 8c624a0032 | |||
| 079e280226 | |||
| 3bdf45c29c | |||
| d257a41660 | |||
| 36f2bbd8d1 | |||
| da291b7fca | |||
| c8485233d5 | |||
| 2d768e4edb | |||
| e58376bf50 | |||
| dceb028184 | |||
| 33a4d94c44 | |||
| b2f158f893 | |||
| da6da32651 | |||
| 477591e2fa | |||
| ddb293399e | |||
| 7494b001a2 | |||
| 9f0a40bedc | |||
| 8da05c3080 | |||
| 5b5f52f86e | |||
| af3caa9b96 | |||
| 206b25b8d6 | |||
| 00deef01a4 | |||
| 74e2c655f0 | |||
| fa91c4e847 | |||
| 1125caabca |
@@ -0,0 +1,10 @@
|
|||||||
|
---
|
||||||
|
subtitle: "Plugin Integrations: Honorific"
|
||||||
|
versionsnatur: "Plugin-Integration-Cycle 1"
|
||||||
|
---
|
||||||
|
- Erste Plugin-Integration eingebaut, Cycle 1 von 6 auf der Roadmap
|
||||||
|
- **Honorific-Custom-Titles im Chat-Header** — der Titel den du in Honorific gesetzt hast erscheint jetzt links über dem Message-Log mit der von dir gewählten Farbe, Auto-Hide wenn Honorific nicht installiert ist oder kein Custom-Titel aktiv ist
|
||||||
|
- **Krone-Icon plus Tooltip** vor dem Titel-Text, damit klar ist woher der Slot kommt ohne dass der User raten muss
|
||||||
|
- **Neuer Integrations-Settings-Tab** mit Status-Indikator (erkannt, nicht installiert, inkompatibel) und Toggle. Plus Vorschau-Block der die fünf weiteren geplanten Cycles ankündigt: Kontextmenü-Aktionen, Smart Notifications (NotificationMaster), RP-Status-Block (Moodles und LightlessClient), ExtraChat-Channels, Quick-DM-Button (XIVInstantMessenger)
|
||||||
|
- **Maintainer-Attribution** im Tab als Höflichkeits-Geste, zwei Buttons zum Honorific-Repo und zum Caraxi-Profil. Plus Hellion-Forge-Discord-Button für Community-Vorschläge zu künftigen Integrationen
|
||||||
|
- Keine Migration, keine Schema-Änderung. Wer Honorific eh schon nutzt sieht den Custom-Titel automatisch sobald HellionChat aktualisiert
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
---
|
||||||
|
subtitle: Critical Lifecycle Fixes
|
||||||
|
versionsnatur: Stability-Hotfix
|
||||||
|
---
|
||||||
|
|
||||||
|
**Hellion Chat 1.4.0 — Critical Lifecycle Fixes**
|
||||||
|
|
||||||
|
Erster Sub-Patch der v1.4.x Polish-Sweep-Serie. Sieben
|
||||||
|
bekannte Lifecycle- und Race-Bugs aus den Audit-Pässen
|
||||||
|
abgearbeitet, bevor Performance- und Architektur-Refactors
|
||||||
|
draufkommen.
|
||||||
|
|
||||||
|
- **SQLite-Dispose** lehnt sich nicht mehr an GC-Druck zur
|
||||||
|
Datei-Freigabe an, Pooling=false auf der Connection macht
|
||||||
|
den manuellen GC.Collect überflüssig
|
||||||
|
- **Worker-Threads** (PendingMessage, RetentionSweep) sind
|
||||||
|
jetzt explizit IsBackground=true, das Plugin-Domain kann
|
||||||
|
sauber unloaden bei XIVLauncher-Reload ohne darauf zu warten
|
||||||
|
- **EmoteCache-Loader** von async-void auf async-Task mit
|
||||||
|
shared Task-Tracker, drain-on-Dispose. Kein Schreib-Risiko
|
||||||
|
mehr auf disposed EmoteImages-Einträge nach Plugin-Reload
|
||||||
|
- **DisposeAsync-Timeout** (10s) warnt jetzt laut statt silent
|
||||||
|
zu failen
|
||||||
|
- **Plugin-Dispose** flushed pending DeferredSave bevor Services
|
||||||
|
abgebaut werden, Settings-Änderungen aus den letzten Frames
|
||||||
|
vor Disable überleben jetzt zuverlässig
|
||||||
|
- **v13→v14 Config-Migration** liest pre-v13-Backup und überträgt
|
||||||
|
HellionThemeWindowOpacity in das neue WindowOpacity-Feld statt
|
||||||
|
auf 0.85 zurückzufallen
|
||||||
|
|
||||||
|
Keine Schema-Bumps, keine User-sichtbaren Funktions-Änderungen
|
||||||
|
außer dass Reload und Shutdown spürbar sauberer laufen.
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
// HellionChat/Branding/BrandingLinks.cs
|
||||||
|
namespace HellionChat.Branding;
|
||||||
|
|
||||||
|
// Centralised so a future invite rotation only touches one file. The same
|
||||||
|
// link is currently hard-coded in repo.json, README.md, SUPPORT.md,
|
||||||
|
// CONTRIBUTORS.md and HellionChat.yaml — those will be migrated to consume
|
||||||
|
// this constant in a separate housekeeping sweep, but that's out of scope
|
||||||
|
// for this Cycle.
|
||||||
|
internal static class BrandingLinks
|
||||||
|
{
|
||||||
|
public const string HellionForgeDiscordInvite = "https://discord.gg/X9V7Kcv5gR";
|
||||||
|
}
|
||||||
@@ -92,6 +92,13 @@ public class Configuration : IPluginConfiguration
|
|||||||
// to fall back to the user's chosen system or Dalamud font.
|
// to fall back to the user's chosen system or Dalamud font.
|
||||||
public bool UseHellionFont = true;
|
public bool UseHellionFont = true;
|
||||||
|
|
||||||
|
// Cycle 1 of the plugin-integration roadmap. When Honorific is installed
|
||||||
|
// and reports a custom title, render it in the chat header above the
|
||||||
|
// message log. Auto-hides regardless when Honorific is missing or the
|
||||||
|
// active title is original/empty, so leaving this on is safe even for
|
||||||
|
// users who don't run Honorific.
|
||||||
|
public bool ShowHonorificTitleInHeader = true;
|
||||||
|
|
||||||
// Hellion Chat — Auto-Tell-Tabs. When enabled, an incoming or outgoing
|
// Hellion Chat — Auto-Tell-Tabs. When enabled, an incoming or outgoing
|
||||||
// /tell spawns a session-only tab dedicated to that conversation
|
// /tell spawns a session-only tab dedicated to that conversation
|
||||||
// partner. See spec: Hellion Chat Auto-Tell-Tabs Spec (Obsidian).
|
// partner. See spec: Hellion Chat Auto-Tell-Tabs Spec (Obsidian).
|
||||||
@@ -372,6 +379,7 @@ public class Configuration : IPluginConfiguration
|
|||||||
|
|
||||||
FirstRunCompleted = other.FirstRunCompleted;
|
FirstRunCompleted = other.FirstRunCompleted;
|
||||||
UseHellionFont = other.UseHellionFont;
|
UseHellionFont = other.UseHellionFont;
|
||||||
|
ShowHonorificTitleInHeader = other.ShowHonorificTitleInHeader;
|
||||||
|
|
||||||
// v1.1.0 theme engine fields
|
// v1.1.0 theme engine fields
|
||||||
Theme = other.Theme;
|
Theme = other.Theme;
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
using System.Numerics;
|
using System.Collections.Concurrent;
|
||||||
|
using System.Numerics;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using Dalamud.Interface.Textures;
|
using Dalamud.Interface.Textures;
|
||||||
@@ -73,6 +74,19 @@ public static class EmoteCache
|
|||||||
private static CancellationTokenSource Cts = new();
|
private static CancellationTokenSource Cts = new();
|
||||||
internal static CancellationToken Token => Cts.Token;
|
internal static CancellationToken Token => Cts.Token;
|
||||||
|
|
||||||
|
// Drain target for in-flight loads on Dispose; without this an orphan
|
||||||
|
// continuation could still write to a torn-down Texture/Frames field.
|
||||||
|
private static readonly ConcurrentBag<Task> PendingLoads = new();
|
||||||
|
|
||||||
|
internal static void TrackLoad(Task loadTask, string emoteCode)
|
||||||
|
{
|
||||||
|
PendingLoads.Add(loadTask.ContinueWith(t =>
|
||||||
|
{
|
||||||
|
if (t.IsFaulted)
|
||||||
|
Plugin.Log.Error(t.Exception!, $"EmoteCache load failed for {emoteCode}");
|
||||||
|
}, TaskScheduler.Default));
|
||||||
|
}
|
||||||
|
|
||||||
public static async Task LoadData()
|
public static async Task LoadData()
|
||||||
{
|
{
|
||||||
if (State is not LoadingState.Unloaded)
|
if (State is not LoadingState.Unloaded)
|
||||||
@@ -135,10 +149,20 @@ public static class EmoteCache
|
|||||||
|
|
||||||
public static void Dispose()
|
public static void Dispose()
|
||||||
{
|
{
|
||||||
// Cancel in-flight downloads / texture creates so the async-void
|
|
||||||
// Load methods bail out before they touch a disposed TextureProvider.
|
|
||||||
Cts.Cancel();
|
Cts.Cancel();
|
||||||
|
|
||||||
|
// 5s upper bound; anything still running gets abandoned.
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Task.WaitAll(PendingLoads.ToArray(), TimeSpan.FromSeconds(5));
|
||||||
|
}
|
||||||
|
catch (AggregateException)
|
||||||
|
{
|
||||||
|
// Faults already logged in TrackLoad.
|
||||||
|
}
|
||||||
|
|
||||||
|
while (PendingLoads.TryTake(out _)) { }
|
||||||
|
|
||||||
foreach (var emote in EmoteImages.Values)
|
foreach (var emote in EmoteImages.Values)
|
||||||
emote.InnerDispose();
|
emote.InnerDispose();
|
||||||
}
|
}
|
||||||
@@ -233,11 +257,12 @@ public static class EmoteCache
|
|||||||
public ImGuiEmote Prepare(Emote emote)
|
public ImGuiEmote Prepare(Emote emote)
|
||||||
{
|
{
|
||||||
var ct = EmoteCache.Token;
|
var ct = EmoteCache.Token;
|
||||||
Task.Run(() => Load(emote, ct), ct);
|
// Task.Run keeps the sync prefix off the ImGui render thread.
|
||||||
|
EmoteCache.TrackLoad(Task.Run(() => LoadAsyncTracked(emote, ct), ct), emote.Code);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void Load(Emote emote, CancellationToken ct)
|
private async Task LoadAsyncTracked(Emote emote, CancellationToken ct)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -251,8 +276,6 @@ public static class EmoteCache
|
|||||||
}
|
}
|
||||||
catch (OperationCanceledException)
|
catch (OperationCanceledException)
|
||||||
{
|
{
|
||||||
// Plugin disposed mid-load; the EmoteImages entry is also
|
|
||||||
// being torn down, no extra cleanup needed.
|
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@@ -310,11 +333,11 @@ public static class EmoteCache
|
|||||||
public ImGuiGif Prepare(Emote emote)
|
public ImGuiGif Prepare(Emote emote)
|
||||||
{
|
{
|
||||||
var ct = EmoteCache.Token;
|
var ct = EmoteCache.Token;
|
||||||
Task.Run(() => Load(emote, ct), ct);
|
EmoteCache.TrackLoad(Task.Run(() => LoadAsyncTracked(emote, ct), ct), emote.Code);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async void Load(Emote emote, CancellationToken ct)
|
private async Task LoadAsyncTracked(Emote emote, CancellationToken ct)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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.2.3</Version>
|
<Version>1.4.0</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
|
||||||
|
|||||||
+63
-344
@@ -41,6 +41,17 @@ description: |-
|
|||||||
Chat 2 Klassik, Event Horizon, Moonlit Bloom, Mint Grove,
|
Chat 2 Klassik, Event Horizon, Moonlit Bloom, Mint Grove,
|
||||||
Night Blue, Indigo Violet, Forge Merchantman.
|
Night Blue, Indigo Violet, Forge Merchantman.
|
||||||
|
|
||||||
|
v1.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.
|
||||||
|
|
||||||
|
v1.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.
|
||||||
|
|
||||||
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
|
||||||
@@ -60,6 +71,58 @@ tags:
|
|||||||
- Replacement
|
- Replacement
|
||||||
- Privacy
|
- Privacy
|
||||||
changelog: |-
|
changelog: |-
|
||||||
|
**Hellion Chat 1.4.0 — Critical Lifecycle Fixes**
|
||||||
|
|
||||||
|
First sub-patch of the v1.4.x Polish Sweep series. Seven
|
||||||
|
known lifecycle and race bugs eliminated before any
|
||||||
|
performance refactor sits on top.
|
||||||
|
|
||||||
|
- MessageStore disposal no longer triggers GC.Collect
|
||||||
|
globally; Pooling=false on the SQLite connection means
|
||||||
|
there's nothing left to clean up by hand
|
||||||
|
- PendingMessage and RetentionSweep worker threads are
|
||||||
|
explicitly marked IsBackground=true so the plugin domain
|
||||||
|
can unload during XIVLauncher reload without waiting
|
||||||
|
for them
|
||||||
|
- 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
|
||||||
|
- DisposeAsync 10s timeout now warns loudly instead of
|
||||||
|
silently leaving the worker behind
|
||||||
|
- 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
|
||||||
|
- 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
|
||||||
|
|
||||||
|
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.3.0 - Plugin Integrations: Honorific**
|
||||||
|
|
||||||
|
First 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.
|
||||||
|
|
||||||
|
- New "Integrations" settings tab
|
||||||
|
- Honorific integration with auto-detection and live updates
|
||||||
|
- "Coming soon" preview of the next five planned integrations:
|
||||||
|
context menu actions, smart notifications, RP status block,
|
||||||
|
ExtraChat channels, and quick DM compose
|
||||||
|
- Maintainer attribution buttons for Honorific repo and Caraxi
|
||||||
|
- New service-class pattern under HellionChat/Integrations/
|
||||||
|
|
||||||
|
Modding and support: join Hellion Forge - https://discord.gg/X9V7Kcv5gR
|
||||||
|
|
||||||
|
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
||||||
|
|
||||||
**Hellion Chat 1.2.3 — Theme Expansion**
|
**Hellion Chat 1.2.3 — Theme Expansion**
|
||||||
|
|
||||||
Four new built-in themes round out the picker. No engine changes,
|
Four new built-in themes round out the picker. No engine changes,
|
||||||
@@ -86,350 +149,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.1 — Settings Cleanup**
|
|
||||||
|
|
||||||
Re-sorted the settings menu so related options live together. Card names
|
|
||||||
now describe their contents in plain words — "Theme & Layout", "Fonts &
|
|
||||||
Colours", "Data Management" — and each card has a short subtitle so you
|
|
||||||
don't have to guess where a setting lives. No new features, just
|
|
||||||
housekeeping.
|
|
||||||
|
|
||||||
Card changes:
|
|
||||||
|
|
||||||
- Theme & Layout (new) collects the theme picker, window frame style
|
|
||||||
(title bar, sidebar, hide button, pop-out title bar) and the timestamp
|
|
||||||
style options.
|
|
||||||
- Fonts & Colours (new) is the new home for font choice, font size and
|
|
||||||
per-channel chat colours.
|
|
||||||
- Data Management (new) is everything you do with stored messages:
|
|
||||||
retention windows, cleanup, export, the database viewer and the
|
|
||||||
advanced shift-click tools. All previously scattered between Privacy
|
|
||||||
and Database.
|
|
||||||
- Privacy is now focused on one job: the privacy filter.
|
|
||||||
- Chat absorbs the Auto-Tell-Tabs history preload slider that used to
|
|
||||||
live under Privacy.
|
|
||||||
- General groups the keybind mode under Input where it belongs.
|
|
||||||
|
|
||||||
Cleanup:
|
|
||||||
|
|
||||||
- Removed legacy "Style override" option and the unused style-name field
|
|
||||||
— both made obsolete by the Themes system in 1.1.0.
|
|
||||||
- Removed the legacy WindowAlpha slider; if you had it set, the value is
|
|
||||||
automatically migrated to Theme & Layout → Window Style → Window
|
|
||||||
Transparency.
|
|
||||||
- Removed the unused ShowThemeQuickPicker schema field.
|
|
||||||
|
|
||||||
Migration v15 → v16:
|
|
||||||
|
|
||||||
- A backup of your previous config is written to
|
|
||||||
pluginConfigs/HellionChat.json.pre-v16-backup before the schema change,
|
|
||||||
in case you want to roll back manually.
|
|
||||||
- All other settings are preserved unchanged.
|
|
||||||
- One-time toast on first start if you previously had Style override
|
|
||||||
enabled — it explains the change. Users who never touched that setting
|
|
||||||
see no toast.
|
|
||||||
|
|
||||||
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
|
||||||
|
|
||||||
**Hellion Chat 1.2.0 — Layout Refresh**
|
|
||||||
|
|
||||||
Second UI cycle: tab layouts modernised in both modes, a new
|
|
||||||
bottom status bar, card-rows as default message render, and
|
|
||||||
Auto-Tell tabs that you can finally tell apart at a glance.
|
|
||||||
|
|
||||||
Sidebar (icon-only, fixed 44 px):
|
|
||||||
|
|
||||||
- Tab name on hover-tooltip, vertical accent pill on the
|
|
||||||
active tab, child background no longer paints the top
|
|
||||||
padding area.
|
|
||||||
- Per-tab custom icons via Settings → Tabs.
|
|
||||||
- Auto-Tell tabs: each partner gets a hashed icon (envelope/
|
|
||||||
star/heart/bell/bookmark/flag/fire) plus hashed color
|
|
||||||
(12-color palette) — 84 distinct combinations.
|
|
||||||
- Pulsing red dot in the top-right of any tab with unread
|
|
||||||
messages, subtle 2-second sine pulse, respects
|
|
||||||
Configuration.ReduceMotion.
|
|
||||||
|
|
||||||
Top tabs:
|
|
||||||
|
|
||||||
- Accent underline pill on the active tab instead of the old
|
|
||||||
background fill. Icon prefixes were attempted but reverted
|
|
||||||
— Dalamud's default font atlas has no FontAwesome glyphs.
|
|
||||||
|
|
||||||
Bottom status bar (22 px, 1×/sec cached):
|
|
||||||
|
|
||||||
- Active channel with color dot, Privacy-First badge, tab +
|
|
||||||
message counters, auto-tell counter (hidden at zero),
|
|
||||||
plugin version (right-aligned, muted).
|
|
||||||
|
|
||||||
Message rendering:
|
|
||||||
|
|
||||||
- Card rows by default — sender header in channel color, body
|
|
||||||
on its own line, subtle border between cards.
|
|
||||||
- Compact-Density toggle in Appearance returns the classic
|
|
||||||
single-line `[HH:mm] Sender: Text` layout.
|
|
||||||
|
|
||||||
Bug fixes from in-game testing:
|
|
||||||
|
|
||||||
- Settings save no longer wipes chat history. Refilter cycle
|
|
||||||
only runs when filter-relevant settings actually changed
|
|
||||||
(privacy, channel selection); cosmetic changes leave the
|
|
||||||
chat intact. Persistent and Auto-Tell tabs both survive.
|
|
||||||
- Hellion Schrift (Exo 2) no longer blocks font-size
|
|
||||||
adjustment — 4K users can scale up properly.
|
|
||||||
- Sidebar buttons align with the first message row, status
|
|
||||||
bar version slot is no longer clipped.
|
|
||||||
|
|
||||||
Migration v14 → v15: legacy theme fields removed
|
|
||||||
(HellionThemeEnabled, HellionThemeWindowOpacity). All other
|
|
||||||
settings preserved.
|
|
||||||
|
|
||||||
Polish (lerps, theme crossfade, header quick-picker) follows
|
|
||||||
in v1.3.0.
|
|
||||||
|
|
||||||
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
|
||||||
|
|
||||||
**Hellion Chat 1.1.0 — Theme Foundation**
|
|
||||||
|
|
||||||
First major UI cycle after the standalone v1.0.0 cut. Theme engine,
|
|
||||||
five built-in themes, customisable JSON themes, modernised settings
|
|
||||||
layout.
|
|
||||||
|
|
||||||
New themes (Settings → Themes):
|
|
||||||
|
|
||||||
- **Hellion Arctic** — the brand default, Arctic Cyan + Ember Glow
|
|
||||||
on industrial slate.
|
|
||||||
- **Chat 2 Klassik** — Steel Blue on neutral grey, eckige Kanten.
|
|
||||||
The upstream Chat 2 look on the new engine.
|
|
||||||
- **Event Horizon** — Cosmic Purple on near-black. Deep-space mood.
|
|
||||||
- **Moonlit Bloom** — Bloom Magenta + Soft Sage on deep-violet
|
|
||||||
night.
|
|
||||||
- **Mint Grove** — Mint Green + Honey Amber on deep forest. First
|
|
||||||
member of the Grove family.
|
|
||||||
|
|
||||||
Theme engine highlights:
|
|
||||||
|
|
||||||
- Slug-based selection in Settings → Themes with mini-mockup
|
|
||||||
previews per theme.
|
|
||||||
- Click a theme card and the whole plugin (chat, settings,
|
|
||||||
pop-outs, viewer) repaints instantly.
|
|
||||||
- Custom themes via JSON in pluginConfigs/HellionChat/themes/.
|
|
||||||
Example template seeded on first launch.
|
|
||||||
- Optional per-theme chat-channel colours. When a theme proposes
|
|
||||||
its own chat colours and yours differ, a dezent banner offers
|
|
||||||
Apply / Keep — never auto-overwriting.
|
|
||||||
- Migration v13 → v14: existing users land on Hellion Arctic. Pick
|
|
||||||
Chat 2 Klassik to keep the upstream look.
|
|
||||||
|
|
||||||
Settings layout:
|
|
||||||
|
|
||||||
- New card-grid overview on Settings open. Click a card to drill
|
|
||||||
into the section.
|
|
||||||
- Breadcrumb back to overview, ESC also returns.
|
|
||||||
- Detail view drops the redundant tab list — section content uses
|
|
||||||
the full width.
|
|
||||||
|
|
||||||
Branding:
|
|
||||||
|
|
||||||
- Plugin icon swapped from the ChatTwo derivative to the Hellion
|
|
||||||
Forge hammer.
|
|
||||||
- New docs/THEME-AUTHORING.md walks you through writing your own
|
|
||||||
themes with the Forge logo on top.
|
|
||||||
|
|
||||||
Technical:
|
|
||||||
|
|
||||||
- HellionStyle.PushGlobal is now theme-driven. Configuration.
|
|
||||||
HellionThemeEnabled is deprecated and will be removed in v1.2.0.
|
|
||||||
- New ThemeRegistry singleton with LastWriteTime-cached custom-
|
|
||||||
theme loader.
|
|
||||||
- 51 local unit tests cover the data model, registry, JSON round-
|
|
||||||
trip and built-in sanity checks.
|
|
||||||
|
|
||||||
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
|
||||||
|
|
||||||
**Hellion Chat 1.0.3 — Polish patch**
|
|
||||||
|
|
||||||
- New: optionally hide chat (and every other plugin window) while the
|
|
||||||
New Game+ menu is open. Toggle in Settings → Window → Frame, default
|
|
||||||
off. Closing the menu restores all windows.
|
|
||||||
- New: optionally tint the channel selector button next to the input
|
|
||||||
field with the currently active channel's colour. Toggle in
|
|
||||||
Settings → Appearance → Colours, default on. Matches the existing
|
|
||||||
input-text tint and respects ExtraChat overrides.
|
|
||||||
- Fix: status, item and other inline hover icons keep their original
|
|
||||||
aspect ratio. Debuff icons with non-square dimensions are no longer
|
|
||||||
visually squished into a 32×32 box.
|
|
||||||
- Diagnostic: hide-state transitions (battle, cutscene, user-hide,
|
|
||||||
cutscene override) are now logged on Verbose level for easier bug
|
|
||||||
reports — off by default, enable with `/xllog set HellionChat verbose`.
|
|
||||||
|
|
||||||
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
|
||||||
|
|
||||||
**Hellion Chat 1.0.1 — Window Position Recovery**
|
|
||||||
|
|
||||||
- Automatic bounds check on the first draw after plugin load.
|
|
||||||
When the persisted window position has no overlap with the
|
|
||||||
primary viewport, the window snaps to a safe top-left default.
|
|
||||||
Helpful after a monitor disconnect, resolution change or
|
|
||||||
multi-monitor layout switch between sessions.
|
|
||||||
- New "Reset Window Position" button in Settings → Window → Frame
|
|
||||||
as a manual escape hatch for edge cases the automatic check
|
|
||||||
doesn't catch.
|
|
||||||
|
|
||||||
Tested on Linux/Wayland with a hard-cut three-monitor reduction;
|
|
||||||
window recovers cleanly without manual JSON editing.
|
|
||||||
|
|
||||||
Housekeeping carried over since v1.0.0:
|
|
||||||
|
|
||||||
- Documentation restructured into docs/ folder. New CHANGELOG,
|
|
||||||
CONTRIBUTORS, LEARNING-JOURNEY and ROADMAP added
|
|
||||||
- Stale ChatTwo/* paths in repo configs updated to HellionChat/*
|
|
||||||
- Pidgin parser library bumped from 3.3.0 to 3.5.1 (CIString
|
|
||||||
Unicode fix relevant for non-ASCII channel/tab names)
|
|
||||||
- GitHub Actions: actions/setup-dotnet bumped 4 → 5,
|
|
||||||
github/codeql-action bumped 3 → 4
|
|
||||||
|
|
||||||
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
|
||||||
|
|
||||||
**Hellion Chat 1.0.0 — Standalone Major Release**
|
|
||||||
|
|
||||||
First fully standalone release. Internal cleanup plus a sweep of
|
|
||||||
pre-existing correctness, security, threading and resource-leak
|
|
||||||
fixes carried over from the upstream codebase. No user action
|
|
||||||
required — auto-update applies cleanly, configuration and database
|
|
||||||
paths unchanged.
|
|
||||||
|
|
||||||
Standalone identity:
|
|
||||||
|
|
||||||
- Code namespace consolidated from ChatTwo.* to HellionChat.* across
|
|
||||||
all source files
|
|
||||||
- IPC channels migrated from ChatTwo.* to HellionChat.* (6 channels:
|
|
||||||
Register, Available, Unregister, Invoke, GetChatInputState,
|
|
||||||
ChatInputStateChanged) — third-party plugins that bound to the old
|
|
||||||
channels need to be updated; none known at release time
|
|
||||||
- ImGui popup ID renamed to hellionchat-context-popup
|
|
||||||
- Repository folder restructured (ChatTwo/ → HellionChat/), all CI
|
|
||||||
and build paths updated accordingly
|
|
||||||
- Public-facing descriptions reworded from upstream-fork framing to
|
|
||||||
standalone framing (Chat 2 attribution preserved per EUPL-1.2)
|
|
||||||
- Colour preset 'ChatTwo Default' is now 'Klassik (Chat 2 Default)'
|
|
||||||
|
|
||||||
Safety:
|
|
||||||
|
|
||||||
- Plugin now refuses to load when upstream Chat 2 is also active —
|
|
||||||
bilingual conflict message in EN/DE, throw before any subsystem
|
|
||||||
initialization, prevents the runtime crash that previously occurred
|
|
||||||
when both plugins replaced the same chat window in parallel
|
|
||||||
- SQLite native binary bumped to 3.50.3 (CVE-2025-6965 memory
|
|
||||||
corruption from aggregate-term overflow, CVE-2025-7709)
|
|
||||||
- NuGet restore now honors packages.lock.json so transitive
|
|
||||||
dependencies don't drift between machines or CI runs
|
|
||||||
|
|
||||||
Default tab layout sharpened (one-time tab reset on first start):
|
|
||||||
|
|
||||||
The first-run tab layout is reorganized into five thematic tabs
|
|
||||||
based on external tester feedback. General contains only Say,
|
|
||||||
Yell and Shout (immediate-surroundings public chat). System
|
|
||||||
absorbs the gameplay-event streams (NpcDialogue, Loot, Crafting,
|
|
||||||
Gathering, PF recruitment pings) and announcement noise
|
|
||||||
(BattleSystem, FreeCompanyAnnouncement, PvpTeamAnnouncement)
|
|
||||||
that previously lived in General. FreeCompany, Group and
|
|
||||||
Linkshell each own their channel set. The static Tell tab is
|
|
||||||
gone — Auto-Tell-Tabs spawns per-conversation tabs on demand.
|
|
||||||
The Beginner / Novice-Network preset is no longer added by
|
|
||||||
default but is still available via Settings, Tabs.
|
|
||||||
|
|
||||||
This is a one-time tab-layout reset for users on config version
|
|
||||||
12 or older. Privacy, Retention, Theme and every other setting
|
|
||||||
is preserved. Your previous tab configuration is written to
|
|
||||||
pluginConfigs/HellionChat.json.pre-v13-backup so you can restore
|
|
||||||
it manually if you prefer the old layout.
|
|
||||||
|
|
||||||
Crash-class fixes (formerly latent in upstream):
|
|
||||||
|
|
||||||
- MathUtil.HasOverlap now uses a correct AABB test; identical or
|
|
||||||
edge-touching rectangles are no longer reported as non-overlapping
|
|
||||||
- ChatCode.Equals compares fields directly instead of GetHashCode;
|
|
||||||
removes the hash-collision anti-pattern
|
|
||||||
- IpcManager.Dispose uses UnregisterAction to match the matching
|
|
||||||
RegisterAction call; previous mismatch leaked the action
|
|
||||||
subscription on every plugin reload
|
|
||||||
- ExtraChat.Dispose now unsubscribes all three IPC subscriptions
|
|
||||||
(was only the first); leaks closed
|
|
||||||
- TellTarget.FromTarget guards against a zero IPlayerCharacter.Address
|
|
||||||
before dereferencing the unsafe Character* cast
|
|
||||||
- GameFunctions ResolveTextCommandPlaceholderDetour null-checks the
|
|
||||||
Hook reference instead of using the null-forgiving operator
|
|
||||||
- Popout.cs and SettingsTabs/Tabs.cs bounds-check list indexing so
|
|
||||||
a tab drop or empty-worlds list no longer crashes the UI
|
|
||||||
- Debugger.cs now declares IDisposable so the existing Dispose runs
|
|
||||||
|
|
||||||
Correctness fixes:
|
|
||||||
|
|
||||||
- GlobalParametersCache.GetValue captures Cache into a local before
|
|
||||||
the bounds check, so a concurrent Refresh can't slip a different
|
|
||||||
array between check and read
|
|
||||||
- IconUtil binary search bounds initialized to entries.Length-1 and
|
|
||||||
reset on redirect-restart; entries.Length==0 short-circuits
|
|
||||||
- Sheets.WorldsOnDatacenter now compares DataCenter.RowId (was
|
|
||||||
Region.RowId) so it actually returns same-DC worlds
|
|
||||||
- Message.cs back-reference loop iterates the processed Sender/Content
|
|
||||||
properties so chunks added by CheckMessageContent get Message set
|
|
||||||
- Language.zh-Hans Webinterface_Start_Success corrected to
|
|
||||||
"网页界面已启动" (was "网页界面已停止")
|
|
||||||
|
|
||||||
Threading and async:
|
|
||||||
|
|
||||||
- AutoTranslate Entries/ValidEntries are now serialized behind a
|
|
||||||
single lock; the preload worker thread and main thread no longer
|
|
||||||
race on the underlying dictionary/hash set
|
|
||||||
- Privacy retention and cleanup workers bound their framework-refresh
|
|
||||||
waits to 5 seconds with a logged timeout; a hung framework tick can
|
|
||||||
no longer deadlock the background worker
|
|
||||||
|
|
||||||
Resource handling:
|
|
||||||
|
|
||||||
- EmoteCache reuses the static HttpClient instead of allocating a new
|
|
||||||
one per call (closed socket leak)
|
|
||||||
- FontManager wraps HttpClient/HttpResponseMessage in using-blocks
|
|
||||||
and adds EnsureSuccessStatusCode; failed downloads no longer
|
|
||||||
silently produce a zero-byte font file
|
|
||||||
- SearchSelector mixes the row index into the ImGui ID stack so
|
|
||||||
selectables don't collapse to a single ambiguous ID
|
|
||||||
- SettingsTabs/Chat blocked-emote add-button now opens its selector
|
|
||||||
popup on left-click
|
|
||||||
|
|
||||||
Performance:
|
|
||||||
|
|
||||||
- DbViewer text export caches filteredHistory.Count once instead of
|
|
||||||
re-enumerating the IEnumerable on every batch (O(N) instead of
|
|
||||||
O(N²) on large histories)
|
|
||||||
|
|
||||||
License attribution (NOTICE.md, COPYRIGHT, THIRD_PARTY_NOTICES.md
|
|
||||||
and the Credits section in README) is unchanged.
|
|
||||||
|
|
||||||
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
|
||||||
|
|
||||||
**Hellion Chat 0.6.1 — Pop-Out Discoverability & /tell Auto-Pop-Out**
|
|
||||||
|
|
||||||
- Pop-out button now visible in the chat header (no more hunting
|
|
||||||
through the right-click menu)
|
|
||||||
- One-time hint banner explains pop-out tabs and the right-click
|
|
||||||
shortcut
|
|
||||||
- New setting: open new /tell tabs directly as pop-out windows
|
|
||||||
(Settings → Chat → Auto-Tell-Tabs)
|
|
||||||
- Pop-out input is now enabled by default — closing a pop-out still
|
|
||||||
returns the tab to the sidebar
|
|
||||||
- Bugfix: dropping or logging out with an LRU/popped auto-tell tab
|
|
||||||
now also closes its pop-out window (no more ghost windows)
|
|
||||||
- Bugfix: dead zone below the chat input bar when the v0.6.0 pop-out
|
|
||||||
hint banner was visible (also fixed retroactively for the v0.6.0
|
|
||||||
banner inside pop-outs)
|
|
||||||
|
|
||||||
Modding & support: join Hellion Forge — https://discord.gg/X9V7Kcv5gR
|
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
@@ -0,0 +1,245 @@
|
|||||||
|
using System;
|
||||||
|
using Dalamud.Plugin;
|
||||||
|
using Dalamud.Plugin.Ipc;
|
||||||
|
using Dalamud.Plugin.Services;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace HellionChat.Integrations;
|
||||||
|
|
||||||
|
// We pull Newtonsoft.Json into this single file for IPC compatibility:
|
||||||
|
// Honorific serialises its TitleData with Newtonsoft (see
|
||||||
|
// Honorific-master/IpcProvider.cs:9 and CustomTitle.cs:12). Using the
|
||||||
|
// same library guarantees identical handling of System.Numerics.Vector3?
|
||||||
|
// and the enum fields we ignore. Newtonsoft is a transitive dependency
|
||||||
|
// via Dalamud, so no new NuGet entry is needed. The rest of HellionChat
|
||||||
|
// keeps using System.Text.Json.
|
||||||
|
internal sealed class HonorificService : IDisposable
|
||||||
|
{
|
||||||
|
private const string IpcNamespace = "Honorific";
|
||||||
|
|
||||||
|
// Major version of the Honorific IPC contract HellionChat is built against.
|
||||||
|
// Used both by the runtime compatibility check and by the settings tab when
|
||||||
|
// it tells the user which major version we expected, so the literal lives
|
||||||
|
// in exactly one place.
|
||||||
|
internal const uint ExpectedApiMajor = 3;
|
||||||
|
|
||||||
|
// IPC gates we subscribe to. Keep them as fields so Dispose can
|
||||||
|
// unsubscribe the same instances we subscribed in the constructor.
|
||||||
|
private readonly ICallGateSubscriber<(uint, uint)> _apiVersion;
|
||||||
|
private readonly ICallGateSubscriber<string> _getLocalCharacterTitle;
|
||||||
|
private readonly ICallGateSubscriber<string, object> _localCharacterTitleChanged;
|
||||||
|
private readonly ICallGateSubscriber<object> _ready;
|
||||||
|
private readonly ICallGateSubscriber<object> _disposing;
|
||||||
|
|
||||||
|
private readonly IPluginLog _log;
|
||||||
|
private readonly IFramework _framework;
|
||||||
|
private bool _versionWarningLogged;
|
||||||
|
|
||||||
|
public HonorificTitleData? CurrentTitle { get; private set; }
|
||||||
|
public bool IsAvailable { get; private set; }
|
||||||
|
public (uint Major, uint Minor)? DetectedApiVersion { get; private set; }
|
||||||
|
|
||||||
|
public HonorificService(IDalamudPluginInterface pluginInterface, IPluginLog log, IFramework framework)
|
||||||
|
{
|
||||||
|
_framework = framework;
|
||||||
|
_log = log;
|
||||||
|
|
||||||
|
// Dalamud caches gate objects per-name for the lifetime of the
|
||||||
|
// plugin interface, so we can register subscribers even when
|
||||||
|
// Honorific isn't loaded yet — the gate just won't fire. Calling
|
||||||
|
// InvokeFunc before Honorific is up will throw, which is why the
|
||||||
|
// initial pull below is wrapped in try-catch.
|
||||||
|
//
|
||||||
|
// Thread-context: plugin constructors run on Dalamud's plugin-loader
|
||||||
|
// thread, NOT the framework thread. Honorific's IPC handlers read
|
||||||
|
// ObjectTable.LocalPlayer (Honorific IpcProvider.cs:61), which throws
|
||||||
|
// "Not on main thread!" outside the framework thread. If Honorific is
|
||||||
|
// already loaded when HellionChat starts, a synchronous InvokeFunc
|
||||||
|
// here would surface that exception, the broad catch below would
|
||||||
|
// mark IsAvailable=false, and OnTitleChanged's `if (!IsAvailable)`
|
||||||
|
// gate would block every subsequent title update. We therefore
|
||||||
|
// schedule the initial pull onto the framework thread via
|
||||||
|
// IFramework.RunOnFrameworkThread so the IPC call sees the right
|
||||||
|
// thread context.
|
||||||
|
_apiVersion = pluginInterface
|
||||||
|
.GetIpcSubscriber<(uint, uint)>($"{IpcNamespace}.ApiVersion");
|
||||||
|
_getLocalCharacterTitle = pluginInterface
|
||||||
|
.GetIpcSubscriber<string>($"{IpcNamespace}.GetLocalCharacterTitle");
|
||||||
|
_localCharacterTitleChanged = pluginInterface
|
||||||
|
.GetIpcSubscriber<string, object>($"{IpcNamespace}.LocalCharacterTitleChanged");
|
||||||
|
_ready = pluginInterface
|
||||||
|
.GetIpcSubscriber<object>($"{IpcNamespace}.Ready");
|
||||||
|
_disposing = pluginInterface
|
||||||
|
.GetIpcSubscriber<object>($"{IpcNamespace}.Disposing");
|
||||||
|
|
||||||
|
_localCharacterTitleChanged.Subscribe(OnTitleChanged);
|
||||||
|
_ready.Subscribe(OnReady);
|
||||||
|
_disposing.Subscribe(OnDisposing);
|
||||||
|
|
||||||
|
_framework.RunOnFrameworkThread(TryInitialPull);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
// Honorific may already be gone by the time we dispose. Wrap each
|
||||||
|
// unsubscribe so a missing gate doesn't prevent the others from
|
||||||
|
// unsubscribing — leaking even one subscription leaves a callback
|
||||||
|
// alive that captures `this`, which keeps the whole service alive
|
||||||
|
// and breaks plugin reload.
|
||||||
|
TryUnsubscribe(() => _localCharacterTitleChanged.Unsubscribe(OnTitleChanged));
|
||||||
|
TryUnsubscribe(() => _ready.Unsubscribe(OnReady));
|
||||||
|
TryUnsubscribe(() => _disposing.Unsubscribe(OnDisposing));
|
||||||
|
}
|
||||||
|
|
||||||
|
private void TryInitialPull()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var version = _apiVersion.InvokeFunc();
|
||||||
|
DetectedApiVersion = version;
|
||||||
|
|
||||||
|
if (!IsApiVersionCompatible(version))
|
||||||
|
{
|
||||||
|
if (!_versionWarningLogged)
|
||||||
|
{
|
||||||
|
_log.Warning(
|
||||||
|
"Honorific API version mismatch — expected major 3, " +
|
||||||
|
"found {Major}.{Minor}. Disabling Honorific integration.",
|
||||||
|
version.Item1, version.Item2);
|
||||||
|
_versionWarningLogged = true;
|
||||||
|
}
|
||||||
|
IsAvailable = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
IsAvailable = true;
|
||||||
|
_versionWarningLogged = false;
|
||||||
|
// Pull the current title once at startup; from here on we rely
|
||||||
|
// on LocalCharacterTitleChanged events.
|
||||||
|
var json = _getLocalCharacterTitle.InvokeFunc();
|
||||||
|
CurrentTitle = ParseTitleJson(json);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
// Honorific isn't installed or hasn't initialised yet. The Ready
|
||||||
|
// event will give us a second chance later. Log at Debug so
|
||||||
|
// users without Honorific don't see noise on every reload.
|
||||||
|
_log.Debug(ex, "Honorific not available at HellionChat startup; awaiting Ready.");
|
||||||
|
IsAvailable = false;
|
||||||
|
CurrentTitle = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Honorific fires LocalCharacterTitleChanged through its nameplate hook
|
||||||
|
// (Honorific-master/Plugin.cs:665), which means we get title updates on
|
||||||
|
// character switches automatically as soon as the new character is
|
||||||
|
// rendered. While the user is in the character-select menu, HellionChat's
|
||||||
|
// window is hidden by default via HideWhenNotLoggedIn (Configuration.cs:152),
|
||||||
|
// so the stale-title window between logout and login isn't user-visible.
|
||||||
|
private void OnTitleChanged(string json)
|
||||||
|
{
|
||||||
|
// Don't update cached state when we've already decided we can't trust
|
||||||
|
// Honorific (e.g. version mismatch). Subscription stays live in case a
|
||||||
|
// compatible Honorific reloads, in which case Ready triggers TryInitialPull
|
||||||
|
// and sets IsAvailable back to true.
|
||||||
|
if (!IsAvailable) return;
|
||||||
|
CurrentTitle = ParseTitleJson(json);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnReady()
|
||||||
|
{
|
||||||
|
// Honorific loaded after HellionChat; redo the version check and
|
||||||
|
// initial pull. Idempotent on purpose — Honorific can fire Ready
|
||||||
|
// more than once across reloads.
|
||||||
|
//
|
||||||
|
// Honorific's NotifyReady may dispatch from any thread, and
|
||||||
|
// TryInitialPull eventually calls IPC handlers that read
|
||||||
|
// ObjectTable.LocalPlayer — same "Not on main thread!" hazard as
|
||||||
|
// the constructor path. Schedule onto the framework thread.
|
||||||
|
_framework.RunOnFrameworkThread(TryInitialPull);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnDisposing()
|
||||||
|
{
|
||||||
|
// Honorific is unloading. Drop our cached state so the header
|
||||||
|
// hides on the next frame; subscriptions stay registered because
|
||||||
|
// the gates may come back later (Honorific reload).
|
||||||
|
//
|
||||||
|
// Race-note: Honorific's NotifyDisposing calls ChangedLocalCharacterTitle(null)
|
||||||
|
// BEFORE SendMessage on the Disposing gate (IpcProvider.cs:109-111),
|
||||||
|
// so OnTitleChanged is expected to fire first and already null out
|
||||||
|
// CurrentTitle. We re-clear here as belt-and-braces; should the
|
||||||
|
// ordering ever flip, ShouldRenderSlot would still gate on IsAvailable.
|
||||||
|
CurrentTitle = null;
|
||||||
|
IsAvailable = false;
|
||||||
|
DetectedApiVersion = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void TryUnsubscribe(Action unsubscribe)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
unsubscribe();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_log.Debug(ex, "Honorific unsubscribe failed (likely already gone).");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Threading note: Dalamud fires IPC events on the framework thread and
|
||||||
|
// ImGui renders on the framework thread, so OnTitleChanged and the
|
||||||
|
// render path that reads CurrentTitle never race — OnTitleChanged is
|
||||||
|
// safe to keep direct (no RunOnFrameworkThread wrap needed) because
|
||||||
|
// LocalCharacterTitleChanged delivery is framework-thread by Dalamud
|
||||||
|
// contract. If a future change moves either side onto a worker thread,
|
||||||
|
// switch to volatile/Interlocked for the CurrentTitle field.
|
||||||
|
//
|
||||||
|
// The constructor's initial pull and OnReady, on the other hand, are
|
||||||
|
// explicitly scheduled via IFramework.RunOnFrameworkThread because
|
||||||
|
// they run outside that contract: the constructor executes on the
|
||||||
|
// plugin-loader thread, and Honorific's NotifyReady can dispatch from
|
||||||
|
// any thread. Both call paths eventually invoke IPC handlers that read
|
||||||
|
// ObjectTable.LocalPlayer, which throws "Not on main thread!" off the
|
||||||
|
// framework thread — see the constructor comment block for context.
|
||||||
|
//
|
||||||
|
// Divergence from ChatTwo/Ipc/ExtraChat.cs: that file uses `volatile`
|
||||||
|
// on its state fields out of caution. We don't, because the framework-
|
||||||
|
// thread delivery is the documented Dalamud contract. If the two files
|
||||||
|
// ever need to share a threading audit, this is the place to revisit.
|
||||||
|
|
||||||
|
// --- Pure-logic helpers below; tested via HellionChat.Tests/Integrations. ---
|
||||||
|
|
||||||
|
internal static HonorificTitleData? ParseTitleJson(string json)
|
||||||
|
{
|
||||||
|
if (string.IsNullOrEmpty(json))
|
||||||
|
return null;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
return JsonConvert.DeserializeObject<HonorificTitleData>(json);
|
||||||
|
}
|
||||||
|
catch (JsonException)
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
internal static bool IsApiVersionCompatible((uint Major, uint Minor) apiVersion)
|
||||||
|
{
|
||||||
|
return apiVersion.Major == ExpectedApiMajor;
|
||||||
|
}
|
||||||
|
|
||||||
|
internal static bool ShouldRenderSlot(
|
||||||
|
bool toggleEnabled,
|
||||||
|
bool isAvailable,
|
||||||
|
HonorificTitleData? title)
|
||||||
|
{
|
||||||
|
if (!toggleEnabled) return false;
|
||||||
|
if (!isAvailable) return false;
|
||||||
|
if (title is null) return false;
|
||||||
|
if (title.IsOriginal) return false;
|
||||||
|
if (string.IsNullOrEmpty(title.Title)) return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
using System.Numerics;
|
||||||
|
|
||||||
|
namespace HellionChat.Integrations;
|
||||||
|
|
||||||
|
// Local DTO mirroring Honorific's TitleData shape. We replicate the structure
|
||||||
|
// instead of referencing Honorific.dll because a hard build-time dependency
|
||||||
|
// would couple the two assemblies and break HellionChat at load time when
|
||||||
|
// Honorific is missing. Glow, Color3, GradientColourSet and GradientAnimationStyle
|
||||||
|
// are intentionally omitted — Cycle 1 renders text in the primary Color only;
|
||||||
|
// the "Honorific Full Fidelity" backlog item adds them later as a pure
|
||||||
|
// extension that won't break this DTO's existing consumers.
|
||||||
|
internal sealed record HonorificTitleData(
|
||||||
|
string? Title,
|
||||||
|
bool IsPrefix,
|
||||||
|
bool IsOriginal,
|
||||||
|
Vector3? Color
|
||||||
|
);
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
namespace HellionChat.Integrations;
|
||||||
|
|
||||||
|
// External URLs for the third-party plugins HellionChat integrates with.
|
||||||
|
// Kept separate from BrandingLinks (which is for Hellion-owned URLs) so
|
||||||
|
// future cycles can extend this file with maintainer attribution links
|
||||||
|
// for Moodles, NotificationMaster, ExtraChat, etc. without polluting the
|
||||||
|
// brand-links class.
|
||||||
|
internal static class IntegrationLinks
|
||||||
|
{
|
||||||
|
public const string HonorificRepo = "https://github.com/Caraxi/Honorific";
|
||||||
|
public const string HonorificAuthor = "https://github.com/Caraxi";
|
||||||
|
}
|
||||||
@@ -66,7 +66,12 @@ internal class MessageManager : IAsyncDisposable
|
|||||||
|
|
||||||
Store = new MessageStore(DatabasePath());
|
Store = new MessageStore(DatabasePath());
|
||||||
|
|
||||||
PendingMessageThread = new Thread(() => ProcessPendingMessages(PendingThreadCancellationToken.Token));
|
// IsBackground so a stuck worker never blocks plugin unload.
|
||||||
|
// Cooperative cancel via PendingThreadCancellationToken first, background flag is the safety net.
|
||||||
|
PendingMessageThread = new Thread(() => ProcessPendingMessages(PendingThreadCancellationToken.Token))
|
||||||
|
{
|
||||||
|
IsBackground = true,
|
||||||
|
};
|
||||||
PendingMessageThread.Start();
|
PendingMessageThread.Start();
|
||||||
|
|
||||||
ContentIdResolverHook = Plugin.GameInteropProvider.HookFromAddress<RaptureLogModule.Delegates.AddMsgSourceEntry>(RaptureLogModule.MemberFunctionPointers.AddMsgSourceEntry, ContentIdResolver);
|
ContentIdResolverHook = Plugin.GameInteropProvider.HookFromAddress<RaptureLogModule.Delegates.AddMsgSourceEntry>(RaptureLogModule.MemberFunctionPointers.AddMsgSourceEntry, ContentIdResolver);
|
||||||
@@ -85,19 +90,22 @@ internal class MessageManager : IAsyncDisposable
|
|||||||
Plugin.ChatGui.ChatMessageUnhandled -= ChatMessage;
|
Plugin.ChatGui.ChatMessageUnhandled -= ChatMessage;
|
||||||
|
|
||||||
await PendingThreadCancellationToken.CancelAsync();
|
await PendingThreadCancellationToken.CancelAsync();
|
||||||
var timeout = 10_000; // 10s
|
|
||||||
while (timeout > 0)
|
|
||||||
{
|
|
||||||
if (!PendingMessageThread.IsAlive)
|
|
||||||
break;
|
|
||||||
|
|
||||||
timeout -= 100;
|
// 10s cooperative window; Thread.Abort is gone since .NET 5, so a
|
||||||
|
// stuck worker has to ride out the next AppDomain unload.
|
||||||
|
var deadline = TimeSpan.FromSeconds(10);
|
||||||
|
var stopwatch = Stopwatch.StartNew();
|
||||||
|
while (stopwatch.Elapsed < deadline && PendingMessageThread.IsAlive)
|
||||||
await Task.Delay(100);
|
await Task.Delay(100);
|
||||||
Plugin.Log.Debug("Sleeping because PendingMessageThread thread still alive");
|
|
||||||
}
|
|
||||||
|
|
||||||
// CancellationTokenSource owns an unmanaged WaitHandle; dispose after the
|
if (PendingMessageThread.IsAlive)
|
||||||
// worker thread has drained, otherwise it leaks across plugin reloads.
|
Plugin.Log.Warning(
|
||||||
|
"PendingMessageThread did not observe cancellation within 10s. " +
|
||||||
|
"Worker remains on a background thread; next plugin reload releases it. " +
|
||||||
|
"If this recurs, file a bug with /xllog after the previous reload.");
|
||||||
|
|
||||||
|
// CTS owns an unmanaged WaitHandle; dispose even if the worker is
|
||||||
|
// alive — it checks IsCancellationRequested via the linked token.
|
||||||
PendingThreadCancellationToken.Dispose();
|
PendingThreadCancellationToken.Dispose();
|
||||||
|
|
||||||
Store.Dispose();
|
Store.Dispose();
|
||||||
|
|||||||
@@ -131,11 +131,12 @@ internal class MessageStore : IDisposable
|
|||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
{
|
{
|
||||||
|
// Pooling=false (set in Connect) avoids ClearAllPools, which is
|
||||||
|
// provider-wide and would touch other plugins' SQLite connections.
|
||||||
|
// GC.Collect was here as a defensive flush; removed because explicit
|
||||||
|
// Close already releases everything we hold.
|
||||||
Connection.Close();
|
Connection.Close();
|
||||||
Connection.Dispose();
|
Connection.Dispose();
|
||||||
// Closing the connection doesn't immediately release the file.
|
|
||||||
GC.Collect();
|
|
||||||
GC.WaitForPendingFinalizers();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private SqliteConnection Connect()
|
private SqliteConnection Connect()
|
||||||
|
|||||||
+71
-2
@@ -65,6 +65,7 @@ public sealed class Plugin : IDalamudPlugin
|
|||||||
internal FontManager FontManager { get; }
|
internal FontManager FontManager { get; }
|
||||||
internal Themes.ThemeRegistry ThemeRegistry { get; private set; } = null!;
|
internal Themes.ThemeRegistry ThemeRegistry { get; private set; } = null!;
|
||||||
internal Ui.StatusBar StatusBar { get; private set; } = null!;
|
internal Ui.StatusBar StatusBar { get; private set; } = null!;
|
||||||
|
internal Integrations.HonorificService HonorificService { get; private set; } = null!;
|
||||||
|
|
||||||
internal int DeferredSaveFrames = -1;
|
internal int DeferredSaveFrames = -1;
|
||||||
|
|
||||||
@@ -244,11 +245,24 @@ public sealed class Plugin : IDalamudPlugin
|
|||||||
// HellionThemeEnabled-Flag wird deprecated und nur noch ein Release
|
// HellionThemeEnabled-Flag wird deprecated und nur noch ein Release
|
||||||
// als Safety-Net im JSON behalten. Window-Opacity wandert von
|
// als Safety-Net im JSON behalten. Window-Opacity wandert von
|
||||||
// HellionThemeWindowOpacity in das neue WindowOpacity-Feld.
|
// HellionThemeWindowOpacity in das neue WindowOpacity-Feld.
|
||||||
|
//
|
||||||
|
// v1.4.0 (F5.4): Pre-v13-Backup wird gelesen, HellionThemeWindowOpacity
|
||||||
|
// ins neue Feld gezogen. Override nur wenn WindowOpacity noch beim
|
||||||
|
// Default sitzt — sonst hat der User in der Zwischenzeit (z.B. via
|
||||||
|
// WindowAlpha → WindowOpacity in v15→v16) explizit etwas gesetzt.
|
||||||
if (Config.Version < 14)
|
if (Config.Version < 14)
|
||||||
{
|
{
|
||||||
Config.Theme = "hellion-arctic";
|
Config.Theme = "hellion-arctic";
|
||||||
// v1.2.0: alter Opacity-Wert wird nicht mehr migriert (Field entfernt).
|
|
||||||
// User die direkt v13 → v15 springen bekommen den Default 0.85.
|
var oldThemeOpacity = TryReadPreV13ThemeOpacity();
|
||||||
|
if (oldThemeOpacity is { } legacy
|
||||||
|
&& Math.Abs(Config.WindowOpacity - 0.85f) < 0.001f)
|
||||||
|
{
|
||||||
|
Config.WindowOpacity = Math.Clamp(legacy, 0.5f, 1.0f);
|
||||||
|
Log.Information(
|
||||||
|
$"Migrated pre-v13 HellionThemeWindowOpacity {legacy} to WindowOpacity {Config.WindowOpacity}");
|
||||||
|
}
|
||||||
|
|
||||||
Config.ReduceMotion = false;
|
Config.ReduceMotion = false;
|
||||||
Config.UseCompactDensity = false;
|
Config.UseCompactDensity = false;
|
||||||
Config.Version = 14;
|
Config.Version = 14;
|
||||||
@@ -438,6 +452,12 @@ public sealed class Plugin : IDalamudPlugin
|
|||||||
ThemeRegistry = new Themes.ThemeRegistry(customThemesDir);
|
ThemeRegistry = new Themes.ThemeRegistry(customThemesDir);
|
||||||
ThemeRegistry.Switch(Config.Theme);
|
ThemeRegistry.Switch(Config.Theme);
|
||||||
|
|
||||||
|
// Plugin integrations register their IPC subscribers up-front so
|
||||||
|
// Ready/Disposing events from the target plugins are caught from
|
||||||
|
// the very first frame, even if the user's Honorific reloads
|
||||||
|
// mid-session. See HellionChat/Integrations/HonorificService.cs.
|
||||||
|
HonorificService = new Integrations.HonorificService(Interface, Log, Framework);
|
||||||
|
|
||||||
StatusBar = new Ui.StatusBar();
|
StatusBar = new Ui.StatusBar();
|
||||||
|
|
||||||
MessageManager = new MessageManager(this); // Does it require UI?
|
MessageManager = new MessageManager(this); // Does it require UI?
|
||||||
@@ -529,6 +549,16 @@ public sealed class Plugin : IDalamudPlugin
|
|||||||
Framework.Update -= FrameworkUpdate;
|
Framework.Update -= FrameworkUpdate;
|
||||||
GameFunctions.GameFunctions.SetChatInteractable(true);
|
GameFunctions.GameFunctions.SetChatInteractable(true);
|
||||||
|
|
||||||
|
// FrameworkUpdate would have fired the pending save in N frames,
|
||||||
|
// but we just unsubscribed it. -1 is the idle sentinel.
|
||||||
|
if (DeferredSaveFrames >= 0)
|
||||||
|
{
|
||||||
|
SaveConfig();
|
||||||
|
DeferredSaveFrames = -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
HonorificService?.Dispose();
|
||||||
|
|
||||||
WindowSystem?.RemoveAllWindows();
|
WindowSystem?.RemoveAllWindows();
|
||||||
ChatLogWindow?.Dispose();
|
ChatLogWindow?.Dispose();
|
||||||
DbViewer?.Dispose();
|
DbViewer?.Dispose();
|
||||||
@@ -551,6 +581,40 @@ public sealed class Plugin : IDalamudPlugin
|
|||||||
EmoteCache.Dispose();
|
EmoteCache.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Reads HellionThemeWindowOpacity from the pre-v13 backup the v12→v13
|
||||||
|
// block writes alongside the live config. Null when absent, unreadable,
|
||||||
|
// or schema-incompatible — all valid steady states (fresh install,
|
||||||
|
// backup pruned, pre-v12 config). Errors log at Warning so a corrupted
|
||||||
|
// backup stays visible in /xllog without breaking the migration.
|
||||||
|
private static float? TryReadPreV13ThemeOpacity()
|
||||||
|
{
|
||||||
|
var pluginConfigsDir = Interface.ConfigDirectory.Parent?.FullName;
|
||||||
|
if (pluginConfigsDir is null)
|
||||||
|
return null;
|
||||||
|
|
||||||
|
var backupPath = Path.Combine(pluginConfigsDir, $"{Interface.InternalName}.json.pre-v13-backup");
|
||||||
|
if (!File.Exists(backupPath))
|
||||||
|
return null;
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
using var stream = File.OpenRead(backupPath);
|
||||||
|
using var doc = System.Text.Json.JsonDocument.Parse(stream);
|
||||||
|
if (doc.RootElement.TryGetProperty("HellionThemeWindowOpacity", out var prop)
|
||||||
|
&& prop.ValueKind == System.Text.Json.JsonValueKind.Number
|
||||||
|
&& prop.TryGetSingle(out var value))
|
||||||
|
{
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Log.Warning(ex, "HellionChat: pre-v13 backup lookup failed, defaulting WindowOpacity");
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private static void MigrateFromChatTwoLayout()
|
private static void MigrateFromChatTwoLayout()
|
||||||
{
|
{
|
||||||
var pluginConfigsDir = Interface.ConfigDirectory.Parent?.FullName;
|
var pluginConfigsDir = Interface.ConfigDirectory.Parent?.FullName;
|
||||||
@@ -682,6 +746,11 @@ public sealed class Plugin : IDalamudPlugin
|
|||||||
policy[(int)(ushort)type] = days;
|
policy[(int)(ushort)type] = days;
|
||||||
var defaultDays = Config.RetentionDefaultDays;
|
var defaultDays = Config.RetentionDefaultDays;
|
||||||
|
|
||||||
|
// IsBackground = true for the same reason as PendingMessageThread:
|
||||||
|
// a stuck sweep must never block plugin unload. RunRetentionSweepIfDue
|
||||||
|
// guards the run-frequency, and the sweep itself uses the framework's
|
||||||
|
// cooperative cancellation pattern. The background flag is the safety
|
||||||
|
// net if the sweep ever takes longer than expected.
|
||||||
new Thread(() =>
|
new Thread(() =>
|
||||||
{
|
{
|
||||||
// Bail out cheaply if a manual sweep is already in flight; the
|
// Bail out cheaply if a manual sweep is already in flight; the
|
||||||
|
|||||||
+32
@@ -331,6 +331,8 @@ internal class HellionStrings
|
|||||||
internal static string Settings_Card_FontsAndColours_Subtext => Get(nameof(Settings_Card_FontsAndColours_Subtext));
|
internal static string Settings_Card_FontsAndColours_Subtext => Get(nameof(Settings_Card_FontsAndColours_Subtext));
|
||||||
internal static string Settings_Card_DataManagement_Title => Get(nameof(Settings_Card_DataManagement_Title));
|
internal static string Settings_Card_DataManagement_Title => Get(nameof(Settings_Card_DataManagement_Title));
|
||||||
internal static string Settings_Card_DataManagement_Subtext => Get(nameof(Settings_Card_DataManagement_Subtext));
|
internal static string Settings_Card_DataManagement_Subtext => Get(nameof(Settings_Card_DataManagement_Subtext));
|
||||||
|
internal static string Settings_Card_Integrations_Title => Get(nameof(Settings_Card_Integrations_Title));
|
||||||
|
internal static string Settings_Card_Integrations_Subtext => Get(nameof(Settings_Card_Integrations_Subtext));
|
||||||
|
|
||||||
// Hellion Chat — v1.2.1 Theme & Layout tab section headings + WindowOpacity slider
|
// Hellion Chat — v1.2.1 Theme & Layout tab section headings + WindowOpacity slider
|
||||||
internal static string Settings_ThemeAndLayout_Theme_Heading => Get(nameof(Settings_ThemeAndLayout_Theme_Heading));
|
internal static string Settings_ThemeAndLayout_Theme_Heading => Get(nameof(Settings_ThemeAndLayout_Theme_Heading));
|
||||||
@@ -356,4 +358,34 @@ internal class HellionStrings
|
|||||||
|
|
||||||
// Hellion Chat — v1.2.1 Migration v15 → v16 toast
|
// Hellion Chat — v1.2.1 Migration v15 → v16 toast
|
||||||
internal static string Migration_v16_OverrideStyle_Toast => Get(nameof(Migration_v16_OverrideStyle_Toast));
|
internal static string Migration_v16_OverrideStyle_Toast => Get(nameof(Migration_v16_OverrideStyle_Toast));
|
||||||
|
|
||||||
|
// Hellion Chat — v1.3.0 Integrations tab (Honorific + Coming-Soon roadmap)
|
||||||
|
internal static string Settings_Tab_Integrations => Get(nameof(Settings_Tab_Integrations));
|
||||||
|
internal static string Settings_Integrations_Intro => Get(nameof(Settings_Integrations_Intro));
|
||||||
|
internal static string Settings_Integrations_Honorific_SectionHeader => Get(nameof(Settings_Integrations_Honorific_SectionHeader));
|
||||||
|
internal static string Settings_Integrations_Honorific_Status_Detected => Get(nameof(Settings_Integrations_Honorific_Status_Detected));
|
||||||
|
internal static string Settings_Integrations_Honorific_Status_NotInstalled => Get(nameof(Settings_Integrations_Honorific_Status_NotInstalled));
|
||||||
|
internal static string Settings_Integrations_Honorific_Status_Incompatible => Get(nameof(Settings_Integrations_Honorific_Status_Incompatible));
|
||||||
|
internal static string Settings_Integrations_Honorific_Toggle => Get(nameof(Settings_Integrations_Honorific_Toggle));
|
||||||
|
internal static string Settings_Integrations_Honorific_ToggleHint => Get(nameof(Settings_Integrations_Honorific_ToggleHint));
|
||||||
|
internal static string Settings_Integrations_Honorific_LinkRepo => Get(nameof(Settings_Integrations_Honorific_LinkRepo));
|
||||||
|
internal static string Settings_Integrations_Honorific_LinkAuthor => Get(nameof(Settings_Integrations_Honorific_LinkAuthor));
|
||||||
|
internal static string Settings_Integrations_ComingSoon_SectionHeader => Get(nameof(Settings_Integrations_ComingSoon_SectionHeader));
|
||||||
|
internal static string Settings_Integrations_ComingSoon_Intro => Get(nameof(Settings_Integrations_ComingSoon_Intro));
|
||||||
|
internal static string Settings_Integrations_ComingSoon_ContextMenu_Title => Get(nameof(Settings_Integrations_ComingSoon_ContextMenu_Title));
|
||||||
|
internal static string Settings_Integrations_ComingSoon_ContextMenu_Description => Get(nameof(Settings_Integrations_ComingSoon_ContextMenu_Description));
|
||||||
|
internal static string Settings_Integrations_ComingSoon_Notifications_Title => Get(nameof(Settings_Integrations_ComingSoon_Notifications_Title));
|
||||||
|
internal static string Settings_Integrations_ComingSoon_Notifications_Description => Get(nameof(Settings_Integrations_ComingSoon_Notifications_Description));
|
||||||
|
internal static string Settings_Integrations_ComingSoon_RPStatus_Title => Get(nameof(Settings_Integrations_ComingSoon_RPStatus_Title));
|
||||||
|
internal static string Settings_Integrations_ComingSoon_RPStatus_Description => Get(nameof(Settings_Integrations_ComingSoon_RPStatus_Description));
|
||||||
|
internal static string Settings_Integrations_ComingSoon_ExtraChat_Title => Get(nameof(Settings_Integrations_ComingSoon_ExtraChat_Title));
|
||||||
|
internal static string Settings_Integrations_ComingSoon_ExtraChat_Description => Get(nameof(Settings_Integrations_ComingSoon_ExtraChat_Description));
|
||||||
|
internal static string Settings_Integrations_ComingSoon_QuickDM_Title => Get(nameof(Settings_Integrations_ComingSoon_QuickDM_Title));
|
||||||
|
internal static string Settings_Integrations_ComingSoon_QuickDM_Description => Get(nameof(Settings_Integrations_ComingSoon_QuickDM_Description));
|
||||||
|
internal static string Settings_Integrations_GotAnIdea_SectionHeader => Get(nameof(Settings_Integrations_GotAnIdea_SectionHeader));
|
||||||
|
internal static string Settings_Integrations_GotAnIdea_Body => Get(nameof(Settings_Integrations_GotAnIdea_Body));
|
||||||
|
internal static string Settings_Integrations_GotAnIdea_LinkLabel => Get(nameof(Settings_Integrations_GotAnIdea_LinkLabel));
|
||||||
|
|
||||||
|
// Hellion Chat — v1.3.0 Honorific title slot tooltip
|
||||||
|
internal static string ChatHeader_HonorificTitle_Tooltip => Get(nameof(ChatHeader_HonorificTitle_Tooltip));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -746,6 +746,12 @@
|
|||||||
<data name="Settings_Card_DataManagement_Subtext" xml:space="preserve">
|
<data name="Settings_Card_DataManagement_Subtext" xml:space="preserve">
|
||||||
<value>Was passiert mit gespeicherten Daten — Aufbewahrung, Aufräumen, Export, DB-Stats.</value>
|
<value>Was passiert mit gespeicherten Daten — Aufbewahrung, Aufräumen, Export, DB-Stats.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Settings_Card_Integrations_Title" xml:space="preserve">
|
||||||
|
<value>Integrationen</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Card_Integrations_Subtext" xml:space="preserve">
|
||||||
|
<value>Andere Dalamud-Plugins, mit denen HellionChat zusammenarbeitet. Auto-detected, mit Vorschau auf kommende Integrationen.</value>
|
||||||
|
</data>
|
||||||
<data name="Settings_ThemeAndLayout_Theme_Heading" xml:space="preserve">
|
<data name="Settings_ThemeAndLayout_Theme_Heading" xml:space="preserve">
|
||||||
<value>Theme</value>
|
<value>Theme</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -791,4 +797,82 @@
|
|||||||
<data name="Migration_v16_OverrideStyle_Toast" xml:space="preserve">
|
<data name="Migration_v16_OverrideStyle_Toast" xml:space="preserve">
|
||||||
<value>Hellion Chat 1.2.1 hat das Settings-Menü neu sortiert und die alte „Stilüberschreiben"-Option entfernt (überholt durch das Theme-System aus 1.1.0). Deine restlichen Einstellungen bleiben unverändert. Die Fenster-Transparenz ist nach „Theme & Layout" migriert. Ein Backup der vorherigen Config liegt unter pluginConfigs/HellionChat.json.pre-v16-backup neben der aktiven HellionChat.json.</value>
|
<value>Hellion Chat 1.2.1 hat das Settings-Menü neu sortiert und die alte „Stilüberschreiben"-Option entfernt (überholt durch das Theme-System aus 1.1.0). Deine restlichen Einstellungen bleiben unverändert. Die Fenster-Transparenz ist nach „Theme & Layout" migriert. Ein Backup der vorherigen Config liegt unter pluginConfigs/HellionChat.json.pre-v16-backup neben der aktiven HellionChat.json.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Settings_Tab_Integrations" xml:space="preserve">
|
||||||
|
<value>Integrationen</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Intro" xml:space="preserve">
|
||||||
|
<value>Plugin-Integrationen lassen HellionChat mit anderen installierten Dalamud-Plugins zusammenarbeiten. Jede Integration erkennt ihr Ziel automatisch und deaktiviert sich still, wenn das Ziel-Plugin fehlt.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_SectionHeader" xml:space="preserve">
|
||||||
|
<value>Honorific</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_Status_Detected" xml:space="preserve">
|
||||||
|
<value>Erkannt (v{0}.{1})</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_Status_NotInstalled" xml:space="preserve">
|
||||||
|
<value>Nicht installiert</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_Status_Incompatible" xml:space="preserve">
|
||||||
|
<value>Inkompatible API-Version ({0} erwartet, {1}.{2} gefunden)</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_Toggle" xml:space="preserve">
|
||||||
|
<value>Honorific-Titel im Chat-Header anzeigen</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_ToggleHint" xml:space="preserve">
|
||||||
|
<value>Zeigt deinen Custom-Titel aus Honorific im Header über dem Chat-Log an, in der von dir gewählten Farbe.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_LinkRepo" xml:space="preserve">
|
||||||
|
<value>Honorific auf GitHub</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_LinkAuthor" xml:space="preserve">
|
||||||
|
<value>von Caraxi</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_SectionHeader" xml:space="preserve">
|
||||||
|
<value>Demnächst</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_Intro" xml:space="preserve">
|
||||||
|
<value>Diese Integrationen sind auf der Roadmap. Die Einstellungen erscheinen automatisch, sobald das jeweilige Plugin angebunden ist.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_ContextMenu_Title" xml:space="preserve">
|
||||||
|
<value>Kontextmenü-Aktionen</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_ContextMenu_Description" xml:space="preserve">
|
||||||
|
<value>Rechtsklick auf einen Namen im Chat: zu PlayerTrack springen, Lodestone-Profil öffnen oder mit einem Klick eine DM verfassen.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_Notifications_Title" xml:space="preserve">
|
||||||
|
<value>Smart Notifications (NotificationMaster)</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_Notifications_Description" xml:space="preserve">
|
||||||
|
<value>Mentions und DMs über NotificationMaster: System-Toasts, Taskbar-Flash und Sounds pro Channel.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_RPStatus_Title" xml:space="preserve">
|
||||||
|
<value>RP-Status-Block (Moodles · LightlessClient)</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_RPStatus_Description" xml:space="preserve">
|
||||||
|
<value>Moodles-Status-Icons und Pair-Badges direkt neben den Chat-Namen anzeigen, für mehr Roleplay-Kontext.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_ExtraChat_Title" xml:space="preserve">
|
||||||
|
<value>ExtraChat-Channels</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_ExtraChat_Description" xml:space="preserve">
|
||||||
|
<value>End-to-End-verschlüsselte Cross-Datacenter-Linkshells nativ in HellionChat hosten.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_QuickDM_Title" xml:space="preserve">
|
||||||
|
<value>Quick-DM-Button (XIVInstantMessenger)</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_QuickDM_Description" xml:space="preserve">
|
||||||
|
<value>DM-Schnellzugriff direkt aus dem Chat-Fenster, ein Klick.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_GotAnIdea_SectionHeader" xml:space="preserve">
|
||||||
|
<value>Idee?</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_GotAnIdea_Body" xml:space="preserve">
|
||||||
|
<value>Idee für eine Plugin-Integration, die nicht auf der Liste steht? Komm auf den Hellion-Forge-Discord und schreib mir. Community-Input bestimmt die Roadmap.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_GotAnIdea_LinkLabel" xml:space="preserve">
|
||||||
|
<value>Hellion Forge öffnen</value>
|
||||||
|
</data>
|
||||||
|
<data name="ChatHeader_HonorificTitle_Tooltip" xml:space="preserve">
|
||||||
|
<value>Custom-Titel von Honorific</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
|
|||||||
@@ -746,6 +746,12 @@
|
|||||||
<data name="Settings_Card_DataManagement_Subtext" xml:space="preserve">
|
<data name="Settings_Card_DataManagement_Subtext" xml:space="preserve">
|
||||||
<value>What happens to stored data — retention, cleanup, export, DB stats.</value>
|
<value>What happens to stored data — retention, cleanup, export, DB stats.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Settings_Card_Integrations_Title" xml:space="preserve">
|
||||||
|
<value>Integrations</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Card_Integrations_Subtext" xml:space="preserve">
|
||||||
|
<value>Other Dalamud plugins HellionChat reacts to. Auto-detected, with a "coming soon" preview of upcoming integrations.</value>
|
||||||
|
</data>
|
||||||
<data name="Settings_ThemeAndLayout_Theme_Heading" xml:space="preserve">
|
<data name="Settings_ThemeAndLayout_Theme_Heading" xml:space="preserve">
|
||||||
<value>Theme</value>
|
<value>Theme</value>
|
||||||
</data>
|
</data>
|
||||||
@@ -791,4 +797,82 @@
|
|||||||
<data name="Migration_v16_OverrideStyle_Toast" xml:space="preserve">
|
<data name="Migration_v16_OverrideStyle_Toast" xml:space="preserve">
|
||||||
<value>Hellion Chat 1.2.1 reorganised the Settings menu and removed the legacy "Style override" option (made obsolete by the Themes system in 1.1.0). Your other settings are unchanged. Window opacity was migrated to Theme & Layout. A backup of your previous config is at pluginConfigs/HellionChat.json.pre-v16-backup next to the live HellionChat.json.</value>
|
<value>Hellion Chat 1.2.1 reorganised the Settings menu and removed the legacy "Style override" option (made obsolete by the Themes system in 1.1.0). Your other settings are unchanged. Window opacity was migrated to Theme & Layout. A backup of your previous config is at pluginConfigs/HellionChat.json.pre-v16-backup next to the live HellionChat.json.</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="Settings_Tab_Integrations" xml:space="preserve">
|
||||||
|
<value>Integrations</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Intro" xml:space="preserve">
|
||||||
|
<value>Plugin integrations let HellionChat react to other installed Dalamud plugins. Each integration auto-detects its target and silently disables itself when the target plugin is not present.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_SectionHeader" xml:space="preserve">
|
||||||
|
<value>Honorific</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_Status_Detected" xml:space="preserve">
|
||||||
|
<value>Detected (v{0}.{1})</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_Status_NotInstalled" xml:space="preserve">
|
||||||
|
<value>Not installed</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_Status_Incompatible" xml:space="preserve">
|
||||||
|
<value>Incompatible API version ({0} expected, {1}.{2} detected)</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_Toggle" xml:space="preserve">
|
||||||
|
<value>Show Honorific title in chat header</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_ToggleHint" xml:space="preserve">
|
||||||
|
<value>Displays your custom title from Honorific in the header above the chat log, in your chosen colour.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_LinkRepo" xml:space="preserve">
|
||||||
|
<value>Honorific on GitHub</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_Honorific_LinkAuthor" xml:space="preserve">
|
||||||
|
<value>by Caraxi</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_SectionHeader" xml:space="preserve">
|
||||||
|
<value>Coming soon</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_Intro" xml:space="preserve">
|
||||||
|
<value>These integrations are on the roadmap. The settings for each appear automatically once the underlying plugin is wired up.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_ContextMenu_Title" xml:space="preserve">
|
||||||
|
<value>Context menu actions</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_ContextMenu_Description" xml:space="preserve">
|
||||||
|
<value>Right-click a name in chat to jump to PlayerTrack, open the Lodestone profile, or compose a DM in one click.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_Notifications_Title" xml:space="preserve">
|
||||||
|
<value>Smart notifications (NotificationMaster)</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_Notifications_Description" xml:space="preserve">
|
||||||
|
<value>Route mentions and DMs through NotificationMaster for system toasts, taskbar flash, and per-channel sounds.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_RPStatus_Title" xml:space="preserve">
|
||||||
|
<value>RP status block (Moodles · LightlessClient)</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_RPStatus_Description" xml:space="preserve">
|
||||||
|
<value>Show Moodles status icons and pair-badges inline next to chat names for richer roleplay context.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_ExtraChat_Title" xml:space="preserve">
|
||||||
|
<value>ExtraChat channels</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_ExtraChat_Description" xml:space="preserve">
|
||||||
|
<value>Host end-to-end-encrypted cross-datacenter linkshells natively in HellionChat.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_QuickDM_Title" xml:space="preserve">
|
||||||
|
<value>Quick DM button (XIVInstantMessenger)</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_ComingSoon_QuickDM_Description" xml:space="preserve">
|
||||||
|
<value>One-click DM compose without leaving the chat window.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_GotAnIdea_SectionHeader" xml:space="preserve">
|
||||||
|
<value>Got an idea?</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_GotAnIdea_Body" xml:space="preserve">
|
||||||
|
<value>Got an idea for a plugin integration that's not on this list? Hop on the Hellion Forge Discord and tell me. Community input drives the roadmap.</value>
|
||||||
|
</data>
|
||||||
|
<data name="Settings_Integrations_GotAnIdea_LinkLabel" xml:space="preserve">
|
||||||
|
<value>Open Hellion Forge</value>
|
||||||
|
</data>
|
||||||
|
<data name="ChatHeader_HonorificTitle_Tooltip" xml:space="preserve">
|
||||||
|
<value>Honorific custom title</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ using System.Text;
|
|||||||
using HellionChat.Code;
|
using HellionChat.Code;
|
||||||
using HellionChat.GameFunctions;
|
using HellionChat.GameFunctions;
|
||||||
using HellionChat.GameFunctions.Types;
|
using HellionChat.GameFunctions.Types;
|
||||||
|
using HellionChat.Integrations;
|
||||||
using HellionChat.Resources;
|
using HellionChat.Resources;
|
||||||
using HellionChat.Util;
|
using HellionChat.Util;
|
||||||
using Dalamud.Game.Addon.Lifecycle;
|
using Dalamud.Game.Addon.Lifecycle;
|
||||||
@@ -1681,7 +1682,17 @@ public sealed class ChatLogWindow : Window
|
|||||||
// log so users discover the feature without having to right-click the tab.
|
// log so users discover the feature without having to right-click the tab.
|
||||||
// Renders only for the active tab in the main ChatLogWindow; pop-out
|
// Renders only for the active tab in the main ChatLogWindow; pop-out
|
||||||
// windows have their own render path and skip this toolbar.
|
// windows have their own render path and skip this toolbar.
|
||||||
|
//
|
||||||
|
// Hellion Chat v1.3.0 also renders the optional Honorific title slot
|
||||||
|
// left of the pop-out button, when HonorificService reports an active
|
||||||
|
// custom title and the user has ShowHonorificTitleInHeader enabled.
|
||||||
private void DrawChatHeaderToolbar(Tab tab)
|
private void DrawChatHeaderToolbar(Tab tab)
|
||||||
|
{
|
||||||
|
DrawHonorificTitleSlot();
|
||||||
|
DrawPopOutButton(tab);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DrawPopOutButton(Tab tab)
|
||||||
{
|
{
|
||||||
var avail = ImGui.GetContentRegionAvail().X;
|
var avail = ImGui.GetContentRegionAvail().X;
|
||||||
var iconWidth = ImGui.GetFrameHeight();
|
var iconWidth = ImGui.GetFrameHeight();
|
||||||
@@ -1694,6 +1705,81 @@ public sealed class ChatLogWindow : Window
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Renders the Honorific custom title to the left of the pop-out button,
|
||||||
|
// wrapped in guillemets to match how the game itself displays titles.
|
||||||
|
// We lay out the title first, then DrawPopOutButton uses
|
||||||
|
// GetContentRegionAvail to anchor itself flush right, which is why the
|
||||||
|
// call order in DrawChatHeaderToolbar matters: title first, button second.
|
||||||
|
//
|
||||||
|
// The slot stays on the same line as the pop-out button so the chat
|
||||||
|
// log doesn't lose vertical space; we use ImGui.SameLine after our
|
||||||
|
// text so the cursor X is still on the toolbar row when the pop-out
|
||||||
|
// button takes over.
|
||||||
|
private void DrawHonorificTitleSlot()
|
||||||
|
{
|
||||||
|
var service = Plugin.HonorificService;
|
||||||
|
var title = service.CurrentTitle;
|
||||||
|
if (!HonorificService.ShouldRenderSlot(
|
||||||
|
Plugin.Config.ShowHonorificTitleInHeader,
|
||||||
|
service.IsAvailable,
|
||||||
|
title))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Reserve space for the crown icon plus a small gap before the title,
|
||||||
|
// then the title itself, then the gap-to-pop-out-button. We measure the
|
||||||
|
// crown width inside the FontAwesome font push because FontAwesome
|
||||||
|
// glyphs render in a different font than the regular ImGui text.
|
||||||
|
const float gapAfterCrown = 4f;
|
||||||
|
const float gapBeforeButton = 8f;
|
||||||
|
var avail = ImGui.GetContentRegionAvail().X;
|
||||||
|
var iconWidth = ImGui.GetFrameHeight();
|
||||||
|
|
||||||
|
float crownWidth;
|
||||||
|
using (Plugin.FontManager.FontAwesome.Push())
|
||||||
|
{
|
||||||
|
crownWidth = ImGui.CalcTextSize(FontAwesomeIcon.Crown.ToIconString()).X;
|
||||||
|
}
|
||||||
|
|
||||||
|
var maxTitleWidth = avail - iconWidth - gapBeforeButton - crownWidth - gapAfterCrown;
|
||||||
|
if (maxTitleWidth <= 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var rendered = "«" + title!.Title + "»";
|
||||||
|
rendered = StringUtil.TruncateToFitWidth(rendered, maxTitleWidth);
|
||||||
|
|
||||||
|
var titleColor = title.Color is { } c
|
||||||
|
? new Vector4(c.X, c.Y, c.Z, 1f)
|
||||||
|
: ImGui.GetStyle().Colors[(int)ImGuiCol.Text];
|
||||||
|
|
||||||
|
var theme = Plugin.ThemeRegistry.Active;
|
||||||
|
|
||||||
|
// Group so the tooltip's IsItemHovered check fires for hover anywhere
|
||||||
|
// on the crown-plus-title pair, not just one of the two.
|
||||||
|
ImGui.BeginGroup();
|
||||||
|
using (ImRaii.PushColor(ImGuiCol.Text, ColourUtil.RgbaToAbgr(theme.Colors.TextMuted)))
|
||||||
|
using (Plugin.FontManager.FontAwesome.Push())
|
||||||
|
{
|
||||||
|
ImGui.TextUnformatted(FontAwesomeIcon.Crown.ToIconString());
|
||||||
|
}
|
||||||
|
ImGui.SameLine(0f, gapAfterCrown);
|
||||||
|
using (ImRaii.PushColor(ImGuiCol.Text, titleColor))
|
||||||
|
{
|
||||||
|
ImGui.TextUnformatted(rendered);
|
||||||
|
}
|
||||||
|
ImGui.EndGroup();
|
||||||
|
|
||||||
|
if (ImGui.IsItemHovered())
|
||||||
|
{
|
||||||
|
ImGui.SetTooltip(HellionStrings.ChatHeader_HonorificTitle_Tooltip);
|
||||||
|
}
|
||||||
|
|
||||||
|
ImGui.SameLine();
|
||||||
|
}
|
||||||
|
|
||||||
// Hellion Chat v0.6.1 — One-Time-Hint-Banner introducing the chat header
|
// Hellion Chat v0.6.1 — One-Time-Hint-Banner introducing the chat header
|
||||||
// pop-out toolbar button and the right-click pathway. Reuses the visual
|
// pop-out toolbar button and the right-click pathway. Reuses the visual
|
||||||
// pattern from Popout.cs DrawHintBannerIfNeeded so users see a familiar
|
// pattern from Popout.cs DrawHintBannerIfNeeded so users see a familiar
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ public sealed class SettingsWindow : Dalamud.Interface.Windowing.Window
|
|||||||
new SettingsTabs.Tabs(Plugin, Mutable),
|
new SettingsTabs.Tabs(Plugin, Mutable),
|
||||||
new SettingsTabs.Privacy(Plugin, Mutable),
|
new SettingsTabs.Privacy(Plugin, Mutable),
|
||||||
new DataManagement(Plugin, Mutable),
|
new DataManagement(Plugin, Mutable),
|
||||||
|
new SettingsTabs.Integrations(Plugin, Mutable),
|
||||||
new Information(Mutable),
|
new Information(Mutable),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ internal sealed class SettingsOverview
|
|||||||
(FontAwesomeIcon.FolderTree, "Settings_Card_Tabs_Title", "Settings_Card_Tabs_Subtext"),
|
(FontAwesomeIcon.FolderTree, "Settings_Card_Tabs_Title", "Settings_Card_Tabs_Subtext"),
|
||||||
(FontAwesomeIcon.ShieldAlt, "Settings_Card_Privacy_Title", "Settings_Card_Privacy_Subtext"),
|
(FontAwesomeIcon.ShieldAlt, "Settings_Card_Privacy_Title", "Settings_Card_Privacy_Subtext"),
|
||||||
(FontAwesomeIcon.Database, "Settings_Card_DataManagement_Title", "Settings_Card_DataManagement_Subtext"),
|
(FontAwesomeIcon.Database, "Settings_Card_DataManagement_Title", "Settings_Card_DataManagement_Subtext"),
|
||||||
|
(FontAwesomeIcon.Plug, "Settings_Card_Integrations_Title", "Settings_Card_Integrations_Subtext"),
|
||||||
(FontAwesomeIcon.InfoCircle, "Settings_Card_Information_Title", "Settings_Card_Information_Subtext"),
|
(FontAwesomeIcon.InfoCircle, "Settings_Card_Information_Title", "Settings_Card_Information_Subtext"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,191 @@
|
|||||||
|
using Dalamud.Bindings.ImGui;
|
||||||
|
using Dalamud.Interface;
|
||||||
|
using Dalamud.Interface.Utility.Raii;
|
||||||
|
using HellionChat.Branding;
|
||||||
|
using HellionChat.Integrations;
|
||||||
|
using HellionChat.Resources;
|
||||||
|
using HellionChat.Util;
|
||||||
|
|
||||||
|
namespace HellionChat.Ui.SettingsTabs;
|
||||||
|
|
||||||
|
// First settings tab introduced in v1.3.0 (Plugin Integrations Cycle 1).
|
||||||
|
// Designed to grow organically: each future cycle adds a new section above
|
||||||
|
// the "Coming soon" block and removes the corresponding stub item.
|
||||||
|
internal sealed class Integrations : ISettingsTab
|
||||||
|
{
|
||||||
|
private Plugin Plugin { get; }
|
||||||
|
private Configuration Mutable { get; }
|
||||||
|
|
||||||
|
public string Name => HellionStrings.Settings_Tab_Integrations + "###tabs-integrations";
|
||||||
|
|
||||||
|
internal Integrations(Plugin plugin, Configuration mutable)
|
||||||
|
{
|
||||||
|
Plugin = plugin;
|
||||||
|
Mutable = mutable;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Draw(bool changed)
|
||||||
|
{
|
||||||
|
ImGui.TextWrapped(HellionStrings.Settings_Integrations_Intro);
|
||||||
|
ImGui.Spacing();
|
||||||
|
ImGui.Spacing();
|
||||||
|
|
||||||
|
DrawHonorificSection();
|
||||||
|
ImGui.Spacing();
|
||||||
|
ImGui.Spacing();
|
||||||
|
|
||||||
|
DrawComingSoonSection();
|
||||||
|
ImGui.Spacing();
|
||||||
|
ImGui.Spacing();
|
||||||
|
|
||||||
|
DrawGotAnIdeaSection();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DrawHonorificSection()
|
||||||
|
{
|
||||||
|
DrawSectionHeader(HellionStrings.Settings_Integrations_Honorific_SectionHeader);
|
||||||
|
|
||||||
|
DrawHonorificStatus();
|
||||||
|
ImGui.Spacing();
|
||||||
|
|
||||||
|
// The toggle is enabled regardless of detection state — leaving it
|
||||||
|
// on means "render when available, hide otherwise". Disabling the
|
||||||
|
// toggle when Honorific is missing would force the user to retoggle
|
||||||
|
// it every time Honorific is reloaded, which is worse UX than the
|
||||||
|
// silent auto-hide.
|
||||||
|
if (ImGui.Checkbox(
|
||||||
|
HellionStrings.Settings_Integrations_Honorific_Toggle,
|
||||||
|
ref Mutable.ShowHonorificTitleInHeader))
|
||||||
|
{
|
||||||
|
Plugin.SaveConfig();
|
||||||
|
}
|
||||||
|
|
||||||
|
using (ImRaii.PushIndent())
|
||||||
|
{
|
||||||
|
using (ImRaii.PushColor(ImGuiCol.Text, ColourUtil.RgbaToAbgr(Plugin.ThemeRegistry.Active.Colors.TextMuted)))
|
||||||
|
{
|
||||||
|
ImGui.TextWrapped(HellionStrings.Settings_Integrations_Honorific_ToggleHint);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Maintainer attribution. Honorific has no LICENSE in its repo so we
|
||||||
|
// can't bundle its assets, but linking to the upstream and the
|
||||||
|
// author's profile is the polite minimum. Plain ImGui buttons keep
|
||||||
|
// the visual weight modest, the FontAwesome Brands subset is not
|
||||||
|
// guaranteed in Dalamud's font set so we use text labels.
|
||||||
|
ImGui.Spacing();
|
||||||
|
if (ImGui.Button(HellionStrings.Settings_Integrations_Honorific_LinkRepo))
|
||||||
|
{
|
||||||
|
Dalamud.Utility.Util.OpenLink(IntegrationLinks.HonorificRepo);
|
||||||
|
}
|
||||||
|
ImGui.SameLine();
|
||||||
|
if (ImGui.Button(HellionStrings.Settings_Integrations_Honorific_LinkAuthor))
|
||||||
|
{
|
||||||
|
Dalamud.Utility.Util.OpenLink(IntegrationLinks.HonorificAuthor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DrawHonorificStatus()
|
||||||
|
{
|
||||||
|
var theme = Plugin.ThemeRegistry.Active;
|
||||||
|
var service = Plugin.HonorificService;
|
||||||
|
|
||||||
|
if (service.IsAvailable && service.DetectedApiVersion is { } version)
|
||||||
|
{
|
||||||
|
DrawStatusGlyph('●', theme.Colors.StatusSuccess);
|
||||||
|
ImGui.SameLine();
|
||||||
|
ImGui.TextUnformatted(string.Format(
|
||||||
|
HellionStrings.Settings_Integrations_Honorific_Status_Detected,
|
||||||
|
version.Major, version.Minor));
|
||||||
|
}
|
||||||
|
else if (service.DetectedApiVersion is { } incompatibleVersion)
|
||||||
|
{
|
||||||
|
DrawStatusGlyph('⚠', theme.Colors.StatusWarning);
|
||||||
|
ImGui.SameLine();
|
||||||
|
ImGui.TextUnformatted(string.Format(
|
||||||
|
HellionStrings.Settings_Integrations_Honorific_Status_Incompatible,
|
||||||
|
HonorificService.ExpectedApiMajor, incompatibleVersion.Major, incompatibleVersion.Minor));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
DrawStatusGlyph('○', theme.Colors.TextMuted);
|
||||||
|
ImGui.SameLine();
|
||||||
|
ImGui.TextUnformatted(HellionStrings.Settings_Integrations_Honorific_Status_NotInstalled);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void DrawStatusGlyph(char glyph, uint rgba)
|
||||||
|
{
|
||||||
|
using (ImRaii.PushColor(ImGuiCol.Text, ColourUtil.RgbaToAbgr(rgba)))
|
||||||
|
{
|
||||||
|
ImGui.TextUnformatted(glyph.ToString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DrawComingSoonSection()
|
||||||
|
{
|
||||||
|
DrawSectionHeader(HellionStrings.Settings_Integrations_ComingSoon_SectionHeader);
|
||||||
|
ImGui.TextWrapped(HellionStrings.Settings_Integrations_ComingSoon_Intro);
|
||||||
|
ImGui.Spacing();
|
||||||
|
|
||||||
|
// Static list maintained in code (not Configuration). Each cycle
|
||||||
|
// that lands a real integration removes its stub here and adds a
|
||||||
|
// full section above the Coming Soon block.
|
||||||
|
DrawComingSoonItem(
|
||||||
|
HellionStrings.Settings_Integrations_ComingSoon_ContextMenu_Title,
|
||||||
|
HellionStrings.Settings_Integrations_ComingSoon_ContextMenu_Description);
|
||||||
|
DrawComingSoonItem(
|
||||||
|
HellionStrings.Settings_Integrations_ComingSoon_Notifications_Title,
|
||||||
|
HellionStrings.Settings_Integrations_ComingSoon_Notifications_Description);
|
||||||
|
DrawComingSoonItem(
|
||||||
|
HellionStrings.Settings_Integrations_ComingSoon_RPStatus_Title,
|
||||||
|
HellionStrings.Settings_Integrations_ComingSoon_RPStatus_Description);
|
||||||
|
DrawComingSoonItem(
|
||||||
|
HellionStrings.Settings_Integrations_ComingSoon_ExtraChat_Title,
|
||||||
|
HellionStrings.Settings_Integrations_ComingSoon_ExtraChat_Description);
|
||||||
|
DrawComingSoonItem(
|
||||||
|
HellionStrings.Settings_Integrations_ComingSoon_QuickDM_Title,
|
||||||
|
HellionStrings.Settings_Integrations_ComingSoon_QuickDM_Description);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DrawComingSoonItem(string title, string description)
|
||||||
|
{
|
||||||
|
var theme = Plugin.ThemeRegistry.Active;
|
||||||
|
using (ImRaii.PushColor(ImGuiCol.Text, ColourUtil.RgbaToAbgr(theme.Colors.TextMuted)))
|
||||||
|
using (Plugin.FontManager.FontAwesome.Push())
|
||||||
|
{
|
||||||
|
ImGui.TextUnformatted(FontAwesomeIcon.Hourglass.ToIconString());
|
||||||
|
}
|
||||||
|
ImGui.SameLine();
|
||||||
|
ImGui.TextUnformatted(title);
|
||||||
|
using (ImRaii.PushIndent())
|
||||||
|
{
|
||||||
|
using (ImRaii.PushColor(ImGuiCol.Text, ColourUtil.RgbaToAbgr(theme.Colors.TextMuted)))
|
||||||
|
{
|
||||||
|
ImGui.TextWrapped(description);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
ImGui.Spacing();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DrawGotAnIdeaSection()
|
||||||
|
{
|
||||||
|
DrawSectionHeader(HellionStrings.Settings_Integrations_GotAnIdea_SectionHeader);
|
||||||
|
ImGui.TextWrapped(HellionStrings.Settings_Integrations_GotAnIdea_Body);
|
||||||
|
ImGui.Spacing();
|
||||||
|
|
||||||
|
if (ImGui.Button(HellionStrings.Settings_Integrations_GotAnIdea_LinkLabel))
|
||||||
|
{
|
||||||
|
Dalamud.Utility.Util.OpenLink(BrandingLinks.HellionForgeDiscordInvite);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DrawSectionHeader(string label)
|
||||||
|
{
|
||||||
|
var theme = Plugin.ThemeRegistry.Active;
|
||||||
|
using (ImRaii.PushColor(ImGuiCol.Text, ColourUtil.RgbaToAbgr(theme.Colors.Primary)))
|
||||||
|
{
|
||||||
|
ImGui.TextUnformatted("── " + label + " ──");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
using Dalamud.Bindings.ImGui;
|
||||||
|
|
||||||
namespace HellionChat.Util;
|
namespace HellionChat.Util;
|
||||||
|
|
||||||
@@ -29,4 +30,36 @@ internal static class StringUtil
|
|||||||
// separator to '.' so a German locale doesn't render "1,5GB".
|
// separator to '.' so a German locale doesn't render "1,5GB".
|
||||||
return (Math.Sign(byteCount) * num).ToString("0.#", CultureInfo.InvariantCulture) + suf[place];
|
return (Math.Sign(byteCount) * num).ToString("0.#", CultureInfo.InvariantCulture) + suf[place];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Returns the text unchanged when it already fits the width budget,
|
||||||
|
// otherwise the longest prefix plus a horizontal-ellipsis character that
|
||||||
|
// still fits. Used by the chat header Honorific title slot and reused by
|
||||||
|
// the chat-line truncation path in later cycles.
|
||||||
|
public static string TruncateToFitWidth(string text, float maxWidth)
|
||||||
|
{
|
||||||
|
if (ImGui.CalcTextSize(text).X <= maxWidth)
|
||||||
|
{
|
||||||
|
return text;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Binary-search the longest prefix that fits with an ellipsis.
|
||||||
|
const string ellipsis = "…";
|
||||||
|
var lo = 0;
|
||||||
|
var hi = text.Length;
|
||||||
|
while (lo < hi)
|
||||||
|
{
|
||||||
|
var mid = (lo + hi + 1) / 2;
|
||||||
|
var candidate = text[..mid] + ellipsis;
|
||||||
|
if (ImGui.CalcTextSize(candidate).X <= maxWidth)
|
||||||
|
{
|
||||||
|
lo = mid;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
hi = mid - 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return lo == 0 ? ellipsis : text[..lo] + ellipsis;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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.2.3** — 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.0** — 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.
|
||||||
|
|
||||||
@@ -74,6 +74,10 @@ Hellion Chat wird unter **Hellion Forge** entwickelt, der spezialisierten Moddin
|
|||||||
|
|
||||||
HellionChat bringt eine Theme-Engine mit derzeit neun eingebauten Themes (Hellion Arctic, Hellion Spectrum, Chat 2 Klassik, Event Horizon, Moonlit Bloom, Mint Grove, Night Blue, Indigo Violet, Forge Merchantman) und ein JSON-basiertes Authoring-Format für eigene Themes. Schema und Schritt-für-Schritt-Anleitung in [`docs/THEME-AUTHORING.md`](docs/THEME-AUTHORING.md). Hellion Spectrum ist Deuteran/Protan-safe (rot-grün-Farbenblindheit) auf Basis der Wong/Okabe-Ito-Palette.
|
HellionChat bringt eine Theme-Engine mit derzeit neun eingebauten Themes (Hellion Arctic, Hellion Spectrum, Chat 2 Klassik, Event Horizon, Moonlit Bloom, Mint Grove, Night Blue, Indigo Violet, Forge Merchantman) und ein JSON-basiertes Authoring-Format für eigene Themes. Schema und Schritt-für-Schritt-Anleitung in [`docs/THEME-AUTHORING.md`](docs/THEME-AUTHORING.md). Hellion Spectrum ist Deuteran/Protan-safe (rot-grün-Farbenblindheit) auf Basis der Wong/Okabe-Ito-Palette.
|
||||||
|
|
||||||
|
#### Plugin-Integrationen (v1.3.0)
|
||||||
|
|
||||||
|
- **Honorific Custom-Titles im Chat-Header.** Wenn das Honorific-Plugin aktiv ist und ein Custom-Title gesetzt ist, wird er im Chat-Header über dem Message-Log angezeigt. Auto-Detect mit silent Fallback: ohne Honorific ist der Slot unsichtbar. Toggle in Settings, Integrationen, Honorific. Erste Cycle einer mehrstufigen Plugin-Integrations-Roadmap (Context-Menu, NotificationMaster, RP-Status, ExtraChat und XIVIM folgen).
|
||||||
|
|
||||||
### Pop-Out Convenience (v0.6.0)
|
### Pop-Out Convenience (v0.6.0)
|
||||||
|
|
||||||
- **Eingabe-Bar in Pop-Out-Fenstern** als globaler Opt-In in Settings → Fenster → Fenster-Rahmen. Wenn aktiv, hat jedes Pop-Out-Window unten einen kompakten Input mit kanal-farbigem Icon-Button und Text-Eingabe. Kein Wechsel mehr ins Hauptfenster für eine schnelle Antwort.
|
- **Eingabe-Bar in Pop-Out-Fenstern** als globaler Opt-In in Settings → Fenster → Fenster-Rahmen. Wenn aktiv, hat jedes Pop-Out-Window unten einen kompakten Input mit kanal-farbigem Icon-Button und Text-Eingabe. Kein Wechsel mehr ins Hauptfenster für eine schnelle Antwort.
|
||||||
@@ -221,7 +225,7 @@ Eine optionale Submission ans Dalamud-Main-Plugin-Repo (zusätzlich zum eigenen
|
|||||||
|
|
||||||
## Projektstatus
|
## Projektstatus
|
||||||
|
|
||||||
**Version 1.2.3** — Theme-Katalog auf neun Built-ins erweitert, Settings thematisch re-sortiert, Standalone-Cut abgeschlossen (Stand: 2026-05-06).
|
**Version 1.4.0** — Critical Lifecycle Fixes: sieben Race- und Lifecycle-Bugs aus Audit-Pass-3 und Pass-4 abgearbeitet (GC.Collect aus SQLite-Dispose raus, Worker-Threads explizit IsBackground, EmoteCache async-void → async Task, DeferredSave-Race geschlossen, Pre-v13-Backup-Lookup für WindowOpacity-Migration). Erster 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,62 @@ und verlinkt für Details auf die Release-Pages.
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Hellion Chat 1.4.0 — Critical Lifecycle Fixes
|
||||||
|
|
||||||
|
First sub-patch of the v1.4.x Polish Sweep series. Seven
|
||||||
|
known lifecycle and race bugs eliminated before any
|
||||||
|
performance refactor sits on top.
|
||||||
|
|
||||||
|
- MessageStore disposal no longer triggers GC.Collect
|
||||||
|
globally; Pooling=false on the SQLite connection means
|
||||||
|
there's nothing left to clean up by hand
|
||||||
|
- PendingMessage and RetentionSweep worker threads are
|
||||||
|
explicitly marked IsBackground=true so the plugin domain
|
||||||
|
can unload during XIVLauncher reload without waiting
|
||||||
|
for them
|
||||||
|
- 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
|
||||||
|
- DisposeAsync 10s timeout now warns loudly instead of
|
||||||
|
silently leaving the worker behind
|
||||||
|
- 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
|
||||||
|
- 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
|
||||||
|
|
||||||
|
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.3.0 - Plugin Integrations: Honorific
|
||||||
|
|
||||||
|
First 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.
|
||||||
|
|
||||||
|
- New "Integrations" settings tab
|
||||||
|
- Honorific integration with auto-detection and live updates
|
||||||
|
- "Coming soon" preview of the next five planned integrations:
|
||||||
|
context menu actions, smart notifications, RP status block,
|
||||||
|
ExtraChat channels, and quick DM compose
|
||||||
|
- Maintainer attribution buttons for Honorific repo and Caraxi
|
||||||
|
- New service-class pattern under HellionChat/Integrations/
|
||||||
|
|
||||||
|
Modding and support: join Hellion Forge - https://discord.gg/X9V7Kcv5gR
|
||||||
|
|
||||||
|
Based on Chat 2 1.35.3 (upstream Infiziert90/ChatTwo, EUPL-1.2).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## v1.2.3 — Theme Expansion (2026-05-06)
|
## v1.2.3 — Theme Expansion (2026-05-06)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
+30
-6
@@ -12,13 +12,32 @@ Privacy-First-Schnittmenge des Plugins erweisen.
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Nächster Cycle (v1.3.0)
|
## Nächster Cycle (v1.4.1)
|
||||||
|
|
||||||
**Polish & Motion** — Theme-Crossfade, Header-Quick-Picker,
|
**Theme Engine Performance** — HellionStyle Heap-Pressure
|
||||||
Lerp-Animationen, ggf. Theme-Family-Picker (Carls Grün-Familie
|
eliminieren (StackHandle-Cache, ABGR-Cache auf Theme-Object,
|
||||||
mit Forest/Moss/Mint-Helligkeitsstufen).
|
spart 47 Heap-Allocs pro Frame), ThemeRegistry File-Lock-
|
||||||
|
Härtung beim Custom-Theme-Load.
|
||||||
|
|
||||||
Spec wird im Brainstorming-Cycle vor Beginn der Phase ausgearbeitet.
|
## v1.4.0 — Critical Lifecycle Fixes (released <Datum>)
|
||||||
|
|
||||||
|
Erster Sub-Patch der v1.4.x Polish-Sweep-Serie. Sieben P0-
|
||||||
|
Findings aus Audit-Pass-3 und Pass-4 abgearbeitet:
|
||||||
|
async-void-Loads, fehlende IsBackground-Flags, GC.Collect
|
||||||
|
in Dispose, DeferredSave-Race und Pre-v13-Backup-Lookup für
|
||||||
|
WindowOpacity. Keine Schema-Bumps, keine Funktions-
|
||||||
|
Änderungen für den User außer dass Reload und Shutdown
|
||||||
|
spürbar sauberer laufen.
|
||||||
|
|
||||||
|
## v1.3.0 - Plugin Integrations: Honorific (released 2026-05-07)
|
||||||
|
|
||||||
|
Erster Cycle der Plugin-Integrations-Roadmap. Honorific-Custom-
|
||||||
|
Titles werden im Chat-Header angezeigt, mit Auto-Detect und
|
||||||
|
silent Fallback. Neuer Integrations-Settings-Tab. Pattern-
|
||||||
|
Etablierer für die fünf folgenden Cycles (Context-Menu,
|
||||||
|
NotificationMaster, RP-Status-Block, ExtraChat, XIVIM).
|
||||||
|
|
||||||
|
Spec: [Plugin-Integrationen-Übersicht](../Hellion%20Chat%20Plugin-Integrationen.md)
|
||||||
|
|
||||||
## v1.2.3 — Theme Expansion (released 2026-05-06)
|
## v1.2.3 — Theme Expansion (released 2026-05-06)
|
||||||
|
|
||||||
@@ -50,8 +69,13 @@ Aus dem ursprünglichen v1.1.0-Plan (Ad-Block / Spam-Filter, Receive-
|
|||||||
Suppressed-Tells-Toggle) wurden zugunsten der Theme-Engine zurück
|
Suppressed-Tells-Toggle) wurden zugunsten der Theme-Engine zurück
|
||||||
gestellt — beide Items leben weiter im Mittelfrist-Block.
|
gestellt — beide Items leben weiter im Mittelfrist-Block.
|
||||||
|
|
||||||
## Mittelfristig (v1.2.x – v1.3.0)
|
## Mittelfristig (v1.3.x – v1.4.0)
|
||||||
|
|
||||||
|
- **Plugin-Integrations-Roadmap (Cycles 2-6)** - sechs Plugin-
|
||||||
|
Integrationen geplant, Honorific (Cycle 1) ist live, danach folgen
|
||||||
|
Context-Menu, NotificationMaster, RP-Status-Block, ExtraChat und
|
||||||
|
XIVIM in eigenen Cycles. Spec und Cycle-Reihenfolge in
|
||||||
|
[Plugin-Integrationen-Übersicht](../Hellion%20Chat%20Plugin-Integrationen.md).
|
||||||
- **Ad-Block / Spam-Filter** — Hybrid-Konzept aus eigenem Light-Filter und
|
- **Ad-Block / Spam-Filter** — Hybrid-Konzept aus eigenem Light-Filter und
|
||||||
optionaler `NoSoliciting`-IPC-Integration. Adressiert Werbe-Spam in
|
optionaler `NoSoliciting`-IPC-Integration. Adressiert Werbe-Spam in
|
||||||
öffentlichen Channels und Tells. Aus dem v1.1.0-Plan zurückgestellt.
|
öffentlichen Channels und Tells. Aus dem v1.1.0-Plan zurückgestellt.
|
||||||
|
|||||||
Reference in New Issue
Block a user