Commit graph

1035 commits

Author SHA1 Message Date
Rasmus Karlsson 5433daa1ea Update settings library. make use of new define 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 1119c08182 Simplify debug::Log. No need for a second function 2018-04-11 22:54:34 +02:00
Cranken b4a5ba541d Fixed crash upon starting
Fixes issue #304
2018-04-11 22:54:34 +02:00
Rasmus Karlsson 4888178079 Reformat 2018-04-11 22:54:34 +02:00
Rasmus Karlsson 13705f15ed Add an EmojiMap which is like an EmoteMap except it contains data for Emojis
Fix emote popup not inserting the correct emoji value on click. It no
inserts the shortcode (i.e. 👌)

Fix #299
2018-04-11 22:54:34 +02:00
fourtf 05335c6440 removed the chrome style tabs 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 9a4ee07ed4 Fixed an issue where Badges and emotes were not rendered transparently in disabled messages
I'm a master programmator

Fixes #300
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 c382fdc528 Fixes some emojis that wouldn't display properly
Fix #198
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 7d4cebbc96 Add helper methods to FlagsEnum where I can make sure that it actually works forsenT 2018-04-11 22:54:34 +02:00
fourtf a0d8ace515 improved new tabs 2018-04-11 22:54:34 +02:00
Rasmus Karlsson e3d889b2e2 Update a usernames "timeAdded" every time it tries to be added
This keeps "recent chatters" from expiring

Progress on #57
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 c457651c63 add mouseMove signal to SignalLabel
Make use of the mouseMove signal in SplitHeader for the stream uptime
tooltip
2018-04-11 22:54:34 +02:00
Rasmus Karlsson 1c64dea831 Move signallabel code out from its header 2018-04-11 22:54:34 +02:00
Rasmus Karlsson 45841953da expire non-recent chatters 2018-04-11 22:54:34 +02:00
Rasmus Karlsson e34cbd741c Once again reset completion model first time tab is pressed. This ensures we never tab the wrong username, but it's really expensive. 2018-04-11 22:54:34 +02:00
fourtf 3e7e0269f7 added experimental new tabs 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 d9d699b6f1 CompletionModel tagged strings now have types (i.e. bttv emote, name, twitch emote)
Usernames can be overriden (capitalized overrides lowercase, but not the other way around)
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 9886021c6a Add "Timeout action" setting 2018-04-11 22:54:34 +02:00
fourtf 2687da38ba added basic browser extension stuff 2018-04-11 22:53:15 +02:00
fourtf 5fb42af9d0 minor changes for linux 2018-04-11 19:45:53 +02:00
Rasmus Karlsson 52afa7b5b7 Ensure we disconnect from signals on exit in SplitHeader 2018-04-11 01:06:13 +02:00
Rasmus Karlsson 6bdb9f9c9b also add the boost lib folder in case we need to link something 2018-04-11 00:46:20 +02:00
fourtf 2ede50af0e added version header 2018-04-11 00:18:33 +02:00
fourtf dff6cbb3e1 fixed split columns not loading properly 2018-04-10 17:14:13 +02:00
fourtf ad0a1f3c56 Fixed tabs not highlighting on new messages/highlights 2018-04-10 16:53:40 +02:00
fourtf c744659ce0 Open the last selected tab on restart 2018-04-10 15:59:53 +02:00
fourtf d0f1ea8502 fixed text copying if a single word is selected 2018-04-10 15:52:47 +02:00
fourtf bcf0ebd8ef Fixes #270 Copying text is broken 2018-04-10 15:48:56 +02:00
fourtf 739c17c0c8 selections now render over all images 2018-04-10 03:29:00 +02:00
fourtf 7093a95e29 fixed issue with selecting text and word wrapping 2018-04-10 03:17:44 +02:00
fourtf 93f9996207 Fixes #291 links clickable area 2018-04-10 02:42:41 +02:00
fourtf 93163518cc Fixes #276 Color of the moderator buttons are black if the timestamp is disabled 2018-04-10 02:13:41 +02:00
fourtf 829c028009 disabled message layouting limits 2018-04-10 02:07:25 +02:00
fourtf 33b94d757f Fixes #325 Option tab stays open when closing the main window 2018-04-10 02:02:49 +02:00
fourtf efdcc64f89 Fixes #326 Shift + EMOTE TAB doesnt work 2018-04-10 01:55:06 +02:00
Vilgot Fredenberg b23b583cb3 We need to escape > for it to render (#321)
githubs .md is different hence the change
2018-04-09 10:55:57 +02:00
fourtf 8f4b58ae08 slight changes 2018-04-08 17:37:48 +02:00
fourtf ce6b180522 improved custom window handling 2018-04-08 17:08:17 +02:00
Rasmus Karlsson 990ac651ae Differentiate live streams and vodcasts
Fixes #320
2018-04-08 15:14:14 +02:00