tog/tog.c


Log

Author Commit Date CI Message
Stefan Sperling b03c880f 2019-05-21T13:47:20 fix handling of non-directories in change from previous commit
Stefan Sperling 941e9f74 2019-05-21T13:32:41 tog: if opened from log view, open tree view at path being logged
Stefan Sperling 19e70ad6 2019-05-14T16:33:38 make 'tog log' default to the current branch in a work tree
joshua stein a60a9dc4 2019-05-13T11:21:00 tog: implement ctrl+f/b for diff view, sync man page
joshua stein c3e9aa98 2019-05-13T11:14:46 tog: at eof in diff view, print (END) like less does
Stefan Sperling baf4288f 2019-05-13T12:52:57 tog: don't clear diff view contents when indicating diff progress this is much easier on the eyes when moving through diffs
Stefan Sperling 638f9024 2019-05-13T12:40:57 rename got_error_prefix_errno() to got_error_from_errno()
Stefan Sperling 6f10d58e 2019-05-12T16:07:35 be less clever: don't nest 'case' inside if (...) no functional change
joshua stein 00ba99a7 2019-05-12T10:22:32 tog: remove view_flash(), just stop when at first/last entries
joshua stein 87c7274c 2019-05-12T10:26:50 tog: space acts as enter
joshua stein a4292ac5 2019-05-12T10:25:37 tog: control+f and b for page down and up
joshua stein 1e37a5c2 2019-05-12T10:13:46 tog: align case statements with switch
Stefan Sperling 2f17228e 2019-05-11T21:18:39 lock branch reference file during 'got commit' to prevent a race
Stefan Sperling 1dd54920 2019-05-11T18:50:57 open the file index just once when adding multiple files
joshua stein 2af4a041 2019-05-11T16:21:20 got_error_set_errno: take a char arg to pass to got_error_prefix_errno $> got rm a got: : No such file or directory becomes $> got rm a got: /path/to/a: No such file or directory
joshua stein 230a42bd 2019-05-11T13:04:38 got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)
Stefan Sperling 3abe8080 2019-04-10T14:46:45 ensure tog's log thread always sets 'log_complete' flag on exit
Stefan Sperling c02c541e 2019-03-29T12:55:46 scan for git repository before applying unveil(2)
Stefan Sperling 70ac5f84 2019-03-29T06:49:25 more init fixes for ref lists in tog
Stefan Sperling a55555f2 2019-03-29T06:44:52 ensure that ref list is always initialized in tog's cmd_log()
Stefan Sperling 963f97a1 2019-03-18T17:16:32 make 'tog log' resolve paths just like 'got log' does it
Stefan Sperling 7143d404 2019-03-12T11:55:36 make 'got log' and 'tog log' skip revs in the got/ namespace
Stefan Sperling e2e879a0 2019-03-11T16:58:21 introduce got_ref_list_free() and use it in got and tog
Stefan Sperling 5813d178 2019-03-09T13:46:39 dynamically adjust length of author column in tog log view
Stefan Sperling 711bb132 2019-03-09T13:26:10 show author's email handle instead of full name in tog log view
Stefan Sperling 17020d27 2019-03-07T13:33:23 make tog show command-specific usage if command is used wrongly
Stefan Sperling ec142235 2019-03-07T13:06:01 unveil worktree in cmd_log() for tog as well
Stefan Sperling 67ceb59d 2019-03-03T11:34:53 revert 718516bdb5ed72e3efabaeced654c82fa43b33ec; broke 'tog blame'
Stefan Sperling b51189f7 2019-03-01T13:05:29 always show selected commit in tog log view
Stefan Sperling 5e37ffca 2019-02-25T16:48:56 fix scrolling-up regression in tog tree view
Stefan Sperling 718516bd 2019-02-25T10:45:47 fix TABs causing line display overflow in tog format_line()
Stefan Sperling 34bc9ec9 2019-02-22T13:02:48 make tog flash a view when it cannot scroll further
Stefan Sperling f5215bb9 2019-02-22T12:25:11 make 'tog diff' show a progress message while generating diffs
Stefan Sperling 8a42fca8 2019-02-22T11:39:44 fix trigger_log_thread() would run forever in case the thread had an error
Stefan Sperling 6e73b0d6 2019-02-22T11:34:16 only load commits if necessary when switching commits in diff view
Stefan Sperling 08ebd0a9 2019-02-22T11:24:36 enable commit pre-fetching in tog log view again; this is faster
Stefan Sperling 359bfafd 2019-02-22T11:19:48 do fast ncurses refresh while log thread is loading commits
Stefan Sperling 5e224a3e 2019-02-22T11:16:25 reliably switch to next commit in tog diff view; don't lose key presses
Stefan Sperling c0faa76d 2019-02-22T10:51:46 remove hack; was based on wrong assumption (see d7a045384f72c50b)
Stefan Sperling ca9338a5 2019-02-22T02:24:01 remove unused function argument
Stefan Sperling 7aafa0d1 2019-02-22T02:05:06 better interactivity while loading commits in tog log view
Stefan Sperling 5e756114 2019-02-22T01:39:32 tog: it's enough to refresh the screen just once when fetching commits
Stefan Sperling 8745e607 2019-02-22T01:38:45 tog: don't ask log thread for too many commits in scroll_down()
Stefan Sperling 512d0df1 2019-02-22T01:23:10 append dots to tog blame's "annotating" progress message
Stefan Sperling b295e71b 2019-02-22T01:16:31 make tog log view's "loading..." message show up again
Stefan Sperling f633507b 2019-02-22T00:47:09 tog: disable arbitrary commit pre-fetching in scroll_down()
Stefan Sperling 8b473291 2019-02-22T00:14:57 make tog show reference names in log and diff views
Stefan Sperling ed2c5ac2 2019-02-22T00:03:51 tog: don't try to load more commits in scroll_down() if log is done
Stefan Sperling 0311546b 2019-02-21T22:30:00 tog: fix commit object leak in set_selected_commit()
Stefan Sperling d7a04538 2019-02-21T22:27:16 tog: don't assume log view has the parent commit in set_selected_commit()
Stefan Sperling 7226d972 2019-02-21T22:20:06 tog: better thread synchronization in scroll_down()
Stefan Sperling bc6aae89 2019-02-21T22:13:12 tog: don't keep loading more commits in scroll_down()
Stefan Sperling 6524637e 2019-02-21T21:44:49 fix log and child diff view selection out of sync when scrolling up
Stefan Sperling 5c123d7e 2019-02-21T21:42:10 make tog's diff view commit selection keys also work in log view
Stefan Sperling fb872ab2 2019-02-21T21:36:44 make tog log view and child diff view stay in sync
Stefan Sperling 88048b54 2019-02-21T15:50:41 fix tog bug where log view didn't scroll while loading commits
Stefan Sperling 15a087fe 2019-02-21T15:34:18 in tog, allow moving between commit diffs with a single key press
Stefan Sperling fb43ecf1 2019-02-11T11:59:09 check for errors from fclose()
Stefan Sperling cbe7f848 2019-02-11T11:35:55 check for fflush() errors
Stefan Sperling d8355ef1 2019-02-10T15:44:12 make 'tog tree' identify executable files
Stefan Sperling eb41ed75 2019-02-05T19:08:41 make 'tog blame' function in a work tree
Stefan Sperling a915003a 2019-02-05T18:51:59 delay initialization of curses in tog until after usage()
Stefan Sperling 52185f70 2019-02-05T18:49:05 make 'tog tree' function in a work tree
Stefan Sperling b7165be3 2019-02-05T18:44:17 make 'tog log' function in a work tree
Stefan Sperling 289e3cbf 2019-02-04T10:53:04 set CTYPE locale category only; leave others in "C" locale
Stefan Sperling 67cc7991 2019-01-24T23:07:05 improve tog tree view page-up scrolling behaviour
Stefan Sperling bf979164 2019-01-24T22:46:51 fix scroll-up skipping over first displayed entry in tog tree view
Stefan Sperling 416a95c5 2019-01-24T22:41:28 remove unused field from struct tog_tree_view_state
Stefan Sperling 768394f3 2019-01-24T22:40:23 fix page-down in tog tree view moves cursor beyond last item
Stefan Sperling 46f0028c 2019-01-24T20:41:39 tog: simplify loop condition in tree_scroll_down()
Stefan Sperling 5d56da81 2019-01-13T17:15:53 happy new copyright year
Stefan Sperling 3e9926ea 2019-01-04T18:40:22 fix diffing of blamed commit in 'tog blame'
Stefan Sperling f12d0dbe 2019-01-04T18:34:21 whitespace
Stefan Sperling 92205607 2019-01-04T17:43:04 plug leaks in error path of tog blame
Stefan Sperling d188b9a6 2019-01-04T17:42:43 apply unveil(2) to 'tog tree'
Stefan Sperling 8e94dd5b 2019-01-04T17:41:30 apply unveil(2) to 'tog blame'
Stefan Sperling eb6600df 2019-01-04T17:40:37 apply unveil(2) to 'tog diff'
Stefan Sperling c2db6724 2019-01-04T17:39:24 apply unveil(2) to 'tog log'
Stefan Sperling 4acef5ee 2018-12-24T22:26:29 fix crash in tog when diffing a root commit
Stefan Sperling 54156555 2018-12-24T10:58:32 undo commit timestamps next to paths in diffs; they are redundant
Stefan Sperling adacb96f 2018-12-24T10:39:46 show commit timestamps in diff headers
Stefan Sperling c1124f18 2018-12-24T00:12:33 don't show a colon after 'commit' in tog
Stefan Sperling 15a94983 2018-12-23T14:48:47 remove struct got_object from public library API
Stefan Sperling 57670559 2018-12-23T14:13:45 prevent crash in error path via tog's stop_blame()
Stefan Sperling 45d799e2 2018-12-23T12:10:27 make commit objects opaque in the library's API
Stefan Sperling 56765ebb 2018-12-23T11:37:47 remove colon from diff header
Stefan Sperling abd2672a 2018-12-23T11:36:31 move commit header printing in diffs out of the library
Stefan Sperling 6fcac457 2018-11-19T10:05:28 store number of lines in int instead of size_t
Stefan Sperling 51c68690 2018-11-07T04:54:29 make tog always focus a diff view opened from blame view
Stefan Sperling 55566b34 2018-11-05T16:49:23 make tog always focus a diff view opened from log view
Stefan Sperling ccb26ccd 2018-11-05T16:16:35 avoid a call to mktime() in commit graph's add_node()
Stefan Sperling 79fcf3e4 2018-11-04T21:20:17 fix build with PROFILE=1
Stefan Sperling 8a0ead39 2018-11-03T12:27:16 fix stuck cursor on page-up in tog's tree view
Stefan Sperling 2b380cc8 2018-10-24T13:43:13 delay creation of secondary threads in tog until view is shown
Stefan Sperling fed7eaa8 2018-10-24T13:40:00 always select the new view in tog's view loop
Stefan Sperling f7013a22 2018-10-24T13:33:36 add missing error check in tog's input_log_view()
Stefan Sperling f41eceb0 2018-10-24T12:04:26 prevent dead view from being re-used in tog's view_loop
Stefan Sperling 25791caa 2018-10-24T11:50:14 fix crashes in tog when terminal is resized
Stefan Sperling a6d7eb8d 2018-10-24T11:27:28 in tog, check return code of replace_panel()
Stefan Sperling 00338a04 2018-10-24T10:46:19 remove remaining calls into ncurses from secondary tog threads