Commit Graph

15 Commits

Author SHA1 Message Date
Stanislav Nikitin df428b96ce Moved to my Gitea and made it buildable. 2019-12-29 13:21:05 +05:00
Stanislav Nikitin 6944b51d13 This commit designates two changes: MIT and deprecation of Qt5 interface.
As I'm the only code contributor, I'm announcing that URTrator code
is now licensed under MIT license.

Also I'm deprecating Qt5 interface as it is really hard to write Qt
code and create installers with it. Maybe one day I even figure out
how to work with QtQuick (which attracts me more and more ATM) and
URTrator will use it, but not now.
2018-11-10 21:13:06 +05:00
Stanislav Nikitin 2b3c9ef9ea gofmt. 2018-11-10 20:58:15 +05:00
Stanislav Nikitin 127e1b8ab9 Updated to latest GTK2 bindings API and moved to Gitlab. 2018-11-10 13:21:53 +05:00
Stanislav Nikitin 9273273b49 Language selection combobox in options and accepted languages.
Added language selection combobox in options dialog. Selecting
language here will overwrite language code gathered from system.

Added AcceptedLanguages map to Translator, which holds readable
names and lang-country codes with avaailable languages. Filled
it with languages in which URTrator already translated. Francais
coming :)
2017-02-09 02:31:24 +05:00
Stanislav Nikitin 65f6bd8b4d URTrator now can be translated. 2017-02-09 01:16:51 +05:00
Stanislav Nikitin 4020d52c03 Timer for tasks, servers autoupdating and other.
Added Timer - great package which will make periodic tasks to work.
Timer exposes "taskDone" event, which can be triggered when
task ends it's execution.

Added first periodic task - servers information updating. By
default it will execute every 10 minutes. Configurable thru
options.

Added new options pane: Servers updating. It controls all aspects
of servers updating thing. Master server address, servers
autoupdating checkbox and autoupdate timeout values are exposed
for now.

We're now on on 0.2.0-devel :).

Fixes #29.
2016-12-13 08:01:48 +05:00
Stanislav Nikitin a64c842e19 Messageboxes fixes and copy server's creds to clipboard.
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.
2016-10-12 19:23:10 +05:00
Stanislav Nikitin 68bd842c1f First variant of clipboard watching. 2016-10-11 13:14:08 +05:00
Stanislav Nikitin e2a9298f85 One more huge refactoring and quick connect widget working.
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.
2016-10-08 19:57:33 +05:00
Stanislav Nikitin ceaaf67510 Urban Terror launch check on shutdown.
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.
2016-10-06 22:19:03 +05:00
Stanislav Nikitin 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
Stanislav Nikitin dd41537106 Hostname's colorizing is here. Added stub for server info window. 2016-10-05 20:46:02 +05:00
Stanislav Nikitin 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
Stanislav Nikitin 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