Commit Graph

4333 Commits

Author SHA1 Message Date
Klaus Basan
bf573f0f20 Ref T30, font settings component and same as dialog 2017-09-24 19:49:45 +01:00
Klaus Basan
c0fb236b25 Ref T30, more utility functions for style sheets 2017-09-24 19:49:43 +01:00
Klaus Basan
9c52334017 Ref T30, icon for font 2017-09-24 19:49:42 +01:00
Klaus Basan
0c7ead7977 Ref T30, allow to set font as string (stylesheet string) 2017-09-24 19:49:41 +01:00
Klaus Basan
3780bc18e0 Formatting, minor tweaks 2017-09-24 19:49:40 +01:00
Klaus Basan
a1e16ea162 Background updater can be const, only needed "readonly" for UI 2017-09-24 19:49:39 +01:00
Klaus Basan
6a17465633 Use normal private member functions instead of slots 2017-09-24 19:49:38 +01:00
Klaus Basan
6d61935bc7 Doxygen 2017-09-24 19:49:37 +01:00
Klaus Basan
e2c43a688b Automatically start background updater
Ref T28
2017-09-24 19:49:36 +01:00
Mathew Sutcliffe
c790e344ac BLACK_AUDIT macro for paranoid checks on data consistency
Summary:
Triggers a breakpoint when the debugger is attached to a debug build. Otherwise, logs a warning.

Related: T101

Reviewers: kbasan, rwinklmeier

Reviewed By: kbasan

Subscribers: jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D35
2017-09-24 19:49:35 +01:00
Mathew Sutcliffe
7d7ce055ef T102 Implement move constructor and move assignment for CWorkerPointer
so the connection to the worker's aboutToStart signal remains valid.
2017-09-24 19:49:34 +01:00
Mathew Sutcliffe
a37b12c8bc T102 Fixed mistake that caused CWorkerPointer to delete the worker
immediately as soon as it starts.
2017-09-24 19:49:33 +01:00
Mathew Sutcliffe
fdbfda848f T102 Don't try to wait for a worker to finish while holding a lock
on the mutex that protects its finished flag, as it will deadlock.
2017-09-24 19:49:31 +01:00
Klaus Basan
709b9a3dd9 Check thread for icon cache (assert) 2017-09-24 19:49:28 +01:00
Klaus Basan
9ad721b77a Ref T99, use new icon names
* use icon id list from directory for performance
* some minor adjustments
2017-09-24 19:49:26 +01:00
Klaus Basan
da77908dcf Typos 2017-09-24 19:49:24 +01:00
Klaus Basan
ec844fd438 Ref T27, made isAircraftInRange context and provider function
Based on clang warnings and RW's comment now pure virtual and context and provider function
2017-09-24 19:49:19 +01:00
Mathew Sutcliffe
1400f38aa9 Add missing PRE_TARGETDEPS in simulator plugin projects
Summary:
This fixes issue reported by Klaus in Slack:
> when I change something in the plugin driver, I always have to rebuild the plugins before I can debug again.

Also refactored `libraries.pri` to remove duplication.

Reviewers: #swift_pilot_client, rwinklmeier

Reviewed By: #swift_pilot_client, rwinklmeier

Subscribers: kbasan, jenkins

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D31
2017-09-24 19:49:18 +01:00
Roland Winklmeier
574d4056ce Initialize NewVis::Spare member variable
Summary: This struct variable is not used yet, but initializing it fixes a warning in cppcheck.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: msutcliffe, kbasan, jenkins

Differential Revision: https://dev.swift-project.org/D32
2017-09-24 19:49:17 +01:00
Roland Winklmeier
984b30aef3 Enable P3D-v4 64 bit build
Summary:
This commit enables P3D-v4 for 64 bit including all dependent libraries.
Those binaries are not yet installed, since they are considered
experimental.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Differential Revision: https://dev.swift-project.org/D30
2017-09-24 19:49:16 +01:00
Klaus Basan
d15b6446e3 Ref T26, another callsign to airline resolution 2017-09-24 19:49:15 +01:00
Klaus Basan
2093d9def2 Ref T97, use fuzzy search for aircraft ICAO 2017-09-24 19:49:13 +01:00
Klaus Basan
32abac5d94 Ref T97, fuzzy search function 2017-09-24 19:49:11 +01:00
Klaus Basan
ff556e771f Ref T94, J super heavy 2017-09-24 19:49:10 +01:00
Klaus Basan
e3fd0e20c1 Ref T26, 1st implementation using flight plan remarks 2017-09-24 19:49:09 +01:00
Klaus Basan
ae2eb66721 Ref T26, improved reverse lookup:
* use most relevant manufacturer
* reverse lookup of telephony designator and manufacturer
2017-09-24 19:49:08 +01:00
Klaus Basan
fa5ee8e22f Ref T26, find most important manufacturer for an ICAO code 2017-09-24 19:49:06 +01:00
Klaus Basan
5270dce266 Ref T26, telephony designator and manufacturers from web service 2017-09-24 19:49:05 +01:00
Klaus Basan
8131dc42d2 Turned private slots into normal private member functions 2017-09-24 19:49:04 +01:00
Klaus Basan
d2d44085ba Formatting 2017-09-24 19:49:03 +01:00
Klaus Basan
d96a9a9fa2 Improved update missing parts 2017-09-24 19:49:02 +01:00
Klaus Basan
0b85a7c02a Log if VATSIM data file contains malformed lines 2017-09-24 19:49:01 +01:00
Klaus Basan
e10ab7b9de Ref T26, preparing to use flight plan data
* stub utility class (no function yet)
* use value objects in matcher signature instead of strings)
* removed initNewAircraft, use reverseLookupModelWithFlightplanData
2017-09-24 19:48:59 +01:00
Klaus Basan
c106c7f894 Turned some network vatlib private slots into normal private member functions 2017-09-24 19:48:58 +01:00
Klaus Basan
645faf8373 Ref T27, improved adding of sim objects
* only add one object at a time
* only query object values (from sim) when object is confirmed
* better debug logging (can be switched on)
* physicallyAddRemoteAircraftImpl for better tracing of added objects
* wait until light state is available
2017-09-24 19:48:57 +01:00
Klaus Basan
bd67824ce6 Ref T27, utility functions for debug messages 2017-09-24 19:48:56 +01:00
Klaus Basan
042f725e54 Ref T27, store flight plan remarks in VATSIM reader
This can be used in airspace monitor
2017-09-24 19:48:54 +01:00
Klaus Basan
39bd8aa2bb Formatting 2017-09-24 19:48:53 +01:00
Klaus Basan
7ec85d8716 Ref T89, VATSIM services might be optional 2017-09-24 19:48:52 +01:00
Klaus Basan
1d5c8edae8 Ref T27, improvements in matcher
* reverseLookupAircraftIcao using CAircraftIcaoCode instead of string
* use getCombinedTypeDefaultModel for default model
* removed redundant military flag in signature
2017-09-24 19:48:51 +01:00
Klaus Basan
8cf79e4ddb Fixed minor isEmpty() bug 2017-06-27 20:50:34 +02:00
Klaus Basan
b50071fa3c Replace CR for html string 2017-06-27 20:50:34 +02:00
Klaus Basan
417496024e Ref T26, Ref T27, added utility function in remote aircraft provider 2017-06-27 20:50:33 +02:00
Klaus Basan
0c336952d2 Ref T26, Ref T27, utility functions in "value object" classes 2017-06-27 20:50:31 +02:00
Klaus Basan
28a2ca6ad6 Ref T92, added missing ICAO query
* some formatting
* sendInitialPilotQueries no longer a slot
2017-06-27 20:50:30 +02:00
Klaus Basan
1956a27b19 Formatting 2017-06-27 20:50:29 +02:00
Klaus Basan
36037c4c04 Ref T85, minor improvements on server type
* UI: generic generation of combobox
* UI: Read only for combobox
* CServer utility functions
2017-06-27 20:50:28 +02:00
Klaus Basan
efd82f4391 Minor UI improvements 2017-06-27 20:50:27 +02:00
Klaus Basan
6d26c96569 Ref T27, preparation for refactoring, turned private slots into normal member functions
* Motivation: slots no longer required, and in the driver the (small) slot overhead might matter
* renamed some members to better reflect future use
* timer intervals as constexpr
* fixed some typos and comments
2017-06-27 20:50:26 +02:00
Klaus Basan
5aaf5cdeb1 Improved log messages and some typos fixed in DB reader 2017-06-27 20:50:25 +02:00