summaryrefslogtreecommitdiffstats
path: root/src/commands/parent_directory.rs
AgeCommit message (Collapse)Author
2020-10-05remove .lock from gitignoreJiayi Zhao
2020-09-19Change command to use an enum instead of polymorphismJiayi Zhao
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-03-19add soft-reload optionJiayi Zhao
- this helps with reloading upon sort order change
2020-02-16remove ncurses dependencyJiayi Zhao
- clean up code - update theme config - fix localstate tracking file selection not selecting proper files
2020-02-13fix initial preview not workingJiayi Zhao
2020-02-11progress on switching to tui-rs for uiJiayi Zhao
2019-06-29code cleanupJiayi 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-05fmt, clippy and make more fields privateJiayi Zhao
2019-05-29move hostname and username out of Context and into a static globalJiayi Zhao
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-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-02-20cargo fmtJiayi Zhao
2019-02-20change how preview worksJiayi Zhao
2019-02-19rust 2018 and clippyJiayi Zhao
2019-02-15Fix most clippy lintsCaleb Bassi
2019-02-15refactor: project layoutCaleb Bassi