Commit Graph

191 Commits

Author SHA1 Message Date
Skye M 56af6d1ade Fix document generation on Windows (using Git Bash)
* Made finddesc.lua execute commands using `sh -c 'command'`, which ensures that Unix-like shell is used instead of cmd.exe
* Made finddesc.lua avoid a situation where it would end up with a double '/' in `outpath`
* Redirect output of deleting the document to null to avoid pointless "No such file or directory" errors.
2020-05-12 16:29:44 +01:00
Izaya b89ff14d5c added type annotations and descriptions for functions where appropriate 2020-05-12 17:55:05 +10:00
Izaya 7ddece288b added doc() support for pre-compiled API documentation, wrote a generator for it, and included that in the build script 2020-05-12 16:59:17 +10:00
Izaya cf373668a9 added a title for PDF generation 2020-05-12 16:11:51 +10:00
Izaya b3cfeb13ec remove replaced kernel modules 2020-05-12 12:08:01 +10:00
Izaya b4ee8ed8a6 point build.sh to the right finddesc 2020-05-12 12:04:47 +10:00
Izaya 4f3bac551e updated finddesc to use the new doc library, allowing type annotations and building a directory of documentation 2020-05-12 12:01:44 +10:00
Izaya a917016a66 fix type annotation in event.ignore 2020-05-12 11:44:05 +10:00
Izaya d47a0748bd added type annotations to documentation for various libraries 2020-05-12 10:57:13 +10:00
Izaya 405ee6408d Merge pull request 'Fix the build process so that it works on the Bash shell for Git on Windows and fix markdown output' (#2) from Skye/OC-PsychOS2:git-windows-bash-fixes into master
Doesn't seem to break anything, though I wish Microsoft would fix their filesystems.

Markdown changes are a nice touch, though they'll be replaced soon.

Might think about using #!/usr/bin/env for Lua at some point.
2020-05-12 10:55:37 +10:00
Skye M e09650276a Improve markdown output from finddesc.lua
* It didn't add spaces after the ## or #, which made them not work as headings in some renderers, so I fixed this.
* I then made it add newlines to make it look nicer without being rendered.
2020-05-12 01:49:51 +01:00
Skye M daa2975fd6 Fix the build process so that it works on the Bash shell for Git on Windows
1. Made the Lua thing used be an optional variable, so it works for different Lua versions and locations

2. Made it work better with windows filesystems being weird with trailing dots.
2020-05-11 20:09:41 +01:00
Izaya d59cc53340 updated netutil to use the documentation library's type signature system 2020-05-11 01:00:13 +10:00
Izaya cae7c916ae made the shell include the documentation library automatically 2020-05-11 00:59:50 +10:00
Izaya b465aebbdb added a library for retrieving documentation 2020-05-11 00:59:05 +10:00
Izaya fd9e4ad88a Merge pull request 'Add support for \27[8m (equiv. to nonstandard \27[100m)' (#1) from Ocawesome101/OC-PsychOS2:master into master 2020-04-26 11:57:38 +10:00
Ocawesome101 a74d9b4485 Add support for \27[8m (equiv. to nonstandard \27[100m) 2020-04-26 08:01:53 +10:00
Izaya e5dd91e167 updated termsrv to basically work with the new rc system, added nc to netutil 2020-04-15 13:33:27 +10:00
Izaya ec5d938a64 added a quit function to the shell environment, for obvious purposes 2020-04-13 04:09:44 +10:00
Izaya 194564b959 Added an actually workable editor for once. Skye's gonna be mad, it's like vim. 2020-04-12 03:49:44 +10:00
Izaya 0dd13b74f1 fixed <ESC>[n;nH scrolling the display 2020-04-12 03:49:14 +10:00
Izaya fc127f8d3e moved the VT100 driver out of the kernel and into its own library 2020-04-12 01:59:56 +10:00
Izaya 2327dc9c18 added the ability to reload libraries to the loadfile module 2020-04-12 01:59:20 +10:00
Izaya 0cdd70e917 added the ability for software to change the computer.pullSignal timeout 2020-04-11 12:10:58 +10:00
Izaya 23173506b9 fixed a typo preventing [2J from working 2020-04-11 09:01:13 +10:00
Izaya a9b3c6adf3 there is now a non-standard control code for the terminal to toggle line mode and local echo for the terminal 2020-04-11 08:52:18 +10:00
Izaya 459fd95992 made nvt handle the cursor going off the edge of the screen 2020-04-11 05:54:53 +10:00
Izaya 583b300720 removed dprint statements from nvt 2020-04-09 15:50:39 +10:00
Izaya f5db94e03c made init not spew irritating syslog messages 2020-04-09 15:50:10 +10:00
Izaya bf66fa15e1 fixed tabs in nvt 2020-04-09 15:49:42 +10:00
Izaya f68605ffea added a better replacement VT100 emulator 2020-04-09 15:44:23 +10:00
Izaya 5d2d09fbcf more control code support for the terminal emulator 2020-04-09 13:48:34 +10:00
Izaya 67de47ebd4 screenblank works with the new rc system now, rejoyce 2020-03-26 17:43:22 +11:00
Izaya 9eec6bf193 mount() now asks for the right addresses 2020-03-26 17:41:25 +11:00
Izaya cfe3e78d64 importfs and exportfs improvements 2020-03-26 17:37:14 +11:00
Izaya 6c2ef1580b made fsmanager work with the new rc system 2020-03-26 17:35:14 +11:00
Izaya dbb7080ca2 made rpc.call less flimsy hopefully 2020-03-26 17:33:18 +11:00
Izaya f33ce1e1e0 added default services to rc, made rc.stop cope if there is no stop function in a daemon, and rc.enable actually enables things now 2020-03-26 17:32:54 +11:00
Izaya 8b29e472f8 fix some fs informational problems 2020-03-26 17:25:36 +11:00
Izaya 928a1db13c colours in the shell! 2020-03-26 14:41:06 +11:00
Izaya eccc80ad16 added tab support to the terminal emulator 2020-03-25 07:08:17 +11:00
Izaya fab605ff21 greatly improved the terminal emulator, with colours (<ESC>[...m) and status support 2020-03-24 17:45:29 +11:00
Izaya 0993182839 removed default-init as it is redundant 2020-03-24 16:29:13 +11:00
Izaya 1c252126e8 improved the rc lib, assuming the start function returns a pid 2020-03-24 16:27:51 +11:00
Izaya 1f97e90066 made the shell actually able to print tables containing functions 2020-03-24 16:26:48 +11:00
Izaya 7b8c532141 made getty record the basepid properly 2020-03-24 16:25:06 +11:00
Izaya 77c69f651b changed the build script to cope with the new init system 2020-03-20 13:16:22 +11:00
Izaya 0de3d01191 exposed the rc configuration to the world 2020-03-20 13:15:54 +11:00
Izaya 2fe738591d default rc configuration 2020-03-20 13:15:20 +11:00
Izaya e20c9546ea replacing the init system with something more OpenOS rc inspired 2020-03-20 13:15:02 +11:00