hyperion.ng/include/utils
Paulchen Panther 5bd020a570 JSON Auto correction + hyperion schema split for better readability (#452)
* revoke schema split

* add "getAutoCorrectedConfig" function

* revoke schema split

* revoke schema split

* revoke schema split

* Prevent compiler error if none grabber is available

* revoke schema split

* add "getAutoCorrectedConfig" function

* revoke schema split

* remove "configMigrator"

* remove "configMigrator"

* Change TestConfigFile to show how the autocorrection works

* revoke schema split

* revoke schema split

* remove "ConfigMigrator"

* remove "ConfigMigrator"

* remove "ConfigMigratorBase"

* remove "ConfigMigratorBase"

* Add QJsonUtils.h

* added ability "ignore-required"

It has been added the ability to correct the configuration without having to pay attention to the keyword "required" in the hyperion schema

* Allow Comments in Hyperion Schema

* add ability to ignore the "required" keyword in hyperion schema

* add ability to ignore the "required" keyword in hyperion schema

* add ability to ignore the "required" keyword in hyperion schema

* //Allow Comments in Hyperion Schema

* Update jsonschema.py to version 0.8.0 to support ...

references in json schema

* add RefResolver from jsonschema.py to resolve

references in hyperion schema

* remove dupe code

* split the hyperion schema in separatly files

For better readability

* add function "resolveReferences" to resolve

references in hyperion schema.

* remove CURRENT_CONFIG_VERSION

* remove CURRENT_CONFIG_VERSION

* split the hyperion schema in separatly files

For better readability

* Create schema-backgroundEffect.json

* Add the rest of the Hyperion schema via upload

* Remove Comments in config file

* Add return variable to function writeJson().

fix function resolveReferences().
edit function load() to handle QPair result from schemaChecker.

* edit function validate() to return QPair variable

* fit function loadEffectDefinition()

* fit function checkJson()

*  Expand error check by dividing

"_error" variable in "_error" and "_schemaError".
Replace variable "bool" in validate() in QPair

* Extend function "cmd_cfg_set" to handle auto correction

* Extend function "loadConfig" to handle auto correction

* fix function loadConfig()
2017-07-30 13:32:10 +02:00
..
jsonschema JSON Auto correction + hyperion schema split for better readability (#452) 2017-07-30 13:32:10 +02:00
ColorArgb.h Changed RgbImage to template based Image (with template for pixel type) 2013-11-11 09:00:37 +00:00
ColorBgr.h Finished the amlogic grabber for the 'WeTek Play' 2015-08-20 09:51:44 +02:00
ColorRgb.h migrate std::string to qstring + add sysinfo via json (#412) 2017-03-04 22:17:42 +01:00
ColorRgba.h Changed RgbImage to template based Image (with template for pixel type) 2013-11-11 09:00:37 +00:00
ColorRgbw.h Add sk6812rgbw support (#666) 2016-05-31 22:55:56 +02:00
ColorSys.h Adjustment merge + new brightness settings (#359) 2017-01-06 14:25:55 +01:00
Components.h populate zeroconf/avahi/bonjour records via json api (#419) 2017-03-21 17:55:46 +01:00
FileUtils.h auto generation of initial config file (#271) 2016-10-13 21:59:10 +02:00
global_defines.h implement origin for effects (#408) 2017-03-01 15:23:53 +01:00
GrabbingMode.h Add Screensaver mode to Kodi video checker (#132) 2016-07-21 20:15:54 +02:00
Image.h big code cleanup. mostly line endings and indentions (#659) 2016-05-26 23:44:27 +02:00
ImageResampler.h big code cleanup. mostly line endings and indentions (#659) 2016-05-26 23:44:27 +02:00
JsonProcessor.h add http jsonrpc (#450) 2017-07-05 23:19:52 +02:00
Logger.h migrate std::string to qstring + add sysinfo via json (#412) 2017-03-04 22:17:42 +01:00
PixelFormat.h migrate std::string to qstring + add sysinfo via json (#412) 2017-03-04 22:17:42 +01:00
Process.h add http error pages (#381) 2017-01-29 21:20:12 +01:00
Profiler.h migrate std::string to qstring + add sysinfo via json (#412) 2017-03-04 22:17:42 +01:00
RgbChannelAdjustment.h new brightness handling (#430) 2017-04-03 05:19:05 +02:00
RgbToRgbw.h migrate std::string to qstring + add sysinfo via json (#412) 2017-03-04 22:17:42 +01:00
RgbTransform.h new brightness handling (#430) 2017-04-03 05:19:05 +02:00
Sleep.h big code cleanup. mostly line endings and indentions (#659) 2016-05-26 23:44:27 +02:00
Stats.h add unique id 2017-06-17 23:27:41 +02:00
SysInfo.h populate zeroconf/avahi/bonjour records via json api (#419) 2017-03-21 17:55:46 +01:00
VideoMode.h migrate std::string to qstring + add sysinfo via json (#412) 2017-03-04 22:17:42 +01:00