Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-10-04 | update | Joey Hess | |
2009-10-04 | Merge branch 'dependency-types' into transitive-dependencies | Joey Hess | |
Conflicts: IkiWiki/Render.pm | |||
2009-10-04 | Merge branch 'master' into transitive-dependencies | Joey Hess | |
2009-10-04 | Merge branch 'master' into dependency-types | Joey Hess | |
2009-10-04 | document effect of contentless dependencies on sidebar efficiency | Joey Hess | |
2009-10-04 | Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info | Joey Hess | |
2009-10-04 | postsparkline and progress: also contentless dependencies | Joey Hess | |
2009-10-04 | meta redir dependency is contentless | Joey Hess | |
2009-10-04 | listdirectives: contentless dependency | Joey Hess | |
Another one that probably doesn't matter, but for completness. | |||
2009-10-04 | not a contentless dependency | Joey Hess | |
needs link info | |||
2009-10-04 | edittemplate: contentless dependency | Joey Hess | |
This one is unlikely to matter much, but yeah, it's contentless. | |||
2009-10-04 | calendar: all dependencies are contentless | Joey Hess | |
2009-10-04 | inline: Use a contentless dependency in quick mode. | Joey Hess | |
2009-10-04 | expand the set of things that can be matched contentless | Joey Hess | |
2009-10-04 | update | Joey Hess | |
2009-10-04 | map: Use a contentless dependency unless show= is specified. | Joey Hess | |
This makes simple maps efficient enough that they can be used on sidebars! | |||
2009-10-04 | optimise add_depends for simple pagespecs | Joey Hess | |
We don't need to check if the pagespec is contentless; all simple ones are. | |||
2009-10-04 | detect pagespecs that require content dependencies | Joey Hess | |
When adding a contentless dependency, the pagespec also needs to be one that does not look at any page content information. As a first approximation of that, only allow glob-based pagespecs in contentless dependencies. While there are probably a few other types of pagespecs that can match contentless, this will work for most of them. | |||
2009-10-04 | Updated pproc-indent by catching only indent at beginning of line | http://kaizer.se/ | |
2009-10-03 | response | Joey Hess | |
2009-10-03 | did a scratch implementation of dependancy types, but found it more complex | Joey Hess | |
2009-10-03 | clarify | Joey Hess | |
2009-10-03 | orphans and brokenlinks cannot use contentless dependency | Joey Hess | |
Tried a contentless dep and it does not work; changes to links in pages are not noticed. Drat. | |||
2009-10-03 | implement support for DEPEND_EXISTS | Joey Hess | |
Preliminary support, anyway. If a dependency only includes DEPEND_EXISTS, then only changes that involved adding or deleting a page can trigger it. This is complicated by internal pages, since the code did not previously differentiate between add, delete, and change of internal pages. Now it tracks change separately from add+delete, so DEPEND_EXISTS pagespecs that actually match internal pages (which will probably be quite rare in practice) should work. | |||
2009-10-03 | update | Joey Hess | |
2009-10-03 | document add_depends dependency type interface | Joey Hess | |
2009-10-03 | set dependency hash value properly for new dependency types | Joey Hess | |
Just "1" won't cut it anymore; we need to list all the dependency types. | |||
2009-10-03 | pagecount: Use contentless dependency | Joey Hess | |
This will avoid lots of unnecessary updates of pages using the pagecount directive. Yay! | |||
2009-10-03 | add dependency type parameters to add_depends | Joey Hess | |
Dependency types are represented by bits in the values of the %depends and %depends_simple hashes. Change the dependslist array saved to the index to a depends hash. depends_simple is also converted from an array to a hash. Note that the depends field used to be a string, and we still have compat code to handle upgrades from that, as well as from the arrays. I didn't use ikiwiki-transition because I don't want ikiwiki to break if users forget to run it; also we're going to recommend a full rebuild on upgrade to this version to get the improved dependency handling. So this compat code can be removed or moved to ikiwiki-transition later. | |||
2009-10-03 | Fix a bug that could lead to duplicate links being recorded for tags. | Joey Hess | |
Here I was bitten by perl's aliasing of foreach variables to the loop array contents, and match_link accidentially changed the contents of %links. In Jon's testcase, a tag added an absolute link, which was made relative by the above bug, and then the link was added again in preprocess, and turned into a duplicate. | |||
2009-10-03 | do not need to qualify %links | Joey Hess | |
2009-10-03 | response | http://www.cse.unsw.edu.au/~willu/ | |
2009-10-02 | consistency with edittemplate? | Joey Hess | |
2009-10-02 | combine with pagetemplate? | Joey Hess | |
2009-10-02 | fix wording here too | Joey Hess | |
2009-10-02 | Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info | Joey Hess | |
2009-10-02 | improve wording | Joey Hess | |
2009-10-02 | Add reference to new plugin | http://www.cse.unsw.edu.au/~willu/ | |
2009-10-02 | (no commit message) | http://jmtd.livejournal.com/ | |
2009-10-02 | wishlist/todo item: disable/enable directives by pagespec | http://jmtd.livejournal.com/ | |
2009-10-02 | +bugs/ backlinks onhover thing can go weird | http://jmtd.livejournal.com/ | |
2009-10-02 | response | http://jmtd.livejournal.com/ | |
2009-10-02 | fix | Joey Hess | |
2009-10-02 | split off todo item for multiple dependency types | Joey Hess | |
2009-10-02 | split out dependency type issue into its own todo | Joey Hess | |
2009-10-02 | mention loop optimisation | Joey Hess | |
2009-10-02 | fix branch name | Joey Hess | |
2009-10-02 | implemented one fix in transitive-dependencies branch, but not really happy ↵ | Joey Hess | |
with it | |||
2009-10-02 | minor optimisation | Joey Hess | |
As soon as a change happens, we know we will need to rescan all dependencies from the start, so bail out of the current scan partway to avoid doing redundant work. Only problem with this is that ikiwiki sometimes ends up printing out dependencies that, while correct, are not obvious. Before: building B, which depends on A building C, which depends on A building D, which depends on A After: building B, which depends on A building C, which depends on B building D, which depends on C | |||
2009-10-02 | handle transitive dependencies by re-running dep resolver | Joey Hess | |
This is a rather expensive solution to the transitive dependency problem. |