1. 10 Apr, 2001 12 commits
  2. 09 Apr, 2001 23 commits
  3. 07 Apr, 2001 5 commits
    • Guido van Rossum's avatar
      Update test output to match version 1.0.1 of the code generator. · 51d88f6d
      Guido van Rossum authored
      All test should succeed now (both TAL/test/run.py and TAL/runtest.py).
      51d88f6d
    • Guido van Rossum's avatar
      Update the test suite output, now that TAL and METAL attributes are no · 0f20a2ce
      Guido van Rossum authored
      longer generated.
      
      Also fix the test for <img src tal:attributes="src nothing">.
      0f20a2ce
    • Guido van Rossum's avatar
      Changes to suppress TAL attributes (and METAL attributes, and selected · 257571b0
      Guido van Rossum authored
      XMLNS attributes) in rendered output, with an option to keep the old
      behavior.
      
      HTMLTALParser.py, TALParser.py:
          Mark TAL, METAL and TAL/METAL-related XMLNS attributes in the
          attribute list; the old macroHack marking is subsumed in this.
          The marking is a third value in the list item describing the
          attribute, saying "tal", "metal" or "xmlns".  All TAL and METAL
          attributes are marked; only XMLNS attributes whose namespace URI
          value is the special marker for TAL or METAL are marked.
      
      TALInterpreter.py:
          - Get rid of the non-functional 'html' keyword argument.
          - Add new 'showtal' keyword argument to constructor; this defaults
            to -1, which means that the value should default to 0 if TAL
            expansion is requested (through the 'tal' keyword argument) and
            1 if TAL expansion is not requested.
          - In do_startEndTag(), don't special-case empty HTML tags; this is
            already taken care of by TALGenerator.
          - Implement the showtal behavior: when this flag is false, don't
            output TAL, METAL and XMLNS attributes (that are marked as such
            by the parser).
          - Fix a bug: <img src="foo" tal:attributes="src nothing"> should
            render as <img>, not as <img src>.
      
      TALDefs.py:
          Bumped TAL_VERSION to "1.0.1"
      
      driver.py:
          New command line option -t to show tal in output
      
      README.txt:
          Update TO DO list.
      257571b0
    • Jim Fulton's avatar
      Title: Results class optimization · 1bb7d3b7
      Jim Fulton authored
      At: http://classic.zope.org:8080/Collector/Collector/2141/sview
      
      Submitter:  John Eikenberry
      
      Email:  jae@kavi.com
      
      Description: We have a large query implemented via a SQL Method. We've
      been messing with it to get the most speed out of it, and noticed a
      large hit in the __init__() method on the Results class. We found that
      with this simple tweak (see included patch) we got around a 180% speed
      up. Not a ton, but pretty good for changing 3 lines of code.
      1bb7d3b7
    • Jim Fulton's avatar
      ecided we didn't need to use Python's version after all. · 50aa72fe
      Jim Fulton authored
      (There's really not a good reason for asynchat to be in
      Python's standard lib.)
      50aa72fe