Remove trailing space; make cursed global static
Make -h and --help options ouput a help message
Bind '-' to PageUp; raises Mutt compatibility
Requested-by: Aneesh Kumar <aneesh.kumar@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Requested-by: Aneesh Kumar <aneesh.kumar@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Streamline version displaying and show built date
Make Enter in the main view switch to the split diff view
This way, holding down Enter will open the commit diff and start scrolling
much like Mutt behaves.
Requested-by: Aneesh Kumar <aneesh.kumar@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
This way, holding down Enter will open the commit diff and start scrolling
much like Mutt behaves.
Requested-by: Aneesh Kumar <aneesh.kumar@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Add preliminary support for UTF-8 handling in the main view
It is very simple but fixes the issue with unaligned drawing of the line
between the author and log title columns.
It is very simple but fixes the issue with unaligned drawing of the line
between the author and log title columns.
Add close view request; bound to 'q' by default
If only one view is open it will quit. More compatible with Mutt behavior.
Based on patch by Aneesh Kumar <aneesh.kumar@gmail.com>
If only one view is open it will quit. More compatible with Mutt behavior.
Based on patch by Aneesh Kumar <aneesh.kumar@gmail.com>
Bind quit to 'Q'
Add -Werror to the cc debug flags
Pressing Enter in the diff view will now scroll it one line down
Make tig more compatible with Mutt behavior.
Requested-by: Aneesh Kumar <aneesh.kumar@gmail.com>
Make tig more compatible with Mutt behavior.
Requested-by: Aneesh Kumar <aneesh.kumar@gmail.com>
Rearrange things in the start of the viewer
Bind 'b' to Page Up, and Space to Page Down
Makes tig more compatible with less and other pagers.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Makes tig more compatible with less and other pagers.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Make sense of the comment about view->win height
Group display functions at the bottom
Redraw the whole display after toggling line number
Minor documentation updates
Fix warnings
tig.c: In function 'sq_quote':
tig.c:190: warning: value computed is not used
tig.c:193: warning: value computed is not used
Signed-off-by: Sir Raorn <raorn@altlinux.ru>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
tig.c: In function 'sq_quote':
tig.c:190: warning: value computed is not used
tig.c:193: warning: value computed is not used
Signed-off-by: Sir Raorn <raorn@altlinux.ru>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Fix linking with --as-needed ld(1) option.
Signed-off-by: Sir Raorn <raorn@altlinux.ru>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Signed-off-by: Sir Raorn <raorn@altlinux.ru>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
Minor doc and coding style fixes
Mark quit() and die() __noreturn
Fixes tig.c|898| warning: 'steps' may be used uninitialized in this function
Fixes tig.c|898| warning: 'steps' may be used uninitialized in this function
Make some strings "const"
tig version 0.3
Minor documentation fixes; nothing from git-ls-remote means no git repo
After seeing Linus' mail further improve revision specification section
Make the last variables static
Fix File history section number
Minor fixes
Only tig(1) is required by the help view
Only set VERSION to git-describe if .git is available
Put documentation in a branch named release
You gotta have a README file
Document file history rev limiting
... and yet more doc ups
Check spelling
Further improve documentation
Lots of documentation improvements
Improve documentation; optional tab size; move up/down + enter req; fix wrapping
Only save commit tag refs; move line type info to view->ops; switch silently
Fix file mode diff header handling; fix repo refs
Add support for repository references
Oops, no need to #include <readline/readline>
Try to improve report("")
Implement support for terminal resizing
Take commands from the environment
Use --topo-order; fclose(stdin); space cleanup
Fix title in split view; scroll/move reporting; ...
Fix scrolling when current line is outside of splitted view
Support for show
Improve documentation
Fix ref navigation bug; make internal command line work; cleanups
Add support for pager view
Add support for git log / git diff options
Lots of small improvements
Meep
Lots of cleanups and improvements; speed up attr access
Heavy renaming and code recomposition
Lots of minor UI improvements
Lot's of cleanups and fixes
TODO's and TODON'T's ...
Primitive option parsing; rendering generalizations
Cleanup line matching
Started on the main view
Sync. Home/End seems to finally work.
Possible simplification
The pager is begining to work. :)
Exploration
Misc cleanups
Misc cleanups and improvements
Show root; blast raw diff lines
No binaries
Half working prototype
Initial commit