Commit Graph

862 Commits

Author SHA1 Message Date
rare-magma
139583b34d update smart.go 2022-09-29 23:10:59 +02:00
Sean E. Russell
812927b919 More docs changes. Churn, baby, churn! 2022-09-29 13:46:34 -05:00
Sean E. Russell
9a3100455e Readme fixes 2022-09-29 13:26:17 -05:00
Sean E. Russell
f590a56842 Adds translation for sort-by-command change to NL; many docs changes. 2022-09-29 13:18:19 -05:00
Sean E. Russell
7a06ff5fa7 Merge branch 'feat-sort-procs-cmd' of https://github.com/Kqzz/gotop 2022-09-29 12:26:59 -05:00
Sean E. Russell
8f2739c12b Merge branch 'update-gopsutil' of https://github.com/viraptor/gotop 2022-09-29 12:10:31 -05:00
Sean E. Russell
25aa78a6ee One of the termui tests was failing; this fixes the numbered.Less() function.
Something in sorting was broken at some point, maybe during a Go version
upgrade? That code hasn't changed in a while. While fixing the code, I rewrote
the `numbered.Less()` function. It's shorter, and I think it's clearer, but in
addition to being correct now it's also about 10% faster than the original.
2022-09-29 11:32:48 -05:00
Sean E. Russell
9997208503 Update the module versions 2022-09-29 09:09:15 -05:00
Sean E. Russell
98afa3c2ed Merge branch 'master' of github.com:xxxserxxx/gotop 2022-09-29 08:48:29 -05:00
xxxserxxx
93748dba50
Merge pull request #237 from rapenne-s/patch-1
gotop is available in Nixpkgs
2022-09-29 08:43:56 -05:00
Solène Rapenne
061e2fb64e
gotop is available in Nixpkgs 2022-09-26 20:55:36 +02:00
Anatol Pomozov
93fe0cab2e smart.go: switch to simpler ReadGenericAttributes() api
...to get the device temperature. This API abstracts differences between
different device interfaces (SATA vs NVMe vs ...)
2022-09-17 12:57:15 -07:00
Stanisław Pitucha
3e3243fa1f Update gopsutil
This is required for clean darwin compilation. Older versions fail with:

```
../go/pkg/mod/github.com/shirou/gopsutil@v3.20.12+incompatible/cpu/cpu_darwin_cgo.go:13:5: error: 'TARGET_OS_MAC' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_]
    ^
1 error generated.
```
2022-09-01 20:41:38 +10:00
xxxserxxx
31f071ba7f
Merge pull request #231 from sitiom/patch-1
Add scoop installation method
2022-08-17 11:28:02 -05:00
sitiom
b0284f67c5
Add scoop installation method 2022-08-05 14:13:00 +08:00
xxxserxxx
3cb6461c7a
Merge pull request #223 from Vistaus/master
Added nl.toml
2022-07-28 13:47:42 -05:00
xxxserxxx
b892b792b2
Merge pull request #225 from anatol/master
Adjust nvme temperature from Kelvins to Celsius
2022-07-28 13:46:58 -05:00
xxxserxxx
ba918ce4b3
Merge pull request #228 from ctII/pageupdownaddition
add page up and page down to for scrolling pages
2022-07-28 13:46:20 -05:00
Clayton Townsend II
9238e81a59 add page up and page down to for scrolling pages
adds page up and page down keys to main.go to scroll page up and scroll page down
similar to behavior found in htop, and slightly more intuitive
2022-07-22 15:21:47 -05:00
Anatol Pomozov
3518c5262f Adjust nvme temperature from Kelvins to Celsius
NVMe devices report the temperature in Kelvins. Adjust it to Celsius like
for the rest of devices.
2022-07-15 11:02:27 -07:00
Sean E. Russell
cd0cf0f6ed Fixes #217 2022-07-15 11:29:23 -05:00
Sean E. Russell
f433901aee Bump the version of the cross-compiler builder to pull in fixes for #212, #206, #209 2022-07-15 11:14:49 -05:00
Sean E. Russell
8226b52295 Add instruction for packagers and cross-compilers. 2022-07-15 10:13:49 -05:00
Sean E. Russell
0c7eb6b3cb Build script version fix, documentation clarification on some recent feature additions. 2022-07-15 09:19:28 -05:00
Heimen Stoffels
e702aa2777
Added nl.toml 2022-07-13 14:26:45 +02:00
rare-magma
d7232aacb7 use single map, improve logic and logging 2022-06-19 22:11:56 +02:00
rare-magma
e96355d0b8 optimize device opening / closing 2022-06-18 18:55:38 +02:00
rare-magma
387c463eee update go.mod 2022-06-18 16:42:39 +02:00
rare-magma
c3aeb753d9 update go.mod 2022-06-15 23:02:43 +02:00
rare-magma
cd44aab61f handle smart errors, use ParseAsTemperature() 2022-06-15 23:01:53 +02:00
rare-magma
3c148a4d97 add error handling, simplify attribute value assignment, remove redundant name for smart.go 2022-06-14 00:28:37 +02:00
rare-magma
3704569b81 use defer to close smart stream 2022-06-08 18:37:41 +02:00
rare-magma
7f90fef354 close smart stream after reading temperature 2022-06-07 22:25:17 +02:00
rare-magma
6a979718dc use log for error instead of fmt 2022-06-07 20:43:04 +02:00
rare-magma
98c69b7dac improve and simplify disk type switch 2022-06-07 20:31:53 +02:00
rare-magma
b89c1dd748 add disk temperatures via smart.go / ghw 2022-06-06 21:18:59 +02:00
xxxserxxx
b0fd8ac8cd
Merge pull request #219 from aztecrabbit/fix-issue-16
Fix temperature widget not working
2022-05-13 13:30:52 -05:00
Akbar Rifai
7cb35f7f78 Ignore gopsutil host warnings 2022-05-13 19:48:12 +07:00
xxxserxxx
d3fc311d68
Merge pull request #215 from ignavan39/fix/ru_dict
feat: Update ru_RU.toml
2022-04-25 12:05:24 -05:00
Ivan Ignatenko
6ee75d345a
Update ru_RU.toml 2022-04-25 11:28:03 +03:00
Sean E. Russell
251bee9d17 git (or github) doesn't know about @latest (like Go does) 2022-03-27 15:43:05 -05:00
xxxserxxx
4f31421019
Merge pull request #213 from quantonganh/174-upload-download-different-colors
Different colors for download/upload
2022-03-27 10:26:28 -05:00
Quan Tong
3f903c796c Fixes #174: different colors for download/upload 2022-03-26 15:09:34 +07:00
Quan Tong
e0165a2283 Fixes test on darwin 2022-03-26 15:08:44 +07:00
Sean E. Russell
6daf693246 Fixes #207 2022-03-15 11:05:45 -05:00
Sean E. Russell
36cba3468c Merge branch 'master' of github.com:xxxserxxx/gotop 2022-03-15 10:57:31 -05:00
Sean E. Russell
a67301503c Fixes #209 (I hope) 2022-03-15 10:56:30 -05:00
kqzz
987183d7f6 add cmd sorting to help pages 2022-02-19 22:04:59 -05:00
kqzz
6d3595f7f7 feat: add sorting by cmd 2022-02-19 22:02:36 -05:00
xxxserxxx
b08c67b752
Merge pull request #205 from Tigerfyj/patch-3
Update the translation of zh-CN for fix-124
2022-02-18 11:45:47 -06:00