Commit Graph

1186 Commits

Author SHA1 Message Date
Klaus Basan
3729721fc3 refs #289, method bodys for time sync as preparation
simulator can send messages to contexts
2014-07-11 01:20:29 +02:00
Klaus Basan
330919329d refs #291, timers for aircraft component independent of network connection
Remarks: sim can be connected, while network is not
2014-07-11 01:20:25 +02:00
Klaus Basan
db195bcd9b refs #291, airport view (panel aircrafts) 2014-07-11 01:20:22 +02:00
Klaus Basan
76bc6f0efc Formatting, tweaks 2014-07-11 01:20:21 +02:00
Klaus Basan
4d3b3d213d refs #291, improved airport class
* supports bearing (to own plane)
* elevation
* Fixed Property index
2014-07-11 01:20:18 +02:00
Klaus Basan
d8ca4241af refs #291, bearing
* method to calculate bearing between coordinates
* Helper methods to normalize degrees (0..360deg), e.g. -10deg -> 350deg
2014-07-11 01:20:16 +02:00
Klaus Basan
9e4c58b209 Moved CSimulatorFsx::SimConnectProc in own cpp file, as discussed in meeting 2014-07-11 01:20:14 +02:00
Klaus Basan
74988db472 refs #291, airports in range:
* added descriptive name for airport
* airport list model
2014-07-11 01:20:09 +02:00
Klaus Basan
5a4443487e Renamed to geodetic height, as discussed in meeting 2014-07-11 01:20:06 +02:00
Klaus Basan
bbdb8a293f refs #291, getAirportsInRange for simulator, simulator context 2014-07-11 01:20:05 +02:00
Klaus Basan
b1166934e3 refs #291, member method great circle distance 2014-07-11 01:20:04 +02:00
Klaus Basan
e8baa37b9d Formatting, housekeeping 2014-07-11 01:20:00 +02:00
Klaus Basan
b65829444a Fixed object metadata registration 2014-07-11 01:19:59 +02:00
Klaus Basan
2c2a59e5a4 Fixed non-required override of propertyByIndexAsString 2014-07-11 01:19:58 +02:00
Klaus Basan
ce8a089949 Fixed object metadata registration 2014-07-11 01:19:55 +02:00
Klaus Basan
d9a1c0cc8c refs #287 Thread safety, fix "memory access violation"
* some improved comments and information
* QMetaObject::invokeMethod in tool.cpp as thread safe invocation
* common base class for threaded readers
* removed event class, using QMetaObject::invoke instead for forcing calls in main event loop
* stop methods for readers, as used for graceful shutdown (preparing for thread safe destruction of objects)
* graceful shutdown for network context
* calls in tool now via inkoke for thread safety (only thread safe methods called directly)
2014-07-11 01:15:18 +02:00
Klaus Basan
c03d45123d refs #291, airport class, list 2014-07-04 22:56:59 +02:00
Klaus Basan
18436f444a Fixed valid distance in ATC station 2014-07-04 22:56:56 +02:00
Klaus Basan
da3982fc5f refs #279, improved FSUIPC support, reading all standard values including SB3 xpdr indent 2014-07-04 22:56:55 +02:00
Klaus Basan
d2afd00011 refs #273, fixes "QObject::disconnect: Unexpected null parameter" 2014-07-04 22:56:54 +02:00
Klaus Basan
a9f0359666 Tweaks
* formatting
* default digits for PQs
* improved toQString in altitude / aircraft situation / coordinate
2014-07-04 22:56:52 +02:00
Klaus Basan
f989acb42e Removed validation by exception (no longer what we use) from com/xpdr 2014-07-04 22:56:50 +02:00
Mathew Sutcliffe
ef93477a82 CDictionary: fixed, enabled, and tested automatic selection of appropriate default implementation container.
refs #281
2014-07-04 11:41:44 +02:00
Mathew Sutcliffe
482ddf2081 fixes #285 removing fake variadics in predicate-based container methods 2014-07-04 11:41:44 +02:00
Roland Winklmeier
222a30eee9 CDictionary unit tests
refs #281
2014-07-04 11:41:44 +02:00
Roland Winklmeier
d46c5edb9f Generic CDictionary as associative container
refs #281
2014-07-04 11:41:44 +02:00
Mathew Sutcliffe
c38b11b4e8 refs #282 always build with X-Plane support by default 2014-07-04 00:09:53 +01:00
Mathew Sutcliffe
4bb7f8d164 refs #282 update to new externals layout 2014-07-04 00:09:52 +01:00
Mathew Sutcliffe
1e89771de0 refs #282 changes to get xbus to compile on OSX 2014-07-04 00:09:51 +01:00
Mathew Sutcliffe
c00324ef12 refs #282 changes to get xbus to compile on Linux 2014-07-04 00:09:44 +01:00
Mathew Sutcliffe
b5097a0e63 containers: added opaque pointer access to implementation container, to help with debugging 2014-07-01 01:03:32 +01:00
Klaus Basan
08e65beaf4 Reverted include/ as discussed
https://dev.vatsim-germany.org/issues/273#note-16
2014-06-29 00:55:52 +02:00
Klaus Basan
8d08417f67 refs #237, load first plugin if settings do not match, provide a warning if no plugin is loaded 2014-06-28 20:01:53 +02:00
Klaus Basan
8fda6daee4 Fixed XPlane plugin warnings / issues
I came across when first compiling master with latest classes on my place
VC2013
2014-06-28 18:53:03 +02:00
Klaus Basan
ef0877b116 refs #237, fixed typo and naming (driver->plugin) 2014-06-28 18:02:20 +02:00
Klaus Basan
8ad0d4bb68 refs #273, fixed delegation to simulator settings 2014-06-28 18:02:19 +02:00
Klaus Basan
88c656ee61 refs #273, runtime context
* added send status message for convenience
* order in graceful shutdown
2014-06-28 18:02:17 +02:00
Klaus Basan
e17157e963 refs #273, simulator context
* fixed loading of plugins
* sorting filenames, and plugin names
* better status messages when loading plugins
2014-06-28 18:02:16 +02:00
Klaus Basan
26b999e001 refs #273, completed / fixed component
* order, first add items to combobox, then connect signal (->no signals during setup)
* renamed driver to plugin
* improved plugin finding
2014-06-28 18:02:15 +02:00
Klaus Basan
2a9f3d6039 Tweaks
* check if parent is null
* comments
* icon in column
* nullptr check in runtime based component
2014-06-28 18:02:14 +02:00
Klaus Basan
25122fad10 refs #273, fixed changed detection 2014-06-28 18:02:13 +02:00
Klaus Basan
4c14737d60 Fixed missing JSON methods 2014-06-28 18:02:12 +02:00
Klaus Basan
43a6ec66e0 refs #273, fixed missing JSON serialization 2014-06-28 18:02:11 +02:00
Klaus Basan
4694c23f87 refs #273, added support for loading plugin from settings 2014-06-28 18:02:10 +02:00
Klaus Basan
33315dc0e1 refs #273, own settings component (GUI) 2014-06-28 18:02:07 +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
71185b1250 Fixed info component style sheet 2014-06-28 18:02:00 +02:00
Klaus Basan
6c6bcb4e08 refs #273, encapsulated settings GUI into own component
This removed a considerable amount of code from mainwindow
2014-06-28 18:01:58 +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