summaryrefslogtreecommitdiffstats
path: root/Cargo.lock
AgeCommit message (Collapse)Author
2016-10-05Versions bump. Oh, and checksums!Benjamin Sago
2016-03-31Use only the time zone data present on the systemBen 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.
2016-03-31Versions bumpsBen S
2016-03-18Fix my own broken changesBenjamin Sago
- Fix visibility errors I stupidly didn't test before committing earlier today - Silence warnings about casting that were necessary for ARM - Update dependencies
2016-03-13Update Cargo dependenciespetevine
2016-02-10Finally upgrade to a working zoneinfo_compiledBen S
Travis didn't like the old versions.
2016-02-10Versions bump (temporary, ignore this)Ben S
2016-02-10Improve system time zone detectionBen S
2016-02-10Update packages to latest versionsBen 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
2016-01-22Versions bumpBen S
2015-12-17Replace Cells with growable TextCellsBenjamin 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
2015-12-15Versions bumpBenjamin Sago
2015-11-18Upgrade versions to working onesBen S
2015-11-15Use lazy_static to cache datetime formatsBen 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.
2015-11-04Pin versions to those we know workBen S
2015-11-03Upgrade to latest ansi_termBen 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.
2015-10-30Upgrade Rust version necessaryBen S
2015-10-18Version v0.4.0v0.4.0Ben S
2015-10-02Pin to git2-rs version 0.3Ben S
This should prove more stable than relying on a Git version.
2015-09-21Upgrade to latest version of datetime crateBen S
- VariableOffset -> TimeZone::VariableOffset
2015-09-15Versions bump (git2, winapi)Benjamin Sago
2015-09-04Remove pad crate and unnecessary qualificationsBen S
2015-09-02Update rust-tz, amongst othersBen S
2015-09-02Parallelise the details view!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 :)
2015-08-25Versions bumpBen S
2015-07-15Updates for term-gridBen S
The separator_width field in the term_grid crate was replaced with a filling field.
2015-07-09updates libgit2 to build on latest nightlyKevin K
2015-06-29Require functionality from new term_gridBen S
2015-06-28Versions bumpBen S
2015-06-23Use term_grid crate for grid formattingBen S
Fixes #39!
2015-06-21The feature flags wheel keeps on turning...Ben S
2015-06-05Version bump!v0.3.0Ben S
2015-06-05Start using threadpool crateBen S
2015-06-04Display dates with the host's timezoneBen S
Fixes #54 using the datetime crate's spiffy new time zone ability.
2015-05-29Versions bumpBen S
2015-05-16Start using the libc crate from crates.ioBen S
2015-05-09Add colours module, and disable them sometimesBen 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.
2015-05-06Friendly neighbourhood versions bumpBen S
2015-05-03Re-implement no-longer-missing metadata fieldsBen S
2015-05-03Versions bumpBen S
2015-04-23Use unicode_width crateBen S
2015-04-23Use new io + path + fs libraries (LOTS OF CHANGES)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.
2015-04-09Bump versions yet againBen S
2015-04-04One last version bump for the road...Benjamin Sago
2015-04-04Upgrade to latest RustBenjamin 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
2015-03-26Versions bump for latest RustBen S
- Changes to users crate
2015-03-22Upgrade to latest RustBen S
- old_path::Path isn't imported by default anymore - range -> ..
2015-03-22Versions bumpBen S
2015-03-17Versions bumpBen S
2015-03-12Versions bumpBen S