Code

tig.git
14 years agoMake open_blob_editor use its own argv show and take blob ID as an argument
Jonas Fonseca [Mon, 10 May 2010 02:24:44 +0000 (22:24 -0400)]
Make open_blob_editor use its own argv show and take blob ID as an argument

14 years agoUse view_is_displayed when figuring setting up the open flags
Jonas Fonseca [Thu, 27 May 2010 23:38:50 +0000 (19:38 -0400)]
Use view_is_displayed when figuring setting up the open flags

14 years agoRestructure option management code to separate section
Jonas Fonseca [Sun, 9 May 2010 21:42:28 +0000 (17:42 -0400)]
Restructure option management code to separate section

14 years agoOnly update status view at EOF for displayed views
Jonas Fonseca [Sat, 8 May 2010 01:46:42 +0000 (21:46 -0400)]
Only update status view at EOF for displayed views

14 years agofix off-by-one on parent selection
Jeff King [Mon, 10 May 2010 08:55:04 +0000 (04:55 -0400)]
fix off-by-one on parent selection

Originally, we use "git rev-list -1 --parents" to get the
list of parents, and therefore the 0th slot was the commit
in question, the 1st slot was the 1st parent, and so forth.

Commit 0a46941 switched this to use --pretty=format:%P, so
that the menu-selection code could be easily used (which
counts items starting from 0). However, we only use the menu
code in the case of multiple parents.  For a single parent,
this introduced an off-by-one where we look just past the
parent we want.

This patch fixes it by explicitly selecting the 0th parent
for the single parent case.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
14 years agoSimplify handling of REQ_NEXT/REQ_PREVIOUS by using view->parent
Jonas Fonseca [Wed, 5 May 2010 00:01:58 +0000 (20:01 -0400)]
Simplify handling of REQ_NEXT/REQ_PREVIOUS by using view->parent

14 years agoAdd view->prev to track history leaving view->parent for split views
Jonas Fonseca [Tue, 4 May 2010 23:49:57 +0000 (19:49 -0400)]
Add view->prev to track history leaving view->parent for split views

14 years agoColor 'Reviewed-by' and 'Tested-by' lines
Ingmar Vanhassel [Tue, 27 Apr 2010 14:18:25 +0000 (16:18 +0200)]
Color 'Reviewed-by' and 'Tested-by' lines

Signed-off-by: Ingmar Vanhassel <ingmar@exherbo.org>
Rename the symbols 'reviewed' and 'tested'.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
14 years agoWhen adding a keybinding check if the key is already bound
Jonas Fonseca [Thu, 22 Apr 2010 02:34:12 +0000 (22:34 -0400)]
When adding a keybinding check if the key is already bound

... and then overwrite it with the new request.

14 years agoAllow built-in run requests to be unbound
Jonas Fonseca [Thu, 22 Apr 2010 02:15:08 +0000 (22:15 -0400)]
Allow built-in run requests to be unbound

By adding built-in run requests after loading config files and checking
if each of them conflicts with an existing keybinding.

Reported by Simon Ruderich.

14 years agoFix set_keymap to error when resolving an unknown keymap
Jonas Fonseca [Thu, 22 Apr 2010 01:53:56 +0000 (21:53 -0400)]
Fix set_keymap to error when resolving an unknown keymap

The underlying interface was changed in commit f50084da to return
TRUE/FALSE instead of OK/ERR, but the only usage of set_keymap was not
updated. This lead to a potential segmentation fault.

Reported by Simon Ruderich.

14 years agoAdded support for displaying dates in localtime.
Simon Gerber [Wed, 14 Apr 2010 13:00:57 +0000 (15:00 +0200)]
Added support for displaying dates in localtime.

[ jf: updated documentation and added NEWS entry ]

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
14 years agoFixed parse_timezone to correctly calculate the offset in seconds.
Simon Gerber [Wed, 14 Apr 2010 12:02:38 +0000 (14:02 +0200)]
Fixed parse_timezone to correctly calculate the offset in seconds.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
14 years agotigrc(5): fix typo
Simon Ruderich [Thu, 15 Apr 2010 11:21:17 +0000 (07:21 -0400)]
tigrc(5): fix typo

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
14 years agoFix unbind behavoir
Jonas Fonseca [Sun, 11 Apr 2010 01:15:34 +0000 (21:15 -0400)]
Fix unbind behavoir

Fix problem where binding a key to none to deactivate it did not work.
Furthermore, make it show the usual "Unknown key, press 'h' for help".

Reported by Simon Ruderich.

14 years agoIntroduce view->type member
Jonas Fonseca [Tue, 13 Apr 2010 01:34:19 +0000 (21:34 -0400)]
Introduce view->type member

14 years agoUse foreach_view for the stop loading action
Jonas Fonseca [Mon, 12 Apr 2010 02:47:14 +0000 (22:47 -0400)]
Use foreach_view for the stop loading action

14 years agoRemove unused VIEW_REQ() macro
Jonas Fonseca [Mon, 12 Apr 2010 02:43:26 +0000 (22:43 -0400)]
Remove unused VIEW_REQ() macro

14 years agoAdd view flag with information about whether the view supports refreshing
Jonas Fonseca [Mon, 12 Apr 2010 02:42:52 +0000 (22:42 -0400)]
Add view flag with information about whether the view supports refreshing

14 years agoargv: remove now unused FORMAT_DASH
Jonas Fonseca [Wed, 31 Mar 2010 02:12:50 +0000 (22:12 -0400)]
argv: remove now unused FORMAT_DASH

14 years agoargv: make prepare_update use FORMAT_NONE
Jonas Fonseca [Wed, 31 Mar 2010 02:11:31 +0000 (22:11 -0400)]
argv: make prepare_update use FORMAT_NONE

14 years agoBranch view: add %(branch) variable tracking currently selected branch
jipey [Mon, 29 Mar 2010 02:49:08 +0000 (22:49 -0400)]
Branch view: add %(branch) variable tracking currently selected branch

This makes it possible to easily change branches from the branch view.

[ jf: updated docs, added NEWS entry, added checkout run request ]

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
14 years agoargv: move report call to format_arg method
Jonas Fonseca [Mon, 22 Mar 2010 01:10:57 +0000 (21:10 -0400)]
argv: move report call to format_arg method

14 years agoargv: refactor argv_from_env to return an error state
Jonas Fonseca [Mon, 22 Mar 2010 01:33:16 +0000 (21:33 -0400)]
argv: refactor argv_from_env to return an error state

14 years agoutf8: move unicode related functions below the string helpers
Jonas Fonseca [Tue, 30 Mar 2010 11:03:17 +0000 (07:03 -0400)]
utf8: move unicode related functions below the string helpers

14 years agoutf8: make utf8_to_unicode return 0 when encountering invalid symbols
Jonas Fonseca [Tue, 30 Mar 2010 11:00:35 +0000 (07:00 -0400)]
utf8: make utf8_to_unicode return 0 when encountering invalid symbols

... instead of calling die.

14 years agoio: consolidate formatting into io_format
Jonas Fonseca [Sun, 21 Mar 2010 21:00:38 +0000 (17:00 -0400)]
io: consolidate formatting into io_format

14 years agoio: set io->error when syscalls fail and remove calls to report and die
Jonas Fonseca [Sat, 27 Mar 2010 15:35:10 +0000 (11:35 -0400)]
io: set io->error when syscalls fail and remove calls to report and die

14 years agoio: rename IO methods to have io_ prefix
Jonas Fonseca [Sun, 21 Mar 2010 19:12:39 +0000 (15:12 -0400)]
io: rename IO methods to have io_ prefix

14 years agoio: fix comment in io struct
Jonas Fonseca [Sun, 21 Mar 2010 19:12:49 +0000 (15:12 -0400)]
io: fix comment in io struct

14 years agoRename string_date to mkdate and add incorporate common checks
Jonas Fonseca [Sun, 28 Mar 2010 15:56:32 +0000 (11:56 -0400)]
Rename string_date to mkdate and add incorporate common checks

14 years agoMove nodelay logic to the get_input read loop
Jonas Fonseca [Sat, 27 Mar 2010 14:14:37 +0000 (10:14 -0400)]
Move nodelay logic to the get_input read loop

14 years agoMark detached heads with [HEAD]; replace opt_head_rev with a struct ref
Jonas Fonseca [Sat, 27 Mar 2010 04:36:04 +0000 (00:36 -0400)]
Mark detached heads with [HEAD]; replace opt_head_rev with a struct ref

14 years agoopt_codeset is only use in main, so make it local
Jonas Fonseca [Fri, 26 Mar 2010 01:44:26 +0000 (21:44 -0400)]
opt_codeset is only use in main, so make it local

14 years agoMake utf8_length take opt_tab_size as a parameter
Jonas Fonseca [Wed, 24 Mar 2010 12:35:13 +0000 (08:35 -0400)]
Make utf8_length take opt_tab_size as a parameter

14 years agoRemove line_graphic enum
Jonas Fonseca [Wed, 24 Mar 2010 12:47:42 +0000 (08:47 -0400)]
Remove line_graphic enum

14 years agoSilence warning about unused computed value
Jonas Fonseca [Tue, 23 Mar 2010 01:58:30 +0000 (21:58 -0400)]
Silence warning about unused computed value

14 years agoUpdate copyrights
Jonas Fonseca [Sat, 23 Jan 2010 17:10:27 +0000 (12:10 -0500)]
Update copyrights

14 years agoOnly draw dates with non-zero seconds
Jonas Fonseca [Sun, 20 Dec 2009 04:11:12 +0000 (23:11 -0500)]
Only draw dates with non-zero seconds

14 years agoFix the display of relative date by storing the time zone information
Jonas Fonseca [Sun, 20 Dec 2009 04:07:26 +0000 (23:07 -0500)]
Fix the display of relative date by storing the time zone information

14 years agoFix author abbreviation to handle multi-byte and multi-column characters
Jonas Fonseca [Thu, 17 Dec 2009 01:39:35 +0000 (20:39 -0500)]
Fix author abbreviation to handle multi-byte and multi-column characters

14 years agoUse FALSE marco instead of C++ false value
Jonas Fonseca [Tue, 15 Dec 2009 16:57:20 +0000 (11:57 -0500)]
Use FALSE marco instead of C++ false value

14 years agoprepare_update_file: assume file is relative to root directory
Jonas Fonseca [Tue, 15 Dec 2009 15:43:17 +0000 (10:43 -0500)]
prepare_update_file: assume file is relative to root directory

14 years agoStatus view: limit untracked file by the prefix/subdirectory
Jonas Fonseca [Tue, 15 Dec 2009 15:40:41 +0000 (10:40 -0500)]
Status view: limit untracked file by the prefix/subdirectory

This reinstates the original behavior reverted in commit
e7d0ebc0ec190e3a07fc28a2f551426e34a1ee6e.

14 years agoopen_editor: always open path relative to the repository root directory
Jonas Fonseca [Tue, 15 Dec 2009 15:39:57 +0000 (10:39 -0500)]
open_editor: always open path relative to the repository root directory

14 years agoget_author_initials: improve and fix to not read outside of name string
Jonas Fonseca [Tue, 15 Dec 2009 15:32:21 +0000 (10:32 -0500)]
get_author_initials: improve and fix to not read outside of name string

Added FIXME about multi-byte and multi-column characters.

14 years agoAbbreviation of author names is now configurable and toggleable
Jonas Fonseca [Tue, 15 Dec 2009 03:01:59 +0000 (22:01 -0500)]
Abbreviation of author names is now configurable and toggleable

14 years agoRefactor format variable lookup and expansion
Jonas Fonseca [Mon, 14 Dec 2009 16:18:31 +0000 (11:18 -0500)]
Refactor format variable lookup and expansion

14 years agoOops, fix enum_equals
Jonas Fonseca [Mon, 14 Dec 2009 22:06:19 +0000 (17:06 -0500)]
Oops, fix enum_equals

14 years agoMake return value of string_date const
Jonas Fonseca [Sun, 13 Dec 2009 20:59:45 +0000 (15:59 -0500)]
Make return value of string_date const

14 years agoSimplify enum name comparison with enum_equals macro
Jonas Fonseca [Sun, 13 Dec 2009 20:11:17 +0000 (15:11 -0500)]
Simplify enum name comparison with enum_equals macro

14 years agoDefine date values in DATE_INFO macro
Jonas Fonseca [Fri, 11 Dec 2009 23:26:25 +0000 (18:26 -0500)]
Define date values in DATE_INFO macro

14 years agoRefactor toggle_date_option into a generic enum_map based toggler
Jonas Fonseca [Fri, 11 Dec 2009 22:52:47 +0000 (17:52 -0500)]
Refactor toggle_date_option into a generic enum_map based toggler

14 years agoIntroduce parse_enum and use it to parse the show-date option
Jonas Fonseca [Fri, 11 Dec 2009 22:50:38 +0000 (17:50 -0500)]
Introduce parse_enum and use it to parse the show-date option

14 years agoRefactor help_name into enum_name
Jonas Fonseca [Fri, 11 Dec 2009 22:42:41 +0000 (17:42 -0500)]
Refactor help_name into enum_name

14 years agoFix parsing of boolean show-date values
Jonas Fonseca [Fri, 11 Dec 2009 22:13:37 +0000 (17:13 -0500)]
Fix parsing of boolean show-date values

It was broken during the introduction of relative dates.

14 years agotoggle_date_option: use passed date argument instead of opt_date
Jonas Fonseca [Fri, 11 Dec 2009 22:06:37 +0000 (17:06 -0500)]
toggle_date_option: use passed date argument instead of opt_date

14 years agoFix usage of the status view from a sub directory
Jonas Fonseca [Fri, 11 Dec 2009 22:03:17 +0000 (17:03 -0500)]
Fix usage of the status view from a sub directory

14 years agoEncode everything internally as UTF-8
Jonas Fonseca [Wed, 18 Feb 2009 22:14:56 +0000 (23:14 +0100)]
Encode everything internally as UTF-8

Store all strings internally as UTF-8 and convert them when they are
displayed if the locale is non-UTF-8. Improve the install documentation
related to proper support for UTF-8 via ncursesw.

15 years agoBranch view: support browsing --all branches
Jonas Fonseca [Fri, 27 Nov 2009 12:41:38 +0000 (07:41 -0500)]
Branch view: support browsing --all branches

15 years agoCleanup bluring of the previous view's title bar
Jonas Fonseca [Fri, 27 Nov 2009 12:37:48 +0000 (07:37 -0500)]
Cleanup bluring of the previous view's title bar

15 years agoforeach_ref: make ref argument const
Jonas Fonseca [Tue, 24 Nov 2009 03:20:34 +0000 (22:20 -0500)]
foreach_ref: make ref argument const

15 years agoStatus view: update the file variable when a line is selected
Jonas Fonseca [Tue, 24 Nov 2009 03:12:32 +0000 (22:12 -0500)]
Status view: update the file variable when a line is selected

... so %(file) works as expected.

15 years agoTODO: line wrapping
Jonas Fonseca [Sun, 22 Nov 2009 19:18:36 +0000 (14:18 -0500)]
TODO: line wrapping

Requested by Eskild Hustvedt.

15 years agoFix install-release-doc make rules to use origin/release
Jonas Fonseca [Sat, 21 Nov 2009 14:37:26 +0000 (09:37 -0500)]
Fix install-release-doc make rules to use origin/release

Thanks to bill lam for spotting this.

15 years agoAdd make rules to install documentation from the release branch
Jonas Fonseca [Sat, 21 Nov 2009 02:27:52 +0000 (21:27 -0500)]
Add make rules to install documentation from the release branch

15 years agotig-0.15
Jonas Fonseca [Fri, 20 Nov 2009 13:05:00 +0000 (08:05 -0500)]
tig-0.15

15 years agoMakefile: Fix typo in 157ebf54
Ingmar Vanhassel [Thu, 19 Nov 2009 15:50:34 +0000 (16:50 +0100)]
Makefile: Fix typo in 157ebf54

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
15 years agoStatus view: special case revert of unmerged entries with no physical file
Jonas Fonseca [Thu, 19 Nov 2009 03:02:45 +0000 (22:02 -0500)]
Status view: special case revert of unmerged entries with no physical file

15 years agoio_open: take path as a vararg format
Jonas Fonseca [Wed, 18 Nov 2009 04:01:21 +0000 (23:01 -0500)]
io_open: take path as a vararg format

15 years agorun_io_rd_dir: obsolete by switching call sites to run_io_rd_dir
Jonas Fonseca [Wed, 18 Nov 2009 03:49:05 +0000 (22:49 -0500)]
run_io_rd_dir: obsolete by switching call sites to run_io_rd_dir

15 years agorun_io_dir: take dir argument
Jonas Fonseca [Wed, 18 Nov 2009 03:48:53 +0000 (22:48 -0500)]
run_io_dir: take dir argument

15 years agobegin_update: simplify control flow
Jonas Fonseca [Wed, 18 Nov 2009 03:43:28 +0000 (22:43 -0500)]
begin_update: simplify control flow

15 years agoRemove build dependency on git from the configure script
Jonas Fonseca [Sat, 21 Feb 2009 12:04:10 +0000 (13:04 +0100)]
Remove build dependency on git from the configure script

15 years agotigmanual(7): provide the manual as a man page
Jonas Fonseca [Wed, 18 Nov 2009 03:25:49 +0000 (22:25 -0500)]
tigmanual(7): provide the manual as a man page

15 years agoUpdate asciidoc table syntax to the one supported by version 8.4.4
Jonas Fonseca [Wed, 18 Nov 2009 02:24:44 +0000 (21:24 -0500)]
Update asciidoc table syntax to the one supported by version 8.4.4

Also, fix README.html dependencies.

15 years agoNEWS: Improve bug fix description
Jonas Fonseca [Wed, 18 Nov 2009 02:24:25 +0000 (21:24 -0500)]
NEWS: Improve bug fix description

15 years agoFix loading of blame data when opened from the tree view
Jonas Fonseca [Tue, 17 Nov 2009 04:56:00 +0000 (23:56 -0500)]
Fix loading of blame data when opened from the tree view

... and CWD is a subdirectory (Debian bug 540766). Also, improve the
tree view to allow entering the parent directory.

15 years agoFix draw_date to not format anything when time arg is NULL
Jonas Fonseca [Tue, 17 Nov 2009 04:10:54 +0000 (23:10 -0500)]
Fix draw_date to not format anything when time arg is NULL

15 years agoFix whitespace
bill lam [Thu, 12 Nov 2009 03:02:42 +0000 (11:02 +0800)]
Fix whitespace

There is whitespaces on 2 of the original source line.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
15 years agoAdd support for displaying relative dates
Jonas Fonseca [Tue, 17 Feb 2009 11:32:51 +0000 (12:32 +0100)]
Add support for displaying relative dates

Also unifies all date formats to use the show-date option and the
toggle-date action.

15 years agoNEWS: Mention date-shorten feature
Jonas Fonseca [Wed, 11 Nov 2009 03:23:02 +0000 (22:23 -0500)]
NEWS: Mention date-shorten feature

15 years agoMerge remote branch 'samb/short-dates'
Jonas Fonseca [Wed, 11 Nov 2009 03:20:27 +0000 (22:20 -0500)]
Merge remote branch 'samb/short-dates'

15 years agoShow the active (instead of the default) keybindings in the help view
Jonas Fonseca [Mon, 9 Feb 2009 21:33:39 +0000 (22:33 +0100)]
Show the active (instead of the default) keybindings in the help view

Furthermore, honor the keymap when suggesting actions in the help
messages.

15 years agoAdd an option (and toggle) for shortening the date column by skipping the time.
Samuel Bronson [Wed, 12 Aug 2009 22:11:55 +0000 (18:11 -0400)]
Add an option (and toggle) for shortening the date column by skipping the time.

Signed-off-by: Samuel Bronson <naesten@gmail.com>
15 years agoBuild with asciidoc-8.4.5
Jonas Fonseca [Sat, 30 May 2009 02:41:11 +0000 (02:41 +0000)]
Build with asciidoc-8.4.5

This version seems to be stricter about presubs attributes:

asciidoc -aversion=0.14.1-28-gac66fdb -asysconfdir=/usr/local/etc -b docbook -d manpage tigrc.5.txt
ERROR: tigrc.5.txt: line 12: malformed presubs attribute: normal
ERROR: tigrc.5.txt: line 41: malformed presubs attribute: normal
ERROR: tigrc.5.txt: line 149: malformed presubs attribute: normal
ERROR: tigrc.5.txt: line 366: malformed presubs attribute: normal
make: *** [tigrc.5.xml] Error 1

Based on patch by Ingmar Vanhassel.

Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
15 years agoFixed some uninitialized variable warnings
Sebastian Harl [Fri, 3 Apr 2009 16:34:08 +0000 (18:34 +0200)]
Fixed some uninitialized variable warnings

GCC 4.3.3, when used with -Wall, emits warnings that those variables "may be
used uninitialized in this function".

Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
15 years agoAllow multiple text attributes for color commands
Jonas Fonseca [Mon, 13 Apr 2009 15:34:14 +0000 (17:34 +0200)]
Allow multiple text attributes for color commands

This also fixes lazy behavior so that setting the cursor color no longer
automatically sets the text to bold.

15 years agoRemove macros which are only used for default option values
Jonas Fonseca [Thu, 26 Feb 2009 15:04:02 +0000 (16:04 +0100)]
Remove macros which are only used for default option values

15 years agoMake height of split view configurable
Tilo Schwarz [Mon, 23 Feb 2009 22:24:03 +0000 (23:24 +0100)]
Make height of split view configurable

Signed-off-by: Tilo Schwarz <tilo@tilo-schwarz.de>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
15 years agoManual: document that :<number> jumps to the line number
Jonas Fonseca [Wed, 25 Feb 2009 14:53:26 +0000 (15:53 +0100)]
Manual: document that :<number> jumps to the line number

15 years agoFix memory allocation check in open_commit_parent_menu
Jonas Fonseca [Sun, 22 Feb 2009 17:58:25 +0000 (18:58 +0100)]
Fix memory allocation check in open_commit_parent_menu

The check was not converted when the code was moved to a separate
function before the commit. To test the menu using the tig repository
start tig using:

tig blame cf63d30cbc4efb2bb87e52c4e54366751bb958fa Makefile

Then go to line 80 (type ":80<enter>") and press the key for moving to
the parent (bound to ',' by default).

15 years agoUse menus with the commit subject to present selectable commit parents
Jonas Fonseca [Sun, 22 Feb 2009 00:31:09 +0000 (01:31 +0100)]
Use menus with the commit subject to present selectable commit parents

15 years agoAdd simple support for showing menues and use it for showing option menu
Jonas Fonseca [Sun, 22 Feb 2009 00:19:58 +0000 (01:19 +0100)]
Add simple support for showing menues and use it for showing option menu

The general goal is to have certain lesser used options not take up a
key for toggling.

15 years agoRestore the branch view position after refreshing
Jonas Fonseca [Sat, 21 Feb 2009 15:37:35 +0000 (16:37 +0100)]
Restore the branch view position after refreshing

15 years agoFix reloading of references to not cause access to freed memory
Jonas Fonseca [Sat, 21 Feb 2009 14:45:52 +0000 (15:45 +0100)]
Fix reloading of references to not cause access to freed memory

Make the allocation of refs stable across reloads (of either the main,
branch or log view) by changing the storage method and introducing a
struct ref_list to keep track of lists of references.

read_ref now always scans the already allocated refs. To speed this up
keep the list sorted and use binary search when inserting and updating.

15 years agoPredefined external command: git commit
Giuseppe Bilotta [Sat, 21 Feb 2009 00:28:41 +0000 (01:28 +0100)]
Predefined external command: git commit

Status view allows management of the stage area, and the user is likely
to issue a commit as soon as (s)he's satisfied with the result. Mapping
'git commit' to the 'C' key in status view makes this straightforward
and allows a very streamlined workflow from within git.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
15 years agoFix previous/next with branch+main view
Giuseppe Bilotta [Sat, 21 Feb 2009 01:07:33 +0000 (02:07 +0100)]
Fix previous/next with branch+main view

If the main view was opened as a child window of branch view, the
previous/next key would scroll the child window instead of the parent
one, which was not consistent with other dual-window situations.

Fix by checking for a branch+main too when delegating the request.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
15 years agoAdd support for sorting branch entries by name, date and author
Jonas Fonseca [Sat, 21 Feb 2009 01:34:56 +0000 (02:34 +0100)]
Add support for sorting branch entries by name, date and author

15 years agoAdd support for sorting tree entries by name, date or author
Jonas Fonseca [Sat, 21 Feb 2009 01:33:47 +0000 (02:33 +0100)]
Add support for sorting tree entries by name, date or author