Commit graph

4411 commits

Author SHA1 Message Date
ec638874d9 fixed gifs still playing after disabling them 2017-12-17 03:46:12 +01:00
Rasmus Karlsson
bb081b710e Update settings and signals library version 2017-12-17 03:37:46 +01:00
c1ac7db24c Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 03:27:03 +01:00
5cb33647dc fixed splits not redrawing after font changed 2017-12-17 03:26:23 +01:00
Rasmus Karlsson
633423640e Completion models are now updated on-demand (whenever user presses Tab)
We might want some dirty-checking here, but for now it's okay
2017-12-17 03:06:39 +01:00
266ad36de3 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 02:42:04 +01:00
31a76e46d1 fix message length label, fixes #140 2017-12-17 02:40:05 +01:00
Rasmus Karlsson
70cbb9df7f Make more use of single pattern 2017-12-17 02:18:13 +01:00
Rasmus Karlsson
d5f1c6acec reformat emotepopup 2017-12-17 02:10:35 +01:00
202cdeaefb Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 01:55:30 +01:00
dd11c56b9a fixed msgs not layouting after changing settings 2017-12-17 01:54:15 +01:00
Rasmus Karlsson
eb8e14b8fe Move more settings over to pajlada settings system 2017-12-17 01:19:56 +01:00
Rasmus Karlsson
8687d01cea fix ParseTagString function 2017-12-17 00:56:33 +01:00
6b46d12558 added ParseTagString code 2017-12-17 00:39:27 +01:00
269a5500d8 Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-12-17 00:07:03 +01:00
f36d346a4f dpi 2017-12-17 00:06:24 +01:00
Rasmus Karlsson
e060f87b3c hehe fourtf 2017-12-17 00:01:42 +01:00
Rasmus Karlsson
3cfb00d61f We now handle some write-connection messages like if users have been banned/timed out successfully by the user, or unbanned etc 2017-12-16 19:47:38 +01:00
Rasmus Karlsson
357515ab39 createTimeoutMessage now also handles permaban-messages 2017-12-16 19:45:23 +01:00
Rasmus Karlsson
d905e88671 We now handle irc NOTICE messages 2017-12-16 19:20:57 +01:00
Rasmus Karlsson
6d56148ed2 Implement basic ClearChat handling
Fixes #56
2017-12-16 19:08:32 +01:00
Rasmus Karlsson
b39034ab74 Move message timestamp-code to its own function 2017-12-16 19:03:22 +01:00
Rasmus Karlsson
87203c1120 Add system messages upon connecting/disconnecting 2017-12-16 18:13:40 +01:00
Rasmus Karlsson
3cc19bd4ce reformat messagecolor class 2017-12-16 17:53:48 +01:00
Rasmus Karlsson
b13b8a2ce6 Simplify IrcManager connection creation/disconnecting
reword some comments/add some comments about unfitting methods in IrcManager
2017-12-16 17:18:08 +01:00
Rasmus Karlsson
bf5e619818 Remove message-spawning tests 2017-12-16 16:33:46 +01:00
Rasmus Karlsson
676c7b9017 Reformat some files according to .clang-format 2017-12-16 02:22:35 +01:00
Rasmus Karlsson
a372bae80d Change the way Twitch accounts are stored in AccountManager
This is done in a way which should simplify abstracting it to other
types of accounts if needed in the future

Remove comment about removing singletons - we're keeping them (and probably restoring some)

IrcManager now updates its "account" reference automatically through the
AccountManager.Twitch.userChanged-signal

Remove unused IrcManager getUser-method

IrcManager::beginConnecting is no longer called asynchronously. This
might want to be reverted in a more controlled asynchronous manner.

User Accounts are now stored as Shared Pointers instead of using
references/copies everywhere
2017-12-16 02:21:06 +01:00
Rasmus Karlsson
a8afdf4565 remove some debug output 2017-12-16 02:09:51 +01:00
Rasmus Karlsson
b5bb49e8e5 Add method for executing lambda in QObject's thread 2017-12-16 01:57:34 +01:00
Rasmus Karlsson
07f39f2667 Remove offline chat debug code 2017-12-16 01:27:37 +01:00
86ae71f674 fixed compiling 2017-12-14 00:25:06 +01:00
7f18cefee4 renamed a bunch of files and classes 2017-11-12 17:21:50 +01:00
Rasmus Karlsson
ad8ee97de9 Fall back to default subscriber badge if there's no other badge available 2017-11-04 17:22:53 +01:00
Rasmus Karlsson
49c2f442cb fix mingw compilation issues 2017-11-04 16:56:38 +01:00
Rasmus Karlsson
7b2e3a94a6 Moved online status checking logic from ChatWidgetHeader to TwitchChannel
- Channel now needs to be initialized with a name. Special cases like the emote window just sends an empty string.
 - ChatWidget now has a signal which is called whenever the widgets channel is changed
 - Changed roomID from an std::string to a QString
2017-11-04 14:57:29 +01:00
Rasmus Karlsson
064daaa77a selections can now start outside of a message
This means in the empty space under any available messages
2017-11-04 13:17:35 +01:00
Rasmus Karlsson
e1a31785ef Don't show non-existant channels as live 2017-11-04 12:42:37 +01:00
Rasmus Karlsson
bdd5e4aae6 Clean up some debugging output 2017-10-27 22:05:08 +02:00
Rasmus Karlsson
2de98dc1f8 Move timeout logic to NetworkRequest 2017-10-27 22:04:05 +02:00
Rasmus Karlsson
41ec892bf8 Remove urlFetchJSON usages. They now use NetworkRequest.getJSON 2017-10-27 21:22:06 +02:00
Rasmus Karlsson
75079d5ac8 Also update chat widget input text when the font is updated.
Fixes #93
2017-10-27 21:04:53 +02:00
Rasmus Karlsson
c08059c6a8 Add simple fontChanged signal
Delete copy/move constructor of FontManager :kkona:
Fix places that were using the copy constructor of the FontManager
2017-10-27 21:03:24 +02:00
vanolpfan
37571ae613 Use user's font in chat input (#135) 2017-10-27 20:34:23 +02:00
hemirt
f51372102e Networkmanager (#134)
* rename ImageLoader* to Network*

* static NetworkManager

* NetworkManager queue arbitrary requests

* modify urlfetch to use NetworkManager

* urlfetchjson in terms of NetworkManager

* fetchurljson fetchurltimeout fetchurljsontimeout

special fetch url functions with various connects and functions to be
called

* operate on fetched data in the correct thread

* operate on fetched resources in correct thread

* networkmanager urlfetch functions

* expose urlfetch functions of networkmanager through util and
util::twitch

* add caller to util functions

* cleanup

* formatting

* urlPut function for NetworkManager and util::twitch

* cleanup worker (no more leak)

* use urlfetch for LazyLoadedImage::loadImage

* Rename NetworkManager methods (#1)

* Rename NetworkManager methods

Remove unused NetworkManager methods
Remove unused NetworkManager includes

Reorder includes in lazyloadedimage.cpp and urlfetch.hpp

* try to simplify code, might break everything

* fixed some more stuff?
2017-10-27 20:09:02 +02:00
Ckat
a4c0bdb926 update Arch install instructions (#131) 2017-10-26 20:00:46 +02:00
Christian Duerr
de332dbb84 Add LICENSE file (#130)
* Add LICENSE file

* Remove my name from license
2017-10-13 21:57:43 +02:00
hemirt
bdee9fff70 fix image loader scrollbar crash (#129)
* fix image loader scrollbar crash
2017-10-11 14:46:56 +02:00
23rd
0ef6fdfef9 Fixed <arch> which was not seen. (#128) 2017-10-11 14:44:11 +02:00
fourtf
3ff6eece5c Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-10-11 10:38:55 +02:00