Commit Graph

97 Commits

Author SHA1 Message Date
Klaus Basan
caa5aab34c refs #369, reverse ICAO lookup 2015-03-20 16:31:26 +01:00
Klaus Basan
4e1db5c837 Fixes of MS'review as proposed
https://dev.vatsim-germany.org/issues/368#change-2380 (1,2)
https://dev.vatsim-germany.org/issues/364#change-2379 (1-11,13)
2015-01-24 01:16:50 +01:00
Klaus Basan
49a8dee67c Fixed gcc warning 2015-01-24 01:16:30 +01:00
Klaus Basan
000f9db3a4 refs #364, changed mapper to Simulation::CAircraftModel 2015-01-24 01:15:13 +01:00
Klaus Basan
d32e8fd12c refs #368, updated aircraftcfgentries
* allow to exclude directories for read
* added texture
2015-01-23 18:47:56 +01:00
Klaus Basan
4f0bf6d62c refs #358, changes of MS' review
https://dev.vatsim-germany.org/issues/358#note-11
2014-12-29 23:11:23 +01:00
Klaus Basan
d0b5fc1249 refs #358, fixes as proposed by RW
* foreach -> for
* CVariant
2014-12-29 23:01:58 +01:00
Klaus Basan
6b211a9b01 refs #358, using utility function in setup class 2014-12-28 22:20:13 +01:00
Klaus Basan
c285ac4098 refs #358, created a mapper class (links mappings with existing models)
* read models and mappings / in background if required
* provides functions to access read mappings and models
2014-12-28 20:46:25 +01:00
Klaus Basan
de3fcf4332 refs #358, interface for mapping readers 2014-12-28 20:46:21 +01:00
Klaus Basan
514b0f4bed refs #358, added utility function to mapping rules reader
* renamed load to read
* functions for problematic files, number of files etc.
* some style fixes
2014-12-28 20:46:18 +01:00
Klaus Basan
366769a6b8 Formatting, doxygen, typo aircrafts (to aircraft),
removed some debug output, {} in if statements
2014-12-28 20:46:14 +01:00
Klaus Basan
ca19ee8053 refs #358, added a utility class for FS 2014-12-28 20:46:11 +01:00
Klaus Basan
3cdc485e56 refs #358, extended FS specific class for cfg entries
* more details fetched
* conversion to aircraft model / aircraft mode list (FS specific to generic)
* detect functions to find possible trouble makers
2014-12-28 20:46:08 +01:00
Klaus Basan
bdcb031591 refs #358, consolidated mapping and model classes
* removed redundant classes in blacksim
* more detailed attributes for mapping
* more finder functions in mapping list
* aircraft model extended as simulator independent description for models
2014-12-28 20:46:04 +01:00
Klaus Basan
e4bea8ffa8 refs #354, initial cleanup of cfg entries samples / code before adding new functionality
* fixed styles such as copyright headers
* use text stream instead of qDebug() for output
* int instead of qint
* misc. smaller tweaks
* extended the JSON example (special chars). JSON might be used to "cache" the FSX entries
2014-12-28 19:38:26 +01:00
Mathew Sutcliffe
3a9ff3112f refs #247 Using CVariant in blacksim. 2014-12-13 01:42:01 +00:00
Mathew Sutcliffe
48f04a4750 refs #247 Using CVariant in property index system. 2014-12-13 01:41:58 +00:00
Mathew Sutcliffe
f52cdd596e refs #247 All our value classes registered with our new custom metatype system. 2014-12-13 01:41:47 +00:00
Mathew Sutcliffe
a2c0a893c0 refs #247 Fixed mistakes. 2014-12-13 01:38:46 +00:00
Klaus Basan
11e9b37326 Formatting 2014-11-30 00:53:03 +01:00
Mathew Sutcliffe
4c8148acf1 refs #345 First wave of value classes using the CValueObjectStdTuple CRTP class template. 2014-11-10 20:44:25 +00:00
Mathew Sutcliffe
798b198d4e refs #345 Style and doxygen. 2014-11-10 20:42:31 +00:00
Roland Winklmeier
b1df5d59d9 refs #341 Fixed initialization of m_changed 2014-11-05 16:34:24 +01:00
Mathew Sutcliffe
a294e8db0f refs #336 Using the new CLogMessage syntax to log messages. 2014-10-16 17:05:50 +01:00
Klaus Basan
ef5f5bde0f Formatting, new icons, minor tweaks 2014-10-07 13:10:37 +02:00
Klaus Basan
4b50134d2a refs #325, refs #330 fixed apply method to return list of changed properties
* changed CValueObject apply
* created CIndexPropertyList
* renamed CIndexVariantMap to CPropertyIndexVariantMap
2014-10-07 13:10:33 +02:00
Klaus Basan
ee2bddd92b refs #329, PropertyIndex assert
* remark 1: The setup values tagged GlobalIndexAbuseMode are subject of change
* remark 2: Fixed some comments / Doxygen with this here
2014-10-07 13:10:26 +02:00
Mathew Sutcliffe
5795845400 refs #316 Doxygen. 2014-10-04 22:17:12 +01:00
Mathew Sutcliffe
b16b02c3d6 refs #316 Changed blackmisc and blacksim to use CLogMessage to emit messages.
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage,
to return CStatusMessage instead for simplicity.
2014-10-04 22:16:40 +01:00
Klaus Basan
a6ebfc0e0b Bug fixes and improvements for PropertyIndex discovered during refs #319, mainly contributing to refs #314
* Start index 10 instead 0 for CValueObject (easier to detect bugs)
* Fixed wrong indexes
* Asserts in CPropertyIndex
* Used Icon instead of QPixpmap with indexes, icons are sortable and have a tooltip
* Removed redundant toQVariant methods
2014-09-04 01:38:10 +02:00
Klaus Basan
c1895c1ab2 refs #314, fixed missing virtual keyword and Doxygen comment 2014-08-25 13:10:13 +02:00
Klaus Basan
40b428a315 refs #314, renamed convertFromQVariant, convertFromJson
discussion: https://dev.vatsim-germany.org/issues/314#note-19
2014-08-24 02:47:16 +02:00
Klaus Basan
290abe3693 refs #314, fromQVariant / location of toQVariant
* renamed fromQVariant to convertFromQVariant, the "from" methods imply the object is changed (fromJson, fromString ..)
* implemented fromQVariant - changing the object by QVariant
* moved toQVariant into PQ template
* free function setFromQVariant
2014-08-24 02:47:05 +02:00
Klaus Basan
e109d73ba2 refs #314, new propertyBy methods (nested indexes) 2014-08-24 02:46:59 +02:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Mathew Sutcliffe
a4b317b100 refs #290 using a CRange of iterator adaptors in implementating the tertiary predicate-based methods of the derived containers,
but preserving the return-by-copy for API stability
2014-07-13 20:30:22 +01:00
Mathew Sutcliffe
101c5a4f98 refs #290 using a CRange of iterator adaptors to return from the primary predicate-based methods of CRangeBase without copying elements 2014-07-13 20:30:20 +01:00
Klaus Basan
76cbb5348c refs #289, settings for simulator 2014-07-11 01:20:57 +02:00
Klaus Basan
cd88c79f7c comparing just on name, used with plugin checks 2014-07-11 01:20:55 +02:00
Klaus Basan
ce8a089949 Fixed object metadata registration 2014-07-11 01:19:55 +02:00
Klaus Basan
ef0877b116 refs #237, fixed typo and naming (driver->plugin) 2014-06-28 18:02:20 +02:00
Klaus Basan
25122fad10 refs #273, fixed changed detection 2014-06-28 18:02:13 +02:00
Klaus Basan
43a6ec66e0 refs #273, fixed missing JSON serialization 2014-06-28 18:02:11 +02:00
Klaus Basan
9afe8b0f8b Formatting, tweaks, style sheet 2014-06-28 18:02:05 +02:00
Klaus Basan
4d26b77fa4 refs #273, added methods for CSimulatorInfoList 2014-06-28 18:02:03 +02:00
Klaus Basan
42db1fe9ae refs #273, added settings for simulator
* added class
* adjusted settings context
* adjusted "global" methods as register metadata
* improved settings utility
* renamed "settingsallclasses" as settings can also be in other namespaces, settingsallclasses now in core
2014-06-28 18:01:55 +02:00
Klaus Basan
abd2d6d86d Some fixes / tweaks / Doxygen:
* helper method to detect disconnected state
* clear ATC info if disconnected or not available
* unit test for "finders"
* added Doxygen file
* formatting frequency in text message tabs
2014-06-28 18:01:54 +02:00
Klaus Basan
f775ac88d3 Doxygen 2014-06-23 01:19:40 +02:00
Klaus Basan
ab77f19544 refs #267, moved vPilot reader in namespace fscommon, as it is specific for FSX/FS9/P3D 2014-06-23 01:19:27 +02:00