Commit Graph

154 Commits

Author SHA1 Message Date
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
WahPlus 90252f83f1 Set Git to ignore logs
Added the /halyde/logs/ directory to .gitignore.
2025-09-15 16:17:49 +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 66783e455c ported apps lscor, mv, and rm
there's partially rtest too, if you count that
2025-09-15 07:08:19 +02: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 3c087aaddf added handling invalid invoke functions and ported a couple of apps
stopped component.invoke from throwing a cryptic error, and ported over cat, cd, clear, cp, edit, ls, lsdrv, and mkdir
2025-09-14 17:45:36 +02:00
Ponali 8244f1590c added feature for checking if a component is virtual, and updated apps argentum and boot to comply with Halyde v3 2025-09-14 16:28:15 +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