summaryrefslogtreecommitdiffstats
path: root/src/commands/delete_files.rs
AgeCommit message (Collapse)Author
2020-12-15add option to not collapse previewJiayi Zhao
- add methods to access config_t - add back home dir path shortening option
2020-09-19Change command to use an enum instead of polymorphismJiayi Zhao
2020-08-30rework and fix issuesJiayi Zhao
- fixed bug where io tasks would not run when user is in a textfield or prompt - fixed bug where cut doesn't work - rework structs to have private fields and public functions - move IOWorkerObserver into seperate file - move code from TuiView to TuiFolderView
2020-08-29big rework and dependency updateJiayi Zhao
- abstract JoshutoContext implementation behind functions - rework io workers in an attempt to fix a bug - update dependencies - remove JoshutoContextWorker
2020-04-18update to tui-rs 0.9Jiayi Zhao
2020-03-20Add more reloading triggersJiayi Zhao
2020-03-19add soft-reload optionJiayi Zhao
- this helps with reloading upon sort order change
2020-03-18remove cursormovestub and add rudimentary sort commandJiayi Zhao
2020-03-14update preview when file operations finishJiayi Zhao
2020-03-02add tab widget for showing which tab we are onJiayi Zhao
- code cleanup - pageup and pagedown now work properly
2020-03-01add support for showing mimetype options with open_withJiayi Zhao
2020-02-22implement textfield widgetJiayi Zhao
- for asking users for long input strings - implement prompt widget - for prompting users for a single key response
2020-02-22move the majority of rendering into its own widget: TuiViewJiayi Zhao
- textfield is now a widget as well - reduced code duplication with TuiView - add backtab support - add a message queue for notifications
2020-02-16remove more codeJiayi Zhao
- remove curr_list field from tab - fixes many commands not working
2020-02-11progress on switching to tui-rs for uiJiayi Zhao
2020-02-09update delete file prompt to use new input threadJiayi Zhao
2020-02-09rework input thread and file operationsJiayi Zhao
- no longer depend on fs_extra for copy/paste files - in house solution preserves permissions - ioworkers are now queued, no more parallel io tasks - input thread now listens for ioworker threads as well - cargo fmt
2019-06-30add bulk_rename commandJiayi Zhao
2019-06-29rework error systemJiayi Zhao
- JoshutoErrorKind now envelops all possible errors by Joshuto - JoshutoError behaves like std::io::Error - add JoshutoResult
2019-06-23make use of std::io::ResultJiayi Zhao
2019-06-05get_selected_paths now returns just a vec rather an optionJiayi Zhao
- fix not being able to select the current entry
2019-06-05replace unnecessary path copying with references insteadJiayi Zhao
2019-06-04revert back to previous printing methodJiayi Zhao
- fix index out of bounds error when multiple threads are running
2019-06-01make default keys more saneJiayi Zhao
2019-05-30move reloading of directory content into reload_dir.rs rather than tab.rsJiayi Zhao
2019-05-29move hostname and username out of Context and into a static globalJiayi Zhao
2019-05-05use readline() instead of readline_with_initial with possibleJiayi Zhao
2019-04-30cargo clippyJiayi Zhao
2019-04-25rework how previewing worksJiayi Zhao
- should be more extensible now
2019-04-25refactor previewingJiayi Zhao
- remove dependency on preview.rs in commands/ - now can just call tab.refresh_preview to update the preview
2019-04-24major refactoringJiayi Zhao
- removed parent_list from JoshutoTab struct - parent_list will behave much like previewing now where the contents will be retrieved from the dictionary - completely remove DirHistory struct in favour of trait implemenation on top of HashMap
2019-04-24add more error handlingJiayi Zhao
- optimize/cleanup code
2019-04-19reimplement cut/copy/paste functionalityJiayi Zhao
- now renames automatically if destionation exists
2019-04-14rework error handling systemJiayi Zhao
rather than letting each command separately handle errors, we return a Result<(), JoshutoError> instead and allow for run.rs to handle all errors
2019-04-02refactor sorting structsJiayi Zhao
- filtering hidden files is de-coupled from creating direntries
2019-03-30move view struct out of Context and pass in as a separate argumentJiayi Zhao
- rename static variables to all caps - change index to be Option<usize> rather than i32 where -1 means the directory is empty
2019-03-02make sure preview panel reloads upon certain commandsJiayi Zhao
2019-02-25add verbose messages for file operationsJiayi Zhao
2019-02-19rust 2018 and clippyJiayi Zhao
2019-02-15merge 'master' with 'dev'Jiayi Zhao
2019-02-15refactor: project layoutCaleb Bassi