tog/tog.c


Log

Author Commit Date CI Message
Stefan Sperling 1a76625f 2018-10-22T21:36:39 make 'tog log' use background thread and introduce global mutex
Stefan Sperling 4a8520aa 2018-10-18T22:32:17 use a constant for max diff context size
Stefan Sperling 6e3e5d9c 2018-10-18T15:35:24 fix a NULL deref in tog
Stefan Sperling 0996b108 2018-10-18T12:47:24 remove '[' and ']' key bindings from tog log
Stefan Sperling 48ae06ee 2018-10-18T12:19:34 allow changing amount of context lines in tog diff view
Stefan Sperling df2871d2 2018-10-18T11:45:20 make amount of diff context configurable at API level
Stefan Sperling 5c60c32a 2018-10-18T11:29:42 switch between full- and splitscreen when window size changes
Stefan Sperling 86c66b02 2018-10-18T11:11:12 allow only one parent view per type in tog
Stefan Sperling 669b5ffa 2018-10-07T14:32:50 switch tog's view model to a one-parent/one-child model
Stefan Sperling 3f6f7423 2018-10-07T12:15:40 remove dead code from tog
Stefan Sperling a020b724 2018-10-07T12:08:37 remove unused fields from struct tog_view
Stefan Sperling b7f284cf 2018-10-07T11:49:47 fix inverted default in tog's view_needs_focus_indication()
Stefan Sperling bfddd0d9 2018-09-29T19:48:19 focus diff view when it comes up in fullscreen
Stefan Sperling a81bf10d 2018-09-29T19:43:27 quit all tog views upon quit with initial view in focus
Stefan Sperling 878940b7 2018-09-29T19:40:09 try an alternative approach to updating tog sibling views
Stefan Sperling 0cf4efb1 2018-09-29T19:01:00 tweak view organization in tog; add a fullscreen toggle
Stefan Sperling 1004088d 2018-09-29T16:24:13 revert previous; non-top panels can be focussed
Stefan Sperling 7eaae967 2018-09-29T15:56:14 track tog view focus via panel stack instead of a custom flag
Stefan Sperling 38fe7374 2018-09-29T15:12:40 rename tog's show_commit() to open_diff_view_for_commit()
Stefan Sperling 2a4718d3 2018-09-29T15:10:29 make tog's show_commit() more generic
Stefan Sperling c1fea1f8 2018-09-29T15:08:08 rename tog's update_diff_child_view() and make it more generic
Stefan Sperling 6484ec90 2018-09-29T14:20:27 fix a use after free in tog tree view
Stefan Sperling 5036bf37 2018-09-24T12:24:07 allow moving to parent directory in tog log view
Stefan Sperling 7837eeac 2018-09-24T12:01:49 make 'tog tree' navigate to parent with backspace key again
Stefan Sperling 93e45b7c 2018-09-24T11:57:04 use commit graph for path filtering in 'tog log'
Stefan Sperling ae73d513 2018-09-24T10:53:16 only allow one tog view per type
Stefan Sperling 38ce06e0 2018-09-24T10:48:21 use ~ instead of backspace for cycling views backwards in tog
Stefan Sperling 31cedeaf 2018-09-15T19:42:15 add path filtering support to commit graph
Stefan Sperling 27d434c2 2018-09-15T13:52:06 replace got_object_open_by_path() with got_object_id_by_path()
Stefan Sperling 6402fb3c 2018-09-15T13:21:51 change got_object_get_id() semantics; avoids pointless allocations
Stefan Sperling f6861a81 2018-09-13T23:48:14 display file paths in diffs instead of blob SHA1s
Stefan Sperling 3c1f04f1 2018-09-13T10:16:45 fix infinite loop when tog displays wide characters
Stefan Sperling ad242220 2018-09-08T16:40:28 implement fork+exec (and by the way, fix the build...)
Stefan Sperling 786292d9 2018-09-02T15:39:29 fix tog focus indication with backspace key
Stefan Sperling a3404814 2018-09-02T15:37:08 add visual indication of view focus in tog
Stefan Sperling 7e1e2c14 2018-09-02T15:18:14 detect errors from tog's view_close() in view_loop()
Stefan Sperling 89864818 2018-09-02T15:16:13 close all child views when closing a view in tog's view_loop()
Stefan Sperling e04a980e 2018-09-02T14:52:33 fix f8405c929e03f5dbe8ed41ede81cba7fad2d4a65: don't change current view
Stefan Sperling 61804a0e 2018-09-02T14:27:24 fix double-free in tog's draw_file
Stefan Sperling d90f59bf 2018-09-02T13:50:40 revert changes which were committed by accident in previous
Stefan Sperling 317b96e7 2018-09-02T13:49:45 remove redundant update_panels() calls in tog
Stefan Sperling f8405c92 2018-09-02T13:45:01 fix tog use-after-free via stale view->parent pointer
Stefan Sperling 1a57306a 2018-09-02T13:33:21 draw vertical borders between tog parent and child views
Stefan Sperling bcbd79e2 2018-08-19T14:52:36 link tog log view and child diff views together
Stefan Sperling 4d8c2215 2018-08-19T13:04:19 missing 'static'
Stefan Sperling dd04dd3f 2018-08-19T12:59:01 make tog use vertical split-screen if there's enough room
Stefan Sperling 268ae8f5 2018-08-18T13:27:50 add a todo comment
Stefan Sperling 31607d6c 2018-08-18T13:27:14 allow backspace to cycle views backwards in tog
Stefan Sperling e4197bf9 2018-08-18T13:00:22 allow quitting all open tog views at once with Q
Stefan Sperling 48fcc512 2018-08-18T12:58:37 allow switching between open tog views with TAB
Stefan Sperling e5a0f69f 2018-08-18T12:43:23 restructure tog so there's a single event loop managing views
Stefan Sperling 1bfa490b 2018-08-18T10:57:30 move init code from show_log_view to open_log_view
Stefan Sperling e9424729 2018-08-04T17:36:15 move struct tog_blame into blame view state
Stefan Sperling fb2756b9 2018-08-04T16:59:12 use shorter name for tog view state pointer and re-wrap lines
Stefan Sperling ad80ab7b 2018-08-04T16:50:59 split tog's tree view into open/show/close functions
Stefan Sperling 7cbe629d 2018-08-04T16:17:26 split tog's blame view into open/show/close functions
Stefan Sperling 4fc679ca 2018-08-04T15:48:45 knf
Stefan Sperling c90732a0 2018-08-04T15:47:36 use local pointer variable to access diff view state
Stefan Sperling 4d7951a5 2018-08-04T15:45:29 use local pointer variables to access log view state
Stefan Sperling b01e7d3b 2018-08-04T15:37:59 de-anonymize type-specific tog view state strucures
Stefan Sperling ba4f502b 2018-08-04T15:36:08 split tog's show_log_view into open/show/close view functions
Stefan Sperling 5dc9f4bc 2018-08-04T15:11:49 split tog's show_diff_view into open/show/close view functions
Stefan Sperling 6acd1bd1 2018-08-04T14:56:52 rename tog's show_view to view_show
Stefan Sperling 96a765a8 2018-08-04T14:56:07 rename tog's close_view to view_close
Stefan Sperling b3665f43 2018-08-04T14:55:34 rename tog's open_view to view_open
Stefan Sperling d6b05b5b 2018-08-04T14:54:35 keep track of view types in tog
Stefan Sperling 69069811 2018-08-02T11:11:53 move tog blame's repo-path parameter to -r option
Stefan Sperling c3ba6f36 2018-08-01T14:49:57 don't show the root path in tog log view header
Stefan Sperling cdf1ee82 2018-08-01T14:00:01 introduce a helper function to show tog views
Stefan Sperling 77a567dd 2018-08-01T13:11:57 replace panel after changing a view's window size
Stefan Sperling c70c5802 2018-08-01T12:36:11 wrap overlong lines in tog.c
Stefan Sperling 6d0fee91 2018-08-01T12:30:32 propagate tog window resize events across all active views
Stefan Sperling 5221c383 2018-08-01T12:13:36 make tog's show_tree_view() accept a pre-defined view
Stefan Sperling e1cd8fed 2018-08-01T12:09:36 make tog's show_blame_view() accept a pre-defined view
Stefan Sperling 04cc582a 2018-08-01T12:06:02 make tog's show_log_view() accept a pre-defined view
Stefan Sperling a41d2007 2018-08-01T12:02:30 handle errors from view_resize() in tog
Stefan Sperling 7e5c1fe1 2018-08-01T11:59:51 support window resizing in tog blame view
Stefan Sperling 82357c0a 2018-08-01T11:55:12 support window resizing in tog diff view
Stefan Sperling f7d12f7e 2018-08-01T11:52:52 use tog view's nlines and ncols instead of LINES and COLS
Stefan Sperling 207b9029 2018-08-01T11:24:58 store correct window dimensions for full-screen views
Stefan Sperling 97ddc146 2018-08-01T11:21:42 store window dimensions in tog view data structure
Stefan Sperling 842167bf 2018-08-01T11:18:27 make open_view() window size configurable
Stefan Sperling cc3c9aac 2018-08-01T11:16:37 make tog's tree view data structure non-global
Stefan Sperling 7cc84d77 2018-08-01T11:14:38 make tog's blame view data structure non-global
Stefan Sperling 2814baeb 2018-08-01T11:06:52 make tog's log view data structure non-global
Stefan Sperling ea5e7bb5 2018-08-01T11:01:20 make tog's diff view data structure non-global
Stefan Sperling c8f60bff 2018-07-23T18:22:45 fix leaks in tog's queue_commits()
Stefan Sperling 75c32340 2018-07-23T18:14:52 free the correct commit id in 'tog blame'
Stefan Sperling c2f16475 2018-07-23T18:09:18 fix leaks in queue_commits()
Stefan Sperling e0d42f60 2018-07-22T13:34:59 fix display of selected commit id in tog log view header
Stefan Sperling 034e3b69 2018-07-22T13:24:35 simplify selection of first entry to display in log view
Stefan Sperling c9beca56 2018-07-22T12:43:13 tog's blame_thread needs to hold mutex while closing repo
Stefan Sperling 69efd4c4 2018-07-18T09:57:07 allow entering log view from tree view
Stefan Sperling a7f40148 2018-07-18T09:39:14 make draw_commits() fetch more commits if necessary
Stefan Sperling 03943eb2 2018-07-18T09:34:28 ncurses does not return ERR with errno == EINTR; don't expect it
Stefan Sperling 55198a88 2018-07-16T18:00:51 fix tog crash with window resize and scrolling
Stefan Sperling ecb28ae0 2018-07-16T16:10:58 allow filtering history by path in tog log
Stefan Sperling 2550e4c3 2018-07-13T11:42:02 fix memory leaks in tog display code
Stefan Sperling 9328d2ed 2018-07-13T10:15:35 make tog blame thread close its repo when done
Stefan Sperling 14437fb1 2018-07-13T10:04:13 in tog blame, set corret pointer to NULL after object close