summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-07-14Fix suspension capability when calling out to external commandsfix-restoring-from-suspendJonas Fonseca
Clear the terminal before calling out to an external command so the altscreen won't mess up any downstream subshell management. Restore terminal settings as per init_display when restoring. Reproducible with example from[0]: - Run `tig status` - Press 'e' to open Vim - Press Ctrl-Z to suspend Vim - Run `fg` - Quit Vim [0] https://github.com/jonas/tig/issues/232#issuecomment-313790438 Refs: #232
2017-07-14Fix #232: Do not generate any input when handling Ctrl-ZJonas Fonseca
Move the special case of Ctrl-Z introduced in 167d59ed1474e10ec3310fe7aa77314247332954 so no input is generated by get_input.
2017-07-11Ignore warning about unused variableJonas Fonseca
2017-07-11Improve the toggle option menuJonas Fonseca
Merge part of the incremental search branch and use it to improve the option menu by showing context info (number of options) to the right of the status window.
2017-07-11Update and fix wording in the NEWS fileJonas Fonseca
2017-07-11preload last search from historyRoland Walker
more specifically: preload last item from history and treat it as a search query
2017-07-10signal handler should be closest around readlineRoland Walker
2017-07-10independent throttle increment for each viewRoland Walker
2017-07-10clarify Shifted symbolic keys in newsRoland Walker
2017-07-10Fix assertionJonas Fonseca
2017-07-10Fix #590: Document limitation of staging chunk/linesJonas Fonseca
... when ignore-space is set to something other than "no".
2017-07-10Test diff stat parsingJonas Fonseca
Uses a new `:save-view` prompt command to dump internal view data to file.
2017-07-09Fix #527: set the reset display flag for line-graphicsJonas Fonseca
... to ensure that everything is repainted.
2017-07-09Add more closed issues to NEWSJonas Fonseca
2017-07-09Update NEWSJonas Fonseca
2017-07-09Make prompt_interrupted volatileJonas Fonseca
2017-07-09distinguish cancel and empty string at all promptsRoland Walker
Fixes #627 * maintain the distinction between null pointers and strings of length zero, representing canceled input and empty input, respectively * at the input boundary, capture the distinction by setting a flag in the readline signal handler * when configured --without-readline change the way read_prompt() calls read_prompt_incremental() to avoid regressions
2017-07-09allocate enough memory for finder items NUL termRoland Walker
2017-07-06erase status line at exit timeRoland Walker
for users without altscreen-capable terminals fixes #589
2017-07-06reduce flicker in file finder; avoid wclearRoland Walker
2017-07-06configurable truncation-delimiter w/ utf8 suggestRoland Walker
2017-07-06report_clear() efficiency plus clear after grepRoland Walker
2b384f69b introduced a performance regression due to use of wclear(), which dirties the entire screen. The core issue being addressed in 2b384f69b is that readline can leave an incorrect cursor position in virtual window newscr. So, explicitly reset the newscr cursor position post-readline, which enables switching to the much more efficient werase() for erasing the status area. Incidentally fix the missed case of report_clear() after a grep prompt.
2017-07-06allow Ctrl-C to terminate file-finder promptRoland Walker
2017-07-06set cursor coord when not updating prompt contentsRoland Walker
Sometimes offset can be -1, while it is also true that screen contents have changed. Example keystrokes: f<Down>, which enters the file-finder, moves the tig cursor, and leaves the terminal cursor out of place.
2017-07-06Add testing docs to GitBook and add ignore fileJonas Fonseca
2017-07-06Document problem of outdated system-wide tigrc files in HomebrewJonas Fonseca
Fixes #598
2017-07-05Fix reading from stdin for "tig show"Jonas Fonseca
The regression was introduced in 39acb5ab03a6e3b02eaeca6c9387301615e1524e when load_view was called unconditionally for diff views causing reading from stdin to be stopped via a reload.
2017-07-04remove needless checkRoland Walker
2017-07-04Merge pull request #639 from swegener/graph-speedupJonas Fonseca
Graph speedup
2017-07-04graph: Optimize initial and merge calculationSven Wegener
The initial and merge flags do not depend on any column-specific information, so calculate them only once. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2017-07-04graph: Speed up graph generation by interning idsSven Wegener
The graph generation is currently a pretty strcmp() intensive process. By interning strings and replacing the strcmp() invocations by simple pointer comparisons, the graph generation can be sped up by a factor of four in large repos. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2017-07-04enable scroll optimization for Terminal.app/Iterm2Roland Walker
2017-07-04enable Fn keys thru 19, and 6 shifted special keysRoland Walker
2017-07-04recast keybinding notes as bulletsRoland Walker
2017-07-04doc ScrollFwd/Back and abbreviate Fn keys as rangeRoland Walker
2017-07-04Add test for rendering emojisJonas Fonseca
2017-07-04raise maximum unicode codepointRoland Walker
2017-07-03Implement specialized report_clearJonas Fonseca
Fixes warning emitted by GCC when passing empty format string to printf annotated method: zero-length gnu_printf format string [-Wformat-zero-length]
2017-07-03expand tig variables in echo actionRoland Walker
2017-07-03Merge pull request #638 from swegener/graph-fixesJonas Fonseca
Fix graph display issues Fixes #419
2017-07-03Fix clearing of the status windowJonas Fonseca
Leaving a prompt with Ctrl-C was leaving artifacts such as ":^" on the screen. Fix report_clear to pass an empty string and use that to detect whether to call wclear. Possible fix for #623.
2017-07-03Merge branch 'hide-cursor' of https://github.com/rolandwalker/tigJonas Fonseca
2017-07-03let Ctrl-C exit Y/N and menu promptsRoland Walker
2017-07-03Merge pull request #629 from rolandwalker/max-line-when-stop-loadingJonas Fonseca
raise titlebar count to highest known item on stop-loading action
2017-07-03Merge pull request #634 from rolandwalker/quoted-argv-corruptionJonas Fonseca
don't read past end-of-string in quoted case of concat_argv
2017-07-03Merge pull request #641 from rolandwalker/tree-fake-cd-returnJonas Fonseca
fix back/parent in tree-view: single pop and return
2017-07-03hide cursor unless at textual promptRoland Walker
2017-07-03fix back/parent in tree-view: return after popRoland Walker
2017-07-02graph: Add ─┼ displaySven Wegener
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
2017-07-02graph: Add ─┤ displaySven Wegener
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>