mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-10-14 17:44:13 +02:00
2f94724df3
A built symbol whose partner is on a folio not built yet (QET_LAZY_FOLIOS) now saves that link too, in the order it was saved with (Element::toXml(); QETProject::waitingLinkTargets() keeps it to partners the project has, so a link to a symbol gone is dropped as it always was). With that, and with no partner's text in a .qetz's folio files (D3c), saving a .qetz no longer builds the folios of the partners built folios wait for; table chains still are (a table saves the table before it), and a .qet saved as read (QET_LAZY_SAVE_KEPT) still builds them, its folio files holding partners' texts. industrial.qetz: an untouched save builds no folio (47 of 47 stay not built; 19 before), after everyday edits on its busiest folio 29 stay not built (7 before). tst_lazyfolios compares the links an edited .qetz saved without building holds, symbol by symbol in their order, with those the same edits saved with every folio built -- it fails when waiting links are not saved (the drawing alone cannot tell: links are kept on both sides, and a symbol reread gets its partner's back, in another order). Corpus, 342 projects: a .qetz saved without building, read and saved as .qet = eager = master. ctest 96/96 with and without QET_LAZY_FOLIOS=1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>