Joey Hess [Tue, 25 Aug 2009 21:18:39 +0000 (17:18 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Simon McVittie [Tue, 25 Aug 2009 21:18:52 +0000 (22:18 +0100)]
reply
Joey Hess [Tue, 25 Aug 2009 21:11:29 +0000 (17:11 -0400)]
Revert "Allow add_depends to take an arrayref"
This reverts commit
e4cd168ebedd95585290c97ff42234344bfed46c.
There was no benefit to this change.
Joey Hess [Tue, 25 Aug 2009 21:09:52 +0000 (17:09 -0400)]
Merge commit 'smcv/ready/optimize-depends'
Joey Hess [Tue, 25 Aug 2009 17:39:33 +0000 (13:39 -0400)]
Fix example blog's tags/life to not have a broken PageSpec. Closes: #543510
Joey Hess [Tue, 25 Aug 2009 02:10:12 +0000 (22:10 -0400)]
better analysis of why the depends keep growing
Joey Hess [Tue, 25 Aug 2009 01:54:22 +0000 (21:54 -0400)]
at this point I'm down to deciding which specific commits to merge and
which were dead ends
Simon McVittie [Mon, 24 Aug 2009 23:45:28 +0000 (00:45 +0100)]
Respond with benchmarks and an updated branch
Simon McVittie [Sat, 1 Aug 2009 11:43:04 +0000 (12:43 +0100)]
Mark "should optimise pagespecs" as done
Simon McVittie [Mon, 24 Aug 2009 23:21:19 +0000 (00:21 +0100)]
use pagespec_match_list
Simon McVittie [Mon, 24 Aug 2009 23:02:27 +0000 (00:02 +0100)]
IkiWiki::pagename: memoize results
This relies for its correctness on %config, %hooks and pagetype() not
changing.
Simon McVittie [Mon, 24 Aug 2009 22:16:15 +0000 (23:16 +0100)]
Allow add_depends to take an arrayref
Simon McVittie [Mon, 24 Aug 2009 22:01:42 +0000 (23:01 +0100)]
Use a hash to de-duplicate dependencies
Simon McVittie [Mon, 24 Aug 2009 21:18:46 +0000 (22:18 +0100)]
Don't bother to save {depends} to the index
As per Joey's review.
Simon McVittie [Thu, 18 Jun 2009 14:55:55 +0000 (15:55 +0100)]
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.
Simon McVittie [Thu, 18 Jun 2009 14:54:53 +0000 (15:54 +0100)]
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.
Joey Hess [Mon, 24 Aug 2009 19:57:10 +0000 (15:57 -0400)]
move undownloadable item to discussion page
Joey Hess [Mon, 24 Aug 2009 19:52:56 +0000 (15:52 -0400)]
close as wontfix
Joey Hess [Mon, 24 Aug 2009 19:51:05 +0000 (15:51 -0400)]
fixed via getsource plugin
Joey Hess [Mon, 24 Aug 2009 19:47:24 +0000 (15:47 -0400)]
response
Joey Hess [Mon, 24 Aug 2009 18:09:58 +0000 (14:09 -0400)]
fix link
Joey Hess [Mon, 24 Aug 2009 18:08:20 +0000 (14:08 -0400)]
clarify and add link
Joey Hess [Mon, 24 Aug 2009 18:05:11 +0000 (14:05 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
http://schmonz.livejournal.com/ [Mon, 24 Aug 2009 08:20:31 +0000 (04:20 -0400)]
response
http://www.cse.unsw.edu.au/~willu/ [Mon, 24 Aug 2009 07:13:25 +0000 (03:13 -0400)]
Comment on another possible solution to the use case.
Amitai Schlair [Mon, 24 Aug 2009 03:27:53 +0000 (23:27 -0400)]
why I needed this, in case it's useful to someone else
Amitai Schlair [Sun, 23 Aug 2009 22:15:56 +0000 (18:15 -0400)]
response
http://schmonz.livejournal.com/ [Sun, 23 Aug 2009 21:54:38 +0000 (17:54 -0400)]
use a map instead
Joey Hess [Sun, 23 Aug 2009 20:27:18 +0000 (16:27 -0400)]
update config file snippet to use current git_wrapper name
Amitai Schlair [Sun, 23 Aug 2009 19:41:29 +0000 (15:41 -0400)]
new rsync plugin
http://rtfb.myopenid.com/ [Sun, 23 Aug 2009 15:40:44 +0000 (11:40 -0400)]
Added closing parenthesis
Joey Hess [Sat, 22 Aug 2009 18:29:18 +0000 (14:29 -0400)]
uh oh
http://xn--andreaskrger-llb.myopenid.com/ [Sat, 22 Aug 2009 10:25:12 +0000 (06:25 -0400)]
http://xn--andreaskrger-llb.myopenid.com/ [Sat, 22 Aug 2009 10:07:38 +0000 (06:07 -0400)]
Amitai Schlair [Sat, 22 Aug 2009 07:52:45 +0000 (03:52 -0400)]
no more wrapper wrapper
Amitai Schlair [Sat, 22 Aug 2009 06:02:34 +0000 (02:02 -0400)]
response
Joey Hess [Fri, 21 Aug 2009 20:09:26 +0000 (16:09 -0400)]
response
Joey Hess [Fri, 21 Aug 2009 19:58:56 +0000 (15:58 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Amitai Schlair [Thu, 20 Aug 2009 20:10:56 +0000 (16:10 -0400)]
response
Joey Hess [Thu, 20 Aug 2009 16:29:19 +0000 (12:29 -0400)]
Italian program translation from Luca Bruno.
AlexandreDupas [Wed, 19 Aug 2009 18:45:29 +0000 (14:45 -0400)]
formatting
AlexandreDupas [Wed, 19 Aug 2009 18:42:35 +0000 (14:42 -0400)]
Add some details
Joey Hess [Wed, 19 Aug 2009 18:12:37 +0000 (14:12 -0400)]
another issue
Joey Hess [Wed, 19 Aug 2009 18:05:59 +0000 (14:05 -0400)]
po: Fixed to run rcs_add ralative to srcdir.
AlexandreDupas [Wed, 19 Aug 2009 16:33:09 +0000 (12:33 -0400)]
bugs with po and git plugins
http://emptty.myopenid.com/ [Wed, 19 Aug 2009 09:08:49 +0000 (05:08 -0400)]
Jimmy Tang [Tue, 18 Aug 2009 14:22:02 +0000 (15:22 +0100)]
added myself as a user
Jimmy Tang [Tue, 18 Aug 2009 14:17:58 +0000 (15:17 +0100)]
added my homepage link
Joey Hess [Mon, 17 Aug 2009 20:30:21 +0000 (16:30 -0400)]
respond
http://smcv.pseudorandom.co.uk/ [Mon, 17 Aug 2009 20:15:41 +0000 (16:15 -0400)]
responses to code review (I'll try to get them implemented later this week)
Joey Hess [Mon, 17 Aug 2009 16:26:51 +0000 (12:26 -0400)]
Updated French program translation from Philippe Batailler. Closes: #542036
Joey Hess [Sun, 16 Aug 2009 20:32:35 +0000 (16:32 -0400)]
clarification
Joey Hess [Sun, 16 Aug 2009 18:40:40 +0000 (14:40 -0400)]
add l10n branch
Joey Hess [Sun, 16 Aug 2009 18:32:10 +0000 (14:32 -0400)]
Remove deprecated ikiwiki/blog and ikiwiki/preprocessordirective pages from the basewiki.
Joey Hess [Sun, 16 Aug 2009 17:53:44 +0000 (13:53 -0400)]
minor problem
Joey Hess [Sun, 16 Aug 2009 17:49:56 +0000 (13:49 -0400)]
changelog
Joey Hess [Sun, 16 Aug 2009 17:48:33 +0000 (13:48 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sun, 16 Aug 2009 17:47:04 +0000 (13:47 -0400)]
created_before/after: throw error if specified page does not exist
This assumes that no ctime means the page doesn't exist, which seems
reasonable.
Joey Hess [Sun, 16 Aug 2009 17:45:10 +0000 (13:45 -0400)]
use pagespec_match_list for feedpages
This is both faster, and propigates any error in processing the feedpages
pagespec out to display on the page. Which may have been why I didn't use
it before, but currently seems like a good thing to do, since it explains
why your feeds are empty..
Joey Hess [Sun, 16 Aug 2009 17:43:31 +0000 (13:43 -0400)]
fix error message display
The gettext call can clear $@ in at least some cases.
Amitai Schlair [Sun, 16 Aug 2009 15:58:28 +0000 (11:58 -0400)]
Life is simpler on a git branch.
Amitai Schlair [Sun, 16 Aug 2009 15:56:16 +0000 (11:56 -0400)]
switched my DreamHost install to pkgsrc, happily
http://www.cse.unsw.edu.au/~willu/ [Sun, 16 Aug 2009 13:01:12 +0000 (09:01 -0400)]
comment on part of Joey's comment
PaulePanter [Sun, 16 Aug 2009 12:34:57 +0000 (08:34 -0400)]
Add sentence to clarify how to get feeds for the RecentChanges page.
PaulePanter [Sun, 16 Aug 2009 11:01:39 +0000 (07:01 -0400)]
Fix (hopefully) grammar.
Joey Hess [Sun, 16 Aug 2009 02:18:05 +0000 (22:18 -0400)]
po: Better fix for missing underlay translation problem.
If a page is taken from the underlay, and one of the specified languages
does not have po files in the underlay, it would create a broken link
to the translated version of the page for that language.
With this change, there's no broken link.
Joey Hess [Sun, 16 Aug 2009 01:08:17 +0000 (21:08 -0400)]
replace N/A with 0
I think the N/A was not intended to be visible, but it can show up as the
percent translated to a language. This happens if the page is located in an
underlay, and not translated to the language in any other underlay.
Joey Hess [Sun, 16 Aug 2009 01:00:27 +0000 (21:00 -0400)]
update
Joey Hess [Sat, 15 Aug 2009 23:39:51 +0000 (19:39 -0400)]
apache config details
Joey Hess [Sat, 15 Aug 2009 23:16:22 +0000 (19:16 -0400)]
another problem..
Joey Hess [Sat, 15 Aug 2009 22:28:51 +0000 (18:28 -0400)]
update
Joey Hess [Sat, 15 Aug 2009 21:29:05 +0000 (17:29 -0400)]
another problem
Joey Hess [Sat, 15 Aug 2009 21:07:25 +0000 (17:07 -0400)]
link to l10n.ikiwiki.info website
Joey Hess [Sat, 15 Aug 2009 21:00:16 +0000 (17:00 -0400)]
further otherlanguages list styling
Joey Hess [Sat, 15 Aug 2009 20:42:29 +0000 (16:42 -0400)]
update for consistency
Joey Hess [Sat, 15 Aug 2009 20:34:20 +0000 (16:34 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 15 Aug 2009 20:33:54 +0000 (16:33 -0400)]
Add basic styling of po plugin's languages list.
Joey Hess [Sat, 15 Aug 2009 20:15:36 +0000 (16:15 -0400)]
another problem
Joey Hess [Sat, 15 Aug 2009 19:49:07 +0000 (15:49 -0400)]
resolve conflict
Joey Hess [Sat, 15 Aug 2009 19:20:46 +0000 (15:20 -0400)]
noticed a problem
Joey Hess [Sat, 15 Aug 2009 18:26:07 +0000 (14:26 -0400)]
reorg and cleanup
Joey Hess [Sat, 15 Aug 2009 18:10:39 +0000 (14:10 -0400)]
Allow building ikiwiki on systems w/o po4a -- building of the translated underlays will be skipped in this case.
Joey Hess [Sat, 15 Aug 2009 17:59:34 +0000 (13:59 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
Joey Hess [Sat, 15 Aug 2009 17:59:04 +0000 (13:59 -0400)]
review of ready branch
Joey Hess [Sat, 15 Aug 2009 17:58:04 +0000 (13:58 -0400)]
indentation
Simon McVittie [Thu, 18 Jun 2009 14:32:55 +0000 (15:32 +0100)]
meta: depend on absolute page name, not relative
Previously, [[!meta redir="foo"]] on bar, where bar/foo exists, would
depend on "foo" (which matches nothing, probably) rather than "bar/foo".
(cherry picked from commit
f27ec09b72f886415e63fe394e18d9c3cb3913bf)
Simon McVittie [Thu, 18 Jun 2009 14:34:48 +0000 (15:34 +0100)]
img: depend on absolute page name, not relative
Previously, [[!img bar.jpg]] on foo, where foo/bar.jpg exists, would
get a dependency equivalent to "glob(bar.jpg)" (which might not match
anything), rather than the correct "glob(foo/bar.jpg)".
(cherry picked from commit
85b2ec49ecd12dd23e5c432933457a72744ce7cb)
http://www.cse.unsw.edu.au/~willu/ [Sat, 15 Aug 2009 02:21:04 +0000 (22:21 -0400)]
http://www.cse.unsw.edu.au/~willu/ [Sat, 15 Aug 2009 01:43:47 +0000 (21:43 -0400)]
new dependency added
http://www.cse.unsw.edu.au/~willu/ [Fri, 14 Aug 2009 23:10:57 +0000 (19:10 -0400)]
Related comments on openid redirection.
Joey Hess [Fri, 14 Aug 2009 19:09:01 +0000 (15:09 -0400)]
forwarded upstream with analysis
Joey Hess [Fri, 14 Aug 2009 17:06:19 +0000 (13:06 -0400)]
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
lludwig [Fri, 14 Aug 2009 13:49:49 +0000 (09:49 -0400)]
62.147.182.222 [Fri, 14 Aug 2009 11:42:28 +0000 (07:42 -0400)]
poll vote (Accept only password logins)
Joey Hess [Fri, 14 Aug 2009 05:11:53 +0000 (01:11 -0400)]
optimise brokenlinks by gathering the data when calculating backlinks
During backlink calulation, all links are examined and broken links can
be detected for free, so store a list of broken links and have brokenlinks
use it.
Exposing the %brokenlinks structure is a bit ugly, but the speedup seems
worth it: Around 1 second for wikis the size of the doc wiki that use
brokenlinks.
Joey Hess [Fri, 14 Aug 2009 04:51:52 +0000 (00:51 -0400)]
orphans: Reuse backlinks info
This plugin was building essentially the same data that is built to handle
backlinks, so reuse that as an optimisation.
Joey Hess [Fri, 14 Aug 2009 01:41:48 +0000 (21:41 -0400)]
po: use discussionpage config setting
This was tricky. $links{$page/discussion} must be checked; with it in
lowercase.
Joey Hess [Fri, 14 Aug 2009 01:41:33 +0000 (21:41 -0400)]
Add discussionpage configuration setting
By adding this setting, we get both more configurability, and a minor
optimisation too, since gettext does not need to be called continually
to get the Discussion value.
dave [Fri, 14 Aug 2009 01:09:24 +0000 (21:09 -0400)]
removed
Joey Hess [Fri, 14 Aug 2009 01:05:07 +0000 (21:05 -0400)]
change PROFILE to use Devel::NYTProf