My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Earlier this year

  • Aug 12, 2009
    issue 2 (Spitfire chokes on '))}') Status changed by msolo   -   The syntax here is a little ambiguous because braces are optional when using $placeholder. If you use ${placeholder} around the expression, everything will work correctly. In this case: var bar={ cat: ${foo($bar("dog"))} };
    Status: WontFix
    The syntax here is a little ambiguous because braces are optional when using $placeholder. If you use ${placeholder} around the expression, everything will work correctly. In this case: var bar={ cat: ${foo($bar("dog"))} };
    Status: WontFix
  • Aug 11, 2009
    issue 2 (Spitfire chokes on '))}') reported by mervyn.y.tan.test2   -   1.) Create a spitfire file with the following content: #def foo($s) $s #end def #def bar($s) $s #end def <script type="text/javascript"> var bar={ cat: $foo($bar("dog")) }; </script> 2.) Run SpitFire on it. It produces the following error: Trying to find START_PLACEHOLDER on line 11: > var bar={ cat: $foo($bar("dog")) }; > ^ List of nearby tokens: (@106) PLACEHOLDER_OPEN_PAREN = u'(' (@107) START_PLACEHOLDER = u'$' (@108) ID = u'bar' (@111) PLACEHOLDER_OPEN_PAREN = u'(' (@112) '"' = u'"' (@113) DOUBLE_QUOTE_STR = u'dog' (@116) '"' = u'"' (@117) CLOSE_PAREN = u')' (@118) CLOSE_PAREN = u')' (@119) PLACEHOLDER_CLOSE_BRACE = u' }' 3.) I expect it to produce the following: <script type="text/javascript"> var bar={ cat: "dog" }; </script>
    1.) Create a spitfire file with the following content: #def foo($s) $s #end def #def bar($s) $s #end def <script type="text/javascript"> var bar={ cat: $foo($bar("dog")) }; </script> 2.) Run SpitFire on it. It produces the following error: Trying to find START_PLACEHOLDER on line 11: > var bar={ cat: $foo($bar("dog")) }; > ^ List of nearby tokens: (@106) PLACEHOLDER_OPEN_PAREN = u'(' (@107) START_PLACEHOLDER = u'$' (@108) ID = u'bar' (@111) PLACEHOLDER_OPEN_PAREN = u'(' (@112) '"' = u'"' (@113) DOUBLE_QUOTE_STR = u'dog' (@116) '"' = u'"' (@117) CLOSE_PAREN = u')' (@118) CLOSE_PAREN = u')' (@119) PLACEHOLDER_CLOSE_BRACE = u' }' 3.) I expect it to produce the following: <script type="text/javascript"> var bar={ cat: "dog" }; </script>
  • Mar 27, 2009
    r112 (fix case where you specify a filter in the constructor ) committed by msolo   -   fix case where you specify a filter in the constructor
    fix case where you specify a filter in the constructor
  • Mar 23, 2009
    r111 (removed repeater support by default - reenable when somethin...) committed by msolo   -   removed repeater support by default - reenable when something relies on it
    removed repeater support by default - reenable when something relies on it
  • Mar 23, 2009
    r110 (refactor filter argument structure so it makes sense ) committed by msolo   -   refactor filter argument structure so it makes sense
    refactor filter argument structure so it makes sense
  • Mar 22, 2009
    r109 (adding escaping for literal dollar signs ) committed by msolo   -   adding escaping for literal dollar signs
    adding escaping for literal dollar signs
  • Feb 22, 2009
    r108 (adding C module to accelerate resolving placeholders fixed a...) committed by msolo   -   adding C module to accelerate resolving placeholders fixed a couple of items to make $get_var a bit faster
    adding C module to accelerate resolving placeholders fixed a couple of items to make $get_var a bit faster
  • Feb 07, 2009
    r107 (fix dependency analysis bug ) committed by msolo   -   fix dependency analysis bug
    fix dependency analysis bug
  • Feb 03, 2009
    r106 (raise an error when a macro contains a non-literal node remo...) committed by msolo   -   raise an error when a macro contains a non-literal node remove spurious print
    raise an error when a macro contains a non-literal node remove spurious print
  • Jan 16, 2009
    r105 (tag spitfire-0.7.4 ) committed by msolo   -   tag spitfire-0.7.4
    tag spitfire-0.7.4
  • Jan 16, 2009
    r104 (remove early tag ) committed by msolo   -   remove early tag
    remove early tag

Older

  • Dec 02, 2008
    r103 (fix two minor parse bugs. ) committed by msolo   -   fix two minor parse bugs.
    fix two minor parse bugs.
  • Nov 20, 2008
    r102 (tag spitfire-0.7.4 ) committed by msolo   -   tag spitfire-0.7.4
    tag spitfire-0.7.4
  • Nov 20, 2008
    r101 (remove tag spitfire-0.7.4 ) committed by msolo   -   remove tag spitfire-0.7.4
    remove tag spitfire-0.7.4
  • Nov 20, 2008
    r100 (fixed an issue where failure to short-circuit during a binar...) committed by msolo   -   fixed an issue where failure to short-circuit during a binary 'and' would cause an exception.
    fixed an issue where failure to short-circuit during a binary 'and' would cause an exception.
  • Nov 19, 2008
    r99 (tag spitfire-0.7.4 ) committed by msolo   -   tag spitfire-0.7.4
    tag spitfire-0.7.4
  • Nov 19, 2008
    r98 (fixed optimization of dict literals ) committed by msolo   -   fixed optimization of dict literals
    fixed optimization of dict literals
  • Nov 05, 2008
    r97 (fix handling of parse errors ) committed by msolo   -   fix handling of parse errors
    fix handling of parse errors
  • Aug 02, 2008
    r96 (Disabled broken genshi text template benchmark ) committed by hannosch   -   Disabled broken genshi text template benchmark
    Disabled broken genshi text template benchmark
 
Hosted by Google Code