Commit graph

1114 commits

Author SHA1 Message Date
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
fourtf 135f9910f8 renamed template method from "append" to "emplace"
to be in line with the std library naming scheme
2018-01-22 14:39:24 +01:00
fourtf 0febffc6d8 removed unused method 2018-01-22 14:37:29 +01:00
fourtf bd50b2ae79 Fixes #248 user color not normalized 2018-01-22 14:35:51 +01:00
fourtf 3104aae80a fixed crash 2018-01-19 23:41:02 +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
Rasmus Karlsson 1e7d3a2ec6 Make isMod a virtual method so it can be called from the base class too 2018-01-18 18:17:48 +01:00
fourtf 283b48f845 fixed crashing on closing 2018-01-18 07:57:20 +01:00
Bur0k 97411c045c Calling deleteLater() in CloseSplit
Instead of removing the TwitchChannel manually in CloseSplit, a request
to delete this widget will be sent to QT.
In the destructor the TwitchChannel will be removed as planned.
2018-01-17 20:09:53 +01:00
Bur0k 728b6e74a8 Remove the Twitch Channel when closing the split 2018-01-17 20:09:53 +01:00
confuseh 84186da16c Add missing streamlink option & make preferredQuality lowercase 2018-01-17 18:47:35 +01:00
fourtf f3357cf0f4 Fixes #225 fix am/pm for timestamps 2018-01-17 18:36:12 +01:00
fourtf 4ddb4616ee _ 2018-01-17 17:18:28 +01:00
fourtf 7310f1b888 fix for bur0k 2018-01-17 17:17:26 +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 91fca258bf fixed searching 2018-01-17 14:25:03 +01:00
fourtf 6d6b99f3ef added moderation buttons 2018-01-17 14:14:31 +01:00
fourtf 252f648ff8 removed qDebug() call 2018-01-17 03:27:21 +01:00
fourtf 8dc4f8945e fixes empty tooltips showing 2018-01-17 03:26:32 +01:00
fourtf 776a975624 Fixes #232 opening streams in browser 2018-01-17 03:18:47 +01:00
fourtf db41044daf Fixed #216 bundles connected and disconnected 2018-01-17 03:10:21 +01:00
fourtf 873eeec545 Fixes #240 2018-01-17 02:46:50 +01:00
fourtf e1ff4c818e added background color to the accountswitchwidget 2018-01-17 02:22:57 +01:00
fourtf 1fe7e652b1 added a tip to the SplitHeader when you have >1 tab 2018-01-17 02:04:10 +01:00
fourtf 0a3c6e29c7 added Alt+LeftClick to move splits around 2018-01-17 01:20:19 +01:00
nuuls 6f95a219a7
fixed it 2018-01-16 22:37:06 +01:00
fourtf 285c2e8688 Fixes #243 2018-01-16 18:59:10 +01:00
fourtf 66014d07a0 minor changes to the close tab confirm dialog 2018-01-16 18:55:30 +01:00
Bur0k 17f5fd0ff1 Added a confirmation Dialog when trying to close a tab 2018-01-16 18:44:25 +01:00
fourtf 0ca916717c added basic buggy text copying 2018-01-16 02:39:31 +01:00
fourtf a33ac76f99 fixed the default scrollbar size 2018-01-16 01:40:52 +01:00
fourtf 99c4682287 removed unused return 2018-01-16 01:13:29 +01:00
fourtf c01843977b fixed word wrapping 2018-01-16 00:56:17 +01:00
fourtf 385f9e44d0 fixed text selection color 2018-01-16 00:34:32 +01:00
fourtf a190eda075 fixed text selection 2018-01-16 00:26:04 +01:00
fourtf 1133b33318 updated precompiled_header.hpp 2018-01-16 00:14:55 +01:00
fourtf 6701c3d0b2 fixed compiling 2018-01-15 04:08:48 +01:00
fourtf d045f6963a disabled custom window frame for now 2018-01-15 01:59:05 +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 177cd734ab centered splitheader title again 2018-01-14 22:24:21 +01:00
fourtf e0372a2453 moved dpi handling out of helper file 2018-01-14 21:59:45 +01:00
fourtf e19a83679f moved window logic from BaseWidget to BaseWindow 2018-01-14 21:55:36 +01:00
fourtf 8deb096a27 switched to proper icon for SplitHeader 2018-01-13 04:08:39 +01:00
fourtf 61d0229b4c refactored the SplitHeader 2018-01-13 04:05:38 +01:00
fourtf c79f88ed10 fixed gif emotes being offset 2018-01-13 03:08:31 +01:00
fourtf bc93ef7214 added settings page for moderation 2018-01-13 03:06:10 +01:00
fourtf faf5da2bf7 fixed notification tab not having an icon 2018-01-13 02:21:08 +01:00
fourtf 96feb9b54c _ 2018-01-13 02:18:13 +01:00
fourtf cec6f7ce9d fixed settingsdialogtab image being offset 2018-01-13 02:17:07 +01:00
fourtf 9703cf6ad4 fixed gif emotes not drawing 2018-01-13 02:13:59 +01:00
fourtf 40733ca312 fixed disabled messages not being greyed out 2018-01-13 02:03:53 +01:00
fourtf 2073447df7 added highlights page again 2018-01-13 02:00:02 +01:00
fourtf d16bbf6899 fixed icons in settings pages 2018-01-13 00:18:18 +01:00
fourtf 2f0658935a added AboutPage back in again 2018-01-13 00:05:49 +01:00
Rasmus Karlsson 7772f245f6 refactor the refactor 2018-01-12 23:33:04 +01:00
fourtf e0bb061c81 refactored the settings dialog 2018-01-12 23:09:27 +01:00
Rasmus Karlsson 4cbc3b8b61 Implement custom bit badges
Fixes #226
2018-01-12 22:38:00 +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
Rasmus Karlsson 83763cf9a9 Remove unused method EmoteData::getImageForSize 2018-01-12 19:13:19 +01:00
Rasmus Karlsson 3c8c793e47 Add missing return in MessageElement::setTrailingSpace 2018-01-12 18:42:13 +01:00
fourtf a339c4ca0a fixes #221 2018-01-11 21:03:40 +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
Bur0k c240d6f7c2 Added Qt::X11BypassWindowManagerHint to the WindowFlags of ToolTipWidget (#222) 2018-01-10 00:30:40 +01:00
Rasmus Karlsson ca0d672609 reformat settingsdialog.cpp
this is just a reason to push a build to try out the CI
2018-01-09 08:58:23 +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
coral 1348032b57 High DPI logo 2018-01-07 12:03:04 -08:00
coral 6f1f91e78e Goodbye QGraphicsView 2018-01-07 11:55:41 -08:00
Rasmus Karlsson 08859deabc reformat settingsdialog.cpp
just pushing this to test auto build/deploy :kkona:
2018-01-07 17:28:42 +01:00
coral 1fab5adaf8 About box added in Settings, early implementation 2018-01-07 00:05:41 -08:00
coral 6377331364 Changed the global emoji symbol 2018-01-06 23:05:09 -08: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
coral 5baba39cdc NOT UGLY ICON PLX 2018-01-06 17:59:02 -08:00
fourtf a32d1c063c searching is now case insensitive 2018-01-07 00:05:32 +01:00
fourtf 6fec6514fa made int division float division 2018-01-06 21:47:19 +01:00
Rasmus Karlsson 26170e4fdb Add CTRL+SHIFT+T and CTRL+SHIFT+W to Open and Close tabs
Fixes #21
2018-01-06 21:00:41 +01:00
fourtf 29046b3aa1 fixed scrollbar divide by zero 2018-01-06 20:57:16 +01:00
Rasmus Karlsson b8e268f969 Implement CTRL+1 to CTRL+9 hotkeys for switching tabs
Progress on #21
2018-01-06 20:27:26 +01:00
Rasmus Karlsson 8aa459d826 Move shortcut creation code to its own helper file 2018-01-06 20:24:04 +01:00
fourtf e5b8e33eb3 removed fps limit
it didn't increase performance and just made it look 'laggier'
2018-01-06 18:21:00 +01:00
fourtf 20eab57db5 added highlights to the scrollbar 2018-01-06 03:48:56 +01:00
fourtf 99f2d0dd27 fixed type of Message::Flags 2018-01-06 00:02:04 +01:00
fourtf a4656f3ab5 added slight offset when notebook has no button 2018-01-05 23:55:41 +01:00
fourtf 3bf3490aa3 increased speed of smooth scrolling 2018-01-05 23:32:06 +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
fourtf 02b73cfa27 I accidently an assignment 2018-01-05 12:22:03 +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 4ac03f396f removed "Commands don't save" text 2018-01-05 11:04:37 +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 69488eb2ea fixed off by one error 2018-01-05 03:41:31 +01:00
fourtf 898d1d26e7 added window icon 2018-01-05 03:30:43 +01:00
fourtf 2fddc0ed8a smoothScrolling for new messages false by default 2018-01-05 03:23:06 +01:00
Rasmus Karlsson 069e42360b further fix setting collision 2018-01-05 03:19:41 +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 e58c5ec11b Fix window geometry loading
Fixes #181
2018-01-05 03:09:44 +01:00
Rasmus Karlsson 334860dad2 Remove unused appdatapath class
Reformat some code
2018-01-05 03:00:29 +01:00
fourtf fd8ddcff55 fixes #113 2018-01-05 02:55:28 +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 43568556be Fixes #195 2018-01-05 01:31:01 +01:00
fourtf 2b88250761 fixed crash related to clojures in TwitchChannel 2018-01-05 00:58:25 +01:00
fourtf 23e5100227 refresh rate lock for ChannelView 2018-01-05 00:15:03 +01:00
fourtf fc1fb35947 changed text of the jump-to-bottom-button 2018-01-05 00:01:31 +01:00
fourtf 4a2850c4f5 moved selection into its own file 2018-01-04 23:50:30 +01:00
fourtf 4a91372f8f fixed #182 2018-01-04 23:35:36 +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
coral 0e8b50c4e9 New setting menu icons! (#189)
* LUL

* Added system icon for OSX
2018-01-02 03:44:52 +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
Rasmus Karlsson 258288bad9 Some settings can now be "reverted" by pressing cancel in the settings dialog
Modify visibility of some members of SettingsDialog
update external libraries
Progress on #180
2017-12-28 19:34:20 +01:00
Rasmus Karlsson 7d259fe7e6 An error should now be printed if you connect with bad credentials.
This fix relies on #163 being closed, so for now #132 will be left open.
2017-12-28 18:37:39 +01:00
Rasmus Karlsson caddb2c778 Add the "Close Tabs" feature
Also made notebooks open a container if no tabs are loaded

Fixes #166
2017-12-28 18:17:25 +01:00
Rasmus Karlsson 091e7b9dbe update subscribe url 2017-12-28 18:17:25 +01:00
Rasmus Karlsson 307dc16d79 use twitch get with rapidjson json in refreshLiveStatus
we now check that all values are legit, which can be an issue if we are
sent invalid json data
2017-12-28 18:17:25 +01:00
4a405379d0 remove the double space after username 2017-12-28 17:56:00 +01:00
0cdf974310 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-28 17:50:24 +01:00
1940b0197c emotes now have less margin 2017-12-28 17:46:36 +01:00
e0bdc5ccf9 forgot to remove this xD 2017-12-28 16:56:24 +01:00
Rasmus Karlsson c9c2aa6dce Fixed crash bug described by Cranken in #165 2017-12-28 16:26:35 +01:00
ece0482502 removed autoscoll and gotobottom from emotepopup 2017-12-28 00:48:21 +01:00
4aa995c74a fixed the emote popup not showing anything 2017-12-28 00:45:03 +01:00
Cranken cb75c2a725 Fixed messages getting loaded multiple times. (#170)
* Implemented loading recent messages.

* Fixed messages getting loaded multiple times.
2017-12-28 00:03:52 +01:00
2cdc404eb4 fixed rounding issue that caused an infinite loop 2017-12-27 23:18:42 +01:00
9bbacdfae4 changed login url in logindialog 2017-12-27 22:26:23 +01:00
4f3f9906f1 commented code out that didn't compile 2017-12-27 21:29:56 +01:00
f676450d03 added code for command handling 2017-12-27 19:50:05 +01:00
Cranken 223f4af55a Implemented loading recent messages. (#162) 2017-12-27 01:22:12 +01:00
fourtf 2fc546cada made scrollbar a thin boi
Expands when hovered with the mouse
2017-12-26 19:14:36 +01:00
fourtf 9dd6966e8c graphicbuffers of msgs offscreen get discarded now 2017-12-26 18:24:02 +01:00
fourtf 6c23925406 fixed render hints at wrong places 2017-12-26 17:41:03 +01:00
fourtf 5df7651670 removed a debug log 2017-12-26 17:31:15 +01:00
fourtf 285c72a83d fixed "jump to bottom" now disapearing after click 2017-12-26 17:15:23 +01:00
fourtf a51735baae changed scollbar background color 2017-12-26 17:01:44 +01:00
fourtf 4e4cc9223e tweaked the light themes 2017-12-26 16:54:39 +01:00
fourtf 37ca3cd79e fixed brown header when hovering in light theme 2017-12-26 15:08:36 +01:00
fourtf a6be0c83bc global ffz and bttv now uses new NetworkRequest 2017-12-26 12:39:44 +01:00
Rasmus Karlsson 13b39e374b Tabs now highlight when a highlight is received
Work on #88
2017-12-26 12:32:24 +01:00
Rasmus Karlsson 7a8cc91eec Move HighlightState to common.hpp 2017-12-26 12:30:32 +01:00
Rasmus Karlsson ebd682730a rename highlight style to highlight state 2017-12-26 12:05:14 +01:00
Rasmus Karlsson 03962db367 move some logic abou updated state to twitchuser 2017-12-26 11:59:26 +01:00
fourtf 0ca4a098e1 Fixed tooltip now closing properly. Fixes #159 2017-12-24 23:56:08 +01:00
fourtf 91099c028e moved the tooltip close logic to basewidget 2017-12-24 16:01:01 +01:00
fourtf 72ed52c35c fixed system messages not splitting words properly 2017-12-24 00:24:35 +01:00
fourtf 9b90b1b590 made usernames bold 2017-12-23 23:48:10 +01:00
fourtf 2bf53f73f8 oh no the bad commit descriptions are back D: 2017-12-23 23:24:35 +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
Ckat c9aa716f58 actually show channel ffz emotes as channel ffz emotes (#155) 2017-12-22 23:03:19 +01:00
Rasmus Karlsson 51fe00dfec twitch emotes are now refreshed properly (sub and global emotes)
this only works if you're logged in I think
2017-12-22 17:37:24 +01:00
Rasmus Karlsson afd4549c3f fix bug where a users initial ID would be set to "456" instead of "123456" 2017-12-22 17:36:59 +01:00
Rasmus Karlsson 3f6881390e add twitch getAuthorized method which passes through a custom client ID and oauth token 2017-12-22 17:36:32 +01:00
Rasmus Karlsson ec63bc59be Fix autocomplete not being refreshed properly upon first TAB 2017-12-22 16:50:33 +01:00
Rasmus Karlsson 2bd80763e7 Fix some obvious warnings
Ignore some stupid warnings
2017-12-22 15:13:42 +01:00
Rasmus Karlsson d8c01ce374 Save chats and tabs in new settings system 2017-12-22 14:44:31 +01:00
Rasmus Karlsson 42749538a7 Add helper method for creating a UUID
Fix QString formatter
2017-12-22 14:33:04 +01:00
Rasmus Karlsson 795deac727 move QString-formatting to helpers.hpp so fS works with it all the time 2017-12-22 14:08:13 +01:00
Rasmus Karlsson 86a9f194f9 Clean up account switcher stuff
Update settings library version

Fixes #9
2017-12-20 00:41:35 +01:00
Rasmus Karlsson be3c85d72d Move some variables into const.hpp
Clean up some code in the AccountManager
2017-12-19 16:13:02 +01:00
Rasmus Karlsson 324dfc9ee9 Fix account adding and account removing.
This needs to be fully tested before I'm comfortable closing #9

The "advanced" tab also needs testing

We might also want to move the login website to chatterino.com and make
it look nicer
2017-12-19 15:12:33 +01:00
Rasmus Karlsson 1e3aca1b7a Add method for updating a twitch users client id/oauth token 2017-12-19 15:09:54 +01:00
Rasmus Karlsson d8db695628 fix compile error 2017-12-19 03:41:31 +01:00
Rasmus Karlsson 4b36893818 Add simple tooltip system 2017-12-19 03:38:42 +01:00
Rasmus Karlsson 47a1911df9 Clean up emotemanager emoji code 2017-12-19 03:38:42 +01:00
fourtf 01dbaed781 disabled tabs in the settings that are ununsed 2017-12-19 03:37:07 +01:00
fourtf 6f0620ead6 added emojis to the emote popup 2017-12-19 03:18:27 +01:00
Rasmus Karlsson 14e80d5012 Implement mouse scroll speed setting
Fixes #145
2017-12-19 02:48:19 +01:00
Rasmus Karlsson ba1c9598a4 use a SettingListener for word type mask updating 2017-12-19 02:48:19 +01:00
fourtf e39b9093f9 fixed selection color for light theme 2017-12-19 02:37:58 +01:00
fourtf f8e4d9a737 changes for light theme
- fixed light colored text being too bright
- fixed the ripple effect being white on grey
2017-12-19 02:24:05 +01:00
Rasmus Karlsson 1a870685b0 Implement the "inline" account switch button
Make the account switch listview into a widget
2017-12-19 02:17:01 +01:00
fourtf 4010c49c84 fixed messages not redrawing after changing theme 2017-12-19 01:54:51 +01:00
fourtf ded61256de moved native event handler to it's proper file 2017-12-19 01:32:06 +01:00
fourtf f9487b1dae fix accountpopup code style aka add 5 mio this-> 2017-12-19 01:25:57 +01:00
fourtf 368ec7c903 fixed coding style for scrollbar 2017-12-19 01:11:35 +01:00
fourtf c950e9c58a added some code for collapsing messages 2017-12-19 00:10:03 +01:00
Rasmus Karlsson 5c6411b50b Added "Anonymous" (aka not logged in) as an option for the account chooser 2017-12-18 23:50:39 +01:00
Rasmus Karlsson bf39851776 update window title when changing accounts 2017-12-18 23:50:39 +01:00
fourtf e46357ad9b small fixes for the scrollbar 2017-12-18 22:13:46 +01:00
fourtf f8cf983b7c added an option to disable smooth scrolling 2017-12-18 20:18:20 +01:00
fourtf a399af9c66 added fix for scrollbar smooth scrolling jumping on new messages 2017-12-18 18:55:09 +01:00
fourtf 625e33d654 ping sound media doesn't get recreated on every message 2017-12-18 17:57:56 +01:00
fourtf cca065f0f9 disabled non client dpi scaling until issue is fixed 2017-12-18 02:47:01 +01:00
fourtf 929552f74d fixed emote popup not having the right default size on hidpi 2017-12-18 01:23:22 +01:00
fourtf 90db7a3995 fixed user popup not hidpi scaling properly 2017-12-18 01:17:02 +01:00
fourtf 01e9c723fa fixed hidpi scaling for the settings window 2017-12-18 00:54:53 +01:00
Rasmus Karlsson 87182d078c Further simplify font label updating in settings dialog 2017-12-17 21:11:19 +01:00
Rasmus Karlsson 03958420be We now also add localized names to the autocompletion
Changed the login name in autocompletion to the display name
Autocompletion model is now only updated on the "first completion"
2017-12-17 21:05:48 +01:00
fourtf 6f1509cb4f Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 20:50:35 +01:00
fourtf 7f80e64e7d current font in settings format
now reads "fontname, fontsize pt"
2017-12-17 20:48:15 +01:00
Rasmus Karlsson e41c855545 add simple username tabbing for recent chatters 2017-12-17 17:49:32 +01:00
Rasmus Karlsson 5839b9f522 add username to message (simple) 2017-12-17 17:48:46 +01:00
Rasmus Karlsson f7318a26e3 Fix window position/size saving
I've only tested this for the main window so far

Fixes #149
2017-12-17 17:09:50 +01:00
Rasmus Karlsson 02e5030475 add fS function to simplify string formatting with fmt::format 2017-12-17 17:01:37 +01:00
fourtf 54ed42f884 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 16:46:02 +01:00
fourtf 1ca4fb46d6 added window always on top option 2017-12-17 16:45:15 +01:00
Rasmus Karlsson 912b9b89b3 Fix streamlink "choose" option if user has a default quality in config
Fixes #146
2017-12-17 16:34:01 +01:00
Rasmus Karlsson 151ff057a6 Implement "hide empty input" option
Fixes #144
2017-12-17 16:19:28 +01:00
Rasmus Karlsson ef9aedb2cd Add some console error messages if streamlink path is bad 2017-12-17 15:46:22 +01:00
Rasmus Karlsson d182c22a4e Implement duplicate message sending setting
Fixes #142
2017-12-17 15:34:07 +01:00
Rasmus Karlsson 169e002b68 fix spelling issue 2017-12-17 13:48:02 +01:00
Rasmus Karlsson 4a70fa5d0c re-add variable I accidentally removed 2017-12-17 13:46:54 +01:00
Rasmus Karlsson fe352b5da9 remove underscore-prefix from some class members 2017-12-17 13:31:08 +01:00
Rasmus Karlsson bb608c83d1 changing the "Enable gif emotes" setting just starts/stops the gif timer instead 2017-12-17 13:26:42 +01:00
1fb0ca649a Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 03:46:46 +01:00
ec638874d9 fixed gifs still playing after disabling them 2017-12-17 03:46:12 +01:00
Rasmus Karlsson bb081b710e Update settings and signals library version 2017-12-17 03:37:46 +01:00
c1ac7db24c Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 03:27:03 +01:00
5cb33647dc fixed splits not redrawing after font changed 2017-12-17 03:26:23 +01:00
Rasmus Karlsson 633423640e Completion models are now updated on-demand (whenever user presses Tab)
We might want some dirty-checking here, but for now it's okay
2017-12-17 03:06:39 +01:00
266ad36de3 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 02:42:04 +01:00
31a76e46d1 fix message length label, fixes #140 2017-12-17 02:40:05 +01:00
Rasmus Karlsson 70cbb9df7f Make more use of single pattern 2017-12-17 02:18:13 +01:00
Rasmus Karlsson d5f1c6acec reformat emotepopup 2017-12-17 02:10:35 +01:00
202cdeaefb Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 01:55:30 +01:00
dd11c56b9a fixed msgs not layouting after changing settings 2017-12-17 01:54:15 +01:00
Rasmus Karlsson eb8e14b8fe Move more settings over to pajlada settings system 2017-12-17 01:19:56 +01:00
Rasmus Karlsson 8687d01cea fix ParseTagString function 2017-12-17 00:56:33 +01:00
6b46d12558 added ParseTagString code 2017-12-17 00:39:27 +01:00
269a5500d8 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 00:07:03 +01:00
f36d346a4f dpi 2017-12-17 00:06:24 +01:00
Rasmus Karlsson e060f87b3c hehe fourtf 2017-12-17 00:01:42 +01:00
Rasmus Karlsson 3cfb00d61f We now handle some write-connection messages like if users have been banned/timed out successfully by the user, or unbanned etc 2017-12-16 19:47:38 +01:00
Rasmus Karlsson 357515ab39 createTimeoutMessage now also handles permaban-messages 2017-12-16 19:45:23 +01:00
Rasmus Karlsson d905e88671 We now handle irc NOTICE messages 2017-12-16 19:20:57 +01:00
Rasmus Karlsson 6d56148ed2 Implement basic ClearChat handling
Fixes #56
2017-12-16 19:08:32 +01:00
Rasmus Karlsson b39034ab74 Move message timestamp-code to its own function 2017-12-16 19:03:22 +01:00
Rasmus Karlsson 87203c1120 Add system messages upon connecting/disconnecting 2017-12-16 18:13:40 +01:00
Rasmus Karlsson 3cc19bd4ce reformat messagecolor class 2017-12-16 17:53:48 +01:00
Rasmus Karlsson b13b8a2ce6 Simplify IrcManager connection creation/disconnecting
reword some comments/add some comments about unfitting methods in IrcManager
2017-12-16 17:18:08 +01:00
Rasmus Karlsson bf5e619818 Remove message-spawning tests 2017-12-16 16:33:46 +01:00
Rasmus Karlsson 676c7b9017 Reformat some files according to .clang-format 2017-12-16 02:22:35 +01:00
Rasmus Karlsson a372bae80d Change the way Twitch accounts are stored in AccountManager
This is done in a way which should simplify abstracting it to other
types of accounts if needed in the future

Remove comment about removing singletons - we're keeping them (and probably restoring some)

IrcManager now updates its "account" reference automatically through the
AccountManager.Twitch.userChanged-signal

Remove unused IrcManager getUser-method

IrcManager::beginConnecting is no longer called asynchronously. This
might want to be reverted in a more controlled asynchronous manner.

User Accounts are now stored as Shared Pointers instead of using
references/copies everywhere
2017-12-16 02:21:06 +01:00
Rasmus Karlsson a8afdf4565 remove some debug output 2017-12-16 02:09:51 +01:00
Rasmus Karlsson b5bb49e8e5 Add method for executing lambda in QObject's thread 2017-12-16 01:57:34 +01:00
Rasmus Karlsson 07f39f2667 Remove offline chat debug code 2017-12-16 01:27:37 +01:00
86ae71f674 fixed compiling 2017-12-14 00:25:06 +01:00
7f18cefee4 renamed a bunch of files and classes 2017-11-12 17:21:50 +01:00