<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/lib/browser.tcl, branch gitgui-0.9.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.9.0</id>
<link rel='self' href='https://www.git.shady.money/git/atom?h=gitgui-0.9.0'/>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/'/>
<updated>2007-09-17T03:15:21Z</updated>
<entry>
<title>Merge branch 'maint'</title>
<updated>2007-09-17T03:15:21Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-09-17T03:15:21Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=704396bc2a13f8843689d3fab2211a0b2f364652'/>
<id>urn:sha1:704396bc2a13f8843689d3fab2211a0b2f364652</id>
<content type='text'>
* maint:
  git-gui: Disable native platform text selection in "lists"

Conflicts:

	lib/browser.tcl
</content>
</entry>
<entry>
<title>git-gui: Disable native platform text selection in "lists"</title>
<updated>2007-09-17T03:12:19Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-09-17T03:12:19Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=3849bfba84fb5b0e9d46920f62105b4e1dd97e63'/>
<id>urn:sha1:3849bfba84fb5b0e9d46920f62105b4e1dd97e63</id>
<content type='text'>
Sometimes we use a Tk text widget as though it were a listbox.
This happens typically when we want to show an icon to the left
of the text label or just when a text widget is generally a better
choice then the native listbox widget.

In these cases if we want the user to have control over the selection
we implement our own "in_sel" tag that shows the selected region
and we perform our own selection management in the background
via keybindings and mouse bindings.  In such uses we don't want
the user to be able to activate the native platform selection by
dragging their mouse through the text widget.  Doing so creates a
very confusing display and the user is left wondering what it may
mean to have two different types of selection in the same widget.

Tk doesn't allow us to delete the "sel" tag that it uses internally
to manage the native selection but it will allow us to make it
invisible by setting the tag to have the same display properties
as unselected text.  So long as we don't actually use the "sel"
tag for anything in code its effectively invisible.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Make the tree browser also use lightgray selection</title>
<updated>2007-09-14T00:52:47Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-09-14T00:52:34Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=bba060462c8732a5cb46ea00165198a9579517ae'/>
<id>urn:sha1:bba060462c8732a5cb46ea00165198a9579517ae</id>
<content type='text'>
In 9adccb05 Matthijs Melchior changed our selection colors in the
main index/working directory file lists to use a lightgray as the
background color as this made the UI easier to read on all platforms.

When we did that change we missed doing also doing in the file
browser UI.  Doing so just makes the entire thing UI consistent.

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>git-gui: Use more modern looking icons in the tree browser</title>
<updated>2007-07-30T03:44:52Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-30T01:19:54Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=dac70892638d08f50c49c539155c4cb54a9b9c28'/>
<id>urn:sha1:dac70892638d08f50c49c539155c4cb54a9b9c28</id>
<content type='text'>
This is a replacement of all of the icons in our tree browser
window, as the prior icons just looked too 1980s Tk-ish.  The
icons used here are actually from a KDE themed look, so they
might actually be familiar to some users of git-gui.

Aside from using more modern looking icons we now have a special
icon for executable blobs, to make them stand out from the normal
non-executable blobs.  We also denote symlinks now with a different
icon, so they stand out from the other types of objects in the tree.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Allow users to browse any branch, not just the current one</title>
<updated>2007-07-18T05:39:27Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-18T05:39:27Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=8e891facbef4b0196e51fe2065602175f28508c3'/>
<id>urn:sha1:8e891facbef4b0196e51fe2065602175f28508c3</id>
<content type='text'>
We now allow users to pick which commit they want to browse through
our revision picking mega-widget.  This opens up in a dialog first,
and then opens a tree browser for that selected commit.  It is a very
simple approach and requires minimal code changes.

I also clarified the language a bit in the Repository menu, to show
that these actions will access files.  Just in case a user is not
quite sure what specific action they are looking for, but they know
they want some sort of file thing.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;</content>
</entry>
<entry>
<title>git-gui: Allow browser subcommand to start in subdirectory</title>
<updated>2007-07-18T04:53:14Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-18T04:53:14Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=85d2d59760e5de7f288109cb278eb91da0d5f9bf'/>
<id>urn:sha1:85d2d59760e5de7f288109cb278eb91da0d5f9bf</id>
<content type='text'>
Like our blame subcommand the browser subcommand now accepts both
a revision and a path, just a revision or just a path.  This way
the user can start the subcommand on any branch, or on any subtree.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&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: Correct ls-tree buffering problem in browser</title>
<updated>2007-07-10T01:12:35Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-09T15:55:45Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=56e29f597c8f85b0dfee9ba7408f8d09fd5adb5a'/>
<id>urn:sha1:56e29f597c8f85b0dfee9ba7408f8d09fd5adb5a</id>
<content type='text'>
Our file browser was showing bad output as it did not properly buffer
a partial record when read from `ls-tree -z`.  This did not show up on
my Mac OS X system as most trees are small, the pipe buffers generally
big and `ls-tree -z` was generally fast enough that all data was ready
before Tcl started to read.  However on my Cygwin system one of my
production repositories had a large enough tree and packfile that it
took a couple of pipe buffers for `ls-tree -z` to complete its dump.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Always use absolute path to all git executables</title>
<updated>2007-07-09T05:17:09Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2007-07-09T05:17:09Z</published>
<link rel='alternate' type='text/html' href='https://www.git.shady.money/git/commit/?id=0b81261622afad691501ee51d7811048cf4a5fce'/>
<id>urn:sha1:0b81261622afad691501ee51d7811048cf4a5fce</id>
<content type='text'>
Rather than making the C library search for git every time we want
to execute it we now search for the main git wrapper at startup, do
symlink resolution, and then always use the absolute path that we
found to execute the binary later on.  This should save us some
cycles, especially on stat challenged systems like Cygwin/Win32.

While I was working on this change I also converted all of our
existing pipes ([open "| git ..."]) to use two new pipe wrapper
functions.  These functions take additional options like --nice
and --stderr which instructs Tcl to take special action, like
running the underlying git program through `nice` (if available)
or redirect stderr to stdout for capture in Tcl.

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