Commit Graph

11053 Commits (fd9d9680242c0d1c835fc56f969f8e2a2618a5de)

Author SHA1 Message Date
Joey Hess fd9d968024 document add_depends dependency type interface 2009-10-03 15:37:57 -04:00
Joey Hess 5c9f65a672 set dependency hash value properly for new dependency types
Just "1" won't cut it anymore; we need to list all the dependency types.
2009-10-03 15:37:15 -04:00
Joey Hess dc4e44adf1 pagecount: Use contentless dependency
This will avoid lots of unnecessary updates of pages using the pagecount
directive. Yay!
2009-10-03 15:36:23 -04:00
Joey Hess 743f69c675 add dependency type parameters to add_depends
Dependency types are represented by bits in the values of the %depends
and %depends_simple hashes.

Change the dependslist array saved to the index to a depends hash.
depends_simple is also converted from an array to a hash.

Note that the depends field used to be a string, and we still
have compat code to handle upgrades from that, as well as from the arrays.
I didn't use ikiwiki-transition because I don't want ikiwiki to break if
users forget to run it; also we're going to recommend a full rebuild on
upgrade to this version to get the improved dependency handling. So
this compat code can be removed or moved to ikiwiki-transition later.
2009-10-03 15:31:51 -04:00
Joey Hess ffa73790b5 Fix a bug that could lead to duplicate links being recorded for tags.
Here I was bitten by perl's aliasing of foreach variables
to the loop array contents, and match_link accidentially changed
the contents of %links.

In Jon's testcase, a tag added an absolute link, which was
made relative by the above bug, and then the link was added
again in preprocess, and turned into a duplicate.
2009-10-03 14:16:28 -04:00
Joey Hess e4eca63767 do not need to qualify %links 2009-10-03 14:01:19 -04:00
http://www.cse.unsw.edu.au/~willu/ 5de7ba8291 response 2009-10-03 01:39:06 -04:00
Joey Hess 9673806a6d consistency with edittemplate? 2009-10-02 18:58:07 -04:00
Joey Hess db64972b65 combine with pagetemplate? 2009-10-02 18:51:52 -04:00
Joey Hess 6e133959bc fix wording here too 2009-10-02 18:47:15 -04:00
Joey Hess 82ae1372a4 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-10-02 18:46:10 -04:00
Joey Hess 7ef22f2596 improve wording 2009-10-02 18:45:56 -04:00
http://www.cse.unsw.edu.au/~willu/ 06a1ad7e76 Add reference to new plugin 2009-10-02 18:28:11 -04:00
http://jmtd.livejournal.com/ 1ead5f7987 2009-10-02 17:31:40 -04:00
http://jmtd.livejournal.com/ 1d0d98eec4 wishlist/todo item: disable/enable directives by pagespec 2009-10-02 17:30:46 -04:00
http://jmtd.livejournal.com/ a56fd6fde9 +bugs/ backlinks onhover thing can go weird 2009-10-02 17:25:18 -04:00
http://jmtd.livejournal.com/ c1ca46a785 response 2009-10-02 17:23:37 -04:00
Joey Hess 1df5c5a22c fix 2009-10-02 16:22:47 -04:00
Joey Hess 8c2d221ca9 split off todo item for multiple dependency types 2009-10-02 16:17:56 -04:00
Joey Hess 8bb94bb197 split out dependency type issue into its own todo 2009-10-02 15:56:44 -04:00
Joey Hess 4c88d42762 mention loop optimisation 2009-10-02 15:48:47 -04:00
Joey Hess 537824a279 fix branch name 2009-10-02 15:46:27 -04:00
Joey Hess 53a8aeb1d1 implemented one fix in transitive-dependencies branch, but not really happy with it 2009-10-02 15:45:14 -04:00
Joey Hess 4f9c5896b2 add bug about transitive dependencies 2009-10-02 15:15:23 -04:00
Joey Hess 49f0745050 didn't we already close this bug? Yes, we did. hmm 2009-10-02 15:05:40 -04:00
Joey Hess 10ef209136 followup 2009-10-02 15:02:02 -04:00
Joey Hess 44b23e9f4a Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-10-02 14:55:37 -04:00
http://jmtd.livejournal.com/ e0bb2396b5 +bugs/ the login page is unclear when multiple methods exist 2009-10-02 14:24:03 -04:00
http://jmtd.livejournal.com/ b2f3514029 opinion about login page clarity 2009-10-02 14:22:47 -04:00
http://jmtd.livejournal.com/ b9b4bb5cb9 weird tag/brokenlinks bug 2009-10-02 14:20:35 -04:00
Joey Hess 547bbebcbc Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-10-02 14:06:55 -04:00
http://jmtd.livejournal.com/ b9b06d9303 2009-10-02 13:53:52 -04:00
Joey Hess 1c5a9c0cc8 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-10-02 12:38:02 -04:00
Joey Hess 0c6648f02c mirrorlist: Display nothing if list is empty. 2009-10-02 12:37:53 -04:00
http://weakish.pigro.net/ 827c2c8bbe add link 2009-10-02 09:56:37 -04:00
http://jmtd.livejournal.com/ d902444875 remove some unintended wikilinks 2009-10-02 09:11:11 -04:00
http://jmtd.livejournal.com/ e29950ded6 remove unintended wikilink 2009-10-02 09:08:22 -04:00
Ulrik Sverdrup 009f7ffded link to docutils mailing list discussion. also ask about <p>[[!directives]]</p> 2009-10-02 15:03:14 +02:00
test 4b8dd76372 2009-10-01 15:28:31 -04:00
Ulrik Sverdrup 9584dfddd8 Link to trac's Wiki-RestructuredText syntax description 2009-10-01 14:55:36 +02:00
martin f62de29638 documentation seems inaccurate 2009-10-01 08:12:49 -04:00
http://certifi.ca/lunix 1837abd404 empty page 2009-10-01 08:07:38 -04:00
http://weakish.pigro.net/ bef2011cbd checking external links seems not practical 2009-10-01 05:57:53 -04:00
http://weakish.pigro.net/ 13940c5773 [patch] add an option to determine whether put autoindex pages in repo or not 2009-10-01 05:48:09 -04:00
http://weakish.pigro.net/ d4511f730e add my openid 2009-10-01 05:36:09 -04:00
Ulrik Sverdrup f8ad5988da clarifications. and indent one of joey's oneliner responses. 2009-09-30 21:59:11 +02:00
Joey Hess e7de3f0762 furthermore 2009-09-30 15:45:16 -04:00
Joey Hess 54f352bb74 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-09-30 15:40:15 -04:00
Joey Hess e04e9ccea9 response 2009-09-30 15:39:51 -04:00
http://kaizer.se/ 0159612ee0 minimal user page for this guy 2009-09-30 15:29:40 -04:00