<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/lib/console.tcl, branch gitgui-0.13.0</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://www.git.shady.money/git/atom?h=gitgui-0.13.0</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=gitgui-0.13.0'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2010-01-28T01:13:52Z</updated>
<entry>
<title>git-gui: use themed tk widgets with Tk 8.5</title>
<updated>2010-01-28T01:13:52Z</updated>
<author>
<name>Pat Thoyts</name>
<email>patthoyts@users.sourceforge.net</email>
</author>
<published>2010-01-26T00:05:31Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c80d7be5e1e0d110ea77cd41f658aabe5bcad0d8'/>
<id>urn:sha1:c80d7be5e1e0d110ea77cd41f658aabe5bcad0d8</id>
<content type='text'>
This patch enables the use of themed Tk widgets with Tk 8.5 and above.
These make a significant difference on Windows in making the
application appear native. On Windows and MacOSX ttk defaults to the
native look as much as possible. On X11 the user may select a theme
using the TkTheme XRDB resource class by adding an line to the
.Xresources file. The set of installed theme names is available using
the Tk command 'ttk::themes'. The default on X11 is similar to the current
un-themed style - a kind of thin bordered motif look.

A new git config variable 'gui.usettk' may be set to disable this if
the user prefers the classic Tk look. Using Tk 8.4 will also avoid the
use of themed widgets as these are only available since 8.5.

Some support is included for Tk 8.6 features (themed spinbox and native
font chooser for MacOSX and Windows).

Signed-off-by: Pat Thoyts &lt;patthoyts@users.sourceforge.net&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: if a background colour is set, set foreground colour as well</title>
<updated>2008-03-06T04:47:11Z</updated>
<author>
<name>Philipp A. Hartmann</name>
<email>ph@sorgh.de</email>
</author>
<published>2008-03-05T16:54:22Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c382fdd79548a56fadf8f34d3484cf020eda3966'/>
<id>urn:sha1:c382fdd79548a56fadf8f34d3484cf020eda3966</id>
<content type='text'>
In several places, only the background colour is set to an explicit
value, sometimes even "white".  This does not work well with dark
colour themes.

This patch tries to set the foreground colour to "black" in those
situations, where an explicit background colour is set without defining
any foreground colour.

Signed-off-by: Philipp A. Hartmann &lt;ph@sorgh.de&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2007-10-21T00:43:36Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-21T00:43:36Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=c9dcc7f865fb7891f4f6d068230663eb2cb586a7'/>
<id>urn:sha1:c9dcc7f865fb7891f4f6d068230663eb2cb586a7</id>
<content type='text'>
* maint:
  git-gui: Don't display CR within console windows
  git-gui: Handle progress bars from newer gits
  git-gui: Correctly report failures from git-write-tree

Conflicts:

	lib/commit.tcl
	lib/console.tcl
</content>
</entry>
<entry>
<title>git-gui: Don't display CR within console windows</title>
<updated>2007-10-21T00:42:01Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-10-21T00:42:01Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=bbbadf6e58f72ac6bf739d2a1109cbd872eb1083'/>
<id>urn:sha1:bbbadf6e58f72ac6bf739d2a1109cbd872eb1083</id>
<content type='text'>
Git progress bars from tools like git-push and git-fetch use CR
to skip back to the start of the current line and redraw it with
an updated progress.  We were doing this in our Tk widget but had
failed to skip the CR, which Tk doesn't draw well.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Don't delete scrollbars in console windows</title>
<updated>2007-09-26T18:16:45Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-09-26T18:16:45Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=59213f60b7a3085732f76736e1826869994abf1a'/>
<id>urn:sha1:59213f60b7a3085732f76736e1826869994abf1a</id>
<content type='text'>
If we have added a scrollbar to the console window because one
direction has too much text to fit in the available screen space
we should just keep the scrollbars.  Its annoying to watch our
horizontal scrollbar bounce in and out of the window as additional
text is inserted into the widget and the need for the scrollbar
comes and goes.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Don't delete console window namespaces too early</title>
<updated>2007-09-26T18:06:08Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-09-26T18:05:54Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=6f2d73ec0cb6d5937bb4a62a222f942e4f886d6e'/>
<id>urn:sha1:6f2d73ec0cb6d5937bb4a62a222f942e4f886d6e</id>
<content type='text'>
If the console finishes displaying its output and is "done" but
needs to draw a scrollbar to show the final output messages it
is possible for Tk to delete the window namespace before it does
the text widget updates, which means we are unable to add the
horizontal or vertical scrollbar to the window when the text
widget decides it cannot draw all glyphs on screen.

We need to delay deleting the window namespace until we know
the window is not going to ever be used again.  This occurs if
we are done receiving output, the command is successful and the
window is closed, or if the window is open and the user chooses
to close the window after the command has completed.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Avoid console scrollbars unless they are necessary</title>
<updated>2007-09-23T09:25:13Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-09-23T09:25:13Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=fbc8a93cd5b03bf15a3ebef6c0a512d2da3df7c4'/>
<id>urn:sha1:fbc8a93cd5b03bf15a3ebef6c0a512d2da3df7c4</id>
<content type='text'>
We shouldn't create scrollbars for the horziontal or vertical sides
unless there is enough content to make it worth drawing these widgets
on screen.  This way users don't loose screen space to objects that
won't help them navigate the display.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>Mark strings for translation.</title>
<updated>2007-09-02T15:54:48Z</updated>
<author>
<name>Christian Stimming</name>
<email>chs@ckiste.goetheallee</email>
</author>
<published>2007-07-21T12:21:34Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=1ac17950e93a956d01b042db3de70010195eddcc'/>
<id>urn:sha1:1ac17950e93a956d01b042db3de70010195eddcc</id>
<content type='text'>
The procedure [mc ...] will translate the strings through msgcat.
Strings must be enclosed in quotes, not in braces, because otherwise
xgettext cannot extract them properly, although on the Tcl side both
delimiters would work fine.

[jes: I merged the later patches to that end.]

Signed-off-by: Christian Stimming &lt;stimming@tuhh.de&gt;
Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'maint'</title>
<updated>2007-07-10T01:19:13Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-10T01:19:13Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=0a84b3d94ff8c29a5d3b738d4f08d1344305b619'/>
<id>urn:sha1:0a84b3d94ff8c29a5d3b738d4f08d1344305b619</id>
<content type='text'>
* maint:
  git-gui: Don't linewrap within console windows
  git-gui: Correct ls-tree buffering problem in browser
</content>
</entry>
<entry>
<title>git-gui: Don't linewrap within console windows</title>
<updated>2007-07-10T01:13:26Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-09T15:14:00Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=e87fb0f1b4a4b458394a65d664145a9a8001e821'/>
<id>urn:sha1:e87fb0f1b4a4b458394a65d664145a9a8001e821</id>
<content type='text'>
If we get more than 80 characters of text in a single line odds
are it is output from git-fetch or git-push and its showing a
lot of detail off to the right edge that is not so important to
the average user.  We still want to make sure we show everything
we need, but we can get away with that information being off to
the side with a horizontal scrollbar.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
</feed>
