Peltoche
89c5ca2a3a
Add the "home" and "removable-media" snapcraft plugs
2019-05-21 14:00:48 +02:00
Peltoche
0f44ea37a8
Update some dependencies
2019-05-21 14:00:48 +02:00
Roy Ivy III
32e0444b6f
add portable command line wildcard support
2019-05-21 13:24:06 +02:00
Roy Ivy III
3a2a19fcb6
fix ANSI color for Windows 10
2019-05-21 13:24:06 +02:00
Gavin Panella
016e1a0e0d
Don't call read_dir() twice on the same path.
2019-05-21 12:08:10 +02:00
Gavin Panella
75648b79b0
Change Meta::from_path_recursive into recurse_into(&self).
2019-05-21 12:08:10 +02:00
Gavin Panella
303e254611
Make many structs cloneable.
2019-05-21 12:08:10 +02:00
Gavin Panella
3d8e9c1b78
Populate meta_list only with what we want to display.
2019-05-21 12:08:10 +02:00
Gavin Panella
28623cf6bd
Avoid filtering the metas in the display output code.
2019-05-21 12:08:10 +02:00
Gavin Panella
20e469e804
Use another Display value, as suggested by @meain.
2019-05-21 12:08:10 +02:00
Gavin Panella
65b6acc58e
Accept -d/--directory-only option.
2019-05-21 12:08:10 +02:00
Andrew Hall
833349cb6d
@SpellarBot fixed 6 typos for you :)
2019-05-21 11:44:55 +02:00
Atanas Yankov
79416127c8
Print errors to stderr
2019-05-17 20:26:41 +02:00
Atul Bhosale
f619dc07d6
Format code using 'cargo fmt'
2019-05-17 19:59:19 +02:00
Robert-André Mauchin
822aec4b22
Bump users to 0.9
...
Signed-off-by: Robert-André Mauchin <zebob.m@gmail.com>
2019-04-26 17:19:49 +02:00
Daniel
c4505e61f8
Changed to Self keyword to satisfy clippy
2019-04-10 15:23:16 +02:00
Daniel
6569a5162e
Ported icon tests to Windows
2019-04-10 15:23:16 +02:00
Daniel
f56d9188b3
Ported name tests to Windows
2019-04-10 15:23:16 +02:00
Daniel
36f7b35025
Ported date tests to Windows
2019-04-10 15:23:16 +02:00
Daniel
625f4924f8
Ported filetype tests to Windows
2019-04-10 15:23:16 +02:00
Daniel
39b73daadf
Tweaked sort test to work on Windows
...
Windows doesn't have `touch`, but it does have Powershell, which can
also change timestamps. The relevant command is:
$(Get-Item name).lastwritetime=$(Get-Date "MM/DD/YYYY")
2019-04-10 15:23:16 +02:00
Daniel
82bd588a05
Fixed warnings on Windows
2019-04-10 15:23:16 +02:00
Daniel
289e906478
Added basic FileType::new() implementation
...
Nothing fancy; it just avoids using the Unix FileTypeExt. Device files,
sockets, and pipes aren't a part of the regular file tree on Windows, so
it makes sense to ignore them for now.
2019-04-10 15:23:16 +02:00
Daniel
9316300adf
Implemented get_file_data
...
Also added a few supporting functions.
Every unsafe block (and there are many) has a list of assumptions that
must be true. Most of them are easy to verify: for example, almost all
pointers indicate something in the *sd_ptr buffer, which lives until the
very end. The rest of the pointers are to something Rust allocated, so
they'll also live to the end of the function.
2019-04-10 15:23:16 +02:00
Daniel
95c7679985
Added utilities for working win Windows API calls
2019-04-10 15:23:16 +02:00
Daniel
038f318ad3
Tests compile on Windows
...
Just shut off a bunch of test sections. Probably most can remain as long
as some of them get broken out into separate unix-only test sections.
2019-04-10 15:23:16 +02:00
Daniel
0f2f3ca12a
Added Owner::new() constructor
...
This allows the Owner to be constructed from the raw strings by the
Windows code.
2019-04-10 15:23:16 +02:00
Daniel
63b2955d3f
Added winapi dependency
2019-04-10 15:23:16 +02:00
Daniel
6a022c01bf
Compiles on Windows with new windows_utils module
...
windows_utils will be responsible for safely wrapping WinAPI calls. This
should result in minimal changes to the interfaces of the existing
modules: all that is needed is new (very simple) constructors.
2019-04-10 15:23:16 +02:00
João Costa
0dbc3b3a62
Make the --tree flag respect the --group-dirs value
2019-04-07 20:33:42 +02:00
H. Emre ARI
fa77894e61
change match to if for display enum
2019-04-01 20:42:04 +02:00
H. Emre ARI
9abab3fb65
add Display enum
2019-04-01 20:42:04 +02:00
H. Emre ARI
e33cde9248
fix wrong names
2019-04-01 20:42:04 +02:00
H. Emre ARI
ecec3ec9e5
add overrides_with to -a and -A flag
2019-04-01 20:42:04 +02:00
H. Emre ARI
d8eaecd30a
add almost-all flag
2019-04-01 20:42:04 +02:00
H. Emre ARI
4485087759
fix crash when given file doesn't exist
2019-04-01 20:42:04 +02:00
H. Emre ARI
b0c75f47cf
add almost-all flag
2019-04-01 20:42:04 +02:00
H. Emre ARI
709c139dd4
remove if-else check from mod and almost-all flag from flags
2019-04-01 20:42:04 +02:00
H. Emre ARI
cda15d1714
fix lsd -lh .. crash
2019-04-01 20:42:04 +02:00
H. Emre ARI
d35afe5d66
fix typo
2019-04-01 20:42:04 +02:00
H. Emre ARI
429fa52838
fix issue about --all option when displaying . and ..
2019-04-01 20:42:04 +02:00
H. Emre ARI
e5f3a27ce2
show current and parent directory issue#112
2019-04-01 20:42:04 +02:00
Abin Simon
fa6146cc5c
change size option 'small' to 'short'
2019-03-30 16:27:15 +01:00
Abin Simon
e6de6d54f0
add a new way to style size
2019-03-29 17:11:48 +01:00
Abin Simon
854ed96594
change from two spaces to one
2019-03-29 11:30:37 +05:30
Abin Simon
0d20479c0f
stick to user colors for permissions
2019-03-29 11:30:37 +05:30
Abin Simon
2426efd5b0
bugfix: only one value for multi value options in clap
2019-03-27 14:10:38 +01:00
sal0max
4cc852cdc4
Added macOS installation instruction
...
…via Homebrew package manager
2019-03-15 13:24:06 +01:00
Matthias Beyer
bd25db9a04
Add "manual" clap alias for -A
...
This is requested as a feature, but because clap does not support
"short" aliases, we have to create another clap argument for this.
Not the best possible way to implement this (because the best way would
be to patch clap itself to allow short aliases) but the fastest one.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-03-15 14:16:39 +05:30
Peltoche
d81a6f97c9
Release 1.14.0
2019-03-12 13:13:16 +01:00