Mathew Sutcliffe
5872e96b21
refs #624 Fix cppcheck warnings.
2016-03-22 16:03:02 +00:00
Mathew Sutcliffe
a895cc2c54
refs #624 Removed many workarounds, no longer needed.
2016-03-22 16:02:58 +00:00
Mathew Sutcliffe
187501bb3c
refs #624 Modernize how CDictionary selects its default implementation container.
2016-03-22 16:02:55 +00:00
Mathew Sutcliffe
a1861c69f0
refs #624 Some more occurrences of constexpr.
2016-03-22 16:02:53 +00:00
Mathew Sutcliffe
6f1cf8e3d7
refs #624 Replace typedef with using.
2016-03-22 16:02:50 +00:00
Mathew Sutcliffe
a8fc899219
refs #624 Use std alias traits.
2016-03-22 16:02:48 +00:00
Mathew Sutcliffe
23a7f9b719
refs #624 CLogPattern can use Mixin::HashByTuple because QSet is hashable since Qt 5.5.
2016-03-22 16:02:45 +00:00
Mathew Sutcliffe
4df0f150de
refs #624 Removed a \todo which actually didn't make sense.
2016-03-22 16:02:43 +00:00
Mathew Sutcliffe
463a7c776a
refs #624 Use lambda init-capture.
2016-03-22 16:02:40 +00:00
Mathew Sutcliffe
3c2285e46b
refs #624 Use generic lambda to reduce redundancy in relation to CWorker::thenWithResult.
2016-03-22 16:02:38 +00:00
Mathew Sutcliffe
34512cefbe
refs #624 Implementation of Optional can always use unrestricted unions.
2016-03-22 16:02:36 +00:00
Mathew Sutcliffe
eb4df2d893
refs #624 Use auto function return type deduction.
2016-03-22 16:02:33 +00:00
Mathew Sutcliffe
4700cb1602
refs #624 Use ref qualifiers.
2016-03-22 16:02:31 +00:00
Mathew Sutcliffe
3001ca1f44
refs #624 Use std::make_unique instead of BlackMisc::make_unique.
2016-03-22 16:02:29 +00:00
Mathew Sutcliffe
bb7cf80a20
Metatuple must ignore CStatusMessage::m_handledByObjects, as it doesn't know about the mutex.
2016-03-22 16:02:26 +00:00
Mathew Sutcliffe
bb1d9edfe9
Fixed missing mutex locks in CStatusMessage.
2016-03-22 00:31:12 +00:00
Mathew Sutcliffe
caa01f846b
refs #624 , #492 Refactor parts of CLogMessage into base class and use inheriting constructors to unify the construction idiom of CLogMessage and CStatusMessage.
2016-03-22 00:31:09 +00:00
Mathew Sutcliffe
2ce1f3da0a
refs #624 Use inheriting constructors in CValueObject.
2016-03-21 02:20:04 +00:00
Mathew Sutcliffe
91494ea2e5
refs #624 Swap functions, move constructors, and move assignment operators should all be noexcept where possible.
2016-03-21 02:20:01 +00:00
Mathew Sutcliffe
b33781717e
refs #624 Remove noexcept from destructors, which are implicitly noexcept.
2016-03-19 21:07:56 +00:00
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