Permalink
Commits on Nov 7, 2010
Commits on Oct 31, 2010
  1. Don't create page variables when loading a page from cache

    The fact this was happening was silly to begin with. This makes loading a page from cache dramatically faster as well as reducing the amount of memory used.
    committed Oct 31, 2010
  2. Cleanup

    committed Oct 31, 2010
  3. Switch back to using glob for directory reading

    It's slightly faster on unix systems, which is where the majority of stacey-run sites are hosted.
    It also deals with unsuccessful attempts to get the mtime of a file which is unreadable by php.
    committed Oct 31, 2010
  4. Whitespace

    committed Oct 31, 2010
Commits on Oct 27, 2010
Commits on Oct 20, 2010
Commits on Oct 14, 2010
Commits on Oct 5, 2010
  1. Bumped version

    committed Oct 5, 2010
Commits on Sep 22, 2010
  1. Hide loose '@' symbols once each template block is parsed

    This prevents '@' symbols getting removed, or vars replaced within an incorrect scope.
    committed Sep 22, 2010
  2. Fixed disappearing '@' symbols

    if when parsing vars, if '$var' is empty or whitespace, then we need to ignore it.
    committed Sep 22, 2010
  3. Whitespace cleanup

    committed Sep 22, 2010
Commits on Sep 9, 2010
  1. Use `preg_split` rather than `preg_match_all`

    In terms of speed, this runs in only slightly faster, but `preg_match_all` seems to hit a maximum string length at around 100k (thanks to Martín Melado for picking this up). `preg_split` doesn't appear to have these same issues.
    And `preg_match_all` was overkill in the first place.
    committed Sep 9, 2010
  2. Whitespace cleanup

    committed Sep 9, 2010
Commits on Sep 7, 2010
  1. Addressed issue with variable creation order

    When `create_textfile_vars` was run for the content file of the current page, `current_page_template` did not not exist yet.
    committed Sep 7, 2010
Commits on Sep 3, 2010
  1. js/json style comments now also get added to css templates. Additiona…

    …lly, to support robots.txt files, txt files now get # comments.
    nsfmc committed with Sep 1, 2010
  2. Only parse content as markdown for expected html output

    The content should only be parsed through markdown and output as html if our template extension is 'html', 'htm' or 'xml'.
    committed Sep 3, 2010
  3. Disable internal '@' symbol replacement

    Replacing with a html entity equivalent only makes sense in the context of .html files, whereas the template parser can technically be run over any type of text file.
    committed Sep 3, 2010
Commits on Aug 25, 2010
  1. Added @children_count var

    committed Aug 25, 2010
Commits on Aug 6, 2010
  1. Hook into the file_cache to build the partial list

    - Rather than the rglob call which was slower & didn't work on certain file systems
    committed Aug 6, 2010
  2. Use serialized file_cache array to build cache hash

    - Rather than recursing through the entire file system to build the md5
    committed Aug 6, 2010
  3. Create an internal file_cache to reduce glob() calls

    - This helps speed up the runtime of the app noticeably
    committed Aug 6, 2010
Commits on Aug 5, 2010
  1. Whitespace cleanup

    committed Aug 5, 2010
Commits on Aug 1, 2010
  1. There, now you can have PHP assets that parse. Just call the $php col…

    …lection from the templates and throw @content wherever you choose. If the asset has php code embedded, it will run as a usual include.
    
    Glad to contribute!
    nacholabs committed with Jul 10, 2010
Commits on Jul 8, 2010
Commits on Jun 22, 2010
Commits on May 18, 2010
  1. Removed some spaces within evals expressions

    They were (strangely) causing certain versions of php to freak out
    committed May 18, 2010
Commits on Apr 7, 2010
  1. Bumped version

    committed Apr 7, 2010
Commits on Apr 6, 2010
  1. Fixed bug with @is_current var

      The trailing slash was causing the permalink to end in //
    committed Apr 6, 2010
  2. Added two lines to use the var "@path" *inside of content* -- this is…

    … great if you want to embed images (or other files) directly in your content instead of your templates. I know, it may not be the best way to do this, but for my current project it was a must-have.
    killercup committed with Mar 21, 2010
  3. Readme updates

    committed Apr 6, 2010