ChangeLog-2010-05-24 1.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304
  1. 2010-05-24 Ojan Vafai <ojan@chromium.org>
  2. Reviewed by Eric Seidel.
  3. add tests to ensure that --git-commit ranges are exclusive of the start of the range
  4. https://bugs.webkit.org/show_bug.cgi?id=39612
  5. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  6. 2010-05-24 Eric Seidel <eric@webkit.org>
  7. Reviewed by Adam Barth.
  8. Add a temporary script for testing the html5 parser until it can run more layout tests
  9. https://bugs.webkit.org/show_bug.cgi?id=39611
  10. * Scripts/test-html5-parser: Added.
  11. 2010-05-24 Eric Seidel <eric@webkit.org>
  12. Reviewed by Chris Jerdonek.
  13. webkit-patch needs --verbose flag to enable DEBUG logging
  14. https://bugs.webkit.org/show_bug.cgi?id=39208
  15. I also added some code to print out how long commands take to run.
  16. * Scripts/webkit-patch:
  17. - Add hackish -v/--verbose parsing (similar to check-webkit-style)
  18. * Scripts/webkitpy/common/system/executive.py:
  19. - Log how long commands take to run.
  20. * Scripts/webkitpy/tool/main.py:
  21. - Add -v/--verbose option to global options.
  22. 2010-05-23 Eric Seidel <eric@webkit.org>
  23. Reviewed by Daniel Bates.
  24. Split PatchReader out into its own file
  25. https://bugs.webkit.org/show_bug.cgi?id=39576
  26. This is in preparation for making check-webkit-style
  27. support being passed paths to patch files on the command line.
  28. * Scripts/check-webkit-style:
  29. * Scripts/webkitpy/style/checker.py:
  30. * Scripts/webkitpy/style/checker_unittest.py:
  31. * Scripts/webkitpy/style/patchreader.py: Added.
  32. * Scripts/webkitpy/style/patchreader_unittest.py: Added.
  33. * Scripts/webkitpy/style_references.py:
  34. 2010-05-23 Adam Barth <abarth@webkit.org>
  35. Reviewed by Daniel Bates.
  36. webkit-patch should let you add a comment when uploading a patch
  37. https://bugs.webkit.org/show_bug.cgi?id=39552
  38. As requested by Dan "the man" Bates.
  39. * Scripts/webkitpy/tool/steps/options.py:
  40. * Scripts/webkitpy/tool/steps/postdiff.py:
  41. 2010-05-23 Adam Barth <abarth@webkit.org>
  42. Reviewed by Eric Seidel.
  43. webkit-patch should assign newly created bugs to their creator
  44. https://bugs.webkit.org/show_bug.cgi?id=39548
  45. As requested on webkit-dev.
  46. * Scripts/webkitpy/common/net/bugzilla.py:
  47. 2010-05-23 Adam Barth <abarth@webkit.org>
  48. Reviewed by Eric Seidel.
  49. Hide prepare and post commands for webkit-patch
  50. https://bugs.webkit.org/show_bug.cgi?id=39539
  51. It turns out these commands aren't very popular and they confuse new
  52. users. They'll still be there for advanced users, however.
  53. * Scripts/webkitpy/tool/commands/upload.py:
  54. 2010-05-23 Jesus Sanchez-Palencia <jesus@webkit.org>
  55. Reviewed by Laszlo Gombos.
  56. [Qt] QtTestBrowser has two graphicsview options that aren't enabled correctly
  57. https://bugs.webkit.org/show_bug.cgi?id=39491
  58. Making toggleResizesToContents and toggleTiledBackingStore checkable when
  59. QtTestBrowser is started on graphics view mode.
  60. * QtTestBrowser/main.cpp:
  61. (LauncherWindow::createChrome):
  62. 2010-05-23 Jesus Sanchez-Palencia <jesus@webkit.org>
  63. Reviewed by Laszlo Gombos.
  64. [Qt] QtTestBrowser is still called QtLauncher in the code
  65. https://bugs.webkit.org/show_bug.cgi?id=39488
  66. Finish the name change of QtLauncher to QtTestBrowser.
  67. * QtTestBrowser/main.cpp:
  68. (LauncherApplication::LauncherApplication):
  69. (LauncherApplication::handleUserOptions):
  70. * QtTestBrowser/mainwindow.cpp:
  71. (MainWindow::MainWindow):
  72. * QtTestBrowser/useragentlist.txt:
  73. 2010-05-23 Marcus Bulach <bulach@chromium.org>
  74. Reviewed by Kent Tamura.
  75. [chromium] Adds Geolocation support to DumpRenderTree.
  76. https://bugs.webkit.org/show_bug.cgi?id=39440
  77. Existing LayoutTests/fast/dom/Geolocation/* should pass.
  78. * DumpRenderTree/chromium/LayoutTestController.cpp:
  79. (LayoutTestController::LayoutTestController):
  80. (LayoutTestController::setGeolocationPermission):
  81. (LayoutTestController::setMockGeolocationPosition):
  82. (LayoutTestController::setMockGeolocationError):
  83. * DumpRenderTree/chromium/LayoutTestController.h:
  84. * DumpRenderTree/chromium/TestShell.cpp:
  85. (TestShell::TestShell):
  86. * DumpRenderTree/chromium/WebViewHost.cpp:
  87. (WebViewHost::geolocationService):
  88. * DumpRenderTree/chromium/WebViewHost.h:
  89. 2010-05-22 Adam Barth <abarth@webkit.org>
  90. Unreviewed.
  91. Re-order Yong's email addresses because his gmail account is the one he
  92. uses for bugs.webkit.org.
  93. * Scripts/webkitpy/common/config/committers.py:
  94. 2010-05-22 Daniel Bates <dbates@rim.com>
  95. Reviewed by Chris Jerdonek.
  96. Add infrastructure to parse SVN property changes
  97. https://bugs.webkit.org/show_bug.cgi?id=38885
  98. Adds function VCSUtils::parseSvnDiffFooter to parse an SVN footer
  99. that consists of one or more properties.
  100. Note, the first line of an SVN footer begins with "Property changes on".
  101. * Scripts/VCSUtils.pm:
  102. - Added function parseSvnDiffFooter. Will use this function
  103. towards resolving Bug #39409 <https://bugs.webkit.org/show_bug.cgi?id=39409>.
  104. - Removed FIXME comment above function parseSvnProperty, since
  105. it is being used by parseSvnDiffFooter.
  106. * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffFooter.pl: Added.
  107. - Added unit tests.
  108. 2010-05-22 Eric Seidel <eric@webkit.org>
  109. Unreviewed, fixing test results only.
  110. Disable compositing tests on the commit-queue as a workaround for bug 38912
  111. https://bugs.webkit.org/show_bug.cgi?id=39067
  112. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  113. - Update test results after my previous change.
  114. 2010-05-22 Eric Seidel <eric@webkit.org>
  115. Unreviewed.
  116. Disable compositing tests on the commit-queue as a workaround for bug 38912
  117. https://bugs.webkit.org/show_bug.cgi?id=39067
  118. * Scripts/webkitpy/tool/steps/runtests.py:
  119. - Disable all of compositing, not just compositing/iframes
  120. 2010-05-22 Kent Tamura <tkent@chromium.org>
  121. Reviewed by Dimitri Glazkov.
  122. [DRT/Chromium] Link resources and load Ahem font for Windows
  123. https://bugs.webkit.org/show_bug.cgi?id=39473
  124. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  125. (main): Call platformInit().
  126. * DumpRenderTree/chromium/TestShell.h:
  127. Declare platformInit(). It is not related to TestShell class, but the
  128. implementation of paltformInit() is placed at TestShell*.{cpp,mm}.
  129. * DumpRenderTree/chromium/TestShellGtk.cpp:
  130. (platformInit):
  131. * DumpRenderTree/chromium/TestShellMac.mm:
  132. (platformInit):
  133. * DumpRenderTree/chromium/TestShellWin.cpp:
  134. (platformInit):
  135. - Make stdout/stderr binary mode
  136. - Load Ahem font
  137. 2010-05-21 Eric Seidel <eric@webkit.org>
  138. Unreviewed, EWS build fix only.
  139. QueueStatusServer returns 500 error when EWS bots post empty queues
  140. https://bugs.webkit.org/show_bug.cgi?id=39523
  141. Mac python seems to have some built-in timezone support
  142. however other python installs don't. So we need to ignore
  143. timezones in our parsing.
  144. Date parsing is tested by existing unit tests.
  145. * QueueStatusServer/handlers/updateworkitems.py:
  146. - Fix typo causing exception on server.
  147. * Scripts/webkitpy/common/net/bugzilla.py:
  148. - Fix exception due to python's lack of timezone support.
  149. 2010-05-21 Eric Seidel <eric@webkit.org>
  150. Reviewed by Adam Barth.
  151. QueueStatusServer returns 500 error when EWS bots post empty queues
  152. https://bugs.webkit.org/show_bug.cgi?id=39523
  153. updateworkitems handler was raising an exception because
  154. int() couldn't convert "" to a number.
  155. I attempted to unit test this but we don't yet have a system by
  156. which to load unit tests for appengine classes which depend on
  157. google.appengine libraries which are not in the python default install.
  158. We'll need to write a wrapper script to load those into the python path
  159. and then run the unit test files.
  160. * QueueStatusServer/handlers/statusbubble.py:
  161. - Hide cr-win-ews since we're not currently running this bot.
  162. * QueueStatusServer/handlers/updateworkitems.py:
  163. - Fix the parsing logic to be able to understand "".
  164. * Scripts/webkitpy/common/net/statusserver.py:
  165. - Only log the work items posted to the server to the debug log channel.
  166. 2010-05-21 Eric Seidel <eric@webkit.org>
  167. Unreviewed, fixing the commit-queue to run again.
  168. Make the EWSes report queue position in white bubbles
  169. https://bugs.webkit.org/show_bug.cgi?id=39519
  170. * Scripts/webkitpy/common/net/statusserver.py:
  171. - Fix exception in _post_work_items_to_server when passed
  172. integers. Unfortunately we have no good way to mock
  173. the Browser object yet, and after several attempts I was
  174. not able to create a good one, so no tests. :(
  175. 2010-05-14 Ojan Vafai <ojan@chromium.org>
  176. Reviewed by Eric Seidel.
  177. webkit-patch land --squash commits too much if branch is not up to date
  178. https://bugs.webkit.org/show_bug.cgi?id=38852
  179. * Scripts/webkitpy/common/checkout/scm.py:
  180. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  181. 2010-05-21 Eric Seidel <eric@webkit.org>
  182. Reviewed by Adam Barth.
  183. Make the EWSes report queue position in white bubbles
  184. https://bugs.webkit.org/show_bug.cgi?id=39519
  185. This also fixes sorting of commit-queue patches
  186. to be in order of patch attachment.
  187. https://bugs.webkit.org/show_bug.cgi?id=33395
  188. This makes the various Queues post what patches they are about to process
  189. so that we can display a list of patches on status server pages, as well
  190. as report queue position in status bubbles.
  191. This is the first step towards creating a control-channel for the queues.
  192. Next step will be to have them read back the patches in order from the server
  193. and finally we will add the ability for the server to control that order.
  194. * Scripts/webkitpy/common/net/bugzilla.py:
  195. - Teach bugzilla how to parse attach_date for attachments.
  196. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  197. - Test that we're parsing dates correctly.
  198. This may have timezone issues for non-PST contributers, unsure.
  199. * Scripts/webkitpy/common/net/statusserver.py:
  200. - Post work items to the status server for display.
  201. * Scripts/webkitpy/tool/bot/patchcollection.py:
  202. - Call StatusServer.update_work_items
  203. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  204. - Update unit test results now that we're posting work item list.
  205. * Scripts/webkitpy/tool/commands/queues.py:
  206. - Call StatusSever.update_work_items
  207. - Sort patches so that the server's list understands
  208. that the commit-queue gives priority to rollout patches.
  209. - I also fixed patch sorting per bug 33395 while I was here.
  210. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  211. - Update results after update_work_items changes.
  212. - Test attachment sorting.
  213. * Scripts/webkitpy/tool/mocktool.py:
  214. - Add mock for update_work_items
  215. 2010-05-21 Robin Cao <robin.cao@torchmobile.com.cn>
  216. Reviewed by Adam Roben.
  217. fast/dom/HTMLObjectElement/children-changed.html times out on Windows run-webkit-tests
  218. https://bugs.webkit.org/show_bug.cgi?id=31315
  219. * DumpRenderTree/win/FrameLoadDelegate.cpp:
  220. (FrameLoadDelegate::didFailProvisionalLoadWithError): Need to invoke locationChangeDone here as mac port does.
  221. 2010-05-20 Mark Rowe <mrowe@apple.com>
  222. Rubber-stamped by Dan Bernstein.
  223. <rdar://problem/7848154> Remove the dependency on Foundation's private __COCOA_FORMAL_PROTOCOLS_2__ define.
  224. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  225. 2010-05-20 Tony Gentilcore <tonyg@chromium.org>
  226. Reviewed by Daniel Bates.
  227. Look in /proc/registry64 for the Platform SDK on 64-bit Windows.
  228. https://bugs.webkit.org/show_bug.cgi?id=39296
  229. The build-webkit script failed for me on Vista 64. A web search turned
  230. up this blog post with a patch that worked for me:
  231. http://www.nicholaswilson.me.uk/2010/04/hacking-webkit-fail/
  232. * Scripts/webkitdirs.pm:
  233. 2010-05-20 Eric Seidel <eric@webkit.org>
  234. Reviewed by Adam Barth.
  235. ThreadedMessageQueue should use with_statement for exception safety
  236. https://bugs.webkit.org/show_bug.cgi?id=39233
  237. * Scripts/webkitpy/common/thread/threadedmessagequeue.py:
  238. 2010-05-20 Diego Gonzalez <diegohcg@webkit.org>
  239. Reviewed by Kenneth Rohde Christiansen.
  240. [Qt] QtTestBrowser does not support websites which requires HTTP Authentication via dialogs
  241. https://bugs.webkit.org/show_bug.cgi?id=38456
  242. * QtTestBrowser/webpage.cpp:
  243. (WebPage::WebPage):
  244. (WebPage::authenticationRequired):
  245. * QtTestBrowser/webpage.h:
  246. 2010-05-20 Martin Robinson <mrobinson@igalia.com>
  247. Reviewed by Eric Seidel.
  248. editingBehavior settings needs to be set back to a reasonable default between tests
  249. https://bugs.webkit.org/show_bug.cgi?id=39433
  250. For now, hard code the default setting during reset, so that the serialized
  251. version of the setting stays in sync with expectations.
  252. * DumpRenderTree/mac/DumpRenderTree.mm:
  253. (resetDefaultsToConsistentValues): Reset editing behavior to the appropriate platform default.
  254. * DumpRenderTree/win/DumpRenderTree.cpp:
  255. (resetDefaultsToConsistentValues): Ditto.
  256. 2010-05-20 Brent Fulgham <bfulgham@webkit.org>
  257. Build fix. No review.
  258. The WebKitAPITest targets do not use the "_debug" suffix needed
  259. by the WinCairo port. Added Debug_Cairo target to correct this.
  260. * WebKitAPITest/WebKitAPITest.vcproj:
  261. 2010-05-20 Martin Robinson <mrobinson@igalia.com>
  262. Reviewed by Ojan Vafai.
  263. editing/selection/extend-selection-after-double-click.html crashes on the Leopard Intel release bot
  264. https://bugs.webkit.org/show_bug.cgi?id=39431
  265. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  266. (LayoutTestController::setEditingBehavior):
  267. Prevent a double-free by not having this variable be in the auto-release pool.
  268. 2010-05-20 Martin Robinson <mrobinson@webkit.org>
  269. Reviewed by Ojan Vafai.
  270. Expose the editing behavior setting in DRT to test all editing code paths
  271. https://bugs.webkit.org/show_bug.cgi?id=38603
  272. * DumpRenderTree/LayoutTestController.cpp:
  273. (setEditingBehaviorCallback): Added.
  274. (LayoutTestController::staticFunctions): Expose the setEditingBehaviorCallback function.
  275. * DumpRenderTree/LayoutTestController.h:
  276. * DumpRenderTree/chromium/LayoutTestController.cpp: Add callback method for setting editing behavior.
  277. * DumpRenderTree/chromium/LayoutTestController.h: Declaration for this method.
  278. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  279. (LayoutTestController::setEditingBehavior): Implementation of editing behavior control.
  280. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  281. (LayoutTestController::setEditingBehavior): Ditto
  282. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  283. (LayoutTestController::setEditingBehavior): Added stub implementation of editing behavior control.
  284. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  285. (LayoutTestController::setEditingBehavior): Add slot for controlling editor behavior.
  286. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  287. (LayoutTestController::setEditingBehavior): Implementation of editing behavior control.
  288. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  289. (LayoutTestController::setEditingBehavior): Added stub implementation of editing behavior control.
  290. 2010-05-20 Kent Tamura <tkent@chromium.org>
  291. Reviewed by Eric Seidel.
  292. [DRT/Chromium] Increase the time out value
  293. https://bugs.webkit.org/show_bug.cgi?id=39203
  294. Change the time out value of Chromium DRT to 30 seconds, which is
  295. the same as other ports.
  296. If a DRT process exits before new-run-webkit-tests detects time
  297. out, new-run-webkit-tests assumes the DRT process crashed.
  298. * DumpRenderTree/chromium/TestShell.cpp:
  299. (TestShell::layoutTestTimeout):
  300. Change the time out value from 10 seconds to 30 seconds.
  301. 2010-05-20 Chris Evans <cevans@google.com>
  302. Unreviewed.
  303. Marking myself as a committer.
  304. * Scripts/webkitpy/common/config/committers.py: Add cevans@google.com.
  305. 2010-05-20 Simon Hausmann <simon.hausmann@nokia.com>
  306. Reviewed by Tor Arne Vestbo.
  307. [Qt] Weekly binary builds on Mac OS X don't work when launched in the Finder
  308. https://bugs.webkit.org/show_bug.cgi?id=37273
  309. * QtTestBrowser/QtTestBrowser.pro: Build QtLauncher as bundle in package builds
  310. 2010-05-20 Fumitoshi Ukai <ukai@chromium.org>
  311. Unreviewed fix for websocket test failures.
  312. * Scripts/new-run-webkit-websocketserver:
  313. options is named parameter for factory.get().
  314. 2010-05-20 Fumitoshi Ukai <ukai@chromium.org>
  315. Reviewed by Shinichiro Hamaji.
  316. Chromium: Add --chromium option to new-run-webkit-websocketserver
  317. https://bugs.webkit.org/show_bug.cgi?id=37664
  318. Missed to pass options to factory.get() in r59595
  319. * Scripts/new-run-webkit-websocketserver:
  320. Pass options to factory.get().
  321. 2010-05-19 Eric Seidel <eric@webkit.org>
  322. Reviewed by Adam Roben.
  323. WinEWS should build Debug instead of Release
  324. https://bugs.webkit.org/show_bug.cgi?id=39242
  325. This is a workaround for
  326. https://bugs.webkit.org/show_bug.cgi?id=39197
  327. Adam Roben and Brian Weinstein believe this may
  328. also make building faster since Debug builds
  329. take less time to link.
  330. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  331. 2010-05-19 Dirk Pranke <dpranke@chromium.org>
  332. Unreviewed, build fix.
  333. * DumpRenderTree/chromium/NotificationPresenter.cpp:
  334. (NotificationPresenter::show):
  335. 2010-05-19 Eric Seidel <eric@webkit.org>
  336. Reviewed by Adam Barth.
  337. user.py throws exception when readline module is missing
  338. https://bugs.webkit.org/show_bug.cgi?id=39239
  339. * Scripts/webkitpy/common/system/user.py:
  340. - The error handling path requires the "sys" module,
  341. so added an import sys at the top of the file.
  342. 2010-05-18 Kent Tamura <tkent@chromium.org>
  343. Reviewed by Dimitri Glazkov.
  344. [DRT/Chromium] Fix a repaint issue and textarea tests
  345. https://bugs.webkit.org/show_bug.cgi?id=39054
  346. * DumpRenderTree/chromium/WebViewHost.cpp:
  347. (WebViewHost::canvas): Remove m_paintRect initialization in canvas().
  348. This line updated m_paintRect unexpectedly during paintRect().
  349. We don't need to initialize m_paintRect because show() does it.
  350. 2010-05-18 Tony Chang <tony@chromium.org>
  351. Reviewed by Kent Tamura.
  352. [chromium] new-run-webkit-tests --use-drt should run on Linux
  353. https://bugs.webkit.org/show_bug.cgi?id=37845
  354. * Scripts/webkitpy/layout_tests/port/chromium.py:
  355. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  356. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  357. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  358. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  359. 2010-05-18 Kent Tamura <tkent@chromium.org>
  360. Reviewed by Dimitri Glazkov.
  361. [DRT/Chromium] Fix some initialization/reset issues
  362. https://bugs.webkit.org/show_bug.cgi?id=39281
  363. * DumpRenderTree/chromium/LayoutTestController.cpp:
  364. (LayoutTestController::reset): Reset m_userStyleSheetLocation.
  365. * DumpRenderTree/chromium/LayoutTestController.h:
  366. Remove unused variable, m_workQueueFrozen.
  367. (LayoutTestController::WorkQueue::WorkQueue): Initialize m_frozen.
  368. * DumpRenderTree/chromium/TestShell.cpp:
  369. (TestShell::resetTestController): Reset WebSettings too.
  370. 2010-05-18 Dirk Pranke <dpranke@chromium.org>
  371. Reviewed by Ojan Vafai.
  372. new-run-webkit-tests: implement '--reset-results' flag to complement
  373. the '--new-baseline' flag. '--new-baseline' will always write the
  374. results into the platform directory; '--reset-results' will update the
  375. existing baseline wherever it happens to be. Both sets of behavior
  376. are useful in different circumstances.
  377. https://bugs.webkit.org/show_bug.cgi?id=38879
  378. * Scripts/webkitpy/layout_tests/data/image/canvas-bg.html: Added.
  379. * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.checksum: Added.
  380. * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.png: Added.
  381. * Scripts/webkitpy/layout_tests/data/image/canvas-zoom-expected.txt: Added.
  382. * Scripts/webkitpy/layout_tests/data/image/canvas-zoom.html: Added.
  383. * Scripts/webkitpy/layout_tests/data/misc/crash-expected.txt: Added.
  384. * Scripts/webkitpy/layout_tests/data/misc/crash.html: Added.
  385. * Scripts/webkitpy/layout_tests/data/misc/missing-expectation.html: Added.
  386. * Scripts/webkitpy/layout_tests/data/misc/passing-expected.txt: Added.
  387. * Scripts/webkitpy/layout_tests/data/misc/passing.html: Added.
  388. * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.checksum: Added.
  389. * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.png: Added.
  390. * Scripts/webkitpy/layout_tests/data/platform/test/image/canvas-bg-expected.txt: Added.
  391. * Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt: Added.
  392. * Scripts/webkitpy/layout_tests/data/text/article-element-expected.txt: Added.
  393. * Scripts/webkitpy/layout_tests/data/text/article-element.html: Added.
  394. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  395. * Scripts/webkitpy/layout_tests/port/test.py:
  396. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  397. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  398. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  399. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  400. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  401. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  402. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  403. * Scripts/webkitpy/layout_tests/port/test.py:
  404. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  405. 2010-05-18 Eric Seidel <eric@webkit.org>
  406. Reviewed by Adam Roben.
  407. Add an --html5-parser option to DumpRenderTree to allow testing the new HTML5Lexer
  408. https://bugs.webkit.org/show_bug.cgi?id=39311
  409. This flag allows us to run the new HTML5Lexer code.
  410. Right now all documents parse as empty documents, but
  411. now that we're able to run the code we can fix that.
  412. Once we're able to lex a few basic documents I'll add
  413. an --html5-parser flag to run-webkit-tests so that we test
  414. running all of the layout tests with the HTML5 parser.
  415. * DumpRenderTree/mac/DumpRenderTree.mm:
  416. (resetDefaultsToConsistentValues):
  417. (initializeGlobalsFromCommandLineOptions):
  418. 2010-05-08 Robert Hogan <robert@roberthogan.net>
  419. Reviewed by Simon Hausmann.
  420. [Qt] Fix http/tests/xmlhttprequest/cross-origin-no-authorization.html
  421. and http/tests/xmlhttprequest/cross-origin-authorization.html
  422. QHttpNetworkRequest adds Authorization and Cookie headers to XHRs
  423. without knowing if this is valid behaviour or not. In order to allow
  424. Qt to decide whether Cookie/Authorization headers should be added
  425. to an XHR QtWebKit needs to use an attribute added to QNetworkRequest.
  426. These new attributes are: QNetworkRequest::CookieLoadControlAttribute,
  427. QNetworkRequest::CookieSaveControlAttribute,and
  428. QNetworkRequest::AuthenticationReuseControlAttribute.
  429. In order to properly support the tests, Qt's DRT needs to use one
  430. NetworkAccessManager for all pages. This allows it to use cached
  431. credentials where appropriate.
  432. The tests now pass when run individually but there seems to be a problem with
  433. leaking the results of requests across tests when run with the others in
  434. http/tests. This will be addressed in a separate patch.
  435. https://bugs.webkit.org/show_bug.cgi?id=32967
  436. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  437. (WebCore::WebPage::WebPage):
  438. (WebCore::DumpRenderTree::DumpRenderTree):
  439. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  440. 2010-05-18 Fumitoshi Ukai <ukai@chromium.org>
  441. Reviewed by Eric Seidel.
  442. run_webkit_tests_unittest fails on SnowLeopard
  443. https://bugs.webkit.org/show_bug.cgi?id=39279
  444. * Scripts/webkitpy/layout_tests/port/base.py:
  445. Return copy of os.environ.
  446. * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
  447. Check os.environ was not modified.
  448. 2010-05-18 Fumitoshi Ukai <ukai@chromium.org>
  449. Reviewed by Eric Seidel.
  450. Chromium: new-run-webkit-httpd fails to setup_mount
  451. https://bugs.webkit.org/show_bug.cgi?id=39257
  452. * Scripts/webkitpy/common/system/executive.py:
  453. Assert type of args in run_command.
  454. * Scripts/webkitpy/common/system/executive_unittest.py:
  455. Add test_run_command_args_type
  456. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  457. Executive.run_command takes array for command line.
  458. * Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
  459. Test if setup_environ_for_server() run setup_mount.bat.
  460. 2010-05-17 Kent Tamura <tkent@chromium.org>
  461. Reviewed by David Levin.
  462. Chromium Windows build system does not rebuild correctly when
  463. enabling/disabling a feature
  464. https://bugs.webkit.org/show_bug.cgi?id=38926
  465. Add a workaround of this issue.
  466. * Scripts/update-webkit:
  467. Chromium-Windows only: If WebKit/chromium/features.gyp has been
  468. updated, remove WebKit/chromium/Debug and WebKit/chromium/Release.
  469. 2010-05-17 Sheriff Bot <webkit.review.bot@gmail.com>
  470. Unreviewed, rolling out r59631.
  471. http://trac.webkit.org/changeset/59631
  472. https://bugs.webkit.org/show_bug.cgi?id=39255
  473. chromium canaries can no longer run webkit_tests, suspect this
  474. change. (Requested by atwilson on #webkit).
  475. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  476. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  477. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  478. 2010-05-17 Eric Seidel <eric@webkit.org>
  479. Reviewed by Adam Barth.
  480. Attempt to make new-run-webkit-tests --help more sane
  481. https://bugs.webkit.org/show_bug.cgi?id=37836
  482. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  483. - Add a FIXME about options.singly and options.batch_size being different.
  484. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  485. - Add support for hidden options.
  486. - Add option groupings to attempt to simplify --help.
  487. - Fix a bunch of option helps to start with a capitalized verb.
  488. - Hide a bunch of options which make no sense to users.
  489. - Sort options in --help.
  490. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  491. - Add tests for option sorting.
  492. 2010-05-17 Robert Hogan <robert@webkit.org>
  493. Reviewed by Kenneth Rohde Christiansen.
  494. [Qt] Disable Icon Database by default in Qt DRT
  495. Unskip:
  496. http/tests/misc/favicon-loads-with-images-disabled.html
  497. http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-in-body.html
  498. http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag-parent-same-origin-deny.html
  499. http/tests/security/XFrameOptions/x-frame-options-deny-meta-tag.html
  500. https://bugs.webkit.org/show_bug.cgi?id=37382
  501. Add support for layoutTestController.setIconDatabaseEnabled and layoutTestController.disableImageLoading().
  502. The XFrameOptions tests were failing because of an extra resource load callback for favicon.ico requests.
  503. These extra callbacks are removed by supporting both of the above layoutTestContoller commands.
  504. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  505. (WebCore::WebPage::resetSettings):
  506. (WebCore::DumpRenderTree::DumpRenderTree):
  507. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  508. (WebCore::DumpRenderTree::drtStoragePath):
  509. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  510. (LayoutTestController::reset):
  511. (LayoutTestController::disableImageLoading):
  512. (LayoutTestController::setIconDatabaseEnabled):
  513. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  514. 2010-05-17 Fumitoshi Ukai <ukai@chromium.org>
  515. Reviewed by Eric Seidel.
  516. Chromium: Add --chromium option to new-run-webkit-websocketserver
  517. https://bugs.webkit.org/show_bug.cgi?id=37664
  518. os.environ setup and setup_mount for cygwin are moved in ChromiumWinPort.setup_environ_for_server.
  519. * Scripts/new-run-webkit-httpd:
  520. Remove passing register_cygwin.
  521. * Scripts/new-run-webkit-websocketserver:
  522. Add --chromium flag.
  523. Remove passing register_cygwin.
  524. Create port object using options.
  525. * Scripts/webkitpy/layout_tests/port/base.py:
  526. Add setup_environ_for_server().
  527. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  528. Ditto.
  529. * Scripts/webkitpy/layout_tests/port/factory_unittest.py: Added.
  530. * Scripts/webkitpy/layout_tests/port/http_server.py:
  531. Remove register_cygwin_parameter.
  532. Call setup_environ_for_server().
  533. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  534. Ditto.
  535. 2010-05-16 Daniel Bates <dbates@rim.com>
  536. Reviewed by Chris Jerdonek.
  537. https://bugs.webkit.org/show_bug.cgi?id=39184
  538. Adds function VCSUtils::parseSvnProperty to parse an SVN property with
  539. either a single-line or multi-line value change.
  540. * Scripts/VCSUtils.pm:
  541. - Added function parseSvnProperty. We will use this function
  542. towards resolving Bug #38885 <https://bugs.webkit.org/show_bug.cgi?id=38885>.
  543. - Removed FIXME comment above function parseSvnPropertyValue, since
  544. it is being used by parseSvnProperty.
  545. - Modified function parseSvnPropertyValue to break out of "while (<$fileHandle>)"
  546. loop when it encounters the start of the next property so that it can be
  547. processed by its caller, parseSvnPropertyValue. We reference this bullet below
  548. by (*).
  549. * Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl: Added.
  550. - Added unit tests.
  551. * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl:
  552. - Changed the name of the unit test "simple multi-line '-' change" to
  553. "single-line '-' change followed by empty line" since the former was an
  554. incorrect description of this test.
  555. - Added unit test "single-line '-' change followed by the next property", and
  556. "multi-line '-' change followed by the next property" to test (*) above.
  557. 2010-05-16 Tony Chang <tony@chromium.org>
  558. Not reviewed, fixing layout test.
  559. Don't output Inspect Element since this is not enabled on the bots,
  560. but most developers probably have it installed.
  561. * DumpRenderTree/mac/EventSendingController.mm:
  562. (-[EventSendingController contextClick:]):
  563. 2010-05-12 Tony Chang <tony@chromium.org>
  564. Reviewed by Darin Adler.
  565. Spellcheck disabling does not disable context menu
  566. https://bugs.webkit.org/show_bug.cgi?id=25639
  567. * DumpRenderTree/mac/EventSendingController.mm:
  568. (+[EventSendingController isSelectorExcludedFromWebScript:]):
  569. (+[EventSendingController webScriptNameForSelector:]):
  570. (-[EventSendingController contextClick:]): add a bool parameter that
  571. when true, dumps the context menu items to stdout.
  572. 2010-05-16 Robert Hogan <robert@webkit.org>
  573. Reviewed by Kenneth Rohde Christiansen.
  574. [Qt] Unskip fast/loader/main-document-url-for-non-http-loads.html
  575. Update Qt DRT to use frame loader, editor client and notification presenter
  576. functions in DumpRenderTreeSupportQt.
  577. https://bugs.webkit.org/show_bug.cgi?id=38867
  578. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  579. (WebCore::DumpRenderTree::open):
  580. (WebCore::DumpRenderTree::dump):
  581. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  582. (LayoutTestController::LayoutTestController):
  583. (LayoutTestController::reset):
  584. (LayoutTestController::dumpEditingCallbacks):
  585. (LayoutTestController::dumpFrameLoadCallbacks):
  586. (LayoutTestController::dumpResourceLoadCallbacks):
  587. (LayoutTestController::setWillSendRequestReturnsNullOnRedirect):
  588. (LayoutTestController::setWillSendRequestReturnsNull):
  589. (LayoutTestController::setWillSendRequestClearHeader):
  590. 2010-05-16 Eric Seidel <eric@webkit.org>
  591. Unreviewed, rolling out r59571.
  592. http://trac.webkit.org/changeset/59571
  593. https://bugs.webkit.org/show_bug.cgi?id=39054
  594. Broke Cr Win, but we didn't notice immediately due to
  595. https://bugs.webkit.org/show_bug.cgi?id=38926. It's possible
  596. that this didn't actually break Cr Win, but rather that bug
  597. 38926 necessitates a clean compile after this and sucessive
  598. checkins only produced a partial recompile and thus failed to
  599. build.
  600. * DumpRenderTree/chromium/WebViewHost.cpp:
  601. (WebViewHost::canvas):
  602. 2010-05-16 Robert Hogan <robert@webkit.org>
  603. Reviewed by Kenneth Rohde Christiansen.
  604. [Qt]Unskip security/set-form-autocomplete-attribute.html
  605. Add support for layoutTestController.elementDoesAutoCompleteForElementWithId().
  606. https://bugs.webkit.org/show_bug.cgi?id=38859
  607. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  608. (LayoutTestController::elementDoesAutoCompleteForElementWithId):
  609. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  610. 2010-05-16 Kent Tamura <tkent@chromium.org>
  611. Reviewed by Dimitri Glazkov.
  612. [DRT/Chromium] Fix repaint, WebGL, textarea tests
  613. https://bugs.webkit.org/show_bug.cgi?id=39054
  614. * DumpRenderTree/chromium/WebViewHost.cpp:
  615. (WebViewHost::canvas): Remove m_paintRect initialization in canvas().
  616. This line updated m_paintRect unexpectedly during paintRect().
  617. We don't need to initialize m_paintRect because show() does it.
  618. 2010-05-16 Sergio Villar Senin <svillar@igalia.com>
  619. Reviewed by Gustavo Noronha Silva.
  620. [GTK] Improve reporting of frame loader callbacks in DRT
  621. https://bugs.webkit.org/show_bug.cgi?id=36454
  622. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  623. (webViewLoadStatusNotified):
  624. (createWebView): added connection to notify::load-status and
  625. signal callback
  626. 2010-05-15 Daniel Bates <dbates@rim.com>
  627. Reviewed by Chris Jerdonek.
  628. https://bugs.webkit.org/show_bug.cgi?id=39170
  629. Add function parseSvnPropertyValue to parse single-line and multi-line
  630. property values of an SVN property change.
  631. * Scripts/VCSUtils.pm:
  632. Added function parseSvnPropertyValue. We will use this as part of
  633. Bug #38885 <https://bugs.webkit.org/show_bug.cgi?id=38885>.
  634. * Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl: Added.
  635. 2010-05-15 Jochen Eisinger <jochen@chromium.org>
  636. Reviewed by Dmitry Titov.
  637. Add allowDatabase method to TestWebWorker.
  638. https://bugs.webkit.org/show_bug.cgi?id=38742
  639. * DumpRenderTree/chromium/TestWebWorker.h:
  640. (TestWebWorker::allowDatabase):
  641. 2010-05-15 Simon Hausmann <simon.hausmann@nokia.com>
  642. Rubber-stamped by Antti Koivisto.
  643. [Qt] Rename QtLauncher to QtTestBrowser
  644. https://bugs.webkit.org/show_bug.cgi?id=37665
  645. Forgot to remove the original directory after the rename.
  646. * QtLauncher: Removed.
  647. 2010-05-15 Sheriff Bot <webkit.review.bot@gmail.com>
  648. Unreviewed, rolling out r59544.
  649. http://trac.webkit.org/changeset/59544
  650. https://bugs.webkit.org/show_bug.cgi?id=39165
  651. Cased LayoutTest to start crashing (Requested by abarth on
  652. #webkit).
  653. * Scripts/old-run-webkit-tests:
  654. 2010-05-15 Mario Sanchez Prada <msanchez@igalia.com>
  655. Reviewed by Xan Lopez.
  656. Ensure DRT loads GAIL (Gtk+ module), for a11y tests
  657. https://bugs.webkit.org/show_bug.cgi?id=38648
  658. Add the GTK_MODULES envvar (set to "gail") to the clean
  659. environment when running DRT for the Gtk+ port
  660. * Scripts/old-run-webkit-tests:
  661. 2010-05-15 Eric Seidel <eric@webkit.org>
  662. Reviewed by Maciej Stachowiak.
  663. Add script to check for minimum python version and install if missing on Tiger
  664. https://bugs.webkit.org/show_bug.cgi?id=38886
  665. Per Maciej's request on webkit-dev:
  666. https://lists.webkit.org/pipermail/webkit-dev/2010-May/012785.html
  667. provide a script which can automatically install Python on Tiger where
  668. the system provided version is too old to be of use.
  669. Note this uses the official Mac Python installer from python.org.
  670. This installs a copy of Python in /Library/Frameworks/Python.framework.
  671. It also makes symlinks from /usr/local/bin to the Python.framework/bin.
  672. I have tested this script on Leopard and it worked fine. I have not
  673. tested it on Tiger as I do not have access to a Tiger machine. In
  674. either case this should provide a great starting point for someone
  675. wishing to upgrade their copy of Python on Tiger.
  676. Future patches can make our scripts depend on a success return from this
  677. script and then they can either skip tests/sections for which python is
  678. insufficient, or they can fail themselves.
  679. * Scripts/ensure-valid-python: Added.
  680. 2010-05-15 Eric Seidel <eric@webkit.org>
  681. Reviewed by Adam Barth.
  682. Display queue position inside EWS bubbles
  683. https://bugs.webkit.org/show_bug.cgi?id=38979
  684. This ended up being a lot of clean-up to our status server code.
  685. Added a new WorkItems model, a form with which to fill it,
  686. and taught the Attachment class how to calculate the current queue
  687. postion for an attachment using the data in WorkItems.
  688. I also finally made statusbubble.* and dashboard.* not use copy-paste code.
  689. The Attachment class has this summary() method which is very
  690. controller/view-like and does not belong in a model class.
  691. This patch got rid of all direct uses of summary().
  692. * QueueStatusServer/handlers/dashboard.py:
  693. - Build row objects to hand off to the view instead of handing off a
  694. summary object and expecting the view to process it directly.
  695. * QueueStatusServer/handlers/statusbubble.py:
  696. - Build bubble object and hand them off to the view.
  697. * QueueStatusServer/handlers/updatestatus.py:
  698. - Code cleanup. Just move some code into _queue_status_from_request
  699. to make the main put() handler easier to read.
  700. * QueueStatusServer/handlers/updateworkitems.py: Added.
  701. - Controller to handle storing WorkItems model objects.
  702. * QueueStatusServer/main.py:
  703. - Add route for /update-work-items
  704. * QueueStatusServer/model/attachment.py:
  705. - Add new methods to replace direct summary() access.
  706. - Teach attachment how to calculate queue positions from WorkItems data.
  707. * QueueStatusServer/model/queues.py:
  708. - Move name_with_underscores here for easier re-use.
  709. * QueueStatusServer/model/workitems.py: Added.
  710. - New model for storing what items are currently queue for any bot.
  711. * QueueStatusServer/templates/dashboard.html:
  712. - Kill the copy/paste code!
  713. * QueueStatusServer/templates/statusbubble.html:
  714. - Kill the copy/paste code!
  715. * QueueStatusServer/templates/updateworkitems.html: Added.
  716. - Simple form for updating a queue's current work items.
  717. 2010-05-15 Joanmarie Diggs <joanmarie.diggs@gmail.com>
  718. Reviewed by Xan Lopez.
  719. https://bugs.webkit.org/show_bug.cgi?id=30500
  720. [Gtk] Find a way for WebKit to "announce" itself so that ATs can readily distinguish it from true Gtk/Gail
  721. The "announcement" is now made in the form of an object attribute
  722. associated with the AtkObject.
  723. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  724. (AccessibilityUIElement::allAttributes):
  725. (attributeSetToString):
  726. 2010-05-15 Mario Sanchez Prada <msanchez@igalia.com>
  727. Reviewed by Xan Lopez.
  728. Accessibility: Implement isSelected in DRT for GTK
  729. https://bugs.webkit.org/show_bug.cgi?id=31018
  730. Implement AccessibilityUIElement::isSelected() for Gtk
  731. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  732. (AccessibilityUIElement::isSelected):
  733. 2010-05-14 Adam Barth <abarth@webkit.org>
  734. Reviewed by Eric Seidel.
  735. scm.py should use self.run instead of run_command
  736. https://bugs.webkit.org/show_bug.cgi?id=38957
  737. We've wanted to do this for a while, but it's a prerequiste for running
  738. SVN from the cwd instead of the checkout_root.
  739. * Scripts/webkitpy/common/checkout/scm.py:
  740. 2010-05-14 Anton Muhin <antonm@chromium.org>
  741. Reviewed by Darin Fisher.
  742. [Chromium] Consider implementing addOriginAccessWhitelistEntry method
  743. https://bugs.webkit.org/show_bug.cgi?id=37578
  744. Remove deprecated methods.
  745. * DumpRenderTree/chromium/LayoutTestController.cpp
  746. * DumpRenderTree/chromium/LayoutTestController.h
  747. 2010-05-14 Kenneth Russell <kbr@google.com>
  748. Reviewed by Darin Adler.
  749. Rename WebGLArray types to TypedArray types
  750. https://bugs.webkit.org/show_bug.cgi?id=39091
  751. Extended functionality of do-webcore-rename script and used it to
  752. rename the WebGLArray types to the TypedArray naming convention.
  753. The only source files which were touched by hand, and which are
  754. being manually reviewed, are:
  755. WebCore/page/DOMWindow.idl
  756. WebCore/bindings/generic/RuntimeEnabledFeatures.h (script's changes undone)
  757. WebKit/WebCore/bindings/js/JSDOMWindowCustom.cpp
  758. WebKit/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
  759. These only needed to be touched to update the aliases between the
  760. WebGLArray and TypedArray names introduced in bug 39036. (It was
  761. not feasible to have do-webcore-rename handle this as it would
  762. introduce circular renamings.) These aliases will be removed in
  763. roughly a month once existing WebGL content has been updated.
  764. No new tests; covered under existing WebGL tests. Updated
  765. constructed-objects-prototypes and prototype-inheritance-2 tests.
  766. Ran all layout tests in Safari and all WebGL tests in Chromium.
  767. * Scripts/do-webcore-rename:
  768. Handle the case where some renames are substrings of others.
  769. Support renaming files containing custom JS bindings. If
  770. isDOMTypeRename is non-zero, expand the regexp which rewrites
  771. the file's contents in order to support custom JS bindings.
  772. 2010-05-14 Eric Seidel <eric@webkit.org>
  773. Reviewed by Adam Barth.
  774. webkit-patch rollout throws exception if bug is already open
  775. https://bugs.webkit.org/show_bug.cgi?id=38803
  776. This was caused by someone incorrectly wrapping the code. :p
  777. I'm going to have to start demanding unit tests for wrapping changes...
  778. I also fixed the code to be able to reopen bugs which were never confirmed.
  779. Before it regressed, the code would just log in that case. Now it actually
  780. will reopen the bug, but there is a FIXME about how the logic is a bit backwards.
  781. * Scripts/webkitpy/common/net/bugzilla.py:
  782. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  783. - Yay testing!
  784. 2010-05-14 Simon Hausmann <simon.hausmann@nokia.com>
  785. Rubber-stamped by Antti Koivisto.
  786. [Qt] Rename QtLauncher to QtTestBrowser
  787. * QtTestBrowser: Copied from WebKitTools/QtLauncher.
  788. * QtTestBrowser/QtLauncher.pro: Removed.
  789. * QtTestBrowser/QtLauncher.qrc: Removed.
  790. * QtTestBrowser/QtTestBrowser.pro: Copied from WebKitTools/QtLauncher/QtLauncher.pro.
  791. * QtTestBrowser/QtTestBrowser.qrc: Copied from WebKitTools/QtLauncher/QtLauncher.qrc.
  792. * Scripts/run-launcher:
  793. * Scripts/webkitdirs.pm:
  794. 2010-05-14 Adam Barth <abarth@webkit.org>
  795. Reviewed by Eric Seidel.
  796. Stop CCing webkit-bot-watchers
  797. https://bugs.webkit.org/show_bug.cgi?id=39020
  798. webkit-bot-watchers is somewhat of a failed experiment. No one
  799. subscribed to the list (not even me). Removing it from the code
  800. because wms says it bounces email sometimes.
  801. * Scripts/webkitpy/tool/commands/queues.py:
  802. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  803. 2010-05-14 Eric Seidel <eric@webkit.org>
  804. Reviewed by Adam Barth.
  805. REGRESSION: webkit-patch commit-message throws exception
  806. https://bugs.webkit.org/show_bug.cgi?id=38997
  807. * Scripts/webkitpy/tool/commands/upload.py:
  808. - Fix to respect and pass the --squash and --git-commit options.
  809. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  810. - Fix the unit test to use the central MockCheckout instead of
  811. its own custom Mock which didn't require enough parameters.
  812. 2010-05-13 Diego Gonzalez <diegohcg@webkit.org>
  813. Reviewed by Kenneth Rohde Christiansen.
  814. [Qt] Improve QtLauncher user agent dialog resize
  815. https://bugs.webkit.org/show_bug.cgi?id=39062
  816. * QtLauncher/main.cpp:
  817. (LauncherWindow::showUserAgentDialog):
  818. 2010-05-13 Eric Seidel <eric@webkit.org>
  819. Reviewed by Ojan Vafai.
  820. Disable compositing/iframes tests on the commit-queue as a workaround for bug 38912
  821. https://bugs.webkit.org/show_bug.cgi?id=39067
  822. Fix yet another typo in my original hack.
  823. I also added another unit test for this fix.
  824. * Scripts/webkitpy/common/config/ports.py:
  825. * Scripts/webkitpy/common/config/ports_unittest.py:
  826. 2010-05-13 Eric Seidel <eric@webkit.org>
  827. Reviewed by Ojan Vafai.
  828. Disable compositing/iframes tests on the commit-queue as a workaround for bug 38912
  829. https://bugs.webkit.org/show_bug.cgi?id=39067
  830. My previous (unreviewed) hack didn't actually work due to checking "mac" instead of "Mac".
  831. This change fixes my hack, and unit tests it.
  832. * Scripts/webkitpy/tool/mocktool.py:
  833. - Make it possible to make run_command log too.
  834. * Scripts/webkitpy/tool/steps/runtests.py:
  835. - Fix my hack to actually work.
  836. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  837. - Test my hack (and basic RunTests behavior as well).
  838. 2010-05-13 Antonio Gomes <tonikitoo@webkit.org>, Yi Shen <yi.4.shen@nokia.com>
  839. Reviewed by Kenneth Christiansen.
  840. [Qt] Add LayoutTestController interface: computedStyleIncludingVisitedInfo
  841. https://bugs.webkit.org/show_bug.cgi?id=37759
  842. WebKitTools:
  843. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  844. (LayoutTestController::computedStyleIncludingVisitedInfo):
  845. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  846. 2010-05-10 Adam Roben <aroben@apple.com>
  847. Convert status bar text to UTF-8 before logging it on Windows
  848. We were previously logging the text using printf("%S", bstr). This
  849. converts the UTF-16 BSTR to a multibyte string using wctomb, which
  850. uses the codepage for the current locale to perform the conversion.
  851. The conversion was failing, causing printf to bail and truncate the
  852. string. By converting to UTF-8 manually before logging, we avoid this
  853. issue (and also end up with UTF-8 output, which is what the expected
  854. results contain). We may have to do this in other places in DRT,
  855. eventually.
  856. Fixes <http://webkit.org/b/38849> REGRESSION (r59016):
  857. plugins/set-status.html fails on Windows
  858. Reviewed by Alexey Proskuryakov.
  859. * DumpRenderTree/win/DumpRenderTree.cpp:
  860. (toUTF8): Moved this here from FrameLoadDelegate. Renamed from
  861. BSTRtoString.
  862. * DumpRenderTree/win/DumpRenderTreeWin.h: Added declaration of toUTF8.
  863. * DumpRenderTree/win/FrameLoadDelegate.cpp: Removed BSTRtoString.
  864. (descriptionSuitableForTestResult): Updated for rename.
  865. * DumpRenderTree/win/UIDelegate.cpp:
  866. (UIDelegate::setStatusText): Convert the status bar text to UTF-8
  867. before logging it so that Windows won't try (and fail) to convert it
  868. to the current locale's codepage.
  869. 2010-05-13 Eric Seidel <eric@webkit.org>
  870. Unreviewed hack, attempting to get the commit-queue running again.
  871. Disable compositing/iframes tests on the commit-queue as a workaround for bug 38912
  872. https://bugs.webkit.org/show_bug.cgi?id=39067
  873. I had this hack locally on the commit-queue, but it's fragile
  874. and broke this morning. It will work much better if committed
  875. to the repository. In either case it's temporary while we
  876. work up a real fix for bug 38912.
  877. * Scripts/webkitpy/common/config/ports.py:
  878. - Expose an is_leopard() method.
  879. * Scripts/webkitpy/tool/steps/runtests.py:
  880. - Don't run compositing/iframes tests on the commit-queue under leopard.
  881. 2010-05-13 Fumitoshi Ukai <ukai@chromium.org>
  882. Unreviewed fix. Revert previous change.
  883. Even if with-statments are changed in websocket_server.py, it also claims syntax error for with statement in http_server.py.
  884. Until python 2.5 is installed on tiger bot, skips websocket/tests on tiger.
  885. * Scripts/webkitpy/layout_tests/port/websocket_server.py: use with statement
  886. 2010-05-13 Fumitoshi Ukai <ukai@chromium.org>
  887. Unreviewed fix.
  888. On tiger bot, it claims syntax error for with statement.
  889. * Scripts/webkitpy/layout_tests/port/websocket_server.py: rewrite with statement with try-finally.
  890. 2010-05-13 Fumitoshi Ukai <ukai@chromium.org>
  891. Reviewed by David Levin.
  892. WebSocket: pywebsocket 0.5
  893. https://bugs.webkit.org/show_bug.cgi?id=38034
  894. Remove pywebsocket from webkitpy/thirdparty.
  895. Make pywebsocket autoinstalled.
  896. * Scripts/new-run-webkit-websocketserver:
  897. Add --output-dir option.
  898. * Scripts/old-run-webkit-tests:
  899. Use new-run-webkit-websocketserver, rather than directly run pywebsocket's standalone.py
  900. * Scripts/run-webkit-websocketserver:
  901. Ditto.
  902. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  903. Use autoinstalled pywebsocket.
  904. * Scripts/webkitpy/thirdparty/__init__.py:
  905. Autoinstall pywebsocket
  906. * Scripts/webkitpy/thirdparty/pywebsocket: Removed.
  907. 2010-05-12 Chris Jerdonek <cjerdonek@webkit.org>
  908. Reviewed by Daniel Bates.
  909. Fixed a bug in svn-apply whereby the reviewer would not get set if
  910. the portion of the patch for the ChangeLog contains "NOBODY (**PS!)"
  911. in the leading junk.
  912. https://bugs.webkit.org/show_bug.cgi?id=38998
  913. * Scripts/VCSUtils.pm:
  914. - Added the $changeLogTimeZone variable from svn-apply.
  915. - Added setChangeLogDateAndReviewer() from svn-apply.
  916. - Added a localTimeInProjectTimeZone() subroutine.
  917. - In setChangeLogDateAndReviewer():
  918. - Added an $epochTime parameter to make the subroutine more testable.
  919. - Made the "NOBODY (**PS!)" regular expression more specific so that
  920. it will not apply to text in the leading junk.
  921. - Updated to call localTimeInProjectTimeZone().
  922. * Scripts/svn-apply:
  923. - Removed the $changeLogTimeZone file variable.
  924. - Added an $epochTime file variable to represent the current time.
  925. - Removed the setChangeLogDateAndReviewer() subroutine.
  926. - Updated patch() to use the new setChangeLogDateAndReviewer() syntax.
  927. * Scripts/webkitperl/VCSUtils_unittest/setChangeLogDateAndReviewer.pl: Added.
  928. - Added unit tests.
  929. 2010-05-12 Eric Seidel <eric@webkit.org>
  930. Reviewed by Adam Barth.
  931. test-webkitpy fails on windows due to lack of readline module
  932. https://bugs.webkit.org/show_bug.cgi?id=38884
  933. Win32 Python does not have a readline module, so we should
  934. not exit(1) if the import fails.
  935. Also the failure message is mac-specific and doesn't need to be.
  936. Only print the mac-specific install instructions on mac.
  937. * Scripts/webkitpy/common/system/user.py:
  938. 2010-05-12 Kent Tamura <tkent@chromium.org>
  939. Reviewed by Nate Chapin.
  940. [DRT/Chromium] Add a missing Sans-serif font setting
  941. https://bugs.webkit.org/show_bug.cgi?id=38981
  942. * DumpRenderTree/chromium/TestShell.cpp:
  943. (TestShell::resetWebSettings):
  944. Set "Helvetica" for Sans-serif. It is the same as the default setting of test_shell.
  945. 2010-05-10 Ojan Vafai <ojan@chromium.org>
  946. Reviewed by Adam Barth.
  947. webkit-patch upload --fancy-review now uses the bugzilla bug ID as the rietveld ID
  948. https://bugs.webkit.org/show_bug.cgi?id=38866
  949. wkrietveld.appspot.com has already been updated to allow you to
  950. pass --issue for the issue creation as well as subsequent uploads.
  951. Also, remove the extra code for trying to read out the issue ID
  952. from the changelog description since we just use the bugzilla ID now.
  953. * Scripts/webkitpy/common/config/__init__.py:
  954. * Scripts/webkitpy/common/net/rietveld.py:
  955. * Scripts/webkitpy/tool/steps/postcodereview.py:
  956. * Scripts/webkitpy/tool/steps/postdiff.py:
  957. 2010-05-12 Ojan Vafai <ojan@chromium.org>
  958. No review needed.
  959. Marking myself as a reviewer.
  960. * Scripts/webkitpy/common/config/committers.py:
  961. 2010-05-12 Dirk Pranke <dpranke@chromium.org>
  962. Reviewed by Eric Seidel.
  963. new-run-webkit-tests: add a --print default option so that you can
  964. easily get the default output plus something (e.g., you can say
  965. '--print default,config' instead of '--print misc,one-line-progress,
  966. one-line-summary,unexpected,unexpected-results,updates,config'.
  967. Also, add more unit tests for --verbose, --print everything, etc.
  968. https://bugs.webkit.org/show_bug.cgi?id=38877
  969. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  970. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  971. 2010-05-12 Csaba Osztrogonác <ossy@webkit.org>
  972. Reviewed by Adam Barth.
  973. Qt build failures cause SheriffBot false positives
  974. https://bugs.webkit.org/show_bug.cgi?id=38969
  975. Add Qt bots back to the core builders, because bug fixed by r59261.
  976. * Scripts/webkitpy/common/net/buildbot.py:
  977. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  978. 2010-05-12 Csaba Osztrogonác <ossy@webkit.org>
  979. Reviewed by Kenneth Rohde Christiansen.
  980. [Qt] Slave losts cause build break on bots
  981. https://bugs.webkit.org/show_bug.cgi?id=38980
  982. * Scripts/build-webkit: Remove 0 byte sized files from productDir before build.
  983. 2010-05-12 Csaba Osztrogonác <ossy@webkit.org>
  984. Unreviewed trivial fix after r59254.
  985. * Scripts/old-run-webkit-tests:
  986. 2010-05-12 Csaba Osztrogonác <ossy@webkit.org>
  987. Reviewed by Eric Seidel.
  988. run-webkit-tests --exit-after-N-failures should not count new tests as failures
  989. https://bugs.webkit.org/show_bug.cgi?id=31829
  990. * Scripts/old-run-webkit-tests:
  991. 2010-05-12 James Robinson <jamesr@chromium.org>
  992. Reviewed by Simon Fraser.
  993. Disable smooth scrolling on OS X when running tests
  994. https://bugs.webkit.org/show_bug.cgi?id=38964
  995. Some tests (like fast/repaint/fixed-move-after-keyboard-scroll.html)
  996. depend on smooth scrolling behavior. Since this is off by default
  997. in Leopard and on by default in Snow Leopard, DRT should turn it
  998. off always to ensure a consistent test environment.
  999. * DumpRenderTree/mac/DumpRenderTree.mm:
  1000. (resetDefaultsToConsistentValues):
  1001. 2010-05-10 Rodrigo Belem <rodrigo.belem@openbossa.org>
  1002. Reviewed by Kenneth Christiansen , Simon Hausmann and Gustavo Noronha.
  1003. [Qt, Gtk] Allows build-webkit script to receive an install prefix as parameter
  1004. https://bugs.webkit.org/show_bug.cgi?id=26224
  1005. Added more parameters to build-webkit script, the --prefix for gkt
  1006. and --install-libs, --install-headers for qt. Now it is possible
  1007. to change the install prefix for gtk and install path for qt.
  1008. * Scripts/build-webkit:
  1009. * Scripts/webkitdirs.pm:
  1010. 2010-05-12 Philippe Normand <pnormand@igalia.com>
  1011. Unreviewed, added my IRC nickname.
  1012. * Scripts/webkitpy/common/config/committers.py:
  1013. 2010-05-11 Chris Jerdonek <cjerdonek@webkit.org>
  1014. Reviewed by Eric Seidel.
  1015. Fixed two FIXME's in svn-apply: eliminated the unnecessary %copiedFiles
  1016. variable and changed gitKnowsOfFile() to use exitStatus().
  1017. https://bugs.webkit.org/show_bug.cgi?id=38862
  1018. * Scripts/svn-apply:
  1019. 2010-05-11 Eric Seidel <eric@webkit.org>
  1020. Unreviewed, just fixing python typo.
  1021. EWS bots should poll more often than every 5 minutes
  1022. https://bugs.webkit.org/show_bug.cgi?id=38968
  1023. Typo in _now(), add a unittest to prove I fixed it.
  1024. * Scripts/webkitpy/tool/bot/queueengine.py:
  1025. * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
  1026. 2010-05-11 Adam Barth <abarth@webkit.org>
  1027. Reviewed by Eric Seidel.
  1028. Qt build failures cause SheriffBot false positives
  1029. https://bugs.webkit.org/show_bug.cgi?id=38969
  1030. The Qt buildbot randomly fails to compile occasionally because its
  1031. network connection causes SVn to leave zero-byte files around. These
  1032. compile failures confuse SheriffBot into thinking someone's patch
  1033. caused a build break.
  1034. In this patch, I've temporarily removed Qt from the list of core
  1035. builders. Ossy is working on a script to clean up the zero byte files.
  1036. Once that goes in, we can add Qt back to the core builders.
  1037. * Scripts/webkitpy/common/net/buildbot.py:
  1038. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  1039. 2010-05-11 Adam Barth <abarth@webkit.org>
  1040. Reviewed by Eric Seidel.
  1041. sheriffbot is spammy.
  1042. https://bugs.webkit.org/show_bug.cgi?id=38936
  1043. Reduce sheriffbot spam by not warning about new blameworthy revisions
  1044. that can be explained by previously blamed revisions. This might cause
  1045. us to not warn about some real failures, but we're getting too much
  1046. spam from slow builders that have large blamelists (and we've already
  1047. poked the responsible folks using data from a fast builder).
  1048. * Scripts/webkitpy/tool/bot/sheriff_unittest.py:
  1049. - Removed unneeded import
  1050. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  1051. - The logic change
  1052. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  1053. - Tests of the change
  1054. * Scripts/webkitpy/tool/mocktool.py:
  1055. - Merged two declarations of MockBuilder
  1056. 2010-05-11 Tony Chang <tony@chromium.org>
  1057. Reviewed by David Levin.
  1058. [chromium] detect num processors to pass to make -j on Linux
  1059. https://bugs.webkit.org/show_bug.cgi?id=38833
  1060. * Scripts/webkitdirs.pm:
  1061. 2010-05-11 Eric Seidel <eric@webkit.org>
  1062. Reviewed by Adam Barth.
  1063. EWS bots should poll more often than every 5 minutes
  1064. https://bugs.webkit.org/show_bug.cgi?id=38968
  1065. We'll make them poll every 2 minutes to start with.
  1066. I'm going to re-write how polling works soon, so this is
  1067. a stop-gap to try and make the bots more responsive.
  1068. If Bill notices any additional load on bugzilla we'll drop
  1069. the polling frequency back to 5 minutes. He's historically said
  1070. that the EWS bots appear to be a drop in the bucket and thus
  1071. should be able to poll much more frequently w/o causing trouble.
  1072. * Scripts/webkitpy/tool/bot/queueengine.py:
  1073. * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
  1074. - Add a test for sleep_message
  1075. 2010-05-11 Eric Seidel <eric@webkit.org>
  1076. Reviewed by Adam Barth.
  1077. commit-queue should commit rollouts without running tests
  1078. https://bugs.webkit.org/show_bug.cgi?id=38940
  1079. Most of this change is improving our test coverage for the commit-queue.
  1080. The only functional change is removing the --test flag when the commit-queue
  1081. is running in rollouts mode.
  1082. I added test coverage for status updates, and updated the commit-queue status
  1083. messages to distinguish rollout vs. normal landing mode in its empty queue
  1084. and land patch messages.
  1085. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  1086. - Got rid of a bunch of copy/paste code using _default_expected_stderr
  1087. * Scripts/webkitpy/tool/commands/queues.py:
  1088. - Moved rollout patch filtering out of _validate_patches_in_commit_queue
  1089. so that we only have to check if the builders are green in one place.
  1090. - Make the "empty queue" message note which queue it is referring to.
  1091. - Don't pass --text to land-attachment when in rollout mode.
  1092. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  1093. - Update results now that we're testing status updates.
  1094. - Test _can_build_and_test since I made a typo in that call while
  1095. writing this change and the unit tests failed to catch it!
  1096. * Scripts/webkitpy/tool/mocktool.py:
  1097. - Log status updates to make them testable in our unit tests.
  1098. 2010-05-11 Kent Tamura <tkent@chromium.org>
  1099. Reviewed by Dimitri Glazkov.
  1100. [DRT/Chromium] Apply recent changes of test_shell to DRT
  1101. https://bugs.webkit.org/show_bug.cgi?id=38895
  1102. Port the changes to test_shell during (r40492, r46810] of Chromium.
  1103. Highlights:
  1104. - Introduce NotificationPresenter
  1105. - Fix parameter mismatch of WebViewClient::startDragging()
  1106. This change fixes dozens of unexpected behaviors.
  1107. * DumpRenderTree/DumpRenderTree.gypi:
  1108. Add NotificationPresenter.{cpp,h}
  1109. * DumpRenderTree/chromium/EventSender.cpp:
  1110. (applyKeyModifier):
  1111. (EventSender::EventSender):
  1112. (EventSender::reset):
  1113. (EventSender::webview):
  1114. (EventSender::doDragDrop):
  1115. (EventSender::keyDown):
  1116. (EventSender::addTouchPoint):
  1117. (EventSender::clearTouchPoints):
  1118. (EventSender::releaseTouchPoint):
  1119. (EventSender::setTouchModifier):
  1120. (EventSender::updateTouchPoint):
  1121. (EventSender::cancelTouchPoint):
  1122. (EventSender::sendCurrentTouchEvent):
  1123. (EventSender::touchEnd):
  1124. (EventSender::touchMove):
  1125. (EventSender::touchStart):
  1126. (EventSender::touchCancel):
  1127. * DumpRenderTree/chromium/EventSender.h:
  1128. * DumpRenderTree/chromium/LayoutTestController.cpp:
  1129. (LayoutTestController::LayoutTestController):
  1130. (LayoutTestController::reset):
  1131. (LayoutTestController::showWebInspector):
  1132. (LayoutTestController::setAuthorAndUserStylesEnabled):
  1133. (LayoutTestController::setScrollbarPolicy):
  1134. (LayoutTestController::setWillSendRequestClearHeader):
  1135. (LayoutTestController::callShouldCloseOnWebView):
  1136. (LayoutTestController::grantDesktopNotificationPermission):
  1137. (LayoutTestController::removeOriginAccessWhitelistEntry):
  1138. (LayoutTestController::addUserScript):
  1139. (LayoutTestController::addUserStyleSheet):
  1140. * DumpRenderTree/chromium/LayoutTestController.h:
  1141. * DumpRenderTree/chromium/NotificationPresenter.cpp: Added.
  1142. * DumpRenderTree/chromium/NotificationPresenter.h: Added.
  1143. * DumpRenderTree/chromium/TestShell.cpp:
  1144. (TestShell::TestShell):
  1145. (TestShell::runFileTest):
  1146. (TestShell::resetTestController):
  1147. * DumpRenderTree/chromium/TestShell.h:
  1148. (TestShell::eventSender):
  1149. (TestShell::notificationPresenter):
  1150. (TestShell::showDevTools):
  1151. * DumpRenderTree/chromium/WebViewHost.cpp:
  1152. (WebViewHost::createView):
  1153. (WebViewHost::createPopupMenu):
  1154. (WebViewHost::startDragging):
  1155. (WebViewHost::notificationPresenter):
  1156. (WebViewHost::createApplicationCacheHost):
  1157. (WebViewHost::willSendRequest):
  1158. (WebViewHost::updateAddressBar):
  1159. (WebViewHost::updateURL):
  1160. * DumpRenderTree/chromium/WebViewHost.h:
  1161. (WebViewHost::addClearHeader):
  1162. (WebViewHost::clearHeaders):
  1163. 2010-05-10 Dirk Pranke <dpranke@chromium.org>
  1164. Reviewed by Eric Seidel.
  1165. new-run-webkit-tests: fix a path-handling bug that was breaking the
  1166. dryrun ports on windows, and add a comment about why we don't run
  1167. the chromium dryrun tests by default on every port.
  1168. https://bugs.webkit.org/show_bug.cgi?id=38796
  1169. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  1170. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  1171. 2010-05-11 Mark Rowe <mrowe@apple.com>
  1172. Reviewed by Darin Adler.
  1173. <http://webkit.org/b/38941> build-webkit shouldn't always override ENABLE_FOO Xcode configuration settings
  1174. * Scripts/build-webkit: Don't pass the ENABLE setting to xcodebuild if the value matches the default.
  1175. This will lead to xcodebuild picking up the settings from FeatureDefines.xcconfig, and will aid in
  1176. revealing problems that are due to inconsistent values for settings across projects.
  1177. 2010-05-11 Mark Rowe <mrowe@apple.com>
  1178. Build fix.
  1179. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  1180. 2010-05-10 Ojan Vafai <ojan@chromium.org>
  1181. Reviewed by David Levin.
  1182. CheckStyle was eating script errors when there were local-commits and working copy changes
  1183. https://bugs.webkit.org/show_bug.cgi?id=38880
  1184. * Scripts/webkitpy/tool/steps/checkstyle.py:
  1185. * Scripts/webkitpy/tool/steps/checkstyle_unittest.py: Added.
  1186. 2010-05-11 Jian Li <jianli@chromium.org>
  1187. Reviewed by Dmitry Titov.
  1188. Expose FileReader interface.
  1189. https://bugs.webkit.org/show_bug.cgi?id=38609
  1190. * Scripts/build-webkit: turn on building FileReader for Apple's WebKit.
  1191. 2010-05-10 Tony Chang <tony@chromium.org>
  1192. Reviewed by Kent Tamura.
  1193. [chromium] Build DRT when running build-webkit --chromium
  1194. https://bugs.webkit.org/show_bug.cgi?id=38730
  1195. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Removed.
  1196. * Scripts/build-dumprendertree: This does nothing now.
  1197. 2010-05-10 Jon Honeycutt <jhoneycutt@apple.com>
  1198. REGRESSION(r59100): Added test is broken on many platforms.
  1199. https://bugs.webkit.org/show_bug.cgi?id=38881
  1200. Reviewed by Eric Seidel.
  1201. * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
  1202. (NPP_Destroy):
  1203. Use pluginLog, rather than printf, to match other platforms.
  1204. 2010-05-10 Dirk Pranke <dpranke@chromium.org>
  1205. Unreviewed, build fix.
  1206. Fix a build failure caused by assuming the default platform in
  1207. a unit test for new-run-webkit-tests instead of specifying
  1208. --platform test.
  1209. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  1210. 2010-05-10 Dirk Pranke <dpranke@chromium.org>
  1211. Unreviewed, build-fix
  1212. new-run-webkit-tests: fix test failure caused by me failing to update
  1213. the expected output. Also, run '--platform test' instead of
  1214. 'platform dryrun' since the former is guaranteed to work and the
  1215. latter isn't.
  1216. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  1217. 2010-05-10 Dirk Pranke <dpranke@chromium.org>
  1218. Reviewed by David Levin.
  1219. new-run-webkit-tests: looks like the unicode conversion broke
  1220. --print-last-failures and --retest-last-failures. Fixing.
  1221. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  1222. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  1223. 2010-05-10 Dirk Pranke <dpranke@chromium.org>
  1224. Reviewed by David Levin.
  1225. Re-attempt to fix 38616 - newline handling in new-run-webkit-tests.
  1226. I didn't handle some cases correctly before and the solution was
  1227. confusing. The new patch assumes all calls to the printing module
  1228. don't have newlines, and will append newlines where necessary, just
  1229. like logging does.
  1230. https://bugs.webkit.org/show_bug.cgi?id=38790
  1231. * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py:
  1232. * Scripts/webkitpy/layout_tests/layout_package/metered_stream_unittest.py:
  1233. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  1234. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  1235. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  1236. 2010-05-10 Kent Tamura <tkent@chromium.org>
  1237. Reviewed by Adam Barth.
  1238. Make tkent a reviewer
  1239. https://bugs.webkit.org/show_bug.cgi?id=38875
  1240. * Scripts/webkitpy/common/config/committers.py:
  1241. 2010-05-07 Jon Honeycutt <jhoneycutt@apple.com>
  1242. Crash closing window containing Flash plug-in
  1243. https://bugs.webkit.org/show_bug.cgi?id=38797
  1244. <rdar://problem/7935266>
  1245. Reviewed by Eric Seidel.
  1246. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  1247. (pluginAllocate):
  1248. Initialize new member to false.
  1249. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
  1250. Added a new member.
  1251. * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
  1252. (NPP_New):
  1253. Check whether the element has the "testGetURLOnDestroy" attribute, and
  1254. record that.
  1255. (NPP_Destroy):
  1256. If "testGetURLOnDestroy" is set, perform a load while destroying the
  1257. plug-in.
  1258. 2010-05-10 Eric Seidel <eric@webkit.org>
  1259. Reviewed by David Levin.
  1260. Executive.kill_* do not work with windows python
  1261. https://bugs.webkit.org/show_bug.cgi?id=38872
  1262. http://trac.webkit.org/changeset/57444 is where the original
  1263. breakage occurred.
  1264. http://trac.webkit.org/changeset/58314 is where the regression
  1265. started affecting chromium.
  1266. I have since learned that sys.platform has no "windows" value.
  1267. "win32" is always the value, under 32 or 64 bit windows
  1268. The tests for this code are not run anywhere because
  1269. test-webkitpy does not yet work on "win32". Mostly due to
  1270. depending on unixisms like "cat" and "yes".
  1271. * Scripts/webkitpy/common/system/executive.py:
  1272. * Scripts/webkitpy/common/system/executive_unittest.py:
  1273. 2010-05-10 Dirk Pranke <dpranke@chromium.org>
  1274. Reviewed by Eric Seidel.
  1275. Fix a bug in rebaseline-chromium-webkit-tests where we would crash
  1276. instead of logging an error and exiting if it couldn't find either a
  1277. debug or a release build of the image diff binary.
  1278. https://bugs.webkit.org/show_bug.cgi?id=38692
  1279. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  1280. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests_unittest.py: Added.
  1281. 2010-05-10 Eric Seidel <eric@webkit.org>
  1282. Reviewed by Adam Barth.
  1283. new-run-webkit-tests fails when run under sys.platform == "windows" due to undefined signal.SIGKILL
  1284. https://bugs.webkit.org/show_bug.cgi?id=38861
  1285. * Scripts/webkitpy/common/system/executive.py:
  1286. * Scripts/webkitpy/common/system/executive_unittest.py:
  1287. 2010-05-10 Jer Noble <jer.noble@apple.com>
  1288. Unreviewed.
  1289. Adding myself as a committer.
  1290. * Scripts/webkitpy/common/config/committers.py:
  1291. 2010-05-10 Hans Wennborg <hans@chromium.org>
  1292. Reviewed by Jeremy Orlow.
  1293. [Chromium] Add quota parameter to WebViewClient::createSessionStorageNamespace()
  1294. https://bugs.webkit.org/show_bug.cgi?id=38750
  1295. Put a per-origin quota on session storage since it is using memory in
  1296. the browser process, and should not be allowed to grow arbitrarily
  1297. large. See also http://trac.webkit.org/changeset/58828.
  1298. * DumpRenderTree/chromium/WebViewHost.cpp:
  1299. (WebViewHost::createSessionStorageNamespace):
  1300. * DumpRenderTree/chromium/WebViewHost.h:
  1301. 2010-05-10 Csaba Osztrogonác <ossy@webkit.org>
  1302. Rubber-stamped by Simon Hausmann.
  1303. [Qt] Roll-out r59020 and r59021, because the Qt part of these changes
  1304. haven't been landed in Qt trunk yet. Should be rolled-in again after the merge.
  1305. https://bugs.webkit.org/show_bug.cgi?id=32967
  1306. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  1307. (WebCore::WebPage::WebPage):
  1308. (WebCore::DumpRenderTree::DumpRenderTree):
  1309. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  1310. 2010-05-09 Daniel Bates <dbates@rim.com>
  1311. Reviewed by Chris Jerdonek.
  1312. https://bugs.webkit.org/show_bug.cgi?id=38812
  1313. Make the regular expressions for parsing the start of an SVN
  1314. and Git header global variables since they are used throughout
  1315. VCSUtils.pm.
  1316. * Scripts/VCSUtils.pm:
  1317. 2010-05-09 Chris Jerdonek <cjerdonek@webkit.org>
  1318. Reviewed by Daniel Bates.
  1319. Finished moving the header-parsing logic from svn-apply and -unapply
  1320. to VCSUtils.pm's parsing methods.
  1321. https://bugs.webkit.org/show_bug.cgi?id=38802
  1322. * Scripts/VCSUtils.pm:
  1323. - Added to parseGitDiffHeader() the ability to parse and store
  1324. whether a file is new or deleted.
  1325. - Also reordered in parseGitDiffHeader() some of the else statements
  1326. to a more readable ordering.
  1327. - Added to parseSvnDiffHeader() the ability to parse and store
  1328. whether a file is new.
  1329. * Scripts/svn-apply:
  1330. - Changed handleGitBinaryChange() to use the new "isNew" and "isDeletion"
  1331. diffHash key-values.
  1332. - Changed patch() to use the new "isNew" diffHash key-value.
  1333. * Scripts/svn-unapply:
  1334. - Changed patch() to use the new "isNew" and "isDeletion" diffHash key-values.
  1335. * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
  1336. - Added unit tests for new and deleted files.
  1337. * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
  1338. - Updated the unit tests as necessary.
  1339. - Added a unit test for a deleted file.
  1340. * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl:
  1341. - Updated the unit tests as necessary.
  1342. 2010-05-08 Chris Jerdonek <cjerdonek@webkit.org>
  1343. Reviewed by Daniel Bates.
  1344. Added to svn-apply support for git renames and copies with similarity
  1345. index less than 100%.
  1346. https://bugs.webkit.org/show_bug.cgi?id=32834
  1347. * Scripts/VCSUtils.pm:
  1348. - Added to parseGitDiffHeader() support for renames and similarity
  1349. index less than 100%.
  1350. - Added to parseDiff() support for processing renames, renames with
  1351. changes, and copies with changes.
  1352. - Added to parsePatch() the ability to process multiple return
  1353. values from parseDiff().
  1354. * Scripts/svn-apply:
  1355. - Added to patch() the ability to process diff hashes with the
  1356. isDeletion key-value set.
  1357. * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
  1358. - Updated the unit tests as necessary.
  1359. - Added unit tests for rename with similarity index 100%,
  1360. rename with similarity index < 100%, and rename with a change
  1361. to the executable bit.
  1362. * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
  1363. - Added unit tests for rename with similarity index 100%,
  1364. rename with similarity index < 100%, and rename with a change
  1365. to the executable bit.
  1366. * Scripts/webkitperl/VCSUtils_unittest/parsePatch.pl:
  1367. - Updated the unit tests as necessary.
  1368. * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl:
  1369. - Simplified the carriage-return unit test to more narrowly test
  1370. only carriage returns.
  1371. 2010-05-08 Chris Jerdonek <cjerdonek@webkit.org>
  1372. Reviewed by Daniel Bates.
  1373. This revision suppresses the misleading "error: pathspec..." messages
  1374. when using svn-apply to add a binary file from a Git diff.
  1375. https://bugs.webkit.org/show_bug.cgi?id=38047
  1376. When adding a new binary file from a Git diff, svn-apply prints
  1377. a misleading error of the form -- "error: pathspec '<filename>' did
  1378. not match any file(s) known to git. Did you forget to 'git add'?"
  1379. This patch suppresses these messages since they are normal.
  1380. * Scripts/VCSUtils.pm:
  1381. Added the callSilently() subroutine from runPatchCommand.pl, which
  1382. executes a Perl function while suppressing STDERR.
  1383. * Scripts/svn-apply:
  1384. Refactored the Git portion of scmKnowsOfFile() into a
  1385. gitKnowsOfFile(), and called this new subroutine using callSilently().
  1386. * Scripts/webkitperl/VCSUtils_unittest/runPatchCommand.pl:
  1387. Removed callSilently() since it was moved to VCSUtils.pm in this patch.
  1388. 2010-05-08 Victor Wang <victorw@chromium.org>
  1389. Reviewed by Adam Barth.
  1390. [chromium]: Upload test results json files to app engine server
  1391. Add an option to run_webkit_tests.py to upload generated
  1392. JSON files to app engine server. These JSON files will be used
  1393. by chromium layout test falkiness dashboard.
  1394. https://bugs.webkit.org/show_bug.cgi?id=36063
  1395. * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py: Added.
  1396. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  1397. 2010-05-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  1398. Reviewed by Kenneth Rohde Christiansen.
  1399. [Qt] Build the ImageDiff tool for all platforms including Windows and Symbian
  1400. https://bugs.webkit.org/show_bug.cgi?id=38706
  1401. Use qmath.h instead of math.h to make it portable.
  1402. * DumpRenderTree/qt/ImageDiff.cpp:
  1403. (main):
  1404. 2010-05-08 Robert Hogan <robert@roberthogan.net>
  1405. Reviewed by Simon Hausmann.
  1406. [Qt] Fix http/tests/xmlhttprequest/cross-origin-no-authorization.html
  1407. and http/tests/xmlhttprequest/cross-origin-authorization.html
  1408. QHttpNetworkRequest adds Authorization and Cookie headers to XHRs
  1409. without knowing if this is valid behaviour or not. In order to allow
  1410. Qt to decide whether Cookie/Authorization headers should be added
  1411. to an XHR QtWebKit needs to use an attribute added to QNetworkRequest.
  1412. These new attributes are: QNetworkRequest::CookieLoadControlAttribute,
  1413. QNetworkRequest::CookieSaveControlAttribute,and
  1414. QNetworkRequest::AuthenticationReuseControlAttribute.
  1415. In order to properly support the tests, Qt's DRT needs to use one
  1416. NetworkAccessManager for all pages. This allows it to use cached
  1417. credentials where appropriate.
  1418. The tests now pass when run individually but there seems to be a problem with
  1419. leaking the results of requests across tests when run with the others in
  1420. http/tests. This will be addressed in a separate patch.
  1421. https://bugs.webkit.org/show_bug.cgi?id=32967
  1422. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  1423. (WebCore::WebPage::WebPage):
  1424. (WebCore::DumpRenderTree::DumpRenderTree):
  1425. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  1426. 2010-05-04 Robert Hogan <robert@webkit.org>
  1427. Reviewed by Eric Seidel.
  1428. [Qt] unskip http/tests/plugins/npapi-response-headers.html
  1429. Turns out this failed because run-webkit-tests was eating the first occurrence
  1430. of 'Content-Type: text/plain' in the test output as a header. Strange but true.
  1431. So do as Chromium does and preface all text dumps with the
  1432. 'Content-Type: text/plain' header.
  1433. https://bugs.webkit.org/show_bug.cgi?id=38541
  1434. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  1435. (WebCore::DumpRenderTree::dump):
  1436. 2010-05-08 Eric Seidel <eric@webkit.org>
  1437. Reviewed by Daniel Bates.
  1438. test-webkitpy fails under cygwin
  1439. https://bugs.webkit.org/show_bug.cgi?id=38718
  1440. * Scripts/webkitpy/common/system/executive.py:
  1441. - Add _KILL_PROCESS_KILLED_PROCESS_EXIT_CODE and
  1442. _KILL_ALL_KILLED_PROCESS_EXIT_CODE to store the expected
  1443. exit codes of processes killed by kill_process and kill_all.
  1444. These two constants are only used by the unit tests but are
  1445. stored in executive.py so they can be right next to the platform ifs.
  1446. - Remove unnecessary str() conversion, run_command does that for us.
  1447. - Make os.kill retry on cygwin on EAGAIN. It's unclear why CYGWIN
  1448. throws EAGAIN, but it only does so sometimes. 3 may not be enough
  1449. retries, but we'll try it to start with.
  1450. - Add _windows_image_name to automatically convert "yes" to "yes.exe"
  1451. for use with taskkill.exe /im. Various callers to kill_all could
  1452. be updated to remove the .exe, but that can be done in another patch.
  1453. - Use taskkill.exe for killall on cygwin.
  1454. * Scripts/webkitpy/common/system/executive_unittest.py:
  1455. - Use the new *_KILLED_PROCESS_EXIT_CODE constants which are correctly
  1456. set to 0 on windows/cygwin systems where taskkill.exe is used.
  1457. - Test _windows_image_name
  1458. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  1459. - Add FIXME about including mac-snowleopard in baseline_search_path.
  1460. * Scripts/webkitpy/layout_tests/port/webkit.py:
  1461. - Make default_configuration actually read from the Configuration file.
  1462. * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Added.
  1463. - Test default_configuration
  1464. * Scripts/webkitpy/layout_tests/port/win.py:
  1465. - Need a basic baseline_search_path if --platform dryrun is to work.
  1466. 2010-05-08 Eric Seidel <eric@webkit.org>
  1467. Unreviewed, just reverting commit.
  1468. REGRESSION(59000): r59000 contained all sorts of changes it should not have, needs revert.
  1469. https://bugs.webkit.org/show_bug.cgi?id=38798
  1470. * Scripts/webkitpy/common/system/executive.py:
  1471. * Scripts/webkitpy/common/system/executive_unittest.py:
  1472. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  1473. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  1474. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  1475. * Scripts/webkitpy/layout_tests/port/mac.py:
  1476. * Scripts/webkitpy/layout_tests/port/webkit.py:
  1477. * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Removed.
  1478. * Scripts/webkitpy/layout_tests/port/win.py:
  1479. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  1480. * Scripts/webkitpy/tool/commands/download.py:
  1481. * Scripts/webkitpy/tool/commands/download_unittest.py:
  1482. 2010-05-06 Eric Seidel <eric@webkit.org>
  1483. Reviewed by Daniel Bates.
  1484. test-webkitpy fails under cygwin
  1485. https://bugs.webkit.org/show_bug.cgi?id=38718
  1486. * Scripts/webkitpy/common/system/executive.py:
  1487. - Add _KILL_PROCESS_KILLED_PROCESS_EXIT_CODE and
  1488. _KILL_ALL_KILLED_PROCESS_EXIT_CODE to store the expected
  1489. exit codes of processes killed by kill_process and kill_all.
  1490. These two constants are only used by the unit tests but are
  1491. stored in executive.py so they can be right next to the platform ifs.
  1492. - Remove unnecessary str() conversion, run_command does that for us.
  1493. - Make os.kill retry on cygwin on EAGAIN. It's unclear why CYGWIN
  1494. throws EAGAIN, but it only does so sometimes. 3 may not be enough
  1495. retries, but we'll try it to start with.
  1496. - Add _windows_image_name to automatically convert "yes" to "yes.exe"
  1497. for use with taskkill.exe /im. Various callers to kill_all could
  1498. be updated to remove the .exe, but that can be done in another patch.
  1499. - Use taskkill.exe for killall on cygwin.
  1500. * Scripts/webkitpy/common/system/executive_unittest.py:
  1501. - Use the new *_KILLED_PROCESS_EXIT_CODE constants which are correctly
  1502. set to 0 on windows/cygwin systems where taskkill.exe is used.
  1503. - Test _windows_image_name
  1504. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  1505. - Add FIXME about including mac-snowleopard in baseline_search_path.
  1506. * Scripts/webkitpy/layout_tests/port/webkit.py:
  1507. - Make default_configuration actually read from the Configuration file.
  1508. * Scripts/webkitpy/layout_tests/port/webkit_unittest.py: Added.
  1509. - Test default_configuration
  1510. * Scripts/webkitpy/layout_tests/port/win.py:
  1511. - Need a basic baseline_search_path if --platform dryrun is to work.
  1512. 2010-05-07 Eric Seidel <eric@webkit.org>
  1513. Reviewed by Nikolas Zimmermann.
  1514. DryrunTest fails on every platform other than mac
  1515. https://bugs.webkit.org/show_bug.cgi?id=38796
  1516. The test uses the port detection logic to find a suitable
  1517. port to use results from. However that detection logic assumes
  1518. chromium on linux, which requires a chromium checkout which the
  1519. bots don't have. The test is broken and we'll need to fix it.
  1520. For now I'm just going to disable the test on all platforms besides mac.
  1521. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  1522. 2010-05-07 Eric Seidel <eric@webkit.org>
  1523. Reviewed by Daniel Bates.
  1524. Clean up baseline_search_path to use map to reduce copy/paste code
  1525. https://bugs.webkit.org/show_bug.cgi?id=38792
  1526. Reading which portnames a port falls back to is easier if
  1527. we convert port names to paths with map instead of using copy/paste code.
  1528. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  1529. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  1530. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  1531. * Scripts/webkitpy/layout_tests/port/mac.py:
  1532. 2010-05-07 Eric Seidel <eric@webkit.org>
  1533. Reviewed by Daniel Bates.
  1534. rollout commands fail when commit is missing bug number
  1535. https://bugs.webkit.org/show_bug.cgi?id=38791
  1536. * Scripts/webkitpy/tool/commands/download.py:
  1537. - _commit_info failed to actually return the CommitInfo in the no-bug-id case.
  1538. * Scripts/webkitpy/tool/commands/download_unittest.py:
  1539. - Test that the fix worked.
  1540. 2010-05-07 Darin Fisher <darin@chromium.org>
  1541. Fix build bustage: toElement<T> should be to<T>.
  1542. * DumpRenderTree/chromium/LayoutTestController.cpp:
  1543. (LayoutTestController::elementDoesAutoCompleteForElementWithId):
  1544. 2010-05-07 Chris Jerdonek <cjerdonek@webkit.org>
  1545. Reviewed by Daniel Bates.
  1546. Refactored VCSUtils.pm's parse-related methods to leave inapplicable
  1547. hash values unset instead of setting them to "undef".
  1548. https://bugs.webkit.org/show_bug.cgi?id=38724
  1549. Preferring "not set" over "undef" keeps the unit tests smaller and
  1550. easier to maintain. Otherwise, we would have to update every unit
  1551. test case each time we add support for a new key-value pair --
  1552. instead of just the relevant ones.
  1553. * Scripts/VCSUtils.pm:
  1554. - In parseGitDiffHeader(), adjusted the handling of these key-values:
  1555. executableBitDelta and isBinary.
  1556. - In parseSvnDiffHeader(), adjusted the handling of these key-values:
  1557. copiedFromPath, isBinary, and sourceRevision.
  1558. - In parseDiffHeader(), adjusted the handling of these key-values:
  1559. isGit and isSvn.
  1560. - In parseDiff(), adjusted the handling of these key-values:
  1561. isBinary, isGit, isSvn, and sourceRevision.
  1562. * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
  1563. - Updated the unit tests as necessary.
  1564. * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
  1565. - Updated the unit tests as necessary.
  1566. * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
  1567. - Updated the unit tests as necessary.
  1568. * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl:
  1569. - Updated the unit tests as necessary.
  1570. 2010-05-06 Mark Rowe <mrowe@apple.com>
  1571. Rubber-stamped by Dan Bernstein.
  1572. Exclude leaks due to <rdar://problem/7815391> from the output.
  1573. * Scripts/old-run-webkit-tests:
  1574. 2010-05-06 Sheriff Bot <webkit.review.bot@gmail.com>
  1575. Unreviewed, rolling out r58933.
  1576. http://trac.webkit.org/changeset/58933
  1577. https://bugs.webkit.org/show_bug.cgi?id=38717
  1578. "Broke all websocket tests on Tiger" (Requested by eseidel on
  1579. #webkit).
  1580. * Scripts/new-run-webkit-websocketserver:
  1581. * Scripts/old-run-webkit-tests:
  1582. * Scripts/run-webkit-websocketserver:
  1583. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  1584. * Scripts/webkitpy/thirdparty/__init__.py:
  1585. * Scripts/webkitpy/thirdparty/pywebsocket/COPYING: Added.
  1586. * Scripts/webkitpy/thirdparty/pywebsocket/MANIFEST.in: Added.
  1587. * Scripts/webkitpy/thirdparty/pywebsocket/README: Added.
  1588. * Scripts/webkitpy/thirdparty/pywebsocket/README.webkit: Added.
  1589. * Scripts/webkitpy/thirdparty/pywebsocket/example/echo_client.py: Added.
  1590. * Scripts/webkitpy/thirdparty/pywebsocket/example/echo_wsh.py: Added.
  1591. * Scripts/webkitpy/thirdparty/pywebsocket/example/handler_map.txt: Added.
  1592. * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/__init__.py: Added.
  1593. * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/dispatch.py: Added.
  1594. * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/handshake.py: Added.
  1595. * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/headerparserhandler.py: Added.
  1596. * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/memorizingfile.py: Added.
  1597. * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/msgutil.py: Added.
  1598. * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/standalone.py: Added.
  1599. * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/util.py: Added.
  1600. * Scripts/webkitpy/thirdparty/pywebsocket/setup.py: Added.
  1601. * Scripts/webkitpy/thirdparty/pywebsocket/test/config.py: Added.
  1602. * Scripts/webkitpy/thirdparty/pywebsocket/test/mock.py: Added.
  1603. * Scripts/webkitpy/thirdparty/pywebsocket/test/run_all.py: Added.
  1604. * Scripts/webkitpy/thirdparty/pywebsocket/test/test_dispatch.py: Added.
  1605. * Scripts/webkitpy/thirdparty/pywebsocket/test/test_handshake.py: Added.
  1606. * Scripts/webkitpy/thirdparty/pywebsocket/test/test_memorizingfile.py: Added.
  1607. * Scripts/webkitpy/thirdparty/pywebsocket/test/test_mock.py: Added.
  1608. * Scripts/webkitpy/thirdparty/pywebsocket/test/test_msgutil.py: Added.
  1609. * Scripts/webkitpy/thirdparty/pywebsocket/test/test_util.py: Added.
  1610. * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/README: Added.
  1611. * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/blank_wsh.py: Added.
  1612. * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/origin_check_wsh.py: Added.
  1613. * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py: Added.
  1614. * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py: Added.
  1615. * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py: Added.
  1616. * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/plain_wsh.py: Added.
  1617. * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py: Added.
  1618. * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py: Added.
  1619. * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/hello.pl: Added.
  1620. 2010-05-06 Fumitoshi Ukai <ukai@chromium.org>
  1621. Reviewed by David Levin.
  1622. WebSocket: pywebsocket 0.5
  1623. https://bugs.webkit.org/show_bug.cgi?id=38034
  1624. Remove pywebsocket from webkitpy/thirdparty.
  1625. Make pywebsocket autoinstalled.
  1626. * Scripts/new-run-webkit-websocketserver:
  1627. Add --output-dir option.
  1628. * Scripts/old-run-webkit-tests:
  1629. Use new-run-webkit-websocketserver, rather than directly run pywebsocket's standalone.py
  1630. * Scripts/run-webkit-websocketserver:
  1631. Ditto.
  1632. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  1633. Use autoinstalled pywebsocket.
  1634. * Scripts/webkitpy/thirdparty/__init__.py:
  1635. Autoinstall pywebsocket
  1636. * Scripts/webkitpy/thirdparty/pywebsocket: Removed.
  1637. 2010-05-06 Chris Jerdonek <cjerdonek@webkit.org>
  1638. Reviewed by Daniel Bates.
  1639. svn-apply now understands the Git diff "copy from" syntax when the
  1640. similarity index is 100%.
  1641. https://bugs.webkit.org/show_bug.cgi?id=38628
  1642. * Scripts/VCSUtils.pm:
  1643. - Adjusted parseGitDiffHeader() to parse the "copy from" and
  1644. "similarity index" lines.
  1645. * Scripts/svn-unapply:
  1646. - Adjusted the patch() subroutine so that copies are recognized
  1647. as file additions.
  1648. * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
  1649. - Added unit tests for the cases of a copy with similarity index
  1650. 100% and less than 100%.
  1651. 2010-05-06 Chris Jerdonek <cjerdonek@webkit.org>
  1652. Reviewed by Daniel Bates.
  1653. Removed the need for svn-apply and -unapply to re-parse whether
  1654. a diff is binary or not.
  1655. https://bugs.webkit.org/show_bug.cgi?id=38320
  1656. * Scripts/VCSUtils.pm:
  1657. - Adjusted parseGitDiffHeader() to set the isBinary key.
  1658. - Adjusted parseSvnDiffHeader() to set the isBinary key.
  1659. - Adjusted parseDiffHeader() to set the isBinary key.
  1660. - Changed the scmFormat key set by parseDiffHeader() to
  1661. isGit and isSvn keys.
  1662. - Adjusted parseDiff() to set the isBinary, isGit, and isSvn keys.
  1663. * Scripts/svn-apply:
  1664. - Updated the patch() method to use the isBinary, isGit, and
  1665. isSvn keys.
  1666. * Scripts/svn-unapply:
  1667. - Updated the patch() method to use the isBinary and isSvn keys.
  1668. * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
  1669. - Updated the unit tests as necessary.
  1670. - Added a test case to test that the isBinary key is getting set properly.
  1671. * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
  1672. - Updated the unit tests as necessary.
  1673. * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
  1674. - Updated the unit tests as necessary.
  1675. * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl:
  1676. - Updated the unit tests as necessary.
  1677. 2010-05-06 Kent Tamura <tkent@chromium.org>
  1678. Reviewed by Dimitri Glazkov.
  1679. [DRT/Chromium] Add support for resources on Mac
  1680. https://bugs.webkit.org/show_bug.cgi?id=38637
  1681. Repack webkit_chromium_resources.pak, webkit_strings_en-US.pak,
  1682. and webkit_resources.pak, and put them as Mac bundle resource.
  1683. The 'actions' section is almost same as a part of test_shell.gypi.
  1684. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
  1685. 2010-05-06 Csaba Osztrogonác <ossy@webkit.org>
  1686. [Qt] Unreviewed buildfix after r58917.
  1687. * DumpRenderTree/qt/LayoutTestControllerQt.h: Missing function declaration added.
  1688. 2010-05-06 Anders Carlsson <andersca@apple.com>
  1689. Reviewed by Darin Adler and Dan Bernstein..
  1690. REGRESSION (r51617): when plugins are disabled, plugins show up as garbage characters
  1691. https://bugs.webkit.org/show_bug.cgi?id=38698
  1692. <rdar://problem/7942075>
  1693. Add a 'setPluginsEnabled' layoutTestController function for disabling plug-ins. This is only implemented on Mac currently
  1694. because the bug that needs this functionality is mac specific.
  1695. * DumpRenderTree/LayoutTestController.cpp:
  1696. (setPluginsEnabledCallback):
  1697. (LayoutTestController::staticFunctions):
  1698. * DumpRenderTree/LayoutTestController.h:
  1699. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  1700. (LayoutTestController::setPluginsEnabled):
  1701. * DumpRenderTree/mac/DumpRenderTree.mm:
  1702. (resetDefaultsToConsistentValues):
  1703. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  1704. (LayoutTestController::setPluginsEnabled):
  1705. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  1706. (LayoutTestController::setPluginsEnabled):
  1707. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  1708. (LayoutTestController::setPluginsEnabled):
  1709. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  1710. (LayoutTestController::setPluginsEnabled):
  1711. 2010-05-06 Jochen Eisinger <jochen@chromium.org>
  1712. Reviewed by Dimitri Glazkov.
  1713. Make ImageDiff depend on WebKit. When compiled from within Chromium, WTF is not a standalone dynamic library but depends on WebKit.
  1714. https://bugs.webkit.org/show_bug.cgi?id=38632
  1715. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
  1716. 2010-05-06 Simon Hausmann <simon.hausmann@nokia.com>
  1717. Reviewed by Kenneth Rohde Christiansen.
  1718. [Qt] Replace public inspector url with private property for QtLauncher
  1719. https://bugs.webkit.org/show_bug.cgi?id=35340
  1720. Replace the public API with a private dynamic property until this feature
  1721. is ready.
  1722. * QtLauncher/main.cpp:
  1723. (LauncherWindow::init):
  1724. 2010-05-05 Joseph Pecoraro <joepeck@webkit.org>
  1725. Reviewed by Pavel Feldman.
  1726. Web Inspector: build-webkit --inspector-frontend Should Exclude *.re2js
  1727. https://bugs.webkit.org/show_bug.cgi?id=38449
  1728. * Scripts/webkitdirs.pm:
  1729. 2010-05-05 Charles Wei <charles.wei@torchmobile.com.cn>
  1730. Reviewed by George Staikos
  1731. This patch adds WCSS -wap-input-format and -wap-input-required support to WebKit
  1732. Make the test cases in fast/wcss optionional only when WCSS is enabled.
  1733. https://bugs.webkit.org/show_bug.cgi?id=37848
  1734. * Scripts/old-run-webkit-tests:
  1735. * Scripts/webkitperl/features.pm:
  1736. 2010-05-05 Kent Tamura <tkent@chromium.org>
  1737. Reviewed by Eric Seidel.
  1738. [DRT/Chromium] Remove InitWebCoreSystemInterface() call
  1739. https://bugs.webkit.org/show_bug.cgi?id=38624
  1740. Chromium r45167 <http://src.chromium.org/viewvc/chrome?view=rev&revision=45167>
  1741. added InitWebCoreSystemInterface() to webkit/support/platform_support_mac.mm.
  1742. So we don't need to call it from DumpRenderTree.cpp anymore.
  1743. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
  1744. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  1745. (main): Remove InitWebCoreSystemInterface().
  1746. 2010-05-05 Dirk Pranke <dpranke@chromium.org>
  1747. Reviewed by Eric Seidel.
  1748. new-run-webkit-tests: clean up newline handling in printing
  1749. The new printing module seems to handle newlines somewhat
  1750. inconsistently, especially in --verbose mode. This change cleans up
  1751. the code to make things more consistent and adds a bunch of unit tests.
  1752. https://bugs.webkit.org/show_bug.cgi?id=38616
  1753. * Scripts/webkitpy/common/array_stream.py: Added.
  1754. * Scripts/webkitpy/common/array_stream_unittest.py: Added.
  1755. * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py:
  1756. * Scripts/webkitpy/layout_tests/layout_package/metered_stream_unittest.py: Added.
  1757. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  1758. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:
  1759. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  1760. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  1761. 2010-05-05 James Robinson <jamesr@chromium.org>
  1762. Reviewed by Adam Barth.
  1763. Ban the single letter 'l' as an identifier name
  1764. http://trac.webkit.org/changeset/58844
  1765. Add a lint rule to ban the single letter 'l' as an identifier name
  1766. since it is very easy to confuse with the numeral '1', especially
  1767. in code like WebCore/css/CSSHelper.cpp.
  1768. See http://trac.webkit.org/changeset/58844 as an example of a bug
  1769. caused by confusing short variable names.
  1770. * Scripts/webkitpy/style/checkers/cpp.py:
  1771. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  1772. 2010-05-04 Eric Seidel <eric@webkit.org>
  1773. Reviewed by Shinichiro Hamaji.
  1774. PrettyPatch.pretty_diff("") should not hang
  1775. https://bugs.webkit.org/show_bug.cgi?id=38552
  1776. Also found a bug in PrettyPatch.pretty_diff where it would
  1777. hang when passed "" as input.
  1778. I suspect there may be bugs in prettify.rb (or our use there-of)
  1779. where it can hang, which would then cause the testing thread to hang.
  1780. * Scripts/webkitpy/common/prettypatch.py:
  1781. - Don't hang when passed ""
  1782. * Scripts/webkitpy/common/prettypatch_unittest.py:
  1783. - Test that we don't hang when passed ""
  1784. * Scripts/webkitpy/layout_tests/port/base.py:
  1785. - Add a FIXME that we should share code with prettypatch.rb
  1786. 2010-05-04 Dirk Pranke <dpranke@chromium.org>
  1787. Reviewed by Eric Seidel.
  1788. new-run-webkit-tests: turn off threading on the Chromium Mac port until
  1789. we can stabilize the port more and figure out why it is hanging so
  1790. frequently.
  1791. https://bugs.webkit.org/show_bug.cgi?id=38553
  1792. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  1793. - override default_child_processes() and log a warning
  1794. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  1795. - fix a typo that caused us to print a method object instead of the
  1796. value the method object returns in the case where there is only
  1797. one child process.
  1798. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  1799. - Add unit tests for the output of run_webkit_tests - in this case,
  1800. the handling of --child-processes and --print config
  1801. 2010-05-04 Timothy Hatcher <timothy@apple.com>
  1802. Fix the find command in extract-localizable-strings so skip
  1803. directories are correctly skipped and header files are searched.
  1804. https://bugs.webkit.org/show_bug.cgi?id=38545
  1805. rdar://problem/7941295
  1806. Reviewed by Darin Adler.
  1807. * Scripts/extract-localizable-strings: Append -o after each -prune
  1808. so -and isn't implied. Surround all the -name arguments so they get
  1809. an implied -print action. Removed check for "icu". Skip any header that
  1810. ends in LocalizableStrings.h, so SafariLocalizableStrings.h is skipped.
  1811. * Scripts/update-webkit-localizable-strings: Add the two icu directories
  1812. to the skip list.
  1813. 2010-05-04 Jesus Sanchez-Palencia <jesus@webkit.org>
  1814. Reviewed by Eric Seidel.
  1815. Wrong documentation on 'webkit-patch help land'.
  1816. https://bugs.webkit.org/show_bug.cgi?id=37871
  1817. Small fix on the help documentation for webkit-patch
  1818. land.
  1819. * Scripts/webkitpy/tool/commands/download.py:
  1820. 2010-05-04 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  1821. Reviewed by Kenneth Rohde Christiansen.
  1822. [Qt] QWebPage viewMode property
  1823. https://bugs.webkit.org/show_bug.cgi?id=38119
  1824. Rename the property from wrt_viewMode to _q_viewMode.
  1825. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  1826. (LayoutTestController::setViewModeMediaFeature):
  1827. 2010-05-04 Jochen Eisinger <jochen@chromium.org>
  1828. Reviewed by Jeremy Orlow.
  1829. Fix typo in run_webkit_tests.py: s/_print\./_printer./
  1830. https://bugs.webkit.org/show_bug.cgi?id=38515
  1831. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  1832. 2010-05-04 Chris Jerdonek <cjerdonek@webkit.org>
  1833. Reviewed by Eric Seidel.
  1834. This revision completes the terminology change from "processor" to
  1835. "checker" for the CarriageReturnProcessor, CppProcessor,
  1836. PythonProcessor, and TextProcessor classes, etc.
  1837. https://bugs.webkit.org/show_bug.cgi?id=38262
  1838. The word "processor" currently has two uses in our code. This
  1839. revision renames the lower-level use to "checker" and preserves the
  1840. word "processor" for higher-level, more general uses. This
  1841. revision also makes whatever other name changes that logically
  1842. followed from this change.
  1843. * Scripts/check-webkit-style:
  1844. - Updated references to PatchChecker.
  1845. * Scripts/webkitpy/style/checker.py:
  1846. - Renamed the StyleCheckerConfiguration class to
  1847. StyleProcessorConfiguration.
  1848. - Renamed the ProcessorDispatcher class to CheckerDispatcher, and
  1849. made similar changes for the class's method names.
  1850. - Renamed the PatchChecker class to PatchReader.
  1851. - Updated the file as necessary to accommodate the other class
  1852. renames in this patch.
  1853. * Scripts/webkitpy/style/checker_unittest.py:
  1854. - Updated the unit test code as necessary.
  1855. * Scripts/webkitpy/style/checkers/common.py:
  1856. - Renamed the CarriageReturnProcessor class to CarriageReturnChecker,
  1857. and changed its process() method to check().
  1858. * Scripts/webkitpy/style/checkers/common_unittest.py:
  1859. - Updated the unit test code as necessary.
  1860. * Scripts/webkitpy/style/checkers/cpp.py:
  1861. - Renamed the CppProcessor class to CppChecker, and renamed its
  1862. process() method to check().
  1863. * Scripts/webkitpy/style/checkers/cpp_unittest.py:
  1864. - Updated the unit test code as necessary.
  1865. * Scripts/webkitpy/style/checkers/python.py:
  1866. - Renamed the PythonProcessor class to PythonChecker, and renamed
  1867. its process() method to check().
  1868. * Scripts/webkitpy/style/checkers/python_unittest.py:
  1869. - Updated the unit test code as necessary.
  1870. * Scripts/webkitpy/style/checkers/text.py:
  1871. - Renamed the TextProcessor class to TextChecker, and renamed
  1872. its process() method to check().
  1873. * Scripts/webkitpy/style/checkers/text_unittest.py:
  1874. - Updated the unit test code as necessary.
  1875. * Scripts/webkitpy/style/error_handlers.py:
  1876. - Updated the code as necessary.
  1877. * Scripts/webkitpy/style/error_handlers_unittest.py:
  1878. - Updated the unit test code as necessary.
  1879. 2010-05-04 Chris Jerdonek <cjerdonek@webkit.org>
  1880. Reviewed by Eric Seidel.
  1881. Adjusted svn-apply and -unapply to accept git diffs generated
  1882. using the --no-prefix flag.
  1883. https://bugs.webkit.org/show_bug.cgi?id=32438
  1884. * Scripts/VCSUtils.pm:
  1885. - Loosened the regular expression for the "diff --git" line to
  1886. match when the --no-prefix flag is used with "git diff".
  1887. - Also refactored the code parsing the first line so that the
  1888. script exits with an error message if the first line cannot
  1889. be parsed.
  1890. * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
  1891. - Added a unit test case for the --no-prefix case.
  1892. 2010-05-04 Chris Jerdonek <cjerdonek@webkit.org>
  1893. Reviewed by Daniel Bates.
  1894. Changed VCSUtils.pm's parseDiffHeader() to call the new
  1895. parseGitDiffHeader() method.
  1896. https://bugs.webkit.org/show_bug.cgi?id=38454
  1897. This revision makes more progress towards adding executable-bit
  1898. support to svn-apply and svn-unapply. It also makes more progress
  1899. towards refactoring the code into a more maintainable form.
  1900. * Scripts/VCSUtils.pm:
  1901. - Removed gitdiff2svndiff().
  1902. - Removed the Git-specific logic from parseDiffHeader() and
  1903. renamed it parseSvnDiffHeader().
  1904. - Added a new parseDiffHeader() subroutine which calls
  1905. parseSvnDiffHeader() or parseGitDiffHeader() depending on
  1906. the format of the first header line.
  1907. * Scripts/webkitperl/VCSUtils_unittest/gitdiff2svndiff.pl: Removed.
  1908. * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
  1909. - Removed most of the test cases since these cases are now
  1910. covered by the unit tests for parseSvnDiffHeader() and
  1911. parseGitDiffHeader().
  1912. * Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl: Added.
  1913. - Copied the SVN unit tests from parseDiffHeader.pl and updated
  1914. them as necessary.
  1915. 2010-05-03 Eric Seidel <eric@webkit.org>
  1916. Reviewed by Adam Barth.
  1917. Builders should run the perl and python unit tests on every commit
  1918. https://bugs.webkit.org/show_bug.cgi?id=37976
  1919. The unit tests take a few seconds to run, so they should not
  1920. have any noticable effect on builder speed.
  1921. We're running the tests everywhere but Tiger as Tiger's
  1922. Python version is ancient.
  1923. I would have rather have detected the python version of the
  1924. slave but I couldn't find any API to do that, and I didn't want
  1925. to hack version detection into test-webkitpy (at least not yet).
  1926. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  1927. 2010-05-03 Chris Jerdonek <cjerdonek@webkit.org>
  1928. Reviewed by Adam Barth.
  1929. Fixed a recent REGRESSION that caused svn-apply and -unapply to
  1930. skip over changes to the first file in a diff if leading junk was
  1931. present (like in an e-mail diff) and if the --force option was used.
  1932. https://bugs.webkit.org/show_bug.cgi?id=38507
  1933. * Scripts/svn-apply:
  1934. - Removed the bit of code at the beginning of the patch()
  1935. subroutine that checks for the "Index:" line at the beginning
  1936. of a file diff (since the parsePatch() subroutine already
  1937. checks this).
  1938. * Scripts/svn-unapply:
  1939. - Removed the bit of code at the beginning of the patch()
  1940. subroutine that checks for the "Index:" line at the beginning
  1941. of a file diff (since the parsePatch() subroutine already
  1942. checks this).
  1943. 2010-05-03 Chris Jerdonek <cjerdonek@webkit.org>
  1944. Unreviewed.
  1945. Adjusted the ChangeLog entry below for r58732 (bug 35804) to reflect
  1946. the fact that the change will not become active until the patch
  1947. for bug 38454 lands.
  1948. 2010-05-03 Chris Jerdonek <cjerdonek@webkit.org>
  1949. Reviewed by Eric Seidel.
  1950. Added code for svn-apply and -unapply to display an instructive error
  1951. message if the --binary flag is left off the "git diff" command
  1952. for diffs containing binary file differences.
  1953. https://bugs.webkit.org/show_bug.cgi?id=35804
  1954. This change will become active when parseDiffHeader() is modified
  1955. to call parseGitDiffHeader (see bug 38454).
  1956. * Scripts/VCSUtils.pm:
  1957. - Adjusted parseDiffHeader() to exit with an appropriate error message
  1958. if it encounters a line of the form "Binary files <path1> and
  1959. <path2> differ".
  1960. 2010-05-03 Dirk Pranke <dpranke@chromium.org>
  1961. Unreviewed, build fix.
  1962. new-run-webkit-tests: r58728 broke the buildbot logic for parsing the
  1963. output of the log; specifying --verbose should basically be equivalent
  1964. to --print everything, but instead it was equivalent to not specifying
  1965. --print and getting the default set. Now, --verbose acts as if
  1966. --print everything was implicitly specified as the default (you can
  1967. still override it if you specify both; this is a somewhat debatable
  1968. call).
  1969. https://bugs.webkit.org/show_bug.cgi?id=38504
  1970. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  1971. 2010-05-03 Dirk Pranke <dpranke@chromium.org>
  1972. Unreviewed, build fix.
  1973. new-run-webkit-tests: Fix minor precedence bug introduced in r58728 where we printed
  1974. "-\n" 78 times instead of "-" 78 times followed by a single "\n".
  1975. * Scripts/webkitpy/layout_tests/layout_package/printing.py:
  1976. 2010-05-03 Dirk Pranke <dpranke@chromium.org>
  1977. Reviewed by Eric Seidel.
  1978. new-run-webkit-tests: refactor a large chunk of the printing/logging
  1979. code out of run-webkit-tests py (almost 300 lines out of 1900).
  1980. This change also renames --log to --print (to be slightly more
  1981. descriptive). I've also added better help messages for printing.
  1982. The new code has unit tests!
  1983. There is still more code to be moved, but this patch is big enough as
  1984. it is. Namely, still to move are the printing of the actual results
  1985. and the timing statistics, which should move another 300-400 lines
  1986. out of the file.
  1987. Notable changes to run_webkit_tests.py beyond code simply moving:
  1988. * MeteredStream is now hidden under the new printing.Printer class.
  1989. All the references to self._meter now point to self._printer.
  1990. * All logging configuration is done in printing.configure_logging()
  1991. * Instead of using write() lambdas to control what is and isn't
  1992. printed, we use separate methods on the printer object. This will
  1993. make it easier to grep which print statements are printed
  1994. under protection of each flag.
  1995. * The print_results flag I added a few revs back to suppress printing
  1996. in the unit tests has been replaced with --print nothing.
  1997. * The ResultSummary class now stores the entire TestResult for each
  1998. test, not just the actual result type.
  1999. * summarize_unexpected_results() got moved from a method on TestRunner
  2000. to a standalone function. This should move into a separate file
  2001. along with the ResultSummary class and the TestResult class
  2002. * The --trace option added recently has been replaced by
  2003. '--print trace-everything' and '--print trace-unexpected'
  2004. https://bugs.webkit.org/show_bug.cgi?id=38018
  2005. * Scripts/new-run-webkit-tests:
  2006. - update to new entry points in run_webkit_tests.py
  2007. * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py:
  2008. - fix a minor nit where we were printing an empty string where
  2009. we didn't need to
  2010. * Scripts/webkitpy/layout_tests/layout_package/printing.py: Added.
  2011. * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py: Added
  2012. * Scripts/webkitpy/layout_tests/port/test.py:
  2013. - implement relative_test_filename() and expected_filename() so
  2014. we can test printing unexpected results in a platform-neutral
  2015. way
  2016. * Scripts/webkitpy/run_webkit_test.py:
  2017. - move a lot of the printing code into printing.py
  2018. - change the signatures of the exported entry points for easier
  2019. unit testing
  2020. * Scripts/webkitpy/run_webkit_tests_unittest.py:
  2021. - update w/ changes to run_webkit_tests entry points.
  2022. 2010-05-03 Kevin Watters <kevinwatters@gmail.com>
  2023. Reviewed by Kevin Ollivier.
  2024. [wx] Build and use Mac's ComplexTextController to support complex text in wx.
  2025. https://bugs.webkit.org/show_bug.cgi?id=38482
  2026. * wx/build/settings.py:
  2027. 2010-05-03 Abhishek Arya <inferno@chromium.org>
  2028. Reviewed by Adam Barth.
  2029. Add support for controlling clipboard access from javascript.
  2030. Clipboard access from javascript is enabled in test framework.
  2031. https://bugs.webkit.org/show_bug.cgi?id=27751
  2032. * DumpRenderTree/LayoutTestController.cpp:
  2033. (setJavaScriptCanAccessClipboardCallback):
  2034. (LayoutTestController::staticFunctions):
  2035. * DumpRenderTree/LayoutTestController.h:
  2036. * DumpRenderTree/chromium/LayoutTestController.cpp:
  2037. (LayoutTestController::LayoutTestController):
  2038. (LayoutTestController::setJavaScriptCanAccessClipboard):
  2039. (LayoutTestController::overridePreference):
  2040. * DumpRenderTree/chromium/LayoutTestController.h:
  2041. * DumpRenderTree/chromium/TestShell.cpp:
  2042. (TestShell::resetWebSettings):
  2043. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  2044. (resetDefaultsToConsistentValues):
  2045. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  2046. (LayoutTestController::setJavaScriptCanAccessClipboard):
  2047. * DumpRenderTree/mac/DumpRenderTree.mm:
  2048. (resetDefaultsToConsistentValues):
  2049. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  2050. (LayoutTestController::setJavaScriptCanAccessClipboard):
  2051. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  2052. (WebCore::WebPage::WebPage):
  2053. (WebCore::WebPage::resetSettings):
  2054. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  2055. (LayoutTestController::setJavaScriptCanAccessClipboard):
  2056. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  2057. * DumpRenderTree/win/DumpRenderTree.cpp:
  2058. (resetDefaultsToConsistentValues):
  2059. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  2060. (LayoutTestController::setJavaScriptCanAccessClipboard):
  2061. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  2062. (LayoutTestController::setJavaScriptCanAccessClipboard):
  2063. 2010-05-03 Anders Carlsson <andersca@apple.com>
  2064. Reviewed by Adam Roben.
  2065. Maui MiniBrowser: Add an option to show/hide the web view
  2066. https://bugs.webkit.org/show_bug.cgi?id=38486
  2067. * MiniBrowser/win/BrowserWindow.cpp:
  2068. (BrowserWindow::createWindow):
  2069. Set the background brush to something other than null.
  2070. (BrowserWindow::onCommand):
  2071. Show and hide the web view accordingly.
  2072. * MiniBrowser/win/MiniBrowser.rc:
  2073. * MiniBrowser/win/resource.h:
  2074. Add new menu item.
  2075. 2010-05-03 Chris Jerdonek <cjerdonek@webkit.org>
  2076. Reviewed by Daniel Bates.
  2077. Added a parseGitDiffHeader() subroutine to VCSUtils.pm that
  2078. parses any changes to the executable bit in a Git diff.
  2079. https://bugs.webkit.org/show_bug.cgi?id=38425
  2080. This revision is more preparation towards adding "executable bit"
  2081. support to svn-apply and svn-unapply. No code is going "live" in
  2082. this change except for the new unit tests in test-webkitperl.
  2083. * Scripts/VCSUtils.pm:
  2084. - Added isExecutable() to determine whether a file mode has the
  2085. executable bit set or not.
  2086. - Added parseGitDiffHeader() to parse the header of a Git diff.
  2087. * Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl: Added.
  2088. - Added unit tests for parseGitDiffHeader().
  2089. 2010-05-03 Daniel Bates <dbates@rim.com>
  2090. Reviewed by Chris Jerdonek.
  2091. https://bugs.webkit.org/show_bug.cgi?id=38447
  2092. Refactor the unit tests in VCSUtils_unittest/parseDiff.pl to use
  2093. Test::More::is_deeply like we do in VCSUtils_unittest/parseDiffHeader.pl.
  2094. * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
  2095. 2010-05-02 Chris Jerdonek <cjerdonek@webkit.org>
  2096. Unreviewed.
  2097. Corrected a file path in the ChangeLog entry for r58663 (bug 38319) below.
  2098. 2010-05-02 Chris Jerdonek <cjerdonek@webkit.org>
  2099. Reviewed by Eric Seidel.
  2100. https://bugs.webkit.org/show_bug.cgi?id=38319
  2101. * Scripts/VCSUtils.pm:
  2102. - In parseDiffHeader()--
  2103. - Added an "scmFormat" hash key to the return value to represent
  2104. whether the diff is Git or SVN formatted.
  2105. - Adjusted the code so the value of "copiedFromPath" will
  2106. be undef rather than "does not exist" if the file was not
  2107. copied.
  2108. * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
  2109. - Added a FIXME to refactor these unit tests to use is_deeply().
  2110. * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
  2111. - Updated the unit tests to test the "scmFormat" value.
  2112. - Simplified the unit tests by refactoring them to use is_deeply().
  2113. 2010-05-01 Daniel Bates <dbates@rim.com>
  2114. Reviewed by Chris Jerdonek.
  2115. https://bugs.webkit.org/show_bug.cgi?id=38423
  2116. Adds infrastructure to change the file mode of a file using
  2117. the appropriate SCM-specific routines.
  2118. No functionality was changed, so no new tests.
  2119. * Scripts/VCSUtils.pm: Added subroutines scmToggleExecutableBit,
  2120. scmAddExecutableBit, and scmRemoveExecutableBit.
  2121. * Scripts/svn-apply: Check for the hash key executableBitDelta
  2122. and toggle the executable bit.
  2123. * Scripts/svn-unapply: Ditto.
  2124. 2010-04-30 Chris Marrin <cmarrin@apple.com>
  2125. Reviewed by Simon Fraser.
  2126. Enabled accelerated compositing in DRT for Windows
  2127. https://bugs.webkit.org/show_bug.cgi?id=38404
  2128. * DumpRenderTree/win/DumpRenderTree.cpp:
  2129. (main):
  2130. 2010-04-30 Anders Carlsson <andersca@apple.com>
  2131. Try to fix GTK+ build.
  2132. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  2133. (webkit_test_plugin_new_stream):
  2134. 2010-04-30 Anders Carlsson <andersca@apple.com>
  2135. Fix build.
  2136. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  2137. 2010-04-30 Anders Carlsson <andersca@apple.com>
  2138. Reviewed by Timothy Hatcher.
  2139. Next step towards fixing
  2140. https://bugs.webkit.org/show_bug.cgi?id=20784
  2141. move npapi.h to C99 integer types
  2142. Use the C99 types everywhere. The "old" types are still around but will be removed
  2143. in a subsequent commit.
  2144. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  2145. (int32VariantToIdentifier):
  2146. (doubleVariantToIdentifier):
  2147. (testIdentifierToInt):
  2148. (testGetIntIdentifier):
  2149. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  2150. (NPP_New):
  2151. (NPP_NewStream):
  2152. (NPP_WriteReady):
  2153. (NPP_Write):
  2154. (NPP_HandleEvent):
  2155. * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
  2156. (NPP_New):
  2157. (NPP_NewStream):
  2158. (NPP_WriteReady):
  2159. (NPP_Write):
  2160. (NPP_HandleEvent):
  2161. 2010-04-30 Steve Block <steveblock@google.com>
  2162. Reviewed by Jeremy Orlow.
  2163. Changed Steve Block from committer to reviewer.
  2164. * Scripts/webkitpy/common/config/committers.py:
  2165. 2010-04-28 Ojan Vafai <ojan@chromium.org>
  2166. Reviewed by Eric Seidel.
  2167. webkit-patch doesn't work if a git repo is tracking multiple svn repos
  2168. https://bugs.webkit.org/show_bug.cgi?id=38290
  2169. Getting the tests to pass required getting our SVN repo to more closely
  2170. match the real svn.webkit.org repo by having a trunk directory.
  2171. That involved adding an extra commit at the beginning and thus changing
  2172. all the commit numbers in the tests.
  2173. * Scripts/webkitpy/common/checkout/scm.py:
  2174. 2010-04-29 Eric Seidel <eric@webkit.org>
  2175. Reviewed by Adam Barth.
  2176. new-run-webkit-tests can deadlock with Chromium's TestShell
  2177. https://bugs.webkit.org/show_bug.cgi?id=38298
  2178. Fix _write_command_and_read_line to never send unicode() to
  2179. test_shell, instead to always encode as utf-8. This was causing
  2180. random hangs because if test_shell ever encounters a \0 in the
  2181. stream it can deadlock with NRWT.
  2182. There is still a deadlock bug to fix in NRWT/test_shell design, however
  2183. this fix should make the deadlock occur less often.
  2184. * Scripts/webkitpy/layout_tests/port/chromium.py:
  2185. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  2186. 2010-04-29 Chris Jerdonek <cjerdonek@webkit.org>
  2187. Reviewed by Eric Seidel.
  2188. Refactored svn-apply and svn-unapply to use the new
  2189. parsePatch() subroutine.
  2190. https://bugs.webkit.org/show_bug.cgi?id=34033
  2191. * Scripts/VCSUtils.pm:
  2192. - Consolidated %diffHash documentation.
  2193. - Added prepareParsedPatch().
  2194. * Scripts/svn-apply:
  2195. - Replaced main while loop with calls to parsePatch() and
  2196. prepareParsedPatch().
  2197. * Scripts/svn-unapply:
  2198. - Replaced main while loop with calls to parsePatch() and
  2199. prepareParsedPatch().
  2200. * Scripts/test-webkitperl:
  2201. - Changed to render relative test paths rather than absolute
  2202. test paths.
  2203. * Scripts/webkitperl/VCSUtils_unittest/prepareParsedPatch.pl: Added.
  2204. - Added unit tests for prepareParsedPatch().
  2205. 2010-04-28 Chris Jerdonek <cjerdonek@webkit.org>
  2206. Reviewed by Eric Seidel.
  2207. Added to VCSUtils's parseDiffHeader() support for binary patches.
  2208. https://bugs.webkit.org/show_bug.cgi?id=38094
  2209. The parseDiffHeader() function is part of new patch-parsing code
  2210. for svn-apply and svn-unapply that will go live in a subsequent
  2211. revision.
  2212. * Scripts/VCSUtils.pm:
  2213. - Added logic to parseDiffHeader() to recognize the ending of
  2214. the header portion of a binary diff.
  2215. * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
  2216. - Added unit test cases for SVN and Git binary diffs.
  2217. 2010-04-28 Eric Seidel <eric@webkit.org>
  2218. Reviewed by David Levin.
  2219. Document that subprocess.poll/wait are not threadsafe
  2220. https://bugs.webkit.org/show_bug.cgi?id=38289
  2221. * Scripts/webkitpy/common/system/executive.py:
  2222. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  2223. * Scripts/webkitpy/layout_tests/port/chromium.py:
  2224. * Scripts/webkitpy/layout_tests/port/http_server.py:
  2225. * Scripts/webkitpy/layout_tests/port/server_process.py:
  2226. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  2227. 2010-04-28 Chris Jerdonek <cjerdonek@webkit.org>
  2228. Reviewed by Daniel Bates.
  2229. Removed the dividing line (i.e. "====...") logic from the code
  2230. called by svn-apply and svn-unapply.
  2231. https://bugs.webkit.org/show_bug.cgi?id=38093
  2232. The dividing line logic is unnecessary. Removing it simplifies the
  2233. code and makes some subsequent changes easier.
  2234. * Scripts/VCSUtils.pm:
  2235. - Removed the logic in gitdiff2svndiff() to convert the git
  2236. "index" line to an SVN dividing line.
  2237. - Adjusted the logic similarly in parseDiffHeader().
  2238. * Scripts/webkitperl/VCSUtils_unittest/gitdiff2svndiff.pl:
  2239. - Updated the unit tests as necessary.
  2240. * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
  2241. - Updated the unit tests as necessary.
  2242. - Corrected an error in the unit tests whereby all elements
  2243. of an array were referencing the same element rather than
  2244. distinct elements -- causing unit test failures to be masked.
  2245. * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
  2246. - Updated the unit tests as necessary.
  2247. - Made the same unit test correction as above for parseDiff.pl.
  2248. 2010-04-28 Evan Stade <estade@chromium.org>
  2249. Unreviewed.
  2250. * Scripts/webkitpy/common/config/committers.py: adding myself as a committer
  2251. 2010-04-28 Sam Weinig <sam@webkit.org>
  2252. Reviewed by Mark Rowe.
  2253. Add MiniBrowser to the lists of modules to build and only build it on
  2254. SnowLeopard and later.
  2255. * Makefile:
  2256. * MiniBrowser/Makefile:
  2257. 2010-04-28 Sam Weinig <sam@webkit.org>
  2258. Reviewed by Mark Rowe.
  2259. Make running MiniBrowser.app without explicitly setting DYLD_FRAMEWORK_PATH.
  2260. * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
  2261. * MiniBrowser/mac/make-launchable.sh: Added.
  2262. 2010-04-28 Eric Seidel <eric@webkit.org>
  2263. Reviewed by David Levin.
  2264. Audit all uses of subprocess in webkitpy
  2265. https://bugs.webkit.org/show_bug.cgi?id=38284
  2266. After further discussions with Jeffrey Yasskin
  2267. about http://bugs.python.org/issue2320
  2268. and related issues of using subprocess from
  2269. multiple threads, I have learned that subprocess
  2270. is known to be non-threadsafe through recent
  2271. Python 2.7 builds.
  2272. I'm attempting to lessen our exposure to these
  2273. subprocess bugs by auditing each use of subprocess
  2274. in webkitpy. I did not find any unsafe calls
  2275. in my audit, but I did remove numerous unneeded
  2276. import subprocess lines.
  2277. * Scripts/webkitpy/common/checkout/api.py:
  2278. * Scripts/webkitpy/common/net/bugzilla.py:
  2279. * Scripts/webkitpy/common/system/deprecated_logging_unittest.py:
  2280. * Scripts/webkitpy/common/system/user.py:
  2281. * Scripts/webkitpy/layout_tests/port/base.py:
  2282. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  2283. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  2284. * Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py: Added.
  2285. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  2286. * Scripts/webkitpy/layout_tests/port/gtk.py:
  2287. * Scripts/webkitpy/layout_tests/port/mac.py:
  2288. * Scripts/webkitpy/layout_tests/port/qt.py:
  2289. * Scripts/webkitpy/layout_tests/port/webkit.py:
  2290. * Scripts/webkitpy/layout_tests/port/win.py:
  2291. 2010-04-28 Darin Adler <darin@apple.com>
  2292. Ignore a directory the Python tools creates.
  2293. * Scripts/webkitpy/style: Modified property svn:ignore.
  2294. 2010-04-28 Darin Adler <darin@apple.com>
  2295. * Scripts/extract-localizable-strings: Fix minor mistake in
  2296. argument checking.
  2297. 2010-04-28 Luiz Agostini <luiz.agostini@openbossa.org>
  2298. Reviewed by Kenneth Rohde Christiansen.
  2299. [Qt] QWebPage viewMode property
  2300. https://bugs.webkit.org/show_bug.cgi?id=38119
  2301. Replacing method qt_wrt_setViewMode by wrt_viewMode property.
  2302. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  2303. (LayoutTestController::setViewModeMediaFeature):
  2304. 2010-04-28 Chris Jerdonek <cjerdonek@webkit.org>
  2305. Reviewed by Shinichiro Hamaji.
  2306. Adjusted check-webkit-style so that files with file type NONE
  2307. are automatically skipped without warning.
  2308. https://bugs.webkit.org/show_bug.cgi?id=38197
  2309. This change simplifies configuring which files to skip. It also
  2310. addresses an issue whereby check-webkit-style was unintentionally
  2311. checking .vcproj files for carriage returns.
  2312. * Scripts/webkitpy/style/checker.py:
  2313. - Moved the C++, Python, and text file extensions to new
  2314. module-level configuration variables.
  2315. - Removed .pyc from the _SKIPPED_FILES_WITHOUT_WARNING configuration
  2316. variable.
  2317. - Changed the numeric values of the FileType enum so that
  2318. FileType.NONE evaluates to False.
  2319. - For ProcessorDispatcher.should_skip_without_warning():
  2320. - Changed the method to return True for FileType.NONE files.
  2321. - Made ChangeLog files an exception to getting skipped.
  2322. - Changed the StyleProcessor.process() method to raise an
  2323. exception if given a file path that should not be processed.
  2324. * Scripts/webkitpy/style/checker_unittest.py:
  2325. - Updated the unit tests and added more test cases as necessary.
  2326. 2010-04-28 Eric Seidel <eric@webkit.org>
  2327. Reviewed by Jeremy Orlow.
  2328. webkitpy: ScriptError('Failed to run "[u\'taskkill.exe\', u\'/f\', u\'/im\', u\'httpd.exe\']" exit_code: 128',)
  2329. https://bugs.webkit.org/show_bug.cgi?id=38248
  2330. The previous code did not check the return code of taskkill.
  2331. When I moved that callsite from using subprocess.call to
  2332. Executive.run_command having a non-zero return code became an error.
  2333. In this change I've centralized our killall handling in executive,
  2334. and added tests for it to make sure it works.
  2335. Currently kill_process and kill_all swallow exceptions in the cases
  2336. where the process(es) to be killed do(es) not exist.
  2337. * Scripts/webkitpy/common/system/executive.py:
  2338. * Scripts/webkitpy/common/system/executive_unittest.py:
  2339. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  2340. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  2341. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  2342. * Scripts/webkitpy/layout_tests/port/gtk.py:
  2343. * Scripts/webkitpy/layout_tests/port/mac.py:
  2344. * Scripts/webkitpy/layout_tests/port/qt.py:
  2345. * Scripts/webkitpy/layout_tests/port/win.py:
  2346. 2010-04-28 Eric Seidel <eric@webkit.org>
  2347. Reviewed by Shinichiro Hamaji.
  2348. wdiff_text throws ScriptError because wdiff returns non-zero when files differ
  2349. https://bugs.webkit.org/show_bug.cgi?id=38246
  2350. wdiff returns 0 when files are the same, 1 when they differ.
  2351. run_command by default raises ScriptError if the return code is non-zero.
  2352. Fixed this by adding a custom error handler which only raises if the
  2353. return code is not 1.
  2354. I broke up the huge wdiff_text() method into little pieces
  2355. for easier unit testing. There is only one functional change here
  2356. and that is the addition of the custom error handler.
  2357. * Scripts/webkitpy/layout_tests/port/base.py:
  2358. * Scripts/webkitpy/layout_tests/port/base_unittest.py:
  2359. 2010-04-28 Fumitoshi Ukai <ukai@chromium.org>
  2360. Unreviewed build fix.
  2361. * DumpRenderTree/chromium/TestShell.cpp:
  2362. (TestShell::dumpImage): format '%u' expects type 'unsigned int', but argument 2 has type 'size_t'.
  2363. * DumpRenderTree/chromium/WebViewHost.cpp:
  2364. (WebViewHost::willSendRequest): too few arguments for format.
  2365. 2010-04-27 Shinichiro Hamaji <hamaji@chromium.org>
  2366. Reviewed by Darin Adler and Eric Seidel.
  2367. Add layoutTestController.setPrinting()
  2368. https://bugs.webkit.org/show_bug.cgi?id=37203
  2369. * DumpRenderTree/LayoutTestController.cpp:
  2370. (LayoutTestController::LayoutTestController):
  2371. (setPrintingCallback):
  2372. (LayoutTestController::staticFunctions):
  2373. * DumpRenderTree/LayoutTestController.h:
  2374. (LayoutTestController::isPrinting):
  2375. (LayoutTestController::setIsPrinting):
  2376. * DumpRenderTree/mac/DumpRenderTree.mm:
  2377. (dump):
  2378. 2010-04-27 Michael Nordman <michaeln@google.com>
  2379. Reviewed by Dmitry Titov.
  2380. [Chromium] Add two things to the webkit API to support appcaches in workers.
  2381. 1) WebURLRequest TargetTypes for worker and shared worker main resources.
  2382. 2) Factory method on class WebCommonWorkerClient to
  2383. createApplicationCacheHost() for the associated worker.
  2384. https://bugs.webkit.org/show_bug.cgi?id=38147
  2385. * DumpRenderTree/chromium/TestWebWorker.h add a stub impl of the factory method
  2386. (TestWebWorker::createApplicationCacheHost):
  2387. 2010-04-27 Adam Barth <abarth@webkit.org>
  2388. Reviewed by Eric Seidel.
  2389. run-bindings-tests doesn't work in an SVN checkout
  2390. https://bugs.webkit.org/show_bug.cgi?id=38225
  2391. Previously detect_scm_system needed an absolute path for SVN. Now we
  2392. accept a relative path.
  2393. * Scripts/webkitpy/common/checkout/scm.py:
  2394. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  2395. 2010-04-27 Sam Weinig <sam@webkit.org>
  2396. Reviewed by Stephanie Lewis.
  2397. Always build WebKit2 when building on SnowLeopard and later.
  2398. * Scripts/build-webkit:
  2399. 2010-04-27 Sam Weinig <sam@webkit.org>
  2400. Reviewed by Maciej Stachowiak.
  2401. Fix for https://bugs.webkit.org/show_bug.cgi?id=38238
  2402. Allow both WebKit and WebKit2 to link to the same WebCore.framework
  2403. * Scripts/build-webkit: Remove the UMBRELLA_LDFLAGS override when building
  2404. WebCore for WebKit2, it is no longer necessary.
  2405. 2010-04-27 James Robinson <jamesr@chromium.org>
  2406. Reviewed by David Levin.
  2407. Fix a typo in chromium.py that causes NRWT to fail in --verbose
  2408. mode in a Chromium checkout.
  2409. https://bugs.webkit.org/show_bug.cgi?id=38234
  2410. * Scripts/webkitpy/layout_tests/port/chromium.py:
  2411. 2010-04-27 Darin Fisher <darin@chromium.org>
  2412. Reviewed by Dimitri Glazkov.
  2413. [Chromium] Remove deprecated form of didChangeLocationWithinPage
  2414. https://bugs.webkit.org/show_bug.cgi?id=38178
  2415. Switch over to implementing didNavigateWithinPage.
  2416. * DumpRenderTree/chromium/WebViewHost.cpp:
  2417. (TestWebViewDelegate::didNavigateWithinPage):
  2418. (WebViewHost::didChangeLocationWithinPage):
  2419. * DumpRenderTree/chromium/WebViewHost.h:
  2420. 2010-04-27 Evan Martin <evan@chromium.org>
  2421. Unreviewed.
  2422. Adding myself to commmitters list.
  2423. * Scripts/webkitpy/common/config/committers.py:
  2424. 2010-04-27 Adam Barth <abarth@webkit.org>
  2425. Reviewed by Darin Adler.
  2426. run-bindings-tests should use --reset-results instead of --overwrite
  2427. https://bugs.webkit.org/show_bug.cgi?id=38200
  2428. As requested by Ojan.
  2429. * Scripts/run-bindings-tests:
  2430. 2010-04-27 Adam Barth <abarth@webkit.org>
  2431. Reviewed by Eric Seidel.
  2432. REGRESSION(r58261): webkit-patch edit-changelogs is broken
  2433. https://bugs.webkit.org/show_bug.cgi?id=38204
  2434. In 58261, we added code to abstract step that interrogates the squash
  2435. and git_commit options, but it doesn't declare that it uses those
  2436. options. That means any command that doesn't happen to declare those
  2437. options might be broken if it uses the cached_lookup mechanism.
  2438. * Scripts/webkitpy/tool/steps/abstractstep.py:
  2439. * Scripts/webkitpy/tool/steps/applypatch.py:
  2440. * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py:
  2441. * Scripts/webkitpy/tool/steps/build.py:
  2442. * Scripts/webkitpy/tool/steps/checkstyle.py:
  2443. * Scripts/webkitpy/tool/steps/cleanworkingdirectory.py:
  2444. * Scripts/webkitpy/tool/steps/closebug.py:
  2445. * Scripts/webkitpy/tool/steps/closebugforlanddiff.py:
  2446. * Scripts/webkitpy/tool/steps/commit.py:
  2447. * Scripts/webkitpy/tool/steps/confirmdiff.py:
  2448. * Scripts/webkitpy/tool/steps/createbug.py:
  2449. * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py:
  2450. * Scripts/webkitpy/tool/steps/ensurelocalcommitifneeded.py:
  2451. * Scripts/webkitpy/tool/steps/obsoletepatches.py:
  2452. * Scripts/webkitpy/tool/steps/postcodereview.py:
  2453. * Scripts/webkitpy/tool/steps/postdiff.py:
  2454. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  2455. * Scripts/webkitpy/tool/steps/runtests.py:
  2456. * Scripts/webkitpy/tool/steps/update.py:
  2457. * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
  2458. * Scripts/webkitpy/tool/steps/validatereviewer.py:
  2459. 2010-04-27 Eric Seidel <eric@webkit.org>
  2460. Reviewed by David Levin.
  2461. prepare-ChangeLog --bug fails on some CYGWIN installs due to missing certs
  2462. https://bugs.webkit.org/show_bug.cgi?id=38212
  2463. * Scripts/prepare-ChangeLog:
  2464. - Pass --insecure to curl to work around CYGWIN missing certs.
  2465. 2010-04-27 Sam Weinig <sam@webkit.org>
  2466. Rubber-stamped by Beth Dakin.
  2467. It is no longer necessary to set ENABLE_EXPERIMENTAL_SINGLE_VIEW_MODE
  2468. or WTF_USE_WEB_THREAD. Remove them.
  2469. * Scripts/build-webkit:
  2470. 2010-04-27 Chris Jerdonek <cjerdonek@webkit.org>
  2471. Reviewed by David Levin.
  2472. Changed Chris Jerdonek from committer to reviewer.
  2473. * Scripts/webkitpy/common/config/committers.py:
  2474. 2010-04-27 Benjamin Poulain <benjamin.poulain@nokia.com>
  2475. Reviewed by Kenneth Rohde Christiansen.
  2476. [Qt] QGraphicsWebView: Arrow keys scroll the graphics-view instead of the web-page
  2477. https://bugs.webkit.org/show_bug.cgi?id=35834
  2478. The scene should always have the size of the web view otherwhise it is
  2479. possible to scroll the graphics view.
  2480. * QtLauncher/webview.cpp:
  2481. (WebViewGraphicsBased::resizeEvent):
  2482. 2010-04-27 Diego Gonzalez <diegohcg@webkit.org>
  2483. Unreviewed.
  2484. Adding myself to committers.py
  2485. * Scripts/webkitpy/common/config/committers.py:
  2486. 2010-04-27 Eric Seidel <eric@webkit.org>
  2487. Reviewed by Adam Barth.
  2488. [chromium] new-run-webkit-tests hangs on Chromium Bots (OS X and Linux)
  2489. https://bugs.webkit.org/show_bug.cgi?id=37987
  2490. After further research, I believe the hang is caused by:
  2491. http://bugs.python.org/issue2320
  2492. Basically Popen() is not reentrant.
  2493. The workaround is to pass close_fds=True to Popen() on Mac/Linux.
  2494. I fixed our main Popen wrapper "Executive.run_command" to use close_fds=True
  2495. when appropriate.
  2496. I audited all places we call Popen() and either moved them to run_command
  2497. or left a FIXME that they are not thread safe. A few places I added the
  2498. close_fds workaround there and left an explanitory note.
  2499. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  2500. - Added note that this Popen use is not threadsafe.
  2501. * Scripts/webkitpy/common/system/executive.py:
  2502. - Fixed our Executive.run_* to workaround python bug 2320.
  2503. * Scripts/webkitpy/common/system/user.py:
  2504. _ Added note that this Popen use is not threadsafe.
  2505. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: ditto.
  2506. * Scripts/webkitpy/layout_tests/port/apache_http_server.py: ditto.
  2507. * Scripts/webkitpy/layout_tests/port/base.py:
  2508. - Change wdiff back to using run_command now that we believe it
  2509. to be threadsafe.
  2510. * Scripts/webkitpy/layout_tests/port/chromium.py:
  2511. - Fix to use Executive in places.
  2512. - Pass self._executive down to the Driver for easier unit testing.
  2513. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  2514. - Re-factor to use a _kill_all method.
  2515. - Made the _kill_all method use run_command to be threadsafe.
  2516. * Scripts/webkitpy/layout_tests/port/http_server.py:
  2517. - Add FIXME about using Executive.
  2518. * Scripts/webkitpy/layout_tests/port/server_process.py:
  2519. - Use Executive to be threadsafe.
  2520. * Scripts/webkitpy/layout_tests/port/webkit.py:
  2521. - Pass self._executive down to the Driver.
  2522. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  2523. - Add note about Popen not being threadsafe.
  2524. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  2525. - Move one caller to run_command add notes about moving others.
  2526. 2010-04-27 Adam Barth <abarth@webkit.org>
  2527. Reviewed by Maciej Stachowiak.
  2528. REGRESSION(r58261): webkit-patch upload does not work in an SVN checkout.
  2529. https://bugs.webkit.org/show_bug.cgi?id=38186
  2530. Unfortunately, we don't have a good way of testing this change because
  2531. our test coverage of the scm.py API is poor...
  2532. * Scripts/webkitpy/common/checkout/scm.py:
  2533. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  2534. 2010-04-26 Eric Seidel <eric@webkit.org>
  2535. Reviewed by Adam Barth.
  2536. Remove unused code from text_diff.py
  2537. https://bugs.webkit.org/show_bug.cgi?id=38170
  2538. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  2539. - Remove is_render_tree_dump which appears unused.
  2540. 2010-04-26 Adam Barth <abarth@webkit.org>
  2541. Reviewed by Eric Seidel.
  2542. webkit-patch pretty-diff is broken
  2543. https://bugs.webkit.org/show_bug.cgi?id=38172
  2544. We need to register for these options because they're used when we look
  2545. up the diff.
  2546. * Scripts/webkitpy/tool/steps/confirmdiff.py:
  2547. 2010-04-26 Adam Barth <abarth@webkit.org>
  2548. Reviewed by Eric Seidel.
  2549. Add ObjC and GObject to run-bindings-test
  2550. https://bugs.webkit.org/show_bug.cgi?id=38168
  2551. * Scripts/run-bindings-tests:
  2552. 2010-04-26 Adam Barth <abarth@webkit.org>
  2553. Reviewed by Eric Seidel.
  2554. Add testing infrastructure for JSC bindings generator
  2555. https://bugs.webkit.org/show_bug.cgi?id=38167
  2556. Add support for testing more than one bindings. Also, converted the
  2557. script to PEP8 style.
  2558. * Scripts/run-bindings-tests:
  2559. 2010-04-26 Eric Seidel <eric@webkit.org>
  2560. Reviewed by Adam Barth.
  2561. Refactor results.html generation out into a new method and test it
  2562. https://bugs.webkit.org/show_bug.cgi?id=38164
  2563. Hopefully this results in no change in functionality.
  2564. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  2565. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  2566. 2010-04-26 Adam Barth <abarth@webkit.org>
  2567. Unreviewed, rolling out r58265.
  2568. http://trac.webkit.org/changeset/58265
  2569. https://bugs.webkit.org/show_bug.cgi?id=38021
  2570. This change prevents me from uploading patches. It also breaks sheriff-bot.
  2571. * Scripts/webkitpy/tool/steps/options.py:
  2572. 2010-04-26 Eric Seidel <eric@webkit.org>
  2573. Reviewed by Adam Barth.
  2574. [chromium] new-run-webkit-tests hangs on Chromium Bots (OS X and Linux)
  2575. https://bugs.webkit.org/show_bug.cgi?id=37987
  2576. Rolled out:
  2577. http://trac.webkit.org/changeset/58062
  2578. http://trac.webkit.org/changeset/58060
  2579. http://trac.webkit.org/changeset/58059
  2580. http://trac.webkit.org/changeset/58055
  2581. http://trac.webkit.org/changeset/58054
  2582. and parts of:
  2583. http://trac.webkit.org/changeset/58050
  2584. I also wrote some new comments and a tiny amount of new
  2585. code to help make ChromiumDriver.run_test easier to read.
  2586. In order to unit-test my new code, I had to change ChromiumDriver
  2587. to not automatically start itself when created. That ended up
  2588. being a lot of plumbing, but is hopefully easier to understand now.
  2589. There are no tests for the (restored) wdiff code. wdiff does not
  2590. exist on all systems, so for now we will assume it worked since
  2591. it is just old code being reverted.
  2592. * Scripts/webkitpy/layout_tests/driver_test.py:
  2593. - Use create_driver instead of start_driver, and be sure to call .stop()
  2594. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  2595. - Use create_driver instead of start_driver
  2596. * Scripts/webkitpy/layout_tests/port/base.py:
  2597. - Added a comment to explain that diffs are binary files.
  2598. - Various patch reverts relating to wdiff
  2599. - Add Driver._command_wrapper to share code between WebKitDriver and ChromiumDriver.
  2600. - Made _command_wrapper use shlex.split to get rid of the FIXME.
  2601. * Scripts/webkitpy/layout_tests/port/base_unittest.py: Added.
  2602. - test the new _command_wrapper
  2603. * Scripts/webkitpy/layout_tests/port/chromium.py:
  2604. - Use _command_wrapper to get rid of a bunch of ugly code.
  2605. - Make __init__ stop auto-starting.
  2606. - Rename create_driver to start_driver.
  2607. - Added _write_command_and_read_line to make it possible to
  2608. put a FIXME next to read_line() w/o having to put it in two places.
  2609. - Moved test_shell command building into _test_shell_command and tested it.
  2610. - Fix comments to say test_shell since ChromiumDriver is test_shell only.
  2611. * Scripts/webkitpy/layout_tests/port/chromium_unittest.py: Added.
  2612. - Test the new test_shell_command method.
  2613. * Scripts/webkitpy/layout_tests/port/dryrun.py:
  2614. - Rename create_driver to start_driver.
  2615. * Scripts/webkitpy/layout_tests/port/test.py:
  2616. - Rename create_driver to start_driver.
  2617. * Scripts/webkitpy/layout_tests/port/webkit.py:
  2618. - Rename create_driver to start_driver.
  2619. - Treat output as binary arrays.
  2620. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  2621. - Treat diff files as binary.
  2622. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  2623. - Treat diff files as binary.
  2624. 2010-04-26 Adam Barth <abarth@webkit.org>
  2625. Reviewed by Eric Seidel.
  2626. Move bindings test directory into the scripts directory
  2627. https://bugs.webkit.org/show_bug.cgi?id=38161
  2628. Change script to point to the new location of these data files.
  2629. * Scripts/run-bindings-tests:
  2630. 2010-04-26 Adam Barth <abarth@webkit.org>
  2631. Unreviewed. Mark run-bindings-tests executable so we can execute it.
  2632. * Scripts/run-bindings-tests:
  2633. 2010-04-26 Tony Chang <tony@chromium.org>
  2634. Reviewed by David Levin.
  2635. [chromium] build-webkit --chromium should build release by default
  2636. https://bugs.webkit.org/show_bug.cgi?id=38028
  2637. * Scripts/build-dumprendertree: Also should build release by default
  2638. * Scripts/build-webkit: Make sure to pass command line args through
  2639. * Scripts/webkitdirs.pm: Build the right configuration
  2640. 2010-04-26 Ojan Vafai <ojan@chromium.org>
  2641. Reviewed by Eric Seidel.
  2642. complete rietveld bugzilla integration
  2643. https://bugs.webkit.org/show_bug.cgi?id=38021
  2644. Makes --fancy-review the default. All this means is that the patch will
  2645. be uploaded to rietveld in addition to bugs.webkit.org.
  2646. * Scripts/webkitpy/tool/steps/options.py:
  2647. 2010-04-26 Chris Jerdonek <cjerdonek@webkit.org>
  2648. Reviewed by Shinichiro Hamaji.
  2649. For check-webkit-style, renamed the style/processors/ directory
  2650. to style/checkers/.
  2651. https://bugs.webkit.org/show_bug.cgi?id=38122
  2652. * Scripts/webkitpy/style/checker.py:
  2653. - Updated import statements.
  2654. * Scripts/webkitpy/style/checker_unittest.py:
  2655. - Updated import statements.
  2656. * Scripts/webkitpy/style/checkers: Copied from WebKitTools/Scripts/webkitpy/style/processors.
  2657. * Scripts/webkitpy/style/processors: Removed.
  2658. * Scripts/webkitpy/style/processors/__init__.py: Removed.
  2659. * Scripts/webkitpy/style/processors/common.py: Removed.
  2660. * Scripts/webkitpy/style/processors/common_unittest.py: Removed.
  2661. * Scripts/webkitpy/style/processors/cpp.py: Removed.
  2662. * Scripts/webkitpy/style/processors/cpp_unittest.py: Removed.
  2663. * Scripts/webkitpy/style/processors/python.py: Removed.
  2664. * Scripts/webkitpy/style/processors/python_unittest.py: Removed.
  2665. * Scripts/webkitpy/style/processors/python_unittest_input.py: Removed.
  2666. * Scripts/webkitpy/style/processors/text.py: Removed.
  2667. * Scripts/webkitpy/style/processors/text_unittest.py: Removed.
  2668. 2010-04-06 Ojan Vafai <ojan@chromium.org>
  2669. Reviewed by Adam Barth.
  2670. Include git commits in the diff for webkit-patch upload/land.
  2671. https://bugs.webkit.org/show_bug.cgi?id=36394
  2672. Adds --squash, --no-squash and --git-commit.
  2673. --git-commit will use a specific local commit for land/upload.
  2674. If a commit-range is specified, then that range is treated as
  2675. a single squashed commit.
  2676. --squash will squash all local changes including working copy changes
  2677. into a single patch.
  2678. --no-squash is the legacy behavior (upload only considers the working copy,
  2679. land commits the working copy and then each local commit separately to SVN)
  2680. If neither is specified, then an informative error is raised if there is
  2681. more than one local commit or when there are local commit(s) and working
  2682. copy changes.
  2683. If the webkit-patch.squash git config parameter is set, then
  2684. that will be respected instead of raising an error.
  2685. * Scripts/check-webkit-style:
  2686. * Scripts/webkitpy/common/checkout/api.py:
  2687. * Scripts/webkitpy/common/checkout/api_unittest.py:
  2688. * Scripts/webkitpy/common/checkout/scm.py:
  2689. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  2690. * Scripts/webkitpy/style/optparser.py:
  2691. --git-since is removed and --git-commit no longer implies commit_id..
  2692. Instead, it treats that individual commit, but also supports commit ranges
  2693. (e.g. commit_id..) as arguments.
  2694. * Scripts/webkitpy/style/optparser_unittest.py:
  2695. * Scripts/webkitpy/style_references.py:
  2696. * Scripts/webkitpy/tool/commands/download.py:
  2697. * Scripts/webkitpy/tool/commands/upload.py:
  2698. * Scripts/webkitpy/tool/main.py:
  2699. * Scripts/webkitpy/tool/mocktool.py:
  2700. * Scripts/webkitpy/tool/steps/abstractstep.py:
  2701. * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py:
  2702. * Scripts/webkitpy/tool/steps/checkstyle.py:
  2703. * Scripts/webkitpy/tool/steps/commit.py:
  2704. * Scripts/webkitpy/tool/steps/options.py:
  2705. * Scripts/webkitpy/tool/steps/postdiff.py:
  2706. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  2707. * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
  2708. * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
  2709. * Scripts/webkitpy/tool/steps/validatereviewer.py:
  2710. 2010-04-26 Chris Jerdonek <cjerdonek@webkit.org>
  2711. Reviewed by Shinichiro Hamaji.
  2712. Deleted the StyleChecker-related classes that are no longer
  2713. being used.
  2714. https://bugs.webkit.org/show_bug.cgi?id=38118
  2715. * Scripts/webkitpy/style/checker.py:
  2716. - Deleted the DeprecatedStyleChecker class.
  2717. * Scripts/webkitpy/style/checker_unittest.py:
  2718. - Deleted the StyleCheckerTest, StyleCheckerCheckFileBase,
  2719. StyleCheckerCheckFileTest, and StyleCheckerCheckPathsTest classes.
  2720. 2010-04-26 Chris Jerdonek <cjerdonek@webkit.org>
  2721. Reviewed by Shinichiro Hamaji.
  2722. Changed the StyleChecker class to use the new TextFileReader class.
  2723. https://bugs.webkit.org/show_bug.cgi?id=37066
  2724. This revision separates the code responsible for reading and iterating
  2725. over text files from the rest of check-webkit-style.
  2726. * Scripts/check-webkit-style:
  2727. - Changed the script to use the new StyleProcessor and
  2728. TextFileReader classes instead of the StyleChecker class.
  2729. * Scripts/webkitpy/style/checker.py:
  2730. - Added a FIXME to rename many of uses of the word "processor" to
  2731. "checker". We did this to clarify the difference between
  2732. ProcessorBase instances passed to the TextFileReader and
  2733. classes that process and check lines for style.
  2734. - Added a FIXME to remove FileType.NONE as a possible return value
  2735. of ProcessorDispatcher._file_type(). This will better consolidate
  2736. the logic of which files should be skipped.
  2737. - Added a FIXME to delete the StyleChecker class.
  2738. - Added the StyleProcessor class which implements ProcessorBase.
  2739. This class is responsible for processing lines to check style
  2740. (but not for reading files). For each file, this class creates
  2741. creates both a carriage-return checker and a format-specific
  2742. style checker (e.g. one of C++, Python, etc).
  2743. - Updated the PatchChecker class to use a TextFileReader instance
  2744. instead of a StyleChecker.
  2745. * Scripts/webkitpy/style/checker_unittest.py:
  2746. - Added the StyleProcessor_EndToEndTest class to do "end-to-end"
  2747. tests of the StyleProcessor class.
  2748. - Added the StyleProcessor_CodeCoverageTest to test the
  2749. StyleProcessor class with more complete code coverage.
  2750. Unlike the StyleProcessor_EndToEndTest class, this class makes
  2751. heavy use of mock parameters.
  2752. - Added FIXME's to delete the unit test classes that are no
  2753. longer needed.
  2754. - Updated the PatchCheckerTest class to use a MockTextFileReader
  2755. instead of a MockStyleChecker.
  2756. * Scripts/webkitpy/style/filereader.py:
  2757. - Updated the TextFileReader class to use the preferred logic
  2758. of checking file existence at the beginning of the process_file()
  2759. method instead of in the except block, per
  2760. https://bugs.webkit.org/show_bug.cgi?id=37122
  2761. * Scripts/webkitpy/style/filereader_unittest.py:
  2762. - In the TextFileReaderTest class:
  2763. - Moved the test_process_file__should_not_process() method.
  2764. - Added a test_process_file__file_stdin() method to test
  2765. the file path "-".
  2766. 2010-04-20 Robert Hogan <robert@webkit.org>
  2767. Reviewed by Simon Hausmann.
  2768. [Qt] Add more support for textInputController
  2769. Add support for selectedRange(), setMarkedText(), insertText(),
  2770. and firstRectForCharacterRange().
  2771. Unskip tests:
  2772. fast/forms/input-maxlength-ime-preedit.html
  2773. fast/forms/input-maxlength-ime-completed.html
  2774. fast/text/international/thai-cursor-position.html
  2775. fast/events/ime-composition-events-001.html
  2776. editing/selection/5825350-1.html
  2777. editing/selection/5825350-2.html
  2778. editing/selection/mixed-editability-10.html
  2779. https://bugs.webkit.org/show_bug.cgi?id=35702
  2780. * DumpRenderTree/qt/TextInputControllerQt.cpp:
  2781. (TextInputController::setMarkedText):
  2782. (TextInputController::insertText):
  2783. (TextInputController::selectedRange):
  2784. (TextInputController::firstRectForCharacterRange):
  2785. * DumpRenderTree/qt/TextInputControllerQt.h:
  2786. 2010-04-23 Eric Seidel <eric@webkit.org>
  2787. Reviewed by Adam Barth.
  2788. check-webkit-style complains about non-utf8 data in layout test result
  2789. https://bugs.webkit.org/show_bug.cgi?id=38027
  2790. The problem was we were assuming patch files/diff output as utf-8.
  2791. Turns out they're not. We have to treat them as binary data because
  2792. a single patch may have multiple text files in it with conflicting encodings!
  2793. * Scripts/webkitpy/common/checkout/api.py:
  2794. - contents_at_revision returns a byte array, so decode it to unicode
  2795. before passing it to parse_latest_entry_from_file
  2796. * Scripts/webkitpy/common/checkout/api_unittest.py:
  2797. - Update our mock mock_contents_at_revision to match the encoding
  2798. semantics of the real one.
  2799. * Scripts/webkitpy/common/checkout/scm.py:
  2800. - Be careful not to decode output which may contain file contents
  2801. (like diff, cat or show) as the encoding for that content is unknown.
  2802. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  2803. - Update our tests to use both latin1 and utf-8 encoded data.
  2804. * Scripts/webkitpy/common/net/bugzilla.py:
  2805. - _fill_attachment_form should not assume unicode data. Callers
  2806. may wish to attach other types of files to bugs.
  2807. * Scripts/webkitpy/common/prettypatch.py:
  2808. - Diffs are byte arrays, deal with them as such.
  2809. * Scripts/webkitpy/common/prettypatch_unittest.py:
  2810. - Test to make sure we handle diffs with multiple conflicting encodings.
  2811. * Scripts/webkitpy/common/system/executive_unittest.py:
  2812. - Make sure that our unicode support does not break our
  2813. byte array input support for run_command.
  2814. 2010-04-23 Sam Weinig <sam@webkit.org>
  2815. Reviewed by David Levin.
  2816. Fix for https://bugs.webkit.org/show_bug.cgi?id=38060
  2817. Split up Threading.h
  2818. Add necessary forwarding headers.
  2819. * DumpRenderTree/ForwardingHeaders/wtf/Atomics.h: Added.
  2820. * DumpRenderTree/ForwardingHeaders/wtf/ThreadSafeShared.h: Added.
  2821. * DumpRenderTree/ForwardingHeaders/wtf/ThreadingPrimitives.h: Added.
  2822. 2010-04-23 Xiaomei Ji <xji@chromium.org>
  2823. No need to review.
  2824. Add xji as committer.
  2825. * Scripts/webkitpy/common/config/committers.py:
  2826. 2010-04-23 Kevin Ollivier <kevino@theolliviers.com>
  2827. [wx] Build fix, add platform stub for new LayoutTestController method.
  2828. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  2829. (LayoutTestController::markerTextForListItem):
  2830. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  2831. Reviewed by Adam Barth.
  2832. new-run-webkit-tests: add a "--retry-failures" flag and a
  2833. "--no-retry-failures" flag (the former is the default). Also, rename
  2834. "--print-unexpected-results" and "--retry-unexpected-results" to
  2835. "--print-last-failures" and "--retry-last-failures" because the
  2836. retry flag was confusing. The new flag names aren't great, but
  2837. hopefully they're less confusing.
  2838. https://bugs.webkit.org/show_bug.cgi?id=37838
  2839. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  2840. 2010-04-22 Sam Weinig <sam@webkit.org>
  2841. Reviewed by Anders Carlsson.
  2842. Fix for https://bugs.webkit.org/show_bug.cgi?id=38022
  2843. Move isMainThread predicate function to MainThread.h
  2844. Added forwarding header for MainThread.h
  2845. * DumpRenderTree/ForwardingHeaders/wtf/MainThread.h: Added.
  2846. 2010-04-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  2847. Reviewed by Kenneth Rohde Christiansen.
  2848. [Qt] Disable Netscape plugin support for minimal configuration
  2849. https://bugs.webkit.org/show_bug.cgi?id=38026
  2850. Pass the minimal configuration option to Qt build system
  2851. as part of the CONFIG variable.
  2852. * Scripts/build-webkit:
  2853. 2010-04-22 Fumitoshi Ukai <ukai@chromium.org>
  2854. Unreviewed fix.
  2855. * Scripts/webkitpy/layout_tests/port/websocket_server.py: fix NameError: global name 'f' is not defined.
  2856. 2010-04-22 James Robinson <jamesr@chromium.org>
  2857. Reviewed by Adam Barth.
  2858. Revert 58077 and follow-ups. It's broken.
  2859. https://bugs.webkit.org/show_bug.cgi?id=37664
  2860. * Scripts/new-run-webkit-httpd:
  2861. * Scripts/new-run-webkit-websocketserver:
  2862. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  2863. * Scripts/webkitpy/layout_tests/port/http_server.py:
  2864. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  2865. 2010-04-22 Yaar Schnitman <yaar@chromium.org>
  2866. Reviewed by Adam Barth.
  2867. Integrate v8 testing utility with webkit tests
  2868. https://bugs.webkit.org/show_bug.cgi?id=37731
  2869. * Scripts/run-bindings-tests: Added.
  2870. 2010-04-22 Eric Seidel <eric@webkit.org>
  2871. Reviewed by Dimitri Glazkov.
  2872. new-run-webkit-tests --verbose shows ever-increasing #EOF lines
  2873. https://bugs.webkit.org/show_bug.cgi?id=37794
  2874. * Scripts/webkitpy/layout_tests/port/webkit.py:
  2875. - Remove the assert() since our ServerProcess code does not always
  2876. seem to be reading the full stderr output (or we're not waiting for it to).
  2877. 2010-04-22 Eric Seidel <eric@webkit.org>
  2878. Reviewed by Adam Barth.
  2879. Add code to help debug new-run-webkit-test hangs on the Chromium bots
  2880. https://bugs.webkit.org/show_bug.cgi?id=38011
  2881. I can see no reasonable way to test this change.
  2882. Stubbing out sys._current_frames() and traceback.extract_stack
  2883. seems folly. Dumping real data would have line number
  2884. (and possibly other call stack) variance between runs.
  2885. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  2886. - Add _dump_thread_states and _dump_thread_states_if_necessary
  2887. to have our main thread dump the states of all threads every
  2888. 60 seconds when running in verbose mode.
  2889. - Better document what is going on in our main loop.
  2890. 2010-04-22 Sam Weinig <sam@webkit.org>
  2891. Reviewed by Anders Carlsson.
  2892. Fix for https://bugs.webkit.org/show_bug.cgi?id=38002
  2893. Add rudimentary statistics gathering for WebKit2
  2894. * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj:
  2895. * MiniBrowser/mac/AppDelegate.h:
  2896. * MiniBrowser/mac/AppDelegate.m:
  2897. (-[BrowserAppDelegate init]):
  2898. (-[BrowserAppDelegate newWindow:]):
  2899. (-[BrowserAppDelegate getCurrentPageNamespace]):
  2900. (-[BrowserAppDelegate _setProcessModel:]):
  2901. (-[BrowserAppDelegate showStatisticsWindow:]):
  2902. (-[BrowserAppDelegate applicationWillTerminate:]):
  2903. * MiniBrowser/mac/BrowserStatisticsWindow.xib: Added.
  2904. * MiniBrowser/mac/BrowserStatisticsWindowController.h: Added.
  2905. * MiniBrowser/mac/BrowserStatisticsWindowController.m: Added.
  2906. (-[BrowserStatisticsWindowController initWithThreadedWKContextRef:processWKContextRef:]):
  2907. (-[BrowserStatisticsWindowController dealloc]):
  2908. (-[BrowserStatisticsWindowController windowDidLoad]):
  2909. (-[BrowserStatisticsWindowController refreshStatistics:]):
  2910. * MiniBrowser/mac/BrowserWindowController.h:
  2911. * MiniBrowser/mac/English.lproj/MainMenu.xib:
  2912. * MiniBrowser/mac/MiniBrowser_Prefix.pch:
  2913. 2010-04-22 Dave Moore <davemoore@chromium.org>
  2914. Reviewed by Dimitri Glazkov.
  2915. Add test support for icon changes.
  2916. https://bugs.webkit.org/show_bug.cgi?id=33812
  2917. * DumpRenderTree/LayoutTestController.cpp:
  2918. (LayoutTestController::LayoutTestController):
  2919. (dumpIconChangesCallback):
  2920. (LayoutTestController::staticFunctions):
  2921. * DumpRenderTree/LayoutTestController.h:
  2922. (LayoutTestController::dumpIconChanges):
  2923. (LayoutTestController::setDumpIconChanges):
  2924. * DumpRenderTree/win/FrameLoadDelegate.cpp:
  2925. (FrameLoadDelegate::didChangeIcons):
  2926. * DumpRenderTree/win/FrameLoadDelegate.h:
  2927. * WinLauncher/WinLauncher.h:
  2928. (WinLauncherWebHost::didChangeIcons):
  2929. 2010-04-22 Eric Seidel <eric@webkit.org>
  2930. Unreviewed. Script fix. Will ask dpranke to look tomorrow.
  2931. new-run-webkit-tests --verbose shows ever-increasing #EOF lines
  2932. https://bugs.webkit.org/show_bug.cgi?id=37794
  2933. The bots are seeing cases where .error is sometimes empty.
  2934. Lets make the code not crash in that case for now.
  2935. * Scripts/webkitpy/layout_tests/port/webkit.py:
  2936. 2010-04-22 Fumitoshi Ukai <ukai@chromium.org>
  2937. Unreviewed fix.
  2938. * Scripts/webkitpy/layout_tests/port/websocket_server.py: fix NameError: global name 'f' is not defined.
  2939. 2010-04-22 Fumitoshi Ukai <ukai@chromium.org>
  2940. Unreviewed fix.
  2941. * Scripts/new-run-webkit-websocketserver: PyWebSocket no longer takes keyword argument 'register_cygwin'.
  2942. 2010-04-22 Eric Seidel <eric@webkit.org>
  2943. Unreviewed. Restore the Leopard bots to using
  2944. old-run-webkit-tests for now.
  2945. * Scripts/run-webkit-tests:
  2946. 2010-04-22 Fumitoshi Ukai <ukai@chromium.org>
  2947. Unreviewed fix.
  2948. * Scripts/webkitpy/layout_tests/port/http_server.py: fix NameError: global name 'env' is not defined.
  2949. 2010-04-22 Fumitoshi Ukai <ukai@chromium.org>
  2950. Unreviewed fix.
  2951. * Scripts/webkitpy/layout_tests/port/websocket_server.py: fix NameError: global name 'env' is not defined.
  2952. 2010-04-22 Fumitoshi Ukai <ukai@chromium.org>
  2953. Reviewed by Adam Barth.
  2954. Chromium: Add --chromium option to new-run-webkit-websocketserver
  2955. https://bugs.webkit.org/show_bug.cgi?id=37664
  2956. Move cygwin setup logic in chromium_win.py.
  2957. * Scripts/new-run-webkit-httpd: remove register_cygwin parameter to pass http_server.
  2958. * Scripts/new-run-webkit-websocketserver: add --chromium flag
  2959. * Scripts/webkitpy/layout_tests/port/chromium_win.py: setup for cygwin
  2960. * Scripts/webkitpy/layout_tests/port/http_server.py: remove cygwin setup logic
  2961. * Scripts/webkitpy/layout_tests/port/websocket_server.py: remove cygwin setup logic
  2962. 2010-04-22 Eric Seidel <eric@webkit.org>
  2963. Reviewed by Adam Barth.
  2964. new-run-webkit-tests --verbose shows ever-increasing #EOF lines
  2965. https://bugs.webkit.org/show_bug.cgi?id=37794
  2966. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  2967. - Fix the log message to explain that this is stderr output, not test output.
  2968. * Scripts/webkitpy/layout_tests/port/webkit.py:
  2969. - Be sure to reset the server_process.error after reading (seems like the wrong
  2970. place to do this, but at least this fixes the bug and dpranke and I can talk
  2971. about better designs later).
  2972. - Also remove the #EOF from the stderr output before returning it.
  2973. 2010-04-22 Eric Seidel <eric@webkit.org>
  2974. Unreviewed. Fixing new-run-webkit-tests on the bots.
  2975. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  2976. - Fixing _compat_shim_option to take variable keyword args.
  2977. - Turns out that nargs + callback is ignored unless type is specified.
  2978. So I added the type so that the option was properly consumed.
  2979. This was why new-run-webkit-tests couldn't find any tests, it
  2980. was looking for them under "20" because that was the argument
  2981. which should have been consumed by --exit-after-n-failures.
  2982. 2010-04-22 Tony Chang <tony@chromium.org>
  2983. Not reviewed, build fix for chromium Windows.
  2984. [chromium] fix ImageDiff compile on windows
  2985. https://bugs.webkit.org/show_bug.cgi?id=37979
  2986. * DumpRenderTree/chromium/ImageDiff.cpp:
  2987. 2010-04-22 Adam Barth <abarth@webkit.org>
  2988. Unreviewed, rolling out r58069.
  2989. http://trac.webkit.org/changeset/58069
  2990. https://bugs.webkit.org/show_bug.cgi?id=27751
  2991. Broke compile on Windows.
  2992. * DumpRenderTree/LayoutTestController.cpp:
  2993. (LayoutTestController::staticFunctions):
  2994. * DumpRenderTree/LayoutTestController.h:
  2995. * DumpRenderTree/chromium/LayoutTestController.cpp:
  2996. (LayoutTestController::LayoutTestController):
  2997. (LayoutTestController::overridePreference):
  2998. * DumpRenderTree/chromium/LayoutTestController.h:
  2999. * DumpRenderTree/chromium/TestShell.cpp:
  3000. (TestShell::resetWebSettings):
  3001. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  3002. * DumpRenderTree/mac/DumpRenderTree.mm:
  3003. (resetDefaultsToConsistentValues):
  3004. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  3005. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  3006. (WebCore::WebPage::WebPage):
  3007. (WebCore::WebPage::resetSettings):
  3008. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  3009. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  3010. * DumpRenderTree/win/DumpRenderTree.cpp:
  3011. (resetDefaultsToConsistentValues):
  3012. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  3013. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  3014. 2010-04-22 Eric Seidel <eric@webkit.org>
  3015. Unreviewed. Just adding logging.
  3016. Adding logging to help debug why the Leopard Bot
  3017. can't find any tests to run.
  3018. * Scripts/webkitpy/layout_tests/layout_package/test_files.py:
  3019. * Scripts/webkitpy/layout_tests/port/base.py:
  3020. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  3021. - Make it a fatal error to have no tests to run.
  3022. 2010-04-22 Abhishek Arya <inferno@chromium.org>
  3023. Reviewed by Adam Barth.
  3024. Add support for controlling clipboard access from javascript.
  3025. Clipboard access from javascript is enabled in test framework.
  3026. https://bugs.webkit.org/show_bug.cgi?id=27751
  3027. * DumpRenderTree/LayoutTestController.cpp:
  3028. (setJavaScriptCanAccessClipboardCallback):
  3029. (LayoutTestController::staticFunctions):
  3030. * DumpRenderTree/LayoutTestController.h:
  3031. * DumpRenderTree/chromium/LayoutTestController.cpp:
  3032. (LayoutTestController::LayoutTestController):
  3033. (LayoutTestController::setJavaScriptCanAccessClipboard):
  3034. (LayoutTestController::overridePreference):
  3035. * DumpRenderTree/chromium/LayoutTestController.h:
  3036. * DumpRenderTree/chromium/TestShell.cpp:
  3037. (TestShell::resetWebSettings):
  3038. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  3039. (LayoutTestController::setJavaScriptCanAccessClipboard):
  3040. * DumpRenderTree/mac/DumpRenderTree.mm:
  3041. (resetDefaultsToConsistentValues):
  3042. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  3043. (LayoutTestController::setJavaScriptCanAccessClipboard):
  3044. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  3045. (WebCore::WebPage::WebPage):
  3046. (WebCore::WebPage::resetSettings):
  3047. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  3048. (LayoutTestController::setJavaScriptCanAccessClipboard):
  3049. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  3050. * DumpRenderTree/win/DumpRenderTree.cpp:
  3051. (resetDefaultsToConsistentValues):
  3052. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  3053. (LayoutTestController::setJavaScriptCanAccessClipboard):
  3054. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  3055. (LayoutTestController::setJavaScriptCanAccessClipboard):
  3056. 2010-04-21 Adam Barth <abarth@webkit.org>
  3057. Reviewed by Eric Seidel.
  3058. webkit-patch can't fetch attachments on security bugs
  3059. https://bugs.webkit.org/show_bug.cgi?id=37975
  3060. Instead of calling CURL, we just need to use our Mechanize object,
  3061. which understand bugs.webkit.org authentication.
  3062. * Scripts/webkitpy/common/checkout/api.py:
  3063. * Scripts/webkitpy/common/net/bugzilla.py:
  3064. 2010-04-21 Eric Seidel <eric@webkit.org>
  3065. Unreviewed. Temporary commit, will roll-out before morning.
  3066. Turning on new-run-webkit-tests for the Leopard build bot
  3067. for testing of the harness.
  3068. Users should not noctice (except for the results.html difference).
  3069. * Scripts/run-webkit-tests:
  3070. 2010-04-21 Eric Seidel <eric@webkit.org>
  3071. Unreviewed. Fix typo in my previous fix attempt.
  3072. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
  3073. https://bugs.webkit.org/show_bug.cgi?id=37765
  3074. More on-the-bot debugging, sigh. I wish I had a local build.
  3075. * Scripts/webkitpy/layout_tests/port/base.py:
  3076. 2010-04-21 Eric Seidel <eric@webkit.org>
  3077. Unreviewed. Fix typo in my previous fix attempt.
  3078. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
  3079. https://bugs.webkit.org/show_bug.cgi?id=37765
  3080. * Scripts/webkitpy/layout_tests/port/base.py:
  3081. - Add self. to class variable access.
  3082. 2010-04-21 Eric Seidel <eric@webkit.org>
  3083. Unreviewed. Another attempt to fix NRWT for chromium.
  3084. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
  3085. https://bugs.webkit.org/show_bug.cgi?id=37765
  3086. * Scripts/webkitpy/layout_tests/port/base.py:
  3087. - wdiff_text was returning a byte array instead of a
  3088. unicode string. The simple fix was to just decode
  3089. the result. However, seeing so much duplicated code
  3090. with Executive made me cry, so I re-wrote the function
  3091. to be more like pretty_patch_text and use run_command
  3092. (which already knows how to handle unicode).
  3093. 2010-04-21 Adam Barth <abarth@webkit.org>
  3094. Reviewed by Eric Seidel.
  3095. Windows tests buildbots are too slow to be core builders
  3096. https://bugs.webkit.org/show_bug.cgi?id=37970
  3097. It's 10:45. The Windows test bots are still hours behind. They're too
  3098. slow to be core builders. When they get fast, we can add them back.
  3099. * Scripts/webkitpy/common/net/buildbot.py:
  3100. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  3101. 2010-04-21 Eric Seidel <eric@webkit.org>
  3102. Unreviewed. Attempt one more time to fix NRWT for chromium.
  3103. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
  3104. https://bugs.webkit.org/show_bug.cgi?id=37765
  3105. I'm debugging in the blind because I don't have a chromium
  3106. build on this laptop.
  3107. * Scripts/webkitpy/layout_tests/port/chromium.py:
  3108. - Apply the previous fix to a second caller.
  3109. 2010-04-21 Eric Seidel <eric@webkit.org>
  3110. Unreviewed. Attempt one more time to fix NRWT for chromium.
  3111. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
  3112. https://bugs.webkit.org/show_bug.cgi?id=37765
  3113. * Scripts/webkitpy/layout_tests/port/chromium.py:
  3114. - Fix handling of test_shell output so that we always
  3115. decode it as utf-8.
  3116. Unlike DumpRenderTree test_shell does not ever return
  3117. pixel data. It spits out the pixel dumps in a separate
  3118. file, thus all output over stdout is utf-8 text.
  3119. 2010-04-21 Eric Seidel <eric@webkit.org>
  3120. Unreviewed. Attempt one more time to fix NRWT for chromium.
  3121. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
  3122. https://bugs.webkit.org/show_bug.cgi?id=37765
  3123. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  3124. - Pass encoding to _save_baseline_data and write_output_files
  3125. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  3126. - Make _save_baseline_data and write_output_files take an encoding.
  3127. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  3128. - Pass encoding to _save_baseline_data and write_output_files
  3129. 2010-04-21 No'am Rosenthal <noam.rosenthal@nokia.com>
  3130. Reviewed by Kenneth Rohde Christiansen.
  3131. [Qt] QtLauncher: make FPS measurement accurate
  3132. https://bugs.webkit.org/show_bug.cgi?id=37934
  3133. Instead of counting paints, which are not interchangeable with frames that
  3134. the user sees, we now set an arbitrary timer for FPS measurements. The idea is
  3135. that if the main thread is delayed for any reason, that timer would be delayed
  3136. as well.
  3137. * QtLauncher/QtLauncher.pro:
  3138. * QtLauncher/fpstimer.cpp: Added.
  3139. (FpsTimer::FpsTimer):
  3140. (FpsTimer::numFrames):
  3141. (FpsTimer::start):
  3142. (FpsTimer::stop):
  3143. (FpsTimer::timerEvent):
  3144. * QtLauncher/fpstimer.h: Added.
  3145. * QtLauncher/webview.cpp:
  3146. (WebViewGraphicsBased::setFrameRateMeasurementEnabled):
  3147. (WebViewGraphicsBased::updateFrameRate):
  3148. (WebViewGraphicsBased::paintEvent):
  3149. * QtLauncher/webview.h:
  3150. 2010-04-21 Eric Seidel <eric@webkit.org>
  3151. Unreviewed, just adding missing ":" in python file.
  3152. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
  3153. https://bugs.webkit.org/show_bug.cgi?id=37765
  3154. new-run-webkit-tests --chromium was borked.
  3155. * Scripts/webkitpy/layout_tests/port/chromium.py:
  3156. 2010-04-21 Eric Seidel <eric@webkit.org>
  3157. Reviewed by Adam Barth.
  3158. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
  3159. https://bugs.webkit.org/show_bug.cgi?id=37765
  3160. Third time is the charm. I've fixed all the
  3161. new-run-webkit-tests regressions from previous attempts.
  3162. I fixed the queue to not ignore Tor as a reviwer in r57531,
  3163. but instead it throws an exception every time his name is in a patch.
  3164. This fixes our Executive.run_command code to work around a Popen
  3165. bug http://bugs.python.org/issue5290 whereby python versions before 2.6
  3166. do not correctly handle unicode objects as input or output to
  3167. Popen.communicate.
  3168. Following the advice of:
  3169. http://farmdev.com/talks/unicode/
  3170. I have changed all of webkitpy to use unicode() objects as strings
  3171. instead of str objects (which in Python 3 are renamed "bytes").
  3172. String literals were left as "foo" instead of converting to u"foo"
  3173. as u"foo" is only required if the string has a non-ascii code point.
  3174. Python is smart about comparing str() and unicode() values and will
  3175. log an error to the console if the comparison is ever invalid.
  3176. Executive.run* now correctly accept and return unicode() objects.
  3177. I attempted to fix all the places that we call .write() to make sure we
  3178. encode any unicode() objects into utf-8.
  3179. I removed several uses of StringIO. StringIO should generally always be
  3180. passed a unicode() value.
  3181. Likewise I replaced most calls to open() with codecs.open().
  3182. codecs.open() matches Python 3 open semantics in requiring an encoding
  3183. parameter. Files opened with codecs.open() with a unicode-compatible
  3184. encoding will vend unicode() objects from their read() calls, like how
  3185. StringIO created with a unicode() object will do.
  3186. I also deployed "with" statements wider (now that the project has
  3187. settled on Python 2.5) to close a bunch of file descriptor leaks.
  3188. * Scripts/webkitpy/common/checkout/api_unittest.py:
  3189. - Read/write utf-8 files instead of ascii.
  3190. - Update the tests to use test for proper unicode() handling.
  3191. * Scripts/webkitpy/common/checkout/changelog.py:
  3192. - Document that parse_latest_entry_from_file expects
  3193. file-like objects which return unicode strings.
  3194. * Scripts/webkitpy/common/checkout/changelog_unittest.py:
  3195. - Use unicode() strings instead of str() byte arrays.
  3196. - Deploy "with" to close file descriptor leaks.
  3197. * Scripts/webkitpy/common/checkout/commitinfo.py:
  3198. - Remove unneeded import.
  3199. * Scripts/webkitpy/common/checkout/scm.py:
  3200. - Remove use of str().
  3201. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  3202. - Read/write utf-8 files and use unicode() strings in testing.
  3203. * Scripts/webkitpy/common/config/committers.py:
  3204. - Use \u instead of \x to make slightly clearer what we're doing.
  3205. * Scripts/webkitpy/common/net/bugzilla.py:
  3206. - Add a new _string_contents() method and explain why
  3207. we have to call unicode() on the result of soup.string
  3208. and why it's safe to do so w/o needing to pass a codec name.
  3209. - Remove the (unused) support for passing a file object to add_patch_to_bug().
  3210. * Scripts/webkitpy/common/net/buildbot.py:
  3211. - Use unicode() instead of str() when needing to coax a
  3212. NavigableString object into a unicode() object.
  3213. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  3214. - Add a test which contains a unicode builder name.
  3215. * Scripts/webkitpy/common/net/statusserver.py:
  3216. - Remove use of str()
  3217. * Scripts/webkitpy/common/prettypatch.py:
  3218. - Write out the patch file as utf-8.
  3219. * Scripts/webkitpy/common/system/autoinstall.py:
  3220. - Write out files with a explicit encodings.
  3221. - Deploy "with" to close file descriptor leaks.
  3222. * Scripts/webkitpy/common/system/deprecated_logging.py:
  3223. - Write out log files as utf-8.
  3224. * Scripts/webkitpy/common/system/executive.py:
  3225. - Make run* properly take and return unicode() objects.
  3226. - Cleaned up input handling in run_command a little by adding
  3227. a _compute_input() method which can return early instead of having
  3228. such a long/cluttered if-block.
  3229. * Scripts/webkitpy/common/system/executive_unittest.py:
  3230. - Added a unit test to make sure we don't break Tor again!
  3231. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  3232. - Write out the test list as utf-8.
  3233. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  3234. - Write out json files as utf-8.
  3235. * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
  3236. - Deploy "with" to close file descriptor leaks.
  3237. * Scripts/webkitpy/layout_tests/port/chromium.py: Add Executive.py FIXME.
  3238. * Scripts/webkitpy/layout_tests/port/chromium_linux.py: ditto.
  3239. * Scripts/webkitpy/layout_tests/port/chromium_mac.py: ditto.
  3240. * Scripts/webkitpy/layout_tests/port/gtk.py: ditto.
  3241. * Scripts/webkitpy/layout_tests/port/mac.py: ditto.
  3242. * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
  3243. - Make the skipped file parsing test unicode.
  3244. * Scripts/webkitpy/layout_tests/port/qt.py: Add Executive.py FIXME.
  3245. * Scripts/webkitpy/layout_tests/port/server_process.py: ditto.
  3246. * Scripts/webkitpy/layout_tests/port/webkit.py:
  3247. - Deploy "with" to close file descriptor leaks.
  3248. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  3249. - Make explicit the encodings of log files and pid files.
  3250. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  3251. - Make encodings explicit and deploy "with".
  3252. * Scripts/webkitpy/layout_tests/run_webkit_tests.py: ditto.
  3253. * Scripts/webkitpy/layout_tests/test_types/image_diff.py: ditto.
  3254. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: ditto.
  3255. * Scripts/webkitpy/layout_tests/test_types/text_diff.py: ditto.
  3256. * Scripts/webkitpy/style/filereader_unittest.py: ditto.
  3257. * Scripts/webkitpy/thirdparty/__init__.py: ditto.
  3258. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  3259. - Removed extra import.
  3260. * Scripts/webkitpy/tool/commands/queues.py:
  3261. - No need to map args to strings now that run_command does.
  3262. - Update test results to match args changes.
  3263. - Document our global argument hacks.
  3264. * Scripts/webkitpy/tool/commands/upload.py:
  3265. - Pass the diff directly to add_patch_to_bug instead of creating a StringIO file wrapper.
  3266. * Scripts/webkitpy/tool/mocktool.py:
  3267. - Rename add_patch_to_bug argument to match bugzilla.py
  3268. * Scripts/webkitpy/tool/steps/abstractstep.py:
  3269. - Executive.run_* now require lists instead of strings.
  3270. The lack of this change was what broke webkit-patch
  3271. for svn users the first time this was landed.
  3272. * Scripts/webkitpy/tool/steps/postdiff.py:
  3273. - Pass the diff directly to add_patch_to_bug instead of creating a StringIO file wrapper.
  3274. * Scripts/webkitpy/tool/steps/postdiffforcommit.py: ditto
  3275. * Scripts/webkitpy/tool/steps/postdiffforrevert.py: ditto
  3276. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  3277. - Fixed spurious logging seen when running test-webkitpy
  3278. 2010-04-21 Chris Fleizach <cfleizach@apple.com>
  3279. Reviewed by Alexey Proskuryakov.
  3280. aria-liveregion-notifications.html fails on leopard release bot
  3281. https://bugs.webkit.org/show_bug.cgi?id=37112
  3282. Change the way that notifications are listened for by forcing clients
  3283. to call a remove listener as well to match the add listener. DRT will
  3284. assert if those are not done in the correct order.
  3285. * DumpRenderTree/AccessibilityUIElement.cpp:
  3286. (removeNotificationListenerCallback):
  3287. (AccessibilityUIElement::getJSClass):
  3288. * DumpRenderTree/AccessibilityUIElement.h:
  3289. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  3290. (AccessibilityUIElement::removeNotificationListener):
  3291. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  3292. (-[AccessibilityNotificationHandler initWithPlatformElement:]):
  3293. (-[AccessibilityNotificationHandler dealloc]):
  3294. (-[AccessibilityNotificationHandler _notificationReceived:]):
  3295. (-[AccessibilityNotificationHandler setCallback:]):
  3296. (AccessibilityUIElement::AccessibilityUIElement):
  3297. (AccessibilityUIElement::~AccessibilityUIElement):
  3298. (AccessibilityUIElement::addNotificationListener):
  3299. (AccessibilityUIElement::removeNotificationListener):
  3300. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  3301. (AccessibilityUIElement::removeNotificationListener):
  3302. 2010-04-21 Anders Carlsson <andersca@apple.com>
  3303. Reviewed by Sam Weinig.
  3304. Add debug menu items to show/hide the Web View.
  3305. https://bugs.webkit.org/show_bug.cgi?id=37958
  3306. * MiniBrowser/mac/BrowserWindowController.h:
  3307. * MiniBrowser/mac/BrowserWindowController.m:
  3308. (-[BrowserWindowController showHideWebView:]):
  3309. (-[BrowserWindowController removeReinsertWebView:]):
  3310. (-[BrowserWindowController validateMenuItem:]):
  3311. * MiniBrowser/mac/English.lproj/MainMenu.xib:
  3312. 2010-04-21 Eric Seidel <eric@webkit.org>
  3313. Unreviewed. Rolling out unicode() changes as they broke NRWT for chromium.
  3314. Rolling out:
  3315. http://trac.webkit.org/changeset/58014
  3316. http://trac.webkit.org/changeset/58016
  3317. http://trac.webkit.org/changeset/58020
  3318. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbo
  3319. https://bugs.webkit.org/show_bug.cgi?id=37765
  3320. * Scripts/webkitpy/common/checkout/api_unittest.py:
  3321. * Scripts/webkitpy/common/checkout/changelog.py:
  3322. * Scripts/webkitpy/common/checkout/changelog_unittest.py:
  3323. * Scripts/webkitpy/common/checkout/commitinfo.py:
  3324. * Scripts/webkitpy/common/checkout/scm.py:
  3325. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  3326. * Scripts/webkitpy/common/config/committers.py:
  3327. * Scripts/webkitpy/common/net/bugzilla.py:
  3328. * Scripts/webkitpy/common/net/buildbot.py:
  3329. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  3330. * Scripts/webkitpy/common/net/statusserver.py:
  3331. * Scripts/webkitpy/common/prettypatch.py:
  3332. * Scripts/webkitpy/common/system/autoinstall.py:
  3333. * Scripts/webkitpy/common/system/deprecated_logging.py:
  3334. * Scripts/webkitpy/common/system/executive.py:
  3335. * Scripts/webkitpy/common/system/executive_unittest.py:
  3336. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  3337. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  3338. * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
  3339. * Scripts/webkitpy/layout_tests/port/chromium.py:
  3340. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  3341. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  3342. * Scripts/webkitpy/layout_tests/port/gtk.py:
  3343. * Scripts/webkitpy/layout_tests/port/mac.py:
  3344. * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
  3345. * Scripts/webkitpy/layout_tests/port/qt.py:
  3346. * Scripts/webkitpy/layout_tests/port/server_process.py:
  3347. * Scripts/webkitpy/layout_tests/port/webkit.py:
  3348. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  3349. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  3350. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  3351. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  3352. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  3353. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  3354. * Scripts/webkitpy/style/filereader_unittest.py:
  3355. * Scripts/webkitpy/thirdparty/__init__.py:
  3356. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  3357. * Scripts/webkitpy/tool/commands/queues.py:
  3358. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  3359. * Scripts/webkitpy/tool/commands/upload.py:
  3360. * Scripts/webkitpy/tool/mocktool.py:
  3361. * Scripts/webkitpy/tool/steps/abstractstep.py:
  3362. * Scripts/webkitpy/tool/steps/postdiff.py:
  3363. * Scripts/webkitpy/tool/steps/postdiffforcommit.py:
  3364. * Scripts/webkitpy/tool/steps/postdiffforrevert.py:
  3365. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  3366. 2010-04-21 Eric Seidel <eric@webkit.org>
  3367. Unreviewed, fixing NRWT for real this time.
  3368. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
  3369. https://bugs.webkit.org/show_bug.cgi?id=37765
  3370. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  3371. - Add a hack to fix new-run-webkit-tests
  3372. my understanding of codecs.open(encoding=None)
  3373. must have been wrong.
  3374. 2010-04-21 Eric Seidel <eric@webkit.org>
  3375. Unreviewed, just fixing exception seen on builders.
  3376. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
  3377. https://bugs.webkit.org/show_bug.cgi?id=37765
  3378. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  3379. - Pass and encoding to _write_into_file_at_path
  3380. 2010-04-21 Eric Seidel <eric@webkit.org>
  3381. Reviewed by Adam Barth.
  3382. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
  3383. https://bugs.webkit.org/show_bug.cgi?id=37765
  3384. I fixed the queue to not ignore Tor as a reviwer in r57531,
  3385. but instead it throws an exception every time his name is in a patch.
  3386. This fixes our Executive.run_command code to work around a Popen
  3387. bug http://bugs.python.org/issue5290 whereby python versions before 2.6
  3388. do not correctly handle unicode objects as input or output to
  3389. Popen.communicate.
  3390. Following the advice of:
  3391. http://farmdev.com/talks/unicode/
  3392. I have changed all of webkitpy to use unicode() objects as strings
  3393. instead of str objects (which in Python 3 are renamed "bytes").
  3394. String literals were left as "foo" instead of converting to u"foo"
  3395. as u"foo" is only required if the string has a non-ascii code point.
  3396. Python is smart about comparing str() and unicode() values and will
  3397. log an error to the console if the comparison is ever invalid.
  3398. Executive.run* now correctly accept and return unicode() objects.
  3399. I attempted to fix all the places that we call .write() to make sure we
  3400. encode any unicode() objects into utf-8.
  3401. I removed several uses of StringIO. StringIO should generally always be
  3402. passed a unicode() value.
  3403. Likewise I replaced most calls to open() with codecs.open().
  3404. codecs.open() matches Python 3 open semantics in requiring an encoding
  3405. parameter. Files opened with codecs.open() with a unicode-compatible
  3406. encoding will vend unicode() objects from their read() calls, like how
  3407. StringIO created with a unicode() object will do.
  3408. I also deployed "with" statements wider (now that the project has
  3409. settled on Python 2.5) to close a bunch of file descriptor leaks.
  3410. * Scripts/webkitpy/common/checkout/api_unittest.py:
  3411. - Read/write utf-8 files instead of ascii.
  3412. - Update the tests to use test for proper unicode() handling.
  3413. * Scripts/webkitpy/common/checkout/changelog.py:
  3414. - Document that parse_latest_entry_from_file expects
  3415. file-like objects which return unicode strings.
  3416. * Scripts/webkitpy/common/checkout/changelog_unittest.py:
  3417. - Use unicode() strings instead of str() byte arrays.
  3418. - Deploy "with" to close file descriptor leaks.
  3419. * Scripts/webkitpy/common/checkout/commitinfo.py:
  3420. - Remove unneeded import.
  3421. * Scripts/webkitpy/common/checkout/scm.py:
  3422. - Remove use of str().
  3423. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  3424. - Read/write utf-8 files and use unicode() strings in testing.
  3425. * Scripts/webkitpy/common/config/committers.py:
  3426. - Use \u instead of \x to make slightly clearer what we're doing.
  3427. * Scripts/webkitpy/common/net/bugzilla.py:
  3428. - Add a new _string_contents() method and explain why
  3429. we have to call unicode() on the result of soup.string
  3430. and why it's safe to do so w/o needing to pass a codec name.
  3431. - Remove the (unused) support for passing a file object to add_patch_to_bug().
  3432. * Scripts/webkitpy/common/net/buildbot.py:
  3433. - Use unicode() instead of str() when needing to coax a
  3434. NavigableString object into a unicode() object.
  3435. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  3436. - Add a test which contains a unicode builder name.
  3437. * Scripts/webkitpy/common/net/statusserver.py:
  3438. - Remove use of str()
  3439. * Scripts/webkitpy/common/prettypatch.py:
  3440. - Write out the patch file as utf-8.
  3441. * Scripts/webkitpy/common/system/autoinstall.py:
  3442. - Write out files with a explicit encodings.
  3443. - Deploy "with" to close file descriptor leaks.
  3444. * Scripts/webkitpy/common/system/deprecated_logging.py:
  3445. - Write out log files as utf-8.
  3446. * Scripts/webkitpy/common/system/executive.py:
  3447. - Make run* properly take and return unicode() objects.
  3448. - Cleaned up input handling in run_command a little by adding
  3449. a _compute_input() method which can return early instead of having
  3450. such a long/cluttered if-block.
  3451. * Scripts/webkitpy/common/system/executive_unittest.py:
  3452. - Added a unit test to make sure we don't break Tor again!
  3453. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  3454. - Write out the test list as utf-8.
  3455. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  3456. - Write out json files as utf-8.
  3457. * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
  3458. - Deploy "with" to close file descriptor leaks.
  3459. * Scripts/webkitpy/layout_tests/port/chromium.py: Add Executive.py FIXME.
  3460. * Scripts/webkitpy/layout_tests/port/chromium_linux.py: ditto.
  3461. * Scripts/webkitpy/layout_tests/port/chromium_mac.py: ditto.
  3462. * Scripts/webkitpy/layout_tests/port/gtk.py: ditto.
  3463. * Scripts/webkitpy/layout_tests/port/mac.py: ditto.
  3464. * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
  3465. - Make the skipped file parsing test unicode.
  3466. * Scripts/webkitpy/layout_tests/port/qt.py: Add Executive.py FIXME.
  3467. * Scripts/webkitpy/layout_tests/port/server_process.py: ditto.
  3468. * Scripts/webkitpy/layout_tests/port/webkit.py:
  3469. - Deploy "with" to close file descriptor leaks.
  3470. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  3471. - Make explicit the encodings of log files and pid files.
  3472. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  3473. - Make encodings explicit and deploy "with".
  3474. * Scripts/webkitpy/layout_tests/run_webkit_tests.py: ditto.
  3475. * Scripts/webkitpy/layout_tests/test_types/image_diff.py: ditto.
  3476. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: ditto.
  3477. * Scripts/webkitpy/layout_tests/test_types/text_diff.py: ditto.
  3478. * Scripts/webkitpy/style/filereader_unittest.py: ditto.
  3479. * Scripts/webkitpy/thirdparty/__init__.py: ditto.
  3480. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  3481. - Removed extra import.
  3482. * Scripts/webkitpy/tool/commands/queues.py:
  3483. - No need to map args to strings now that run_command does.
  3484. - Update test results to match args changes.
  3485. - Document our global argument hacks.
  3486. * Scripts/webkitpy/tool/commands/upload.py:
  3487. - Pass the diff directly to add_patch_to_bug instead of creating a StringIO file wrapper.
  3488. * Scripts/webkitpy/tool/mocktool.py:
  3489. - Rename add_patch_to_bug argument to match bugzilla.py
  3490. * Scripts/webkitpy/tool/steps/abstractstep.py:
  3491. - Executive.run_* now require lists instead of strings.
  3492. The lack of this change was what broke webkit-patch
  3493. for svn users the first time this was landed.
  3494. * Scripts/webkitpy/tool/steps/postdiff.py:
  3495. - Pass the diff directly to add_patch_to_bug instead of creating a StringIO file wrapper.
  3496. * Scripts/webkitpy/tool/steps/postdiffforcommit.py: ditto
  3497. * Scripts/webkitpy/tool/steps/postdiffforrevert.py: ditto
  3498. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  3499. - Fixed spurious logging seen when running test-webkitpy
  3500. 2010-04-21 Kinuko Yasuda <kinuko@chromium.org>
  3501. Unreviewed.
  3502. Add myself in committers.py.
  3503. * Scripts/webkitpy/common/config/committers.py:
  3504. 2010-04-21 Dirk Pranke <dpranke@chromium.org>
  3505. Reviewed by Dimitri Glazkov.
  3506. new-run-webkit-tests: fix a bug in the Chromium port where we would
  3507. try to talk to a crashed test_shell and raise exceptions that weren't
  3508. being caught.
  3509. https://bugs.webkit.org/show_bug.cgi?id=37941
  3510. * Scripts/webkitpy/layout_tests/port/chromium.py:
  3511. 2010-04-21 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  3512. Unreviewed.
  3513. [Qt] [Symbian] Build fix.
  3514. Work around a Qt quirk. Some versions of Symbian port Qt
  3515. QFontDatabase::removeAllApplicationFonts symbol is not available.
  3516. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  3517. (WebCore::DumpRenderTree::open):
  3518. 2010-04-21 Alexey Proskuryakov <ap@apple.com>
  3519. Unreviewed.
  3520. https://bugs.webkit.org/show_bug.cgi?id=37933
  3521. <rdar://problem/7719540> XMLHttpRequest.withCredentials should be better enforced.
  3522. Adding stub implementation of authenticateSession(). Depending on platform loader behavior,
  3523. a real implementation may or may not be necessary for the one test that currently uses it
  3524. to pass.
  3525. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  3526. (LayoutTestController::authenticateSession):
  3527. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  3528. 2010-04-21 Alexey Proskuryakov <ap@apple.com>
  3529. Reviewed by Brady Eidson.
  3530. https://bugs.webkit.org/show_bug.cgi?id=37933
  3531. <rdar://problem/7719540> XMLHttpRequest.withCredentials should be better enforced.
  3532. Adding authenticateSession() method that adds credentials to per-process credential storage
  3533. (for platforms that even have such). No Windows implementation, because writing another
  3534. loader for DRT is painful.
  3535. * DumpRenderTree/LayoutTestController.cpp:
  3536. (authenticateSessionCallback):
  3537. (LayoutTestController::staticFunctions):
  3538. * DumpRenderTree/LayoutTestController.h:
  3539. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  3540. (-[SynchronousLoader dealloc]):
  3541. (-[SynchronousLoader connectionShouldUseCredentialStorage:]):
  3542. (-[SynchronousLoader connection:didReceiveAuthenticationChallenge:]):
  3543. (-[SynchronousLoader connection:didFailWithError:]):
  3544. (-[SynchronousLoader connectionDidFinishLoading:]):
  3545. (+[SynchronousLoader makeRequest:withUsername:password:]):
  3546. (LayoutTestController::authenticateSession):
  3547. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  3548. (LayoutTestController::authenticateSession):
  3549. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  3550. (LayoutTestController::authenticateSession):
  3551. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  3552. (LayoutTestController::authenticateSession):
  3553. Stub implementations.
  3554. 2010-04-21 Kent Tamura <tkent@chromium.org>
  3555. Reviewed by Dimitri Glazkov.
  3556. [DRT/Chromium] Make DRT compilable in Chromium tree
  3557. https://bugs.webkit.org/show_bug.cgi?id=37923
  3558. We need to use different GYPs in a case of WebKit-only checkout
  3559. and a case of whole Chromium checkout because the relative paths
  3560. from webkit/ to WebKit/chromium/features.gypi are different in
  3561. these cases and we can't use 'conditions' for 'includes' in GYPs.
  3562. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
  3563. 2010-04-21 Jakub Wieczorek <jwieczorek@webkit.org>
  3564. Reviewed by Darin Adler.
  3565. List item markers are not always updated after changes in the DOM.
  3566. https://bugs.webkit.org/show_bug.cgi?id=37060
  3567. * DumpRenderTree/LayoutTestController.cpp:
  3568. (markerTextForListItemCallback): A function that returns the marker text for a given list item.
  3569. (LayoutTestController::staticFunctions):
  3570. * DumpRenderTree/LayoutTestController.h:
  3571. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  3572. (LayoutTestController::markerTextForListItem): Implement it in the GTK port.
  3573. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  3574. (LayoutTestController::markerTextForListItem): Add a stub.
  3575. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  3576. (LayoutTestController::LayoutTestController):
  3577. (LayoutTestController::markerTextForListItem): Implement it in the Qt port.
  3578. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  3579. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  3580. (LayoutTestController::markerTextForListItem): Add a stub.
  3581. 2010-04-21 Adam Roben <aroben@apple.com>
  3582. Exclude leaks in CGGradientCreateWithColorComponents from
  3583. run-webkit-tests leaks output
  3584. The leak in CG is covered by <rdar://problem/7888492>.
  3585. Fixes <http://webkit.org/b/37927>.
  3586. Reviewed by Eric Carlson.
  3587. * Scripts/old-run-webkit-tests:
  3588. (sub countAndPrintLeaks): Exclude leaks in
  3589. CGGradientCreateWithColorComponents on certain OSs.
  3590. 2010-04-21 Kent Tamura <tkent@chromium.org>
  3591. Reviewed by Shinichiro Hamaji.
  3592. [DRT/Chromium] Import MockSpellCheck from Chromium
  3593. https://bugs.webkit.org/show_bug.cgi?id=37910
  3594. Import webkit/tools/test_shell/mock_spellcheck.{cc,h} rev.37241 of Chromium.
  3595. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
  3596. Add ICU explicitly because WTFString.h includes ICU headers.
  3597. Add MockSpellCheck.{cpp,h}.
  3598. * DumpRenderTree/chromium/MockSpellCheck.cpp: Added.
  3599. * DumpRenderTree/chromium/MockSpellCheck.h: Added.
  3600. * DumpRenderTree/chromium/WebViewHost.cpp:
  3601. (WebViewHost::spellCheck):
  3602. * DumpRenderTree/chromium/WebViewHost.h:
  3603. * DumpRenderTree/chromium/config.h: Define JS_EXPORTDATA, which is used
  3604. by wtf/text/AtomicString.h included by wtf/text/WTFString.h.
  3605. 2010-04-21 Adam Barth <abarth@webkit.org>
  3606. Reviewed by Eric Seidel.
  3607. Add webkit-patch pretty-diff
  3608. https://bugs.webkit.org/show_bug.cgi?id=37892
  3609. This is slightly lame because it asks you whether the diff is correct,
  3610. but it's a starting point.
  3611. * Scripts/webkitpy/tool/commands/__init__.py:
  3612. * Scripts/webkitpy/tool/commands/prettydiff.py: Added.
  3613. * Scripts/webkitpy/tool/main.py:
  3614. 2010-04-21 Adam Barth <abarth@webkit.org>
  3615. Reviewed by Darin Adler.
  3616. Remove mention of non-existant --no-build option
  3617. https://bugs.webkit.org/show_bug.cgi?id=37893
  3618. The option doesn't exist!
  3619. * Scripts/webkitpy/tool/commands/stepsequence.py:
  3620. 2010-04-21 Balazs Kelemen <kb@inf.u-szeged.hu>
  3621. Reviewed by Kenneth Rohde Christiansen.
  3622. [Qt] Interrupting JavaScript is cumbersome when you use QtLaucher for testing or profiling.
  3623. https://bugs.webkit.org/show_bug.cgi?id=37198
  3624. * QtLauncher/main.cpp:
  3625. (LauncherWindow::toggleInterruptingJavaScriptEnabled):
  3626. (LauncherWindow::newWindow):
  3627. (LauncherWindow::cloneWindow):
  3628. (LauncherWindow::createChrome):
  3629. (main):
  3630. * QtLauncher/webpage.cpp:
  3631. (WebPage::WebPage):
  3632. (WebPage::shouldInterruptJavaScript):
  3633. * QtLauncher/webpage.h:
  3634. (WebPage::setInterruptingJavaScriptEnabled):
  3635. 2010-04-21 Eric Seidel <eric@webkit.org>
  3636. Unreviewed, rolling out r57963.
  3637. http://trac.webkit.org/changeset/57963
  3638. https://bugs.webkit.org/show_bug.cgi?id=37759
  3639. Three tests started crashing on the Qt bot.
  3640. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  3641. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  3642. 2010-04-21 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  3643. Reviewed by Eric Seidel.
  3644. Make new-run-webkit-tests work for the Qt port
  3645. https://bugs.webkit.org/show_bug.cgi?id=37588
  3646. * Scripts/webkitpy/layout_tests/port/qt.py:
  3647. 2010-04-21 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  3648. Reviewed by Eric Seidel.
  3649. new-run-webkit-tests: try to detect alternate apache path
  3650. https://bugs.webkit.org/show_bug.cgi?id=37587
  3651. _check_port_build() also needs to return true in the
  3652. base implementation to not fail the check_build step.
  3653. * Scripts/webkitpy/layout_tests/port/webkit.py:
  3654. 2010-04-21 Yi Shen <yi.4.shen@nokia.com>
  3655. Reviewed by Simon Hausmann.
  3656. [Qt] Add LayoutTestController interface: computedStyleIncludingVisitedInfo
  3657. https://bugs.webkit.org/show_bug.cgi?id=37759
  3658. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  3659. (LayoutTestController::computedStyleIncludingVisitedInfo):
  3660. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  3661. 2010-04-21 Eric Seidel <eric@webkit.org>
  3662. Unreviewed, test fix only.
  3663. new-run-webkit-tests: implement a --log trace message to be able to display detailed output of an individual test run
  3664. https://bugs.webkit.org/show_bug.cgi?id=37726
  3665. This change seems to have broken a test.
  3666. Attempting to handle the case where we don't have any
  3667. timing information. Dirk may have to correct this change.
  3668. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  3669. 2010-04-19 Eric Seidel <eric@webkit.org>
  3670. Reviewed by Adam Barth.
  3671. new-run-webkit-tests has much higher startup latency than run-webkit-tests
  3672. https://bugs.webkit.org/show_bug.cgi?id=37643
  3673. I got rid of the -expected.checksum reads during startup.
  3674. This makes startup noticably better on my laptop.
  3675. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  3676. - Use image_hash() instead of .image_hash now that expected.checksum
  3677. file reads are done lazily.
  3678. * Scripts/webkitpy/layout_tests/port/http_server_base.py:
  3679. - Add debug logging for this sleep call.
  3680. In my testing I never saw this sleep() hit.
  3681. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  3682. - Sleep a shorter interval to make websocket server
  3683. startup more responsive. On my machine startup was
  3684. taking around 1 second.
  3685. - Remove the unconditional .5s delay on startup.
  3686. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  3687. - Make image_hash file reads done lazily in a new image_hash() function.
  3688. - Add a "Starting testing ..." meter update after DRT threads have
  3689. been started, but before we get updates from the first one.
  3690. - Rename variable "t" to a full english name to match WebKit style.
  3691. 2010-04-20 Daniel Bates <dbates@rim.com>
  3692. Reviewed by Eric Seidel.
  3693. https://bugs.webkit.org/show_bug.cgi?id=37748
  3694. Make Sheriffbot more inspirational.
  3695. * Scripts/webkitpy/common/net/bugzilla.py:
  3696. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  3697. * Scripts/webkitpy/tool/bot/irc_command.py:
  3698. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
  3699. * Scripts/webkitpy/tool/mocktool.py:
  3700. 2010-04-20 Kent Tamura <tkent@chromium.org>
  3701. Reviewed by Dimitri Glazkov.
  3702. [DRT/Chromium] Import Chromium image_diff as ImageDiff
  3703. https://bugs.webkit.org/show_bug.cgi?id=37790
  3704. ImageDiff.cpp is based on tools/imagediff/image_diff.cc r41911 of Chromium.
  3705. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
  3706. * DumpRenderTree/chromium/ImageDiff.cpp: Added.
  3707. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  3708. 2010-04-20 Dirk Pranke <dpranke@chromium.org>
  3709. This patch to new-run-webkit-tests adds a --log 'trace' option
  3710. that prints out detailed info about a given test as it executes
  3711. (where the baselines are, what the expectation is, what we got,
  3712. how long it took).
  3713. https://bugs.webkit.org/show_bug.cgi?id=37726
  3714. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  3715. - use the newly exposed TestResult class and implement
  3716. --log trace
  3717. * Scripts/webkitpy/layout_tests/layout_package/dump_render_thread.py:
  3718. - rename TestStats to TestResult and make it more public, resulting
  3719. in cleaner code
  3720. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  3721. - add expectation_to_string() as a separate callable function
  3722. 2010-04-20 Eric Seidel <eric@webkit.org>
  3723. Unreviewed, rolling out r57907.
  3724. http://trac.webkit.org/changeset/57907
  3725. https://bugs.webkit.org/show_bug.cgi?id=37765
  3726. Appears to have broken MacEWS and possibly webkit-patch upload
  3727. for svn users. Needs further investigation.
  3728. * Scripts/webkitpy/common/checkout/api.py:
  3729. * Scripts/webkitpy/common/checkout/api_unittest.py:
  3730. * Scripts/webkitpy/common/checkout/changelog.py:
  3731. * Scripts/webkitpy/common/checkout/changelog_unittest.py:
  3732. * Scripts/webkitpy/common/checkout/commitinfo.py:
  3733. * Scripts/webkitpy/common/checkout/scm.py:
  3734. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  3735. * Scripts/webkitpy/common/config/committers.py:
  3736. * Scripts/webkitpy/common/net/bugzilla.py:
  3737. * Scripts/webkitpy/common/net/buildbot.py:
  3738. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  3739. * Scripts/webkitpy/common/net/statusserver.py:
  3740. * Scripts/webkitpy/common/prettypatch.py:
  3741. * Scripts/webkitpy/common/system/autoinstall.py:
  3742. * Scripts/webkitpy/common/system/deprecated_logging.py:
  3743. * Scripts/webkitpy/common/system/executive.py:
  3744. * Scripts/webkitpy/common/system/executive_unittest.py:
  3745. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  3746. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  3747. * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py:
  3748. * Scripts/webkitpy/layout_tests/port/mac_unittest.py:
  3749. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  3750. * Scripts/webkitpy/tool/commands/queues.py:
  3751. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  3752. * Scripts/webkitpy/tool/commands/upload.py:
  3753. * Scripts/webkitpy/tool/mocktool.py:
  3754. * Scripts/webkitpy/tool/steps/abstractstep.py:
  3755. * Scripts/webkitpy/tool/steps/postdiff.py:
  3756. * Scripts/webkitpy/tool/steps/postdiffforcommit.py:
  3757. * Scripts/webkitpy/tool/steps/postdiffforrevert.py:
  3758. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  3759. 2010-04-20 Nate Chapin <japhet@chromium.org>
  3760. Unreviewed.
  3761. Update my irc handle in committers.py (natechapin -> japhet).
  3762. * Scripts/webkitpy/common/config/committers.py:
  3763. 2010-04-20 Eric Seidel <eric@webkit.org>
  3764. Reviewed by Adam Barth.
  3765. REGRESSION(57531): the commit-queue still hates Tor Arne Vestbø
  3766. https://bugs.webkit.org/show_bug.cgi?id=37765
  3767. I fixed the queue to not ignore Tor as a reviwer in r57531,
  3768. but instead it throws an exception every time his name is in a patch.
  3769. This fixes our Executive.run_command code to work around a Popen
  3770. bug http://bugs.python.org/issue5290 whereby python versions before 2.6
  3771. do not correctly handle unicode objects as input or output to
  3772. Popen.communicate.
  3773. Following the advice of:
  3774. http://farmdev.com/talks/unicode/
  3775. I'm attempting to take the python unicode plunge and use unicode()
  3776. objects as strings instead of str() objects everywhere in webkitpy.
  3777. We do not have to use u"" instead of "" because u"a" == "a" as expected
  3778. in Python. Python will generate a warning to the console in cases where
  3779. a unicode() == str() operation cannot be performed.
  3780. I also cleaned up the input handling in run_command a little by adding
  3781. a new _compute_input() method which can return early instead of having
  3782. such a long/cluttered if-block.
  3783. Executive.run* now correctly accept and return unicode() objects.
  3784. I attempted to fix all the places that we call .write() to make sure we
  3785. encode any unicode() objects into utf-8.
  3786. All places which use StringIO need to be sure to pass StringIO a
  3787. pre-encoded byte-array (str object) instead of unicode so that
  3788. clients which read from the StringIO don't have encoding exceptions.
  3789. To make this easier, I removed the patch_file_object support from
  3790. add_patch_to_bug, and changed the 4 places which previously used
  3791. StringIO to create a fake patch file.
  3792. I attempted to document any places where we are not correctly converting
  3793. to/from bytes (str() objects) to strings (unicode() objects).
  3794. * Scripts/webkitpy/common/checkout/api_unittest.py:
  3795. - Read/write utf-8 files instead of ascii.
  3796. - Update the tests to use test for proper unicode() handling.
  3797. * Scripts/webkitpy/common/checkout/changelog_unittest.py:
  3798. - Use unicode() strings instead of str() byte arrays.
  3799. * Scripts/webkitpy/common/checkout/scm.py:
  3800. - Remove use of str().
  3801. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  3802. - Read/write utf-8 files and use unicode() strings in testing.
  3803. * Scripts/webkitpy/common/config/committers.py:
  3804. - Use \u instead of \x to make slightly clearer what we're doing.
  3805. * Scripts/webkitpy/common/net/bugzilla.py:
  3806. - Add a new _string_contents() method and explain why
  3807. we have to call unicode() on the result of soup.string
  3808. and why it's safe to do so w/o needing to pass a codec name.
  3809. - Remove the (unused) support for passing a file object to add_patch_to_bug().
  3810. * Scripts/webkitpy/common/net/buildbot.py:
  3811. - Use unicode() instead of str() when needing to coax a
  3812. NavigableString object into a unicode() object.
  3813. * Scripts/webkitpy/common/net/statusserver.py:
  3814. - Remove use of str()
  3815. * Scripts/webkitpy/common/prettypatch.py:
  3816. - Write out the patch file as utf-8.
  3817. * Scripts/webkitpy/common/system/autoinstall.py:
  3818. - Add a FIXME about encoding.
  3819. * Scripts/webkitpy/common/system/deprecated_logging.py:
  3820. - Document that tee() works on bytes, not strings.
  3821. * Scripts/webkitpy/common/system/executive.py:
  3822. - Make run* properly take and return unicode() objects.
  3823. * Scripts/webkitpy/common/system/executive_unittest.py:
  3824. - Added a unit test to make sure we don't break Tor again!
  3825. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  3826. - Write out the test list as utf-8.
  3827. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  3828. - Write out json files as utf-8.
  3829. * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py:
  3830. - Add FIXME about encoding handling.
  3831. * Scripts/webkitpy/tool/commands/upload.py:
  3832. - Pass the diff directly to add_patch_to_bug instead of creating a StringIO file wrapper.
  3833. * Scripts/webkitpy/tool/mocktool.py:
  3834. - Rename add_patch_to_bug argument to match bugzilla.py
  3835. * Scripts/webkitpy/tool/steps/postdiff.py:
  3836. - Pass the diff directly to add_patch_to_bug instead of creating a StringIO file wrapper.
  3837. * Scripts/webkitpy/tool/steps/postdiffforcommit.py: ditto.
  3838. * Scripts/webkitpy/tool/steps/postdiffforrevert.py: ditto.
  3839. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  3840. - Fixed spurious logging seen when running test-webkitpy
  3841. 2010-04-20 Chris Jerdonek <cjerdonek@webkit.org>
  3842. Reviewed by Shinichiro Hamaji.
  3843. For check-webkit-style, implemented __eq__() and __ne__() (the
  3844. built-in equality and inequality methods) for the
  3845. DefaultStyleErrorHandler class.
  3846. https://bugs.webkit.org/show_bug.cgi?id=37850
  3847. This will facilitate unit-testing for a subsequent patch,
  3848. namely for https://bugs.webkit.org/show_bug.cgi?id=37850
  3849. * Scripts/webkitpy/style/error_handlers.py:
  3850. - Added __eq__() and __ne__() to the DefaultStyleErrorHandler
  3851. class.
  3852. * Scripts/webkitpy/style/error_handlers_unittest.py:
  3853. - Added unit tests for __eq__() and __ne__().
  3854. - Also included a minor clean-up refactoring of combining the
  3855. StyleErrorHandlerTestBase class (which has not needed to
  3856. be separate due to previous changes) into the
  3857. DefaultStyleErrorHandlerTest class.
  3858. 2010-04-20 Jakub Wieczorek <jwieczorek@webkit.org>
  3859. Unreviewed.
  3860. Add my IRC nick to the committers.py list.
  3861. * Scripts/webkitpy/common/config/committers.py:
  3862. 2010-04-20 Kim Grönholm <kim.gronholm@nomovok.com>
  3863. Reviewed by Simon Hausmann.
  3864. [Qt] Multitouch mocking in QtLauncher doesn't work with QGraphicsView
  3865. https://bugs.webkit.org/show_bug.cgi?id=37816
  3866. Fix multi-touch mocking in QtLauncher when using QGraphicsView.
  3867. Test: https://bug-32434-attachments.webkit.org/attachment.cgi?id=44955
  3868. * QtLauncher/main.cpp:
  3869. (LauncherWindow::eventFilter):
  3870. (LauncherWindow::initializeView):
  3871. 2010-04-20 MORITA Hajime <morrita@google.com>
  3872. Unreviewed, add myself to the committers list.
  3873. * Scripts/webkitpy/common/config/committers.py:
  3874. 2010-04-20 Kent Tamura <tkent@chromium.org>
  3875. Reviewed by Shinichiro Hamaji.
  3876. [DRT/Chromium] Fix some unexpected results of editing
  3877. https://bugs.webkit.org/show_bug.cgi?id=37843
  3878. This change fixes about 70 unexpected results.
  3879. The original test_webview_delegate.cc doesn't have this bug.
  3880. The bug was introduced when I ported it to WebKit tree.
  3881. * DumpRenderTree/chromium/WebViewHost.cpp:
  3882. (printRangeDescription): Replace the latter startContainer() with endContainer().
  3883. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  3884. Unreviewed, build fix.
  3885. Turn off some unit tests for now - the new-run-webkit-tests dryrun
  3886. tests for chromium won't work if you don't have a chromium checkout.
  3887. https://bugs.webkit.org/show_bug.cgi?id=37841
  3888. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  3889. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  3890. Unreviewed, build fix.
  3891. (Re-)add dryrun.py; this was renamed from passing.py in the previous
  3892. CL but apparently somehow didn't get checked in.
  3893. https://bugs.webkit.org/show_bug.cgi?id=37841
  3894. * Scripts/webkitpy/layout_tests/port/dryrun.py: Added.
  3895. 2010-04-19 Shinichiro Hamaji <hamaji@chromium.org>
  3896. Reviewed by David Levin.
  3897. check-webkit-style: exits when encountering a deleted file
  3898. https://bugs.webkit.org/show_bug.cgi?id=37122
  3899. This reverts the quick fix done by r57119 and makes check_patch
  3900. not call check_file for deleted files.
  3901. Also this change fixes the behavior for "-", which should mean
  3902. stdin. Before this change, the style checker just ignored "-"
  3903. with a warning message.
  3904. * Scripts/webkitpy/style/checker.py:
  3905. * Scripts/webkitpy/style/checker_unittest.py:
  3906. 2010-04-19 Daniel Bates <dbates@rim.com>
  3907. No review, rolling out 57868.
  3908. http://trac.webkit.org/changeset/57868
  3909. https://bugs.webkit.org/show_bug.cgi?id=37748
  3910. Sheriffbot wasn't very inspirational after this patch.
  3911. Instead, he was silent when you said hi :-(. Rolling
  3912. out this patch so that I can debug/test this some more.
  3913. * Scripts/webkitpy/common/net/bugzilla.py:
  3914. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  3915. * Scripts/webkitpy/tool/bot/irc_command.py:
  3916. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
  3917. * Scripts/webkitpy/tool/mocktool.py:
  3918. 2010-04-19 Daniel Bates <dbates@rim.com>
  3919. Reviewed by Adam Barth.
  3920. https://bugs.webkit.org/show_bug.cgi?id=37748
  3921. Make Sheriffbot more inspirational.
  3922. * Scripts/webkitpy/common/net/bugzilla.py:
  3923. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  3924. * Scripts/webkitpy/tool/bot/irc_command.py:
  3925. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
  3926. * Scripts/webkitpy/tool/mocktool.py:
  3927. 2010-04-19 Kevin Ollivier <kevino@theolliviers.com>
  3928. [wx] Build fix, add missing header.
  3929. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  3930. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  3931. Reviewed by Adam Barth.
  3932. new-run-webkit-tests - repurpose the "Passing" port as "Dryrun" port
  3933. that can be used to test platforms other than the one you are running
  3934. on. This can be useful for checking baselines and testing code
  3935. coverage.
  3936. Note that running the code on the "wrong" port requires each
  3937. port-specific implementation to actually not require any
  3938. platform-specific python code (e.g., the chromium-win port must
  3939. test for the existence of windows functions before calling them).
  3940. https://bugs.webkit.org/show_bug.cgi?id=37782
  3941. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  3942. * Scripts/webkitpy/layout_tests/port/dryrun.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/port/passing.py.
  3943. * Scripts/webkitpy/layout_tests/port/factory.py:
  3944. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
  3945. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  3946. Reviewed by Eric Seidel.
  3947. new-run-webkit-tests: add --build (default) and --no-build
  3948. options to make that step optional. This flag modifies what happens
  3949. in port.check_build().
  3950. https://bugs.webkit.org/show_bug.cgi?id=37786
  3951. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  3952. * Scripts/webkitpy/layout_tests/port/chromium.py:
  3953. * Scripts/webkitpy/layout_tests/port/webkit.py:
  3954. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  3955. Unreviewed, build fix.
  3956. new-run-webkit-tests - fix a typo in r57480 that caused us to stop
  3957. logging the actual list of unexpected results.
  3958. https://bugs.webkit.org/show_bug.cgi?id=37831
  3959. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  3960. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  3961. Reviewed by Adam Barth.
  3962. From a patch by Tor Arne Vestbo <tor.arne.vestbo@nokia.com>
  3963. new-run-webkit-tests: make the retry step more explicit
  3964. https://bugs.webkit.org/show_bug.cgi?id=37606
  3965. It might be confusing to see the test and percent counters
  3966. reset without any notice of what's going on, so we make the
  3967. message that a retry-run is started explicit.
  3968. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  3969. 2010-04-19 Sam Weinig <weinig@apple.com>
  3970. Reviewed by Anders Carlsson.
  3971. Add support for opening a new window (File->New Window) to
  3972. Windows MiniBrowser. Accelerator doesn't work.
  3973. * MiniBrowser/win/BrowserView.cpp:
  3974. (createNewPage): Use BrowserView::create.
  3975. * MiniBrowser/win/BrowserWindow.cpp:
  3976. (BrowserWindow::onCommand): Respond to ID_FILE_NEW_WINDOW
  3977. by creating a new window.
  3978. * MiniBrowser/win/BrowserWindow.h:
  3979. (BrowserWindow::create): Added. Don't allow creating
  3980. BrowserWindows on the stack by making constructor
  3981. private and exposing the create function.
  3982. * MiniBrowser/win/MiniBrowser.cpp:
  3983. (MiniBrowser::createNewWindow): Move new window creation
  3984. logic here.
  3985. * MiniBrowser/win/MiniBrowser.h:
  3986. * MiniBrowser/win/MiniBrowser.rc:
  3987. * MiniBrowser/win/main.cpp:
  3988. (_tWinMain): Use the new MiniBrowser::createNewWindow().
  3989. 2010-04-19 Chris Fleizach <cfleizach@apple.com>
  3990. Reviewed by Beth Dakin.
  3991. AX: aria-haspopup needs to be exposed
  3992. https://bugs.webkit.org/show_bug.cgi?id=37808
  3993. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  3994. (AccessibilityUIElement::hasPopup):
  3995. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  3996. Reviewed by Eric Seidel.
  3997. Submit a better workaround for r57806 than the one in r57831 - log
  3998. an error and exit if you try to run new-run-webkit-tests with --use-drt
  3999. on Windows.
  4000. https://bugs.webkit.org/show_bug.cgi?id=37822
  4001. * Scripts/webkitpy/layout_tests/port/chromium.py:
  4002. 2010-04-19 Jesus Sanchez-Palencia <jesus@webkit.org>
  4003. Unreviewed.
  4004. Just adding myself as a committer.
  4005. * Scripts/webkitpy/common/config/committers.py:
  4006. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  4007. Reviewed by Eric Seidel.
  4008. Add slightly better logging to the websocket python wrapper script,
  4009. including a --verbose flag for debug output.
  4010. https://bugs.webkit.org/show_bug.cgi?id=37233
  4011. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  4012. * Scripts/new-run-webkit-websocketserver:
  4013. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  4014. Reviewed by Eric Seidel.
  4015. new-run-webkit-tests: add a way (--print-unexpected-results) to
  4016. (re-)print out the tests that produced unexpected results in the
  4017. last run. Also add a way (--retry-unexpected-results) to
  4018. automatically re-test them.
  4019. https://bugs.webkit.org/show_bug.cgi?id=37783
  4020. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4021. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  4022. Reviewed by Eric Seidel.
  4023. Restructure the logging in new-run-webkit-tests so that many of log
  4024. messages that were logged to the MeteredStream also get logged in
  4025. --verbose mode.
  4026. https://bugs.webkit.org/show_bug.cgi?id=37780
  4027. * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py:
  4028. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4029. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  4030. Reviewed by Eric Seidel.
  4031. new-run-webkit-tests: add 'summary' and 'unexpected-results' options
  4032. to the --log flag. Also add a 'progress' flag to enable the regular
  4033. progress bar (as opposed to 'detailed-progress', which enables the
  4034. dots). Also add a 'nothing' flag to allow you to be explicit that
  4035. you don't want any logging on the command line.
  4036. The default is
  4037. '--log detailed-progress,summary,unexpected,unexpected-results'
  4038. (The default logging is unchanged by this patch, this just makes things
  4039. properly configurable).
  4040. Note that 'nothing' doesn't work properly yet; I need a couple other
  4041. patches to land to avoid rewriting things several different ways.
  4042. https://bugs.webkit.org/show_bug.cgi?id=37785
  4043. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4044. 2010-04-19 Kenneth Rohde Christiansen <kenneth@webkit.org>
  4045. Reviewed by Simon Hausmann.
  4046. Make the URL change on committed load.
  4047. * QtLauncher/mainwindow.cpp:
  4048. (MainWindow::buildUI):
  4049. (MainWindow::setAddressUrl):
  4050. * QtLauncher/mainwindow.h:
  4051. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  4052. Reviewed by Eric Seidel.
  4053. Fix a typo in the rebaselining tool that causes us to use "debug"
  4054. instead of "Debug" in a directory path, which fails on platforms with
  4055. case-sensitive filesystems.
  4056. https://bugs.webkit.org/show_bug.cgi?id=37819
  4057. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  4058. 2010-04-19 Dirk Pranke <dpranke@chromium.org>
  4059. Unreviewed, build fix.
  4060. Fix breakage of chromium-win canary bots caused by r57806. That patch
  4061. introduced the option of using Chrome's new port of DumpRenderTree,
  4062. but unfortunately that port relies on the webkit.py class
  4063. implementation which uses non-blocking I/O that isn't available on
  4064. Windows. This patch turns off that option and doesn't import the
  4065. class if we're running on Windows.
  4066. https://bugs.webkit.org/show_bug.cgi?id=37817
  4067. * Scripts/webkitpy/layout_tests/port/chromium.py:
  4068. 2010-04-19 James Robinson <jamesr@chromium.org>
  4069. Reviewed by abarth.
  4070. Fix a typo
  4071. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  4072. 2010-04-19 Adam Roben <aroben@apple.com>
  4073. Fix run-webkit-tests when there are spaces in the path
  4074. Fixes <http://webkit.org/b/37809>
  4075. Reviewed by Adam Barth.
  4076. * Scripts/run-webkit-tests: Use an "indirect object" to specify the
  4077. path to the harness to exec(). According to perldoc, this usage will
  4078. prohibit perl from parsing the arguments to exec() via the shell,
  4079. which would incorrectly split paths with spaces in them, etc.
  4080. 2010-04-19 Dimitri Glazkov <dglazkov@chromium.org>
  4081. Reviewed by Adam Roben.
  4082. WinLauncher.h should use LF line-endings and use native line-endings style.
  4083. https://bugs.webkit.org/show_bug.cgi?id=37807
  4084. * WinLauncher/WinLauncher.h: Added property svn:eol-style, converted to LF line-endings.
  4085. 2010-04-19 Kent Tamura <tkent@chromium.org>
  4086. Reviewed by Shinichiro Hamaji.
  4087. [DRT/Chromium] Fix a test initialization problem
  4088. https://bugs.webkit.org/show_bug.cgi?id=37791
  4089. * DumpRenderTree/chromium/DumpRenderTree.cpp:
  4090. (runTest): Call resetTestController() before runFileTest(). Some
  4091. controllers initialize their fields in reset() and not in their
  4092. constructors.
  4093. 2010-04-19 Kent Tamura <tkent@chromium.org>
  4094. Reviewed by Eric Seidel.
  4095. [Chromium] new-run-webkit-tests should use WebKitDriver for --use-drt
  4096. https://bugs.webkit.org/show_bug.cgi?id=37793
  4097. We need to use WebKitDriver instead of ChromiumDriver for Chromium
  4098. DRT because its interface is different from test_shell.
  4099. Chromium DRT has no UI. So we can't use it to show test results.
  4100. * Scripts/webkitpy/layout_tests/port/chromium.py:
  4101. 2010-04-18 Eric Seidel <eric@webkit.org>
  4102. Reviewed by Adam Roben.
  4103. Make failure-reason more forgiving
  4104. https://bugs.webkit.org/show_bug.cgi?id=37525
  4105. Removed search_limit, which wasn't very useful anyway.
  4106. Added a log about the long load time loading from the builders.
  4107. Prompt the user for what revision to start walking from (makes it easy to restart upon failure).
  4108. * Scripts/webkitpy/common/net/buildbot.py:
  4109. * Scripts/webkitpy/tool/commands/queries.py:
  4110. 2010-04-18 Chris Jerdonek <cjerdonek@webkit.org>
  4111. Reviewed by Shinichiro Hamaji.
  4112. Created a class for check-webkit-style that encapsulates iterating
  4113. over text files and reading them.
  4114. https://bugs.webkit.org/show_bug.cgi?id=37754
  4115. This revision is an intermediate step towards separating our
  4116. style-checking code from the logic of iterating over files and
  4117. reading them.
  4118. * Scripts/webkitpy/common/system/logtesting.py:
  4119. - Added a logMessages() method to the LoggingTestCase class.
  4120. This method provides unit tests with access to the raw list
  4121. of log messages in case the tester needs to do something more
  4122. than simply assert the list of existing messages.
  4123. * Scripts/webkitpy/style/checker.py:
  4124. - Added a ProcessorBase class that processors of lists of lines
  4125. should eventually inherit from.
  4126. - Also added a FIXME to use the ProcessorBase class and the
  4127. TextFileReader class added below.
  4128. * Scripts/webkitpy/style/filereader.py: Added.
  4129. - Created a TextFileReader class that encapsulates reading
  4130. and iterating over text files.
  4131. * Scripts/webkitpy/style/filereader_unittest.py: Added.
  4132. - Added a TextFileReaderTest class to unit-test the
  4133. new TextFileReader class.
  4134. 2010-04-15 Tony Chang <tony@chromium.org>
  4135. Reviewed by Adam Barth.
  4136. [chromium] new-run-webkit-tests should be able to use chromium DRT
  4137. https://bugs.webkit.org/show_bug.cgi?id=37645
  4138. Make sure that the lack of a chromium checkout doesn't cause the script to
  4139. fail.
  4140. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  4141. * Scripts/webkitpy/layout_tests/port/chromium.py:
  4142. * Scripts/webkitpy/layout_tests/port/chromium_mac.py: Fix up a few paths
  4143. to be relative to an upstream output dir.
  4144. * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Add --use-drt flag.
  4145. 2010-04-18 Eric Seidel <eric@webkit.org>
  4146. Unreviewed, fixing the Qt bot.
  4147. Add a layer of indirection when calling run-webkit-tests to allow testing new-run-webkit-tests on various platforms
  4148. https://bugs.webkit.org/show_bug.cgi?id=37632
  4149. * Scripts/run-webkit-tests:
  4150. - Exit non-zero of launching the harness fails.
  4151. 2010-04-18 Eric Seidel <eric@webkit.org>
  4152. Unreviewed, fixing the Qt bot.
  4153. Add a layer of indirection when calling run-webkit-tests to allow testing new-run-webkit-tests on various platforms
  4154. https://bugs.webkit.org/show_bug.cgi?id=37632
  4155. * Scripts/run-webkit-tests:
  4156. - Fix the wrapper to work for users who do not
  4157. have WebKitTools/Scripts in their path.
  4158. 2010-04-14 Eric Seidel <eric@webkit.org>
  4159. Reviewed by Adam Barth.
  4160. Add a layer of indirection when calling run-webkit-tests to
  4161. allow testing new-run-webkit-tests on various platforms.
  4162. https://bugs.webkit.org/show_bug.cgi?id=37632
  4163. This will let us test and fix bugs in new-run-webkit-tests
  4164. without needing to restart the buildbot master between tests.
  4165. Currently this change leaves run-webkit-tests as-is, but once
  4166. its landed we will easily be able to turn on/off
  4167. new-run-webkit-tests for various ports/configurations.
  4168. I will send a note out to webkit-dev about how we will
  4169. be using this launcher script to test on the bots.
  4170. * Scripts/old-run-webkit-tests: Copied from WebKitTools/Scripts/run-webkit-tests.
  4171. * Scripts/run-webkit-tests:
  4172. - A new script which decides whether to run new- or old-
  4173. run-webkit-tests based on the platform.
  4174. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4175. - Add some dummy argument handling for arguments which
  4176. old-run-webkit-tests supports but new-run-webkit-tests
  4177. does not yet.
  4178. 2010-04-18 Eric Seidel <eric@webkit.org>
  4179. Reviewed by Adam Barth.
  4180. Add Gtk bots to the list of "core builders" (builders which stop the commit-queue when they turn red)
  4181. https://bugs.webkit.org/show_bug.cgi?id=33295
  4182. The Gtk builders have been green every time I've looked
  4183. at them in the last 5 days or so. It would appear webkit
  4184. is now keeping them green and we should update the core
  4185. builder list to match reality.
  4186. * Scripts/webkitpy/common/net/buildbot.py:
  4187. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  4188. 2010-04-18 Robert Hogan <robert@webkit.org>
  4189. Reviewed by Simon Hausmann.
  4190. [Qt] Add support for LayoutTestController commands:
  4191. setSmartInsertDeleteEnabled
  4192. setSelectTrailingWhitespaceEnabled
  4193. execCommand
  4194. isCommandEnabled
  4195. https://bugs.webkit.org/show_bug.cgi?id=35844
  4196. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  4197. (WebCore::WebPage::resetSettings):
  4198. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  4199. (LayoutTestController::setSmartInsertDeleteEnabled):
  4200. (LayoutTestController::setSelectTrailingWhitespaceEnabled):
  4201. (LayoutTestController::execCommand):
  4202. (LayoutTestController::isCommandEnabled):
  4203. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  4204. 2010-04-17 Adam Barth <abarth@webkit.org>
  4205. Reviewed by Eric Seidel.
  4206. Remove steps_references and commands_references
  4207. https://bugs.webkit.org/show_bug.cgi?id=37758
  4208. We tried using the mumble_references convention to manage our
  4209. dependencies, but it doesn't seem to be providing much value for the
  4210. steps and commands module because these modules are small pieces of the
  4211. larger tool module. In this patch, I've removed the references file
  4212. for these modules.
  4213. I've left the style_references file for the style module because that
  4214. module seems better isolated from the rest of webkitpy and the
  4215. style_references file appears to be providing some value.
  4216. * Scripts/webkitpy/tool/commands/commandtest.py:
  4217. * Scripts/webkitpy/tool/commands/download_unittest.py:
  4218. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  4219. * Scripts/webkitpy/tool/commands/queries_unittest.py:
  4220. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  4221. * Scripts/webkitpy/tool/commands/queuestest.py:
  4222. * Scripts/webkitpy/tool/commands/upload.py:
  4223. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  4224. * Scripts/webkitpy/tool/commands_references.py: Removed.
  4225. * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:
  4226. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  4227. * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py:
  4228. * Scripts/webkitpy/tool/steps/validatereviewer_unittest.py:
  4229. * Scripts/webkitpy/tool/steps_references.py: Removed.
  4230. 2010-04-17 Eric Seidel <eric@webkit.org>
  4231. Reviewed by Adam Barth.
  4232. WebKit needs a Chromium Mac EWS Builder
  4233. https://bugs.webkit.org/show_bug.cgi?id=37742
  4234. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  4235. 2010-04-17 Adam Barth <abarth@webkit.org>
  4236. Fix expected results for unit test broken by
  4237. http://trac.webkit.org/changeset/57772
  4238. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  4239. 2010-04-17 Sam Weinig <weinig@apple.com>
  4240. Reviewed by Adam Roben.
  4241. Teach windows MiniBrowser how to work with window.open()
  4242. and targeted links.
  4243. * MiniBrowser/win/BrowserView.cpp:
  4244. (createNewPage): Create a new BrowserWindow and return its page.
  4245. (showPage): Show the page.
  4246. (closePage): Empty implementation.
  4247. (runJavaScriptAlert): Empty implementation.
  4248. (BrowserView::create): Register a UIClient.
  4249. * MiniBrowser/win/BrowserView.h:
  4250. (BrowserView::webView): Added.
  4251. Change create to take a BrowserWindow instead of an HWND.
  4252. * MiniBrowser/win/BrowserWindow.cpp:
  4253. (BrowserWindow::wndProc): Respond to WM_NCDESTROY.
  4254. (BrowserWindow::goToURL): Added. Forwards to BrowserView.
  4255. (BrowserWindow::onCreate): Don't always go to the default
  4256. url. Let the caller do this.
  4257. (BrowserWindow::onNCDestroy): Delete the window.
  4258. * MiniBrowser/win/BrowserWindow.h:
  4259. (BrowserWindow::view): Added.
  4260. (BrowserWindow::window): Added.
  4261. * MiniBrowser/win/main.cpp:
  4262. (_tWinMain):
  4263. Go to the default URL for the initial page. Allocate the initial
  4264. window on the heap for correctness.
  4265. 2010-04-16 Adam Roben <aroben@apple.com>
  4266. Add the Windows Debug (Test) builder to the list of core builders
  4267. It's been green for a few days now, and all the known Windows
  4268. flakiness is Release-only.
  4269. Rubber-stamped by Mark Rowe.
  4270. * Scripts/webkitpy/common/net/buildbot.py:
  4271. (BuildBot.core_builder_name_regexps): Added a regular expression to
  4272. match the "Windows Debug (Test)" builder.
  4273. 2010-04-16 Sam Weinig <sam@webkit.org>
  4274. Reviewed by Anders Carlsson.
  4275. Fix window.open() and targeted links.
  4276. * MiniBrowser/mac/BrowserWindowController.m:
  4277. (_createNewPage): Use the correct initializer to and load the window.
  4278. 2010-04-16 Adam Roben <aroben@apple.com>
  4279. Fix links to layout test results from build status pages
  4280. Reviewed by Mark Rowe.
  4281. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  4282. (ExtractTestResults.finished): Prepend "/" on the URL of the test
  4283. results page so that it is treated as an absolute URL.
  4284. 2010-04-16 Tony Chang <tony@chromium.org>
  4285. Reviewed by Dimitri Glazkov.
  4286. [chromium] build DRT on Linux
  4287. https://bugs.webkit.org/show_bug.cgi?id=37690
  4288. * Scripts/build-dumprendertree: Add support for win and linux
  4289. 2010-04-16 Sam Weinig <weinig@apple.com>
  4290. Reviewed by Adam Roben.
  4291. Use the threaded process model for MiniBrowser if holding down
  4292. the shift key on startup.
  4293. * MiniBrowser/win/BrowserView.cpp:
  4294. (BrowserView::create):
  4295. 2010-04-15 Tony Chang <tony@chromium.org>
  4296. Reviewed by Dimitri Glazkov.
  4297. [chromium] Add TestShellGtk.cpp so we can link on Linux
  4298. https://bugs.webkit.org/show_bug.cgi?id=37561
  4299. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Add new file and
  4300. add platform file exceptions.
  4301. * DumpRenderTree/chromium/TestShellGtk.cpp: Added.
  4302. (AlarmHandler):
  4303. (TestShell::waitTestFinished):
  4304. 2010-04-15 Tony Chang <tony@chromium.org>
  4305. Reviewed by Dimitri Glazkov.
  4306. build DRT on chromium mac
  4307. https://bugs.webkit.org/show_bug.cgi?id=37639
  4308. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
  4309. * Scripts/build-dumprendertree: enable build-dumprendertree --chromium
  4310. 2010-04-15 Kent Tamura <tkent@chromium.org>
  4311. Reviewed by Dimitri Glazkov.
  4312. [DRT/Chromium] Add LayoutTestHelper for Mac
  4313. https://bugs.webkit.org/show_bug.cgi?id=37668
  4314. LayouTestHelper.mm is based on webkit/tools/test_shell/mac/layout_test_helper.mm
  4315. of Chromium.
  4316. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
  4317. * DumpRenderTree/chromium/LayoutTestHelper.mm: Added.
  4318. 2010-04-15 Alexey Proskuryakov <ap@apple.com>
  4319. Reviewed by Geoff Garen.
  4320. https://bugs.webkit.org/show_bug.cgi?id=37494
  4321. <rdar://problem/7857060> REGRESSION (r57340): fast/events/mouse-drag-from-frame-to-other-frame.html
  4322. fails on Windows
  4323. * DumpRenderTree/win/EventSender.cpp: (makeEventSender):
  4324. * DumpRenderTree/win/EventSender.h:
  4325. Tell EventSender if it's being created for a top frame.
  4326. * DumpRenderTree/win/FrameLoadDelegate.cpp:
  4327. (FrameLoadDelegate::didClearWindowObjectForFrameInStandardWorld): We only want to reset
  4328. EventSender machinery when a new test is loaded, not when an iframe (or just its global
  4329. object) is created.
  4330. 2010-04-15 Adam Roben <aroben@apple.com>
  4331. Fix Windows WebKit2 build.
  4332. * MiniBrowser/win/MiniBrowser.cpp:
  4333. 2010-04-15 Ojan Vafai <ojan@chromium.org>
  4334. Reviewed by Adam Barth.
  4335. Include codereview issue number in patch description
  4336. https://bugs.webkit.org/show_bug.cgi?id=37677
  4337. This lets us know which rietveld issue this patch is tied to.
  4338. Also, make it so that --fancy-review overrides --no-review.
  4339. * Scripts/webkitpy/tool/steps/postcodereview.py:
  4340. * Scripts/webkitpy/tool/steps/postdiff.py:
  4341. 2010-04-15 Adam Roben <aroben@apple.com>
  4342. Make --exit-after-n-failures work when all tests are timing out or crashing
  4343. Fixes <http://webkit.org/b/37679>.
  4344. Reviewed by Jon Honeycutt.
  4345. * Scripts/run-webkit-tests:
  4346. (top level): When a test crashes or times out, break out of the main loop if
  4347. stopRunningTestsEarlyIfNeeded returns true. Moved some code from the bottom of the main loop
  4348. from here...
  4349. (stopRunningTestsEarlyIfNeeded): ...to here.
  4350. 2010-04-15 Sam Weinig <sam@webkit.org>
  4351. Reviewed by Anders Carlsson.
  4352. Add WebHistoryClient support.
  4353. https://bugs.webkit.org/show_bug.cgi?id=37671
  4354. Add HistoryClient logging.
  4355. * MiniBrowser/mac/BrowserWindowController.m:
  4356. (_didNavigateWithNavigationData):
  4357. (_didPerformClientRedirect):
  4358. (_didPerformServerRedirect):
  4359. (_didUpdateHistoryTitle):
  4360. (-[BrowserWindowController awakeFromNib]):
  4361. 2010-04-15 Anders Carlsson <andersca@apple.com>
  4362. Reviewed by Sam Weinig.
  4363. Start the mini browser in threaded mode if shift is pressed during startup.
  4364. https://bugs.webkit.org/show_bug.cgi?id=37670
  4365. * MiniBrowser/mac/AppDelegate.m:
  4366. (-[BrowserAppDelegate init]):
  4367. 2010-04-15 Chris Fleizach <cfleizach@apple.com>
  4368. Reviewed by Beth Dakin.
  4369. AXHelp is being appended from ancestors incorrectly
  4370. https://bugs.webkit.org/show_bug.cgi?id=37659
  4371. * DumpRenderTree/AccessibilityUIElement.cpp:
  4372. (getHelpTextCallback):
  4373. (AccessibilityUIElement::getJSClass):
  4374. * DumpRenderTree/AccessibilityUIElement.h:
  4375. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  4376. (AccessibilityUIElement::helpText):
  4377. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  4378. (AccessibilityUIElement::helpText):
  4379. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  4380. (AccessibilityUIElement::helpText):
  4381. 2010-04-15 Dirk Pranke <dpranke@chromium.org>
  4382. Reviewed by Adam Barth.
  4383. Re-format run-webkit-tests to fit in 80-columns for PEP-8 compliance.
  4384. (broken by r57463 and r57381, at least). I've also filed bug 37477
  4385. to fix check-webkit-style to catch these things.
  4386. https://bugs.webkit.org/show_bug.cgi?id=38586
  4387. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4388. 2010-04-15 Dirk Pranke <dpranke@chromium.org>
  4389. Reviewed by Dimitri Glazkov.
  4390. Add a way to override the user-visible name for the test binary since
  4391. some ports don't call it DumpRenderTree (e.g., Chromium Win uses
  4392. test_shell, Chromium Mac uses TestShell) by adding a driver_name()
  4393. method to the Port interface.
  4394. https://bugs.webkit.org/show_bug.cgi?id=37631
  4395. * Scripts/webkitpy/layout_tests/port/base.py:
  4396. * Scripts/webkitpy/layout_tests/port/chromium.py:
  4397. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  4398. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4399. 2010-04-14 Anders Carlsson <andersca@apple.com>
  4400. Reviewed by Adam Roben.
  4401. Add "Force Repaint" to debug menu.
  4402. https://bugs.webkit.org/show_bug.cgi?id=37627
  4403. * MiniBrowser/mac/BrowserWindowController.h:
  4404. * MiniBrowser/mac/BrowserWindowController.m:
  4405. (-[BrowserWindowController forceRepaint:]):
  4406. * MiniBrowser/mac/English.lproj/MainMenu.xib:
  4407. 2010-04-15 Sam Weinig <sam@webkit.org>
  4408. Reviewed by Adam Roben.
  4409. Add debug-minibrowser script.
  4410. * Scripts/debug-minibrowser: Copied from Scripts/run-minibrowser.
  4411. * Scripts/webkitdirs.pm:
  4412. 2010-04-15 Roland Steiner <rolandsteiner@chromium.org>
  4413. Reviewed by Dimitri Glazkov.
  4414. Bug 37636 - [DRT/Chromium] Implement DRT/Chromium for Windows
  4415. https://bugs.webkit.org/show_bug.cgi?id=37636
  4416. Second patch: add Windows-specific implementation parts
  4417. of TestShell.
  4418. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
  4419. * DumpRenderTree/chromium/TestShell.h:
  4420. (TestShell::finishedEvent):
  4421. * DumpRenderTree/chromium/TestShellWin.cpp:
  4422. (watchDogThread):
  4423. (TestShell::waitTestFinished):
  4424. 2010-04-15 Roland Steiner <rolandsteiner@chromium.org>
  4425. Reviewed by Dimitri Glazkov.
  4426. Bug 37636 - [DRT/Chromium] Implement DRT/Chromium for Windows
  4427. https://bugs.webkit.org/show_bug.cgi?id=37636
  4428. First patch: fix compiler errors.
  4429. * DumpRenderTree/chromium/EventSender.cpp:
  4430. (EventSender::reset):
  4431. (EventSender::dispatchMessage):
  4432. * DumpRenderTree/chromium/LayoutTestController.cpp:
  4433. (LayoutTestController::pathToLocalResource):
  4434. * DumpRenderTree/chromium/TestWebWorker.h:
  4435. * DumpRenderTree/chromium/TextInputController.cpp:
  4436. * DumpRenderTree/chromium/WebViewHost.h:
  4437. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
  4438. 2010-04-14 Luiz Agostini <luiz.agostini@openbossa.org>
  4439. Reviewed by Simon Hausmann.
  4440. [Qt] Moving setViewMode from DumpRenderTreeSupportQt to qwebpage.cpp
  4441. https://bugs.webkit.org/show_bug.cgi?id=37622
  4442. Method qt_wrt_setViewMode was removed from qwebpage.cpp by mistake in r57433
  4443. (bug 35844). Moving it back.
  4444. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  4445. (LayoutTestController::setViewModeMediaFeature):
  4446. 2010-04-15 Dirk Pranke <dpranke@chromium.org>
  4447. Reviewed by Adam Barth.
  4448. Add some very minimal unit tests for new-run-webkit-tests. This should
  4449. be enough to catch egregious brokenness like syntax errors and import
  4450. declaration issues.
  4451. https://bugs.webkit.org/show_bug.cgi?id=37432
  4452. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4453. * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py: Added.
  4454. 2010-04-14 Brian Weinstein <bweinstein@apple.com>
  4455. Reviewed by Adam Roben.
  4456. Add a way for the buildbot to kill any old processes that are running. This
  4457. is useful because the Windows bots can get in states where a process remains
  4458. running (httpd.exe, DumpRenderTree.exe), which causes the bots to get in a red
  4459. state, and the processes must be killed manually.
  4460. * BuildSlaveSupport/build.webkit.org-config/master.cfg: If we are on Windows, kill
  4461. the old processes that might be running.
  4462. * BuildSlaveSupport/win/kill-old-processes: Added.
  4463. 2010-04-14 Sam Weinig <sam@webkit.org>
  4464. Reviewed by Anders Carlsson.
  4465. Tear down WebKit more completely on window closing and application
  4466. termination. We still don't block application termination for pending
  4467. close, but this is a step in the right direction.
  4468. * MiniBrowser/mac/AppDelegate.m:
  4469. (-[BrowserAppDelegate applicationWillTerminate:]):
  4470. * MiniBrowser/mac/BrowserWindowController.h:
  4471. * MiniBrowser/mac/BrowserWindowController.m:
  4472. (-[BrowserWindowController dealloc]):
  4473. (-[BrowserWindowController windowWillClose:]):
  4474. (-[BrowserWindowController applicationTerminating]):
  4475. 2010-04-14 Adam Barth <abarth@webkit.org>
  4476. Reviewed by Eric Seidel.
  4477. Use pretty patch for confirming webkit-patch diffs
  4478. https://bugs.webkit.org/show_bug.cgi?id=37489
  4479. * Scripts/webkitpy/common/prettypatch.py: Added.
  4480. * Scripts/webkitpy/tool/commands/download_unittest.py:
  4481. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  4482. * Scripts/webkitpy/tool/mocktool.py:
  4483. * Scripts/webkitpy/tool/steps/confirmdiff.py:
  4484. 2010-04-14 Eric Seidel <eric@webkit.org>
  4485. Reviewed by Adam Barth.
  4486. Teach webkit-patch how to handle revisions missing ChangeLogs
  4487. https://bugs.webkit.org/show_bug.cgi?id=37519
  4488. Make commit_info_for_revision return None when revision
  4489. is missing a ChangeLog. Previously we would throw an array index
  4490. exception.
  4491. Teach callers how to handle None.
  4492. * Scripts/webkitpy/common/checkout/api.py:
  4493. * Scripts/webkitpy/common/checkout/api_unittest.py:
  4494. * Scripts/webkitpy/tool/commands/download.py:
  4495. * Scripts/webkitpy/tool/commands/queries.py:
  4496. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  4497. 2010-04-13 Eric Seidel <eric@webkit.org>
  4498. Reviewed by Adam Roben.
  4499. Add Qt Bot to the list of "core builders" (builders which block the commit-queue when red)
  4500. https://bugs.webkit.org/show_bug.cgi?id=33297
  4501. This is an experiment. The bots have been green for
  4502. a while. We'll see if adding them under sheriff-bot protection
  4503. will keep them green.
  4504. * Scripts/webkitpy/common/net/buildbot.py:
  4505. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  4506. 2010-04-13 Eric Seidel <eric@webkit.org>
  4507. Unreviewed, just fixing a constant in the Rietveld unit test.
  4508. * Scripts/webkitpy/common/net/rietveld_unittest.py
  4509. 2010-04-13 Eric Seidel <eric@webkit.org>
  4510. Unreviewed, just adding missing Mock to fix python tests.
  4511. * Scripts/webkitpy/tool/mocktool.py:
  4512. 2010-04-13 Ojan Vafai <ojan@chromium.org>
  4513. Reviewed by David Levin.
  4514. Add experimental prototype Rietveld integration to webkit-patch upload
  4515. https://bugs.webkit.org/show_bug.cgi?id=37418
  4516. This patch adds bare-bones integration with Rietveld for code reviews.
  4517. The behavior is hidden behind the --fancy-review command line flag.
  4518. Currently, there's no support for uploading more than one patch per
  4519. issue (which is a nice feature of Rietveld). The plan is to play with
  4520. this for a bit and see if it's useful.
  4521. Modified from Adam's original patch to autoinstall the rietveld upload script.
  4522. * Scripts/webkitpy/common/config/__init__.py:
  4523. * Scripts/webkitpy/common/net/rietveld.py: Added.
  4524. * Scripts/webkitpy/common/net/rietveld_unitttest.py: Added.
  4525. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  4526. * Scripts/webkitpy/tool/commands/upload.py:
  4527. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  4528. * Scripts/webkitpy/tool/main.py:
  4529. * Scripts/webkitpy/tool/mocktool.py:
  4530. * Scripts/webkitpy/tool/steps/__init__.py:
  4531. * Scripts/webkitpy/tool/steps/options.py:
  4532. * Scripts/webkitpy/tool/steps/postcodereview.py: Added.
  4533. * Scripts/webkitpy/tool/steps/postdiff.py:
  4534. 2010-04-13 Sam Weinig <sam@webkit.org>
  4535. Rubber-stamped by Mark Rowe.
  4536. Add Makefile to MiniBrowser.
  4537. * MiniBrowser/Makefile: Added.
  4538. 2010-04-13 Eric Seidel <eric@webkit.org>
  4539. Unreviewed, just adding a sanity check.
  4540. Add check to make sure commit-queue can never commit too short a message
  4541. https://bugs.webkit.org/show_bug.cgi?id=37528
  4542. The commit-queue made bogus messages here:
  4543. http://trac.webkit.org/changeset/57532
  4544. http://trac.webkit.org/changeset/57534
  4545. This was a regression caused by adding unicode parsing for
  4546. our ChangeLog files. Popen does not seem to play nice with
  4547. unicode strings.
  4548. I'm also adding an "assert" to make sure short ChangeLogs never happen again.
  4549. * Scripts/webkitpy/common/system/executive.py:
  4550. - Cast input to strings before passing to POpen
  4551. * Scripts/webkitpy/tool/steps/commit.py:
  4552. - Validate that commit messages are not to short.
  4553. 2010-04-13 Adam Roben <aroben@apple.com>
  4554. Robustify new-run-webkit-tests against paths with spaces in them
  4555. Reviewed by Eric Seidel.
  4556. * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
  4557. (LayoutTestApacheHttpd.__init__): Quote all paths that we pass to
  4558. Apache to ensure that paths with spaces in them are interpreted
  4559. correctly.
  4560. 2010-04-13 Csaba Osztrogonác <ossy@webkit.org>
  4561. Unreviewed buildfix after r57537.
  4562. * DumpRenderTree/qt/LayoutTestControllerQt.h: Declaration of removeOriginAccessWhitelistEntry() added.
  4563. 2010-04-13 Sam Weinig <sam@webkit.org>
  4564. Reviewed by Maciej Stachowiak.
  4565. Make building new webkit API and MiniBrowser a little easier.
  4566. * Scripts/build-webkit: Make building with --webkit2 build the
  4567. MiniBrowser as well and tell you how to use it.
  4568. * Scripts/run-minibrowser: Copied from Scripts/run-safari.
  4569. * Scripts/webkitdirs.pm: Add runMiniBrowser function.
  4570. 2010-04-12 Timothy Hatcher <timothy@apple.com>
  4571. SecurityOrigin needs a way to remove individual OriginAccessEntries
  4572. https://bugs.webkit.org/show_bug.cgi?id=37449
  4573. Reviewed by Dave Hyatt.
  4574. * DumpRenderTree/LayoutTestController.cpp:
  4575. (removeOriginAccessWhitelistEntryCallback): Added. Call LayoutTestController::removeOriginAccessWhitelistEntry.
  4576. (LayoutTestController::staticFunctions): Added removeOriginAccessWhitelistEntry.
  4577. * DumpRenderTree/LayoutTestController.h:
  4578. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  4579. (LayoutTestController::removeOriginAccessWhitelistEntry): Added. FIXME to implement.
  4580. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  4581. (LayoutTestController::removeOriginAccessWhitelistEntry): Added.
  4582. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  4583. (LayoutTestController::removeOriginAccessWhitelistEntry): Added. FIXME to implement.
  4584. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  4585. (LayoutTestController::removeOriginAccessWhitelistEntry): Added.
  4586. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  4587. (LayoutTestController::whiteListAccessFromOrigin): FIXME to implement.
  4588. (LayoutTestController::removeOriginAccessWhitelistEntry): Added. FIXME to implement.
  4589. 2010-04-13 Timothy Hatcher <timothy@apple.com>
  4590. Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry.
  4591. And LayoutTestController.whiteListAccessFromOrigin to addOriginAccessWhitelistEntry.
  4592. And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists.
  4593. SecurityOrigin needs a way to remove individual OriginAccessEntries
  4594. https://bugs.webkit.org/show_bug.cgi?id=37449
  4595. Reviewed by Dave Hyatt.
  4596. * DumpRenderTree/LayoutTestController.cpp:
  4597. (addOriginAccessWhitelistEntryCallback):
  4598. (LayoutTestController::staticFunctions):
  4599. * DumpRenderTree/LayoutTestController.h:
  4600. * DumpRenderTree/chromium/LayoutTestController.cpp:
  4601. (LayoutTestController::LayoutTestController):
  4602. (LayoutTestController::addOriginAccessWhitelistEntry):
  4603. * DumpRenderTree/chromium/LayoutTestController.h:
  4604. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  4605. (LayoutTestController::addOriginAccessWhitelistEntry):
  4606. * DumpRenderTree/mac/DumpRenderTree.mm:
  4607. (resetWebViewToConsistentStateBeforeTesting):
  4608. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  4609. (LayoutTestController::addOriginAccessWhitelistEntry):
  4610. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  4611. (LayoutTestController::addOriginAccessWhitelistEntry):
  4612. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  4613. * DumpRenderTree/win/DumpRenderTree.cpp:
  4614. (resetWebViewToConsistentStateBeforeTesting):
  4615. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  4616. (LayoutTestController::addOriginAccessWhitelistEntry):
  4617. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  4618. (LayoutTestController::addOriginAccessWhitelistEntry):
  4619. 2010-04-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  4620. Reviewed by Eric Seidel.
  4621. Remove duplicate function for new-run-webkit-tests
  4622. https://bugs.webkit.org/show_bug.cgi?id=37517
  4623. The version() function was already implemented.
  4624. * Scripts/webkitpy/layout_tests/port/webkit.py:
  4625. 2010-04-13 Eric Seidel <eric@webkit.org>
  4626. Reviewed by David Levin.
  4627. the commit-queue hates Tor Arne Vestbø
  4628. https://bugs.webkit.org/show_bug.cgi?id=37511
  4629. We were failing to read reviewers out of ChangeLogs
  4630. when the reviewer has unicode characters in his/her name.
  4631. I fixed this by explicitly decoding from utf8 every time we
  4632. read in a ChangeLog file (they are always UTF8).
  4633. * Scripts/webkitpy/common/checkout/changelog.py:
  4634. * Scripts/webkitpy/common/checkout/changelog_unittest.py:
  4635. 2010-04-13 Adam Roben <aroben@apple.com>
  4636. Fix run-webkit-tests on Windows with spaces in the path
  4637. Fixes <http://webkit.org/b/37509>.
  4638. Reviewed by Steve Falkenburg.
  4639. * Scripts/run-webkit-tests:
  4640. (convertPathUsingCygpath): Remove spaces from the path before passing
  4641. them to cygpath, then add them back in after conversion, as some
  4642. versions of cygpath seem to convert spaces into newlines.
  4643. 2010-04-13 Adam Barth <abarth@webkit.org>
  4644. Unreviewed, but approved by Dumitru Daniliuc. (This patch is intended
  4645. to fix the downstream Chromium build bots. Hopefully it will work!)
  4646. Add a driver script for the new websocket server
  4647. https://bugs.webkit.org/show_bug.cgi?id=37495
  4648. websocket_server.py can't be run directly because its a module and not
  4649. a standalone script. This used to work by accident because it didn't
  4650. depend on any other modules.
  4651. * Scripts/new-run-webkit-websocketserver: Added.
  4652. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  4653. 2010-04-12 Eric Seidel <eric@webkit.org>
  4654. Reviewed by Adam Barth.
  4655. Make new-run-webkit-test PrettyPatch failure reporting more awesome
  4656. https://bugs.webkit.org/show_bug.cgi?id=37487
  4657. I also fixed an Executive/executive typo.
  4658. * Scripts/webkitpy/layout_tests/port/base.py:
  4659. 2010-04-12 Eric Seidel <eric@webkit.org>
  4660. Reviewed by Adam Barth.
  4661. new-run-webkit-tests should only build java support files on Mac
  4662. https://bugs.webkit.org/show_bug.cgi?id=37482
  4663. Only the mac needs java support files, so I pushed _build_java
  4664. down into the Mac port using a new hook "_check_port_build".
  4665. In the process I noticed a bunch of code which could be shared
  4666. between all ports and thus got rid of _tests_for_disabled_features
  4667. and version() copy/paste between all webkit ports.
  4668. I also made check_build only bother to check for ImageDiff if we're
  4669. using pixel tests.
  4670. * Scripts/webkitpy/layout_tests/port/gtk.py:
  4671. * Scripts/webkitpy/layout_tests/port/mac.py:
  4672. * Scripts/webkitpy/layout_tests/port/qt.py:
  4673. * Scripts/webkitpy/layout_tests/port/webkit.py:
  4674. * Scripts/webkitpy/layout_tests/port/win.py:
  4675. 2010-04-12 Dumitru Daniliuc <dumi@chromium.org>
  4676. Unreviewed, trying to make scripts work on machines without
  4677. Ruby...
  4678. * Scripts/webkitpy/layout_tests/port/base.py:
  4679. 2010-04-12 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  4680. Reviewed by Eric Seidel.
  4681. Add stub files for running new-run-webkit-tests for the Qt port
  4682. * Scripts/webkitpy/layout_tests/port/factory.py:
  4683. * Scripts/webkitpy/layout_tests/port/qt.py: Added.
  4684. 2010-04-12 Dirk Pranke <dpranke@chromium.org>
  4685. Reviewed by Eric Seidel.
  4686. Modify run_webkit_tests.py to not call sys.exit() at the end of test
  4687. run; doing so makes it more difficult to embed the routine for,
  4688. among other things, unit tests. We push the exit calling up into
  4689. new-run-webkit-tests.
  4690. https://bugs.webkit.org/show_bug.cgi?id=37464
  4691. * Scripts/new-run-webkit-tests:
  4692. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4693. 2010-04-12 Eric Seidel <eric@webkit.org>
  4694. Unreviewed.
  4695. Add stub Gtk implementation for new-run-webkit-tests.
  4696. * Scripts/webkitpy/layout_tests/port/factory.py:
  4697. * Scripts/webkitpy/layout_tests/port/gtk.py: Added.
  4698. 2010-04-12 Eric Seidel <eric@webkit.org>
  4699. Reviewed by Adam Barth.
  4700. new-run-webkit-tests fails with exception on systems missing ruby
  4701. https://bugs.webkit.org/show_bug.cgi?id=37441
  4702. * Scripts/webkitpy/layout_tests/port/base.py:
  4703. - Catch failures similar to how wdiff code path does.
  4704. - After one failure, stop trying.
  4705. 2010-04-12 Tony Chang <tony@chromium.org>
  4706. Reviewed by Eric Seidel.
  4707. Fix how we import simplejson based on how it's used in this file.
  4708. This fixes exceptions raised when trying to write the simplejson output.
  4709. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4710. 2010-04-11 Chris Jerdonek <cjerdonek@webkit.org>
  4711. Reviewed by Shinichiro Hamaji.
  4712. Refactored check-webkit-style so that the StyleChecker class
  4713. has no dependencies on patch-related concepts.
  4714. https://bugs.webkit.org/show_bug.cgi?id=37065
  4715. This patch is an intermediate step towards making the StyleChecker
  4716. class a generalized file processor that can do arbitary operations
  4717. on the files corresponding to a list of paths. This patch
  4718. also simplifies the unit-testing of patch-checking code.
  4719. * Scripts/check-webkit-style:
  4720. - Updated to use the new PatchChecker class.
  4721. * Scripts/webkitpy/style/checker.py:
  4722. - Refactored the StyleChecker.check_patch() method into the
  4723. check() method of a new PatchChecker class.
  4724. * Scripts/webkitpy/style/checker_unittest.py:
  4725. - Refactored the unit tests as necessary, changing the
  4726. StyleCheckerCheckPatchTest class to a PatchCheckerTest class.
  4727. 2010-04-11 Adam Barth <abarth@webkit.org>
  4728. Unreviewed.
  4729. Fix new-run-webkit-tests regressions cased by Eric's option parsing patch
  4730. https://bugs.webkit.org/show_bug.cgi?id=37430
  4731. We need some basic unit testing of this script, or we're going to keep
  4732. breaking it like this. Added missing namespace qualifiers and
  4733. propagated renaming of an option.
  4734. * Scripts/webkitpy/common/config/ports.py:
  4735. * Scripts/webkitpy/layout_tests/driver_test.py:
  4736. * Scripts/webkitpy/layout_tests/port/base.py:
  4737. * Scripts/webkitpy/layout_tests/port/mac.py:
  4738. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4739. 2010-04-11 Eric Seidel <eric@webkit.org>
  4740. Reviewed by Adam Barth.
  4741. Break new-run-webkit-tests options into groups for easier re-use and possible relocation
  4742. https://bugs.webkit.org/show_bug.cgi?id=37408
  4743. new-run-webkit-tests currently has one huge function for
  4744. dealing with all options-parsing.
  4745. This patch is a first attempt at trying to split that large
  4746. function down into smaller (hopefully more readable?) chunks
  4747. dealing with the different areas of options.
  4748. For example, it would make sense to move configuration
  4749. options off into some module which deals with the vagries of
  4750. WebKit's configuration system. It would also make sense to move
  4751. Chromium options off onto the Chromium port object (where they are used).
  4752. It may make sense to move results.json options over to the results.json code.
  4753. This change is a first iteration, and we will certainly need more
  4754. refinement to this code over time. Hopefully I didn't make things
  4755. harder to read here.
  4756. * Scripts/webkitpy/layout_tests/driver_test.py:
  4757. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4758. 2010-04-11 Adam Barth <abarth@webkit.org>
  4759. Reviewed by Eric Seidel.
  4760. create-rollout copy needs to be updated to reflect removal of --no-build
  4761. https://bugs.webkit.org/show_bug.cgi?id=37425
  4762. Removed --no-build and --no-test from the instructions because these
  4763. don't exist anymore.
  4764. * Scripts/webkitpy/tool/commands/download_unittest.py:
  4765. - Updated the expected results to reflect the new copy.
  4766. * Scripts/webkitpy/tool/steps/postdiffforrevert.py:
  4767. 2010-04-11 Sheriff Bot <webkit.review.bot@gmail.com>
  4768. Unreviewed, rolling out r57460.
  4769. http://trac.webkit.org/changeset/57460
  4770. https://bugs.webkit.org/show_bug.cgi?id=37424
  4771. broke chromium builders (Requested by tony^work on #webkit).
  4772. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
  4773. 2010-04-11 Tony Chang <tony@chromium.org>
  4774. Reviewed by Darin Fisher.
  4775. [chromium] update chromium DEPS for upstream compile
  4776. https://bugs.webkit.org/show_bug.cgi?id=36578
  4777. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Small fix to avoid a circular dependency between
  4778. WebKit.gyp and webkit.gyp.
  4779. 2010-04-11 Joseph Pecoraro <joepeck@webkit.org>
  4780. Reviewed by Eric Seidel.
  4781. svn-apply errors out when removing directories in git
  4782. https://bugs.webkit.org/show_bug.cgi?id=34871
  4783. * Scripts/svn-apply:
  4784. (isDirectoryEmptyForRemoval): early break if the directory doesn't exist
  4785. (scmRemove): have git ignore unmatched files
  4786. 2010-04-11 Daniel Bates <dbates@rim.com>
  4787. No review, rolling out 57440.
  4788. http://trac.webkit.org/changeset/57440
  4789. https://bugs.webkit.org/show_bug.cgi?id=27204
  4790. Did not handle Git patches that included both file and property
  4791. changes to the same file. Rolling this change out while I look
  4792. into this.
  4793. * Scripts/VCSUtils.pm:
  4794. * Scripts/svn-apply:
  4795. * Scripts/svn-unapply:
  4796. * Scripts/webkitperl/VCSUtils_unittest/appendSVNExecutableBitChangeToPatch.pl: Removed.
  4797. * Scripts/webkitperl/VCSUtils_unittest/parseGitFileMode.pl: Removed.
  4798. * Scripts/webkitperl/VCSUtils_unittest/parseStartOfPatchOrPropertyChangeAndEndOfPropertyChange.pl: Removed.
  4799. 2010-04-11 Adam Barth <abarth@webkit.org>
  4800. Reviewed by Eric Seidel.
  4801. Fix typo in log path for AbstractQueue
  4802. https://bugs.webkit.org/show_bug.cgi?id=37414
  4803. * Scripts/webkitpy/tool/commands/queues.py:
  4804. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  4805. 2010-04-11 Adam Barth <abarth@webkit.org>
  4806. Unreviewed. Add missing import statement.
  4807. * Scripts/webkitpy/common/system/executive.py:
  4808. 2010-04-11 Robert Hogan <robert@webkit.org>
  4809. Reviewed by Simon Hausmann.
  4810. [Qt] Add setWillSendRequestReturnsNull and setWillSendRequestClearHeader
  4811. https://bugs.webkit.org/show_bug.cgi?id=37410
  4812. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  4813. (LayoutTestController::reset):
  4814. (LayoutTestController::setWillSendRequestReturnsNull):
  4815. (LayoutTestController::setWillSendRequestClearHeader):
  4816. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  4817. 2010-04-11 Csaba Osztrogonác <ossy@webkit.org>
  4818. [Qt] Unreviewed buildfix for --debug build after r57433.
  4819. Refactor Qt DRT support in QtWebKit
  4820. https://bugs.webkit.org/show_bug.cgi?id=35844
  4821. * QtLauncher/main.cpp: qt_drt_garbageCollector_collect(); renamed to DumpRenderTreeSupportQt::garbageCollectorCollect();
  4822. (launcherMain):
  4823. 2010-04-11 Joseph Pecoraro <joepeck@webkit.org>
  4824. Reviewed by Mark Rowe.
  4825. Make commit-log-editor Rubber-stamp aware. And other minor cleanups.
  4826. https://bugs.webkit.org/show_bug.cgi?id=37407
  4827. * Scripts/commit-log-editor:
  4828. 2010-04-11 Eric Seidel <eric@webkit.org>
  4829. Reviewed by Adam Barth.
  4830. Add PrettyPatch links to new-run-webkit-tests output
  4831. https://bugs.webkit.org/show_bug.cgi?id=37406
  4832. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
  4833. - We're leaking a file handle here, add a FIXME.
  4834. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  4835. - Add pretty diff links.
  4836. * Scripts/webkitpy/layout_tests/port/base.py:
  4837. - Add support for generating pretty diffs using PrettyPatch.
  4838. * Scripts/webkitpy/layout_tests/port/webkit.py:
  4839. - We're leaking another file handle here, another FIXME.
  4840. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  4841. - Update write_output_files signature.
  4842. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  4843. - Remove unused arguments from write_output_files.
  4844. - Add support for dumping pretty diffs to write_output_files.
  4845. - Fix a bunch of file descriptor leaks in this file.
  4846. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  4847. - Update write_output_files signature.
  4848. 2010-04-10 Adam Barth <abarth@webkit.org>
  4849. Reviewed by Eric Seidel.
  4850. kill_process is copy/pasted in five places
  4851. https://bugs.webkit.org/show_bug.cgi?id=37405
  4852. We shouldn't replicate the kill_process logic in every port. Instead,
  4853. we should move the process interaction to Executive.
  4854. Dirk mentioned that he wanted this abstraction to make it easier to
  4855. mock things out for testing. It turns out this function is only used
  4856. in one place where it can't be used as a mock point for testing because
  4857. the corresponding create process actually creates a real process. In
  4858. the long term, we should indirect both these calls through a non-static
  4859. Executive as a mock point. However, we should wait on that until we
  4860. actually want to write the test.
  4861. * Scripts/webkitpy/layout_tests/port/base.py:
  4862. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  4863. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  4864. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  4865. * Scripts/webkitpy/layout_tests/port/mac.py:
  4866. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  4867. * Scripts/webkitpy/layout_tests/port/win.py:
  4868. 2010-04-10 Adam Barth <abarth@webkit.org>
  4869. Reviewed by Eric Seidel.
  4870. new-run-webkit-tests shouldn't alter its path to import packages
  4871. https://bugs.webkit.org/show_bug.cgi?id=37404
  4872. * Scripts/new-run-webkit-tests:
  4873. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  4874. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  4875. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  4876. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4877. * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py:
  4878. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  4879. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  4880. * Scripts/webkitpy/thirdparty/simplejson/decoder.py:
  4881. 2010-04-10 Eric Seidel <eric@webkit.org>
  4882. Reviewed by Adam Barth.
  4883. new-run-webkit-tests should store results to a directory under the build tree
  4884. https://bugs.webkit.org/show_bug.cgi?id=37380
  4885. * Scripts/webkitpy/layout_tests/port/webkit.py:
  4886. 2010-04-10 Daniel Bates <dbates@rim.com>
  4887. Reviewed by Eric Seidel.
  4888. https://bugs.webkit.org/show_bug.cgi?id=27204
  4889. Implement support for changing the executable bit of a file.
  4890. The executable bit is among the most changed file properties.
  4891. Future support can include other property changes.
  4892. Currently, if a patch changes the executable bit of a file
  4893. it is not respected by svn-apply or svn-unapply. Since the
  4894. commit-queue bot uses these tools as part of its workflow,
  4895. such patches cannot be committed by it. That is, such patches
  4896. need to be committed by hand. Instead, we should add support
  4897. for the executable bit so that such patches can be committed
  4898. by the commit-queue bot.
  4899. * Scripts/VCSUtils.pm: Also change reference to Apple Computer, Inc.
  4900. in copyright to Apple, Inc.
  4901. * Scripts/svn-apply:
  4902. * Scripts/svn-unapply:
  4903. * Scripts/webkitperl/VCSUtils_unittest/appendSVNExecutableBitChangeToPatch.pl: Added.
  4904. * Scripts/webkitperl/VCSUtils_unittest/parseGitFileMode.pl: Added.
  4905. * Scripts/webkitperl/VCSUtils_unittest/parseStartOfPatchOrPropertyChangeAndEndOfPropertyChange.pl: Added.
  4906. 2010-04-10 Eric Seidel <eric@webkit.org>
  4907. Reviewed by Adam Barth.
  4908. WinEWS bot fails to svn update because scm.clean_working_directory leaves files around
  4909. https://bugs.webkit.org/show_bug.cgi?id=37401
  4910. The Git-based bots don't have this trouble because
  4911. Git.clean_working_directory fully removes files that were
  4912. marked as "add". SVN.clean_working_directory previously just
  4913. called "svn revert" which would leave added files in the
  4914. working directory untracked. This patch makes
  4915. SVN.clean_working_directory function more like
  4916. Git.clean_working_directory by removing added files after revert.
  4917. * Scripts/webkitpy/common/checkout/scm.py:
  4918. - Add SCM.absolute_path for easy conversion between
  4919. repository-relative paths and absolute paths.
  4920. - Add SCM.add and SCM.added_files
  4921. - Make SVN.clean_working_directory remove any added_files after svn revert.
  4922. - The new unit tests found a bug in Git.status_command, change to use git diff --name-status instead.
  4923. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  4924. - Add tests for added code.
  4925. 2010-04-10 Adam Barth <abarth@webkit.org>
  4926. Reviewed by Eric Seidel.
  4927. new-run-webkit-tests can't find ImageDiff on Windows
  4928. https://bugs.webkit.org/show_bug.cgi?id=37403
  4929. It turns out the build directory on Windows is structured differently
  4930. than it is on other platforms. Instead of assuming the normal
  4931. structure, we should just ask perl to figure it out for us.
  4932. * Scripts/webkitpy/layout_tests/port/webkit.py:
  4933. 2010-04-10 Adam Barth <abarth@webkit.org>
  4934. Rubber-stamped by Eric Seidel.
  4935. Change "Gathering files" status line to "Collecting tests". Gathering
  4936. the files sounds silly to me.
  4937. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  4938. 2010-04-10 Adam Barth <abarth@webkit.org>
  4939. Reviewed by Eric Seidel.
  4940. Fix bugs to make new-run-webkit-tests almost run on windows
  4941. https://bugs.webkit.org/show_bug.cgi?id=37400
  4942. Fix some minor bugs that prevent new-run-webkit-tests from being run on
  4943. Windows. I still haven't run it to completion, but I'm getting
  4944. further.
  4945. * Scripts/webkitpy/layout_tests/port/factory.py:
  4946. * Scripts/webkitpy/layout_tests/port/webkit.py:
  4947. 2010-04-10 Robert Hogan <robert@webkit.org>
  4948. Reviewed by Kenneth Rohde Christiansen.
  4949. Refactor Qt DRT support in QtWebKit
  4950. Update Qt DRT to use new DumpRenderTreeSupportQt static class.
  4951. https://bugs.webkit.org/show_bug.cgi?id=35844
  4952. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  4953. (WebCore::DumpRenderTree::DumpRenderTree):
  4954. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  4955. (WebCore::DumpRenderTree::dumpFramesAsText):
  4956. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  4957. * DumpRenderTree/qt/GCControllerQt.cpp:
  4958. (GCController::collect):
  4959. (GCController::collectOnAlternateThread):
  4960. (GCController::getJSObjectCount):
  4961. * DumpRenderTree/qt/GCControllerQt.h:
  4962. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  4963. (LayoutTestController::counterValueForElementById):
  4964. (LayoutTestController::setViewModeMediaFeature):
  4965. (LayoutTestController::setMediaType):
  4966. (LayoutTestController::closeWebInspector):
  4967. (LayoutTestController::showWebInspector):
  4968. (LayoutTestController::evaluateInWebInspector):
  4969. (LayoutTestController::setFrameFlatteningEnabled):
  4970. (LayoutTestController::setJavaScriptProfilingEnabled):
  4971. (LayoutTestController::setTimelineProfilingEnabled):
  4972. (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
  4973. (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
  4974. (LayoutTestController::sampleSVGAnimationForElementAtTime):
  4975. (LayoutTestController::numberOfActiveAnimations):
  4976. (LayoutTestController::whiteListAccessFromOrigin):
  4977. (LayoutTestController::setCaretBrowsingEnabled):
  4978. (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
  4979. (LayoutTestController::workerThreadCount):
  4980. (LayoutTestController::pageNumberForElementById):
  4981. (LayoutTestController::numberOfPages):
  4982. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  4983. 2010-04-10 Adam Barth <abarth@webkit.org>
  4984. Reviewed by Eric Seidel.
  4985. Move global queue log to the logs directory so it survives git clean -f
  4986. https://bugs.webkit.org/show_bug.cgi?id=37395
  4987. * Scripts/webkitpy/tool/commands/queues.py:
  4988. 2010-04-10 Adam Barth <abarth@webkit.org>
  4989. Reviewed by Eric Seidel.
  4990. SheriffBot should spam when it encounters errors
  4991. https://bugs.webkit.org/show_bug.cgi?id=37329
  4992. We need to always update the status server so we don't get stuck in a
  4993. spam loop. I tried writing a test for this change, but it kind of
  4994. got out of control. We need a better way to do failure injection.
  4995. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  4996. 2010-04-10 Adam Barth <abarth@webkit.org>
  4997. Unreviewed attempt to fix the Chromium Mac canary.
  4998. * Scripts/webkitpy/common/config/ports.py:
  4999. * Scripts/webkitpy/common/config/ports_unittest.py:
  5000. * Scripts/webkitpy/common/system/executive.py:
  5001. 2010-04-10 Adam Barth <abarth@webkit.org>
  5002. Unreviewed.
  5003. Add the Apache bits to win.py for new-run-webkit-tests
  5004. https://bugs.webkit.org/show_bug.cgi?id=37397
  5005. I still have run this yet, but I looked around to figure out what the
  5006. various paths appear to be. I'll figure out a way to remove the
  5007. copy/paste code in a future patch.
  5008. * Scripts/webkitpy/layout_tests/port/mac.py:
  5009. * Scripts/webkitpy/layout_tests/port/webkit.py:
  5010. * Scripts/webkitpy/layout_tests/port/win.py:
  5011. 2010-04-10 Adam Barth <abarth@webkit.org>
  5012. Reviewed by Eric Seidel.
  5013. Sketch out the win port for new-run-webkit-tests
  5014. https://bugs.webkit.org/show_bug.cgi?id=37393
  5015. I haven't tried running this yet, but we've got to start somewhere.
  5016. * Scripts/webkitpy/layout_tests/port/factory.py:
  5017. * Scripts/webkitpy/layout_tests/port/mac.py:
  5018. * Scripts/webkitpy/layout_tests/port/webkit.py:
  5019. * Scripts/webkitpy/layout_tests/port/win.py: Added.
  5020. 2010-04-10 Ojan Vafai <ojan@chromium.org>
  5021. Reviewed by Adam Barth.
  5022. webkit-patch land should not build and test by default
  5023. https://bugs.webkit.org/show_bug.cgi?id=33631
  5024. Reverse the sense of --no-build and --no-test to be --build and --test.
  5025. Also, decoupled the build and test options so you can test without
  5026. building.
  5027. (Patch manngled by Adam Barth. All bugs are his fault.)
  5028. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  5029. * Scripts/webkitpy/tool/commands/queues.py:
  5030. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  5031. * Scripts/webkitpy/tool/steps/options.py:
  5032. * Scripts/webkitpy/tool/steps/runtests.py:
  5033. 2010-04-10 Adam Barth <abarth@webkit.org>
  5034. Reviewed by Eric Seidel.
  5035. Factor WebKitPort out of MacPort to allow for WinPort
  5036. https://bugs.webkit.org/show_bug.cgi?id=37388
  5037. The split is a bit of a guess. We might have to adjust things once we
  5038. actually have a second port to work with.
  5039. * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
  5040. * Scripts/webkitpy/layout_tests/port/mac.py:
  5041. * Scripts/webkitpy/layout_tests/port/webkit.py: Added.
  5042. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  5043. 2010-04-10 Adam Barth <abarth@webkit.org>
  5044. Reviewed by Eric Seidel.
  5045. run_webkit_tests.py shouldn't have platform-specific logic
  5046. https://bugs.webkit.org/show_bug.cgi?id=37387
  5047. Dirk Pranke pointed out that my last patch was wrong because I
  5048. introduced platform-specific logic into run_webkit_tests.py, limiting
  5049. the parallelism in Chromium to work around a bug in the main Mac port.
  5050. * Scripts/webkitpy/common/system/executive.py:
  5051. - Fix a typo pointed out by Chris Jerdonek.
  5052. * Scripts/webkitpy/layout_tests/port/base.py:
  5053. * Scripts/webkitpy/layout_tests/port/mac.py:
  5054. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5055. 2010-04-10 Robert Hogan <robert@webkit.org>
  5056. Unreviewed fix to regressions in r57416.
  5057. [Qt] Fix regressions in http/tests/navigation from r57416
  5058. Reset willSendRequestReturnsNullOnRedirect after each test to
  5059. prevent it leaking to subsequent tests.
  5060. Error pointed out by Jakub Wieczorek.
  5061. https://bugs.webkit.org/show_bug.cgi?id=37237
  5062. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  5063. (LayoutTestController::reset):
  5064. 2010-04-11 Robert Hogan <robert@webkit.org>
  5065. Reviewed by Simon Hausmann.
  5066. [Qt] Update layoutTestController.DumpResourceLoadCallbacks to match other ports.
  5067. Add support for layoutTestController.setWillSendRequestReturnsNullOnRedirect to Qt DRT.
  5068. Prevent dumping resource load callbacks once layout test has dumped.
  5069. https://bugs.webkit.org/show_bug.cgi?id=37237
  5070. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  5071. (WebCore::DumpRenderTree::dump):
  5072. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  5073. (LayoutTestController::setWillSendRequestReturnsNullOnRedirect):
  5074. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  5075. 2010-04-10 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  5076. Reviewed by Kenneth Rohde Christiansen.
  5077. [Qt] Implement Desktop Notifications API for QtWebKit
  5078. https://bugs.webkit.org/show_bug.cgi?id=35503
  5079. DRT stubs for notification. Enables to run and pass
  5080. 3 (currently disabled) tests.
  5081. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  5082. (LayoutTestController::LayoutTestController):
  5083. (LayoutTestController::grantDesktopNotificationPermission):
  5084. (LayoutTestController::checkDesktopNotificationPermission):
  5085. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  5086. 2010-04-09 Dumitru Daniliuc <dumi@chromium.org>
  5087. Unreviewed, another change to executive.py to make it run with
  5088. python 2.4.
  5089. * Scripts/webkitpy/common/system/executive.py:
  5090. 2010-04-09 Dumitru Daniliuc <dumi@chromium.org>
  5091. Unreviewed, attempting to make executive.py run with python 2.4
  5092. (which is still used on Chromium's Windows canary bot).
  5093. * Scripts/webkitpy/common/system/executive.py:
  5094. 2010-04-09 Kevin Watters <kevinwatters@gmail.com>
  5095. Reviewed by Eric Seidel.
  5096. [wx] Basic implementation of SVG support for wx port.
  5097. * wx/build/settings.py:
  5098. 2010-04-09 Adam Barth <abarth@webkit.org>
  5099. Reviewed by Eric Seidel.
  5100. Don't reinvent Executive.cpu_count for every port
  5101. https://bugs.webkit.org/show_bug.cgi?id=37377
  5102. mac.py and chromium_mac.py had some copy/paste code. This code doesn't
  5103. actually have anything to do with WebKit ports. It's really just
  5104. something in the multiprocessing package. The lame bit is that package
  5105. isn't available in older versions of Python, so we need to implement a
  5106. fallback. However, we already have the fallback in common. We don't
  5107. need to reinvent it specificly for layout_tests.
  5108. * Scripts/webkitpy/common/system/executive.py:
  5109. * Scripts/webkitpy/layout_tests/port/base.py:
  5110. * Scripts/webkitpy/layout_tests/port/chromium.py:
  5111. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  5112. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  5113. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  5114. * Scripts/webkitpy/layout_tests/port/mac.py:
  5115. * Scripts/webkitpy/layout_tests/port/test.py:
  5116. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5117. 2010-04-09 Adam Barth <abarth@webkit.org>
  5118. Reviewed by Eric Seidel.
  5119. new-run-webkit-tests --release fails to build release DRT when global configuration is Debug
  5120. https://bugs.webkit.org/show_bug.cgi?id=37376
  5121. We need to explicitly pass the --release flag. I bet there are more
  5122. instances of this bug.
  5123. * Scripts/webkitpy/layout_tests/port/base.py:
  5124. * Scripts/webkitpy/layout_tests/port/mac.py:
  5125. 2010-04-09 Tony Chang <tony@chromium.org>
  5126. Reviewed by Eric Seidel.
  5127. [chromium] DRT compile fix on win/linux
  5128. https://bugs.webkit.org/show_bug.cgi?id=37314
  5129. Looks like this was missed when upstreaming.
  5130. * DumpRenderTree/chromium/EventSender.cpp:
  5131. (applyKeyModifier):
  5132. 2010-04-09 Adam Barth <abarth@webkit.org>
  5133. Unreviewed, but approved by Dirk Pranke.
  5134. rename test_expectations_test.py to test_expectations_unittest.py so it actually gets run
  5135. https://bugs.webkit.org/show_bug.cgi?id=37372
  5136. We need to end unit tests with _unittest.py for them to be autodetected
  5137. by the test harness. +6 tests.
  5138. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/layout_package/test_expectations_test.py.
  5139. 2010-04-09 Adam Barth <abarth@webkit.org>
  5140. Reviewed by Eric Seidel.
  5141. new-run-webkit-tests should talk about DumpRenderTree not test_shell
  5142. https://bugs.webkit.org/show_bug.cgi?id=37371
  5143. test_shell is some strange Chromium thing.
  5144. DumpRenderTree (tm) is the real deal.
  5145. * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py: Added.
  5146. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  5147. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  5148. * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: Removed.
  5149. * Scripts/webkitpy/layout_tests/port/chromium.py:
  5150. * Scripts/webkitpy/layout_tests/port/server_process.py:
  5151. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5152. 2010-04-09 Zoltan Horvath <zoltan@webkit.org>
  5153. Reviewed by Alexey Proskuryakov.
  5154. Fix 2 issues (what were introduced in r56524) in svn-create-patch's generateDiff()
  5155. https://bugs.webkit.org/show_bug.cgi?id=32582
  5156. Add missing return variable. Initialize $patch variable and remove unnecessary condition.
  5157. * Scripts/svn-create-patch:
  5158. 2010-04-09 Kevin Ollivier <kevino@theolliviers.com>
  5159. [wx] Build fix after addition of LayoutTestController method.
  5160. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  5161. (LayoutTestController::computedStyleIncludingVisitedInfo):
  5162. 2010-04-09 Sam Weinig <sam@webkit.org>
  5163. Reviewed by Anders Carlsson.
  5164. Fix for https://bugs.webkit.org/show_bug.cgi?id=37368
  5165. Add MiniBrowser.
  5166. * MiniBrowser: Added.
  5167. * MiniBrowser/MiniBrowser.vcproj: Added.
  5168. * MiniBrowser/MiniBrowser.xcodeproj: Added.
  5169. * MiniBrowser/MiniBrowser.xcodeproj/project.pbxproj: Added.
  5170. * MiniBrowser/mac: Added.
  5171. * MiniBrowser/mac/AppDelegate.h: Added.
  5172. * MiniBrowser/mac/AppDelegate.m: Added.
  5173. * MiniBrowser/mac/BrowserWindowController.h: Added.
  5174. * MiniBrowser/mac/BrowserWindowController.m: Added.
  5175. * MiniBrowser/mac/English.lproj: Added.
  5176. * MiniBrowser/mac/English.lproj/BrowserWindow.xib: Added.
  5177. * MiniBrowser/mac/English.lproj/InfoPlist.strings: Added.
  5178. * MiniBrowser/mac/English.lproj/MainMenu.xib: Added.
  5179. * MiniBrowser/mac/MiniBrowser-Info.plist: Added.
  5180. * MiniBrowser/mac/MiniBrowser_Prefix.pch: Added.
  5181. * MiniBrowser/mac/main.m: Added.
  5182. * MiniBrowser/win: Added.
  5183. * MiniBrowser/win/BrowserView.cpp: Added.
  5184. * MiniBrowser/win/BrowserView.h: Added.
  5185. * MiniBrowser/win/BrowserWindow.cpp: Added.
  5186. * MiniBrowser/win/BrowserWindow.h: Added.
  5187. * MiniBrowser/win/MiniBrowser.cpp: Added.
  5188. * MiniBrowser/win/MiniBrowser.h: Added.
  5189. * MiniBrowser/win/MiniBrowser.rc: Added.
  5190. * MiniBrowser/win/Resources: Added.
  5191. * MiniBrowser/win/main.cpp: Added.
  5192. * MiniBrowser/win/resource.h: Added.
  5193. * MiniBrowser/win/stdafx.cpp: Added.
  5194. * MiniBrowser/win/stdafx.h: Added.
  5195. 2010-04-09 Eric Seidel <eric@webkit.org>
  5196. Reviewed by Adam Barth.
  5197. webkit-patch attached my patch to the wrong bug
  5198. https://bugs.webkit.org/show_bug.cgi?id=37015
  5199. The problem here is that SVN was violating SCM's implicit
  5200. contract of always returning paths relative to the repository root.
  5201. That can easily be fixed by telling SVN that the CWD is the repository root.
  5202. When fixing this I realized there are a large number of places in SCM.py where
  5203. we want to consider explicitly passing self.checkout_root as the CWD.
  5204. That would allow scm methods to be executed even when the CWD is not inside
  5205. the scm tree at all, and would also make sure (in the case of SVN) that paths
  5206. returned are relative to the root. Git (almost always) returns paths relative
  5207. to the repository root.
  5208. * Scripts/webkitpy/common/checkout/scm.py:
  5209. - Explicitly pass self.checkout_root as cwd in run_status_and_extract_filenames
  5210. - Add a ton of FIXMEs about the need to go back and decide which methods require cwd=self.checkout_root
  5211. and which do not. We'll probably add a helper function to scm (likely SCM._run) which
  5212. always passes cwd=self.checkout_root to Executive.run_command
  5213. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  5214. - Add a test for this change.
  5215. * Scripts/webkitpy/tool/commands/upload.py:
  5216. - Removed the explicit os.chdir to the repository root, since scm.py methods
  5217. should be robust against the cwd not being equal to the root.
  5218. 2010-04-09 Adam Roben <aroben@apple.com>
  5219. Don't return 0 as a JSValueRef
  5220. That is an illegal use of the JSC API.
  5221. Fixes <http://webkit.org/b/37333> REGRESSION (r57292): :visited tests
  5222. are asserting on debug Windows and GTK builds
  5223. Reviewed by Anders Carlsson.
  5224. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5225. (LayoutTestController::computedStyleIncludingVisitedInfo):
  5226. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  5227. (LayoutTestController::computedStyleIncludingVisitedInfo):
  5228. Return an "undefined" JSValueRef instead of 0.
  5229. 2010-04-09 Csaba Osztrogonác <ossy@webkit.org>
  5230. Reviewed by Eric Seidel.
  5231. Make DumpRenderTree parallelizable
  5232. https://bugs.webkit.org/show_bug.cgi?id=36899
  5233. * DumpRenderTree/mac/DumpRenderTree.mm:
  5234. (libraryPathForDumpRenderTree): Use DUMPRENDERTREE_TEMP if exist.
  5235. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  5236. (WebCore::DumpRenderTree::DumpRenderTree): Use DUMPRENDERTREE_TEMP if exist.
  5237. * Scripts/run-webkit-tests:
  5238. - Create a unique temporary directory and pass its path to
  5239. DumpRenderTree with DUMPRENDERTREE_TEMP environment variable.
  5240. 2010-04-09 Mark Rowe <mrowe@apple.com>
  5241. Reviewed by Oliver Hunt.
  5242. <http://webkit.org/b/37326> IDL files are being copied in to the WebCore framework again
  5243. Add a script to detect the presence of inappropriate files in the frameworks. At present
  5244. it only looks for .css, .idl and .in files in the top level of WebCore.framework/Resources,
  5245. as these are the only cases we've encountered recently. It can be extended to check the
  5246. other frameworks or for other inappropriate files in the future.
  5247. * Scripts/check-for-inappropriate-files-in-framework: Added.
  5248. 2010-04-08 Sam Weinig <sam@webkit.org>
  5249. Reviewed by Darin Adler.
  5250. Add option to build WebKit2 to build-webkit.
  5251. * Scripts/build-webkit:
  5252. 2010-04-08 Darin Adler <darin@apple.com>
  5253. Reviewed by Alexey Proskuryakov.
  5254. run-webkit-tests should respect argument order
  5255. https://bugs.webkit.org/show_bug.cgi?id=37257
  5256. * Scripts/run-webkit-tests: Changed so that sorting is done only
  5257. on the results of iterating directories. Test order is based on
  5258. what's passed on the command line. Removed code that aimed to
  5259. eliminate duplicates since it can be useful to run the same test
  5260. more than once.
  5261. 2010-04-07 David Hyatt <hyatt@apple.com>
  5262. Reviewed by Oliver Hunt.
  5263. https://bugs.webkit.org/show_bug.cgi?id=24300, don't expose history info via CSS. Add a new method for
  5264. obtaining computed style with :visited info included. This allows layout tests to actually tell that
  5265. :visited is in effect.
  5266. * DumpRenderTree/LayoutTestController.cpp:
  5267. (computedStyleIncludingVisitedInfoCallback):
  5268. (LayoutTestController::staticFunctions):
  5269. * DumpRenderTree/LayoutTestController.h:
  5270. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  5271. (LayoutTestController::computedStyleIncludingVisitedInfo):
  5272. 2010-04-07 Dirk Pranke <dpranke@chromium.org>
  5273. Reviewed by Adam Barth.
  5274. Enable rebaseline-chromium-webkit-tests to run from a webkit-only
  5275. checkout (i.e., you don't need anything from the Chromium tree checked
  5276. out). This requires us to introduce the concept of a "target"
  5277. port/platform that we use to get configuration information from as well
  5278. as the "running" port that we use to make directories and diff images
  5279. and the "rebaselining" port we use to actually manage baselines.
  5280. https://bugs.webkit.org/show_bug.cgi?id=37238
  5281. * Scripts/webkitpy/layout_tests/port/mac.py:
  5282. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  5283. 2010-04-05 Antonio Gomes <tonikitoo@webkit.org>
  5284. Reviewed by Simon Hausmann.
  5285. [Qt] REGRESSION:(r50665) QWebFrame::setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff) has no effect.
  5286. https://bugs.webkit.org/show_bug.cgi?id=29431
  5287. Added stubs for Mac, win, gtk and wx DRTs to implement setScrollbarPolicy method.
  5288. * DumpRenderTree/LayoutTestController.cpp:
  5289. (setScrollbarPolicyCallback):
  5290. (LayoutTestController::staticFunctions):
  5291. * DumpRenderTree/LayoutTestController.h:
  5292. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5293. (LayoutTestController::setScrollbarPolicy):
  5294. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  5295. (LayoutTestController::setScrollbarPolicy):
  5296. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  5297. (LayoutTestController::setScrollbarPolicy):
  5298. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  5299. (LayoutTestController::setScrollbarPolicy):
  5300. 2010-04-01 Antonio Gomes <tonikitoo@webkit.org>
  5301. Reviewed by David Hyatt.
  5302. [Qt] REGRESSION:(r50665) QWebFrame::setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff) has no effect.
  5303. https://bugs.webkit.org/show_bug.cgi?id=29431
  5304. Make possible to DRT to set scrollbar policies (on, off or auto).
  5305. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  5306. (LayoutTestController::setScrollbarPolicy):
  5307. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  5308. * QtLauncher/main.cpp:
  5309. (LauncherWindow::toggleScrollbars):
  5310. (LauncherWindow::createChrome):
  5311. 2010-04-08 Adam Barth <abarth@webkit.org>
  5312. Reviewed by Eric Seidel.
  5313. new-run-webkit-tests should give a percent complete indication
  5314. https://bugs.webkit.org/show_bug.cgi?id=37258
  5315. Because it's awesome.
  5316. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5317. 2010-04-08 Adam Barth <abarth@webkit.org>
  5318. Unreviewed.
  5319. Add back the --target option because it's needed by the downstream
  5320. Chromium bots.
  5321. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5322. 2010-04-08 Adam Barth <abarth@webkit.org>
  5323. Reviewed by Eric Seidel.
  5324. new-run-webkit-tests should understand set-webkit-configuration
  5325. https://bugs.webkit.org/show_bug.cgi?id=37252
  5326. * Scripts/webkitpy/layout_tests/port/base.py:
  5327. * Scripts/webkitpy/layout_tests/port/mac.py:
  5328. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5329. 2010-04-08 Adam Barth <abarth@webkit.org>
  5330. Reviewed by Eric Seidel.
  5331. Rename target to configuration in new-run-webkit-tests to match the rest of WebKit
  5332. https://bugs.webkit.org/show_bug.cgi?id=37251
  5333. The rest of our tools call --debug or --release the configuration.
  5334. It's confusing to call it target in this script.
  5335. * Scripts/webkitpy/layout_tests/driver_test.py:
  5336. * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py:
  5337. * Scripts/webkitpy/layout_tests/port/base.py:
  5338. * Scripts/webkitpy/layout_tests/port/chromium.py:
  5339. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  5340. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  5341. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  5342. * Scripts/webkitpy/layout_tests/port/mac.py:
  5343. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  5344. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5345. * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py:
  5346. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  5347. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  5348. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  5349. 2010-04-07 Adam Barth <abarth@webkit.org>
  5350. Reviewed by Eric Seidel.
  5351. Remove depricated op.popen2 call in new-run-webkit-tests
  5352. https://bugs.webkit.org/show_bug.cgi?id=37249
  5353. Python complains that this API is depricated. We already solved this
  5354. problem in executive.py.
  5355. * Scripts/webkitpy/layout_tests/port/mac.py:
  5356. 2010-04-07 Eric Seidel <eric@webkit.org>
  5357. Reviewed by Adam Barth.
  5358. new-run-webkit-tests crashes when run on a 64-bit machine
  5359. https://bugs.webkit.org/show_bug.cgi?id=37248
  5360. * Scripts/webkitpy/layout_tests/port/mac.py:
  5361. - The code was trying to always run the 32-bit intel version
  5362. of the DumpRenderTree binary. DRT does not build 32-bit on 64-bit
  5363. machines so that makes no sense. This may have made sense for test_shell
  5364. at some point, but I think we should just remove this for DRT.
  5365. 2010-04-07 Eric Seidel <eric@webkit.org>
  5366. Reviewed by Adam Barth.
  5367. WebKit Apache configs only listen on IPv4 addresses, causing random timeouts
  5368. https://bugs.webkit.org/show_bug.cgi?id=37104
  5369. Add warnings that the partial support for specifying what port numbers
  5370. apache should bind to is even more broken after this fix.
  5371. * Scripts/run-webkit-httpd:
  5372. * Scripts/run-webkit-tests:
  5373. 2010-04-07 Shinichiro Hamaji <hamaji@chromium.org>
  5374. Reviewed by Darin Adler.
  5375. LayoutTestController::m_handlesAuthenticationChallenges isn't initialized
  5376. https://bugs.webkit.org/show_bug.cgi?id=37190
  5377. * DumpRenderTree/LayoutTestController.cpp:
  5378. (LayoutTestController::LayoutTestController):
  5379. 2010-03-31 Eric Seidel <eric@webkit.org>
  5380. Reviewed by Adam Barth.
  5381. Add webkit-patch command to crawl buildbot history and find when tests
  5382. started to fail.
  5383. https://bugs.webkit.org/show_bug.cgi?id=36911
  5384. This is a very bare-bones implementation, which works, but isn't pretty.
  5385. We will need further re-factoring and improvement to this code, but
  5386. after long discussions with Adam, I think it's best that we land this
  5387. and iterate from there.
  5388. * Scripts/webkitpy/common/net/buildbot.py:
  5389. - Add revision_build_pairs_with_results for cleaner code and possible
  5390. optimization of this command.
  5391. - Return None if a build number can't be found for a revision in
  5392. build_for_revision
  5393. - Separate out suspect_revisions_for_transition for re-use by
  5394. FailureReason
  5395. - Add LayoutTestResults.failing_tests() and make our parsing code
  5396. explict about what tables it accepts.
  5397. * Scripts/webkitpy/tool/commands/queries.py:
  5398. - Move _print_blame_information_for_commit out of WhatBroke for re-use
  5399. by FailureReason.
  5400. - Add FailureReason command which can crawl a given builder and explain
  5401. why it is currently red on a per-test basis.
  5402. 2010-04-06 Kent Tamura <tkent@chromium.org>
  5403. Reviewed by Dimitri Glazkov.
  5404. [DRT/Chromium] Add DumpRenderTree.gyp, and some small fixes
  5405. https://bugs.webkit.org/show_bug.cgi?id=37137
  5406. - Add DumpRenderTree.gyp
  5407. - Remove some dependencies to base/string_util.h,
  5408. base/compiler_specific.h, base/file_path.h, base/file_util.h,
  5409. base/message_loop.h, base/sys_string_conversions.h,
  5410. * DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp: Added.
  5411. * DumpRenderTree/chromium/CppVariant.cpp:
  5412. (CppVariant::toStringVector):
  5413. * DumpRenderTree/chromium/EventSender.cpp:
  5414. (EventSender::EventSender):
  5415. (EventSender::keyDown):
  5416. (EventSender::scheduleAsynchronousClick):
  5417. (EventSender::beginDragWithFiles):
  5418. * DumpRenderTree/chromium/LayoutTestController.cpp:
  5419. (LayoutTestController::setUserStyleSheetLocation):
  5420. (LayoutTestController::pathToLocalResource):
  5421. * DumpRenderTree/chromium/TextInputController.cpp:
  5422. (TextInputController::markedRange):
  5423. (TextInputController::selectedRange):
  5424. 2010-04-06 Dirk Pranke <dpranke@chromium.org>
  5425. Reviewed by Eric Seidel.
  5426. Write stack traces into the results directory for new-run-webkit-tests,
  5427. instead of writing them alongside the test file.
  5428. https://bugs.webkit.org/show_bug.cgi?id=36504
  5429. * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py:
  5430. 2010-04-06 Dirk Pranke <dpranke@chromium.org>
  5431. Unreviewed build fix.
  5432. Enable pixel tests by default in new-run-webkit-tests unless
  5433. explicitly set by the port or by the command line. This was broken in
  5434. the fix for bug 36801 (rev. 57173).
  5435. https://bugs.webkit.org/show_bug.cgi?id=37184
  5436. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5437. 2010-04-06 Dirk Pranke <dpranke@chromium.org>
  5438. Reviewed by Eric Seidel.
  5439. Disable pixel tests on the mac port by default.
  5440. Also, revamp the way we check for pixel tests being enabled or
  5441. disabled. We now look for options.pixel_tests instead of
  5442. options.no_pixel_tests, and we have the "--pixel-tests" (force enable)
  5443. and "--no-pixel-tests" (force disable) flags.
  5444. https://bugs.webkit.org/show_bug.cgi?id=36801
  5445. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  5446. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_test.py:
  5447. * Scripts/webkitpy/layout_tests/port/chromium.py:
  5448. * Scripts/webkitpy/layout_tests/port/mac.py:
  5449. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  5450. 2010-04-06 Diego Gonzalez <diego.gonzalez@openbossa.org>
  5451. Reviewed by Laszlo Gombos.
  5452. [Qt] Added the iPhone and iPad latest user agent in QtLauncher UA switcher
  5453. https://bugs.webkit.org/show_bug.cgi?id=37159
  5454. * QtLauncher/useragentlist.txt:
  5455. 2010-04-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  5456. Reviewed by Kenneth Rohde Christiansen.
  5457. [Qt] Add current user-agent string for Symbian for QtLauncher
  5458. https://bugs.webkit.org/show_bug.cgi?id=37131
  5459. * QtLauncher/useragentlist.txt:
  5460. 2010-04-06 Adam Barth <abarth@webkit.org>
  5461. Reviewed by Eric Seidel.
  5462. Explain how to handle rollout patches
  5463. https://bugs.webkit.org/show_bug.cgi?id=37139
  5464. We need to set expectations for how long landing rollout patches with
  5465. the commit-queue takes. The commit-queue is optimized for safety, not
  5466. performance. Also, give folks an alternative way to land patches
  5467. quickly.
  5468. In addition, improve our testing of add_patch_to_bug by having
  5469. MockBugzilla log. This caused me to tighten a bunch of tests and
  5470. notice that one of our tests wasn't being run.
  5471. * Scripts/webkitpy/tool/commands/download_unittest.py:
  5472. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  5473. * Scripts/webkitpy/tool/mocktool.py:
  5474. * Scripts/webkitpy/tool/steps/postdiffforrevert.py:
  5475. 2010-04-06 Adam Barth <abarth@webkit.org>
  5476. Reviewed by Eric Seidel.
  5477. Turns out commit_info.committer() can be None
  5478. https://bugs.webkit.org/show_bug.cgi?id=37106
  5479. When the committer isn't in committers.py, the committer() property on
  5480. commit_info can be None. We need to handle that case gracefully.
  5481. * Scripts/webkitpy/common/checkout/commitinfo.py:
  5482. * Scripts/webkitpy/tool/bot/sheriff.py:
  5483. * Scripts/webkitpy/tool/bot/sheriff_unittest.py:
  5484. * Scripts/webkitpy/tool/commands/queries.py:
  5485. 2010-04-06 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  5486. Reviewed by Kenneth Rohde Christiansen.
  5487. [Qt] [Symbian] Build fix for Dumprendertree if Qt printing is not supported
  5488. https://bugs.webkit.org/show_bug.cgi?id=37082
  5489. Use the QT_NO_PRINTER guard to flag QPrinter dependent code.
  5490. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  5491. (WebCore::DumpRenderTree::dryRunPrint):
  5492. 2010-04-05 Adam Barth <abarth@webkit.org>
  5493. Reviewed by Eric Seidel.
  5494. SheriffBot should force_build builders that are idle and have failed exactly once
  5495. https://bugs.webkit.org/show_bug.cgi?id=37059
  5496. We can get into a deadlocked state where the commit-queue is stopped
  5497. because the builders are red but the SheriffBot hasn't taken action
  5498. because the builder has failed only once. The SheriffBot should force
  5499. build idle builders that have failed exactly once to either turn the
  5500. tree green again (if the test was flaky) or trigger the "failed twice"
  5501. remedies (IRC and bug posts).
  5502. * Scripts/webkitpy/common/net/buildbot.py:
  5503. * Scripts/webkitpy/tool/bot/sheriff.py:
  5504. * Scripts/webkitpy/tool/bot/sheriff_unittest.py:
  5505. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  5506. * Scripts/webkitpy/tool/mocktool.py:
  5507. 2010-04-05 Chris Jerdonek <cjerdonek@webkit.org>
  5508. Reviewed by Shinichiro Hamaji.
  5509. Fixed check-webkit-style issue where the script was prematurely
  5510. exiting when encountering deleted files in patches.
  5511. https://bugs.webkit.org/show_bug.cgi?id=37122
  5512. * Scripts/webkitpy/style/checker.py:
  5513. - Changed non-existent file message from ERROR to WARN.
  5514. - StyleChecker.check_file() no longer raises an exception when
  5515. a file is not found.
  5516. * Scripts/webkitpy/style/checker_unittest.py:
  5517. - Updated unit tests as necessary.
  5518. 2010-04-05 Adam Barth <abarth@webkit.org>
  5519. Reviewed by Eric Seidel.
  5520. SheriffBot should include blamelist when posting to bugs
  5521. https://bugs.webkit.org/show_bug.cgi?id=37113
  5522. When posting on bugs, we should include the full list of SVN revisions
  5523. that caused the regression to folks have a better sense of whether they
  5524. are to blame.
  5525. * Scripts/webkitpy/tool/bot/sheriff.py:
  5526. * Scripts/webkitpy/tool/bot/sheriff_unittest.py:
  5527. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  5528. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  5529. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  5530. * Scripts/webkitpy/tool/mocktool.py:
  5531. 2010-04-05 Chris Jerdonek <cjerdonek@webkit.org>
  5532. Unreviewed after discussion with Adam, Darin, and Eric.
  5533. Deleted the auto-install directory since it is no longer needed in
  5534. source control (it is auto-generated).
  5535. Also added webkitpy/thirdparty/autoinstalled to webkitpy/thirdparty's
  5536. svn:ignore property.
  5537. * Scripts/webkitpy/thirdparty/autoinstalled: Removed.
  5538. 2010-04-05 Mark Rowe <mrowe@apple.com>
  5539. Reviewed by Adele Peterson.
  5540. Test case for <http://webkit.org/b/37115> / <rdar://problem/7829331>.
  5541. REGRESSION(r56989): Crash in Mail in WebCore::Position::isCandidate when deleting block using block deletion UI
  5542. Add a JavaScript hook in DRT to call through to WebView's -setEditable:. This is required in order to reproduce
  5543. the crash.
  5544. * DumpRenderTree/LayoutTestController.cpp:
  5545. (setWebViewEditableCallback):
  5546. (LayoutTestController::staticFunctions):
  5547. * DumpRenderTree/LayoutTestController.h:
  5548. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  5549. (LayoutTestController::setWebViewEditable):
  5550. * DumpRenderTree/mac/DumpRenderTree.mm:
  5551. (resetWebViewToConsistentStateBeforeTesting):
  5552. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  5553. (LayoutTestController::setWebViewEditable):
  5554. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  5555. (LayoutTestController::setWebViewEditable):
  5556. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  5557. (LayoutTestController::setWebViewEditable):
  5558. (LayoutTestController::layerTreeAsText):
  5559. 2010-04-05 Darin Adler <darin@apple.com>
  5560. Ignore more files the Python tools strew about the working directory.
  5561. * Scripts/webkitpy: Added property svn:ignore.
  5562. * Scripts/webkitpy/common: Added property svn:ignore.
  5563. * Scripts/webkitpy/common/checkout: Added property svn:ignore.
  5564. * Scripts/webkitpy/common/config: Added property svn:ignore.
  5565. * Scripts/webkitpy/common/net: Added property svn:ignore.
  5566. * Scripts/webkitpy/common/thread: Added property svn:ignore.
  5567. * Scripts/webkitpy/python24: Added property svn:ignore.
  5568. * Scripts/webkitpy/thirdparty/autoinstalled: Modified property svn:ignore.
  5569. * Scripts/webkitpy/tool/bot: Added property svn:ignore.
  5570. 2010-04-05 Adam Barth <abarth@webkit.org>
  5571. Unreviewed. Add Vitaly Repeshko as a committer.
  5572. * Scripts/webkitpy/common/config/committers.py:
  5573. 2010-04-05 Adam Barth <abarth@webkit.org>
  5574. Unreviewed. Update kenne's IRC nick to his registered nick.
  5575. * Scripts/webkitpy/common/config/committers.py:
  5576. 2010-04-05 Ojan Vafai <ojan@chromium.org>
  5577. Reviewed by Eric Seidel.
  5578. assorted helper functions and cleanup of git utilities
  5579. https://bugs.webkit.org/show_bug.cgi?id=37103
  5580. * Scripts/webkitpy/common/checkout/scm.py:
  5581. No code currently uses the optional dry_run argument. So removing it.
  5582. Change all uses of "trunk" to read the correct value out of the git config.
  5583. Made the dcommit call actually get called when dry_run==true.
  5584. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  5585. * Scripts/webkitpy/common/net/credentials.py:
  5586. Move the git config call into scm.
  5587. * Scripts/webkitpy/common/net/credentials_unittest.py:
  5588. * Scripts/webkitpy/common/system/executive.py:
  5589. If return_exit_code==true, don't error out, just return the exit_code.
  5590. 2010-04-05 Ojan Vafai <ojan@chromium.org>
  5591. Reviewed by Eric Seidel.
  5592. prepare-ChangeLog should take a merge-base for which git branch to diff against.
  5593. https://bugs.webkit.org/show_bug.cgi?id=36394
  5594. * Scripts/prepare-ChangeLog:
  5595. 2010-04-05 Chris Jerdonek <cjerdonek@webkit.org>
  5596. Reviewed by Shinichiro Hamaji.
  5597. Removed the PatchStyleErrorHandler class and incorporated its
  5598. functionality into the DefaultStyleErrorHandler class.
  5599. https://bugs.webkit.org/show_bug.cgi?id=37067
  5600. * Scripts/webkitpy/style/checker.py:
  5601. - In the StyleChecker class:
  5602. - Added a line_number parameter to the check_file() method.
  5603. - Renamed the handle_style_error parameter to
  5604. mock_handle_style_error to be consistent with the other mock_*
  5605. parameter names.
  5606. - Added a mock_check_file parameter to the check_patch() method
  5607. to facilitate unit testing the changes in this patch.
  5608. - Rewrote the check_patch() method with the patch-parsing logic
  5609. taken from the PatchStyleErrorHandler class.
  5610. * Scripts/webkitpy/style/checker_unittest.py:
  5611. - Added a StyleCheckerCheckFileBase class and sub-classed the
  5612. existing StyleCheckerCheckFileTest class from it.
  5613. - Added a StyleCheckerCheckPatchTest class to unit-test the
  5614. rewritten check_patch() method.
  5615. - Removed the vestigial __main__ code at the bottom of the file.
  5616. This is left over from when check-webkit-style was implemented
  5617. as a module and a wrapper module.
  5618. * Scripts/webkitpy/style/error_handlers.py:
  5619. - Added an optional line_numbers parameter to the
  5620. DefaultStyleErrorHandler class constructor and adjusted the
  5621. __call__() method as necessary.
  5622. - Removed the PatchStyleErrorHandler class.
  5623. * Scripts/webkitpy/style/error_handlers_unittest.py:
  5624. - Removed the PatchStyleErrorHandlerTest class which unit-tested
  5625. the PatchStyleErrorHandler class which is being removed in this
  5626. patch.
  5627. - Added a test_line_numbers() test method to the
  5628. DefaultStyleErrorHandlerTest class to test use of the
  5629. DefaultStyleErrorHandler's new line_numbers attribute.
  5630. 2010-04-05 Adam Barth <abarth@webkit.org>
  5631. Unreviewed.
  5632. Tighten SheriffBot's flaky test detector
  5633. https://bugs.webkit.org/show_bug.cgi?id=37063
  5634. Instead of just looking for two sequential red builds, look for two
  5635. sequential failures of the same test. This should reduce sheriffbot
  5636. false positive substantially.
  5637. I'm landing this change unreviewed because I've noticed SheriffBot
  5638. triggering a lot more false positives now that we've expanded the set
  5639. of core builders. I've tried to take Eric's comments on Bug 37063 into
  5640. account. I'm happy to iterate on this patch tomorrow once Eric wakes
  5641. up.
  5642. * Scripts/webkitpy/common/net/buildbot.py:
  5643. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  5644. * Scripts/webkitpy/tool/commands/queries.py:
  5645. 2010-04-04 John Gregg <johnnyg@google.com>
  5646. Unreviewed, add myself to the committers list.
  5647. * Scripts/webkitpy/common/config/committers.py:
  5648. 2010-04-04 Robert Hogan <robert@webkit.org>
  5649. Unreviewed, add myself to the committers list.
  5650. * Scripts/webkitpy/common/config/committers.py:
  5651. 2010-04-04 Dumitru Daniliuc <dumi@chromium.org>
  5652. Unreviewed, adding my IRC nickname to committers.py
  5653. * Scripts/webkitpy/common/config/committers.py:
  5654. 2010-04-04 Chris Jerdonek <cjerdonek@webkit.org>
  5655. Reviewed by Shinichiro Hamaji.
  5656. Refactored check-webkit-style's option-parsing code.
  5657. https://bugs.webkit.org/show_bug.cgi?id=37064
  5658. * Scripts/check-webkit-style:
  5659. - Moved the "WebKit checkout not found" check from
  5660. ArgumentParser.parse() to the calling code.
  5661. - Moved the --git-commit argument validation from the calling
  5662. code to ArgumentParser.parse().
  5663. * Scripts/webkitpy/style/checker_unittest.py:
  5664. - Updated a unit test as necessary.
  5665. * Scripts/webkitpy/style/optparser.py:
  5666. - Renamed ArgumentParser._exit_with_help() to _parse_error()
  5667. and made its error_message parameter required.
  5668. - Removed the found_checkout parameter from ArgumentParser.parse().
  5669. - Removed the "WebKit checkout not found" check and moved it
  5670. to the calling code.
  5671. - Added --git-commit argument checking.
  5672. * Scripts/webkitpy/style/optparser_unittest.py:
  5673. - Adjusted the import statements to be fully qualified.
  5674. - Changed the ArgumentParserTest class to inherit from
  5675. LoggingTestCase, and updated the class as necessary.
  5676. - Added a unit-test for the --git-commit validation.
  5677. - Added unit tests for the --git-diff and --git-since variants
  5678. of --git-commit.
  5679. 2010-04-03 Chris Jerdonek <cjerdonek@webkit.org>
  5680. Reviewed by Shinichiro Hamaji.
  5681. The check-webkit-style script now logs an ERROR and exits when
  5682. encountering a file path that does not exist. Previously, it failed
  5683. silently on such paths.
  5684. https://bugs.webkit.org/show_bug.cgi?id=36957
  5685. * Scripts/webkitpy/common/system/logtesting.py:
  5686. - Added a FIXME to rename the LoggingTestCase class to
  5687. LoggingTestCaseBase.
  5688. * Scripts/webkitpy/style/checker.py:
  5689. - In the StyleChecker.check_file() method:
  5690. - Added a mock_os_path_exists parameter.
  5691. - Renamed the process_file parameter to mock_process_file.
  5692. - Added logic to log an error and exist if the given path does
  5693. not exist.
  5694. * Scripts/webkitpy/style/checker_unittest.py:
  5695. - Refactored the StyleCheckerCheckFileTest class slightly to
  5696. inherit from LoggingTestCase.
  5697. - Added a test method to unit-test the case of a file that
  5698. does not exist.
  5699. - Adjusted the other test methods as necessary.
  5700. 2010-04-03 Adam Barth <abarth@webkit.org>
  5701. Reviewed by Eric Seidel.
  5702. Add Tiger Bot to the list of "core builders" (builders which block the commit-queue when red)
  5703. https://bugs.webkit.org/show_bug.cgi?id=33289
  5704. Add Tiger and SnowLeopard Tests to the core builders. This is a bit of
  5705. an experiment now that the bots are green. Hopefully we can keep them
  5706. on the list and have the tree stay greener.
  5707. * Scripts/webkitpy/common/net/buildbot.py:
  5708. 2010-04-02 Adam Barth <abarth@webkit.org>
  5709. Unreviewed.
  5710. Have Eric and Adam watch the SheriffBot
  5711. https://bugs.webkit.org/show_bug.cgi?id=37054
  5712. * Scripts/webkitpy/tool/bot/sheriff.py:
  5713. * Scripts/webkitpy/tool/bot/sheriff_unittest.py:
  5714. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  5715. 2010-04-02 Adam Barth <abarth@webkit.org>
  5716. Reviewed by Darin Adler.
  5717. commit-queue should ignore builders when landing rollouts
  5718. https://bugs.webkit.org/show_bug.cgi?id=37051
  5719. When we moved the "builders are red" check into the master process, we
  5720. forgot about rollouts. I thought we had a test covering this case, but
  5721. looking at the test, it was a bit too loose. I added a new test and
  5722. introduced some new logging technology into MockTool to make the test
  5723. tighter.
  5724. * Scripts/webkitpy/tool/commands/queues.py:
  5725. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  5726. * Scripts/webkitpy/tool/mocktool.py:
  5727. 2010-04-02 David Levin <levin@chromium.org>
  5728. Reviewed by Adam Barth.
  5729. sherrifbot should ensure that the rollout reason doesn't start with - (and fix webkit-patch upload).
  5730. https://bugs.webkit.org/show_bug.cgi?id=37030
  5731. * Scripts/webkitpy/tool/bot/sheriff.py: Ensure that the rollout reason doesn't
  5732. start with -.
  5733. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: A test with a rollout
  5734. reason which starts with -.
  5735. * Scripts/webkitpy/tool/steps/createbug.py: Fix webkit-patch upload.
  5736. 2010-04-02 Chris Jerdonek <cjerdonek@webkit.org>
  5737. Unreviewed.
  5738. Fixed check-webkit-style to recognize the short form of the
  5739. --verbose option, as stated in --help.
  5740. * Scripts/check-webkit-style:
  5741. - Tweaked one line.
  5742. 2010-04-02 Kevin Ollivier <kevino@theolliviers.com>
  5743. [wx] Build fix for DumpRenderTree after addition of layerTreeAsText.
  5744. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  5745. (LayoutTestController::layerTreeAsText):
  5746. 2010-04-02 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  5747. Reviewed by Eric Seidel.
  5748. Accept XHTML-MP content type as XHTML content
  5749. https://bugs.webkit.org/show_bug.cgi?id=34262
  5750. Register xhtmlmp file extension as the new type
  5751. for XHTML-MP test content.
  5752. * Scripts/run-webkit-tests:
  5753. * Scripts/webkitpy/layout_tests/layout_package/test_files.py:
  5754. * Scripts/webkitpy/layout_tests/port/lighttpd.conf:
  5755. 2010-04-02 Adam Barth <abarth@webkit.org>
  5756. Reviewed by Eric Seidel.
  5757. create-rollout doesn't fill out ChangeLog
  5758. https://bugs.webkit.org/show_bug.cgi?id=37010
  5759. The contract between apply_reverse_diff and PrepareChangeLogForRevert
  5760. was unclear. I broke filling out the ChangeLog during rollout earlier
  5761. when I changed apply_reverse_diff to revert the ChangeLogs because
  5762. PrepareChangeLogForRevert thought that it was supposed to do that.
  5763. I've now taught PrepareChangeLogsForRevert the new contract.
  5764. It's unclear to me how to test this change because it's essentially an
  5765. integration issue that requires the file system. At some point we
  5766. should think about a testing strategy for integration. As the system
  5767. becomes larger, we're running into more of these issues.
  5768. * Scripts/webkitpy/common/checkout/api.py:
  5769. * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
  5770. 2010-04-02 Adam Barth <abarth@webkit.org>
  5771. Reviewed by Eric Seidel.
  5772. Add cr-win-ews to QueueStatusServer
  5773. https://bugs.webkit.org/show_bug.cgi?id=37004
  5774. * QueueStatusServer/model/queues.py:
  5775. * QueueStatusServer/templates/dashboard.html:
  5776. * QueueStatusServer/templates/statusbubble.html:
  5777. 2010-04-02 Chris Jerdonek <cjerdonek@webkit.org>
  5778. Reviewed by Adam Barth.
  5779. Unit-test networktransaction.py's log messages, and add a base
  5780. class to make unit-testing log messages even easier.
  5781. https://bugs.webkit.org/show_bug.cgi?id=36958
  5782. The purpose of this patch is also to provide a mini-tutorial on
  5783. how to unit-test Python logging.py messages.
  5784. * Scripts/webkitpy/common/net/networktransaction_unittest.py:
  5785. - Unit-tested the log messages in test_retry().
  5786. * Scripts/webkitpy/common/system/logtesting.py:
  5787. - Adjusted the LogTesting class by moving the code that clears
  5788. the array of log messages into a finally block. This prevents
  5789. redundant AssertionErrors from getting rendered to the screen
  5790. while running unit tests.
  5791. - Added a LoggingTestCase class so the setUp() and tearDown()
  5792. methods do not need to be implemented in order to test logging.
  5793. Rather, TestCase classes can simply inherit from this class.
  5794. 2010-04-02 Chris Jerdonek <cjerdonek@webkit.org>
  5795. Reviewed by Shinichiro Hamaji.
  5796. Re-wrote check-webkit-style's argument parsing code to use
  5797. Python's optparser module and more uniform error-handling logic.
  5798. https://bugs.webkit.org/show_bug.cgi?id=34676
  5799. * Scripts/webkitpy/style/optparser.py:
  5800. - Removed "option help" from check-webkit-style's usage string
  5801. since that is provided separately by the OptionParser class.
  5802. - Also changed the usage string from a function to a constant
  5803. string _USAGE.
  5804. - Added an _EPILOG string which renders after OptionParser's
  5805. usage string and option help.
  5806. - In the ArgumentParser class:
  5807. - Changed the constructor's stderr_write parameter to a
  5808. mock_stderr since the OptionParser accepts a sys.stderr
  5809. substitute rather than a sys.stderr.write substitute.
  5810. - Changed the constructor to set a _parser data attribute with
  5811. an OptionParser instance.
  5812. - Added a _create_option_parser() method which instantiates
  5813. the OptionParser.
  5814. - Updated _exit_with_help() to interact with the OptionParser's
  5815. help method.
  5816. - Updated the parse() method as necessary. Also changed the
  5817. raising of ValueErrors to calls to _exit_with_help().
  5818. * Scripts/webkitpy/style/optparser_unittest.py:
  5819. - Removed the CreateUsageTest class since the create_usage method
  5820. was replaced by a constant string.
  5821. - Added a _MockStdErr class to the ArgumentParserTest class.
  5822. - Updated the unit tests as necessary.
  5823. 2010-04-02 Adam Barth <abarth@webkit.org>
  5824. Reviewed by Eric Seidel.
  5825. The master commit-queue process should take responsibility for checking that the builders are green
  5826. https://bugs.webkit.org/show_bug.cgi?id=37009
  5827. We had a failure where the child process noticed that the builders were
  5828. red. We've always had this race condition, but the new optimistic
  5829. design made it easier to trigger.
  5830. * Scripts/webkitpy/tool/commands/queues.py:
  5831. 2010-04-02 Adam Barth <abarth@webkit.org>
  5832. Reviewed by Eric Seidel.
  5833. Tweak rollout changelog to pass ValidateReviewer check
  5834. https://bugs.webkit.org/show_bug.cgi?id=37019
  5835. We need to use the magic word "unreviewed" to make the commit-queue
  5836. happy when landing rollouts.
  5837. * Scripts/webkitpy/common/checkout/changelog.py:
  5838. * Scripts/webkitpy/common/checkout/changelog_unittest.py:
  5839. 2010-04-02 Chris Jerdonek <cjerdonek@webkit.org>
  5840. Unreviewed.
  5841. Removed duplicate ChangeLog entry.
  5842. 2010-04-02 Chris Jerdonek <cjerdonek@webkit.org>
  5843. Rubber-stamped by Eric Seidel.
  5844. To the Python 2.4 error message, added a link to the wiki page
  5845. that contains instructions on how to upgrade.
  5846. * Scripts/test-webkitpy:
  5847. - Eliminated a use of the ternary operator in configure_logging()
  5848. to let the version warning display in case of Python 2.4.
  5849. * Scripts/webkitpy/python24/versioning.py:
  5850. - Added this link to the error text:
  5851. http://trac.webkit.org/wiki/PythonGuidelines
  5852. * Scripts/webkitpy/python24/versioning_unittest.py:
  5853. - Updated unit test text.
  5854. 2010-04-02 Adam Barth <abarth@webkit.org>
  5855. Reviewed by Eric Seidel.
  5856. Record the IRC nick of folks who request rollouts
  5857. https://bugs.webkit.org/show_bug.cgi?id=36999
  5858. * Scripts/webkitpy/common/net/irc/ircbot.py:
  5859. * Scripts/webkitpy/tool/bot/irc_command.py:
  5860. * Scripts/webkitpy/tool/bot/sheriffircbot.py:
  5861. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
  5862. 2010-04-01 Adam Barth <abarth@webkit.org>
  5863. Reviewed by Eric Seidel.
  5864. Add cr-win-ews
  5865. https://bugs.webkit.org/show_bug.cgi?id=36974
  5866. Adds support for an Early Warning System for Chromium on Linux. The
  5867. interface to the Chromium port is the same on every platform, so we
  5868. don't need to create a new Port object for this queue.
  5869. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  5870. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  5871. 2010-04-01 Adam Barth <abarth@webkit.org>
  5872. Reviewed by Eric Seidel.
  5873. Using a failure exit code when failing to load a required import
  5874. https://bugs.webkit.org/show_bug.cgi?id=37000
  5875. Well spotted by Mark Rowe.
  5876. * Scripts/webkitpy/common/system/user.py:
  5877. 2010-04-01 Chris Jerdonek <cjerdonek@webkit.org>
  5878. Reviewed by Eric Seidel.
  5879. Rewrote the revision (r56942) to disable the 79 character line
  5880. length limit Python/PEP8 style check.
  5881. https://bugs.webkit.org/show_bug.cgi?id=33639#c39
  5882. This rewrite puts the disabling not in the PythonProcessor but
  5883. in the calling code's default filter rule configuration. This
  5884. allows the user to check line-length style from the command-line
  5885. if desired.
  5886. * Scripts/webkitpy/style/checker.py:
  5887. - Added "-pep8/E501" to the _BASE_FILTER_RULES configuration
  5888. variable to disable the line-length check.
  5889. - Added "-pep8/E501" to the list of recognized style categories
  5890. to permit the category to be checked from the command line.
  5891. * Scripts/webkitpy/style/processors/python.py:
  5892. - Reverted r56942: http://trac.webkit.org/changeset/56942
  5893. 2010-04-01 Kinuko Yasuda <kinuko@chromium.org>
  5894. Reviewed by Dmitry Titov.
  5895. Add FileThread for async file operation support in FileReader and FileWriter
  5896. https://bugs.webkit.org/show_bug.cgi?id=36896
  5897. Add options to enable FILE_READER and FILE_WRITER support.
  5898. * Scripts/build-webkit:
  5899. 2010-04-01 Kent Tamura <tkent@chromium.org>
  5900. Unreviewed. Add missing license header.
  5901. * DumpRenderTree/chromium/TestShellMac.mm:
  5902. 2010-04-01 Adam Barth <abarth@webkit.org>
  5903. Reviewed by Eric Seidel.
  5904. Improve the error handling in rollout a bit
  5905. https://bugs.webkit.org/show_bug.cgi?id=36995
  5906. This patch does a few things to make the error handling in rollout a
  5907. bit more robust.
  5908. * Scripts/webkitpy/common/checkout/api.py:
  5909. The old logic here was wrong. We don't want to resolve the
  5910. ChangeLogs (that would remove the old ChangeLog entry). Instead,
  5911. we want to revert the ChangeLogs so we can fill them with the new
  5912. message.
  5913. * Scripts/webkitpy/tool/commands/download_unittest.py:
  5914. Update test expectations because we're using a different mock object.
  5915. * Scripts/webkitpy/tool/commands/download.py:
  5916. - Added an update command to make updating from the SheriffBot more
  5917. robust.
  5918. - Now that we have CommitInfo, we can automatically CC the
  5919. responsible parties on the bug we create.
  5920. - Re-ordered the steps in create-rollout. Our original thinking
  5921. was that we always wanted to create the bug, but that's not
  5922. really true given how things appear to be playing out. If we
  5923. fail to apply the reverse diff, we don't want to create the bug.
  5924. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  5925. - Use the new, more robust update command.
  5926. * Scripts/webkitpy/tool/steps/createbug.py:
  5927. Allow commands to pre-load who they want to be CCed on a new bug.
  5928. 2010-04-01 Kent Tamura <tkent@chromium.org>
  5929. Reviewed by Dimitri Glazkov.
  5930. [DRT/Chromium] Add TestShell and WebViewHost class, main(), and so on
  5931. https://bugs.webkit.org/show_bug.cgi?id=36814
  5932. This change introduces:
  5933. - WebViewHost class
  5934. It's an implementation of some delegates required by Chromium
  5935. WebKit API, and manages painting of a WebView. It's base on
  5936. src/webkit/tools/test_shell/test_webview_delegate.{cc,h} of
  5937. Chromium rev.40492.
  5938. - TestShell class
  5939. The TestShell instance holds global states of DumpRenderTree process.
  5940. Unlike TestShell class of Chromium test_shell, TestShell instance is
  5941. created just once.
  5942. - DumpRenderTree.cpp
  5943. The program entry.
  5944. * DumpRenderTree/chromium/DumpRenderTree.cpp: Added.
  5945. * DumpRenderTree/chromium/TestShell.cpp: Added.
  5946. * DumpRenderTree/chromium/TestShell.h: Added.
  5947. * DumpRenderTree/chromium/TestShellMac.mm: Added.
  5948. * DumpRenderTree/chromium/WebViewHost.cpp: Added.
  5949. * DumpRenderTree/chromium/WebViewHost.h: Added.
  5950. * DumpRenderTree/chromium/config.h: Added.
  5951. 2010-04-01 David Levin <levin@chromium.org>
  5952. Reviewed by Adam Barth.
  5953. sheriffbot rollout should verify that the svn revision is a number.
  5954. https://bugs.webkit.org/show_bug.cgi?id=37001
  5955. * Scripts/webkitpy/common/net/bugzilla.py: Allow for the message to be None.
  5956. * Scripts/webkitpy/tool/bot/sheriff.py: Did verification that svn revision
  5957. is a number. Fixed the imports (since the files uses ScriptError and log)
  5958. and a typo.
  5959. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: Added a test to verify
  5960. the behavior.
  5961. 2010-04-01 Adam Barth <abarth@webkit.org>
  5962. Reviewed by Eric Seidel.
  5963. Print an error message for readline bogosity in MacPorts
  5964. https://bugs.webkit.org/show_bug.cgi?id=36979
  5965. * Scripts/webkitpy/common/system/user.py:
  5966. 2010-04-01 Adam Barth <abarth@webkit.org>
  5967. Reviewed by Eric Seidel.
  5968. Don't pass --non-interactive to create-rollout
  5969. https://bugs.webkit.org/show_bug.cgi?id=36989
  5970. It turns out you can't pass --non-interactive to create-rollout. Also,
  5971. improve our error reporting slighly to catch the case where we error
  5972. out after creating the rollout bug.
  5973. * Scripts/webkitpy/tool/bot/irc_command.py:
  5974. * Scripts/webkitpy/tool/bot/sheriff.py:
  5975. 2010-04-01 Ojan Vafai <ojan@chromium.org>
  5976. Reviewed by Eric Seidel.
  5977. webkit-patch can incorrectly think the working directory is modified
  5978. https://bugs.webkit.org/show_bug.cgi?id=36985
  5979. If a file's modification time is modified, but the contents are not,
  5980. then diff-index will think the file has been modified unless you do
  5981. some crazy update-index call. Instead, call diff --name-only, which
  5982. has the index update builtin.
  5983. Tried to write a test, but could not reproduce this in a unittest.
  5984. To test manually:
  5985. touch file-in-repo
  5986. git diff-index HEAD
  5987. git diff HEAD --name-only
  5988. The diff-index call incorrectly shows file-in-repo as modified.
  5989. * Scripts/webkitpy/common/checkout/scm.py:
  5990. 2010-04-01 Adam Barth <abarth@webkit.org>
  5991. Reviewed by Eric Seidel.
  5992. Add rollout command to sheriffbot
  5993. https://bugs.webkit.org/show_bug.cgi?id=36986
  5994. This IRC command creates a new bug an attaches a rollout patch. To
  5995. actually commit the rollout, a committer needs to mark the patch
  5996. commit-queue+ in bugs.webkit.org.
  5997. Also, factored out some of the logic from the queue into a separate
  5998. object for easier testing.
  5999. * Scripts/webkitpy/common/system/executive.py:
  6000. * Scripts/webkitpy/tool/bot/irc_command.py:
  6001. * Scripts/webkitpy/tool/bot/sheriff.py: Added.
  6002. * Scripts/webkitpy/tool/bot/sheriff_unittest.py: Added.
  6003. * Scripts/webkitpy/tool/bot/sheriffircbot.py:
  6004. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
  6005. * Scripts/webkitpy/tool/commands/queues.py:
  6006. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  6007. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  6008. 2010-04-01 Eric Seidel <eric@webkit.org>
  6009. Unreviewed, only ignoring chatty style errors.
  6010. check-webkit-style: WebKit needs a python style checker
  6011. https://bugs.webkit.org/show_bug.cgi?id=33639
  6012. Remove the 79 char line limit by ignoring
  6013. pep8/E501. Because we have our own report_error
  6014. implementation we have to ignore E501 by hand
  6015. instead of passing --ignore=E501.
  6016. Right now over 1400 lines of our existing python
  6017. fail E501 so this rule just generates needless noise.
  6018. The rest of WebKit has no wrapping rule so it makes
  6019. little sense for our Python to differ here.
  6020. * Scripts/webkitpy/style/processors/python.py:
  6021. 2010-04-01 Adam Barth <abarth@webkit.org>
  6022. Unreviewed. Add cmarrin's IRC nickname.
  6023. * Scripts/webkitpy/common/config/committers.py:
  6024. 2010-04-01 Adam Barth <abarth@webkit.org>
  6025. Unreviewed.
  6026. EWS spins hot when unable to build
  6027. https://bugs.webkit.org/show_bug.cgi?id=36981
  6028. The problem is that the queue engine things we have more work to do,
  6029. but the bot isn't actually able to do anything. After this change, we
  6030. back off the usual amount.
  6031. * Scripts/webkitpy/tool/bot/queueengine.py:
  6032. * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
  6033. * Scripts/webkitpy/tool/commands/queues.py:
  6034. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  6035. 2010-04-01 Chris Marrin <cmarrin@apple.com>
  6036. Reviewed by Simon Fraser.
  6037. Added layerTreeAsText function to DRT (for Mac)
  6038. https://bugs.webkit.org/show_bug.cgi?id=36782
  6039. This is the DRT side. It exposes the call to JavaScript
  6040. through the LayoutTestController.
  6041. * DumpRenderTree/LayoutTestController.cpp:Platform independent JavaScript shim
  6042. (layerTreeAsTextCallback):
  6043. (LayoutTestController::staticFunctions):
  6044. * DumpRenderTree/LayoutTestController.h:
  6045. * DumpRenderTree/mac/LayoutTestControllerMac.mm:Mac specific plumbing to WebKit
  6046. (LayoutTestController::layerTreeAsText):
  6047. * DumpRenderTree/win/LayoutTestControllerWin.cpp:Windows specific plumbing to WebKit
  6048. (LayoutTestController::layerTreeAsText):
  6049. 2010-04-01 Kevin Ollivier <kevino@theolliviers.com>
  6050. [wx] Build fix after addition of JavaScriptCore/wtf/text directory.
  6051. * wx/build/settings.py:
  6052. 2010-04-01 Jian Li <jianli@chromium.org>
  6053. Rubber-stamped by David Levin.
  6054. Add myself to the reviewers list.
  6055. * Scripts/webkitpy/common/config/committers.py:
  6056. 2010-04-01 Adam Barth <abarth@webkit.org>
  6057. Unreviewed.
  6058. Turns out the Chromium Windows bots don't have pdevenv installed.
  6059. * Scripts/webkitdirs.pm:
  6060. 2010-04-01 Adam Barth <abarth@webkit.org>
  6061. Reviewed by Dimitri Glazkov.
  6062. Let Chromium Windows build with Visual Studio Express
  6063. https://bugs.webkit.org/show_bug.cgi?id=36919
  6064. This is horrible, horrible copy/paste code, but that seems to be the
  6065. way of webkitdirs.pm. :(
  6066. Someone needs to go through an cleanup this code, but I don't have the
  6067. heart to do it in this patch.
  6068. * Scripts/webkitdirs.pm:
  6069. 2010-04-01 Ilya Tikhonovsky <loislo@chromium.org>
  6070. Reviewed by Yury Semikhatsky.
  6071. Add myself to the committers list.
  6072. https://bugs.webkit.org/show_bug.cgi?id=36953
  6073. * Scripts/webkitpy/common/config/committers.py:
  6074. 2010-04-01 Eric Seidel <eric@webkit.org>
  6075. Rubber-stamped by Adam Barth.
  6076. Add Snow Leopard Release bot to the list of "core builders" (builders which stop the commit-queue when they turn red)
  6077. https://bugs.webkit.org/show_bug.cgi?id=33292
  6078. Just adding the "Build" builder for now.
  6079. We'll add the "Test" builders when the tests
  6080. are less flaky.
  6081. * Scripts/webkitpy/common/net/buildbot.py:
  6082. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  6083. 2010-04-01 Yury Semikhatsky <yurys@chromium.org>
  6084. Reviewed by David Levin.
  6085. Add myself to the reviewers list.
  6086. https://bugs.webkit.org/show_bug.cgi?id=36935
  6087. * Scripts/webkitpy/common/config/committers.py:
  6088. 2010-03-31 Chris Jerdonek <cjerdonek@webkit.org>
  6089. Reviewed by Dave Levin.
  6090. Added Python style checking to check-webkit-style using
  6091. the third-party pep8 module (via autoinstall).
  6092. https://bugs.webkit.org/show_bug.cgi?id=33639
  6093. * Scripts/webkitpy/style/checker.py:
  6094. - Added PYTHON to FileType.
  6095. - Updated ProcessorDispatcher to return a PythonProcessor
  6096. for *.py files.
  6097. * Scripts/webkitpy/style/checker_unittest.py:
  6098. - Updated the ProcessorDispatcher unit tests for *.py files.
  6099. * Scripts/webkitpy/style/processors/python.py: Added.
  6100. - Added PythonProcessor class.
  6101. * Scripts/webkitpy/style/processors/python_unittest.py: Added.
  6102. - Added PythonProcessor unit tests.
  6103. * Scripts/webkitpy/style/processors/python_unittest_input.py: Added.
  6104. - Added a sample Python file to test the PythonProcessor.process()
  6105. code path (since pep8 accepts a file path).
  6106. * Scripts/webkitpy/style/unittests.py:
  6107. - Updated the style unit test file to import python_unittest.py.
  6108. * Scripts/webkitpy/style_references.py:
  6109. - Adjusted style references to import pep8.
  6110. 2010-03-31 Chris Jerdonek <cjerdonek@webkit.org>
  6111. Reviewed by Dave Levin.
  6112. Rewrote autoinstall.py to support unzipping *.zip files after
  6113. download, unzipping and extracting *.tar.gz files after download,
  6114. and copying installed files to a given destination directory.
  6115. https://bugs.webkit.org/show_bug.cgi?id=35163
  6116. These changes will let us autoinstall pep8.py from the web and put
  6117. our third-party autoinstalled code in an explicit directory like
  6118. webkitpy/thirdparty/autoinstalled. These changes should also speed
  6119. up the execution of autoinstalled *.zip packages slightly since
  6120. *.pyc files cannot be generated when importing from zipped
  6121. packages using the current autoinstall.
  6122. * Scripts/test-webkitpy:
  6123. - Addressed the FIXME to enable auto-install logging once
  6124. autoinstall was rewritten not to log as verbosely.
  6125. * Scripts/webkitpy/common/net/bugzilla.py:
  6126. - Updated mechanize import statement.
  6127. * Scripts/webkitpy/common/net/buildbot.py:
  6128. - Updated mechanize import statement.
  6129. * Scripts/webkitpy/common/net/irc/ircbot.py:
  6130. - Updated ircbot and irclib import statements.
  6131. * Scripts/webkitpy/common/net/networktransaction.py:
  6132. - Updated mechanize import statement.
  6133. * Scripts/webkitpy/common/net/networktransaction_unittest.py:
  6134. - Updated mechanize import statement.
  6135. * Scripts/webkitpy/common/net/statusserver.py:
  6136. - Updated mechanize import statement.
  6137. * Scripts/webkitpy/common/system/autoinstall.py: Added.
  6138. - Added AutoInstaller class.
  6139. - Added sample/testing usage to the __main__ block.
  6140. * Scripts/webkitpy/thirdparty/__init__.py:
  6141. - Updated the autoinstall lines to use the new autoinstall methods.
  6142. - Added pep8.py to the list of auto-installed packages.
  6143. - Added a README file to the target autoinstallation directory
  6144. so users know that the directory is safe to delete.
  6145. * Scripts/webkitpy/thirdparty/autoinstall.py: Removed.
  6146. - This is replaced by the rewritten autoinstall
  6147. webkitpy/common/system/autoinstall.py.
  6148. * Scripts/webkitpy/thirdparty/autoinstalled/__init__.py: Removed.
  6149. - The target autoinstallation directory is now auto-generated.
  6150. 2010-03-31 Chris Jerdonek <cjerdonek@webkit.org>
  6151. Reviewed by Shinichiro Hamaji.
  6152. Tweak webkitpy's logtesting.LogTesting class to get more mileage out
  6153. of our unit tests that test log messages.
  6154. https://bugs.webkit.org/show_bug.cgi?id=36886
  6155. This patch adds to the LogTesting class's tearDown() method a line
  6156. asserting that the array of remaining log messages is empty. This
  6157. ensures that no extra log messages are getting logged that the caller
  6158. might not be aware of or may have forgotten to check for.
  6159. * Scripts/webkitpy/common/system/logtesting.py:
  6160. - Modified the tearDown() method as described above.
  6161. - Also modified the assertMessages() method to clear the array
  6162. of log messages after asserting.
  6163. 2010-03-31 Chris Jerdonek <cjerdonek@webkit.org>
  6164. Reviewed by Adam Barth.
  6165. Added support for a --verbose-logging flag to test-webkitpy.
  6166. https://bugs.webkit.org/show_bug.cgi?id=36429
  6167. Verbose logging is useful for debugging test-webkitpy code that
  6168. runs before the actual unit tests -- things like autoinstalling and
  6169. unit-test auto-detection logic. This is different from verbose
  6170. logging of the unit tests themselves (which corresponds to the
  6171. unittest module's --verbose flag).
  6172. * Scripts/test-webkitpy:
  6173. - In the configure_logging() method--
  6174. - Added an is_verbose_logging parameter that sets the logging
  6175. level to logging.DEBUG instead of logging.INFO.
  6176. - Changed the method to throttle the logging level on the
  6177. root logger's handler instead of directly on the root logger
  6178. itself.
  6179. - Enabled logging of the autoinstall module when the flag is set.
  6180. * Scripts/webkitpy/thirdparty/autoinstalled/__init__.py:
  6181. - Added a work-around for a bug in Python 2.6's logging module
  6182. that was discovered while working on this patch.
  6183. 2010-03-31 Chris Jerdonek <cjerdonek@webkit.org>
  6184. Reviewed by Adam Barth.
  6185. Enabled Python's logging module for webkit-patch, and replaced
  6186. deprecated_logging with Python logging in networktransaction.py.
  6187. This eliminates some spurious output when running test-webkitpy.
  6188. https://bugs.webkit.org/show_bug.cgi?id=36725
  6189. * Scripts/webkit-patch:
  6190. - Replaced the configure_logging() function with a call to
  6191. the new logutils.configure_logging() function.
  6192. * Scripts/webkitpy/common/net/networktransaction.py:
  6193. - Replaced the use of deprecated_logging with Python logging.
  6194. * Scripts/webkitpy/common/system/logutils.py:
  6195. - Added _default_handlers() which creates the default logging
  6196. handler for webkitpy.
  6197. - Added configure_logging() which configures default logging
  6198. for webkitpy.
  6199. * Scripts/webkitpy/common/system/logutils_unittest.py:
  6200. - Added unit tests for logutils.configure_logging().
  6201. * Scripts/webkitpy/style/checker.py:
  6202. - Refactored check-webkit-style's configure_logging() method
  6203. to call the new logutils.configure_logging().
  6204. * Scripts/webkitpy/style_references.py:
  6205. - Updated references as necessary.
  6206. 2010-03-31 Eric Seidel <eric@webkit.org>
  6207. Reviewed by Adam Barth.
  6208. webkit-patch land fails if not run from the root directory
  6209. https://bugs.webkit.org/show_bug.cgi?id=35822
  6210. The root of the problem was that ChangeLog.__init__ expects a path
  6211. relative to the current working directory, and SCM expects to
  6212. return paths relative to the SCM root. Fix it by converting from
  6213. SCM-relative to absolute paths in Checkout.modified_changelogs
  6214. * Scripts/webkitpy/common/checkout/api.py:
  6215. * Scripts/webkitpy/common/checkout/api_unittest.py:
  6216. 2010-03-31 Adam Barth <abarth@webkit.org>
  6217. Reviewed by Eric Seidel.
  6218. Add more tests for webkitpy.common.checkout
  6219. https://bugs.webkit.org/show_bug.cgi?id=36926
  6220. We don't have a great way of testing checkout, sadly.
  6221. * Scripts/webkitpy/common/checkout/api_unittest.py:
  6222. 2010-03-31 Adam Barth <abarth@webkit.org>
  6223. Reviewed by Eric Seidel.
  6224. REGRESSION: EWS crashes on failure
  6225. https://bugs.webkit.org/show_bug.cgi?id=36924
  6226. Turns out we need to pass one more argument. My test is kind of lame,
  6227. but at least it's there.
  6228. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  6229. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  6230. 2010-03-31 Chris Jerdonek <cjerdonek@webkit.org>
  6231. Unreviewed.
  6232. Fixed typo in WebKitTools/ChangeLog: opsys -> ospath.
  6233. 2010-03-31 Adam Barth <abarth@webkit.org>
  6234. Reviewed by Eric Seidel.
  6235. Make the EWS go faster by being optimistic
  6236. https://bugs.webkit.org/show_bug.cgi?id=36916
  6237. Have the EWS be optimistic that a patch will correctly build. This
  6238. should speed up the common case by not requiring two builds for every
  6239. patch.
  6240. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  6241. * Scripts/webkitpy/tool/commands/queues.py:
  6242. 2010-03-31 Adam Barth <abarth@webkit.org>
  6243. Reviewed by Eric Seidel.
  6244. Add the ability to restart sheriffbot from IRC
  6245. https://bugs.webkit.org/show_bug.cgi?id=36909
  6246. * Scripts/webkitpy/tool/bot/irc_command.py:
  6247. * Scripts/webkitpy/tool/bot/queueengine.py:
  6248. * Scripts/webkitpy/tool/bot/sheriffircbot.py:
  6249. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
  6250. 2010-03-31 Adam Barth <abarth@webkit.org>
  6251. Reviewed by Eric Seidel.
  6252. Add win-ews to QueueStatusServer
  6253. https://bugs.webkit.org/show_bug.cgi?id=36876
  6254. The win-ews is still experimental, but it seems to be more or less
  6255. running. We should show its results to the people.
  6256. * QueueStatusServer/model/queues.py:
  6257. * QueueStatusServer/templates/dashboard.html:
  6258. * QueueStatusServer/templates/statusbubble.html:
  6259. 2010-03-30 Victor Wang <victorw@chromium.org>
  6260. Reviewed by Eric Seidel.
  6261. Update rebaseline tool to check the release image diff binary and
  6262. fallback to debug if the release version does not exist.
  6263. https://bugs.webkit.org/show_bug.cgi?id=36245
  6264. * Scripts/webkitpy/layout_tests/port/base.py:
  6265. * Scripts/webkitpy/layout_tests/port/chromium.py:
  6266. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  6267. 2010-03-31 Eric Seidel <eric@webkit.org>
  6268. Reviewed by Adam Barth.
  6269. Teach buildbot.py how to parse builder activity from /one_box_per_builder
  6270. https://bugs.webkit.org/show_bug.cgi?id=36898
  6271. I also removed some obsolete FIXMEs and
  6272. refactored one_box_per_builder parsing into multiple
  6273. methods for easier reading.
  6274. * Scripts/webkitpy/common/net/buildbot.py:
  6275. * Scripts/webkitpy/common/net/buildbot_unittest.py:
  6276. 2010-03-31 Dirk Pranke <dpranke@chromium.org>
  6277. Reviewed by Eric Seidel.
  6278. Fix logging in new-run-webkit-tests so that we don't report IMAGE
  6279. expected failures as unexpected passes when we run with pixel tests
  6280. disabled.
  6281. This change splits some of the logic embedded into the TestExpectations
  6282. classes out into separate pure functions (result_was_expected,
  6283. remove_image_failures) to make them easier to test. This also adds
  6284. a parameter to matches_an_expected_result() to indicate whether or
  6285. not pixel test results should be included in the expectations.
  6286. https://bugs.webkit.org/show_bug.cgi?id=36771
  6287. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  6288. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_test.py:
  6289. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  6290. 2010-03-31 Chris Jerdonek <cjerdonek@webkit.org>
  6291. Reviewed by Eric Seidel.
  6292. In webkitpy, refactored two calls to os.path.relpath() replacements
  6293. to use a common method.
  6294. https://bugs.webkit.org/show_bug.cgi?id=36891
  6295. * Scripts/webkitpy/common/net/bugzilla.py:
  6296. - Replaced the relpath implementation with a call to
  6297. webkitpy.common.system.ospath.relpath().
  6298. * Scripts/webkitpy/common/system/ospath.py: Added.
  6299. - Moved the relpath() implementation from style/main.py.
  6300. * Scripts/webkitpy/common/system/ospath_unittest.py: Added.
  6301. - Moved the relpath() unit tests from style/main_unittest.py.
  6302. * Scripts/webkitpy/style/main.py:
  6303. - Replaced the relpath implementation with a call to
  6304. webkitpy.common.system.ospath.relpath().
  6305. * Scripts/webkitpy/style/main_unittest.py:
  6306. - Moved the relpath unit tests to ospath_unittest.py.
  6307. 2010-03-31 Adam Barth <abarth@webkit.org>
  6308. Reviewed by Eric Seidel.
  6309. Add a Builder.force_build method
  6310. https://bugs.webkit.org/show_bug.cgi?id=36875
  6311. We plan to eventually use this in SheriffBot to break deadlocks created
  6312. by flaky tests.
  6313. * Scripts/webkitpy/common/net/buildbot.py:
  6314. 2010-03-31 Adam Barth <abarth@webkit.org>
  6315. Reviewed by Eric Seidel.
  6316. webkit-patch reads wrong bug url from unified diff context
  6317. https://bugs.webkit.org/show_bug.cgi?id=36477
  6318. Instead of trying to figure out the bug_id from the diff, we should
  6319. just get the information from the Checkout object, which understands
  6320. these concepts.
  6321. * Scripts/webkitpy/common/checkout/api.py:
  6322. * Scripts/webkitpy/common/checkout/commitinfo.py:
  6323. * Scripts/webkitpy/tool/commands/download.py:
  6324. * Scripts/webkitpy/tool/commands/upload.py:
  6325. * Scripts/webkitpy/tool/mocktool.py:
  6326. 2010-03-31 Adam Barth <abarth@webkit.org>
  6327. Reviewed by Eric Seidel.
  6328. webkit-patch commit-queue should land patches optimistically
  6329. https://bugs.webkit.org/show_bug.cgi?id=34187
  6330. This patch adds an optimistic path to commit-queue and a "fail twice"
  6331. requirement for rejecting patches. That means we'll land good patches
  6332. faster (via the optmistic first run) and we'll reject many fewer
  6333. patches due to flaky tests.
  6334. * Scripts/webkitpy/tool/commands/queues.py:
  6335. 2010-03-31 Diego Gonzalez <diego.gonzalez@openbossa.org>
  6336. Reviewed by Kenneth Rohde Christiansen.
  6337. [Qt] Custom user agent for user agent switcher
  6338. https://bugs.webkit.org/show_bug.cgi?id=36757
  6339. * QtLauncher/main.cpp:
  6340. (LauncherWindow::showUserAgentDialog):
  6341. 2010-03-31 Eric Seidel <eric@webkit.org>
  6342. Reviewed by Adam Barth.
  6343. path to committers.py in commit-queue rejection message is wrong
  6344. https://bugs.webkit.org/show_bug.cgi?id=36865
  6345. This fix would have only been 3 lines long if we had
  6346. 1. Had access to an SCM object or tool to give us the checkout root
  6347. 2. Been able to depend on Python 2.6
  6348. Instead I've added a bunch of hack code, but at least now
  6349. we should never have to update this string again as the location
  6350. of committers.py is fully dynamically discovered. :p
  6351. * Scripts/webkitpy/common/net/bugzilla.py:
  6352. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  6353. 2010-03-31 Shinichiro Hamaji <hamaji@chromium.org>
  6354. Unreviewed test fix for r56809.
  6355. webkit-patch what-broke throws exception
  6356. https://bugs.webkit.org/show_bug.cgi?id=36852
  6357. * Scripts/webkitpy/common/checkout/api_unittest.py:
  6358. 2010-03-30 Chris Jerdonek <cjerdonek@webkit.org>
  6359. Rubber stamped by Dave Levin.
  6360. Made check-webkit-style less chatty.
  6361. Examples include:
  6362. - https://bugs.webkit.org/show_bug.cgi?id=36866#c4
  6363. - https://bugs.webkit.org/show_bug.cgi?id=36472#c9
  6364. * Scripts/webkitpy/style/checker.py:
  6365. - Changed unrecognized file type log message from info to debug.
  6366. 2010-03-30 Kevin Ollivier <kevino@theolliviers.com>
  6367. [wx] Build fix after new method added.
  6368. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  6369. (LayoutTestController::callShouldCloseOnWebView):
  6370. 2010-03-30 Eric Seidel <eric@webkit.org>
  6371. Reviewed by Adam Barth.
  6372. webkit-patch what-broke throws exception
  6373. https://bugs.webkit.org/show_bug.cgi?id=36852
  6374. * Scripts/webkitpy/common/checkout/api.py: Add missing import StringIO.
  6375. * Scripts/webkitpy/common/checkout/api_unittest.py: Test the function which previously threw and exception.
  6376. 2010-03-30 Alexey Proskuryakov <ap@apple.com>
  6377. Reviewed by Darin Adler.
  6378. https://bugs.webkit.org/show_bug.cgi?id=36616
  6379. Dvorak-Qwerty keyboard layout gives unexpected results in javascript keydown
  6380. https://bugs.webkit.org/show_bug.cgi?id=36797
  6381. For non-Roman layouts, keydown Event.keyCode is always 0
  6382. * DumpRenderTree/mac/EventSendingController.mm:
  6383. (-[EventSendingController keyDown:withModifiers:withLocation:]): Generate a correct keyCode
  6384. for keys used in tests (we used to always pass 0 for 'A').
  6385. 2010-03-30 Adam Barth <abarth@webkit.org>
  6386. Reviewed by Eric Seidel.
  6387. Implement win-ews
  6388. https://bugs.webkit.org/show_bug.cgi?id=36809
  6389. * Scripts/webkitpy/common/config/ports.py:
  6390. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  6391. 2010-03-30 Chris Jerdonek <cjerdonek@webkit.org>
  6392. Reviewed by Eric Seidel.
  6393. Adjusted test-webkitpy to delete all orphaned *.pyc files
  6394. from webkitpy/ prior to importing any modules from webkitpy.
  6395. This ensures that no import statements in webkitpy falsely
  6396. succeed because of leftover *.pyc files.
  6397. https://bugs.webkit.org/show_bug.cgi?id=36599
  6398. * Scripts/test-webkitpy:
  6399. - Added _clean_pyc_files() to delete orphaned *.pyc files
  6400. from a directory.
  6401. - Added _clean_webkitpy_with_test() to call and test
  6402. _clean_pyc_files().
  6403. - Moved the "import webkitpy.python24.versioning" statement
  6404. from the top of the module to the init() method -- immediately
  6405. after the call to _clean_webkitpy_with_test().
  6406. 2010-03-30 Fumitoshi Ukai <ukai@chromium.org>
  6407. Reviewed by Shinichiro Hamaji.
  6408. [Chromium-Win] subprocess.call should be called with stdin=open(os.devnull,'r')
  6409. https://bugs.webkit.org/show_bug.cgi?id=36811
  6410. subproess.Popen() on Python 2.4/Windows with stdout,stdout, but no stdin will fail, because it uses return value of GetStdHandle(STD_INPUT_HANDLE), but DuplicateHandle requires integer, not the handle.
  6411. We don't need stdin, so use devnull as stdin.
  6412. Same as https://bugs.webkit.org/show_bug.cgi?id=36586
  6413. * Scripts/webkitpy/layout_tests/port/chromium_win.py: open os.devnull for stdin
  6414. 2010-03-29 Eric Seidel <eric@webkit.org>
  6415. Unreviewed, build fix only.
  6416. * Scripts/webkitpy/tool/steps/validatereviewer.py: Add missing import.
  6417. 2010-03-29 Hayato Ito <hayato@chromium.org>
  6418. Reviewed by Shinichiro Hamaji.
  6419. Remove '_flymake' suffix from base part of file name so that
  6420. check-webkit-style uses a correct header guard name when it is called from Emacs's flymake.
  6421. https://bugs.webkit.org/show_bug.cgi?id=36573
  6422. * Scripts/webkitpy/style/processors/cpp.py:
  6423. * Scripts/webkitpy/style/processors/cpp_unittest.py:
  6424. 2010-03-29 Chris Jerdonek <cjerdonek@webkit.org>
  6425. Reviewed by Eric Seidel.
  6426. Get the following test-webkitpy unit test working again:
  6427. scm_unittest.SVNTest.test_svn_apply().
  6428. https://bugs.webkit.org/show_bug.cgi?id=36696
  6429. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  6430. - Add leading spaces to the empty lines of the ChangeLog strings.
  6431. - Manually set the _reviewer attribute on the Attachment object
  6432. to get the tests to pass.
  6433. 2010-03-29 Martin Robinson <mrobinson@webkit.org>
  6434. Reviewed by Holger Freyther.
  6435. [GTK] suppress (un)desired launcher output that can make layout test to fail with stderr
  6436. https://bugs.webkit.org/show_bug.cgi?id=36390
  6437. Suppress debugging messages sent to the GLib logger during DRT runs.
  6438. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  6439. (logHandler): Added.
  6440. (main): Use logHandler as the default GLib log message handler.
  6441. 2010-03-29 Eric Seidel <eric@webkit.org>
  6442. Reviewed by Adam Barth.
  6443. sheriff-bot should comment on bugs when builders break
  6444. https://bugs.webkit.org/show_bug.cgi?id=36786
  6445. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  6446. - Add a new _post_blame_comment_to_bug and all it from process_work_item
  6447. - Move commit-queue logic into _post_rollout_patch to make its api match the other _post commands.
  6448. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  6449. - Test the new _post_blame_comment_to_bug call
  6450. 2010-03-29 Eric Seidel <eric@webkit.org>
  6451. Reviewed by Adam Barth.
  6452. sheriff-bot fails to get information about certain builds
  6453. https://bugs.webkit.org/show_bug.cgi?id=36768
  6454. This seems to be caused by:
  6455. http://buildbot.net/trac/ticket/753
  6456. I have no work-around, but for now at least we're logging
  6457. the error better. I also added allow_none to our ServerProxy
  6458. creation in case that fixes things for other versions of python.
  6459. * Scripts/webkitpy/common/net/buildbot.py:
  6460. 2010-03-29 Victor Wang <victorw@chromium.org>
  6461. Reviewed by Adam Barth.
  6462. Add sign in/out link to TestResults appengine
  6463. Add a link to main menu for sign in/out to this appengine.
  6464. People signed in with admin privilege could perform
  6465. actions that are only allowed to admins like deleting files.
  6466. https://bugs.webkit.org/show_bug.cgi?id=36767
  6467. * TestResultServer/handlers/menu.py:
  6468. * TestResultServer/stylesheets/menu.css:
  6469. (.sign):
  6470. * TestResultServer/templates/menu.html:
  6471. 2010-03-29 Eric Seidel <eric@webkit.org>
  6472. Reviewed by Adam Barth.
  6473. ValidateReviewer step is draconian and un-tested
  6474. https://bugs.webkit.org/show_bug.cgi?id=36792
  6475. ValidateReviewer logic was commented out in
  6476. http://trac.webkit.org/changeset/56744
  6477. That was a symptom of the fact that validatereviewer.py
  6478. is too inflexible to be used when real humans are driving webkit-patch.
  6479. For now we just disable ValidateReviewer when humans are at the keyboard.
  6480. * Scripts/webkitpy/tool/steps/validatereviewer.py:
  6481. - Only run when in non-interactive mode.
  6482. * Scripts/webkitpy/tool/steps/validatereviewer_unittest.py: Added.
  6483. - Test our validation logic to make sure it's sane.
  6484. 2010-03-29 Chris Jerdonek <cjerdonek@webkit.org>
  6485. Reviewed by Shinichiro Hamaji.
  6486. Eliminate explicit slash characters from check-webkit-style's
  6487. _rel_path() method to make its implementation more platform
  6488. independent.
  6489. https://bugs.webkit.org/show_bug.cgi?id=36759
  6490. * Scripts/webkitpy/style/main.py:
  6491. - Changed to use os.sep instead of slash_chars "/\\". This can
  6492. be done since os.path.abspath() converts slashes to os.sep.
  6493. 2010-03-29 Dirk Pranke <dpranke@chromium.org>
  6494. Reviewed by Dimitri Glazkov.
  6495. Change new-run-webkit-tests to not use more than four threads by
  6496. default on the mac port until
  6497. https://bugs.webkit.org/show_bug.cgi?id=36622 is fixed.
  6498. https://bugs.webkit.org/show_bug.cgi?id=36687
  6499. * Scripts/webkitpy/layout_tests/port/mac.py:
  6500. 2010-03-29 Dirk Pranke <dpranke@chromium.org>
  6501. Reviewed by Dimitri Glazkov.
  6502. Reformat port/mac.py to fit witin 80 columns for PEP-8 compliance.
  6503. https://bugs.webkit.org/show_bug.cgi?id=36691
  6504. * Scripts/webkitpy/layout_tests/port/mac.py:
  6505. 2010-03-29 Eric Seidel <eric@webkit.org>
  6506. Reviewed by Adam Barth.
  6507. new-run-webkit-tests fails java/lc3 on a clean checkout
  6508. https://bugs.webkit.org/show_bug.cgi?id=36078
  6509. * Scripts/webkitpy/layout_tests/port/mac.py:
  6510. - Build the java support files in check_build
  6511. - Unwrap a line which would still fit under 80col
  6512. 2010-02-26 Kenneth Rohde Christiansen <kenneth@webkit.org>
  6513. Reviewed by Simon Fraser.
  6514. Add support for Widgets 1.0: View Mode Media Feature
  6515. https://bugs.webkit.org/show_bug.cgi?id=35446
  6516. Add hooks to the Qt DRT for testing the view mode media feature.
  6517. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  6518. (LayoutTestController::setViewModeMediaFeature):
  6519. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  6520. 2010-03-29 Adam Barth <abarth@webkit.org>
  6521. Unreviewed. Update expected results for unit tests.
  6522. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py:
  6523. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  6524. 2010-03-29 Adam Barth <abarth@webkit.org>
  6525. Unreviewed. I think Eric meant svn_revision.
  6526. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  6527. 2010-03-26 Eric Seidel <eric@webkit.org>
  6528. Reviewed by Adam Barth.
  6529. webkit-patch commit-queue should notice if it breaks builders (and roll out its own changes)
  6530. https://bugs.webkit.org/show_bug.cgi?id=29311
  6531. Now that we have sheriff-bot watching the tree, it can post
  6532. rollout patches on behalf of the commit queue.
  6533. * Scripts/webkitpy/common/checkout/commitinfo.py: add responsible_parties()
  6534. * Scripts/webkitpy/common/checkout/commitinfo_unittest.py: test responsible_parties()
  6535. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  6536. - Break IRC logic out into _post_irc_warning for easier testing.
  6537. - Add _post_rollout_patch for posting rollout patches to bugzilla.
  6538. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  6539. - Test _rollout_reason
  6540. * Scripts/webkitpy/tool/grammar.py:
  6541. - Fix join_with_separators to not add Adam's "oxford comma" for two item lists.
  6542. * Scripts/webkitpy/tool/grammar_unittest.py:
  6543. - Test join_with_separators
  6544. 2010-03-29 Adam Barth <abarth@webkit.org>
  6545. Reviewed by Eric Seidel.
  6546. Sheriffbot should actually run commands
  6547. https://bugs.webkit.org/show_bug.cgi?id=36776
  6548. Some minor changes to Sheriffbot:
  6549. 1) We should actually run commands (by giving control back to the
  6550. command processing object.
  6551. 2) Use URLs instead of just numbers to represent SVN revisions (making
  6552. it easier to folks in IRC ot followup).
  6553. * Scripts/webkitpy/tool/bot/irc_command.py:
  6554. * Scripts/webkitpy/tool/bot/queueengine.py:
  6555. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  6556. 2010-03-26 Kenneth Rohde Christiansen <kenneth@webkit.org>
  6557. Reviewed by Antti Koivisto.
  6558. Renaming of frame flattening LayoutTestController method
  6559. to setFrameFlatteningEnabled(bool)
  6560. * DumpRenderTree/LayoutTestController.cpp:
  6561. (setFrameFlatteningEnabledCallback):
  6562. (LayoutTestController::staticFunctions):
  6563. * DumpRenderTree/LayoutTestController.h:
  6564. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  6565. (LayoutTestController::setFrameFlatteningEnabled):
  6566. * DumpRenderTree/mac/DumpRenderTree.mm:
  6567. (resetDefaultsToConsistentValues):
  6568. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  6569. (LayoutTestController::setFrameFlatteningEnabled):
  6570. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  6571. (WebCore::WebPage::resetSettings):
  6572. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  6573. (LayoutTestController::setFrameFlatteningEnabled):
  6574. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  6575. * DumpRenderTree/win/DumpRenderTree.cpp:
  6576. (resetDefaultsToConsistentValues):
  6577. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  6578. (LayoutTestController::setFrameFlatteningEnabled):
  6579. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  6580. (LayoutTestController::setFrameFlatteningEnabled):
  6581. 2010-03-28 Gustavo Noronha Silva <gns@gnome.org>
  6582. No review, rolling out r56679.
  6583. http://trac.webkit.org/changeset/56679
  6584. https://bugs.webkit.org/show_bug.cgi?id=36454
  6585. Lots of tests broken.
  6586. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  6587. (createWebView):
  6588. 2010-03-28 Chris Jerdonek <cjerdonek@webkit.org>
  6589. Unreviewed.
  6590. Fixed typo in deprecated_logging_unittest.py, which is masking
  6591. sys.stderr while running test-webkitpy.
  6592. See also-- https://bugs.webkit.org/show_bug.cgi?id=36725#c3
  6593. * Scripts/webkitpy/common/system/deprecated_logging_unittest.py:
  6594. 2010-03-28 Chris Jerdonek <cjerdonek@webkit.org>
  6595. Reviewed by Shinichiro Hamaji.
  6596. Renamed check-webkit-style's --debug flag to --verbose to be more
  6597. in line with other WebKit scripts. Also renamed the current
  6598. --verbose flag to --min-confidence to allow the --debug rename.
  6599. https://bugs.webkit.org/show_bug.cgi?id=36521
  6600. We also renamed the internal "verbose" variables to "confidence" or
  6601. "min_confidence," as appropriate, to avoid confusion with the
  6602. --verbose flag, and because the new names are more accurate.
  6603. * Scripts/check-webkit-style:
  6604. - Renamed is_debug to is_verbose.
  6605. * Scripts/webkitpy/style/checker.py:
  6606. - Renamed _DEFAULT_VERBOSITY to _DEFAULT_CONFIDENCE.
  6607. - Renamed "verbosity" parameters to "min_confidence" throughout.
  6608. - Renamed configure_logging()'s is_debug parameter to is_verbose.
  6609. * Scripts/webkitpy/style/checker_unittest.py:
  6610. - Updated the unit tests as necessary.
  6611. * Scripts/webkitpy/style/error_handlers.py:
  6612. - Updated the call to StyleCheckerConfiguration.write_style_error().
  6613. * Scripts/webkitpy/style/error_handlers_unittest.py:
  6614. - Updated the unit tests as necessary.
  6615. * Scripts/webkitpy/style/optparser.py:
  6616. - Updated the usage string with the new flag names.
  6617. - Renamed the verbosity parameter to min_confidence throughout.
  6618. - Renamed the is_debug parameter to is_verbose throughout.
  6619. * Scripts/webkitpy/style/optparser_unittest.py:
  6620. - Updated the unit tests as necessary.
  6621. * Scripts/webkitpy/style/processors/cpp.py:
  6622. - Renamed the verbosity parameter to min_confidence throughout.
  6623. * Scripts/webkitpy/style/processors/cpp_unittest.py:
  6624. - Updated the unit tests as necessary.
  6625. 2010-03-28 Chris Jerdonek <cjerdonek@webkit.org>
  6626. Unreviewed.
  6627. Added back a line that accidentally got deleted in r56690.
  6628. * Scripts/check-webkit-style:
  6629. 2010-03-28 Chris Jerdonek <cjerdonek@webkit.org>
  6630. Reviewed by Shinichiro Hamaji.
  6631. Add to check-webkit-style support for checking directories.
  6632. https://bugs.webkit.org/show_bug.cgi?id=35234
  6633. * Scripts/check-webkit-style:
  6634. - Replaced the call to check_file() with a call to check_paths().
  6635. * Scripts/webkitpy/style/checker.py:
  6636. - In the StyleChecker class:
  6637. - Added a check_paths() method that accepts a list of paths
  6638. to files and directories.
  6639. - Added a _check_directory() method that checks the files
  6640. in a directory.
  6641. * Scripts/webkitpy/style/checker_unittest.py:
  6642. - Added a StyleCheckerCheckPathsTest to unit-test the new
  6643. check_paths() method.
  6644. * Scripts/webkitpy/style/optparser.py:
  6645. - Updated the usage string.
  6646. 2010-03-28 Chris Jerdonek <cjerdonek@webkit.org>
  6647. Reviewed by Shinichiro Hamaji.
  6648. Changed check-webkit-style to convert paths to paths relative to
  6649. the checkout root when invoking check-webkit-style with path
  6650. arguments. Also added warning messages where appropriate.
  6651. https://bugs.webkit.org/show_bug.cgi?id=35498
  6652. Converting paths to paths relative to the checkout root ensures
  6653. that style checking will behave as expected (since path-specific
  6654. rules assume input paths are relative to a source root).
  6655. * Scripts/check-webkit-style:
  6656. - Added debug logging of whether the current directory was found
  6657. to be in a WebKit checkout.
  6658. - Added the found_checkout parameter to the call to parser.parse().
  6659. - Renamed the files variable to paths.
  6660. - Added a call to change_directory() prior to checking style.
  6661. * Scripts/webkitpy/style/checker.py:
  6662. - For StyleChecker.check_file():
  6663. - Updated the docstring.
  6664. - Added two log messages.
  6665. * Scripts/webkitpy/style/checker_unittest.py:
  6666. - Updated a call to parser.parse() with the found_checkout parameter.
  6667. * Scripts/webkitpy/style/main.py: Added.
  6668. - Added a new file so the code in this patch could be unit-tested,
  6669. as opposed to adding new code to check-webkit-style.
  6670. - Added the method _rel_path() as a substitute for os.path.relpath(),
  6671. which is available only in Python 2.6.
  6672. - Added the method change_directory(), which contains most of the
  6673. new functionality in this patch.
  6674. * Scripts/webkitpy/style/main_unittest.py: Added.
  6675. - Added RelPathTest to test main._rel_path().
  6676. - Added ChangeDirectoryTest to test main.change_directory().
  6677. * Scripts/webkitpy/style/optparser.py:
  6678. - Updated check-webkit-style's usage string.
  6679. - For the ArgumentParser.parse() method:
  6680. - Added a found_checkout parameter.
  6681. - Renamed filenames to paths.
  6682. - Added logic so that an error is raised if no paths are passed
  6683. if found_checkout is False.
  6684. * Scripts/webkitpy/style/optparser_unittest.py:
  6685. - Updated the ArgumentParser.parse() unit tests to include
  6686. coverage for the new found_checkout parameter.
  6687. * Scripts/webkitpy/style/unittests.py:
  6688. - Added an import statement for main_unittest.
  6689. * Scripts/webkitpy/style_references.py:
  6690. - Renamed SimpleScm to WebKitCheckout.
  6691. - Added a detect_checkout() function to allow returning None
  6692. instead of a WebKitCheckout instance if no checkout is found.
  6693. - Renamed checkout_root to root_path.
  6694. 2010-03-27 Sergio Villar Senin <svillar@igalia.com>
  6695. Reviewed by Eric Seidel.
  6696. Print didHandleOnloadEventsForFrame in the callback of
  6697. onload-event signal comming from frame loader
  6698. [GTK] Improve reporting of frame loader callbacks in DRT
  6699. https://bugs.webkit.org/show_bug.cgi?id=36454
  6700. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  6701. (webViewOnloadEvent):
  6702. (createWebView): added connection to signal::onload-event and
  6703. signal callback
  6704. 2010-03-27 Sergio Villar Senin <svillar@igalia.com>
  6705. Reviewed by Eric Seidel.
  6706. Print didCommitLoadForFrame in the callback of signal::load-committed
  6707. [GTK] Improve reporting of frame loader callbacks in DRT
  6708. https://bugs.webkit.org/show_bug.cgi?id=36454
  6709. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  6710. (webViewLoadCommitted):
  6711. (createWebView): added connection to sinal::load-committed and
  6712. signal callback
  6713. 2010-03-27 Sergio Villar Senin <svillar@igalia.com>
  6714. Reviewed by Eric Seidel.
  6715. Print didStartProvisionalLoadForFrame in the callback of
  6716. notify::load-status property change notification
  6717. [GTK] Improve reporting of frame loader callbacks in DRT
  6718. https://bugs.webkit.org/show_bug.cgi?id=36454
  6719. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  6720. (webInspectorCloseWindow):
  6721. (webInspectorInspectWebView):
  6722. (createWebView): added connection to notify::load-status and
  6723. signal callback
  6724. 2010-03-27 Chris Jerdonek <cjerdonek@webkit.org>
  6725. Reviewed by Adam Barth.
  6726. In webkitpy/, deleted the /unittests.py files since test-webkitpy
  6727. now auto-detects all *_unittest.py files.
  6728. https://bugs.webkit.org/show_bug.cgi?id=36712
  6729. * Scripts/webkitpy/common/net/irc/unittests.py: Removed.
  6730. * Scripts/webkitpy/common/system/unittests.py: Removed.
  6731. * Scripts/webkitpy/common/thread/unittests.py: Removed.
  6732. * Scripts/webkitpy/common/unittests.py: Removed.
  6733. * Scripts/webkitpy/python24/unittests.py: Removed.
  6734. * Scripts/webkitpy/style/unittests.py: Removed.
  6735. * Scripts/webkitpy/tool/unittests.py: Removed.
  6736. * Scripts/webkitpy/unittests.py: Removed.
  6737. 2010-03-27 Sergio Villar Senin <svillar@igalia.com>
  6738. Reviewed by Eric Seidel.
  6739. Add a CR after printing didFinishDocumentLoadForFrame
  6740. [GTK] Improve reporting of frame loader callbacks in DRT
  6741. https://bugs.webkit.org/show_bug.cgi?id=36454
  6742. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  6743. (webViewLoadFinished):
  6744. 2010-03-27 Chris Jerdonek <cjerdonek@webkit.org>
  6745. Rubber-stamped by Adam Barth.
  6746. Fixed the name of a unit test file in webkitpy.
  6747. * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittest.py: Copied from WebKitTools/Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittests.py.
  6748. * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittests.py: Removed.
  6749. 2010-03-26 Chris Jerdonek <cjerdonek@webkit.org>
  6750. Reviewed by Adam Barth.
  6751. The test-webkitpy script now automatically detects all unit-test
  6752. files in webkitpy/. This lets us eliminate the need to have and
  6753. maintain all of the unittests.py files.
  6754. https://bugs.webkit.org/show_bug.cgi?id=36591
  6755. * Scripts/test-webkitpy:
  6756. - Replaced the "from webkitpy.unittests import *" with a call
  6757. to webkitpy.test.main.Tester().run_tests().
  6758. * Scripts/webkitpy/test/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py.
  6759. - Required file for the new webkitpy/test/ directory.
  6760. * Scripts/webkitpy/test/main.py: Added.
  6761. - Added a Tester class that contains the following methods:
  6762. - _find_unittest_files() to detect all the unit-test files.
  6763. - _modules_from_paths() to convert the paths to the unit-test
  6764. files to fully-qualified module names.
  6765. - run_tests() which calls the above two methods and then passes
  6766. the module names to Python's unittest module.
  6767. 2010-03-27 Robert Hogan <robert@webkit.org>
  6768. Reviewed by Simon Fraser.
  6769. [Qt/Win] Add support to unix and windows NS plugin for executing scripts on setWindow.
  6770. https://bugs.webkit.org/show_bug.cgi?id=36701
  6771. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  6772. (webkit_test_plugin_new_instance): Add onSetWindow.
  6773. (webkit_test_plugin_destroy_instance): Add onSetWindow.
  6774. (webkit_test_plugin_set_window): Add onSetWindow.
  6775. * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
  6776. (NPP_New): Add onSetWindow.
  6777. (NPP_Destroy): Add onSetWindow.
  6778. (NPP_SetWindow): Add onSetWindow.
  6779. 2010-03-26 Robert Hogan <robert@roberthogan.net>
  6780. Reviewed by Simon Hausmann.
  6781. Allow plugins implemented by the application, such as mimetype 'x-qt-plugin',
  6782. when pluginsEnabled is false.
  6783. Add support for LayoutTestController.WebKitPluginsEnabled
  6784. https://bugs.webkit.org/show_bug.cgi?id=32196
  6785. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  6786. (resetDefaultsToConsistentValues):
  6787. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  6788. (copyWebSettingKey):
  6789. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  6790. (WebCore::WebPage::resetSettings):
  6791. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  6792. (LayoutTestController::overridePreference):
  6793. 2010-03-26 Adam Barth <abarth@webkit.org>
  6794. Reviewed by Eric Seidel.
  6795. Add some basic IRC commands to sheriffbot
  6796. https://bugs.webkit.org/show_bug.cgi?id=36684
  6797. Adds support for sheriffbot to respond to a "hi" command and a
  6798. "last-green-revision" command. It's lame that we're rebuilding
  6799. MultiCommandTool, but as discussed in person we'll intergrate the two
  6800. once we see what the requirements are.
  6801. * Scripts/webkitpy/tool/bot/irc_command.py: Added.
  6802. * Scripts/webkitpy/tool/bot/queueengine.py:
  6803. * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
  6804. * Scripts/webkitpy/tool/bot/sheriffircbot.py:
  6805. * Scripts/webkitpy/tool/bot/sheriffircbot_unittest.py: Added.
  6806. * Scripts/webkitpy/tool/commands/queues.py:
  6807. * Scripts/webkitpy/tool/commands/queuestest.py:
  6808. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  6809. * Scripts/webkitpy/tool/main.py:
  6810. * Scripts/webkitpy/tool/mocktool.py:
  6811. * Scripts/webkitpy/tool/unittests.py:
  6812. 2010-03-26 Adam Barth <abarth@webkit.org>
  6813. Unreviewed. More errors in the IRC module. I have no idea how to test
  6814. ircbot.py, which is too bad. Hopefully we've abstracted it away enough
  6815. that we don't have to touch it very much after this patch.
  6816. * Scripts/webkitpy/common/net/irc/ircbot.py:
  6817. 2010-03-26 Adam Barth <abarth@webkit.org>
  6818. Unreviewed. Add a missing "_".
  6819. * Scripts/webkitpy/common/net/irc/ircproxy.py:
  6820. * Scripts/webkitpy/common/net/irc/ircproxy_unittest.py: Added.
  6821. * Scripts/webkitpy/common/net/irc/unittests.py:
  6822. 2010-03-26 Adam Barth <abarth@webkit.org>
  6823. Unreviewed. Fix a the commit queue after my recent change.
  6824. * Scripts/webkitpy/tool/bot/queueengine.py:
  6825. 2010-03-26 Dirk Pranke <dpranke@chromium.org>
  6826. Unreviewed fix.
  6827. Fix the return value for port/base.diff_image (changed from 1/0 to
  6828. True/False in bug 34826.
  6829. * Scripts/webkitpy/layout_tests/port/base.py:
  6830. 2010-03-26 Dirk Pranke <dpranke@chromium.org>
  6831. Reviewed by Eric Seidel.
  6832. Change the Mac port of new-run-webkit-tests to look for a
  6833. test_expectations.txt file in addition to the Skipped files, so we
  6834. can track pixel failures.
  6835. https://bugs.webkit.org/show_bug.cgi?id=36619
  6836. * Scripts/webkitpy/layout_tests/port/mac.py:
  6837. 2010-03-26 Dirk Pranke <dpranke@chromium.org>
  6838. Reviewed by Eric Seidel.
  6839. Implement pixel tests (image diff) properly on the Mac port.
  6840. This change introduces a new "ServerPocess" class that can be used
  6841. to manage processes that the run-webkit-tests harness forks off and
  6842. expects to stay up for longer than a single request/response session.
  6843. Both DumpRenderTree and ImageDiff use this style of communication,
  6844. although the current code forks off a new ImageDiff for each diff
  6845. (We need to restructure other parts of the code to be able to do this
  6846. safely in a multi-threaded environment).
  6847. Also, now that the ServerProcess abstraction exists, we can probably
  6848. clean up and simplify some of the thread management logic in
  6849. test_shell_thread as well.
  6850. https://bugs.webkit.org/show_bug.cgi?id=34826
  6851. * Scripts/webkitpy/layout_tests/port/mac.py:
  6852. * Scripts/webkitpy/layout_tests/port/server_process.py:
  6853. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  6854. 2010-03-26 Sergio Villar Senin <svillar@igalia.com>
  6855. Reviewed by Eric Seidel.
  6856. Print didFinishLoadForFrame outcome in DRT
  6857. [GTK] Improve reporting of frame loader callbacks in DRT
  6858. https://bugs.webkit.org/show_bug.cgi?id=36454
  6859. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  6860. (webViewLoadCommitted):
  6861. 2010-03-26 Eric Seidel <eric@webkit.org>
  6862. Unreviewed test fix.
  6863. My change conflicted with one of Adam's causing test-webkitpy to fail.
  6864. Move commit_message_for_this_commit from scm to checkout
  6865. https://bugs.webkit.org/show_bug.cgi?id=36629
  6866. * Scripts/webkitpy/common/checkout/api_unittest.py:
  6867. - modified_changelogs is now on Checkout instead of scm.
  6868. 2010-03-26 Adam Barth <abarth@webkit.org>
  6869. Reviewed by Eric Seidel.
  6870. Refactor IRCBot controller logic to allow for commands
  6871. https://bugs.webkit.org/show_bug.cgi?id=36676
  6872. We need to move the controller logic into the tool package so it can
  6873. know about commands. The changes to queueengine could go in a
  6874. different patch, but we're going to need it anyway.
  6875. * Scripts/webkitpy/common/config/irc.py: Added.
  6876. * Scripts/webkitpy/common/net/irc/ircbot.py:
  6877. * Scripts/webkitpy/common/net/irc/ircproxy.py:
  6878. * Scripts/webkitpy/tool/bot/queueengine.py:
  6879. * Scripts/webkitpy/tool/bot/sheriffircbot.py: Added.
  6880. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  6881. * Scripts/webkitpy/tool/main.py:
  6882. * Scripts/webkitpy/tool/mocktool.py:
  6883. 2010-03-26 Adam Barth <abarth@webkit.org>
  6884. Rubber stamped by Eric Seidel.
  6885. Move the threading code into its own module. (It has nothing to do with IRC.)
  6886. * Scripts/webkitpy/common/net/irc/ircbot.py:
  6887. * Scripts/webkitpy/common/net/irc/ircproxy.py:
  6888. * Scripts/webkitpy/common/net/irc/messagepump.py: Removed.
  6889. * Scripts/webkitpy/common/net/irc/messagepump_unittest.py: Removed.
  6890. * Scripts/webkitpy/common/net/irc/threadedmessagequeue.py: Removed.
  6891. * Scripts/webkitpy/common/net/irc/threadedmessagequeue_unittest.py: Removed.
  6892. * Scripts/webkitpy/common/net/irc/unittests.py:
  6893. * Scripts/webkitpy/common/thread: Added.
  6894. * Scripts/webkitpy/common/thread/__init__.py: Added.
  6895. * Scripts/webkitpy/common/thread/messagepump.py: Copied from Scripts/webkitpy/common/net/irc/messagepump.py.
  6896. * Scripts/webkitpy/common/thread/messagepump_unittest.py: Copied from Scripts/webkitpy/common/net/irc/messagepump_unittest.py.
  6897. * Scripts/webkitpy/common/thread/threadedmessagequeue.py: Copied from Scripts/webkitpy/common/net/irc/threadedmessagequeue.py.
  6898. * Scripts/webkitpy/common/thread/threadedmessagequeue_unittest.py: Copied from Scripts/webkitpy/common/net/irc/threadedmessagequeue_unittest.py.
  6899. * Scripts/webkitpy/common/thread/unittests.py: Added.
  6900. * Scripts/webkitpy/common/unittests.py:
  6901. 2010-03-26 Eric Seidel <eric@webkit.org>
  6902. Reviewed by Adam Barth.
  6903. Move commit_message_for_this_commit from scm to checkout
  6904. https://bugs.webkit.org/show_bug.cgi?id=36629
  6905. Finally add some basic unit testing for Checkout.commit_message_for_this_commit
  6906. * Scripts/webkitpy/common/checkout/api.py:
  6907. * Scripts/webkitpy/common/checkout/api_unittest.py: Added.
  6908. * Scripts/webkitpy/common/unittests.py:
  6909. 2010-03-26 Diego Gonzalez <diego.gonzalez@openbossa.org>
  6910. [Qt] User Agent Switcher on QtLauncher
  6911. https://bugs.webkit.org/show_bug.cgi?id=36451
  6912. Patch by Diego Gonzalez <diego.gonzalez@openbossa.org> on 2010-03-26
  6913. Reviewed by Simon Hausmann.
  6914. Make possible to change the QtLauncher user agent via
  6915. a predefined list.
  6916. * QtLauncher/QtLauncher.pro:
  6917. * QtLauncher/QtLauncher.qrc: Added.
  6918. * QtLauncher/main.cpp:
  6919. (LauncherWindow::showUserAgentDialog):
  6920. (LauncherWindow::createChrome):
  6921. * QtLauncher/useragentlist.txt: Added.
  6922. * QtLauncher/webpage.cpp:
  6923. (WebPage::userAgentForUrl):
  6924. * QtLauncher/webpage.h:
  6925. (WebPage::setUserAgent):
  6926. 2010-03-26 Victor Wang <victorw@chromium.org>
  6927. Reviewed by Adam Barth.
  6928. Host layout test flakiness dashboard in TestResultServer appengine.
  6929. Flakiness dashboard is a tool to monitor layout test status and
  6930. help layout test regression diagnostics.
  6931. https://bugs.webkit.org/show_bug.cgi?id=36195
  6932. * TestResultServer/handlers/dashboardhandler.py: Added.
  6933. - New handler to handle dashboard request
  6934. * TestResultServer/handlers/menu.py:
  6935. - Add new dashboard links
  6936. * TestResultServer/handlers/testfilehandler.py:
  6937. - Request routes refactory
  6938. * TestResultServer/index.yaml:
  6939. * TestResultServer/main.py:
  6940. - Add new dashboard request routes and refactor test result file rountes.
  6941. * TestResultServer/model/dashboardfile.py: Added.
  6942. - Model to access datastore for dashboard files
  6943. * TestResultServer/model/testfile.py:
  6944. * TestResultServer/stylesheets/dashboardfile.css: Added.
  6945. * TestResultServer/templates/dashboardfilelist.html: Added.
  6946. * TestResultServer/templates/showfilelist.html:
  6947. 2010-03-26 Adam Barth <abarth@webkit.org>
  6948. Reviewed by Eric Seidel.
  6949. Remove some evil statics from CommitInfo
  6950. https://bugs.webkit.org/show_bug.cgi?id=36637
  6951. These methods should really be on checkout. You can tell because they
  6952. know about ChangeLogs and take an SCM as an argument. :)
  6953. * Scripts/webkitpy/common/checkout/api.py:
  6954. * Scripts/webkitpy/common/checkout/changelog.py:
  6955. * Scripts/webkitpy/common/checkout/commitinfo.py:
  6956. * Scripts/webkitpy/tool/commands/queries.py:
  6957. 2010-03-23 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  6958. Reviewed by Simon Hausmann.
  6959. Add an option to QtLauncher to enable/disable a QGLWidget as Viewport
  6960. of the QGraphicsView when the launcher is running on graphicsview mode.
  6961. [Qt] QtLauncher needs an option to Enable/Disable a QGLWidget as Viewport
  6962. https://bugs.webkit.org/show_bug.cgi?id=36270
  6963. * QtLauncher/QtLauncher.pro:
  6964. * QtLauncher/main.cpp:
  6965. (LauncherWindow::toggleQGLWidgetViewport):
  6966. (LauncherWindow::createChrome):
  6967. 2010-03-26 Fumitoshi Ukai <ukai@chromium.org>
  6968. Reviewed by Shinichiro Hamaji.
  6969. [Chromium-Win] websocket_server.py failed to start
  6970. https://bugs.webkit.org/show_bug.cgi?id=36586
  6971. subproess.Popen() on Python 2.4/Windows with stdout,stdout, but no stdin will fail, because it uses return value of GetStdHandle(STD_INPUT_HANDLE), but DuplicateHandle requires integer, not the handle.
  6972. We don't need stdin, so use devnull as stdin.
  6973. * Scripts/webkitpy/layout_tests/port/websocket_server.py: open os.devnull for stdin
  6974. 2010-03-26 Kent Tamura <tkent@chromium.org>
  6975. Reviewed by Dimitri Glazkov.
  6976. [DRT/Chromium] Add TestNavigationController and TestWebWorker
  6977. https://bugs.webkit.org/show_bug.cgi?id=36520
  6978. Add LayoutTestController class, which is going to be used by
  6979. DumpRenderTree Chromium port. These files are based on:
  6980. - src/webkit/tools/test_shell/layout_test_controller.cc
  6981. - src/webkit/tools/test_shell/layout_test_controller.h
  6982. of Chromium rev.40492.
  6983. * DumpRenderTree/chromium/LayoutTestController.cpp: Added.
  6984. * DumpRenderTree/chromium/LayoutTestController.h: Added.
  6985. 2010-03-25 Charlie Reis <creis@chromium.org>
  6986. Reviewed by Adam Barth.
  6987. onbeforeunload not called at window close + frame or iframe focused
  6988. https://bugs.webkit.org/show_bug.cgi?id=27481
  6989. Adds a callShouldCloseOnWebView method to LayoutTestController,
  6990. to allow automated testing for bug 27481.
  6991. * DumpRenderTree/LayoutTestController.cpp:
  6992. (callShouldCloseOnWebViewCallback):
  6993. (LayoutTestController::staticFunctions):
  6994. * DumpRenderTree/LayoutTestController.h:
  6995. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  6996. (LayoutTestController::callShouldCloseOnWebView):
  6997. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  6998. (LayoutTestController::callShouldCloseOnWebView):
  6999. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  7000. (LayoutTestController::callShouldCloseOnWebView):
  7001. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  7002. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  7003. (LayoutTestController::callShouldCloseOnWebView):
  7004. 2010-03-25 Eric Seidel <eric@webkit.org>
  7005. Reviewed by Adam Barth.
  7006. Add webkit-patch lkgr for finding last known good revision
  7007. https://bugs.webkit.org/show_bug.cgi?id=36626
  7008. This is rather slow for now because the command
  7009. has to compute this information from the buildbot.
  7010. A better long-term solution would be to have a server
  7011. somewhere store a pre-computed LKGR and then any
  7012. script (like webkit-patch) could just fetch it.
  7013. * Scripts/webkitpy/common/net/buildbot.py:
  7014. * Scripts/webkitpy/tool/commands/queries.py:
  7015. 2010-03-25 Adam Barth <abarth@webkit.org>
  7016. Reviewed by Eric Seidel.
  7017. Move modified_changelogs (and friends) from scm to checkout
  7018. https://bugs.webkit.org/show_bug.cgi?id=36636
  7019. These functions know about ChangeLogs, which is forbidden knowledge in
  7020. scm.py.
  7021. * Scripts/webkitpy/common/checkout/api.py:
  7022. * Scripts/webkitpy/common/checkout/changelog.py:
  7023. * Scripts/webkitpy/common/checkout/scm.py:
  7024. * Scripts/webkitpy/tool/mocktool.py:
  7025. * Scripts/webkitpy/tool/steps/abstractstep.py:
  7026. * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
  7027. * Scripts/webkitpy/tool/steps/revertrevision.py:
  7028. * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
  7029. * Scripts/webkitpy/tool/steps/validatereviewer.py:
  7030. 2010-03-25 Adam Barth <abarth@webkit.org>
  7031. Reviewed by Eric Seidel.
  7032. Move apply_patch from scm to checkout
  7033. https://bugs.webkit.org/show_bug.cgi?id=36635
  7034. SCM shouldn't have any knowledge of WebKit scripts.
  7035. * Scripts/webkitpy/common/checkout/api.py:
  7036. * Scripts/webkitpy/common/checkout/scm.py:
  7037. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  7038. * Scripts/webkitpy/tool/mocktool.py:
  7039. * Scripts/webkitpy/tool/steps/applypatch.py:
  7040. 2010-03-25 Eric Seidel <eric@webkit.org>
  7041. Unreviewed build fix to un-break webkit-patch land.
  7042. Test-case coming in follow-up commit.
  7043. Move commit_message_for_this_commit from scm to checkout
  7044. https://bugs.webkit.org/show_bug.cgi?id=36629
  7045. * Scripts/webkitpy/common/checkout/api.py: import scm.CommitMessage
  7046. 2010-03-25 Dan Bernstein <mitz@apple.com>
  7047. Reviewed by Darin Adler.
  7048. <rdar://problem/7728903> Support color bitmap fonts
  7049. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added ColorBits.ttf
  7050. and ColorBits-A.png.
  7051. * DumpRenderTree/fonts/ColorBits-A.png: Copied from WebCore/inspector/front-end/Images/successGreenDot.png.
  7052. * DumpRenderTree/fonts/ColorBits.ttf: Added.
  7053. * DumpRenderTree/mac/DumpRenderTree.mm:
  7054. (activateFonts): Activate ColorBits.ttf.
  7055. 2010-03-25 Mark Rowe <mrowe@apple.com>
  7056. Remove a printf that was causing commit-log-editor to spew the name of the editor
  7057. to the terminal many times during a commit.
  7058. * Scripts/commit-log-editor:
  7059. 2010-03-25 Adam Barth <abarth@webkit.org>
  7060. Reviewed by Eric Seidel.
  7061. Move commit_message_for_this_commit from scm to checkout
  7062. https://bugs.webkit.org/show_bug.cgi?id=36629
  7063. This function requires knowledge of ChangeLogs, but scm shouldn't know
  7064. about ChangeLogs.
  7065. * Scripts/webkitpy/common/checkout/api.py:
  7066. * Scripts/webkitpy/common/checkout/scm.py:
  7067. * Scripts/webkitpy/tool/commands/upload.py:
  7068. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  7069. * Scripts/webkitpy/tool/mocktool.py:
  7070. * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py:
  7071. * Scripts/webkitpy/tool/steps/commit.py:
  7072. 2010-03-25 Adam Barth <abarth@webkit.org>
  7073. Reviewed by Eric Seidel.
  7074. REGRESSION: webkit-patch land can't land "rubber-stamped" patches
  7075. https://bugs.webkit.org/show_bug.cgi?id=36582
  7076. Allow a "-" in rubber stamped.
  7077. * Scripts/webkitpy/tool/steps/validatereviewer.py:
  7078. 2010-03-25 Adam Barth <abarth@webkit.org>
  7079. Unreviewed. Fix some copyright lines to remove extraneous comma and
  7080. python directive.
  7081. * Scripts/webkitpy/tool/bot/patchcollection.py:
  7082. * Scripts/webkitpy/tool/bot/patchcollection_unittest.py:
  7083. * Scripts/webkitpy/tool/bot/queueengine.py:
  7084. * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
  7085. * Scripts/webkitpy/tool/commands/download.py:
  7086. * Scripts/webkitpy/tool/commands/earlywarningsystem.py:
  7087. * Scripts/webkitpy/tool/commands/queries.py:
  7088. * Scripts/webkitpy/tool/commands/queues.py:
  7089. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  7090. * Scripts/webkitpy/tool/comments.py:
  7091. * Scripts/webkitpy/tool/grammar.py:
  7092. * Scripts/webkitpy/tool/multicommandtool.py:
  7093. * Scripts/webkitpy/tool/multicommandtool_unittest.py:
  7094. 2010-03-25 Simon Fraser <simon.fraser@apple.com>
  7095. Reviewed by Darin Adler, Alexey Proskuryakov.
  7096. https://bugs.webkit.org/show_bug.cgi?id=36631
  7097. Allow the test plugin to run scripts in response to NPP_SetWindow calls
  7098. Hook up the ability for the TestNetscapePlugIn to run JavaScript in
  7099. response to NPP_SetWindow.
  7100. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  7101. (pluginAllocate):
  7102. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
  7103. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  7104. (NPP_New):
  7105. (NPP_Destroy):
  7106. (NPP_SetWindow):
  7107. 2010-03-25 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  7108. Unreviewed, build fix.
  7109. [Qt] Fix QtLauncher guards.
  7110. * QtLauncher/main.cpp:
  7111. (LauncherWindow::showFPS):
  7112. (LauncherWindow::updateFPS):
  7113. 2010-03-25 Yury Semikhatsky <yurys@chromium.org>
  7114. Reviewed by Pavel Feldman.
  7115. Allow running tests with enabled developer extras and closed Web Inspector. Tests that have inspector-enabled/ in their path/url will have developer extras enabled.
  7116. https://bugs.webkit.org/show_bug.cgi?id=36610
  7117. * DumpRenderTree/LayoutTestController.h:
  7118. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  7119. (shouldEnableDeveloperExtras):
  7120. (runTest):
  7121. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  7122. (LayoutTestController::setJavaScriptProfilingEnabled):
  7123. (LayoutTestController::setDeveloperExtrasEnabled):
  7124. (LayoutTestController::showWebInspector):
  7125. (LayoutTestController::closeWebInspector):
  7126. * DumpRenderTree/mac/DumpRenderTree.mm:
  7127. (shouldEnableDeveloperExtras):
  7128. (runTest):
  7129. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  7130. (LayoutTestController::setJavaScriptProfilingEnabled):
  7131. (LayoutTestController::setDeveloperExtrasEnabled):
  7132. (LayoutTestController::showWebInspector):
  7133. (LayoutTestController::closeWebInspector):
  7134. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  7135. (WebCore::shouldEnableDeveloperExtras):
  7136. (WebCore::DumpRenderTree::open):
  7137. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  7138. (LayoutTestController::closeWebInspector):
  7139. (LayoutTestController::setDeveloperExtrasEnabled):
  7140. (LayoutTestController::showWebInspector):
  7141. (LayoutTestController::setJavaScriptProfilingEnabled):
  7142. * DumpRenderTree/win/DumpRenderTree.cpp:
  7143. (shouldEnableDeveloperExtras):
  7144. (runTest):
  7145. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  7146. (LayoutTestController::setJavaScriptProfilingEnabled):
  7147. (LayoutTestController::setDeveloperExtrasEnabled):
  7148. (LayoutTestController::showWebInspector):
  7149. (LayoutTestController::closeWebInspector):
  7150. 2010-03-25 Adam Barth <abarth@webkit.org>
  7151. Rubber stamped by Eric Seidel.
  7152. Tweaks to sheriffbot to improve latency by keeping the working copy up
  7153. to date even when there's no build break. Also, officially move
  7154. sheriffbot to #webkit.
  7155. (Also teach ValidateReviewer to understand rubber stamps.)
  7156. * Scripts/webkitpy/common/net/irc/ircbot.py:
  7157. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  7158. * Scripts/webkitpy/tool/steps/validatereviewer.py:
  7159. 2010-03-22 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  7160. Reviewed by Simon Hausmann.
  7161. Not displaying FPS info on the terminal. On S60 and Maemo the
  7162. Window title will be used and Status bar will used on desktop.
  7163. [Qt] QtLauncher's FPS info should not be displayed on the terminal
  7164. https://bugs.webkit.org/show_bug.cgi?id=36244
  7165. * QtLauncher/main.cpp:
  7166. (LauncherWindow::initializeView):
  7167. (LauncherWindow::showFPS):
  7168. (LauncherWindow::updateFPS):
  7169. * QtLauncher/webview.cpp:
  7170. (WebViewGraphicsBased::setFrameRateMeasurementEnabled):
  7171. (WebViewGraphicsBased::updateFrameRate):
  7172. * QtLauncher/webview.h:
  7173. (WebViewGraphicsBased::frameRateMeasurementEnabled):
  7174. 2010-03-25 Diego Gonzalez <diego.gonzalez@openbossa.org>
  7175. Reviewed by Kenneth Christiansen.
  7176. Added missing frame flattening activation on
  7177. fast/frames/flattening/frameset-flattening-grid.html;
  7178. removed unnecessary CONSOLE MESSAGE from the expected file;
  7179. reset the setFrameSetFlatteningEnabled for each test.
  7180. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  7181. (WebCore::WebPage::resetSettings):
  7182. 2010-03-25 Chris Jerdonek <cjerdonek@webkit.org>
  7183. Reviewed by Adam Barth.
  7184. Moved deprecated_logging unit test import statement from
  7185. webkitpy/unittests.py to webkitpy/common/system/unittests.py.
  7186. https://bugs.webkit.org/show_bug.cgi?id=36093
  7187. This is part of the master bug to reorganize webkitpy.
  7188. * Scripts/webkitpy/common/system/unittests.py:
  7189. * Scripts/webkitpy/unittests.py:
  7190. 2010-03-25 Chris Jerdonek <cjerdonek@webkit.org>
  7191. Reviewed by Adam Barth.
  7192. Moved webkit_logging.py to common/system/deprecated_logging.py
  7193. inside webkitpy.
  7194. https://bugs.webkit.org/show_bug.cgi?id=36093
  7195. This is part of the master bug to reorganize webkitpy.
  7196. * Scripts/validate-committer-lists:
  7197. * Scripts/webkitpy/common/checkout/changelog.py:
  7198. * Scripts/webkitpy/common/checkout/scm.py:
  7199. * Scripts/webkitpy/common/net/bugzilla.py:
  7200. * Scripts/webkitpy/common/net/buildbot.py:
  7201. * Scripts/webkitpy/common/net/credentials.py:
  7202. * Scripts/webkitpy/common/net/irc/ircproxy.py:
  7203. * Scripts/webkitpy/common/net/networktransaction.py:
  7204. * Scripts/webkitpy/common/net/statusserver.py:
  7205. * Scripts/webkitpy/common/system/deprecated_logging.py: Copied from WebKitTools/Scripts/webkitpy/webkit_logging.py.
  7206. * Scripts/webkitpy/common/system/deprecated_logging_unittest.py: Copied from WebKitTools/Scripts/webkitpy/webkit_logging_unittest.py.
  7207. * Scripts/webkitpy/common/system/executive.py:
  7208. * Scripts/webkitpy/tool/bot/queueengine.py:
  7209. * Scripts/webkitpy/tool/commands/download.py:
  7210. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py:
  7211. * Scripts/webkitpy/tool/commands/openbugs.py:
  7212. * Scripts/webkitpy/tool/commands/queries.py:
  7213. * Scripts/webkitpy/tool/commands/queues.py:
  7214. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  7215. * Scripts/webkitpy/tool/commands/stepsequence.py:
  7216. * Scripts/webkitpy/tool/commands/upload.py:
  7217. * Scripts/webkitpy/tool/main.py:
  7218. * Scripts/webkitpy/tool/mocktool.py:
  7219. * Scripts/webkitpy/tool/multicommandtool.py:
  7220. * Scripts/webkitpy/tool/steps/abstractstep.py:
  7221. * Scripts/webkitpy/tool/steps/applypatch.py:
  7222. * Scripts/webkitpy/tool/steps/build.py:
  7223. * Scripts/webkitpy/tool/steps/checkstyle.py:
  7224. * Scripts/webkitpy/tool/steps/closebug.py:
  7225. * Scripts/webkitpy/tool/steps/closebugforlanddiff.py:
  7226. * Scripts/webkitpy/tool/steps/confirmdiff.py:
  7227. * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py:
  7228. * Scripts/webkitpy/tool/steps/ensurelocalcommitifneeded.py:
  7229. * Scripts/webkitpy/tool/steps/obsoletepatches.py:
  7230. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  7231. * Scripts/webkitpy/tool/steps/reopenbugafterrollout.py:
  7232. * Scripts/webkitpy/tool/steps/runtests.py:
  7233. * Scripts/webkitpy/tool/steps/update.py:
  7234. * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
  7235. * Scripts/webkitpy/tool/steps/validatereviewer.py:
  7236. * Scripts/webkitpy/unittests.py:
  7237. * Scripts/webkitpy/webkit_logging.py: Removed.
  7238. * Scripts/webkitpy/webkit_logging_unittest.py: Removed.
  7239. 2010-03-25 Julien Chaffraix <jchaffraix@webkit.org>
  7240. Reviewed by Kenneth Rohde Christiansen.
  7241. commit-log-editor can call itself in an infinite loop
  7242. https://bugs.webkit.org/show_bug.cgi?id=35291
  7243. if $editor ends up being commit-log-editor, the script will exec itself
  7244. in an infinite loop.
  7245. To avoid this, we now check that the $editor variable is not
  7246. commit-log-editor to avoid this case.
  7247. * Scripts/commit-log-editor: Added an isCommitLogEditor method and
  7248. reworked the $editor setting to add this check.
  7249. 2010-03-25 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  7250. Reviewed by Kenneth Rohde Christiansen.
  7251. Add a Toggle Frame Flattening option to QtLauncher.
  7252. It will be enabled by default on Maemo5 and S60 platforms.
  7253. [Qt] Add enable/disable Frame Flattening option to QtLauncher
  7254. https://bugs.webkit.org/show_bug.cgi?id=36558
  7255. * QtLauncher/main.cpp:
  7256. (LauncherWindow::applyPrefs):
  7257. (LauncherWindow::toggleFrameFlattening):
  7258. (LauncherWindow::createChrome):
  7259. 2010-03-25 Zoltan Horvath <zoltan@webkit.org>
  7260. Reviewed by Eric Seidel.
  7261. svn-create-patch prints a warning for large patches
  7262. https://bugs.webkit.org/show_bug.cgi?id=32582
  7263. svn-create-patch prints a warning message for larger patches than 20k.
  7264. * Scripts/svn-create-patch:
  7265. 2010-03-25 Adam Barth <abarth@webkit.org>
  7266. Unreviewed. Renamed early_warning_system.py to earlywarningsystem.py.
  7267. https://bugs.webkit.org/show_bug.cgi?id=36093
  7268. * Scripts/webkitpy/tool/commands/early_warning_system.py: Removed.
  7269. * Scripts/webkitpy/tool/commands/early_warning_system_unittest.py: Removed.
  7270. * Scripts/webkitpy/tool/commands/earlywarningsystem.py: Copied from Scripts/webkitpy/tool/commands/early_warning_system.py.
  7271. * Scripts/webkitpy/tool/commands/earlywarningsystem_unittest.py: Copied from Scripts/webkitpy/tool/commands/early_warning_system_unittest.py.
  7272. * Scripts/webkitpy/tool/main.py:
  7273. * Scripts/webkitpy/tool/unittests.py:
  7274. 2010-03-25 Chris Jerdonek <cjerdonek@webkit.org>
  7275. Reviewed by Adam Barth.
  7276. In webkitpy, pushed the unit test import statements in
  7277. webkitpy/unittests.py into appropriate unittests.py files in the
  7278. new root-level packages beneath webkitpy.
  7279. https://bugs.webkit.org/show_bug.cgi?id=36093
  7280. This is part of the master bug to reorganize webkitpy.
  7281. * Scripts/webkitpy/common/system/unittests.py:
  7282. * Scripts/webkitpy/common/unittests.py: Added.
  7283. * Scripts/webkitpy/python24/unittests.py: Added.
  7284. * Scripts/webkitpy/tool/unittests.py: Added.
  7285. * Scripts/webkitpy/unittests.py:
  7286. 2010-03-25 Adam Barth <abarth@webkit.org>
  7287. Unreviewed. Move WebKitCheckout into the webkitpy.common.checkout
  7288. package.
  7289. https://bugs.webkit.org/show_bug.cgi?id=36093
  7290. * Scripts/webkitpy/common/checkout/api.py: Copied from Scripts/webkitpy/webkitcheckout.py.
  7291. * Scripts/webkitpy/tool/main.py:
  7292. * Scripts/webkitpy/tool/mocktool.py:
  7293. * Scripts/webkitpy/webkitcheckout.py: Removed.
  7294. 2010-03-25 Adam Barth <abarth@webkit.org>
  7295. Unreviewed. Move OutputCapture to webkitpy.common.system.
  7296. https://bugs.webkit.org/show_bug.cgi?id=36093
  7297. * Scripts/webkitpy/common/net/bugzilla_unittest.py:
  7298. * Scripts/webkitpy/common/net/credentials_unittest.py:
  7299. * Scripts/webkitpy/common/system/outputcapture.py: Copied from Scripts/webkitpy/outputcapture.py.
  7300. * Scripts/webkitpy/outputcapture.py: Removed.
  7301. * Scripts/webkitpy/tool/commands/commandtest.py:
  7302. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  7303. * Scripts/webkitpy/tool/commands/queuestest.py:
  7304. * Scripts/webkitpy/tool/multicommandtool_unittest.py:
  7305. * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:
  7306. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  7307. * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittests.py:
  7308. 2010-03-25 Adam Barth <abarth@webkit.org>
  7309. Unreviewed. Move user.py to webkitpy.common.system.
  7310. * Scripts/webkitpy/common/checkout/scm.py:
  7311. * Scripts/webkitpy/common/net/bugzilla.py:
  7312. * Scripts/webkitpy/common/net/credentials.py:
  7313. * Scripts/webkitpy/common/system/user.py: Copied from Scripts/webkitpy/user.py.
  7314. * Scripts/webkitpy/common/system/user_unittest.py: Copied from Scripts/webkitpy/user_unittest.py.
  7315. * Scripts/webkitpy/tool/commands/upload.py:
  7316. * Scripts/webkitpy/tool/main.py:
  7317. * Scripts/webkitpy/unittests.py:
  7318. * Scripts/webkitpy/user.py: Removed.
  7319. * Scripts/webkitpy/user_unittest.py: Removed.
  7320. 2010-03-25 Adam Barth <abarth@webkit.org>
  7321. Unreviewed. Move executive.py to webkitpy.common.system.
  7322. https://bugs.webkit.org/show_bug.cgi?id=36093
  7323. * Scripts/webkitpy/common/checkout/scm.py:
  7324. * Scripts/webkitpy/common/checkout/scm_unittest.py:
  7325. * Scripts/webkitpy/common/config/ports.py:
  7326. * Scripts/webkitpy/common/config/ports_unittest.py:
  7327. * Scripts/webkitpy/common/net/credentials.py:
  7328. * Scripts/webkitpy/common/net/credentials_unittest.py:
  7329. * Scripts/webkitpy/common/system/executive.py: Copied from Scripts/webkitpy/executive.py.
  7330. * Scripts/webkitpy/common/system/executive_unittest.py: Copied from Scripts/webkitpy/executive_unittest.py.
  7331. * Scripts/webkitpy/executive.py: Removed.
  7332. * Scripts/webkitpy/executive_unittest.py: Removed.
  7333. * Scripts/webkitpy/layout_tests/port/mac.py:
  7334. * Scripts/webkitpy/tool/bot/queueengine.py:
  7335. * Scripts/webkitpy/tool/bot/queueengine_unittest.py:
  7336. * Scripts/webkitpy/tool/commands/download.py:
  7337. * Scripts/webkitpy/tool/commands/early_warning_system.py:
  7338. * Scripts/webkitpy/tool/commands/queues.py:
  7339. * Scripts/webkitpy/tool/commands/stepsequence.py:
  7340. * Scripts/webkitpy/tool/main.py:
  7341. * Scripts/webkitpy/tool/steps/checkstyle.py:
  7342. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  7343. * Scripts/webkitpy/unittests.py:
  7344. * Scripts/webkitpy/webkit_logging_unittest.py:
  7345. 2010-03-25 Adam Barth <abarth@webkit.org>
  7346. Unreviewed. Move grammary.py into webkitpy.tool.
  7347. https://bugs.webkit.org/show_bug.cgi?id=36093
  7348. * Scripts/webkitpy/grammar.py: Removed.
  7349. * Scripts/webkitpy/grammar_unittest.py: Removed.
  7350. * Scripts/webkitpy/tool/commands/download.py:
  7351. * Scripts/webkitpy/tool/commands/queries.py:
  7352. * Scripts/webkitpy/tool/commands/queues.py:
  7353. * Scripts/webkitpy/tool/commands/upload.py:
  7354. * Scripts/webkitpy/tool/grammar.py: Copied from Scripts/webkitpy/grammar.py.
  7355. * Scripts/webkitpy/tool/grammar_unittest.py: Copied from Scripts/webkitpy/grammar_unittest.py.
  7356. * Scripts/webkitpy/tool/multicommandtool.py:
  7357. * Scripts/webkitpy/tool/steps/obsoletepatches.py:
  7358. * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
  7359. * Scripts/webkitpy/unittests.py:
  7360. 2010-03-25 Chris Jerdonek <cjerdonek@webkit.org>
  7361. Reviewed by Adam Barth.
  7362. In webkitpy, moved init/ to common/system/.
  7363. https://bugs.webkit.org/show_bug.cgi?id=36093
  7364. This is part of the master bug to reorganize webkitpy.
  7365. * Scripts/webkitpy/common/system: Copied from WebKitTools/Scripts/webkitpy/init.
  7366. * Scripts/webkitpy/common/system/logutils.py:
  7367. * Scripts/webkitpy/common/system/logutils_unittest.py:
  7368. * Scripts/webkitpy/init: Removed.
  7369. * Scripts/webkitpy/init/__init__.py: Removed.
  7370. * Scripts/webkitpy/init/logtesting.py: Removed.
  7371. * Scripts/webkitpy/init/logutils.py: Removed.
  7372. * Scripts/webkitpy/init/logutils_unittest.py: Removed.
  7373. * Scripts/webkitpy/init/unittests.py: Removed.
  7374. * Scripts/webkitpy/python24/versioning_unittest.py:
  7375. * Scripts/webkitpy/style_references.py:
  7376. * Scripts/webkitpy/unittests.py:
  7377. 2010-03-25 Adam Barth <abarth@webkit.org>
  7378. Unreviewed. Move stepsequence to webkitpy.tool.commands.
  7379. https://bugs.webkit.org/show_bug.cgi?id=36093
  7380. * Scripts/webkitpy/stepsequence.py: Removed.
  7381. * Scripts/webkitpy/tool/commands/abstractsequencedcommand.py:
  7382. * Scripts/webkitpy/tool/commands/download.py:
  7383. * Scripts/webkitpy/tool/commands/queues.py:
  7384. * Scripts/webkitpy/tool/commands/stepsequence.py: Copied from Scripts/webkitpy/stepsequence.py.
  7385. 2010-03-25 Adam Barth <abarth@webkit.org>
  7386. Unreviewed. Create webkitpy.common.checkout as described in
  7387. https://bugs.webkit.org/show_bug.cgi?id=36093
  7388. * Scripts/webkitpy/changelogs.py: Removed.
  7389. * Scripts/webkitpy/changelogs_unittest.py: Removed.
  7390. * Scripts/webkitpy/commitinfo.py: Removed.
  7391. * Scripts/webkitpy/commitinfo_unittest.py: Removed.
  7392. * Scripts/webkitpy/common/checkout: Added.
  7393. * Scripts/webkitpy/common/checkout/__init__.py: Copied from Scripts/webkitpy/common/__init__.py.
  7394. * Scripts/webkitpy/common/checkout/changelog.py: Copied from Scripts/webkitpy/changelogs.py.
  7395. * Scripts/webkitpy/common/checkout/changelog_unittest.py: Copied from Scripts/webkitpy/changelogs_unittest.py.
  7396. * Scripts/webkitpy/common/checkout/commitinfo.py: Copied from Scripts/webkitpy/commitinfo.py.
  7397. * Scripts/webkitpy/common/checkout/commitinfo_unittest.py: Copied from Scripts/webkitpy/commitinfo_unittest.py.
  7398. * Scripts/webkitpy/common/checkout/diff_parser.py: Copied from Scripts/webkitpy/diff_parser.py.
  7399. * Scripts/webkitpy/common/checkout/diff_parser_unittest.py: Copied from Scripts/webkitpy/diff_parser_unittest.py.
  7400. * Scripts/webkitpy/common/checkout/scm.py: Copied from Scripts/webkitpy/scm.py.
  7401. * Scripts/webkitpy/common/checkout/scm_unittest.py: Copied from Scripts/webkitpy/scm_unittest.py.
  7402. * Scripts/webkitpy/common/net/credentials.py:
  7403. * Scripts/webkitpy/diff_parser.py: Removed.
  7404. * Scripts/webkitpy/diff_parser_unittest.py: Removed.
  7405. * Scripts/webkitpy/layout_tests/port/base.py:
  7406. * Scripts/webkitpy/scm.py: Removed.
  7407. * Scripts/webkitpy/scm_unittest.py: Removed.
  7408. * Scripts/webkitpy/stepsequence.py:
  7409. * Scripts/webkitpy/style_references.py:
  7410. * Scripts/webkitpy/tool/commands/download.py:
  7411. * Scripts/webkitpy/tool/commands/queries.py:
  7412. * Scripts/webkitpy/tool/comments.py:
  7413. * Scripts/webkitpy/tool/main.py:
  7414. * Scripts/webkitpy/tool/mocktool.py:
  7415. * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
  7416. * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
  7417. * Scripts/webkitpy/tool/steps/validatereviewer.py:
  7418. * Scripts/webkitpy/unittests.py:
  7419. * Scripts/webkitpy/webkitcheckout.py:
  7420. 2010-03-25 Chris Jerdonek <cjerdonek@webkit.org>
  7421. Reviewed by Adam Barth.
  7422. In webkitpy, moved init/versioning.py to python24/.
  7423. https://bugs.webkit.org/show_bug.cgi?id=36093
  7424. This is part of the master bug to reorganize webkitpy.
  7425. * Scripts/test-webkitpy:
  7426. * Scripts/webkit-patch:
  7427. * Scripts/webkitpy/init/unittests.py:
  7428. * Scripts/webkitpy/init/versioning.py: Removed.
  7429. * Scripts/webkitpy/init/versioning_unittest.py: Removed.
  7430. * Scripts/webkitpy/python24: Added.
  7431. * Scripts/webkitpy/python24/__init__.py: Copied from WebKitTools/Scripts/webkitpy/tool/__init__.py.
  7432. * Scripts/webkitpy/python24/versioning.py: Copied from WebKitTools/Scripts/webkitpy/init/versioning.py.
  7433. * Scripts/webkitpy/python24/versioning_unittest.py: Copied from WebKitTools/Scripts/webkitpy/init/versioning_unittest.py.
  7434. * Scripts/webkitpy/unittests.py:
  7435. 2010-03-25 Adam Barth <abarth@webkit.org>
  7436. Unreviewed.
  7437. Create webkitpy.common.net as described in
  7438. https://bugs.webkit.org/show_bug.cgi?id=36093
  7439. * Scripts/webkitpy/bugzilla.py: Removed.
  7440. * Scripts/webkitpy/bugzilla_unittest.py: Removed.
  7441. * Scripts/webkitpy/buildbot.py: Removed.
  7442. * Scripts/webkitpy/buildbot_unittest.py: Removed.
  7443. * Scripts/webkitpy/commitinfo.py:
  7444. * Scripts/webkitpy/common/net: Added.
  7445. * Scripts/webkitpy/common/net/__init__.py: Added.
  7446. * Scripts/webkitpy/common/net/bugzilla.py: Copied from Scripts/webkitpy/bugzilla.py.
  7447. * Scripts/webkitpy/common/net/bugzilla_unittest.py: Copied from Scripts/webkitpy/bugzilla_unittest.py.
  7448. * Scripts/webkitpy/common/net/buildbot.py: Copied from Scripts/webkitpy/buildbot.py.
  7449. * Scripts/webkitpy/common/net/buildbot_unittest.py: Copied from Scripts/webkitpy/buildbot_unittest.py.
  7450. * Scripts/webkitpy/common/net/credentials.py: Copied from Scripts/webkitpy/credentials.py.
  7451. * Scripts/webkitpy/common/net/credentials_unittest.py: Copied from Scripts/webkitpy/credentials_unittest.py.
  7452. * Scripts/webkitpy/common/net/irc: Copied from Scripts/webkitpy/irc.
  7453. * Scripts/webkitpy/common/net/irc/ircbot.py:
  7454. * Scripts/webkitpy/common/net/irc/ircproxy.py:
  7455. * Scripts/webkitpy/common/net/irc/messagepump_unittest.py:
  7456. * Scripts/webkitpy/common/net/irc/threadedmessagequeue_unittest.py:
  7457. * Scripts/webkitpy/common/net/irc/unittests.py:
  7458. * Scripts/webkitpy/common/net/networktransaction.py: Copied from Scripts/webkitpy/networktransaction.py.
  7459. * Scripts/webkitpy/common/net/networktransaction_unittest.py: Copied from Scripts/webkitpy/networktransaction_unittest.py.
  7460. * Scripts/webkitpy/common/net/statusserver.py: Copied from Scripts/webkitpy/statusserver.py.
  7461. * Scripts/webkitpy/credentials.py: Removed.
  7462. * Scripts/webkitpy/credentials_unittest.py: Removed.
  7463. * Scripts/webkitpy/irc: Removed.
  7464. * Scripts/webkitpy/irc/__init__.py: Removed.
  7465. * Scripts/webkitpy/irc/ircbot.py: Removed.
  7466. * Scripts/webkitpy/irc/ircproxy.py: Removed.
  7467. * Scripts/webkitpy/irc/messagepump.py: Removed.
  7468. * Scripts/webkitpy/irc/messagepump_unittest.py: Removed.
  7469. * Scripts/webkitpy/irc/threadedmessagequeue.py: Removed.
  7470. * Scripts/webkitpy/irc/threadedmessagequeue_unittest.py: Removed.
  7471. * Scripts/webkitpy/irc/unittests.py: Removed.
  7472. * Scripts/webkitpy/networktransaction.py: Removed.
  7473. * Scripts/webkitpy/networktransaction_unittest.py: Removed.
  7474. * Scripts/webkitpy/scm_unittest.py:
  7475. * Scripts/webkitpy/statusserver.py: Removed.
  7476. * Scripts/webkitpy/tool/bot/queueengine.py:
  7477. * Scripts/webkitpy/tool/commands/download.py:
  7478. * Scripts/webkitpy/tool/commands/queries.py:
  7479. * Scripts/webkitpy/tool/commands/queries_unittest.py:
  7480. * Scripts/webkitpy/tool/commands/queues.py:
  7481. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  7482. * Scripts/webkitpy/tool/commands/queuestest.py:
  7483. * Scripts/webkitpy/tool/commands/upload.py:
  7484. * Scripts/webkitpy/tool/main.py:
  7485. * Scripts/webkitpy/tool/mocktool.py:
  7486. * Scripts/webkitpy/tool/steps/postdiffforrevert.py:
  7487. * Scripts/webkitpy/unittests.py:
  7488. 2010-03-25 Chris Jerdonek <cjerdonek@webkit.org>
  7489. Reviewed by Adam Barth.
  7490. In webkitpy, renamed MockBugzillaTool to MockTool.
  7491. * Scripts/webkitpy/tool/commands/commandtest.py:
  7492. * Scripts/webkitpy/tool/commands/queries_unittest.py:
  7493. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  7494. * Scripts/webkitpy/tool/commands/queuestest.py:
  7495. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  7496. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  7497. * Scripts/webkitpy/tool/mocktool.py:
  7498. * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:
  7499. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  7500. * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittests.py:
  7501. 2010-03-25 Chris Jerdonek <cjerdonek@webkit.org>
  7502. Reviewed by Adam Barth.
  7503. In Scripts/webkitpy, moved webkitport.py and committers.py into
  7504. common/config/ (also creating common/config/).
  7505. https://bugs.webkit.org/show_bug.cgi?id=36093
  7506. This is part of the master bug to reorganize webkitpy.
  7507. * Scripts/validate-committer-lists:
  7508. * Scripts/webkitpy/bugzilla.py:
  7509. * Scripts/webkitpy/bugzilla_unittest.py:
  7510. * Scripts/webkitpy/changelogs.py:
  7511. * Scripts/webkitpy/commitinfo.py:
  7512. * Scripts/webkitpy/commitinfo_unittest.py:
  7513. * Scripts/webkitpy/committers.py: Removed.
  7514. * Scripts/webkitpy/committers_unittest.py: Removed.
  7515. * Scripts/webkitpy/common: Added.
  7516. * Scripts/webkitpy/common/__init__.py: Copied from WebKitTools/Scripts/webkitpy/style/__init__.py.
  7517. * Scripts/webkitpy/common/config: Added.
  7518. * Scripts/webkitpy/common/config/__init__.py: Copied from WebKitTools/Scripts/webkitpy/style/__init__.py.
  7519. * Scripts/webkitpy/common/config/committers.py: Copied from WebKitTools/Scripts/webkitpy/committers.py.
  7520. * Scripts/webkitpy/common/config/committers_unittest.py: Copied from WebKitTools/Scripts/webkitpy/committers_unittest.py.
  7521. * Scripts/webkitpy/common/config/ports.py: Copied from WebKitTools/Scripts/webkitpy/webkitport.py.
  7522. * Scripts/webkitpy/common/config/ports_unittest.py: Copied from WebKitTools/Scripts/webkitpy/webkitport_unittest.py.
  7523. * Scripts/webkitpy/mock_bugzillatool.py:
  7524. * Scripts/webkitpy/tool/commands/early_warning_system.py:
  7525. * Scripts/webkitpy/tool/commands/queries.py:
  7526. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  7527. * Scripts/webkitpy/tool/commands/upload.py:
  7528. * Scripts/webkitpy/tool/steps/abstractstep.py:
  7529. * Scripts/webkitpy/unittests.py:
  7530. * Scripts/webkitpy/webkitport.py: Removed.
  7531. * Scripts/webkitpy/webkitport_unittest.py: Removed.
  7532. 2010-03-25 Adam Barth <abarth@webkit.org>
  7533. Unreviewed. Move mock_bugzillatool.py to tool/mocktool.py.
  7534. * Scripts/webkitpy/mock_bugzillatool.py: Removed.
  7535. * Scripts/webkitpy/tool/commands/commandtest.py:
  7536. * Scripts/webkitpy/tool/commands/queries_unittest.py:
  7537. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  7538. * Scripts/webkitpy/tool/commands/queuestest.py:
  7539. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  7540. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  7541. * Scripts/webkitpy/tool/mocktool.py: Copied from Scripts/webkitpy/mock_bugzillatool.py.
  7542. * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:
  7543. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  7544. * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittests.py:
  7545. 2010-03-24 Adam Barth <abarth@webkit.org>
  7546. Unreviewed. Move comments.py and multicommandtool.py to their new
  7547. home.
  7548. * Scripts/webkitpy/comments.py: Removed.
  7549. * Scripts/webkitpy/multicommandtool.py: Removed.
  7550. * Scripts/webkitpy/multicommandtool_unittest.py: Removed.
  7551. * Scripts/webkitpy/tool/commands/abstractsequencedcommand.py:
  7552. * Scripts/webkitpy/tool/commands/download.py:
  7553. * Scripts/webkitpy/tool/commands/openbugs.py:
  7554. * Scripts/webkitpy/tool/commands/queries.py:
  7555. * Scripts/webkitpy/tool/commands/queues.py:
  7556. * Scripts/webkitpy/tool/commands/upload.py:
  7557. * Scripts/webkitpy/tool/comments.py: Copied from Scripts/webkitpy/comments.py.
  7558. * Scripts/webkitpy/tool/main.py:
  7559. * Scripts/webkitpy/tool/multicommandtool.py: Copied from Scripts/webkitpy/multicommandtool.py.
  7560. * Scripts/webkitpy/tool/multicommandtool_unittest.py: Copied from Scripts/webkitpy/multicommandtool_unittest.py.
  7561. * Scripts/webkitpy/tool/steps/closebugforlanddiff.py:
  7562. * Scripts/webkitpy/tool/steps/closepatch.py:
  7563. * Scripts/webkitpy/tool/steps/reopenbugafterrollout.py:
  7564. * Scripts/webkitpy/unittests.py:
  7565. 2010-03-24 Adam Barth <abarth@webkit.org>
  7566. Unreviewed. Fixup one import statement I didn't find because the .pyc
  7567. masked the error.
  7568. * Scripts/webkitpy/stepsequence.py:
  7569. 2010-03-24 Adam Barth <abarth@webkit.org>
  7570. Unreviewed. Move queueengine.py to its new home.
  7571. * Scripts/webkitpy/queueengine.py: Removed.
  7572. * Scripts/webkitpy/queueengine_unittest.py: Removed.
  7573. * Scripts/webkitpy/tool/bot/queueengine.py: Copied from Scripts/webkitpy/queueengine.py.
  7574. * Scripts/webkitpy/tool/bot/queueengine_unittest.py: Copied from Scripts/webkitpy/queueengine_unittest.py.
  7575. * Scripts/webkitpy/tool/commands/early_warning_system.py:
  7576. * Scripts/webkitpy/tool/commands/queues.py:
  7577. * Scripts/webkitpy/unittests.py:
  7578. 2010-03-24 Adam Barth <abarth@webkit.org>
  7579. Unreviewed. Move patchcollection.py to its new home.
  7580. * Scripts/webkitpy/patchcollection.py: Removed.
  7581. * Scripts/webkitpy/patchcollection_unittest.py: Removed.
  7582. * Scripts/webkitpy/tool/bot: Added.
  7583. * Scripts/webkitpy/tool/bot/__init__.py: Added.
  7584. * Scripts/webkitpy/tool/bot/patchcollection.py: Copied from WebKitTools/Scripts/webkitpy/patchcollection.py.
  7585. * Scripts/webkitpy/tool/bot/patchcollection_unittest.py: Copied from WebKitTools/Scripts/webkitpy/patchcollection_unittest.py.
  7586. * Scripts/webkitpy/tool/commands/queues.py:
  7587. * Scripts/webkitpy/unittests.py:
  7588. 2010-03-24 Chris Jerdonek <cjerdonek@webkit.org>
  7589. Reviewed by Adam Barth.
  7590. In Scripts/webkitpy, moved steps_references.py and the steps
  7591. folder into webkitpy/patch.
  7592. https://bugs.webkit.org/show_bug.cgi?id=36093
  7593. * Scripts/webkitpy/steps: Removed.
  7594. * Scripts/webkitpy/steps/__init__.py: Removed.
  7595. * Scripts/webkitpy/steps/abstractstep.py: Removed.
  7596. * Scripts/webkitpy/steps/applypatch.py: Removed.
  7597. * Scripts/webkitpy/steps/applypatchwithlocalcommit.py: Removed.
  7598. * Scripts/webkitpy/steps/build.py: Removed.
  7599. * Scripts/webkitpy/steps/checkstyle.py: Removed.
  7600. * Scripts/webkitpy/steps/cleanworkingdirectory.py: Removed.
  7601. * Scripts/webkitpy/steps/cleanworkingdirectorywithlocalcommits.py: Removed.
  7602. * Scripts/webkitpy/steps/closebug.py: Removed.
  7603. * Scripts/webkitpy/steps/closebugforlanddiff.py: Removed.
  7604. * Scripts/webkitpy/steps/closebugforlanddiff_unittest.py: Removed.
  7605. * Scripts/webkitpy/steps/closepatch.py: Removed.
  7606. * Scripts/webkitpy/steps/commit.py: Removed.
  7607. * Scripts/webkitpy/steps/confirmdiff.py: Removed.
  7608. * Scripts/webkitpy/steps/createbug.py: Removed.
  7609. * Scripts/webkitpy/steps/editchangelog.py: Removed.
  7610. * Scripts/webkitpy/steps/ensurebuildersaregreen.py: Removed.
  7611. * Scripts/webkitpy/steps/ensurelocalcommitifneeded.py: Removed.
  7612. * Scripts/webkitpy/steps/metastep.py: Removed.
  7613. * Scripts/webkitpy/steps/obsoletepatches.py: Removed.
  7614. * Scripts/webkitpy/steps/options.py: Removed.
  7615. * Scripts/webkitpy/steps/postdiff.py: Removed.
  7616. * Scripts/webkitpy/steps/postdiffforcommit.py: Removed.
  7617. * Scripts/webkitpy/steps/postdiffforrevert.py: Removed.
  7618. * Scripts/webkitpy/steps/preparechangelog.py: Removed.
  7619. * Scripts/webkitpy/steps/preparechangelogforrevert.py: Removed.
  7620. * Scripts/webkitpy/steps/promptforbugortitle.py: Removed.
  7621. * Scripts/webkitpy/steps/reopenbugafterrollout.py: Removed.
  7622. * Scripts/webkitpy/steps/revertrevision.py: Removed.
  7623. * Scripts/webkitpy/steps/runtests.py: Removed.
  7624. * Scripts/webkitpy/steps/steps_unittest.py: Removed.
  7625. * Scripts/webkitpy/steps/update.py: Removed.
  7626. * Scripts/webkitpy/steps/updatechangelogswithreview_unittests.py: Removed.
  7627. * Scripts/webkitpy/steps/updatechangelogswithreviewer.py: Removed.
  7628. * Scripts/webkitpy/steps/validatereviewer.py: Removed.
  7629. * Scripts/webkitpy/steps_references.py: Removed.
  7630. * Scripts/webkitpy/stepsequence.py:
  7631. * Scripts/webkitpy/tool/commands/download.py:
  7632. * Scripts/webkitpy/tool/commands/upload.py:
  7633. * Scripts/webkitpy/tool/steps: Copied from WebKitTools/Scripts/webkitpy/steps.
  7634. * Scripts/webkitpy/tool/steps/__init__.py:
  7635. * Scripts/webkitpy/tool/steps/applypatch.py:
  7636. * Scripts/webkitpy/tool/steps/applypatchwithlocalcommit.py:
  7637. * Scripts/webkitpy/tool/steps/build.py:
  7638. * Scripts/webkitpy/tool/steps/checkstyle.py:
  7639. * Scripts/webkitpy/tool/steps/cleanworkingdirectory.py:
  7640. * Scripts/webkitpy/tool/steps/cleanworkingdirectorywithlocalcommits.py:
  7641. * Scripts/webkitpy/tool/steps/closebug.py:
  7642. * Scripts/webkitpy/tool/steps/closebugforlanddiff.py:
  7643. * Scripts/webkitpy/tool/steps/closebugforlanddiff_unittest.py:
  7644. * Scripts/webkitpy/tool/steps/closepatch.py:
  7645. * Scripts/webkitpy/tool/steps/commit.py:
  7646. * Scripts/webkitpy/tool/steps/confirmdiff.py:
  7647. * Scripts/webkitpy/tool/steps/createbug.py:
  7648. * Scripts/webkitpy/tool/steps/editchangelog.py:
  7649. * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py:
  7650. * Scripts/webkitpy/tool/steps/ensurelocalcommitifneeded.py:
  7651. * Scripts/webkitpy/tool/steps/metastep.py:
  7652. * Scripts/webkitpy/tool/steps/obsoletepatches.py:
  7653. * Scripts/webkitpy/tool/steps/postdiff.py:
  7654. * Scripts/webkitpy/tool/steps/postdiffforcommit.py:
  7655. * Scripts/webkitpy/tool/steps/postdiffforrevert.py:
  7656. * Scripts/webkitpy/tool/steps/preparechangelog.py:
  7657. * Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
  7658. * Scripts/webkitpy/tool/steps/promptforbugortitle.py:
  7659. * Scripts/webkitpy/tool/steps/reopenbugafterrollout.py:
  7660. * Scripts/webkitpy/tool/steps/revertrevision.py:
  7661. * Scripts/webkitpy/tool/steps/runtests.py:
  7662. * Scripts/webkitpy/tool/steps/steps_unittest.py:
  7663. * Scripts/webkitpy/tool/steps/update.py:
  7664. * Scripts/webkitpy/tool/steps/updatechangelogswithreview_unittests.py:
  7665. * Scripts/webkitpy/tool/steps/updatechangelogswithreviewer.py:
  7666. * Scripts/webkitpy/tool/steps/validatereviewer.py:
  7667. * Scripts/webkitpy/tool/steps_references.py: Copied from WebKitTools/Scripts/webkitpy/steps_references.py.
  7668. * Scripts/webkitpy/unittests.py:
  7669. 2010-03-24 Eric Seidel <eric@webkit.org>
  7670. Unreviewed, build fix only.
  7671. Abstract LayoutTestResults logic for easier reuse
  7672. https://bugs.webkit.org/show_bug.cgi?id=36579
  7673. * Scripts/webkitpy/buildbot_unittest.py: Add a missing import.
  7674. 2010-03-24 Adam Barth <abarth@webkit.org>
  7675. Unreviewed. Fix a stray comma to test landing an patch without review.
  7676. * Scripts/webkitpy/commitinfo.py:
  7677. 2010-03-24 Chris Jerdonek <cjerdonek@webkit.org>
  7678. Reviewed by Adam Barth.
  7679. In Scripts/webkitpy, moved commands_references.py and the commands
  7680. folder into webkitpy/patch.
  7681. https://bugs.webkit.org/show_bug.cgi?id=36483
  7682. This is part of master bug 36093 to organize webkitpy.
  7683. * Scripts/webkitpy/commands: Removed.
  7684. * Scripts/webkitpy/commands/__init__.py: Removed.
  7685. * Scripts/webkitpy/commands/abstractsequencedcommand.py: Removed.
  7686. * Scripts/webkitpy/commands/commandtest.py: Removed.
  7687. * Scripts/webkitpy/commands/download.py: Removed.
  7688. * Scripts/webkitpy/commands/download_unittest.py: Removed.
  7689. * Scripts/webkitpy/commands/early_warning_system.py: Removed.
  7690. * Scripts/webkitpy/commands/early_warning_system_unittest.py: Removed.
  7691. * Scripts/webkitpy/commands/openbugs.py: Removed.
  7692. * Scripts/webkitpy/commands/openbugs_unittest.py: Removed.
  7693. * Scripts/webkitpy/commands/queries.py: Removed.
  7694. * Scripts/webkitpy/commands/queries_unittest.py: Removed.
  7695. * Scripts/webkitpy/commands/queues.py: Removed.
  7696. * Scripts/webkitpy/commands/queues_unittest.py: Removed.
  7697. * Scripts/webkitpy/commands/queuestest.py: Removed.
  7698. * Scripts/webkitpy/commands/sheriffbot.py: Removed.
  7699. * Scripts/webkitpy/commands/sheriffbot_unittest.py: Removed.
  7700. * Scripts/webkitpy/commands/upload.py: Removed.
  7701. * Scripts/webkitpy/commands/upload_unittest.py: Removed.
  7702. * Scripts/webkitpy/commands_references.py: Removed.
  7703. * Scripts/webkitpy/tool/commands: Copied from WebKitTools/Scripts/webkitpy/commands.
  7704. * Scripts/webkitpy/tool/commands/commandtest.py:
  7705. * Scripts/webkitpy/tool/commands/download.py:
  7706. * Scripts/webkitpy/tool/commands/download_unittest.py:
  7707. * Scripts/webkitpy/tool/commands/early_warning_system.py:
  7708. * Scripts/webkitpy/tool/commands/early_warning_system_unittest.py:
  7709. * Scripts/webkitpy/tool/commands/openbugs_unittest.py:
  7710. * Scripts/webkitpy/tool/commands/queries_unittest.py:
  7711. * Scripts/webkitpy/tool/commands/queues_unittest.py:
  7712. * Scripts/webkitpy/tool/commands/queuestest.py:
  7713. * Scripts/webkitpy/tool/commands/sheriffbot.py:
  7714. * Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
  7715. * Scripts/webkitpy/tool/commands/upload.py:
  7716. * Scripts/webkitpy/tool/commands/upload_unittest.py:
  7717. * Scripts/webkitpy/tool/commands_references.py: Copied from WebKitTools/Scripts/webkitpy/commands_references.py.
  7718. * Scripts/webkitpy/tool/main.py:
  7719. * Scripts/webkitpy/unittests.py:
  7720. 2010-03-24 Adam Barth <abarth@webkit.org>
  7721. Reviewed by Eric Seidel.
  7722. Rename webkitpy.patch to webkitpy.tool
  7723. https://bugs.webkit.org/show_bug.cgi?id=36580
  7724. This is in preparation for the great webkitpy naming cleanup.
  7725. * Scripts/webkit-patch:
  7726. * Scripts/webkitpy/patch: Removed.
  7727. * Scripts/webkitpy/patch/__init__.py: Removed.
  7728. * Scripts/webkitpy/patch/patcher.py: Removed.
  7729. * Scripts/webkitpy/tool: Copied from WebKitTools/Scripts/webkitpy/patch.
  7730. * Scripts/webkitpy/tool/main.py: Copied from WebKitTools/Scripts/webkitpy/patch/patcher.py.
  7731. * Scripts/webkitpy/tool/patcher.py: Removed.
  7732. 2010-03-24 Eric Seidel <eric@webkit.org>
  7733. Reviewed by Adam Barth.
  7734. Abstract LayoutTestResults logic for easier reuse
  7735. https://bugs.webkit.org/show_bug.cgi?id=36579
  7736. * Scripts/webkitpy/buildbot.py:
  7737. - Split out logic into new LayoutTestResults class.
  7738. * Scripts/webkitpy/buildbot_unittest.py:
  7739. - Rename the testing class to match.
  7740. * Scripts/webkitpy/commands/queries.py:
  7741. - Use the new LayoutTestResults class.
  7742. 2010-03-24 Eric Seidel <eric@webkit.org>
  7743. Reviewed by Eric Seidel.
  7744. Move Bugzilla.prompt_for_component to User.prompt_with_list for re-use
  7745. https://bugs.webkit.org/show_bug.cgi?id=36577
  7746. * Scripts/webkitpy/bugzilla.py:
  7747. - Move prompt_for_component to User
  7748. * Scripts/webkitpy/commands/queries.py:
  7749. - Add a missing argument_names declaration.
  7750. * Scripts/webkitpy/user.py:
  7751. - Add prompt_with_list
  7752. - Make staticmethods classmethods for easier mocking
  7753. 2010-03-24 David Kilzer <ddkilzer@apple.com>
  7754. <http://webkit.org/b/36572> commit-log-editor: thinks mergeChangeLogs.pl is a ChangeLog file
  7755. Reviewed by Eric Seidel.
  7756. Fixes the following error when committing a file with
  7757. "ChangeLog" in the name that isn't a ChangeLog (like
  7758. mergeChangeLogs.pl from r56471 and r56472):
  7759. $ git commit .
  7760. Can't open WebKitTools/Scripts/webkitperl/VCSUtils_unittest/mergeChangeLog at commit-log-editor line 132.
  7761. error: There was a problem with the editor 'commit-log-editor'.
  7762. Please supply the message using either -m or -F option.
  7763. * Scripts/commit-log-editor: Added '$' to anchor "ChangeLog" to
  7764. the end of the file name when searching for ChangeLog files in a
  7765. commit.
  7766. 2010-03-24 David Kilzer <ddkilzer@apple.com>
  7767. <http://webkit.org/b/36570> resolve-ChangeLogs: fall back to git-merge-file if ChangeLog can't be merged
  7768. Reviewed by Eric Seidel.
  7769. * Scripts/resolve-ChangeLogs: Switched to exec git-merge-file if
  7770. the merge attempt fails.
  7771. 2010-03-24 Adam Barth <abarth@webkit.org>
  7772. Reviewed by Eric Seidel.
  7773. webkit-patch or pre-commit hook should validate reviewer lines before committing
  7774. https://bugs.webkit.org/show_bug.cgi?id=26927
  7775. Validate that patches have valid reivewers listed in their ChangeLogs
  7776. before landing. For patches without reviewers can be landed if their
  7777. ChangeLogs state that they are unreviewed.
  7778. * Scripts/webkitpy/changelogs.py:
  7779. * Scripts/webkitpy/commands/download.py:
  7780. * Scripts/webkitpy/commitinfo.py:
  7781. * Scripts/webkitpy/commitinfo_unittest.py:
  7782. * Scripts/webkitpy/mock_bugzillatool.py:
  7783. * Scripts/webkitpy/steps/__init__.py:
  7784. * Scripts/webkitpy/steps/validatereviewer.py: Added.
  7785. 2010-03-19 Holger Hans Peter Freyther <zecke@selfish.org>
  7786. Reviewed by David Levin.
  7787. Undefined names reported by pyflakes in python scripts
  7788. https://bugs.webkit.org/show_bug.cgi?id=36403
  7789. Attempt to use names that exist or can exist in the lexical
  7790. scope instead of not being available at all.
  7791. * Scripts/webkitpy/changelogs.py: Use self._content.
  7792. * Scripts/webkitpy/layout_tests/port/base.py: Use os.stat
  7793. * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: Use self._port
  7794. * Scripts/webkitpy/style/processors/cpp_unittest.py: Use expected_message_re
  7795. 2010-03-24 David Kilzer <ddkilzer@apple.com>
  7796. <http://webkit.org/b/36560> resolve-ChangeLogs: git-rebase fails when resolve-ChangeLogs can't merge
  7797. Reviewed by Eric Seidel.
  7798. When resolve-ChangeLogs fails to merge a patch while running as
  7799. a git merge driver, it deletes the original file, which causes
  7800. an internal failure and stops git mid-merge:
  7801. fatal: Failed to execute internal merge
  7802. The fix is to use the --force switch with patch so that it will
  7803. always attempt to apply the patch. (The change in
  7804. mergeChangeLogs() for the previous commit also fixed this, but
  7805. adding --force also prevents any potential user interaction that
  7806. patch may want to display.)
  7807. * Scripts/VCSUtils.pm:
  7808. (mergeChangeLogs): Added --force switch to patch command. Also
  7809. changed to use the exit status from the patch command to
  7810. determine the return value for this method.
  7811. * Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl: Added
  7812. test to cover this bug.
  7813. 2010-03-24 David Kilzer <ddkilzer@apple.com>
  7814. <http://webkit.org/b/36560> resolve-ChangeLogs: move mergeChanges() into VCSUtils package
  7815. Reviewed by Eric Seidel.
  7816. * Scripts/VCSUtils.pm:
  7817. (mergeChangeLogs): Copied from mergeChanges() in
  7818. resolve-ChangeLogs and renamed. Added method documentation.
  7819. Fixed bug found by new tests where the original file to be
  7820. patched was deleted when cleaning up after a traditinal rejected
  7821. patch failed to apply.
  7822. * Scripts/resolve-ChangeLogs: Switched to using
  7823. mergeChangeLogs().
  7824. (mergeChanges): Moved to VCSUtils.pm and renamed to
  7825. mergeChangeLogs().
  7826. * Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl: Added.
  7827. 2010-03-24 Eric Seidel <eric@webkit.org>
  7828. Reviewed by Adam Barth.
  7829. Add support for qt's unassigned list to webkit-patch assign-to-committer
  7830. https://bugs.webkit.org/show_bug.cgi?id=36559
  7831. * Scripts/webkitpy/bugzilla.py:
  7832. - Move Bugzilla.unassigned_email into Bug and make it a set.
  7833. * Scripts/webkitpy/bugzilla_unittest.py:
  7834. - Test the new Bug.is_unassigned method
  7835. * Scripts/webkitpy/commands/upload.py:
  7836. - Use the new Bug.is_unassigned method instead of an explicit ==
  7837. * Scripts/webkitpy/mock_bugzillatool.py:
  7838. - Bugzilla.unassigned_email no longer needs mocking
  7839. 2010-03-24 Kent Hansen <kent.hansen@nokia.com>
  7840. Reviewed by Simon Hausmann.
  7841. [Qt] Rename QWebSettings::XSSAuditorEnabled to XSSAuditingEnabled
  7842. https://bugs.webkit.org/show_bug.cgi?id=36522
  7843. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  7844. (LayoutTestController::setXSSAuditorEnabled): Use the new name.
  7845. 2010-03-24 Chris Jerdonek <cjerdonek@webkit.org>
  7846. Reviewed by Shinichiro Hamaji.
  7847. Added to check-webkit-style support for a --debug flag.
  7848. https://bugs.webkit.org/show_bug.cgi?id=36100
  7849. The --debug flag adjusts the logging level to DEBUG and
  7850. includes the logger name and level in each log message.
  7851. * Scripts/check-webkit-style:
  7852. - Changed the code to check for the --debug flag and pass
  7853. the result to the configure_logging() method.
  7854. * Scripts/webkitpy/style/checker.py:
  7855. - Added an is_debug parameter to configure_logging().
  7856. - Refactored configure_logging() by adding calls to
  7857. the following two methods: _create_log_handlers() and
  7858. _create_debug_log_handlers().
  7859. * Scripts/webkitpy/style/checker_unittest.py:
  7860. - Added unit tests for configure_logging() with is_debug True
  7861. by splitting the ConfigureLoggingTest class into
  7862. ConfigureLoggingTest and ConfigureLoggingTestBase, and
  7863. adding ConfigureLoggingDebugTest.
  7864. * Scripts/webkitpy/style/optparser.py:
  7865. - Updated the usage string.
  7866. - Added an is_debug data attribute to the CommandOptionValues
  7867. class.
  7868. - Added support for the --debug flag to the ArgumentParser.parse()
  7869. method.
  7870. - Also added extra error information to the parse() method in
  7871. the case of an invalid flag.
  7872. * Scripts/webkitpy/style/optparser_unittest.py:
  7873. - Updated the unit tests as necessary.
  7874. - Also fixed an issue with the CommandOptionValuesTest.test_eq()
  7875. unit test.
  7876. 2010-03-23 Kent Tamura <tkent@chromium.org>
  7877. Reviewed by Dimitri Glazkov.
  7878. [DRT/Chromium] Add TestNavigationController and TestWebWorker
  7879. https://bugs.webkit.org/show_bug.cgi?id=36489
  7880. Add TestNavigationController and TestWebWorker classes, which are
  7881. going to be used by DumpRenderTree Chromium port. These files are
  7882. based on:
  7883. - src/webkit/tools/test_shell/test_navigation_controller.{cc,h}
  7884. - src/webkit/tools/test_shell/test_web_worker.h
  7885. of Chromium rev.40492.
  7886. TestNavigationController has non-style changes.
  7887. - Change ContentState type: binary string -> WebHistoryItem
  7888. - Remove TestShell dependency by introducing NavigationHost interface.
  7889. * DumpRenderTree/chromium/TestNavigationController.cpp: Added.
  7890. * DumpRenderTree/chromium/TestNavigationController.h: Added.
  7891. * DumpRenderTree/chromium/TestWebWorker.h: Added.
  7892. 2010-03-23 Eric Seidel <eric@webkit.org>
  7893. Reviewed by Adam Barth.
  7894. Add support for revision -> build lookup in buildbot.py and layout test result parsing
  7895. https://bugs.webkit.org/show_bug.cgi?id=36474
  7896. * Scripts/webkitpy/bugzilla_unittest.py: Added a FIXME about sharing code.
  7897. * Scripts/webkitpy/buildbot.py:
  7898. - Add support for looking up builds by revision number.
  7899. - Add support for fetching and parsing results.html files from buildbot.
  7900. - build_for_revision has an allow_failed_lookups option to work around the fact that
  7901. our buildbot's xmlrpc calls return failure on old revision numbers.
  7902. - Add parsing support for twisted directory listings.
  7903. * Scripts/webkitpy/buildbot_unittest.py:
  7904. - Unit test all the new code.
  7905. * Scripts/webkitpy/commands/queries.py:
  7906. - Add a new results-for command which prints all the results for a given revision (very slow due to slow revision lookup)
  7907. 2010-03-23 Daniel Bates <dbates@rim.com>
  7908. Reviewed by Adam Roben.
  7909. https://bugs.webkit.org/show_bug.cgi?id=36048
  7910. Detect if the Windows Platform SDK is missing when building with
  7911. Visual C++ Express Edition and inform the user to download it.
  7912. * Scripts/webkitdirs.pm:
  7913. 2010-03-23 Darin Adler <darin@apple.com>
  7914. Tell Subversion about more directories that expect to have .pyc files.
  7915. * Scripts/webkitpy: Modified property svn:ignore.
  7916. * Scripts/webkitpy/irc: Added property svn:ignore.
  7917. 2010-03-23 Daniel Bates <dbates@rim.com>
  7918. Reviewed by Adam Barth.
  7919. https://bugs.webkit.org/show_bug.cgi?id=36149
  7920. Import the GNU readline interface to modify the behavior
  7921. of raw_input so as to provide line editing support. In
  7922. particular this will prevent "delete" characters from
  7923. appearing in the returned value for function raw_input.
  7924. * Scripts/webkitpy/user.py:
  7925. 2010-03-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  7926. Reviewed by Kenneth Rohde Christiansen.
  7927. [Qt] Remove support for Qt v4.4
  7928. https://bugs.webkit.org/show_bug.cgi?id=36389
  7929. * DumpRenderTree/qt/main.cpp:
  7930. (main):
  7931. * QtLauncher/mainwindow.cpp:
  7932. (MainWindow::MainWindow):
  7933. 2010-03-22 Csaba Osztrogonác <ossy@webkit.org>
  7934. Reviewed by Adam Barth.
  7935. Make build_webkit_command() pass MAKEFLAGS environment variable to make.
  7936. https://bugs.webkit.org/show_bug.cgi?id=36440
  7937. * Scripts/webkitpy/webkitport.py:
  7938. * Scripts/webkitpy/webkitport_unittest.py:
  7939. 2010-03-22 Dirk Pranke <dpranke@chromium.org>
  7940. Reviewed by Dimitri Glazkov.
  7941. Change baseline_path() to point to the upstream locations for the
  7942. Chromium ports. Also change the reabselining scripts to use the
  7943. correct functions to get the baseline directories, and fix the
  7944. script's sys.path to pull in simplejson correctly.
  7945. https://bugs.webkit.org/show_bug.cgi?id=36417
  7946. * Scripts/rebaseline-chromium-webkit-tests:
  7947. - fix sys.path to pick up simplejson properly
  7948. * Scripts/webkitpy/layout_tests/port/chromium.py:
  7949. - change baseline_path() to use webkit_baseline_path()
  7950. - error out correctly if we can't find the chromium base dir
  7951. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  7952. - call baseline_path(), not chromium_baseline_path()
  7953. 2010-03-22 Chris Jerdonek <cjerdonek@webkit.org>
  7954. Reviewed by Adam Barth.
  7955. Refactored the cpu_count() code in executive.py.
  7956. https://bugs.webkit.org/show_bug.cgi?id=36437
  7957. * Scripts/webkitpy/executive.py:
  7958. - Moved the import of the multiprocessing module to the top
  7959. of the file rather than importing from within a function.
  7960. 2010-03-22 Antonio Gomes <tonikitoo@webkit.org>
  7961. Unreviewed.
  7962. Rolling out r56183: http://trac.webkit.org/changeset/56183
  7963. https://bugs.webkit.org/show_bug.cgi?id=36244
  7964. Need to roll out because this patch will be re-worked by the author
  7965. and other reviewers agreed on it.
  7966. 2010-03-22 Chris Jerdonek <cjerdonek@webkit.org>
  7967. Reviewed by Adam Barth.
  7968. Created a function for getting a module-specific logging.logger
  7969. based on the __file__ value of the module.
  7970. https://bugs.webkit.org/show_bug.cgi?id=35821
  7971. This function allows us to get the module-specific logger for
  7972. a module without having to hard-code the fully-qualified name
  7973. of the module in the module itself. The code can be the same
  7974. in every case: "_log = logutils.get_logger(__file__)".
  7975. * Scripts/webkitpy/init/logutils.py: Added.
  7976. - Added a module with a get_logger() function to return
  7977. a module-specific logger based on the module's __file__
  7978. variable.
  7979. * Scripts/webkitpy/init/logutils_unittest.py: Added.
  7980. - Added unit tests for logutils.py.
  7981. * Scripts/webkitpy/init/unittests.py:
  7982. - Added logutils_unittest to the list of imports.
  7983. 2010-03-22 Kenneth Rohde Christiansen <kenneth@webkit.org>
  7984. Reviewed by Simon Hausmann.
  7985. [Qt] REGRESSION (r56209): fast/media/print-restores-previous-mediatype.htm crashes
  7986. https://bugs.webkit.org/show_bug.cgi?id=36386
  7987. Fix the regression by implementing a null printer for Qt DRT.
  7988. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  7989. (WebCore::NullPrinter::NullPaintEngine::begin):
  7990. (WebCore::NullPrinter::NullPaintEngine::end):
  7991. (WebCore::NullPrinter::NullPaintEngine::type):
  7992. (WebCore::NullPrinter::NullPaintEngine::drawPixmap):
  7993. (WebCore::NullPrinter::NullPaintEngine::updateState):
  7994. (WebCore::NullPrinter::paintEngine):
  7995. (WebCore::DumpRenderTree::dryRunPrint):
  7996. 2010-03-20 Martin Robinson <mrobinson@webkit.org>
  7997. Reviewed by Xan Lopez.
  7998. [GTK] eventSender.zoomPageOut() bug?
  7999. https://bugs.webkit.org/show_bug.cgi?id=30575
  8000. Make zoomPage{In/Out}Callback respect the 1.2f zoom factor that DRT should be using.
  8001. * DumpRenderTree/gtk/EventSender.cpp:
  8002. (zoomIn): Added.
  8003. (zoomOut): Added.
  8004. (textZoomInCallback): Use zoomIn helper function.
  8005. (textZoomOutCallback): Use zoomOut helper function.
  8006. (zoomPageInCallback): Use zoomIn helper function, which respects zoom factor.
  8007. (zoomPageOutCallback): Use zoomOut helper function, which respects zoom factor.
  8008. 2010-03-20 Kevin Ollivier <kevino@theolliviers.com>
  8009. [wx] Build fix after recent database API change.
  8010. * wx/browser/browser.cpp:
  8011. (MyApp::OnInit):
  8012. 2010-03-20 Chris Jerdonek <cjerdonek@webkit.org>
  8013. Reviewed by Adam Barth.
  8014. Renamed UnitTestLogStream to TestLogStream in webkitpy.
  8015. https://bugs.webkit.org/show_bug.cgi?id=36099
  8016. TestLogStream is more concise and more consistent with the name of
  8017. the module (logtesting rather than logunittesting) and its main
  8018. class (LogTesting rather than LogUnitTesting).
  8019. * Scripts/webkitpy/init/logtesting.py:
  8020. - Renamings.
  8021. * Scripts/webkitpy/style/checker_unittest.py:
  8022. - Renamings.
  8023. * Scripts/webkitpy/style_references.py:
  8024. - Renamings.
  8025. 2010-03-20 Kevin Ollivier <kevino@theolliviers.com>
  8026. [wx] Build fixes for new method in LayoutTestController.
  8027. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  8028. (LayoutTestController::setSpatialNavigationEnabled):
  8029. * wx/build/settings.py:
  8030. 2010-03-20 Dimitri Glazkov <dglazkov@chromium.org>
  8031. Unreviewed, tool fix.
  8032. Remove vestiges of downstream directory names to unbreak rebaselining tool.
  8033. * Scripts/webkitpy/layout_tests/port/chromium.py: Changed paths to use WebKit repo.
  8034. 2010-03-20 Dirk Pranke <dpranke@chromium.org>
  8035. Reviewed by Dimitri Glazkov.
  8036. Re-enable the downstream test_expectations overrides file that was
  8037. disabled in bug 36396 / r56287.
  8038. https://bugs.chromium.org/show_bug.cgi?id=36401
  8039. * Scripts/webkitpy/layout_tests/port/chromium.py:
  8040. 2010-03-19 Dirk Pranke <dpranke@chromium.org>
  8041. Reviewed by Dimitri Glazkov.
  8042. Disable the downstream override expectations temporarily to allow
  8043. us to test that we've upstreamed everything correctly. Also, stop
  8044. looking at the downstream baselines at all (now you will only be
  8045. able to update baselines upstream). In theory this should work, but
  8046. if we need to we can always add the downstream dirs back in.
  8047. https://bugs.webkit.org/show_bug.cgi?id=36396
  8048. * Scripts/webkitpy/layout_tests/port/chromium.py:
  8049. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  8050. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  8051. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  8052. 2010-03-19 Dirk Pranke <dpranke@chromium.org>
  8053. Reviewed by Dimitri Glazkov.
  8054. fix typo in chromium test expectations overrides routine
  8055. https://bugs.webkit.org/show_bug.cgi?id=36397
  8056. * Scripts/webkitpy/layout_tests/port/chromium.py:
  8057. 2010-03-19 Dirk Pranke <dpranke@chromium.org>
  8058. Reviewed by Dimitri Glazkov.
  8059. Flip the Chromium ports to look first for the test expectations
  8060. in LayoutTests/platform/chromium and only afterwards look in the
  8061. Chromium repo downstream for overrides.
  8062. https://bugs.webkit.org/show_bug.cgi?id=36326
  8063. * Scripts/webkitpy/layout_tests/port/chromium.py:
  8064. 2010-03-19 James Hawkins <jhawkins@chromium.org>
  8065. Unreviewed.
  8066. Add myself to the committers list.
  8067. * Scripts/webkitpy/committers.py:
  8068. 2010-03-19 Adam Barth <abarth@webkit.org>
  8069. Unreviewed.
  8070. Fix SheriffBot exception lock when we can't retrieve the first build
  8071. from buildbot. (I'll ask Eric to review this change after the fact,
  8072. but he's at lunch and I want to get the bot unlocked.)
  8073. * Scripts/webkitpy/buildbot.py:
  8074. * Scripts/webkitpy/buildbot_unittest.py:
  8075. 2010-03-19 Alexey Proskuryakov <ap@apple.com>
  8076. Reviewed by Darin Adler.
  8077. https://bugs.webkit.org/show_bug.cgi?id=36380
  8078. websocket/tests/frame-lengths.html times out on Tiger bot
  8079. https://bugs.webkit.org/show_bug.cgi?id=35041
  8080. websocket/tests/frame-lengths.html / websocket/tests/simple-stress.html fail on Windows bot
  8081. Double the timeout (from 15 seconds to 30 seconds). We can increase it more, if necessary -
  8082. sampling the DRT process on Mac OS X takes much longer anyway, so it's better to avoid
  8083. timing out than to detect it early.
  8084. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  8085. (LayoutTestController::setWaitToDump):
  8086. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  8087. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  8088. (LayoutTestController::waitUntilDone):
  8089. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  8090. * Scripts/run-webkit-tests:
  8091. 2010-03-19 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  8092. Unreviewed.
  8093. Buildfix for Qt v4.5.
  8094. * QtLauncher/main.cpp:
  8095. (LauncherWindow::LauncherWindow):
  8096. (LauncherWindow::applyZoom):
  8097. 2010-03-19 Adam Barth <abarth@webkit.org>
  8098. Reviewed by Eric Seidel.
  8099. Operational tweaks to SheriffBot
  8100. https://bugs.webkit.org/show_bug.cgi?id=36385
  8101. These changes aren't pretty, but they're helpful to make SheriffBot
  8102. work operationally. I plan to iterate in these areas, but I wanted to
  8103. get this patch landed so I could be running the bot against TOT.
  8104. * Scripts/webkitpy/commands/sheriffbot.py:
  8105. * Scripts/webkitpy/irc/ircbot.py:
  8106. * Scripts/webkitpy/thirdparty/autoinstalled/__init__.py:
  8107. 2010-03-19 Eric Seidel <eric@webkit.org>
  8108. Reviewed by Adam Barth.
  8109. Help sheriff-bot avoid warning about flaky tests (and add more unit testing)
  8110. https://bugs.webkit.org/show_bug.cgi?id=36354
  8111. * Scripts/webkitpy/buildbot.py:
  8112. - Make Build creation easier to Mock and test
  8113. * Scripts/webkitpy/buildbot_unittest.py:
  8114. - Test finding green to red transitions and suspect revisions
  8115. * Scripts/webkitpy/commands/queries.py:
  8116. - Make what-broke note when builders have only failed once.
  8117. 2010-03-19 Dirk Pranke <dpranke@chromium.org>
  8118. Reviewed by Dimitri Glazkov.
  8119. Fix the rebaselining tool, which was broken by r36324 when I
  8120. added the concept of overridding expectations.
  8121. https://bugs.webkit.org/show_bug.cgi?id=36374
  8122. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  8123. 2010-03-19 Adam Barth <abarth@webkit.org>
  8124. Reviewed by Eric Seidel.
  8125. Misc bug fixes to make the SheriffBot actually work
  8126. https://bugs.webkit.org/show_bug.cgi?id=36355
  8127. With these changes, I can actually run the sheriff-bot from start to
  8128. finish.
  8129. * Scripts/webkitpy/irc/ircproxy.py:
  8130. * Scripts/webkitpy/patch/patcher.py:
  8131. * Scripts/webkitpy/statusserver.py:
  8132. 2010-03-19 Adam Barth <abarth@webkit.org>
  8133. Unreviewed.
  8134. Actually import the sheriff-bot command so we can run it. Also, move
  8135. the bot to #webkit-test so it doesn't cause a ruckus while we test it.
  8136. * Scripts/webkitpy/patch/patcher.py:
  8137. * Scripts/webkitpy/irc/ircbot.py:
  8138. 2010-03-19 Adam Barth <abarth@webkit.org>
  8139. Reviewed by Eric Seidel.
  8140. Second cut at SheriffBot
  8141. https://bugs.webkit.org/show_bug.cgi?id=36353
  8142. This patch should contain a complete SheriffBot that's capable of
  8143. saying reasonable things on IRC. I had to refactor the use of
  8144. CommitInfo to make the SheriffBot testable, but I did the minimum
  8145. necessary. We should grow webkitcheckout over time to contain the
  8146. knowledge of ChangeLogs from scm.
  8147. * Scripts/webkitpy/commands/sheriffbot.py:
  8148. * Scripts/webkitpy/commands/sheriffbot_unittest.py:
  8149. * Scripts/webkitpy/mock_bugzillatool.py:
  8150. * Scripts/webkitpy/patch/patcher.py:
  8151. * Scripts/webkitpy/webkitcheckout.py: Added.
  8152. 2010-03-19 Adam Barth <abarth@webkit.org>
  8153. Unreviewed.
  8154. Fix Hyatt's IRC nickname.
  8155. * Scripts/webkitpy/committers.py:
  8156. 2010-03-19 Adam Barth <abarth@webkit.org>
  8157. Unreviewed.
  8158. Add IRC nicknames for the non-reviewer committers.
  8159. * Scripts/webkitpy/committers.py:
  8160. 2010-03-19 Adam Barth <abarth@webkit.org>
  8161. Unreviewed.
  8162. More reviewer IRC nicknames.
  8163. * Scripts/webkitpy/committers.py:
  8164. 2010-03-19 Adam Barth <abarth@webkit.org>
  8165. Unreviewed.
  8166. Add a bunch of IRC nicknames for reviewers.
  8167. * Scripts/webkitpy/committers.py:
  8168. 2010-03-19 Zoltan Horvath <zoltan@webkit.org>
  8169. Reviewed by Oliver Hunt.
  8170. Added USE_SYSTEM_MALLOC flag to build-webkit
  8171. https://bugs.webkit.org/show_bug.cgi?id=21272
  8172. Add system-alloc flag to build-webkit. It makes easy to switch
  8173. between system allocator and TCmalloc.
  8174. * Scripts/build-webkit:
  8175. 2010-03-19 Adam Barth <abarth@webkit.org>
  8176. Unreviewed "build" fix.
  8177. Of course, I caused a regression in the file that isn't tested. :(
  8178. * Scripts/webkitpy/statusserver.py:
  8179. 2010-03-19 Eric Seidel <eric@webkit.org>
  8180. Reviewed by Adam Barth.
  8181. Add basic "who-broke-it" command and revision -> broken builder association code
  8182. https://bugs.webkit.org/show_bug.cgi?id=36352
  8183. The "what-broke" command prints builders and what revisions we suspect
  8184. broke them. who-broke-it prints revisions and what builders we suspect
  8185. they broke. The sheriff-bot needs this revision to broken builder mapping
  8186. so this change adds it!
  8187. * Scripts/webkitpy/buildbot.py:
  8188. * Scripts/webkitpy/commands/queries.py:
  8189. 2010-03-19 Eric Seidel <eric@webkit.org>
  8190. Reviewed by Adam Barth.
  8191. Simplify BuildBot core builder code for easier re-use
  8192. https://bugs.webkit.org/show_bug.cgi?id=36350
  8193. I simply couldn't see anything through all this Yak-hair.
  8194. * Scripts/webkitpy/buildbot.py:
  8195. * Scripts/webkitpy/commands/queries.py:
  8196. 2010-03-19 Adam Barth <abarth@webkit.org>
  8197. Reviewed by Eric Seidel.
  8198. committers.py should know IRC nicknames
  8199. https://bugs.webkit.org/show_bug.cgi?id=36349
  8200. I'll add the actual nicknames in another patch.
  8201. * Scripts/webkitpy/committers.py:
  8202. * Scripts/webkitpy/committers_unittest.py:
  8203. 2010-03-18 Anders Bakken <agbakken@gmail.com>
  8204. Reviewed by Simon Hausmann.
  8205. https://bugs.webkit.org/show_bug.cgi?id=36318
  8206. QtLauncher runs as a GuiClient by default in Qt Embedded which will
  8207. make it try to connect to an existing GuiServer. This patch makes it
  8208. run like a stand-alone app.
  8209. * QtLauncher/main.cpp:
  8210. (LauncherApplication::LauncherApplication):
  8211. 2010-03-19 Eric Seidel <eric@webkit.org>
  8212. Reviewed by Adam Barth.
  8213. Move find_green_to_red_transition out of "what-broke" onto Builder for easier re-use
  8214. https://bugs.webkit.org/show_bug.cgi?id=36345
  8215. * Scripts/webkitpy/buildbot.py:
  8216. * Scripts/webkitpy/commands/queries.py:
  8217. 2010-03-19 Adam Barth <abarth@webkit.org>
  8218. Reviewed by Adam Barth.
  8219. Actually pass the IRC password to the IRC object
  8220. https://bugs.webkit.org/show_bug.cgi?id=36346
  8221. I wanted to do this before, but both patches were in flight. This
  8222. patch finally closes the loop and makes the IRCProxy system complete.
  8223. * Scripts/webkitpy/patch/patcher.py:
  8224. 2010-03-18 Adam Barth <abarth@webkit.org>
  8225. Reviewed by Eric Seidel.
  8226. Add a StatusServer front end to the SVNRevision table on QueueStatusServer
  8227. https://bugs.webkit.org/show_bug.cgi?id=36344
  8228. No test because Browser was too hard to mock. :( I couldn't figure
  8229. out how to make Mock be a dictionary as well as an object.
  8230. * Scripts/webkitpy/statusserver.py:
  8231. 2010-03-18 Eric Seidel <eric@webkit.org>
  8232. Reviewed by Adam Barth.
  8233. Split out CommitInfo class and add unit tests
  8234. https://bugs.webkit.org/show_bug.cgi?id=36343
  8235. Move more logic out of "what-broke" into a shared CommitInfo
  8236. class so that it can be used by other commands and unit tested.
  8237. * Scripts/webkitpy/commands/queries.py:
  8238. * Scripts/webkitpy/commitinfo.py: Added.
  8239. * Scripts/webkitpy/commitinfo_unittest.py: Added.
  8240. * Scripts/webkitpy/unittests.py:
  8241. 2010-03-18 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  8242. Reviewed by Kenneth Rohde Christiansen.
  8243. [Qt] Fix LayoutTests/http/tests/appcache/max-size.html
  8244. https://bugs.webkit.org/show_bug.cgi?id=36207
  8245. Implement setAppCacheMaximumSize() for Qt.
  8246. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  8247. (LayoutTestController::setAppCacheMaximumSize):
  8248. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  8249. 2010-03-18 Adam Barth <abarth@webkit.org>
  8250. Reviewed by Eric Seidel.
  8251. QueueStatusServer should be able to log broken bots
  8252. https://bugs.webkit.org/show_bug.cgi?id=36341
  8253. We need to add a new table to the QueueStatusServer to store persistent
  8254. information for the SheriffBot. The new table will keep track of which
  8255. bots each SVN revision broke.
  8256. * QueueStatusServer/handlers/__init__.py:
  8257. * QueueStatusServer/handlers/svnrevision.py: Added.
  8258. * QueueStatusServer/handlers/updatebase.py: Added.
  8259. * QueueStatusServer/handlers/updatestatus.py:
  8260. * QueueStatusServer/handlers/updatesvnrevision.py: Added.
  8261. * QueueStatusServer/index.yaml:
  8262. * QueueStatusServer/main.py:
  8263. * QueueStatusServer/model/__init__.py:
  8264. * QueueStatusServer/model/svnrevision.py: Added.
  8265. * QueueStatusServer/templates/updatesvnrevision.html: Added.
  8266. 2010-03-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
  8267. Reviewed by Darin Adler.
  8268. Add a new method to the Qt LayoutTestController for
  8269. changing media type and make the DRT support dry-run printing.
  8270. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  8271. (WebCore::DumpRenderTree::DumpRenderTree):
  8272. (WebCore::DumpRenderTree::dryRunPrint):
  8273. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  8274. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  8275. (LayoutTestController::setMediaType):
  8276. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  8277. 2010-03-18 Dirk Pranke <dpranke@chromium.org>
  8278. Reviewed by Dimitri Glazkov.
  8279. Add upstream LayoutTests/platform/chromium* directories to the
  8280. baseline search path for new-run-webkit-tests in preparation for
  8281. upstreaming all of the Chromium baselines. Note that this does
  8282. not actually create the directories themselves, but that's okay.
  8283. https://bugs.webkit.org/show_bug.cgi?id=36324
  8284. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  8285. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  8286. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  8287. 2010-03-18 Alexey Proskuryakov <ap@apple.com>
  8288. Reviewed by Anders Carlsson.
  8289. https://bugs.webkit.org/show_bug.cgi?id=36327
  8290. Test that a plug-in can override Node methods of its element
  8291. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  8292. (normalizeOverride):
  8293. (pluginInvoke):
  8294. Override "normalize", and call back to let a test know that the plug-in was called.
  8295. 2010-03-17 Dirk Pranke <dpranke@chromium.org>
  8296. Reviewed by Dimitri Glazkov.
  8297. Add the concept of an "overrides" file for expectations so that we
  8298. can store test_expectations both upstream and downstream for a port
  8299. that runs both in webkit.org and in a separate repository (like
  8300. Chromium). Also add some unit tests for the expectations module.
  8301. https://bugs.webkit.org/show_bug.cgi?id=36249
  8302. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  8303. * Scripts/webkitpy/layout_tests/layout_package/test_expectations_test.py: Added.
  8304. * Scripts/webkitpy/layout_tests/port/base.py:
  8305. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  8306. 2010-03-18 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  8307. Reviewed by Kenneth Rohde Christiansen.
  8308. Add an overlay QGraphicsTextItem to QtLauncher so we can display FPS info
  8309. on the launcher and not on the terminal anymore.
  8310. [Qt] QtLauncher's FPS info should be displayed on an overlay text item
  8311. https://bugs.webkit.org/show_bug.cgi?id=36244
  8312. * QtLauncher/webview.cpp:
  8313. (WebViewGraphicsBased::WebViewGraphicsBased):
  8314. (WebViewGraphicsBased::setFrameRateMeasurementEnabled):
  8315. (WebViewGraphicsBased::updateFrameRate):
  8316. * QtLauncher/webview.h:
  8317. 2010-03-18 Adam Barth <abarth@webkit.org>
  8318. Reviewed by Eric Seidel.
  8319. First cut at SheriffBot
  8320. https://bugs.webkit.org/show_bug.cgi?id=36253
  8321. This patch contains a first attempt at writing a sheriff bot.
  8322. Currently, we're missing the logic that actually finds the SVN revision
  8323. numbers to complain about, but once we have that, we'll have the rest
  8324. of the infrustructure to ping IRC and to file bugs.
  8325. There's a lot to fill in for the SheriffBot, but this patch give us the
  8326. framework in which to do it.
  8327. This patch required a bit of refactoring of AbstractQueue because
  8328. SheriffBot is the first bot that doesn't process patches (it processes
  8329. SVN revisions). Accordingly, I've factored out AbstractPatchQueue to
  8330. hold the parts of AbstractQueue that are specific to dealing with
  8331. patches. Some of the choices here might not be obvious yet, but we can
  8332. tweak them as our needs become clearer.
  8333. * Scripts/webkitpy/commands/queues.py:
  8334. * Scripts/webkitpy/commands/queues_unittest.py:
  8335. * Scripts/webkitpy/commands/sheriffbot.py: Added.
  8336. * Scripts/webkitpy/commands/sheriffbot_unittest.py: Added.
  8337. * Scripts/webkitpy/mock_bugzillatool.py:
  8338. Added a MockIRC object to the mock tool.
  8339. * Scripts/webkitpy/multicommandtool.py:
  8340. Added a finalize method so the tool can disconnect from IRC
  8341. cleanly instead of just droping the socket.
  8342. * Scripts/webkitpy/multicommandtool_unittest.py:
  8343. * Scripts/webkitpy/patch/patcher.py:
  8344. Added support for talking to IRC.
  8345. * Scripts/webkitpy/unittests.py:
  8346. We should add a commands/unittests.py file at some point to make
  8347. the commands module more self-contained.
  8348. 2010-03-18 Antti Koivisto <koivisto@iki.fi>
  8349. Reviewed by Kenneth Rohde Christiansen.
  8350. https://bugs.webkit.org/show_bug.cgi?id=36102
  8351. [Qt] Scaling control API for tiled backing store
  8352. Add animated smooth zooming to Qt launcher when in tiled mode.
  8353. * QtLauncher/main.cpp:
  8354. (LauncherWindow::LauncherWindow):
  8355. (LauncherWindow::zoomAnimationFinished):
  8356. (LauncherWindow::applyZoom):
  8357. (LauncherWindow::zoomIn):
  8358. (LauncherWindow::zoomOut):
  8359. * QtLauncher/webview.h:
  8360. (WebViewGraphicsBased::graphicsWebView):
  8361. 2010-03-18 Adam Barth <abarth@webkit.org>
  8362. Reviewed by Eric Seidel.
  8363. Support using IRC accounts with a password
  8364. https://bugs.webkit.org/show_bug.cgi?id=36287
  8365. Add a global option to specify an IRC password so we can use the
  8366. sheriffbot account (which needs a password).
  8367. * Scripts/webkitpy/irc/ircbot.py:
  8368. * Scripts/webkitpy/irc/ircproxy.py:
  8369. * Scripts/webkitpy/patch/patcher.py:
  8370. 2010-03-18 Eric Seidel <eric@webkit.org>
  8371. Just fixing missing parenthesis typo, no review.
  8372. * Scripts/webkitpy/commands/queries.py: '%' has higher precedence than 'or', use parentheses.
  8373. 2010-03-18 Alexey Proskuryakov <ap@apple.com>
  8374. Reviewed by Adam Roben and Anders Carlsson.
  8375. https://bugs.webkit.org/show_bug.cgi?id=36210
  8376. plugins/resize-from-plugin.html fails on some platforms
  8377. Turns out that most platforms don't use "cross-platform" main.cpp. Copied code added for
  8378. the test to their versions of the file.
  8379. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  8380. (webkit_test_plugin_set_window):
  8381. * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
  8382. (NPP_SetWindow):
  8383. 2010-03-18 Leandro Pereira <leandro@profusion.mobi>
  8384. Reviewed by Kenneth Rohde Christiansen.
  8385. Add support to run-launcher to open the EFL example browser.
  8386. http://webkit.org/b/36181
  8387. * Scripts/webkitdirs.pm:
  8388. * Scripts/run-launcher:
  8389. 2010-03-18 Sergio Villar Senin <svillar@igalia.com>
  8390. Reviewed by Xan Lopez.
  8391. [GTK] Failing tests http/tests/misc/image-blocked-src-change.html
  8392. & http/tests/misc/image-blocked-src-no-change.html
  8393. https://bugs.webkit.org/show_bug.cgi?id=36227
  8394. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  8395. (webViewConsoleMessage): print only the file name instead of the
  8396. whole URI when printing messages with local URI's
  8397. 2010-03-18 Eric Seidel <eric@webkit.org>
  8398. Reviewed by Adam Barth.
  8399. Teach what-broke how to look up reviewer and author Committer objects by name
  8400. https://bugs.webkit.org/show_bug.cgi?id=36264
  8401. * Scripts/webkitpy/commands/queries.py:
  8402. - Add committer_by_name lookups for both reviewer and author
  8403. - Improve printing in the cases where lookups fail.
  8404. * Scripts/webkitpy/committers.py:
  8405. - Add committer_by_name
  8406. * Scripts/webkitpy/committers_unittest.py:
  8407. - Test committer_by_name
  8408. 2010-03-17 Adam Barth <abarth@webkit.org>
  8409. Reviewed by Eric Seidel.
  8410. create-rollout should actually fill out the description
  8411. https://bugs.webkit.org/show_bug.cgi?id=36261
  8412. * Scripts/webkitpy/commands/download.py:
  8413. The % operator was applied to the wrong string.
  8414. * Scripts/webkitpy/commands/download_unittest.py:
  8415. * Scripts/webkitpy/commands/upload_unittest.py:
  8416. * Scripts/webkitpy/mock_bugzillatool.py:
  8417. Add support for seeing what we actually do with create_bug.
  8418. 2010-03-17 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  8419. Reviewed by Kenneth Rohde Christiansen.
  8420. Accelerated Compositing is now default on QtWebKit so the option
  8421. in QtLauncher must be true as default.
  8422. [Qt] QtLauncher's Accelerated Compositing option must be true as default
  8423. https://bugs.webkit.org/show_bug.cgi?id=36234
  8424. * QtLauncher/main.cpp:
  8425. (LauncherWindow::applyPrefs):
  8426. (LauncherWindow::toggleAcceleratedCompositing):
  8427. (LauncherApplication::handleUserOptions):
  8428. 2010-03-17 Adam Barth <abarth@webkit.org>
  8429. Reviewed by Eric Seidel.
  8430. Commit queue should ignore (probably red) builders when landing rollouts
  8431. https://bugs.webkit.org/show_bug.cgi?id=36169
  8432. When landing a rollout, the builders are probably red, so we need to
  8433. ignore them in the subprocess too. Also, we might as well update the
  8434. working copy because we haven't validated anything about the current
  8435. revision prior to trying to land.
  8436. This change is testable, but it requires changing the mock executive to
  8437. log its arguments. That will generate a lot of expectation changes, so
  8438. I'd like to do that in a separate patch.
  8439. * Scripts/webkitpy/commands/queues.py:
  8440. 2010-03-17 Chang Shu <chang.shu@nokia.com>
  8441. Reviewed by Laszlo Gombos.
  8442. https://bugs.webkit.org/show_bug.cgi?id=36139
  8443. [Qt] Clean up cache each time DumpRenderTree starts. This behavior
  8444. matches other platforms, such as mac and gtk.
  8445. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  8446. (WebCore::DumpRenderTree::DumpRenderTree):
  8447. 2010-03-17 Adam Barth <abarth@webkit.org>
  8448. Unreviewed.
  8449. Turns out this needs to be a string.
  8450. * Scripts/webkitpy/bugzilla.py:
  8451. 2010-03-17 Eric Seidel <eric@webkit.org>
  8452. Reviewed by Adam Barth.
  8453. Add more infrastructure for sheriff-bot, including making what-broke more awesome
  8454. https://bugs.webkit.org/show_bug.cgi?id=36254
  8455. * Scripts/webkitpy/bugzilla.py:
  8456. - Made the various URL methods return None when passed None.
  8457. * Scripts/webkitpy/bugzilla_unittest.py:
  8458. - Test that the url methods work as expected.
  8459. * Scripts/webkitpy/buildbot.py:
  8460. - Add a static Build.build_url so that its possible to generate a build url without a Build object.
  8461. - Give users a URL in _fetch_xmlrpc_build_dictionary error message.
  8462. * Scripts/webkitpy/changelogs.py:
  8463. - Add a new ChangeLogEntry class to encapsulate entry-parsing logic.
  8464. - Add is_path_to_changelog to greatly simplify SCM.modified_changelogs code.
  8465. - Make ChangeLog.parse_latest_entry_from_file a public method.
  8466. * Scripts/webkitpy/changelogs_unittest.py:
  8467. - Add tests for new ChangeLog entry parsing.
  8468. * Scripts/webkitpy/commands/queries.py:
  8469. - Make "what-broke" not print "ok" builders, only failing ones.
  8470. - Print much more information on failing builders, including links and authorship/reviewer information.
  8471. * Scripts/webkitpy/commands/queues_unittest.py:
  8472. - Use a fake_checkout path since fixing the cwd (as part of fixing scm_unittests.py) was breaking tests.
  8473. * Scripts/webkitpy/mock_bugzillatool.py:
  8474. - Move MockSCM away from using os.getcwd() as that was fragile (and wrong).
  8475. * Scripts/webkitpy/patch/patcher.py:
  8476. - Remove code which was broken now that this file has moved.
  8477. - Code was also redundant now that SCM.find_checkout_root() exists.
  8478. * Scripts/webkitpy/scm.py:
  8479. - Greatly simplify modified_changelogs now that I understand list comprehensions.
  8480. - Expect ChangeLogEntry objects instead of raw strings.
  8481. - Add changed_files_for_revision, committer_email_for_revision and contents_at_revision
  8482. - Add commit_with_message argument to all sites since someone half-added it before. :(
  8483. - Get rid of copy/paste code using _status_regexp()
  8484. * Scripts/webkitpy/scm_unittest.py:
  8485. - Fix these tests!
  8486. - Add new tests for new scm code.
  8487. - Fix spelling of "awsome" to "awesome".
  8488. 2010-03-17 Daniel Bates <dbates@rim.com>
  8489. Rubber-stamped by David Levin.
  8490. Add myself to the list of reviewers.
  8491. * Scripts/webkitpy/committers.py:
  8492. 2010-03-17 Adam Barth <abarth@webkit.org>
  8493. Reviewed by Eric Seidel.
  8494. Change post-rollout to create-rollout and have it make a new bug
  8495. instead of posting the rollout to the old bug.
  8496. https://bugs.webkit.org/show_bug.cgi?id=36250
  8497. The new bug blocks the old bug instead of adding more complexity to the
  8498. old bug. One tricky question is whether to create the bug if we're
  8499. unable to create a rollout patch. In this patch, we do create the bug,
  8500. but we might revist this question in the future.
  8501. * Scripts/webkitpy/bugzilla.py:
  8502. * Scripts/webkitpy/commands/download.py:
  8503. * Scripts/webkitpy/commands/download_unittest.py:
  8504. * Scripts/webkitpy/steps/createbug.py:
  8505. 2010-03-17 Adam Barth <abarth@webkit.org>
  8506. Reviewed by Eric Seidel.
  8507. Add a way for the bots to send messages to IRC
  8508. https://bugs.webkit.org/show_bug.cgi?id=36235
  8509. We'll use these classes to notify #webkit about bad SVN revisions.
  8510. This patch just has some skeleton code for us to play with.
  8511. * Scripts/webkitpy/irc/__init__.py: Added.
  8512. * Scripts/webkitpy/irc/ircbot.py: Added.
  8513. A bot that knows how to talk to IRC.
  8514. * Scripts/webkitpy/irc/ircproxy.py: Added.
  8515. We need to run the bot on its own thread because the irclib needs
  8516. its own mainloop. This class provides an abstraction of the
  8517. threading.
  8518. * Scripts/webkitpy/irc/messagepump.py: Added.
  8519. * Scripts/webkitpy/irc/messagepump_unittest.py: Added.
  8520. * Scripts/webkitpy/irc/threadedmessagequeue.py: Added.
  8521. A thread-safe message queue for sending messages from the main
  8522. thread to the IRC thread.
  8523. * Scripts/webkitpy/irc/threadedmessagequeue_unittest.py: Added.
  8524. * Scripts/webkitpy/irc/unittests.py: Added.
  8525. * Scripts/webkitpy/thirdparty/autoinstalled/__init__.py:
  8526. Autoinstall irclib
  8527. * Scripts/webkitpy/unittests.py:
  8528. 2010-03-17 Victor Wang <victorw@chromium.org>
  8529. Reviewed by Dimitri Glazkov.
  8530. Fix image_diff syntax in webkitpy/port/base.py.
  8531. The syntax is wrong if diff_filename is specified.
  8532. https://bugs.webkit.org/show_bug.cgi?id=36230
  8533. * Scripts/webkitpy/layout_tests/port/base.py:
  8534. 2010-03-16 Diego Gonzalez <diego.gonzalez@openbossa.org>
  8535. Reviewed by Kenneth Christiansen.
  8536. Provide to QtLauncher a way to change the ViewportUpdateMode
  8537. when it's in graphics based mode.
  8538. [Qt] Make QtLaucher able to select the ViewportUpdateMode
  8539. https://bugs.webkit.org/show_bug.cgi?id=36175
  8540. * QtLauncher/main.cpp:
  8541. (LauncherWindow::selectViewportUpdateMode):
  8542. (LauncherWindow::createChrome):
  8543. 2010-03-17 Zoltan Horvath <zoltan@webkit.org>
  8544. Reviewed by Darin Adler.
  8545. Ambiguous error message when building for unspecified platform
  8546. https://bugs.webkit.org/show_bug.cgi?id=30203
  8547. Add an extra line information to the error message.
  8548. * Scripts/webkitdirs.pm:
  8549. 2010-03-16 Adam Barth <abarth@webkit.org>
  8550. No review, rolling out r56044.
  8551. http://trac.webkit.org/changeset/56044
  8552. https://bugs.webkit.org/show_bug.cgi?id=36048
  8553. This patch broke Windows Debug (Tests)
  8554. * Scripts/webkitdirs.pm:
  8555. 2010-03-16 John Abd-El-Malek <jam@chromium.org>
  8556. Reviewed by Darin Fisher.
  8557. Give keyboard focus to PluginDocuments by default
  8558. https://bugs.webkit.org/show_bug.cgi?id=36147
  8559. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  8560. (pluginAllocate):
  8561. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
  8562. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  8563. (NPP_New):
  8564. (NPP_SetWindow):
  8565. (handleEventCarbon):
  8566. (handleEventCocoa):
  8567. 2010-03-16 Sam Weinig <sam@webkit.org>
  8568. Reviewed by Mark Rowe.
  8569. Fix run-webkit-httpd on Windows.
  8570. * Scripts/webkitperl/httpd.pm:
  8571. 2010-03-16 Alexey Proskuryakov <ap@apple.com>
  8572. Tiger build fix.
  8573. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: (pluginGetProperty):
  8574. Added more type casts to shut down warnings.
  8575. 2010-03-16 Alexey Proskuryakov <ap@apple.com>
  8576. Reviewed by Darin Adler.
  8577. https://bugs.webkit.org/show_bug.cgi?id=36184
  8578. YouTube video resizing doesn't work with OOP plug-ins
  8579. Added a resizeTo() method, which calls resizePlugin() in JS with the same arguments,
  8580. and a lastSetWindowArguments property, which returns a string describing the last NPWindow
  8581. passed to NPN_SetWindow.
  8582. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  8583. (pluginGetProperty):
  8584. (testResizeTo):
  8585. (pluginInvoke):
  8586. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
  8587. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  8588. (NPP_SetWindow):
  8589. 2010-03-16 Joanmarie Diggs <joanmarie.diggs@gmail.com>
  8590. Reviewed by Xan Lopez.
  8591. https://bugs.webkit.org/show_bug.cgi?id=35504
  8592. [Gtk] Evaluate and fix AtkTable for layout tables
  8593. Implements rowCount and columnCount for Gtk in DRT.
  8594. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  8595. (AccessibilityUIElement::rowCount):
  8596. (AccessibilityUIElement::columnCount):
  8597. 2010-03-15 Eric Seidel <eric@webkit.org>
  8598. Reviewed by Adam Barth.
  8599. Add "what-broke" command for debugging when the tree broke
  8600. https://bugs.webkit.org/show_bug.cgi?id=36157
  8601. This is another step towards automated sheriffing of the webkit tree.
  8602. With this logic our scripts are able to determine what revision broke the
  8603. tree. Buildbot should do this for us, but unfortunately buildbot doesn't
  8604. expose this kind of aggregate information.
  8605. * Scripts/webkitpy/buildbot.py:
  8606. - Add new Builder and Build classes (which will eventually replace the custom dictionaries previously used).
  8607. - Split out more network logic into _fetch methods which will eventually be their own class for mocking.
  8608. - Use XMLRPC to communicate with the buildbot master instead of scraping build pages.
  8609. * Scripts/webkitpy/buildbot_unittest.py:
  8610. - Test the newly added buildbot classes.
  8611. * Scripts/webkitpy/commands/queries.py:
  8612. - Add an experimental what-broke command.
  8613. 2010-03-15 Daniel Bates <dbates@rim.com>
  8614. Reviewed by Eric Seidel.
  8615. https://bugs.webkit.org/show_bug.cgi?id=36048
  8616. Detect if the Windows Platform SDK is missing when building with
  8617. Visual C++ Express Edition and inform the user to download it.
  8618. * Scripts/webkitdirs.pm:
  8619. 2010-03-15 Adam Barth <abarth@webkit.org>
  8620. Reviewed by Eric Seidel.
  8621. Let commit-queue land rollout patches even when the tree is red
  8622. https://bugs.webkit.org/show_bug.cgi?id=36155
  8623. Now the commit-queue will land patches whose name begins with "ROLLOUT "
  8624. even if the tree is red. The patches still go through the usual build
  8625. and test process, but they can be landed while the tree is on fire.
  8626. * Scripts/webkitpy/bugzilla.py:
  8627. * Scripts/webkitpy/commands/queues.py:
  8628. * Scripts/webkitpy/commands/queues_unittest.py:
  8629. * Scripts/webkitpy/commands/queuestest.py:
  8630. * Scripts/webkitpy/mock_bugzillatool.py:
  8631. 2010-03-15 Adam Barth <abarth@webkit.org>
  8632. Reviewed by Eric Seidel.
  8633. Add webkit-patch post-rollout to upload rollouts to bugs.webkit.org for easy committing
  8634. https://bugs.webkit.org/show_bug.cgi?id=36154
  8635. This new command is a mashup of prepare-rollout and post. This command
  8636. will be used by an experimental bot to post rollouts of patches that
  8637. break things to bugs.webkit.org where they can be landed with the
  8638. greatest of ease.
  8639. * Scripts/webkitpy/commands/download.py:
  8640. * Scripts/webkitpy/commands/download_unittest.py:
  8641. * Scripts/webkitpy/steps/__init__.py:
  8642. * Scripts/webkitpy/steps/postdiffforrevert.py: Added.
  8643. 2010-03-15 Adam Barth <abarth@webkit.org>
  8644. Reviewed by Eric Seidel.
  8645. webkit-patch rollout should error out on conflicts
  8646. https://bugs.webkit.org/show_bug.cgi?id=36151
  8647. Instead of blindingly plowing ahead, we now throw an exception if there
  8648. are conflicts after applying a reverse diff.
  8649. * Scripts/webkitpy/scm.py:
  8650. 2010-03-15 Chris Fleizach <cfleizach@apple.com>
  8651. Unreviewed layout test fix.
  8652. VO not able to perform a VO-spacebar on facebook links
  8653. https://bugs.webkit.org/show_bug.cgi?id=36132
  8654. GTK needs to implement press for this test to work.
  8655. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  8656. (AccessibilityUIElement::press):
  8657. 2010-03-15 Chris Fleizach <cfleizach@apple.com>
  8658. Unreviewed layout test fix.
  8659. VO not able to perform a VO-spacebar on facebook links
  8660. https://bugs.webkit.org/show_bug.cgi?id=36132
  8661. Windows needs to implement press in DRT.
  8662. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  8663. (AccessibilityUIElement::press):
  8664. 2010-03-15 Chris Fleizach <cfleizach@apple.com>
  8665. Unreviewed. Fix break of layout tests on win and gtk.
  8666. VO not able to perform a VO-spacebar on facebook links
  8667. https://bugs.webkit.org/show_bug.cgi?id=36132
  8668. Attempting to implement press action for windows and gtk.
  8669. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  8670. (AccessibilityUIElement::press):
  8671. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  8672. (AccessibilityUIElement::press):
  8673. 2010-03-15 Chris Fleizach <cfleizach@apple.com>
  8674. Reviewed by Beth Dakin.
  8675. VO not able to perform a VO-spacebar on facebook links
  8676. https://bugs.webkit.org/show_bug.cgi?id=36132
  8677. * DumpRenderTree/AccessibilityUIElement.cpp:
  8678. (pressCallback):
  8679. (AccessibilityUIElement::getJSClass):
  8680. * DumpRenderTree/AccessibilityUIElement.h:
  8681. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  8682. (AccessibilityUIElement::press):
  8683. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  8684. (AccessibilityUIElement::press):
  8685. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  8686. (AccessibilityUIElement::press):
  8687. 2010-03-15 Mark Rowe <mrowe@apple.com>
  8688. Add a new build slave to replace the existing SnowLeopard Leaks build slave which
  8689. appears to be suffering a slow and painful death at the hands of its graphics hardware.
  8690. * BuildSlaveSupport/build.webkit.org-config/config.json:
  8691. 2010-03-15 Dirk Pranke <dpranke@chromium.org>
  8692. Reviewed by Alexey Proskuryakov.
  8693. Fix a minor case where we'd deference a null pointer if we tried
  8694. to run new-run-webkit-tests on an unsupported platform (e.g.
  8695. Cygwin's python version).
  8696. https://bugs.webkit.org/show_bug.cgi?id=36076
  8697. * Scripts/webkitpy/layout_tests/port/factory.py:
  8698. 2010-03-15 Darin Adler <darin@apple.com>
  8699. Tell Subversion about more directories that expect to have .pyc files.
  8700. * Scripts/webkitpy/layout_tests: Added property svn:ignore.
  8701. * Scripts/webkitpy/layout_tests/port: Added property svn:ignore.
  8702. 2010-03-15 Adam Barth <abarth@webkit.org>
  8703. Reviewed by Darin Adler.
  8704. Operational scripts from running the EWS
  8705. https://bugs.webkit.org/show_bug.cgi?id=36097
  8706. These are the scripts I use to manage the EWS on EC2. If someone other
  8707. than me wants to run the EWS, these scripts might be helpful.
  8708. * EWSTools/boot.sh: Added.
  8709. * EWSTools/create-webkit-git: Added.
  8710. * EWSTools/screen-config: Added.
  8711. * EWSTools/start-queue.sh: Added.
  8712. 2010-03-14 Adam Barth <abarth@webkit.org>
  8713. Unreviewed.
  8714. Fix the webkit-patch bots. Turns out they need the path of the main
  8715. script to run properly.
  8716. * Scripts/webkit-patch:
  8717. * Scripts/webkitpy/patch/patcher.py:
  8718. 2010-03-14 Darin Adler <darin@apple.com>
  8719. Tell Subversion about more directories that expect to have .pyc files.
  8720. * Scripts/webkitpy/init: Added property svn:ignore.
  8721. * Scripts/webkitpy/patch: Added property svn:ignore.
  8722. * Scripts/webkitpy/thirdparty: Added property svn:ignore.
  8723. * Scripts/webkitpy/thirdparty/autoinstalled: Added property svn:ignore.
  8724. 2010-03-14 Antti Koivisto <koivisto@iki.fi>
  8725. Reviewed by Simon Hausmann.
  8726. https://bugs.webkit.org/show_bug.cgi?id=35146
  8727. Support tiled backing store
  8728. QtLauncher support and build flag in build-webkit.
  8729. * QtLauncher/main.cpp:
  8730. (LauncherWindow::applyPrefs):
  8731. (LauncherWindow::toggleTiledBackingStore):
  8732. (LauncherWindow::toggleResizesToContents):
  8733. (LauncherWindow::createChrome):
  8734. (LauncherApplication::handleUserOptions):
  8735. * QtLauncher/webview.cpp:
  8736. (WebViewGraphicsBased::WebViewGraphicsBased):
  8737. (WebViewGraphicsBased::setResizesToContents):
  8738. (WebViewGraphicsBased::resizeEvent):
  8739. * QtLauncher/webview.h:
  8740. * Scripts/build-webkit:
  8741. 2010-03-13 Chris Jerdonek <cjerdonek@webkit.org>
  8742. Reviewed by Adam Barth.
  8743. The webkit-patch script now displays a warning if run using
  8744. a version of Python less than 2.5. This will help users
  8745. understand why webkit-patch is erroring out if they are
  8746. using Python 2.4, for example.
  8747. https://bugs.webkit.org/show_bug.cgi?id=31533
  8748. * Scripts/webkit-patch:
  8749. - Moved most of the file contents to webkitpy/patch/patcher.py
  8750. so the Python version can be checked before interpreting
  8751. any code that can cause the script to error out.
  8752. - Added a configure_logging() method to enable any version
  8753. warnings to show up.
  8754. - Added a main() method with calls to configure_logging(),
  8755. check_version(), and the main webkit patch method.
  8756. * Scripts/webkitpy/patch/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py.
  8757. - This file is required to make a folder a package.
  8758. * Scripts/webkitpy/patch/patcher.py: Added.
  8759. - Moved code from Scripts/webkit-patch.
  8760. 2010-03-13 Chris Jerdonek <cjerdonek@webkit.org>
  8761. Reviewed by Adam Barth.
  8762. Changed test-webkitpy so that messages logged as a side-effect
  8763. of unit-testing code do not get displayed to the screen. These
  8764. messages clutter up the unit test results if not filtered out.
  8765. https://bugs.webkit.org/show_bug.cgi?id=35835
  8766. * Scripts/test-webkitpy:
  8767. - Adjusted the configure_logging() method to filter out any
  8768. log messages from webkitpy.
  8769. - Also added an INFO message stating that most console logging
  8770. is getting suppressed.
  8771. * Scripts/webkitpy/init/versioning.py:
  8772. - Added a log parameter to the check_version() method.
  8773. * Scripts/webkitpy/init/versioning_unittest.py:
  8774. - Qualified a call to check_version() with the parameter names.
  8775. 2010-03-13 Chris Jerdonek <cjerdonek@webkit.org>
  8776. Reviewed by Adam Barth.
  8777. The test-webkitpy script now warns the user if the script is
  8778. being run using a Python version different from the minimum
  8779. version the webkitpy package was meant to support.
  8780. https://bugs.webkit.org/show_bug.cgi?id=35788
  8781. Warning developers if their Python version is too low will help
  8782. them understand why test-webkitpy is failing. Secondly, warning
  8783. developers if their Python version is higher than the minimum will
  8784. help them understand that their changes may not be okay for the
  8785. minimum supported version, even if test-webkitpy is passing.
  8786. * Scripts/test-webkitpy:
  8787. - Moved the "from ..._unittest import *" lines to the new
  8788. file Scripts/webkitpy/unittests.py. This will allow the
  8789. version-check warning to be displayed even if an error occurs
  8790. while interpreting (i.e. importing) the unit test code.
  8791. - Added configure_logging() to configur logging for test-webkitpy.
  8792. - Added an init() method to configure logging and check the
  8793. current Python version.
  8794. * Scripts/webkitpy/init/unittests.py: Added.
  8795. - Added a file to import all unit test modules in the
  8796. webkitpy.init package.
  8797. * Scripts/webkitpy/init/versioning.py: Added.
  8798. - Added a _MINIMUM_SUPPORTED_PYTHON_VERSION variable and set
  8799. it equal to 2.5.
  8800. - Added a compare_version() method to compare the current Python
  8801. version against a target version.
  8802. - Added a check_version() method to check the current Python
  8803. version against the current minimum supported version, and to
  8804. log a warning message if the check fails.
  8805. * Scripts/webkitpy/init/versioning_unittest.py: Added.
  8806. - Added unit tests for the functions in versioning.py.
  8807. * Scripts/webkitpy/style/unittests.py:
  8808. - Fixed/updated a code comment.
  8809. * Scripts/webkitpy/unittests.py: Added.
  8810. - Moved the "from ..._unittest import *" lines from test-webkitpy.
  8811. 2010-03-13 Chris Jerdonek <cjerdonek@webkit.org>
  8812. Reviewed by Adam Barth.
  8813. Moved all code in webkitpy/__init__.py to another location.
  8814. https://bugs.webkit.org/show_bug.cgi?id=35828
  8815. Keeping webkitpy/__init__.py free of non-trivial code allows
  8816. calling code to import initialization code from webkitpy
  8817. before any errors or log messages occur due to code in
  8818. __init__.py. Such initialization code can include things like
  8819. version checking code and logging configuration code. This
  8820. also lets us move the autoinstall initialization code to a
  8821. location where it only executes if it is needed -- something
  8822. we have done in this patch.
  8823. * Scripts/webkitpy/__init__.py:
  8824. - Moved all executable code to the following location:
  8825. webkitpy/thirdparty/autoinstalled/__init__.py
  8826. - Added a code comment to keep this file free of non-trivial
  8827. code.
  8828. * Scripts/webkitpy/bugzilla.py:
  8829. - Updated mechanize import statement.
  8830. * Scripts/webkitpy/networktransaction.py:
  8831. - Updated mechanize import statement.
  8832. * Scripts/webkitpy/networktransaction_unittest.py:
  8833. - Updated mechanize import statement.
  8834. * Scripts/webkitpy/statusserver.py:
  8835. - Updated mechanize import statement.
  8836. * Scripts/webkitpy/thirdparty/autoinstalled/__init__.py: Added.
  8837. - Copied the code from webkitpy/__init__.py and updated it
  8838. as necessary.
  8839. 2010-03-13 Chris Jerdonek <cjerdonek@webkit.org>
  8840. Reviewed by Adam Barth.
  8841. Moved webkitpy/mock.py into webkitpy/thirdparty since it is
  8842. third-party code.
  8843. https://bugs.webkit.org/show_bug.cgi?id=35499
  8844. Updated the import statement in all of the below except where noted.
  8845. * Scripts/webkitpy/bugzilla_unittest.py:
  8846. * Scripts/webkitpy/commands/commandtest.py:
  8847. * Scripts/webkitpy/commands/download_unittest.py:
  8848. * Scripts/webkitpy/commands/early_warning_system_unittest.py:
  8849. * Scripts/webkitpy/commands/queries_unittest.py:
  8850. * Scripts/webkitpy/commands/queues_unittest.py:
  8851. * Scripts/webkitpy/commands/queuestest.py:
  8852. * Scripts/webkitpy/commands/upload.py:
  8853. * Scripts/webkitpy/commands/upload_unittest.py:
  8854. * Scripts/webkitpy/commands_references.py: Added.
  8855. - Added a file containing an absolute import of Mock so that
  8856. the imports in the commands folder can import from this file
  8857. (similar to style_references.py). This helps limit the
  8858. number of affected files in future refactorings.
  8859. * Scripts/webkitpy/credentials_unittest.py:
  8860. * Scripts/webkitpy/mock.py: Removed.
  8861. - Moved to Scripts/webkitpy/thirdparty.
  8862. * Scripts/webkitpy/mock_bugzillatool.py:
  8863. * Scripts/webkitpy/patchcollection_unittest.py:
  8864. * Scripts/webkitpy/steps/closebugforlanddiff_unittest.py:
  8865. * Scripts/webkitpy/steps/steps_unittest.py:
  8866. * Scripts/webkitpy/steps/updatechangelogswithreview_unittests.py:
  8867. * Scripts/webkitpy/steps_references.py: Added.
  8868. - Added a file containing an absolute import of Mock so that
  8869. the imports in the steps folder can import from this file
  8870. (similar to style_references.py). This helps limit the
  8871. number of affected files in future refactorings.
  8872. * Scripts/webkitpy/thirdparty/mock.py: Copied from WebKitTools/Scripts/webkitpy/mock.py.
  8873. - Also eliminated trailing white space and carriage returns.
  8874. 2010-03-12 Robert Hogan <robert@webkit.org>
  8875. Reviewed by Adam Barth.
  8876. Amend incorrect typo patch for QtLauncher.
  8877. https://bugs.webkit.org/show_bug.cgi?id=35877
  8878. * QtLauncher/webview.cpp:
  8879. (WebViewGraphicsBased::setFrameRateMeasurementEnabled):
  8880. 2010-03-13 Victor Wang <victorw@chromium.org>
  8881. Add appengine app to host and serve webkit layout test results.
  8882. The app allows you post test result files (json) and serve them up.
  8883. Chromium flakiness dashboard will first use this app to host results.json
  8884. and expectations.json, but the files hosted by this app are not limited
  8885. to chromium results or json files. It can be used to host other files if needed.
  8886. https://bugs.webkit.org/show_bug.cgi?id=35944
  8887. * TestResultServer: Added.
  8888. * TestResultServer/app.yaml: Added.
  8889. * TestResultServer/handlers: Added.
  8890. * TestResultServer/handlers/__init__.py: Added.
  8891. * TestResultServer/handlers/menu.py: Added.
  8892. * TestResultServer/handlers/testfilehandler.py: Added.
  8893. * TestResultServer/index.yaml: Added.
  8894. * TestResultServer/main.py: Added.
  8895. * TestResultServer/model: Added.
  8896. * TestResultServer/model/__init__.py: Added.
  8897. * TestResultServer/model/testfile.py: Added.
  8898. * TestResultServer/stylesheets: Added.
  8899. * TestResultServer/stylesheets/form.css: Added.
  8900. * TestResultServer/stylesheets/menu.css: Added.
  8901. * TestResultServer/stylesheets/testfile.css: Added.
  8902. * TestResultServer/templates: Added.
  8903. * TestResultServer/templates/menu.html: Added.
  8904. * TestResultServer/templates/showfilelist.html: Added.
  8905. * TestResultServer/templates/uploadform.html: Added.
  8906. 2010-03-13 Dimitri Glazkov <dglazkov@chromium.org>
  8907. Reviewed by David Levin.
  8908. new-run-webkit-tests fails with --debug option.
  8909. https://bugs.webkit.org/show_bug.cgi?id=36067
  8910. * Scripts/webkitpy/layout_tests/port/mac.py:
  8911. 2010-03-13 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  8912. Reviewed by Kenneth Rohde Christiansen.
  8913. Add "Show FPS" menu option to QtLauncher.
  8914. [Qt] QtLauncher need a menu option to show/hide FPS
  8915. https://bugs.webkit.org/show_bug.cgi?id=35794
  8916. * QtLauncher/main.cpp:
  8917. (LauncherWindow::showFPS):
  8918. (LauncherWindow::createChrome):
  8919. 2010-03-13 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  8920. Reviewed by Kenneth Rohde Christiansen.
  8921. Add a "Toggle FullScreen" option to QtLauncher Menu.
  8922. [Qt] QtLauncher needs an option to toggle FullScreen Mode
  8923. https://bugs.webkit.org/show_bug.cgi?id=35755
  8924. * QtLauncher/main.cpp:
  8925. (LauncherWindow::init):
  8926. (LauncherWindow::eventFilter):
  8927. (LauncherWindow::initializeView):
  8928. (LauncherWindow::toggleFullScreenMode):
  8929. (LauncherWindow::createChrome):
  8930. 2010-03-12 Dirk Pranke <dpranke@chromium.org>
  8931. Reviewed by Dimitri Glazkov.
  8932. Fix typo in websocket_server (path_from_base instead of
  8933. path_from_chromium_base).
  8934. https://bugs.webkit.org/show_bug.cgi?id=36074
  8935. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  8936. 2010-03-12 Dirk Pranke <dpranke@chromium.org>
  8937. Reviewed by Adam Barth.
  8938. new-run-webkit-tests --new-baseline doesn't work at all.
  8939. It attempts to call a method that isn't defined. To fix it, I
  8940. removed the unnecessary and unnecessarily confusing 'platform'
  8941. argument to the test_type constructor and use the Port object that
  8942. is passed in instead, since we are only ever generating a baseline
  8943. from the port that is currently executing.
  8944. https://bugs.webkit.org/show_bug.cgi?id=36046
  8945. * Scripts/webkitpy/layout_tests/port/mac.py:
  8946. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  8947. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  8948. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  8949. 2010-03-12 Dirk Pranke <dpranke@chromium.org>
  8950. Reviewed by Adam Barth.
  8951. Fix new-run-webkit-tests --run-singly
  8952. This script option is currently broken - the script attempts to
  8953. dereference methods and variables that don't exist, which causes
  8954. the Chromium Linux valgrind bot to be quite unhappy. This has been
  8955. broken since r54449 when I renamed Port.start_test_driver to
  8956. Port.start_driver.
  8957. https://bugs.webkit.org/show_bug.cgi?id=36042
  8958. * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py:
  8959. 2010-03-12 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  8960. Fix critical being printed to stderr on every test. This is
  8961. because the jar is only being created when soup hits the HTTP
  8962. path. We should reconsider the time of its creation.
  8963. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  8964. (resetDefaultsToConsistentValues):
  8965. 2010-03-12 Adam Roben <aroben@apple.com>
  8966. Teach prepare-ChangeLog to find modified selectors in CSS files
  8967. Reviewed by Tim Hatcher.
  8968. Fixes <http://webkit.org/b/36064> prepare-ChangeLog should extract
  8969. modified selectors from CSS files
  8970. * Scripts/prepare-ChangeLog:
  8971. (get_function_line_ranges): Call get_selector_line_ranges_for_css for
  8972. .css files.
  8973. (get_selector_line_ranges_for_css): Added. Finds selectors and their
  8974. line ranges and returns them.
  8975. 2010-03-12 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  8976. Build fix (for EWS). Make sure the new code builds on older soup.
  8977. Thanks to Dan Winship.
  8978. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  8979. (resetDefaultsToConsistentValues):
  8980. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  8981. (LayoutTestController::setAlwaysAcceptCookies):
  8982. 2010-03-12 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  8983. Reviewed by Eric Carlson.
  8984. [GTK] DRT does not handle cookie policy setting
  8985. https://bugs.webkit.org/show_bug.cgi?id=36056
  8986. Implement cookie accept policy setting for GTK+'s LayoutTestController.
  8987. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  8988. (resetDefaultsToConsistentValues):
  8989. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  8990. (LayoutTestController::setAlwaysAcceptCookies):
  8991. 2010-03-12 Adam Langley <agl@chromium.org>
  8992. Reviewed by Dimitri Glazkov.
  8993. [chromium]: update Linux layout test scripts for RedHat like systems.
  8994. (Tested on Fedora 12.)
  8995. https://bugs.webkit.org/show_bug.cgi?id=35867
  8996. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  8997. 2010-03-12 Adam Roben <aroben@apple.com>
  8998. Make svn-create-patch's diffs of ObjC header files more readable
  8999. Fixes <http://webkit.org/b/36055>.
  9000. Reviewed by John Sullivan.
  9001. * Scripts/svn-create-patch:
  9002. (diffOptionsForFile): Added. Returns the options that should be passed
  9003. to diff for the given file. All the options are the same for all
  9004. files, except for the option to specify which lines should be used as
  9005. hunk headers.
  9006. (generateDiff): Use diffOptionsForFile to get the options to pass to
  9007. diff.
  9008. (hunkHeaderLineRegExForFile): Added. Returns the regular expression
  9009. that should be used by diff to identify lines that should be included
  9010. after the "@@" in the hunk header lines of the diff. For ObjC[++]
  9011. source files, we use any lines starting with -, +, or
  9012. @implementation/@interface/@protocol. For ObjC[++] header files (which
  9013. we assume to be any .h files in a mac/ or objc/ directory), we use any
  9014. lines starting with @implementation/@interface/@protocol.
  9015. 2010-03-12 Jochen Eisinger <jochen@chromium.org>
  9016. Reviewed by Jeremy Orlow.
  9017. Introduce setWillSendRequestClearHeader to LayoutTestController to selectively remove headers in willSendRequest. Used in http/tests/security/no-referrer.html
  9018. https://bugs.webkit.org/show_bug.cgi?id=35920
  9019. * DumpRenderTree/LayoutTestController.cpp:
  9020. (setWillSendRequestClearHeaderCallback):
  9021. (LayoutTestController::staticFunctions):
  9022. * DumpRenderTree/LayoutTestController.h:
  9023. (LayoutTestController::willSendRequestClearHeaders):
  9024. (LayoutTestController::setWillSendRequestClearHeader):
  9025. * DumpRenderTree/mac/ResourceLoadDelegate.mm:
  9026. (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
  9027. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  9028. (ResourceLoadDelegate::willSendRequest):
  9029. 2010-03-11 Fumitoshi Ukai <ukai@chromium.org>
  9030. Unreviewed.
  9031. Fix typo in websocket_server.py
  9032. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  9033. 2010-03-11 Garret Kelly <gdk@chromium.org>
  9034. Reviewed by Darin Adler.
  9035. Fixing minor typo in the commit queue status page.
  9036. https://bugs.webkit.org/show_bug.cgi?id=35979
  9037. * Scripts/webkitpy/commands/queues.py:
  9038. 2010-03-11 Fumitoshi Ukai <ukai@chromium.org>
  9039. Unreviewed.
  9040. Fix for WebSocket layout test runner on chromium/win port.
  9041. * Scripts/webkitpy/layout_tests/port/websocket_server.py: register_cygwin and set CYGWIN_PATH
  9042. 2010-03-11 Mark Rowe <mrowe@apple.com>
  9043. Reviewed by David Kilzer.
  9044. <rdar://problem/7745082> Make it possible to build WebKit for older Mac OS X versions from the current Mac OS X version
  9045. Default to using the appropriate SDK if the target Mac OS X version is not the current Mac OS X version.
  9046. * DumpRenderTree/mac/Configurations/Base.xcconfig:
  9047. 2010-03-11 Victor Wang <victorw@chromium.org>
  9048. Reviewed by dglazkov@chromium.org.
  9049. rebaseline_chromium_webkit_tests can generate new baselines for
  9050. all platforms so it needs to know two ports in order to work correctly:
  9051. the port that the script is running on and the port that it generates
  9052. new baselines for. Update rebaselining tool to handle both port correctly.
  9053. https://bugs.webkit.org/show_bug.cgi?id=36032
  9054. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  9055. 2010-03-11 Mark Rowe <mrowe@apple.com>
  9056. Reviewed by Tim Hatcher.
  9057. <rdar://problem/7745082> Make it possible to build WebKit for older Mac OS X versions from the current Mac OS X version
  9058. Introduce TARGET_MAC_OS_X_VERSION_MAJOR to represent the Mac OS X version that is being targeted. It defaults to the
  9059. current Mac OS X version unless otherwise specified.
  9060. Key off TARGET_MAC_OS_X_VERSION_MAJOR where we'd previously been keying off MAC_OS_X_VERSION_MAJOR.
  9061. Explicitly map from the target Mac OS X version to the preferred compiler since Xcode's default compiler choice
  9062. may not be usable when targetting a different Mac OS X version.
  9063. Key off TARGET_GCC_VERSION rather than MAC_OS_X_VERSION_MAJOR in locations where we'd previously been keying off
  9064. MAC_OS_X_VERSION_MAJOR but the decision is really related to the compiler version being used.
  9065. * DumpRenderTree/mac/Configurations/Base.xcconfig:
  9066. * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
  9067. * DumpRenderTree/mac/DumpRenderTree.mm: Wrap the include of mach-o/getsect.h in 'extern "C"' as some versions of the
  9068. header in older SDKs do not do this inside the header.
  9069. 2010-03-11 Alexey Proskuryakov <ap@apple.com>
  9070. Reviewed by Geoff Garen.
  9071. https://bugs.webkit.org/show_bug.cgi?id=35965
  9072. <rdar://problem/7742771> Crash when passing an object returned from plug-in back to the plug-in
  9073. Made rememberedObject a member of PluginObject. A plug-in must not use its references
  9074. to browser NPObjects after being destroyed, but this wasn't the case with static variable.
  9075. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  9076. (pluginInvoke):
  9077. (pluginInvalidate):
  9078. (pluginAllocate):
  9079. (pluginDeallocate):
  9080. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
  9081. 2010-03-11 Simon Fraser <simon.fraser@apple.com>
  9082. Reviewed by Oliver Hunt.
  9083. https://bugs.webkit.org/show_bug.cgi?id=35905
  9084. REGRESSION(55699?): media/video-no-autoplay.html times out on Leopard Commit Bot
  9085. Make sure we reset the WebGL preference, so that WebGL doesn't get left
  9086. on after being enabled via layoutTestController.overridePreference(),
  9087. which in turn causes accelerated compositing to be enabled on Leopard
  9088. when we don't want it to be.
  9089. * DumpRenderTree/mac/DumpRenderTree.mm:
  9090. (resetDefaultsToConsistentValues):
  9091. 2010-03-10 Dirk Pranke <dpranke@chromium.org>
  9092. Reviewed by Dimitri Glazkov.
  9093. rebaseline_chromium_webkit_tests doesn't handle other plaforms
  9094. correctly (e.g., if you run on the Mac platform and try to
  9095. rebaseline the WIN results, the result gets written into
  9096. platform/mac instead of platform/chromium-win). Also, this script
  9097. doesn't work on non-Chromium ports, so we need to fix that at some
  9098. point.
  9099. https://bugs.webkit.org/show_bug.cgi?id=35982
  9100. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  9101. 2010-03-10 Daniel Bates <dbates@rim.com>
  9102. Reviewed by Simon Hausmann.
  9103. https://bugs.webkit.org/show_bug.cgi?id=35840
  9104. Updates the subroutine builtDylibPathForName() so that it adds the "d" suffix to
  9105. the QtWebKit library name on Windows. This change makes run-launcher work again
  9106. under Windows. Moreover, this change corresponds to the change made in change-
  9107. set 53924 <http://trac.webkit.org/changeset/53924>.
  9108. * Scripts/webkitdirs.pm:
  9109. 2010-03-10 Adam Roben <aroben@apple.com>
  9110. Roll out the prepare-ChangeLog part of r55870
  9111. This change wasn't needed (prepare-ChangeLog calls svn-create-patch
  9112. when it's asked to print out diffs for the user) and was screwing up
  9113. its ability to find changed function names.
  9114. * Scripts/prepare-ChangeLog:
  9115. (diffCommand): Change the options we pass to svn-diff back to their
  9116. pre-r55870 form.
  9117. 2010-03-10 Robert Hogan <robert@webkit.org>
  9118. Reviewed by Simon Hausmann.
  9119. [Qt] Add Support for WebKitEnableCaretBrowsing to Qt DRT
  9120. Unskip test fast/events/multiline-link-arrow-navigation.html
  9121. https://bugs.webkit.org/show_bug.cgi?id=35593
  9122. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  9123. (WebCore::WebPage::resetSettings):
  9124. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  9125. (LayoutTestController::overridePreference):
  9126. (LayoutTestController::setCaretBrowsingEnabled):
  9127. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  9128. 2010-03-10 Robert Hogan <robert@webkit.org>
  9129. Reviewed by Holger Freyther.
  9130. QtLauncher: Fix typo in conditional statement in
  9131. WebViewGraphicsBased::setFrameRateMeasurementEnabled.
  9132. '=' should be '=='!
  9133. https://bugs.webkit.org/show_bug.cgi?id=35877
  9134. * QtLauncher/webview.cpp:
  9135. (WebViewGraphicsBased::setFrameRateMeasurementEnabled):
  9136. 2010-03-10 Chris Jerdonek <cjerdonek@webkit.org>
  9137. Reviewed by Shinichiro Hamaji.
  9138. Refactored and cleaned up the code for unit-testing logging.
  9139. https://bugs.webkit.org/show_bug.cgi?id=35845
  9140. * Scripts/webkitpy/init/logtesting.py:
  9141. - Added more information to the module docstring.
  9142. - Added an assertMessages() method to the UnitTestLogStream
  9143. class. This simplifies the calling code.
  9144. - Renamed the UnitTestLog class to LogTesting, and reformulated
  9145. it as follows:
  9146. - Moved the logging configuration code from the __init__
  9147. method to a new static setUp() method.
  9148. - Documented the __init__ method to be private.
  9149. - Improved the code so that the root logger does not have
  9150. its logging level changed. Instead we set the handler's
  9151. level. This makes the unit testing more unintrusive.
  9152. - Updated the assertMessages() method to call the
  9153. UnitTestLogStream class's assertMessages() method.
  9154. - More fully documented the class.
  9155. * Scripts/webkitpy/style/checker.py:
  9156. - Added a logger parameter to the configure_logging() method.
  9157. This allows us to prevent test messages from being sent
  9158. to the root logger during unit testing, which may be
  9159. rendering to the screen, etc.
  9160. - Simplified the code by removing the _LevelLoggingFilter class.
  9161. - Replaced the _LevelLoggingFilter class with a one-line lambda
  9162. expression in configure_logging().
  9163. * Scripts/webkitpy/style/checker_unittest.py:
  9164. - Changed relative imports to absolute to comply more with PEP8.
  9165. - In the ConfigureLoggingTest class:
  9166. - Changed the setUp() method to prevent test messages from
  9167. being propagated to the root logger.
  9168. - Changed the _log() method to a data attribute.
  9169. - Updated to accommodate changes to logtesting.py.
  9170. * Scripts/webkitpy/style_references.py:
  9171. - Updated an import statement.
  9172. 2010-03-10 Evan Martin <evan@chromium.org>
  9173. Reviewed by Darin Adler.
  9174. Python code for GDB 7 to support native printing of some WebCore types.
  9175. * gdb/webcore.py: Added.
  9176. 2010-03-10 Adam Roben <aroben@apple.com>
  9177. Make svn-create-patch and prepare-ChangeLog show better section
  9178. headings for ObjC files
  9179. This makes the text at the end of each "@@" line in a diff actually
  9180. show the ObjC method or interface that contains the change, rather
  9181. than whatever the most-recently-defined C function was.
  9182. Fixes <http://webkit.org/b/35970>.
  9183. Reviewed by John Sullivan.
  9184. * Scripts/svn-create-patch: Pass -F'^[-+@]' to diff so that it will
  9185. treat any lines starting with -, +, or @ as section heading lines.
  9186. This works well for ObjC files, and shouldn't affect other types of
  9187. files.
  9188. * Scripts/prepare-ChangeLog: Changed the options passed to diff to
  9189. match those used in svn-create-patch.
  9190. 2010-03-10 Simon Hausmann <simon.hausmann@nokia.com>
  9191. Reviewed by Tor Arne Vestbø.
  9192. Link QtLauncher against the WebKit library using a relative rpath.
  9193. This makes the launcher and the lib relocatable.
  9194. * QtLauncher/QtLauncher.pro:
  9195. 2010-03-10 Holger Hans Peter Freyther <zecke@selfish.org>
  9196. Rubber-stamped by Simon Hausmann.
  9197. [iExploder] Add new CSS Properties and HTML Attributes
  9198. The update-iexploder-cssproperties script was used to update
  9199. the various input files. The autobuffer HTML Attribute was removed
  9200. from WebKit and I manually added it back to the htmlattrs.in like
  9201. we have done it for other attributes in the past.
  9202. * iExploder/htdocs/cssproperties.in:
  9203. * iExploder/htdocs/htmlattrs.in:
  9204. * iExploder/htdocs/htmltags.in:
  9205. 2010-03-09 Fumitoshi Ukai <ukai@chromium.org>
  9206. Unreviewed.
  9207. Obvious fix for --cgi-paths of pywebsocket.
  9208. * Scripts/run-webkit-websocketserver:
  9209. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  9210. 2010-03-09 Jakub Wieczorek <jwieczorek@webkit.org>
  9211. Unreviewed.
  9212. Adding myself to committers.py.
  9213. * Scripts/webkitpy/committers.py:
  9214. 2010-03-09 Dirk Pranke <dpranke@chromium.org>
  9215. Reviewed by Nate Chapin.
  9216. Fix --clobber-old-results in new-run-webkit-tests.
  9217. https://bugs.webkit.org/show_bug.cgi?id=35778
  9218. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9219. 2010-03-09 Andy Estes <aestes@apple.com>
  9220. Reviewed by Adele Peterson.
  9221. Add the ability to dispatch scroll wheel events in DRT. This was
  9222. necessary in order to write a test for
  9223. https://bugs.webkit.org/show_bug.cgi?id=34700.
  9224. * DumpRenderTree/mac/EventSendingController.mm: Add support for two
  9225. new methods to EventSender: mouseScrollBy(x, y) and
  9226. continuousMouseScrollBy(x, y). The API to generate scroll events on
  9227. the mac was added in 10.5, so these methods are NOOPs on Tiger.
  9228. (+[EventSendingController isSelectorExcludedFromWebScript:]):
  9229. Regiester mouseScrollByX:andY: and continuousMouseScrollByX:andY:
  9230. (+[EventSendingController webScriptNameForSelector:]): Map JavaScript
  9231. method names to ObjC selectors.
  9232. (-[EventSendingController mouseScrollByX:andY:continuously:]): Generate
  9233. a scroll wheel event using CGEventCreateScrollWheelEvent() and dispatch
  9234. it to WebKit.
  9235. (-[EventSendingController continuousMouseScrollByX:andY:]): Generate a
  9236. continuous scrolling event by x and y pixels.
  9237. (-[EventSendingController mouseScrollByX:andY:]): Generate a notchy
  9238. scrolling event by x and y lines.
  9239. 2010-03-09 Chris Fleizach <cfleizach@apple.com>
  9240. DRT build fix for Tiger. No review.
  9241. AX: hit testing a list box doesn't work anymore
  9242. https://bugs.webkit.org/show_bug.cgi?id=35893
  9243. * DumpRenderTree/mac/AccessibilityControllerMac.mm:
  9244. (AccessibilityController::elementAtPoint):
  9245. 2010-03-09 Chris Fleizach <cfleizach@apple.com>
  9246. Reviewed by Darin Adler.
  9247. AX: hit testing a list box doesn't work anymore
  9248. https://bugs.webkit.org/show_bug.cgi?id=35893
  9249. * DumpRenderTree/AccessibilityController.cpp:
  9250. (getElementAtPointCallback):
  9251. (AccessibilityController::getJSClass):
  9252. * DumpRenderTree/AccessibilityController.h:
  9253. * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
  9254. (AccessibilityController::elementAtPoint):
  9255. * DumpRenderTree/mac/AccessibilityControllerMac.mm:
  9256. (AccessibilityController::elementAtPoint):
  9257. * DumpRenderTree/win/AccessibilityControllerWin.cpp:
  9258. (AccessibilityController::elementAtPoint):
  9259. 2010-03-03 Fumitoshi Ukai <ukai@chromium.org>
  9260. Reviewed by Alexey Proskuryakov.
  9261. pywebsocket should support html and cgi in the same directory.
  9262. https://bugs.webkit.org/show_bug.cgi?id=34879
  9263. Import pywebsocket 0.4.9.2
  9264. Specify --server-host 127.0.0.1, so that it only binds listening socket
  9265. to 127.0.0.1 to prevent access from non-localhost.
  9266. Change --cgi-paths from /websocket/tests/cookies to /websocket/tests,
  9267. because pywebsocket 0.4.9.2 supports html and cgi in the same directory
  9268. and only executable (httponly-cookies.pl) will be handled as cgi
  9269. script.
  9270. * Scripts/run-webkit-tests:
  9271. * Scripts/run-webkit-websocketserver:
  9272. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  9273. * Scripts/webkitpy/thirdparty/pywebsocket/README.webkit:
  9274. * Scripts/webkitpy/thirdparty/pywebsocket/example/echo_client.py:
  9275. * Scripts/webkitpy/thirdparty/pywebsocket/example/handler_map.txt: Added.
  9276. * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/standalone.py:
  9277. * Scripts/webkitpy/thirdparty/pywebsocket/mod_pywebsocket/util.py:
  9278. * Scripts/webkitpy/thirdparty/pywebsocket/setup.py:
  9279. * Scripts/webkitpy/thirdparty/pywebsocket/test/test_util.py:
  9280. * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/README: Added.
  9281. * Scripts/webkitpy/thirdparty/pywebsocket/test/testdata/hello.pl: Added.
  9282. 2010-03-09 Chris Jerdonek <cjerdonek@webkit.org>
  9283. Reviewed by Shinichiro Hamaji.
  9284. Simplified check-webkit-style's argument parsing code by removing
  9285. support for the vestigial "extra flag values" parameter.
  9286. https://bugs.webkit.org/show_bug.cgi?id=34677
  9287. The "extra flag values" parameter was needed before WebKit
  9288. forked check-webkit-style from Google. It was used to pass
  9289. through the option parser those command-line flags that WebKit
  9290. required but that Google's parser did not support (the --git-commit
  9291. flag in particular).
  9292. We can remove the parameter now because it is no longer
  9293. needed and unnecessarily clutters the argument-parsing code.
  9294. * Scripts/webkitpy/style/optparser.py:
  9295. - Removed the extra_flag_values parameter from the
  9296. CommandOptionValues class's constructor.
  9297. - Removed the extra_flags parameter from the ArgumentParser
  9298. class's parse() method.
  9299. * Scripts/webkitpy/style/optparser_unittest.py:
  9300. - Removed from the unit tests all references to the
  9301. extra_flag_values variable.
  9302. 2010-03-08 Kent Tamura <tkent@chromium.org>
  9303. Reviewed by Dimitri Glazkov.
  9304. [DRT/Chromium] Add EventSender
  9305. https://bugs.webkit.org/show_bug.cgi?id=35859
  9306. Add EventSender classes, which are going to be used by
  9307. DumpRenderTree Chromium port. These files are based on:
  9308. - src/webkit/tools/test_shell/event_sending_controller.cc
  9309. - src/webkit/tools/test_shell/event_sending_controller.h
  9310. of Chromium rev.40492.
  9311. * DumpRenderTree/chromium/EventSender.cpp: Added.
  9312. * DumpRenderTree/chromium/EventSender.h: Added.
  9313. 2010-03-08 Kent Tamura <tkent@chromium.org>
  9314. Reviewed by Dimitri Glazkov.
  9315. [DRT/Chromium] Add PlainTextController and TextInputController
  9316. https://bugs.webkit.org/show_bug.cgi?id=35852
  9317. Add PlainTextController and TextInputController classes, which are going
  9318. to be used by DumpRenderTree Chromium port. These files are based on:
  9319. - src/webkit/tools/test_shell/plain_text_controller.{cc,h} and
  9320. - src/webkit/tools/test_shell/text_input_controller.{cc,h}
  9321. of Chromium rev.40492.
  9322. * DumpRenderTree/chromium/PlainTextController.cpp: Added.
  9323. * DumpRenderTree/chromium/PlainTextController.h: Added.
  9324. * DumpRenderTree/chromium/TextInputController.cpp: Added.
  9325. * DumpRenderTree/chromium/TextInputController.h: Added.
  9326. 2010-03-08 Dumitru Daniliuc <dumi@chromium.org>
  9327. Unreviewed, Chromium build fix.
  9328. Reverting r55689.
  9329. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9330. 2010-03-08 Fumitoshi Ukai <ukai@chromium.org>
  9331. Reviewed by Adam Barth.
  9332. Fix webkit-patch post and land to work well with security bug
  9333. https://bugs.webkit.org/show_bug.cgi?id=35733
  9334. Bugzilla requires authentication to access security bug page,
  9335. so call authenticate() if it failed to fetch bug page.
  9336. * Scripts/webkitpy/bugzilla.py:
  9337. 2010-03-04 Dirk Pranke <dpranke@chromium.org>
  9338. Reviewed by Dimitry Glazkov.
  9339. Fix --clobber-old-results in new-run-webkit-tests.
  9340. https://bugs.webkit.org/show_bug.cgi?id=35778
  9341. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9342. 2010-03-08 Brady Eidson <beidson@apple.com>
  9343. Reviewed by NOBODY (but suggested by Steve Falkenburg and fixing a boneheaded mistake on my part last week)
  9344. Followup to https://bugs.webkit.org/show_bug.cgi?id=35532
  9345. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  9346. (LayoutTestController::apiTestGoToCurrentBackForwardItem): Can't pass in a null BOOL to WebKit APIs.
  9347. 2010-03-08 Chris Jerdonek <cjerdonek@webkit.org>
  9348. Unreviewed.
  9349. Fixed incorrect import statement in validate-committer-lists:
  9350. webkitpy.BeautifulSoup -> webkitpy.thirdparty.BeautifulSoup.
  9351. * Scripts/validate-committer-lists:
  9352. 2010-03-08 Jian Li <jianli@chromium.org>
  9353. Reviewed by Dmitry Titov.
  9354. Blob.slice support.
  9355. https://bugs.webkit.org/show_bug.cgi?id=32993
  9356. Add ENABLE_BLOB_SLICE feature define and flag for build-webkit. It is
  9357. currently only turned on for Mac.
  9358. * Scripts/build-webkit:
  9359. 2010-03-08 Gustavo Noronha Silva <gns@gnome.org>
  9360. No review, rolling out r55662.
  9361. http://trac.webkit.org/changeset/55662
  9362. https://bugs.webkit.org/show_bug.cgi?id=35863
  9363. Need to be coordinated with bots setup
  9364. * Scripts/run-webkit-tests:
  9365. 2010-03-08 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  9366. Reviewed by Holger Freyther.
  9367. [GTK] Tests fail when running with ipv6 addresses available, on Debian systems
  9368. https://bugs.webkit.org/show_bug.cgi?id=35863
  9369. If running on a Debian-based system, also listen on the ipv6 address.
  9370. * Scripts/run-webkit-tests:
  9371. 2010-03-08 Holger Hans Peter Freyther <zecke@selfish.org>
  9372. Reviewed by Darin Adler.
  9373. [iexploder] Automatically update htmltags.in and htmlattrs.in too
  9374. https://bugs.webkit.org/show_bug.cgi?id=33755
  9375. Change the update-iexploder-cssproperites script to update
  9376. the htmlattrs.in and htmltags.in of WebKitTools/iExploder/htdocs
  9377. automatically as well.
  9378. Change the reading and writing code to work with parameters
  9379. and extend the method that is parsing the .in files to handle
  9380. the HTMLTagNames.in and the HTMLAttributeNames.in files.
  9381. Remove custom code to determine the revision of files with a
  9382. utility of VCUtils.pm to determine the revision of the directory
  9383. these files are located in. This will also work with git checkout.
  9384. * Scripts/update-iexploder-cssproperties:
  9385. 2010-03-07 Shinichiro Hamaji <hamaji@chromium.org>
  9386. Reviewed by Eric Seidel.
  9387. check-webkit-style: false positive for empty loop
  9388. https://bugs.webkit.org/show_bug.cgi?id=35717
  9389. * Scripts/webkitpy/style/processors/cpp.py:
  9390. * Scripts/webkitpy/style/processors/cpp_unittest.py:
  9391. 2010-03-07 Kent Tamura <tkent@chromium.org>
  9392. Reviewed by Dimitri Glazkov.
  9393. [DRT/Chromium] Add AccessibilityController and AccessibilityUIElement
  9394. https://bugs.webkit.org/show_bug.cgi?id=35774
  9395. Add AccessibilityController and AccessibilityUIElement classes,
  9396. which are going to be used by DumpRenderTree Chromium port. These
  9397. files are based on:
  9398. - src/webkit/tools/test_shell/accessibility_controller.{cc,h} and
  9399. - src/webkit/tools/test_shell/accessibility_ui_element.{cc,h}
  9400. of Chromium rev.40492.
  9401. * DumpRenderTree/chromium/AccessibilityController.cpp: Added.
  9402. * DumpRenderTree/chromium/AccessibilityController.h: Added.
  9403. * DumpRenderTree/chromium/AccessibilityUIElement.cpp: Added.
  9404. * DumpRenderTree/chromium/AccessibilityUIElement.h: Added.
  9405. 2010-03-06 Hironori Bono <hbono@chromium.org>
  9406. Reviewed by Eric Seidel.
  9407. [Chromium] Typing into Flash with wmode = opaque|transparent and
  9408. non-latin language active outputs as if US keyboard layout active
  9409. https://bugs.webkit.org/show_bug.cgi?id=34936
  9410. To test keyboard events on the test plugin, this change implements
  9411. NPCocoaEventKeyDown and NPCocoaEventKeyUp handlers so the plugin
  9412. can write log messages.
  9413. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  9414. (handleEventCocoa): Implemented the event handlers for NPCocoaKeyDown
  9415. and NPCocoaEventKeyUp.
  9416. 2010-03-05 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  9417. Reviewed by Eric Seidel.
  9418. Fix Print option on QtLauncher by calling print directly from QWebFrame.
  9419. [Qt] QtLauncher Print option is not working on QGraphicsView mode
  9420. https://bugs.webkit.org/show_bug.cgi?id=35769
  9421. * QtLauncher/main.cpp:
  9422. (LauncherWindow::print):
  9423. 2010-03-05 Chris Jerdonek <cjerdonek@webkit.org>
  9424. Reviewed by Eric Seidel.
  9425. Changed the logging code for new-run-webkit-tests to use
  9426. module-specific loggers rather than the root logger. This is
  9427. a standard practice that allows logging specific to a package
  9428. to be configured independently of other modules.
  9429. https://bugs.webkit.org/show_bug.cgi?id=35194
  9430. Added a line of the form "_log = logging.getLogger(<module>)"
  9431. to each module below, where <module> is the fully-qualified
  9432. name of the module, and updated the log lines to use the new
  9433. _log logger.
  9434. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  9435. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  9436. * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py:
  9437. * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
  9438. * Scripts/webkitpy/layout_tests/port/chromium.py:
  9439. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  9440. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  9441. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  9442. * Scripts/webkitpy/layout_tests/port/http_server.py:
  9443. * Scripts/webkitpy/layout_tests/port/http_server_base.py:
  9444. * Scripts/webkitpy/layout_tests/port/mac.py:
  9445. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  9446. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  9447. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9448. * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py:
  9449. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  9450. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  9451. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  9452. 2010-03-05 Dirk Pranke <dpranke@chromium.org>
  9453. Reviewed by Eric Siedel.
  9454. Split the command-line invocation of the Chromium/python LigHTTPd
  9455. server implementation out into its own top level script to make it
  9456. a more "public" interface and to resolve some awkward layering
  9457. issues. This script will be called directly by other test scripts in
  9458. the Chromium tree.
  9459. At some point this script should be made to work with Apache-based
  9460. implementations and on other ports. I have filed
  9461. https://bugs.webkit.org/show_bug.cgi?id=35820 for this.
  9462. Also fix a bug in port/factory where options.chromium could be
  9463. dereferenced even if it wasn't set, raising an exception.
  9464. https://bugs.webkit.org/show_bug.cgi?id=35812
  9465. * Scripts/webkitpy/layout_tests/port/factory.py:
  9466. * Scripts/webkitpy/layout_tests/port/http_server.py:
  9467. * Scripts/new-run-webkit-httpd: Added
  9468. 2010-03-02 Antonio Gomes <tonikitoo@webkit.org>
  9469. Reviewed by Holger Freyther
  9470. Patch by Antonio Gomes <tonikitoo@webkit.org>
  9471. [Gtk] Implement setSpatialNavigationEnabled in DRT.
  9472. https://bugs.webkit.org/show_bug.cgi?id=35705
  9473. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  9474. (resetDefaultsToConsistentValues):
  9475. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  9476. (LayoutTestController::setSpatialNavigationEnabled):
  9477. 2010-02-23 Antonio Gomes <tonikitoo@webkit.org>
  9478. Reviewed by Kenneth Christiansen.
  9479. Patch by Antonio Gomes <tonikitoo@webkit.org>
  9480. Add toggle on/off stub methods for Spatial Navigation in win, gtk and mac LayoutTestController class implementations.
  9481. https://bugs.webkit.org/show_bug.cgi?id=35699
  9482. * DumpRenderTree/LayoutTestController.cpp:
  9483. (setSpatialNavigationEnabledCallback):
  9484. (LayoutTestController::staticFunctions):
  9485. * DumpRenderTree/LayoutTestController.h:
  9486. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  9487. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  9488. (LayoutTestController::setSpatialNavigationEnabled):
  9489. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  9490. (LayoutTestController::setSpatialNavigationEnabled):
  9491. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  9492. (LayoutTestController::setSpatialNavigationEnabled):
  9493. 2010-02-18 Antonio Gomes <tonikitoo@webkit.org>
  9494. Reviewed by Kenneth Christiansen.
  9495. Patch by Antonio Gomes <tonikitoo@webkit.org>
  9496. Add toggle on/off mechanism for Spatial Navigation in QtLauncher.
  9497. * QtLauncher/main.cpp:
  9498. (LauncherWindow::toggleSpatialNavigation):
  9499. (LauncherWindow::setupUI):
  9500. 2010-03-02 Antonio Gomes <tonikitoo@webkit.org>
  9501. Reviewed by Simon Hausmann.
  9502. Patch by Antonio Gomes <tonikitoo@webkit.org>
  9503. [Qt] Add setSpatialNavigationEnabled method DRT
  9504. https://bugs.webkit.org/show_bug.cgi?id=33715
  9505. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  9506. (WebCore::WebPage::WebPage):
  9507. (WebCore::WebPage::resetSettings):
  9508. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  9509. (LayoutTestController::setSpatialNavigationEnabled):
  9510. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  9511. Unskipped fast/events/spatialnavigation/
  9512. 2010-03-04 Mark Rowe <mrowe@apple.com>
  9513. Rubber-stamped by Alice Liu.
  9514. Find the framework relative to TARGET_BUILD_DIR as that has a more obvious value during production builds.
  9515. * Scripts/check-for-webkit-framework-include-consistency:
  9516. 2010-03-04 Kent Tamura <tkent@chromium.org>
  9517. Reviewed by Dimitri Glazkov.
  9518. [DRT/Chromium] Add CppVariant and CppBoundClass
  9519. https://bugs.webkit.org/show_bug.cgi?id=35634
  9520. Add CppVariant and CppBoundClass classes, which are going to be
  9521. used by DumpRenderTree Chromium port. These files are based on:
  9522. - src/webkit/glue/cpp_variant.{cc,h} and
  9523. - src/webkit/glue/cpp_bound_class.{cc,h}
  9524. of Chromium rev.40492.
  9525. * DumpRenderTree/chromium/CppBoundClass.cpp: Added.
  9526. * DumpRenderTree/chromium/CppBoundClass.h: Added.
  9527. * DumpRenderTree/chromium/CppVariant.cpp: Added.
  9528. * DumpRenderTree/chromium/CppVariant.h: Added.
  9529. 2010-03-04 Mark Rowe <mrowe@apple.com>
  9530. Build fix for older versions of Ruby.
  9531. * Scripts/check-for-webkit-framework-include-consistency:
  9532. 2010-03-04 Mark Rowe <mrowe@apple.com>
  9533. Reviewed by Sam Weinig.
  9534. Add a script to verify that WebKit framework headers are internally consistent.
  9535. This script detects the following problematic situations:
  9536. * An exported WebKit header that includes a header from WebCore.
  9537. * An exported WebKit header that includes a header that does not exist in the WebKit framework.
  9538. * A public WebKit header that includes a private WebKit header.
  9539. * Scripts/check-for-webkit-framework-include-consistency: Added.
  9540. 2010-03-04 Dumitru Daniliuc <dumi@chromium.org>
  9541. Reviewed by Adam Roben.
  9542. Making sure that the correct path is set before invoking
  9543. DumpRenderTree on cygwin.
  9544. https://bugs.webkit.org/show_bug.cgi?id=35768
  9545. * Scripts/run-webkit-tests:
  9546. 2010-03-04 Simon Fraser <simon.fraser@apple.com>
  9547. Revert the exceptions I just added, and make the error clearer.
  9548. * Scripts/check-for-global-initializers:
  9549. 2010-03-04 Simon Fraser <simon.fraser@apple.com>
  9550. Build fix: add exceptions to the check-for-global-initializers script
  9551. for FocusController and SpatialNavigation, and improve the script
  9552. to actually print out the globals found.
  9553. * Scripts/check-for-global-initializers:
  9554. 2010-03-04 Dirk Pranke <dpranke@chromium.org>
  9555. Reviewed by Dimitri Glazkov.
  9556. Fix dangling reference to "port" instead of "self._port_obj" that
  9557. was preventing the http_server from starting on Windows.
  9558. * Scripts/webkitpy/layout_tests/port/http_server.py:
  9559. 2010-03-04 Diego Gonzalez <diego.gonzalez@openbossa.org>
  9560. Reviewed by Simon Hausmann.
  9561. Make Qt DumpRenderTree EventSender able to send double click events
  9562. LayoutTests:
  9563. fast/events/dblclick-addEventListener.html
  9564. [Qt] DRT: Send double click event from EventSender
  9565. https://bugs.webkit.org/show_bug.cgi?id=35255
  9566. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  9567. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  9568. * DumpRenderTree/qt/EventSenderQt.cpp:
  9569. (EventSender::EventSender):
  9570. (EventSender::mouseDown):
  9571. * DumpRenderTree/qt/EventSenderQt.h:
  9572. (EventSender::resetClickCount):
  9573. 2010-03-04 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  9574. Reviewed by Tor Arne Vestbø.
  9575. [Qt] Make the OUTPUT_DIR variable in qmake projects independent of build-webkit's logic.
  9576. This also allows shadow builds relying only on qmake to work properly.
  9577. * DumpRenderTree/qt/DumpRenderTree.pro:
  9578. * DumpRenderTree/qt/ImageDiff.pro:
  9579. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  9580. * QtLauncher/QtLauncher.pro:
  9581. 2010-03-04 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  9582. Reviewed by Kenneth Rohde Christiansen.
  9583. Enable to use built-product-archive on Qt platform.
  9584. * BuildSlaveSupport/built-product-archive:
  9585. 2010-03-03 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  9586. Reviewed by Simon Hausmann.
  9587. Add a missing 'm_' to class variables names.
  9588. [Qt] QtLauncher is not respecting class variable names
  9589. https://bugs.webkit.org/show_bug.cgi?id=35542
  9590. * QtLauncher/main.cpp:
  9591. (LauncherWindow::LauncherWindow):
  9592. (LauncherWindow::init):
  9593. (LauncherWindow::sendTouchEvent):
  9594. (LauncherWindow::eventFilter):
  9595. (LauncherWindow::zoomIn):
  9596. (LauncherWindow::zoomOut):
  9597. (LauncherWindow::resetZoom):
  9598. (LauncherWindow::setEditable):
  9599. (LauncherWindow::setTouchMocking):
  9600. (LauncherWindow::initializeView):
  9601. (LauncherWindow::createChrome):
  9602. 2010-03-03 Alexey Proskuryakov <ap@apple.com>
  9603. Rubber-stamped by Mark Rowe.
  9604. Exclude leaks in Java that build bot complains about.
  9605. * Scripts/run-webkit-tests:
  9606. 2010-03-03 Chris Marrin <cmarrin@apple.com>
  9607. Reviewed by Simon Fraser.
  9608. Additional change to separate Accelerated Compositing test from 3D Rendering test
  9609. https://bugs.webkit.org/show_bug.cgi?id=35610
  9610. I am now using #if ENABLED(3D_RENDERING) to emit the 3DRendering string from
  9611. DRT or not. This allows these flags to set independently. I also improved
  9612. the code flow in run-webkit-tests a bit.
  9613. * DumpRenderTree/win/DumpRenderTree.cpp:
  9614. (main):
  9615. * Scripts/run-webkit-tests:
  9616. 2010-03-03 Chris Marrin <cmarrin@apple.com>
  9617. Reviewed by Simon Fraser.
  9618. Added ability to print supported features to console to DRT
  9619. https://bugs.webkit.org/show_bug.cgi?id=35610
  9620. This currently only prints whether or not Accelerated Compositing
  9621. and 3D Rendering are supported, which is the only way to tell if you
  9622. can run the compositing LayoutTests on Windows. But it can be expanded
  9623. to give more information as needed. Currently it prints that both
  9624. AcceleratedCompositing and 3DRendering are available if accelerated compositing
  9625. is enabled since both have to be turned on together. This allows me to maintain
  9626. separate checks for them.
  9627. * DumpRenderTree/win/DumpRenderTree.cpp:Added --print-supported-features flag
  9628. (main):
  9629. * Scripts/run-webkit-tests:Runs DRT and enabled compositing tests if HW comp is available on Windows
  9630. 2010-03-03 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  9631. Reviewed by Simon Hausmann.
  9632. Refactor QtLauncher so it respects command line arguments
  9633. and inherits settings when you clone or create a new window.
  9634. Implemented with help of Kenneth Rohde Christiansen.
  9635. [Qt] QtLauncher must be refactored to fix command line arguments usage
  9636. https://bugs.webkit.org/show_bug.cgi?id=35536
  9637. * QtLauncher/main.cpp:
  9638. (LauncherWindow::LauncherWindow):
  9639. (LauncherWindow::init):
  9640. (LauncherWindow::isGraphicsBased):
  9641. (applySetting):
  9642. (LauncherWindow::applyPrefs):
  9643. (LauncherWindow::initializeView):
  9644. (LauncherWindow::newWindow):
  9645. (LauncherWindow::cloneWindow):
  9646. (LauncherWindow::createChrome):
  9647. (main):
  9648. * QtLauncher/webview.cpp:
  9649. (WebViewGraphicsBased::WebViewGraphicsBased):
  9650. (WebViewGraphicsBased::setFrameRateMeasurementEnabled):
  9651. * QtLauncher/webview.h:
  9652. (WebViewGraphicsBased::itemCacheMode):
  9653. (WebViewGraphicsBased::frameRateMeasurementEnabled):
  9654. 2010-03-02 Arno Renevier <arno@renevier.net>
  9655. Reviewed by Gustavo Noronha Silva.
  9656. [Gtk] implements ChromeClient::requestGeolocationPermissionForFrame
  9657. https://bugs.webkit.org/show_bug.cgi?id=35210
  9658. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  9659. (geolocationPolicyDecisionRequested):
  9660. (createWebView):
  9661. 2010-03-02 Dirk Pranke <dpranke@chromium.org>
  9662. Reviewed by David Levin.
  9663. Revert r55339 - the Chromium codebase downstream had a temporary
  9664. need for WebKitTools/pywebsocket to still exist after Chris Jerdonek
  9665. had moved it (scripts still referenced the old location). Those
  9666. scripts have been updated to the new location, so it should be safe
  9667. to delete this now.
  9668. https://bugs.webkit.org/show_bug.cgi?id=35614
  9669. * pywebsocket/mod_pywebsocket/standalone.py: Removed.
  9670. 2010-03-02 Dirk Pranke <dpranke@chromium.org>
  9671. Reviewed by Dimitri Glazkov.
  9672. new-run-webkit-tests on chromium-linux tests to see if
  9673. layout_test_helper exists, but we don't use layout_test_helper on
  9674. linux. The test derefences a None object, and we crash. This fixes
  9675. that.
  9676. https://bugs.webkit.org/show_bug.cgi?id=35602
  9677. * Scripts/webkitpy/layout_tests/port/chromium.py:
  9678. 2010-03-02 Dirk Pranke <dpranke@chromium.org>
  9679. Reviewed by Dimitri Glazkov.
  9680. r55388 (bug 35553) worked around a bug in Python's subprocess.Popen()
  9681. that was causing DRT to hang on exit in new-run-webkit-tests.
  9682. Unfortunately, that workaround doesn't work on chromium-win
  9683. (and the script fails completely). The good news is that the check
  9684. isn't actually necessary, and so this change makes it conditional.
  9685. https://bugs.webkit.org/show_bug.cgi?id=35601
  9686. * Scripts/webkitpy/layout_tests/port/chromium.py:
  9687. 2010-03-02 Mark Rowe <mrowe@apple.com>
  9688. Reviewed by Darin Adler.
  9689. Bug 35576: WebKit should tell plug-in instances when private browsing state changes
  9690. <http://webkit.org/b/35576>
  9691. TestNetscapePlugin is another bit of plug-in code where copy-paste was heavily used
  9692. when porting. Update the Windows and UNIX implementations of NPP_New and NPP_SetValue
  9693. to provide the expected behavior related to NPNVprivateModeBool. Hopefully this code
  9694. duplication can be cleaned up in the future.
  9695. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  9696. (webkit_test_plugin_new_instance):
  9697. (webkit_test_plugin_set_value):
  9698. * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
  9699. (NPP_New):
  9700. (NPP_SetValue):
  9701. 2010-03-02 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  9702. Reviewed by Alexey Proskuryakov.
  9703. Test plugin still has issues with releasing objects, and variants
  9704. https://bugs.webkit.org/show_bug.cgi?id=35587
  9705. Fix the conditions for releasing the variants after calling
  9706. invoke, and avoid having a number of objects leak.
  9707. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  9708. (testDocumentOpen):
  9709. (testWindowOpen):
  9710. 2010-03-02 Chris Jerdonek <cjerdonek@webkit.org>
  9711. Reviewed by Shinichiro Hamaji.
  9712. Refactored the StyleChecker class's file-processing method
  9713. _process_file(). This will make it easier to add new
  9714. file-processing capabilities to check-webkit-style.
  9715. https://bugs.webkit.org/show_bug.cgi?id=35490
  9716. * Scripts/webkitpy/style/checker.py:
  9717. - Added a _read_lines() method to the StyleChecker class
  9718. that extracts the lines from a file.
  9719. - Replaced part of _process_file() with a call to the new
  9720. _read_lines() method.
  9721. - Replaced another part of _process_file() with a call
  9722. to the new CarriageReturnProcessor.process() method.
  9723. * Scripts/webkitpy/style/processors/common.py:
  9724. - Replaced the check_no_carriage_return() function with a
  9725. new CarriageReturnProcessor class.
  9726. * Scripts/webkitpy/style/processors/common_unittest.py:
  9727. - Renamed the CarriageReturnTest class to
  9728. CarriageReturnProcessorTest and updated it as necessary.
  9729. 2010-03-02 Chris Jerdonek <cjerdonek@webkit.org>
  9730. Reviewed by Shinichiro Hamaji.
  9731. Started using the logging module in check-webkit-style.
  9732. This provides more options for debugging and a more flexible,
  9733. uniform way to report messages to the end-user.
  9734. https://bugs.webkit.org/show_bug.cgi?id=35484
  9735. Also included classes in a central location to facilitate
  9736. the unit testing of logging code (setUp and tearDown of unit
  9737. test logging configurations, etc).
  9738. * Scripts/check-webkit-style:
  9739. - Added a call to configure_logging() in the beginning of main().
  9740. - Replaced two calls to sys.stderr.write() with appropriate
  9741. logging calls.
  9742. * Scripts/webkitpy/init/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py.
  9743. * Scripts/webkitpy/init/logtesting.py: Added.
  9744. - Added a UnitTestLogStream class to capture log output
  9745. during unit tests.
  9746. - Added a UnitTestLog class that provides convenience methods
  9747. for unit-testing logging code.
  9748. * Scripts/webkitpy/style/checker.py:
  9749. - Added a configure_logging() method.
  9750. - Added a _LevelLoggingFilter class to filter out log messages
  9751. above a certain logging level.
  9752. - Removed the _stderr_write() method from the StyleChecker class
  9753. and replaced its use with appropriate logging calls.
  9754. * Scripts/webkitpy/style/checker_unittest.py:
  9755. - Added a ConfigureLoggingTest class to unit test the
  9756. configure_logging() method.
  9757. - Updated the StyleCheckerCheckFileTest class as necessary.
  9758. * Scripts/webkitpy/style_references.py:
  9759. - Added references to logtesting.UnitTestLog and
  9760. logtesting.UnitTestLogStream.
  9761. 2010-03-01 Chris Fleizach <cfleizach@apple.com>
  9762. Fixing broken DRT on Leopard/Tiger. Second try.
  9763. AX: changes to WAI-ARIA grid aren't perceived correctly by VoiceOver
  9764. https://bugs.webkit.org/show_bug.cgi?id=35514
  9765. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  9766. 2010-03-01 Chris Fleizach <cfleizach@apple.com>
  9767. Fixing broken DRT on Leopard/Tiger.
  9768. AX: changes to WAI-ARIA grid aren't perceived correctly by VoiceOver
  9769. https://bugs.webkit.org/show_bug.cgi?id=35514
  9770. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  9771. 2010-03-01 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  9772. Reviewed by Eric Seidel.
  9773. [GTK] plugins/setProperty.html fails on 64bit Release
  9774. https://bugs.webkit.org/show_bug.cgi?id=35425
  9775. Check invoke's return code before releasing the variant, since
  9776. there's a chance it won't be properly initialized, leading to
  9777. memory corruption, in some cases.
  9778. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  9779. (testCallback):
  9780. (testEnumerate):
  9781. (testDocumentOpen):
  9782. (testWindowOpen):
  9783. (handleCallback):
  9784. 2010-03-01 Dirk Pranke <dpranke@chromium.org>
  9785. Reviewed by nobody. Build bustage :(
  9786. Fix stupid typo that I committed even after David Levin pointed
  9787. it out to me :(
  9788. https://bugs.webkit.org/show_bug.cgi?id=35553
  9789. * Scripts/webkitpy/layout_tests/port/mac.py:
  9790. 2010-03-01 Chris Fleizach <cfleizach@apple.com>
  9791. Reviewed by Darin Adler.
  9792. AX: changes to WAI-ARIA grid aren't perceived correctly by VoiceOver
  9793. https://bugs.webkit.org/show_bug.cgi?id=35514
  9794. Add rowCount, columnCount for tables.
  9795. * DumpRenderTree/AccessibilityUIElement.cpp:
  9796. (rowCountCallback):
  9797. (columnCountCallback):
  9798. (AccessibilityUIElement::getJSClass):
  9799. * DumpRenderTree/AccessibilityUIElement.h:
  9800. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  9801. (AccessibilityUIElement::rowCount):
  9802. (AccessibilityUIElement::columnCount):
  9803. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  9804. (AccessibilityUIElement::rowCount):
  9805. (AccessibilityUIElement::columnCount):
  9806. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  9807. (AccessibilityUIElement::rowCount):
  9808. (AccessibilityUIElement::columnCount):
  9809. 2010-03-01 Dirk Pranke <dpranke@chromium.org>
  9810. Reviewed by Eric Seidel.
  9811. Work around a bug in Python's subprocess.Popen() that keeps us from
  9812. cleaning up DumpRenderTree / test_shell properly when we finish the
  9813. tests in new-run-webkit-tests.
  9814. https://bugs.webkit.org/show_bug.cgi?id=35553
  9815. * Scripts/webkitpy/layout_tests/port/chromium.py:
  9816. * Scripts/webkitpy/layout_tests/port/mac.py:
  9817. 2010-03-01 Arno Renevier <arno@renevier.net>
  9818. Reviewed by Xan Lopez.
  9819. webkit-build could pass unknown arguments to autogen.sh
  9820. https://bugs.webkit.org/show_bug.cgi?id=35454
  9821. * Scripts/build-webkit:
  9822. 2010-03-01 Dirk Pranke <dpranke@chromium.org>
  9823. Rubber-stamped by Dimitri Glazkov.
  9824. Fix breakage from r55372.
  9825. https://bugs.webkit.org/show_bug.cgi?id=35549
  9826. * Scripts/webkitpy/layout_tests/port/chromium.py:
  9827. 2010-03-01 Adam Barth <abarth@webkit.org>
  9828. Reviewed by Eric Seidel.
  9829. EWS can hang for five hours when compile output is too big
  9830. https://bugs.webkit.org/show_bug.cgi?id=35545
  9831. * Scripts/webkitpy/commands/queues.py: Limit uploads to 1MB instead of
  9832. 5MB. AppEngine seems to not like 5MB uploads. I'm not sure what the
  9833. limit is. Let's try 1MB for a while and see how it goes.
  9834. * Scripts/webkitpy/networktransaction.py: Tune the default parameters
  9835. to our exponential backoff. I'm not sure why I picked five hours as
  9836. the retry limit. That seems way too large.
  9837. 2010-03-01 Brady Eidson <beidson@apple.com>
  9838. Reviewed by Sam Weinig.
  9839. REGRESSION: Telling a WebView to go to its current WebHistoryItem is broken.
  9840. <rdar://problem/7699371> and https://bugs.webkit.org/show_bug.cgi?id=35532
  9841. * DumpRenderTree/LayoutTestController.cpp:
  9842. (apiTestGoToCurrentBackForwardItemCallback):
  9843. (LayoutTestController::staticFunctions):
  9844. * DumpRenderTree/LayoutTestController.h:
  9845. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  9846. (LayoutTestController::apiTestGoToCurrentBackForwardItem):
  9847. Stubs for now:
  9848. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  9849. (LayoutTestController::apiTestGoToCurrentBackForwardItem):
  9850. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  9851. (LayoutTestController::apiTestGoToCurrentBackForwardItem):
  9852. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  9853. (LayoutTestController::apiTestGoToCurrentBackForwardItem):
  9854. 2010-03-01 Dirk Pranke <dpranke@chromium.org>
  9855. Reviewed by David Levin.
  9856. General cleanup of error handling in new-run-webkit-tests.
  9857. Add Port.check_build() call that is separate from Port.check_sys_deps()
  9858. (and add a --nocheck-build flag to skip). This breaks a circular
  9859. dependency where you would start the layout test helper before
  9860. checking sys deps, but checking sys deps was the thing that told
  9861. you if your binaries where there.
  9862. Also, made Port.check_sys_deps(), start_helper() and stop_helper()
  9863. optional by providing default implementations in the base class
  9864. rather than requiring ports to implement the routines regardless
  9865. of whether or not they were needed.
  9866. Lastly, tweak a bunch of log messages to be cleaner, including
  9867. changing messages in thirdparty/autoinstall.py to be silent at
  9868. the default log level.
  9869. http://bugs.webkit.org/show_bug.cgi?id=35416
  9870. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  9871. * Scripts/webkitpy/layout_tests/port/base.py:
  9872. * Scripts/webkitpy/layout_tests/port/chromium.py:
  9873. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  9874. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  9875. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  9876. * Scripts/webkitpy/layout_tests/port/mac.py:
  9877. * Scripts/webkitpy/layout_tests/port/passing.py:
  9878. * Scripts/webkitpy/layout_tests/port/test.py:
  9879. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9880. * Scripts/webkitpy/thirdparty/autoinstall.py
  9881. 2010-03-01 Dirk Pranke <dpranke@chromium.org>
  9882. Reviewed by David Levin.
  9883. new-chromium-webkit-tests --platform=mac-leopard diffs are backwards
  9884. https://bugs.webkit.org/show_bug.cgi?id=35265
  9885. Some parts of the code passed arguments as
  9886. "actual, expected" and some passed as "expected, actual".
  9887. As you might imagine, this lead to great confusion and wrongness.
  9888. Standardize on "expected, actual" as that's the order which is
  9889. passed to the underlying diff tool.
  9890. Based on a patch by Eric Siedel <eric@webkit.org>.
  9891. * Scripts/webkitpy/layout_tests/port/base.py:
  9892. * Scripts/webkitpy/layout_tests/port/chromium.py:
  9893. * Scripts/webkitpy/layout_tests/port/test.py:
  9894. * Scripts/webkitpy/layout_tests/test_types/image_diff.py
  9895. 2010-03-01 Chris Jerdonek <cjerdonek@webkit.org>
  9896. Unreviewed.
  9897. Rolling out: http://trac.webkit.org/changeset/55348
  9898. https://bugs.webkit.org/show_bug.cgi?id=35163
  9899. Rolling out since the changes to autoinstall do not work
  9900. with Python 2.4. In particular, ZipFile.extractall() was
  9901. added in Python 2.6.
  9902. * Scripts/webkitpy/__init__.py:
  9903. * Scripts/webkitpy/bugzilla.py:
  9904. * Scripts/webkitpy/init/__init__.py: Removed.
  9905. * Scripts/webkitpy/init/autoinstall.py: Removed.
  9906. * Scripts/webkitpy/networktransaction.py:
  9907. * Scripts/webkitpy/networktransaction_unittest.py:
  9908. * Scripts/webkitpy/statusserver.py:
  9909. * Scripts/webkitpy/thirdparty/autoinstall.py: Added.
  9910. 2010-03-01 Chris Jerdonek <cjerdonek@webkit.org>
  9911. Unreviewed.
  9912. Rolling out r55350: http://trac.webkit.org/changeset/55350
  9913. https://bugs.webkit.org/show_bug.cgi?id=33639
  9914. Need to roll out because this patch (pep8) depends on the newly
  9915. rewritten autoinstall.py (r55348), which is breaking for people
  9916. with Python 2.4:
  9917. https://bugs.webkit.org/show_bug.cgi?id=35163#c21
  9918. That revision also needs to be rolled out and will be rolled out next.
  9919. * Scripts/webkitpy/style/checker.py:
  9920. * Scripts/webkitpy/style/checker_unittest.py:
  9921. * Scripts/webkitpy/style/processors/python.py: Removed.
  9922. * Scripts/webkitpy/style/processors/python_unittest.py: Removed.
  9923. * Scripts/webkitpy/style/processors/python_unittest_input.py: Removed.
  9924. * Scripts/webkitpy/style/unittests.py:
  9925. * Scripts/webkitpy/style_references.py:
  9926. 2010-02-28 Chris Jerdonek <cjerdonek@webkit.org>
  9927. Reviewed by Shinichiro Hamaji.
  9928. Exempted WebKitTools/Scripts/webkitpy/thirdparty from all
  9929. style checks except for the whitespace/carriage_return check
  9930. and the pep8 tab and trailing white space checks.
  9931. https://bugs.webkit.org/show_bug.cgi?id=35497
  9932. * Scripts/webkitpy/style/checker.py:
  9933. - Adjusted the _PATH_RULES_SPECIFIER configuration as necessary.
  9934. - Added enough pep8 categories to _all_categories() for the
  9935. unit tests to pass.
  9936. * Scripts/webkitpy/style/checker_unittest.py:
  9937. - Updated the test_path_rules_specifier() unit test.
  9938. 2010-02-27 Chris Jerdonek <cjerdonek@webkit.org>
  9939. Reviewed by David Levin.
  9940. Added Python style checking to check-webkit-style using
  9941. the third-party pep8 module (via autoinstall).
  9942. https://bugs.webkit.org/show_bug.cgi?id=33639
  9943. * Scripts/webkitpy/style/checker.py:
  9944. - Added PYTHON to FileType.
  9945. - Updated ProcessorDispatcher to return a PythonProcessor
  9946. for *.py files.
  9947. * Scripts/webkitpy/style/checker_unittest.py:
  9948. - Updated the ProcessorDispatcher unit tests for *.py files.
  9949. * Scripts/webkitpy/style/processors/python.py: Added.
  9950. - Added PythonProcessor class.
  9951. * Scripts/webkitpy/style/processors/python_unittest.py: Added.
  9952. - Added PythonProcessor unit tests.
  9953. * Scripts/webkitpy/style/processors/python_unittest_input.py: Added.
  9954. - Added a sample Python file to test the PythonProcessor.process()
  9955. code path (since pep8 accepts a file path).
  9956. * Scripts/webkitpy/style/unittests.py:
  9957. - Updated the style unit test file to import python_unittest.py.
  9958. * Scripts/webkitpy/style_references.py:
  9959. - Adjusted style references to import pep8.
  9960. 2010-02-26 Chris Jerdonek <cjerdonek@webkit.org>
  9961. Reviewed by David Levin.
  9962. Rewrote autoinstall.py to support unzipping *.zip files after
  9963. download, unzipping and extracting *.tar.gz files after download,
  9964. and copying installed files to a destination directory.
  9965. https://bugs.webkit.org/show_bug.cgi?id=35163
  9966. These changes will allow us to autoinstall pep8.py from the web
  9967. and to put our third-party autoinstalled code in an explicit
  9968. directory like webkitpy/thirdparty/autoinstalled. They should
  9969. also speed up imports from autoinstalled *.zip packages slightly
  9970. since *.pyc files cannot be generated when importing from
  9971. zipped packages.
  9972. * Scripts/webkitpy/__init__.py:
  9973. - Updated the autoinstall lines to use the new autoinstall methods.
  9974. - Added pep8.py to the list of auto-installed packages.
  9975. * Scripts/webkitpy/bugzilla.py:
  9976. - Updated mechanize import path.
  9977. * Scripts/webkitpy/init/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py.
  9978. * Scripts/webkitpy/init/autoinstall.py: Added.
  9979. - Added AutoInstaller class.
  9980. - Added sample testing usage to __main__.
  9981. * Scripts/webkitpy/networktransaction.py:
  9982. - Updated mechanize import path.
  9983. * Scripts/webkitpy/networktransaction_unittest.py:
  9984. - Updated mechanize import path.
  9985. * Scripts/webkitpy/statusserver.py:
  9986. - Updated mechanize import path.
  9987. * Scripts/webkitpy/thirdparty/autoinstall.py: Removed.
  9988. - Replaced with rewritten autoinstall in init/autoinstall.py.
  9989. 2010-02-26 Dirk Pranke <dpranke@chromium.org>
  9990. Reviewed by Adam Barth.
  9991. Change the default port for new-run-webkit-tests when running on
  9992. a Mac from 'chromium-mac' to 'mac'. Add a '--chromium' switch to
  9993. pick up the default platform-specific version of chromium instead.
  9994. https://bugs.webkit.org/show_bug.cgi?id=35462
  9995. * Scripts/webkitpy/layout_tests/port/factory.py:
  9996. * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  9997. 2010-02-26 Dirk Pranke <dpranke@chromium.org>
  9998. Unreviewed, build fix
  9999. third time's the charm getting this path right?
  10000. * pywebsocket/mod_pywebsocket/standalone.py:
  10001. 2010-02-26 Dumitru Daniliuc <dumi@chromium.org>
  10002. Unreviewed, build fix.
  10003. * pywebsocket/mod_pywebsocket/standalone.py:
  10004. 2010-02-26 Dumitru Daniliuc <dumi@chromium.org>
  10005. Reviewed by Dimitri Glazkov.
  10006. Moving the script to the right location.
  10007. * pywebsocket/mod_pywebsocket: Added.
  10008. * pywebsocket/mod_pywebsocket/standalone.py: Copied from WebKitTools/pywebsocket/standalone.py.
  10009. * pywebsocket/standalone.py: Removed.
  10010. 2010-02-26 Dumitru Daniliuc <dumi@chromium.org>
  10011. Unreviewed, fixing the license.
  10012. * pywebsocket/standalone.py:
  10013. 2010-02-26 Dumitru Daniliuc <dumi@chromium.org>
  10014. Reviewed by Adam Barth.
  10015. Adding pywebsocket/standalone.py back to fix the Chromium webkit
  10016. canaries. Once all layout tests pass, we can get in the patch that
  10017. moves this directorty to WebKitTools/Scripts, update all Chromium
  10018. scripts, and revert this patch.
  10019. https://bugs.webkit.org/show_bug.cgi?id=35464
  10020. * pywebsocket: Added.
  10021. * pywebsocket/standalone.py: Added.
  10022. 2010-02-26 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  10023. Reviewed by Xan Lopez.
  10024. [GTK] Needs proper reporting of frame loader callbacks, in DRT
  10025. https://bugs.webkit.org/show_bug.cgi?id=32170
  10026. Fix reporting of unload handlers, so that it is emitted where
  10027. needed, not after it.
  10028. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  10029. (webViewLoadFinished):
  10030. (webViewDocumentLoadFinished):
  10031. (createWebView):
  10032. 2010-02-26 Antonio Gomes <tonikitoo@webkit.org>
  10033. Reviewed by Gustavo Noronha.
  10034. Patch by Antonio Gomes <tonikitoo@webkit.org>
  10035. [Gtk] Make DRT EventSender::keyDown to consider 'hardware_keycode' field when synthesizing an event.
  10036. https://bugs.webkit.org/show_bug.cgi?id=35432
  10037. When a directional key-press event (arrow keys, End, Home, PageUp,
  10038. PageDown, etc) is synthesized by DRT's EventSender and it targets
  10039. an editor (e.g. <input type=text>, <textare>, etc), event is processed
  10040. by WebCore::EventHandler. On the other hand, if event target is not
  10041. an editor, event is bubbled up to Gtk+ for processing. In such cases,
  10042. if 'hardware_keycode' is not provided at event synthesize time
  10043. its processing fails (at some point in gtk_bindings_activate_event),
  10044. and no scroll action is performed.
  10045. Unskip fast/events/node-event-anchor-lock.html
  10046. * DumpRenderTree/win/EventSender.cpp:
  10047. (keyDownCallback):
  10048. * platform/gtk/Skipped:
  10049. 2010-02-26 Dimitri Glazkov <dglazkov@chromium.org>
  10050. Reviewed by David Levin.
  10051. new-webkit-run-tests: Extraneous parenthesis in websocket_server.py
  10052. https://bugs.webkit.org/show_bug.cgi?id=35436
  10053. * Scripts/webkitpy/layout_tests/port/websocket_server.py: Removed extra paren.
  10054. 2010-02-26 Chris Jerdonek <cjerdonek@webkit.org>
  10055. Reviewed by David Levin.
  10056. Moved pywebsocket into the webkitpy/thirdparty directory and added
  10057. an associated README.webkit file to the pywebsocket directory.
  10058. This makes pywebsocket more consistent with the other third-party
  10059. Python code in our repository.
  10060. https://bugs.webkit.org/show_bug.cgi?id=35198
  10061. * Scripts/run-webkit-tests:
  10062. - Updated paths to pywebsocket.
  10063. * Scripts/run-webkit-websocketserver:
  10064. - Updated paths to pywebsocket.
  10065. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  10066. - Updated paths to pywebsocket.
  10067. * Scripts/webkitpy/thirdparty/pywebsocket: Copied from WebKitTools/pywebsocket.
  10068. * Scripts/webkitpy/thirdparty/pywebsocket/README.webkit: Added.
  10069. - Added a file containing information about the contents
  10070. of the pywebsocket directory. This will make it easier to
  10071. understand where the third-party code came from and what
  10072. local changes have been made.
  10073. * pywebsocket: Removed.
  10074. * pywebsocket/COPYING: Removed.
  10075. * pywebsocket/MANIFEST.in: Removed.
  10076. * pywebsocket/README: Removed.
  10077. * pywebsocket/example: Removed.
  10078. * pywebsocket/example/echo_client.py: Removed.
  10079. * pywebsocket/example/echo_wsh.py: Removed.
  10080. * pywebsocket/mod_pywebsocket: Removed.
  10081. * pywebsocket/mod_pywebsocket/__init__.py: Removed.
  10082. * pywebsocket/mod_pywebsocket/dispatch.py: Removed.
  10083. * pywebsocket/mod_pywebsocket/handshake.py: Removed.
  10084. * pywebsocket/mod_pywebsocket/headerparserhandler.py: Removed.
  10085. * pywebsocket/mod_pywebsocket/memorizingfile.py: Removed.
  10086. * pywebsocket/mod_pywebsocket/msgutil.py: Removed.
  10087. * pywebsocket/mod_pywebsocket/standalone.py: Removed.
  10088. * pywebsocket/mod_pywebsocket/util.py: Removed.
  10089. * pywebsocket/setup.py: Removed.
  10090. * pywebsocket/test: Removed.
  10091. * pywebsocket/test/config.py: Removed.
  10092. * pywebsocket/test/mock.py: Removed.
  10093. * pywebsocket/test/run_all.py: Removed.
  10094. * pywebsocket/test/test_dispatch.py: Removed.
  10095. * pywebsocket/test/test_handshake.py: Removed.
  10096. * pywebsocket/test/test_memorizingfile.py: Removed.
  10097. * pywebsocket/test/test_mock.py: Removed.
  10098. * pywebsocket/test/test_msgutil.py: Removed.
  10099. * pywebsocket/test/test_util.py: Removed.
  10100. * pywebsocket/test/testdata: Removed.
  10101. * pywebsocket/test/testdata/handlers: Removed.
  10102. * pywebsocket/test/testdata/handlers/blank_wsh.py: Removed.
  10103. * pywebsocket/test/testdata/handlers/origin_check_wsh.py: Removed.
  10104. * pywebsocket/test/testdata/handlers/sub: Removed.
  10105. * pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py: Removed.
  10106. * pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py: Removed.
  10107. * pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py: Removed.
  10108. * pywebsocket/test/testdata/handlers/sub/plain_wsh.py: Removed.
  10109. * pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py: Removed.
  10110. * pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py: Removed.
  10111. 2010-02-26 Chris Jerdonek <cjerdonek@webkit.org>
  10112. Reviewed by Eric Seidel.
  10113. Changed the diff_parser module to log to a module-specific
  10114. logging.logger rather than the root logger.
  10115. https://bugs.webkit.org/show_bug.cgi?id=35391
  10116. * Scripts/webkitpy/diff_parser.py:
  10117. 2010-02-26 Csaba Osztrogonác <ossy@webkit.org>
  10118. Reviewed by Kenneth Rohde Christiansen.
  10119. [Qt] LayoutTestController.numberOfPages() should have default parameters
  10120. https://bugs.webkit.org/show_bug.cgi?id=35428
  10121. * DumpRenderTree/qt/DumpRenderTreeQt.cpp: maxViewWidth and maxViewHeight moved to
  10122. LayoutTestController to converge to platform independent implementation.
  10123. (WebCore::DumpRenderTree::DumpRenderTree):
  10124. (WebCore::DumpRenderTree::open):
  10125. * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Initialization of maxViewWidth and maxViewHeight added.
  10126. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  10127. - Default parameters for LayoutTestController.numberOfPages() added.
  10128. - maxViewWidth and maxViewHeight members added.
  10129. 2010-02-26 Jamey Hicks <jamey.hicks@nokia.com>
  10130. Reviewed by Laszlo Gombos.
  10131. [Qt] added QWebSettings::setInspectorUrl() and QWebSettings::inspectorUrl()
  10132. Enables the use of alternate Web Inspector frontends by changing
  10133. the location of the frontend. The location is specified by providing
  10134. -inspector-url url
  10135. as an argument to QtLauncher.
  10136. This is required so that the Web Inspector may be run from an
  10137. external process or an external tool such as Eclipse or Aptana may
  10138. be used instead of the in-process Web Inspector UI.
  10139. https://bugs.webkit.org/show_bug.cgi?id=35340
  10140. * QtLauncher/main.cpp:
  10141. (LauncherWindow::init):
  10142. (LauncherApplication::handleUserOptions):
  10143. 2010-02-25 Dirk Pranke <dpranke@chromium.org>
  10144. Reviewed by Eric Seidel.
  10145. Add a 'passing' port implementation to new-run-webkit-tests that
  10146. acts as a wrapper around an existing implementation but stubs out
  10147. the actual test invocations (instead, the expected results are echoed
  10148. back to the harness). This is useful for coverage and perf testing
  10149. of the harness (especially perf testing as it essentially provides
  10150. a lower bound on how fast the harness can run).
  10151. Also added a --nostart-helper flag to new-run-webkit-tests so that
  10152. you can skip starting the layout_test_helper and actually run the
  10153. harness even if you don't have a build of that port.
  10154. Also fix a bug in the 'test' port implementation to actually
  10155. create the results directory under /tmp instead of /.
  10156. https://bugs.webkit.org/show_bug.cgi?id=35370
  10157. * Scripts/webkitpy/layout_tests/port/factory.py: Modified.
  10158. * Scripts/webkitpy/layout_tests/port/passing.py: Added.
  10159. * Scripts/webkitpy/layout_tests/port/test.py: Added.
  10160. * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Modified.
  10161. 2010-02-25 Eric Seidel <eric@webkit.org>
  10162. Fix typo in my last change. No review.
  10163. Rename run-chromium-webkit-tests to new-run-webkit-tests to stop confusion
  10164. https://bugs.webkit.org/show_bug.cgi?id=35408
  10165. * Scripts/new-run-webkit-tests:
  10166. 2010-02-25 Eric Seidel <eric@webkit.org>
  10167. Reviewed by Adam Barth.
  10168. Rename run-chromium-webkit-tests to new-run-webkit-tests to stop confusion
  10169. https://bugs.webkit.org/show_bug.cgi?id=35408
  10170. * Scripts/new-run-webkit-tests: Added.
  10171. * Scripts/run-chromium-webkit-tests: Removed.
  10172. * Scripts/webkitpy/layout_tests/run_webkit_tests.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py.
  10173. 2010-02-25 Adam Barth <abarth@webkit.org>
  10174. Reviewed by David Levin.
  10175. EWS leaks memory slowly
  10176. https://bugs.webkit.org/show_bug.cgi?id=35395
  10177. The EWS bots leak memory very slowly. If you run them for about a
  10178. month, each one will take up around 1 GB of virutal memory. If you run
  10179. several of them on one machine, you'll eventually exhaust all available
  10180. memory and grind the bots to a halt.
  10181. This patch introduces a --exit-after-iteration option to the queues so
  10182. that we run them for a finite amount of time. Once they exit and
  10183. restart, they'll reclaim the leaked memory. I'm not sure how many
  10184. iterations I'll end up running them for. I'll need to sort that out
  10185. operationally, but my initial guess is around 1000.
  10186. * Scripts/webkitpy/commands/queues.py:
  10187. * Scripts/webkitpy/commands/queues_unittest.py:
  10188. 2010-02-25 Jarkko Sakkinen <jarkko.sakkinen@tieto.com>
  10189. Reviewed by Kenneth Rohde Christiansen.
  10190. Qt WebGL support
  10191. Adds toggling of WebGL support to QtLauncher.
  10192. https://bugs.webkit.org/show_bug.cgi?id=35153
  10193. * QtLauncher/main.cpp:
  10194. (LauncherWindow::toggleWebGL):
  10195. (LauncherWindow::setupUI):
  10196. 2010-02-25 Ben Murdoch <benm@google.com>
  10197. Reviewed by Kenneth Rohde Christiansen.
  10198. The target element of a Touch should be the target where that touch originated, not where it is now.
  10199. https://bugs.webkit.org/show_bug.cgi?id=34585
  10200. * DumpRenderTree/qt/EventSenderQt.cpp:
  10201. (EventSender::addTouchPoint): Fix a bug where touch points were not being given unique ids.
  10202. 2010-02-24 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  10203. Reviewed by Kenneth Rohde Christiansen.
  10204. [Qt] QtLauncher has a border when running on QGraphicsView mode
  10205. https://bugs.webkit.org/show_bug.cgi?id=35352
  10206. Fix 2-pixels frame on each border of QtLauncher when running on QGraphicsView mode.
  10207. * QtLauncher/webview.cpp:
  10208. (WebViewGraphicsBased::WebViewGraphicsBased):
  10209. 2010-02-23 Dirk Pranke <dpranke@chromium.org>
  10210. Reviewed by David Levin.
  10211. When the run-chromium-webkit-tests code was landed and the code was
  10212. refactored into the 'port' package, I accidentally broke using
  10213. http_server.py or websocket_server.py as command-line scripts
  10214. (the constructors needed a port object they weren't getting). This
  10215. change fixes them so that --server start|stop actually works.
  10216. As a part of this, the two files need to be able to call port.get(),
  10217. but doing that is awkward from a file inside the package, so I moved
  10218. get() into factory.py and imported that into __init__.py so that
  10219. http_server.py and websocket_server.py can just import factory.
  10220. https://bugs.webkit.org/show_bug.cgi?id=35316
  10221. * Scripts/webkitpy/layout_tests/port/__init__.py:
  10222. * Scripts/webkitpy/layout_tests/port/factory.py:
  10223. * Scripts/webkitpy/layout_tests/port/http_server.py:
  10224. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  10225. 2010-02-24 Dirk Pranke <dpranke@chromium.org>
  10226. Reviewed by David Levin.
  10227. Fix the function signature for check_sys_deps on the mac port, and
  10228. fix the ordering of port_obj.check_sys_deps() and
  10229. port_obj.start_helper() (helper needs to be started before we check
  10230. the system configuration).
  10231. http://bugs.webkit.org/show_bug.cgi?id=35367
  10232. * Scripts/webkitpy/layout_tests/port/mac.py:
  10233. * Scripts/webkitpy/layout_tests/port/test.py:
  10234. * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py:
  10235. 2010-02-24 James Robinson <jamesr@chromium.org>
  10236. Reviewed by Eric Seidel.
  10237. Provide default username parameter to SVN.commit_with_message().
  10238. * Scripts/webkitpy/scm.py:
  10239. 2010-02-24 Dirk Pranke <dpranke@chromium.org>
  10240. Reviewed by Eric Siedel.
  10241. Check the proper directory for a WebKit SVN version (Chromium does
  10242. not check out the entire WebKit tree directly, but rather pulls
  10243. individual subdirectories. So, checking for the SVN version in
  10244. WebKit/WebCore rather than just in WebKit works more reliably across
  10245. different ports).
  10246. http://bugs.webkit.org/show_bug.cgi?id=35321
  10247. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  10248. 2010-02-24 Alexey Proskuryakov <ap@apple.com>
  10249. Reviewed by Dan Bernstein.
  10250. https://bugs.webkit.org/show_bug.cgi?id=35357
  10251. Two editing tests fail after DumpRenderTree run loop changes
  10252. AppKit decided that it wanted to group all editing commands for some reason (and thus undo
  10253. reverted them all at once).
  10254. * DumpRenderTree/mac/DumpRenderTree.mm:
  10255. (dump): Reverted the change that made DumpRenderTree use -[NSApplication run].
  10256. (runTest): Ditto.
  10257. (-[DumpRenderTreeApplication isRunning]): Override isRunning with a function that always
  10258. returns YES. This is another way to make the Java plug-in work.
  10259. 2010-02-23 Adam Roben <aroben@apple.com>
  10260. Make commit-log-editor find just-added ChangeLog files
  10261. Fixes <http://webkit.org/b/35294> commit-log-editor doesn't find
  10262. just-added ChangeLog files
  10263. Reviewed by Dave Levin.
  10264. * Scripts/commit-log-editor:
  10265. (top level): Modified the regular expression that's used to find
  10266. modified ChangeLog files to also look for just-added ChangeLog files.
  10267. 2010-02-24 Shinichiro Hamaji <hamaji@chromium.org>
  10268. Reviewed by Darin Adler.
  10269. check-webkit-style false positive for WebCore forwarding header
  10270. https://bugs.webkit.org/show_bug.cgi?id=34604
  10271. * Scripts/webkitpy/style/checker.py:
  10272. * Scripts/webkitpy/style/checker_unittest.py:
  10273. 2010-02-23 Alexey Proskuryakov <ap@apple.com>
  10274. Reviewed by Mark Rowe.
  10275. https://bugs.webkit.org/show_bug.cgi?id=22602
  10276. Enable Java in DumpRenderTree (on Mac)
  10277. * DumpRenderTree/mac/DumpRenderTree.mm:
  10278. (exitApplicationRunLoop):
  10279. (dump):
  10280. (runTest):
  10281. DumpRenderTree now runs an NSApplication, not just an event loop. This way, the Java plug-in
  10282. can start without freezing.
  10283. * Scripts/run-webkit-tests: Compile java sources in LayputTests/java.
  10284. 2010-02-23 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  10285. Reviewed by Kenneth Rohde Christiansen.
  10286. [Qt] Need a final integration between QtLauncher and QGVLauncher
  10287. https://bugs.webkit.org/show_bug.cgi?id=35292
  10288. WebKit coding style fixes.
  10289. * QtLauncher/main.cpp:
  10290. (LauncherWindow::resetZoom):
  10291. 2010-02-23 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  10292. Reviewed by Kenneth Rohde Christiansen.
  10293. [Qt] Need a final integration between QtLauncher and QGVLauncher
  10294. https://bugs.webkit.org/show_bug.cgi?id=35292
  10295. Add cloneWindow feature to QtLauncher, when running on QGraphicsView mode.
  10296. * QtLauncher/main.cpp:
  10297. (LauncherWindow::LauncherWindow):
  10298. (LauncherWindow::~LauncherWindow):
  10299. (LauncherWindow::init):
  10300. (LauncherWindow::cloneWindow):
  10301. (LauncherWindow::setupUI):
  10302. 2010-02-23 Dirk Pranke <dpranke@chromium.org>
  10303. Reviewed by Dimitri Glazkov.
  10304. Fix handling of check_wdiff_install when wdiff isn't installed.
  10305. http://bugs.webkit.org/show_bug.cgi?id=35304
  10306. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  10307. 2010-02-23 Leandro Pereira <leandro@profusion.mobi>
  10308. Reviewed by NOBODY.
  10309. Fix false positives for 'delete *pointer' statements.
  10310. http://webkit.org/b/35235
  10311. * WebKitTools/Scripts/webkitpy/style/processors/cpp.py:
  10312. 2010-02-23 Shinichiro Hamaji <hamaji@chromium.org>
  10313. Reviewed by Eric Seidel.
  10314. [Gtk] Implement layoutTestController.numberOfPages
  10315. https://bugs.webkit.org/show_bug.cgi?id=35228
  10316. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  10317. (LayoutTestController::numberOfPages):
  10318. 2010-02-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  10319. Reviewed by Kenneth Rohde Christiansen.
  10320. [Qt] QtLauncher should not use internal JavaScriptCore and WebCore interfaces
  10321. https://bugs.webkit.org/show_bug.cgi?id=35248
  10322. * QtLauncher/QtLauncher.pro:
  10323. * QtLauncher/utils.h:
  10324. 2010-02-23 Daniel Bates <dbates@rim.com>
  10325. Reviewed by Eric Seidel.
  10326. https://bugs.webkit.org/show_bug.cgi?id=34439
  10327. Prompts a person for their SVN username if not already cached (by Subversion).
  10328. Currently, webkit-patch is unable to commit to the SVN repo. unless the
  10329. WebKit SVN username is already cached (from of a prior commit by hand)
  10330. because "svn commit" (called by webkit-patch) defaults to using the system
  10331. login name unless the username is already cached or specified on the
  10332. command line.
  10333. * Scripts/webkitpy/scm.py: Added methods SVN.has_authorization_for_realm and
  10334. modified SVN.commit_with_message to call it. Added optional username parameter
  10335. to method SVN.commit_with_message.
  10336. * Scripts/webkitpy/scm_unittest.py: Added unit test methods: SVNTest.test_commit_with_username,
  10337. SVNTest.test_has_authorization_for_realm, and SVNTest.test_not_have_authorization_for_realm.
  10338. 2010-02-22 Dirk Pranke <dpranke@chromium.org>
  10339. Reviewed by Eric Siedel.
  10340. Add more checking for missing binaries and packages to check_sys_deps()
  10341. https://bugs.webkit.org/show_bug.cgi?id=35062
  10342. * Scripts/webkitpy/layout_tests/port/base.py:
  10343. * Scripts/webkitpy/layout_tests/port/chromium.py:
  10344. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  10345. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  10346. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  10347. * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py:
  10348. 2010-02-22 Shinichiro Hamaji <hamaji@chromium.org>
  10349. Reviewed by David Levin.
  10350. [Gtk] check-webkit-style: GTK style should be allowed in WebKitTools/DumpRenderTree/gtk
  10351. https://bugs.webkit.org/show_bug.cgi?id=35229
  10352. * Scripts/webkitpy/style/checker.py:
  10353. * Scripts/webkitpy/style/checker_unittest.py:
  10354. 2010-02-22 James Robinson <jamesr@chromium.org>
  10355. Unreviewed. Adding myself to committers list.
  10356. * Scripts/webkitpy/committers.py:
  10357. 2010-02-22 Simon Fraser <simon.fraser@apple.com>
  10358. Reviewed by Darin Adler.
  10359. Remove DRT hack that turns off hardware acceleration with older QuickTimes
  10360. https://bugs.webkit.org/show_bug.cgi?id=35275
  10361. Now that WebKit does a version check to avoid a QuickTime-related
  10362. crash (r55100), DumpRenderTree does not need to.
  10363. * DumpRenderTree/mac/DumpRenderTree.mm:
  10364. (resetDefaultsToConsistentValues):
  10365. 2010-02-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  10366. Reviewed by Kenneth Rohde Christiansen.
  10367. [Qt] Build the DRT in debug on Mac OS X
  10368. * DumpRenderTree/qt/DumpRenderTree.pro:
  10369. 2010-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  10370. Reviewed by Kenneth Rohde Christiansen.
  10371. [Qt] Add support for layout tests on Symbian
  10372. https://bugs.webkit.org/show_bug.cgi?id=31589
  10373. * DumpRenderTree/qt/DumpRenderTree.pro:
  10374. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  10375. * DumpRenderTree/qt/main.cpp:
  10376. (main):
  10377. 2010-02-20 Chris Jerdonek <cjerdonek@webkit.org>
  10378. Reviewed by Adam Barth.
  10379. Moved simplejson into webkitpy/thirdparty directory.
  10380. https://bugs.webkit.org/show_bug.cgi?id=35196
  10381. * Scripts/run-chromium-webkit-tests:
  10382. - Added webkitpy/thirdparty to the script's search path.
  10383. * Scripts/webkitpy/thirdparty/simplejson: Copied from WebKitTools/simplejson.
  10384. - Copied simplejson directory.
  10385. * simplejson: Removed.
  10386. * simplejson/LICENSE.txt: Removed.
  10387. * simplejson/README.txt: Removed.
  10388. * simplejson/__init__.py: Removed.
  10389. * simplejson/_speedups.c: Removed.
  10390. * simplejson/decoder.py: Removed.
  10391. * simplejson/encoder.py: Removed.
  10392. * simplejson/jsonfilter.py: Removed.
  10393. * simplejson/scanner.py: Removed.
  10394. 2010-02-20 Chris Jerdonek <cjerdonek@webkit.org>
  10395. Reviewed by Adam Barth.
  10396. Moved BeautifulSoup to webkitpy/thirdparty directory.
  10397. https://bugs.webkit.org/show_bug.cgi?id=35195
  10398. * Scripts/webkitpy/BeautifulSoup.py: Removed.
  10399. - Moved to webkitpy/thirdparty.
  10400. * Scripts/webkitpy/bugzilla.py:
  10401. - Updated import statement.
  10402. * Scripts/webkitpy/bugzilla_unittest.py:
  10403. - Updated import statement.
  10404. * Scripts/webkitpy/buildbot.py:
  10405. - Updated import statement.
  10406. * Scripts/webkitpy/buildbot_unittest.py:
  10407. - Updated import statement.
  10408. * Scripts/webkitpy/statusserver.py:
  10409. - Updated import statement.
  10410. * Scripts/webkitpy/thirdparty/BeautifulSoup.py: Copied from WebKitTools/Scripts/webkitpy/BeautifulSoup.py.
  10411. 2010-02-20 Chris Jerdonek <cjerdonek@webkit.org>
  10412. Reviewed by Adam Barth.
  10413. Created a directory for third-party Python code, and moved
  10414. autoinstall.py into it.
  10415. https://bugs.webkit.org/show_bug.cgi?id=34540
  10416. * Scripts/webkitpy/__init__.py:
  10417. - Updated "import autoinstall" statement.
  10418. * Scripts/webkitpy/autoinstall.py: Removed.
  10419. - Moved to thirdparty/autoinstall.py.
  10420. * Scripts/webkitpy/thirdparty: Added.
  10421. * Scripts/webkitpy/thirdparty/__init__.py: Added.
  10422. * Scripts/webkitpy/thirdparty/autoinstall.py: Copied from WebKitTools/Scripts/webkitpy/autoinstall.py.
  10423. 2010-02-20 Gustavo Noronha Silva <gns@gnome.org>
  10424. Unreviewed, obvious fix for the python failure in our new buildbot
  10425. step:
  10426. http://build.webkit.org/builders/GTK Linux 32-bit Release/builds/9075/steps/API tests/logs/err.text
  10427. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  10428. 2010-02-19 Maciej Stachowiak <mjs@apple.com>
  10429. Reviewed by David Levin.
  10430. Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
  10431. https://bugs.webkit.org/show_bug.cgi?id=35147
  10432. * Scripts/build-webkit: Handle new flag.
  10433. 2010-02-19 Leandro Pereira <leandro@profusion.mobi>
  10434. Reviewed by Shinichiro Hamaji.
  10435. [style-queue] should not complain about identifier names with underscores under WebKit/efl/ewk/
  10436. https://bugs.webkit.org/show_bug.cgi?id=35091
  10437. White list unix_hacker_style names in WebKit/efl/ewk because these
  10438. are used in the EFL API.
  10439. * Scripts/webkitpy/style/checker.py:
  10440. - Filter out readability/naming on WebKit/efl/ewk.
  10441. 2010-02-19 Eric Seidel <eric@webkit.org>
  10442. Reviewed by Adam Barth.
  10443. Split out "prepare-rollout" from "rollout" and make --complete-rollout default
  10444. https://bugs.webkit.org/show_bug.cgi?id=33745
  10445. * Scripts/webkitpy/commands/download.py:
  10446. - Add a new AbstractRolloutPrepCommand to share code between PrepareRollout and Rollout
  10447. - Add PrepareRollout
  10448. * Scripts/webkitpy/commands/download_unittest.py: Test PrepareRollout, remove CompleteRollout tests.
  10449. * Scripts/webkitpy/steps/__init__.py: include ReopenBugAfterRollout step.
  10450. * Scripts/webkitpy/steps/completerollout.py: Removed.
  10451. * Scripts/webkitpy/steps/options.py: remove complete_rollout
  10452. * Scripts/webkitpy/steps/reopenbugafterrollout.py: Added.
  10453. 2010-02-19 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  10454. Reviewed by Kenneth Rohde Christiansen.
  10455. [Qt] Need a final integration between QtLauncher and QGVLauncher
  10456. https://bugs.webkit.org/show_bug.cgi?id=35161
  10457. Add animated flip support to QtLauncher when running on QGraphicsView mode.
  10458. * QtLauncher/main.cpp:
  10459. (LauncherWindow::initializeView):
  10460. (LauncherWindow::setupUI):
  10461. * QtLauncher/webview.cpp:
  10462. (WebViewGraphicsBased::WebViewGraphicsBased):
  10463. (WebViewGraphicsBased::animatedFlip):
  10464. (WebViewGraphicsBased::animatedYFlip):
  10465. * QtLauncher/webview.h:
  10466. (WebViewGraphicsBased::setYRotation):
  10467. (WebViewGraphicsBased::yRotation):
  10468. 2010-02-19 Andras Becsi <abecsi@webkit.org>
  10469. Reviewed by Kenneth Rohde Christiansen.
  10470. [Qt] Implement textZoomIn() and textZoomOut() in DRT's EventSender, add results
  10471. for passing new tests and unskip the passing ones from the Skipped list.
  10472. https://bugs.webkit.org/show_bug.cgi?id=35159
  10473. * DumpRenderTree/qt/EventSenderQt.cpp:
  10474. (EventSender::textZoomIn):
  10475. (EventSender::textZoomOut):
  10476. * DumpRenderTree/qt/EventSenderQt.h:
  10477. 2010-02-19 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  10478. Reviewed by Eric Seidel.
  10479. [Qt] Clean-up the handling of HTML5 persistent data for LayoutTests
  10480. https://bugs.webkit.org/show_bug.cgi?id=35004
  10481. DumpRenderTreeQt.cpp calls QWebSettings::enablePersistentStorage which sets up
  10482. and enables all HTML5 persistent data. All the other calls for setting the
  10483. persistent path or enabling the persistent feature are redundant.
  10484. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  10485. (WebCore::WebPage::WebPage): No need to enable AppCache again.
  10486. * DumpRenderTree/qt/main.cpp:
  10487. (main): No need to setup and enable HTML5 LocalStorage again.
  10488. 2010-02-19 Diego Gonzalez <diego.gonzalez@openbossa.org>
  10489. Reviewed by Kenneth Rohde Christiansen.
  10490. Send the context menu event from contextClick() of EventSender
  10491. and do not show context menu in DRT.
  10492. LayoutTests:
  10493. fast/events/contextmenu-scrolled-page-with-frame.html
  10494. [Qt] DRT: Send context menu event from EventSender
  10495. https://bugs.webkit.org/show_bug.cgi?id=35131
  10496. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  10497. (WebCore::DumpRenderTree::DumpRenderTree):
  10498. * DumpRenderTree/qt/EventSenderQt.cpp:
  10499. (EventSender::contextClick):
  10500. 2010-02-18 Chris Jerdonek <cjerdonek@webkit.org>
  10501. Reviewed by Shinichiro Hamaji.
  10502. Moved parsing-related code to a separate file. Also increased
  10503. the unit test coverage in some affected areas.
  10504. https://bugs.webkit.org/show_bug.cgi?id=34675
  10505. This revision contains no new functionality.
  10506. * Scripts/check-webkit-style:
  10507. - Adjusted to call check_webkit_style_parser().
  10508. * Scripts/webkitpy/style/checker.py:
  10509. - Added check_webkit_style_parser() to pass checker.py
  10510. configuration settings to optparser.py.
  10511. - Moved _create_usage() and the CommandOptionValues,
  10512. DefaultCommandOptionValues, ArgumentPrinter, and
  10513. ArgumentParser classes to optparser.py.
  10514. * Scripts/webkitpy/style/checker_unittest.py:
  10515. - Moved the ProcessorOptionsTest, ArgumentPrinterTest, and
  10516. ArgumentParserTest classes to optparser.py.
  10517. - Added the CheckWebKitStyleFunctionTest class to check
  10518. the check_webkit_style_configuration() and
  10519. check_webkit_style_parser() code paths.
  10520. * Scripts/webkitpy/style/optparser.py: Added.
  10521. - From checker.py, added _create_usage() and the
  10522. CommandOptionValues, DefaultCommandOptionValues,
  10523. ArgumentPrinter, and ArgumentParser classes.
  10524. - In the ArgumentParser constructor--
  10525. - Added all_categories as a required parameter.
  10526. - Removed the default value from the default_options parameter.
  10527. * Scripts/webkitpy/style/optparser_unittest.py: Added.
  10528. - From checker_unittest.py, added the ProcessorOptionsTest,
  10529. ArgumentPrinterTest, and ArgumentParserTest classes.
  10530. - Added the CreateUsageTest class to test _create_usage().
  10531. * Scripts/webkitpy/style/unittests.py:
  10532. - Added optparser_unittest import.
  10533. 2010-02-18 Alexey Proskuryakov <ap@apple.com>
  10534. Reviewed by Dan Bernstein.
  10535. https://bugs.webkit.org/show_bug.cgi?id=35134
  10536. <rdar://problem/7246280> Crash when a plugin calls NPN_SetStatus(0)
  10537. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  10538. (testSetStatus):
  10539. (pluginInvoke):
  10540. Added a setStatus() method.
  10541. 2010-02-18 Brady Eidson <beidson@apple.com>
  10542. Reviewed by Sam Weinig.
  10543. Particularly constructed WebFrames can try to access a null HistoryItem
  10544. <rdar://problem/7638892> and https://bugs.webkit.org/show_bug.cgi?id=35063
  10545. Add the specific ability to test this API pattern.
  10546. For now only on Mac, perhaps on the main Windows port later, probably not relevant for other ports.
  10547. * DumpRenderTree/LayoutTestController.cpp:
  10548. (apiTestNewWindowDataLoadBaseURLCallback):
  10549. (LayoutTestController::staticFunctions):
  10550. * DumpRenderTree/LayoutTestController.h:
  10551. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  10552. (-[APITestDelegate initWithCompletionCondition:]):
  10553. (-[APITestDelegate webView:didFailLoadWithError:forFrame:]):
  10554. (-[APITestDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
  10555. (-[APITestDelegate webView:didFinishLoadForFrame:]):
  10556. (LayoutTestController::apiTestNewWindowDataLoadBaseURL): Create a WebView, do a loadData: in its
  10557. mainFrame, and synchronously wait for main load completion.
  10558. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  10559. (LayoutTestController::apiTestNewWindowDataLoadBaseURL):
  10560. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  10561. (LayoutTestController::apiTestNewWindowDataLoadBaseURL):
  10562. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  10563. (LayoutTestController::apiTestNewWindowDataLoadBaseURL):
  10564. 2010-02-18 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  10565. Reviewed by Eric Seidel.
  10566. Teach resolve-ChangeLogs to act as a merge-driver for Git
  10567. https://bugs.webkit.org/show_bug.cgi?id=28721
  10568. To enable automatic merging of ChangeLog files, use the following command:
  10569. git config merge.changelog.driver "resolve-ChangeLogs --merge-driver %O %A %B"
  10570. The driver always works in "downstream" merge mode, meaning
  10571. it will always put the user's changelog entries on top.
  10572. * Scripts/resolve-ChangeLogs:
  10573. 2009-12-05 Gustavo Noronha Silva <gns@gnome.org>
  10574. Reviewed by Eric Seidel.
  10575. Enable running of GTK+ API tests.
  10576. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  10577. * Scripts/run-gtk-tests: Added.
  10578. 2010-02-18 Shinichiro Hamaji <hamaji@chromium.org>
  10579. Reviewed by Adam Barth.
  10580. debug-safari doesn't pass --debug option to gdb-safari on MacOSX
  10581. https://bugs.webkit.org/show_bug.cgi?id=34411
  10582. * Scripts/webkitdirs.pm:
  10583. 2010-02-18 Eric Seidel <eric@webkit.org>
  10584. Reviewed by Adam Barth.
  10585. run-chromium-webkit-tests --platform=mac-leopard needs to run build-dumprendertree
  10586. https://bugs.webkit.org/show_bug.cgi?id=35053
  10587. * Scripts/webkitpy/layout_tests/port/base.py: Add script_path() function for finding scripts.
  10588. * Scripts/webkitpy/layout_tests/port/chromium.py: Remove unused argument.
  10589. * Scripts/webkitpy/layout_tests/port/mac.py:
  10590. - Make sure that calling webkit-build-directory works even if Scripts/ is not in the user's path.
  10591. - Call build-dumprendertree (and make sure it succeeds) before running the tests.
  10592. 2010-02-16 Chris Jerdonek <cjerdonek@webkit.org>
  10593. Reviewed by Shinichiro Hamaji.
  10594. Refactored check-webkit-style's ProcessorOptions class into two
  10595. classes. This revision contains no new functionality.
  10596. https://bugs.webkit.org/show_bug.cgi?id=34674
  10597. Divided the ProcessorOptions class into a CommandOptionValues
  10598. class (the result of parsing the command-line options) and
  10599. a StyleCheckerConfiguration class (which configures the main
  10600. StyleChecker).
  10601. * Scripts/check-webkit-style:
  10602. - Updated main() to convert the parsed command option values
  10603. to a StyleCheckConfiguration instance prior to constructing
  10604. a StyleChecker.
  10605. * Scripts/webkitpy/style/checker.py:
  10606. - Added check_webkit_style_configuration() to convert a
  10607. CommandOptionValues instance into a StyleCheckerConfiguration
  10608. instance.
  10609. - Renamed the ProcessorOptions class to CommandOptionValues.
  10610. - In the CommandOptionValues class--
  10611. - Replaced the filter_configuration attribute with the
  10612. simpler filter_rules attribute.
  10613. - Removed the max_reports_per_error attribute.
  10614. - Moved the is_reportable() method to the new
  10615. StyleCheckerConfiguration class.
  10616. - Removed the base_filter_rules attribute from the
  10617. DefaultCommandOptionValues class.
  10618. - In the ArgumentParser class--
  10619. - Added base_filter_rules to the constructor.
  10620. - Changed the parse() method to return a CommandOptionValues
  10621. instance instead of a ProcessorOptions instance.
  10622. - Created a StyleCheckerConfiguration class.
  10623. - Added the data attributes max_reports_per_category,
  10624. stderr_write, and verbosity.
  10625. - Added is_reportable() (moved from the ProcessorOptions
  10626. class) and write_style_error() (moved from the
  10627. DefaultStyleErrorHandler class).
  10628. - In the StyleChecker class--
  10629. - Replaced the ProcessorOptions options attribute with the
  10630. StyleCheckerConfiguration _configuration attribute.
  10631. - Removed the _stderr_write attribute.
  10632. * Scripts/webkitpy/style/checker_unittest.py:
  10633. - Updated the existing unit test classes as necessary.
  10634. - Added a StyleCheckerConfigurationTest class.
  10635. * Scripts/webkitpy/style/error_handlers.py:
  10636. - Updated the DefaultStyleErrorHandler class to accept a
  10637. StyleCheckerConfiguration instance instead of a ProcessorOptions
  10638. instance and an stderr_write method.
  10639. * Scripts/webkitpy/style/error_handlers_unittest.py:
  10640. - Updated the unit test classes as necessary.
  10641. * Scripts/webkitpy/style/filter.py:
  10642. - Addressed the FIXME in the FilterConfiguration class to change
  10643. the user_rules attribute to _user_rules (since it is now
  10644. accessed only internally).
  10645. * Scripts/webkitpy/style/filter_unittest.py:
  10646. - Updated to reflect the change from user_rules to _user_rules.
  10647. 2010-02-17 Shinichiro Hamaji <hamaji@chromium.org>
  10648. Reviewed by Eric Seidel.
  10649. Share the DRT values maxViewWidth/Height among ports
  10650. https://bugs.webkit.org/show_bug.cgi?id=34474
  10651. * DumpRenderTree/LayoutTestController.cpp:
  10652. (pageNumberForElementByIdCallback):
  10653. * DumpRenderTree/LayoutTestController.h:
  10654. (LayoutTestController::maxViewWidth):
  10655. (LayoutTestController::maxViewHeight):
  10656. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  10657. (runTest):
  10658. * DumpRenderTree/mac/DumpRenderTree.mm:
  10659. (createWebViewAndOffscreenWindow):
  10660. (sizeWebViewForCurrentTest):
  10661. * DumpRenderTree/win/DumpRenderTree.cpp:
  10662. (dump):
  10663. (createWebViewAndOffscreenWindow):
  10664. 2010-02-17 Shinichiro Hamaji <hamaji@chromium.org>
  10665. Reviewed by Eric Seidel.
  10666. [Win] Implement test functions for printing
  10667. https://bugs.webkit.org/show_bug.cgi?id=34570
  10668. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  10669. (LayoutTestController::pageNumberForElementById):
  10670. (LayoutTestController::numberOfPages):
  10671. 2010-02-17 Fumitoshi Ukai <ukai@chromium.org>
  10672. Reviewed by Eric Seidel.
  10673. websocket/tests/cookies/httponly-cookie.pl fails every time under run-chromium-webkit-tests
  10674. https://bugs.webkit.org/show_bug.cgi?id=35001
  10675. * Scripts/webkitpy/layout_tests/port/websocket_server.py: add -x flag to run pywebsocket.
  10676. 2010-02-17 Shinichiro Hamaji <hamaji@chromium.org>
  10677. Reviewed by Eric Seidel.
  10678. check-webkit-style: Misses variables that contain underscores.
  10679. https://bugs.webkit.org/show_bug.cgi?id=33724
  10680. - Check identifiers whose types are unsigned.
  10681. - Check bitfields properly.
  10682. * Scripts/webkitpy/style/processors/cpp.py:
  10683. * Scripts/webkitpy/style/processors/cpp_unittest.py:
  10684. 2010-02-17 Shinichiro Hamaji <hamaji@chromium.org>
  10685. Reviewed by Eric Seidel.
  10686. check-webkit-style should report the number of files checked
  10687. https://bugs.webkit.org/show_bug.cgi?id=34971
  10688. * Scripts/check-webkit-style:
  10689. * Scripts/webkitpy/style/checker.py:
  10690. * Scripts/webkitpy/style/checker_unittest.py:
  10691. 2010-02-17 Diego Gonzalez <diego.gonzalez@openbossa.org>
  10692. Reviewed by Ariya Hidayat.
  10693. Make possible Qt DRT to get total number of pages to be printed
  10694. LayoutTests:
  10695. printing/numberOfPages.html
  10696. [Qt] DRT: Get total number of pages to be printed
  10697. https://bugs.webkit.org/show_bug.cgi?id=34955
  10698. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  10699. (LayoutTestController::numberOfPages):
  10700. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  10701. 2010-02-17 Xan Lopez <xlopez@igalia.com>
  10702. Reviewed by Gustavo Noronha.
  10703. Update to use new property name.
  10704. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  10705. (resetDefaultsToConsistentValues):
  10706. 2010-02-17 Julien Chaffraix <jchaffraix@webkit.org>
  10707. Reviewed by Ariya Hidayat.
  10708. Remove some warnings seen when building Qt
  10709. https://bugs.webkit.org/show_bug.cgi?id=35017
  10710. Using a machine without the needed tools to build WebKit leads to
  10711. several errors and warnings.
  10712. * Scripts/webkitdirs.pm: Refactored the code testing the command's
  10713. presence into a commandExists routine. While doing so removed, stderr
  10714. output as it usually does not give anything more than our message. Also
  10715. added a Qt check for qmake that was missing.
  10716. 2010-02-17 Xan Lopez <xlopez@igalia.com>
  10717. Rubber-stamped by Gustavo Noronha.
  10718. Disable Java by default in DRT.
  10719. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  10720. (resetDefaultsToConsistentValues):
  10721. 2010-02-15 Chris Jerdonek <cjerdonek@webkit.org>
  10722. Reviewed by Shinichiro Hamaji.
  10723. Some minor check-webkit-style code clean-ups. This revision
  10724. contains no new functionality.
  10725. https://bugs.webkit.org/show_bug.cgi?id=34932
  10726. * Scripts/check-webkit-style:
  10727. - Replaced the call to webkit_argument_defaults() with a
  10728. default parameter in the ArgumentParser constructor.
  10729. * Scripts/webkitpy/style/checker.py:
  10730. - Removed the WEBKIT prefix from the default global variables.
  10731. - Prefixed several of the global variables with an underscore
  10732. to reflect that they are used internally.
  10733. - Renamed _DEFAULT_FILTER_RULES to _BASE_FILTER_RULES.
  10734. - Addressed a FIXME by changing the _PATH_RULES_SPECIFIER
  10735. configuration from list-tuple pairs to list-list pairs.
  10736. - Renamed style_categories() to _all_categories().
  10737. - Renamed webkit_argument_defaults() to _check_webkit_style_defaults().
  10738. - Renamed the ArgumentDefaults class to DefaultCommandOptionValues.
  10739. - In the ArgumentParser class--
  10740. - Renamed the doc_print attribute to stderr_write.
  10741. - Other minor updates.
  10742. * Scripts/webkitpy/style/checker_unittest.py:
  10743. - Updated the import statements and unit test classes as necessary.
  10744. - Added assertions to test _PATH_RULES_SPECIFIER more fully.
  10745. * Scripts/webkitpy/style/error_handlers_unittest.py:
  10746. - Updated the unit test classes as necessary.
  10747. - Changed StyleErrorHandlerTestBase to store a list of error
  10748. messages rather than just the last one.
  10749. * Scripts/webkitpy/style/filter.py:
  10750. - Altered FilterConfiguration._path_rules_from_path()
  10751. to convert the path_rules list to a tuple.
  10752. * Scripts/webkitpy/style/filter_unittest.py:
  10753. - Updated the unit tests to reflect the change from tuples to
  10754. lists in the _PATH_RULES_SPECIFIER configuration variable.
  10755. 2010-02-16 Mark Rowe <mrowe@apple.com>
  10756. Let's not check garbage in to common build scripts and hose the world now eh guys?
  10757. * Scripts/webkitdirs.pm:
  10758. 2010-02-16 Eric Seidel <eric@webkit.org>
  10759. Reviewed by Adam Barth.
  10760. re-factor Skipped list parsing code into multiple functions and unit test it
  10761. https://bugs.webkit.org/show_bug.cgi?id=34986
  10762. * Scripts/test-webkitpy: Add new unit test.
  10763. * Scripts/webkitpy/layout_tests/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py.
  10764. * Scripts/webkitpy/layout_tests/port/mac.py: Split parsing function into multiple functions for testing.
  10765. * Scripts/webkitpy/layout_tests/port/mac_unittest.py: Added.
  10766. 2010-02-16 Xan Lopez <xlopez@igalia.com>
  10767. Reviewed by Gustavo Noronha.
  10768. Enable 'auto-resize-window' in our DRT.
  10769. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  10770. (resetDefaultsToConsistentValues):
  10771. 2010-02-15 Martin Robinson <mrobinson@webkit.org>
  10772. Reviewed by Darin Adler.
  10773. check-webkit-style should not complain about NULL sentinel in calls to g_strconcat and g_strjoin
  10774. https://bugs.webkit.org/show_bug.cgi?id=34834
  10775. * Scripts/webkitpy/style/processors/cpp.py:
  10776. * Scripts/webkitpy/style/processors/cpp_unittest.py:
  10777. 2010-02-12 Alexey Proskuryakov <ap@apple.com>
  10778. Reviewed by Kevin Decker.
  10779. <rdar://problem/7130641> Browser objects identity is not preserved by Safari
  10780. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  10781. (pluginInvoke): Added methods for checking object identity (via refcount).
  10782. 2010-02-15 Robert Hogan <robert@roberthogan.net>
  10783. Reviewed by Simon Hausmann.
  10784. [Qt] DRT: Support evaluateInWebInspector(), setTimelineProfilingEnabled().
  10785. Support LayoutTestController.evaluateInWebInspector(), setTimelineProfilingEnabled() in Qt DRT.
  10786. https://bugs.webkit.org/show_bug.cgi?id=33096
  10787. This allows the following tests to pass:
  10788. inspector/console-format-collections.html
  10789. inspector/styles-iframe.html
  10790. inspector/syntax-highlight-css.html
  10791. inspector/syntax-highlight-javascript.html
  10792. inspector/timeline-enum-stability.html
  10793. inspector/timeline-layout.html
  10794. inspector/timeline-mark-timeline.html
  10795. inspector/timeline-paint.html
  10796. inspector/timeline-parse-html.html
  10797. inspector/timeline-recalculate-styles.html
  10798. inspector/timeline-script-tag-1.html
  10799. inspector/timeline-script-tag-2.html
  10800. inspector/timeline-trivial.html
  10801. inspector/cookie-resource-match.html
  10802. inspector/elements-img-tooltip.html
  10803. inspector/elements-panel-selection-on-refresh.html
  10804. inspector/inspected-objects-not-overriden.html
  10805. inspector/timeline-event-dispatch.html
  10806. inspector/timeline-network-resource.html
  10807. inspector/elements-panel-rewrite-href.html
  10808. inspector/console-dir.html
  10809. inspector/console-dirxml.html
  10810. inspector/console-format.html
  10811. inspector/console-tests.html
  10812. inspector/elements-panel-structure.html
  10813. inspector/evaluate-in-frontend.html
  10814. inspector/console-clear.html
  10815. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  10816. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  10817. (WebCore::isWebInspectorTest):
  10818. (WebCore::DumpRenderTree::open):
  10819. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  10820. (WebCore::DumpRenderTree::display):
  10821. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  10822. (LayoutTestController::closeWebInspector):
  10823. (LayoutTestController::showWebInspector):
  10824. (LayoutTestController::evaluateInWebInspector):
  10825. (LayoutTestController::setTimelineProfilingEnabled):
  10826. (LayoutTestController::display):
  10827. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  10828. 2010-02-14 Dirk Pranke <dpranke@chromium.org>
  10829. Reviewed by Eric Seidel.
  10830. Update rebaseline-chromium-webkit-tests to work with the new code
  10831. structure (port objects instead of path_utils and platform_utils).
  10832. Added a path_to_test_expectations_file() to the Port interface.
  10833. Fixed a bug in the chromium_* platform implementations where the
  10834. 'target' option was assumed to be set.
  10835. * Scripts/rebaseline-chromium-webkit-tests:
  10836. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  10837. * Scripts/webkitpy/layout_tests/port/base.py:
  10838. * Scripts/webkitpy/layout_tests/port/chromium.py:
  10839. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  10840. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  10841. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  10842. * Scripts/webkitpy/layout_tests/port/test.py:
  10843. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  10844. 2010-02-14 Eric Seidel <eric@webkit.org>
  10845. Reviewed by Darin Adler.
  10846. webkit-build-directory misuses terms
  10847. https://bugs.webkit.org/show_bug.cgi?id=34822
  10848. * Scripts/webkit-build-directory:
  10849. - Add --top-level and --configuration options and make using one of them required.
  10850. * Scripts/webkitpy/layout_tests/port/mac.py:
  10851. - Use --top-level instead of --base.
  10852. 2010-02-14 Chang Shu <Chang.Shu@nokia.com>
  10853. Reviewed by Laszlo Gombos.
  10854. [Qt] Enable appcache feature.
  10855. https://bugs.webkit.org/show_bug.cgi?id=34713
  10856. Re-land r54543 without the change in DumpRenderTree/qt/main.cpp.
  10857. Persistent storage for AppCache is already initialized in
  10858. DumpRenderTreeQt.cpp.
  10859. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  10860. (WebCore::WebPage::WebPage):
  10861. 2010-02-12 Chang Shu <Chang.Shu@nokia.com>
  10862. Not Reviewed.
  10863. Change case of my email address as a work-around for the following bug.
  10864. https://bugs.webkit.org/show_bug.cgi?id=34717
  10865. * Scripts/webkitpy/committers.py:
  10866. 2010-02-12 Darin Adler <darin@apple.com>
  10867. Ignore compiled Python in more of webkitpy.
  10868. * Scripts/webkitpy/style/processors: Added property svn:ignore.
  10869. 2010-02-12 Diego Gonzalez <diego.gonzalez@openbossa.org>
  10870. Reviewed by Kenneth Rohde Christiansen.
  10871. Qt DRT now dump the frame loader callbacks when LayoutTestController()
  10872. method is called.
  10873. LayoutTests:
  10874. http/tests/security/mixedContent/data-url-script-in-iframe.html
  10875. http/tests/security/mixedContent/empty-url-plugin-in-frame.html
  10876. http/tests/security/mixedContent/insecure-css-in-iframe.html
  10877. http/tests/security/mixedContent/insecure-iframe-in-iframe.html
  10878. http/tests/security/mixedContent/insecure-image-in-iframe.html
  10879. http/tests/security/mixedContent/insecure-plugin-in-iframe.html
  10880. http/tests/security/mixedContent/insecure-script-in-iframe.html
  10881. http/tests/security/mixedContent/redirect-http-to-https-script-in-iframe.html
  10882. http/tests/security/mixedContent/redirect-https-to-http-script-in-iframe.html
  10883. [Qt] Make possible Qt DRT dump frame load callbacks
  10884. https://bugs.webkit.org/show_bug.cgi?id=34702
  10885. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  10886. (LayoutTestController::reset):
  10887. (LayoutTestController::dumpFrameLoadCallbacks):
  10888. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  10889. 2010-02-12 Simon Hausmann <simon.hausmann@nokia.com>
  10890. Reviewed by Antti Koivisto.
  10891. Make QtLauncher somewhat useable on S60.
  10892. Show the window fullscreen to make scrollbars appear, resize
  10893. the toolbar buttons to 16x16 to give more screen space to
  10894. web content and moved the location lineedit into a separate
  10895. line.
  10896. * QtLauncher/main.cpp:
  10897. (LauncherWindow::LauncherWindow):
  10898. * QtLauncher/mainwindow.cpp:
  10899. (MainWindow::buildUI):
  10900. 2010-02-12 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  10901. Reviewed by Kenneth Rohde Christiansen.
  10902. Support frameset flattening
  10903. https://bugs.webkit.org/show_bug.cgi?id=32717
  10904. Add FrameSet Flattening support to Mac DRT.
  10905. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  10906. (LayoutTestController::setFrameSetFlatteningEnabled):
  10907. * DumpRenderTree/win/DumpRenderTree.cpp:
  10908. (resetDefaultsToConsistentValues):
  10909. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  10910. (LayoutTestController::setXSSAuditorEnabled):
  10911. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  10912. (LayoutTestController::setFrameSetFlatteningEnabled):
  10913. * DumpRenderTree/LayoutTestController.cpp:
  10914. (setFrameSetFlatteningEnabledCallback):
  10915. (LayoutTestController::staticFunctions):
  10916. * DumpRenderTree/LayoutTestController.h:
  10917. * DumpRenderTree/mac/DumpRenderTree.mm:
  10918. (resetDefaultsToConsistentValues):
  10919. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  10920. (LayoutTestController::setFrameSetFlatteningEnabled):
  10921. 2010-02-12 Dirk Pranke <dpranke@chromium.org>
  10922. Reviewed by Eric Seidel.
  10923. Fix typos in driver_test.py
  10924. https://bugs.webkit.org/show_bug.cgi?id=34810
  10925. * Scripts/webkitpy/layout_tests/driver_test.py:
  10926. 2010-02-12 Simon Hausmann <simon.hausmann@nokia.com>
  10927. Reviewed by Kenneth Rohde Christiansen.
  10928. [Qt] Make it possible to toggle the use of QGraphicsView in QtLauncher at run-time
  10929. https://bugs.webkit.org/show_bug.cgi?id=34844
  10930. * QtLauncher/main.cpp:
  10931. (LauncherWindow::LauncherWindow):
  10932. (LauncherWindow::initializeView):
  10933. (LauncherWindow::setupUI):
  10934. * QtLauncher/webview.cpp:
  10935. (WebViewGraphicsBased::WebViewGraphicsBased):
  10936. 2010-02-11 Fumitoshi Ukai <ukai@chromium.org>
  10937. Reviewed by Alexey Proskuryakov.
  10938. WebSocket ignores HttpOnly cookies, but should use in Handshake.
  10939. https://bugs.webkit.org/show_bug.cgi?id=34289
  10940. Update pywebsocket to 0.4.8, which supports cgi directories.
  10941. run-webkit-tests and run-webkit-websocketserver will run
  10942. pywebsocket, specifying /websocket/test/cookies as cgi directory.
  10943. * Scripts/run-webkit-tests:
  10944. * Scripts/run-webkit-websocketserver:
  10945. * pywebsocket/mod_pywebsocket/standalone.py:
  10946. * pywebsocket/setup.py:
  10947. 2010-02-11 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  10948. Reviewed by Dan Bernstein.
  10949. [Mac] Duplicated setXSSAuditorEnabled preference at Mac DRT
  10950. https://bugs.webkit.org/show_bug.cgi?id=34798
  10951. Remove duplicated setXSSAuditorEnabled preference at Mac DRT
  10952. * DumpRenderTree/mac/DumpRenderTree.mm:
  10953. (resetDefaultsToConsistentValues):
  10954. 2010-02-11 Eric Seidel <eric@webkit.org>
  10955. No review, build fix only.
  10956. webkitdirs.pm has a crazy amount of duplicated feature detection code
  10957. https://bugs.webkit.org/show_bug.cgi?id=34869
  10958. * Scripts/build-webkit: Fix typo which broke bots.
  10959. 2010-02-11 Eric Seidel <eric@webkit.org>
  10960. Reviewed by Adam Barth.
  10961. webkitdirs.pm has a crazy amount of duplicated feature detection code
  10962. https://bugs.webkit.org/show_bug.cgi?id=34869
  10963. * Scripts/build-webkit: Use the new hotness.
  10964. * Scripts/run-webkit-tests: ditto
  10965. * Scripts/webkitdirs.pm: Remove a bunch of bad duplicate code.
  10966. * Scripts/webkitperl/features.pm: Added.
  10967. - Simplified the 10 methods in webkitdirs.pm into 2 exported methods in this new file.
  10968. 2010-02-11 Daniel Bates <dbates@rim.com>
  10969. Reviewed by Adam Barth.
  10970. https://bugs.webkit.org/show_bug.cgi?id=34830
  10971. Makes method User.prompt static and adds the parameter repeat
  10972. to prompt the user up to repeat times.
  10973. * Scripts/test-webkitpy:
  10974. * Scripts/webkitpy/bugzilla.py: Substituted method User.prompt for method raw_input.
  10975. * Scripts/webkitpy/commands/upload.py: Ditto
  10976. * Scripts/webkitpy/credentials.py: Ditto
  10977. * Scripts/mock_bugzillatool.py: Updated prototype of MockUser.prompt to match User.prompt.
  10978. * Scripts/webkitpy/user.py: Made method prompt static and added parameter repeat.
  10979. * Scripts/webkitpy/user_unittest.py: Added.
  10980. 2010-02-10 Yuzo Fujishima <yuzo@google.com>
  10981. Reviewed by Darin Adler.
  10982. Allow underscored identifiers in CSSParser.cpp
  10983. Flex (http://flex.sourceforge.net/) uses identifiers named as yy_*.
  10984. WebCore/css/CSSParser.cpp needs to handle some such identifiers.
  10985. We should relax the style rule for the file to allow underscored identifiers.
  10986. https://bugs.webkit.org/show_bug.cgi?id=34787
  10987. * Scripts/webkitpy/style/checker.py:
  10988. 2010-02-11 Eric Seidel <eric@webkit.org>
  10989. Rubber-stamped by Adam Barth.
  10990. Remove DrawTest, the application I used when bringing up SVG support on the Mac.
  10991. The code hasn't been touched (or used) in years. No sense in keeping it in trunk.
  10992. * Scripts/build-drawtest: Removed.
  10993. * Scripts/run-drawtest: Removed.
  10994. * DrawTest: Removed.
  10995. 2010-02-11 Eric Seidel <eric@webkit.org>
  10996. Reviewed by Adam Barth.
  10997. Need a command to clear r+ on obsolete patches in the pending-commit queue.
  10998. https://bugs.webkit.org/show_bug.cgi?id=34863
  10999. Unfortunately our http://webkit.org/pending-commit bugzilla query is not
  11000. smart enough to ignore obsolete patches, so bugs show up there which are
  11001. still open, but do not have patches ready for landing on them.
  11002. This new command "clean-pending-commit" will remove r+ from obsolete patches
  11003. in the pending-commit list.
  11004. * Scripts/test-webkitpy: Add grammar_unittest
  11005. * Scripts/webkitpy/commands/upload.py: Add clean-pending-commit and make assign-to-committer ignore cq+'d patches.
  11006. * Scripts/webkitpy/grammar.py: Add join_with_separators
  11007. * Scripts/webkitpy/grammar_unittest.py: Added.
  11008. 2010-02-11 Eric Seidel <eric@webkit.org>
  11009. Reviewed by Adam Barth.
  11010. run-chromium-webkit-tests fails random pixel tests on Mac
  11011. https://bugs.webkit.org/show_bug.cgi?id=34862
  11012. This is due to the fact that the Mac port has an
  11013. invalid path to the image diff tool. Currently it points
  11014. to image_diff even though ImageDiff would be correct. We
  11015. can't change it to the right path yet without causing the
  11016. script to hang. ImageDiff expects to be long-running and
  11017. be passed image data over stdin. image_diff (chromium's fork)
  11018. expects to be passed command line arguments.
  11019. This fix works around the random failures by disabling pixel
  11020. tests on mac and logging if the user was trying to run with pixel
  11021. tests enabled.
  11022. * Scripts/webkitpy/layout_tests/port/mac.py:
  11023. 2010-02-11 Nikolas Zimmermann <nzimmermann@rim.com>
  11024. Reviewed by Adam Roben.
  11025. Try to fix build breakage from r54665.
  11026. * Scripts/check-for-global-initializers:
  11027. 2010-02-11 Simon Hausmann <simon.hausmann@nokia.com>
  11028. Reviewed by Tor Arne Vestbø.
  11029. Make it possible to toggle accelerated compositing from the menu
  11030. at run-time.
  11031. * QtLauncher/main.cpp:
  11032. (LauncherWindow::toggleAcceleratedCompositing):
  11033. (LauncherWindow::setupUI):
  11034. 2010-02-08 Maciej Stachowiak <mjs@apple.com>
  11035. Reviewed by Cameron Zwarich.
  11036. Restore ENABLE_RUBY flag so vendors can ship with Ruby disabled if they choose.
  11037. https://bugs.webkit.org/show_bug.cgi?id=34698
  11038. * Scripts/build-webkit:
  11039. 2010-02-10 Dirk Pranke <dpranke@chromium.org>
  11040. Reviewed by Eric Seidel.
  11041. Fix various minor bugs keeping run-chromium-webkit-tests from actually
  11042. working on the linux and win ports of Chromium.
  11043. https://bugs.webkit.org/show_bug.cgi?id=34739
  11044. * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py:
  11045. * Scripts/webkitpy/layout_tests/port/__init__.py:
  11046. * Scripts/webkitpy/layout_tests/port/base.py:
  11047. * Scripts/webkitpy/layout_tests/port/chromium.py:
  11048. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  11049. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  11050. * Scripts/webkitpy/layout_tests/port/http_server.py:
  11051. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  11052. 2010-02-10 Eric Seidel <eric@webkit.org>
  11053. Reviewed by David Levin.
  11054. run-chromium-webkit-tests --platform=mac-leopard crashes when using a custom build directory
  11055. https://bugs.webkit.org/show_bug.cgi?id=34817
  11056. This doesn't fix the root cause of us not
  11057. correctly failing when support binaries are missing.
  11058. This only causes the DumpRenderTree binary not to be
  11059. missing in the custom build directory case.
  11060. Later patches will make us correctly fail fast when
  11061. support binaries (like DumpRenderTree or ImageDiff) are missing.
  11062. * Scripts/webkit-build-directory: Added.
  11063. - Need a way to re-use the perl logic for finding build directories in non-perl scripts.
  11064. * Scripts/webkitpy/layout_tests/port/base.py: Add a FIXME.
  11065. * Scripts/webkitpy/layout_tests/port/mac.py:
  11066. - Call webkit-build-directory to find the build directory instead of assuming "WebKitBuild"
  11067. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: Add FIXMEs.
  11068. 2010-02-10 Kevin Watters <kevinwatters@gmail.com>
  11069. Reviewed by Kevin Ollivier.
  11070. [wx] Add Windows complex text support.
  11071. https://bugs.webkit.org/show_bug.cgi?id=34759
  11072. * wx/build/settings.py:
  11073. 2010-02-10 Kevin Ollivier <kevino@theolliviers.com>
  11074. [wx] Build fix. Add stub for new LayoutTestController method.
  11075. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  11076. (LayoutTestController::numberOfPages):
  11077. 2010-02-10 Csaba Osztrogonác <ossy@webkit.org>
  11078. Unreviewed. Roll out r54626, because it broke GTK and Win build.
  11079. https://bugs.webkit.org/show_bug.cgi?id=32717
  11080. * DumpRenderTree/LayoutTestController.cpp:
  11081. (LayoutTestController::staticFunctions):
  11082. * DumpRenderTree/LayoutTestController.h:
  11083. * DumpRenderTree/mac/DumpRenderTree.mm:
  11084. (resetDefaultsToConsistentValues):
  11085. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  11086. 2010-02-10 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  11087. Reviewed by Kenneth Rohde Christiansen.
  11088. Support frameset flattening
  11089. https://bugs.webkit.org/show_bug.cgi?id=32717
  11090. Add FrameSet Flattening support to Mac DRT.
  11091. * DumpRenderTree/LayoutTestController.cpp:
  11092. (setFrameSetFlatteningEnabledCallback):
  11093. (LayoutTestController::staticFunctions):
  11094. * DumpRenderTree/LayoutTestController.h:
  11095. * DumpRenderTree/mac/DumpRenderTree.mm:
  11096. (resetDefaultsToConsistentValues):
  11097. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  11098. (LayoutTestController::setFrameSetFlatteningEnabled):
  11099. 2010-02-08 Jon Honeycutt <jhoneycutt@apple.com>
  11100. <rdar://problem/7436875> Crash in Flash when visiting
  11101. http://www.cctv.com/default.shtml (WER ID 819298200) [watson 2502260]
  11102. Reviewed by Darin Adler.
  11103. * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
  11104. (executeScript):
  11105. Moved to an earlier point in the file.
  11106. (NPP_New):
  11107. If the plug-in has an onDestroy attribute, store its value.
  11108. (NPP_Destroy):
  11109. If the plug-in has code to run on destruction, run it and free it.
  11110. 2010-02-10 Diego Gonzalez <diego.gonzalez@openbossa.org>
  11111. Reviewed by Kenneth Rohde Christiansen.
  11112. Implement pageNumberForElementById() method in Qt DRT LayoutTestController,
  11113. to make Qt DRT able to get page number.
  11114. LayoutTests:
  11115. printing/page-break-always.html
  11116. printing/pageNumerForElementById.html
  11117. printing/css2.1/page-break-before-000.html
  11118. printing/css2.1/page-break-after-000.html
  11119. printing/css2.1/page-break-after-004.html
  11120. printing/css2.1/page-break-before-001.html
  11121. printing/css2.1/page-break-after-001.html
  11122. printing/css2.1/page-break-after-002.html
  11123. printing/css2.1/page-break-before-002.html
  11124. printing/css2.1/page-break-inside-000.html
  11125. [Qt] Make possible Qt DRT get a page number for element by ID
  11126. https://bugs.webkit.org/show_bug.cgi?id=34777
  11127. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  11128. (LayoutTestController::pageNumberForElementById):
  11129. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  11130. 2010-02-10 Andras Becsi <abecsi@webkit.org>
  11131. Reviewed by Adam Barth.
  11132. Make run-iexploder-tests work on Linux.
  11133. https://bugs.webkit.org/show_bug.cgi?id=34748
  11134. Extract the platform dependant Apache configuration checking code in httpd.pm to a separate function
  11135. called getHTTPDConfigPathForTestDirectory and use run-launcher instead of run-safari if run on Linux.
  11136. * Scripts/run-iexploder-tests:
  11137. * Scripts/webkitperl/httpd.pm:
  11138. 2010-02-09 Csaba Osztrogonác <ossy@webkit.org>
  11139. [Qt] Unreviewed. Roll-out r54543, because layout tests crash in debug mode.
  11140. https://bugs.webkit.org/show_bug.cgi?id=34713
  11141. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  11142. (WebCore::WebPage::WebPage):
  11143. * DumpRenderTree/qt/main.cpp:
  11144. (main):
  11145. 2010-02-09 Alejandro G. Castro <alex@igalia.com>
  11146. Unreviewed; added myself to committers
  11147. * Scripts/webkitpy/committers.py:
  11148. 2010-02-09 Yael Aharon <yael.aharon@nokia.com>
  11149. Reviewed by Kenneth Rohde Christiansen.
  11150. [Qt] Webkit in Qt does not have window.showModalDialog
  11151. https://bugs.webkit.org/show_bug.cgi?id=25585
  11152. Set the modality flag when createWindow is called with window type WebWindowDialog.
  11153. * QtLauncher/main.cpp:
  11154. (WebPage::createWindow):
  11155. 2010-02-09 Andras Becsi <abecsi@webkit.org>
  11156. Unreviewed trivial warning fix.
  11157. * Scripts/build-webkit:
  11158. 2010-02-09 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>
  11159. Reviewed by Tor Arne Vestbø.
  11160. Add possibility of passing parameters to build-webkit by environment variable,
  11161. because the buildbot slaves can't control the arguments.
  11162. * Scripts/build-webkit:
  11163. 2010-02-09 Chang Shu <Chang.Shu@nokia.com>
  11164. Reviewed by Laszlo Gombos.
  11165. [Qt] Enable appcache feature.
  11166. https://bugs.webkit.org/show_bug.cgi?id=34713
  11167. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  11168. (WebCore::WebPage::WebPage):
  11169. * DumpRenderTree/qt/main.cpp:
  11170. (main):
  11171. 2010-02-09 Shinichiro Hamaji <hamaji@chromium.org>
  11172. Reviewed by Darin Adler.
  11173. Provide a way to get total number of pages to be printed
  11174. https://bugs.webkit.org/show_bug.cgi?id=34699
  11175. * DumpRenderTree/LayoutTestController.cpp:
  11176. (parsePageParameters):
  11177. (pageNumberForElementByIdCallback):
  11178. (numberOfPagesCallback):
  11179. (LayoutTestController::staticFunctions):
  11180. * DumpRenderTree/LayoutTestController.h:
  11181. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  11182. (LayoutTestController::numberOfPages):
  11183. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  11184. (LayoutTestController::numberOfPages):
  11185. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  11186. (LayoutTestController::numberOfPages):
  11187. 2010-02-08 Alexey Proskuryakov <ap@apple.com>
  11188. Reviewed by Darin Adler.
  11189. https://bugs.webkit.org/show_bug.cgi?id=34727
  11190. Assertion crashes and freezes when plug-in property access results in an exception
  11191. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  11192. (pluginGetProperty): Raise an exception when accessing a particular property.
  11193. (pluginSetProperty): Ditto.
  11194. (pluginInvoke): Added methods to get and set host object properties.
  11195. 2010-02-08 Kenneth Rohde Christiansen <kenneth@webkit.org>
  11196. Reviewed by Ariya Hidayat.
  11197. [Qt] Backport No'am Rosenthal's frame rate measurement
  11198. * QtLauncher/main.cpp:
  11199. (LauncherWindow::LauncherWindow):
  11200. (LauncherApplication::handleUserOptions):
  11201. * QtLauncher/webview.cpp:
  11202. (WebViewGraphicsBased::WebViewGraphicsBased):
  11203. (WebViewGraphicsBased::enableFrameRateMeasurement):
  11204. (WebViewGraphicsBased::updateFrameRate):
  11205. (WebViewGraphicsBased::paintEvent):
  11206. * QtLauncher/webview.h:
  11207. 2010-02-08 Kenneth Rohde Christiansen <kenneth@webkit.org>
  11208. Reviewed by Tor Arne Vestbø.
  11209. [Qt] Make overridePreference complain when it does not
  11210. support the preference given.
  11211. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  11212. (LayoutTestController::overridePreference):
  11213. 2010-02-08 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  11214. Reviewed by Kenneth Rohde Christiansen.
  11215. [Qt] Set stdout/stderr to binary mode for DRT on Windows
  11216. This makes sure we don't end up with lots of CRLFs in the
  11217. DRT output, which breaks tons of results. Matches what
  11218. the Windows DRT does.
  11219. * DumpRenderTree/qt/main.cpp:
  11220. 2010-02-08 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  11221. Reviewed by Kenneth Rohde Christiansen.
  11222. Build fix for Qt on Windows.
  11223. Don't use noreturn directly since it's a gcc attribute.
  11224. Instead use the NO_RETURN macro from AlwaysInline.h
  11225. * QtLauncher/QtLauncher.pro:
  11226. * QtLauncher/utils.h:
  11227. 2010-02-05 Chris Jerdonek <cjerdonek@webkit.org>
  11228. Reviewed by Shinichiro Hamaji.
  11229. Suppressed check-webkit-style's underscore check in Qt's autotests.
  11230. Also made the path-specific filter check case-insensitive.
  11231. https://bugs.webkit.org/show_bug.cgi?id=34574
  11232. * Scripts/webkitpy/style/checker.py:
  11233. - Added a list element to _PATH_RULES_SPECIFIER for
  11234. directories that should be excluded from the
  11235. "readability/naming" category (the category that relates to
  11236. underscores in identifiers, for example).
  11237. * Scripts/webkitpy/style/checker_unittest.py:
  11238. - Added an "end-to-end" test for "WebKit/qt/tests/".
  11239. * Scripts/webkitpy/style/filter.py:
  11240. - Altered FilterConfiguration's should_check() method to
  11241. check for path substring matches case-insensitively.
  11242. * Scripts/webkitpy/style/filter_unittest.py:
  11243. - Added a test to check case-insensitive path substring matching.
  11244. * Scripts/webkitpy/style/processors/cpp.py:
  11245. - Removed the hard-coded "WebKit/gtk/webkit/" path reference
  11246. since this is now taken care of by the _PATH_RULES_SPECIFIER
  11247. configuration variable.
  11248. * Scripts/webkitpy/style/processors/cpp_unittest.py:
  11249. - Removed the unit test for the GTK directory since this
  11250. is now taken care of by the checker._PATH_RULES_SPECIFIER
  11251. end-to-end tests.
  11252. 2010-02-08 Leith Bade <leith@leithalweapon.geek.nz>
  11253. Reviewed by Darin Adler.
  11254. Fixes: https://bugs.webkit.org/show_bug.cgi?id=34637
  11255. Corrects the newline inserted into WebKitOutputDir, and WebKitLibrariesDir Windows
  11256. environemnt variables when there is a space in the user's /home path.
  11257. * Scripts/webkitdirs.pm:
  11258. - Added missing quotes around $sourceDir in argument list of cygpath in determineWindowsSourceDir().
  11259. 2010-02-05 Alexey Proskuryakov <ap@apple.com>
  11260. Reviewed by Oliver Hunt.
  11261. https://bugs.webkit.org/show_bug.cgi?id=34670
  11262. TestNetscapePlugin should work with Firefox
  11263. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: (NPP_New): Default to Carbon if
  11264. browser doesn't tell what it supports.
  11265. 2010-02-05 Shinichiro Hamaji <hamaji@chromium.org>
  11266. Reviewed by Gustavo Noronha Silva.
  11267. [Gtk] Implement layoutTestController.pageNumberForElementById
  11268. https://bugs.webkit.org/show_bug.cgi?id=34572
  11269. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  11270. (LayoutTestController::pageNumberForElementById):
  11271. 2010-02-03 Dirk Pranke <dpranke@chromium.org>
  11272. Reviewed by Eric Seidel.
  11273. Add a simple test implementation and the WebKit Mac implementation
  11274. for the layout_tests/port package. Also add a simple test driver of
  11275. that interface.
  11276. https://bugs.webkit.org/show_bug.cgi?id=34511
  11277. * Scripts/webkitpy/layout_tests/driver_test.py: Added.
  11278. * Scripts/webkitpy/layout_tests/port/__init__.py:
  11279. * Scripts/webkitpy/layout_tests/port/mac.py: Added.
  11280. * Scripts/webkitpy/layout_tests/port/test.py: Added.
  11281. 2010-02-03 Dirk Pranke <dpranke@chromium.org>
  11282. Reviewed by Eric Siedel.
  11283. Refactor the port package into an object-oriented style and merge
  11284. path_utils into it. We add a 'base' and a 'chromium' object to the
  11285. port package; this will allow us to easily add new ports (like
  11286. WebKit Mac).
  11287. https://bugs.webkit.org/show_bug.cgi?id=34511
  11288. * Scripts/rebaseline-chromium-webkit-tests:
  11289. * Scripts/run-chromium-webkit-tests:
  11290. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  11291. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  11292. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  11293. * Scripts/webkitpy/layout_tests/layout_package/test_files.py:
  11294. * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py:
  11295. * Scripts/webkitpy/layout_tests/port/__init__.py:
  11296. * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
  11297. * Scripts/webkitpy/layout_tests/port/base.py: Added.
  11298. * Scripts/webkitpy/layout_tests/port/chromium.py: Added.
  11299. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  11300. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  11301. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  11302. * Scripts/webkitpy/layout_tests/port/http_server.py:
  11303. * Scripts/webkitpy/layout_tests/port/http_server_base.py:
  11304. * Scripts/webkitpy/layout_tests/port/path_utils.py: Removed.
  11305. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  11306. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  11307. * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py:
  11308. * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py:
  11309. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  11310. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  11311. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  11312. 2010-01-19 Kenneth Rohde Christiansen <kenneth@webkit.org>
  11313. Reviewed by Dave Hyatt.
  11314. Implement flattening of framesets
  11315. https://bugs.webkit.org/show_bug.cgi?id=32717
  11316. Add support for testing frame flattening with the Qt DRT
  11317. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  11318. (LayoutTestController::setFrameSetFlatteningEnabled):
  11319. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  11320. 2010-02-03 Chris Jerdonek <cjerdonek@webkit.org>
  11321. Reviewed by Shinichiro Hamaji.
  11322. Provided a way in check-webkit-style to specify filter rules
  11323. on a per file or folder basis, via a configuration variable.
  11324. https://bugs.webkit.org/show_bug.cgi?id=33684
  11325. * Scripts/webkitpy/style/checker.py:
  11326. - Added _PATH_RULES_SPECIFIER configuration variable.
  11327. - In ProcessorOptions class--
  11328. - Changed the CategoryFilter attribute to FilterConfiguration.
  11329. - Added path parameter to is_reportable().
  11330. - Renamed ArgumentDefaults filter_rules attribute to
  11331. base_filter_rules.
  11332. - Updated ArgumentPrinter class.
  11333. - Added filter rule validation to ArgumentParser (instead of
  11334. in CategoryFilter constructor).
  11335. * Scripts/webkitpy/style/checker_unittest.py:
  11336. - Updated unit tests as necessary.
  11337. - Added unit tests for PATH_RULES_SPECIFIER.
  11338. * Scripts/webkitpy/style/error_handlers.py:
  11339. - Updated DefaultStyleErrorHandler to use file path when
  11340. calling is_reportable().
  11341. * Scripts/webkitpy/style/error_handlers_unittest.py:
  11342. - Updated unit tests as necessary.
  11343. * Scripts/webkitpy/style/filter.py:
  11344. - Marked CategoryFilter internal with an underscore.
  11345. - Removed argument validation from CategoryFilter.
  11346. - Added FilterConfiguration class.
  11347. * Scripts/webkitpy/style/filter_unittest.py:
  11348. - Updated CategoryFilterTest class.
  11349. - Added FilterConfigurationTest unit tests.
  11350. * Scripts/webkitpy/style/processors/cpp.py:
  11351. - Removed _is_test_filename() code.
  11352. - Removed hard-coded path checks from check_include_line().
  11353. * Scripts/webkitpy/style/processors/cpp_unittest.py:
  11354. - Removed three unit tests related to exempted files.
  11355. 2010-02-05 Kenneth Rohde Christiansen <kenneth@webkit.org>
  11356. Reviewed by Ariya Hidayat.
  11357. [Qt] Apply the command line options as settings to the
  11358. graphics system.
  11359. * QtLauncher/main.cpp:
  11360. (LauncherWindow::LauncherWindow):
  11361. (requiresGraphicsView):
  11362. (LauncherApplication::handleUserOptions):
  11363. * QtLauncher/webview.h:
  11364. (WebViewGraphicsBased::setItemCacheMode):
  11365. 2010-02-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  11366. Reviewed by Simon Hausmann.
  11367. Notify user that run-webkit-tests has to be run under Cygwin
  11368. The script will bail out if run under Windows shell or Msys.
  11369. * Scripts/run-webkit-tests:
  11370. * Scripts/webkitdirs.pm:
  11371. 2010-02-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  11372. Reviewed by Simon Hausmann.
  11373. [Qt] Generate convenience headers (QWebView, etc) using qmake
  11374. In Qt this is done using syncqt, but we use a pro-file instead
  11375. that generates makefile-rules for each of the extra headers.
  11376. These extra headers are installed alongside the normal headers.
  11377. * Scripts/webkitdirs.pm: Run qmake and make on new API-DerivedSources
  11378. 2010-02-05 Andras Becsi <abecsi@webkit.org>
  11379. Unreviewed typo fix.
  11380. Fix wrong whitespace alignment introduced in r54342.
  11381. * Scripts/run-webkit-tests:
  11382. 2010-02-04 Mark Rowe <mrowe@apple.com>
  11383. Reviewed by Timothy Hatcher.
  11384. Build fix. Remove a symbol corresponding to an inline function from the linker export
  11385. file to prevent a weak external failure.
  11386. * Scripts/check-for-weak-vtables-and-externals: Renamed from WebKitTools/Scripts/check-for-weak-vtables.
  11387. Teach the script how to detect weak external symbols so that these errors can be caught immediately
  11388. in the future.
  11389. 2010-02-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
  11390. Rubberstamped by Oliver Hunt.
  11391. [Qt] Make it possible to choose whether the launcher should
  11392. use the traditional QWidget based QWebView or the newer
  11393. QGraphics based QGraphicsWebView on a QGraphicsView.
  11394. * QtLauncher/main.cpp:
  11395. (LauncherWindow::LauncherWindow):
  11396. (LauncherWindow::eventFilter):
  11397. (LauncherWindow::loadStarted):
  11398. (LauncherWindow::print):
  11399. (LauncherWindow::screenshot):
  11400. (LauncherWindow::setEditable):
  11401. (LauncherWindow::setupUI):
  11402. (main):
  11403. * QtLauncher/webview.cpp:
  11404. (WebViewGraphicsBased::WebViewGraphicsBased):
  11405. (WebViewGraphicsBased::resizeEvent):
  11406. (GraphicsWebView::mousePressEvent):
  11407. (GraphicsWebView::contextMenuEvent):
  11408. * QtLauncher/webview.h:
  11409. (WebViewTraditional::WebViewTraditional):
  11410. (GraphicsWebView::GraphicsWebView):
  11411. (WebViewGraphicsBased::setPage):
  11412. 2010-02-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
  11413. Rubberstamped by Oliver Hunt.
  11414. [Qt] QtLauncher cleanup.
  11415. Refactor option handling out in utility functions and make the
  11416. arguments more Qt compatible.
  11417. * QtLauncher/main.cpp:
  11418. (requiresGraphicsView):
  11419. (LauncherApplication::handleUserOptions):
  11420. * QtLauncher/utils.cpp:
  11421. (takeOptionValue):
  11422. (formatKeys):
  11423. (enumToKeys):
  11424. (appQuit):
  11425. * QtLauncher/utils.h:
  11426. 2010-02-04 Andras Becsi <abecsi@inf.u-szeged.hu>
  11427. Reviewed by Tor Arne Vestbø.
  11428. Implement a locking and scheduling mechanism for http testing sessions to be able
  11429. to run multiple instances of run-webkit-tests parallel on the same machine.
  11430. If a test session wants to run http tests and this feature is enabled, the pending
  11431. sessions create lockfiles with sequential lock numbers. These locks are used to schedule
  11432. the running test sessions in first come first served order. An exclusive lock ensures
  11433. that the lock numbers are sequential to avoid deadlocks and starvation.
  11434. Because the buildbot master specifies the flags used by slaves we need an environment
  11435. variable too to be able to use the feature per-slave.
  11436. Exporting WEBKIT_WAIT_FOR_HTTPD=1 before testing or using the --wait-for-httpd
  11437. flag enables this feature, otherwise this patch has no effect on the testing whatsoever.
  11438. https://bugs.webkit.org/show_bug.cgi?id=33153
  11439. * Scripts/run-webkit-tests:
  11440. * Scripts/webkitperl/httpd.pm:
  11441. 2010-01-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  11442. Reviewed by Simon Hausmann.
  11443. Make run-webkit-tests work under Cygwin for the Qt port
  11444. setPathForRunningWebKitApp() is implemented for the Qt port
  11445. by using qmake to query for the location of the Qt libraries.
  11446. This requires the original environment (%ENV) to be untouched,
  11447. so launchWithCurrentEnv() was refactored to launchWithEnv(),
  11448. and the code in openDumpTool() to not use %ENV but a %CLEAN_ENV
  11449. instead. This has the added benefit of getting rid of the temp
  11450. variables used for storing the current env.
  11451. openDumpTool() is also refactored a bit into platform-spesific,
  11452. port-spesific, and generic environment variables.
  11453. Checks for undef was added a few places to fix Perl concat
  11454. warnings when run-webkit-tests is aborted.
  11455. https://bugs.webkit.org/show_bug.cgi?id=33895
  11456. * Scripts/run-webkit-tests:
  11457. * Scripts/webkitdirs.pm:
  11458. 2010-02-04 Yuzo Fujishima <yuzo@google.com>
  11459. Unreviewed.
  11460. Add Yuzo to the committers list.
  11461. * Scripts/webkitpy/committers.py:
  11462. 2010-02-03 Dirk Pranke <dpranke@chromium.org>
  11463. Rubber-stamped by Eric Seidel.
  11464. Change "the Chromium name" to "the name of Google Inc." in the licenses
  11465. https://bugs.webkit.org/show_bug.cgi?id=34511
  11466. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  11467. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  11468. * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py:
  11469. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  11470. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  11471. * Scripts/webkitpy/layout_tests/layout_package/test_files.py:
  11472. * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py:
  11473. * Scripts/webkitpy/layout_tests/port/__init__.py:
  11474. * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
  11475. * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  11476. * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  11477. * Scripts/webkitpy/layout_tests/port/chromium_win.py:
  11478. * Scripts/webkitpy/layout_tests/port/http_server.py:
  11479. * Scripts/webkitpy/layout_tests/port/http_server_base.py:
  11480. * Scripts/webkitpy/layout_tests/port/path_utils.py:
  11481. * Scripts/webkitpy/layout_tests/port/websocket_server.py:
  11482. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  11483. * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py:
  11484. * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py:
  11485. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  11486. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  11487. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  11488. 2010-02-03 Dirk Pranke <dpranke@chromium.org>
  11489. Rubber-stamped by Eric Siedel.
  11490. Rename files as part of refactoring the layout_tests package. All
  11491. the platform_utils* module, the path_utils.py module, and
  11492. the http server and web socket server modules are moved into a new
  11493. port/ package.
  11494. https://bugs.webkit.org/show_bug.cgi?id=34511
  11495. * Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py: Removed.
  11496. * Scripts/webkitpy/layout_tests/layout_package/http_server.py: Removed.
  11497. * Scripts/webkitpy/layout_tests/layout_package/http_server_base.py: Removed.
  11498. * Scripts/webkitpy/layout_tests/layout_package/httpd2.pem: Removed.
  11499. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  11500. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  11501. * Scripts/webkitpy/layout_tests/layout_package/lighttpd.conf: Removed.
  11502. * Scripts/webkitpy/layout_tests/layout_package/path_utils.py: Removed.
  11503. * Scripts/webkitpy/layout_tests/layout_package/platform_utils.py: Removed.
  11504. * Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py: Removed.
  11505. * Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py: Removed.
  11506. * Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py: Removed.
  11507. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  11508. * Scripts/webkitpy/layout_tests/layout_package/test_files.py:
  11509. * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py:
  11510. * Scripts/webkitpy/layout_tests/layout_package/websocket_server.py: Removed.
  11511. * Scripts/webkitpy/layout_tests/port: Added.
  11512. * Scripts/webkitpy/layout_tests/port/__init__.py: Copied from Scripts/webkitpy/layout_tests/layout_package/platform_utils.py.
  11513. * Scripts/webkitpy/layout_tests/port/apache_http_server.py: Copied from Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py.
  11514. * Scripts/webkitpy/layout_tests/port/chromium_linux.py: Copied from Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py.
  11515. * Scripts/webkitpy/layout_tests/port/chromium_mac.py: Copied from Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py.
  11516. * Scripts/webkitpy/layout_tests/port/chromium_win.py: Copied from Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py.
  11517. * Scripts/webkitpy/layout_tests/port/http_server.py: Copied from Scripts/webkitpy/layout_tests/layout_package/http_server.py.
  11518. * Scripts/webkitpy/layout_tests/port/http_server_base.py: Copied from Scripts/webkitpy/layout_tests/layout_package/http_server_base.py.
  11519. * Scripts/webkitpy/layout_tests/port/httpd2.pem: Copied from Scripts/webkitpy/layout_tests/layout_package/httpd2.pem.
  11520. * Scripts/webkitpy/layout_tests/port/lighttpd.conf: Copied from Scripts/webkitpy/layout_tests/layout_package/lighttpd.conf.
  11521. * Scripts/webkitpy/layout_tests/port/path_utils.py: Copied from Scripts/webkitpy/layout_tests/layout_package/path_utils.py.
  11522. * Scripts/webkitpy/layout_tests/port/websocket_server.py: Copied from Scripts/webkitpy/layout_tests/layout_package/websocket_server.py.
  11523. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  11524. * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py:
  11525. * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py:
  11526. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  11527. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  11528. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  11529. 2010-02-03 Csaba Osztrogonác <ossy@webkit.org>
  11530. Rubber-stamped by Eric Seidel.
  11531. Roll back r53559 and r54084 again, because roll out didn't solve flakeyness on the Windows Test bots
  11532. https://bugs.webkit.org/show_bug.cgi?id=34399
  11533. * Scripts/run-iexploder-tests:
  11534. * Scripts/run-webkit-httpd:
  11535. * Scripts/run-webkit-tests:
  11536. * Scripts/webkitperl/httpd.pm: Added.
  11537. 2010-02-03 Csaba Osztrogonác <ossy@webkit.org>
  11538. Rubber-stamped by Eric Seidel.
  11539. Roll out r53559 and r54084, because it might caused flakeyness on the Windows Test bots
  11540. * Scripts/run-iexploder-tests:
  11541. * Scripts/run-webkit-httpd:
  11542. * Scripts/run-webkit-tests:
  11543. * Scripts/webkitperl/httpd.pm: Removed.
  11544. 2010-02-03 Csaba Osztrogonác <ossy@webkit.org>
  11545. Rubber-stamped by Ariya Hidayat.
  11546. Roll back r53889 again, because roll out didn't solve flakeyness on the Windows Test bots
  11547. https://bugs.webkit.org/show_bug.cgi?id=34399
  11548. * DumpRenderTree/win/EventSender.cpp:
  11549. (buildModifierFlags):
  11550. (mouseDownCallback):
  11551. (mouseUpCallback):
  11552. (keyDownCallback):
  11553. 2010-02-03 Eric Seidel <eric@webkit.org>
  11554. No review, just fixing copyrights.
  11555. Concerns were expressed about "The Chromium Authors" being
  11556. a valid legal entity for copyright assignment in the WebKit repository,
  11557. so this change removes all "The Chromium Authors".
  11558. I looked at the svn logs in src.chromium.org and failed to find any
  11559. non-google contributions to these files, so they are all now
  11560. marked as copyright "Google Inc" as all Google contributers assign
  11561. copyright to "Google Inc" as part of their employment agreement.
  11562. * Scripts/rebaseline-chromium-webkit-tests:
  11563. * Scripts/run-chromium-webkit-tests:
  11564. * Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py:
  11565. * Scripts/webkitpy/layout_tests/layout_package/http_server.py:
  11566. * Scripts/webkitpy/layout_tests/layout_package/http_server_base.py:
  11567. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
  11568. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  11569. * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py:
  11570. * Scripts/webkitpy/layout_tests/layout_package/path_utils.py:
  11571. * Scripts/webkitpy/layout_tests/layout_package/platform_utils.py:
  11572. * Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py:
  11573. * Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py:
  11574. * Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py:
  11575. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  11576. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
  11577. * Scripts/webkitpy/layout_tests/layout_package/test_files.py:
  11578. * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py:
  11579. * Scripts/webkitpy/layout_tests/layout_package/websocket_server.py:
  11580. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
  11581. * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py:
  11582. * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py:
  11583. * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
  11584. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
  11585. * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
  11586. 2010-02-03 Kenneth Rohde Christiansen <kenneth@webkit.org>
  11587. Reviewed by Ariya Hidayat.
  11588. [Qt] QtLauncher, refactor argument handling in preparation of merge
  11589. with QGVLauncher
  11590. * QtLauncher/main.cpp:
  11591. (LauncherApplication::urls):
  11592. (LauncherApplication::isRobotized):
  11593. (LauncherApplication::applyDefaultSettings):
  11594. (LauncherApplication::LauncherApplication):
  11595. (LauncherApplication::formatKeys):
  11596. (LauncherApplication::enumToKeys):
  11597. (fail):
  11598. (LauncherApplication::handleUserOptions):
  11599. (main):
  11600. 2010-02-03 Csaba Osztrogonác <ossy@webkit.org>
  11601. Rubber-stamped by Ariya Hidayat.
  11602. Rolling out r53889, because it might caused flakeyness on the Windows Test bots
  11603. https://bugs.webkit.org/show_bug.cgi?id=34399
  11604. * DumpRenderTree/win/EventSender.cpp:
  11605. (mouseDownCallback):
  11606. (mouseUpCallback):
  11607. (keyDownCallback):
  11608. 2010-02-03 Csaba Osztrogonác <ossy@webkit.org>
  11609. Reviewed by Ariya Hidayat.
  11610. [Qt] Fix pixel tests support.
  11611. https://bugs.webkit.org/show_bug.cgi?id=27813
  11612. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  11613. (WebCore::DumpRenderTree::open):
  11614. (WebCore::DumpRenderTree::processLine):
  11615. - Hash processing mechanism moved from DumpRenderTree::open to DumpRenderTree::processLine.
  11616. (WebCore::DumpRenderTree::dump): Fixed and renamed variables.
  11617. 2010-02-03 Kevin Watters <kevinwatters@gmail.com>
  11618. Reviewed by Kevin Ollivier.
  11619. [wx] Enable JIT compilation for wx.
  11620. https://bugs.webkit.org/show_bug.cgi?id=34536
  11621. * wx/build/settings.py:
  11622. 2010-02-02 Kevin Ollivier <kevino@theolliviers.com>
  11623. [wx] Build fix after introduction of pageNumberForElementById.
  11624. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  11625. (LayoutTestController::pageNumberForElementById):
  11626. 2010-02-02 Shu Chang <Chang.Shu@nokia.com>
  11627. Unreviewed.
  11628. Add myself to list of committers.
  11629. * Scripts/webkitpy/committers.py:
  11630. 2010-02-02 Chris Jerdonek <cjerdonek@webkit.org>
  11631. Reviewed by Shinichiro Hamaji.
  11632. Moved filter-related check-webkit-style code into a separate
  11633. filter module.
  11634. https://bugs.webkit.org/show_bug.cgi?id=34408
  11635. This is preparatory refactoring for Bug 33684, which will allow
  11636. file and folder-specific filter rules.
  11637. * Scripts/webkitpy/style/checker.py:
  11638. - Removed CategoryFilter class (moved to filter.py).
  11639. * Scripts/webkitpy/style/checker_unittest.py:
  11640. - Removed CategoryFilter unit tests (moved to filter_unittest.py).
  11641. * Scripts/webkitpy/style/filter.py: Added.
  11642. - Added CategoryFilter class (moved from checker.py).
  11643. * Scripts/webkitpy/style/filter_unittest.py: Added.
  11644. - Added CategoryFilter unit tests (moved from checker_unittest.py).
  11645. * Scripts/webkitpy/style/unittests.py:
  11646. - Added reference to filter_unittest.py.
  11647. 2010-02-01 Chris Jerdonek <cjerdonek@webkit.org>
  11648. Reviewed by Shinichiro Hamaji.
  11649. Addressed FIXME in check-webkit-style so that the carriage-return
  11650. check will work for patches.
  11651. https://bugs.webkit.org/show_bug.cgi?id=34260
  11652. Also added support for limiting the number of errors reported
  11653. per category, per file.
  11654. * Scripts/webkitpy/style/checker.py:
  11655. - Added new "whitespace/carriage_return" category from common.py.
  11656. - Added MAX_REPORTS_PER_CATEGORY dictionary.
  11657. - Added max_reports_per_category attribute to ProcessorOptions class.
  11658. - Refactored StyleChecker._process_file().
  11659. * Scripts/webkitpy/style/checker_unittest.py:
  11660. - Updated ProcessorOptionsTest tests.
  11661. - Added test to check MAX_REPORTS_PER_CATEGORY.
  11662. * Scripts/webkitpy/style/error_handlers.py:
  11663. - Added support for suppressing the display of errors after
  11664. reaching a per-category maximum (from max_reports_per_category).
  11665. * Scripts/webkitpy/style/error_handlers_unittest.py:
  11666. - Added test for suppressing error display.
  11667. * Scripts/webkitpy/style/processors/common.py: Added.
  11668. - Moved carriage-return check to new file.
  11669. * Scripts/webkitpy/style/processors/common_unittest.py: Added.
  11670. - Added unit tests for carriage-return check.
  11671. * Scripts/webkitpy/style/unittests.py:
  11672. - Added reference to common_unittest.py.
  11673. 2010-02-01 Shinichiro Hamaji <hamaji@chromium.org>
  11674. Reviewed by Eric Seidel.
  11675. Provide a way to get page number with layoutTestController
  11676. https://bugs.webkit.org/show_bug.cgi?id=33840
  11677. * DumpRenderTree/LayoutTestController.cpp:
  11678. (pageNumberForElementByIdCallback):
  11679. (LayoutTestController::staticFunctions):
  11680. * DumpRenderTree/LayoutTestController.h:
  11681. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  11682. (LayoutTestController::pageNumberForElementById):
  11683. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  11684. (LayoutTestController::pageNumberForElementById):
  11685. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  11686. (LayoutTestController::pageNumberForElementById):
  11687. 2010-02-01 Shinichiro Hamaji <hamaji@chromium.org>
  11688. Unreviewed fix for an invalid function call.
  11689. check-webkit-style: Remove filename parameter from all functions where no longer used
  11690. https://bugs.webkit.org/show_bug.cgi?id=34249
  11691. * Scripts/webkitpy/style/checker.py:
  11692. 2010-02-01 Diego Gonzalez <diego.gonzalez@openbossa.org>
  11693. Reviewed by Kenneth Rohde Christiansen.
  11694. [Qt] DRT Provide global flag ability
  11695. https://bugs.webkit.org/show_bug.cgi?id=34418
  11696. Add the globalFlag property to the Qt LayoutTestController to allow
  11697. cross-domain indications.
  11698. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  11699. (LayoutTestController::reset):
  11700. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  11701. (LayoutTestController::globalFlag):
  11702. (LayoutTestController::setGlobalFlag):
  11703. 2010-02-01 Brady Eidson <beidson@apple.com>
  11704. Reviewed by Adele Peterson.
  11705. Crash in Safari opening new tabs to "same page"
  11706. <rdar://problem/7593857> and https://bugs.webkit.org/show_bug.cgi?id=34444
  11707. Add a mode (Mac-only for now) that exercises the WebView SPI _loadBackForwardListFromOtherView:
  11708. * DumpRenderTree/LayoutTestController.cpp:
  11709. (LayoutTestController::LayoutTestController):
  11710. (setNewWindowsCopyBackForwardListCallback):
  11711. (LayoutTestController::staticFunctions):
  11712. * DumpRenderTree/LayoutTestController.h:
  11713. (LayoutTestController::newWindowsCopyBackForwardList):
  11714. (LayoutTestController::setNewWindowsCopyBackForwardList):
  11715. * DumpRenderTree/mac/UIDelegate.mm:
  11716. (-[UIDelegate webView:createWebViewWithRequest:]):
  11717. 2010-02-01 Carol Szabo <carol.szabo@nokia.com>
  11718. Unreviewed.
  11719. Add myself to list of committers.
  11720. * Scripts/webkitpy/committers.py:
  11721. 2010-02-01 Nate Chapin <japhet@chromium.org>
  11722. Rubber-stamped by David Levin.
  11723. Add myself to reviewer list.
  11724. * Scripts/webkitpy/committers.py:
  11725. 2010-01-31 Chris Jerdonek <cjerdonek@webkit.org>
  11726. Reviewed by Shinichiro Hamaji.
  11727. Moved style error handler code to their own classes, and
  11728. related refactoring. Increased unit test code coverage of
  11729. style error handling.
  11730. https://bugs.webkit.org/show_bug.cgi?id=34379
  11731. * Scripts/check-webkit-style:
  11732. - Minor change: added error_count variable.
  11733. * Scripts/webkitpy/style/checker.py:
  11734. - Renamed ProcessorOptions.should_report_error() to is_reportable().
  11735. - In the StyleChecker class--
  11736. - Removed _default_style_error_handler().
  11737. - Added _increment_error_count().
  11738. - Refactored to use DefaultStyleErrorHandler and
  11739. PatchStyleErrorHandler constructors.
  11740. * Scripts/webkitpy/style/checker_unittest.py:
  11741. - In the StyleStyleCheckerTest class--
  11742. - Removed write_sample_error().
  11743. - Removed test_default_style_error_handler().
  11744. * Scripts/webkitpy/style/error_handlers.py: Added.
  11745. - Added DefaultStyleErrorHandler class.
  11746. - Added PatchStyleErrorHandler class.
  11747. * Scripts/webkitpy/style/error_handlers_unittest.py: Added.
  11748. - Added unit tests for DefaultStyleErrorHandler and
  11749. PatchStyleErrorHandler.
  11750. * Scripts/webkitpy/style/unittests.py:
  11751. - Added error_handlers unit tests.
  11752. 2010-01-29 Mark Rowe <mrowe@apple.com>
  11753. Rubber-stamped by Stephanie Lewis.
  11754. Fix run-leaks with newer versions of the leaks tool.
  11755. * Scripts/run-leaks:
  11756. 2010-01-29 Dirk Pranke <dpranke@chromium.org>
  11757. Reviewed by Eric Siedel.
  11758. Top-level test drivers for running the Chromium port of run-webkit-tests
  11759. and being able to rebaseline test results from the test bots. The
  11760. files in the Scripts directory are simply wrappers around the files
  11761. in webkitpy/layout_tests for convenience.
  11762. https://bugs.webkit.org/show_bug.cgi?id=31498
  11763. * Scripts/rebaseline-chromium-webkit-tests: Added.
  11764. * Scripts/run-chromium-webkit-tests: Added.
  11765. * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: Added.
  11766. * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py: Added.
  11767. 2010-01-29 Dirk Pranke <dpranke@chromium.org>
  11768. Reviewed by Eric Siedel.
  11769. Add in the second block of python code for the Chromium port
  11770. of run-webkit-tests. These files execute different diffs to classify
  11771. the various types of failures from a test.
  11772. * Scripts/webkitpy/layout_tests/test_types: Added.
  11773. * Scripts/webkitpy/layout_tests/test_types/__init__.py: Added.
  11774. * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: Added.
  11775. * Scripts/webkitpy/layout_tests/test_types/image_diff.py: Added.
  11776. * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: Added.
  11777. * Scripts/webkitpy/layout_tests/test_types/text_diff.py: Added.
  11778. 2010-01-29 Dirk Pranke <dpranke@chromium.org>
  11779. Reviewed by Eric Siedel.
  11780. Check in the first part of the Chromium Python port of the
  11781. run-webkit-tests test driver. The files under
  11782. layout_tests/layout_layout constitute most of the implementation;
  11783. they can be roughly divided into code that parses the
  11784. "test_expectations.txt" file that describes how we expect tests to
  11785. pass or fail, platform-specific hooks for the different Chromium
  11786. ports (in platform_utils*), code for parsing the output of the
  11787. tests and generating results files and HTML and JSON for the
  11788. dashboards, auxiliary scripts for starting and stopping HTTP and
  11789. Web Socket servers, and then one of the actual driver files
  11790. (test_shell_thread). Code for actually parsing test output for
  11791. failures and the top-level driver scripts will follow shortly.
  11792. https://bugs.webkit.org/show_bug.cgi?id=31498
  11793. * Scripts/webkitpy/layout_tests: Added.
  11794. * Scripts/webkitpy/layout_tests/layout_package: Added.
  11795. * Scripts/webkitpy/layout_tests/layout_package/__init__.py: Added.
  11796. * Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py: Added.
  11797. * Scripts/webkitpy/layout_tests/layout_package/http_server.py: Added.
  11798. * Scripts/webkitpy/layout_tests/layout_package/http_server_base.py: Added.
  11799. * Scripts/webkitpy/layout_tests/layout_package/httpd2.pem: Added.
  11800. - scripts to start and stop apache. Note that the apache file
  11801. generates a conf file dynamically, and we should switch to
  11802. using the same static conf file that the regular run-webkit-tests
  11803. uses, and we can also use the same httpd2.pem file.
  11804. * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: Added.
  11805. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: Added.
  11806. - scripts to generate the JSON layout test dashboard and the
  11807. flakiness dashboard
  11808. * Scripts/webkitpy/layout_tests/layout_package/lighttpd.conf: Added.
  11809. - default configuration for LigHTTPd (used on Windows)
  11810. * Scripts/webkitpy/layout_tests/layout_package/metered_stream.py: Added.
  11811. - utility class that implements progress bars on the console to
  11812. be displayed while the tests are running
  11813. * Scripts/webkitpy/layout_tests/layout_package/path_utils.py: Added.
  11814. - various routines for manipulating paths and URIs
  11815. * Scripts/webkitpy/layout_tests/layout_package/platform_utils.py: Added.
  11816. * Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py: Added.
  11817. * Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py: Added.
  11818. * Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py: Added.
  11819. - platform-specific aspects of the drivers (binary names, paths,
  11820. process control, etc.)
  11821. * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: Added.
  11822. - code for parsing the 'test_expectations.txt' file to determine
  11823. which tests are expected to fail (and how) on which platforms
  11824. * Scripts/webkitpy/layout_tests/layout_package/test_failures.py: Added.
  11825. - code for handling different kinds of failures (generating output
  11826. in the results, etc.)
  11827. * Scripts/webkitpy/layout_tests/layout_package/test_files.py: Added.
  11828. - code to gather the lists of tests
  11829. * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: Added.
  11830. - code to actually execute tests via TestShell and process
  11831. the output
  11832. * Scripts/webkitpy/layout_tests/layout_package/websocket_server.py: Added.
  11833. - scripts to start and stop the pywebsocket server
  11834. 2010-01-29 Dirk Pranke <dpranke@chromium.org>
  11835. Reviewed by Eric Seidel.
  11836. Check in a copy of the simplejson library; it will be used by
  11837. the Chromium port of run-webkit-tests.
  11838. https://bugs.webkit.org/show_bug.cgi?id=31498
  11839. * simplejson: Added.
  11840. * simplejson/LICENSE.txt: Added.
  11841. * simplejson/README.txt: Added.
  11842. * simplejson/__init__.py: Added.
  11843. * simplejson/_speedups.c: Added.
  11844. (ascii_escape_char):
  11845. (ascii_escape_unicode):
  11846. (ascii_escape_str):
  11847. (py_encode_basestring_ascii):
  11848. (init_speedups):
  11849. * simplejson/decoder.py: Added.
  11850. * simplejson/encoder.py: Added.
  11851. * simplejson/jsonfilter.py: Added.
  11852. * simplejson/scanner.py: Added.
  11853. 2010-01-29 Dirk Pranke <dpranke@chromium.org>
  11854. No review
  11855. Add myself to the committers list
  11856. * Scripts/webkitpy/committers.py:
  11857. 2010-01-29 Jeremy Orlow <jorlow@chromium.org>
  11858. Reviewed by Dimitri Glazkov.
  11859. A first step towards the Indexed Database API
  11860. https://bugs.webkit.org/show_bug.cgi?id=34342
  11861. Add indexed database API.
  11862. * Scripts/build-webkit:
  11863. 2010-01-29 Andras Becsi <abecsi@webkit.org>
  11864. Reviewed by Alexey Proskuryakov.
  11865. Correct openHTTPD() to print requests to stdout if run-webkit-httpd is used.
  11866. This fixes a regression introduced in r53559.
  11867. https://bugs.webkit.org/show_bug.cgi?id=34336
  11868. * Scripts/webkitperl/httpd.pm:
  11869. 2010-01-28 Jon Honeycutt <jhoneycutt@apple.com>
  11870. MSAA: Crash when posting a notification for a detached object
  11871. https://bugs.webkit.org/show_bug.cgi?id=34309
  11872. <rdar://problem/7409759>
  11873. Reviewed by Darin Adler.
  11874. * DumpRenderTree/AccessibilityController.h:
  11875. Declare new functions. Add new members to store the event hook and the
  11876. mapping of accessibility elements to their JS callbacks.
  11877. * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
  11878. (AccessibilityController::notificationReceived):
  11879. Stubbed.
  11880. (AccessibilityController::addNotificationListener):
  11881. Stubbed.
  11882. * DumpRenderTree/mac/AccessibilityControllerMac.mm:
  11883. (AccessibilityController::notificationReceived):
  11884. Stubbed.
  11885. (AccessibilityController::addNotificationListener):
  11886. Stubbed.
  11887. * DumpRenderTree/win/AccessibilityControllerWin.cpp:
  11888. (AccessibilityController::AccessibilityController):
  11889. Initialize the event hook.
  11890. (AccessibilityController::~AccessibilityController):
  11891. Remove the event hook. Unprotect all of the JS functions that are stored
  11892. in the map.
  11893. (logEventProc):
  11894. Clean-up a variable.
  11895. (stringEvent):
  11896. Return a string description of the MSAA event code.
  11897. (notificationListenerProc):
  11898. Get the accessible object from the event, and query it for IAccessible.
  11899. Call the AccessibilityController's notificationReceived().
  11900. (comparableObject):
  11901. Use QueryService to obtain the IAccessibleComparable for the
  11902. IServiceProvider.
  11903. (AccessibilityController::notificationReceived):
  11904. Iterate the map of objects that have registered for notification
  11905. callbacks. Query each for IServiceProvider, then use comparableObject()
  11906. to get an IAccessibleComparable. If we find an object matching the
  11907. notified object, call its callback, passing the event that was received.
  11908. (AccessibilityController::addNotificationListener):
  11909. If we have not created the event hook, create it. Protect the JS
  11910. callback function object, and add the object and its callback to our
  11911. map.
  11912. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  11913. (AccessibilityUIElement::addNotificationListener):
  11914. Call through to the AccessibilityController's addNotificationListener().
  11915. * DumpRenderTree/win/DumpRenderTreeWin.h:
  11916. Add an extern declaration for the shared FrameLoadDelegate extern, so we
  11917. can access it from AccessibilityController.
  11918. * DumpRenderTree/win/FrameLoadDelegate.h:
  11919. (FrameLoadDelegate::accessibilityController):
  11920. Return the AccessibilityController.
  11921. 2010-01-29 Shinichiro Hamaji <hamaji@chromium.org>
  11922. Reviewed by Darin Adler.
  11923. prepare-ChangeLog outputs useless messages for a nonexistent bug ID
  11924. https://bugs.webkit.org/show_bug.cgi?id=34313
  11925. * Scripts/prepare-ChangeLog:
  11926. 2010-01-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
  11927. Rubberstamped by Simon Hausmann.
  11928. [Qt] Separate implementation from class definition.
  11929. * QtLauncher/main.cpp:
  11930. (LauncherWindow::webView):
  11931. (LauncherWindow::LauncherWindow):
  11932. (LauncherWindow::~LauncherWindow):
  11933. (LauncherWindow::keyPressEvent):
  11934. (LauncherWindow::grabZoomKeys):
  11935. (LauncherWindow::sendTouchEvent):
  11936. (LauncherWindow::eventFilter):
  11937. (LauncherWindow::loadStarted):
  11938. (LauncherWindow::loadFinished):
  11939. (LauncherWindow::showLinkHover):
  11940. (LauncherWindow::zoomIn):
  11941. (LauncherWindow::zoomOut):
  11942. (LauncherWindow::resetZoom):
  11943. (LauncherWindow::toggleZoomTextOnly):
  11944. (LauncherWindow::print):
  11945. (LauncherWindow::screenshot):
  11946. (LauncherWindow::setEditable):
  11947. (LauncherWindow::dumpHtml):
  11948. (LauncherWindow::selectElements):
  11949. (LauncherWindow::setTouchMocking):
  11950. (LauncherWindow::newWindow):
  11951. (LauncherWindow::setupUI):
  11952. 2010-01-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
  11953. Reviewed by Ariya Hidayat.
  11954. [Qt] On Maemo5, a click/touch in the location bar (when unfocused)
  11955. should result in all text selected.
  11956. * QtLauncher/locationedit.cpp:
  11957. (LocationEdit::focusInEvent):
  11958. * QtLauncher/locationedit.h:
  11959. 2010-01-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
  11960. Reviewed by Ariya Hidayat.
  11961. [Qt] Show progress reaching 100% for loads.
  11962. * QtLauncher/locationedit.cpp:
  11963. (LocationEdit::LocationEdit):
  11964. (LocationEdit::setProgress):
  11965. (LocationEdit::reset):
  11966. (LocationEdit::paintEvent):
  11967. * QtLauncher/locationedit.h:
  11968. 2010-01-29 Andreas Kling <andreas.kling@nokia.com>
  11969. Reviewed by Kenneth Rohde Christiansen.
  11970. [Qt] Disable the QtLauncher statusbar on Maemo
  11971. https://bugs.webkit.org/show_bug.cgi?id=34330
  11972. * QtLauncher/main.cpp:
  11973. (LauncherWindow::showLinkHover):
  11974. (LauncherWindow::selectElements):
  11975. 2010-01-29 Andreas Kling <andreas.kling@nokia.com>
  11976. Reviewed by Kenneth Rohde Christiansen.
  11977. [Qt] Display page loading progress inside the QtLauncher location bar
  11978. https://bugs.webkit.org/show_bug.cgi?id=34210
  11979. * QtLauncher/QtLauncher.pro:
  11980. * QtLauncher/locationedit.cpp: Added.
  11981. (LocationEdit::LocationEdit):
  11982. (LocationEdit::setProgress):
  11983. (LocationEdit::paintEvent):
  11984. * QtLauncher/locationedit.h: Added.
  11985. * QtLauncher/mainwindow.cpp:
  11986. (MainWindow::buildUI):
  11987. * QtLauncher/mainwindow.h:
  11988. 2010-01-29 Andreas Kling <andreas.kling@nokia.com>
  11989. Reviewed by Kenneth Rohde Christiansen.
  11990. [Qt] Add support for Maemo zoom keys in QtLauncher
  11991. https://bugs.webkit.org/show_bug.cgi?id=34160
  11992. * QtLauncher/main.cpp:
  11993. (LauncherWindow::LauncherWindow):
  11994. (LauncherWindow::~LauncherWindow):
  11995. (LauncherWindow::keyPressEvent):
  11996. (LauncherWindow::grabZoomKeys):
  11997. 2010-01-29 Benjamin Poulain <benjamin.poulain@nokia.com>
  11998. Reviewed by Kenneth Rohde Christiansen.
  11999. [Qt] Implement the display() method of the layout test controller
  12000. https://bugs.webkit.org/show_bug.cgi?id=34258
  12001. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  12002. (WebCore::DumpRenderTree::DumpRenderTree):
  12003. (WebCore::DumpRenderTree::showPage):
  12004. (WebCore::DumpRenderTree::hidePage):
  12005. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  12006. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  12007. (LayoutTestController::reset):
  12008. (LayoutTestController::display):
  12009. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  12010. 2010-01-28 Kevin Ollivier <kevino@theolliviers.com>
  12011. [wx] Build fix for MSW, use ThreadingWin.cpp as the Windows pthreads implementation
  12012. implements pthread_t in a way that makes it impossible to check its validity,
  12013. which is needed by ThreadingPthreads.cpp.
  12014. * DumpRenderTree/wscript:
  12015. * wx/build/settings.py:
  12016. 2010-01-28 Andras Becsi <abecsi@webkit.org>
  12017. Adding myself to the committer list. No review needed.
  12018. * Scripts/webkitpy/committers.py:
  12019. 2010-01-28 Hayato Ito <hayato@chromium.org>
  12020. Reviewed by David Levin.
  12021. Remove NULL char from input JS file because 'grep' fails if the file contains NULL char.
  12022. https://bugs.webkit.org/show_bug.cgi?id=34252
  12023. * Scripts/make-script-test-wrappers:
  12024. 2010-01-28 Kevin Ollivier <kevino@theolliviers.com>
  12025. [wx] Build fix after removal of the zlib image decoder.
  12026. * wx/build/settings.py:
  12027. 2010-01-28 Csaba Osztrogonác <ossy@webkit.org>
  12028. [Qt] Unreviewed, roll out r54000.
  12029. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  12030. (WebCore::DumpRenderTree::DumpRenderTree):
  12031. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  12032. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  12033. (LayoutTestController::reset):
  12034. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  12035. (LayoutTestController::display):
  12036. 2010-01-28 Benjamin Poulain <benjamin.poulain@nokia.com>
  12037. Reviewed by Kenneth Rohde Christiansen.
  12038. [Qt] Implement the display() method of the layout test controller
  12039. https://bugs.webkit.org/show_bug.cgi?id=34258
  12040. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  12041. (WebCore::DumpRenderTree::DumpRenderTree):
  12042. (WebCore::DumpRenderTree::showPage):
  12043. (WebCore::DumpRenderTree::hidePage):
  12044. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  12045. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  12046. (LayoutTestController::reset):
  12047. (LayoutTestController::display):
  12048. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  12049. 2010-01-28 Chris Jerdonek <cjerdonek@webkit.org>
  12050. Reviewed by Shinichiro Hamaji.
  12051. Eliminated the filename parameter from functions in
  12052. check-webkit-style's cpp.py where it is no longer used.
  12053. https://bugs.webkit.org/show_bug.cgi?id=34249
  12054. * Scripts/webkitpy/style/processors/cpp.py:
  12055. - Reduced number of occurrences of "filename" variable from
  12056. approximately 200 to 120.
  12057. * Scripts/webkitpy/style/processors/cpp_unittest.py:
  12058. - Refactored unit tests as necessary to accommodate changes to cpp.py.
  12059. - Fixed bug in CppStyleTestBase.perform_include_what_you_use()
  12060. where the incorrect file extension was getting passed to
  12061. cpp_style.check_language().
  12062. 2010-01-28 Chris Jerdonek <cjerdonek@webkit.org>
  12063. Reviewed by Shinichiro Hamaji.
  12064. In check-webkit-style, eliminated the dependency of
  12065. processors/cpp_unittest.py on checker.py.
  12066. https://bugs.webkit.org/show_bug.cgi?id=34205
  12067. * Scripts/webkitpy/style/checker.py:
  12068. - Addressed FIXME by removing STYLE_CATEGORIES data.
  12069. - Added style_categories().
  12070. * Scripts/webkitpy/style/checker_unittest.py:
  12071. - Minor changes.
  12072. * Scripts/webkitpy/style/processors/cpp.py:
  12073. - Added categories attribute to CppProcessor class (data
  12074. was originally checker.STYLE_CATEGORIES).
  12075. * Scripts/webkitpy/style/processors/cpp_unittest.py:
  12076. - Addressed FIXME by eliminating "import" from checker.py.
  12077. 2010-01-28 Anton Muhin <antonm@chromium.org>
  12078. Reviewed by Shinichiro Hamaji.
  12079. Improve treatment of conditions and rest of the line for if, else, switch and alikes
  12080. https://bugs.webkit.org/show_bug.cgi?id=34173
  12081. * Scripts/webkitpy/style/cpp_style.py:
  12082. * Scripts/webkitpy/style/cpp_style_unittest.py:
  12083. 2010-01-28 Joe Mason <jmason@rim.com>
  12084. Reviewed by Adam Barth.
  12085. Limit login retries to 5
  12086. https://bugs.webkit.org/show_bug.cgi?id=34193
  12087. * Scripts/webkitpy/bugzilla.py:
  12088. 2010-01-27 Martin Robinson <mrobinson@webkit.org>
  12089. Adding myself to the committer list. No review necessary.
  12090. * Scripts/webkitpy/committers.py:
  12091. 2010-01-27 George Wright <gwright@rim.com>
  12092. Reviewed by Adam Treat.
  12093. https://bugs.webkit.org/show_bug.cgi?id=34216
  12094. Add missing include for wtf/Platform.h
  12095. * DumpRenderTree/AccessibilityController.h:
  12096. 2010-01-27 Diego Gonzalez <diego.gonzalez@openbossa.org>
  12097. Reviewed by Kenneth Rohde Christiansen.
  12098. [Qt] DRT Provide worker thread ability to track counters
  12099. https://bugs.webkit.org/show_bug.cgi?id=34221
  12100. Implement workerThreadCount() in LayoutTestController of Qt DRT
  12101. Tests:
  12102. fast/workers/dedicated-worker-lifecycle.html
  12103. fast/workers/shared-worker-frame-lifecycle.html
  12104. fast/workers/shared-worker-lifecycle.html
  12105. fast/workers/worker-lifecycle.html
  12106. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  12107. (LayoutTestController::workerThreadCount):
  12108. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  12109. 2010-01-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
  12110. Rubberstamped by Simon Hausmann.
  12111. [Qt] QtLauncher refactoring:
  12112. Make the LauncherWindow depend less on the view, so that more
  12113. code can be shared in near future.
  12114. * QtLauncher/main.cpp:
  12115. (LauncherWindow::sendTouchEvent):
  12116. (LauncherWindow::loadFinished):
  12117. (LauncherWindow::zoomIn):
  12118. (LauncherWindow::zoomOut):
  12119. (LauncherWindow::resetZoom):
  12120. (LauncherWindow::toggleZoomTextOnly):
  12121. (LauncherWindow::dumpHtml):
  12122. (LauncherWindow::selectElements):
  12123. (LauncherWindow::setupUI):
  12124. 2010-01-27 Kinuko Yasuda <kinuko@chromium.org>
  12125. Reviewed by Eric Seidel.
  12126. Correctly handle the KeyLocation argument that has been introduced
  12127. recently to test location-dependent key events in EventSender.keyDown.
  12128. http://bugs.webkit.org/show_bug.cgi?id=28247
  12129. Test: fast/events/keydown-numpad-keys.html
  12130. * DumpRenderTree/gtk/EventSender.cpp:
  12131. (keyDownCallback):
  12132. 2010-01-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
  12133. Rubberstamped by Simon Hausmann.
  12134. [Qt] QtLauncher refactoring:
  12135. Move out code from the MainWindow (renamed to LauncherWindow)
  12136. that is not depending on the view, and add it to a new class
  12137. called MainWindow.
  12138. * QtLauncher/QtLauncher.pro:
  12139. * QtLauncher/main.cpp:
  12140. (LauncherWindow::LauncherWindow):
  12141. (LauncherWindow::eventFilter):
  12142. (LauncherWindow::loadStarted):
  12143. (LauncherWindow::loadFinished):
  12144. (LauncherWindow::newWindow):
  12145. (LauncherWindow::setupUI):
  12146. (WebPage::createWindow):
  12147. (main):
  12148. * QtLauncher/mainwindow.cpp: Added.
  12149. (MainWindow::MainWindow):
  12150. (MainWindow::buildUI):
  12151. (MainWindow::page):
  12152. (MainWindow::setAddressUrl):
  12153. (MainWindow::addCompleterEntry):
  12154. (MainWindow::load):
  12155. (MainWindow::changeLocation):
  12156. (MainWindow::openFile):
  12157. * QtLauncher/mainwindow.h: Added.
  12158. 2010-01-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
  12159. Rubberstamped by Simon Hausmann.
  12160. [Qt] QtLauncher, coding style fixes.
  12161. * QtLauncher/main.cpp:
  12162. (MainWindow::MainWindow):
  12163. (MainWindow::sendTouchEvent):
  12164. (MainWindow::eventFilter):
  12165. (MainWindow::loadURL):
  12166. (MainWindow::setupUI):
  12167. (WebPage::createPlugin):
  12168. 2010-01-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
  12169. Rubberstamped by Simon Hausmann.
  12170. [Qt] QtLauncher refactoring, separating the webview and
  12171. adding a QGraphicsWebView based version.
  12172. * QtLauncher/QtLauncher.pro:
  12173. * QtLauncher/main.cpp:
  12174. (MainWindow::MainWindow):
  12175. * QtLauncher/webpage.h:
  12176. * QtLauncher/webview.cpp: Added.
  12177. (createContextMenu):
  12178. (WebViewGraphicsBased::mousePressEvent):
  12179. (WebViewTraditional::mousePressEvent):
  12180. (WebViewGraphicsBased::contextMenuEvent):
  12181. (WebViewTraditional::contextMenuEvent):
  12182. * QtLauncher/webview.h: Added.
  12183. (WebViewGraphicsBased::WebViewGraphicsBased):
  12184. (WebViewTraditional::WebViewTraditional):
  12185. 2010-01-27 Alexander Pavlov <apavlov@chromium.org>
  12186. Adding myself as committer. No review necessary.
  12187. * Scripts/webkitpy/committers.py:
  12188. 2010-01-27 Eric Seidel <eric@webkit.org>
  12189. Reviewed by Darin Adler.
  12190. webkit-patch needs an open-bugs command
  12191. https://bugs.webkit.org/show_bug.cgi?id=30793
  12192. * Scripts/test-webkitpy: import OpenBugsTest
  12193. * Scripts/webkit-patch: import OpenBugs
  12194. * Scripts/webkitpy/commands/download_unittest.py: don't import unittest
  12195. * Scripts/webkitpy/commands/early_warning_system_unittest.py: ditto
  12196. * Scripts/webkitpy/commands/queries_unittest.py: ditto
  12197. * Scripts/webkitpy/commands/queues_unittest.py: ditto
  12198. * Scripts/webkitpy/commands/upload_unittest.py: ditto
  12199. * Scripts/webkitpy/mock_bugzillatool.py: log when user.open_url is called.
  12200. 2010-01-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
  12201. Rubberstamped by Simon Hausmann
  12202. [Qt] QtLauncher refactoring, separating utility methods.
  12203. * QtLauncher/QtLauncher.pro:
  12204. * QtLauncher/main.cpp:
  12205. * QtLauncher/utils.cpp: Added.
  12206. (urlFromUserInput):
  12207. * QtLauncher/utils.h: Added.
  12208. 2010-01-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
  12209. Rubberstamped by Simon Hausmann
  12210. [Qt] Refactor the code in the QtLauncher dealing with HTTP proxy.
  12211. * QtLauncher/main.cpp:
  12212. (MainWindow::MainWindow):
  12213. * QtLauncher/webpage.cpp:
  12214. (WebPage::WebPage):
  12215. (WebPage::applyProxy):
  12216. * QtLauncher/webpage.h:
  12217. 2010-01-26 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  12218. Reviewed by Tor Arne Vestbø.
  12219. [Qt] Corrects debug build of DumpRenderTree on Windows.
  12220. * DumpRenderTree/qt/DumpRenderTree.pro:
  12221. 2010-01-26 Daniel Bates <dbates@webkit.org>
  12222. Reviewed by Adam Barth.
  12223. https://bugs.webkit.org/show_bug.cgi?id=34070
  12224. Moves the try/catch for OSError exceptions in Executive.run_command
  12225. to Credentials.read_credentials() so that the unit test
  12226. webkitpy.scm_unittest.SCMClassTests.test_error_handlers can
  12227. assert that Executive.run_command throws an OSError exception.
  12228. * Scripts/webkitpy/credentials.py:
  12229. * Scripts/webkitpy/executive.py: Moved try/catch for OSError to
  12230. method Credentials.read_credentials().
  12231. * Scripts/webkitpy/executive_unittest.py: Removed tests that no longer
  12232. apply: test_run_command_with_bad_command_check_return_code and
  12233. test_run_command_with_bad_command_check_calls_error_handler. Added new
  12234. test to assert that run_command throws OSError exceptions.
  12235. 2010-01-26 Diego Gonzalez <diego.gonzalez@openbossa.org>
  12236. Reviewed by Kenneth Rohde Christiansen.
  12237. [Qt] DRT WebHistory support
  12238. https://bugs.webkit.org/show_bug.cgi?id=34167
  12239. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  12240. (LayoutTestController::reset):
  12241. (LayoutTestController::webHistoryItemCount):
  12242. (LayoutTestController::keepWebHistory):
  12243. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  12244. 2010-01-26 Kent Tamura <tkent@chromium.org>
  12245. Reviewed by Eric Seidel.
  12246. [Win] Add modifiers parameter support to Windows DumpRenderTree
  12247. https://bugs.webkit.org/show_bug.cgi?id=34068
  12248. Add support for functional name modifiers; "addSelectionKey" and
  12249. "rangeSelectionKey", and modifiers parameter to eventSender.mouseDown()
  12250. and eventSender.mouseUp().
  12251. This change is similar to r53498 for Mac.
  12252. * DumpRenderTree/win/EventSender.cpp:
  12253. (buildModifierFlags): New function to set MK_CONTROL or MK_SHIFT to WPARAM.
  12254. (mouseDownCallback): Call buidlModifiersFlags().
  12255. (mouseUpCallback): ditto.
  12256. (keyDownCallback): Add support for "addSelectionkey" and "rangeSelectionKey".
  12257. 2010-01-26 Chris Jerdonek <cjerdonek@webkit.org>
  12258. Reviewed by Eric Seidel.
  12259. The Python autoinstall cache directory now only gets created
  12260. in the directory containing autoinstall.py.
  12261. https://bugs.webkit.org/show_bug.cgi?id=33365
  12262. * Scripts/webkitpy/autoinstall.py:
  12263. - Also added a README file to the cache directory saying
  12264. where it came from.
  12265. 2010-01-26 Chris Jerdonek <cjerdonek@webkit.org>
  12266. Reviewed by Eric Seidel.
  12267. Moved the check-webkit-style processors into a new
  12268. webkitpy/style/processors directory.
  12269. https://bugs.webkit.org/show_bug.cgi?id=34060
  12270. * Scripts/webkitpy/style/checker.py:
  12271. * Scripts/webkitpy/style/checker_unittest.py:
  12272. * Scripts/webkitpy/style/cpp_style.py: Removed.
  12273. * Scripts/webkitpy/style/cpp_style_unittest.py: Removed.
  12274. * Scripts/webkitpy/style/processors: Added.
  12275. * Scripts/webkitpy/style/processors/__init__.py: Added.
  12276. * Scripts/webkitpy/style/processors/cpp.py: Copied from WebKitTools/Scripts/webkitpy/style/cpp_style.py.
  12277. * Scripts/webkitpy/style/processors/cpp_unittest.py: Copied from WebKitTools/Scripts/webkitpy/style/cpp_style_unittest.py.
  12278. * Scripts/webkitpy/style/processors/text.py: Copied from WebKitTools/Scripts/webkitpy/style/text_style.py.
  12279. * Scripts/webkitpy/style/processors/text_unittest.py: Copied from WebKitTools/Scripts/webkitpy/style/text_style_unittest.py.
  12280. * Scripts/webkitpy/style/text_style.py: Removed.
  12281. * Scripts/webkitpy/style/text_style_unittest.py: Removed.
  12282. * Scripts/webkitpy/style/unittests.py:
  12283. 2010-01-26 Kevin Ollivier <kevino@theolliviers.com>
  12284. [wx] Build fix, make sure stub function returns a value.
  12285. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  12286. (LayoutTestController::counterValueForElementById):
  12287. 2010-01-26 Steve Falkenburg <sfalken@apple.com>
  12288. Reviewed by Oliver Hunt.
  12289. Windows build references non-existent include paths
  12290. https://bugs.webkit.org/show_bug.cgi?id=34175
  12291. * DumpRenderTree/win/DumpRenderTree.vcproj:
  12292. * DumpRenderTree/win/ImageDiff.vcproj:
  12293. * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
  12294. 2010-01-26 Kenneth Rohde Christiansen <kenneth@webkit.org>
  12295. Reviewed by Ariya Hidayat.
  12296. [Qt] Separating out the UrlLoader from the QtLauncher in it's
  12297. own implementation and header file.
  12298. * QtLauncher/main.cpp:
  12299. (main):
  12300. * QtLauncher/urlloader.cpp: Added.
  12301. (UrlLoader::UrlLoader):
  12302. (UrlLoader::loadNext):
  12303. (UrlLoader::init):
  12304. (UrlLoader::getUrl):
  12305. * QtLauncher/urlloader.h: Added.
  12306. 2010-01-25 Chris Jerdonek <cjerdonek@webkit.org>
  12307. Reviewed by Shinichiro Hamaji.
  12308. Refactored check-webkit-style by removing the file path
  12309. parameter from the style error handler functions.
  12310. https://bugs.webkit.org/show_bug.cgi?id=34031
  12311. * Scripts/webkitpy/style/checker.py:
  12312. - Added _default_style_error_handler() to StyleChecker class.
  12313. - Moved handle_style_error() to inside _default_style_error_handler().
  12314. * Scripts/webkitpy/style/checker_unittest.py:
  12315. - Removed file path from calls to error handler.
  12316. * Scripts/webkitpy/style/cpp_style.py:
  12317. - Removed file path from calls to error handler.
  12318. * Scripts/webkitpy/style/cpp_style_unittest.py:
  12319. - Removed file path from calls to error handler.
  12320. * Scripts/webkitpy/style/text_style.py:
  12321. - Removed file path from calls to error handler.
  12322. * Scripts/webkitpy/style/text_style_unittest.py:
  12323. - Removed file path from calls to error handler.
  12324. 2010-01-25 Jeremy Orlow <jorlow@chromium.org>
  12325. Adding myself as reviewer. No review necessary.
  12326. * Scripts/webkitpy/committers.py:
  12327. 2010-01-25 Chris Jerdonek <cjerdonek@webkit.org>
  12328. Reviewed by Adam Barth.
  12329. Improved prepare-ChangeLog so that it preserves the relative
  12330. indentation of a git commit message.
  12331. https://bugs.webkit.org/show_bug.cgi?id=34058
  12332. * Scripts/prepare-ChangeLog:
  12333. - Also adjusted the script so that it does not add white
  12334. space characters to empty lines.
  12335. 2010-01-24 Eric Seidel <eric@webkit.org>
  12336. No review, rolling out r53763.
  12337. http://trac.webkit.org/changeset/53763
  12338. https://bugs.webkit.org/show_bug.cgi?id=33895
  12339. Broke 20+ tests on Windows.
  12340. * Scripts/run-webkit-tests:
  12341. * Scripts/webkitdirs.pm:
  12342. 2010-01-24 Adam Barth <abarth@webkit.org>
  12343. Rubber stamped by Eric Seidel.
  12344. More pep8 compliance.
  12345. * Scripts/webkitpy/mock_bugzillatool.py:
  12346. 2010-01-24 Adam Barth <abarth@webkit.org>
  12347. Rubber stamped by Eric Seidel.
  12348. More pep8 compliance.
  12349. * Scripts/webkitpy/executive.py:
  12350. * Scripts/webkitpy/grammar.py:
  12351. 2010-01-24 Adam Barth <abarth@webkit.org>
  12352. Rubber stamped by Eric Seidel.
  12353. More pep8 compliance.
  12354. * Scripts/webkitpy/comments.py:
  12355. * Scripts/webkitpy/committers.py:
  12356. * Scripts/webkitpy/credentials.py:
  12357. 2010-01-24 Adam Barth <abarth@webkit.org>
  12358. Rubber stamped by Eric Seidel.
  12359. Make changelogs.py pass pep8.
  12360. * Scripts/webkitpy/changelogs.py:
  12361. 2010-01-23 Kenneth Rohde Christiansen <kenneth@webkit.org>
  12362. [Qt] Unreviewed build fix
  12363. * QtLauncher/QtLauncher.pro:
  12364. * QtLauncher/webinspector.h:
  12365. 2010-01-23 Kenneth Rohde Christiansen <kenneth@webkit.org>
  12366. Rubberstamped by Simon Hausmann.
  12367. [Qt] Move the WebInspector class to it's own header file.
  12368. * QtLauncher/main.cpp:
  12369. * QtLauncher/webinspector.h: Added.
  12370. (WebInspector::WebInspector):
  12371. (WebInspector::showEvent):
  12372. (WebInspector::hideEvent):
  12373. 2010-01-23 Robert Hogan <robert@roberthogan.net>
  12374. Reviewed by Kenneth Rohde Christiansen.
  12375. Qt DRT: respect window.close() and window.closed()
  12376. Qt DRT needs to maintain a correct count of open windows
  12377. for windowCount(). It also needs to delete windows that
  12378. have been closed by window.close().
  12379. This fixes the following tests:
  12380. plugins/destroy-during-npp-new.html
  12381. fast/dom/Document/early-document-access.html
  12382. fast/dom/Window/window-early-properties.html
  12383. fast/events/open-window-from-another-frame.html
  12384. fast/events/popup-blocking-click-in-iframe.html
  12385. https://bugs.webkit.org/show_bug.cgi?id=32953
  12386. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  12387. (WebCore::DumpRenderTree::DumpRenderTree):
  12388. (WebCore::DumpRenderTree::createWindow):
  12389. (WebCore::DumpRenderTree::windowCloseRequested):
  12390. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  12391. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  12392. (LayoutTestController::maybeDump):
  12393. 2010-01-23 Dan Bernstein <mitz@apple.com>
  12394. Reviewed by Mark Rowe.
  12395. Added a user default for specifying a fallback frameworks path in case
  12396. the bundle does not contain frameworks for the current Mac OS X version.
  12397. * WebKitLauncher/main.m:
  12398. (fallbackMacOSXVersion): Added. Looks up the fallback version in a dictionary
  12399. keyed by the FallbackSystemVersions user default and returns it.
  12400. (main): If a frameworks directory for the current system version is not found,
  12401. try the fallback.
  12402. 2010-01-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  12403. Reviewed by Simon Hausmann.
  12404. Make run-webkit-tests work under Cygwin for the Qt port
  12405. setPathForRunningWebKitApp() is implemented for the Qt port
  12406. by using qmake to query for the location of the Qt libraries.
  12407. This requires the original environment (%ENV) to be untouched,
  12408. so launchWithCurrentEnv() was refactored to launchWithEnv(),
  12409. and the code in openDumpTool() to not use %ENV but a %CLEAN_ENV
  12410. instead. This has the added benefit of getting rid of the temp
  12411. variables used for storing the current env.
  12412. openDumpTool() is also refactored a bit into platform-spesific,
  12413. port-spesific, and generic environment variables.
  12414. Checks for undef was added a few places to fix Perl concat
  12415. warnings when run-webkit-tests is aborted.
  12416. https://bugs.webkit.org/show_bug.cgi?id=33895
  12417. * Scripts/run-webkit-tests:
  12418. * Scripts/webkitdirs.pm:
  12419. 2010-01-22 Kevin Watters <kevinwatters@gmail.com>
  12420. Reviewed by Kevin Ollivier.
  12421. [wx] Remove the Bakefile build system, which is no longer being used.
  12422. https://bugs.webkit.org/show_bug.cgi?id=34022
  12423. * DumpRenderTree/wx/DumpRenderTree.bkl: Removed.
  12424. * wx/browser/browser.bkl: Removed.
  12425. * wx/build-wxwebkit: Removed.
  12426. 2010-01-22 Gustavo Noronha Silva <gns@gnome.org>
  12427. Reviewed by Simon Fraser.
  12428. Reset zoom level to 1.0 when resetting view state. This is causing
  12429. many tests to fail after svg/custom/text-zoom.xhtml changes the
  12430. zoom level.
  12431. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  12432. (resetDefaultsToConsistentValues):
  12433. 2010-01-22 Steve Falkenburg <sfalken@apple.com>
  12434. Reviewed by Darin Adler.
  12435. https://bugs.webkit.org/show_bug.cgi?id=34025
  12436. Enable client-based Geolocation abstraction for Mac, Windows AppleWebKit targets.
  12437. * Scripts/build-webkit:
  12438. 2010-01-22 Adam Barth <abarth@webkit.org>
  12439. Unreviewed. Arg. Someone renamed limit to output_limit on me.
  12440. * Scripts/webkitpy/commands/queues.py:
  12441. 2010-01-22 Adam Barth <abarth@webkit.org>
  12442. Rubber stamped by Eric Seidel.
  12443. Make __init__.py and buildbot.py pass pep8 style checker.
  12444. * Scripts/webkitpy/__init__.py:
  12445. * Scripts/webkitpy/buildbot.py:
  12446. 2010-01-21 Joe Mason <jmason@rim.com>
  12447. Reviewed by Adam Barth.
  12448. webkit-patch should retry on invalid password
  12449. https://bugs.webkit.org/show_bug.cgi?id=33955
  12450. Ask for bugs.webkit.org authentication in a loop.
  12451. * Scripts/webkitpy/bugzilla.py:
  12452. 2010-01-22 Adam Barth <abarth@webkit.org>
  12453. Unreviewed. Don't call seek on a NoneType.
  12454. * Scripts/webkitpy/statusserver.py:
  12455. 2010-01-22 Petri Latvala <petri.latvala@nomovok.com>
  12456. Reviewed by David Levin.
  12457. check-webkit-style breaks on files with unknown types
  12458. https://bugs.webkit.org/show_bug.cgi?id=34001
  12459. For files with type FileType.NONE, dispatch_processor returns None.
  12460. * Scripts/webkitpy/style/checker.py: Don't call process_file with a processor of value None.
  12461. 2010-01-22 Adam Barth <abarth@webkit.org>
  12462. Reviewed by Eric Seidel.
  12463. Make bugzilla.py and webkitport.py conform to pep8
  12464. https://bugs.webkit.org/show_bug.cgi?id=34015
  12465. This patch makes webkitport.py and bugzilla.py mostly conform to PEP8
  12466. style as enforced by pep8.py. I wasn't able to get rid of all the
  12467. errors because I'm not sure how to wrap some lines properly. Also,
  12468. there are a few deprication errors that I couldn't resolve easily.
  12469. However, this is a massive improvement in compliance.
  12470. * Scripts/webkitpy/bugzilla.py:
  12471. * Scripts/webkitpy/webkitport.py:
  12472. 2010-01-22 Adam Barth <abarth@webkit.org>
  12473. Reviewed by Darin Adler.
  12474. Limit length of EWS results to 5MB
  12475. https://bugs.webkit.org/show_bug.cgi?id=34016
  12476. Hopefully this will fix the bug where the results link doesn't appear.
  12477. Our current theory is that the results blob is too big and the server
  12478. is rejecting the request with a 500 error. That causes us to re-try
  12479. the post, but when we re-try the StringIO buffer has its seek pointer
  12480. at the end.
  12481. * Scripts/webkitpy/commands/queues.py:
  12482. * Scripts/webkitpy/statusserver.py:
  12483. 2010-01-22 Chris Jerdonek <cjerdonek@webkit.org>
  12484. Reviewed by Adam Barth.
  12485. Made check-webkit-style able to check patches when script not
  12486. run from source root. Also consolidated external references
  12487. to a single file.
  12488. https://bugs.webkit.org/show_bug.cgi?id=33791
  12489. * Scripts/check-webkit-style:
  12490. - Changed to import style_references.py.
  12491. * Scripts/webkitpy/style/__init__.py:
  12492. - Removed __path__ hack that allowed searching Scripts/ directory.
  12493. * Scripts/webkitpy/style/checker.py:
  12494. - Changed to import style_references.py.
  12495. * Scripts/webkitpy/style_references.py: Added.
  12496. 2010-01-22 Dmitry Titov <dimich@chromium.org>
  12497. Reviewed by Maciej Stachowiak.
  12498. Fix the leak of ThreadIdentifiers in threadMap across threads.
  12499. https://bugs.webkit.org/show_bug.cgi?id=32689
  12500. Add a new test to verify the ThreadIdentifiers are not reused across threads.
  12501. The test runs in the beginning of DumpRenderTree and spawns 2 non-WTF treads sequentially,
  12502. waiting for the previous thread to terminate before starting the next.
  12503. The treads use WTF::currentThread() in their thread function. Without a fix, this
  12504. causes both threads to have the same ThreadIdentifier which triggers ASSERT in thread function.
  12505. It also starts another thread using WTF. Without the fix, this finds pthread handle from previous
  12506. threads in the WTF threadMap and asserts in WTF::establishIdentifierForPthreadHandle().
  12507. The test practically does not affect the DRT run time because the threads end immediately.
  12508. * DumpRenderTree/mac/DumpRenderTree.mm:
  12509. (runThread): Test thread function.
  12510. (testThreadIdentifierMap):
  12511. (dumpRenderTree):
  12512. 2010-01-22 Kent Tamura <tkent@chromium.org>
  12513. Reviewed by Maciej Stachowiak.
  12514. Fix a bug that mouseDown:withModifiers: is never called.
  12515. https://bugs.webkit.org/show_bug.cgi?id=33989
  12516. * DumpRenderTree/mac/EventSendingController.mm:
  12517. (+[EventSendingController isSelectorExcludedFromWebScript:]):
  12518. (+[EventSendingController webScriptNameForSelector:]):
  12519. 2010-01-22 Kenneth Rohde Christiansen <kenneth@webkit.org>
  12520. Rubberstamped by Antti Koivisto.
  12521. [Qt] Separate out the WebPage class into it's own
  12522. cpp/header files. Also, removed the assumption that
  12523. the view is a QWebView, in preparation of a merger
  12524. of the two Qt WebKit launchers.
  12525. * QtLauncher/QtLauncher.pro:
  12526. * QtLauncher/main.cpp:
  12527. (WebView::mousePressEvent):
  12528. * QtLauncher/webpage.cpp: Added.
  12529. (WebPage::supportsExtension):
  12530. (WebPage::extension):
  12531. (WebPage::acceptNavigationRequest):
  12532. (WebPage::openUrlInDefaultBrowser):
  12533. * QtLauncher/webpage.h: Added.
  12534. (WebPage::WebPage):
  12535. 2010-01-21 Chris Jerdonek <cjerdonek@webkit.org>
  12536. Reviewed by Shinichiro Hamaji.
  12537. Refactored to move file name and file-reading related code
  12538. from cpp_style.py and text_style.py to checker.py.
  12539. https://bugs.webkit.org/show_bug.cgi?id=33775
  12540. * Scripts/check-webkit-style:
  12541. - Updates caused by changes to checker.py.
  12542. * Scripts/webkitpy/style/checker.py:
  12543. - Added SKIPPED_FILES_WITH_WARNING list.
  12544. - Added SKIPPED_FILES_WITHOUT_WARNING list.
  12545. - Added FileType class.
  12546. - Added ProcessorDispatcher class.
  12547. - In StyleChecker class:
  12548. - Renamed process_patch() to check_patch().
  12549. - Renamed process_file() to check_file().
  12550. - Added _process_file().
  12551. - Related refactoring.
  12552. - Addressed check_patch() FIXME to share code with process_file().
  12553. * Scripts/webkitpy/style/checker_unittest.py:
  12554. - Added ProcessorDispatcherSkipTest class.
  12555. - Added ProcessorDispatcherDispatchTest class.
  12556. - Added StyleCheckerCheckFileTest class.
  12557. * Scripts/webkitpy/style/cpp_style.py:
  12558. - Renamed process_file_data() to _process_lines.
  12559. - Removed process_file() (moved logic to checker.py).
  12560. - Removed can_handle() (moved logic to checker.py).
  12561. - Added CppProcessor class.
  12562. - Removed is_exempt() (moved logic to checker.py).
  12563. - Added process_file_data() back as a wrapper function.
  12564. * Scripts/webkitpy/style/cpp_style_unittest.py:
  12565. - Removed test_can_handle().
  12566. - Removed test_is_exempt().
  12567. - Added CppProcessorTest class.
  12568. * Scripts/webkitpy/style/text_style.py:
  12569. - Added TextProcessor class.
  12570. - Removed process_file().
  12571. - Removed can_handle().
  12572. * Scripts/webkitpy/style/text_style_unittest.py:
  12573. - Removed test_can_handle().
  12574. - Added TextProcessorTest class.
  12575. 2010-01-21 Chris Jerdonek <cjerdonek@webkit.org>
  12576. Reviewed by David Kilzer.
  12577. Create a unit-tested subroutine to parse patch files created
  12578. by svn-create-patch.
  12579. https://bugs.webkit.org/show_bug.cgi?id=33475
  12580. * Scripts/VCSUtils.pm:
  12581. - Added parseDiff().
  12582. - Added parsePatch().
  12583. * Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl: Added.
  12584. - Added unit tests for parseDiff().
  12585. * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
  12586. - Total number of tests now computed dynamically.
  12587. * Scripts/webkitperl/VCSUtils_unittest/parsePatch.pl: Added.
  12588. - Added unit tests for parsePatch().
  12589. 2010-01-21 Kevin Ollivier <kevino@theolliviers.com>
  12590. [wx] Build fix, add new directory to dir list.
  12591. * wx/build/settings.py:
  12592. 2010-01-21 Adam Barth <abarth@webkit.org>
  12593. Reviewed by Eric Seidel.
  12594. Make the EWS transactional
  12595. https://bugs.webkit.org/show_bug.cgi?id=33978
  12596. Now if the EWS gets interrupted in the middle of processing a patch,
  12597. the bots will re-process the patch.
  12598. * Scripts/test-webkitpy:
  12599. * Scripts/webkitpy/commands/queues.py:
  12600. * Scripts/webkitpy/commands/queues_unittest.py:
  12601. * Scripts/webkitpy/patchcollection.py:
  12602. * Scripts/webkitpy/patchcollection_unittest.py: Added.
  12603. 2010-01-21 Adam Barth <abarth@webkit.org>
  12604. Unreviewed. Add missing "ago" for style in the status bubble.
  12605. * QueueStatusServer/templates/statusbubble.html:
  12606. 2010-01-21 Adam Barth <abarth@webkit.org>
  12607. Reviewed by David Levin.
  12608. [style-queue] should not complain about identifier names with underscores under WebKit/gtk/webkit/
  12609. https://bugs.webkit.org/show_bug.cgi?id=33356
  12610. White list unix_hacker_style names in WebKit/gtk/webkit because these
  12611. are used in the GTK+ API.
  12612. * Scripts/webkitpy/style/cpp_style.py:
  12613. * Scripts/webkitpy/style/cpp_style_unittest.py:
  12614. 2010-01-21 Diego Gonzalez <diego.gonzalez@openbossa.org>
  12615. Reviewed by Kenneth Rohde Christiansen.
  12616. [Qt] add setDomainRelaxationForbiddenForURLScheme in Qt DRT
  12617. https://bugs.webkit.org/show_bug.cgi?id=33945
  12618. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  12619. (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
  12620. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  12621. 2010-01-21 Simon Hausmann <simon.hausmann@nokia.com>
  12622. No review, rolling out 53615 as it causes two
  12623. crashes on the bot.
  12624. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  12625. (WebCore::DumpRenderTree::DumpRenderTree):
  12626. (WebCore::DumpRenderTree::createWindow):
  12627. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  12628. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  12629. (LayoutTestController::maybeDump):
  12630. 2010-01-21 Robert Hogan <robert@roberthogan.net>
  12631. Reviewed by Simon Hausmann.
  12632. Qt DRT: respect window.close() and window.closed()
  12633. Qt DRT needs to maintain a correct count of open windows
  12634. for windowCount(). It also needs to delete windows that
  12635. have been closed by window.close().
  12636. This fixes the following tests:
  12637. plugins/destroy-during-npp-new.html
  12638. fast/dom/Document/early-document-access.html
  12639. fast/dom/Window/window-early-properties.html
  12640. fast/events/open-window-from-another-frame.html
  12641. fast/events/popup-blocking-click-in-iframe.html
  12642. https://bugs.webkit.org/show_bug.cgi?id=32953
  12643. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  12644. (WebCore::DumpRenderTree::DumpRenderTree):
  12645. (WebCore::DumpRenderTree::createWindow):
  12646. (WebCore::DumpRenderTree::windowCloseRequested):
  12647. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  12648. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  12649. (LayoutTestController::maybeDump):
  12650. 2010-01-20 Eric Seidel <eric@webkit.org>
  12651. No review, rolling out r53593.
  12652. http://trac.webkit.org/changeset/53593
  12653. https://bugs.webkit.org/show_bug.cgi?id=33496
  12654. Re-rollout this patch, the commit-queue should not have landed
  12655. it again, but it did due to land-diff and rollout both not
  12656. clearing flags.
  12657. * Scripts/webkitpy/commands/early_warning_system.py:
  12658. * Scripts/webkitpy/commands/queues.py:
  12659. * Scripts/webkitpy/queueengine.py:
  12660. * Scripts/webkitpy/scm.py:
  12661. * Scripts/webkitpy/scm_unittest.py:
  12662. 2010-01-20 Eric Seidel <eric@webkit.org>
  12663. Reviewed by Adam Barth.
  12664. webkit-commit-queue status page is confusing
  12665. https://bugs.webkit.org/show_bug.cgi?id=33496
  12666. This should improve the status page by removing more Fail messages.
  12667. To do this, I re-factored the CommitQueue and the AbstractReviewQueues
  12668. to behave more like one another. This meant moving where the failure reporting was done.
  12669. Previously the AbstractReviewQueue always used the parent process to report the error,
  12670. while CommitQueue used the subprocess when possible, and the parent only reported errors
  12671. that we didn't know how to handle (bugs in the commit-queue itself).
  12672. Now the AbstractReviewQueue follow's the commit-queue's model. This got rid of a try-block
  12673. in both implementations and required teaching handle_script_error in each to post Fail messages
  12674. to the status server instead of calling exit(1).
  12675. This will also make the style-queue share more bug posting logic with other queues:
  12676. https://bugs.webkit.org/show_bug.cgi?id=33871
  12677. * Scripts/webkitpy/commands/early_warning_system.py:
  12678. - Don't exit(1) as that will cause the calling queue to also report Fail to the status server.
  12679. Implementors of handle_script_error are expected to update the status server if needed, but only exit if the error could not be handled.
  12680. So we instead pass patch_has_failed_this_queue=True to _update_status_for_script_error in the case that this was a real failure.
  12681. _update_status_for_script_error knows how to post the Fail message to the status server.
  12682. - Teach _update_status_for_script_error how to post Fail messages to the status server.
  12683. * Scripts/webkitpy/commands/queues.py:
  12684. - Remove the try block from process_work_item since the caller already has one.
  12685. - Only CC watchers on failure to cut down on commit-queue generated mail.
  12686. - handle_unexpected_error needs to mark _did_fail now that the try block is gone from process_work_item.
  12687. - Abstract _format_script_error_output_for_bug to share code between all queues.
  12688. - The new _format_script_error_output_for_bug allows the style-queue to share the posting limit with other queues, as well as support linking to the full output.
  12689. - Rename _can_build_and_test to _current_checkout_builds_and_passes_tests to better explain what revision it's testing.
  12690. - Move logging out of _can_build_and_test and make the logs explain what revision we're testing.
  12691. - handle_script_error now posts Fail instead of the try block in process_work_item handling it.
  12692. * Scripts/webkitpy/queueengine.py:
  12693. - QueueEngine is no longer used just by the commit-queue, update the logging to say "processing" instead of landing.
  12694. * Scripts/webkitpy/scm.py:
  12695. - Add new checkout_revision function.
  12696. * Scripts/webkitpy/scm_unittest.py:
  12697. - Test our new checkout_revision function.
  12698. 2010-01-20 Fumitoshi Ukai <ukai@chromium.org>
  12699. Reviewed by Alexey Proskuryakov.
  12700. WebSocket: Missing Request-URI, when no tralling slash in host
  12701. https://bugs.webkit.org/show_bug.cgi?id=33689
  12702. Update pywebsocket to 0.4.7.1, which supports alias for resource
  12703. name, so that we could test for ws://127.0.0.1:8880
  12704. * Scripts/run-webkit-tests:
  12705. * Scripts/run-webkit-websocketserver:
  12706. * pywebsocket/mod_pywebsocket/dispatch.py:
  12707. * pywebsocket/mod_pywebsocket/handshake.py:
  12708. * pywebsocket/mod_pywebsocket/standalone.py:
  12709. * pywebsocket/setup.py:
  12710. * pywebsocket/test/test_dispatch.py:
  12711. * pywebsocket/test/test_handshake.py:
  12712. 2010-01-20 Eric Seidel <eric@webkit.org>
  12713. No review, rolling out r53537.
  12714. http://trac.webkit.org/changeset/53537
  12715. https://bugs.webkit.org/show_bug.cgi?id=33496
  12716. Added a failure condition to the commit-queue and looks to
  12717. have broken the EWS bots
  12718. * Scripts/webkitpy/commands/early_warning_system.py:
  12719. * Scripts/webkitpy/commands/queues.py:
  12720. * Scripts/webkitpy/queueengine.py:
  12721. * Scripts/webkitpy/scm.py:
  12722. * Scripts/webkitpy/scm_unittest.py:
  12723. 2010-01-20 Jon Honeycutt <jhoneycutt@apple.com>
  12724. MSAA: accSelect() is not implemented
  12725. https://bugs.webkit.org/show_bug.cgi?id=33918
  12726. <rdar://problem/7436861>
  12727. Reviewed by Darin Adler.
  12728. * DumpRenderTree/AccessibilityUIElement.cpp:
  12729. (takeFocusCallback):
  12730. Call the object's takeFocus() function.
  12731. (takeSelectionCallback):
  12732. Call its takeSelection() function.
  12733. (addSelectionCallback):
  12734. Call its addSelection() function.
  12735. (removeSelectionCallback):
  12736. Call its removeSelection() function.
  12737. (AccessibilityUIElement::getJSClass):
  12738. Add new functions to the JS class definition.
  12739. * DumpRenderTree/AccessibilityUIElement.h:
  12740. Declare new functions.
  12741. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  12742. (AccessibilityUIElement::takeFocus):
  12743. Stubbed.
  12744. (AccessibilityUIElement::takeSelection):
  12745. Stubbed.
  12746. (AccessibilityUIElement::addSelection):
  12747. Stubbed.
  12748. (AccessibilityUIElement::removeSelection):
  12749. Stubbed.
  12750. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  12751. (AccessibilityUIElement::takeFocus):
  12752. Stubbed.
  12753. (AccessibilityUIElement::takeSelection):
  12754. Stubbed.
  12755. (AccessibilityUIElement::addSelection):
  12756. Stubbed.
  12757. (AccessibilityUIElement::removeSelection):
  12758. Stubbed.
  12759. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  12760. (AccessibilityUIElement::takeFocus):
  12761. Call the object's accSelect() function, passing the appropriate flag.
  12762. (AccessibilityUIElement::takeSelection):
  12763. Ditto.
  12764. (AccessibilityUIElement::addSelection):
  12765. Ditto.
  12766. (AccessibilityUIElement::removeSelection):
  12767. Ditto.
  12768. 2010-01-20 Andras Becsi <abecsi@inf.u-szeged.hu>
  12769. Reviewed by Alexey Proskuryakov.
  12770. Extract Apache handling to httpd.pm module and use the provided functionality
  12771. in scripts where Apache is needed.
  12772. The module httpd.pm stores the PID of Apache in a variable and cleans up
  12773. the PID directory after Apache properly shut down. Catching INT and TERM
  12774. signals allows the scripts to close Apache and clean up its PID directory
  12775. even if the testing was interrupted.
  12776. https://bugs.webkit.org/show_bug.cgi?id=33153
  12777. * Scripts/webkitperl/httpd.pm: Added.
  12778. * Scripts/run-iexploder-tests:
  12779. * Scripts/run-webkit-httpd:
  12780. * Scripts/run-webkit-tests:
  12781. 2010-01-20 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  12782. Reviewed by Simon Hausmann.
  12783. [Qt] Make DumpRenderTree build on Windows
  12784. * DumpRenderTree/qt/DumpRenderTree.pro:
  12785. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  12786. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  12787. * DumpRenderTree/qt/main.cpp:
  12788. 2010-01-20 Steve Block <steveblock@google.com>
  12789. Reviewed by Eric Seidel.
  12790. Fix commit bot to land patches in order of the bug last modification date.
  12791. https://bugs.webkit.org/show_bug.cgi?id=33395
  12792. * Scripts/webkitpy/bugzilla.py: Modified. Added 'order=Last+Changed' to bugzilla commit queue URL.
  12793. 2010-01-20 Adam Barth <abarth@webkit.org>
  12794. Reviewed by Eric Seidel.
  12795. Teach check-webkit-style about WebKit/gtk/tests
  12796. https://bugs.webkit.org/show_bug.cgi?id=33892
  12797. Removes false positives found in
  12798. https://bugs.webkit.org/show_bug.cgi?id=30883
  12799. * Scripts/webkitpy/style/cpp_style.py:
  12800. * Scripts/webkitpy/style/cpp_style_unittest.py:
  12801. 2010-01-20 Adam Barth <abarth@webkit.org>
  12802. Reviewed by Eric Seidel.
  12803. Teach check-webkit-style about QGVLauncher
  12804. https://bugs.webkit.org/show_bug.cgi?id=33890
  12805. Remove false positives found in
  12806. https://bugs.webkit.org/show_bug.cgi?id=33708
  12807. * Scripts/webkitpy/style/cpp_style.py:
  12808. * Scripts/webkitpy/style/cpp_style_unittest.py:
  12809. 2010-01-20 Eric Seidel <eric@webkit.org>
  12810. Reviewed by Adam Barth.
  12811. webkit-commit-queue status page is confusing
  12812. https://bugs.webkit.org/show_bug.cgi?id=33496
  12813. This should improve the status page by removing more Fail messages.
  12814. To do this, I re-factored the CommitQueue and the AbstractReviewQueues
  12815. to behave more like one another. This meant moving where the failure reporting was done.
  12816. Previously the AbstractReviewQueue always used the parent process to report the error,
  12817. while CommitQueue used the subprocess when possible, and the parent only reported errors
  12818. that we didn't know how to handle (bugs in the commit-queue itself).
  12819. Now the AbstractReviewQueue follow's the commit-queue's model. This got rid of a try-block
  12820. in both implementations and required teaching handle_script_error in each to post Fail messages
  12821. to the status server instead of calling exit(1).
  12822. This will also make the style-queue share more bug posting logic with other queues:
  12823. https://bugs.webkit.org/show_bug.cgi?id=33871
  12824. * Scripts/webkitpy/commands/early_warning_system.py:
  12825. - Don't exit(1) as that will cause the calling queue to also report Fail to the status server.
  12826. Implementors of handle_script_error are expected to update the status server if needed, but only exit if the error could not be handled.
  12827. So we instead pass patch_has_failed_this_queue=True to _update_status_for_script_error in the case that this was a real failure.
  12828. _update_status_for_script_error knows how to post the Fail message to the status server.
  12829. - Teach _update_status_for_script_error how to post Fail messages to the status server.
  12830. * Scripts/webkitpy/commands/queues.py:
  12831. - Remove the try block from process_work_item since the caller already has one.
  12832. - Only CC watchers on failure to cut down on commit-queue generated mail.
  12833. - handle_unexpected_error needs to mark _did_fail now that the try block is gone from process_work_item.
  12834. - Abstract _format_script_error_output_for_bug to share code between all queues.
  12835. - The new _format_script_error_output_for_bug allows the style-queue to share the posting limit with other queues, as well as support linking to the full output.
  12836. - Rename _can_build_and_test to _current_checkout_builds_and_passes_tests to better explain what revision it's testing.
  12837. - Move logging out of _can_build_and_test and make the logs explain what revision we're testing.
  12838. - handle_script_error now posts Fail instead of the try block in process_work_item handling it.
  12839. * Scripts/webkitpy/queueengine.py:
  12840. - QueueEngine is no longer used just by the commit-queue, update the logging to say "processing" instead of landing.
  12841. * Scripts/webkitpy/scm.py:
  12842. - Add new checkout_revision function.
  12843. * Scripts/webkitpy/scm_unittest.py:
  12844. - Test our new checkout_revision function.
  12845. 2010-01-20 Adam Barth <abarth@webkit.org>
  12846. Reviewed by Darin Adler.
  12847. Exempt JavaScriptCore/qt/api from style checks
  12848. https://bugs.webkit.org/show_bug.cgi?id=33879
  12849. Apparently there is a JavaScriptCore API for Qt as well as a WebKit
  12850. API.
  12851. * Scripts/webkitpy/style/cpp_style.py:
  12852. * Scripts/webkitpy/style/cpp_style_unittest.py:
  12853. 2010-01-19 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  12854. Reviewed by Simon Hausmann.
  12855. [Qt] Don't use QSocketNotifier in the DRT for reading stdin
  12856. QSocketNotifier is not available on Windows. Instead we read
  12857. stdin synchronously after each test using signals and slots.
  12858. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  12859. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  12860. * DumpRenderTree/qt/main.cpp:
  12861. 2010-01-19 Adam Barth <abarth@webkit.org>
  12862. Rubber stamped by Eric Seidel.
  12863. Move chromium-ews back to building release only to make the EWS faster.
  12864. * Scripts/webkitpy/commands/early_warning_system.py:
  12865. 2010-01-17 Jon Honeycutt <jhoneycutt@apple.com>
  12866. MSAA: The child <option> elements of a non-multiple <select> are not
  12867. exposed
  12868. https://bugs.webkit.org/show_bug.cgi?id=33773
  12869. <rdar://problem/7550556>
  12870. Reviewed by Alice Liu.
  12871. * DumpRenderTree/AccessibilityUIElement.cpp:
  12872. (getIsVisibleCallback):
  12873. Call the object's isVisible() function.
  12874. (getIsOffScreenCallback):
  12875. Ditto, for isOffScreen().
  12876. (getIsCollapsedCallback):
  12877. Ditto, for isCollapsed().
  12878. (getHasPopupCallback):
  12879. Ditto, for hasPopup().
  12880. (AccessibilityUIElement::getJSClass):
  12881. Add isVisible and isOffScreen attributes.
  12882. * DumpRenderTree/AccessibilityUIElement.h:
  12883. Declare new functions.
  12884. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  12885. (AccessibilityUIElement::isVisible):
  12886. Stubbed.
  12887. (AccessibilityUIElement::isOffScreen):
  12888. Stubbed.
  12889. (AccessibilityUIElement::isCollapsed):
  12890. Stubbed.
  12891. (AccessibilityUIElement::hasPopup):
  12892. Stubbed.
  12893. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  12894. (AccessibilityUIElement::isVisible):
  12895. Stubbed.
  12896. (AccessibilityUIElement::isOffScreen):
  12897. Stubbed.
  12898. (AccessibilityUIElement::isCollapsed):
  12899. Stubbed.
  12900. (AccessibilityUIElement::hasPopup):
  12901. Stubbed.
  12902. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  12903. (AccessibilityUIElement::showMenu):
  12904. Call the object's accDoDefaultAction() to show its popup menu.
  12905. (AccessibilityUIElement::isEnabled):
  12906. Check that the object does not have the "unavailable" state.
  12907. (AccessibilityUIElement::isVisible):
  12908. Check that the object does not have the "invisible" state.
  12909. (AccessibilityUIElement::isOffScreen):
  12910. Check whether the object has the "offscreen" state.
  12911. (AccessibilityUIElement::isCollapsed):
  12912. Check whether the object has the "collapsed" state.
  12913. (AccessibilityUIElement::hasPopup):
  12914. Check whether the object has the "has popup" state.
  12915. 2010-01-19 Victor Wang <victorw@chromium.org>
  12916. Reviewed by Eric Seidel.
  12917. Correct committer name.
  12918. https://bugs.webkit.org/show_bug.cgi?id=33868
  12919. * Scripts/webkitpy/committers.py:
  12920. 2010-01-19 Kent Tamura <tkent@chromium.org>
  12921. Reviewed by Darin Adler.
  12922. [DRT][Mac] Add modifiers parameter to eventSender.mouseDown() and eventSender.mouseUp()
  12923. https://bugs.webkit.org/show_bug.cgi?id=33783
  12924. Some listbox tests check selection behavior by click events with
  12925. "meta" or "shift" keys. Behaviors for such modifier keys are
  12926. platform-dependent. The new parameter of mouseDown() and mouseUp()
  12927. allows to specify not only concrete modifier keys such as
  12928. "shiftKey" "metaKey", but also functional names like
  12929. "addSelectionKey" "rangeSelectionKey".
  12930. * DumpRenderTree/mac/EventSendingController.mm:
  12931. (+[EventSendingController isSelectorExcludedFromWebScript:]):
  12932. (+[EventSendingController webScriptNameForSelector:]):
  12933. (buildModifierFlags):
  12934. (-[EventSendingController mouseDown:withModifiers:]):
  12935. (-[EventSendingController mouseDown:]):
  12936. (-[EventSendingController mouseUp:withModifiers:]):
  12937. (-[EventSendingController mouseUp:]):
  12938. (-[EventSendingController keyDown:withModifiers:withLocation:]):
  12939. 2010-01-19 Adam Barth <abarth@webkit.org>
  12940. Reviewed by Eric Seidel.
  12941. Unbreak --request-commit
  12942. https://bugs.webkit.org/show_bug.cgi?id=33832
  12943. * Scripts/webkitpy/bugzilla.py:
  12944. 2010-01-19 Eric Seidel <eric@webkit.org>
  12945. Reviewed by Adam Barth.
  12946. validate-committer-lists throws exception and committers.py needs a refresh
  12947. https://bugs.webkit.org/show_bug.cgi?id=33831
  12948. * Scripts/validate-committer-lists: use webkit_logging
  12949. * Scripts/webkitpy/committers.py: Add recently minted committers. Fix Simon Hausmanns email address list to include his webkit-committers@lists address.
  12950. 2010-01-18 Adam Roben <aroben@apple.com>
  12951. Add LayoutTestController support for calling new WebKit SPI to
  12952. disallow setting document.domain
  12953. DRT part of fixing <http://webkit.org/b/33806>
  12954. <rdar://problem/7552837> Would like API to disallow setting of
  12955. document.domain for pages with certain URL schemes
  12956. Reviewed by Sam Weinig.
  12957. * DumpRenderTree/LayoutTestController.cpp:
  12958. (setDomainRelaxationForbiddenForURLSchemeCallback): Added. Calls
  12959. through to LayoutTestController.
  12960. (LayoutTestController::staticFunctions): Added
  12961. setDomainRelaxationForbiddenForURLScheme.
  12962. * DumpRenderTree/LayoutTestController.h: Added
  12963. setDomainRelaxationForbiddenForURLScheme.
  12964. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  12965. (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
  12966. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  12967. (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
  12968. Added. Calls through to WebKit.
  12969. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  12970. (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
  12971. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  12972. (LayoutTestController::setDomainRelaxationForbiddenForURLScheme):
  12973. Stubbed out.
  12974. 2010-01-18 Adam Barth <abarth@webkit.org>
  12975. Reviewed by Adam Roben.
  12976. Rename patches-to-commit to patches-in-commit-queue
  12977. https://bugs.webkit.org/show_bug.cgi?id=33789
  12978. The command really lists the patches in the commit-queue not all the
  12979. patches that are pending-commit (as the FIXME commands).
  12980. * Scripts/webkitpy/commands/queries.py:
  12981. * Scripts/webkitpy/commands/queries_unittest.py:
  12982. 2010-01-18 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  12983. Reviewed by Simon Hausmann.
  12984. [Qt] Force qmake to generate a single makefile for DerivedSources.pro
  12985. * Scripts/webkitdirs.pm:
  12986. 2010-01-18 Adam Roben <aroben@apple.com>
  12987. Clean up use of /useenv when invoking Visual C++
  12988. This change reverts things to their pre-r49485 state. That revision
  12989. (and, subsequently, r49664 and r51788) started passing /useenv to
  12990. Visual C++, even in cases where we don't want to do so (such as when
  12991. invoking Visual C++ Express), in the name of making the Chromium build
  12992. work. Now that Chromium isn't using buildVisualStudioProject or
  12993. pdevenv, we can put things back they way they were.
  12994. Fixes <http://webkit.org/b/33797> build-webkit fails with VC++ Express
  12995. (due to /useenv flag)
  12996. Reviewed by Sam Weinig.
  12997. * Scripts/pdevenv: Always pass /useenv. Chromium doesn't use this
  12998. script anymore.
  12999. * Scripts/webkitdirs.pm:
  13000. (buildVisualStudioProject): Never pass /useenv anymore. pdevenv takes
  13001. care of this itself, and we don't want to pass /useenv when not using
  13002. pdevenv (e.g., when using VC++ Express, because that will cause it to
  13003. ignore the Platform SDK).
  13004. 2010-01-18 Adam Barth <abarth@webkit.org>
  13005. Reviewed by Eric Seidel.
  13006. webkit-patch land-safely should obsolete old patches
  13007. https://bugs.webkit.org/show_bug.cgi?id=33788
  13008. When posting a commit-queue+ patch with land-safely, we should
  13009. obsolete the old patches on the bug. They're really confusing
  13010. because the main use case is to address reviewer feedback on a
  13011. previous patch.
  13012. * Scripts/webkitpy/commands/upload.py:
  13013. * Scripts/webkitpy/commands/upload_unittest.py:
  13014. 2010-01-18 Adam Barth <abarth@webkit.org>
  13015. Reviewed by David Levin.
  13016. webkit-patch should authenticate more often
  13017. https://bugs.webkit.org/show_bug.cgi?id=33701
  13018. This makes it easier to work with security patches.
  13019. * Scripts/webkitpy/bugzilla.py:
  13020. 2010-01-18 Adam Barth <abarth@webkit.org>
  13021. Reviewed by Darin Adler.
  13022. style checker needs to know about GObject-specific requirements
  13023. inside WebCore/bindings/gobject/
  13024. https://bugs.webkit.org/show_bug.cgi?id=33606
  13025. Add an exception to the underscore rule for certain
  13026. GObject-specific names.
  13027. * Scripts/webkitpy/style/cpp_style.py:
  13028. * Scripts/webkitpy/style/cpp_style_unittest.py:
  13029. 2010-01-18 Adam Barth <abarth@webkit.org>
  13030. Reviewed by Shinichiro Hamaji.
  13031. [check-webkit-style] does understand ResourceHandleWin.h
  13032. https://bugs.webkit.org/show_bug.cgi?id=32975
  13033. I'm not 100% convinced this fix is correct, but without more examples,
  13034. it's hard to generalize. We can always generalize the fix in the
  13035. future.
  13036. * Scripts/webkitpy/style/cpp_style.py:
  13037. * Scripts/webkitpy/style/cpp_style_unittest.py:
  13038. 2010-01-18 Adam Barth <abarth@webkit.org>
  13039. Unreviewed "build" fix.
  13040. * Scripts/webkitpy/bugzilla.py:
  13041. 2010-01-18 Adam Barth <abarth@webkit.org>
  13042. Unreviewed. Actually make land-safely mark commit-queue+ as
  13043. discussed with Eric.
  13044. * Scripts/webkitpy/bugzilla.py:
  13045. * Scripts/webkitpy/steps/postdiffforcommit.py:
  13046. 2010-01-17 Adam Barth <abarth@webkit.org>
  13047. Reviewed by Darin Adler.
  13048. style-queue complains about one-line macros that include multiple statements
  13049. https://bugs.webkit.org/show_bug.cgi?id=33173
  13050. Add an exception for multiple statements on a line that starts a macro.
  13051. * Scripts/webkitpy/style/cpp_style.py:
  13052. * Scripts/webkitpy/style/cpp_style_unittest.py:
  13053. 2010-01-17 Adam Barth <abarth@webkit.org>
  13054. Reviewed by Darin Adler.
  13055. [check-webkit-style] qt unit testing false positives
  13056. https://bugs.webkit.org/show_bug.cgi?id=32833
  13057. Exempt the Qt API and unit tests from the style checker.
  13058. * Scripts/webkitpy/style/cpp_style.py:
  13059. * Scripts/webkitpy/style/cpp_style_unittest.py:
  13060. 2010-01-17 Adam Barth <abarth@webkit.org>
  13061. Reviewed by Darin Adler.
  13062. style-check script reports loads of errors on gtk2drawing.c
  13063. https://bugs.webkit.org/show_bug.cgi?id=33771
  13064. Exempt WebCore/platform/gtk/gtk2drawing.c and
  13065. WebCore/platform/gtk/gtk2drawing.h from style checks.
  13066. * Scripts/webkitpy/style/cpp_style.py:
  13067. * Scripts/webkitpy/style/cpp_style_unittest.py:
  13068. 2010-01-17 Chris Jerdonek <cjerdonek@webkit.org>
  13069. Reviewed by Shinichiro Hamaji.
  13070. Finished eliminating _cpp_style_state global state variable from
  13071. check-webkit-style code and eliminating _CppStyleState class.
  13072. https://bugs.webkit.org/show_bug.cgi?id=33764
  13073. * Scripts/webkitpy/style/checker.py:
  13074. - Minor updates caused by changes to cpp_style.py.
  13075. * Scripts/webkitpy/style/cpp_style.py:
  13076. - Removed _CppStyleState class.
  13077. - Removed verbose_level functions.
  13078. - Added verbosity as a parameter to _FunctionState constructor.
  13079. - Added verbosity as a parameter to process_file().
  13080. - Added verbosity as a parameter to process_file_data().
  13081. * Scripts/webkitpy/style/cpp_style_unittest.py:
  13082. - Added helper functions to set verbosity while running tests.
  13083. 2010-01-17 Adam Barth <abarth@webkit.org>
  13084. Reviewed by Shinichiro Hamaji.
  13085. check-webkit-style underscore check should be disabled for Qt methods starting with qt_
  13086. https://bugs.webkit.org/show_bug.cgi?id=33663
  13087. * Scripts/webkitpy/style/cpp_style.py:
  13088. * Scripts/webkitpy/style/cpp_style_unittest.py:
  13089. 2010-01-17 Adam Barth <abarth@webkit.org>
  13090. Reviewed by Eric Seidel.
  13091. style-queue complains about missing #include of config.h for non-WebCore projects
  13092. https://bugs.webkit.org/show_bug.cgi?id=33170
  13093. WebKitAPITests are consumers of the WebKit API and therefore do not
  13094. need to follow the same include discipline as the rest of WebKit. This
  13095. patch exempts them from the include checks.
  13096. * Scripts/webkitpy/style/cpp_style.py:
  13097. * Scripts/webkitpy/style/cpp_style_unittest.py:
  13098. 2010-01-17 Adam Barth <abarth@webkit.org>
  13099. Reviewed by Eric Seidel.
  13100. EWS (Early Warning Systems) should build both debug and release
  13101. https://bugs.webkit.org/show_bug.cgi?id=33681
  13102. Build both debug and release for chromium-ews.
  13103. * Scripts/webkitpy/commands/early_warning_system.py:
  13104. 2010-01-17 Adam Barth <abarth@webkit.org>
  13105. Reviewed by Darin Adler.
  13106. style-queue should include instructions for how to file bugs against check-webkit-style
  13107. https://bugs.webkit.org/show_bug.cgi?id=32345
  13108. Added some text to the error message asking folks to file bugs against
  13109. false positives.
  13110. * Scripts/webkitpy/commands/queues.py:
  13111. 2010-01-17 Chris Jerdonek <cjerdonek@webkit.org>
  13112. Reviewed by Adam Barth.
  13113. Eliminated the error_count global variable and related
  13114. check-webkit-style refactoring.
  13115. https://bugs.webkit.org/show_bug.cgi?id=33678
  13116. * Scripts/check-webkit-style:
  13117. - Updated to use webkit_argument_defaults().
  13118. - Renamed styleChecker to style_checker.
  13119. * Scripts/webkitpy/style/checker.py:
  13120. - Prefixed the three default arguments with WEBKIT_DEFAULT.
  13121. - Added webkit_argument_defaults().
  13122. - Added default filter_rules parameter to CategoryFilter constructor.
  13123. - Added __ne__() to CategoryFilter class.
  13124. - Added __eq__() and __ne__() to ProcessorOptions class.
  13125. - Added error_count and _write_error attributes to StyleChecker class.
  13126. - Made StyleChecker._handle_error() increment the error count.
  13127. * Scripts/webkitpy/style/checker_unittest.py:
  13128. - Improved CategoryFilterTest.test_eq().
  13129. - Added CategoryFilterTest.test_ne().
  13130. - Added test_eq() and test_ne() to ProcessorOptionsTest class.
  13131. - Updated unit tests to use webkit_argument_defaults().
  13132. - Added StyleCheckerTest class.
  13133. * Scripts/webkitpy/style/cpp_style.py:
  13134. - Removed references to global error_count.
  13135. * Scripts/webkitpy/style/cpp_style_unittest.py:
  13136. - Removed CppStyleStateTest class.
  13137. 2010-01-15 Jon Honeycutt <jhoneycutt@apple.com>
  13138. get_accParent should try to retrieve parent AccessibilityObject, before
  13139. calling upon window
  13140. https://bugs.webkit.org/show_bug.cgi?id=22893
  13141. Reviewed by Darin Adler.
  13142. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  13143. (AccessibilityUIElement::parentElement):
  13144. Get the object's parent. Query it for IAccessible, and return it.
  13145. 2010-01-16 Dan Bernstein <mitz@apple.com>
  13146. Reviewed by Mark Rowe.
  13147. <rdar://problem/7529519> DumpRenderTree crashes in makeLargeMallocFailSilently()
  13148. * DumpRenderTree/mac/CheckedMalloc.cpp:
  13149. (makeLargeMallocFailSilently): Temporarily allow writing to the default
  13150. malloc zone structure while modifying it.
  13151. 2010-01-16 David Kilzer <ddkilzer@apple.com>
  13152. Added back removed properties to iExploder input files
  13153. While the update-iexploder-cssproperties script works great to
  13154. add new properties, it has the side-effect of removing old
  13155. properties that once were parsed.
  13156. * iExploder/htdocs/cssproperties.in: Added back removed
  13157. properties into their own section.
  13158. * iExploder/htdocs/htmlattrs.in: Ditto.
  13159. 2010-01-16 Holger Hans Peter Freyther <zecke@selfish.org>
  13160. Reviewed by David Kilzer.
  13161. Update iExploder/htdocs/*.in by running update-iexploder-cssproperties
  13162. https://bugs.webkit.org/show_bug.cgi?id=33756
  13163. * iExploder/htdocs/cssproperties.in: New CSS attributes
  13164. * iExploder/htdocs/htmlattrs.in: New HTML attributes
  13165. * iExploder/htdocs/htmltags.in: New HTML tags
  13166. 2010-01-15 Chris Jerdonek <chris.jerdonek@gmail.com>
  13167. Reviewed by David Kilzer.
  13168. Altered parseDiffHeader() to skip unrecognized lines and
  13169. other minor clean-ups.
  13170. https://bugs.webkit.org/show_bug.cgi?id=33476
  13171. * Scripts/VCSUtils.pm:
  13172. - Changed parseDiffHeader() as follows:
  13173. - Skips over unrecognized lines.
  13174. - Addressed FIXME to remove substitution for "diff" line.
  13175. - Renamed "version" header hash key to "sourceRevision".
  13176. - Eliminated "copiedFromVersion" header hash key.
  13177. - Included "sourceRevision" also for copied files.
  13178. - Checks that copy revision number matches "sourceRevision".
  13179. - No longer returns $foundHeaderEnding.
  13180. - Dies if header ending not found.
  13181. - Diff header dividing line now always added.
  13182. * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
  13183. - Made necessary changes in parseDiffHeader() unit tests.
  13184. - Shortened the file paths in some test cases.
  13185. 2010-01-14 Yuzo Fujishima <yuzo@google.com>
  13186. Reviewed by Alexey Proskuryakov.
  13187. Update pywebsocket to 0.4.6
  13188. https://bugs.webkit.org/show_bug.cgi?id=32299
  13189. The newer pywebsocket can handle more simultaneous connections.
  13190. * pywebsocket/mod_pywebsocket/handshake.py:
  13191. * pywebsocket/mod_pywebsocket/standalone.py:
  13192. * pywebsocket/setup.py:
  13193. * pywebsocket/test/test_handshake.py:
  13194. 2010-01-14 Eric Seidel <eric@webkit.org>
  13195. Reviewed by Adam Barth.
  13196. REGRESSION(53133): commit-queue no longer rejects patches with invalid committers, instead it hangs
  13197. https://bugs.webkit.org/show_bug.cgi?id=33638
  13198. * Scripts/webkitpy/bugzilla.py:
  13199. - Add Bug.id() to match Attachment.id()
  13200. - Give Bug.reviewed_patches and commit_queued_patches the option to return patches with invalid committers/reviewers.
  13201. - Add back a missing variable to _validate_setter_email found by the new unit tests!
  13202. * Scripts/webkitpy/commands/queries.py:
  13203. - Add FIXMEs about the commands being confusingly named.
  13204. * Scripts/webkitpy/commands/queries_unittest.py:
  13205. - Update results to reflect the newly restructured mock bug cache.
  13206. * Scripts/webkitpy/commands/queues.py:
  13207. - Add a new _validate_patches_in_commit_queue method (this is what fixes the regression).
  13208. - Add a FIXME about eventually sorting the patches into some order.
  13209. * Scripts/webkitpy/commands/queues_unittest.py:
  13210. - Update results now that with the newly restructure mock bug cache we're testing cq+'d patches with an invalid committer.
  13211. * Scripts/webkitpy/commands/upload_unittest.py:
  13212. - Update results to match the newly restructured mock bug cache.
  13213. * Scripts/webkitpy/mock_bugzillatool.py:
  13214. - Restructure fetch_ methods to not use a manual list of ids, but rather use Bug and Attachment classes to make real queries from all of the Bugs.
  13215. - Add a few more attachments and bug dictionaries for use by the tests.
  13216. 2010-01-13 Diego Gonzalez <diego.gonzalez@openbossa.org>
  13217. Reviewed by Kenneth Christiansen.
  13218. [Qt] DRT missing setUserStyleSheetLocation and setUserStyleSheetEnabled in LayoutTestController
  13219. https://bugs.webkit.org/show_bug.cgi?id=33617
  13220. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  13221. (WebCore::WebPage::resetSettings):
  13222. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  13223. (LayoutTestController::setUserStyleSheetLocation):
  13224. (LayoutTestController::setUserStyleSheetEnabled):
  13225. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  13226. 2010-01-14 Adam Roben <aroben@apple.com>
  13227. Add LayoutTestController API to force
  13228. -webView:resource:willSendRequest:: to return null
  13229. Enables tests for <rdar://problem/7533333> <http://webkit.org/b/33533>
  13230. window.onload never fires if page contains an <iframe> with a bad
  13231. scheme or whose load is cancelled by returning null from resource load
  13232. delegate's willSendRequest
  13233. Reviewed by Brady Eidson.
  13234. * DumpRenderTree/LayoutTestController.cpp:
  13235. (LayoutTestController::LayoutTestController): Initialize new member.
  13236. (setWillSendRequestReturnsNullCallback): Call through to
  13237. LayoutTestController.
  13238. (LayoutTestController::staticFunctions): Added new function.
  13239. * DumpRenderTree/LayoutTestController.h: Added
  13240. m_willSendRequestReturnsNull.
  13241. (LayoutTestController::willSendRequestReturnsNull):
  13242. (LayoutTestController::setWillSendRequestReturnsNull):
  13243. Added standard accessors.
  13244. * DumpRenderTree/mac/ResourceLoadDelegate.mm:
  13245. (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
  13246. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  13247. (ResourceLoadDelegate::willSendRequest):
  13248. Return null if LayoutTestController says to.
  13249. 2010-01-14 Kevin Ollivier <kevino@theolliviers.com>
  13250. [wx] Build fix after removal of XBM support.
  13251. * wx/build/settings.py:
  13252. 2010-01-14 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  13253. Reviewed by Simon Hausmann.
  13254. Add support for partial building on Symbian.
  13255. The build happens in the source directory as out of source builds are
  13256. not supported by qmake for Symbian.
  13257. Also the actual build isn't started but it is left to the developer
  13258. to choose the architecture/configuration.
  13259. * Scripts/webkitdirs.pm:
  13260. 2010-01-14 Simon Hausmann <simon.hausmann@nokia.com>
  13261. Reviewed by Kenneth Rohde Christiansen.
  13262. Add support for "detecting" Symbian environments by either
  13263. looking for the EPOCROOT environment variable or via --symbian
  13264. being passed on the commandline.
  13265. * Scripts/webkitdirs.pm:
  13266. 2010-01-14 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  13267. Unreviewed.
  13268. [Qt] Use a different Makefile names for sources generation and compilation.
  13269. This prevents Makefile overwriting when running build-webkit twice.
  13270. * Scripts/webkitdirs.pm:
  13271. 2010-01-14 Andreas Kling <andreas.kling@nokia.com>
  13272. Reviewed by Kenneth Rohde Christiansen.
  13273. [Qt] Add an "alien_QLabel" classId for manual testing of alien widgets.
  13274. https://bugs.webkit.org/show_bug.cgi?id=33373
  13275. * QtLauncher/main.cpp:
  13276. (WebPage::createPlugin):
  13277. 2010-01-14 Eric Seidel <eric@webkit.org>
  13278. No review, rolling out r53249.
  13279. http://trac.webkit.org/changeset/53249
  13280. https://bugs.webkit.org/show_bug.cgi?id=33617
  13281. This caused http/tests/security/local-user-CSS-from-
  13282. remote.html to fail on the Qt Release Build Bot.
  13283. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  13284. (WebCore::WebPage::resetSettings):
  13285. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  13286. (LayoutTestController::overridePreference):
  13287. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  13288. 2010-01-14 Chris Jerdonek <chris.jerdonek@gmail.com>
  13289. Reviewed by Shinichiro Hamaji.
  13290. Moved error() from cpp_style.py to checker.py.
  13291. https://bugs.webkit.org/show_bug.cgi?id=33620
  13292. * Scripts/check-webkit-style:
  13293. - Addressed FIXME to not set global state.
  13294. * Scripts/webkitpy/style/checker.py:
  13295. - Added argument validation to ProcessorOptions constructor.
  13296. - Added should_report_error() to ProcessorOptions class.
  13297. - Removed set_options().
  13298. - Added StyleChecker class.
  13299. * Scripts/webkitpy/style/checker_unittest.py:
  13300. - Added unit test class for ProcessorOptions class.
  13301. - Added unit test to check that parse() strips white space.
  13302. * Scripts/webkitpy/style/cpp_style.py:
  13303. - Removed "filter" and "output_format" methods.
  13304. - Removed should_print_error() and error() functions.
  13305. - Removed default parameter value from process_file().
  13306. * Scripts/webkitpy/style/cpp_style_unittest.py:
  13307. - Removed call to cpp_style._should_print_error().
  13308. - Removed test_filter() and test_filter_appending().
  13309. * Scripts/webkitpy/style/text_style.py:
  13310. - Removed default parameter value from process_file().
  13311. 2010-01-14 Diego Gonzalez <diego.gonzalez@openbossa.org>
  13312. Reviewed by Kenneth Rohde Christiansen.
  13313. [Qt] DRT missing setUserStyleSheetLocation and setUserStyleSheetEnabled in LayoutTestController
  13314. https://bugs.webkit.org/show_bug.cgi?id=33617
  13315. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  13316. (WebCore::WebPage::resetSettings):
  13317. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  13318. (LayoutTestController::setUserStyleSheetLocation):
  13319. (LayoutTestController::setUserStyleSheetEnabled):
  13320. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  13321. 2010-01-13 Adam Barth <abarth@webkit.org>
  13322. Reviewed by Eric Seidel.
  13323. Fix CloseBugForLandDiff unittest to actually run
  13324. https://bugs.webkit.org/show_bug.cgi?id=33640
  13325. * Scripts/webkitpy/mock_bugzillatool.py:
  13326. * Scripts/webkitpy/steps/closebugforlanddiff_unittest.py:
  13327. 2010-01-12 Jon Honeycutt <jhoneycutt@apple.com>
  13328. MSAA: selected, selectable, extended selectable, and multiple
  13329. selectable states are not reported
  13330. https://bugs.webkit.org/show_bug.cgi?id=33574
  13331. <rdar://problem/7536826>
  13332. Reviewed by Darin Adler.
  13333. * DumpRenderTree/AccessibilityUIElement.cpp:
  13334. (getIsSelectableCallback):
  13335. Return the result of calling isSelectable().
  13336. (getIsMultiSelectableCallback):
  13337. Return the result of calling isMultiSelectable().
  13338. (AccessibilityUIElement::getJSClass):
  13339. Add isSelected and isMultiSelectable properties to the JSClass
  13340. definition.
  13341. * DumpRenderTree/AccessibilityUIElement.h:
  13342. Declare isSelectable() and isMultiSelectable().
  13343. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  13344. (AccessibilityUIElement::isSelectable):
  13345. Stubbed.
  13346. (AccessibilityUIElement::isMultiSelectable):
  13347. Stubbed.
  13348. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  13349. (AccessibilityUIElement::isSelectable):
  13350. Stubbed.
  13351. (AccessibilityUIElement::isMultiSelectable):
  13352. Stubbed.
  13353. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  13354. (accessibilityState):
  13355. Get the object's state, and return it.
  13356. (AccessibilityUIElement::isSelected):
  13357. Check the object's selected state.
  13358. (AccessibilityUIElement::isSelectable):
  13359. Check the object's selectable state.
  13360. (AccessibilityUIElement::isMultiSelectable):
  13361. Check the object's extended/multiple selectable state.
  13362. 2010-01-13 Adam Barth <abarth@webkit.org>
  13363. Unreviewed. Repeat the below for CloseBugForLandDiff.
  13364. * Scripts/test-webkitpy:
  13365. * Scripts/webkitpy/steps/closebugforlanddiff.py:
  13366. * Scripts/webkitpy/steps/closebugforlanddiff_unittest.py: Added.
  13367. 2010-01-13 Adam Barth <abarth@webkit.org>
  13368. Unreviewed. Turn the mac-ews status bubbles back on now that this bot
  13369. is running again.
  13370. * QueueStatusServer/templates/statusbubble.html:
  13371. 2010-01-13 Adam Barth <abarth@webkit.org>
  13372. Reviewed by Darin Adler.
  13373. REGRESSION(53133): webkit-patch land dies if it can't find a bug id.
  13374. https://bugs.webkit.org/show_bug.cgi?id=33634
  13375. Deal with the case of no bug patch object in the state.
  13376. * Scripts/webkitpy/steps/updatechangelogswithreview_unittests.py:
  13377. * Scripts/webkitpy/steps/updatechangelogswithreviewer.py:
  13378. 2010-01-13 Kenneth Russell <kbr@google.com>
  13379. Unreviewed; added myself to the committers list.
  13380. * Scripts/webkitpy/committers.py:
  13381. 2010-01-13 Darin Adler <darin@apple.com>
  13382. Ignore compiled Python in more of webkitpy.
  13383. * Scripts/webkitpy/commands: Added property svn:ignore.
  13384. * Scripts/webkitpy/steps: Added property svn:ignore.
  13385. * Scripts/webkitpy/style: Added property svn:ignore.
  13386. 2010-01-13 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  13387. Reviewed by Simon Hausmann.
  13388. [Qt] Fix build problem related to the pushd command
  13389. * Scripts/webkitdirs.pm:
  13390. 2010-01-13 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  13391. Reviewed by Simon Hausmann.
  13392. [Qt] Split the build process in two different .pro files.
  13393. This allows qmake to be run once all source files are available.
  13394. * Scripts/webkitdirs.pm: Add calls to make DerivedSources.pro in JSC and WC.
  13395. 2010-01-13 Shinichiro Hamaji <hamaji@chromium.org>
  13396. Unreviewed tiny typo fix in docstrings.
  13397. * Scripts/webkitpy/style/checker_unittest.py:
  13398. 2010-01-13 Chris Jerdonek <chris.jerdonek@gmail.com>
  13399. Reviewed by Shinichiro Hamaji.
  13400. Created a CategoryFilter class to encapsulate the logic of
  13401. filter rules.
  13402. https://bugs.webkit.org/show_bug.cgi?id=33454
  13403. * Scripts/webkitpy/style/checker.py:
  13404. - Added CategoryFilter class.
  13405. * Scripts/webkitpy/style/checker_unittest.py:
  13406. - Added CategoryFilter unit tests.
  13407. * Scripts/webkitpy/style/cpp_style.py:
  13408. - Updated filter methods to use CategoryFilter.
  13409. * Scripts/webkitpy/style/cpp_style_unittest.py:
  13410. - Updated references to filters.
  13411. 2010-01-12 Shinichiro Hamaji <hamaji@chromium.org>
  13412. Unreviewed. Now I can review :)
  13413. * Scripts/webkitpy/committers.py:
  13414. 2010-01-12 Brent Fulgham <bfulgham@webkit.org>
  13415. Reviewed by Darin Adler.
  13416. Extend WinLauncher example with better printing features.
  13417. * WinLauncher/PrintWebUIDelegate.cpp:
  13418. (PrintWebUIDelegate::webViewPrintingMarginRect): Provide slightly
  13419. larger margins.
  13420. (PrintWebUIDelegate::webViewHeaderHeight): Compute header height based
  13421. on text metrics.
  13422. (PrintWebUIDelegate::webViewFooterHeight): Compute footer height based
  13423. on text metrics.
  13424. (PrintWebUIDelegate::drawHeaderInRect): Write useful header, along
  13425. with separating line.
  13426. (PrintWebUIDelegate::drawFooterInRect):
  13427. * WinLauncher/PrintWebUIDelegate.h: Remove stubs.
  13428. * WinLauncher/WinLauncher.cpp:
  13429. (PrintView): Correct loop used to print individual pages.
  13430. Previously it started at 0, which is a wild-card to print all
  13431. pages at once.
  13432. 2010-01-12 Alexey Proskuryakov <ap@apple.com>
  13433. Reviewed by Darin Adler.
  13434. https://bugs.webkit.org/show_bug.cgi?id=33540
  13435. Make it possible to build in debug mode with assertions disabled
  13436. * DumpRenderTree/mac/ObjCController.m: (-[ObjCController accessStoredWebScriptObject]):
  13437. 2010-01-11 Darin Fisher <darin@chromium.org>
  13438. Reviewed by Dimitri Glazkov.
  13439. [Chromium] "build-webkit --chromium" should run "make all" on Linux
  13440. https://bugs.webkit.org/show_bug.cgi?id=33500
  13441. * Scripts/webkitdirs.pm:
  13442. 2010-01-12 Eric Seidel <eric@webkit.org>
  13443. Reviewed by Adam Barth.
  13444. AssignToCommitter does not need to fetch bugs twice
  13445. https://bugs.webkit.org/show_bug.cgi?id=33530
  13446. This is a no-brainer patch now that we've added Bug.reviewed_patches
  13447. * Scripts/webkitpy/commands/upload.py:
  13448. 2010-01-12 Eric Seidel <eric@webkit.org>
  13449. Reviewed by Adam Barth.
  13450. bugzilla.py should have an Attachment object instead of passing around dictionaries
  13451. https://bugs.webkit.org/show_bug.cgi?id=31594
  13452. * Scripts/webkitpy/bugzilla.py:
  13453. - Add a new Attachment class, with accessor methods for all the necessary properties.
  13454. - Update Bug to carry a pointer back to bugzilla (attachments need to access Bugzilla for committer validation and url())
  13455. - Move reviewed_patches and commit_queued_patches out of Bugzilla custom methods and onto Bug
  13456. - Move committer validation logic into its own class.
  13457. - Committer rejection is only used in one place. Make the new Bug reviewed_patches and commit_queued_patches
  13458. handle the common case (of returning "reviewer" or "committer" as None), and let CommitterValidation handle
  13459. the case where we want to reject patches in bugzilla.
  13460. - Simplify fetch_patches_from_commit_queue now that committer validation is simpler.
  13461. - Make all self.bugzilla.fetch_bug access go through BugzillaQueries._fetch_bug.
  13462. - Mark set_flag_on_attachment as non-private to denote that CommitterValidation depends on it.
  13463. - Move fetch_reviewed_patches_from_bug and fetch_commit_queue_patches_from_bug logic onto the Bug class.
  13464. * Scripts/webkitpy/bugzilla_unittest.py:
  13465. - Move test_flag_permission_rejection_message into a new CommitterValidationTest class.
  13466. * Scripts/webkitpy/commands/download.py:
  13467. - Store "bug_id" in state instead of making a fake patch object.
  13468. - Update to use Attachment and Bug objects.
  13469. * Scripts/webkitpy/commands/download_unittest.py:
  13470. - Update expected results now that our testing framework covers more code.
  13471. * Scripts/webkitpy/commands/early_warning_system.py: Update to use new Attachment class.
  13472. * Scripts/webkitpy/commands/queries.py: Remove unused ReviewedPatches class.
  13473. * Scripts/webkitpy/commands/queries_unittest.py: ditto.
  13474. * Scripts/webkitpy/commands/queues.py: Update to use new Attachment and CommitterValidator classes.
  13475. * Scripts/webkitpy/commands/queuestest.py: ditto.
  13476. * Scripts/webkitpy/commands/upload.py: ditto.
  13477. * Scripts/webkitpy/mock_bugzillatool.py:
  13478. - Now that more logic has moved into Attachment and Bug, we have to actually
  13479. provide real reviewer emails as well as real reviewer flags.
  13480. - Update mock methods to return Attachment objects.
  13481. * Scripts/webkitpy/scm.py: Update to use Attachment class.
  13482. * Scripts/webkitpy/scm_unittest.py: Update to use Attachment class.
  13483. * Scripts/webkitpy/statusserver.py: ditto.
  13484. * Scripts/webkitpy/steps/applypatch.py: ditto.
  13485. * Scripts/webkitpy/steps/applypatchwithlocalcommit.py: ditto.
  13486. * Scripts/webkitpy/steps/closebug.py: ditto.
  13487. * Scripts/webkitpy/steps/closebugforlanddiff.py: Handle either state["bug_id"] or state["patch"].bug_id()
  13488. * Scripts/webkitpy/steps/closepatch.py: Update to use Attachment class.
  13489. * Scripts/webkitpy/steps/obsoletepatches.py: ditto.
  13490. * Scripts/webkitpy/steps/updatechangelogswithreviewer.py: ditto.
  13491. 2010-01-12 Adam Barth <abarth@webkit.org>
  13492. Unreviewed typo fix. :(
  13493. * Scripts/webkitpy/commands/early_warning_system.py:
  13494. * Scripts/webkitpy/commands/queues.py:
  13495. 2010-01-12 Adam Barth <abarth@webkit.org>
  13496. Unreviewed. Add "error" to the right part of the message.
  13497. * Scripts/webkitpy/commands/queues.py:
  13498. 2010-01-12 Adam Barth <abarth@webkit.org>
  13499. Reviewed by Eric Seidel.
  13500. EWS should show purple when svn-apply fails
  13501. https://bugs.webkit.org/show_bug.cgi?id=33527
  13502. * Scripts/webkitpy/commands/early_warning_system.py:
  13503. * Scripts/webkitpy/commands/queues.py:
  13504. 2010-01-12 Adam Barth <abarth@webkit.org>
  13505. Reviewed by Eric Seidel.
  13506. Remove copy/paste code from subclasses of AbstractReviewQueue
  13507. https://bugs.webkit.org/show_bug.cgi?id=33525
  13508. * Scripts/webkitpy/commands/early_warning_system.py:
  13509. * Scripts/webkitpy/commands/queues.py:
  13510. 2010-01-12 Adam Barth <abarth@webkit.org>
  13511. Reviewed by Eric Seidel.
  13512. Add Gustavo and Xan as gtk-ews watchers
  13513. https://bugs.webkit.org/show_bug.cgi?id=33519
  13514. * Scripts/webkitpy/commands/early_warning_system.py:
  13515. 2010-01-12 Adam Barth <abarth@webkit.org>
  13516. Reviewed by Eric Seidel.
  13517. webkit-patch shouldn't waste my time for with a component prompt
  13518. https://bugs.webkit.org/show_bug.cgi?id=33521
  13519. The component field isn't very useful for bugs created with
  13520. webkit-patch because they're likely to be resolved quickly. Instead of
  13521. always prompting for a component, we should just default to the "New
  13522. Bugs" component. If the bug stays around for more than five minutes,
  13523. we can assign it a proper component.
  13524. * Scripts/webkitpy/bugzilla.py:
  13525. 2010-01-12 Adam Barth <abarth@webkit.org>
  13526. Reviewed by Eric Seidel.
  13527. Add experimental "land-safely" command to webkit-patch
  13528. https://bugs.webkit.org/show_bug.cgi?id=33518
  13529. * Scripts/webkitpy/commands/upload.py:
  13530. * Scripts/webkitpy/commands/upload_unittest.py:
  13531. * Scripts/webkitpy/steps/__init__.py:
  13532. * Scripts/webkitpy/steps/postdiffforcommit.py: Added.
  13533. 2010-01-11 Kevin Ollivier <kevino@theolliviers.com>
  13534. [wx] Build fix after introduction of JS_NO_EXPORT
  13535. * wx/build/settings.py:
  13536. 2010-01-11 Eric Seidel <eric@webkit.org>
  13537. No review, rolling out r53079.
  13538. http://trac.webkit.org/changeset/53079
  13539. https://bugs.webkit.org/show_bug.cgi?id=33197
  13540. Adam doens't think this actually works, and believe it caused
  13541. a regression https://bugs.webkit.org/show_bug.cgi?id=33488 so
  13542. rolling this out.
  13543. * Scripts/test-webkitpy:
  13544. * Scripts/webkitpy/commands/abstractdiffcommand.py: Removed.
  13545. * Scripts/webkitpy/commands/abstractdiffcommand_unittest.py: Removed.
  13546. * Scripts/webkitpy/commands/download.py:
  13547. * Scripts/webkitpy/commands/upload.py:
  13548. * Scripts/webkitpy/mock_bugzillatool.py:
  13549. 2010-01-10 Adam Barth <abarth@webkit.org>
  13550. Reviewed by David Kilzer.
  13551. bugzilla-tool submit-patch mistakenly picks up bug URLs in non-ChangeLog files
  13552. https://bugs.webkit.org/show_bug.cgi?id=33197
  13553. We should just search for bug numbers in the ChangeLogs instead of in
  13554. the whole diff.
  13555. * Scripts/test-webkitpy:
  13556. * Scripts/webkitpy/commands/abstractdiffcommand.py: Added.
  13557. * Scripts/webkitpy/commands/abstractdiffcommand_unittest.py: Added.
  13558. * Scripts/webkitpy/commands/download.py:
  13559. * Scripts/webkitpy/commands/upload.py:
  13560. * Scripts/webkitpy/mock_bugzillatool.py:
  13561. 2010-01-11 Chris Jerdonek <chris.jerdonek@gmail.com>
  13562. Reviewed by David Kilzer.
  13563. Created a unit-tested function to parse the header block of
  13564. a Git or SVN diff -- for future refactoring of svn-apply and
  13565. svn-unapply.
  13566. https://bugs.webkit.org/show_bug.cgi?id=33447
  13567. * Scripts/VCSUtils.pm:
  13568. - Added parseDiffHeader().
  13569. - Removed irrelevant comment from gitdiff2svndiff().
  13570. * Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl: Added.
  13571. - Added 48 unit tests for parseDiffHeader().
  13572. 2010-01-10 Adam Barth <abarth@webkit.org>
  13573. Rubber stamped by David Kilzer.
  13574. bugzilla-tool submit-patch mistakenly picks up bug URLs in non-ChangeLog files
  13575. https://bugs.webkit.org/show_bug.cgi?id=33197
  13576. Fix a typo: Commmand -> Command.
  13577. * Scripts/webkitpy/commands/abstractsequencedcommand.py:
  13578. * Scripts/webkitpy/commands/download.py:
  13579. * Scripts/webkitpy/commands/queries.py:
  13580. * Scripts/webkitpy/commands/upload.py:
  13581. * Scripts/webkitpy/multicommandtool.py:
  13582. 2010-01-10 Adam Barth <abarth@webkit.org>
  13583. Reviewed by Darin Adler.
  13584. Let webkit-patch work with options in $EDITOR
  13585. https://bugs.webkit.org/show_bug.cgi?id=33414
  13586. The $EDITOR evironment variable might have command line options like
  13587. bbedit -w. This patch lets us run those $EDITORs.
  13588. * Scripts/webkitpy/user.py:
  13589. 2010-01-10 Robert Hogan <robert@roberthogan.net>
  13590. Reviewed by Adam Barth.
  13591. [Qt] Add enableXSSAuditor support to QWebSettings and DRT.
  13592. https://bugs.webkit.org/show_bug.cgi?id=33419
  13593. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  13594. (WebCore::WebPage::WebPage):
  13595. (WebCore::WebPage::resetSettings):
  13596. (WebCore::DumpRenderTree::createWindow):
  13597. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  13598. (LayoutTestController::setXSSAuditorEnabled):
  13599. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  13600. 2010-01-10 Adam Barth <abarth@webkit.org>
  13601. Unreviewed cosmetic change. Remove the status bubble for mac-ews
  13602. because we don't have hardware for it at the moment.
  13603. * QueueStatusServer/templates/statusbubble.html:
  13604. 2010-01-09 Daniel Bates <dbates@webkit.org>
  13605. No review, rolling out r53044.
  13606. http://trac.webkit.org/changeset/53044
  13607. https://bugs.webkit.org/show_bug.cgi?id=33419
  13608. We need to look into this some more because the Qt
  13609. bot is failing the XSSAuditor tests. See bug #33419
  13610. for more details.
  13611. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  13612. (WebCore::WebPage::WebPage):
  13613. (WebCore::WebPage::resetSettings):
  13614. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  13615. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  13616. 2010-01-09 Daniel Bates <dbates@webkit.org>
  13617. Reviewed by Adam Barth.
  13618. https://bugs.webkit.org/show_bug.cgi?id=33419
  13619. Adds support for the XSSAuditor to the Qt DRT.
  13620. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  13621. (WebCore::WebPage::WebPage):
  13622. (WebCore::WebPage::resetSettings):
  13623. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  13624. (LayoutTestController::setXSSAuditorEnabled):
  13625. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  13626. 2010-01-09 Adam Barth <abarth@webkit.org>
  13627. Reviewed by Eric Seidel.
  13628. Retry writes to QueueStatusServer when we get 500 errors
  13629. https://bugs.webkit.org/show_bug.cgi?id=33412
  13630. This prevents the queues from failing to mark a patch as "pass" or
  13631. "fail" when AppEngine throws 500 errors.
  13632. * Scripts/test-webkitpy:
  13633. * Scripts/webkitpy/networktransaction.py: Added.
  13634. * Scripts/webkitpy/networktransaction_unittest.py: Added.
  13635. * Scripts/webkitpy/statusserver.py:
  13636. * Scripts/webkitpy/steps/closebugformarkbugfixed.py: Added.
  13637. * Scripts/webkitpy/steps/closebugregardlessofpatches.py: Added.
  13638. * Scripts/webkitpy/steps/findbugidfromsvnrevision.py: Added.
  13639. 2010-01-09 David Kilzer <ddkilzer@apple.com>
  13640. <http://webkit.org/b/33430> Fix rounded borders in queue status on older Firefox and Safari browsers
  13641. Reviewed by Eric Seidel.
  13642. * QueueStatusServer/templates/statusbubble.html: Added
  13643. -moz-border-radius and -webkit-border-radius to provide rounded
  13644. borders in older Firefox and Safari browsers.
  13645. 2010-01-09 Chris Jerdonek <chris.jerdonek@gmail.com>
  13646. Reviewed by David Kilzer.
  13647. Modified VCSUtils::gitdiff2svndiff() to accept strings that
  13648. end in vertical white space.
  13649. https://bugs.webkit.org/show_bug.cgi?id=33415
  13650. * Scripts/VCSUtils.pm:
  13651. * Scripts/webkitperl/VCSUtils_unittest/gitdiff2svndiff.pl:
  13652. 2010-01-08 Eric Seidel <eric@webkit.org>
  13653. Reviewed by Adam Barth.
  13654. run-javascriptcore-tests needs a --quiet flag
  13655. https://bugs.webkit.org/show_bug.cgi?id=33399
  13656. Until run-javascriptcore-tests has a --quiet flag, lets just stiffle the output in webkit-patch.
  13657. * Scripts/webkitpy/steps/runtests.py:
  13658. 2010-01-08 Andras Becsi <abecsi@inf.u-szeged.hu>
  13659. Reviewed by Alexey Proskuryakov.
  13660. Only run http and websocket tests as last if no argument is given to be able to explicitly control the test order.
  13661. To be able to run multiple instances of run-webkit-tests besides each other on the same machine we need to minimize
  13662. the time when Apache and WebSocketServer is locked by tests.
  13663. Because closeHTTPD() and closeWebSocketServer() is only called at the end of the testing,
  13664. we need to run http and websocket tests after all other tests.
  13665. If one however explicitly specifies the tests to run in the argument list of run-webkit-tests
  13666. we need to preserve the given order.
  13667. * Scripts/run-webkit-tests:
  13668. 2010-01-08 Adam Barth <abarth@webkit.org>
  13669. Reviewed by Eric Seidel.
  13670. Don't post style-queue pass messages to bugs
  13671. https://bugs.webkit.org/show_bug.cgi?id=33404
  13672. These messages aren't needed any more now that we have the status
  13673. bubble reporting pass events passively.
  13674. * Scripts/webkitpy/commands/queues.py:
  13675. 2010-01-08 Adam Barth <abarth@webkit.org>
  13676. Reviewed by Eric Seidel.
  13677. Optimize the number of CPUs used for building Qt and Gtk
  13678. https://bugs.webkit.org/show_bug.cgi?id=33394
  13679. Instead of hardcoding the number 8, we should read the number of CPUs
  13680. from the environment.
  13681. * Scripts/webkitpy/executive.py:
  13682. * Scripts/webkitpy/webkitport.py:
  13683. * Scripts/webkitpy/webkitport_unittest.py:
  13684. 2010-01-08 Chris Fleizach <cfleizach@apple.com>
  13685. Reviewed by Eric Seidel.
  13686. REGRESSION(52819?): AXLoadComplete and AXLayoutComplete causes 4 tests fail on Snow Leopard Debug bot
  13687. https://bugs.webkit.org/show_bug.cgi?id=33300
  13688. * DumpRenderTree/AccessibilityUIElement.h:
  13689. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  13690. (AccessibilityUIElement::AccessibilityUIElement):
  13691. (AccessibilityUIElement::~AccessibilityUIElement):
  13692. (_accessibilityNotificationCallback):
  13693. (AccessibilityUIElement::addNotificationListener):
  13694. 2010-01-08 Eric Seidel <eric@webkit.org>
  13695. Reviewed by Simon Hausmann.
  13696. commit-queue should run run-javascriptcore-tests
  13697. https://bugs.webkit.org/show_bug.cgi?id=33376
  13698. I also made it run the python and perl unit tests.
  13699. * Scripts/webkitpy/steps/runtests.py:
  13700. * Scripts/webkitpy/webkitport.py:
  13701. 2010-01-07 Andras Becsi <abecsi@inf.u-szeged.hu>
  13702. Reviewed by Darin Adler.
  13703. Run the http and websocket tests after all other tests.
  13704. https://bugs.webkit.org/show_bug.cgi?id=33153
  13705. * Scripts/run-webkit-tests:
  13706. 2010-01-07 Adam Barth <abarth@webkit.org>
  13707. Reviewed by Eric Seidel.
  13708. Fix some test-webkitpy expectations
  13709. https://bugs.webkit.org/show_bug.cgi?id=33345
  13710. I forgot to change these when I added the CheckStyle step.
  13711. * Scripts/webkitpy/commands/upload_unittest.py:
  13712. 2010-01-07 Adam Barth <abarth@webkit.org>
  13713. Reviewed by Eric Seidel.
  13714. webkit-patch edit-changelogs (or upload) will open blank files if run outside the root
  13715. https://bugs.webkit.org/show_bug.cgi?id=33341
  13716. Fix this by moving to the root directory before editing ChangeLogs.
  13717. There is a related bug with CheckStyle.
  13718. * Scripts/webkitpy/steps/checkstyle.py:
  13719. * Scripts/webkitpy/steps/editchangelog.py:
  13720. 2010-01-07 Eric Seidel <eric@webkit.org>
  13721. Reviewed by Nikolas Zimmermann.
  13722. media/unsupported-tracks.html is failing on Snow Leopard Release bot
  13723. https://bugs.webkit.org/show_bug.cgi?id=32339
  13724. This is a speculative fix. I do not have a Snow Leopard machine to test on
  13725. and I've not seen mention of someone being able to reproduce this locally.
  13726. Prevent watchdog timer from firing after a test completes but before
  13727. the next one starts, causing the error to appear in the next test.
  13728. * DumpRenderTree/mac/DumpRenderTree.mm:
  13729. (dump): Stop the watchdog before printing #EOF for the test content.
  13730. We only need to care about the JavaScript of the test running too long
  13731. or some hang in WebCore. Any other failures will be covered by the calling
  13732. script's own watchdog timer.
  13733. 2010-01-07 Eric Seidel <eric@webkit.org>
  13734. Reviewed by Adam Barth.
  13735. commit-queue is stuck spinning due to exception
  13736. https://bugs.webkit.org/show_bug.cgi?id=33358
  13737. * Scripts/webkitpy/commands/queues.py:
  13738. - Don't try to stringify the exception.
  13739. 2010-01-07 Mark Rowe <mrowe@apple.com>
  13740. Reviewed by Jon Honeycutt.
  13741. Don't leak a JSStringRef within _accessibilityNotificationCallback.
  13742. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  13743. (_accessibilityNotificationCallback): Have a JSRetainPtr adopt the JSStringRef so that it will be cleaned up
  13744. when it goes out of scope.
  13745. 2010-01-07 Simon Fraser <simon.fraser@apple.com>
  13746. Reviewed by Darin Adler.
  13747. Add proposed rename of HTMLPlugInImageElement to HTMLEmbeddedObjectElement.
  13748. * Scripts/do-webcore-rename:
  13749. 2010-01-07 Kim Grönholm <kim.gronholm@nomovok.com>
  13750. Reviewed by Antti Koivisto.
  13751. Wrong state and TouchLists in TouchEvents
  13752. https://bugs.webkit.org/show_bug.cgi?id=32878
  13753. * DumpRenderTree/qt/EventSenderQt.cpp:
  13754. (EventSender::touchStart):
  13755. (EventSender::touchEnd):
  13756. (EventSender::clearTouchPoints):
  13757. * DumpRenderTree/qt/EventSenderQt.h:
  13758. 2010-01-07 Chris Jerdonek <chris.jerdonek@gmail.com>
  13759. Reviewed by Adam Barth.
  13760. Created a module that runs the style package unit tests.
  13761. https://bugs.webkit.org/show_bug.cgi?id=32973
  13762. * Scripts/test-webkitpy:
  13763. * Scripts/webkitpy/style/unittests.py: Added.
  13764. 2010-01-07 Adam Barth <abarth@webkit.org>
  13765. Reviewed by Maciej Stachowiak.
  13766. Don't print a redundant message when confirming a diff
  13767. https://bugs.webkit.org/show_bug.cgi?id=33315
  13768. Instead of saying "ERROR: User declined" we should just exit because
  13769. the use knows they just declined!
  13770. * Scripts/webkitpy/steps/confirmdiff.py:
  13771. 2010-01-07 Adam Barth <abarth@webkit.org>
  13772. Reviewed by Maciej Stachowiak.
  13773. Check style before uploading a patch
  13774. https://bugs.webkit.org/show_bug.cgi?id=33314
  13775. * Scripts/webkitpy/commands/upload.py:
  13776. * Scripts/webkitpy/steps/checkstyle.py:
  13777. * Scripts/webkitpy/steps/options.py:
  13778. 2010-01-07 Adam Barth <abarth@webkit.org>
  13779. Reviewed by Maciej Stachowiak.
  13780. Add prepare and post to webkit-patch main help
  13781. https://bugs.webkit.org/show_bug.cgi?id=33313
  13782. * Scripts/webkitpy/commands/upload.py:
  13783. 2010-01-07 Eric Seidel <eric@webkit.org>
  13784. Reviewed by Adam Barth.
  13785. Add Chromium bots to the list of "core builders" (builders which stop the commit-queue when they turn red)
  13786. https://bugs.webkit.org/show_bug.cgi?id=33290
  13787. Add the Chromium builders to our list of core builders and test that our regexps work.
  13788. I also updated our regexp testing to make sure we cover all known builders at build.webkit.org.
  13789. * Scripts/webkitpy/buildbot.py:
  13790. * Scripts/webkitpy/buildbot_unittest.py:
  13791. 2010-01-07 Adam Barth <abarth@webkit.org>
  13792. Reviewed by Eric Seidel.
  13793. bugzilla-tool needs a new name
  13794. https://bugs.webkit.org/show_bug.cgi?id=28459
  13795. Rename bugzilla-tool to webkit-patch. Also, rename some commands to
  13796. make more sense with the new name.
  13797. * Scripts/bugzilla-tool: Removed.
  13798. * Scripts/webkit-patch: Added.
  13799. * Scripts/webkit-tools-completion.sh:
  13800. * Scripts/webkitpy/bugzilla_unittest.py:
  13801. * Scripts/webkitpy/commands/download.py:
  13802. * Scripts/webkitpy/commands/download_unittest.py:
  13803. * Scripts/webkitpy/commands/early_warning_system.py:
  13804. * Scripts/webkitpy/commands/queries.py:
  13805. * Scripts/webkitpy/commands/queues.py:
  13806. * Scripts/webkitpy/commands/queues_unittest.py:
  13807. * Scripts/webkitpy/commands/upload.py:
  13808. * Scripts/webkitpy/commands/upload_unittest.py:
  13809. * Scripts/webkitpy/queueengine.py:
  13810. * Scripts/webkitpy/steps/completerollout.py:
  13811. 2010-01-07 Chris Jerdonek <chris.jerdonek@gmail.com>
  13812. Reviewed by Eric Seidel.
  13813. Moved style-related modules to webkitpy.style sub-package.
  13814. https://bugs.webkit.org/show_bug.cgi?id=32971
  13815. * Scripts/check-webkit-style:
  13816. - Updated import statement.
  13817. * Scripts/test-webkitpy:
  13818. - Updated import statements.
  13819. * Scripts/webkitpy/cpp_style.py: Removed.
  13820. - Moved to webkitpy/style.
  13821. * Scripts/webkitpy/cpp_style_unittest.py: Removed.
  13822. - Moved to webkitpy/style.
  13823. * Scripts/webkitpy/style.py: Removed.
  13824. - Moved to webkitpy/style/checker.py.
  13825. * Scripts/webkitpy/style/__init__.py: Added.
  13826. - Added containing webkitpy directory to package search path.
  13827. * Scripts/webkitpy/style/checker.py: Copied from Scripts/webkitpy/style.py.
  13828. * Scripts/webkitpy/style/checker_unittest.py: Copied from Scripts/webkitpy/style_unittest.py.
  13829. - Updated import statement.
  13830. * Scripts/webkitpy/style/cpp_style.py: Copied from Scripts/webkitpy/cpp_style.py.
  13831. * Scripts/webkitpy/style/cpp_style_unittest.py: Copied from Scripts/webkitpy/cpp_style_unittest.py.
  13832. - Update import statement.
  13833. * Scripts/webkitpy/style/text_style.py: Copied from Scripts/webkitpy/text_style.py.
  13834. * Scripts/webkitpy/style/text_style_unittest.py: Copied from Scripts/webkitpy/text_style_unittest.py.
  13835. * Scripts/webkitpy/style_unittest.py: Removed.
  13836. - Moved to webkitpy/style/checker_unittest.py.
  13837. * Scripts/webkitpy/text_style.py: Removed.
  13838. - Moved to webkitpy/style.
  13839. * Scripts/webkitpy/text_style_unittest.py: Removed.
  13840. - Moved to webkitpy/style.
  13841. 2010-01-06 Kinuko Yasuda <kinuko@chromium.org>
  13842. Reviewed by Eric Seidel.
  13843. [Qt] Support the 3rd argument of EventSender.keyDown that
  13844. has been recently added to report keyLocation
  13845. (see also: https://bugs.webkit.org/show_bug.cgi?id=28247).
  13846. https://bugs.webkit.org/show_bug.cgi?id=33250
  13847. Test: fast/events/keydown-numpad-keys.html
  13848. * DumpRenderTree/qt/EventSenderQt.cpp:
  13849. (EventSender::keyDown):
  13850. * DumpRenderTree/qt/EventSenderQt.h:
  13851. 2010-01-06 Eric Seidel <eric@webkit.org>
  13852. Reviewed by Adam Barth.
  13853. Add long_help for all common commands.
  13854. https://bugs.webkit.org/show_bug.cgi?id=33261
  13855. For now these long_helps are pretty basic.
  13856. These were all written to just explain the steps
  13857. that each command runs. This style long_help could
  13858. be made easier by using:
  13859. https://bugs.webkit.org/show_bug.cgi?id=33257
  13860. * Scripts/webkitpy/commands/download.py:
  13861. * Scripts/webkitpy/commands/queries.py:
  13862. 2010-01-06 Diego Gonzalez <diego.gonzalez@openbossa.org>
  13863. Reviewed by Kenneth Christiansen.
  13864. [Qt] Add page zooming support to Qt DumpRenderTree
  13865. https://bugs.webkit.org/show_bug.cgi?id=32898
  13866. Patch by Kim Grönholm <kim.gronholm@nomovok.com>,
  13867. Diego Gonzalez <diego.gonzalez@openbossa.org> and
  13868. Afonso Costa <afonso.costa@openbossa.org>
  13869. * DumpRenderTree/qt/EventSenderQt.cpp:
  13870. (EventSender::zoomPageIn):
  13871. (EventSender::zoomPageOut):
  13872. * DumpRenderTree/qt/EventSenderQt.h:
  13873. 2010-01-06 Eric Seidel <eric@webkit.org>
  13874. No review, just adding Mike Belshe's new bugzilla email at his request.
  13875. * Scripts/webkitpy/committers.py:
  13876. 2010-01-06 Eric Seidel <eric@webkit.org>
  13877. Unreviewed. Rolling out r52869 and r52853 due to bot
  13878. and local run-webkit-test failures
  13879. REGRESSION(52854?) fast/workers/shared-worker-constructor.html failed on Leopard Build Bot
  13880. https://bugs.webkit.org/show_bug.cgi?id=33256
  13881. The original bug was https://bugs.webkit.org/show_bug.cgi?id=33153
  13882. * Scripts/run-webkit-tests:
  13883. 2010-01-06 Eric Seidel <eric@webkit.org>
  13884. Unreviewed "build" fix. Just adding missing include.
  13885. bugzilla-tool rollout --complete-rollout should make a nicer bug comment
  13886. https://bugs.webkit.org/show_bug.cgi?id=29212
  13887. * Scripts/webkitpy/steps/completerollout.py:
  13888. 2010-01-06 Eric Seidel <eric@webkit.org>
  13889. Reviewed by Adam Barth.
  13890. bugzilla-tool rollout --complete-rollout should make a nicer bug comment
  13891. https://bugs.webkit.org/show_bug.cgi?id=29212
  13892. * Scripts/webkitpy/bugzilla.py:
  13893. - Make reopen_bug robust against the bug already being open.
  13894. * Scripts/webkitpy/commands/download.py:
  13895. - Remove dead code from Rollout.
  13896. * Scripts/webkitpy/steps/completerollout.py:
  13897. - Improve the rollout comment.
  13898. 2010-01-06 Andras Becsi <abecsi@inf.u-szeged.hu>
  13899. Reviewed by Darin Adler.
  13900. Set isHttpdOpen to 0 if pidfile does not exist for some reason.
  13901. Speculative fix for https://bugs.webkit.org/show_bug.cgi?id=33256.
  13902. * Scripts/run-webkit-tests:
  13903. 2010-01-06 Andras Becsi <abecsi@inf.u-szeged.hu>
  13904. Reviewed by Darin Adler.
  13905. Change hardcoded /tmp in run-webkit-tests to File::Spec->tmpdir(),
  13906. and remove the httpd's pidfile directory if httpd terminated.
  13907. * Scripts/run-webkit-tests:
  13908. 2010-01-05 Chris Jerdonek <chris.jerdonek@gmail.com>
  13909. Reviewed by David Levin.
  13910. Refactored check-webkit-style's argument parser to not rely
  13911. on global state, and improved its error handling and unit
  13912. test coverage.
  13913. https://bugs.webkit.org/show_bug.cgi?id=32966
  13914. * Scripts/check-webkit-style:
  13915. - Adjusted to use new argument parser.
  13916. * Scripts/webkitpy/cpp_style.py:
  13917. - Changed _CppStyleState to accept an array of filter rules
  13918. instead of a comma-delimited string.
  13919. - Eliminated cpp_style._DEFAULT_FILTER_RULES.
  13920. - Eliminated cpp_style._USAGE.
  13921. * Scripts/webkitpy/cpp_style_unittest.py:
  13922. - Updated test_filter() and test_default_filter().
  13923. * Scripts/webkitpy/style.py:
  13924. - Converted style._USAGE to create_usage().
  13925. - Corrected usage instructions by removing 0 as a valid
  13926. --verbose flag value.
  13927. - Removed use_webkit_styles().
  13928. - Added ProcessorOptions class.
  13929. - Added ArgumentDefaults class.
  13930. - Added ArgumentPrinter class.
  13931. - Removed parse_arguments and added ArgumentParser class.
  13932. - Moved exit_with_usage() and exit_with_categories() into
  13933. ArgumentParser.
  13934. - Refactored parse_arguments() as ArgumentParser.parse().
  13935. - Improved parser error handling.
  13936. * Scripts/webkitpy/style_unittest.py:
  13937. - Added DefaultArgumentsTest class.
  13938. - Addressed FIXME to check style.WEBKIT_FILTER_RULES
  13939. against style.STYLE_CATEGORIES.
  13940. - Added ArgumentPrinterTest class.
  13941. - Added ArgumentParserTest class and rewrote parser unit tests.
  13942. 2010-01-05 Adam Roben <aroben@apple.com>
  13943. Test that it's safe to call IWebView::close when
  13944. IWebView::initWithFrame hasn't been called
  13945. Part of <http://webkit.org/b/32827> Crash when calling
  13946. IWebView::close, then releasing the WebView, without calling
  13947. DestroyWindow
  13948. Reviewed by Steve Falkenburg.
  13949. * WebKitAPITest/tests/WebViewDestruction.cpp:
  13950. (WebKitAPITest::CloseWithoutInitWithFrame): Calls IWebView::close
  13951. without ever calling IWebView::initWithFrame and tests that we don't
  13952. crash or leak.
  13953. 2010-01-05 Adam Roben <aroben@apple.com>
  13954. Add more WebViewDestruction tests
  13955. Fixes <http://webkit.org/b/33216>.
  13956. Reviewed by Eric Seidel.
  13957. * WebKitAPITest/tests/WebViewDestruction.cpp:
  13958. (WebKitAPITest::NoInitWithFrame):
  13959. (WebKitAPITest::CloseThenDestroyViewWindow):
  13960. (WebKitAPITest::DestroyViewWindowThenClose):
  13961. (WebKitAPITest::DestroyHostWindow):
  13962. (WebKitAPITest::DestroyHostWindowThenClose):
  13963. (WebKitAPITest::CloseThenDestroyHostWindow):
  13964. Added these tests that exercise tearing down a WebView in various
  13965. ways, all of which we eventually want to have work. Some of them
  13966. currently crash or leak.
  13967. 2010-01-05 Robert Hogan <robert@roberthogan.net>
  13968. Reviewed by Eric Seidel.
  13969. [Qt] fix DRT link failures on --no-svg builds when only making changes to DRT
  13970. If you're working from a --minimal or --no-svg build and make changes to the
  13971. DRT, then recompile, the build will fail.
  13972. This is because the current behavior at build time is to assume that the
  13973. previous Qt build supported SVG and consequently delete libQtWebKit.so.
  13974. Unfortunately, just deleting libQtWebKit.so will not cause the library to
  13975. re-link. Instead the build will see libQtWebKit.so.4 and co., pass over the
  13976. linking phase, and attempt to link the DRT with libQtWebKit.so absent. This
  13977. results in a link failure on the DRT.
  13978. Since re-linking libQtWebKit can take up to ten minutes and should be avoided
  13979. in cases where not actually required, remove the assumption that
  13980. the previous Qt build supported SVG, and amend the symbol detection to look for
  13981. a symbol name that is not present in SVG builds. Currently webkitdirs.pm looks
  13982. for 'SVGElement' but even non-SVG builds contain the symbol 'isSVGElement'.
  13983. https://bugs.webkit.org/show_bug.cgi?id=32992
  13984. * Scripts/webkitdirs.pm:
  13985. 2010-01-05 Chris Jerdonek <chris.jerdonek@gmail.com>
  13986. Reviewed by David Kilzer.
  13987. Switched to generating list of Perl unit test files dynamically,
  13988. instead of explicitly.
  13989. https://bugs.webkit.org/show_bug.cgi?id=33200
  13990. * Scripts/test-webkitperl:
  13991. 2010-01-05 Yael Aharon <yael.aharon@nokia.com>
  13992. Reviewed by Kenneth Rohde Christiansen.
  13993. [Qt] Reimplement EventSender::leapForward
  13994. https://bugs.webkit.org/show_bug.cgi?id=33114
  13995. Follow Windows implementation of leapForward. When leapForward is called,
  13996. messages are queued and posted after the timeout. A new event loop is created to
  13997. handle those messages and the additional messages that are created as a result.
  13998. * DumpRenderTree/qt/DumpRenderTree.pro:
  13999. * DumpRenderTree/qt/EventSenderQt.cpp:
  14000. (EventSender::EventSender):
  14001. (EventSender::mouseDown):
  14002. (EventSender::mouseUp):
  14003. (EventSender::mouseMoveTo):
  14004. (EventSender::leapForward):
  14005. (EventSender::sendOrQueueEvent):
  14006. (EventSender::replaySavedEvents):
  14007. (EventSender::eventFilter):
  14008. * DumpRenderTree/qt/EventSenderQt.h:
  14009. 2010-01-05 Adam Barth <abarth@webkit.org>
  14010. Reviewed by Darin Adler.
  14011. Fix obscure queue crash in queueengine
  14012. https://bugs.webkit.org/show_bug.cgi?id=33196
  14013. Sometimes we get an exception that can't be stringified. For example:
  14014. AttributeError: 'ParseError' object has no attribute 'msg'
  14015. In these cases, the whole queue dies because we're in the global
  14016. exception handler. Instead of dieing here, we should just print a less
  14017. informative message to the console. We're already printing the whole
  14018. backtrace anyway, so there's not much point to stringifying the
  14019. exception anyway.
  14020. * Scripts/webkitpy/queueengine.py:
  14021. 2010-01-05 Dominic Mazzoni <dmazzoni@google.com>
  14022. Reviewed by Darin Adler.
  14023. https://bugs.webkit.org/show_bug.cgi?id=32571
  14024. For an object with an aria role of "checkbox" or "radiobutton",
  14025. use the "aria-checked" attribute to determine if it's checked.
  14026. These changes add an isChecked() method to AccessibilityUIElement
  14027. so that we can check for this property from a layout test.
  14028. * DumpRenderTree/AccessibilityUIElement.cpp:
  14029. (getIsCheckedCallback):
  14030. (AccessibilityUIElement::getJSClass):
  14031. * DumpRenderTree/AccessibilityUIElement.h:
  14032. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  14033. (AccessibilityUIElement::isChecked):
  14034. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  14035. (AccessibilityUIElement::isChecked):
  14036. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  14037. (AccessibilityUIElement::isChecked):
  14038. 2010-01-05 David Levin <levin@chromium.org>
  14039. Reviewed by Darin Adler.
  14040. Having a comment for the #endif for a header guard is not required WebKit style.
  14041. https://bugs.webkit.org/show_bug.cgi?id=33214
  14042. * Scripts/webkitpy/cpp_style.py: removed the check and made the loop exit
  14043. early when it has all the needed information to continue.
  14044. * Scripts/webkitpy/cpp_style_unittest.py: removed the corresponding tests.
  14045. 2010-01-05 Adam Roben <aroben@apple.com>
  14046. Share more code in the WebViewDestruction tests
  14047. Part of <http://webkit.org/b/33212> Small fixes/improvements to
  14048. WebKitAPITest
  14049. Reviewed by Sam Weinig.
  14050. * WebKitAPITest/tests/WebViewDestruction.cpp:
  14051. (WebKitAPITest::createAndInitializeWebView): Renamed from
  14052. createWebView. Now initializes the HostWindow and returns the
  14053. WebView's HWND via an out-parameter.
  14054. (WebKitAPITest::finishWebViewDestructionTest): Added. Code came from
  14055. the CloseWithoutDestroyWindow test.
  14056. (WebKitAPITest::CloseWithoutDestroyViewWindow): Renamed from
  14057. CloseWithoutDestroyWindow and changed to use the new functions.
  14058. (WebKitAPITest::MainFrameAfterClose): Changed to use the new
  14059. functions.
  14060. (WebKitAPITest::NoCloseOrDestroyViewWindow): Renamed from
  14061. NoCloseOrDestroyWindow and changed to use the new functions.
  14062. 2010-01-05 Adam Roben <aroben@apple.com>
  14063. Don't show HostWindows by default
  14064. This was making WebKitAPITest very flashy as windows appeared and
  14065. disappeared.
  14066. Part of <http://webkit.org/b/33212> Small fixes/improvements to
  14067. WebKitAPITest
  14068. Reviewed by Sam Weinig.
  14069. * WebKitAPITest/HostWindow.cpp:
  14070. (WebKitAPITest::HostWindow::initialize): Removed the WS_VISIBLE style
  14071. from the window.
  14072. 2010-01-05 Adam Roben <aroben@apple.com>
  14073. Don't hang in WebKitAPITest if no messages have been posted
  14074. Part of <http://webkit.org/b/33212> Small fixes/improvements to
  14075. WebKitAPITest
  14076. Reviewed by Sam Weinig.
  14077. * WebKitAPITest/tests/WebViewDestruction.cpp:
  14078. (WebKitAPITest::runMessagePump): Use PeekMessage instead of GetMessage
  14079. to avoid hanging if no messages have been posted.
  14080. 2010-01-05 Adam Roben <aroben@apple.com>
  14081. Fix WebKitCreateInstance helper
  14082. Part of <http://webkit.org/b/33212> Small fixes/improvements to
  14083. WebKitAPITest
  14084. Reviewed by Sam Weinig.
  14085. * WebKitAPITest/tests/WebViewDestruction.cpp:
  14086. (WebKitAPITest::WebKitCreateInstance): Pass the pointer straight
  14087. through, instead of taking its address.
  14088. 2010-01-04 Maciej Stachowiak <mjs@apple.com>
  14089. Reviewed by Darin Fisher.
  14090. Reorganize, document and rename OS() platform macros.
  14091. https://bugs.webkit.org/show_bug.cgi?id=33198
  14092. Adapt to name changes.
  14093. * DumpRenderTree/DumpRenderTree.h:
  14094. * DumpRenderTree/config.h:
  14095. 2010-01-05 Chris Jerdonek <chris.jerdonek@gmail.com>
  14096. Reviewed by Eric Seidel.
  14097. Minor improvements to test-webkit-scripts, as suggested
  14098. by an earlier review.
  14099. https://bugs.webkit.org/show_bug.cgi?id=33125
  14100. * Scripts/test-webkit-scripts:
  14101. - Used OptionParser class instead of getopt.getopt().
  14102. - Created main() method for __main__ block.
  14103. - Enclosed functions in a class.
  14104. 2010-01-05 Chris Fleizach <cfleizach@apple.com>
  14105. No review. Fix DRT breakage on Tiger/Leopard.
  14106. Add ARIA "Live Region" support
  14107. https://bugs.webkit.org/show_bug.cgi?id=33117
  14108. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  14109. 2010-01-04 Chris Fleizach <cfleizach@apple.com>
  14110. Reviewed by Darin Adler.
  14111. Add ARIA "Live Region" support
  14112. https://bugs.webkit.org/show_bug.cgi?id=33117
  14113. * DumpRenderTree/AccessibilityUIElement.cpp:
  14114. (indexOfChildCallback):
  14115. (boolAttributeValueCallback):
  14116. (stringAttributeValueCallback):
  14117. (addNotificationListenerCallback):
  14118. (AccessibilityUIElement::getJSClass):
  14119. * DumpRenderTree/AccessibilityUIElement.h:
  14120. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  14121. (AccessibilityUIElement::indexOfChild):
  14122. (AccessibilityUIElement::stringAttributeValue):
  14123. (AccessibilityUIElement::boolAttributeValue):
  14124. (AccessibilityUIElement::addNotificationListener):
  14125. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  14126. (AccessibilityUIElement::indexOfChild):
  14127. (AccessibilityUIElement::stringAttributeValue):
  14128. (AccessibilityUIElement::boolAttributeValue):
  14129. (_accessibilityNotificationCallback):
  14130. (AccessibilityUIElement::addNotificationListener):
  14131. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  14132. (AccessibilityUIElement::indexOfChild):
  14133. (AccessibilityUIElement::stringAttributeValue):
  14134. (AccessibilityUIElement::boolAttributeValue):
  14135. (AccessibilityUIElement::addNotificationListener):
  14136. 2010-01-04 Eric Seidel <eric@webkit.org>
  14137. Reviewed by Adam Barth.
  14138. bugzilla-tool rollout should require a reason
  14139. https://bugs.webkit.org/show_bug.cgi?id=30810
  14140. * Scripts/webkitpy/changelogs.py: Add support for a reason, add auto-wrapping logic.
  14141. * Scripts/webkitpy/changelogs_unittest.py: Test reason support.
  14142. * Scripts/webkitpy/commands/download.py: rollout now requires a reason, remove unused BUGID argument
  14143. * Scripts/webkitpy/commands/download_unittest.py: pass required reason
  14144. * Scripts/webkitpy/steps/preparechangelogforrevert.py: pass reason to update_for_revert
  14145. 2010-01-04 Jon Honeycutt <jhoneycutt@apple.com>
  14146. MSAA: <select> elements should broadcast value change events
  14147. https://bugs.webkit.org/show_bug.cgi?id=33088
  14148. <rdar://problem/7332364>
  14149. Reviewed by Darin Adler.
  14150. * DumpRenderTree/AccessibilityController.cpp:
  14151. (logValueChangeEventsCallback):
  14152. Start logging value change events.
  14153. (AccessibilityController::getJSClass):
  14154. Add a "logValueChangeEvents" to the AccessibilityController's JS class
  14155. definition.
  14156. (AccessibilityController::resetToConsistentState):
  14157. Disable logging of value change events.
  14158. * DumpRenderTree/AccessibilityController.h:
  14159. Declare setLogValueChangeEvents(), and add a member variable for the
  14160. value change event hook.
  14161. * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
  14162. (AccessibilityController::setLogValueChangeEvents):
  14163. Stubbed.
  14164. * DumpRenderTree/mac/AccessibilityControllerMac.mm:
  14165. (AccessibilityController::setLogValueChangeEvents):
  14166. Stubbed.
  14167. * DumpRenderTree/win/AccessibilityControllerWin.cpp:
  14168. (AccessibilityController::AccessibilityController):
  14169. Initialize new member var.
  14170. (AccessibilityController::~AccessibilityController):
  14171. Disable logging of value change events.
  14172. (logEventProc):
  14173. When we receive an EVENT_OBJECT_VALUECHANGE, log the name of the object
  14174. and its value.
  14175. (AccessibilityController::setLogValueChangeEvents):
  14176. If disabling logging, unhook the event, and clear the event hook
  14177. member var. Otherwise, query for the root element to enable
  14178. accessibility, and hook EVENT_OBJECT_VALUECHANGE.
  14179. 2010-01-04 Adam Barth <abarth@webkit.org>
  14180. Reviewed by Eric Seidel.
  14181. long_help for submit-patch
  14182. https://bugs.webkit.org/show_bug.cgi?id=33184
  14183. * Scripts/webkitpy/commands/upload.py:
  14184. 2010-01-04 Adam Barth <abarth@webkit.org>
  14185. Reviewed by Eric Seidel.
  14186. commit-queue can wrongly reject patches if the buildbots are behind
  14187. https://bugs.webkit.org/show_bug.cgi?id=30098
  14188. Check to make sure we can currently build and test before trying to
  14189. land a patch.
  14190. * Scripts/webkitpy/commands/queues.py:
  14191. 2010-01-04 Adam Roben <aroben@apple.com>
  14192. Add a test harness for the Windows WebKit API, and a few tests
  14193. We currently only have tests for a handful of bugs regarding WebView
  14194. destruction, but more tests can easily be added later. Eventually
  14195. we'll run these tests as part of run-webkit-tests.
  14196. Fixes <http://webkit.org/b/33167>.
  14197. Reviewed by Sam Weinig.
  14198. * WebKitAPITest/HostWindow.cpp: Added.
  14199. (WebKitAPITest::HostWindow::HostWindow): Initialize m_window.
  14200. (WebKitAPITest::HostWindow::~HostWindow): Destroy our window if
  14201. needed.
  14202. (WebKitAPITest::HostWindow::initialize): Create our window.
  14203. (WebKitAPITest::HostWindow::clientRect): Return our window's client
  14204. rect.
  14205. (WebKitAPITest::HostWindow::registerWindowClass): Does what it says.
  14206. (WebKitAPITest::HostWindow::wndProc): Just call through to
  14207. DefWindowProcW.
  14208. * WebKitAPITest/HostWindow.h: Added.
  14209. (WebKitAPITest::HostWindow::window): Simple getter.
  14210. * WebKitAPITest/Test.h: Added. This file defines some macros useful
  14211. for writing tests.
  14212. * WebKitAPITest/TestsController.cpp: Added.
  14213. (WebKitAPITest::TestsController::TestsController): Initialize our
  14214. members.
  14215. (WebKitAPITest::TestsController::shared): Return the shared instance.
  14216. (WebKitAPITest::TestsController::runAllTests): Run a message pump
  14217. until a WM_QUIT message is received, then return whether all tests
  14218. succeeded.
  14219. (WebKitAPITest::TestsController::addTest): Add the test to m_tests and
  14220. start running tests soon.
  14221. (WebKitAPITest::TestsController::testFailed): Record the failure and
  14222. print a message about it to stdout.
  14223. (WebKitAPITest::TestsController::runNextTest): If we don't have any
  14224. tests to run, post a WM_QUIT message to stop the message pump.
  14225. Otherwise, run the test and print whether it passed, then schedule the
  14226. next test.
  14227. (WebKitAPITest::TestsController::runNextTestSoon): Set a 0-delay timer
  14228. to run the next test.
  14229. (WebKitAPITest::TestsController::registerWindowClass): Does what it
  14230. says.
  14231. (WebKitAPITest::TestsController::wndProc): If the runNextTestTimer
  14232. fired, call runNextTest(). Pass everything else through to
  14233. DefWindowProcW.
  14234. * WebKitAPITest/TestsController.h: Added.
  14235. * WebKitAPITest/WebKitAPITest.vcproj: Added.
  14236. * WebKitAPITest/WebKitAPITestCommon.vsprops: Added.
  14237. * WebKitAPITest/main.cpp: Added.
  14238. (main): (Mostly) just calls TestsController::runAllTests.
  14239. * WebKitAPITest/tests/WebViewDestruction.cpp: Added.
  14240. (WebKitAPITest::WebKitCreateInstance): Helper function template to
  14241. call through to the real WebKitCreateInstance.
  14242. (WebKitAPITest::webViewCount): Helper function to call through to
  14243. IWebKitStatistics::webViewCount.
  14244. (WebKitAPITest::createWebView): Helper function to create a WebView
  14245. and put it inside a HostWindow.
  14246. (WebKitAPITest::runMessagePump): Helper function to run a message pump
  14247. for a specified number of milliseconds, or until a WM_QUIT message is
  14248. received.
  14249. (WebKitAPITest::CloseWithoutDestroyWindow): Test for
  14250. <http://webkit.org/b/32827>.
  14251. (WebKitAPITest::MainFrameAfterClose): Test for
  14252. <http://webkit.org/b/32868>.
  14253. (WebKitAPITest::NoCloseOrDestroyWindow): Test for
  14254. <http://webkit.org/b/33162>.
  14255. 2010-01-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  14256. Reviewed by David Kilzer.
  14257. Add support for Git's "diff.mnemonicprefix" config option to WebKitTools
  14258. https://bugs.webkit.org/show_bug.cgi?id=32820
  14259. * Scripts/VCSUtils.pm:
  14260. * Scripts/svn-apply:
  14261. * Scripts/svn-unapply:
  14262. * Scripts/test-webkitperl: Run gitdiff2svndiff test
  14263. * Scripts/webkitperl/VCSUtils_unittest/gitdiff2svndiff.pl: Added.
  14264. * Scripts/webkitpy/diff_parser.py:
  14265. * Scripts/webkitpy/diff_parser_unittest.py:
  14266. 2010-01-04 Chris Jerdonek <chris.jerdonek@gmail.com>
  14267. Reviewed by David Kilzer.
  14268. Divided the Perl unit tests into separate files and put
  14269. them in a separate directory, and renamed test-webkit-perl
  14270. to test-webkitperl.
  14271. https://bugs.webkit.org/show_bug.cgi?id=33124
  14272. * Scripts/VCSUtils.pm:
  14273. - Renamed generateRunPatchCommand() to generatePatchCommand().
  14274. * Scripts/VCSUtils_unittest.pl: Removed.
  14275. - Divided into three files in Scripts/webkitperl/VCSUtils_unittest.
  14276. * Scripts/test-webkit-perl: Removed.
  14277. - Renamed to test-webkitperl.
  14278. * Scripts/test-webkit-scripts:
  14279. - Updated paths to test-webkitpy and test-webkitperl.
  14280. * Scripts/test-webkitperl: Copied from Scripts/test-webkit-perl.
  14281. - Added paths to new test files.
  14282. * Scripts/webkitperl: Added.
  14283. * Scripts/webkitperl/VCSUtils_unittest: Added.
  14284. * Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl: Added.
  14285. * Scripts/webkitperl/VCSUtils_unittest/generatePatchCommand.pl: Added.
  14286. * Scripts/webkitperl/VCSUtils_unittest/runPatchCommand.pl: Copied from Scripts/VCSUtils_unittest.pl.
  14287. 2010-01-04 Eric Seidel <eric@webkit.org>
  14288. Reviewed by Adam Barth.
  14289. Make bugzilla-tool rollout include a bug link in the ChangeLog entry
  14290. https://bugs.webkit.org/show_bug.cgi?id=33146
  14291. One more step towards better rollouts.
  14292. * Scripts/webkitpy/changelogs.py:
  14293. * Scripts/webkitpy/changelogs_unittest.py:
  14294. * Scripts/webkitpy/steps/preparechangelogforrevert.py:
  14295. 2010-01-04 Adam Barth <abarth@webkit.org>
  14296. Reviewed by Eric Seidel.
  14297. Sort the step options
  14298. https://bugs.webkit.org/show_bug.cgi?id=33144
  14299. * Scripts/webkitpy/steps/options.py:
  14300. 2010-01-04 Eric Seidel <eric@webkit.org>
  14301. Reviewed by Adam Barth.
  14302. Need support for longer text in per-command help
  14303. https://bugs.webkit.org/show_bug.cgi?id=33143
  14304. Add some minimal additional help to land-diff and
  14305. pave the way for adding better help to all commands.
  14306. * Scripts/webkitpy/commands/download.py: Add small amount of additional help to land-diff
  14307. * Scripts/webkitpy/multicommandtool.py: support long_help
  14308. * Scripts/webkitpy/multicommandtool_unittest.py: test long_help
  14309. 2010-01-04 Adam Barth <abarth@webkit.org>
  14310. Reviewed by Eric Seidel.
  14311. Add unit test for MarkBugFixed
  14312. https://bugs.webkit.org/show_bug.cgi?id=33142
  14313. MarkBugFixed is way behind in command technology, but it still needs a
  14314. unit test, as the FIXME commands.
  14315. Also, remove mark-bug-fixed and create-bug from main help since we have
  14316. more modern commands to replace them.
  14317. * Scripts/webkitpy/commands/upload.py:
  14318. * Scripts/webkitpy/commands/upload_unittest.py:
  14319. * Scripts/webkitpy/mock_bugzillatool.py:
  14320. 2010-01-04 Adam Barth <abarth@webkit.org>
  14321. Reviewed by Eric Seidel.
  14322. Add missing unit test for CommitMessageForCurrentDiff
  14323. https://bugs.webkit.org/show_bug.cgi?id=33141
  14324. * Scripts/webkitpy/commands/upload.py:
  14325. * Scripts/webkitpy/commands/upload_unittest.py:
  14326. 2010-01-04 Adam Barth <abarth@webkit.org>
  14327. Reviewed by Eric Seidel.
  14328. Remove raw_input from queues in favor of user.prompt
  14329. https://bugs.webkit.org/show_bug.cgi?id=33140
  14330. This lets up properly mock out the user interaction instead of hacking
  14331. around it with the options.
  14332. * Scripts/webkitpy/commands/queues.py:
  14333. * Scripts/webkitpy/commands/queuestest.py:
  14334. 2010-01-04 Eric Seidel <eric@webkit.org>
  14335. Reviewed by Adam Barth.
  14336. bugzilla-tool should not require users to install mechanize
  14337. https://bugs.webkit.org/show_bug.cgi?id=32635
  14338. * Scripts/webkitpy/__init__.py: Add missing declaration for ClientForm (which mechanize requires).
  14339. 2010-01-04 Eric Seidel <eric@webkit.org>
  14340. Reviewed by Adam Barth.
  14341. bugzilla-tool should not require users to install mechanize
  14342. https://bugs.webkit.org/show_bug.cgi?id=32635
  14343. Use the nifty "autoinstall" module from Daniel Krech:
  14344. http://pypi.python.org/pypi/autoinstall/0.2
  14345. http://code.google.com/p/pyautoinstall/
  14346. It's available under a WebKit-compatible BSD license.
  14347. * Scripts/webkitpy/__init__.py:
  14348. - bind "mechanize" to an autoinstall importer which will
  14349. auto-download mechanize if necessary.
  14350. * Scripts/webkitpy/autoinstall.py: Added.
  14351. * Scripts/webkitpy/bugzilla.py: use "mechanize" instead of webkit_mechanize
  14352. * Scripts/webkitpy/statusbot.py: ditto.
  14353. * Scripts/webkitpy/webkit_mechanize.py: Removed.
  14354. 2010-01-04 Adam Barth <abarth@webkit.org>
  14355. Reviewed by Eric Seidel.
  14356. [bzt] Move AbstractSequencedCommand to a more general location
  14357. https://bugs.webkit.org/show_bug.cgi?id=33137
  14358. I do what the FIXME tell me to do.
  14359. * Scripts/webkitpy/commands/abstractsequencedcommand.py: Added.
  14360. * Scripts/webkitpy/commands/download.py:
  14361. * Scripts/webkitpy/commands/upload.py:
  14362. 2010-01-04 Adam Barth <abarth@webkit.org>
  14363. Reviewed by Eric Seidel.
  14364. Rename StatusBot to StatusServer
  14365. https://bugs.webkit.org/show_bug.cgi?id=33139
  14366. It's not a bot. It's a server.
  14367. * Scripts/bugzilla-tool:
  14368. * Scripts/webkitpy/bugzilla.py:
  14369. * Scripts/webkitpy/commands/early_warning_system.py:
  14370. * Scripts/webkitpy/commands/queues.py:
  14371. * Scripts/webkitpy/mock_bugzillatool.py:
  14372. * Scripts/webkitpy/queueengine.py:
  14373. * Scripts/webkitpy/statusbot.py: Removed.
  14374. 2010-01-04 Adam Barth <abarth@webkit.org>
  14375. Reviewed by Eric Seidel.
  14376. [bzt] submit-pach should have a -o/--open option to open the bug after submit
  14377. https://bugs.webkit.org/show_bug.cgi?id=33136
  14378. Python makes this very easy.
  14379. * Scripts/webkitpy/mock_bugzillatool.py:
  14380. * Scripts/webkitpy/steps/options.py:
  14381. * Scripts/webkitpy/steps/postdiff.py:
  14382. * Scripts/webkitpy/user.py:
  14383. 2010-01-04 Adam Barth <abarth@webkit.org>
  14384. Reviewed by Eric Seidel.
  14385. [bzt] Move steps to a submodule
  14386. https://bugs.webkit.org/show_bug.cgi?id=33135
  14387. For great victory. This will probably introduce some regressions
  14388. because our test coverage isn't perfect, but I've tried to be careful.
  14389. * Scripts/test-webkitpy:
  14390. * Scripts/webkitpy/buildsteps.py: Removed.
  14391. * Scripts/webkitpy/buildsteps_unittest.py: Removed.
  14392. * Scripts/webkitpy/commands/download.py:
  14393. * Scripts/webkitpy/commands/upload.py:
  14394. * Scripts/webkitpy/steps/__init__.py: Added.
  14395. * Scripts/webkitpy/steps/abstractstep.py: Added.
  14396. * Scripts/webkitpy/steps/applypatch.py: Added.
  14397. * Scripts/webkitpy/steps/applypatchwithlocalcommit.py: Added.
  14398. * Scripts/webkitpy/steps/build.py: Added.
  14399. * Scripts/webkitpy/steps/checkstyle.py: Added.
  14400. * Scripts/webkitpy/steps/cleanworkingdirectory.py: Added.
  14401. * Scripts/webkitpy/steps/cleanworkingdirectorywithlocalcommits.py: Added.
  14402. * Scripts/webkitpy/steps/closebug.py: Added.
  14403. * Scripts/webkitpy/steps/closebugforlanddiff.py: Added.
  14404. * Scripts/webkitpy/steps/closepatch.py: Added.
  14405. * Scripts/webkitpy/steps/commit.py: Added.
  14406. * Scripts/webkitpy/steps/completerollout.py: Added.
  14407. * Scripts/webkitpy/steps/confirmdiff.py: Added.
  14408. * Scripts/webkitpy/steps/createbug.py: Added.
  14409. * Scripts/webkitpy/steps/editchangelog.py: Added.
  14410. * Scripts/webkitpy/steps/ensurebuildersaregreen.py: Added.
  14411. * Scripts/webkitpy/steps/ensurelocalcommitifneeded.py: Added.
  14412. * Scripts/webkitpy/steps/metastep.py: Added.
  14413. * Scripts/webkitpy/steps/obsoletepatches.py: Added.
  14414. * Scripts/webkitpy/steps/options.py: Added.
  14415. * Scripts/webkitpy/steps/postdiff.py: Added.
  14416. * Scripts/webkitpy/steps/preparechangelog.py: Added.
  14417. * Scripts/webkitpy/steps/preparechangelogforrevert.py: Added.
  14418. * Scripts/webkitpy/steps/promptforbugortitle.py: Added.
  14419. * Scripts/webkitpy/steps/revertrevision.py: Added.
  14420. * Scripts/webkitpy/steps/runtests.py: Added.
  14421. * Scripts/webkitpy/steps/steps_unittest.py: Added.
  14422. * Scripts/webkitpy/steps/update.py: Added.
  14423. * Scripts/webkitpy/steps/updatechangelogswithreview_unittests.py: Added.
  14424. * Scripts/webkitpy/steps/updatechangelogswithreviewer.py: Added.
  14425. * Scripts/webkitpy/stepsequence.py:
  14426. 2010-01-04 Daniel Bates <dbates@webkit.org>
  14427. Reviewed by Eric Seidel.
  14428. https://bugs.webkit.org/show_bug.cgi?id=33097
  14429. Cleans up the File menu to better conform to the File menu in Safari
  14430. both in terms of options and keyboard shortcuts. Adds a "Quit" menu
  14431. options to close all open windows. Also, renames the Tools menu to
  14432. Develop.
  14433. * QtLauncher/main.cpp:
  14434. (MainWindow::setupUI):
  14435. 2010-01-04 Daniel Bates <dbates@webkit.org>
  14436. https://bugs.webkit.org/show_bug.cgi?id=33039
  14437. Unreviewed fix.
  14438. * Scripts/webkitpy/credentials.py:
  14439. * Scripts/webkitpy/credentials_unittest.py:
  14440. 2010-01-04 Daniel Bates <dbates@webkit.org>
  14441. Reviewed by Eric Seidel.
  14442. https://bugs.webkit.org/show_bug.cgi?id=33039
  14443. [bzt] Second attempt to fix an issue where bugzilla-tool dies
  14444. when the keychain lookup fails to find an entry for bugs.webkit.org.
  14445. * Scripts/webkitpy/credentials.py:
  14446. * Scripts/webkitpy/credentials_unittest.py:
  14447. 2010-01-04 Eric Seidel <eric@webkit.org>
  14448. Reviewed by Adam Barth.
  14449. Make Rollout an AbstractSequencedCommmand
  14450. https://bugs.webkit.org/show_bug.cgi?id=33133
  14451. As suggested by Adam in:
  14452. https://bugs.webkit.org/show_bug.cgi?id=33131#c2
  14453. * Scripts/webkitpy/commands/download.py:
  14454. 2010-01-04 Eric Seidel <eric@webkit.org>
  14455. Reviewed by Adam Barth.
  14456. Make all commands AbstractDeclarativeCommmands instead of direct Command subclasses
  14457. https://bugs.webkit.org/show_bug.cgi?id=33131
  14458. Evenetually we'll probably roll AbstractDeclarativeCommmand directly into Command
  14459. but for now we just deploy it everywhere and don't try to fix up the few valid uses
  14460. of Command.
  14461. * Scripts/webkitpy/commands/download.py:
  14462. * Scripts/webkitpy/commands/queries.py:
  14463. * Scripts/webkitpy/commands/upload.py:
  14464. * Scripts/webkitpy/multicommandtool.py:
  14465. 2010-01-03 Adam Barth <abarth@webkit.org>
  14466. Unreviewed "build" fix. Need to import ScriptError.
  14467. * Scripts/webkitpy/buildsteps.py:
  14468. 2010-01-03 Adam Barth <abarth@webkit.org>
  14469. Reviewed by Eric Seidel.
  14470. [bzt] Make it easier to run submit-patch when previous run cancelled
  14471. https://bugs.webkit.org/show_bug.cgi?id=33070
  14472. This patch renames create-review to submit-patch (as requested by
  14473. Maciej).
  14474. This patch makes it easier to run submit-patch after the user has
  14475. already cancelled a previous run of submit-patch by detecting when we
  14476. already have ChangeLogs and reading the bug number from them (and not
  14477. attempting to recreate them). Aside from performance and the extra
  14478. edit step, this command should not subsume post-dif.
  14479. Also, added a --email command line argument so that the output of
  14480. prepare-ChangeLog makes sense when it can't find the user's email
  14481. address.
  14482. * Scripts/webkitpy/bugzilla.py:
  14483. * Scripts/webkitpy/buildsteps.py:
  14484. * Scripts/webkitpy/commands/upload.py:
  14485. * Scripts/webkitpy/commands/upload_unittest.py:
  14486. * Scripts/webkitpy/mock_bugzillatool.py:
  14487. * Scripts/webkitpy/user.py:
  14488. 2010-01-03 Eric Seidel <eric@webkit.org>
  14489. Reviewed by Adam Barth.
  14490. Rename Scripts/modules to Scripts/webkitpy
  14491. https://bugs.webkit.org/show_bug.cgi?id=33128
  14492. Just search-replace and svn mv commands.
  14493. * Scripts/bugzilla-tool:
  14494. * Scripts/check-webkit-style:
  14495. * Scripts/modules: Removed.
  14496. * Scripts/modules/BeautifulSoup.py: Removed.
  14497. * Scripts/modules/__init__.py: Removed.
  14498. * Scripts/modules/bugzilla.py: Removed.
  14499. * Scripts/modules/bugzilla_unittest.py: Removed.
  14500. * Scripts/modules/buildbot.py: Removed.
  14501. * Scripts/modules/buildbot_unittest.py: Removed.
  14502. * Scripts/modules/buildsteps.py: Removed.
  14503. * Scripts/modules/buildsteps_unittest.py: Removed.
  14504. * Scripts/modules/changelogs.py: Removed.
  14505. * Scripts/modules/changelogs_unittest.py: Removed.
  14506. * Scripts/modules/commands: Removed.
  14507. * Scripts/modules/commands/__init__.py: Removed.
  14508. * Scripts/modules/commands/commandtest.py: Removed.
  14509. * Scripts/modules/commands/download.py: Removed.
  14510. * Scripts/modules/commands/download_unittest.py: Removed.
  14511. * Scripts/modules/commands/early_warning_system.py: Removed.
  14512. * Scripts/modules/commands/early_warning_system_unittest.py: Removed.
  14513. * Scripts/modules/commands/queries.py: Removed.
  14514. * Scripts/modules/commands/queries_unittest.py: Removed.
  14515. * Scripts/modules/commands/queues.py: Removed.
  14516. * Scripts/modules/commands/queues_unittest.py: Removed.
  14517. * Scripts/modules/commands/queuestest.py: Removed.
  14518. * Scripts/modules/commands/upload.py: Removed.
  14519. * Scripts/modules/commands/upload_unittest.py: Removed.
  14520. * Scripts/modules/comments.py: Removed.
  14521. * Scripts/modules/committers.py: Removed.
  14522. * Scripts/modules/committers_unittest.py: Removed.
  14523. * Scripts/modules/cpp_style.py: Removed.
  14524. * Scripts/modules/cpp_style_unittest.py: Removed.
  14525. * Scripts/modules/credentials.py: Removed.
  14526. * Scripts/modules/credentials_unittest.py: Removed.
  14527. * Scripts/modules/diff_parser.py: Removed.
  14528. * Scripts/modules/diff_parser_unittest.py: Removed.
  14529. * Scripts/modules/executive.py: Removed.
  14530. * Scripts/modules/executive_unittest.py: Removed.
  14531. * Scripts/modules/grammar.py: Removed.
  14532. * Scripts/modules/mock.py: Removed.
  14533. * Scripts/modules/mock_bugzillatool.py: Removed.
  14534. * Scripts/modules/multicommandtool.py: Removed.
  14535. * Scripts/modules/multicommandtool_unittest.py: Removed.
  14536. * Scripts/modules/outputcapture.py: Removed.
  14537. * Scripts/modules/patchcollection.py: Removed.
  14538. * Scripts/modules/queueengine.py: Removed.
  14539. * Scripts/modules/queueengine_unittest.py: Removed.
  14540. * Scripts/modules/scm.py: Removed.
  14541. * Scripts/modules/scm_unittest.py: Removed.
  14542. * Scripts/modules/statusbot.py: Removed.
  14543. * Scripts/modules/stepsequence.py: Removed.
  14544. * Scripts/modules/style: Removed.
  14545. * Scripts/modules/style.py: Removed.
  14546. * Scripts/modules/style_unittest.py: Removed.
  14547. * Scripts/modules/text_style.py: Removed.
  14548. * Scripts/modules/text_style_unittest.py: Removed.
  14549. * Scripts/modules/user.py: Removed.
  14550. * Scripts/modules/webkit_logging.py: Removed.
  14551. * Scripts/modules/webkit_logging_unittest.py: Removed.
  14552. * Scripts/modules/webkit_mechanize.py: Removed.
  14553. * Scripts/modules/webkitport.py: Removed.
  14554. * Scripts/modules/webkitport_unittest.py: Removed.
  14555. * Scripts/test-webkit-python: Removed.
  14556. * Scripts/test-webkitpy: Copied from WebKitTools/Scripts/test-webkit-python.
  14557. * Scripts/validate-committer-lists:
  14558. * Scripts/webkitpy: Copied from WebKitTools/Scripts/modules.
  14559. * Scripts/webkitpy/bugzilla.py:
  14560. * Scripts/webkitpy/bugzilla_unittest.py:
  14561. * Scripts/webkitpy/buildbot.py:
  14562. * Scripts/webkitpy/buildbot_unittest.py:
  14563. * Scripts/webkitpy/buildsteps.py:
  14564. * Scripts/webkitpy/buildsteps_unittest.py:
  14565. * Scripts/webkitpy/commands/commandtest.py:
  14566. * Scripts/webkitpy/commands/download.py:
  14567. * Scripts/webkitpy/commands/download_unittest.py:
  14568. * Scripts/webkitpy/commands/early_warning_system.py:
  14569. * Scripts/webkitpy/commands/early_warning_system_unittest.py:
  14570. * Scripts/webkitpy/commands/queries.py:
  14571. * Scripts/webkitpy/commands/queries_unittest.py:
  14572. * Scripts/webkitpy/commands/queues.py:
  14573. * Scripts/webkitpy/commands/queues_unittest.py:
  14574. * Scripts/webkitpy/commands/queuestest.py:
  14575. * Scripts/webkitpy/commands/upload.py:
  14576. * Scripts/webkitpy/commands/upload_unittest.py:
  14577. * Scripts/webkitpy/comments.py:
  14578. * Scripts/webkitpy/credentials.py:
  14579. * Scripts/webkitpy/credentials_unittest.py:
  14580. * Scripts/webkitpy/executive.py:
  14581. * Scripts/webkitpy/executive_unittest.py:
  14582. * Scripts/webkitpy/mock_bugzillatool.py:
  14583. * Scripts/webkitpy/multicommandtool.py:
  14584. * Scripts/webkitpy/multicommandtool_unittest.py:
  14585. * Scripts/webkitpy/queueengine.py:
  14586. * Scripts/webkitpy/queueengine_unittest.py:
  14587. * Scripts/webkitpy/scm.py:
  14588. * Scripts/webkitpy/scm_unittest.py:
  14589. * Scripts/webkitpy/statusbot.py:
  14590. * Scripts/webkitpy/stepsequence.py:
  14591. * Scripts/webkitpy/webkit_logging_unittest.py:
  14592. * Scripts/webkitpy/webkitport_unittest.py:
  14593. 2010-01-03 Chris Jerdonek <chris.jerdonek@gmail.com>
  14594. Reviewed by Eric Seidel.
  14595. Added script to test both Perl and Python, and renamed
  14596. run-webkit-unittests to test-webkit-python.
  14597. https://bugs.webkit.org/show_bug.cgi?id=33045
  14598. * Scripts/VCSUtils_unittest.pl:
  14599. - Tweaked so it can be run from outside Scripts directory.
  14600. * Scripts/run-webkit-unittests: Removed.
  14601. - Renamed to test-webkit-python.
  14602. * Scripts/test-webkit-perl:
  14603. - Tweaked so it can be run from outside Scripts directory.
  14604. * Scripts/test-webkit-python: Copied from Scripts/run-webkit-unittests.
  14605. * Scripts/test-webkit-scripts: Added.
  14606. - Runs both test-webkit-perl and test-webkit-python.
  14607. 2010-01-03 Adam Barth <abarth@webkit.org>
  14608. Reviewed by Eric Seidel.
  14609. commit-queue/bugzilla-tool should build both Debug and Release
  14610. https://bugs.webkit.org/show_bug.cgi?id=28450
  14611. Add a --build-style command that lets the master process tell the child
  14612. process to build both debug and release. Eventually we want to teach
  14613. the test step to understand this option too, but that's a patch for
  14614. another day.
  14615. * Scripts/modules/buildsteps.py:
  14616. * Scripts/modules/commands/queues.py:
  14617. * Scripts/modules/webkitport.py:
  14618. * Scripts/modules/webkitport_unittest.py:
  14619. 2010-01-03 Jakub Wieczorek <faw217@gmail.com>
  14620. Reviewed by Eric Seidel.
  14621. [Qt] EventSender: add support for Enter key events
  14622. https://bugs.webkit.org/show_bug.cgi?id=33064
  14623. Unskip 5 tests that are fixed now.
  14624. * DumpRenderTree/qt/EventSenderQt.cpp:
  14625. (EventSender::keyDown):
  14626. 2010-01-03 Adam Barth <abarth@webkit.org>
  14627. Reviewed by Eric Seidel.
  14628. [bzt] Add test for previous typo fix
  14629. https://bugs.webkit.org/show_bug.cgi?id=33083
  14630. A trivial test for a trivial fix, as requested by Eric.
  14631. * Scripts/modules/bugzilla_unittest.py:
  14632. 2010-01-03 Adam Barth <abarth@webkit.org>
  14633. Reviewed by Eric Seidel.
  14634. Implement mac-ews
  14635. https://bugs.webkit.org/show_bug.cgi?id=33072
  14636. The mac-ews is slightly different than the other early warning systems
  14637. because we can't run Mac OS X inside a VM. For that reason, we only
  14638. process patches that were uploaded by committers. This isn't as much
  14639. coverage as the other EWS bots, but it's better than nothing.
  14640. * Scripts/modules/commands/early_warning_system.py:
  14641. * Scripts/modules/commands/early_warning_system_unittest.py:
  14642. * Scripts/modules/commands/queues.py:
  14643. * Scripts/modules/commands/queuestest.py:
  14644. * Scripts/modules/mock_bugzillatool.py:
  14645. 2010-01-03 Chris Jerdonek <chris.jerdonek@gmail.com>
  14646. Reviewed by David Kilzer.
  14647. Refactored svn-apply and svn-unapply to use a common "patch"
  14648. command method, and added unit tests for this new method.
  14649. https://bugs.webkit.org/show_bug.cgi?id=33098
  14650. * Scripts/VCSUtils.pm:
  14651. - Added generateRunPatchCommand().
  14652. - Added runPatchCommand().
  14653. - Added exitStatus() from webkitdirs.pm to address FIXME.
  14654. * Scripts/VCSUtils_unittest.pl:
  14655. - Added 10 unit tests for generateRunPatchCommand().
  14656. - Added 4 unit tests for runPatchCommand().
  14657. - Added callSilently() method.
  14658. * Scripts/svn-apply:
  14659. - Refactored applyPatch().
  14660. - Removed $pathScriptWasRunFrom global variable.
  14661. - Addressed issue where "--force" option was getting added twice.
  14662. * Scripts/svn-unapply:
  14663. - Refactored applyPatch().
  14664. - Removed $pathScriptWasRunFrom global variable.
  14665. - Added support for --force option.
  14666. - Enhanced to return meaningful exit status.
  14667. * Scripts/webkitdirs.pm:
  14668. - Moved exitStatus() implementation to VCSUtils.pm.
  14669. 2009-12-31 Adam Barth <abarth@webkit.org>
  14670. Reviewed by Eric Seidel.
  14671. [bzt] Implement build-and-test
  14672. https://bugs.webkit.org/show_bug.cgi?id=33073
  14673. Some of the early warning system bots want to use build-and-test so
  14674. they can cover LayoutTests in addition to just compilation.
  14675. * Scripts/modules/commands/download.py:
  14676. * Scripts/modules/commands/download_unittest.py:
  14677. 2009-12-31 Adam Barth <abarth@webkit.org>
  14678. Reviewed by Eric Seidel.
  14679. Show mac-ews status on QueueStatusServer
  14680. https://bugs.webkit.org/show_bug.cgi?id=33076
  14681. Also make error status purple.
  14682. * QueueStatusServer/model/attachment.py:
  14683. * QueueStatusServer/model/queues.py:
  14684. * QueueStatusServer/templates/dashboard.html:
  14685. * QueueStatusServer/templates/statusbubble.html:
  14686. 2009-12-31 Adam Barth <abarth@webkit.org>
  14687. Unreviewed.
  14688. [bzt] REGRESSION: Bugzila is a typo
  14689. https://bugs.webkit.org/show_bug.cgi?id=33074
  14690. Eric should test his code before landing! :)
  14691. * Scripts/modules/bugzilla.py:
  14692. 2009-12-31 Adam Barth <abarth@webkit.org>
  14693. Unreviewed. Fix the unit tests!
  14694. * Scripts/run-webkit-unittests:
  14695. 2009-12-30 Kevin Watters <kevinwatters@gmail.com>
  14696. Reviewed by Kevin Ollivier.
  14697. [wx] Alter a couple of default settings in the test app.
  14698. https://bugs.webkit.org/show_bug.cgi?id=32956
  14699. * wx/browser/browser.cpp:
  14700. (MyApp::OnInit):
  14701. 2009-12-30 Eric Seidel <eric@webkit.org>
  14702. Reviewed by Adam Barth.
  14703. logging.py should be renamed to webkit_logging.py and eventually die
  14704. https://bugs.webkit.org/show_bug.cgi?id=33058
  14705. Change all imports of "logging" to webkit_logging,
  14706. except the ones which came from Google's cpp_lint.py and diff_parser.py
  14707. which clearly are assuming python's logging.py.
  14708. * Scripts/modules/bugzilla.py:
  14709. * Scripts/modules/buildbot.py:
  14710. * Scripts/modules/buildsteps.py:
  14711. * Scripts/modules/commands/download.py:
  14712. * Scripts/modules/commands/queries.py:
  14713. * Scripts/modules/commands/queues.py:
  14714. * Scripts/modules/commands/upload.py:
  14715. * Scripts/modules/credentials.py:
  14716. * Scripts/modules/executive.py:
  14717. * Scripts/modules/multicommandtool.py:
  14718. * Scripts/modules/queueengine.py:
  14719. * Scripts/modules/scm.py:
  14720. * Scripts/modules/statusbot.py:
  14721. * Scripts/modules/stepsequence.py:
  14722. * Scripts/modules/webkit_logging.py: Renamed from WebKitTools/Scripts/modules/logging.py.
  14723. * Scripts/modules/webkit_logging_unittest.py: Renamed from WebKitTools/Scripts/modules/logging_unittest.py.
  14724. 2009-12-30 Jakub Wieczorek <faw217@gmail.com>
  14725. Reviewed by Simon Hausmann.
  14726. [Qt] layoutTestController.pathToLocalResource() should return a path, not an URL
  14727. https://bugs.webkit.org/show_bug.cgi?id=33051
  14728. Moreover, its primary function is to normalize the path in regard of platform
  14729. specific directory separators. Therefore, it can simply make use of the
  14730. QDir::toNativeSeparators function.
  14731. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  14732. (LayoutTestController::pathToLocalResource):
  14733. 2009-12-30 David D. Kilzer <ddkilzer@webkit.org>
  14734. Fix executable bits for r52646
  14735. * Scripts/VCSUtils_unittest.pl: Added property svn:executable.
  14736. * Scripts/test-webkit-perl: Ditto.
  14737. 2009-12-29 Chris Jerdonek <chris.jerdonek@gmail.com>
  14738. Reviewed by David Kilzer.
  14739. Fixed a bug in fixChangeLogPatch, made it work correctly in
  14740. more circumstances, and added unit tests.
  14741. https://bugs.webkit.org/show_bug.cgi?id=32919
  14742. * Scripts/VCSUtils.pm:
  14743. Rewrote fixChangeLogPatch.
  14744. * Scripts/VCSUtils_unittest.pl: Added.
  14745. Added 7 unit tests for fixChangeLogPatch.
  14746. * Scripts/test-webkit-perl: Added.
  14747. Added test harness for unit tests of Perl code.
  14748. 2009-12-29 Eric Seidel <eric@webkit.org>
  14749. Reviewed by Adam Barth.
  14750. Split out BugzillaQueries class from Bugzilla
  14751. https://bugs.webkit.org/show_bug.cgi?id=33042
  14752. * Scripts/modules/bugzilla.py:
  14753. - Split out BugzillaQueries from Bugzilla.
  14754. - Try to isolate self.bugzilla usage into helper functions whenever possible.
  14755. - Add a bunch of FIXMEs.
  14756. - Rename fetch_bug_ids_from_needs_commit_list to fetch_bug_ids_from_pending_commit_list
  14757. * Scripts/modules/bugzilla_unittest.py:
  14758. - Create a new BugzillaQueriesTest testcase and move logic there.
  14759. * Scripts/modules/buildsteps_unittest.py:
  14760. - Use Bug 75 instead of 1 since bug 1 doesn't actually exist.
  14761. * Scripts/modules/commands/queries.py:
  14762. - Update to use bugzilla.queries
  14763. * Scripts/modules/commands/queues.py:
  14764. - Ditto.
  14765. * Scripts/modules/commands/upload.py:
  14766. - Ditto.
  14767. * Scripts/modules/mock_bugzillatool.py:
  14768. - Add a MockBugzillaQueries.
  14769. - Make patches and bugs global privates.
  14770. - Let _id_to_object_dictionary take a variable argument list instead of an array.
  14771. 2009-12-29 Daniel Bates <dbates@webkit.org>
  14772. Reviewed by Eric Seidel.
  14773. https://bugs.webkit.org/show_bug.cgi?id=33041
  14774. Speed up the test method test_read_credentials_with_SVN by not actually
  14775. creating an SVN repository to test against (by default). Instead, it is
  14776. sufficient to create a temporary directory that does not contain a Git
  14777. repository.
  14778. Also, renamed method test_read_credentials_with_SVN to
  14779. test_read_credentials_without_git_repo, to better reflect what it is
  14780. testing.
  14781. * Scripts/modules/credentials_unittest.py:
  14782. 2009-12-29 Daniel Bates <dbates@webkit.org>
  14783. Reviewed by Adam Barth.
  14784. https://bugs.webkit.org/show_bug.cgi?id=33039
  14785. [bzt] Fixes an issue where bugzilla-tool dies when the keychain lookup
  14786. fails to find an entry for bugs.webkit.org.
  14787. Under Mac OS X, bugzilla-tool tries to query the keychain and Security
  14788. framework (via /usr/sbin/security) for an internet-password entry for
  14789. bugs.webkit.org so that it can use it to login to bugs.webkit.org.
  14790. However, if no such entry exists then bugzilla-tool dies with an error.
  14791. * Scripts/modules/credentials.py: Modified method _parse_security_tool_output to return
  14792. [None, None] if /usr/sbin/security cannot find keychain entry for bugs.webkit.org.
  14793. * Scripts/modules/credentials_unittest.py: Added method test_security_output_parse_entry_not_found.
  14794. 2009-12-29 Eric Seidel <eric@webkit.org>
  14795. Rubber-stamped by Adam Barth.
  14796. Remove unused BugzillaException.
  14797. * Scripts/modules/bugzilla.py:
  14798. 2009-12-29 Eric Seidel <eric@webkit.org>
  14799. Reviewed by Adam Barth.
  14800. Need a script to assign bugs with r+ patches to committers for landing
  14801. https://bugs.webkit.org/show_bug.cgi?id=33009
  14802. This is just one more small tool to help in the fight against our
  14803. ever-growing list of to-be-committed patches.
  14804. * Scripts/modules/bugzilla.py:
  14805. - Rename assign_to_email to assigned_to_email (typo).
  14806. - Add assigned_to_email() method on Bug.
  14807. - Add reassign_bug method.
  14808. - Add Bugzilla.unassigned_email, eventually should move to some webkit_config.py module.
  14809. * Scripts/modules/bugzilla_unittest.py:
  14810. - Update test after assigned_to_email rename.
  14811. * Scripts/modules/commands/commandtest.py:
  14812. - Call bind_to_tool to that self.tool works in Command testing.
  14813. * Scripts/modules/commands/download.py:
  14814. - Move AbstractDeclarativeCommmand multicommandtool.py, it should be part of Command.
  14815. * Scripts/modules/commands/queries_unittest.py:
  14816. - One of the test patches is now posted by "eric@webkit.org" which is a committer.
  14817. - Eventually we'll mock out CommitterList and be able to better control what's a committer and what's not.
  14818. * Scripts/modules/commands/upload.py:
  14819. - Add new assign-to-committer command.
  14820. * Scripts/modules/commands/upload_unittest.py:
  14821. - Add basic assign-to-committer test.
  14822. * Scripts/modules/committers.py:
  14823. - Add bugzilla_email() accessor.
  14824. * Scripts/modules/committers_unittest.py:
  14825. - Test our assumption that bugzilla_email is the first email.
  14826. * Scripts/modules/mock_bugzillatool.py:
  14827. - Add _id_to_object_dictionary for generating bug_cache from list of bugs.
  14828. - Remove unused fetch_attachments_from_bug.
  14829. - Add fetch_bug support and a bug_cache.
  14830. * Scripts/modules/multicommandtool.py:
  14831. - Move AbstractDeclarativeCommmand here from download.py
  14832. 2009-12-29 Adam Barth <abarth@webkit.org>
  14833. Reviewed by Eric Seidel.
  14834. [bzt] Don't crash if user types a number during PromptForBugOrTitleStep
  14835. https://bugs.webkit.org/show_bug.cgi?id=33038
  14836. Simple fix with test.
  14837. * Scripts/modules/buildsteps.py:
  14838. * Scripts/modules/buildsteps_unittest.py:
  14839. 2009-12-29 Adam Barth <abarth@webkit.org>
  14840. Reviewed by Eric Seidel.
  14841. [bzt] post-diff requires reading to the end
  14842. https://bugs.webkit.org/show_bug.cgi?id=33036
  14843. Catch the IOError caused by not reading to the end of the diff. We
  14844. don't have a good way to test this currently.
  14845. * Scripts/modules/user.py:
  14846. 2009-12-29 Chang Shu <Chang.Shu@nokia.com>
  14847. Reviewed by Adam Barth.
  14848. [Qt] Move logic that handles Qt headers before primary headers
  14849. so that Qt headers won't be treated as primary headers by mistake.
  14850. https://bugs.webkit.org/show_bug.cgi?id=32991
  14851. * Scripts/modules/cpp_style.py:
  14852. * Scripts/modules/cpp_style_unittest.py:
  14853. 2009-12-29 Eric Seidel <eric@webkit.org>
  14854. Reviewed by Adam Barth.
  14855. Add the start of a Bug object for bugzilla.py
  14856. https://bugs.webkit.org/show_bug.cgi?id=32995
  14857. This allowed us to get rid of some duplicated "is_obsolete" checks.
  14858. * Scripts/modules/bugzilla.py:
  14859. - Add a new Bug class, and move patches/unreviewed_patches filtering logic there.
  14860. - Add _fetch_bug_page for possible future mocking.
  14861. (I did not try to test fetch_*_from_bug now due to difficulties with our current validate_reviewer logic.)
  14862. - Rename fetch_bug to fetch_bug_dictionary and add a new fetch_bug which returns a Bug object.
  14863. - Use fetch_bug and attachments(), patches(), etc. instead of custom fetch_*_from_bug methods.
  14864. - Reduce code in fetch_patches_from_pending_commit_list and fetch_patches_from_review_queue
  14865. using list comprehensions. Use a sum(list, []) trick to flatten a list of lists into a single list.
  14866. * Scripts/modules/bugzilla_unittest.py:
  14867. - Remove an unneeded unicode string marker.
  14868. * Scripts/modules/buildsteps.py:
  14869. - define __all__ to include just the BuildSteps
  14870. * Scripts/modules/commands/download.py:
  14871. - import * now that we have an __all__ defined.
  14872. * Scripts/modules/commands/upload.py:
  14873. - Use fetch_bug_dictionary instead of fetch_bug.
  14874. 2009-12-29 Daniel Bates <dbates@webkit.org>
  14875. Reviewed by Ariya Hidayat.
  14876. https://bugs.webkit.org/show_bug.cgi?id=32925
  14877. Adds an Open File dialog to make it convenient to open a file
  14878. to view in the browser.
  14879. Currently a person must either specify the path to a file as a
  14880. command-line argument or type a file URL. Instead, we should
  14881. have a file dialog to allow a person to open a file without
  14882. memorizing its path.
  14883. * QtLauncher/main.cpp:
  14884. (MainWindow::MainWindow): Changed urlEdit->setText(qurl.toEncoded())
  14885. to urlEdit->setText(qurl.toString()).
  14886. (MainWindow::openFile): Added.
  14887. (MainWindow::changeLocation): Moved code to load URL into method
  14888. MainWindow::loadURL.
  14889. (MainWindow::loadURL): Added.
  14890. (MainWindow::setupUI): Added menu item Open File.
  14891. 2009-12-29 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  14892. Reviewed by Holger Freyther.
  14893. [GTK] fails fast/harness/use-page-cache.html
  14894. https://bugs.webkit.org/show_bug.cgi?id=33013
  14895. Make sure settings are forwarded to child WebViews.
  14896. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  14897. (createWebView):
  14898. 2009-12-29 Daniel Bates <dbates@webkit.org>
  14899. Reviewed by Eric Seidel.
  14900. https://bugs.webkit.org/show_bug.cgi?id=32778
  14901. Changes $diffPercentage to be a number to resolve Perl
  14902. warning about comparing a string to a number.
  14903. * Scripts/run-webkit-tests:
  14904. 2009-12-29 Jakub Wieczorek <faw217@gmail.com>
  14905. Reviewed by Eric Seidel.
  14906. [Qt] DRT: Frame loader callbacks differ from the Mac port
  14907. https://bugs.webkit.org/show_bug.cgi?id=32989
  14908. Remove messages from the callbacks that should not dump them to match
  14909. the expected results for the http/loading tests.
  14910. Unskip some http/loading tests which succeed now.
  14911. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  14912. (WebCore::DumpRenderTree::dump):
  14913. 2009-12-29 Robert Hogan <robert@roberthogan.net>
  14914. Reviewed by Eric Seidel.
  14915. [Qt] fix fast/dom/Window/window-onFocus.html
  14916. Add support for layouttestcontroller.windowIsKey to Qt DRT and fix issue where
  14917. window.onblur was getting dispatched twice from QtWebKit.
  14918. https://bugs.webkit.org/show_bug.cgi?id=32990
  14919. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  14920. (WebCore::DumpRenderTree::DumpRenderTree):
  14921. (WebCore::DumpRenderTree::switchFocus):
  14922. * DumpRenderTree/qt/DumpRenderTreeQt.h:
  14923. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  14924. (LayoutTestController::setWindowIsKey):
  14925. (LayoutTestController::setMainFrameIsFirstResponder):
  14926. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  14927. 2009-12-28 Kinuko Yasuda <kinuko@chromium.org>
  14928. Reviewed by Maciej Stachowiak.
  14929. Extended EventSender.keyDown method to take another (3rd) argument
  14930. for indicating the keyLocation to make numeric pad key events testable.
  14931. Expected values for the argument is one of the KeyLocationCode
  14932. specified in DOM Level 3
  14933. (http://www.w3.org/TR/DOM-Level-3-Events/#events-keyboardevents).
  14934. https://bugs.webkit.org/show_bug.cgi?id=28247
  14935. Test: fast/events/keydown-numpad-keys.html
  14936. * DumpRenderTree/mac/EventSendingController.mm:
  14937. (+[EventSendingController isSelectorExcludedFromWebScript:]):
  14938. (+[EventSendingController webScriptNameForSelector:]):
  14939. (-[EventSendingController keyDown:withModifiers:withLocation:]):
  14940. 2009-12-28 Ariya Hidayat <ariya.hidayat@gmail.com>
  14941. Unreviewed, update my email address.
  14942. * Scripts/modules/committers.py:
  14943. 2009-12-28 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  14944. Reviewed by Adam Barth.
  14945. [Qt] Fix build break for Qt 4.4
  14946. https://bugs.webkit.org/show_bug.cgi?id=30327
  14947. * DumpRenderTree/qt/DumpRenderTreeQt.cpp: Include QLocale
  14948. * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Ditto.
  14949. * QtLauncher/main.cpp:
  14950. (MainWindow::MainWindow): Qt::WA_TranslucentBackground was
  14951. introduced in Qt version 4.5
  14952. 2009-12-28 Adam Barth <abarth@webkit.org>
  14953. Reviewed by Eric Seidel.
  14954. [bzt] Add an edit-changelog command
  14955. https://bugs.webkit.org/show_bug.cgi?id=32986
  14956. This command makes it easier to edit ChangeLogs. It's similar to
  14957. prepare-ChangeLog -o, except it works with already existing ChangeLogs.
  14958. * Scripts/modules/commands/upload.py:
  14959. * Scripts/modules/commands/upload_unittest.py:
  14960. 2009-12-28 Adam Barth <abarth@webkit.org>
  14961. Reviewed by Eric Seidel.
  14962. [bzt] Create an ASAD command for uploading a patch
  14963. https://bugs.webkit.org/show_bug.cgi?id=32979
  14964. The create-review command goes through the whole process of preparing a
  14965. code review, including creating a bug, editing the ChangeLogs, and
  14966. uploading the patch. It is indeed the All Sing, All Dance upload
  14967. command.
  14968. * Scripts/modules/buildsteps.py:
  14969. * Scripts/modules/commands/upload.py:
  14970. * Scripts/modules/commands/upload_unittest.py:
  14971. * Scripts/modules/mock_bugzillatool.py:
  14972. * Scripts/modules/user.py:
  14973. 2009-12-28 Adam Barth <abarth@webkit.org>
  14974. Unreviewed "build" fix (with test!).
  14975. * Scripts/modules/bugzilla.py:
  14976. * Scripts/modules/bugzilla_unittest.py:
  14977. 2009-12-27 Eric Seidel <eric@webkit.org>
  14978. Reviewed by Adam Barth.
  14979. Add more awesome bug-parsing logic to bugzilla.py in preparation for assign-to-committer command
  14980. https://bugs.webkit.org/show_bug.cgi?id=32980
  14981. * Scripts/modules/bugzilla.py:
  14982. - Add a new _parse_bug_page function and use it in fetch_attachments_from_bug
  14983. - Replace fetch_title_from_bug with a new fetch_bug call instead.
  14984. - Use list comprehensions where possible to reduce code duplication.
  14985. * Scripts/modules/bugzilla_unittest.py:
  14986. - Add a minimal bug parsing test.
  14987. - Share code between bug parsing and attachment parsing tests with _assert_dictionaries_equal
  14988. * Scripts/modules/commands/upload.py:
  14989. - Use fetch_bug(bug_id)["title"] instead of fetch_title_from_bug
  14990. 2009-12-27 Adam Barth <abarth@webkit.org>
  14991. Reviewed by Eric Seidel.
  14992. Status bubble shouldn't be transparent for bots that haven't run yet
  14993. https://bugs.webkit.org/show_bug.cgi?id=32977
  14994. * QueueStatusServer/templates/statusbubble.html:
  14995. 2009-12-27 Adam Barth <abarth@webkit.org>
  14996. Reviewed by Eric Seidel.
  14997. [QueueStatusServer] Run gc cron job less often
  14998. https://bugs.webkit.org/show_bug.cgi?id=32958
  14999. Now that we've cleaned out the backlog of idle messages, we don't need
  15000. to run the gc job every half hour. We could also stop logging the idle
  15001. messages, but this seems easier for the time being.
  15002. * QueueStatusServer/cron.yaml:
  15003. 2009-12-27 Daniel Bates <dbates@webkit.org>
  15004. Reviewed by Adam Barth.
  15005. https://bugs.webkit.org/show_bug.cgi?id=32896
  15006. Fixes an issue where bugzilla-tool tries to read the username and password from
  15007. Git regardless of whether Git is installed. In particular, if Git is not
  15008. installed then bugzilla-tool dies (with a trace) when it attempts to query Git
  15009. for the authentication credentials to log into bugs.webkit.org.
  15010. Moreover, modifies Executive.run_command to catch and pass OSError exceptions to
  15011. the specified error handler. For instance, the specified error handler will now
  15012. be called when the command does not exist (i.e. OSError errno 2).
  15013. * Scripts/modules/credentials.py: Added check for Git.
  15014. * Scripts/modules/credentials_unittest.py: Added test method
  15015. test_read_credentials_with_SVN.
  15016. * Scripts/modules/executive.py: Modified method run_command to catch
  15017. OSError exceptions (i.e [Errno 2] No such file or directory) and call
  15018. the specified error handler.
  15019. * Scripts/modules/executive_unittest.py: Added.
  15020. * Scripts/run-webkit-unittests: Added import executive_unittest.py.
  15021. 2009-12-27 Daniel Bates <dbates@webkit.org>
  15022. Unreviewed. Added missing file style_unittest.py that wasn't committed
  15023. in change set 52541 (http://trac.webkit.org/changeset/52541) as part of
  15024. the patch for bug #32592.
  15025. * Scripts/modules/style_unittest.py: Added.
  15026. 2009-12-27 Daniel Bates <dbates@webkit.org>
  15027. Reviewed by Eric Seidel.
  15028. https://bugs.webkit.org/show_bug.cgi?id=32964
  15029. [bzt] Updated the unit test based on the change made in bug #32951.
  15030. The change made in bug #32951 added the command-line argument:
  15031. --makeargs="-j8" to the build-webkit command. However, the associated
  15032. unit test was not updated.
  15033. * Scripts/modules/webkitport_unittest.py:
  15034. 2009-12-27 Yael Aharon <yael.aharon@nokia.com>
  15035. Reviewed by Darin Adler.
  15036. check-webkit-style should not mark moc files inclusion as errors
  15037. https://bugs.webkit.org/show_bug.cgi?id=32669
  15038. Add a new header type for moc files, and skip them when checking the order of header files.
  15039. * Scripts/modules/cpp_style.py:
  15040. 2009-12-26 Adam Barth <abarth@webkit.org>
  15041. Reviewed by Eric Seidel.
  15042. [bzt] Make the qt build go fast
  15043. https://bugs.webkit.org/show_bug.cgi?id=32951
  15044. Make use of multiple cores, if available.
  15045. * Scripts/modules/webkitport.py:
  15046. 2009-12-25 Daniel Bates <dbates@rim.com>
  15047. Reviewed by Eric Seidel.
  15048. https://bugs.webkit.org/show_bug.cgi?id=32682
  15049. Fixes an issue where checkFrameworks always dies with an error under Windows
  15050. since the clause "unless (-x $path)" is always satisfied because files under
  15051. Windows do not have an explict executable bit.
  15052. * Scripts/webkitdirs.pm:
  15053. 2009-12-23 Eric Seidel <eric@webkit.org>
  15054. Reviewed by Adam Barth.
  15055. bugzilla-tool should accept global options anywhere
  15056. https://bugs.webkit.org/show_bug.cgi?id=26912
  15057. * Scripts/bugzilla-tool:
  15058. - Use the new global_options class property.
  15059. - Add a handle_global_options callback to avoid needing callbacks for each global option.
  15060. * Scripts/modules/multicommandtool.py:
  15061. - Make the code use one combined option parser.
  15062. This allows us to accept global options anywhere and
  15063. individual command options before commands.
  15064. - Add a handle_global_options callback to avoid needing callbacks for each global option.
  15065. - Make the Command hold the option parser, but allow the tool to override it.
  15066. - The default option parser is used for help printing and when Commands are run stand alone,
  15067. but are otherwise not used.
  15068. - Add Command.main to codify the idea that Commands should support being run stand-alone.
  15069. - Change _split_args to _split_command_name_from_args now that args are unified.
  15070. * Scripts/modules/multicommandtool_unittest.py:
  15071. - Test that "tool" and "tool help" show the same help.
  15072. - Test that args are accepted before commands
  15073. 2009-12-20 Chris Jerdonek <chris.jerdonek@gmail.com>
  15074. Reviewed by David Levin.
  15075. Moved some sections of code in preparation to refactor
  15076. check-webkit-style's argument parser to avoid setting
  15077. global variables.
  15078. https://bugs.webkit.org/show_bug.cgi?id=32592
  15079. * Scripts/check-webkit-style:
  15080. - Moved _USAGE string to style.py.
  15081. - Addressed FIXME by eliminating dependencies on cpp_style.py.
  15082. * Scripts/modules/cpp_style.py:
  15083. - Moved default arguments and style categories to style.py.
  15084. - Moved exit_with_usage(), exit_with_categories(), and
  15085. parse_arguments() to style.py.
  15086. - Removed references in _CppStyleState to the global
  15087. variables now in style.py.
  15088. * Scripts/modules/cpp_style_unittest.py:
  15089. - Moved parse_arguments() unit tests to style_unittest.py.
  15090. * Scripts/modules/style.py:
  15091. - Added _USAGE string from check-webkit-style.
  15092. - Added default arguments and style categories from cpp_style.py.
  15093. - Added exit_with_usage(), exit_with_categories(), and
  15094. parse_arguments() from cpp_sstyle.py.
  15095. * Scripts/modules/style_unittest.py: Added.
  15096. - Added parse_arguments() unit tests from cpp_style_unittest.py.
  15097. * Scripts/run-webkit-unittests:
  15098. - Added unit tests from style_unittest.py.
  15099. 2009-12-23 Eric Seidel <eric@webkit.org>
  15100. Reviewed by Adam Barth.
  15101. commit-queue should mention bug 30084 when rejecting patches until it can be fixed
  15102. https://bugs.webkit.org/show_bug.cgi?id=32911
  15103. * Scripts/modules/bugzilla.py: Make the message even more fancy.
  15104. * Scripts/modules/bugzilla_unittest.py: Test our new fancy message.
  15105. 2009-12-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  15106. Not reviewed, adding myself to the reviewers list.
  15107. * Scripts/modules/committers.py:
  15108. 2009-12-23 Adam Barth <abarth@webkit.org>
  15109. Reviewed by Eric Seidel.
  15110. [bzt] Create a prepare-diff command that creates a bug and a ChangeLog
  15111. https://bugs.webkit.org/show_bug.cgi?id=32895
  15112. The workflow Maciej and I discussed is as follows:
  15113. 1) Write code.
  15114. 2) bugzilla-tool prepare-diff
  15115. 3) Edit ChangeLogs
  15116. 4) bugzilla-tool post-diff
  15117. We might want to experimenting with combining 2-4 into a single
  15118. command, but that might be stressful to edit the ChangeLogs modally.
  15119. Removed submit-patch since it has the modal ChangeLog editing but none
  15120. oof the bug creating fun.
  15121. * Scripts/modules/bugzilla.py:
  15122. * Scripts/modules/buildsteps.py:
  15123. * Scripts/modules/commands/upload.py:
  15124. * Scripts/modules/commands/upload_unittest.py:
  15125. 2009-12-23 Gabor Loki <loki@webkit.org>
  15126. Unreviewed; added myself to the committers list.
  15127. * Scripts/modules/committers.py:
  15128. 2009-12-22 Adam Barth <abarth@webkit.org>
  15129. Reviewed by Maciej Stachowiak.
  15130. [bzt] Don't call create-patch twice during post-diff
  15131. https://bugs.webkit.org/show_bug.cgi?id=32893
  15132. If we call create-patch to get the bug number, cache the diff in the
  15133. state so we don't need to call it again.
  15134. * Scripts/modules/buildsteps.py:
  15135. * Scripts/modules/commands/upload.py:
  15136. 2009-12-22 Daniel Bates <dbates@rim.com>
  15137. Reviewed by Eric Seidel.
  15138. https://bugs.webkit.org/show_bug.cgi?id=32680
  15139. Fixes an issue in builtDylibPathForName so that it returns the correct
  15140. path to the built QtWebKit library on the Qt Windows port. Currently,
  15141. it returns the path to the file named QtWebKit.dll but this file does
  15142. not exist on the Qt Windows build. Instead, the file is named
  15143. QtWebKit4.dll.
  15144. * Scripts/webkitdirs.pm:
  15145. 2009-12-22 Marc-Antoine Ruel <maruel@chromium.org>
  15146. Reviewed by Adam Roben.
  15147. Remove the only dependency on perl-libwin32 in cygwin
  15148. * Scripts/num-cpus:
  15149. 2009-12-22 Darin Adler <darin@apple.com>
  15150. * pywebsocket/mod_pywebsocket: Added property svn:ignore to ignore
  15151. generated ".pyc" files.
  15152. 2009-12-22 Darin Adler <darin@apple.com>
  15153. Reviewed by Mark Rowe.
  15154. Turn off datagrid by default, at least for all platforms Apple ships.
  15155. The datagrid implementation isn't ready for general web use yet.
  15156. * Scripts/build-webkit: Turn off datagrid by default.
  15157. 2009-12-22 Eric Seidel <eric@webkit.org>
  15158. Reviewed by Darin Adler.
  15159. validate-committer-lists fails when run from an SVN checkout
  15160. https://bugs.webkit.org/show_bug.cgi?id=31974
  15161. * Scripts/validate-committer-lists:
  15162. - Make it print a warning message instead of throwing
  15163. an exception when running from an SVN checkout.
  15164. 2009-12-22 Philippe Normand <pnormand@igalia.com>
  15165. Reviewed by Adam Barth.
  15166. check-webkit-style should not warn about NULL usage in g_object_{get,set}
  15167. https://bugs.webkit.org/show_bug.cgi?id=32858
  15168. * Scripts/modules/cpp_style.py:
  15169. * Scripts/modules/cpp_style_unittest.py:
  15170. 2009-12-22 Simon Hausmann <simon.hausmann@nokia.com>
  15171. Rubber-stamped by Holger Freyther.
  15172. Moved QtLauncher from WebKit/qt.
  15173. * QtLauncher: Copied from WebKit/qt/QtLauncher.
  15174. * QtLauncher/QtLauncher.pro:
  15175. 2009-12-21 Adam Barth <abarth@webkit.org>
  15176. Reviewed by Eric Seidel.
  15177. [bzt] Automate the process of calling prepare-ChangeLog
  15178. https://bugs.webkit.org/show_bug.cgi?id=32816
  15179. This patch automates the process of creating a bug and patch and
  15180. uploading it to bugzilla. The first cut just calls
  15181. prepare-ChangeLog.
  15182. This patch required some refactoring of upload.py to the Step
  15183. model, but that's worth doing anyway.
  15184. * Scripts/bugzilla-tool:
  15185. * Scripts/modules/buildsteps.py:
  15186. * Scripts/modules/commands/download.py:
  15187. * Scripts/modules/commands/upload.py:
  15188. * Scripts/modules/commands/upload_unittest.py:
  15189. * Scripts/modules/mock_bugzillatool.py:
  15190. 2009-12-21 Darin Adler <darin@apple.com>
  15191. * Scripts/do-webcore-rename: Did a rename, so checking in the
  15192. version of the script I used.
  15193. 2009-12-21 Adam Barth <abarth@webkit.org>
  15194. Reviewed by Eric Seidel.
  15195. Update status-bubble to show all the queues
  15196. https://bugs.webkit.org/show_bug.cgi?id=32838
  15197. Also, move statusbubble over to use memcache.
  15198. * QueueStatusServer/handlers/statusbubble.py:
  15199. * QueueStatusServer/templates/statusbubble.html:
  15200. 2009-12-21 Adam Barth <abarth@webkit.org>
  15201. Reviewed by Eric Seidel.
  15202. Delete the boring "Empty queue" status messages in QueueStatusServer
  15203. https://bugs.webkit.org/show_bug.cgi?id=32818
  15204. * QueueStatusServer/app.yaml:
  15205. * QueueStatusServer/cron.yaml:
  15206. * QueueStatusServer/handlers/gc.py:
  15207. * QueueStatusServer/main.py:
  15208. 2009-12-21 Adam Barth <abarth@webkit.org>
  15209. Reviewed by Eric Seidel.
  15210. Exception on queue status server
  15211. https://bugs.webkit.org/show_bug.cgi?id=32812
  15212. Turns out we need to pass the id to the filter.
  15213. * QueueStatusServer/filters/webkit_extras.py:
  15214. * QueueStatusServer/templates/patch.html:
  15215. * QueueStatusServer/templates/recentstatus.html:
  15216. 2009-12-20 Chris Jerdonek <chris.jerdonek@gmail.com>
  15217. Reviewed by Eric Seidel.
  15218. Created "style" folder for code supporting check-webkit-style.
  15219. * Scripts/modules/style: Added.
  15220. 2009-12-20 Adam Barth <abarth@webkit.org>
  15221. Reviewed by Eric Seidel.
  15222. REGRESSION: error when running commit-queue
  15223. https://bugs.webkit.org/show_bug.cgi?id=32806
  15224. Fix typo and add test!
  15225. * Scripts/modules/bugzilla.py:
  15226. * Scripts/modules/bugzilla_unittest.py:
  15227. 2009-12-20 Adam Barth <abarth@webkit.org>
  15228. [bzt] Optimize status updates for new dashboard
  15229. https://bugs.webkit.org/show_bug.cgi?id=32797
  15230. This patch makes the queues slightly more chatty with the web service.
  15231. Also, this patch introduces some testing for the queues!
  15232. * Scripts/modules/commands/early_warning_system.py:
  15233. * Scripts/modules/commands/early_warning_system_unittest.py: Added.
  15234. * Scripts/modules/commands/queues.py:
  15235. * Scripts/modules/commands/queues_unittest.py:
  15236. * Scripts/modules/commands/queuestest.py: Added.
  15237. * Scripts/modules/mock_bugzillatool.py:
  15238. * Scripts/modules/patchcollection.py:
  15239. * Scripts/modules/queueengine.py:
  15240. * Scripts/run-webkit-unittests:
  15241. 2009-12-20 Adam Barth <abarth@webkit.org>
  15242. Reviewed by Eric Seidel.
  15243. Prepare QueueStatusServer for new status messages
  15244. https://bugs.webkit.org/show_bug.cgi?id=32805
  15245. * QueueStatusServer/handlers/recentstatus.py:
  15246. * QueueStatusServer/index.html: Removed.
  15247. * QueueStatusServer/model/attachment.py:
  15248. * QueueStatusServer/model/queues.py: Added.
  15249. * QueueStatusServer/templates/recentstatus.html: Added.
  15250. 2009-12-20 Shinichiro Hamaji <hamaji@chromium.org>
  15251. Reviewed by Adam Barth.
  15252. [check-webkit-style] static_cast is not misnamed!
  15253. https://bugs.webkit.org/show_bug.cgi?id=32796
  15254. * Scripts/modules/cpp_style.py:
  15255. * Scripts/modules/cpp_style_unittest.py:
  15256. 2009-12-20 Alejandro G. Castro <alex@igalia.com>
  15257. Reviewed by Gustavo Noronha Silva.
  15258. [GTK] Failing test platform/gtk/editing/pasteboard/middle-button-paste.html
  15259. https://bugs.webkit.org/show_bug.cgi?id=32788
  15260. Do not increase the click count if we are using a different button.
  15261. * DumpRenderTree/gtk/EventSender.cpp:
  15262. 2009-12-20 Adam Barth <abarth@webkit.org>
  15263. Reviewed by Eric Seidel.
  15264. [QueueStatusServer] Add a per-patch details page
  15265. https://bugs.webkit.org/show_bug.cgi?id=32784
  15266. This is a first cut at a per-patch details page. I'm sure we'll have
  15267. to iterate.
  15268. * QueueStatusServer/filters/webkit_extras.py:
  15269. * QueueStatusServer/handlers/patch.py: Added.
  15270. * QueueStatusServer/index.yaml:
  15271. * QueueStatusServer/main.py:
  15272. * QueueStatusServer/model/attachment.py:
  15273. * QueueStatusServer/stylesheets/dashboard.css:
  15274. * QueueStatusServer/templates/dashboard.html:
  15275. * QueueStatusServer/templates/patch.html: Added.
  15276. 2009-12-20 Adam Barth <abarth@webkit.org>
  15277. Reviewed by Eric Seidel.
  15278. Use memcache to make dashboard to fast
  15279. https://bugs.webkit.org/show_bug.cgi?id=32780
  15280. * QueueStatusServer/app.yaml:
  15281. * QueueStatusServer/handlers/dashboard.py:
  15282. * QueueStatusServer/handlers/updatestatus.py:
  15283. * QueueStatusServer/model/attachment.py: Added.
  15284. 2009-12-19 Brent Fulgham <bfulgham@webkit.org>
  15285. Reviewed by Adam Roben.
  15286. Provide an example implementation for printing under Windows.
  15287. http://bugs.webkit.org/show_bug.cgi?id=32504.`
  15288. * WinLauncher/PrintWebUIDelegate.cpp: Added.
  15289. (PrintWebUIDelegate::QueryInterface):
  15290. (PrintWebUIDelegate::AddRef):
  15291. (PrintWebUIDelegate::Release):
  15292. (PrintWebUIDelegate::webViewPrintingMarginRect):
  15293. * WinLauncher/PrintWebUIDelegate.h: Added.
  15294. (PrintWebUIDelegate::PrintWebUIDelegate):
  15295. (PrintWebUIDelegate::createWebViewWithRequest):
  15296. (PrintWebUIDelegate::webViewShow):
  15297. (PrintWebUIDelegate::webViewClose):
  15298. (PrintWebUIDelegate::webViewFocus):
  15299. (PrintWebUIDelegate::webViewUnfocus):
  15300. (PrintWebUIDelegate::webViewFirstResponder):
  15301. (PrintWebUIDelegate::makeFirstResponder):
  15302. (PrintWebUIDelegate::setStatusText):
  15303. (PrintWebUIDelegate::webViewStatusText):
  15304. (PrintWebUIDelegate::webViewAreToolbarsVisible):
  15305. (PrintWebUIDelegate::setToolbarsVisible):
  15306. (PrintWebUIDelegate::webViewIsStatusBarVisible):
  15307. (PrintWebUIDelegate::setStatusBarVisible):
  15308. (PrintWebUIDelegate::webViewIsResizable):
  15309. (PrintWebUIDelegate::setResizable):
  15310. (PrintWebUIDelegate::setFrame):
  15311. (PrintWebUIDelegate::webViewFrame):
  15312. (PrintWebUIDelegate::setContentRect):
  15313. (PrintWebUIDelegate::webViewContentRect):
  15314. (PrintWebUIDelegate::runJavaScriptAlertPanelWithMessage):
  15315. (PrintWebUIDelegate::runJavaScriptConfirmPanelWithMessage):
  15316. (PrintWebUIDelegate::runJavaScriptTextInputPanelWithPrompt):
  15317. (PrintWebUIDelegate::runBeforeUnloadConfirmPanelWithMessage):
  15318. (PrintWebUIDelegate::runOpenPanelForFileButtonWithResultListener):
  15319. (PrintWebUIDelegate::mouseDidMoveOverElement):
  15320. (PrintWebUIDelegate::contextMenuItemsForElement):
  15321. (PrintWebUIDelegate::validateUserInterfaceItem):
  15322. (PrintWebUIDelegate::shouldPerformAction):
  15323. (PrintWebUIDelegate::dragDestinationActionMaskForDraggingInfo):
  15324. (PrintWebUIDelegate::willPerformDragDestinationAction):
  15325. (PrintWebUIDelegate::dragSourceActionMaskForPoint):
  15326. (PrintWebUIDelegate::willPerformDragSourceAction):
  15327. (PrintWebUIDelegate::contextMenuItemSelected):
  15328. (PrintWebUIDelegate::hasCustomMenuImplementation):
  15329. (PrintWebUIDelegate::trackCustomPopupMenu):
  15330. (PrintWebUIDelegate::measureCustomMenuItem):
  15331. (PrintWebUIDelegate::drawCustomMenuItem):
  15332. (PrintWebUIDelegate::addCustomMenuDrawingData):
  15333. (PrintWebUIDelegate::cleanUpCustomMenuDrawingData):
  15334. (PrintWebUIDelegate::canTakeFocus):
  15335. (PrintWebUIDelegate::takeFocus):
  15336. (PrintWebUIDelegate::registerUndoWithTarget):
  15337. (PrintWebUIDelegate::removeAllActionsWithTarget):
  15338. (PrintWebUIDelegate::setActionTitle):
  15339. (PrintWebUIDelegate::undo):
  15340. (PrintWebUIDelegate::redo):
  15341. (PrintWebUIDelegate::canUndo):
  15342. (PrintWebUIDelegate::canRedo):
  15343. (PrintWebUIDelegate::printFrame):
  15344. (PrintWebUIDelegate::ftpDirectoryTemplatePath):
  15345. (PrintWebUIDelegate::webViewHeaderHeight):
  15346. (PrintWebUIDelegate::webViewFooterHeight):
  15347. (PrintWebUIDelegate::drawHeaderInRect):
  15348. (PrintWebUIDelegate::drawFooterInRect):
  15349. (PrintWebUIDelegate::canRunModal):
  15350. (PrintWebUIDelegate::createModalDialog):
  15351. (PrintWebUIDelegate::runModal):
  15352. (PrintWebUIDelegate::isMenuBarVisible):
  15353. (PrintWebUIDelegate::setMenuBarVisible):
  15354. (PrintWebUIDelegate::runDatabaseSizeLimitPrompt):
  15355. (PrintWebUIDelegate::paintCustomScrollbar):
  15356. (PrintWebUIDelegate::paintCustomScrollCorner):
  15357. * WinLauncher/WinLauncher.cpp: Add new UI delegate for print support.
  15358. (WinLauncherWebHost::updateAddressBar): check-webkit-style fixes.
  15359. (WinLauncherWebHost::QueryInterface): check-webkit-style fixes.
  15360. (WinLauncherWebHost::AddRef): check-webkit-style fixes.
  15361. (WinLauncherWebHost::Release): check-webkit-style fixes.
  15362. (resizeSubViews): check-webkit-style fixes.
  15363. (_tWinMain): check-webkit-style fixes.
  15364. (MyRegisterClass): check-webkit-style fixes.
  15365. (InitInstance): check-webkit-style fixes.
  15366. (AbortProc): New print support function.
  15367. (getPrinterDC): New print support function.
  15368. (initDocStruct): New print support function.
  15369. (PrintView): New printing implementation.
  15370. (WndProc): Add support for printing.
  15371. (MyEditProc): check-webkit-style fixes.
  15372. (About): check-webkit-style fixes.
  15373. (loadURL): check-webkit-style fixes.
  15374. * WinLauncher/WinLauncher.h:
  15375. (WinLauncherWebHost::WinLauncherWebHost):
  15376. (WinLauncherWebHost::didStartProvisionalLoadForFrame):
  15377. (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
  15378. (WinLauncherWebHost::didFailProvisionalLoadWithError):
  15379. (WinLauncherWebHost::didCommitLoadForFrame):
  15380. (WinLauncherWebHost::didReceiveTitle):
  15381. (WinLauncherWebHost::didReceiveIcon):
  15382. (WinLauncherWebHost::didFinishLoadForFrame):
  15383. (WinLauncherWebHost::didFailLoadWithError):
  15384. (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
  15385. (WinLauncherWebHost::willPerformClientRedirectToURL):
  15386. (WinLauncherWebHost::didCancelClientRedirectForFrame):
  15387. (WinLauncherWebHost::willCloseFrame):
  15388. (WinLauncherWebHost::windowScriptObjectAvailable):
  15389. * WinLauncher/WinLauncher.rc: Add menu entry for printing.
  15390. * WinLauncher/WinLauncher.vcproj: Add new files.
  15391. * WinLauncher/resource.h: Add menu entry for printing.
  15392. 2009-12-19 Adam Barth <abarth@webkit.org>
  15393. Unreviewed. Tweak the CSS to make the dashboard prettier.
  15394. * QueueStatusServer/stylesheets/dashboard.css:
  15395. * QueueStatusServer/templates/dashboard.html:
  15396. 2009-12-19 Adam Barth <abarth@webkit.org>
  15397. Reviewed by Eric Seidel.
  15398. QueueStatusServer needs a human readable dashboard
  15399. https://bugs.webkit.org/show_bug.cgi?id=32769
  15400. Here is a first cut at the dashboard. There's a lot left to do.
  15401. * QueueStatusServer/filters/webkit_extras.py:
  15402. * QueueStatusServer/handlers/dashboard.py: Added.
  15403. * QueueStatusServer/handlers/patchstatus.py:
  15404. * QueueStatusServer/handlers/recentstatus.py:
  15405. * QueueStatusServer/handlers/showresults.py:
  15406. * QueueStatusServer/handlers/statusbubble.py:
  15407. * QueueStatusServer/handlers/updatestatus.py:
  15408. * QueueStatusServer/main.py:
  15409. * QueueStatusServer/model/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py.
  15410. * QueueStatusServer/model/queuestatus.py: Renamed from WebKitTools/QueueStatusServer/model.py.
  15411. * QueueStatusServer/stylesheets/dashboard.css: Added.
  15412. * QueueStatusServer/templates/dashboard.html: Added.
  15413. * QueueStatusServer/templates/statusbubble.html: Renamed from WebKitTools/QueueStatusServer/status_bubble.html.
  15414. * QueueStatusServer/templates/updatestatus.html: Renamed from WebKitTools/QueueStatusServer/update_status.html.
  15415. 2009-12-19 Daniel Bates <dbates@webkit.org>
  15416. Reviewed by Timothy Hatcher.
  15417. https://bugs.webkit.org/show_bug.cgi?id=32462
  15418. Added --inspector-frontend flag to build-webkit to copy any changes
  15419. to the inspector front-end files to the built WebCore framework. This
  15420. will make inspector development more consistent with the rest of
  15421. WebKit development.
  15422. * Scripts/build-webkit:
  15423. * Scripts/webkitdirs.pm:
  15424. 2009-12-19 Adam Barth <abarth@webkit.org>
  15425. Unreviewed fixes for me being terrible at python.
  15426. * Scripts/modules/bugzilla.py:
  15427. * Scripts/run-webkit-unittests:
  15428. 2009-12-18 Adam Barth <abarth@webkit.org>
  15429. Reviewed by Eric Seidel.
  15430. Split QueueStatus server into modules
  15431. https://bugs.webkit.org/show_bug.cgi?id=32768
  15432. One monolithic file is no good.
  15433. * QueueStatusServer/app.yaml:
  15434. * QueueStatusServer/handlers/__init__.py: Copied from WebKitTools/QueueStatusServer/filters/__init__.py.
  15435. * QueueStatusServer/handlers/patchstatus.py: Added.
  15436. * QueueStatusServer/handlers/recentstatus.py: Added.
  15437. * QueueStatusServer/handlers/showresults.py: Added.
  15438. * QueueStatusServer/handlers/statusbubble.py: Added.
  15439. * QueueStatusServer/handlers/updatestatus.py: Added.
  15440. * QueueStatusServer/main.py: Added.
  15441. * QueueStatusServer/model.py: Added.
  15442. * QueueStatusServer/queue_status.py: Removed.
  15443. 2009-12-18 Adam Barth <abarth@webkit.org>
  15444. Rubber stamped by Eric Seidel.
  15445. Renamed WorkQueue to QueueEngine. WorkQueue is not a queue.
  15446. * Scripts/modules/commands/queues.py:
  15447. * Scripts/modules/queueengine.py: Added.
  15448. * Scripts/modules/queueengine_unittest.py: Added.
  15449. * Scripts/modules/stepsequence.py:
  15450. * Scripts/modules/workqueue.py: Removed.
  15451. * Scripts/modules/workqueue_unittest.py: Removed.
  15452. 2009-12-18 Adam Barth <abarth@webkit.org>
  15453. Reviewed by Eric Seidel.
  15454. Add watches for EWS
  15455. https://bugs.webkit.org/show_bug.cgi?id=32767
  15456. dglazkov wanted to be added.
  15457. * Scripts/modules/bugzilla.py:
  15458. * Scripts/modules/commands/early_warning_system.py:
  15459. * Scripts/modules/commands/queues.py:
  15460. 2009-12-18 Eric Seidel <eric@webkit.org>
  15461. Reviewed by David Levin.
  15462. move bugzilla.py off of urllib2
  15463. https://bugs.webkit.org/show_bug.cgi?id=32729
  15464. * Scripts/modules/bugzilla.py: use mechanize for all url fetching.
  15465. 2009-12-18 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  15466. Rubber-stamped by Xan Lopez.
  15467. [GTK] New events (pageshow and pagehide) tests failing
  15468. https://bugs.webkit.org/show_bug.cgi?id=28823
  15469. Original patch by Jan Michael Alonzo.
  15470. Disable page cache for tests.
  15471. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  15472. (resetDefaultsToConsistentValues):
  15473. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  15474. (copyWebSettingKey):
  15475. (LayoutTestController::overridePreference):
  15476. 2009-12-18 Fumitoshi Ukai <ukai@chromium.org>
  15477. Reviewed by David Levin.
  15478. Check one space before end of line comments.
  15479. https://bugs.webkit.org/show_bug.cgi?id=32597
  15480. Fix to check one space before end of line comments in whitespace and build/header_guard.
  15481. Also fix build/header_guard to use WebKit header guard defines.
  15482. * Scripts/modules/cpp_style.py:
  15483. * Scripts/modules/cpp_style_unittest.py:
  15484. 2009-12-17 Sam Weinig <sam@webkit.org>
  15485. Reviewed by Mark Rowe.
  15486. Add BUILDING_ON_SNOW_LEOPARD #define.
  15487. * DumpRenderTree/mac/DumpRenderTreeMac.h:
  15488. 2009-12-17 Yuzo Fujishima <yuzo@google.com>
  15489. Reviewed by Alexey Proskuryakov.
  15490. Update pywebsocket to 0.4.5 and make handshake checking stricter
  15491. https://bugs.webkit.org/show_bug.cgi?id=32249
  15492. * Scripts/run-webkit-tests:
  15493. * pywebsocket/mod_pywebsocket/handshake.py:
  15494. * pywebsocket/mod_pywebsocket/memorizingfile.py: Added.
  15495. * pywebsocket/mod_pywebsocket/standalone.py:
  15496. * pywebsocket/setup.py:
  15497. * pywebsocket/test/test_handshake.py:
  15498. * pywebsocket/test/test_memorizingfile.py: Added.
  15499. 2009-12-17 Eric Seidel <eric@webkit.org>
  15500. Reviewed by Adam Barth.
  15501. Command.show_in_main_help should default to False
  15502. https://bugs.webkit.org/show_bug.cgi?id=32686
  15503. * Scripts/modules/commands/download.py:
  15504. * Scripts/modules/commands/queries.py:
  15505. * Scripts/modules/commands/queues.py:
  15506. * Scripts/modules/commands/upload.py:
  15507. * Scripts/modules/multicommandtool.py:
  15508. 2009-12-17 Alejandro G. Castro <alex@igalia.com>
  15509. Reviewed by Eric Seidel.
  15510. Added the key WebKitEnableCaretBrowsing to the
  15511. layoutTestController.overridePreference in order to activate caret
  15512. browsing.
  15513. https://bugs.webkit.org/show_bug.cgi?id=32612
  15514. * DumpRenderTree/gtk/DumpRenderTree.cpp: Added the reset value of
  15515. the setting.
  15516. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Inserted the new
  15517. key in the keytable.
  15518. 2009-12-17 Chris Fleizach <cfleizach@apple.com>
  15519. Reviewed by David Kilzer.
  15520. AX: DRT needs to support URL for accessibility
  15521. https://bugs.webkit.org/show_bug.cgi?id=32666
  15522. * DumpRenderTree/AccessibilityUIElement.cpp:
  15523. (getURLCallback):
  15524. (AccessibilityUIElement::getJSClass):
  15525. * DumpRenderTree/AccessibilityUIElement.h:
  15526. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  15527. (AccessibilityUIElement::url):
  15528. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  15529. (AccessibilityUIElement::url):
  15530. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  15531. (AccessibilityUIElement::url):
  15532. 2009-12-17 Philippe Normand <pnormand@igalia.com>
  15533. Unreviewed; added myself to committers
  15534. * Scripts/modules/committers.py:
  15535. 2009-12-17 Benjamin Otte <otte@gnome.org>
  15536. Unreviewed; added myself to committers
  15537. * Scripts/modules/committers.py:
  15538. 2009-12-17 Adam Barth <abarth@webkit.org>
  15539. Rubber stamp by Seidel.
  15540. Clean up exception handling in WorkQueue. Basically, a bunch of the
  15541. delegate messages can throw exceptions because of network errors. We
  15542. want the queues to keep on ticking instead of erroring out. That means
  15543. we want to catch generic exceptions and continue looping.
  15544. Also, cleaned up the exception handling in the EWS to properly log
  15545. failures.
  15546. * Scripts/modules/commands/early_warning_system.py:
  15547. * Scripts/modules/commands/queues.py:
  15548. * Scripts/modules/workqueue.py:
  15549. 2009-12-16 Adam Barth <abarth@webkit.org>
  15550. Reviewed by Eric Seidel.
  15551. [bzt] Make UpdateStep quiet
  15552. https://bugs.webkit.org/show_bug.cgi?id=32599
  15553. * Scripts/modules/buildsteps.py:
  15554. * Scripts/modules/buildsteps_unittest.py:
  15555. 2009-12-16 Evan Martin <evan@chromium.org>
  15556. Reviewed by Adam Barth.
  15557. Add Gtk to the early warning system WebKit port list.
  15558. https://bugs.webkit.org/show_bug.cgi?id=32629
  15559. * Scripts/modules/commands/early_warning_system.py:
  15560. * Scripts/modules/webkitport.py:
  15561. * Scripts/modules/webkitport_unittest.py:
  15562. 2009-12-16 Eric Seidel <eric@webkit.org>
  15563. Reviewed by Adam Barth.
  15564. post-diff is failing with exception under guess_reviewer_from_bug
  15565. https://bugs.webkit.org/show_bug.cgi?id=32642
  15566. Also refactor output capturing code into
  15567. OutputCapture.assert_outputs to share more code between tests.
  15568. * Scripts/modules/buildsteps.py:
  15569. - Add the missing include.
  15570. - Give guess_reviewer_from_bug a private underscore.
  15571. * Scripts/modules/buildsteps_unittest.py: Added.
  15572. - Test to make sure _guess_reviewer_from_bug works as expected.
  15573. * Scripts/modules/commands/commandtest.py:
  15574. - Custom code is now obsoleted by OutputCapture.assert_outputs
  15575. * Scripts/modules/commands/queues_unittest.py:
  15576. - ditto
  15577. * Scripts/modules/credentials_unittest.py:
  15578. - ditto
  15579. * Scripts/modules/mock_bugzillatool.py:
  15580. - fetch_reviewed_patches_from_bug can never return None
  15581. * Scripts/modules/multicommandtool_unittest.py:
  15582. - Custom code is now obsoleted by OutputCapture.assert_outputs
  15583. * Scripts/modules/outputcapture.py:
  15584. - Add assert_outputs to share more code between tests.
  15585. * Scripts/run-webkit-unittests:
  15586. - Add buildsteps_unittest.py
  15587. 2009-12-16 Adam Barth <abarth@webkit.org>
  15588. Unreviewed. Added a default argument to _update_status so that callers
  15589. don't have to explictly pass None when they don't have a patch object.
  15590. * Scripts/modules/commands/queues.py:
  15591. 2009-12-16 Kent Tamura <tkent@chromium.org>
  15592. Reviewed by David Levin.
  15593. check-webkit-style supports for TAB check against text files.
  15594. https://bugs.webkit.org/show_bug.cgi?id=32538
  15595. * Scripts/check-webkit-style:
  15596. Move process_patch() to style.py.
  15597. * Scripts/modules/cpp_style.py:
  15598. Add can_handle().
  15599. * Scripts/modules/cpp_style_unittest.py:
  15600. Add tests for can_handle().
  15601. * Scripts/modules/style.py:
  15602. Added. This is a front-end of cpp_style and text_style. It dispatches
  15603. files to an appropriate linter.
  15604. * Scripts/modules/text_style.py:
  15605. Added. This is a linter module for generic text files. It supports
  15606. only for TAB checking at this moment.
  15607. * Scripts/modules/text_style_unittest.py:
  15608. Added. Tests for text_style.py.
  15609. * Scripts/run-webkit-unittests:
  15610. Add text_style_unittest.
  15611. 2009-12-16 Eric Seidel <eric@webkit.org>
  15612. Reviewed by David Levin.
  15613. bugzilla-tool should not require users to install mechanize
  15614. https://bugs.webkit.org/show_bug.cgi?id=32635
  15615. Centralize our import logic.
  15616. * Scripts/modules/bugzilla.py: use webkit_mechanize
  15617. * Scripts/modules/statusbot.py: use webkit_mechanize
  15618. * Scripts/modules/webkit_mechanize.py: Added.
  15619. 2009-12-16 Eric Seidel <eric@webkit.org>
  15620. Reviewed by Adam Barth.
  15621. Generalize commit-queue recent status page for all queues
  15622. https://bugs.webkit.org/show_bug.cgi?id=32633
  15623. * QueueStatusServer/index.html:
  15624. - Generalize to support other queues.
  15625. * QueueStatusServer/queue_status.py:
  15626. - Generalize MainPage to support other queues.
  15627. 2009-12-16 Evan Martin <evan@chromium.org>
  15628. Reviewed by Adam Barth.
  15629. Early warning system server should display output as UTF-8.
  15630. https://bugs.webkit.org/show_bug.cgi?id=32625
  15631. * QueueStatusServer/queue_status.py:
  15632. 2009-12-16 Adam Barth <abarth@webkit.org>
  15633. Reviewed by Eric Seidel.
  15634. [bzt] Add error handling to the early warning system
  15635. https://bugs.webkit.org/show_bug.cgi?id=32594
  15636. This should be the last step in making the EWS operational. When we
  15637. have a build error, we post the log to QueueStatusServer and add a link
  15638. to the bug.
  15639. * Scripts/modules/commands/early_warning_system.py:
  15640. * Scripts/modules/commands/queues.py:
  15641. * Scripts/modules/executive.py:
  15642. 2009-12-16 Simon Hausmann <simon.hausmann@nokia.com>
  15643. Reviewed by Holger Freyther.
  15644. Fix crash with tests that use custom font faces.
  15645. https://bugs.webkit.org/show_bug.cgi?id=32600
  15646. In the DRT we call QApplication::removeAllApplicationFonts(), to make sure
  15647. that custom font faces between tests don't influence each other. Calling this
  15648. function in Qt however also invalidates all existing handles with QFontDatabase.
  15649. In order to make sure that WebCore also drops these handles we call QWebSettings::clearMemoryCaches(),
  15650. which implies a call to WebCore::FontCache::fontCache()->invalidate().
  15651. * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  15652. (WebCore::DumpRenderTree::open):
  15653. 2009-12-16 Andreas Kling <andreas.kling@nokia.com>
  15654. Reviewed by Simon Hausmann.
  15655. [Qt] Maintain button state between mouse events.
  15656. This allows eventSender to generate drag events.
  15657. https://bugs.webkit.org/show_bug.cgi?id=32601
  15658. * DumpRenderTree/qt/EventSenderQt.cpp:
  15659. (EventSender::mouseDown):
  15660. (EventSender::mouseUp):
  15661. (EventSender::mouseMoveTo):
  15662. * DumpRenderTree/qt/EventSenderQt.h:
  15663. 2009-12-15 Chris Jerdonek <chris.jerdonek@gmail.com>
  15664. Reviewed by David Levin.
  15665. Code clean-up in check-webkit-style as described below.
  15666. The only functional changes are minor improvements to the
  15667. script's help output.
  15668. https://bugs.webkit.org/show_bug.cgi?id=32487
  15669. * Scripts/check-webkit-style:
  15670. - Added the module docstring from cpp_style.py.
  15671. - Improved wording of the --help output and added some of the
  15672. default values as substitution strings.
  15673. - Called cpp_style.exit_with_usage instead of sys.stderr.write
  15674. in main function.
  15675. - Made changes caused by changes to cpp_style.py.
  15676. * Scripts/modules/cpp_style.py:
  15677. - Removed module docstring, as well as redundant _USAGE string
  15678. and main() function obsoleted by check-webkit-style.
  15679. - Moved specification of default script values from within a
  15680. function definition to global variables.
  15681. - Moved the default webkit filter rules to be near the other
  15682. global variables.
  15683. - Renamed "FILTER" global variables to "FILTER_RULES" to
  15684. establish unambiguous terminology.
  15685. - Renamed _ERROR_CATEGORIES to _STYLE_CATEGORIES.
  15686. - Changed _STYLE_CATEGORIES from a string to a list.
  15687. - Added default webkit filter rules to --filter= output.
  15688. - Renamed "print_" methods to "exit_with_" since they exist
  15689. and added a temporary display_help parameter.
  15690. - Added a temporary display_help parameter to parse_arguments.
  15691. * Scripts/modules/cpp_style_unittest.py:
  15692. - Made changes caused by changes to cpp_style.py.
  15693. - Lower-cased ErrorCollector's ERROR_CATEGORIES instance
  15694. variables since they are not global.
  15695. 2009-12-15 Adam Barth <abarth@webkit.org>
  15696. Unreviewed fix for the style-queue.
  15697. Typo: _updates_status -> _update_status
  15698. We need to improve our testing infrastructure for the queues.
  15699. * Scripts/modules/commands/queues.py:
  15700. 2009-12-15 Adam Barth <abarth@webkit.org>
  15701. Unreviewed fix for the style-queue. I suspect this is a recent
  15702. regression from Eric's change below.
  15703. * Scripts/modules/commands/queues.py:
  15704. 2009-12-15 Yaar Schnitman <yaar@chromium.org>
  15705. Reviewed by Darin Fisher.
  15706. update-webkit-chromium to auto-install gclient
  15707. https://bugs.webkit.org/show_bug.cgi?id=32587
  15708. * Scripts/update-webkit-chromium:
  15709. 2009-12-15 Eric Seidel <eric@webkit.org>
  15710. Reviewed by Adam Barth.
  15711. bugzilla-tool / commit-queue should add results links to bugs when more results are available on the status bot
  15712. https://bugs.webkit.org/show_bug.cgi?id=32546
  15713. You can see an example of this working in:
  15714. https://bugs.webkit.org/show_bug.cgi?id=32585#c3
  15715. * QueueStatusServer/queue_status.py:
  15716. - Output the id of the newly created status.
  15717. * Scripts/modules/commands/queues.py:
  15718. - Tweak the commit-queue logging to include a full status link.
  15719. * Scripts/modules/statusbot.py:
  15720. - update_status should return the newly created status id.
  15721. 2009-12-15 Andras Becsi <abecsi@inf.u-szeged.hu>
  15722. Reviewed by Tor Arne Vestbø.
  15723. [Qt] Rename Qt DRT components to match other ports' naming convention and to be more understandable.
  15724. * DumpRenderTree/qt/DumpRenderTree.cpp: Removed.
  15725. * DumpRenderTree/qt/DumpRenderTree.h: Removed.
  15726. * DumpRenderTree/qt/DumpRenderTree.pro: Updated.
  15727. * DumpRenderTree/qt/DumpRenderTreeQt.cpp: Copied from WebKitTools/DumpRenderTree/qt/DumpRenderTree.cpp.
  15728. * DumpRenderTree/qt/DumpRenderTreeQt.h: Copied from WebKitTools/DumpRenderTree/qt/DumpRenderTree.h.
  15729. * DumpRenderTree/qt/GCControllerQt.cpp: Copied from WebKitTools/DumpRenderTree/qt/jsobjects.cpp.
  15730. (GCController::GCController):
  15731. * DumpRenderTree/qt/GCControllerQt.h: Copied from WebKitTools/DumpRenderTree/qt/jsobjects.h.
  15732. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  15733. * DumpRenderTree/qt/WorkQueueItem.h: Removed.
  15734. * DumpRenderTree/qt/WorkQueueItemQt.cpp: Updated includes.
  15735. * DumpRenderTree/qt/WorkQueueItemQt.h: Copied from WebKitTools/DumpRenderTree/qt/WorkQueueItem.h.
  15736. * DumpRenderTree/qt/jsobjects.cpp: Removed.
  15737. * DumpRenderTree/qt/jsobjects.h: Removed.
  15738. * DumpRenderTree/qt/main.cpp: Updated includes.
  15739. 2009-12-15 Adam Barth <abarth@webkit.org>
  15740. Reviewed by Eric Seidel.
  15741. We have two mark-fixed commands
  15742. https://bugs.webkit.org/show_bug.cgi?id=32073
  15743. * Scripts/mark-bug-fixed: Removed.
  15744. * Scripts/modules/commands/upload.py:
  15745. * Scripts/modules/commands/upload_unittest.py:
  15746. 2009-12-15 Eric Seidel <eric@webkit.org>
  15747. Reviewed by Adam Barth.
  15748. bugzilla-tool/commit-queue needs to upload failure logs when patches are rejected
  15749. https://bugs.webkit.org/show_bug.cgi?id=28286
  15750. * QueueStatusServer/index.html:
  15751. - Show [results] links if a results log was uploaded.
  15752. * QueueStatusServer/queue_status.py:
  15753. - Empty file uploads appear as u"" and Blob does not handle unicode, so convert to str().
  15754. * Scripts/modules/commands/queues.py:
  15755. - Post to the status bot when a patch fails and include the failure log as a results file.
  15756. 2009-12-15 Eric Seidel <eric@webkit.org>
  15757. Reviewed by Adam Barth.
  15758. queue sub-commands need --status-host so they can report status
  15759. https://bugs.webkit.org/show_bug.cgi?id=32313
  15760. Make --status-bot a global option and make
  15761. run_bugzilla_tool pass --status-bot to sub-commands.
  15762. * Scripts/bugzilla-tool:
  15763. - Rename _status to status_bot and make it non-lazy.
  15764. * Scripts/modules/commands/queues.py:
  15765. - Move status updates out of WorkQueue and into individual queues.
  15766. * Scripts/modules/commands/queues_unittest.py:
  15767. - Test that --status-host is passed to bugzilla-tool when run as subcommand.
  15768. * Scripts/modules/mock_bugzillatool.py:
  15769. - Add a MockStatusBot
  15770. * Scripts/modules/workqueue.py:
  15771. - Remove status_host and work_work_logs_directory callbacks.
  15772. - Add new work_item_log_path callback so that WorkQueue doesn't need to know about patches!
  15773. * Scripts/modules/workqueue_unittest.py:
  15774. - Update unit tests to reflect new callbacks.
  15775. 2009-12-15 Adam Barth <abarth@webkit.org>
  15776. Reviewed by Eric Seidel.
  15777. scm_unittest.py is too slow
  15778. https://bugs.webkit.org/show_bug.cgi?id=31818
  15779. Now we don't run the SCM unit tests unless we get the --all flag on the
  15780. command line. Eric and I were commenting out this test because it was
  15781. too painful to run.
  15782. * Scripts/run-webkit-unittests:
  15783. 2009-12-14 Adam Barth <abarth@webkit.org>
  15784. Unreviewed. Fix failing unittest.
  15785. * Scripts/modules/bugzilla_unittest.py:
  15786. 2009-12-14 Eric Seidel <eric@webkit.org>
  15787. Reviewed by Adam Barth.
  15788. Move Credential handling out into a separate module
  15789. https://bugs.webkit.org/show_bug.cgi?id=32531
  15790. * Scripts/modules/bugzilla.py:
  15791. * Scripts/modules/credentials.py: Added.
  15792. * Scripts/modules/credentials_unittest.py: Added.
  15793. * Scripts/run-webkit-unittests:
  15794. 2009-12-14 Adam Barth <abarth@webkit.org>
  15795. Reviewed by Eric Seidel.
  15796. Kill _create_step_sequence
  15797. https://bugs.webkit.org/show_bug.cgi?id=32539
  15798. It's cleaner to represent not having these sequences as an empty
  15799. sequence instead of None.
  15800. * Scripts/modules/commands/download.py:
  15801. * Scripts/modules/stepsequence.py:
  15802. 2009-12-14 Adam Barth <abarth@webkit.org>
  15803. Unreviewed. Address reviewer comments from an earlier patch. I didn't
  15804. do this earlier because I was worried about conflicts in dependent
  15805. patches.
  15806. * Scripts/modules/commands/download.py:
  15807. 2009-12-14 Adam Barth <abarth@webkit.org>
  15808. Reviewed by Eric Seidel.
  15809. [bzt] Make download commands declarative
  15810. https://bugs.webkit.org/show_bug.cgi?id=32469
  15811. This patch "properly" factors most of the download commands. These
  15812. commands are now largely declarative, which is the final step of this
  15813. grand refactoring.
  15814. * Scripts/modules/buildsteps.py:
  15815. * Scripts/modules/commands/download.py:
  15816. 2009-12-14 Adam Barth <abarth@webkit.org>
  15817. Reviewed by Eric Seidel.
  15818. [bzt] Add AbstractPatchSequencingCommand to remove redundant code
  15819. https://bugs.webkit.org/show_bug.cgi?id=32468
  15820. Redundant code is bad. This patch moves us towards more declarative
  15821. commands.
  15822. * Scripts/modules/commands/download.py:
  15823. 2009-12-14 Adam Barth <abarth@webkit.org>
  15824. Reviewed by Eric Seidel.
  15825. [bzt] Kill WebKitApplyingScripts
  15826. https://bugs.webkit.org/show_bug.cgi?id=32467
  15827. Ah! I've been wanting to do this for a long time. This patch brings
  15828. the applying commands into the patch processing fold.
  15829. * Scripts/bugzilla-tool:
  15830. * Scripts/modules/buildsteps.py:
  15831. * Scripts/modules/commands/download.py:
  15832. * Scripts/modules/commands/download_unittest.py:
  15833. * Scripts/modules/mock_bugzillatool.py:
  15834. 2009-12-14 Adam Barth <abarth@webkit.org>
  15835. Reviewed by Eric Seidel.
  15836. [bzt] Convert rollout to StepSequence
  15837. https://bugs.webkit.org/show_bug.cgi?id=32406
  15838. * Scripts/modules/buildsteps.py:
  15839. * Scripts/modules/commands/download.py:
  15840. * Scripts/modules/commands/download_unittest.py:
  15841. * Scripts/modules/mock_bugzillatool.py:
  15842. 2009-12-14 Adam Barth <abarth@webkit.org>
  15843. Reviewed by Eric Seidel.
  15844. [bzt] Kill LandingSequence
  15845. https://bugs.webkit.org/show_bug.cgi?id=32464
  15846. Removes LandingSequence in favor of StepSequence. This required
  15847. changing the Step API slightly to carry a general notion of state
  15848. instead of carrying patches specifically.
  15849. * Scripts/modules/buildsteps.py:
  15850. * Scripts/modules/commands/download.py:
  15851. * Scripts/modules/commands/queues.py:
  15852. * Scripts/modules/landingsequence.py: Removed.
  15853. * Scripts/modules/stepsequence.py:
  15854. 2009-12-14 Robert Hogan <robert@roberthogan.net>
  15855. Reviewed by Eric Seidel.
  15856. [Qt] Fix https://bugs.webkit.org/show_bug.cgi?id=32437
  15857. Amend the behaviour of DRT::notifyDone to dump only when
  15858. the page has finished loading.
  15859. This fix permits removal of the following tests from the Qt skipped list:
  15860. fast/forms/textarea-linewrap-dynamic.html
  15861. fast/forms/textarea-setvalue-submit.html
  15862. fast/forms/textarea-hard-linewrap-empty.html
  15863. fast/forms/submit-to-url-fragment.html
  15864. http/tests/misc/percent-sign-in-form-field-name.html
  15865. http/tests/security/escape-form-data-field-names.html
  15866. However it also requires the following two to be added to the skipped list:
  15867. http/tests/xmlhttprequest/access-control-basic-denied-preflight-cache.html
  15868. svg/custom/use-instanceRoot-as-event-target.xhtml
  15869. It appears the behaviour of notifyDone was masking problems with these two
  15870. tests.
  15871. * DumpRenderTree/qt/DumpRenderTree.cpp:
  15872. (WebCore::DumpRenderTree::DumpRenderTree):
  15873. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  15874. (LayoutTestController::reset):
  15875. (LayoutTestController::processWork):
  15876. (LayoutTestController::maybeDump):
  15877. (LayoutTestController::notifyDone):
  15878. (LayoutTestController::provisionalLoad):
  15879. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  15880. (LayoutTestController::resetLoadFinished):
  15881. 2009-12-14 Simon Hausmann <hausmann@webkit.org>
  15882. Reviewed by Holger Freyther.
  15883. [Qt] Add support for keyboard modifiers to Qt DRT's EventSender for touch events
  15884. https://bugs.webkit.org/show_bug.cgi?id=32482
  15885. * DumpRenderTree/qt/EventSenderQt.cpp:
  15886. (EventSender::setTouchModifier):
  15887. (EventSender::clearTouchPoints):
  15888. (EventSender::sendTouchEvent):
  15889. * DumpRenderTree/qt/EventSenderQt.h:
  15890. 2009-12-13 Maciej Stachowiak <mjs@apple.com>
  15891. Reviewed by Gavin Barraclaugh.
  15892. Fix minor problem in sunspider-compare-results which left it broken.
  15893. * Scripts/sunspider-compare-results: Declare $parseonly
  15894. 2009-12-12 Maciej Stachowiak <mjs@apple.com>
  15895. Reviewed by Oliver Hunt.
  15896. Give command-line sunspider the ability to handle multiple suites and versions
  15897. https://bugs.webkit.org/show_bug.cgi?id=32477
  15898. * Scripts/run-sunspider: Updated for changes to command-line parameters.
  15899. * Scripts/sunspider-compare-results: ditto
  15900. 2009-12-12 Maciej Stachowiak <mjs@apple.com>
  15901. Not reviewed, fixing previous comment.
  15902. Remove accidental change to sunspider-compare-results
  15903. * Scripts/sunspider-compare-results:
  15904. 2009-12-11 Yael Aharon <yael.aharon@nokia.com>
  15905. Unreviewed build fix for Qt versions < 4.6.
  15906. Guard every slot individually with #ifdef.
  15907. * DumpRenderTree/qt/EventSenderQt.cpp:
  15908. (EventSender::addTouchPoint):
  15909. (EventSender::updateTouchPoint):
  15910. (EventSender::touchStart):
  15911. (EventSender::touchMove):
  15912. (EventSender::touchEnd):
  15913. (EventSender::clearTouchPoints):
  15914. (EventSender::releaseTouchPoint):
  15915. (EventSender::sendTouchEvent):
  15916. * DumpRenderTree/qt/EventSenderQt.h:
  15917. 2009-12-11 Eric Seidel <eric@webkit.org>
  15918. Reviewed by Adam Barth.
  15919. CommandsTest.assert_execute_outputs doesn't check stderr
  15920. https://bugs.webkit.org/show_bug.cgi?id=32352
  15921. Fix assert_execute_outputs to check stderr
  15922. and then fix all the unit tests which needed to
  15923. pass stderr output.
  15924. * Scripts/modules/commands/commandtest.py:
  15925. * Scripts/modules/commands/download_unittest.py:
  15926. * Scripts/modules/commands/upload_unittest.py:
  15927. 2009-12-11 Adam Barth <abarth@webkit.org>
  15928. Reviewed by Eric Seidel.
  15929. [check-webkit-style] False positive for tst_QWebFrame
  15930. https://bugs.webkit.org/show_bug.cgi?id=32436
  15931. Add an exception for function names that start with "tst_". These are
  15932. used by the Qt unit testing framework.
  15933. * Scripts/modules/cpp_style.py:
  15934. * Scripts/modules/cpp_style_unittest.py:
  15935. 2009-12-11 Simon Hausmann <hausmann@webkit.org>, Kim Grönholm <kim.gronholm@nomovok.com>
  15936. Reviewed by Antti Koivisto.
  15937. Added support for creating synthetic touch events with EventSender
  15938. in Qt's DumpRenderTree.
  15939. https://bugs.webkit.org/show_bug.cgi?id=32114
  15940. * DumpRenderTree/qt/EventSenderQt.cpp:
  15941. (EventSender::addTouchPoint):
  15942. (EventSender::updateTouchPoint):
  15943. (EventSender::touchStart):
  15944. (EventSender::touchMove):
  15945. (EventSender::touchEnd):
  15946. (EventSender::clearTouchPoints):
  15947. (EventSender::releaseTouchPoint):
  15948. (EventSender::sendTouchEvent):
  15949. * DumpRenderTree/qt/EventSenderQt.h:
  15950. 2009-12-11 Benjamin Poulain <benjamin.poulain@nokia.com>
  15951. Reviewed by Darin Adler.
  15952. The values of RuntimeArray are not enumerable
  15953. https://bugs.webkit.org/show_bug.cgi?id=29005
  15954. * DumpRenderTree/mac/ObjCController.m:
  15955. (+[ObjCController isSelectorExcludedFromWebScript:]):
  15956. (+[ObjCController webScriptNameForSelector:]):
  15957. (-[ObjCController arrayOfString]):
  15958. 2009-12-10 Eric Seidel <eric@webkit.org>
  15959. No review, just updating unit tests to match recent checkins.
  15960. * Scripts/modules/mock_bugzillatool.py:
  15961. - Add missing red_core_builders_names method causing exception.
  15962. * Scripts/modules/workqueue_unittest.py:
  15963. - processutils is dead, use executive.py instead.
  15964. 2009-12-10 Eric Seidel <eric@webkit.org>
  15965. Reviewed by Adam Barth.
  15966. Move run_command onto Executive to make code which uses run_command testable
  15967. https://bugs.webkit.org/show_bug.cgi?id=32396
  15968. * Scripts/modules/executive.py:
  15969. - Move run_command and error handlers onto Executive.
  15970. * Scripts/modules/scm.py:
  15971. * Scripts/modules/scm_unittest.py:
  15972. 2009-12-09 Eric Seidel <eric@webkit.org>
  15973. Reviewed by Adam Barth.
  15974. bugzilla-tool needs a command to list patches needing cq+
  15975. https://bugs.webkit.org/show_bug.cgi?id=32351
  15976. * Scripts/modules/bugzilla.py:
  15977. - Parse attacher_email from attachment xml.
  15978. * Scripts/modules/bugzilla_unittest.py:
  15979. - Test new attacher_email parsing.
  15980. * Scripts/modules/commands/queries.py:
  15981. - Add PatchesToCommitQueue
  15982. * Scripts/modules/commands/queries_unittest.py:
  15983. - Tests for PatchesToCommitQueue
  15984. * Scripts/modules/mock_bugzillatool.py:
  15985. - Add necessary mock methods for running PatchesToCommitQueue
  15986. 2009-12-10 Adam Barth <abarth@webkit.org>
  15987. Unreviewed. Turns out every StepSequence command needs a --quiet
  15988. option.
  15989. * Scripts/modules/stepsequence.py:
  15990. 2009-12-10 Eric Z. Ayers <zundel@google.com>
  15991. Reviewed by Pavel Feldman.
  15992. Implements displayWebView() to force an invalidation and repaint.
  15993. This fixes a problem running the timeline-paint.html unit test.
  15994. https://bugs.webkit.org/show_bug.cgi?id=31729
  15995. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  15996. (displayWebView):
  15997. 2009-12-10 Adam Barth <abarth@webkit.org>
  15998. Reviewed by Eric Seidel.
  15999. [bzt] Convert more commands to StepSequences
  16000. https://bugs.webkit.org/show_bug.cgi?id=32362
  16001. We should eventually convert all the commands, but I'm starting with
  16002. the easy ones.
  16003. * Scripts/modules/commands/download.py:
  16004. 2009-12-10 Xan Lopez <xlopez@igalia.com>
  16005. Reviewed by Jan Alonzo.
  16006. [GTK] editing/selection/shrink-selection-after-shift-pagedown.html failing
  16007. https://bugs.webkit.org/show_bug.cgi?id=31103
  16008. Give focus to the webviews when we create them, since some tests expect this.
  16009. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  16010. (main):
  16011. 2009-12-10 Eric Seidel <eric@webkit.org>
  16012. Reviewed by Adam Barth.
  16013. bugzilla-tool "builders are red" error should tell you which builders
  16014. https://bugs.webkit.org/show_bug.cgi?id=32211
  16015. * Scripts/modules/buildsteps.py:
  16016. 2009-12-09 Marwan Al Jubeh <marwan.aljubeh@gmail.com>
  16017. Reviewed by Adam Roben.
  16018. Fixes: https://bugs.webkit.org/show_bug.cgi?id=31228
  16019. Set the WebKitOutputDir, WebKitLibrariesDir and Cygwin environment variables automatically
  16020. in Windows as part of running update_webkit.
  16021. * Scripts/update-webkit:
  16022. - Run setupAppleWinEnv() on Apple's Windows port.
  16023. * Scripts/webkitdirs.pm:
  16024. - Added functions that return the source directory, libraries directory and default build directory on Windows.
  16025. - Added isWindowsNT() which tests if the current Windows version is from the Windows NT family.
  16026. - Implemented setupAppleWinEnv() which sets the environment variables WebKitOutputDir, WebKitLibrariesDir
  16027. and Cygwin to their desired values.
  16028. 2009-12-09 Adam Barth <abarth@webkit.org>
  16029. Reviewed by Eric Seidel.
  16030. exception thrown when running apply-patches
  16031. https://bugs.webkit.org/show_bug.cgi?id=32344
  16032. The update step now takes a port option. Once we finish the Steps
  16033. refactoring, we won't have to worry about this kind of bug again.
  16034. * Scripts/modules/commands/download.py:
  16035. 2009-12-09 Adam Barth <abarth@webkit.org>
  16036. Unreviewed. Fix ScriptError includes. I don't understand why these
  16037. didn't throw during unit testing...
  16038. * Scripts/modules/commands/download.py:
  16039. * Scripts/modules/logging_unittest.py:
  16040. * Scripts/modules/workqueue.py:
  16041. 2009-12-09 Adam Barth <abarth@webkit.org>
  16042. Reviewed by Eric Seidel.
  16043. [bzt] Remove unused PatchCollection class
  16044. https://bugs.webkit.org/show_bug.cgi?id=32312
  16045. It's dead code.
  16046. * Scripts/modules/patchcollection.py:
  16047. * Scripts/modules/patchcollection_unittest.py: Removed.
  16048. 2009-12-09 Adam Barth <abarth@webkit.org>
  16049. Unreviewed "build" fix. CheckStyle needs a --no-upate option.
  16050. * Scripts/modules/commands/download.py:
  16051. 2009-12-09 Adam Barth <abarth@webkit.org>
  16052. Reviewed by Eric Seidel.
  16053. [bzt] Convert Build to use Sequence
  16054. https://bugs.webkit.org/show_bug.cgi?id=32310
  16055. So much prettier.
  16056. * Scripts/modules/buildsteps.py:
  16057. * Scripts/modules/commands/download.py:
  16058. * Scripts/modules/landingsequence.py:
  16059. * Scripts/modules/stepsequence.py: Added.
  16060. 2009-12-09 Adam Barth <abarth@webkit.org>
  16061. Add missing file.
  16062. * Scripts/modules/executive.py: Added.
  16063. 2009-12-09 Adam Barth <abarth@webkit.org>
  16064. Unreviewed "build" fix.
  16065. * Scripts/modules/landingsequence.py:
  16066. 2009-12-09 Adam Barth <abarth@webkit.org>
  16067. Reviewed by Eric Seidel.
  16068. [bzt] Implement abstract Steps
  16069. https://bugs.webkit.org/show_bug.cgi?id=32212
  16070. This is a fairly disruptive change that refactors how we build
  16071. commands. Instead of using a landing sequence, we can now assemble a
  16072. sequence of steps directly. We still use the landing sequence in the
  16073. interim, but this will be removed soon.
  16074. * Scripts/bugzilla-tool:
  16075. * Scripts/modules/buildsteps.py:
  16076. * Scripts/modules/commands/download.py:
  16077. * Scripts/modules/commands/early_warning_system.py:
  16078. * Scripts/modules/commands/queues.py:
  16079. * Scripts/modules/commands/queues_unittest.py:
  16080. * Scripts/modules/landingsequence.py:
  16081. * Scripts/modules/mock_bugzillatool.py:
  16082. * Scripts/modules/processutils.py: Removed.
  16083. * Scripts/modules/scm.py:
  16084. * Scripts/modules/scm_unittest.py:
  16085. * Scripts/modules/webkitport.py:
  16086. 2009-12-08 Eric Seidel <eric@webkit.org>
  16087. Reviewed by Adam Barth.
  16088. run_command and ScriptError should move into processutils.py
  16089. https://bugs.webkit.org/show_bug.cgi?id=32305
  16090. Turns out there are a zillion callers to run_command.
  16091. * Scripts/modules/commands/download.py:
  16092. * Scripts/modules/commands/early_warning_system.py:
  16093. * Scripts/modules/commands/queues.py:
  16094. * Scripts/modules/landingsequence.py:
  16095. * Scripts/modules/logging_unittest.py:
  16096. * Scripts/modules/processutils.py:
  16097. * Scripts/modules/scm.py:
  16098. * Scripts/modules/scm_unittest.py:
  16099. * Scripts/modules/workqueue.py:
  16100. * Scripts/modules/workqueue_unittest.py:
  16101. 2009-12-08 Kevin Watters <kevinwatters@gmail.com>
  16102. Reviewed by Kevin Ollivier.
  16103. [wx] Mac plugins support.
  16104. https://bugs.webkit.org/show_bug.cgi?id=32236
  16105. * wx/browser/wscript:
  16106. 2009-12-08 David Levin <levin@chromium.org>
  16107. Reviewed by Adam Barth.
  16108. [check-webkit-style] False positive for DEFINE_OPCODE(op_jtrue) {
  16109. https://bugs.webkit.org/show_bug.cgi?id=32193
  16110. * Scripts/modules/cpp_style.py: For the function { rule, if there is space
  16111. at the beginning of line, ignore lines which then have a macro.
  16112. * Scripts/modules/cpp_style_unittest.py: Add tests to verify the
  16113. new behavior.
  16114. 2009-12-08 Dmitry Titov <dimich@chromium.org>
  16115. Rubber-stamped by David Levin.
  16116. Revert and reopen "Add asserts to RefCounted to make sure ref/deref happens on the right thread."
  16117. It may have caused massive increase of reported leaks on the bots.
  16118. https://bugs.webkit.org/show_bug.cgi?id=31639
  16119. * DumpRenderTree/ForwardingHeaders/wtf/ThreadVerifier.h: Removed.
  16120. 2009-12-08 Dmitry Titov <dimich@chromium.org>
  16121. Reviewed by Darin Adler.
  16122. Add asserts to RefCounted to make sure ref/deref happens on the right thread.
  16123. https://bugs.webkit.org/show_bug.cgi?id=31639
  16124. * DumpRenderTree/ForwardingHeaders/wtf/ThreadVerifier.h: Added.
  16125. 2009-12-08 David Levin <levin@chromium.org>
  16126. Reviewed by Adam Barth.
  16127. [check-webkit-style] False positive for camel case of JSC op codes
  16128. https://bugs.webkit.org/show_bug.cgi?id=32192
  16129. * Scripts/modules/cpp_style.py: Added an exception for the JSC op
  16130. code functions and const_iterator as well since I noticed a false
  16131. positive there when testing the fix.
  16132. * Scripts/modules/cpp_style_unittest.py: Added tests for these
  16133. changes.
  16134. 2009-12-08 Nikolas Zimmermann <nzimmermann@rim.com>
  16135. Rubber-stamped by Maciej Stachowiak.
  16136. Turn on (SVG) Filters for Win.
  16137. https://bugs.webkit.org/show_bug.cgi?id=32224
  16138. * Scripts/webkitdirs.pm:
  16139. 2009-12-08 Nikolas Zimmermann <nzimmermann@rim.com>
  16140. Rubber-stamped by Maciej Stachowiak.
  16141. Turn on (SVG) Filters for Gtk.
  16142. https://bugs.webkit.org/show_bug.cgi?id=32224
  16143. * Scripts/build-webkit:
  16144. 2009-12-07 Shinichiro Hamaji <hamaji@chromium.org>
  16145. Reviewed by David Levin.
  16146. [check-webkit-style] S_OK is a fine identifier
  16147. https://bugs.webkit.org/show_bug.cgi?id=32225
  16148. * Scripts/modules/cpp_style.py:
  16149. * Scripts/modules/cpp_style_unittest.py:
  16150. 2009-12-07 Nikolas Zimmermann <nzimmermann@rim.com>
  16151. Rubber-stamped by Maciej Stachowiak.
  16152. Turn on (SVG) Filters for Qt.
  16153. https://bugs.webkit.org/show_bug.cgi?id=32224
  16154. * Scripts/build-webkit:
  16155. 2009-12-07 Yuzo Fujishima <yuzo@google.com>
  16156. Reviewed by Alexey Proskuryakov.
  16157. Make run-webkit-websocketserver log to stderr rather than to a file.
  16158. https://bugs.webkit.org/show_bug.cgi?id=32234
  16159. * Scripts/run-webkit-websocketserver:
  16160. 2009-12-07 Dmitry Titov <dimich@chromium.org>
  16161. Rubber-stamped by Darin Adler.
  16162. Remove ENABLE_SHARED_SCRIPT flags
  16163. https://bugs.webkit.org/show_bug.cgi?id=32245
  16164. This patch was obtained by "git revert" command and then un-reverting of ChangeLog files.
  16165. * Scripts/build-webkit:
  16166. 2009-12-07 Simon Fraser <simon.fraser@apple.com>
  16167. Reviewed by Darin Adler.
  16168. <rdar://problem/7450481> One compositing test keeps DRT in "compositing mode", breaks repaint tests
  16169. The counter that WebView used to keep track of the number of enclosed WebHTMLViews using
  16170. accelerated compositing was hard to manage, and maintained incorrectly in a number of cases.
  16171. This caused one compositing test make DumpRenderTree think that all subsequent tests
  16172. were compositing too.
  16173. Replace this counter with notifications, which are only fired if a client (DRT) requests them. The
  16174. notification informs the client that a WebHTMLView entered compositing mode (or an already-
  16175. compositing WebHTML was added); it does not say when a view becomes uncomposited, or all
  16176. compositing subviews were removed, since this is tricky to get right.
  16177. DumpRenderTreeWindow listens for this notification, and uses it to turn on window
  16178. autodisplay, which is necessary to kick-start Core Animation rendering and animations.
  16179. We ensure that window autodisplay is turned off before every test.
  16180. * DumpRenderTree/mac/DumpRenderTree.mm:
  16181. (createWebViewAndOffscreenWindow):
  16182. (resetWebViewToConsistentStateBeforeTesting):
  16183. * DumpRenderTree/mac/DumpRenderTreeWindow.h:
  16184. * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
  16185. (-[DumpRenderTreeWindow close]):
  16186. (-[DumpRenderTreeWindow startListeningForAcceleratedCompositingChanges]):
  16187. (-[DumpRenderTreeWindow webViewStartedAcceleratedCompositing:]):
  16188. 2009-12-07 Nikolas Zimmermann <nzimmermann@rim.com>
  16189. Reviewed by Holger Hans Peter Freyther.
  16190. Turn on (SVG) Filters support, by default.
  16191. https://bugs.webkit.org/show_bug.cgi?id=32224
  16192. For now only enable FILTERS build flag on WebKit/mac. Other platforms will follow soon.
  16193. * Scripts/build-webkit:
  16194. 2009-12-07 Yaar Schnitman <yaar@chromium.org>
  16195. Reviewed by Darin Fisher.
  16196. Chromium buildbots are not red when they fail
  16197. https://bugs.webkit.org/show_bug.cgi?id=32235
  16198. * Scripts/build-webkit:
  16199. 2009-12-07 Yaar Schnitman <yaar@chromium.org>
  16200. Reviewed by Darin Fisher.
  16201. Typo in chromium linux builder
  16202. https://bugs.webkit.org/show_bug.cgi?id=32238
  16203. * Scripts/webkitdirs.pm:
  16204. 2009-12-07 Yaar Schnitman <yaar@chromium.org>
  16205. Reviewed by Darin Fisher.
  16206. fixes to build-webkit --chromium
  16207. https://bugs.webkit.org/show_bug.cgi?id=32179
  16208. * Scripts/webkitdirs.pm:
  16209. 2009-12-07 Eric Seidel <eric@webkit.org>
  16210. No review, just adding two recently approved committers.
  16211. * Scripts/modules/committers.py:
  16212. 2009-12-07 Alexey Proskuryakov <ap@apple.com>
  16213. * Scripts/run-webkit-websocketserver: Added property svn:executable.
  16214. 2009-12-07 Yuzo Fujishima <yuzo@google.com>
  16215. Reviewed by Alexey Proskuryakov.
  16216. Add run-webkit-websocketserver
  16217. https://bugs.webkit.org/show_bug.cgi?id=31390
  16218. * Scripts/run-webkit-websocketserver: Added.
  16219. 2009-12-07 Steve Falkenburg <sfalken@apple.com>
  16220. Build fix. Be flexible about which version of ICU is used on Windows.
  16221. * DumpRenderTree/win/DumpRenderTree.vcproj: Add optional xcopy commands to copy ICU 4.2.
  16222. 2009-12-07 Dirk Schulze <krit@webkit.org>
  16223. Not reviewed, adding myself to the reviewers list.
  16224. * Scripts/modules/committers.py:
  16225. 2009-12-06 Eric Seidel <eric@webkit.org>
  16226. Reviewed by Adam Barth.
  16227. Add an API for uploading results files to StatusBot
  16228. https://bugs.webkit.org/show_bug.cgi?id=32210
  16229. Add Content-Type: plain/text which was forgotten
  16230. from the previous commit when I landed with land-patches
  16231. instead of land-diff.
  16232. * QueueStatusServer/queue_status.py:
  16233. 2009-12-06 Eric Seidel <eric@webkit.org>
  16234. Reviewed by Adam Barth.
  16235. Status Server needs a way to handle uploaded results
  16236. https://bugs.webkit.org/show_bug.cgi?id=32209
  16237. * QueueStatusServer/queue_status.py: Add a ShowResults (results/*) command
  16238. * QueueStatusServer/update_status.html: Add file upload.
  16239. 2009-12-06 Eric Seidel <eric@webkit.org>
  16240. Reviewed by Adam Barth.
  16241. Add an API for uploading results files to StatusBot
  16242. https://bugs.webkit.org/show_bug.cgi?id=32210
  16243. * Scripts/modules/statusbot.py:
  16244. 2009-12-06 Eric Seidel <eric@webkit.org>
  16245. Reviewed by Adam Barth.
  16246. Status Server needs a way to handle uploaded results
  16247. https://bugs.webkit.org/show_bug.cgi?id=32209
  16248. * QueueStatusServer/queue_status.py: Add a ShowResults (results/*) command
  16249. * QueueStatusServer/update_status.html: Add file upload.
  16250. 2009-12-06 Adam Barth <abarth@webkit.org>
  16251. Reviewed by Eric Seidel.
  16252. [bzt] BuildAttachment should not check the builders
  16253. https://bugs.webkit.org/show_bug.cgi?id=32207
  16254. This is code that got copied here by accident when the class was created.
  16255. * Scripts/modules/commands/download.py:
  16256. 2009-12-06 Adam Barth <abarth@webkit.org>
  16257. Reviewed by Eric Seidel.
  16258. [bzt] Make LandingSequence.update aware of ports
  16259. https://bugs.webkit.org/show_bug.cgi?id=32208
  16260. This is required to make build work on the Chromium port because
  16261. Chromium has a custom update-webkit.
  16262. * Scripts/modules/landingsequence.py:
  16263. 2009-12-06 Adam Barth <abarth@webkit.org>
  16264. Reviewed by Eric Seidel.
  16265. Add early warning system commands to bugzilla-tool.
  16266. * Scripts/bugzilla-tool:
  16267. * Scripts/modules/landingsequence.py:
  16268. * Scripts/modules/webkitport.py:
  16269. 2009-12-06 Adam Barth <abarth@webkit.org>
  16270. Reviewed by Eric Seidel.
  16271. [bzt] Implement Qt EarlyWarningSystem and Chromium EarlyWarningSystem
  16272. https://bugs.webkit.org/show_bug.cgi?id=32205
  16273. * Scripts/modules/commands/early_warning_system.py: Added.
  16274. * Scripts/modules/commands/queues.py:
  16275. 2009-12-06 Dan Bernstein <mitz@apple.com>
  16276. Reviewed by Adele Peterson.
  16277. REGRESSION (r51728): update-webkit fails when the current directory is
  16278. not inside a Subversion working copy
  16279. https://bugs.webkit.org/show_bug.cgi?id=32204
  16280. * Scripts/update-webkit: Invoke isSVN() in the correct working
  16281. directory.
  16282. 2009-12-06 Adam Barth <abarth@webkit.org>
  16283. Reviewed by Eric Seidel.
  16284. [bzt] Rename AbstractTryQueue to AbstractReviewQueue
  16285. https://bugs.webkit.org/show_bug.cgi?id=32202
  16286. * Scripts/modules/commands/queues.py:
  16287. 2009-12-05 Adam Barth <abarth@webkit.org>
  16288. Reviewed by Eric Seidel.
  16289. [bzt] Implement ChromiumPort
  16290. https://bugs.webkit.org/show_bug.cgi?id=32182
  16291. * Scripts/modules/webkitport.py:
  16292. * Scripts/modules/webkitport_unittest.py:
  16293. 2009-12-05 Adam Barth <abarth@webkit.org>
  16294. Reviewed by Eric Seidel.
  16295. Move update-webkit into BuildSteps
  16296. https://bugs.webkit.org/show_bug.cgi?id=32181
  16297. We need to move update-webkit out of SCM.py because SCM isn't supposed to know
  16298. that WebKit exists. The proper place for the knowledge of the existence of
  16299. update-webkit is in WebKitPort because some ports have specialized update
  16300. scripts (analogous to build-webkit).
  16301. * Scripts/modules/buildsteps.py:
  16302. * Scripts/modules/commands/download.py:
  16303. * Scripts/modules/landingsequence.py:
  16304. * Scripts/modules/scm.py:
  16305. * Scripts/modules/webkitport.py:
  16306. 2009-12-05 Adam Barth <abarth@webkit.org>
  16307. Reviewed by Eric Seidel.
  16308. update-webkit should call git svn rebase and resolve-ChangeLogs -f
  16309. https://bugs.webkit.org/show_bug.cgi?id=27162
  16310. Teach update-webkit about Git. I didn't add the call to
  16311. resolve-ChangeLogs -f because sometimes that script goes bananas. We
  16312. can iterate from here, however.
  16313. * Scripts/update-webkit:
  16314. 2009-12-04 Yael Aharon <yael.aharon@nokia.com>
  16315. Unreviewed build fix.
  16316. [Qt] build fix after r51634 removed unused QBoxLayout include which included limits.h.
  16317. * DumpRenderTree/qt/DumpRenderTree.cpp:
  16318. 2009-12-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
  16319. Reviewed by Adam Treat.
  16320. Add some missing methods for showing and hiding the
  16321. Web Inspector.
  16322. * DumpRenderTree/qt/DumpRenderTree.cpp:
  16323. (WebCore::WebPage::WebPage):
  16324. (WebCore::WebPage::~WebPage):
  16325. (WebCore::WebPage::webInspector):
  16326. * DumpRenderTree/qt/DumpRenderTree.h:
  16327. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  16328. (LayoutTestController::showWebInspector):
  16329. (LayoutTestController::hideWebInspector):
  16330. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  16331. 2009-12-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
  16332. Reviewed by Adam Treat.
  16333. Implement the setAllowUniversalAccessFromFileURLs method
  16334. for the Qt LayoutTestController.
  16335. * DumpRenderTree/qt/DumpRenderTree.cpp:
  16336. (WebCore::WebPage::resetSettings):
  16337. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  16338. (LayoutTestController::setAllowUniversalAccessFromFileURLs):
  16339. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  16340. 2009-12-04 Chris Fleizach <cfleizach@apple.com>
  16341. Reviewed by Darin Adler.
  16342. REGRESSION: AX: buttons now extremely repetitive
  16343. https://bugs.webkit.org/show_bug.cgi?id=32164
  16344. * DumpRenderTree/AccessibilityUIElement.cpp:
  16345. (isAttributeSupportedCallback):
  16346. (AccessibilityUIElement::getJSClass):
  16347. * DumpRenderTree/AccessibilityUIElement.h:
  16348. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  16349. (AccessibilityUIElement::isAttributeSupported):
  16350. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  16351. (AccessibilityUIElement::isAttributeSupported):
  16352. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  16353. (AccessibilityUIElement::isAttributeSupported):
  16354. 2009-12-03 Shinichiro Hamaji <hamaji@chromium.org>
  16355. Reviewed by David Levin.
  16356. check-webkit-style should check for camelCase variable names
  16357. https://bugs.webkit.org/show_bug.cgi?id=32051
  16358. * Scripts/modules/cpp_style.py:
  16359. * Scripts/modules/cpp_style_unittest.py:
  16360. 2009-12-03 Chris Fleizach <cfleizach@apple.com>
  16361. Reviewed by Eric Seidel.
  16362. AX: VO just says "term" on many web sites
  16363. https://bugs.webkit.org/show_bug.cgi?id=32139
  16364. * DumpRenderTree/AccessibilityUIElement.cpp:
  16365. (getRoleDescriptionCallback):
  16366. (AccessibilityUIElement::getJSClass):
  16367. * DumpRenderTree/AccessibilityUIElement.h:
  16368. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  16369. (AccessibilityUIElement::roleDescription):
  16370. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  16371. (AccessibilityUIElement::roleDescription):
  16372. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  16373. (AccessibilityUIElement::roleDescription):
  16374. 2009-12-03 Chris Fleizach <cfleizach@apple.com>
  16375. Reviewed by Beth Dakin.
  16376. Implement WAI-ARIA scrollbar role and related property aria-orientation
  16377. https://bugs.webkit.org/show_bug.cgi?id=32126
  16378. * DumpRenderTree/AccessibilityUIElement.cpp:
  16379. (getOrientationCallback):
  16380. (AccessibilityUIElement::getJSClass):
  16381. * DumpRenderTree/AccessibilityUIElement.h:
  16382. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  16383. (AccessibilityUIElement::orientation):
  16384. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  16385. (AccessibilityUIElement::orientation):
  16386. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  16387. (AccessibilityUIElement::orientation):
  16388. 2009-12-03 Eric Carlson <eric.carlson@apple.com>
  16389. Reviewed by Adam Roben.
  16390. Minor correction to r51663.
  16391. * DumpRenderTree/win/DumpRenderTree.cpp:
  16392. (addQTDirToPATH):
  16393. GetEnvironmentVariable -> GetEnvironmentVariableW.
  16394. 2009-12-03 Eric Carlson <eric.carlson@apple.com>
  16395. Reviewed by Adam Roben.
  16396. ~96 regression tests fail when using QuickTime 7.6 (they pass with QuickTime 7.3)
  16397. https://bugs.webkit.org/show_bug.cgi?id=30256
  16398. Add the QuickTime dll directory to the PATH environment variable so
  16399. inialization can succeed.
  16400. * DumpRenderTree/win/DumpRenderTree.cpp:
  16401. (addQTDirToPATH):
  16402. (initialize):
  16403. 2009-12-03 Shu Chang <Chang.Shu@nokia.com>
  16404. Reviewed by Kenneth Rohde Christiansen.
  16405. [Qt] After revision 32643, sender() is of type QWebPage instead of QWebFrame.
  16406. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  16407. (LayoutTestController::maybeDump):
  16408. 2009-12-03 Yuzo Fujishima <yuzo@google.com>
  16409. Reviewed by Eric Seidel.
  16410. Update pywebsocket to 0.4.3
  16411. This version logs friendlier and higher-level messages in WARN level, which is used for LayoutTests.
  16412. Stack trace is logged now in INFO level.
  16413. https://bugs.webkit.org/show_bug.cgi?id=32097
  16414. * pywebsocket/mod_pywebsocket/dispatch.py:
  16415. * pywebsocket/mod_pywebsocket/msgutil.py:
  16416. * pywebsocket/mod_pywebsocket/standalone.py:
  16417. * pywebsocket/mod_pywebsocket/util.py:
  16418. * pywebsocket/setup.py:
  16419. * pywebsocket/test/test_dispatch.py:
  16420. * pywebsocket/test/test_util.py:
  16421. 2009-12-03 Sam Weinig <sam@webkit.org>
  16422. Reviewed by Gavin Barraclough.
  16423. Fix JSClassRef leak.
  16424. * DumpRenderTree/AccessibilityController.cpp:
  16425. (AccessibilityController::makeWindowObject):
  16426. * DumpRenderTree/GCController.cpp:
  16427. (GCController::makeWindowObject):
  16428. * DumpRenderTree/LayoutTestController.cpp:
  16429. (LayoutTestController::makeWindowObject):
  16430. 2009-12-03 Brady Eidson <beidson@apple.com>
  16431. Reviewed by Sam Weinig.
  16432. <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
  16433. Keep DRT-win building...
  16434. * DumpRenderTree/win/FrameLoadDelegate.h:
  16435. (FrameLoadDelegate::didPushStateWithinPageForFrame):
  16436. (FrameLoadDelegate::didReplaceStateWithinPageForFrame):
  16437. (FrameLoadDelegate::didPopStateWithinPageForFrame):
  16438. 2009-12-03 Andras Becsi <abecsi@inf.u-szeged.hu>
  16439. Unreviewed build fix.
  16440. [Qt] ARM-Linux build fix after r51634 removed unused QBoxLayout include which included limits.h on ARM.
  16441. * DumpRenderTree/qt/DumpRenderTree.cpp:
  16442. 2009-12-03 Andras Becsi <abecsi@inf.u-szeged.hu>
  16443. Reviewed by Kenneth Rohde Christiansen.
  16444. [Qt] Refactor DRT to not crash on tests which open child windows from javascript.
  16445. Prevent DRT from showing the main view if these childs get deleted.
  16446. This fixes https://bugs.webkit.org/show_bug.cgi?id=31591.
  16447. * DumpRenderTree/qt/DumpRenderTree.cpp:
  16448. (WebCore::WebPage::WebPage):
  16449. (WebCore::DumpRenderTree::DumpRenderTree):
  16450. (WebCore::DumpRenderTree::~DumpRenderTree):
  16451. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  16452. (WebCore::DumpRenderTree::open):
  16453. (WebCore::DumpRenderTree::closeRemainingWindows):
  16454. (WebCore::DumpRenderTree::createWindow):
  16455. (WebCore::DumpRenderTree::windowCount):
  16456. * DumpRenderTree/qt/DumpRenderTree.h:
  16457. 2009-12-02 Eric Seidel <eric@webkit.org>
  16458. Reviewed by Adam Barth.
  16459. REGRESSION(51595): commit-queue is throwing exceptions
  16460. https://bugs.webkit.org/show_bug.cgi?id=32083
  16461. * Scripts/modules/commands/queues.py:
  16462. - Don't use default value of [] as it ends up getting shared.
  16463. - Make log_progress accept arrays of ints as well as strings.
  16464. - Return an exit code from execute()
  16465. * Scripts/modules/commands/queues_unittest.py: Added.
  16466. - Test to make sure log_progress will accept ints.
  16467. - Test to make sure run_bugzilla_tool will accept ints.
  16468. * Scripts/modules/workqueue.py:
  16469. - Print the stack trace on unexpected exceptions for easier debugging.
  16470. * Scripts/run-webkit-unittests:
  16471. - Add queues_unittest.
  16472. * Scripts/modules/commands/queues.py:
  16473. * Scripts/modules/commands/queues_unittest.py: Copied from WebKitTools/Scripts/modules/commands/commandtest.py.
  16474. * Scripts/modules/mock_bugzillatool.py:
  16475. * Scripts/modules/workqueue.py:
  16476. * Scripts/run-webkit-unittests:
  16477. 2009-12-02 David Levin <levin@chromium.org>
  16478. Reviewed by Adam Barth.
  16479. check-webkit-style is too noisy about namespace indenting issues.
  16480. https://bugs.webkit.org/show_bug.cgi?id=32096
  16481. * Scripts/modules/cpp_style.py:
  16482. Added a _FileState object to be able to track file level information. In this
  16483. case, it simply tracks whether the error has already been given, so that it isn't
  16484. done again.
  16485. * Scripts/modules/cpp_style_unittest.py:
  16486. Modified test cases to pass in the _FileState object and fix a test that expected
  16487. to see the namespace error twice (now it only occurs once). No new tests because
  16488. existing tests cover the change in functionality.
  16489. 2009-12-01 Kevin Ollivier <kevino@theolliviers.com>
  16490. Reviewed by Eric Seidel.
  16491. [wx] Get DumpRenderTree building after waf switch.
  16492. https://bugs.webkit.org/show_bug.cgi?id=32041
  16493. * DumpRenderTree/wscript: Added.
  16494. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  16495. (LayoutTestController::setTimelineProfilingEnabled):
  16496. (LayoutTestController::evaluateScriptInIsolatedWorld):
  16497. (LayoutTestController::disableImageLoading):
  16498. (LayoutTestController::whiteListAccessFromOrigin):
  16499. (LayoutTestController::counterValueForElementById):
  16500. * Scripts/build-webkit:
  16501. 2009-12-02 Adam Barth <abarth@webkit.org>
  16502. Reviewed by Eric Seidel.
  16503. [bzt] build-attachment shouldn't check whether the builders are red
  16504. https://bugs.webkit.org/show_bug.cgi?id=32062
  16505. build-attachment doesn't touch the remote repository, so there isn't a
  16506. need to hold off when the builders are red.
  16507. * Scripts/modules/commands/download.py:
  16508. * Scripts/modules/landingsequence.py:
  16509. 2009-12-02 Eric Seidel <eric@webkit.org>
  16510. Reviewed by Adam Barth.
  16511. REGRESSION(51590): style-queue and build-queue think their empty when they are not
  16512. https://bugs.webkit.org/show_bug.cgi?id=32061
  16513. * Scripts/modules/bugzilla.py: make all id lookups return ints instead of strings.
  16514. * Scripts/modules/bugzilla_unittest.py: Add and update unit tests to use ints.
  16515. 2009-12-02 Eric Seidel <eric@webkit.org>
  16516. Reviewed by Adam Barth.
  16517. build-queue is throwing exceptions and complaining about
  16518. lack of --no-update on build-attachment. Make it stop.
  16519. * Scripts/modules/buildsteps.py:
  16520. * Scripts/modules/commands/download.py:
  16521. 2009-12-02 Adam Barth <abarth@webkit.org>
  16522. Unreviewed "build" fix. Forgot to declare my variables. :(
  16523. * QueueStatusServer/queue_status.py:
  16524. 2009-12-02 Adam Barth <abarth@webkit.org>
  16525. Reviewed by Eric Seidel.
  16526. [bzt] Implement status bubble view
  16527. https://bugs.webkit.org/show_bug.cgi?id=32057
  16528. The status bubble is a compact representation of the queue status for a
  16529. given patch. This will eventually help us reduce the comment spam from
  16530. the queues.
  16531. * QueueStatusServer/index.html: Added HTML5 doctype for sanity.
  16532. * QueueStatusServer/queue_status.py:
  16533. * QueueStatusServer/status_bubble.html: Added.
  16534. 2009-12-02 Eric Seidel <eric@webkit.org>
  16535. Reviewed by Adam Barth.
  16536. trim commands/*.py includes now that commands are unit tested
  16537. https://bugs.webkit.org/show_bug.cgi?id=32056
  16538. In the course of ensuring that the unit tests still
  16539. passed after this change, I had to actually make them
  16540. pass in the first place.
  16541. * Scripts/modules/bugzilla.py:
  16542. - Fix _parse_attachment_ids_request_query to return ints instead of strings.
  16543. * Scripts/modules/commands/download.py: Remove unneeded imports.
  16544. * Scripts/modules/commands/queries.py: Ditto.
  16545. * Scripts/modules/commands/queues.py: Ditto.
  16546. * Scripts/modules/commands/upload.py: Ditto.
  16547. * Scripts/modules/scm_unittest.py:
  16548. - Fix to expect the \n after the path since echo adds an \n.
  16549. 2009-12-01 Yaar Schnitman <yaar@chromium.org>
  16550. build-webkit: Remove flex,bison,gperf check for chromium
  16551. https://bugs.webkit.org/show_bug.cgi?id=32043
  16552. * Scripts/webkitdirs.pm:
  16553. 2009-12-01 Chris Fleizach <cfleizach@apple.com>
  16554. Build fixage for Windows/GTK for DumpRenderTree.
  16555. WAI-ARIA: implement support for ARIA drag and drop
  16556. https://bugs.webkit.org/show_bug.cgi?id=32007
  16557. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  16558. (AccessibilityUIElement::ariaIsGrabbed):
  16559. (AccessibilityUIElement::ariaDropEffects):
  16560. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  16561. (AccessibilityUIElement::ariaIsGrabbed):
  16562. (AccessibilityUIElement::ariaDropEffects):
  16563. 2009-12-01 Chris Fleizach <cfleizach@apple.com>
  16564. Reviewed by Darin Adler.
  16565. WAI-ARIA: implement support for ARIA drag and drop
  16566. https://bugs.webkit.org/show_bug.cgi?id=32007
  16567. * DumpRenderTree/AccessibilityUIElement.cpp:
  16568. (getARIADropEffectsCallback):
  16569. (getARIAIsGrabbedCallback):
  16570. (AccessibilityUIElement::getJSClass):
  16571. * DumpRenderTree/AccessibilityUIElement.h:
  16572. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  16573. (AccessibilityUIElement::ariaIsGrabbed):
  16574. (AccessibilityUIElement::ariaDropEffects):
  16575. 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
  16576. Not reviewed. GTK DRT try 2.
  16577. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  16578. (LayoutTestController::sampleSVGAnimationForElementAtTime):
  16579. 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
  16580. Not reviewed. Try to fix gtk DRT build.
  16581. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  16582. 2009-12-01 David Levin <levin@chromium.org>
  16583. Reviewed by Eric Seidel.
  16584. check-webkit-style does not understand (Prefix)Foo(Custom|Gtk|CG|Mac).cpp including Foo.h
  16585. https://bugs.webkit.org/show_bug.cgi?id=32033
  16586. * Scripts/modules/cpp_style.py: Changed check for a possible primary header to use find
  16587. instead of startswith.
  16588. * Scripts/modules/cpp_style_unittest.py: Added a unit test for the new behavior.
  16589. 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
  16590. Not reviewed. Qt build almost fixed, DumpRenderTree should compile now as well.
  16591. * DumpRenderTree/qt/LayoutTestControllerQt.h: Update old function signature.
  16592. 2009-12-01 Nikolas Zimmermann <nzimmermann@rim.com>
  16593. Reviewed by Simon Fraser.
  16594. Add SVG animation test framework with 'snapshot' functionality
  16595. https://bugs.webkit.org/show_bug.cgi?id=31897
  16596. Add new 'sampleSVGAnimationForElementAtTime' DRT method,
  16597. used by the new SVG animation testing framework, implemented
  16598. for qt/gtk/win/mac.
  16599. * DumpRenderTree/LayoutTestController.cpp:
  16600. (sampleSVGAnimationForElementAtTimeCallback):
  16601. (LayoutTestController::staticFunctions):
  16602. * DumpRenderTree/LayoutTestController.h:
  16603. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  16604. (LayoutTestController::sampleSVGAnimationForElementAtTime):
  16605. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  16606. (LayoutTestController::sampleSVGAnimationForElementAtTime):
  16607. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  16608. (LayoutTestController::sampleSVGAnimationForElementAtTime):
  16609. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  16610. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  16611. (LayoutTestController::sampleSVGAnimationForElementAtTime):
  16612. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  16613. (LayoutTestController::sampleSVGAnimationForElementAtTime):
  16614. 2009-12-01 Adam Roben <aroben@apple.com>
  16615. Remove user content before running each test on Windows
  16616. Fixes <http://webkit.org/b/31479> Make websocket tests work on Windows
  16617. Reviewed by Alexey Proskuryakov.
  16618. * DumpRenderTree/win/DumpRenderTree.cpp:
  16619. (resetWebViewToConsistentStateBeforeTesting): Remove all user content
  16620. before each test, which matches Mac.
  16621. 2009-12-01 Yuzo Fujishima <yuzo@google.com>
  16622. Reviewed by Alexey Proskuryakov.
  16623. Make pywebsocket log errors to a file
  16624. https://bugs.webkit.org/show_bug.cgi?id=31604
  16625. * Scripts/run-webkit-tests: Log output to a pywebsocket_log.txt file in results directory
  16626. (by passing the path to the server via a recently added -l option).
  16627. 2009-12-01 Adam Roben <aroben@apple.com>
  16628. Fix tests that use the TestNetscapePlugin in Debug_Internal builds
  16629. Reviewed by Ada Chan.
  16630. Fixes <http://webkit.org/b/32027> REGRESSION (r49705): Tests that use
  16631. TestNetscapePlugin fail in Debug_Internal builds
  16632. * DumpRenderTree/win/DumpRenderTree.cpp: Use the "_Debug" plugin
  16633. directory in Debug and Debug_All builds, but not in Debug_Internal
  16634. builds.
  16635. 2009-12-01 Adam Roben <aroben@apple.com>
  16636. Re-enable DRT's watchdog timer on Windows
  16637. It was accidentally disabled in r50907.
  16638. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  16639. (LayoutTestController::setWaitToDump): Remove a "false &&" that snuck
  16640. into an if condition.
  16641. 2009-12-01 Adam Barth <abarth@webkit.org>
  16642. Reviewed by Eric Seidel.
  16643. check-webkit-style complains about #imports with / in them
  16644. https://bugs.webkit.org/show_bug.cgi?id=32022
  16645. We need to exclude #import directives in addition to #include from the
  16646. binary operator whitespace checks.
  16647. * Scripts/modules/cpp_style.py:
  16648. * Scripts/modules/cpp_style_unittest.py:
  16649. 2009-11-30 Adam Barth <abarth@webkit.org>
  16650. Reviewed by Eric Seidel.
  16651. check-webkit-style is slightly too verbose
  16652. https://bugs.webkit.org/show_bug.cgi?id=32010
  16653. check-webkit-style prints out a bunch of "done" lines that seem redundant,
  16654. especially for the style-queue.
  16655. * Scripts/modules/cpp_style.py:
  16656. 2009-11-30 Alejandro G. Castro <alex@igalia.com>
  16657. Reviewed by Eric Seidel.
  16658. [GTK] Moved the functions that are closing the result log of the
  16659. tests to the last line of the runTest function, this avoids
  16660. reporting crashes in the wrong test if there is a problem when
  16661. reseting the state after the test.
  16662. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  16663. (dump):
  16664. (runTest):
  16665. 2009-11-30 Sam Weinig <sam@webkit.org>
  16666. Reviewed by Geoffrey Garen.
  16667. Fix for https://bugs.webkit.org/show_bug.cgi?id=31286
  16668. fast/js/date-proto-generic-invocation breaks another test
  16669. Don't cache JSClassRefs, a change to the prototype chain will
  16670. last between tests.
  16671. * DumpRenderTree/AccessibilityController.cpp:
  16672. (AccessibilityController::getJSClass):
  16673. * DumpRenderTree/GCController.cpp:
  16674. (GCController::getJSClass):
  16675. * DumpRenderTree/GCController.h:
  16676. * DumpRenderTree/LayoutTestController.cpp:
  16677. (LayoutTestController::getJSClass):
  16678. 2009-11-30 Yuzo Fujishima <yuzo@google.com>
  16679. Reviewed by Alexey Proskuryakov.
  16680. Update pywebsocket to 0.4.2.1.
  16681. This is to fix a bug that some messages are logged to stderr even when the log file is specified.
  16682. https://bugs.webkit.org/show_bug.cgi?id=31976
  16683. * pywebsocket/mod_pywebsocket/standalone.py:
  16684. * pywebsocket/setup.py:
  16685. 2009-11-30 Adam Barth <abarth@webkit.org>
  16686. Reviewed by Eric Seidel.
  16687. [bzt] Generate pass messages for style-queue
  16688. https://bugs.webkit.org/show_bug.cgi?id=31995
  16689. With this change, the style-queue posts "pass" messages to bugs as
  16690. well. Also, added more information to the state store w.r.t. passing
  16691. and failing.
  16692. * Scripts/modules/commands/queues.py:
  16693. * Scripts/modules/patchcollection.py:
  16694. 2009-11-30 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  16695. Reviewed by Simon Fraser.
  16696. Check for WEBKIT_TESTFONTS environment variable in
  16697. run-webkit-tests, for GTK+, to have a more prominent error
  16698. message.
  16699. * Scripts/run-webkit-tests:
  16700. 2009-11-30 Yaar Schnitman <yaar@chromium.org>
  16701. Reviewed by Dimitri Glazkov.
  16702. update-webkit --chromium forces gclient sync
  16703. https://bugs.webkit.org/show_bug.cgi?id=31967
  16704. * Scripts/update-webkit-chromium:
  16705. 2009-11-29 Eric Seidel <eric@webkit.org>
  16706. Add Erik Arvidsson to committers.py since by r51326 he clear has commit rights.
  16707. * Scripts/modules/committers.py:
  16708. 2009-11-29 Eric Seidel <eric@webkit.org>
  16709. No review, just adding missing svn property.
  16710. Set svn:executable property on new scripts.
  16711. These were added by commit-queue commits, but the executable
  16712. property was lost due to a bug in svn-apply:
  16713. https://bugs.webkit.org/show_bug.cgi?id=27204
  16714. * Scripts/update-webkit-chromium: Added property svn:executable.
  16715. * Scripts/validate-committer-lists: Added property svn:executable.
  16716. 2009-11-29 Eric Seidel <eric@webkit.org>
  16717. Reviewed by Adam Barth.
  16718. Need a way to validate that committers.py includes all committers/reviewers
  16719. https://bugs.webkit.org/show_bug.cgi?id=30970
  16720. Add a script which knows how to compare our public committer/reviewer
  16721. lists and show discrepancies between them.
  16722. Validates mailing lists vs. committers.py:
  16723. - committers.py committers missing from webkit-committers@lists
  16724. - webkit-committers@lists members missing from committers.py
  16725. - committers.py reviewers missing from webkit-reviewers@lists
  16726. - webkit-reviewers@lists members missing from committers.py
  16727. - webkit-reviewers@lists members missing from committers.py reviewer list
  16728. Validates committers.py vs. trunk/ SVN history:
  16729. - committers who have not committed in over a year
  16730. - SVN committers missing from committers.py
  16731. - committers.py members who have no record in SVN.
  16732. All of these lists still show "false positives" until a few more committers.py updates are made, like:
  16733. https://bugs.webkit.org/show_bug.cgi?id=31366
  16734. * Scripts/validate-committer-lists: Added.
  16735. 2009-11-28 Adam Barth <abarth@webkit.org>
  16736. Reviewed by Eric Seidel.
  16737. [bzt] style-queue sends ~100 requests to QueueStatusServer every 5 minutes
  16738. https://bugs.webkit.org/show_bug.cgi?id=31950
  16739. Now we cache the last status that we get back from QueueStatusServer.
  16740. Eventually we'll have to do something more fancy if we want to support
  16741. a "try again" button on QueueStatusServer, but we can cross that bridge
  16742. when we come to it.
  16743. * Scripts/modules/patchcollection.py:
  16744. 2009-11-28 Adam Barth <abarth@webkit.org>
  16745. Reviewed by Eric Seidel.
  16746. StyleQueue scans ~100 bug pages every 5 minutes
  16747. https://bugs.webkit.org/show_bug.cgi?id=31947
  16748. Instead of getting the pending-review attachment ids by scanning each
  16749. bug (which results in a network request), we should just get them all
  16750. from webkit.org/pending-review in one shot.
  16751. * Scripts/modules/bugzilla.py:
  16752. * Scripts/modules/bugzilla_unittest.py:
  16753. * Scripts/modules/commands/queries.py:
  16754. * Scripts/modules/commands/queries_unittest.py:
  16755. * Scripts/modules/commands/queues.py:
  16756. * Scripts/modules/mock_bugzillatool.py:
  16757. * Scripts/modules/patchcollection.py:
  16758. 2009-11-28 Adam Barth <abarth@webkit.org>
  16759. Reviewed by Eric Seidel.
  16760. [bzt] CC webkit-bot-watchers whenever the bots touch bugs
  16761. https://bugs.webkit.org/show_bug.cgi?id=31952
  16762. The mailing list is open for anyone to subscribe.
  16763. * Scripts/modules/bugzilla.py:
  16764. * Scripts/modules/commands/queues.py:
  16765. 2009-11-28 Adam Barth <abarth@webkit.org>
  16766. Reviewed by Eric Seidel.
  16767. [bzt] style-queue should report style errors to bugzilla
  16768. https://bugs.webkit.org/show_bug.cgi?id=31945
  16769. Currently, we're just logging the style errors locally. With this
  16770. patch we'll actually log the errors to bugzilla. Note: I plan to run
  16771. with the "local-only" logging during development.
  16772. * Scripts/modules/commands/queues.py:
  16773. * Scripts/modules/scm.py:
  16774. 2009-11-28 Adam Barth <abarth@webkit.org>
  16775. Reviewed by Eric Seidel.
  16776. [bzt] style-queue shouldn't reject patches from the commit-queue
  16777. https://bugs.webkit.org/show_bug.cgi?id=31944
  16778. Currently the style-queue subprocess gets confused and thinks its the
  16779. commit-queue. If the patch has an error, it rejects it from the
  16780. commit-queue. Instead, we should have style-queue specific logic.
  16781. This patch doesn't add that logic, but it gives us a callback we can
  16782. use to add that logic.
  16783. * Scripts/modules/buildsteps.py:
  16784. * Scripts/modules/commands/queues.py:
  16785. * Scripts/modules/landingsequence.py:
  16786. 2009-11-27 Adam Barth <abarth@webkit.org>
  16787. Rubber stamped by Eric Seidel.
  16788. Rename CommitQueueStatus to QueueStatusServer to allow for more queues.
  16789. * CommitQueueStatus: Removed.
  16790. * CommitQueueStatus/app.yaml: Removed.
  16791. * CommitQueueStatus/filters: Removed.
  16792. * CommitQueueStatus/filters/__init__.py: Removed.
  16793. * CommitQueueStatus/filters/webkit_extras.py: Removed.
  16794. * CommitQueueStatus/index.html: Removed.
  16795. * CommitQueueStatus/index.yaml: Removed.
  16796. * CommitQueueStatus/queue_status.py: Removed.
  16797. * CommitQueueStatus/stylesheets: Removed.
  16798. * CommitQueueStatus/stylesheets/main.css: Removed.
  16799. * CommitQueueStatus/update_status.html: Removed.
  16800. * QueueStatusServer: Copied from WebKitTools/CommitQueueStatus.
  16801. 2009-11-27 Adam Barth <abarth@webkit.org>
  16802. Reviewed by Eric Seidel.
  16803. style-queue should only process each patch once
  16804. https://bugs.webkit.org/show_bug.cgi?id=31939
  16805. Actually address reviewer comments!
  16806. * Scripts/bugzilla-tool:
  16807. 2009-11-27 Adam Barth <abarth@webkit.org>
  16808. Reviewed by Eric Seidel.
  16809. [bzt] style-queue fails to apply a bunch of patches for no reason
  16810. https://bugs.webkit.org/show_bug.cgi?id=31942
  16811. By passing --non-interactive to check-style, we convince check-style
  16812. to pass --force to svn-apply, which lets it apply more patches.
  16813. * Scripts/modules/commands/queues.py:
  16814. 2009-11-27 Adam Barth <abarth@webkit.org>
  16815. Reviewed by Eric Seidel.
  16816. [bzt] Support --status-host in style-queue
  16817. https://bugs.webkit.org/show_bug.cgi?id=31941
  16818. * Scripts/modules/commands/queues.py:
  16819. * Scripts/modules/statusbot.py:
  16820. 2009-11-27 Adam Barth <abarth@webkit.org>
  16821. Reviewed by Eric Seidel.
  16822. style-queue should only process each patch once
  16823. https://bugs.webkit.org/show_bug.cgi?id=31939
  16824. Before processing a patch, the try-queues now ask the web service
  16825. whether they have already processed the patch. This is an initial cut
  16826. of this functionality. I expect we're make it richer over time.
  16827. * Scripts/bugzilla-tool:
  16828. * Scripts/modules/commands/queues.py:
  16829. * Scripts/modules/patchcollection.py:
  16830. 2009-11-27 Adam Barth <abarth@webkit.org>
  16831. Reviewed by Eric Seidel.
  16832. PatchStatus does not return status
  16833. https://bugs.webkit.org/show_bug.cgi?id=31938
  16834. We need to parse attachment_id as an int. Otherwise, we can't find
  16835. anything in the datastore.
  16836. * CommitQueueStatus/queue_status.py:
  16837. 2009-11-27 Adam Barth <abarth@webkit.org>
  16838. Reviewed by Eric Seidel.
  16839. Make commit-queue status not throw an exception where there is not
  16840. status
  16841. https://bugs.webkit.org/show_bug.cgi?id=31936
  16842. We need to actually fetch the results of the query to see what's in the
  16843. datastore.
  16844. * CommitQueueStatus/queue_status.py:
  16845. 2009-11-27 Adam Barth <abarth@webkit.org>
  16846. Reviewed by Eric Seidel.
  16847. [bzt] unit test ApplyPatches and ApplyAttachment
  16848. https://bugs.webkit.org/show_bug.cgi?id=31935
  16849. * Scripts/modules/commands/download.py:
  16850. * Scripts/modules/commands/download_unittest.py:
  16851. 2009-11-27 Adam Barth <abarth@webkit.org>
  16852. Reviewed by Eric Seidel.
  16853. [bzt] Unit test download commands
  16854. https://bugs.webkit.org/show_bug.cgi?id=31923
  16855. Adds download_unittest and fixes a bug found while testing.
  16856. * Scripts/modules/commands/commandtest.py:
  16857. * Scripts/modules/commands/download.py:
  16858. Fixed a bug where we'd throw an error because [].append returns
  16859. None.
  16860. * Scripts/modules/commands/download_unittest.py: Added.
  16861. * Scripts/modules/mock_bugzillatool.py:
  16862. * Scripts/run-webkit-unittests:
  16863. 2009-11-27 Adam Barth <abarth@webkit.org>
  16864. Unreviewed "build" fix found while writing unit tests.
  16865. * Scripts/modules/commands/download.py:
  16866. 2009-11-27 Adam Barth <abarth@webkit.org>
  16867. Reviewed by Eric Seidel.
  16868. [bzt] Kill WebKitLandingScripts
  16869. https://bugs.webkit.org/show_bug.cgi?id=31904
  16870. Step 6: Kill the rest.
  16871. * Scripts/modules/buildsteps.py:
  16872. * Scripts/modules/commands/download.py:
  16873. * Scripts/modules/commands/queries.py:
  16874. * Scripts/modules/commands/upload.py:
  16875. * Scripts/modules/landingsequence.py:
  16876. * Scripts/modules/scm.py:
  16877. * Scripts/modules/webkitlandingscripts.py: Removed.
  16878. 2009-11-27 Adam Barth <abarth@webkit.org>
  16879. Reviewed by Eric Seidel.
  16880. [bzt] Unit test upload commands
  16881. https://bugs.webkit.org/show_bug.cgi?id=31903
  16882. Adds unit tests for all but two of the upload commands. The two
  16883. remaining ones are more difficult. I'll return to them later. The
  16884. goal of these tests is just to run the commands. We can test more
  16885. detailed behavior later.
  16886. * Scripts/modules/commands/commandtest.py:
  16887. * Scripts/modules/commands/upload.py:
  16888. * Scripts/modules/commands/upload_unittest.py:
  16889. * Scripts/modules/mock.py: Added.
  16890. * Scripts/modules/mock_bugzillatool.py:
  16891. 2009-11-26 Adam Barth <abarth@webkit.org>
  16892. Reviewed by Eric Seidel.
  16893. [bzt] Kill WebKitLandingScripts
  16894. https://bugs.webkit.org/show_bug.cgi?id=31904
  16895. Step 5: Kill run_and_throw_if_fail.
  16896. * Scripts/modules/buildsteps.py:
  16897. * Scripts/modules/processutils.py: Added.
  16898. * Scripts/modules/webkitlandingscripts.py:
  16899. 2009-11-26 Adam Barth <abarth@webkit.org>
  16900. Reviewed by Eric Seidel.
  16901. [bzt] Kill WebKitLandingScripts
  16902. https://bugs.webkit.org/show_bug.cgi?id=31904
  16903. Step 4: Kill run_webkit_script.
  16904. * Scripts/modules/buildsteps.py:
  16905. * Scripts/modules/commands/download.py:
  16906. * Scripts/modules/webkitlandingscripts.py:
  16907. 2009-11-26 Adam Barth <abarth@webkit.org>
  16908. Reviewed by Eric Seidel.
  16909. [bzt] Kill WebKitLandingScripts
  16910. https://bugs.webkit.org/show_bug.cgi?id=31904
  16911. Step 3: Kill build_webkit.
  16912. * Scripts/modules/buildsteps.py:
  16913. * Scripts/modules/landingsequence.py:
  16914. * Scripts/modules/webkitlandingscripts.py:
  16915. 2009-11-26 Adam Barth <abarth@webkit.org>
  16916. Reviewed by Eric Seidel.
  16917. [bzt] Kill WebKitLandingScripts
  16918. https://bugs.webkit.org/show_bug.cgi?id=31904
  16919. Step 2: Kill ensure_builders_are_green.
  16920. * Scripts/modules/buildsteps.py:
  16921. * Scripts/modules/commands/download.py:
  16922. * Scripts/modules/landingsequence.py:
  16923. * Scripts/modules/webkitlandingscripts.py:
  16924. 2009-11-26 Adam Barth <abarth@webkit.org>
  16925. Reviewed by Eric Seidel.
  16926. [bzt] Kill WebKitLandingScripts
  16927. https://bugs.webkit.org/show_bug.cgi?id=31904
  16928. Step 1: Kill prepare_clean_working_directory and run_webkit_tests.
  16929. * Scripts/bugzilla-tool:
  16930. * Scripts/modules/buildsteps.py: Added.
  16931. * Scripts/modules/commands/download.py:
  16932. * Scripts/modules/landingsequence.py:
  16933. * Scripts/modules/webkitlandingscripts.py:
  16934. 2009-11-26 Zoltan Horvath <zoltan@webkit.org>
  16935. Reviewed by Adam Barth.
  16936. Remove directory prefixes from linux commands
  16937. SCM unittests can cause errors on some systems if we use absolute reference to
  16938. the commands, so directory prefixes have been removed.
  16939. * Scripts/modules/scm_unittest.py:
  16940. 2009-11-21 Holger Hans Peter Freyther <zecke@selfish.org>
  16941. Reviewed by Kenneth Rohde Christiansen.
  16942. Link DumpRenderTree to the Qt Ui Tools
  16943. https://bugs.webkit.org/show_bug.cgi?id=31203
  16944. Implement QWebPage::createPlugin using the Qt Ui Tools
  16945. to be able to create classes like QProgressBar from within
  16946. the <object></object> tags This is required for the
  16947. new automatic test of Qt Plugins.
  16948. * DumpRenderTree/qt/DumpRenderTree.cpp:
  16949. (WebCore::WebPage::createPlugin):
  16950. * DumpRenderTree/qt/DumpRenderTree.h:
  16951. * DumpRenderTree/qt/DumpRenderTree.pro:
  16952. 2009-11-25 Yuzo Fujishima <yuzo@google.com>
  16953. Reviewed by Eric Seidel.
  16954. Update pywebsocket to 0.4.2
  16955. Update pywebsocket to 0.4.2
  16956. https://bugs.webkit.org/show_bug.cgi?id=31861
  16957. * pywebsocket/example/echo_client.py:
  16958. * pywebsocket/example/echo_wsh.py:
  16959. * pywebsocket/mod_pywebsocket/__init__.py:
  16960. * pywebsocket/mod_pywebsocket/dispatch.py:
  16961. * pywebsocket/mod_pywebsocket/msgutil.py:
  16962. * pywebsocket/mod_pywebsocket/standalone.py:
  16963. * pywebsocket/setup.py:
  16964. * pywebsocket/test/test_dispatch.py:
  16965. * pywebsocket/test/test_msgutil.py:
  16966. 2009-11-25 Adam Barth <abarth@webkit.org>
  16967. Reviewed by Eric Seidel.
  16968. Add unit test for mark-fixed
  16969. https://bugs.webkit.org/show_bug.cgi?id=31896
  16970. * Scripts/modules/commands/commandtest.py: Added.
  16971. * Scripts/modules/commands/queries_unittest.py:
  16972. * Scripts/modules/commands/upload_unittest.py: Added.
  16973. * Scripts/modules/mock_bugzillatool.py:
  16974. * Scripts/run-webkit-unittests:
  16975. 2009-11-25 Adam Barth <abarth@webkit.org>
  16976. Reviewed by Eric Seidel.
  16977. bugzilla-tool should have a mark-fixed command
  16978. https://bugs.webkit.org/show_bug.cgi?id=31853
  16979. Pretty simple stuff.
  16980. * Scripts/modules/commands/upload.py:
  16981. 2009-11-25 Eric Seidel <eric@webkit.org>
  16982. Reviewed by Adam Barth.
  16983. 'bugzilla-tool help' should only show common commands like how 'git help' does
  16984. https://bugs.webkit.org/show_bug.cgi?id=31772
  16985. I also took this opportunity to make 'help' a real Command.
  16986. Making 'help' a real command required adding Command.tool (which we've wanted to do for a while).
  16987. * Scripts/bugzilla-tool:
  16988. - change should_show_command_help to should_show_in_main_help
  16989. * Scripts/modules/commands/download.py:
  16990. - Mark commands as being shown in main help or not.
  16991. - show_in_main_help = False is not required (default is false),
  16992. but it seemed to make the commands more self-documenting.
  16993. * Scripts/modules/commands/queries.py: ditto
  16994. * Scripts/modules/commands/queues.py: ditto
  16995. * Scripts/modules/commands/upload.py: ditto
  16996. * Scripts/modules/multicommandtool.py:
  16997. - Make Command hold a pointer to tool in self.tool. Most Command
  16998. subclasses do not take advantage of this yet, but it was required
  16999. for HelpCommand to be able to reach the tool from _help_epilog().
  17000. - Move MultiCommandTool._standalone_help_for_command to Command.standalone_help
  17001. - Move MultiCommandTool._help_epilog to Command._help_epilog
  17002. - Move "help" logic into HelpCommand.execute()
  17003. - Change should_show_command_help to should_show_in_main_help and add a default implementation.
  17004. * Scripts/modules/multicommandtool_unittest.py:
  17005. - Test hiding of Commands in --help, and that all commands are shown in 'help --all-commands'
  17006. 2009-11-25 Brian Weinstein <bweinstein@apple.com>
  17007. Reviewed by Dan Bernstein.
  17008. Patch by Mark Rowe.
  17009. The buildbots are failing on Windows because when they were upgraded
  17010. to 4.0.4, Apple Application Support was not in their path. Add it to
  17011. the path to fix the buildots.
  17012. * Scripts/webkitdirs.pm:
  17013. 2009-11-25 Csaba Osztrogonác <ossy@webkit.org>
  17014. Reviewed by David Kilzer.
  17015. run-webkit-tests doesn't accept directories/files with --skipped=only parameter
  17016. https://bugs.webkit.org/show_bug.cgi?id=31799
  17017. * Scripts/run-webkit-tests: Fixed.
  17018. 2009-11-25 Zoltan Horvath <zoltan@webkit.org>
  17019. Reviewed by Eric Seidel.
  17020. Change run_command to give back stderr by default
  17021. https://bugs.webkit.org/show_bug.cgi?id=31734
  17022. Change run_command to give back stderr by default.
  17023. Set run_commands's 'svn-create-patch' calling to put only the stdout into the patches.
  17024. Change the related unittest call.
  17025. * Scripts/modules/scm.py:
  17026. * Scripts/modules/scm_unittest.py:
  17027. 2009-11-25 Eric Seidel <eric@webkit.org>
  17028. Reviewed by Adam Barth.
  17029. Centralize required argument parsing in Command
  17030. https://bugs.webkit.org/show_bug.cgi?id=31872
  17031. * Scripts/modules/commands/download.py: remove custom required arg message.
  17032. * Scripts/modules/commands/upload.py: ditto.
  17033. * Scripts/modules/multicommandtool.py:
  17034. - Add _parse_required_arguments.
  17035. - Pass program name off to OptionParser.
  17036. - Add name() for access to tool name.
  17037. - Add check_arguments_and_execute and make it return a return code.
  17038. - Replace a couple uses of + with %.
  17039. * Scripts/modules/multicommandtool_unittest.py: test _parse_required_arguments
  17040. 2009-11-25 Eric Seidel <eric@webkit.org>
  17041. Reviewed by Adam Barth.
  17042. Abstract out capturing stdout/stderr into a new OutputCapture class for re-use among the various unit tests.
  17043. https://bugs.webkit.org/show_bug.cgi?id=31870
  17044. * Scripts/modules/commands/queries_unittest.py: Use the new class.
  17045. * Scripts/modules/multicommandtool_unittest.py: Ditto.
  17046. * Scripts/modules/outputcapture.py: Added.
  17047. 2009-11-24 Dmitry Titov <dimich@chromium.org>
  17048. Reviewed by Eric Seidel.
  17049. Add ENABLE_SHARED_SCRIPT feature define and flag for build-webkit
  17050. https://bugs.webkit.org/show_bug.cgi?id=31444
  17051. * Scripts/build-webkit:
  17052. 2009-11-24 Chris Marrin <cmarrin@apple.com>
  17053. Reviewed by Simon Fraser.
  17054. Changes the way 3D_RENDERING and ACCELERATED_COMPOSITING related tests are excluded
  17055. https://bugs.webkit.org/show_bug.cgi?id=27314
  17056. Now the script allows the directories with these tests to be included on all
  17057. platforms but Mac, where they behave the same as always. For all other platforms
  17058. the tests need to be excluded using the Skipped files, which is currently done
  17059. for all platforms (including win since we're not turned on yet)
  17060. * Scripts/webkitdirs.pm:
  17061. 2009-11-24 Eric Seidel <eric@webkit.org>
  17062. Reviewed by Adam Barth.
  17063. queries_unittest.py should test command output
  17064. https://bugs.webkit.org/show_bug.cgi?id=31845
  17065. * Scripts/modules/commands/queries_unittest.py:
  17066. - Capture stdout and stderr and compare with expected strings.
  17067. 2009-11-24 Simon Fraser <simon.fraser@apple.com>
  17068. No Review.
  17069. Fix spelling error ("depenedencies").
  17070. * Scripts/build-webkit:
  17071. 2009-11-24 Mark Rowe <mrowe@apple.com>
  17072. Land the configuration that includes the two debug GTK Linux builders.
  17073. * BuildSlaveSupport/build.webkit.org-config/config.json:
  17074. 2009-11-24 David Kilzer <ddkilzer@apple.com>
  17075. <http://webkit.org/b/31840> bisect-builds broke after r50080
  17076. Reviewed by Dan Bernstein.
  17077. * Scripts/bisect-builds:
  17078. (mountAndRunNightly): Switched back to using backticks to run
  17079. the hdiutil command since exec() will terminate the existing
  17080. script, which is not what we want. Store the output of
  17081. File::Spec->devnull() in a variable for use in the hdiutil
  17082. detach commands.
  17083. 2009-11-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  17084. Reviewed by Kenneth Rohde Christiansen.
  17085. Include "config.h" to meet Coding Style Guidelines
  17086. https://bugs.webkit.org/show_bug.cgi?id=31792
  17087. * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
  17088. * DumpRenderTree/qt/jsobjects.cpp:
  17089. * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
  17090. 2009-11-23 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  17091. Reviewed by Oliver Hunt.
  17092. Implement new required function to pass test we used to pass. This
  17093. change is required since r51294.
  17094. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  17095. (LayoutTestController::setAllowUniversalAccessFromFileURLs):
  17096. 2009-11-23 Jakub Wieczorek <faw217@gmail.com>
  17097. Reviewed by Kenneth Rohde Christiansen.
  17098. [Qt] DRT: dumpBackForwardList() does not work properly with non-file URLs.
  17099. https://bugs.webkit.org/show_bug.cgi?id=31775
  17100. LayoutTestController::dumpBackForwardList() should work with local URLs
  17101. as well as with normal URLs (in http tests for instance).
  17102. Currently it does not output the latter properly.
  17103. Unskip a bunch of passing http/navigation tests.
  17104. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17105. (WebCore::dumpHistoryItem):
  17106. 2009-11-22 Chris Fleizach <cfleizach@apple.com>
  17107. Reviewed by Oliver Hunt.
  17108. ARIA: support aria-flowto
  17109. https://bugs.webkit.org/show_bug.cgi?id=31762
  17110. * DumpRenderTree/AccessibilityUIElement.cpp:
  17111. (ariaFlowToElementAtIndexCallback):
  17112. (AccessibilityUIElement::getJSClass):
  17113. * DumpRenderTree/AccessibilityUIElement.h:
  17114. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  17115. (AccessibilityUIElement::ariaFlowToElementAtIndex):
  17116. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  17117. (AccessibilityUIElement::ariaFlowToElementAtIndex):
  17118. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  17119. (AccessibilityUIElement::ariaFlowToElementAtIndex):
  17120. 2009-11-22 Antonio Gomes <tonikitoo@webkit.org>
  17121. Reviewed by Kenneth Christiansen.
  17122. [Qt] fast/history/back-forward-reset-after-error-handling.html failing due to WorkQueue not being un-frozen
  17123. https://bugs.webkit.org/show_bug.cgi?id=31638
  17124. Unfreeze WorkQueue after each test execution.
  17125. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17126. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  17127. 2009-11-22 Jakub Wieczorek <faw217@gmail.com>
  17128. Reviewed by Adam Barth.
  17129. [Qt] DumpRenderTree should explicitly ignore any SSL certificate errors
  17130. for localhost and 127.0.0.1.
  17131. https://bugs.webkit.org/show_bug.cgi?id=31783
  17132. Unskip the http/tests/ssl/verify-ssl-enabled.php test, which is passing now.
  17133. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17134. (WebCore::NetworkAccessManager::NetworkAccessManager):
  17135. (WebCore::NetworkAccessManager::sslErrorsEncountered):
  17136. (WebCore::WebPage::WebPage):
  17137. * DumpRenderTree/qt/DumpRenderTree.h:
  17138. 2009-11-22 Chris Evans <cevans@chromium.org>
  17139. Reviewed by Adam Barth.
  17140. Disable access to file:/// directory listings
  17141. https://bugs.webkit.org/show_bug.cgi?id=31329
  17142. Implemented setAllowUniversalAccessFromFileURLs to support testing of
  17143. file URL security.
  17144. * DumpRenderTree/LayoutTestController.cpp:
  17145. (setAllowUniversalAccessFromFileURLsCallback):
  17146. (LayoutTestController::staticFunctions):
  17147. * DumpRenderTree/LayoutTestController.h:
  17148. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  17149. (LayoutTestController::setAllowUniversalAccessFromFileURLs):
  17150. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  17151. (LayoutTestController::setAllowUniversalAccessFromFileURLs):
  17152. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  17153. (LayoutTestController::setAllowUniversalAccessFromFileURLs):
  17154. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  17155. (LayoutTestController::setAllowUniversalAccessFromFileURLs):
  17156. 2009-11-22 Jakub Wieczorek <faw217@gmail.com>
  17157. Reviewed by Kenneth Rohde Christiansen.
  17158. [Qt] Fix the timeout of fast/frames/frame-navigation.html
  17159. https://bugs.webkit.org/show_bug.cgi?id=31638
  17160. The test is timeouting, because it uses the WorkQueue to load a document in one
  17161. of the child frames and once the loading is finished, the DRT does not dump the
  17162. tree. This is because it waits for the QWebFrame::loadFinished() signal from
  17163. the main frame, while it should connect to QWebPage::loadFinished().
  17164. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17165. (WebCore::DumpRenderTree::DumpRenderTree):
  17166. 2009-11-21 Eric Seidel <eric@webkit.org>
  17167. Reviewed by Adam Barth.
  17168. bugzilla-tool --help spews way too much text
  17169. https://bugs.webkit.org/show_bug.cgi?id=31771
  17170. * Scripts/bugzilla-tool:
  17171. - Remove self.cached_scm initialization hack.
  17172. * Scripts/modules/buildbot.py:
  17173. - Make default_host accessible to callers.
  17174. * Scripts/modules/commands/download.py:
  17175. - Phrase help for all commands consistently and remove spurious help text punctuation.
  17176. * Scripts/modules/commands/queries.py: Ditto.
  17177. * Scripts/modules/commands/queues.py: Ditto.
  17178. * Scripts/modules/commands/upload.py: Ditto.
  17179. * Scripts/modules/multicommandtool.py:
  17180. - Add HelpPrintingOptionParser.format_epilog to replace
  17181. NonWrappingEpilogIndentedHelpFormatter and allow us to lazily initialize
  17182. per-command help (thus removing the need for the cached_scm hack in BugzillaTool).
  17183. - Make --help only show a list of commands like "svn help" and "git help" do --
  17184. previously --help was listing all commands and options.
  17185. - Sort list of commands alphabetically.
  17186. 2009-11-21 Eric Seidel <eric@webkit.org>
  17187. No review. Fixing a typo from the previous patch for bug 31767.
  17188. AbstractQueue.run_bugzilla_tool throws an exception
  17189. https://bugs.webkit.org/show_bug.cgi?id=31769
  17190. * Scripts/modules/commands/queues.py:
  17191. 2009-11-21 Eric Seidel <eric@webkit.org>
  17192. Reviewed by Adam Barth.
  17193. commit-queue fails to run with "permissions error" due to bad bugzilla-tool path
  17194. https://bugs.webkit.org/show_bug.cgi?id=31767
  17195. What we really want to test is BugzillaTool.path() instead of TrivialTool.path().
  17196. Since we don't have a good way to test BugzillaTool pieces, I've
  17197. left out a test for now.
  17198. * Scripts/bugzilla-tool:
  17199. - Add a path() implementation to expose bugzilla-tool's __file__ path to commit-queue.
  17200. * Scripts/modules/commands/queues.py:
  17201. - Use tool.path() instead of __file__.
  17202. * Scripts/modules/multicommandtool.py:
  17203. - Add a new path() method to MultiComandTool.
  17204. * Scripts/modules/multicommandtool_unittest.py:
  17205. - Provide a path() method. Little point in testing this mock implementation.
  17206. 2009-11-21 Adam Barth <abarth@webkit.org>
  17207. Unreviewed "build" fix. Turns out I was testing the wrong copy of
  17208. WebKitTools.
  17209. * Scripts/modules/commands/download.py:
  17210. 2009-11-21 Adam Barth <abarth@webkit.org>
  17211. Reviewed by Eric Seidel.
  17212. Convert check-style to use LandingSequence
  17213. https://bugs.webkit.org/show_bug.cgi?id=31763
  17214. Instead of manipulating the working copy by hand, we should use the
  17215. LandingSequence in CheckStyle. This will make this code eaiser to
  17216. test.
  17217. * Scripts/modules/commands/download.py:
  17218. 2009-11-20 Adam Barth <abarth@webkit.org>
  17219. Reviewed by Eric Seidel.
  17220. Unit test query commands
  17221. https://bugs.webkit.org/show_bug.cgi?id=31755
  17222. These tests are pretty rough, but hopefully they'll grow.
  17223. * Scripts/modules/commands/queries_unittest.py: Added.
  17224. * Scripts/modules/mock_bugzillatool.py: Added.
  17225. * Scripts/run-webkit-unittests:
  17226. 2009-11-20 Eric Seidel <eric@webkit.org>
  17227. Reviewed by Adam Barth.
  17228. Fix a bunch of unit test regressions from our recent bugzilla-toll hacking
  17229. https://bugs.webkit.org/show_bug.cgi?id=31758
  17230. * Scripts/modules/multicommandtool.py:
  17231. - Allow passing of explicit commands to MultiCommandTool.__init__
  17232. * Scripts/modules/multicommandtool_unittest.py:
  17233. - Use new Command.name naming system.
  17234. - Test Command auto-discovery.
  17235. * Scripts/modules/workqueue.py:
  17236. - bug_id no longer exists, use patch['bug_id'] instead.
  17237. * Scripts/modules/workqueue_unittest.py:
  17238. - WorkQueues require names now.
  17239. - should_proceed_with_work_item must return a patch object.
  17240. 2009-11-20 Chris Fleizach <cfleizach@apple.com>
  17241. Reviewed by Beth Dakin.
  17242. WAI-ARIA: add support for aria-owns
  17243. https://bugs.webkit.org/show_bug.cgi?id=31702
  17244. * DumpRenderTree/AccessibilityUIElement.cpp:
  17245. (ariaOwnsElementAtIndexCallback):
  17246. (AccessibilityUIElement::getJSClass):
  17247. * DumpRenderTree/AccessibilityUIElement.h:
  17248. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  17249. (AccessibilityUIElement::ariaOwnsElementAtIndex):
  17250. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  17251. (AccessibilityUIElement::ariaOwnsElementAtIndex):
  17252. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  17253. (AccessibilityUIElement::ariaOwnsElementAtIndex):
  17254. 2009-11-20 Eric Seidel <eric@webkit.org>
  17255. Reviewed by Adam Barth.
  17256. Fix exception thrown when running the commit-queue.
  17257. * Scripts/modules/statusbot.py: patch is optional.
  17258. * Scripts/modules/workqueue.py: WorkQUeue requires a name.
  17259. 2009-11-20 Eric Seidel <eric@webkit.org>
  17260. Reviewed by Adam Barth.
  17261. Teach the StatusBot how to support more than just the commit-queue
  17262. https://bugs.webkit.org/show_bug.cgi?id=31754
  17263. * Scripts/modules/workqueue.py: Another typo.
  17264. 2009-11-20 Eric Seidel <eric@webkit.org>
  17265. Reviewed by Adam Barth.
  17266. Teach the StatusBot how to support more than just the commit-queue
  17267. https://bugs.webkit.org/show_bug.cgi?id=31754
  17268. * Scripts/modules/commands/queues.py: Fix silly typo.
  17269. 2009-11-20 Eric Seidel <eric@webkit.org>
  17270. Reviewed by Adam Barth.
  17271. Teach the StatusBot how to support more than just the commit-queue
  17272. https://bugs.webkit.org/show_bug.cgi?id=31754
  17273. * CommitQueueStatus/index.yaml:
  17274. - Add indices required for the new queries.
  17275. * CommitQueueStatus/queue_status.py:
  17276. - Add a patch-status page and move update_status to update-status.
  17277. - Only display "commit-queue" status records for the commit-queue.
  17278. - Add support for a queue_name property on status records.
  17279. - Fix _int_from_request to actually work.
  17280. * CommitQueueStatus/update_status.html:
  17281. - Add support for a queue_name on status records.
  17282. - Remove unused list of bug ids.
  17283. * Scripts/modules/commands/queues.py
  17284. - Make the queues pass the patch instead of the bug_id to StatusBot.
  17285. * Scripts/modules/statusbot.py:
  17286. - Support passing the queue_name to the status updates.
  17287. - Support fetching patch status with patch_status().
  17288. * Scripts/modules/workqueue.py:
  17289. - Pass the patch to the StatusBot instead of the bug_id.
  17290. - Let WorkQueues have a name.
  17291. 2009-11-20 Adam Barth <abarth@webkit.org>
  17292. Reviewed by Eric Seidel.
  17293. Move bugzilla-tool commands into their own file
  17294. https://bugs.webkit.org/show_bug.cgi?id=31752
  17295. This will let us write unit tests.
  17296. * Scripts/bugzilla-tool:
  17297. * Scripts/modules/commands/__init__.py: Added.
  17298. * Scripts/modules/commands/download.py: Added.
  17299. * Scripts/modules/commands/queries.py: Added.
  17300. * Scripts/modules/commands/queues.py: Added.
  17301. * Scripts/modules/commands/upload.py: Added.
  17302. * Scripts/modules/grammar.py: Added.
  17303. 2009-11-20 Adam Barth <abarth@webkit.org>
  17304. Reviewed by Eric Seidel.
  17305. BuildQueue should check if the tree is currently buildable
  17306. https://bugs.webkit.org/show_bug.cgi?id=31744
  17307. * Scripts/bugzilla-tool:
  17308. * Scripts/modules/landingsequence.py:
  17309. * Scripts/modules/webkitlandingscripts.py:
  17310. 2009-11-20 Adam Barth <abarth@webkit.org>
  17311. Reviewed by Eric Seidel.
  17312. Move prepare_clean_working_directory into the LandingSequence
  17313. https://bugs.webkit.org/show_bug.cgi?id=31743
  17314. * Scripts/bugzilla-tool:
  17315. * Scripts/modules/landingsequence.py:
  17316. 2009-11-20 Yael Aharon <yael.aharon@nokia.com>
  17317. Reviewed by Kenneth Rohde Christiansen.
  17318. NPN_ReloadPlugins does not reload the page even if reloadPages is true.
  17319. https://bugs.webkit.org/show_bug.cgi?id=30460
  17320. Added code for calling NPN_ReloadPlugins with reloadPages true and false.
  17321. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  17322. (pluginInvoke):
  17323. 2009-11-20 Adam Barth <abarth@webkit.org>
  17324. Reviewed by Eric Seidel.
  17325. Pass the port information to the child process
  17326. https://bugs.webkit.org/show_bug.cgi?id=31736
  17327. We need to do this so the child process knows what to build!
  17328. * Scripts/bugzilla-tool:
  17329. * Scripts/modules/landingsequence.py:
  17330. * Scripts/modules/webkitport.py:
  17331. * Scripts/modules/webkitport_unittest.py:
  17332. 2009-11-20 Adam Barth <abarth@webkit.org>
  17333. Reviewed by Eric Seidel.
  17334. Support Qt port in build-queue
  17335. https://bugs.webkit.org/show_bug.cgi?id=31733
  17336. * Scripts/bugzilla-tool:
  17337. 2009-11-20 Adam Barth <abarth@webkit.org>
  17338. Reviewed by Eric Seidel.
  17339. Implement a build-queue
  17340. https://bugs.webkit.org/show_bug.cgi?id=31725
  17341. Currently this just builds the first 10 patches in the review queue.
  17342. We'll want to do something smarter soon.
  17343. * Scripts/bugzilla-tool:
  17344. 2009-11-20 Adam Barth <abarth@webkit.org>
  17345. Reviewed by Eric Seidel.
  17346. Make commit-queue and style-queue show up in help
  17347. https://bugs.webkit.org/show_bug.cgi?id=31724
  17348. We need to store their names on their class to make these commands
  17349. properly register themselves with MultiCommandTool.
  17350. * Scripts/bugzilla-tool:
  17351. 2009-11-20 Adam Barth <abarth@webkit.org>
  17352. Reviewed by Eric Seidel.
  17353. Implement bugzilla-tool build-attachment
  17354. https://bugs.webkit.org/show_bug.cgi?id=31722
  17355. This command builds an attachment from bugzilla. It leaves the built
  17356. patch in the working copy.
  17357. * Scripts/bugzilla-tool:
  17358. * Scripts/modules/landingsequence.py:
  17359. * Scripts/modules/webkitlandingscripts.py:
  17360. 2009-11-20 Alejandro G. Castro <alex@igalia.com>
  17361. Reviewed by Xan Lopez.
  17362. [GTK] DRT release event does not create the state correctly
  17363. https://bugs.webkit.org/show_bug.cgi?id=31717
  17364. * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
  17365. 2009-11-20 Eric Seidel <eric@webkit.org>
  17366. Reviewed by Adam Barth.
  17367. MultiCommandTool should find Command objects automatically instead of with a manual list
  17368. https://bugs.webkit.org/show_bug.cgi?id=31710
  17369. * Scripts/bugzilla-tool:
  17370. * Scripts/modules/multicommandtool.py:
  17371. - Use some wild python-fu to crawl all the known subclasses of Command.
  17372. 2009-11-20 Adam Barth <abarth@webkit.org>
  17373. Unreviewed "build" fix. Added missing import.
  17374. * Scripts/bugzilla-tool:
  17375. 2009-11-20 Adam Barth <abarth@webkit.org>
  17376. Unreviewed "build" fix. I failed to update LandingSequence.test
  17377. properly.
  17378. * Scripts/modules/landingsequence.py:
  17379. 2009-11-20 Adam Barth <abarth@webkit.org>
  17380. Reviewed by Eric Seidel.
  17381. Create LandingSequence as the all-sing, all-dance landing class
  17382. https://bugs.webkit.org/show_bug.cgi?id=31709
  17383. Client can inherit from this class to carefully control exactly which
  17384. steps they wish to have happen in the landing sequence.
  17385. * Scripts/bugzilla-tool:
  17386. * Scripts/modules/landingsequence.py: Added.
  17387. * Scripts/modules/webkitlandingscripts.py: Added.
  17388. 2009-11-19 Adam Barth <abarth@webkit.org>
  17389. Reviewed by Eric Seidel.
  17390. Abstract AbstractPatchProcessingCommand from AbstractPatchLandingCommand
  17391. https://bugs.webkit.org/show_bug.cgi?id=31707
  17392. This is to help when we implement build-attachment.
  17393. * Scripts/bugzilla-tool:
  17394. 2009-11-19 Adam Barth <abarth@webkit.org>
  17395. Reviewed by Eric Seidel.
  17396. Support Qt port in bugzilla-tool
  17397. https://bugs.webkit.org/show_bug.cgi?id=31701
  17398. Now we support building with Qt!
  17399. * Scripts/bugzilla-tool:
  17400. * Scripts/modules/webkitport.py: Added.
  17401. * Scripts/modules/webkitport_unittest.py: Added.
  17402. * Scripts/run-webkit-unittests:
  17403. 2009-11-19 Zoltan Horvath <zoltan@webkit.org>
  17404. Reviewed by Adam Barth.
  17405. Remove inserting stderr into patch in bugzilla-tool
  17406. https://bugs.webkit.org/show_bug.cgi?id=29914
  17407. Modify SCM python module's run_command function to avoid return of stderr
  17408. by default, so stderr won't be inserted into the patches.
  17409. Modify the related unit test.
  17410. * Scripts/modules/scm.py:
  17411. * Scripts/modules/scm_unittest.py:
  17412. 2009-11-19 Eric Seidel <eric@webkit.org>
  17413. Reviewed by Adam Barth.
  17414. bugzilla-tool needs per-command help
  17415. https://bugs.webkit.org/show_bug.cgi?id=31697
  17416. Added support for "bugzilla-tool help command-name"
  17417. and a unit test to make sure it works.
  17418. * Scripts/modules/multicommandtool.py:
  17419. * Scripts/modules/multicommandtool_unittest.py:
  17420. 2009-11-19 Eric Seidel <eric@webkit.org>
  17421. Reviewed by Adam Barth.
  17422. Move MultiCommandTool and Command into a separate file and add some basic unit tests
  17423. https://bugs.webkit.org/show_bug.cgi?id=31695
  17424. * Scripts/bugzilla-tool:
  17425. * Scripts/modules/multicommandtool.py: Added.
  17426. * Scripts/modules/multicommandtool_unittest.py: Added.
  17427. * Scripts/run-webkit-unittests:
  17428. 2009-11-19 Eric Seidel <eric@webkit.org>
  17429. No review, just adding a FIXME.
  17430. Split out command parsing and help printing from BugzillaTool
  17431. https://bugs.webkit.org/show_bug.cgi?id=31688
  17432. * Scripts/bugzilla-tool: Add an extra comment about current design failures.
  17433. 2009-11-19 Eric Seidel <eric@webkit.org>
  17434. Reviewed by Adam Barth.
  17435. Split out command parsing and help printing from BugzillaTool
  17436. https://bugs.webkit.org/show_bug.cgi?id=31688
  17437. * Scripts/bugzilla-tool:
  17438. - Add new MultiCommandTool class to contain option parsing and help printing logic.
  17439. - Rename private methods to use _ pattern.
  17440. - MultiCommandTool has two abstract methods should_show_command_help and should_execute_command.
  17441. -
  17442. 2009-11-19 Eric Seidel <eric@webkit.org>
  17443. Reviewed by Adam Barth.
  17444. Re-factor help printing to use modern python idioms
  17445. https://bugs.webkit.org/show_bug.cgi?id=31685
  17446. * Scripts/bugzilla-tool:
  17447. 2009-11-19 Eric Seidel <eric@webkit.org>
  17448. Reviewed by Darin Adler.
  17449. commit-queue empty queue logs twice
  17450. https://bugs.webkit.org/show_bug.cgi?id=31679
  17451. * Scripts/bugzilla-tool:
  17452. 2009-11-19 Eric Seidel <eric@webkit.org>
  17453. Reviewed by Darin Adler.
  17454. bugzilla-tool's reviewer/committer rejection message should be clearer
  17455. https://bugs.webkit.org/show_bug.cgi?id=31126
  17456. Add more explanatory prose to bugzilla-tool's flag permission rejection message.
  17457. * Scripts/modules/bugzilla.py:
  17458. 2009-11-19 Eric Z. Ayers <zundel@google.com>
  17459. Reviewed by Pavel Feldman.
  17460. Forces a WM_PAINT event on calling layoutTestController.display()
  17461. in order to enable the timeline-paint.html test on Windows.
  17462. ::UpdateWindow() does not force an event becaue the window is
  17463. not visible.
  17464. https://bugs.webkit.org/show_bug.cgi?id=31402
  17465. * DumpRenderTree/win/DumpRenderTree.cpp:
  17466. (displayWebView):
  17467. 2009-11-19 Michelangelo De Simone <michelangelo@webkit.org>
  17468. No review needed.
  17469. Added myself to committers list.
  17470. * Scripts/modules/committers.py:
  17471. 2009-11-19 Adam Barth <abarth@webkit.org>
  17472. Reviewed by Eric Seidel.
  17473. Bugzilla-tool command classes should match command names
  17474. https://bugs.webkit.org/show_bug.cgi?id=31666
  17475. I renamed all the commands except CommitMessageForCurrentDiff because
  17476. the new name would conflict with an existing class.
  17477. * Scripts/bugzilla-tool:
  17478. 2009-11-19 Pavel Feldman <pfeldman@chromium.org>
  17479. Reviewed by Gustavo Noronha Silva.
  17480. Web Inspector: Implement "show inspector" in WebKit GTK
  17481. API and enable console tests.
  17482. https://bugs.webkit.org/show_bug.cgi?id=31669
  17483. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  17484. (LayoutTestController::showWebInspector):
  17485. 2009-11-19 Kenneth Rohde Christiansen <kenneth@webkit.org>
  17486. Reviewed by Simon Hausmann.
  17487. Minor refactoring + more documentation.
  17488. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17489. (WebCore::clearHistory):
  17490. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  17491. 2009-11-19 Fumitoshi Ukai <ukai@chromium.org>
  17492. Reviewed by Eric Seidel.
  17493. Ignore websocket tests when --no-http is specified.
  17494. https://bugs.webkit.org/show_bug.cgi?id=31662
  17495. * Scripts/run-webkit-tests:
  17496. 2009-11-18 Adam Barth <abarth@webkit.org>
  17497. Reviewed by Eric Seidel.
  17498. Normalize ' and " in bugzilla-tool
  17499. https://bugs.webkit.org/show_bug.cgi?id=31655
  17500. We decided " is better than ' and we should be consistent.
  17501. * Scripts/bugzilla-tool:
  17502. 2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  17503. Reviewed by Kenneth Rohde Christiansen.
  17504. [Qt] Remove support for Qt v4.3 or older versions
  17505. https://bugs.webkit.org/show_bug.cgi?id=29469
  17506. * DumpRenderTree/qt/DumpRenderTree.pro:
  17507. * DumpRenderTree/qt/ImageDiff.pro:
  17508. 2009-11-18 Shinichiro Hamaji <hamaji@chromium.org>
  17509. Reviewed by Eric Seidel.
  17510. GitTest.test_create_binary_patch fails if /tmp is symlink
  17511. https://bugs.webkit.org/show_bug.cgi?id=31536
  17512. * Scripts/modules/scm_unittest.py:
  17513. 2009-11-18 Yaar Schnitman <yaar@chromium.org>
  17514. Reviewed by Darin Adler.
  17515. Configuration for Chromium Build Slaves.
  17516. https://bugs.webkit.org/show_bug.cgi?id=31442
  17517. * BuildSlaveSupport/build.webkit.org-config/config.json:
  17518. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  17519. 2009-11-18 Eric Seidel <eric@webkit.org>
  17520. Reviewed by Darin Adler.
  17521. workqueue.py results in totally broken commit-queue UI
  17522. https://bugs.webkit.org/show_bug.cgi?id=31645
  17523. * Scripts/bugzilla-tool:
  17524. - Remove unneeded use of PatchCollection.
  17525. - Grab a new copy of the cq'd patches every run of the queue.
  17526. 2009-11-18 Sam Weinig <sam@webkit.org>
  17527. Reviewed by Anders Carlsson.
  17528. Make the Mac Geolocation API async.
  17529. Update DRT to use the new async Mac Geolocation API.
  17530. * DumpRenderTree/mac/UIDelegate.mm:
  17531. (-[UIDelegate webView:decidePolicyForGeolocationRequestFromOrigin:frame:listener:]):
  17532. 2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  17533. Reviewed by Kenneth Rohde Christiansen.
  17534. Add and option to toggle HTML5 datalist support to build-webkit
  17535. https://bugs.webkit.org/show_bug.cgi?id=31599
  17536. * Scripts/build-webkit:
  17537. 2009-11-18 Kevin Watters <kevinwatters@gmail.com>
  17538. Reviewed by Kevin Ollivier.
  17539. Enable wx plugin support using the Windows implementation as a base.
  17540. https://bugs.webkit.org/show_bug.cgi?id=31636
  17541. * wx/build/settings.py:
  17542. 2009-11-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
  17543. Reviewed by Simon Hausmann.
  17544. Change the initialization order so that the controllers
  17545. will be created before exporting them to the JS DOM window.
  17546. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17547. (WebCore::DumpRenderTree::DumpRenderTree):
  17548. 2009-11-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
  17549. Reviewed by Simon Hausmann.
  17550. Fix a code copy and paste error. m_page should be page.
  17551. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17552. (WebCore::DumpRenderTree::createWindow):
  17553. 2009-11-17 Mark Rowe <mrowe@apple.com>
  17554. Reviewed by Alexey Proskuryakov.
  17555. <http://webkit.org/b/31603> WebSocket server is confused if WebKit tests run from within /tmp on Mac OS X
  17556. * pywebsocket/mod_pywebsocket/dispatch.py: Use os.path.realpath as it returns the canonical path of a file.
  17557. This prevents symlinks from confusing the descendant check.
  17558. 2009-11-17 Mark Rowe <mrowe@apple.com>
  17559. Reviewed by Alexey Proskuryakov.
  17560. <http://webkit.org/b/31602> Failing to start the WebSocket server shouldn’t terminate entire test run
  17561. If the WebSocket server fails to start have DRT load an error page in place of tests that require the
  17562. server to be up rather than having run-webkit-tests abort immediately.
  17563. * Scripts/run-webkit-tests:
  17564. 2009-11-17 Eric Seidel <eric@webkit.org>
  17565. Reviewed by Darin Adler.
  17566. commit-queue is failing to set reviewer in ChangeLogs
  17567. https://bugs.webkit.org/show_bug.cgi?id=31592
  17568. * Scripts/bugzilla-tool: Clarify the "applying" log message.
  17569. * Scripts/modules/bugzilla.py:
  17570. - Add a new _validate_committer_and_reviewer function as a
  17571. temporary solution until we can make a real Attachment object
  17572. which knows how to fill in its committer/reviewer fields automatically.
  17573. 2009-11-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
  17574. Unreviewed buildbot fix.
  17575. Revert part of earlier patch and add comment, as it
  17576. was causing timeouts on the buildbot.
  17577. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  17578. (LayoutTestController::notifyDone):
  17579. 2009-11-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
  17580. Reviewed by Oliver Hunt.
  17581. Make the timeout 15 sec as for the other DRT's and make
  17582. it print out the same output when a test timeout.
  17583. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  17584. (LayoutTestController::waitUntilDone):
  17585. (LayoutTestController::notifyDone):
  17586. (LayoutTestController::timerEvent):
  17587. 2009-11-17 Joseph Pecoraro <joepeck@webkit.org>
  17588. Reviewed by Timothy Hatcher.
  17589. Fixed typos in comments.
  17590. * Scripts/modules/committers.py:
  17591. 2009-11-17 Pavel Feldman <pfeldman@chromium.org>
  17592. Reviewed by Timothy Hatcher.
  17593. Web Inspector: Make DRT show web inspector for tests in inspector/ folder.
  17594. - Updated DRT to show/close inspector for all tests under /inspector
  17595. - Introduced LayoutTestController::setTimelineProfilingEnabled and
  17596. WebInspector::setTimelineProfilingEnabled beside setJavaScriptProfilingEnabled
  17597. - Removed reload on each inspector test
  17598. - Renamed fast/inspector to fast/inspector-support in order not to trigger
  17599. inspector for those.
  17600. - Reimplemented timeline tests in order to get rid of reload there.
  17601. - Moved tests that don't require harness into the fast group.
  17602. https://bugs.webkit.org/show_bug.cgi?id=31472
  17603. * DumpRenderTree/LayoutTestController.cpp:
  17604. (setTimelineProfilingEnabledCallback):
  17605. (closeWebInspectorCallback):
  17606. (LayoutTestController::staticFunctions):
  17607. * DumpRenderTree/LayoutTestController.h:
  17608. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  17609. (shouldOpenWebInspector):
  17610. (runTest):
  17611. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  17612. (LayoutTestController::setTimelineProfilingEnabled):
  17613. * DumpRenderTree/mac/DumpRenderTree.mm:
  17614. (shouldOpenWebInspector):
  17615. (runTest):
  17616. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  17617. (LayoutTestController::setTimelineProfilingEnabled):
  17618. * DumpRenderTree/win/DumpRenderTree.cpp:
  17619. (shouldOpenWebInspector):
  17620. (runTest):
  17621. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  17622. (LayoutTestController::setTimelineProfilingEnabled):
  17623. 2009-11-17 Oliver Hunt <oliver@apple.com>
  17624. Reviewed by Maciej Stachowiak.
  17625. Incorrect use of JavaScriptCore API in DumpRenderTree
  17626. https://bugs.webkit.org/show_bug.cgi?id=31577
  17627. Return undefined rather than a literal null.
  17628. * DumpRenderTree/AccessibilityUIElement.cpp:
  17629. (setSelectedTextRangeCallback):
  17630. (incrementCallback):
  17631. (decrementCallback):
  17632. (showMenuCallback):
  17633. 2009-11-16 Chris Fleizach <cfleizach@apple.com>
  17634. Reviewed by Beth Dakin.
  17635. AX: aria-labelledby duplicates some of its WAI-ARIA label
  17636. https://bugs.webkit.org/show_bug.cgi?id=31565
  17637. * DumpRenderTree/AccessibilityUIElement.cpp:
  17638. (titleUIElementCallback):
  17639. (getIsValidCallback):
  17640. (AccessibilityUIElement::getJSClass):
  17641. 2009-11-16 Kenneth Rohde Christiansen <kenneth@webkit.org>
  17642. Reviewed by Simon Hausmann.
  17643. r50942 broke output from created windows. Make the
  17644. m_enableTextOutput a member of the DRT and not the
  17645. WebPage.
  17646. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17647. (WebCore::WebPage::WebPage):
  17648. (WebCore::WebPage::javaScriptAlert):
  17649. (WebCore::WebPage::javaScriptConsoleMessage):
  17650. (WebCore::WebPage::javaScriptConfirm):
  17651. (WebCore::WebPage::javaScriptPrompt):
  17652. (WebCore::WebPage::acceptNavigationRequest):
  17653. (WebCore::DumpRenderTree::DumpRenderTree):
  17654. (WebCore::DumpRenderTree::open):
  17655. (WebCore::DumpRenderTree::createWindow):
  17656. * DumpRenderTree/qt/DumpRenderTree.h:
  17657. (WebCore::DumpRenderTree::setTextOutputEnabled):
  17658. (WebCore::DumpRenderTree::isTextOutputEnabled):
  17659. (WebCore::WebPage::shouldInterruptJavaScript):
  17660. (WebCore::WebPage::isTextOutputEnabled):
  17661. (WebCore::WebPage::setViewGeometry):
  17662. 2009-11-16 Kenneth Rohde Christiansen <kenneth@webkit.org>
  17663. Reviewed by Gustavo Noronha Silva.
  17664. Moved DumpRenderTree/gtk/TestNetscapePlugin to DumpRenderTree/unix/TestNetscapePlugin
  17665. as the implementation is being used by at least Qt and Gtk+.
  17666. Update buildsystems as well.
  17667. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  17668. * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h:
  17669. * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h:
  17670. * DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h:
  17671. * DumpRenderTree/unix/TestNetscapePlugin/TestNetscapePlugin.cpp:
  17672. * GNUmakefile.am:
  17673. 2009-11-16 Yuzo Fujishima <yuzo@google.com>
  17674. Reviewed by Alexey Proskuryakov.
  17675. Disable wss until all platforms support pyOpenSSL
  17676. https://bugs.webkit.org/show_bug.cgi?id=31479
  17677. * Scripts/run-webkit-tests:
  17678. 2009-11-14 Antonio Gomes <tonikitoo@webkit.org>
  17679. Reviewed by Kenneth Christiansen.
  17680. [Qt] Implement load error pages support for Qt's DRT.
  17681. https://bugs.webkit.org/show_bug.cgi?id=31509
  17682. For now, it will not be a default feature, and layout tests
  17683. that want to make use of this have to explicitily call
  17684. 'handleErrorPages();' for the test source.
  17685. Any of the other DumpRenderTree's (mac, win and gtk)
  17686. support handling error pages. Qt's will be the first.
  17687. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17688. (WebCore::WebPage::supportsExtension):
  17689. (WebCore::WebPage::extension):
  17690. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  17691. (LayoutTestController::reset):
  17692. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  17693. (LayoutTestController::shouldHandleErrorPages):
  17694. (LayoutTestController::handleErrorPages):
  17695. 2009-11-16 Eric Seidel <eric@webkit.org>
  17696. Reviewed by Adam Barth.
  17697. Rename the --commit-queue flag on land-* now that the commit-queue needs no special treatment
  17698. https://bugs.webkit.org/show_bug.cgi?id=31549
  17699. Renamed --commit-queue to --non-interactive in most places
  17700. and remove the code in land-patches which is no longer needed.
  17701. * Scripts/bugzilla-tool:
  17702. 2009-11-16 Eric Seidel <eric@webkit.org>
  17703. Reviewed by Adam Barth.
  17704. The commit-queue should use land-attachment
  17705. https://bugs.webkit.org/show_bug.cgi?id=31548
  17706. * Scripts/bugzilla-tool:
  17707. 2009-11-16 Adam Barth <abarth@webkit.org>
  17708. Reviewed by Eric Seidel.
  17709. Convert CommitQueue over to PatchCollection
  17710. https://bugs.webkit.org/show_bug.cgi?id=31547
  17711. Also fixes a bug in workqueue and adds a test!
  17712. * Scripts/bugzilla-tool:
  17713. * Scripts/modules/workqueue.py:
  17714. * Scripts/modules/workqueue_unittest.py:
  17715. 2009-11-16 Adam Barth <abarth@webkit.org>
  17716. Reviewed by Eric Seidel.
  17717. Move StyleQueue over to using PatchCollection
  17718. https://bugs.webkit.org/show_bug.cgi?id=31544
  17719. That's what the class it's for.
  17720. * Scripts/bugzilla-tool:
  17721. * Scripts/modules/patchcollection.py:
  17722. * Scripts/modules/patchcollection_unittest.py:
  17723. 2009-11-16 Eric Seidel <eric@webkit.org>
  17724. Reviewed by Adam Barth.
  17725. bugzilla-tool needs a land-attachment command
  17726. https://bugs.webkit.org/show_bug.cgi?id=31546
  17727. * Scripts/bugzilla-tool:
  17728. - Move all the logic into AbstractLandingCommand and
  17729. add a new LandAttachment command subclass.
  17730. - Split out _collect_patches_by_bug logging from _fetch_list_of_patches_to_land.
  17731. 2009-11-16 Eric Seidel <eric@webkit.org>
  17732. Reviewed by Adam Barth.
  17733. Move more patch-landing code into WebKitLandingScripts in preparation for land-attachment
  17734. https://bugs.webkit.org/show_bug.cgi?id=31543
  17735. Just moving code and updating the one caller to use WebKitLandingScripts instead of 'self'.
  17736. * Scripts/bugzilla-tool:
  17737. 2009-11-16 Eric Seidel <eric@webkit.org>
  17738. Reviewed by Adam Barth.
  17739. Disable the style queue from posting to the commit queue status page.
  17740. * Scripts/bugzilla-tool:
  17741. 2009-11-16 Adam Barth <abarth@webkit.org>
  17742. Reviewed by Eric Seidel.
  17743. Implement PatchCollection
  17744. https://bugs.webkit.org/show_bug.cgi?id=31541
  17745. This class holds a set of patches and lets clients iterate through
  17746. them. Optionally, clients can install a filter.
  17747. * Scripts/modules/patchcollection.py: Added.
  17748. * Scripts/modules/patchcollection_unittest.py: Added.
  17749. * Scripts/run-webkit-unittests:
  17750. 2009-11-16 Eric Seidel <eric@webkit.org>
  17751. Reviewed by Adam Barth.
  17752. bugzilla-tool land-patches will close bugs with patches r=?
  17753. https://bugs.webkit.org/show_bug.cgi?id=28230
  17754. The commit-queue shouldn't close patches with outstanding reviews on them,
  17755. even if many reviewers seem to be against multi-patch bugs.
  17756. * Scripts/bugzilla-tool:
  17757. 2009-11-16 Eric Seidel <eric@webkit.org>
  17758. Reviewed by Adam Barth.
  17759. bugzilla-tool check-style should work with attachment ids instead of bug ids
  17760. https://bugs.webkit.org/show_bug.cgi?id=31540
  17761. * Scripts/bugzilla-tool:
  17762. 2009-11-16 Eric Seidel <eric@webkit.org>
  17763. Reviewed by Adam Barth.
  17764. WorkQueue is the only place that should know about special exit codes
  17765. https://bugs.webkit.org/show_bug.cgi?id=31534
  17766. Move LandPatchesFromBugs.handled_error to WorkQueue.exit_after_handled_error
  17767. and add tests for handling exit codes.
  17768. I also cleaned up workqueue_unittest.py more.
  17769. * Scripts/bugzilla-tool:
  17770. * Scripts/modules/workqueue.py:
  17771. * Scripts/modules/workqueue_unittest.py:
  17772. 2009-11-16 Eric Seidel <eric@webkit.org>
  17773. Reviewed by Adam Barth.
  17774. Re-factor workqueue_unittest to allow for more than one test.
  17775. https://bugs.webkit.org/show_bug.cgi?id=31535
  17776. * Scripts/modules/workqueue_unittest.py:
  17777. 2009-11-16 Eric Seidel <eric@webkit.org>
  17778. Reviewed by Adam Barth.
  17779. land-patches needs to be re-factored into smaller chunks
  17780. https://bugs.webkit.org/show_bug.cgi?id=31532
  17781. * Scripts/bugzilla-tool: fix a couple obvious typos.
  17782. 2009-11-16 Eric Seidel <eric@webkit.org>
  17783. Reviewed by Adam Barth.
  17784. land-patches needs to be re-factored into smaller chunks
  17785. https://bugs.webkit.org/show_bug.cgi?id=31532
  17786. The next patch will move these methods into WebKitLandingScripts.
  17787. * Scripts/bugzilla-tool:
  17788. - Split out _land_patch and _close_bug_if_no_active_patches.
  17789. 2009-11-16 Adam Barth <abarth@webkit.org>
  17790. Reviewed by Eric Seidel.
  17791. Fix silly copy-and-paste code. I am a terrible coder.
  17792. * Scripts/modules/bugzilla.py:
  17793. 2009-11-16 Adam Barth <abarth@webkit.org>
  17794. Reviewed by Eric Seidel.
  17795. Implement a StyleQueue
  17796. https://bugs.webkit.org/show_bug.cgi?id=31537
  17797. The first iteration of the style queue only produces output locally.
  17798. There is also a limit of 10 patches because it's not that useful to
  17799. iterate through the entire review queue at this point. We can remove
  17800. the limit later.
  17801. * Scripts/bugzilla-tool:
  17802. * Scripts/modules/bugzilla.py:
  17803. 2009-11-16 Adam Barth <abarth@webkit.org>
  17804. Reviewed by Eric Seidel.
  17805. Unit test WorkQueue
  17806. https://bugs.webkit.org/show_bug.cgi?id=31531
  17807. Adds basic unit testing for WorkQueue. Just runs through one cycle.
  17808. * Scripts/bugzilla-tool:
  17809. * Scripts/modules/statusbot.py:
  17810. * Scripts/modules/workqueue.py:
  17811. * Scripts/modules/workqueue_unittest.py: Added.
  17812. * Scripts/run-webkit-unittests:
  17813. 2009-11-16 Eric Seidel <eric@webkit.org>
  17814. Reviewed by Adam Barth.
  17815. bugzilla-tool land-diff should know how to parse bug ids out of ChangeLogs
  17816. https://bugs.webkit.org/show_bug.cgi?id=31530
  17817. * Scripts/bugzilla-tool:
  17818. 2009-11-16 Eric Seidel <eric@webkit.org>
  17819. Reviewed by Adam Barth.
  17820. bugzilla-tool needs apply-attachment
  17821. https://bugs.webkit.org/show_bug.cgi?id=31528
  17822. * Scripts/bugzilla-tool:
  17823. - Add ApplyAttachment command.
  17824. - Abstract applying code into WebKitApplyingScripts.
  17825. - Rename setup_for_landing to prepare_clean_working_directory and make local_commit checking optional.
  17826. * Scripts/modules/bugzilla.py:
  17827. - Add fetch_attachment and bug_id_for_attachment_id.
  17828. * Scripts/modules/bugzilla_unittest.py:
  17829. - Add test for new parsing.
  17830. - Fix previous parsing test which broke with Adam's check-style patch (bug 31515).
  17831. 2009-11-16 Eric Seidel <eric@webkit.org>
  17832. Reviewed by Adam Barth.
  17833. Document check-style's use of force_clean.
  17834. * Scripts/bugzilla-tool:
  17835. * Scripts/modules/scm.py:
  17836. 2009-11-16 Adam Barth <abarth@webkit.org>
  17837. Reviewed by Eric Seidel.
  17838. Move WorkQueue to its own file
  17839. https://bugs.webkit.org/show_bug.cgi?id=31529
  17840. WorkQueue and WorkQueueDelegate are separate concerns from
  17841. bugzilla-tool. Also added a missing include to logging.py.
  17842. * Scripts/bugzilla-tool:
  17843. * Scripts/modules/logging.py:
  17844. * Scripts/modules/workqueue.py:
  17845. 2009-11-16 Adam Barth <abarth@webkit.org>
  17846. Reviewed by Eric Seidel.
  17847. Move OutputTee to logging.py.
  17848. * Scripts/bugzilla-tool:
  17849. * Scripts/modules/logging.py:
  17850. 2009-11-15 Adam Barth <abarth@webkit.org>
  17851. Reviewed by Eric Seidel.
  17852. Refactor bugzilla-tool to allow for multiple queues
  17853. https://bugs.webkit.org/show_bug.cgi?id=31513
  17854. Divide the commit queue class into three class to make creating
  17855. additional queues easier.
  17856. * Scripts/bugzilla-tool:
  17857. 2009-11-15 Shinichiro Hamaji <hamaji@chromium.org>
  17858. Reviewed by Eric Seidel.
  17859. svn-apply may not handle git patches created by bugzilla-tool
  17860. https://bugs.webkit.org/show_bug.cgi?id=31457
  17861. * Scripts/modules/scm.py:
  17862. * Scripts/modules/scm_unittest.py:
  17863. 2009-11-15 Shinichiro Hamaji <hamaji@chromium.org>
  17864. Reviewed by Eric Seidel.
  17865. bugzilla-tool should post git binary diff
  17866. https://bugs.webkit.org/show_bug.cgi?id=31458
  17867. Add --binary option to Git.create_patch.
  17868. * Scripts/modules/scm.py:
  17869. * Scripts/modules/scm_unittest.py:
  17870. 2009-11-15 Adam Barth <abarth@webkit.org>
  17871. Reviewed by Darin Adler.
  17872. Add bugzilla-tool check-style
  17873. https://bugs.webkit.org/show_bug.cgi?id=31515
  17874. * Scripts/bugzilla-tool:
  17875. * Scripts/modules/bugzilla.py:
  17876. 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
  17877. Reviewed by Simon Hausmann.
  17878. Make the Qt Linux only --valgrind feature, suppress errors
  17879. defined in the SuppressedValgrindErrors file.
  17880. * Scripts/run-webkit-tests:
  17881. 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
  17882. Reviewed by Simon Hausmann.
  17883. Set the locale to C and not to the current one in use on the system.
  17884. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17885. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  17886. 2009-11-13 Adam Roben <aroben@apple.com>
  17887. Add support for
  17888. http/tests/security/isolatedWorld/didClearWindowObject.html
  17889. Fixes <http://webkit.org/b/31124> Tell the WebFrameLoadDelegate when
  17890. window objects in isolated worlds are cleared
  17891. Reviewed by Dave Hyatt.
  17892. * DumpRenderTree/mac/DumpRenderTreeMac.h: Declared worldIDForWorld.
  17893. * DumpRenderTree/mac/FrameLoadDelegate.mm:
  17894. (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]):
  17895. Added. Moved code here from -webView:didClearWindowObject:forFrame:.
  17896. (-[FrameLoadDelegate didClearWindowObjectForFrame:inIsolatedWorld:]):
  17897. Added. Sets a __worldID property on the global object whose value is
  17898. the ID of this world.
  17899. (-[FrameLoadDelegate webView:didClearWindowObjectForFrame:inScriptWorld:]):
  17900. Respond to this new delegate callback by calling through to one of the
  17901. above new methods.
  17902. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  17903. (worldMap): Added. Returns a HashMap containing all the worlds we've
  17904. created.
  17905. (worldIDForWorld): Added. Returns the ID for this world, or 0 if we
  17906. haven't kept track of this world.
  17907. (LayoutTestController::evaluateScriptInIsolatedWorld): Use worldMap()
  17908. instead of declaring our own.
  17909. * DumpRenderTree/win/DumpRenderTreeWin.h: Declared worldIDForWorld.
  17910. * DumpRenderTree/win/FrameLoadDelegate.cpp:
  17911. (FrameLoadDelegate::didClearWindowObject): Moved code from hear to
  17912. didClearWindowObjectForFrameInStandardWorld.
  17913. (FrameLoadDelegate::didClearWindowObjectForFrameInScriptWorld):
  17914. Respond to this new delegate callback by calling through to one of the
  17915. below new methods.
  17916. (FrameLoadDelegate::didClearWindowObjectForFrameInIsolatedWorld):
  17917. Added. Sets a __worldID property on the gobal object whose value is
  17918. the ID of this world.
  17919. (FrameLoadDelegate::didClearWindowObjectForFrameInStandardWorld):
  17920. Added. Moved code here from didClearWindowObject.
  17921. * DumpRenderTree/win/FrameLoadDelegate.h: Added the
  17922. didClearWindowObjectForFrame* functions.
  17923. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  17924. (worldMap): Added. Returns a HashMap containing all the worlds we've
  17925. created.
  17926. (worldIDForWorld): Added. Returns the ID of this world, or 0 if we
  17927. haven't kept track of this world.
  17928. (LayoutTestController::evaluateScriptInIsolatedWorld): Use worldMap()
  17929. instead of declaring our own.
  17930. 2009-11-13 Adam Roben <aroben@apple.com>
  17931. Finish replacing worldIDs with world objects
  17932. The only remaining use of worldIDs was in a method only used by DRT
  17933. for the isolated worlds tests.
  17934. Fixes <http://webkit.org/b/31414> Replace worldIDs with world objects
  17935. Reviewed by Mark Rowe.
  17936. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  17937. (LayoutTestController::evaluateScriptInIsolatedWorld):
  17938. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  17939. (LayoutTestController::evaluateScriptInIsolatedWorld):
  17940. Updated for changes to WebFrame. Now holds the map of worldID -> world
  17941. at this level instead of making WebKit do it.
  17942. 2009-11-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  17943. Reviewed by Simon Hausmann.
  17944. [Qt] Ensure the DRT does not output anything until first test is run
  17945. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17946. * DumpRenderTree/qt/DumpRenderTree.h:
  17947. 2009-11-13 Kenneth Rohde Christiansen <kenneth@webkit.org>
  17948. Reviewed by Tor Arne Vestbø.
  17949. Clear the undo stack in before each new test run.
  17950. Locally fixes 3 incorrect layouts, 9 timeouts and 7 crashes.
  17951. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17952. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  17953. 2009-11-13 Andras Becsi <becsi.andras@stud.u-szeged.hu>
  17954. Reviewed by Kenneth Rohde Christiansen.
  17955. [Qt] Add WebKitUsesPageCachePreferenceKey overriding support to DRT's LayoutTestController.
  17956. * DumpRenderTree/qt/DumpRenderTree.cpp:
  17957. (WebCore::WebPage::resetSettings):
  17958. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  17959. (LayoutTestController::overridePreference):
  17960. 2009-11-13 Eric Seidel <eric@webkit.org>
  17961. Reviewed by Adam Barth.
  17962. Update committers.py based on svn records
  17963. https://bugs.webkit.org/show_bug.cgi?id=31366
  17964. This list was generated using validate-committer-lists from
  17965. https://bugs.webkit.org/show_bug.cgi?id=30970
  17966. and makes committers.py current for committers who have
  17967. committed in the last 3 years.
  17968. * Scripts/modules/committers.py:
  17969. 2009-11-12 Anantanarayanan G Iyengar <ananta@chromium.org>
  17970. Reviewed by Adam Barth.
  17971. The document-open.html test was flaky at times. The test invokes the layout test plugin
  17972. which in its destroy stream handler opens a new document. This basically tears down the
  17973. stream and the associated plugin instance. The pluginLog function in the layout test
  17974. plugin attempts to retrieve the window script object on a torn down plugin instance
  17975. which crashed consistently on windows in the debugger. The functions which issue
  17976. these logs already have a valid window script object. We now have variants of the pluginLog
  17977. function which take in a window script object with and without variable arguments.
  17978. https://bugs.webkit.org/show_bug.cgi?id=31067
  17979. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  17980. (pluginLogWithWindowObject):
  17981. (pluginLogWithWindowObjectVariableArgs):
  17982. (pluginLog):
  17983. (notifyTestCompletion):
  17984. (testDocumentOpen):
  17985. (testWindowOpen):
  17986. 2009-11-12 Joanmarie Diggs <joanmarie.diggs@gmail.com>
  17987. Reviewed by Gustavo Noronha Silva.
  17988. https://bugs.webkit.org/show_bug.cgi?id=30997
  17989. [Gtk] Implemment AtkDocument
  17990. Added testing support.
  17991. * DumpRenderTree/AccessibilityUIElement.cpp:
  17992. * DumpRenderTree/AccessibilityUIElement.h:
  17993. (getDocumentEncodingCallback):
  17994. (getDocumentURICallback):
  17995. (AccessibilityUIElement::getJSClass):
  17996. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  17997. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  17998. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  17999. (AccessibilityUIElement::documentEncoding):
  18000. (AccessibilityUIElement::documentURI):
  18001. 2009-11-12 Adam Roben <aroben@apple.com>
  18002. Replace worldIDs with world objects
  18003. Part of <http://webkit.org/b/31414> Implement new SPI for dealing with
  18004. user scripts/stylesheets and isolated worlds
  18005. Reviewed by Sam Weinig.
  18006. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  18007. (LayoutTestController::addUserScript):
  18008. (LayoutTestController::addUserStyleSheet):
  18009. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  18010. (LayoutTestController::addUserScript):
  18011. (LayoutTestController::addUserStyleSheet):
  18012. Changed these functions to create a new WebJSWorld each time they're
  18013. called and to pass that world to WebKit.
  18014. 2009-11-11 Chris Fleizach <cfleizach@apple.com>
  18015. Reviewed by Oliver Hunt.
  18016. need to implement aria tree roles
  18017. https://bugs.webkit.org/show_bug.cgi?id=31284
  18018. * DumpRenderTree/AccessibilityUIElement.cpp:
  18019. (disclosedRowAtIndexCallback):
  18020. (selectedRowAtIndexCallback):
  18021. (isEqualCallback):
  18022. (isAttributeSettableCallback):
  18023. (isActionSupportedCallback):
  18024. (disclosedByRowCallback):
  18025. (hierarchicalLevelCallback):
  18026. (AccessibilityUIElement::getJSClass):
  18027. * DumpRenderTree/AccessibilityUIElement.h:
  18028. (AccessibilityUIElement::isEqual):
  18029. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  18030. (AccessibilityUIElement::hierarchicalLevel):
  18031. (AccessibilityUIElement::disclosedRowAtIndex):
  18032. (AccessibilityUIElement::selectedRowAtIndex):
  18033. (AccessibilityUIElement::disclosedByRow):
  18034. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  18035. (AccessibilityUIElement::getChildAtIndex):
  18036. (AccessibilityUIElement::disclosedRowAtIndex):
  18037. (AccessibilityUIElement::selectedRowAtIndex):
  18038. (AccessibilityUIElement::titleUIElement):
  18039. (AccessibilityUIElement::parentElement):
  18040. (AccessibilityUIElement::disclosedByRow):
  18041. (AccessibilityUIElement::hierarchicalLevel):
  18042. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  18043. (AccessibilityUIElement::hierarchicalLevel):
  18044. (AccessibilityUIElement::disclosedRowAtIndex):
  18045. (AccessibilityUIElement::selectedRowAtIndex):
  18046. (AccessibilityUIElement::disclosedByRow):
  18047. 2009-11-11 Shinichiro Hamaji <hamaji@chromium.org>
  18048. Reviewed by Darin Adler.
  18049. svn-apply can not handle git binary diffs
  18050. https://bugs.webkit.org/show_bug.cgi?id=26830
  18051. Support "literal" type git binary diffs.
  18052. * Scripts/VCSUtils.pm:
  18053. * Scripts/modules/scm_unittest.py:
  18054. * Scripts/svn-apply:
  18055. 2009-11-11 Dmitry Titov <dimich@chromium.org>
  18056. Not reviewed, removing duplicate entry for myself in committers.py.
  18057. * Scripts/modules/committers.py:
  18058. 2009-11-11 Alexey Proskuryakov <ap@apple.com>
  18059. Reviewed by Darin Adler and Mark Rowe.
  18060. https://bugs.webkit.org/show_bug.cgi?id=31200
  18061. Tests in http/tests/security/mixedContent start to fail when new tests are added
  18062. * DumpRenderTree/mac/DumpRenderTree.mm: (dumpRenderTree): Added a workaround for Tiger bug.
  18063. 2009-11-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  18064. Reviewed by Jan Alonzo.
  18065. Create, and display a window for the inspector, for inspector
  18066. tests.
  18067. Need to also show/hide the inspector window to avoid having
  18068. problems with code assuming it is realized
  18069. https://bugs.webkit.org/show_bug.cgi?id=31347
  18070. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  18071. (webInspectorShowWindow):
  18072. (webInspectorCloseWindow):
  18073. (webInspectorInspectWebView):
  18074. (createWebView):
  18075. 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
  18076. Unreviewed Qt buildbot fix.
  18077. My previous fix was wrong, so revert that change and fix it by
  18078. returning when the document of the frame has no document element.
  18079. Idea is borrowed from mac and win DRT.
  18080. * DumpRenderTree/qt/DumpRenderTree.cpp:
  18081. (WebCore::DumpRenderTree::dumpFramesAsText):
  18082. 2009-11-11 Eric Seidel <eric@webkit.org>
  18083. Reviewed byg Kenneth Rohde Christiansen.
  18084. Update Kenneth's committer record to include the email he
  18085. uses on lists.webkit.org.
  18086. * Scripts/modules/committers.py:
  18087. 2009-11-11 Eric Seidel <eric@webkit.org>
  18088. Reviewed by Gustavo Noronha Silva.
  18089. Several committers use separate email addresses for bugzilla and svn.webkit.org
  18090. https://bugs.webkit.org/show_bug.cgi?id=31364
  18091. Update records for existing committers to include email addresses
  18092. used in svn.webkit.org and lists.webkit.org.
  18093. Most committers use the same email address in all 3 places, but some use
  18094. separate addresses. committers.py needs record of each of these addresses.
  18095. * Scripts/modules/committers.py:
  18096. 2009-11-11 Eric Seidel <eric@webkit.org>
  18097. No review, adding second email address for an existing committer.
  18098. Add Yong Li's second bugzilla account to his committer record.
  18099. See: https://bugs.webkit.org/show_bug.cgi?id=27371#c27
  18100. * Scripts/modules/committers.py:
  18101. 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
  18102. Reviewed by Simon Hausmann.
  18103. If the frame has no innerText don't append it, and
  18104. do not add a newline which breaks some cross platform
  18105. results.
  18106. * DumpRenderTree/qt/DumpRenderTree.cpp:
  18107. (WebCore::DumpRenderTree::dumpFramesAsText):
  18108. 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
  18109. Reviewed by Simon Hausmann.
  18110. Implement missing functionality in the Gtk/Qt TestNetscapePlugin.
  18111. * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
  18112. (webkit_test_plugin_new_instance):
  18113. (webkit_test_plugin_destroy_instance):
  18114. (webkit_test_plugin_destroy_stream):
  18115. 2009-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
  18116. Reviewed by Mark Rowe.
  18117. Implement the functionality needed by plugins/window-open.html
  18118. * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
  18119. (webkit_test_plugin_new_instance):
  18120. (webkit_test_plugin_set_window):
  18121. 2009-11-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  18122. Reviewed by Simon Hausmann.
  18123. [Qt] Force -graphicssystem raster and -style windows when running DRT
  18124. * DumpRenderTree/qt/main.cpp:
  18125. * Scripts/run-webkit-tests:
  18126. 2009-11-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  18127. Reviewed by Simon Hausmann.
  18128. Compute correct library paths for Qt
  18129. * Scripts/webkitdirs.pm:
  18130. 2009-11-10 Mark Rowe <mrowe@apple.com>
  18131. Reviewed by Sam Weinig.
  18132. <http://webkit.org/b/31200> Tests in http/tests/security/mixedContent start to fail when new tests are added
  18133. The first request to an HTTPS URL results in didFailProvisionalLoadWithError being called with an error
  18134. about the validity of the self-signed certificates used in the regression tests. We would then add the
  18135. host to the ignore list for SSL certificate errors and retry the request. If this happened during a test
  18136. that had enabled frame load delegate logging this would result in extra log messages being generated,
  18137. causing the test to fail.
  18138. We address this by explicitly ignoring SSL certificate errors for localhost and 127.0.0.1 before running any
  18139. tests.
  18140. * DumpRenderTree/mac/DumpRenderTree.mm:
  18141. (dumpRenderTree):
  18142. * DumpRenderTree/mac/FrameLoadDelegate.mm:
  18143. (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
  18144. 2009-11-10 Andras Becsi <becsi.andras@stud.u-szeged.hu>
  18145. Reviewed by Kenneth Rohde Christiansen.
  18146. [Qt] Remove obsolete scrollbar policy settings from DRT constructor.
  18147. * DumpRenderTree/qt/DumpRenderTree.cpp:
  18148. (WebCore::DumpRenderTree::DumpRenderTree):
  18149. 2009-11-10 Philippe Normand <pnormand@igalia.com>
  18150. Reviewed by Jan Alonzo.
  18151. [GTK] Remove WebSocket configuration from WebKitWebSettings
  18152. https://bugs.webkit.org/show_bug.cgi?id=31244
  18153. Follow-up of r50724. Don't set the enable-web-socket property
  18154. anymore.
  18155. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  18156. (resetDefaultsToConsistentValues):
  18157. 2009-11-10 Oliver Hunt <oliver@apple.com>
  18158. Reviewed by Maciej Stachowiak.
  18159. Rename 3D Canvas related classes to use WebGL prefix
  18160. https://bugs.webkit.org/show_bug.cgi?id=29095
  18161. Checkin new version of do-webcore-rename used to do the WebGL type rename,
  18162. and upate webkitdirs script to new method of testing for WebGL.
  18163. * Scripts/do-webcore-rename:
  18164. * Scripts/webkitdirs.pm:
  18165. 2009-11-09 Oliver Hunt <oliver@apple.com>
  18166. Reviewed by Geoff Garen.
  18167. Make do-webcore-rename work with git.
  18168. * Scripts/do-webcore-rename:
  18169. 2009-11-09 Simon Hausmann <simon.hausmann@nokia.com>
  18170. Adding Kenneth to the reviewers list.
  18171. * Scripts/modules/committers.py:
  18172. 2009-11-09 Martin Robinson <martin.james.robinson@gmail.com>
  18173. Reviewed by Jan Alonzo.
  18174. [GTK] Expose Page::tabKeyCyclesThroughElements in the API
  18175. https://bugs.webkit.org/show_bug.cgi?id=30482
  18176. LayoutTestControllerGtk now uses the exposed
  18177. Page::tabKeyCyclesThroughElements API
  18178. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  18179. (LayoutTestController::setTabKeyCyclesThroughElements):
  18180. 2009-11-08 Shu Chang <Chang.Shu@nokia.com>
  18181. Reviewed by Holger Freyther.
  18182. [Qt] Added support for key code 8 (backspace) in EventSenderQt.
  18183. This helps to pass the test case below. Also replaced hardcoded
  18184. code numbers with defined constants.
  18185. https://bugs.webkit.org/show_bug.cgi?id=31185
  18186. Test: editing/undo/undo-deleteWord.html
  18187. * DumpRenderTree/qt/EventSenderQt.cpp:
  18188. (EventSender::keyDown):
  18189. 2009-11-07 Antonio Gomes <tonikitoo@webkit.org>
  18190. Reviewed by Holger Freyther.
  18191. [Qt] [DRT] Fix wrong logic in LayoutTestController processWork
  18192. https://bugs.webkit.org/show_bug.cgi?id=31164
  18193. Fixed wrong logic to assume WorkQueue is done in QT's DRT.
  18194. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  18195. (LayoutTestController::processWork):
  18196. 2009-11-05 Antonio Gomes <tonikitoo@webkit.org>
  18197. Reviewed by Holger Freyther.
  18198. [Qt][DRT] Replace queueScript by queueNonLoadingScript and queueLoadingScript method
  18199. https://bugs.webkit.org/show_bug.cgi?id=31158
  18200. By invoking a script queue'd by queueScript(), 'true' was beeing returned
  18201. always, which from WorkQueue prospective means that a load has been started
  18202. and the queue processing should stop and wait for the load to finish.
  18203. Spinning it off into a loading and a non-loading variants was the solution
  18204. adopted by Mac's DRT to work around this problem. The former keeps returning
  18205. 'true' while the later executes the script synchronously and returns 'false'
  18206. making it possible to the WorkQueue to proceed right away.
  18207. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  18208. (LayoutTestController::processWork):
  18209. (LayoutTestController::queueLoadingScript):
  18210. (LayoutTestController::queueNonLoadingScript):
  18211. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  18212. * DumpRenderTree/qt/WorkQueueItem.h:
  18213. (LoadingScriptItem::LoadingScriptItem):
  18214. (LoadingScriptItem::invoke):
  18215. (NonLoadingScriptItem::NonLoadingScriptItem):
  18216. (NonLoadingScriptItem::invoke):
  18217. 2009-11-07 Mark Rowe <mrowe@apple.com>
  18218. Rubber-stamped by Cameron Zwarich.
  18219. Invoke prepare-ChangeLog via an absolute path rather than assuming it can be found in PATH.
  18220. * Scripts/commit-log-editor:
  18221. 2009-11-07 Mark Rowe <mrowe@apple.com>
  18222. Reviewed by Darin Adler.
  18223. Fix <https://bugs.webkit.org/show_bug.cgi?id=28168>.
  18224. commit-log-editor does not support all the email address configurations that prepare-Changelog supports
  18225. Move logic for determining the name and email address to use in a ChangeLog entry from
  18226. prepare-ChangeLog to VCSUtils so that commit-log-editor can use it. It wants to check
  18227. whether the author of the patch matches committer, and therefore needs access to the
  18228. email address that would be used in a ChangeLog entry.
  18229. Based on a patch by Pierre d'Herbemont.
  18230. * Scripts/VCSUtils.pm:
  18231. * Scripts/commit-log-editor:
  18232. * Scripts/prepare-ChangeLog:
  18233. * Scripts/webkitdirs.pm:
  18234. 2009-11-06 Anantanarayanan G Iyengar <ananta@chromium.org>
  18235. Reviewed by Adam Barth.
  18236. Added functionality to the layout test plugin to invoke document.open and
  18237. window.open with default arguments. The associated webkit bug is
  18238. https://bugs.webkit.org/show_bug.cgi?id=31067, which affects Chromium. Basically
  18239. window.open and document.open calls issued by NPAPI plugins via NPN_Invoke don't
  18240. work in Chromium (V8) if there is no calling javascript context. To achieve this
  18241. effect we invoke these functions in the layout test plugin in the NPP_SetWindow
  18242. for the window.open test case and in NPP_DestroyStream for the document.open test case.
  18243. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  18244. (testDocumentOpen):
  18245. (testWindowOpen):
  18246. (pluginAllocate):
  18247. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
  18248. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  18249. (NPP_New):
  18250. (NPP_SetWindow):
  18251. (NPP_DestroyStream):
  18252. * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
  18253. (NPP_New):
  18254. (NPP_SetWindow):
  18255. (NPP_NewStream):
  18256. (NPP_DestroyStream):
  18257. 2009-11-06 Eric Seidel <eric@webkit.org>
  18258. Reviewed by Adam Barth.
  18259. bugzilla-tool crashed with exception
  18260. https://bugs.webkit.org/show_bug.cgi?id=31092
  18261. * Scripts/modules/bugzilla.py: Change a ',' to a '%' to fix the error.
  18262. 2009-11-04 Eric Seidel <eric@webkit.org>
  18263. No review, just add a line which got left out of the patch uploaded for commit.
  18264. commit-queue is crashing when trying to reject patches after unknown failures
  18265. https://bugs.webkit.org/show_bug.cgi?id=31091
  18266. * Scripts/bugzilla-tool: Set bug_log = None after closing to we don't re-close and crash.
  18267. 2009-11-04 Adam Roben <aroben@apple.com>
  18268. Remove bogus else clause in bugzilla-tool
  18269. Fixes <http://webkit.org/b/31125> REGRESSION (r47121): bugzilla-tool
  18270. create-bug raises exception after entering bug description
  18271. Reviewed by David Kilzer.
  18272. * Scripts/bugzilla-tool:
  18273. (CreateBug): else clauses are only hit if no exception is raised, so
  18274. it makes no sense to try to re-raise the exception in an else clause.
  18275. The exception will automatically be re-raised if it doesn't match any
  18276. of the except clauses, so we don't have to do anything special here at
  18277. all to get the desired behavior.
  18278. 2009-11-04 Eric Seidel <eric@webkit.org>
  18279. Reviewed by David Kilzer.
  18280. svn-apply's fixChangeLogPatch function seems broken
  18281. https://bugs.webkit.org/show_bug.cgi?id=30683
  18282. Update fixChangeLogPatch to be able to handle patches which
  18283. don't start at line 1.
  18284. Add unit tests for svn-apply to scm_unittest.py.
  18285. * Scripts/VCSUtils.pm:
  18286. * Scripts/modules/scm_unittest.py:
  18287. 2009-11-04 Chris Fleizach <cfleizach@apple.com>
  18288. Reviewed by Beth Dakin.
  18289. Need to implement ARIA role="combobox"
  18290. https://bugs.webkit.org/show_bug.cgi?id=31096
  18291. * DumpRenderTree/AccessibilityUIElement.cpp:
  18292. (showMenuCallback):
  18293. (getIsExpandedCallback):
  18294. (AccessibilityUIElement::getJSClass):
  18295. * DumpRenderTree/AccessibilityUIElement.h:
  18296. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  18297. (AccessibilityUIElement::isExpanded):
  18298. (AccessibilityUIElement::showMenu):
  18299. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  18300. (AccessibilityUIElement::isExpanded):
  18301. (AccessibilityUIElement::showMenu):
  18302. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  18303. (AccessibilityUIElement::isSelected):
  18304. (AccessibilityUIElement::isExpanded):
  18305. (AccessibilityUIElement::showMenu):
  18306. 2009-11-04 Eric Seidel <eric@webkit.org>
  18307. Reviewed by Adam Barth.
  18308. commit-queue is crashing when trying to reject patches after unknown failures
  18309. https://bugs.webkit.org/show_bug.cgi?id=31091
  18310. * Scripts/bugzilla-tool:
  18311. - patch['id'] was a copy/paste mistake. This code has no 'patch' variable
  18312. so we have to find out what the current patch is by asking bugzilla again.
  18313. - Discovered that this code was also leaking file descriptors, so fixed that.
  18314. 2009-11-04 Adam Roben <aroben@apple.com>
  18315. Make run-webkit-tests work for the Debug_Internal Windows
  18316. configuration
  18317. In Debug_Internal, DumpRenderTree.exe and ImageDiff.exe have no _debug
  18318. suffix.
  18319. Fixes <http://webkit.org/b/31123>.
  18320. Reviewed by Sam Weinig.
  18321. * Scripts/run-webkit-tests: Don't add the _debug suffix in
  18322. Debug_Internal, either.
  18323. 2009-11-04 Eric Seidel <eric@webkit.org>
  18324. Reviewed by Adam Barth.
  18325. committers.py needs a way to store non-bugzilla email addresses
  18326. https://bugs.webkit.org/show_bug.cgi?id=31037
  18327. Make Committer and Reviewer constructors take a single email or a list of emails.
  18328. Change committer_by_bugzilla_email functions to committer_by_email to support lookup by any email.
  18329. Expose reviewers(), used by validate-committer-lists on bug 30970.
  18330. * Scripts/modules/committers.py:
  18331. * Scripts/modules/committers_unittest.py: Added tests for the new code.
  18332. 2009-11-03 Yuzo Fujishima <yuzo@google.com>
  18333. Reviewed by David Levin.
  18334. Start/Stop Web Socket and Web Socket Secure servers for layout tests.
  18335. https://bugs.webkit.org/show_bug.cgi?id=27491
  18336. The test path determination logic is changed to handle websocket and websocket/ssl cases.
  18337. The logic for non-http (and now also non-websocket) tests is moved toward the end of the if-elsif statement.
  18338. Functions to start or stop Web Socket servers are added.
  18339. * Scripts/run-webkit-tests:
  18340. 2009-11-03 Eric Seidel <eric@webkit.org>
  18341. No review, just changing wording of log message.
  18342. Change log string to say "failed" instead of "rejected"
  18343. when a commit fails due to an out of date checkout.
  18344. This makes grepping the commit-queue log for rejected patches easier.
  18345. * Scripts/bugzilla-tool:
  18346. 2009-11-03 Eric Seidel <eric@webkit.org>
  18347. No review, adding commonly known committers missing from the file.
  18348. * Scripts/modules/committers.py: Add committers found by looking at SVN records.
  18349. 2009-11-03 Eric Seidel <eric@webkit.org>
  18350. No review, just sort-order cleanup.
  18351. * Scripts/modules/committers.py: Sort committers/reviewers alphabetically.
  18352. 2009-11-03 Stephen White <senorblanco@chromium.org>
  18353. (Unreviewed).
  18354. Add myself to committers.py.
  18355. * Scripts/modules/committers.py:
  18356. 2009-11-03 Robin Dunn <robin@alldunn.com>
  18357. Reviewed by Kevin Ollviier.
  18358. Add packaging scripts for Debian-based Linux distros.
  18359. https://bugs.webkit.org/show_bug.cgi?id=31075
  18360. * wx/packaging/build-debian-installer.py: Added.
  18361. * wx/packaging/debian: Added.
  18362. 2009-11-03 Dan Bernstein <mitz@apple.com>
  18363. Reviewed by Anders Carlsson and Beth Dakin.
  18364. https://bugs.webkit.org/show_bug.cgi?id=31070
  18365. Added an 'ondestroy' parameter to the test plug-in. When the plug-in is
  18366. destroyed, it executes the value of the 'ondestroy' parameter as a
  18367. script.
  18368. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  18369. (pluginAllocate): Initialize onDestroy.
  18370. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Define
  18371. onDestroy.
  18372. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  18373. (NPP_New): Set onDestroy to the value of the 'ondestroy' parameter, if
  18374. specified.
  18375. (NPP_Destroy): Execute the value of 'ondestroy' as a script.
  18376. 2009-11-02 Joanmarie Diggs <joanmarie.diggs@gmail.com>
  18377. Reviewed by Xan Lopez.
  18378. https://bugs.webkit.org/show_bug.cgi?id=31035
  18379. [GTK] some accessibility tests hitting assertion in debug builds
  18380. Get the correct Gtk+ object before attempting to turn it into an AtkObject.
  18381. * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
  18382. (AccessibilityController::rootElement):
  18383. 2009-11-02 Chris Fleizach <cfleizach@apple.com>
  18384. Reviewed by Beth Dakin.
  18385. Support ARIA "tab" roles
  18386. https://bugs.webkit.org/show_bug.cgi?id=30842
  18387. * DumpRenderTree/AccessibilityUIElement.cpp:
  18388. * DumpRenderTree/AccessibilityUIElement.h:
  18389. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  18390. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  18391. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  18392. 2009-11-01 Eric Seidel <eric@webkit.org>
  18393. Reviewed by David Levin.
  18394. buildbots should use --exit-after-N-failures
  18395. https://bugs.webkit.org/show_bug.cgi?id=30809
  18396. Make the bots exit after 20 failures to prevent never-ending
  18397. test runs where every test spends a minute crashing.
  18398. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  18399. 2009-11-01 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  18400. Reviewed by Eric Seidel.
  18401. Turn on warnings for QtWebKit for gcc
  18402. https://bugs.webkit.org/show_bug.cgi?id=30958
  18403. * DumpRenderTree/qt/main.cpp:
  18404. (crashHandler): Mark function NO_RETURN
  18405. 2009-11-01 Jessie Berlin <jberlin@webkit.org>
  18406. Adding myself to the committers list.
  18407. * Scripts/modules/committers.py:
  18408. 2009-10-30 Jon Honeycutt <jhoneycutt@apple.com>
  18409. Fix an issue that Adam noticed in DRT.
  18410. Reviewed by Darin Adler.
  18411. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  18412. (AccessibilityUIElement::role):
  18413. Get the length of the role text, and create a buffer dynamically.
  18414. 2009-10-30 Eric Seidel <eric@webkit.org>
  18415. No review, rolling out r50105.
  18416. http://trac.webkit.org/changeset/50105
  18417. This commit was causing:
  18418. https://bugs.webkit.org/show_bug.cgi?id=30869
  18419. We'll re-implement the feature a different way.
  18420. * Scripts/bugzilla-tool:
  18421. 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com>
  18422. Test for MSAA: Accessibility of headings is not correct
  18423. https://bugs.webkit.org/show_bug.cgi?id=30937
  18424. Reviewed by Adam Roben.
  18425. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  18426. (AccessibilityUIElement::role):
  18427. Allow the role returned to be a BSTR.
  18428. (AccessibilityUIElement::description):
  18429. Fix a copy/paste error.
  18430. 2009-10-29 Jon Honeycutt <jhoneycutt@apple.com>
  18431. Test for MSAA: Accessibility of links is wrong
  18432. https://bugs.webkit.org/show_bug.cgi?id=30928
  18433. Reviewed by Darin Adler.
  18434. * DumpRenderTree/AccessibilityUIElement.cpp:
  18435. (getAccessibilityValueCallback):
  18436. Return the accessibility value.
  18437. (AccessibilityUIElement::getJSClass):
  18438. Added "accessibilityValue" value.
  18439. * DumpRenderTree/AccessibilityUIElement.h:
  18440. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  18441. (AccessibilityUIElement::accessibilityValue):
  18442. Stubbed.
  18443. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  18444. (AccessibilityUIElement::accessibilityValue):
  18445. Stubbed.
  18446. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  18447. (AccessibilityUIElement::accessibilityValue):
  18448. Get the object's value, and return it as a JS string.
  18449. 2009-10-30 Kevin Ollivier <kevino@theolliviers.com>
  18450. Fix typo in command name used by wx build system.
  18451. * wx/build/build_utils.py:
  18452. 2009-10-30 Adam Barth <abarth@webkit.org>
  18453. Reviewed by Darin Adler.
  18454. Patch v1 is a dumb default name for patches
  18455. https://bugs.webkit.org/show_bug.cgi?id=30952
  18456. Let's use "Patch" instead.
  18457. * Scripts/bugzilla-tool:
  18458. 2009-10-30 Andras Becsi <becsi.andras@stud.u-szeged.hu>
  18459. Unreviewed trivial buildfix.
  18460. [Qt] Buildfix for r50333.
  18461. * DumpRenderTree/qt/DumpRenderTree.pro:
  18462. 2009-10-30 Antonio Gomes <tonikitoo@webkit.org>
  18463. Reviewed by Holger Freyther.
  18464. [Qt] Remove qt/WorkQueue.cpp|h in favor of platform independent WorkQueue
  18465. https://bugs.webkit.org/show_bug.cgi?id=30953
  18466. DumpRenderTree/WorkQueue and DumpRenderTree/qt/WorkQueue share mostly the
  18467. same implementation. Some Q_ASSERTs differ from ASSERTs basically. Patch
  18468. makes qt DRT to share this implementation (as gtk and mac ports do).
  18469. * DumpRenderTree/qt/DumpRenderTree.pro:
  18470. * DumpRenderTree/qt/WorkQueue.cpp: Removed.
  18471. * DumpRenderTree/qt/WorkQueue.h: Removed.
  18472. 2009-10-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
  18473. Unreviewed potential buildbot fix.
  18474. Second try: Reset page history before running each test.
  18475. Apparently the QWebHistory::clear() keeps the current page
  18476. in history which is not what we want, so we not additionally
  18477. sets the history capacity to 0 (forces removing everything)
  18478. and then sets it back to its original value.
  18479. * DumpRenderTree/qt/DumpRenderTree.cpp:
  18480. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  18481. 2009-10-30 Kenneth Rohde Christiansen <kenneth@webkit.org>
  18482. Unreviewed potential buildbot fix.
  18483. Reset page history before running each test.
  18484. * DumpRenderTree/qt/DumpRenderTree.cpp:
  18485. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  18486. 2009-10-30 Roland Steiner <rolandsteiner@chromium.org>
  18487. Reviewed by Eric Seidel.
  18488. Remove ENABLE_RUBY guards as discussed with Dave Hyatt and Maciej Stachowiak.
  18489. Bug 28420 - Implement HTML5 <ruby> rendering
  18490. (https://bugs.webkit.org/show_bug.cgi?id=28420)
  18491. No new tests (no functional change).
  18492. * Scripts/build-webkit:
  18493. 2009-10-29 Dan Bernstein <mitz@apple.com>
  18494. Reviewed by Mark Rowe.
  18495. Fix “Undefined subroutine” errors in svn-*apply by moving the removeEOL subroutine
  18496. from the two scripts that define it but don’t use it to the script that uses it but doesn’t
  18497. define it.
  18498. * Scripts/VCSUtils.pm:
  18499. * Scripts/svn-apply:
  18500. * Scripts/svn-unapply:
  18501. 2009-10-29 Xan Lopez <xlopez@igalia.com>
  18502. Reviewed by Gustavo Noronha.
  18503. Use the GTK+ main loop instead of rolling our own mini-version of
  18504. it.
  18505. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  18506. (dump):
  18507. (runTest):
  18508. (webViewLoadFinished):
  18509. 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
  18510. Reviewed by Oliver Hunt.
  18511. Implement the Qt version of DRT dumpBackForwardList().
  18512. * DumpRenderTree/qt/DumpRenderTree.cpp:
  18513. (WebCore::dumpHistoryItem):
  18514. (WebCore::DumpRenderTree::dumpBackForwardList):
  18515. 2009-10-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
  18516. Reviewed by Adam Roben.
  18517. Implement DRT functionality for Qt introduced in
  18518. r28690 and r28705.
  18519. - Implemented pathToLocalResource which exposes the functionality of
  18520. converting a given unix path to the correct location on Windows.
  18521. - Implemented a way to remove machine-dependent information from paths
  18522. in layout test results.
  18523. * DumpRenderTree/qt/DumpRenderTree.cpp:
  18524. (WebCore::urlSuitableForTestResult):
  18525. (WebCore::WebPage::javaScriptConsoleMessage):
  18526. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  18527. (LayoutTestController::pathToLocalResource):
  18528. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  18529. 2009-10-28 Roland Steiner <rolandsteiner@chromium.org>
  18530. Adding myself to the committers list.
  18531. * Scripts/modules/committers.py:
  18532. 2009-10-28 Chris Fleizach <cfleizach@apple.com>
  18533. Adding myself to the committers list.
  18534. * Scripts/modules/committers.py:
  18535. 2009-10-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  18536. Reviewed by Jan Alonzo.
  18537. [GTK] API to start inspector for a WebView
  18538. https://bugs.webkit.org/show_bug.cgi?id=22551
  18539. Use the new inspector API to implement the LayoutTestController
  18540. interfaces used to test the inspector.
  18541. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  18542. (webInspectorInspectWebView):
  18543. (createWebView):
  18544. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  18545. (LayoutTestController::showWebInspector):
  18546. (LayoutTestController::closeWebInspector):
  18547. (LayoutTestController::evaluateInWebInspector):
  18548. 2009-10-28 Shinichiro Hamaji <hamaji@chromium.org>
  18549. Reviewed by Eric Seidel.
  18550. [Qt] WebFrame::counterValueForElementById must not be exposed
  18551. https://bugs.webkit.org/show_bug.cgi?id=30882
  18552. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  18553. (LayoutTestController::counterValueForElementById):
  18554. 2009-10-28 Kenneth Rohde Christiansen <kenneth@webkit.org>
  18555. Rubberstamped by Oliver Hunt.
  18556. Fix the warning:
  18557. "warning: ignoring return value of 'char* getcwd(char*, size_t)',
  18558. declared with attribute warn_unused_result".
  18559. by actually checking the result. In the case it is null, an
  18560. error has occoured, so treat it as the other fatal errors.
  18561. * DumpRenderTree/qt/DumpRenderTree.cpp:
  18562. (WebCore::DumpRenderTree::initializeFonts):
  18563. 2009-10-27 Shinichiro Hamaji <hamaji@chromium.org>
  18564. Reviewed by Darin Adler.
  18565. Provide a way to get counter values with layoutTestContoller
  18566. https://bugs.webkit.org/show_bug.cgi?id=30555
  18567. Define layoutTestContoller.counterValueForElementById.
  18568. * DumpRenderTree/LayoutTestController.cpp:
  18569. (counterValueForElementByIdCallback):
  18570. (LayoutTestController::staticFunctions):
  18571. * DumpRenderTree/LayoutTestController.h:
  18572. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  18573. (LayoutTestController::counterValueForElementById):
  18574. 2009-10-27 Kenneth Rohde Christiansen <kenneth@webkit.org>
  18575. Rubberstamped by Oliver Hunt.
  18576. Change two methods to be internal for DRT use only.
  18577. Part of [Qt] Review all new API in Qt 4.6
  18578. https://bugs.webkit.org/show_bug.cgi?id=29843#c11
  18579. * DumpRenderTree/qt/DumpRenderTree.cpp:
  18580. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  18581. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  18582. (LayoutTestController::whiteListAccessFromOrigin):
  18583. 2009-10-27 Eric Seidel <eric@webkit.org>
  18584. Reviewed by Adam Barth.
  18585. REGRESSION: svn-apply exits(1) when applying a patch with a file add
  18586. https://bugs.webkit.org/show_bug.cgi?id=30826
  18587. * Scripts/svn-apply:
  18588. - Add () around all system() calls.
  18589. - Use the correct system() == 0 or die instead of system() or die
  18590. - Add descriptive messages to all die statements.
  18591. 2009-10-27 Steve Block <steveblock@google.com>
  18592. Reviewed by NOBODY.
  18593. Adds steveblock@google.com to list of committers.
  18594. * Scripts/modules/committers.py: Adds steveblock@google.com to list of committers.
  18595. 2009-10-27 Eric Seidel <eric@webkit.org>
  18596. Reviewed by Adam Barth.
  18597. svn-apply can exit(0) even on patch failure
  18598. https://bugs.webkit.org/show_bug.cgi?id=29622
  18599. * Scripts/svn-apply:
  18600. - Add a bunch of "or die" statements, hopefully catching all
  18601. possible cases where failure could still exit(0).
  18602. 2009-10-27 Eric Seidel <eric@webkit.org>
  18603. Reviewed by Adam Barth.
  18604. svn-* scripts should share code through VCSUtils.pm
  18605. https://bugs.webkit.org/show_bug.cgi?id=30791
  18606. Just moving code into a shared location.
  18607. * Scripts/VCSUtils.pm:
  18608. * Scripts/prepare-ChangeLog:
  18609. * Scripts/resolve-ChangeLogs:
  18610. * Scripts/svn-apply:
  18611. * Scripts/svn-create-patch:
  18612. * Scripts/svn-unapply:
  18613. * Scripts/update-webkit:
  18614. 2009-10-27 Vadim Zeitlin <vadim@wxwidgets.org>
  18615. Suppress a huge number of MSVC warnings when building wxWebKit.
  18616. * wx/build/settings.py:
  18617. 2009-10-26 Eric Seidel <eric@webkit.org>
  18618. No review, just adding Mike Belshe to the committers list.
  18619. * Scripts/modules/committers.py:
  18620. 2009-10-26 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  18621. Reviewed by Darin Adler.
  18622. Make .rc files compile on Windows without depending on MFC headers
  18623. https://bugs.webkit.org/show_bug.cgi?id=30750
  18624. * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc: Use
  18625. windows.h instead of afxres.h because it exists even when MFC is not
  18626. installed, and is all that's needed here.
  18627. * FindSafari/FindSafari.rc: Ditto
  18628. 2009-10-24 Eric Seidel <eric@webkit.org>
  18629. Reviewed by Adam Barth.
  18630. bugzilla-tool post-diff should know how to mark commit-queue=?
  18631. https://bugs.webkit.org/show_bug.cgi?id=29202
  18632. * Scripts/bugzilla-tool:
  18633. - Add --commit-queue option to post-diff, post-commits and create-bug.
  18634. * Scripts/modules/bugzilla.py:
  18635. - Added support for --commit-queue to add_patch_to_bug and create_bug_with_patch.
  18636. - Added _fill_attachment_form to share code between add_patch_to_bug and create_bug_with_patch.
  18637. 2009-10-23 Eric Seidel <eric@webkit.org>
  18638. Reviewed by Adam Barth.
  18639. bugzilla-tool commit-queue does not notice modifications to committers.py
  18640. https://bugs.webkit.org/show_bug.cgi?id=30084
  18641. * Scripts/bugzilla-tool:
  18642. - Make commit-queue re-exec itself instead of using while(1).
  18643. - Add a --is-relaunch parameter to commit-queue to bypass initialization on re-launch.
  18644. - Add a _next_patch() method which calls exec() (and could eventually call update-webkit too).
  18645. 2009-10-22 Eric Seidel <eric@webkit.org>
  18646. Reviewed by Adam Barth.
  18647. commit-queue will get stuck on patches if land-patches terminates unexpectedly
  18648. https://bugs.webkit.org/show_bug.cgi?id=30634
  18649. * Scripts/bugzilla-tool:
  18650. - Add a way for land-patches to exit(2) to indicate an error, but one it has handled.
  18651. - Make commit-queue auto cq- any patch where land-patches exited anything other than '0' or '2'.
  18652. 2009-10-26 Yuzo Fujishima <yuzo@google.com>
  18653. Reviewed by Eric Seidel.
  18654. Upgrade pywebsocket to 0.4.1. This will make reusing LayoutTests/fast/js/resources easier, for example.
  18655. https://bugs.webkit.org/show_bug.cgi?id=30763
  18656. * pywebsocket/mod_pywebsocket/__init__.py:
  18657. * pywebsocket/mod_pywebsocket/dispatch.py:
  18658. * pywebsocket/mod_pywebsocket/headerparserhandler.py:
  18659. * pywebsocket/mod_pywebsocket/standalone.py:
  18660. * pywebsocket/setup.py:
  18661. * pywebsocket/test/test_dispatch.py:
  18662. 2009-10-26 Carol Szabo <carol.szabo@nokia.com>
  18663. Reviewed by David Levin.
  18664. REGRESSION: 2 failures in run-webkit-unittests
  18665. https://bugs.webkit.org/show_bug.cgi?id=30645
  18666. * Scripts/modules/cpp_style_unittest.py:
  18667. Fixed a few test scenarios which apparently lost some spaces from
  18668. text literals.
  18669. 2009-10-26 Kevin Ollivier <kevino@theolliviers.com>
  18670. wx build fix. Make sure isQt() doesn't return true if --wx was passed to build-webkit.
  18671. * Scripts/webkitdirs.pm:
  18672. 2009-10-26 Csaba Osztrogonác <ossy@webkit.org>
  18673. Reviewed by Darin Adler.
  18674. Unification of using null device in perl scripts.
  18675. https://bugs.webkit.org/show_bug.cgi?id=30572
  18676. * Scripts/VCSUtils.pm:
  18677. * Scripts/bisect-builds:
  18678. * Scripts/resolve-ChangeLogs:
  18679. * Scripts/run-iexploder-tests:
  18680. * Scripts/run-jsc:
  18681. * Scripts/run-mangleme-tests:
  18682. * Scripts/run-webkit-tests:
  18683. * Scripts/webkitdirs.pm:
  18684. Using File::Spec->devnull() instead of hard coded /dev/null.
  18685. 2009-10-26 Eric Seidel <eric@webkit.org>
  18686. Reviewed by Holger Freyther.
  18687. Reviewers are missing from committers.py
  18688. https://bugs.webkit.org/show_bug.cgi?id=30733
  18689. * Scripts/modules/committers.py:
  18690. 2009-10-23 Eric Seidel <eric@webkit.org>
  18691. No review, only adding Alice to the list of reviewers.
  18692. * Scripts/modules/committers.py:
  18693. 2009-10-23 Eric Seidel <eric@webkit.org>
  18694. Reviewed by Eric Carlson.
  18695. fast/media/mq-transform-02.html failed on Leopard Commit Bot
  18696. https://bugs.webkit.org/show_bug.cgi?id=30700
  18697. * DumpRenderTree/mac/DumpRenderTree.mm:
  18698. (resetDefaultsToConsistentValues): Update QuickTime version check.
  18699. 2009-10-23 Kevin Ollivier <kevino@theolliviers.com>
  18700. wxMac 10.4 build fix, needs to link against WebKitSystemInterfaceTiger to get
  18701. character measurement APIs that are private on Tiger.
  18702. * wx/build/settings.py:
  18703. 2009-10-22 Gavin Barraclough <barraclough@apple.com>
  18704. Reviewed by NOBODY (build fix).
  18705. Build fix following bug #30696.
  18706. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  18707. (LayoutTestController::evaluateScriptInIsolatedWorld):
  18708. 2009-10-22 Gavin Barraclough <barraclough@apple.com>
  18709. Reviewed by Sam Weinig & Geoff Garen.
  18710. https://bugs.webkit.org/show_bug.cgi?id=30696
  18711. Enable isolated-worlds tests on mac.
  18712. Add private interface for DRT to invoke execution in a given world.
  18713. * DumpRenderTree/LayoutTestController.cpp:
  18714. (evaluateScriptInIsolatedWorldCallback):
  18715. (LayoutTestController::staticFunctions):
  18716. * DumpRenderTree/LayoutTestController.h:
  18717. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  18718. (LayoutTestController::evaluateScriptInIsolatedWorld):
  18719. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  18720. (LayoutTestController::evaluateScriptInIsolatedWorld):
  18721. 2009-10-21 Eric Seidel <eric@webkit.org>
  18722. Reviewed by Adam Barth.
  18723. bugzilla-tool's "patch failed to download an apply" error should give more information
  18724. https://bugs.webkit.org/show_bug.cgi?id=30632
  18725. * Scripts/modules/scm.py:
  18726. - Use the common run_command method instead of custom POpen code.
  18727. - Make run_command know how to take pipes as input.
  18728. * Scripts/modules/scm_unittest.py:
  18729. - Add new tests to cover change.
  18730. - Also move test_error_handlers into new SCMClassTests so we don't run it 3 times.
  18731. 2009-10-21 Kent Tamura <tkent@chromium.org>
  18732. Unreviewed. Adding myself to the committers list.
  18733. * Scripts/modules/committers.py:
  18734. 2009-10-21 Robin Dunn <robin@alldunn.com>
  18735. Reviewed by Kevin Ollivier.
  18736. Update the Windows installer builder to work with Vista / Win 7 and with git.
  18737. https://bugs.webkit.org/show_bug.cgi?id=30649
  18738. * wx/build/build_utils.py:
  18739. * wx/packaging/build-mac-installer.py:
  18740. * wx/packaging/build-win-installer.py:
  18741. * wx/packaging/wxWebKitInstaller.iss.in:
  18742. 2009-10-21 Alejandro G. Castro <alex@igalia.com>
  18743. Reviewed by Gustavo Noronha.
  18744. [GTK] Added conditional code to avoid using
  18745. gdk_window_get_root_coords if we do not have a gtk+ release newer
  18746. than 2.17.3.
  18747. https://bugs.webkit.org/show_bug.cgi?id=30636
  18748. * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
  18749. 2009-10-21 Shu Chang <Chang.Shu@nokia.com>
  18750. Reviewed by Eric Seidel.
  18751. [Qt] Added dummy implementation for keepWebHistory()
  18752. https://bugs.webkit.org/show_bug.cgi?id=30592
  18753. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  18754. (LayoutTestController::keepWebHistory):
  18755. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  18756. 2009-10-21 Alejandro G. Castro <alex@igalia.com>
  18757. Reviewed by Xan Lopez.
  18758. [GTK] Fixed the double click condition, it is not double click if
  18759. we move in just in one direction.
  18760. https://bugs.webkit.org/show_bug.cgi?id=30636
  18761. * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
  18762. 2009-10-21 Alejandro G. Castro <alex@igalia.com>
  18763. Reviewed by Xan Lopez.
  18764. [GTK] Initialize the events completly before emitting them.
  18765. https://bugs.webkit.org/show_bug.cgi?id=30633
  18766. * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
  18767. 2009-10-21 Kevin Ollivier <kevino@theolliviers.com>
  18768. wx build fix. Fix for when linking using --as-needed with gcc.
  18769. * wx/browser/wscript:
  18770. 2009-10-21 Kevin Ollivier <kevino@theolliviers.com>
  18771. wxMac 10.4 build fix. Build and link against a version of libcurl new enough
  18772. to support all the features used by CURL backend.
  18773. * wx/build/settings.py:
  18774. * wx/install-unix-extras:
  18775. 2009-10-20 Anton Muhin <antonm@chromium.org>
  18776. Reviewed by Adam Barth.
  18777. Add {ager,antonm,yurys}@chromium.org into committers.py
  18778. https://bugs.webkit.org/show_bug.cgi?id=30560
  18779. * Scripts/modules/committers.py:
  18780. 2009-10-20 Kenneth Rohde Christiansen <kenneth@webkit.org>
  18781. Reviewed by Tor Arne Vestbø.
  18782. Make the Netscape Test plugin available to the Qt launcher.
  18783. * Scripts/run-launcher:
  18784. 2009-10-20 Fumitoshi Ukai <ukai@chromium.org>
  18785. Reviewed by David Levin.
  18786. Removed WebSocket runtime settings.
  18787. https://bugs.webkit.org/show_bug.cgi?id=29896
  18788. WebSocket runtime configuration is supported by chromium/v8 only.
  18789. * DumpRenderTree/mac/DumpRenderTree.mm:
  18790. (resetDefaultsToConsistentValues):
  18791. * DumpRenderTree/win/DumpRenderTree.cpp:
  18792. (resetDefaultsToConsistentValues):
  18793. 2009-10-19 Nate Chapin <japhet@chromium.org>
  18794. Reviewed by Adam Barth.
  18795. Add testFail() to test plugin so we can test our handling of a
  18796. plugin invoke call returning false.
  18797. https://bugs.webkit.org/show_bug.cgi?id=30239
  18798. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add testFail().
  18799. (pluginInvoke):
  18800. (testIdentifierToString): Always return true, since returning false will now cause an exception to be thrown.
  18801. 2009-10-19 Zan Dobersek <zandobersek@gmail.com>
  18802. Reviewed by Gustavo Noronha.
  18803. Enable DOM pasting when running layout tests.
  18804. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  18805. (resetDefaultsToConsistentValues):
  18806. 2009-10-18 Kenneth Rohde Christiansen <kenneth@webkit.org>
  18807. Reviewed by Simon Hausmann.
  18808. Use the setPreferredContentsSize method instead
  18809. of setFixedContentsSize, as the method has been renamed.
  18810. * DumpRenderTree/qt/DumpRenderTree.cpp:
  18811. (WebCore::DumpRenderTree::open):
  18812. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  18813. (LayoutTestController::setFixedContentsSize):
  18814. 2009-10-16 Steve Falkenburg <sfalken@apple.com>
  18815. Reviewed by Dan Bernstein.
  18816. https://bugs.webkit.org/show_bug.cgi?id=30456
  18817. Fixes for new Debug_All Windows build configuration.
  18818. * DumpRenderTree/win/DumpRenderTree.cpp:
  18819. (sharedCFURLCache): Use new DEBUG_ALL preprocessor define for library naming.
  18820. * DumpRenderTree/win/DumpRenderTree.vcproj: Remove unused DEBUG_WEBKIT_HAS_SUFFIX.
  18821. 2009-10-16 Eric Seidel <eric@webkit.org>
  18822. Reviewed by Adam Barth.
  18823. commit-queue status bot should list which buildbot is blocking the queue
  18824. https://bugs.webkit.org/show_bug.cgi?id=30452
  18825. Add new methods and testing.
  18826. * Scripts/bugzilla-tool:
  18827. * Scripts/modules/buildbot.py:
  18828. * Scripts/modules/buildbot_unittest.py:
  18829. 2009-10-16 Eric Seidel <eric@webkit.org>
  18830. Reviewed by Adam Barth.
  18831. run-webkit-tests fails when CWD is not inside a WebKit checkout
  18832. https://bugs.webkit.org/show_bug.cgi?id=30451
  18833. * Scripts/modules/scm.py: in_working_directory shouldn't throw exceptions on failure.
  18834. * Scripts/modules/scm_unittest.py:
  18835. - Remove use of original_path (we don't need to restore the CWD).
  18836. - Don't use '.' to find the webkit checkout, use __file__ instead.
  18837. 2009-10-16 Steve Falkenburg <sfalken@apple.com>
  18838. Reviewed by Adam Roben.
  18839. Add a Debug_All configuration to build entire stack as debug.
  18840. Change Debug_Internal to:
  18841. - stop using _debug suffix for all WebKit/Safari binaries
  18842. - not use _debug as a DLL naming suffix
  18843. - use non-debug C runtime lib.
  18844. * DumpRenderTree/DumpRenderTree.sln: Add Debug_All configuration.
  18845. * DumpRenderTree/win/DumpRenderTree.vcproj: Add Debug_All configuration.
  18846. * DumpRenderTree/win/ImageDiff.vcproj: Add Debug_All configuration.
  18847. * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
  18848. Add missing debug.vsprops inherited property sheet.
  18849. Add Debug_All configuration.
  18850. * FindSafari/FindSafari.vcproj: Renamed single configuration from "Release" to "all".
  18851. * WinLauncher/WinLauncher.vcproj:
  18852. Removed extraneous definitions inherited from vsprops.
  18853. Add Debug_All configuration.
  18854. 2009-10-16 Carol Szabo <carol.szabo@nokia.com>
  18855. Reviewed by David Levin.
  18856. check-webkit-style is wrong about indent checking in namespaces
  18857. in header files and a few other things
  18858. https://bugs.webkit.org/show_bug.cgi?id=30362
  18859. The few other things include:
  18860. + check-webkit-style does not require spaces around the equal sign
  18861. inside 'if' statements and around binary operators that take
  18862. numeric literals.
  18863. + check-webkit-style reports false errors for the / operator
  18864. when part of a filename in the #include directive.
  18865. * Scripts/modules/cpp_style.py:
  18866. Improved indentation checking and space checking around
  18867. binary operators. While the checks are still not perfect,
  18868. they are clearly better than before.
  18869. * Scripts/modules/cpp_style_unittest.py:
  18870. Added test cases for the newly supported checks and modified old
  18871. test cases to match the new guidelines
  18872. 2009-10-16 Kevin Ollivier <kevino@theolliviers.com>
  18873. wxMSW build fix. Link to MSW library needed by PluginPackageWin.cpp.
  18874. * wx/build/settings.py:
  18875. 2009-10-15 Yuzo Fujishima <yuzo@google.com>
  18876. Reviewed by David Levin.
  18877. Add mod_pywebsocket to test Web Sockets.
  18878. http://code.google.com/p/pywebsocket/
  18879. https://bugs.webkit.org/show_bug.cgi?id=27490
  18880. * pywebsocket/COPYING: Added.
  18881. * pywebsocket/MANIFEST.in: Added.
  18882. * pywebsocket/README: Added.
  18883. * pywebsocket/example/echo_client.py: Added.
  18884. * pywebsocket/example/echo_wsh.py: Added.
  18885. * pywebsocket/mod_pywebsocket/__init__.py: Added.
  18886. * pywebsocket/mod_pywebsocket/dispatch.py: Added.
  18887. * pywebsocket/mod_pywebsocket/handshake.py: Added.
  18888. * pywebsocket/mod_pywebsocket/headerparserhandler.py: Added.
  18889. * pywebsocket/mod_pywebsocket/msgutil.py: Added.
  18890. * pywebsocket/mod_pywebsocket/standalone.py: Added.
  18891. * pywebsocket/mod_pywebsocket/util.py: Added.
  18892. * pywebsocket/setup.py: Added.
  18893. * pywebsocket/test/config.py: Added.
  18894. * pywebsocket/test/mock.py: Added.
  18895. * pywebsocket/test/run_all.py: Added.
  18896. * pywebsocket/test/test_dispatch.py: Added.
  18897. * pywebsocket/test/test_handshake.py: Added.
  18898. * pywebsocket/test/test_mock.py: Added.
  18899. * pywebsocket/test/test_msgutil.py: Added.
  18900. * pywebsocket/test/test_util.py: Added.
  18901. * pywebsocket/test/testdata/handlers/blank_wsh.py: Added.
  18902. * pywebsocket/test/testdata/handlers/origin_check_wsh.py: Added.
  18903. * pywebsocket/test/testdata/handlers/sub/exception_in_transfer_wsh.py: Added.
  18904. * pywebsocket/test/testdata/handlers/sub/no_wsh_at_the_end.py: Added.
  18905. * pywebsocket/test/testdata/handlers/sub/non_callable_wsh.py: Added.
  18906. * pywebsocket/test/testdata/handlers/sub/plain_wsh.py: Added.
  18907. * pywebsocket/test/testdata/handlers/sub/wrong_handshake_sig_wsh.py: Added.
  18908. * pywebsocket/test/testdata/handlers/sub/wrong_transfer_sig_wsh.py: Added.
  18909. 2009-10-15 James Robinson <jamesr@google.com>
  18910. Reviewed by David Levin.
  18911. Updates check-webkit-style to reflect that code inside a namespace should not be indented, even in a header file.
  18912. https://bugs.webkit.org/show_bug.cgi?id=30426
  18913. * Scripts/modules/cpp_style.py:
  18914. * Scripts/modules/cpp_style_unittest.py:
  18915. 2009-10-15 Brian Weinstein <bweinstein@apple.com>
  18916. Reviewed by Adam Roben.
  18917. Fixes <http://webkit.org/b/30411>.
  18918. REGRESSION(49485): pdevenv doesn't compile in parallel for non-chromium builds on Windows.
  18919. Added a check for isChromium() in pdevenv, and pass /useenv if we are not
  18920. building Chromium.
  18921. * Scripts/pdevenv:
  18922. 2009-10-15 Robin Dunn <robin@alldunn.com>
  18923. Reviewed by Kevin Ollivier.
  18924. Add Mac package building scripts for wx.
  18925. https://bugs.webkit.org/show_bug.cgi?id=30405
  18926. * wx/build/build_utils.py:
  18927. * wx/build/settings.py:
  18928. * wx/packaging/build-mac-installer.py: Added.
  18929. 2009-10-15 Zan Dobersek <zandobersek@gmail.com>
  18930. Reviewed by Gustavo Noronha.
  18931. Enable Web Sockets support when running layout tests.
  18932. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  18933. (resetDefaultsToConsistentValues):
  18934. 2009-10-15 Xan Lopez <xlopez@igalia.com>
  18935. Reviewed by Gustavo Noronha.
  18936. Need to initialize event.button.button, since in most cases a
  18937. button number is not passed as an argument.
  18938. * DumpRenderTree/gtk/EventSender.cpp:
  18939. (mouseDownCallback):
  18940. (mouseUpCallback):
  18941. 2009-10-15 Kevin Ollivier <kevino@theolliviers.com>
  18942. wx build fix. More SDK fixes for Mac, make sure we use the SDK corresponding to
  18943. the OS if none was explicitly set.
  18944. * wx/build/settings.py:
  18945. 2009-10-14 Pavel Feldman <pfeldman@chromium.org>
  18946. Reviewed by Timothy Hatcher.
  18947. Web Inspector: enable developers extras within inspector layout tests.
  18948. https://bugs.webkit.org/show_bug.cgi?id=30014
  18949. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  18950. (LayoutTestController::showWebInspector):
  18951. (LayoutTestController::closeWebInspector):
  18952. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  18953. (LayoutTestController::showWebInspector):
  18954. (LayoutTestController::closeWebInspector):
  18955. 2009-10-14 José Millán Soto <jmillan@igalia.com>
  18956. Reviewed by Jan Alonzo.
  18957. GtkLauncher is using a deprecated signal
  18958. https://bugs.webkit.org/show_bug.cgi?id=30364
  18959. Modified GtkLauncher to use notify::title signal instead of
  18960. deprecated title-changed signal
  18961. * GtkLauncher/main.c:
  18962. (notify_title_cb):
  18963. (create_browser):
  18964. 2009-10-14 Brady Eidson <beidson@apple.com>
  18965. Reviewed by Sam Weinig.
  18966. Don't set the history delegate on new windows that are opened during a test, as the history delegate:
  18967. 1 - Disables WebHistory
  18968. 2 - Doesn't make sense in that context anyway.
  18969. * DumpRenderTree/win/DumpRenderTree.cpp:
  18970. (createWebViewAndOffscreenWindow):
  18971. 2009-10-14 Kevin Ollivier <kevino@theolliviers.com>
  18972. wxMac build fix. Ensure 10.4 compatibility for deps, and allow the user to specify
  18973. the SDK to use since Python overrides any user-set value of MACOSX_DEPLOYMENT_TARGET.
  18974. * wx/build/settings.py:
  18975. * wx/install-unix-extras:
  18976. 2009-10-14 Brady Eidson <beidson@apple.com>
  18977. Reviewed by Sam Weinig.
  18978. WebKit Win API should provide a delegate interface for global history.
  18979. https://bugs.webkit.org/show_bug.cgi?id=29905
  18980. * DumpRenderTree/LayoutTestController.cpp:
  18981. (LayoutTestController::LayoutTestController):
  18982. * DumpRenderTree/LayoutTestController.h:
  18983. (LayoutTestController::dumpHistoryDelegateCallbacks):
  18984. (LayoutTestController::setDumpHistoryDelegateCallbacks):
  18985. * DumpRenderTree/win/DumpRenderTree.cpp:
  18986. (shouldLogHistoryDelegates):
  18987. (runTest):
  18988. (createWebViewAndOffscreenWindow):
  18989. (main):
  18990. * DumpRenderTree/win/DumpRenderTree.vcproj:
  18991. Add the IWebHistoryDelegate to DRT Windows:
  18992. * DumpRenderTree/win/HistoryDelegate.cpp: Added.
  18993. (wstringFromBSTR):
  18994. (HistoryDelegate::HistoryDelegate):
  18995. (HistoryDelegate::~HistoryDelegate):
  18996. (HistoryDelegate::QueryInterface):
  18997. (HistoryDelegate::AddRef):
  18998. (HistoryDelegate::Release):
  18999. (HistoryDelegate::didNavigateWithNavigationData):
  19000. (HistoryDelegate::didPerformClientRedirectFromURL):
  19001. (HistoryDelegate::didPerformServerRedirectFromURL):
  19002. (HistoryDelegate::updateHistoryTitle):
  19003. (HistoryDelegate::populateVisitedLinksForWebView):
  19004. * DumpRenderTree/win/HistoryDelegate.h: Added.
  19005. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  19006. (LayoutTestController::removeAllVisitedLinks):
  19007. 2009-10-14 Shu Chang <Chang.Shu@nokia.com>
  19008. Reviewed by Simon Hausmann.
  19009. [Qt] Implement support for setPOSIXLocale on Qt.
  19010. https://bugs.webkit.org/show_bug.cgi?id=30268
  19011. * DumpRenderTree/qt/DumpRenderTree.cpp:
  19012. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  19013. * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
  19014. (LayoutTestController::setPOSIXLocale):
  19015. * DumpRenderTree/qt/LayoutTestControllerQt.h:
  19016. 2009-10-13 Stephanie Lewis <slewis@apple.com>
  19017. Unreviewed, adding myself to reviewers list.
  19018. * Scripts/modules/committers.py:
  19019. 2009-10-13 Stephanie Lewis <slewis@apple.com>
  19020. Reviewed by Mark Rowe.
  19021. Fix null assignment so root tests work again.
  19022. * Scripts/webkitdirs.pm:
  19023. 2009-10-13 Andras Becsi <becsi.andras@stud.u-szeged.hu>
  19024. Reviewed by Simon Hausmann.
  19025. [Qt] Refactor LayoutTestController, EventSender, TextInputController and WorkQueueItem classes
  19026. out of jsobjects into separate files to get a more structured DumpRenderTree implementation.
  19027. This is done in preparation of implementing missing features in DRT.
  19028. No functionality changes made yet.
  19029. * DumpRenderTree/qt/DumpRenderTree.cpp:
  19030. * DumpRenderTree/qt/DumpRenderTree.pro:
  19031. * DumpRenderTree/qt/EventSenderQt.cpp: Added.
  19032. (EventSender::EventSender):
  19033. (EventSender::mouseDown):
  19034. (EventSender::mouseUp):
  19035. (EventSender::mouseMoveTo):
  19036. (EventSender::leapForward):
  19037. (EventSender::keyDown):
  19038. (EventSender::contextClick):
  19039. (EventSender::scheduleAsynchronousClick):
  19040. (EventSender::frameUnderMouse):
  19041. * DumpRenderTree/qt/EventSenderQt.h: Added.
  19042. (EventSender::clearKillRing):
  19043. * DumpRenderTree/qt/LayoutTestControllerQt.cpp: Added.
  19044. (LayoutTestController::LayoutTestController):
  19045. (LayoutTestController::reset):
  19046. (LayoutTestController::processWork):
  19047. (LayoutTestController::maybeDump):
  19048. (LayoutTestController::waitUntilDone):
  19049. (LayoutTestController::notifyDone):
  19050. (LayoutTestController::windowCount):
  19051. (LayoutTestController::clearBackForwardList):
  19052. (LayoutTestController::dumpEditingCallbacks):
  19053. (LayoutTestController::dumpResourceLoadCallbacks):
  19054. (LayoutTestController::queueBackNavigation):
  19055. (LayoutTestController::queueForwardNavigation):
  19056. (LayoutTestController::queueLoad):
  19057. (LayoutTestController::queueReload):
  19058. (LayoutTestController::queueScript):
  19059. (LayoutTestController::provisionalLoad):
  19060. (LayoutTestController::timerEvent):
  19061. (LayoutTestController::encodeHostName):
  19062. (LayoutTestController::decodeHostName):
  19063. (LayoutTestController::setJavaScriptProfilingEnabled):
  19064. (LayoutTestController::setFixedContentsSize):
  19065. (LayoutTestController::setPrivateBrowsingEnabled):
  19066. (LayoutTestController::setPopupBlockingEnabled):
  19067. (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
  19068. (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
  19069. (LayoutTestController::numberOfActiveAnimations):
  19070. (LayoutTestController::disableImageLoading):
  19071. (LayoutTestController::dispatchPendingLoadRequests):
  19072. (LayoutTestController::setDatabaseQuota):
  19073. (LayoutTestController::clearAllDatabases):
  19074. (LayoutTestController::whiteListAccessFromOrigin):
  19075. (LayoutTestController::waitForPolicyDelegate):
  19076. (LayoutTestController::overridePreference):
  19077. * DumpRenderTree/qt/LayoutTestControllerQt.h: Added.
  19078. (LayoutTestController::isLoading):
  19079. (LayoutTestController::setLoading):
  19080. (LayoutTestController::shouldDumpAsText):
  19081. (LayoutTestController::shouldDumpBackForwardList):
  19082. (LayoutTestController::shouldDumpChildrenAsText):
  19083. (LayoutTestController::shouldDumpDatabaseCallbacks):
  19084. (LayoutTestController::shouldDumpStatusCallbacks):
  19085. (LayoutTestController::shouldWaitUntilDone):
  19086. (LayoutTestController::canOpenWindows):
  19087. (LayoutTestController::shouldDumpTitleChanges):
  19088. (LayoutTestController::waitForPolicy):
  19089. (LayoutTestController::dumpAsText):
  19090. (LayoutTestController::dumpChildFramesAsText):
  19091. (LayoutTestController::dumpDatabaseCallbacks):
  19092. (LayoutTestController::dumpStatusCallbacks):
  19093. (LayoutTestController::setCanOpenWindows):
  19094. (LayoutTestController::dumpBackForwardList):
  19095. (LayoutTestController::setCloseRemainingWindowsWhenComplete):
  19096. (LayoutTestController::display):
  19097. (LayoutTestController::dumpTitleChanges):
  19098. (LayoutTestController::dumpSelectionRect):
  19099. * DumpRenderTree/qt/TextInputControllerQt.cpp: Added.
  19100. (TextInputController::TextInputController):
  19101. (TextInputController::doCommand):
  19102. * DumpRenderTree/qt/TextInputControllerQt.h: Added.
  19103. * DumpRenderTree/qt/WorkQueue.cpp:
  19104. * DumpRenderTree/qt/WorkQueue.h:
  19105. * DumpRenderTree/qt/WorkQueueItem.h:
  19106. * DumpRenderTree/qt/WorkQueueItemQt.cpp: Added.
  19107. (findFrameNamed):
  19108. (LoadItem::invoke):
  19109. (ReloadItem::invoke):
  19110. (ScriptItem::invoke):
  19111. (BackForwardItem::invoke):
  19112. * DumpRenderTree/qt/jsobjects.cpp: Move all the above classes into separate files
  19113. * DumpRenderTree/qt/jsobjects.h:
  19114. 2009-10-13 Dmitry Titov <dimich@chromium.org>
  19115. Not reviewed, adding myself to the list of reviewers.
  19116. * Scripts/modules/committers.py:
  19117. 2009-10-13 Anders Carlsson <andersca@apple.com>
  19118. Reviewed by Sam Weinig.
  19119. <rdar://problem/6660507> Add "privacy mode" to Netscape Plug-in API
  19120. Make the private browsing mode testable by the test plug-in.
  19121. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  19122. (pluginGetProperty):
  19123. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
  19124. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  19125. (NPP_New):
  19126. (NPP_SetValue):
  19127. 2009-10-13 Pavel Feldman <pfeldman@chromium.org>
  19128. No review, just adding self to the list of reviewers.
  19129. * Scripts/modules/committers.py:
  19130. 2009-10-12 Pavel Feldman <pfeldman@chromium.org>
  19131. Reviewed by Adam Roben.
  19132. Web Inspector: Use proper web view in inspector layout
  19133. tests for windows.
  19134. https://bugs.webkit.org/show_bug.cgi?id=30298
  19135. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  19136. (LayoutTestController::showWebInspector):
  19137. (LayoutTestController::closeWebInspector):
  19138. (LayoutTestController::evaluateInWebInspector):
  19139. 2009-10-12 Fumitoshi Ukai <ukai@chromium.org>
  19140. Reviewed by Sam Weinig.
  19141. Enable experimentalWebSocket in DumpRenderTree for LayoutTest.
  19142. https://bugs.webkit.org/show_bug.cgi?id=29841
  19143. * DumpRenderTree/mac/DumpRenderTree.mm:
  19144. (resetDefaultsToConsistentValues):
  19145. * DumpRenderTree/win/DumpRenderTree.cpp:
  19146. (resetDefaultsToConsistentValues):
  19147. 2009-10-12 Yaar Schnitman <yaar@chromium.org>
  19148. Reviewed by Dimitri Glazkov.
  19149. Chromium Port - Windows
  19150. https://bugs.webkit.org/show_bug.cgi?id=29969
  19151. * Scripts/pdevenv: removed msvc's /useenv for chromium builds
  19152. * Scripts/webkitdirs.pm:
  19153. 2009-10-12 Csaba Osztrogonac <ossy@webkit.org>
  19154. Reviewed by Darin Adler.
  19155. jsc scripts cleanup and Qt/GTK fix
  19156. https://bugs.webkit.org/show_bug.cgi?id=30288
  19157. Duplicated jscPath() moved to webkitdirs.pm.
  19158. New jscProductDir() added to webkitdirs.pm instead of duplicated codes.
  19159. Configuration added (release/debug) to path for Qt-port on Windows.
  19160. * Scripts/run-javascriptcore-tests:
  19161. * Scripts/run-jsc:
  19162. * Scripts/run-sunspider:
  19163. * Scripts/sunspider-compare-results:
  19164. * Scripts/webkitdirs.pm:
  19165. 2009-10-11 Adam Barth <abarth@webkit.org>
  19166. Unreviewed. Add Collin to committers.py.
  19167. * Scripts/modules/committers.py:
  19168. 2009-10-11 Kevin Ollivier <kevino@theolliviers.com>
  19169. wx build fix, add bindings to source/include dirs now that there are sources there.
  19170. * wx/build/settings.py:
  19171. 2009-10-09 Mark Rowe <mrowe@apple.com>
  19172. Reviewed by Brady Eidson.
  19173. Enable plug-in halting in DumpRenderTree.
  19174. We drop the plug-in halting delay to 1 second and opt in the delegate method to never halt plug-ins.
  19175. This is sufficient to ensure that the crash covered by <rdar://problem/7290671> no longer occurs.
  19176. * DumpRenderTree/mac/DumpRenderTree.mm:
  19177. (resetDefaultsToConsistentValues):
  19178. * DumpRenderTree/mac/UIDelegate.mm:
  19179. (-[UIDelegate webView:shouldHaltPlugin:]):
  19180. 2009-10-08 Brady Eidson <beidson@apple.com>
  19181. Reviewed by Dan Bernstein.
  19182. Ask the History Delegate to populate the visited links hash.
  19183. <rdar://problem/7285293> and https://webkit.org/b/29904
  19184. Add the ability for LayoutTestController to clear all visited links.
  19185. Also lets the History Delegate dump visited links, but only if this test specifically cleared them.
  19186. * DumpRenderTree/LayoutTestController.cpp:
  19187. (LayoutTestController::LayoutTestController):
  19188. (removeAllVisitedLinksCallback):
  19189. (LayoutTestController::staticFunctions):
  19190. * DumpRenderTree/LayoutTestController.h:
  19191. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  19192. (LayoutTestController::removeAllVisitedLinks):
  19193. * DumpRenderTree/mac/HistoryDelegate.mm:
  19194. (-[HistoryDelegate populateVisitedLinksForWebView:]):
  19195. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  19196. (LayoutTestController::removeAllVisitedLinks):
  19197. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  19198. (LayoutTestController::removeAllVisitedLinks):
  19199. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  19200. (LayoutTestController::removeAllVisitedLinks):
  19201. 2009-10-08 Daniel Bates <dbates@webkit.org>
  19202. Reviewed by Adam Roben.
  19203. https://bugs.webkit.org/show_bug.cgi?id=30175
  19204. The Windows DRT equivalent of DoDragDrop (i.e. UIDelegate::doDragDrop) does not return
  19205. the OLE drag-and-drop return value like the function it emulates. Currently,
  19206. UIDelegate::doDragDrop returns a hard-coded S_OK. Hence, the caller cannot determine
  19207. whether the drag-and-drop operation was successful or was cancelled.
  19208. This patch fixes this issue by having UIDelegate::doDragDrop return the OLE drag-and-drop
  19209. return value according to whether the drop operation was successful or not.
  19210. * DumpRenderTree/win/EventSender.cpp:
  19211. (doMouseUp): Added parameter oleDragAndDropReturnValue.
  19212. (replaySavedEvents): Ditto.
  19213. * DumpRenderTree/win/EventSender.h:
  19214. * DumpRenderTree/win/UIDelegate.cpp:
  19215. (UIDelegate::doDragDrop): Modified to return OLE drag-and-drop return value.
  19216. 2009-10-08 Alejandro G. Castro <alex@igalia.com>
  19217. Reviewed by Xan Lopez.
  19218. [GTK] Added support for a parameter setting the button that was
  19219. pressed in the mouseDown function.
  19220. https://bugs.webkit.org/show_bug.cgi?id=30220
  19221. * WebKitTools/DumpRenderTree/gtk/EventSender.cpp:
  19222. 2009-10-08 Alejandro G. Castro <alex@igalia.com>
  19223. Reviewed by Xan Lopez.
  19224. [GTK] Added a line to the bottom of the expected result to match
  19225. the output of the test.
  19226. https://bugs.webkit.org/show_bug.cgi?id=30220
  19227. * LayoutTests/platform/gtk/editing/pasteboard/middle-click-onpaste-
  19228. expected.txt:
  19229. 2009-10-08 Adam Roben <aroben@apple.com>
  19230. Use QueryInterface to get IWebInspectorPrivate
  19231. Fixes <http://webkit.org/b/30215> Make IWebInspectorPrivate be
  19232. accessed in a more standard way
  19233. Reviewed by John Sullivan and Tim Hatcher.
  19234. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  19235. (LayoutTestController::evaluateInWebInspector): Get the IWebInspector
  19236. by calling IWebViewPrivate::inspector, then use QueryInterface to get
  19237. to the IWebInspectorPrivate interface.
  19238. 2009-10-07 Adam Roben <aroben@apple.com>
  19239. Implement DRT support for origin whitelisting
  19240. Fixes <http://webkit.org/b/30185>.
  19241. Reviewed by Eric Seidel.
  19242. * DumpRenderTree/win/DumpRenderTree.cpp:
  19243. (resetWebViewToConsistentStateBeforeTesting): Reset any origin
  19244. whitelist, to match Mac DRT.
  19245. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  19246. (LayoutTestController::whiteListAccessFromOrigin): Call through to
  19247. IWebViewPrivate::whiteListAccessFromOrigin.
  19248. 2009-10-07 Brady Eidson <beidson@apple.com>
  19249. Reviewed by Darin Adler.
  19250. Send title changes to the global history delegate.
  19251. <rdar://problem/7285293> and https://webkit.org/b/29904
  19252. * DumpRenderTree/mac/HistoryDelegate.mm:
  19253. (-[HistoryDelegate webView:updateHistoryTitle:forURL:]):
  19254. 2009-10-07 Adam Barth <abarth@webkit.org>
  19255. Unreviewed. Remove some folks from committers.py who were listed on
  19256. the WebKit Team wiki page but who weren't actually listed as commit+.
  19257. At some point, we should coorelate this list with the committers
  19258. mailing list.
  19259. * Scripts/modules/committers.py:
  19260. 2009-10-07 Adam Barth <abarth@webkit.org>
  19261. Unreviewed. Import a bunch of committers from the WebKit Team page on
  19262. the wiki into committers.py.
  19263. * Scripts/modules/committers.py:
  19264. 2009-10-07 Adam Barth <abarth@webkit.org>
  19265. Unreviewed. Added Aaron Boodman to committers.py.
  19266. * Scripts/modules/committers.py:
  19267. 2009-10-07 Evan Martin <evan@chromium.org>
  19268. Reviewed by Darin Adler.
  19269. Add API to LayoutTestController for re/setting the system locale.
  19270. https://bugs.webkit.org/show_bug.cgi?id=18994
  19271. * DumpRenderTree/LayoutTestController.cpp:
  19272. (setLocaleCallback):
  19273. (LayoutTestController::staticFunctions):
  19274. (LayoutTestController::setLocale):
  19275. * DumpRenderTree/LayoutTestController.h:
  19276. 2009-10-06 Shinichiro Hamaji <hamaji@chromium.org>
  19277. Reviewed by Jan Alonzo.
  19278. [Layout tests] [Gtk] Gtk DumpRenderTree should use WebKit test fonts
  19279. https://bugs.webkit.org/show_bug.cgi?id=29689
  19280. Build fix by adding -lfontconfig for DumpRenderTree.
  19281. * GNUmakefile.am:
  19282. 2009-10-07 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
  19283. Reviewed by Simon Hausmann.
  19284. Re-enable use-remote-links-to-tests for Qt. Disabled in r46416.
  19285. * Scripts/run-webkit-tests:
  19286. 2009-10-07 Xan Lopez <xlopez@igalia.com>
  19287. Reviewed by Gustavo Noronha.
  19288. "delete" in EventSender is the backspace key, not the delete one.
  19289. * DumpRenderTree/gtk/EventSender.cpp:
  19290. (keyDownCallback):
  19291. 2009-10-07 Xan Lopez <xlopez@igalia.com>
  19292. Reviewed by Gustavo Noronha.
  19293. getChildrenWithRange expects as last parameter the end index, not
  19294. the length of the range. Correct this and clarify the variable
  19295. names to reflect how the code works.
  19296. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  19297. (AccessibilityUIElement::getChildrenWithRange):
  19298. (AccessibilityUIElement::getChildAtIndex):
  19299. 2009-10-06 Mark Rowe <mrowe@apple.com>
  19300. Reviewed by Simon Fraser.
  19301. <http://webkit.org/b/30138> update-webkit-localizable-strings assumes that WebKitTools/Scripts is in the PATH
  19302. * Scripts/update-webkit-localizable-strings: Use an explicit path to extract-localizable-strings based on the
  19303. the fact we have already changed the working directory to the top of the open source tree.
  19304. 2009-10-06 Julie Parent <jparent@chromium.org>
  19305. Unreviewed. Fixing the entry for myself in committers.py to use my bugzilla email,
  19306. rather than my committer email.
  19307. * Scripts/modules/committers.py:
  19308. 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
  19309. Reviewed by Eric Seidel.
  19310. [Qt] LayoutTestController: Reset m_dumpStatusCallbacks to false in reset().
  19311. r49189 added support for the 'dumpStatusCallbacks' setting but didn't reset
  19312. it after each layout test as it should do, making the DRT dump additional output
  19313. for all of the subsequent layout tests.
  19314. * DumpRenderTree/qt/jsobjects.cpp:
  19315. (LayoutTestController::reset):
  19316. 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
  19317. Reviewed by Simon Hausmann.
  19318. [Qt] Implement layoutTestController.dumpStatusCallbacks() and unskip the
  19319. fast/dom/assign-to-window-status.html test, which is passing as a result.
  19320. https://bugs.webkit.org/show_bug.cgi?id=30127
  19321. * DumpRenderTree/qt/DumpRenderTree.cpp:
  19322. (WebCore::DumpRenderTree::DumpRenderTree):
  19323. (WebCore::DumpRenderTree::statusBarMessage):
  19324. * DumpRenderTree/qt/DumpRenderTree.h:
  19325. * DumpRenderTree/qt/jsobjects.h:
  19326. (LayoutTestController::shouldDumpStatusCallbacks):
  19327. (LayoutTestController::dumpStatusCallbacks):
  19328. 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
  19329. Reviewed by Simon Hausmann.
  19330. [Qt] The implementation of EventSender::mouseUp() and EventSender::mouseDown()
  19331. ignores the argument indicating which mouse button to trigger.
  19332. https://bugs.webkit.org/show_bug.cgi?id=30048
  19333. This affects the fast/events/mouse-click-events.html layout test.
  19334. * DumpRenderTree/qt/jsobjects.cpp:
  19335. (EventSender::mouseDown):
  19336. (EventSender::mouseUp):
  19337. * DumpRenderTree/qt/jsobjects.h:
  19338. 2009-10-06 Jakub Wieczorek <faw217@gmail.com>
  19339. Reviewed by Simon Hausmann.
  19340. [Qt] Fix the EventSender::keyDown() implementation
  19341. https://bugs.webkit.org/show_bug.cgi?id=30043
  19342. It should post both a key press event and a key release event,
  19343. just like other ports do.
  19344. * DumpRenderTree/qt/jsobjects.cpp:
  19345. (EventSender::keyDown):
  19346. 2009-10-05 Kevin Ollivier <kevino@theolliviers.com>
  19347. wx build fix. Add jpeg to the list of libs to link against.
  19348. * wx/build/settings.py:
  19349. 2009-10-05 Jakub Wieczorek <faw217@gmail.com>
  19350. Reviewed by Simon Hausmann.
  19351. [Qt] EventSender::keyDown() cannot send function-key events.
  19352. https://bugs.webkit.org/show_bug.cgi?id=30044
  19353. This affects the fast/events/keydown-function-keys.html layout test.
  19354. * DumpRenderTree/qt/jsobjects.cpp:
  19355. (EventSender::keyDown):
  19356. 2009-10-05 Vadim Zeitlin <vadim@wxwidgets.org>
  19357. Added --wx-compiler-prefix waf option to allow building wxWebKit with
  19358. wxWidgets built using "nmake COMPILER_PREFIX=something-non-default".
  19359. * wx/build/settings.py:
  19360. * wx/build/wxpresets.py:
  19361. 2009-10-05 Pavel Feldman <pfeldman@chromium.org>
  19362. Reviewed by Timothy Hatcher.
  19363. Web Inspector: add testing harness for Web Inspector.
  19364. https://bugs.webkit.org/show_bug.cgi?id=30010
  19365. * DumpRenderTree/LayoutTestController.cpp:
  19366. (showWebInspectorCallback):
  19367. (closeWebInspectorCallback):
  19368. (evaluateInWebInspectorCallback):
  19369. (LayoutTestController::staticFunctions):
  19370. * DumpRenderTree/LayoutTestController.h:
  19371. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  19372. (LayoutTestController::showWebInspector):
  19373. (LayoutTestController::closeWebInspector):
  19374. (LayoutTestController::evaluateInWebInspector):
  19375. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  19376. (LayoutTestController::showWebInspector):
  19377. (LayoutTestController::closeWebInspector):
  19378. (LayoutTestController::evaluateInWebInspector):
  19379. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  19380. (LayoutTestController::showWebInspector):
  19381. (LayoutTestController::closeWebInspector):
  19382. (LayoutTestController::evaluateInWebInspector):
  19383. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  19384. (LayoutTestController::showWebInspector):
  19385. (LayoutTestController::closeWebInspector):
  19386. (LayoutTestController::evaluateInWebInspector):
  19387. 2009-10-05 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  19388. Reviewed by Ariyha Hidayat.
  19389. Pass arguments to system() as a string instead of array
  19390. When passed as an array entries with a space fail to translate
  19391. to two arguments to the child process, so instead of manually
  19392. splitting all the entries in @buildArgs we pass the whole thing
  19393. as a string instead.
  19394. * Scripts/webkitdirs.pm:
  19395. 2009-10-04 Carol Szabo <carol.szabo@nokia.com>
  19396. Reviewed by David Levin.
  19397. check-webkit-style misses whitespace errors for operators:
  19398. <<, >>, <<=, >>=, &=, |=, +=, -=, *=, /=, /, |, &&, ||.
  19399. https://bugs.webkit.org/show_bug.cgi?id=30021
  19400. * Scripts/modules/cpp_style.py:
  19401. Added the operators mentioned above to the same list as == and !=.
  19402. 2009-10-02 Julie Parent <jparent@chromium.org>
  19403. Unreviewed.
  19404. Adding myself and Ojan Vafai as committers, because we are committers.
  19405. * Scripts/modules/committers.py:
  19406. 2009-10-02 Brian Weinstein <bweinstein@apple.com>
  19407. Reviewed by Adam Roben.
  19408. svn-create-patch should have an --ignore-changelogs to not add ChangeLogs to the diff,
  19409. this will help the patch merging process when TryBots are used.
  19410. * Scripts/svn-create-patch:
  19411. 2009-10-02 Jakub Wieczorek <faw217@gmail.com>
  19412. Reviewed by Simon Hausmann.
  19413. [Qt] Implement layoutTestController.overridePreference().
  19414. https://bugs.webkit.org/show_bug.cgi?id=29970
  19415. * DumpRenderTree/qt/DumpRenderTree.cpp:
  19416. (WebCore::WebPage::WebPage):
  19417. (WebCore::WebPage::resetSettings):
  19418. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  19419. * DumpRenderTree/qt/jsobjects.cpp:
  19420. (LayoutTestController::reset):
  19421. (LayoutTestController::setPrivateBrowsingEnabled):
  19422. (LayoutTestController::setPopupBlockingEnabled):
  19423. (LayoutTestController::overridePreference):
  19424. * DumpRenderTree/qt/jsobjects.h:
  19425. 2009-10-01 Chris Marrin <cmarrin@apple.com>
  19426. Reviewed by Oliver Hunt.
  19427. Turn on ENABLE_3D_CANVAS in TOT
  19428. https://bugs.webkit.org/show_bug.cgi?id=29906
  19429. * Scripts/build-webkit:
  19430. 2009-10-01 Kenneth Rohde Christiansen <kenneth@webkit.org>
  19431. Rubberstamped by Simon Hausmann.
  19432. Enable HTTP tests for Qt
  19433. * Scripts/run-webkit-tests:
  19434. 2009-10-01 Yaar Schnitman <yaar@chromium.org>
  19435. Reviewed by Dimitri Glazkov.
  19436. build-webkit --chromium now also works on cygwin.
  19437. https://bugs.webkit.org/show_bug.cgi?id=29973
  19438. * Scripts/webkitdirs.pm:
  19439. 2009-10-01 Zoltan Horvath <zoltan@webkit.org>
  19440. Reviewed by Simon Hausmann.
  19441. [Qt] Don't use TCmalloc in DumpRenderTree
  19442. https://bugs.webkit.org/show_bug.cgi?id=27029
  19443. Add USE_SYSTEM_MALLOC macro to the DRT's profile to avoid using TCmalloc in Qt's DRT.
  19444. * DumpRenderTree/qt/DumpRenderTree.pro:
  19445. 2009-10-01 Jakub Wieczorek <faw217@gmail.com>
  19446. Reviewed by Simon Hausmann.
  19447. [Qt] Implement eventSender.scheduleAsynchronousClick().
  19448. https://bugs.webkit.org/show_bug.cgi?id=29931
  19449. * DumpRenderTree/qt/jsobjects.cpp:
  19450. (EventSender::scheduleAsynchronousClick):
  19451. * DumpRenderTree/qt/jsobjects.h:
  19452. 2009-10-01 Jakub Wieczorek <faw217@gmail.com>
  19453. Reviewed by Simon Hausmann.
  19454. [Qt] Implement setPopupBlockingEnabled() in the LayoutTestController and remove
  19455. fast/events/open-window-from-another-frame.html from the Skipped list.
  19456. https://bugs.webkit.org/show_bug.cgi?id=29930
  19457. * DumpRenderTree/qt/jsobjects.cpp:
  19458. (LayoutTestController::setPopupBlockingEnabled):
  19459. * DumpRenderTree/qt/jsobjects.h:
  19460. 2009-09-30 Cameron McCormack <cam@mcc.id.au>
  19461. Unreviewed.
  19462. Added myself to the list of committers.
  19463. * Scripts/modules/committers.py:
  19464. 2009-09-30 Eric Seidel <eric@webkit.org>
  19465. No review, just adding Geoff to the list of reviewers.
  19466. * Scripts/modules/committers.py:
  19467. 2009-09-30 Dan Bernstein <mitz@apple.com>
  19468. Reviewed by Sam Weinig.
  19469. Added the WebKit Layout Tests fonts that are referenced in
  19470. LayoutTests/platform/win/css2.1/resources/Mac-compatible-font-fallback.css
  19471. * DumpRenderTree/fonts/WebKit Layout Tests 2.ttf: Added.
  19472. * DumpRenderTree/fonts/WebKit Layout Tests.ttf: Added.
  19473. 2009-09-30 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
  19474. Reviewed by David Kilzer.
  19475. Make sunspider scripts work on Windows platform.
  19476. https://bugs.webkit.org/show_bug.cgi?id=29656
  19477. * Scripts/run-sunspider: Perl scripts invoked with same Perl interpreter.
  19478. * Scripts/sunspider-compare-results: Perl scripts invoked with same Perl interpreter.
  19479. * Scripts/webkitdirs.pm: currentPerlPath() added.
  19480. 2009-09-29 Brady Eidson <beidson@apple.com>
  19481. Rubberstamped by Dan Bernstein.
  19482. Fix license and some sorting in new files.
  19483. * DumpRenderTree/mac/HistoryDelegate.h:
  19484. * DumpRenderTree/mac/HistoryDelegate.mm:
  19485. 2009-09-29 Yaar Schnitman <yaar@chromium.org>
  19486. Reviewed by David Kilzer.
  19487. Fixed how error codes are handled.
  19488. https://bugs.webkit.org/show_bug.cgi?id=29898
  19489. * Scripts/update-webkit:
  19490. * Scripts/update-webkit-chromium:
  19491. 2009-09-29 Brady Eidson <beidson@apple.com>
  19492. Reviewed by John Sullivan.
  19493. Updated way-out-of-date sorting throughout the dump methods/flags.
  19494. * DumpRenderTree/LayoutTestController.cpp:
  19495. (LayoutTestController::LayoutTestController):
  19496. (dumpAsPDFCallback):
  19497. (dumpAsTextCallback):
  19498. (dumpFrameLoadCallbacksCallback):
  19499. (dumpResourceLoadCallbacksCallback):
  19500. (LayoutTestController::staticFunctions):
  19501. * DumpRenderTree/LayoutTestController.h:
  19502. (LayoutTestController::dumpAsText):
  19503. (LayoutTestController::setDumpAsText):
  19504. (LayoutTestController::dumpFrameLoadCallbacks):
  19505. (LayoutTestController::setDumpFrameLoadCallbacks):
  19506. (LayoutTestController::dumpSelectionRect):
  19507. (LayoutTestController::setDumpSelectionRect):
  19508. (LayoutTestController::dumpSourceAsWebArchive):
  19509. (LayoutTestController::setDumpSourceAsWebArchive):
  19510. (LayoutTestController::dumpStatusCallbacks):
  19511. (LayoutTestController::setDumpStatusCallbacks):
  19512. (LayoutTestController::dumpTitleChanges):
  19513. (LayoutTestController::setDumpTitleChanges):
  19514. (LayoutTestController::dumpWillCacheResponse):
  19515. (LayoutTestController::setDumpWillCacheResponse):
  19516. 2009-09-29 Brady Eidson <beidson@apple.com>
  19517. Reviewed by John Sullivan.
  19518. WebKit Mac API should provide a delegate interface for global history.
  19519. <rdar://problem/7042773> and https://webkit.org/b/29904
  19520. Adding the dumping of global history delegate callbacks.
  19521. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  19522. Automatically dump history delegate callbacks for tests with "globalhistory/" in their URL:
  19523. * DumpRenderTree/mac/DumpRenderTree.mm:
  19524. (createWebViewAndOffscreenWindow):
  19525. (allocateGlobalControllers):
  19526. (shouldLogFrameLoadDelegates):
  19527. (shouldLogHistoryDelegates):
  19528. (runTest):
  19529. Dump history delegate callbacks:
  19530. * DumpRenderTree/mac/HistoryDelegate.h: Added.
  19531. * DumpRenderTree/mac/HistoryDelegate.mm: Added.
  19532. (-[HistoryDelegate webView:didNavigateWithNavigationData:inFrame:]):
  19533. (-[HistoryDelegate webView:didPerformClientRedirectFromURL:toURL:inFrame:]):
  19534. (-[HistoryDelegate webView:didPerformServerRedirectFromURL:toURL:inFrame:]):
  19535. 2009-09-29 Daniel Bates <dbates@webkit.org>
  19536. Reviewed by Adam Roben.
  19537. https://bugs.webkit.org/show_bug.cgi?id=28902
  19538. Fixes an issue where the drop effect returned by Window Dump Render Tree
  19539. was always DROPEFFECT_NONE (since it was hard coded to do so).
  19540. This patch corrects this issue by determining the actual drop effect
  19541. performed by the corresponding drag-and-drop operation so that we can
  19542. return it.
  19543. * DumpRenderTree/win/DraggingInfo.h: Added field m_dropEffect to store performed drop effect.
  19544. (DraggingInfo::DraggingInfo):
  19545. (DraggingInfo::performedDropEffect): Added method.
  19546. (DraggingInfo::setPerformedDropEffect): Added method.
  19547. * DumpRenderTree/win/EventSender.cpp:
  19548. (doMouseUp): Calls method DraggingInfo::setPerformedDropEffect with performed drop effect.
  19549. Moved delete draggingInfo to UIDelegate::doDragDrop.
  19550. * DumpRenderTree/win/UIDelegate.cpp:
  19551. (UIDelegate::doDragDrop): Sets performedDropEffect to DraggingInfo::performedDropEffect().
  19552. 2009-09-29 Dan Bernstein <mitz@apple.com>
  19553. Reviewed by Adam Roben.
  19554. Remove copying of unnecessary or nonexistent files from the ImageDiff
  19555. post-build event.
  19556. * DumpRenderTree/win/ImageDiff.vcproj:
  19557. 2009-09-29 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
  19558. Reviewed by David Kilzer.
  19559. [Qt] Make build-webkit script work on Windows
  19560. https://bugs.webkit.org/show_bug.cgi?id=29802
  19561. * Scripts/run-webkit-tests:
  19562. * Scripts/webkitdirs.pm:
  19563. - Removed unnecessary -p switch for mkdir on Windows.
  19564. - Use canonical path, which uses slashes or backslashes depends on platform.
  19565. - isWindows() only test for Windows and not for Cyqwin.
  19566. 2009-09-29 Andras Becsi <becsi.andras@stud.u-szeged.hu>
  19567. Reviewed by Simon Hausmann.
  19568. Fix time measurement in build-webkit after refactoring done in r48853.
  19569. * Scripts/build-webkit:
  19570. 2009-09-29 Andras Becsi <becsi.andras@stud.u-szeged.hu>
  19571. Reviewed by Tor Arne Vestbø.
  19572. [Qt] Default font size reconciliation to 16px/13px to match other platform's de-facto standard.
  19573. This fixes https://bugs.webkit.org/show_bug.cgi?id=19674.
  19574. * DumpRenderTree/qt/DumpRenderTree.cpp:
  19575. (WebCore::WebPage::WebPage):
  19576. 2009-09-29 Jakub Wieczorek <faw217@gmail.com>
  19577. Reviewed by Simon Hausmann.
  19578. [Qt] Implement eventSender.contextClick().
  19579. https://bugs.webkit.org/show_bug.cgi?id=29821
  19580. * DumpRenderTree/qt/jsobjects.cpp:
  19581. (EventSender::contextClick):
  19582. * DumpRenderTree/qt/jsobjects.h:
  19583. 2009-09-28 Fumitoshi Ukai <ukai@chromium.org>
  19584. Reviewed by Eric Seidel.
  19585. Add experimentalWebSocketsEnabled in WebPreferences.
  19586. https://bugs.webkit.org/show_bug.cgi?id=28941
  19587. * DumpRenderTree/mac/DumpRenderTree.mm:
  19588. (resetDefaultsToConsistentValues):
  19589. * DumpRenderTree/win/DumpRenderTree.cpp:
  19590. (resetDefaultsToConsistentValues):
  19591. 2009-09-28 Yaar Schnitman <yaar@chromium.org>
  19592. Reviewed by David Kilzer.
  19593. Integrated chromium port building into webkit tools update-webkit and
  19594. build-webkit.
  19595. https://bugs.webkit.org/show_bug.cgi?id=29749
  19596. * Scripts/build-webkit: When --chromium is specified, will build
  19597. the chromium port (currently only Mac is supported).
  19598. * Scripts/update-webkit: When --chromium is specified, delegates to
  19599. update-webkit-chromium.
  19600. * Scripts/webkitdirs.pm: Added chromium specific defs.
  19601. * Scripts/update-webkit-chromium: Uses gclient and gyp to fetch
  19602. chromium port's dependencies and update its project files.
  19603. 2009-09-28 Fumitoshi Ukai <ukai@chromium.org>
  19604. Unreviewed.
  19605. Add myself to list of committers.
  19606. * Scripts/modules/committers.py:
  19607. 2009-09-27 Jakub Wieczorek <faw217@gmail.com>
  19608. Reviewed by Darin Adler.
  19609. run-webkit-tests: Do not strip the metrics when there is no expected result for a test.
  19610. https://bugs.webkit.org/show_bug.cgi?id=29771
  19611. * Scripts/run-webkit-tests:
  19612. 2009-09-27 Jakub Wieczorek <faw217@gmail.com>
  19613. Reviewed by Simon Hausmann.
  19614. [Qt] Implement layoutTestController.waitForPolicyDelegate.
  19615. https://bugs.webkit.org/show_bug.cgi?id=25037
  19616. * DumpRenderTree/qt/DumpRenderTree.cpp:
  19617. (WebCore::WebPage::acceptNavigationRequest):
  19618. * DumpRenderTree/qt/DumpRenderTree.pro:
  19619. * DumpRenderTree/qt/jsobjects.cpp:
  19620. (LayoutTestController::reset):
  19621. (LayoutTestController::notifyDone):
  19622. (LayoutTestController::waitForPolicyDelegate):
  19623. * DumpRenderTree/qt/jsobjects.h:
  19624. (LayoutTestController::waitForPolicy):
  19625. 2009-09-26 David Kilzer <ddkilzer@apple.com>
  19626. <http://webkit.org/b/29764> mark-bug-fixed: add -o|--open switch
  19627. Reviewed by Eric Seidel.
  19628. The -o|--open switch uses the open(1) command on Mac OS X to
  19629. open the bug URL in the default web browser. If there are
  19630. similar mechanisms on other platforms, they may be added later.
  19631. * Scripts/mark-bug-fixed:
  19632. (MarkBugFixed.__init__): Added -o|--open switch to list of parse
  19633. options.
  19634. (MarkBugFixed._determine_bug_id_and_svn_revision): Moved logging
  19635. code into main() and extracted prompting code into
  19636. _prompt_user_for_correctness().
  19637. (MarkBugFixed._open_bug_in_web_browser): Added.
  19638. (MarkBugFixed._prompt_user_for_correctness): Added.
  19639. (MarkBugFixed.main): Added logging code from
  19640. _determine_bug_id_and_svn_revision(). Added code to call
  19641. _open_bug_in_web_browser() if the switch is set. Added code to
  19642. call _prompt_user_for_correctness() when needed.
  19643. * Scripts/modules/bugzilla.py:
  19644. (Bugzilla.short_bug_url_for_bug_id): Added.
  19645. 2009-09-26 David Kilzer <ddkilzer@apple.com>
  19646. svn-unapply and svn-apply don't work when used outside multiple svn working directories
  19647. <http://webkit.org/b/29744>
  19648. <rdar://problem/7252905>
  19649. Reviewed by Eric Seidel.
  19650. Some users have a workflow where svn-create-patch, svn-apply and
  19651. svn-unapply are used outside of multiple svn working
  19652. directories. Instead of aborting the scripts in these cases,
  19653. print a warning and assume that Subversion is being used.
  19654. * Scripts/VCSUtils.pm:
  19655. (determineVCSRoot): Call warn() instead of die() if both isGit()
  19656. and isSVN() initially return false. Set $VCSUtils::isSVN to 1
  19657. to enforce the assumption about Subversion, then return
  19658. determineSVNRoot().
  19659. * Scripts/svn-apply: Switch to using isGit() and isSVN() from
  19660. VCSUtils.pm. They both already cache their values and checking
  19661. here is redundant since determineVCSRoot() is called later.
  19662. 2009-09-26 Zan Dobersek <zandobersek@gmail.com>
  19663. Reviewed by Gustavo Noronha.
  19664. [Layout tests] [Gtk] Gtk DumpRenderTree should use WebKit test fonts
  19665. https://bugs.webkit.org/show_bug.cgi?id=29689
  19666. Load test fonts through FontConfig before each test.
  19667. This ensures a more proper rendering of the tests.
  19668. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  19669. (initializeFonts):
  19670. (runTest):
  19671. (main):
  19672. * DumpRenderTree/gtk/fonts.conf: Copied from WebKitTools/DumpRenderTree/qt/fonts.conf.
  19673. * GNUmakefile.am:
  19674. 2009-09-25 David Kilzer <ddkilzer@apple.com>
  19675. <http://webkit.org/b/29718> mark-bug-fixed: add -u|--update-only switch
  19676. Reviewed by Eric Seidel.
  19677. * Scripts/mark-bug-fixed:
  19678. (MarkBugFixed.__init__): Added -u|--update-only switch to list
  19679. of parse options.
  19680. (MarkBugFixed.main): When -u|--update-only is specified, add a
  19681. comment to the bug without marking it Resolved/Fixed.
  19682. 2009-09-25 Darin Adler <darin@apple.com>
  19683. Reviewed by Geoffrey Garen.
  19684. * Scripts/prepare-ChangeLog: Leave files from the script-tests directory
  19685. out, just as we do for the resources directory.
  19686. 2009-09-25 Adam Barth <abarth@webkit.org>
  19687. Unreviewed. Added Tony to committers.py because he's a
  19688. committer now.
  19689. * Scripts/modules/committers.py:
  19690. 2009-09-25 Eric Seidel <eric@webkit.org>
  19691. Reviewed by Simon Fraser.
  19692. REGRESSION: media/video-pause-empty-events.html is occasionally timing out on bots
  19693. https://bugs.webkit.org/show_bug.cgi?id=28624
  19694. Disable hardware compositing on Leopard for versions of QuickTime 7.6.4 and older.
  19695. * DumpRenderTree/mac/DumpRenderTree.mm:
  19696. (resetDefaultsToConsistentValues):
  19697. 2009-09-25 Eric Seidel <eric@webkit.org>
  19698. Reviewed by Adam Barth.
  19699. commit-queue should auto-retry patches which fail to commit due to out of date files
  19700. https://bugs.webkit.org/show_bug.cgi?id=28316
  19701. * Scripts/bugzilla-tool:
  19702. - Handle new CheckoutNeedsUpdate exception.
  19703. * Scripts/modules/logging_unittest.py:
  19704. - Call the ScriptError constructor correctly (this test had regressed).
  19705. * Scripts/modules/scm.py:
  19706. - Added the ability to define custom error handlers for run_command
  19707. and added a commit_error_handler which throws CheckoutNeedsUpdate
  19708. instead of ScriptError.
  19709. - Re-ordered ScriptError constructor arguments to make ScriptError("message text") usage possible.
  19710. * Scripts/modules/scm_unittest.py:
  19711. - Added tests of new error handlers.
  19712. 2009-09-25 Eric Seidel <eric@webkit.org>
  19713. Reviewed by Adam Barth.
  19714. commit-queue should give better feedback when failing a patch
  19715. https://bugs.webkit.org/show_bug.cgi?id=29316
  19716. * Scripts/bugzilla-tool:
  19717. - Update ScriptError uses to the new constructor format.
  19718. - Move CommitQueue._run_command to WebKitLandingScripts.run_command_with_teed_output
  19719. so that we can print to both stdout as well as an output buffer for error reporting.
  19720. - Update run_and_throw_if_fail to use teed output so that it can report the "output" as part of ScriptError.
  19721. - Use e.message_with_output() when failing a patch (this is the real fix here).
  19722. I also removed use of "This patch will require manual commit." as that's not always true.
  19723. - Add missing word "bug" from log message.
  19724. * Scripts/modules/scm.py:
  19725. - Make ScriptError save a bunch more data so that error messages can be nicer.
  19726. - Update ScriptError callers.
  19727. 2009-09-24 John Gregg <johnnyg@google.com>
  19728. Reviewed by Eric Seidel.
  19729. Enable switch for notifications (experimental) in Page Settings
  19730. https://bugs.webkit.org/show_bug.cgi?id=28930
  19731. Now that desktop notifications are controlled by run-time switch,
  19732. set that switch to true for DumpRenderTree.
  19733. * DumpRenderTree/mac/DumpRenderTree.mm:
  19734. (resetDefaultsToConsistentValues):
  19735. * DumpRenderTree/win/DumpRenderTree.cpp:
  19736. (resetDefaultsToConsistentValues):
  19737. * DumpRenderTree/win/UIDelegate.cpp:
  19738. (UIDelegate::QueryInterface):
  19739. 2009-09-24 Kevin Ollivier <kevino@theolliviers.com>
  19740. wx build fix. SnowLeopard fixes for Mac dependencies.
  19741. * wx/build/build_utils.py:
  19742. * wx/build/settings.py:
  19743. * wx/install-unix-extras:
  19744. 2009-09-24 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  19745. Reviewed by Oliver Hunt.
  19746. Add support for DRT to send mouse wheel events.
  19747. https://bugs.webkit.org/show_bug.cgi?id=29348
  19748. [Gtk] Scrollwheel on horizontal scrollbars should slide horizontally
  19749. * DumpRenderTree/gtk/EventSender.cpp:
  19750. (mouseWheelToCallback):
  19751. 2009-09-17 Eric Seidel <eric@webkit.org>
  19752. Reviewed by David Levin.
  19753. commit-queue needs web-based status reporting
  19754. https://bugs.webkit.org/show_bug.cgi?id=29307
  19755. Add a first-pass web-based status for the commit-queue.
  19756. The bot is currently reachable at:
  19757. http://webkit-commit-queue.appspot.com/
  19758. * CommitQueueStatus/app.yaml: Added.
  19759. - Application description file required by App Engine.
  19760. * CommitQueueStatus/filters/__init__.py: Added.
  19761. - Required by python to treat 'filters' as a module.
  19762. * CommitQueueStatus/filters/webkit_extras.py: Added.
  19763. - Support for turning 'bug 123' and 'patch 123' into links.
  19764. This lets us use plain text strings in our logs yet display nice HTML (help prevent XSS attacks on the page).
  19765. * CommitQueueStatus/index.html: Added.
  19766. * CommitQueueStatus/index.yaml: Added.
  19767. - Some auto-generated file from app engine.
  19768. * CommitQueueStatus/queue_status.py: Added.
  19769. - The core logic of this bot. We could eventually split this file out into pieces.
  19770. * CommitQueueStatus/stylesheets/main.css: Added.
  19771. - Some basic lame-o CSS to make the page look less awful.
  19772. * CommitQueueStatus/update_status.html: Added.
  19773. - The form that the commit-queue (or a human) can use to update the status.
  19774. * Scripts/bugzilla-tool:
  19775. - Add some very basic update_status calls.
  19776. * Scripts/modules/statusbot.py: Added.
  19777. - Knows how to post to the CommitQueueStatus web application.
  19778. 2009-09-24 David Kilzer <ddkilzer@apple.com>
  19779. <http://webkit.org/b/29712> mark-bug-fixed: add -m|--comment switch
  19780. Reviewed by Adam Roben.
  19781. * Scripts/mark-bug-fixed:
  19782. (MarkBugFixed.__init__): Added -m|--comment switch to list of
  19783. parse options.
  19784. (MarkBugFixed.main): When specified, prepend comment from
  19785. -m|--comment command-line switch to the bug comment.
  19786. 2009-09-24 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  19787. Reviewed by Jan Alonzo.
  19788. [GTK] DRT must display window instead of just realizing, to enable synthesizing events correctly
  19789. https://bugs.webkit.org/show_bug.cgi?id=29693
  19790. Show the window, to be able to synthesize events correctly.
  19791. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  19792. (runTest):
  19793. (main):
  19794. 2009-09-24 Oliver Hunt <oliver@apple.com>
  19795. Reviewed by NOBODY(rollout)
  19796. Roll out r48712 as it is incorrect.
  19797. * DumpRenderTree/mac/ObjCController.m:
  19798. (+[ObjCController isSelectorExcludedFromWebScript:]):
  19799. (+[ObjCController webScriptNameForSelector:]):
  19800. 2009-09-24 Benjamin Poulain <benjamin.poulain@nokia.com>
  19801. Reviewed by Eric Seidel.
  19802. https://bugs.webkit.org/show_bug.cgi?id=29005
  19803. The indices of RuntimeArray should be enumerated like for a regular array.
  19804. * DumpRenderTree/mac/ObjCController.m:
  19805. (+[ObjCController isSelectorExcludedFromWebScript:]):
  19806. (+[ObjCController webScriptNameForSelector:]):
  19807. (-[ObjCController arrayOfString]):
  19808. 2009-09-23 David Kilzer <ddkilzer@apple.com>
  19809. <http://webkit.org/b/28910> Move bugzilla-tool mark-fixed to standalone mark-bug-fixed tool
  19810. Reviewed by Darin Adler.
  19811. Also fixed a bug where specifying a revision on the command-line
  19812. as 'r12345' would fail. See <http://webkit.org/b/29699>.
  19813. * Scripts/bugzilla-tool: Updated module import statements.
  19814. (parse_bug_id): Removed. Moved to bugzilla.py.
  19815. (bug_comment_from_svn_revision): Removed. Moved to comments.py.
  19816. (bug_comment_from_commit_text): Removed. Moved to comments.py.
  19817. (MarkBugFixed): Removed. Code moved to mark-bug-fixed.
  19818. (BugzillaTool.__init__): Removed mark-fixed subcommand.
  19819. * Scripts/mark-bug-fixed: Added.
  19820. * Scripts/modules/bugzilla.py:
  19821. (parse_bug_id): Added. Moved from bugzilla-tool.
  19822. * Scripts/modules/comments.py: Added.
  19823. (bug_comment_from_svn_revision): Added. Moved from bugzilla-tool.
  19824. (bug_comment_from_commit_text): Added. Moved from bugzilla-tool.
  19825. 2009-09-23 Marshall Culpepper <mculpepper@appcelerator.com>
  19826. Reviewed by Eric Seidel.
  19827. jpeg.lib is now libjpeg.lib in DRT Cairo dependencies. return
  19828. "false" in non-implemented stub for setAlwaysAcceptCookies.
  19829. https://bugs.webkit.org/show_bug.cgi?id=29661
  19830. * DumpRenderTree/win/DumpRenderTree.vcproj:
  19831. * DumpRenderTree/win/DumpRenderTree.cpp:
  19832. 2009-09-23 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  19833. Reviewed by Xan Lopez.
  19834. [GTK] need to dump number of pending unload handlers
  19835. https://bugs.webkit.org/show_bug.cgi?id=29685
  19836. Implement dumping of the number of pending unload handlers.
  19837. The following tests will pass:
  19838. fast/loader/unload-form-about-blank.html
  19839. fast/loader/unload-form-post-about-blank.html
  19840. fast/loader/unload-form-post.html
  19841. fast/loader/unload-form.html
  19842. fast/loader/unload-hyperlink.html
  19843. fast/loader/unload-javascript-url.html
  19844. fast/loader/unload-reload.html
  19845. fast/loader/unload-window-location.html
  19846. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  19847. (getFrameNameSuitableForTestResult):
  19848. (webViewLoadFinished):
  19849. 2009-09-22 Shinichiro Hamaji <hamaji@chromium.org>
  19850. Reviewed by Eric Seidel.
  19851. js tests should move into jstests subdirectory instead of resources/
  19852. https://bugs.webkit.org/show_bug.cgi?id=25880
  19853. Remove support of resources directory.
  19854. * Scripts/make-script-test-wrappers:
  19855. 2009-09-22 Eric Seidel <eric@webkit.org>
  19856. No review, only fixing typo (missing space character).
  19857. Fix typo from https://bugs.webkit.org/show_bug.cgi?id=29220
  19858. * Scripts/run-webkit-tests:
  19859. 2009-09-22 Eric Seidel <eric@webkit.org>
  19860. Reviewed by Darin Adler.
  19861. run-webkit-tests needs a --repeat-each=N option (AAABBBCCC instead of ABCABCABC)
  19862. https://bugs.webkit.org/show_bug.cgi?id=29220
  19863. * Scripts/run-webkit-tests:
  19864. 2009-09-22 Eric Seidel <eric@webkit.org>
  19865. Reviewed by David Kilzer.
  19866. svn-apply can't handle single-line binary file additions
  19867. https://bugs.webkit.org/show_bug.cgi?id=29100
  19868. Fixed the regexp and added a unit test.
  19869. * Scripts/modules/scm_unittest.py:
  19870. * Scripts/svn-apply:
  19871. 2009-09-11 Eric Seidel <eric@webkit.org>
  19872. Reviewed by David Kilzer.
  19873. post-diff and post-commits should be able to find bug urls in ChangeLogs.
  19874. https://bugs.webkit.org/show_bug.cgi?id=29206
  19875. * Scripts/bugzilla-tool:
  19876. - Share common options by adding a PostDiffAsPatchToBug.posting_options() method.
  19877. - Rename --no-comment to --add-log-as-comment and reverse behavior.
  19878. Comments tend to just be noise. I'll eventually remove this argument if no one uses it.
  19879. - Split out code into helper functions to try and make execute() more legible.
  19880. - Make post-diff find the bug url in the ChangeLogs if not passed as an argument.
  19881. - Fallback to bug urls in commit diffs, instead of just in commit messages,
  19882. meaning post-commits will now find bug urls in ChangeLogs.
  19883. 2009-09-21 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
  19884. Reviewed by Maciej Stachowiak.
  19885. --parse-only parameter wasn't passed to SunSpider/sunspider script.
  19886. https://bugs.webkit.org/show_bug.cgi?id=29611
  19887. * Scripts/run-sunspider: Missing parameter passing added.
  19888. 2009-09-20 David Kilzer <ddkilzer@apple.com>
  19889. <http://webkit.org/b/29521> run-webkit-tests: use require instead eval to load DumpRenderTreeSupport module
  19890. Reviewed by Mark Rowe.
  19891. The require statement is like the use statement, except that it
  19892. is run during script execution instead of during the 'BEGIN'
  19893. phase. This makes it possible to change @INC before the require
  19894. statement is run. See 'require' and 'use' in the perlfunc(1)
  19895. manpage and 'BEGIN' in perlmod(1) manpage.
  19896. * Scripts/run-webkit-tests: Replace eval statement with require
  19897. statement.
  19898. 2009-09-18 Kevin Ollivier <kevino@theolliviers.com>
  19899. wx build fixes. Fix the config name under git and allow users to specify
  19900. their own waf install for experimenting with new versions.
  19901. * Scripts/webkitdirs.pm:
  19902. * wx/build/settings.py:
  19903. 2009-09-18 Alex Milowski <alex@milowski.com>
  19904. Reviewed by Maciej Stachowiak.
  19905. Added checkWebCoreMathMLSupport and hasMathMLSupport to support
  19906. checking for whether MathML tests should be run
  19907. * Scripts/run-webkit-tests:
  19908. * Scripts/webkitdirs.pm:
  19909. 2009-08-28 Darin Adler <darin@apple.com>
  19910. Reviewed by Mark Rowe.
  19911. Break more of run-webkit-tests into separate functions
  19912. https://bugs.webkit.org/show_bug.cgi?id=29497
  19913. Some small steps toward improving run-webkit-tests. My goal is to
  19914. refactor much more of the script into functions. Later we can add
  19915. parallel test running to the tool. But better structure may help
  19916. even if someone decides to translate this into another scripting
  19917. language instead.
  19918. * Scripts/run-webkit-tests: Break more pieces of the script into
  19919. seprate functions. Added readSkippedFiles, findTestsToRun, and
  19920. printResults functions. Removed custom code to skip results.html
  19921. and instead just put it into the ignoredFiles hash. Fixed some
  19922. indentation. Sorted function declarations, global variables,
  19923. and options at the top of the file alphabetically so they're not
  19924. in a semi-random order.
  19925. 2009-09-17 Kevin Ollivier <kevino@theolliviers.com>
  19926. wx build fix, add missing dependency.
  19927. * wx/browser/wscript:
  19928. 2009-09-16 Mark Rowe <mrowe@apple.com>
  19929. Split the SnowLeopard build across a few machines.
  19930. * BuildSlaveSupport/build.webkit.org-config/config.json:
  19931. 2009-09-16 Kevin Ollivier <kevino@theolliviers.com>
  19932. wx build fix to support monolithic builds on Windows.
  19933. * wx/build/wxpresets.py:
  19934. 2009-09-16 Kevin Ollivier <kevino@theolliviers.com>
  19935. wx build fix, improve debug support and 2.9 support on MSW.
  19936. * wx/build/settings.py:
  19937. * wx/build/wxpresets.py:
  19938. 2009-09-16 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  19939. Blind try at fixing new test failure on Windows.
  19940. * DumpRenderTree/win/FrameLoadDelegate.cpp:
  19941. (FrameLoadDelegate::didReceiveTitle):
  19942. 2009-09-15 Alex Milowski <alex@milowski.com>
  19943. Reviewed by Tor Arne Vestbø.
  19944. Added mathml toggle
  19945. * Scripts/build-webkit:
  19946. 2009-09-15 Kevin Ollivier <kevino@theolliviers.com>
  19947. wx build fix. Allow waf build to support Python < 2.6.
  19948. * wx/build/waf_extensions.py:
  19949. 2009-09-14 Chris Marrin <cmarrin@apple.com>
  19950. Reviewed by Oliver Hunt.
  19951. Add LayoutTests infrastructure to enable and disable webgl tests.
  19952. https://bugs.webkit.org/show_bug.cgi?id=29254
  19953. * Scripts/run-webkit-tests:
  19954. * Scripts/webkitdirs.pm:
  19955. 2009-09-14 Simon Fraser <simon.fraser@apple.com>
  19956. Reviewed by Darin Adler.
  19957. Add --iterations option to run-webkit-tests to repeat the tests N times
  19958. https://bugs.webkit.org/show_bug.cgi?id=29263
  19959. When run with --iterations N, run-webkit-tests will repeat the tests N times.
  19960. * Scripts/run-webkit-tests:
  19961. 2009-09-14 Brady Eidson <beidson@apple.com>
  19962. Not reviewed, maybe should've been:
  19963. Cleaning up more Windows-specific fallout from the fix for:
  19964. <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160
  19965. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  19966. (ResourceLoadDelegate::didReceiveAuthenticationChallenge): Correct printf() formatter,
  19967. and call the correct method to get the Sender.
  19968. 2009-09-14 Jon Honeycutt <jhoneycutt@apple.com>
  19969. GTK build fix.
  19970. Unreviewed.
  19971. * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
  19972. (AccessibilityController::setLogScrollingStartEvents):
  19973. 2009-09-11 Jon Honeycutt <jhoneycutt@apple.com>
  19974. DRT/test part of
  19975. <rdar://problem/7197644> WebKit should broadcast an MSAA event when
  19976. jumping to a named anchor
  19977. https://bugs.webkit.org/show_bug.cgi?id=28899
  19978. Reviewed by Adam Roben.
  19979. * DumpRenderTree/AccessibilityController.cpp:
  19980. (logScrollingStartEventsCallback):
  19981. Turn on logging of scrolling start events.
  19982. (AccessibilityController::getJSClass):
  19983. Add a "logScrollingStartEvents" to the AccessibilityController's JS
  19984. class definition.
  19985. (AccessibilityController::resetToConsistentState):
  19986. Turn off logging of scrolling start events.
  19987. * DumpRenderTree/AccessibilityController.h:
  19988. Declare setLogScrollingStartEvents(). Add a member for the scrolling
  19989. start event hook.
  19990. * DumpRenderTree/mac/AccessibilityControllerMac.cpp:
  19991. (AccessibilityController::setLogScrollingStartEvents):
  19992. Stubbed.
  19993. * DumpRenderTree/win/AccessibilityControllerWin.cpp:
  19994. (AccessibilityController::AccessibilityController):
  19995. Initialize the handle to 0.
  19996. (logEventProc):
  19997. Renamed from logFocusEventProc; now logs scrolling start events, too.
  19998. Removed the assertion that the event is a focus event. Added a switch
  19999. to print a message for focus, scrolling start, and other, unknown
  20000. events.
  20001. (AccessibilityController::setLogFocusEvents):
  20002. Changed to use logEventProc.
  20003. (AccessibilityController::setLogScrollingStartEvents):
  20004. If turning logging off, unhook the scrolling start event hook, and clear
  20005. the member holding the handle. If turning on, query for the root
  20006. accessible, so that accessibility is enabled for the WebView, and call
  20007. SetWinEventHook to setup an event hook using logEventProc as the
  20008. callback function.
  20009. 2009-09-14 Brady Eidson <beidson@apple.com>
  20010. Windows build fix.
  20011. * DumpRenderTree/LayoutTestController.cpp:
  20012. (setAuthenticationPasswordCallback):
  20013. (setAuthenticationUsernameCallback):
  20014. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  20015. (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
  20016. 2009-09-14 Brady Eidson <beidson@apple.com>
  20017. Reviewed by Alexey Proskuryakov.
  20018. Safari 4 cannot be used to update firmware on Linksys routers.
  20019. <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160
  20020. Add the ability for DRT to handle authentication challenges.
  20021. * DumpRenderTree/LayoutTestController.cpp:
  20022. (setAuthenticationPasswordCallback):
  20023. (setAuthenticationUsernameCallback):
  20024. (setHandlesAuthenticationChallengesCallback):
  20025. (LayoutTestController::staticFunctions):
  20026. * DumpRenderTree/LayoutTestController.h:
  20027. (LayoutTestController::handlesAuthenticationChallenges):
  20028. (LayoutTestController::setHandlesAuthenticationChallenges):
  20029. (LayoutTestController::authenticationUsername):
  20030. (LayoutTestController::setAuthenticationUsername):
  20031. (LayoutTestController::authenticationPassword):
  20032. (LayoutTestController::setAuthenticationPassword):
  20033. * DumpRenderTree/mac/ResourceLoadDelegate.mm:
  20034. (-[ResourceLoadDelegate webView:resource:didReceiveAuthenticationChallenge:fromDataSource:]):
  20035. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  20036. (ResourceLoadDelegate::didReceiveAuthenticationChallenge):
  20037. * DumpRenderTree/win/ResourceLoadDelegate.h:
  20038. 2009-09-12 Mark Rowe <mrowe@apple.com>
  20039. Reviewed by Dan Bernstein.
  20040. Test for <rdar://problem/6954546> and <rdar://problem/7090444>.
  20041. Add a flag on the test plug-in that asks it to clear the document during the call to NPP_New.
  20042. This is the trigger for both <rdar://problem/6954546> and <rdar://problem/7090444>.
  20043. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  20044. (NPP_New):
  20045. 2009-09-14 Kevin Ollivier <kevino@theolliviers.com>
  20046. wx build fix for non-wxPython builds and a fix for errors when updating swig.py.
  20047. * wx/build/build_utils.py:
  20048. * wx/build/settings.py:
  20049. 2009-09-14 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
  20050. Reviewed by Tor Arne Vestbø.
  20051. [Qt] Build fix for windows build.
  20052. * Scripts/bisect-builds: Add missing paranthesis for tmpdir function.
  20053. 2009-09-13 Kevin Ollivier <kevino@theolliviers.com>
  20054. Fix typo accidently landed in last commit.
  20055. * wx/build/settings.py:
  20056. 2009-09-13 Kevin Ollivier <kevino@theolliviers.com>
  20057. wx build fix, error out if using the wrong Python.
  20058. * wx/build/settings.py:
  20059. 2009-09-13 Xan Lopez <xlopez@igalia.com>
  20060. Build fix for GTK+ < 2.14.
  20061. Do not use gtk_widget_get_window, access the window directly
  20062. through the struct.
  20063. * DumpRenderTree/gtk/EventSender.cpp:
  20064. (contextClickCallback):
  20065. (mouseDownCallback):
  20066. (mouseUpCallback):
  20067. (mouseMoveToCallback):
  20068. (keyDownCallback):
  20069. 2009-09-13 Martin Robinson <martin.james.robinson@gmail.com>
  20070. Reviewed by Xan Lopez and Jan Alonzo.
  20071. [GTK] EventSender does not set 'window' property on synthesized GDK events
  20072. https://bugs.webkit.org/show_bug.cgi?id=29169
  20073. Set the window property on synthesized GDK events in the GTK+ EventSender.
  20074. * DumpRenderTree/gtk/EventSender.cpp:
  20075. (contextClickCallback):
  20076. (mouseDownCallback):
  20077. (mouseUpCallback):
  20078. (mouseMoveToCallback):
  20079. (keyDownCallback):
  20080. 2009-09-12 Drew Wilson <atwilson@google.com>
  20081. Reviewed by Mark Rowe.
  20082. run-webkit-tests has a timeout value that is too low
  20083. https://bugs.webkit.org/show_bug.cgi?id=29223
  20084. * Scripts/run-webkit-tests:
  20085. Changed timeout value to 20 seconds to avoid timing out too early.
  20086. 2009-09-11 Kevin Ollivier <kevino@theolliviers.com>
  20087. wx build fix. Mark dependencies as mandatory and declare which MSVC versions and
  20088. architectures are supported for building wxWebKit.
  20089. * wx/build/settings.py:
  20090. 2009-09-11 Eric Seidel <eric@webkit.org>
  20091. Reviewed by David Levin.
  20092. bugzilla-tool rollout threw exception under svn
  20093. https://bugs.webkit.org/show_bug.cgi?id=29211
  20094. * Scripts/modules/scm.py: add missing return, and convert number arguments to strings.
  20095. * Scripts/modules/scm_unittest.py: add testing for this fix.
  20096. 2009-09-11 Brian Weinstein <bweinstein@apple.com>
  20097. Add myself to the committers list.
  20098. * Scripts/modules/committers.py:
  20099. 2009-09-11 Eric Seidel <eric@webkit.org>
  20100. Reviewed by Adam Barth.
  20101. bugzilla-tool land-patches should only fail-fast in --commit-queue mode
  20102. https://bugs.webkit.org/show_bug.cgi?id=29201
  20103. * Scripts/bugzilla-tool:
  20104. 2009-09-11 Adam Roben <aroben@apple.com>
  20105. Make commit-log-editor move common prefixes to the top of the log
  20106. Fies <http://webkit.org/b/29190> commit-log-editor should move common
  20107. prefixes to the top of the commit log
  20108. Reviewed by Darin Adler.
  20109. * Scripts/commit-log-editor: Find and remove the longest common prefix
  20110. ending in a double newline from each ChangeLog entry, then put that
  20111. common prefix at the top of the commit log.
  20112. (removeLongestCommonPrefixEndingInDoubleNewline): Added. Finds,
  20113. removes, and returns the longest common prefix ending in a double
  20114. newline from a hash of strings
  20115. 2009-09-11 Eric Seidel <eric@webkit.org>
  20116. Fix obvious typo in previous commit, no review.
  20117. bugzilla-tool should automate rollouts
  20118. https://bugs.webkit.org/show_bug.cgi?id=26715
  20119. * Scripts/bugzilla-tool: add back missing "scm" argument.
  20120. 2009-09-11 Eric Seidel <eric@webkit.org>
  20121. Reviewed by Adam Barth.
  20122. bugzilla-tool should automate rollouts
  20123. https://bugs.webkit.org/show_bug.cgi?id=26715
  20124. bugzilla-tool rollout will do the rollout locally and leave the diff for you to verify and commit.
  20125. The --complete-rollout option will automatically land and update the bug.
  20126. Eventually --complete-rollout will be default, but that will require more testing.
  20127. This first pass is good enough for others to try and file bugs about.
  20128. * Scripts/bugzilla-tool:
  20129. - Move modified_changelogs into scm.py.
  20130. - Move svn_revision_from_commit_text logic into scm.py.
  20131. - Add RolloutCommit command.
  20132. * Scripts/modules/bugzilla.py:
  20133. - Add reopen_bug command used by RolloutCommit.
  20134. * Scripts/modules/scm.py:
  20135. - Add functions to support RolloutCommit.
  20136. - Abstract find_uuid into value_from_svn_info so it can be re-used for _repository_url (needed by svn merge).
  20137. - Add a str() call so that svn_commit_log can take a numeric argument.
  20138. - Remove a bunch of very slow code from last_svn_commit_log and used the built-in 'BASE' alias instead.
  20139. - Made dry_run commits return something that svn_revision_from_commit_text can parse.
  20140. * Scripts/modules/scm_unittest.py:
  20141. - Add read_from_path for easy file reading.
  20142. - Put test4 on a new line to make reverts work w/o conflict.
  20143. - Add an "svn update" call so that the checkout revision matches the server revision.
  20144. - Add tests for svn_revision_from_commit_text.
  20145. - Add a simple test for apply_reverse_diff.
  20146. - Add a new self.scm member and use it in the new tests (eventually other tests can use it too).
  20147. - Add test for svn_commit_log to make sure my 'BASE' change above worked as expected.
  20148. 2009-09-11 Adam Roben <aroben@apple.com>
  20149. Get user script/stylesheet tests running on Windows
  20150. Fixes <http://webkit.org/b/29181> User script/stylesheet tests are
  20151. skipped on Windows
  20152. Reviewed by John Sullivan.
  20153. * DumpRenderTree/win/DumpRenderTree.vcproj: Link all configurations
  20154. against comsuppw.lib so we can use _bstr_t.
  20155. * DumpRenderTree/win/LayoutTestControllerWin.cpp: Fixed #include
  20156. order, added #include of comutil.h for _bstr_t.
  20157. (bstrT): Helper function to convert a JSStringRef to a _bstr_t.
  20158. (LayoutTestController::addUserScript):
  20159. (LayoutTestController::addUserStyleSheet):
  20160. Implemented. Implementations were based on those in
  20161. LayoutTestControllerMac.mm.
  20162. 2009-09-10 David Kilzer <ddkilzer@apple.com>
  20163. <http://webkit.org/b/29147> run-webkit-tests: make -h show help
  20164. Reviewed by Mark Rowe.
  20165. * Scripts/run-webkit-tests: Updated to make -h switch show help.
  20166. 2009-09-10 Fumitoshi Ukai <ukai@chromium.org>
  20167. Reviewed by Alexey Proskuryakov.
  20168. Add WebCore/websockets directory in wx build system.
  20169. https://bugs.webkit.org/show_bug.cgi?id=28038
  20170. * wx/build/settings.py:
  20171. 2009-09-10 Martin Robinson <martin.james.robinson@gmail.com>
  20172. [GTK] EventSender does not properly convert some keyDown strings
  20173. https://bugs.webkit.org/show_bug.cgi?id=29119
  20174. Add more keyDown string to character code conversions for GTK+ EventSender.
  20175. * DumpRenderTree/gtk/EventSender.cpp:
  20176. (keyDownCallback):
  20177. 2009-09-09 Steve Block <steveblock@google.com>
  20178. Reviewed by Maciej Stachowiak.
  20179. Geolocation Coordinates::toString() prints bogus values for unspecified properties.
  20180. https://bugs.webkit.org/show_bug.cgi?id=29080
  20181. * Scripts/make-script-test-wrappers: Modified. Adds asynchronous Geolocation tests to exclusion list.
  20182. 2009-09-09 Eric Seidel <eric@webkit.org>
  20183. Reviewed by Eric Carlson.
  20184. reviewer/committer lookups are backwards
  20185. https://bugs.webkit.org/show_bug.cgi?id=29113
  20186. I also moved Eric Carlson from the committer list to the reviewer list now that he is one.
  20187. * Scripts/modules/bugzilla.py:
  20188. * Scripts/modules/committers.py:
  20189. 2009-09-09 Cameron McCormack <cam@mcc.id.au>
  20190. Reviewed by Eric Seidel.
  20191. svn-unapply doesn't revert directories correctly
  20192. https://bugs.webkit.org/show_bug.cgi?id=29065
  20193. * Scripts/svn-unapply: Make svnStatus consistently return status
  20194. lines including a newline.
  20195. * Scripts/svn-apply: Keep svnStatus in sync with the one in
  20196. svn-unapply, in lieu of moving it to a common file.
  20197. 2009-09-09 Cameron McCormack <cam@mcc.id.au>
  20198. Reviewed by Eric Seidel.
  20199. svn-apply doesn't handle changes to files copied to new directories properly
  20200. https://bugs.webkit.org/show_bug.cgi?id=29059
  20201. * Scripts/svn-apply: Don't treat "--- revision 0" patches as being
  20202. additions if we know that we've just copied a file to this name.
  20203. 2009-09-09 Eric Seidel <eric@webkit.org>
  20204. Reviewed by David Levin.
  20205. commit-queue hangs if a builder has never built
  20206. https://bugs.webkit.org/show_bug.cgi?id=29091
  20207. * Scripts/modules/buildbot.py:
  20208. * Scripts/modules/buildbot_unittest.py:
  20209. 2009-09-09 Zan Dobersek <zandobersek@gmail.com>
  20210. Reviewed by Gustavo Noronha.
  20211. [GTK] DumpRenderTree needs eventSender object and implementation
  20212. https://bugs.webkit.org/show_bug.cgi?id=25990
  20213. Implements most of the EventSender object's functionality for
  20214. the DumpRenderTree tool. Implementation still lacks support
  20215. for drag and drop tests and forward leaps.
  20216. Based on work by Holger Hans Peter Freyther.
  20217. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  20218. (runTest): Focus on the view before loading a new test.
  20219. (webViewWindowObjectCleared):
  20220. * DumpRenderTree/gtk/EventSender.cpp: Added.
  20221. (getDragModeCallback):
  20222. (setDragModeCallback):
  20223. (leapForwardCallback):
  20224. (contextClickCallback):
  20225. (updateClickCount):
  20226. (mouseDownCallback):
  20227. (mouseUpCallback):
  20228. (mouseMoveToCallback):
  20229. (beginDragWithFilesCallback):
  20230. (replaySavedEvents):
  20231. (keyDownCallback):
  20232. (textZoomInCallback):
  20233. (textZoomOutCallback):
  20234. (zoomPageInCallback):
  20235. (zoomPageOutCallback):
  20236. (getClass):
  20237. (makeEventSender):
  20238. * DumpRenderTree/gtk/EventSender.h: Added.
  20239. * GNUmakefile.am: Add build rules for EventSender.
  20240. 2009-09-09 Daniel Bates <dbates@webkit.org>
  20241. Reviewed by Adam Roben.
  20242. https://bugs.webkit.org/show_bug.cgi?id=28953
  20243. Added pre- and post- build events so that on build failure, the file
  20244. buildfailed is written to the directory $(WebKitOutputDir).
  20245. * WinLauncher/WinLauncher.vcproj:
  20246. 2009-09-09 Kenneth Rohde Christiansen <kenneth@webkit.org>
  20247. Unreviewed.
  20248. Add myself to list of committers.
  20249. * Scripts/modules/committers.py:
  20250. 2009-09-08 Eric Seidel <eric@webkit.org>
  20251. Reviewed by David Levin.
  20252. commit-queue gets stuck if a non-committer sets commit-queue+ or review+
  20253. https://bugs.webkit.org/show_bug.cgi?id=28605
  20254. https://bugs.webkit.org/show_bug.cgi?id=28916
  20255. * Scripts/bugzilla-tool:
  20256. - Fix comment and adjust reject_patch_from_commit_queue call to pass "manual commit"
  20257. comment now that it's used for rejecting patches for invalid committers too.
  20258. - Pass reject_invalid_patches=True for commit-queue calls, normally we just ignore patches with invalid reviewers, the commit-queue rejects them.
  20259. - Make the commit queue print patches count instead of bugs count, this also fixes https://bugs.webkit.org/show_bug.cgi?id=28916.
  20260. * Scripts/modules/bugzilla.py:
  20261. - Make _parse_attachment_element not validate reviewer/committer.
  20262. - Share flag parsing code in _parse_attachment_flag.
  20263. - Add _validate* methods for validating reviewers and committers and updating bugs when validation fails.
  20264. - Add reject_invalid_patches argument so the commit-queue can update bugs on failed validation and other "read only" commands will not.
  20265. - Add reject_patch_from_review_queue using a new _set_flag_on_attachment abstraction.
  20266. * Scripts/modules/bugzilla_unittest.py:
  20267. - Update this test to no longer expect committer/reviewer validation.
  20268. * Scripts/modules/committers.py:
  20269. - Return None on failed lookups instead of raising Exceptions.
  20270. * Scripts/modules/committers_unittest.py:
  20271. - Update tests to expect None returns instead of exceptions.
  20272. 2009-09-09 David Kilzer <ddkilzer@apple.com>
  20273. <http://webkit.org/b/29061> Fix obvious copy-paste error in AccessibilityUIElement::clickPointY()
  20274. Reviewed by Mark Rowe.
  20275. No change to layout test results.
  20276. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  20277. (AccessibilityUIElement::clickPointY): Changed to return y value
  20278. instead of x value.
  20279. 2009-09-08 Dimitri Glazkov <dglazkov@chromium.org>
  20280. Reviewed by Mark Rowe.
  20281. Reduce dglazkov's boboiness by properly concatenating revision value.
  20282. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Used substitution
  20283. rather than "+".
  20284. 2009-09-08 Kevin Ollivier <kevino@theolliviers.com>
  20285. wxWebKit Python extension build fix - get swig.py if it doesn't exist.
  20286. * wx/build/build_utils.py:
  20287. 2009-09-08 Mark Rowe <mrowe@apple.com>
  20288. Fix an incorrect variable name in UpdateChromiumSource.
  20289. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  20290. 2009-09-08 Mark Rowe <mrowe@apple.com>
  20291. Don't check for leaks on the release SnowLeopard builder.
  20292. * BuildSlaveSupport/build.webkit.org-config/config.json:
  20293. 2009-09-08 Mark Rowe <mrowe@apple.com>
  20294. Add a SnowLeopard release builder.
  20295. * BuildSlaveSupport/build.webkit.org-config/config.json:
  20296. 2009-09-08 David Levin <levin@chromium.org>
  20297. Reviewed by Darin Adler.
  20298. Remove end of line whitespace check from check-webkit-style.
  20299. https://bugs.webkit.org/show_bug.cgi?id=29053
  20300. * Scripts/modules/cpp_style.py:
  20301. 2009-09-08 Cameron McCormack <cam@mcc.id.au>
  20302. Reviewed by Darin Adler.
  20303. Fix DumpRenderTree build from clean tree on Tiger
  20304. https://bugs.webkit.org/show_bug.cgi?id=28927
  20305. * DumpRenderTree/mac/PerlSupport/Makefile: Ensure the
  20306. DerivedSources/DumpRenderTree directory exists when
  20307. building on Tiger.
  20308. 2009-09-08 Kevin Ollivier <kevino@theolliviers.com>
  20309. wx build fix after introduction of platform/mock directory.
  20310. * wx/build/settings.py:
  20311. 2009-09-08 Yael Aharon <yael.aharon@nokia.com>
  20312. Unreviewed.
  20313. Add myself to list of committers.
  20314. * Scripts/modules/committers.py:
  20315. 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  20316. Unreviewed.
  20317. Add myself to list of committers.
  20318. * Scripts/modules/committers.py:
  20319. 2009-09-08 Cameron McCormack <cam@mcc.id.au>
  20320. Reviewed by Darin Adler.
  20321. prepare-ChangeLog too chatty on file additions
  20322. https://bugs.webkit.org/show_bug.cgi?id=29019
  20323. * Scripts/prepare-ChangeLog: Omit description of added properties
  20324. on newly added files.
  20325. 2009-09-08 Steve Block <steveblock@google.com>
  20326. Reviewed by Adam Barth.
  20327. Adds a LayoutTestController method to set the permission state for Geolocation.
  20328. This is required to use the mock Geolocation service for testing.
  20329. https://bugs.webkit.org/show_bug.cgi?id=29027
  20330. * DumpRenderTree/LayoutTestController.cpp: Modified.
  20331. (setDatabaseQuotaCallback): Modified. Style fix.
  20332. (setGeolocationPermissionCallback): Added. Sets the Geolocation permission state.
  20333. (LayoutTestController::staticFunctions): Modified. Registers the above function on the LayoutTestController.
  20334. * DumpRenderTree/LayoutTestController.h: Modified.
  20335. (LayoutTestController::setGeolocationPermission): Added. Sets the Geolocation permission state.
  20336. (LayoutTestController::isGeolocationPermissionSet): Added. Returns whether the Geolocation permission has been set.
  20337. (LayoutTestController::geolocationPermission): Added. Returns the Geolocation permission state.
  20338. * DumpRenderTree/mac/UIDelegate.mm: Modified.
  20339. (-[UIDelegate webView:frame:requestGeolocationPermission:securityOrigin:]): Added. Implement chrome method to respond to request for Geolocation permission state. Response is made using above methods to access permission state.
  20340. 2009-09-08 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  20341. Reviewed by Simon Hausmann.
  20342. [Qt] QtWebKit single API to enable persistency
  20343. https://bugs.webkit.org/show_bug.cgi?id=28682
  20344. Use the new enablePersistentStorage API instead
  20345. of enabling all persistent features one-by-one.
  20346. * DumpRenderTree/qt/DumpRenderTree.cpp:
  20347. (WebCore::WebPage::WebPage):
  20348. (WebCore::DumpRenderTree::DumpRenderTree):
  20349. 2009-09-07 Andras Becsi <becsi.andras@stud.u-szeged.hu>
  20350. Reviewed by Tor Arne Vestbø.
  20351. Refactor --strict switch to --ignore-metrics and correct the
  20352. implementation to make the feature usable on all platforms.
  20353. https://bugs.webkit.org/show_bug.cgi?id=28907
  20354. run-webkit-tests --ignore-metrics strips the font related metrics from
  20355. the actual and expected data before comparing them.
  20356. In this way the render trees can be checked for obvious differences but
  20357. a successful test implies by no means that the layout is actually correct.
  20358. * Scripts/run-webkit-tests:
  20359. 2009-09-07 Steve Block <steveblock@google.com>
  20360. Reviewed by Adam Barth.
  20361. Adds a mock Geolocation service. This will be used to provide predictable behavior of the
  20362. Geolocation API for use in LayoutTests. Later changes will integrate the the mock
  20363. Geolocation service with DumpRenderTree.
  20364. https://bugs.webkit.org/show_bug.cgi?id=28264
  20365. * DumpRenderTree/LayoutTestController.cpp: Modified.
  20366. (setMockGeolocationPositionCallback): Added. Configures the mock Geolocation service.
  20367. (setMockGeolocationErrorCallback): Added. Configures the mock Geolocation service.
  20368. (LayoutTestController::staticFunctions): Added. Registers the above functions on the LayoutTestController.
  20369. * DumpRenderTree/LayoutTestController.h: Modified.
  20370. * DumpRenderTree/mac/LayoutTestControllerMac.mm: Modified.
  20371. (LayoutTestController::setMockGeolocationPosition): Added. Configures the mock Geolocation service.
  20372. (LayoutTestController::setMockGeolocationError): Added. Configures the mock Geolocation service.
  20373. 2009-09-07 Drew Wilson <atwilson@google.com>
  20374. Reviewed by David Levin.
  20375. Enable SHARED_WORKERS by default
  20376. https://bugs.webkit.org/show_bug.cgi?id=28959
  20377. * Scripts/build-webkit:
  20378. 2009-09-07 Kevin Ollivier <kevino@theolliviers.com>
  20379. wx build fixes for wx SVN trunk.
  20380. * wx/build/settings.py:
  20381. 2009-09-04 Kevin Ollivier <kevino@theolliviers.com>
  20382. wx build fix. Switch USE_ defines over to the compiler so that they can be
  20383. checked by files not including config.h (like WebCorePrefix.h).
  20384. * wx/build/settings.py:
  20385. 2009-09-04 Adam Barth <abarth@webkit.org>
  20386. Unreviewed build fix.
  20387. Update declaration of FrameLoadDelegate to reflect that
  20388. IWebFrameLoadDelegatePrivate2 inherits from
  20389. IWebFrameLoadDelegatePrivate.
  20390. * DumpRenderTree/win/FrameLoadDelegate.h:
  20391. 2009-09-04 Adam Barth <abarth@webkit.org>
  20392. Reviewed by Eric Seidel.
  20393. https://bugs.webkit.org/show_bug.cgi?id=24696
  20394. Add testing instrumentation for mixed content.
  20395. * DumpRenderTree/mac/FrameLoadDelegate.mm:
  20396. (-[FrameLoadDelegate webView:]):
  20397. (-[FrameLoadDelegate webView:didRunInsecureContent:]):
  20398. * DumpRenderTree/win/FrameLoadDelegate.cpp:
  20399. (descriptionSuitableForTestResult):
  20400. (FrameLoadDelegate::QueryInterface):
  20401. (FrameLoadDelegate::didDisplayInsecureContent):
  20402. (FrameLoadDelegate::didRunInsecureContent):
  20403. * DumpRenderTree/win/FrameLoadDelegate.h:
  20404. 2009-09-03 Kevin Watters <kevinwatters@gmail.com>
  20405. Reviewed by Kevin Ollivier.
  20406. [wx] Frames support
  20407. https://bugs.webkit.org/show_bug.cgi?id=19041
  20408. * wx/build-wxwebkit:
  20409. 2009-09-02 David Kilzer <ddkilzer@apple.com>
  20410. <http://webkit.org/b/28880> svn-apply --force doesn't actually work
  20411. Reviewed by Eric Seidel.
  20412. This fixes "svn-apply --force" and adds unit tests for the
  20413. scm.apply_patch() method which uses this script.
  20414. * Scripts/svn-apply: Created $globalExitCode variable that
  20415. defaults to 0. Exit with a value of $globalExitCode when the
  20416. script is finished.
  20417. (applyPatch): Ignore a non-zero $exitCode if $force is true, but
  20418. set $globalExitCode to $exitCode so that svn-apply exits with a
  20419. non-zero status if any patches did not apply cleanly. Also
  20420. print out the actual patch command if $force was not true.
  20421. * Scripts/modules/scm.py:
  20422. (scripts_directory): Added. Extracted from script_path().
  20423. (script_path): Extracted scripts_directory().
  20424. * Scripts/modules/scm_unittest.py: Import urllib.
  20425. (SVNTestRepository.setup): Save the original working directory
  20426. in test_object since this represents the WebKit repository from
  20427. where the unit tests are run.
  20428. (SCMTest): Created new super class to hold utility methods.
  20429. (SCMTest._create_patch): Creates a patch file on disk and a
  20430. dictionary for use with scm.svn_apply().
  20431. (SCMTest._setup_webkittools_scripts_symlink): Sets up a symlink
  20432. back to WebKitTools/Scripts in the test repository so that
  20433. scm.apply_patch() is able to find the svn-apply script.
  20434. (SVNTest): Inherit from SCMTest instead of unittest.TestCase.
  20435. (SVNTest.tearDown): Make sure to change directories back to the
  20436. original_path before the next test.
  20437. (SVNTest.test_apply_svn_patch): New test case for applying an
  20438. svn patch with scm.apply_patch().
  20439. (SVNTest.test_apply_svn_patch_force): New test case for applying
  20440. an svn patch with scm.apply_patch() that conflicts.
  20441. (GitTest): Inherit from SCMTest instead of unittest.TestCase.
  20442. (GitTest.tearDown): Make sure to change directories back to the
  20443. original_path before the next test.
  20444. (GitTest.test_apply_git_patch): New test case for applying a git
  20445. patch with scm.apply_patch().
  20446. (GitTest.test_apply_git_patch_force): New test case for applying
  20447. a git patch with scm.apply_patch() that conflicts.
  20448. 2009-09-02 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  20449. Reviewed by Mark Rowe.
  20450. [Qt] Add support for platform-spesific layout-test results
  20451. For the Qt port we use the qt-[mac|linux|win] directories and then fall
  20452. back to the generic qt directory for both test results and skipped list.
  20453. * Scripts/run-webkit-tests:
  20454. * Scripts/webkitdirs.pm:
  20455. 2009-09-02 Laurent Cerveau <lcerveau@me.com>
  20456. Reviewed by David Kilzer.
  20457. <http://webkit.org/b/25517> build-webkit script should print build time at end
  20458. * Scripts/build-webkit:
  20459. Added startTime and endTime variable so that the build time is computed and printed as
  20460. part of the build message; display formatting has been separated in a dedicated subroutine.
  20461. 2009-09-02 David Kilzer <ddkilzer@apple.com>
  20462. <http://webkit.org/b/28881> svn-create-patch should check if the repo path is the same when trying to find the root
  20463. Reviewed by Eric Seidel.
  20464. * Scripts/VCSUtils.pm:
  20465. (determineSvnRoot): Added back check for repository root that
  20466. was removed in r46134 when this code lived in svn-create-patch.
  20467. It's necessary to check both the repository root and the
  20468. repository UUID in case two different working directories are
  20469. checked out from the same repository.
  20470. 2009-09-02 Timothy Hatcher <timothy@apple.com>
  20471. Use new 512x512 icons for nightly builds.
  20472. Rubber-stamped by Mark Rowe.
  20473. * WebKitLauncher/webkit.icns:
  20474. 2009-09-02 Kevin Ollivier <kevino@theolliviers.com>
  20475. waf build fix. Remove local variable shadowing global.
  20476. * wx/build/settings.py:
  20477. 2009-09-02 Zan Dobersek <zandobersek@gmail.com>
  20478. Reviewed by David Kilzer.
  20479. Calls exitStatus function from the main package where it is also defined.
  20480. * Scripts/VCSUtils.pm:
  20481. 2009-09-02 Kevin Ollivier <kevino@theolliviers.com>
  20482. waf build fixes for Windows/MSVC and Mac/Snow Leopard.
  20483. * wx/browser/wscript:
  20484. * wx/build/build_utils.py:
  20485. * wx/build/settings.py:
  20486. 2009-08-10 Kevin Ollivier <kevino@theolliviers.com>
  20487. Reviewed by Eric Seidel.
  20488. Changes needed for build-webkit to support the waf build system for the wx port.
  20489. https://bugs.webkit.org/show_bug.cgi?id=27619
  20490. * Scripts/build-webkit:
  20491. * Scripts/run-launcher:
  20492. * Scripts/webkitdirs.pm:
  20493. 2009-09-02 David Kilzer <ddkilzer@apple.com>
  20494. <http://webkit.org/b/27168> With Subversion 1.6, update-webkit prompts on conflicts
  20495. Reviewed by Eric Seidel.
  20496. * Scripts/update-webkit: Added "--accept postpone" to
  20497. @svnOptions when running with svn-1.6 or newer.
  20498. 2009-09-02 David Kilzer <ddkilzer@apple.com>
  20499. Moved svn 1.6 version check into VCSUtils::isSVNVersion16OrNewer()
  20500. Reviewed by Eric Seidel.
  20501. * Scripts/VCSUtils.pm:
  20502. (@EXPORT): Added &isSVNVersion16OrNewer.
  20503. (svnVersion): Added. Internal method that gets the SVN version
  20504. and caches it.
  20505. (isSVNVersion16OrNewer): Added. Method that does the SVN 1.6
  20506. version check.
  20507. * Scripts/prepare-ChangeLog: Switched to use new
  20508. isSVNVersion16OrNewer() method.
  20509. * Scripts/resolve-ChangeLogs: Ditto.
  20510. * Scripts/svn-create-patch: Ditto.
  20511. 2009-09-02 David Kilzer <ddkilzer@apple.com>
  20512. Clean up VCSUtils.pm
  20513. Reviewed by Eric Seidel.
  20514. * Scripts/VCSUtils.pm: Added proper package statement. Fixed
  20515. indentation of BEGIN block. Listed each exported method on a
  20516. line by itself. Added methods to the export list after adding
  20517. the package statement. Sorted module variables. Moved
  20518. definiton of $gitRoot next to other module variables.
  20519. 2009-09-01 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  20520. Rubber-stamped by Simon Hausmann.
  20521. [Qt] Fix layout-test plugins/plugin-javascript-access.html
  20522. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  20523. 2009-09-02 Shinichiro Hamaji <hamaji@chromium.org>
  20524. Reviewed by Eric Seidel.
  20525. js tests should move into jstests subdirectory instead of resources/
  20526. https://bugs.webkit.org/show_bug.cgi?id=25880
  20527. make-script-wrappers supports both resources and script-tests directories.
  20528. run-webkit-tests ignores files in script-tests.
  20529. Move script tests of animations to check the new script is working.
  20530. * Scripts/make-script-test-wrappers:
  20531. * Scripts/run-webkit-tests:
  20532. 2009-09-02 Szabo Carol <carol.szabo@nokia.com>
  20533. Reviewed by David Levin.
  20534. check-webkit-style uses python from /usr/bin instead of the PATH
  20535. https://bugs.webkit.org/show_bug.cgi?id=28225
  20536. * Scripts/bugzilla-tool:
  20537. * Scripts/check-webkit-style:
  20538. * Scripts/run-webkit-unittests:
  20539. * Scripts/update-sources-list.py:
  20540. Changed the first line from
  20541. #!/usr/bin/python
  20542. to
  20543. #!/usr/bin/env python
  20544. which causes python to be invoked from the path location returned
  20545. by "which python" when any of these scripts are launched.
  20546. these are currently all the python scripts in WebKitTools/Scripts.
  20547. 2009-09-01 David Kilzer <ddkilzer@apple.com>
  20548. <http://webkit.org/b/28601> bugzilla-tool post-commits posts commits backwards
  20549. Reviewed by Adam Barth.
  20550. * Scripts/modules/scm.py:
  20551. (Git.commit_ids_from_commitish_arguments): Reverse the list of
  20552. commits returned from git-rev-list since we always want to post
  20553. the oldest patches first to bugs.webkit.org.
  20554. * Scripts/modules/scm_unittest.py:
  20555. (run): Added return statement to return the output now that we
  20556. want it sometimes.
  20557. (SVNTestRepository._setup_test_commits): Added a fourth commit
  20558. so the GitTest.test_commitish_order() test has more commits to
  20559. work with.
  20560. (GitTest.test_commitish_order): Added unit test for change to
  20561. Git.commit_ids_from_commitish_arguments() in scm.py.
  20562. 2009-09-01 David Kilzer <ddkilzer@apple.com>
  20563. <http://webkit.org/b/28877> Implement bugzilla-tool mark-fixed
  20564. Reviewed by David Levin.
  20565. The mark-fixed subcommand is for those times when you don't use
  20566. bugzilla-tool to commit a patch, but you want to use it to close
  20567. the bug with a committed-revision message.
  20568. * Scripts/bugzilla-tool:
  20569. (bug_comment_from_svn_revision): Added. Extracted from
  20570. bug_comment_from_commit_text().
  20571. (bug_comment_from_commit_text): Extracted
  20572. bug_comment_from_svn_revision() from this method.
  20573. (MarkBugFixed.__init__): Added.
  20574. (MarkBugFixed._fetch_commit_log): Added. Retrieves the commit
  20575. log from the last commit if no svn revision is specified, else
  20576. the commit log for the specified svn revision.
  20577. (MarkBugFixed._determine_bug_id_and_svn_revision): Added.
  20578. Attempts to determine the bug id and svn revision if one or both
  20579. were not defined on the command line.
  20580. (MarkBugFixed.execute): Added. Adds a comment about the
  20581. revision that fixed the bug and closes the bug.
  20582. (BugzillaTool.__init__): Added mark-fixed subcommand.
  20583. * Scripts/modules/bugzilla.py:
  20584. (Bugzilla.fetch_title_from_bug): Added. Returns the title of a
  20585. bug given a bug id.
  20586. * Scripts/modules/scm.py:
  20587. (SCM.strip_r_from_svn_revision): Added. Utility method to strip
  20588. the leading 'r' from an svn revision.
  20589. (SCM.svn_commit_log): Added. Subclasses must override.
  20590. (SCM.last_svn_commit_log): Added. Subclasses must override.
  20591. (SVN.svn_commit_log): Added. Returns svn log for a given
  20592. revision.
  20593. (SVN.last_svn_commit_log): Added. Uses svnversion to find the
  20594. last commit in an svn working directory and then runs svn log.
  20595. (Git.svn_commit_log): Added. Returns svn log for a given
  20596. revision.
  20597. (Git.last_svn_commit_log): Added. Runs git-svn-log with a limit
  20598. of one log message.
  20599. 2009-09-01 David Kilzer <ddkilzer@apple.com>
  20600. <http://webkit.org/b/28880> svn-apply --force doesn't actually work
  20601. Reviewed by Brady Eidson.
  20602. * Scripts/svn-apply:
  20603. (applyPatch): Add "--force" to $options arrayref if $force is
  20604. set.
  20605. 2009-09-01 David Kilzer <ddkilzer@apple.com>
  20606. <http://webkit.org/b/28725> resolve-ChangeLogs: determineVCSRoot() returns incorrect repository root during git filter-branch
  20607. Reviewed by Adam Roben.
  20608. When git-filter-branch has been invoked to rewrite ChangeLog
  20609. files on series of git commits, it changes directories into
  20610. .git-rewrite/t before re-running resolve-ChangeLogs. This
  20611. causes determineVCSRoot() in VCSUtils.pm to return
  20612. ".git-rewrite/t", which causes that path to be prepended to all
  20613. ChangeLog paths, which results in an error like this:
  20614. error: pathspec '.git-rewrite/t/ChangeLog' did not match any file(s) known to git.
  20615. Died at WebKitTools/Scripts/resolve-ChangeLogs line 376.
  20616. The correct way to fix this is not to try to find the repository
  20617. root when invoked by git-filter-branch.
  20618. * Scripts/resolve-ChangeLogs: If isInGitFilterBranch() is true,
  20619. set $relativePath to '.' instead of calling
  20620. chdirReturningRelativePath(determineVCSRoot()).
  20621. (isInGitFilterBranch): Added. Checks for the existence of the
  20622. MAPPED_PREVIOUS_COMMIT environment variable.
  20623. 2009-09-01 Xan Lopez <xlopez@igalia.com>
  20624. Reviewed by Gustavo Noronha.
  20625. Add support for Fedora distros in the http tests
  20626. https://bugs.webkit.org/show_bug.cgi?id=28263
  20627. Add detection code for Fedora distribution, and use the proper
  20628. httpd conf file when needed.
  20629. * Scripts/run-webkit-httpd:
  20630. * Scripts/run-webkit-tests:
  20631. * Scripts/webkitdirs.pm:
  20632. 2009-09-01 Jan Michael Alonzo <jmalonzo@webkit.org>
  20633. Reviewed by Eric Seidel.
  20634. [Gtk] DRT needs implementation of overridePreference
  20635. https://bugs.webkit.org/show_bug.cgi?id=28830
  20636. Implement overridePreference.
  20637. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  20638. (resetDefaultsToConsistentValues):
  20639. (setDefaultsToConsistentStateValuesForTesting):
  20640. (runTest):
  20641. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  20642. (toWebSettingKey):
  20643. (LayoutTestController::overridePreference):
  20644. 2009-09-01 Joseph Pecoraro <joepeck@webkit.org>
  20645. <http://webkit.org/b/28623> svn-[un]apply should change directories to the repository root before [un]applying
  20646. Reviewed by Eric Seidel.
  20647. Jump back and forth between the repository root directory (to apply) and the
  20648. directory the script was run from (to find the patch).
  20649. * Scripts/svn-apply:
  20650. * Scripts/svn-unapply:
  20651. 2009-08-31 Adam Roben <aroben@apple.com>
  20652. Fall back to a Release version of Safari if a Debug one doesn't exist
  20653. <http://webkit.org/b/28849>
  20654. Reviewed by Sam Weinig.
  20655. * Scripts/webkitdirs.pm:
  20656. (safariPath): If the user is working with a Debug build, but there's
  20657. no Debug version of Safari present, fall back to using a Release
  20658. version of Safari.
  20659. 2009-08-31 Adam Roben <aroben@apple.com>
  20660. Make safariPath() work for Debug builds of Safari on Windows
  20661. <http://webkit.org/b/28849>
  20662. Reviewed by Sam Weinig.
  20663. * Scripts/webkitdirs.pm:
  20664. (safariPath): If the user is working with a Debug build, add the
  20665. _debug suffix to Safari.exe.
  20666. 2009-08-28 Eric Seidel <eric@webkit.org>
  20667. Reviewed by Adam Barth.
  20668. commit-queue needs a master process
  20669. https://bugs.webkit.org/show_bug.cgi?id=28040
  20670. Add a bugzilla-tool commit-queue command
  20671. Keeps per-bug logs, but doesn't yet upload them anywhere.
  20672. * Scripts/bugzilla-tool: Add LandPatchesFromCommitQueue to handle 'commit-queue'
  20673. * Scripts/modules/buildbot.py: remove noisy log message
  20674. * Scripts/modules/logging.py: add a 'tee()' call for splitting outputs in python
  20675. 2009-08-28 Jan Michael Alonzo <jmalonzo@webkit.org>
  20676. Reviewed by Gustavo Noronha.
  20677. [GTK] Geolocation needs permission API before being enabled by default
  20678. Build the Gtk port with geolocation enabled. This option is only
  20679. enabled for the buildbot. The autotools option will be enabled by
  20680. default once the permissions API is implemented.
  20681. * Scripts/build-webkit:
  20682. 2009-08-26 Cameron McCormack <cam@mcc.id.au>
  20683. Reviewed by David Kilzer.
  20684. Make prepare-ChangeLog notice property changes
  20685. https://bugs.webkit.org/show_bug.cgi?id=28675
  20686. Make the generated ChangeLog entry include a short description of
  20687. property changes if there were such changes. Also make
  20688. prepare-ChangeLog not bail if the only changes are property changes.
  20689. * Scripts/prepare-ChangeLog:
  20690. 2009-08-26 Adam Barth <abarth@webkit.org>
  20691. Reviewed by Oliver Hunt.
  20692. Don't let local files access web URLs
  20693. https://bugs.webkit.org/show_bug.cgi?id=28480
  20694. A bunch of our LayoutTests rely on our old behavior, so we explicitly
  20695. grant local files universal access during testing. Mainly, these tests
  20696. involve making XMLHttpRequests for data URLs.
  20697. * DumpRenderTree/mac/DumpRenderTree.mm:
  20698. (resetDefaultsToConsistentValues):
  20699. * DumpRenderTree/qt/DumpRenderTree.cpp:
  20700. (WebCore::WebPage::WebPage):
  20701. * DumpRenderTree/win/DumpRenderTree.cpp:
  20702. (resetDefaultsToConsistentValues):
  20703. 2009-08-26 John Gregg <johnnyg@google.com>
  20704. Reviewed by David Levin.
  20705. Minor style correction and include fix for notifications
  20706. https://bugs.webkit.org/show_bug.cgi?id=28745
  20707. * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp:
  20708. change to correct EnumStyle
  20709. (DRTDesktopNotificationPresenter::checkNotificationPermission):
  20710. 2009-08-26 David Levin <levin@chromium.org>
  20711. Reviewed by Alexey Proskuryakov.
  20712. XMLHttpRequest.withCredentials=false shouldn't save cookies.
  20713. https://bugs.webkit.org/show_bug.cgi?id=28743
  20714. Added the support to the layout test controller on OSX and
  20715. Windows (for CFNETWORK) to allow for changing the accept cookie
  20716. policy.
  20717. * DumpRenderTree/LayoutTestController.cpp:
  20718. (LayoutTestController::LayoutTestController): Added a bool
  20719. to track the state of accepting cookies.
  20720. (setAlwaysAcceptCookiesCallback): Standard wrapper method
  20721. to go from js to a C++ method.
  20722. (LayoutTestController::staticFunctions): Added the
  20723. setAlwaysAcceptCookies method to the js layoutTestController.
  20724. * DumpRenderTree/LayoutTestController.h:
  20725. (LayoutTestController::alwaysAcceptCookies): Returns the value.
  20726. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  20727. (LayoutTestController::setAlwaysAcceptCookies): Stub out method.
  20728. * DumpRenderTree/mac/DumpRenderTree.mm:
  20729. (resetDefaultsToConsistentValues): Reset the accept cookie to
  20730. its default.
  20731. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  20732. (LayoutTestController::setAlwaysAcceptCookies): Does the work for
  20733. OSX to change the cookie accept policy.
  20734. * DumpRenderTree/win/DumpRenderTree.cpp:
  20735. (setAlwaysAcceptCookies): Method to handle all the calls necessary
  20736. to change the accept cookie policy on Windows.
  20737. (resetDefaultsToConsistentValues): Reset the accept cookie to
  20738. its default.
  20739. * DumpRenderTree/win/DumpRenderTreeWin.h:
  20740. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  20741. (LayoutTestController::setAlwaysAcceptCookies): Stub out method.
  20742. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  20743. (LayoutTestController::setAlwaysAcceptCookies): Stub out method.
  20744. 2009-08-26 Dimitri Glazkov <dglazkov@chromium.org>
  20745. Unreviewed.
  20746. Remove accidentally left in clobber option.
  20747. https://bugs.webkit.org/show_bug.cgi?id=28400
  20748. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Removed clobber option.
  20749. 2009-08-26 Dimitri Glazkov <dglazkov@chromium.org>
  20750. Reviewed by Mark Rowe.
  20751. Add canary-style Chromium WebKit build slave to the waterfall.
  20752. https://bugs.webkit.org/show_bug.cgi?id=28400
  20753. * BuildSlaveSupport/build.webkit.org-config/config.json: Added one Chromium/Windows slave
  20754. * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added support for Chromium slave commands.
  20755. 2009-08-25 Cameron McCormack <cam@mcc.id.au>
  20756. Reviewed by Darin Adler.
  20757. make-script-test-wrappers should be executable
  20758. https://bugs.webkit.org/show_bug.cgi?id=28669
  20759. Make make-script-test-wrappers and update-sources-list.py both be
  20760. executable.
  20761. * Scripts/update-sources-list.py:
  20762. * Scripts/make-script-test-wrappers:
  20763. 2009-08-25 Brent Fulgham <bfulgham@webkit.org>
  20764. Build fix
  20765. Revise Debug_Cairo targets to point inherit from the
  20766. debug_wincairo.vsprops property sheet so that they link
  20767. against the proper libraries in Debug build.
  20768. * DumpRenderTree/win/DumpRenderTree.vcproj:
  20769. * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
  20770. * WinLauncher/WinLauncher.vcproj:
  20771. 2009-08-25 David Levin <levin@chromium.org>
  20772. Reviewed by Adam Roben.
  20773. PLATFORM(CFNETWORK) should be USE(CFNETWORK).
  20774. https://bugs.webkit.org/show_bug.cgi?id=28713
  20775. * DumpRenderTree/win/DumpRenderTree.cpp:
  20776. (main):
  20777. 2009-08-25 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  20778. Reviewed by Ariya Hidayat.
  20779. [Qt/Mac] Use CONFIG+=build_all only when building libraries
  20780. If no configuration is specified when building WebKit we pass the
  20781. debug_and_release option to QMake which results in Makefiles for
  20782. both configurations being generated.
  20783. Previously we built both of these configurations by default, for
  20784. all targets (both the QtWebKit framework/dyldlib and the various
  20785. executables such as QtLauncher and tests). This makes sense for
  20786. the libraries, which get the _debug suffix and can be loaded on
  20787. demand by setting the DYLD_IMAGE_SUFFIX, but for executables we
  20788. ended up building the same executable twice.
  20789. We now only build one instance of each executable, and since this
  20790. is a developer build we build the debug-version. Passing either
  20791. --debug or --release to build-webkit will override this, and
  20792. even in the default case the release version can still be built
  20793. by running 'make release' in the the build directory of each
  20794. target.
  20795. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  20796. * Scripts/webkitdirs.pm:
  20797. 2009-08-24 Hironori Bono <hbono@chromium.org>
  20798. Reviewed by Adam Barth.
  20799. Fix Bug 27827 "[Chromium] Functions Keys don't work in google spreadsheet".
  20800. <https://bugs.webkit.org/show_bug.cgi?id=27827>.
  20801. Because of the lack of mappings from GDK key-codes to WebKit key-codes,
  20802. Chromium cannot send valid key-codes to JavaScript when a user types
  20803. function keys. This change just copies the mappings from 'KeyEventGtk.cpp'.
  20804. To write layout tests for this issue, added mappings from function-key
  20805. names to platform-specific key-codes to EventSendingController objects
  20806. so that eventSender.keyDown() can send function-key events without using
  20807. platform-specific key codes. (Unfortunately, this eventSender.keyDown() change
  20808. is only for Mac. So this change adds this new test to Skipped tests for other
  20809. platforms to prevent this change from crashing the build trees.)
  20810. * DumpRenderTree/mac/EventSendingController.mm:
  20811. (-[EventSendingController keyDown:withModifiers:]):
  20812. 2009-08-23 Jan Michael Alonzo <jmalonzo@webkit.org>
  20813. Reviewed by Xan Lopez.
  20814. [Gtk] API for disabling local file access to web URLs
  20815. https://bugs.webkit.org/show_bug.cgi?id=28663
  20816. Enable this setting for DRT.
  20817. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  20818. (resetWebViewToConsistentStateBeforeTesting):
  20819. 2009-08-22 Adam Barth <abarth@webkit.org>
  20820. Revert 47684. We're going to do this later once clients have had a
  20821. chance to opt into the setting they like.
  20822. * DumpRenderTree/mac/DumpRenderTree.mm:
  20823. (resetDefaultsToConsistentValues):
  20824. * DumpRenderTree/qt/DumpRenderTree.cpp:
  20825. (WebCore::WebPage::WebPage):
  20826. * DumpRenderTree/win/DumpRenderTree.cpp:
  20827. (resetDefaultsToConsistentValues):
  20828. 2009-08-22 Adam Barth <abarth@webkit.org>
  20829. Reviewed by Eric Seidel.
  20830. Don't let local files access web URLs
  20831. https://bugs.webkit.org/show_bug.cgi?id=28480
  20832. A bunch of our LayoutTests rely on our old behavior, so we explicitly
  20833. grant local files universal access during testing. Mainly, these tests
  20834. involve making XMLHttpRequests for data URLs.
  20835. * DumpRenderTree/mac/DumpRenderTree.mm:
  20836. (resetDefaultsToConsistentValues):
  20837. * DumpRenderTree/qt/DumpRenderTree.cpp:
  20838. (WebCore::WebPage::WebPage):
  20839. * DumpRenderTree/win/DumpRenderTree.cpp:
  20840. (resetDefaultsToConsistentValues):
  20841. 2009-08-22 Mark Rowe <mrowe@apple.com>
  20842. Rubber-stamped by Anders Carlsson.
  20843. Bring signed updates to the Mac nightly builds.
  20844. * WebKitLauncher/Info.plist:
  20845. * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
  20846. * WebKitLauncher/WebKitNightlyEnablerSparkle.m:
  20847. (initializeSparkle):
  20848. * WebKitLauncher/nightly.webkit.org.public.pem: Added.
  20849. 2009-08-21 Jan Michael Alonzo <jmalonzo@webkit.org>
  20850. Rubberstamped by Simon Fraser.
  20851. Remove GNOME keyring support in build-webkit. This dependency's
  20852. already been removed in the Gtk port.
  20853. * Scripts/build-webkit:
  20854. 2009-08-20 Brian Weinstein <bweinstein@apple.com>
  20855. Reviewed by Adam Roben.
  20856. Based on original patch by Stephanie Lewis.
  20857. Added support of the Windows malloc history format to parse-malloc history, so we can
  20858. read and parse it.
  20859. * Scripts/parse-malloc-history:
  20860. 2009-08-20 Chris Fleizach <cfleizach@apple.com>
  20861. Reviewed by Darin Adler.
  20862. Enable various "grouping" ARIA roles
  20863. https://bugs.webkit.org/show_bug.cgi?id=28486
  20864. Expose the ability to retrieve the subrole through accessibility for DRT.
  20865. * DumpRenderTree/AccessibilityUIElement.cpp:
  20866. * DumpRenderTree/AccessibilityUIElement.h:
  20867. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  20868. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  20869. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  20870. 2009-08-20 Joseph Pecoraro <joepeck@webkit.org>
  20871. Unreviewed.
  20872. Added myself as a committer.
  20873. * Scripts/modules/committers.py:
  20874. 2009-08-20 Xan Lopez <xlopez@igalia.com>
  20875. Reviewed by Gustavo Noronha.
  20876. Fix memory leaks.
  20877. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  20878. (LayoutTestController::whiteListAccessFromOrigin):
  20879. (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
  20880. (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
  20881. 2009-08-20 Eric Seidel <eric@webkit.org>
  20882. Reviewed by Adam Barth.
  20883. bugzilla-tool post-diff can post partial diffs from SVN checkouts.
  20884. https://bugs.webkit.org/show_bug.cgi?id=28445
  20885. Pass the checkout root as the cwd. Also wrote a test to ensure this.
  20886. * Scripts/modules/scm.py:
  20887. * Scripts/modules/scm_unittest.py:
  20888. 2009-08-20 Mark Rowe <mrowe@apple.com>
  20889. Reviewed by Adele Peterson.
  20890. Don't leak the JSStringRef returned by AccessibilityUIElement::attributeValue.
  20891. * DumpRenderTree/AccessibilityUIElement.cpp:
  20892. (attributeValueCallback):
  20893. 2009-08-20 Ariya Hidayat <ariya.hidayat@nokia.com>
  20894. Unreviewed, build fix.
  20895. [Qt] The template-based qMax() compares two qreals.
  20896. * DumpRenderTree/qt/ImageDiff.cpp:
  20897. (main):
  20898. 2009-08-20 David Levin <levin@chromium.org>
  20899. Reviewed by David Kilzer.
  20900. bugzilla-tool patch retrieval should handle 302 redirects.
  20901. https://bugs.webkit.org/show_bug.cgi?id=28485
  20902. * Scripts/modules/scm.py: Pass the --location parameter to curl
  20903. so that 302's are followed.
  20904. 2009-08-20 Aaron Boodman <aa@chromium.org>
  20905. One more speculative build for gtk.
  20906. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  20907. 2009-08-20 Aaron Boodman <aa@chromium.org>
  20908. Speculative build for gtk.
  20909. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  20910. (LayoutTestController::whiteListAccessFromOrigin):
  20911. 2009-08-20 Mark Rowe <mrowe@apple.com>
  20912. Ignore some leaks that are known to originate from ImageIO.
  20913. * Scripts/run-webkit-tests:
  20914. 2009-08-20 Aaron Boodman <aa@chromium.org>
  20915. With David Levin.
  20916. Speculative build fix for qt.
  20917. * DumpRenderTree/qt/jsobjects.cpp:
  20918. (LayoutTestController::whiteListAccessFromOrigin):
  20919. * DumpRenderTree/qt/jsobjects.h:
  20920. 2009-08-19 Mark Rowe <mrowe@apple.com>
  20921. Reviewed by Dan Bernstein.
  20922. Fix <http://webkit.org/b/28484> Plug-in-related leaks seen on the build bot
  20923. Update check-for-global-initializers to accommodate the new uses of RefCountedLeakCounter in WebKit.
  20924. * Scripts/check-for-global-initializers:
  20925. 2009-08-19 Aaron Boodman <aa@chromium.org>
  20926. Reviewed by David Levin.
  20927. https://bugs.webkit.org/show_bug.cgi?id=24853: Provide a way for WebKit clients to
  20928. specify a more granular policy for cross-origin XHR access.
  20929. * DumpRenderTree/LayoutTestController.cpp: Expose whiteListAccessFromOrigin() to layout tests.
  20930. (whiteListAccessFromOriginCallback): Ditto.
  20931. (LayoutTestController::staticFunctions): Ditto.
  20932. * DumpRenderTree/LayoutTestController.h: Ditto.
  20933. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Ditto.
  20934. (LayoutTestController::whiteListAccessToOrigin): Ditto.
  20935. * DumpRenderTree/mac/LayoutTestControllerMac.mm: Ditto.
  20936. (LayoutTestController::whiteListAccessFromOrigin): Ditto.
  20937. * DumpRenderTree/qt/jsobjects.cpp: Ditto.
  20938. (LayoutTestController::whiteListAccessFromOrigin): Ditto.
  20939. * DumpRenderTree/win/LayoutTestControllerWin.cpp: Stub out whiteListAccessFromOrigin().
  20940. (LayoutTestController::whiteListAccessFromOrigin): Ditto.
  20941. * DumpRenderTree/gtk/DumpRenderTree.cpp: Reset origin access lists before each test.
  20942. (resetWebViewToConsistentStateBeforeTesting): Ditto.
  20943. * DumpRenderTree/mac/DumpRenderTree.mm: Ditto.
  20944. (resetWebViewToConsistentStateBeforeTesting): Ditto.
  20945. * DumpRenderTree/qt/DumpRenderTree.cpp: Ditto.
  20946. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): Ditto.
  20947. 2009-08-19 Mark Rowe <mrowe@apple.com>
  20948. Rubber-stamped by Dan Bernstein.
  20949. Ignore some leaks that are known to originate from QTKit.
  20950. * Scripts/run-webkit-tests:
  20951. 2009-08-19 Eric Seidel <eric@webkit.org>
  20952. Reviewed by Adam Barth.
  20953. commit-queue/bugzilla-tool can get wedged if git is mid-rebase
  20954. https://bugs.webkit.org/show_bug.cgi?id=28436
  20955. Make clean_working_directory cancel rebases too (even though that's a bit of a hack).
  20956. This code will only ever be run when --force-clean is passed.
  20957. I also added a new unit test to make sure this code actually works. :)
  20958. * Scripts/modules/scm.py:
  20959. * Scripts/modules/scm_unittest.py:
  20960. 2009-08-19 Eric Seidel <eric@webkit.org>
  20961. Reviewed by David Levin.
  20962. WebKit needs a changelogs.py to hold changelog-related code
  20963. https://bugs.webkit.org/show_bug.cgi?id=28477
  20964. This is moving code and adding tests. There was only one functional
  20965. change (which was removing a trailing newline from the last_entry() result).
  20966. * Scripts/bugzilla-tool:
  20967. * Scripts/modules/changelogs.py: Added.
  20968. * Scripts/modules/changelogs_unittest.py: Added.
  20969. * Scripts/run-webkit-unittests:
  20970. 2009-08-20 Eric Seidel <eric@webkit.org>
  20971. Reviewed by Adam Barth.
  20972. bugzilla-tool needs a way to ask build.webkit.org if the bots are passing
  20973. https://bugs.webkit.org/show_bug.cgi?id=28222
  20974. Basic support for now. This has been in testing for 24 hours now and worked great!
  20975. * Scripts/bugzilla-tool:
  20976. * Scripts/modules/buildbot.py: Added.
  20977. * Scripts/modules/buildbot_unittest.py: Added.
  20978. * Scripts/run-webkit-unittests:
  20979. 2009-08-19 Jan Michael Alonzo <jmalonzo@webkit.org>
  20980. Reviewed by Gustavo Noronha.
  20981. [Gtk] Bump waitToDumpWatchdog interval to 15 seconds to match the
  20982. default timeout used by run-webkit-tests. Mac and Win ports were
  20983. recently bumped in http://trac.webkit.org/changeset/r47465.
  20984. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  20985. (LayoutTestController::setWaitToDump):
  20986. 2009-08-19 David D. Kilzer <ddkilzer@webkit.org>
  20987. DumpRenderTreeSupport.pm: provide pre-generated swig source for Tiger
  20988. Reviewed by Mark Rowe.
  20989. Provide pre-generated swig source files for Tiger so it may
  20990. benefit from the faster run-webkit-tests.
  20991. * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportTiger.pm:
  20992. Generated by swig.
  20993. * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport_wrapTiger.c: Added.
  20994. Generated by swig.
  20995. (swig_type_info::SWIG_TypeNameComp):
  20996. (swig_type_info::SWIG_TypeEquiv):
  20997. (swig_type_info::SWIG_TypeRegisterTL):
  20998. (swig_type_info::SWIG_TypeCheck):
  20999. (swig_type_info::SWIG_TypeCast):
  21000. (swig_type_info::SWIG_TypeDynamicCast):
  21001. (swig_type_info::SWIG_TypeName):
  21002. (swig_type_info::SWIG_TypePrettyName):
  21003. (swig_type_info::SWIG_TypeQueryTL):
  21004. (swig_type_info::SWIG_TypeClientDataTL):
  21005. (swig_type_info::SWIG_PackData):
  21006. (swig_type_info::SWIG_UnpackData):
  21007. (swig_type_info::SWIG_PropagateClientDataTL):
  21008. (swig_type_info::SWIG_PackVoidPtr):
  21009. (swig_type_info::SWIG_UnpackVoidPtr):
  21010. (swig_type_info::SWIG_PackDataName):
  21011. (swig_type_info::SWIG_UnpackDataName):
  21012. * DumpRenderTree/mac/PerlSupport/Makefile: Updated to build on
  21013. Tiger using pre-generated files.
  21014. 2009-08-18 Shinichiro Hamaji <hamaji@chromium.org>
  21015. Reviewed by David Kilzer.
  21016. run-webkit-tests hangs when WebCore tries to log too much
  21017. https://bugs.webkit.org/show_bug.cgi?id=15743
  21018. Read stdout and stderr in parallel.
  21019. * Scripts/run-webkit-tests:
  21020. 2009-08-18 Mark Rowe <mrowe@apple.com>
  21021. Rubber-stamped by Oliver Hunt.
  21022. Add a new build configuration that checks for leaks during the layout tests,
  21023. and hook a new machine up to it.
  21024. * BuildSlaveSupport/build.webkit.org-config/config.json:
  21025. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  21026. 2009-08-18 Aaron Boodman <aa@chromium.org>
  21027. Reviewed by Maciej Stachowiak.
  21028. https://bugs.webkit.org/show_bug.cgi?id=28412: Leak of WebCore::XMLHttpRequest object during layout tests.
  21029. No new tests: Already covered by existing tests.
  21030. * Scripts/check-for-global-initializers: Allow global initialization of WTF::RefCountedLeakCounter for XMLHttpRequest.
  21031. 2009-08-18 Mark Rowe <mrowe@apple.com>
  21032. Rubber-stamped by Geoff Garen.
  21033. Bump waitToDumpWatchdogInterval to 15 seconds to match the time-out used by run-webkit-tests.
  21034. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  21035. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  21036. 2009-08-18 Brian Weinstein <bweinstein@apple.com>
  21037. Rubber-stamped by Adam Roben.
  21038. Changed use of CComBSTR in exceededDatabaseQuota to BSTRs, and free them,
  21039. and removed include to fix building on VC++ Express.
  21040. * DumpRenderTree/win/UIDelegate.cpp:
  21041. (UIDelegate::exceededDatabaseQuota):
  21042. 2009-08-18 Brian Weinstein <bweinstein@apple.com>
  21043. Reviewed by Oliver Hunt.
  21044. Fix of <https://bugs.webkit.org/show_bug.cgi?id=28326> DRT on Windows doesn't support
  21045. LayoutTestController::setQuota or print a callback on UIDelegate::exceededDatabaseQuota.
  21046. Implemenent setDatabaseQuota and added a new function to the IWebDatabaseManager interface.
  21047. Also added a console output on UIDelegate::exceededDatabaseQuota to match the mac.
  21048. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  21049. (LayoutTestController::setDatabaseQuota):
  21050. * DumpRenderTree/win/UIDelegate.cpp:
  21051. (UIDelegate::exceededDatabaseQuota):
  21052. 2009-08-18 Peter Kasting <pkasting@google.com>
  21053. Reviewed by Eric Seidel.
  21054. https://bugs.webkit.org/show_bug.cgi?id=28415
  21055. Set svn:eol-style CRLF on all .sln and .vcproj files that don't already
  21056. have it.
  21057. * record-memory-win/record-memory-win.vcproj:
  21058. * WinLauncher/WinLauncher.vcproj:
  21059. * WebKitLauncherWin/WebKitLauncherWin.vcproj:
  21060. * DumpRenderTree/win/ImageDiff.vcproj:
  21061. * FindSafari/FindSafari.vcproj:
  21062. 2009-08-18 Drew Wilson <atwilson@google.com>
  21063. Reviewed by Eric Seidel.
  21064. Need to extend DumpRenderTree to expose number of worker threads
  21065. https://bugs.webkit.org/show_bug.cgi?id=28292
  21066. Added layoutTestController.workerThreadCount, and implementations on various platforms that call into WebKit.
  21067. * DumpRenderTree/LayoutTestController.cpp:
  21068. (getWorkerThreadCountCallback):
  21069. (LayoutTestController::staticValues):
  21070. * DumpRenderTree/LayoutTestController.h:
  21071. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  21072. (LayoutTestController::workerThreadCount):
  21073. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  21074. (LayoutTestController::workerThreadCount):
  21075. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  21076. (LayoutTestController::workerThreadCount):
  21077. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  21078. (LayoutTestController::workerThreadCount):
  21079. 2009-08-18 Xan Lopez <xlopez@igalia.com>
  21080. Reviewed by Jan Alonzo.
  21081. Initialize x and y in the GtkAllocation structure to shut up
  21082. valgrind.
  21083. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  21084. (runTest):
  21085. 2009-08-17 Shinichiro Hamaji <hamaji@chromium.org>
  21086. Reviewed by Darin Adler.
  21087. Some HTMLs are modified by make-script-test-wrappers
  21088. https://bugs.webkit.org/show_bug.cgi?id=28213
  21089. Add fast/js/const.js and fast/canvas/canvas-2d-imageData-create-nonfinite.js into
  21090. the exclude list, modified fast/dom/Geolocation/resources/TEMPLATE.html, and
  21091. re-generated wml/* and Geolocation/* .
  21092. * Scripts/make-script-test-wrappers:
  21093. 2009-08-17 Shinichiro Hamaji <hamaji@chromium.org>
  21094. Reviewed by Eric Seidel.
  21095. -webkit-box-orient:horizontal doesn't work on <button> tag
  21096. https://bugs.webkit.org/show_bug.cgi?id=34445
  21097. Make a flexible button's anonymous child flexible and pass the
  21098. parent's box-orient to the anonymous child.
  21099. Also, added a renderName for anonymous flexible boxes.
  21100. * Scripts/make-script-test-wrappers:
  21101. 2009-08-17 Eric Seidel <eric@webkit.org>
  21102. Reviewed by Darin Adler.
  21103. Can no longer --reset-results of a layout test directory
  21104. https://bugs.webkit.org/show_bug.cgi?id=28336
  21105. --reset-results and --exit-after-n-failures are incompatible.
  21106. * Scripts/run-webkit-tests:
  21107. 2009-08-17 David Kilzer <ddkilzer@apple.com>
  21108. <http://webkit.org/b/26920> bugzilla-tool dumps too much junk the the commit comment from git
  21109. Reviewed by Adam Roben.
  21110. New commit message:
  21111. Committed r12345: <http://trac.webkit.org/changeset/12345>
  21112. * Scripts/bugzilla-tool:
  21113. (bug_comment_from_commit_text): Print out a compact,
  21114. standardized commit message for both git and svn.
  21115. 2009-08-17 Peter Kasting <pkasting@google.com>
  21116. Reviewed by Steve Falkenburg.
  21117. https://bugs.webkit.org/show_bug.cgi?id=27323
  21118. Only add Cygwin to the path when it isn't already there. This avoids
  21119. causing problems for people who purposefully have non-Cygwin versions of
  21120. executables like svn in front of the Cygwin ones in their paths.
  21121. * DumpRenderTree/win/DumpRenderTree.vcproj:
  21122. * DumpRenderTree/win/ImageDiff.vcproj:
  21123. * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
  21124. 2009-08-17 David Kilzer <ddkilzer@apple.com>
  21125. <http://webkit.org/b/28393> check-webkit-style: add check for use of std::max()/std::min() instead of MAX()/MIN()
  21126. Reviewed by David Levin.
  21127. * Scripts/modules/cpp_style.py:
  21128. (_ERROR_CATEGORIES): Added 'runtime/max_min_macros'.
  21129. (check_max_min_macros): Added. Returns level 4 error when MAX()
  21130. and MIN() macros are used in header files and C++ source files.
  21131. (check_style): Added call to check_max_min_macros().
  21132. * Scripts/modules/cpp_style_unittest.py: Added unit tests.
  21133. (test_max_macro): Added.
  21134. (test_min_macro): Added.
  21135. 2009-08-13 Mike Fenton <mike.fenton@torchmobile.com>
  21136. Reviewed by Eric Seidel.
  21137. Move adjustLineToPixelBoundaries overlapping function to GraphicsContext.cpp
  21138. and remove from GraphicsContextCairo.cpp and GraphicsContextQt.cpp.
  21139. https://bugs.webkit.org/show_bug.cgi?id=28268
  21140. * platform/graphics/GraphicsContext.cpp:
  21141. (WebCore::GraphicsContext::adjustLineToPixelBoundaries):
  21142. * platform/graphics/GraphicsContext.h:
  21143. * platform/graphics/cairo/GraphicsContextCairo.cpp:
  21144. * platform/graphics/qt/GraphicsContextQt.cpp:
  21145. 2009-08-10 Mike Fenton <mike.fenton@torchmobile.com>
  21146. Reviewed by Adam Treat.
  21147. Style fixes for DumpRenderTree/qt/jsobjects.cpp based on cpp_style.py and
  21148. WebKit style guide.
  21149. https://bugs.webkit.org/show_bug.cgi?id=28161
  21150. * DumpRenderTree/qt/jsobjects.cpp:
  21151. (findFrameNamed):
  21152. (LoadItem::invoke):
  21153. (LayoutTestController::provisionalLoad):
  21154. (LayoutTestController::timerEvent):
  21155. (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
  21156. (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
  21157. (LayoutTestController::numberOfActiveAnimations):
  21158. (EventSender::keyDown):
  21159. (EventSender::frameUnderMouse):
  21160. (TextInputController::doCommand):
  21161. 2009-08-16 David Kilzer <ddkilzer@apple.com>
  21162. <http://webkit.org/b/28370> check-webkit-style: add check for 'using std::foo;' statements
  21163. Reviewed by David Levin.
  21164. In <http://webkit.org/b/28355#c1>, it was noted that new source
  21165. files use 'using namespace std;' instead of individual
  21166. 'using std::foo;' statements. This adds a level 4 check for
  21167. such statements.
  21168. * Scripts/modules/cpp_style.py:
  21169. (_ERROR_CATEGORIES): Added 'build/using_std'.
  21170. (check_using_std): Added.
  21171. (check_style): Added call to check_using_std().
  21172. * Scripts/modules/cpp_style_unittest.py:
  21173. (WebKitStyleTest.test_using_std): Added unit test.
  21174. 2009-08-16 David Kilzer <ddkilzer@apple.com>
  21175. Backed out r47343 which was mistakenly committed
  21176. * Scripts/bugzilla-tool:
  21177. * Scripts/modules/scm.py:
  21178. 2009-08-16 David Kilzer <ddkilzer@apple.com>
  21179. <http://webkit.org/b/28367> bugzilla.py: replace ScriptError class with BugzillaError class
  21180. Reviewed by David Levin.
  21181. The ScriptError class doesn't exist in bugzilla.py, so any
  21182. errors print error messages about ScriptError instead of the
  21183. actual error:
  21184. NameError: global name 'ScriptError' is not defined
  21185. * Scripts/modules/bugzilla.py:
  21186. (BugzillaError): Added class. Modeled after ScriptError class
  21187. in scm.py.
  21188. (Bugzilla.authenticate): Changed to use BugzillaError instead of
  21189. ScriptError.
  21190. (Bugzilla._check_create_bug_response): Ditto.
  21191. 2009-08-14 Adam Bergkvist <adam.bergkvist@ericsson.com>
  21192. Reviewed by Sam Weinig.
  21193. Added EventSource to the build script (default on).
  21194. https://bugs.webkit.org/show_bug.cgi?id=14997
  21195. * Scripts/build-webkit:
  21196. 2009-08-15 Ryosuke Niwa <rniwa@webkit.org>
  21197. Unreviewed.
  21198. Add myself to list of committers.
  21199. * Scripts/modules/committers.py:
  21200. 2009-08-15 Jon Honeycutt <jhoneycutt@apple.com>
  21201. Fix layout test failures after r47312.
  21202. Reviewed by Cameron Zwarich.
  21203. * DumpRenderTree/AccessibilityController.h:
  21204. Replaced logFocusEvents() with setLogFocusEvents(), which takes a
  21205. boolean argument to turn logging of focus events on or off.
  21206. Added a function to reset the AccessibilityController to a consistent
  21207. state.
  21208. * DumpRenderTree/AccessibilityController.cpp:
  21209. (logFocusEventsCallback):
  21210. Call setLogFocusEvents() to enable logging.
  21211. (AccessibilityController::resetToConsistentState):
  21212. Call setLogFocusEvents() to disable logging.
  21213. * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
  21214. (AccessibilityController::setLogFocusEvents):
  21215. Update stub.
  21216. * DumpRenderTree/mac/AccessibilityControllerMac.mm:
  21217. (AccessibilityController::setLogFocusEvents):
  21218. Update stub.
  21219. * DumpRenderTree/mac/DumpRenderTree.mm:
  21220. (resetWebViewToConsistentStateBeforeTesting):
  21221. Call the FrameLoadDelegate's resetToConsistentState method.
  21222. * DumpRenderTree/mac/FrameLoadDelegate.h:
  21223. Declare the resetToConsistentState method.
  21224. * DumpRenderTree/mac/FrameLoadDelegate.mm:
  21225. (-[FrameLoadDelegate resetToConsistentState]):
  21226. Call the AccessibilityController's resetToConsistentState() function.
  21227. * DumpRenderTree/win/AccessibilityControllerWin.cpp:
  21228. (AccessibilityController::~AccessibilityController):
  21229. Turn off focus event logging when the controller is destroyed.
  21230. (AccessibilityController::setLogFocusEvents):
  21231. If the caller passes false, unhook the focus event, and clear
  21232. m_focusEventHook.
  21233. * DumpRenderTree/win/DumpRenderTree.cpp:
  21234. (resetWebViewToConsistentStateBeforeTesting):
  21235. Call the FrameLoadDelegate's resetToConsistentState function.
  21236. * DumpRenderTree/win/FrameLoadDelegate.h:
  21237. Declare the resetToConsistentState() function.
  21238. * DumpRenderTree/win/FrameLoadDelegate.cpp:
  21239. (FrameLoadDelegate::resetToConsistentState):
  21240. Call the AccessibilityController's resetToConsistentState() function.
  21241. 2009-08-14 Jon Honeycutt <jhoneycutt@apple.com>
  21242. Add a mechanism for logging MSAA focus events.
  21243. Part of <rdar://problem/6218721> No MSAA focus events fired for Webkit
  21244. nightly (20866)
  21245. https://bugs.webkit.org/show_bug.cgi?id=20866
  21246. Reviewed by Oliver Hunt.
  21247. * DumpRenderTree/AccessibilityController.cpp:
  21248. (logFocusEventsCallback):
  21249. Call the AccessibilityController's logFocusEvents() function.
  21250. (AccessibilityController::getJSClass):
  21251. Add a "logFocusEvents" function to the AccessibilityController's JS
  21252. class definition.
  21253. * DumpRenderTree/AccessibilityController.h:
  21254. On Windows, include windows.h, and add a member variable to hold the
  21255. handle to the event hook for focus events. Add a declaration for a
  21256. function that enables logging of focus events.
  21257. * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
  21258. (AccessibilityController::logFocusEvents):
  21259. Stubbed.
  21260. * DumpRenderTree/mac/AccessibilityControllerMac.mm:
  21261. (AccessibilityController::logFocusEvents):
  21262. Stubbed.
  21263. * DumpRenderTree/win/AccessibilityControllerWin.cpp:
  21264. (AccessibilityController::AccessibilityController):
  21265. (AccessibilityController::~AccessibilityController):
  21266. If we hooked the focus event, unhook it.
  21267. (logFocusEventProc):
  21268. When we receive a focus event, get the accessible object for the event,
  21269. and log its name to stdout.
  21270. (AccessibilityController::logFocusEvents):
  21271. Setup the focus event hook to listen for events in the current process.
  21272. 2009-08-14 Eric Seidel <eric@webkit.org>
  21273. No review. Fix 5-space indent to be 4-spaces.
  21274. * Scripts/bugzilla-tool:
  21275. 2009-08-14 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  21276. Reviewed by Simon Hausmann.
  21277. [Qt] Public API to configure the storage path for HTML5 localStorage
  21278. https://bugs.webkit.org/show_bug.cgi?id=28036
  21279. Turn on LocalStorage support for Qt DumpRenderTree since
  21280. LocalStorage is now disabled by defult for QtWebkit.
  21281. * DumpRenderTree/qt/DumpRenderTree.cpp:
  21282. (WebCore::WebPage::WebPage):
  21283. 2009-08-14 Xan Lopez <xlopez@igalia.com>
  21284. Reviewed by Jan Alonzo.
  21285. Do not unref the main webview, it's owned by its parent
  21286. container. Instead destroy the container, which should take care
  21287. of everything (not terribly important since we exit right after
  21288. that, but still).
  21289. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  21290. (main):
  21291. 2009-08-13 Eric Seidel <eric@webkit.org>
  21292. No review, correcting obvious python error seen in the commit queue.
  21293. args can be a string or an array. Assuming args is always an array results in
  21294. double-spaced text in error logs.
  21295. * Scripts/bugzilla-tool:
  21296. 2009-08-13 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  21297. Unreviewed build fix. Include stdio.h for using stdout, stderr,
  21298. and fprintf.
  21299. * DumpRenderTree/LayoutTestController.cpp:
  21300. 2009-08-13 Shinichiro Hamaji <hamaji@chromium.org>
  21301. Reviewed by Eric Seidel.
  21302. rename make-js-test-wrappers to make-script-test-wrappers
  21303. https://bugs.webkit.org/show_bug.cgi?id=28212
  21304. * Scripts/make-script-test-wrappers: Renamed from WebKitTools/Scripts/make-js-test-wrappers.
  21305. 2009-08-13 Drew Wilson <atwilson@chromium.org>
  21306. Unreviewed.
  21307. Add myself to list of committers.
  21308. * Scripts/modules/committers.py:
  21309. 2009-08-13 John Sullivan <sullivan@apple.com>
  21310. Unreviewed.
  21311. Add myself to list of committers.
  21312. * Scripts/modules/committers.py:
  21313. 2009-08-13 Eric Seidel <eric@webkit.org>
  21314. Correct spelling error in file name. No review.
  21315. * Scripts/modules/committers_unittest.py: Renamed from WebKitTools/Scripts/modules/commiters_unittest.py.
  21316. * Scripts/run-webkit-unittests:
  21317. 2009-08-13 Eric Seidel <eric@webkit.org>
  21318. Reviewed by Simon Fraser.
  21319. REGRESSION(r47175): error running run-webkit-tests
  21320. https://bugs.webkit.org/show_bug.cgi?id=28261
  21321. Fix "Use of uninitialized value in concatenation (.) or string at
  21322. WebKitTools/Scripts/run-webkit-tests line 191." by setting
  21323. $testsPerDumpTool to 1000 by default.
  21324. * Scripts/run-webkit-tests:
  21325. 2009-08-13 Nate Chapin <japhet@chromium.org>
  21326. Unreviewed.
  21327. Add myself to list of committers.
  21328. * Scripts/modules/committers.py:
  21329. 2009-08-13 Brent Fulgham <bfulgham@webkit.org>
  21330. Unreviewed.
  21331. Add 'Brent Fulgham' to the committers list.
  21332. * Scripts/modules/committers.py:
  21333. 2009-08-13 Adam Langley <agl@chromium.org>
  21334. Review not required.
  21335. * Scripts/modules/committers.py:
  21336. Adding myself to this list because Eric told me to.
  21337. 2009-08-13 Greg Bolsinga <bolsinga@apple.com>
  21338. Unreviewed.
  21339. Add 'Greg Bolsinga' to the committers list.
  21340. * Scripts/modules/committers.py:
  21341. 2009-08-13 Adam Roben <aroben@apple.com>
  21342. Fix off-by-one result comparisons in media tests on Windows Debug
  21343. builds
  21344. media/video-played.html seems always to time out in Windows Debug
  21345. builds. A race condition between media/video-test.js's "hang" timer and
  21346. DumpRenderTree's built-in "watchdog" timer was causing results for
  21347. media/video-played.html to be printed twice, causing all future media
  21348. tests to be compared to the previous test's results.
  21349. The fix is to make the watchdog timer got through the same code path
  21350. as calling notifyDone manually, so that the results will only get
  21351. printed once. A subsequent patch will remove video-test.js's hang
  21352. timer entirely, since it is redundant.
  21353. Fixes <http://webkit.org/b/28265>.
  21354. Reviewed by Mark Rowe.
  21355. * DumpRenderTree/LayoutTestController.cpp:
  21356. (LayoutTestController::waitToDumpWatchdogTimerFired): Added. Code came
  21357. from Gtk/Mac/Win's watchdog timer handlers, but we now call
  21358. notifyDone() instead of dump() so that a subsequent call to
  21359. notifyDone() won't print the results out again.
  21360. * DumpRenderTree/LayoutTestController.h: Added
  21361. waitToDumpWatchdogTimerFired.
  21362. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  21363. (waitToDumpWatchdogFired):
  21364. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  21365. (waitUntilDoneWatchdogFired):
  21366. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  21367. (waitUntilDoneWatchdogFired):
  21368. Changed to call waitToDumpWatchdogTimerFired.
  21369. 2009-08-13 Eric Carlson <eric.carlson@apple.com>
  21370. Unreviewed.
  21371. Added 'Eric Carlson' to the committers list.
  21372. * Scripts/modules/committers.py:
  21373. 2009-08-13 Dirk Schulze <krit@webkit.org>
  21374. Unreviewed.
  21375. Added 'Dirk Schulze' to the committers list.
  21376. * Scripts/modules/committers.py:
  21377. 2009-08-13 Adam Roben <aroben@apple.com>
  21378. Enable running testapi in run-javascriptcore-tests on Windows
  21379. Fixes <http://webkit.org/b/24856> run-javascriptcore-tests should run
  21380. testapi on Windows
  21381. Reviewed by Mark Rowe.
  21382. * Scripts/run-javascriptcore-tests: Allow testapi to run if we're in
  21383. the AppleWinWebKit configuration.
  21384. 2009-08-13 Adam Roben <aroben@apple.com>
  21385. Re-enable testapi in run-javascriptcore-tests on Mac
  21386. This seems to have been mistakenly disabled in r47089.
  21387. Rubber-stamped by Mark Rowe.
  21388. * Scripts/run-javascriptcore-tests: Removed comment markers that were
  21389. preventing running testapi.
  21390. 2009-08-12 George Staikos <george.staikos@torchmobile.com>
  21391. Reviewed by Adam Treat.
  21392. Enable WCSS and XHTML-MP flags for build-webkit.
  21393. * Scripts/build-webkit:
  21394. 2009-08-12 David Kilzer <ddkilzer@apple.com>
  21395. run-webkit-tests: document --nthly flag in help message
  21396. Reviewed by Simon Fraser.
  21397. * Scripts/run-webkit-tests: Added --nthly flag to $usage string.
  21398. Also noted that -1|--singly implies --nthly 1.
  21399. 2009-08-12 Eric Seidel <eric@webkit.org>
  21400. No review, just fixing mismerged ChangeLogs.
  21401. 2009-08-12 Eric Seidel <eric@webkit.org>
  21402. Reviewed by Mark Rowe.
  21403. run-webkit-tests needs a --exit-after-failures=N option
  21404. https://bugs.webkit.org/show_bug.cgi?id=28192
  21405. Added the option and deployed it to bugzilla-tool.
  21406. * Scripts/bugzilla-tool:
  21407. * Scripts/run-webkit-tests:
  21408. 2009-08-11 Eric Seidel <eric@webkit.org>
  21409. Reviewed by Mark Rowe.
  21410. bugzilla-tool : various improvements for running the commit-queue
  21411. https://bugs.webkit.org/show_bug.cgi?id=28199
  21412. Make run_and_throw_if_fail silence STDERR as well as STDIN.
  21413. I also changed run_and_throw_if_fail to use the /dev/null trick instead of .communicate() to avoid ever buffering the output (per abarth's suggestion).
  21414. Change a few "print" statements to "log" so they appear in the output.
  21415. Changed all string + uses to use string formatting instead (this is less error prone as it will automatically convert non-string objects).
  21416. Added a little more logging so that --quiet mode is easier to understand.
  21417. Changed clear_attachment_review_flag to clear_attachment_flags and made it clear the commit-queue flag as well.
  21418. Added the ability for bugzilla-tool to reject patches from the commit-queue when they fail to compile/apply/etc.
  21419. Added _find_select_element_for_flag to make the code for finding flag <select> elements clearer.
  21420. Made curl call (downloading patch files) quieter.
  21421. * Scripts/bugzilla-tool:
  21422. * Scripts/modules/bugzilla.py:
  21423. * Scripts/modules/scm.py:
  21424. 2009-08-12 Peter Kasting <pkasting@google.com>
  21425. Reviewed by Darin Adler.
  21426. https://bugs.webkit.org/show_bug.cgi?id=27323
  21427. Change pattern that strips all trailing whitespace to just remove EOL
  21428. chars (\r, \n), to make it clear that varying EOL chars is the primary
  21429. problem being solved.
  21430. * Scripts/prepare-ChangeLog:
  21431. * Scripts/resolve-ChangeLogs:
  21432. * Scripts/svn-create-patch:
  21433. * Scripts/update-webkit:
  21434. 2009-08-12 Kevin Ollivier <kevino@theolliviers.com>
  21435. wx waf build fix, add new directories to the build.
  21436. * wx/build/settings.py:
  21437. 2009-08-11 Adam Roben <aroben@apple.com>
  21438. Update DumpRenderTree for IWebUIDelegatePrivate changes
  21439. Reviewed by Dave Hyatt.
  21440. * DumpRenderTree/win/UIDelegate.h: Updated to match
  21441. IWebUIDelegatePrivate.
  21442. 2009-08-12 Adam Roben <aroben@apple.com>
  21443. Don't try to seek to the end of stdin on Cygwin
  21444. Doing so seems to always cause an exception (for unknown reasons).
  21445. Fixes <http://webkit.org/b/28159> create-bug throws an exception in
  21446. Cygwin
  21447. Reviewed by Dave Kilzer.
  21448. * Scripts/bugzilla-tool:
  21449. (CreateBug.prompt_for_bug_title_and_comments): Ignore IOErrors
  21450. generated by calling sys.stdin.seek, since these seem to be generated
  21451. for no good reason on Cygwin.
  21452. 2009-08-12 Adam Roben <aroben@apple.com>
  21453. Don't raise an exception when --cc is not passed to create-bug
  21454. Fixes <http://webkit.org/b/28158> create-bug throws an exception if
  21455. --cc is not specified
  21456. Reviewed by Dave Kilzer.
  21457. * Scripts/modules/bugzilla.py:
  21458. (Bugzilla.create_bug_with_patch): Only set the "cc" field if a CC
  21459. string was specified. Otherwise we'll generate an exception about the
  21460. "cc" variable not being a string.
  21461. 2009-08-11 Eric Seidel <eric@webkit.org>
  21462. Reviewed by Adam Barth.
  21463. bugzilla-tool : various improvements for running the commit-queue
  21464. https://bugs.webkit.org/show_bug.cgi?id=28199
  21465. Make run_and_throw_if_fail silence STDERR as well as STDIN.
  21466. I also changed run_and_throw_if_fail to use the /dev/null trick instead of .communicate() to avoid ever buffering the out
  21467. Change a few "print" statements to "log" so they appear in the output.
  21468. Changed all string + uses to use string formatting instead (this is less error prone as it will automatically convert non
  21469. Added a little more logging so that --quiet mode is easier to understand.
  21470. Changed clear_attachment_review_flag to clear_attachment_flags and made it clear the commit-queue flag as well.
  21471. Added the ability for bugzilla-tool to reject patches from the commit-queue when they fail to compile/apply/etc.
  21472. Added _find_select_element_for_flag to make the code for finding flag <select> elements clearer.
  21473. Made curl call (downloading patch files) quieter.
  21474. * Scripts/bugzilla-tool:
  21475. * Scripts/modules/bugzilla.py:
  21476. * Scripts/modules/scm.py:
  21477. 2009-08-11 Eric Seidel <eric@webkit.org>
  21478. No review, script regression fix only.
  21479. run-webkit-tests --quiet hangs
  21480. https://bugs.webkit.org/show_bug.cgi?id=28202
  21481. Do a huge dance to get open3 to pipe to /dev/null w/o blocking.
  21482. This was what I came up with after discussions in #perl.
  21483. * Scripts/run-webkit-tests:
  21484. 2009-08-11 John Gregg <johnnyg@google.com>
  21485. Reviewed by Maciej Stachowiak.
  21486. Switch DumpRenderTree to contain a WebUIDelegate2, which extends
  21487. WebUIDelegate, so that the notifications tests will still work.
  21488. https://bugs.webkit.org/show_bug.cgi?id=28198
  21489. * DumpRenderTree/win/UIDelegate.h:
  21490. 2009-08-11 Darin Adler <darin@apple.com>
  21491. Try to fix GTK build.
  21492. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
  21493. (AccessibilityUIElement::stringForRange): Added.
  21494. 2009-08-10 Mike Fenton <mike.fenton@torchmobile.com>
  21495. Reviewed by Adam Treat.
  21496. Add processing for string constants used by the tests to trigger
  21497. common actions like up, down, left, right, etc. for the Qt
  21498. implementation of DumpRenderTree.
  21499. Note this allows fast/forms/textarea-arrow-navigation.html to pass
  21500. correctly.
  21501. https://bugs.webkit.org/show_bug.cgi?id=28161
  21502. * DumpRenderTree/qt/jsobjects.cpp:
  21503. (EventSender::keyDown):
  21504. 2009-08-11 Chris Fleizach <cfleizach@apple.com>
  21505. Reviewed by Darin Adler.
  21506. Bug 28200 - ListMarker should be included as part of the text value to parse
  21507. https://bugs.webkit.org/show_bug.cgi?id=28200
  21508. Add the ability to retrieve a string given a plain NSRange.
  21509. * DumpRenderTree/AccessibilityUIElement.cpp:
  21510. (stringForRangeCallback):
  21511. (AccessibilityUIElement::getJSClass):
  21512. * DumpRenderTree/AccessibilityUIElement.h:
  21513. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  21514. (AccessibilityUIElement::valueDescription):
  21515. (AccessibilityUIElement::stringForRange):
  21516. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  21517. (AccessibilityUIElement::stringForRange):
  21518. 2009-08-11 Dmitry Titov <dimich@chromium.org>
  21519. Reviewed by NOBODY (Speculative fix for the layout test failure).
  21520. Fix fast/dom/prototype-inheritance.html
  21521. and fast/dom/prototype-inheritance-2.html
  21522. broken on Windows by http://trac.webkit.org/changeset/47018
  21523. * DumpRenderTree/win/DumpRenderTree.cpp:
  21524. (resetDefaultsToConsistentValues): enable app cache in Windows DRT.
  21525. 2009-08-11 Eric Seidel <eric@webkit.org>
  21526. Reviewed by Adam Barth.
  21527. bugzilla-tool: Re-factor shared landing logic into helper class to share more code
  21528. https://bugs.webkit.org/show_bug.cgi?id=28193
  21529. Added new WebKitLandingScripts class to hold this shared logic.
  21530. Also added a view_source_url function to move more webkit-specific urls out of bugzilla-tool core.
  21531. * Scripts/bugzilla-tool:
  21532. 2009-08-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
  21533. Reviewed by Adam Treat.
  21534. Fix the current failures on the buildbot.
  21535. As Qt hooks up the maybeDump to loadFinished, we need to make
  21536. sure that calling dump() will not call maybeDump on loadFinished.
  21537. As dump is called my emitting done() which calls dump() and then
  21538. setting m_isLoading to false. So in the case m_isLoading is false,
  21539. do not dump again.
  21540. The current code is confusing, and should be made more clear
  21541. in another commit.
  21542. * DumpRenderTree/qt/jsobjects.cpp:
  21543. (LayoutTestController::maybeDump):
  21544. (LayoutTestController::notifyDone):
  21545. 2009-08-11 John Gregg <johnnyg@google.com>
  21546. Reviewed by Maciej Stachowiak.
  21547. Add support for desktop notifications API to DumpRenderTree,
  21548. and support for ENABLE_NOTIFICATIONS flag to build-webkit.
  21549. * DumpRenderTree/LayoutTestController.cpp:
  21550. (grantDesktopNotificationPermissionCallback):
  21551. (LayoutTestController::staticFunctions):
  21552. (LayoutTestController::grantDesktopNotificationPermission):
  21553. (LayoutTestController::checkDesktopNotificationPermission):
  21554. * DumpRenderTree/LayoutTestController.h:
  21555. * DumpRenderTree/win/DRTDesktopNotificationPresenter.cpp: Added.
  21556. (DRTDesktopNotificationPresenter::DRTDesktopNotificationPresenter):
  21557. (DRTDesktopNotificationPresenter::QueryInterface):
  21558. (DRTDesktopNotificationPresenter::AddRef):
  21559. (DRTDesktopNotificationPresenter::Release):
  21560. (DRTDesktopNotificationPresenter::showDesktopNotification):
  21561. (DRTDesktopNotificationPresenter::cancelDesktopNotification):
  21562. (DRTDesktopNotificationPresenter::notificationDestroyed):
  21563. (DRTDesktopNotificationPresenter::checkNotificationPermission):
  21564. (DRTDesktopNotificationPresenter::requestNotificationPermission):
  21565. * DumpRenderTree/win/DRTDesktopNotificationPresenter.h: Added.
  21566. * DumpRenderTree/win/DumpRenderTree.vcproj:
  21567. * DumpRenderTree/win/UIDelegate.cpp:
  21568. (UIDelegate::UIDelegate):
  21569. (UIDelegate::desktopNotificationsDelegate):
  21570. * DumpRenderTree/win/UIDelegate.h:
  21571. * Scripts/build-webkit:
  21572. 2009-08-11 Peter Kasting <pkasting@google.com>
  21573. Reviewed by Darin Adler.
  21574. https://bugs.webkit.org/show_bug.cgi?id=27323
  21575. Handle arbitrary line endings when manufacturing patches for additions
  21576. with history.
  21577. * Scripts/svn-create-patch:
  21578. 2009-08-11 Peter Kasting <pkasting@google.com>
  21579. Reviewed by Darin Adler.
  21580. https://bugs.webkit.org/show_bug.cgi?id=28183
  21581. Support VS2008 as well as VS2005 in a few scripts.
  21582. * Scripts/pdevenv: Check both $VS80COMNTOOLS and $VS90COMNTOOLS.
  21583. * Scripts/webkitdirs.pm: Use $VSINSTALLDIR if available instead of hardcoding the VS2005 dir.
  21584. 2009-08-11 Eric Seidel <eric@webkit.org>
  21585. Reviewed by Adam Barth.
  21586. run-webkit-tests --quiet should not output build-dumprendertree output
  21587. https://bugs.webkit.org/show_bug.cgi?id=28189
  21588. * Scripts/run-webkit-tests:
  21589. 2009-08-11 Eric Seidel <eric@webkit.org>
  21590. Reviewed by Darin Adler.
  21591. Exception in land-patches
  21592. https://bugs.webkit.org/show_bug.cgi?id=27962
  21593. Use ("%s" % object) instead of ("" + object).
  21594. Added unit tests for logging.py.
  21595. * Scripts/modules/logging.py:
  21596. * Scripts/modules/logging_unittest.py: Added.
  21597. * Scripts/run-webkit-unittests:
  21598. 2009-08-11 Dmitry Titov <dimich@chromium.org>
  21599. Reviewed by NOBODY (Windows layout tests fix).
  21600. Fix for layout tests failures. Need to initialize some preferences early
  21601. because WebView on Windows uses them during create time.
  21602. * DumpRenderTree/win/DumpRenderTree.cpp:
  21603. (main):
  21604. 2009-08-11 Dmitry Titov <dimich@chromium.org>
  21605. Reviewed by Adam Roben.
  21606. Originally implemented by Glenn Wilson <gwilson@chromium.org>.
  21607. Added support for overriding default preferences per-test.
  21608. See https://bugs.webkit.org/show_bug.cgi?id=20534
  21609. * DumpRenderTree/LayoutTestController.cpp:
  21610. (overridePreferenceCallback): add wiring for layoutTestController.overridePreference.
  21611. (LayoutTestController::staticFunctions): same.
  21612. * DumpRenderTree/LayoutTestController.h: same.
  21613. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  21614. (LayoutTestController::overridePreference): added empty overridePreference method.
  21615. * DumpRenderTree/mac/DumpRenderTree.mm: implemented preference override.
  21616. (resetDefaultsToConsistentValues): new method, resets preferences to same set of value before every test.
  21617. (setDefaultsToConsistentValuesForTesting): new method, sets other details of testing environment, every time DRT starts.
  21618. (resetWebViewToConsistentStateBeforeTesting): move some preference setting from here to new resetDefaultsToConsistentValues().
  21619. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  21620. (LayoutTestController::overridePreference):
  21621. * DumpRenderTree/win/DumpRenderTree.cpp:
  21622. (resetDefaultsToConsistentValues): new method, resets preferences to same set of value before every test.
  21623. (resetWebViewToConsistentStateBeforeTesting): move some preference setting from here to new resetDefaultsToConsistentValues().
  21624. (createWebViewAndOffscreenWindow): same.
  21625. (main): same.
  21626. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  21627. (LayoutTestController::overridePreference):
  21628. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  21629. (LayoutTestController::overridePreference):
  21630. 2009-08-11 Brian Weinstein <bweinstein@apple.com>
  21631. Reviewed by Sam Weinig.
  21632. Added support for DRT to support arguments for eventSender.mouseDown and eventSender.mouseUp for Windows.
  21633. https://bugs.webkit.org/show_bug.cgi?id=28166.
  21634. This is a step towards fixing fast/events/mouse-click-events.html on Windows.
  21635. * DumpRenderTree/win/EventSender.cpp:
  21636. (mouseDownCallback):
  21637. (mouseUpCallback):
  21638. (replaySavedEvents):
  21639. 2009-08-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  21640. Reviewed by Simon Hausmann.
  21641. Build the TestNetscapePlugin on Qt/Mac
  21642. * DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro:
  21643. 2009-08-11 Dmitry Titov <dimich@chromium.org>
  21644. Reviewed by NOBODY (build fix).
  21645. Attempt to fix the Windows test bot. Reverted r47015 caused one of the Windows
  21646. bots that runs Layout Tests to save "JS disabled" and "default font 24pt"
  21647. preferences permanently. Since these preferences are not initialized explicitly in DRT,
  21648. almost all Layout tests are failing. Attempt to fix by explicit
  21649. initialization of these into defaults (enabled, 16pt) at the beginning of the DRT.
  21650. * DumpRenderTree/win/DumpRenderTree.cpp:
  21651. (main): see above.
  21652. 2009-08-10 Steve Falkenburg <sfalken@apple.com>
  21653. Windows nightly fix.
  21654. Reviewed by Ada Chan.
  21655. * FindSafari/FindSafari.cpp:
  21656. (_tmain): Copy Safari.dll if it exists.
  21657. 2009-08-10 David Levin <levin@chromium.org>
  21658. Reviewed by David Kilzer.
  21659. check-webkit-style doesn't catch braces around single line statements when followed by else.
  21660. https://bugs.webkit.org/show_bug.cgi?id=28164
  21661. * Scripts/modules/cpp_style.py: Added else to the regex that finds ending }'s when
  21662. checking the no braces for "single lines" rule.
  21663. * Scripts/modules/cpp_style_unittest.py: Added test case.
  21664. 2009-08-10 David Kilzer <ddkilzer@apple.com>
  21665. <http://webkit.org/b/28163> bugzilla-tool: scm module should not import bugzilla module
  21666. Reviewed by David Levin.
  21667. * Scripts/bugzilla-tool:
  21668. (parse_bug_id): Added. Moved from CommitMessage.parse_bug_id()
  21669. in scm module.
  21670. * Scripts/modules/scm.py: Removed import of bugzilla module.
  21671. (CommitMessage.parse_bug_id): Deleted.
  21672. 2009-08-10 Peter Kasting <pkasting@google.com>
  21673. Reviewed by David Kilzer.
  21674. https://bugs.webkit.org/show_bug.cgi?id=18599
  21675. Work around apparent bug in abs2rel() with symlinked directories.
  21676. * Scripts/resolve-ChangeLogs:
  21677. 2009-08-10 Dan Bernstein <mitz@apple.com>
  21678. Build fix
  21679. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  21680. (NPP_New):
  21681. 2009-08-10 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  21682. Reviewed by Simon Hausmann.
  21683. Fix a bunch of build warnings in TestNetscapePlugin
  21684. * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
  21685. * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
  21686. 2009-08-10 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  21687. Reviewed by Adam Roben.
  21688. Allow TestNetscapePlugIn to fall back to the Carbon event model
  21689. Previously the plugin would fail, even though the Carbon event
  21690. model was available. The only way to get the Carbon event model
  21691. was to pass the "forcecarbon" argument in the test markup, but no
  21692. tests were using this.
  21693. Now the plugin uses carbon either if it's forced, or if the Cocoa
  21694. event model is not supported.
  21695. This helps us run most of the plugin tests on Qt/Mac, which still
  21696. does not support the Cocoa event model.
  21697. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  21698. (NPP_New):
  21699. 2009-08-08 Adam Barth <abarth@webkit.org>
  21700. Reviewed by Eric Seidel.
  21701. bugzilla-tool needs a --quiet option
  21702. https://bugs.webkit.org/show_bug.cgi?id=28060
  21703. A first pass at a --quiet option. This doesn't do all the excting
  21704. things we might want, but it addresses 80% of the use case.
  21705. * Scripts/bugzilla-tool:
  21706. 2009-08-08 Jan Michael Alonzo <jmalonzo@webkit.org>
  21707. Reviewed by Xan Lopez.
  21708. [Gtk] Enable accessibility in Gtk DRT
  21709. https://bugs.webkit.org/show_bug.cgi?id=25989
  21710. Add Accessibility support to the GTK DRT.
  21711. * DumpRenderTree/AccessibilityUIElement.h:
  21712. * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp: Added.
  21713. (AccessibilityController::AccessibilityController):
  21714. (AccessibilityController::~AccessibilityController):
  21715. (AccessibilityController::focusedElement):
  21716. (AccessibilityController::rootElement):
  21717. * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: Added.
  21718. (AccessibilityUIElement::AccessibilityUIElement):
  21719. (AccessibilityUIElement::~AccessibilityUIElement):
  21720. (AccessibilityUIElement::getLinkedUIElements):
  21721. (AccessibilityUIElement::getDocumentLinks):
  21722. (AccessibilityUIElement::getChildren):
  21723. (AccessibilityUIElement::getChildrenWithRange):
  21724. (AccessibilityUIElement::childrenCount):
  21725. (AccessibilityUIElement::elementAtPoint):
  21726. (AccessibilityUIElement::getChildAtIndex):
  21727. (AccessibilityUIElement::allAttributes):
  21728. (AccessibilityUIElement::attributesOfLinkedUIElements):
  21729. (AccessibilityUIElement::attributesOfDocumentLinks):
  21730. (AccessibilityUIElement::titleUIElement):
  21731. (AccessibilityUIElement::parentElement):
  21732. (AccessibilityUIElement::attributesOfChildren):
  21733. (AccessibilityUIElement::parameterizedAttributeNames):
  21734. (AccessibilityUIElement::role):
  21735. (AccessibilityUIElement::title):
  21736. (AccessibilityUIElement::description):
  21737. (AccessibilityUIElement::language):
  21738. (AccessibilityUIElement::x):
  21739. (AccessibilityUIElement::y):
  21740. (AccessibilityUIElement::width):
  21741. (AccessibilityUIElement::height):
  21742. (AccessibilityUIElement::clickPointX):
  21743. (AccessibilityUIElement::clickPointY):
  21744. (AccessibilityUIElement::intValue):
  21745. (AccessibilityUIElement::minValue):
  21746. (AccessibilityUIElement::maxValue):
  21747. (AccessibilityUIElement::valueDescription):
  21748. (AccessibilityUIElement::isEnabled):
  21749. (AccessibilityUIElement::insertionPointLineNumber):
  21750. (AccessibilityUIElement::isActionSupported):
  21751. (AccessibilityUIElement::isRequired):
  21752. (AccessibilityUIElement::attributesOfColumnHeaders):
  21753. (AccessibilityUIElement::attributesOfRowHeaders):
  21754. (AccessibilityUIElement::attributesOfColumns):
  21755. (AccessibilityUIElement::attributesOfRows):
  21756. (AccessibilityUIElement::attributesOfVisibleCells):
  21757. (AccessibilityUIElement::attributesOfHeader):
  21758. (AccessibilityUIElement::indexInTable):
  21759. (AccessibilityUIElement::rowIndexRange):
  21760. (AccessibilityUIElement::columnIndexRange):
  21761. (AccessibilityUIElement::lineForIndex):
  21762. (AccessibilityUIElement::boundsForRange):
  21763. (AccessibilityUIElement::cellForColumnAndRow):
  21764. (AccessibilityUIElement::selectedTextRange):
  21765. (AccessibilityUIElement::setSelectedTextRange):
  21766. (AccessibilityUIElement::attributeValue):
  21767. (AccessibilityUIElement::isAttributeSettable):
  21768. (AccessibilityUIElement::increment):
  21769. (AccessibilityUIElement::decrement):
  21770. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  21771. (webViewWindowObjectCleared):
  21772. (main):
  21773. * GNUmakefile.am:
  21774. 2009-08-07 Jan Michael Alonzo <jmalonzo@webkit.org>
  21775. Unreviewed Gtk build fix.
  21776. DRT needs internal WTF symbols so we link to libJavaScriptCore.la
  21777. too. Also don't force Gtk to use USE_SYSTEM_MALLOC.
  21778. * GNUmakefile.am:
  21779. 2009-08-07 Darin Adler <darin@apple.com>
  21780. * Scripts/commit-log-editor: Fix unchecked access to environment
  21781. variable that may not be there.
  21782. 2009-08-07 Mark Rowe <mrowe@apple.com>
  21783. Handle the case where only a single test is missing results.
  21784. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  21785. 2009-08-07 George Wright <george.wright@torchmobile.com>
  21786. Reviewed by Adam Treat
  21787. Fix DumpRenderTree for the Qt port to always dump the PNG data unless
  21788. the expected and actual hashes match.
  21789. https://bugs.webkit.org/show_bug.cgi?id=28077
  21790. * DumpRenderTree/qt/DumpRenderTree.cpp:
  21791. (WebCore::DumpRenderTree::dump):
  21792. 2009-08-07 Pierre d'Herbemont <pdherbemont@apple.com>
  21793. Reviewed by Eric Seidel.
  21794. commit-log-editor does not produce a git commit log that is git friendly.
  21795. https://bugs.webkit.org/show_bug.cgi?id=27754
  21796. We make sure we end up with:
  21797. - A first paragraph describing the bug. It is eventually prefixed by
  21798. "WebKit: <line>" or "WebCore: <line>". This used to be
  21799. "WebCore:\n\n<line>".
  21800. - The Reviewed By line.
  21801. - An eventual Patch By line if author and committer doesn't match.
  21802. - The rest of the commit.
  21803. * Scripts/commit-log-editor:
  21804. 2009-08-07 Adam Barth <abarth@webkit.org>
  21805. Unreviewed. (Darin Adler indicated he'd prefer if we landed these
  21806. kinds of changes unreviewed, like editing the WebKit Team wiki page.)
  21807. Added Pierre d'Herbemont to list of committers.
  21808. * Scripts/modules/committers.py:
  21809. 2009-08-07 Shinichiro Hamaji <hamaji@chromium.org>
  21810. Reviewed by Adele Peterson.
  21811. Cannot scroll for box-reflect:right
  21812. https://bugs.webkit.org/show_bug.cgi?id=27979
  21813. Update m_overflowLeft an m_overflowWidth for reflection just like
  21814. m_overflowTop and m_overflowHeight.
  21815. * Scripts/make-js-test-wrappers: Added regexp to skip box-shadow-overflo
  21816. w-scroll.js
  21817. 2009-08-06 Shinichiro Hamaji <hamaji@chromium.org>
  21818. Reviewed by Adam Barth.
  21819. box-shadow's spread is ignored with <table>
  21820. https://bugs.webkit.org/show_bug.cgi?id=28017
  21821. Use RenderStyle::getBoxShadowExtent just like RenderBlock.
  21822. * Scripts/make-js-test-wrappers: Added regexp to skip box-shadow-overflow-scroll.js
  21823. 2009-08-06 Eric Seidel <eric@webkit.org>
  21824. No review, only changing make-js-test-wrappers.
  21825. Fix make-js-test-wrappers to ignore a few more js tests
  21826. with custom templates.
  21827. * Scripts/make-js-test-wrappers:
  21828. 2009-08-06 Chris Marrin <cmarrin@apple.com>
  21829. Reviewed by David Hyatt.
  21830. Added ENABLE_3D_CANVAS flag to build, default to off
  21831. * Scripts/build-webkit:
  21832. 2009-08-05 Brady Eidson <beidson@apple.com>
  21833. Reviewed by Darin Adler.
  21834. Win DRT's resource load delegate is missing didReceiveResponse
  21835. https://bugs.webkit.org/show_bug.cgi?id=28033
  21836. * DumpRenderTree/win/FrameLoadDelegate.cpp:
  21837. Added:
  21838. (FrameLoadDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
  21839. (FrameLoadDelegate::willPerformClientRedirectToURL):
  21840. (FrameLoadDelegate::didCancelClientRedirectForFrame):
  21841. Minor style cleanup:
  21842. (FrameLoadDelegate::didStartProvisionalLoadForFrame):
  21843. (FrameLoadDelegate::didReceiveTitle):
  21844. (FrameLoadDelegate::didFinishLoadForFrame):
  21845. (FrameLoadDelegate::willCloseFrame):
  21846. (FrameLoadDelegate::didClearWindowObject):
  21847. * DumpRenderTree/win/FrameLoadDelegate.h:
  21848. 2009-08-05 Brady Eidson <beidson@apple.com>
  21849. Reviewed by Darin Adler.
  21850. Win DRT's resource load delegate is missing didReceiveResponse
  21851. https://bugs.webkit.org/show_bug.cgi?id=28033
  21852. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  21853. (ResourceLoadDelegate::didReceiveResponse):
  21854. * DumpRenderTree/win/ResourceLoadDelegate.h:
  21855. 2009-08-05 Darin Fisher <darin@chromium.org>
  21856. Reviewed by Darin Adler.
  21857. Add layoutTestController.dumpWillCacheResponse
  21858. https://bugs.webkit.org/show_bug.cgi?id=28010
  21859. willCacheResponse is only interesting for embedders of mainline WebKit on Mac.
  21860. Splitting off a new dumpWillCacheResponse allows a number of existings tests
  21861. to run across platforms.
  21862. The test that was specifically verifying willCacheResponse now calls
  21863. dumpWillCacheResponse.
  21864. * DumpRenderTree/LayoutTestController.cpp: Add dumpWillCacheResponse
  21865. (LayoutTestController::LayoutTestController):
  21866. (dumpWillCacheResponseCallback):
  21867. (LayoutTestController::staticFunctions):
  21868. * DumpRenderTree/LayoutTestController.h:
  21869. (LayoutTestController::dumpWillCacheResponse):
  21870. (LayoutTestController::setDumpWillCacheResponse):
  21871. * DumpRenderTree/mac/ResourceLoadDelegate.mm: Inspect dumpWillCacheResponse
  21872. instead of dumpResourceLoadCallbacks.
  21873. (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
  21874. 2009-08-05 Jeremy Orlow <jorlow@chromium.org>
  21875. Reviewed by Adam Barth.
  21876. Add my name to committers.py
  21877. https://bugs.webkit.org/show_bug.cgi?id=28013
  21878. Add my name to committers.py.
  21879. * Scripts/modules/committers.py:
  21880. 2009-08-05 Kenneth Rohde Christiansen <kenneth@webkit.org>
  21881. Reviewed by Simon Hausmann.
  21882. A minor refactoring of the Qt DRT to be a bit more similar to
  21883. the other DRTs, as well as more understandable.
  21884. Splitting up resetJSObjects into a LayoutTestController->reset()
  21885. plus a new closeRemainingWindows() method.
  21886. Added a resetToConsistentStateBeforeTesting() method to keep
  21887. the code in one place, making it easier to verify that we are
  21888. doing things properly.
  21889. * DumpRenderTree/qt/DumpRenderTree.cpp:
  21890. (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
  21891. (WebCore::DumpRenderTree::open):
  21892. (WebCore::DumpRenderTree::closeRemainingWindows):
  21893. * DumpRenderTree/qt/DumpRenderTree.h:
  21894. 2009-08-05 Kenneth Rohde Christiansen <kenneth@webkit.org>
  21895. Reviewed by Simon Hausmann.
  21896. Make the Qt DRT WorkQueue work similarily to the cross platform
  21897. one. This means that all items return true if they started
  21898. loading.
  21899. This change paves the way for unforking the WorkQueue, if we [Qt]
  21900. would like that.
  21901. * DumpRenderTree/qt/WorkQueue.cpp:
  21902. (WorkQueue::processWork):
  21903. * DumpRenderTree/qt/WorkQueue.h:
  21904. * DumpRenderTree/qt/WorkQueueItem.h:
  21905. * DumpRenderTree/qt/jsobjects.cpp:
  21906. (LoadItem::invoke):
  21907. (ReloadItem::invoke):
  21908. (ScriptItem::invoke):
  21909. (BackForwardItem::invoke):
  21910. (LayoutTestController::processWork):
  21911. (LayoutTestController::maybeDump):
  21912. 2009-08-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
  21913. Reviewed by Simon Hausmann.
  21914. If load of a test fails, don't dump as it will be dumped
  21915. in the preceding test, resulting in a invalid incorrect layout.
  21916. * DumpRenderTree/qt/jsobjects.cpp:
  21917. (LayoutTestController::maybeDump):
  21918. 2009-08-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
  21919. Reviewed by Simon Hausmann.
  21920. Make the Qt DumpRenderTree more similar to the mac one.
  21921. Changes include:
  21922. 1) Reset zoom factor before each test
  21923. 2) Only dump the backforward list when we got other dump result
  21924. 3) When we dump the render tree, and got zero result print out:
  21925. [mainFrame renderTreeAsExternalRepresentation]
  21926. and not:
  21927. [frame renderTreeAsExternalRepresentation]
  21928. * DumpRenderTree/qt/DumpRenderTree.cpp:
  21929. (WebCore::DumpRenderTree::open):
  21930. (WebCore::methodNameStringForFailedTest):
  21931. (WebCore::DumpRenderTree::dump):
  21932. 2009-08-05 chris fleizach <cfleizach@apple.com>
  21933. Fix Tiger build breakage.
  21934. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  21935. 2009-08-04 Chris Fleizach <cfleizach@apple.com>
  21936. Reviewed by Darin Adler.
  21937. Bug 27994 - WAI-ARIA: aria-valuetext needs to be implemented
  21938. https://bugs.webkit.org/show_bug.cgi?id=27994
  21939. Expose valueDescription for accessibility.
  21940. * DumpRenderTree/AccessibilityUIElement.cpp:
  21941. (getValueDescriptionCallback):
  21942. (AccessibilityUIElement::getJSClass):
  21943. * DumpRenderTree/AccessibilityUIElement.h:
  21944. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  21945. (AccessibilityUIElement::valueDescription):
  21946. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  21947. (AccessibilityUIElement::valueDescription):
  21948. 2009-08-04 Eric Seidel <eric@webkit.org>
  21949. Reviewed by Mark Rowe.
  21950. REGRESSION: run-webkit-tests crashes if you have non-system perl in PATH
  21951. https://bugs.webkit.org/show_bug.cgi?id=28006
  21952. Hard-code perl to /usr/bin/perl and swig to /usr/bin/swig
  21953. * DumpRenderTree/mac/PerlSupport/Makefile:
  21954. 2009-08-04 Adam Barth <abarth@webkit.org>
  21955. Reviewed by Darin Adler.
  21956. Add pkasting to bugzilla-tool as a committer
  21957. https://bugs.webkit.org/show_bug.cgi?id=28002
  21958. * Scripts/modules/committers.py:
  21959. 2009-08-04 Chris Fleizach <cfleizach@apple.com>
  21960. Reviewed by Darin Adler.
  21961. Bug 27993 - AXSliders are missing required attributes and actions
  21962. https://bugs.webkit.org/show_bug.cgi?id=27993
  21963. Add ability to check if any arbitrary action is supported.
  21964. * DumpRenderTree/AccessibilityUIElement.cpp:
  21965. (isActionSupportedCallback):
  21966. (AccessibilityUIElement::getJSClass):
  21967. * DumpRenderTree/AccessibilityUIElement.h:
  21968. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  21969. (AccessibilityUIElement::isActionSupported):
  21970. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  21971. (AccessibilityUIElement::isActionSupported):
  21972. 2009-08-04 Adam Barth <abarth@webkit.org>
  21973. Reviewed by Eric Seidel.
  21974. bugzilla-tool unit tests need a test harness
  21975. https://bugs.webkit.org/show_bug.cgi?id=27977
  21976. * Scripts/run-webkit-unittests: Added.
  21977. 2009-08-04 Mark Rowe <mrowe@apple.com>
  21978. Rubber-stamped by Gavin "Gavvy" Barraclough.
  21979. Ensure that DumpRenderTreeSupport is regenerated when switching between OS versions
  21980. by listing the DumpRenderTree binary as a dependency. Xcode has the smarts to rebuild
  21981. DumpRenderTree itself when switching OS versions so this dependency removes the need
  21982. for any smarts in the Makefile.
  21983. * DumpRenderTree/mac/PerlSupport/Makefile:
  21984. 2009-08-04 Eric Seidel <eric@webkit.org>
  21985. Reviewed by Adam Barth.
  21986. bugzilla-tool needs unit tests
  21987. https://bugs.webkit.org/show_bug.cgi?id=26916
  21988. Add some basic unit testing for scm.py.
  21989. * Scripts/modules/scm.py:
  21990. * Scripts/modules/scm_unittest.py: Added.
  21991. 2009-08-04 Mike Fenton <mike.fenton@torchmobile.com>
  21992. Reviewed by Adam Treat.
  21993. Fix --skipped=only mode to honor flags such as --no-http and platform ignored directories by checking
  21994. to make sure the Skipped entries are not in the $ignoredDirectories array. Directories commonly included
  21995. are (http, media, compositing, wml, wcss).
  21996. https://bugs.webkit.org/show_bug.cgi?id=27893
  21997. * Scripts/run-webkit-tests:
  21998. 2009-08-03 Chris Fleizach <cfleizach@apple.com>
  21999. Reviewed by Jon Honeycutt.
  22000. Bug 27958 - WAI-ARIA: Implement 'aria-required' attribute.
  22001. https://bugs.webkit.org/show_bug.cgi?id=27958
  22002. Exposed isRequired to DumpRenderTree for accessibility.
  22003. * DumpRenderTree/AccessibilityUIElement.cpp:
  22004. (getIsRequiredCallback):
  22005. (AccessibilityUIElement::getJSClass):
  22006. * DumpRenderTree/AccessibilityUIElement.h:
  22007. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  22008. (AccessibilityUIElement::isRequired):
  22009. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  22010. (AccessibilityUIElement::isRequired):
  22011. 2009-08-04 Adam Barth <abarth@webkit.org>
  22012. Reviewed by Eric Seidel.
  22013. bugzilla-tool --commit-queue should validate commit-queue setter is a committer
  22014. https://bugs.webkit.org/show_bug.cgi?id=27974
  22015. With a test!
  22016. * Scripts/modules/bugzilla.py:
  22017. * Scripts/modules/bugzilla_unittest.py:
  22018. 2009-08-04 Eric Seidel <eric@webkit.org>
  22019. Reviewed by Adam Barth.
  22020. REGRESSION(r46700): bugzilla-tool land-diff double-spaces ChangeLogs
  22021. https://bugs.webkit.org/show_bug.cgi?id=27973
  22022. The trailing comma (suppresses newlines) was lost in r46700.
  22023. * Scripts/bugzilla-tool:
  22024. 2009-08-04 Adam Barth <abarth@webkit.org>
  22025. Reviewed by Eric Seidel.
  22026. bugzilla-tool has too many fatal errors
  22027. https://bugs.webkit.org/show_bug.cgi?id=27969
  22028. Replace several fatal errors with ScriptError exceptions.
  22029. * Scripts/bugzilla-tool:
  22030. * Scripts/modules/bugzilla.py:
  22031. * Scripts/modules/scm.py:
  22032. 2009-08-04 Eric Seidel <eric@webkit.org>
  22033. No review, ChangeLog fix only.
  22034. Fix a ChangeLog line-spacing disaster caused by:
  22035. https://bugs.webkit.org/show_bug.cgi?id=27973
  22036. Still unsure what the fix for bugzilla-tool will be.
  22037. 2009-08-04 Adam Barth <abarth@webkit.org>
  22038. Reviewed by Eric Seidel.
  22039. bugzilla-tool --commit-queue should only land commit-queue+ patches
  22040. https://bugs.webkit.org/show_bug.cgi?id=27970
  22041. commit-queue mode for bugzilla-tool
  22042. https://bugs.webkit.org/show_bug.cgi?id=27918
  22043. Make bugzilla tool smart enough to find the commit-queue+ flags and
  22044. land those patches.
  22045. When we call land-patches with --commit-queue, we should filter the
  22046. patches we land to only those that have the commit-queue+ flag set.
  22047. That way, when we call bugzilla-tool from a main commit queue process,
  22048. we won't land the wrong patches.
  22049. * Scripts/bugzilla-tool:
  22050. 2009-08-04 Eric Seidel <eric@webkit.org>
  22051. Reviewed by Adam Barth.
  22052. committer logic should be split out of bugzilla.py into its own module
  22053. https://bugs.webkit.org/show_bug.cgi?id=27972
  22054. I also added unit tests for the functionality I added.
  22055. * Scripts/modules/bugzilla.py:
  22056. * Scripts/modules/bugzilla_unittest.py: Added.
  22057. * Scripts/modules/commiters_unittest.py: Added.
  22058. * Scripts/modules/committers.py: Added.
  22059. 2009-08-03 Peter Kasting <pkasting@google.com>
  22060. Reviewed by David Kilzer.
  22061. https://bugs.webkit.org/show_bug.cgi?id=27323
  22062. Handle any kind of line endings in svn-apply and svn-unapply, instead
  22063. of assuming LF.
  22064. * Scripts/svn-apply:
  22065. * Scripts/svn-unapply:
  22066. 2009-08-03 Adam Barth <abarth@webkit.org>
  22067. Reviewed by Eric Seidel.
  22068. bugzilla-tool land-patches needs --queue mode
  22069. https://bugs.webkit.org/show_bug.cgi?id=27961
  22070. Add a --commit-queue command line option to suppress user interaction.
  22071. * Scripts/bugzilla-tool:
  22072. * Scripts/modules/scm.py:
  22073. 2009-08-03 Mark Rowe <mrowe@apple.com>
  22074. Build fix. Add installsrc, installhdrs and install targets.
  22075. * DumpRenderTree/mac/PerlSupport/Makefile:
  22076. 2009-08-03 Eric Carlson <eric.carlson@apple.com>
  22077. Reviewed by Eric Seidel.
  22078. HTMLInputElement is not controllable by assistive technologies
  22079. https://bugs.webkit.org/show_bug.cgi?id=27941
  22080. Accessibility control of a slider required adding increment() and decrement()
  22081. methods to AccessibilityObject, so expose thos methods on AccessibilityUIElement.
  22082. * DumpRenderTree/AccessibilityUIElement.cpp:
  22083. (incrementCallback): New, call UI element increment method.
  22084. (decrementCallback): New, call UI element decrement method.
  22085. (AccessibilityUIElement::getJSClass): Expose increment and decrement methods.
  22086. * DumpRenderTree/AccessibilityUIElement.h:
  22087. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  22088. (AccessibilityUIElement::increment): New, send NSAccessibilityIncrementAction to Mac wrapper.
  22089. (AccessibilityUIElement::decrement): New, send NSAccessibilityDecrementAction to Mac wrapper.
  22090. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  22091. (AccessibilityUIElement::increment): New, do nothing.
  22092. (AccessibilityUIElement::decrement): New, do nothing.
  22093. 2009-08-02 David D. Kilzer <ddkilzer@webkit.org>
  22094. <http://webkit.org/b/27930> bugzilla-tool hates Tor Arne Vestbø
  22095. Reviewed by Tor Arne Vestbø.
  22096. * Scripts/bugzilla-tool:
  22097. (set_reviewer_in_changelog): Made sure reviewer is properly
  22098. encoded when calling replace().
  22099. 2009-08-02 Kevin Ollivier <kevino@theolliviers.com>
  22100. Reviewed by David Levin.
  22101. Script for building the wxBrowser sample app for wx.
  22102. https://bugs.webkit.org/show_bug.cgi?id=27619
  22103. * wx/browser/wscript: Added.
  22104. 2009-08-02 Kevin Ollivier <kevino@theolliviers.com>
  22105. Reviewed by Jan Alonzo.
  22106. Scripts needed for the waf build.
  22107. https://bugs.webkit.org/show_bug.cgi?id=27619
  22108. * wx/build: Added.
  22109. * wx/build/build_utils.py: Added.
  22110. * wx/build/settings.py: Added.
  22111. * wx/build/waf_extensions.py: Added.
  22112. * wx/build/wxpresets.py: Added.
  22113. 2009-08-01 Dan Bernstein <mitz@apple.com>
  22114. Reviewed by Darin Adler.
  22115. Make pixel test results more consistent across Mac OS X versions
  22116. * DumpRenderTree/cg/ImageDiffCG.cpp:
  22117. (createDifferenceImage): Avoid color correction when rendering the
  22118. images into graphics contexts, so that the actual color values are
  22119. compared, regardless of how the images are tagged.
  22120. * DumpRenderTree/mac/DumpRenderTree.mm:
  22121. (createWebViewAndOffscreenWindow): Set the window’s color space to the
  22122. main screen’s color space, even though the window is off-screen.
  22123. 2009-08-01 Mark Rowe <mrowe@apple.com>
  22124. Try again to make the Qt build bot happy.
  22125. * BuildSlaveSupport/test-result-archive: Create a placeholder file inside the newly-created
  22126. directory to prevent 'zip' from failing due to the directory containing no files.
  22127. 2009-08-01 Mark Rowe <mrowe@apple.com>
  22128. Try and make the Qt build bot happy.
  22129. * BuildSlaveSupport/test-result-archive: Handle the case where run-webkit-tests generates
  22130. no output files at all and thus does not create the layout-test-results directory.
  22131. 2009-08-01 Mark Rowe <mrowe@apple.com>
  22132. Move the include of DumpRenderTreeSupport to after DumpRenderTree has been built.
  22133. * Scripts/run-webkit-tests:
  22134. 2009-08-01 Mark Rowe <mrowe@apple.com>
  22135. Reviewed by Sam Weinig and David D. Kilzer.
  22136. Fix <https://bugs.webkit.org/show_bug.cgi?id=27923>.
  22137. Bug 27923: run-webkit-tests should not invoke "ps" repeatedly on Mac OS X
  22138. run-webkit-tests invokes "ps" after each test on Mac OS X to determine whether DumpRenderTree is
  22139. in the process of crashing. We can do the same test more efficiently with a simple call to sysctl.
  22140. I couldn't find any built-in way of doing this directly from perl, so we do it from a simple C module
  22141. instead. This speeds up run-webkit-tests by around 8%.
  22142. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  22143. * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupport.c: Added.
  22144. (processIsCrashing):
  22145. * DumpRenderTree/mac/PerlSupport/DumpRenderTreeSupportTiger.pm: Added. Tiger does not have the SWIG tool
  22146. that is used to generate the Perl binding to the C code, so we fall back to the old implementation on Tiger.
  22147. * DumpRenderTree/mac/PerlSupport/Makefile: Added.
  22148. * Scripts/run-webkit-tests:
  22149. 2009-08-01 Mark Rowe <mrowe@apple.com>
  22150. Reviewed by David D. Kilzer.
  22151. Display the reminder once rather than once per ChangeLog.
  22152. * Scripts/prepare-ChangeLog:
  22153. 2009-08-01 David Kilzer <ddkilzer@apple.com>
  22154. resolve-ChangeLogs: add error checking to git ls-files command on close()
  22155. Reviewed by Eric Seidel.
  22156. Item 2 of <https://bugs.webkit.org/show_bug.cgi?id=18599#c0>.
  22157. * Scripts/resolve-ChangeLogs: Added error checking to close()
  22158. after running git ls-files. Added error checking to all
  22159. system() calls by checking for a non-zero WEXITSTATUS($?).
  22160. Changed "|| die;" expressions to "or die $!;".
  22161. 2009-08-01 David Kilzer <ddkilzer@apple.com>
  22162. <http://webkit.org/b/18599> resolve-ChangeLogs doesn't work with relative paths
  22163. Reviewed by Eric Seidel.
  22164. * Scripts/resolve-ChangeLogs: Used chdirReturningRelativePath()
  22165. and determineVCSRoot() to change directories to the root of the
  22166. project before running the command and to provide a path for
  22167. removeChangeLogArguments() to make sure any ChangeLog arguments
  22168. on the command line are still found.
  22169. (canonicalRelativePath): Added. Returns a canonical path (e.g.,
  22170. stripping 'dir/../' from the path) relative to the current
  22171. directory.
  22172. (removeChangeLogArguments): Added argument which contains a
  22173. relative path that must be prepended to any ChangeLog arguments.
  22174. Used canonicalRelativePath() and File::Spec->catfile() to
  22175. construct a normalized, relative path to each file.
  22176. 2009-08-01 David Kilzer <ddkilzer@apple.com>
  22177. Implement VCSUtils::chdirReturningRelativePath()
  22178. Reviewed by Eric Seidel.
  22179. Step 2 to fix:
  22180. <http://webkit.org/b/18599> resolve-ChangeLogs doesn't work with relative paths
  22181. * Scripts/VCSUtils.pm:
  22182. (VCSUtils::chdirReturningRelativePath): Moved here from
  22183. chdirAndGetDifference() in svn-create-patch.
  22184. * Scripts/svn-create-patch: Switched to use
  22185. chdirReturningRelativePath() instead of chdirAndGetDifference().
  22186. (chdirAndGetDifference): Removed.
  22187. 2009-08-01 David Kilzer <ddkilzer@apple.com>
  22188. Implement VCSUtils::determineVCSRoot()
  22189. Reviewed by Eric Seidel.
  22190. Step 1 to fix:
  22191. <http://webkit.org/b/18599> resolve-ChangeLogs doesn't work with relative paths
  22192. * Scripts/VCSUtils.pm: Removed reference to webkitdirs module.
  22193. (VCSUtils::EXPORT): Added &determineVCSRoot. Realphabetized.
  22194. (VCSUtils::determineGitRoot): Added. Based on code in
  22195. commit-log-editor.
  22196. (VCSUtils::determineVCSRoot): Implemented using
  22197. determineGitRoot() and determineSVNRoot().
  22198. * Scripts/commit-log-editor: Replaced use of
  22199. topLevelSourceDirectory() with determineVCSRoot(). Resorted
  22200. use statements.
  22201. (topLevelSourceDirectory): Removed.
  22202. 2009-07-31 Daniel Bates <dbates@intudata.com>
  22203. Reviewed by Eric Seidel.
  22204. https://bugs.webkit.org/show_bug.cgi?id=27757
  22205. Resolves Perl redefinition warnings about functions tmpfile and tmpnam which are
  22206. defined in both File::Temp and POSIX.
  22207. This stops the warnings by preventing the "import" method of File::Temp from being called,
  22208. which would otherwise add these functions into the primary namespace. Note, "use POSIX"
  22209. will import these functions into the primary namespace anyway. We only need one instance
  22210. of these functions in our namespace (or we get redefinition warnings), so lets use the
  22211. one's in the POSIX package.
  22212. * Scripts/update-webkit-auxiliary-libs: Changed "use File::Temp" to "use File::Temp ()".
  22213. * Scripts/update-webkit-support-libs: ditto
  22214. 2009-07-31 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  22215. Reviewed by Eric Seidel.
  22216. Add a top level build option to control datagrid support
  22217. https://bugs.webkit.org/show_bug.cgi?id=27915
  22218. * Scripts/build-webkit:
  22219. 2009-07-31 David Levin <levin@chromium.org>
  22220. Reviewed by Adam Treat.
  22221. check-webkit-style --git-commit has bugs if you select a commit in the past
  22222. https://bugs.webkit.org/show_bug.cgi?id=27908
  22223. * Scripts/check-webkit-style:
  22224. (main): Made the git-commit command only select the first commit
  22225. if a range is given (and print a warning).
  22226. * Scripts/modules/scm.py:
  22227. (SCM::create_patch_from_local_commit):
  22228. (SCM::create_patch_since_local_commit):
  22229. (SCM::commit_locally_with_message):
  22230. (SCM::discard_local_commits):
  22231. Added an error messages in case these aren't overriden.
  22232. (Git::create_patch_since_local_commit):
  22233. Added this command to allow doing a diff of everything after a given commit.
  22234. 2009-07-31 Jan Michael Alonzo <jmalonzo@webkit.org>
  22235. Speculative Qt build fix. Not reviewed.
  22236. Add LayoutTestController::disableImageLoading() in jsobjects.h.
  22237. * DumpRenderTree/qt/jsobjects.h:
  22238. 2009-07-31 Brady Eidson <beidson@apple.com>
  22239. Reviewed by John Sullivan.
  22240. <rdar://problem/6973106> and https://bugs.webkit.org/show_bug.cgi?id=27896
  22241. Favicons are still loaded when automatic image loading is disabled.
  22242. * DumpRenderTree/LayoutTestController.cpp:
  22243. (disableImageLoadingCallback):
  22244. (LayoutTestController::staticFunctions):
  22245. * DumpRenderTree/LayoutTestController.h:
  22246. * DumpRenderTree/mac/DumpRenderTree.mm:
  22247. (resetWebViewToConsistentStateBeforeTesting):
  22248. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  22249. (LayoutTestController::disableImageLoading):
  22250. * DumpRenderTree/win/DumpRenderTree.cpp:
  22251. (resetWebViewToConsistentStateBeforeTesting):
  22252. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  22253. (LayoutTestController::disableImageLoading):
  22254. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  22255. (LayoutTestController::disableImageLoading): Stubbed for now.
  22256. * DumpRenderTree/qt/jsobjects.cpp:
  22257. (LayoutTestController::disableImageLoading): Ditto.
  22258. 2009-07-30 Eric Seidel <eric@webkit.org>
  22259. Reviewed by David Kilzer.
  22260. bugzilla-tool post-commits trunk..head errors out
  22261. https://bugs.webkit.org/show_bug.cgi?id=27847
  22262. Rename commit_ids_from_range_arguments to commit_ids_from_commitish_arguments
  22263. and make it handle the new arguments format proposed in the bug.
  22264. * Scripts/bugzilla-tool:
  22265. * Scripts/modules/scm.py:
  22266. 2009-07-30 Eric Seidel <eric@webkit.org>
  22267. Reviewed by David Levin.
  22268. clean up build-webkit to use less copy/paste code and remove unneeded SVG warning
  22269. https://bugs.webkit.org/show_bug.cgi?id=27857
  22270. * Scripts/build-webkit:
  22271. 2009-07-31 David Kilzer <ddkilzer@apple.com>
  22272. <http://webkit.org/b/27894> bugzilla-tool: Bugzilla.clear_attachment_review_flag() fails with ClientForm-0.2.10 and python-2.5
  22273. Reviewed by Eric Seidel.
  22274. * Scripts/modules/bugzilla.py:
  22275. (Bugzilla.clear_attachment_review_flag): Specify which 'comment'
  22276. form field to use when setting its value.
  22277. 2009-07-31 Eric Seidel <eric@webkit.org>
  22278. Reviewed by David Kilzer.
  22279. bugzilla-tool post-commits obsoletes its own work :(
  22280. https://bugs.webkit.org/show_bug.cgi?id=27849
  22281. Simple fix. Use .add() instead of .update()
  22282. * Scripts/bugzilla-tool:
  22283. 2009-07-31 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  22284. Reviewed by Anders Carlsson.
  22285. Improve platform-detection in run-webkit-tests
  22286. This prevents miss-detection of mac-* over Qt/Mac.
  22287. * Scripts/run-webkit-tests:
  22288. 2009-07-30 Mark Rowe <mrowe@apple.com>
  22289. Reviewed by Cameron Zwarich.
  22290. Teach buildbot to detect test cases that are missing results.
  22291. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  22292. 2009-07-30 Mark Rowe <mrowe@apple.com>
  22293. Things work better when you create the correct directories.
  22294. * Scripts/run-webkit-tests:
  22295. 2009-07-30 Mark Rowe <mrowe@apple.com>
  22296. Include some information about the error when we die.
  22297. * Scripts/run-webkit-tests:
  22298. 2009-07-30 Mark Rowe <mrowe@apple.com>
  22299. Ensure that the path exists before writing results to it.
  22300. Hopefully this will make the Windows build bot happy.
  22301. * Scripts/run-webkit-tests:
  22302. 2009-07-30 Mark Rowe <mrowe@apple.com>
  22303. Reviewed by Adam Treat and Jon Honeycutt.
  22304. Teach run-webkit-tests to always store the actual results in the results directory for new tests.
  22305. This allows us to give a working link to the results from the result summary page, even if we're
  22306. not generating new results in to the tree.
  22307. * Scripts/run-webkit-tests:
  22308. 2009-07-30 Mark Rowe <mrowe@apple.com>
  22309. Add a Qt Linux build bot.
  22310. * BuildSlaveSupport/build.webkit.org-config/config.json:
  22311. 2009-07-30 Jakob Petsovits <jakob.petsovits@torchmobile.com>
  22312. Reviewed by Adam Roben.
  22313. Add --minimal option to webkit-build.
  22314. https://bugs.webkit.org/show_bug.cgi?id=27852
  22315. This option disables all optional build features unless
  22316. they are explicitly enabled.
  22317. * Scripts/build-webkit:
  22318. 2009-07-30 Jakub Wieczorek <faw217@gmail.com>
  22319. [Qt] Fix build with GCC 4.4.
  22320. * DumpRenderTree/qt/ImageDiff.cpp:
  22321. 2009-07-29 Ariya Hidayat <ariya.hidayat@nokia.com>
  22322. Reviewed by Simon Hausmann.
  22323. https://bugs.webkit.org/show_bug.cgi?id=27813
  22324. [Qt] Support pixel tests in DumpRenderTree for the Qt port.
  22325. * DumpRenderTree/qt/DumpRenderTree.cpp:
  22326. (WebCore::DumpRenderTree::DumpRenderTree):
  22327. (WebCore::DumpRenderTree::open):
  22328. (WebCore::DumpRenderTree::setDumpPixels):
  22329. (WebCore::DumpRenderTree::dump):
  22330. * DumpRenderTree/qt/DumpRenderTree.h:
  22331. * DumpRenderTree/qt/main.cpp:
  22332. (main):
  22333. 2009-07-29 Ariya Hidayat <ariya.hidayat@nokia.com>
  22334. Reviewed by Simon Hausmann.
  22335. https://bugs.webkit.org/show_bug.cgi?id=27813
  22336. [Qt] Implement ImageDiff.
  22337. * DumpRenderTree/qt/ImageDiff.cpp: Added.
  22338. * DumpRenderTree/qt/ImageDiff.pro: Added.
  22339. 2009-07-30 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  22340. Reviewed by Eric Seidel.
  22341. build-webkit: Reorder logic for determining the baseProductDir
  22342. https://bugs.webkit.org/show_bug.cgi?id=27699
  22343. We now do port-spesific probing for the product dir first, and then
  22344. fall back to either the generic WEBKITOUTPUTDIR (which now also works
  22345. on Mac), or WebKitBuild.
  22346. Then we add the git branch if the git branch build option is enabled.
  22347. Finally we massage the product dir based on the port. For example the
  22348. Mac port will now always set the SYMROOT and OBJROOT configuration for
  22349. XCode.
  22350. Note that isAppleWinWebkit() and isCygwin() is not mutually exclusive,
  22351. hence the normal if and not elsif in the last two blocks.
  22352. * Scripts/webkitdirs.pm:
  22353. 2009-07-29 David Kilzer <ddkilzer@apple.com>
  22354. <http://webkit.org/b/27082> bugzilla-tool: Add --no-close switch to land-patches
  22355. Reviewed by David Levin.
  22356. * Scripts/bugzilla-tool:
  22357. (LandPatchesFromBugs.__init__): Added --no-close switch.
  22358. (LandPatchesFromBugs.land_patches): Don't close the bug if the
  22359. --no-close switch was used. Always clear the review+ flag on
  22360. every landed patch using the commit_text message when cleared.
  22361. This prevents patches from showing up in the commit queue if
  22362. reopened and provides consistency with all landed patches.
  22363. * Scripts/modules/bugzilla.py:
  22364. (Bugzilla.clear_attachment_review_flag): Added.
  22365. 2009-07-29 David Kilzer <ddkilzer@apple.com>
  22366. <http://webkit.org/b/27815> bugzilla-tool: add -m/--description to post-commits command
  22367. Reviewed by Eric Seidel.
  22368. * Scripts/bugzilla-tool:
  22369. (PostDiffAsPatchToBug.execute): Changed default patch name from
  22370. "patch" to "Patch v1".
  22371. (PostCommitsAsPatchesToBug.__init__): Added -m/--description
  22372. switch.
  22373. (PostCommitsAsPatchesToBug.execute): Use description provided by
  22374. -m/--description switch first, else fall back to the commit
  22375. message.
  22376. 2009-07-29 Kenneth Rohde Christiansen <kenneth@webkit.org>
  22377. Reviewed by Dave Levin.
  22378. Make check-webkit-style support files as arguments.
  22379. https://bugs.webkit.org/show_bug.cgi?id=27549
  22380. * Scripts/check-webkit-style:
  22381. Support files as argument. Change documentation and use basename
  22382. on the binary name when used in the documentation. Also do not
  22383. die when printing something containing non-ASCII characters.
  22384. 2009-08-06 Mike Fenton <mike.fenton@torchmobile.com>
  22385. Reviewed by David Levin.
  22386. Add validation for pointer and reference declaration as defined by webkit style guidelines to cpp_style.py.
  22387. Add unit tests for validation and update existing c style cast test to be run explicitly as c validation.
  22388. https://bugs.webkit.org/show_bug.cgi?id=27984
  22389. * Scripts/modules/cpp_style.py:
  22390. * Scripts/modules/cpp_style_unittest.py:
  22391. 2009-07-29 David Kilzer <ddkilzer@apple.com>
  22392. <http://webkit.org/b/27119> bugzilla-tool: Add create-bug command
  22393. Reviewed by David Levin.
  22394. Implement "create-bug" command for bugzilla-tool.
  22395. * Scripts/bugzilla-tool: Added CreateBug class.
  22396. (CreateBug.__init__): Added.
  22397. (CreateBug.create_bug_from_commit): Added.
  22398. (CreateBug.create_bug_from_patch): Added.
  22399. (CreateBug.prompt_for_bug_title_and_comment): Added.
  22400. (CreateBug.execute): Added.
  22401. (BugzillaTool.__init__): Added create-bug command.
  22402. * Scripts/modules/bugzilla.py:
  22403. (Bugzilla.prompt_for_component): Added.
  22404. (Bugzilla.check_create_bug_response_returning_bug_id_on_success): Added.
  22405. (Bugzilla.create_bug_with_patch): Added.
  22406. 2009-07-29 Jan Michael Alonzo <jmalonzo@webkit.org>
  22407. Reviewed by Eric Seidel and Xan Lopez.
  22408. [Gtk] Enable http/tests/appcache tests
  22409. https://bugs.webkit.org/show_bug.cgi?id=27674
  22410. Add support for testing http/tests/appcache tests.
  22411. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  22412. (resetWebViewToConsistentStateBeforeTesting):
  22413. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  22414. (LayoutTestController::setAppCacheMaximumSize):
  22415. 2009-07-28 Mark Rowe <mrowe@apple.com>
  22416. Reviewed by Oliver Hunt.
  22417. Prevent nightly builds of WebKit from launching against old Safari versions that we no longer work with.
  22418. * WebKitLauncher/main.m:
  22419. (checkSafariVersion): Add a minimum required Safari version of 4.0. This matches the requirement on Windows.
  22420. (main): If the minimum version requirement is not met, display an alert and bail out.
  22421. 2009-07-28 David Levin <levin@chromium.org>
  22422. Reviewed by Adam Treat.
  22423. cpplint* should be named cpp_style*
  22424. https://bugs.webkit.org/show_bug.cgi?id=27752
  22425. The files were renamed. A few renames were done:
  22426. CppLint -> CppStyle
  22427. cpplint -> cpp_style
  22428. * Scripts/check-webkit-style:
  22429. * Scripts/modules/cpp_style.py: Copied from cpplint.py and
  22430. did name fix ups.
  22431. * Scripts/modules/cpp_style_unittest.py: Copied from cpplint_unittest.py and
  22432. did name fix ups.
  22433. * Scripts/modules/cpplint.py: Removed.
  22434. * Scripts/modules/cpplint_unittest.py: Removed.
  22435. 2009-07-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  22436. Rubber-stamped by Holger Freyther.
  22437. Add Steve Falkenburg to bugzilla-tools' reviewers list
  22438. * Scripts/modules/bugzilla.py:
  22439. 2009-07-28 Zoltan Horvath <hzoltan@inf.u-szeged.hu>
  22440. Reviewed by Simon Hausmann.
  22441. Implement test result archive support for the Qt port.
  22442. * BuildSlaveSupport/test-result-archive:
  22443. 2009-07-27 Brady Eidson <beidson@apple.com>
  22444. Reviewed by Sam Weinig.
  22445. https://bugs.webkit.org/show_bug.cgi?id=27755
  22446. Layout tests that dump resource load delegate calls should dump the request method and the response status code.
  22447. * DumpRenderTree/mac/ResourceLoadDelegate.mm:
  22448. (-[NSURLResponse _drt_descriptionSuitableForTestResult]):
  22449. (-[NSURLRequest _drt_descriptionSuitableForTestResult]):
  22450. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  22451. (descriptionSuitableForTestResult):
  22452. 2009-07-27 Pierre d'Herbemont <pdherbemont@apple.com>
  22453. Reviewed by David Levin.
  22454. "bugzilla-tool post-commit head" doesn't work because it can't find the bug id from the commit load.
  22455. https://bugs.webkit.org/show_bug.cgi?id=27747
  22456. modules.bugzilla is not found because not included.
  22457. * Scripts/modules/scm.py: Properly import modules.bugzilla.
  22458. 2009-07-24 Pierre d'Herbemont <pdherbemont@apple.com>
  22459. Reviewed by David Kilzer.
  22460. commit-log-editor should allow git commit --amend to regenerate the commit log based on the modifed ChangeLog
  22461. https://bugs.webkit.org/show_bug.cgi?id=27664
  22462. * Scripts/commit-log-editor: Add --regenerate-log option.
  22463. The user is asked if he wants to suppress previous ChangeLog and regenerate it,
  22464. if this option is enabled.
  22465. 2009-07-27 Gabor Rapcsanyi <rapcsanyi.gabor@stud.u-szeged.hu>
  22466. Reviewed by Simon Hausmann.
  22467. Generating remote links causes a lot of unnecessary spew on Qt build bot too
  22468. * Scripts/run-webkit-tests:
  22469. 2009-07-25 Kwang Yul Seo <skyul@company100.net>
  22470. Reviewed by Darin Adler.
  22471. Windows build break due to warning C4819
  22472. https://bugs.webkit.org/show_bug.cgi?id=27416
  22473. Disable C4819 warning to fix build.
  22474. * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
  22475. 2009-07-24 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
  22476. Not reviewed. Add Kevin McCullough as reviewer in bugzilla.py
  22477. * Scripts/modules/bugzilla.py:
  22478. 2009-07-24 Eli Fidler <eli.fidler@torchmobile.com>
  22479. Reviewed by Adam Treat.
  22480. Improve git workflow by populating commit messages with ChangeLog entries.
  22481. https://bugs.webkit.org/show_bug.cgi?id=27605
  22482. If the user doesn't manually modify the ChangeLog files, use
  22483. prepare-ChangeLog to populate the git commit message. This behaviour
  22484. can be disabled by the 'webkitGenerateCommitMessage' git configuration option.
  22485. * Scripts/commit-log-editor:
  22486. 2009-07-24 David Levin <levin@chromium.org>
  22487. Reviewed by Adam Treat.
  22488. cpplint crash when there is a duplicate header followed by another header.
  22489. https://bugs.webkit.org/show_bug.cgi?id=27625
  22490. * Scripts/modules/cpplint.py: Ensure that include_state.header_types is updated even
  22491. there is a duplicate header, which resulted in some code rearrangement. Also,
  22492. changed some if's in this function to return early. This avoids having nearly the
  22493. whole function content being indented.
  22494. * Scripts/modules/cpplint_unittest.py: Added a test which would have exposed the crash.
  22495. 2009-07-24 Jakob Petsovits <jakob.petsovits@torchmobile.com>
  22496. Reviewed by Adam Treat.
  22497. Filetype support changes for cpplint and check_webkit_style
  22498. https://bugs.webkit.org/show_bug.cgi?id=27653
  22499. Introduce .c support for check_webkit_style, and remove support for
  22500. .cc files in favor of .cpp.
  22501. * Scripts/check-webkit-style:
  22502. * Scripts/modules/cpplint.py:
  22503. * Scripts/modules/cpplint_unittest.py:
  22504. 2009-07-24 Eli Fidler <eli.fidler@torchmobile.com>
  22505. Reviewed by David Levin.
  22506. Improve git workflow by populating commit messages with ChangeLog entries.
  22507. https://bugs.webkit.org/show_bug.cgi?id=27605
  22508. add --[no-]write prepare-ChangeLog options to bash completion
  22509. * Scripts/webkit-tools-completion.sh:
  22510. 2009-07-24 Andrei Popescu <andreip@google.com>
  22511. Reviewed by Anders Carlsson.
  22512. ApplicationCache should have size limit
  22513. https://bugs.webkit.org/show_bug.cgi?id=22700
  22514. Adds a new method on the LayoutTestController that
  22515. allows a JS unit test to configure the maximum size
  22516. of the Application Cache.
  22517. * DumpRenderTree/LayoutTestController.cpp:
  22518. (setAppCacheMaximumSizeCallback):
  22519. (LayoutTestController::staticFunctions):
  22520. * DumpRenderTree/LayoutTestController.h:
  22521. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  22522. (LayoutTestController::setAppCacheMaximumSize):
  22523. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  22524. (LayoutTestController::setAppCacheMaximumSize):
  22525. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  22526. (LayoutTestController::setAppCacheMaximumSize):
  22527. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  22528. (LayoutTestController::setAppCacheMaximumSize):
  22529. 2009-07-24 Adam Barth <abarth@webkit.org>
  22530. Rubber stamped by Eric Seidel.
  22531. Added andersca to list of reviewers.
  22532. * Scripts/modules/bugzilla.py:
  22533. 2009-07-24 Mark Rowe <mrowe@apple.com>
  22534. Reviewed by Xan Lopez.
  22535. Fix dozens of "Deallocation of a pointer not malloced" messages seen while running
  22536. layout tests on the build bot.
  22537. Memory allocated via FastMalloc was being deleted via the system memory allocator
  22538. due to an inconsistent including of FastMalloc.h. We address this by including it
  22539. from config.h and including config.h from every implementation file, as in our other
  22540. projects.
  22541. * DumpRenderTree/ForwardingHeaders/wtf/FastMalloc.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/FastMalloc.h.
  22542. * DumpRenderTree/config.h:
  22543. * DumpRenderTree/mac/AccessibilityControllerMac.mm:
  22544. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  22545. * DumpRenderTree/mac/AppleScriptController.m:
  22546. * DumpRenderTree/mac/CheckedMalloc.cpp:
  22547. * DumpRenderTree/mac/DumpRenderTree.mm:
  22548. * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm:
  22549. * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
  22550. * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
  22551. * DumpRenderTree/mac/EditingDelegate.mm:
  22552. * DumpRenderTree/mac/EventSendingController.mm:
  22553. * DumpRenderTree/mac/FrameLoadDelegate.mm:
  22554. * DumpRenderTree/mac/GCControllerMac.mm:
  22555. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  22556. * DumpRenderTree/mac/NavigationController.m:
  22557. * DumpRenderTree/mac/ObjCController.m:
  22558. * DumpRenderTree/mac/ObjCPlugin.m:
  22559. * DumpRenderTree/mac/ObjCPluginFunction.m:
  22560. * DumpRenderTree/mac/PixelDumpSupportMac.mm:
  22561. * DumpRenderTree/mac/PlainTextController.mm:
  22562. * DumpRenderTree/mac/PolicyDelegate.mm:
  22563. * DumpRenderTree/mac/ResourceLoadDelegate.mm:
  22564. * DumpRenderTree/mac/TextInputController.m:
  22565. * DumpRenderTree/mac/UIDelegate.mm:
  22566. * DumpRenderTree/mac/WorkQueueItemMac.mm:
  22567. 2009-07-24 Mark Rowe <mrowe@apple.com>
  22568. Reviewed by Simon Hausmann.
  22569. Add a command line option to run-javascriptcore-tests to explicitly opt out of attempting to rebuild JavaScriptCore.
  22570. This is primarily useful to speed up the build bots where one machine builds JavaScriptCore and a second runs the tests,
  22571. leading to situations where the build system unnecessarily feels that the need to recompile.
  22572. * BuildSlaveSupport/build.webkit.org-config/master.cfg:
  22573. * Scripts/run-javascriptcore-tests:
  22574. 2009-07-23 Jan Michael Alonzo <jmalonzo@webkit.org>
  22575. Reviewed by Eric Seidel.
  22576. [Gtk] Add implementation of GCController for DRT
  22577. https://bugs.webkit.org/show_bug.cgi?id=27636
  22578. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  22579. (webViewWindowObjectCleared):
  22580. (main):
  22581. * DumpRenderTree/gtk/GCControllerGtk.cpp:
  22582. (GCController::collect):
  22583. (GCController::collectOnAlternateThread):
  22584. (GCController::getJSObjectCount):
  22585. 2009-07-23 Mark Rowe <mrowe@apple.com>
  22586. Update build.webkit.org config for new machine.
  22587. * BuildSlaveSupport/build.webkit.org-config/config.json:
  22588. 2009-07-23 Brady Eidson <beidson@apple.com>
  22589. Remove accidentally checked in code.
  22590. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  22591. (waitUntilDoneWatchdogFired):
  22592. (LayoutTestController::setWaitToDump):
  22593. 2009-07-23 Brady Eidson <beidson@apple.com>
  22594. Reviewed by Geoff Garen.
  22595. WebCore has a few places that don't gracefully handle a null request returned from willSendRequest.
  22596. https://bugs.webkit.org/show_bug.cgi?id=27595
  22597. Add the ability to tell the LayoutTestController to return a null request for willSendRequest
  22598. redirect callbacks.
  22599. * DumpRenderTree/LayoutTestController.cpp:
  22600. (LayoutTestController::LayoutTestController):
  22601. (setWillSendRequestReturnsNullOnRedirectCallback):
  22602. (LayoutTestController::staticFunctions):
  22603. * DumpRenderTree/LayoutTestController.h:
  22604. (LayoutTestController::willSendRequestReturnsNullOnRedirect):
  22605. (LayoutTestController::setWillSendRequestReturnsNullOnRedirect):
  22606. * DumpRenderTree/mac/ResourceLoadDelegate.mm:
  22607. (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
  22608. * DumpRenderTree/win/ResourceLoadDelegate.cpp:
  22609. (ResourceLoadDelegate::willSendRequest):
  22610. 2009-07-23 Mark Rowe <mrowe@apple.com>
  22611. Reviewed Oliver Hunt.
  22612. Fix DumpRenderTree to not fail an assertion on launch on a new machine.
  22613. * DumpRenderTree/mac/DumpRenderTree.mm:
  22614. (setDefaultsToConsistentValuesForTesting): Disable the XSS auditor. It being enabled
  22615. breaks all of the JavaScript tests within testStringByEvaluatingJavaScriptFromString,
  22616. which causes us to exit due to an assertion failure. It's not clear why the XSS auditor
  22617. decides to interfere with these tests.
  22618. 2009-07-23 Mark Rowe <mrowe@apple.com>
  22619. Reviewed by Oliver Hunt.
  22620. Update default state of the XSS auditor in GTK DumpRenderTree to match Mac and Windows
  22621. in hopes of fixing some layout test failures seen on the build bot.
  22622. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  22623. (resetWebViewToConsistentStateBeforeTesting):
  22624. 2009-07-23 Jakob Petsovits <jakob.petsovits@torchmobile.com>
  22625. Reviewed by Adam Treat.
  22626. Fix false positives for switch statement indentation check in cpplint.
  22627. https://bugs.webkit.org/show_bug.cgi?id=27615
  22628. Makes one-line case statements (e.g. "case foo: bar();") work.
  22629. Also a few general improvements to the robustness and readability of
  22630. the check, and more test cases.
  22631. * Scripts/modules/cpplint.py:
  22632. * Scripts/modules/cpplint_unittest.py:
  22633. 2009-07-23 Jakob Petsovits <jakob.petsovits@torchmobile.com>
  22634. Reviewed by Adam Treat.
  22635. Add check for line-breaking rule #3 to cpplint.
  22636. https://bugs.webkit.org/show_bug.cgi?id=27610
  22637. "An else if statement should be written as an if statement when
  22638. the prior if concludes with a return statement."
  22639. Implemented by a multi-line (kind of back-tracking) algorithm.
  22640. Comes with loads of unit tests. Fixes the check for label indentation
  22641. to be not so overzealous, as it didn't allow for completely unindented
  22642. goto labels (at the very start of a line).
  22643. * Scripts/modules/cpplint.py:
  22644. * Scripts/modules/cpplint_unittest.py:
  22645. 2009-07-23 Eli Fidler <eli.fidler@torchmobile.com>
  22646. Reviewed by Adam Treat.
  22647. Improve git workflow by populating commit messages with ChangeLog entries.
  22648. https://bugs.webkit.org/show_bug.cgi?id=27605
  22649. add --[no-]write option to optionally output new ChangeLog entries to
  22650. stdout instead of modifying ChangeLog files
  22651. fix Torch Mobile copyright
  22652. * Scripts/prepare-ChangeLog:
  22653. 2009-07-23 Jakob Petsovits <jakob.petsovits@torchmobile.com>
  22654. Reviewed by Adam Treat.
  22655. Enable cpplint for .c files.
  22656. https://bugs.webkit.org/show_bug.cgi?id=27604
  22657. Also make sure that the check for NULL does not apply to .c files.
  22658. * Scripts/modules/cpplint.py:
  22659. * Scripts/modules/cpplint_unittest.py:
  22660. 2009-07-22 Steve Falkenburg <sfalken@apple.com>
  22661. Checkpoint new Windows nightly launcher.
  22662. Reviewed by Mark Rowe.
  22663. * WebKitLauncherWin: Added.
  22664. * WebKitLauncherWin/Resource.h: Added.
  22665. * WebKitLauncherWin/WebKitLauncherWin.cpp: Added.
  22666. (getStringValue): Retrieve a string registry value.
  22667. (applePathFromRegistry): Get an Apple-related path out of the registry.
  22668. (copyEnvironmentVariable): Copy an environment variable.
  22669. (safariInstallDir): Helper function to get the install directory for Safari.
  22670. (safariBrowserExe): Helper function to get the full path of the Safari executable.
  22671. (_tWinMain): Locate Safari and launch it after setting up an environment variable.
  22672. * WebKitLauncherWin/WebKitLauncherWin.h: Added.
  22673. * WebKitLauncherWin/WebKitLauncherWin.rc: Added.
  22674. * WebKitLauncherWin/WebKitLauncherWin.vcproj: Added.
  22675. * WebKitLauncherWin/webkit.ico: Added.
  22676. 2009-07-22 David Levin <levin@chromium.org>
  22677. Reviewed by Adam Treat.
  22678. run-webkit-lint should be named check-webkit-style
  22679. https://bugs.webkit.org/show_bug.cgi?id=27568
  22680. This name better reflects the fact that it is about checking the style of files.
  22681. * Scripts/check-webkit-style: Renamed from WebKitTools/Scripts/run-webkit-lint.
  22682. 2009-07-22 Takeshi Yoshino <tyoshino@google.com>
  22683. Reviewed by Darin Adler.
  22684. VC++ 2005 Express failed to build WebKit due to raw UTF-8 string in WebKit/win/WebCoreLocalizedStrings.cpp
  22685. https://bugs.webkit.org/show_bug.cgi?id=26375
  22686. Make it able to use hexadecimal escape sequences in .*UI_STRING(_KEY)? macros. Now,
  22687. the extract-localizable-strings script unescapes hexadecimal escape sequences in string literals
  22688. in the macros before writing out them into the file to update.
  22689. By this fix, we can eliminate raw UTF-8 strings in source code while using raw UTF-16 big endian
  22690. strings in the Localizable.strings file.
  22691. Bonus: There's no longer extract-webkit-localizable-strings script. Fix usage message to guide
  22692. users to update-webkit-localizable-strings.
  22693. * Scripts/extract-localizable-strings:
  22694. 2009-07-22 Shinichiro Hamaji <hamaji@google.com>
  22695. Reviewed by David Levin.
  22696. Tiny typo fixes for cpplint.py
  22697. https://bugs.webkit.org/show_bug.cgi?id=27530
  22698. * Scripts/modules/cpplint.py:
  22699. 2009-07-22 Shinichiro Hamaji <hamaji@chromium.org>
  22700. Reviewed by David Levin.
  22701. run-webkit-lint checks code which are not changed
  22702. https://bugs.webkit.org/show_bug.cgi?id=27529
  22703. Add check if the line is newly added.
  22704. * Scripts/run-webkit-lint:
  22705. 2009-07-22 Shinichiro Hamaji <hamaji@chromium.org>
  22706. Reviewed by David Levin.
  22707. run-webkit-lint should have --git-commit option
  22708. https://bugs.webkit.org/show_bug.cgi?id=27528
  22709. * Scripts/modules/cpplint.py:
  22710. * Scripts/run-webkit-lint:
  22711. 2009-07-22 Peter Kasting <pkasting@google.com>
  22712. Reviewed by David Kilzer.
  22713. https://bugs.webkit.org/show_bug.cgi?id=27323
  22714. Factor svn-create-patch's "determineSvnRoot()" into a function in
  22715. VCSUtils.pm so commit-log-editor can use it too.
  22716. * Scripts/VCSUtils.pm: Add determineSVNRoot().
  22717. * Scripts/commit-log-editor: Use determineSVNRoot() instead of old
  22718. code (which didn't work as well).
  22719. * Scripts/svn-create-patch: Remove determineSvnRoot() (moved).
  22720. 2009-07-22 Jakob Petsovits <jakob.petsovits@torchmobile.com>
  22721. Reviewed by Adam Treat.
  22722. Fix false positives in namespace indentation checks.
  22723. https://bugs.webkit.org/show_bug.cgi?id=27567
  22724. The regular expression detecting goto labels (in order
  22725. to skip those) was too permissive, which caused other
  22726. code like "Foo::Bar()" to be treated as a label too,
  22727. thereby not stopping the processing loop as expected.
  22728. Now comes with a stricter regexp, and more demanding
  22729. test cases to check for these issues.
  22730. * Scripts/modules/cpplint.py:
  22731. * Scripts/modules/cpplint_unittest.py:
  22732. 2009-07-22 Jakob Petsovits <jakob.petsovits@torchmobile.com>
  22733. Reviewed by Adam Treat.
  22734. Fix cpplint generating false positives for
  22735. "primary" includes in headers.
  22736. https://bugs.webkit.org/show_bug.cgi?id=27553
  22737. Doing so by only flagging includes in header files
  22738. as primary when the include filename exactly matches
  22739. the header filename.
  22740. * Scripts/modules/cpplint.py:
  22741. * Scripts/modules/cpplint_unittest.py:
  22742. 2009-07-22 Jakob Petsovits <jakob.petsovits@torchmobile.com>
  22743. Reviewed by Adam Treat.
  22744. cpplint generates false positives for primary includes
  22745. https://bugs.webkit.org/show_bug.cgi?id=27544
  22746. Fix false positives for instances when cpplint would
  22747. normally classify multiple includes as primary: After
  22748. the first primary include, classify subsequent ones as
  22749. "other" includes even if they look like primary ones.
  22750. * Scripts/modules/cpplint.py:
  22751. * Scripts/modules/cpplint_unittest.py:
  22752. 2009-07-22 Gabor Rapcsanyi <rapcsanyi.gabor@stud.u-szeged.hu>
  22753. Reviewed by Simon Hausmann.
  22754. Pass XAUTHORITY environment variable to $dumpTool as well.
  22755. * Scripts/run-webkit-tests:
  22756. 2009-07-21 Jakob Petsovits <jakob.petsovits@torchmobile.com>
  22757. Reviewed by Adam Treat.
  22758. Add check for correct wtf includes to cpplint.
  22759. https://bugs.webkit.org/show_bug.cgi?id=27524
  22760. * Scripts/modules/cpplint.py:
  22761. * Scripts/modules/cpplint_unittest.py:
  22762. 2009-07-21 Jakob Petsovits <jakob.petsovits@torchmobile.com>
  22763. Reviewed by David Levin.
  22764. Add checks for multi-line boolean operator placement.
  22765. https://bugs.webkit.org/show_bug.cgi?id=27496
  22766. * Scripts/modules/cpplint.py:
  22767. * Scripts/modules/cpplint_unittest.py:
  22768. 2009-07-21 Adam Treat <adam.treat@torchmobile.com>
  22769. Reviewed by David Levin.
  22770. We can't match implementation file and primary header exactly
  22771. since we have so many files in WebKit where the port suffix
  22772. is appended to the filename.
  22773. Example: FooQt.cpp and the primary header is Foo.h.
  22774. * Scripts/modules/cpplint.py:
  22775. 2009-07-21 Jakob Petsovits <jakob.petsovits@torchmobile.com>
  22776. Reviewed by David Levin.
  22777. Add checks for switch statement indentation to cpplint.
  22778. https://bugs.webkit.org/show_bug.cgi?id=27508
  22779. * Scripts/modules/cpplint.py:
  22780. * Scripts/modules/cpplint_unittest.py:
  22781. 2009-07-21 Kenneth Rohde Christiansen <kenneth@webkit.org>
  22782. Reviewed by Adam Treat.
  22783. Feature request: cpplint should check for braces - rule 2
  22784. https://bugs.webkit.org/show_bug.cgi?id=27497
  22785. Add the requested feature: Make sure { is on the same line
  22786. as the foreach "keyword".
  22787. * Scripts/modules/cpplint.py:
  22788. * Scripts/modules/cpplint_unittest.py:
  22789. 2009-07-20 Jakob Petsovits <jakob.petsovits@torchmobile.com>
  22790. Reviewed by David Levin.
  22791. Add checks for namespace indentation to cpplint.
  22792. https://bugs.webkit.org/show_bug.cgi?id=27461
  22793. * Scripts/modules/cpplint.py:
  22794. * Scripts/modules/cpplint_unittest.py:
  22795. 2009-07-20 Adam Treat <adam.treat@torchmobile.com>
  22796. Reviewed by David Levin.
  22797. Add cpplint check for proper include order
  22798. https://bugs.webkit.org/show_bug.cgi?id=27462
  22799. Add a new check to cpplint to flag cases where the include section of a file
  22800. does not match the mandated include order and style of the Webkit coding style
  22801. guidelines.
  22802. Add associated tests.
  22803. * Scripts/modules/cpplint.py:
  22804. * Scripts/modules/cpplint_unittest.py:
  22805. 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
  22806. Reviewed by David Levin.
  22807. Support lint for patches
  22808. https://bugs.webkit.org/show_bug.cgi?id=27291
  22809. Add run-webkit-lint script, which lints recent changes in local
  22810. repository. Also, modified cpplint.py so that we don't need to
  22811. specify verbose level for process_file().
  22812. * Scripts/modules/cpplint.py:
  22813. * Scripts/run-webkit-lint: Added.
  22814. 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
  22815. Reviewed by David Levin.
  22816. diff_parser should accept lines without trailing \n
  22817. https://bugs.webkit.org/show_bug.cgi?id=27483
  22818. Normalize the input lines by removing a trailing newline.
  22819. Also, add a case for unittest for newly added files.
  22820. * Scripts/modules/diff_parser.py:
  22821. * Scripts/modules/diff_parser_unittest.py:
  22822. 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
  22823. Reviewed by David Levin.
  22824. cpplint.py's process_file() should accept customized error function
  22825. https://bugs.webkit.org/show_bug.cgi?id=27487
  22826. * Scripts/modules/cpplint.py:
  22827. 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
  22828. Reviewed by David Levin.
  22829. cpplint.py should have an interface to get global error count
  22830. https://bugs.webkit.org/show_bug.cgi?id=27486
  22831. * Scripts/modules/cpplint.py:
  22832. * Scripts/modules/cpplint_unittest.py:
  22833. 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
  22834. Reviewed by David Levin.
  22835. cpplint's parse_argument should not exit even if no files are specified
  22836. https://bugs.webkit.org/show_bug.cgi?id=27489
  22837. * Scripts/modules/cpplint.py:
  22838. * Scripts/modules/cpplint_unittest.py:
  22839. 2009-07-21 Shinichiro Hamaji <hamaji@chromium.org>
  22840. Reviewed by David Levin.
  22841. diff_parser: s/add_deleted_line/add_old_line/g
  22842. https://bugs.webkit.org/show_bug.cgi?id=27484
  22843. * Scripts/modules/diff_parser.py:
  22844. 2009-07-21 Roland Steiner <rolandsteiner@google.com>
  22845. Reviewed by David Levin.
  22846. Add ENABLE_RUBY to list of build options
  22847. https://bugs.webkit.org/show_bug.cgi?id=27324
  22848. * Scripts/build-webkit: Added flag ENABLE_RUBY.
  22849. 2009-07-20 Mark Rowe <mrowe@apple.com>
  22850. Reviewed by David D. Kilzer.
  22851. Fix <https://bugs.webkit.org/show_bug.cgi?id=27482>.
  22852. Bug 27482: svn-apply cannot apply patch generated by Windows SVN
  22853. A regexp in svn-apply was treating everything prior to a \n as part of the
  22854. file name. The native Windows SVN client uses \r\n for line endings which
  22855. meant that the \r was being included in the file name. This defeated the
  22856. special-case logic for ChangeLogs to apply them with an increased fuzz factor,
  22857. meaning that the ChangeLog portions of such patches would fail to apply.
  22858. Also updated two other regexps that look like they would hit similar problems
  22859. with line-endings so that they will correctly handle patches from Windows SVN.
  22860. * Scripts/svn-apply:
  22861. 2009-07-20 Peter Kasting <pkasting@google.com>
  22862. Reviewed by Mark Rowe.
  22863. https://bugs.webkit.org/show_bug.cgi?id=27468
  22864. Back out r46060, which caused problems for some Apple developers.
  22865. * DumpRenderTree/win/DumpRenderTree.vcproj:
  22866. * DumpRenderTree/win/ImageDiff.vcproj:
  22867. * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
  22868. 2009-07-20 Peter Kasting <pkasting@google.com>
  22869. Reviewed by Darin Adler.
  22870. https://bugs.webkit.org/show_bug.cgi?id=27323
  22871. Use shorter, more correct code for determining the current directory,
  22872. which works better with symbolic links on some systems. Also switch
  22873. from checking repository root to checking UUID, to match scm.py.
  22874. * Scripts/svn-create-patch:
  22875. 2009-07-20 Mark Rowe <mrowe@apple.com>
  22876. Rubber-stamped by Dan Bernstein.
  22877. Work around <rdar://problem/7075373> by ensuring that the URL is absolute before handing it off to CoreText.
  22878. * DumpRenderTree/mac/DumpRenderTree.mm:
  22879. (activateFonts):
  22880. 2009-07-20 David Levin <levin@chromium.org>
  22881. Reviewed by Adam Treat.
  22882. Enable filename completion for run-webkit-test (added "-o default").
  22883. * Scripts/webkit-tools-completion.sh:
  22884. 2009-07-20 Simon Hausmann <simon.hausmann@nokia.com>
  22885. No review, just adding Gavin Barraclough as reviewer.
  22886. * Scripts/modules/bugzilla.py:
  22887. 2009-07-20 Kenneth Rohde Christiansen <kenneth@webkit.org>
  22888. Reviewed by David Levin.
  22889. Add support for Qt's foreach to cpplint
  22890. https://bugs.webkit.org/show_bug.cgi?id=27386
  22891. * Scripts/modules/cpplint.py:
  22892. * Scripts/modules/cpplint_unittest.py:
  22893. 2009-07-18 Jan Michael Alonzo <jmalonzo@webkit.org>
  22894. https://bugs.webkit.org/show_bug.cgi?id=27145
  22895. [Gtk][REGRESSION] subframe-navigate-during-main-frame-load.html fails after r45615
  22896. Reviewed by Gustavo Noronha.
  22897. Normalize file URLs.
  22898. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  22899. (dumpHistoryItem):
  22900. 2009-07-17 Peter Kasting <pkasting@google.com>
  22901. Reviewed by David Kilzer.
  22902. https://bugs.webkit.org/show_bug.cgi?id=27323
  22903. Further improve non-Cygwin SVN support.
  22904. * Scripts/prepare-ChangeLog: Harmless change to be consistent with other
  22905. places that consume whitespace at the end of svn output.
  22906. * Scripts/resolve-ChangeLogs: Add support for SVN 1.6. Slightly
  22907. optimize svn info parsing based on technique in svn-create-patch.
  22908. Normalize paths and consume whitespace in the same way as
  22909. prepare-ChangeLog, for Windows systems with a non-Cygwin SVN. Force
  22910. diff and patch to run in binary mode so that they won't
  22911. "intelligently" screw up line endings.
  22912. 2009-07-18 Simon Fraser <simon.fraser@apple.com>
  22913. Fix Tiger DRT build.
  22914. * DumpRenderTree/mac/DumpRenderTree.mm:
  22915. (createWebViewAndOffscreenWindow):
  22916. * DumpRenderTree/mac/PixelDumpSupportMac.mm:
  22917. 2009-07-17 Simon Fraser <simon.fraser@apple.com>
  22918. Reviewed by Dan Bernstein.
  22919. DRT doesn't reliably snapshot composited layers
  22920. https://bugs.webkit.org/show_bug.cgi?id=27399
  22921. If we're doing an "onscreen" pixel capture, it means that we're snapshotting a view
  22922. with composited content. In that case we need to force the view to display so that
  22923. the composited layers are rendered to the screen.
  22924. * DumpRenderTree/mac/PixelDumpSupportMac.mm:
  22925. (createBitmapContextFromWebView):
  22926. 2009-07-17 Adam Barth <abarth@webkit.org>
  22927. Reviewed by David Levin.
  22928. bugzilla-tool does not understand nested SVN repos
  22929. https://bugs.webkit.org/show_bug.cgi?id=27404
  22930. Determine the root of the working copy by looking at SVN's UUIDs.
  22931. * Scripts/modules/scm.py:
  22932. 2009-07-17 David Levin <levin@chromium.org>
  22933. Reviewed by Mark Rowe.
  22934. webkit-tools-completion.sh has two typos and sorting issues.
  22935. https://bugs.webkit.org/show_bug.cgi?id=27401
  22936. * Scripts/webkit-tools-completion.sh: Fix two typos "--dif" and "-clean".
  22937. Also, sort all lists including items in the case statement and flags for
  22938. the commands.
  22939. 2009-07-17 Peter Kasting <pkasting@google.com>
  22940. Reviewed by David Kilzer.
  22941. https://bugs.webkit.org/show_bug.cgi?id=27323
  22942. Tweak some regexes for correctness.
  22943. * Scripts/prepare-ChangeLog: Allow 1-character filenames (my previous
  22944. change here didn't quite get things right).
  22945. * Scripts/update-webkit: Detect conflicting ChangeLogs correctly by not
  22946. including any trailing whitespace in the name "ChangeLog", and by
  22947. normalizing paths before calling basename() to avoid confusing it.
  22948. (normalizePath() copied from prepare-ChangeLog.)
  22949. 2009-07-17 Peter Kasting <pkasting@google.com>
  22950. Reviewed by Steve Falkenburg.
  22951. https://bugs.webkit.org/show_bug.cgi?id=27323
  22952. Only add Cygwin to the path when it isn't already there. This avoids
  22953. causing problems for people who purposefully have non-Cygwin versions of
  22954. executables like svn in front of the Cygwin ones in their paths.
  22955. * DumpRenderTree/win/DumpRenderTree.vcproj:
  22956. * DumpRenderTree/win/ImageDiff.vcproj:
  22957. * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
  22958. 2009-07-17 David Levin <levin@chromium.org>
  22959. Reviewed by Adam Treat.
  22960. WebKit should have a bash completion script to aid with common commands.
  22961. https://bugs.webkit.org/show_bug.cgi?id=27374
  22962. * Scripts/webkit-tools-completion.sh: The script which enables option completion
  22963. for several WebKit command line scripts.
  22964. 2009-07-17 Peter Kasting <pkasting@google.com>
  22965. Reviewed by David Kilzer.
  22966. https://bugs.webkit.org/show_bug.cgi?id=27323
  22967. Avoid error spew on Macs, and fix a few other tiny details.
  22968. * Scripts/svn-create-patch:
  22969. 2009-07-17 Adam Treat <adam.treat@torchmobile.com>
  22970. Reviewed by Dave Levin.
  22971. https://bugs.webkit.org/show_bug.cgi?id=27377
  22972. This makes cpplint complain about this for instance:
  22973. if (true)
  22974. {
  22975. int foo;
  22976. }
  22977. Add the appropriate unit tests.
  22978. * Scripts/modules/cpplint.py:
  22979. * Scripts/modules/cpplint_unittest.py:
  22980. 2009-07-17 Adam Treat <adam.treat@torchmobile.com>
  22981. Reviewed by Dave Levin.
  22982. https://bugs.webkit.org/show_bug.cgi?id=27377
  22983. Don't filter whitespace at the end of the line. This is not
  22984. explicitly a rule of webkit coding style, but there is no reason
  22985. not to warn of this common style problem.
  22986. Don't filter whitespace newline. Now, cpplint will complain
  22987. about the following situation:
  22988. if (true) {
  22989. doSomething();
  22990. doSomethingAgain();
  22991. }
  22992. else
  22993. doSomething();
  22994. Which is a webkit coding style rule violation.
  22995. * Scripts/modules/cpplint.py:
  22996. 2009-07-17 Adam Treat <adam.treat@torchmobile.com>
  22997. Reviewed by Dave Levin.
  22998. https://bugs.webkit.org/show_bug.cgi?id=27377
  22999. Move this comment to where it belongs.
  23000. * Scripts/modules/cpplint_unittest.py:
  23001. 2009-07-17 Brent Fulgham <bfulgham@webkit.org>
  23002. Reviewed by Adam Roben.
  23003. Correct crash in WinLauncher due to improper mixing of BSTR
  23004. and TCHAR types.
  23005. https://bugs.webkit.org/show_bug.cgi?id=27381
  23006. * WinLauncher/WinLauncher.cpp:
  23007. (loadURL): Perform SysReAllocString to update the BSTR with
  23008. the contents of the TCHAR string.
  23009. 2009-07-17 David Levin <levin@chromium.org>
  23010. Reviewed by Adam Treat.
  23011. cpplint should flag usages of NULL.
  23012. https://bugs.webkit.org/show_bug.cgi?id=27341
  23013. * Scripts/modules/cpplint.py: Add the check for NULL test and call it.
  23014. Make the collapse_strings method public.
  23015. * Scripts/modules/cpplint_unittest.py: Add several tests to verify
  23016. the check for NULL behavior. Adjust existing tests due to the
  23017. new NULL check:
  23018. 1. Several had NULL removed (or were just removed completely).
  23019. 2. Two tests now do an assert that allows the caller to check
  23020. that a particular error is one of several that was returned.
  23021. 2009-07-17 Shinichiro Hamaji <hamaji@chromium.org>
  23022. Reviewed by David Levin.
  23023. Add a parser of patches for linter.
  23024. https://bugs.webkit.org/show_bug.cgi?id=27363
  23025. Adds a simple parser for unified diff format.
  23026. * Scripts/modules/diff_parser.py: Added.
  23027. * Scripts/modules/diff_parser_unittest.py: Added.
  23028. 2009-06-30 Holger Hans Peter Freyther <zecke@selfish.org>
  23029. Reviewed by Simon Hausmann.
  23030. [GTK+] Remove check to be loadable in firefox
  23031. https://bugs.webkit.org/show_bug.cgi?id=27345
  23032. if (aMozillaVTable->size < sizeof (NPNetscapeFuncs))
  23033. fails in firefox but no other example in the mozilla tree is
  23034. doing that check. Remove and be happy.
  23035. * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
  23036. (NP_Initialize):
  23037. 2009-07-17 Adam Treat <adam.treat@torchmobile.com>
  23038. Reviewed by Simon Hausmann.
  23039. Something about having a single TAB in a style checking tool like this
  23040. is equivalent to nails on a chalk board to me...
  23041. * Scripts/modules/cpplint.py:
  23042. 2009-07-17 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org>
  23043. Reviewed by Simon Hausmann.
  23044. Overwrite the plugin directories for the DRT.
  23045. Part of https://bugs.webkit.org/show_bug.cgi?id=27215
  23046. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23047. (WebCore::DumpRenderTree::DumpRenderTree):
  23048. 2009-07-16 Fumitoshi Ukai <ukai@chromium.org>
  23049. Reviewed by David Levin.
  23050. Add --web-sockets flag and ENABLE_WEB_SOCKETS define.
  23051. https://bugs.webkit.org/show_bug.cgi?id=27206
  23052. Add --web-sockets flag.
  23053. * Scripts/build-webkit: add --web-sockets flag.
  23054. 2009-07-16 Adam Treat <adam.treat@torchmobile.com>
  23055. Reviewed by Dave Levin.
  23056. cpplint should check for one line control clauses that are surrounded
  23057. by braces
  23058. https://bugs.webkit.org/show_bug.cgi?id=27354
  23059. * Scripts/modules/cpplint.py: Added the new lint check.
  23060. * Scripts/modules/cpplint_unittest.py: Add tests for the new lint check
  23061. and fix the other tests as they were not passing this new lint check.
  23062. 2009-07-16 Peter Kasting <pkasting@google.com>
  23063. Reviewed by David Kilzer.
  23064. https://bugs.webkit.org/show_bug.cgi?id=27323
  23065. Improve support for WebKit checkouts hosted inside other checkouts
  23066. (possible for some ports, e.g. Chromium).
  23067. * Scripts/svn-create-patch: Determine SVN root by looking for Repository
  23068. Root string and aborting when it's missing or different than what
  23069. we've already seen.
  23070. 2009-07-16 Peter Kasting <pkasting@google.com>
  23071. Reviewed by Adam Roben.
  23072. https://bugs.webkit.org/show_bug.cgi?id=27323
  23073. Improve support for non-Cygwin SVNs on Windows.
  23074. * Scripts/commit-log-editor: Modify regex so that trailing whitespace
  23075. (e.g. \r) isn't included in filenames.
  23076. * Scripts/prepare-ChangeLog: Fix a case of adding "\n" to the ChangeLog
  23077. without normalizing. Normalize file paths early instead of late so
  23078. all stages of the script work. Modify regexes so that trailing
  23079. whitespace (e.g. \r) isn't included in filenames.
  23080. * Scripts/svn-create-patch: Use a regex instead of chomp so we cut off
  23081. line endings even if they don't match Perl's.
  23082. 2009-07-16 Joseph Pecoraro <joepeck02@gmail.com>
  23083. Reviewed by Darin Adler.
  23084. WebKitTools/Scripts/svn-create-patch is broken
  23085. https://bugs.webkit.org/show_bug.cgi?id=27328
  23086. * Scripts/svn-create-patch: one line fix for unusual perl behavior
  23087. 2009-07-16 David Levin <levin@chromium.org>
  23088. Reviewed by David Kilzer.
  23089. cpplint should check for equality comparisons to 0/true/false
  23090. https://bugs.webkit.org/show_bug.cgi?id=27333
  23091. * Scripts/modules/cpplint.py: Added the new lint check.
  23092. * Scripts/modules/cpplint_unittest.py: Add tests for the new lint check
  23093. and fix a regex that in another unit test that caused it to fail when
  23094. you have a directory with a number in it (like WebKit-2)
  23095. 2009-07-16 David D. Kilzer <ddkilzer@webkit.org>
  23096. <http://webkit.org/b/27241> bugzilla-tool post-commits silently fails with bad args
  23097. Reviewed by Eric Seidel.
  23098. * Scripts/bugzilla-tool:
  23099. (PostCommitsAsPatchesToBug.execute): Added more error checking
  23100. when consuming arguments.
  23101. 2009-07-16 David D. Kilzer <ddkilzer@webkit.org>
  23102. TOOL FIX: scm.py: CommitMessage.message is ambiguous
  23103. Fixes this error when running bugzilla-tool apply-patches
  23104. --local-commit:
  23105. File "bugzilla-tool", line 188, in apply_patches
  23106. scm.commit_locally_with_message(commit_message.message() or patch['name'])
  23107. TypeError: 'list' object is not callable
  23108. * Scripts/modules/scm.py: After r45940 (and r45971), rename
  23109. CommitMessage.message attribute to CommitMessage.message_lines.
  23110. (CommitMessage.__init__):
  23111. (CommitMessage.body):
  23112. (CommitMessage.description):
  23113. (CommitMessage.message):
  23114. (CommitMessage.parse_bug_id):
  23115. 2009-07-16 David D. Kilzer <ddkilzer@webkit.org>
  23116. TOOL FIX: bugzilla-tool: import CommitMessage class
  23117. * Scripts/bugzilla-tool: After r45940, the CommitMessage class
  23118. needs to be imported for commit_message_for_this_commit().
  23119. 2009-07-16 David Levin <levin@chromium.org>
  23120. Reviewed by Maciej Stachowiak.
  23121. prepare-ChangeLog should display the --bug option in its help text.
  23122. https://bugs.webkit.org/show_bug.cgi?id=27334
  23123. * Scripts/prepare-ChangeLog: Added the help text.
  23124. 2009-07-15 Darin Adler <darin@apple.com>
  23125. * Scripts/do-webcore-rename: Check in the version used to
  23126. rename parseURL to deprecatedParseURL.
  23127. 2009-07-10 David Kilzer <ddkilzer@apple.com>
  23128. bugzilla-tool: create CommitMessage class
  23129. Reviewed by Eric Seidel.
  23130. Create a CommitMessage class to encapsulate related code.
  23131. * Scripts/bugzilla-tool:
  23132. (bug_id_from_commit_message): Moved to
  23133. CommitMessage.parse_bug_id().
  23134. (commit_message_for_this_commit): Return a CommitMessage.
  23135. (ApplyPatchesFromBug.apply_patches): Use CommitMessage.message().
  23136. (LandPatchesFromBugs.build_and_commit): Ditto.
  23137. (CommitMessageForCurrentDiff.execute): Ditto.
  23138. (PostCommitsAsPatchesToBug.execute): Switched from
  23139. Git.commit_message_for_commit() to
  23140. Git.commit_message_for_local_commit(). Switched from
  23141. bug_id_from_commit_message() to CommitMessage.parse_bug_id().
  23142. * Scripts/modules/scm.py:
  23143. (first_non_empty_line_after_index): Added.
  23144. (CommitMessage.__init__): Added.
  23145. (CommitMessage.body): Added.
  23146. (CommitMessage.description): Added.
  23147. (CommitMessage.message): Added.
  23148. (CommitMessage.parse_bug_id): Added. Moved from
  23149. bug_id_from_commit_message() in bugzilla-tool.
  23150. (Git.commit_message_for_local_commit): Renamed from
  23151. commit_message_for_commit(). Return a CommitMessage.
  23152. 2009-07-15 Joseph Pecoraro <joepeck02@gmail.com>
  23153. Reviewed by David Kilzer.
  23154. bugzilla-tool/svn-apply can't handle patches made from a non-root directory
  23155. https://bugs.webkit.org/show_bug.cgi?id=26999
  23156. * Scripts/svn-create-patch:
  23157. 2009-07-15 Shinichiro Hamaji <hamaji@chromium.org>
  23158. Reviewed by David Levin.
  23159. Move cpplint.py to module directory
  23160. https://bugs.webkit.org/show_bug.cgi?id=27302
  23161. * Scripts/modules/cpplint.py: Renamed from WebKitTools/Scripts/cpplint.py.
  23162. * Scripts/modules/cpplint_unittest.py: Renamed from WebKitTools/Scripts/cpplint_unittest.py.
  23163. 2009-07-15 Simon Hausmann <simon.hausmann@nokia.com>
  23164. Reviewed by Adam Treat.
  23165. https://bugs.webkit.org/show_bug.cgi?id=27295
  23166. Re-implement QWebPage::shouldInterruptJavaScript to disable
  23167. js interruption and avoid showing a messagebox during Qt DRT
  23168. runs when script execution takes a bit longer.
  23169. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23170. (WebCore::WebPage::shouldInterruptJavaScript): Return false
  23171. in re-implemented slot.
  23172. 2009-07-15 Zoltan Horvath <hzoltan@inf.u-szeged.hu>
  23173. Reviewed by Jan Alonzo.
  23174. Fix the DumpRenderTree GTK+ build
  23175. https://bugs.webkit.org/show_bug.cgi?id=27290
  23176. Set USE_SYSTEM_MALLOC macro for the DumpRenderTree build to
  23177. disable using TCmalloc in DumpRenderTree.
  23178. * GNUmakefile.am:
  23179. 2009-07-14 Steve Falkenburg <sfalken@apple.com>
  23180. Reorganize JavaScriptCore headers into:
  23181. API: include/JavaScriptCore/
  23182. Private: include/private/JavaScriptCore/
  23183. Reviewed by Darin Adler.
  23184. * DumpRenderTree/win/DumpRenderTree.vcproj:
  23185. * DumpRenderTree/win/ImageDiff.vcproj:
  23186. 2009-07-14 Shinichiro Hamaji <hamaji@chromium.org>
  23187. Reviewed by David Levin.
  23188. WebKit needs a style linting tool
  23189. https://bugs.webkit.org/show_bug.cgi?id=25884
  23190. Modifies cpplint (http://google-styleguide.googlecode.com/svn/trunk/cpplint/)
  23191. based on WebKit's style guide.
  23192. * Scripts/cpplint.py: Added.
  23193. * Scripts/cpplint_unittest.py: Added.
  23194. 2009-07-14 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  23195. Reviewed by Simon Hausmann.
  23196. [Qt] DumpRenderTree no longer builds with Qt4.4
  23197. https://bugs.webkit.org/show_bug.cgi?id=27257
  23198. Flag Qt 4.5 dependency to allow building with Qt 4.4.
  23199. * DumpRenderTree/qt/main.cpp:
  23200. (main):
  23201. 2009-07-13 Brent Fulgham <bfulgham@webkit.org>
  23202. Reviewed by Adam Roben.
  23203. Add new configuration flag for redistributable Windows build.
  23204. https://bugs.webkit.org/show_bug.cgi=27087
  23205. * DumpRenderTree/config.h: Check for presence of WIN_CAIRO and
  23206. select appropriate configuration. Defaults to standard Apple build.
  23207. * DumpRenderTree/win/DumpRenderTree.vcproj: Add new WinCairo.vsprops
  23208. to Debug_Cairo and Release_Cairo targets.
  23209. 2009-07-13 Simon Hausmann <simon.hausmann@nokia.com>
  23210. Reviewed by Ariya Hidayat.
  23211. Always run the Qt DRT with the raster graphicssystem on X11, for
  23212. increased stability in the image based tests, in particular canvas.
  23213. * DumpRenderTree/qt/main.cpp:
  23214. (main):
  23215. 2009-07-13 Simon Hausmann <simon.hausmann@nokia.com>
  23216. Reviewed by Ariya Hidayat.
  23217. Fix test netscape plugin usage with the Qt DRT.
  23218. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23219. (WebCore::WebPage::WebPage): Enable plugins in the settings.
  23220. * Scripts/run-webkit-tests: Set the QT_WEBKIT_PLUGIN path to the correct build
  23221. directory to make Qt DRT find the test netscape plugin.
  23222. 2009-07-13 Simon Hausmann <hausmann@webkit.org>
  23223. Reviewed by Ariya Hidayat.
  23224. Make sure to disable the fixed contents size when resetting the page/view
  23225. state between test runs, to avoid side-effects.
  23226. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23227. (WebCore::DumpRenderTree::open): Call setFixedContentsSize() with an invalid
  23228. QSize to disable the fixed layout.
  23229. 2009-07-13 Simon Hausmann <hausmann@webkit.org>
  23230. Reviewed by Ariya Hidayat.
  23231. When creating new windows, don't forget to connect the new
  23232. page's main frame. This ensures that for example the layoutTestController
  23233. is also available there.
  23234. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23235. (WebCore::DumpRenderTree::createWindow):
  23236. 2009-07-13 Simon Hausmann <hausmann@webkit.org>
  23237. Reviewed by Ariya Hidayat.
  23238. Added support for LayoutTestController.setPrivateBrowsingEnabled.
  23239. * DumpRenderTree/qt/jsobjects.cpp:
  23240. (LayoutTestController::reset):
  23241. (LayoutTestController::setPrivateBrowsingEnabled):
  23242. * DumpRenderTree/qt/jsobjects.h:
  23243. 2009-07-13 Simon Hausmann <hausmann@webkit.org>
  23244. Reviewed by Ariya Hidayat.
  23245. Added support for database callbacks, storage quota setting,
  23246. and clearing of all databases.
  23247. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23248. (WebCore::DumpRenderTree::DumpRenderTree):
  23249. (WebCore::DumpRenderTree::dumpDatabaseQuota):
  23250. * DumpRenderTree/qt/DumpRenderTree.h:
  23251. * DumpRenderTree/qt/jsobjects.cpp:
  23252. (LayoutTestController::reset):
  23253. (LayoutTestController::setDatabaseQuota):
  23254. (LayoutTestController::clearAllDatabases):
  23255. * DumpRenderTree/qt/jsobjects.h:
  23256. (LayoutTestController::shouldDumpDatabaseCallbacks):
  23257. (LayoutTestController::dumpDatabaseCallbacks):
  23258. * DumpRenderTree/qt/main.cpp:
  23259. (main):
  23260. 2009-07-13 Simon Hausmann <hausmann@webkit.org>
  23261. Reviewed by Ariya Hidayat.
  23262. Setup the path in the Qt DRT for HTML 5 Databases, to enable some of
  23263. the storage layout tests.
  23264. * DumpRenderTree/qt/main.cpp:
  23265. (main):
  23266. 2009-07-13 Simon Hausmann <hausmann@webkit.org>
  23267. Reviewed by Ariya Hidayat.
  23268. Make the test output more robust by dumping only when the main
  23269. frame finishes loading, instead of when _any_ frame finishes.
  23270. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23271. (WebCore::DumpRenderTree::DumpRenderTree): Connect to the
  23272. main frame's loadFinished() signal instead of the page's one.
  23273. 2009-07-13 Simon Hausmann <hausmann@webkit.org>
  23274. Reviewed by Ariya Hidayat.
  23275. Implement the GCController DRT interface.
  23276. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23277. (WebCore::DumpRenderTree::DumpRenderTree): Allocate the GCController.
  23278. (WebCore::DumpRenderTree::initJSObjects): Register the interface with the JS engine.
  23279. * DumpRenderTree/qt/DumpRenderTree.h: Declare m_gcController.
  23280. * DumpRenderTree/qt/jsobjects.cpp: Implement GCController.
  23281. (GCController::GCController):
  23282. (GCController::collect):
  23283. (GCController::collectOnAlternateThread):
  23284. (GCController::getJSObjectCount):
  23285. * DumpRenderTree/qt/jsobjects.h: Declare GCController.
  23286. 2009-07-13 Simon Hausmann <hausmann@webkit.org>
  23287. Reviewed by Ariya Hidayat.
  23288. Implement the GCController DRT interface in the Qt DRT.
  23289. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23290. (WebCore::DumpRenderTree::DumpRenderTree): Allocate the GCController.
  23291. (WebCore::DumpRenderTree::initJSObjects): Register the interface with the JS engine.
  23292. * DumpRenderTree/qt/DumpRenderTree.h: Declare m_gcController.
  23293. * DumpRenderTree/qt/jsobjects.cpp: Implement GCController.
  23294. (GCController::GCController):
  23295. (GCController::collect):
  23296. (GCController::collectOnAlternateThread):
  23297. (GCController::getJSObjectCount):
  23298. * DumpRenderTree/qt/jsobjects.h: Declare GCController.
  23299. 2009-07-13 Jan Michael Alonzo <jmalonzo@webkit.org>
  23300. https://bugs.webkit.org/show_bug.cgi?id=26718 [Gtk] Add support for javascript windows for DRT
  23301. Reviewed by Gustavo Noronha and Xan Lopez.
  23302. Support running of tests that open and close JS windows automatically.
  23303. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  23304. (dumpFramesAsText):
  23305. (dumpBackForwardListForAllWebViews):
  23306. (resetWebViewToConsistentStateBeforeTesting):
  23307. (dump):
  23308. (runTest):
  23309. (webViewClose):
  23310. (createWebView):
  23311. (webViewCreate):
  23312. (main):
  23313. * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
  23314. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  23315. (LayoutTestController::windowCount):
  23316. (LayoutTestController::setPopupBlockingEnabled):
  23317. 2009-07-13 Shinichiro Hamaji <hamaji@chromium.org>
  23318. Reviewed by Maciej Stachowiak.
  23319. prepare-ChangeLog should decode HTML entities in short description
  23320. https://bugs.webkit.org/show_bug.cgi?id=27122
  23321. Decode the short description by adding a function which decodes HTML
  23322. entities. It can decode &, <, >, ", and ' . They may be sufficient
  23323. as the description seems to be encoded by xml_quote in
  23324. http://mxr.mozilla.org/bugzilla/source/Bugzilla/Util.pm
  23325. * Scripts/prepare-ChangeLog:
  23326. 2009-07-13 Drew Wilson <atwilson@google.com>
  23327. Reviewed by David Levin.
  23328. Add ENABLE(SHARED_WORKERS) flag and define SharedWorker APIs
  23329. https://bugs.webkit.org/show_bug.cgi?id=26932
  23330. Added support for --shared-workers (turned off by default)
  23331. * Scripts/build-webkit:
  23332. 2009-07-12 Dan Bernstein <mitz@apple.com>
  23333. Reviewed by Maciej Stachowiak.
  23334. https://bugs.webkit.org/show_bug.cgi?id=27196
  23335. Update check-for-global-initializers for the renaming for bidi.cpp to
  23336. RenderBlockLineLayout.cpp
  23337. * Scripts/check-for-global-initializers:
  23338. 2009-07-11 Simon Fraser <simon.fraser@apple.com>
  23339. Enable support for accelerated compositing and 3d transforms on Leopard.
  23340. <https://bugs.webkit.org/show_bug.cgi?id=20166>
  23341. <rdar://problem/6120614>
  23342. Reviewed by Oliver Hunt.
  23343. * Configurations/FeatureDefines.xcconfig:
  23344. * wtf/Platform.h:
  23345. 2009-07-10 David Kilzer <ddkilzer@apple.com>
  23346. <http://webkit.org/b/27173> svn-apply: Fix typo in git command used to find deleted files
  23347. Reviewed by Eric Seidel.
  23348. * Scripts/svn-apply:
  23349. (scmWillDeleteFile): Changed 'head' to 'HEAD'.
  23350. 2009-07-10 David Kilzer <ddkilzer@apple.com>
  23351. <http://webkit.org/b/27167> bugzilla-tool: hide help for unsupported commands
  23352. Reviewed by Eric Seidel.
  23353. When bugzilla-tool -h|--help is invoked in an svn working
  23354. directory, don't print help for commands that are only supported
  23355. on git working directories.
  23356. * Scripts/bugzilla-tool:
  23357. (Command.__init__): Added requires_local_commits argument with a
  23358. default of False. Set self.requires_local_commits attribute.
  23359. (PostCommitsAsPatchesToBug.execute): Removed
  23360. SCM.supports_local_commits() check since this is now handled by
  23361. BugzillaTool.main().
  23362. (PostCommitsAsPatchesToBug.__init__): Added
  23363. requires_local_commits=True argument to Command.__init__().
  23364. (BugzillaTool.commands_usage): Don't print help for commands if
  23365. they require local commits and the current SCM doesn't support
  23366. them.
  23367. (BugzillaTool.main): If command_object requires local commits
  23368. and the current SCM doesn't, exit with an error message.
  23369. 2009-07-10 David Kilzer <ddkilzer@apple.com>
  23370. <http://webkit.org/b/27117> bugzilla-tool: use Mac OS X keychain for authentication
  23371. Reviewed by Eric Seidel.
  23372. Try reading credentials from git config first, then keychain if
  23373. running on Mac OS X, else prompt at the command-line.
  23374. * Scripts/modules/bugzilla.py: Added "import platform".
  23375. (credentials_from_git): Added.
  23376. (credentials_from_keychain): Added.
  23377. (is_mac_os_x): Added.
  23378. (read_credentials): Added.
  23379. (Bugzilla.__init__): Moved instance attribute bug_server to a
  23380. static attribute named bug-server_url.
  23381. (Bugzilla.bug_server_host): Added. Extracted host name from
  23382. bug_server_url.
  23383. (Bugzilla.bug_server_regex): Updated to be created using
  23384. bug_server_host.
  23385. (Bugzilla.bug_server_url): Renamed from bug_server.
  23386. (Bugzilla.bug_url_for_bug_id): Updated for renaming of
  23387. bug_server to bug_server_url.
  23388. (Bugzilla.attachment_url_for_id): Ditto.
  23389. (Bugzilla.fetch_bug_ids_from_commit_queue): Ditto.
  23390. (Bugzilla.authenticate): Ditto. Updated to use
  23391. read_credentials().
  23392. (Bugzilla.add_patch_to_bug): Ditto.
  23393. 2009-07-10 David Kilzer <ddkilzer@apple.com>
  23394. <http://webkit.org/b/27115> bugzilla-tool: extract duplicate logging methods into a module
  23395. Reviewed by Adam Roben.
  23396. * Scripts/bugzilla-tool: Removed error() and log() methods and
  23397. added import of new logging module.
  23398. * Scripts/modules/bugzilla.py: Ditto. Removed "import sys".
  23399. * Scripts/modules/scm.py: Ditto.
  23400. * Scripts/modules/logging.py: Added.
  23401. (log): Added.
  23402. (error): Added. Prefix error messages with "ERROR: ".
  23403. 2009-07-10 Adam Roben <aroben@apple.com>
  23404. Sort all our Xcode projects
  23405. Accomplished using sort-Xcode-project-file.
  23406. Requested by Dave Kilzer.
  23407. * DrawTest/DrawTest.xcodeproj/project.pbxproj:
  23408. * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
  23409. * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
  23410. 2009-07-10 Adam Roben <aroben@apple.com>
  23411. Print prepare-ChangeLog's reminders to STDERR so they don't end up in
  23412. the diff output
  23413. Fixes REGRESSION (r45647): prepare-ChangeLog -d puts non-diff lines
  23414. into the diff
  23415. <https://bugs.webkit.org/show_bug.cgi?id=27150>
  23416. Reviewed by Maciej Stachowiak.
  23417. * Scripts/prepare-ChangeLog:
  23418. 2009-07-08 Adam Roben <aroben@apple.com>
  23419. Use case-insensitive comparisons when sorting Xcode project files
  23420. This matches the sorting used in Xcode's files list.
  23421. Fixes Bug 27079: sort-Xcode-project-file should sort
  23422. case-insensitively, to match Xcode's files list
  23423. <https://bugs.webkit.org/show_bug.cgi?id=27079>
  23424. Reviewed by Dave Kilzer.
  23425. * Scripts/sort-Xcode-project-file:
  23426. (sortChildrenByFileName):
  23427. (sortFilesByFileName):
  23428. Lowercase the strings before comparing them so that the comparison
  23429. will be case-insensitive.
  23430. 2009-07-08 Simon Hausmann <hausmann@webkit.org>
  23431. Reviewed by Holger Freyther.
  23432. https://bugs.webkit.org/show_bug.cgi?id=27109
  23433. Fix side-effects in the Qt DRT with tests using application fonts.
  23434. Detect if a test used application fonts and re-initialize the fontconfig
  23435. application fontset accordingly.
  23436. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23437. (WebCore::DumpRenderTree::open): call initializeFonts and remove all application fonts
  23438. after running a testcase.
  23439. (WebCore::DumpRenderTree::initializeFonts): Moved fontconfig initialization code
  23440. here from main.
  23441. * DumpRenderTree/qt/DumpRenderTree.h: Declare initializeFonts.
  23442. * DumpRenderTree/qt/main.cpp:
  23443. (main): Moved fontconfig initialization code to DRT::initializeFonts.
  23444. 2009-07-10 Antonio Gomes <antonio.gomes@openbossa.org>
  23445. Reviewed by Simon Hausmann.
  23446. [QT] [ARM] Add pkg-config entry for FontConfig on DRT.pro
  23447. https://bugs.webkit.org/show_bug.cgi?id=26990
  23448. Missing pkg-config entry for FontConfig in DRT.pro causes some compilers to
  23449. not link fine against FontConfig bits.
  23450. * DumpRenderTree/qt/DumpRenderTree.pro:
  23451. 2009-07-09 Drew Wilson <atwilson@google.com>
  23452. Reviewed by Alexey Proskuryakov.
  23453. https://bugs.webkit.org/show_bug.cgi?id=26903
  23454. Turned on CHANNEL_MESSAGING by default because the MessageChannel API
  23455. can now be implemented for Web Workers and is reasonably stable.
  23456. * Scripts/build-webkit:
  23457. 2009-07-09 David Kilzer <ddkilzer@apple.com>
  23458. <http://webkit.org/b/27114> bugzilla-tool: Parse short bug URL from commit log messages
  23459. Reviewed by Adam Roben.
  23460. * Scripts/bugzilla-tool:
  23461. (bug_id_from_commit_message): Check for the short bug URL before
  23462. checking for the longer bugs.webkit.org URL.
  23463. 2009-07-08 David Kilzer <ddkilzer@apple.com>
  23464. Bug 27062: bugzilla-tool: post-commits should read bug id from commit log and actually work
  23465. <https://bugs.webkit.org/show_bug.cgi?id=27062>
  23466. Reviewed by Eric Seidel.
  23467. Removed the required BUGID argument from the "post-commits"
  23468. command and replaced it with a -b|--bug-id switch or parsing the
  23469. commit log message for the bug URL. Fixed a bug in the
  23470. "post-commits" that would ignore the COMMITISH used and post a
  23471. patch of local changes against HEAD. Added --no-commit switch
  23472. to disable using the bulk of the ChangeLog entry as the comment
  23473. for the new patch.
  23474. * Scripts/bugzilla-tool:
  23475. (bug_id_from_commit_message): Added. Returns a bug id from the
  23476. commit log message, thus enforcing the need for a bug URL in the
  23477. message.
  23478. (PostCommitsAsPatchesToBug.__init__): Updated help description
  23479. to match new behavior of pulling bug ids from commit log
  23480. messages instead of from the command line. Added -b|--bug-id
  23481. switch and --no-comment switch.
  23482. (PostCommitsAsPatchesToBug.execute): Updated to use
  23483. bug_id_from_commit_message() to pull bug ids from commit log
  23484. messages. Also switched from SCM.create_patch() to use
  23485. SCM.create_patch_from_local_commit() to fix a bug where local
  23486. repository changes were posted as a patch instead of the
  23487. specific COMMITISH. Fall back to -b|--bug-id if no URL is found
  23488. in the commit log message. Don't specify a comment for the
  23489. patch if --no-comment is used. Set cherry_pick argument to True
  23490. for Git.commit_ids_from_range_arguments() since we don't want
  23491. implicit commit range behavior for this command.
  23492. * Scripts/modules/bugzilla.py: Import datetime module.
  23493. (timestamp): Added. Returns a timestamp in the form of
  23494. "YYYYMMDDhhmmss".
  23495. (Bugzilla.bug_server_regex): Added static attribute.
  23496. (Bugzilla.add_patch_to_bug): Construct a more meaningful patch
  23497. file name using the bug_id and timestamp().
  23498. * Scripts/modules/scm.py:
  23499. (SCM.create_patch_from_local_commit): Added.
  23500. (Git.create_patch_from_local_commit): Added. Runs "git diff" to
  23501. return a patch for the given commit_id.
  23502. 2009-07-08 Maciej Stachowiak <mjs@apple.com>
  23503. Reviewed by Mark Rowe.
  23504. Make prepare-ChangeLog less shouty
  23505. https://bugs.webkit.org/show_bug.cgi?id=27098
  23506. * Scripts/prepare-ChangeLog:
  23507. 2009-07-08 David Kilzer <ddkilzer@apple.com>
  23508. Bug 27083: bugzilla.py: Clean up bug_server use
  23509. <https://bugs.webkit.org/show_bug.cgi?id=27083>
  23510. Reviewed by Darin Adler.
  23511. * Scripts/modules/bugzilla.py:
  23512. (Bugzilla.fetch_bug_ids_from_commit_queue): Use bug_server
  23513. instead of hard-coding the URL.
  23514. (Bugzilla.authenticate): Remove extra '/' before URL path.
  23515. (Bugzilla.add_patch_to_bug): Ditto.
  23516. 2009-07-08 Brent Fulgham <bfulgham@webkit.org>
  23517. Build fix for Windows Cairo.
  23518. Cairo build was incorrectly #including the PixelDumpSupportCG.h
  23519. instead of PixelDumpSupportCairo.h
  23520. * DumpRenderTree/win/PixelDumpSupportWin.cpp: Correct #include
  23521. 2009-07-08 David Faure <faure@kde.org>
  23522. Reviewed by Ariya Hidayat.
  23523. Small documentation improvement for build-webkit --help
  23524. * Scripts/build-webkit: mention --debug option
  23525. 2009-07-07 Brady Eidson <beidson@apple.com>
  23526. Tiger build fix, work around missing NSString API.
  23527. * DumpRenderTree/mac/DumpRenderTree.mm:
  23528. (dumpHistoryItem):
  23529. 2009-07-07 Brady Eidson <beidson@apple.com>
  23530. Reviewed by Mark Rowe.
  23531. https://bugs.webkit.org/show_bug.cgi?id=27049 - In dumpBackForwardList() mode, DRT should normalize file urls.
  23532. Make the dump of a history item agnostic to the layout of filesystem on the testing machine.
  23533. * DumpRenderTree/mac/DumpRenderTree.mm:
  23534. (dumpHistoryItem):
  23535. * DumpRenderTree/win/DumpRenderTree.cpp:
  23536. (dumpHistoryItem):
  23537. 2009-07-07 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  23538. Rubber-stamped by Simon Hausmann.
  23539. Correct git url of the Qt test-fonts.
  23540. * DumpRenderTree/qt/main.cpp:
  23541. (main):
  23542. 2009-07-07 Simon Hausmann <hausmann@webkit.org>
  23543. Reviewed by Holger Freyther.
  23544. Clear the main frame's name between loading pages, like in r36652. This
  23545. reduces the side-effects between test cases.
  23546. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23547. (WebCore::DumpRenderTree::open):
  23548. 2009-07-06 Simon Hausmann <hausmann@webkit.org>
  23549. Reviewed by Holger Freyther.
  23550. Fix various layout tests with Qt's DRT.
  23551. Remember to set the focus on the web page before
  23552. loading.
  23553. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23554. (WebCore::DumpRenderTree::open):
  23555. 2009-07-07 Simon Hausmann <hausmann@webkit.org>
  23556. Reviewed by Tor Arne Vestbø and Holger Freyther.
  23557. Fix timeout timer handling in Qt DRT.
  23558. Use QBasicTimer instead of startTimer/killTimer, to fix the
  23559. problem that starting the timeout timer did not stop a
  23560. previously started timer, causing multiple emissions of timeout.
  23561. The timerEvent() implementation now also checks the timer id, to
  23562. protect against double timeouts.
  23563. * DumpRenderTree/qt/jsobjects.cpp:
  23564. (LayoutTestController::LayoutTestController):
  23565. (LayoutTestController::reset):
  23566. (LayoutTestController::waitUntilDone):
  23567. (LayoutTestController::notifyDone):
  23568. (LayoutTestController::timerEvent):
  23569. * DumpRenderTree/qt/jsobjects.h:
  23570. 2009-07-06 Eric Seidel <eric@webkit.org>
  23571. Reviewed by Maciej Stachowiak.
  23572. bugzilla-tool fails to close bugs with bugzilla 3.0
  23573. https://bugs.webkit.org/show_bug.cgi?id=27008
  23574. Update bugzilla.py to match changes in the bug page "changeform"
  23575. Update scm.py to add bug_ids to attachments to make error reporting nicer.
  23576. * Scripts/modules/bugzilla.py:
  23577. * Scripts/modules/scm.py:
  23578. 2009-07-03 Maciej Stachowiak <mjs@apple.com>
  23579. Reviewed by Eric Seidel.
  23580. bugzilla-tool forgot how to obsolete patches
  23581. https://bugs.webkit.org/show_bug.cgi?id=26951
  23582. * Scripts/modules/bugzilla.py:
  23583. 2009-07-02 Brent Fulgham <bfulgham@webkit.org>
  23584. Unreviewed build fix (Cairo this time) for DumpRenderTree.
  23585. Put Cairo code back in, but use original include order
  23586. for the CG stuff to avoid compile issues.
  23587. * DumpRenderTree/win/PixelDumpSupportWin.cpp:
  23588. (createBitmapContextFromWebView):
  23589. 2009-07-02 Eric Seidel <eric@webkit.org>
  23590. Correct blatant typo (missing []), no review.
  23591. * Scripts/modules/scm.py:
  23592. 2009-07-02 Brent Fulgham <bfulgham@webkit.org>
  23593. Windows build fix, no review.
  23594. Reverting PixelDumpSupportWin.cpp change to avoid strange
  23595. error on the build-bot.
  23596. * DumpRenderTree/win/PixelDumpSupportWin.cpp:
  23597. (createBitmapContextFromWebView):
  23598. 2009-07-02 Brent Fulgham <bfulgham@webkit.org>
  23599. Build fix, no review.
  23600. * DumpRenderTree/config.h:
  23601. 2009-07-02 Eric Seidel <eric@webkit.org>
  23602. Reviewed by David Levin.
  23603. bugzilla-tool needs to handle login failure
  23604. https://bugs.webkit.org/show_bug.cgi?id=26913
  23605. We now exit(1) on login failure.
  23606. * Scripts/modules/bugzilla.py:
  23607. 2009-06-30 Brent Fulgham <bfulgham@webkit.org>
  23608. Reviewed by Adam Roben.
  23609. Add build support for a Windows Cairo version of
  23610. DumpRenderTree. Share as much logic between the
  23611. CG and Cairo builds as possible.
  23612. https://bugs.webkit.org/show_bug.cgi?id=26457
  23613. * DumpRenderTree/PixelDumpSupport.cpp: Added.
  23614. (dumpWebViewAsPixelsAndCompareWithExpected): Moved common logic
  23615. from CG-specific file.
  23616. (printPNG): Moved common logic from CG-specific file.
  23617. * DumpRenderTree/PixelDumpSupport.h: Add declaration for new
  23618. common printPNG function.
  23619. * DumpRenderTree/cairo: Added.
  23620. * DumpRenderTree/cairo/PixelDumpSupportCairo.cpp: Added.
  23621. Implement cairo-specific logic for dealing with Cairo surfaces.
  23622. (writeFunction):
  23623. (printPNG): Cairo-specific PNG handling logic.
  23624. (computeMD5HashStringForBitmapContext): New Cairo routine using
  23625. the generic BitmapContext signature.
  23626. (dumpBitmap): New function containing Cairo-specific portions of
  23627. the dumping routine.
  23628. * DumpRenderTree/cairo/PixelDumpSupportCairo.h: Added.
  23629. Provide Cairo version of the BitmapContext structure so that
  23630. dumping routines can work on an abstract type.
  23631. (BitmapContext::createByAdoptingBitmapAndContext):
  23632. (BitmapContext::~BitmapContext):
  23633. (BitmapContext::cairoContext):
  23634. (BitmapContext::BitmapContext):
  23635. * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
  23636. (printPNG): CG-specific PNG handling logic.
  23637. (computeMD5HashStringForBitmapContext): Revised to use generic
  23638. BitmapContext signature.
  23639. (dumpBitmap): New function containing CG-specific portions of
  23640. the dumping routine.
  23641. * DumpRenderTree/cg/PixelDumpSupportCG.h: Add new signatures.
  23642. * DumpRenderTree/win/DumpRenderTree.cpp: Disable CFNetwork logic
  23643. when building the non-CFNetwork version.
  23644. (main):
  23645. * DumpRenderTree/win/DumpRenderTree.vcproj:
  23646. * DumpRenderTree/win/PixelDumpSupportWin.cpp:
  23647. (createBitmapContextFromWebView): Provide parallel Cairo implementation
  23648. of CG bitmap/context setup.
  23649. 2009-07-02 Eric Seidel <eric@webkit.org>
  23650. No review, just adding Antti as a reviewer.
  23651. * Scripts/modules/bugzilla.py:
  23652. 2009-07-02 Antonio Gomes <antonio.gomes@openbossa.org>
  23653. Reviewed by Simon Hausmann.
  23654. https://bugs.webkit.org/show_bug.cgi?id=26896
  23655. [Qt] Set DRT's default fontsize to 13.
  23656. * DumpRenderTree/qt/DumpRenderTree.cpp:
  23657. (WebCore::WebPage::WebPage):
  23658. 2009-07-01 Eric Seidel <eric@webkit.org>
  23659. Reviewed by Adam Barth.
  23660. bugzilla-tool fails for SVN users
  23661. https://bugs.webkit.org/show_bug.cgi?id=26914
  23662. To fix this I moved svn from -F - to using -m
  23663. In order for -m to work I had to move us off of shell=True
  23664. To move off of shell=True all call sites for run_command
  23665. which take args, need to pass their args as an list instead of a string.
  23666. In order for the final bug update to work correctly, I had to
  23667. abstract the way that we parse out revision numbers from the commit text.
  23668. * Scripts/bugzilla-tool:
  23669. * Scripts/modules/scm.py:
  23670. 2009-07-01 Eric Seidel <eric@webkit.org>
  23671. Reviewed by Maciej Stachowiak.
  23672. prepare-ChangeLog should have a --bug= argument and use it for url autofill
  23673. https://bugs.webkit.org/show_bug.cgi?id=26383
  23674. prepare-ChangeLog now knows how to grab the bug title from bugs.webkit.org
  23675. I also added a bit more template text in an effort to get better ChangeLogs
  23676. from casual contributers.
  23677. * Scripts/prepare-ChangeLog:
  23678. 2009-07-01 Eric Seidel <eric@webkit.org>
  23679. Reviewed by Adam Roben.
  23680. prepare-ChangeLog should fail when EMAIL_ADDRESS or REAL_NAME are missing:
  23681. https://bugs.webkit.org/show_bug.cgi?id=26692
  23682. I also made prepare-ChangeLog sanity-check names and email addresses a little.
  23683. Names must contain a space, and email addresses must contain '@'
  23684. Also "fixed" $email_address to $emailAddress. This script uses mixed variable name styles.
  23685. * Scripts/prepare-ChangeLog:
  23686. 2009-07-01 Chris Fleizach <cfleizach@apple.com>
  23687. Reviewed by Beth Dakin.
  23688. Bug 26900: AX: Manual spell check with Command-; does not bring up suggestions
  23689. https://bugs.webkit.org/show_bug.cgi?id=26900
  23690. Expose the ability to get the click point of an element through accessibility.
  23691. * DumpRenderTree/AccessibilityUIElement.cpp:
  23692. (getClickPointXCallback):
  23693. (getClickPointYCallback):
  23694. (AccessibilityUIElement::getJSClass):
  23695. * DumpRenderTree/AccessibilityUIElement.h:
  23696. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  23697. (AccessibilityUIElement::clickPointX):
  23698. (AccessibilityUIElement::clickPointY):
  23699. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  23700. (AccessibilityUIElement::clickPointX):
  23701. (AccessibilityUIElement::clickPointY):
  23702. 2009-07-01 Mark Rowe <mrowe@apple.com>
  23703. Reviewed by Simon Fraser.
  23704. Change how WebKitNightlyEnabler.dylib lies about Safari's identity to LaunchServices.
  23705. This makes WebKit.app behave as expected when set as the default web browser on a wider
  23706. range of OS versions.
  23707. * WebKitLauncher/WebKitNightlyEnabler.m:
  23708. (poseAsWebKitApp):
  23709. (enableWebKitNightlyBehaviour):
  23710. 2009-07-01 Mark Rowe <mrowe@apple.com>
  23711. Reviewed by Simon Fraser.
  23712. Shuffle some code around in preparation for a change to how poseAsWebKitApp works.
  23713. * WebKitLauncher/WebKitNightlyEnabler.m:
  23714. (systemVersion):
  23715. (webKitLauncherBundle):
  23716. (insideSafari4OnTigerTrampoline):
  23717. 2009-06-30 Xan Lopez <xlopez@igalia.com>
  23718. Reviewed by Jan Alonzo.
  23719. https://bugs.webkit.org/show_bug.cgi?id=26877
  23720. [GTK] DRT fixes to pass new plugin test
  23721. Silence compiler warnings.
  23722. Newer GCC don't like using or returning a static string where a
  23723. 'char*' is expected. Ideally we'd change the function signatures
  23724. to return or take 'const char*' I suppose, but since we can't do
  23725. that just cast the strings to 'char*'.
  23726. * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
  23727. (webkit_test_plugin_get_value):
  23728. 2009-06-30 Xan Lopez <xlopez@igalia.com>
  23729. Reviewed by Jan Alonzo.
  23730. https://bugs.webkit.org/show_bug.cgi?id=26877
  23731. [GTK] DRT fixes to pass new plugin test
  23732. Use the common pluginLog function instead of a local copy.
  23733. * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
  23734. (webkit_test_plugin_new_instance):
  23735. (webkit_test_plugin_destroy_instance):
  23736. (webkit_test_plugin_set_window):
  23737. (webkit_test_plugin_handle_event):
  23738. 2009-06-30 Xan Lopez <xlopez@igalia.com>
  23739. Reviewed by Jan Alonzo.
  23740. https://bugs.webkit.org/show_bug.cgi?id=26877
  23741. [GTK] DRT fixes to pass new plugin test
  23742. Modify our DRT as done in bug #15457 to log logSrc as src in order
  23743. to pass test plugins/netscape-plugin-map-data-to-src.html.
  23744. * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
  23745. (webkit_test_plugin_new_instance):
  23746. 2009-06-30 Adrien Nader <camaradetux@gmail.com>
  23747. Reviewed by Jan Alonzo.
  23748. [GTK] GtkLauncher depends on gtk+2-2.15 because of gtk_orientable_set_orientation()
  23749. https://bugs.webkit.org/show_bug.cgi?id=26835
  23750. * GtkLauncher/main.c:
  23751. (create_toolbar):
  23752. 2009-06-30 Eric Seidel <eric@webkit.org>
  23753. Typo fix only, no review.
  23754. Fix typo causing failure during land-diff
  23755. * Scripts/bugzilla-tool:
  23756. 2009-06-30 Simon Fraser <simon.fraser@apple.com>
  23757. Reviewed by Dan Bernstein.
  23758. Fix drawing of view background in pixel snapshots when using compositing.
  23759. We still need to call -displayIfNeeded to ensure that the NSView drawing
  23760. has happened.
  23761. * DumpRenderTree/mac/PixelDumpSupportMac.mm:
  23762. (createBitmapContextFromWebView):
  23763. 2009-06-30 Simon Fraser <simon.fraser@apple.com>
  23764. Reviewed by Mark Rowe.
  23765. createBitmapContextFromWebView() incorrectly used #ifdef BUILDING_ON_LEOPARD,
  23766. and thus failed on SnowLeopard.
  23767. * DumpRenderTree/mac/PixelDumpSupportMac.mm:
  23768. (createBitmapContextFromWebView):
  23769. 2009-06-30 Eric Seidel <eric@webkit.org>
  23770. Reviewed by Nikolas Zimmermann.
  23771. Make bugzilla tool print a message explaining how to get help on failure:
  23772. https://bugs.webkit.org/show_bug.cgi?id=26861
  23773. % bugzilla-tool
  23774. Usage: bugzilla-tool [options] command [command-options] [command-arguments]
  23775. bugzilla-tool: error: No command specified
  23776. Type 'bugzilla-tool --help' to see usage.
  23777. * Scripts/bugzilla-tool:
  23778. 2009-06-30 Eric Seidel <eric@webkit.org>
  23779. Reviewed by Maciej Stachowiak.
  23780. Include a built copy of BeautifulSoup 3.1.0.1 so that
  23781. bugzilla-tool users do not need to install it manually.
  23782. https://bugs.webkit.org/show_bug.cgi?id=26833
  23783. BeautifulSoup is BSD-licensed (thus WebKit compatible) and available from:
  23784. http://www.crummy.com/software/BeautifulSoup
  23785. * Scripts/bugzilla-tool: fixed a typo in a log message.
  23786. * Scripts/modules/BeautifulSoup.py: Added.
  23787. * Scripts/modules/bugzilla.py:
  23788. 2009-06-30 Eric Seidel <eric@webkit.org>
  23789. Reviewed by Simon Hausmann.
  23790. Fix our create_patch handling to not
  23791. hang when creating large patches.
  23792. https://bugs.webkit.org/show_bug.cgi?id=26834
  23793. We're now using StringIO to make an in-memory buffer for the patch
  23794. instead of piping from the patch command directly to the upload.
  23795. The previous hang was caused by calling wait() when the process had already
  23796. filed the stdout buffer.
  23797. * Scripts/modules/scm.py:
  23798. 2009-06-29 Sam Weinig <sam@webkit.org>
  23799. Reviewed by Mark Rowe.
  23800. Remove more unused scons support.
  23801. * Scripts/build-jsc:
  23802. * Scripts/build-webkit:
  23803. * Scripts/webkitdirs.pm:
  23804. 2009-06-26 Eric Seidel <eric@webkit.org>
  23805. Reviewed by David Levin.
  23806. Rename land-and-update to land-diff and make it awesome.
  23807. https://bugs.webkit.org/show_bug.cgi?id=26734
  23808. Renamed land-and-update to land-diff
  23809. Made the BUGID argument optional.
  23810. Added optional support for building and testing before landing.
  23811. land-diff [options] [BUGID] Lands the current working directory diff and updates the bug if provided.
  23812. Options:
  23813. -r REVIEWER, --reviewer=REVIEWER
  23814. Update ChangeLogs to say Reviewed by REVIEWER.
  23815. --no-close Leave bug open after landing.
  23816. --no-build Commit without building first, implies --no-test.
  23817. --no-test Commit without running run-webkit-tests.
  23818. * Scripts/bugzilla-tool:
  23819. 2009-06-28 Jan Michael Alonzo <jmalonzo@webkit.org>
  23820. Gtk build fix - include stdarg.h for va_start/va_end.
  23821. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  23822. 2009-06-28 John Abd-El-Malek <jam@chromium.org>
  23823. https://bugs.webkit.org/show_bug.cgi?id=15457
  23824. Modify NPAPI test plugin to verify that "src" paramater is added when
  23825. it's missing but "data" is present.
  23826. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
  23827. (pluginLog):
  23828. * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
  23829. * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
  23830. (NPP_New):
  23831. (NPP_Destroy):
  23832. (NPP_SetWindow):
  23833. (handleEventCarbon):
  23834. (handleEventCocoa):
  23835. * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
  23836. (NPP_New):
  23837. 2009-06-27 Emilio Pozuelo Monfort <pochu27@gmail.com>
  23838. Reviewed by Jan Alonzo.
  23839. [GTK] Don't use deprecated GTK+ symbols.
  23840. https://bugs.webkit.org/show_bug.cgi?id=26583
  23841. * GtkLauncher/main.c:
  23842. (create_toolbar):
  23843. 2009-06-26 Adam Barth <abarth@webkit.org>
  23844. Reviewed by Eric Seidel.
  23845. Make SVN work (again?).
  23846. * Scripts/modules/scm.py:
  23847. 2009-06-26 Chris Fleizach <cfleizach@apple.com>
  23848. Reviewed by Oliver Hunt.
  23849. Add ability to query isEnabled
  23850. * DumpRenderTree/AccessibilityUIElement.cpp:
  23851. (getIsEnabledCallback):
  23852. (AccessibilityUIElement::getJSClass):
  23853. * DumpRenderTree/AccessibilityUIElement.h:
  23854. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  23855. (AccessibilityUIElement::isEnabled):
  23856. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  23857. (AccessibilityUIElement::isEnabled):
  23858. 2009-06-26 Brady Eidson <beidson@apple.com>
  23859. Reviewed by Sam Weinig
  23860. <rdar://problem/6961578> REGRESSION (r43511): Opening .fdf files from Acrobat Professional fails
  23861. Add a dumpResourceResponseMIMETypes() mode so the ResourceLoadDelegate will dump the mime type from
  23862. the NSURLResponse. Needed for the test for this bug fix.
  23863. * DumpRenderTree/LayoutTestController.cpp:
  23864. (LayoutTestController::LayoutTestController):
  23865. (dumpResourceResponseMIMETypesCallback):
  23866. (LayoutTestController::staticFunctions):
  23867. * DumpRenderTree/LayoutTestController.h:
  23868. (LayoutTestController::dumpResourceResponseMIMETypes):
  23869. (LayoutTestController::setDumpResourceResponseMIMETypes):
  23870. * DumpRenderTree/mac/ResourceLoadDelegate.mm:
  23871. (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
  23872. 2009-06-26 David Kilzer <ddkilzer@apple.com>
  23873. Update build-dumprendertree to use buildXCodeProject()
  23874. Reviewed by Adam Roben.
  23875. * Scripts/build-dumprendertree: Updated to use
  23876. buildXCodeProject() when building for isAppleMacWebKit(). This
  23877. provides additional command-line switch parsing for free. Also
  23878. added --clean and --help switches. Updated copyright.
  23879. 2009-06-26 Eric Seidel <eric@webkit.org>
  23880. Reviewed by Tor Arne Vestbø.
  23881. Remove non-sense --update option to land-patches
  23882. and make land-patches update before every patch application.
  23883. This makes it slightly less likely that multi-patch landings will fail.
  23884. Also updated git diff command to include staged modifications.
  23885. * Scripts/bugzilla-tool:
  23886. * Scripts/modules/scm.py:
  23887. 2009-06-25 Eric Seidel <eric@webkit.org>
  23888. Reviewed by Jan Alonzo.
  23889. Fix obsolete_attachment to work when passed a comment.
  23890. https://bugs.webkit.org/show_bug.cgi?id=26745
  23891. * Scripts/modules/bugzilla.py:
  23892. 2009-06-25 Jan Michael Alonzo <jmalonzo@webkit.org>
  23893. Reviewed by Mark Rowe.
  23894. bugzilla-tool apply-patch throws exception in Linux
  23895. https://bugs.webkit.org/show_bug.cgi?id=26738
  23896. HEAD is case-sensitive in Linux. Convert uses of head to HEAD in
  23897. the scm module.
  23898. * Scripts/modules/scm.py:
  23899. 2009-06-25 Eric Seidel <eric@webkit.org>
  23900. Reviewed by Jan Alonzo.
  23901. bugzilla-tool post-diff needs to obsolete old patches before posting
  23902. https://bugs.webkit.org/show_bug.cgi?id=26740
  23903. I've also added a --no-obsolete to disable this behavior.
  23904. I also finally updated the bug page parsing to use XML. So much less code!
  23905. * Scripts/bugzilla-tool:
  23906. * Scripts/modules/bugzilla.py:
  23907. 2009-06-25 Eric Seidel <eric@webkit.org>
  23908. Reviewed by Mark Rowe.
  23909. Call WebKitTools/Scripts scripts by their absolute paths
  23910. https://bugs.webkit.org/show_bug.cgi?id=26704
  23911. bugzilla-tool used to use whatever build-webkit was in your path.
  23912. That could end up building the wrong copy of WebKit.
  23913. * Scripts/bugzilla-tool:
  23914. * Scripts/modules/scm.py:
  23915. 2009-06-25 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  23916. Reviewed by Dave Levin.
  23917. Use unicode() instead of str when reading from bugzilla.
  23918. Also add Simon Fraser as a reviewer.
  23919. https://bugs.webkit.org/show_bug.cgi?id=26719
  23920. * Scripts/modules/bugzilla.py:
  23921. 2009-06-25 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  23922. Reviewed by Simon Hausmann.
  23923. Use Q_ASSERT in Qt's DumpRenderTree instead of JSC's ASSERT
  23924. The WTFReportAssertionFailure function in JSC is not exported when
  23925. building QtWebKit in both debug and release on Mac, so DRT fails to
  23926. link.
  23927. We can revert this patch once the Qt port builds JSC as a separate
  23928. library, and we add the proper export macros to Assertions.cpp
  23929. * DumpRenderTree/qt/WorkQueue.cpp:
  23930. (WorkQueue::queue):
  23931. (WorkQueue::dequeue):
  23932. 2009-06-25 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  23933. Reviewed by Jan Alonzo.
  23934. bugzilla-tool: Add Simon Hausmann as reviewer
  23935. * Scripts/modules/bugzilla.py:
  23936. 2009-06-24 Eric Seidel <eric@webkit.org>
  23937. Reviewed by Dave Levin.
  23938. Support local commits during apply-patches
  23939. and let land-patches take multiple bug ids.
  23940. https://bugs.webkit.org/show_bug.cgi?id=26703
  23941. I also restructured parts of land-patches into
  23942. class methods and static methods in preparation
  23943. for future code sharing with other commands.
  23944. * Scripts/bugzilla-tool:
  23945. * Scripts/modules/bugzilla.py:
  23946. * Scripts/modules/scm.py:
  23947. 2009-06-25 Eric Seidel <eric@webkit.org>
  23948. Reviewed by Tor Arne Vestbø.
  23949. Make svn-apply work with Git too
  23950. https://bugs.webkit.org/show_bug.cgi?id=26299
  23951. Add an --force option to svn-apply and otherwise make svn-apply
  23952. exit non-zero when patch application fails.
  23953. https://bugs.webkit.org/show_bug.cgi?id=26300
  23954. I did not update svn-unapply, because it makes no sense in a Git world.
  23955. You don't roll in and out patch files. You make commits and deal with those.
  23956. Git users can just git reset --hard to get the same functionality.
  23957. * Scripts/svn-apply:
  23958. 2009-06-25 Eric Seidel <eric@webkit.org>
  23959. Reviewed by Tor Arne Vestbø.
  23960. Remove use of os.system to fix reviewers with unicode chars in their names
  23961. https://bugs.webkit.org/show_bug.cgi?id=26713
  23962. Also change to latin1 encoding of ø to make python happy.
  23963. * Scripts/modules/bugzilla.py:
  23964. * Scripts/modules/scm.py:
  23965. 2009-06-25 Eric Seidel <eric@webkit.org>
  23966. Reviewed by Tor Arne Vestbø.
  23967. Add Adam Roben and Tor Arne Vestbø to the reviewers list.
  23968. * Scripts/modules/bugzilla.py:
  23969. 2009-06-24 Chris Fleizach <cfleizach@apple.com>
  23970. Windows build fix.
  23971. * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
  23972. (AccessibilityUIElement::language):
  23973. 2009-06-24 Chris Fleizach <cfleizach@apple.com>
  23974. Reviewed by Oliver Hunt.
  23975. Bug 26668: AX: need a way to retrieve the language for an element
  23976. Support ability to retrieve AXLanguage for testing
  23977. * DumpRenderTree/AccessibilityUIElement.cpp:
  23978. (getLanguageCallback):
  23979. (AccessibilityUIElement::getJSClass):
  23980. * DumpRenderTree/AccessibilityUIElement.h:
  23981. * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
  23982. (AccessibilityUIElement::language):
  23983. 2009-06-24 Eric Seidel <eric@webkit.org>
  23984. Reviewed by Maciej Stachowiak.
  23985. Spell Maciej's name right and add Brady Eidson.
  23986. * Scripts/modules/bugzilla.py:
  23987. 2009-06-23 Eric Seidel <eric@webkit.org>
  23988. Reviewed by Dave Levin.
  23989. Fix missing comment message during land-patches and SVN.commit_with_message respecting --dry-run
  23990. https://bugs.webkit.org/show_bug.cgi?id=26669
  23991. * Scripts/bugzilla-tool:
  23992. * Scripts/modules/scm.py:
  23993. 2009-06-23 Takeshi Yoshino <tyoshino@google.com>
  23994. Reviewed by Mark Rowe.
  23995. Bug 26537: Builds from command-line fail if custom build product directory is set and ~/Library/Preferences/xcodebuild.plist exists
  23996. https://bugs.webkit.org/show_bug.cgi?id=26537
  23997. Let determineBaseProductDir subroutine remove
  23998. ~/Library/Preferences/xcodebuild.plist. It can prevent xcodebuild from
  23999. respecting global settings such as a custom build products directory
  24000. (<rdar://problem/5585899>).
  24001. * Scripts/webkitdirs.pm:
  24002. 2009-06-23 Eric Seidel <eric@webkit.org>
  24003. Reviewed by Dave Levin.
  24004. Make SCM.run_command smarter, and make all previous
  24005. os.system and subprocess.popen use SCM.run_command instead.
  24006. https://bugs.webkit.org/show_bug.cgi?id=26666
  24007. This makes it easier to handle errors in a standard way throughout all the code.
  24008. Since this new code raises by default when the exit_code != 0,
  24009. we should prevent future problems of bugzilla-tool continuing after
  24010. a git or svn command failed.
  24011. * Scripts/modules/scm.py:
  24012. 2009-06-23 Joe Mason <joe.mason@torchmobile.com>
  24013. Reviewed by Adam Treat.
  24014. https://bugs.webkit.org/show_bug.cgi?id=26664
  24015. * Scripts/prepare-ChangeLog: Added --git-index mode to list only the
  24016. changes which are already staged in the index. Useful to create an
  24017. entry for what you're about to commit while ignoring unstaged changes.
  24018. 2009-06-23 Anders Carlsson <andersca@apple.com>
  24019. Reviewed by Darin Adler.
  24020. Update for WebKit changes.
  24021. * DumpRenderTree/win/UIDelegate.h:
  24022. (UIDelegate::willPerformDragSourceAction):
  24023. 2009-06-23 Eric Seidel <eric@webkit.org>
  24024. Reviewed by Mark Rowe.
  24025. * Scripts/modules/scm.py: Fix commit_with_message to return the commit output.
  24026. 2009-06-23 Eric Seidel <eric@webkit.org>
  24027. Reviewed by Mark Rowe.
  24028. * Scripts/modules/scm.py: Fix error seen when commiting r44979.
  24029. 2009-06-18 Eric Seidel <eric@webkit.org>
  24030. Reviewed by Dave Levin.
  24031. WebKit needs a script to interact with bugzilla and automate
  24032. parts of the patch posting and commit processes.
  24033. https://bugs.webkit.org/show_bug.cgi?id=26283
  24034. This is really a first-draft tool.
  24035. It's to the point where it's useful to more people than just me now though.
  24036. Git support works. SVN support is written, but mostly untested.
  24037. This tool requires BeautifulSoup and mechanize python modules to run:
  24038. sudo easy_install BeautifulSoup
  24039. sudo easy_install mechanize
  24040. More important than the tool itself are the Bugzilla, Git and SVN class abstractions
  24041. which I hope will allow easy writing of future tools.
  24042. The tool currently implements 10 commands, described below.
  24043. Helpers for scripting dealing with the commit queue:
  24044. bugs-to-commit Bugs in the commit queue
  24045. patches-to-commit Patches attached to bugs in the commit queue
  24046. Dealing with bugzilla:
  24047. reviewed-patches BUGID r+'d patches on a bug
  24048. apply-patches BUGID Applies all patches on a bug to the local working directory without committing.
  24049. land-and-update BUGID Lands the current working directory diff and updates the bug.
  24050. land-patches [options] BUGID Lands all patches on a bug optionally testing them first
  24051. obsolete-attachments BUGID Marks all attachments on a bug as obsolete.
  24052. commit-message Prints a commit message suitable for the uncommitted changes.
  24053. These effectively replace git-send-bugzilla:
  24054. post-diff BUGID Attaches the current working directory diff to a bug as a patch file.
  24055. post-commits BUGID COMMITISH Attaches a range of local commits to a bug as patch files.
  24056. post-diff works for SVN and Git, post-commits only works for SCMs with local-commit support (like Git)
  24057. land-* commands in a Git environment only work with simple patches due to svn-apply bugs:
  24058. https://bugs.webkit.org/show_bug.cgi?id=26299
  24059. https://bugs.webkit.org/show_bug.cgi?id=26300
  24060. This script follows python style (similar to how for Obj-C we follow AppKit style)
  24061. http://www.python.org/doc/essays/styleguide.html
  24062. The Python community has a strong style culture and the WebKit style guide is silent re: Python.
  24063. I've filed a bug to update the WebKit style guide to mention python:
  24064. https://bugs.webkit.org/show_bug.cgi?id=26524
  24065. * Scripts/bugzilla-tool: Added.
  24066. 2009-06-22 Steve Falkenburg <sfalken@apple.com>
  24067. Remove errant line of code mistakenly checked in.
  24068. * DumpRenderTree/win/DumpRenderTree.cpp:
  24069. (main):
  24070. 2009-06-22 Steve Falkenburg <sfalken@apple.com>
  24071. Pass correct value to setShouldPaintNativeControls.
  24072. Rubber stamped by Mark Rowe.
  24073. * DumpRenderTree/win/DumpRenderTree.cpp:
  24074. (main):
  24075. 2009-06-22 Steve Falkenburg <sfalken@apple.com>
  24076. Fix last DumpRenderTree change to correctly set preferences flag without crashing.
  24077. Reviewed by Mark Rowe.
  24078. * DumpRenderTree/win/DumpRenderTree.cpp:
  24079. (main):
  24080. 2009-06-21 Steve Falkenburg <sfalken@apple.com>
  24081. Set up global native controls flag before creating the first WebView.
  24082. Reviewed by Darin Adler.
  24083. * DumpRenderTree/win/DumpRenderTree.cpp:
  24084. (main):
  24085. 2009-06-21 Mark Rowe <mrowe@apple.com>
  24086. Reviewed by Sam Weinig.
  24087. Set a sensible user agent string for the HTTP requests that Sparkle makes (checking for and downloading updates).
  24088. * WebKitLauncher/WebKitNightlyEnablerSparkle.m:
  24089. (userAgentStringForSparkle):
  24090. (initializeSparkle):
  24091. 2009-06-21 Mark Rowe <mrowe@apple.com>
  24092. Reviewed by Sam Weinig.
  24093. Add a hook to the WebKit launcher application to allow a link on the nightly build start page to
  24094. trigger an update via the built-in software update mechanism.
  24095. * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
  24096. * WebKitLauncher/WebKitLauncherURLProtocol.h: Added.
  24097. * WebKitLauncher/WebKitLauncherURLProtocol.m: Added.
  24098. (+[WebKitLauncherURLProtocol load]):
  24099. (+[WebKitLauncherURLProtocol canInitWithRequest:]): Only allow use of the x-webkit-launcher scheme from .webkit.org subdomains.
  24100. (+[WebKitLauncherURLProtocol canonicalRequestForRequest:]):
  24101. (-[WebKitLauncherURLProtocol startLoading]):
  24102. (-[WebKitLauncherURLProtocol stopLoading]):
  24103. (-[WebKitLauncherURLProtocol handleIsWebKitLauncherAvailableJS]): Return a brief JavaScript snippet that can be used to programatically
  24104. determine whether the x-webkit-launcher is available and working.
  24105. (-[WebKitLauncherURLProtocol handleCheckForUpdates]): Trigger a software update on the main thread.
  24106. (-[WebKitLauncherURLProtocol resourceNotFound]): Fail with a generic "File does not exist" error.
  24107. 2009-06-20 Jan Michael Alonzo <jmalonzo@webkit.org>
  24108. Reviewed by Gustavo Noronha and Xan Lopez.
  24109. [Gtk] Implement DRT XSS auditor support
  24110. https://bugs.webkit.org/show_bug.cgi?id=26571
  24111. * DumpRenderTree/gtk/DumpRenderTree.cpp:
  24112. (resetWebViewToConsistentStateBeforeTesting):
  24113. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  24114. (LayoutTestController::setXSSAuditorEnabled):
  24115. 2009-06-19 Darin Adler <darin@apple.com>
  24116. * Scripts/do-webcore-rename: More renaming ideas.
  24117. 2009-06-15 Andre Pedralho <andre.pedralho@openbossa.org>
  24118. Reviewed by Tor Arne Vestbø.
  24119. Only pass --makeargs along if an argument is given.
  24120. * Scripts/build-webkit:
  24121. 2009-06-19 Adam Barth <abarth@webkit.org>
  24122. Unreviewed attempt to fix Windows build.
  24123. * DumpRenderTree/win/DumpRenderTree.cpp:
  24124. (resetWebViewToConsistentStateBeforeTesting):
  24125. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  24126. (LayoutTestController::setXSSAuditorEnabled):
  24127. 2009-06-18 Adam Barth <abarth@webkit.org>
  24128. Reviewed by Sam Weinig.
  24129. https://bugs.webkit.org/show_bug.cgi?id=26199
  24130. Add support for testing the XSSAuditor.
  24131. * DumpRenderTree/LayoutTestController.cpp:
  24132. (setXSSAuditorEnabledCallback):
  24133. (LayoutTestController::staticFunctions):
  24134. * DumpRenderTree/LayoutTestController.h:
  24135. * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
  24136. (LayoutTestController::setXSSAuditorEnabled):
  24137. * DumpRenderTree/mac/DumpRenderTree.mm:
  24138. (resetWebViewToConsistentStateBeforeTesting):
  24139. * DumpRenderTree/mac/LayoutTestControllerMac.mm:
  24140. (LayoutTestController::setXSSAuditorEnabled):
  24141. * DumpRenderTree/win/DumpRenderTree.cpp:
  24142. (resetWebViewToConsistentStateBeforeTesting):
  24143. * DumpRenderTree/win/LayoutTestControllerWin.cpp:
  24144. (LayoutTestController::setXSSAuditorEnabled):
  24145. (LayoutTestController::setPopupBlockingEnabled):
  24146. * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
  24147. (LayoutTestController::setXSSAuditorEnabled):
  24148. 2009-06-18 Darin Adler <darin@apple.com>
  24149. Rubber stamped by Mark Rowe.
  24150. * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
  24151. (-[DumpRenderTreeWindow close]): Resolved crashes seen during regression
  24152. tests. The close method can be called on a window that's already closed
  24153. so we can't assert here.
  24154. 2009-06-17 Steve Falkenburg <sfalken@apple.com>
  24155. Updated for consolidated WebKit COM interfaces.
  24156. Reviewed by Adam Roben.
  24157. * DumpRenderTree/win/FrameLoadDelegate.cpp:
  24158. * DumpRenderTree/win/FrameLoadDelegate.h:
  24159. * DumpRenderTree/win/UIDelegate.cpp:
  24160. * DumpRenderTree/win/UIDelegate.h:
  24161. * WinLauncher/WinLauncher.h:
  24162. 2009-06-16 Adam Barth <abarth@webkit.org>
  24163. Reviewed by Darin Adler.
  24164. https://bugs.webkit.org/show_bug.cgi?id=26437
  24165. Make the commit-log-editor match the ambient line endings in commit
  24166. messages.
  24167. * Scripts/commit-log-editor:
  24168. 2009-06-16 Xan Lopez <xlopez@igalia.com>
  24169. Reviewed by Gustavo Noronha.
  24170. Update GtkLauncher to recent API changes in the progress property,
  24171. which now goes from 0.0 to 1.0.
  24172. * GtkLauncher/main.c:
  24173. 2009-06-16 Adam Barth <abarth@webkit.org>
  24174. Reviewed by Darin Adler.
  24175. https://bugs.webkit.org/show_bug.cgi?id=26000
  24176. Teach prepare-ChangeLog to match the line ends that are already present
  24177. in ChangeLog files. This helps folks whose use cygwin perl with CR LF
  24178. line endings on Windows.
  24179. Also, teach prepare-ChangeLog to normalize backslashes in paths. This
  24180. helps folks who use Windows SVN prepare correct ChangeLogs.
  24181. * Scripts/prepare-ChangeLog:
  24182. == Rolled over to ChangeLog-2009-06-16 ==