Commit graph

334 commits

Author SHA1 Message Date
hemirt 37d3f5a24a last message pattern 2018-07-03 13:44:59 +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 37be58ebcf fixed browser extensions not working when opening the browser before
chatterino
2018-06-27 22:56:56 +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 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 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 63c213a36a fixed spelling of "separate" 2018-06-24 18:32:00 +02:00
fourtf a91ac5cdf0 channged piss color to blue 2018-06-23 23:48:54 +02:00
fourtf 89d9076715 polishing for the update 2018-06-23 22:17:57 +02: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 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
fourtf e28bc805f6 changed highlighted message color 2018-06-19 20:48:57 +02:00
fourtf 01f3f401ac wip changes 2018-06-19 19:00:02 +02:00
fourtf 3f9a48fd72 fixed linux 2018-06-11 19:11:33 +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 e8683c3e8e Remove unused includes in EmoteManager 2018-06-07 16:40:31 +02:00
Rasmus Karlsson 578795fbc3 Fix logging to a custom folder
Progress on #352
2018-06-06 20:30:34 +02:00
fourtf c308883a2a added basic user info popup 2018-06-06 13:35:33 +02:00
fourtf 86e4a669ad added basic new user popup 2018-06-06 13:35:33 +02:00
fourtf 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
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
pajlada 4ad0ed4d45
Merge branch 'master' into logging 2018-06-05 13:16:20 +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 >
2018-06-05 00:32:11 +02:00
fourtf 10b0466052 changed scrollbar bg 2018-06-05 00:14:47 +02:00
fourtf 5e7fc909e7 fixed an issue 2018-06-04 21:03:06 +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 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 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 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 4f35d8854a made message backgrounds overflow into the scrollbar 2018-05-31 12:59:43 +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
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 6156b1f430 added categories to the accountspage 2018-05-28 08:34:54 +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 a48a233785 changed scrollbar highlight color 2018-05-26 17:12:00 +02:00
nuuls 6ee4945715 fixed mac stuff and added more debug code 2018-05-25 01:31:34 +02:00
fourtf 835b6d80da fixed loading issues of saved split layout 2018-05-24 17:13:46 +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 59110ad4bd added roommodes to the splitheader 2018-05-24 08:58:34 +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 dafbda6a4a asdf 2018-05-23 04:22:17 +02:00
fourtf 5b26cdaa07 added split resizing and splitting 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
Rasmus Karlsson 15b432a4cf Implement simple ignored phrase system 2018-05-13 19:25: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
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 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
fourtf b95388107f added regex highlights 2018-05-06 12:52:47 +02:00
fourtf ba4173822e created base for all the list based settings 2018-05-06 00:32:45 +02:00
fourtf 4c3f0921e2 changed CommandManager to CommandController 2018-04-30 23:44:01 +02:00
fourtf 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 0f22d9d002 move pubsub stuff to the providers/twitch namespace and folder 2018-04-28 15:48:49 +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
fourtf 49069beed7 reworked commands settings page 2018-04-27 01:11:09 +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 859f4aefcb added new TupleTableModel for settingsdialog 2018-04-25 14:51:22 +02:00
Rasmus Karlsson 92a19d61cf Add room ID to pubsub moderator actions 2018-04-22 15:37:02 +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 f58ee01cf5 channels now PART when they are destroyed 2018-04-21 00:40:36 +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 6a46fb0a3f Closes #340 Copying an emoji copies it's :shortcode: instead of the actual emoji 2018-04-18 19:26:24 +02:00
fourtf 3446a623f5 added select channel dialog 2018-04-18 09:15:56 +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 b7266b1640 Fix warnings that occured on linux using clang 2018-04-14 21:59:51 +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 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
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 3484abd4af fixed popups not getting deleted on close 2018-04-08 14:14:55 +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 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 f820024fd5 Reformat 2018-04-01 16:44:25 +02:00
Rasmus Karlsson 3dae83e749 Add an EmojiMap which is like an EmoteMap except it contains data for Emojis
Fix emote popup not inserting the correct emoji value on click. It no
inserts the shortcode (i.e. 👌)

Fix #299
2018-04-01 16:44:25 +02:00
fourtf 56f0e5e76a removed the chrome style tabs 2018-04-01 16:42:00 +02:00
Rasmus Karlsson be66338fe2 General cleanups/reformats
- Clean up imports
- Comment EmojiData
- Reorder TwitchAccount constructor
- Fix typo in TwitchChannel
- Add emoji parsing test code at the bottom of EmoteManager
2018-03-31 13:44:15 +02:00
Rasmus Karlsson 3cdaeb071a Fixes some emojis that wouldn't display properly
Fix #198
2018-03-31 13:14:43 +02:00