Finally removed the cancer that is the LDObject::model pointer

Added LDObject serialization and refactored the internal resource managing to use it. No more tearing objects from one model into another, and this provides a stable way to keep an object's state in memory such as the edit history.

fix warning

removed another LDObject::model() use

removed LDError::fileReferenced

reimplemented detection of broken references in PartDownloadRequest::downloadFinished

reimplemented finding of broken document references

LDSubfileReference now contains the name of the subfile and not a pointer anymore. Some methods now require a DocumentManager* for context on resolving the name.

removed use of model() in LDSubfileReference::inlineContents

Removed LDObject::invert, inversion code moved to basic toolset

(0) -1000 -300 -100 -10 +10 +100 tip

mercurial