ikiwiki.git
11 years agoRemove now-unused function pagespec_merge
Simon McVittie [Sat, 25 Jul 2009 19:04:04 +0000 (20:04 +0100)] 
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).

11 years agoMark "should optimise pagespecs" as done
Simon McVittie [Sat, 1 Aug 2009 11:43:04 +0000 (12:43 +0100)] 
Mark "should optimise pagespecs" as done

11 years agouse pagespec_match_list
Simon McVittie [Mon, 24 Aug 2009 23:21:19 +0000 (00:21 +0100)] 
use pagespec_match_list

11 years agoIkiWiki::pagename: memoize results
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.

11 years agoAllow add_depends to take an arrayref
Simon McVittie [Mon, 24 Aug 2009 22:16:15 +0000 (23:16 +0100)] 
Allow add_depends to take an arrayref

11 years agoUse a hash to de-duplicate dependencies
Simon McVittie [Mon, 24 Aug 2009 22:01:42 +0000 (23:01 +0100)] 
Use a hash to de-duplicate dependencies

11 years agoDon't bother to save {depends} to the index
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.

11 years agocalendar, inline, map: don't pre-join dependencies
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.

11 years agoOptimize the dependencies list
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.

11 years agomove undownloadable item to discussion page
Joey Hess [Mon, 24 Aug 2009 19:57:10 +0000 (15:57 -0400)] 
move undownloadable item to discussion page

11 years agoclose as wontfix
Joey Hess [Mon, 24 Aug 2009 19:52:56 +0000 (15:52 -0400)] 
close as wontfix

11 years agofixed via getsource plugin
Joey Hess [Mon, 24 Aug 2009 19:51:05 +0000 (15:51 -0400)] 
fixed via getsource plugin

11 years agoresponse
Joey Hess [Mon, 24 Aug 2009 19:47:24 +0000 (15:47 -0400)] 
response

11 years agofix link
Joey Hess [Mon, 24 Aug 2009 18:09:58 +0000 (14:09 -0400)] 
fix link

11 years agoclarify and add link
Joey Hess [Mon, 24 Aug 2009 18:08:20 +0000 (14:08 -0400)] 
clarify and add link

11 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

11 years agoresponse
http://schmonz.livejournal.com/ [Mon, 24 Aug 2009 08:20:31 +0000 (04:20 -0400)] 
response

11 years agoComment on another possible solution to the use case.
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.

11 years agowhy I needed this, in case it's useful to someone else
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

11 years agoresponse
Amitai Schlair [Sun, 23 Aug 2009 22:15:56 +0000 (18:15 -0400)] 
response

11 years agouse a map instead
http://schmonz.livejournal.com/ [Sun, 23 Aug 2009 21:54:38 +0000 (17:54 -0400)] 
use a map instead

11 years agoupdate config file snippet to use current git_wrapper name
Joey Hess [Sun, 23 Aug 2009 20:27:18 +0000 (16:27 -0400)] 
update config file snippet to use current git_wrapper name

11 years agonew rsync plugin
Amitai Schlair [Sun, 23 Aug 2009 19:41:29 +0000 (15:41 -0400)] 
new rsync plugin

11 years agoAdded closing parenthesis
http://rtfb.myopenid.com/ [Sun, 23 Aug 2009 15:40:44 +0000 (11:40 -0400)] 
Added closing parenthesis

11 years agouh oh
Joey Hess [Sat, 22 Aug 2009 18:29:18 +0000 (14:29 -0400)] 
uh oh

11 years ago(no commit message)
http://xn--andreaskrger-llb.myopenid.com/ [Sat, 22 Aug 2009 10:25:12 +0000 (06:25 -0400)] 

11 years ago(no commit message)
http://xn--andreaskrger-llb.myopenid.com/ [Sat, 22 Aug 2009 10:07:38 +0000 (06:07 -0400)] 

11 years agono more wrapper wrapper
Amitai Schlair [Sat, 22 Aug 2009 07:52:45 +0000 (03:52 -0400)] 
no more wrapper wrapper

11 years agoresponse
Amitai Schlair [Sat, 22 Aug 2009 06:02:34 +0000 (02:02 -0400)] 
response

11 years agoresponse
Joey Hess [Fri, 21 Aug 2009 20:09:26 +0000 (16:09 -0400)] 
response

11 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

11 years agoresponse
Amitai Schlair [Thu, 20 Aug 2009 20:10:56 +0000 (16:10 -0400)] 
response

11 years agoItalian program translation from Luca Bruno.
Joey Hess [Thu, 20 Aug 2009 16:29:19 +0000 (12:29 -0400)] 
Italian program translation from Luca Bruno.

11 years agoformatting
AlexandreDupas [Wed, 19 Aug 2009 18:45:29 +0000 (14:45 -0400)] 
formatting

11 years agoAdd some details
AlexandreDupas [Wed, 19 Aug 2009 18:42:35 +0000 (14:42 -0400)] 
Add some details

11 years agoanother issue
Joey Hess [Wed, 19 Aug 2009 18:12:37 +0000 (14:12 -0400)] 
another issue

11 years agopo: Fixed to run rcs_add ralative to srcdir.
Joey Hess [Wed, 19 Aug 2009 18:05:59 +0000 (14:05 -0400)] 
po: Fixed to run rcs_add ralative to srcdir.

11 years agobugs with po and git plugins
AlexandreDupas [Wed, 19 Aug 2009 16:33:09 +0000 (12:33 -0400)] 
bugs with po and git plugins

11 years ago(no commit message)
http://emptty.myopenid.com/ [Wed, 19 Aug 2009 09:08:49 +0000 (05:08 -0400)] 

11 years agoadded myself as a user
Jimmy Tang [Tue, 18 Aug 2009 14:22:02 +0000 (15:22 +0100)] 
added myself as a user

11 years agoadded my homepage link
Jimmy Tang [Tue, 18 Aug 2009 14:17:58 +0000 (15:17 +0100)] 
added my homepage link

11 years agorespond
Joey Hess [Mon, 17 Aug 2009 20:30:21 +0000 (16:30 -0400)] 
respond

11 years agoresponses to code review (I'll try to get them implemented later this week)
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)

11 years agoUpdated French program translation from Philippe Batailler. Closes: #542036
Joey Hess [Mon, 17 Aug 2009 16:26:51 +0000 (12:26 -0400)] 
Updated French program translation from Philippe Batailler. Closes: #542036

11 years agoclarification
Joey Hess [Sun, 16 Aug 2009 20:32:35 +0000 (16:32 -0400)] 
clarification

11 years agoadd l10n branch
Joey Hess [Sun, 16 Aug 2009 18:40:40 +0000 (14:40 -0400)] 
add l10n branch

11 years agoRemove deprecated ikiwiki/blog and ikiwiki/preprocessordirective pages from the basewiki.
Joey Hess [Sun, 16 Aug 2009 18:32:10 +0000 (14:32 -0400)] 
Remove deprecated ikiwiki/blog and ikiwiki/preprocessordirective pages from the basewiki.

11 years agominor problem
Joey Hess [Sun, 16 Aug 2009 17:53:44 +0000 (13:53 -0400)] 
minor problem

11 years agochangelog
Joey Hess [Sun, 16 Aug 2009 17:49:56 +0000 (13:49 -0400)] 
changelog

11 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

11 years agocreated_before/after: throw error if specified page does not exist
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.

11 years agouse pagespec_match_list for feedpages
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..

11 years agofix error message display
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.

11 years agoLife is simpler on a git branch.
Amitai Schlair [Sun, 16 Aug 2009 15:58:28 +0000 (11:58 -0400)] 
Life is simpler on a git branch.

11 years agoswitched my DreamHost install to pkgsrc, happily
Amitai Schlair [Sun, 16 Aug 2009 15:56:16 +0000 (11:56 -0400)] 
switched my DreamHost install to pkgsrc, happily

11 years agocomment on part of Joey's comment
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

11 years agoAdd sentence to clarify how to get feeds for the RecentChanges page.
PaulePanter [Sun, 16 Aug 2009 12:34:57 +0000 (08:34 -0400)] 
Add sentence to clarify how to get feeds for the RecentChanges page.

11 years agoFix (hopefully) grammar.
PaulePanter [Sun, 16 Aug 2009 11:01:39 +0000 (07:01 -0400)] 
Fix (hopefully) grammar.

11 years agopo: Better fix for missing underlay translation problem.
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.

11 years agoreplace N/A with 0
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.

11 years agoupdate
Joey Hess [Sun, 16 Aug 2009 01:00:27 +0000 (21:00 -0400)] 
update

11 years agoapache config details
Joey Hess [Sat, 15 Aug 2009 23:39:51 +0000 (19:39 -0400)] 
apache config details

11 years agoanother problem..
Joey Hess [Sat, 15 Aug 2009 23:16:22 +0000 (19:16 -0400)] 
another problem..

11 years agoupdate
Joey Hess [Sat, 15 Aug 2009 22:28:51 +0000 (18:28 -0400)] 
update

11 years agoanother problem
Joey Hess [Sat, 15 Aug 2009 21:29:05 +0000 (17:29 -0400)] 
another problem

11 years agolink to l10n.ikiwiki.info website
Joey Hess [Sat, 15 Aug 2009 21:07:25 +0000 (17:07 -0400)] 
link to l10n.ikiwiki.info website

11 years agofurther otherlanguages list styling
Joey Hess [Sat, 15 Aug 2009 21:00:16 +0000 (17:00 -0400)] 
further otherlanguages list styling

11 years agoupdate for consistency
Joey Hess [Sat, 15 Aug 2009 20:42:29 +0000 (16:42 -0400)] 
update for consistency

11 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

11 years agoAdd basic styling of po plugin's languages list.
Joey Hess [Sat, 15 Aug 2009 20:33:54 +0000 (16:33 -0400)] 
Add basic styling of po plugin's languages list.

11 years agoanother problem
Joey Hess [Sat, 15 Aug 2009 20:15:36 +0000 (16:15 -0400)] 
another problem

11 years agoresolve conflict
Joey Hess [Sat, 15 Aug 2009 19:49:07 +0000 (15:49 -0400)] 
resolve conflict

11 years agonoticed a problem
Joey Hess [Sat, 15 Aug 2009 19:20:46 +0000 (15:20 -0400)] 
noticed a problem

11 years agoreorg and cleanup
Joey Hess [Sat, 15 Aug 2009 18:26:07 +0000 (14:26 -0400)] 
reorg and cleanup

11 years agoAllow building ikiwiki on systems w/o po4a -- building of the translated underlays...
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.

11 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

11 years agoreview of ready branch
Joey Hess [Sat, 15 Aug 2009 17:59:04 +0000 (13:59 -0400)] 
review of ready branch

11 years agoindentation
Joey Hess [Sat, 15 Aug 2009 17:58:04 +0000 (13:58 -0400)] 
indentation

11 years agometa: depend on absolute page name, not relative
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)

11 years agoimg: depend on absolute page name, not relative
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)

11 years ago(no commit message)
http://www.cse.unsw.edu.au/~willu/ [Sat, 15 Aug 2009 02:21:04 +0000 (22:21 -0400)] 

11 years agonew dependency added
http://www.cse.unsw.edu.au/~willu/ [Sat, 15 Aug 2009 01:43:47 +0000 (21:43 -0400)] 
new dependency added

11 years agoRelated comments on openid redirection.
http://www.cse.unsw.edu.au/~willu/ [Fri, 14 Aug 2009 23:10:57 +0000 (19:10 -0400)] 
Related comments on openid redirection.

11 years agoforwarded upstream with analysis
Joey Hess [Fri, 14 Aug 2009 19:09:01 +0000 (15:09 -0400)] 
forwarded upstream with analysis

11 years agoMerge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
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

11 years ago(no commit message)
lludwig [Fri, 14 Aug 2009 13:49:49 +0000 (09:49 -0400)] 

11 years agopoll vote (Accept only password logins)
62.147.182.222 [Fri, 14 Aug 2009 11:42:28 +0000 (07:42 -0400)] 
poll vote (Accept only password logins)

11 years agooptimise brokenlinks by gathering the data when calculating backlinks
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.

11 years agoorphans: Reuse backlinks info
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.

11 years agopo: use discussionpage config setting
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.

11 years agoAdd discussionpage configuration setting
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.

11 years agoremoved
dave [Fri, 14 Aug 2009 01:09:24 +0000 (21:09 -0400)] 
removed

11 years agochange PROFILE to use Devel::NYTProf
Joey Hess [Fri, 14 Aug 2009 01:05:07 +0000 (21:05 -0400)] 
change PROFILE to use Devel::NYTProf

11 years agooptimise gettext calls
Joey Hess [Fri, 14 Aug 2009 01:04:19 +0000 (21:04 -0400)] 
optimise gettext calls

11 years agodisable pagecount here, sorta of excessive since the bug has been done
Joey Hess [Thu, 13 Aug 2009 23:05:27 +0000 (19:05 -0400)] 
disable pagecount here, sorta of excessive since the bug has been done

11 years agofix name
Joey Hess [Thu, 13 Aug 2009 22:12:28 +0000 (18:12 -0400)] 
fix name

11 years agoreview: question
Joey Hess [Thu, 13 Aug 2009 21:55:01 +0000 (17:55 -0400)] 
review: question

11 years agoresponse
Joey Hess [Thu, 13 Aug 2009 21:48:36 +0000 (17:48 -0400)] 
response

11 years agoadd me new repo, yarrr
http://schmonz.livejournal.com/ [Thu, 13 Aug 2009 21:14:32 +0000 (17:14 -0400)] 
add me new repo, yarrr

11 years ago(no commit message)
lludwig [Thu, 13 Aug 2009 18:14:50 +0000 (14:14 -0400)]