Commit graph

  • 7137196788 Add comments in tests to explain what they test Stefan Haller 2025-04-30 17:31:10 +02:00
  • fb3d99a8ce Change switchTabsWithPanelJumpKeys default to true Alexandre Pereira 2025-04-26 10:30:26 +01:00
  • 78aea3cdf6
    Merge 74457305f1 into 66caa25dcd riyueguang 2025-04-29 16:01:06 +01:00
  • 66caa25dcd
    Reduce memory consumption of graph (pipe sets) (#4498) v0.50.0 Stefan Haller 2025-04-29 14:59:42 +02:00
  • 6ca627d9d7 Store fromPos/toPos as 16-bit ints, and reorder fields for better packing Stefan Haller 2025-04-19 13:27:50 +02:00
  • e63abf89db Store TextStyle in Pipe struct as pointer Stefan Haller 2025-04-18 22:35:04 +02:00
  • 28aa26f30a Store Pipe objects by value in slice of Pipes Stefan Haller 2025-04-16 20:22:39 +02:00
  • 18e5b0a650 Simplify equalHashes Stefan Haller 2025-04-19 18:16:59 +02:00
  • 13c21365c0 Store fromHash/toHash in Pipe struct as pointers Stefan Haller 2025-04-15 14:57:40 +02:00
  • 8d834e2eab Pack the models.Commit struct a little tighter Stefan Haller 2025-04-19 18:26:08 +02:00
  • 722cc85508 Store Commit.Parents in the pool too Stefan Haller 2025-04-19 17:34:53 +02:00
  • 0f1f455edb Make Commit.Parents a getter for an unexported parents field Stefan Haller 2025-04-26 19:58:03 +02:00
  • e27bc15bbd Store Commit.Hash by pointer (kept in a pool of hashes) Stefan Haller 2025-04-19 16:29:36 +02:00
  • 1037371a44 Make Commit.Hash a getter for an unexported hash field Stefan Haller 2025-04-24 09:13:40 +02:00
  • 97aa7a04e6 Rewrite generateCommits to avoid write access to commit.Parents Stefan Haller 2025-04-26 16:02:49 +02:00
  • 5844ec6eb2 Cleanup: use IsMerge instead of counting Parents Stefan Haller 2025-04-26 16:00:59 +02:00
  • cb0c8f39bf Simplify code and fix comment Stefan Haller 2025-04-26 20:51:53 +02:00
  • 5b109b2dd6 Fix confusing variable name Stefan Haller 2025-04-24 08:28:57 +02:00
  • 9d202cf9ea Remove unused function Stefan Haller 2025-04-15 10:33:14 +02:00
  • 4cfa6e0c98 Modernize benchmarks Stefan Haller 2025-04-18 21:30:24 +02:00
  • 14eb4c29ca Bump git-todo-parser Stefan Haller 2025-04-29 14:55:10 +02:00
  • d87bdaf94d
    fix wording of random tip (#4488) Stefan Haller 2025-04-29 14:17:22 +02:00
  • 80e2e76f60 fix wording of random tip dawe 2025-04-15 22:34:39 +02:00
  • 2b4ccbf853 WIP After going straight to patch building from main view, esc goes all the way back out use-delta-hyperlinks-for-clicking-in-diff Stefan Haller 2025-03-29 16:52:55 +01:00
  • a7a0606548 Press enter in main view of commits panel to enter patch building for clicked line Stefan Haller 2024-10-11 16:44:59 +02:00
  • 1abc026caa Extract some functions from CommitFilesController to a new CommitFilesHelper Stefan Haller 2024-10-11 18:09:17 +02:00
  • f0b49eba71 Press enter in main view of files/commitFiles to enter staging/patch-building Stefan Haller 2024-09-16 20:38:22 +02:00
  • 4cf8d11783 Select line that is in the middle of the screen Stefan Haller 2025-03-25 15:01:16 +01:00
  • d8d8634e5e Press enter in focused main view when user config is on Stefan Haller 2025-04-01 23:03:55 +02:00
  • e76f1d6c1f Add user config gui.showSelectionInFocusedMainView Stefan Haller 2025-04-01 16:14:10 +02:00
  • 5f149e2d07 [gocui] Add PreviousX/PreviousY to ViewMouseBindingOpts Stefan Haller 2025-03-26 13:08:45 +01:00
  • 153d0558b4 [gocui] Fix FocusPoint when Wrap is true Stefan Haller 2024-12-08 13:10:25 +01:00
  • 326e7e8716
    Strip the '+' and '-' characters when copying parts of a diff to the clipboard (#4519) Stefan Haller 2025-04-29 11:35:52 +02:00
  • 159bbb0825 Strip the '+' and '-' characters when copying parts of a diff to the clipboard Stefan Haller 2025-04-27 12:02:56 +02:00
  • ac9b830bf1
    Remove double space between rebase todo and author columns (#4520) Stefan Haller 2025-04-29 11:32:36 +02:00
  • 6402c830d5 Remove space after rebase todo Stefan Haller 2025-04-27 21:34:24 +02:00
  • 3ff1be0788
    Disallow creating custom patches when the diff context size is 0 (#4522) Stefan Haller 2025-04-29 11:30:11 +02:00
  • 0496e3af50 Disallow creating custom patches when the diff context size is 0 Stefan Haller 2025-04-29 10:21:18 +02:00
  • 005318cbb2 Fix git apply error during applying custom patch Chen Linxuan 2025-04-29 10:29:39 +08:00
  • bb64e3ccb6
    Fix nvim-remote commands for fish shell (#4506) Stefan Haller 2025-04-27 20:14:40 +02:00
  • 4d0eaea6fc Fix nvim-remote commands for fish shell SavingFrame 2025-04-23 12:24:18 +02:00
  • 8bbfd4b9b9
    Fix race condition when starting several command tasks in quick succession (#4518) Stefan Haller 2025-04-27 10:53:34 +02:00
  • 3302a090f9 Fix race condition when starting several command tasks in quick succession Stefan Haller 2025-04-27 10:48:43 +02:00
  • 829aa3c6af
    Allow closing issues via github actions (#4515) Jesse Duffield 2025-04-26 14:46:16 +10:00
  • b353d2a55a Allow closing issues via github actions Jesse Duffield 2025-04-26 14:36:05 +10:00
  • 2b43f5b592
    Add Debian installation instructions alongside Ubuntu (#4501) Jesse Duffield 2025-04-23 19:51:02 +10:00
  • 9e90d5ee62 Add Debian installation instructions alongside Ubuntu Jongmin Kim 2025-04-22 13:27:04 +09:00
  • 7c2063c7a9
    Allow changing diff context size and rename threshold when main view is focused (#4505) Stefan Haller 2025-04-23 11:26:21 +02:00
  • da24deb881 Allow changing diff context size and rename threshold when main view is focused Stefan Haller 2025-04-23 08:27:33 +02:00
  • 7ae66cb107
    Merge 160508e14b into aa68885215 FOSSMan 2025-04-22 13:09:28 +09:00
  • c2e89a0278
    Merge 8533f5a2a5 into aa68885215 Dario Griffo 2025-04-22 13:06:55 +09:00
  • 87ab75ae68
    Split long lines exceeding 512 characters in docs and i18n Jongmin Kim 2025-04-22 12:29:37 +09:00
  • 409cc9fd79
    Merge 8eb75859e4 into aa68885215 Aleksei Larkov 2025-04-21 18:58:24 +00:00
  • aa68885215
    Add new command "Move commits to new branch" (#3876) Stefan Haller 2025-04-21 18:14:54 +02:00
  • f65166ae91 Update config docs and schema Stefan Haller 2025-04-01 13:52:12 +02:00
  • 30868eead8 Add new command "Move commits to new branch" Stefan Haller 2024-08-30 12:27:50 +02:00
  • 4bf11eae4b Add free-standing function IsWorkingTreeDirty Stefan Haller 2024-08-30 14:25:23 +02:00
  • 9d88d6a44e Remove MergeAndRebaseHelper's dependency on RefsHelper Stefan Haller 2025-04-02 15:01:52 +02:00
  • 483195110a Use Model().Branches[0] instead of refsHelper.GetCheckedOutRef() in MergeAndRebaseHelper Stefan Haller 2025-04-02 14:59:32 +02:00
  • ecc70f4764 Cleanup: remove unnecessary indirection Stefan Haller 2025-04-02 14:50:53 +02:00
  • bd1e34b39d
    Auto-forward main branches after fetching (#4493) Stefan Haller 2025-04-21 18:08:36 +02:00
  • 7495854243 Add a breaking changes hint for the new auto-forward behavior Stefan Haller 2025-04-18 14:58:06 +02:00
  • eaaa937315 Add config for auto-forwarding branches after fetching Stefan Haller 2025-04-18 14:02:11 +02:00
  • 2174762315 Inline fetchAux into call site Stefan Haller 2025-04-17 19:46:41 +02:00
  • 3577808a14 Remove double Refresh Stefan Haller 2025-04-17 19:44:34 +02:00
  • e4362eea60
    Focus the main view (#4429) Stefan Haller 2025-04-21 18:05:38 +02:00
  • 4e21a096b9 Re-render focused main view on refresh if needed Stefan Haller 2025-03-26 14:39:44 +01:00
  • 98e4cb733f Allow clicking in the respective other main view to switch focus to it Stefan Haller 2025-03-26 13:43:19 +01:00
  • fbb8b2e17e Allow clicking in focused main view to go to staging Stefan Haller 2025-03-26 12:39:39 +01:00
  • acfa024915 Allow clicking in main view to focus it Stefan Haller 2025-03-25 16:40:28 +01:00
  • 338064ac2c Read all lines from task when starting to search Stefan Haller 2025-04-03 17:18:57 +02:00
  • ec51efc82c Make the main view searchable Stefan Haller 2025-03-25 14:33:24 +01:00
  • 2b399a3c36 Read all lines from task when jumping to bottom Stefan Haller 2025-03-25 15:17:56 +01:00
  • 60887eddd0 Use readLines channel only for command tasks Stefan Haller 2025-04-02 12:11:38 +02:00
  • 7b17f33e9e Add navigation keybindings to focused main view Stefan Haller 2025-03-25 14:12:21 +01:00
  • fa35f661d9 Update keybindings, config docs, and schema Stefan Haller 2025-03-26 16:21:50 +01:00
  • 1a93b2324b Allow focussing the main view Stefan Haller 2025-03-25 14:11:52 +01:00
  • b7b7c65999 Add class MainContext Stefan Haller 2025-03-25 14:31:03 +01:00
  • 2a2705dcc3 Always render diffs to the main/secondary context pair, even for files Stefan Haller 2025-03-25 12:30:08 +01:00
  • 7b96615792 Add IGuiCommon.GetViewBufferManagerForView Stefan Haller 2025-04-03 18:00:13 +02:00
  • b97dd6bc3f Remove utils.Clamp, use lo.Clamp instead Stefan Haller 2024-10-15 15:28:33 +02:00
  • 6c0ee7df2b Bump gocui Stefan Haller 2025-04-21 18:03:11 +02:00
  • 548d486aee
    Section headers for rebase todos and actual commits (#4463) Stefan Haller 2025-04-20 16:09:40 +02:00
  • 74054c9d70 Remove the "YOU ARE HERE" marker Stefan Haller 2025-04-05 13:43:50 +02:00
  • 6cbc1e0ace Add section headers for rebase todos, cherry-picks, reverts, and actual commits Stefan Haller 2025-04-04 18:26:33 +02:00
  • 98c19feccf Add new commit status StatusCherryPickingOrReverting Stefan Haller 2025-04-05 11:05:46 +02:00
  • e90a3dc666 Fix view selection running out of sync with list selection when view isn't focused Stefan Haller 2025-04-06 11:35:45 +02:00
  • 0dab37a631
    Allow reverting a range of commits (#4444) Stefan Haller 2025-04-20 16:05:27 +02:00
  • 945b023eb5 Support range selection for reverting commits Stefan Haller 2025-03-30 13:16:07 +02:00
  • 1c91999f61 Inline afterRevertCommit Stefan Haller 2025-03-30 19:16:29 +02:00
  • f14a3cdd46 Remove the "Select parent commit" prompt when reverting a merge commit Stefan Haller 2025-03-30 11:54:40 +02:00
  • c13c6356e3
    Use "git cherry-pick" for implementing copy/paste of commits (#4443) Stefan Haller 2025-04-20 16:02:51 +02:00
  • 108054efc6 Allow cherry-picking merge commits Stefan Haller 2024-06-21 10:19:10 +02:00
  • 27825eba9e Remove unused cherry-picking code in daemon Stefan Haller 2024-06-18 19:34:29 +02:00
  • 4b35434eba Use "git cherry-pick" for implementing copy/paste of commits Stefan Haller 2024-06-18 19:32:27 +02:00
  • 05b3ae9524 Reference original commits in CherryPicking mode instead of synthesizing new ones Stefan Haller 2024-10-08 17:46:54 +02:00
  • b7d01d67a6
    Show todo items for pending cherry-picks and reverts (#4442) Stefan Haller 2025-04-20 15:58:54 +02:00
  • b350876f84 Disallow any changes to commits or todos when cherry-picking or reverting Stefan Haller 2024-06-18 18:01:14 +02:00
  • 5ba8d42c80 Fix the bug described in the previous commit Stefan Haller 2024-06-14 14:36:31 +02:00
  • 9b88052a4e Add test demonstrating problem with revert (or cherry-pick) during a rebase Stefan Haller 2024-06-14 13:23:12 +02:00