From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MJpM2-0006vh-0R for mharc-grub-devel@gnu.org; Thu, 25 Jun 2009 09:51:06 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJpM0-0006vE-Go for grub-devel@gnu.org; Thu, 25 Jun 2009 09:51:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJpLx-0006rq-Eb for grub-devel@gnu.org; Thu, 25 Jun 2009 09:51:03 -0400 Received: from [199.232.76.173] (port=49809 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJpLx-0006rb-B5 for grub-devel@gnu.org; Thu, 25 Jun 2009 09:51:01 -0400 Received: from gateway07.websitewelcome.com ([74.52.223.18]:39602) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MJpLw-000158-H4 for grub-devel@gnu.org; Thu, 25 Jun 2009 09:51:00 -0400 Received: (qmail 8200 invoked from network); 25 Jun 2009 13:56:21 -0000 Received: from gator297.hostgator.com (74.53.228.114) by gateway07.websitewelcome.com with SMTP; 25 Jun 2009 13:56:21 -0000 Received: from c-67-185-14-196.hsd1.wa.comcast.net ([67.185.14.196]:59550 helo=svelte.localnet) by gator297.hostgator.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MJpLu-0006uv-9O; Thu, 25 Jun 2009 08:50:58 -0500 From: Colin D Bennett To: grub-devel@gnu.org Date: Thu, 25 Jun 2009 06:50:55 -0700 User-Agent: KMail/1.11.2 (Linux/2.6.28-11-generic; KDE/4.2.2; x86_64; ; ) References: <20090625123659.GA6874@thorin> In-Reply-To: <20090625123659.GA6874@thorin> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906250650.56025.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: Robert Millan 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 13:51:04 -0000 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 you make such changes... :-) > 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. I 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 the current state of things. I 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? I guess it should if grub-emu is using libc's malloc() and free() functions, right? Regards, Colin