Commit Graph

6 Commits

Author SHA1 Message Date
marioalexis
d8bf4dfeb9 App: Improve docstrings in MetadataPy.xml and fix memory leak 2022-06-09 17:48:45 -04:00
Chris Hennes
f122061424 Core: Support disabling Addon by FreeCAD version
If package.xml metadata file exists, it is scanned for FreeCAD version
compatibility before the Addon is loaded. If the Addon specifies that it is
explicitly not compatible with the current version of FreeCAD, the Addon is
not loaded.
2022-03-08 23:19:04 -06:00
Chris Hennes
853aa8c93e Core: Correct metadata docs 2022-02-27 23:33:07 -06:00
Chris Hennes
00ab1f7634 Core: Add additional Python bindings for Metadata 2022-02-10 15:25:07 -06:00
Chris Hennes
1844a0161e Core: Modify metadata Python handling to use dict
Rather than trying to use a generic Py::Object and assigning properties
to it, use a Py::Dict object for simple data structures like Url,
Maintainer, and Author.

Update metadata standard to include subdirectory
2021-12-18 20:29:42 -06:00
Chris Hennes
30fd2ce5b8 [App] Add metadata handling class 2021-05-13 09:08:28 -05:00