summaryrefslogtreecommitdiff
path: root/IkiWiki/Wrapper.pm
AgeCommit message (Collapse)Author
2006-05-03rather a lot of changes to make hyperestraier search be a plugin, allowingjoey
for other types of search engine plugins if wanted, and also opening up a lot of new possibilities for other kinds of plugins later some notable changes along the way: - lots of new hook types: cgi, render, delete - wrapper files fixed to support config strings with newlines in them - HEADERCONTENT in page template useful for plugins. Probably needs to be expanded to more such for other places plugins might want to add content. - remove unnecessary wrappers field from config info stored in wrappers
2006-05-02* Patch from Thomas Schwinge to switch from --svn to --rcs=svn, etc,joey
to pave the way for adding other RCS support. This also changes the setup files, where before they had svn => 1 or svn => 0, now they have rcs => "svn" or rcs => "". * Add a debian/NEWS file with upgrade notes. * Load whatever rcs module is specified, so new ones can be just dropped in as plugins and work. * Add some basic docs about writing RCS modules.
2006-05-02* Split off an IkiWiki.pm out of ikiwiki and have all the other modules usejoey
it, this will allow for adding a unit test suite.
2006-04-25subscription nearly donejoey
2006-04-24commit changes for email subscriptionsjoey
2006-04-20fix broken example config file and detect this breakagejoey
2006-03-26added --getctimejoey
2006-03-23benchmarking suggests that meoization doesn't help even when doing ajoey
--rebuild, so remove it
2006-03-23Getopt::Long is a huge, heavy perl module. So why use it?joey
This {gross,amazing} hack makes all wrapped uses of ikiwiki forgo any option parsing at all. Options come in preparses via an env var from the wrapper. As a bonus, Wrapper.pm no longer needs to be updated when command line options are added to the program. Load time is sped up by around 10%. ikiwikiwrap --params is no longer supported by this change. You will need to rebuild your wrappers to take advantage of it.
2006-03-23Major code reoganisation, splitting up the single big file. The two goalsjoey
kept in mind during this are a) to reduce load time for common cases like cgi and post-commit and b) make the code easier to navigate. This also modularises RCS support to the extent that it should be possible to drop in a module for some RCS other than svn, add a switch for it, and it pretty much just work. High chance I missed an edge case that breaks something, this is only barely tested at this point.