summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-03-21moved to a tipJoey Hess
2008-03-21add a tip about dealing with ikiwiki's binary state filesJoey Hess
2008-03-21fix transitioning of page stateJoey Hess
2008-03-21add transition code for indexdbJoey Hess
2008-03-21Changed to a binary index file, written using Storable, for speedJoey Hess
During refresh of a wiki with 800 files, loadindex was using more total time than any other function, and saveindex was also in the top ten. Rewriting them to use Storable makes them three times as fast. 0.7 seconds is saved on my laptop in profiling mode.
2008-03-21Precompile pagespecs, about 10% overall speedupJoey Hess
About 12% of ikiwiki runtime was spent in pagespec_match. It was evaling the same pagespec code over and over again. This changes pagespec_translate to return memoized, precompiled functions that can be called to match against a given pagespec. This also allows getting rid of the weird variable scoping trick that had to be in effect for pagespec_translate to be called -- the variables are now just fed into the function it returns. On my laptop, this drops build time for the docwiki from about 60 to 50 seconds.
2008-03-21improve commentJoey Hess
2008-03-21updates to support current version of Devel::ProfileJoey Hess
2008-03-21work around perl warningJoey Hess
2008-03-21delete inline data after it's usedJoey Hess
2008-03-21crazy optimisation to work around slow markdownJoey Hess
Markdown is slow. Especially if it has to process an enormous page. The most common enormous page is currently the recentchanges page, which gets processed a lot, and contains very little actual markdown. Most of it is a big <div>, which markdown skips ... slowly. This is a rather sick optimisation to work around markdown's speed issues. Now inline inserts a small, dummy div, allows markdown to quickly render the actual page content, then replaces the dummy with the actual inlined pages later. Results: Rendering just a recentchanges page, with diffs included, dropped from 4.5 seconds to 2.7 seconds on my laptop. Building the entire wiki dropped from 46.6 seconds to 39.5 seconds. (It would be better if inline were a *post*-processor directive.)
2008-03-21process smilies in a sanitize hookJoey Hess
I had to move it to sanitize so all the markup is htmlized, so it can scan for <pre> and <code>.
2008-03-21another fixJoey Hess
I'm suprised that the second m//g didn't seem to clobber @-, but I don't want to rely on that, so preserve it beforehand.
2008-03-21various fixes and simplificationsJoey Hess
2008-03-21typoJoey Hess
2008-03-21smiley: Detect smileys inside pre and tags, and do not expand.Joey Hess
2008-03-21Close meta tag for redir properly.Joey Hess
2008-03-20web commit by http://jblevins.org/: OopsJoey Hess
2008-03-20web commit by http://jblevins.org/: MathML+SVG whitelistJoey Hess
2008-03-20web commit by http://brian.may.myopenid.com/: change.tmpl and BASEURLJoey Hess
2008-03-20web commit by http://jblevins.org/: A note about the toc plugin and headers ↵Joey Hess
in templates
2008-03-20web commit by http://jblevins.org/: Bug report updateJoey Hess
2008-03-20web commit by http://bremner.myopenid.com/Joey Hess
2008-03-19moved to a different serverJoey Hess
2008-03-19Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.infoJoey Hess
2008-03-19web commit by http://joey.kitenet.net/Joey Hess
2008-03-19Store userinfo in network byte order for easy portability. (Old files will ↵Joey Hess
be automatically converted.)
2008-03-19Time::Duration is no longer used, remove from docs and recommends.Joey Hess
2008-03-19optimisation, only load openid module when signing inJoey Hess
This makes the CGI about .2 seconds faster when editing pages etc.
2008-03-19fix setstateJoey Hess
Same fix as in d7f1292c3134fd9464ca4005f48b9274be861c10
2008-03-19make setargv take an arrayJoey Hess
for consistentcy with getargv, which returns one
2008-03-19fix setvarJoey Hess
It was incorrectly setting the value to the number of items in @_, ie, always 1.
2008-03-19Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.infoJoey Hess
2008-03-19getargv needs to return a list referenceJoey Hess
xml rpc only allows functions to return a single value, no lists. So getargv needs to return a list reference, which means that the caller will see an xml rpc array.
2008-03-19web commit by http://jblevins.org/: Patch for unclosed refresh meta tag.Joey Hess
2008-03-19web commit by http://engla.myopenid.com/: oops, point my URL to my ikiwiki ↵Joey Hess
portion (frontpage is not ikiwiki). Also, tweak the website title
2008-03-19web commit by http://engla.myopenid.com/: changed my url since my university ↵Joey Hess
is pretty.. dumb
2008-03-18German translation update. Closes: #471540Joey Hess
2008-03-18Merge branch 'master' of ssh://git.kitenet.net/srv/git/ikiwiki.infoJoey Hess
2008-03-18Prevent plugins/.gitignore from being installedmartin f. krafft
I added a .gitignore file to plugins/ to ignore *.pyc files, and that file is now being installed +x to /usr/lib/ikiwiki/plugins. This commit prevents that by excluding all dot-files under plugins/ from the install. Signed-off-by: martin f. krafft <madduck@madduck.net>
2008-03-18web commit by http://madduck.net/: more detailsJoey Hess
2008-03-18web commit by http://madduck.net/: add note about marking current pagesJoey Hess
2008-03-18web commit by http://madduck.net/Joey Hess
2008-03-18web commit by http://madduck.net/: tagging wishlistJoey Hess
2008-03-18web commit by http://madduck.net/Joey Hess
2008-03-18web commit by http://madduck.net/Joey Hess
2008-03-18web commit by http://madduck.net/Joey Hess
2008-03-18web commit by http://madduck.net/: closingJoey Hess
2008-03-17responseJoey Hess
2008-03-17* Record new pages in %pagesources temporarily when previewing so thatJoey Hess
things that need to know the page source or type can query it from there. Fixes previewing of tables when creating a new page.