Commit graph

3966 commits

Author SHA1 Message Date
Rasmus Karlsson
8f4e20db8e Rework badge types to fit with the way twitch sends badges 2017-06-16 10:11:44 +02:00
Rasmus Karlsson
56e521bc24 Start parsing unknown badges (i.e. game badges)
Prepare channel-specific data to be loaded (i.e. subscription badges)
2017-06-16 10:01:21 +02:00
Rasmus Karlsson
8715cf14ac Add "Miscellaneous" badge type for i.e. game badges 2017-06-16 09:57:08 +02:00
Rasmus Karlsson
95f60c34c5 fix dynamic bit badges 2017-06-16 08:03:13 +02:00
Rasmus Karlsson
7525dae768 work on dynamic badge-loading 2017-06-15 23:13:01 +02:00
Rasmus Karlsson
e7282b5097 Fixed verified badges
Refactor more underscores into this->
2017-06-13 22:03:29 +02:00
Rasmus Karlsson
59d383c161 Huge refactor
- Remove some underscore-prefixes
 - Start using this-> more
 - Remove a few of the singletons (We pass references to managers to
         things that need it now. Might not be much better, but for now
         it works. It also shows what places might be slightly wrong
         designed)
2017-06-13 21:27:26 +02:00
fourtf
55b04ee7eb reordered README 2017-06-13 15:20:37 +02:00
Rasmus Karlsson
2305afe700 add humanize as a dependency 2017-06-11 21:01:08 +02:00
Rasmus Karlsson
7c3cd930f3 make a few settings into pajlada::Settings::Settings
Add setting to hide badges

Give focus to text input if you click anywhere in a chat widget
2017-06-11 20:53:43 +02:00
Rasmus Karlsson
945ca5d17a Implement naive split-closing. This will most likely have some memory leak (at least) 2017-06-11 12:04:22 +02:00
Rasmus Karlsson
4bfe58f14d more random refactoring 2017-06-11 12:00:53 +02:00
Rasmus Karlsson
1d6f558452 Remove SharedChannel (just use std::shared_ptr<Channel>)
More code-refactoring BBaper
2017-06-11 11:36:42 +02:00
Rasmus Karlsson
9cd70877a5 replace all instances of NULL with nullptr 2017-06-11 09:37:30 +02:00
Rasmus Karlsson
1c6ff37e76 rename header files from *.h to *.hpp 2017-06-11 09:31:45 +02:00
Rasmus Karlsson
961f22819e clean up chatwidgetheader more 2017-06-11 09:11:55 +02:00
Rasmus Karlsson
85356cdd6b clean up chat widget structure. how and where hotkeys are handled 2017-06-10 23:53:39 +02:00
Rasmus Karlsson
1472471ddb random shit changes 2017-06-10 22:48:28 +02:00
Rasmus Karlsson
6898f9c2db update gitignore 2017-06-10 22:33:24 +02:00
Rasmus Karlsson
5b2b2e3e19 refactor/reformat. remove useless common.h 2017-06-07 10:09:24 +02:00
Rasmus Karlsson
b66dc479e6 fix scroll to bottom issue 2017-06-06 21:18:05 +02:00
fourtf
768b3db27a cucked link 2017-06-06 19:21:54 +02:00
fourtf
5ae69c6d7f ayy lmao 2017-06-06 19:18:55 +02:00
Rasmus Karlsson
edcea52cc6 Store the "showing latest messages" in a variable for later use 2017-06-06 17:22:16 +02:00
Rasmus Karlsson
814fc4bbae Fix scrollbar 2017-06-06 17:18:23 +02:00
Rasmus Karlsson
2d2d6dad17 make connectionMutex QMutex into a std::mutex 2017-06-06 16:13:41 +02:00
Rasmus Karlsson
880fe7e81c fix deadlock, thanks hemirt 2017-06-06 16:10:16 +02:00
Rasmus Karlsson
6acaa56442 rename sendJoin to joinChannel 2017-06-06 16:06:13 +02:00
Rasmus Karlsson
6a5d4d49ee Only send REQ-messages on read connection 2017-06-06 15:58:26 +02:00
Rasmus Karlsson
1a428a54d5 Refactor IrcManager a bit
Create a new readConnection so we can read our own messages
2017-06-06 15:57:54 +02:00
Rasmus Karlsson
ccf8e3bd83 move around files 2017-06-06 14:48:14 +02:00
Rasmus Karlsson
71f64cd6ff fix rapidjson include stuff 2017-06-06 11:49:00 +02:00
Rasmus Karlsson
cb4d193b4a "add split" button now does something (thanks hemirt) 2017-06-06 11:25:55 +02:00
Rasmus Karlsson
36e236e520 add instructions on how to install rapidjson 2017-06-06 11:25:44 +02:00
Rasmus Karlsson
196bbace85 fix dependencies stuff 2017-06-06 11:18:16 +02:00
Rasmus Karlsson
fa914c152a you can now log in with username/oauth token from an env variable
useful while testing (especially on stream)
2017-05-30 18:24:55 +02:00
Rasmus Karlsson
153fae7c19 remove some debug output 2017-05-30 18:20:00 +02:00
Rasmus Karlsson
548fbe5866 rename twitchaccount file to twitchuser to match class name 2017-05-30 15:22:44 +02:00
Rasmus Karlsson
980e71ab40 add settings submodule 2017-05-30 13:51:06 +02:00
Rasmus Karlsson
3b9a9e8373 CTRL+T opens new split in current page 2017-05-29 21:26:55 +02:00
Rasmus Karlsson
5d30181d48 remove some spammy debug output 2017-05-29 21:02:10 +02:00
Rasmus Karlsson
971489f8f1 fix crash bug when closing notebook 2017-05-29 21:02:01 +02:00
Rasmus Karlsson
5208e0f2fd fix message sending 2017-05-28 00:47:16 +02:00
hemirt
a9a68add38 disable unwanted warnings (#45) 2017-05-28 00:35:38 +02:00
hemirt
e7b727fa64 fix MSVC (2015) libcommuni link errors, and use correct warn flag (#44)
* use fixed libcommuni submodule

* warn flag -W4 should be used for MSVS instead of -Wall, move libcommuni
define and include together

* define correct warning flags for MSVC and else
2017-05-27 23:35:58 +02:00
Rasmus Karlsson
d113115822 added message-sending through channel->sendMessage
doesn't do anything with the user input box on enter yet though
2017-05-27 17:45:40 +02:00
Rasmus Karlsson
c4de5c806a Fix all warnings that we care about 2017-05-27 16:16:39 +02:00
Rasmus Karlsson
896cf7a03b Add werr flag to bail on error
Add more specific warning flags

Add .clang-format symlinks to each source folder
2017-05-27 16:14:44 +02:00
Rasmus Karlsson
909154bd8b Add CTRL+P as a hotkey to open settings dialog 2017-05-27 15:40:42 +02:00
Rasmus Karlsson
0b2b6a0dc7 Only one instance of the settings dialog should be open at once 2017-05-27 15:40:06 +02:00