Add error handling for Lottie JSON input
Check the input JSON against a schema to improve robustness.
The schema to look is
https://lottie.github.io/lottie-spec/1.0.1/specs/schema/
Task-number: QTBUG-139706
Change-Id: Iec7710f9e8180f95a16037900dae3f3dec03c91f
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
| commit | 8d73c7e65d21603c83bd2fee56ea8c0743940712 |
| parent | 8e40a704083bd59efd6ca245ee124b2b7c5f9df2 |
| author | Kwanghyo Park <kwanghyo.park@qt.io> |
| committer | Kwanghyo Park <kwanghyo.park@qt.io> |
| commit time | Mon, 20 Oct 2025 10:53:47 +0300 |
- M src/lottie/qlottiebase.cpp
- M src/lottie/qlottiebase_p.h
- M src/lottie/qlottiebasictransform.cpp
- M src/lottie/qlottiebasictransform_p.h
- M src/lottie/qlottieellipse.cpp
- M src/lottie/qlottieellipse_p.h
- M src/lottie/qlottiefill.cpp
- M src/lottie/qlottiefill_p.h
- M src/lottie/qlottiefilleffect.cpp
- M src/lottie/qlottieflatlayers.cpp
- M src/lottie/qlottieflatlayers_p.h
- M src/lottie/qlottiefreeformshape.cpp
- M src/lottie/qlottiefreeformshape_p.h
- M src/lottie/qlottiegfill.cpp
- M src/lottie/qlottiegfill_p.h
- M src/lottie/qlottiegroup.cpp
- M src/lottie/qlottiegroup_p.h
- M src/lottie/qlottieimage.cpp
- M src/lottie/qlottieimage_p.h
- M src/lottie/qlottielayer.cpp
- M src/lottie/qlottielayer_p.h
- M src/lottie/qlottiepolystar.cpp
- M src/lottie/qlottiepolystar_p.h
- M src/lottie/qlottieprecomplayer.cpp
- M src/lottie/qlottieprecomplayer_p.h
- M src/lottie/qlottieproperty_p.h
- M src/lottie/qlottierect.cpp
- M src/lottie/qlottierect_p.h
- M src/lottie/qlottierepeater.cpp
- M src/lottie/qlottierepeatertransform.cpp
- M src/lottie/qlottierepeatertransform_p.h
- M src/lottie/qlottieroot.cpp
- M src/lottie/qlottieround.cpp
- M src/lottie/qlottieround_p.h
- M src/lottie/qlottieshape.cpp
- M src/lottie/qlottieshapelayer.cpp
- M src/lottie/qlottieshapelayer_p.h
- M src/lottie/qlottieshapetransform.cpp
- M src/lottie/qlottieshapetransform_p.h
- M src/lottie/qlottiespatialproperty_p.h
- M src/lottie/qlottiestroke.cpp
- M src/lottie/qlottiestroke_p.h
- M src/lottie/qlottietrimpath.cpp
- M src/lottie/qlottietrimpath_p.h
- M src/lottie/renderer/qbatchrenderer.cpp
- M src/plugins/vectorimageformats/lottie/main.cpp
- M src/qml/qlottieanimation.cpp
- M tests/auto/lottie/shape/shapelayer/tst_lottieshapelayer.cpp
- M tests/auto/lottie/shape/transform/tst_lottiebasictransform.cpp
- M tools/lottietoqml/main.cpp