Permalink
Commits on Dec 8, 2010
  1. Merge branch 'release/0.5.0'

    bobthecow committed Dec 8, 2010
  2. Update README.

    bobthecow committed Dec 8, 2010
  3. Comment out lambda tests.

    bobthecow committed Dec 8, 2010
    Lambdas aren't currently implemented in Mustache.php, and the parser we're using doesn't like the lambdas yaml file so it's throwing exceptions :(
  4. Cleanup.

    bobthecow committed Dec 8, 2010
    Make RegEx variable capitalization consistent. Add docblocks for prepareFooRegEx functions.
Commits on Nov 26, 2010
  1. Optimize dot notation check

    bobthecow committed Nov 26, 2010
    Don't try to traverse dot notation unless there's a dot in the variable name.
  2. Remove an extra trim();

    bobthecow committed Nov 26, 2010
  3. Pre-escape tag type constants (saves us from doing it each time the r…

    bobthecow committed Nov 26, 2010
    …egex strings are prepared)
  4. Updating _renderTag logic around leftover section tags.

    bobthecow committed Nov 26, 2010
    Exceptions are now thrown by _renderSections, so anything left over by the time _renderTag executes should just be discarded.
Commits on Nov 24, 2010
  1. Massive overhaul of Mustache.php's whitespace handling.

    bobthecow committed Nov 24, 2010
    Move regex preparation into methods, use named subpatterns so the regex makes more sense. Fix the logic around eating newlines adjacent to tags. Update tests to reflect the changes.
  2. Swap out spyc for sfYaml.

    bobthecow committed Nov 24, 2010
    spyc has a parsing bug which causes partials to fail. I mean, they fail for other reasons too. And we're getting to those. But we don't need to debug YAML parsers while we're at it.
  3. More correct sections implementation.

    bobthecow committed Nov 24, 2010
    Allows nested sections of the same name, throws exceptions on incorrectly nested sections, e.g.:
    
        {{#foo}}{{#bar}}{{/foo}}{{/bar}}
    
    Add a set of tests for incorrectly nested sections.
Commits on Oct 30, 2010
  1. Merge branch 'release/0.4.0'

    bobthecow committed Oct 30, 2010
  2. Revert "Merge branch 'luciferous-master' into dev"

    bobthecow committed Oct 30, 2010
    This reverts commit 9202a37, reversing
    changes made to 54b5800.
    
    Using `is_callable` is problematic as the `__call` magic method interferes with
    context all over the place. See http://hile.mn/buBS11 and http://hile.mn/9vy1S6