Commit Graph

35 Commits (369cf45ace663f42960cea72f87e669ea81979cd)

Author SHA1 Message Date
joey 994c242994 update 2006-10-28 05:45:56 +00:00
joey db3b72c482 instead of over and over. Typical speedup is ~4x. Max possible speedup:
8x.
* Add "scan" parameter to hook(), which is used to make the hook be called
  during the scanning pass, as well as the render pass. The meta and tag
  plugins need to use the new scan parameter, so will any others that modify
  %links.
* Now that links are calculated in a separate pass, it can also 
  precalculate backlinks in one pass, which is O(N^2) instead of the
  previous code that was O(N^3). A very nice speedup for wikis with lots
  (thousands) of pages.
2006-10-28 05:07:56 +00:00
joey 49bf877701 * Add a separate pass to find page links, and only render each page once,
instead of over and over. This is up to 8 times faster than before!
  (This could have introduced some subtle bugs, so it needs to be tested
  extensively.)
2006-10-28 03:27:10 +00:00
joey dae0f48e91 * Work on firming up the plugin interface:
- Plugins should not need to load IkiWiki::Render to get commonly
    used functions, so moved some functions from there to IkiWiki.
  - Picked out the set of functions and variables that most plugins
    use, documented them, and made IkiWiki export them by default,
    like a proper perl module should.
  - Use the other functions at your own risk.
  - This is not quite complete, I still have to decide whether to
    export some other things.
* Changed all plugins included in ikiwiki to not use "IkiWiki::" when
  referring to stuff now exported by the IkiWiki module.
* Anyone with a third-party ikiwiki plugin is strongly enrouraged
  to make like changes to it and avoid use of non-exported symboles from
  "IkiWiki::".
* Link debian/changelog and debian/news to NEWS and CHANGELOG.
* Support hyperestradier version 1.4.2, which adds a new required phraseform
  setting.
2006-09-09 22:50:27 +00:00
joey f7f3b0bb7d * Add support for mercurial, contributed by Emanuele Aina. 2006-09-06 20:31:55 +00:00
joey 99d52a1794 * Add support for tla, contributed by Clint Adama. Closes: #385936 2006-09-04 06:15:54 +00:00
joey ea95624e2d * Drop real uid/gid in the suid wrapper, thus allowing commits to remote
subversion repos and fixing some other issues.
2006-09-04 03:38:02 +00:00
joey e32b07ed2b releasing version 1.21 2006-08-20 20:53:56 +00:00
joey e1fa002cb4 update 2006-08-19 05:15:00 +00:00
joey 63edea27bc * Add first draft at a Restructured Text (rst) plugin, by Sergio
Talens-Oliag. Note that this has many known issues -- see the caveats on
  the plugin's page.
* Credit everyone who wrote a plugin on the plugins' wiki pages.
2006-08-19 05:05:02 +00:00
joey 2f0d94c80b updates 2006-08-18 06:21:59 +00:00
joey 2794d7ef5a * Renamed GlobLists to PageSpecs.
* PageSpecs can now include nested parens, "and", and "or". This remains
  backwards compatible to the old GlobList format. It's implemented by
  treating the GlobList as a very limited microlanguage that is transformed
  to perl code that does the matching.
* The old GlobList format is deprecated, and I encourage users to switch to
  using the new PageSpec format. Compatability with the old format will be
  removed at some point, possibly by 2.0.
* Wiki rebuild needed on upgrade to this version due to PageSpec change.
* Add support for creation_month and creation_year to PageSpec.
  Closes: #380680
* Changes to index file encoding.
2006-08-02 00:14:31 +00:00
joey dea23a1031 * Switch pagetemplate hooks to using named parameters.
* Pass a "destpage" parameter to preprocessor and pagetemplate hooks.
  This will be the page that a source page will be part of, which is
  different than the source page for inlined pages.
* Audited all plugins to endure they pass page, destpage to htmllink
  appropriatly. This means inlining of various plugins will not work
  properly, with correct links generated.
2006-07-27 23:41:58 +00:00
joey 97e6f39dd0 * Patch from Faidon to use svn --limit when possible for recentchanges,
speeds up recentchanges a lot for wikis with more history.
2006-07-05 17:40:07 +00:00
joey 014a387996 * Memoize abs2rel, which is still kinda slow, for another 30% speedup
in time to build the doc wiki.
2006-07-04 16:34:27 +00:00
joey 77b38730d4 update 2006-07-04 03:59:37 +00:00
joey 02aed8df36 update 2006-07-04 00:03:36 +00:00
joey 84815d0ce9 word wrap 2006-07-03 22:49:24 +00:00
www-data e743ee6974 web commit by joey 2006-06-18 21:26:13 +00:00
joey c0f8126143 foo 2006-06-02 04:54:35 +00:00
joey d534483b9b * Reorganised the doc wiki's todo/* pages, using a link/tag to flag
* Allow pagetemplate plugins to override *anything* in the template.
* Add a meta plugin, which allows specifying various metadata about pages,
  like license and author. It also allows for inserting html link and meta
  tags into html, overriding the title, and adding hidden WikiLinks, which
  can be useful when using link-based globbing for page categorisation.
* Remove preprocessor directives from inlined pages.
* Allow simple preprocessor directive values to be specified w/o quotes.
2006-06-02 04:49:12 +00:00
joey 65d0aee407 * --getctime had bitrotted (well I only ever used it the once so far..),
* When inlining a page in another one, links from the inlined page are now
  expanded the same as they are when rendering the inlined page as a
  standalone page. So rather than being expanded from the POV of the
  inlining page, they are expanded from the POV of the inlined page.
  For example, a link from blog/foo to "bar" will now link to blog/bar
  if it exists. Previously this needed to be a link explicitly to 
  "blog/bar"; such links will also continue to work.
  (This was slightly complex to do as the link still has to be constructed
  relative to the inlining page.)
2006-05-26 16:11:53 +00:00
www-data 64d99045b9 web commit by joey 2006-05-12 23:45:07 +00:00
joey 3b0fce93e4 * Split off an IkiWiki.pm out of ikiwiki and have all the other modules use
it, this will allow for adding a unit test suite.
2006-05-02 06:53:33 +00:00
www-data 2f00762920 web commit by joey 2006-05-01 20:36:10 +00:00
www-data 0a25fb7718 web commit by joey 2006-04-29 18:15:38 +00:00
www-data 9907281c56 web commit by joey 2006-04-25 06:42:49 +00:00
www-data 7889007fc1 web commit by joey 2006-04-25 06:42:23 +00:00
www-data c3b5c06c96 web commit by joey 2006-04-25 06:37:37 +00:00
www-data c7da3a1adc web commit by joey 2006-04-25 06:37:22 +00:00
www-data 79839d01a7 web commit by joey 2006-04-25 06:36:39 +00:00
www-data bff38724b4 web commit by joey 2006-04-25 06:36:13 +00:00
www-data b00a8e9124 web commit by joey 2006-04-25 06:34:21 +00:00
www-data bba3b23476 web commit by joey 2006-04-25 06:33:55 +00:00
www-data 9ee1564a20 web commit by joey 2006-04-25 06:33:25 +00:00