Commit graph

869 commits

Author SHA1 Message Date
Jakob P. Liljenberg 3200de584f
Merge pull request #502 from mattico/linux-zfs-arc
Linux: subtract ZFS ARC min size from available memory
2023-02-23 18:49:01 +01:00
Jakob P. Liljenberg af04de9dcc
Merge pull request #483 from simplepad/fix-freebsd
[fix] fix zfs on freebsd not reporting IO
2023-02-23 18:43:36 +01:00
Matt Ickstadt 4d6e79156f readme: Add zfs_arc_cached documentation 2023-02-23 11:29:40 -06:00
Matt Ickstadt 345bf7c052 Linux: subtract ZFS ARC min size from available memory 2023-02-23 10:59:10 -06:00
Steffen 99c5991c1c Replace -ftree-loop-vectorize with -ftree-vectorize.
In preparation for LLVM support use -ftree-vectorize as it is understood
by clang (unlike -ftree-loop-vectorize) and it is an umbrella for the
former and -ftree-slp-vectorize. See https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html.
2023-02-13 00:36:10 +00:00
François Bechet 191b23425e
Create adwaita.theme
Add the popular Adwaita theme for people who like a theme matching GTK applications.
Note: I used a 3 colors gradient while the start and mid-colors are the same, this is not a mistake, it's because using a two colors gradient it would create ugly mid-colors.
2022-12-24 11:22:38 +01:00
simplepad 2b18c6952d
fix zfs on freebsd not reporting IO 2022-12-21 21:45:25 +03:00
aristocratos c4ee41ebc0 Fixed: Makefile, VERBOSE flag now shows directory creation, Issue #480 2022-12-15 17:42:07 +01:00
Jakob P. Liljenberg 484ce73c46
Merge pull request #481 from NexAdn/479-fix-parallel-build
Makefile: make build targets depend on directories
2022-12-15 16:46:38 +01:00
NexAdn 0d17fb66c4
Makefile: make build targets depend on directories
Since directory creation is a requirement for writing the built
artifacts, this commit introduces a dependency on the directories for
all build targets (compile and link), so parallel builds can't fail
because a build target is executed before the directories target.

Closes: https://github.com/aristocratos/btop/issues/479
2022-12-15 10:30:51 +01:00
aristocratos e67a35df08 Removed unused statement... 2022-11-30 23:18:04 +01:00
aristocratos 9aaffd6b26 Fixed: Use MemFree for used mem calculation if MemAvailable is greater than MemTotal. 2022-11-30 22:41:08 +01:00
aristocratos 0f8498fa4e v1.2.13 Bug fixes 2022-11-06 22:36:34 +01:00
Jakob P. Liljenberg 9dc57534b1
Merge pull request #464 from correabuscar/osx_replace__getnameinfo__with__inet_ntop
osx: replace getnameinfo with inet_ntop
2022-11-06 15:24:30 +01:00
correabuscar f4eea3f3cf osx: replace getnameinfo with inet_ntop
this is like PR #462 for FreeBSD,
and like PR #458 for Linux.
2022-11-06 14:56:54 +01:00
Jakob P. Liljenberg 25123644f0
Merge pull request #463 from correabuscar/freebsd_replace__getnameinfo__with__inet_ntop [skip actions]
a comment about AF_LINK being ignored on purpose
2022-11-06 14:40:26 +01:00
correabuscar 7ff3c7f7d0 a comment about AF_LINK being ignored on purpose 2022-11-06 13:49:44 +01:00
Jakob P. Liljenberg 20df83658a
Merge pull request #462 from correabuscar/freebsd_replace__getnameinfo__with__inet_ntop
FreeBSD: replace getnameinfo with inet_ntop
2022-11-06 12:43:57 +01:00
correabuscar 12def527cd FreeBSD: replace getnameinfo with inet_ntop
also make IPv6 work.
2022-11-06 12:04:38 +01:00
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