From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16693 invoked by alias); 19 Sep 2012 16:21:35 -0000 Received: (qmail 16675 invoked by uid 22791); 19 Sep 2012 16:21:32 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mho-04-ewr.mailhop.org (HELO mho-02-ewr.mailhop.org) (204.13.248.74) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 19 Sep 2012 16:20:54 +0000 Received: from pool-108-49-156-82.bstnma.fios.verizon.net ([108.49.156.82] helo=cgf.cx) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1TEN1B-000O6L-K9; Wed, 19 Sep 2012 16:20:53 +0000 Received: from localhost (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id 9D45142800E; Wed, 19 Sep 2012 12:20:52 -0400 (EDT) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19cYA9aTwlzbaZ8uycRWVwI Date: Wed, 19 Sep 2012 16:21:00 -0000 From: Christopher Faylor To: Cygwin Apps List , Warren Young Subject: Re: [PATCH] setup.exe case-insensitive package sorting Message-ID: <20120919162052.GA14018@ednor.casa.cgf.cx> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: Cygwin Apps List , Warren Young References: <5051650A.5030702@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5051650A.5030702@etr-usa.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com X-SW-Source: 2012-09/txt/msg00139.txt.bz2 On Wed, Sep 12, 2012 at 10:46:02PM -0600, Warren Young wrote: >This patch is incomplete, but I've been fighting this for four hours >now. I'm tired, hungry, and frustrated, so in case I don't get back to >finishing this, I decided to just post what I have so far. > >The point of the patch is to get the Select Packages screen's package >lists to sort case-insensitively. > >(This saga began after I spent far too long looking for the R package >down in the bottom third of the Interpreters category.) > >The patch works for the flat views only. I have yet to figure out how >to do the same for the Category tree view, since that is treated as a >completely separate exception case in the code. > >(Any setup.exe hackers want to opine on whether it's reasonable for it >to have required 3 hours of spelunking through the package DB reader, >the INI file parser, and the dialog chaining system to find out where to >even begin attempting the patch? Did I make par? Was there a map to >this twisty maze of global variables that I missed?) You want us to weigh in on your being tired and frustrated and unable to figure out source code? I'm going to carefully lay down that loaded weapon. I modified "upset" to do case insensitive sorting of packages. This seems preferable to adding YA level of complexity to setup. cgf