Commit Graph

214 Commits

Author SHA1 Message Date
mcplayer3 8c33ee0eb9 loadthething returns 2026-06-06 02:15:25 +10: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 fa1ef3926b Hey, Vsauce! Michael here. 2025-10-30 15:29:42 +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
WahPlus 337f8af1df Made LuaLS ignore missing fields diagnostic.
LuaLS was complaining about the `package` table in `boot.lua` missing
certain fields. However, this is irrelevant for Halyde.
2025-10-28 17:06:28 +02:00
WahPlus 30b38ee0d9 Added MD5 library 2025-10-28 16:58:12 +02:00
mcplayer3 8548855d7f Fix log tool not printing some log entries 2025-10-21 20:34:06 +11:00
Ponali f1d69b51b2 added a keybind to the crash screen that reboots when the user presses enter/return
wow lazyvim likes reformatting everything
2025-10-20 18:37:42 +02:00
Ponali c9883c2c64 made all logs with multiple lines show up correctly
before this commit, all logs with multiple lines show up as one whole
string, where normally when a line would end and another would start, it
displays as two wide characters showing "[LF][HT]".
2025-10-20 18:17:01 +02: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 1798d63864 fixed filesystem erroring out when seeking while not buffered 2025-10-11 10:22: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
WahPlus 1d49683d3c Made the spacing a little nicer for the registry file. 2025-10-04 20:23:29 +03:00
WahPlus e0b6feb98c Made some formatting changes to lib/log.lua and disabled buffering when trimming the log.
The reason for this is that log files can get really large, and
buffering loads the whole file into the buffer. We devised an algorithm
to not use too much memory when trimming log files by NOT loading
everything into RAM, but buffering nullified it. It has now been
disabled.
2025-10-04 20:14:36 +03: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 943f1020fa Added the new registry.json in preparation for Argentum 2 2025-09-30 21:22:09 +03:00
WahPlus 3d9ec665b9 Added component.isAvailable()
The function checks if a component of a specified type exists.
2025-09-30 21:15:19 +03:00