From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LrYx4-0003M9-6W for mharc-grub-devel@gnu.org; Wed, 08 Apr 2009 10:40:30 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrYx3-0003L4-2P for grub-devel@gnu.org; Wed, 08 Apr 2009 10:40:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrYwy-0003F6-8m for grub-devel@gnu.org; Wed, 08 Apr 2009 10:40:28 -0400 Received: from [199.232.76.173] (port=53615 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrYwy-0003Eq-2U for grub-devel@gnu.org; Wed, 08 Apr 2009 10:40:24 -0400 Received: from gateway12.websitewelcome.com ([69.93.179.29]:40367) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LrYwx-0007wW-Kk for grub-devel@gnu.org; Wed, 08 Apr 2009 10:40:23 -0400 Received: (qmail 22116 invoked from network); 8 Apr 2009 14:41:47 -0000 Received: from gator297.hostgator.com (74.53.228.114) by gateway12.websitewelcome.com with SMTP; 8 Apr 2009 14:41:47 -0000 Received: from [67.185.177.95] (port=60304 helo=svelte.localnet) by gator297.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LrYwv-0005Rb-9E; Wed, 08 Apr 2009 09:40:21 -0500 From: Colin D Bennett To: grub-devel@gnu.org Date: Wed, 8 Apr 2009 07:40:16 -0700 User-Agent: KMail/1.11.2 (Linux/2.6.28-11-generic; KDE/4.2.2; x86_64; ; ) References: <49DB7C30.8080209@nic.fi> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3811769.hiyiDcxxcx"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200904080740.19732.colin@gibibit.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator297.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gibibit.com X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Bean Subject: Re: [PATCH] LUA script engine for grub2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2009 14:40:29 -0000 --nextPart3811769.hiyiDcxxcx Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Bean wrote: > 2009/4/8 Vesa J=C3=A4=C3=A4skel=C3=A4inen : > > Bean wrote: > >> Hi, > >> > >> This patch integrate the LUA script engine to grub2 Cool! > I add a grub library to lua, now it only contain grub.run, but it > would be easy to add more function. I think it would be useful to add > function to interface with the video subsystem directly, so that lua > can be used to control the dynamic drawing of ui components. I actually did some preliminary work to make this possible. I made a demo= =20 where text is painted by a Lua script and it animates =E2=80=9Cflying by=E2= =80=9D on the=20 screen. (http://grub.gibibit.com/files/gfxmenu-lua-1.iso.gz for a demo IS= O.) Besides making the GRUB video API accessible (partially, so far) to Lua, I= =20 also made Lua able to implement GUI components in the graphical menu=20 interface. This is limited at this point and only paint() and destroy()=20 methods can be implemented in Lua. However, I think being able to implemen= t=20 new GUI components in Lua would be really great. If my code would be any help to you, I can send it to you. Regards, Colin --nextPart3811769.hiyiDcxxcx Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAknct1AACgkQokx8fzcGbYdLaQCfQe10+F5QVT1uE5Xgemc/inUA 8b0An0spgnQsdXLFWlvnOBafuFwZAp7K =+kZm -----END PGP SIGNATURE----- --nextPart3811769.hiyiDcxxcx--