summaryrefslogtreecommitdiffstats
path: root/src/main.rs
AgeCommit message (Collapse)Author
2020-02-13more work on textfieldJiayi 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
2020-02-08change to using termion's keyboard handlingJiayi Zhao
- user input is now on a seperate thread - this allows for other threads to be added as well - keymap configs have changed to be more user friendly
2019-06-23cargo fmtJiayi Zhao
2019-06-23rename io to fsJiayi Zhao
2019-06-04change pub fields to private and rename structs to ioJiayi Zhao
2019-05-31cargo fmtJiayi Zhao
2019-05-31add support for specifying certain keycodes for certain keyboard actionsJiayi Zhao
2019-05-29move hostname and username out of Context and into a static globalJiayi Zhao
2019-05-25make home directory a global variableJiayi Zhao
2019-05-18add debug flagJiayi Zhao
2019-05-05cargo fmtJiayi Zhao
2019-05-01add ConfigStructure traitJiayi Zhao
- make JoshutoKeymap just an alias for HashMap<i32, CommandKeybind> - change keymap.toml to use ascii values rather than strings that needs reparsing
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-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-19rust 2018 and clippyJiayi Zhao
2019-02-15refactor: project layoutCaleb Bassi
2019-02-15Replace clap with structopt for argument parsingCaleb Bassi
- structopt is built on top of clap and provides a convenient layer for configuring cli args - it also comes built in with `-V, --version` and `-h, --help`
2019-02-15refactor: config file handlingCaleb Bassi
2019-01-31cargo fmtCaleb Bassi
2019-01-31Merge branch 'master' into devJiayi Zhao
2019-01-31Cleanup config hierarchy; Only add ./config in debug modeCaleb Bassi
2019-01-30preliminary for preview reworkJiayi Zhao
2019-01-27make theme and mimetypes staticJiayi Zhao
- reduce the need to pass them into every function
2019-01-15clean up codeJiayi Zhao
2019-01-08major refactoring in preparation for tabs supportJiayi Zhao
2019-01-06change mimetype.toml format to extensions for nowJiayi Zhao
- might go back to actual mimetypes later
2019-01-06move configuration code into config/ folderJiayi Zhao
- change sort related configuration into its own []
2019-01-05revert back to using keymap.tomlJiayi Zhao
- figured out a way to make things work
2019-01-03allow for code to prefill input when getting string inputJiayi Zhao
2019-01-02remove printJiayi Zhao
2019-01-01add lazy_static to dependenciesJiayi Zhao
2018-12-25switch to .conf file for keymapping for better customization in the futureJiayi Zhao
2018-12-24add support for showing version numberJiayi Zhao
2018-12-24fix ENTER not recognizingJiayi Zhao
2018-12-23move functions into their respective config parsing fileJiayi Zhao
2018-12-23add support for keymapsJiayi Zhao
2018-12-22add preliminary support for keymapping configurationJiayi Zhao
2018-12-22change method nameJiayi Zhao
2018-12-20add support back for opening filesJiayi Zhao
2018-12-20add support back for reading config filesJiayi Zhao
- clean up code for reading config files - add support for sorting files by mtime
2018-12-18put username and hostname inside config structJiayi Zhao
2018-12-18lots of changesJiayi Zhao
- make sort easier to use - SortType, SortStruct - make History a struct
2018-07-31fix tree_magic::from_filepath()Jiayi Zhao
- tree_magic::from_filepath() crashes on non-regular files such as fifo, char, block files - fixed by first checking if it is a regular device - add initial support for aspect ratios of columns - changed variable types
2018-07-28add support for program argument list when executing programsJiayi Zhao
2018-07-20cleanupJiayi Zhao
2018-07-20add support for mimetypes configJiayi Zhao
2018-07-20rename filesJiayi Zhao
add preliminary support for opening files add preliminary support for file opening configs remove intermediate structs
2018-07-18convert more functions to follow configsJiayi Zhao
add intermediate configs to reduce option and matching remove unused functions
2018-07-18fix compilation errorsJiayi Zhao
add support for wide characters reduce duplicate code and nesting