This is mainly for @cdent's benefit, but others may be interested too. I've just changed the way that dependencies are tracked:
https://github.com/Jermolene/TiddlyWiki5/commit/95ab295fbb8a8a65b73eac3f309b09ba63c18564 Now, the WikiTextParseTree object's "dependencies" member is a hashmap as follows: { link: {tiddlerTitle: 1, tiddlerTitle2: 2}, include: {tiddlerTitle3: 7, tiddlerTitle4: 5}, dependentAll: true, } The idea is to distinguishing different "relation types", which are currently "link" and "include", and to keep a count of how many times each tiddler is so referenced. A "link" reference is just a dependency on whether the tiddler exists or not (and so would imply that the target tiddler can be loaded skinny), while an "include" reference means that the value of the target tiddler directly impacts the rendering of the tiddler (and so would imply that the target tiddler should be loaded fat). The "dependentAll" flag, as before, indicates that the tiddler's content depends on a scan of all the loaded tiddlers; it is triggered by the use of the 'list' macro, or the "with" parameter with the 'tiddler' macro. The implication is that skinny versions of all relevant tiddlers should be loaded. I'm not happy with the irregular way that the "dependentAll" flag is currently handled, and so there may well be further changes to the interface. Let me know how the changes work for you, Best wishes Jeremy -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywikidev?hl=en.
