Commit graph

14 commits

Author SHA1 Message Date
Rasmus Karlsson 2f195891cd Finish up singleton refactoring into one giant class 2018-04-28 15:20:18 +02:00
Rasmus Karlsson ae26b835b6 Perform initial refactoring work
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
2018-04-27 22:11:19 +02:00
fourtf d2bf99b343 Fixes #276 Color of the moderator buttons are black if the timestamp is disabled 2018-04-11 22:54:34 +02:00
fourtf 0322c73eb5 fixed an issue where normal emotes would be redrawn like gif emotes 2018-04-11 22:54:34 +02:00
fourtf ed50f1835f added debug information on F10 2018-04-11 22:54:34 +02:00
Rasmus Karlsson 6ea3a1df08 Switch some c-style includes to c++-style includes (i.e. stdint.h to
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
2018-04-11 22:54:34 +02:00
Rasmus Karlsson 4888178079 Reformat 2018-04-11 22:54:34 +02:00
Rasmus Karlsson 03ff2205fa test code 2018-01-19 22:45:33 +01:00
fourtf 6d6b99f3ef added moderation buttons 2018-01-17 14:14:31 +01:00
fourtf 0ca916717c added basic buggy text copying 2018-01-16 02:39:31 +01:00
fourtf a190eda075 fixed text selection 2018-01-16 00:26:04 +01:00
fourtf c79f88ed10 fixed gif emotes being offset 2018-01-13 03:08:31 +01:00
fourtf 9703cf6ad4 fixed gif emotes not drawing 2018-01-13 02:13:59 +01:00
fourtf 10850c0ec7 I BROKE EVERYTHING
refactored the rendering process
2018-01-11 20:17:41 +01:00