Permalink
Commits on Apr 2, 2013
  1. Bump to v2.3.0

    committed Apr 2, 2013
Commits on Mar 28, 2013
  1. s/an/a/

    committed Mar 28, 2013
Commits on Mar 25, 2013
  1. Merge branch 'hotfix/2.2.0' into dev

    Conflicts:
    	src/Mustache/Compiler.php
    	src/Mustache/Engine.php
    committed Mar 25, 2013
  2. Merge branch 'hotfix/2.2.0'

    committed Mar 25, 2013
  3. Bump Genghis version.

    committed Mar 25, 2013
Commits on Mar 23, 2013
  1. Add a 'strict_callables' option to Mustache_Engine

    Prevents treating array('ClassName', 'methodName') or array($instance, 'methodName') as section or interpolation callables. This helps protect against arbitrary code evaluation when user input is passed directly into the template.
    
    This setting is recommended for PHP 5.3+, and all PHP 5.2 projects not using section or interpolation lambdas.
    
    The default value is false to preserve backwards compatibility.
    
    See #138
    committed Mar 23, 2013
Commits on Mar 12, 2013
  1. Remove unused submodule.

    committed Mar 12, 2013
  2. Move loader cascading into the loadPartial method.

    This means the `partialsLoader` property is never set to the default loader, fixing things like `setPartials`, but template loading cascades as per the spec.
    
    Add test coverage for partial cascading.
    committed Mar 12, 2013
  3. lazily default partialsLoader to loader

    Conflicts:
    	src/Mustache/Engine.php
    mattdeclaire committed with Feb 15, 2013
Commits on Jan 27, 2013
  1. Add `resolveValue` method to base Template.

    DRYs up compiled class output a bit and makes things FASTER!
    
    Speeds up value resolution by 33% for primitives, 25% for methods and properties, and 10% for lambdas.
    committed Jan 26, 2013
Commits on Jan 26, 2013
Commits on Jan 25, 2013
Commits on Jan 24, 2013
Commits on Jan 23, 2013
Commits on Jan 21, 2013
  1. Add an inline template loader.

    This loader is awesome for micro-frameworks such as Silex :)
    committed Jan 21, 2013
Commits on Jan 20, 2013
  1. Improve Mustache exception types, catchability.

     * Subclass common exception types (runtime, logic, invalid argument).
     * Add new "unknown x" exceptions for filters, helpers and templates.
     * Make all Mustache exceptions implement Mustache_Exception interface… Gotta catch 'em all!
    committed Jan 20, 2013
Commits on Jan 12, 2013