ClementTsang
f710fe361f
ci: Fix missing version number in template
2020-08-24 02:43:02 -04:00
ClementTsang
60ba2be3c4
ci: Remove manual trigger [skip travis]
2020-08-24 02:37:21 -04:00
ClementTsang
797037335e
ci: Delete redundant fields
2020-08-24 02:36:50 -04:00
ClementTsang
a7f8aab6aa
ci: Fix again...
2020-08-24 02:22:33 -04:00
ClementTsang
f6f0aecc75
ci: Hopefully this works...?
2020-08-24 02:15:25 -04:00
ClementTsang
421e5cb4d6
ci: Fix broken env calls in Actions
2020-08-24 02:09:52 -04:00
ClementTsang
a9e02677ca
ci: Update deploy as one step
2020-08-24 02:02:51 -04:00
ClementTsang
17f8442330
ci: Add manual workflow dispatch for GitHub Actions
2020-08-24 02:00:26 -04:00
ClementTsang
dcbd542dee
ci: Fix invalid symbol in github deploy workflow
2020-08-24 01:55:36 -04:00
ClementTsang
304bbc4d27
ci: Fix reordering in travis script
2020-08-24 00:44:30 -04:00
ClementTsang
f1371b8d9f
ci: Fix some incorrect behaviour caused by deployment script
2020-08-23 23:45:34 -04:00
ClementTsang
52a21b9bec
chore: change line endings to LF, refactor rustfmt [skip travis]
2020-08-23 21:57:08 -04:00
ClementTsang
6dca970541
ci: switch to prepush rather than precommit
2020-08-23 21:43:24 -04:00
ClementTsang
691f6647e0
ci: set up clippy pre-hook
2020-08-23 21:39:53 -04:00
ClementTsang
6fbbaef73b
ci: Remove redundant line in travis
2020-08-23 21:32:11 -04:00
ClementTsang
005bd95f8a
ci: Move wix output naming to Cargo
2020-08-23 21:22:34 -04:00
ClementTsang
3ac49353e8
ci: Fix windows CI not understanding globbing?
2020-08-23 20:15:57 -04:00
ClementTsang
194d96c9cf
ci: Attempt to fix broken strips, try to fix broken copy
2020-08-23 19:20:16 -04:00
ClementTsang
ad3017ab91
ci: Try to fix broken Windows script again...
2020-08-23 18:23:36 -04:00
ClementTsang
1ce0764b2e
ci: Try alternative wix install...
2020-08-23 17:27:47 -04:00
ClementTsang
96a1db1848
ci: Try fix with PATH on Windows
2020-08-23 16:51:36 -04:00
ClementTsang
f030600468
ci: Fix another typo
2020-08-23 15:48:06 -04:00
ClementTsang
3165918d52
ci: Fix broken windows deploy for msi and choco
2020-08-23 14:49:33 -04:00
ClementTsang
279504e401
ci: update PKGBUILD template as per suggestions
2020-08-22 23:41:41 -04:00
ClementTsang
5e0ab22645
ci: fix some bugs...
2020-08-22 23:32:28 -04:00
Clement Tsang
397a7e8467
ci: Add winget template generation ( #199 )
...
Adds winget CI generation.
2020-08-22 20:22:47 -04:00
Clement Tsang
3252796f17
change: Allow e to also close expanded widgets
...
Allow `e` to toggle expansion, rather than only allowing it to open.
2020-08-22 17:31:19 -04:00
Clement Tsang
1a25fbb987
bug: fix freezing not affecting processes during search and sort
...
Fixes a bug where searching refreshed process data even when frozen.
2020-08-22 17:23:27 -04:00
Clement Tsang
3394b9ee66
feature: allow searching by state, add more keyword variants
...
Allows searching by state (`state = sleep`), and adds more keyword variants for searching: `cpu%`, `mem%`, `r/s`, `w/s`, matching the columns.
2020-08-22 15:38:13 -04:00
Clement Tsang
c82f4d40b4
feature: Support memb (mem bytes) searching in processes
...
Supports searching by the new mem value.
2020-08-21 22:59:49 -04:00
Clement Tsang
ff15649be7
refactor: remove kill command, use libc
...
Removes the kill command call and instead uses libc to manage killing processes.
2020-08-21 18:16:37 -04:00
Clement Tsang
7475f24a4e
feature: Add hook to properly clean up in the case of a kill call
...
Adds a hook to properly clean up the program in case the program gets SIGTERM'd.
2020-08-21 16:00:14 -04:00
Clement Tsang
a1766961fe
Clarify architecture support
2020-08-21 14:53:58 -04:00
Clement Tsang
1dc9346d3b
refactor: Remove ps calls
...
Removes and refactor ps calls that... should have not been there in the first place.
2020-08-21 01:33:12 -04:00
Clement Tsang
4b03b4b0b0
refactor: Refactor code, add new tests
...
Refactor code so we use a lib, allowing for easier testing. Adds additional tests for layouts.
2020-08-19 16:32:33 -04:00
Clement Tsang
f6aa8e5d1d
ci: fix indentation error
2020-08-19 10:40:58 -04:00
ClementTsang
a7b8d45682
Add deploy github script
2020-08-19 10:27:57 -04:00
Clement Tsang
b2a00d49f1
ci: Automatically build package files on release
...
Automatically builds packages for AUR, chocolatey, and homebrew on release.
2020-08-18 23:22:50 -04:00
ClementTsang
eb5ac54ad0
bug: fix not switching sort type when toggling % in mem
2020-08-17 15:52:09 -04:00
Clement Tsang
3c373d7129
feature: Add appox. total mem as an option for processes and basic mem
...
Adds a way to display the memory value as a column in the processes widget and the basic memory widget, rather than just the percentage.
2020-08-17 15:41:37 -04:00
Clement Tsang
59ce90f577
bug: Fix bug w/ parsing /proc/{pid}/stats
...
Fixes a bug caused by incorrectly reading the `/proc/{pid}/stats` file. Due to splitting by whitespace, the string parsing was read incorrectly if the process also contained spaces.
2020-08-16 20:53:34 -04:00
Clement Tsang
08e49b63c1
refactor: Revert tui upgrade to 0.10
...
Reverts tui upgrade, there are some bugs and issues - namely, issues with rendering text.
We can revert this commit when those bugs are dealt with (should be fine after 0.10.1, tested building from the repo).
2020-08-16 04:25:59 -04:00
ClementTsang
9068108d0f
bug: fix missing default battery layout during refactor
2020-08-16 03:08:09 -04:00
Clement Tsang
d211c6474c
bug: Fix bug caused by hitting enter w/ a failed dd
...
This would cause the dd fields to get stuck due to never resetting.
2020-08-16 02:56:54 -04:00
Clement Tsang
f3897f0538
feature: Allow sorting by any column
...
This feature allows any column to be sortable.
This also adds:
- Inverting sort for current column with `I`
- Invoking a sort widget with `s` or `F6`. Close with same key or esc.
And:
- A bugfix in regards the basic menu and battery widget
- A lot of refactoring
2020-08-15 20:35:49 -04:00
ClementTsang
84f63f2f83
refactor: remove redundant newlines
2020-08-13 02:04:53 -04:00
Clement Tsang
e1a7378386
change: Update macOS config dir
...
Update documentation and program to use the correct config directory as per the dirs package.
2020-08-12 02:15:57 -04:00
ClementTsang
6e38d73116
change: Refactor dd drawing code
...
This also slightly improves how we generate the widths/heights to be
less... terrible.
Note this is not done, unfortunately. This requires tui-rs' wrapped
paragraph height PR to land and release so I can properly calculate the
height offsets.
See https://github.com/fdehau/tui-rs/pull/349 for details.
2020-08-12 00:27:02 -04:00
ClementTsang
60f4759494
change: Add WASD keys for widget selection movement
2020-08-11 21:19:55 -04:00
ClementTsang
de8460cf9c
docs: Fix README typo [skip travis]
2020-08-11 20:23:23 -04:00