Commit graph

4622 commits

Author SHA1 Message Date
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
fourtf
f0c21f5b49 refactored message drawing and layouting 2017-10-11 10:34:04 +02:00
Rasmus Karlsson
7855d6265d Split tab-creation up into separate functions 2017-10-08 21:27:27 +02:00
Rasmus Karlsson
23651fd513 Add option to play highlight sounds even if Chatterino is focused.
This is off by default
2017-10-08 21:27:27 +02:00
fourtf
8b25d37a37 added benchmark util 2017-10-08 17:23:46 +02:00
Matija
7a99d90337 Made libcommuni show as 'libcommuni' in Qt Creator instead of 'src' (#121) 2017-10-08 15:34:06 +02:00
Rasmus Karlsson
19630bf91b Clean up ImageLoaderManager
Unpointered NetworkAccessManager
Removed debug output
Removed unneeded includes
2017-10-08 15:30:55 +02:00
hemirt
e7e4ab768b Fix image loading slowness
Images are now loaded in another thread
2017-10-08 15:18:47 +02:00
Matija
369b7c052b Make README nicer (#120)
A bit of redesign of README file.

I think it should be clearly stated that Qt Creator is NOT a requirement for building this project. Someone should check whether Ubuntu and Mac Homebrew have Qt 5 packages WITHOUT Qt Creator (which I am certain they do).
2017-09-28 22:24:14 +02:00
Matija
cb8846c0ae Threaded image downloading (#118) 2017-09-28 22:24:03 +02:00
fourtf
e6ee009698 removed the qt scaling 2017-09-24 20:02:43 +02:00
Rasmus Karlsson
81e06f3a53 debug::Log can now be used instead of qDebug()
Usage:
```
QString string("world");
debug::Log("hello: {}", string);
```
2017-09-24 19:23:07 +02:00
Rasmus Karlsson
af35c1f335 fix fmt dependency cuz qmake hates .cc file extensions 2017-09-24 19:20:53 +02:00
Rasmus Karlsson
c14dc43b18 fix highlights - reformat some stuff 2017-09-24 18:43:24 +02:00
Rasmus Karlsson
903cf30ddf fix currentUser thing 2017-09-24 18:14:22 +02:00
Rasmus Karlsson
c8c65f8f09 ignore Thumbs.db file 2017-09-24 18:13:44 +02:00
Cranken
881e695189 Added some functionality to the accountPopup (#117)
* Added some buttons.

* Added some more functionality.

* Finished adding button functionality.

* Implemented @fourtf's suggestions.
2017-09-23 19:23:10 +02:00
Daniel _
206a3518b0 fixed dpi not initializing when the window shows 2017-09-23 18:37:51 +02:00
fourtf
14511e10ef HiDPI commit 2017-09-22 00:50:43 +02:00
fourtf
222eedcd21 added gotToBottom and EnableNonClientDpiScaling 2017-09-21 17:34:41 +02:00
fourtf
3e24752477 fixed project code style in some files 2017-09-21 12:15:01 +02:00
fourtf
8eaca85402 increased limit for messages to 1000 2017-09-21 02:22:35 +02:00
fourtf
ab641abd9c fixed ctrl+c to copy text 2017-09-21 02:20:02 +02:00
fourtf
9d671ac873 fixed text copying that wasn't supposed to 2017-09-21 01:26:53 +02:00
fourtf
e65a5948fe Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-09-21 00:55:22 +02:00
fourtf
bd4601a5d4 added MessageColor to represet special colors 2017-09-21 00:54:10 +02:00
Cranken
8bd3cd4060 Fixed live status (#112)
* Fixed live status.

* Update chatwidgetheader.cpp
2017-09-20 18:12:29 +02:00
Rasmus Karlsson
38d118c5dc add debug binding ALT+Q to add test messages to current chatwidget
(every second)
2017-09-17 04:39:30 +02:00
Rasmus Karlsson
51e5d198fb fix message deleting bug 2017-09-17 04:39:30 +02:00
fourtf
bc207aeede Merge branch 'master' of https://github.com/fourtf/chatterino2 2017-09-17 02:14:49 +02:00
fourtf
e31bb48384 fixed gifs on the emotepicker 2017-09-17 02:13:57 +02:00
Rasmus Karlsson
6b0fc38afe Fix compilation issue on MSVC 2017-09-17 00:40:02 +02:00
fourtf
3e9f71dbf9 fixed clicking on splits to focus them 2017-09-16 16:49:52 +02:00
fourtf
a4995201f5 changed some filenames and stuff like that 2017-09-16 16:20:10 +02:00
fourtf
c7b3480aaf ChatWidgetView -> ChannelView, added Emote Picker 2017-09-16 00:05:06 +02:00
fourtf
84c23a5d00 modified buttons a bit 2017-09-15 17:23:49 +02:00
Cranken
4ac811f2a9 Fixed popups in viewer list. (#110) 2017-09-12 22:10:30 +02:00
fourtf
6ce13db443 Merge that pile of garbage in
added text selection
2017-09-12 19:12:02 +02:00
fourtf
81b1a8774b added text selection 2017-09-12 19:06:16 +02:00
Confuseh
6ec8f6e032 Quality options for Streamlink (#103)
* added quality options for streamlink

* wrong default value
2017-09-11 23:35:59 +02:00