Commit graph

36 commits

Author SHA1 Message Date
Rasmus Karlsson 3a8ceede4e Remove unused functions from EmoteManager 2018-06-05 17:28:36 +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 5e7fc909e7 fixed an issue 2018-06-04 21:03: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 a3e4c92b9f put the account emotes into groups 2018-05-31 16:20:46 +02:00
fourtf 7e68e662e3 renamed Twitch to twitch 2018-05-26 20:26:25 +02:00
fourtf 935cd1bab0 Fixes #409 hovering smilies shows the regex emote code 2018-05-23 13:47:22 +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
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
fourtf b95388107f added regex highlights 2018-05-06 12:52:47 +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 d078ef5fe0 added debug logs and code to assert that we are in the gui thread 2018-04-26 18:10:26 +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
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
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
Rasmus Karlsson 6ea3a1df08 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-11 22:54:34 +02:00
Rasmus Karlsson 4888178079 Reformat 2018-04-11 22:54:34 +02:00
Rasmus Karlsson 13705f15ed 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-11 22:54:34 +02:00
Rasmus Karlsson 964e1f249a 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-04-11 22:54:34 +02:00
Rasmus Karlsson c382fdc528 Fixes some emojis that wouldn't display properly
Fix #198
2018-04-11 22:54:34 +02:00
Ckat 0423702e50 actually display channel ffz emotes as channel ffz emotes (#279) 2018-03-05 22:37:01 +01:00
fourtf b351c40d29 refactored irc 2018-02-05 15:11:50 +01:00
Rasmus Karlsson 03ff2205fa test code 2018-01-19 22:45:33 +01:00
fourtf 10850c0ec7 I BROKE EVERYTHING
refactored the rendering process
2018-01-11 20:17:41 +01:00
nuuls 1eb256bd4e
fixed < in emote names breaking the <br> and tooltips on mac 2018-01-07 23:47:08 +01:00
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
5a26d5f17f put singletons into their namespace 2017-12-31 22:58:35 +01:00
bfa2f1637e refactored the managers 2017-12-31 00:50:07 +01:00
Renamed from src/emotemanager.cpp (Browse further)