Commit graph

332 commits

Author SHA1 Message Date
Rasmus Karlsson f60d649f5e Remove UrlFetch file 2018-07-15 12:11:46 +00:00
Rasmus Karlsson fc5186a499 Remove invalid warning for gcc 2018-07-15 11:03:41 +00:00
fourtf 111853c574 improving TwitchChannel 2018-07-14 14:24:18 +02:00
apa420 c26e18c2bf Added functionality of /follow and /unfollow 2018-07-12 03:54:54 +02:00
pajlada 2ea3643100
Fix timer stuff (#580)
* Add and sort Network files to chatterino project file
2018-07-07 15:50:05 +02:00
Rasmus Karlsson 6a418e6e59 Refactor NetworkRequest class
Add followUser and unfollowUser methods to TwitchAccount
2018-07-07 11:09:27 +00:00
Rasmus Karlsson cada32edfd Treat missing returns as errors 2018-07-07 11:09:27 +00:00
fourtf 280bb4cf8e Renamed private members 2018-07-06 19:24:35 +02:00
Rasmus Karlsson 822b9737ca Remove duplicate LogsPopup.cpp in project file 2018-07-06 18:14:19 +00:00
DatGuy1 086ae010b1 Add viewing logs to UserInfoPopup (#548)
* Add cbenni logviewer

* Remove unneeded includes

* Updated getLogs to check for logs on Overrustle

will check logs on overrustle if none were found on cbenni

* Formatting, fix some bugs

* Fixes per PR comments

* Should really take more time when pushing

* Changes per PR, simplify code a lot

* Style/formatting fixes
2018-07-05 22:47:51 +02:00
fourtf 80c8e11cec refactored the ignores page a bit 2018-07-05 16:45:34 +02:00
fourtf 1da23e5e91 renamed IgnoreUsersPage to IgnoresPage 2018-07-05 16:22:25 +02:00
fourtf 6059f98c21 renamed UpdatePromptDialog to UpdateDialog 2018-07-05 16:04:50 +02:00
DatGuy1 9c7c99928f Add highlighting of all messages from a certain user (#564)
* Rework to use controllers

* Rework to use controllers

* Add doHighlight

* Cherry pick?

* Fixes per PR

* Remove file
2018-07-05 15:58:20 +02:00
fourtf 59332270b5 put the update button code into it's own file 2018-07-05 12:54:38 +02:00
fourtf 335cbf8758 added basic download icon to the window frame 2018-07-04 20:42:51 +02:00
Rasmus Karlsson 03b7fae09e Refactor highlight blacklist to use the model system
Fix #560
2018-07-04 11:45:10 +00:00
Rasmus Karlsson e32af3206a add another warning flag to ignore 2018-07-03 21:27:33 +00:00
fourtf cd57b2b518 renamed AppearancePage and BehaviourPage 2018-07-03 17:45:31 +02:00
fourtf 63a596ef16 added moderation action settings back in 2018-07-03 15:00:21 +02:00
fourtf eb809d1572 Fixes #538 multiple window frames on windows 2018-07-03 12:08:12 +02:00
fourtf 6013591730 renamed files SignalVector -> SimpleSignalVector and SingalVector2 -> SignalVector 2018-06-28 20:25:37 +02:00
fourtf c3c2b934ba moved ChatterinoSetting into src/common 2018-06-28 20:06:09 +02:00
fourtf 86347dc63e renamed Themes to Theme 2018-06-28 20:03:04 +02:00
fourtf 848bbc71aa removed that pile of garbage IrcManager 2018-06-28 19:54:40 +02:00
fourtf 2df142bd50 renamed *Manager files 2018-06-28 19:46:45 +02:00
fourtf 5604ae6a67 removed functions from SettingsManager that shouldn't be there 2018-06-28 19:38:57 +02:00
Rasmus Karlsson 8ff29ebe05 Normalize define naming 2018-06-28 01:26:15 +02:00
pajlada 10df071077
Breakpad implementation (#535)
* qBreakpad simple implementation

* update chatterino.pro for linux

* Add breakpad building script for linux
2018-06-27 23:06:37 +00:00
Rasmus Karlsson 20c17c3377 Make link regular expression only be created once 2018-06-28 00:54:34 +02:00
fourtf 6a93aa412e moved IsBigEndian into it's own file 2018-06-27 13:03:59 +02:00
fourtf c5441c6d4a fixed minor issues 2018-06-26 17:51:31 +02:00
fourtf 604e5ed682 fixed upper/lower case fiesta 2018-06-26 17:42:35 +02:00
fourtf 804d324d79 removed NativeEventHelper 2018-06-26 17:27:18 +02:00
fourtf d09b14db26 removed Const.hpp and Credentials.hpp in favor of TwitchCommon.hpp 2018-06-26 17:25:24 +02:00
fourtf 6ee1fc303e removed SplitColumn 2018-06-26 17:16:58 +02:00
fourtf 15abedd869 moved files into src/common 2018-06-26 15:33:51 +02:00
fourtf 0bc08a364c created directory for dialogs 2018-06-26 15:11:45 +02:00
fourtf 22f528cd21 put all split widgets inside the same directory 2018-06-26 14:39:22 +02:00
fourtf a9bf9cf722 rename #3 2018-06-26 14:09:39 +02:00
fourtf 14f07274d9 fixed chatterino.pro paths 2018-06-26 13:31:40 +02:00
fourtf 6375a902a0 fixed size of the attachedwindow for the browser extension for scaling 2018-06-25 22:07:17 +02:00
fourtf 5673cefd1b Fixes crash #504 2018-06-24 11:45:30 +02:00
fourtf f728a1fbd7 added browserextensionpage 2018-06-23 22:49:07 +02:00
fourtf 2f91e3097a changed settings paths 2018-06-21 13:02:34 +02:00
fourtf ea9f9e7f18 added ui scaling 2018-06-11 15:07:04 +02:00
fourtf 9b26fce781 changes for light mode 2018-06-11 15:07:04 +02:00
fourtf 00fb25d9a7 removed the old user info popup 2018-06-06 16:29:35 +02:00
fourtf c308883a2a added basic user info popup 2018-06-06 13:35:33 +02:00
fourtf 86e4a669ad added basic new user popup 2018-06-06 13:35:33 +02:00
fourtf 51bde1098e fixed sending whispers from /whispers 2018-06-05 18:51:14 +02:00
Rasmus Karlsson e09e0a5ab4 Move emojis to its own class 2018-06-05 17:28:36 +02:00
Rasmus Karlsson 8e70f02e3b Move gif timer stuff to its own class
Clean up unused includes
2018-06-05 17:28:36 +02:00
Rasmus Karlsson 78664f79ee Move FFZ emotes to its own class 2018-06-05 17:28:36 +02:00
Rasmus Karlsson f83c07be53 Move bttv emotes to its own class 2018-06-05 17:28:36 +02:00
Rasmus Karlsson e12d386a5a Move twitch emote-related stuff to TwitchEmotes class 2018-06-05 17:28:36 +02:00
fourtf 8de0a59533 ircconnection and about page 2018-06-04 21:05:18 +02:00
fourtf 66dab0a6b7 selects correct image when scaling emotes 2018-06-04 15:11:06 +02:00
fourtf 6156b1f430 added categories to the accountspage 2018-05-28 08:34:54 +02:00
fourtf 8c9be20f9b changed AccountManager to AccountController 2018-05-26 20:25:00 +02:00
fourtf 9aa9b90267 fixed /r and tab text alignment 2018-05-25 13:53:55 +02:00
nuuls 6ee4945715 fixed mac stuff and added more debug code 2018-05-25 01:31:34 +02:00
fourtf 48e94a1169 added code for a notification system 2018-05-23 22:27:29 +02:00
fourtf 0f7c25d098 removed webengine support so the ci can build again 2018-05-17 17:47:17 +02:00
fourtf 8ee0f85a2b weekly "fixed building on linux" 2018-05-16 17:47:58 +02:00
fourtf 28fb877020 updated splitheader 2018-05-16 15:02:01 +02:00
Rasmus Karlsson 15b432a4cf Implement simple ignored phrase system 2018-05-13 19:25:12 +02:00
Rasmus Karlsson 3a48f5db96 Remove unused IgnoreMessagesPage widget 2018-05-13 19:25:12 +02:00
Rasmus Karlsson 9bad40742f Remove annoying warning from GCC 8.1.0
I hope this doesn't throw errors in earlier GCC versions
2018-05-13 17:49:34 +02:00
Rasmus Karlsson bf0b5d08d8 Implement /ignore and /unignore commands
Simplify authorized network requests for Twitch V5 api
add onShow virtual function to settings pages if they need to be refreshed when shown
Actually ignoring messages from ignored users is still not implemented

Working on #247
2018-05-12 20:34:13 +02:00
fourtf 463a1f1945 added new overlay for splits when you hold alt that does nothing yet 2018-05-08 16:55:20 +02:00
Rasmus Karlsson 5efc2c38d8 Clean up warnings 2018-05-06 14:16:41 +02:00
Rasmus Karlsson 03c8c00f16 Remove non-existing file pubsubmanager.hpp from chatterino.pro 2018-05-06 14:04:06 +02:00
fourtf b95388107f added regex highlights 2018-05-06 12:52:47 +02:00
fourtf ba4173822e created base for all the list based settings 2018-05-06 00:32:45 +02:00
fourtf 4c3f0921e2 changed CommandManager to CommandController 2018-04-30 23:44:01 +02:00
fourtf 6bd787423d added template model/view magic for commands 2018-04-29 23:26:17 +02:00
Rasmus Karlsson 0f22d9d002 move pubsub stuff to the providers/twitch namespace and folder 2018-04-28 15:48:49 +02:00
fourtf 9426a9d633 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-04-28 13:48:49 +02:00
fourtf 49069beed7 reworked commands settings page 2018-04-27 01:11:09 +02:00
fourtf e23ce31e05 improved the highlights settings page 2018-04-26 23:07:02 +02:00
fourtf ea7fcf260c fixed issues for gcc 2018-04-26 20:58:32 +02:00
fourtf d078ef5fe0 added debug logs and code to assert that we are in the gui thread 2018-04-26 18:10:26 +02:00
fourtf b176dc5295 switched up the settings pages 2018-04-25 20:35:32 +02:00
fourtf 859f4aefcb added new TupleTableModel for settingsdialog 2018-04-25 14:51:22 +02:00
Rasmus Karlsson f571a336e0 Add missing linker flag on linux 2018-04-21 00:05:04 +02:00
fourtf e17a7cc222 added basic last run crash dialog 2018-04-20 00:15:57 +02:00
fourtf 683c4aed2d added basic version fetching 2018-04-19 22:16:55 +02:00
fourtf 3446a623f5 added select channel dialog 2018-04-18 09:15:56 +02:00
pajlada 23cf8cc484
PubSub system (#346)
* Add websocketpp dependency

* Initial pubsub commit

Renamed selection min and max variables to selectionMin and selectionMax
to bypass windows min/max macros being stupid.

TwitchAccount is now initialized with its User ID. It cannot be changed
after it has been initialized.

* Update openssl folder

* Update installation instructions

* Split up websocketpp dependency to its own code only and openssl.pri

* Add missing include to asio steady_timer

* Update dependencies for linux
2018-04-15 15:09:31 +02:00
Rasmus Karlsson 253ccc938e Disable more warnings, and specify that the no-unused-local-typedef operation should only be used with clang 2018-04-14 22:31:00 +02:00
Rasmus Karlsson a684420e89 Also apply the clang bugfix for gcc 2018-04-14 22:30:31 +02:00
Rasmus Karlsson b7266b1640 Fix warnings that occured on linux using clang 2018-04-14 21:59:51 +02:00
Rasmus Karlsson a60e8265a5 Ignore 'unused local typedef' warning on Linux since it seems to give false positives 2018-04-14 21:54:21 +02:00
fourtf 2687da38ba added basic browser extension stuff 2018-04-11 22:53:15 +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 86c844c791 added debug information on F10 2018-04-06 16:37:30 +02:00
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 1c7f397f1b Move signallabel code out from its header 2018-03-30 14:39:33 +02:00
Rasmus Karlsson 4790f68557 make helper function for trimming a twitch channel name from irc 2018-03-25 11:37:57 +02:00
Rasmus Karlsson 41fbcc738b Fix and improve Streamlink code
Move streamlink code to its own file

Fixes #275

Untested on linux, but should work decently there as well.
2018-03-24 14:15:27 +01: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
fourtf 11621fd146 removed providermanager from chatterino.pro 2018-02-09 13:35:36 +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
fourtf 0d417dfa2d minor style changes 2018-01-29 13:23:45 +01:00
confuseh 2391ad7d16 clang PCH workaround
https://bugreports.qt.io/browse/QTBUG-27018
2018-01-28 22:17:33 +01:00
fourtf 643486da14 enabled compact emtoes again 2018-01-28 16:29:47 +01:00
fourtf 3d479e4c83 fixed template compilation on mingw 2018-01-28 15:28:02 +01: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 f4863cbccb added buttons to the custom window frame 2018-01-24 20:27:56 +01:00
fourtf 93cfcbd3f1 added empty ketboard settings page 2018-01-24 15:34:04 +01:00
fourtf d741bf6df3 added SpecialChannelPage with a description for /mentions 2018-01-23 23:10:27 +01:00
fourtf dd05ea28fe added basic keyword ignore setting 2018-01-23 21:35:42 +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
fourtf 6d6b99f3ef added moderation buttons 2018-01-17 14:14:31 +01:00
fourtf a190eda075 fixed text selection 2018-01-16 00:26:04 +01:00
fourtf e19a83679f moved window logic from BaseWidget to BaseWindow 2018-01-14 21:55:36 +01:00
fourtf e0bb061c81 refactored the settings dialog 2018-01-12 23:09:27 +01:00
fourtf a7fa4160e8 added define for myself 2018-01-11 20:26:32 +01:00
fourtf 10850c0ec7 I BROKE EVERYTHING
refactored the rendering process
2018-01-11 20:17:41 +01:00
Rasmus Karlsson af1e0d13e5 add BOOST_DIRECTORY option in qmake file to use custom boost directory 2018-01-07 03:24:36 +01:00
Rasmus Karlsson 8aa459d826 Move shortcut creation code to its own helper file 2018-01-06 20:24:04 +01:00
fourtf 315cfd8605 bundling timeouts from same user 2018-01-05 23:14:55 +01:00
fourtf 47a813d5d6 added search popup 2018-01-05 13:42:23 +01:00
Rasmus Karlsson 334860dad2 Remove unused appdatapath class
Reformat some code
2018-01-05 03:00:29 +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 5f784ce9dc Disable "unreferences formatl parameter" warnings with msvc 2018-01-05 02:38:22 +01:00
fourtf 4a2850c4f5 moved selection into its own file 2018-01-04 23:50:30 +01:00
fourtf 871195265a Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-01-04 02:59:44 +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
02845b32d7 added application icon for windows 2018-01-04 00:16:48 +01:00
coral 0e8b50c4e9 New setting menu icons! (#189)
* LUL

* Added system icon for OSX
2018-01-02 03:44:52 +01:00
424eeb05d9 Created helper class IrcMessageHandler 2018-01-01 23:54: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
Cranken a617873f6a Implemented a new, better looking tooltip. (#158)
* Implemented a new, better looking tooltip.

* Pajlada fix.

* Fixed dragging behaving incorrectly.

* Fixed out of focus hovering getting stuck.
2017-12-23 22:17:38 +01:00
fourtf fc81b118c7 replaced qt font scaling
remove the qt font scaling and added code that uses the actual scale/dpi value
2017-12-23 21:18:13 +01:00