Commit Graph

13 Commits

Author SHA1 Message Date
Guido van Rossum 45e2fbc2e7 Mass check-in after untabifying all files that need it. 1998-03-26 21:13:24 +00:00
Guido van Rossum a8832b45e7 Removed unneeded imports of regex and regsub. 1997-10-22 20:50:37 +00:00
Fred Drake 2823168c46 (formatter.py): Add a flush() method to the writer interface. This really
needs to be a standard part of the interface, so we'll have it in
	for the next release.
1996-12-31 20:50:51 +00:00
Fred Drake ca8cdc6066 (formatter.py): Simplify NullFormatter definition of add_hor_rule() to match
documentation.
1996-10-08 21:57:47 +00:00
Guido van Rossum ccd8b19c99 Add provisions to set the (to be documented!) instance variable
'writer' of the NullFormatter to the writter passed in, or to a
NullWriter if none (or None) is passed in.
1996-10-07 21:29:49 +00:00
Guido van Rossum 8e44991b34 Three sets of changes from Grail:
date: 1996/08/14 17:27:21;  author: fdrake;  state: Exp;  lines: +11 -9
(formatter.py):  Establish a consistent space-handling policy, so that all
        spaces are handled by the outermost context in which they might be
        considered.  (I.e., softspaces at element boundaries migrate
        outwards.)

        For instance: "<A> <IMG> </A>" becomes " <A><IMG></A> ".

        This avoids some of those nasty underlined spaces around images.  It
        does not affect spaces *between* images within an anchor.

date: 1996/08/01 17:02:09;  author: fdrake;  state: Exp;  lines: +3 -2
(formatter.py):  Added required parameter to the NullFormatter class; this
        was omitted by accident.

        Made AbstractFormatter.add_literal_data() handle preceeding softspace
        correctly instead of expecting the caller to do it.

date: 1996/07/23 22:18:56;  author: fdrake;  state: Exp;  lines: +1 -1
(formatter.py):  Correct assert_line_data() to update all internal conditions;
        This now handles headers with only image content immediately followed
        by anything.
1996-08-26 16:19:23 +00:00
Guido van Rossum 3672aa2dcd change DumbWriter to derive from NullWriter 1996-05-29 00:02:30 +00:00
Guido van Rossum 9787bdafe0 Many improvements dure to Fred Drake 1996-05-28 23:50:49 +00:00
Guido van Rossum 7bb7ecd39e even better way to normalize spaces in add_flowing_data 1996-02-13 00:01:28 +00:00
Guido van Rossum 93dc801b06 better way to normalize spaces in add_flowing_data 1996-02-12 23:59:54 +00:00
Guido van Rossum 909507dd0b added NullFormatter 1995-10-06 15:31:30 +00:00
Guido van Rossum c7ae92069d add flush_softspace() interface 1995-09-30 16:49:58 +00:00
Guido van Rossum a0eab1d367 Initial revision 1995-08-07 20:07:36 +00:00