tog/tog.c


Log

Author Commit Date CI Message
Stefan Sperling 91b8c405 2020-01-25T11:41:24 tweak default colors for directories and symlinks in 'tog tree'
Martin Pieuchot b55e96cf 2020-01-19T14:35:58 Remove redundant error check after got_object_id_by_path(). An error code is always returned when the oid is NULL.
Martin Pieuchot a93813fa 2020-01-19T14:18:07 Remove double lock in error path.
Martin Pieuchot 6b8a2b8f 2020-01-19T13:46:59 Remove unnecessary pthread_yield(3). In the two cases a context switch isn't necessary as the thread isn't blocked and doesn't need to wait for its sibling.
Stefan Sperling 71a27632 2020-01-15T19:26:49 move match_object_id() into the library; supersedes got_repo_resolve_commit_arg
Stefan Sperling 7a1d6b72 2020-01-15T19:10:46 fix 'tog log -c' with tags
Stefan Sperling 61266923 2020-01-14T18:44:19 fix suspending and resuming tog with Ctrl-Z and fg; issue reported by naddy@
Stefan Sperling f13374f4 2020-01-14T14:28:08 fix 'tog tree' usage displayed in error case (patch by naddy@)
Stefan Sperling 6586ea88 2020-01-13T16:12:32 unbreak got and tog commands by disabling GNU extensions in getopt_long(3)
Stefan Sperling e801a566 2020-01-13T16:01:04 update usage
Stefan Sperling 83cd27f8 2020-01-13T15:59:47 make got and tog accept a --version argument; -V option is a bit obscure prompted by a question from tedu@
Stefan Sperling c5b78334 2020-01-12T20:40:31 make 'tog log PATH' fail again when a non-existent path is specified
Stefan Sperling 33cbf02b 2020-01-12T17:10:45 fix switching to tog's tree view when logging a path; reported by naddy@
Stefan Sperling 5aa81393 2020-01-06T19:38:23 add copyright year for files already touched in 2020
Stefan Sperling 3d509237 2020-01-04T18:25:28 simplify got_commit_graph_open()
Stefan Sperling ee780d5c 2020-01-04T15:44:13 remove GOT_ERR_ITER_NEED_MORE; the commit graph now fetches internally instead
Stefan Sperling 6db9f7f6 2019-12-10T11:42:22 always show numeric dates in ISO-8601/xkcd-1179 format ok millert tracey sthen
Stefan Sperling 56e0773d 2019-11-28T02:32:58 convert tree entries from SIMPLEQ to an array
Stefan Sperling dee2c213 2019-11-13T10:49:06 fix tog display issue caused by Tab in commit messages; reported by mpi@
Stefan Sperling 52e88aae 2019-11-08T19:52:37 use less empty padding space after author name in 'tog log'
Stefan Sperling 11b20872 2019-11-08T14:28:58 add colors for 'tog log' and 'tog blame'
Stefan Sperling bddb1296 2019-11-08T13:51:18 more s/line_color/color/g in tog
Stefan Sperling f26dddb7 2019-11-08T13:50:01 rename tog_line_color to just tog_color
Stefan Sperling 1d7fe5cd 2019-11-08T13:47:51 support the terminal's "default" color in tog color schemes
Stefan Sperling c0b01bdb 2019-11-08T13:41:11 add color support to 'tog tree'
Stefan Sperling 7169caa2 2019-11-08T13:15:38 mark a tog-internal function as static
Stefan Sperling 6d17833f 2019-11-08T13:10:36 add color support to 'tog diff'
Stefan Sperling 6570a66d 2019-11-08T11:18:29 make 'tog log' show abbreviated commit IDs if the window is large enough suggested by landry@
Stefan Sperling 9ba1d308 2019-10-21T09:11:19 always show the input path when realpath(3) returns an error
Stefan Sperling 7ca04879 2019-10-19T11:06:47 fix a tog log view performance bug when lots of commits are loaded
Stefan Sperling 13add988 2019-10-15T11:12:56 fix interlocking between tog log and man threads during search
Stefan Sperling 63035f9f 2019-10-06T19:24:31 add -w (ignore whitespace) option to 'got diff'
Stefan Sperling 50284065 2019-10-04T15:09:09 fix bogus error return introduced in previous commit
Stefan Sperling e6b23735 2019-10-04T15:01:59 update reference list when 'tog log' view is refreshed with Ctrl+L
Stefan Sperling 1cae65b4 2019-09-22T15:27:48 missing error checks in tog(1); found by jj@ with scan-build
Hiltjo Posthuma e10c916e 2019-09-15T13:53:41 change "calloc" to "strdup" for strdup() NULL return value
Stefan Sperling 27a741e5 2019-09-11T17:29:21 tog: fix cosmetic display issues involving \n and TABs
Stefan Sperling c9956ddf 2019-09-08T18:13:54 use author name/email from ~/.gitconfig if GOT_AUTHOR is not set
Stefan Sperling 239f6369 2019-09-08T13:07:54 fix line-wrap for lines spanning the terminal in tog diff view
Stefan Sperling 12314ad4 2019-08-31T09:38:14 make 'tog blame' release its work tree lock before the main loop
Stefan Sperling 2fc00ff4 2019-08-31T09:34:36 make 'tog log' release its work tree lock before the main loop
Hiltjo Posthuma fd9f4a2d 2019-08-28T18:45:16 tog: mbs2ws: fix sizeof of element for memory allocation
Stefan Sperling 63c5ca5d 2019-08-24T20:56:15 detect and ignore Git submodules
Stefan Sperling b8bad2ba 2019-08-23T20:01:06 make 'got tag -l' list tags by time stamp in descending order
Stefan Sperling 29606af7 2019-08-23T18:42:27 allow got_ref_list() to restrict returned refs to a particular namespace
Stefan Sperling fc06ba56 2019-08-22T12:07:56 support blame cancellation in 'tog blame' view
Stefan Sperling 6fb7cd11 2019-08-22T11:33:50 add cancellation support to commit graph and 'got blame'
Stefan Sperling e6209546 2019-08-22T11:12:24 untie cancel callback declaration from the work tree
Stefan Sperling 7d049c18 2019-08-22T00:42:19 tog: fix search prompt location in split-screen view
Stefan Sperling 51fe7530 2019-08-19T11:53:01 have tog blame refresh display more often while annotation is in progress
Stefan Sperling b02560ec 2019-08-19T09:54:52 fix number of lines accounted for during blame
Stefan Sperling 0d8ff7d5 2019-08-15T00:15:32 rename got_blame_incremental() to got_blame()
Stefan Sperling 09867e48 2019-08-13T17:01:23 properly parse timestamps in commit objects as UTC (patch by Hiltjo Posthuma)
Stefan Sperling 5943eee2 2019-08-13T16:58:34 strip Git GPG signatures from log messages
Stefan Sperling 5d844a1e 2019-08-13T15:41:46 don't attempt to parse Git's "leightweight" tags as real tag objects
Stefan Sperling 52b5abe1 2019-08-13T10:21:12 make 'tog log' display tags in addition to branch references
Stefan Sperling 848d6979 2019-08-12T13:43:17 annotate symlinks with @ in 'got tree' and 'tog tree'
Stefan Sperling 8d0fe45a 2019-08-12T11:31:27 fix crashes in tog when blame returns no results on a file fix for underlying blame bug still pending...
Stefan Sperling 83ce39e3 2019-08-12T10:58:33 tog: plug memory leak in blame_tree_entry()
Stefan Sperling c4843652 2019-08-12T10:55:58 fix double-free when blame view is closed in error path; found by otto@
Stefan Sperling d264cece 2019-08-12T10:50:32 make tog's log thread bail out upon SIGPIPE; I don't fully grok which thread will see these signals; somebody please page Mr. Posix
Stefan Sperling 963ecf2a 2019-08-12T09:31:52 don't let a pthread mutex unlock error mask other errors in tog
Stefan Sperling 83baff54 2019-08-12T09:28:12 let tog catch SIGPIPE; might help fix unclean exit issue reported by Artturi
Stefan Sperling b9d7675a 2019-08-11T20:24:29 wrap over-long line
Stefan Sperling a1fbf39a 2019-08-11T20:22:30 make "tog log" respect -r argument; from semarie@
Stefan Sperling a0de39f3 2019-08-09T11:56:24 fix build on OpenBSD/sparc64 (gcc)
Stefan Sperling ef129c5e 2019-08-03T12:10:12 tog: plug memleaks in error paths of input_log_view()
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