Commit Graph

11239 Commits (04d0a72c09528a4117b2ba641f5fdedbbe2a2171)

Author SHA1 Message Date
Joey Hess 04d0a72c09 typo 2009-10-11 19:05:37 -04:00
Joey Hess a7cb309090 Merge branch 'master' into dependency-types
Conflicts:
	debian/changelog
	doc/plugins/calendar.mdwn
2009-10-11 16:54:23 -04:00
Joey Hess 665da89c27 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-10-11 16:53:07 -04:00
Joey Hess e1939185d2 ikiwiki-calendar: New command automates creation of archive pages using the calendar plugin. 2009-10-11 16:52:54 -04:00
Joey Hess 5cddd8a0a3 typo 2009-10-11 16:04:03 -04:00
Joey Hess 5dba91cdc8 typo 2009-10-11 13:51:23 -04:00
Jogo 22ed3f388b 2009-10-11 04:34:17 -04:00
Jogo 9900d6164a 2009-10-11 03:18:32 -04:00
Jogo 800d165037 2009-10-10 04:22:41 -04:00
trianta 97dd750380 2009-10-10 04:14:18 -04:00
Joey Hess ba00fb319c update 2009-10-09 21:23:39 -04:00
Joey Hess 6d6fff8d87 added tests of SuccessReason/FailReason objects 2009-10-09 21:12:14 -04:00
Joey Hess a169e7b6a8 update 2009-10-09 20:30:22 -04:00
Joey Hess f7ae61c8d2 Merge branch 'master' into dependency-types
Conflicts:
	doc/bugs/transitive_dependencies.mdwn
2009-10-09 20:16:46 -04:00
Joey Hess 36003bad0a add news item for ikiwiki 3.20091009 2009-10-09 20:08:42 -04:00
Joey Hess 5fd345bb1f releasing version 3.20091009 2009-10-09 20:07:32 -04:00
http://www.cse.unsw.edu.au/~willu/ a75591eaa7 response 2009-10-09 18:08:21 -04:00
Joey Hess 2ba8bd3861 remove highlevel influence calculation stuff
I have it implemented in both add_depends and pagespec_match_list.
The add_depends implementation is optimised to only try one page
if the pagespec's influences are all static, and do not vary by page
matched.
2009-10-09 17:19:07 -04:00
Joey Hess 74409f940d add_depends: optimise influence calculation
I made match_* functions whose influences can vary depending on the page
matched set a special "" influence to indicate this.

Then add_depends can try just one page, and if static influences are found,
stop there.
2009-10-09 17:15:40 -04:00
Joey Hess f977eaf394 response 2009-10-09 14:52:03 -04:00
Joey Hess ecbe5576f8 revert 2009-10-09 14:51:02 -04:00
Joey Hess 4ef0b2d77b rework influence calculation
Thought of a cleaner way to accumulate all influences in
pagespec_match_list, using the pagespec_match result object as an
accumulator.

(This also accumulates all influences from failed matches, rather than just
one failed match. I'm not sure if the old method was correct.)
2009-10-09 14:27:11 -04:00
Joey Hess 9eb229bfc7 move influence tests to pagespec_match_list.t 2009-10-09 14:05:22 -04:00
Joey Hess c5e237c013 img: use presence dependency when linking to a page 2009-10-09 13:37:06 -04:00
Joey Hess 1b6b1ee2d8 brokenlinks: use pagespec_match_list 2009-10-09 13:35:11 -04:00
Joey Hess e0b0b57211 fix link 2009-10-09 13:33:49 -04:00
Joey Hess 3807aa298c fix pagespec_match_list handling of list parameter 2009-10-09 13:28:41 -04:00
Joey Hess 6f2cc5ac8c pagespec_match_list: change limit to filter 2009-10-09 13:20:41 -04:00
Joey Hess f9f7a6e9f3 conditional: use pagespec_match_list 2009-10-09 13:07:50 -04:00
Joey Hess 769b78df07 pagespec_match_list allow additional pagespec limit parameters again 2009-10-09 13:02:10 -04:00
Joey Hess c7da991158 indentation 2009-10-09 13:02:03 -04:00
Joey Hess b7351daacd conditional: use yesno 2009-10-09 12:54:35 -04:00
Joey Hess 96682e3084 progress: switch to new pagespec_match_list 2009-10-09 12:48:16 -04:00
Joey Hess c791f84fb5 linkmap: Use new pagespec_match_list 2009-10-09 12:35:41 -04:00
Joey Hess 34b2132355 fix test to use new calling convention
This test still fails several cases, since add_depends influence testing is
currently commented out.
2009-10-09 00:06:58 -04:00
Joey Hess fa82be5524 add pagespec/sorting to underlay 2009-10-09 00:06:40 -04:00
Joey Hess fb3fd6b60f don't link to inline, not available when directives underlay is not enabled 2009-10-09 00:06:08 -04:00
Joey Hess c11b3af189 typo 2009-10-08 23:55:50 -04:00
Joey Hess 5e7b2dea84 rename use_pagespec to pagespec_match_list
To avoid breaking plugins, also support the old pagespec_match_list
calling convention, with a deprecation warning.
2009-10-08 23:51:06 -04:00
Joey Hess 955bcea2a7 fix test broken by change to failing link() influence 2009-10-08 23:48:08 -04:00
Joey Hess 332821144b calendar: rework so it can use use_pagespec
This was tricky because of the caching, and because use_pagespec always
adds a dependency. That would have made year calendars depend on the whole
pagespec, which is overly broad. So I removed the caching, format_month,
and in format_year just look at %pagesources to see if month pages are
available.

In format_month, I make it always call use_pagespec, so each month calendar
gets the right dependency and any influcences added. This means a bit more
work, but the added work is fairly minimal, and presence dependencies
remove a *lot* of work it used to do.

(100% untested!)
2009-10-08 23:30:34 -04:00
http://www.cse.unsw.edu.au/~willu/ 6533bec35a Yet another tweak to the formal definition. Much better this time. 2009-10-08 22:59:34 -04:00
Joey Hess 80ab1dbc12 postsparkline: switch to use_pagespec
Also, fixed up the dependency type for time=mtime. That has
to remain a content dependency, sadly.
2009-10-08 22:56:36 -04:00
Joey Hess 3be7a02e7d orphans: switch to use_pagespec 2009-10-08 22:56:12 -04:00
http://www.cse.unsw.edu.au/~willu/ 4299f22ae8 Another tweak to the formal definition. 2009-10-08 22:36:29 -04:00
Joey Hess 0e2ce171c9 response 2009-10-08 22:31:13 -04:00
http://www.cse.unsw.edu.au/~willu/ d73c54b9a7 comments on cycles in the dependency graph 2009-10-08 21:30:17 -04:00
http://www.cse.unsw.edu.au/~willu/ a198c89e8f Minor comment 2009-10-08 21:09:08 -04:00
Joey Hess 57d04ed892 fix feedpages dependency
This dependency was missing before switching to use_pagespec.
It is correct to add it, but it needs to be combined with the regular
"pages" dependency to ensure that it does not match extra pages.

(Also fixed its dependency type.)
2009-10-08 20:55:12 -04:00
Joey Hess 37ec6a8243 Merge branch 'master' into dependency-types
Conflicts:
	IkiWiki.pm
	IkiWiki/Render.pm
	debian/changelog
2009-10-08 20:33:58 -04:00