| Commit message (Expand) | Author | Age |
... | |
| | | * | | | | Revert "Make srcfile() return undef, if the file isn't there."•••This reverts commit 1bde208ec9b915db0187030c33450b5accb4892c.
| David Riebenbauer | 2010-02-03 |
| | | * | | | | Export add_autofile() for use in Plugins. | David Riebenbauer | 2010-02-02 |
| | | * | | | | Revert the effects of find_del_files() for (re)autoadded files.•••This also means that if autoadded files are deleted they will just be
recreated.
| David Riebenbauer | 2010-02-02 |
| | | * | | | | Add a function add_autofiles().•••The objective is to provide a sensible way to let plugins add files during the
"scan stage" of the build.
Currently does a little verification and adds the file to the global array
@add_autofiles.
| David Riebenbauer | 2010-02-02 |
| | | * | | | | Make srcfile() return undef, if the file isn't there.•••This has the advantage that it's now possible to check for the existence of a
sourcefile with that function.
| David Riebenbauer | 2010-02-02 |
| * | | | | | | improved fix for depends_simple_mixup•••Avoid adding the page matched against as an influence for
currently failing pagespec matches, while still adding
any other influences.
This avoids bloating depends_simple with lots of bogus influences when
matching eg, "!link(done)". It's only necessary for the page being tested
to be an influence of that if the page matches.
| Joey Hess | 2010-04-22 |
| * | | | | | | indent | Joey Hess | 2010-04-21 |
| | |_|_|_|/
| |/| | | | |
|
| * | | | | | add missing undef guard in derel | Joey Hess | 2010-04-21 |
| | |_|_|/
| |/| | | |
|
| * | | | | layout | Joey Hess | 2010-04-21 |
| * | | | | Always give createlink class to links to nonexistent pages•••With this change, the <span> with class createlink is always created
around the link text, even when no CGI URL is defined. This allows
styling of these 'links' in this case too. The same class is used as when
CGI URL is defined so that e.g. clones of the same ikiwiki, one with CGI
and one without, display in the same way (modulo the missing question mark
link).
(cherry picked from commit 290d1b498f00f63e6d41218ddb76d87e68ed5081)
| Giuseppe Bilotta | 2010-04-21 |
| | |_|/
| |/| | |
|
| * | | | remove 2 argument form of file_pruned | Joey Hess | 2010-04-20 |
| * | | | unfinished file_prune revamp•••Many calls to file_prune were incorrectly calling it with 2 parameters.
In cases where the filename being checked is relative to the srcdir,
that is not needed.
Made absolute filenames be pruned. (This won't work for the 2 parameter call
style.)
| Joey Hess | 2010-04-17 |
| |/ / |
|
| * | | automatically run --gettime, and optimise it for git•••* Automatically run --gettime the first time ikiwiki is run on
a given srcdir.
* Optimise --gettime for git, so it's appropriatly screamingly
fast. (This could be done for other backends too.)
* However, --gettime for git no longer follows renames.
* Use above to fix up timestamps on docwiki, as well as ensure that
timestamps on basewiki files shipped in the deb are sane.
| Joey Hess | 2010-04-16 |
| * | | --gettime revamp•••* Rename --getctime to --gettime. (The old name still works for
backwards compatability.)
* --gettime now also looks up last modification time.
* Add rcs_getmtime to plugin API; currently only implemented
for git.
| Joey Hess | 2010-04-16 |
| * | | refactor sortspec translation | Joey Hess | 2010-04-12 |
| * | | optimization: pagespec_match_list with no num limit matches before sorting•••This can be a lot faster, since huge numbers of pages are not sorted
only to mostly be thrown away. It sped up a build of my blog by at least
5 minutes.
| Joey Hess | 2010-04-11 |
| * | | minor style etc changes | Joey Hess | 2010-04-06 |
| * | | Merge remote branch 'smcv/ready/sort-package'•••Conflicts:
debian/NEWS
| Joey Hess | 2010-04-06 |
| |\ \ |
|
| | * | | Use $a and $b for SortSpec cmp callbacks | Simon McVittie | 2010-04-05 |
| | * | | Move sort hooks to the IkiWiki::SortSpec namespace•••Also rename cmpspec_translate (internal function) to sortspec_translate
for consistency.
| Simon McVittie | 2010-04-03 |
| | * | | Remove support for check_cmp_foo (pre-sort checks) | Simon McVittie | 2010-04-03 |
| | * | | Split out sortnaturally into a plugin | Simon McVittie | 2010-04-03 |
| | * | | Reimplement extensible sorting mechanisms, in the same way as pagespecs | Simon McVittie | 2010-03-25 |
| | * | | Allow sorting to be combined and/or reversed | Simon McVittie | 2010-03-24 |
| | * | | Allow hooks to add sorting functions to pagespec_match_list | Simon McVittie | 2010-03-24 |
| * | | | Merge remote branch 'smcv/ready/link-types' | Joey Hess | 2010-04-06 |
| |\ \ \ |
|
| | * | | | Remove the typedlink(tag foo) pagespec feature, which is less friendly than t...•••Plugins that introduce a link type should also introduce pagespec syntax
for it.
| Simon McVittie | 2010-04-04 |
| | * | | | implement typed links; add tagged_is_strict config option | Simon McVittie | 2010-04-04 |
| * | | | | fix bug that left stray </p> tags•••Both markdown and tidy add paragraph tags around text, that needs to be
stripped when the text is a short, one line fragment that is being inserted
into a larger page. tidy also adds several newlines to the end, and this
broke removal of the paragraph tags.
| Joey Hess | 2010-04-05 |
| |/ / / |
|
| * | | | don't check $@ after pagespec_translate•••pagespec_translate may set $@ if it fails to parse a pagespec, but
due to memoization, this is not reliable. If a memoized call is repeated,
and $@ is already set for some other reason previously, it will remain
set through the call to pagespec_translate.
Instead, just check if pagespec_translate returns undef.
| Joey Hess | 2010-03-28 |
| * | | | Fix incorrect influence info returned by a failing link() pagespec, that coul... | Joey Hess | 2010-03-26 |
| |/ / |
|
| * | | shorten setuptype | Joey Hess | 2010-03-19 |
| * | | allow multiple setup file types, and support safe parsing•••Finally removed the last hardcoding of IkiWiki::Setup::Standard.
Take the first "IkiWiki::Setup::*" in the setup file to define the
setuptype, and remember that type to use in dumping later. (But it can be
overridden using --set, etc.)
Also, support setup file types that are not evaled.
| Joey Hess | 2010-03-19 |
| * | | audited use POSIX•••The POSIX perl module exports a huge number of functions by default, so
make sure all imports are qualified. (And remove one that was not
necessary.)
| Joey Hess | 2010-03-19 |
| * | | add Makefile to exclude example | Joey Hess | 2010-03-17 |
| * | | set exclude example to match *.private and improve its description | Joey Hess | 2010-03-17 |
| * | | slight optimisation to file_pruned•••Precompile the regexp, rather than rebuilding on every call.
| Joey Hess | 2010-03-14 |
| * | | Add a include setting, which can be used to make ikiwiki process wiki source ... | Joey Hess | 2010-03-14 |
| * | | Improve openid url munging; do not display anchors and cgi parameters, as use... | Joey Hess | 2010-03-13 |
| * | | Add new --clean option; this makes ikiwiki remove all built files in the dest... | Joey Hess | 2010-02-28 |
| * | | Loosen regexp, to allow empty quoted parameters in directives. | Joey Hess | 2010-02-26 |
| * | | add ngettext support & optimize gettext handling•••As I was adding ngettext support, I realized I could optimize the gettext
functions by memoizing the creation of the gettext object. Note that
the object creation is still deferred until a gettext function is called,
to avoid unnecessary startup penalties on code paths that do not need
gettext.
A side benefit is that separate stub functions are no longer needed to
handle the C language case.
| Joey Hess | 2010-02-14 |
| * | | Allow globs to be used in user() pagespecs. | Joey Hess | 2010-02-11 |
| * | | httpauth: Add httpauth_pagespec setting that can be used to limit pages to on... | Joey Hess | 2010-02-11 |
| * | | update comment re openid library version | Joey Hess | 2010-02-06 |
| * | | factor out a userpage function•••Not yet exported, as only 4 quite core plugins use it.
| Joey Hess | 2010-02-04 |
| * | | remove userlink()•••That was dead code; changes to lockedit and recentchanges removed the last
callers.
| Joey Hess | 2010-02-04 |
| |/ |
|
* / | moved selflink test to its own isselflink (overridable) sub | intrigeri | 2010-01-09 |
|/ |
|
* | fix typo•••This was probably not noticed because it only results in a warning, and in
the checkcontent diff having some unchanged lines in it.
| Joey Hess | 2009-12-14 |
* | fix bestlink to not return just-deleted pages•••bestlink was looking at whether %links existed for a page in order to tell
if the page exists, but just-deleted pages still have entries in there (for
reasons it may be best not to explore). So bestlink would return
just-deleted pages. Instead, make bestlink use %pagesources.
Also, when finding a deleted page, %pagecase was not cleared of that page.
This, again, made bestlink return just-deleted pages. Now that is cleared.
Fixing bestlink exposed another issue though. The backlink calculation code
uses bestlink. So when a page was deleted, no backlinks to it are found,
and pages that really did backlink to it were not updated, and had broken
links.
To fix that, the code that actually removes deleted pages had to be split
out from find_del_files, so it can run a bit later. It is run just after
backlinks are calculated. This way, backlink calculation still sees the
deleted pages, but everything afterwards does not.
However, it does not address the original bug report that started this
whole thing, [[bugs/bestlink_returns_deleted_pages]]. Because there
bestlink is run in the needsbuild hook. And that happens before backlink
calculation, and so bestlink still returns deleted pages then. Also in the
scan hook.
If bestlink needs to work consistently during those hooks, a more involved
fix will be needed.
| Joey Hess | 2009-11-30 |