1. 29 6月, 2015 2 次提交
  2. 28 6月, 2015 1 次提交
    • B
      Add --grid --long option · ccdf9ff4
      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.
      ccdf9ff4
  3. 17 6月, 2015 1 次提交
  4. 09 6月, 2015 2 次提交
  5. 21 5月, 2015 1 次提交
  6. 17 5月, 2015 3 次提交
  7. 12 5月, 2015 5 次提交
  8. 10 5月, 2015 1 次提交
    • B
      Add colours module, and disable them sometimes · 36116a14
      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.
      36116a14
  9. 08 5月, 2015 1 次提交
  10. 03 5月, 2015 1 次提交
  11. 23 4月, 2015 1 次提交
    • B
      Use new io + path + fs libraries (LOTS OF CHANGES) · adbaa51c
      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.
      adbaa51c
  12. 07 4月, 2015 1 次提交
  13. 04 4月, 2015 1 次提交
    • B
      Upgrade to latest Rust · f8855681
      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
      f8855681
  14. 26 3月, 2015 1 次提交
    • B
      Move all optional features into features module · 2ffa64cf
      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.
      2ffa64cf
  15. 11 3月, 2015 3 次提交
  16. 02 3月, 2015 1 次提交
  17. 26 2月, 2015 3 次提交
  18. 25 2月, 2015 3 次提交
  19. 24 2月, 2015 1 次提交
  20. 23 2月, 2015 3 次提交
  21. 22 2月, 2015 4 次提交
    • N
      Rename attr to xattr · 3d587c45
      nwin 提交于
      3d587c45
    • N
      Fix other platforms than macos. · 227ddc9a
      nwin 提交于
      227ddc9a
    • N
      Implement display of extended attributes · 48b61231
      nwin 提交于
      48b61231
    • B
      Add sort-by-date options · a4e17193
      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.
      a4e17193