This is the mail archive of the
mailing list for the Cygwin project.
Change Setup's package search field to case-insensitive
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Fri, 26 Jun 2009 13:10:09 +0200
- Subject: Change Setup's package search field to case-insensitive
- Reply-to: cygwin-apps at cygwin dot com
I just tried to install the ImageMagick package and, for easy selection,
I typed "image" into the Chooser's search box. Unfortunately the
ImageMagick package didn't show up. It did, after I changed the search
string to "Image". The problem is, the search filter expression is used
case-sensitive. I think that using it case-insensitive would be a lot
easier and more aligned to what user's expect.
So, if there's no compelling reason to keep the search case-sensitive, I
will change it to case-insensitive.
I already have code which does it, but I'd like to ask if there's a
problem to include shlwapi.dll into the setup build. The problem is
that shlwapi.dll is the only place I found which provides a
case-insensitive string-in-string search function (StrStrI). OTOH, it
doesn't make a lot of sense to re-invent the wheel if the OS already
provides such a function.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com