Commit graph

1578 commits

Author SHA1 Message Date
fourtf b639604a47 refactored BaseWidget 2018-07-06 17:11:37 +02:00
fourtf 741c1f7820 refactored Window 2018-07-06 17:03:57 +02:00
fourtf 314c15bb87 Small fixes for the last PR 2018-07-05 22:55:06 +02: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 eeb514c444 minor changes 2018-07-05 18:17:12 +02:00
fourtf 42550129e7 reworked the Look settings page 2018-07-05 17:38:24 +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 d925704aa9 renamed file to fix compiling 2018-07-05 16:09:08 +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
apa420 eb69cbf5f5 The file-url for logging is now displayed as a smaller link (#570)
* The file-url for logging is now displayed as a smaller link, todo: Show link on hover

* added a label to the folder-url in the settings
2018-07-05 15:57:08 +02:00
fourtf 3d7926cac1 added the update download button for linux/mac (updates don't work tho
so it doesn't show)
2018-07-05 13:25:10 +02:00
fourtf 59332270b5 put the update button code into it's own file 2018-07-05 12:54:38 +02:00
fourtf ef13aef7df fixes for linux 2018-07-05 12:08:33 +02:00
fourtf f2238729f1 worked on the UpdatePromptDialog 2018-07-05 11:42:40 +02:00
fourtf f02a89690e added mechanic for deleting a BaseWindow on focus out 2018-07-05 10:34:04 +02:00
fourtf 335cbf8758 added basic download icon to the window frame 2018-07-04 20:42:51 +02:00
fourtf 3303de18cd added double click to resize handle 2018-07-04 19:52:11 +02:00
fourtf 14f125ff87 added room mode selector for mods again 2018-07-04 19:44:54 +02:00
fourtf e9a112f8b3 changed order of split header items 2018-07-04 19:44:54 +02:00
apa420 2e1fdbec32 Changed where the bold @username setting is found 2018-07-04 18:10:50 +02:00
Rasmus Karlsson a66a2f2e8d Add a list of contributors to the about page 2018-07-04 16:52:14 +00:00
fourtf e76871c09c improved moderation mode icons 2018-07-04 14:13:29 +02:00
apa420 9754d1c350 I use startWith again 2018-07-04 14:01:39 +02:00
apa420 2524bb8af6 this time I compiled before pushing 2018-07-04 14:01:39 +02:00
apa420 4491bba5ec Boldness is now fontStyle 2018-07-04 14:01:39 +02:00
apa420 31a38d19a7 Fixed code, things that fourtf asked for 2018-07-04 14:01:39 +02:00
apa420 4bf174376a Fixed random code that didn't belong 2018-07-04 14:01:39 +02:00
apa420 318e8b6234 Bold @username 2018-07-04 14:01:39 +02:00
Rasmus Karlsson acf77beff2 Remove file that I accidentally re-added 2018-07-04 13:58:38 +00:00
DatGuy1 e9fb5971da Add option to make link domains lowercase (#557) 2018-07-04 13:53:49 +02:00
fourtf 06ff6e6479 added dim effect to the titlebar buttons 2018-07-04 13:13:21 +02:00
fourtf 19fdfaef42 reworked splitheader a bit 2018-07-04 13:06:26 +02:00
Rasmus Karlsson 4ea613503e Remove unused include 2018-07-04 11:45:10 +00:00
Rasmus Karlsson 03b7fae09e Refactor highlight blacklist to use the model system
Fix #560
2018-07-04 11:45:10 +00:00
fourtf 362dcb88bc put returns into #else to remove unreachable code warnings 2018-07-04 10:41:43 +02:00
fourtf 1064729e1a Fixed issue with the window frame 2018-07-04 10:38:36 +02:00
Rasmus Karlsson 5dbdb6424c Get rid of some more warnings 2018-07-03 21:27:17 +00:00
Rasmus Karlsson ba5d6e5c4b Remove unused variable from ModerationAction class 2018-07-03 18:09:17 +00:00
Rasmus Karlsson a716e93112 Remove pessemistic move 2018-07-03 18:09:07 +00:00
fourtf 3a9de8cb86 renamed classes AppearancePage and BahaviourPage 2018-07-03 17:45:31 +02:00
fourtf cd57b2b518 renamed AppearancePage and BehaviourPage 2018-07-03 17:45:31 +02:00
Rasmus Karlsson 78dede21f4 Fix linux not compiling 2018-07-03 17:42:38 +00:00
Rasmus Karlsson baad3322cf Fix warnings 2018-07-03 17:42:28 +00:00
hemirt ef4c7dbe60 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-07-03 17:21:41 +02:00
fourtf d6c6a552d8 added preview channel view to the appearance tab 2018-07-03 16:56:36 +02:00
fourtf 6909d1d939 replaced 0 with nullptr in signalvector 2018-07-03 16:55:34 +02:00
fourtf 836f931b23 added isSorted method to signalvector 2018-07-03 16:55:34 +02:00
Rasmus Karlsson e757a6504b Run clang-format-all.sh 2018-07-03 15:20:00 +00:00
hemirt 126e344f18 rename Ver to Dotted, fix show current value on first open 2018-07-03 15:45:25 +02:00
hemirt 4f30d950c7 fix current index, depends on value of setting
fix default value of the combobox for the collapse lines, incorrectly
always shows first item of the box, instead of current value
2018-07-03 15:43:54 +02:00
fourtf 63a596ef16 added moderation action settings back in 2018-07-03 15:00:21 +02:00
Rasmus Karlsson 7d4feb2781 Make protocol regexes case insensitive 2018-07-03 14:57:11 +00:00
Rasmus Karlsson 35de26821a If USEWINSDK is not enabled, fall back to QWidget's nativeEvent 2018-07-03 14:22:39 +00:00
hemirt 37d3f5a24a last message pattern 2018-07-03 13:44:59 +02:00
fourtf 9f6d09db7c fmoved windows message handlers into their own functions 2018-07-03 13:04:27 +02:00
fourtf eb809d1572 Fixes #538 multiple window frames on windows 2018-07-03 12:08:12 +02:00
Rasmus Karlsson 978931bcfc Clean up twitch emote tooltips 2018-06-30 10:10:53 +02:00
Rasmus Karlsson ec4c243455 fix link parser 2018-06-29 10:22:09 +02:00
fourtf 712a292d7e renamed class SingalVector -> SimpleSignalVector 2018-06-28 20:27:24 +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 c01d1ed732 step 1: push, step 2: try to compile 2018-06-28 19:57:06 +02:00
fourtf 848bbc71aa removed that pile of garbage IrcManager 2018-06-28 19:54:40 +02:00
fourtf 8ced5a1e25 renamed *Manager classes 2018-06-28 19:51:07 +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
fourtf b667183ca5 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-06-28 18:12:43 +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 524be95e8b Reduce complexity of regular expression initialization 2018-06-28 00:54:34 +02:00
Rasmus Karlsson 20c17c3377 Make link regular expression only be created once 2018-06-28 00:54:34 +02:00
LajamerrMittesdine 7fe8ff97e0 Initial rework of matchLink 2018-06-28 00:54:34 +02:00
fourtf 37be58ebcf fixed browser extensions not working when opening the browser before
chatterino
2018-06-27 22:56:56 +02:00
fourtf 6a93aa412e moved IsBigEndian into it's own file 2018-06-27 13:03:59 +02:00
chems c22052afdd undo reformat 2018-06-27 12:59:11 +02:00
ch-ems b2d18ddd7f fixes #525 2018-06-27 12:59:11 +02:00
ch-ems 1bd97d853e fixes issue where slowmode checkbox is checked even after canceling. 2018-06-27 12:59:11 +02:00
Rasmus Karlsson e9868fdd84 Move TwitchUser deserialization to the proper Deserialize function
instead of ::fromJSON
2018-06-27 00:17:05 +00:00
Rasmus Karlsson f76512c31e Remove authenticated get function from urlfetch
Implement twitch account emote getter function in TwitchAccount
2018-06-27 00:16:30 +00:00
ch-ems d333da3dfa fixes issue with 0245bd5 2018-06-26 19:33:42 +02:00
fourtf c5441c6d4a fixed minor issues 2018-06-26 17:51:31 +02:00
fourtf fb230423f6 fixed rename 2018-06-26 17:47:44 +02:00
fourtf 604e5ed682 fixed upper/lower case fiesta 2018-06-26 17:42:35 +02:00
fourtf 8cbf575e3c added docs of main.cpp 2018-06-26 17:33:26 +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 08e552f5f6 ran clang-format on all files 2018-06-26 17:20:03 +02:00
fourtf 6ee1fc303e removed SplitColumn 2018-06-26 17:16:58 +02:00
fourtf c74bc00106 renamed twitch api get functions 2018-06-26 17:12:50 +02:00
fourtf 54eb07e116 removed namespaces 2018-06-26 17:06:17 +02:00
fourtf 2df0566492 removed namespaces 2018-06-26 16:37:59 +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 f09c7e8b4e removed ChannelData 2018-06-26 14:55:28 +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 c9722b9780 rename #2 2018-06-26 13:24:55 +02:00
fourtf ec04f10895 rename #1 2018-06-26 13:23:57 +02:00
fourtf 6375a902a0 fixed size of the attachedwindow for the browser extension for scaling 2018-06-25 22:07:17 +02:00
Lajamerr Mittesdine 13d28d0d8b Fix Account Switcher Popup Widget On Linux
This fixes it for me on Linux.

Not sure if this breaks anything on Windows. Needs some testing.
2018-06-25 17:01:29 +02:00
ch-ems 0245bd5c3a fixed crash when enabling 'window always on top' 2018-06-25 16:59:50 +02:00
ch-ems 7f5b07a9f9 fixes font selection window showing behind if 'window always on top' is
enabled.
2018-06-25 16:59:50 +02:00
fourtf ef2365e81a small fix and increased version number to 2.0.4 2018-06-25 12:52:07 +02:00
fourtf c75b3578a7 fixed windows 7 again 2018-06-25 12:41:55 +02:00
fourtf 7b5972f05d Fixed crash on windows 7 2018-06-25 12:20:36 +02:00
fourtf a91d6525ad Increased version number to 2.0.3 2018-06-25 00:01:03 +02:00
fourtf ba5c3555b8 fixed scaling for 1.5+ scale on windows 2018-06-24 23:58:29 +02:00
fourtf 4075ac9279 increased version number to 2.0.2 2018-06-24 23:08:52 +02:00
fourtf 640907198e I keep pushing too fast 2018-06-24 21:59:13 +02:00
fourtf 0d499313e2 fixed maximized mode margin on windows 2018-06-24 21:57:03 +02:00
fourtf 63c213a36a fixed spelling of "separate" 2018-06-24 18:32:00 +02:00
fourtf 59ee091722 fixed label ui scale 2018-06-24 18:30:48 +02:00
fourtf 22167f33f2 Fixes #491, font size in notebooktab too big 2018-06-24 17:33:55 +02:00
fourtf 68ddd1e7c9 Fixed some labels being too big on hi-dpi 2018-06-24 17:02:21 +02:00
fourtf 683017008a fixed inital scaling being wrong on windows 2018-06-24 17:02:21 +02:00
Rasmus Karlsson 24471fc2d0 Fix emote popup for certain emotes (i.e. <3)
Fix #513
2018-06-24 16:35:38 +00:00
Rasmus Karlsson 355b80680d Fix erroneous copying of emotes (twitch emotes in particular)
Fix #514
2018-06-24 16:30:28 +00:00
Rasmus Karlsson fc0e89edf3 Implement "frameless draggable" windows on Linux
Not yet tested on Mac but should work just the same

Fix #472
2018-06-24 16:09:11 +00:00
Rasmus Karlsson a105b47a6b Improve notice message handling
This should stop most duplicate notice messages from showing up

Fix #272
2018-06-24 15:33:22 +00:00
Rasmus Karlsson 8bb3ad1bf5 Only use the "duplicate message" functionality if user is not a
moderator
2018-06-24 15:20:15 +00:00
Rasmus Karlsson 715d208b6d Enable unicode regular expressions in ignore phrases too 2018-06-24 14:56:34 +00:00
pajlada eae2c2c521
Emote popup channelname (#475)
Fix #464
2018-06-24 14:42:40 +02:00
Rasmus Karlsson ebe0f0c87f Improve display name parsing
Fix #510
2018-06-24 14:27:08 +00:00
Rasmus Karlsson a5983e3876 Fix "addFakeMessage" for privmsgs 2018-06-24 14:27:08 +00:00
fourtf a505adf26c disabled openGuiMessageQueue for debug mode 2018-06-24 14:03:26 +02:00
fourtf 9a719dcd05 added completion for default twitch commands 2018-06-24 13:57:19 +02:00
Rasmus Karlsson e1f2cb3355 Enable full unicode support in Highlight phrases
Fix #509
2018-06-24 13:42:22 +00:00
fourtf 573abe9f40 fixed #486 2018-06-24 13:33:18 +02:00
Rasmus Karlsson 6c727cf82b Settings now saves unicode QString settings properly
Fix #503
2018-06-24 13:21:16 +00:00
Rasmus Karlsson ecfe9646dd Add missing this prefixes in TwitchServer 2018-06-24 13:14:05 +00:00
Rasmus Karlsson be931df4f4 Add a message if you're trying to type without being logged in
Fix #484
2018-06-24 13:11:20 +00:00
fourtf 8b4f9d066e fixed account switch popup showing behind the main window 2018-06-24 13:10:29 +02:00
fourtf 8111946858 renamed variables in twitchserver 2018-06-24 13:06:11 +02:00
fourtf 47198a5489 Fixed #501 2018-06-24 13:00:42 +02:00
Rasmus Karlsson 532737d358 Fix the "mode header thing" to not take up too much space 2018-06-24 12:21:11 +00:00
DatGuy1 5135309508 Add room mode options to splitheader (#497) 2018-06-24 12:22:50 +02:00
fourtf 02214c38a6 added comments for explanation 2018-06-24 12:16:32 +02:00
fourtf 5673cefd1b Fixes crash #504 2018-06-24 11:45:30 +02:00
fourtf f5a05543cd added autocompletion for commands 2018-06-24 11:24:21 +02:00
fourtf 2b99a3574c changed firefox extension link to the english one 2018-06-24 10:57:37 +02:00
fourtf f7b9144210 added timestamp and disabled pings for inline sent whispers 2018-06-24 10:53:12 +02:00
fourtf a91ac5cdf0 channged piss color to blue 2018-06-23 23:48:54 +02:00
fourtf b056a07f65 show changelog fix 2018-06-23 23:26:09 +02:00
fourtf c121eba15d fixed viewing changelog temporarily 2018-06-23 23:24:32 +02:00
fourtf fdabb5d1f2 increased version to 2.0.1 2018-06-23 23:11:22 +02:00
fourtf 3bcbcac869 commented out the NOTICE message handle 2018-06-23 23:08:15 +02:00
fourtf f728a1fbd7 added browserextensionpage 2018-06-23 22:49:07 +02:00
fourtf 89d9076715 polishing for the update 2018-06-23 22:17:57 +02:00
datguy 88ef3ef07a Show sent whispers inline 2018-06-23 19:24:51 +02:00
Rasmus Karlsson 942217fd6a Fix removing items in an EditableModelView
Fix #489
Fix #456

If @fourtf could take a look at this fix it would be nice KKaper
2018-06-23 14:46:21 +00:00
Rasmus Karlsson ee1fd9274d Add missing include 2018-06-23 14:10:20 +00:00
Rasmus Karlsson b2f454aca4 Change header color when split is active
Colors might need to change but they work for now

Fix #495
2018-06-23 11:54:00 +00:00
fourtf 5ae671dc14 accidentally added a line 2018-06-22 23:28:20 +02:00
fourtf 4aec66e3ea small refactor of twitchserver 2018-06-22 23:24:45 +02:00
Rasmus Karlsson 115031b7ac Clearchat now disables previous messages
Fix #499
2018-06-22 21:44:02 +00:00
Rasmus Karlsson dd0d6a0f88 Stop moderation elements from appearing on other moderators messages
Fix #496
2018-06-22 21:19:52 +00:00
Rasmus Karlsson 2746f88e49 Load all short codes for emojis, instead of just the first one
Fix #494
2018-06-22 20:43:43 +00:00
hemirt 077f908f4e Adjust tooltip size 2018-06-22 20:14:44 +02:00
fourtf dfdeef297e fixed dragging user info popup on windows 2018-06-22 12:44:10 +02:00
fourtf 440a3c41fe LayoutCreator<T>::operator * now returns a reference 2018-06-22 12:34:33 +02:00
fourtf a5b48d713a disabled registering of the native messaging host if in debug mode 2018-06-22 11:33:01 +02:00
fourtf e534bdfeca update manager 2018-06-22 10:22:25 +02:00
fourtf 5155039293 added #ifdef back in for windows updates 2018-06-21 23:03:13 +02:00
fourtf 8f34a0af59 fixed the updating mechanism 2018-06-21 23:02:42 +02:00
fourtf 00d538b368 fixed creating messagebox on wrong thread 2018-06-21 22:44:48 +02:00
fourtf 713d0c9599 minor change to the update system 2018-06-21 22:39:17 +02:00
fourtf e204dfdb17 added updating mechanic 2018-06-21 22:02:35 +02:00
fourtf 2f91e3097a changed settings paths 2018-06-21 13:02:34 +02:00
Rasmus Karlsson e0ecd97184 another emoji shit test 2018-06-20 21:30:18 +02:00
Rasmus Karlsson c92c3141ba Try out braize pajlada CDN 2018-06-20 20:30:54 +02:00
fourtf 7a54b51cb7 removed the fourtf cdn 2018-06-20 19:32:54 +02:00
fourtf 66c4b4f82b added the fourtf cdn 2018-06-20 19:10:54 +02:00
fourtf 107dc398a8 added caching for bttv and ffz api requests 2018-06-20 09:02:50 +02:00
Rasmus Karlsson e32841ab81 Make the UserInfoPopup identify itself as a popup, hinting tiling window manager to not tile it 2018-06-19 20:51:56 +00:00
fourtf e28bc805f6 changed highlighted message color 2018-06-19 20:48:57 +02:00
fourtf bc54927c84 fixed smooth scrolling 2018-06-19 20:34:50 +02:00
fourtf ee396bc1b8 fixed messages not replacing 2018-06-19 20:19:43 +02:00
fourtf cf6bdeddc7 fixed user info popup user info loading 2018-06-19 20:14:38 +02:00
Rasmus Karlsson 7703087fb4 Fix tabbing some emotes (i.e. R-)) 2018-06-19 20:04:12 +00:00
Rasmus Karlsson 8f00d1aece Make timeouts show up as the biggest "even" duration type possible
61 seconds = 61 seconds
60 seconds = 1 minute
3601 seconds = 3601 seconds
3600 seconds = 1 hour
3540 seconds = 59 minutes

the reason it doesn't just do 3601 seconds as 1 hour, 1 second is I
wanted to keep the messages short. might change in the future eShrug
2018-06-19 20:02:51 +00:00
fourtf 7e53b44099 opening user info popup approx. at the center of the mouse 2018-06-19 19:51:08 +02:00
fourtf b2be44bbe7 making user dialog draggable on windows 2018-06-19 19:42:15 +02:00
fourtf 78b20776a8 improved user popup 2018-06-19 19:03:07 +02:00
fourtf 73a067f42f improved code style 2018-06-19 19:03:07 +02:00
fourtf 394009dda8 added ui scaling 2018-06-19 19:02:19 +02:00
fourtf 01f3f401ac wip changes 2018-06-19 19:00:02 +02:00
DatGuy1 b2ca38b479 fix typo
if -> ifdef
2018-06-18 23:33:06 +02:00
DatGuy1 2e8b168f19 FMT_USE_WINDOWS_H -> USEWINSDK 2018-06-18 23:33:06 +02:00
datguy 56fcc496cf made the 'add account' popup box actually pop up to the foreground 2018-06-18 23:33:06 +02:00
Rasmus Karlsson 7578743b74 Try to make message-replacing more crash-resistant 2018-06-18 20:03:09 +02:00
DatGuy1 635d4b2341 Fix minor userinfopopup moderator tool bugs
fix weeks time, add days, clang formatting
2018-06-14 17:08:57 +02:00
fourtf 57b21cffb3 changed emplace to push_back 2018-06-13 13:29:11 +02:00
fourtf ae4cdbd5ab improved code style 2018-06-13 03:58:52 +02:00
fourtf 866f868b54 added stuff related to scaling 2018-06-11 21:57:41 +02:00
fourtf 66e1952603 fixed default ui scale 2018-06-11 21:57:41 +02:00
fourtf 3f9a48fd72 fixed linux 2018-06-11 19:11:33 +02:00
fourtf f2f34a4068 fixed building 2018-06-11 15:31:27 +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
Rasmus Karlsson 698814a21f Fix live status tooltip not updating properly
The issue was the TwitchChannel refreshLiveStatus function not calling
the updateLiveInfo signal properly

Fix #461
2018-06-11 11:51:46 +02:00
Lajamerr Mittesdine 511f60a181 Add the option to either copy / open an emote link
Currently you can only copy the emote link into clipboard.

This change allows you to directly open it instead.
2018-06-09 19:12:48 +02:00
DatGuy1 a41e199382 Default add to channel (#453) 2018-06-08 18:36:21 +02:00
Rasmus Karlsson 85e19d0bd6 Remove more QString usages 2018-06-07 16:40:31 +02:00
Rasmus Karlsson d2e750129c Remove unused std::string version of CompletionModel addString 2018-06-07 16:40:31 +02:00
Rasmus Karlsson 9f2c4ab59a Make Emojis fully conform and use QString instead of std::string 2018-06-07 16:40:31 +02:00
Rasmus Karlsson 63c38c02d0 Make FFZEmotes fully conform and use QString instead of std::string 2018-06-07 16:40:31 +02:00
Rasmus Karlsson 6906d1dc1c Make BTTVEmotes fully conform and use QString instead of std::string 2018-06-07 16:40:31 +02:00
Rasmus Karlsson 93fe7adce7 Make TwitchEmotes class conform to QString standard
Make twitch emotes only be identified by a string ID, instead of sometimes by a string and sometimes by an int

Make the EmoteSet a struct instead of just a vector of emotes. This will be handy when we later fill in the emote sets name and other info (i.e. whether it's a subscription benifit or not)
2018-06-07 16:40:31 +02:00
Rasmus Karlsson 3bc7e2da8a Key twitch emotes by QString instead of std::string 2018-06-07 16:40:31 +02:00
Rasmus Karlsson e8683c3e8e Remove unused includes in EmoteManager 2018-06-07 16:40:31 +02:00
Rasmus Karlsson d739fb0df4 Clean up FFZEmotes class 2018-06-07 16:40:31 +02:00
Rasmus Karlsson 09963700ae Clean up BTTVEmotes class 2018-06-07 16:40:31 +02:00
fourtf 049329e176 fixed /me action messages 2018-06-07 15:49:57 +02:00
Rasmus Karlsson 578795fbc3 Fix logging to a custom folder
Progress on #352
2018-06-06 20:30:34 +02:00
fourtf 7cd2d77524 fixed window title not containing the username on linux 2018-06-06 20:11:33 +02:00
fourtf d2de34914b added scrollbars to the about page 2018-06-06 20:04:57 +02:00
fourtf 6000b7626e fixes #185 2018-06-06 18:59:18 +02:00
fourtf 00fb25d9a7 removed the old user info popup 2018-06-06 16:29:35 +02:00
fourtf 7a515355e4 added timeout and ban actions to the user popup 2018-06-06 16:17:34 +02:00
fourtf 45cda9b7a5 added follow and ignore functionality to the user popup 2018-06-06 15:54:14 +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
Rasmus Karlsson f542a5b999 Split up emoji parsing in more steps
Re-enable emoji skin variations
2018-06-06 11:43:02 +02:00
Rasmus Karlsson 3eab6150cf fix emoji set combobox not loading from settings 2018-06-06 11:42:41 +02:00
Rasmus Karlsson 5724c7ef67 play around with the QString json deserializer 2018-06-06 11:42:01 +02:00
Rasmus Karlsson 7f589803be Disable skin variations for emojis for now 2018-06-06 11:10:03 +02:00
Rasmus Karlsson ba1767ce10 another try forsenT 2018-06-06 12:53:19 +02:00
Rasmus Karlsson 712b1c4f12 make skin variation parsing more resilient 2018-06-06 12:40:26 +02:00
fourtf 714d3178d6 disabled the custom log path as it doesn't save in the proper
directories
2018-06-06 00:46:37 +02:00
Rasmus Karlsson 334f778f42 Experimental emoji sets implemented
Fixes #376
2018-06-06 01:30:26 +02:00
Rasmus Karlsson 30c117f129 Add a mutable each function 2018-06-06 01:30:26 +02:00
fourtf 4716d73ee2 added keyboard bindings to the settings 2018-06-05 19:39:18 +02:00
fourtf 8a9ebf29a2 fixed SplitHeader tooltip not showing (hard one) 2018-06-05 19:18:26 +02:00
fourtf 19bef56f58 fixed tooltips having their own window in the taskbar 2018-06-05 19:08:49 +02:00
fourtf 51bde1098e fixed sending whispers from /whispers 2018-06-05 18:51:14 +02:00
Rasmus Karlsson b410db844d Remove old emoji parsing test code
it can be recovered from the repo if we decide to make a test suite eShrug
2018-06-05 17:28:36 +02:00
Rasmus Karlsson f56b2e2fc2 Remove unused code 2018-06-05 17:28:36 +02:00
Rasmus Karlsson 8db3bf483e Remove unused chatterino emotes 2018-06-05 17:28:36 +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
Rasmus Karlsson 3a8ceede4e Remove unused functions from EmoteManager 2018-06-05 17:28:36 +02:00
Rasmus Karlsson d584852bc0 Fix tag string parsing 2018-06-05 16:29:06 +02:00
fourtf 5c8e736518 fixed expanding messages 2018-06-05 14:24:54 +02:00
fourtf a9d57f3ebd fixed expanding messages 2018-06-05 14:24:01 +02:00
Rasmus Karlsson 3c3abba202 Fix some compilation errors caused by an incorrect merge 2018-06-05 15:19:39 +02:00
pajlada 4ad0ed4d45
Merge branch 'master' into logging 2018-06-05 13:16:20 +02:00
Rasmus Karlsson ac40bede37 Implement the "Reload channel emotes" menu option 2018-06-05 15:03:34 +02:00
Rasmus Karlsson c81df989c5 Fix rare crash when clicking in a ChannelView 2018-06-05 15:01:45 +02:00
Rasmus Karlsson 7c81477c35 Improve sub/resub message parsing
Instead of regexping out the username, use the existing ircv3 login-tag
2018-06-05 14:14:00 +02:00
Rasmus Karlsson 791187e688 Re-implement F5 for fake messages (debug mode only) 2018-06-05 14:08:55 +02:00
Lajamerr Mittesdine 819812c458 Revisement 3 of Fixing the text emotes
Fix of a fix of a fix of a fix.
2018-06-05 00:32:11 +02:00
Lajamerr Mittesdine b2d049c782 Revisement 2 of Fixing emote text
Fixing the fix of the fix.
2018-06-05 00:32:11 +02:00
Lajamerr Mittesdine 4430f0b9a9 Revisement of fixing text emotes
Fixing the order of text emotes.
2018-06-05 00:32:11 +02:00
Lajamerr Mittesdine 3c8bb5e9bb Fix a few issues with text emotes.
1. Fix the heart emote text overlay.
2. Added a missing text emote to the replacements.
3. Replace > with &gt;
2018-06-05 00:32:11 +02:00
fourtf 10b0466052 changed scrollbar bg 2018-06-05 00:14:47 +02:00
Rasmus Karlsson 4b52a98778 Fix mentions tab 2018-06-05 01:13:53 +02:00
fourtf b693779c55 fixed clicking to select split 2018-06-04 21:44:03 +02:00
fourtf d9cb8093cb added a shitty reconnect implementation 2018-06-04 21:37:19 +02:00
fourtf 8de0a59533 ircconnection and about page 2018-06-04 21:05:18 +02:00
fourtf 5e7fc909e7 fixed an issue 2018-06-04 21:03:06 +02:00
fourtf 2c1e045017 added licenses to the about page 2018-06-04 17:28:45 +02:00
fourtf 70617e294f added int setting for collapsed messages 2018-06-04 16:34:47 +02:00
fourtf 7ad4e36dbb improved handling of relayouting messages 2018-06-04 16:10:54 +02:00
fourtf bd5f9853f9 fixed "hide settings" and "hide user" settings on linux/mac 2018-06-04 15:36:48 +02:00
fourtf 66dab0a6b7 selects correct image when scaling emotes 2018-06-04 15:11:06 +02:00
fourtf db233ffbdc fixed copying 3x versions of bttv channel emotes 2018-06-04 14:52:21 +02:00
fourtf 829809b0e1 added rightclicking selections to copy them 2018-06-04 14:39:26 +02:00
fourtf 2299030deb fixed tabs sometimes not showing 2018-06-04 12:54:09 +02:00
fourtf 5923e30132 fixed emote popup images 2018-06-04 12:48:23 +02:00
fourtf 4a2709cbc3 fixed resub messages 2018-06-04 12:23:23 +02:00
fourtf 04b7cc5ce8 fixed tab name sometimes not changing 2018-06-01 16:01:49 +02:00
fourtf 9e36af26fa applied code style to notebooktab 2018-06-01 14:57:18 +02:00
fourtf 449d410ce0 added minimuk size for tabs 2018-06-01 14:50:35 +02:00
fourtf bba82ac912 fixed the add button not wrapping the notebook 2018-06-01 14:46:41 +02:00
fourtf 3a78068810 forgot to commit in a while 2018-06-01 14:20:46 +02:00
fourtf a3e4c92b9f put the account emotes into groups 2018-05-31 16:20:46 +02:00
fourtf 85505a055d fixed scrollbar size and split focus 2018-05-31 16:02:20 +02:00
fourtf 783b9096c3 Fixes #438 message buffers not growing on message resize 2018-05-31 14:15:04 +02:00
fourtf 4f35d8854a made message backgrounds overflow into the scrollbar 2018-05-31 12:59:43 +02:00
fourtf 61a6accc54 fixed compilation on linux 2018-05-30 18:30:26 +02:00
fourtf 3c9c3493ae improved the extension 2018-05-30 17:17:27 +02:00
fourtf e01a3a0978 added some more race conditions to the browser extension 2018-05-29 23:58:37 +02:00
LajamerrMittesdine 6d4344e66c Fixes issue #430
This makes Channel the default selected instead of Whispers.
2018-05-29 18:31:48 +02:00
LajamerrMittesdine 7279e8ee87 Fixes Issue #431
Fixed a grammatical mistake.
2018-05-29 18:31:21 +02:00
fourtf fe3ab1f1b9 fixed linux compilation 2018-05-28 19:49:37 +02:00
fourtf 0f8375a2f3 improved chatterino native 2018-05-28 18:25:19 +02:00
fourtf cded61d28d fixed crash 2018-05-28 15:23:17 +02:00
fourtf 5ba62997fc fixed removing accounts 2018-05-28 08:51:39 +02:00
fourtf 6156b1f430 added categories to the accountspage 2018-05-28 08:34:54 +02:00
fourtf 9fc791a440 clear the list of joined/parted users 2018-05-27 13:37:49 +02:00
fourtf 0fed9ca5d2 added add account login back in 2018-05-27 03:17:33 +02:00
fourtf 7e68e662e3 renamed Twitch to twitch 2018-05-26 20:26:25 +02:00
fourtf 8c9be20f9b changed AccountManager to AccountController 2018-05-26 20:25:00 +02:00
fourtf b016f0fb88 added settings to show part and join messages 2018-05-26 18:06:55 +02:00
fourtf 88c609df43 Fixes #385, moderator mode icon not showing when broadcaster 2018-05-26 17:20:16 +02:00
fourtf a48a233785 changed scrollbar highlight color 2018-05-26 17:12:00 +02:00
fourtf 6b24f249f7 fixed split header tooltips not showing 2018-05-26 17:12:00 +02:00
Rasmus Karlsson 08cf701af3 quick linux fix 2018-05-26 13:38:25 +02:00
fourtf 90551acf37 changed "justinfanXXX" to "anonymous" 2018-05-25 18:23:13 +02:00
LajamerrMittesdine 0c9a079bd5 Corrected style for Twitch Bit Badge overlay text to be consistent with Chatterino
Changed from "cheer x" to "Twitch cheer x"
2018-05-25 16:50:28 +02:00
LajamerrMittesdine 302af3aaa1 Changed bit badge overlay text to be consistent with Twitch
Currently it uses "Twitch Bit(x)". Changed to "cheer x" to be consistent with Twitch text overlay.
2018-05-25 16:50:28 +02:00
fourtf 8ccd00a4d8 fixed building on mac 2018-05-25 16:48:35 +02:00
fourtf 5f76903849 Fixes #395 dropdown for search 2018-05-25 16:24:24 +02:00
fourtf 8e8990b339 fixes #400 2018-05-25 16:20:39 +02:00
fourtf afb5a1e5bf Fixes #309 alt tabbing doesn't hide resize handles 2018-05-25 16:11:03 +02:00
fourtf f654528e28 fixed resizehandles showing when switching tabs 2018-05-25 15:04:41 +02:00
fourtf 77630d5c85 changed resize handle color 2018-05-25 15:03:58 +02:00
fourtf 50a2454cc6 added alt+arrowkeys back 2018-05-25 14:57:17 +02:00
fourtf abd46d0bb8 added spaces when sending whispers 2018-05-25 13:55:55 +02:00
fourtf 9aa9b90267 fixed /r and tab text alignment 2018-05-25 13:53:55 +02:00
fourtf b68b7ecb10 fixed accountpopup background color 2018-05-25 13:02:14 +02:00
fourtf f72e1b5d82 fixed message expanding not working 2018-05-25 12:45:18 +02:00
fourtf d775123ed0 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-05-25 12:13:09 +02:00
nuuls ec03bc2e8c fixed performance 2018-05-25 01:31:34 +02:00
nuuls 6ee4945715 fixed mac stuff and added more debug code 2018-05-25 01:31:34 +02:00
fourtf 16c57045ed fixed style issues 2018-05-24 17:22:51 +02:00
fourtf 835b6d80da fixed loading issues of saved split layout 2018-05-24 17:13:46 +02:00
fourtf fecca83312 followup to the last commit 2018-05-24 16:06:34 +02:00
fourtf 02b8c34de8 added tooltip to bit badges 2018-05-24 15:42:06 +02:00
fourtf 4de2a6b65f added a setting to collapse long messages by default 2018-05-24 11:35:50 +02:00
fourtf 2ac9b4d0e7 minor addition to the last commit 2018-05-24 10:07:31 +02:00
fourtf abc2b9724f fixed tooltips not showing over topmost windows on windows 2018-05-24 10:03:07 +02:00
fourtf 59110ad4bd added roommodes to the splitheader 2018-05-24 08:58:34 +02:00
fourtf 48e94a1169 added code for a notification system 2018-05-23 22:27:29 +02:00
fourtf a74c19d1f3 fixed rightclicking links 2018-05-23 21:16:34 +02:00
fourtf 0d76f6f39f added "Copy message" context menu item ofr messages 2018-05-23 20:34:37 +02:00
fourtf 63e88938ef fixed channelview not scrolling down when emotes get loaded 2018-05-23 20:22:41 +02:00
fourtf 96103de1ea fixed tiny badges 2018-05-23 20:13:55 +02:00
fourtf fb750d6d85 added confirmation dialog when closing a tab 2018-05-23 20:02:12 +02:00
fourtf 4cb666b75a added ctrl+t again 2018-05-23 19:46:08 +02:00
fourtf aefdb60ada enabled dark fusion theme 2018-05-23 19:42:42 +02:00
fourtf 8173b3d60d improved the window broder on windows 8 2018-05-23 17:24:07 +02:00
fourtf 0475ea0b6f fixed text copying in the emote popup 2018-05-23 13:54:42 +02:00
fourtf 935cd1bab0 Fixes #409 hovering smilies shows the regex emote code 2018-05-23 13:47:22 +02:00
fourtf 65846fe1c7 scaling emotes and badges 2018-05-23 13:31:55 +02:00
fourtf 75627bc037 disabled theme color option 2018-05-23 12:44:01 +02:00
fourtf a0fb6630e7 Fixes #406 2018-05-23 12:35:10 +02:00
fourtf eb25e863e3 allowing hotswapping the top-most setting on windows 2018-05-23 12:31:03 +02:00
fourtf 67e580059c show settings and user button when it's not available in the window
frame
2018-05-23 12:24:18 +02:00
fourtf 8b3fb691a7 renamed Notebook2 to Notebook 2018-05-23 11:59:37 +02:00
fourtf dafbda6a4a asdf 2018-05-23 04:22:17 +02:00
fourtf f6d02fffc9 rewrote the pausing chat on hover functionality 2018-05-17 17:27:20 +02:00
fourtf 795758f618 fixed the split overlay not appearing proprly 2018-05-17 16:39:38 +02:00
fourtf c27a4eec33 fixed the splitoverlay not disappearing when the window is not selected 2018-05-17 14:47:23 +02:00
fourtf 4d3437e6d1 fixed timeouts for non moderators 2018-05-17 13:43:01 +02:00
fourtf 89ca71aec4 commented out the unused logspage 2018-05-17 12:29:14 +02:00
fourtf 05261ef67c commented out development code 2018-05-17 12:17:31 +02:00
fourtf d24e1f8314 fixed selections moving when new messages come in while selecting 2018-05-17 12:17:31 +02:00
fourtf 8ee0f85a2b weekly "fixed building on linux" 2018-05-16 17:47:58 +02:00
fourtf 7b192897da minor fixes 2018-05-16 15:42:45 +02:00
Rasmus Karlsson c2c3b67f6b Added result code to ignore/unignore calls
Add ignore/unignore calls that take the user ID to avoid double api
calls
Fully implement the account popup ignore/unignore feature
Fix #247
2018-05-16 15:14:46 +02:00
Rasmus Karlsson 26262f4ce4 Also respect "enable twitch ignored users" setting 2018-05-16 15:12:48 +02:00
Rasmus Karlsson 61dac49f6d Implement basic and stupid ignore functionality
We currently do not respect mod status
2018-05-16 15:12:48 +02:00
Rasmus Karlsson 88e97325f8 Fix windows-specific compilation error 2018-05-16 15:12:48 +02:00
Rasmus Karlsson 937fffc34b 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-16 15:09:41 +02:00
fourtf 5b26cdaa07 added split resizing and splitting 2018-05-16 15:02:01 +02:00
fourtf 28fb877020 updated splitheader 2018-05-16 15:02:01 +02:00
fourtf 27cd953c8c improved splits 2018-05-16 15:02:01 +02:00
fourtf c1a3764f44 added basic new layout 2018-05-16 15:01:11 +02:00
Rasmus Karlsson 64160e60af Fix right-clicking of emotes
There are a few more actions that we might want to add at a later date,
      but a simple feature set has been implemented

Fix #386
2018-05-16 03:55:56 +02:00
apa420 3157b10ef2 fixed some functionality, cleaned up and removed an unused QBoolSetting 2018-05-16 01:39:08 +02:00
apa420 26a0d5bc26 Added the functionality of having logs in custom folders as well as resetting the custom path to default. 2018-05-15 19:54:29 +02:00
fourtf 454b6bcb70 added username autocompletions with @ 2018-05-14 17:28:00 +02:00
fourtf a0e33ef9e6 fixed crash when onError is not set 2018-05-14 15:12:09 +02:00
Rasmus Karlsson 732d0374be Simplify optional member reading in HighlightPhrase setting deserialization 2018-05-13 19:25:12 +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 022c31e315 Don't use our custom up/down arrow actions if shift is pressed 2018-05-13 18:27:17 +02:00
Rasmus Karlsson 7bc63ba38f Added result code to ignore/unignore calls
Add ignore/unignore calls that take the user ID to avoid double api
calls
Fully implement the account popup ignore/unignore feature
Fix #247
2018-05-13 17:53:24 +02:00
Rasmus Karlsson d4c31309f0 Move stringify function to rapidjson-helpers 2018-05-13 17:51:01 +02:00
Rasmus Karlsson 6768853d92 Also respect "enable twitch ignored users" setting 2018-05-12 23:34:22 +02:00
Rasmus Karlsson e4439a3f10 Implement basic and stupid ignore functionality
We currently do not respect mod status
2018-05-12 23:27:34 +02:00
Rasmus Karlsson 752992760b Fix windows-specific compilation error 2018-05-12 19:50:22 +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
Rasmus Karlsson 98082d1064 Fix compilation issue on GCC 8.1.0
Fix #377
2018-05-12 16:07:03 +02:00
fourtf b83c8e2735 this better compile 2018-05-10 18:18:12 +02:00
fourtf 5fcf42f1fc disabled drop preview animation 2018-05-08 20:35:31 +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
fourtf f695a41c6c fixed unneccessssary connected message and stretching in the highlights
settings
2018-05-08 16:55:20 +02:00
Rasmus Karlsson 1381214911 Use non Qt 5.10 method of starting a detached process 2018-05-06 17:24:20 +02:00
Rasmus Karlsson 49458e4fac Add brief description to Streamlink settings page
Add links to Streamlink website and download page to Streamlink settings page
Make streamlink custom path usage more explicit
Change how streamlink runs, it now works perfectly on Linux so that if you don't have a custom path set, it will try to just run "streamlink" in your PATH variable

This needs testing on Windows again
2018-05-06 16:33:16 +02:00
fourtf aba8e1a18f fixed freeze when messages get taller when they get higher 2018-05-06 16:12:21 +02:00
fourtf c2363e17e7 minor fixes 2018-05-06 15:39:03 +02:00
fourtf 3e3cbf0415 alternate message colors now work on replaced messages and when
changing channels
2018-05-06 14:57:57 +02:00
fourtf 34a58021bc added basic alternating messages backgrounds 2018-05-06 14:39:27 +02:00
Rasmus Karlsson 12766f3b60 Fix global emotes from not loading
We didn't called initialize properly on the EmoteManager

Fix #374
2018-05-06 14:36:21 +02:00
Rasmus Karlsson 5efc2c38d8 Clean up warnings 2018-05-06 14:16:41 +02:00
Rasmus Karlsson 9c34da7a7b Add missing resources initialize call 2018-05-06 14:01:02 +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
Rasmus Karlsson b907bf5639 Fix compilation on gcc 2018-04-30 20:35:01 +02:00
fourtf 13f1caa294 made commands view more abstract 2018-04-30 00:41:58 +02:00
fourtf 6bd787423d added template model/view magic for commands 2018-04-29 23:26:17 +02:00
Rasmus Karlsson e31dc09e91 Add remaining pubsub messages to chat 2018-04-29 13:24:37 +02:00
Rasmus Karlsson d05a59ef51 Remove unused constructor definition 2018-04-28 22:02:16 +02:00
Rasmus Karlsson 65f5430d8b fix ctrl-w that I broke KKona
fix #369
2018-04-28 22:00:08 +02:00
Rasmus Karlsson 01b2230bcf Modify pubsub functions to follow the Chatterino function style 2018-04-28 16:07:18 +02:00
Rasmus Karlsson 0f22d9d002 move pubsub stuff to the providers/twitch namespace and folder 2018-04-28 15:48:49 +02:00
fourtf ebbe8dcfae clear clipboard after pasting login code 2018-04-28 15:27:24 +02:00
Rasmus Karlsson 2f195891cd Finish up singleton refactoring into one giant class 2018-04-28 15:20:18 +02:00
fourtf 9426a9d633 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-04-28 13:48:49 +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 a4b7c1d067 Merge branch 'master' of https://github.com/fourtf/chatterino2 2018-04-27 20:55:06 +02:00
Rasmus Karlsson 32b6417a55 Combine Ban/Timeout pubsub actions
Fully implement PubSub ban/unban messages
Move the "message combining" to Channel::addMessage

Disable "irc" ban/timeout handling for now. In the future, we might want
to use this if you're not a moderator in a channel.
2018-04-27 18:35:31 +02:00
Rasmus Karlsson 42182ed504 reformat 2018-04-27 18:27:17 +02:00
Rasmus Karlsson 7e5a182d50 Add define to disable the crash dialog 2018-04-27 17:38:30 +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 98be8aaeff fixed crash 2018-04-25 14:53:54 +02:00
fourtf 859f4aefcb added new TupleTableModel for settingsdialog 2018-04-25 14:51:22 +02:00
Rasmus Karlsson 1edcfe5219 Add a scrappy timeout message from pubsub in channels now
Progress on #323
2018-04-22 15:47:52 +02:00
Rasmus Karlsson 92a19d61cf Add room ID to pubsub moderator actions 2018-04-22 15:37:02 +02:00
Rasmus Karlsson d62e45d9dd Add function for getting a Twitch Channel from a server by its ID 2018-04-22 15:36:01 +02:00
Rasmus Karlsson 3dad7e778a Fix emotes not loading properly 2018-04-22 14:38:10 +02:00
Rasmus Karlsson 0718277271 Update settings library version 2018-04-22 14:09:38 +02:00
fourtf 633c9fa68b Fixes #358 ,fixed messages being highlighted when a subword of a word matched a
highlight
2018-04-21 23:48:32 +02:00
fourtf f58ee01cf5 channels now PART when they are destroyed 2018-04-21 00:40:36 +02:00
Rasmus Karlsson 98c0b2b0f0 Most likely fixed linux segfault 2018-04-20 23:54:19 +02:00
fourtf 3c10c59ce6 fixed popup windows not having the right channel and the application
exiting when you close a popup
2018-04-20 22:54:09 +02:00
fourtf 5015633cc7 improved saving of splits and watching split 2018-04-20 22:33:28 +02:00
fourtf a16a2b0579 added watching channel 2018-04-20 19:54:45 +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 fc78fa23a2 fixed inline whispers lighting up all tabs 2018-04-18 20:38:08 +02:00
fourtf 6a46fb0a3f Closes #340 Copying an emoji copies it's :shortcode: instead of the actual emoji 2018-04-18 19:26:24 +02:00
fourtf c84391e276 fixes some splits having another size than others 2018-04-18 19:18:14 +02:00
fourtf 1290d28b1a added custom window frame title 2018-04-18 18:55:49 +02:00
fourtf fa3c812697 default window buttons resize if the window is really small 2018-04-18 18:10:47 +02:00
fourtf e8a948cffc added custom window frame to the emote popup 2018-04-18 17:51:53 +02:00
fourtf 4743e9f86c only connect to the gif frame update signal for gif emotes 2018-04-18 17:20:33 +02:00
fourtf 692563fd8e adjusted optimization 2018-04-18 17:10:17 +02:00
fourtf 4c99f2b5fd decreased lag when opening the emote/emoji menu 2018-04-18 17:03:37 +02:00
fourtf 653e4c6adf fixed some light mode issues 2018-04-18 09:33:05 +02:00
fourtf 3446a623f5 added select channel dialog 2018-04-18 09:15:56 +02:00
fourtf 043823120f some fixes for windows 2018-04-18 09:12:56 +02:00
Rasmus Karlsson 5f142e8d52 Add some error checks to Image::loadImage
Add default value to loadedPixmap
2018-04-16 23:48:30 +02:00
Rasmus Karlsson ea691635a1 Properly force https for the FrankerFaceZ api 2018-04-16 22:51:30 +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
Nikola Forró d5097e71a3 Show Twitch account emotes in EmotePopup (#348) 2018-04-15 15:05:12 +02:00
Rasmus Karlsson ca0a42a95f possibly fixed windows compilation KKona 2018-04-14 22:40:20 +02:00
Rasmus Karlsson b68b0845c1 Disable the experimental code, oops KKona 2018-04-14 22:39:35 +02:00
Rasmus Karlsson 5fcec26a5c Clarify that a variable is currently unused, but I am unaware forsenKek if should be used later 2018-04-14 22:32:22 +02:00
Rasmus Karlsson 99772313d6 Specify that the variables in const.hpp are allowed to be unused 2018-04-14 22:31:51 +02:00
Rasmus Karlsson c631738cd6 Add experimental shit code that might fix the strict-aliasing issue 2018-04-14 22:31:31 +02:00
Rasmus Karlsson b7266b1640 Fix warnings that occured on linux using clang 2018-04-14 21:59:51 +02:00
Rasmus Karlsson 57e788422f Add an UNUSED macro to precompiled_header.hpp 2018-04-14 21:58:06 +02:00
Rasmus Karlsson 0b18a8331a Fix channels not going offline properly 2018-04-14 18:27:13 +02:00
Rasmus Karlsson 387ac9b2f6 Change portable folder to Qt's "Application dir path"
Enable portable mode if there's a "portable" file or folder in the
Application dir path

Fix #334
2018-04-14 15:32:41 +02:00
hemirt 597660af2f fix copying <br>Global/Channel ffz emote after copying a ffz emote (#342) 2018-04-14 15:10:25 +02:00
Rasmus Karlsson 8272b0184d Use https for the frankerfacez api 2018-04-14 15:07:30 +02:00
fourtf 1654130dbc fixed crash when changing theme after closing tab 2018-04-13 23:17:10 +02:00
fourtf 2c5d05dfa1 some fixes for linux 2018-04-13 22:50:19 +02:00
fourtf b978977e7a fished base communication between browser and chatterino 2018-04-12 01:17:25 +02:00
fourtf 20596ddccd included namespace define as well 2018-04-12 00:40:18 +02:00
fourtf accb88b78e put a header that requires the boost libs into a #ifdef 2018-04-12 00:33:55 +02:00
fourtf a221b0757b disabled code that required compiled boost libraries with an ifdef 2018-04-12 00:16:44 +02:00
fourtf 0d2f0b3890 disabled default native messaging registry key installation 2018-04-12 00:09:16 +02:00
fourtf 2687da38ba added basic browser extension stuff 2018-04-11 22:53:15 +02:00
Rasmus Karlsson 52afa7b5b7 Ensure we disconnect from signals on exit in SplitHeader 2018-04-11 01:06:13 +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
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
Cranken 2b3fa06539 Fixed live status not updating when channel is online. (#319)
* Fixed live status not updating when channel is online.
2018-04-08 14:45:47 +02:00
pajlada 10f0aadb6c
Merge pull request #318 from Cranken/highlightText
Now highlights the text in the channel change and tab rename dialogue.
2018-04-08 14:39:34 +02:00
fourtf a1cd315ac8 Fixes #288 arrow up behaviour 2018-04-08 14:33:45 +02:00
fourtf 3484abd4af fixed popups not getting deleted on close 2018-04-08 14:14:55 +02:00
Cranken 942e8cefcc Also now highlights in tab rename. 2018-04-07 21:42:06 +02:00
Cranken 1fc04d82ca Now highlights the text in the channel change dialogue. 2018-04-07 21:21:56 +02:00
Rasmus Karlsson c82254aa9e Reformat
Remove some UUID remnants
2018-04-07 12:53:10 +02:00
Rasmus Karlsson 945d500701 Closing splits now tries to focus a neighbouring split
Fixes #176
2018-04-07 12:43:28 +02:00
Rasmus Karlsson 179cd5552d Move CTRL+T hotkey handling to Notebook
CTRL+T Can now be called anywhere in the window
2018-04-07 12:27:08 +02:00
Vilgot Fredenberg 84c577c0dc fixed gcc compile bug 2018-04-07 00:26:40 +02:00
fourtf cb06579c29 rewrote window saveing/serialization system
fixes #212
2018-04-06 23:31:34 +02:00
fourtf 4ec2c0d8b3 added cooldown to layouting to reduce lag when opening the emojis tab 2018-04-06 18:27:49 +02:00
fourtf d85dba3e0e fixes #307 2018-04-06 18:05:30 +02:00
fourtf cc1e3c2f6f fixed an issue where normal emotes would be redrawn like gif emotes 2018-04-06 17:46:12 +02:00
fourtf 86c844c791 added debug information on F10 2018-04-06 16:37:30 +02:00
fourtf 68227fa576 repaint tabs when text changes 2018-04-06 01:58:26 +02:00
fourtf 06c3201a1a added dark window to dark theme 2018-04-05 23:45:17 +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 5bcb561eb2 Simplify debug::Log. No need for a second function 2018-04-03 03:00:34 +02:00
Cranken e5c852ecba Fixed crash upon starting
Fixes issue #304
2018-04-02 13:58:15 +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 d075231081 Added a "CleanChannelName" virtual method to AbstractIrcServer
the TwitchServer implementation makes the channelName full lowercase

Fixes #293
2018-04-01 15:10:15 +02:00
Rasmus Karlsson 58fe1f6dcc Fix typo 2018-04-01 14:56:05 +02:00
Rasmus Karlsson 87cf79440b Fixed an issue where Badges and emotes were not rendered transparently in disabled messages
I'm a master programmator

Fixes #300
2018-04-01 11:43:26 +02:00
Rasmus Karlsson fdea4f32f0 Re-fix timeout message merging
Fix #298
2018-03-31 13:59:17 +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
Rasmus Karlsson d3212b0a59 Fixes the previous "Disabled message" behaviour
Fixes #295
2018-03-31 11:32:29 +02:00
Rasmus Karlsson 2d15716b5f Add helper methods to FlagsEnum where I can make sure that it actually works forsenT 2018-03-31 11:23:07 +02:00
fourtf 700b15c483 improved new tabs 2018-03-30 16:26:45 +02:00
Rasmus Karlsson 57e0e85d77 Update a usernames "timeAdded" every time it tries to be added
This keeps "recent chatters" from expiring

Progress on #57
2018-03-30 15:58:05 +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
Rasmus Karlsson 1b9fa36e06 add mouseMove signal to SignalLabel
Make use of the mouseMove signal in SplitHeader for the stream uptime
tooltip
2018-03-30 14:48:35 +02:00
Rasmus Karlsson 1c7f397f1b Move signallabel code out from its header 2018-03-30 14:39:33 +02:00
Rasmus Karlsson 89d7b7db87 expire non-recent chatters 2018-03-30 13:51:15 +02:00
Rasmus Karlsson d4f37f786b Once again reset completion model first time tab is pressed. This ensures we never tab the wrong username, but it's really expensive. 2018-03-30 13:51:15 +02:00
fourtf ec349f5978 added experimental new tabs 2018-03-30 13:44:01 +02:00
Rasmus Karlsson ea21aa5dea reformat/cleanup 2018-03-30 12:37:00 +02:00
Rasmus Karlsson 95878dc7db 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-03-30 12:16:12 +02:00
Rasmus Karlsson f567f10d10 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-03-30 12:06:02 +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 dc578a5f29 Add "Timeout action" setting 2018-03-25 11:07:03 +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
Nikolai Zimmermann 6c56e9cc82 Don't add duplicats to message history (#277) 2018-03-24 12:22:03 +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
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
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 45dfb151a2 set background color to grey instead of brown 2018-02-09 15:47:11 +01:00
fourtf a9d706048c modified "show message length" settings text 2018-02-09 13:50:02 +01:00
fourtf 54b0d9dda9 renamed ircchannel 2018-02-09 13:33: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 c3287a1da8 dream come true 2018-02-06 00:10:30 +01:00
fourtf e047a55da8 fixed compiling on macos 2018-02-05 23:56:16 +01:00
fourtf 6b483640cd added username in the titlebar 2018-02-05 23:32:38 +01:00
fourtf 9b1300212a Fixes #266 graphical gliches after changing theme color 2018-02-05 21:33:22 +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
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
Rasmus Karlsson 25979d4535 Unscuffed settings log page 2018-02-03 16:21:41 +01:00
Nikolai Zimmermann e2b54edb2d Fix build error (#264) 2018-01-30 13:31:18 +01:00
fourtf 0d417dfa2d minor style changes 2018-01-29 13:23:45 +01:00
fourtf 12b30eb2ed minor changes to the pr 2018-01-28 18:05:01 +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 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
confuseh a104e92ad5 Add additional options for streamlink, remove static from qualitypopup
Fixes #261
2018-01-28 14:10:12 +00:00
fourtf c62a91ac2b fixed message flags |= and &= operations 2018-01-28 14:45:39 +01:00
Rasmus Karlsson 88586b53b7 Switch bitwise operator in message from &= to |=
Flags still don't work for me properly, probably due to EnumFlags not
being fully implemented
2018-01-28 14:24:37 +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 f474db9443 minor changes in MessageLayout 2018-01-28 04:07:45 +01:00
fourtf 772dc97d92 minor changes to MessageColor 2018-01-28 03:57:22 +01:00
fourtf 11775071b9 made Link a struct 2018-01-28 03:52:52 +01:00
fourtf 99aac9eb6a minor code improvements 2018-01-28 03:48:15 +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 e518cff06e fixed icon scale in settings dialog 2018-01-27 21:51:08 +01:00
fourtf 34775094f6 fixed #252 clicking emotes in the emote popup 2018-01-27 21:42:47 +01:00
fourtf d33adff5c9 fixed emotes popup emotes 2018-01-27 21:13:22 +01:00
fourtf 56a7b05103 fixed titlebar scaling 2018-01-25 21:11:14 +01:00
fourtf ac6cbe9daf fixed + button size 2018-01-25 20:51:17 +01:00
fourtf 0a8073d0e5 refactored SplitInput 2018-01-25 20:49:49 +01:00
fourtf 8ab0fa4378 Fixes #259 dropping split on + button 2018-01-24 22:09:26 +01:00
fourtf de9e1b641d Fixes #234 links 2018-01-24 21:44:31 +01:00
fourtf f35ca0d2c8 fixed right clicking links 2018-01-24 21:16:00 +01:00
fourtf 05339aad2d started fixing clicking emtoes 2018-01-24 20:58:53 +01:00
fourtf 74fd6c9663 Fixes #258 theme change doesn't apply 2018-01-24 20:35:26 +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 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 d741bf6df3 added SpecialChannelPage with a description for /mentions 2018-01-23 23:10:27 +01:00
fourtf f42d48860c fixes #249 2018-01-23 22:51:15 +01:00
fourtf 0f4ec70bf3 Fixes #53 last read message indicator 2018-01-23 22:48:33 +01:00
fourtf 418189d39c Fixes #230 appearence settings not updating 2018-01-23 22:00:58 +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 91d45214d9 fixed emotes settings a little bit 2018-01-23 21:35:42 +01:00
Nikolai Zimmermann cb6af11b5a Changed some multiplier from 1000 to 100 2018-01-23 14:54:02 +01:00
fourtf 06be94b9a6 Fixes #179 tabs can't be repositioned 2018-01-22 21:31:45 +01:00
fourtf 305191d4b3 fixed #177 user popup being off the screen 2018-01-22 20:52:32 +01:00
fourtf fc758846f6 made the code actually compile 2018-01-22 20:14:43 +01:00
fourtf 9d8edc4ae0 Fixes #210 aallow duplicate messages behaves weird 2018-01-22 15:24:39 +01:00
fourtf d966c24bc3 fixed #250 tooltips don't stay in window geometry 2018-01-22 15:06:36 +01:00
fourtf dc8086f8b6 Fixes #239 /me message color 2018-01-22 14:41:46 +01:00