hyperion.ng/libsrc/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
CMakeLists.txt JSON Auto correction + hyperion schema split for better readability (#452) 2017-07-30 13:32:10 +02:00
ColorArgb.cpp Changed RgbImage to template based Image (with template for pixel type) 2013-11-11 09:00:37 +00:00
ColorBgr.cpp Finished the amlogic grabber for the 'WeTek Play' 2015-08-20 09:51:44 +02:00
ColorRgb.cpp Changed RgbImage to template based Image (with template for pixel type) 2013-11-11 09:00:37 +00:00
ColorRgba.cpp Changed RgbImage to template based Image (with template for pixel type) 2013-11-11 09:00:37 +00:00
ColorRgbw.cpp Add sk6812rgbw support (#666) 2016-05-31 22:55:56 +02:00
ColorSys.cpp Adjustment merge + new brightness settings (#359) 2017-01-06 14:25:55 +01:00
Components.cpp Webui: extend led hardware config + connection lost page (#226) 2016-09-07 20:10:37 +02:00
FileUtils.cpp auto generation of initial config file (#271) 2016-10-13 21:59:10 +02:00
ImageResampler.cpp Fix "if" statement in XShmGetImage check and other things (#192) 2016-08-23 07:04:57 +02:00
JsonProcessor.cpp JSON Auto correction + hyperion schema split for better readability (#452) 2017-07-30 13:32:10 +02:00
Logger.cpp migrate std::string to qstring + add sysinfo via json (#412) 2017-03-04 22:17:42 +01:00
Process.cpp migrate std::string to qstring + add sysinfo via json (#412) 2017-03-04 22:17:42 +01:00
Profiler.cpp migrate std::string to qstring + add sysinfo via json (#412) 2017-03-04 22:17:42 +01:00
RgbChannelAdjustment.cpp new brightness handling (#430) 2017-04-03 05:19:05 +02:00
RgbToRgbw.cpp migrate std::string to qstring + add sysinfo via json (#412) 2017-03-04 22:17:42 +01:00
RgbTransform.cpp new brightness handling (#430) 2017-04-03 05:19:05 +02:00
Stats.cpp Move JsonProcessing from JsonClientConnection to own class (#444) 2017-06-24 11:52:22 +02:00
SysInfo.cpp populate zeroconf/avahi/bonjour records via json api (#419) 2017-03-21 17:55:46 +01:00