- 29 6月, 2015 2 次提交
- 28 6月, 2015 1 次提交
-
-
由 Ben S 提交于
This commit adds --grid, which, when used with --long, will split the details into multiple columns. Currently this is just 2 columns, but in the future it will be based on the width of the terminal. In order to do this, I had to do two things: 1. Add a `links` parameter to the filename function, which disables the printing of the arrow and link target in the details view. When this is active, the columns get way too large, and it becomes not worth it. 2. Change the `print_table` function from actually printing the table to stdout to returning a list of `Cells` based on the table. This list then gets its width measured to calculate the width of the resulting table.
-
- 17 6月, 2015 1 次提交
-
-
由 Michael Neumann 提交于
-
- 09 6月, 2015 2 次提交
- 21 5月, 2015 1 次提交
-
-
由 Ben S 提交于
-
- 17 5月, 2015 3 次提交
- 12 5月, 2015 5 次提交
-
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
It's now in the locals of the Table struct, and didn't really belong in the column anyway.
-
由 Ben S 提交于
The benefit of having these all as separate methods instead of using the same trait is that we can just pass parameters in like this!
-
由 Ben S 提交于
And move all the rendering, ansi_term, colourful stuff into the output modules, which is the only place they should be used!
-
- 10 5月, 2015 1 次提交
-
-
由 Ben S 提交于
Colours are now disabled when output is not to a terminal. Fixes #53! This required some internal restructuring - colours are now in their own object that gets passed around everywhere it's needed.
-
- 08 5月, 2015 1 次提交
-
-
由 Ben S 提交于
-
- 03 5月, 2015 1 次提交
-
-
由 Ben S 提交于
-
- 23 4月, 2015 1 次提交
-
-
由 Ben S 提交于
Exa now uses the new IO, Path, and Filesystem libraries that have been out for a while now. Unfortunately, the new libraries don't *entirely* cover the range of the old libraries just yet: in particular, to become more cross-platform, the data in `UnstableFileStat` isn't available in the Unix `MetadataExt` yet. Much of this is contained in rust-lang/rfcs#1044 (which is due to be implemented in rust-lang/rust#14711), but it's not *entirely* there yet. As such, this commits a serious loss of functionality: no symlink viewing, no hard links or blocks, or users or groups. Also, some of the code could now be optimised. I just wanted to commit this to sort out most of the 'teething problems' of having a different path system in advance. Here's an example problem that took ages to fix for you, just because you read this far: when I first got exa to compile, it worked mostly fine, except calling `exa` by itself didn't list the current directory. I traced where the command-line options were being generated, to where files and directories were sorted, to where the threads were spawned... and the problem turned out to be that it was using the full path as the file name, rather than just the last component, and these paths happened to begin with `.`, so it thought they were dotfiles.
-
- 07 4月, 2015 1 次提交
-
-
由 Ben S 提交于
Fixes #55.
-
- 04 4月, 2015 1 次提交
-
-
由 Benjamin Sago 提交于
Still missing a few Beta features, but it compiles! - Copy requires Clone - current_dir returns a Path now - num_cpus moved to a crate
-
- 26 3月, 2015 1 次提交
-
-
由 Ben S 提交于
This module provides feature-specific implementations, and also dummy implementations for when they aren't supported by the system or OS. Doing it this way limits all the #[cfg(feature)] annotations, as we can now just include the module or not.
-
- 11 3月, 2015 3 次提交
-
-
由 Pascal Hertleif 提交于
-
由 Pascal Hertleif 提交于
-
由 Pascal Hertleif 提交于
Closes #47
-
- 02 3月, 2015 1 次提交
-
-
由 Ben S 提交于
-
- 26 2月, 2015 3 次提交
- 25 2月, 2015 3 次提交
- 24 2月, 2015 1 次提交
-
-
由 Ben S 提交于
See #24
-
- 23 2月, 2015 3 次提交
-
-
由 nwin 提交于
-
由 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.
-
由 Steven Allen 提交于
-
- 22 2月, 2015 4 次提交
-
-
由 nwin 提交于
-
由 nwin 提交于
-
由 nwin 提交于
-
由 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.
-