1. 14 12月, 2015 3 次提交
    • J
      Move CString to where it's actually used · 92328d90
      Jan Beich 提交于
      src/feature/xattr.rs:6:5: 6:22 warning: unused import, #[warn(unused_imports)] on by default
      src/feature/xattr.rs:6 use std::ffi::CString;
                                 ^~~~~~~~~~~~~~~~~
      92328d90
    • J
      Fix logic inversion with --git in --help · b35927f2
      Jan Beich 提交于
      $ exa --help
      [...]
        -@, --extended     display extended attribute keys and sizes
      
      $ exa -@
      Unrecognized option: '@'.
      
      $ exa --extended
      Unrecognized option: 'extended'.
      
      $ exa --git
      Option --git is useless without option --long.
      
      $ exa -l --git
      .rw-r--r--  11k user 10 Dec 18:26 -- Cargo.lock
      [...]
      b35927f2
    • J
      Fix getting tty window size on more BSDs · b9eb3648
      Jan Beich 提交于
      src/term.rs:37:39: 37:49 error: unresolved name `TIOCGWINSZ` [E0425]
      src/term.rs:37     let result = ioctl(STDOUT_FILENO, TIOCGWINSZ, &mut window);
                                                           ^~~~~~~~~~
      b9eb3648
  2. 24 11月, 2015 1 次提交
    • B
      Update screenshots · f3e6a996
      Ben S 提交于
      GitHub's new, wider view makes two screenshots side-to-side look nicer than one.
      f3e6a996
  3. 19 11月, 2015 7 次提交
  4. 16 11月, 2015 5 次提交
    • B
      Rearrange trait definitions in options · ceae7e74
      Ben S 提交于
      This puts the impls for the structs defined in the module first, then impls for the structs defined in the columns module second.
      ceae7e74
    • B
      Use lazy_static to cache datetime formats · e07992d0
      Ben S 提交于
      One of those two date formats was re-compiled before any date was displayed. Now they are compiled only the first time they're used, and cached versions are used thereafter, resulting in a speedup.
      e07992d0
    • B
      Merge branch 'better-options' · 021655fa
      Ben S 提交于
      021655fa
    • B
      Improve help text · edeec0f6
      Ben S 提交于
      Instead of using the getopts crate’s dynamically-generated usage string, use a more static one:
      
      - The options are organised by category now
      - You can use `--help --long` to display only the ones that pertain to `--long`
      - They’re aligned in a table sort of way
      
      It could be generated statically, because all the options to change it are determined at compile time, but they’re not, yet...
      edeec0f6
    • B
      Move time type picking to details module · 590fb9cd
      Ben S 提交于
      Technically speaking, picking which timestamp to show for a file is a function of an output module, rather than the file itself. This also means that the `output::column` and `file` modules are now completely separate.
      590fb9cd
  5. 15 11月, 2015 5 次提交
    • B
      Avoid cloning the file names vector · ca65c981
      Ben S 提交于
      By taking the file names as a mutable vector, we can avoid having to allocate a new one when it’s empty. The recent changes to Options::getopts have made it more obvious that we could move the same vector out of getopts’s matches, instead of cloning it there.
      ca65c981
    • B
      Options and FileFilter are also deducible · 2efaf7ec
      Ben S 提交于
      We may as well use this trait now that it’s available!
      2efaf7ec
    • B
      Extract 'bad argument' method · 534d3c3f
      Ben S 提交于
      534d3c3f
    • B
      Inline SortField::from_word · 8b9f074d
      Ben S 提交于
      With the new OptionSet trait, the from_word constructor doesn't really do much by itself.
      8b9f074d
    • B
      Move many Options structs to the output module · 10468797
      Ben S 提交于
      This cleans up the options module, moving the structs that were *only* in use for the columns view out of it.
      
      The new OptionSet trait is used to add the ‘deduce’ methods that used to be present on the values.
      10468797
  6. 05 11月, 2015 2 次提交
  7. 04 11月, 2015 12 次提交
  8. 03 11月, 2015 2 次提交
    • B
      Upgrade to latest ansi_term · 63bd929e
      Ben S 提交于
      Changes to the way ANSIStrings work mean we need to dereference the strings before putting them in an ANSIString. There's more that can be done here, but this gets it to compile for now.
      63bd929e
    • B
      Feature slice_splits and vec_resize stabilised · bc470732
      Ben S 提交于
      As of rustc 1.6.0-nightly (1a2eaffb6 2015-10-31), anyway.
      bc470732
  9. 30 10月, 2015 1 次提交
  10. 19 10月, 2015 1 次提交
  11. 02 10月, 2015 1 次提交