876 Commits

Author SHA1 Message Date
9dcbd2a48e [修复] 更新依赖, 修复龙架构无法正常编译的问题
Some checks failed
Build Go binaries / build (push) Has been cancelled
2024-09-13 15:08:35 +08:00
03f5163ccf [文档] 更新说明文档
Some checks failed
Create pre-release / build (push) Has been cancelled
v1.0.0
2024-07-17 15:33:14 +08:00
3e50a67047 Merge pull request #247 from gardockt/revert-termbox-go-bump
Revert termbox-go dependency bump
2023-03-30 14:45:17 -05:00
1292a1f53e Revert termbox-go dependency bump 2023-03-22 19:56:32 -05:00
44d9dcb5be Disabling this for now since it always fails and I'm not sure it should be automated anyway. 2023-03-22 19:56:32 -05:00
2cf2f94491 The man page should be in 1, not 8 2023-03-22 19:56:32 -05:00
5bc0756661 Merge pull request #248 from jakic12/readme-typo
Fix readme typo
2023-03-21 10:57:58 -05:00
6a86e0cbf9 fix readme typo 2023-03-19 23:27:44 +01:00
02fb0f051f Revert termbox-go dependency bump 2023-02-16 17:43:47 +01:00
98771c2084 Merge pull request #245 from talentlessguy/patch-1
Better Russian translation
2023-02-08 10:22:50 -06:00
6bdab0ee39 Better Russian translation 2023-01-23 15:33:56 +02:00
7a8dcee301 Merge pull request #238 from rare-magma/update-smart.go
update smart.go
2022-11-16 11:00:53 -06:00
87e0c901f1 Merge pull request #204 from mjshariati98/add-farsi-lang
Add Persian/Farsi support to gotop for issue #120
2022-11-04 08:54:55 -05:00
139583b34d update smart.go 2022-09-29 23:10:59 +02:00
812927b919 More docs changes. Churn, baby, churn! 2022-09-29 13:46:34 -05:00
9a3100455e Readme fixes 2022-09-29 13:26:17 -05:00
f590a56842 Adds translation for sort-by-command change to NL; many docs changes. 2022-09-29 13:18:19 -05:00
7a06ff5fa7 Merge branch 'feat-sort-procs-cmd' of https://github.com/Kqzz/gotop 2022-09-29 12:26:59 -05:00
8f2739c12b Merge branch 'update-gopsutil' of https://github.com/viraptor/gotop 2022-09-29 12:10:31 -05:00
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
9997208503 Update the module versions 2022-09-29 09:09:15 -05:00
98afa3c2ed Merge branch 'master' of github.com:xxxserxxx/gotop 2022-09-29 08:48:29 -05:00
93748dba50 Merge pull request #237 from rapenne-s/patch-1
gotop is available in Nixpkgs
2022-09-29 08:43:56 -05:00
061e2fb64e gotop is available in Nixpkgs 2022-09-26 20:55:36 +02:00
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
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
31f071ba7f Merge pull request #231 from sitiom/patch-1
Add scoop installation method
2022-08-17 11:28:02 -05:00
b0284f67c5 Add scoop installation method 2022-08-05 14:13:00 +08:00
3cb6461c7a Merge pull request #223 from Vistaus/master
Added nl.toml
2022-07-28 13:47:42 -05:00
b892b792b2 Merge pull request #225 from anatol/master
Adjust nvme temperature from Kelvins to Celsius
2022-07-28 13:46:58 -05:00
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
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
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
cd0cf0f6ed Fixes #217 2022-07-15 11:29:23 -05:00
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
8226b52295 Add instruction for packagers and cross-compilers. 2022-07-15 10:13:49 -05:00
0c7eb6b3cb Build script version fix, documentation clarification on some recent feature additions. 2022-07-15 09:19:28 -05:00
e702aa2777 Added nl.toml 2022-07-13 14:26:45 +02:00
d7232aacb7 use single map, improve logic and logging 2022-06-19 22:11:56 +02:00
e96355d0b8 optimize device opening / closing 2022-06-18 18:55:38 +02:00
387c463eee update go.mod 2022-06-18 16:42:39 +02:00
c3aeb753d9 update go.mod 2022-06-15 23:02:43 +02:00
cd44aab61f handle smart errors, use ParseAsTemperature() 2022-06-15 23:01:53 +02:00
3c148a4d97 add error handling, simplify attribute value assignment, remove redundant name for smart.go 2022-06-14 00:28:37 +02:00
3704569b81 use defer to close smart stream 2022-06-08 18:37:41 +02:00
7f90fef354 close smart stream after reading temperature 2022-06-07 22:25:17 +02:00
6a979718dc use log for error instead of fmt 2022-06-07 20:43:04 +02:00
98c69b7dac improve and simplify disk type switch 2022-06-07 20:31:53 +02:00
b89c1dd748 add disk temperatures via smart.go / ghw 2022-06-06 21:18:59 +02:00
b0fd8ac8cd Merge pull request #219 from aztecrabbit/fix-issue-16
Fix temperature widget not working
2022-05-13 13:30:52 -05:00