summaryrefslogtreecommitdiff
path: root/t
AgeCommit message (Collapse)Author
2010-04-12more tests with more itemsJoey Hess
2010-04-11optimization: pagespec_match_list with no num limit matches before sortingJoey Hess
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.
2010-04-10fix testsuiteJoey Hess
typedlink matchspec was removed
2010-04-06Merge remote branch 'smcv/ready/sort-package'Joey Hess
Conflicts: debian/NEWS
2010-04-05Use $a and $b for SortSpec cmp callbacksSimon McVittie
2010-04-04Add a unit test for changed-link calculationSimon McVittie
2010-04-04Remove tagged_is_strict option, and just behave as though it was enabledSimon McVittie
Jon was worried about the backwards-compatibility break involved in making tagged() not match non-tag links, but Joey seems less concerned about it.
2010-04-04implement typed links; add tagged_is_strict config optionSimon McVittie
2010-04-03Move sort hooks to the IkiWiki::SortSpec namespaceSimon McVittie
Also rename cmpspec_translate (internal function) to sortspec_translate for consistency.
2010-03-26Fix incorrect influence info returned by a failing link() pagespec, that ↵Joey Hess
could lead to bad dependency handling in certian situations.
2010-03-25Reimplement extensible sorting mechanisms, in the same way as pagespecsSimon McVittie
2010-03-24Allow sorting to be combined and/or reversedSimon McVittie
2010-03-24Allow hooks to add sorting functions to pagespec_match_listSimon McVittie
2010-03-14updateJoey Hess
2010-03-13Improve openid url munging; do not display anchors and cgi parameters, as ↵Joey Hess
used by yahoo and google urls.
2010-02-26Loosen regexp, to allow empty quoted parameters in directives.Joey Hess
2010-02-11add some openid matching testsJoey Hess
2010-02-11Allow globs to be used in user() pagespecs.Joey Hess
2009-11-30fix test suite after bestlink changeJoey Hess
2009-10-15override LC_ALL, not LANGJoey Hess
2009-10-14build wiki in C locale, to ensure that the "no broken links" message is not ↵Joey Hess
translated
2009-10-14abort test if cvs prereq perl modules are not availableJoey Hess
2009-10-13fix some broken influence blocking testing, add more testsJoey Hess
2009-10-13tests for influence blockingJoey Hess
2009-10-11add some TODO tests for influence blockingJoey Hess
2009-10-11influences returns hash ref nowJoey Hess
2009-10-11typoJoey Hess
2009-10-11typoJoey Hess
2009-10-09updateJoey Hess
2009-10-09added tests of SuccessReason/FailReason objectsJoey Hess
2009-10-09move influence tests to pagespec_match_list.tJoey Hess
2009-10-09conditional: use yesnoJoey Hess
2009-10-09fix test to use new calling conventionJoey Hess
This test still fails several cases, since add_depends influence testing is currently commented out.
2009-10-08rename use_pagespec to pagespec_match_listJoey Hess
To avoid breaking plugins, also support the old pagespec_match_list calling convention, with a deprecation warning.
2009-10-08fix test broken by change to failing link() influenceJoey Hess
2009-10-08use_pagespec: do not fail with error when unable to match, unless it failsJoey Hess
with an ErrorReason
2009-10-08add use_pagespec and deptype functionsJoey Hess
2009-10-07add type info to influence informationJoey Hess
2009-10-07convert add_depends to use influencesJoey Hess
No more horrible special-case pagespec parsing. OTOH, matching over all pages to determine influences is a lot of work.
2009-10-07more influences testsJoey Hess
2009-10-07add influence info to match_*Joey Hess
Also update docs, test suite.
2009-10-07make success and failreason objects carry an influences hashJoey Hess
The hash will be used used to record a set of pages that influenced the result of a pagespec match. The influences are merged together when boolean and/or are encountered in a pagespec. That means using a non-short-circuiting OR operator. And so I use & and | when translating pagespecs, since those bitwise operators can be overloaded. ("and" and "or" cannot, apparently).
2009-10-06add_depends should default to content dependencies if unknown type specifiedJoey Hess
2009-10-06update to test backlinks() pagespecsJoey Hess
2009-10-04add test suite for add_dependsJoey Hess
and found a bug in my bitmath..
2009-09-13fix CVS prune testJoey Hess
The regexp only matches things inside the CVS directory, not just "CVS" by itself. I changed the test to not test that it will be pruned.
2009-09-10skip if cvsps is not availableJoey Hess
2009-09-10CVS operations generally need to be within CVS checkouts, so these chdir()Amitai Schlair
calls are warranted. They shouldn't modify the caller's working directory, though. Use File::chdir to keep the scope of the changes subroutine-local. The tests now pass without resetting the working directory.
2009-09-09Add automated tests, modeled after svn's. Note the chdir() calls;Amitai Schlair
perhaps cvs.pm should be doing pushd/popd in case the caller expects its working directory to be left alone.
2009-08-30Merge branch 'master' of git://github.com/joeyh/ikiwikiAmitai Schlair