summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-28avoid clobbering origsub if checkconfig runs more than onceJoey Hess
checkconfig can run more than once in a single ikiwiki run if setup is building wrappers. That clobbered the origsub value for bestlink, leading to infinite recursion
2009-08-28po test suite failureJoey Hess
2009-08-28(no commit message)furby
2009-08-28(no commit message)furby
2009-08-28<pedant>rename depends_exact to depends_simpleJoey Hess
It's not "exact" since case munging has to be done, and I think "simple" captures the optimisation better.</pedant> With apologies to smcv, who probably has to rebuild his wiki now.
2009-08-28changelpgJoey Hess
2009-08-28Merge commit 'smcv/ready/depends-exact'Joey Hess
2009-08-28responseJoey Hess
2009-08-28Merge commit 'smcv/ready/trivia'Joey Hess
2009-08-28Introduce myselfhttp://emptty.myopenid.com/
2009-08-28my first edit to this site, please forgive mistakeshttp://emptty.myopenid.com/
2009-08-28Some crude benchmarking on a larger wikiSimon McVittie
2009-08-28Merge commit 'origin/master'Simon McVittie
2009-08-28Mark as doneSimon McVittie
2009-08-28Updated branch, thanks for the feedbackSimon McVittie
2009-08-28Avoid duplicating debug message for building a page due to a dependencySimon McVittie
As per Joey's review
2009-08-28Force %depends_exact to lower case, fixing incorrect case-sensitivitySimon McVittie
2009-08-28Auto-detect "simple dependencies" instead of requiring callers to use ↵Simon McVittie
add_depends_exact()
2009-08-28doc/po: report problem with link() + propose patchintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28Fix typo in dependency debug messageSimon McVittie
2009-08-28Add depends_exact: simplified dependency tracking for dependencies on a ↵Simon McVittie
single page Let E be the number of dependencies per page of the form "A depends on B and nothing else", let D be the number of other dependencies per page, let P be the total number of pages, and let C be the number of changed pages in a refresh. This patch should speed up a refresh from O(E*C*P + D*C*P) to O(C + E*P + D*C*P), assuming that hash lookups are O(1). In practice, plugins like inline and map produce a lot of these very simple dependencies, and my album plugin's combination of inline with a large number of pages causes it to suffer particularly badly. In testing on a wiki with about 7000 objects (3500 full pages, 3500 images), a full rebuild continued to take about 5:30, and a refresh after touching about 350 pages and 350 images reduced from 5:30 to 1:30. As with my previous optimizations, this change will result in downgrades not working correctly until the wiki is rebuilt.
2009-08-28inline: if using pagenames, don't add a dependency on "page1 or page2 or..."Simon McVittie
This is unnecessary and just slows us down (by a factor of 2, in the pessimal case where every page has an inline with pagenames); it's also not possible to optimize it into add_depends_exact calls.
2009-08-28Fix typo in underlay.setupSimon McVittie
2009-08-28follow-upintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28doc/po: bug report + patch proposal wrt. inline's post form's rootpageintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28Merge commit 'intrigeri/po'Joey Hess
2009-08-28both changes pickedJoey Hess
2009-08-28po: favor the type of linking page's masterpage on page creationintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28po: fix interdiction to create pages of type pointrigeri
... which was broken by the new page_types code. Signed-off-by: intrigeri <intrigeri@boum.org> (cherry picked from commit 1914ae2fd24e1e8021404eae847d70c710f8542d)
2009-08-28doc/po: reported bug + patches wrt. created page typeintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28po: favor the type of linking page's masterpage on page creationintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28po: fix interdiction to create pages of type pointrigeri
... which was broken by the new page_types code. Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-28Czech basewiki enabledJoey Hess
2009-08-28Initial Czech translation of basewiki/Miroslav Kure
2009-08-28merge updates to danish translation from l10nJoey Hess
2009-08-27print which remotes are failingJoey Hess
2009-08-27responseJoey Hess
2009-08-27mention ignore branchJoey Hess
2009-08-27Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2009-08-27avoid fetching tags from random remotesJoey Hess
git makes it too easy to get crap tags into origin
2009-08-28Explain my depends-exact branchSimon McVittie
2009-08-27htmltidy: Return an error message if tidy fails. Closes: #543722Joey Hess
On second^Wthird^Wfourth thought, putting the message into the page seems better than using stderr.
2009-08-27fix mergedJoey Hess
2009-08-27Merge commit 'intrigeri/po'Joey Hess
2009-08-27fix cherry-pickedJoey Hess
2009-08-27po: override the title template variable for coherent homepage titlingintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org> (cherry picked from commit 6c0f9c691c3df3a2ec30dec626c997623568a400)
2009-08-27change cherry-picked; move to discussionJoey Hess
2009-08-27po(scan): removed scary comment about only wanting to change the first linkintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org> (cherry picked from commit 3c2bffe21b91684971155ab41b15dacc515b2fc5)
2009-08-27doc/po(self-links): follow-upsintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>
2009-08-27po: do not inject custom bestlink function when po_link_to eq defaultintrigeri
Signed-off-by: intrigeri <intrigeri@boum.org>