1. 18 5月, 2017 2 次提交
  2. 03 5月, 2017 1 次提交
  3. 29 4月, 2017 1 次提交
  4. 11 4月, 2017 1 次提交
  5. 02 4月, 2017 1 次提交
    • B
      Fix a merge mistake · 1a606632
      Benjamin Sago 提交于
      The last PR was meant to remove the duplicate bitflags, but I think I messed it up and another one crept in.
      1a606632
  6. 01 4月, 2017 1 次提交
  7. 31 3月, 2017 1 次提交
    • S
      Update dependencies · 2b2e973c
      Steven Allen 提交于
      * Also remove bitflags as it isn't used.
      * Don't update ansi_term as ANSIString is no longer Clone.
      2b2e973c
  8. 27 3月, 2017 1 次提交
  9. 30 10月, 2016 1 次提交
    • B
      Basic glob ignoring · 95596297
      Ben S 提交于
      See #97 and recently #130 too.
      
      This allows the user to pass in options such as "--ignore '*.pyc'" to not list any files ending in '.pyc' in the output. It uses the Rust glob crate and currently does a simple split on pipe, without any escaping, so it’s not really *complete*, but is at least something.
      95596297
  10. 06 10月, 2016 1 次提交
  11. 01 4月, 2016 2 次提交
    • B
      Use only the time zone data present on the system · ee4c09dd
      Ben S 提交于
      Thinking about it, it doesn't make sense to use an *external* time zone source when the program we want to compare it to, ls, uses the system one. So just use the system one.
      
      Also, handle the case where the time zone data file can't be loaded by showing the files in UTC rather than falling over and quitting.
      ee4c09dd
    • B
      Versions bumps · 1dd9e615
      Ben S 提交于
      1dd9e615
  12. 18 3月, 2016 1 次提交
    • B
      Fix my own broken changes · d3846468
      Benjamin Sago 提交于
      - Fix visibility errors I stupidly didn't test before committing earlier
        today
      - Silence warnings about casting that were necessary for ARM
      - Update dependencies
      d3846468
  13. 13 3月, 2016 1 次提交
  14. 11 2月, 2016 3 次提交
  15. 10 2月, 2016 1 次提交
    • B
      Update packages to latest versions · 75b2748a
      Ben S 提交于
      - Users v0.5.1, which renames OSUsers to UsersCache
      - Locale v0.2, which returns to libc v0.1
      - Datetime v0.4.2, which mimics the locale update, and puts timezone definitions in:
      - Zoneinfo-data, which is needed to obtain the current timezone
      75b2748a
  16. 22 1月, 2016 1 次提交
  17. 17 12月, 2015 1 次提交
    • B
      Replace Cells with growable TextCells · c911b5f6
      Benjamin Sago 提交于
      A recent change to ansi-term [1] means that `ANSIString`s can now hold either
      owned *or* borrowed data (Rust calls this the Cow type). This means that we
      can delay formatting ANSIStrings into ANSI-control-code-formatted strings
      until it's absolutely necessary. The process for doing this was:
      
      1. Replace the `Cell` type with a `TextCell` type that holds a vector of
         `ANSIString` values instead of a formatted string. It still does the
         width tracking.
      
      2. Rework the details module's `render` functions to emit values of this
         type.
      
      3. Similarly, rework the functions that produce cells containing filenames
         to use a `File` value's `name` field, which is an owned `String` that
         can now be re-used.
      
      4. Update the printing, formatting, and width-calculating code in the
         details and grid-details views to produce a table by adding vectors
         together instead of adding strings together, delaying the formatting as
         long as it can.
      
      This results in fewer allocations (as fewer `String` values are produced), and
      makes the API tidier (as fewer `String` values are being passed around without
      having their contents specified).
      
      This also paves the way to Windows support, or at least support for
      non-ANSI terminals: by delaying the time until strings are formatted,
      it'll now be easier to change *how* they are formatted.
      
      Casualties include:
      
      - Bump to ansi_term v0.7.1, which impls `PartialEq` and `Debug` on
        `ANSIString`.
      - The grid_details and lines views now need to take a vector of files, rather
        than a borrowed slice, so the filename cells produced now own the filename
        strings that get taken from files.
      - Fixed the signature of `File#link_target` to specify that the
        file produced refers to the same directory, rather than some phantom
        directory with the same lifetime as the file. (This was wrong from the
        start, but it broke nothing until now)
      
      References:
      
      [1]: ansi-term@f6a6579ba8174de1cae64d181ec04af32ba2a4f0
      c911b5f6
  18. 16 12月, 2015 1 次提交
  19. 19 11月, 2015 1 次提交
  20. 16 11月, 2015 1 次提交
    • 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
  21. 05 11月, 2015 1 次提交
  22. 03 11月, 2015 1 次提交
    • 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
  23. 30 10月, 2015 1 次提交
  24. 19 10月, 2015 1 次提交
  25. 02 10月, 2015 1 次提交
  26. 21 9月, 2015 1 次提交
  27. 16 9月, 2015 1 次提交
  28. 04 9月, 2015 1 次提交
  29. 03 9月, 2015 2 次提交
    • B
      Update rust-tz, amongst others · d089fcc1
      Ben S 提交于
      d089fcc1
    • B
      Parallelise the details view! · 4e49b91d
      Ben S 提交于
      This commit removes the threadpool in `main.rs` that stats each command-line argument separately, and replaces it with a *scoped* threadpool in `options/details.rs` that builds the table in parallel! Running this on my machine halves the execution time when tree-ing my entire home directory (which isn't exactly a common occurrence, but it's the only way to give exa a large running time)
      
      The statting will be added back in parallel at a later stage. This was facilitated by the previous changes to recursion that made it easier to deal with.
      
      There's a lot of large sweeping architectural changes. Here's a smattering of them:
      
      - In `main.rs`, the files are now passed around as vectors of files rather than array slices of files. This is because `File`s aren't `Clone`, and the `Vec` is necessary to give away ownership of the files at the appropriate point.
      - In the details view, files are now sorted *all* the time, rather than obeying the command-line order. As they're run in parallel, they have no guaranteed order anyway, so we *have* to sort them again. (I'm not sure if this should be the intended behaviour or not!) This means that the `Details` struct has to have the filter *all* the time, not only while recursing, so it's been moved out of the `recurse` field.
      - We use `scoped_threadpool` over `threadpool`, a recent addition. It's only safely used on Nightly, which we're using anyway, so that's OK!
      - Removed a bunch of out-of-date comments.
      
      This also fixes #77, mainly by accident :)
      4e49b91d
  30. 26 8月, 2015 1 次提交
  31. 16 7月, 2015 1 次提交
    • B
      Updates for term-grid · d710151e
      Ben S 提交于
      The separator_width field in the term_grid crate was replaced with a filling field.
      d710151e
  32. 09 7月, 2015 1 次提交
  33. 29 6月, 2015 1 次提交
  34. 28 6月, 2015 1 次提交
  35. 23 6月, 2015 1 次提交