Commit Graph

9611 Commits (362524e2d44df917591c1d6ba6829613773777f7)

Author SHA1 Message Date
http://lj.rossia.org/users/imz/ e31a9c4d09 minor: style. 2009-05-14 11:07:55 -04:00
http://lj.rossia.org/users/imz/ 8e7b011384 Comment: this patch doesn't work correctly. 2009-05-14 11:06:49 -04:00
Jon Dowland 4bafe93e32 remove plugin and vcs rm failure reporting 2009-05-14 14:56:27 +01:00
http://jmtd.net/ facee6e83e quote depth 2009-05-14 08:34:23 -04:00
http://jmtd.net/ b67bd17a03 javascript rough approach 2009-05-14 08:31:18 -04:00
http://lj.rossia.org/users/imz/ d04a37be96 Q: Place for local templates 2009-05-14 06:38:42 -04:00
http://lj.rossia.org/users/imz/ e29d35f401 Wikilinked a "term". 2009-05-14 06:30:08 -04:00
http://lj.rossia.org/users/imz/ cb3cb16d9c better targets for link in the prev.edit 2009-05-13 22:00:16 -04:00
http://lj.rossia.org/users/imz/ 24857352b1 fix the prev.edit: only abs.path will work 2009-05-13 21:58:19 -04:00
http://lj.rossia.org/users/imz/ d5a97dde27 better link targets 2009-05-13 21:57:25 -04:00
http://lj.rossia.org/users/imz/ 21ae50ffeb tagging 2009-05-13 21:54:37 -04:00
http://lj.rossia.org/users/imz/ 19cb93507b tagging (to find this page easier when studying ikiwiki) 2009-05-13 21:51:55 -04:00
http://lj.rossia.org/users/imz/ 0c52e59208 minor formatting 2009-05-13 19:46:05 -04:00
http://lj.rossia.org/users/imz/ f11d67ebd0 Q&A: using a local wiki to preview changes: an srcdir needed? 2009-05-13 19:44:27 -04:00
http://liw.fi/ 815ed1edec 2009-05-13 02:26:05 -04:00
http://liw.fi/ 191ec0561b 2009-05-13 02:24:11 -04:00
Joey Hess 83961e4668 response 2009-05-12 14:15:34 -04:00
Joey Hess 8308ee4f42 add missing new file 2009-05-12 13:33:57 -04:00
Joey Hess 6d95b447f2 remove, wrong version 2009-05-12 13:31:58 -04:00
Joey Hess 0162d9f614 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-05-12 13:30:54 -04:00
Joey Hess 9a5b1c0f32 add news item for ikiwiki 3.13 2009-05-12 13:30:44 -04:00
PaulePanter 72e074d895 question or bug regarding toggle and list item 2009-05-12 10:13:07 -04:00
http://ptecza.myopenid.com/ 513502b3b1 * Ikiwiki 3.12 2009-05-12 07:17:18 -04:00
http://liw.fi/ 691c0a1af9 2009-05-12 01:36:06 -04:00
http://zwol.livejournal.com/ 359d6234d9 2009-05-11 02:30:16 -04:00
mgpfxfgaqo 929ac1361d problem is the height 2009-05-10 17:03:42 -04:00
simonraven 13ea4d6b45 2009-05-09 15:47:17 -04:00
simonraven 866dbb3143 2009-05-09 15:38:53 -04:00
simonraven 7402dc48b7 2009-05-09 15:21:30 -04:00
Thomas Schwinge 6dd8812344 The GNU Hurd pages have long been converted to ikiwiki. 2009-05-08 22:30:36 +02:00
tschwinge e17f925cf4 Usage information. 2009-05-08 16:20:59 -04:00
Joey Hess 6d0498658a response 2009-05-08 15:30:35 -04:00
mgpfxfgaqo 6a7a279b18 edit form: no fixed size for textarea 2009-05-08 13:43:07 -04:00
Joey Hess 4291f2e3d7 Allow underlaydir to be overridden without messing up inclusion of other underlays via add_underlay. 2009-05-07 14:02:52 -04:00
Joey Hess 9f5f5543bf ikiwiki-transition: If passed a nonexistant srcdir, or one not containing .ikiwiki, abort with an error rather than creating it. 2009-05-06 20:46:26 -04:00
Joey Hess fdfaa1b515 add NEWS 2009-05-06 13:17:01 -04:00
Joey Hess d83a7f5259 remove old news pages 2009-05-06 13:16:29 -04:00
Joey Hess 1367a73fdb releasing version 3.12 2009-05-06 13:13:54 -04:00
Joey Hess 838955aba4 remove pagespec_match_list override for external
Not needed since it returns a list of pages, not a fail/success object.
2009-05-06 13:13:01 -04:00
Joey Hess 3c66e1552b Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-05-06 13:07:06 -04:00
Joey Hess d3188a04ff external: Fix pagespec_match and pagespec_match_list. Closes: #527281 2009-05-06 12:57:37 -04:00
http://smcv.pseudorandom.co.uk/ 6f991c7a1c 2009-05-06 06:11:53 -04:00
Jon Dowland 6cea66e2d8 remove test page (see /sandbox) 2009-05-06 10:13:21 +01:00
Joey Hess 2a7721febd Avoid %links accumulating duplicates. (For TOVA)
This is sorta an optimisation, and sorta a bug fix. In one
test case I have available, it can speed a page build up from 3
minutes to 3 seconds.

The root of the problem is that $links{$page} contains arrays of
links, rather than hashes of links. And when a link is found,
it is just pushed onto the array, without checking for dups.

Now, the array is emptied before scanning a page, so there
should not be a lot of opportunity for lots of duplicate links
to pile up in it. But, in some cases, they can, and if there
are hundreds of duplicate links in the array, then scanning it
for matching links, as match_link and some other code does,
becomes much more expensive than it needs to be.

Perhaps the real right fix would be to change the data structure
to a hash. But, the list of links is never accessed like that,
you always want to iterate through it.

I also looked at deduping the list in saveindex, but that does
a lot of unnecessary work, and doesn't completly solve the problem.

So, finally, I decided to add an add_link function that handles deduping,
and make ikiwiki-transition remove the old dup links.
2009-05-06 00:27:24 -04:00
Joey Hess 1c7c9e95f2 decruft 2009-05-05 23:27:29 -04:00
Joey Hess 968598b1bb Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-05-05 23:26:15 -04:00
http://ghee.livejournal.com/ a258e92c78 meh 2009-05-05 23:09:20 -04:00
Joey Hess c7303303f2 remove cruft that crept in during a debugging session 2009-05-05 20:13:40 -04:00
Joey Hess e77d0030d6 inline: Minor optimisation.
When finding the pageurl, it was calling bestlink unnecessarily.
Since at this point $page contains the full name of the page that
is being inlined, there is no need to do bestlink's scan
for it.

This is only a minor optimisation, since bestlink is only called
once per displayed, inlined page.
2009-05-05 20:06:50 -04:00
Joey Hess ad2f1805a9 response 2009-05-05 14:28:42 -04:00