This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Change Setup's package search field to case-insensitive


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]