Commit Graph

2777 Commits

Author SHA1 Message Date
Klaus Basan
8e852b19ae refs #525, specialized model class for DB entities and improved funtions in view base class
* will allow to highlight entities
* nested custom menus
* moved displayAutomatically() menus in view base class
* fixed which menus are displayed for aircraft models
* also changed to QStandardItem model to see if this is causing any trouble (the real bigger changes will follow in #530)
2015-12-08 20:14:11 +01:00
Klaus Basan
88f14f150d refs #538, made CWebDataServicesAware funtions protected
actually there is no reason why any using class should expose them
only exception is that airspace monitor exposes the metar function
2015-12-08 20:14:10 +01:00
Klaus Basan
51d4301899 As a follow up of #533 and also detected during #538 #524 tasks, fixed 2 more issues/bugs
* only call this->abandonAndWait() when not in main thread (also slack discussion MS/KB)
* make sure web data service start to read even if setup reader signal was missed
* add timestamp to setupreader to detect "recently read" in case signal is missed
2015-12-08 20:14:10 +01:00
Klaus Basan
a863f99c9d refs #533, fixes "CContextSimulator::ps_addRemoteAircraft is never called"
* reordered use of fireDelayedReadyForModelMatching
* better calls / params depending on received packet(FSInn / Icao code)
* fixed search in DB data
* works now with and without DB data present
2015-12-08 20:14:09 +01:00
Klaus Basan
39796f2f06 refs #538, new version 0.7.0 2015-12-07 02:25:27 +01:00
Klaus Basan
a3638bc874 refs #538, commented out some style sheet parts obviously not used 2015-12-07 02:25:27 +01:00
Klaus Basan
8f85c54989 refs #538, Formatting, minor tweaks, comments
* new slot syntax in ATC station component
* formatting, comments
* tab order
* utility function for severity in status message
* null checks in threadutils
* invalidKey function in datastore
* changed data object keys (cached objets)
* added missing value object compare cases
* renamed timer in context network
* finder function for model list
* renamed getContainer to container (as it is just a reference)
2015-12-07 02:25:26 +01:00
Mathew Sutcliffe
66ff1803cf refs #493 Enable asserts in release build. 2015-11-30 19:35:46 +00:00
Mathew Sutcliffe
c644b81d08 refs #493 Added BLACK_VERIFY macros, a weaker kind of Q_ASSERT. 2015-11-30 19:35:43 +00:00
Mathew Sutcliffe
468015949f refs #520 Should be able to register objects on a P2P connection already established. 2015-11-29 21:29:53 +00:00
Mathew Sutcliffe
370a392860 refs #520 When unregistering DBus objects, also remove them from the map of DBus objects. 2015-11-29 21:20:52 +00:00
Mathew Sutcliffe
01d20c53e7 refs #520 CDBusServer style/cleanup. 2015-11-29 20:14:31 +00:00
Mathew Sutcliffe
2a980af25b refs #520 XBus no longer needs to link to blackcore. 2015-11-28 02:28:51 +00:00
Mathew Sutcliffe
fbcc42424d refs #520 Moved CDBusServer from BlackCore to BlackMisc. 2015-11-28 02:25:56 +00:00
Mathew Sutcliffe
d35fc3f056 Fixed log filename based on the executable name instead of the human-readable application name. 2015-11-27 19:16:00 +00:00
Roland Winklmeier
5264a364be Install externals into lib on unix platforms 2015-11-27 15:12:39 +01:00
Roland Winklmeier
c78e69e05e Align installer files with 0.6.1 release binaries 2015-11-27 15:12:39 +01:00
Mathew Sutcliffe
ffea4e1433 refs #523 Implement CLogCategoryList::toQString so the default implementation provided by CSequence is not used. 2015-11-26 22:25:45 +00:00
Michał Garapich
e50e298f21 refs #511 X-plane plugin has now correct name
* X-Plane plugin is now called just "X-Plane" instead of "X-Plane generic plugin"
* "Listening for ..." uses full simulator name instead of its abbreviation
2015-11-26 19:28:19 +01:00
Michał Garapich
98e679a897 refs #511 Fix window modality
Both CPluginDetailsWindow and CPluginConfigWindow have window modality set.
2015-11-26 19:28:19 +01:00
Michał Garapich
09244f235a refs #511 Handle config plugin load failure
If the config cannot be loaded properly, swift will not
crash. The proper error will be shown instead.
2015-11-26 19:28:19 +01:00
Mathew Sutcliffe
ac573b8d92 refs #476 The readers should delete their QNetworkAccessManager in cleanup(), just before they move back to the main thread for later deletion. 2015-11-26 18:24:11 +00:00
Mathew Sutcliffe
3e1eb350c5 refs #476 CThreadedReader::gracefulShutdown using the worker abandon feature, removed m_shutdown. 2015-11-26 18:24:11 +00:00
Mathew Sutcliffe
1dc4864ffa refs #476 Facility to ask worker to abandon its task and finish early. 2015-11-26 18:24:10 +00:00
Klaus Basan
ff1272e1b8 Style sheet fix 2015-11-26 13:54:50 +01:00
Klaus Basan
a5da201701 refs #514, ATC stations filter by valid frequency 2015-11-26 13:54:49 +01:00
Klaus Basan
d6733d49bb refs #522, mutex for mutable members (thread safe)
* copy/assignment/lock for mutable members
* also removed redundant in status message (slack discussion MS/KB)
2015-11-26 13:54:47 +01:00
Klaus Basan
a4ba45ce75 refs #522, as preparation for mutable in status message
* added the new human readable patterns ( also for #506 )
* adjusted using functions

Meeting:
https://dev.vatsim-germany.org/boards/22/topics/2786?r=2787#message-2787
2015-11-26 13:54:45 +01:00
Klaus Basan
a2b413c8e1 refs #522, consolidate mutable / make mutable thread safe
* removed mutable wherever possible in GUI classes
* in vPilotReader also renamed some functions and some minor improvements
2015-11-26 01:33:35 +01:00
Mathew Sutcliffe
2ee3934cc2 refs #518 Split out libxplanemp into a submodule. 2015-11-25 15:42:13 +00:00
Klaus Basan
94a277ee8e refs #521, reading of setup and version
* fixed in launcher so reloading works (this also uses fixed URL list)
* signal for version synchronized
* removed setupreader.h where possible -> less compile dependencies
* removed redundant logging
* removed unused cleanup override
* connect &QCoreApplication::aboutToQuit in threaded reader
2015-11-25 03:49:14 +01:00
Klaus Basan
530ddb3d9f refs #521 some minor fixes (after batch refactoring meeting)
* adjusted simulator info so it can handle X-Plane string
* improved qss
* some size constraints in GUI
2015-11-25 03:48:31 +01:00
Klaus Basan
af3ebf71a3 refs #521, improved URL list
* allow to reset url list
* remove duplicates
* fixed CFailoverUrlList::getNextWorkingUrl
2015-11-25 03:33:31 +01:00
Roland Winklmeier
1f77d8844a Fix simulatorfsxconfig DESTDIR 2015-11-24 08:26:29 +01:00
Mathew Sutcliffe
6dd06e4045 Fixed two underscores which were missed. 2015-11-23 23:29:33 +00:00
Mathew Sutcliffe
d51055eb4f refs #461 flattenSubdirs function can respect the REQUIRES variable of nested projects. 2015-11-23 23:29:31 +00:00
Mathew Sutcliffe
9968ccbbdb refs #461 Use the REQUIRES variable in the leaf projects instead of conditions at the SUBDIRS level. 2015-11-23 23:29:29 +00:00
Mathew Sutcliffe
d32f211a71 refs #461 Unify FS9/FSX platform conditions. 2015-11-23 23:29:27 +00:00
Roland Winklmeier
de87399080 Rename externals environmental variable to SWIFT_EXTERNALS_DIR 2015-11-23 23:29:25 +00:00
Mathew Sutcliffe
bb602fce62 refs #461 Work around the qmake vcproj generator's inability to nest SUBDIRS. 2015-11-23 23:29:23 +00:00
Mathew Sutcliffe
09c0d4b862 refs #461 Only complain about missing externals when qmake is really generating build files.
This is so we can use the fromfile function to extract variables from pro files.
2015-11-23 10:55:46 +00:00
Mathew Sutcliffe
7c9ddd1fda refs #461 SUBDIRS projects will need common_post. 2015-11-23 10:52:37 +00:00
Roland Winklmeier
7ece093ee9 Refactor qmake SUBDIRS structure
The big swift.pro is refactored by the correct usage of SUBDIRS
template. The following additional changes are made:
- Removed '_' from all targets and folder names
- Aligned parent folder and target name

refs #461
2015-11-23 09:50:44 +01:00
Roland Winklmeier
097b4d900c Fix typo in log message 2015-11-23 00:23:06 +01:00
Roland Winklmeier
e51757cbf8 Rename vatlib2 to vatlib (v0.9.5)
refs #468
2015-11-22 21:13:27 +01:00
Roland Winklmeier
b97a04373e Select externals subdir based on QMAKESPEC
refs #468
2015-11-22 19:41:47 +01:00
Roland Winklmeier
b033ee5cf1 Add submodule 'externals'
refs #468
2015-11-22 18:51:23 +01:00
Roland Winklmeier
2ff0c9fa86 Fix Windows and OSX includes 2015-11-22 18:45:25 +01:00
Roland Winklmeier
9f0834b748 Remove externals from .gitignore
refs #468
2015-11-22 18:43:07 +01:00
Michał Garapich
5fc284cc36 Fix doxygen warnings 2015-11-22 16:51:01 +01:00