Commit Graph

164 Commits

Author SHA1 Message Date
WahPlus a7809384d9 Added group support when installing I guess 2026-03-22 19:58:21 +02:00
WahPlus 88f2a55ca0 Added support for dependency cascading, virtual packages, and groups when removing packages
IT'S NOT SPAGHETTI GUYS TRUST ME
2026-03-22 18:37:39 +02:00
WahPlus 3ab72fe1dd Added a check for if a package is already installed
Installing packages is now fully functional (aside from specific
versions)
2026-03-04 18:19:56 +02:00
WahPlus 1e9ba6c01a Made Argentum 2 create tracking files in /ag2/pkg
These files describe the package's name, version, files, directories,
config files, dependencies, conflicts and whether it is auto-installed
as a dependency or not.
2026-03-04 18:03:44 +02:00
WahPlus 5feed553af I fucking can't anymore 2026-01-18 17:31:58 +02:00
WahPlus d24e00c308 Bugfix in terminal.lua
terminal.read() used to crash if no options were provided.
2025-11-01 08:42:04 +02:00
Ponali f5fcc84903 fixed the "user" kernel module getting the wrong IDs when creating tasks
when the user kernel module creates a task, it used to count the amount
of processes in the system, which can lead to some processes having the
same IDs as another, which causes havoc. this has been fixed by using
the ID counter in the tsched kernel module.
2025-10-30 17:48:16 +01:00
WahPlus 86f825d14b Add login script 2025-10-30 16:03:09 +02:00
WahPlus 3c99c26ea3 Remove useless GPU import in tsched 2025-10-30 16:02:40 +02:00
WahPlus bef22740f6 Minor punctuation change in halyde/kernel/modules/user.lua 2025-10-30 15:20:19 +02:00
WahPlus 3e3e35860c Add text censoring to terminal.read() 2025-10-30 15:02:52 +02:00
WahPlus ad7596efee Removed unused get() function in halyde/kernel/modules/terminal.lua terminal.read() 2025-10-30 14:24:09 +02:00
WahPlus c4b6445c23 Improve variable naming in halyde/kernel/modules/terminal.lua terminal.read() 2025-10-30 14:21:02 +02:00
WahPlus ead5a09747 Comment on require() function in halyde/kernel/boot.lua
This is a pretty old bug by now.
2025-10-30 14:13:18 +02:00
WahPlus be2ddf1dd4 Make terminal.read() use a table for options
Also change all apps to work with this
2025-10-30 13:29:13 +02:00
WahPlus ca5d1114d2 Comment on halyde/apps/touch.lua 2025-10-30 13:28:06 +02:00
WahPlus c5418be165 Remove empty halyde/apps/resolution.lua 2025-10-30 13:25:20 +02:00
WahPlus f0c0acfcdc Comment on maindrv
Why does it exist?!
2025-10-30 13:24:41 +02:00
WahPlus ae1652b1b9 Rename /halyde/shell to /halyde/scripts
The reason is because there will have to be a place to put scripts that
are not apps.
2025-10-30 13:15:04 +02:00
WahPlus c1c6a50b09 Added user system.
Default users are `admin` (password `admin`, UID 1) and `user` (password
`user`, UID 2).
2025-10-28 19:15:20 +02:00
WahPlus 51124da54b Added wait() function. 2025-10-28 19:14:16 +02:00
WahPlus 8144d44deb Renamed lscor to lstsk.
Also added an alias from lscor to lstsk.
2025-10-28 19:13:54 +02:00
mcplayer3 8548855d7f Fix log tool not printing some log entries 2025-10-21 20:34:06 +11:00
Ponali 668ed93491 made modload catch all errors emitted by modules 2025-10-20 17:38:43 +02:00
Ponali 8ab525b9ac made the lua app return the actual syntax error instead of "assertion failed!" 2025-10-20 13:32:05 +02:00
Ponali 245b6a524d made modload check for modules again when a component gets added or removed 2025-10-20 12:11:01 +02:00
Ponali 883f20f269 made events specific to processes
there also needs pending events for the kernel just in case if we ever
need them, but now i'm not sure if it's required
2025-10-18 16:56:46 +02:00
Ponali 61eea92fe0 the lua shell now catches errors dealt by libraries, and puts them on a log file
there's also lazyvim formatting everything, as usual
2025-10-18 11:25:38 +02:00
Ponali 26c1f055d8 made all logs from tsched start with [tsched]
i also converted some stuff to use string.format, and lazyvim also
reformatted them again
2025-10-15 19:03:49 +02:00
Ponali d771a1fe39 added a cleanup routine to IPC
there's also lazyvim reformatting everything, like usual
2025-10-15 18:34:33 +02:00
Ponali a020229a69 turned evmgr into a module
modules that require getting events will need to have "evmgr" as a
dependency
2025-10-15 13:52:28 +02:00
Ponali e1270d7bd7 fixed a bug in modload that lets modules get loaded twice through dependencies
if two modules contain a dependency to the same module, that dependency
will load *twice*, which shouldn't normally happen
2025-10-15 13:49:38 +02:00
Ponali f1877f6338 process crashes now output error logs 2025-10-12 10:05:39 +02:00
Ponali 61a7e3d139 TSCHED IS NOW A MODULE!!!!!!!!!!!! YIPEEEEEEEEEEEE 2025-10-12 09:02:40 +02:00
Ponali 8296127266 refactored tsched.lua with checkArgs and fail-safes 2025-10-11 18:51:42 +02:00
Ponali 62a2466c5e made modload more failsafe 2025-10-11 10:31:31 +02:00
Ponali 33f2573eb6 refactoring of halyde/kernel/boot.lua boot process 2025-10-11 09:14:02 +02:00
Your Name ea074a8f87 Add log tool
adds log tool for viewing logs
2025-10-06 21:43:03 +11:00
Your Name 4a9683a256 Added log tool 2025-10-06 17:48:22 +11:00
Ponali 296aba9a2f made fetch get the logo, instead of getting preloaded when booting 2025-10-05 08:09:14 +02:00
Ponali d63941814f fix tsched crashing when a process gets removed
when a process removes another process, the amount of processes tsched
has decrements, but the for loop doesn't update. a check has been
implemented to check for when the task that's getting looked up doesn't
exist.
2025-10-04 18:36:57 +02:00
Ponali db01a8d741 added the touch app 2025-10-04 14:08:36 +02:00
Ponali a89953056b fix shell not appending current directory to PATH 2025-10-04 12:55:13 +02:00
Ponali 2c47a6df59 add the beep app 2025-10-04 08:40:31 +02:00
WahPlus de5d779d9a Patched a bug with require
If there was a folder in root with the same name as a library, requiring
that library would cause the require function to error. This has now
been fixed.
2025-09-28 16:04:25 +03:00
mcplayer3 ad0f2197a3 Add resolution command (#40) 2025-09-23 12:34:00 +03:00
Ponali cf26f610b4 made stuff more verbose
and also fixed modload using an outdated variant of the log library
2025-09-21 18:41:41 +02:00
WahPlus 39897457f9 Added log printing on the screen on startup.
The log library now prints all the logs on startup.
2025-09-17 20:54:56 +03:00
Ponali 87d0e6bbcb made the lua app preload libraries and indicate how much time was spent loading them
the lua shell (or lua app) before this update was loading all the system
libraries for every command, which makes them slower to actually start
running (about 1.5s of delay). in this update, lua starts loading all
the libraries when the shell starts.
2025-09-16 19:24:02 +02:00
WahPlus 8b51217324 Made filesystem seeking more failsafe and added better log trimming.
- Trying to seek before the start of a file stream now does not cause an
error
- Logs are now trimmed between log entries
2025-09-16 19:36:41 +03:00