Commit Graph

68 Commits

Author SHA1 Message Date
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
Klaus Basan
c2ac46c85e refs #267, model mappings backend class (used in context)
* interface
* implementation for vPilot mapping files
2014-06-23 01:19:22 +02:00
Mathew Sutcliffe
4ed35ad539 refs #268 we can support X-Plane 8, 9, 10, and probably future versions, so CSimulatorInfo shouldn't specify a version 2014-06-17 21:18:55 +01:00
Klaus Basan
9e0909666e removed redundant CONFIG += c++11 (is already in build.pri) 2014-06-14 16:52:51 +01:00
Mathew Sutcliffe
b0ecaff4da refs #245 removed nested tie workarounds for tuples with >10 members 2014-06-13 13:16:05 +01:00
Klaus Basan
035575870b refs #242, allows to change FSX cockpit from context
* Data definitions for FSX events
* BCD conversion for COM and transponder
* Update Cockpit method in context
* Renamed setOwnAircraft -> updateOwnAircraftFromSim
2014-06-09 14:43:35 +02:00
Klaus Basan
1bb4c3120b Formatting, comments, minor tweaks, typos, Doxygen 2014-06-09 14:43:31 +02:00
Klaus Basan
6d67874dff Added missing Doxygen comment 2014-05-14 23:23:58 +02:00
Klaus Basan
a2bfe36f37 refs #236, default FSX path by registry
Includes a setter for index map
2014-05-13 01:21:50 +02:00
Klaus Basan
4d57a50fd2 refs #236, aircraft indexer to read FSX/9 models on disk in background 2014-05-13 01:21:32 +02:00
Klaus Basan
580ec3d8c8 Formatting, comments, typos, or minor tweaks
* Aircraft ICAO class: hasXX methods (hasAircraftCombinedType(), ..)
* Index Variant map, contains(index)
* Deleted context_network_textmessages.cpp and moved it into impl.cpp (this was only 1 method)
* Fixed bug refs#228
2014-05-06 21:47:10 +02:00
Klaus Basan
e56eeb4ef9 Typo 2014-05-01 19:40:03 +02:00
Roland Winklmeier
fd035fe5cc Add method to retrieve a list of available simulator plugins
refs #215
2014-04-26 15:01:46 +02:00
Roland Winklmeier
15fb87ecd0 Move xplane bus project into top source directory
refs #211
2014-04-19 12:33:27 +02:00
Roland Winklmeier
cdbc635361 Move client xplane plugin into plugins/simulator/xplane
refs #211
2014-04-19 12:33:26 +02:00
Roland Winklmeier
603f03f092 Move fsx plugin into plugins/simulator/fsx
refs #211
2014-04-19 12:33:25 +02:00
Mathew Sutcliffe
ba4b0197a6 refs #204 changed xbus destination directory for 32bit builds
to support older versions of X-Plane
2014-04-17 00:34:21 +02:00
Mathew Sutcliffe
7fae60a510 refs #204 doxygen comments 2014-04-17 00:34:20 +02:00
Mathew Sutcliffe
86e002fff5 refs #204 use qDebug etc.
and install a Qt message handler which forwards messages to the X-Plane debug log
2014-04-17 00:34:19 +02:00
Mathew Sutcliffe
ae507a54cd refs #204 workaround an unexplained bug when casting QApplication
by using inherits() and static_cast instead of qobject_cast
2014-04-17 00:34:17 +02:00
Mathew Sutcliffe
f1345d7b6f refs #204 stub project for XBus, an X-Plane plugin (not client plugin) which will communicate with the client 2014-04-17 00:34:15 +02:00
Mathew Sutcliffe
59112e237c refs #204 stub project for the X-Plane sim driver 2014-04-17 00:34:14 +02:00
Klaus Basan
04b1b1e5a9 refs #207, changed / fixed .pro file 2014-04-17 00:11:47 +02:00
Klaus Basan
17a6607781 refs #207, changed simconnect utils, so it can be written remotely 2014-04-17 00:11:40 +02:00
Klaus Basan
f2f9ffafa5 refs #207, added simulator info to interface, plugin 2014-04-17 00:10:08 +02:00
Klaus Basan
89cb48bbfc refs #207, added simulator setup to CSimulatorInfo
* setup will provide some metadata about the flight simulator, such as path, version etc.
* there will be a sim independent setup class, providing common information such as path, is simulator installed, etc.
* a sim dependent class on top will provide the values specific to one sim
* setup will contain the logic to fetch its values: setup->init
2014-04-17 00:10:07 +02:00
Klaus Basan
9db245c843 refs #207, fixed windows.h / NOMINMAX.
Depending on the build setup (config.pri) missing NOMINMAX caused warning, or already existing NOMINMAX caused warning
2014-04-17 00:10:05 +02:00
Klaus Basan
5e8460e28f refs #182, added tupel tie for aircraftmapping.h 2014-04-17 00:09:04 +02:00
Klaus Basan
6c125ba830 refs #199 , some formatting during "merge" 2014-04-17 00:09:01 +02:00
Klaus Basan
dc1e08b312 refs #199, integration with latest simulator context
* Fixed warning HRESULT hr = S_OK; uint/int warning
* loadPlugins in constructor
* init removed, wiring in runtime class
* Using getRuntime to refer to other contexts
* Fixed reading of plugins, with no exisiting "plugin" dir this did hang
2014-04-17 00:08:59 +02:00