Jonas Fonseca [Mon, 4 Sep 2006 23:28:14 +0000 (01:28 +0200)]
Add .gitignore file
Jonas Fonseca [Sun, 3 Sep 2006 20:00:55 +0000 (22:00 +0200)]
prompt: make ':show <id>' use the diff view
Being able to have the same diff open twice is not very useful.
Jonas Fonseca [Sun, 3 Sep 2006 19:38:58 +0000 (21:38 +0200)]
Add support for converting from git encoding to locale encoding
Jonas Fonseca [Sun, 3 Sep 2006 12:50:23 +0000 (14:50 +0200)]
Pass --root to git-show so the diff command will show the initial commit
Jonas Fonseca [Tue, 22 Aug 2006 22:12:57 +0000 (00:12 +0200)]
Silence stderr for all view commands
When quickly scrolling through commits with the split diff view, they was
spewing 'Broken pipe' messages onto the screen.
Jonas Fonseca [Tue, 22 Aug 2006 22:05:06 +0000 (00:05 +0200)]
Improve handling of 'bogus' author lines
If no author name is in the ident line fall-back to use the author email.
Set to "Unknown" if neither is found.
Jonas Fonseca [Mon, 24 Jul 2006 21:41:33 +0000 (23:41 +0200)]
Create directories during make install
"In install there should be also mkdir -p $(DESTDIR)$(bindir)." --witekfl.
Jonas Fonseca [Mon, 24 Jul 2006 21:35:41 +0000 (23:35 +0200)]
Check the value returned by fopen() during display initialization
12:12 < kahmalo> Opening /dev/tty may fail; what does newterm do then?
20:15 < Miciah> fonseca: You always gotta check the return value of fopen. Silly head.
Jonas Fonseca [Wed, 12 Jul 2006 20:40:09 +0000 (22:40 +0200)]
No need to use --stat for the default TIG_MAIN_CMD
My plans to use it to add special categorization/highlighting to commits
never became interesting. Now the complete history of the grafted ELinks'
repo loads in 4 seconds instead of some 240 seconds.
Jonas Fonseca [Wed, 12 Jul 2006 20:35:22 +0000 (22:35 +0200)]
tig-0.4.git
A little late updating of the VERSION symbol.
Jonas Fonseca [Wed, 12 Jul 2006 20:31:20 +0000 (22:31 +0200)]
Merge with ssh://brok.diku.dk/~/tig
Jonas Fonseca [Wed, 12 Jul 2006 20:29:12 +0000 (22:29 +0200)]
tigrc(5): Fix keybinding headers
Jonas Fonseca [Wed, 14 Jun 2006 23:53:08 +0000 (01:53 +0200)]
Use docbook to build manual.pdf; clean *.xml files
Jonas Fonseca [Wed, 14 Jun 2006 23:26:01 +0000 (01:26 +0200)]
Add sync-docs rule to update docs in the release branch
Jonas Fonseca [Wed, 14 Jun 2006 23:13:52 +0000 (01:13 +0200)]
Manual: fix page up keys
Jonas Fonseca [Wed, 14 Jun 2006 23:01:26 +0000 (01:01 +0200)]
Add manual link to SITES; improve/fix SEE ALSO sections
Jonas Fonseca [Wed, 14 Jun 2006 21:28:19 +0000 (23:28 +0200)]
CSS fix: s/monospaced/monospace/
Jonas Fonseca [Wed, 14 Jun 2006 21:26:06 +0000 (23:26 +0200)]
Use tables for the listing of default keybindings
Jonas Fonseca [Wed, 14 Jun 2006 20:28:10 +0000 (22:28 +0200)]
Documentation update
Brings tigrc(5) into sync. A small fix in INSTALL.
Jonas Fonseca [Wed, 14 Jun 2006 20:27:44 +0000 (22:27 +0200)]
Add "Hash" key name mapped to "#"; Don't use ";" as a comment character
Jonas Fonseca [Wed, 14 Jun 2006 19:38:03 +0000 (21:38 +0200)]
Allow strings to be enclosed in either ' or "
So now you can use both:
set commit-encoding = "UTF-8"
set commit-encoding = 'UTF-8'
set commit-encoding = UTF-8
Jonas Fonseca [Sat, 10 Jun 2006 22:49:17 +0000 (00:49 +0200)]
Make prompt use internal user input reader
This allows it to be used while loading. Also, it will make it possible to
support more advanced editing facilities like history, completion etc.
needed for future search support at least.
It's still very primitive ...
Jonas Fonseca [Fri, 9 Jun 2006 11:15:07 +0000 (13:15 +0200)]
Merge with ssh://diku/~/tig
Jonas Fonseca [Fri, 9 Jun 2006 00:08:28 +0000 (02:08 +0200)]
Config: improve error reporting and do a few cleanups and simplifications
Jonas Fonseca [Thu, 8 Jun 2006 13:30:12 +0000 (15:30 +0200)]
Rename "encoding" option to "commit-encoding"
Jonas Fonseca [Thu, 8 Jun 2006 02:33:07 +0000 (04:33 +0200)]
Install HTML files into $(prefix)/share/doc/tig
Jonas Fonseca [Thu, 8 Jun 2006 02:32:00 +0000 (04:32 +0200)]
Add ToC to the tig manual
Jonas Fonseca [Thu, 8 Jun 2006 01:57:55 +0000 (03:57 +0200)]
Misc doc improvements
Jonas Fonseca [Thu, 8 Jun 2006 00:03:16 +0000 (02:03 +0200)]
Add support for keybindings
The syntax is
bind <keymap> <key> <request>
Keybindings are resolved by first looking in the keymap of the active view,
then in the generic keymap, and finally in the built-in default keybindings.
Examples to put in ~/.tigrc:
bind main w scroll-line-up
bind main s scroll-line-down
bind diff a previous
bind diff d next
bind diff b move-first-line
bind generic g view-next
Jonas Fonseca [Wed, 7 Jun 2006 23:52:50 +0000 (01:52 +0200)]
Rename keymap to keybinding, get_request to get_keybinding
Jonas Fonseca [Wed, 7 Jun 2006 22:14:43 +0000 (00:14 +0200)]
Add default configuration file
Jonas Fonseca [Wed, 7 Jun 2006 22:05:55 +0000 (00:05 +0200)]
Add special string comparer for gracefully parsing ~/.tigrc identifiers
Jonas Fonseca [Wed, 7 Jun 2006 00:07:47 +0000 (02:07 +0200)]
Establish "Open view" section
Jonas Fonseca [Wed, 7 Jun 2006 00:06:01 +0000 (02:06 +0200)]
Rename load_help_page to open_help_view and move it up
Also use view->ops->read() instead of pager_read().
Jonas Fonseca [Tue, 6 Jun 2006 23:55:10 +0000 (01:55 +0200)]
Move keybinding stuff up after line stuff
Jonas Fonseca [Tue, 6 Jun 2006 23:49:51 +0000 (01:49 +0200)]
Support set command in ~/.tigrc; allows a few options to be configured
Jonas Fonseca [Tue, 6 Jun 2006 23:15:46 +0000 (01:15 +0200)]
Simplify the option value tokenization by doing it one place
Jonas Fonseca [Tue, 6 Jun 2006 22:43:24 +0000 (00:43 +0200)]
Factor out set_option_color from set_option
Jonas Fonseca [Tue, 6 Jun 2006 22:26:27 +0000 (00:26 +0200)]
Make declaration of die() specify the __NORETURN attribute
Avoids warnings with gcc 3.3.5.
Jonas Fonseca [Tue, 6 Jun 2006 11:35:25 +0000 (13:35 +0200)]
Improve error reporting for unknown options
It will now also show usage help.
Jonas Fonseca [Mon, 5 Jun 2006 22:29:22 +0000 (00:29 +0200)]
Add feature request for showing nearest branch heads or tags for a commit
Requested by Junio.
Junio C Hamano [Mon, 5 Jun 2006 00:11:05 +0000 (02:11 +0200)]
Makefile: make customization of installation locations easier
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Jonas F Madsen <fonseca@diku.dk>
Jonas Fonseca [Sun, 4 Jun 2006 00:46:30 +0000 (02:46 +0200)]
Make the view title show percentage shown like less
The cursor position is already summoned up as "line x of X".
Jonas Fonseca [Sat, 3 Jun 2006 23:53:32 +0000 (01:53 +0200)]
Implement the basic controlling of revision graph visualization
It is toggleable via 'g', on by default, and restricted to max being 19
chars wide. Note, it still only shows just the left tee.
Jonas Fonseca [Sat, 3 Jun 2006 22:41:38 +0000 (00:41 +0200)]
Add strip rule
Jonas Fonseca [Thu, 1 Jun 2006 02:48:32 +0000 (04:48 +0200)]
Don't begin any update for the built-in help page
Jonas Fonseca [Thu, 1 Jun 2006 02:12:48 +0000 (04:12 +0200)]
More color and attribute maps closer to the users
Jonas Fonseca [Thu, 1 Jun 2006 02:08:44 +0000 (04:08 +0200)]
Simplify detection of tag commits via ^{}
Jonas Fonseca [Thu, 1 Jun 2006 02:05:02 +0000 (04:05 +0200)]
Minor tidyup
Jonas Fonseca [Thu, 1 Jun 2006 01:36:35 +0000 (03:36 +0200)]
Generalize the option parsing
Jonas Fonseca [Thu, 1 Jun 2006 00:16:16 +0000 (02:16 +0200)]
Move tig(1) material to tig.1.txt
Jonas Fonseca [Wed, 31 May 2006 23:41:52 +0000 (01:41 +0200)]
Jonas Fonseca [Wed, 31 May 2006 23:37:30 +0000 (01:37 +0200)]
Remove prev arg to view->ops->read()
Jonas Fonseca [Wed, 31 May 2006 21:16:38 +0000 (23:16 +0200)]
Wrap all snprintf usage to simplify error handling
Jonas Fonseca [Wed, 31 May 2006 20:47:46 +0000 (22:47 +0200)]
Add support for showing tags and other repo refs in the diff and log view
Jonas Fonseca [Wed, 31 May 2006 20:14:34 +0000 (22:14 +0200)]
Refactor view->line reallocation
Jonas Fonseca [Wed, 31 May 2006 19:07:13 +0000 (21:07 +0200)]
Make 'h' and '?' show built-in key binding quick reference
Jonas Fonseca [Tue, 30 May 2006 23:04:36 +0000 (01:04 +0200)]
Rename documentation build rules using s/docs/doc/; more like git
Jonas Fonseca [Tue, 30 May 2006 13:23:19 +0000 (15:23 +0200)]
Add COPYING file
Jonas Fonseca [Mon, 29 May 2006 21:29:38 +0000 (23:29 +0200)]
Fix segfault where current_view would become >= sizeof(display)
Hard code current_view indexes for split screen setup.
Reported-by: Dennis (dst_) on #git
Jonas Fonseca [Mon, 29 May 2006 19:37:24 +0000 (21:37 +0200)]
Remove SITES title so it is more adaptive to where it is included
Jonas Fonseca [Mon, 29 May 2006 19:36:57 +0000 (21:36 +0200)]
Split out manual material to separate file
Jonas Fonseca [Mon, 29 May 2006 01:27:36 +0000 (03:27 +0200)]
List SITES in tig(1)
Jonas Fonseca [Mon, 29 May 2006 01:25:43 +0000 (03:25 +0200)]
Move stuff to SITES and INSTALL files
Jonas Fonseca [Mon, 29 May 2006 01:19:16 +0000 (03:19 +0200)]
Move stuff to BUGS and TODO files; only show BUGS in tig(1)
Jonas Fonseca [Mon, 29 May 2006 01:15:20 +0000 (03:15 +0200)]
Move ~/.tigrc documentation into it's own man page, tigrc(5)
Jonas Fonseca [Mon, 29 May 2006 01:01:27 +0000 (03:01 +0200)]
Use ~/.tigrc for user configuration rather than ~/.tig
Jonas Fonseca [Sun, 28 May 2006 21:51:48 +0000 (23:51 +0200)]
Add TODO about keybinding cheat sheet
Requested by gitster on IRC.
Jonas Fonseca [Sun, 28 May 2006 18:59:31 +0000 (20:59 +0200)]
Emit more informative error messages when loading ~/.tig
Jonas Fonseca [Sun, 28 May 2006 18:19:32 +0000 (20:19 +0200)]
Only touch the option strings if necessary
Jonas Fonseca [Sun, 28 May 2006 18:11:47 +0000 (20:11 +0200)]
Improve color documentation
Jonas Fonseca [Sun, 28 May 2006 14:38:32 +0000 (16:38 +0200)]
Add support for setting color options in the ~/.tig user configuration file
Now you can put stuff like this in ~/.tig:
# Diff colors
color diff-header yellow default
color diff-index blue default
color diff-chunk magenta default
# UI colors
color title-blur white blue
color title-focus white blue bold
Jonas Fonseca [Sun, 28 May 2006 03:23:52 +0000 (05:23 +0200)]
Make read_properties take several separator characters; chomp name & value
This concludes the fundation for using read_properties to read options from
a config file.
Jonas Fonseca [Sun, 28 May 2006 02:36:34 +0000 (04:36 +0200)]
Oops, fix short help wrt tab size short option
Jonas Fonseca [Sun, 28 May 2006 02:29:45 +0000 (04:29 +0200)]
Rename repo config loaders using s/config/repo_config/
load_config -> load_repo_config
read_config_option -> read_repo_config_option
Jonas Fonseca [Sun, 28 May 2006 02:19:46 +0000 (04:19 +0200)]
Make read_properties() take FILE *pipe instead of command line
Jonas Fonseca [Sun, 28 May 2006 02:19:08 +0000 (04:19 +0200)]
Document the loading time displayed in the title window after 3 seconds
Jonas Fonseca [Sun, 28 May 2006 01:55:31 +0000 (03:55 +0200)]
Make the stop all loading request stop all loading
Jonas Fonseca [Sun, 28 May 2006 01:51:53 +0000 (03:51 +0200)]
Notify that the prompt is unusable while loading
List it as a bug.
Jonas Fonseca [Sun, 28 May 2006 01:02:19 +0000 (03:02 +0200)]
Tab size short option changes from -t to -b
Jonas Fonseca [Sat, 27 May 2006 22:58:04 +0000 (00:58 +0200)]
Minor usability fix: when closing never switch to an already closed view
Jonas Fonseca [Sat, 27 May 2006 21:21:28 +0000 (23:21 +0200)]
"View commands" section becomes "History commands".
Jonas Fonseca [Fri, 26 May 2006 21:47:23 +0000 (23:47 +0200)]
License revisited: it's GPLv2 or later
Jonas Fonseca [Fri, 26 May 2006 20:26:32 +0000 (22:26 +0200)]
Fix off by one error; makes tags visible again
Fixes:
d0cea5f929be563d049bc5205fb8de08fd080c32
Jonas Fonseca [Fri, 26 May 2006 20:09:50 +0000 (22:09 +0200)]
When updating the title window, move the cursor to the end of line
This way the cursor (hopefully) won't feel so jumpy.
Jonas Fonseca [Fri, 26 May 2006 20:08:06 +0000 (22:08 +0200)]
Factor out cursor moving
Jonas Fonseca [Fri, 26 May 2006 19:12:43 +0000 (21:12 +0200)]
Make window switching smother; fix blurring of previous view when switching
Don't refresh after a resize, since it causes the previous content to be
shortly displayed. We now simply resize and clear and waits for the first
read to start displaying the new content.
Jonas Fonseca [Fri, 26 May 2006 18:02:01 +0000 (20:02 +0200)]
Never close backgrounded loads; only clear window when starting to update
Before windows was cleared each time open_view maximized for example the
main view when it was still loading.
Jonas Fonseca [Wed, 24 May 2006 22:41:53 +0000 (00:41 +0200)]
Only pass on properies with non-zero length names
Jonas Fonseca [Wed, 24 May 2006 21:57:52 +0000 (23:57 +0200)]
Refactor reading of properties from pipes
Jonas Fonseca [Wed, 24 May 2006 21:12:28 +0000 (23:12 +0200)]
Load config before parsing command line options so they can override
Jonas Fonseca [Wed, 24 May 2006 20:58:11 +0000 (22:58 +0200)]
Make UTF-8 handling optional but still default
Handling of output encoding still missing.
Jonas Fonseca [Wed, 24 May 2006 17:51:11 +0000 (19:51 +0200)]
Add support for loading repo config
Test it by storing i18n.commitencoding, soon to be uesd.
Jonas Fonseca [Wed, 24 May 2006 15:18:33 +0000 (17:18 +0200)]
Cleanup see also section
Jonas Fonseca [Wed, 24 May 2006 15:16:41 +0000 (17:16 +0200)]
Move env handling up below option handling
Jonas Fonseca [Wed, 24 May 2006 15:01:16 +0000 (17:01 +0200)]
Put license also in the program header
Jonas Fonseca [Wed, 24 May 2006 14:56:52 +0000 (16:56 +0200)]
Rearrange pager_enter logic
Jonas Fonseca [Wed, 24 May 2006 02:32:36 +0000 (04:32 +0200)]
Update README; set a less ugly font-family
Jonas Fonseca [Wed, 24 May 2006 01:23:43 +0000 (03:23 +0200)]
Introduce struct line and use it for view->line
Somewhat experimental. This will call get_line_type() on every read line.
Jonas Fonseca [Tue, 23 May 2006 22:29:24 +0000 (00:29 +0200)]
Improve title updating and remove flickering
- Show line info even if no lines has been loaded, so less has to be
redrawn.
- Don't make the view window one line bigger causing the title window
to be overwritten. This reinstates the bug in last line drawing.