Commit Graph

1210 Commits

Author SHA1 Message Date
Mathew Sutcliffe
c26a6fef8b refs #624 Use noexcept instead of Q_DECL_NOEXCEPT. 2016-03-19 21:07:15 +00:00
Mathew Sutcliffe
96d9fffcd7 refs #624 Use constexpr instead of Q_CONSTEXPR. 2016-03-19 20:40:03 +00:00
Mathew Sutcliffe
6b1b599275 refs #623 Fixed CDataPageQueue performance. 2016-03-19 19:41:33 +00:00
Mathew Sutcliffe
6f3faa5d7e Fixed mistake in CData::isStale. 2016-03-19 16:06:48 +00:00
Mathew Sutcliffe
9857e7f045 Fixed bug in copySampleElements. 2016-03-19 16:06:05 +00:00
Klaus Basan
46d71ed1a2 Some finetuning of columns in views/data displayed
Sorting fixed for model
2016-03-18 01:10:40 +00:00
Klaus Basan
3083f30576 refs #613, logging for model matching 2016-03-18 01:10:37 +00:00
Klaus Basan
c36028ca9c refs #485, Restricted<T> 2016-03-18 01:10:35 +00:00
Klaus Basan
90a8368002 refs #485 added some resources 2016-03-18 01:10:18 +00:00
Klaus Basan
1eb65a873c refs #610, VATSIM status file
* automatically load status file
* keep VATSIM data file locations
* use METAR/datafile locations from bootstrap or VATSIM status file
2016-03-18 01:10:12 +00:00
Klaus Basan
52f0756597 refs #485, refs #608 Doxygen improvements/fixes 2016-03-18 01:10:07 +00:00
Klaus Basan
3b0267b9fe Renamed description for generated vPilot rules 2016-03-18 01:09:48 +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
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
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
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
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
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
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
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
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
1b587c2ee8 refs #485 removed some dependencies from CDBusServer 2016-03-18 01:08:16 +00:00
Klaus Basan
41a88266ab refs #485, improved p2p address handling 2016-03-18 01:08:10 +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
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
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
Roland Winklmeier
39285541b7 Fix CTime unit test failure with MinGW build 2016-03-02 23:04:46 +01:00
Roland Winklmeier
48fdfbea3e Cloud layers have a base and a top
refs #579
2016-03-02 23:04:29 +01:00
Roland Winklmeier
16315ec2ec Implement hardcoded weather grids
* Cavok
* Thunderstorm

refs #579
2016-03-02 23:04:05 +01:00
Roland Winklmeier
04292c2002 Add initializer list constructors
refs #579
2016-03-02 23:03:57 +01:00
Roland Winklmeier
03abfec7c6 Add precipitation and cloud type to CCloudLayer
refs #579
2016-03-02 23:03:50 +01:00
Roland Winklmeier
af3b8f7f0c Add dew point to CTemperatureLayer
refs #579
2016-03-02 23:03:33 +01:00
Roland Winklmeier
af28db9e97 Add CVisibilityLayer and CVisibilityLayerList
refs #579
2016-03-02 22:58:38 +01:00
Roland Winklmeier
f82895501f Fix build on Mac OS X El Capitan (10.11) 2016-02-21 23:09:31 +01:00
Roland Winklmeier
61e68860f8 Fix removing of old log files
The modification date of the log files was invalid, since QFileInfo
was constructed with a filename only and absolute path. Hence no file
was ever removed from disk.
2016-02-21 20:16:51 +01:00
Roland Winklmeier
17324f718d Replace fatals by warnings in CAircraftModelLoaderXPlane
The warning message is there in order to tell developers that one of the
rare cases not yet implemeneted were called. This should not cause
the application to stop.

refs #574, #582
2016-02-21 20:16:50 +01:00
Roland Winklmeier
b185d10463 Simplify XPlane CSL model strings
Before this change, the model strings were assembled via some
relatives pathes - long and very hard to read. Now it is assembled
via the pattern

<package root dir> <dir> ... <objectname> <texturename>

<package root dir> = the parent directory of xsb_aircrafts.txt
<dir> ... = directory hierarchy down to the object file

refs #574
2016-02-21 20:16:48 +01:00
Roland Winklmeier
d8eda7ea4b Improve ModelLoader to find and parse XPlane flyable planes
refs #582
2016-02-21 20:16:37 +01:00