Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 28, 2010
  1. Merge branch 'exposebuf'

    authored
  2. fix 'mustach' typo

    authored
Commits on May 26, 2010
  1. @gustin

    remove mustache dependency on view tests so things don't go boom if you

    gustin authored committed
    don't wear a stache
Commits on May 13, 2010
Commits on Apr 26, 2010
  1. @hassox

    Updates to either expose the buffer or not

    hassox authored
    remove the ability to expose buffer as an arbitrarily named variable
Commits on Apr 25, 2010
  1. @hassox
  2. @judofyr

    failing test for constant access under CompileSite

    judofyr authored committed
Commits on Apr 21, 2010
  1. @trans
Commits on Apr 20, 2010
  1. @trans

    support for Radius templates

    trans authored
Commits on Apr 2, 2010
  1. @gbuesing
Commits on Mar 18, 2010
  1. @gus

    Cleaned up Tilt[](ext) method because the redundancy was bothering me…

    gus authored
    …. Broke out some tests to be more explicit as well.
Commits on Mar 9, 2010
  1. whitespace errors

    authored
  2. @gbuesing

    Erubis :engine_class and :escape_html options

    gbuesing authored committed
    ErubisTemplate: add :engine_class option, for specifying custom
    engine class, and :escape_html option, for conveniently specifying
    Erubis::EscapedEruby engine.
Commits on Mar 6, 2010
Commits on Mar 5, 2010
  1. make precompiled template source methods more descriptive

    authored
    Removes the template_source and local_assignment_code methods and
    replaces them with #precompiled_template, #precompiled_preamble,
    and #precompiled_postamble methods. Template subclasses can hook
    in and provide template source generation at different levels.
    
    Line offset calculation is cleaned up a bit as well.
  2. compiled template method names use MD5 and lookup hash

    authored
    This should guarantee that method names never collide and also
    improves lookup performance, since the method name is generated
    once and then stored in a Hash. The downside is that generating
    the method name initially will be a bit slower since we bring in
    MD5 and sort the keys.
Commits on Mar 4, 2010
  1. Merge precompiled methods into master

    authored
    This branch adds support for fast, precompiled templates using a
    mixin module. Include the Tilt::CompileSite module in your scope
    objects to enable method based template compilation for source
    generating templates like ERB, Erubis, and Builder.
    
    Special thanks to Josh Peek, Magnus Holm, and Yehuda Katz for their
    input. See the following discussion for more info on this approach:
    http://tinyurl.com/yjj2z2x
Commits on Mar 3, 2010
  1. make compiled method names more unique

    authored
    Weird. It seems object_ids are reused before finalizers are
    triggered for the previous object with same id, so there's all
    kinds of spooky behavior with methods being removed immediately
    after others are added.
    
    Added a high frequency timestamp to the method names to make them
    more unique.
  2. the #compile! method is now known as #prepare

    authored
    Seeing as how the term "compile" means "compile template source to a
    method" now. I never liked "compile!" as a method name anyway.
Something went wrong with that request. Please try again.