Commit graph

3985 commits

Author SHA1 Message Date
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
Vilgot Fredenberg
c116df96e0 Aditional compile flags (#316)
* aditional compile flags

I have been using these flags while compiling wihtout any problems so I
thought I'd share them. [Here is a really long source on GCC
optimization](https://wiki.gentoo.org/wiki/GCC_optimization) -O3 might
work with chatterino however there might be no speed gains (even
negative in some cases (and also it increases compilation time)) so that's why I use -O2

* Now it doesn't error

Apparenly qt-creator doesn't like the gentoo standard syntax, also
spelling
2018-04-08 14:36:05 +02:00
Vilgot Fredenberg
abff7bdbca correct -j flag (#315)
source (minigw is basically mini GCC so it applies)
https://wiki.gentoo.org/wiki/MAKEOPTS
2018-04-08 14:34:58 +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
pajlada
3adec1ae89
Update README.md 2018-04-06 01:46:04 +02:00
pajlada
c2d1d8bbec
Add Ubuntu 18.04 installation instructions 2018-04-06 01:44:49 +02:00
fourtf
06c3201a1a added dark window to dark theme 2018-04-05 23:45:17 +02:00
Rasmus Karlsson
5c23be2122 Update settings library. make use of new define 2018-04-03 03:00:34 +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