ClementTsang
11657aa0ab
docs: update changelog
2022-08-19 19:29:08 -04:00
Clement Tsang
1d0801ce71
docs: update mkdocs-material to 8.4.0 ( #788 )
2022-08-19 19:07:36 -04:00
Clement Tsang
3c21147509
github: update version placeholder in bug template
2022-08-17 23:04:22 -04:00
Clement Tsang
80d659bf8c
github: update issue link and wording
2022-08-17 23:03:48 -04:00
Clement Tsang
c01e3bca71
github: add note on coverage/tests in PR template
2022-08-17 11:30:13 -04:00
ClementTsang
658b8c720f
refactor: minor tweak to update_position code
2022-08-15 00:50:27 -04:00
ViridiCanis
f5e2b7242a
feature: clamp scrolling ( #775 )
...
* clamp scrolling when trying to go beyond the top or bottom
* add more 'do nothing' cases to `update_position`
* adjust tests to clamping scrolling
* fixup! add more 'do nothing' cases to `update_position`
* fixup! clamp scrolling when trying to go beyond the top or bottom
* fixup! fixup! clamp scrolling when trying to go beyond the top or bottom
2022-08-15 00:45:27 -04:00
Clement Tsang
3016a3d6a2
refactor: change max_scroll_index usage to better reflect name ( #783 )
...
Tweaks `max_scroll_index` usage in the help menu to better reflect its name of being a max index, not a max index bound.
For example, before, the index could not be equal to or more than `max_scroll_index`, but the name would have implied that it should be less than or equal to it.
2022-08-14 18:21:48 -04:00
Clement Tsang
79a0f20825
github: tweak wording of PR
2022-08-14 18:17:01 -04:00
ClementTsang
05eb740fc3
docs: fix allcontributor file
2022-08-14 17:58:45 -04:00
ClementTsang
249a28f661
docs: fix allcontributor typo
2022-08-14 17:58:07 -04:00
Clement Tsang
e9d5c7e071
Merge pull request #782 from ClementTsang/half_page_scroll_doc
...
Half page scroll doc
2022-08-14 17:55:39 -04:00
ClementTsang
582cd308eb
docs: add half-page scroll shortcut to docs
2022-08-14 17:51:04 -04:00
ClementTsang
4984b85704
docs: update changelog for half page scroll change
2022-08-14 17:50:41 -04:00
allcontributors[bot]
10062c7899
docs: add ViridiCanis as a contributor for bug, code ( #781 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-08-14 17:47:18 -04:00
ViridiCanis
5da7411d3c
Feature: half page scrolling ( #774 )
...
* add ctrl-u/ctrl-d to process table
* add help text for ctrl-u/ctrl-d
* add ctrl-u/ctrl-d to help dialog
* store height of help menu, fix overscroll with half page down on help menu
Co-authored-by: ClementTsang <34804052+ClementTsang@users.noreply.github.com>
2022-08-14 17:47:03 -04:00
Clement Tsang
2e0771d483
ci: update release build OS to ubuntu 20.04 ( #780 )
...
Due to the deprecation of Ubuntu 18.04 as a runner target this PR updates the OS to 20.04 (see https://github.com/actions/runner-images/issues/6002 ), the next supported version of Ubuntu.
2022-08-13 12:14:51 -04:00
Clement Tsang
fcb8cac0d5
ci: add ARM macOS to build workflow ( #779 )
...
Adds macOS ARM to the build workflow for nightly/release.
2022-08-13 11:53:07 -04:00
Clement Tsang
4e2a25ac68
github: update PR template wording for testing
2022-08-13 11:38:50 -04:00
ClementTsang
56bb3657a4
clippy: fix clippy eq warning
2022-08-13 11:34:17 -04:00
ClementTsang
83284e2dba
docs: edit docs regarding M1 macOS support
2022-08-13 11:31:29 -04:00
Clement Tsang
b62b93f551
github: update some wording in issue template
2022-08-09 14:23:17 -04:00
allcontributors[bot]
fd8346112a
docs: add xgdgsc as a contributor for doc ( #772 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-07-26 14:08:13 -04:00
xgdgsc
bc74e0b73b
docs: fix dead link ( #771 )
2022-07-26 14:08:03 -04:00
Clement Tsang
39f04fb22c
docs: mention FreeBSD works ( #769 )
...
Update some documentation to mention (currently unofficialish) FreeBSD support.
2022-07-24 06:53:34 -04:00
Clement Tsang
31bd2ca19f
docs: bump mkdocs to fix markdown breaking exts ( #770 )
...
The markdown Python lib seems to be causing some issues with certain
extensions. Bumping mkdocs to 1.3.1 seems to resolve this issue (the
alternative is pinning markdown to < 8.4.0).
2022-07-24 06:50:52 -04:00
allcontributors[bot]
5bf05eb558
docs: add wezm as a contributor for code ( #768 )
...
* docs: update README.md [skip ci]
* docs: update .all-contributorsrc [skip ci]
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2022-07-23 20:46:34 -04:00
Wesley Moore
577fda96fc
Implement support for FreeBSD ( #766 )
...
* WIP FreeBSD support
* Implement get_cpu_data_list for FreeBSD
* Implement disks for FreeBSD
It doesn't work though as sysinfo doesn't make the device name available.
* Use libxo to read process cpu info on FreeBSD
* Populate get_io_usage with libxo too
Actual I/O stats still aren't populated though as there's not an
easy source for them.
* Share more processes code between macos and freebsd
* Extract function for deserializing libxo output on FreeBSD
* Implement filtering of disks in FreeBSD
* Clean up memory data collection
* Update module docs
2022-07-23 20:44:29 -04:00
Clement Tsang
510aa5c404
ci: try simpler cross/cargo action for builds and tests ( #767 )
...
Uses a personal action for simpler invocations of cargo/cross commands.
2022-07-16 00:34:18 -04:00
Clement Tsang
e33603d8ee
ci: try to update cross to 0.2.4 ( #764 )
...
Try to update to the newest cross version after 0.2.2 had some bugs causing a rollback to 0.2.1 (see #755 ).
2022-07-12 05:22:15 -04:00
Clement Tsang
121632760d
bug: fix total read/write units having /s ( #763 )
...
Fixes the total read/write columns in processes using the wrong unit (having /s).
2022-07-07 05:45:30 -04:00
Clement Tsang
d3a187b529
docs: bump mkdocs-material to 8.3.9 ( #762 )
2022-07-07 05:30:49 -04:00
Clement Tsang
04d1218f65
feature: add note on how to exit if running in non-terminal ( #761 )
...
Addition to #760 , adds an extra message so users know how to exit in this scenario.
2022-06-29 01:15:37 -04:00
Clement Tsang
baf844244d
feature: add check for whether the output is to a terminal ( #760 )
...
Adds a warning if the user is calling bottom from an environment where the output is not a terminal.
2022-06-28 23:00:52 -04:00
Clement Tsang
2a183c642b
other: exclude some files in Cargo.toml ( #759 )
...
Excludes unnecessary files from being included in `Cargo.toml`. This mostly consists of files like mkdocs and asset files for the README.
2022-06-28 20:39:43 -04:00
ClementTsang
9116f5277f
github: fix some styling with the bug report form
2022-06-27 20:33:39 -04:00
ClementTsang
f0ec5a5f5f
github: fix some issues with the bug report form
2022-06-27 20:30:28 -04:00
Clement Tsang
f0ace2588e
github: try new issue form template ( #758 )
...
Trying out Github's new issue form for bug reports.
If it doesn't look good or go well I'll revert.
2022-06-27 20:27:47 -04:00
Clement Tsang
4ca68b621d
ci: fix missing target in tests ( #757 )
...
Fix missing target parameter for primary test targets (e.g. aarch64), and adjust integration tests to work with cross.
2022-06-27 01:36:45 -04:00
Clement Tsang
6468f8af58
ci: lock cross to 0.2.1 on CI as well ( #756 )
...
Locks CI to cross 0.2.1.
2022-06-25 23:03:14 -04:00
Clement Tsang
89f7705e21
deployment: force usage of cross 0.2.1 for now ( #755 )
...
Locks cross in deployment builds to 0.2.1, as 0.2.2 seems to break some things for now.
2022-06-25 22:22:30 -04:00
Clement Tsang
2912859e52
ci: bump cargo-llvm-cov to 0.4.8 ( #754 )
2022-06-24 23:03:44 -04:00
Clement Tsang
4fa1fc7f58
docs: bump mkdocs-material to 8.3.8 ( #753 )
...
Bumps mkdocs-material to 8.3.8, which contains some bug fixes.
2022-06-24 20:24:40 -04:00
ClementTsang
d7536faf10
other: bump codecov to 30%
...
Since codecov is just used as a basic overview of test metrics,
I just set the threshold to something somewhat high.
Also removed codecov from README as it's not really representative of
much.
2022-06-24 17:08:45 -04:00
Clement Tsang
372659094b
docs: bump mkdocs-material to 8.3.5 ( #751 )
...
Bumps mkdocs-material to 8.3.5 (https://github.com/squidfunk/mkdocs-material/releases/tag/8.3.5 ).
2022-06-15 03:46:48 -04:00
Clement Tsang
c6f5d5488a
docs: re-enable lib docs for development purposes ( #750 )
...
Enables lib docs, primarily intended for dev use. Also change some existing documentation based on warnings (mainly broken/bare links).
2022-06-14 18:31:32 -04:00
Clement Tsang
122373aff7
docs: bump mkdocs-material to 8.3.3 ( #748 )
...
Bumps mkdocs-material to version 8.3.3.
See https://github.com/squidfunk/mkdocs-material/releases/tag/8.3.3 for more details
2022-06-08 21:39:16 -04:00
ClementTsang
d0cb61a4c2
docs: some small updates to README and issue templates
2022-06-05 18:29:14 -04:00
Clement Tsang
c1a7979be7
refactoring: Move around components and state ( #746 )
...
A small refactor to move some state/component files around in terms of file structure and code location. Should have no effect on logic.
2022-06-03 04:49:39 -04:00
Clement Tsang
0c648ed14a
ci: try moving to rust-toolchain ( #745 )
...
action-rs' action seems to not be really maintained anymore and
throws some redundant warnings that kinda clog up outputs. As
such, I feel like moving to a more active action is probably worth it.
2022-06-02 18:04:51 -04:00