Permalink
Switch branches/tags
Commits on Dec 2, 2009
  1. prepare the 0.9.4 release

    git-svn-id: http://svn.twig-project.org/trunk@153 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Dec 2, 2009
  2. added missing item in CHANGELOG

    git-svn-id: http://svn.twig-project.org/trunk@152 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Dec 2, 2009
  3. added support for DateTime instances for the date filter (closes #41)

    git-svn-id: http://svn.twig-project.org/trunk@151 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Dec 2, 2009
  4. added support for DateTime instances for the date filter (closes #41)

    git-svn-id: http://svn.twig-project.org/trunk@150 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Dec 2, 2009
  5. added a recipe about sharing objects between the templates and the ma…

    …in application
    
    git-svn-id: http://svn.twig-project.org/trunk@149 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Dec 2, 2009
Commits on Dec 1, 2009
  1. fixed loop.last when the array only has one item (closes #40)

    git-svn-id: http://svn.twig-project.org/trunk@148 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Dec 1, 2009
Commits on Nov 28, 2009
  1. removed the LINE_DELIMITER const and made it possible to insert newli…

    …nes in tag and variable blocks
    
    git-svn-id: http://svn.twig-project.org/trunk@147 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 28, 2009
  2. fixed a bug when a literal '\n' were present in a template text

    git-svn-id: http://svn.twig-project.org/trunk@146 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 28, 2009
  3. fixed typo in the tests

    git-svn-id: http://svn.twig-project.org/trunk@145 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 28, 2009
Commits on Nov 18, 2009
  1. fixed typo

    git-svn-id: http://svn.twig-project.org/trunk@143 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 18, 2009
Commits on Nov 16, 2009
  1. refactored loaders (closes #38)

    git-svn-id: http://svn.twig-project.org/trunk@142 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 16, 2009
  2. fixed bug when the filename of a template contains */

    git-svn-id: http://svn.twig-project.org/trunk@141 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 16, 2009
Commits on Nov 11, 2009
  1. updated CHANGELOG

    git-svn-id: http://svn.twig-project.org/trunk@137 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 11, 2009
  2. updated CHANGELOG

    git-svn-id: http://svn.twig-project.org/trunk@135 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 11, 2009
  3. moved template cache configuration to the main Twig_Environment class.

    WARNING: This is an API change which is NOT backward compatible.
    
    The loaders do not take the cache and autoReload options anymore.
    
    Instead, the Twig_Environment class has two new options: cache and auto_reload.
    
    Read the updated documentation for more information.
    
    
    
    git-svn-id: http://svn.twig-project.org/trunk@134 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 11, 2009
  4. changed template loading of parent templates to use the memory cache …

    …provided by the environment
    
    git-svn-id: http://svn.twig-project.org/trunk@133 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 11, 2009
  5. moved getTemplateClass() to Twig_Environment

    git-svn-id: http://svn.twig-project.org/trunk@132 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 11, 2009
  6. renamed getTemplateName to getTemplateClass

    git-svn-id: http://svn.twig-project.org/trunk@131 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 11, 2009
  7. simplified cache management

    git-svn-id: http://svn.twig-project.org/trunk@130 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 11, 2009
  8. optimized template loading as the source code is now never fetched if…

    … the cache exists and autoreload is false (which should be the case for websites in production)
    
    git-svn-id: http://svn.twig-project.org/trunk@129 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 11, 2009
  9. added setEnvironment to the Twig_LoaderInterface

    git-svn-id: http://svn.twig-project.org/trunk@128 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 11, 2009
  10. made Twig_Loader::getTemplateName() the only method that knows how to…

    … create a template class name
    
    git-svn-id: http://svn.twig-project.org/trunk@127 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 11, 2009
Commits on Nov 10, 2009
  1. fixed output when an error occurs in a template and render() is used …

    …(closes #23)
    
    git-svn-id: http://svn.twig-project.org/trunk@126 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 10, 2009
Commits on Nov 8, 2009
  1. updated CHANGELOG

    git-svn-id: http://svn.twig-project.org/trunk@121 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 8, 2009
  2. made a optimization when a loop iterator also implements Countable

    git-svn-id: http://svn.twig-project.org/trunk@120 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 8, 2009
  3. made more changes to use iterator_to_array()

    git-svn-id: http://svn.twig-project.org/trunk@119 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 8, 2009
Commits on Nov 7, 2009
  1. made a huge optimization for loops (again)

    git-svn-id: http://svn.twig-project.org/trunk@118 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 7, 2009
  2. made a huge optimization for loops (up to 50% faster now)

    git-svn-id: http://svn.twig-project.org/trunk@117 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 7, 2009
  3. made small optimizations to for loops

    git-svn-id: http://svn.twig-project.org/trunk@116 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 7, 2009
  4. made a small optimization when iterating over an Iterator

    git-svn-id: http://svn.twig-project.org/trunk@115 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 7, 2009
Commits on Nov 5, 2009
  1. added a tip about dynamic properties

    git-svn-id: http://svn.twig-project.org/trunk@114 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 5, 2009
  2. added public properties support

    git-svn-id: http://svn.twig-project.org/trunk@113 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 5, 2009
  3. added support for expression for the set tag

    git-svn-id: http://svn.twig-project.org/trunk@112 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 5, 2009
  4. fixed \ usage in a HTML string

    git-svn-id: http://svn.twig-project.org/trunk@111 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Nov 5, 2009
Commits on Oct 29, 2009
  1. updated CHANGELOG for 0.9.3-DEV version

    git-svn-id: http://svn.twig-project.org/trunk@108 93ef8e89-cb99-4229-a87c-7fa0fa45744b
    fabien committed Oct 29, 2009