Commit Graph

286 Commits

Author SHA1 Message Date
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
WahPlus 9c0e33c116 Removed .editorconfig from .gitignore 2025-09-30 20:29:50 +03:00
WahPlus cd3dd80c23 Made event.pull() with a timeout of 0 not yield.
This makes sense because if the timeout is 0, the app calling it
obviously just wants to fetch any pending events and not wait.
2025-09-30 15:26:35 +03:00
WahPlus 58c8ce3f2d Modified gitignore
Modified gitignore to ignore .editorconfig files
2025-09-28 17:55:41 +03: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 0ca8cfeeeb made halyde crashes make a log entry
it also shows when it can't make said log entry
2025-09-27 13:37:46 +02:00
Ponali 0c604a5870 added horizontal scrolling
yeah, this re-renders all the lines, but it gets the job done
2025-09-26 19:19:17 +02:00
WahPlus c83fe8a7f4 ACTUALLY fix the issue 2025-09-25 08:48:31 +03:00
WahPlus f28812205e Made log.lua make the halyde/logs directory if it's not present 2025-09-25 08:37:52 +03:00
Ponali 2f512b5e99 added vertical scrolling 2025-09-25 06:52:14 +02:00
Ponali 732f747347 fix error text peeking through the scroll text
lazyvim also changed the indentation of everything for some reason
i don't know what's the name for "scroll text"
2025-09-25 06:52:14 +02:00
WahPlus 99725b43ba Added CLI parser library
This library can easily process flags, arguments, and flags with
arguments.
2025-09-24 21:29:34 +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
Ponali 894641734f FUUUUCK I FORGOT TO PUSH THE SHELL LIBRARY 2025-09-15 17:38:08 +02: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 5276d2437b Merge branch 'main' of https://github.com/TheWahlolly/Halyde 2025-08-17 16:41:07 +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