1. 16 6月, 2014 1 次提交
    • B
      256-colour support · 64770d0a
      Ben S 提交于
      Add a Fixed(u8) constructor to Colour, which represents the 256 colours
      that some terminals support. This means we can:
      
      - stop using black bold to mean grey, which looks weird on terminals
        that haven't been set up to use it;
      - support a *lot* more file type colours.
      
      I'm a little suspicious of how much string allocation is being done in
      colours.rs, but that's a problem for another time.
      64770d0a
  2. 04 6月, 2014 3 次提交
    • B
      Switch to Linux · f2ae611b
      Ben S 提交于
      f2ae611b
    • B
      Darken file size suffixes · bc4df2cf
      Ben S 提交于
      I think this is necessary because 'bytes' currently has no 'B' suffix, and it's
      kind of hard to distinguish a long number from a suffix.
      bc4df2cf
    • B
      Right-align file sizes · e5e426fc
      Ben S 提交于
      Currently there's only one numeric column, and that's the file size, so it gets
      special treatment.
      
      I was originally going to have a folder file size field be filled up with '-'s
      as far as it could go, leaving it entirely up to the column how its field gets
      formatted. But then I saw just one '-' working just fine, so I left it like
      that. In the first try, columns could do anything they want when padding a
      string (including changing the padding character or just changing it entirely),
      but now there's no point.
      e5e426fc
  3. 03 6月, 2014 1 次提交
  4. 01 6月, 2014 3 次提交
  5. 28 5月, 2014 1 次提交
  6. 27 5月, 2014 2 次提交
  7. 26 5月, 2014 7 次提交
  8. 25 5月, 2014 3 次提交
    • B
      Change format of file sizes to be shorter · b116889a
      Ben S 提交于
      I'm copying ls here because we don't really need the 'B' for bytes to be
      listed every time. I think it looks better the new way. Unlike ls, don't
      list directory sizes, because I've never found the pseudo-sizes they get
      given at all useful.
      
      Also, fix a bug where aligning columns didn't work when the number of
      format characters (like '\x1B' and '[') were different between each
      line.
      b116889a
    • B
      Add reverse parameter · d60c2ce8
      Ben S 提交于
      d60c2ce8
    • B
      Add colouring for media and compressed files · 4d1aea12
      Ben S 提交于
      4d1aea12
  9. 24 5月, 2014 4 次提交
  10. 22 5月, 2014 5 次提交
  11. 05 5月, 2014 5 次提交
    • B
      Add user and group columns · d76fee73
      Ben S 提交于
      This meant writing some libc interaction, which wasn't actually too bad.
      d76fee73
    • B
      Upgrade to latest Rust nightly · d6e34723
      Ben S 提交于
      Replace ~strs with either &'static strs or .to_owned() strs where appropriate
      Fields now seem to be private by default - good!
      d6e34723
    • B
      Fix various warnings · e4cee378
      Ben S 提交于
      e4cee378
    • B
      Split source out into multiple files · 10b8f6f4
      Ben S 提交于
      Also, reverse the way columns are rendered: before, a column took a stat and a name to render; now, a file takes a column type to render. This means that most of the File data/methods can be private.
      10b8f6f4
    • B
      Add --all command-line option · e0fc84e8
      Ben S 提交于
      Also add command-line-option-handling code.
      e0fc84e8
  12. 04 5月, 2014 1 次提交
  13. 03 5月, 2014 3 次提交