- 16 Mar, 2001 24 commits
-
-
Guido van Rossum authored
Remove the do_text() method, this instruction is no longer used.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Also slightly refactored the starttag optimization code.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
cStringIO.
-
Guido van Rossum authored
-
Guido van Rossum authored
items and start and end tags without attributes into a single rawtext item. We could do more, by also changing start tags with only plain (non-substituted) attributes into rawtext and collapsing. After breakfast.
-
Guido van Rossum authored
- add getCode() interface to TALGenerator - remove premature optimization from emitRawText() - rework unEmitNewlineWhitespace() so it works with unoptimized code - use getCode() in HTMLTALParser and TALParser
-
Guido van Rossum authored
-
Guido van Rossum authored
Move quote() function here from TALInterpreter.
-
Guido van Rossum authored
-
Guido van Rossum authored
references, introduced by the line number / offset code.
-
Chris McDonough authored
-
- 15 Mar, 2001 16 commits
-
-
Guido van Rossum authored
Changed the interface for the NestingError exception; it now has tag, lineno, and offset attributes, and reports these in its __str__; the tagstack is no longer needed. Moved all the "internal thingies" to the end; renamed some for more consistent naming.
-
Guido van Rossum authored
retrieve.
-
Guido van Rossum authored
-
Guido van Rossum authored
Added a loop over all filename arguments. It now prints the filename, the compilation time, and the interpretation time for each argument.
-
Guido van Rossum authored
Add new test files for HTML, plus their output (not yet hand-checked). Fix the input *and* output for test9 -- it was referencing an undefined macro before.
-
Fred Drake authored
When checking for auto-closure of list- and table-related tags, be sensitive to the specific tag in hand so that we do not close too many tags.
-
Fred Drake authored
Allow colons and underscores in element type names.
-
Fred Drake authored
Make sure we always flush stdout before switch to stderr.
-
Fred Drake authored
Do not start the traceback on the same line as the name of the file we are testing.
-
Fred Drake authored
Define a NestingError exception that gives a reasonable error message when the open element stack does not contain the tag passed to finish_endtag(). The new message gives us the tag that was seen and the contents of the tag stack at the time.
-
Guido van Rossum authored
stopping on the first exception. Add -q option that supprresses most output (diffs and tracebacks).
-
Guido van Rossum authored
-
Fred Drake authored
Remove code to support the null-end-tag support (<span/.../); this is *never* used with HTML. Removing this simply reduces the number of special cases that clutter the start-tag parsing. Add support for XHTML-style end-tags (<img src="foo.gif" />).
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Jim Fulton authored
-