Commit Graph

18279 Commits (6d90e56c8dbb1e380f0e621305fd014767e9364b)

Author SHA1 Message Date
Joey Hess ddc9441beb Merge remote-tracking branch 'remotes/smcv/ready/careful-eval' 2014-02-23 14:21:13 -04:00
Joey Hess 876a1cf41c git: Explicity push master branch, as will be needed by git 2.0's change to push.default=matching by default. Thanks, smcv 2014-02-23 14:20:27 -04:00
Joey Hess c1fbd66c03 Merge remote-tracking branch 'remotes/smcv/ready/git-push-origin-master' 2014-02-23 14:19:39 -04:00
Joey Hess b5b8c5cecc git diffurl: Do not escape / in paths to changed files, in order to interoperate with cgit (gitweb works either way) Thanks, intrigeri. 2014-02-23 14:15:49 -04:00
Joey Hess 204dcda88b Merge remote-tracking branch 'intrigeri/fix_diffurl_vs._cgit' 2014-02-23 14:13:53 -04:00
Joey Hess e0d1c264d9 Allow up to 8 levels of nested directives, rather than previous 3 in directive infinite loop guard. 2014-02-23 14:11:54 -04:00
Joey Hess 5560afc085 merged patch; bug left open 2014-02-23 14:10:12 -04:00
Joey Hess c5d63c549d Merge remote-tracking branch 'anarcat/dev/syslog_utf8' 2014-02-23 14:09:51 -04:00
Joey Hess 7e1b8c4f9c po: Add html_lang_code and html_lang_dir template variables for the language code and direction of text. Thanks, Mesar Hameed 2014-02-23 14:08:22 -04:00
Joey Hess 9a99c4c6e2 Merge remote-tracking branch 'mhameed/html_lang_and_dir' 2014-02-23 14:06:40 -04:00
Joey Hess 278036ef45 Merge branch 'master' of ssh://git.ikiwiki.info 2014-02-23 14:05:36 -04:00
http://smcv.pseudorandom.co.uk/ 608f2f1e0b performance problem 2014-02-23 13:58:54 -04:00
http://smcv.pseudorandom.co.uk/ 19b9328520 new version of the branch; thanks to chrysn for early feedback 2014-02-23 13:38:38 -04:00
http://smcv.pseudorandom.co.uk/ 061f6766b1 duplicate 2014-02-23 13:33:19 -04:00
http://smcv.pseudorandom.co.uk/ 3a09246b7a review 2014-02-23 10:09:19 -04:00
http://smcv.pseudorandom.co.uk/ 0204b40e4d add an inline 2014-02-22 20:53:29 -04:00
http://smcv.pseudorandom.co.uk/ 58b5e866c9 2014-02-22 20:52:10 -04:00
http://smcv.pseudorandom.co.uk/ a3aeee179a update for rename of users/smcv/approved.mdwn to users/smcv/yesplease.mdwn 2014-02-22 20:48:55 -04:00
http://smcv.pseudorandom.co.uk/ 347c9b87b1 update for rename of users/smcv/approved.mdwn to users/smcv/yesplease.mdwn 2014-02-22 20:48:55 -04:00
http://smcv.pseudorandom.co.uk/ 0ef39cd599 update for rename of users/smcv/approved.mdwn to users/smcv/yesplease.mdwn 2014-02-22 20:48:54 -04:00
http://smcv.pseudorandom.co.uk/ f93c600288 update for rename of users/smcv/approved.mdwn to users/smcv/yesplease.mdwn 2014-02-22 20:48:54 -04:00
http://smcv.pseudorandom.co.uk/ 4a2491e7f8 rename users/smcv/approved.mdwn to users/smcv/yesplease.mdwn 2014-02-22 20:48:53 -04:00
http://smcv.pseudorandom.co.uk/ 0be84dfe20 review: I would suggest cherry-picking part of the branch 2014-02-22 20:21:58 -04:00
http://smcv.pseudorandom.co.uk/ a9eb2cca03 looks good to me 2014-02-22 19:58:04 -04:00
http://smcv.pseudorandom.co.uk/ dfe1863634 better description 2014-02-22 19:44:39 -04:00
http://smcv.pseudorandom.co.uk/ e40c8a6a03 er, better markup 2014-02-22 19:43:07 -04:00
http://smcv.pseudorandom.co.uk/ 083b76684b looks good to me 2014-02-22 19:42:18 -04:00
http://smcv.pseudorandom.co.uk/ 5ac1fecea0 missing branch? 2014-02-22 19:31:29 -04:00
http://smcv.pseudorandom.co.uk/ 49647b51d0 review 2014-02-22 19:24:58 -04:00
http://smcv.pseudorandom.co.uk/ b6a327d993 review 2014-02-22 19:10:14 -04:00
http://smcv.pseudorandom.co.uk/ a46779a65b pseudocode to make orphans plugin more useful 2014-02-22 14:43:08 -04:00
holger de5838d0e7 2014-02-22 11:32:38 -04:00
holger d46d1e082a 2014-02-22 11:31:32 -04:00
holger 13a4236cfa 2014-02-22 11:30:18 -04:00
http://smcv.pseudorandom.co.uk/ de980870aa I'd merge it 2014-02-22 11:21:28 -04:00
http://smcv.pseudorandom.co.uk/ 3a8700c4d7 2014-02-22 11:11:25 -04:00
http://smcv.pseudorandom.co.uk/ a0db3a935f I can't commit this, but I would if I could 2014-02-22 11:10:13 -04:00
http://smcv.pseudorandom.co.uk/ 29a4fa1afb 2014-02-22 11:01:39 -04:00
http://smcv.pseudorandom.co.uk/ 51242cc303 bug report, patch 2014-02-21 15:42:03 -04:00
Simon McVittie 9de5ca411f template_syntax.t: include doc/templates/*.mdwn in test
Previously, this test assigned the first glob to @templates, and
evaluated the second for its (practically nonexistent) side-effects.
2014-02-21 18:38:10 +00:00
Simon McVittie 90632121f9 reinstate linebreak 2014-02-21 18:35:54 +00:00
Simon McVittie 3d0736dcba Fix template syntax, again 2014-02-21 18:35:02 +00:00
http://smcv.pseudorandom.co.uk/ 0437084ce9 use a <div> for the infobox so mdwn doesn't insert <p> inside a <span> 2014-02-21 14:19:09 -04:00
http://smcv.pseudorandom.co.uk/ ded1779969 new bug report with patch 2014-02-21 14:12:00 -04:00
http://smcv.pseudorandom.co.uk/ 1184f59c86 balance end tag 2014-02-21 13:37:07 -04:00
http://smcv.pseudorandom.co.uk/ 92eb8b009b add optional gitweb/cgit link 2014-02-21 13:20:12 -04:00
http://smcv.pseudorandom.co.uk/ 3a807a8700 add gitweb link 2014-02-21 13:18:05 -04:00
http://smcv.pseudorandom.co.uk/ abd644256e fix branch template, add Try::Tiny references 2014-02-21 13:16:23 -04:00
http://smcv.pseudorandom.co.uk/ c1c903c54c new bug, new branch 2014-02-21 13:12:17 -04:00
Simon McVittie bb359796b8 protect $@ whenever a block using $@ is non-trivial
As noted in the Try::Tiny man page, eval/$@ can be quite awkward in
corner cases, because $@ has the same properties and problems as C's
errno. While writing a regression test for definetemplate
in which it couldn't find an appropriate template, I received

    <span class="error">Error: failed to process template
    <span class="createlink">deftmpl</span> </span>

instead of the intended

    <span class="error">Error: failed to process template
    <span class="createlink">deftmpl</span> template deftmpl not
    found</span>

which turned out to be because the "catch"-analogous block called
gettext before it used $@, and gettext can call define_gettext,
which uses eval.

This commit alters all current "catch"-like blocks that use $@, except
those that just do trivial things with $@ (string interpolation, string
concatenation) and call a function (die, error, print, etc.)
2014-02-21 17:06:36 +00:00