Commit Graph

22 Commits

Author SHA1 Message Date
8cfbca284e Players parsing fixes and short info done.
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.
2016-10-06 21:34:14 +05:00
5ba0664964 Server info preview started. 2016-10-06 20:48:35 +05:00
11e3e4edb7 Show server name we connected in toolbar's label.
Also updated screenshot to show how it looks like.
2016-10-06 17:59:10 +05:00
0214ea7fce Toolbar label added.
It will show current operation or why you can't do something.
2016-10-06 17:50:08 +05:00
2efd47c301 Servers updating and ping detection fixes.
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.
2016-10-06 17:11:36 +05:00
9ce4ad8945 No need in strconv now. 2016-10-06 16:33:12 +05:00
99435a769f Profiles handling fixes.
Fixed profile update with some fields changed, now it won't show
error dialog.

Removed "Second X session" checkbox column from profiles list,
have no idea (for now) how to properly use them.
2016-10-06 16:31:31 +05:00
8691975dca 4.3.1 support. 2016-10-06 15:44:24 +05:00
f37dd3adfd Huge refactor regarding concurrency.
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.
2016-10-06 13:55:03 +05:00
dd41537106 Hostname's colorizing is here. Added stub for server info window. 2016-10-05 20:46:02 +05:00
c22744765b Favorites and database fixes, players info and extended server config.
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.
2016-10-05 02:47:13 +05:00
dbf5b60ead Window and elements size and position saving and restore. 2016-10-05 02:16:02 +05:00
8e58104cfa Configuration and tray icon.
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.
2016-10-05 01:03:46 +05:00
0f5dd8f236 Editing favorites done. 2016-10-05 00:04:24 +05:00
26a3ead52a Don't rely on current_tab == "some_string", since we might change tab name. 2016-10-04 23:51:37 +05:00
063f6a622a Favorites and fixes.
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.
2016-10-04 23:39:32 +05:00
d6765501a8 Tooltips to every element! 2016-10-04 19:21:48 +05:00
a9ff3ddfe5 macOS works - profiles. 2016-10-04 18:47:47 +05:00
812436fce3 4.3.0 version fix and macOS data path.
Fixed my typo with 4.3. version - it is detected as 4.3.0, not 4.3.000.

Possibly, macOS version is now true :).
2016-10-04 18:32:50 +05:00
b7e79ce01b SetHeadersClickable is only allowed with custom go-gtk. 2016-10-04 18:22:27 +05:00
cff72734c6 Urban Terror is now launching, in local X or in another. 2016-10-04 18:09:14 +05:00
ac938c16eb Initial commit, what works:
* Servers update
* Profile creation/edit/deletion
* Game launching
* Checks server version <> profile version.
2016-10-04 15:42:36 +05:00