X-Spam-Check-By: sourceware.org Date: Mon, 16 Jul 2007 19:48:04 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Pedro Alves cc: cygwin AT cygwin DOT com Subject: Re: hacked package on server In-Reply-To: <469BFD33.7000504@portugalmail.pt> Message-ID: References: <12471618 DOT 1184601552985 DOT JavaMail DOT root AT elwamui-lapwing DOT atl DOT sa DOT earthlink DOT net> <183c528b0707161244s83639c9j8ddfb09da2948f29 AT mail DOT gmail DOT com> <20070716211443 DOT GB4858 AT ednor DOT casa DOT cgf DOT cx> <7FE216529E1FE248A760B58F6B82A81002094EA1 AT EMMA DOT personal DOT adp DOT ltu DOT se> <469BFD33 DOT 7000504 AT portugalmail DOT pt> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, 17 Jul 2007, Pedro Alves wrote: > Bengt-Arne Fjellner wrote: > > > Well in my opinion It could even be better to have an unchecked checkbox > > like: > > > > Wrong MD5 sum detected. > > This package look broken. Try another mirror. > > ( ) Yes I Really want to install this even if it looks broken. > > > > OK > > > > Or something like that. Then its two clicks or several keystrokes before > > one can continue. > > yes, and having something like: > > are you sure > > (user clicks yes) > > are you really sure? > > (user clicks yes again) > > are you really, really sure? > > ... also makes it several clicks. Indeed. > The best solution, would be to replace the yes/no buttons with > verbs/actions, like skip/'install anyway'/abort. > I haven't looked at the code, but it is probably using > MessageBox(Ex), which doesn't allow that. Coding an extended messagebox > isn't *that* hard, but, it is still work that takes motivation to do. Yes, the code does use MessageBox. However, there already exists, in fact, a bit of code implementing a custom MessageBox (or, rather, overriding the button labels) for the "Retry on in-use files" functionality. Interested parties should look at lines 181-217 of install.cc (which adds an MB_RETRYCONTINUE message box type). > The second best, and quickest, would be for a patch to show up > implementing Thorsten's suggestion that cfg pointed out. > Until someone steps up to do the work, this discussion is just going > to fade out and die. That is exactly the right approach. drives the open-source world more than anything else. So, any volunteers? There isn't even a need to fill out a copyright assignment for setup contributions... Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/