- 06 5月, 2017 1 次提交
-
-
由 Benjamin Sago 提交于
Turn off the git networking features
-
- 03 5月, 2017 4 次提交
-
-
由 Kevin Ballard 提交于
This removes openssl and makes the binary properly self-contained.
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
For some reason, the code that calculated the width of a cell with a path in counted the width of the path twice: once from the ANSIStrings containing it, and once more added on afterwards. This meant that the grid view thought that columns were wider than they really were, meaning fewer could be fit into a grid.
-
- 02 5月, 2017 5 次提交
-
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
Doing this meant that the escaping functionality got used in three places, so it was extracted into a generalised function in its own module. This is slighly slower for the case where escaped characters are displayed in the same colour as the displayable characters, which happens when listing a directory’s name when recursing. Optimise this, yeah?
-
- 01 5月, 2017 12 次提交
-
-
由 Benjamin Sago 提交于
This was a bug introduced by 28fce347 — it should have updated both places it does this in the function, rather than just one.
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
This turns `file` into `self.file` and `colours` into `self.colours`, but it means we don’t need to pass arguments everywhere, which will be more of a problem the more functions there are. Most of the code has just been indented.
-
由 Benjamin Sago 提交于
It didn’t feel quite right to have stand-alone functions in the module root file, which is usually just reserved for modules and exports.
-
由 Benjamin Sago 提交于
Fixes #156.
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
Rather than the *entire* file name. The current method is extremely inefficient, but having control characters in file names is also extremely uncommon; it’s something that should be fixed, only eventually.
-
由 Benjamin Sago 提交于
exa deals with cells and widths a lot: the items in a grid need to be aligned according to their *contents’* widths, rather than the length of their strings, which often included ANSI escape characters. As an optimisation, it used to calculate this separately based on the filename, and dealing with any extra characters (such as the classify ones) in that function too. Recently, though, file names have become a lot more complicated. Classification added zero to one extra characters, and now with escaped control characters in file names, it’s not so easy to calculate the display width of a filename. This commit removes the function that calculated the width, in favour of building the output string (it’s going to be displayed anyway) and just getting the width of what it displays instead.
-
由 Benjamin Sago 提交于
It doesn’t do a perfect job, but at least there aren’t newlines littering the output anymore.
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
-
- 30 4月, 2017 8 次提交
-
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
Don't prepend current path to symlink targets
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
Handle linking to root directories better
-
由 Benjamin Sago 提交于
Fix Vagrantfile
-
由 Kevin Ballard 提交于
It's confusing, and `ls` doesn't do this either. We're not prepending the current path to all of the directory entries, and the user is going to interpret the symlink target as relative to the directory containing the symlink.
-
由 Kevin Ballard 提交于
-
由 Kevin Ballard 提交于
We don't need a special case for this.
-
- 29 4月, 2017 10 次提交
-
-
由 Benjamin Sago 提交于
., .., and / always seem to cause problems.
-
由 Benjamin Sago 提交于
It’s the only file where its path is the same as its file name, and has been the source of numerous bugs in the past… this special-case isn’t very clean, but it works.
-
由 Benjamin Sago 提交于
I think I took this off to see how the output was different. Which means there should really be a better way to check how the output is different, other than running the command and looking!
-
由 Benjamin Sago 提交于
Print . and .. components properly
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
Print paths with 2 components properly
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
Implement -F/--classify option
-
由 Benjamin Sago 提交于
-
由 Benjamin Sago 提交于
This name more accurately reflects which code is being tested (things like .png and Makefile, rather than pipes and sockets), freeing up file-types for *actual* file types to be tested.
-