- 26 8月, 2015 2 次提交
-
-
由 Ben S 提交于
Now we have one Ur-module that contains functionality common to both supported platforms. The benefits of doing it this way are that: 1. It doesn't implement a dummy interface - rather, there will be less code generated when the feature is not present; 2. The code shared between them can be kept in sync. The other two modules were something like 80% the same.
-
由 Ben S 提交于
-
- 25 8月, 2015 5 次提交
-
-
由 Ben S 提交于
Have to collect the results into a Vec in order to make sure we only do the ending part for the last one.
-
由 Ben S 提交于
When tree mode is active, this will print out errors as another form of child node in the tree, instead of in one big block before any output. The 'this' field now holds the io::Result of the readdir call, rather than only a *successful* result.
-
由 Ben S 提交于
-
由 Ben S 提交于
This will be used to not provide any information for the rows that will have no data (attributes, errors).
-
由 Ben S 提交于
This is part of work to make the flow of files more iterator-able, rather than going in and out of vectors. Here, a Dir returns an iterator of files, rather than a pre-filled vector. For now, this removes the ability for error messages to be displayed. Will be added in later though!
-
- 04 8月, 2015 1 次提交
-
-
由 Ben S 提交于
This is very slow (see #28) at the moment, so there's an option to switch off repo discovery. However, they were still always being queried. Now, if there's no Git option in the flags, it won't try to discover a repo.
-
- 03 8月, 2015 2 次提交
- 02 8月, 2015 2 次提交
-
-
由 Ben S 提交于
These replace `init()` and `tail()` which are deprecated in favour of these. In fact, it's a good thing they're deprecated, because part of the path_prefix code involved working around a call to init() that would panic otherwise - doing the same check with an `Option` is much more ergonomic.
-
由 Ben S 提交于
Use the "install" program to install
-
- 31 7月, 2015 1 次提交
-
-
由 lilydjwg 提交于
-
- 30 7月, 2015 1 次提交
-
-
由 lilydjwg 提交于
-
- 16 7月, 2015 1 次提交
-
-
由 Ben S 提交于
The separator_width field in the term_grid crate was replaced with a filling field.
-
- 10 7月, 2015 1 次提交
-
-
由 Ben S 提交于
updates libgit2 to build on latest nightly
-
- 09 7月, 2015 1 次提交
-
-
由 Kevin K 提交于
-
- 29 6月, 2015 8 次提交
-
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben S 提交于
-
由 Ben 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.
-
由 Ben S 提交于
-
- 28 6月, 2015 3 次提交
-
-
由 Ben S 提交于
-
由 Ben 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.
-
由 Ben S 提交于
-
- 23 6月, 2015 1 次提交
-
-
由 Ben S 提交于
Fixes #39!
-
- 21 6月, 2015 1 次提交
-
-
由 Ben S 提交于
-
- 18 6月, 2015 2 次提交
-
-
由 Benjamin Sago 提交于
-
由 Ben S 提交于
Fix compile for DragonflyBSD and nightly rust
-
- 17 6月, 2015 3 次提交
-
-
由 Michael Neumann 提交于
-
由 Michael Neumann 提交于
-
由 Michael Neumann 提交于
-
- 09 6月, 2015 3 次提交
- 07 6月, 2015 2 次提交