Re: Avoid spamming the external differ
"kaczoroj" <[email protected]> Tue, 12 Dec 2006 02:33:40 -0000
| Newsgroups | gmane.comp.version-control.cvs.gui.devel |
|---|---|
| Message-ID | <[email protected]> |
--4wM77FqkiW1FLlLC2oIIMI4ieE360DaOOQfnMoS Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Kirill, I think we should not have to worry about the crashes in another=20 application like diff tools - these should be able to launch as fast=20 as possible and if crash occurs the respective authors should take=20 care of that. Please don't implement any complex code for that.=20 However, we could have a limit above which user will be prompted=20 before starting the diff invokations. So if WinCvs will have to diff=20 more that a specified limit number of files it will ask before=20 calling the diff. I have such a feature in CvsIn actually. I think we=20 can set the initial limit at 20. This would apply to any diff - even=20 selected from the file view. There would only be one prompt message=20 box at the beginning. Best Regards, Jerzy --- In [email protected], "kirillmueller" <mail@...> wrote: > > Hi, >=20 > with the new "bulk checkout" feature for cvs diff with the external > differ, there is a problem when too many different files (say, 100) > are found. The differs I've tested (Araxis Merge and WinMerge) > eventually crash. I feel that the problem is not the number of=20 files, > but the frequency of invocations, especially when all pairs of files > are sent to the same instance of the external differ. In version=20 2.4, > WinMerge achieves this through checking whether there's another > instance of WinMerge running, and communicating with the other > instance through some protocol, presumably DDE. Araxis Merge has its > own launcher that communicates with the application through COM. >=20 > Sleeping between invocations doesn't help much, at least not with > Araxis Merge. I've tested timeouts of as much as one second, which > would unneccessarily slow down diffing in most cases. >=20 > I would like to offer several options for discussion. >=20 > 1. Pop up a message box every 10 files. (We could make the number of > files configurable.) The message box would also offer the=20 opportunity > to abort in case the user didn't expect so many differences -- p.ex. > after an ill-formed diff request. (Happened to me several times :-) ) > Rather annoying. >=20 > 2. Implement custom code for WinMerge and Araxis Merge that would > communicate with the tools directly through DDE or COM and wait > between invocations. We can still offer the command-line approach=20 for > other differs. This would work for WinCvs only, though. >=20 > 3. Implement an option "Wait for external diff to exit", default to > off. (Or, even better, "Wait for xx seconds for external diff to > exit", which would handle the WinMerge case as well.) Pretty much > platform-dependent, too. >=20 > 4. Use some kind of "basket" or "flag" automatically if the number=20 of > files reaches some limit. Configurable if necessary. (Outlook 2003=20 and > Explorer in Windows XP show a message when trying to open more than=20 10 > elements/files at once.) >=20 > 5. ??? >=20 > Personally, I prefer 2. for performance and 4. for usability :-) >=20 >=20 > Cheers, >=20 > Kirill > --4wM77FqkiW1FLlLC2oIIMI4ieE360DaOOQfnMoS Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> </head> <!-- Network content --> <body style="background-color: #ffffff;"> <!--~-|**|PrettyHtmlStartT|**|-~--> <div id="ygrp-mlmsg" style="width:655px; position:relative;"> <div id="ygrp-msg" style="width: 490px; padding: 0 15px 0 0; float:left; z-index:1;"> <!--~-|**|PrettyHtmlEndT|**|-~--> <div id="ygrp-text"> <p>Kirill,<br> <br> I think we should not have to worry about the crashes in another <br> application like diff tools - these should be able to launch as fast <br> as possible and if crash occurs the respective authors should take <br> care of that. Please don't implement any complex code for that. <br> <br> However, we could have a limit above which user will be prompted <br> before starting the diff invokations. So if WinCvs will have to diff <br> more that a specified limit number of files it will ask before <br> calling the diff. I have such a feature in CvsIn actually. I think we <br> can set the initial limit at 20. This would apply to any diff - even <br> selected from the file view. There would only be one prompt message <br> box at the beginning.<br> <br> Best Regards,<br> Jerzy<br> <br> --- In <a href="mailto:cvsgui-dev%40yahoogroups.com">cvsgui-dev@yahoogro<wbr>ups.com</a>, "kirillmueller" <mail@...> wrote:<br> ><br> > Hi,<br> > <br> > with the new "bulk checkout" feature for cvs diff with the external<br> > differ, there is a problem when too many different files (say, 100)<br> > are found. The differs I've tested (Araxis Merge and WinMerge)<br> > eventually crash. I feel that the problem is not the number of <br> files,<br> > but the frequency of invocations, especially when all pairs of files<br> > are sent to the same instance of the external differ. In version <br> 2.4,<br> > WinMerge achieves this through checking whether there's another<br> > instance of WinMerge running, and communicating with the other<br> > instance through some protocol, presumably DDE. Araxis Merge has its<br> > own launcher that communicates with the application through COM.<br> > <br> > Sleeping between invocations doesn't help much, at least not with<br> > Araxis Merge. I've tested timeouts of as much as one second, which<br> > would unneccessarily slow down diffing in most cases.<br> > <br> > I would like to offer several options for discussion.<br> > <br> > 1. Pop up a message box every 10 files. (We could make the number of<br> > files configurable.<wbr>) The message box would also offer the <br> opportunity<br> > to abort in case the user didn't expect so many differences -- p.ex.<br> > after an ill-formed diff request. (Happened to me several times<br> :-) )<br> > Rather annoying.<br> > <br> > 2. Implement custom code for WinMerge and Araxis Merge that would<br> > communicate with the tools directly through DDE or COM and wait<br> > between invocations. We can still offer the command-line approach <br> for<br> > other differs. This would work for WinCvs only, though.<br> > <br> > 3. Implement an option "Wait for external diff to exit", default to<br> > off. (Or, even better, "Wait for xx seconds for external diff to<br> > exit", which would handle the WinMerge case as well.) Pretty much<br> > platform-dependent, too.<br> > <br> > 4. Use some kind of "basket" or "flag" automatically if the number <br> of<br> > files reaches some limit. Configurable if necessary. (Outlook 2003 <br> and<br> > Explorer in Windows XP show a message when trying to open more than <br> 10<br> > elements/files at once.)<br> > <br> > 5. ???<br> > <br> > Personally, I prefer 2. for performance and 4. for usability :-)<br> > <br> > <br> > Cheers,<br> > <br> > Kirill<br> ><br> <br> </p> </div> <!--~-|**|PrettyHtmlStart|**|-~--> <span width="1" style="color: white;">__._,_.___</span> <!-- Start the section with Message In topic --> <div id="ygrp-actbar"> <span class="left"> <a href="http://groups.yahoo.com/group/cvsgui-dev/message/1465;_ylc=X3oDMTM0OHFqcjA0BF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBG1zZ0lkAzE0NzIEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMTY1ODkxNjkwBHRwY0lkAzE0NjU-"> Messages in this topic </a> (<span class="bld">4</span>) </span> <a href="http://groups.yahoo.com/group/cvsgui-dev/post;_ylc=X3oDMTJwZzY4bXJ0BF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBG1zZ0lkAzE0NzIEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMTY1ODkxNjkw?act=reply&messageNum=1472"> <span class="bld"> Reply </span> (via web post) </a> | <a href="http://groups.yahoo.com/group/cvsgui-dev/post;_ylc=X3oDMTJlbGZsdGw2BF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA250cGMEc3RpbWUDMTE2NTg5MTY5MA--" class="bld"> Start a new topic </a> </div> <!------- Start Nav Bar ------> <!-- |**|begin egp html banner|**| --> <div id="ygrp-vitnav"> <a href="http://groups.yahoo.com/group/cvsgui-dev/messages;_ylc=X3oDMTJldGhvMzg0BF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA21zZ3MEc3RpbWUDMTE2NTg5MTY5MA--">Messages</a> | <a href="http://groups.yahoo.com/group/cvsgui-dev/files;_ylc=X3oDMTJmc3R2YWZhBF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA2ZpbGVzBHN0aW1lAzExNjU4OTE2OTA-">Files</a> | <a href="http://groups.yahoo.com/group/cvsgui-dev/photos;_ylc=X3oDMTJlbDFxc3RqBF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA3Bob3QEc3RpbWUDMTE2NTg5MTY5MA--">Photos</a> | <a href="http://groups.yahoo.com/group/cvsgui-dev/links;_ylc=X3oDMTJmNmpncmpkBF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA2xpbmtzBHN0aW1lAzExNjU4OTE2OTA-">Links</a> | <a href="http://groups.yahoo.com/group/cvsgui-dev/database;_ylc=X3oDMTJjOWQ4MTBqBF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA2RiBHN0aW1lAzExNjU4OTE2OTA-">Database</a> | <a href="http://groups.yahoo.com/group/cvsgui-dev/polls;_ylc=X3oDMTJmbzg4Z29lBF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA3BvbGxzBHN0aW1lAzExNjU4OTE2OTA-">Polls</a> | <a href="http://groups.yahoo.com/group/cvsgui-dev/members;_ylc=X3oDMTJlMnVjbnFhBF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA21icnMEc3RpbWUDMTE2NTg5MTY5MA--">Members</a> | <a href="http://groups.yahoo.com/group/cvsgui-dev/calendar;_ylc=X3oDMTJkaW5ucmtxBF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA2NhbARzdGltZQMxMTY1ODkxNjkw">Calendar</a> </div> <!-- |**|end egp html banner|**| --> <!-- Do not have place to put it yet --> <div id="ygrp-grft"> </div> <!-- yahoo logo --> <!-- |**|begin egp html banner|**| --> <div id="ygrp-ft"> <a href="http://groups.yahoo.com/;_ylc=X3oDMTJkZDVoMXAxBF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMTY1ODkxNjkw"> <img src="http://us.i1.yimg.com/us.yimg.com/i/yg/img/logo/ma_grp_160.gif" height="15" width="106" border="0" alt="Yahoo! Groups"></a> <br> <a href="http://groups.yahoo.com/group/cvsgui-dev/join;_ylc=X3oDMTJmcHBoYmxnBF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzExNjU4OTE2OTA-">Change settings via the Web</a> (Yahoo! ID required) <br> Change settings via email: <a href="mailto:[email protected]?subject=Email Delivery: Digest">Switch delivery to Daily Digest</a> | <a href = "mailto:[email protected]?subject=Change Delivery Format: Traditional">Switch format to Traditional</a> <br> <a href="http://groups.yahoo.com/group/cvsgui-dev;_ylc=X3oDMTJkZGEybHNvBF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMTY1ODkxNjkw"> Visit Your Group </a> | <a href="http://docs.yahoo.com/info/terms/"> Yahoo! Groups Terms of Use </a> | <a href="mailto:[email protected]?subject="> Unsubscribe </a> </div> <!-- |**|end egp html banner|**| --> </div> <!-- ygrp-msg --> <!-- Sponsor --> <!-- |**|begin egp html banner|**| --> <div id="ygrp-sponsor" style="width:140px;float: left; clear: none; margin-left: 5px; background:white; margin-bottom:25px ;position:absolute; top:0; right: 0;"> <!-- Network content --> <!-- Start vitality --> <div id="ygrp-vital"> <a href="http://groups.yahoo.com/group/cvsgui-dev;_ylc=X3oDMTJlbDZ1dmtmBF9TAzk3MzU5NzE0BGdycElkAzI0OTMyNDUEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTE2NTg5MTY5MA--"> Visit Your Group </a> </div> <div id="hd">SPONSORED LINKS</div> <div id="ov"> <ul> <li><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjdXA2MmlqBF9TAzk3MzU5NzE0BF9wAzEEZ3JwSWQDMjQ5MzI0NQRncnBzcElkAzE3MDUwMDcxODEEc2VjA3NsbW9kBHN0aW1lAzExNjU4OTE2OTA-?t=ms&k=Software+development+services&w1=Software+development+services&w2=Software+development&w3=Development+software&w4=Software+development+company&w5=Custom+software+development&c=5&s=154&g=2&.sig=7x2qo6dMYy1p5AU1pt1tiQ">Software development services</a></li> <li><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjaHF0c29wBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMjQ5MzI0NQRncnBzcElkAzE3MDUwMDcxODEEc2VjA3NsbW9kBHN0aW1lAzExNjU4OTE2OTA-?t=ms&k=Software+development&w1=Software+development+services&w2=Software+development&w3=Development+software&w4=Software+development+company&w5=Custom+software+development&c=5&s=154&g=2&.sig=BN1lrlsQSEiIXBpRBgFwvg">Software development</a></li> <li><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjOGxscmtnBF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMjQ5MzI0NQRncnBzcElkAzE3MDUwMDcxODEEc2VjA3NsbW9kBHN0aW1lAzExNjU4OTE2OTA-?t=ms&k=Development+software&w1=Software+development+services&w2=Software+development&w3=Development+software&w4=Software+development+company&w5=Custom+software+development&c=5&s=154&g=2&.sig=tCpQXu3D1f1U1uy5lsC3_g">Development software</a></li> <li><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjOW9lbWI2BF9TAzk3MzU5NzE0BF9wAzQEZ3JwSWQDMjQ5MzI0NQRncnBzcElkAzE3MDUwMDcxODEEc2VjA3NsbW9kBHN0aW1lAzExNjU4OTE2OTA-?t=ms&k=Software+development+company&w1=Software+development+services&w2=Software+development&w3=Development+software&w4=Software+development+company&w5=Custom+software+development&c=5&s=154&g=2&.sig=vprGpfTz1GxuQRXlltd5Og">Software development company</a></li> <li><a href="http://groups.yahoo.com/gads;_ylc=X3oDMTJjaDE1bDJjBF9TAzk3MzU5NzE0BF9wAzUEZ3JwSWQDMjQ5MzI0NQRncnBzcElkAzE3MDUwMDcxODEEc2VjA3NsbW9kBHN0aW1lAzExNjU4OTE2OTA-?t=ms&k=Custom+software+development&w1=Software+development+services&w2=Software+development&w3=Development+software&w4=Software+development+company&w5=Custom+software+development&c=5&s=154&g=2&.sig=GblHBdeKJR4WCTYIwY_tYA">Custom software development</a></li> </ul> </div> <!-- Network content --> <div id="nc"> <div class="ad"> <div id="hd1">Yahoo! Mail</div> <p><a href="http://us.ard.yahoo.com/SIG=12hqdtkee/M=493064.8985657.9760727.8674578/D=groups/S=1705007181:NC/Y=YAHOO/EXP=1165898890/A=3848567/R=0/SIG=12jvenc9k/*http://us.rd.yahoo.com/evt=42408/*http://advision.webevents.yahoo.com/handraisers">Get on board</a></p> <p>You're invited to try</p> <p>the all-new Mail Beta.</p> </div> <div class="ad"> <div id="hd1">New business?</div> <p><a href="http://us.ard.yahoo.com/SIG=12hbm4pf3/M=493064.8985663.9760769.8674578/D=groups/S=1705007181:NC/Y=YAHOO/EXP=1165898890/A=3848640/R=0/SIG=131an6mds/*http://searchmarketing.yahoo.com/arp/srchv2.php?o=US2002&cmp=Yahoo&ctv=Groups1&s=Y&s2=&s3=&b=50">Get new customers.</a></p> <p>List your web site</p> <p>in Yahoo! Search.</p> </div> <div class="ad"> <div id="hd1">Y! Messenger</div> <p><a href="http://us.ard.yahoo.com/SIG=12hith0jd/M=493064.8985659.9760753.8674578/D=groups/S=1705007181:NC/Y=YAHOO/EXP=1165898890/A=3848590/R=0/SIG=12dds2hov/*http://us.rd.yahoo.com/evt=42403/*http://messenger.yahoo.com/feat_voice.php">Make free calls</a></p> <p>Call PC-to-PC</p> <p>worldwide- free!</p> </div> </div> </div> <!-- |**|end egp html banner|**| --> <div style="clear:both; color: #FFF; font-size:1px;">.</div> </div> <img src="http://geo.yahoo.com/serv?s=97359714/grpId=2493245/grpspId=1705007181/msgId=1472/stime=1165891690/nc1=3848567/nc2=3848640/nc3=3848590" width="1" height="1"> <br> <span style="color: white;">__,_._,___</span> <!--~-|**|PrettyHtmlEnd|**|-~--> </body> <!--~-|**|PrettyHtmlStart|**|-~--> <head> <style type="text/css"> <!-- #ygrp-mlmsg {font-size:13px; font-family: arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;} #ygrp-mlmsg table {font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% arial,helvetica,clean,sans-serif;} #ygrp-mlmsg pre, code {font:115% monospace;*font-size:100%;} #ygrp-mlmsg * {line-height:1.22em;} #ygrp-text{ font-family: Georgia; } #ygrp-text p{ margin: 0 0 1em 0; } #ygrp-tpmsgs{ font-family: Arial; clear: both; } #ygrp-vitnav{ padding-top: 10px; font-family: Verdana; font-size: 77%; margin: 0; } #ygrp-vitnav a{ padding: 0 1px; } #ygrp-actbar{ clear: both; margin: 25px 0; white-space:nowrap; color: #666; text-align: right; } #ygrp-actbar .left{ float: left; white-space:nowrap; } .bld{font-weight:bold;} #ygrp-grft{ font-family: Verdana; font-size: 77%; padding: 15px 0; } #ygrp-ft{ font-family: verdana; font-size: 77%; border-top: 1px solid #666; padding: 5px 0; } #ygrp-mlmsg #logo{ padding-bottom: 10px; } #ygrp-vital{ background-color: #e0ecee; margin-bottom: 20px; padding: 2px 0 8px 8px; } #ygrp-vital #vithd{ font-size: 77%; font-family: Verdana; font-weight: bold; color: #333; text-transform: uppercase; } #ygrp-vital ul{ padding: 0; margin: 2px 0; } #ygrp-vital ul li{ list-style-type: none; clear: both; border: 1px solid #e0ecee; } #ygrp-vital ul li .ct{ font-weight: bold; color: #ff7900; float: right; width: 2em; text-align:right; padding-right: .5em; } #ygrp-vital ul li .cat{ font-weight: bold; } #ygrp-vital a { text-decoration: none; } #ygrp-vital a:hover{ text-decoration: underline; } #ygrp-sponsor #hd{ color: #999; font-size: 77%; } #ygrp-sponsor #ov{ padding: 6px 13px; background-color: #e0ecee; margin-bottom: 20px; } #ygrp-sponsor #ov ul{ padding: 0 0 0 8px; margin: 0; } #ygrp-sponsor #ov li{ list-style-type: square; padding: 6px 0; font-size: 77%; } #ygrp-sponsor #ov li a{ text-decoration: none; font-size: 130%; } #ygrp-sponsor #nc { background-color: #eee; margin-bottom: 20px; padding: 0 8px; } #ygrp-sponsor .ad{ padding: 8px 0; } #ygrp-sponsor .ad #hd1{ font-family: Arial; font-weight: bold; color: #628c2a; font-size: 100%; line-height: 122%; } #ygrp-sponsor .ad a{ text-decoration: none; } #ygrp-sponsor .ad a:hover{ text-decoration: underline; } #ygrp-sponsor .ad p{ margin: 0; } o {font-size: 0; } .MsoNormal { margin: 0 0 0 0; } #ygrp-text tt{ font-size: 120%; } blockquote{margin: 0 0 0 4px;} .replbq {margin:4} --> </style> </head> <!--~-|**|PrettyHtmlEnd|**|-~--> </html><!--End group email --> --4wM77FqkiW1FLlLC2oIIMI4ieE360DaOOQfnMoS--