Pascal Thormeier
|
0111689f47
|
Fix and add tests
Also use var_export in exceptions in case array/object/etc get passed
|
2015-06-17 15:50:10 +02:00 |
|
Pascal Thormeier
|
a4b6f9627a
|
Enable argument support in partials
Create own context if there are arguments and take values from context
where partial was rendered in. Also allow strings with `=` inside
arguments.
|
2015-06-17 14:19:57 +02:00 |
|
Pascal Thormeier
|
0a908fb6a1
|
Improve error reporting in case of exception
Make Exception messages more verbose
|
2015-06-17 14:18:32 +02:00 |
|
fzerorubigd
|
959834be09
|
Merge pull request #123 from Zemistr/master
Added support for class with __toString method as a context variable.
|
2015-06-08 09:26:41 +04:30 |
|
Martin Zeman
|
23076d68e5
|
Added support for class with __toString method as a context variable.
|
2015-06-07 23:09:14 +02:00 |
|
fzerorubigd
|
8f9d0e5fef
|
Merge pull request #118 from JustBlackBird/fix_slashes
Fix slashes mess in Tokenizer
|
2015-06-02 12:10:53 +04:30 |
|
Dmitriy Simushev
|
824ae885c6
|
Fix escaping of tags with multiple slashes
|
2015-06-01 15:15:52 +00:00 |
|
Dmitriy Simushev
|
04f963a21f
|
Fix slashes mess in Tokenizer
See #113 for details
|
2015-05-19 13:22:15 +00:00 |
|
fzerorubigd
|
8392138584
|
Merge pull request #117 from DaveStein/loader-extendable
FilesystemLoader: Updates to be more extendable
|
2015-05-18 14:20:42 +04:30 |
|
Dave Stein
|
6c9aa9573c
|
FilesystemLoader: Updates to be more extendable
Directory setting can be overridden
The way a directory is sanitized can be overridden
The way options are handled can be overridden
|
2015-05-17 16:41:12 -04:00 |
|
fzerorubigd
|
8652b01b84
|
Merge pull request #114 from szicsu/apc_improvement
APC cache improvement
|
2015-05-13 10:04:51 +04:30 |
|
Szijarto Tamas
|
802d5cf7d3
|
Test of APC cache
|
2015-05-12 23:23:04 +02:00 |
|
Szijarto Tamas
|
bf327cdb24
|
APC cache improvement
- add cache key prefix
- use success param at fetch
|
2015-05-11 21:35:14 +02:00 |
|
fzerorubigd
|
c0c58a2a85
|
Merge pull request #112 from majortom731/master
@root special variable like in handlebars-v2.0.0.js
|
2015-03-10 21:10:52 +03:30 |
|
Thomas Seven
|
b65be0e1c5
|
Implementation + tests for the @root special variable like in handlebars-v2.0.0.js
fixed travis complaints
|
2015-03-10 13:42:10 +01:00 |
|
fzerorubigd
|
382938b82e
|
fix phpcs and also add mustache.php copyright notice
|
2015-01-29 22:28:38 +03:30 |
|
fzerorubigd
|
ccaa5b1d21
|
Merge branch 'master' of https://github.com/mai7star/handlebars.php
|
2015-01-29 22:20:16 +03:30 |
|
fzerorubigd
|
639c8e4b27
|
fix php cs also fixes #105
|
2015-01-29 22:18:26 +03:30 |
|
fzerorubigd
|
704da1e222
|
Merge branch 'master' of https://github.com/majortom731/handlebars.php
|
2015-01-29 22:15:03 +03:30 |
|
fzerorubigd
|
42a7ae732e
|
Merge pull request #108 from JustBlackBird/fix_travis
Fix travis build configs
|
2015-01-29 22:10:37 +03:30 |
|
Dmitriy Simushev
|
32297c21c9
|
Fix travis build configs
|
2015-01-29 15:55:06 +00:00 |
|
Thomas Seven
|
8eb24bd9e4
|
Fixed indentation and comments in the fix for #105
|
2015-01-29 12:06:21 +01:00 |
|
Thomas Seven
|
84b3031a44
|
Make the fix for #105 more elegant, using $template->parseArguments()
|
2015-01-29 11:59:14 +01:00 |
|
Thomas Seven
|
2b3d450849
|
Fixes and Tests for #105
|
2015-01-29 01:32:41 +01:00 |
|
Hiroyuki Toda
|
317e1ebd6c
|
add test for InlineLoader
|
2015-01-26 21:37:51 +09:00 |
|
mai7star
|
4bf343d122
|
add InlineLoader Class (import from Mustache PHP)
|
2015-01-26 13:54:22 +09:00 |
|
fzerorubigd
|
7b8482fc5f
|
Merge pull request #103 from Mibew/support_php_56
Add PHP 5.6 to build matrix
|
2015-01-14 19:13:02 +03:30 |
|
Dmitriy Simushev
|
8bf584bdac
|
Add PHP 5.6 to build matrix
|
2015-01-13 13:55:55 +00:00 |
|
fzerorubigd
|
d0bbcb07b7
|
Merge pull request #102 from jeffturcotte/master
Added custom template class option
|
2014-12-17 18:41:01 +03:30 |
|
Jeff Turcotte
|
69d4efe259
|
Added custom template class option
|
2014-12-16 18:35:16 -05:00 |
|
Dmitriy S. Simushev
|
b3fcfe1339
|
Merge pull request #99 from Mibew/helpers_merge
Add ability to merge Helpers collections
|
2014-12-15 11:50:27 +03:00 |
|
fzerorubigd
|
9f1edcb598
|
Merge pull request #100 from XaminProject/fix_composer_version
Use more restictive dependencies versions
|
2014-12-12 17:07:08 +03:30 |
|
Dmitriy Simushev
|
5b0f54ea31
|
Use more restictive dependencies versions
|
2014-12-12 12:55:04 +00:00 |
|
Dmitriy Simushev
|
e8ce548b86
|
Add ability to merge Helpers collections
|
2014-12-12 12:25:21 +00:00 |
|
Fzerorubigd
|
ed57d8f7d7
|
Merge pull request #96 from Desertsnowman/array_string_rc
Return 'Array' when referencing an array as a string
|
2014-11-18 10:32:04 +03:30 |
|
David Cramer
|
666e44beb5
|
Update Template.php
Update Template.php
added test case
|
2014-11-18 07:36:26 +02:00 |
|
Fzerorubigd
|
86a388058f
|
Merge pull request #94 from jeffturcotte/master
Added getCurrentTokenTree to get a token's tree within a helper
|
2014-11-13 21:48:06 +03:30 |
|
Jeff Turcotte
|
9eb7f952d2
|
Added getCurrentTokenTree to get a token's tree within a helper
|
2014-11-10 15:05:34 -05:00 |
|
Dmitriy Simushev
|
e863d7af80
|
Make subexpressions play nice with context
|
2014-09-15 09:19:21 +00:00 |
|
fzerorubigd
|
3bb6dc09a4
|
another try
|
2014-09-13 17:17:09 +04:30 |
|
fzerorubigd
|
343dc48637
|
try to fix coverage report
|
2014-09-13 13:58:01 +04:30 |
|
Fzerorubigd
|
d146b0a7f4
|
Merge pull request #86 from Mibew/integer_helper_arguments
Treat integer helper arguments as literals
|
2014-09-13 09:00:08 +04:30 |
|
Dmitriy Simushev
|
934566765e
|
Treat integer helper arguments as literals
|
2014-09-10 12:31:23 +00:00 |
|
Fzerorubigd
|
f0cc404283
|
Merge pull request #84 from Mibew/fix_zero_args_string_parsing
Fix arguments parsing for "0" string
|
2014-09-08 22:52:33 +04:30 |
|
Dmitriy Simushev
|
618ec54490
|
Fix arguments parsing for "0" string
|
2014-09-08 13:23:19 +00:00 |
|
fzerorubigd
|
ec108c0bac
|
Merge branch 'Mibew-improved_arguments_parsing'
|
2014-09-07 22:01:51 +04:30 |
|
Dmitriy Simushev
|
614e8182f0
|
Add tests for combined arguments parsing
|
2014-09-02 13:48:09 +00:00 |
|
Dmitriy Simushev
|
2ebc5bfda2
|
Add special variables detection
|
2014-09-02 13:08:20 +00:00 |
|
Dmitriy Simushev
|
17dc20203b
|
Improve arguments parsing
|
2014-09-02 09:34:38 +00:00 |
|
fzerorubigd
|
bacde14221
|
Some changes in tests provided in #80
|
2014-08-29 11:46:42 +04:30 |
|