Commit graph

3907 commits

Author SHA1 Message Date
fourtf
46a457ea65 improved custom window handling 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
f6a0ac1bda Differentiate live streams and vodcasts
Fixes #320
2018-04-11 22:54:34 +02:00
Cranken
c2ddb74307 Fixed live status not updating when channel is online. (#319)
* Fixed live status not updating when channel is online.
2018-04-11 22:54:34 +02:00
Vilgot Fredenberg
266041d10a 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-11 22:54:34 +02:00
Vilgot Fredenberg
bbc7ddfa80 correct -j flag (#315)
source (minigw is basically mini GCC so it applies)
https://wiki.gentoo.org/wiki/MAKEOPTS
2018-04-11 22:54:34 +02:00
fourtf
26958fccbf Fixes #288 arrow up behaviour 2018-04-11 22:54:34 +02:00
fourtf
992f0ab06a fixed popups not getting deleted on close 2018-04-11 22:54:34 +02:00
Cranken
1ed426178a Also now highlights in tab rename. 2018-04-11 22:54:34 +02:00
Cranken
884349b340 Now highlights the text in the channel change dialogue. 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
5211ebaf71 Reformat
Remove some UUID remnants
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
10802dad9c Closing splits now tries to focus a neighbouring split
Fixes #176
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
743917a675 Move CTRL+T hotkey handling to Notebook
CTRL+T Can now be called anywhere in the window
2018-04-11 22:54:34 +02:00
Vilgot Fredenberg
6667e1b65b fixed gcc compile bug 2018-04-11 22:54:34 +02:00
fourtf
69d9557505 rewrote window saveing/serialization system
fixes #212
2018-04-11 22:54:34 +02:00
fourtf
2ab571fe54 added cooldown to layouting to reduce lag when opening the emojis tab 2018-04-11 22:54:34 +02:00
fourtf
fffe9c93c4 fixes #307 2018-04-11 22:54:34 +02:00
fourtf
0322c73eb5 fixed an issue where normal emotes would be redrawn like gif emotes 2018-04-11 22:54:34 +02:00
fourtf
ed50f1835f added debug information on F10 2018-04-11 22:54:34 +02:00
fourtf
29fbe33437 repaint tabs when text changes 2018-04-11 22:54:34 +02:00
pajlada
0d7a9b75e3 Update README.md 2018-04-11 22:54:34 +02:00
pajlada
ec5acf75d8 Add Ubuntu 18.04 installation instructions 2018-04-11 22:54:34 +02:00
fourtf
723f8f4989 added dark window to dark theme 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
5433daa1ea Update settings library. make use of new define 2018-04-11 22:54:34 +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
1119c08182 Simplify debug::Log. No need for a second function 2018-04-11 22:54:34 +02:00
Cranken
b4a5ba541d Fixed crash upon starting
Fixes issue #304
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
fourtf
05335c6440 removed the chrome style tabs 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
dca11406b9 Added a "CleanChannelName" virtual method to AbstractIrcServer
the TwitchServer implementation makes the channelName full lowercase

Fixes #293
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
8e7d89dd40 Fix typo 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
9a4ee07ed4 Fixed an issue where Badges and emotes were not rendered transparently in disabled messages
I'm a master programmator

Fixes #300
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
fba2967777 Re-fix timeout message merging
Fix #298
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
Rasmus Karlsson
010c061a25 Fixes the previous "Disabled message" behaviour
Fixes #295
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
7d4cebbc96 Add helper methods to FlagsEnum where I can make sure that it actually works forsenT 2018-04-11 22:54:34 +02:00
fourtf
a0d8ace515 improved new tabs 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
e3d889b2e2 Update a usernames "timeAdded" every time it tries to be added
This keeps "recent chatters" from expiring

Progress on #57
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
655831d154 Add setting to not fetch chatters for bigger streamers
Work on #57
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
c0a3613ae0 Changed how the channel live status is stored 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
c457651c63 add mouseMove signal to SignalLabel
Make use of the mouseMove signal in SplitHeader for the stream uptime
tooltip
2018-04-11 22:54:34 +02:00
Rasmus Karlsson
1c64dea831 Move signallabel code out from its header 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
45841953da expire non-recent chatters 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
e34cbd741c Once again reset completion model first time tab is pressed. This ensures we never tab the wrong username, but it's really expensive. 2018-04-11 22:54:34 +02:00
fourtf
3e7e0269f7 added experimental new tabs 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
0bbb9ae42d reformat/cleanup 2018-04-11 22:54:34 +02:00
Rasmus Karlsson
c7a86f8abe 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-04-11 22:54:34 +02:00
Rasmus Karlsson
d9d699b6f1 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-04-11 22:54:34 +02:00
Rasmus Karlsson
6e1096710d make helper function for trimming a twitch channel name from irc 2018-04-11 22:54:34 +02:00