Commit Graph

1129 Commits (415e9a678dcc32fc57b71aa6c47886cc1c94e359)

Author SHA1 Message Date
Joey Hess 83429adf04 decode utf-8 in recentchanges_link parameter 2008-09-26 15:40:01 -04:00
chrysn 1d12dfc57c update: possible solution 2008-09-26 12:44:09 -04:00
chrysn 947a50fe5d some problem remains 2008-09-26 09:05:01 -04:00
Joey Hess fa763214e3 close bugs for just fixed tag creation issue 2008-09-25 20:27:35 -04:00
Joey Hess 965f7310fe git: Fix handling of utf-8 filenames in recentchanges.
Seems that the problem is that once the \nnn coming from git is converted
to a single character, decode_utf8 decides that this is a standalone
character, and not part of a multibyte utf-8 sequence, and so does nothing.
I tried playing with the utf-8 flag, but that didn't work. Instead, use
decode("utf8"), which doesn't have the same qualms, and successfully
decodes the octets into a utf-8 character.

Rant:

Think for a minute about fact that any and every program that parses git-log,
or git-show, etc output to figure out what files were in a commit needs to
contain this snippet of code, to convert from git-log's wacky output to a
regular character set:

if ($file =~ m/^"(.*)"$/) {
	($file=$1) =~ s/\\([0-7]{1,3})/chr(oct($1))/eg;
}

(And it's only that "simple" if you don't care about filenames with
embedded \n or \t or other control characters.)

Does that strike anyone else as putting the parsing and conversion in the
wrong place (ie, in gitweb, ikiwiki, etc, etc)? Doesn't anyone who actually
uses git with utf-8 filenames get a bit pissed off at seeing \xxx\xxx
instead of the utf-8 in git-commit and other output?
2008-09-25 18:26:42 -04:00
Joey Hess dfe55e8956 Add keepextension parameter to htmlize hook. (Willu) 2008-09-23 13:39:21 -04:00
Joey Hess 9cbcda14ac Print a debug message if a page has multiple source files. 2008-09-23 13:32:41 -04:00
Joey Hess 7280d84c1c merged 2008-09-23 12:47:36 -04:00
http://ptecza.myopenid.com/ 338f0fde60 * Response 2008-09-23 08:34:43 -04:00
chrysn 88beb46def bug report on funny characters in the name 2008-09-23 04:58:35 -04:00
http://smcv.pseudorandom.co.uk/ ba1b9f8562 bug report with patch 2008-09-22 18:36:26 -04:00
http://smcv.pseudorandom.co.uk/ b44ca17f93 2008-09-22 18:29:48 -04:00
http://smcv.pseudorandom.co.uk/ c4fde75f46 Reference patches to beautify redirection URLs 2008-09-22 18:28:39 -04:00
http://www.cse.unsw.edu.au/~willu/ 2f3b93a55a Add second, related, patch. 2008-09-21 06:04:37 -04:00
http://www.cse.unsw.edu.au/~willu/ 57682e72d9 Add patch 2008-09-21 04:30:28 -04:00
http://www.cse.unsw.edu.au/~willu/ e255e8ecbf Add a new bug when using source highlighting 2008-09-21 00:49:11 -04:00
Joey Hess 779c5214f3 progress: Display an error if the progress cannot be parsed, and allow the percent parameter to only optionally end with "%". 2008-09-19 13:09:50 -04:00
http://ptecza.myopenid.com/ b203b58f48 * Addition 2008-09-19 10:13:55 -04:00
http://ptecza.myopenid.com/ f5b0ea73b5 * Response 2008-09-19 09:48:56 -04:00
http://www.cse.unsw.edu.au/~willu/ 68531e1239 Response 2008-09-19 08:28:38 -04:00
http://ptecza.myopenid.com/ 72b8c09843 * More clear about my upgrade 2008-09-19 06:00:29 -04:00
http://ptecza.myopenid.com/ 538168d869 * No progress 2008-09-19 05:43:10 -04:00
Joey Hess fa4f735ad7 response 2008-09-17 13:49:03 -04:00
http://thewordnerd.info/ 65120e433d 2008-09-16 08:19:41 -04:00
http://josephturian.blogspot.com/ 17af48adca 2008-09-15 23:07:19 -04:00
http://josephturian.blogspot.com/ 0254bbb5e8 2008-09-15 23:06:04 -04:00
Joey Hess 293c69ae95 user error 2008-09-15 17:38:25 -04:00
Joey Hess c8f1fe835e fix links 2008-09-14 17:03:34 -04:00
Joey Hess 1e4c9e6733 cannot reproduce 2008-09-14 13:43:27 -04:00
http://madduck.net/ c984a572c8 new bug about parsing recentchanges diffs 2008-09-13 08:29:55 -04:00
Joey Hess 97b71834bb fix IkiWiki::Setup::load docs 2008-09-12 21:20:34 -04:00
bremner ec6cd6fff8 more difficulties with IkiWiki::Setup::load 2008-09-12 21:09:50 -04:00
http://thewordnerd.myopenid.com/ 25629d7621 2008-09-11 20:26:56 -04:00
Joey Hess 9152042aea fix cpan links 2008-09-11 19:40:41 -04:00
jpritikin d02411bac0 2008-09-11 07:13:45 -04:00
Joey Hess 20ad20a87b response 2008-09-10 16:47:19 -04:00
jpritikin 62df83b57c 2008-09-10 12:53:29 -04:00
Joey Hess 7a680431ed Add allow_symlinks_before_srcdir to config so websetup doesn't eat it. 2008-09-09 14:50:37 -04:00
jpritikin 848d0d0a3b 2008-09-09 14:27:47 -04:00
Joey Hess 2b53de66a0 ddate: Stop clobbering timeformat when not enabled. 2008-09-08 19:40:23 -04:00
http://smcv.pseudorandom.co.uk/ f50622f136 amusing collision between ddate and websetup 2008-09-08 18:31:35 -04:00
Joey Hess d2679de965 For fine control over what characters are allowed, unescaped in source filenames, the wiki_file_chars setting is added. For example, set to "-[:alnum:]+/._" to disable colons from being used in source files (which can cause trouble om Windows). 2008-09-04 14:13:10 -04:00
Joey Hess 000c87f510 don't fail if %config is not set 2008-09-01 11:26:03 -04:00
bremner da30f5a8fb workaround 2008-08-31 17:58:42 -04:00
bremner f7ad016a3f report trouble trying to use IkiWiki::Setup::load outside ikiwiki 2008-08-31 15:47:01 -04:00
Joey Hess 75a096d056 Work around perl $_ scoping nonsense that caused breakage when loading external plugins. 2008-08-29 18:40:41 -04:00
chrysn a8d9f1c5cd report bug for </methodResponse> problem (patch included) 2008-08-29 17:43:28 -04:00
Joey Hess 981d0474a1 Ignore failure to install files into /etc, in case install is running as non-root. 2008-08-29 15:53:46 -04:00
Joey Hess ef3d080a9a response 2008-08-29 15:49:52 -04:00
bremner 114db37eb3 patch for install in $HOME 2008-08-29 14:30:38 -04:00