- 23 2月, 2015 15 次提交
-
-
由 Ben S 提交于
Fixes #26.
-
由 Ben S 提交于
The old implementation blindly assumed that a symlink target would have a directory compoment, which the current directory, parent directory, and root directory technically don't have. Fixes #20.
-
由 Ben S 提交于
Optimize Builds
-
由 Steven Allen 提交于
lto makes exa slightly faster and much smaller. I specify the other options to make them explicit. Note: lto makes compiling take quite a bit longer.
-
由 Steven Allen 提交于
-
由 Ben S 提交于
Improve matching of Git status entries to files
-
由 Corey Ford 提交于
The logic of the previous version wasn't correct. Also, presuming natural ordering of full filenames is still reasonable when the extensions are identical.
-
由 Ben S 提交于
Get rid of explicit `as_slice()` calls
-
由 Ben S 提交于
Fix the column alignment
-
由 nwin 提交于
-
由 Corey Ford 提交于
The challenge is that the paths returned from libgit2's status listing are from the perspective of the Git repository and thus effectively relative to the working tree root, while the other paths we're manipulating are (potentially) relative to our current working directory. So, if those two aren't identical (if running from outside the working tree, or from a subdirectory), the paths won't match up. A reasonably reliable way around this is to resolve both types of paths to absolute paths before comparing them. This fixes #15 at a basic level, anyway. What still doesn't work: referring to the working tree or one of its descendants via a symlink. For that, we'd probably need to fully resolve symlinks in the file path. (The unwrap_or()'s are messy and will probably just result in missing status information, but then, what information could you hope to get without having both a current working directory and a Git working tree?)
-
由 nwin 提交于
-
由 nwin 提交于
-
由 Steven Allen 提交于
-
由 nwin 提交于
-
- 22 2月, 2015 8 次提交
-
-
由 Ben S 提交于
Use file_name_width in grid
-
由 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 提交于
FIX bitflags depedency
-
由 Ben S 提交于
Fixes #7.
-
由 Michael Faille 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
- 21 2月, 2015 2 次提交
- 17 2月, 2015 1 次提交
-
-
由 Ben S 提交于
-
- 14 2月, 2015 2 次提交
- 13 2月, 2015 2 次提交
- 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 6 次提交