mirror-chatterino2/src/util
nerix 7ecbfa0cdb
refactor: debug count and popup (#4921)
* Moved implementation of the methods to the `cpp` file.
* Added `DebugCount::Flag(s)` and `DebugCount::configure(name, flags)`.
* Moved from `QMap` to `std::map` (order is important here).
* Used `QStringBuilder` for concatenations.
* Used `QLocale` for formatting (adds separators).
* Added `DebugCount::Flag::DataSize` for data sizes in bytes (and fixed language to English).
* Used `DataSize` for image sizes (maybe this should be moved somewhere else?).
* Added copy button to popup.
* Fixed Image usage reporting being eight times too large (could be another PR, but honestly it's four characters).
2023-10-28 21:17:32 +02:00
..
serialize Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
AttachToConsole.cpp Remove Unnecessary Includes in Headers (#4275) 2022-12-31 14:41:01 +00:00
AttachToConsole.hpp added missing files 2021-03-13 12:40:43 +01:00
CancellationToken.hpp Increase max number of blocked users loaded from 100 to 1,000 (#4721) 2023-07-23 11:26:12 +00:00
ChannelHelpers.hpp Show historic timeouts and bans in usercard (#4760) 2023-08-13 10:00:52 +00:00
Clamp.hpp removed appbase directory 2019-10-07 15:46:41 +02:00
Clipboard.cpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
Clipboard.hpp Some fixes related to clipboard (#2405) 2021-02-06 15:47:09 +01:00
CombinePath.hpp removed appbase directory 2019-10-07 15:46:41 +02:00
ConcurrentMap.hpp added brace wrapping after if and for 2018-10-21 13:43:02 +02:00
DebugCount.cpp refactor: debug count and popup (#4921) 2023-10-28 21:17:32 +02:00
DebugCount.hpp refactor: debug count and popup (#4921) 2023-10-28 21:17:32 +02:00
DisplayBadge.cpp Add ability to highlight messages based on user badges (#1704) 2021-05-02 22:08:08 +00:00
DisplayBadge.hpp Add ability to disable precompiled headers with CMake (#2727) 2021-05-08 15:57:00 +02:00
DistanceBetweenPoints.hpp removed appbase directory 2019-10-07 15:46:41 +02:00
ExponentialBackoff.hpp Use an exponential backoff when deciding how long we need to wait for reconnects (#2892) 2021-06-20 13:29:52 +00:00
FormatTime.cpp Add subtitle to Hype Chats (#4715) 2023-07-30 16:54:42 +00:00
FormatTime.hpp Add subtitle to Hype Chats (#4715) 2023-07-30 16:54:42 +00:00
FunctionEventFilter.cpp removed appbase directory 2019-10-07 15:46:41 +02:00
FunctionEventFilter.hpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
FuzzyConvert.cpp removed appbase directory 2019-10-07 15:46:41 +02:00
FuzzyConvert.hpp removed appbase directory 2019-10-07 15:46:41 +02:00
Helpers.cpp Remove direct dependency on Qt 5 compatibility module (#4906) 2023-10-23 21:28:02 +02:00
Helpers.hpp Remove direct dependency on Qt 5 compatibility module (#4906) 2023-10-23 21:28:02 +02:00
IncognitoBrowser.cpp Add support for opening links in incognito mode on Linux & BSD (#4745) 2023-08-06 15:57:01 +02:00
IncognitoBrowser.hpp Flatten util/IncognitoBrowser.{h,c}pp (#4280) 2023-01-01 12:06:34 +00:00
InitUpdateButton.cpp Fix signal connection nodiscard warnings (#4818) 2023-09-16 11:52:51 +00:00
InitUpdateButton.hpp Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00
IpcQueue.cpp Refactor Native Messages (#4738) 2023-07-30 11:14:58 +00:00
IpcQueue.hpp Refactor Native Messages (#4738) 2023-07-30 11:14:58 +00:00
IrcHelpers.hpp Store serverReceivedTime in messages (#3735) 2022-05-15 06:08:28 +00:00
LayoutCreator.hpp Disable formatting on "contested lines" (#3714) 2022-05-07 14:57:26 +00:00
LayoutHelper.cpp moved navigation to the right 2020-10-23 09:33:44 +02:00
LayoutHelper.hpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
NuulsUploader.cpp Replace boost::optional with std::optional (#4877) 2023-10-08 16:50:48 +00:00
NuulsUploader.hpp Remove Unnecessary Includes in Headers (#4275) 2022-12-31 14:41:01 +00:00
Overloaded.hpp Add CI workflow to check line endings of all source files (#2082) 2020-10-18 15:54:48 +02:00
PersistSignalVector.hpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
PostToThread.hpp refactor: Use override instead of virtual where possible (#4917) 2023-10-25 18:13:48 +02:00
QStringHash.hpp Massage includes some more (#4294) 2023-01-08 12:07:06 +00:00
Qt.hpp Fix Qt::SkipEmptyParts deprecation warning (#3726) 2022-05-14 10:11:39 +00:00
RapidjsonHelpers.cpp Replace std::string with QString in rapidjson and PubSub Client (#3018) 2021-07-18 12:37:53 +00:00
RapidjsonHelpers.hpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
RapidJsonSerializeQString.hpp Sort and force grouping of includes (#4172) 2022-11-27 19:32:53 +01:00
RatelimitBucket.cpp Rate limit outgoing JOIN messages (#3115) 2021-08-04 21:18:34 +00:00
RatelimitBucket.hpp Massage includes some more (#4294) 2023-01-08 12:07:06 +00:00
RemoveScrollAreaBackground.hpp Fixed deprecated method QPalette::{Fore,Back}ground (#2510) 2021-03-13 16:03:16 +01:00
SampleData.cpp Change Elevated Messages to Hype Chats (#4766) 2023-08-14 17:19:20 +00:00
SampleData.hpp Simplify code for fake debug messages (#3775) 2022-05-29 12:53:22 +00:00
SharedPtrElementLess.hpp Normalize line endings in already existing files 2019-09-08 22:27:57 +02:00
SplitCommand.cpp Fix quotation and handling of additional streamlink options (#2495) 2021-03-06 19:56:36 +01:00
SplitCommand.hpp Fix quotation and handling of additional streamlink options (#2495) 2021-03-06 19:56:36 +01:00
StandardItemHelper.hpp Add ability to disable precompiled headers with CMake (#2727) 2021-05-08 15:57:00 +02:00
StreamerMode.cpp Add an indicator in the title bar if Streamer Mode is active (#4410) 2023-05-27 10:38:25 +00:00
StreamerMode.hpp Added more streaming software to streamer mode binaries list (#3740) 2022-05-28 12:17:42 +00:00
StreamLink.cpp streamlink: trim custom paths (#4834) 2023-09-23 08:20:05 +00:00
StreamLink.hpp changed to 80 max column 2018-08-06 21:17:03 +02:00
ThreadGuard.hpp Add Thread Guard for debugging simple threading issues (#4254) 2022-12-24 11:32:08 +01:00
Twitch.cpp Migrate /color command to Helix API (#3988) 2022-09-16 21:15:28 +00:00
Twitch.hpp Migrate /color command to Helix API (#3988) 2022-09-16 21:15:28 +00:00
TypeName.hpp chore: warn when parsing environment variable fails (#3904) 2022-08-06 13:38:10 +02:00
Variant.hpp Display all parsed elements when parsing emojis in replies (#4875) 2023-10-08 10:09:42 +00:00
WidgetHelpers.cpp Allow any window to be bounds-checked (#4802) 2023-09-24 13:32:43 +00:00
WidgetHelpers.hpp Allow any window to be bounds-checked (#4802) 2023-09-24 13:32:43 +00:00
WindowsHelper.cpp Replace boost::optional with std::optional (#4877) 2023-10-08 16:50:48 +00:00
WindowsHelper.hpp Replace boost::optional with std::optional (#4877) 2023-10-08 16:50:48 +00:00
XDGDesktopFile.cpp Add support for opening links in incognito mode on Linux & BSD (#4745) 2023-08-06 15:57:01 +02:00
XDGDesktopFile.hpp Add support for opening links in incognito mode on Linux & BSD (#4745) 2023-08-06 15:57:01 +02:00
XDGDirectory.cpp Fix emoji unified/non-qualified version for sending & parsing (#4840) 2023-10-07 10:21:30 +00:00
XDGDirectory.hpp Add support for opening links in incognito mode on Linux & BSD (#4745) 2023-08-06 15:57:01 +02:00
XDGHelper.cpp Add support for opening links in incognito mode on Linux & BSD (#4745) 2023-08-06 15:57:01 +02:00
XDGHelper.hpp Add support for opening links in incognito mode on Linux & BSD (#4745) 2023-08-06 15:57:01 +02:00