Commit graph

501 commits

Author SHA1 Message Date
Abin Simon
1e6b2c6e67 fix tests for flags as ref 2019-06-09 13:02:05 +02:00
Abin Simon
dd5e8733f2 enable only certain blocks using --blocks 2019-06-09 13:02:05 +02:00
Thomas Paulmyer
d300d197f0 remove gometalinter.json 2019-06-07 11:13:03 +02:00
Abin Simon
b1b78a208b add *-unknown-linux-musl to travis 2019-06-05 17:43:55 +02:00
Pierre Peltier
6d155cb9ed
Create FUNDING.yml 2019-06-04 15:55:47 +02:00
Thomas Magalhaes
3cb41aff69 core: code-cleanup: cleaner handling of tree layout boolean 2019-05-29 13:54:30 +05:30
Thomas Magalhaes
a4f6b4bc18 flags: allow to mix --long and --tree
Refs: #185
Closes: #204
2019-05-29 13:54:30 +05:30
Peltoche
2c2a06f81e Remove the '--classic' flag for snap 2019-05-27 14:39:18 +02:00
Peltoche
7b536ca854
Release 0.15.1 2019-05-24 18:05:12 +02:00
Peltoche
c171e2e010
Update the CHANGELOG 2019-05-24 18:04:13 +02:00
Gavin Panella
edfee423a3 Fix listing of user-given arguments. 2019-05-24 17:58:09 +02:00
Bernardo Meurer
97934e8d8d Fix Gentoo installation instructions
This makes it more in line with the instructions for other distros.
2019-05-24 13:44:36 +02:00
Glen Holcomb
89b3ca552f Fixes Cargo.lock icon 2019-05-24 11:44:13 +02:00
Peltoche
16890f9a79
Release 0.15.0 2019-05-23 13:45:35 +02:00
Peltoche
73c1fd9886
Update the changelog 2019-05-23 13:37:57 +02:00
Peltoche
f78ee813af Add a appveyor config file 2019-05-21 17:34:44 +02:00
Peltoche
4c23c2d96f
Update the Credits section 2019-05-21 14:41:36 +02:00
Helmut Januschka
265a18bb21 * add --sizesort/-S and sort by filesize
* modify display/fetch to also show folder size (they have sizes)
2019-05-21 14:40:16 +02:00
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