Mathew Sutcliffe
36d116b4e9
refs #413 Removed one overload of CRange::findBy and one of CSequence::applyIf; they were never used and they caused a circular dependency.
...
Templatized another overload of applyIf to break a circular dependency.
2015-05-12 20:37:53 +01:00
Mathew Sutcliffe
aeb95ebb30
refs #413 Removed all policy classes.
2015-05-12 20:37:52 +01:00
Mathew Sutcliffe
68ebcd7b8d
refs #413 Macros to ease the task of disambiguating inherited members when using mixins in an inheritance hierarchy.
2015-05-12 20:37:51 +01:00
Mathew Sutcliffe
36a2e1a2bb
refs #413 All value classes which had custom policies shall inherit from mixins instead.
2015-05-12 20:37:50 +01:00
Mathew Sutcliffe
9becc1c666
refs #413 CVariant and CPropertyIndexVariantMap equality operator templates support any metatype-registered class, not just CValueObject subclasses.
2015-05-12 20:37:49 +01:00
Mathew Sutcliffe
9f98943c1f
refs #413 Stream operator template of CLogPattern supports any class with a toQString method, not just CValueObject subclasses.
2015-05-12 20:37:48 +01:00
Mathew Sutcliffe
6b40cde862
refs #413 Make all value class methods non-virtual.
...
toCVariant() and convertFromCVariant() are now deprecated,
use CVariant::from() and CVariant::to() instead.
2015-05-12 20:37:47 +01:00
Mathew Sutcliffe
fe08792bef
refs #413 Decomposed icon-related functions of CValueObject into Mixin::Icon.
2015-05-12 20:37:46 +01:00
Mathew Sutcliffe
75f46068e1
refs #413 Decomposed property indexing functions of CValueObject into Mixin::Index.
2015-05-12 20:37:45 +01:00
Mathew Sutcliffe
9b58959f9e
refs #413 Decomposed stringification operations of CValueObject into Mixin::String.
2015-05-12 20:37:44 +01:00
Mathew Sutcliffe
b64ae55a86
refs #413 Access control of convertToQString changed from protected to public.
2015-05-12 20:37:43 +01:00
Mathew Sutcliffe
97d83e5e41
refs #413 Decomposed comparison operations of CValueObject into mixins.
2015-05-12 20:37:42 +01:00
Mathew Sutcliffe
64e21b0a46
refs #413 Decomposed json-related functions of CValueObject into Mixin::JsonByTuple.
2015-05-12 20:37:41 +01:00
Mathew Sutcliffe
30cc7048ac
refs #413 Decomposed dbus-related functions of CValueObject into Mixin::DBusByTuple.
2015-05-12 20:37:31 +01:00
Mathew Sutcliffe
2f55caf7c6
refs #413 Decomposed hash-related functions of CValueObject into Mixin::HashByTuple.
2015-05-12 20:36:04 +01:00
Mathew Sutcliffe
d9faa031d2
refs #413 Decomposed metatype-related functions of CValueObject into a dedicated class Mixin::MetaType,
...
bypassing the old Policy::MetaType classes. The ultimate intention is to decompose all the aspects of
CValueObject into separate mixins in this manner, and have derived classes inherit from the mixins directly.
Splitting the responsibilities of CValueObject into separate classes will reduce the coupling between different
cross-cutting concerns and allow us to untangle the web of interdependencies and greatly simplify things.
2015-05-12 20:36:03 +01:00
Mathew Sutcliffe
6fd3c78d33
refs #413 Removed some operators of CEarthAngle which were not used, not needed, and not working.
2015-05-12 20:36:02 +01:00
Mathew Sutcliffe
bfbfab5304
refs #413 Moved "maybe" functions into a dedicated class Private::MetaTypeHelper.
2015-05-12 20:36:01 +01:00
Mathew Sutcliffe
03707db182
refs #413 Moved iconByIndex method from CIconList to CIcon, to reduce coupling.
2015-05-12 20:36:00 +01:00
Mathew Sutcliffe
d476c9b709
Fixed copyright notices.
2015-05-12 20:36:00 +01:00
Mathew Sutcliffe
89b7d50b23
Fixed include guard in wrong place.
2015-05-12 20:35:59 +01:00
Mathew Sutcliffe
12440dede5
Fixed include order.
2015-05-12 20:35:57 +01:00
Mathew Sutcliffe
81ed0188d7
Fixed missing default argument in virtual function override.
2015-05-12 20:35:55 +01:00
Klaus Basan
afdf8eccad
refs #411 , MS diff to reduce DBus signature length
2015-05-12 20:35:54 +01:00
Roland Winklmeier
647c5c2de8
doxygen
2015-05-05 22:27:31 +02:00
Roland Winklmeier
d0302c275a
refs #403 workaround different extern template behaviour with MinGW
2015-05-05 21:34:21 +02:00
Roland Winklmeier
a089d3641d
refs #403 add BlackMisc shared library build
2015-05-05 21:34:19 +02:00
Roland Winklmeier
f75c81010d
refs #403 extern templates
2015-05-05 21:34:16 +02:00
Roland Winklmeier
38b00e06b3
refs #403 Add Policy::MetaType::None for base class templates
2015-05-05 21:34:14 +02:00
Roland Winklmeier
e5e8cf00ef
refs #403 use own sessionDBusServer method
...
This patch fixes a dependency between BlackCore and BlackMisc.
BlackMisc is the base library and cannot dependend on anything else.
2015-05-05 21:34:12 +02:00
Roland Winklmeier
31863e9ca6
refs #403 fix CCollection::useImplOf implementation
2015-05-05 21:34:08 +02:00
Roland Winklmeier
e4e9d88af8
refs #403 fix return type in CCollection::insert
2015-05-05 21:34:05 +02:00
Roland Winklmeier
64cd22b3a3
refs #403 reimplement maybe methods with type dependent templates
2015-05-05 21:34:03 +02:00
Roland Winklmeier
b8ae30f40c
refs #403 comment overloaded CMeasurementUnit::stringForStreaming()
2015-05-05 21:29:56 +02:00
Roland Winklmeier
fb5b2e0edf
refs #403 add default constructors to CAvionicsBase and CPhysicalQuantity
...
The rationale behind this is that QtMetaType complains if there
is no default constructor.
2015-05-05 21:29:54 +02:00
Roland Winklmeier
64e089a683
refs #403 remove unnecessary includes
...
This dramatically reduced the size of blackmiscfreefunctions.o
2015-05-05 21:29:51 +02:00
Roland Winklmeier
8b7bc16f41
refs #403 add missing virtual destructor
...
Skipping it causes linker errors in shared library BlackMisc
2015-05-05 21:29:49 +02:00
Roland Winklmeier
8ad29e2fff
refs #403 add extra flag for static builds
2015-05-05 21:29:48 +02:00
Roland Winklmeier
793fcbfd15
refs #403 refactor project files
...
* Use source path and build path instead of relative ones
* Unify pre target dependencies in libraries.pri
2015-05-05 21:29:46 +02:00
Michał Garapich
b042fa068b
refs #388 Use slots to start & stop QTimers from another thread
2015-04-25 09:16:42 +02:00
Klaus Basan
dba47d6c8c
refs #407 , FSX driver warnings as described
...
* also fixed some signed / unsigned issues
2015-04-19 03:04:29 +02:00
Klaus Basan
ccc01c6824
refs #405 , removed outdated overridden container functions in lists
...
From/ToQVariant still needed and not removed
2015-04-19 03:03:57 +02:00
Klaus Basan
72aa072f30
refs #312 , Navigator (aka navigation bars)
...
* different dyn. property names for main window, dock window and infoarea
* dyn.properties for nested QWidgets
* style sheet for navigator
* utility function to delete layout
* added standard OS icons, some formatting in CICons
* actions in main window to be used in navigator
* main window becomes normal window when minimized so it is correctly displayed in Win taskbar
Remark: Frameless floating dockwidgets with rounded borders not yet working
2015-04-19 03:00:38 +02:00
Klaus Basan
a05fa7494f
Some minor tweaks and fixes
...
* added names to timers
* Some DBus code formatting
* missing GUI element names
2015-04-19 03:00:34 +02:00
Roland Winklmeier
1b26311983
Fix license header spelling
2015-04-16 00:59:56 +02:00
Roland Winklmeier
57b5e1421c
Harmonize swift domain names to org.swift-project.*
2015-04-16 00:59:56 +02:00
Michał Garapich
f9de3ad409
refs #404 Use domain-based identifiers for plugins
...
* Changed all plugin identifier to org.swift-project.plugins.simulator.*
* Fixed a small bug that caused settings be parsed wrong
2015-04-16 00:59:56 +02:00
Michał Garapich
1d5cbb7a9d
refs #404 Added human-readable plugin names
...
* Added new "identifier" attribute in JSON metadata files
* "identifier" is now the one that makes plugins unique
* "name" attribute is a human-readable name
2015-04-16 00:59:56 +02:00
Klaus Basan
9c75ff2db5
Fixed gcc warnings
2015-04-11 09:10:59 +02:00
Klaus Basan
5d819b30f5
Split of CSimulatorPluginInfo and CSimulatorSetup
...
refs #404 , and discussion https://dev.vatsim-germany.org/issues/404#note-8
* Changed CSimulatorSetup to use CNameVariantPairList as data. The old version was an hack and had to go, CNameVariantPairList would allow complex types in the future and can be already shown in the GUI.
* CNameVariantPairList was improved slightly in the same step
* Functions to get CSimulatorSetup from driver / context
* Removed CSimulatorSetup data from CSimulatorPluginInfo
2015-04-11 02:09:31 +02:00