13 years agoMove tig.spec.in to the contrib area
Jonas Fonseca [Fri, 22 Jun 2007 15:06:15 +0000 (17:06 +0200)] 
Move tig.spec.in to the contrib area

13 years agoMove tigrc to the contrib area
Jonas Fonseca [Fri, 22 Jun 2007 15:04:45 +0000 (17:04 +0200)] 
Move tigrc to the contrib area

13 years agoAdd tig bash completion script
Jonas Fonseca [Fri, 22 Jun 2007 15:01:24 +0000 (17:01 +0200)] 
Add tig bash completion script

Based on git-completion.sh by Shawn Pearce.

13 years agoDelete the old VERSION file before appending the new one in make dist
Jonas Fonseca [Wed, 20 Jun 2007 07:40:27 +0000 (09:40 +0200)] 
Delete the old VERSION file before appending the new one in make dist

13 years agoUse $(MAKE) instead of 'make' and 'git *' instead of 'git-*'
Jonas Fonseca [Wed, 20 Jun 2007 07:04:00 +0000 (09:04 +0200)] 
Use $(MAKE) instead of 'make' and 'git *' instead of 'git-*'

13 years agotig-0.8.git
Jonas Fonseca [Tue, 19 Jun 2007 07:18:57 +0000 (09:18 +0200)] 

13 years agotig-0.8 tig-0.8
Jonas Fonseca [Tue, 19 Jun 2007 07:11:48 +0000 (09:11 +0200)] 

13 years agoFix pager mode regressions
Jonas Fonseca [Mon, 18 Jun 2007 14:09:59 +0000 (16:09 +0200)] 
Fix pager mode regressions

This fixes both a segfault when starting tig in pager mode, caused by no
view being setup before calling report(). Introduced in: "Add notice
about empty pager view" (5c4358d1b309381997a5c4780a432140fefa5bcb).
Reported by Lars Noschinski in debian bug 429448.

Also, a fix for actually reading from stdin, caused by comparison of
view->vid and view->id being reported as equal leading to no actual
update. Introduced in: "Improve management of view->ref and the title
line" (035ba11f40c0a045989ed861e72327012af022b4). Now, the title line in
pager mode will say "stdin" when reading from externally piped input.

13 years agoFix (another) integer type mismatch on 64-bit systems
Jonas Fonseca [Mon, 4 Jun 2007 06:45:21 +0000 (08:45 +0200)] 
Fix (another) integer type mismatch on 64-bit systems

Similar to previous commit, use int type as the first parameter to
printf field width specifier (%.*s).

13 years agoFix integer type mismatch on 64-bit systems
Steven Grimm [Sun, 3 Jun 2007 21:12:06 +0000 (14:12 -0700)] 
Fix integer type mismatch on 64-bit systems

fprintf wants an int parameter for the field width of a "%.*s" expression, but
the code was passing a size_t instead. This potentially broke systems where
sizeof(size_t) != sizeof(int). And even on systems where it did't break,
it still caused a compiler warning.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
13 years agoAdd TODO about using non-blocking I/O for incremental view loading
Jonas Fonseca [Mon, 4 Jun 2007 06:37:45 +0000 (08:37 +0200)] 
Add TODO about using non-blocking I/O for incremental view loading

Seems to be the fix for debian bug #427093.

13 years agoOnly emit one "Not a git repository" error message
Jonas Fonseca [Sun, 3 Jun 2007 12:31:55 +0000 (14:31 +0200)] 
Only emit one "Not a git repository" error message

13 years agoAllow CFLAGS to be overridden while preserving VERSION
James Bowes [Sat, 2 Jun 2007 17:14:50 +0000 (13:14 -0400)] 
Allow CFLAGS to be overridden while preserving VERSION

If someone defined their own CFLAGS, they would have to include a -DVERSION=
as well (or else get unknown-version as the version).

Signed-off-by: James Bowes <jbowes@dangerouslyinc.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
13 years agoGrab path to the git directory; use it when listing untracked files
Jonas Fonseca [Sat, 2 Jun 2007 16:49:24 +0000 (18:49 +0200)] 
Grab path to the git directory; use it when listing untracked files

13 years agoread_properties: use size_t instead of int for callback
Jonas Fonseca [Sat, 2 Jun 2007 17:14:42 +0000 (19:14 +0200)] 
read_properties: use size_t instead of int for callback

13 years agoFix wrong uses of string_copy() with pointer instead of buffer
Jonas Fonseca [Sat, 2 Jun 2007 17:03:30 +0000 (19:03 +0200)] 
Fix wrong uses of string_copy() with pointer instead of buffer

Follow up to commit 751e27c90eea47b4eacdd7b657731712712f7356 that
caused these bugs to be revealed.

13 years agoFix use of the status view from subdirectories
Jonas Fonseca [Sat, 2 Jun 2007 08:55:29 +0000 (10:55 +0200)] 
Fix use of the status view from subdirectories

13 years agoFix string_copy macro to use sizeof(src) for the source buffer
Jonas Fonseca [Sat, 2 Jun 2007 16:18:24 +0000 (18:18 +0200)] 
Fix string_copy macro to use sizeof(src) for the source buffer

13 years agoMerge branch 'jn/rpm-updates'
Jonas Fonseca [Sat, 2 Jun 2007 09:03:12 +0000 (11:03 +0200)] 
Merge branch 'jn/rpm-updates'



13 years agoRefresh VERSION file when building distribution tarball in "make dist"
Jakub Narebski [Fri, 1 Jun 2007 16:34:28 +0000 (18:34 +0200)] 
Refresh VERSION file when building distribution tarball in "make dist"

Overwrite contents of VERSION file from the HEAD revision with the
current version (at the time of building), so VERSION file in the
tarball generated by "make dist" (and which follows also rpm package
generated by "make rpm") is up to date.

Otherwise for example when building rpm it will be compiled with wrong
version string.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
13 years agoInclude documentation sources for rpmbuild with '--without docs'
Jakub Narebski [Fri, 1 Jun 2007 16:27:30 +0000 (18:27 +0200)] 
Include documentation sources for rpmbuild with '--without docs'

This includes _all_ documentation sources (and not only manual.txt) in
the rpm file build with '--without docs' option.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
13 years agoRemove PDF version of manual from being build and installed
Jakub Narebski [Fri, 1 Jun 2007 16:24:07 +0000 (18:24 +0200)] 
Remove PDF version of manual from being build and installed

Because PDF version of "The tig Manual" doesn't offer anything new
that is not present in HTML version, and building PDF requires
additional tools (docbook2pdf) and their dependencies present, remove
it from tig rpm.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
13 years agoMake dist rule more robust using '&&'; create .tar.gz.md5 file
Jonas Fonseca [Fri, 1 Jun 2007 20:43:48 +0000 (22:43 +0200)] 
Make dist rule more robust using '&&'; create .tar.gz.md5 file

13 years agoFix typo the INSTALL file
Jonas Fonseca [Fri, 1 Jun 2007 08:00:35 +0000 (10:00 +0200)] 
Fix typo the INSTALL file

The make command to build the documentation "make install-doc", not
"make install-docs".

Kindly pointed out by Michael G. Noll.

13 years agoSupply explicit permission bits to 'install'
Jeffrey C. Ollie [Thu, 31 May 2007 19:20:32 +0000 (14:20 -0500)] 
Supply explicit permission bits to 'install'

'install' will install files with permissions set to '0755' if the
permissions are not specified on the command line.  Having the execute
bits set on non-executable content is not desireable.  Specify mode
0644 for non-executable content as well as specify mode 0755 for
executable content (in case the defaults change or are different on
different systems).  Also tell 'install' to preserve timestamps.

[ Updated to also do it when installing HTML files. --jonas ]

Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
13 years agotig-0.7.git
Jonas Fonseca [Thu, 31 May 2007 10:19:48 +0000 (12:19 +0200)] 

13 years agotig-0.7 tig-0.7
Jonas Fonseca [Thu, 31 May 2007 10:17:33 +0000 (12:17 +0200)] 

13 years agoRename sync-docs to release-doc; add release-dist rule
Jonas Fonseca [Thu, 31 May 2007 09:56:52 +0000 (11:56 +0200)] 
Rename sync-docs to release-doc; add release-dist rule

Additionally, allow VERSION to be overwritten from the command
line by setting DIST_VERSION.

13 years agoVarious random Makefile cleanups
Jonas Fonseca [Thu, 31 May 2007 09:54:51 +0000 (11:54 +0200)] 
Various random Makefile cleanups

13 years agoUpdate sync-docs target to use git porcelain instead of cogito
Jonas Fonseca [Thu, 31 May 2007 09:25:49 +0000 (11:25 +0200)] 
Update sync-docs target to use git porcelain instead of cogito

13 years agoInfrastructure for tig rpm builds
Jakub Narebski [Thu, 31 May 2007 09:20:05 +0000 (11:20 +0200)] 
Infrastructure for tig rpm builds

Adds RPM_VERSION to Makefile and new make targets: tig.spec, dist, and
rpm. A simple 'make rpm' will build the rpm. Also adds tig.spec.in
which is used to generate tig.spec.

Accidentally VERSION (and adding -DVERSION=$(VERSION) to CFLAGS) is
now defined always, even if we do not compile from the "live" tig

Minimally tested (meaning "make rpm" from tig repository works).

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
13 years agoMove "static" version info to VERSION file
Jonas Fonseca [Thu, 31 May 2007 08:46:20 +0000 (10:46 +0200)] 
Move "static" version info to VERSION file

Cleanup dynamic version acquiring via git.

13 years agoAdd version information to man pages
Jonas Fonseca [Thu, 31 May 2007 08:31:34 +0000 (10:31 +0200)] 
Add version information to man pages

Inspired and copied from git 7ef195ba3efe0ffa815e12afc4cb1e39a21ddfb4:

    Override the [header] macro of asciidoc's docbook
    backend to add version information to the generated
    man pages.

by Frank Lichtenheld <frank@lichtenheld.de>. Slightly improved to
use asciidoc {version} macro to avoid having to invoke sed.

13 years agoAdd manpage XSL from git and enhance with literallayout fixes
Jonas Fonseca [Thu, 31 May 2007 08:19:22 +0000 (10:19 +0200)] 
Add manpage XSL from git and enhance with literallayout fixes

It ensures that .sp tags will be properly output so they do not appear
in the rendered manpages. Grabed from git's Documentation/callouts.xsl
file. From the git's commit 7ef0435088f41165ece95b6f226d3c15438505a5:

    This is just a random hack to work around problems people seem
    to be seeing in manpage backend of xmlto (it appears we are
    getting ".sp" at the end of line without line break).

Additionally, output an empty line after literallayout blocks (.nf .fi)
so that any text following it will appear in a separate block.

13 years agoAdd status view
Jonas Fonseca [Wed, 30 May 2007 20:55:49 +0000 (22:55 +0200)] 
Add status view

The new view supports staging, unstaging, and adding of
untracked files. It is still only very basic. The colors
might need a few tweaks.

Bound to 'S' by default.

13 years agomain_read: cleanup and simplify
Jonas Fonseca [Wed, 30 May 2007 18:53:20 +0000 (20:53 +0200)] 
main_read: cleanup and simplify

13 years agoRefactor add_line_text parts into add_line_data; use it in main_read
Jonas Fonseca [Wed, 30 May 2007 18:22:04 +0000 (20:22 +0200)] 
Refactor add_line_text parts into add_line_data; use it in main_read

13 years agoAdd open method to view_ops
Jonas Fonseca [Tue, 29 May 2007 23:18:31 +0000 (01:18 +0200)] 
Add open method to view_ops

Use it to turn open_help_view into help_open and make a backend for the
help view.

13 years agoAdd notice about empty pager view
Jonas Fonseca [Tue, 29 May 2007 14:11:58 +0000 (16:11 +0200)] 
Add notice about empty pager view

Similar to notice for blob view, mention when there is no pager content
to view and suggest the user to open the prompt to run a command.

13 years agoAdd notice about empty pager view
Jonas Fonseca [Tue, 29 May 2007 14:11:58 +0000 (16:11 +0200)] 
Add notice about empty pager view

Similar to notice for blob view, mention when there is no pager content
to view and suggest the user to open the prompt to run a command.

13 years agoMake keybinding reference more dynamic
Jonas Fonseca [Tue, 29 May 2007 14:06:00 +0000 (16:06 +0200)] 
Make keybinding reference more dynamic

It doesn't honor any key map info, however, hardcoding key information
seems wrong when get_key already exists. Used for the notice when blob
view is requested and no blob ID has yet been assigned to ref_blob.

13 years agoMove space separator from get_key to formatting in open_help_view
Jonas Fonseca [Tue, 29 May 2007 14:00:24 +0000 (16:00 +0200)] 
Move space separator from get_key to formatting in open_help_view

13 years agoImprove managment of view->ref and the title line
Jonas Fonseca [Tue, 29 May 2007 13:07:38 +0000 (15:07 +0200)] 
Improve managment of view->ref and the title line

This removes a blob view specific hack needed for keeping the title line
synchronized with the current blob ID. It further also changes the pager
view to show the actual command that was run, regardless of whether
a commit line has been hovered.

13 years agoBe more paranoid about paths when updating the tree view
Jonas Fonseca [Tue, 29 May 2007 13:34:10 +0000 (15:34 +0200)] 
Be more paranoid about paths when updating the tree view

Shell quote the path always.

13 years agomove_view: fix view->offset overflow bug
Jonas Fonseca [Tue, 29 May 2007 11:08:21 +0000 (13:08 +0200)] 
move_view: fix view->offset overflow bug

Reproducable by opening the tree view, then maximizing the blob view,
move up, and then closing the blob view, causing the view->offset to
have "wrapped around" and nothing to be displayed in the tree view.

The invalid update of view->offset only happend when moving
non-displayed views.  Instead use the checked scroll_steps variable
instead of the steps variable.  Add a guarding assert after the update.

13 years agoIntroduce add_line_text to simplify pager based rendering
Jonas Fonseca [Tue, 29 May 2007 10:14:53 +0000 (12:14 +0200)] 
Introduce add_line_text to simplify pager based rendering

13 years agoFix revision graph visualization during incremental updating
Jonas Fonseca [Fri, 18 May 2007 20:50:29 +0000 (22:50 +0200)] 
Fix revision graph visualization during incremental updating

This caused certain commit lines in the main view to not have have a
visual revision graph.

The reason is that revision graph visualization requires knowledge about
the parent commit. This causes a further one-off needed to be redrawn
for incremental updates.

13 years agoAdd TODO item about diff chunk staging/unstaging
Jonas Fonseca [Wed, 9 May 2007 13:14:58 +0000 (15:14 +0200)] 
Add TODO item about diff chunk staging/unstaging

Requested by Pasky.

13 years agoMake it possible to install man pages and html files separately
Greg KH [Wed, 9 May 2007 11:25:57 +0000 (13:25 +0200)] 
Make it possible to install man pages and html files separately

[ Fixed typo and finally corrected the manual.html dependency on
  manual.toc. --jonas ]

13 years agotig-0.6.git
Jonas Fonseca [Sun, 25 Mar 2007 09:26:59 +0000 (11:26 +0200)] 

13 years agoBump the version number to 0.6 tig-0.6
Jonas Fonseca [Sun, 25 Mar 2007 09:24:13 +0000 (11:24 +0200)] 
Bump the version number to 0.6

13 years agoOops, remove -liconv from LDFLAGS
Jonas Fonseca [Sun, 25 Mar 2007 09:22:28 +0000 (11:22 +0200)] 
Oops, remove -liconv from LDFLAGS

13 years agoDisable show-rev-graph by default
Jonas Fonseca [Sun, 25 Mar 2007 09:14:15 +0000 (11:14 +0200)] 
Disable show-rev-graph by default

It can be enabled by adding

set show-rev-graph = yes

to ~/.tigrc or toggled by pressing 'g' when in the main viewer.

13 years agoMerge with master
Jonas Fonseca [Sun, 25 Mar 2007 09:10:14 +0000 (11:10 +0200)] 
Merge with master

13 years agoImprove handling of remotes
Jonas Fonseca [Tue, 6 Feb 2007 14:40:28 +0000 (15:40 +0100)] 
Improve handling of remotes

Hightlight remotes similar to how tags are highlighted.
Colors are configurable via main-remote.

13 years agoTODO: use autoconf to detect newer git and git-config availability
Jonas Fonseca [Tue, 6 Feb 2007 14:36:33 +0000 (15:36 +0100)] 
TODO: use autoconf to detect newer git and git-config availability

13 years agoMake tig handle GIT_DIR better
Jonas Fonseca [Wed, 20 Dec 2006 22:31:36 +0000 (23:31 +0100)] 
Make tig handle GIT_DIR better

The problem was caused by load_refs() calling "git-ls-remote ." completely
ignoring GIT_DIR. This is fixed by using git-rev-parse --git-dir to extract
the path to the requested git repository.

13 years agoDrop --stat usage from the main command assembled during option parsing
Jonas Fonseca [Sun, 17 Dec 2006 21:05:12 +0000 (22:05 +0100)] 
Drop --stat usage from the main command assembled during option parsing

This is a follow up to commit fa187d6c87100b0c5d626eceb4369eef79176138
which removes one more useless use of --stat, which is very costly
especially for the main view.

A big thanks to Miciah for reporting this.

13 years agoAdd note about using autoconf to detect iconv(3) presence in libc
Jonas Fonseca [Fri, 15 Dec 2006 19:48:41 +0000 (20:48 +0100)] 
Add note about using autoconf to detect iconv(3) presence in libc

... and other build dependencies.

13 years agoFix parameter warning for iconv(3)
Horst H. von Brand [Fri, 15 Dec 2006 19:46:58 +0000 (20:46 +0100)] 
Fix parameter warning for iconv(3)

[ This reverts commit d9c49e6ec76ac311bbe9a1d0d3699ff4be79e64f that tried
  to fix compile warning on Mac OS X. ]

Signed-off-by: Horst H. von Brand <vonbrand@inf.utfsm.cl>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
13 years agoFix SITES URLs; promote git://repo.or.cz/tig.git mirror more
Jonas Fonseca [Mon, 4 Dec 2006 23:32:55 +0000 (00:32 +0100)] 
Fix SITES URLs; promote git://repo.or.cz/tig.git mirror more

13 years agoDiscard error messages from git-describe
Jonas Fonseca [Mon, 4 Dec 2006 23:30:55 +0000 (00:30 +0100)] 
Discard error messages from git-describe

13 years agoFix commit author line parsing for when the name is empty
Jonas Fonseca [Sun, 26 Nov 2006 20:09:59 +0000 (21:09 +0100)] 
Fix commit author line parsing for when the name is empty

This is also a nice cleanup so the code uses chomp_string() instead of
"custom" removal of spaces.

14 years agoMerge with master
Jonas Fonseca [Mon, 30 Oct 2006 02:16:42 +0000 (03:16 +0100)] 
Merge with master

14 years agoNever split the tree view when opening another tree view
Jonas Fonseca [Mon, 30 Oct 2006 02:01:17 +0000 (03:01 +0100)] 
Never split the tree view when opening another tree view

The resulting bogus display[] state ment that the blob view was not
initialized causing segmentation faults in the redrawing code.

Reported by Alexey Tourbin <at@altlinux.ru>

14 years agoCast second arg to iconv to remove warning
Jonas Fonseca [Sun, 29 Oct 2006 20:36:32 +0000 (21:36 +0100)] 
Cast second arg to iconv to remove warning

14 years agomain_read: handle titles that start with whitespace
Jonas Fonseca [Sun, 29 Oct 2006 14:21:13 +0000 (15:21 +0100)] 
main_read: handle titles that start with whitespace

14 years agoIncrease commit.title size from 75 to 128
Alexey Tourbin [Sun, 29 Oct 2006 14:17:22 +0000 (15:17 +0100)] 
Increase commit.title size from 75 to 128

Courtesy of Dmitry Levin, my current aterm session has COLUMNS=141
(1280x1024 with standard 9x15 font).  So in the main view I can see
some commit headlines truncated.  Changing hedline size from 75 to 128
characters seems to be reasonable.

14 years agoHardwire ERR to mean REQ_NONE in the main loop
Jonas Fonseca [Thu, 28 Sep 2006 11:54:35 +0000 (13:54 +0200)] 
Hardwire ERR to mean REQ_NONE in the main loop

14 years agoadd_keybinding: always allocate the new keybinding
Jonas Fonseca [Thu, 28 Sep 2006 11:51:38 +0000 (13:51 +0200)] 
add_keybinding: always allocate the new keybinding

Fixes infinite loop repoted by Miciah. Also simply continue when wgetch
returns ERR (-1) instead of calling get_keybinding() etc.

14 years agotig-0.5.git
Jonas Fonseca [Tue, 26 Sep 2006 22:31:46 +0000 (00:31 +0200)] 

Crap, forgot to update the VERSION string again.

14 years agoSITES: Point to pasky's git proxy repo.or.cz tig-0.5
Jonas Fonseca [Wed, 20 Sep 2006 22:43:42 +0000 (00:43 +0200)] 
SITES: Point to pasky's git proxy repo.or.cz

14 years agoINSTALL: mention possible iconv problems and workarounds
Jonas Fonseca [Wed, 20 Sep 2006 14:42:40 +0000 (16:42 +0200)] 
INSTALL: mention possible iconv problems and workarounds

14 years agomanual: document the tree/blob environment variables
Jonas Fonseca [Mon, 18 Sep 2006 17:07:07 +0000 (19:07 +0200)] 
manual: document the tree/blob environment variables

14 years agoAlways clear the status window after prompting
Jonas Fonseca [Mon, 18 Sep 2006 16:02:36 +0000 (18:02 +0200)] 
Always clear the status window after prompting

14 years agoOops, check log, diff, and show before options
Jonas Fonseca [Mon, 18 Sep 2006 15:33:28 +0000 (17:33 +0200)] 
Oops, check log, diff, and show before options

Fixes 8d27b36ea5e4e2f282d6e080b9bc0c134d29257a.

14 years agoUse wclrtoeol instead of werase
Jonas Fonseca [Mon, 18 Sep 2006 13:57:10 +0000 (15:57 +0200)] 
Use wclrtoeol instead of werase

14 years agoFix clearing of the status window after prompting
Jonas Fonseca [Sun, 17 Sep 2006 23:00:29 +0000 (01:00 +0200)] 
Fix clearing of the status window after prompting

14 years agoparse_option: check for '-' first and break if it is not an option
Jonas Fonseca [Sun, 17 Sep 2006 22:57:30 +0000 (00:57 +0200)] 
parse_option: check for '-' first and break if it is not an option

14 years agoImprove the "input mode" so the cursor is correctly positioned
Jonas Fonseca [Sun, 17 Sep 2006 22:56:33 +0000 (00:56 +0200)] 
Improve the "input mode" so the cursor is correctly positioned

14 years agoadd_keybinding: plug memory leak
Jonas Fonseca [Sun, 17 Sep 2006 19:52:28 +0000 (21:52 +0200)] 
add_keybinding: plug memory leak

14 years agoTODO: repository status view, better text-input support
Jonas Fonseca [Sun, 17 Sep 2006 19:29:59 +0000 (21:29 +0200)] 
TODO: repository status view, better text-input support

14 years agotigrc(5): mention tree/blob view actions; use dash in favour of underscore
Jonas Fonseca [Sat, 16 Sep 2006 18:28:02 +0000 (20:28 +0200)] 
tigrc(5): mention tree/blob view actions; use dash in favour of underscore

14 years agoRun the documentation through aspell
Jonas Fonseca [Sat, 16 Sep 2006 18:24:37 +0000 (20:24 +0200)] 
Run the documentation through aspell

14 years agopush_rev_graph: iterate all graph revs when looking for duplicates
Jonas Fonseca [Sat, 16 Sep 2006 12:12:41 +0000 (14:12 +0200)] 
push_rev_graph: iterate all graph revs when looking for duplicates

Now atleast there will not be unconnected lines at the end of the graph.

14 years agoBUGS: Merge locale support with utf8-only bug, add horizontal scrolling
Jonas Fonseca [Sat, 16 Sep 2006 01:36:20 +0000 (03:36 +0200)] 
BUGS: Merge locale support with utf8-only bug, add horizontal scrolling

14 years agoMerge with master
Jonas Fonseca [Sat, 16 Sep 2006 01:14:29 +0000 (03:14 +0200)] 
Merge with master

14 years agoAbbreviate the view reference in the view title for small widths
Jonas Fonseca [Sat, 16 Sep 2006 00:37:49 +0000 (02:37 +0200)] 
Abbreviate the view reference in the view title for small widths

14 years agoupdate_view_title: format load seconds as part of the state string
Jonas Fonseca [Sat, 16 Sep 2006 00:22:34 +0000 (02:22 +0200)] 
update_view_title: format load seconds as part of the state string

14 years agoupdate_view_title: use string_format_from instead of wprintw
Jonas Fonseca [Sat, 16 Sep 2006 00:12:24 +0000 (02:12 +0200)] 
update_view_title: use string_format_from instead of wprintw

14 years agoA simple fix of the bad wrapping bugs
Jonas Fonseca [Fri, 15 Sep 2006 23:40:10 +0000 (01:40 +0200)] 
A simple fix of the bad wrapping bugs

This was surprisingly simple to fix by just turning off scrolling in
draw_view_line. From the BUGS file:

 - If the screen width is very small the main view can draw outside the
   current view causing bad wrapping. Same goes for title and status

 - The cursor can wrap-around on the last line and cause the window to

14 years agoupdate_display_cursor: take view as arg
Jonas Fonseca [Fri, 15 Sep 2006 00:41:20 +0000 (02:41 +0200)] 
update_display_cursor: take view as arg

14 years agoMake the rev graph visualization have a one rev look-ahead
Jonas Fonseca [Thu, 14 Sep 2006 01:03:55 +0000 (03:03 +0200)] 
Make the rev graph visualization have a one rev look-ahead

14 years agoupdate_rev_graph: move code to prepare_rev_graph
Jonas Fonseca [Thu, 14 Sep 2006 00:58:23 +0000 (02:58 +0200)] 
update_rev_graph: move code to prepare_rev_graph

14 years agoAllow view readers to 'finalize' by calling with NULL line before closing
Jonas Fonseca [Thu, 14 Sep 2006 00:23:22 +0000 (02:23 +0200)] 
Allow view readers to 'finalize' by calling with NULL line before closing

14 years agoappend_to_rev_graph: use local variable
Jonas Fonseca [Wed, 13 Sep 2006 23:28:56 +0000 (01:28 +0200)] 
append_to_rev_graph: use local variable

14 years agoAlways draw the space between end of rev graph and start of commit title
Jonas Fonseca [Wed, 13 Sep 2006 23:08:48 +0000 (01:08 +0200)] 
Always draw the space between end of rev graph and start of commit title

The rev graph may have been increased so the old title should be

14 years agoRefactor (separator, line) chtype management to use 'fillers'
Jonas Fonseca [Tue, 12 Sep 2006 18:05:47 +0000 (20:05 +0200)] 
Refactor (separator, line) chtype management to use 'fillers'

14 years agoMore graph_parent_is_merge usage
Jonas Fonseca [Tue, 12 Sep 2006 16:52:55 +0000 (18:52 +0200)] 
More graph_parent_is_merge usage

14 years agodraw_rev_graph: refactor stuff to get_rev_graph_symbol
Jonas Fonseca [Tue, 12 Sep 2006 16:50:03 +0000 (18:50 +0200)] 
draw_rev_graph: refactor stuff to get_rev_graph_symbol