Commits
- Commit:
ebc9d200a03cd4cf81f614f5dafe8873dbc8a8bd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
template: don't automatically include tmpl.h anymore
- Commit:
14d86fd9156dd2aecbc0af532359e7fc3207415a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
template: add quoting support inside {{ ... }} blocks
- Commit:
c063deb1a1e9296c7ac51636144f503a07b39195
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix parsing of {! !} block after content
the '{' and '!' characters were pushed back in the wrong order and so
read as "!{" instead of "{!". add regress for this case, and for
similar usage (02 change.)
- Commit:
95448b627ab3c0c205b0677309e4487484658a12
- From:
- Omar Polo <op@omarpolo.com>
- Date:
template: fix possible use-after-free and drop the `render' sugar
if some of the tp_* function fails, the inner code could free the
template too (that's what galileo does), so `tp->tp_ret' would access
free'd memory!
Instead, add a local variable `tp_ret' to keep track of the return
code. While here, drop the `render' shortand that adds the argument
call, the template_reset function and adapt the regress.
- Commit:
bff58270a8ffa0e66ce97234e440b545ba9290d3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
import the template compiler i've been working on