Commit graph

619 commits

Author SHA1 Message Date
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