Commit Graph

105 Commits

Author SHA1 Message Date
Guido van Rossum 53117ae82a typo in error message (fname vs. file).
(Jack)
1998-04-28 16:01:13 +00:00
Barry Warsaw 6a508aef7d Use the (new) standard script #! line
Convert to re module; remove all references to regexp and regsub

Added support for the new texinfo @url{} and @email{} commands
1998-04-23 22:59:33 +00:00
Guido van Rossum ce73acf5e6 Tim's version 4, with my mods 1998-04-10 19:14:59 +00:00
Guido van Rossum 8053d89f7b Add usage message when no arguments. 1998-04-06 14:45:26 +00:00
Guido van Rossum f4b44fa6ef Tim's latest version (supports old and new tokenize modules) 1998-04-06 14:41:20 +00:00
Guido van Rossum 9ab75cbaab Tim Peters' program for checking whether a program's indentation is
sensitive to tab size.  Uses a different strategy than tabpolice.py,
but has compatible usage.
1998-03-31 14:31:39 +00:00
Guido van Rossum 97df7f8679 Add -q option that *just* prints the filename. 1998-03-26 19:23:43 +00:00
Guido van Rossum ed5b3d8b3c give in to tab police 1998-03-24 05:30:29 +00:00
Guido van Rossum 3db0e3713c Report first line with inconsistent tab usage. 1998-03-24 04:58:04 +00:00
Guido van Rossum 6f73c1a2ac The Tab Police watches for possibly inconsistent indentation. 1998-03-20 19:23:04 +00:00
Guido van Rossum fdc5adc594 Dangerous feature added: when removing local files (i.e., only when -r
is used), do a recursive delete.  Use -r with even more caution!
Also changed usage message into a doc string, added a comment or two,
and rearranged a long line.
1998-01-04 02:03:12 +00:00
Guido van Rossum ca83f018e7 Added "-n file" option to only print files newer than the given file. 1997-11-24 23:49:35 +00:00
Guido van Rossum 79b2038aa4 When checking for equality, open the slave file in text mode so it
will compare equal even if the master file uses only \n to terminate
lines (this is by far the most common situation).  Also, check for the
case where the master file is missing, and print the time difference
in seconds when the slave file appears newer than the master (for
debugging).
1997-11-04 17:35:43 +00:00
Guido van Rossum 9476a78c1e Remove "." or "" from front of sys.path (this bit me once). 1997-10-20 23:48:01 +00:00
Guido van Rossum 9971f689cb Fix comment to add the all-important trailing colon to the example.
Print the author with the revision date and filename.
1997-10-06 21:09:32 +00:00
Guido van Rossum b81b5c72db Moved pystone to Lib/test. Use import test.pystone to run it. 1997-09-16 18:57:42 +00:00
Guido van Rossum d2ba3690ce Skip symlinks; don't bother keeping a list of files that is never used. 1997-09-16 18:57:14 +00:00
Guido van Rossum 92dfa4ffe1 Use correct keyword parameter when calling copy with answer option! 1997-08-18 20:56:10 +00:00
Guido van Rossum 939e4c1efb Oops, there was a bug in the output formatting - the last printed
values would overwrite the next value.
1997-08-14 23:25:20 +00:00
Guido van Rossum 3485bb6f44 Added logmerge.py 1997-08-14 22:04:26 +00:00
Guido van Rossum 6f0cf7ee20 Consolidate a bunch of CVS or RCS logs read from stdin. 1997-08-14 22:04:00 +00:00
Guido van Rossum 4d3376a80f Added cvsfiles.py and treesync.py 1997-08-14 20:16:32 +00:00
Guido van Rossum a554107802 Source tree synchronization tool (for Windowes, mostly) 1997-08-14 20:15:20 +00:00
Guido van Rossum 30e53c0c39 Print a list of files under CVS. 1997-08-14 20:14:54 +00:00
Guido van Rossum 9189bdabd5 support C++ comments 1997-08-14 20:14:29 +00:00
Guido van Rossum 5526e394a2 set LOOPS to 10000 1997-08-14 20:14:12 +00:00
Guido van Rossum 650b3aad55 Unlink before rename (for NT). 1997-05-19 15:20:49 +00:00
Guido van Rossum e6fcd33179 Correct comment; -c is off by default. 1997-05-15 21:51:16 +00:00
Guido van Rossum 1ade44cb0c Open the output files with 'wb', not 'w'. 1997-05-15 18:25:29 +00:00
Guido van Rossum 04f2b453bb Version 1.1. Fix memory leak and expensive comparison with None. 1997-01-18 02:20:37 +00:00
Guido van Rossum f06ee5fa07 /usr/local/bin/python -> /usr/bin/env python 1996-11-27 19:52:01 +00:00
Guido van Rossum 499181a833 Changed so that it replaces /usr/local/bin/python with /usr/bin/env python. 1996-11-27 19:43:49 +00:00
Guido van Rossum d5c58c34db Changed logic so it now replaces anything that has #! and python in
the first line, replacing the entire line.
1996-11-27 19:43:01 +00:00
Guido van Rossum fc0588241c Script to fix cprt notice 1996-11-27 19:41:55 +00:00
Guido van Rossum e41d00bb6a Fixed a bug: files that no longer exist remotely would never be
removed from .mirrorinfo.  Now they are (even if -r is not specified
-- the files are not removed, just their .mirrorinfo entry).

Added a feature: the -s pattern option is also used to skip local
files when removing (i.e. -r won't remove local files matching the -s
patterns).
1996-11-14 18:24:47 +00:00
Fred Drake abcb38250b (texi2html.py): Minor improvement to HTML 3.0 output for code examples. 1996-10-25 22:13:59 +00:00
Fred Drake 22f7f9e671 (texi2html.py): Added CLASS=Navigation attribute to DIV around top/bottom
navigation links for HTML 3 version.

	Forced a blank line above the footnotes separator for HTML 2; at
	least one page did not get this spaced correctly.
1996-10-11 16:54:00 +00:00
Fred Drake 0282726643 (texi2html.py): Tightened the generated HTML slightly. Added -p option to
print section titles even when the debugging output is not enabled.
	Added -3 option to generate HTML 3.0 constructs where meaningful.

	Removed repititive garbage generation:  the old version added simple
	descriptive comments after every datadesc/funcdesc/*desc entry:

	function(args) -- function of module xxxx
	    Description....

	These comments are no longer generated:

	function(args)
	    Description....
1996-10-09 19:05:12 +00:00
Fred Drake a39a25e5ec (texi2html.py): Use "if __name__ == '__main__':" test. Adjust indentation
to 4 spaces per level (no longer 8).

(Makefile):  Use .pyc versions of partparse.py and texi2html.py to generate
	converted documentation formats.  This reduces the startup costs;
	probably doesn't affect anyone but me in reality, but helps when
	working on the docs.
1996-09-13 14:44:34 +00:00
Guido van Rossum be5e34204e Note obsolescence 1996-09-11 23:34:32 +00:00
Guido van Rossum 6100d914e8 Allow whitespace before '#' in preprocessor directives. 1996-08-22 23:12:23 +00:00
Guido van Rossum 29901ff528 Some improvements by Fred Drake. 1996-08-09 21:46:34 +00:00
Guido van Rossum 8e7a54f525 More changes by Sjoerd & Jack 1996-07-21 02:50:30 +00:00
Guido van Rossum 9a2c546e75 Create files as temp file and move to real location only when complete.
Added some try-except statements around listdir and mkdir operations.
1996-04-09 02:51:23 +00:00
Guido van Rossum d2966cb95a don't die on unreadable files etc. 1996-02-05 18:49:00 +00:00
Jack Jansen e48aa966c1 Fixed bug in cts error message handling. 1995-11-10 14:56:16 +00:00
Jack Jansen 81299f10f7 Added providence mailer support 1995-10-30 10:23:10 +00:00
Jack Jansen 4ec940ad04 Added (limited) compuserve error parsing 1995-10-30 10:10:19 +00:00
Sjoerd Mullender 8968624574 Script to read and parse error messages from mailer daemons.
Written by Jack, some minor changes by Sjoerd.
1995-10-19 09:35:31 +00:00
Sjoerd Mullender edb21c4edc Fixed typo: == -> =. 1995-08-29 14:22:16 +00:00