Commit Graph

4894 Commits

Author SHA1 Message Date
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
Roland Winklmeier
7317ddd155 Add first batch of configuration tests
Summary:
Configuration tests check whether all mandatory dependencies to build
swift are met. They can also be used to check optional dependencies, which
results in certain features to be enabled or disabled.
This first batch tests for mandatory libraries libpng, zlib and OpenGL.
If this is not tested and some libraries are missing, the developer will
be notified very late in the build.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: msutcliffe, jenkins

Differential Revision: https://dev.swift-project.org/D34
2017-09-24 19:49:30 +01:00
Klaus Basan
045caddcc8 Added website 2017-09-24 19:49:29 +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
d422873e08 Legal 2017-09-24 19:49:25 +01:00
Klaus Basan
da77908dcf Typos 2017-09-24 19:49:24 +01:00
Klaus Basan
fbe1e78da7 Ref T99, renamed icons
* upper case
* and DB id
2017-09-24 19:49:23 +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
a7bd53aaee Exclude FSUIPC from Doxygen 2017-09-24 19:49:14 +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