Add path and path_natural sort orders
These correspond to title and title_natural, but compare the entire
path: a < a/b < a/z < ab < b.
(cherry picked from commit 903a5a314f1f5d833dbc208ce128f24195b40e4b)
fix test cases for dynamic influence calculation2010-04-22T04:07:25ZJoey Hessjoey@kitenet.netJoey Hessjoey@kitenet.net2010-04-22T04:07:25Zhttp://git.oblomov.eu/ikiwiki/commitdiff/ef34ea7c05189db8952b08d78aad718ccb64475a
added a test case for this bug2010-04-22T03:08:54ZJoey Hessjoey@kitenet.netJoey Hessjoey@kitenet.net2010-04-22T03:08:54Zhttp://git.oblomov.eu/ikiwiki/commitdiff/c98414e192285b2607ee9fcb27f0e8e00db5fb26
added a test case for this bug
Further analysis suggests fixing this might not be as dreadful as I first
thought!
more tests with more items2010-04-12T19:16:57ZJoey Hessjoey@gnu.kitenet.netJoey Hessjoey@gnu.kitenet.net2010-04-12T19:16:57Zhttp://git.oblomov.eu/ikiwiki/commitdiff/f5da8d3aed4b710983c7492cf708d0c874bce9e7
optimization: pagespec_match_list with no num limit matches before sorting2010-04-11T05:30:03ZJoey Hessjoey@gnu.kitenet.netJoey Hessjoey@gnu.kitenet.net2010-04-11T05:30:03Zhttp://git.oblomov.eu/ikiwiki/commitdiff/0bfc364a7df124509855b8ed0b1b33ab5bc9ebbb
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.
Use $a and $b for SortSpec cmp callbacks2010-04-05T21:50:51ZSimon McVittiesmcv@debian.orgSimon McVittiesmcv@debian.org2010-04-05T21:50:51Zhttp://git.oblomov.eu/ikiwiki/commitdiff/cb8b2f80b2f8c91eba3f3a6a5b9913ab80326df8
Move sort hooks to the IkiWiki::SortSpec namespace2010-04-03T12:57:38ZSimon McVittiesmcv@debian.orgSimon McVittiesmcv@debian.org2010-04-03T12:57:38Zhttp://git.oblomov.eu/ikiwiki/commitdiff/04a59b3c65e8e60805b6ed6d11d448b1d5babe64
Move sort hooks to the IkiWiki::SortSpec namespace
Also rename cmpspec_translate (internal function) to sortspec_translate
for consistency.
Reimplement extensible sorting mechanisms, in the same way as pagespecs2010-03-25T23:31:53ZSimon McVittiesmcv@debian.orgSimon McVittiesmcv@debian.org2010-03-25T23:31:53Zhttp://git.oblomov.eu/ikiwiki/commitdiff/b86276ffed7ee001b35cd610e5d56e5afb4088cf
Reimplement extensible sorting mechanisms, in the same way as pagespecs
Allow sorting to be combined and/or reversed2010-03-24T23:51:48ZSimon McVittiesmcv@debian.orgSimon McVittiesmcv@debian.org2010-03-24T23:51:48Zhttp://git.oblomov.eu/ikiwiki/commitdiff/60edd2dc3157f756f4f7a213ee15836fe7bbb769
Allow hooks to add sorting functions to pagespec_match_list2010-03-24T00:29:10ZSimon McVittiesmcv@debian.orgSimon McVittiesmcv@debian.org2010-03-24T00:29:10Zhttp://git.oblomov.eu/ikiwiki/commitdiff/e67a9382f67e745af3be7d367fe7a0d36c1777e6
Allow hooks to add sorting functions to pagespec_match_list
add some TODO tests for influence blocking2009-10-12T03:53:21ZJoey Hessjoey@gnu.kitenet.netJoey Hessjoey@gnu.kitenet.net2009-10-12T03:53:21Zhttp://git.oblomov.eu/ikiwiki/commitdiff/139085b3f294f3a8e3fd1663aa232a9e901ca3e1
rename use_pagespec to pagespec_match_list2009-10-09T03:51:06ZJoey Hessjoey@gnu.kitenet.netJoey Hessjoey@gnu.kitenet.net2009-10-09T03:51:06Zhttp://git.oblomov.eu/ikiwiki/commitdiff/5e7b2dea84a35163b599b88efc02cd7ef3e0ad46
rename use_pagespec to pagespec_match_list
To avoid breaking plugins, also support the old pagespec_match_list
calling convention, with a deprecation warning.