1. 30 Jan, 2001 9 commits
  2. 29 Jan, 2001 19 commits
  3. 27 Jan, 2001 3 commits
    • Guido van Rossum's avatar
      - Use node.hasAttributes() rather than asking for node.attributes and · 1396b5b6
      Guido van Rossum authored
        then checking whether it is true.  (Should be slightly faster.)
      
      - Use getAttributeNodeNS() to check for z:omit="" properly.
      1396b5b6
    • Guido van Rossum's avatar
      4b1f6df5
    • Guido van Rossum's avatar
      Quite a bit of refactoring, and macro slots now work. · 48605a2b
      Guido van Rossum authored
      - The DOMVisitor class is simplified a bit; it doesn't visit
        attributes for you and it doesn't define endVisitElement().
      
      - The CopyingDOMVisitor class is fixed to cope with this; instead of
        endVisitElement() it defines and uses backUp(), with the same
        purpose.  It defines and uses copyAllAttributes() and
        copyAttribute() to deal with attributes.
      
      - The TALVisitor class is refactored so that the processing of METAL
        and TAL attributes is done more orderly (I discovered
        getAttributeNS() :-).
      
      - Used a different way to split parts into semicolon-separated parts
        with doubling used to quote semicolons.
      
      - Sped up the macro indexer by using a recursive function with an
        explicit argument rather than a visitor class.
      
      - Added a slot indexer that works the same way.  (The macro and slot
        indexers have a lot in common, but they're still so small that I
        didn't bother factoring it out.  Later.)
      
      - The runtest.sh script now takes optional command line arguments
        (full pathnames of testfiles) to specify a set of tests to run.
      
      - The timer.py script was adapted to use the new macroIndexer().
      48605a2b
  4. 26 Jan, 2001 9 commits