Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Klaus Basan
117862e756
Ref T270, added CVariant long long functions and used those in formatter
2018-05-26 21:19:22 +02:00
Klaus Basan
464c8dfe83
Formatting
2018-05-26 21:19:20 +02:00
Klaus Basan
50a625d2bc
Ref T267, allow to call "convertFromMemoizedJson", but also convert via "convertFromJson"
...
The variant convertFromMemoizedJson trait did already do something similar, calling "convertFromJson" if the memoized version is not avilable. Now the function also "decides" based on the passed data itself.
2018-05-18 00:25:08 +02:00
Mathew Sutcliffe
b20ebd6dfd
refs #937 Resolved clazy warnings: rule of three.
2017-04-19 19:31:44 +01:00
Klaus Basan
08f8916344
refs #922 , refs #911 , JSON cut/copy/paste
...
* utility function for CVariant
* use CVariant for cut/copy/paste
2017-04-18 00:06:15 +01:00
Klaus Basan
e90c65a33a
refs #893 , formatting
2017-04-17 23:57:20 +01:00
Mathew Sutcliffe
4f6d3ed3a3
refs #815 Added convertFromJsonNoThrow methods which catch CJsonException and return CStatusMessage.
2017-01-10 23:46:34 +00:00
Mathew Sutcliffe
72a5a0e670
refs #784 CVariant can detect whether a value object supports memoized JSON and pick the appropriate methods to call.
2016-12-13 19:00:20 +01:00
Mathew Sutcliffe
a0c20baf53
refs #697 Type traits renamed with T prefix.
2016-08-03 02:20:45 +01:00
Roland Winklmeier
3d7a39ed00
Fix BlackMisc header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #630
2016-05-13 17:05:49 +02:00
Klaus Basan
0f5d2a29a8
refs #655 , Change signature (order) of setProperty/compareProperty
2016-05-13 16:44:17 +02:00
Mathew Sutcliffe
0acb302c63
refs #628 Remove the old tuple system.
2016-04-03 18:17:44 +01:00
Mathew Sutcliffe
4bd4baa535
refs #628 Use the metaclass mixins in all value classes.
2016-04-03 18:17:43 +01:00
Mathew Sutcliffe
34c25aee46
refs #628 Use expression SFINAE to simplify the implementation details of CVariant.
2016-04-03 18:17:38 +01:00
Mathew Sutcliffe
a8fc899219
refs #624 Use std alias traits.
2016-03-22 16:02:48 +00:00
Mathew Sutcliffe
91494ea2e5
refs #624 Swap functions, move constructors, and move assignment operators should all be noexcept where possible.
2016-03-21 02:20:01 +00:00
Mathew Sutcliffe
c7a0aa2fb4
refs #584 Moved Mixin::String to stringutils.h
2016-02-08 17:26:40 +00:00
Roland Winklmeier
794bf0cd74
Fix doxygen copydoc documentation
...
The following issues were fixed
* Fixed wrong/missing namespaces
* Fixed obvious typos in documentation
* Documentation not in sync with source code
refs #544
2016-02-08 01:53:17 +01:00
Michał Garapich
1b06e15b61
refs #510 Remove underscores from all the source file names
2015-11-22 12:53:09 +01:00
Mathew Sutcliffe
f03b24022e
refs #466 Resolved TODO item in GUI.
2015-11-19 21:01:04 +00:00
Klaus Basan
51e8a6a208
refs #452 , added getClassName for variant
...
(as discussed with MS)
2015-11-19 20:58:34 +00:00
Mathew Sutcliffe
3cc9468d63
refs #457 CWorker support for non-void tasks and thenWithResult().
2015-11-19 20:58:23 +00:00
Mathew Sutcliffe
e76015004b
refs #434 Removed CVariant comparison operator templates.
2015-06-01 21:34:59 +01:00
Mathew Sutcliffe
8db8fdef94
refs #437 Adjust static assert, caught one more case of CVariant containing CVariant.
2015-06-01 18:00:16 +01:00
Mathew Sutcliffe
62418931b0
Removed Mixin::MetaTypeAndQList.
2015-05-31 17:22:24 +01:00
Mathew Sutcliffe
47cac09e81
refs #437 Removed toQVariant and convertFromQVariant.
2015-05-31 17:21:17 +01:00
Klaus Basan
e04ada3a7c
refs #437 , remove convertFromCVariant
2015-05-31 01:31:09 +02:00
Roland Winklmeier
b6e9d6f0d1
Static assert in CVariant::from to if value type is CVariant
2015-05-30 18:06:19 +02:00
Roland Winklmeier
e4f2c9e88a
Replace occurrences of CVariant::toCVariant() with CVariant::from()
2015-05-30 16:59:51 +02:00
Klaus Basan
c380b8df23
Fixes / improvements found during testing
...
* Redundant "simulatorStatusChanged" signal in proxy
* invokeMethod for timer
* removed redundant this->buildNavigator(1)
* Shortcut in GUI
* comment in variant
2015-05-16 03:26:37 +02:00
Klaus Basan
f18cfed087
refs #395 , refs #413 , refs #403 Post merge tasks
...
* missing exports for new classes
* public non virtual convertToQString, propertyByIndex
* removed left-over of watchdog
* virtual destructor for avionicsbase.h
2015-05-12 21:03:39 +01:00
Mathew Sutcliffe
2f66785c63
refs #413 Doxygen.
2015-05-12 20:38:00 +01:00
Mathew Sutcliffe
5a91d761c2
refs #413 Breaking circular dependencies by moving mixin classes from valueobject.h to the files where they fit best:
...
* DBus mixins moved to dbus.h
* Json mixins moved to json.h
* Icon mixin moved to icon.h
* Comparison mixins moved to compare.h
* Hash and string mixins moved to blackmiscfreefunctions.h
* Index mixin moved to propertyindexvariantmap.h
* MetaType mixins moved to variant.h
* registerMetaValueType moved to variant.h
* valueobject_private.h renamed to variant_private.h
2015-05-12 20:37:59 +01:00
Mathew Sutcliffe
9867b4a6df
refs #413 Extend Private::CValueObjectMetaInfo with more fallback helpers, and extend CVariant with toIcon method.
2015-05-12 20:37:56 +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
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
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
Roland Winklmeier
a089d3641d
refs #403 add BlackMisc shared library build
2015-05-05 21:34:19 +02:00
Mathew Sutcliffe
9977d97a67
refs #356 Renamed CValueObjectStdTuple to CValueObject.
2015-03-27 23:03:25 +00:00
Mathew Sutcliffe
31c33b4b8d
refs #356 Removed CValueObject and expanded CValueObjectStdTuple to compensate.
...
* Involves rearranging some header includes to break cyclic include dependencies,
* Adding a new, simple base class CEmpty,
* Removing any remaining polymorphic uses of CValueObject with templates,
* Adding a new trait for use with enable_if to restrict templates to work only with value objects,
* Replacing the polymorphic/runtime multimethod-based compare functions with static/compile-time compare functions.
2015-03-27 19:08:51 +00:00
Mathew Sutcliffe
d878f879aa
refs #356 Minor refactoring to Compare policy, preparation for removing CValueObject.
2015-03-27 19:08:50 +00:00
Mathew Sutcliffe
2ea9d031ea
refs #356 Extend CVariant to support accessing properties by index of the contained value object.
2015-03-27 19:08:49 +00:00
Mathew Sutcliffe
d10c2a0709
Changed file encoding to UTF-8.
2015-01-07 00:11:02 +00:00
Mathew Sutcliffe
4007f34e22
refs #247 Enabled equality comparison between CVariant and CValueObject.
2014-12-13 01:41:55 +00:00
Mathew Sutcliffe
1b671e9cb0
refs #247 CVariant::valueOrDefault convenience function.
2014-12-13 01:41:53 +00:00