Commit Graph

13608 Commits (a330b1ee743f093a03ff23b2d4bff42df7def8b9)

Author SHA1 Message Date
intrigeri bb22e8c4a6 po: optimization
No need to use "keys %{$config{po_slave_languages}}" repeatedly:
the slave languages codes list is already cached in @slavelanguages.
2010-07-20 02:26:23 +02:00
intrigeri 862fc7c1ab Support ordered po_slave_languages as discussed previously.
Backward compatibility is still supported.
2010-07-20 02:25:17 +02:00
http://jeremiahfoster.com/ e50df5ea76 2010-07-19 09:16:32 +00:00
http://jeremiahfoster.com/ 011fb0b2e5 2010-07-19 09:16:09 +00:00
http://jeremiahfoster.com/ c4d22bdb75 Added example 2010-07-19 09:15:30 +00:00
http://jeremiahfoster.com/ 1e01ec26fe Added second question. 2010-07-19 09:12:39 +00:00
Javier Rojas bf9cc9e131 typo 2010-07-19 01:14:47 -05:00
Javier Rojas 194817b63d Merge branch 'master' of git://git.ikiwiki.info 2010-07-19 01:11:28 -05:00
Javier Rojas cfed58f290 new syntax file for ikiwiki files in vim 2010-07-19 01:11:22 -05:00
http://weakish.myopenid.com/ 0ddc89123e fix link syntax 2010-07-19 04:33:37 +00:00
http://weakish.myopenid.com/ 47e2e673bc link to 404 plugin 2010-07-19 04:31:08 +00:00
http://weakish.myopenid.com/ e71850f92d remove lighttpd doc: lighttpd send 200 to dynamic error pages. Thus this plugin doesn't work with it w/o modification. 2010-07-19 04:28:55 +00:00
http://weakish.myopenid.com/ 884daeec1b update url 2010-07-19 04:24:15 +00:00
Joey Hess 35c9956df0 Revert "po_slave_languages can now be a hash, if order matters."
This reverts commit 4cf185e781.

That commit broke t/po.t (probably the test case only is testing too
close the the old implementation and needs correcting).

Also, we have not decided how to want to represent it yet, so I'm not
ready for this change.

Conflicts:

	IkiWiki/Plugin/po.pm
	doc/plugins/po.mdwn
2010-07-18 20:04:39 -04:00
Joey Hess def97ec7fe merge fix for selflink po problem 2010-07-18 19:43:25 -04:00
Joey Hess 839fae0b2b response on po_slave_languages structure 2010-07-18 19:42:06 -04:00
Joey Hess bfd896f5e5 typo 2010-07-18 19:37:14 -04:00
Joey Hess b45688e34e Merge remote branch 'intrigeri/po' 2010-07-18 19:35:16 -04:00
Joey Hess 4bcd6cc4ff noticed a bug in the po plugin
(I should probably put this in bugs/, but I am not sure if intregriti
watches there..)
2010-07-18 19:33:10 -04:00
crest 6d33160faf 2010-07-18 23:02:32 +00:00
Joey Hess 1f6d6b2a05 remove dup sentence 2010-07-18 18:50:14 -04:00
Joey Hess 626ad04114 merge updated translations from l10n
This includes an (almost) up-to-date French basewiki translation.
2010-07-18 18:35:10 -04:00
Joey Hess e041555e4f Updated French program translation from Philippe Batailler. Closes: #589423 2010-07-18 17:59:33 -04:00
Joey Hess ba36419b0f update standards-version 2010-07-18 17:56:58 -04:00
Joey Hess eeb8e11d65 remove dead case 2010-07-18 17:47:36 -04:00
Joey Hess ad8cb6d6fa Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-07-18 17:39:28 -04:00
Joey Hess e674bb1445 fix other 2 cases of conflicting destdir files
Cleanly fixed case where destdir file failed to be written because there
was a directory with the same name. This can be detected with no extra
system calls, and dealt with by finding all pages that wrote files
inside the directory, and removing them and the directory.

The other, inverse case would be expensive to detect in will_render,
since it would need to check each parent directory of the file to see
if the directory is really a conflicting file. But prep_writefile
already does a similar scan for symlinks in the path, so I added code
there to remove the conflicting file. This fix assumes that the file
is written using writefile, and not some other means (but using other means
would be a security hole too, so hopefully nothing does).
2010-07-18 17:38:35 -04:00
Joey Hess 1dbb2632ef another class of conflicts: subdir/file conflicts 2010-07-18 17:16:39 -04:00
Joey Hess 2bf3a6edbb check oldrenderedfiles too
Handles the case where foo.mdwn is moved too foo/index.html
2010-07-18 16:47:52 -04:00
Joey Hess d6cb4436bd 2 more cases 2010-07-18 16:45:44 -04:00
Joey Hess 773db5a35e avoid error if two source files render the same destination file
There are two sub-caces. If both source files still exist, the winner that
renders the destination file is undefined. If one source file is deleted
and the other added, in a refresh, the new file will take over the
destination file.
2010-07-18 16:28:39 -04:00
Joey Hess 775fefeea7 class of bugs I am working on 2010-07-18 13:52:03 -04:00
Joey Hess a291f24be6 some other (similar) failure cases 2010-07-18 13:50:06 -04:00
http://weakish.myopenid.com/ 9ea48dd49b this plugin is different from the [[html]] plugin and it is safe in most cases. 2010-07-18 14:07:06 +00:00
bento 7089c61b67 typo 2010-07-17 20:30:54 +00:00
bento 709e934a2b support-statement 2010-07-17 20:29:56 +00:00
Joey Hess bfa4660df7 update 2010-07-17 13:30:08 -04:00
Joey Hess c9dd98cf94 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-07-17 13:25:03 -04:00
Joey Hess 4142308429 turning into complete source file conflict test suite 2010-07-17 13:24:40 -04:00
https://mukund.startssl.com/ df925b72fe Add Banu 2010-07-17 11:56:40 +00:00
Joey Hess a72193a816 Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-07-16 16:11:36 -04:00
Joey Hess fd842e03e6 add 2 failing test cases 2010-07-16 16:11:24 -04:00
Joey Hess 936dc6fc8e add test of file replace 2010-07-16 16:07:51 -04:00
http://joey.kitenet.net/ 855cfd0ec7 Added a comment 2010-07-16 19:44:55 +00:00
Jonas Smedegaard 296955ea37 Fix a couple of grammar errors. 2010-07-16 19:52:06 +02:00
tkane 39701647be 2010-07-16 13:18:28 +00:00
https://www.google.com/accounts/o8/id?id=AItOawlzADDUvepOXauF4Aq1VZ4rJaW_Dwrl6xE 3b15f0a07b Added a comment 2010-07-15 15:37:31 +00:00
Joey Hess 7a04e2d416 add getsetup hook 2010-07-14 14:47:29 -04:00
Joey Hess d420a4bdec add section to getsetup info 2010-07-14 14:47:17 -04:00
Joey Hess c4cee4cfc5 add 2 more missing getsetup hooks 2010-07-14 14:44:40 -04:00