Simon McVittie
1ea8580a5f
Remove now-unused function pagespec_merge
...
Now that dependencies are a list of pagespecs with an implicit "or"
operation, there's no need to try to merge pagespecs under normal use.
ikiwiki-transition contains the only use of the function, so move
it there rather than deleting it entirely (it's used to concatenate all
admins' lists of locked pages).
2009-08-25 00:31:40 +01:00
Simon McVittie
bc6e50a075
Mark "should optimise pagespecs" as done
2009-08-25 00:31:25 +01:00
Simon McVittie
df8ab3406d
use pagespec_match_list
2009-08-25 00:31:24 +01:00
Simon McVittie
275dd5c4ea
IkiWiki::pagename: memoize results
...
This relies for its correctness on %config, %hooks and pagetype() not
changing.
2009-08-25 00:31:24 +01:00
Simon McVittie
e4cd168ebe
Allow add_depends to take an arrayref
2009-08-25 00:31:24 +01:00
Simon McVittie
7227c2debf
Use a hash to de-duplicate dependencies
2009-08-25 00:31:16 +01:00
Simon McVittie
2cf26fd709
Don't bother to save {depends} to the index
...
As per Joey's review.
2009-08-24 23:18:19 +01:00
Simon McVittie
b6fcb1cb0e
calendar, inline, map: don't pre-join dependencies
...
The new dependency handling works better (eliminates more duplicates) if
dependencies are split up. On the same wiki mentioned in the previous
commit, this saves about a second (i.e. 4%) on the same test.
2009-08-24 23:18:16 +01:00
Simon McVittie
fe4f176f72
Optimize the dependencies list
...
On a large wiki you can spend a lot of time reading through large lists
of dependencies to see whether files need to be rebuilt (album, with its
one-page-per-photo arrangement, suffers particularly badly from this).
The dependency list is currently a single pagespec, but it's not used like
a normal pagespec - in practice, it's a list of pagespecs joined with the
"or" operator.
Accordingly, change it to be stored as a list of pagespecs. On a wiki
with many tagged photo albums, this reduces the time to refresh after
`touch tags/*.mdwn` from about 31 to 25 seconds.
Getting the benefit of this change on an existing wiki requires a rebuild.
2009-08-24 23:18:10 +01:00
Joey Hess
cc665380e3
move undownloadable item to discussion page
2009-08-24 15:57:10 -04:00
Joey Hess
6b97e8f0ee
close as wontfix
2009-08-24 15:52:56 -04:00
Joey Hess
68b6926420
fixed via getsource plugin
2009-08-24 15:51:05 -04:00
Joey Hess
43db8269a0
response
2009-08-24 15:47:24 -04:00
Joey Hess
004d460d9c
fix link
2009-08-24 14:09:58 -04:00
Joey Hess
f5187ed0b5
clarify and add link
2009-08-24 14:08:20 -04:00
Joey Hess
05c1730064
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2009-08-24 14:05:11 -04:00
http://schmonz.livejournal.com/
8d504e6b3d
response
2009-08-24 04:20:31 -04:00
http://www.cse.unsw.edu.au/~willu/
a27861c512
Comment on another possible solution to the use case.
2009-08-24 03:13:25 -04:00
Amitai Schlair
80ca685385
why I needed this, in case it's useful to someone else
2009-08-23 23:27:53 -04:00
Amitai Schlair
18a7b65094
response
2009-08-23 18:15:56 -04:00
http://schmonz.livejournal.com/
b43c250014
use a map instead
2009-08-23 17:54:38 -04:00
Joey Hess
156625ebac
update config file snippet to use current git_wrapper name
2009-08-23 16:27:18 -04:00
Amitai Schlair
0d5a8bc3f0
new rsync plugin
2009-08-23 15:41:29 -04:00
http://rtfb.myopenid.com/
16b0e47548
Added closing parenthesis
2009-08-23 11:40:44 -04:00
Joey Hess
59527de767
uh oh
2009-08-22 14:29:18 -04:00
http://xn--andreaskrger-llb.myopenid.com/
e51f099ed1
2009-08-22 06:25:12 -04:00
http://xn--andreaskrger-llb.myopenid.com/
78213cf838
2009-08-22 06:07:38 -04:00
Amitai Schlair
2acc71849d
no more wrapper wrapper
2009-08-22 03:52:45 -04:00
Amitai Schlair
7849d675a3
response
2009-08-22 02:02:34 -04:00
Joey Hess
73e562edc8
response
2009-08-21 16:09:26 -04:00
Joey Hess
75f764cfce
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2009-08-21 15:58:56 -04:00
Amitai Schlair
24d43bea07
response
2009-08-20 16:10:56 -04:00
Joey Hess
df9d39698f
Italian program translation from Luca Bruno.
2009-08-20 12:29:19 -04:00
AlexandreDupas
69874215d4
formatting
2009-08-19 14:45:29 -04:00
AlexandreDupas
e6ed1aabfd
Add some details
2009-08-19 14:42:35 -04:00
Joey Hess
f712ffa66d
another issue
2009-08-19 14:12:37 -04:00
Joey Hess
9b799ccc85
po: Fixed to run rcs_add ralative to srcdir.
2009-08-19 14:05:59 -04:00
AlexandreDupas
036f4f367d
bugs with po and git plugins
2009-08-19 12:33:09 -04:00
http://emptty.myopenid.com/
eedd1687f8
2009-08-19 05:08:49 -04:00
Jimmy Tang
8315913a25
added myself as a user
2009-08-18 15:22:02 +01:00
Jimmy Tang
9552f35b51
added my homepage link
2009-08-18 15:17:58 +01:00
Joey Hess
46adbbd1c3
respond
2009-08-17 16:30:21 -04:00
http://smcv.pseudorandom.co.uk/
89b5e2b822
responses to code review (I'll try to get them implemented later this week)
2009-08-17 16:15:41 -04:00
Joey Hess
65bf1dab5f
Updated French program translation from Philippe Batailler. Closes : #542036
2009-08-17 12:26:51 -04:00
Joey Hess
611256ba1c
clarification
2009-08-16 16:32:35 -04:00
Joey Hess
9ca8de2e75
add l10n branch
2009-08-16 14:40:40 -04:00
Joey Hess
e03d5c6a7c
Remove deprecated ikiwiki/blog and ikiwiki/preprocessordirective pages from the basewiki.
2009-08-16 14:32:10 -04:00
Joey Hess
db041b8854
minor problem
2009-08-16 13:53:44 -04:00
Joey Hess
5d8bfe9f37
changelog
2009-08-16 13:49:56 -04:00
Joey Hess
d6d1d94496
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
2009-08-16 13:48:33 -04:00