Fixed Pooler's data race which occurs on every server's pinging
goroutine creation, because of uncontrolled write to current
requests counter. Protected it with mutex.
Added very experimental and not-yet-working qt5 interface. Maybe
it will be completed someday.
Players column now have three integers - first is real humans
count, second - bots count, and third - maximum players allowed
on this server. Also, sidebar will show bots count as well.
Refactored the way URTrator working with profiles - now everything
that could be taken from internal cache will be taken from cache.
The very same as with servers.
Moved all callbacks from callbacks to events, so we achieve full
asynchronity here and can launch anything in goroutines :).
Moved MainWindow-related game launching functions into another
file (mainwindow_launch.go).
Made quick connect widget working. Note, that even if you're on
Favorites and trying to connect to one of favorited servers but
with quick connect - you still have to choose right profile
near Launch button!
Maybe something else I forget.
Removed debug prints, as we don't really need them now.
Fixed database updating from cache, until now only inserts was working
fine, updates failing. All because of forgotten comma :(.
Reworked handling of icons in servers lists, now they didn't
recreated, but reused from created on application start. Can also
save us much memory for long runs.
Moved gamemode detector to mainwindow_helpers, where it should be.
Fixed favorites servers - they now correctly added/removed in/from cache,
and also fixed favorite server edition dialog, which now also takes
advantage from server's cache.
Added new toolbar button for updating one server. It works :).
Added new column in servers lists, which shows is server is private or public.
Fixed players parsing in server's response, now we can show 0 players.
Showr info (kinda) completed, general server info, players and vars
are here. Some work on sorting is in ToDo.
On servers updating when all data successfully gathered we're now
properly updating rows in Servers and Favorites lists.
Increased "simultaneous ping limit" for now, but anyway it provides
too bad results. Need to find a way to fix it.
Now we have pooler which will pool connections (like pinging),
so there will be no timeouts due to "we have launched 100000 goroutines".
Reworked all code to use events (see Eventer). Still more work about
this to go.
Maybe more fixes I forgot.
Adding a favorite server now requires created valid profile. It will
not allow to create favorite server without proper profile.
Fixed servers updating database, now they put all fields there.
Added stubs for players info and extended server config things in
database.
Favorites functionality done, except editing favorite server.
Note, that game profile defined for favorite server have
higher priority on normal profile selected in combobox near
"Launch!" button. Later WILL be ignored.
Bunch of fixes is added.