48 Commits

Author SHA1 Message Date
Graham Ollis
56599bf4f7 rm unnecessary returns 2015-03-19 13:45:03 -04:00
Graham Ollis
32f8daf9cd mojo 6.x compat 2015-02-28 10:31:27 -05:00
Graham Ollis
b40a0f97ee spelling 2014-03-21 14:58:16 -04:00
Graham Ollis
f029ad393f doco 2013-09-28 12:45:16 -04:00
Graham Ollis
a7a268267c fix the stopwords 2013-08-08 16:50:43 -04:00
Graham Ollis
b72fb699e9 add release tests
(fix minor stuff found by release tets)
2013-08-08 16:37:09 -04:00
Graham Ollis
48b19a5ab9 formatting fixes 2013-08-08 09:18:41 -04:00
Graham Ollis
5267ab7538 more doco improvements 2013-08-08 09:11:04 -04:00
Graham Ollis
e541ac92b7 include a full app example 2013-08-08 09:03:48 -04:00
Graham Ollis
6386e0620e doco 2013-08-08 08:51:56 -04:00
Graham Ollis
cfbf3e8ea3 use mojolicious' full name in abstract 2013-08-07 09:52:27 -04:00
Graham Ollis
a30b13d6b0 doco 2013-07-10 07:35:01 -04:00
Fayland Lam
fe963f6511 fix for defaults layout 2013-04-26 13:35:46 -04:00
Graham Ollis
0faf79001b fix for GH#36 2013-04-11 15:42:20 -04:00
Jason Crowther
5e8ade81e4 bug fix, remove unintentional hard coded cache path. 2013-03-22 12:13:08 -04:00
Graham Ollis
77c6298a99 only create temp directory if it doesn't exist yet 2013-02-26 18:16:12 -05:00
Graham Ollis
22eba8d3c5 include UID in default COMPILE_DIR 2013-02-24 23:12:05 -05:00
Graham Ollis
02fce2bfdd simplify 2013-01-28 11:51:38 -05:00
Graham Ollis
c736f2ed2d doco 2013-01-28 09:28:07 -05:00
Graham Ollis
408cba6c35 fix but where DATA templates are not being rendered 2013-01-27 22:48:55 -05:00
Graham Ollis
c00f8934de rm not_found, as it is no longer used. 2013-01-09 14:14:44 -05:00
Rafael Kitover
4225658dbc report not finding a template correctly
TtRenderer was dying with a 'not found' error when a template was not
found, instead of returning 0, which was interfering with things like
the error screen.

Use $provider->fetch to find templates and return 0 when a template is
not found.
2013-01-09 13:17:11 -05:00
Graham Ollis
c7012a1be0 doco typo 2012-12-29 10:27:32 -05:00
Graham Ollis
f4beaf9864 use non-capturing for performance 2012-12-19 12:33:19 -05:00
Graham Ollis
37ee2ee753 support multiple renderer paths 2012-12-18 11:00:47 -05:00
Graham Ollis
194a9219e9 fix cpanm warning. 2012-10-02 11:42:17 -04:00
Graham Ollis
5505c5d82a utf-8 for perldoc 2012-10-02 11:34:42 -04:00
Graham Ollis
daceb5876f documentation updates. 2012-10-02 11:33:07 -04:00
Graham Ollis
54d13555ef Merge branch 'master' of github.com:abh/mojox-renderer-tt 2012-08-31 08:18:19 -04:00
Graham Ollis
d6d98cc533 fix for win32 2012-08-31 08:18:01 -04:00
Graham Ollis
51af0a7893 return 0 on not found 2012-08-25 07:15:15 -04:00
Graham Ollis
e64ce4c484 refactor fetching templates from DATA 2012-08-24 05:47:54 -04:00
Graham Ollis
20d795cb51 Compatibility with mojo 3.33 2012-08-23 22:20:08 -04:00
Graham Ollis
870d195761 use die instead of render_exception 2012-08-23 15:26:38 -04:00
Graham Ollis
24990483e5 avoid deep recursion
when using a tt template for exceptions, and there is
an exception in the template, don't go into infinite
recursion.
2012-08-21 16:30:19 -04:00
Graham Ollis
28ae3d62f8 return 1 on failure 2012-08-21 15:44:10 -03:00
Ask Bjørn Hansen
511ee4463b Let Dist::Zilla set VERSION
Closes #17
2012-06-05 16:04:07 -07:00
Ask Bjørn Hansen
bdc9f56452 Use app->renderer->paths to find template directories
Closes #20
2012-06-05 15:53:08 -07:00
Matthias Bethke
989ea57cf9 Fixed double TT rendering on error
If a template produced a rendering error in process() but did not produce one
when called without stash variables, the Mojo::Exception would be built
incorrectly, leading to an exception that masked the original error.
2012-05-17 14:00:17 -06:00
Ask Bjørn Hansen
a89a9a4344 Merge pull request #21 from marcusramberg/move_cache
Cache templates in tmpdir by default
2012-02-01 01:17:52 -08:00
Marcus Ramberg
78c9d24bc7 Cache templates in tmpdir by default 2012-01-25 15:11:11 +01:00
Ask Bjørn Hansen
0b0acd510e Document the 'c' stash variable (RT#70866, Matthias Bethke) 2011-10-08 21:04:17 -07:00
Magnus Holm
bd48aa5066 Fix cycles 2011-09-07 11:05:55 +02:00
Cosimo Streppone
dae8329981 [GH#12] Drop MojoX::* namespace
Renamed MojoX:: namespace to Mojolicious::Plugin::TtRenderer::Engine,
so there's ::Engine, ::Helper and ::Provider.

MojoX:: is deprecated and not to be used, according to @sri.
2011-08-01 11:56:25 +02:00
Maxim Vuets
0588884a9f Fix POD synopsis 2010-10-09 14:50:25 -07:00
Ask Bjørn Hansen
5315d1efda Use Dist::Zilla to make releases 2010-08-02 01:35:41 -07:00
vti
9f26a20192 Fixed template path 2010-07-29 15:14:13 +03:00
vti
96d2be17b4 Made it more modern 2010-06-15 12:27:12 +02:00