Commit Graph

21 Commits

Author SHA1 Message Date
Patrick Parker
e6d9458cd2 some minor fixes to wmlindent 2007-07-07 21:57:33 +00:00
Eric S. Raymond
c75c529de8 Don't ignore blank lines before a 'start ignoring' directive. 2007-06-29 12:19:05 +00:00
Eric S. Raymond
9433ae3fee Implement a facility to make wmlindent ignore designated stretches of lines.
Allow generation of XHTML docs from macro comments indented in the new format.
2007-06-29 11:50:33 +00:00
Eric S. Raymond
984971b0c3 Clean up properly in dryrun mode. 2007-06-29 11:08:13 +00:00
Eric S. Raymond
22efdacc73 Recognize --verbose. 2007-06-29 11:03:48 +00:00
Eric S. Raymond
93839b4ba9 Implemented --dryrun option. 2007-06-29 11:01:37 +00:00
Eric S. Raymond
ac9d9fdb76 Better verbosity logic. 2007-06-29 10:42:10 +00:00
Eric S. Raymond
2c5b884f91 Prevent spurious warnings on array references. 2007-06-29 10:05:21 +00:00
Eric S. Raymond
063655f003 Apply wmlindent to Son Of The Black Eye. 2007-06-29 09:07:44 +00:00
Eric S. Raymond
d714aff685 Enable wmlindent to detect multiple tags per line (which it can't handle)
and fix a .cfg not to have that glitch.
2007-06-29 09:02:17 +00:00
Eric S. Raymond
f032434e07 Expand away the last syntactically unbalanced macro in DiD. 2007-06-29 08:18:32 +00:00
Eric S. Raymond
6a8bcbec2a Don't touch the input file's timestamp if there are no changes. 2007-06-29 06:36:58 +00:00
Eric S. Raymond
20225e5ffc Canonicalize runs of blank lines. 2007-06-29 03:21:25 +00:00
Eric S. Raymond
397b350a75 Don't generate spurious trailing whitespace. 2007-06-29 01:56:20 +00:00
Eric S. Raymond
a49b2cc2b9 Suppress a spurious error message, hardwire the base indent of macros,
and fix a bug in the handling of multiline literals.
2007-06-29 01:43:03 +00:00
Eric S. Raymond
65cd453647 Make wmlindent able to traverse directories.
Also, have it right-strip output lines and canonicalize to Unix-style \n.
2007-06-29 01:13:00 +00:00
Eric S. Raymond
71676359f8 Fix a bonehead error in applying wmlindent to multiple arguments. 2007-06-28 21:48:19 +00:00
Eric S. Raymond
565b25a221 Try to make this secure in the face of interrupts.
Not completely possible under Windows, alas.
2007-06-14 20:46:54 +00:00
Eric S. Raymond
ef43328e0c Fix a typo. 2007-06-14 20:31:12 +00:00
Eric S. Raymond
191f0e1463 Rip out the -i option to prevent style wars.
Add rudimentary checks for unbalanced WML.
2007-06-14 20:23:41 +00:00
Eric S. Raymond
9688592f51 Prototype version of a WML reindenter. 2007-06-14 19:40:49 +00:00