Benjamin Sago
058b4a57bd
Bump users crate version
...
And remove an unnecessary allocation while we’re at it. Fixes #442
2018-12-07 00:59:05 +00:00
Benjamin Sago
2d8d8d9a5c
Merge pull request #444 from ariasuni/display-git-ignored-state
...
Display if a file is ignored by git
2018-12-06 21:17:48 +00:00
ariasuni
649744dc82
Use more accurate time to fix inconsistent sorting
2018-11-22 18:10:58 +01:00
ariasuni
80b0d9dd0d
Display if a file is ignored by git
2018-11-20 18:12:38 +01:00
Benjamin Sago
efb0ad522c
Merge pull request #435 from teresy/shorthand-fields
...
refactor: use shorthand fields
2018-11-13 08:12:16 +00:00
teresy
d63917af47
refactor: use shorthand fields
2018-11-06 17:43:01 -05:00
James Reed
7218fb4b6a
Document only-dirs option
2018-10-26 17:21:31 -06:00
James Reed
89a6e14e15
Move level option to correct group
2018-10-26 17:15:48 -06:00
Benjamin Sago
57e4c08411
Highlight README~ as temp, not immediate
...
Fixes #313 .
2018-10-14 16:21:13 +01:00
Benjamin Sago
c2bb986618
Replace Default impls that use state with fns
...
The Default impls for DefaultFormat and LoadFormat were originally called ‘new’, to which Clippy suggested that they be changed. But as these functions change based on what the year is, a function called something other than ‘new’, like ‘load’.
2018-10-13 22:15:10 +01:00
Benjamin Sago
ecc4138d56
Merge branch 'clippy_fixes' of https://github.com/thibran/exa into thibran-clippy_fixes
...
# Conflicts:
# src/options/view.rs
# src/style/lsc.rs
2018-10-13 22:07:35 +01:00
Benjamin Sago
8b4ebc2d6b
Merge branch 'master' of github.com:ogham/exa
2018-10-08 04:00:52 +01:00
Benjamin Sago
dc2009aef4
Parse more ANSI codes
...
Including more styles and 24-bit foregrounds and backgrounds. Also a comment about how this is kicking the can down the road.
Fixes #347 , mostly.
2018-10-08 04:00:09 +01:00
Benjamin Sago
ce3f05c4f5
Allow more zero padding in ANSI code parsing
...
Fixes #352
2018-10-08 03:01:15 +01:00
Lucas Rooyakkers
9b446c03e8
Add support for Apple's M4V format
2018-10-02 01:47:51 -04:00
Benjamin Sago
a4d9b5314f
Merge pull request #405 from Don42/feature_only_dirs
...
Flag for only showing directories
2018-09-27 21:01:15 +01:00
Benjamin Sago
3d796cf470
Merge pull request #397 from mopp/use_time_style_env_var
...
Use `TIME_STYLE` environment variable
2018-09-27 20:58:44 +01:00
Benjamin Sago
a8b5534d53
Merge pull request #373 from doy/directory-symlink
...
make exa on symlinks to directories show their contents
2018-09-26 20:58:18 +01:00
Marco 'don' Kaulea
5dffaf3076
Add period for consistency
2018-09-03 09:20:03 +02:00
Marco 'don' Kaulea
33167a2282
Add short option for only-dirs
2018-07-13 17:38:36 +02:00
Marco 'don' Kaulea
054cac6b82
Add option to only display directories
...
This allows printing directory trees without any files, only
showing the structure.
I haven't decided on a letter for the short option.
Implements #401
2018-07-12 18:51:14 +02:00
Thibaut Brandscheid
755876e9b6
fix most clippy warnings
2018-06-19 17:17:39 +02:00
mopp
991781070e
refers TIME_STYLE
environment variable if it exists and the argument is not given
2018-06-15 04:38:32 +09:00
Benjamin Sago
a3b2f2b3f4
Merge pull request #384 from spk/update-log
...
Update log to 0.4 and env_logger to 0.5
2018-05-28 10:50:23 +02:00
Benjamin Sago
55048f7ee2
Merge pull request #380 from kornelski/master
...
Replaced try!() with ?
2018-05-28 10:50:06 +02:00
Benjamin Sago
5438f949c9
Merge pull request #311 from martinlindhe/master
...
adjust some spelling
2018-05-28 10:47:38 +02:00
Laurent Arnoud
eff7122bb2
Update log to 0.4 and env_logger to 0.5
...
No change needed for ansi_term to 0.11
2018-05-03 19:40:04 +02:00
Kornel
2976b487ab
Replaced try!() with ?
2018-04-18 01:16:32 +01:00
Jesse Luehrs
9bb62fbd63
make exa on symlinks to directories show their contents
...
right now, `exa foo` and `exa foo/` behave differently, which is
confusing.
fixes https://github.com/ogham/exa/issues/192
2018-03-31 05:00:03 -04:00
Benjamin Sago
63a1035158
Merge pull request #355 from alexmaco/performance_tweaks
...
Create worker threads only once (for performance)
2018-03-16 17:23:58 +00:00
Benjamin Sago
9896f9ed78
Merge pull request #343 from BenWhitehead/mix-hidden-sorting
...
Add new sort option `.name` and `.Name`
2018-03-16 16:46:55 +00:00
Benjamin Sago
b16a78942c
Merge pull request #366 from dguo/ts-extension
...
Don't treat .ts as a video file extension
2018-03-15 20:42:26 +00:00
Benjamin Sago
3614f5513d
Merge pull request #356 from joshleeb/highlight-lowercase-readme
...
Case Insensitive README.* Files As immediate
2018-03-15 20:41:44 +00:00
Danny Guo
e711dbc0b6
Don't treat .ts as a video file extension
...
It's arguably more frequently used for TypeScript files.
2018-03-14 20:34:46 -04:00
Benjamin Sago
f757300718
Upgrade libgit2
...
The ogham/git2-rs repository that exa uses in the Vagrant VM has also been updated. The only casualty was that some constants got namespaced.
2018-03-11 11:25:06 +00:00
Benjamin Sago
48cdf22f46
Merge pull request #345 from ogham/exa/remove-unused-import
...
remove unused import
2018-03-11 09:43:33 +00:00
Benjamin Sago
9bd0334d1a
Merge pull request #342 from ogham/exa/patch-1
...
Add Bazel and ANT files to immediate files types
2018-03-11 09:41:09 +00:00
Josh Leeb-du Toit
d9c9dbe89e
Case insensitive README.* files are immediate
...
Files with the prefix `README` are now classified as immediate, meaning
they will be highlighted amongst other things, in a case insensitive
way.
2018-02-15 21:55:52 +11:00
Alexandru Macovei
8cbde76b4c
Create worker threads only once (for performance)
...
This improves performance by a factor of at least 2 in large --tree workloads by avoiding the repeated creation/destruction of the pool and containing threads.
Cycling pools also encountered lots lock contention, which accounted for most of the time saved by reusing a single pool.
2018-02-14 03:59:46 +02:00
Ryan Leung
e1a4ed87f2
add #[allow(unused)] for compatibility
2018-02-01 14:52:01 +08:00
Ryan Leung
7fb0347e93
remove unused import
2018-01-31 15:05:20 +08:00
BenWhitehead
a156d96768
Add new sort option .name
and .Name
...
Add two new sort options `.name` and `.Name` which with ignore a leading
`.` if present on the file name before sorting according to `name` and
`Name`.
This new sort is convenient if you want to list hidden and unhidden
files sorted together.
2018-01-30 15:01:56 -08:00
Marco Farrugia
c635031661
Add Bazel and ANT files to immediate files types
2018-01-28 19:26:37 -05:00
ne-sted
5fae489717
Update filetype.rs
...
add `zst` extension
2017-11-20 13:50:08 +02:00
Martin Lindhe
7b1ee01eb5
adjust some spelling
2017-10-31 06:24:31 +01:00
Benjamin Sago
c7497f3778
Display more information for non-release releases
2017-10-08 20:09:46 +01:00
Benjamin Sago
e154b58268
Move EXA_DEBUG variable to vars file
2017-10-08 17:24:50 +01:00
Benjamin Sago
a45bcfe058
Rename broken_arrow to broken_symlink
2017-10-08 17:08:07 +01:00
Benjamin Sago
91334d601c
Use colour traits when possible
2017-10-08 17:08:07 +01:00
Benjamin Sago
59d9e90f20
Replace “mi” colour with “bO” overlay
...
Fixes #288 , but more-or-less as a side-effect.
The “mi” key in LS_COLORS was meant to be used for a missing link path, but it wasn’t really used like that. There was also a bug where control characters in a broken symlink’s path were assumed to be underlined, because that’s what happened in the default colour scheme, but this assumption doesn’t hold when colours were disabled.
The solution to these was not to introduce another configurable colour code, but to start using _overlays_ to alter a bunch of colours at once. The “mi” code will have to be added back later.
2017-10-08 17:08:07 +01:00