summaryrefslogtreecommitdiff
path: root/scripts/view.py
AgeCommit message (Collapse)Author
2021-02-11scripts: Use yaml.safe_load()Laurent Pinchart
Before PyYAWL 4.1, yaml.load() can load to arbitrary code execution. yaml.safe_load() is recommended as a safe alternative. Starting at v4.1, yaml.load() calls yaml.safe_load(). See https://seclists.org/oss-sec/2018/q2/240 for more information. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
2019-04-09html: add NoAssignee supportKuninori Morimoto
There are no assignee tasks, and html.py will be error at such tasks. This patch care it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09view: tidyup get_data()Kuninori Morimoto
Some key might not exist on yaml data. In such case, it will be error on get_data(). This patch return [] when no data or no key case Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09view: add set_data/get_dataKuninori Morimoto
To be more object, let's add set_data/get_data Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09view: add -r option to show relationshipsKuninori Morimoto
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09view: add get_data()Kuninori Morimoto
To support relationships, directly getting Yaml data on each function is more useful. Let's add get_data() and do it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
2019-04-09add PeriJect viewerKuninori Morimoto
Very simple 1st verstion Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>