- Optimized cycle generation
commit5501686f88804311ef4359d6721aba14ba2d2f3b
authorCésar D. Rodas <crodas@php.net>
Sat, 7 Aug 2010 23:45:05 +0000 (7 19:45 -0400)
committerCésar D. Rodas <crodas@php.net>
Sat, 7 Aug 2010 23:45:05 +0000 (7 19:45 -0400)
tree2b5802f31cccedc86cbce96fa22de340229e9e43
parent766cf709b730ce35ff1ab7685a5be18f01c69d77
- Optimized cycle generation
- The generated code now is saved in the same directory structure than the template dir
36 files changed:
lib/Haanga.php
lib/Haanga/Extension/Tag/Cycle.php
tests/templateTest.php
tests/tmp/assert_templates/autoescape.tpl.php [moved from tests/tmp/assert_templates_autoescape.tpl.php with 87% similarity]
tests/tmp/assert_templates/base.tpl.php [moved from tests/tmp/assert_templates_base.tpl.php with 95% similarity]
tests/tmp/assert_templates/custom_tag.tpl.php [moved from tests/tmp/assert_templates_custom_tag.tpl.php with 85% similarity]
tests/tmp/assert_templates/cycle.tpl.php [moved from tests/tmp/assert_templates_cycle.tpl.php with 84% similarity]
tests/tmp/assert_templates/dummy.tpl.php [moved from tests/tmp/assert_templates_dummy.tpl.php with 88% similarity]
tests/tmp/assert_templates/empty_loop.tpl.php [moved from tests/tmp/assert_templates_empty_loop.tpl.php with 92% similarity]
tests/tmp/assert_templates/exec.tpl.php [copied from tests/tmp/assert_templates_partial.tpl.php with 66% similarity]
tests/tmp/assert_templates/filter.tpl.php [moved from tests/tmp/assert_templates_filter.tpl.php with 92% similarity]
tests/tmp/assert_templates/first_of.tpl.php [moved from tests/tmp/assert_templates_first_of.tpl.php with 92% similarity]
tests/tmp/assert_templates/if_else_simple.tpl.php [moved from tests/tmp/assert_templates_if_else_simple.tpl.php with 88% similarity]
tests/tmp/assert_templates/ifchanged.tpl.php [moved from tests/tmp/assert_templates_ifchanged.tpl.php with 95% similarity]
tests/tmp/assert_templates/ifequals.tpl.php [moved from tests/tmp/assert_templates_ifequals.tpl.php with 88% similarity]
tests/tmp/assert_templates/in.tpl.php [moved from tests/tmp/assert_templates_in.tpl.php with 92% similarity]
tests/tmp/assert_templates/inheritence_nested_block.tpl.php [moved from tests/tmp/assert_templates_inheritence_nested_block.tpl.php with 91% similarity]
tests/tmp/assert_templates/inheritence_nested_block_duplicated.tpl.php [moved from tests/tmp/assert_templates_inheritence_nested_block_duplicated.tpl.php with 94% similarity]
tests/tmp/assert_templates/join.tpl.php [moved from tests/tmp/assert_templates_join.tpl.php with 86% similarity]
tests/tmp/assert_templates/load.tpl.php [moved from tests/tmp/assert_templates_load.tpl.php with 96% similarity]
tests/tmp/assert_templates/loop.tpl.php [moved from tests/tmp/assert_templates_loop.tpl.php with 97% similarity]
tests/tmp/assert_templates/nested_block.tpl.php [moved from tests/tmp/assert_templates_nested_block.tpl.php with 94% similarity]
tests/tmp/assert_templates/nested_block_second_parent.tpl.php [moved from tests/tmp/assert_templates_nested_block_second_parent.tpl.php with 94% similarity]
tests/tmp/assert_templates/nested_block_second_parent_override.tpl.php [moved from tests/tmp/assert_templates_nested_block_second_parent_override.tpl.php with 91% similarity]
tests/tmp/assert_templates/object.tpl.php [moved from tests/tmp/assert_templates_object.tpl.php with 86% similarity]
tests/tmp/assert_templates/partial.tpl.php [moved from tests/tmp/assert_templates_partial.tpl.php with 82% similarity]
tests/tmp/assert_templates/pluralize.tpl.php [moved from tests/tmp/assert_templates_pluralize.tpl.php with 88% similarity]
tests/tmp/assert_templates/regroup.tpl.php [moved from tests/tmp/assert_templates_regroup.tpl.php with 97% similarity]
tests/tmp/assert_templates/spaceless.tpl.php [moved from tests/tmp/assert_templates_spaceless.tpl.php with 92% similarity]
tests/tmp/assert_templates/subtemplate.tpl.php [moved from tests/tmp/assert_templates_subtemplate.tpl.php with 94% similarity]
tests/tmp/assert_templates/templatetag.tpl.php [moved from tests/tmp/assert_templates_templatetag.tpl.php with 83% similarity]
tests/tmp/assert_templates/title.tpl.php [moved from tests/tmp/assert_templates_title.tpl.php with 83% similarity]
tests/tmp/assert_templates/trans.tpl.php [moved from tests/tmp/assert_templates_trans.tpl.php with 86% similarity]
tests/tmp/assert_templates/truncatewords.tpl.php [moved from tests/tmp/assert_templates_truncatewords.tpl.php with 90% similarity]
tests/tmp/assert_templates/variable_existe.tpl.php [moved from tests/tmp/assert_templates_variable_existe.tpl.php with 86% similarity]
tests/tmp/assert_templates/with.tpl.php [moved from tests/tmp/assert_templates_with.tpl.php with 87% similarity]