git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ANNOUNCE] ugit: a pyqt-based git gui // was: Re: If you would write git from scratch now, what would you change?
@ 2007-12-11 13:48 David
  2007-12-11 18:20 ` Marco Costalba
                   ` (2 more replies)
  0 siblings, 3 replies; 32+ messages in thread
From: David @ 2007-12-11 13:48 UTC (permalink / raw)
  To: Andy Parkins; +Cc: git

On Dec 4, 2007 3:00 AM, Andy Parkins <andyparkins@gmail.com> wrote:
>
> Qt puts a common face on threading, process control, networking, file
> systems, internationalisation, rendering, openGL, and of course the GUI
> itself.  Tcl/Tk (to take the most wicked example) gives you applications
> that are much harder to make run on Windows than on UNIX.
>
> Anyway, I don't want to sound like a strange Qt fan boy; the above is simply
> my justification for putting "git-gui in Qt" on my wish list.
>
> Andy
> --
> Dr Andy Parkins, M Eng (hons), MIET
> andyparkins@gmail.com

For whatever it's worth, I've written a PyQt4-based git gui.  For lack
of a better name I call it ugit, as in "I git, you git, we all git
with ugit" (or something silly like that).

Though there's still a few things remaining to be implemented, the
bulk of the initial groundwork is already done.  All you need to
build/run it is python and pyqt4 (pyuic4).  I've deliberately tried to
keep the interface similar to git-gui for now since it is obviously
based on it, but that's not a requirement.

Of course there are some notable things missing (such as proper i18n),
but it's not too bad for a first draft.

For more details (and the code) see:
http://repo.or.cz/w/ugit.git

Enjoy,
-- David A.

^ permalink raw reply	[flat|nested] 32+ messages in thread
* Re: [ANNOUNCE] ugit: a pyqt-based git gui // was: Re: If you would write git from scratch now, what would you change?
@ 2007-12-12 20:20 Brett Schwarz
  0 siblings, 0 replies; 32+ messages in thread
From: Brett Schwarz @ 2007-12-12 20:20 UTC (permalink / raw)
  To: Shawn O. Pearce, Jason Sewall; +Cc: David, Marco Costalba, Andy Parkins, git

Not to belabor the point, but just some comments, since this seems
to come up often enough...

> Jason Sewall <jasonsewall@gmail.com> wrote:
> > I don't know much about graphical toolkits and the like, but I think
> > that the more modern ones have fancy features like antialiasing and
> > subpixel rendering, which makes a big difference when you're working
> > on a laptop with a tiny screen.
>
> Oh, that's a good point.  On my Mac OS X system with the aqua port
> of Tk the fonts render just as good as anything else on this box.
> I guess the Aqua port of Tk is just better than the X11 port of
> Tk is.  :)
>

Yes, it is a known issue that Tk on unix still has the "old look"
out of the box. Some of this is just due to how the defaults
for some of the options are shipped. The default options for 8.5
have changed, so it is a little better, but Tile is really better.

The same with fonts. Anti-aliased fonts for unix have not been
supported, but in 8.5 they are.

8.5 is due out by the end of this week I believe.

> > The qt stuff fits better with the rest of my system better too (even
> > though I'm using gnome) - it's entirely the result of Tk being
> > lightweight and a million years old, when UI conventions were
> > different (like every menu being detachable, and antique scrollbars).
> > I'm not here to start a toolkit flame war (we had a toolkit dogpile on
> > the list last week, I think) I'm just pointing out that Tk is from a
> > different era.
>
> Yes.  The tile extension in 8.5 should actually improve this quite
> a bit; as I understand it there is a GTK backend for Tk with that
> set of extensions, making the UI look more modern on X11, assuming
> GTK was available when Tk was compiled, etc...
>

Tile will ship with 8.5, but it is also an extension that can be used
with 8.4.

Here's some screenshots to give you an example of Tk with Tile with
Qt theme (add-on theme).

http://personal1.iddeo.es/andresgarci/getleft/english/snaps.html

http://sk1project.org/modules.php?name=Products&product=sk1
(scroll down towards bottom)

and generic Tile screenshots:
http://tktable.sourceforge.net/tile/screenshots/unix.html


> I have yet to make git-gui use the tile extension.  Its however
> planned to happen in the near-ish future.
>
> > I use git-gui and gitk for my git graphical needs because they rock
> > and at the end of the day, the fonts and antialiasing aren't that big
> > of a deal, especially since I'm usually doing quick scans and searches
> > over the information those tools display, not reading novels in them.
>
> Good points.  Features win over pretty most of the time.  But at
> some point pretty is important; especially to new user adoption.
> Plus if you are looking at it all day long it shouldn't be jarring
> to the eyes.  But git-gui still isn't even where I want it ot
> be feature-wise.  E.g. I'd *love* to teach it inotify support,
> so you don't even need to have that Rescan button.

I have not used it, but this may help in regards to the
inotify stuff: 

    http://wiki.tcl.tk/3643

Cheers,
    --brett





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2007-12-14  6:33 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-11 13:48 [ANNOUNCE] ugit: a pyqt-based git gui // was: Re: If you would write git from scratch now, what would you change? David
2007-12-11 18:20 ` Marco Costalba
2007-12-11 19:14   ` Jason Sewall
2007-12-11 19:33     ` Marco Costalba
2007-12-11 20:54       ` David
2007-12-11 21:29         ` Jason Sewall
2007-12-12  4:10           ` Shawn O. Pearce
2007-12-12  5:13             ` Jason Sewall
2007-12-12  5:23               ` Shawn O. Pearce
2007-12-12 15:02                 ` Jason Sewall
2007-12-12 18:15                   ` Johannes Schindelin
2007-12-12 18:50                     ` Jason Sewall
2007-12-12 19:37                       ` [PATCH] Teach git-gui to split hunks Johannes Schindelin
2007-12-12 20:18                         ` Junio C Hamano
2007-12-12 20:39                           ` Johannes Schindelin
2007-12-12 20:50                           ` Jean-François Veillette
2007-12-12 22:54                             ` Junio C Hamano
2007-12-12 23:02                           ` Wincent Colaiuta
2007-12-13  7:35                         ` Johannes Sixt
2007-12-13  7:48                           ` Shawn O. Pearce
2007-12-13 12:25                           ` Johannes Schindelin
2007-12-13  8:45                         ` Junio C Hamano
2007-12-13  9:41                           ` Johannes Sixt
2007-12-13 12:49                           ` Johannes Schindelin
2007-12-13 14:03                             ` Johannes Sixt
2007-12-13 14:18                               ` Johannes Schindelin
2007-12-13 14:39                                 ` [PATCH] git-gui: Move frequently used commands to the top of the context menu Johannes Sixt
2007-12-14  6:32                                   ` Shawn O. Pearce
2007-12-11 22:37 ` [ANNOUNCE] ugit: a pyqt-based git gui // was: Re: If you would write git from scratch now, what would you change? Alex Riesen
2007-12-11 23:08   ` Steffen Prohaska
2007-12-12  0:11 ` Jakub Narebski
  -- strict thread matches above, loose matches on Subject: below --
2007-12-12 20:20 Brett Schwarz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).