summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2020-08-30make io worker msgs more friendly and informativeJiayi 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-29Merge branch 'master' into devJiayi 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-06-28Fix bitwise-and build issues on macOSAustin Hyde
I was seeing build errors due to attempting to bitwise-and a u32 and a u16: ``` error[E0308]: mismatched types --> src/util/unix.rs:6:50 | 6 | LIBC_PERMISSION_VALS.iter().any(|val| mode & *val != 0) | ^^^^ expected `u32`, found `u16` error[E0277]: no implementation for `u32 & u16` --> src/util/unix.rs:6:48 | 6 | LIBC_PERMISSION_VALS.iter().any(|val| mode & *val != 0) | ^ no implementation for `u32 & u16` | = help: the trait `std::ops::BitAnd<u16>` is not implemented for `u32` ``` I fixed this by simply up-converting `*val` to a `u32`. The widening won't have any effect on functionality because we don't care about any of the higher bits.
2020-06-06shell command now parses correctlyKamiyaa
- rework file operations - simpler model for listening on io_worker progress - cargo fmt/clippy
2020-05-26open files now pass relative paths instead of full pathsKamiyaa
2020-05-26fix cut/copy symlinksKamiyaa
2020-05-13rework command parsing and add shell commandJiayi Zhao
- This change will break compatibility with previous keymap.toml configs - 'shell' command allows users to run a shell command inside joshuto
2020-05-12add support for sorting via lexical and mtimeJiayi Zhao
2020-04-29fix issue with text paste not working in textfieldJiayi Zhao
2020-04-18update to tui-rs 0.9Jiayi Zhao
2020-04-12clear screen on startupJiayi Zhao
2020-04-03updatesJiayi Zhao
2020-03-24textfield cursor working correctlyJiayi Zhao
- this fixes boundary issues and cursor not staying in place - also fix issue with quit not making sure all io workers are done
2020-03-21wrap fs::FileType with in-house solutionJiayi Zhao
- This allows for efficient symlink lookup through caching - Theme processing happens upfront rather than recomputing styling over and over
2020-03-21fix open_file not forking properlyJiayi Zhao
2020-03-21format bytes into KB, MB, etcJiayi Zhao
2020-03-20add initial support for detecting mimetypesJiayi 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-18add default keymappings when config dneJiayi Zhao
- message colors are now yellow instead of cyan - there is now a wrapper around keymap hashmap
2020-03-17fix cutJiayi Zhao
2020-03-16cargo clippyJiayi Zhao
2020-03-16add version and path command line argumentsJiayi Zhao
2020-03-16better error handling for threadsJiayi Zhao
- code cleanup
2020-03-14rework input event thread handlingJiayi Zhao
- this fixes issues where joshuto steals the inputs of terminal applications after file operations have been done
2020-03-14make sure to reload src and dest dirlists after a io operation completesJiayi Zhao
2020-03-14update preview when file operations finishJiayi Zhao
2020-03-14add stub cursor move command for generating previewsJiayi Zhao
2020-03-11fix rename file and textfield homeJiayi Zhao
2020-03-11remove window module and fix unwrap none when opening fileJiayi Zhao
2020-03-05fix cursor moving to the top when a reload happensJiayi Zhao
2020-03-03fix cursor moving to top after deletion or renameJiayi Zhao
2020-03-02Merge branch 'dev' of github.com:kamiyaa/joshuto into devJiayi Zhao
2020-03-02add tab widget for showing which tab we are onJiayi Zhao
- code cleanup - pageup and pagedown now work properly
2020-03-02Merge branch 'dev'Jiayi Zhao
2020-03-02Merge branch 'dev' of github.com:kamiyaa/joshuto into devJiayi Zhao
2020-03-02add set_mode supportJiayi Zhao
2020-03-01fix issue where open_with does not workJiayi Zhao
2020-03-01add support for showing mimetype options with open_withJiayi Zhao
2020-02-24reduce duration of messagesJiayi Zhao
2020-02-24fix bulk_rename to work with tui-rsJiayi Zhao
2020-02-24fix open_file_withJiayi Zhao
- fix event to not consume the first few inputs on switching to a terminal program
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-18fix issue with hiding hidden files while selecting a hidden fileJiayi Zhao
2020-02-17directory reloads now preserve positionJiayi Zhao
- commands like show hidden and reload dir now preserves cursor/index position
2020-02-17rework menu widgetJiayi Zhao
- menu loop is now contained in widget rather than in run.rs - add tui_footer for showing file info - move TuiDirListDetailed into its own file - add format util file for formatting file info - add support for showing file size, symlink paths and modified times