summaryrefslogtreecommitdiff
path: root/doc
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-05mehhttp://ghee.livejournal.com/
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-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-04add news item for ikiwiki 3.11Joey Hess
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-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/
2009-04-25(no commit message)simonraven
2009-04-24add a ' ' to prevent autosmiley eating a )Jon Dowland
2009-04-24another backlinks issueJon Dowland
2009-04-24backlinks issueJon Dowland
2009-04-24interactive todo lists todo itemJon Dowland
2009-04-24new todo item: more flexible inline postformJon Dowland
2009-04-24(no commit message)NicolasLimare
2009-04-23pagespec_match_list added and used in most appropriate placesJoey Hess
* pagespec_match_list: New API function, matches pages in a list and throws an error if the pagespec is bad. * inline, brokenlinks, calendar, linkmap, map, orphans, pagecount, pagestate, postsparkline: Display a handy error message if the pagespec is erronious.
2009-04-23pagespec error/failure distinction and error display by inlineJoey Hess
* Add IkiWiki::ErrorReason objects, and modify pagespecs to return them in cases where they fail to match due to a configuration or syntax error. * inline: Display a handy error message if the inline cannot display any pages due to such an error. This is perhaps somewhat incomplete, as other users of pagespecs do not display the error, and will eventually need similar modifications to inline. I should probably factor out a pagespec_match_all function and make it throw ErrorReasons.