Commit Graph

65 Commits

Author SHA1 Message Date
bzick
0b4d026050 Add isIterable modifier 2013-07-20 21:28:03 +04:00
bzick
46f03c3bd2 Improve tokenizer 2013-07-20 21:26:02 +04:00
bzick
f6cc2d5993 Remove addTemplate method 2013-07-20 21:25:32 +04:00
bzick
53add7c30a Cleanup render object after display 2013-07-20 12:51:06 +04:00
bzick
617fc7324c Improve providers. Renders now use bulk checks via ::verify 2013-07-13 12:00:19 +04:00
Sergey Beresnev
748ef29a1d Refactoring Fenom\Template::compile: Removed goto, $from
Fixed issues with templates
    '{if 0}none{/if} literal: {  $a}{$a}{  $a} end'
    '{* '
2013-07-08 12:43:20 +09:00
bzick
0bb82d9898 Fix escaping 2013-07-07 11:29:26 +04:00
bzick
87662f83a1 Merge remote-tracking branch 'origin/master'
Conflicts:
	docs/tags/capture.md
	src/Fenom.php
2013-07-07 01:36:24 +04:00
bzick
42b71ed644 Add {autoescape} block tag and {raw} inline pseudo tag. Improve auto escaping 2013-07-07 01:29:33 +04:00
bzick
b99b874d38 Remove |raw modifier. It is not good idea. Need tag {raw <expr>} 2013-07-06 14:09:49 +04:00
bzick
3d0475e95c Add |raw modifier support 2013-07-06 14:03:05 +04:00
Pascal Borreli
4130a4c7dd Fixed typos 2013-07-04 21:02:24 +01:00
Ivan Shalganov
68b892703d Merge pull request #8 from hell0w0rd/tokenizer-misprint
[Tokenizer] remove T_UNSET repeating
2013-07-04 06:38:32 -07:00
Nikita
704b930126 remove T_UNSET repeating 2013-07-04 15:35:51 +04:00
bzick
eea3391c7d Fix: static modifier doesn't insert as is 2013-07-04 10:37:14 +04:00
bzick
9600fc78d7 Fix docs, done #2 2013-07-04 01:28:10 +04:00
bzick
4b8b56482c Fix comments, remove old code 2013-07-03 12:22:35 +04:00
bzick
0457d5c379 Fix indents 2013-07-03 12:10:50 +04:00
bzick
c76f5c8be0 Add checking nested level for {use} and {extends}
Add more docs
2013-07-02 11:07:33 +04:00
bzick
27d7110690 Renaming - done 2013-06-28 12:04:42 +04:00
bzick
b9ac24bb5b Rename Cytro to Fenom 2013-06-28 11:53:53 +04:00
bzick
2e4ce13c10 Add dynamic modifier support 2013-06-20 10:36:35 +04:00
bzick
1daeb0168f Remove debug 2013-06-18 18:43:43 +04:00
bzick
a515c8e969 Optimize extends 2013-06-08 00:08:00 +04:00
bzick
f42d0cff5d Fix: cycle tag. Update comments. Add tests. 2013-06-01 02:00:43 +04:00
bzick
15744665a5 Fix: comments parsing 2013-05-30 22:41:58 +04:00
bzick
32ccaa91f0 Fix: reparse close tag, custom provider, simplify compile method, add providers and tests 2013-05-30 19:00:00 +04:00
bzick
707a13cd08 Fix: invalid key on adding render 2013-05-20 20:36:03 +04:00
bzick
319bf568ba Done typical extends 2013-05-19 02:04:52 +04:00
bzick
12a0c9589f Fix extends with dynamic blocks 2013-05-17 22:20:29 +04:00
bzick
5a1097d5a6 Add licenses 2013-04-28 18:08:57 +04:00
bzick
614428e88d Add comments and license block 2013-04-28 11:33:36 +04:00
bzick
1e97857ea8 Mass refactory
Rename project
2013-04-04 10:56:44 +04:00
bzick
3fe541029c Add custom additionally options for template 2013-03-18 00:35:20 +04:00
bzick
bd056bf75b Small refactoring 2013-03-17 14:37:23 +04:00
bzick
454fff1a08 Fix modifier length 2013-03-15 18:40:17 +04:00
bzick
cae6824bd3 Fix truncate modifier
Add test for truncate modifier
2013-03-15 14:53:19 +04:00
bzick
d4d7b7d07b Improve cycle
Update docs
2013-03-15 00:57:28 +04:00
bzick
97e01e7f79 Add tests for partial import 2013-03-15 00:12:02 +04:00
bzick
a3c5128aba Fixes
Update docs
  Add {import ... from ...}
  Improve parsing
2013-03-14 21:45:00 +04:00
bzick
fdbb4dac6d Done extends 2013-03-04 12:40:32 +04:00
bzick
a88c434824 Fix template nesting 2013-02-27 20:55:08 +04:00
bzick
9fee4f2687 Improve compile method 2013-02-26 23:56:06 +04:00
bzick
c45c6dc2d2 Add 'in' modifier 2013-02-23 17:37:04 +04:00
bzick
7631e3508d Fix tabulation
Add 'macro' namespace in import support
2013-02-23 16:35:11 +04:00
bzick
b3480e820b Add {import} + tests 2013-02-23 13:29:20 +04:00
bzick
2ba3df6536 Add macro support 2013-02-23 02:03:05 +04:00
bzick
2acb0feff9 Fix broken test 2013-02-22 00:05:20 +04:00
bzick
ee9cd9b746 Big update 2013-02-21 22:51:24 +04:00
bzick
f4bc88a97d Update doc 2013-02-20 22:32:14 +04:00