Commit Graph

750 Commits

Author SHA1 Message Date
aristocratos
5a53fb4a2c Fixed: Process nice value underflowing, issue #461 2022-11-06 11:32:17 +01:00
Jakob P. Liljenberg
c52206610d
Add git config safe-directory inside freebsd vm 2022-11-06 11:07:27 +01:00
Jakob P. Liljenberg
f7dbf50b75
Merge pull request #459 from correabuscar/fbsd_use_first_IP_of_interface_instead_of_last
FreeBSD: use the first IP of the interface
2022-11-06 10:51:28 +01:00
Jakob P. Liljenberg
386aa6c34a
Merge pull request #460 from correabuscar/osx_use_the_first_IP_of_the_interface_instead_of_the_last
OSX: use the first IP of the interface
2022-11-06 10:48:41 +01:00
correabuscar
bd7018ed96 OSX: use the first IP of the interface
...instead of the last.

Side effect of this is that it also detects when the current IP gets
removed from the interface, instead of keep displaying the old IP.

This is PR #457 but for OSX, not Linux.
2022-11-06 10:34:30 +01:00
Jakob P. Liljenberg
c039f36bb7
Added "Continuous Build FreeBSD" badge 2022-11-06 10:34:05 +01:00
Jakob P. Liljenberg
83c034a041
Removed bad line and gcc12 install since gcc12 i preinstalled 2022-11-06 10:21:01 +01:00
Jakob P. Liljenberg
06ba66b5ed
Possible fix for broken xcode command line tools 2022-11-06 10:18:04 +01:00
Jakob P. Liljenberg
5d9097d9b9
Use gcc12 for macos12 2022-11-06 10:04:55 +01:00
correabuscar
16ce8d21b1 FreeBSD: use the first IP of the interface
... instead of the last.

Side effect of this is that it also detects when the current IP
gets removed from the interface, instead of keep displaying the old IP.

This is PR #457 but for FreeBSD, not Linux.
2022-11-06 08:23:30 +01:00
Jakob P. Liljenberg
a2685962d9
Merge pull request #446 from daephx/fix-conf-typo [skip actions]
fix: spelling mistake in btop.conf
2022-11-06 04:20:54 +01:00
Jakob P. Liljenberg
64c9e85252
Use sh instead of csh 2022-11-06 04:19:50 +01:00
Jakob P. Liljenberg
511c3a665c
Update continuous-build-freebsd.yml 2022-11-06 04:03:37 +01:00
Jakob P. Liljenberg
f6de85534c
Update continuous-build-macos.yml 2022-11-06 03:50:01 +01:00
Jakob P. Liljenberg
3a920b4e3c
Create continuous-build-freebsd.yml 2022-11-06 03:39:53 +01:00
Jakob P. Liljenberg
899831e4ca
Add actions run for pull requests (macos) [skip actions] 2022-11-06 03:07:40 +01:00
Jakob P. Liljenberg
f05bc65c3a
Add actions run for pull requests (linux) [skip actions] 2022-11-06 03:04:47 +01:00
aristocratos
68f7d1f4bb Fixed: Not picking up last username from /etc/passwd 2022-11-05 22:56:52 +01:00
Jakob P. Liljenberg
c65c5e5d22
Merge pull request #458 from correabuscar/replace__getnameinfo__with__inet_ntop
Replace  getnameinfo  with  inet_ntop [on Linux]
2022-11-05 00:17:33 +01:00
correabuscar
bad9bbc160 make IPBUFFER_MAXSIZE an enum constant
... instead of a macro constant(which made the code less readable!)

Supposedly it also doesn't use run-time storage.
2022-11-04 23:23:27 +01:00
correabuscar
96a22b4078 use inet_ntop instead of getnameinfo
saves 979 bytes of reserved buffer because:
NI_MAXHOST is 1025 bytes
and
INET6_ADDRSTRLEN is 46

Depends on PR #457 being merged first.
2022-11-04 23:23:27 +01:00
Jakob P. Liljenberg
6fc58c4360
Merge pull request #457 from correabuscar/i456_use_first_IP_of_iface_not_last
Show the first IP of the interface in NET box [on Linux]
2022-11-04 19:59:16 +01:00
correabuscar
eec1999a8f Show the first IP of the interface in NET box
... instead of the last.

Also, indented the `for` statement with tabs rather than spaces.

Closes #456
2022-11-04 01:45:09 +01:00
Jakob P. Liljenberg
3ddf89ae1c
Merge pull request #454 from Superty/main
proc tree: fix display bug when displaying full cmd
2022-10-31 22:54:12 +01:00
Arjun P
c1675634ef Address comment 2022-10-31 21:42:34 +00:00
Arjun P
bb40de64c9 Fix bug in proc_tree view when showing full cmd 2022-10-30 09:27:56 +00:00
Arjun P
4fbda9df29 proc tree: fix width threshold to match commit message and use and/or instead of &&, || 2022-10-29 00:20:11 +01:00
Jakob P. Liljenberg
011cf650c1
Merge pull request #452 from Superty/main
proc tree view: if there's more than 40 width left, print full cmd
2022-10-29 00:42:53 +02:00
Arjun P
ede7d0a76a proc tree view: if there's more than 40 width left, try to print full cmd 2022-10-28 22:24:56 +01:00
Jakob P. Liljenberg
f8c272c00f
macOS Ventura compile instructions 2022-10-28 22:37:53 +02:00
Jakob P. Liljenberg
f946a764c5
macOS Ventura compile instructions 2022-10-28 22:36:24 +02:00
aristocratos
a201944dc7 Added autodetection for gcc12 to make compiling on macos Ventura easier. 2022-10-28 22:33:16 +02:00
aristocratos
9f0fcdd5bf Fixed: Moved up get_cpuHz() in the execution order to get better cpu clock reading. 2022-10-27 15:09:00 +02:00
Jakob P. Liljenberg
2247ed3db1
Update continuous-build-macos.yml 2022-10-23 19:51:03 +02:00
Jakob P. Liljenberg
f9de2598e0
Update continuous-build-macos.yml 2022-10-23 19:41:12 +02:00
Jakob P. Liljenberg
f05a0560db
Update continuous-build-linux.yml 2022-10-23 19:39:41 +02:00
aristocratos
dda9f2589f Fixed: Ignore disks that fails in statvfs64() to avoid slowdowns and possible crashes. 2022-10-23 19:33:04 +02:00
daephx
7943a0234a fix: spelling mistake in btop.conf 2022-10-15 18:23:07 -07:00
aristocratos
8a07bc43b4 Changed: Reverted back to sysconf(_SC_NPROCESSORS_ONLN) for Cpu core count ant let the new dynamic update fix if cores are turned on later 2022-10-13 09:26:06 +02:00
aristocratos
d1056bf423 Merge branch 'main' of github.com:aristocratos/btop 2022-10-10 13:02:15 +02:00
aristocratos
2ff8864418 Makefile: Reverse VERBOSE bool to not stop with macOS make 2022-10-10 13:02:07 +02:00
Jakob P. Liljenberg
c9b0885a3f
Update README.md 2022-10-10 12:35:30 +02:00
Jakob P. Liljenberg
939062b17c
Added more Makefile flags 2022-10-10 12:34:06 +02:00
aristocratos
080a47e649 Added: VERBOSE=true flag for Makefile to display all compiler commands and fixed so already set CXXFLAGS and LDFLAGS are displayed. 2022-10-10 12:29:32 +02:00
aristocratos
3dd6a6cc6b v1.2.12 Bug fix 2022-10-07 20:59:47 +02:00
aristocratos
4f45b9b25f Added: Dynamic updating of max number of CPU cores 2022-10-07 20:45:12 +02:00
aristocratos
14444760c4 v1.2.11 Quick fix for number of cores detection 2022-10-07 13:52:34 +02:00
aristocratos
e5cc895015 Fixed: Number of cores wrongly detected for Ryzen in rare cases. 2022-10-07 13:41:04 +02:00
aristocratos
7a2556eae5 v1.2.10 Bug fixes, cleanup + a new theme 2022-10-06 22:16:34 +02:00
Jakob P. Liljenberg
d58a17afb1
Merge pull request #438 from stefanos82/main
Further cleanup
2022-10-05 12:28:55 +02:00