Mon, 03 Jan 2011 20:27:37 -0800 |
Peter Hosey |
Make the file importable for debugging purposes by wrapping the main-program-only bits in an if __name__ == "__main__" block.
|
Mon, 11 Aug 2008 02:10:41 -0700 |
Peter Hosey |
Added tag 1.0b2 for changeset a7214992f904
|
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:25:17 -0700 |
Peter Hosey |
Added tag 1.0b1 for changeset 89284f926abb
|
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:27:26 -0700 |
Peter Hosey |
Marked the program as executable.
|
Mon, 11 Aug 2008 00:26:55 -0700 |
Peter Hosey |
Added my standard BSD license.
|
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.
|