Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 25, 2015
  1. bumped version to 1.18.1-DEV

    authored
  2. prepared the 1.18.0 release

    authored
  3. added some more unit tests

    authored
  4. updated CHANGELOG

    authored
  5. bug #1585 Fixed wrong line numbers in error messages for multi-line s…

    authored
    …tatements (hason)
    
    This PR was merged into the 1.18-dev branch.
    
    Discussion
    ----------
    
    Fixed wrong line numbers in error messages for multi-line statements
    
    Partially fixes #1351
    
    Commits
    -------
    
    08c5196 Fixed wrong line numbers in error messages for multi-line statements
  6. minor #1435 Improved named arguments (hason)

    authored
    This PR was merged into the 1.18-dev branch.
    
    Discussion
    ----------
    
    Improved named arguments
    
    Commits
    -------
    
    e9b8bcc Fixed determining the necessary arguments for callable functions
    5f4377b Improved an exception message for missing value of optional arguments
Commits on Jan 22, 2015
  1. @hason
  2. @hason
Commits on Jan 21, 2015
  1. minor #1605 Small cleanup to use already declared variable (hason)

    authored
    This PR was merged into the 1.18-dev branch.
    
    Discussion
    ----------
    
    Small cleanup to use already declared variable
    
    Commits
    -------
    
    f60a8c4 Small cleanup to use already declared variable
  2. @hason
  3. @hason
Commits on Jan 20, 2015
  1. feature #1603 removed the special Sandbox Module class (fabpot)

    authored
    This PR was merged into the 1.18-dev branch.
    
    Discussion
    ----------
    
    removed the special Sandbox Module class
    
    This PR removes the need for the special Sandbox Module class. This approach can be generalized by adding more "empty" nodes in the Module class to allow third-party extension to easily add code to the generated class. But I think that hacking the module class is always never a good idea and should be avoided (so this "feature" should not even be documented :)).
    
    This is an alternative for #1436, fixes #1402.
    
    Commits
    -------
    
    57400e2 added more hooks in Module
    3b12d55 removed the special Sandbox Module class
  2. added more hooks in Module

    authored
  3. feature #1602 added Twig_Environment::createTemplate() (fabpot)

    authored
    This PR was merged into the 1.18-dev branch.
    
    Discussion
    ----------
    
    added Twig_Environment::createTemplate()
    
    fixes #1506
    
    Commits
    -------
    
    6ec928e added Twig_Environment::createTemplate()
  4. fixed CS

    authored
  5. fixed CS

    authored
  6. added more paths to .gitignore

    authored
  7. feature #1597 added a profiler (fabpot)

    authored
    This PR was merged into the 1.17-dev branch.
    
    Discussion
    ----------
    
    added a profiler
    
    This profiler allows to better understand what's going on when rendering templates. It should be used when debug is true only as it adds some overhead.
    
    Here is a sample output in the text format:
    
    ```
    main 567.04ms/100%
    └ index 463.28ms/82%
      └ base 463.24ms/82%
        └ base::block(header)
        └ index::block(content) 306.29ms/54%
        │ └ included 50.18ms/9%
        │ └ included 45.42ms/8%
        │ └ included 35.42ms/6%
        │ └ base::block(content) 104.97ms/19%
        │ │ └ included 34.90ms/6%
        │ └ included 35.84ms/6%
        └ base::block(footer) 156.84ms/28%
          └ included 38.96ms/7%
          └ base::macro(foo)
    ```
    
    You can also dump a profile in a Blackfire compatible format to [visualise the data as a graph](http://goo.gl/RwNGFH).
    
    A profile is also a great way to be able to list all templates/blocks/macros that were used when rendering a template.
    
    A PR on Symfony (symfony/symfony#13428) integrates this profiler in the Symfony web profiler to replace the current TimedTwigEngine and to add a new Twig panel.
    
    ![symfony-web-profiler](https://cloud.githubusercontent.com/assets/47313/5755461/019cd6a4-9ca5-11e4-8762-68e2a709c336.png)
    
    Commits
    -------
    
    4408caa added a profiler
  8. fixed CS

    authored
  9. minor #1565 Update batch.rst (NAYZO)

    authored
    This PR was squashed before being merged into the 1.17-dev branch (closes #1565).
    
    Discussion
    ----------
    
    Update batch.rst
    
    Commits
    -------
    
    403736f Update batch.rst
  10. @NAYZO

    Update batch.rst

    NAYZO authored committed
  11. added a profiler

    authored
  12. fixed CHANGELOG

    authored
  13. bug #1598 FIX #1596 FileSystem::findTemplate now applies realpath on …

    authored
    …the absolute ... (xavierleune)
    
    This PR was squashed before being merged into the 1.17-dev branch (closes #1598).
    
    Discussion
    ----------
    
    FIX #1596 FileSystem::findTemplate now applies realpath on the absolute ...
    
    ...path before returning it.
    
    This is a purposal to fix the issue #1596.
    Please make any feedback needed.
    
    Commits
    -------
    
    5074114 FIX #1596 FileSystem::findTemplate now applies realpath on the absolute ...
  14. @xavierleune

    FIX #1596 FileSystem::findTemplate now applies realpath on the absolu…

    xavierleune authored committed
    …te ...
  15. minor #1600 Small things (fabpot)

    authored
    This PR was merged into the 1.17-dev branch.
    
    Discussion
    ----------
    
    Small things
    
    Commits
    -------
    
    175a7c3 removed unneeded method
    b7204f1 ensure that debug info are always sorted
Commits on Jan 19, 2015
  1. removed unneeded method

    authored
Commits on Jan 18, 2015
  1. minor #1599 Fixed php syntax (SofHad)

    authored
    This PR was squashed before being merged into the 1.17-dev branch (closes #1599).
    
    Discussion
    ----------
    
    Fixed php syntax
    
    on this page: http://twig.sensiolabs.org/doc/advanced.html#tests
    
    Commits
    -------
    
    65b3799 Fixed php syntax
  2. @SofHad

    Fixed php syntax

    SofHad authored committed
Commits on Jan 14, 2015
  1. bumped version to 1.17.1-DEV

    authored
  2. prepared the 1.17.0 release

    authored
  3. minor #1592 added some more tests for the filename autoescape strateg…

    authored
    …y (fabpot)
    
    This PR was merged into the 1.17-dev branch.
    
    Discussion
    ----------
    
    added some more tests for the filename autoescape strategy
    
    Commits
    -------
    
    01ab6f3 added some more tests for the filename autoescape strategy
Something went wrong with that request. Please try again.