freebsd-nq/stand/lua
Kyle Evans e25ee296c9 stand: lua: enhance lfs.dir() to speed up kernels_autodetect
This eliminates a lot of stat() calls that happen when lualoader renders the
menu with the default settings, and greatly speeds up rendering on my
laptop.

ftype is nil if loader/loader.efi hasn't been updated yet, falling back to
lfs.attributes() to test.

This is technically incompatible with lfs, but not in a particularly
terrible way.

Reviewed-by:	cem
MFC-after:	4 days
Differential Revision:	https://reviews.freebsd.org/D27542
2021-01-29 12:47:29 -06:00
..
cli.lua lualoader: fix lua-lint run 2020-12-17 18:29:30 +00:00
cli.lua.8 lualoader: cli: provide a show-module-options loader command 2020-12-17 18:24:36 +00:00
color.lua loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
color.lua.8 Add color.lua(8), password.lua(8), and screen.lua(8) 2018-08-20 02:37:24 +00:00
config.lua lualoader: improve loader.conf var processing 2021-01-24 13:54:47 -06:00
config.lua.8 lualoader: cli: provide a show-module-options loader command 2020-12-17 18:24:36 +00:00
core.lua stand: lua: enhance lfs.dir() to speed up kernels_autodetect 2021-01-29 12:47:29 -06:00
core.lua.8 Eliminate zfsloader man page. 2018-07-20 05:17:49 +00:00
drawer.lua lualoader: use floor division to get correct type 2021-01-15 15:02:38 -06:00
drawer.lua.8 Add drawer.lua(8) 2018-08-20 02:08:39 +00:00
gfx-beastie.lua lualoader: improve the design of the brand-/logo- mechanism 2020-10-04 22:41:43 +00:00
gfx-beastiebw.lua lualoader: improve the design of the brand-/logo- mechanism 2020-10-04 22:41:43 +00:00
gfx-fbsdbw.lua lualoader: improve the design of the brand-/logo- mechanism 2020-10-04 22:41:43 +00:00
gfx-orb.lua loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
gfx-orbbw.lua lualoader: improve the design of the brand-/logo- mechanism 2020-10-04 22:41:43 +00:00
hook.lua Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
hook.lua.8 lualoader: Add hook.lua(8) to tree 2018-06-09 14:26:30 +00:00
loader.lua loader: Fully reset terminal settings, not just colors 2020-03-27 17:37:31 +00:00
Makefile lualoader: improve the design of the brand-/logo- mechanism 2020-10-04 22:41:43 +00:00
menu.lua lualoader: clear up some luacheck warnings 2020-10-01 14:20:36 +00:00
menu.lua.8 Remove "All Rights Reserved" on files that I hold sole copyright on 2018-05-09 16:44:19 +00:00
password.lua Further normalize copyright notices 2019-09-26 16:19:22 +00:00
password.lua.8 Add color.lua(8), password.lua(8), and screen.lua(8) 2018-08-20 02:37:24 +00:00
screen.lua lualoader: don't botch disabling of color 2019-10-21 20:09:43 +00:00
screen.lua.8 Add color.lua(8), password.lua(8), and screen.lua(8) 2018-08-20 02:37:24 +00:00