- 22 2月, 2015 9 次提交
-
-
由 nwin 提交于
-
由 nwin 提交于
-
由 nwin 提交于
-
由 nwin 提交于
-
由 nwin 提交于
-
由 Corey Ford 提交于
Filenames with characters that need multiple bytes in UTF-8, and/or control characters like combining diacritics, would break the grid. `StrExt::width` seems to do the right thing, and there's conveniently a function here (which was otherwise unused) to call that.
-
由 Ben S 提交于
These were completely missing because I forgot about them... I added sorting functionality before I added date functionality, but it turns out I didn't even need the datetime library to do this! However, this implementation feels incomplete. If you sort by the accessed date, it still displays the modified date, so the dates still look out of order. If I were to change the date column for the user, though, then there would still be no header to signify that the column has changed. I'm not sure how to proceed with this, but this is still missing functionality, so in it goes.
-
由 Ben S 提交于
Fixes #7.
-
由 Ben S 提交于
-
- 21 2月, 2015 1 次提交
-
-
由 Ben S 提交于
- Feature flags changes (old_io, old_path) - Slice syntax changes ([] -> [..])
-
- 14 2月, 2015 2 次提交
- 13 2月, 2015 1 次提交
-
-
由 Ben S 提交于
- Update package versions - locale::default -> locale::english - Argument handling changes
-
- 11 2月, 2015 4 次提交
-
-
由 Ben S 提交于
This has been mostly done with changes in the datetime crate's suddenly supporting locales. It's still important that the user's locale is touched only once and cached from that point on, so a struct in output::details has been made public, along with that module. This will change later as that object gains more and more uses thoughout the codes.
-
由 Ben S 提交于
Also, fix the broken tests by just using the default locale at test time.
-
由 Ben S 提交于
-
由 Ben S 提交于
Use the `locale` crate as a dependency to read in the set thousands-separator character, and pass this to the file size column, which uses it to add the separators in. en_GB uses "," fr_FR uses "" and just displays the numbers in one go.
-
- 10 2月, 2015 9 次提交
-
-
由 Ben S 提交于
-
由 Ben S 提交于
Otherwise, just display the hour and minute.
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
Add options -u, -U, and -m as shorthand options for displaying different types of timestamp, not just one. It's possible to have more than one by specifying more than one of these shorthands, but *not* when used with --time, as this is only meant to display one at a time.
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
Using the datetime crate, add an extra column to the --long view that prints out the modified, accessed, or created timestamp for each file. Also, let the user pick which one they want to see based on the --time command-line option.
-
- 08 2月, 2015 1 次提交
-
-
由 Ben S 提交于
-
- 05 2月, 2015 3 次提交
-
-
由 Ben S 提交于
- std::os -> std::env
-
由 Ben S 提交于
- Turn the views and main program loop into structs, rather than just as one gigantic function - Separate views into their own files The addition of the git column and the tree view meant that a lot of functions now just took extra arguments that didn't seem to fit. For example, it didn't really work to have only one 'view' method that printed out everything, as the different view options now all take different parameters.
-
由 Ben S 提交于
See RFC 235
-
- 04 2月, 2015 7 次提交
- 03 2月, 2015 3 次提交
-
-
由 Ben S 提交于
FileName was always a special-cased column, as it was assumed to be the last column in the output. Now, it's explicitly marked as such. This allows the hash marks to be placed before the filename, rather than at the start of the line.
-
由 Ben S 提交于
-
由 Ben S 提交于
There's still a lot to do, but this is actually *something*. The tree hierarchy is displayed using hashes at the start of a line. I want to have it just before the filename, but this will need some changes to the way that columns are handled.
-