Wed, 05 Jan 2011 21:05:17 -0800 |
Peter Hosey |
Merged in the new 1.0 version-message changeset.
|
Wed, 05 Jan 2011 21:04:46 -0800 |
Peter Hosey |
Added tag 1.0 for changeset 948c96784f00
|
Wed, 05 Jan 2011 21:04:42 -0800 |
Peter Hosey |
Added line to usage message identifying this as diff-colorize 1.0.
1.0
|
Wed, 05 Jan 2011 21:02:24 -0800 |
Peter Hosey |
Prevent lines that are completely different from being completely highlighted as different.
|
Wed, 05 Jan 2011 16:21:37 -0800 |
Peter Hosey |
Improve the highlighting of differences using a longest common subsequence algorithm.
|
Wed, 05 Jan 2011 07:53:57 -0800 |
Peter Hosey |
Added highlighting differences between consecutive old and new lines.
|
Wed, 05 Jan 2011 06:56:01 -0800 |
Peter Hosey |
Interleave adjacent runs of consecutive old and new lines into alternating old and new lines.
|
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.
|
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.
|