refactor(namespace): rename ChatTwo.* to HellionChat.* across all source files

81 namespace declarations and 100 using directives converted via sed,
plus two FQN-aliases (ChatTwoPartyFinderPayload in PayloadHandler.cs and
ModifierFlag in KeybindManager.cs) updated. Critical: Language.Designer.cs
and HellionStrings.Designer.cs ResourceManager string arguments updated
synchronously — these are runtime reflection lookups not caught by the
C# compiler.

Two intentional ChatTwo references remain: the legacy migration path
'ChatTwo.json' in Plugin.cs (still points to upstream Chat 2's config
file by design) and the InternalsVisibleTo declaration in
AssemblyInfo.cs (handled in the upcoming repo-folder rename task).

The local alias names 'ChatTwoPartyFinderPayload' and 'ChatTwoConflictDetector'
are preserved as local symbols; only their target namespaces and references
changed.
This commit is contained in:
2026-05-03 21:23:28 +02:00
parent ed426556e1
commit 7d5496e959
81 changed files with 185 additions and 185 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ using Pidgin;
using static Pidgin.Parser;
using static Pidgin.Parser<char>;
namespace ChatTwo.Util;
namespace HellionChat.Util;
internal static class AutoTranslate
{
+2 -2
View File
@@ -1,4 +1,4 @@
using ChatTwo.Code;
using HellionChat.Code;
using Dalamud.Game.Text.SeStringHandling;
using Dalamud.Game.Text.SeStringHandling.Payloads;
using System.Text;
@@ -6,7 +6,7 @@ using Lumina.Text.Payloads;
using PayloadType = Dalamud.Game.Text.SeStringHandling.PayloadType;
namespace ChatTwo.Util;
namespace HellionChat.Util;
internal static class ChunkUtil
{
+1 -1
View File
@@ -1,7 +1,7 @@
using System.Buffers.Binary;
using System.Numerics;
namespace ChatTwo.Util;
namespace HellionChat.Util;
internal static class ColourUtil {
private static (byte r, byte g, byte b) RgbaToRgbComponents(uint rgba)
+2 -2
View File
@@ -1,6 +1,6 @@
using System.Globalization;
using System.Numerics;
using ChatTwo.Resources;
using HellionChat.Resources;
using Dalamud.Interface;
using Dalamud.Interface.Colors;
using Dalamud.Interface.ImGuiNotification;
@@ -9,7 +9,7 @@ using Dalamud.Interface.Utility.Raii;
using Dalamud.Utility;
using Dalamud.Bindings.ImGui;
namespace ChatTwo.Util;
namespace HellionChat.Util;
// From https://github.com/Flix01/imgui/blob/imgui_with_addons/addons/imguidatechooser/imguidatechooser.cpp
public static class DateWidget
+1 -1
View File
@@ -1,4 +1,4 @@
namespace ChatTwo.Util;
namespace HellionChat.Util;
public class ColorPayload
{
+1 -1
View File
@@ -2,7 +2,7 @@
using FFXIVClientStructs.FFXIV.Client.UI.Misc;
using FFXIVClientStructs.FFXIV.Component.Text;
namespace ChatTwo.Util;
namespace HellionChat.Util;
public static class GlobalParametersCache
{
+1 -1
View File
@@ -3,7 +3,7 @@ using System.Runtime.InteropServices;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
namespace ChatTwo.Util;
namespace HellionChat.Util;
// From Kizer: https://github.com/Soreepeong/Dalamud/blob/feature/log-wordwrap/Dalamud/Interface/Spannables/Internal/GfdFileView.cs
public readonly unsafe ref struct GfdFileView
+4 -4
View File
@@ -1,9 +1,9 @@
using System.Buffers;
using System.Numerics;
using System.Text;
using ChatTwo.Code;
using ChatTwo.GameFunctions.Types;
using ChatTwo.Resources;
using HellionChat.Code;
using HellionChat.GameFunctions.Types;
using HellionChat.Resources;
using Dalamud.Game.ClientState.Keys;
using Dalamud.Game.Text.SeStringHandling;
using Dalamud.Interface;
@@ -15,7 +15,7 @@ using Dalamud.Interface.Utility;
using Dalamud.Interface.Utility.Raii;
using Dalamud.Bindings.ImGui;
namespace ChatTwo.Util;
namespace HellionChat.Util;
internal static class ImGuiUtil
{
+1 -1
View File
@@ -1,4 +1,4 @@
namespace ChatTwo.Util;
namespace HellionChat.Util;
internal class Lender<T>
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Numerics;
namespace ChatTwo.Util;
namespace HellionChat.Util;
public static class MathUtil
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Text;
namespace ChatTwo.Util;
namespace HellionChat.Util;
public static class MemoryUtil
{
+1 -1
View File
@@ -1,6 +1,6 @@
using Dalamud.Game.Text.SeStringHandling;
namespace ChatTwo.Util;
namespace HellionChat.Util;
internal class PartyFinderPayload : Payload
{
+1 -1
View File
@@ -4,7 +4,7 @@ using Dalamud.Bindings.ImGui;
using System.Collections;
using Dalamud.Interface.Utility.Raii;
namespace ChatTwo.Util;
namespace HellionChat.Util;
// Modified from: https://github.com/UnknownX7/Hypostasis/blob/master/ImGui/ExcelSheet.cs
public static class SearchSelector
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Text;
namespace ChatTwo.Util;
namespace HellionChat.Util;
internal static class StringUtil
{
+3 -3
View File
@@ -1,7 +1,7 @@
using ChatTwo.Code;
using ChatTwo.Resources;
using HellionChat.Code;
using HellionChat.Resources;
namespace ChatTwo.Util;
namespace HellionChat.Util;
public static class TabsUtil
{
+1 -1
View File
@@ -1,6 +1,6 @@
using System.Text.RegularExpressions;
namespace ChatTwo.Util;
namespace HellionChat.Util;
// Modified from: https://jack-vanlightly.com/blog/2016/2/24/a-more-efficient-regex-tokenizer
public static class Tokenizer
+2 -2
View File
@@ -1,7 +1,7 @@
using ChatTwo.Resources;
using HellionChat.Resources;
using Dalamud.Interface.ImGuiNotification;
namespace ChatTwo.Util;
namespace HellionChat.Util;
public static class WrapperUtil
{