git/lib
Pat Thoyts 8f85599aba git-gui: apply color information from git diff output
This patch extracts the ANSI color sequences from git diff output and
applies these to the diff view window. This ensures that the gui view
makes use of the current git configuration for whitespace display.

ANSI codes may include attributes, foreground and background in a single
sequence. Handle this and support bold and reverse attributes. Ignore
all other attributes.

Suggested-by: Tor Arvid Lund <torarvid@gmail.com>
Suggested-by: Junio C Hamano <gitster@pobox.com>
Tested-by: Tor Arvid Lund <torarvid@gmail.com>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
2010-10-27 23:47:28 +01:00
..
about.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
blame.tcl git-gui: handle textconv filter on Windows and in development 2010-08-12 21:37:32 +01:00
branch.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
branch_checkout.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
branch_create.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
branch_delete.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
branch_rename.tcl git-gui: use full dialog width for old name when renaming branch 2010-10-07 23:00:33 +01:00
browser.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
checkout_op.tcl git-gui: run post-checkout hook on checkout 2009-04-05 12:58:26 -07:00
choose_font.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
choose_repository.tcl git-gui: Avoid using the <<Copy>> binding as a menu accelerator on win32 2010-07-30 10:05:27 +01:00
choose_rev.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
class.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
commit.tcl git-gui: When calling post-commit hook wrong variable was cleared. 2009-04-05 12:45:40 -07:00
console.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
database.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
date.tcl git-gui: Localize commit/author dates when displaying them 2007-09-10 01:54:16 -04:00
diff.tcl git-gui: apply color information from git diff output 2010-10-27 23:47:28 +01:00
encoding.tcl git-gui: Optimize encoding name resolution using a lookup table. 2008-09-24 12:48:32 -07:00
error.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
git-gui.ico git-gui: Improve the application icon on Windows. 2007-12-02 23:05:10 -05:00
index.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
logo.tcl git-gui: Refactor Henrik Nyh's logo into its own procedure 2007-10-10 01:12:15 -04:00
merge.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
mergetool.tcl git-gui: Ensure consistent usage of mergetool.keepBackup 2009-04-08 07:40:58 -07:00
option.tcl git-gui: use textconv filter for diff and blame 2010-07-30 10:05:27 +01:00
remote.tcl git-gui: Fix removing non-pushable remotes 2008-09-30 12:59:37 -07:00
remote_add.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
remote_branch_delete.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
search.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
shortcut.tcl git-gui: fix usage of _gitworktree when creating shortcut for windows 2010-07-30 09:57:26 +01:00
spellcheck.tcl git-gui: Remove space from the end of aspell's reply before processing 2008-09-30 12:59:18 -07:00
sshkey.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
status_bar.tcl git-gui: fix usage of themed widgets variable 2010-07-10 23:41:54 +01:00
themed.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
tools.tcl git-gui: minor spelling fix and string factorisation. 2009-03-24 16:17:30 -07:00
tools_dlg.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
transport.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
win32.tcl git-gui: fix shortcut creation on cygwin 2010-07-30 10:05:26 +01:00
win32_shortcut.js git-gui: Use proper Windows shortcuts instead of bat files 2007-10-12 23:07:58 -04:00