Commit Graph

2848 Commits

Author SHA1 Message Date
Klaus Basan
5a03d235cd refs #608, allow to select log component (attention) when required. This is needed for direct window access to display console messages directly. 2016-03-18 01:09:56 +00:00
Klaus Basan
81299b4d16 Disable some context menu functions for log view 2016-03-18 01:09:53 +00:00
Klaus Basan
5c83c65b8f refs #609, replaced QWebEngine 2016-03-18 01:09:50 +00:00
Klaus Basan
3b0267b9fe Renamed description for generated vPilot rules 2016-03-18 01:09:48 +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
30b5e5dade refs #485, changed to static preformatted as discussed (MS/KB) on slack 2016-03-18 01:09:42 +00:00
Klaus Basan
55a0ab7b48 refs #485, renamed the trait for authenticated user to AuthenticatedDbUser
* there is no single authenticated user, this one has a specific usage
* adjusted classed
* formatting
2016-03-18 01:09:39 +00:00
Klaus Basan
f27d130df9 refs #485, VATSIM data to be cached 2016-03-18 01:09:37 +00:00
Klaus Basan
a43d414a76 refs #603, cmd args for network vatlib
bundled all defines which should be set on the build server in defines.pri
2016-03-18 01:09:34 +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
d7e5b5206c refs #485, adjusted setup reader
* log categories as discussed
* made some functions thread safe
2016-03-18 01:09:28 +00:00
Klaus Basan
b577f9313e refs #485, use global setup directly from sApp where possible 2016-03-18 01:09:26 +00:00
Klaus Basan
f03f3ef224 refs #605, make sure the main thread is not terminated
In unit test a reader was to started. Here it was happening the main thread was terminated accidentally
2016-03-18 01:09:23 +00:00
Klaus Basan
f1ace9dde0 refs #485, refs #605 make clear when we use process events just to refresh GUI 2016-03-18 01:09:21 +00:00
Klaus Basan
f124412896 refs #605, fixed unit test itself
* threaded reader were normal members causing a crash when those were moved in their own thread
* we need own event processing for unit test
* Network request needs to be generated in main thread
* don`t shutdown readers on QCoreApplication::aboutToQuit, let CApplication handle it
* use CApplication in unit test (as in real world)

Unrelated:
* access global setup via application
2016-03-18 01:09:17 +00:00
Klaus Basan
12957f8ec0 refs #602, remove QNetworkAccessManager from readers, use central one 2016-03-18 01:09:15 +00:00
Klaus Basan
fb046ae1fb refs #485, moved central GUI functionality to sGui
* allow to send status message to main window (from everywhere)
* Use sGui::changedStylesheet where possible
* message when model is stashed
* improved application startup
2016-03-18 01:09:11 +00:00
Klaus Basan
b1353cefd4 refs #485, renamed overlay messages functions 2016-03-18 01:09:09 +00:00
Klaus Basan
c411f07551 refs #485, renamed to cmdLineErrorMessage (to distinguish from status messages) 2016-03-18 01:09:06 +00:00
Klaus Basan
76814b43be Fixed some minor issues in mapping tool (triggered by slack discussion)
* slot menu connect
* stashing from model view
* removed unused menu
2016-03-18 01:09:03 +00:00
Klaus Basan
79f95845b2 refs #602, emoved web service provider
* webservices now directly accessible via sGui
* interface no longer needed
* no init of provider (setProvider) needed anymore
2016-03-18 01:09:00 +00:00
Klaus Basan
a0cfa2e687 refs #602, directly web access via application
* delegating functions
* removed from airspace monitor
2016-03-18 01:08:57 +00:00
Klaus Basan
8a7eba74d9 refs #602, threadsafe access to central QNetworkAccessManager post/get
* threadsafe (used from workers)
* added post methods
* renamed functions to better refelct post/get
* use central QNetworkAccessManager in readers, removed local readers
2016-03-18 01:08:54 +00:00
Klaus Basan
65af7d87da refs #602, CWebDataServices and CCookieManager now part of CApplication
* New hint flag: DB data for the client will no longer be web loaded but fetched from cache whenever possible
* No public constructors for the 2 classes
* adjusted main
2016-03-18 01:08:51 +00:00
Klaus Basan
4b7ba4f117 refs #597, removed setup loading in CWebDataServices
* no longer needed, as initial load happens in CApplication
* adjusted classes
2016-03-18 01:08:49 +00:00
Klaus Basan
c649c1b7ed refs #597, loading changed so that it is guaranteed setup is loaded before application is actually started 2016-03-18 01:08:46 +00:00
Klaus Basan
488bdb3392 Fixes for mapping tool as discussed with RW on slack 2016-03-18 01:08:43 +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
89d9b3ad39 Minor fixed in context/audio context 2016-03-18 01:08:38 +00:00
Klaus Basan
774d3e4704 refs #485, slot class so replies from a single QNetworkAccessManager can be dispatched
(also refs #597)
2016-03-18 01:08:36 +00:00
Klaus Basan
b78d8a5088 refs #597, adjusted update info/global setup
* some renaming
* adjusted to new server paths without dev/productive
* changed to different keys to obtain 2 JSON files in cache
2016-03-18 01:08:33 +00:00
Klaus Basan
92a36890eb refs #485 URL/URL list
* added constructor for CUrlList
* added registration of metadata of fail over class
* default port support for getPort
2016-03-18 01:08:30 +00:00
Klaus Basan
ce3edc37d0 refs #597, removed setup reader includes no longer needed 2016-03-18 01:08:27 +00:00
Klaus Basan
9ff322ae25 refs #597, use CMD arguments in setup reader.
* Setup reader will now be initialized and handles by CApplication
* Setup reader no longer threaded reader as it will be initialized and loade upfront
2016-03-18 01:08:24 +00:00
Klaus Basan
6a06aa0460 refs #485, moved some gui classes to components
Originally components was meant for runtime based components. No longer true, so some classes now better find into that namespace.
2016-03-18 01:08:21 +00:00
Klaus Basan
96913c6dc1 refs #485, load settings in core facade
Idea: settings will be automatically available
2016-03-18 01:08:18 +00:00
Klaus Basan
1b587c2ee8 refs #485 removed some dependencies from CDBusServer 2016-03-18 01:08:16 +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
41a88266ab refs #485, improved p2p address handling 2016-03-18 01:08:10 +00:00
Klaus Basan
7a38afe8c3 refs #485, adjusted samples 2016-03-18 01:08:07 +00:00
Klaus Basan
3829aaeae8 refs #485, removal of CEnableForRuntime 2016-03-18 01:08:05 +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
d9aac6427b refs #485, renamed (CContextRuntime) to CCoreFacade
https://dev.vatsim-germany.org/issues/485#note-6
2016-03-18 01:07:58 +00:00
Klaus Basan
79cbcbc88f refs #485, remove all objects when closing DBusServer 2016-03-18 01:07:55 +00:00
Klaus Basan
4a0bc5dda3 refs #485, allow to close file loggger and using QStringBuilder 2016-03-18 01:07:52 +00:00
Klaus Basan
c3722f9198 refs #485, refs #584 removed include blackmiscfreefunctions.h 2016-03-18 01:07:49 +00:00
Klaus Basan
f74794b4d7 refs #485, refs #584 changed register metadata so blackmiscfreefunctions can be removed 2016-03-18 01:07:46 +00:00
Klaus Basan
2af30f1035 Updated some icons 2016-03-18 01:07:44 +00:00
Mathew Sutcliffe
259f8d7a68 refs #601 Introduce "pinned" values, which are loaded synchronously by the CDataCache constructor. 2016-03-18 01:07:41 +00:00
Mathew Sutcliffe
c6a038aaa8 refs #601 Simplify syncLoad and rename to synchronize.
Now it doesn't return anything, it just causes the next async get() to be synchronized with the latest loaded value.
It does this by hooking into the queue introduced in the previous commit.
2016-03-18 01:07:38 +00:00