Commit Graph

60 Commits

Author SHA1 Message Date
veeso
892be42988 pretty assert 2021-05-06 21:57:04 +02:00
veeso
55e884889c Clippy 2021-03-27 12:17:35 +01:00
veeso
96b7aff3b6 format 2021-03-26 22:30:47 +01:00
veeso
1ad75adf87 License changed to MIT 2021-03-26 22:25:10 +01:00
veeso
f5f84ac346 Fixed del_entry 2021-03-26 21:26:18 +01:00
veeso
08b855e779 Find dialog in view 2021-03-25 22:59:42 +01:00
veeso
3520499289 Removed index from explorer 2021-03-21 15:58:14 +01:00
veeso
cd31cc1fc9 File transfer activity refactoring 2021-03-20 21:06:12 +01:00
veeso
61404cfbec Get method for file explorer 2021-03-20 15:31:53 +01:00
veeso
025547a3dc Format key attributes 2021-02-25 17:47:50 +01:00
veeso
c5e2e02415 Optimized formatter: instead of replacing in fmt_str, keep 'prefix' in the call chain 2021-01-24 11:29:20 +01:00
veeso
56c580fc80 Use file_fmt in explorer activity 2021-01-23 16:26:25 +01:00
veeso
da0d5231bf Use formatter to fmt fs entries instead of fmt::Display trait 2021-01-23 15:51:46 +01:00
veeso
c1f6308795 Explorer formatter module 2021-01-23 15:41:07 +01:00
ChristianVisintin
23ca2baa8c Cargo clippy 2021-01-16 18:02:12 +01:00
ChristianVisintin
76fdd9864c Fixed copyright header 2021-01-16 15:13:58 +01:00
ChristianVisintin
928fc1b450 Solved index of files list no more kept after 0.3.0 (use set_abs_index instead) 2021-01-16 11:35:33 +01:00
ChristianVisintin
bf56a269e0 Replaced Box<dyn Iterator... with impl Iterator 2021-01-16 10:37:53 +01:00
veeso
2bd3d33ff6 Updated copyright 2021-01-09 20:45:06 +01:00
ChristianVisintin
65e7ff22f7 Explorers: append '/' to directories name 2020-12-27 10:47:11 +01:00
ChristianVisintin
09bc8a92a2 show_hidden_files and group_dirs in termscp configuration; instantiate FileExplorer based on current configuration in FileTransferActivity 2020-12-27 10:31:33 +01:00
ChristianVisintin
99fd0b199d FileTransferActivity: sort files with <B> 2020-12-26 21:47:48 +01:00
ChristianVisintin
740d906eb3 ToString, FromStr for FileSorting and GroupDirs 2020-12-26 19:03:54 +01:00
ChristianVisintin
b137fecc12 FileSorting and GroupDirs as enums 2020-12-26 18:55:14 +01:00
ChristianVisintin
14125f673a Added options to explorer, in order to define sorting modes and other options. Added bitflags to dependencies; Moved Explorer to Fs module 2020-12-26 17:29:12 +01:00
ChristianVisintin
e0d9ac2ed8 FileTransferActivity::Explorer refactoring; toggle hidden files with <A> 2020-12-26 15:50:57 +01:00
ChristianVisintin
5b042e86ef FsEntry::is_hidden() method 2020-12-26 11:58:28 +01:00
ChristianVisintin
8ccf5eb0bb FsEntry::get_name() returns &str 2020-12-26 10:51:01 +01:00
ChristianVisintin
eb12da0308 Utils into multiple files 2020-12-20 15:36:48 +01:00
ChristianVisintin
d0774fd7ed FsEntry::is_file 2020-12-19 21:38:56 +01:00
ChristianVisintin
1b99d63c47 Added one more space to size in FsEntry::fmt, since sometimes size has 4 digits 2020-12-18 16:42:06 +01:00
ChristianVisintin
d37cc4f796 test name elide in fs fmt 2020-12-18 12:27:37 +01:00
ChristianVisintin
b3fed60d12 Fixed fmt explorer windows 2020-12-18 12:06:54 +01:00
ChristianVisintin
a3d1db3fa2 Fs test fmt 2020-12-18 11:56:08 +01:00
ChristianVisintin
619ac4e753 Windows fix for fs mod 2020-12-12 22:04:59 +01:00
ChristianVisintin
99db7b6d8e Fixed FsEntry fmt 2020-12-12 17:50:01 +01:00
ChristianVisintin
3b33c55d97 Removed redundant code for fsEntry fmt 2020-12-12 17:36:39 +01:00
ChristianVisintin
5aea1d286b Code optimizations 2020-12-12 17:34:15 +01:00
ChristianVisintin
8281a840a7 Optimizing FsEntry and relatd stuff 2020-12-12 17:03:31 +01:00
ChristianVisintin
f73e43304e FsEntry::*::symlink is now a Option<Box<FsEntry>>; this improved symlinks, which gave errors some times 2020-12-12 16:26:03 +01:00
ChristianVisintin
55bda874f0 Optimized code and performance using clippy 2020-12-12 12:14:51 +01:00
ChristianVisintin
ca46c872cf fmt_pex is now a method 2020-12-10 10:05:30 +01:00
ChristianVisintin
98e3866447 Elide paths in explorer tabs if they are too long 2020-12-10 09:22:58 +01:00
ChristianVisintin
95ab3daa86 Elide file names longer than 24 2020-12-10 08:44:35 +01:00
ChristianVisintin
e9961b19cc Wtf? %M:%H format? 2020-12-06 21:24:53 +01:00
ChristianVisintin
7021331867 Removed group from explorer 2020-12-06 21:24:34 +01:00
ChristianVisintin
cd35dac4a5 Many fixes in UI; Help command 2020-11-29 17:46:56 +01:00
ChristianVisintin
28435aaeda Many fixes in UI 2020-11-29 17:05:12 +01:00
ChristianVisintin
015e2b3601 Fixed fmt for fsentry 2020-11-29 16:17:00 +01:00
ChristianVisintin
1ff42ecf13 to_string_lossy().to_string() for users/groups 2020-11-29 15:56:01 +01:00