Splitted sidebar's list into two separate lists - one for
general server's info (hostname, players, etc.) and one for
players list.
Also, moved CVars list to separate window which can be shown by
clicking approriate button under player's list.
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.
URTrator will now show information about selected server on
activated tab. E.g. when you switched from "Servers" to
"Favorites", sidebar informational widget will be updated with
server's data for selected server on "Favorites" tab.
Automatically select first added profile on every profiles list
update. Yes, quick hack. In future we will autodetect profiles
based on server version, and profiles combobox will only be
needed for quick connect.
Re-enabled sorting for servers lists, which forces to use devel
version of Go. 1.7.3 have problems with GC and URTrator will
segfault.
Hide offline checkboxes for all servers and favorites now
checked by default.
First implementation of "Sort by server name" algo. Shitty, kinda
unreliable, but better than GTK's default.
Added Colorizer.Clear() func, which clears passed data from
colorcodes.
Fixed name on "Add to favorites" button.
Still cannot be successfully launched until some race conditions
will be fixed in go-gtk.
Fixed Windows build script to install gcc in MSYS2, which is
needed for some dependencies.
Fixed game launching on Windows, now ioq3 will search for game
data in proper directory.
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.