Commit Graph

103 Commits

Author SHA1 Message Date
bzick
e37c8468eb Update docs and add tests 2013-07-23 11:32:31 +04:00
bzick
67e7ea0b9e Merge remote-tracking branch 'refs/remotes/origin/master' into develop
Conflicts:
	src/Fenom/Template.php
	tests/cases/Fenom/TemplateTest.php
2013-07-22 18:33:55 +04:00
bzick
c4610a7778 Update to 1.1
Read CHANGELOG.md#1.1.0
2013-07-22 18:03:43 +04:00
bzick
ed8098604b Add support options for TestCas::exec 2013-07-20 21:27:31 +04:00
bzick
f6cc2d5993 Remove addTemplate method 2013-07-20 21:25:32 +04:00
Ivan Shalganov
ce8f0201cc Merge pull request #15 from klkvsk/fix-functions-args
Fix for default arguments in custom template functions + tests
2013-07-18 14:34:12 -07:00
bzick
617fc7324c Improve providers. Renders now use bulk checks via ::verify 2013-07-13 12:00:19 +04:00
klkvsk
ceedbd3372 fix for expressions like "{if (!($a || $b))}" (were failing to compile), tests added 2013-07-12 12:05:37 +04:00
klkvsk
a2b5b43cb1 proper fix for array params (now works with both positional and named params), tests 2013-07-11 16:13:11 +04:00
klkvsk
eb1fa83174 add tests for custom functions in template 2013-07-11 14:14:34 +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
968671d8a7 Add tests for auto escaping 2013-07-07 01:34:19 +04:00
bzick
9600fc78d7 Fix docs, done #2 2013-07-04 01:28:10 +04:00
bzick
b9ac24bb5b Rename Cytro to Fenom 2013-06-28 11:53:53 +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
dbae3bf1e4 Fix documentation 2013-05-30 20:00:52 +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
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
5d4d218942 Final renaming
Upd <extends> tests
2013-04-22 10:15:14 +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
cae6824bd3 Fix truncate modifier
Add test for truncate modifier
2013-03-15 14:53:19 +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
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
9ed8e987b9 Develop 2013-02-20 19:51:06 +04:00
bzick
7c83fe6460 Improve scope object 2013-02-20 18:12:44 +04:00
bzick
1ed2ed90aa Add provider test 2013-02-20 18:12:23 +04:00
bzick
9ba3ee68f8 Improve templates 2013-02-20 18:03:53 +04:00
bzick
e54dd63a51 Remove tmp templates 2013-02-20 18:02:00 +04:00
bzick
272f9ab8f3 Hold folders
Update git ignore
2013-02-20 18:01:21 +04:00
bzick
ad2e7316b1 Done static inheritance
Add TestCase
2013-02-15 01:49:26 +04:00
bzick
8c618c2b34 Refactory template ctor
Dev extends
2013-02-13 20:51:27 +04:00
bzick
95daa95cd2 Refactory provider's mechanism 2013-02-13 18:52:47 +04:00
Ivan Shalganov
0659d27878 Fix tests
Add docs
2013-02-08 14:23:10 +04:00
Ivan Shalganov
1ad3d6533d Add docs.
Create compile dir for tests
2013-02-07 20:04:00 +04:00
Ivan Shalganov
e969f1b4fc Fix cache filename 2013-02-07 19:22:13 +04:00
Ivan Shalganov
bf6d2231f4 Disable 'extends' test 2013-02-07 18:11:48 +04:00
Ivan Shalganov
06b7fa488b Dev, dev and dev. Also, docs, docs and docs. 2013-02-07 17:37:16 +04:00
Ivan Shalganov
4f42efbb9a Add benchmark 2013-01-25 19:13:33 +04:00
Ivan Shalganov
164ab85594 port 2013-01-25 18:36:16 +04:00