ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter B. West" <pbw...@powerup.com.au>
Subject [PATCH][2ND CORRECTION] FixCRLF.java fixcrlf.html Preserve tabs in literals;allow any tab setting;allow CR as EOL
Date Thu, 28 Jun 2001 13:51:22 GMT
This is the third attempt to get this patch right. Grovelling apologies.
I have been caught in a file versioning quagmire.

PLEASE DO NOT APPLY THE TWO PRECEDING PATCHES.

Attached in an accompanying posting are a series of tests of the
functionality and backward compatibility of the patch.  The tests are
not exhaustive.  Notably absent are tests for ASIS and REMOVE on
files with multiple ^Z chars at EOF, and tests of EOL changes to
CR-CR-LF triples.

These extensions to FixCRLF.java provide the following functionality:

Allow CR as a line ending
Allow for any tab interval from 2 to 80
Allow for preservation of TAB chars in string and character literals
Process files as character streams, rather than as byte streams

Corresponding changes to fixcrlf.html.

Note that the patchfile contains both sets of changes even though they
are in different directories.

Peter
-- 
Peter B. West  pbwest@powerup.com.au  http://powerup.com.au/~pbwest
"Lord, to whom shall we go?"

Mime
View raw message