Commit graph

140 commits

Author SHA1 Message Date
Rasmus Karlsson adf3ff3075 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-03 03:00:34 +02:00
Rasmus Karlsson f820024fd5 Reformat 2018-04-01 16:44:25 +02:00
Rasmus Karlsson 3dae83e749 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-01 16:44:25 +02:00
fourtf 56f0e5e76a removed the chrome style tabs 2018-04-01 16:42:00 +02:00
Rasmus Karlsson be66338fe2 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-03-31 13:44:15 +02:00
Rasmus Karlsson 3cdaeb071a Fixes some emojis that wouldn't display properly
Fix #198
2018-03-31 13:14:43 +02:00
fourtf 700b15c483 improved new tabs 2018-03-30 16:26:45 +02:00
Rasmus Karlsson 5a88f084a3 Add setting to not fetch chatters for bigger streamers
Work on #57
2018-03-30 15:46:47 +02:00
Rasmus Karlsson 1cac80c8ba Changed how the channel live status is stored 2018-03-30 15:42:08 +02:00
fourtf ec349f5978 added experimental new tabs 2018-03-30 13:44:01 +02:00
Rasmus Karlsson dc578a5f29 Add "Timeout action" setting 2018-03-25 11:07:03 +02:00
Rasmus Karlsson b2f041989c Move CompletionModel to a more appropriate folder 2018-03-24 12:13:22 +01: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
Rasmus Karlsson ad12a818b2 change around variables names to make things a bit more clear 2018-03-24 11:15:33 +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
Ckat 0423702e50 actually display channel ffz emotes as channel ffz emotes (#279) 2018-03-05 22:37:01 +01:00
fourtf 45dfb151a2 set background color to grey instead of brown 2018-02-09 15:47:11 +01:00
fourtf c2ac7514da added basic support for displaying sent whispers in the /whispers channel 2018-02-06 00:31:30 +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
Rasmus Karlsson 556dbe0456 Fix whisper receiving
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
2018-02-04 16:33:46 +01:00
Rasmus Karlsson f9a25171bf Implement logging
Fixes #6
2018-02-03 17:14:56 +01:00
fourtf 74fec12848 Merge branch 'master' of https://github.com/Confuseh/chatterino2 into Confuseh-master 2018-01-28 17:53:16 +01:00
fourtf 3d479e4c83 fixed template compilation on mingw 2018-01-28 15:28:02 +01:00
confuseh a104e92ad5 Add additional options for streamlink, remove static from qualitypopup
Fixes #261
2018-01-28 14:10:12 +00:00
Rasmus Karlsson 2f0844ebd9 Basic logging implemented
Implemented scuffed logging settings page
Add helper function to PathManager to create an arbitrary folder
2018-01-28 14:23:55 +01:00
fourtf 431b9a8c1f Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-01-28 03:39:47 +01:00
fourtf 591ab4d8da simplified message.cpp 2018-01-28 03:29:42 +01:00
fourtf d33adff5c9 fixed emotes popup emotes 2018-01-27 21:13:22 +01:00
fourtf 8ab0fa4378 Fixes #259 dropping split on + button 2018-01-24 22:09:26 +01:00
fourtf 36b010e046 added custom window frame for windows 2018-01-24 15:08:22 +01:00
fourtf 2b94c4cd33 renamed SharedChannel to ChannelPtr for consistency 2018-01-24 13:15:41 +01:00
fourtf fa344deaf0 fixed #237 /mentions 2018-01-23 23:28:06 +01:00
fourtf 8a77f918f6 fixed timestamps not updating when changed in the settings 2018-01-23 21:56:25 +01:00
fourtf f292d2e097 fixed live status being cached 2018-01-23 21:40:51 +01:00
fourtf dd05ea28fe added basic keyword ignore setting 2018-01-23 21:35:42 +01:00
fourtf 9d8edc4ae0 Fixes #210 aallow duplicate messages behaves weird 2018-01-22 15:24:39 +01:00
Rasmus Karlsson 03ff2205fa test code 2018-01-19 22:45:33 +01:00
fourtf 66e99fd36f renamed and moved asyncexec.hpp to posttothread.hpp 2018-01-19 14:53:57 +01:00
fourtf de3a490257 added streamview widget 2018-01-19 14:49:21 +01:00
Rasmus Karlsson 702d4b2eec Rework the Account Popup Widget
Fixed Account Popup Widget Follow/Unfollow
Ignoring now also works, but doesn't have the ability to unignore

Add a URL Delete method to the network manager

Fixes #235
2018-01-18 18:20:40 +01:00
fourtf f3357cf0f4 Fixes #225 fix am/pm for timestamps 2018-01-17 18:36:12 +01:00
fourtf b3951262c8 messages refresh when toggeling the button 2018-01-17 17:02:34 +01:00
fourtf e694214243 added toggle for moderation mode 2018-01-17 16:52:51 +01:00
fourtf 01efa1f447 Fixes #233 manual reconnect 2018-01-17 15:07:55 +01:00
fourtf 6d6b99f3ef added moderation buttons 2018-01-17 14:14:31 +01:00
fourtf db41044daf Fixed #216 bundles connected and disconnected 2018-01-17 03:10:21 +01:00
fourtf e1ff4c818e added background color to the accountswitchwidget 2018-01-17 02:22:57 +01:00
fourtf 0a3c6e29c7 added Alt+LeftClick to move splits around 2018-01-17 01:20:19 +01:00
fourtf a190eda075 fixed text selection 2018-01-16 00:26:04 +01:00
fourtf 72abd52831 fixed issue with light theme 2018-01-15 01:47:31 +01:00
fourtf 64553cf27b fixed tabs being colored when the window was unfocused 2018-01-15 01:38:21 +01:00
fourtf c50e6d7809 started working on a custom window frame 2018-01-15 01:35:35 +01:00
fourtf bc93ef7214 added settings page for moderation 2018-01-13 03:06:10 +01:00
fourtf e0bb061c81 refactored the settings dialog 2018-01-12 23:09:27 +01:00
Rasmus Karlsson 584e6e5643 Initial custom and channel-specific cheermote parsing done
Needs more testing once the rendering pipeline is complete again

Fixes #74
2018-01-12 22:16:41 +01:00
Rasmus Karlsson 54502bc8b5 F5 adds a fake message to the IRCManager
current messages have valid cheermotes in them
2018-01-12 20:25:19 +01:00
fourtf 10850c0ec7 I BROKE EVERYTHING
refactored the rendering process
2018-01-11 20:17:41 +01:00
nuuls 1eb256bd4e
fixed < in emote names breaking the <br> and tooltips on mac 2018-01-07 23:47:08 +01:00
nuuls 92cc1f354b
fixed scaling issue on mac and compilation issue 2018-01-07 23:26:11 +01:00
fourtf 57974508d3 set default fonts for macos and windows 2018-01-07 21:06:40 +01:00
Rasmus Karlsson 9fa9d7f0e3 Implement preferred emote quality setting.
This doesn't work super well for Twitch emotes because they don't
conform to a proper emote scaling standard

Fixes #150
2018-01-07 02:59:46 +01:00
fourtf 315cfd8605 bundling timeouts from same user 2018-01-05 23:14:55 +01:00
fourtf df81a0e5a5 Pause chat while hovering. Fixes #208
Also pauses when clicking with double-click-links enabled and while
selecting text
2018-01-05 11:22:51 +01:00
fourtf 8418e36e49 Fixed a bug where scrolling layouts wrong
It used the wrong with to layout the messages.
2018-01-05 10:41:21 +01:00
fourtf 2fddc0ed8a smoothScrolling for new messages false by default 2018-01-05 03:23:06 +01:00
fourtf 9d2d18ceee fixed settings name collision 2018-01-05 03:16:27 +01:00
fourtf 1606ea648b added smoothscrolling on new message 2018-01-05 03:15:04 +01:00
Rasmus Karlsson 334860dad2 Remove unused appdatapath class
Reformat some code
2018-01-05 03:00:29 +01:00
Rasmus Karlsson d8ba745a35 Fix command loading and saving
Fixes #203
2018-01-05 02:39:09 +01:00
Rasmus Karlsson 346950d7b7 Add a PathManager that takes care of all paths and creating folders
Move all path/folder-related code from SettingManager to PathManager
2018-01-05 02:38:22 +01:00
Rasmus Karlsson c3770707aa reformat commandmanager 2018-01-05 02:38:22 +01:00
Rasmus Karlsson 63d89797d6 Move settings config directory
Fixes #204
2018-01-05 02:38:22 +01:00
Rasmus Karlsson d1458a0db3 Move initSettings to SettingManager
Fixes #205
2018-01-05 02:38:22 +01:00
fourtf 947589358b fixed #15 2018-01-05 02:05:59 +01:00
fourtf 8693203c6d added command tab to settings but they don't save 2018-01-04 04:03:51 +01:00
fourtf 871195265a Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-01-04 02:59:44 +01:00
71db0297b9 added code for the /commands 2018-01-04 02:50:36 +01:00
Rasmus Karlsson 27dacdde36 Disable empty-string sending
Fixes #191
2018-01-04 02:32:24 +01:00
Rasmus Karlsson 9044700ec6 Convert remaining settings to the new settings system 2018-01-04 02:23:59 +01:00
Rasmus Karlsson df733282be Move highlight phrases to new settings system
Add a setting serialize/deserializer for QString
Add constructor to ChatterinoSetting that doesn't take a default value
2018-01-04 01:52:37 +01:00
eb4ba30d9f omited struct names in ThemeManager 2018-01-02 02:21:38 +01:00
3e5937011a the rewrite that nobody wanted 2018-01-02 02:15:11 +01:00
0ef08378cc slight rename in IrcManager 2018-01-01 23:59:39 +01:00
424eeb05d9 Created helper class IrcMessageHandler 2018-01-01 23:54:54 +01:00
330a79f6f1 made message grey out when user it timed out 2018-01-01 23:29:54 +01:00
3fc4ddea56 I hate c++ and everything it stands for 2018-01-01 22:29:21 +01:00
5a26d5f17f put singletons into their namespace 2017-12-31 22:58:35 +01:00
ad001431f2 renamed resources to ResourceManager 2017-12-31 02:21:33 +01:00
bfa2f1637e refactored the managers 2017-12-31 00:50:07 +01:00