Change Setup's package search field to case-insensitive
Corinna Vinschen
corinna-cygwin@cygwin.com
Fri Jun 26 11:10:00 GMT 2009
Hi folks,
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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
More information about the Cygwin-apps
mailing list