summaryrefslogtreecommitdiffstats
path: root/src/interactive/app
AgeCommit message (Collapse)Author
2019-11-06Update all dependencies to latest versionSebastian Thiel
2019-07-26Don't follow symlinks when calculating size interactivelyVinzent Steinberg
This should provide more accurate results. Unfortunately, this cannot be easily fixed for the non-interactive part of the app, because it uses `jwalk` which does not expose any options to deal with symlinks.
2019-07-26Don't follow symlinks when deleting files recursivelyVinzent Steinberg
The fix in 560a76d43fa44c4ebf9bdc51087647bb800bbe68 did not work, because it checked the metadata of the file the symlink was pointing to, instead of the metadata of the symlink. Effectively, this resulted in symlinks never being detected. Also see https://doc.rust-lang.org/std/fs/struct.FileType.html#method.is_symlink. Fixes #24.
2019-07-25A single decimal slot for percentages; Fixes #26Sebastian Thiel
On top of that, I think less information can be more.
2019-07-25Run rustfmt; use debug_assert; rename functionSebastian Thiel
2019-07-24Use same colors in mark pane as in entries paneVinzent Steinberg
This required passing the information whether a path is a directory accordingly.
2019-07-21Show broken symlinks on the first level of iterationSebastian Thiel
2019-07-21Handle broken symlinks, they can now be deletedSebastian Thiel
These are tough, as metadata on them will fail, as it tries to follow the symlink. It's odd, as we can still check if this was a symlink in case it could be followed, but we can't check that in case it could not be followed. In a way, the `metadata()` call should rather amended with a sybling method like `nmetadata()` to have a version that doesn't follow symlinks. Anyway... .
2019-07-14Allow for pageup/down to work in selector pane (interactive mode)Sebastian Thiel
Fixes #21
2019-07-14Do not follow symbolic links when iterating directories!Sebastian Thiel
Fixes #24
2019-06-16performance improvementsv2.1.2Sebastian Thiel
2019-06-16Better progress display when deleting multiple itemsSebastian Thiel
2019-06-16Auto-restore previously selected entries; quality of life!Sebastian Thiel
2019-06-16Add 'h' and 'l' as alternative keybindingsSebastian Thiel
2019-06-15Handle symlinks in a rather brutal way.Sebastian Thiel
2019-06-15pane is now displayed during deletion; keeps last item selectedSebastian Thiel
2019-06-15This might be the first working version of deletionSebastian Thiel
2019-06-15Update num entries and bytes totalSebastian Thiel
2019-06-15better separation of concerns when iterating marked itemsSebastian Thiel
also: fix consumption of mark-pane - it's now not always consuming it.
2019-06-15First half-baked version of deletion within traversal treeSebastian Thiel
No size handling for now
2019-06-15refactorSebastian Thiel
2019-06-15First rough version of the required pieces in MarkPaneSebastian Thiel
2019-06-14first sketch of the delete-draw-loopSebastian Thiel
2019-06-14Xi'an/China: first test to fully verify deletionSebastian Thiel
2019-06-08Pune/India: Rustic way of handling the mark panes disappearanceSebastian Thiel
Interesting: before that fix, the GUI was in an invalid state, as the mark pane disappeared without setting the focus back to the main window. Thanks to everything being encoded in the typesystem and no assumptions made, the program wouldn't crash when buttons are pressed, which would otherwise be attempted to dispatch to the now gone mark pane. Instead one could press 'q' or tab, as fortunately, the pane handling is always done before any of the panes get a chance.
2019-06-08Pune/India: Don't try to go down as marked items are removedSebastian Thiel
2019-06-07Fixed Up and Down key inputs and added Left and Right for Ascent and Descent ↵Sathish
navigation
2019-06-07Happier clippySebastian Thiel
2019-06-07Grapheme handling when truncating long filenamesSebastian Thiel
2019-06-07Happy clippySathish
2019-06-07move EntryMarkMap into Mark widgetSebastian Thiel
2019-06-07maintain sorting even though we have a map - each render must allocate nowSebastian Thiel
Maybe it's better to just spend the time searching through an array, which we could sort before and do a bisection. ... sounds better actually. Even though... that might even be more expensive if the sorting is done every time. Just stick to a list, huh?
2019-06-06Know about focus in marker paneSebastian Thiel
2019-06-06Move ownership of marked entries to the MarkPaneSebastian Thiel
interesting experience... it's easier to just keep state central, and have one place where mutation happens. Now that things are all over the place, it becomes more difficult to handle. However, I believe there is a way, the problem here is the hybrid state the program is currenlty in... partly centralized, partly localized.
2019-06-06some experimentation with selection handling in the new paneSebastian Thiel
It's entirely different from the first one :D, incredible
2019-06-06A step towards more self-contained componentsSebastian Thiel
2019-06-06reactor help: move event handling closer to where it belongsSebastian Thiel
2019-06-06refactorSebastian Thiel
2019-06-06The first display of paths to be deleted!Sebastian Thiel
Still no way to show that one is contained in others... probably not needed right now... .
2019-06-06The first incarnation of the mark windowSebastian Thiel
2019-06-06Fix issue with seeing nothing when trying to enter a fileSebastian Thiel
...there was (and still is) no test for that.
2019-06-06Fix endless loop and infinite memory consumption due to... NAN!!Sebastian Thiel
2019-06-06Inform about marked entries in the footerSebastian Thiel
2019-06-06Coloring for marked entriesSebastian Thiel
2019-06-06preparing for displaying the marked state in entries listSebastian Thiel
2019-06-06refactorSebastian Thiel
2019-06-05more hotkeysSebastian Thiel
2019-06-05fix sorting; add some alternate keysSebastian Thiel
2019-06-05Clear screen at initializationSebastian Thiel
2019-06-05refactorSebastian Thiel