Commit Graph

237 Commits

Author SHA1 Message Date
Klaus Basan
68dccbefa6 Formatting, renaming, Doxygen, minor UI adjustments 2017-02-24 00:18:51 +00:00
Mathew Sutcliffe
3f5139d717 refs #852 IInterpolator::getPartsBeforeTime renamed to getInterpolatedParts
and returns a single CAircraftParts object, not a list.
2017-02-24 00:17:55 +00:00
Klaus Basan
61e7f23847 refs #858, todo review (demoted, commented) 2017-02-24 00:09:00 +00:00
Klaus Basan
ec3fc93a19 refs #846, core: shutdown when failure and assert for missing facade 2017-01-10 23:46:06 +00:00
Klaus Basan
667009c85e refs #840, moved interpolator classes into Simulation namespace 2017-01-10 23:45:27 +00:00
Klaus Basan
46fafde7a0 refs #840, add support for interpolation hints 2017-01-10 23:45:25 +00:00
Roland Winklmeier
4b93d0e2d8 CCoordinateGeodetic::calculateEuclideanDistance unit tests 2017-01-10 23:45:07 +00:00
Mathew Sutcliffe
062289bc69 refs #838 Move interpolator unittest from testblackcore to testblackmisc. 2017-01-10 23:44:43 +00:00
Mathew Sutcliffe
7e85422da7 refs #837 CAircraftSituation altitude is part of its position. 2017-01-10 23:44:40 +00:00
Mathew Sutcliffe
6c36cd202b refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude. 2017-01-10 23:44:34 +00:00
Mathew Sutcliffe
544a1cca45 refs #837 Don't misuse coordinate height as ground elevation, use a separate member instead. 2017-01-10 23:44:31 +00:00
Mathew Sutcliffe
b252673928 refs #837 Using new abbreviated syntax for null units. 2017-01-10 23:44:30 +00:00
Klaus Basan
8f779fff35 refs #787, fixed unit test
* flag update for non cached scenarios was missing
* some minor adjustments of test readers
2016-12-13 19:01:37 +01:00
Mathew Sutcliffe
6f972035ab refs #800 Fixed some declaration shadows variable in outer scope warnings. 2016-12-13 19:00:27 +01:00
Mathew Sutcliffe
5791de6860 refs #800 Fixed some implicit conversion warnings. 2016-12-13 19:00:26 +01:00
Klaus Basan
dff8db131f refs #780, "qUtf8Printable" fixes
https://dev.vatsim-germany.org/issues/780#note-9 number 2
2016-12-13 19:00:11 +01:00
Klaus Basan
9deedf1e10 refs #789, improvements when addressing FSX driver issue
* added new utility funtion is model list / aircraft list
* added setters/getters for CSimConnectObject
* added setters/getters for InterpolationStatus / PartsStatus
* added CSimConnectObjects (better encapsulation)
2016-12-06 09:47:04 +01:00
Klaus Basan
9bf1833aac Improved messages in reader UNIT test
* info about URL connected
* reflect changes in global setup for airport reader
2016-12-06 09:33:39 +01:00
Michał Garapich
9acfb89e65 refs #748 Add operating attribute to CAirport 2016-10-17 14:34:33 +01:00
Michał Garapich
cf3e9f1f67 refs #748 Support database format in CAirportDataReader
* CAirport is now database object
* CAirportList is now datastore object list
* CAirportDataReader adjustments
2016-10-17 14:34:31 +01:00
Michał Garapich
a4b5b28cc1 refs #748 Move CAirportDataReader to the db/ subdirectory
* BlackCore::CAirportDataReader -> BlackCore::Db::CAirportDataReader
* fix typo in CDatabaseReader
2016-10-17 14:34:30 +01:00
Mathew Sutcliffe
a08c93d53a refs #756 Added class CProcessInfo to obtain a process name from its PID, and check if a process exists. 2016-10-17 14:34:23 +01:00
Klaus Basan
67fdfd228a Minor improvements for reader unit test
* URL in verify msg.
* qWait when reading
2016-09-19 16:18:56 +02:00
Mathew Sutcliffe
aeb15ea7be refs #759, #761 Track when a cache value notify slot is a member function to avoid duplicate calls. 2016-09-19 16:18:52 +02:00
Mathew Sutcliffe
ad0a7f9526 refs #759 Temporarily disable a testcase pending a solution to the underlying problem. 2016-09-19 16:18:52 +02:00
Mathew Sutcliffe
e01ae2be11 refs #759 Allow cache value notification slot to be changed after construction.
Also allow slot to be any type of callable, including member function or lambda.
2016-09-19 16:18:52 +02:00
Mathew Sutcliffe
87eeac4e15 refs #710 Simple algorithms to replace several regular expressions. 2016-08-30 04:02:00 +01:00
Mathew Sutcliffe
f85db3cffb refs #730 Updated tests. 2016-08-26 21:04:50 +01:00
Michał Garapich
1032b2f506 refs #650 Implement CAirportDataReader
* Add BlackCore::CAirportDataReader class
* Add cache traits for airport list
* Add corresponding WebReaderFlag
* Add CAirport::convertFromDatabaseJson()
* Add CApplication::headerFromNetwork() to handle HTTP HEAD method
2016-08-26 00:18:41 +02:00
Mathew Sutcliffe
87b2396edb refs #694 Support human readable names for settings and data cache traits. 2016-07-31 23:15:35 +01:00
Klaus Basan
b959972e0c refs #707, refactoring geo interfaces
* added compare functions (also to ATC list)
* renamed to relative position, e.g. station.setRelativeDistance
* delegate set/get/compare to correct interface
2016-07-14 18:49:13 +02:00
Klaus Basan
19040af654 refs #704, moved VATSIM specific stuff to ns VATSIM/subdir 2016-07-14 18:49:11 +02:00
Mathew Sutcliffe
242e041ceb refs #679 CValueCache local signal relay moved to the point of emission, to tolerate different orders of initialization of application. 2016-06-30 02:06:16 +01:00
Roland Winklmeier
ef1b7b2c21 Use QSKIP to flag a test 'skipped', if server is not reachable
refs #682
2016-06-22 14:23:07 +02:00
Mathew Sutcliffe
fdfc5256eb Configure additional xml output for each unit test via a BlackMisc utility class
refs #682
2016-06-22 14:22:22 +02:00
Roland Winklmeier
26a72d5eb2 Consider QObject could be null in CSlot 2016-06-17 10:46:31 +02:00
Mathew Sutcliffe
a5dfa1ef00 refs #570 Removed unused method splitByTime. 2016-06-08 23:59:57 +01:00
Mathew Sutcliffe
7ae453b532 refs #666 Moved interpolator to BlackMisc so xbus doesn't need to link BlackCore. 2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
c64851aeba refs #570 Removed the hardcoded 6 seconds, interpolator honors the offsets of the situations. 2016-06-08 23:54:13 +01:00
Klaus Basan
54b1234f7f refs #649, refs #658 fixed includes to new subfolders "db"
some style changes in same step
2016-06-08 18:20:23 +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
d4248d2661 Util methods to modify the custom library search path
refs #615
2016-05-20 01:41:10 +02:00
Roland Winklmeier
1ffb910529 Fix blackgui unit test namespaces 2016-05-20 01:32:36 +02:00
Roland Winklmeier
4f8205e585 Fix unit test header includes
* Include only what is used
* Use forward declaration when possible
* Sorted includes

refs #598
2016-05-20 01:32:26 +02:00
Klaus Basan
0f5d2a29a8 refs #655, Change signature (order) of setProperty/compareProperty 2016-05-13 16:44:17 +02:00
Mathew Sutcliffe
a492189874 refs #653 Rephrase "uninitialized value" message. 2016-05-05 15:25:07 +01:00
Mathew Sutcliffe
4e9d7d3efe refs #628 Metaclass style compatible with the AStyle beautifier. 2016-04-06 15:15:12 +01:00
Mathew Sutcliffe
0acb302c63 refs #628 Remove the old tuple system. 2016-04-03 18:17:44 +01:00
Mathew Sutcliffe
4bd4baa535 refs #628 Use the metaclass mixins in all value classes. 2016-04-03 18:17:43 +01: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