tog/tog.c


Log

Author Commit Date CI Message
Stefan Sperling 53ccebc2 2019-07-30T14:54:05 add 'make release' target; programs now have a version number
Stefan Sperling 678cbce5 2019-07-28T13:10:25 allow aborting search in 'tog log' with backspace key
Stefan Sperling f2b6a97d 2019-07-15T19:06:05 allow branch names with tog log/blame/tree -c options
Stefan Sperling 37c06ea4 2019-07-15T16:31:19 link _p versions of libraries if PROFILE=1; hint from claudio
Stefan Sperling ce5b7c56 2019-07-09T12:49:08 make got/tog list commands if -h or an unknown command is provided
Stefan Sperling d70c3147 2019-07-09T12:01:28 tog: fix typo in error message
Stefan Sperling 3642c4c6 2019-07-09T10:55:36 tog: stop interpreting unknown commands as paths
Stefan Sperling 57b33b64 2019-07-08T18:58:35 fix thread synchronization during 'tog log' search; more speed-up
Stefan Sperling 96e2b566 2019-07-08T18:41:01 speed up search in 'tog log' while commits are still being loaded
Stefan Sperling dd88155e 2019-06-29T23:26:36 disambiguate abbreviated object IDs based on object type
Stefan Sperling e09a504c 2019-06-28T20:59:14 introduce support for abbreviated object IDs
Stefan Sperling 921be706 2019-06-28T12:23:58 fix segfault in error path of 'tog diff'
Stefan Sperling df0b3d8a 2019-06-28T12:13:59 allow matching commit IDs in 'tog log' search
Stefan Sperling bf0668dd 2019-06-26T09:44:51 tog log: remove 'r' key-binding; we might want to re-use it later
Stefan Sperling e3d2a5c6 2019-06-26T09:32:39 Bind reload in 'tog log' to Ctrl+l
Stefan Sperling d01904d4 2019-06-25T21:52:27 add 'r' command to tog log view
Stefan Sperling f801134a 2019-06-25T16:56:18 don't let search in 'tog log' wrap around to beginning/end of history
Stefan Sperling 2246482e 2019-06-25T12:27:42 make search actually work in 'tog blame'
Stefan Sperling ac66afb8 2019-06-24T22:37:52 fix endless loop in 'tog tree' if search has no match
Stefan Sperling f5daf9b1 2019-06-24T22:33:54 tog: make search pattern case-sensitive
Stefan Sperling 6c4c42e0 2019-06-24T22:28:11 implement search for 'tog blame'
Stefan Sperling 5e070240 2019-06-22T21:06:35 make default usage fit on one line; de-duplicates man page info
Stefan Sperling 7c32bd05 2019-06-22T20:51:28 implement search for got tree view
Stefan Sperling 2b49a8ae 2019-06-22T20:13:54 generalize tog's view_search_start()
Stefan Sperling 1803e47f 2019-06-22T20:07:53 move search regex to struct tog_view
Stefan Sperling 3c0b0fd4 2019-06-21T22:43:37 whitespace
Stefan Sperling bcf2df4d 2019-06-21T22:35:35 tog log search: assign matched entries in a more obvious way
Stefan Sperling 1144d21a 2019-06-21T22:34:21 don't skip top-most item when scrolling upwards in tog log
Stefan Sperling a2a0b31e 2019-06-21T13:25:47 remove stray nodelay() call in tog
Stefan Sperling b55df7bc 2019-06-21T12:30:48 start log search at currently selected commit
Stefan Sperling 20be8d96 2019-06-21T12:27:46 add missing case for tog log backward search
Stefan Sperling f2d4ba2a 2019-06-21T12:22:18 better regcomp flags for tog log search
Stefan Sperling b1bf1435 2019-06-21T11:59:28 implement backwards search in tog log view
Stefan Sperling ead14cbe 2019-06-21T11:41:49 fix performance of next search in tog log view
Stefan Sperling 60493ae3 2019-06-21T00:06:36 implement search in 'tog log'
Stefan Sperling 30f8fd5e 2019-06-04T21:25:23 tog: fix off-by-one which caused line-wrapping errors
Stefan Sperling 67409a31 2019-05-24T16:10:24 tog: if opening a tree view for a logged file, jump to that file
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