Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-07-23 | Better word wrap | Jesse Duffield | |
Word wrapping has been pretty bad so far so let's fix that. | |||
2023-07-19 | Add integration test for accordion mode | Jesse Duffield | |
2023-07-19 | Fix accordion issue | Jesse Duffield | |
This fixes the issue in accordion mode where the current line wasn't in the viewport upon focus. It doesn't perfectly fix it: the current line always appears at the top of the view. But it's good enough to cut a new release. The proper fix is to only focus the line after the view has had its height adjusted. | |||
2023-07-10 | Use an interface for tasks instead of a concrete struct | Jesse Duffield | |
By using an interface for tasks we can use a fake implementation in tests with extra methods | |||
2023-07-09 | Use first class task objects instead of global counter | Jesse Duffield | |
The global counter approach is easy to understand but it's brittle and depends on implicit behaviour that is not very discoverable. With a global counter, if any goroutine accidentally decrements the counter twice, we'll think lazygit is idle when it's actually busy. Likewise if a goroutine accidentally increments the counter twice we'll think lazygit is busy when it's actually idle. With the new approach we have a map of tasks where each task can either be busy or not. We create a new task and add it to the map when we spawn a worker goroutine (among other things) and we remove it once the task is done. The task can also be paused and continued for situations where we switch back and forth between running a program and asking for user input. In order for this to work with `git push` (and other commands that require credentials) we need to obtain the task from gocui when we create the worker goroutine, and then pass it along to the commands package to pause/continue the task as required. This is MUCH more discoverable than the old approach which just decremented and incremented the global counter from within the commands package, but it's at the cost of expanding some function signatures (arguably a good thing). Likewise, whenever you want to call WithWaitingStatus or WithLoaderPanel the callback will now have access to the task for pausing/ continuing. We only need to actually make use of this functionality in a couple of places so it's a high price to pay, but I don't know if I want to introduce a WithWaitingStatusTask and WithLoaderPanelTask function (open to suggestions). | |||
2023-07-08 | Bump gocui | Jesse Duffield | |
This includes new gocui logic for tracking busy/idle program state | |||
2023-07-03 | View filtering (#2680) | Jesse Duffield | |
2023-07-02 | Bump gocui | Jesse Duffield | |
2023-07-02 | Bump git-todo-parser | Gustavo Krieger | |
2023-06-01 | Add integration test for commit highlighting on focus | Jesse Duffield | |
A better refactor would be to allow matchers to assert against either a string or a slice of cells, so that I could have the same ergonomics that I have elsewhere, but this is a start. | |||
2023-05-30 | Merge pull request #2490 from ↵ | Jesse Duffield | |
jesseduffield/dependabot/go_modules/golang.org/x/net-0.7.0 | |||
2023-05-30 | Merge pull request #2508 from Ryooooooga/remove-jesseduffield-yaml | Jesse Duffield | |
2023-04-29 | Bump github.com/fsmiamoto/git-todo-parser to latest version | Stefan Haller | |
2023-04-24 | bump clipboard package for WSL support | Andre Mueller | |
2023-04-15 | Bump github.com/fsmiamoto/git-todo-parser to latest main version | Stefan Haller | |
2023-03-24 | remove old integration test recording code | Jesse Duffield | |
2023-03-19 | bump gocui to fix race condition | Jesse Duffield | |
2023-03-19 | Bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0 | dependabot[bot] | |
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220722155237-a158d28d115b to 0.7.0. - [Release notes](https://github.com/golang/net/releases) - [Commits](https://github.com/golang/net/commits/v0.7.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> | |||
2023-03-19 | Better escape code parsing (thanks to Ryooooooga) (#2514) | Jesse Duffield | |
2023-03-17 | build: remove `github.com/jesseduffield/yaml` package | Ryooooooga | |
2023-02-25 | Improve staging panel integration tests | Jesse Duffield | |
2023-02-21 | build: bump tcell version | Ryooooooga | |
2023-02-19 | show snapshot of lazygit when test fails for easier investigation | Jesse Duffield | |
2023-02-18 | bump gocui | Jesse Duffield | |
2023-01-06 | build: bump gocui | Ryooooooga | |
2022-12-20 | bump gocui | Jesse Duffield | |
2022-11-25 | bump gocui | Ryooooooga | |
2022-11-12 | Update go-git to handle negative refspecs | Lukasz Piatkowski | |
2022-10-18 | build: $ ./scripts/bump_gocui.sh | Ryooooooga | |
2022-10-15 | Use lazycore utils: Clamp and GetLazyRootDirectory | Gustavo Andrioli | |
2022-10-11 | update vendor directory | Jesse Duffield | |
2022-10-09 | use boxlayout from lazycore | Jesse Duffield | |
2022-10-03 | strip NUL bytes instead of replacing with space | Jesse Duffield | |
2022-10-02 | fix glitchy render of stale data when flicking through files and directories | Jesse Duffield | |
2022-10-02 | bump gocui | Jesse Duffield | |
2022-09-23 | build: $ ./scripts/bump_gocui.sh | Ryooooooga | |
2022-09-16 | various changes to improve integration tests | Jesse Duffield | |
2022-08-15 | fix gocui mismatch | Jesse Duffield | |
2022-08-13 | bump gocui | Jesse Duffield | |
2022-08-07 | add deadlock mutex package | Jesse Duffield | |
write to deadlock stderr after closing gocui more deadlock checking | |||
2022-08-06 | refactor to only have one context per view | Jesse Duffield | |
2022-07-29 | Update gocui | Luka Markušić | |
2022-06-18 | better process killing | Jesse Duffield | |
2022-06-12 | build: add github.com/fsmiamoto/git-todo-parser | Francisco Miamoto | |
2022-04-17 | better weight distribution in window arrangement | Jesse Duffield | |
2022-04-16 | add scrollbars | Jesse Duffield | |
2022-04-16 | better appearance for reverse attribute | Jesse Duffield | |
2022-04-16 | clearer highlighting of current line | Jesse Duffield | |
2022-04-08 | bump gocui | Jesse Duffield | |
2022-03-24 | refactor todo file generation | Jesse Duffield | |