Commit Graph

51 Commits

Author SHA1 Message Date
Klaus Basan
a9198e4f13 Ref T103, Unified naming of directory functions
* some started with get/some not (removed get, get is normally used for our getters)
* some used swift, getSwiftXZY dir (removed swift)
* used full word "directory", not dir/directory mixed
2017-09-24 19:49:53 +01:00
Klaus Basan
debd9c802f Ref T103, moved directory functions from CBuildConfig to CDirectoryUtils
getApplicationDir renamed to getBinDir() as it works different on MacOs
see https://dev.swift-project.org/w/dev/swiftpc/dirstructure/
2017-09-24 19:49:51 +01:00
Klaus Basan
74e0bf397f Ref T42, application classes
* GUI classes allow retry
* longer timeouts
* accept unknow accessibility (QAM)
* QAM now as pointer, which would allow to replace QAM

When QAM becomes disconnected, then connect again it is in unknown state
2017-05-05 23:07:42 +01:00
Klaus Basan
7f0a971b4a Ref T41, adjusted info component to be used with dialog 2017-05-05 22:40:51 +01:00
Klaus Basan
640ad99520 Allow to pass timeout to obtainNextWorkingUrl
Sometimes timeout for news in launcher, needs to be investigated
2017-05-05 22:39:56 +01:00
Klaus Basan
e13f7e3e68 Log messages when URL for news/help is missing
Found during Ref T32
2017-04-21 03:14:19 +02:00
Klaus Basan
ec025d63a7 refs #935, detect changed stylesheet in launcher 2017-04-19 19:31:19 +01:00
Roland Winklmeier
3d496c6df8 Fix launcher executable paths for Mac OS 2017-04-19 19:31:08 +01:00
Klaus Basan
83a80bf739 refs #921, moved distribution info UI into an own component 2017-04-18 00:06:40 +01:00
Klaus Basan
6825524025 Improved status message filtering
* avoid re-init of widget if already initialized
* allow icons instead of text for severity radio buttons
* changing severity filter directly triggers new filtering
* use icon for new button
* init this->showFilterBar() as default (otherwise not functional)
* widths for filter bar buttons
2017-04-18 00:04:59 +01:00
Klaus Basan
221e4c2b9c refs #886, start config wizard when -i is passed to launcher
made -i an optional flag
2017-04-17 23:58:55 +01:00
Klaus Basan
797e5dd576 Renamed function to processNames as part of review
https://dev.vatsim-germany.org/issues/894#note-3
2017-04-17 23:57:59 +01:00
Klaus Basan
2005e1881b refs #887, do not start wizard when other applications are running
(potential problems with writing settings)
Utility functions in info list
2017-04-17 23:56:57 +01:00
Klaus Basan
f4941b2189 refs #886, configuration button in launcher 2017-03-01 20:51:33 +01:00
Roland Winklmeier
98b2061d3d Remove redundant checks in CNetworkUtils::getKnownLocalIpV4Addresses()
refs #869
2017-02-24 15:22:14 +00:00
Klaus Basan
060a10dfb6 Replaced QLatin1Literal by QLatin1String
refs #883
2017-02-24 15:22:09 +00:00
Klaus Basan
3b3cdf4566 refs #883, launcher improvements
* check if core is running before starting pilot client DBus UI
* avoid starting pilot client when already running
* save UI state (cache)
* made lauchner BlackMisc::CIdentifiable
2017-02-24 15:21:58 +00:00
Klaus Basan
4a31fa1cba refs #883, improved layout of launcher`s "new version" section
* group boxes
* header bar if new version is avilable
2017-02-24 15:21:50 +00:00
Klaus Basan
c5b4b01a90 refs #883, display of news/about
* use QTextBrowser, external links will be opened in browser
* display about in credits tabs
* added shortcuts for tabs

Remark: Gives us a first (not perfect) version of news/about in launcher
2017-02-24 15:21:49 +00:00
Klaus Basan
83dbd3fcb6 refs #883, display core mode selection first
* show news only if new
* removed duplicate call of this->ps_loadedUpdateInfo (avoid redundant loads)
2017-02-24 15:21:37 +00:00
Klaus Basan
9beb6c79e1 refs #875, renamed to getKnownLocalIpV4Addresses() 2017-02-24 15:21:04 +00:00
Klaus Basan
52cd84dd99 refs #787, display shared files timestamp in UI 2016-12-06 09:46:19 +01:00
Klaus Basan
a1bea9703d refs #777, using feature in launcher
plus bug fix in application
2016-12-06 09:34:44 +01:00
Klaus Basan
aafff6cd82 Formatting this->ui to ui 2016-09-19 16:18:41 +02:00
Klaus Basan
435f345cc6 refs #709, launcher GUI finetuning
* don`t always init caches, only when needed
* init caches when component is 1st displayed
* smaller LEDs
2016-07-28 21:08:21 +02:00
Klaus Basan
80ab55c4be refs #709, GUI component (load info) added to launcher
(plus enabled webservices for launcher)
2016-07-28 21:08:17 +02:00
Klaus Basan
ebcd738a4b refs #709, fixed initial version displayed
(was not called when data were not updated)
2016-07-28 21:08:12 +02:00
Mathew Sutcliffe
9bef6854ca Caches: rename "get" to "getThreadLocal" and rename "getCopy" to get. 2016-06-08 18:21:01 +02:00
Roland Winklmeier
2d8f56a598 Link CBuildConfig and CVersion into static library blackconfig
CBuildConfig including private keys etc. should not be part of a
public library API. Therefore link it into a static library, which
is not available to end users.

refs #645
2016-05-24 13:12:23 +02:00
Roland Winklmeier
014c218afa Fix swiftlauncher executable names for Linux platforms
refs #615
2016-05-20 01:41:21 +02:00
Klaus Basan
d0daad7d34 refs #642, fixed setup loading, in same step refs #636 clear cache
* changed signals in setup reader
* explicit mode is default
* detailed information what is loaded
* new log pattern
* allow to add message list to log component
* allow to clear cache by cmd line arg
* consolidated cmd names
2016-05-05 20:49:13 +02:00
Roland Winklmeier
d379f14133 Introduce build config template buildconfig.h.in
refs #625
2016-03-31 17:12:01 +02:00
Klaus Basan
87a0c75f43 refs #621, use getXX for setup members, no idea why I have not used our standard 2016-03-30 13:41:44 +02:00
Klaus Basan
18a907086d refs #485, moved stylesheet utility into CGuiApplication 2016-03-18 01:10:32 +00:00
Klaus Basan
bcb00b1b91 refs #608, generic menus are now available via CGuiApplication and don`t have to be redefined over and over again 2016-03-18 01:10:04 +00:00
Klaus Basan
5c83c65b8f refs #609, replaced QWebEngine 2016-03-18 01:09:50 +00:00
Klaus Basan
aa96731143 refs #485, further removed global setup traits from classes with read only
Use global setup from sGui/sApp
2016-03-18 01:09:45 +00:00
Klaus Basan
f4cbfc2fa9 refs #603, new CMD args, formerly passed by env.vars
* removed from CProject
* removed. env. vars menu items
* prepared for vatlib cmd. args
* prepared for eol (end of lifetime) timestamp (time bomb)
2016-03-18 01:09:31 +00:00
Klaus Basan
b1353cefd4 refs #485, renamed overlay messages functions 2016-03-18 01:09:09 +00:00
Klaus Basan
1a1e4681fe refs #600, turned CUrlList into a plain vanilla list
* bundled all load balancing in CFailoverUrlList. "Obtain" functions are non-const, no need of mutable members
2016-03-18 01:08:41 +00:00
Klaus Basan
a0b7f741ee refs #485, fixed default values in launcher
(discovered during testing, not really related)
2016-03-18 01:08:13 +00:00
Klaus Basan
7a38afe8c3 refs #485, adjusted samples 2016-03-18 01:08:07 +00:00
Klaus Basan
158efe819a refs #485, first version of a Gui/Core application class
Also specialized GUI application class for standard GUI
2016-03-18 01:08:02 +00:00
Klaus Basan
fadb7eb750 refs #534 use cached data / settings
* models
* vPilot rules
* DBus address
2015-12-08 20:14:13 +01:00
Mathew Sutcliffe
01d20c53e7 refs #520 CDBusServer style/cleanup. 2015-11-29 20:14:31 +00:00
Mathew Sutcliffe
fbcc42424d refs #520 Moved CDBusServer from BlackCore to BlackMisc. 2015-11-28 02:25:56 +00:00
Klaus Basan
94a277ee8e refs #521, reading of setup and version
* fixed in launcher so reloading works (this also uses fixed URL list)
* signal for version synchronized
* removed setupreader.h where possible -> less compile dependencies
* removed redundant logging
* removed unused cleanup override
* connect &QCoreApplication::aboutToQuit in threaded reader
2015-11-25 03:49:14 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Klaus Basan
025457c43b refs #509,renamed CDownload to CUpdateInfo
* as discussed in meeting
* follow up adjustments (file renaming, msg. renaming)
2015-11-20 22:38:50 +01:00
Roland Winklmeier
3103389dd1 Make QWebEngine an opt-out for MinGW builds
QWebEngine does not support MinGW compilers. In order to continue
support for MinGW in swift for now, opt it out in MinGW builds.
So far this affects only the news page, which is acceptable. This
way we keep the advantages of Windows MinGW builds.
2015-11-20 20:10:27 +01:00