Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Oct 5, 2011
  1. @weierophinney

    Better detection of object callbacks

    weierophinney authored
    - array(object $object, string $method) is a valid object callback
  2. @weierophinney

    Fix another potential security vector

    Andy Thompson authored weierophinney committed
Commits on Sep 22, 2011
  1. @weierophinney

    Fix potential security vector

    weierophinney authored
    - Fixes a potential security vector whereby if the value of a view model
      key references a PHP function, that function is called.
      - Now validates the callback to determine if it is a static method
        call or namespaced function call; if not, simply returns the value.
Commits on Apr 3, 2011
  1. @weierophinney
Commits on Sep 14, 2010
  1. @weierophinney
  2. @weierophinney

    SUB-VIEWS pragma implementation

    weierophinney authored
    - Added ability to render "sub views", implementing a two-step view pattern.
Commits on Sep 8, 2010
  1. @weierophinney
Commits on Sep 2, 2010
  1. @weierophinney
  2. @weierophinney

    Added token caching capabilities

    weierophinney authored
    - Added getAllTokens() and restoreTokens() methods to Mustache class
    - Documented usage of these methods in README.txt
  3. @weierophinney

    API documentation

    weierophinney authored
    - Created API file and class level docblocks for all classes
    - Minor updates to the phpunit.xml file (to exclude mustache template files from
      code coverage)
    - Updated README.txt to demonstrate and explain autoloading
Commits on Sep 1, 2010
  1. @weierophinney
  2. @weierophinney

    Better whitespace handling

    weierophinney authored
    - Strips excessive newlines from content tokens surrounding delim-set, comment,
      and section tokens.
    - Still have too much indentation; trying to resolve
  3. @weierophinney

    Small fix to project

    weierophinney authored
  4. @weierophinney

    Usage documentation and updated todo

    weierophinney authored
    - Documented: basic usage, pragmas, higher order sections, partials, and
      capabilities
    - Updated TODO to reflect current status
  5. @weierophinney

    Fix iteration tests

    weierophinney authored
    - By default, iteration requires each "item" to be an object/hash; updated
      template and view objects to ensure appropriate tests
  6. @weierophinney

    Recursive partial handling

    weierophinney authored
    - Properly handles recursive partials
  7. @weierophinney

    Tested and corrected pragma handling

    weierophinney authored
    - Pragmas are section specific
    - Pragmas do not extend to partials
  8. @weierophinney

    Tested and corrected setting delimiters

    weierophinney authored
    - Allows specifying alternate delimiters
    - Alternate delimiters set in section only apply to that section
    - Alternate delimiters apply to child sections
    - Alternate delimiters do not carry to partials
Commits on Aug 31, 2010
  1. @weierophinney

    Tested comments

    weierophinney authored
    - Tested (and fixed) comment lexing and (lack of) rendering
Commits on Aug 30, 2010
  1. @weierophinney
  2. @weierophinney

    Updated TODO list

    weierophinney authored
  3. @weierophinney
  4. @weierophinney

    Updated license wording

    weierophinney authored
  5. @weierophinney

    Added license (new BSD)

    weierophinney authored
  6. @weierophinney

    Updated README and TODO

    weierophinney authored
  7. @weierophinney

    Fixed pragma tests

    weierophinney authored
    - Typo in method call.
    - Add implicit iterator pragma to renderer, prior to rendering.
  8. @weierophinney

    Moved exceptions to their own directory

    weierophinney authored
    - Moved all exceptions under Phly/Exception/
    - Updated code referencing exceptions
    - Updated autoloader
  9. @weierophinney

    Exceptions

    weierophinney authored
    - Created discrete exceptions for all exceptional conditions
  10. @weierophinney

    Pragma refactoring

    weierophinney authored
    - Pragmas are now classes, implementing a Pragma interface
    - Renderer checks for a pragma handler when it encounters a pragma token,
      throwing an exception if none found
      - for all tokens thereafter, it loops through registered pragmas, checks to
        see if any can handle the current token, and, if so, invokes them. The first
        to return a value will have that value appended to the content, and the
        renderer moves on to the next token.
Commits on Aug 29, 2010
  1. @weierophinney
  2. @weierophinney

    Pragma handling

    weierophinney authored
    - Added lexer support for pragmas
    - Added renderer support for pragmas
      - Add pragma to a local list when found
      - On each iteration through tokens, pass to handlePragmas() first; if
        non-empty value is returned, append and continue.
  3. @weierophinney

    Higher order sections

    weierophinney authored
    - Created logic for handling higher-order sections
  4. @weierophinney

    Iteration sections

    weierophinney authored
    - Implemented iteration of sections, both for arrays and traversable objects
  5. @weierophinney

    Working partials

    weierophinney authored
    - Partials now render per the mustache.5 manual
    - Also allows aliasing partials (per several mustache implementations)
Commits on Aug 28, 2010
  1. @weierophinney

    Section dereferencing

    weierophinney authored
    - Section dereferencing with assoc arrays works
    - Section dereferencing with objects works
Something went wrong with that request. Please try again.