Commit graph

328 commits

Author SHA1 Message Date
Clement Tsang
7e8bf95179
uptick: 0.4.6 (#200) 2020-08-25 01:01:14 -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
005bd95f8a ci: Move wix output naming to Cargo 2020-08-23 21:22:34 -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
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
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
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
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
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
Clement Tsang
d0cc6078df
deps: Update dependencies, drop MSRV
Update dependencies to most recent versions if applicable. Refactor to deal with breaking changes. Drop MSRV due to dependency issues, just support stable and later.
2020-08-11 20:22:39 -04:00
ClementTsang
4cc403b594 uptick: 0.4.5
This patch is just to deal with crates.io not using the correct
Cargo.lock I had intended.
2020-07-08 15:15:16 -04:00
ClementTsang
d643ef7401 uptick: 0.4.4 2020-07-06 01:10:03 -04:00
ClementTsang
3d8a8b4e85 deps: update typed-builder to 0.6.0 2020-05-19 21:17:01 -04:00
Clement Tsang
12e4777d97
change: remove slash, change scroll behaviour on cpu
- Removal of the old slash-space-to-hide behaviour of CPU widget
- Scrolling onto a specific entry will only show that entry
- Showing average is now default
2020-05-16 22:38:19 -04:00
ClementTsang
2d9d10d8f9 uptick: 0.4.3 2020-05-15 00:00:02 -04:00
ClementTsang
2ae2ebd6d8 deps: update sysinfo 2020-05-14 22:22:29 -04:00
ClementTsang
a03e9d6f31 uptick: 0.4.2 2020-05-11 22:53:56 -04:00
ClementTsang
56d6771d1b refactor: re-enable tui-rs linear interpolation 2020-05-10 17:01:45 -04:00
ClementTsang
aea79a0750 uptick: 0.4.1 2020-05-05 17:50:30 -04:00
ClementTsang
1ff2606c90 update tests to deal with msrv 2020-05-04 18:23:34 -04:00
ClementTsang
6e81fbeebf change: more advanced searching and filtering 2020-05-02 16:01:07 -04:00
ClementTsang
b87fde16ab uptick: 0.4.0 2020-04-29 00:10:27 -04:00
Clement Tsang
2faf3c6592
refactor: revert linear interpolation until tui fix comes 2020-04-28 16:44:10 -04:00
ClementTsang
24f5717125 cargo: switch to personal fork of tui-rs for now to deal with subtraction bug in lines 2020-04-26 20:18:29 -04:00
ClementTsang
bc571588e4 refactor: Update tui to 0.9; refactor with new features 2020-04-18 18:05:41 -04:00
Clement Tsang
163f6823a2
feature: Add battery widget (#120) 2020-04-16 20:06:50 -04:00
dependabot-preview[bot]
28c27272d7
deps: sysinfo from 0.12.0 to 0.13.0 (#112) 2020-04-09 11:13:52 -04:00
Clement Tsang
d2434bf8ad
uptick: 0.3.0 2020-04-07 21:07:24 -04:00
Clement Tsang
9127cb1468
refactor/bug: Array bound checking, fix CPU jump 2020-04-06 23:04:04 -04:00
Clement Tsang
a40ddce84f
deps: Upgrade crossterm and sysinfo (#105) 2020-04-05 23:20:22 -04:00
Clement Tsang
0b1d84fdf5
Add modularity to widget placement and inclusion (#95) 2020-04-01 20:31:43 -04:00
dependabot-preview[bot]
f44de81874
Update assert_cmd requirement from 0.12 to 1.0 (#94)
Updates the requirements on [assert_cmd](https://github.com/assert-rs/assert_cmd) to permit the latest version.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases)
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v0.12.0...v1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-27 18:33:51 -04:00
Clement Tsang
1968bb14b4
Cleanup before modularity (#84)
* Uptick some crates, update README dependencies

* Cleanup before modularity feature.

* Fix missing reset zoom on reset

* Fixed reset... not resetting search or data displayed

* Cleaned up options a tiny bit to make more sense.

* Cleaned up some TODOs and the like.

* specify only build master branch.
2020-03-13 01:07:24 -04:00
dependabot-preview[bot]
57fcd77d98
Update fern requirement from 0.5.9 to 0.6.0
Updates the requirements on [fern](https://github.com/daboross/fern) to permit the latest version.
- [Release notes](https://github.com/daboross/fern/releases)
- [Changelog](https://github.com/daboross/fern/blob/master/CHANGELOG.md)
- [Commits](https://github.com/daboross/fern/compare/fern-0.5.9...fern-0.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-10 10:40:44 +00:00
Clement Tsang
3a57570031
Cargo optimization (#65)
* Add potential cargo optimizations.

* Add potential cargo optimizations.
2020-03-05 02:23:19 -05:00
Clement Tsang
188858fedd
Formatting and typos (#63)
* Fix typo and run rustfmt.

* Also add rustfmt check to travis... this might be temporary.

* Add a bit on default config files being created in the debian extended description.

* Add rustup component add to travis.

* Disable rustfmt for now, seems to play weird on windows builds.

* Remove unneccesary deprecate ignore.
2020-03-05 02:09:29 -05:00
ClementTsang
2f5b5e7269 Move windows to separate dependency. 2020-02-28 21:15:36 -05:00
ClementTsang
792be871e8 Uptick crossterm version. 2020-02-27 23:00:51 -05:00
ClementTsang
a755a5d41c Switch to using unicode_segmentation's cursor as a basis on how we do cursor movement in search. 2020-02-27 16:10:33 -05:00
ClementTsang
67f8baa056 Fix unicode causing problems with search. 2020-02-27 16:10:33 -05:00
ClementTsang
039965f2eb Prune dependencies. 2020-02-25 19:44:54 -05:00
Clement Tsang
059290c983
Uptick to 0.2.2 2020-02-25 10:06:37 -05:00
Clement Tsang
d7b068b692
Fix serde missing derive feature
Caused broken cargo install.
2020-02-25 09:54:03 -05:00
ClementTsang
214153316b [skip travis] remove redundant tag 2020-02-22 18:41:13 -05:00
ClementTsang
33a1bc1599 Add debian build. 2020-02-22 18:38:18 -05:00
ClementTsang
8ebe843128 Some doc stuff and edit travis. 2020-02-22 00:42:52 -05:00
ClementTsang
e8ce1d5b1e Uptick version before patch. 2020-02-20 23:33:23 -05:00
ClementTsang
0697d9dd56 Fix issue with default file paths not being respected; updated default file paths. 2020-02-20 23:10:52 -05:00
ClementTsang
8cf5b42f29 Update cargo.toml, some todos 2020-02-19 00:16:40 -05:00
ClementTsang
b69eca0fc6 Change to focus on speed. 2020-02-17 18:13:13 -05:00
ClementTsang
b3eafe711e Fix issue introduced with last commit on searching. 2020-02-17 17:53:49 -05:00
ClementTsang
4485d1b380 Some clippy and refactoring. 2020-02-17 17:42:51 -05:00
ClementTsang
59c0b3df62 [skip travis] Update documentation a bit. 2020-02-15 17:41:26 -05:00
ClementTsang
50dd079b9e Updated heim version. 2020-02-15 17:18:37 -05:00
ClementTsang
e05b5c46fe Merged async together. 2020-02-14 22:51:20 -05:00
ClementTsang
1ac6cdde2f Update sysinfo, add total network to windows/linux. 2020-02-09 22:11:03 -05:00
ClementTsang
4ac3a10fbf Update and clean up ? menu... some more work to be done though 2020-02-08 22:38:55 -05:00
ClementTsang
8764b3092a Some cleaning up of the canvas colour setting feature 2020-02-08 16:39:50 -05:00
ClementTsang
fc37cf7f3d Config with toml instead 2020-02-06 21:47:47 -05:00
ClementTsang
a9565d21a3 Remove termion from Cargo, causes windows builds to fail 2020-02-05 20:37:37 -05:00
ClementTsang
7ea20283cf Update cargo to newer versions of crates 2020-02-05 19:53:42 -05:00
ClementTsang
0b857f6609 Remove useless to_vec() calls to reduce clones 2020-02-04 23:33:09 -05:00
ClementTsang
41d56d8a9b Update Cargo, changed the CLI flags for search a bit along with the docs to be a bit easier to remember (all caps, change regex option to -R) 2020-02-04 20:07:53 -05:00
ClementTsang
762acc8642 [skip travis] Update README to reflect added libs 2020-02-02 18:07:41 -05:00
ClementTsang
e548d07c1f Add panic hook, fix cpu legend causing panic on small windows 2020-02-02 17:09:42 -05:00
ClementTsang
ae6e27d25a Updated cargo and .gitignore 2020-01-21 22:48:56 -05:00
ClementTsang
545cb8b8b1 Change of hjkl navigation and removal of q to quit (replaced by Ctrl-[char]) variants. This is required for a less confusing use of upcoming search functionality 2020-01-12 13:15:49 -05:00
ClementTsang
0e4dba00c2 [skip travis] Change of terminology within README. 2020-01-11 18:21:14 -05:00
ClementTsang
896bfc51d3 (cargo-release) start next development iteration 0.1.3-alpha.0 2020-01-11 17:43:32 -05:00
ClementTsang
86c8ce68e7 Potential fix for a panic with time comparisons 2020-01-11 00:42:03 -05:00
ClementTsang
f0d5afb462 Update Cargo to 0.2 (again), and update README 2020-01-09 23:37:14 -05:00
ClementTsang
8595e7422a (cargo-release) start next development iteration 0.1.2-alpha.0 2020-01-09 22:34:03 -05:00
ClementTsang
2c7ab558d0 Fix a quite large bug with disks table display. 2020-01-09 22:04:32 -05:00
ClementTsang
ad190a144d Some basic cleaning 2020-01-06 23:07:58 -05:00
ClementTsang
e2f2f93750 Add optimization to Cargo.toml 2020-01-04 16:07:35 -05:00
ClementTsang
2543cff9d8 (cargo-release) start next development iteration 0.1.1-alpha.0 2020-01-03 00:23:19 -05:00
ClementTsang
6df4843a8f [skip travis] More documentation tweaking 2020-01-02 23:49:23 -05:00
ClementTsang
8cc8b47c89 Some documentation changes 2020-01-02 23:42:44 -05:00
Clement Tsang
7b902a9470 Fix mouse scrolling in windows 2020-01-02 22:54:39 -05:00
ClementTsang
55b5e5abd5 Add random colour generation to allow for dealing with large multicore systems without overlapping colours (hopefully) 2019-12-26 19:06:30 -05:00
ClementTsang
b02c3b7275 Try updating dev-dependency... 2019-12-26 15:19:15 -05:00
ClementTsang
baf588be8a Redid some of the networking portion, changed cargo a bit, some refactoring 2019-12-25 23:02:21 -05:00
ClementTsang
395a3083c6 Update heim 2019-12-25 20:28:38 -05:00
ClementTsang
b7a7ae1a17 Update to newer version of crates 2019-12-25 20:09:49 -05:00
Clement Tsang
eee9c54175 Fix problem with missing brackets and BEDMAS... 2019-12-22 23:38:55 -05:00
Clement Tsang
a0729d3913 Fix for winapi 2019-12-13 02:45:09 -05:00
Clement Tsang
12b4518fa1 Fixed problem with invalid vector index access. 2019-12-13 02:42:36 -05:00
ClementTsang
4e186c56f4 update sysinfo dep 2019-12-12 23:20:02 -05:00
ClementTsang
5449c883b4 [skip travis] Increment up Cargo.toml file... next release will be 0.1.0 2019-12-07 15:39:24 -05:00
ClementTsang
9913cc9fda Update dependencies 2019-12-07 03:01:35 -05:00
ClementTsang
3687a55330 Re-use tui fork for now... 2019-12-06 23:48:38 -05:00
ClementTsang
e7477ce517 Update tui version... legends aren't showing up yet, will have to fork again. 2019-12-06 00:57:04 -05:00
ClementTsang
ff595cd028 Fanagle with tui. Going to probably put this on halt until tui-rs pushes a new stable release... 2019-11-05 16:33:57 -05:00
ClementTsang
9222876543 Change for binary name 2019-10-19 16:29:42 -04:00
ClementTsang
6d1619bb66 Add more buzzwords. 2019-10-16 03:06:34 -04:00
ClementTsang
2e6f087a3a Minor change to fern init results and added to error file 2019-10-10 17:22:53 -04:00
ClementTsang
d42f144384 Added scaling factor to make CPU usage in processes more representative of TOTAL usage, rather than percentage of CPU percentage 2019-10-10 17:13:18 -04:00
ClementTsang
f2813139b1 Update travis again... add cargo-arch 2019-10-10 16:48:46 -04:00
ClementTsang
396360cdbf [skip travis] Bump version. 2019-10-09 22:46:16 -04:00
ClementTsang
0697e44802 Added freezing of updates. 2019-10-09 22:34:09 -04:00
ClementTsang
72a3de98c2 Added arrows to indicate process sorting direction 2019-10-04 23:22:16 -04:00
ClementTsang
b5cacb3e2e Added arrow key control for processes and the like, and fixed off by one error. 2019-09-25 12:35:32 -04:00
Clement Tsang
52c4234ed0 Added dd for windows. 2019-09-25 02:00:10 -04:00
Clement Tsang
bc3169a4df Added some more support for windows. 2019-09-25 01:59:47 -04:00
ClementTsang
cb9ec2cdca Bump up version of crossterm, fix some bugs. 2019-09-24 22:15:43 -04:00
ClementTsang
dfdd6b14d4 Update README, Cargo, and main 2019-09-17 23:48:35 -04:00
ClementTsang
794edfc10d [skip travis] update toml 2019-09-17 00:28:36 -04:00
ClementTsang
db06f8201f Potential fix for windows processes. 2019-09-17 00:24:36 -04:00
ClementTsang
b9ff7efa21 Changed toml one more time. 2019-09-16 23:53:20 -04:00
ClementTsang
231049c118 Fixed text issue. 2019-09-16 23:34:34 -04:00
ClementTsang
11af345ea1 Moved description to cargo.toml. 2019-09-16 23:16:43 -04:00
ClementTsang
0237e47085 Played around with Cargo.toml. 2019-09-16 23:08:37 -04:00
ClementTsang
f5873db9ac [skip travis] Changed name and some minor things. 2019-09-16 22:54:39 -04:00
ClementTsang
10abcd74af [skip travis] Changed cargo.toml to have some more data. 2019-09-16 22:42:23 -04:00
ClementTsang
0eb993d129 Added a few changes - fix for slow start time feel, changed cpu legend display, added logic to make avg cpu display over everything. Also changed tui source to a fork. 2019-09-15 01:29:49 -04:00
ClementTsang
b75374be76 Updated version number. 2019-09-14 21:22:57 -04:00
ClementTsang
50d3be05dd More refactoring. 2019-09-11 20:41:11 -04:00
ClementTsang
d9a0d32c1f Ironed out as many kinks as possible in terms of smoothness. 2019-09-09 18:34:13 -04:00
ClementTsang
471209f511 Refactored code such that it fits more of tui-rs' example. 2019-09-08 19:56:23 -04:00
ClementTsang
96ceba92c2 Started terminal UI. 2019-09-08 01:25:53 -04:00
ClementTsang
ace6a4bc68 Got processing switched to heim 2019-09-07 18:45:44 -04:00
ClementTsang
153a2590b0 Started using heim. Not working yet. 2019-09-07 00:49:15 -04:00
ClementTsang
96ef7dc106 Rename because puns. 2019-09-06 20:51:53 -04:00
ClementTsang
8d5ee6e2e4 Switch to heim. 2019-09-06 20:51:18 -04:00
ClementTsang
2b8676ecf8 Added TODO list, and started more work. 2019-09-04 16:53:05 -04:00
ClementTsang
a1923e198c Setup. 2019-09-03 23:27:25 -04:00