61 seconds = 61 seconds
60 seconds = 1 minute
3601 seconds = 3601 seconds
3600 seconds = 1 hour
3540 seconds = 59 minutes
the reason it doesn't just do 3601 seconds as 1 hour, 1 second is I
wanted to keep the messages short. might change in the future eShrug
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.
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
The username is added to the completion model with the
"addRecentChatter" method instead
Moved "NameOptions" stuff from base class Channel to TwitchChannel where
it belongs
Remove unused Channel::getUsernamesForCompletions method
- Channel now needs to be initialized with a name. Special cases like the emote window just sends an empty string.
- ChatWidget now has a signal which is called whenever the widgets channel is changed
- Changed roomID from an std::string to a QString
* Add operator[] to ConcurrentMap which returns a TValue reference
* BTTV/FFZ channel emotes are now stored in the Emote Manager, and each Channel object has a reference to their own BTTV/FFZ channel emote map.
* Restructure EmoteManager a bit (simplify the ConcurrentMap havoc).
* Add EmoteData struct which can store emote data (for now only messages::LazyLoadedImage*)
* Add CompletionManager that does nothing
- Remove some underscore-prefixes
- Start using this-> more
- Remove a few of the singletons (We pass references to managers to
things that need it now. Might not be much better, but for now
it works. It also shows what places might be slightly wrong
designed)