git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [ANNOUNCE] tig-0.13
@ 2009-01-13 23:36 Jonas Fonseca
  2009-01-14 16:33 ` Ted Pavlic
  2009-01-14 23:24 ` bill lam
  0 siblings, 2 replies; 10+ messages in thread
From: Jonas Fonseca @ 2009-01-13 23:36 UTC (permalink / raw
  To: git

Hello,

This release contains a major rewrite of the IO layer of tig to use
fork+exec instead of popen() and remove use of stdio's fopen() and
friends. The new IO API removes the need for shell quoting and improves
the overall speed of loading view data. On the downside, it brings a few
incompatibilities wrt. commands given via the environment. While the
patch series began by being based on git's run-command.c module, the
final version contains no code from git.

The release also brings a few new features, such as new identifiers for
use in external commands as well as a handful of bug fixes.

What is tig?
------------
Tig is an ncurses-based text-mode interface for git. It functions mainly
as a git repository browser, but can also assist in staging changes for
commit at chunk level and act as a pager for output from various git
commands.

 - Homepage:	http://jonas.nitro.dk/tig/
 - Manual:	http://jonas.nitro.dk/tig/manual.html
 - Tarballs:	http://jonas.nitro.dk/tig/releases/
 - Git URL:	git://repo.or.cz/tig.git 
 - Gitweb:	http://repo.or.cz/w/tig.git

Release notes
-------------
Incompatibilities:

 - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
   access to shell features, such as subshells and variable expansion.
   The easiest way to upgrade your configuration is to put such commands
   in a script file.

Improvements:

 - Display repository references in the sorted order: tags, heads,
   tracked remotes, remotes.
 - Add bash completion for blame.
 - Tree view: edit files of the current branch.
 - Run requests: new identifiers %(directory), %(file), and %(ref)
 - Improve responsiveness and view loading speed by using select(2).

Bug fixes:

 - Separate blame revision and file argument by "--" to avoid problems.
 - Main view: fix redrawing of the last commit wrt. the revision graph.
 - Fix waiting for input after executing a run request in pager mode.
 - Status & stage view: refuse to open directories and deleted files.
 - Tree view: show error when requesting blame for all non-file entries.
 - Do not draw loading views, which are not displayed.
 - Fix launching of mergetool from a subdirectory.

Change summary
--------------
The diffstat and log summary for changes made in this release.

 NEWS                        |   29 +
 VERSION                     |    2 +-
 contrib/announcement.sh     |    2 +-
 contrib/tig-completion.bash |   25 +-
 manual.txt                  |  281 ++++---
 tig.1.txt                   |    6 +-
 tig.c                       | 1774 +++++++++++++++++++++--------------
 tigrc.5.txt                 |   23 +-
 8 files changed, 1325 insertions(+), 817 deletions(-)

    53	Jonas Fonseca

-- 
Jonas Fonseca

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

* Re: [ANNOUNCE] tig-0.13
  2009-01-13 23:36 [ANNOUNCE] tig-0.13 Jonas Fonseca
@ 2009-01-14 16:33 ` Ted Pavlic
  2009-01-14 23:24 ` bill lam
  1 sibling, 0 replies; 10+ messages in thread
From: Ted Pavlic @ 2009-01-14 16:33 UTC (permalink / raw
  To: Jonas Fonseca; +Cc: git

Thanks for this. It's a nice tool.

> What is tig?
> ------------
> Tig is an ncurses-based text-mode interface for git. It functions mainly
> as a git repository browser, but can also assist in staging changes for
> commit at chunk level and act as a pager for output from various git
> commands.
>
>   - Homepage:	http://jonas.nitro.dk/tig/
>   - Manual:	http://jonas.nitro.dk/tig/manual.html
>   - Tarballs:	http://jonas.nitro.dk/tig/releases/
>   - Git URL:	git://repo.or.cz/tig.git
>   - Gitweb:	http://repo.or.cz/w/tig.git

-- 
Ted Pavlic <ted@tedpavlic.com>

   Please visit my ALS association page:
         http://web.alsa.org/goto/tedpavlic
   My family appreciates your support in the fight to defeat ALS.

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

* Re: [ANNOUNCE] tig-0.13
  2009-01-13 23:36 [ANNOUNCE] tig-0.13 Jonas Fonseca
  2009-01-14 16:33 ` Ted Pavlic
@ 2009-01-14 23:24 ` bill lam
  2009-01-14 23:56   ` Jonas Fonseca
  1 sibling, 1 reply; 10+ messages in thread
From: bill lam @ 2009-01-14 23:24 UTC (permalink / raw
  To: Jonas Fonseca; +Cc: git

On Wed, 14 Jan 2009, Jonas Fonseca wrote:
> Tig is an ncurses-based text-mode interface for git. It functions mainly

The Makefile does not link to the unicode version ncursesw, does it
still work for wide characters?

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩264 王昌齡  芙蓉樓送辛漸
    寒雨連江夜入吳  平明送客楚山孤  洛陽親友如相問  一片冰心在玉壺

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

* Re: [ANNOUNCE] tig-0.13
  2009-01-14 23:24 ` bill lam
@ 2009-01-14 23:56   ` Jonas Fonseca
  2009-01-15  1:46     ` bill lam
  0 siblings, 1 reply; 10+ messages in thread
From: Jonas Fonseca @ 2009-01-14 23:56 UTC (permalink / raw
  To: git

bill lam <cbill.lam@gmail.com> wrote Thu, Jan 15, 2009:
> On Wed, 14 Jan 2009, Jonas Fonseca wrote:
> > Tig is an ncurses-based text-mode interface for git. It functions mainly
> 
> The Makefile does not link to the unicode version ncursesw, does it
> still work for wide characters?

Yes, it works. You can either create a file called config.make with a
line saying:

	LDLIBS = -lncursesw

or use the configure file. If you are not using the tarball generate it
with:

	make configure

-- 
Jonas Fonseca

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

* Re: [ANNOUNCE] tig-0.13
  2009-01-14 23:56   ` Jonas Fonseca
@ 2009-01-15  1:46     ` bill lam
  2009-01-15 13:06       ` Jonas Fonseca
  0 siblings, 1 reply; 10+ messages in thread
From: bill lam @ 2009-01-15  1:46 UTC (permalink / raw
  To: Jonas Fonseca; +Cc: git

On Thu, 15 Jan 2009, Jonas Fonseca wrote:
> Yes, it works. You can either create a file called config.make with a
> line saying:
> 
> 	LDLIBS = -lncursesw
> 
> or use the configure file. If you are not using the tarball generate it
> with:
> 
> 	make configure

I use the git source. Even after make configure and  ./configure, it
still links to the non-unicode ncurses. Should it make ncursesw as 
default if detected available albeit this can be changed manually?

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩319 李白  清平調三首之三
    名花傾國兩相歡  常得君王帶笑看  解釋春風無限恨  沈香亭北倚闌干

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

* Re: [ANNOUNCE] tig-0.13
  2009-01-15  1:46     ` bill lam
@ 2009-01-15 13:06       ` Jonas Fonseca
  2009-01-15 14:50         ` bill lam
  0 siblings, 1 reply; 10+ messages in thread
From: Jonas Fonseca @ 2009-01-15 13:06 UTC (permalink / raw
  To: git

bill lam <cbill.lam@gmail.com> wrote Thu, Jan 15, 2009:
> On Thu, 15 Jan 2009, Jonas Fonseca wrote:
> > Yes, it works. You can either create a file called config.make with a
> > line saying:
> > 
> > 	LDLIBS = -lncursesw
> > 
> > or use the configure file. If you are not using the tarball generate it
> > with:
> > 
> > 	make configure
> 
> I use the git source. Even after make configure and  ./configure, it
> still links to the non-unicode ncurses.

I haven't tested the configure script on a lot of system, so it might be
a bit debian/ubuntu/gentoo centered in that use of ncursesw requires the
presence of a {/usr/incude/}ncursesw/ncurses.h header. Where are the
unicode ncurses.h files found on your system?

> Should it make ncursesw as 
> default if detected available albeit this can be changed manually?

I would prefer that the "default" (running make without configure) has
as few dependencies as possible. Since the unicode version of ncurses is
probably more rare than the non-unicode version it is probably a bad
idea to use ncursesw by default. However, if you use the configure
script ncursesw is the default, when it is available.

-- 
Jonas Fonseca

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

* Re: [ANNOUNCE] tig-0.13
  2009-01-15 13:06       ` Jonas Fonseca
@ 2009-01-15 14:50         ` bill lam
  2009-01-15 15:05           ` Adeodato Simó
  2009-01-15 15:08           ` Jonas Fonseca
  0 siblings, 2 replies; 10+ messages in thread
From: bill lam @ 2009-01-15 14:50 UTC (permalink / raw
  To: Jonas Fonseca; +Cc: git

On Thu, 15 Jan 2009, Jonas Fonseca wrote:
> presence of a {/usr/incude/}ncursesw/ncurses.h header. Where are the
> unicode ncurses.h files found on your system?

on ubuntu,
/usr/incude/ncursesw/curses.h 
/usr/incude/ncursesw/ncurses.h  ( just a sym link to curses.h above ) 

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩286 張祜  題金陵渡
    金陵津渡小山樓  一宿行人自可愁  潮落夜江斜月裡  兩三星火是瓜州

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

* Re: [ANNOUNCE] tig-0.13
  2009-01-15 14:50         ` bill lam
@ 2009-01-15 15:05           ` Adeodato Simó
  2009-01-15 15:08           ` Jonas Fonseca
  1 sibling, 0 replies; 10+ messages in thread
From: Adeodato Simó @ 2009-01-15 15:05 UTC (permalink / raw
  To: git

* bill lam [Thu, 15 Jan 2009 22:50:03 +0800]:

> On Thu, 15 Jan 2009, Jonas Fonseca wrote:
> > presence of a {/usr/incude/}ncursesw/ncurses.h header. Where are the
> > unicode ncurses.h files found on your system?

> on ubuntu,
> /usr/incude/ncursesw/curses.h 
> /usr/incude/ncursesw/ncurses.h  ( just a sym link to curses.h above ) 

You should send the output of ./configure, and publish the resulting
config.log file somewhere.

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
Man is certainly stark mad; he cannot make a flea, yet he makes gods by the
dozens.
                -- Michel de Montaigne

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

* Re: [ANNOUNCE] tig-0.13
  2009-01-15 14:50         ` bill lam
  2009-01-15 15:05           ` Adeodato Simó
@ 2009-01-15 15:08           ` Jonas Fonseca
  2009-01-15 15:41             ` bill lam
  1 sibling, 1 reply; 10+ messages in thread
From: Jonas Fonseca @ 2009-01-15 15:08 UTC (permalink / raw
  To: git

bill lam <cbill.lam@gmail.com> wrote Thu, Jan 15, 2009:
> On Thu, 15 Jan 2009, Jonas Fonseca wrote:
> > presence of a {/usr/incude/}ncursesw/ncurses.h header. Where are the
> > unicode ncurses.h files found on your system?
> 
> on ubuntu,
> /usr/incude/ncursesw/curses.h 
> /usr/incude/ncursesw/ncurses.h  ( just a sym link to curses.h above ) 

Then I am puzzled why the configure script doesn't find it. Can you send
me your config.log and the output of running configure. Maybe off-list.

-- 
Jonas Fonseca

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

* Re: [ANNOUNCE] tig-0.13
  2009-01-15 15:08           ` Jonas Fonseca
@ 2009-01-15 15:41             ` bill lam
  0 siblings, 0 replies; 10+ messages in thread
From: bill lam @ 2009-01-15 15:41 UTC (permalink / raw
  To: Jonas Fonseca; +Cc: git

On Thu, 15 Jan 2009, Jonas Fonseca wrote:
> Then I am puzzled why the configure script doesn't find it. Can you send
> me your config.log and the output of running configure. Maybe off-list.

I just delete everything and do a git reset --hard, ./configure does
detect ncursesw and link to it.  I'm not sure my previous error was
resulted from config cache.  I ldd tig and confirm indeed it linked to
the unicode version.  

Sorry for the noise.  m(__)m

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩019 孟浩然  夏日南亭懷辛大
    山光忽西落  池月漸東上  散髮乘夜涼  開軒臥閑敞  荷風送香氣  竹露滴清響
    欲取鳴琴彈  恨無知音賞  感此懷故人  中宵勞夢想

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

end of thread, other threads:[~2009-01-15 15:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13 23:36 [ANNOUNCE] tig-0.13 Jonas Fonseca
2009-01-14 16:33 ` Ted Pavlic
2009-01-14 23:24 ` bill lam
2009-01-14 23:56   ` Jonas Fonseca
2009-01-15  1:46     ` bill lam
2009-01-15 13:06       ` Jonas Fonseca
2009-01-15 14:50         ` bill lam
2009-01-15 15:05           ` Adeodato Simó
2009-01-15 15:08           ` Jonas Fonseca
2009-01-15 15:41             ` bill lam

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).