Commit graph

20 commits

Author SHA1 Message Date
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
dca11406b9 Added a "CleanChannelName" virtual method to AbstractIrcServer
the TwitchServer implementation makes the channelName full lowercase

Fixes #293
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
8e7d89dd40 Fix typo 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
fba2967777 Re-fix timeout message merging
Fix #298
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
964e1f249a General cleanups/reformats
- Clean up imports
- Comment EmojiData
- Reorder TwitchAccount constructor
- Fix typo in TwitchChannel
- Add emoji parsing test code at the bottom of EmoteManager
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
010c061a25 Fixes the previous "Disabled message" behaviour
Fixes #295
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
655831d154 Add setting to not fetch chatters for bigger streamers
Work on #57
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
c0a3613ae0 Changed how the channel live status is stored 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
0bbb9ae42d reformat/cleanup 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
c7a86f8abe No longer add username to the completion model in privateMessageReceived
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
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
6e1096710d make helper function for trimming a twitch channel name from irc 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
d9bd39e8a4 Remove "CompletionManager". Completion models are now stored in Channel
Chatters list is now updated every 5 minutes
2018-03-24 12:02:07 +01:00
hemirt
ab42a30108 Tabbing (#287)
* change dotted last read message indicator to a line, remove
airbrushgrenade

* sort emotes in tab completion

* implement tabbing usernames

* FeelsOkayMan

* fix emotes and usernames comparing; formatting

* remove private/personal stuff

* change lastmessageindicator back to default verpattern
2018-03-24 11:12:24 +01:00
Nikolai Zimmermann
1d1f40bf44 more reliablitiy 2018-02-12 00:28:28 +01:00
Nikolai Zimmermann
e169d37bae Fix Send Duplicate Messages not working 2018-02-12 00:28:28 +01:00
fourtf
54b0d9dda9 renamed ircchannel 2018-02-09 13:33:11 +01:00
fourtf
c0247d27e8 renamed irc provider files 2018-02-05 21:28:18 +01:00
fourtf
a44758ad23 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-02-05 21:20:38 +01:00
fourtf
b351c40d29 refactored irc 2018-02-05 15:11:50 +01:00