Commit graph

1153 commits

Author SHA1 Message Date
Lukas Rysavy
120da2c85a
feature: Fine grained kill signals on unix (#263)
* feature: added signal selection for killing in unix

* feature: set default signal to 15 (TERM)

* feature: selecting kill signal number with number keys

* feature: mouse selection of kill signals

* fix: restore working previous kill dialog for win

* bug: more fixes for killing on windows

* feature: made two digit number selection only work in time window

* feature: replaced grid with scrollable list for kill signal selection

* fix: handling scrolling myself

* chore: replaced tui list with span
so we actually know for sure where the buttons are

* feature: always display cancel button in kill signal selection

* chore: simplified as suggested in review

* fix: made scrolling in kill list more intuitive

* fix: differentiating macos from linux signals

* fix: fixed reversed kill confirmation movement

* chore: fixed unused warnings for windows

* feature: added G and gg keybindings for kill signal list
2020-12-15 21:39:17 -05:00
Clement Tsang
49cfc75aca
deps: Update to heim 0.1 (#354) 2020-12-15 21:34:45 -05:00
Clement Tsang
7272786e86
uptick: 0.5.5 (#356) 2020-12-15 00:05:18 -05:00
Clement Tsang
508fe50b3c
Add --no-default-features to PKGBUILD (#355) 2020-12-14 23:36:17 -05:00
Clement Tsang
5d7697d3da
refactor: More minor optimization changes (#353)
- Move data rather than cloning during data transferring step
- Try using beef?
2020-12-12 21:06:46 -05:00
Clement Tsang
766fe25c55
refactor: Use feature flags to avoid building with fern and log (#351) 2020-12-11 20:39:32 -05:00
Clement Tsang
8c4ad90e67
refactor: Another small optimization pass (#350)
Making some small changes that would hopefully improve performance a bit.

- Remove redundant string generations for CPU data conversion
- Switch to fnv for PID hashmap and hashsets
- Use buffered reading to avoid having to store too many lines as strings
2020-12-11 19:54:02 -05:00
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