62 Commits

Author SHA256 Message Date
Dead Mozay
d0b6a43bb1 - Update to version 2.29.0:
* fix: mark-pane help bar now shows closest to the selected item.
  * update to the latest versions of `tui-react` and `ratatui`
  * fix possible overflow during substraction in mark pane
  * Add scrollbar for mark list
  * avoid iterating a potentially long list doubly
  * Add scrollbar for main list
  * remove user and platform specific files from `.gitignore`
  * Ignore .vscode directory (same as .idea)
  * Different image obvi

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=64
2024-03-10 16:27:54 +00:00
Dead Mozay
5eeb49ee7d - Update to version 2.28.0:
* feat: add `dua i --no-entry-check` flag. (#227)

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=63
2024-01-24 08:59:43 +00:00
Dead Mozay
d66454a80a - Update to version 2.27.2:
* fix: allow `/` (glob-mode) while scanning.
  * fix: don't check entry metadata while a scan is in progress (#223)

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=62
2024-01-22 10:53:46 +00:00
Dead Mozay
e99e1c573e - Update to version 2.27.1:
* Fix refresh with multiple input paths
  * Test glob pane open/close
  * Tests for shwing/hiding additional columns

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=61
2024-01-22 03:34:35 +00:00
Dead Mozay
57b7eae426 - Update to version 2.27.0:
* make `Shift+r` do more than 'r'
  * Preserve selected element after refresh
  * Various updates based on the code review feedback:
  * Exit glob mode if view root is the same as glob root
  * Fix updating item count
  * Remove debug comments
  * Refresh all in view vs selected
  * Fix file count
  * Fix traversal stats
  * Moved traversal stats to separate type
  * Traverse children vs parent & fix parent node size after refresh
  * add `R` to trigger a full refresh (PoC)
  * make WalkOptions available in State so it can re-use it for additional walks.
  * feat: show and hide mtime and item count columns with 'M' and 'C' respectively
  * New Traversal
  * remove commented out code
  * first working version
  * Update entries
  * Clean-up init function
  * Move ByteFormat out of WalkOptions
  * Move AppState to separate file
  * Move TerminalApp to separate file
  * Scan disabled
  * No Interactive enum

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=60
2024-01-18 05:38:44 +00:00
Dead Mozay
665d16874a - Update to version 2.26.0:
* Optimize UI responsiveness during scanning state

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=59
2024-01-06 19:54:16 +00:00
Dead Mozay
b55703707f - Update to version 2.25.0:
* Use `gix-path` for more control and performance.
  * chore: remove obsolete `tui-shared` feature (#208)
  * fix ignore dirs wip
  * feat: add `--log-file` flag to keep track of some debug info, which includes panics.
  * fix: consistent language across the application and improved style of the Help pane.
  * Keep consistent language/punctuation/case throughout the app.

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=58
2024-01-03 18:45:17 +00:00
Dead Mozay
357d91893a - Update to version 2.24.2:
* fix: avoid duplicate key input on windows (#203).
  * upgrade to latest verison of tui-crates and native crossterm events. (#203)

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=57
2023-12-28 04:24:46 +00:00
Dead Mozay
b19eb835bb - Update to version 2.24.1:
* fix: keep checking for existance of entries outside of the glob top-level.

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=56
2023-12-25 10:15:55 +00:00
Dead Mozay
bb6007ab0e - Update to version 2.24.0:
* use `gix-glob` for matching; support for matching dirs only.
  * remove treeview abstraction in favor of something simpler
  * refactor glob widget
  * more copy-on-write for entries
  * refactor shortening
  * thanks clippy
  * Shorten long paths so that they fit on the screen
  * Show error message on empty search result
  * Glob most used keys
  * Fix formatting
  * Fix cursor rendering
  * Small code review fixes
  * Use appropriate tree view when listing entries
  * Replace EntryData in EntryDataBundle with individual properties
  * Implements glob search mode
  * Bump zerocopy from 0.7.30 to 0.7.31
  * make clear why roots were special cased, and try to restore that behaviour.
  * Adds the missing '/' prefix for root directories
  * minior refactor
  * Refactors AppState initialization during app startup
  * fix: EntryData size test passes on 32-bit (#197)

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=55
2023-12-25 05:07:58 +00:00
Dead Mozay
2190cdb4c0 - Update to version 2.23.0:
* fix: single files will not cause IO error (#194)
  * Calculates mark pane item count consistently with the rest of the app
  * Refactors MainWindow render to make it more readable
  * feat: Add total size to header bar and change to aggregate, human-readable item count.
  * adjust names of `make fmt` and `make ready`; `fmt` now only checks
  * Adds new target that runs all the checks (to be used before creating a PR)
  * Displays total item count

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=54
2023-12-12 06:37:46 +00:00
Dead Mozay
4de3c775a3 - Update to version 2.22.0:
* assure sorting of entry-counts takes files into consideration.
  * Adds keybinding for 'c' to toggle sorting by number of items
  * Fix visual changes
  * make clippy warnings fatal
  * Refactors entries panel by moving code to separate functions
  * change optimization level back to 0 for hopefully more stable release builds.
  * assure package-size check isn't fatal anymore
  * pacify the package size checkf or a while.

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=53
2023-12-11 03:05:12 +00:00
Dead Mozay
a74217bfd0 - Update to version 2.21.0:
* prepare changelog
  * thanks clippy
  * assure `device_id` is taken from the final CWD (#186) (#110)
  * Skip through single root directory
  * Increase optimization level
  * Hide mtime column by default, unless enabled
  * Adds keybinding 'm' to toggle sorting by modified time
  * Add test to assure memory consumption of EntryData doesn't change unexpectedly.

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=52
2023-12-06 11:13:59 +00:00
Dead Mozay
29a8c9394d - Update to version 2.20.3:
* Fixes marking parent directory for deletion counts children twice

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=51
2023-11-22 05:26:33 +00:00
Dead Mozay
efbc9e30ae - Update to version 2.20.2:
* Release dua-cli v2.20.2
  * update dependencies
  * upgrade journey-test expectations (doesn't run on CI for some reason)
  * upgrade `itertools`
  * upgrade `open`
  * Fixes alignment when in interactive mode and -f binary
  * make clear which windows toolchain is used on CI
  * update all dependencies

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=50
2023-11-20 10:52:29 +00:00
Dead Mozay
c642e63467 - Update to version 2.20.1:
* feat: TUI now shows performance metrics while scanning and after.
  * Simplify GUI refreshes by using a throttle
  * generalize the throttle implementation to allow usagein UI
  * Added additional clarification for deleting help files.
  * share `cargo` invocation to help install on more platforms (#157)
  * feat: improve CLI help provided with the `--format` flag.

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=48
2023-05-05 15:35:04 +00:00
Dead Mozay
306af5f4a4 - Update to version 2.19.2:
* traverse: don't recurse on cross-device filesystems

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=47
2023-02-23 12:35:14 +00:00
Dead Mozay
1069656271 - Update to version 2.19.1:
* Draw window before processing events, fixes #143
  * create our own threadpool with minimal stack instead of using the global one.

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=46
2023-02-06 04:45:58 +00:00
Dead Mozay
7f828c4e48 - Update to version 2.19.0:
* fix: resolve stalling issue of previous version.
  * fix: downgrade `jwalk` to 0.6 - the latest version does not actually iterate but instead keeps everything in memory.
  * adjust maximum package size
  * prepare changelog prior to release
  * upgrade sysinfo and make thread detection work for all Apple M series for now.
  * thanks clippy
  * update dependencies
  * adjust journey-test expectations according to difference in color encoding.
  * refactor
  * thanks clippy
  * refactor: colored path printing; fix size column format
  * dependencies: switch from colored to owo-colors

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=45
2022-12-14 09:32:17 +00:00
Dead Mozay
13fba8d735 - Update to version 2.18.0:
* Make sure the correct version of `crosstermion` is used
  * feat: Automatically resize if the terminal changes in size. (#28)
  * Add Apple M2 to default thread derivation
  * 'Other' -> 'Pre-built binaries' for clarity

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=44
2022-09-12 03:26:59 +00:00
Dead Mozay
2938204c60 - Update to version 2.17.8:
* fix: remove `chrono` from the dependency tree.

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=43
2022-07-05 12:16:19 +00:00
Dead Mozay
e262978e3c - Update to version 2.17.7:
* restyle for compatibility with 'light' color schemes

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=42
2022-06-14 16:14:01 +00:00
Dead Mozay
e891514108 - Update to version 2.17.6:
* No changelog.

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=41
2022-06-12 16:44:53 +00:00
Dead Mozay
a6bd1d8da3 - Update to version 2.17.5:
* fix: update to latest version of `trash` to improve trashing on linux (#124)
  * Fix installation instructions, for real this time (#127)

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=40
2022-05-13 04:45:56 +00:00
Dead Mozay
8b49440226 - Update to version 2.17.4:
* fix: Open interactive mode even if one of the input paths can't be read. (#124)
  * fix: broken or non-existing root path will still print the valid results. (#124)
  * record status quo (#124)

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=39
2022-05-12 05:13:49 +00:00
Dead Mozay
85de1bc367 - Update to version 2.17.3:
* No changelog.

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=38
2022-05-10 12:22:13 +00:00
Dead Mozay
d42a5427ec - Update to version 2.17.2:
* No changelog.

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=37
2022-05-06 02:49:15 +00:00
Dead Mozay
45481df16f - Update to version 2.17.1:
* Improve aggregate progress reporting
  * upgrade sysinfo
  * Adjust to changes in clap
  * Update clap to official release
  * Upgrade to TUI 0.17

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=36
2022-03-20 08:16:02 +00:00
Dead Mozay
b314311727 - Update to version 2.17.0:
* feat: interactive mode learns 'toggle [a]ll' and 'remove [a]ll'.
  * Add `a` key to toggle marked status of all entries

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=35
2022-01-21 08:58:40 +00:00
Dead Mozay
39a1b2bfed - Update to version 2.16.0:
* feat: Add `--ignore-dirs` option, with useful default on linux (#116)

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=34
2022-01-09 08:18:00 +00:00
Dead Mozay
8d8c4f74d7 - Update to version 2.15.0:
* feat: Add `--ignore-dirs` option, with useful default on linux (#116)

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=33
2021-12-27 04:04:08 +00:00
Dead Mozay
85b24dd370 - Update to version 2.14.11:
* fix: try to produce release binaries once more
  * update package size to match new changelog

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=32
2021-10-26 18:07:44 +00:00
Dead Mozay
6ab796ef74 - Update to version 2.14.7:
* No available changelog

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=31
2021-09-18 08:58:29 +00:00
Dead Mozay
0da9e1dda6 - Update to version 2.14.6:
* Support Home/End and fix inconsistent help text
  * Improve mark widget tip style
  * Format correctly
  * Remove unnecessary line

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=30
2021-08-23 03:01:14 +00:00
Dead Mozay
7840a54b9c - Update to version 2.14.5:
* Fix #102, bump patch level
  * sysinfo upgrade
  * Add aggregate-scan-progress feature to help with #99

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=29
2021-08-16 12:32:08 +00:00
Dead Mozay
52b2a8012d - Update to version 2.14.4:
OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=28
2021-08-05 09:45:04 +00:00
Dead Mozay
b410fbeff8 - Update to version 2.14.3:
OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=27
2021-07-25 05:54:18 +00:00
Dead Mozay
4457b2aaff - Update to version 2.14.2:
* Also run 'make check' on CI now that more feature toggles are added
  * disable test that now starts failing on windows even though…
  * Add checking and testing of new feature toggle
  * Make the trash feature optional

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=26
2021-07-14 05:46:03 +00:00
Dead Mozay
c5d78dd7c3 - Update to version 2.14.1:
* thanks clippy
  * Add mark pane prompt message for ctrl + t
  * Refactor: deduplicate code
  * Implement Ctrl+t move to trash

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=25
2021-06-30 03:33:06 +00:00
Dead Mozay
55550a51da - Update to version 2.13.1:
* Show TUI on stderr to enable writing files to stdout

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=24
2021-06-09 10:28:55 +00:00
Dead Mozay
7d6ea8c84b - Update to version 2.13.0:
* Print marked items upon exit if these are left in the marked pane

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=23
2021-06-08 03:35:33 +00:00
Dead Mozay
e907715df5 - Update to version 2.12.2:
* Set default processor count on Apple Silicon in a way that won't be totally wrong in future

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=22
2021-06-07 03:19:52 +00:00
Dead Mozay
44820b2a6e - Update to version 2.12.1:
* Fix terrible bug causing an unnecessary wait in front of each invocation
  * Only fetch metadata for files for a speedup
  * Mildly optimize progress performance…

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=21
2021-05-31 03:29:57 +00:00
Dead Mozay
2af82ca0c2 - Update to version 2.12.0:
* Only display progress on if stderr is a tty
  * Add simple progress to indicate something is happening on long `dua` runs

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=20
2021-05-29 16:27:42 +00:00
Dead Mozay
795301b340 - Update to version 2.11.3:
* No changelog

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=19
2021-05-09 08:45:24 +00:00
Dead Mozay
055ce08fb7 - Update to version v2.11.2:
* Adjust release workflow to be less specific to ripgrep
  * Upgrade release workflow file from ripgrep
  * Fix build (use the latest version of crosstermion, too)
  * Remove tui-react, it now lives in https://github.com/Byron/tui-crates
  * prepare changelog for patch release
  * Fix help menu typo
  * add installation instructions via homebrew
  * dependency update
  * Run actions on main
  * Enable funding

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=18
2021-05-03 10:30:16 +00:00
Dead Mozay
1e80bf8505 - Update to version v2.11.1:
* (cargo-release) version 2.11.1
  * update changelog
  * Respect 'stay_on_filesystem' when no input files are provided
  * update dependencies
  * README: add MacPorts install instructions

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=17
2021-02-24 04:33:51 +00:00
Dead Mozay
9389180365 - Update to version v2.11.0:
* Enforce drawing once after traversal is done
  * Keep selecting the first element during iteration unless…
  * Add bindings 'H' and 'G' to go to the top/bottom of any pane

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=16
2021-02-15 10:11:47 +00:00
Dead Mozay
42778347b1 - Update to version v2.10.10+0:
* (cargo-release) version 2.10.10
  * Fix --version

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=15
2021-01-24 07:14:38 +00:00
Dead Mozay
34d229a3c0 - Update to version v2.10.9+0:
* Fix jwalk, the other way around; related to #72

OBS-URL: https://build.opensuse.org/package/show/home:Dead_Mozay/dua-cli?expand=0&rev=14
2021-01-11 14:03:40 +00:00