summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2015-07-15Updates for term-gridBen S
The separator_width field in the term_grid crate was replaced with a filling field.
2015-06-29Extract some methodsBen S
2015-06-29Allow using --across with --long --gridBen S
2015-06-28Fix bug where unfilled displays were being checkedBen S
2015-06-28Re-add missing failing option combinationsBen S
2015-06-28Cache the rendered cellsBen S
Previously, each time it tried to render a table (to check its width), it both re-queried the filesystem and re-formatted the values into coloured strings. These values are now calculated only once before the table is drawn, and are used repeatedly throughout. Although it looks as though there's more `clone()`ing going on than before, it used to be recalculating things and storing them as vectors anyway, so the memory would still be used in any case.
2015-06-28Go top-to-bottom, not left-to-rightBen S
2015-06-28Adapt the long grid view to the console widthBen S
2015-06-28Add --grid --long optionBen S
This commit adds --grid, which, when used with --long, will split the details into multiple columns. Currently this is just 2 columns, but in the future it will be based on the width of the terminal. In order to do this, I had to do two things: 1. Add a `links` parameter to the filename function, which disables the printing of the arrow and link target in the details view. When this is active, the columns get way too large, and it becomes not worth it. 2. Change the `print_table` function from actually printing the table to stdout to returning a list of `Cells` based on the table. This list then gets its width measured to calculate the width of the resulting table.
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-17Remove a few feature flagsBenjamin Sago
2015-06-17Fix terminal window size for DragonFlyMichael Neumann
2015-06-17Move dummy xattr Attribute implementation into its own module.Michael Neumann
2015-06-17metadata.as_raw() is gone in nightlyMichael Neumann
2015-06-08Typo fixBen S
2015-06-08Various unimportant style changesBen 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-29Fix failing test codeBen S
2015-05-29Use new ansi-termBen S
- Plain -> Style::default()
2015-05-26Merge branch 'master' of github.com:ogham/exaBen S
2015-05-24fix compile errors if git support is disabledMarkus Engelbrecht
2015-05-21Minuscule code cleanupBen S
2015-05-21StatResult::Path -> DirBen S
2015-05-16Generify Table to be used in tests once againBen S
Finally! The benefit of having all the field-rendering code (in details.rs) separate from the value-getting code (in file.rs) is that rendering them can be tested again.
2015-05-16Add Default instances in OptionsBen S
2015-05-16Replace the tests for File with the working subsetBen S
2015-05-16Rename 'stat' -> 'metadata'Ben S
2015-05-16Add some more comments and spacingsBen S
2015-05-16Remove space when no file has extended attributesBen S
There would be an extra column, and it looked unsightly. Unsightly! This also removes the last specific style from the details view (Plain).
2015-05-16Start using the libc crate from crates.ioBen S
2015-05-12Lifetime-renaming action!Ben S
2015-05-12Lifetime-eliding action!Ben S
2015-05-12Move Git render_char to its own methodBen S
2015-05-12Fix Git colours to be actually correctBen S
2015-05-12Move File fields to their own moduleBen S
2015-05-12Minor whitespace changesBen S
2015-05-12Where do all these tabs keep coming from?Ben S
2015-05-12The locals struct is no longer necessaryBen S
2015-05-12Remove year field on timestamp columnBen S
It's now in the locals of the Table struct, and didn't really belong in the column anyway.
2015-05-12Move size_format into render_size methodBen S
The benefit of having these all as separate methods instead of using the same trait is that we can just pass parameters in like this!
2015-05-12Remove redundant importsBen S
2015-05-12Move renderers from traits to Table objectBen S
2015-05-11Fix size numbers boldingBen S
2015-05-11Make executable files' 'x's underlined againBen S
2015-05-11Add the file type column back inBen S
2015-05-11Turn File into simply a data sourceBen S
And move all the rendering, ansi_term, colourful stuff into the output modules, which is the only place they should be used!
2015-05-10Finally, do the same for the Git column.Ben S
2015-05-10Do the same for the Git columnBen S