ikiwiki/IkiWiki/Plugin
Joey Hess bb4211e326 avoid unnecessarily rebuilding pages with complex conditionals
I noticed that ikiwiki/formatting was beilg rebuilt when any page changed.
This turned out to be because it contained a complex conditional
"enabled(foo) or enabled(bar)", and the conditional plugin did not notice
that this consisted only of enabled() tests, and copied it unchanged into
add_depends. Thus, the page's dependencies were satisfied by any page
change.

The fix is to beef up the parser so that it can handle that and more
complex conditionals, and detect if they consist only of such tests.
2008-09-29 18:05:39 -04:00
..
aggregate.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
amazon_s3.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
anonok.pm anonok is safe 2008-08-03 17:03:20 -04:00
attachment.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
autoindex.pm autoindex: Avoid re-adding previously deleted (or renamed) pages. 2008-08-26 14:39:47 -04:00
brokenlinks.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
bzr.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
calendar.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
camelcase.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
color.pm color: New plugin from ptecza. 2008-08-26 13:22:34 -04:00
conditional.pm avoid unnecessarily rebuilding pages with complex conditionals 2008-09-29 18:05:39 -04:00
creole.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
cutpaste.pm UNIVERSAL not used in this plugin 2008-09-05 13:44:52 -04:00
ddate.pm ddate: Stop clobbering timeformat when not enabled. 2008-09-08 19:40:23 -04:00
editdiff.pm editdiff: Broken since 2.62 due to wrong syntax, now fixed. 2008-09-17 14:34:02 -04:00
editpage.pm fix handing of case of file first created by preview but then saved 2008-09-29 13:25:31 -04:00
edittemplate.pm editpage: Be more aggressive (and less buggy) about cleaning up temporary files rendered during page preview. 2008-09-27 18:02:33 -04:00
embed.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
external.pm external: Fix support for hooks called in an array context. 2008-08-06 01:05:44 -04:00
favicon.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
filecheck.pm filecheck: Fall back to testing for binary or plain text files if no mime type is detected. 2008-09-01 15:00:15 -04:00
fortune.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
git.pm git: Fix handling of utf-8 filenames in recentchanges. 2008-09-25 18:26:42 -04:00
goodstuff.pm goodstuff update 2008-09-09 16:11:16 -04:00
googlecalendar.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
graphviz.pm graphviz: Fix breakage of the name of the preprocessor directive. 2008-08-14 14:44:30 -04:00
haiku.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
hnb.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
html.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
htmlscrubber.pm htmlscrubber: Add a config setting that can be used to disable the scrubber acting on a set of pages. 2008-09-26 18:07:37 -04:00
htmltidy.pm htmltidy robustness fixes 2008-09-27 14:27:42 -04:00
httpauth.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
img.pm img: Support sizes like 200x. Closes: #475149 2008-09-09 15:20:06 -04:00
inline.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
link.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
linkmap.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
listdirectives.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
lockedit.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
map.pm map: The fix for #449285 was buggy and broke display of parents in certian circumstances. 2008-08-23 13:10:49 -04:00
mdwn.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
mercurial.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
meta.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
mirrorlist.pm if extrafooter is already set, append to it 2008-08-26 18:04:45 -04:00
monotone.pm Add simple patch to silence a warning when using monotone 2008-08-04 15:00:47 -04:00
more.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
norcs.pm add plugin safe/rebuild info (part 1 of 2) 2008-08-03 16:40:12 -04:00
opendiscussion.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
openid.pm include perl error in warning about openid 2008-09-23 12:59:43 -04:00
orphans.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
otl.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
pagecount.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
pagestats.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
pagetemplate.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
parentlinks.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
passwordauth.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
pingee.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
pinger.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
poll.pm typo 2008-09-27 14:27:42 -04:00
polygen.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
postsparkline.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
prettydate.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
progress.pm avoid warning if percent value is not numeric 2008-09-20 16:31:27 -04:00
rawhtml.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
recentchanges.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
recentchangesdiff.pm add plugin safe/rebuild info (part 2 of 3) 2008-08-03 17:20:21 -04:00
remove.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
rename.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
search.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
shortcut.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
sidebar.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
signinedit.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
skeleton.pm.example Fix typo in skeleton.pm.example: sessionncgi (with extra n) 2008-09-23 12:47:02 -04:00
smiley.pm remove dead code 2008-08-26 12:28:59 -04:00
sparkline.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
svn.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
table.pm use yesno 2008-09-02 18:20:17 -04:00
tag.pm Export pagetitle, titlepage, linkpage. 2008-09-27 14:27:42 -04:00
template.pm template: Make edit link for new templates ensure the page is located under toplevel templates directory. 2008-09-27 15:18:36 -04:00
testpagespec.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
teximg.pm willu's teximg changes 2008-08-24 15:21:51 -04:00
textile.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
tla.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
toc.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
toggle.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
txt.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
typography.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
version.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00
websetup.pm save to real setup file, and rebuild/refresh 2008-08-05 20:11:56 -04:00
wikitext.pm add plugin safe/rebuild info (part 3 of 3) 2008-08-03 19:36:11 -04:00