freebsd-dev/stand/lua
Kyle Evans 07faaf7815 lualoader: Implement try_include and use it for including the local module
This provides a way to optionally include a module without having to wrap it
in filesystem checks. try_include is a little more robust, using the lua
search path instead of forcing us to explicitly consider all of the places
we could want to include a module. Errors are still generally raised from
trying to load the module, but ENOENT will not get raised unless we're doing
a verbose load.

This will also be used to split out logo/brand graphics into their own files
so that we can safely scale up the number of graphics included without
worrying about the extra memory consumption- opting to lazily load graphics
instead.

Reviewed by:	cem
Differential Revision:	https://reviews.freebsd.org/D14658
2018-03-26 19:01:22 +00:00
..
cli.lua lualoader: Return status in cli_execute_unparsed properly 2018-03-07 22:05:23 +00:00
color.lua lualoader: Clear up some possible naming confusion 2018-03-21 15:09:47 +00:00
config.lua lualoader: Privatize some more config.lua bits 2018-03-24 04:03:55 +00:00
core.lua lualoader: Implement try_include and use it for including the local module 2018-03-26 19:01:22 +00:00
core.lua.8 core.lua(8): Update to reflect recently added function clearCachedKernels 2018-03-21 03:16:14 +00:00
drawer.lua lualoader: Use printc when we expect ANSI escape sequences 2018-03-21 18:02:56 +00:00
hook.lua lualoader: Add primitive hook module, use it to untangle bogus reference 2018-03-21 03:07:16 +00:00
loader.lua lualoader: Implement try_include and use it for including the local module 2018-03-26 19:01:22 +00:00
Makefile lualoader: Add primitive hook module, use it to untangle bogus reference 2018-03-21 03:07:16 +00:00
menu.lua lualoader: Clear up some possible naming confusion 2018-03-21 15:09:47 +00:00
menu.lua.8 Add menu.lua(8), but do not add to distribution 2018-03-02 05:36:04 +00:00
password.lua lualoader: Use global printc instead of loader.printc 2018-03-02 16:06:20 +00:00
screen.lua lualoader: Clear up some possible naming confusion 2018-03-21 15:09:47 +00:00