Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
as that can result in a broken merged pagespec that matches nothing.
|
|
|
|
|
|
custom, first-class types of wikilinks.
* Move standard wikilink implementation to a new wikilink plugin, which
will of course be enabled by default.
|
|
|
|
Spaces in page names map to underscores in file names. Newlines and
tabs follow ikiwiki's usual filename escaping rules: __10__ and __9__.
|
|
|
|
used if you want a wiki that doesn't default to generating rss or atom
feeds, but that does allow them to be turned on for specific blogs.
|
|
This is to handle the case where loadindex is called multiple times in one run,
as when aggregating.
|
|
|
|
license, and copyright. This can be used to create custom RecentChanges.
* meta: To support the pagespec functions, metadata about pages has to be
retained as pagestate.
* Fix encoding bug when pagestate values contained spaces.
|
|
This makes it a lot quicker to deal with lots of recentchanges pages
appearing and disappearing. It avoids needing to clutter up pagespecs with
exclusions for those pages, by making normal pagespecs not match them.
|
|
Doesn't look as good as the old table, but works as a rss feed.
|
|
the svnrepo and notify settings, though both will be ignored if left in
setup files.
|
|
Can't use htmllink in userlink due to it being called from recentchanges
in cases where there is no configured url. It seems easist, at least for now,
to not linkify user names in this case. I don't think I've ever clicked on such
a link anyway.
Might revisit this later.
|
|
I have a plugin that needs to use userlink.
|
|
Add a prefix_directives option to the setup file to turn this syntax
on; currently defaults to false, for backward compatibility. Support
optional '!' prefix even with prefix_directives off, and use that in
the underlay to support either setting of prefix_directives. Add NEWS
entry with migration information.
|
|
|
|
|
|
This allows the hook to determine if it's just scanning, and avoid expensive
operations.
|
|
|
|
|
|
|
|
|
|
|
|
via the %pagestate hash.
* Use pagestate in meta to detect potential redir loops.
|
|
|
|
Patch by Daniel Burrows. Closes: #451729
* When usedirs is disabled, link direct to index.html files, not to
directories, to improve browsing of file:// urls.
Patch by Daniel Burrows. Closes: #451728
|
|
htmllink needs to do it because it uses the basename of the link as the link
text
bestlink needs to do it because it is not always called from htmllink
|
|
|
|
inlined pages is displayed. Closes: #451019
|
|
to not-yet-existing pages. I don't have a useful style defined for that
though.
|
|
even if pages have been deleted in between
|
|
allowed by the regexp in one case though not documented to work, and
was ambiguous with preprocessor directives.
|
|
|
|
are not included in the map. Include special styling for such pages.
* map: Remove common prefixes and don't over-indent.
* Add class option to htmllink().
|
|
return values.
|
|
|
|
|
|
* Plugins can add new directories to the search path with the add_underlay
function.
* Split out smiley underlay files into a separate underlay, so if the plugin
isn't used, the wiki isn't bloated with all those files.
|
|
if it wasn't locked when called. This is known to break post-commit
emails.
|
|
|
|
|
|
|
|
|
|
|
|
the underlaydir into account.
|
|
global file handles
|