git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [ANNOUNCE] tig-0.10
@ 2008-03-17  2:03 Jonas Fonseca
  2008-03-17  8:25 ` Junio C Hamano
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Jonas Fonseca @ 2008-03-17  2:03 UTC (permalink / raw)
  To: git

Hello,

A new version of tig is available! It brings many documentation
improvements, bug fixes, and some much needed updates to work better
with git (e.g. by using --no-color and avoiding to use git-diff). On
startup, tig will now attempt to first read a system-wide configuration
file before loading the user specific configuration file. Cherry picking
from inside tig has been generalized, making it possible to wire
external commands, which can access information about the current
commit, to a keybinding.

Among possible incompatible changes, option parsing has been changed to
be more similar with gitk's by deprecating almost all tig options, so to
startup in the status view use `tig status'! Building the documentation
(sadly?) now depends on DocBook XSL 1.72 to reduce the number of
accumulated AsciiDoc and XSL hacks.

In the pipeline for the next release are improved rename support in the
status view and encoding and drawing fixes from Dominik Vogt. The
deprecated options will probably also go away, including the special
handling of "--".

What is tig?
------------
Tig is a ncurses-based text-mode interface for git. It functions mainly
as a git repository browser, but can also 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/
 Gitfeed:	git://repo.or.cz/tig.git
 Gitweb:	http://repo.or.cz/w/tig.git

Changes in this release
-----------------------
Below is the diffstat and shortlog for changes made in this release.

 .gitignore                  |    5 +-
 INSTALL                     |   12 +-
 Makefile                    |   48 +++---
 TODO                        |   10 +
 VERSION                     |    2 +-
 asciidoc.conf               |   28 ++-
 config.make.in              |    1 +
 contrib/tig-completion.bash |   44 ++---
 manpage.xsl                 |   55 -----
 manual.txt                  |   65 +++++--
 tig.1.txt                   |  112 +++++++----
 tig.c                       |  470 +++++++++++++++++++++++++++++++-----------
 tigrc.5.txt                 |  109 +++++++----
 13 files changed, 620 insertions(+), 341 deletions(-)

Dominik Vogt (8):
      Minor formatting and spelling fixes.
      Add documentation for undocumented color options.
      Added color option main-revgraph to color the revision graph.
      Added action tree-parent and bound it to backspace by default.
      Removed trailing whitespace.
      Updated .gitignore
      Added examples to tig(1) manpage
      Add system-wide configuration file and new config file environment vars

James Bowes (1):
      Add missing = for comparison in obsolete actions check

Jari Aalto (1):
      Makefile: add ASCIIDOC_FLAGS

Jonas Fonseca (24):
      tig-0.10.git
      Unify REQ_NONE and REQ_UNKNOWN by moving REQ_NONE to be the last request
      Add support binding keys to running external commands
      Obsolete the cherry-pick action and define as builtin external command
      Improve sanity check error messages
      Collect remaining string in last entry when parsing config file lines
      Use get_key_name() in get_key()
      Fix crash when opening mergetool for lines that are not unmerged
      Rearrange the order of option parsing
      Use --no-color option when calling git-log and git-diff
      Avoid using git-diff since it might run external diff drivers
      manual: remove section on porcelains
      Ignore HTML files in general
      Install manpages in $(prefix)/share/man
      TODO: Mention tig.c splitting and revgraph rewrite
      Update manpages to not contain contain so many formatting workarounds
      INSTALL: Document the optional documentation tools
      Replace the manpage XSL workarounds with AsciiDoc conf workarounds
      Simplify documentation building and fix asciidoc.conf dependency
      Drop -B from diff options
      Add support for showing boundary commits in the main view
      Make it possible to overwrite the default (terminal) colors
      Make command line parsing more compatible with gitk
      tig-0.10

-- 
Jonas Fonseca

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

* Re: [ANNOUNCE] tig-0.10
  2008-03-17  2:03 [ANNOUNCE] tig-0.10 Jonas Fonseca
@ 2008-03-17  8:25 ` Junio C Hamano
  2008-03-17 10:23   ` Jonas Fonseca
  2008-03-17  9:45 ` Jakub Narebski
  2008-03-19 23:33 ` [ANNOUNCE] tig-0.10.1 Jonas Fonseca
  2 siblings, 1 reply; 9+ messages in thread
From: Junio C Hamano @ 2008-03-17  8:25 UTC (permalink / raw)
  To: Jonas Fonseca; +Cc: git

Jonas Fonseca <fonseca@diku.dk> writes:

> ... Building the documentation
> (sadly?) now depends on DocBook XSL 1.72 to reduce the number of
> accumulated AsciiDoc and XSL hacks.

Well, I've been a quiet but big fan of tig for quite some time, but to me,
requiring autoreconf is a much larger regression than DocBook dependency.

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

* Re: [ANNOUNCE] tig-0.10
  2008-03-17  2:03 [ANNOUNCE] tig-0.10 Jonas Fonseca
  2008-03-17  8:25 ` Junio C Hamano
@ 2008-03-17  9:45 ` Jakub Narebski
  2008-03-17 10:27   ` Jonas Fonseca
  2008-03-19 23:33 ` [ANNOUNCE] tig-0.10.1 Jonas Fonseca
  2 siblings, 1 reply; 9+ messages in thread
From: Jakub Narebski @ 2008-03-17  9:45 UTC (permalink / raw)
  To: Jonas Fonseca; +Cc: git

Jonas Fonseca <fonseca@diku.dk> writes:

> A new version of tig is available! It brings many documentation
> improvements, bug fixes, and some much needed updates to work better
> with git (e.g. by using --no-color and avoiding to use git-diff).

It seems like 'g', toggle revision graph visualization, doesn't work.
Checked with
  $ tig log --pretty=oneline --abbrev=8 --abbrev-commit

> On startup, tig will now attempt to first read a system-wide configuration
> file before loading the user specific configuration file. Cherry picking
> from inside tig has been generalized, making it possible to wire
> external commands, which can access information about the current
> commit, to a keybinding.

By thw ay, in tig(1), in the "FILES" section, there is 

       /home/fonseca/etc/tigrc
           System wide configuration file.

Is it a bug in code, or just in documentation.

tig was installed using:

 $ rpmbuild -tb tig-0.10.tar.gz
 # rpm -Uhv tig-0.10-0.i386.rpm

-- 
Jakub Narebski
Poland
ShadeHawk on #git

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

* Re: [ANNOUNCE] tig-0.10
  2008-03-17  8:25 ` Junio C Hamano
@ 2008-03-17 10:23   ` Jonas Fonseca
  2008-03-17 10:49     ` Junio C Hamano
  0 siblings, 1 reply; 9+ messages in thread
From: Jonas Fonseca @ 2008-03-17 10:23 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Junio C Hamano <gitster@pobox.com> wrote Mon, Mar 17, 2008:
> Jonas Fonseca <fonseca@diku.dk> writes:
> 
> > ... Building the documentation
> > (sadly?) now depends on DocBook XSL 1.72 to reduce the number of
> > accumulated AsciiDoc and XSL hacks.
> 
> Well, I've been a quiet but big fan of tig for quite some time, but to me,
> requiring autoreconf is a much larger regression than DocBook dependency.

I am not sure I understand. As far as I know, tig does not require
autoreconf unless you have cloned the repository and want to bootstrap
the configure script.

-- 
Jonas Fonseca

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

* Re: [ANNOUNCE] tig-0.10
  2008-03-17  9:45 ` Jakub Narebski
@ 2008-03-17 10:27   ` Jonas Fonseca
  0 siblings, 0 replies; 9+ messages in thread
From: Jonas Fonseca @ 2008-03-17 10:27 UTC (permalink / raw)
  To: Jakub Narebski; +Cc: git

Jakub Narebski <jnareb@gmail.com> wrote Mon, Mar 17, 2008:
> Jonas Fonseca <fonseca@diku.dk> writes:
> 
> > A new version of tig is available! It brings many documentation
> > improvements, bug fixes, and some much needed updates to work better
> > with git (e.g. by using --no-color and avoiding to use git-diff).
> 
> It seems like 'g', toggle revision graph visualization, doesn't work.
> Checked with
>   $ tig log --pretty=oneline --abbrev=8 --abbrev-commit

Well, the revgraph visualization only works for the main view, not the
log view (which has been sort of deprecated).

> > On startup, tig will now attempt to first read a system-wide configuration
> > file before loading the user specific configuration file. Cherry picking
> > from inside tig has been generalized, making it possible to wire
> > external commands, which can access information about the current
> > commit, to a keybinding.
> 
> By thw ay, in tig(1), in the "FILES" section, there is 
> 
>        /home/fonseca/etc/tigrc
>            System wide configuration file.
> 
> Is it a bug in code, or just in documentation.

Oops, embarrasing. I will look into fixing it so that documentation
installed from the tarball will insert the local sysconfdir path.

-- 
Jonas Fonseca

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

* Re: [ANNOUNCE] tig-0.10
  2008-03-17 10:23   ` Jonas Fonseca
@ 2008-03-17 10:49     ` Junio C Hamano
  2008-03-17 11:28       ` Jonas Fonseca
  0 siblings, 1 reply; 9+ messages in thread
From: Junio C Hamano @ 2008-03-17 10:49 UTC (permalink / raw)
  To: Jonas Fonseca; +Cc: git

Jonas Fonseca <fonseca@diku.dk> writes:

> Junio C Hamano <gitster@pobox.com> wrote Mon, Mar 17, 2008:
>> Jonas Fonseca <fonseca@diku.dk> writes:
>> 
>> > ... Building the documentation
>> > (sadly?) now depends on DocBook XSL 1.72 to reduce the number of
>> > accumulated AsciiDoc and XSL hacks.
>> 
>> Well, I've been a quiet but big fan of tig for quite some time, but to me,
>> requiring autoreconf is a much larger regression than DocBook dependency.
>
> I am not sure I understand. As far as I know, tig does not require
> autoreconf unless you have cloned the repository and want to bootstrap
> the configure script.

Yeah, but that was exactly what your announcement suggested to.  Show
Tarball and Gitfeed alternatives to a git person, who already has a clone
of the project, and guess which one he would go ;-).

Also INSTALL file begins with:

Installation instructions
-------------------------

Download a tarball from http://jonas.nitro.dk/tig/releases[] or clone the tig
repository http://jonas.nitro.dk/tig/tig.git[]. Documentation files are
available either in the tarballs or in the above repository in the branch named
'release'.

To install tig simply run:

        $ autoreconf
        $ ./configure
        $ make install

By the way, it would be nice if someday I can get tig work with CJK.
Perhaps I need to tweak something in ncurses?

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

* Re: [ANNOUNCE] tig-0.10
  2008-03-17 10:49     ` Junio C Hamano
@ 2008-03-17 11:28       ` Jonas Fonseca
  0 siblings, 0 replies; 9+ messages in thread
From: Jonas Fonseca @ 2008-03-17 11:28 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

Junio C Hamano <gitster@pobox.com> wrote Mon, Mar 17, 2008:
> Jonas Fonseca <fonseca@diku.dk> writes:
> > I am not sure I understand. As far as I know, tig does not require
> > autoreconf unless you have cloned the repository and want to bootstrap
> > the configure script.
> 
> Yeah, but that was exactly what your announcement suggested to.  Show
> Tarball and Gitfeed alternatives to a git person, who already has a clone
> of the project, and guess which one he would go ;-).
> 
> Also INSTALL file begins with:
> 
> [...]

Ok, I will try to make it more clear that usage of configure (and
autoreconf) is optional.

> By the way, it would be nice if someday I can get tig work with CJK.
> Perhaps I need to tweak something in ncurses?

I will make it a priority to fix this shortcoming. Until then you can
improve the situation by linking with the ncursesw library. At least the
diff view and names in the commit listing will be properly displayed.

diff --git a/Makefile b/Makefile
index 575c5bf..e57ae6a 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ RPM_VERLIST = $(filter-out g% dirty,$(subst -, ,$(VERSION))) 0
 RPM_VERSION = $(word 1,$(RPM_VERLIST))
 RPM_RELEASE = $(word 2,$(RPM_VERLIST))$(if $(WTDIRTY),.dirty)
 
-LDLIBS ?= -lcurses
+LDLIBS ?= -lncursesw
 CFLAGS ?= -Wall -O2
 DFLAGS	= -g -DDEBUG -Werror
 PROGS	= tig

-- 
Jonas Fonseca

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

* [ANNOUNCE] tig-0.10.1
  2008-03-17  2:03 [ANNOUNCE] tig-0.10 Jonas Fonseca
  2008-03-17  8:25 ` Junio C Hamano
  2008-03-17  9:45 ` Jakub Narebski
@ 2008-03-19 23:33 ` Jonas Fonseca
  2008-03-20  0:52   ` Junio C Hamano
  2 siblings, 1 reply; 9+ messages in thread
From: Jonas Fonseca @ 2008-03-19 23:33 UTC (permalink / raw)
  To: git

Hello,

Here is a small update to tig with accumulated fixes and suggestions.
Apart from fixes for compiler warnings and configure checks, this
version should work much better with rendering CJK properly thanks to
Dominik. It still requires that tig is linked with ncursesw, which
should happen automatically if possible when using the configure script.
Finally, the status view will show renames instead of a copy + a rename.

Thanks for suggestions and patches! Below is the diffstat and shortlog
for changes made in this release.

 INSTALL      |   28 ++++---
 Makefile     |   20 +++--
 VERSION      |    2 +-
 configure.ac |   15 ++++-
 tig.c        |  246 +++++++++++++++++++++++++++++++++++++++-------------------
 5 files changed, 210 insertions(+), 101 deletions(-)

Dominik Vogt (3):
      Fix compiler warnings: pointer of type ‘void *’ used in arithmetic
      Fixed handling of UTF8 tag names and commit messages.
      More verbose diff headers (including dates and committer)

Jonas Fonseca (8):
      tig-0.10.1.git
      Replace SYSCONFDIR value in distributed documentation distributed
      Make it more clear that use of configure (and autoreconf) is optional
      Add rename support to the status view
      Refresh the index when opening the status view to avoid "empty diffs"
      Make configure search for the ncursesw library first
      Fix drawing "outside" the screen in the status and pager views
      tig-0.10.1

Peter Karlsson (1):
      Fixed spurious "/bin/sh: --list: command not found" error

Russell Steicke (1):
      Fix signed char comparison where char is unsigned by default

-- 
Jonas Fonseca

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

* Re: [ANNOUNCE] tig-0.10.1
  2008-03-19 23:33 ` [ANNOUNCE] tig-0.10.1 Jonas Fonseca
@ 2008-03-20  0:52   ` Junio C Hamano
  0 siblings, 0 replies; 9+ messages in thread
From: Junio C Hamano @ 2008-03-20  0:52 UTC (permalink / raw)
  To: Jonas Fonseca; +Cc: git

Jonas Fonseca <fonseca@diku.dk> writes:

> Apart from fixes for compiler warnings and configure checks, this
> version should work much better with rendering CJK properly thanks to
> Dominik....

Very nice.

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

end of thread, other threads:[~2008-03-20  0:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-17  2:03 [ANNOUNCE] tig-0.10 Jonas Fonseca
2008-03-17  8:25 ` Junio C Hamano
2008-03-17 10:23   ` Jonas Fonseca
2008-03-17 10:49     ` Junio C Hamano
2008-03-17 11:28       ` Jonas Fonseca
2008-03-17  9:45 ` Jakub Narebski
2008-03-17 10:27   ` Jonas Fonseca
2008-03-19 23:33 ` [ANNOUNCE] tig-0.10.1 Jonas Fonseca
2008-03-20  0:52   ` Junio C Hamano

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).