From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1EWGnD-0003zF-AO for mharc-grub-devel@gnu.org; Sun, 30 Oct 2005 12:16:27 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EWGnB-0003ys-B6 for grub-devel@gnu.org; Sun, 30 Oct 2005 12:16:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EWGmw-0003xD-Ia for grub-devel@gnu.org; Sun, 30 Oct 2005 12:16:23 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWGmv-0003x9-SI for grub-devel@gnu.org; Sun, 30 Oct 2005 12:16:10 -0500 Received: from [64.233.182.205] (helo=nproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EWGmp-0002Pj-E7 for grub-devel@gnu.org; Sun, 30 Oct 2005 12:16:08 -0500 Received: by nproxy.gmail.com with SMTP id c29so109017nfb for ; Sun, 30 Oct 2005 09:15:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:disposition-notification-to:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=NTzNt/O4zK86KibMwEQ5s0qryx0V6RO81A2mVVLpWKalZu3DGU1KCUNssFmiG3YveIzRWW4dPfwUnVSb/Y/6/TBWlHhmC66qJKZF67bcjzVNZg3b/kScmcyYMbqBPe0XJl9UG4R6pLk5eo3S0OiTSUeWhGDxmIZliBvuNaFTUyU= Received: by 10.48.255.4 with SMTP id c4mr742975nfi; Sun, 30 Oct 2005 09:15:53 -0800 (PST) Received: from ?192.168.1.100? ( [83.76.229.87]) by mx.gmail.com with ESMTP id x24sm398436nfb.2005.10.30.09.15.50; Sun, 30 Oct 2005 09:15:52 -0800 (PST) Message-ID: <4364FFC4.2080401@gmail.com> Date: Sun, 30 Oct 2005 18:15:48 +0100 From: Vladimir Serbinenko User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050804) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marco Gerards , The development of GRUB 2 References: <87u0f0t30k.fsf@student.han.nl> <4364DB7F.1060309@gmail.com> <87vezfgfde.fsf@student.han.nl> <4364F8F9.9080407@gmail.com> <87d5lngcuh.fsf@student.han.nl> In-Reply-To: <87d5lngcuh.fsf@student.han.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Scripting support (PATCH) 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: Sun, 30 Oct 2005 17:16:25 -0000 Marco Gerards wrote: >Vladimir Serbinenko writes: > >So the problem with approach #1 is doing double work, less obvious >integration with the rest of the parser and memory leakage. > > Of course in real code it would be freed. It was just schemathical > >Right. The only reason I see for editing the script in general is to >edit some menu generation routine. But that is a very rare case I >think. If it turns out not to be a rare case, we can provide this >feature later on. > > Even if it's not generating is used to create many menus or to create menus from templates and anyway you boot only 1 menu entry and only interesting thing is generated code, not the template or generating method. Vladimir 'phcoder' Serbinenko