aboutsummaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAge
* * Support htmlize plugins and make mdwn one such plugin, which is enabled byjoey2006-07-03
| | | | default (of course!). Based on a patch by Faidon Liambotis.
* * POSIX::strftime doesn't know about encodings and doesn't return a utf8joey2006-07-02
| | | | | | | | | | | | | | flagged string even if the locale causes it to generate utf8 output, so make sure to let perl know it should be handled as utf8. Also, the optimised version used for standard time formats won't work if the user has changed locale, so drop it. Thanks, Faidon Liambotis. * Fix re-encoding of the comments field to utf8 if a commit fails due to a conflict. Thanks, Faidon Liambotis. * Let svn know that commits have utf8 commit messages. Thanks, Faidon Liambotis. * Add insane double encode/decode to utf8 around call to markdown. This works around a truely strange bug, which is apparently a bug in perl, which I lack space to describe here (see t/crazy-badass-perl-bug.t)
* FUCK UTF8 fuck fuck fuck!!!joey2006-07-02
| | | | | (and perl)
* add a testcase for the weird markdown utf-8 crasher to make sure thatjoey2006-06-16
| | | | | ikiwiki continues to work around it
* * -CSD does not affect modules, so readfile() was not using the utf-8 inputjoey2006-06-15
| | | | | | | | | | | layer, which led to lots of problems; make it force read files as utf-8. Closes: #373203 * writefile() likewise needs to use the utf8 output layer. * Remove the -CSD from ikiwiki's hashbang since it's useless to have it there. * Revert some of the decode_utf8 changes in CGI.pm that seem unnecessary given the readfile fix. * Add utf-8 testcases for readfile and htmlize.
* * --getctime had bitrotted (well I only ever used it the once so far..),joey2006-05-26
| | | | | | | | | | | | * 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.)
* * Rebuilding on upgrade to this version is recommended.joey2006-05-26
| | | | | | | | * Add a html validity check to the test suite, using the wdg-html-validator, if available. * Make the html valid when there is nothing in the actions list by adding an empty <li> to the end of it. * Reordered some function call parameters for consistency.
* dirname, basename, bestlink, linkify, pagetitle, titlepage.joey2006-05-04
| | | | | * Allow links of the form [[some page|page]], with whitespace in the link text.
* add a syntax checkjoey2006-05-03
|
* addjoey2006-05-02
|
* * Add unit tests for several core functions, including globlist_match,joey2006-05-02
| | | | | dirname, basename, and bestlink. as plugins and work. (Well, in theory.)
* ah, the joys of test-based development..joey2006-05-02
| | | | | think I have smart glob list matching working ok
* * Add a unit test for globlist_match().joey2006-05-02