Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-10-05 | oprhans: Use a combination of precense and link dependencies. | Joey Hess | |
This makes it more efficient. It also fixes a longstanding bug, where if only a small set of pages were considered by orphans, changes to links on other pages failed to cause an update. | |||
2009-10-05 | use links dependency | Joey Hess | |
2009-10-05 | update | Joey Hess | |
2009-10-05 | make links dependencies fire if broken links change | Joey Hess | |
2009-10-05 | fix add_depends to new api | Joey Hess | |
2009-10-05 | implement links dependencies | Joey Hess | |
Involved some code refactoring so that same code that detects link changes for backlinks updating can be used for link dependency checking. The nice thing is that link dep checking is thus comopletly free! | |||
2009-10-05 | typos | Joey Hess | |
2009-10-05 | another UI issue I'm interested in | Jon Dowland | |
2009-10-05 | would you accept patches for this? | Jon Dowland | |
2009-10-05 | good work, thank you! | Jon Dowland | |
2009-10-04 | add test suite for add_depends | Joey Hess | |
and found a bug in my bitmath.. | |||
2009-10-04 | Merge branch 'master' into dependency-types | Joey Hess | |
2009-10-04 | update, add spec for link dependencies | Joey Hess | |
2009-10-04 | remove /i from regexp | Joey Hess | |
Nothing case-oriented going on in here. | |||
2009-10-04 | update | Joey Hess | |
2009-10-04 | rework dependency types code | Joey Hess | |
Simplify, change default content depends number to 1, change interface to make more sense. | |||
2009-10-04 | update | Joey Hess | |
2009-10-04 | update | Joey Hess | |
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/ | |