2024-03-11 18:02:17 by pin | Files touched by this commit (3) | |
Log message: sysutils/dua-cli: update to 2.29.0 2.29.0 (2024-03-10) New Features - Add scrollbar to the main entries list. That way it's easier to grasp how long the list is, and how fast one is traversing is. Bug Fixes - avoid crashes when the terminal is resized to unusually small sizes. - mark-pane help bar now shows closest to the selected item. Previously this would only work in the first screen, but not when the list was long enough for scrolling. |
2024-01-24 09:04:42 by pin | Files touched by this commit (3) | |
Log message: sysutils/dua-cli: update to 2.28.0 New Features - add dua i --no-entry-check flag. With it, in interactive mode, entries will not be checked for presence. This can avoid laggy behaviour when switching between directories as lstat calls will not run, which can be slow on some filesystems. |
2024-01-22 09:17:51 by pin | Files touched by this commit (2) | |
Log message: sysutils/dua-cli: update to 2.27.2 Bug Fixes - allow / (glob-mode) while scanning. This will possibly lead to incomplete results, but I find being able to use ones muscle-memory more important than preventing dealing with incomplete results. What happens to me is usually to type / followed by target/ which tends to select all current entries for deletion. - don't check entry metadata while a scan is in progress Previously each time the UI refreshes, every 250ms, it display entries but also check their metadata to assure they exist. This could lead to performance loss when the displayed folder has a lot of entries. |
2024-01-22 08:23:31 by pin | Files touched by this commit (3) | |
Log message: sysutils/dua-cli: update to 2.27.1 Bug Fixes - Explicit refreshes with 'r and 'R' now work with multiple root paths as well. This can happen in cases of dua i root-a root-b for instance. |
2024-01-17 21:11:29 by pin | Files touched by this commit (3) | |
Log message: sysutils/dua-cli: update to 2.27.0 New Features - Press r or R for refresh Lower-case r will refresh the currently selected entry, while upper-case R will refresh the entire displayed directory, and all entries in it. Further, what was called item is now called entry across the user-interface. - show and hide mtime and item count columns with 'M' and 'C' respectively |
2024-01-06 10:08:21 by pin | Files touched by this commit (3) | |
Log message: sysutils/dua-cli: update to 2.26.0 New Features - responsive and buttery-smooth UI while scanning in interactive mode. Using dua i the GUI would populate and is fully usable even while the scan is in progress, which is fantastic when scanning big disks which can take several minutes. However, previously is was quite janky as the refresh loop was bound to receiving entries to process, which sometimes stalled for many seconds. Now the GUI refresh is uncoupled from receiving traversal entries, and it will update when the user presses a key or 250ms pass without any input, causing it to respond immediately. Thanks so much for contributing, @unixzii! |
2024-01-04 13:28:05 by pin | Files touched by this commit (3) | |
Log message: sysutils/dua-cli: update to 2.25.0 2.25.0 (2024-01-03) Chore - remove obsolete tui-shared feature New Features - add --log-file flag to keep track of some debug info, which includes panics. Previously, when dua i was used, panics would be hard to observe, if at all, as they would print to the alternate screen. Now, when the --log-file dua.log is specified, the panic will be emitted into the log file instead and thus won't be lost anymore. - This may help with debugging in future. Bug Fixes - --ignore-dirs now work as expected. Previously they would need to be specified as relative to the traversal root, which was unintuitive and would lead to ignores not working for many. Even though this was done for performance to avoid canonicalization, we do now perform a more performance version of canonicalization so the overall performance should be acceptable nonetheless. Also note that ignored directories are now logged when using a --log-file. - consistent language across the application and improved style of the Help pane. Generally, what was called entry is now called item, consistently. Other - clarify that (and why) termion isn't supported anymore in README.md This was triggered by crossterm essentially breaking event handling on Windows, which is when I decided to just use the seemingly more powerful crossterm events natively. Overall, this made event handling more complex, but also allows users of crosstermion (the crate that actually dropped termion support) to write even more interactive applications without worrying about the always out-of-date intermediate layer. Interestingly, the crosstermion crate adds some useful features around event handling, but also optimizes build times thanks to termion, which is something that on my current machine I don't notice anymore, so the value of it diminished greatly. |
2023-12-28 21:42:47 by pin | Files touched by this commit (3) | |
Log message: sysutils/dua-cli: update to 2.24.2 2.24.2 (2023-12-26) Bug Fixes - avoid duplicate key input on windows. On Windows, key-states like press/release/repeat are made available separately, which means we should avoid responding to key-releases as it would incorrectly double the actual user inputs. 2.24.1 (2023-12-25) Bug Fixes - keep checking for existance of entries outside of the glob top-level. The glob top-level is used to display all search results which means that there can be a lot of them, which would unnecessarily slow down the search operation. Previously it would never check for the existence of an entry in glob mode, but now it will do so outside of the top-level. 2.24.0 (2023-12-24) This release adds long-awaited globbing support, just hit the / key to get started. You want to find the biggest .git directories? Just type /.git/<enter> and you are done. What about all target directories? Just write target/ to the glob search prompt and it's done. What about all directories ending in *.rs/? Oh, by accident you typed *.rs and now there is a list of a quarter million of entries? No problem, it's near instant even with millions of files to search or hundreds of thousands to display. Note that glob-mode can be exited only by pressing ESC when the glob prompt has focus. Special thanks go to the contributor who made this feature happen, along with many other improvements. Now dua feels refreshed for 2024, and is much more versatile. Happy holidays! |
2023-12-17 07:52:29 by pin | Files touched by this commit (3) | |
Log message: sysutils/dua-cli: update to 2.23.0 New Features - display the total count of entries-to-be-deleted in the mark pane. This allows to better estimate how much work will be needed to perform the deletion. For example, when marking 3 items for deletion, previously one would see 3 items marked, but now one will see all items and sub-items, like 120kitems marked`, which reflects the work that will be done much more precisely. - Add total size to header bar and change to aggregate, human-readable item count. This changes the display from (2034 items) to (2k items, 213 MB), providing an overview of the total amount of storage used along with the total amount of files on a particular hiearchy level. Bug Fixes - single files will not cause IO error Running dua <filename> will once again provide size information about that filename. |
2023-12-09 17:06:42 by pin | Files touched by this commit (3) | |
Log message: sysutils/dua-cli: update to 2.22.0 2.22.0 (2023-12-09) New Features - Press c to sort by count of entries in a directory. That way it's easy to spot places that have a lot of (possibly small) files, which otherwise would remain under the radar when sorting by size. |