mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
Chore: renames stringUtils to strutil
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "smc_temps.h"
|
||||
#include "common/apple/cf_helpers.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <IOKit/IOKitLib.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "common/apple/version.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "FFPlatform_private.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/io.h"
|
||||
#include "detection/version/version.h"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "FFPlatform_private.h"
|
||||
#include "common/FFstrbuf.h"
|
||||
#include "common/arrayUtils.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/io.h"
|
||||
#include "fastfetch_config.h"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "FFPlatform_private.h"
|
||||
#include "common/io.h"
|
||||
#include "common/library.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/windows/unicode.h"
|
||||
#include "common/windows/registry.h"
|
||||
#include "common/windows/nt.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "common/FFstrbuf.h"
|
||||
#include "common/mallocHelper.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "common/binary.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "common/io.h"
|
||||
#include "common/library.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <libelf.h> // #1254
|
||||
#include <fcntl.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "common/binary.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/windows/nt.h"
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "common/printing.h"
|
||||
#include "common/time.h"
|
||||
#include "common/jsonconfig.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "fastfetch_datatext.h"
|
||||
#include "modules/modules.h"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifdef FF_HAVE_DBUS
|
||||
|
||||
#include "common/thread.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
static bool loadLibSymbols(FFDBusLibrary* lib) {
|
||||
FF_LIBRARY_LOAD(dbus, false, "libdbus-1" FF_LIBRARY_EXTENSION, 4);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "fastfetch.h"
|
||||
#include "common/FFlist.h"
|
||||
#include "common/FFstrbuf.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/font.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "common/format.h"
|
||||
#include "common/parsing.h"
|
||||
#include "common/textModifier.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/library.h"
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "common/io.h"
|
||||
#include "fastfetch.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/time.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "fastfetch.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/windows/nt.h"
|
||||
#include "common/windows/unicode.h"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "common/printing.h"
|
||||
#include "common/io.h"
|
||||
#include "common/time.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "detection/version/version.h"
|
||||
#include "modules/modules.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "common/kmod.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <sys/module.h>
|
||||
#include <sys/param.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "common/kmod.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <sys/modctl.h>
|
||||
#include <errno.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "common/kmod.h"
|
||||
#include "common/windows/nt.h"
|
||||
#include "common/mallocHelper.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
bool ffKmodLoaded(const char* modName) {
|
||||
ULONG bufferSize = 0;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "fastfetch.h"
|
||||
#include "common/library.h"
|
||||
#include "common/networking.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
#ifdef FF_HAVE_ZLIB
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "common/networking.h"
|
||||
#include "common/time.h"
|
||||
#include "common/library.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/mallocHelper.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
// Must be included after <mswsock.h>
|
||||
#include "fastfetch.h"
|
||||
#include "common/networking.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
static LPFN_CONNECTEX ConnectEx;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "fastfetch.h"
|
||||
#include "common/option.h"
|
||||
#include "common/color.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "common/option.h"
|
||||
#include "common/jsonconfig.h"
|
||||
#include "common/textModifier.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
static void appendOutputColor(FFstrbuf* buffer, const FFModuleArgs* module) {
|
||||
if (module->outputColor.length) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "fastfetch.h"
|
||||
#include "common/processing.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/mallocHelper.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "fastfetch.h"
|
||||
#include "common/temps.h"
|
||||
#include "common/textModifier.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
void ffTempsAppendNum(double celsius, FFstrbuf* buffer, FFColorRangeConfig config, const FFModuleArgs* module) {
|
||||
if (celsius == -DBL_MAX) { // ignores invalid value
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "common/FFstrbuf.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
const char* ffFindExecutableInPath(const char* name, FFstrbuf* result);
|
||||
static inline bool ffIsAbsolutePath(const char* path) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "fastfetch.h"
|
||||
#include "battery.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/processing.h"
|
||||
#include "common/properties.h"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "battery.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
#include <dirent.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "battery.h"
|
||||
#include "common/io.h"
|
||||
#include "common/FFstrbuf.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <prop/prop_array.h>
|
||||
#include <prop/prop_bool.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "bluetooth.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#ifdef FF_HAVE_DBUS
|
||||
#include "common/dbus.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "bluetoothradio.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#ifdef FF_HAVE_DBUS
|
||||
#include "common/dbus.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "brightness.h"
|
||||
#include "common/io.h"
|
||||
#include "common/edidHelper.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <dirent.h>
|
||||
#include <limits.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "cpu.h"
|
||||
#include "common/sysctl.h"
|
||||
#include "common/apple/smc_temps.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
static double detectCpuTemp(const FFCPUOptions* options, const FFstrbuf* cpuName) {
|
||||
double result = 0;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "cpu.h"
|
||||
#include "common/sysctl.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <sys/param.h>
|
||||
#if __has_include(<sys/cpuset.h>)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "common/processing.h"
|
||||
#include "common/properties.h"
|
||||
#include "common/mallocHelper.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/path.h"
|
||||
|
||||
#include <sys/sysinfo.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "cpu.h"
|
||||
#include "common/sysctl.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "cpu.h"
|
||||
#include "common/processing.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include <kstat.h>
|
||||
|
||||
static const char* detectCPUTempByKstat(const FFCPUOptions* options, kstat_ctl_t* kc, FFCPUResult* cpu) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "cpucache.h"
|
||||
#include "common/sysctl.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
const char* ffDetectCPUCache(FFCPUCacheResult* result) {
|
||||
// https://developer.apple.com/documentation/kernel/1387446-sysctlbyname/determining_system_capabilities#3901385
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "cpucache.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
static const char* parseCpuCacheIndex(FFstrbuf* path, FFCPUCacheResult* result, FFstrbuf* buffer, FFstrbuf* added) {
|
||||
uint32_t baseLen = path->length;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "cpucache.h"
|
||||
#include "common/smbios.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
typedef struct FFSmbiosCacheInfo {
|
||||
FFSmbiosHeader Header;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "common/properties.h"
|
||||
#include "common/parsing.h"
|
||||
#include "common/settings.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "disk.h"
|
||||
#include "common/mallocHelper.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <stdalign.h>
|
||||
#include <sys/mount.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
extern "C" {
|
||||
#include "disk.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
}
|
||||
#include <fs_info.h>
|
||||
#include <Directory.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "disk.h"
|
||||
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <ctype.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "disk.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <sys/mntent.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#if __has_include(<libgeom.h>)
|
||||
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <devstat.h>
|
||||
#include <memory.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "diskio.h"
|
||||
#include "common/io.h"
|
||||
#include "common/properties.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "diskio.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/mallocHelper.h"
|
||||
|
||||
#include <sys/iostat.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "diskio.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/mallocHelper.h"
|
||||
|
||||
#include <sys/disk.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "diskio.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include <kstat.h>
|
||||
|
||||
static inline void kstatFreeWrap(kstat_ctl_t** pkc) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "displayserver.h"
|
||||
#include "common/apple/cf_helpers.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/edidHelper.h"
|
||||
#include "detection/os/os.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "displayserver_linux.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
FFDisplayType ffdsGetDisplayType(const char* name) {
|
||||
if (ffStrStartsWith(name, "eDP-") || ffStrStartsWith(name, "LVDS-")) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "displayserver_linux.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#include "common/settings.h"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "displayserver_linux.h"
|
||||
#include "common/io.h"
|
||||
#include "common/edidHelper.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#ifdef __linux__
|
||||
#include <dirent.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifdef FF_HAVE_WAYLAND
|
||||
|
||||
#include "wayland.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "xdg-output-unstable-v1-client-protocol.h"
|
||||
|
||||
static void waylandOutputModeListener(void* data, FF_A_UNUSED struct wl_output* output, uint32_t flags, int32_t width, int32_t height, int32_t refreshRate) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "../displayserver_linux.h"
|
||||
#include "common/io.h"
|
||||
#include "common/edidHelper.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#ifdef FF_HAVE_WAYLAND
|
||||
|
||||
#include "common/library.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <wayland-client.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "displayserver_linux.h"
|
||||
#include "common/io.h"
|
||||
#include "common/properties.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/mallocHelper.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "common/properties.h"
|
||||
#include "common/edidHelper.h"
|
||||
#include "common/mallocHelper.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "common/library.h"
|
||||
#include "common/properties.h"
|
||||
#include "common/edidHelper.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <X11/extensions/Xrandr.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "common/io.h"
|
||||
#include "common/mallocHelper.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/apple/cf_helpers.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "common/io.h"
|
||||
#include "common/mallocHelper.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
#ifdef __HAIKU__
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "editor.h"
|
||||
#include "common/processing.h"
|
||||
#include "common/library.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/path.h"
|
||||
#include "common/binary.h"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "gamepad.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
static void detectGamepad(FFlist* devices, FFstrbuf* name, FFstrbuf* path) {
|
||||
uint32_t baseLen = path->length;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "gpu.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ static void fillGPUTypeGeneric(FFGPUResult* gpu) {
|
||||
|
||||
#if FF_HAVE_DRM
|
||||
#include "common/library.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <xf86drm.h>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "common/io.h"
|
||||
#include "common/library.h"
|
||||
#include "common/mallocHelper.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include "intel_drm.h"
|
||||
#include "asahi_drm.h"
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "common/io.h"
|
||||
#include "common/library.h"
|
||||
#include "common/FFstrbuf.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/mallocHelper.h"
|
||||
#include "modules/gpu/option.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "gpu.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <libdevinfo.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "fastfetch.h"
|
||||
#include "common/properties.h"
|
||||
#include "common/thread.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "detection/gtk_qt/gtk_qt.h"
|
||||
#include "detection/displayserver/displayserver.h"
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "host.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
const char* ffHostGetMacProductNameWithHwModel(const FFstrbuf* hwModel) {
|
||||
// Macbook Pro: https://support.apple.com/en-us/HT201300
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "initsystem.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/haiku/version.h"
|
||||
#include "common/io.h"
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "initsystem.h"
|
||||
#include "common/processing.h"
|
||||
#include "common/binary.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <libgen.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "keyboard.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <linux/input-event-codes.h>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "localip.h"
|
||||
#include "common/io.h"
|
||||
#include "common/netif.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/debug.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "fastfetch.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/memrchr.h"
|
||||
#include "detection/media/media.h"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "mouse.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
const char* ffDetectMouse(FFlist* devices /* List of FFMouseDevice */) {
|
||||
FF_AUTO_CLOSE_DIR DIR* dirp = opendir("/sys/class/input/");
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "common/io.h"
|
||||
#include "common/netif.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <net/if.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "netio.h"
|
||||
#include "common/netif.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <kstat.h>
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
#include "common/library.h"
|
||||
#include "common/parsing.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include <string.h>
|
||||
|
||||
#define CL_TARGET_OPENCL_VERSION 110
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "os.h"
|
||||
#include "common/io.h"
|
||||
#include "common/sysctl.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/mallocHelper.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "common/parsing.h"
|
||||
#include "common/io.h"
|
||||
#include "common/processing.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "os.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/windows/registry.h"
|
||||
#include "common/windows/unicode.h"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "common/io.h"
|
||||
#include "common/parsing.h"
|
||||
#include "common/processing.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
static void countBrewPackages(FFstrbuf* baseDir, FFPackagesResult* result) {
|
||||
uint32_t baseDirLength = baseDir->length;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "common/parsing.h"
|
||||
#include "common/properties.h"
|
||||
#include "common/settings.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "detection/os/os.h"
|
||||
|
||||
static uint32_t getNumElements(FFstrbuf* baseDir, const char* dirname, bool isdir) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "packages.h"
|
||||
#include "common/io.h"
|
||||
#include "common/processing.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
static bool isValidNixPkg(FFstrbuf* pkg) {
|
||||
if (!ffPathExists(pkg->chars, FF_PATHTYPE_DIRECTORY)) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "packages.h"
|
||||
#include "common/processing.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/path.h"
|
||||
#include "common/windows/unicode.h"
|
||||
#include "common/mallocHelper.h"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
#if __has_include(<libgeom.h>)
|
||||
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <devstat.h>
|
||||
#include <memory.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "physicaldisk.h"
|
||||
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <OS.h>
|
||||
#include <StorageDefs.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "physicaldisk.h"
|
||||
#include "common/io.h"
|
||||
#include "common/properties.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "physicaldisk.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "sys/scsi/generic/inquiry.h"
|
||||
|
||||
#include <libdevinfo.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "physicalmemory.h"
|
||||
#include "common/processing.h"
|
||||
#include "common/smbios.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "common/apple/cf_helpers.h"
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "poweradapter.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <dirent.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "processes.h"
|
||||
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
const char* ffDetectProcesses(uint32_t* result) {
|
||||
FF_AUTO_CLOSE_DIR DIR* dir = opendir("/proc");
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
extern "C" {
|
||||
#include "sound.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
}
|
||||
#include <MediaAddOn.h>
|
||||
#include <MediaNode.h>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "sound.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <sndio.h>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "sound.h"
|
||||
#include "common/io.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "common/properties.h"
|
||||
#include "common/processing.h"
|
||||
#include "common/debug.h"
|
||||
#include "common/stringUtils.h"
|
||||
#include "common/strutil.h"
|
||||
#include "detection/terminalshell/terminalshell.h"
|
||||
|
||||
static void detectAlacritty(FFTerminalFontResult* terminalFont) {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user