diff options
-rw-r--r-- | .all-contributorsrc | 38 | ||||
-rw-r--r-- | .cargo/config.toml | 12 | ||||
-rw-r--r-- | .cirrus.yml | 73 | ||||
-rw-r--r-- | .github/ISSUE_TEMPLATE/bug_report.yml | 5 | ||||
-rw-r--r-- | .github/workflows/audit.yml | 4 | ||||
-rw-r--r-- | .github/workflows/build_releases.yml | 57 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 21 | ||||
-rw-r--r-- | .github/workflows/clear_workflow_cache.yml (renamed from .github/workflows/clear-workflow-cache.yml) | 4 | ||||
-rw-r--r-- | .github/workflows/coverage.yml | 23 | ||||
-rw-r--r-- | .github/workflows/deployment.yml | 21 | ||||
-rw-r--r-- | .github/workflows/docs.yml | 4 | ||||
-rw-r--r-- | .github/workflows/nightly.yml | 21 | ||||
-rw-r--r-- | .github/workflows/post_release.yml (renamed from .github/workflows/post-release.yml) | 5 | ||||
-rw-r--r-- | .github/workflows/test_docs.yml (renamed from .github/workflows/test-docs.yml) | 6 | ||||
-rw-r--r-- | .github/workflows/validate_schema.yml | 56 | ||||
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | CHANGELOG.md | 14 | ||||
-rw-r--r-- | CONTRIBUTING.md | 2 | ||||
-rw-r--r-- | Cargo.lock | 845 | ||||
-rw-r--r-- | Cargo.toml | 99 | ||||
-rw-r--r-- | README.md | 86 | ||||
-rw-r--r-- | build.rs | 7 | ||||
-rw-r--r-- | docs/.gitignore | 3 | ||||
-rw-r--r-- | docs/content/configuration/command-line-flags.md | 47 | ||||
-rw-r--r-- | docs/content/configuration/command-line-options.md | 96 | ||||
-rw-r--r-- | docs/content/configuration/config-file/cpu.md | 11 | ||||
-rw-r--r-- | docs/content/configuration/config-file/flags.md | 74 | ||||
-rw-r--r-- | docs/content/configuration/config-file/index.md (renamed from docs/content/configuration/config-file/default-config.md) | 16 | ||||
-rw-r--r-- | docs/content/configuration/config-file/layout.md | 2 | ||||
-rw-r--r-- | docs/content/contribution/development/build_process.md | 4 | ||||
-rw-r--r-- | docs/content/contribution/development/deploy_process.md | 4 | ||||
-rw-r--r-- | docs/content/contribution/documentation.md | 20 | ||||
-rw-r--r-- | docs/content/contribution/issues-and-pull-requests.md | 2 | ||||
-rw-r--r-- | docs/content/contribution/packaging-and-distribution.md | 12 | ||||
-rw-r--r-- | docs/content/index.md | 8 | ||||
-rw-r--r-- | docs/content/support/unofficial.md | 6 | ||||
-rw-r--r-- | docs/content/troubleshooting.md | 20 | ||||
-rw-r--r-- | docs/content/usage/general-usage.md | 2 | ||||
-rw-r--r-- | docs/content/usage/widgets/network.md | 2 | ||||
-rw-r--r-- | docs/content/usage/widgets/process.md | 6 | ||||
-rw-r--r-- | docs/mkdocs.yml | 44 | ||||
-rw-r--r-- | docs/requirements.txt | 5 | ||||
-rwxr-xr-x | docs/serve.sh | 6 | ||||
-rw-r--r-- | rustfmt.toml | 1 | ||||
-rw-r--r-- | sample_configs/default_config.toml | 10 | ||||
-rw-r--r-- | sample_configs/demo_config.toml | 2 | ||||
-rw-r--r-- | schema/README.md | 7 | ||||
-rw-r--r-- | schema/nightly/bottom.json | 385 | ||||
-rw-r--r-- | schema/v1.0/bottom.json | 385 | ||||
-rw-r--r-- | scripts/cirrus/build.py | 27 | ||||
-rw-r--r-- | scripts/schema/bad_file.toml | 2 | ||||
-rw-r--r-- | scripts/schema/requirements.txt | 2 | ||||
-rw-r--r-- | scripts/schema/validator.py | 55 | ||||
-rw-r--r-- | scripts/windows/choco/bottom.nuspec.template | 4 | ||||
-rw-r--r-- | src/app.rs | 77 | ||||
-rw-r--r-- | src/app/data_farmer.rs | 64 | ||||
-rw-r--r-- | src/app/data_harvester/memory/windows.rs | 30 | ||||
-rw-r--r-- | src/app/filter.rs | 10 | ||||
-rw-r--r-- | src/app/layout_manager.rs | 279 | ||||
-rw-r--r-- | src/app/query.rs | 25 | ||||
-rw-r--r-- | src/app/states.rs | 2 | ||||
-rw-r--r-- | src/args.rs | 509 | ||||
-rw-r--r-- | src/bin/main.rs | 30 | ||||
-rw-r--r-- | src/canvas.rs | 229 | ||||
-rw-r--r-- | src/canvas/components.rs | 8 | ||||
-rw-r--r-- | src/canvas/components/data_table.rs (renamed from src/components/data_table.rs) | 51 | ||||
-rw-r--r-- | src/canvas/components/data_table/column.rs (renamed from src/components/data_table/column.rs) | 96 | ||||
-rw-r--r-- | src/canvas/components/data_table/data_type.rs (renamed from src/components/data_table/data_type.rs) | 4 | ||||
-rw-r--r-- | src/canvas/components/data_table/draw.rs (renamed from src/components/data_table/draw.rs) | 54 | ||||
-rw-r--r-- | src/canvas/components/data_table/props.rs (renamed from src/components/data_table/props.rs) | 0 | ||||
-rw-r--r-- | src/canvas/components/data_table/sortable.rs (renamed from src/components/data_table/sortable.rs) | 38 | ||||
-rw-r--r-- | src/canvas/components/data_table/state.rs (renamed from src/components/data_table/state.rs) | 6 | ||||
-rw-r--r-- | src/canvas/components/data_table/styling.rs (renamed from src/components/data_table/styling.rs) | 2 | ||||
-rw-r--r-- | src/canvas/components/time_graph.rs (renamed from src/components/time_graph.rs) | 20 | ||||
-rw-r--r-- | src/canvas/components/tui_widget.rs | 4 | ||||
-rw-r--r-- | src/canvas/components/tui_widget/pipe_gauge.rs (renamed from src/components/tui_widget/pipe_gauge.rs) | 0 | ||||
-rw-r--r-- | src/canvas/components/tui_widget/time_chart.rs | 1348 | ||||
-rw-r--r-- | src/canvas/components/tui_widget/time_chart/canvas.rs (renamed from src/components/tui_widget/time_chart/canvas.rs) | 145 | ||||
-rw-r--r-- | src/canvas/components/tui_widget/time_chart/points.rs | 215 | ||||
-rw-r--r-- | src/canvas/components/widget_carousel.rs (renamed from src/canvas/widgets/basic_table_arrows.rs) | 8 | ||||
-rw-r--r-- | src/canvas/dialogs/dd_dialog.rs | 9 | ||||
-rw-r--r-- | src/canvas/dialogs/help_dialog.rs | 48 | ||||
-rw-r--r-- | src/canvas/styling.rs (renamed from src/canvas/canvas_styling.rs) | 25 | ||||
-rw-r--r-- | src/canvas/styling/colour_utils.rs (renamed from src/canvas/canvas_styling/colour_utils.rs) | 32 | ||||
-rw-r--r-- | src/canvas/widgets.rs | 1 | ||||
-rw-r--r-- | src/canvas/widgets/battery_display.rs | 20 | ||||
-rw-r--r-- | src/canvas/widgets/cpu_basic.rs | 16 | ||||
-rw-r--r-- | src/canvas/widgets/cpu_graph.rs | 29 | ||||
-rw-r--r-- | src/canvas/widgets/disk_table.rs | 14 | ||||
-rw-r--r-- | src/canvas/widgets/mem_basic.rs | 9 | ||||
-rw-r--r-- | src/canvas/widgets/mem_graph.rs | 13 | ||||
-rw-r--r-- | src/canvas/widgets/network_basic.rs | 5 | ||||
-rw-r--r-- | src/canvas/widgets/network_graph.rs | 63 | ||||
-rw-r--r-- | src/canvas/widgets/process_table.rs | 23 | ||||
-rw-r--r-- | src/canvas/widgets/temperature_table.rs | 12 | ||||
-rw-r--r-- | src/components.rs | 3 | ||||
-rw-r--r-- | src/components/tui_widget.rs | 2 | ||||
-rw-r--r-- | src/components/tui_widget/time_chart.rs | 711 | ||||
-rw-r--r-- | src/constants.rs | 527 | ||||
-rw-r--r-- | src/data_collection.rs (renamed from src/app/data_harvester.rs) | 131 | ||||
-rw-r--r-- | src/data_collection/batteries.rs (renamed from src/app/data_harvester/batteries.rs) | 0 | ||||
-rw-r--r-- | src/data_collection/batteries/battery.rs (renamed from src/app/data_harvester/batteries/battery.rs) | 0 | ||||
-rw-r--r-- | src/data_collection/cpu.rs (renamed from src/app/data_harvester/cpu.rs) | 0 | ||||
-rw-r--r-- | src/data_collection/cpu/sysinfo.rs (renamed from src/app/data_harvester/cpu/sysinfo.rs) | 8 | ||||
-rw-r--r-- | src/data_collection/disks.rs (renamed from src/app/data_harvester/disks.rs) | 10 | ||||
-rw-r--r-- | src/data_collection/disks/freebsd.rs (renamed from src/app/data_harvester/disks/freebsd.rs) | 9 | ||||
-rw-r--r-- | src/data_collection/disks/io_counters.rs (renamed from src/app/data_harvester/disks/io_counters.rs) | 0 | ||||
-rw-r--r-- | src/data_collection/disks/other.rs (renamed from src/app/data_harvester/disks/other.rs) | 7 | ||||
-rw-r--r-- | src/data_collection/disks/unix.rs (renamed from src/app/data_harvester/disks/unix.rs) | 8 | ||||
-rw-r--r-- | src/data_collection/disks/unix/file_systems.rs (renamed from src/app/data_harvester/disks/unix/file_systems.rs) | 9 | ||||
-rw-r--r-- | src/data_collection/disks/unix/linux/counters.rs (renamed from src/app/data_harvester/disks/unix/linux/counters.rs) | 4 | ||||
-rw-r--r-- | src/data_collection/disks/unix/linux/mod.rs (renamed from src/app/data_harvester/disks/unix/linux/mod.rs) | 4 | ||||
-rw-r--r-- | src/data_collection/disks/unix/linux/partition.rs (renamed from src/app/data_harvester/disks/unix/linux/partition.rs) | 2 | ||||
-rw-r--r-- | src/data_collection/disks/unix/macos/counters.rs (renamed from src/app/data_harvester/disks/unix/macos/counters.rs) | 2 | ||||
-rw-r--r-- | src/data_collection/disks/unix/macos/io_kit.rs (renamed from src/app/data_harvester/disks/unix/macos/io_kit.rs) | 8 | ||||
-rw-r--r-- | src/data_collection/disks/unix/macos/io_kit/bindings.rs (renamed from src/app/data_harvester/disks/unix/macos/io_kit/bindings.rs) | 9 | ||||
-rw-r--r-- | src/data_collection/disks/unix/macos/io_kit/io_disks.rs (renamed from src/app/data_harvester/disks/unix/macos/io_kit/io_disks.rs) | 0 | ||||
-rw-r--r-- | src/data_collection/disks/unix/macos/io_kit/io_iterator.rs (renamed from src/app/data_harvester/disks/unix/macos/io_kit/io_iterator.rs) | 0 | ||||
-rw-r--r-- | src/data_collection/disks/unix/macos/io_kit/io_object.rs (renamed from src/app/data_harvester/disks/unix/macos/io_kit/io_object.rs) | 14 | ||||
-rw-r--r-- | src/data_collection/disks/unix/macos/mod.rs (renamed from src/app/data_harvester/disks/unix/macos/mod.rs) | 4 | ||||
-rw-r--r-- | src/data_collection/disks/unix/other/bindings.rs (renamed from src/app/data_harvester/disks/unix/other/bindings.rs) | 0 | ||||
-rw-r--r-- | src/data_collection/disks/unix/other/mod.rs (renamed from src/app/data_harvester/disks/unix/other/mod.rs) | 0 | ||||
-rw-r--r-- | src/data_collection/disks/unix/other/partition.rs (renamed from src/app/data_harvester/disks/unix/other/partition.rs) | 2 | ||||
-rw-r--r-- | src/data_collection/disks/unix/usage.rs (renamed from src/app/data_harvester/disks/unix/usage.rs) | 0 | ||||
-rw-r--r-- | src/data_collection/disks/windows.rs (renamed from src/app/data_harvester/disks/windows.rs) | 12 | ||||
-rw-r--r-- | src/data_collection/disks/windows/bindings.rs (renamed from src/app/data_harvester/disks/windows/bindings.rs) | 0 | ||||
-rw-r--r-- | src/data_collection/disks/zfs_io_counters.rs (renamed from src/app/data_harvester/disks/zfs_io_counters.rs) | 2 | ||||
-rw-r--r-- | src/data_collection/memory.rs (renamed from src/app/data_harvester/memory.rs) | 17 | ||||
-rw-r--r-- | src/data_collection/memory/arc.rs (renamed from src/app/data_harvester/memory/arc.rs) | 0 | ||||
-rw-r--r-- | src/data_collection/memory/sysinfo.rs (renamed from src/app/data_harvester/memory/sysinfo.rs) | 7 | ||||
-rw-r--r-- |