summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-05-06Avoid %links accumulating duplicates. (For TOVA)Joey Hess
This is sorta an optimisation, and sorta a bug fix. In one test case I have available, it can speed a page build up from 3 minutes to 3 seconds. The root of the problem is that $links{$page} contains arrays of links, rather than hashes of links. And when a link is found, it is just pushed onto the array, without checking for dups. Now, the array is emptied before scanning a page, so there should not be a lot of opportunity for lots of duplicate links to pile up in it. But, in some cases, they can, and if there are hundreds of duplicate links in the array, then scanning it for matching links, as match_link and some other code does, becomes much more expensive than it needs to be. Perhaps the real right fix would be to change the data structure to a hash. But, the list of links is never accessed like that, you always want to iterate through it. I also looked at deduping the list in saveindex, but that does a lot of unnecessary work, and doesn't completly solve the problem. So, finally, I decided to add an add_link function that handles deduping, and make ikiwiki-transition remove the old dup links.
2009-05-05decruftJoey Hess
2009-05-05Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2009-05-05mehhttp://ghee.livejournal.com/
2009-05-05remove cruft that crept in during a debugging sessionJoey Hess
2009-05-05inline: Minor optimisation.Joey Hess
When finding the pageurl, it was calling bestlink unnecessarily. Since at this point $page contains the full name of the page that is being inlined, there is no need to do bestlink's scan for it. This is only a minor optimisation, since bestlink is only called once per displayed, inlined page.
2009-05-05responseJoey Hess
2009-05-05Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2009-05-05responseJoey Hess
2009-05-05minor: fix URLhttp://lj.rossia.org/users/imz/
2009-05-05almost offtopic: is this actually a violation?http://lj.rossia.org/users/imz/
2009-05-05(no commit message)http://liw.fi/
2009-05-05ikiwiki-makerepo: Avoid using abs_path, as it apparently fails on ↵Joey Hess
nonexistant directories with some broken perl versions.
2009-05-05Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.infoJoey Hess
2009-05-05minor: trying to format the "verbatims" correctlyhttp://lj.rossia.org/users/imz/
2009-05-05added a clarifiaction about my understanding of what happenshttp://lj.rossia.org/users/imz/
2009-05-05a problem with /etc/ikiwiki/auto.setup, perl and non-existent pathshttp://lj.rossia.org/users/imz/
2009-05-05(no commit message)http://stefano.zacchiroli.myopenid.com/
2009-05-04turn python-support back onJoey Hess
Should wait to upload until ikiwiki is fixed in testing.
2009-05-04add news item for ikiwiki 3.11Joey Hess
2009-05-04releasing version 3.11Joey Hess
2009-05-04Avoid using python-support. Closes: #525086Joey Hess
Uses new debhelper feature to turn off python-support. The tiny python module included herein certianly doesn't need all the python-support nonsense.
2009-05-04responseJoey Hess
2009-05-04HTML5 story updateKai Hendry
2009-05-04anon commit testKai Hendry
2009-05-02(no commit message)simonraven
2009-05-02a clarifying comment about a tool which is referred tohttp://lj.rossia.org/users/imz/
2009-05-02published at http://github.com/jmtd/ikiwiki_todolist/http://jmtd.net/
2009-05-02WIP todo list javascript in a demonstratable statehttp://jmtd.net/
2009-04-30personal experiencehttp://schmonz.livejournal.com/
2009-04-30passwordauth/discussion: CosmeticsJérémy Bobbio
2009-04-30passwordauth/discussion: Document an attempt of using Apache::AuthenHook for ↵Jérémy Bobbio
a restricted wiki
2009-04-28(no commit message)albertlash
2009-04-28(no commit message)simonraven
2009-04-28(no commit message)simonraven
2009-04-28(no commit message)simonraven
2009-04-28(no commit message)simonraven
2009-04-28(no commit message)simonraven
2009-04-28s/choosen/chosen/simonraven
2009-04-27translation.mdwn: Typo fixes. Closes: #525753Joey Hess
2009-04-27mention po pluginJoey Hess
2009-04-27Updated Danish translation from Jonas Smedegaard. Closes: #525751Joey Hess
2009-04-27upated spanish translationVíctor Moral
2009-04-27removedTimBosse
2009-04-26(no commit message)TimBosse
2009-04-26(no commit message)TimBosse
2009-04-26(no commit message)TimBosse
2009-04-26htmlscrubber?http://jmtd.net/
2009-04-26(no commit message)simonraven
2009-04-26(no commit message)http://stefano.zacchiroli.myopenid.com/