Refactored MainWindow source, splitted initialization and
helper functions into separate files.
Now lists headers sizes and positions are remembered and correctly
restored on launch.
About dialog should now be fixed everywhere. Previously it
causes crash on macOS and Windows. See https://github.com/mattn/go-gtk/issues/282
Columns now can be rearranged and resized. No saving or restoring yet.
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.
Added checking if Urban Terror launched while trying to shut down
URTrator. If yes - we will show error message and won't quit,
until Urban Terror will be dead.
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.
Configuration is now properly saved for parameters in Options window.
Also they are restored fine.
Added tray icon with two default actions: show/hide and exit. More
to come.
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.