#
e63d20b7 |
| 11-May-2024 |
Warner Losh <imp@FreeBSD.org> |
stand: Spell LUA_COMPILE_SET correctly.
MFC After: 2 days Sponsored by: Netflix
|
Revision tags: release/13.3.0 |
|
#
b4e85f76 |
| 25-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader/efi: Use unique linker set for lua
After the linker set cleanup in ldscripts, there's now only one place we need to know the linkerset name, so go ahead and change the lua interpreter augment
loader/efi: Use unique linker set for lua
After the linker set cleanup in ldscripts, there's now only one place we need to know the linkerset name, so go ahead and change the lua interpreter augmentation linker set to be uniquely named.
Sponsored by: Netflix Reviewed by: tsoome, kevans Differential Revision: https://reviews.freebsd.org/D44062
show more ...
|
#
0921a771 |
| 16-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: Move to using linker sets to bring in optional bits
The graphics stuff is optional. When it is pulled into the system, we use a linker set to initialize the lua bindings for it now.
Sponsor
loader: Move to using linker sets to bring in optional bits
The graphics stuff is optional. When it is pulled into the system, we use a linker set to initialize the lua bindings for it now.
Sponsored by: Netflix Reviewed by: kevans, jhb Differential Revision: https://reviews.freebsd.org/D43906
show more ...
|
#
061b68a7 |
| 16-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
loader: Separate gfx to a new file.
Move gfx lua hook registration to a new file.
Sponsored by: Netflix Reviewed by: kevans, jhb Differential Revision: https://reviews.freebsd.org/D43901
|
Revision tags: release/14.0.0 |
|
#
b3e76948 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0 |
|
#
0a0d522b |
| 12-Dec-2020 |
Kyle Evans <kevans@FreeBSD.org> |
stand: liblua: add a pager module
This is nearly a 1:1 mapping of the pager API from libsa. The only real difference is that pager.output() will accept any number of arguments and coerce all of the
stand: liblua: add a pager module
This is nearly a 1:1 mapping of the pager API from libsa. The only real difference is that pager.output() will accept any number of arguments and coerce all of them to strings for output using luaL_tolstring (i.e. the __tostring metamethod will be used).
The only consumer planned at this time is the upcoming "show-module-options" implementation.
MFC after: 1 week
show more ...
|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
6771d4a8 |
| 18-Feb-2018 |
Conrad Meyer <cem@FreeBSD.org> |
interp_lua: Register io/loader with regular Lua module system
Reviewed by: kevans Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D14421
|
#
f276951a |
| 17-Feb-2018 |
Conrad Meyer <cem@FreeBSD.org> |
liblua: Clean up io/loader C module registration
Utilize registration APIs Lua provides to make module definition a little cleaner.
Discussed with: imp Sponsored by: Dell EMC Isilon
|
#
7cafeaa1 |
| 12-Feb-2018 |
Warner Losh <imp@FreeBSD.org> |
Add Lua as a scripting langauge to /boot/loader
liblua glues the lua run time into the boot loader. It implements all the runtime routines that lua expects. In addition, it has a few standard 'C' he
Add Lua as a scripting langauge to /boot/loader
liblua glues the lua run time into the boot loader. It implements all the runtime routines that lua expects. In addition, it has a few standard 'C' headers that nueter various aspects of the LUA build that are too specific to lua to be in libsa. Many refinements from the original code to improve implementation and the number of included lua libraries. Use int64_t for lua_Number. Have "/boot/lua" be the default module path. Numerous cleanups from the original GSoC project, including hacking libsa to allow lua to be built with only one change outside luaconf.h.
Add the final bit of lua glue to bring in liblua and plug into the multiple interpreter framework, previously committed.
Add LOADER_LUA option, currently off by default.
Presently, this is an experimental option. One must opt-in to using this by defining WITH_LOADER_LUA and WITHOUT_FORTH. It's been lightly tested, so keep a backup copy of your old loader handy. The menu code, coming in the next commit, hasn't been exhaustively tested. A LUA boot loader is 60k larger than a FORTH one, which is 80k larger than a no-interpreter one. Subtle changes in size may tip things past some subtle limit (the binary is ~430k now when built with LUA). A future version may offer coexistance.
Bump FreeBSD version to 1200058 to mark the milestone.
Pedro Souza's 2014 Summer of Code project. Rui Paulo, Pedro Arthur, Zakary Nafziger and Wojciech A. Koszek also contributed. Warner Losh reworked it extensively into its current form.
Obtained from: https://wiki.freebsd.org/SummerOfCode2014/LuaLoader Sponsored by: Google Summer of Code Relnotes: Yes MFC After: 1 month Differential Review: https://reviews.freebsd.org/D14295
show more ...
|