- 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
* 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?
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
Default to b.userName instead of message->account()
Made font updatable in the Settings dialog with a font dialog
More work on subscription badge loading
Known issues:
- Font isn't updated in a split until a new message is written in that split
- When font/font size is changed, old messages don't have their size updated causing weird layout of old messages
- 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)