diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-21 01:37:12 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-21 01:37:12 +0100 |
| commit | c464e5800961c809c73d4180f8a66885b53c63d7 (patch) | |
| tree | 3db42241d514cf0e85b3ae6a3a1b17fa7ccf0f3b /public | |
| parent | f8b1d8bc7e7738a4c3e55b5492106f06ab4cb971 (diff) | |
meta: Codebase improvements on NeKernel.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'public')
23 files changed, 50 insertions, 46 deletions
diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Array.h b/public/frameworks/CoreFoundation.fwrk/headers/Array.h index 160f90bb..1b3e4818 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Array.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Array.h @@ -1,8 +1,8 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. -------------------------------------------- */ +======================================== */ #pragma once diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Atom.h b/public/frameworks/CoreFoundation.fwrk/headers/Atom.h index 5d556179..5b398d1e 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Atom.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Atom.h @@ -1,8 +1,8 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. -------------------------------------------- */ +======================================== */ #pragma once #include <CoreFoundation.fwrk/headers/Foundation.h> diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h b/public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h index 5eac262e..fa4b17b9 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Dictionary.h @@ -1,8 +1,8 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. -------------------------------------------- */ +======================================== */ #pragma once diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h b/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h index 054e09fd..e195c572 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Foundation.h @@ -1,12 +1,12 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. FILE: Foundation.h PURPOSE: Foundation header of the CF framework. -------------------------------------------- */ +======================================== */ #pragma once diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Object.h b/public/frameworks/CoreFoundation.fwrk/headers/Object.h index 194f150f..0bf02e1c 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Object.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Object.h @@ -1,9 +1,9 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. -------------------------------------------- */ +======================================== */ #pragma once diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Property.h b/public/frameworks/CoreFoundation.fwrk/headers/Property.h index ada2e2dd..f3c4a937 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Property.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Property.h @@ -1,8 +1,8 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. -------------------------------------------- */ +======================================== */ #ifndef _PROPS_H #define _PROPS_H diff --git a/public/frameworks/CoreFoundation.fwrk/headers/Ref.h b/public/frameworks/CoreFoundation.fwrk/headers/Ref.h index 4b2d22ad..c1d5aec7 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/Ref.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/Ref.h @@ -1,9 +1,9 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. -------------------------------------------- */ +======================================== */ #ifndef _REF_H_ #define _REF_H_ diff --git a/public/frameworks/CoreFoundation.fwrk/headers/String.h b/public/frameworks/CoreFoundation.fwrk/headers/String.h index f9793a32..6fb2f817 100644 --- a/public/frameworks/CoreFoundation.fwrk/headers/String.h +++ b/public/frameworks/CoreFoundation.fwrk/headers/String.h @@ -1,9 +1,9 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. -------------------------------------------- */ +======================================== */ #pragma once diff --git a/public/frameworks/CoreFoundation.fwrk/src/Foundation.cc b/public/frameworks/CoreFoundation.fwrk/src/Foundation.cc index 4f4cc2c2..e5de94a7 100644 --- a/public/frameworks/CoreFoundation.fwrk/src/Foundation.cc +++ b/public/frameworks/CoreFoundation.fwrk/src/Foundation.cc @@ -1,8 +1,8 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2024 Amlal El Mahrouss, licensed under the Apache 2.0 license -------------------------------------------- */ +======================================== */ #include <CoreFoundation.fwrk/headers/Foundation.h> diff --git a/public/frameworks/DiskImage.fwrk/headers/DiskImage.h b/public/frameworks/DiskImage.fwrk/headers/DiskImage.h index 9cdbf57e..01cfc04a 100644 --- a/public/frameworks/DiskImage.fwrk/headers/DiskImage.h +++ b/public/frameworks/DiskImage.fwrk/headers/DiskImage.h @@ -1,11 +1,11 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. FILE: DiskImage.h PURPOSE: Disk Imaging framework. - ------------------------------------------- */ + ======================================== */ #pragma once diff --git a/public/frameworks/DiskImage.fwrk/src/DiskImage+EPM.cc b/public/frameworks/DiskImage.fwrk/src/DiskImage+EPM.cc index 5823d99c..28c0cd7d 100644 --- a/public/frameworks/DiskImage.fwrk/src/DiskImage+EPM.cc +++ b/public/frameworks/DiskImage.fwrk/src/DiskImage+EPM.cc @@ -1,11 +1,11 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. FILE: DiskImage+EPM.cc PURPOSE: Disk Imaging framework. - ------------------------------------------- */ + ======================================== */ #include <DiskImage.fwrk/headers/DiskImage.h> diff --git a/public/frameworks/DiskImage.fwrk/src/DiskImage+HeFS.cc b/public/frameworks/DiskImage.fwrk/src/DiskImage+HeFS.cc index 3d661f57..297650dc 100644 --- a/public/frameworks/DiskImage.fwrk/src/DiskImage+HeFS.cc +++ b/public/frameworks/DiskImage.fwrk/src/DiskImage+HeFS.cc @@ -1,11 +1,11 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. FILE: DiskImage+OpenHeFS.cc PURPOSE: Disk Imaging framework. - ------------------------------------------- */ + ======================================== */ #include <DiskImage.fwrk/headers/DiskImage.h> diff --git a/public/frameworks/DiskImage.fwrk/src/DiskImage+NeFS.cc b/public/frameworks/DiskImage.fwrk/src/DiskImage+NeFS.cc index 6a3533a8..30c20cf7 100644 --- a/public/frameworks/DiskImage.fwrk/src/DiskImage+NeFS.cc +++ b/public/frameworks/DiskImage.fwrk/src/DiskImage+NeFS.cc @@ -1,11 +1,11 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. FILE: DiskImage+NeFS.cc PURPOSE: Disk Imaging framework. - ------------------------------------------- */ + ======================================== */ #include <DiskImage.fwrk/headers/DiskImage.h> diff --git a/public/frameworks/KernelTest.fwrk/headers/KernelTest.h b/public/frameworks/KernelTest.fwrk/headers/KernelTest.h index 0e4e688e..7b25c8a4 100644 --- a/public/frameworks/KernelTest.fwrk/headers/KernelTest.h +++ b/public/frameworks/KernelTest.fwrk/headers/KernelTest.h @@ -1,8 +1,8 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. -------------------------------------------- */ +======================================== */ #pragma once diff --git a/public/frameworks/KernelTest.fwrk/src/UnitTests.cc b/public/frameworks/KernelTest.fwrk/src/UnitTests.cc index 77626dc6..ab6effa9 100644 --- a/public/frameworks/KernelTest.fwrk/src/UnitTests.cc +++ b/public/frameworks/KernelTest.fwrk/src/UnitTests.cc @@ -1,8 +1,8 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. -------------------------------------------- */ +======================================== */ #include <public/frameworks/KernelTest.fwrk/headers/KernelTest.h> diff --git a/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h b/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h index 45d53b53..de4e6b09 100644 --- a/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h +++ b/public/frameworks/LaunchHelpers.fwrk/headers/Foundation.h @@ -1,8 +1,8 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. -------------------------------------------- */ +======================================== */ #pragma once @@ -15,10 +15,10 @@ struct LHLaunchInfo; /// @brief Launch information structure. /// @note This structure is read-only. Modyfing its members wo't have any effect. struct LHLaunchInfo final { - CF::CFString fExecutablePath; - CF::CFString fWorkingDirectory; - CF::CFString fArguments; - CF::CFString fEnvironment; + CF::CFString fExecutablePath; + CF::CFString fWorkingDirectory; + CF::CFString fArguments; + CF::CFString fEnvironment; CF::CFInteger64 fUID{0}; CF::CFInteger64 fGID{0}; }; diff --git a/public/tools/diutil/src/CommandLine.cc b/public/tools/diutil/src/CommandLine.cc index 9bcc0c68..37ac2c7e 100644 --- a/public/tools/diutil/src/CommandLine.cc +++ b/public/tools/diutil/src/CommandLine.cc @@ -1,11 +1,11 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. FILE: CommandLine.cc PURPOSE: DIUTIL CLI. - ------------------------------------------- */ + ======================================== */ #include <DiskImage.fwrk/headers/DiskImage.h> diff --git a/public/tools/ld.dyn/src/CommandLine.cc b/public/tools/ld.dyn/src/CommandLine.cc index 3ee808c4..45f707a9 100644 --- a/public/tools/ld.dyn/src/CommandLine.cc +++ b/public/tools/ld.dyn/src/CommandLine.cc @@ -15,7 +15,8 @@ SInt32 _NeMain(SInt32 argc, Char* argv[]) { LIBSYS_UNUSED(argv); PrintOut(nullptr, "%s", "ld.dyn: Dynamic Loader.\n"); - PrintOut(nullptr, "%s", "ld.dyn: © 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.\n"); + PrintOut(nullptr, "%s", + "ld.dyn: © 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.\n"); for (SInt32 i = 1U; i < argc; ++i) { if (MmStrCmp(argv[i], DYNLIB_FLAG) == 0) { diff --git a/public/tools/ld.fwrk/src/CommandLine.cc b/public/tools/ld.fwrk/src/CommandLine.cc index b02361fe..70c509b9 100644 --- a/public/tools/ld.fwrk/src/CommandLine.cc +++ b/public/tools/ld.fwrk/src/CommandLine.cc @@ -13,7 +13,8 @@ SInt32 _NeMain(SInt32 argc, Char* argv[]) { LIBSYS_UNUSED(argv); PrintOut(nullptr, "%s", "ld.fwrk: Framework Loader.\n"); - PrintOut(nullptr, "%s", "ld.fwrk: © 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.\n"); + PrintOut(nullptr, "%s", + "ld.fwrk: © 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.\n"); return EXIT_FAILURE; } diff --git a/public/tools/mgmt.launch/src/CommandLine.cc b/public/tools/mgmt.launch/src/CommandLine.cc index cb4fe547..9e019906 100644 --- a/public/tools/mgmt.launch/src/CommandLine.cc +++ b/public/tools/mgmt.launch/src/CommandLine.cc @@ -1,8 +1,8 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. - ------------------------------------------- */ + ======================================== */ #include <libSystem/SystemKit/System.h> diff --git a/public/tools/mgmt.oe/src/CommandLine.cc b/public/tools/mgmt.oe/src/CommandLine.cc index 908b72a5..e16beacc 100644 --- a/public/tools/mgmt.oe/src/CommandLine.cc +++ b/public/tools/mgmt.oe/src/CommandLine.cc @@ -1,8 +1,8 @@ -/* ------------------------------------------- +/* ======================================== Copyright (C) 2025, Amlal El Mahrouss, licensed under the Apache 2.0 license. -------------------------------------------- */ +======================================== */ #include <libSystem/SystemKit/Jail.h> #include <libSystem/SystemKit/System.h> diff --git a/public/tools/mk.fwrk/src/CommandLine.cc b/public/tools/mk.fwrk/src/CommandLine.cc index 65655da4..8c1dac5c 100644 --- a/public/tools/mk.fwrk/src/CommandLine.cc +++ b/public/tools/mk.fwrk/src/CommandLine.cc @@ -25,7 +25,8 @@ SInt32 _NeMain(SInt32 argc, Char* argv[]) { for (SInt32 i = 2UL; i < argc; ++i) { if (MmStrCmp(argv[i], "-h") == 0) { PrintOut(nullptr, "%s", "make_app: Framework/Application Creation Tool.\n"); - PrintOut(nullptr, "%s", "make_app: © 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.\n"); + PrintOut(nullptr, "%s", + "make_app: © 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.\n"); PrintOut(nullptr, "%s", "make_app: -a: Application Directory.\n"); PrintOut(nullptr, "%s", "make_app: -s: Steps (Setup pages) Directory.\n"); diff --git a/public/tools/open/src/CommandLine.cc b/public/tools/open/src/CommandLine.cc index 130545d2..06c37957 100644 --- a/public/tools/open/src/CommandLine.cc +++ b/public/tools/open/src/CommandLine.cc @@ -17,7 +17,8 @@ SInt32 _NeMain(SInt32 argc, Char* argv[]) { if (argc == 1) return EXIT_FAILURE; PrintOut(nullptr, "open: Open Loader.\n"); - PrintOut(nullptr, "open: © 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.\n"); + PrintOut(nullptr, + "open: © 2024-2025 Amlal El Mahrouss, Licensed under the Apache 2.0 license.\n"); for (SInt32 i = 1U; i < argc; ++i) { if (MmStrCmp(argv[i], OPEN_APP_HELP_FLAG) == 0) { |
