Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Mat Sutcliffe
5a17f43a5b
Ref T488 Update cppcheck suppressions.
2019-02-22 20:34:56 +00:00
Klaus Basan
30ba404043
Ref T304, "no throw" JSON functions
2018-08-13 02:59:50 +02:00
Klaus Basan
fa09a6e53b
Ref T286, JSON utility functions
2018-07-09 22:30:30 +02:00
Klaus Basan
1d8bbaf3be
Ref T264, improved detection of multiple container formats
2018-05-22 13:35:00 +02:00
Klaus Basan
ba8b9a52da
Ref T264, Ref T263 simple approach to remember last directory (load/save) in view
...
* utility function "unwrapCache" to unwrap cache data
* fixed loading from file, also supporting memoized formats as well
* remember last directory
2018-05-18 00:25:09 +02:00
Klaus Basan
a06f59723a
Ref T251, unit test for gnd flag sending
2018-02-16 12:13:40 +01:00
Klaus Basan
28b5ec9ec6
Ref T237, JSON functions
...
* container file JSON function automatically detecting JSON format (swift, cache, DB)
* utility functions
2018-01-30 20:35:30 +01:00
Klaus Basan
312d01d35b
Ref T199, also cache files can be loaded
...
* unwrap cache JSON object
* parameter to control if cache format is allowed
2018-01-14 18:47:37 +01:00
Mathew Sutcliffe
3ae5e274ee
Removed workarounds that were needed to support older versions of MSVC.
2017-11-14 17:51:02 +00:00
Klaus Basan
94c9886c35
Based on discussion around T107 and slack
...
* Use CJsonScope scope("MetaData") for stacktrace
* added Q_UNUSED(scope) to avoid QtC warnings
2017-09-24 19:50:37 +01:00
Mathew Sutcliffe
3ea9e33e6b
refs #937 Resolved clazy warnings: pass-by-value/reference.
2017-04-19 19:31:42 +01:00
Klaus Basan
b785e32256
refs #911 , utility functions for cut and paste JSON
2017-04-18 00:05:33 +01:00
Mathew Sutcliffe
fe3c97e37f
Updates for Qt 5.8.
2017-02-24 15:22:43 +00:00
Mathew Sutcliffe
4fd9ecbe4d
refs #876 Workaround GCC bug.
...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67274
2017-02-24 15:22:40 +00:00
Mathew Sutcliffe
7b8d88876f
refs #876 All metaclass mixins now directly access the metamembers.
...
This avoids bloating CMetaClassIntrospector with inconvenient convenience methods.
2017-02-24 15:22:39 +00:00
Klaus Basan
9b56c5bf51
refs #879 , added static fromJson
2017-02-24 15:21:25 +00:00
Klaus Basan
f71cb04cd2
Formatting ( #879 )
2017-02-24 15:21:23 +00:00
Mathew Sutcliffe
52777cf7dc
todo adjustments
2017-01-11 01:28:39 +00:00
Mathew Sutcliffe
bbdbd26f82
refs #815 Throw CJsonException when required JSON objects are not found.
2017-01-10 23:46:33 +00:00
Mathew Sutcliffe
8b1bdbdcf8
refs #721 Use QLatin1String for JSON object keys (disabled until Qt 5.7.1).
2016-08-26 21:05:53 +01:00
Mathew Sutcliffe
e2e1e53d42
refs #721 Avoid looking up the JSON object key twice every time.
2016-08-26 21:05:52 +01:00
Mathew Sutcliffe
a0c20baf53
refs #697 Type traits renamed with T prefix.
2016-08-03 02:20:45 +01:00
Mathew Sutcliffe
37b8436ebb
refs #679 Missing values in json should not cause members of default-constructed object to be overwritten.
2016-06-29 17:34:52 +01:00
Klaus Basan
2e4d5fd40e
Added operator for QFlags
2016-06-08 03:59:01 +02: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
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
4f3637a046
refs #628 Add mixins which use the metaclass system instead of the tuple system.
2016-04-03 18:17:42 +01:00
Mathew Sutcliffe
7ce1b268df
refs #628 Use expression SFINAE and the void_t trick to simplify some type traits.
2016-04-03 18:17:37 +01:00
Klaus Basan
703a43c6fb
refs #621 , allow to load setup from resource dir file
...
* CValueObjects can be loaded from JSON file
* get bootstrap file location
2016-03-30 13:41:45 +02:00
Mathew Sutcliffe
a8fc899219
refs #624 Use std alias traits.
2016-03-22 16:02:48 +00:00
Mathew Sutcliffe
caa01f846b
refs #624 , #492 Refactor parts of CLogMessage into base class and use inheriting constructors to unify the construction idiom of CLogMessage and CStatusMessage.
2016-03-22 00:31:09 +00: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
Mathew Sutcliffe
eb11b69c6d
refs #494 Value class CValueCachePacket is a packet of cache value changes with timestamps.
2015-11-19 21:05:35 +00:00
Klaus Basan
a725ce2181
refs #478 refs #488 , utils / free functions
...
* seed for random numbers per thread
* added function to get all user metatypes as string
* added new read file function per path/name
* removed DBus operators for pixmap
* JSON operators for byte array
* util function for JSON string
2015-11-19 21:03:23 +00:00
Klaus Basan
6a677c06d6
refs #452 , JSON updates
...
* streaming fot pixmap
* convenience methods
2015-11-19 20:58:44 +00: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
d476c9b709
Fixed copyright notices.
2015-05-12 20:36:00 +01:00
Roland Winklmeier
a089d3641d
refs #403 add BlackMisc shared library build
2015-05-05 21:34:19 +02:00
Mathew Sutcliffe
73f135fa5b
refs #356 Streaming ops for QJsonObject: value in pair should be a reference, to avoid unnecessary copying and object slicing.
2015-03-27 19:08:54 +00:00
Mathew Sutcliffe
f601334ffa
refs #192 tweaking include order and moving some JSON things into global namespace
...
so that we invoke ADL instead of relying on a particular include order
2014-03-31 23:48:39 +01:00
Mathew Sutcliffe
bfce2d186f
removing/simplifying uses of enable_if for JSON streaming operators
2014-03-28 15:03:56 +00:00
Mathew Sutcliffe
3ac59f0872
fixing typos, doxygen, and style from #192
2014-03-28 15:02:47 +00:00
Klaus Basan
0d4abb4c91
refs #192 , JSON operators except for CValueObject
2014-03-26 20:11:32 +01:00