1. 22 2月, 2015 9 次提交
    • N
      Rename attr to xattr · 3d587c45
      nwin 提交于
      3d587c45
    • N
      Fix other platforms than macos. · 227ddc9a
      nwin 提交于
      227ddc9a
    • N
      remove debug print · a3460cf0
      nwin 提交于
      a3460cf0
    • N
      Implement display of extended attributes · 48b61231
      nwin 提交于
      48b61231
    • N
      Replace &String with &str · 376e417c
      nwin 提交于
      376e417c
    • C
      Use file_name_width in grid · 43e80619
      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.
      43e80619
    • 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
    • B
      Mandate --recurse with --tree · f8768e7c
      Ben S 提交于
      Fixes #7.
      f8768e7c
    • B
      Code cleanups in filetype detection · 363d52db
      Ben S 提交于
      363d52db
  2. 21 2月, 2015 1 次提交
    • B
      Upgrade to latest Rust · b2ed264b
      Ben S 提交于
      - Feature flags changes (old_io, old_path)
      - Slice syntax changes ([] -> [..])
      b2ed264b
  3. 14 2月, 2015 2 次提交
  4. 13 2月, 2015 1 次提交
    • B
      Upgrade to latest Rust · ec51867a
      Ben S 提交于
      - Update package versions
      - locale::default -> locale::english
      - Argument handling changes
      ec51867a
  5. 11 2月, 2015 4 次提交
    • B
      Translate month names into the user's locale · 2906b867
      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.
      2906b867
    • B
      Use locale-defined decimal separator · e39a20a5
      Ben S 提交于
      Also, fix the broken tests by just using the default locale at test
      time.
      e39a20a5
    • B
      Add thousands seps to links and blocks columns · 84b18e55
      Ben S 提交于
      84b18e55
    • B
      Format file size in bytes with the user's locale · 21ac16f8
      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.
      21ac16f8
  6. 10 2月, 2015 9 次提交
  7. 08 2月, 2015 1 次提交
  8. 05 2月, 2015 3 次提交
    • B
      Upgrade to latest Rust · 055854d8
      Ben S 提交于
      - std::os -> std::env
      055854d8
    • B
      Refactor the code after tree view changes · 42ae7b3d
      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.
      42ae7b3d
    • B
      Use the new IntoIterator trait · 5f2acf57
      Ben S 提交于
      See RFC 235
      5f2acf57
  9. 04 2月, 2015 7 次提交
  10. 03 2月, 2015 3 次提交
    • B
      Make filename not a column · 827a1e11
      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.
      827a1e11
    • B
      Replace tuple with actual struct · f8253979
      Ben S 提交于
      f8253979
    • B
      Initial tree implementation · 5099b3f1
      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.
      5099b3f1