Commit graph

996 commits

Author SHA1 Message Date
Clement Tsang
86135e466c
bug: Fix incorrect cpu colour matching again in all position (#349)
Turns out there was yet another bug with the CPU colour allocation. I had forgotten to use the same index calculation for the "all" position.
2020-12-11 16:14:17 -05:00
Clement Tsang
74f4b386d7
uptick: 0.5.4 (#348) 2020-12-10 22:57:54 -05:00
Clement Tsang
fd003f84da
bug: Fix some performance regressions (#344)
Fixes some performance regressions and forgotten cleanup.

Changes to attempt to improve performance to match 0.4.x:

- Remove `trace!` and `--debug` for now.  These were a significant hog.  Removing this dropped initial memory usage by about half.
- Add additional cleaning step for `pid_mapping`  during process harvesting.  This should hopefully improve memory usage as time goes on.
- Slightly change how we do sorting to hopefully be a bit more optimal?  This was just an easy change to make that I spotted.
- Fix broken cleaning child thread task.
2020-12-10 22:29:25 -05:00
Clement Tsang
030f4ddd6a
ci: Switch to musl for homebrew linux (#347)
Move from gnu to musl to avoid glibc issues.
2020-12-10 20:11:34 -05:00
Clement Tsang
aef386913e
ci: Use ubuntu-16.04 for linux gnu deploys and CI 2020-12-10 04:00:06 -05:00
Clement Tsang
ce020a7429
bug: Fix missing states in processes (#345)
Fixes another change breaking states from showing in processes.
2020-12-10 00:03:55 -05:00
Clement Tsang
19cdc269fb
refactor: Refactor some canvas code (#342) 2020-12-08 22:34:21 -05:00
Clement Tsang
f4b8386063
refactor: Rename battery_harvester to batteries (#340) 2020-12-05 18:51:21 -05:00
Clement Tsang
5531255135
docs: Add FAQ document (#339) 2020-12-04 20:11:38 -05:00
Clement Tsang
e56367fcbb
refactor: Clean up some parts of data harvesting (#336) 2020-12-03 23:45:54 -05:00
Clement Tsang
86169871cb
refactor: Simplify data harvesting (#335)
Refactors the data harvesting system function names.
2020-11-30 19:40:17 -05:00
Clement Tsang
867b8d43e9
deps: update dependencies (#334) 2020-11-28 18:29:23 -05:00
Clement Tsang
3260ff4663
feature: Add scroll indicator to keep track of table position in widgets. (#333)
Adds the option to enable an "out of" indicator for scrollable table widgets (using --show_table_scroll_position).
2020-11-28 15:37:06 -05:00
Clement Tsang
a9c1197075
ci: Fix post-deploy step to actually use the correct files (#332)
Previously it was CURL-ing from a non-existent URL, giving the wrong SHA hashes.

Changed to upload the binaries as artifacts and using those directly.
2020-11-27 10:50:25 -05:00
ClementTsang
7131a05e62 uptick: 0.5.3 2020-11-26 19:36:01 -05:00
Clement Tsang
41b8dd61d0
bug: Fix inverted battery colours (#331)
Fixes colour theming for batteries being flipped.
2020-11-26 19:14:27 -05:00
Clement Tsang
380571cf73
ci: Fix some bugs/typos with the deploy script and components (#329)
- Fix bug with choco and homebrew using incorrect bash syntax causing broken downloads.  Why this didn't fail, idk.
- Add tag entry for manual runs to make it easier to deploy/re-run
- Fixed some typos
- Fixed incorrect string in choco python script
2020-11-26 03:28:56 -05:00
Clement Tsang
cfa4e5eb99
ci: Move post deploy steps to main deploy script 2020-11-26 00:07:38 -05:00
ClementTsang
da58835124 ci: Fix incorrect path. 2020-11-25 22:18:49 -05:00
ClementTsang
7e9943fa34 ci: Fix post-deploy script 2020-11-25 21:46:04 -05:00
ClementTsang
781691d3c9 uptick: 0.5.2 2020-11-25 20:39:37 -05:00
Clement Tsang
a634934e3d
bug: Fix inverted hide_avg_cpu option in config (#327) 2020-11-25 20:30:16 -05:00
ClementTsang
da27b69704 docs: Update choco version 2020-11-23 03:18:56 -05:00
Clement Tsang
6aa0dd64a6
other: Switch to once_cell (#324)
Switch from lazy_static to once_cell.
2020-11-22 16:44:40 -05:00
ClementTsang
5abb1ce1a3 other: update default config.toml 2020-11-22 13:26:58 -05:00
Clement Tsang
0bf885a8cc
ci: Fix windows deployments (#323)
Fixes an issue in the windows deployment action.
2020-11-22 12:40:29 -05:00
ClementTsang
7887de2aba ci: Fix missing CARGO_HUSKY_DONT_INSTALL_HOOKS in pkgbuild template 2020-11-22 10:39:52 -05:00
ClementTsang
691f411283 ci: Fix homebrew deploy template using wrong autocomplete file 2020-11-22 10:32:46 -05:00
ClementTsang
8d40d9bbef ci: Fix post-deploy script 2020-11-22 09:54:24 -05:00
Clement Tsang
788501abef
ci: Fix deployment GitHub Action script (#322) 2020-11-22 04:18:47 -05:00
Clement Tsang
31c9d346b9
ci: Add downloads for windows in post-deploy 2020-11-22 03:55:23 -05:00
ClementTsang
2d127f198e ci: uptick to 0.5.1, fix ci 2020-11-22 02:33:48 -05:00
ClementTsang
e8238daa64 ci: Add initial github actions ci 2020-11-21 15:28:46 -05:00
ClementTsang
e04ce4fa1b bug: [skip travis] Fix use_old_network_legend
This was caused by invalid widths being set for the maximal widths in
the table.  This made it impossible to draw.
2020-11-21 14:56:34 -05:00
ClementTsang
99d04029f0 bug: [skip travis] Add a better check for default colors in the config file 2020-11-21 14:49:44 -05:00
ClementTsang
6ef1d66b2b bug: [skip travis] remove nord from possible values 2020-11-20 22:43:28 -05:00
ClementTsang
f8b1c48ff4 ci: [skip travis] Fix typo in completion generation... 2020-11-20 22:22:13 -05:00
ClementTsang
1e901623d5 ci: [skip travis] some github actions stuff... 2020-11-20 19:36:39 -05:00
ClementTsang
edd7c32f6c docs: [skip travis] fix weird italics 2020-11-20 17:29:24 -05:00
ClementTsang
c47c65c8e5 ci: Remove some redundant comments. 2020-11-20 17:17:27 -05:00
ClementTsang
cdf193552b ci: [skip travis] fix missing fi 2020-11-20 17:14:38 -05:00
ClementTsang
1cb580b91f docs: Update README and changelog for 0.5.0 2020-11-20 14:47:55 -05:00
ClementTsang
79acbf9462 docs: Update changelog 2020-11-20 00:15:54 -05:00
Clement Tsang
2ff8b418b2
feature: add tree flag (#312)
Adds a --tree flag that defaults to tree mode for the process widget.
2020-11-20 00:13:46 -05:00
Clement Tsang
5fedf8a5db
other: update gruvbox and some documentation (#310) 2020-11-19 23:32:57 -05:00
Clement Tsang
92636f3bf9
feature: Add mem_as_value flag (#309)
Adds a new flag, --mem_as_value (and its corresponding config option, mem_as_value = true), which defaults to showing process memory values by their amount rather than percentage.
2020-11-19 00:28:04 -05:00
Clement Tsang
c0a8c347e1
bug: remove buggy auto-generated CPU colour implementation (#308)
Removes the random automatically generated colours for the CPU metrics. This was not supported in all terminal emulators, and would cause some of them to break (namely macOS Terminal).

Instead we'll default to colours we can be more certain will work and loop through them as required. Users can still override these colours with their own.
2020-11-18 20:00:31 -05:00
Clement Tsang
669b245367
feature: Add collapsible tree entries (#304)
Adds collapsible trees to the tree mode for processes. These can be toggled via the + or - keys and the mouse by clicking on a selected entry.
2020-11-18 01:28:53 -05:00
Clement Tsang
e43456207b
feature: default colour schemes (#296)
Adds some default colour choices to choose from.
2020-11-15 05:16:47 -05:00
allcontributors[bot]
4573194cec
docs: add dm9pZCAq as a contributor (#301)
* docs: update README.md [skip ci]

* docs: update .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2020-11-14 17:37:15 -05:00