Commit Graph

8547 Commits (027d28a6a1795b5b1b81aa381793f225682cc0e5)

Author SHA1 Message Date
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 e0b0b57211 fix link 2009-10-09 13:33:49 -04:00
Joey Hess 6f2cc5ac8c pagespec_match_list: change limit to filter 2009-10-09 13:20:41 -04:00
Joey Hess 769b78df07 pagespec_match_list allow additional pagespec limit parameters again 2009-10-09 13:02:10 -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 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
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
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 37ec6a8243 Merge branch 'master' into dependency-types
Conflicts:
	IkiWiki.pm
	IkiWiki/Render.pm
	debian/changelog
2009-10-08 20:33:58 -04:00
Joey Hess 32cd5f0b79 inline: switch to use_pagespec
Taking advantage of every single one of its features, of course.
Even had to add one more..
2009-10-08 18:30:50 -04:00
Joey Hess 65d57902ca add sorting page 2009-10-08 18:18:34 -04:00
Joey Hess 4b8ca7cfc1 update 2009-10-08 18:00:10 -04:00
Joey Hess 5e236f5d25 add use_pagespec and deptype functions 2009-10-08 17:53:20 -04:00
Joey Hess 3948b42238 found a way to get false positive influences 2009-10-08 15:33:47 -04:00
Joey Hess 586c35de30 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-10-08 13:56:54 -04:00
Joey Hess 3baf6980aa update 2009-10-08 13:55:10 -04:00
http://shoorick.livejournal.com/ e82aeb3e43 2009-10-08 13:07:41 -04:00
http://www.larted.org.uk/~dom/ 79f3e32ea7 add cpanrt 2009-10-08 11:38:34 -04:00
http://www.cse.unsw.edu.au/~willu/ 57d694046f Tweaks 2009-10-08 07:26:01 -04:00
http://smcv.pseudorandom.co.uk/ 808c699961 2009-10-08 06:38:40 -04:00
Joey Hess b91ccb4963 update 2009-10-08 04:06:53 -04:00
http://www.cse.unsw.edu.au/~willu/ 61105cca4f Questions... 2009-10-08 01:33:23 -04:00
Joey Hess 5f9860e65c add type info to influence information 2009-10-07 21:52:37 -04:00
Joey Hess 83b9bf54ec Merge branch 'master' into dependency-types 2009-10-07 21:26:57 -04:00
Joey Hess f7601954a8 update 2009-10-07 21:26:50 -04:00
Joey Hess 43a8b40032 influences calculation implemented 2009-10-07 20:36:25 -04:00
Joey Hess 4002d7c1a4 add influence info to match_*
Also update docs, test suite.
2009-10-07 20:31:13 -04:00
Joey Hess 76746c5fe6 Merge branch 'master' into dependency-types 2009-10-07 20:02:43 -04:00
Joey Hess 4528b95d25 mention that pagespec_match returns an overloaded value 2009-10-07 18:06:49 -04:00
Joey Hess d1061d0094 Merge branch 'master' into dependency-types 2009-10-07 18:04:52 -04:00
Joey Hess 4e7e4e4306 a theory of pagespec influence lists, for Will's perusal 2009-10-07 18:04:13 -04:00
Jogo 7abd079bc0 2009-10-07 15:22:32 -04:00
Joey Hess 88a244a523 close 2009-10-07 14:30:19 -04:00
Joey Hess 7e1fc67be6 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-10-07 14:26:45 -04:00
Joey Hess a09c79ccf1 problem with explicit, presence dependencies 2009-10-07 14:25:45 -04:00
Joey Hess 8fa0cfced9 remove test case for closed bug 2009-10-07 14:11:35 -04:00
Joey Hess 0fb4474cf8 limit to discussion pages of blog posts, not whole wiki 2009-10-07 13:55:02 -04:00
Thomas Schwinge 93ddca3e9c Make it obvious for the reader of the rendered page that the debbug shortcut links to Debian bug reports. 2009-10-07 19:54:46 +02:00
Thomas Schwinge a48b59a4af Use %S instead of %s for the debbug shortcut, so that things like [[!debbug 522689#38]] work as expected. 2009-10-07 19:53:28 +02:00
Joey Hess 0ebb44955a Merge branch 'master' into dependency-types 2009-10-07 13:36:40 -04:00
Joey Hess 66e894c877 thoughts 2009-10-07 13:35:48 -04:00
Joey Hess b6b7dc3a43 Merge branch 'master' into dependency-types 2009-10-07 13:00:54 -04:00
http://www.cse.unsw.edu.au/~willu/ 3d609928e5 Comments (maybe not so helpful - sorry) 2009-10-07 02:40:32 -04:00
Joey Hess 61977ac97b Merge branch 'master' into dependency-types
Conflicts:
	doc/todo/dependency_types.mdwn
2009-10-06 20:20:45 -04:00
Joey Hess d8607f5e73 update 2009-10-06 20:20:05 -04:00
Joey Hess 0582365a56 notes on removal problem 2009-10-06 20:19:17 -04:00
Joey Hess 348a6aaee3 pagespec for links dependencies 2009-10-06 18:20:11 -04:00
Joey Hess af85f62d6f linkmap: Use a combination of presence and link dependencies.
This makes the map be regenerated much less frequently, so larger maps are
more practical to use now.
2009-10-06 17:47:10 -04:00
Joey Hess 9f4c5d2466 new todo 2009-10-05 22:59:33 -04:00
Joey Hess 534518792d update 2009-10-05 22:30:14 -04:00
Joey Hess 0cb9e588e4 add among limit to pagestats 2009-10-05 21:24:02 -04:00
Joey Hess 7a520974b5 uh oh, this affects link deps 2009-10-05 17:44:15 -04:00
Joey Hess cdd7334c31 close 2009-10-05 17:15:37 -04:00
Joey Hess 4dd289ba31 fixed a while ago 2009-10-05 17:12:38 -04:00
Joey Hess 7ee7773e2a Merge branch 'master' into dependency-types 2009-10-05 17:11:08 -04:00
Joey Hess bf10130165 close 2009-10-05 17:11:03 -04:00
Joey Hess ba71687077 note that this old bug affects more stuff now 2009-10-05 17:10:00 -04:00
Joey Hess 031d1bf504 use among limit for correctness 2009-10-05 17:03:16 -04:00
Joey Hess ff2aa982c3 Merge branch 'master' into dependency-types 2009-10-05 16:47:40 -04:00
Joey Hess 786dcf15c4 responses, questions, ideas 2009-10-05 16:47:12 -04:00
Joey Hess 34c72f2162 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-10-05 16:19:58 -04:00
Joey Hess 4b2eaac156 response 2009-10-05 16:18:54 -04:00
http://smcv.pseudorandom.co.uk/ 3a188c047b thoughts about renaming the actual images to .albumimage 2009-10-05 16:08:19 -04:00
Joey Hess 61a36de432 closures 2009-10-05 15:40:18 -04:00
Joey Hess e7144e918f clarify amoung
I found it really hard to understand from the old description..
2009-10-05 15:36:51 -04:00
Joey Hess f7d04d1067 switch plugins page to use a map instead of an inline
A map just seems a better fit for reference, since it deliniates the
contrib plugins better, and orders better.

It also has the advantage of being less expensive, since the plugins page
does not need to update when eg, the pagecount page changes.

Only downside is, no rss feed of new plugins. Which I know a few people
were subscribed to.
2009-10-05 15:26:15 -04:00
Joey Hess d6cdced589 fix documentation of quick
It *always* turns off feeds, because feeds require a look
at all pages.
2009-10-05 15:22:17 -04:00
Joey Hess dc6fab3824 syntax 2009-10-05 15:17:36 -04:00
Joey Hess fc864515b8 omit forum and javascript from list 2009-10-05 15:16:14 -04:00
Joey Hess c6bf4228d5 make links dependencies fire if broken links change 2009-10-05 15:01:05 -04:00
Jon Dowland b8fae0ec39 another UI issue I'm interested in 2009-10-05 15:27:41 +01:00
Jon Dowland bccea01c07 would you accept patches for this? 2009-10-05 15:27:03 +01:00
Jon Dowland 204e733d79 good work, thank you! 2009-10-05 15:17:11 +01:00
Joey Hess d3e0a54344 Merge branch 'master' into dependency-types 2009-10-04 20:37:09 -04:00
Joey Hess bcad00b046 update, add spec for link dependencies 2009-10-04 20:35:26 -04:00
Joey Hess be032a7b87 rework dependency types code
Simplify, change default content depends number to 1,
change interface to make more sense.
2009-10-04 20:30:21 -04:00
Joey Hess b0314296a8 update 2009-10-04 16:40:36 -04:00
Joey Hess 4a20402ba0 update 2009-10-04 16:36:39 -04:00
Joey Hess d5357374c9 Merge branch 'master' into dependency-types 2009-10-04 16:28:51 -04:00
Joey Hess a8af271e5a document effect of contentless dependencies on sidebar efficiency 2009-10-04 16:28:14 -04:00
Joey Hess cda8592a5f Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-10-04 16:19:54 -04:00
Joey Hess 6f1ebdd692 update 2009-10-04 15:53:54 -04:00
http://kaizer.se/ 7b692b5d6e Updated pproc-indent by catching only indent at beginning of line 2009-10-04 14:43:38 -04:00
Joey Hess ba11568f1e response 2009-10-03 17:43:23 -04:00
Joey Hess bd958f91a2 did a scratch implementation of dependancy types, but found it more complex 2009-10-03 17:38:47 -04:00
Joey Hess c7bdd17087 clarify 2009-10-03 17:17:48 -04:00
Joey Hess fd9d968024 document add_depends dependency type interface 2009-10-03 15:37:57 -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
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