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
Mathew Sutcliffe
06ad77ee9d
refs #601 CDataCache overrides connectPage to provide a queue that is more flexible than the usual Qt::QueuedConnection.
2016-03-18 01:07:32 +00:00
Mathew Sutcliffe
899d94ca74
refs #601 Refactor signal/slot connections from CValuePage constructor into virtual method of CValueCache
...
so that derived classes can override the behaviour.
2016-03-18 01:07:27 +00:00
Mathew Sutcliffe
f680cee8ed
refs #601 Slot inhibitor no longer needed, this reverts commit:bc2e0faa.
2016-03-18 01:07:24 +00:00
Mathew Sutcliffe
a47a2681bd
refs #601 Fixed thread safety of get() by adding getCopy().
2016-03-17 19:45:15 +00:00
Klaus Basan
3e21b718d9
refs #601 , #618 Fixed mistake.
2016-03-17 19:45:12 +00:00
Klaus Basan
a6840f12a1
refs #601 , #600 CValuePage::getPageFor finds direct children only.
...
Fixes assert "can't have two CCached in the same object referring to the same value".
2016-03-17 19:45:09 +00:00
Mathew Sutcliffe
fa27b32984
refs #601 , #600 Fixed test that was broken by previous commit "status message handling".
2016-03-17 19:45:07 +00:00
Klaus Basan
144ba62572
refs #601 , #600 , #485 Status message handling.
...
* follow up of debug session, added failure/success to status message
* return status messages instead of directly logging in functions returning CStatusMessage.
* Ignore empty preformatted messages.
* new log category
2016-03-17 19:45:04 +00:00
Mathew Sutcliffe
f490504f52
refs #601 , #600 Fixed mistake in CValueCache::saveToFiles.
2016-03-07 17:04:41 +00:00
Klaus Basan
83082d3f63
refs #601 , #600 Fixed inverted conditions in CValueCache and CSettingsCache.
2016-03-03 22:32:19 +00:00
Mathew Sutcliffe
f1a69d749d
refs #604 Fixed MSVC warnings concerning missing pdb files.
2016-03-03 22:29:58 +00:00
Roland Winklmeier
211a7dcc5b
CPluginManagerSimulator::getListener should not create listeners
...
Up to now, CPluginManagerSimulator::getListener was allocating a listener
automatically in the background which was not always the desired
behaviour. For example in case simulators are stopped, it is unnecessary
to allocate all listeners and call stop on them. It is enough to stop
the existing ones.
In order to achieve the correct behaviour the creation part is moved to
CPluginManagerSimulator::createListener.
refs #606
2016-03-02 23:08:23 +01:00