Commit Graph

16196 Commits (2ebae85f9b311470a8e3440d041de766980fdfa5)

Author SHA1 Message Date
Joey Hess 2ebae85f9b fix 2012-01-30 15:14:41 -04:00
Joey Hess 88465ae468 document a bug fix
Original bug was introduced 24 Nov 2011.
2012-01-30 15:13:55 -04:00
Joey Hess a78126c55e calendar, prettydate: Fix strftime encoding bug
strftime is a C function, it does not return decoded utf8.
Several places in ikiwiki manually decoded it, but at least two
forgot to.

Also, strftime might not return even encoded utf8, if LC_TIME is set
to a non-utf8 value. Went ahead and supported decoding whatever encoding
it uses.

The remaining direct calls to strftime() are all ones that first set
LC_TIME=C, in order to get times that are not for human display.
2012-01-30 15:09:37 -04:00
Joey Hess 0ba0d09824 merged 2012-01-30 14:45:29 -04:00
Joey Hess 01afd033cb changelog 2012-01-30 14:44:52 -04:00
Joey Hess d9c4a91941 nuke 2012-01-30 14:41:59 -04:00
Joey Hess c475269a36 query 2012-01-30 14:41:12 -04:00
Joey Hess 6bea6fced9 Revert "ignore a file that always clutters status on OS X (no known fix)"
This reverts commit 662d256c82.

I sympathize, but this would prevent commits to that file everywhere else.
2012-01-30 14:35:48 -04:00
Joey Hess b33f69ab51 Merge remote-tracking branch 'schmonz/cvs' 2012-01-30 14:35:03 -04:00
Joey Hess 522b24a0f1 comments 2012-01-30 14:31:26 -04:00
https://www.google.com/accounts/o8/id?id=AItOawnxp2XU8gIribhhGhGuYtU6eMMwHv5gUGI 24e89c6462 functional changes are underway 2012-01-29 10:25:57 -04:00
http://kerravonsen.dreamwidth.org/ d98f3ef9ac even further thought 2012-01-29 07:42:02 -04:00
http://kerravonsen.dreamwidth.org/ a47a18cde0 further thoughts 2012-01-29 05:41:47 -04:00
http://kerravonsen.dreamwidth.org/ 2b05dc6926 comment about Haskell 2012-01-29 05:34:45 -04:00
Joey Hess c6b5d3a8c9 response 2012-01-28 22:50:28 -04:00
Joey Hess 6c3cdb04ac Switch to YAML::XS to work around insanity in YAML::Mo. Closes: #657533
https://rt.cpan.org/Ticket/Display.html?id=74487

Gave up trying to support multiple YAML backends. The XS one requires ugly
manual encoding to get unicode right, and doesn't allow dumping yaml
fragments w/o the yaml header, but at least it doesn't randomly crash
on import like YAML::Mo has started to.
2012-01-28 22:36:14 -04:00
Joey Hess e9c38d16fc cleanup 2012-01-28 22:05:59 -04:00
http://kerravonsen.dreamwidth.org/ d96d185f24 why do I always forget something? 2012-01-28 19:19:15 -04:00
http://kerravonsen.dreamwidth.org/ e925b946c8 new plugins, anyone? 2012-01-28 19:18:19 -04:00
http://kerravonsen.dreamwidth.org/ beed6aaaaf new jssearchfield directive 2012-01-28 19:11:39 -04:00
http://kerravonsen.dreamwidth.org/ a5fd547b9f new plugin "jssearchfield" 2012-01-28 19:08:55 -04:00
spalax b0d6eef321 Clearer (I hope) bug report 2012-01-28 15:13:43 -04:00
spalax cac88b738b New bug: encoding problem in calendar plugin 2012-01-28 15:09:31 -04:00
seven 53872ea80b 2012-01-28 10:37:33 -04:00
zut d05463b069 2012-01-28 06:30:47 -04:00
zut a0fe1511ed Oups 2012-01-28 06:29:27 -04:00
zut f312ff30d4 Encoding problem in french with ikiwiki-calendar 2012-01-28 06:26:51 -04:00
simonraven 4ba3c1c104 2012-01-28 06:05:44 -04:00
simonraven c0eca7ddc7 2012-01-28 05:16:52 -04:00
http://kerravonsen.dreamwidth.org/ a631d8b2a5 which came first, the chicken or the egg? 2012-01-26 23:51:04 -04:00
tycho garen 7bfa77380a comment to multi-threading discussion 2012-01-26 21:28:19 -05:00
http://kerravonsen.dreamwidth.org/ 6226d1a765 unofficial opinion 2012-01-26 21:57:21 -04:00
Amitai Schlair d6b7654fcf Move cvs_keyword_subst_args() down with the other internal support routines. 2012-01-26 17:08:12 -05:00
Amitai Schlair ac8eab29e8 Uncomment the CVS keyword substitution mode tests, and make them pass:
Extract cvs_keyword_subst_args() and ensure it runs in $config{srcdir}.
Using Perl's -T operator appears to work equally well, perhaps switch?
2012-01-26 16:57:00 -05:00
Amitai Schlair 9fd09149a3 Mollify strictures about barewords. 2012-01-26 16:55:13 -05:00
http://roughnecks.myopenid.com/ 0d48385bd3 2012-01-25 19:58:39 -04:00
http://smcv.pseudorandom.co.uk/ a8ded6bf1d Fix wikipedia URL: wikipedia.org, not wikimedia.org 2012-01-25 04:55:25 -04:00
Amitai Schlair 722953ac25 Merge branch 'cvs' of github.com:schmonz/ikiwiki into cvs 2012-01-25 00:43:07 -05:00
Amitai Schlair c9c5264191 Merge branch 'master' of git://git.ikiwiki.info into cvs 2012-01-25 00:41:53 -05:00
Amitai Schlair 1b73015251 Move tests that simulate web commits into test_rcs_add(), then add
a bunch more tests (that wind up exercising rcs_commit(),
rcs_commit_staged(), and rcs_recentchanges()). Extract some support
routines for brevity. Most is_in_keyword_substitution_mode() tests
are commented out because there's a bug -- non-binary files are
being added with "cvs add -kb".

Move tests that inspect recentchanges after direct CVS operations
into test_rcs_recentchanges().
2012-01-24 05:58:41 -05:00
Amitai Schlair 16572fb0b4 Merge branch 'cvs' of github.com:schmonz/ikiwiki into cvs 2012-01-24 02:40:59 -05:00
Amitai Schlair 873c404f14 Merge branch 'master' of git://git.ikiwiki.info into cvs 2012-01-24 02:40:43 -05:00
Joey Hess bfda13f16c recentchangesdiff: truncate extremely large diffs
A diff was already truncated after 200 lines. But it could still be
arbitrarily enormous, if a spammer or other random noise source likes long
lines. That could use a lot of memory to html encode etc the diff and fill
it into the template. Truncating after 100kb seems sufficient; it allows
for 200 lines of up to 512 characters each.
2012-01-23 18:39:53 -04:00
Joey Hess 0376a8da8a Merge branch 'master' of ssh://git.ikiwiki.info 2012-01-23 18:16:26 -04:00
Joey Hess 100a68f4e2 fix the nodiscount setting 2012-01-23 18:15:14 -04:00
Amitai Schlair 678c240eff Merge branch 'master' into cvs 2012-01-22 20:50:25 -05:00
Amitai Schlair 354e4aaa04 Merge branch 'master' of git://git.ikiwiki.info 2012-01-22 20:49:34 -05:00
Amitai Schlair 19280af182 pull request (no functional change, just worried I broke easy merging) 2012-01-22 20:48:40 -05:00
Amitai Schlair c7c43cccba Merge branch 'master' into cvs 2012-01-22 20:42:00 -05:00
Amitai Schlair 0d0b87be58 pull request (no functional change, just worried I broke easy merging) 2012-01-22 20:39:12 -05:00