Commits
- 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:
ee34715e9bf37e3f13a9d07b2ec1d817386c41fb
- From:
- Omar Polo <op@omarpolo.com>
- Date:
template: preserve \
- Commit:
83e0f74d0776e6319be616d0e22926aef4a3042c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
template: add `printf' support
- Commit:
b449817041dc22b1fc1bfe7e3513a92415799ccf
- From:
- Omar Polo <op@omarpolo.com>
- Date:
template: drop `| escape': it's the default
- Commit:
9a90a3d166d0ae512772ecb58d39629cd8250e37
- From:
- Omar Polo <op@omarpolo.com>
- Date:
template: don't spam `#lines's
- Commit:
83f0f95a6647ec13523e8d1640d61987eee12c15
- From:
- Omar Polo <op@omarpolo.com>
- Date:
be portable: switch to a custom version of Kristaps' oconfigure
- Commit:
bff58270a8ffa0e66ce97234e440b545ba9290d3
- From:
- Omar Polo <op@omarpolo.com>
- Date:
import the template compiler i've been working on