Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-10-23 | use cached git config | Jesse Duffield | |
2021-10-16 | small changes | Jesse Duffield | |
2021-10-16 | Allow having multiple config files | mjarkk | |
2021-07-30 | Switch to github.com/gookit/color for terminal colors | mjarkk | |
2021-04-06 | only re-use repo state when jumping in and out of submodules | Jesse Duffield | |
2021-04-06 | test | Jesse Duffield | |
type safe view access | |||
2021-04-06 | WIP | Jesse Duffield | |
2021-04-06 | switching repos without restarting the gui | Jesse Duffield | |
2021-04-06 | refactor of contexts and filtering | Jesse Duffield | |
2021-04-01 | faster startup | Jesse Duffield | |
2020-11-28 | Visualize the commits for all branches | Yuki Osaki | |
2020-10-10 | type i18n | Jesse Duffield | |
2020-09-29 | allow entering and returning from submodule | Jesse Duffield | |
2020-09-29 | move git dir env stuff into a centralised package | Jesse Duffield | |
2020-09-29 | do not include bare repos in recent repos list | Jesse Duffield | |
2020-09-29 | unset GIT_WORK_TREE and GIT_DIR when switching repos | Jesse Duffield | |
2020-08-23 | refactor how we handle different modes | Jesse Duffield | |
2020-08-15 | more removing of g | Jesse Duffield | |
2020-03-29 | reset state on each Run() call | Jesse Duffield | |
2020-02-15 | remove old createMenu function | Jesse Duffield | |
2020-02-15 | refactor recent repos menu panel | Jesse Duffield | |
2019-03-23 | Rely on model rather than view to focus a point | Jesse Duffield | |
Currently when we want to focus a point on a view (i.e. highlight a line and ensure it's within the bounds of a view's box, we use the LinesHeight method on the view to work out how many lines in total there are. This is bad because for example if we come back from editing a file, the view will have no contents so LinesHeight == 0, but we might be trying to select line 10 because there are actual ten things we expect to be rendered already. This causes a crash when e.g. 10 is greater than the height of the view. So we need to pass in to our FocusPoint method the actual number of items we want to render, rather than having the method rely on the LinesHeight, so that the method knows to scroll a bit before setting the cursor's y position. Unfortunately this makes for some awkward code with our current setup. We don't have a good interface type on these state objects so we now need to explicitly obtain the len() of whatever array we're rendering. In the case of the menu panel this is even more awkward because the items list is just an interface{} and it's not easy to get the list of that, so now when we instantiate a menu we need to pass in the count of items as well. The better solution would be to define an interface with a getItems and getLength method and have all these item arrays become structs implementing the interface, but I am too lazy to do this right now :) | |||
2019-02-18 | rename any commit | Jesse Duffield | |
2019-02-16 | consider whether the view has focus when rendering the contents of a view | Jesse Duffield | |
2019-02-11 | Merge branch 'master' into feature/rebasing | Jesse Duffield | |
2018-12-11 | Make merge panel its own panel | Jesse Duffield | |
2018-12-10 | Made gobot happy | mjarkk | |
2018-12-10 | Not always git fetch | mjarkk | |
2018-12-10 | Better name for this function | mjarkk | |
2018-12-10 | Fixed loop before error check | mjarkk | |
2018-12-06 | Only show private repo popup when opening repo for first time | mjarkk | |
2018-11-30 | Add full stops to new comments. | BlakeMScurr | |
2018-11-30 | Add simple comments to uncommented functions. | BlakeMScurr | |
2018-09-19 | add recent repos menu option | Jesse Duffield | |