summaryrefslogtreecommitdiffstats
path: root/src/commands/change_directory.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-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 ncurses dependencyJiayi Zhao
- clean up code - update theme config - fix localstate tracking file selection not selecting proper files
2020-02-16rework rendering system to use tui-rs widgetsJiayi Zhao
- move files around - delete some old ncurses code - integrate tui-rs styles and colors
2020-02-13textfield progressionJiayi Zhao
2020-02-11progress on switching to tui-rs for uiJiayi Zhao
2019-08-03Make xdg_open toggleableJiayi Zhao
- xdg_open option automatically opens file rather than asking user what to do - fix crash when trying to open something in an empty directory
2019-07-19changed how commands are handledJiayi Zhao
- arguments no longer go through wordexp (still working on a good alternative) other changes: - changed update_contents to reload_contents - opening files with mimetype entries are now moved from unix.rs to mimetypes.rs
2019-07-19fix not remembering cursor position when switching directories via cdJiayi Zhao
2019-07-01make use of ? operator moreJiayi 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-27populate_to_root now returns a ResultJiayi Zhao
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-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-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-25add verbose messages for file operationsJiayi Zhao
2019-02-24fix problem if cd failsJiayi Zhao
2019-02-20cargo fmtJiayi Zhao
2019-02-20change how preview worksJiayi Zhao
2019-02-19rust 2018 and clippyJiayi Zhao
2019-02-15refactor: project layoutCaleb Bassi