Age | Commit message (Collapse) | Author |
|
|
|
This change allows a new commit to be added in the default state of pick.
|
|
|
|
This adds the ability to insert new exec, label, reset and merge lines
to the rebase todo file.
|
|
Add a missing entry, fix some typos and add PR links for recent changes.
|
|
Lines can now be completely removed from the list in both visual and
normal mode.
|
|
Add a key binding to allow the external editor to be opened from visual
mode.
|
|
This allows a user to provide a list of key bindings for a particular
action.
|
|
This allows almost all actions to be undone and then redone.
|
|
Almost all the modifiers with keybindings did not function as intended.
This updates the config parsing for keybindings to support all
modifiers. As a side effect, the modifiers can now be provided in any
order. Also, since the tests for this were fragile and required a config
file per test case, they have been refactored to generate a git
configuration as needed instead.
|
|
This adds basic read and write support for the actions added by rebase
merging. The new actions can have their content edited, similar to the
edit action.
|
|
Add a description and label to the edit module. The label can provide
basic help text and the label can provide context on what it being
edited.
|
|
|
|
Since true color support on macOS was broken with the curses backend,
with the rewrite to use Crossterm true color support can again be
enabled on macOS.
|
|
The project has pushed the limits of what curses can support on Windows
systems. Crossterm has far superior support for creating cross platform
TUI applications.
|
|
Since the footer of available actions has been removed from the list
view, it only makes sense to remove the footer from the show commit view
as well.
|
|
This is a complete rewrite of the external editor functionality. This
update greatly improves the error handling and empty file handling. The
ability to rollback the edits to the rebase file in case of error or an
invalid file has also added.
|
|
This greatly improves the handling of keyboard input by ensuring that
all Pancurses inputs are properly accounted for. This resulted in
several missing keys being added. Also, provide a standard function for
handling the scrolling of view data and add scrolling support to the
error display. Also add End and Home support to the edit module.
|
|
This change adds a diff view to the show commit that is similar to the
`git show` command.
|
|
This change refactors and improves the show commit module. This change
added:
- key bindings/help displayed on the last line
- list of number of files changed as well as the number of additions and
deletions
- git configuration for renames, rename_limit and copies now respected
- full help page
This change refactored:
- input handling to be specific to the show commit module
- rewritten how git diff information is queried from the git2-rs
bindings
- new ViewDataBuilder struct for building the view lines
|
|
In several cases when the terminal was resized the scroll position was
reset back to the top. This was partially by design as a quick fix to
ensure that the top position did not go out of bounds. This change adds
a new function to the scroll position module that will ensure that the
scroll top value stays within the allowed range when the view is
resized.
|
|
The up key was accidentally removed when the other special keys were
added. This adds the support for the up key.
|
|
Add page up and down support to the help and show commit views. Also
modify the page up and down support to scroll half a view height instead
of miscellaneous movements that existed previously.
|
|
|
|
|
|
|
|
This provides full support of arguments to the external editor.
|
|
When attempting to set the action or move lines in visual mode
where the selected range start is after the range end, the last
item in the selected range would not have the action correctly
set or be swapped with the other lines.
|
|
The libncursesw5 dependency was missing and instead was referencing
libncurses5 instead.
|
|
This change adds two caches that greatly speed up show commit. The first
is to cache the Unicode lengths so that they do not need to be
calculated for every render. The second is to ensure that the call to
libgit2 for retrieving the commit information is only made once and not
on every render loop. This should reduce the overall render time by
about ten fold.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The command of the exec action can now be modified.
|
|
|
|
|
|
Update and move website to use the docs/ directory.
|
|
|
|
This is behind a configuration option
|
|
The support is not complete in that there is no way to modify the exec
command. This does support reading, reordering and writing of the exec
action.
|
|
|
|
Previously the build used win32a which seems to cause Windows to create
a new window for the tool.
|
|
|
|
|
|
|
|
|