summaryrefslogtreecommitdiffstats
path: root/go.sum
AgeCommit message (Collapse)Author
2023-07-23Better word wrapJesse Duffield
Word wrapping has been pretty bad so far so let's fix that.
2023-07-19Add integration test for accordion modeJesse Duffield
2023-07-19Fix accordion issueJesse 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-10Use an interface for tasks instead of a concrete structJesse Duffield
By using an interface for tasks we can use a fake implementation in tests with extra methods
2023-07-09Use first class task objects instead of global counterJesse 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-08Bump gocuiJesse Duffield
This includes new gocui logic for tracking busy/idle program state
2023-07-03View filtering (#2680)Jesse Duffield
2023-07-02Bump gocuiJesse Duffield
2023-07-02Bump git-todo-parserGustavo Krieger
2023-06-01Add integration test for commit highlighting on focusJesse 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-30Merge pull request #2490 from ↵Jesse Duffield
jesseduffield/dependabot/go_modules/golang.org/x/net-0.7.0
2023-05-30Merge pull request #2508 from Ryooooooga/remove-jesseduffield-yamlJesse Duffield
2023-04-29Bump github.com/fsmiamoto/git-todo-parser to latest versionStefan Haller
2023-04-24bump clipboard package for WSL supportAndre Mueller
2023-04-15Bump github.com/fsmiamoto/git-todo-parser to latest main versionStefan Haller
2023-03-24remove old integration test recording codeJesse Duffield
2023-03-19bump gocui to fix race conditionJesse Duffield
2023-03-19Bump golang.org/x/net from 0.0.0-20220722155237-a158d28d115b to 0.7.0dependabot[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-19Better escape code parsing (thanks to Ryooooooga) (#2514)Jesse Duffield
2023-03-17build: remove `github.com/jesseduffield/yaml` packageRyooooooga
2023-02-25Improve staging panel integration testsJesse Duffield
2023-02-21build: bump tcell versionRyooooooga
2023-02-19show snapshot of lazygit when test fails for easier investigationJesse Duffield
2023-02-18bump gocuiJesse Duffield
2023-01-06build: bump gocuiRyooooooga
2022-12-20bump gocuiJesse Duffield
2022-11-25bump gocuiRyooooooga
2022-11-12Update go-git to handle negative refspecsLukasz Piatkowski
2022-10-18build: $ ./scripts/bump_gocui.shRyooooooga
2022-10-15Use lazycore utils: Clamp and GetLazyRootDirectoryGustavo Andrioli
2022-10-11update vendor directoryJesse Duffield
2022-10-09use boxlayout from lazycoreJesse Duffield
2022-10-03strip NUL bytes instead of replacing with spaceJesse Duffield
2022-10-02fix glitchy render of stale data when flicking through files and directoriesJesse Duffield
2022-10-02bump gocuiJesse Duffield
2022-09-23build: $ ./scripts/bump_gocui.shRyooooooga
2022-09-16various changes to improve integration testsJesse Duffield
2022-08-15fix gocui mismatchJesse Duffield
2022-08-13bump gocuiJesse Duffield
2022-08-07add deadlock mutex packageJesse Duffield
write to deadlock stderr after closing gocui more deadlock checking
2022-08-06refactor to only have one context per viewJesse Duffield
2022-07-29Update gocuiLuka Markušić
2022-06-18better process killingJesse Duffield
2022-06-12build: add github.com/fsmiamoto/git-todo-parserFrancisco Miamoto
2022-04-17better weight distribution in window arrangementJesse Duffield
2022-04-16add scrollbarsJesse Duffield
2022-04-16better appearance for reverse attributeJesse Duffield
2022-04-16clearer highlighting of current lineJesse Duffield
2022-04-08bump gocuiJesse Duffield
2022-03-24refactor todo file generationJesse Duffield