Commit Graph

26 Commits

Author SHA1 Message Date
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
Ponali 668ed93491 made modload catch all errors emitted by modules 2025-10-20 17:38:43 +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 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
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
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
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
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
WahPlus 0b2745ab9c Merge branch 'Pre-Alpha-3.0.0' of https://github.com/Team-Cerulean-Blue/Halyde into Pre-Alpha-3.0.0 2025-09-15 08:14:39 +03:00
WahPlus 099fbee8c6 Added logging system, fixed filesystem read handle buffering and added read handle seeking. 2025-09-15 08:10:50 +03:00
Ponali ff04e730f9 ported apps download/wget, fetch, label, and lscor/ps
for the fetch app to fully work, defenv has been edited to share _OSLOGO.
2025-09-14 18:46:26 +02:00
Ponali d3d5f21ab1 lots and LOTS of stuff
i lost track sorry
2025-09-14 13:37:41 +02:00
WahPlus ef0ffa1886 ALPHA 3.0.0 - Added Inter-Process Communication and fixed the bug where the shell would continue taking in input when a command was still running. 2025-08-21 21:03:17 +03:00
WahPlus cbf25999f0 PRE-ALPHA 3.0.0 - Rewrote the kernel to use a more modular design, changed some terms, added process sandboxing for security.
COMING IN THE FULL RELEASE:
- A user system
- A functional IPC (Inter-Process Communication) system

THINGS CAN AND WILL CHANGE FROM NOW UNTIL THE FINAL RELEASE.
2025-08-17 16:38:08 +03:00