Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MJpaU-000296-DR for mharc-grub-devel@gnu.org; Thu, 25 Jun 2009 10:06:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJpaS-000290-5M for grub-devel@gnu.org; Thu, 25 Jun 2009 10:06:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJpaN-00027q-5g for grub-devel@gnu.org; Thu, 25 Jun 2009 10:05:59 -0400 Received: from [199.232.76.173] (port=51411 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJpaM-00027n-W6 for grub-devel@gnu.org; Thu, 25 Jun 2009 10:05:55 -0400 Received: from mail-pz0-f182.google.com ([209.85.222.182]:47753) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MJpaM-0003av-Hk for grub-devel@gnu.org; Thu, 25 Jun 2009 10:05:54 -0400 Received: by pzk12 with SMTP id 12so1285094pzk.14 for ; Thu, 25 Jun 2009 07:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ldghxompK/A0ejcYh/XZSPx1Jxzr75mxSXOEuMPmcGw=; b=SIKNmOvqnWJTXhP4FFI+dWbSdowEhUbeCOUTyrzJ7dHLCj0u5COR/Bcb+LOAqxf5KO tGFSmp4mPRP2BcRcUHzNzxFR1VGjr73g+A6iWlx3KC9PEgEytUsKHlmsvSGltZ9b6IOr EFhT3+q/rP/9VM8Vo0w58xUKCnGoJaxvb8BmE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=xxxJo+Ipdm40SlZwteJMyfGXjkCKGdIPLyci5xiuVnUq2Z7I9g7Nyr2qFfL/hsjZ8L /uL5bvhDCNH+aWQq7qxV1X0ZFdd5X6eJ2PwKuAHxPXCPg91l7ETar/wNJ/ftqj2nQUq9 okkQBAuldnhivG3hWGUQ0OipyWu1/PVrY0owk= MIME-Version: 1.0 Received: by 10.114.37.1 with SMTP id k1mr3994964wak.28.1245938752744; Thu, 25 Jun 2009 07:05:52 -0700 (PDT) In-Reply-To: <200906250650.56025.colin@gibibit.com> References: <20090625123659.GA6874@thorin> <200906250650.56025.colin@gibibit.com> Date: Thu, 25 Jun 2009 22:05:52 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [RFC] New menu design based on MVC 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: Thu, 25 Jun 2009 14:06:00 -0000 On Thu, Jun 25, 2009 at 9:50 PM, Colin D Bennett wrote: > Robert Millan wrote on Thursday 25 June 2009: >> On Thu, Jun 25, 2009 at 12:07:18PM +0800, Bean wrote: >> > Hi, >> > >> > The current menu system is a little chaotic, the various components >> > are mixed together which make it difficult to maintain and extend. >> > Therefore, I propose a new design which seperates model, view and >> > controller. > > I would definitely like to get my graphical menu stuff committed before y= ou > make such changes... :-) Hi, Oh, glad to know that, please commit your patches soon. > >> Isn't Colin already working on a redesign of the menu? > > Yes, but I haven't drastically changed the design of the core menu system > except to add the concept of a "menu viewer" so that the text menu and > graphical menu viewers can be treated uniformly at a higher level. > > In fact, I am nearly ready to commit my graphical menu changes. =A0I was = hoping > to track down an apparent memory leak that shows up when switching themes= many > times in a row, but I don't have to let that prevent me from committing t= he > current state of things. =A0I know Vladimir (phcoder) has done some work = to get > an SDL video driver working for grub-emu; I am hoping that I can somehow = use > memory debugging tools to track down my memory leak. > > Does anyone have an idea if a tool like Valgrind would work with grub-emu= to > find the source of memory leaks? =A0I guess it should if grub-emu is usin= g > libc's malloc() and free() functions, right? > > Regards, > Colin > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Bean