This change enforces strict include grouping using IncludeCategories
In addition to adding this to the .clang-format file and applying it in the tests/src and src directories, I also did the following small changes:
In ChatterSet.hpp, I changed lrucache to a <>include
In Irc2.hpp, I change common/SignalVector.hpp to a "project-include"
In AttachedWindow.cpp, NativeMessaging.cpp, WindowsHelper.hpp, BaseWindow.cpp, and StreamerMode.cpp, I disabled clang-format for the windows-includes
In WindowDescriptors.hpp, I added the missing vector include. It was previously not needed because the include was handled by another file that was previously included first.
clang-format minimum version has been bumped, so Ubuntu version used in the check-formatting job has been bumped to 22.04 (which is the latest LTS)
Things that were once singletons are no longer singletons, but are
instead stored in the "Application" singleton
Some singletons still remain, and some renaming/renamespacing is left
Fully implement PubSub ban/unban messages
Move the "message combining" to Channel::addMessage
Disable "irc" ban/timeout handling for now. In the future, we might want
to use this if you're not a moderator in a channel.
* Add websocketpp dependency
* Initial pubsub commit
Renamed selection min and max variables to selectionMin and selectionMax
to bypass windows min/max macros being stupid.
TwitchAccount is now initialized with its User ID. It cannot be changed
after it has been initialized.
* Update openssl folder
* Update installation instructions
* Split up websocketpp dependency to its own code only and openssl.pri
* Add missing include to asio steady_timer
* Update dependencies for linux
cstdint)
Make MessageElement to a class to fit better with the derived classes.
Make MessageLayoutElement to a class to fit better with the derived
classes.
Remove virtual from override functions
Replace all instances of boost::signals2 with pajlada::Signals. This
lets us properly use clang code model to check for issues.
Add missing virtual destructor to AbstractIrcServer
Add missing virtual destructor to MessageLayoutElement
Remove unused "connectedConnection" connection in TwitchChannel
Fix typo in TrimChannelName function
Fix typo in MessageParseArgs
Replace some raw pointers with unique pointers where it made more sense.
This allowed us to remove some manually written destructors whose only
purpose was to delete that raw pointer.
Reformat: Add namespace comments
Reformat: Add empty empty lines between main namespace beginning and end
Reformat: Re-order includes
Reformat: Fix some includes that used quotes where they should use angle
brackets
Reformat: Replace some typedef's with using's
Filter out more useless warnings
Added setting to display them inline under "Special Channels" page
Store a twitch users color in the TwitchUser struct
this is useful if we ever want to use the users own color.
The users own color is only updated once he has written once in chat
Add helper method for calling function only on normal channels
Fixes#54