summaryrefslogtreecommitdiffstats
path: root/src/util
AgeCommit message (Collapse)Author
2020-12-30add resize notification support and preliminary mouse supportJiayi Zhao
- currently scroll is hardmapped to cursor_up and cursor_down
2020-12-26fix mismatched typesking6cong
2020-12-24fix cut/copy src not updating after pasteJiayi Zhao
2020-12-20fix char issue with bulk_renameJiayi Zhao
2020-12-15add option to not collapse previewJiayi Zhao
- add methods to access config_t - add back home dir path shortening option
2020-12-15folder view now always prefix file names with a spaceJiayi Zhao
- remove horizontal margins in folder view - move copy/cut methods into separate functions - change some fields to private
2020-12-13code cleanup and fix path not showing when too longJiayi Zhao
2020-12-11add a view for showing worker progressJiayi Zhao
2020-12-06add arrow indicating symlinksJiayi Zhao
2020-11-02stop using debug print for termion keyJiayi Zhao
- fix certain commands not showing options - fix typos
2020-10-11Reverted raw_file_name() to file_name() and added label()Anas Saeed
2020-10-10Added raw filenames to JoshutoDirEntry to fix sorting bugAnas Saeed
2020-10-08Added configuraton for showing iconsAnas Saeed
2020-10-08Added Devicon SupportAnas Saeed
2020-09-04io operations now give more informationJiayi Zhao
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-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-03updatesJiayi Zhao
2020-03-21format bytes into KB, MB, etcJiayi 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-16cargo clippyJiayi 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-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-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
2020-02-16move topbar functionality into widgetJiayi Zhao
- add ability to show file sizes in the main column
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-13more work on textfieldJiayi Zhao
2020-02-11more progress on tui-rs workJiayi Zhao
2020-02-11progress on switching to tui-rs for uiJiayi 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