Commit Graph

9548 Commits (f11d67ebd02ee8dfe8f47bc54c98f59e12be2cf2)

Author SHA1 Message Date
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
Joey Hess 39717d0dbf Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-05-05 14:25:08 -04:00
Joey Hess 7f6ebcd53e response 2009-05-05 14:24:55 -04:00
http://lj.rossia.org/users/imz/ 31240a9dd6 minor: fix URL 2009-05-05 14:24:41 -04:00
http://lj.rossia.org/users/imz/ e92ecd3e27 almost offtopic: is this actually a violation? 2009-05-05 14:21:38 -04:00
http://liw.fi/ 7633cc8474 2009-05-05 14:16:57 -04:00
Joey Hess 5636b62829 ikiwiki-makerepo: Avoid using abs_path, as it apparently fails on nonexistant directories with some broken perl versions. 2009-05-05 14:15:28 -04:00
Joey Hess 72736b5e72 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2009-05-05 13:57:00 -04:00
http://lj.rossia.org/users/imz/ 0ee6705413 minor: trying to format the "verbatims" correctly 2009-05-05 13:46:25 -04:00
http://lj.rossia.org/users/imz/ 3a0d736412 added a clarifiaction about my understanding of what happens 2009-05-05 13:44:18 -04:00
http://lj.rossia.org/users/imz/ 39679d3a53 a problem with /etc/ikiwiki/auto.setup, perl and non-existent paths 2009-05-05 13:39:59 -04:00
http://stefano.zacchiroli.myopenid.com/ 50d6abf28b 2009-05-05 04:41:15 -04:00
Joey Hess 5e5bb93adb turn python-support back on
Should wait to upload until ikiwiki is fixed in testing.
2009-05-04 19:17:59 -04:00
Joey Hess dd175cda87 add news item for ikiwiki 3.11 2009-05-04 16:35:59 -04:00