Commit graph

28 commits

Author SHA1 Message Date
Rasmus Karlsson b68b0845c1 Disable the experimental code, oops KKona 2018-04-14 22:39:35 +02:00
Rasmus Karlsson c631738cd6 Add experimental shit code that might fix the strict-aliasing issue 2018-04-14 22:31:31 +02:00
fourtf 2c5d05dfa1 some fixes for linux 2018-04-13 22:50:19 +02:00
fourtf b978977e7a fished base communication between browser and chatterino 2018-04-12 01:17:25 +02:00
fourtf 0d2f0b3890 disabled default native messaging registry key installation 2018-04-12 00:09:16 +02:00
fourtf 2687da38ba added basic browser extension stuff 2018-04-11 22:53:15 +02:00
fourtf de3a490257 added streamview widget 2018-01-19 14:49:21 +01:00
fourtf 283b48f845 fixed crashing on closing 2018-01-18 07:57:20 +01:00
fourtf 99c4682287 removed unused return 2018-01-16 01:13:29 +01:00
fourtf 10850c0ec7 I BROKE EVERYTHING
refactored the rendering process
2018-01-11 20:17:41 +01:00
Rasmus Karlsson 346950d7b7 Add a PathManager that takes care of all paths and creating folders
Move all path/folder-related code from SettingManager to PathManager
2018-01-05 02:38:22 +01:00
Rasmus Karlsson d1458a0db3 Move initSettings to SettingManager
Fixes #205
2018-01-05 02:38:22 +01:00
71db0297b9 added code for the /commands 2018-01-04 02:50:36 +01:00
5a26d5f17f put singletons into their namespace 2017-12-31 22:58:35 +01:00
fourtf fc81b118c7 replaced qt font scaling
remove the qt font scaling and added code that uses the actual scale/dpi value
2017-12-23 21:18:13 +01:00
fourtf ded61256de moved native event handler to it's proper file 2017-12-19 01:32:06 +01:00
fourtf cca065f0f9 disabled non client dpi scaling until issue is fixed 2017-12-18 02:47:01 +01:00
fourtf 01e9c723fa fixed hidpi scaling for the settings window 2017-12-18 00:54:53 +01: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
fourtf e6ee009698 removed the qt scaling 2017-09-24 20:02:43 +02:00
Daniel _ 206a3518b0 fixed dpi not initializing when the window shows 2017-09-23 18:37:51 +02:00
fourtf 222eedcd21 added gotToBottom and EnableNonClientDpiScaling 2017-09-21 17:34:41 +02:00
Rasmus Karlsson 7df7da70cb A lot of changes
Remove unused constructor of messages::Message
Fixed LimitedQueueSnapshot _-prefixes
Changed LimitedQueueSnapshot's usage of int to std::size_t
ColorScheme is no longer a singleton
Created a "BaseWidget" class which is pretty much a QWidget except it
has a reference of ColorScheme since most widgets will need a reference
to the style they should use.
BaseWidget can be implemented either with a BaseWidget parent (which
will copy the ColorScheme reference from the parent) or with a
normal QWidget parent and an explicit ColorScheme reference.
Save main window geometry on close
Fix font changing in the Settings Dialog
Update settings library version
2017-06-26 19:53:31 +02:00
Rasmus Karlsson d2cbef9dff Enable DPI Scaling 2017-06-17 11:33:14 +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
Rasmus Karlsson 1c6ff37e76 rename header files from *.h to *.hpp 2017-06-11 09:31:45 +02:00
Rasmus Karlsson 5b2b2e3e19 refactor/reformat. remove useless common.h 2017-06-07 10:09:24 +02:00
Rasmus Karlsson ccf8e3bd83 move around files 2017-06-06 14:48:14 +02:00
Renamed from main.cpp (Browse further)