Again, possibly fixed GTK actions calls from other goroutines
by wrapping events calls in glib.IdleAdd(). This should prevent
executing more than one event simultaneously, which will also
prevent crashes.
Fixed icons sizing for couple of icons.
Fixed all messageboxes that can use struct object as self name
(e.g. m for messageboxes in mainwindow). Should help to avoid some
errors.
Added possibility to copy server's credentials into clipboard
for ease of sharing.
More fixes here. First, fixed binary path parsing for profiles,
so you should be able to add a profile on macOS now. Only one
requirement - you should add Quake3-UrT.x86_64 file, which located
inside Urban Terror's application bundle, under Contents/MacOS
directory.
Fixed the way we call Urban Terror on macOS and tested it. Should
work now flawlessly.
Bumped to 0.1.0-beta2, and mac-only release for now.
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.
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.