log diff-colorize.py @ 16:4950e751a7cb

age author description
Mon, 11 Aug 2008 01:59:57 -0700 Peter Hosey Added a different set of default color codes and a different colorization format string. Both of these are to support 16-color mode (which is all Terminal supports). 1.0b2
Mon, 11 Aug 2008 01:17:11 -0700 Peter Hosey Darkened the colors for “old mode” and “removed”. The previous “removed” color was just too pink—not the light red I wanted. 1.0b1
Mon, 11 Aug 2008 01:10:26 -0700 Peter Hosey Removed the now-unnecessary print statement for RESET_FORMAT, since we now output RESET_FORMAT at the end of every loop iteration, rather than the beginning.
Mon, 11 Aug 2008 00:26:26 -0700 Peter Hosey Added usage information.
Mon, 11 Aug 2008 00:21:13 -0700 Peter Hosey Now that these can come from the environment, they are variables. Lowercasing their names for this reason.
Mon, 11 Aug 2008 00:16:09 -0700 Peter Hosey Added some comments documenting the OrderedDict class and our instance's contents.
Mon, 11 Aug 2008 00:14:01 -0700 Peter Hosey Moved the imports of sys and fileinput, so that all the imports are together.
Sun, 10 Aug 2008 23:50:06 -0700 Peter Hosey Added prefixes “old mode” and “new mode”, found in Git-style diffs, along with new color constants for them. We treat these the same way we treat “---” and “+++”.
Sun, 10 Aug 2008 23:33:22 -0700 Peter Hosey Get our color constants from the environment, if possible.
Sun, 10 Aug 2008 23:29:49 -0700 Peter Hosey Move the color constants above the format strings, since the color constants are more editable.
Sun, 10 Aug 2008 23:29:08 -0700 Peter Hosey Added support for hunk start markers (@@…@@). For these, we set the whole line in reverse video, in the same color we use for index lines.
Sun, 10 Aug 2008 23:25:24 -0700 Peter Hosey Refactored to allow me to more easily add new prefixes.
Sun, 10 Aug 2008 22:57:59 -0700 Peter Hosey Initial check-in of first working version.