Commit Graph

2669 Commits

Author SHA1 Message Date
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
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Klaus Basan
1fc7300982 refs #507, split up blackmiscfreefunctions
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Klaus Basan
025457c43b refs #509,renamed CDownload to CUpdateInfo
* as discussed in meeting
* follow up adjustments (file renaming, msg. renaming)
2015-11-20 22:38:50 +01:00
Roland Winklmeier
502b41ff96 Build debug string by consecutive calls to XPLMDebugString
snprintf was not supported by MSVC for a very long time. It got added
the first time in MSVC 2015. To be able to build libxplanemp with
earlier versions, don't use snprintf but just pass the debug message
in multiple consecutive calls to XPLMDebugString.
2015-11-20 20:10:27 +01:00
Roland Winklmeier
3103389dd1 Make QWebEngine an opt-out for MinGW builds
QWebEngine does not support MinGW compilers. In order to continue
support for MinGW in swift for now, opt it out in MinGW builds.
So far this affects only the news page, which is acceptable. This
way we keep the advantages of Windows MinGW builds.
2015-11-20 20:10:27 +01:00
Roland Winklmeier
3d8dc81ffb Fix error about QStrings binary '%' operator 2015-11-20 20:10:27 +01:00
Roland Winklmeier
967ecc70eb Add QtNetwork modules to config plugin 2015-11-20 20:10:27 +01:00
Michał Garapich
5611304f09 refs #462 Remove Q_ASSERT for plugin loading failure 2015-11-20 18:34:44 +01:00