ChangeLog 617 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986
  1. 2013-06-26 Lucas Forschler <lforschler@apple.com>
  2. Merge r151832
  3. 2013-06-21 Christophe Dumez <ch.dumez@sisa.samsung.com>
  4. REGRESSION (r150663): Using webkitAudioContext in Inspector makes it undefined everywhere
  5. https://bugs.webkit.org/show_bug.cgi?id=117825
  6. Reviewed by Kentaro Hara.
  7. Use Settings to enable Web Audio instead of RuntimeEnabledFeatures.
  8. * Api/qwebsettings.cpp:
  9. (QWebSettingsPrivate::apply):
  10. 2013-06-17 Michael Brüning <michael.bruning@digia.com>
  11. [Qt] Remove Qt specific QTKIT flagged code.
  12. https://bugs.webkit.org/show_bug.cgi?id=117635
  13. Reviewed by Simon Hausmann.
  14. Due to disabling QTKIT for Qt in r151546, the
  15. code the flags that are not taken into account
  16. anymore and the code that has been rendered
  17. unreachable by this are removed.
  18. * WebCoreSupport/ChromeClientQt.cpp:
  19. (WebCore::ChromeClientQt::ChromeClientQt):
  20. (WebCore::ChromeClientQt::~ChromeClientQt):
  21. * WebCoreSupport/ChromeClientQt.h:
  22. * WebCoreSupport/FullScreenVideoQt.cpp:
  23. (WebCore::FullScreenVideoQt::FullScreenVideoQt):
  24. (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
  25. (WebCore::FullScreenVideoQt::enterFullScreenForNode):
  26. (WebCore::FullScreenVideoQt::exitFullScreenForNode):
  27. (WebCore::FullScreenVideoQt::isValid):
  28. * WebCoreSupport/FullScreenVideoQt.h:
  29. * WebCoreSupport/InitWebCoreQt.cpp:
  30. (WebCore::initializeWebCoreQt):
  31. * WebCoreSupport/QTKitFullScreenVideoHandler.h: Removed.
  32. * WebCoreSupport/QTKitFullScreenVideoHandler.mm: Removed.
  33. * WebCoreSupport/WebSystemInterface.h: Removed.
  34. * WebCoreSupport/WebSystemInterface.mm: Removed.
  35. 2013-06-05 Allan Sandfeld Jensen <allan.jensen@digia.com>
  36. [Qt] Handle Return key without key text
  37. https://bugs.webkit.org/show_bug.cgi?id=117239
  38. Reviewed by Andreas Kling.
  39. Test for QKeyEvent(Return_Key) without key text.
  40. * tests/qwebpage/tst_qwebpage.cpp:
  41. (tst_QWebPage::inputMethods):
  42. 2013-06-03 Commit Queue <commit-queue@webkit.org>
  43. Unreviewed, rolling out r151109.
  44. http://trac.webkit.org/changeset/151109
  45. https://bugs.webkit.org/show_bug.cgi?id=117145
  46. "Plugins in WK2 aren't implemented yet." (Requested by
  47. jturcotte on #webkit).
  48. * WebCoreSupport/ChromeClientQt.cpp:
  49. (WebCore::ChromeClientQt::windowResizerRect):
  50. 2013-05-22 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  51. [Qt] Re-enable plugins on Mac.
  52. https://bugs.webkit.org/show_bug.cgi?id=116622
  53. Reviewed by Tor Arne Vestbø.
  54. * WebCoreSupport/ChromeClientQt.cpp:
  55. (WebCore::ChromeClientQt::windowResizerRect):
  56. - Add missing parenthese.
  57. 2013-06-02 Arunprasad Rajkumar <arurajku@cisco.com>
  58. [Qt] Move Qt port off legacy clipboard
  59. https://bugs.webkit.org/show_bug.cgi?id=116416
  60. Reviewed by Darin Adler.
  61. * WebCoreSupport/DragClientQt.cpp:
  62. (WebCore::DragClientQt::startDrag):
  63. 2013-05-29 Liang Qi <liang.qi@digia.com>
  64. [Qt] Add all plugins.qmltypes files and update qmldir files
  65. Reviewed by Simon Hausmann.
  66. These are required for code completion in Qt Creator.
  67. * declarative/plugins.qmltypes: Added.
  68. * declarative/qmldir:
  69. 2013-05-28 Andreas Kling <akling@apple.com>
  70. Document::setFocusedNode() should be setFocusedElement().
  71. <http://webkit.org/b/116857>
  72. Reviewed by Antti Koivisto.
  73. * Api/qwebelement.cpp:
  74. (QWebElement::hasFocus):
  75. (QWebElement::setFocus):
  76. * WebCoreSupport/EditorClientQt.cpp:
  77. (WebCore::EditorClientQt::setInputMethodState):
  78. * WebCoreSupport/QWebPageAdapter.cpp:
  79. (QWebPageAdapter::mousePressEvent):
  80. (QWebPageAdapter::handleSoftwareInputPanel):
  81. (QWebPageAdapter::inputMethodQuery):
  82. (QWebPageAdapter::hasFocusedNode):
  83. 2013-05-27 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  84. [Qt][Win] Input events aren't mapped properly with windowless plugins.
  85. https://bugs.webkit.org/show_bug.cgi?id=116094
  86. Reviewed by Tor Arne Vestbø.
  87. * WidgetSupport/PageClientQt.cpp:
  88. (WebCore::PageClientQWidget::mapToOwnerWindow):
  89. (WebCore::PageClientQGraphicsWidget::makeOpenGLContextCurrentIfAvailable):
  90. (WebCore::PageClientQGraphicsWidget::screenNumber):
  91. (WebCore::PageClientQGraphicsWidget::geometryRelativeToOwnerWidget):
  92. (WebCore::PageClientQGraphicsWidget::mapToOwnerWindow):
  93. (WebCore::PageClientQGraphicsWidget::graphicsItemVisibleRect):
  94. (WebCore::PageClientQGraphicsWidget::firstGraphicsView):
  95. Extracted this common logic from makeOpenGLContextCurrentIfAvailable,
  96. screenNumber, geometryRelativeToOwnerWidget and graphicsItemVisibleRect
  97. to be able to use it in mapToOwnerWindow.
  98. * WidgetSupport/PageClientQt.h:
  99. (PageClientQWidget):
  100. (PageClientQGraphicsWidget):
  101. 2013-05-24 Christophe Dumez <ch.dumez@sisa.samsung.com>
  102. Remove custom code for webkitAudioContext global constructor getter
  103. https://bugs.webkit.org/show_bug.cgi?id=116530
  104. Reviewed by Geoffrey Garen.
  105. Use RuntimeEnabledFeatures instead of Settings to toggle Web Audio support.
  106. * Api/qwebsettings.cpp:
  107. (QWebSettingsPrivate::apply):
  108. 2013-05-19 Anders Carlsson <andersca@apple.com>
  109. Remove ChromeClient::webView()
  110. https://bugs.webkit.org/show_bug.cgi?id=116054
  111. Reviewed by Darin Adler.
  112. This blatantly horrible layer violation was only used to know if a ChromeClient is an empty
  113. client or not. We already have a (slightly less horrible) way to do that.
  114. * WebCoreSupport/ChromeClientQt.h:
  115. (ChromeClientQt):
  116. 2013-05-18 Tim Horton <timothy_horton@apple.com>
  117. [Qt] REGRESSION(r150227): It made zillion tests crash under PlatformStrategiesQt::getPluginInfo
  118. https://bugs.webkit.org/show_bug.cgi?id=116289
  119. Reviewed by Csaba Osztrogonác.
  120. Don't try to static cast something that isn't a ChromeClientQt to ChromeClientQt.
  121. It's actually SVGImage's EmptyChromeClient-derived client (or other such things).
  122. * WebCoreSupport/PlatformStrategiesQt.cpp:
  123. (PlatformStrategiesQt::getPluginInfo):
  124. 2013-05-16 Tim Horton <timothy_horton@apple.com>
  125. PDFPlugins don't load when plugins are disabled, but they should
  126. https://bugs.webkit.org/show_bug.cgi?id=75790
  127. <rdar://problem/11650197>
  128. Reviewed by Anders Carlsson.
  129. * WebCoreSupport/FrameLoaderClientQt.cpp:
  130. (WebCore::FrameLoaderClientQt::objectContentType):
  131. Previously, this caller depended on pluginData() returning null if
  132. plug-ins were disabled. Since that is no longer the case, we have to
  133. check if we can use plug-ins, and otherwise ignore non-application-plug-ins.
  134. 2013-05-16 Andreas Kling <akling@apple.com>
  135. Page::chrome() should return a reference.
  136. <http://webkit.org/b/116185>
  137. Reviewed by Anders Carlsson.
  138. 2013-05-13 Anders Carlsson <andersca@apple.com>
  139. Frame::editor() should return a reference
  140. https://bugs.webkit.org/show_bug.cgi?id=116037
  141. Reviewed by Darin Adler.
  142. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  143. (DumpRenderTreeSupportQt::executeCoreCommandByName):
  144. (DumpRenderTreeSupportQt::isCommandEnabled):
  145. (DumpRenderTreeSupportQt::firstRectForCharacterRange):
  146. * WebCoreSupport/EditorClientQt.cpp:
  147. (WebCore::EditorClientQt::respondToChangedSelection):
  148. (WebCore::EditorClientQt::registerUndoStep):
  149. (WebCore::EditorClientQt::handleKeyboardEvent):
  150. * WebCoreSupport/QWebPageAdapter.cpp:
  151. (QWebPageAdapter::selectedText):
  152. (QWebPageAdapter::selectedHtml):
  153. (QWebPageAdapter::setContentEditable):
  154. 2013-05-15 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  155. [Qt] Fix a crash under ~PingLoader when the QNAM on the page has been destroyed.
  156. https://bugs.webkit.org/show_bug.cgi?id=116035
  157. Reviewed by Allan Sandfeld Jensen.
  158. * tests/qwebpage/tst_qwebpage.cpp:
  159. (tst_QWebPage::networkReplyParentDidntChange): Change test to match the new expectation.
  160. (tst_QWebPage::destroyQNAMBeforeAbortDoesntCrash):
  161. 2013-05-14 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  162. [Qt] Fix a crash under ~PingLoader when the QNAM on the page has been destroyed.
  163. https://bugs.webkit.org/show_bug.cgi?id=116035
  164. Reviewed by Simon Hausmann.
  165. * tests/qwebpage/tst_qwebpage.cpp:
  166. (tst_QWebPage::networkReplyParentChanged):
  167. 2013-05-12 Timothy Hatcher <timothy@apple.com>
  168. Add support for updating the Web Inspector toolbar height.
  169. https://bugs.webkit.org/show_bug.cgi?id=115996
  170. Reviewed by Joseph Pecoraro and Benjamin Poulain.
  171. * WebCoreSupport/InspectorClientQt.cpp:
  172. (WebCore::InspectorFrontendClientQt::setToolbarHeight):
  173. * WebCoreSupport/InspectorClientQt.h:
  174. 2013-05-13 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  175. [Qt] Fix a crash on startup in FrameLoaderClientQt::callPolicyFunction with MSVC
  176. Reviewed by Allan Sandfeld Jensen.
  177. It's not clear why it crashes, but here's my guess by looking at the generated
  178. assembly code:
  179. Since we're using a member function pointer to PolicyChecker, the representation
  180. is not necessarily just a simple pointer and might be a bigger structure used
  181. to handle virtual functions resolution.
  182. For a function taking such a function "pointer" as parameter, the compiler doesn't
  183. seem to have the caller and callee agree on which convention to use if the function
  184. pointer's class is non-virtual and only one of the ends doesn't know about it.
  185. Including the definition of the member function pointer's class fixes the crash.
  186. * WebCoreSupport/FrameLoaderClientQt.cpp:
  187. 2013-05-09 Andreas Kling <akling@apple.com>
  188. [Qt][WK1]REGRESSION(r149532) tst_qwebelement and tst_qwebframe API tests crash.
  189. <http://webkit.org/b/115855>
  190. Fix obvious off-by-one mistake.
  191. * Api/qwebelement.cpp:
  192. (QWebElement::styleProperty):
  193. 2013-05-07 Allan Sandfeld Jensen <allan.jensen@digia.com>
  194. Crash when calling QWebFrame::evaluateJavaScript
  195. https://bugs.webkit.org/show_bug.cgi?id=113434
  196. Reviewed by Simon Hausmann.
  197. Ensure we hold the JSLock when converting JSValue to JSValueRef.
  198. * Api/qwebelement.cpp:
  199. (setupScriptContext):
  200. (QWebElement::evaluateJavaScript):
  201. * WebCoreSupport/QWebFrameAdapter.cpp:
  202. (QWebFrameAdapter::evaluateJavaScript):
  203. 2013-05-03 Andreas Kling <akling@apple.com>
  204. StyleResolver: Have "list of matched rules" API vend internal types instead of CSSOM wrappers.
  205. <http://webkit.org/b/115563>
  206. Reviewed by Antti Koivisto.
  207. * Api/qwebelement.cpp:
  208. (QWebElement::styleProperty):
  209. Tweaked for changes in StyleResolver API.
  210. 2013-04-30 Andreas Kling <akling@apple.com>
  211. Don't create StyleResolvers just to invalidate them.
  212. <http://webkit.org/b/115436>
  213. Reviewed by Geoffrey Garen.
  214. * Api/qwebelement.cpp:
  215. (QWebElement::styleProperty):
  216. 2013-04-25 Joseph Pecoraro <pecoraro@apple.com>
  217. Web Inspector: ConsoleMessage should include line and column number where possible
  218. https://bugs.webkit.org/show_bug.cgi?id=114929
  219. Reviewed by Timothy Hatcher.
  220. * WebCoreSupport/ChromeClientQt.cpp:
  221. (WebCore::ChromeClientQt::addMessageToConsole):
  222. * WebCoreSupport/ChromeClientQt.h:
  223. 2013-04-25 Allan Sandfeld Jensen <allan.jensen@digia.com>
  224. [Qt] Animated opacity does not trigger accelerated compositing
  225. https://bugs.webkit.org/show_bug.cgi?id=115107
  226. Reviewed by Simon Fraser.
  227. We should trigger compositing on animated opacity as it is always faster on Qt.
  228. * WebCoreSupport/ChromeClientQt.cpp:
  229. VideoTrigger removed because we have already disabled AC for video in qwebsettings.
  230. 2013-04-23 Allan Sandfeld Jensen <allan.jensen@digia.com>
  231. [Qt][WK1] MemoryCache is not cleaned by default
  232. https://bugs.webkit.org/show_bug.cgi?id=111443
  233. Reviewed by Jocelyn Turcotte.
  234. Enable deletion of dead resources in the memory cache as long as the MemoryCache is enabled.
  235. This can be disabled or tuned using the dynamic property "_q_deadDecodedDataDeletionInterval".
  236. The default is set to match that of most other ports and WK2 with cache in WebBrowsing mode.
  237. * Api/qwebsettings.cpp:
  238. (QWebSettings::setObjectCacheCapacities):
  239. * WebCoreSupport/InitWebCoreQt.cpp:
  240. (WebCore::initializeWebCoreQt):
  241. 2013-04-17 Geoffrey Garen <ggaren@apple.com>
  242. Renamed JSGlobalData to VM
  243. https://bugs.webkit.org/show_bug.cgi?id=114777
  244. Reviewed by Phil Pizlo.
  245. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  246. (DumpRenderTreeSupportQt::javaScriptObjectsCount):
  247. * WebCoreSupport/QWebFrameAdapter.cpp:
  248. (QWebFrameAdapter::addToJavaScriptWindowObject):
  249. 2013-04-15 Sam Weinig <sam@webkit.org>
  250. Remove more #includes from Frame.h
  251. https://bugs.webkit.org/show_bug.cgi?id=114642
  252. Reviewed by Anders Carlsson.
  253. * WebCoreSupport/DragClientQt.cpp:
  254. * WebCoreSupport/FrameLoaderClientQt.cpp:
  255. * WebCoreSupport/QWebFrameAdapter.cpp:
  256. * WebCoreSupport/QWebPageAdapter.cpp:
  257. 2013-04-11 Allan Sandfeld Jensen <allan.jensen@digia.com>
  258. [Qt] EventHandler should handle Space and BackSpace
  259. https://bugs.webkit.org/show_bug.cgi?id=114428
  260. Reviewed by Jocelyn Turcotte.
  261. Remove our own handling of space and backspace.
  262. * WebCoreSupport/QWebPageAdapter.cpp:
  263. (QWebPageAdapter::handleScrolling):
  264. * WidgetApi/qwebpage.cpp:
  265. (QWebPagePrivate::keyPressEvent):
  266. 2013-04-10 Benjamin Poulain <bpoulain@apple.com>
  267. Mass remove all the empty directories
  268. Rubberstamped by Ryosuke Niwa.
  269. * tests/qdeclarativewebview/resources: Removed.
  270. 2013-04-09 Geoffrey Garen <ggaren@apple.com>
  271. Removed bitrotted TimeoutChecker code
  272. https://bugs.webkit.org/show_bug.cgi?id=114336
  273. Reviewed by Alexey Proskuryakov.
  274. * WebCoreSupport/FrameLoaderClientQt.cpp:
  275. (WebCore::FrameLoaderClientQt::createDocumentLoader):
  276. 2013-04-10 Jose Lejin PJ <jose.lejin@gmail.com>
  277. [Qt] Add API in QWebSettings for setting the CSS media type
  278. https://bugs.webkit.org/show_bug.cgi?id=113853
  279. Reviewed by Jocelyn Turcotte.
  280. * Api/qwebsettings.cpp:
  281. (QWebSettingsPrivate):
  282. (QWebSettingsPrivate::apply):
  283. (QWebSettings::setCSSMediaType):
  284. (QWebSettings::cssMediaType):
  285. * Api/qwebsettings.h:
  286. * WebCoreSupport/FrameLoaderClientQt.cpp:
  287. (WebCore::FrameLoaderClientQt::overrideMediaType):
  288. * tests/qwebpage/tst_qwebpage.cpp:
  289. (tst_QWebPage):
  290. (tst_QWebPage::cssMediaTypeGlobalSetting):
  291. (tst_QWebPage::cssMediaTypePageSetting):
  292. 2013-04-09 Rafael Brandao <rafael.lobo@openbossa.org>
  293. [CoordinatedGraphics] serviceScriptedAnimations expects time in seconds
  294. https://bugs.webkit.org/show_bug.cgi?id=112582
  295. Reviewed by Andreas Kling.
  296. We've been exposing different time unit for requestAnimationFrame because
  297. of wrong conversion before serviceScriptedAnimations function calls.
  298. Fixed it to use seconds instead of milliseconds.
  299. * WebCoreSupport/ChromeClientQt.cpp: Remove unnecessary conversion.
  300. 2013-04-08 Benjamin Poulain <benjamin@webkit.org>
  301. Remove HTML Notification
  302. https://bugs.webkit.org/show_bug.cgi?id=114231
  303. Reviewed by Ryosuke Niwa.
  304. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  305. (WebCore::NotificationPresenterClientQt::displayNotification):
  306. (WebCore::NotificationPresenterClientQt::cancel):
  307. (WebCore::NotificationPresenterClientQt::notificationClicked):
  308. (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue):
  309. (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
  310. (WebCore::NotificationPresenterClientQt::dumpShowText):
  311. 2013-04-05 Geoffrey Garen <ggaren@apple.com>
  312. Made USE(JSC) unconditional
  313. https://bugs.webkit.org/show_bug.cgi?id=114058
  314. Reviewed by Anders Carlsson.
  315. * Api/qwebscriptworld.cpp:
  316. (QWebScriptWorld::QWebScriptWorld):
  317. 2013-04-04 Sze Howe Koh <szehowe.koh@gmail.com>
  318. [Qt] docs: Fix module name format
  319. https://bugs.webkit.org/show_bug.cgi?id=113209
  320. Reviewed by Jocelyn Turcotte.
  321. Make QDoc-generated documentation follow the conventions at
  322. http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation
  323. * Api/qwebdatabase.cpp:
  324. * Api/qwebkitglobal.cpp:
  325. * Api/qwebpluginfactory.cpp:
  326. * Api/qwebsettings.cpp:
  327. * WidgetApi/qgraphicswebview.cpp:
  328. * WidgetApi/qwebframe.cpp:
  329. * WidgetApi/qwebpage.cpp:
  330. * WidgetApi/qwebview.cpp:
  331. * docs/qtwebkit-bridge.qdoc:
  332. * docs/qtwebkit-goes-mobile.qdoc:
  333. * docs/qtwebkit.qdoc:
  334. 2013-03-28 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  335. [Qt] Switch ContextMenu implementation to CROSS_PLATFORM_CONTEXT_MENU
  336. https://bugs.webkit.org/show_bug.cgi?id=113535
  337. Reviewed by Simon Hausmann.
  338. Adjust ContextMenuClientQt and QWebPageAdapter to use CROSS_PLATFORM_CONTEXT_MENUS
  339. USE flag by implementing customizeMenu() instead of getCustomMenuFromDefaultItems()
  340. and by calling menu->items() instead of menu->platformDescription().
  341. * WebCoreSupport/ContextMenuClientQt.cpp:
  342. (WebCore::ContextMenuClientQt::customizeMenu):
  343. * WebCoreSupport/ContextMenuClientQt.h:
  344. (ContextMenuClientQt):
  345. * WebCoreSupport/QWebPageAdapter.cpp:
  346. (descriptionForPlatformMenu):
  347. (QWebPageAdapter::updatePositionDependentMenuActions):
  348. 2013-03-27 Timothy Hatcher <timothy@apple.com>
  349. Add support for dock-to-right of the Web Inspector in the Mac port.
  350. Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
  351. https://webkit.org/b/113341
  352. rdar://problem/10368152
  353. Reviewed by Joseph Pecoraro.
  354. * WebCoreSupport/InspectorClientQt.cpp:
  355. (WebCore::InspectorFrontendClientQt::frontendLoaded):
  356. (WebCore::InspectorFrontendClientQt::attachWindow):
  357. (WebCore::InspectorFrontendClientQt::setAttachedWindowWidth):
  358. * WebCoreSupport/InspectorClientQt.h:
  359. (InspectorFrontendClientQt):
  360. 2013-03-26 Hayato Ito <hayato@chromium.org>
  361. Allow ShadowContents in HitTests by default.
  362. https://bugs.webkit.org/show_bug.cgi?id=113171
  363. Reviewed by Dimitri Glazkov.
  364. * WebCoreSupport/QWebFrameAdapter.cpp:
  365. (QWebFrameAdapter::hitTestContent):
  366. 2013-03-26 Tony Chang <tony@chromium.org>
  367. Autogenerate the scrollAnimatorEnabled setting in Settings.in
  368. https://bugs.webkit.org/show_bug.cgi?id=113253
  369. Reviewed by James Robinson.
  370. * Api/qwebsettings.cpp:
  371. (QWebSettingsPrivate::apply): Update call to WebCore to use setScrollAnimatorEnabled(bool).
  372. 2013-03-26 Csaba Osztrogonác <ossy@webkit.org>
  373. [Qt] Fix tst_QWebElement::render() API test
  374. https://bugs.webkit.org/show_bug.cgi?id=65243
  375. Reviewed by Jocelyn Turcotte.
  376. Unmark the passing part of this testcase.
  377. * tests/qwebelement/tst_qwebelement.cpp:
  378. (tst_QWebElement::render):
  379. 2013-03-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
  380. [Qt] Enable kerning by default
  381. https://bugs.webkit.org/show_bug.cgi?id=112704
  382. Reviewed by Jocelyn Turcotte.
  383. Enable default kerning when fast kerning is available.
  384. To support layout tests that depend on kerning being off by default,
  385. a method is added to DumpRenderTreeSupportQt to reset the default.
  386. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  387. (DumpRenderTreeSupportQt::resetDefaultTypesettingFeatures):
  388. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  389. * WebCoreSupport/InitWebCoreQt.cpp:
  390. (WebKit::initializeWebKitQt):
  391. 2013-03-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
  392. [Qt] Support -webkit-font-smoothing
  393. https://bugs.webkit.org/show_bug.cgi?id=106009
  394. Reviewed by Jocelyn Turcotte.
  395. Export an interface so DRT can also disable font-smoothing like WTR does.
  396. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  397. (DumpRenderTreeSupportQt::setShouldUseFontSmoothing):
  398. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  399. 2013-03-15 Nate Chapin <japhet@chromium.org>
  400. Hide MainResourceLoader from the outside world
  401. https://bugs.webkit.org/show_bug.cgi?id=109971
  402. Reviewed by Adam Barth.
  403. * WebCoreSupport/FrameLoaderClientQt.cpp:
  404. (WebCore::FrameLoaderClientQt::convertMainResourceLoadToDownload):
  405. * WebCoreSupport/FrameLoaderClientQt.h:
  406. (FrameLoaderClientQt):
  407. 2013-03-15 Abhishek Arya <inferno@chromium.org>
  408. Replace static_casts with to* helper functions.
  409. https://bugs.webkit.org/show_bug.cgi?id=112401
  410. Reviewed by Stephen Chenney.
  411. to* helper functions are preferred over static_cast calls since they
  412. help to catch bad casts easily on the testing infrastructure.
  413. * WebCoreSupport/FrameLoaderClientQt.cpp:
  414. (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
  415. 2013-03-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
  416. [Qt] Build error with building with Qt 5.1
  417. https://bugs.webkit.org/show_bug.cgi?id=112435
  418. Reviewed by Noam Rosenthal.
  419. QAccessibleWidget has moved to private.
  420. * WidgetApi/qwebviewaccessible_p.h:
  421. 2013-03-15 Simon Hausmann <simon.hausmann@digia.com>
  422. [Qt] Unreviewed trivial DRT ASSERT fix
  423. r145805 erroneously added setController calls for device orientation/motion
  424. mock clients. Those ASSERT, the controller ctor already calls setController
  425. on the client.
  426. * WebCoreSupport/QWebPageAdapter.cpp:
  427. (QWebPageAdapter::initializeWebCorePage):
  428. 2013-03-14 Manuel Rego Casasnovas <rego@igalia.com>
  429. Add selectTrailingWhitespaceEnabled setting to WebCore::Page
  430. https://bugs.webkit.org/show_bug.cgi?id=109404
  431. Reviewed by Tony Chang.
  432. Use new settings for smartInsertDeleteEnabled and
  433. selectTrailingWhitespaceEnabled.
  434. Remove code related to DRT as it is not needed anymore.
  435. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  436. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  437. * WebCoreSupport/EditorClientQt.cpp:
  438. (WebCore::EditorClientQt::smartInsertDeleteEnabled):
  439. (WebCore::EditorClientQt::toggleSmartInsertDelete):
  440. (WebCore::EditorClientQt::isSelectTrailingWhitespaceEnabled):
  441. (WebCore::EditorClientQt::EditorClientQt):
  442. * WebCoreSupport/EditorClientQt.h:
  443. (EditorClientQt):
  444. 2013-03-14 Rik Cabanier <cabanier@adobe.com>
  445. [Qt][WK1] REGRESSION(r145784): Blend tests are failing
  446. https://bugs.webkit.org/show_bug.cgi?id=112333
  447. Reviewed by Ryosuke Niwa.
  448. Added code to passed compositing prefence to WebCore.
  449. * Api/qwebsettings.cpp:
  450. (QWebSettingsPrivate::apply):
  451. (QWebSettings::QWebSettings):
  452. * Api/qwebsettings.h:
  453. 2013-03-14 Abhishek Arya <inferno@chromium.org>
  454. Replace static_casts with to* helper functions.
  455. https://bugs.webkit.org/show_bug.cgi?id=112296
  456. Reviewed by Kentaro Hara.
  457. to* helper functions are preferred over static_cast calls since they
  458. help to catch bad casts easily on the testing infrastructure.
  459. * Api/qwebelement.cpp:
  460. (QWebElement::firstChild):
  461. (QWebElement::lastChild):
  462. (QWebElement::nextSibling):
  463. (QWebElement::previousSibling):
  464. (QWebElementCollection::at):
  465. (QWebElementCollection::toList):
  466. * WebCoreSupport/QWebFrameAdapter.cpp:
  467. (QWebHitTestResultPrivate::elementForInnerNode):
  468. 2013-03-14 Simon Hausmann <simon.hausmann@digia.com>
  469. [Qt] Improve the handling of mock geolocation, device orientation and motion clients
  470. Reviewed by Tor Arne Vestbø.
  471. The mock versions of these web facing features should be instantiated when
  472. running in DumpRenderTree only. In order for them to work, no extra Qt modules
  473. such as QtLocation are actually needed.
  474. This patch decouples enabling device orientation/motion and geolocation from
  475. the underlying Qt modules and makes them available in developer builds
  476. (!production_build) and backed by mock backends when running in drt.
  477. So if the Qt 5 modules are available, they'll be used (unless drtRun). For
  478. developers the web facing features are always enabled (although requests will
  479. time out) and the mock backends are enabled inside DRT, allowing for the layout
  480. tests to run with less dependencies.
  481. In addition this also enables the mock device motion client, which was
  482. previously never instantiated.
  483. * WebCoreSupport/QWebFrameAdapter.cpp:
  484. (QWebFrameAdapter::_q_orientationChanged):
  485. * WebCoreSupport/QWebFrameAdapter.h:
  486. * WebCoreSupport/QWebPageAdapter.cpp:
  487. (QWebPageAdapter::initializeWebCorePage):
  488. * WebCoreSupport/QWebPageAdapter.h:
  489. * WidgetApi/qwebframe.cpp:
  490. (QWebFrame::QWebFrame):
  491. * WidgetApi/qwebpage.cpp:
  492. (QWebPage::setFeaturePermission):
  493. 2013-03-13 Simon Hausmann <simon.hausmann@digia.com>
  494. [Qt] Port TestRunner::findString to shared interface
  495. https://bugs.webkit.org/show_bug.cgi?id=112147
  496. Reviewed by Jocelyn Turcotte.
  497. Add new find options used by the DRT.
  498. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  499. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  500. * WebCoreSupport/QWebPageAdapter.cpp:
  501. (QWebPageAdapter::findText):
  502. * WebCoreSupport/QWebPageAdapter.h:
  503. * WidgetApi/qwebpage.cpp:
  504. * WidgetApi/qwebpage.h:
  505. 2013-03-13 Pavel Feldman <pfeldman@chromium.org>
  506. Web Inspector: get rid of hiddenPanels filter
  507. https://bugs.webkit.org/show_bug.cgi?id=112252
  508. Reviewed by Vsevolod Vlasov.
  509. * WebCoreSupport/InspectorClientQt.cpp:
  510. (WebCore):
  511. * WebCoreSupport/InspectorClientQt.h:
  512. (InspectorFrontendClientQt):
  513. 2013-03-11 Jochen Eisinger <jochen@chromium.org>
  514. Rename DefinitelyProcessingUserGesture to DefinitelyProcessingNewUserGesture
  515. https://bugs.webkit.org/show_bug.cgi?id=111959
  516. Reviewed by Alexey Proskuryakov.
  517. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  518. (WebCore::NotificationPresenterClientQt::notificationClicked):
  519. 2013-03-08 Arunprasad Rajkumar <arunprasadr@nds.com>
  520. [Qt] QWebSettings::clearMemoryCaches should release FastMalloc's free pages to OS
  521. https://bugs.webkit.org/show_bug.cgi?id=111605
  522. Reviewed by Jocelyn Turcotte.
  523. * Api/qwebsettings.cpp:
  524. (QWebSettings::clearMemoryCaches):
  525. 2013-03-07 Arunprasad Rajkumar <arunprasadr@nds.com>
  526. [Qt] QWebSettings::clearMemoryCaches should clear JS garbage
  527. https://bugs.webkit.org/show_bug.cgi?id=111094
  528. Reviewed by Jocelyn Turcotte.
  529. * Api/qwebsettings.cpp:
  530. (QWebSettings::clearMemoryCaches):
  531. 2013-03-06 Benjamin Poulain <benjamin@webkit.org>
  532. WebKitTestRunner needs layoutTestController.elementDoesAutoCompleteForElementWithId
  533. https://bugs.webkit.org/show_bug.cgi?id=42696
  534. Reviewed by Andreas Kling.
  535. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  536. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  537. 2013-03-06 Allan Sandfeld Jensen <allan.jensen@digia.com>
  538. [Qt] Illegal narrowing in tst_qwebhistory
  539. https://bugs.webkit.org/show_bug.cgi?id=111562
  540. Reviewed by Jocelyn Turcotte.
  541. The bytearray in tst_QWebHistory::restoreIncompatibleVersion1 has integer
  542. values higher than 127 assigned into an array of signed chars. This causes
  543. compiler errors in C++11 since it assigns constants (>127) that does not
  544. fit the destination (-128 to 127)
  545. * tests/qwebhistory/tst_qwebhistory.cpp:
  546. (tst_QWebHistory::restoreIncompatibleVersion1):
  547. 2013-03-03 Adam Barth <abarth@webkit.org>
  548. Unreviewed attempted build fix. Adds back some includes removed in
  549. http://trac.webkit.org/changeset/144565.
  550. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  551. * WebCoreSupport/QWebPageAdapter.cpp:
  552. 2013-03-03 Adam Barth <abarth@webkit.org>
  553. Unreviewed rollout of http://trac.webkit.org/r144530
  554. As described in https://bugs.webkit.org/show_bug.cgi?id=111167 and
  555. https://bugs.webkit.org/show_bug.cgi?id=111035, this patch caused a
  556. large number of ASSERTs in chromium-win.
  557. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  558. * WebCoreSupport/QWebPageAdapter.cpp:
  559. 2013-03-02 Benjamin Poulain <bpoulain@apple.com>
  560. Move computedStyleIncludingVisitedInfo from TestRunner to Internals
  561. https://bugs.webkit.org/show_bug.cgi?id=109772
  562. Reviewed by Andreas Kling.
  563. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  564. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  565. 2013-02-28 Alexey Proskuryakov <ap@apple.com>
  566. Reduce amount of rebuilding when touching networking headers
  567. https://bugs.webkit.org/show_bug.cgi?id=111035
  568. Reviewed by Eric Seidel.
  569. Adding includes that are now necessary because WebCore headers don't have them
  570. any more.
  571. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  572. * WebCoreSupport/QWebPageAdapter.cpp:
  573. 2013-03-01 Jason Anderssen <janderssen@gmail.com>
  574. Move markerTextForListItem from TestRunner to Internals
  575. https://bugs.webkit.org/show_bug.cgi?id=110939
  576. Reviewed by Benjamin Poulain.
  577. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  578. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  579. 2013-03-01 Sheriff Bot <webkit.review.bot@gmail.com>
  580. Unreviewed, rolling out r144422 and r144424.
  581. http://trac.webkit.org/changeset/144422
  582. http://trac.webkit.org/changeset/144424
  583. https://bugs.webkit.org/show_bug.cgi?id=111167
  584. Caused over 20 tests to fail assertion on Chromium Win port as
  585. ASSERTION FAILED: m_platformRequestUpdated (Requested by
  586. toyoshim on #webkit).
  587. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  588. * WebCoreSupport/QWebPageAdapter.cpp:
  589. 2013-02-28 Alexey Proskuryakov <ap@apple.com>
  590. Reduce amount of rebuilding when touching networking headers
  591. https://bugs.webkit.org/show_bug.cgi?id=111035
  592. Reviewed by Eric Seidel.
  593. Adding includes that are now necessary because WebCore headers don't have them
  594. any more.
  595. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  596. * WebCoreSupport/QWebPageAdapter.cpp:
  597. 2013-02-24 Andreas Kling <akling@apple.com>
  598. StyledElement: Don't expose a mutable direct interface to the inline style.
  599. <http://webkit.org/b/110711>
  600. Reviewed by Antti Koivisto.
  601. QWebElement::styleProperty() is a read-only method, so rewrite it to use StyledElement::inlineStyle().
  602. * Api/qwebelement.cpp:
  603. (QWebElement::styleProperty):
  604. 2013-02-23 Jason Anderssen <janderssen@gmail.com>
  605. Move setAutofilled from TestRunner to WebCore
  606. https://bugs.webkit.org/show_bug.cgi?id=110521
  607. Reviewed by Benjamin Poulain.
  608. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  609. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  610. 2013-02-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
  611. [Qt] Replace QWebPageAdaptor::TouchAdjuster
  612. https://bugs.webkit.org/show_bug.cgi?id=110226
  613. Reviewed by Antonio Gomes.
  614. * WebCoreSupport/QWebPageAdapter.cpp:
  615. (QWebPageAdapter::adjustPointForClicking):
  616. * WebCoreSupport/QWebPageAdapter.h:
  617. 2013-02-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
  618. Simplify hitTestResultAtPoint and nodesFromRect APIs
  619. https://bugs.webkit.org/show_bug.cgi?id=95720
  620. Reviewed by Julien Chaffraix.
  621. Update calls to new API.
  622. * WebCoreSupport/FrameLoaderClientQt.cpp:
  623. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
  624. * WebCoreSupport/QWebFrameAdapter.cpp:
  625. (QWebFrameAdapter::hitTestContent):
  626. * WebCoreSupport/QWebPageAdapter.cpp:
  627. (QWebPageAdapter::TouchAdjuster::findCandidatePointForTouch):
  628. (QWebPageAdapter::handleSoftwareInputPanel):
  629. (QWebPageAdapter::updatePositionDependentMenuActions):
  630. 2013-02-15 Simon Hausmann <simon.hausmann@digia.com>
  631. [Qt] Port GCController to JSC C API
  632. https://bugs.webkit.org/show_bug.cgi?id=109690
  633. Reviewed by Benjamin Poulain.
  634. Add hooks to retrieve JSContextRef and window object.
  635. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  636. (DumpRenderTreeSupportQt::getJSWindowObject):
  637. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  638. 2013-02-13 Allan Sandfeld Jensen <allan.jensen@digia.com>
  639. [Qt] window.open passes height and width parameters even if not defined in a page
  640. https://bugs.webkit.org/show_bug.cgi?id=107705
  641. Reviewed by Kenneth Rohde Christiansen.
  642. Test that minimum size is applied only when the requested size is too small,
  643. not when default is requested.
  644. * tests/qwebpage/tst_qwebpage.cpp:
  645. (tst_QWebPage):
  646. (TestPage):
  647. (TestPage::TestPage):
  648. (TestPage::createWindow):
  649. (TestPage::slotGeometryChangeRequested):
  650. (tst_QWebPage::openWindowDefaultSize):
  651. 2013-02-12 Huang Dongsung <luxtella@company100.net>
  652. [TexMap] Apply frames-per-second debug counter to WK1.
  653. https://bugs.webkit.org/show_bug.cgi?id=109540
  654. Reviewed by Noam Rosenthal.
  655. Make TextureMapperLayerClientQt use TextureMapperFPSCounter.
  656. * WebCoreSupport/TextureMapperLayerClientQt.cpp:
  657. (TextureMapperLayerClientQt::renderCompositedLayers):
  658. * WebCoreSupport/TextureMapperLayerClientQt.h:
  659. (TextureMapperLayerClientQt):
  660. 2013-02-11 Ryosuke Niwa <rniwa@webkit.org>
  661. Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
  662. https://bugs.webkit.org/show_bug.cgi?id=109534
  663. Reviewed by Anders Carlsson.
  664. * WebCoreSupport/EditorClientQt.cpp:
  665. (WebCore):
  666. * WebCoreSupport/EditorClientQt.h:
  667. (EditorClientQt):
  668. 2013-02-11 Benjamin Poulain <benjamin@webkit.org>
  669. Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
  670. https://bugs.webkit.org/show_bug.cgi?id=109349
  671. Reviewed by Sam Weinig.
  672. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  673. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  674. 2013-02-08 Benjamin Poulain <bpoulain@apple.com>
  675. Move workerThreadCount from TestRunner to WebCore Internals
  676. https://bugs.webkit.org/show_bug.cgi?id=109239
  677. Reviewed by Darin Adler.
  678. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  679. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  680. 2013-02-07 Benjamin Poulain <bpoulain@apple.com>
  681. Move pauseAnimation/pauseTransition from TestRunner to Internals
  682. https://bugs.webkit.org/show_bug.cgi?id=109107
  683. Reviewed by Anders Carlsson.
  684. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  685. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  686. 2013-02-04 Benjamin Poulain <bpoulain@apple.com>
  687. Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
  688. https://bugs.webkit.org/show_bug.cgi?id=108741
  689. Reviewed by Tony Chang.
  690. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  691. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  692. 2013-02-04 Enrica Casucci <enrica@apple.com>
  693. Add specific EditActions for Bold and Italic commands.
  694. https://bugs.webkit.org/show_bug.cgi?id=108842.
  695. <rdar://problem/13098252>
  696. Reviewed by Ryosuke Niwa.
  697. * WebCoreSupport/UndoStepQt.cpp:
  698. (undoNameForEditAction):
  699. 2013-02-04 Abhishek Arya <inferno@chromium.org>
  700. Add ASSERT_WITH_SECURITY_IMPLICATION to detect bad cast in DOM, CSS, etc.
  701. https://bugs.webkit.org/show_bug.cgi?id=108688
  702. Reviewed by Eric Seidel.
  703. * WebCoreSupport/FrameLoaderClientQt.cpp:
  704. 2013-02-03 KwangYong Choi <ky0.choi@samsung.com>
  705. Fix build warning after r141473
  706. https://bugs.webkit.org/show_bug.cgi?id=108782
  707. Reviewed by Kentaro Hara.
  708. Fix -Wunused-parameter build warning.
  709. * WebCoreSupport/EditorClientQt.cpp:
  710. (WebCore::EditorClientQt::getClientPasteboardDataForRange):
  711. 2013-02-01 Simon Hausmann <simon.hausmann@digia.com>
  712. [Qt] Make QWebHistory unit tests more robust
  713. Reviewed by Jocelyn Turcotten.
  714. The tests were using a QEventLoop::exec() call to verify the emission
  715. of the loadFinished() signal after calling for example back() or forward().
  716. However sometimes the call to back() may emit the signal immediately and
  717. sometimes async, causing instabilities in test runs. The call to exec()
  718. also means that if there was a bug then the rest would hang forever because
  719. exec() has no timeout.
  720. This patch introduces a simple SignalBarrier class that solves both issues:
  721. (1) ensureSignalEmitted() supports the immediate signal emission case as well
  722. as the async one.
  723. (2) Through the use of QSignalSpy's wait() there's an actual timeout.
  724. * tests/qwebhistory/tst_qwebhistory.cpp:
  725. (tst_QWebHistory::init):
  726. (tst_QWebHistory::cleanup):
  727. (tst_QWebHistory::back):
  728. (tst_QWebHistory::forward):
  729. (tst_QWebHistory::goToItem):
  730. (tst_QWebHistory::serialize_2):
  731. * tests/util.h:
  732. (waitForSignal):
  733. (SignalBarrier):
  734. (SignalBarrier::SignalBarrier):
  735. (SignalBarrier::ensureSignalEmitted):
  736. 2013-02-01 Simon Hausmann <simon.hausmann@digia.com>
  737. [Qt] Fix hanging deleteQWebViewTwice test
  738. Reviewed by Allan Sandfeld Jensen.
  739. Don't use QCoreApplication::instance()->exec(), because in case of a bug
  740. that never finishes. Instead use waitForSignal() which has the concept of
  741. a timeout.
  742. * tests/qwebpage/tst_qwebpage.cpp:
  743. (tst_QWebPage::deleteQWebViewTwice):
  744. 2013-02-01 Simon Hausmann <simon.hausmann@digia.com>
  745. [Qt] Skip hanging WebGL software fallback tests
  746. Reviewed by Allan Sandfeld Jensen.
  747. See also https://bugs.webkit.org/show_bug.cgi?id=105820.
  748. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  749. (tst_QGraphicsWebView::webglSoftwareFallbackVerticalOrientation):
  750. (tst_QGraphicsWebView::webglSoftwareFallbackHorizontalOrientation):
  751. 2013-02-01 Pierre Rossi <pierre.rossi@digia.com>
  752. [Qt] visibility of embedded widget
  753. https://bugs.webkit.org/show_bug.cgi?id=108327
  754. Rubber-stamped by Simon Hausmann.
  755. In overriding Widget::hide in QtPluginWidget, we forgot to call the
  756. parent implementation, which as it turns, out does sensible stuff.
  757. * WebCoreSupport/FrameLoaderClientQt.cpp:
  758. 2013-02-01 Pierre Rossi <pierre.rossi@digia.com>
  759. [Qt] visibility of embedded widget
  760. https://bugs.webkit.org/show_bug.cgi?id=108327
  761. Rubber-stamped by Simon Hausmann.
  762. In overriding Widget::show in QtPluginWidget, we forgot to call the
  763. parent implementation, which as it turns, out does sensible stuff.
  764. * WebCoreSupport/FrameLoaderClientQt.cpp:
  765. 2013-01-31 Enrica Casucci <enrica@apple.com>
  766. WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
  767. https://bugs.webkit.org/show_bug.cgi?id=108396.
  768. <rdar://problem/12920461>
  769. Reviewed by Alexey Proskuryakov.
  770. Adds stub implementation for WebKit of the new EditorClient methods.
  771. * WebCoreSupport/EditorClientQt.cpp:
  772. (WebCore::EditorClientQt::willWriteSelectionToPasteboard):
  773. (WebCore::EditorClientQt::getClientPasteboardDataForRange):
  774. * WebCoreSupport/EditorClientQt.h:
  775. 2013-01-30 Allan Sandfeld Jensen <allan.jensen@digia.com>
  776. [Qt] Fix minimal build after r141259.
  777. Unreviewed build fix.
  778. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  779. (DumpRenderTreeSupportQt::clearNotificationPermissions):
  780. 2013-01-26 Philippe Normand <pnormand@igalia.com>
  781. [GStreamer] USE(NATIVE_FULLSCREEN_VIDEO) support
  782. https://bugs.webkit.org/show_bug.cgi?id=106760
  783. Reviewed by Gustavo Noronha Silva.
  784. Build fixes for GStreamer NATIVE_FULLSCREEN_VIDEO support. Some
  785. more changes will be needed to use the new
  786. FullscreenVideoController though.
  787. * WebCoreSupport/ChromeClientQt.cpp:
  788. (WebCore::ChromeClientQt::ChromeClientQt):
  789. (WebCore::ChromeClientQt::~ChromeClientQt):
  790. * WebCoreSupport/FullScreenVideoQt.cpp:
  791. (WebCore):
  792. (WebCore::FullScreenVideoQt::FullScreenVideoQt):
  793. (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
  794. (WebCore::FullScreenVideoQt::enterFullScreenForNode):
  795. (WebCore::FullScreenVideoQt::exitFullScreenForNode):
  796. (WebCore::FullScreenVideoQt::isValid):
  797. * WebCoreSupport/FullScreenVideoQt.h:
  798. (WebCore):
  799. (FullScreenVideoQt):
  800. 2013-01-30 Allan Sandfeld Jensen <allan.jensen@digia.com>
  801. [Qt][WK1] Support better testing of Web Notifications
  802. https://bugs.webkit.org/show_bug.cgi?id=107696
  803. Reviewed by Jocelyn Turcotte.
  804. Implement support for the DRT to clear notification permissions.
  805. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  806. (DumpRenderTreeSupportQt::clearNotificationPermissions):
  807. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  808. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  809. (WebCore::NotificationPresenterClientQt::clearCachedPermissions):
  810. (WebCore):
  811. * WebCoreSupport/NotificationPresenterClientQt.h:
  812. (NotificationPresenterClientQt):
  813. 2013-01-30 Huang Dongsung <luxtella@company100.net>
  814. [TexMap] Remove GraphicsLayer in TextureMapperLayer.
  815. https://bugs.webkit.org/show_bug.cgi?id=107073
  816. Reviewed by Noam Rosenthal.
  817. Include GraphicsLayerTextureMapper.h to use toTextureMapperLayer().
  818. * WebCoreSupport/TextureMapperLayerClientQt.cpp:
  819. 2013-01-30 Allan Sandfeld Jensen <allan.jensen@digia.com>
  820. [Qt][WK1] Remember denied permission for notifications
  821. https://bugs.webkit.org/show_bug.cgi?id=107694
  822. Reviewed by Jocelyn Turcotte.
  823. Store denied permissions. According to the specification, we should
  824. ask the user again if he has already granted or denied permission.
  825. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  826. (WebCore::NotificationPresenterClientQt::requestPermission):
  827. (WebCore::NotificationPresenterClientQt::setNotificationsAllowedForFrame):
  828. * WebCoreSupport/NotificationPresenterClientQt.h:
  829. (NotificationPresenterClientQt):
  830. * WebCoreSupport/QWebPageAdapter.cpp:
  831. (QWebPageAdapter::setNotificationsAllowedForFrame):
  832. * WebCoreSupport/QWebPageAdapter.h:
  833. * WidgetApi/qwebpage.cpp:
  834. (QWebPage::setFeaturePermission):
  835. 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
  836. Unreviewed, rolling out r140983.
  837. http://trac.webkit.org/changeset/140983
  838. https://bugs.webkit.org/show_bug.cgi?id=108277
  839. Unfortunately, this API has one last client (Requested by
  840. abarth on #webkit).
  841. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  842. (WebCore::NotificationPresenterClientQt::displayNotification):
  843. (WebCore::NotificationPresenterClientQt::cancel):
  844. (WebCore::NotificationPresenterClientQt::notificationClicked):
  845. (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue):
  846. (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
  847. (WebCore::NotificationPresenterClientQt::dumpShowText):
  848. 2013-01-29 Michael Brüning <michael.bruning@digia.com>
  849. [Qt][WK1] Fix QObject Bridge tests expected output.
  850. https://bugs.webkit.org/show_bug.cgi?id=107827
  851. Reviewed by Simon Hausmann.
  852. The "not a function" TypeError now includes the call that caused the error.
  853. Correct expected values accordingly.
  854. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  855. (tst_QObjectBridge::connectAndDisconnect):
  856. 2013-01-28 Huang Dongsung <luxtella@company100.net>
  857. [TexMap] Enable debug borders and repaint counter via Settings.
  858. https://bugs.webkit.org/show_bug.cgi?id=107198
  859. Reviewed by Benjamin Poulain.
  860. If WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS is set to 1, set
  861. showDebugBorders and showRepaintCounter in Settings to true.
  862. * Api/qwebsettings.cpp:
  863. (QWebSettingsPrivate::apply):
  864. 2013-01-24 Hajime Morrita <morrita@google.com>
  865. There are a few of wrong removeAllChildren() call
  866. https://bugs.webkit.org/show_bug.cgi?id=107790
  867. Reviewed by Ryosuke Niwa.
  868. * Api/qwebelement.cpp: Repalced removeAllChildren() with safer removeChildren()
  869. (QWebElement::removeAllChildren):
  870. 2013-01-23 Shinya Kawanaka <shinyak@chromium.org>
  871. shadowAncestorNode() should be renamed to deprecatedShadowAncestorNode()
  872. https://bugs.webkit.org/show_bug.cgi?id=107624
  873. Reviewed by Dimitri Glazkov.
  874. Since Node::shadowAncestorNode() is deprecated, we would like to rename it to prevent from further use.
  875. * WebCoreSupport/QWebPageAdapter.cpp:
  876. (QWebPageAdapter::inputMethodEvent):
  877. (QWebPageAdapter::inputMethodQuery):
  878. 2013-01-22 Anders Carlsson <andersca@apple.com>
  879. Use a platforom strategy for local storage
  880. https://bugs.webkit.org/show_bug.cgi?id=107600
  881. Reviewed by Andreas Kling.
  882. Update for new storage strategy.
  883. * WebCoreSupport/PlatformStrategiesQt.cpp:
  884. (PlatformStrategiesQt::createStorageStrategy):
  885. * WebCoreSupport/PlatformStrategiesQt.h:
  886. (PlatformStrategiesQt):
  887. 2013-01-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
  888. [Qt][WK1] Permission request callbacks for non-legacy notifications
  889. https://bugs.webkit.org/show_bug.cgi?id=107438
  890. Reviewed by Jocelyn Turcotte.
  891. Tracks the new callbacks the same way legacy callbacks are tracked.
  892. No test affected yet as we are still lacking support for testing
  893. feature permission callbacks.
  894. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  895. (WebCore::NotificationPresenterClientQt::requestPermission):
  896. (WebCore::NotificationPresenterClientQt::allowNotificationForFrame):
  897. * WebCoreSupport/NotificationPresenterClientQt.h:
  898. (NotificationPresenterClientQt):
  899. (CallbacksInfo):
  900. 2013-01-21 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  901. [Qt] Update the documentation about the storage of inspector settings
  902. https://bugs.webkit.org/show_bug.cgi?id=106777
  903. Reviewed by Allan Sandfeld Jensen.
  904. Since r76770, QSettings isn't queried anymore to persist inspector
  905. settings like whether or not the debugger is enabled by default.
  906. It still seems to be used for the default attach height.
  907. Update the documentation accordingly.
  908. * WidgetApi/qwebinspector.cpp:
  909. 2013-01-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
  910. [Qt] Crash in gmail on enabling desktop notifications
  911. https://bugs.webkit.org/show_bug.cgi?id=106699
  912. Patch by David Rosca.
  913. Reviewed by Jocelyn Turcotte.
  914. Protect against callback that may be null. This also matches WebKit2 behaviour.
  915. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  916. (WebCore::NotificationPresenterClientQt::allowNotificationForFrame):
  917. 2013-01-18 Shinya Kawanaka <shinyak@chromium.org>
  918. Introduce isHTMLTextFormControlElement and toHTMLTextFormControlElement instead of toTextFormControl
  919. https://bugs.webkit.org/show_bug.cgi?id=107089
  920. Reviewed by Kent Tamura.
  921. Updated code to use isHTMLTextFormControlElement and toHTMLTextFormControlElement combination instead of
  922. toTextFormControl.
  923. * WebCoreSupport/QWebPageAdapter.cpp:
  924. (QWebPageAdapter::inputMethodEvent):
  925. 2013-01-18 Seokju Kwon <seokju.kwon@gmail.com>
  926. Add explicit keyword to constructors in platform-specific InspectorClient
  927. https://bugs.webkit.org/show_bug.cgi?id=107255
  928. Reviewed by Kentaro Hara.
  929. Add explicit keyword to constructors that take one argument
  930. in platform-specific implementation of InspectorClient.
  931. * WebCoreSupport/InspectorClientQt.h:
  932. (InspectorClientQt):
  933. 2013-01-16 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  934. [Qt] Use the shared HistoryItem serialization for QWebHistory
  935. https://bugs.webkit.org/show_bug.cgi?id=106671
  936. Reviewed by Allan Sandfeld Jensen.
  937. Bump the serialization version and change the code to abort the
  938. restore of a previous stream version rather than trying to keep the
  939. support of restoring previous versions. This is mainly to simplify
  940. things given that HistoryItem itself aborts in that case.
  941. * Api/qwebhistory.cpp:
  942. (operator<<):
  943. (operator>>):
  944. * tests/qwebhistory/tst_qwebhistory.cpp:
  945. (tst_QWebHistory::serialize_2): Modify the test to cover same-document navigations.
  946. (tst_QWebHistory::restoreIncompatibleVersion1): Add a previous version
  947. hard-coded stream to verify that the deserialization doesn't hang or
  948. crash.
  949. 2013-01-16 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  950. [Qt] Crash in WebCore::CachedFrame::destroy
  951. https://bugs.webkit.org/show_bug.cgi?id=104525
  952. Reviewed by Adam Barth.
  953. Remove the call to HistoryController::setCurrentItem which is ultimately
  954. causing the initial empty document of a page to be added to the page cache.
  955. This re-introduce the bug that was fixed by this line, which will be
  956. properly fixed in a follow-up patch.
  957. * Api/qwebhistory.cpp:
  958. (operator>>):
  959. * tests/qwebhistory/tst_qwebhistory.cpp:
  960. (tst_QWebHistory::saveAndRestore_crash_4): Cover the crash.
  961. 2013-01-11 Huang Dongsung <luxtella@company100.net>
  962. [TexMap] Rename current[Transform|Opacity|Filters] in TextureMapperLayer.
  963. https://bugs.webkit.org/show_bug.cgi?id=105760
  964. Reviewed by Noam Rosenthal.
  965. TextureMapperLayerClientQt uses setTransform() and setOpacity() in
  966. GraphicsLayer instead of TextureMapperLayer like LayerTreeRenderer.
  967. This removes unnecessary public API for TextureMapperLayer.
  968. * WebCoreSupport/TextureMapperLayerClientQt.cpp:
  969. (TextureMapperLayerClientQt::renderCompositedLayers):
  970. 2013-01-11 Allan Sandfeld Jensen <allan.jensen@digia.com>
  971. [Qt][WK1] Web Audio support
  972. https://bugs.webkit.org/show_bug.cgi?id=106651
  973. Reviewed by Jocelyn Turcotte.
  974. Expose setting to enable WebAudio at runtime.
  975. * Api/qwebsettings.cpp:
  976. (QWebSettingsPrivate::apply):
  977. (QWebSettings::QWebSettings):
  978. * Api/qwebsettings.h:
  979. 2013-01-08 Mark Lam <mark.lam@apple.com>
  980. Removed the need for the ProposedDatabase mechanism.
  981. https://bugs.webkit.org/show_bug.cgi?id=106292.
  982. Reviewed by Sam Weinig.
  983. * WebCoreSupport/ChromeClientQt.cpp:
  984. * WebCoreSupport/ChromeClientQt.h:
  985. (ChromeClientQt):
  986. 2013-01-07 Mike West <mkwst@chromium.org>
  987. [qt] Fix ENABLE_IFRAME_SEAMLESS=0 builds.
  988. https://bugs.webkit.org/show_bug.cgi?id=106252
  989. Reviewed by Eric Seidel.
  990. Wrap the call to setSeamlessIFramesEnabled in an ifdef in order
  991. to ensure that it's only called when IFRAME_SEAMLESS is enabled.
  992. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  993. (DumpRenderTreeSupportQt::setSeamlessIFramesEnabled):
  994. 2013-01-07 Mike West <mkwst@chromium.org>
  995. Make the IFRAME_SEAMLESS flag runtime-enabled.
  996. https://bugs.webkit.org/show_bug.cgi?id=106213
  997. Reviewed by Ojan Vafai.
  998. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  999. (DumpRenderTreeSupportQt::setSeamlessIFramesEnabled):
  1000. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  1001. Add a toggle for seamless IFrames to QT's DRTSuport.
  1002. 2013-01-07 Michael Brüning <michael.bruning@digia.com>
  1003. [Qt] Apply correct patch for the scrolling issue from bug 105014
  1004. https://bugs.webkit.org/show_bug.cgi?id=106219
  1005. Correct the if condition when overwriting the layout direction option
  1006. with the values from the facade options to only overwrite if the facade
  1007. direction is not equal to LayoutDirectionAuto.
  1008. Reviewed by Allan Sandfeld Jensen.
  1009. * WidgetSupport/QStyleFacadeImp.cpp:
  1010. (WebKit::initGenericStyleOption):
  1011. 2013-01-07 Michael Brüning <michael.bruning@digia.com>
  1012. [Qt] Horizontal scrollbars events are offseted making them difficult to use
  1013. https://bugs.webkit.org/show_bug.cgi?id=105014
  1014. Reviewed by Allan Sandfeld Jensen.
  1015. Patch co-authored by Simon Hausmann.
  1016. Only copy the layout direction from the facade options if the
  1017. current option is Qt::LayoutDirectionAuto in order to prevent
  1018. misinterpretations as different layout direction when hit testing.
  1019. Tests added to tst_qwebview and tst_qgraphicswebview to verify
  1020. that the view actually is scrolled in the right direction.
  1021. * WidgetSupport/QStyleFacadeImp.cpp:
  1022. (WebKit::initGenericStyleOption):
  1023. * tests/qgraphicswebview/resources/scrolltest_page.html: Added.
  1024. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  1025. (tst_QGraphicsWebView):
  1026. (tst_QGraphicsWebView::horizontalScrollbarTest):
  1027. * tests/qgraphicswebview/tst_qgraphicswebview.qrc:
  1028. * tests/qwebview/resources/scrolltest_page.html: Added.
  1029. * tests/qwebview/tst_qwebview.cpp:
  1030. (tst_QWebView):
  1031. (tst_QWebView::horizontalScrollbarTest):
  1032. * tests/qwebview/tst_qwebview.qrc:
  1033. 2012-12-23 Alexey Proskuryakov <ap@apple.com>
  1034. <rdar://problem/12808377> Network process should respect cookie accept policy
  1035. https://bugs.webkit.org/show_bug.cgi?id=105684
  1036. Reviewed by Sam Weinig.
  1037. * WebCoreSupport/PlatformStrategiesQt.cpp:
  1038. * WebCoreSupport/PlatformStrategiesQt.h:
  1039. CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
  1040. 2012-12-22 Alexey Proskuryakov <ap@apple.com>
  1041. Add a separate class for networking related storage
  1042. https://bugs.webkit.org/show_bug.cgi?id=105676
  1043. Reviewed by Sam Weinig.
  1044. * WebCoreSupport/PlatformStrategiesQt.cpp:
  1045. (PlatformStrategiesQt::cookiesForDOM):
  1046. (PlatformStrategiesQt::setCookiesFromDOM):
  1047. (PlatformStrategiesQt::cookiesEnabled):
  1048. (PlatformStrategiesQt::cookieRequestHeaderFieldValue):
  1049. (PlatformStrategiesQt::getRawCookies):
  1050. (PlatformStrategiesQt::deleteCookie):
  1051. * WebCoreSupport/PlatformStrategiesQt.h:
  1052. Cookie functions now take a NetworkStorageSession, not a NetworkingContext.
  1053. * WebCoreSupport/QWebFrameAdapter.cpp:
  1054. * WebCoreSupport/QWebPageAdapter.cpp:
  1055. Updated for ResourceHandle include changes.
  1056. 2012-12-18 Alexey Proskuryakov <ap@apple.com>
  1057. Remove unnecessary functions from CookiesStrategy
  1058. https://bugs.webkit.org/show_bug.cgi?id=105369
  1059. Reviewed by Brady Eidson.
  1060. * WebCoreSupport/PlatformStrategiesQt.cpp:
  1061. * WebCoreSupport/PlatformStrategiesQt.h:
  1062. 2012-12-17 Oswald Buddenhagen <oswald.buddenhagen@digia.com>
  1063. [Qt] remove some unnecessary CONFIG additions
  1064. Reviewed by Simon Hausmann.
  1065. qt is already added by spec_pre.prf, warn_on and depend_includepath by
  1066. default_pre.prf.
  1067. * declarative/experimental/experimental.pri:
  1068. * declarative/public.pri:
  1069. 2012-12-15 Anders Carlsson <andersca@apple.com>
  1070. Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
  1071. https://bugs.webkit.org/show_bug.cgi?id=105122
  1072. Reviewed by Andreas Kling.
  1073. Update for WebCore changes.
  1074. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1075. (WebCore::FrameLoaderClientQt::convertMainResourceLoadToDownload):
  1076. * WebCoreSupport/FrameLoaderClientQt.h:
  1077. (FrameLoaderClientQt):
  1078. 2012-12-15 Mark Lam <mark.lam@apple.com>
  1079. Re-landing patch for "Introducing the DatabaseStrategy and database servers".
  1080. https://bugs.webkit.org/show_bug.cgi?id=104934.
  1081. Not reviewed.
  1082. Merged from r137767. Previously reviewed by Sam Weinig.
  1083. * WebCoreSupport/PlatformStrategiesQt.cpp:
  1084. (PlatformStrategiesQt::createDatabaseStrategy):
  1085. * WebCoreSupport/PlatformStrategiesQt.h:
  1086. (PlatformStrategiesQt):
  1087. 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
  1088. Unreviewed, rolling out r137767.
  1089. http://trac.webkit.org/changeset/137767
  1090. https://bugs.webkit.org/show_bug.cgi?id=105062
  1091. Broke Mac builds. (Requested by mlam on #webkit).
  1092. * WebCoreSupport/PlatformStrategiesQt.cpp:
  1093. * WebCoreSupport/PlatformStrategiesQt.h:
  1094. (PlatformStrategiesQt):
  1095. 2012-12-14 Mark Lam <mark.lam@apple.com>
  1096. Introducing the DatabaseStrategy and database servers.
  1097. https://bugs.webkit.org/show_bug.cgi?id=104934.
  1098. Reviewed by Sam Weinig.
  1099. The database server is currently a placeholder that does nothing.
  1100. * WebCoreSupport/PlatformStrategiesQt.cpp:
  1101. (PlatformStrategiesQt::createDatabaseStrategy):
  1102. * WebCoreSupport/PlatformStrategiesQt.h:
  1103. (PlatformStrategiesQt):
  1104. 2012-12-13 Jerome Pasion <jerome.pasion@digia.com>
  1105. [Qt] Doc: Fixing Qt WebKit reference documentation.
  1106. Reviewed by Simon Hausmann.
  1107. Fixes:
  1108. -added \module for C++ classes and \qmlmodule for QML types
  1109. -added links to the Qt WebKit Examples pages
  1110. -fixed the qhp settings for Qt Creator
  1111. Task-number: QTBUG-28583
  1112. Task-number: QTBUG-28418
  1113. Task-number: QTBUG-27646
  1114. * docs/qtwebkit.qdoc:
  1115. 2012-12-12 Mark Lam <mark.lam@apple.com>
  1116. Encapsulate externally used webdatabase APIs in DatabaseManager.
  1117. https://bugs.webkit.org/show_bug.cgi?id=104741.
  1118. Reviewed by Sam Weinig.
  1119. Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
  1120. and DatabaseContext directly. This is to prepare for upcoming webkit2
  1121. refactoring.
  1122. * Api/qwebdatabase.cpp:
  1123. (QWebDatabase::displayName):
  1124. (QWebDatabase::expectedSize):
  1125. (QWebDatabase::size):
  1126. (QWebDatabase::fileName):
  1127. (QWebDatabase::removeDatabase):
  1128. (QWebDatabase::removeAllDatabases):
  1129. * Api/qwebsecurityorigin.cpp:
  1130. (QWebSecurityOrigin::databaseUsage):
  1131. (QWebSecurityOrigin::databaseQuota):
  1132. (QWebSecurityOrigin::setDatabaseQuota):
  1133. (QWebSecurityOrigin::allOrigins):
  1134. (QWebSecurityOrigin::databases):
  1135. * Api/qwebsettings.cpp:
  1136. (QWebSettingsPrivate::apply):
  1137. (QWebSettings::setOfflineStoragePath):
  1138. (QWebSettings::offlineStoragePath):
  1139. * WebCoreSupport/ChromeClientQt.cpp:
  1140. 2012-12-12 Alexey Proskuryakov <ap@apple.com>
  1141. Make LOG() work in WebProcess and NetworkProcess
  1142. https://bugs.webkit.org/show_bug.cgi?id=104718
  1143. Reviewed by Tim Horton.
  1144. * WebCoreSupport/InitWebCoreQt.cpp: Include InitializeLogging.h
  1145. 2012-12-11 Mike West <mkwst@chromium.org>
  1146. Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
  1147. https://bugs.webkit.org/show_bug.cgi?id=66371
  1148. Reviewed by Pavel Feldman.
  1149. Drops WebCore::MessageType from the addMessageToConsole method.
  1150. * WebCoreSupport/ChromeClientQt.cpp:
  1151. (WebCore::ChromeClientQt::addMessageToConsole):
  1152. * WebCoreSupport/ChromeClientQt.h:
  1153. (ChromeClientQt):
  1154. 2012-12-11 Stephen Kelly <stephen.kelly@kdab.com>
  1155. WebKit tests for the Qt API should include tests of CMake config files
  1156. https://bugs.webkit.org/show_bug.cgi?id=104003
  1157. Reviewed by Simon Hausmann.
  1158. The Qt WebKit CI system is not going to run this test, but it can
  1159. be run locally and to test packages.
  1160. * tests/cmake/CMakeLists.txt: Added.
  1161. * tests/cmake/cmake.pro: Added.
  1162. 2012-12-10 Andy Shaw <andy.shaw@digia.com>
  1163. Check that plugin functionality is enabled before querying the database for installed plugins.
  1164. https://bugs.webkit.org/show_bug.cgi?id=73671
  1165. Reviewed by Jocelyn Turcotte.
  1166. * WebCoreSupport/FrameLoaderClientQt.cpp:
  1167. (WebCore::FrameLoaderClientQt::objectContentType):
  1168. 2012-12-07 Sergio Martins <sergio.martins@kdab.com>
  1169. [Qt][Qnx] Fix QNX build by adding missing include.
  1170. https://bugs.webkit.org/show_bug.cgi?id=104359
  1171. Reviewed by Jocelyn Turcotte.
  1172. It's where WEBKIT_EXPORTDATA is defined, so include it. Not sure why other
  1173. platforms aren't failing.
  1174. * WebCoreSupport/QWebPageAdapter.h:
  1175. 2012-12-06 Pierre Rossi <pierre.rossi@gmail.com>
  1176. [Qt] QWebView uses the mobile style and doesn't follow Qt's style
  1177. https://bugs.webkit.org/show_bug.cgi?id=104134
  1178. Reviewed by Simon Hausmann.
  1179. Another issue introduced by r136235.
  1180. Fix the order of initialization of the styleFactory and creation of the
  1181. WebCore Page. Since the latter has a RenderTheme member and the creation
  1182. of the appropriate RenderTheme type (QStyle-backed) is dependant on having
  1183. first initialized the theme factory function, we need to postpone this just
  1184. a little bit.
  1185. * WebCoreSupport/QWebPageAdapter.cpp:
  1186. (QWebPageAdapter::QWebPageAdapter):
  1187. (QWebPageAdapter::initializeWebCorePage): Added.
  1188. * WebCoreSupport/QWebPageAdapter.h:
  1189. * WidgetApi/qwebpage.cpp:
  1190. (QWebPagePrivate::QWebPagePrivate): call initializeWebCorePage only after
  1191. having initialized WebKitWidgets related logic (QStyle hooks in this case).
  1192. 2012-12-05 Zeno Albisser <zeno@webkit.org>
  1193. [Qt][Mac] QWebView disappears when the system tries to hide the scrollbars.
  1194. https://bugs.webkit.org/show_bug.cgi?id=104116
  1195. This is a workaround for an issue in Qt that was
  1196. caused by Change-Id: I2000fa50d46b153e981ceafc12a53932a196382e
  1197. in qtbase.
  1198. Since we are drawing the scrollbars by ourselves, there is no
  1199. widget available that needs to be hidden by the style.
  1200. Therefore we have to disable transient scrollbar
  1201. animations on Mac.
  1202. Patch by: J-P Nurmi <jpnurmi@digia.com>
  1203. Reviewed by Simon Hausmann.
  1204. * WidgetSupport/QStyleFacadeImp.cpp:
  1205. (WebKit::QStyleFacadeImp::paintScrollBar):
  1206. 2012-12-04 Pierre Rossi <pierre.rossi@digia.com>
  1207. [Qt] Yet another unreviewed speculative windows build fix.
  1208. WebKit2 relies on the QWEBKIT_EXPORT macro from WebKit1 as well.
  1209. * Api/qwebkitglobal.h:
  1210. 2012-12-03 Pierre Rossi <pierre.rossi@digia.com>
  1211. [Qt] Unreviewed speculative Windows buildfix.
  1212. Somehow it seems messing around with the export macros made some old issues resurface.
  1213. * Api/qwebsettings.cpp:
  1214. (qt_networkAccessAllowed):
  1215. * Api/qwebsettings.h:
  1216. * Api/qwebkitglobal.h: fix an obvious blunder from r136394.
  1217. 2012-12-03 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  1218. Document::initSecurityContext() fails to call securityOrigin().grantLoadLocalResources()
  1219. https://bugs.webkit.org/show_bug.cgi?id=68711
  1220. Reviewed by Adam Barth.
  1221. * tests/qwebpage/tst_qwebpage.cpp:
  1222. (tst_QWebPage::testStopScheduledPageRefresh): Unmark the expected failure.
  1223. 2012-12-03 Pierre Rossi <pierre.rossi@digia.com>
  1224. [Qt] Use a separate QWEBKITWIDGETS_EXPORT macro for WebKitWidgets
  1225. https://bugs.webkit.org/show_bug.cgi?id=103844
  1226. Reviewed by Simon Hausmann.
  1227. Let's follow the common practice and have one export macro per library.
  1228. We can't rely on BUILDING_WEBKIT anymore in that case, so we use the
  1229. qmake defines instead.
  1230. * Api/qwebkitglobal.h: Updated the import/export logic.
  1231. * WidgetApi/qgraphicswebview.h: s/QWEBKIT/QWEBKITWIDGETS/
  1232. * WidgetApi/qwebframe.h: Ditto.
  1233. * WidgetApi/qwebinspector.h: Ditto.
  1234. * WidgetApi/qwebpage.h: Ditto.
  1235. * WidgetApi/qwebview.h: Ditto.
  1236. * WidgetSupport/InitWebKitQt.cpp:
  1237. (WebKit::initializeWebKitWidgets): use QWEBKITWIDGETS_EXPORT.
  1238. * WidgetSupport/InitWebKitQt.h:
  1239. (WebKit): Ditto.
  1240. 2012-11-30 Pierre Rossi <pierre.rossi@gmail.com>
  1241. [Qt] Introduce setTextSizeMultiplier in the page adapter as well.
  1242. Rubber-stamped by Simon Hausmann.
  1243. As it turns out it the bots didn't like the previous attempt.
  1244. * WebCoreSupport/QWebFrameAdapter.cpp:
  1245. (QWebFrameAdapter::setTextSizeMultiplier):
  1246. * WebCoreSupport/QWebFrameAdapter.h:
  1247. * WidgetApi/qwebframe.cpp:
  1248. (QWebFrame::setTextSizeMultiplier):
  1249. 2012-11-30 Pierre Rossi <pierre.rossi@gmail.com>
  1250. [Qt] Unreviewed build fix.
  1251. In the same vein as r136245. Include PlatformExportMacros proper.
  1252. * WebCoreSupport/QtPrintContext.h:
  1253. 2012-11-30 Simon Hausmann <simon.hausmann@digia.com>
  1254. Unreviewed prospective MIPS build fix:
  1255. Explicitly include PlatformExportMacros for the correct export macro to be find.
  1256. Not really MIPS specific but rather to a minimal build configuration with less implicit
  1257. includes.
  1258. * WebCoreSupport/UndoStepQt.h:
  1259. 2012-11-30 Pierre Rossi <pierre.rossi@gmail.com>
  1260. [Qt] Unreviewed build un-break
  1261. Revert r136243 and hope it served its purpose.
  1262. * WidgetApi/qwebpage.cpp:
  1263. (QWebPagePrivate::QWebPagePrivate):
  1264. 2012-11-30 Pierre Rossi <pierre.rossi@gmail.com>
  1265. [Qt] Unreviewed build break
  1266. Rubber-stamped by Simon Hausmann.
  1267. Poor man's way to trigger a clean build on a bot.
  1268. * WidgetApi/qwebpage.cpp:
  1269. (QWebPagePrivate::QWebPagePrivate):
  1270. 2012-11-30 Simon Hausmann <simon.hausmann@digia.com>
  1271. [Qt] Fix QML import installation with newer Qt
  1272. Reviewed by Tor Arne Vestbø.
  1273. The import path has been separated between QML1 and QML2. Use
  1274. QT_INSTALL_QML if it's available.
  1275. * declarative/experimental/experimental.pri:
  1276. * declarative/public.pri:
  1277. 2012-11-30 Simon Hausmann <simon.hausmann@digia.com>
  1278. Prospective build fix for --minimal build.
  1279. * WebCoreSupport/QWebPageAdapter.cpp:
  1280. (QWebPageAdapter::triggerAction):
  1281. (QWebPageAdapter::contextMenuItemTagForAction):
  1282. 2012-11-30 Pierre Rossi <pierre.rossi@gmail.com>
  1283. [Qt] Fix zoomIn/zoomOut related regression.
  1284. Reviewed by Simon Hausmann.
  1285. Following r136235, fix a case of refactoring gone wrong.
  1286. Implementing setTextSizeMultiplier in terms of
  1287. setZoomFactor, and not the other way around.
  1288. * WebCoreSupport/QWebFrameAdapter.cpp:
  1289. (QWebFrameAdapter::setZoomFactor):
  1290. * WidgetApi/qwebframe.cpp:
  1291. (QWebFrame::setTextSizeMultiplier):
  1292. 2012-11-30 Simon Hausmann <simon.hausmann@digia.com>, Pierre Rossi <pierre.rossi@digia.com>
  1293. [Qt] Separate Qt WebKit into Qt WebKit and Qt WebKit Widgets
  1294. https://bugs.webkit.org/show_bug.cgi?id=99314
  1295. Reviewed by Tor Arne Vestbø.
  1296. This big change separates QtWebKit into QtWebKit and QtWebKitWidgets as
  1297. shared libraries.
  1298. It's a big refactoring that mostly involves moving WebCore dependent
  1299. code into QtWebKit and accessing it through exported QWebFrameAdapter
  1300. and QWebPageAdapter classes.
  1301. The QtWebKit version macros are now generated by syncqt and the version
  1302. query functions have moved to qwebkitglobal.h, similar to qVersion() in
  1303. qglobal.h.
  1304. API wise qwebframe sees some small cleanups.
  1305. * Api/qwebelement.h:
  1306. * Api/qwebframe_p.h: Removed.
  1307. * Api/qwebhistory.h:
  1308. * Api/qwebkitglobal.cpp: Renamed from Source/WebKit/qt/Api/qwebkitversion.cpp.
  1309. (qWebKitVersion):
  1310. (qWebKitMajorVersion):
  1311. (qWebKitMinorVersion):
  1312. * Api/qwebkitglobal.h:
  1313. * Api/qwebkitversion.h: Removed.
  1314. * Api/qwebsecurityorigin.h:
  1315. * WebCoreSupport/ChromeClientQt.cpp:
  1316. (WebCore::ChromeClientQt::allowsAcceleratedCompositing):
  1317. * WebCoreSupport/ChromeClientQt.h:
  1318. (WebCore):
  1319. (ChromeClientQt):
  1320. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  1321. (DumpRenderTreeSupportQt::frameRenderTreeDump):
  1322. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  1323. * WebCoreSupport/InitWebCoreQt.cpp:
  1324. (WebKit):
  1325. (WebKit::setWebKitWidgetsInitCallback):
  1326. (WebKit::createStyleForPage):
  1327. (WebKit::initializeWebKitQt):
  1328. * WebCoreSupport/InitWebCoreQt.h:
  1329. (WebKit):
  1330. * WebCoreSupport/InspectorServerQt.cpp:
  1331. * WebCoreSupport/QWebFrameAdapter.cpp:
  1332. (QWebFrameAdapter::QWebFrameAdapter):
  1333. (QWebFrameAdapter::hasView):
  1334. (QWebFrameAdapter::handleGestureEvent):
  1335. (QWebFrameAdapter::evaluateJavaScript):
  1336. (QWebFrameAdapter::addToJavaScriptWindowObject):
  1337. (QWebFrameAdapter::toHtml):
  1338. (QWebFrameAdapter::toPlainText):
  1339. (QWebFrameAdapter::setContent):
  1340. (QWebFrameAdapter::setHtml):
  1341. (QWebFrameAdapter::metaData):
  1342. (QWebFrameAdapter::scrollPosition):
  1343. (QWebFrameAdapter::frameRect):
  1344. (QWebFrameAdapter::contentsSize):
  1345. (QWebFrameAdapter::setZoomFactor):
  1346. (QWebFrameAdapter::zoomFactor):
  1347. (QWebFrameAdapter::ensureAbsoluteUrl):
  1348. (QWebFrameAdapter::hitTestContent):
  1349. (QWebFrameAdapter::documentElement):
  1350. (QWebFrameAdapter::title):
  1351. (QWebFrameAdapter::clearCoreFrame):
  1352. (isCoreFrameClear):
  1353. (QWebFrameAdapter::baseUrl):
  1354. (QWebFrameAdapter::renderCompositedLayers):
  1355. (QWebFrameAdapter::coreFrameUrl):
  1356. (QWebFrameAdapter::lastRequestedUrl):
  1357. (QWebFrameAdapter::securityOrigin):
  1358. (QWebFrameAdapter::uniqueName):
  1359. (coalesceRectsIfPossible):
  1360. (QWebFrameAdapter::renderRelativeCoords):
  1361. (QWebFrameAdapter::renderFrameExtras):
  1362. (QWebFrameAdapter::setTiledBackingStoreFrozen):
  1363. (QWebFrameAdapter::tiledBackingStoreFrozen):
  1364. (QWebFrameAdapter::setTiledBackingStoreContentsScale):
  1365. (QWebFrameAdapter::renderFromTiledBackingStore):
  1366. (QWebFrameAdapter::_q_orientationChanged):
  1367. (QWebFrameAdapter::childFrames):
  1368. (QWebFrameAdapter::hasFocus):
  1369. (QWebFrameAdapter::setFocus):
  1370. (QWebFrameAdapter::setScrollBarPolicy):
  1371. (QWebFrameAdapter::scrollToAnchor):
  1372. (QWebFrameAdapter::scrollBy):
  1373. (QWebFrameAdapter::setScrollBarValue):
  1374. (QWebFrameAdapter::scrollBarValue):
  1375. (QWebFrameAdapter::scrollBarMaximum):
  1376. (QWebFrameAdapter::scrollBarGeometry):
  1377. (QWebFrameAdapter::horizontalScrollBar):
  1378. (QWebFrameAdapter::verticalScrollBar):
  1379. (QWebFrameAdapter::updateBackgroundRecursively):
  1380. (QWebFrameAdapter::cancelLoad):
  1381. (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
  1382. (QWebHitTestResultPrivate::operator=):
  1383. (QWebHitTestResultPrivate::~QWebHitTestResultPrivate):
  1384. (QWebHitTestResultPrivate::elementForInnerNode):
  1385. (QWebFrameAdapter::customLayoutSize):
  1386. (QWebFrameAdapter::setCustomLayoutSize):
  1387. (QWebFrameAdapter::setFixedVisibleContentRect):
  1388. (QWebFrameAdapter::setViewportSize):
  1389. (QWebFrameAdapter::setPaintsEntireContents):
  1390. (QWebFrameAdapter::setDelegatesScrolling):
  1391. * WebCoreSupport/QWebFrameAdapter.h:
  1392. (WebCore):
  1393. * WebCoreSupport/QWebPageAdapter.cpp:
  1394. (dropActionToDragOp):
  1395. (dragOpToDropAction):
  1396. (frameLoadRequest):
  1397. (openNewWindow):
  1398. (QWebPageAdapter::QWebPageAdapter):
  1399. (QWebPageAdapter::~QWebPageAdapter):
  1400. (QWebPageAdapter::deletePage):
  1401. (QWebPageAdapter::viewportArguments):
  1402. (QWebPageAdapter::hasSelection):
  1403. (QWebPageAdapter::selectedText):
  1404. (QWebPageAdapter::selectedHtml):
  1405. (QWebPageAdapter::isContentEditable):
  1406. (QWebPageAdapter::setContentEditable):
  1407. (QWebPageAdapter::findText):
  1408. (QWebPageAdapter::adjustPointForClicking):
  1409. (hasMouseListener):
  1410. (isClickableElement):
  1411. (isValidFrameOwner):
  1412. (QWebPageAdapter::TouchAdjuster::TouchAdjuster):
  1413. (QWebPageAdapter::TouchAdjuster::findCandidatePointForTouch):
  1414. (QWebPageAdapter::mouseMoveEvent):
  1415. (QWebPageAdapter::mousePressEvent):
  1416. (QWebPageAdapter::mouseDoubleClickEvent):
  1417. (QWebPageAdapter::mouseTripleClickEvent):
  1418. (QWebPageAdapter::mouseReleaseEvent):
  1419. (QWebPageAdapter::handleSoftwareInputPanel):
  1420. (QWebPageAdapter::wheelEvent):
  1421. (QWebPageAdapter::dragEntered):
  1422. (QWebPageAdapter::dragLeaveEvent):
  1423. (QWebPageAdapter::dragUpdated):
  1424. (QWebPageAdapter::performDrag):
  1425. (QWebPageAdapter::inputMethodEvent):
  1426. (QWebPageAdapter::inputMethodQuery):
  1427. (QWebPageAdapter::dynamicPropertyChangeEvent):
  1428. (adapterActionForContextMenuAction):
  1429. (descriptionForPlatformMenu):
  1430. (QWebPageAdapter::updatePositionDependentMenuActions):
  1431. (extractContentTypeFromHash):
  1432. (extractContentTypeFromPluginVector):
  1433. (QWebPageAdapter::supportedContentTypes):
  1434. (QWebPageAdapter::_q_cleanupLeakMessages):
  1435. (QWebPageAdapter::_q_onLoadProgressChanged):
  1436. (QWebPageAdapter::supportsContentType):
  1437. (QWebPageAdapter::didShowInspector):
  1438. (QWebPageAdapter::didCloseInspector):
  1439. (QWebPageAdapter::updateActionInternal):
  1440. (QWebPageAdapter::triggerAction):
  1441. (QWebPageAdapter::contextMenuItemTagForAction):
  1442. (QWebPageAdapter::allowNotificationsForFrame):
  1443. (QWebPageAdapter::addNotificationPresenterClient):
  1444. (QWebPageAdapter::hasSystemTrayIcon):
  1445. (QWebPageAdapter::setSystemTrayIcon):
  1446. (QWebPageAdapter::setGeolocationEnabledForFrame):
  1447. (QWebPageAdapter::defaultUserAgentString):
  1448. (QWebPageAdapter::treatSchemeAsLocal):
  1449. (QWebPageAdapter::currentFrame):
  1450. (QWebPageAdapter::hasFocusedNode):
  1451. (QWebPageAdapter::viewportAttributesForSize):
  1452. (QWebPageAdapter::handleKeyEvent):
  1453. (QWebPageAdapter::handleScrolling):
  1454. (QWebPageAdapter::focusInEvent):
  1455. (QWebPageAdapter::focusOutEvent):
  1456. (QWebPageAdapter::handleShortcutOverrideEvent):
  1457. (QWebPageAdapter::touchEvent):
  1458. (QWebPageAdapter::swallowContextMenuEvent):
  1459. * WebCoreSupport/QWebPageAdapter.h:
  1460. (WebCore):
  1461. * WebCoreSupport/QtPluginWidgetAdapter.cpp: Copied from Source/WebKit/qt/WebCoreSupport/InitWebKitQt.h.
  1462. (QtPluginWidgetAdapter::QtPluginWidgetAdapter):
  1463. * WebCoreSupport/QtPluginWidgetAdapter.h:
  1464. * WebCoreSupport/QtPrintContext.cpp: Added.
  1465. (QtPrintContext::QtPrintContext):
  1466. (QtPrintContext::~QtPrintContext):
  1467. (QtPrintContext::pageCount):
  1468. (QtPrintContext::spoolPage):
  1469. * WebCoreSupport/QtPrintContext.h: Renamed from Source/WebCore/platform/qt/QStyleFacade.cpp.
  1470. (WebCore):
  1471. * WebCoreSupport/TextureMapperLayerClientQt.cpp: Added.
  1472. (TextureMapperLayerClientQt::TextureMapperLayerClientQt):
  1473. (TextureMapperLayerClientQt::~TextureMapperLayerClientQt):
  1474. (TextureMapperLayerClientQt::syncRootLayer):
  1475. (TextureMapperLayerClientQt::markForSync):
  1476. (TextureMapperLayerClientQt::rootLayer):
  1477. (TextureMapperLayerClientQt::setRootGraphicsLayer):
  1478. (TextureMapperLayerClientQt::syncLayers):
  1479. (TextureMapperLayerClientQt::renderCompositedLayers):
  1480. * WebCoreSupport/TextureMapperLayerClientQt.h: Added.
  1481. (WebCore):
  1482. (TextureMapperLayerClientQt):
  1483. * WebCoreSupport/UndoStepQt.h:
  1484. * WidgetApi/qgraphicswebview.cpp: Renamed from Source/WebKit/qt/Api/qgraphicswebview.cpp.
  1485. (QGraphicsWebViewPrivate):
  1486. (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
  1487. (QGraphicsWebViewPrivate::overlay):
  1488. (QGraphicsWebViewPrivate::pageClient):
  1489. (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate):
  1490. (QGraphicsWebViewPrivate::_q_doLoadFinished):
  1491. (QGraphicsWebViewPrivate::_q_pageDestroyed):
  1492. (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
  1493. (QGraphicsWebViewPrivate::_q_contentsSizeChanged):
  1494. (QGraphicsWebViewPrivate::_q_scaleChanged):
  1495. (QGraphicsWebView::QGraphicsWebView):
  1496. (QGraphicsWebView::~QGraphicsWebView):
  1497. (QGraphicsWebView::page):
  1498. (QGraphicsWebView::paint):
  1499. (QGraphicsWebView::sceneEvent):
  1500. (QGraphicsWebView::itemChange):
  1501. (QGraphicsWebView::sizeHint):
  1502. (QGraphicsWebView::inputMethodQuery):
  1503. (QGraphicsWebView::renderHints):
  1504. (QGraphicsWebView::setRenderHints):
  1505. (QGraphicsWebView::setRenderHint):
  1506. (QGraphicsWebView::event):
  1507. (QGraphicsWebViewPrivate::detachCurrentPage):
  1508. (QGraphicsWebView::setPage):
  1509. (QGraphicsWebView::setUrl):
  1510. (QGraphicsWebView::url):
  1511. (QGraphicsWebView::title):
  1512. (QGraphicsWebView::icon):
  1513. (QGraphicsWebView::setZoomFactor):
  1514. (QGraphicsWebView::zoomFactor):
  1515. (QGraphicsWebView::updateGeometry):
  1516. (QGraphicsWebView::setGeometry):
  1517. (QGraphicsWebView::stop):
  1518. (QGraphicsWebView::back):
  1519. (QGraphicsWebView::forward):
  1520. (QGraphicsWebView::reload):
  1521. (QGraphicsWebView::load):
  1522. (QGraphicsWebView::setHtml):
  1523. (QGraphicsWebView::setContent):
  1524. (QGraphicsWebView::history):
  1525. (QGraphicsWebView::isModified):
  1526. (QGraphicsWebView::settings):
  1527. (QGraphicsWebView::pageAction):
  1528. (QGraphicsWebView::triggerPageAction):
  1529. (QGraphicsWebView::findText):
  1530. (QGraphicsWebView::setResizesToContents):
  1531. (QGraphicsWebView::resizesToContents):
  1532. (QGraphicsWebView::isTiledBackingStoreFrozen):
  1533. (QGraphicsWebView::setTiledBackingStoreFrozen):
  1534. (QGraphicsWebView::hoverMoveEvent):
  1535. (QGraphicsWebView::hoverLeaveEvent):
  1536. (QGraphicsWebView::mouseMoveEvent):
  1537. (QGraphicsWebView::mousePressEvent):
  1538. (QGraphicsWebView::mouseReleaseEvent):
  1539. (QGraphicsWebView::mouseDoubleClickEvent):
  1540. (QGraphicsWebView::keyPressEvent):
  1541. (QGraphicsWebView::keyReleaseEvent):
  1542. (QGraphicsWebView::focusInEvent):
  1543. (QGraphicsWebView::focusOutEvent):
  1544. (QGraphicsWebView::focusNextPrevChild):
  1545. (QGraphicsWebView::dragEnterEvent):
  1546. (QGraphicsWebView::dragLeaveEvent):
  1547. (QGraphicsWebView::dragMoveEvent):
  1548. (QGraphicsWebView::dropEvent):
  1549. (QGraphicsWebView::contextMenuEvent):
  1550. (QGraphicsWebView::wheelEvent):
  1551. (QGraphicsWebView::inputMethodEvent):
  1552. * WidgetApi/qgraphicswebview.h: Renamed from Source/WebKit/qt/Api/qgraphicswebview.h.
  1553. * WidgetApi/qwebframe.cpp: Renamed from Source/WebKit/qt/Api/qwebframe.cpp.
  1554. (QWebFramePrivate::setPage):
  1555. (QWebFramePrivate::emitUrlChanged):
  1556. (QWebFramePrivate::didStartProvisionalLoad):
  1557. (QWebFramePrivate::didClearWindowObject):
  1558. (QWebFramePrivate::handleProgressFinished):
  1559. (QWebFramePrivate::emitInitialLayoutCompleted):
  1560. (QWebFramePrivate::emitIconChanged):
  1561. (QWebFramePrivate::emitLoadStarted):
  1562. (QWebFramePrivate::emitLoadFinished):
  1563. (QWebFramePrivate::createChildFrame):
  1564. (QWebFramePrivate::apiHandle):
  1565. (QWebFramePrivate::handle):
  1566. (QWebFramePrivate::contentsSizeDidChange):
  1567. (QWebFramePrivate::scrollBarPolicy):
  1568. (QWebFrame::QWebFrame):
  1569. (QWebFrame::~QWebFrame):
  1570. (QWebFrame::addToJavaScriptWindowObject):
  1571. (QWebFrame::toHtml):
  1572. (QWebFrame::toPlainText):
  1573. (QWebFrame::title):
  1574. (QWebFrame::metaData):
  1575. (QWebFrame::setUrl):
  1576. (QWebFrame::url):
  1577. (QWebFrame::requestedUrl):
  1578. (QWebFrame::baseUrl):
  1579. (QWebFrame::icon):
  1580. (QWebFrame::frameName):
  1581. (QWebFrame::page):
  1582. (QWebFrame::load):
  1583. (QWebFrame::setHtml):
  1584. (QWebFrame::setContent):
  1585. (QWebFrame::parentFrame):
  1586. (QWebFrame::childFrames):
  1587. (QWebFrame::scrollBarPolicy):
  1588. (QWebFrame::setScrollBarPolicy):
  1589. (QWebFrame::setScrollBarValue):
  1590. (QWebFrame::scrollBarValue):
  1591. (QWebFrame::scrollBarMaximum):
  1592. (QWebFrame::scrollBarMinimum):
  1593. (QWebFrame::scrollBarGeometry):
  1594. (QWebFrame::scroll):
  1595. (QWebFrame::scrollPosition):
  1596. (QWebFrame::setScrollPosition):
  1597. (QWebFrame::scrollToAnchor):
  1598. (QWebFrame::render):
  1599. (QWebFrame::setTextSizeMultiplier):
  1600. (QWebFrame::textSizeMultiplier):
  1601. (QWebFrame::setZoomFactor):
  1602. (QWebFrame::zoomFactor):
  1603. (QWebFrame::hasFocus):
  1604. (QWebFrame::setFocus):
  1605. (QWebFrame::pos):
  1606. (QWebFrame::geometry):
  1607. (QWebFrame::contentsSize):
  1608. (QWebFrame::documentElement):
  1609. (QWebFrame::findAllElements):
  1610. (QWebFrame::findFirstElement):
  1611. (QWebFrame::hitTestContent):
  1612. (QWebFrame::event):
  1613. (QWebFrame::print):
  1614. (QWebFrame::evaluateJavaScript):
  1615. (QWebFrame::securityOrigin):
  1616. (QWebFramePrivate::kit):
  1617. (QWebHitTestResult::QWebHitTestResult):
  1618. (QWebHitTestResult::operator=):
  1619. (QWebHitTestResult::~QWebHitTestResult):
  1620. (QWebHitTestResult::isNull):
  1621. (QWebHitTestResult::pos):
  1622. (QWebHitTestResult::boundingRect):
  1623. (QWebHitTestResult::enclosingBlockElement):
  1624. (QWebHitTestResult::title):
  1625. (QWebHitTestResult::linkText):
  1626. (QWebHitTestResult::linkUrl):
  1627. (QWebHitTestResult::linkTitle):
  1628. (QWebHitTestResult::linkElement):
  1629. (QWebHitTestResult::linkTargetFrame):
  1630. (QWebHitTestResult::alternateText):
  1631. (QWebHitTestResult::imageUrl):
  1632. (QWebHitTestResult::pixmap):
  1633. (QWebHitTestResult::isContentEditable):
  1634. (QWebHitTestResult::isContentSelected):
  1635. (QWebHitTestResult::element):
  1636. (QWebHitTestResult::frame):
  1637. (QWebFrame::handle):
  1638. * WidgetApi/qwebframe.h: Renamed from Source/WebKit/qt/Api/qwebframe.h.
  1639. (WebCore):
  1640. * WidgetApi/qwebframe_p.h: Added.
  1641. (WebCore):
  1642. (QWebFramePrivate):
  1643. (QWebFramePrivate::QWebFramePrivate):
  1644. (QWebFramePrivate::parentFrame):
  1645. * WidgetApi/qwebinspector.cpp: Renamed from Source/WebKit/qt/Api/qwebinspector.cpp.
  1646. (QWebInspector::QWebInspector):
  1647. (QWebInspector::~QWebInspector):
  1648. (QWebInspector::setPage):
  1649. (QWebInspector::page):
  1650. (QWebInspector::sizeHint):
  1651. (QWebInspector::event):
  1652. (QWebInspector::resizeEvent):
  1653. (QWebInspector::showEvent):
  1654. (QWebInspector::hideEvent):
  1655. (QWebInspector::closeEvent):
  1656. (QWebInspectorPrivate::setFrontend):
  1657. (QWebInspectorPrivate::adjustFrontendSize):
  1658. * WidgetApi/qwebinspector.h: Renamed from Source/WebKit/qt/Api/qwebinspector.h.
  1659. * WidgetApi/qwebinspector_p.h: Renamed from Source/WebKit/qt/Api/qwebinspector_p.h.
  1660. (QWebInspectorPrivate):
  1661. (QWebInspectorPrivate::QWebInspectorPrivate):
  1662. * WidgetApi/qwebpage.cpp: Renamed from Source/WebKit/qt/Api/qwebpage.cpp.
  1663. (QWebPagePrivate::QWebPagePrivate):
  1664. (QWebPagePrivate::~QWebPagePrivate):
  1665. (QWebPagePrivate::show):
  1666. (QWebPagePrivate::setFocus):
  1667. (QWebPagePrivate::unfocus):
  1668. (QWebPagePrivate::setWindowRect):
  1669. (QWebPagePrivate::viewportSize):
  1670. (QWebPagePrivate::createWindow):
  1671. (QWebPagePrivate::javaScriptConsoleMessage):
  1672. (QWebPagePrivate::javaScriptAlert):
  1673. (QWebPagePrivate::javaScriptConfirm):
  1674. (QWebPagePrivate::javaScriptPrompt):
  1675. (QWebPagePrivate::shouldInterruptJavaScript):
  1676. (QWebPagePrivate::printRequested):
  1677. (QWebPagePrivate::databaseQuotaExceeded):
  1678. (QWebPagePrivate::applicationCacheQuotaExceeded):
  1679. (QWebPagePrivate::setToolTip):
  1680. (QWebPagePrivate::createFullScreenVideoHandler):
  1681. (QWebPagePrivate::mainFrameAdapter):
  1682. (QWebPagePrivate::chooseFiles):
  1683. (QWebPagePrivate::acceptNavigationRequest):
  1684. (QWebPagePrivate::emitRestoreFrameStateRequested):
  1685. (QWebPagePrivate::emitSaveFrameStateRequested):
  1686. (QWebPagePrivate::emitDownloadRequested):
  1687. (QWebPagePrivate::emitFrameCreated):
  1688. (QWebPagePrivate::errorPageExtension):
  1689. (QWebPagePrivate::createPlugin):
  1690. (QWebPagePrivate::adapterForWidget):
  1691. (QWebPagePrivate::createMainFrame):
  1692. (webActionForAdapterMenuAction):
  1693. (adapterMenuActionForWebAction):
  1694. (createContextMenu):
  1695. (QWebPagePrivate::createAndSetCurrentContextMenu):
  1696. (QWebPagePrivate::_q_webActionTriggered):
  1697. (QWebPagePrivate::updateAction):
  1698. (QWebPagePrivate::updateNavigationActions):
  1699. (QWebPagePrivate::inspectorHandle):
  1700. (QWebPagePrivate::setInspectorFrontend):
  1701. (QWebPagePrivate::setInspectorWindowTitle):
  1702. (QWebPagePrivate::createWebInspector):
  1703. (iterateContextMenu):
  1704. (QWebPagePrivate::menuActionsAsText):
  1705. (QWebPagePrivate::emitViewportChangeRequested):
  1706. (QWebPagePrivate::updateEditorActions):
  1707. (QWebPagePrivate::timerEvent):
  1708. (QWebPagePrivate::requestSoftwareInputPanel):
  1709. (QWebPagePrivate::contextMenuEvent):
  1710. (QWebPage::createStandardContextMenu):
  1711. (QWebPagePrivate::editorActionForKeyEvent):
  1712. (QWebPagePrivate::keyPressEvent):
  1713. (QWebPagePrivate::keyReleaseEvent):
  1714. (QWebPagePrivate::dragEnterEvent):
  1715. (QWebPagePrivate::dragMoveEvent):
  1716. (QWebPagePrivate::dropEvent):
  1717. (QWebPagePrivate::leaveEvent):
  1718. (QWebPage::setPalette):
  1719. (QWebPage::palette):
  1720. (QWebPagePrivate::shortcutOverrideEvent):
  1721. (QWebPagePrivate::gestureEvent):
  1722. (QWebPage::inputMethodQuery):
  1723. (QWebPagePrivate::setInspector):
  1724. (QWebPagePrivate::getOrCreateInspector):
  1725. (QWebPage::ViewportAttributes::ViewportAttributes):
  1726. (QWebPage::ViewportAttributes::~ViewportAttributes):
  1727. (QWebPage::ViewportAttributes::operator=):
  1728. (QWebPage::QWebPage):
  1729. (QWebPage::~QWebPage):
  1730. (QWebPage::mainFrame):
  1731. (QWebPage::currentFrame):
  1732. (QWebPage::frameAt):
  1733. (QWebPage::history):
  1734. (QWebPage::setView):
  1735. (QWebPage::view):
  1736. (QWebPage::javaScriptConsoleMessage):
  1737. (QWebPage::javaScriptAlert):
  1738. (QWebPage::javaScriptConfirm):
  1739. (QWebPage::javaScriptPrompt):
  1740. (QWebPage::shouldInterruptJavaScript):
  1741. (QWebPage::setFeaturePermission):
  1742. (QWebPage::createWindow):
  1743. (QWebPage::createPlugin):
  1744. (QWebPage::supportedContentTypes):
  1745. (QWebPage::supportsContentType):
  1746. (collectChildFrames):
  1747. (QWebPage::triggerAction):
  1748. (QWebPagePrivate::colorSelectionRequested):
  1749. (QWebPagePrivate::createSelectPopup):
  1750. (QWebPagePrivate::viewRectRelativeToWindow):
  1751. (QWebPagePrivate::geolocationPermissionRequested):
  1752. (QWebPagePrivate::geolocationPermissionRequestCancelled):
  1753. (QWebPagePrivate::notificationsPermissionRequested):
  1754. (QWebPagePrivate::notificationsPermissionRequestCancelled):
  1755. (QWebPagePrivate::respondToChangedContents):
  1756. (QWebPagePrivate::respondToChangedSelection):
  1757. (QWebPagePrivate::microFocusChanged):
  1758. (QWebPagePrivate::triggerCopyAction):
  1759. (QWebPagePrivate::triggerActionForKeyEvent):
  1760. (QWebPagePrivate::clearUndoStack):
  1761. (QWebPagePrivate::canUndo):
  1762. (QWebPagePrivate::canRedo):
  1763. (QWebPagePrivate::undo):
  1764. (QWebPagePrivate::redo):
  1765. (QWebPagePrivate::createUndoStep):
  1766. (QWebPagePrivate::editorCommandForKeyEvent):
  1767. (QWebPage::viewportSize):
  1768. (QWebPage::setViewportSize):
  1769. (getintenv):
  1770. (queryDeviceSizeForScreenContainingWidget):
  1771. (QWebPage::viewportAttributesForSize):
  1772. (QWebPage::preferredContentsSize):
  1773. (QWebPage::setPreferredContentsSize):
  1774. (QWebPage::setActualVisibleContentRect):
  1775. (QWebPage::acceptNavigationRequest):
  1776. (QWebPage::hasSelection):
  1777. (QWebPage::selectedText):
  1778. (QWebPage::selectedHtml):
  1779. (QWebPage::action):
  1780. (QWebPage::isModified):
  1781. (QWebPage::undoStack):
  1782. (QWebPage::event):
  1783. (QWebPage::focusNextPrevChild):
  1784. (QWebPage::setContentEditable):
  1785. (QWebPage::isContentEditable):
  1786. (QWebPage::setForwardUnsupportedContent):
  1787. (QWebPage::forwardUnsupportedContent):
  1788. (QWebPage::setLinkDelegationPolicy):
  1789. (QWebPage::linkDelegationPolicy):
  1790. (QWebPagePrivate::handleScrollbarContextMenuEvent):
  1791. (QWebPage::swallowContextMenuEvent):
  1792. (QWebPage::updatePositionDependentActions):
  1793. (QWebPage::extension):
  1794. (QWebPage::supportsExtension):
  1795. (QWebPage::handle):
  1796. (QWebPage::findText):
  1797. (QWebPage::settings):
  1798. (QWebPage::chooseFile):
  1799. (QWebPage::setNetworkAccessManager):
  1800. (QWebPage::networkAccessManager):
  1801. (QWebPage::setPluginFactory):
  1802. (QWebPage::pluginFactory):
  1803. (QWebPage::userAgentForUrl):
  1804. (QWebPage::totalBytes):
  1805. (QWebPage::bytesReceived):
  1806. * WidgetApi/qwebpage.h: Renamed from Source/WebKit/qt/Api/qwebpage.h.
  1807. (WebCore):
  1808. * WidgetApi/qwebpage_p.h: Renamed from Source/WebKit/qt/Api/qwebpage_p.h.
  1809. (WebCore):
  1810. (QtViewportAttributesPrivate):
  1811. (QtViewportAttributesPrivate::QtViewportAttributesPrivate):
  1812. (QWebPagePrivate):
  1813. * WidgetApi/qwebview.cpp: Renamed from Source/WebKit/qt/Api/qwebview.cpp.
  1814. (QWebViewPrivate):
  1815. (QWebViewPrivate::QWebViewPrivate):
  1816. (QWebViewPrivate::~QWebViewPrivate):
  1817. (QWebViewPrivate::_q_pageDestroyed):
  1818. (accessibleInterfaceFactory):
  1819. (QWebView::QWebView):
  1820. (QWebView::~QWebView):
  1821. (QWebView::page):
  1822. (QWebViewPrivate::detachCurrentPage):
  1823. (QWebView::setPage):
  1824. (QWebView::load):
  1825. (QWebView::setHtml):
  1826. (QWebView::setContent):
  1827. (QWebView::history):
  1828. (QWebView::settings):
  1829. (QWebView::title):
  1830. (QWebView::setUrl):
  1831. (QWebView::url):
  1832. (QWebView::icon):
  1833. (QWebView::hasSelection):
  1834. (QWebView::selectedText):
  1835. (QWebView::selectedHtml):
  1836. (QWebView::pageAction):
  1837. (QWebView::triggerPageAction):
  1838. (QWebView::isModified):
  1839. (QWebView::sizeHint):
  1840. (QWebView::setZoomFactor):
  1841. (QWebView::zoomFactor):
  1842. (QWebView::setTextSizeMultiplier):
  1843. (QWebView::textSizeMultiplier):
  1844. (QWebView::renderHints):
  1845. (QWebView::setRenderHints):
  1846. (QWebView::setRenderHint):
  1847. (QWebView::findText):
  1848. (QWebView::event):
  1849. (QWebView::print):
  1850. (QWebView::stop):
  1851. (QWebView::back):
  1852. (QWebView::forward):
  1853. (QWebView::reload):
  1854. (QWebView::resizeEvent):
  1855. (QWebView::paintEvent):
  1856. (QWebView::createWindow):
  1857. (QWebView::mouseMoveEvent):
  1858. (QWebView::mousePressEvent):
  1859. (QWebView::mouseDoubleClickEvent):
  1860. (QWebView::mouseReleaseEvent):
  1861. (QWebView::contextMenuEvent):
  1862. (QWebView::wheelEvent):
  1863. (QWebView::keyPressEvent):
  1864. (QWebView::keyReleaseEvent):
  1865. (QWebView::focusInEvent):
  1866. (QWebView::focusOutEvent):
  1867. (QWebView::dragEnterEvent):
  1868. (QWebView::dragLeaveEvent):
  1869. (QWebView::dragMoveEvent):
  1870. (QWebView::dropEvent):
  1871. (QWebView::focusNextPrevChild):
  1872. (QWebView::inputMethodQuery):
  1873. (QWebView::inputMethodEvent):
  1874. (QWebView::changeEvent):
  1875. * WidgetApi/qwebview.h: Renamed from Source/WebKit/qt/Api/qwebview.h.
  1876. * WidgetApi/qwebviewaccessible.cpp: Renamed from Source/WebKit/qt/Api/qwebviewaccessible.cpp.
  1877. (QWebFrameAccessible::QWebFrameAccessible):
  1878. (QWebFrameAccessible::frame):
  1879. (QWebFrameAccessible::parent):
  1880. (QWebFrameAccessible::text):
  1881. (QWebFrameAccessible::childCount):
  1882. (QWebFrameAccessible::child):
  1883. (QWebFrameAccessible::indexOfChild):
  1884. (QWebFrameAccessible::state):
  1885. (QWebFrameAccessible::role):
  1886. (QWebFrameAccessible::navigate):
  1887. (QWebPageAccessible::QWebPageAccessible):
  1888. (QWebPageAccessible::page):
  1889. (QWebPageAccessible::text):
  1890. (QWebPageAccessible::parent):
  1891. (QWebPageAccessible::child):
  1892. (QWebPageAccessible::childCount):
  1893. (QWebPageAccessible::indexOfChild):
  1894. (QWebPageAccessible::navigate):
  1895. (QWebPageAccessible::role):
  1896. (QWebPageAccessible::state):
  1897. (QWebViewAccessible::QWebViewAccessible):
  1898. (QWebViewAccessible::view):
  1899. (QWebViewAccessible::childCount):
  1900. (QWebViewAccessible::child):
  1901. * WidgetApi/qwebviewaccessible_p.h: Renamed from Source/WebKit/qt/Api/qwebviewaccessible_p.h.
  1902. (QWebFrameAccessible):
  1903. (QWebPageAccessible):
  1904. (QWebViewAccessible):
  1905. * WidgetSupport/DefaultFullScreenVideoHandler.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/DefaultFullScreenVideoHandler.cpp.
  1906. (DefaultFullScreenVideoHandler::DefaultFullScreenVideoHandler):
  1907. (DefaultFullScreenVideoHandler::~DefaultFullScreenVideoHandler):
  1908. (DefaultFullScreenVideoHandler::requiresFullScreenForVideoPlayback):
  1909. (DefaultFullScreenVideoHandler::enterFullScreen):
  1910. (DefaultFullScreenVideoHandler::exitFullScreen):
  1911. * WidgetSupport/DefaultFullScreenVideoHandler.h: Renamed from Source/WebKit/qt/WebCoreSupport/DefaultFullScreenVideoHandler.h.
  1912. (WebKit):
  1913. (DefaultFullScreenVideoHandler):
  1914. * WidgetSupport/FullScreenVideoWidget.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/FullScreenVideoWidget.cpp.
  1915. (WebKit):
  1916. (WebKit::FullScreenVideoWidget::FullScreenVideoWidget):
  1917. (WebKit::FullScreenVideoWidget::~FullScreenVideoWidget):
  1918. (WebKit::FullScreenVideoWidget::show):
  1919. (WebKit::FullScreenVideoWidget::closeEvent):
  1920. (WebKit::FullScreenVideoWidget::event):
  1921. (WebKit::FullScreenVideoWidget::keyPressEvent):
  1922. (WebKit::FullScreenVideoWidget::hideCursor):
  1923. (WebKit::FullScreenVideoWidget::showCursor):
  1924. * WidgetSupport/FullScreenVideoWidget.h: Renamed from Source/WebKit/qt/WebCoreSupport/FullScreenVideoWidget.h.
  1925. (WebKit):
  1926. (FullScreenVideoWidget):
  1927. * WidgetSupport/InitWebKitQt.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/InitWebKitQt.cpp.
  1928. (WebKit):
  1929. (WebKit::initializeWebKitWidgets):
  1930. * WidgetSupport/InitWebKitQt.h: Renamed from Source/WebKit/qt/WebCoreSupport/InitWebKitQt.h.
  1931. (WebKit):
  1932. * WidgetSupport/InspectorClientWebPage.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/InspectorClientWebPage.cpp.
  1933. (InspectorClientWebPage::InspectorClientWebPage):
  1934. (InspectorClientWebPage::createWindow):
  1935. (InspectorClientWebPage::javaScriptWindowObjectCleared):
  1936. * WidgetSupport/InspectorClientWebPage.h: Renamed from Source/WebKit/qt/WebCoreSupport/InspectorClientWebPage.h.
  1937. (WebKit):
  1938. (InspectorClientWebPage):
  1939. * WidgetSupport/PageClientQt.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/PageClientQt.cpp.
  1940. (QWebPageClient::ownerWindow):
  1941. (WebCore):
  1942. (WebCore::PageClientQWidget::scroll):
  1943. (WebCore::PageClientQWidget::update):
  1944. (WebCore::PageClientQWidget::repaintViewport):
  1945. (WebCore::PageClientQWidget::setInputMethodEnabled):
  1946. (WebCore::PageClientQWidget::inputMethodEnabled):
  1947. (WebCore::PageClientQWidget::setInputMethodHints):
  1948. (WebCore::PageClientQWidget::~PageClientQWidget):
  1949. (WebCore::PageClientQWidget::cursor):
  1950. (WebCore::PageClientQWidget::updateCursor):
  1951. (WebCore::PageClientQWidget::palette):
  1952. (WebCore::PageClientQWidget::screenNumber):
  1953. (WebCore::PageClientQWidget::ownerWidget):
  1954. (WebCore::PageClientQWidget::geometryRelativeToOwnerWidget):
  1955. (WebCore::PageClientQWidget::pluginParent):
  1956. (WebCore::PageClientQWidget::style):
  1957. (WebCore::PageClientQWidget::windowRect):
  1958. (WebCore::PageClientQWidget::setWidgetVisible):
  1959. (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
  1960. (WebCore::PageClientQGraphicsWidget::scroll):
  1961. (WebCore::PageClientQGraphicsWidget::update):
  1962. (WebCore::PageClientQGraphicsWidget::repaintViewport):
  1963. (WebCore::PageClientQGraphicsWidget::makeOpenGLContextCurrentIfAvailable):
  1964. (WebCore::PageClientQGraphicsWidget::setInputMethodEnabled):
  1965. (WebCore::PageClientQGraphicsWidget::inputMethodEnabled):
  1966. (WebCore::PageClientQGraphicsWidget::setInputMethodHints):
  1967. (WebCore::PageClientQGraphicsWidget::cursor):
  1968. (WebCore::PageClientQGraphicsWidget::updateCursor):
  1969. (WebCore::PageClientQGraphicsWidget::palette):
  1970. (WebCore::PageClientQGraphicsWidget::screenNumber):
  1971. (WebCore::PageClientQGraphicsWidget::ownerWidget):
  1972. (WebCore::PageClientQGraphicsWidget::geometryRelativeToOwnerWidget):
  1973. (WebCore::PageClientQGraphicsWidget::graphicsItemVisibleRect):
  1974. (WebCore::PageClientQGraphicsWidget::pluginParent):
  1975. (WebCore::PageClientQGraphicsWidget::style):
  1976. (WebCore::PageClientQGraphicsWidget::setWidgetVisible):
  1977. (WebCore::PageClientQGraphicsWidget::windowRect):
  1978. * WidgetSupport/PageClientQt.h: Renamed from Source/WebKit/qt/WebCoreSupport/PageClientQt.h.
  1979. (WebCore):
  1980. (PageClientQWidget):
  1981. (WebCore::PageClientQWidget::PageClientQWidget):
  1982. (WebCore::PageClientQWidget::isQWidgetClient):
  1983. (WebCore::PageClientQWidget::viewResizesToContentsEnabled):
  1984. (QGraphicsItemOverlay):
  1985. (WebCore::QGraphicsItemOverlay::QGraphicsItemOverlay):
  1986. (WebCore::QGraphicsItemOverlay::boundingRect):
  1987. (WebCore::QGraphicsItemOverlay::paint):
  1988. (WebCore::QGraphicsItemOverlay::prepareGraphicsItemGeometryChange):
  1989. (PageClientQGraphicsWidget):
  1990. (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
  1991. (WebCore::PageClientQGraphicsWidget::isQWidgetClient):
  1992. (WebCore::PageClientQGraphicsWidget::viewResizesToContentsEnabled):
  1993. * WidgetSupport/QGraphicsWidgetPluginImpl.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/QGraphicsWidgetPluginImpl.cpp.
  1994. (QGraphicsWidgetPluginImpl::~QGraphicsWidgetPluginImpl):
  1995. (QGraphicsWidgetPluginImpl::update):
  1996. (QGraphicsWidgetPluginImpl::setGeometryAndClip):
  1997. (QGraphicsWidgetPluginImpl::setVisible):
  1998. (QGraphicsWidgetPluginImpl::setWidgetParent):
  1999. (QGraphicsWidgetPluginImpl::handle):
  2000. * WidgetSupport/QGraphicsWidgetPluginImpl.h: Renamed from Source/WebKit/qt/WebCoreSupport/QGraphicsWidgetPluginImpl.h.
  2001. (QGraphicsWidgetPluginImpl):
  2002. (QGraphicsWidgetPluginImpl::QGraphicsWidgetPluginImpl):
  2003. * WidgetSupport/QStyleFacadeImp.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/QStyleFacadeImp.cpp.
  2004. (WebKit):
  2005. (WebKit::convertToQStyleState):
  2006. (WebKit::convertToQStyleSubControl):
  2007. (WebKit::initGenericStyleOption):
  2008. (WebKit::initSpecificStyleOption):
  2009. (MappedStyleOption):
  2010. (WebKit::MappedStyleOption::MappedStyleOption):
  2011. (WebKit::convertPixelMetric):
  2012. (WebKit::convertToQStyleFacadeSubControl):
  2013. (WebKit::QStyleFacadeImp::QStyleFacadeImp):
  2014. (WebKit::QStyleFacadeImp::~QStyleFacadeImp):
  2015. (WebKit::QStyleFacadeImp::buttonSubElementRect):
  2016. (WebKit::QStyleFacadeImp::findFrameLineWidth):
  2017. (WebKit::QStyleFacadeImp::simplePixelMetric):
  2018. (WebKit::QStyleFacadeImp::buttonMargin):
  2019. (WebKit::QStyleFacadeImp::sliderLength):
  2020. (WebKit::QStyleFacadeImp::sliderThickness):
  2021. (WebKit::QStyleFacadeImp::progressBarChunkWidth):
  2022. (WebKit::QStyleFacadeImp::getButtonMetrics):
  2023. (WebKit::QStyleFacadeImp::comboBoxSizeFromContents):
  2024. (WebKit::QStyleFacadeImp::pushButtonSizeFromContents):
  2025. (WebKit::QStyleFacadeImp::paintButton):
  2026. (WebKit::QStyleFacadeImp::paintTextField):
  2027. (WebKit::QStyleFacadeImp::paintComboBox):
  2028. (WebKit::QStyleFacadeImp::paintComboBoxArrow):
  2029. (WebKit::QStyleFacadeImp::paintSliderTrack):
  2030. (WebKit::QStyleFacadeImp::paintSliderThumb):
  2031. (WebKit::QStyleFacadeImp::paintInnerSpinButton):
  2032. (WebKit::QStyleFacadeImp::paintProgressBar):
  2033. (WebKit::QStyleFacadeImp::scrollBarExtent):
  2034. (WebKit::QStyleFacadeImp::scrollBarMiddleClickAbsolutePositionStyleHint):
  2035. (WebKit::QStyleFacadeImp::paintScrollCorner):
  2036. (WebKit::QStyleFacadeImp::hitTestScrollBar):
  2037. (WebKit::QStyleFacadeImp::scrollBarSubControlRect):
  2038. (WebKit::QStyleFacadeImp::paintScrollBar):
  2039. (WebKit::QStyleFacadeImp::widgetForPainter):
  2040. (WebKit::QStyleFacadeImp::style):
  2041. * WidgetSupport/QStyleFacadeImp.h: Renamed from Source/WebKit/qt/WebCoreSupport/QStyleFacadeImp.h.
  2042. (WebKit):
  2043. (QStyleFacadeImp):
  2044. (WebKit::QStyleFacadeImp::create):
  2045. (WebKit::QStyleFacadeImp::isValid):
  2046. * WidgetSupport/QWebUndoCommand.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/QWebUndoCommand.cpp.
  2047. (QWebUndoCommand::QWebUndoCommand):
  2048. (QWebUndoCommand::undo):
  2049. (QWebUndoCommand::redo):
  2050. * WidgetSupport/QWebUndoCommand.h: Renamed from Source/WebKit/qt/WebCoreSupport/QWebUndoCommand.h.
  2051. (QWebUndoCommand):
  2052. * WidgetSupport/QWidgetPluginImpl.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/QWidgetPluginImpl.cpp.
  2053. (QWidgetPluginImpl::~QWidgetPluginImpl):
  2054. (QWidgetPluginImpl::update):
  2055. (QWidgetPluginImpl::setGeometryAndClip):
  2056. (QWidgetPluginImpl::setVisible):
  2057. (QWidgetPluginImpl::setStyleSheet):
  2058. (QWidgetPluginImpl::setWidgetParent):
  2059. (QWidgetPluginImpl::handle):
  2060. * WidgetSupport/QWidgetPluginImpl.h: Renamed from Source/WebKit/qt/WebCoreSupport/QWidgetPluginImpl.h.
  2061. (QWidgetPluginImpl):
  2062. (QWidgetPluginImpl::QWidgetPluginImpl):
  2063. * WidgetSupport/QtFallbackWebPopup.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/QtFallbackWebPopup.cpp.
  2064. (WebCore):
  2065. (WebCore::QtFallbackWebPopup::QtFallbackWebPopup):
  2066. (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup):
  2067. (WebCore::QtFallbackWebPopup::show):
  2068. (WebCore::QtFallbackWebPopup::hide):
  2069. (WebCore::QtFallbackWebPopup::populate):
  2070. (WebCore::QtFallbackWebPopup::activeChanged):
  2071. (WebCore::QtFallbackWebPopup::deleteComboBox):
  2072. (WebCore::QtFallbackWebPopup::pageClient):
  2073. * WidgetSupport/QtFallbackWebPopup.h: Renamed from Source/WebKit/qt/WebCoreSupport/QtFallbackWebPopup.h.
  2074. (WebCore):
  2075. (QtFallbackWebPopup):
  2076. (WebCore::QtFallbackWebPopup::setGeometry):
  2077. (WebCore::QtFallbackWebPopup::geometry):
  2078. (WebCore::QtFallbackWebPopup::setFont):
  2079. (WebCore::QtFallbackWebPopup::font):
  2080. * WidgetSupport/QtWebComboBox.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.cpp.
  2081. (WebCore):
  2082. (WebCore::QtWebComboBox::QtWebComboBox):
  2083. (WebCore::QtWebComboBox::showPopupAtCursorPosition):
  2084. (WebCore::QtWebComboBox::eventFilter):
  2085. * WidgetSupport/QtWebComboBox.h: Renamed from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
  2086. (WebCore):
  2087. (QtWebComboBox):
  2088. * declarative/experimental/experimental.pri:
  2089. * declarative/public.pri:
  2090. * tests/qwebview/tst_qwebview.cpp:
  2091. 2012-11-30 Zeno Albisser <zeno@webkit.org>
  2092. [Qt] Enable WebGL by default.
  2093. https://bugs.webkit.org/show_bug.cgi?id=103731
  2094. Reviewed by Simon Hausmann.
  2095. * Api/qwebsettings.cpp:
  2096. (QWebSettings::QWebSettings):
  2097. 2012-11-30 Mihai Maerean <mmaerean@adobe.com>
  2098. [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
  2099. https://bugs.webkit.org/show_bug.cgi?id=101192
  2100. Reviewed by Hajime Morita.
  2101. Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
  2102. Tests: No new tests because there is no functional change.
  2103. * Api/qwebsettings.cpp:
  2104. (QWebSettingsPrivate::apply):
  2105. 2012-11-29 Alexey Proskuryakov <ap@apple.com>
  2106. [WK2] Forward cookie jar calls to NetworkProcess
  2107. https://bugs.webkit.org/show_bug.cgi?id=103457
  2108. Reviewed by Darin Adler.
  2109. * WebCoreSupport/PlatformStrategiesQt.cpp:
  2110. (PlatformStrategiesQt::cookiesForDOM):
  2111. (PlatformStrategiesQt::setCookiesFromDOM):
  2112. (PlatformStrategiesQt::cookiesEnabled):
  2113. (PlatformStrategiesQt::cookieRequestHeaderFieldValue):
  2114. (PlatformStrategiesQt::getRawCookies):
  2115. (PlatformStrategiesQt::deleteCookie):
  2116. (PlatformStrategiesQt::getHostnamesWithCookies):
  2117. (PlatformStrategiesQt::deleteCookiesForHostname):
  2118. (PlatformStrategiesQt::deleteAllCookies):
  2119. 2012-11-28 Huang Dongsung <luxtella@company100.net>
  2120. [Texmap] REGRESSION(r135620) QtTestBrowser crashes on Google-gravity.
  2121. https://bugs.webkit.org/show_bug.cgi?id=103410
  2122. Reviewed by Noam Rosenthal.
  2123. TextureMapperLayerClientQt::setTextureMapper() must call
  2124. flushCompositingStateForThisLayerOnly() of the root layer.
  2125. Currently, PageClientQGraphicsWidget::setRootGraphicsLayer does not flush layer
  2126. states of the root layer after setting TextureMapper while
  2127. PageClientQWidget::setRootGraphicsLayer() flushes them of the root layer. If
  2128. not flushing states, descendant layers can not reach the root layer. It means
  2129. descendant layers can not reach the TextureMapper that the root layer has.
  2130. This is already the behavior for PageClientQWidget, which should be the case
  2131. for PageClientQGraphicsWidget as well.
  2132. * WebCoreSupport/PageClientQt.cpp:
  2133. (WebCore::TextureMapperLayerClientQt::setTextureMapper):
  2134. (WebCore::PageClientQWidget::setRootGraphicsLayer):
  2135. 2012-11-27 James Simonsen <simonjam@chromium.org>
  2136. Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
  2137. https://bugs.webkit.org/show_bug.cgi?id=102151
  2138. Reviewed by Adam Barth.
  2139. * Api/qwebframe.cpp:
  2140. (QWebFrame::QWebFrame):
  2141. (QWebFrame::load):
  2142. (QWebFrame::setHtml):
  2143. (QWebFrame::setContent):
  2144. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2145. (DumpRenderTreeSupportQt::setAlternateHtml):
  2146. (qt_dump_set_accepts_editing):
  2147. * WebCoreSupport/FrameLoaderClientQt.cpp:
  2148. (WebCore::FrameLoaderClientQt::callErrorPageExtension):
  2149. 2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com>
  2150. Unreviewed, rolling out r135786.
  2151. http://trac.webkit.org/changeset/135786
  2152. https://bugs.webkit.org/show_bug.cgi?id=103379
  2153. It made 3 plugin tests timeout on several platforms (Requested
  2154. by Ossy on #webkit).
  2155. * Api/qwebframe.cpp:
  2156. (QWebFrame::setHtml):
  2157. (QWebFrame::setContent):
  2158. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2159. (DumpRenderTreeSupportQt::setAlternateHtml):
  2160. * WebCoreSupport/FrameLoaderClientQt.cpp:
  2161. (WebCore::FrameLoaderClientQt::callErrorPageExtension):
  2162. * WebCoreSupport/QWebFrameAdapter.cpp:
  2163. (QWebFrameAdapter::load):
  2164. 2012-11-26 James Simonsen <simonjam@chromium.org>
  2165. Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
  2166. https://bugs.webkit.org/show_bug.cgi?id=102151
  2167. Reviewed by Adam Barth.
  2168. * Api/qwebframe.cpp:
  2169. (QWebFrame::QWebFrame):
  2170. (QWebFrame::load):
  2171. (QWebFrame::setHtml):
  2172. (QWebFrame::setContent):
  2173. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2174. (DumpRenderTreeSupportQt::setAlternateHtml):
  2175. (qt_dump_set_accepts_editing):
  2176. * WebCoreSupport/FrameLoaderClientQt.cpp:
  2177. (WebCore::FrameLoaderClientQt::callErrorPageExtension):
  2178. 2012-11-26 Pierre Rossi <pierre.rossi@gmail.com>
  2179. [Qt] REGRESSION(r135575): It made all tests assert
  2180. https://bugs.webkit.org/show_bug.cgi?id=103169
  2181. Reviewed by Simon Hausmann.
  2182. This fixes another regression introduced in r135515:
  2183. initializeWebKitQt shouldn't implicitely call initializeWebCoreQt
  2184. since it can be called from WebKit2 to initialize QStyle for testing.
  2185. This would then lead to things such as PlatformStrategies being
  2186. initialized twice.
  2187. * Api/qwebpage.cpp: Explicitely call initializeWebCoreQt().
  2188. (QWebPagePrivate::QWebPagePrivate):
  2189. * WebCoreSupport/InitWebCoreQt.cpp:
  2190. (WebKit::initializeWebKitQt):
  2191. (WebCore::initializeWebCoreQt):
  2192. * WebCoreSupport/InitWebCoreQt.h:
  2193. (WebCore):
  2194. 2012-11-26 Zeno Albisser <zeno@webkit.org>
  2195. [Qt] Make sure the QGLWidget context is current when creating the TextureMapper.
  2196. https://bugs.webkit.org/show_bug.cgi?id=103142
  2197. When creating the TextureMapperGL for WK1 we have to make sure
  2198. that the GL context provided by the QGLWidget is current.
  2199. Otherwise the GraphicsContext3DQt created by TextureMapperGL will pick up
  2200. the wrong pointer by calling QOpenGLContext::currentContext().
  2201. Reviewed by Simon Hausmann.
  2202. * WebCoreSupport/PageClientQt.cpp:
  2203. (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
  2204. 2012-11-26 Michael Brüning <michael.bruning@digia.com>
  2205. [Qt] QStyleFacadeImp build break with latest Qt 5
  2206. https://bugs.webkit.org/show_bug.cgi?id=103198
  2207. Reviewed by Simon Hausmann.
  2208. Original patch by J-P Nurmi <jpnurmi@digia.com>.
  2209. Fixes QtWebKit build by replacing qobject_cast to
  2210. QMacStyle with calls to QObject::inherits. Also
  2211. replaces Q_WS_MAC preprocesser directives with Q_OS_MAC
  2212. for Qt 5 compatibility.
  2213. * WebCoreSupport/QStyleFacadeImp.cpp:
  2214. (WebKit::QStyleFacadeImp::getButtonMetrics):
  2215. (WebKit::QStyleFacadeImp::paintComboBox):
  2216. (WebKit::QStyleFacadeImp::paintInnerSpinButton):
  2217. (WebKit::QStyleFacadeImp::paintScrollBar):
  2218. 2012-11-24 Sheriff Bot <webkit.review.bot@gmail.com>
  2219. Unreviewed, rolling out r135648 and r135649.
  2220. http://trac.webkit.org/changeset/135648
  2221. http://trac.webkit.org/changeset/135649
  2222. https://bugs.webkit.org/show_bug.cgi?id=103176
  2223. This change cannot be built with a qt-minimal configuration.
  2224. (Requested by zalbisser on #webkit).
  2225. * WebCoreSupport/PageClientQt.cpp:
  2226. (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
  2227. 2012-11-24 Zeno Albisser <zeno@webkit.org>
  2228. Unreviewed Qt build fix:
  2229. Make sure QGLWidget definition is available.
  2230. * WebCoreSupport/PageClientQt.cpp:
  2231. 2012-11-24 Zeno Albisser <zeno@webkit.org>
  2232. [Qt] Make sure the QGLWidget context is current when creating the TextureMapper.
  2233. https://bugs.webkit.org/show_bug.cgi?id=103142
  2234. When creating the TextureMapperGL for WK1 we have to make sure
  2235. that the GL context provided by the QGLWidget is current.
  2236. Otherwise the GraphicsContext3DQt created by TextureMapperGL will pick up
  2237. the wrong pointer by calling QOpenGLContext::currentContext().
  2238. Reviewed by Kenneth Rohde Christiansen.
  2239. * WebCoreSupport/PageClientQt.cpp:
  2240. (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
  2241. 2012-11-23 Sheriff Bot <webkit.review.bot@gmail.com>
  2242. Unreviewed, rolling out r135575.
  2243. http://trac.webkit.org/changeset/135575
  2244. https://bugs.webkit.org/show_bug.cgi?id=103169
  2245. It made all tests assert (Requested by Ossy on #webkit).
  2246. * Api/qwebpage.cpp:
  2247. (QWebPagePrivate::QWebPagePrivate):
  2248. * WebCoreSupport/InitWebCoreQt.cpp:
  2249. (WebKit::initializeWebKitQt):
  2250. 2012-11-23 Allan Sandfeld Jensen <allan.jensen@digia.com>
  2251. tst_qwebpage fails after QMimeDatabase patch
  2252. https://bugs.webkit.org/show_bug.cgi?id=103125
  2253. Reviewed by Simon Hausmann.
  2254. Replace the static extension->mimetype table with a QMimeDatabase lookup
  2255. * tests/qwebpage/tst_qwebpage.cpp:
  2256. (tst_QWebPage::findText):
  2257. (tst_QWebPage::supportedContentType):
  2258. 2012-11-23 Simon Hausmann <simon.hausmann@digia.com>
  2259. [Qt] Compiling against QtWebkit API requires QT_DLL to be defined
  2260. https://bugs.webkit.org/show_bug.cgi?id=102942
  2261. Reviewed by Tor Arne Vestbø.
  2262. Remove the requirement of having QT_DLL defined in order for the QWEBKIT_EXPORT
  2263. macro to be defined as Q_DECL_IMPORT. Instead unify the export macro definition
  2264. to follow the same rules as other Qt 5 modules, with the exception that instead of
  2265. QT_BUILD_WEBKIT_LIB we continue to use BUILDING_WEBKIT, because that's used also
  2266. in other cross-platform header files to determine the correct meaning of export
  2267. macros.
  2268. * Api/qwebkitglobal.h:
  2269. 2012-11-23 Simon Hausmann <simon.hausmann@digia.com>
  2270. [Qt] QWebPage::shouldInterruptJavaScript should be virtual in Qt 5
  2271. https://bugs.webkit.org/show_bug.cgi?id=103111
  2272. Reviewed by Kenneth Rohde Christiansen.
  2273. This function was added as a slot during Qt 4.x times because adding
  2274. virtual functions breaks binary compatibility. This constraint is gone
  2275. with the initial release of WebKit with Qt 5, and therefore we can
  2276. make it virtual now.
  2277. The change is fully source compatible as existing "re-implementations"
  2278. as slots will now be called through it being a virtual function. They
  2279. become unused slots.
  2280. * Api/qwebpage.cpp:
  2281. (QWebPagePrivate::shouldInterruptJavaScript):
  2282. * Api/qwebpage.h:
  2283. * Api/qwebpage_p.h:
  2284. * WebCoreSupport/ChromeClientQt.cpp:
  2285. (WebCore::ChromeClientQt::shouldInterruptJavaScript):
  2286. * WebCoreSupport/QWebPageAdapter.h:
  2287. (QWebPageAdapter):
  2288. * tests/qwebpage/tst_qwebpage.cpp:
  2289. (JSTestPage::shouldInterruptJavaScript):
  2290. (JSTestPage):
  2291. 2012-11-23 Pierre Rossi <pierre.rossi@gmail.com>
  2292. [Qt] REGRESSION(r135515): 3 appcache tests still failing
  2293. https://bugs.webkit.org/show_bug.cgi?id=103073
  2294. Rubber-stamped by Simon Hausmann.
  2295. Another sneaky typo.
  2296. * Api/qwebpage.cpp:
  2297. (QWebPagePrivate::applicationCacheQuotaExceeded):
  2298. 2012-11-22 Pierre Rossi <pierre.rossi@gmail.com>
  2299. [Qt] Avoid initializing PlatformStrategies twice.
  2300. Rubber-stamped by Simon Hausmann.
  2301. This fixes another regression introduced in r135515:
  2302. initializeWebKitQt shouldn't implicitely call initializeWebCoreQt
  2303. since it can be called from WebKit2 to initialize QStyle for testing.
  2304. This would then lead to things such as PlatformStrategies being
  2305. initialized twice.
  2306. * Api/qwebpage.cpp: Explicitely call initializeWebCoreQt().
  2307. (QWebPagePrivate::QWebPagePrivate):
  2308. * WebCoreSupport/InitWebCoreQt.cpp:
  2309. (WebKit::initializeWebKitQt):
  2310. 2012-11-23 Simon Hausmann <simon.hausmann@digia.com>
  2311. Unreviewed trivial Qt/Win build fix:
  2312. Include FormState.h/HTMLFormElement.h in the FrameLoaderClient
  2313. declaration because MSVC needs it. Also fix Q_DECL_EXPORT declarations
  2314. for functions that are supposed to be exported.
  2315. * Api/qwebelement.cpp:
  2316. * WebCoreSupport/FrameLoaderClientQt.h:
  2317. * WebCoreSupport/InitWebCoreQt.h:
  2318. (WebKit):
  2319. * WebCoreSupport/InitWebKitQt.h:
  2320. (WebKit):
  2321. 2012-11-22 Pierre Rossi <pierre.rossi@gmail.com>
  2322. [Qt] REGRESSION(r135515): It made 3-3 tests fail and crash
  2323. https://bugs.webkit.org/show_bug.cgi?id=103073
  2324. Rubber-stamped by Simon Hausmann.
  2325. Removing the QNetworkAccessManager member in FrameNetworkingContextQt
  2326. was right, but we need to be careful as to how we fetch it back.
  2327. Since the WebCore Page is not always valid, get the QNAM instance
  2328. straight from the frame adapter through its page adapter instead.
  2329. * WebCoreSupport/ChromeClientQt.cpp: [Style nit] Remove stray emit.
  2330. * WebCoreSupport/FrameNetworkingContextQt.cpp:
  2331. (WebCore::FrameNetworkingContextQt::networkAccessManager):
  2332. 2012-11-22 Simon Hausmann <simon.hausmann@digia.com>
  2333. Unreviewed MSVC Windows build fix: Include header files referenced in RefPtr
  2334. instances.
  2335. * Api/qwebelement.cpp:
  2336. 2012-11-22 Simon Hausmann <simon.hausmann@digia.com>, Pierre Rossi <pierre.rossi@digia.com>
  2337. [Qt] Separate QWidget dependant code into separate WebKitWidgets static library
  2338. https://bugs.webkit.org/show_bug.cgi?id=102800
  2339. Reviewed by Tor Arne Vestbø.
  2340. This patch separates code that needs to use QWidget related APIs in
  2341. WebKit/qt/WebCoreSupport and Api from code that doesn't. This means for
  2342. example FrameLoaderClientQt.cpp remains in the WebKit1 static library,
  2343. while qwebpage.cpp and qwebframe.cpp become part of the WebKitWidgets
  2344. static library. WebKit1 is compiled without QT += widgets and therefore
  2345. any widget related dependency has been moved "up" and out of WebKit1 into
  2346. the WebKitWidgets library.
  2347. Between the code in WebKit.a and WebKitWidgets.a new adapters and
  2348. interfaces have been introduced, such as QWebPageAdapter and
  2349. QWebFrameAdapter. QWebPageAdapter, when used from WebKit1, is a way to
  2350. call out into the API layer, implemented by QWebPage (QWebPagePrivate).
  2351. The other way around if QWebPage wants to access WebCore or
  2352. WebCoreSupport related functionality, it will go through
  2353. QWebPageAdapater (as base class). The separation in the direction up
  2354. into the API layer is complete with this patch, no code in WebKit1
  2355. depends on QtWidgets. The separation the other way around, code in the
  2356. API layer not using any WebCore types, is not complete yet.
  2357. Some classes such as QWebSettings, QWebElement or
  2358. DumpRenderTreeSupportQt remain in WebKit1. While they are API layer,
  2359. they do not depend on widget related Qt APIs and they make much more
  2360. use of WebCore internal APIs and therefore are easier to keep in
  2361. WebKit1.
  2362. In the future we plan to place a real shared library boundary between
  2363. WebKit1 and WebKitWidgets, by keeping the WebKit1 static library as
  2364. part of the QtWebKit shared library and by turning the WebKitWidgets
  2365. static library into a shared one.
  2366. * Api/qgraphicswebview.cpp:
  2367. (QGraphicsWebViewPrivate::pageClient):
  2368. (QGraphicsWebViewPrivate::detachCurrentPage):
  2369. (QGraphicsWebView::setPage):
  2370. * Api/qwebelement.cpp:
  2371. (QWebElement::webFrame):
  2372. * Api/qwebframe.cpp:
  2373. (QWebFramePrivate::setPage):
  2374. (QWebFramePrivate::didStartProvisionalLoad):
  2375. (QWebFramePrivate::handleProgressFinished):
  2376. (QWebFramePrivate::emitInitialLayoutCompleted):
  2377. (QWebFramePrivate::emitIconChanged):
  2378. (QWebFramePrivate::emitLoadStarted):
  2379. (QWebFramePrivate::emitLoadFinished):
  2380. (QWebFramePrivate::createChildFrame):
  2381. (QWebFramePrivate::apiHandle):
  2382. (QWebFramePrivate::handle):
  2383. (QWebFramePrivate::contentsSizeDidChange):
  2384. (QWebFramePrivate::scrollBarPolicy):
  2385. (QWebFrame::QWebFrame):
  2386. (QWebFrame::~QWebFrame):
  2387. (QWebFrame::setUrl):
  2388. (QWebFrame::load):
  2389. (QWebFrame::scrollPosition):
  2390. (QWebFrame::geometry):
  2391. (QWebFramePrivate::kit):
  2392. (QWebFrame::handle):
  2393. * Api/qwebframe.h:
  2394. * Api/qwebframe_p.h:
  2395. (QWebFramePrivate::QWebFramePrivate):
  2396. (QWebFramePrivate):
  2397. * Api/qwebhistory.cpp:
  2398. (QWebHistoryPrivate::page):
  2399. * Api/qwebhistory_p.h:
  2400. (QWebHistoryPrivate):
  2401. * Api/qwebinspector.cpp:
  2402. (QWebInspectorPrivate::setFrontend):
  2403. * Api/qwebinspector_p.h:
  2404. (QWebInspectorPrivate):
  2405. * Api/qwebpage.cpp:
  2406. (QWebPagePrivate::QWebPagePrivate):
  2407. (QWebPagePrivate::~QWebPagePrivate):
  2408. (QWebPagePrivate::core):
  2409. (QWebPagePrivate::show):
  2410. (QWebPagePrivate::setFocus):
  2411. (QWebPagePrivate::unfocus):
  2412. (QWebPagePrivate::setWindowRect):
  2413. (QWebPagePrivate::viewportSize):
  2414. (QWebPagePrivate::createWindow):
  2415. (QWebPagePrivate::javaScriptConsoleMessage):
  2416. (QWebPagePrivate::javaScriptAlert):
  2417. (QWebPagePrivate::javaScriptConfirm):
  2418. (QWebPagePrivate::javaScriptPrompt):
  2419. (QWebPagePrivate::printRequested):
  2420. (QWebPagePrivate::databaseQuotaExceeded):
  2421. (QWebPagePrivate::applicationCacheQuotaExceeded):
  2422. (QWebPagePrivate::setToolTip):
  2423. (QWebPagePrivate::createFullScreenVideoHandler):
  2424. (QWebPagePrivate::mainFrameAdapter):
  2425. (QWebPagePrivate::chooseFiles):
  2426. (QWebPagePrivate::acceptNavigationRequest):
  2427. (QWebPagePrivate::emitRestoreFrameStateRequested):
  2428. (QWebPagePrivate::emitSaveFrameStateRequested):
  2429. (QWebPagePrivate::emitDownloadRequested):
  2430. (QWebPagePrivate::emitFrameCreated):
  2431. (QWebPagePrivate::errorPageExtension):
  2432. (QWebPagePrivate::createPlugin):
  2433. (QWebPagePrivate::adapterForWidget):
  2434. (QWebPagePrivate::createMainFrame):
  2435. (QWebPagePrivate::createContextMenu):
  2436. (QWebPagePrivate::inspectorHandle):
  2437. (QWebPagePrivate::setInspectorFrontend):
  2438. (QWebPagePrivate::setInspectorWindowTitle):
  2439. (QWebPagePrivate::createWebInspector):
  2440. (iterateContextMenu):
  2441. (QWebPagePrivate::menuActionsAsText):
  2442. (QWebPagePrivate::emitViewportChangeRequested):
  2443. (QWebPagePrivate::mouseMoveEvent):
  2444. (QWebPagePrivate::mousePressEvent):
  2445. (QWebPagePrivate::mouseDoubleClickEvent):
  2446. (QWebPagePrivate::mouseTripleClickEvent):
  2447. (QWebPagePrivate::mouseReleaseEvent):
  2448. (QWebPagePrivate::handleSoftwareInputPanel):
  2449. (QWebPagePrivate::wheelEvent):
  2450. (QWebPagePrivate::gestureEvent):
  2451. (QWebPage::setView):
  2452. (QWebPage::javaScriptConsoleMessage):
  2453. (QWebPage::javaScriptAlert):
  2454. (QWebPage::javaScriptConfirm):
  2455. (QWebPage::javaScriptPrompt):
  2456. (QWebPage::shouldInterruptJavaScript):
  2457. (QWebPage::setFeaturePermission):
  2458. (QWebPagePrivate::colorSelectionRequested):
  2459. (QWebPagePrivate::createSelectPopup):
  2460. (QWebPagePrivate::viewRectRelativeToWindow):
  2461. (QWebPagePrivate::geolocationPermissionRequested):
  2462. (QWebPagePrivate::geolocationPermissionRequestCancelled):
  2463. (QWebPagePrivate::notificationsPermissionRequested):
  2464. (QWebPagePrivate::notificationsPermissionRequestCancelled):
  2465. (QWebPagePrivate::respondToChangedContents):
  2466. (QWebPagePrivate::respondToChangedSelection):
  2467. (QWebPagePrivate::microFocusChanged):
  2468. (QWebPagePrivate::triggerCopyAction):
  2469. (QWebPagePrivate::triggerActionForKeyEvent):
  2470. (QWebPagePrivate::clearUndoStack):
  2471. (QWebPagePrivate::canUndo):
  2472. (QWebPagePrivate::canRedo):
  2473. (QWebPagePrivate::undo):
  2474. (QWebPagePrivate::redo):
  2475. (QWebPagePrivate::createUndoStep):
  2476. (QWebPagePrivate::editorCommandForKeyEvent):
  2477. (QWebPage::viewportSize):
  2478. (QWebPage::setViewportSize):
  2479. (QWebPage::viewportAttributesForSize):
  2480. (QWebPage::event):
  2481. (QWebPage::extension):
  2482. (QWebPage::handle):
  2483. (QWebPage::chooseFile):
  2484. (QWebPage::setNetworkAccessManager):
  2485. (QWebPage::networkAccessManager):
  2486. * Api/qwebpage.h:
  2487. * Api/qwebpage_p.h:
  2488. (WebCore):
  2489. (QWebPagePrivate):
  2490. * Api/qwebsettings.cpp:
  2491. * Api/qwebsettings.h:
  2492. * Api/qwebview.cpp:
  2493. (QWebViewPrivate::detachCurrentPage):
  2494. * WebCoreSupport/ChromeClientQt.cpp:
  2495. (WebCore::ChromeClientQt::ChromeClientQt):
  2496. (WebCore::ChromeClientQt::setWindowRect):
  2497. (WebCore::ChromeClientQt::focus):
  2498. (WebCore::ChromeClientQt::unfocus):
  2499. (WebCore::ChromeClientQt::createWindow):
  2500. (WebCore::ChromeClientQt::show):
  2501. (WebCore::ChromeClientQt::setToolbarsVisible):
  2502. (WebCore::ChromeClientQt::setStatusbarVisible):
  2503. (WebCore::ChromeClientQt::setMenubarVisible):
  2504. (WebCore::ChromeClientQt::addMessageToConsole):
  2505. (WebCore::ChromeClientQt::closeWindowSoon):
  2506. (WebCore::ChromeClientQt::runJavaScriptAlert):
  2507. (WebCore::ChromeClientQt::runJavaScriptConfirm):
  2508. (WebCore::ChromeClientQt::runJavaScriptPrompt):
  2509. (WebCore::ChromeClientQt::setStatusbarText):
  2510. (WebCore::ChromeClientQt::shouldInterruptJavaScript):
  2511. (WebCore::ChromeClientQt::keyboardUIMode):
  2512. (WebCore::ChromeClientQt::windowResizerRect):
  2513. * WebCoreSupport/ChromeClientQt.h:
  2514. (ChromeClientQt):
  2515. * WebCoreSupport/ContextMenuClientQt.cpp:
  2516. * WebCoreSupport/ContextMenuClientQt.h:
  2517. (ContextMenuClientQt):
  2518. * WebCoreSupport/DefaultFullScreenVideoHandler.cpp: Added.
  2519. (DefaultFullScreenVideoHandler::DefaultFullScreenVideoHandler):
  2520. (DefaultFullScreenVideoHandler::~DefaultFullScreenVideoHandler):
  2521. (DefaultFullScreenVideoHandler::requiresFullScreenForVideoPlayback):
  2522. (DefaultFullScreenVideoHandler::enterFullScreen):
  2523. (DefaultFullScreenVideoHandler::exitFullScreen):
  2524. * WebCoreSupport/DefaultFullScreenVideoHandler.h: Copied from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
  2525. (WebKit):
  2526. (DefaultFullScreenVideoHandler):
  2527. * WebCoreSupport/DragClientQt.cpp:
  2528. (WebCore::DragClientQt::startDrag):
  2529. * WebCoreSupport/DragClientQt.h:
  2530. (WebCore):
  2531. (WebCore::DragClientQt::DragClientQt):
  2532. (DragClientQt):
  2533. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2534. (toGeolocationClientMock):
  2535. (toDeviceOrientationClientMock):
  2536. (DumpRenderTreeSupportQt::initialize):
  2537. (DumpRenderTreeSupportQt::setDumpRenderTreeModeEnabled):
  2538. (DumpRenderTreeSupportQt::setFrameFlatteningEnabled):
  2539. (DumpRenderTreeSupportQt::webPageSetGroupName):
  2540. (DumpRenderTreeSupportQt::webPageGroupName):
  2541. (DumpRenderTreeSupportQt::webInspectorExecuteScript):
  2542. (DumpRenderTreeSupportQt::webInspectorShow):
  2543. (DumpRenderTreeSupportQt::webInspectorClose):
  2544. (DumpRenderTreeSupportQt::hasDocumentElement):
  2545. (DumpRenderTreeSupportQt::pauseAnimation):
  2546. (DumpRenderTreeSupportQt::pauseTransitionOfProperty):
  2547. (DumpRenderTreeSupportQt::numberOfActiveAnimations):
  2548. (DumpRenderTreeSupportQt::clearFrameName):
  2549. (DumpRenderTreeSupportQt::setCaretBrowsingEnabled):
  2550. (DumpRenderTreeSupportQt::setAuthorAndUserStylesEnabled):
  2551. (DumpRenderTreeSupportQt::setSmartInsertDeleteEnabled):
  2552. (DumpRenderTreeSupportQt::setSelectTrailingWhitespaceEnabled):
  2553. (DumpRenderTreeSupportQt::executeCoreCommandByName):
  2554. (DumpRenderTreeSupportQt::isCommandEnabled):
  2555. (DumpRenderTreeSupportQt::findString):
  2556. (DumpRenderTreeSupportQt::selectedRange):
  2557. (DumpRenderTreeSupportQt::firstRectForCharacterRange):
  2558. (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
  2559. (DumpRenderTreeSupportQt::setWindowsBehaviorAsEditingBehavior):
  2560. (DumpRenderTreeSupportQt::viewportAsText):
  2561. (DumpRenderTreeSupportQt::scalePageBy):
  2562. (DumpRenderTreeSupportQt::setMockDeviceOrientation):
  2563. (DumpRenderTreeSupportQt::resetGeolocationMock):
  2564. (DumpRenderTreeSupportQt::setMockGeolocationPermission):
  2565. (DumpRenderTreeSupportQt::setMockGeolocationPosition):
  2566. (DumpRenderTreeSupportQt::setMockGeolocationPositionUnavailableError):
  2567. (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
  2568. (DumpRenderTreeSupportQt::shouldClose):
  2569. (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
  2570. (DumpRenderTreeSupportQt::addUserStyleSheet):
  2571. (DumpRenderTreeSupportQt::removeUserStyleSheets):
  2572. (DumpRenderTreeSupportQt::setDefersLoading):
  2573. (DumpRenderTreeSupportQt::goBack):
  2574. (DumpRenderTreeSupportQt::responseMimeType):
  2575. (DumpRenderTreeSupportQt::clearOpener):
  2576. (DumpRenderTreeSupportQt::setInteractiveFormValidationEnabled):
  2577. (DumpRenderTreeSupportQt::contextMenu):
  2578. (DumpRenderTreeSupportQt::setMinimumTimerInterval):
  2579. (DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows):
  2580. (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
  2581. (DumpRenderTreeSupportQt::setAlternateHtml):
  2582. (DumpRenderTreeSupportQt::confirmComposition):
  2583. (DumpRenderTreeSupportQt::injectInternalsObject):
  2584. (DumpRenderTreeSupportQt::resetInternalsObject):
  2585. (DumpRenderTreeSupportQt::paintPagesWithBoundaries):
  2586. (DumpRenderTreeSupportQt::setTrackRepaintRects):
  2587. (DumpRenderTreeSupportQt::trackRepaintRects):
  2588. (DumpRenderTreeSupportQt::getTrackedRepaintRects):
  2589. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  2590. * WebCoreSupport/EditorClientQt.cpp:
  2591. (dumpRange):
  2592. (WebCore::EditorClientQt::shouldShowDeleteInterface):
  2593. (WebCore::EditorClientQt::shouldInsertText):
  2594. (WebCore::EditorClientQt::shouldChangeSelectedRange):
  2595. (WebCore::EditorClientQt::shouldApplyStyle):
  2596. (WebCore::EditorClientQt::respondToChangedContents):
  2597. (WebCore::EditorClientQt::respondToChangedSelection):
  2598. (WebCore::EditorClientQt::registerUndoStep):
  2599. (WebCore::EditorClientQt::clearUndoRedoOperations):
  2600. (WebCore::EditorClientQt::canUndo):
  2601. (WebCore::EditorClientQt::canRedo):
  2602. (WebCore::EditorClientQt::undo):
  2603. (WebCore::EditorClientQt::redo):
  2604. (WebCore::EditorClientQt::shouldInsertNode):
  2605. (WebCore::EditorClientQt::smartInsertDeleteEnabled):
  2606. (WebCore::EditorClientQt::toggleSmartInsertDelete):
  2607. (WebCore::EditorClientQt::isSelectTrailingWhitespaceEnabled):
  2608. (WebCore::EditorClientQt::handleKeyboardEvent):
  2609. (WebCore::EditorClientQt::EditorClientQt):
  2610. (WebCore::EditorClientQt::setInputMethodState):
  2611. * WebCoreSupport/EditorClientQt.h:
  2612. (EditorClientQt):
  2613. (WebCore::EditorClientQt::setSmartInsertDeleteEnabled):
  2614. (WebCore::EditorClientQt::setSelectTrailingWhitespaceEnabled):
  2615. * WebCoreSupport/FrameLoaderClientQt.cpp:
  2616. (drtDescriptionSuitableForTestResult):
  2617. (WebCore::FrameLoaderClientQt::setFrame):
  2618. (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
  2619. (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
  2620. (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
  2621. (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
  2622. (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
  2623. (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
  2624. (WebCore::FrameLoaderClientQt::dispatchDidLayout):
  2625. (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
  2626. (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
  2627. (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
  2628. (WebCore::FrameLoaderClientQt::frameLoadCompleted):
  2629. (WebCore::FrameLoaderClientQt::restoreViewState):
  2630. (WebCore::FrameLoaderClientQt::userAgent):
  2631. (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
  2632. (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
  2633. (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
  2634. (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
  2635. (WebCore::FrameLoaderClientQt::onIconLoadedForPageURL):
  2636. (WebCore::FrameLoaderClientQt::updateGlobalHistoryRedirectLinks):
  2637. (WebCore::FrameLoaderClientQt::saveViewStateToItem):
  2638. (WebCore::FrameLoaderClientQt::cancelledError):
  2639. (WebCore::FrameLoaderClientQt::blockedError):
  2640. (WebCore::FrameLoaderClientQt::cannotShowURLError):
  2641. (WebCore::FrameLoaderClientQt::interruptedForPolicyChangeError):
  2642. (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
  2643. (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
  2644. (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError):
  2645. (WebCore::FrameLoaderClientQt::download):
  2646. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  2647. (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
  2648. (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
  2649. (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
  2650. (WebCore::FrameLoaderClientQt::callErrorPageExtension):
  2651. (WebCore::FrameLoaderClientQt::dispatchCreatePage):
  2652. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
  2653. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
  2654. (WebCore::FrameLoaderClientQt::startDownload):
  2655. (WebCore::FrameLoaderClientQt::createFrame):
  2656. (WebCore::FrameLoaderClientQt::createPlugin):
  2657. (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
  2658. (WebCore::FrameLoaderClientQt::chooseFile):
  2659. (WebCore::FrameLoaderClientQt::createNetworkingContext):
  2660. (WebCore):
  2661. (WebCore::FrameLoaderClientQt::webFrame):
  2662. (WebCore::FrameLoaderClientQt::emitLoadStarted):
  2663. (WebCore::FrameLoaderClientQt::emitLoadFinished):
  2664. * WebCoreSupport/FrameLoaderClientQt.h:
  2665. (FrameLoaderClientQt):
  2666. * WebCoreSupport/FrameNetworkingContextQt.cpp:
  2667. (WebCore::FrameNetworkingContextQt::FrameNetworkingContextQt):
  2668. (WebCore::FrameNetworkingContextQt::create):
  2669. (WebCore::FrameNetworkingContextQt::networkAccessManager):
  2670. * WebCoreSupport/FrameNetworkingContextQt.h:
  2671. (FrameNetworkingContextQt):
  2672. * WebCoreSupport/FullScreenVideoQt.cpp:
  2673. (WebCore):
  2674. (WebCore::FullScreenVideoQt::FullScreenVideoQt):
  2675. * WebCoreSupport/FullScreenVideoQt.h:
  2676. (WebCore):
  2677. * WebCoreSupport/FullScreenVideoWidget.cpp:
  2678. * WebCoreSupport/FullScreenVideoWidget.h:
  2679. * WebCoreSupport/GeolocationClientQt.cpp:
  2680. (WebCore::GeolocationClientQt::GeolocationClientQt):
  2681. (WebCore::GeolocationClientQt::positionUpdated):
  2682. (WebCore::GeolocationClientQt::startUpdating):
  2683. (WebCore::GeolocationClientQt::requestPermission):
  2684. (WebCore::GeolocationClientQt::cancelPermissionRequest):
  2685. * WebCoreSupport/GeolocationClientQt.h:
  2686. (GeolocationClientQt):
  2687. * WebCoreSupport/GeolocationPermissionClientQt.cpp:
  2688. (WebCore::GeolocationPermissionClientQt::requestGeolocationPermissionForFrame):
  2689. (WebCore::GeolocationPermissionClientQt::cancelGeolocationPermissionRequestForFrame):
  2690. (WebCore::GeolocationPermissionClientQt::setPermission):
  2691. * WebCoreSupport/GeolocationPermissionClientQt.h:
  2692. (GeolocationPermissionClientQt):
  2693. * WebCoreSupport/InitWebCoreQt.cpp:
  2694. (WebKit):
  2695. (WebKit::setWebKitWidgetsInitCallback):
  2696. (WebKit::initializeWebKitQt):
  2697. (WebKit::setImagePlatformResource):
  2698. (WebCore::initializeWebCoreQt):
  2699. * WebCoreSupport/InitWebCoreQt.h:
  2700. (WebCore):
  2701. (WebKit):
  2702. * WebCoreSupport/InitWebKitQt.cpp: Added.
  2703. (WebKit):
  2704. (WebKit::initializeWebKitWidgets):
  2705. * WebCoreSupport/InitWebKitQt.h: Copied from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
  2706. (WebKit):
  2707. * WebCoreSupport/InspectorClientQt.cpp:
  2708. (WebCore):
  2709. (WebCore::InspectorClientQt::InspectorClientQt):
  2710. (WebCore::InspectorClientQt::openInspectorFrontend):
  2711. (WebCore::InspectorClientQt::attachAndReplaceRemoteFrontend):
  2712. (WebCore::InspectorClientQt::detachRemoteFrontend):
  2713. (WebCore::InspectorClientQt::hideHighlight):
  2714. (WebCore::InspectorClientQt::sendMessageToFrontend):
  2715. (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt):
  2716. (WebCore::InspectorFrontendClientQt::updateWindowTitle):
  2717. (WebCore::InspectorFrontendClientQt::destroyInspectorView):
  2718. * WebCoreSupport/InspectorClientQt.h:
  2719. (InspectorClientQt):
  2720. (InspectorFrontendClientQt):
  2721. * WebCoreSupport/InspectorClientWebPage.cpp: Added.
  2722. (InspectorClientWebPage::InspectorClientWebPage):
  2723. (InspectorClientWebPage::createWindow):
  2724. (InspectorClientWebPage::javaScriptWindowObjectCleared):
  2725. * WebCoreSupport/InspectorClientWebPage.h: Copied from Source/WebKit/qt/WebCoreSupport/WebSystemInterface.h.
  2726. (WebKit):
  2727. (InspectorClientWebPage):
  2728. * WebCoreSupport/InspectorServerQt.cpp:
  2729. (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
  2730. (WebCore::InspectorServerRequestHandlerQt::webSocketReadyRead):
  2731. * WebCoreSupport/InspectorServerQt.h:
  2732. (InspectorServerQt):
  2733. (InspectorServerRequestHandlerQt):
  2734. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  2735. (WebCore::NotificationWrapper::NotificationWrapper):
  2736. (WebCore::NotificationPresenterClientQt::displayNotification):
  2737. (WebCore::NotificationPresenterClientQt::requestPermission):
  2738. (WebCore::NotificationPresenterClientQt::cancelRequestsForPermission):
  2739. (WebCore::NotificationPresenterClientQt::dumpShowText):
  2740. (WebCore::NotificationPresenterClientQt::toPage):
  2741. (WebCore::NotificationPresenterClientQt::toFrame):
  2742. * WebCoreSupport/NotificationPresenterClientQt.h:
  2743. (WebCore::NotificationWrapper::~NotificationWrapper):
  2744. (NotificationWrapper):
  2745. (NotificationPresenterClientQt):
  2746. (WebCore::NotificationPresenterClientQt::hasSystemTrayIcon):
  2747. (WebCore::NotificationPresenterClientQt::setSystemTrayIcon):
  2748. (CallbacksInfo):
  2749. (WebCore):
  2750. * WebCoreSupport/PageClientQt.cpp:
  2751. (createPlatformGraphicsContext3DFromWidget):
  2752. (QWebPageClient::ownerWindow):
  2753. (WebCore::PageClientQWidget::ownerWidget):
  2754. (WebCore::PageClientQWidget::createPlatformGraphicsContext3D):
  2755. (WebCore::PageClientQGraphicsWidget::ownerWidget):
  2756. (WebCore::PageClientQGraphicsWidget::createPlatformGraphicsContext3D):
  2757. * WebCoreSupport/PageClientQt.h:
  2758. (PageClientQWidget):
  2759. (WebCore::QGraphicsItemOverlay::QGraphicsItemOverlay):
  2760. (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
  2761. (PageClientQGraphicsWidget):
  2762. * WebCoreSupport/PlatformStrategiesQt.cpp:
  2763. (PlatformStrategiesQt::getPluginInfo):
  2764. * WebCoreSupport/PopupMenuQt.cpp:
  2765. (SelectData::SelectData):
  2766. * WebCoreSupport/QGraphicsWidgetPluginImpl.cpp: Added.
  2767. (QGraphicsWidgetPluginImpl::~QGraphicsWidgetPluginImpl):
  2768. (QGraphicsWidgetPluginImpl::update):
  2769. (QGraphicsWidgetPluginImpl::setGeometryAndClip):
  2770. (QGraphicsWidgetPluginImpl::setVisible):
  2771. (QGraphicsWidgetPluginImpl::setWidgetParent):
  2772. (QGraphicsWidgetPluginImpl::handle):
  2773. * WebCoreSupport/QGraphicsWidgetPluginImpl.h: Added.
  2774. (QGraphicsWidgetPluginImpl):
  2775. (QGraphicsWidgetPluginImpl::QGraphicsWidgetPluginImpl):
  2776. * WebCoreSupport/QWebFrameAdapter.cpp: Added.
  2777. (cacheLoadControlToCachePolicy):
  2778. (QWebFrameData::QWebFrameData):
  2779. (QWebFrameAdapter::QWebFrameAdapter):
  2780. (QWebFrameAdapter::~QWebFrameAdapter):
  2781. (QWebFrameAdapter::load):
  2782. (QWebFrameAdapter::handleGestureEvent):
  2783. (QWebFrameAdapter::scrollPosition):
  2784. (QWebFrameAdapter::frameRect):
  2785. (QWebFrameAdapter::init):
  2786. (QWebFrameAdapter::kit):
  2787. (QWebFrameAdapter::ensureAbsoluteUrl):
  2788. * WebCoreSupport/QWebFrameAdapter.h: Added.
  2789. (WebCore):
  2790. (QWebFrameData):
  2791. (QWebFrameAdapter):
  2792. (QWebFrameAdapter::hasView):
  2793. * WebCoreSupport/QWebPageAdapter.cpp: Added.
  2794. (QWebPageAdapter::QWebPageAdapter):
  2795. (QWebPageAdapter::~QWebPageAdapter):
  2796. (QWebPageAdapter::init):
  2797. (QWebPageAdapter::deletePage):
  2798. (QWebPageAdapter::kit):
  2799. (QWebPageAdapter::viewportArguments):
  2800. (QWebPageAdapter::registerUndoStep):
  2801. (QWebPageAdapter::setNetworkAccessManager):
  2802. (QWebPageAdapter::networkAccessManager):
  2803. * WebCoreSupport/QWebPageAdapter.h: Added.
  2804. (WebCore):
  2805. (QWebPageAdapter):
  2806. (ErrorPageOption):
  2807. (ErrorPageReturn):
  2808. * WebCoreSupport/QWebUndoCommand.cpp: Copied from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
  2809. (QWebUndoCommand::QWebUndoCommand):
  2810. (QWebUndoCommand::undo):
  2811. (QWebUndoCommand::redo):
  2812. * WebCoreSupport/QWebUndoCommand.h: Copied from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
  2813. (QWebUndoCommand):
  2814. * WebCoreSupport/QWidgetPluginImpl.cpp: Added.
  2815. (QWidgetPluginImpl::~QWidgetPluginImpl):
  2816. (QWidgetPluginImpl::update):
  2817. (QWidgetPluginImpl::setGeometryAndClip):
  2818. (QWidgetPluginImpl::setVisible):
  2819. (QWidgetPluginImpl::setStyleSheet):
  2820. (QWidgetPluginImpl::setWidgetParent):
  2821. (QWidgetPluginImpl::handle):
  2822. * WebCoreSupport/QWidgetPluginImpl.h: Copied from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
  2823. (QWidgetPluginImpl):
  2824. (QWidgetPluginImpl::QWidgetPluginImpl):
  2825. * WebCoreSupport/QtFallbackWebPopup.cpp:
  2826. (WebCore::QtFallbackWebPopup::QtFallbackWebPopup):
  2827. (WebCore::QtFallbackWebPopup::show):
  2828. (WebCore::QtFallbackWebPopup::pageClient):
  2829. * WebCoreSupport/QtFallbackWebPopup.h:
  2830. (QtFallbackWebPopup):
  2831. * WebCoreSupport/QtPluginWidgetAdapter.h: Copied from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
  2832. (QtPluginWidgetAdapter):
  2833. * WebCoreSupport/QtWebComboBox.cpp:
  2834. (WebCore::QtWebComboBox::showPopupAtCursorPosition):
  2835. * WebCoreSupport/QtWebComboBox.h:
  2836. * WebCoreSupport/SearchPopupMenuQt.h:
  2837. (SearchPopupMenuQt):
  2838. * WebCoreSupport/UndoStepQt.cpp:
  2839. (UndoStepQt::UndoStepQt):
  2840. (UndoStepQt::text):
  2841. * WebCoreSupport/UndoStepQt.h:
  2842. (UndoStepQt):
  2843. * WebCoreSupport/WebEventConversion.cpp:
  2844. (WebCore::mouseEventTypeAndMouseButtonFromQEvent):
  2845. (WebKitPlatformWheelEvent):
  2846. (WebCore::WebKitPlatformWheelEvent::applyDelta):
  2847. (WebCore::WebKitPlatformWheelEvent::WebKitPlatformWheelEvent):
  2848. (WebKitPlatformGestureEvent):
  2849. (WebCore::toPlatformEventType):
  2850. (WebCore::WebKitPlatformGestureEvent::WebKitPlatformGestureEvent):
  2851. (WebCore):
  2852. (WebCore::convertWheelEvent):
  2853. (WebCore::convertGesture):
  2854. * WebCoreSupport/WebEventConversion.h:
  2855. (QGestureEventFacade):
  2856. (WebCore):
  2857. * WebCoreSupport/WebSystemInterface.h:
  2858. * tests/qwebpage/tst_qwebpage.cpp:
  2859. (tst_QWebPage::loadHtml5Video):
  2860. (tst_QWebPage::multiplePageGroupsAndLocalStorage):
  2861. (tst_QWebPage::thirdPartyCookiePolicy):
  2862. 2012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
  2863. Position in QWebHitTestResult does not match documentation
  2864. https://bugs.webkit.org/show_bug.cgi?id=102909
  2865. Reviewed by Simon Hausmann.
  2866. Correct documentation and simplify using the new innerNodeFrame method.
  2867. * Api/qwebframe.cpp:
  2868. (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
  2869. 2012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
  2870. Disambiguate innerNodeFramePoint and mainFramePoint
  2871. https://bugs.webkit.org/show_bug.cgi?id=98139
  2872. Reviewed by Julien Chaffraix.
  2873. * Api/qwebframe.cpp:
  2874. (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
  2875. * Api/qwebpage.cpp:
  2876. (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
  2877. 2012-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
  2878. Unreviewed, rolling out r135295.
  2879. http://trac.webkit.org/changeset/135295
  2880. https://bugs.webkit.org/show_bug.cgi?id=102834
  2881. This patch causes assertion to some layout tests on chromium
  2882. (Requested by jianli on #webkit).
  2883. * Api/qwebframe.cpp:
  2884. (QWebFrame::QWebFrame):
  2885. (QWebFrame::load):
  2886. (QWebFrame::setHtml):
  2887. (QWebFrame::setContent):
  2888. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2889. (DumpRenderTreeSupportQt::setAlternateHtml):
  2890. * WebCoreSupport/FrameLoaderClientQt.cpp:
  2891. (WebCore::FrameLoaderClientQt::callErrorPageExtension):
  2892. 2012-11-20 James Simonsen <simonjam@chromium.org>
  2893. Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
  2894. https://bugs.webkit.org/show_bug.cgi?id=102151
  2895. Reviewed by Adam Barth.
  2896. * Api/qwebframe.cpp:
  2897. (QWebFrame::QWebFrame):
  2898. (QWebFrame::load):
  2899. (QWebFrame::setHtml):
  2900. (QWebFrame::setContent):
  2901. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2902. (DumpRenderTreeSupportQt::setAlternateHtml):
  2903. (qt_dump_set_accepts_editing):
  2904. * WebCoreSupport/FrameLoaderClientQt.cpp:
  2905. (WebCore::FrameLoaderClientQt::callErrorPageExtension):
  2906. 2012-11-18 Laszlo Gombos <l.gombos@samsung.com>
  2907. [Qt] Remove remaining traces of symbian
  2908. https://bugs.webkit.org/show_bug.cgi?id=102634
  2909. Reviewed by Kenneth Rohde Christiansen.
  2910. Remove symbian related part from the API documentation.
  2911. * Api/qgraphicswebview.cpp:
  2912. * Api/qwebview.cpp:
  2913. 2012-11-16 Kihong Kwon <kihong.kwon@samsung.com>
  2914. Add DeviceController base-class to remove duplication of DeviceXXXControler
  2915. https://bugs.webkit.org/show_bug.cgi?id=96894
  2916. Reviewed by Hajime Morita.
  2917. Change client() to deviceOrientationClient() to get DeviceOrientationClient*.
  2918. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  2919. (DumpRenderTreeSupportQt::setMockDeviceOrientation):
  2920. 2012-11-14 Csaba Osztrogonác <ossy@webkit.org>
  2921. [Qt] Fix tst_QWebFrame::setUrlWithPendingLoads() API test
  2922. https://bugs.webkit.org/show_bug.cgi?id=63237
  2923. Reviewed by Jocelyn Turcotte.
  2924. Uncomment this API test, because it works fine now.
  2925. * tests/qwebframe/tst_qwebframe.cpp:
  2926. (tst_QWebFrame):
  2927. (tst_QWebFrame::setUrlWithPendingLoads):
  2928. 2012-11-14 Andras Becsi <andras.becsi@digia.com>
  2929. [Qt] QStyleFacadeImp should use a QPointer to store the application style
  2930. https://bugs.webkit.org/show_bug.cgi?id=102084
  2931. Reviewed by Simon Hausmann.
  2932. QStyleFacadeImp implicitly creates a default style during the first
  2933. call to QApplication::style() in QStyleFacadeImp::style() but this
  2934. style is deleted when a custom style is set, thus the stored m_style
  2935. raw pointer in QStyleFacadeImp becomes dangling.
  2936. Use a QPointer to cache the style instead of a raw pointer.
  2937. This fixes the start-up crash in the anomaly example.
  2938. (https://bugreports.qt-project.org/browse/QTBUG-27924)
  2939. * WebCoreSupport/QStyleFacadeImp.h:
  2940. (QStyleFacadeImp):
  2941. 2012-11-13 Andreas Kling <kling@webkit.org>
  2942. Move inline style logic from ElementAttributeData to StyledElement.
  2943. <http://webkit.org/b/102120>
  2944. Reviewed by Antti Koivisto.
  2945. * Api/qwebelement.cpp:
  2946. (QWebElement::styleProperty):
  2947. 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  2948. [Qt] Fix tst_QWebPage::findText
  2949. Reviewed by Simon Hausmann.
  2950. Details of the failure:
  2951. FAIL! : tst_QWebPage::findText() Compared values are not the same
  2952. Actual (m_page->selectedHtml().trimmed().replace(regExp, "")): <span>foo</span>
  2953. Expected (subString): foo
  2954. Loc: [/home/joce/dev/webkit/Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp(2964)]
  2955. The format returned by selectedHtml changed.
  2956. Make the test a bit more robust by just checking that the HTML
  2957. contains our search value.
  2958. * tests/qwebpage/tst_qwebpage.cpp:
  2959. (tst_QWebPage::findText):
  2960. 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  2961. [Qt] Fix tst_QWebPage::testLocalStorageVisibility
  2962. Reviewed by Simon Hausmann.
  2963. window.localStorage is expected to work for file URLs.
  2964. I'm not sure why it did work when this test was written,
  2965. but I believe that it had the wrong expected value.
  2966. * tests/qwebpage/tst_qwebpage.cpp:
  2967. 2012-11-08 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  2968. [Qt] Fix tst_QObjectBridge::callQtInvokable
  2969. Reviewed by Simon Hausmann.
  2970. Q_DECLARE_METATYPE now calls qRegisterMetaType so just prevent
  2971. the value from being wrapped by QVariant since this code shouldn't
  2972. be reached anyway.
  2973. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  2974. (MyQObject::myInvokableWithBrushStyleArg):
  2975. 2012-11-08 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  2976. [Qt] Fix tst_QWebPage::inputMethods
  2977. Reviewed by Simon Hausmann.
  2978. Details of the failure:
  2979. FAIL! : tst_QWebPage::inputMethods(QWebView) Compared values are not the same
  2980. Actual (page->settings()->fontFamily(QWebSettings::SerifFont)): FooSerifFont
  2981. Expected (font.family()): Helvetica
  2982. Loc: [Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp(1691)]
  2983. The issue was that WebCore wouldn't find FooSerifFont and would have
  2984. RenderStyle::font() return the fallback font it used instead.
  2985. * tests/qwebpage/tst_qwebpage.cpp:
  2986. (tst_QWebPage::inputMethods):
  2987. 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  2988. [Qt] Fix tst_QWebPage::showModalDialog() API test
  2989. https://bugs.webkit.org/show_bug.cgi?id=63244
  2990. Reviewed by Simon Hausmann.
  2991. * tests/qwebpage/tst_qwebpage.cpp:
  2992. 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  2993. [Qt] tst_QWebElement::style() fails because QWebElement::InlineStyle now works as expected
  2994. https://bugs.webkit.org/show_bug.cgi?id=60372
  2995. Reviewed by Simon Hausmann.
  2996. Update the expected value to follow this comment in StylePropertySet::addParsedProperty:
  2997. "Only add properties that have no !important counterpart present"
  2998. * tests/qwebelement/tst_qwebelement.cpp:
  2999. (tst_QWebElement::style):
  3000. 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  3001. [Qt] tst_QWebElement::style() fails because QWebElement::CascadedStyle doesn't work as expected
  3002. https://bugs.webkit.org/show_bug.cgi?id=65244
  3003. Reviewed by Kenneth Rohde Christiansen.
  3004. StyleResolver::styleRulesForElement now takes flags as parameter instead of a bool to specify
  3005. that we want to exclude UI and user style sheets.
  3006. * Api/qwebelement.cpp:
  3007. (QWebElement::styleProperty):
  3008. * tests/qwebelement/tst_qwebelement.cpp:
  3009. (tst_QWebElement::style):
  3010. 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  3011. [Qt] Appending "!important" to the property value of QWebElement::setStyleProperty isn't working
  3012. https://bugs.webkit.org/show_bug.cgi?id=101763
  3013. Reviewed by Kenneth Rohde Christiansen.
  3014. In the pastWebCore have been considering the important token of a CSS
  3015. property value if it was followed by !important as well as the
  3016. important parameter of setInlineStyleProperty, but not anymore.
  3017. Since we need to keep the behavior compatible, do the parsing of the
  3018. value and extract the token if present. Ideally this would be passed
  3019. as a parameter to the function but I think it's not worth deprecating
  3020. the old mechanism.
  3021. The parsing is pretty dumb, so this will break applications that
  3022. passed a value with spaces between the "!" and "important".
  3023. This fixes part of tst_QWebElement::style
  3024. * Api/qwebelement.cpp:
  3025. (QWebElement::setStyleProperty):
  3026. 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  3027. [Qt] Fix URL issues in tst_qwebframe
  3028. https://bugs.webkit.org/show_bug.cgi?id=101741
  3029. Reviewed by Simon Hausmann.
  3030. * tests/qwebframe/tst_qwebframe.cpp:
  3031. (FakeReply::FakeReply):
  3032. Properly forward the request URL to our custom reply.
  3033. This would cause redirections not to occur. The requestedUrl and setUrlSameUrl tests
  3034. would fail because of this.
  3035. (tst_QWebFrame::setUrlToInvalid):
  3036. - http:/example.com is a valid URL, but not a valid HTTP URL, so remove this check.
  3037. - QCOMPARE uses testlib's toString on the QUrls to compare them and it now
  3038. also output the error description. Since we want to compare the resulting
  3039. URL instead, compare their toEncoded() value.
  3040. 2012-11-08 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  3041. [Qt] Fix a crash in tst_QWebInspector::attachAndDestroy
  3042. https://bugs.webkit.org/show_bug.cgi?id=101575
  3043. Reviewed by Simon Hausmann.
  3044. It can now happen that destroyInspectorView is called when the Page
  3045. is destroyed. This would call getOrCreateInspector and re-create a
  3046. QWebInspector.
  3047. Since the new instance is created after our setInspector(0) cleanup
  3048. in ~QWebPagePrivate, this runs into the same crash that this line was
  3049. protecting us against.
  3050. * WebCoreSupport/InspectorClientQt.cpp:
  3051. (WebCore::InspectorFrontendClientQt::destroyInspectorView):
  3052. 2012-11-08 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  3053. [Qt] Fix tst_QWebPage::inputMethods on Qt5
  3054. https://bugs.webkit.org/show_bug.cgi?id=101571
  3055. Reviewed by Simon Hausmann.
  3056. QEvent::RequestSoftwareInputPanel isn't passed through event filters anymore.
  3057. Use QInputMethodPrivate::testContext instead to capture input method events,
  3058. the same way as qtbase tests like tst_QTextEdit are doing.
  3059. * tests/qwebpage/tst_qwebpage.cpp:
  3060. (TestInputContext::TestInputContext):
  3061. (TestInputContext::~TestInputContext):
  3062. (TestInputContext):
  3063. (TestInputContext::showInputPanel):
  3064. (TestInputContext::hideInputPanel):
  3065. (TestInputContext::isInputPanelVisible):
  3066. (tst_QWebPage::inputMethods):
  3067. 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  3068. [Qt] Unmark now passing tests
  3069. https://bugs.webkit.org/show_bug.cgi?id=65531
  3070. Reviewed by Csaba Osztrogonác.
  3071. * tests/qwebpage/tst_qwebpage.cpp:
  3072. (tst_QWebPage::viewModes):
  3073. 2012-11-07 Allan Sandfeld Jensen <allan.jensen@digia.com>
  3074. [Qt] API test tst_qwebinspector crashes
  3075. https://bugs.webkit.org/show_bug.cgi?id=101599
  3076. Reviewed by Simon Hausmann.
  3077. Delete the internal inspector from QWebPage destructor, instead of causing recursions
  3078. between QWebPagePrivate::setInspector and QWebInspector::setPage.
  3079. Also separate the three tests in tst_QWebInspector to better tell which one is failing.
  3080. * Api/qwebpage.cpp:
  3081. (QWebPagePrivate::~QWebPagePrivate):
  3082. (QWebPagePrivate::setInspector):
  3083. * tests/qwebinspector/tst_qwebinspector.cpp:
  3084. (tst_QWebInspector):
  3085. (tst_QWebInspector::attachAndDestroyPageFirst):
  3086. (tst_QWebInspector::attachAndDestroyInspectorFirst):
  3087. (tst_QWebInspector::attachAndDestroyInternalInspector):
  3088. 2012-11-08 Allan Sandfeld Jensen <allan.jensen@digia.com>
  3089. [Qt] Open link in this window action
  3090. https://bugs.webkit.org/show_bug.cgi?id=101226
  3091. Reviewed by Csaba Osztrogonác.
  3092. * Api/qwebpage.cpp: Fix after r133763, move the initialization of OpenLinkInThisWindow to the proper place.
  3093. 2012-11-07 Allan Sandfeld Jensen <allan.jensen@digia.com>
  3094. [Qt] Open link in this window action
  3095. https://bugs.webkit.org/show_bug.cgi?id=101226
  3096. Reviewed by Simon Hausmann.
  3097. Adds the action to QtWebKit.
  3098. * Api/qwebpage.cpp:
  3099. (webActionForContextMenuAction):
  3100. (QWebPage::triggerAction):
  3101. (QWebPage::action):
  3102. * Api/qwebpage.h:
  3103. 2012-11-01 Stephen White <senorblanco@chromium.org>
  3104. Unreviewed, rolling out r133143.
  3105. http://trac.webkit.org/changeset/133143
  3106. https://bugs.webkit.org/show_bug.cgi?id=96894
  3107. Causing content_browsertests failures
  3108. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  3109. (DumpRenderTreeSupportQt::setMockDeviceOrientation):
  3110. 2012-11-01 Kihong Kwon <kihong.kwon@samsung.com>
  3111. Add DeviceController base-class to remove duplication of DeviceXXXControler
  3112. https://bugs.webkit.org/show_bug.cgi?id=96894
  3113. Reviewed by Hajime Morita.
  3114. Change client() to deviceOrientationClient() to get DeviceOrientationClient*.
  3115. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  3116. (DumpRenderTreeSupportQt::setMockDeviceOrientation):
  3117. 2012-10-31 Sheriff Bot <webkit.review.bot@gmail.com>
  3118. Unreviewed, rolling out r133016.
  3119. http://trac.webkit.org/changeset/133016
  3120. https://bugs.webkit.org/show_bug.cgi?id=100856
  3121. broke compile-webkit on several bots (Requested by podivilov
  3122. on #webkit).
  3123. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  3124. (DumpRenderTreeSupportQt::setMockDeviceOrientation):
  3125. 2012-10-31 Kihong Kwon <kihong.kwon@samsung.com>
  3126. Add DeviceController base-class to remove duplication of DeviceXXXControler
  3127. https://bugs.webkit.org/show_bug.cgi?id=96894
  3128. Reviewed by Hajime Morita.
  3129. Change client() to deviceOrientationClient() to get DeviceOrientationClient*.
  3130. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  3131. (DumpRenderTreeSupportQt::setMockDeviceOrientation):
  3132. 2012-10-30 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
  3133. [QT][DRT] Remove unneeded testRunner.setMediaType() implementation
  3134. https://bugs.webkit.org/show_bug.cgi?id=100740
  3135. Reviewed by Kenneth Rohde Christiansen.
  3136. Removed unneeded testRunner.setMediaType() implementation, as tests use
  3137. cross-platform window.internals.settings.setMediaTypeOverride instead.
  3138. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  3139. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  3140. 2012-10-24 Brady Eidson <beidson@apple.com>
  3141. Add a strategy for loader customization.
  3142. https://bugs.webkit.org/show_bug.cgi?id=100278
  3143. Reviewed by Alexey Proskuryakov.
  3144. * WebCoreSupport/PlatformStrategiesQt.cpp:
  3145. (PlatformStrategiesQt::createLoaderStrategy):
  3146. * WebCoreSupport/PlatformStrategiesQt.h:
  3147. (PlatformStrategiesQt):
  3148. 2012-10-23 Alexey Proskuryakov <ap@apple.com>
  3149. Add a strategy for shared workers
  3150. https://bugs.webkit.org/show_bug.cgi?id=100165
  3151. Reviewed by Brady Eidson.
  3152. * WebCoreSupport/PlatformStrategiesQt.cpp:
  3153. (PlatformStrategiesQt::createPasteboardStrategy):
  3154. (PlatformStrategiesQt::createSharedWorkerStrategy):
  3155. (PlatformStrategiesQt::createVisitedLinkStrategy):
  3156. * WebCoreSupport/PlatformStrategiesQt.h:
  3157. 2012-10-24 Allan Sandfeld Jensen <allan.jensen@digia.com>
  3158. [Qt] Expose useful WebCore::Settings
  3159. https://bugs.webkit.org/show_bug.cgi?id=100239
  3160. Reviewed by Kenneth Rohde Christiansen.
  3161. Expose the two settings CaretBrowsingEnabled and NotificationsEnabled.
  3162. * Api/qwebsettings.cpp:
  3163. (QWebSettingsPrivate::apply):
  3164. (QWebSettings::QWebSettings):
  3165. * Api/qwebsettings.h:
  3166. 2012-10-23 Andras Becsi <andras.becsi@digia.com>
  3167. Remove devicePixelRatio from ViewportAttributes
  3168. https://bugs.webkit.org/show_bug.cgi?id=99845
  3169. Reviewed by Adam Barth.
  3170. Pass the device pixel ratio as a function argument to
  3171. match the new API.
  3172. * Api/qwebpage.cpp:
  3173. (QWebPage::viewportAttributesForSize):
  3174. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  3175. (DumpRenderTreeSupportQt::viewportAsText):
  3176. 2012-10-23 Simon Hausmann <simon.hausmann@digia.com>
  3177. Unreviewed build fix with newer Qt 5.
  3178. QPlastiqueStyle has been removed, but as pointed out by Jens it's also not
  3179. maintained anymore and hence safe to remove. We can do tweaks with the new
  3180. fusion style if required.
  3181. * WebCoreSupport/QStyleFacadeImp.cpp:
  3182. (WebKit::QStyleFacadeImp::paintInnerSpinButton):
  3183. 2012-10-22 Simon Hausmann <simon.hausmann@digia.com>
  3184. [Qt] Fix build without QtWidgets
  3185. https://bugs.webkit.org/show_bug.cgi?id=99981
  3186. Reviewed by Tor Arne Vestbø.
  3187. Remove dependency to QtWidgets that is not needed here anymore since
  3188. the removal of the QtQuick1 code.
  3189. * declarative/experimental/experimental.pri:
  3190. * declarative/public.pri:
  3191. 2012-10-22 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
  3192. [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
  3193. https://bugs.webkit.org/show_bug.cgi?id=98514
  3194. Reviewed by Kenneth Rohde Christiansen.
  3195. * WebCoreSupport/FrameLoaderClientQt.cpp:
  3196. (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): Use FrameView::fixedVisibleContentRect
  3197. instead of FrameView::visibleContentRect as the source to always keep the correct state.
  3198. 2012-10-22 Allan Sandfeld Jensen <allan.jensen@digia.com>
  3199. [Qt] Basic gesture event handling
  3200. https://bugs.webkit.org/show_bug.cgi?id=66173
  3201. Reviewed by Simon Hausmann.
  3202. Implement basic handling of QGestureEvent converting and forwarding
  3203. Tap and TapAndHold gestures to WebCore.
  3204. * Api/qwebpage.cpp:
  3205. (QWebPagePrivate::gestureEvent):
  3206. (QWebPage::event):
  3207. * Api/qwebpage_p.h:
  3208. (QWebPagePrivate):
  3209. * WebCoreSupport/WebEventConversion.cpp:
  3210. (WebKitPlatformGestureEvent):
  3211. (WebCore::WebKitPlatformGestureEvent::WebKitPlatformGestureEvent):
  3212. (WebCore::convertGesture):
  3213. * WebCoreSupport/WebEventConversion.h:
  3214. 2012-10-17 Tor Arne Vestbø <tor.arne.vestbo@digia.com>
  3215. [Qt] Modularize documentation for QtWebKit
  3216. Running 'make docs' would fail unless 'make qmake_all' was ran first,
  3217. but qmake_all involved generating all the derived sources, which seems
  3218. overly complex just for building documentation.
  3219. We solve this by preventing all subdirs except QtWebKit from having a
  3220. docs target. This would normally work fine on its own, but since we
  3221. use CONFIG += ordered, there's now a missing doc target for the
  3222. immediate dependency of the QtWebKit subdir. We solve this by adding
  3223. a dummy-target ourselves.
  3224. Finally, we clean up the qdocconf file to match the rest of the Qt
  3225. documentation modularization efforts.
  3226. Reviewed by Simon Hausmann.
  3227. * docs/docs.pri: Removed.
  3228. * docs/qtwebkit.qdocconf: Removed.
  3229. 2012-10-15 Simon Hausmann <simon.hausmann@digia.com>
  3230. [Qt] Separate Qt WebKit into Qt WebKit and Qt WebKit Widgets
  3231. https://bugs.webkit.org/show_bug.cgi?id=88162
  3232. Reviewed by Kenneth Rohde Christiansen.
  3233. Rename the QtWebKit module to QtWebKitWidgets.
  3234. * declarative/experimental/experimental.pri:
  3235. * declarative/public.pri:
  3236. * docs/webkitsnippets/simple/simple.pro:
  3237. * docs/webkitsnippets/webpage/webpage.pro:
  3238. * tests/tests.pri:
  3239. 2012-10-10 Jon Lee <jonlee@apple.com>
  3240. [WK2] Activate plugins when user clicks on snapshot
  3241. https://bugs.webkit.org/show_bug.cgi?id=98328
  3242. <rdar://problem/12426681>
  3243. Reviewed by Brady Eidson.
  3244. * WebCoreSupport/FrameLoaderClientQt.h:
  3245. (WebCore::FrameLoaderClientQt::recreatePlugin): Stub implementation of recreatePlugin().
  3246. 2012-10-10 Balazs Kelemen <kbalazs@webkit.org>
  3247. [Qt] Test drivers should handle repaint rects
  3248. https://bugs.webkit.org/show_bug.cgi?id=68870
  3249. Reviewed by Zoltan Herczeg.
  3250. Added helpers to enable and get the repaint rects.
  3251. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  3252. (DumpRenderTreeSupportQt::setTrackRepaintRects):
  3253. (DumpRenderTreeSupportQt::trackRepaintRects):
  3254. (DumpRenderTreeSupportQt::getTrackedRepaintRects):
  3255. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  3256. 2012-10-08 Simon Hausmann <simon.hausmann@digia.com>
  3257. [Qt] Make RenderThemeQStyle/ScrollbarThemeQStyle compile without QStyle/QtWidgets
  3258. https://bugs.webkit.org/show_bug.cgi?id=98268
  3259. Reviewed by Tor Arne Vestbø.
  3260. Extracted QStyle/QWidget related code into a QWebStyle class that implements the QStyleFacade interface.
  3261. QStyleFacade is a pure interface that lives in WebCore/platform/qt
  3262. (next to RenderThemeQStyle and ScrollbarThemeQStyle) and provides a
  3263. minimal interface of what we need to draw with QStyle as well as basic
  3264. hit testing and metric retrieval. It also provides a
  3265. QStyleFacadeOption class that aggregates common meta-data for
  3266. rendering primitives, such as direction, rectangle, state (sunken,
  3267. enabled, etc.) or palette. It also provides some more slider/scrollbar
  3268. specific fields in a slider sub-structure.
  3269. RenderThemeQStyle/ScrollbarThemeQStyle used to instantiate specific QStyleOption sub-classes and populate
  3270. them with state information from render objects, before calling straight to QStyle. Most of the common code
  3271. was encapsulated in StylePainterQStyle.
  3272. The new RenderThemeQStyle/ScrolllbarThemeQStyle uses common code in
  3273. StylePainterQStyle to populate state into QStyleFacadeOption before
  3274. calling into QStyleFacade.
  3275. The style facade is then implemented by QStyleFacadeImp, which extracts
  3276. meta-data from QStyleFacadeOption arguments, populates style
  3277. primitive specific QStyleOption objects and then calls on QStyle.
  3278. RenderThemeQStyle/ScrollbarThemeQStyle can only use interface methods
  3279. from QStyleFacade. QStyleFacadeImp on the other hand will live in the
  3280. separate QtWebKitWidgets library in the future and therefore cannot use
  3281. any WebCore types.
  3282. * WebCoreSupport/InitWebCoreQt.cpp:
  3283. (WebCore::initializeWebCoreQt):
  3284. * WebCoreSupport/QStyleFacadeImp.cpp: Added.
  3285. (WebKit):
  3286. (WebKit::convertToQStyleState):
  3287. (WebKit::convertToQStyleSubControl):
  3288. (WebKit::initGenericStyleOption):
  3289. (WebKit::initSpecificStyleOption):
  3290. (MappedStyleOption):
  3291. (WebKit::MappedStyleOption::MappedStyleOption):
  3292. (WebKit::convertPixelMetric):
  3293. (WebKit::convertToQStyleFacadeSubControl):
  3294. (WebKit::QStyleFacadeImp::QStyleFacadeImp):
  3295. (WebKit::QStyleFacadeImp::~QStyleFacadeImp):
  3296. (WebKit::QStyleFacadeImp::buttonSubElementRect):
  3297. (WebKit::QStyleFacadeImp::findFrameLineWidth):
  3298. (WebKit::QStyleFacadeImp::simplePixelMetric):
  3299. (WebKit::QStyleFacadeImp::buttonMargin):
  3300. (WebKit::QStyleFacadeImp::sliderLength):
  3301. (WebKit::QStyleFacadeImp::sliderThickness):
  3302. (WebKit::QStyleFacadeImp::progressBarChunkWidth):
  3303. (WebKit::QStyleFacadeImp::getButtonMetrics):
  3304. (WebKit::QStyleFacadeImp::sizeFromContents):
  3305. (WebKit::QStyleFacadeImp::paintButton):
  3306. (WebKit::QStyleFacadeImp::paintTextField):
  3307. (WebKit::QStyleFacadeImp::paintComboBox):
  3308. (WebKit::QStyleFacadeImp::paintComboBoxArrow):
  3309. (WebKit::QStyleFacadeImp::paintSliderTrack):
  3310. (WebKit::QStyleFacadeImp::paintSliderThumb):
  3311. (WebKit::QStyleFacadeImp::paintInnerSpinButton):
  3312. (WebKit::QStyleFacadeImp::paintProgressBar):
  3313. (WebKit::QStyleFacadeImp::scrollBarExtent):
  3314. (WebKit::QStyleFacadeImp::scrollBarMiddleClickAbsolutePositionStyleHint):
  3315. (WebKit::QStyleFacadeImp::paintScrollCorner):
  3316. (WebKit::QStyleFacadeImp::hitTestScrollBar):
  3317. (WebKit::QStyleFacadeImp::scrollBarSubControlRect):
  3318. (WebKit::QStyleFacadeImp::paintScrollBar):
  3319. (WebKit::QStyleFacadeImp::widgetForPainter):
  3320. (WebKit::QStyleFacadeImp::style):
  3321. * WebCoreSupport/QStyleFacadeImp.h: Added.
  3322. (WebCore):
  3323. (WebKit):
  3324. (QStyleFacadeImp):
  3325. (WebKit::QStyleFacadeImp::create):
  3326. (WebKit::QStyleFacadeImp::isValid):
  3327. 2012-10-08 Zoltan Horvath <zoltan@webkit.org>
  3328. [Qt] r122720 causes performance regression with DirectFB on ARMv7
  3329. https://bugs.webkit.org/show_bug.cgi?id=97548
  3330. Reviewed by Jocelyn Turcotte.
  3331. Revert the rest of r122720. This change modifies the NativeImagePtr from QImage* to QPixmap*.
  3332. Covered by existing tests.
  3333. * Api/qwebframe.cpp:
  3334. (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
  3335. * Api/qwebhistory.cpp:
  3336. (QWebHistoryItem::icon):
  3337. * Api/qwebsettings.cpp:
  3338. (QWebSettings::iconForUrl):
  3339. (QWebSettings::setWebGraphic):
  3340. (QWebSettings::webGraphic):
  3341. * WebCoreSupport/DragClientQt.cpp:
  3342. (WebCore::DragClientQt::startDrag):
  3343. * WebCoreSupport/InitWebCoreQt.cpp:
  3344. (WebCore::initializeWebCoreQt):
  3345. 2012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  3346. Rename first/second to key/value in HashMap iterators
  3347. https://bugs.webkit.org/show_bug.cgi?id=82784
  3348. Reviewed by Eric Seidel.
  3349. * Api/qwebpage.cpp:
  3350. (extractContentTypeFromPluginVector):
  3351. * Api/qwebplugindatabase.cpp:
  3352. (QWebPluginInfo::mimeTypes):
  3353. * WebCoreSupport/PlatformStrategiesQt.cpp:
  3354. (PlatformStrategiesQt::getPluginInfo):
  3355. 2012-10-05 Simon Hausmann <simon.hausmann@digia.com>
  3356. Unreviewed, rolling out r130495.
  3357. http://trac.webkit.org/changeset/130495
  3358. https://bugs.webkit.org/show_bug.cgi?id=98268
  3359. Made WK2 tests crash.
  3360. * WebCoreSupport/InitWebCoreQt.cpp:
  3361. (WebCore::initializeWebCoreQt):
  3362. * WebCoreSupport/QStyleFacadeImp.cpp: Removed.
  3363. * WebCoreSupport/QStyleFacadeImp.h: Removed.
  3364. * WebCoreSupport/RenderThemeQStyle.cpp: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.cpp.
  3365. (WebCore):
  3366. (WebCore::initStyleOption):
  3367. (WebCore::RenderThemeQStyle::getStylePainter):
  3368. (WebCore::StylePainterQStyle::StylePainterQStyle):
  3369. (WebCore::StylePainterQStyle::init):
  3370. (WebCore::RenderThemeQStyle::create):
  3371. (WebCore::RenderThemeQStyle::RenderThemeQStyle):
  3372. (WebCore::RenderThemeQStyle::~RenderThemeQStyle):
  3373. (WebCore::RenderThemeQStyle::fallbackStyle):
  3374. (WebCore::RenderThemeQStyle::setPaletteFromPageClientIfExists):
  3375. (WebCore::RenderThemeQStyle::qStyle):
  3376. (WebCore::RenderThemeQStyle::findFrameLineWidth):
  3377. (WebCore::RenderThemeQStyle::inflateButtonRect):
  3378. (WebCore::RenderThemeQStyle::computeSizeBasedOnStyle):
  3379. (WebCore::RenderThemeQStyle::adjustButtonStyle):
  3380. (WebCore::RenderThemeQStyle::setButtonPadding):
  3381. (WebCore::RenderThemeQStyle::paintButton):
  3382. (WebCore::RenderThemeQStyle::paintTextField):
  3383. (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
  3384. (WebCore::RenderThemeQStyle::paintTextArea):
  3385. (WebCore::RenderThemeQStyle::setPopupPadding):
  3386. (WebCore::RenderThemeQStyle::colorPalette):
  3387. (WebCore::RenderThemeQStyle::paintMenuList):
  3388. (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
  3389. (WebCore::RenderThemeQStyle::paintMenuListButton):
  3390. (WebCore::RenderThemeQStyle::animationDurationForProgressBar):
  3391. (WebCore::RenderThemeQStyle::paintProgressBar):
  3392. (WebCore::RenderThemeQStyle::paintSliderTrack):
  3393. (WebCore::RenderThemeQStyle::adjustSliderTrackStyle):
  3394. (WebCore::RenderThemeQStyle::paintSliderThumb):
  3395. (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
  3396. (WebCore::RenderThemeQStyle::paintSearchField):
  3397. (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
  3398. (WebCore::RenderThemeQStyle::paintSearchFieldDecoration):
  3399. (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
  3400. (WebCore::RenderThemeQStyle::paintSearchFieldResultsDecoration):
  3401. (WebCore::RenderThemeQStyle::paintInnerSpinButton):
  3402. (WebCore::RenderThemeQStyle::initializeCommonQStyleOptions):
  3403. (WebCore::RenderThemeQStyle::adjustSliderThumbSize):
  3404. * WebCoreSupport/RenderThemeQStyle.h: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.h.
  3405. (WebCore):
  3406. (RenderThemeQStyle):
  3407. (StylePainterQStyle):
  3408. (WebCore::StylePainterQStyle::isValid):
  3409. (WebCore::StylePainterQStyle::drawPrimitive):
  3410. (WebCore::StylePainterQStyle::drawControl):
  3411. (WebCore::StylePainterQStyle::drawComplexControl):
  3412. * WebCoreSupport/ScrollbarThemeQStyle.cpp: Renamed from Source/WebCore/platform/qt/ScrollbarThemeQStyle.cpp.
  3413. (WebCore):
  3414. (WebCore::ScrollbarThemeQStyle::~ScrollbarThemeQStyle):
  3415. (WebCore::scPart):
  3416. (WebCore::scrollbarPart):
  3417. (WebCore::styleOptionSlider):
  3418. (WebCore::ScrollbarThemeQStyle::paint):
  3419. (WebCore::ScrollbarThemeQStyle::hitTest):
  3420. (WebCore::ScrollbarThemeQStyle::shouldCenterOnThumb):
  3421. (WebCore::ScrollbarThemeQStyle::invalidatePart):
  3422. (WebCore::ScrollbarThemeQStyle::scrollbarThickness):
  3423. (WebCore::ScrollbarThemeQStyle::thumbPosition):
  3424. (WebCore::ScrollbarThemeQStyle::thumbLength):
  3425. (WebCore::ScrollbarThemeQStyle::trackPosition):
  3426. (WebCore::ScrollbarThemeQStyle::trackLength):
  3427. (WebCore::ScrollbarThemeQStyle::paintScrollCorner):
  3428. (WebCore::ScrollbarThemeQStyle::style):
  3429. * WebCoreSupport/ScrollbarThemeQStyle.h: Renamed from Source/WebCore/platform/qt/ScrollbarThemeQStyle.h.
  3430. (WebCore):
  3431. (ScrollbarThemeQStyle):
  3432. 2012-10-05 Simon Hausmann <simon.hausmann@digia.com>
  3433. [Qt] Make RenderThemeQStyle/ScrollbarThemeQStyle compile without QStyle/QtWidgets
  3434. https://bugs.webkit.org/show_bug.cgi?id=98268
  3435. Reviewed by Tor Arne Vestbø.
  3436. Extracted QStyle/QWidget related code into a QWebStyle class that implements the QStyleFacade interface.
  3437. QStyleFacade is a pure interface that lives in WebCore/platform/qt
  3438. (next to RenderThemeQStyle and ScrollbarThemeQStyle) and provides a
  3439. minimal interface of what we need to draw with QStyle as well as basic
  3440. hit testing and metric retrieval. It also provides a
  3441. QStyleFacadeOption class that aggregates common meta-data for
  3442. rendering primitives, such as direction, rectangle, state (sunken,
  3443. enabled, etc.) or palette. It also provides some more slider/scrollbar
  3444. specific fields in a slider sub-structure.
  3445. RenderThemeQStyle/ScrollbarThemeQStyle used to instantiate specific QStyleOption sub-classes and populate
  3446. them with state information from render objects, before calling straight to QStyle. Most of the common code
  3447. was encapsulated in StylePainterQStyle.
  3448. The new RenderThemeQStyle/ScrolllbarThemeQStyle uses common code in
  3449. StylePainterQStyle to populate state into QStyleFacadeOption before
  3450. calling into QStyleFacade.
  3451. The style facade is then implemented by QStyleFacadeImp, which extracts
  3452. meta-data from QStyleFacadeOption arguments, populates style
  3453. primitive specific QStyleOption objects and then calls on QStyle.
  3454. RenderThemeQStyle/ScrollbarThemeQStyle can only use interface methods
  3455. from QStyleFacade. QStyleFacadeImp on the other hand will live in the
  3456. separate QtWebKitWidgets library in the future and therefore cannot use
  3457. any WebCore types.
  3458. * WebCoreSupport/InitWebCoreQt.cpp:
  3459. (WebCore::initializeWebCoreQt):
  3460. * WebCoreSupport/QStyleFacadeImp.cpp: Added.
  3461. (WebKit):
  3462. (WebKit::convertToQStyleState):
  3463. (WebKit::convertToQStyleSubControl):
  3464. (WebKit::initGenericStyleOption):
  3465. (WebKit::initSpecificStyleOption):
  3466. (MappedStyleOption):
  3467. (WebKit::MappedStyleOption::MappedStyleOption):
  3468. (WebKit::convertPixelMetric):
  3469. (WebKit::convertToQStyleFacadeSubControl):
  3470. (WebKit::QStyleFacadeImp::QStyleFacadeImp):
  3471. (WebKit::QStyleFacadeImp::~QStyleFacadeImp):
  3472. (WebKit::QStyleFacadeImp::buttonSubElementRect):
  3473. (WebKit::QStyleFacadeImp::findFrameLineWidth):
  3474. (WebKit::QStyleFacadeImp::simplePixelMetric):
  3475. (WebKit::QStyleFacadeImp::buttonMargin):
  3476. (WebKit::QStyleFacadeImp::sliderLength):
  3477. (WebKit::QStyleFacadeImp::sliderThickness):
  3478. (WebKit::QStyleFacadeImp::progressBarChunkWidth):
  3479. (WebKit::QStyleFacadeImp::getButtonMetrics):
  3480. (WebKit::QStyleFacadeImp::sizeFromContents):
  3481. (WebKit::QStyleFacadeImp::paintButton):
  3482. (WebKit::QStyleFacadeImp::paintTextField):
  3483. (WebKit::QStyleFacadeImp::paintComboBox):
  3484. (WebKit::QStyleFacadeImp::paintComboBoxArrow):
  3485. (WebKit::QStyleFacadeImp::paintSliderTrack):
  3486. (WebKit::QStyleFacadeImp::paintSliderThumb):
  3487. (WebKit::QStyleFacadeImp::paintInnerSpinButton):
  3488. (WebKit::QStyleFacadeImp::paintProgressBar):
  3489. (WebKit::QStyleFacadeImp::scrollBarExtent):
  3490. (WebKit::QStyleFacadeImp::scrollBarMiddleClickAbsolutePositionStyleHint):
  3491. (WebKit::QStyleFacadeImp::paintScrollCorner):
  3492. (WebKit::QStyleFacadeImp::hitTestScrollBar):
  3493. (WebKit::QStyleFacadeImp::scrollBarSubControlRect):
  3494. (WebKit::QStyleFacadeImp::paintScrollBar):
  3495. (WebKit::QStyleFacadeImp::widgetForPainter):
  3496. (WebKit::QStyleFacadeImp::style):
  3497. * WebCoreSupport/QStyleFacadeImp.h: Added.
  3498. (WebCore):
  3499. (WebKit):
  3500. (QStyleFacadeImp):
  3501. (WebKit::QStyleFacadeImp::create):
  3502. (WebKit::QStyleFacadeImp::isValid):
  3503. 2012-10-05 Simon Hausmann <simon.hausmann@digia.com>
  3504. [Qt] Remove dead code
  3505. https://bugs.webkit.org/show_bug.cgi?id=98491
  3506. Reviewed by Jocelyn Turcotte.
  3507. This code was added long time ago for a Symbian related project and is
  3508. not needed anymore.
  3509. * Api/qwebframe.cpp:
  3510. 2012-10-04 Simon Fraser <simon.fraser@apple.com>
  3511. Final part of "sync" to "flush" renaming
  3512. https://bugs.webkit.org/show_bug.cgi?id=98430
  3513. Reviewed by Tim Horton.
  3514. Change method names on GraphicsLayer and GraphicsLayerClient that
  3515. refer to "sync" to use the term "flush" instead, to be consistent
  3516. with the rest of the code.
  3517. * WebCoreSupport/PageClientQt.cpp:
  3518. (WebCore::TextureMapperLayerClientQt::syncRootLayer):
  3519. 2012-10-04 Simon Fraser <simon.fraser@apple.com>
  3520. Standardize on "flush" terminology for compositing layer flushing/syncing
  3521. https://bugs.webkit.org/show_bug.cgi?id=98321
  3522. Reviewed by Simon Fraser.
  3523. Rename compositing-related methods that refer to "syncing" to instead
  3524. refer to "flushing".
  3525. * WebCoreSupport/ChromeClientQt.cpp:
  3526. (WebCore::ChromeClientQt::scheduleCompositingLayerFlush):
  3527. * WebCoreSupport/ChromeClientQt.h:
  3528. (ChromeClientQt):
  3529. * WebCoreSupport/PageClientQt.cpp:
  3530. (WebCore::PageClientQGraphicsWidget::syncLayers):
  3531. 2012-10-03 Balazs Kelemen <kbalazs@webkit.org>
  3532. [Qt] Enable mock scrollbars
  3533. https://bugs.webkit.org/show_bug.cgi?id=98011
  3534. Reviewed by Csaba Osztrogonác.
  3535. Added helper to enable mock scrollbars.
  3536. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  3537. (DumpRenderTreeSupportQt::enableMockScrollbars):
  3538. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  3539. 2012-10-01 Brady Eidson <beidson@apple.com>
  3540. Remove the Safari 2 -> Safari 3 icon database import code.
  3541. https://bugs.webkit.org/show_bug.cgi?id=98113
  3542. Reviewed by Maciej Stachowiak.
  3543. Nuke the performImport() IconDatabaseClient method.
  3544. * WebCoreSupport/IconDatabaseClientQt.cpp:
  3545. * WebCoreSupport/IconDatabaseClientQt.h:
  3546. (IconDatabaseClientQt):
  3547. 2012-09-28 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
  3548. Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports
  3549. https://bugs.webkit.org/show_bug.cgi?id=97547
  3550. Reviewed by Adam Barth.
  3551. Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
  3552. inside WebCore::FrameLoaderClientQt::canShowMIMEType().
  3553. * WebCoreSupport/FrameLoaderClientQt.cpp:
  3554. (WebCore::FrameLoaderClientQt::canShowMIMEType):
  3555. 2012-09-27 Allan Sandfeld Jensen <allan.jensen@digia.com>
  3556. Unify event handling of middle mouse button.
  3557. https://bugs.webkit.org/show_bug.cgi?id=97690
  3558. Reviewed by Tony Chang.
  3559. Remove port specific handling of middle mouse button press.
  3560. * Api/qwebpage.cpp:
  3561. (QWebPagePrivate::mouseReleaseEvent):
  3562. * Api/qwebpage_p.h:
  3563. (QWebPagePrivate):
  3564. 2012-09-26 Simon Hausmann <simon.hausmann@digia.com>
  3565. [Qt] Remove Qt Quick 1 support
  3566. Reviewed by Kenneth Rohde Christiansen.
  3567. It is being moved to the Qt5 QtQuick1 module.
  3568. A circular dependency exists otherwise in Qt, where QtWebKit would depend on QtQuick1,
  3569. which in turn depends on QtTools (for designer plugin), which in turn depends on QtWebKit
  3570. (for assistant help html rendering).
  3571. * declarative/plugin.cpp:
  3572. (WebKitQmlPlugin::registerTypes):
  3573. * declarative/public.pri:
  3574. * declarative/qdeclarativewebview.cpp: Removed.
  3575. * declarative/qdeclarativewebview_p.h: Removed.
  3576. * tests/qdeclarativewebview/qdeclarativewebview.pro: Removed.
  3577. * tests/qdeclarativewebview/resources/basic.html: Removed.
  3578. * tests/qdeclarativewebview/resources/basic.png: Removed.
  3579. * tests/qdeclarativewebview/resources/basic.qml: Removed.
  3580. * tests/qdeclarativewebview/resources/elements.html: Removed.
  3581. * tests/qdeclarativewebview/resources/elements.qml: Removed.
  3582. * tests/qdeclarativewebview/resources/forward.html: Removed.
  3583. * tests/qdeclarativewebview/resources/forward.png: Removed.
  3584. * tests/qdeclarativewebview/resources/javaScript.html: Removed.
  3585. * tests/qdeclarativewebview/resources/javaScript.qml: Removed.
  3586. * tests/qdeclarativewebview/resources/loadError.qml: Removed.
  3587. * tests/qdeclarativewebview/resources/newwindows.html: Removed.
  3588. * tests/qdeclarativewebview/resources/newwindows.qml: Removed.
  3589. * tests/qdeclarativewebview/resources/propertychanges.qml: Removed.
  3590. * tests/qdeclarativewebview/resources/sample.html: Removed.
  3591. * tests/qdeclarativewebview/resources/sethtml.qml: Removed.
  3592. * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml: Removed.
  3593. * tests/qdeclarativewebview/resources/webviewtest.qml: Removed.
  3594. * tests/qdeclarativewebview/resources/webviewtestdefault.qml: Removed.
  3595. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Removed.
  3596. * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc: Removed.
  3597. 2012-09-25 Beth Dakin <bdakin@apple.com>
  3598. https://bugs.webkit.org/show_bug.cgi?id=95397
  3599. Need to merge didFirstVisuallyNonEmptyLayout and
  3600. didNewFirstVisuallyNonEmptyLayout
  3601. -and corresponding-
  3602. <rdar://problem/10791680>
  3603. Reviewed by Sam Weinig.
  3604. Remove dispatchDidFirstLayout,
  3605. dispatchDidFirstVisuallyNonEmptyLayout, and
  3606. dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality
  3607. is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
  3608. * WebCoreSupport/FrameLoaderClientQt.cpp:
  3609. (WebCore::FrameLoaderClientQt::dispatchDidLayout):
  3610. * WebCoreSupport/FrameLoaderClientQt.h:
  3611. (FrameLoaderClientQt):
  3612. It is now necessary to opt into getting any of the
  3613. "layout milestone" notifications.
  3614. * Api/qwebpage.cpp:
  3615. (QWebPagePrivate::QWebPagePrivate):
  3616. 2012-09-25 Simon Hausmann <simon.hausmann@digia.com>
  3617. [Qt] Fix failing assertion when calling QWebSettings::setIconDatabasePath multiple times
  3618. Reviewed by Jocelyn Turcotte.
  3619. This happens in various auto-tests. We can implement this by closing the database before
  3620. opening it with the new path.
  3621. * Api/qwebsettings.cpp:
  3622. (QWebSettings::setIconDatabasePath):
  3623. 2012-09-24 Benjamin Poulain <bpoulain@apple.com>
  3624. Fix Geolocation error reporting in the test support
  3625. https://bugs.webkit.org/show_bug.cgi?id=97386
  3626. Reviewed by Sam Weinig.
  3627. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  3628. (DumpRenderTreeSupportQt::setMockGeolocationPositionUnavailableError):
  3629. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  3630. 2012-09-20 Csaba Osztrogonác <ossy@webkit.org>
  3631. [Qt] Enable CSS regions by default
  3632. https://bugs.webkit.org/show_bug.cgi?id=97196
  3633. Reviewed by Dirk Schulze.
  3634. * Api/qwebsettings.cpp:
  3635. (QWebSettings::QWebSettings):
  3636. 2012-09-17 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  3637. [Qt] Use UndoStep::editingAction() to set the text of undo/redo actions
  3638. https://bugs.webkit.org/show_bug.cgi?id=96921
  3639. Reviewed by Ryosuke Niwa.
  3640. Set the text of QUndoCommands we create for undo/redo actions based on the
  3641. editing action from UndoStep.
  3642. This change is visible using QtTestBrowser, and looking at the Edit menu after
  3643. doing HTML editing changes. I've used http://simple-rte.rniwa.com for testing.
  3644. * WebCoreSupport/UndoStepQt.cpp:
  3645. (undoNameForEditAction): This function returns a localized name of the action.
  3646. (UndoStepQt::UndoStepQt): Set the text based on UndoStep::editingAction.
  3647. * tests/qwebpage/tst_qwebpage.cpp:
  3648. (tst_QWebPage):
  3649. (tst_QWebPage::undoActionHaveCustomText): Create a new test to verify that the text
  3650. describing the undo action after inserting a text and indenting the text is different.
  3651. 2012-09-17 Leo Franchi <lfranchi@kde.org>
  3652. [Qt] Inspector WebSocket backend protocol update
  3653. https://bugs.webkit.org/show_bug.cgi?id=77031
  3654. Also adds support for multi-frame messages and non-text messages.
  3655. Thanks to Jocelyn Turcotte for most of the WebSocket update code!
  3656. Reviewed by Simon Hausmann.
  3657. * WebCoreSupport/InspectorServerQt.cpp:
  3658. (WebCore):
  3659. (WebCore::generateWebSocketChallengeResponse):
  3660. (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
  3661. (WebCore::InspectorServerRequestHandlerQt::webSocketSend):
  3662. (WebCore::applyMask):
  3663. (WebCore::InspectorServerRequestHandlerQt::webSocketReadyRead):
  3664. * WebCoreSupport/InspectorServerQt.h:
  3665. (InspectorServerRequestHandlerQt):
  3666. 2012-09-15 Pierre Rossi <pierre.rossi@gmail.com>
  3667. [Qt] QDoc fixes for Qt 5 documentation
  3668. https://bugs.webkit.org/show_bug.cgi?id=96796
  3669. Reviewed by Simon Hausmann.
  3670. Produce fewer warnings and a better documentation.
  3671. Having two QML modules providing a WebView component is a bit too much for poor old qdoc to
  3672. cope with (or would require a lot of painful disambiguation by hand). Since the plan is to have
  3673. QDeclarativeWebView living in the qtquick1 module, we can already take it out of the
  3674. documentation generation for now.
  3675. * declarative/qdeclarativewebview.cpp: s/qmlclass/qmltype/ out of principle
  3676. * docs/qtwebkit.qdocconf: Remove the \i alias that caused a warning. Use *.h as headers suffix, not sources.
  3677. Also remove QDeclarativeWebView from the documentation.
  3678. 2012-09-13 Lauro Neto <lauro.neto@openbossa.org>
  3679. [Qt][WK2] fast/forms/access-key-for-all-elements.html fails
  3680. https://bugs.webkit.org/show_bug.cgi?id=73917
  3681. Reviewed by Simon Hausmann.
  3682. Access-key tests were failing due to hardcoded Mac OS X in the
  3683. Qt WK2 user agent string. This commit moves the WK1 implementation
  3684. to a shared one to be used by both versions.
  3685. Change QWebPage to use the shared user agent implementation.
  3686. * Api/qwebpage.cpp:
  3687. (QWebPage::userAgentForUrl):
  3688. 2012-09-13 Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
  3689. [Qt] Fix qdoc executable preparation
  3690. Reviewed by Tor Arne Vestbø.
  3691. * docs/docs.pri:
  3692. 2012-09-12 Sheriff Bot <webkit.review.bot@gmail.com>
  3693. Unreviewed, rolling out r127876.
  3694. http://trac.webkit.org/changeset/127876
  3695. https://bugs.webkit.org/show_bug.cgi?id=96600
  3696. mouse click doesn't work for spin button if spin button in
  3697. iframe (Requested by yosin on #webkit).
  3698. * Api/qwebframe.cpp:
  3699. (QWebFrame::hitTestContent):
  3700. * Api/qwebpage.cpp:
  3701. (QWebPagePrivate::handleSoftwareInputPanel):
  3702. (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
  3703. (QWebPage::updatePositionDependentActions):
  3704. * WebCoreSupport/FrameLoaderClientQt.cpp:
  3705. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
  3706. 2012-09-12 Roland Takacs <rtakacs@inf.u-szeged.hu>
  3707. [Qt] Segmentation fault when closing QtTestBrowser
  3708. https://bugs.webkit.org/show_bug.cgi?id=95003
  3709. Reviewed by Simon Hausmann.
  3710. Defined a new QObject* variable that points to the QGLWidget that was created
  3711. in 'createPlatformGraphicsContext3DFromWidget'.
  3712. It is neccessary for deallocating it.
  3713. * WebCoreSupport/PageClientQt.cpp:
  3714. (createPlatformGraphicsContext3DFromWidget):
  3715. (WebCore::PageClientQWidget::createPlatformGraphicsContext3D):
  3716. (WebCore::PageClientQGraphicsWidget::createPlatformGraphicsContext3D):
  3717. * WebCoreSupport/PageClientQt.h:
  3718. (PageClientQWidget):
  3719. (PageClientQGraphicsWidget):
  3720. 2012-09-12 Andras Becsi <andras.becsi@nokia.com>
  3721. [Qt] Add module identifier directive to the qmldir files
  3722. https://bugs.webkit.org/show_bug.cgi?id=96406
  3723. Reviewed by Simon Hausmann.
  3724. Qt5 QML modules need to be identified. Type registrations are only permitted
  3725. into the namespace identified in the qmldir file's module identifier directive.
  3726. Additionally this also facilitates the protection against external registrations.
  3727. This patch suppresses a warning when importing the QtWebKit module.
  3728. * declarative/experimental/qmldir:
  3729. * declarative/qmldir:
  3730. 2012-09-11 Marcelo Lira <marcelo.lira@openbossa.org>
  3731. Restore original value of mock scrollbars enabled in InternalSettings
  3732. https://bugs.webkit.org/show_bug.cgi?id=87680
  3733. Reviewed by Adam Barth.
  3734. Added backup support for mock scrollbars state in
  3735. InternalSettings::Backup, and removed support for these
  3736. from Qt's DumpRenderTree.
  3737. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  3738. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  3739. 2012-09-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  3740. [Qt] Add a configure step to the Qt build system
  3741. This allows building the Qt port using just 'qmake WebKit.pro'. Using
  3742. the build-webkit script is still supported, and will add slightly more
  3743. logic to the build, such as detecting the need for clean or incremental
  3744. builds.
  3745. Internally, the build system now uses a new variable, WEBKIT_CONFIG, for
  3746. all things related to configuring the build, such as use/have/enable flags,
  3747. and these are translated to defines in default_post. Project files should
  3748. no longer check contains(DEFINES,...) to detect features, but use the new
  3749. enable?(), use?(), and have?() functions. The no_webkit1 and no_webkit2
  3750. options have been translated into WEBKIT_CONFIG options as well, and can
  3751. be checked using build?().
  3752. Reviewed by Simon Hausmann.
  3753. * declarative/declarative.pro:
  3754. * declarative/public.pri:
  3755. * tests/qgraphicswebview/qgraphicswebview.pro:
  3756. 2012-09-11 Andras Becsi <andras.becsi@nokia.com>
  3757. [Qt][WK2] Fix the build with recent Qt5
  3758. https://bugs.webkit.org/show_bug.cgi?id=96283
  3759. Reviewed by Simon Hausmann.
  3760. We should not use deprecated Qt API because doing that results
  3761. in build failure since all the deprecated API was disabled
  3762. in qtbase (https://codereview.qt-project.org/#change,24890).
  3763. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  3764. (tst_QGraphicsWebView::widgetsRenderingThroughCache):
  3765. (tst_QGraphicsWebView::setPalette):
  3766. (tst_QGraphicsWebView::compareCanvasToImage):
  3767. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  3768. (tst_QObjectBridge::ownership):
  3769. * tests/qwebframe/tst_qwebframe.cpp:
  3770. (tst_QWebFrame::popupFocus):
  3771. (tst_QWebFrame::inputFieldFocus):
  3772. (tst_QWebFrame::evaluateWillCauseRepaint):
  3773. * tests/qwebpage/tst_qwebpage.cpp:
  3774. (Navigation):
  3775. (PluginCounterPage):
  3776. * tests/qwebview/tst_qwebview.cpp:
  3777. (tst_QWebView::reusePage):
  3778. (tst_QWebView::focusInputTypes):
  3779. (tst_QWebView::setPalette):
  3780. (tst_QWebView::renderingAfterMaxAndBack):
  3781. 2012-09-09 Emil A Eklund <eae@chromium.org>
  3782. Rename Node::getRect/getPixelSnappedRect and remove ContainerNode::getRect
  3783. https://bugs.webkit.org/show_bug.cgi?id=81413
  3784. Reviewed by David Hyatt.
  3785. Update qwebelement and qwebpage to call pixelSnappedBoundingBox.
  3786. * Api/qwebelement.cpp:
  3787. (QWebElement::geometry):
  3788. (QWebElement::render):
  3789. * Api/qwebpage.cpp:
  3790. (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
  3791. 2012-09-07 Allan Sandfeld Jensen <allan.jensen@nokia.com>
  3792. Simplify hitTestResultAtPoint and nodesFromRect APIs
  3793. https://bugs.webkit.org/show_bug.cgi?id=95720
  3794. Reviewed by Antonio Gomes.
  3795. Update calls to new API.
  3796. * Api/qwebframe.cpp:
  3797. (QWebFrame::hitTestContent):
  3798. * Api/qwebpage.cpp:
  3799. (QWebPagePrivate::handleSoftwareInputPanel):
  3800. (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
  3801. (QWebPage::updatePositionDependentActions):
  3802. * WebCoreSupport/FrameLoaderClientQt.cpp:
  3803. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
  3804. 2012-09-07 Allan Sandfeld Jensen <allan.jensen@nokia.com>
  3805. X11 Global Selection
  3806. https://bugs.webkit.org/show_bug.cgi?id=88238
  3807. Reviewed by Tony Chang.
  3808. Use new editor command for pasting global selection, and update it using
  3809. the respondToChangedSelection callback.
  3810. * Api/qwebpage.cpp:
  3811. (QWebPagePrivate::handleClipboard):
  3812. * WebCoreSupport/EditorClientQt.cpp:
  3813. (WebCore::EditorClientQt::respondToChangedSelection):
  3814. (WebCore::EditorClientQt::supportsGlobalSelection):
  3815. * WebCoreSupport/EditorClientQt.h:
  3816. (EditorClientQt):
  3817. 2012-09-05 Sam Weinig <sam@webkit.org>
  3818. Part 2 of removing PlatformString.h, remove PlatformString.h
  3819. https://bugs.webkit.org/show_bug.cgi?id=95931
  3820. Reviewed by Adam Barth.
  3821. Remove PlatformString.h
  3822. * Api/qwebdatabase_p.h:
  3823. * Api/qwebframe_p.h:
  3824. * Api/qwebhistory.cpp:
  3825. * Api/qwebhistoryinterface.cpp:
  3826. * Api/qwebpage_p.h:
  3827. * Api/qwebsettings.cpp:
  3828. * WebCoreSupport/ChromeClientQt.h:
  3829. * WebCoreSupport/InspectorClientQt.cpp:
  3830. 2012-09-05 Kaustubh Atrawalkar <kaustubh@motorola.com>
  3831. [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
  3832. https://bugs.webkit.org/show_bug.cgi?id=92735
  3833. Reviewed by Hajime Morita.
  3834. Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
  3835. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  3836. (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
  3837. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  3838. 2012-09-04 Jon Lee <jonlee@apple.com>
  3839. [Qt] REGRESSION(r127321): It made 3 notification test timeout
  3840. https://bugs.webkit.org/show_bug.cgi?id=95638
  3841. Reviewed by Csaba Osztrogonác.
  3842. Dispatch show event instead of display after r127321.
  3843. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  3844. (WebCore::NotificationPresenterClientQt::sendDisplayEvent):
  3845. 2012-08-31 Simon Hausmann <simon.hausmann@nokia.com>
  3846. [Qt] Port convertValueToQVariant to use the JSC C API
  3847. https://bugs.webkit.org/show_bug.cgi?id=94695
  3848. Reviewed by Kenneth Rohde Christiansen.
  3849. Minor adaptations are needed here to accomodate the changed signature of
  3850. convertValueToQVariant.
  3851. * Api/qwebelement.cpp:
  3852. (QWebElement::evaluateJavaScript):
  3853. (convertJSValueToWebElementVariant):
  3854. * Api/qwebframe.cpp:
  3855. (QWebFrame::evaluateJavaScript):
  3856. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  3857. (convertJSValueToNodeVariant):
  3858. 2012-08-30 Geoffrey Garen <ggaren@apple.com>
  3859. Use one object instead of two for closures, eliminating ScopeChainNode
  3860. https://bugs.webkit.org/show_bug.cgi?id=95501
  3861. Reviewed by Filip Pizlo.
  3862. Mechanical change to update for JSC interface change.
  3863. * Api/qwebelement.cpp:
  3864. (QWebElement::evaluateJavaScript):
  3865. 2012-08-30 Benjamin Poulain <bpoulain@apple.com>
  3866. Replace JSC::UString by WTF::String
  3867. https://bugs.webkit.org/show_bug.cgi?id=95271
  3868. Reviewed by Geoffrey Garen.
  3869. Replace UString by String.
  3870. * Api/qwebelement.cpp:
  3871. (QWebElement::evaluateJavaScript):
  3872. 2012-08-29 Simon Hausmann <simon.hausmann@nokia.com>
  3873. [Qt] Fix doc generation with make docs
  3874. https://bugs.webkit.org/show_bug.cgi?id=95340
  3875. Reviewed by Kenneth Rohde Christiansen.
  3876. Fix doc target, similar to what the other Qt 5 modules are using and comment out the indexes
  3877. line, because cross-referencing doesn't work right now and the use of the QTDIR environment
  3878. is wrong, too.
  3879. * docs/docs.pri:
  3880. * docs/qtwebkit.qdocconf:
  3881. 2012-08-22 Simon Hausmann <simon.hausmann@nokia.com>
  3882. [Qt] REGRESSION(r125428): fast/profiler/nested-start-and-stop-profiler.html fails
  3883. https://bugs.webkit.org/show_bug.cgi?id=93897
  3884. Reviewed by Kenneth Rohde Christiansen.
  3885. Fixed some test expectations.
  3886. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  3887. (tst_QObjectBridge::objectDeleted): Since runtime methods are real function objects again, we
  3888. can go back to testing Function.prototype.call, as it was done before r125428.
  3889. (tst_QObjectBridge::introspectQtMethods_data): Removed tests for the length property.
  3890. (tst_QObjectBridge::introspectQtMethods): Changed test expectation of the properties of
  3891. run-time methods back to being non-configurable, as before r125428.
  3892. 2012-08-28 Sheriff Bot <webkit.review.bot@gmail.com>
  3893. Unreviewed, rolling out r126914.
  3894. http://trac.webkit.org/changeset/126914
  3895. https://bugs.webkit.org/show_bug.cgi?id=95239
  3896. it breaks everything and fixes nothing (Requested by pizlo on
  3897. #webkit).
  3898. * Api/qwebpage.cpp:
  3899. (extractContentTypeFromPluginVector):
  3900. * Api/qwebplugindatabase.cpp:
  3901. (QWebPluginInfo::mimeTypes):
  3902. * WebCoreSupport/PlatformStrategiesQt.cpp:
  3903. (PlatformStrategiesQt::getPluginInfo):
  3904. 2012-08-28 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  3905. Rename first/second to key/value in HashMap iterators
  3906. https://bugs.webkit.org/show_bug.cgi?id=82784
  3907. Reviewed by Eric Seidel.
  3908. * Api/qwebpage.cpp:
  3909. (extractContentTypeFromPluginVector):
  3910. * Api/qwebplugindatabase.cpp:
  3911. (QWebPluginInfo::mimeTypes):
  3912. * WebCoreSupport/PlatformStrategiesQt.cpp:
  3913. (PlatformStrategiesQt::getPluginInfo):
  3914. 2012-08-27 Sheriff Bot <webkit.review.bot@gmail.com>
  3915. Unreviewed, rolling out r126836.
  3916. http://trac.webkit.org/changeset/126836
  3917. https://bugs.webkit.org/show_bug.cgi?id=95163
  3918. Broke all Apple ports, EFL, and Qt. (Requested by tkent on
  3919. #webkit).
  3920. * Api/qwebpage.cpp:
  3921. (extractContentTypeFromPluginVector):
  3922. * Api/qwebplugindatabase.cpp:
  3923. (QWebPluginInfo::mimeTypes):
  3924. * WebCoreSupport/PlatformStrategiesQt.cpp:
  3925. (PlatformStrategiesQt::getPluginInfo):
  3926. 2012-08-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  3927. Rename first/second to key/value in HashMap iterators
  3928. https://bugs.webkit.org/show_bug.cgi?id=82784
  3929. Reviewed by Eric Seidel.
  3930. * Api/qwebpage.cpp:
  3931. (extractContentTypeFromPluginVector):
  3932. * Api/qwebplugindatabase.cpp:
  3933. (QWebPluginInfo::mimeTypes):
  3934. * WebCoreSupport/PlatformStrategiesQt.cpp:
  3935. (PlatformStrategiesQt::getPluginInfo):
  3936. 2012-08-22 Sheriff Bot <webkit.review.bot@gmail.com>
  3937. Unreviewed, rolling out r126287.
  3938. http://trac.webkit.org/changeset/126287
  3939. https://bugs.webkit.org/show_bug.cgi?id=94708
  3940. It made WK1 layout testing 3.7x slower (>1hours) (Requested by
  3941. ossy on #webkit).
  3942. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  3943. (tst_QObjectBridge::objectDeleted):
  3944. (tst_QObjectBridge::introspectQtMethods_data):
  3945. (tst_QObjectBridge::introspectQtMethods):
  3946. 2012-08-22 Allan Sandfeld Jensen <allan.jensen@nokia.com>
  3947. [Qt] Optionally support smooth-scrolling on all platforms
  3948. https://bugs.webkit.org/show_bug.cgi?id=74926
  3949. Reviewed by Simon Hausmann.
  3950. Expose the enable scroll animator setting.
  3951. * Api/qwebsettings.cpp:
  3952. (QWebSettingsPrivate::apply):
  3953. (QWebSettings::QWebSettings):
  3954. * Api/qwebsettings.h:
  3955. 2012-08-22 Simon Hausmann <simon.hausmann@nokia.com>
  3956. [Qt] REGRESSION(r125428): fast/profiler/nested-start-and-stop-profiler.html fails
  3957. https://bugs.webkit.org/show_bug.cgi?id=93897
  3958. Reviewed by Kenneth Rohde Christiansen.
  3959. Fixed some test expectations.
  3960. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  3961. (tst_QObjectBridge::objectDeleted): Since runtime methods are real function objects again, we
  3962. can go back to testing Function.prototype.call, as it was done before r125428.
  3963. (tst_QObjectBridge::introspectQtMethods_data): Removed tests for the length property.
  3964. (tst_QObjectBridge::introspectQtMethods): Changed test expectation of the properties of
  3965. run-time methods back to being non-configurable, as before r125428.
  3966. 2012-08-21 Sheriff Bot <webkit.review.bot@gmail.com>
  3967. Unreviewed, rolling out r126146.
  3968. http://trac.webkit.org/changeset/126146
  3969. https://bugs.webkit.org/show_bug.cgi?id=94606
  3970. It made all tests assert (Requested by Ossy on #webkit).
  3971. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  3972. (tst_QObjectBridge::objectDeleted):
  3973. (tst_QObjectBridge::introspectQtMethods_data):
  3974. (tst_QObjectBridge::introspectQtMethods):
  3975. 2012-08-17 Simon Hausmann <simon.hausmann@nokia.com>
  3976. [Qt] REGRESSION(r125428): fast/profiler/nested-start-and-stop-profiler.html fails
  3977. https://bugs.webkit.org/show_bug.cgi?id=93897
  3978. Reviewed by Kenneth Rohde Christiansen.
  3979. Fixed some test expectations.
  3980. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  3981. (tst_QObjectBridge::objectDeleted): Since runtime methods are real function objects again, we
  3982. can go back to testing Function.prototype.call, as it was done before r125428.
  3983. (tst_QObjectBridge::introspectQtMethods_data): Removed tests for the length property.
  3984. (tst_QObjectBridge::introspectQtMethods): Changed test expectation of the properties of
  3985. run-time methods back to being non-configurable, as before r125428.
  3986. 2012-08-15 Ryosuke Niwa <rniwa@webkit.org>
  3987. Update manual tests and comments to refer to TestRunner instead of LayoutTestController
  3988. https://bugs.webkit.org/show_bug.cgi?id=94168
  3989. Reviewed by Kent Tamura.
  3990. * Api/qwebelement.cpp:
  3991. (convertJSValueToWebElementVariant):
  3992. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  3993. 2012-08-14 Adam Barth <abarth@webkit.org>
  3994. Delete Frame::domWindow() and Frame::existingDOMWindow()
  3995. https://bugs.webkit.org/show_bug.cgi?id=93990
  3996. Reviewed by Eric Seidel.
  3997. * WebCoreSupport/FrameLoaderClientQt.cpp:
  3998. (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
  3999. 2012-08-14 Lauro Neto <lauro.neto@openbossa.org>
  4000. Convert signals/slots to Q_* macros.
  4001. [Qt] Use Q_SLOTS and Q_SIGNALS instead of slots and signals
  4002. https://bugs.webkit.org/show_bug.cgi?id=93996
  4003. Reviewed by Kenneth Rohde Christiansen.
  4004. Change usage of keyword-conflicting 'signals' and 'slots' for
  4005. Q_SIGNALS and Q_SLOTS macro.
  4006. * WebCoreSupport/FrameLoaderClientQt.h:
  4007. (FrameLoaderClientQt):
  4008. * WebCoreSupport/FullScreenVideoQt.h:
  4009. (FullScreenVideoQt):
  4010. * WebCoreSupport/FullScreenVideoWidget.h:
  4011. (FullScreenVideoWidget):
  4012. * WebCoreSupport/IconDatabaseClientQt.h:
  4013. (IconDatabaseClientQt):
  4014. * WebCoreSupport/InspectorClientQt.cpp:
  4015. (InspectorClientWebPage):
  4016. * WebCoreSupport/InspectorServerQt.h:
  4017. (InspectorServerQt):
  4018. (InspectorServerRequestHandlerQt):
  4019. * WebCoreSupport/PopupMenuQt.h:
  4020. (PopupMenuQt):
  4021. * WebCoreSupport/QtFallbackWebPopup.h:
  4022. (QtFallbackWebPopup):
  4023. * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp:
  4024. (wrapInFunction):
  4025. * docs/webkitsnippets/webpage/main.cpp:
  4026. (Thumbnailer):
  4027. * examples/platformplugin/WebPlugin.h:
  4028. (Popup):
  4029. (WebPopup):
  4030. * tests/benchmarks/webgl/tst_webgl.cpp:
  4031. (tst_WebGlPerformance):
  4032. * tests/hybridPixmap/tst_hybridPixmap.cpp:
  4033. (tst_hybridPixmap):
  4034. * tests/hybridPixmap/widget.h:
  4035. (Widget):
  4036. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  4037. (tst_QDeclarativeWebView):
  4038. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  4039. (tst_QGraphicsWebView):
  4040. (WebPage):
  4041. (ResizeSpy):
  4042. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  4043. (MyWebElementSlotOnlyObject):
  4044. (tst_QObjectBridge):
  4045. (TestPluginWidget):
  4046. * tests/qwebelement/tst_qwebelement.cpp:
  4047. (tst_QWebElement):
  4048. * tests/qwebframe/tst_qwebframe.cpp:
  4049. (tst_QWebFrame):
  4050. (FakeReply):
  4051. * tests/qwebhistory/tst_qwebhistory.cpp:
  4052. * tests/qwebhistoryinterface/tst_qwebhistoryinterface.cpp:
  4053. (tst_QWebHistoryInterface):
  4054. * tests/qwebinspector/tst_qwebinspector.cpp:
  4055. (tst_QWebInspector):
  4056. * tests/qwebpage/tst_qwebpage.cpp:
  4057. (tst_QWebPage):
  4058. (JSTestPage):
  4059. (RepaintRequestedRenderer):
  4060. (SpyForLoadSignalsOrder):
  4061. * tests/qwebplugindatabase/tst_qwebplugindatabase.cpp:
  4062. (tst_QWebPluginDatabase):
  4063. * tests/qwebview/tst_qwebview.cpp:
  4064. (tst_QWebView):
  4065. (WebViewCrashTest):
  4066. 2012-08-14 Simon Hausmann <simon.hausmann@nokia.com>
  4067. [Qt] Fix failing tst_QWebPage::findText unit test
  4068. https://bugs.webkit.org/show_bug.cgi?id=93951
  4069. Reviewed by Kenneth Rohde Christiansen.
  4070. Adjust the expected text, as the HTML editing code improved to avoid unnecessary tags.
  4071. * tests/qwebpage/tst_qwebpage.cpp:
  4072. (tst_QWebPage::findText):
  4073. 2012-08-13 Tom Sepez <tsepez@chromium.org>
  4074. [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
  4075. https://bugs.webkit.org/show_bug.cgi?id=93283
  4076. Reviewed by Eric Seidel.
  4077. Change the client redirectDataToPlugin method(s) to expect the possibility of
  4078. a NULL argument, keeping existing behaviour otherwise.
  4079. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4080. (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
  4081. 2012-08-13 Simon Hausmann <simon.hausmann@nokia.com>
  4082. [Qt] Port meta method/signal/slot handling in run-time bridge to use JSC C API
  4083. https://bugs.webkit.org/show_bug.cgi?id=93476
  4084. Reviewed by Kenneth Rohde Christiansen.
  4085. Changed semantics of some test expectations. Similarly to r125032 when generating
  4086. error exceptions for connect/disconnect, we cannot generate explicit type error
  4087. exceptions but only generic errors. Another change is that the meta-method wrapper
  4088. doesn't support the call() through Function.prototype anymore. See WebCore changelog
  4089. for details.
  4090. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  4091. (tst_QObjectBridge::connectAndDisconnect):
  4092. (tst_QObjectBridge::objectDeleted):
  4093. (tst_QObjectBridge::introspectQtMethods):
  4094. 2012-08-13 Kwang Yul Seo <skyul@company100.net>
  4095. [Qt] Add gprof.prf to build WebKit with gprof enabled
  4096. https://bugs.webkit.org/show_bug.cgi?id=90283
  4097. Reviewed by Eric Seidel.
  4098. * tests/MIMESniffing/MIMESniffing.pro:
  4099. Don't build MIMESniffing.cpp because MIMESniffing test links
  4100. WebKitQt statically when gprof is enabled.
  4101. 2012-08-12 Loïc Yhuel <loic.yhuel@softathome.com>
  4102. [Qt] Make it possible to build without QtTest/QtPrintSupport
  4103. https://bugs.webkit.org/show_bug.cgi?id=93492
  4104. Reviewed by Tor Arne Vestbø.
  4105. * Api/qwebframe.cpp:
  4106. (QWebFrame::print): Does nothing if no printsupport
  4107. * Api/qwebview.cpp:
  4108. (QWebView::print): Does nothing if no printsupport
  4109. 2012-08-11 Pierre Rossi <pierre.rossi@gmail.com>
  4110. [Qt] Add support for HTML5 state object history API in FrameLoaderClientQt
  4111. https://bugs.webkit.org/show_bug.cgi?id=93648
  4112. Reviewed by Kenneth Rohde Christiansen.
  4113. Add support for push/replace/pop by implementing dispatchDidNavigateWithinPage.
  4114. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4115. (WebCore::FrameLoaderClientQt::dispatchDidNavigateWithinPage):
  4116. (WebCore::FrameLoaderClientQt::dispatchDidPushStateWithinPage):
  4117. (WebCore::FrameLoaderClientQt::dispatchDidReplaceStateWithinPage):
  4118. (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage):
  4119. * WebCoreSupport/FrameLoaderClientQt.h:
  4120. (FrameLoaderClientQt):
  4121. * tests/qwebframe/tst_qwebframe.cpp:
  4122. (tst_QWebFrame):
  4123. (tst_QWebFrame::setUrlUsingStateObject): Added. Tests that the urlChanged signal is fired.
  4124. 2012-08-10 Simon Hausmann <simon.hausmann@nokia.com>
  4125. [Qt] Remove QRegExp <> JS RegExp conversion
  4126. https://bugs.webkit.org/show_bug.cgi?id=93716
  4127. Reviewed by Kenneth Rohde Christiansen.
  4128. Removed tests that cover the automatic QRegExp <> JS RegExp conversion. See WebCore
  4129. ChangeLog for details.
  4130. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  4131. (MyQObject::emitMySignalWithDateTimeArg):
  4132. (MyQObject):
  4133. (tst_QObjectBridge::overloadedSlots):
  4134. (tst_QObjectBridge::typeConversion):
  4135. 2012-08-09 Simon Hausmann <simon.hausmann@nokia.com>
  4136. [Qt] Remove support for __qt_sender__ in QObject bridge
  4137. https://bugs.webkit.org/show_bug.cgi?id=93649
  4138. Reviewed by Kenneth Rohde Christiansen.
  4139. Support for __qt_sender__ has also been removed from QtScript/QJSEngine. The right
  4140. JavaScript solution to the problem is Function.prototype.bind.
  4141. * Api/qwebframe.cpp:
  4142. (QWebFramePrivate::didClearWindowObject):
  4143. * Api/qwebframe_p.h:
  4144. (QWebFramePrivate):
  4145. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  4146. (tst_QObjectBridge::connectAndDisconnect):
  4147. 2012-08-08 Simon Hausmann <simon.hausmann@nokia.com>
  4148. [Qt] Port internal findMethodIndex method matcher to use JSC C API
  4149. https://bugs.webkit.org/show_bug.cgi?id=93463
  4150. Reviewed by Kenneth Rohde Christiansen.
  4151. Adjust the expectations of the unit test for some of the exceptions the
  4152. method throws when signals/slots cannot be found/matched. The C API doesn't allow
  4153. us to create syntax (type) errors, only generic error exceptions.
  4154. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  4155. (tst_QObjectBridge::callQtInvokable):
  4156. 2012-08-08 Simon Hausmann <simon.hausmann@nokia.com>
  4157. [Qt] Add unit test for QObject bindings for scriptable plugins
  4158. https://bugs.webkit.org/show_bug.cgi?id=93462
  4159. Reviewed by Kenneth Rohde Christiansen.
  4160. The bindings code is subject to refactoring in the future, so added a unit test to verify that
  4161. accessing an embedded QWidget from JavaScript goes through the QObject bindings.
  4162. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  4163. (tst_QObjectBridge):
  4164. (TestPluginWidget):
  4165. (TestPluginWidget::TestPluginWidget):
  4166. (TestPluginWidget::slotWithReturnValue):
  4167. (TestWebPage):
  4168. (TestWebPage::TestWebPage):
  4169. (TestWebPage::createPlugin):
  4170. (tst_QObjectBridge::scriptablePlugin):
  4171. 2012-08-07 Simon Hausmann <simon.hausmann@nokia.com>
  4172. Unreviewed trivial fix: Missed HAVE_QT5 removal as part of r124879
  4173. Fixes failing auto-test.
  4174. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  4175. (tst_QObjectBridge::enumerate_data):
  4176. 2012-08-02 Simon Hausmann <simon.hausmann@nokia.com>
  4177. [Qt] Remove Qt 4 specific code paths
  4178. https://bugs.webkit.org/show_bug.cgi?id=88161
  4179. Reviewed by Kenneth Rohde Christiansen.
  4180. * Api/qgraphicswebview.cpp:
  4181. (QGraphicsWebView::sceneEvent):
  4182. * Api/qgraphicswebview.h:
  4183. * Api/qwebframe.cpp:
  4184. * Api/qwebframe.h:
  4185. * Api/qwebframe_p.h:
  4186. * Api/qwebpage.cpp:
  4187. (QWebPage::event):
  4188. * Api/qwebpage.h:
  4189. * Api/qwebsettings.cpp:
  4190. (QWebSettings::enablePersistentStorage):
  4191. * Api/qwebview.cpp:
  4192. (QWebView::QWebView):
  4193. (QWebView::event):
  4194. * Api/qwebview.h:
  4195. * WebCoreSupport/ChromeClientQt.cpp:
  4196. (WebCore::ChromeClientQt::setToolTip):
  4197. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4198. (WebCore::FrameLoaderClientQt::createPlugin):
  4199. * WebCoreSupport/GeolocationClientQt.cpp:
  4200. * WebCoreSupport/GeolocationClientQt.h:
  4201. * WebCoreSupport/PageClientQt.cpp:
  4202. (createPlatformGraphicsContext3DFromWidget):
  4203. (QWebPageClient::ownerWindow):
  4204. * WebCoreSupport/WebEventConversion.cpp:
  4205. (WebCore::WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
  4206. * declarative/declarative.pro:
  4207. * declarative/plugin.cpp:
  4208. * declarative/public.pri:
  4209. * examples/platformplugin/WebPlugin.cpp:
  4210. (WebPlugin::createExtension):
  4211. * examples/platformplugin/WebPlugin.h:
  4212. (WebPlugin):
  4213. * examples/platformplugin/platformplugin.pro:
  4214. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  4215. (tst_QObjectBridge::arrayObjectEnumerable):
  4216. (tst_QObjectBridge::ownership):
  4217. (tst_QObjectBridge::qObjectWrapperWithSameIdentity):
  4218. * tests/tests.pri:
  4219. * tests/util.h:
  4220. 2012-08-01 Zeno Albisser <zeno@webkit.org>
  4221. [Qt]REGRESSION(r123786): It made 3 fast/animation tests fail.
  4222. https://bugs.webkit.org/show_bug.cgi?id=92490
  4223. QAbstractAnimation:start() is implicitly calling updateTime
  4224. without going through the event loop. This resulted in executing
  4225. scripted animation callbacks right when registering a first callback.
  4226. Reviewed by Noam Rosenthal.
  4227. * WebCoreSupport/ChromeClientQt.cpp:
  4228. (WebCore::RefreshAnimation::scheduleAnimation):
  4229. Invoke QAbstractAnimation::start() method through the event loop.
  4230. 2012-07-27 Csaba Osztrogonác <ossy@webkit.org>
  4231. [Qt][WK2] REGRESSION(r119127): resetting window.internals settings between tests doesn't work properly
  4232. https://bugs.webkit.org/show_bug.cgi?id=88064
  4233. Reviewed by Zoltan Herczeg.
  4234. Add missing DumpRenderTreeSupportQt::resetInternalsObject(JSContextRef context) function.
  4235. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4236. (DumpRenderTreeSupportQt::resetInternalsObject):
  4237. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  4238. 2012-07-26 Zeno Albisser <zeno@webkit.org>
  4239. Unreviewed Qt buildfix after r123786.
  4240. Qt-minimal builds with ENABLE_REQUEST_ANIMATION_FRAME=0.
  4241. Therefore adding #ifdefs to allow for that configuration.
  4242. * WebCoreSupport/ChromeClientQt.cpp:
  4243. (WebCore):
  4244. * WebCoreSupport/ChromeClientQt.h:
  4245. (ChromeClientQt):
  4246. 2012-07-26 Zeno Albisser <zeno@webkit.org>
  4247. [Qt] requestAnimationFrame should only trigger when a new frame can be displayed.
  4248. https://bugs.webkit.org/show_bug.cgi?id=88638
  4249. Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
  4250. the servicing of scripted animations to the renderNextFrame call for WK2.
  4251. For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.
  4252. Reviewed by Jocelyn Turcotte.
  4253. * WebCoreSupport/ChromeClientQt.cpp:
  4254. (RefreshAnimation):
  4255. Add a RefreshAnimation that is based on QAbstractAnimation
  4256. and drives the servicing of the scripted animations for WK1.
  4257. (WebCore::RefreshAnimation::RefreshAnimation):
  4258. (WebCore::RefreshAnimation::duration):
  4259. (WebCore::RefreshAnimation::scheduleAnimation):
  4260. Set m_animationScheduled to true and start the animation
  4261. timer in case it is not running yet.
  4262. (WebCore::RefreshAnimation::updateCurrentTime):
  4263. Call serviceScriptedAnimations if m_animationScheduled is true.
  4264. If this is not the case, the animation timer can be stopped,
  4265. because no animation needs to be scheduled anymore.
  4266. (WebCore):
  4267. (WebCore::ChromeClientQt::scheduleAnimation):
  4268. Create and start the RefreshAnimation instance with the
  4269. first call to scheduleAnimation.
  4270. * WebCoreSupport/ChromeClientQt.h:
  4271. (WebCore):
  4272. (ChromeClientQt):
  4273. 2012-07-26 Kaustubh Atrawalkar <kaustubh@motorola.com>
  4274. [DRT] LTC:: pageNumberForElementById() could be moved to Internals
  4275. https://bugs.webkit.org/show_bug.cgi?id=92091
  4276. Reviewed by Adam Barth.
  4277. Move the pageNumberForElementById from LayoutTestCotroller to Internals and
  4278. remove the old platform specific implementations as it exclusively tests WebCore functionality.
  4279. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4280. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  4281. 2012-07-24 Pierre Rossi <pierre.rossi@gmail.com>
  4282. [Qt][WK1] color input type support
  4283. https://bugs.webkit.org/show_bug.cgi?id=91998
  4284. Reviewed by Simon Hausmann.
  4285. Using QColorDialog. This is private for now, but
  4286. it could be exposed via a virtual function in
  4287. QWebPage at a later point in a Qt 5 minor release
  4288. if there are requests for that.
  4289. * Api/qwebpage.cpp:
  4290. (QWebPagePrivate::colorSelectionRequested):
  4291. * Api/qwebpage_p.h:
  4292. (QWebPagePrivate):
  4293. * WebCoreSupport/ChromeClientQt.cpp:
  4294. (WebCore::ChromeClientQt::createColorChooser):
  4295. 2012-07-23 Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
  4296. [Qt] Fix compilation against namespaced Qt
  4297. Reviewed by Simon Hausmann.
  4298. * WebCoreSupport/GeolocationClientQt.h:
  4299. * examples/platformplugin/WebPlugin.h:
  4300. 2012-07-23 Pierre Rossi <pierre.rossi@gmail.com>
  4301. Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
  4302. https://bugs.webkit.org/show_bug.cgi?id=91006
  4303. Reviewed by Ryosuke Niwa.
  4304. Remove numTouchEventHandlersChanged stub.
  4305. * WebCoreSupport/ChromeClientQt.h:
  4306. 2012-07-23 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  4307. [Qt] RenderThemeQtMobile highlight colors are not being used
  4308. https://bugs.webkit.org/show_bug.cgi?id=92004
  4309. Reviewed by Noam Rosenthal.
  4310. * WebCoreSupport/RenderThemeQStyle.cpp:
  4311. (WebCore::RenderThemeQStyle::setPaletteFromPageClientIfExists): Moved here since
  4312. it's used only by RenderThemeQStyle. Remove unnecessary check for m_page->chrome().
  4313. (WebCore):
  4314. (WebCore::RenderThemeQStyle::colorPalette):
  4315. * WebCoreSupport/RenderThemeQStyle.h:
  4316. (RenderThemeQStyle):
  4317. 2012-07-22 Kent Tamura <tkent@chromium.org>
  4318. Rename ENABLE_METER_TAG and ENABLE_PROGRESS_TAG to ENABLE_METER_ELEMENT and ENABLE_PROGRESS_ELEMENT respectively
  4319. https://bugs.webkit.org/show_bug.cgi?id=91941
  4320. Reviewed by Kentaro Hara.
  4321. A flag name for an elmement should be ENABLE_*_ELEMENT.
  4322. * WebCoreSupport/RenderThemeQStyle.cpp:
  4323. (WebCore):
  4324. * WebCoreSupport/RenderThemeQStyle.h:
  4325. 2012-07-19 No'am Rosenthal <noam.rosenthal@nokia.com>
  4326. [Qt] Enable CSS shaders in Qt (software mode)
  4327. https://bugs.webkit.org/show_bug.cgi?id=85140
  4328. Reviewed by Simon Hausmann.
  4329. Enable CSS Shaders in settings when WebGL is enabled.
  4330. * Api/qwebsettings.cpp:
  4331. (QWebSettingsPrivate::apply):
  4332. 2012-07-19 Simon Hausmann <simon.hausmann@nokia.com>
  4333. [Qt] Remove support for Qt versions before 4.8.0
  4334. https://bugs.webkit.org/show_bug.cgi?id=91730
  4335. Reviewed by Kenneth Rohde Christiansen.
  4336. Remove Qt version check #ifdefs for Qt versions before 4.8.0.
  4337. * Api/qwebsettings.cpp:
  4338. (QWebSettingsPrivate):
  4339. (QWebSettings::QWebSettings):
  4340. (QWebSettings::thirdPartyCookiePolicy):
  4341. * Api/qwebsettings.h:
  4342. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4343. (DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows):
  4344. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  4345. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  4346. (tst_QDeclarativeWebView):
  4347. (tst_QDeclarativeWebView::backgroundColor):
  4348. * tests/qwebelement/tst_qwebelement.cpp:
  4349. (tst_QWebElement::render):
  4350. * tests/qwebpage/tst_qwebpage.cpp:
  4351. (tst_QWebPage):
  4352. (tst_QWebPage::thirdPartyCookiePolicy):
  4353. 2012-07-17 Gabor Ballabas <gaborb@inf.u-szeged.hu>
  4354. [Qt][V8] Remove the V8 related codepaths and configuration
  4355. https://bugs.webkit.org/show_bug.cgi?id=90863
  4356. Reviewed by Simon Hausmann.
  4357. * Api/qwebelement.cpp:
  4358. (setupScriptContext):
  4359. (QWebElement::evaluateJavaScript):
  4360. (convertWebElementVariantToJSValue):
  4361. (QtWebElementRuntime::initialize):
  4362. * Api/qwebframe.cpp:
  4363. (QWebFramePrivate::didClearWindowObject):
  4364. (QWebFramePrivate::addQtSenderToGlobalObject):
  4365. (QWebFrame::addToJavaScriptWindowObject):
  4366. (QWebFrame::evaluateJavaScript):
  4367. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4368. (convertNodeVariantToJSValue):
  4369. (QtDRTNodeRuntime::initialize):
  4370. (DumpRenderTreeSupportQt::javaScriptObjectsCount):
  4371. (DumpRenderTreeSupportQt::garbageCollectorCollect):
  4372. (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
  4373. (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
  4374. (DumpRenderTreeSupportQt::injectInternalsObject):
  4375. (DumpRenderTreeSupportQt::resetInternalsObject):
  4376. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  4377. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4378. (WebCore::FrameLoaderClientQt::createDocumentLoader):
  4379. * WebCoreSupport/FrameLoaderClientQt.h:
  4380. (FrameLoaderClientQt):
  4381. * v8/ForwardingHeaders/v8-debug.h: Removed.
  4382. * v8/ForwardingHeaders/v8-preparser.h: Removed.
  4383. * v8/ForwardingHeaders/v8-profiler.h: Removed.
  4384. * v8/ForwardingHeaders/v8-testing.h: Removed.
  4385. * v8/ForwardingHeaders/v8.h: Removed.
  4386. * v8/ForwardingHeaders/v8stdint.h: Removed.
  4387. 2012-07-17 Vivek Galatage <vivekgalatage@gmail.com>
  4388. Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
  4389. https://bugs.webkit.org/show_bug.cgi?id=91196
  4390. Reviewed by Pavel Feldman.
  4391. Refactoring InspectorClients. InspectorClient::openInspectorFrontend
  4392. now returning the InspectorFrontendChannel.
  4393. * WebCoreSupport/InspectorClientQt.cpp:
  4394. (WebCore::InspectorClientQt::openInspectorFrontend):
  4395. (WebCore::InspectorClientQt::attachAndReplaceRemoteFrontend):
  4396. * WebCoreSupport/InspectorClientQt.h:
  4397. (InspectorClientQt):
  4398. 2012-07-17 Sheriff Bot <webkit.review.bot@gmail.com>
  4399. Unreviewed, rolling out r122834.
  4400. http://trac.webkit.org/changeset/122834
  4401. https://bugs.webkit.org/show_bug.cgi?id=91492
  4402. it broke the chromium (Requested by kkristof on #webkit).
  4403. * Api/qwebelement.cpp:
  4404. (setupScriptContext):
  4405. (QWebElement::evaluateJavaScript):
  4406. (QtWebElementRuntime::initialize):
  4407. * Api/qwebframe.cpp:
  4408. (QWebFramePrivate::didClearWindowObject):
  4409. (QWebFrame::addToJavaScriptWindowObject):
  4410. (QWebFrame::evaluateJavaScript):
  4411. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4412. (QtDRTNodeRuntime::initialize):
  4413. (DumpRenderTreeSupportQt::javaScriptObjectsCount):
  4414. (DumpRenderTreeSupportQt::garbageCollectorCollect):
  4415. (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
  4416. (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
  4417. (DumpRenderTreeSupportQt::injectInternalsObject):
  4418. (DumpRenderTreeSupportQt::resetInternalsObject):
  4419. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  4420. (Bindings):
  4421. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4422. (WebCore):
  4423. (WebCore::FrameLoaderClientQt::didCreateScriptContext):
  4424. (WebCore::FrameLoaderClientQt::willReleaseScriptContext):
  4425. (WebCore::FrameLoaderClientQt::didCreateIsolatedScriptContext):
  4426. (WebCore::FrameLoaderClientQt::createDocumentLoader):
  4427. * WebCoreSupport/FrameLoaderClientQt.h:
  4428. (FrameLoaderClientQt):
  4429. (WebCore::FrameLoaderClientQt::allowScriptExtension):
  4430. * v8/ForwardingHeaders/v8-debug.h: Added.
  4431. * v8/ForwardingHeaders/v8-preparser.h: Added.
  4432. * v8/ForwardingHeaders/v8-profiler.h: Added.
  4433. * v8/ForwardingHeaders/v8-testing.h: Added.
  4434. * v8/ForwardingHeaders/v8.h: Added.
  4435. * v8/ForwardingHeaders/v8stdint.h: Added.
  4436. 2012-07-17 Gabor Ballabas <gaborb@inf.u-szeged.hu>
  4437. [Qt][V8] Remove the V8 related codepaths and configuration
  4438. https://bugs.webkit.org/show_bug.cgi?id=90863
  4439. Reviewed by Simon Hausmann.
  4440. * Api/qwebelement.cpp:
  4441. (setupScriptContext):
  4442. (QWebElement::evaluateJavaScript):
  4443. (convertWebElementVariantToJSValue):
  4444. (QtWebElementRuntime::initialize):
  4445. * Api/qwebframe.cpp:
  4446. (QWebFramePrivate::didClearWindowObject):
  4447. (QWebFramePrivate::addQtSenderToGlobalObject):
  4448. (QWebFrame::addToJavaScriptWindowObject):
  4449. (QWebFrame::evaluateJavaScript):
  4450. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4451. (convertNodeVariantToJSValue):
  4452. (QtDRTNodeRuntime::initialize):
  4453. (DumpRenderTreeSupportQt::javaScriptObjectsCount):
  4454. (DumpRenderTreeSupportQt::garbageCollectorCollect):
  4455. (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
  4456. (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
  4457. (DumpRenderTreeSupportQt::injectInternalsObject):
  4458. (DumpRenderTreeSupportQt::resetInternalsObject):
  4459. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  4460. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4461. (WebCore::FrameLoaderClientQt::createDocumentLoader):
  4462. * WebCoreSupport/FrameLoaderClientQt.h:
  4463. (FrameLoaderClientQt):
  4464. * v8/ForwardingHeaders/v8-debug.h: Removed.
  4465. * v8/ForwardingHeaders/v8-preparser.h: Removed.
  4466. * v8/ForwardingHeaders/v8-profiler.h: Removed.
  4467. * v8/ForwardingHeaders/v8-testing.h: Removed.
  4468. * v8/ForwardingHeaders/v8.h: Removed.
  4469. * v8/ForwardingHeaders/v8stdint.h: Removed.
  4470. 2012-07-16 Simon Hausmann <simon.hausmann@nokia.com>
  4471. [Qt] Fix inconsistent DLL linkage on Windows with WebKit1
  4472. https://bugs.webkit.org/show_bug.cgi?id=91375
  4473. Reviewed by Laszlo Gombos.
  4474. Export QWebHistoryItemPrivate as required for tests. Unfortunately we cannot use
  4475. Q_AUTOTEST_EXPORT outside of Qt.
  4476. * Api/qwebhistory_p.h:
  4477. 2012-07-16 Zoltan Horvath <zoltan@webkit.org>
  4478. [Qt] Change NativeImagePtr from QPixmap* to QImage*
  4479. https://bugs.webkit.org/show_bug.cgi?id=88785
  4480. Reviewed by Simon Hausmann.
  4481. Since we use raster engine there is no difference between QPixmap and QImage, so we are going
  4482. to use QImage everywhere where it is possible. This refactoring contains the change of the
  4483. NativeImagePtr typedef from QPixmap* to QImage* and covers the related modifications.
  4484. Part of the change is similar to Viatcheslav Ostapenko's internal work.
  4485. Covered by existing tests.
  4486. * Api/qwebframe.cpp:
  4487. (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
  4488. * Api/qwebhistory.cpp:
  4489. (QWebHistoryItem::icon):
  4490. * Api/qwebsettings.cpp:
  4491. (QWebSettings::iconForUrl):
  4492. (QWebSettings::setWebGraphic):
  4493. (QWebSettings::webGraphic):
  4494. * WebCoreSupport/DragClientQt.cpp:
  4495. (WebCore::DragClientQt::startDrag):
  4496. * WebCoreSupport/InitWebCoreQt.cpp:
  4497. (WebCore::initializeWebCoreQt):
  4498. 2012-07-16 Frederik Gladhorn <frederik.gladhorn@nokia.com>
  4499. Accessible Widget for QWebView
  4500. https://bugs.webkit.org/show_bug.cgi?id=91073
  4501. Added classes that allow navigation to the web view widget.
  4502. This is the glue to later access webkit's accessible objects
  4503. though the Qt accessibility framework.
  4504. Reviewed by Simon Hausmann.
  4505. * Api/qwebview.cpp:
  4506. (QWebView::QWebView):
  4507. * Api/qwebviewaccessible.cpp: Added.
  4508. (accessibleInterfaceFactory):
  4509. (QWebFrameAccessible::QWebFrameAccessible):
  4510. (QWebFrameAccessible::frame):
  4511. (QWebFrameAccessible::parent):
  4512. (QWebFrameAccessible::text):
  4513. (QWebFrameAccessible::childCount):
  4514. (QWebFrameAccessible::child):
  4515. (QWebFrameAccessible::indexOfChild):
  4516. (QWebFrameAccessible::state):
  4517. (QWebFrameAccessible::role):
  4518. (QWebFrameAccessible::navigate):
  4519. (QWebPageAccessible::QWebPageAccessible):
  4520. (QWebPageAccessible::page):
  4521. (QWebPageAccessible::text):
  4522. (QWebPageAccessible::parent):
  4523. (QWebPageAccessible::child):
  4524. (QWebPageAccessible::childCount):
  4525. (QWebPageAccessible::indexOfChild):
  4526. (QWebPageAccessible::navigate):
  4527. (QWebPageAccessible::role):
  4528. (QWebPageAccessible::state):
  4529. (QWebViewAccessible::QWebViewAccessible):
  4530. (QWebViewAccessible::view):
  4531. (QWebViewAccessible::childCount):
  4532. (QWebViewAccessible::child):
  4533. * Api/qwebviewaccessible_p.h: Added.
  4534. (QWebFrameAccessible):
  4535. (QWebPageAccessible):
  4536. (QWebViewAccessible):
  4537. 2012-07-12 Huang Dongsung <luxtella@company100.net>
  4538. [Qt] Increase the drawing performance by merging dirty rects.
  4539. https://bugs.webkit.org/show_bug.cgi?id=91075
  4540. Reviewed by Noam Rosenthal.
  4541. QWebFramePrivate calls FrameView::paintContents as many as the number of dirty
  4542. rects, so it causes too many redundant render tree traversals.
  4543. I changed it to merge dirty rects and call FrameView::paintContents only once.
  4544. The algorithm to merge rects is copied from GTK.
  4545. When parallel image decoders are in use, each image is independently repainted
  4546. when decoding is finished. This creates a lot by repaint requests. So by merging
  4547. these repaint requests, I could improve rendering performance.
  4548. For example, I tested parallel image decoders on the locally mirrored Pinterest site.
  4549. QWebFramePrivate called FrameView::paintContents 165 times after parallel image
  4550. decoders decoded all the images. It took about 120ms on my six-core Intel Xeon machine.
  4551. This patch decreases painting time from 120ms to 30ms.
  4552. * Api/qwebframe.cpp:
  4553. (coalesceRectsIfPossible):
  4554. (QWebFramePrivate::renderRelativeCoords):
  4555. 2012-07-11 Steffen Imhof <steffen.imhof@basyskom.com>
  4556. [Qt] Middle clicking a scrollbar causes text to be pasted.
  4557. https://bugs.webkit.org/show_bug.cgi?id=78444
  4558. Check if the event was already accepted before handling the clipboard.
  4559. Reviewed by Simon Hausmann.
  4560. * Api/qwebpage.cpp:
  4561. (QWebPagePrivate::mouseReleaseEvent):
  4562. 2012-07-10 Adam Barth <abarth@webkit.org>
  4563. WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed
  4564. https://bugs.webkit.org/show_bug.cgi?id=90910
  4565. Reviewed by Eric Seidel.
  4566. * Api/qwebpage.cpp:
  4567. (QWebPagePrivate::QWebPagePrivate):
  4568. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4569. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  4570. 2012-07-09 No'am Rosenthal <noam.rosenthal@nokia.com>
  4571. Shared code that is guarded with ENABLE(WEBGL) should be guarded with USE()
  4572. https://bugs.webkit.org/show_bug.cgi?id=90506
  4573. Reviewed by Martin Robinson.
  4574. Updated necessary parts of PageClientQt to be guarded with USE(3D_GRAPHICS) instead of
  4575. ENABLE(WEBGL). The WebKit1 glue to WebGL still requires the Qt OpenGL module, so it's
  4576. disable if QT_OPENGL_LIB is not defined.
  4577. * WebCoreSupport/PageClientQt.cpp:
  4578. (createPlatformGraphicsContext3DFromWidget):
  4579. (WebCore):
  4580. * WebCoreSupport/PageClientQt.h:
  4581. (PageClientQWidget):
  4582. (PageClientQGraphicsWidget):
  4583. 2012-07-06 Csaba Osztrogonác <ossy@webkit.org>
  4584. [Qt] Buildfix for newer Qt5
  4585. https://bugs.webkit.org/show_bug.cgi?id=90519
  4586. Reviewed by Tor Arne Vestbø.
  4587. * WebCoreSupport/QtFallbackWebPopup.cpp: Include QtGui/QStandardItemModel instead of deprecated QStandardItemModel.
  4588. 2012-07-06 Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
  4589. [Qt] Adjust to changed generation of master include file
  4590. The responsiblity for creating the master include was moved out of syncqt.
  4591. @ignore_for_master_contents still stays, as syncqt (ab-)uses this for
  4592. determining whether a header is private.
  4593. https://bugs.webkit.org/show_bug.cgi?id=90461
  4594. Reviewed by Tor Arne Vestbø.
  4595. * Api/qwebscriptworld.h:
  4596. * tests/util.h:
  4597. 2012-07-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  4598. [Qt] Get rid of un-needed QT += declarative for Qt 5
  4599. The declarative module has been renamed to quick1 in Qt 5, and the
  4600. engine-only module for Qt 5 is named 'qml'. For many of the instances
  4601. we could just remove 'declarative', since the project file was only
  4602. used for Qt5/WebKit2 builds. In the other cases the module was wrapped
  4603. in a haveQt(4) scope.
  4604. Reviewed by Csaba Osztrogonác.
  4605. * declarative/experimental/experimental.pri:
  4606. * declarative/public.pri:
  4607. 2012-07-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  4608. [Qt] Make use of .qmake.cache for caching features
  4609. Instead of loading() features from the files that need them (and re-running
  4610. a bunch of checks), we now run feature detection as part of configure.pro,
  4611. and have build-webkit write the computed feature-defines and CONFIG to
  4612. .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
  4613. when building WebKit.pro.
  4614. At some point we'll be able to selectivly prevent running of config tests
  4615. in configure.pro, which means we don't need a separate code-path for
  4616. the build-webkit --help case.
  4617. We should also move the code in build-webkit that now uses .webkit.config
  4618. to detect clean builds, to use .qmake.cache, since we now store the same
  4619. thing there.
  4620. Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
  4621. Reviewed by Tor Arne Vestbø.
  4622. * declarative/declarative.pro:
  4623. * declarative/public.pri:
  4624. * tests/qgraphicswebview/qgraphicswebview.pro:
  4625. 2012-07-03 Sheriff Bot <webkit.review.bot@gmail.com>
  4626. Unreviewed, rolling out r121766.
  4627. http://trac.webkit.org/changeset/121766
  4628. https://bugs.webkit.org/show_bug.cgi?id=90465
  4629. It caused flakey build errors on the bots (Requested by Ossy
  4630. on #webkit).
  4631. * declarative/declarative.pro:
  4632. * declarative/public.pri:
  4633. * tests/qgraphicswebview/qgraphicswebview.pro:
  4634. 2012-07-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  4635. [Qt] Make use of .qmake.cache for caching features
  4636. Instead of loading() features from the files that need them (and re-running
  4637. a bunch of checks), we now run feature detection as part of configure.pro,
  4638. and have build-webkit write the computed feature-defines and CONFIG to
  4639. .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
  4640. when building WebKit.pro.
  4641. At some point we'll be able to selectivly prevent running of config tests
  4642. in configure.pro, which means we don't need a separate code-path for
  4643. the build-webkit --help case.
  4644. We should also move the code in build-webkit that now uses .webkit.config
  4645. to detect clean builds, to use .qmake.cache, since we now store the same
  4646. thing there.
  4647. Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
  4648. Reviewed by Tor Arne Vestbø.
  4649. * declarative/declarative.pro:
  4650. * declarative/public.pri:
  4651. * tests/qgraphicswebview/qgraphicswebview.pro:
  4652. 2012-07-02 No'am Rosenthal <noam.rosenthal@nokia.com>
  4653. [Qt] Get rid of GraphicsLayerQt
  4654. https://bugs.webkit.org/show_bug.cgi?id=78598
  4655. Reviewed by Luiz Agostini.
  4656. Removed all references to GraphicsLayerQt, including #ifdef code paths that only apply
  4657. when TEXTURE_MAPPER is disabled.
  4658. * Api/qgraphicswebview.cpp:
  4659. (QGraphicsWebView::paint):
  4660. * Api/qwebframe.cpp:
  4661. (QWebFramePrivate::renderFromTiledBackingStore):
  4662. (QWebFramePrivate::renderRelativeCoords):
  4663. * Api/qwebframe_p.h:
  4664. (QWebFramePrivate::QWebFramePrivate):
  4665. (QWebFramePrivate):
  4666. * Api/qwebsettings.cpp:
  4667. (QWebSettingsPrivate::apply):
  4668. * WebCoreSupport/PageClientQt.cpp:
  4669. (WebCore):
  4670. (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
  4671. (WebCore::PageClientQGraphicsWidget::update):
  4672. (WebCore::PageClientQGraphicsWidget::syncLayers):
  4673. (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
  4674. * WebCoreSupport/PageClientQt.h:
  4675. (WebCore):
  4676. (WebCore::PageClientQWidget::PageClientQWidget):
  4677. (PageClientQWidget):
  4678. (PageClientQGraphicsWidget):
  4679. 2012-07-02 Benjamin Poulain <bpoulain@apple.com>
  4680. Do not do any logging initialization when logging is disabled
  4681. https://bugs.webkit.org/show_bug.cgi?id=90228
  4682. Reviewed by Simon Fraser.
  4683. * WebCoreSupport/InitWebCoreQt.cpp:
  4684. (WebCore::initializeWebCoreQt):
  4685. 2012-06-29 Konrad Piascik <kpiascik@rim.com>
  4686. Don't hardcode target dpi of 160 (it should be 96 on desktop)
  4687. https://bugs.webkit.org/show_bug.cgi?id=88114
  4688. Reviewed by Adam Barth.
  4689. Updated the call to computeViewportAttributes.
  4690. * Api/qwebpage.cpp:
  4691. (QWebPage::viewportAttributesForSize):
  4692. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4693. (DumpRenderTreeSupportQt::viewportAsText):
  4694. 2012-06-28 Alexander Pavlov <apavlov@chromium.org>
  4695. [Qt] inspector/styles/inject-stylesheet.html makes 4 tests flakey (TEXT PASS)
  4696. https://bugs.webkit.org/show_bug.cgi?id=90167
  4697. Reviewed by Csaba Osztrogonác.
  4698. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4699. (DumpRenderTreeSupportQt::removeUserStyleSheets):
  4700. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  4701. 2012-06-28 Csaba Osztrogonác <ossy@webkit.org>
  4702. [Qt] Restore original value of mock scrollbars between tests
  4703. https://bugs.webkit.org/show_bug.cgi?id=90155
  4704. Reviewed by Simon Hausmann.
  4705. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4706. (DumpRenderTreeSupportQt::setMockScrollbarsEnabled):
  4707. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  4708. 2012-06-25 Mark Hahnenberg <mhahnenberg@apple.com>
  4709. JSLock should be per-JSGlobalData
  4710. https://bugs.webkit.org/show_bug.cgi?id=89123
  4711. Reviewed by Geoffrey Garen.
  4712. Changed all sites that used JSLock to instead use the new JSLockHolder
  4713. and pass in the correct JS context that the code is about to interact with that
  4714. needs protection. Also added a couple JSLocks to places that didn't already
  4715. have it that needed it.
  4716. * Api/qwebframe.cpp:
  4717. (QWebFramePrivate::addQtSenderToGlobalObject):
  4718. (QWebFrame::addToJavaScriptWindowObject):
  4719. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4720. (DumpRenderTreeSupportQt::injectInternalsObject):
  4721. (DumpRenderTreeSupportQt::resetInternalsObject):
  4722. 2012-06-27 Simon Hausmann <simon.hausmann@nokia.com>
  4723. [Qt] Fix compilation of example platform plugin with Qt 5
  4724. Reviewed by Kenneth Christiansen.
  4725. Use QLatin1String where appropriate and use the Qt 5 plugin
  4726. system with Qt 5.
  4727. * examples/platformplugin/WebPlugin.cpp:
  4728. (SingleSelectionPopup::SingleSelectionPopup):
  4729. (MultipleItemListDelegate::MultipleItemListDelegate):
  4730. (MultipleSelectionPopup::MultipleSelectionPopup):
  4731. * examples/platformplugin/WebPlugin.h:
  4732. (WebPlugin):
  4733. 2012-06-26 Tony Chang <tony@chromium.org>
  4734. [Qt] Enable grid layout LayoutTests
  4735. https://bugs.webkit.org/show_bug.cgi?id=89909
  4736. Reviewed by Csaba Osztrogonác.
  4737. These tests pass, we just need to hook up the overridePreference.
  4738. * Api/qwebsettings.cpp:
  4739. (QWebSettingsPrivate::apply):
  4740. (QWebSettings::QWebSettings):
  4741. * Api/qwebsettings.h: Add enum value for CSS grid layout
  4742. 2012-06-25 Simon Hausmann <simon.hausmann@nokia.com>
  4743. Unreviewed build fix: Don't do QT += widgets with Qt 4
  4744. * examples/platformplugin/platformplugin.pro:
  4745. 2012-06-23 Sheriff Bot <webkit.review.bot@gmail.com>
  4746. Unreviewed, rolling out r121058.
  4747. http://trac.webkit.org/changeset/121058
  4748. https://bugs.webkit.org/show_bug.cgi?id=89809
  4749. Patch causes plugins tests to crash in GTK debug builds
  4750. (Requested by zdobersek on #webkit).
  4751. * Api/qwebframe.cpp:
  4752. (QWebFramePrivate::addQtSenderToGlobalObject):
  4753. (QWebFrame::addToJavaScriptWindowObject):
  4754. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4755. (DumpRenderTreeSupportQt::injectInternalsObject):
  4756. (DumpRenderTreeSupportQt::resetInternalsObject):
  4757. 2012-06-20 Mark Hahnenberg <mhahnenberg@apple.com>
  4758. JSLock should be per-JSGlobalData
  4759. https://bugs.webkit.org/show_bug.cgi?id=89123
  4760. Reviewed by Gavin Barraclough.
  4761. Changed all sites that used JSLock to instead use the new JSLockHolder
  4762. and pass in the correct JS context that the code is about to interact with that
  4763. needs protection.
  4764. * Api/qwebframe.cpp:
  4765. (QWebFramePrivate::addQtSenderToGlobalObject):
  4766. (QWebFrame::addToJavaScriptWindowObject):
  4767. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4768. (DumpRenderTreeSupportQt::injectInternalsObject):
  4769. (DumpRenderTreeSupportQt::resetInternalsObject):
  4770. 2012-06-22 Amy Ousterhout <aousterh@chromium.org>
  4771. Renamed DeviceOrientation to DeviceOrientationData
  4772. https://bugs.webkit.org/show_bug.cgi?id=88663
  4773. Reviewed by Steve Block.
  4774. Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
  4775. This change makes DeviceOrientationData consistent with DeviceMotionData.
  4776. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4777. (DumpRenderTreeSupportQt::setMockDeviceOrientation):
  4778. 2012-06-21 Thiago Marcos P. Santos <thiago.santos@intel.com>
  4779. [WK2][Qt] Color chooser API missing
  4780. https://bugs.webkit.org/show_bug.cgi?id=87749
  4781. Reviewed by Kenneth Rohde Christiansen.
  4782. Added ColorChooser API stub to WebKit. Otherwise
  4783. it will break the build for Qt WebKit2 (that now has
  4784. complete support for color chooser) when INPUT_TYPE_COLOR is set.
  4785. * WebCoreSupport/ChromeClientQt.cpp:
  4786. (WebCore):
  4787. (WebCore::ChromeClientQt::createColorChooser):
  4788. * WebCoreSupport/ChromeClientQt.h:
  4789. (ChromeClientQt):
  4790. 2012-06-20 Simon Hausmann <simon.hausmann@nokia.com>
  4791. [Qt] Unreviewed build fix
  4792. The platform plugin example uses QGridLayout and thus needs QT += widgets
  4793. * examples/platformplugin/platformplugin.pro:
  4794. 2012-06-19 Csaba Osztrogonác <ossy@webkit.org>
  4795. [Qt] Buildfix for newer Qt5, use QPointer instead of the deprecated QWeakPointer.
  4796. https://bugs.webkit.org/show_bug.cgi?id=89449
  4797. Reviewed by Simon Hausmann.
  4798. * Api/qwebframe_p.h:
  4799. (QWebHitTestResultPrivate):
  4800. * Api/qwebpage_p.h:
  4801. (QWebPagePrivate):
  4802. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4803. (WebCore::FrameLoaderClientQt::createFrame):
  4804. * WebCoreSupport/PageClientQt.h:
  4805. (PageClientQGraphicsWidget):
  4806. 2012-06-19 Albert Astals Cid <albert.astals@canonical.com>
  4807. [Qt] Document the versions enums where added
  4808. https://bugs.webkit.org/show_bug.cgi?id=89452
  4809. Reviewed by Simon Hausmann.
  4810. * Api/qwebpage.cpp:
  4811. 2012-06-19 Sergio Villar Senin <svillar@igalia.com>
  4812. Calling nativeImageForCurrentFrame() causes assertion failure: m_verifier.isSafeToUse()
  4813. https://bugs.webkit.org/show_bug.cgi?id=67582
  4814. Reviewed by David Levin.
  4815. Use synchronousNativeIconForPageURL() to retrieve favicons.
  4816. * Api/qwebhistory.cpp:
  4817. (QWebHistoryItem::icon):
  4818. * Api/qwebsettings.cpp:
  4819. (QWebSettings::iconForUrl):
  4820. 2012-06-18 Andras Becsi <andras.becsi@nokia.com>
  4821. [Qt] Update QML plugins to Qt 5 style
  4822. https://bugs.webkit.org/show_bug.cgi?id=89027
  4823. Reviewed by Csaba Osztrogonác.
  4824. Since support for Qt 4 style plugins was removed from Qt 5
  4825. we need to update our plugins to the new style to be able
  4826. to build with a more recent Qt 5 hash.
  4827. Add empty plugin description json files for now.
  4828. * declarative/experimental/plugin.cpp:
  4829. * declarative/experimental/plugin.json: Added.
  4830. * declarative/plugin.cpp:
  4831. (WebKitQmlPlugin):
  4832. * declarative/plugin.json: Added.
  4833. 2012-06-13 Simon Hausmann <simon.hausmann@nokia.com>
  4834. [Qt] Remove dependency to QtScript for the Qt 5 build
  4835. https://bugs.webkit.org/show_bug.cgi?id=88993
  4836. Reviewed by Kenneth Rohde Christiansen.
  4837. When building against Qt 5, replace the use of QScriptEngine::ValueOwnership with
  4838. a (compatible) QWebFrame::ValueOwnership enum.
  4839. * Api/qwebframe.cpp:
  4840. (qtSenderCallback):
  4841. (QWebFrame::addToJavaScriptWindowObject):
  4842. * Api/qwebframe.h:
  4843. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  4844. (tst_QObjectBridge::arrayObjectEnumerable):
  4845. (tst_QObjectBridge::ownership):
  4846. (tst_QObjectBridge::qObjectWrapperWithSameIdentity):
  4847. 2012-06-12 Csaba Osztrogonác <ossy@webkit.org>
  4848. [Qt][Mac] Unreviewed buildfix after r120076.
  4849. * WebCoreSupport/QTKitFullScreenVideoHandler.h:
  4850. 2012-06-11 Kaustubh Atrawalkar <kaustubh@motorola.com>
  4851. [DRT] LTC:: counterValueForElementById() could be moved to Internals.
  4852. https://bugs.webkit.org/show_bug.cgi?id=84406
  4853. Reviewed by Hajime Morita.
  4854. Move the counterValueForElementById from LayoutTestCotroller to Internals and
  4855. remove the old platform specific implementations as it exclusively tests WebCore functionality.
  4856. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4857. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  4858. 2012-06-11 Csaba Osztrogonác <ossy@webkit.org>
  4859. [Qt][Win] Add missing includes to fix the build
  4860. https://bugs.webkit.org/show_bug.cgi?id=88538
  4861. Reviewed by Simon Hausmann.
  4862. * Api/qwebframe.cpp:
  4863. * WebCoreSupport/ChromeClientQt.cpp:
  4864. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  4865. * WebCoreSupport/GeolocationClientQt.cpp:
  4866. * WebCoreSupport/IconDatabaseClientQt.cpp:
  4867. 2012-06-08 Simon Hausmann <simon.hausmann@nokia.com>
  4868. Unreviewed, fix file permissions.
  4869. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4870. 2012-06-07 Zoltan Horvath <zoltan@webkit.org>
  4871. [Qt] Qt DRT should load external resources - cleanup
  4872. https://bugs.webkit.org/show_bug.cgi?id=88568
  4873. Make things more straighforward to load external URLs in DRT.
  4874. Reviewed by Ryosuke Niwa.
  4875. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4876. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  4877. 2012-06-06 Zoltan Horvath <zoltan@webkit.org>
  4878. [Qt] Qt DRT / WTR should be able to load external resources
  4879. https://bugs.webkit.org/show_bug.cgi?id=87326
  4880. Reviewed by Hajime Morita.
  4881. Allow external resources to be loaded when the main frame's URL is also an external resource.
  4882. This change is analogous to r118231 for Mac port and to r119153 Chromium port.
  4883. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4884. (WebCore::blockRequest):
  4885. (WebCore):
  4886. (WebCore::isLocalhost):
  4887. (WebCore::hostIsUsedBySomeTestsToGenerateError):
  4888. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  4889. 2012-06-05 Max Feil <mfeil@rim.com>
  4890. [BlackBerry] Conditionally enlarge HTML5 video controls in fullscreen mode
  4891. https://bugs.webkit.org/show_bug.cgi?id=87551
  4892. Reviewed by Antonio Gomes.
  4893. Add a new parameter to adjustSliderThumbSize() for BlackBerry
  4894. port. Fixing compiles of other ports.
  4895. * WebCoreSupport/RenderThemeQStyle.cpp:
  4896. (WebCore::RenderThemeQStyle::adjustSliderThumbSize):
  4897. * WebCoreSupport/RenderThemeQStyle.h:
  4898. (RenderThemeQStyle):
  4899. 2012-06-04 Sheriff Bot <webkit.review.bot@gmail.com>
  4900. Unreviewed, rolling out r119384.
  4901. http://trac.webkit.org/changeset/119384
  4902. https://bugs.webkit.org/show_bug.cgi?id=88227
  4903. Need to update some tests, I'll roll in later. (Requested by
  4904. Zoltan on #webkit).
  4905. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4906. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  4907. 2012-06-04 Zoltan Horvath <zoltan@webkit.org>
  4908. [Qt] Qt DRT / WTR should be able to load external resources
  4909. https://bugs.webkit.org/show_bug.cgi?id=87326
  4910. Reviewed by Ryosuke Niwa.
  4911. Allow external resources to be loaded when the main frame's URL is also an external resource.
  4912. This change is analogous to r118231 for Mac port and to r119153 Chromium port.
  4913. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4914. (WebCore::blockRequest):
  4915. (WebCore):
  4916. (WebCore::isLocalhost):
  4917. (WebCore::hostIsUsedBySomeTestsToGenerateError):
  4918. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  4919. 2012-06-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  4920. [Qt] Don't use WebKit HAVE() macro in public Qt headers
  4921. Reviewed by Kenneth Rohde Christiansen.
  4922. * Api/qgraphicswebview.h:
  4923. * Api/qwebframe_p.h:
  4924. * Api/qwebpage.h:
  4925. * Api/qwebview.h:
  4926. 2012-06-02 Zoltan Arvai <zarvai@inf.u-szeged.hu>
  4927. [Qt] Use 'Ok' and 'Cancel' buttons in JavaScript confirm box.
  4928. https://bugs.webkit.org/show_bug.cgi?id=76190
  4929. Based on Johannes Obermayrs (johannesobermayr@gmx.de) patch.
  4930. See: http://www.javascripter.net/faq/confirm.htm
  4931. Fixes: https://bugs.kde.org/show_bug.cgi?id=287629
  4932. Reviewed by Simon Hausmann.
  4933. * Api/qwebpage.cpp:
  4934. (QWebPage::javaScriptConfirm):
  4935. 2012-06-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  4936. [Qt] Fix QObject bridge tests in Qt5 after (not so) recent QVariant changes
  4937. https://bugs.webkit.org/show_bug.cgi?id=88127
  4938. Reviewed by Noam Rosenthal.
  4939. We were checking for invalid QVariants in a very odd way. Since in Qt5 the
  4940. userType of invalid changed to not be Void, this broke the tests for QtWebKit
  4941. with Qt5. Replace those checks with QVariant::isValid() calls.
  4942. * tests/qobjectbridge/tst_qobjectbridge.cpp:
  4943. (tst_QObjectBridge::evalJS):
  4944. (tst_QObjectBridge::evalJSV):
  4945. 2012-06-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  4946. [Qt] Move QObject bridge related tests from tst_qwebframe to tst_qobjectbridge
  4947. https://bugs.webkit.org/show_bug.cgi?id=88117
  4948. Reviewed by Noam Rosenthal.
  4949. Five tests (classEnums, classConstructor, transferInvokable, findObject and
  4950. findChildren) were removed since they contained commented code since the file was
  4951. added back in 2008. The QObject bridge tests were probably inspired in similar
  4952. tests for QtScript, so many features not yet implemented were present in QtWebKit
  4953. tests but commented.
  4954. Other minor changes:
  4955. - Moved MyEnumTestQObject near the only test function that uses it.
  4956. - Removed unnecessary Q_INVOKABLE from setBrushProperty.
  4957. - Removed some bits of dead / commented code.
  4958. * tests/qobjectbridge/qobjectbridge.pro: Added.
  4959. * tests/qobjectbridge/tst_qobjectbridge.cpp: Copied from Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp.
  4960. Kept only the tests related to QObject bridge implementation.
  4961. * tests/qwebframe/tst_qwebframe.cpp:
  4962. (tst_QWebFrame):
  4963. (tst_QWebFrame::init):
  4964. (tst_QWebFrame::cleanup):
  4965. 2012-06-01 Thiago Marcos P. Santos <thiago.santos@intel.com>
  4966. [Qt] Remove deprecated to/fromAscii()
  4967. https://bugs.webkit.org/show_bug.cgi?id=88086
  4968. Reviewed by Simon Hausmann.
  4969. Replacing to/fromAscii with to/fromLatin1 since it
  4970. is deprecated on Qt5.
  4971. * WebCoreSupport/InspectorClientQt.cpp:
  4972. (WebCore):
  4973. * WebCoreSupport/InspectorServerQt.cpp:
  4974. (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
  4975. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  4976. (tst_QDeclarativeWebView::settings):
  4977. 2012-05-31 Hajime Morrita <morrita@chromium.org>
  4978. REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
  4979. https://bugs.webkit.org/show_bug.cgi?id=86859
  4980. Reviewed by Ryosuke Niwa.
  4981. * WebCoreSupport/TextCheckerClientQt.h:
  4982. (WebCore::TextCheckerClientQt::requestCheckingOfString):
  4983. 2012-05-31 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  4984. [Qt] Simplify QT_VERSION_CHECKS for Qt5 by introducing HAVE(QT5)
  4985. https://bugs.webkit.org/show_bug.cgi?id=87955
  4986. Reviewed by Simon Hausmann.
  4987. * Api/qgraphicswebview.cpp:
  4988. * Api/qgraphicswebview.h:
  4989. * Api/qwebframe.cpp:
  4990. * Api/qwebframe_p.h:
  4991. * Api/qwebpage.cpp:
  4992. * Api/qwebpage.h:
  4993. * Api/qwebsettings.cpp:
  4994. * Api/qwebview.cpp:
  4995. * Api/qwebview.h:
  4996. * WebCoreSupport/FrameLoaderClientQt.cpp:
  4997. * WebCoreSupport/GeolocationClientQt.cpp:
  4998. * WebCoreSupport/GeolocationClientQt.h:
  4999. * WebCoreSupport/PageClientQt.cpp:
  5000. * WebCoreSupport/WebEventConversion.cpp:
  5001. * declarative/plugin.cpp:
  5002. * tests/qwebframe/tst_qwebframe.cpp:
  5003. * tests/util.h:
  5004. 2012-05-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  5005. [Qt] Sync up favicon-implementation with WebView url changes in r118158
  5006. https://bugs.webkit.org/show_bug.cgi?id=87133
  5007. We now base64-encode the page url in the image-provider url, so that any
  5008. normalization done by QUrl will not mess up the page-url. The logic of
  5009. creating and parsing the provider-url has been moved into the image
  5010. provider, to keep it in one place.
  5011. We were also releasing icons (even ones we hadn't retained), which we can't
  5012. do since we don't know when the icon url is no longer in use.
  5013. Reviewed-by Simon Hausmann.
  5014. * declarative/plugin.cpp:
  5015. * declarative/public.pri:
  5016. 2012-05-25 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  5017. WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
  5018. https://bugs.webkit.org/show_bug.cgi?id=42328
  5019. Reviewed by Eric Seidel.
  5020. Removed unneeded setJavaScriptProfilingEnabled function from DRT after its
  5021. move to windows.internals.settings.
  5022. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5023. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  5024. 2012-05-27 Simon Hausmann <simon.hausmann@nokia.com>
  5025. [Qt] Trivial unreviewed build fix with newer Qt
  5026. * Api/qwebpage.cpp:
  5027. (QWebPage::javaScriptPrompt): Don't use deprecated QString/QChar functions.
  5028. 2012-05-24 Ryosuke Niwa <rniwa@webkit.org>
  5029. createContextualFragment and insertAdjacentHTML should throw syntax error
  5030. https://bugs.webkit.org/show_bug.cgi?id=87454
  5031. Reviewed by Darin Adler.
  5032. Pass an ExceptionCode to createContextualFragment.
  5033. * Api/qwebelement.cpp:
  5034. (QWebElement::appendInside):
  5035. (QWebElement::prependInside):
  5036. (QWebElement::prependOutside):
  5037. (QWebElement::appendOutside):
  5038. (QWebElement::encloseContentsWith):
  5039. (QWebElement::encloseWith):
  5040. 2012-05-25 Csaba Osztrogonác <ossy@webkit.org>
  5041. [Qt] Buildfix for newer Qt5
  5042. https://bugs.webkit.org/show_bug.cgi?id=87257
  5043. Reviewed by Simon Hausmann.
  5044. * Api/qgraphicswebview.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
  5045. * Api/qwebframe.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
  5046. * Api/qwebhistory.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
  5047. * Api/qwebsettings.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
  5048. * Api/qwebview.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
  5049. * WebCoreSupport/FrameLoaderClientQt.cpp: Adjust QCoreApplication::translate() parameter list to newer Qt 5.
  5050. (WebCore::FrameLoaderClientQt::cancelledError):
  5051. (WebCore::FrameLoaderClientQt::blockedError):
  5052. (WebCore::FrameLoaderClientQt::cannotShowURLError):
  5053. (WebCore::FrameLoaderClientQt::interruptedForPolicyChangeError):
  5054. (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
  5055. (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
  5056. (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError):
  5057. * declarative/experimental/plugin.cpp: QDeclarativeExtensionPlugin -> QQmlExtensionPlugin renaming.
  5058. * declarative/plugin.cpp: QDeclarativeExtensionPlugin -> QQmlExtensionPlugin renaming.
  5059. (WebKitQmlPlugin):
  5060. 2012-05-24 Ryosuke Niwa <rniwa@webkit.org>
  5061. There are too many poorly named functions to create a fragment from markup
  5062. https://bugs.webkit.org/show_bug.cgi?id=87339
  5063. Reviewed by Eric Seidel.
  5064. Replace calls to Range::createDocumentFragmentForElement by calls to
  5065. createContextualDocumentFragment.
  5066. * Api/qwebelement.cpp:
  5067. (QWebElement::appendInside):
  5068. (QWebElement::prependInside):
  5069. (QWebElement::prependOutside):
  5070. (QWebElement::appendOutside):
  5071. (QWebElement::encloseContentsWith):
  5072. (QWebElement::encloseWith):
  5073. 2012-05-24 Gabor Ballabas <gaborb@inf.u-szeged.hu>
  5074. [Qt] Fix Webkit1 + V8 build.
  5075. https://bugs.webkit.org/show_bug.cgi?id=87368
  5076. Reviewed by Eric Seidel.
  5077. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5078. (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
  5079. 2012-05-24 Steffen Imhof <steffen.imhof@basyskom.com>
  5080. https://bugs.webkit.org/show_bug.cgi?id=67093
  5081. [Qt] Default window.alert shows HTML entities in certain cases
  5082. Instead of HTML escaping the text of JS alerts (which does not work
  5083. consistently because of Qt's automatisms), build message boxes
  5084. explicitly to be able set the text format to plain text.
  5085. QInputDialog is a bit hacky, because there is no way to access or
  5086. control the contained QLabel.
  5087. Reviewed by Simon Hausmann.
  5088. * Api/qwebpage.cpp:
  5089. (QWebPage::javaScriptAlert):
  5090. (QWebPage::javaScriptConfirm):
  5091. (QWebPage::javaScriptPrompt):
  5092. 2012-05-21 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  5093. Move setEditingBehavior() from layoutTestController to window.internals
  5094. https://bugs.webkit.org/show_bug.cgi?id=42689
  5095. Reviewed by Hajime Morita and Kenneth Rohde Christiansen.
  5096. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5097. (DumpRenderTreeSupportQt::setWindowsBehaviorAsEditingBehavior): Reduce the job
  5098. done by this function to the minimal.
  5099. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  5100. 2012-05-18 MORITA Hajime <morrita@google.com>
  5101. https://bugs.webkit.org/show_bug.cgi?id=85515
  5102. Stale frame in WebCore::SpellChecker::didCheckSucceeded
  5103. Reviewed by Ryosuke Niwa.
  5104. * WebCoreSupport/EditorClientQt.h:
  5105. (WebCore::EditorClientQt::frameWillDetachPage):
  5106. 2012-05-17 Hironori Bono <hbono@chromium.org>
  5107. [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
  5108. https://bugs.webkit.org/show_bug.cgi?id=86591
  5109. Reviewed by Ryosuke Niwa.
  5110. This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
  5111. function to remove platform-specific code from Editor::respondToChangedSelection
  5112. function.
  5113. No new tests, no change in behavior.
  5114. * WebCoreSupport/TextCheckerClientQt.cpp:
  5115. (WebCore::TextCheckerClientQt::shouldEraseMarkersAfterChangeSelection):
  5116. (WebCore):
  5117. * WebCoreSupport/TextCheckerClientQt.h:
  5118. (TextCheckerClientQt):
  5119. 2012-05-17 Dan Bernstein <mitz@apple.com>
  5120. REGRESSION (r117428): WebKit API/SPI was removed
  5121. https://bugs.webkit.org/show_bug.cgi?id=86748
  5122. Reverted r117428.
  5123. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5124. (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme):
  5125. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  5126. 2012-05-17 Tsarko Yaroslav <eriktsarko@googlemail.com>
  5127. Reviewed by Yury Semikhatsky.
  5128. Bug 71271: [Qt] Web Inspector: local inspector client UI becomes unresponsive on debugger pause during
  5129. https://bugs.webkit.org/show_bug.cgi?id=71271
  5130. Web Inspector should not belong to any other page groups since it is a specialized debugger window.
  5131. The reason for this change is when debugger pauses web page it pauses all the pages in the page group of debuggee.
  5132. This leads that Web Inspector front-end is paused too leading to locked Web Inspector GUI (bugzilla ticket 71271).
  5133. * WebCoreSupport/InspectorClientQt.cpp:
  5134. (WebCore::InspectorClientQt::openInspectorFrontend):
  5135. 2012-05-17 Gyuyoung Kim <gyuyoung.kim@samsung.com>
  5136. Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface
  5137. https://bugs.webkit.org/show_bug.cgi?id=86704
  5138. Reviewed by Eric Seidel.
  5139. Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the
  5140. cross-port way through the InternalSettings interface.
  5141. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5142. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  5143. 2012-05-15 Kenneth Rohde Christiansen <kenneth@webkit.org>
  5144. [Qt] Add infra for testing double-tap to zoom functionality etc
  5145. https://bugs.webkit.org/show_bug.cgi?id=86474
  5146. Reviewed by Simon Hausmann.
  5147. The WebViewportInfo class was renamed to QWebKitTest in preparation
  5148. of becoming a separate module. Adapt the use API.
  5149. * declarative/experimental/plugin.cpp:
  5150. 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
  5151. Move resumeAnimations to use Internals interface
  5152. https://bugs.webkit.org/show_bug.cgi?id=86063
  5153. Reviewed by Alexey Proskuryakov.
  5154. Remove resumeAnimations functions, because it is able to work in the
  5155. cross-port way through the Internals interface.
  5156. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5157. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  5158. 2012-05-10 Marius Storm-Olsen <marius.storm-olsen@nokia.com>
  5159. [Qt] Fix \sa usage in documentation
  5160. Ensure comma between elements (6 missing).
  5161. Reviewed by Tor Arne Vestbø.
  5162. * Api/qwebpage.cpp:
  5163. 2012-05-09 Gyuyoung Kim <gyuyoung.kim@samsung.com>
  5164. Move suspendAnimations to use Internals interface.
  5165. https://bugs.webkit.org/show_bug.cgi?id=85986
  5166. Reviewed by Ryosuke Niwa.
  5167. Remove suspendAnimations functions, because it is able to work in the
  5168. cross-port way through the Internals interface.
  5169. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5170. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  5171. 2012-05-08 Balazs Kelemen <kbalazs@webkit.org>
  5172. [Qt] X11 plugins need to be reworked for Qt5+WK1
  5173. https://bugs.webkit.org/show_bug.cgi?id=80691
  5174. Reviewed by Simon Hausmann.
  5175. * Api/qwebsettings.cpp:
  5176. (QWebSettings::enablePersistentStorage):
  5177. Build fix for Qt5.
  5178. * WebCoreSupport/FrameLoaderClientQt.cpp:
  5179. (WebCore::FrameLoaderClientQt::createPlugin):
  5180. Inject the wmode parameter for flash so it will
  5181. work in windowless, non-transparent mode which
  5182. is the only one we support currently.
  5183. * WebCoreSupport/PageClientQt.cpp:
  5184. (WebCore):
  5185. (WebCore::QWebPageClient::ownerWindow):
  5186. Added a getter for the top level window so the PluginView
  5187. can get it without calling into QtWidgets code.
  5188. 2012-05-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
  5189. Convert isPageBoxVisible to use Internals interface.
  5190. https://bugs.webkit.org/show_bug.cgi?id=85692
  5191. Reviewed by Darin Adler.
  5192. Remove isPageBoxVisible functions, because it is able to work in the
  5193. cross-port way through the Internals interface.
  5194. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5195. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  5196. 2012-05-04 Nate Chapin <japhet@chromium.org>
  5197. Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
  5198. https://bugs.webkit.org/show_bug.cgi?id=85533
  5199. Reviewed by Alexey Proskuryakov.
  5200. * WebCoreSupport/FrameLoaderClientQt.cpp:
  5201. (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
  5202. (WebCore):
  5203. (WebCore::FrameLoaderClientQt::finishedLoading):
  5204. * WebCoreSupport/FrameLoaderClientQt.h:
  5205. (WebCore::FrameLoaderClientQt::makeRepresentation):
  5206. (WebCore::FrameLoaderClientQt::revertToProvisionalState):
  5207. (FrameLoaderClientQt):
  5208. 2012-05-03 Fady Samuel <fsamuel@chromium.org>
  5209. Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
  5210. https://bugs.webkit.org/show_bug.cgi?id=70609
  5211. Reviewed by Kenneth Rohde Christiansen.
  5212. * Api/qwebpage.cpp:
  5213. (QWebPage::viewportAttributesForSize):
  5214. * Api/qwebpage.h:
  5215. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5216. (DumpRenderTreeSupportQt::viewportAsText):
  5217. 2012-04-27 Jon Lee <jonlee@apple.com>
  5218. Migrate permission functions to Notification from NotificationCenter
  5219. https://bugs.webkit.org/show_bug.cgi?id=80485
  5220. <rdar://problem/10965458>
  5221. Reviewed by Jian Li.
  5222. * WebCoreSupport/NotificationPresenterClientQt.h:
  5223. (NotificationPresenterClientQt): Add stub implementation of requestPermission.
  5224. (WebCore::NotificationPresenterClientQt::requestPermission):
  5225. 2012-05-02 Sheriff Bot <webkit.review.bot@gmail.com>
  5226. Unreviewed, rolling out r115907.
  5227. http://trac.webkit.org/changeset/115907
  5228. https://bugs.webkit.org/show_bug.cgi?id=85458
  5229. It broke all viewport tests on Qt and on GTK (Requested by
  5230. Ossy on #webkit).
  5231. * Api/qwebpage.cpp:
  5232. (QWebPage::viewportAttributesForSize):
  5233. * Api/qwebpage.h:
  5234. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5235. (DumpRenderTreeSupportQt::viewportAsText):
  5236. 2012-04-18 Jon Honeycutt <jhoneycutt@apple.com>
  5237. FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
  5238. information about the form being submitted
  5239. https://bugs.webkit.org/show_bug.cgi?id=84297
  5240. Reviewed by Andy Estes.
  5241. * WebCoreSupport/FrameLoaderClientQt.h:
  5242. (WebCore::FrameLoaderClientQt::dispatchWillSendSubmitEvent):
  5243. Updated method declaration.
  5244. 2012-05-02 Fady Samuel <fsamuel@chromium.org>
  5245. Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
  5246. https://bugs.webkit.org/show_bug.cgi?id=70609
  5247. Reviewed by Kenneth Rohde Christiansen.
  5248. * Api/qwebpage.h:
  5249. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5250. (DumpRenderTreeSupportQt::viewportAsText):
  5251. 2012-05-02 Milian Wolff <milian.wolff@kdab.com>
  5252. [Qt] Pass page-height to PrintContext::begin to fix print layouting
  5253. https://bugs.webkit.org/show_bug.cgi?id=84864
  5254. Reviewed by Simon Hausmann.
  5255. * Api/qwebframe.cpp:
  5256. (QWebFrame::print):
  5257. 2012-05-02 Kenneth Rohde Christiansen <kenneth@webkit.org>
  5258. [Qt] Add initial QML documentation
  5259. https://bugs.webkit.org/show_bug.cgi?id=85370
  5260. Reviewed by Simon Hausmann.
  5261. * docs/qtwebkit.qdocconf: Add WebKit2 dirs.
  5262. 2012-05-02 Csaba Osztrogonác <ossy@webkit.org>
  5263. [Qt] Buildfix after r115812 for !ENABLE(DEVICE_ORIENTATION) builds.
  5264. https://bugs.webkit.org/show_bug.cgi?id=64595
  5265. Reviewed by Kenneth Rohde Christiansen.
  5266. * Api/qwebpage.cpp:
  5267. 2012-04-27 Allan Sandfeld Jensen <allan.jensen@nokia.com>
  5268. Move WebKit1 specific conversion of touch-events to WebKit1
  5269. https://bugs.webkit.org/show_bug.cgi?id=84951
  5270. Reviewed by Kenneth Rohde Christiansen.
  5271. Fix compile when touch-events are disabled.
  5272. * WebCoreSupport/WebEventConversion.cpp:
  5273. (WebCore):
  5274. * WebCoreSupport/WebEventConversion.h:
  5275. (WebCore):
  5276. 2012-04-26 Allan Sandfeld Jensen <allan.jensen@nokia.com>
  5277. Move WebKit1 specific conversion of touch-events to WebKit1.
  5278. https://bugs.webkit.org/show_bug.cgi?id=84951
  5279. Reviewed by Kenneth Rohde Christiansen.
  5280. * Api/qwebpage.cpp:
  5281. (QWebPagePrivate::touchEvent):
  5282. * WebCoreSupport/WebEventConversion.cpp:
  5283. (WebKitPlatformTouchEvent):
  5284. (WebKitPlatformTouchPoint):
  5285. (WebCore::WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
  5286. (WebCore::WebKitPlatformTouchPoint::WebKitPlatformTouchPoint):
  5287. (WebCore::convertTouchEvent):
  5288. * WebCoreSupport/WebEventConversion.h:
  5289. 2012-04-25 Alexis Menard <alexis.menard@openbossa.org>
  5290. Rename CSSStyleSelector files to StyleResolver.
  5291. https://bugs.webkit.org/show_bug.cgi?id=84814
  5292. Reviewed by Antti Koivisto.
  5293. Rename CSSStyleSelector files to match the new class name StyleResolver.
  5294. Update the includes all over the code base to the new name.
  5295. * Api/qwebelement.cpp:
  5296. * WebCoreSupport/RenderThemeQStyle.cpp:
  5297. 2012-04-25 Milian Wolff <milian.wolff@kdab.com>
  5298. [Qt] add LayoutTestController::setPrinting support to Qt unit tests
  5299. https://bugs.webkit.org/show_bug.cgi?id=84246
  5300. Reviewed by Simon Hausmann.
  5301. * Api/qwebframe.cpp:
  5302. (QWebFrame::paintPagesWithBoundaries):
  5303. * Api/qwebframe.h:
  5304. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5305. (DumpRenderTreeSupportQt::paintPagesWithBoundaries):
  5306. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  5307. 2012-04-24 Alexis Menard <alexis.menard@openbossa.org>
  5308. Replace occurences of style selector from variables and methods names by style resolver.
  5309. https://bugs.webkit.org/show_bug.cgi?id=84765
  5310. Reviewed by Andreas Kling.
  5311. Rename methods and variables to follow the new name StyleResolver. It requires to update the
  5312. local variables, methods parameters, and function names to match the new name and to remove
  5313. the concept of "selector" to avoid clashing with the CSS concept. The next and last patch
  5314. will be to rename CSSStyleSelector file and update the includes.
  5315. * Api/qwebelement.cpp:
  5316. (QWebElement::styleProperty):
  5317. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5318. (DumpRenderTreeSupportQt::setMediaType):
  5319. * WebCoreSupport/RenderThemeQStyle.cpp:
  5320. (WebCore::RenderThemeQStyle::adjustButtonStyle):
  5321. (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
  5322. (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
  5323. (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
  5324. (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
  5325. (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
  5326. 2012-04-24 Alexis Menard <alexis.menard@openbossa.org>
  5327. Rename CSSStyleSelector class to StyleResolver.
  5328. https://bugs.webkit.org/show_bug.cgi?id=84734
  5329. Reviewed by Andreas Kling.
  5330. The name CSSStyleSelector is confusing as it conflicts a bit with
  5331. the CSS concept of selectors. One could think it's an encapsulation
  5332. of the CSS selectors but it's not, in fact this class is responsible
  5333. of finding the RenderStyle for a given element. This is the first patch
  5334. as I will later rename the files, and then rename the local variables.
  5335. * WebCoreSupport/RenderThemeQStyle.cpp:
  5336. (WebCore::RenderThemeQStyle::adjustButtonStyle):
  5337. (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
  5338. (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
  5339. (WebCore::RenderThemeQStyle::adjustSliderTrackStyle):
  5340. (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
  5341. (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
  5342. (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
  5343. * WebCoreSupport/RenderThemeQStyle.h:
  5344. (RenderThemeQStyle):
  5345. 2012-04-24 Yael Aharon <yael.aharon@nokia.com>
  5346. [Qt] Move notification icon download out of WebCore
  5347. https://bugs.webkit.org/show_bug.cgi?id=80700
  5348. Reviewed by Simon Hausmann.
  5349. Remove the code that handles the notification's icon and use the icon url instead.
  5350. The "display" event has to be asynchronous, so a timer was added to achieve that.
  5351. The platform plugin API and example were updated to reflect this change.
  5352. This change does not address the recent changes in web notifications spec.
  5353. * Api/qwebkitplatformplugin.h:
  5354. (QWebNotificationData):
  5355. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  5356. (WebCore::NotificationWrapper::NotificationWrapper):
  5357. (WebCore::NotificationWrapper::sendDisplayEvent):
  5358. (WebCore):
  5359. (WebCore::NotificationWrapper::iconUrl):
  5360. (WebCore::NotificationPresenterClientQt::show):
  5361. (WebCore::NotificationPresenterClientQt::displayNotification):
  5362. (WebCore::NotificationPresenterClientQt::sendDisplayEvent):
  5363. * WebCoreSupport/NotificationPresenterClientQt.h:
  5364. (NotificationWrapper):
  5365. (NotificationPresenterClientQt):
  5366. * examples/platformplugin/WebNotificationPresenter.cpp:
  5367. (WebNotificationWidget::showNotification):
  5368. * examples/platformplugin/qwebkitplatformplugin.h:
  5369. (QWebNotificationData):
  5370. 2012-04-18 Allan Sandfeld Jensen <allan.jensen@nokia.com>
  5371. Clean-up WheelEvent Conversion.
  5372. https://bugs.webkit.org/show_bug.cgi?id=84243
  5373. Reviewed by Simon Hausmann.
  5374. * WebCoreSupport/WebEventConversion.cpp:
  5375. (WebCore::WebKitPlatformWheelEvent::applyDelta):
  5376. 2012-04-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  5377. [Qt] Build fix with QT_NO_BEARERMANAGEMENT
  5378. Reviewed by Jocelyn Turcotte.
  5379. * tests/benchmarks/loading/tst_loading.cpp:
  5380. (tst_Loading):
  5381. (tst_Loading::load):
  5382. * tests/benchmarks/painting/tst_painting.cpp:
  5383. (tst_Painting):
  5384. (tst_Painting::paint):
  5385. 2012-04-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  5386. [Qt] Fix build on OS X
  5387. We were manually including the directories needed from WTF, instead of
  5388. using the WEBKIT qmake variable to add dependencies, which also adds
  5389. other tricks from WTF.pri, such as the right include paths for ICU.
  5390. Reviewed by Simon Hausmann.
  5391. * declarative/experimental/experimental.pri:
  5392. * declarative/public.pri:
  5393. 2012-04-12 Balazs Kelemen <kbalazs@webkit.org>
  5394. [Qt] Fix WebKit1 build with V8
  5395. https://bugs.webkit.org/show_bug.cgi?id=83322
  5396. Reviewed by Adam Barth.
  5397. * WebCoreSupport/FrameLoaderClientQt.cpp:
  5398. (WebCore::FrameLoaderClientQt::didCreateScriptContext):
  5399. * WebCoreSupport/FrameLoaderClientQt.h:
  5400. (FrameLoaderClientQt):
  5401. (WebCore::FrameLoaderClientQt::allowScriptExtension):
  5402. * WebCoreSupport/InitWebCoreQt.cpp:
  5403. 2012-03-05 Pierre Rossi <pierre.rossi@gmail.com>
  5404. [Qt] Use QRawFont when building with Qt 5
  5405. https://bugs.webkit.org/show_bug.cgi?id=78001
  5406. Since QFont is not used internally, we now need
  5407. to query for a QFont that should be a good
  5408. enough match.
  5409. Reviewed by Simon Hausmann.
  5410. * Api/qwebpage.cpp:
  5411. (QWebPage::inputMethodQuery):
  5412. * WebCoreSupport/PopupMenuQt.cpp:
  5413. (WebCore::PopupMenuQt::show):
  5414. * WebCoreSupport/RenderThemeQStyle.cpp:
  5415. (WebCore::RenderThemeQStyle::computeSizeBasedOnStyle):
  5416. 2012-04-06 Levi Weintraub <leviw@chromium.org>
  5417. Correct LayoutUnit usgae in RenderThemeQt and RenderThemeQStyle
  5418. https://bugs.webkit.org/show_bug.cgi?id=83376
  5419. Reviewed by Eric Seidel.
  5420. Calculating the progress animation using the pixel-snapped RenderProgress size instead
  5421. of the internal sub-pixel version.
  5422. * WebCoreSupport/RenderThemeQStyle.cpp:
  5423. (WebCore::RenderThemeQStyle::animationDurationForProgressBar):
  5424. 2012-04-05 Patrick Gansterer <paroga@webkit.org>
  5425. [Qt] Correct <wtf/*.h> include paths.
  5426. https://bugs.webkit.org/show_bug.cgi?id=83270
  5427. Reviewed by Eric Seidel.
  5428. Modify the #include declerations so that the
  5429. wtf types are included using the full path.
  5430. * Api/qwebpage.cpp:
  5431. * WebCoreSupport/ContextMenuClientQt.h:
  5432. * WebCoreSupport/EditorClientQt.h:
  5433. * WebCoreSupport/FrameLoaderClientQt.h:
  5434. * WebCoreSupport/InspectorServerQt.cpp:
  5435. 2012-04-05 Csaba Osztrogonác <ossy@webkit.org>
  5436. [Qt] Fix includes after QtDeclarative -> QtQML renaming
  5437. https://bugs.webkit.org/show_bug.cgi?id=82195
  5438. Relanding r112651, because Qt5 is updated everywhere.
  5439. * declarative/experimental/plugin.cpp:
  5440. * declarative/plugin.cpp:
  5441. (WebKitQmlPlugin::initializeEngine):
  5442. 2012-04-04 Andras Becsi <andras.becsi@nokia.com>
  5443. [Qt][WK2] Make the WebView a subclass of Flickable
  5444. https://bugs.webkit.org/show_bug.cgi?id=83033
  5445. Reviewed by Kenneth Rohde Christiansen.
  5446. Add needed dependency to quick-private for projects that include the WebView header.
  5447. * declarative/experimental/experimental.pri:
  5448. * declarative/public.pri:
  5449. 2012-04-03 Alexis Menard <alexis.menard@openbossa.org>
  5450. [Part 2] We should use CSSPropertyID rather than integers when manipulating CSS property ids.
  5451. https://bugs.webkit.org/show_bug.cgi?id=82977
  5452. Reviewed by Andreas Kling.
  5453. Update the code to use CSSPropertyID rather than an integer.
  5454. * Api/qwebelement.cpp:
  5455. (QWebElement::setStyleProperty):
  5456. 2012-04-02 Alexis Menard <alexis.menard@openbossa.org>
  5457. We should use CSSPropertyID rather than integers when manipulating CSS property ids.
  5458. https://bugs.webkit.org/show_bug.cgi?id=82941
  5459. Reviewed by Andreas Kling.
  5460. CSSPropertyID enum holds all the CSS property ids but many parts of WebKit treat the ids
  5461. as integers. While it's not incorrect it is nicer to use the enum as a parameter of
  5462. functions manipulating property ids, as we ensure that the value passed will be an
  5463. existing value. It will also feel more correct after this patch that CSSProperty::id()
  5464. return a value of the enum rather than an integer. As this modification is quite big this
  5465. is the first part only so it will be easier to review.
  5466. * Api/qwebelement.cpp:
  5467. (QWebElement::styleProperty): Adapt to the API change and also remove an unecessary name->id
  5468. conversion.
  5469. 2012-04-02 Casper van Donderen <casper.vandonderen@nokia.com>
  5470. Qt: Doc: Fix typo which marks document to be printed in console font.
  5471. https://bugs.webkit.org/show_bug.cgi?id=82893
  5472. Reviewed by Simon Hausmann.
  5473. The qtwebkit-bridge.qdoc file contained a typo where a \c {} was
  5474. missing its closing curly bracket, this marked the rest of the page as
  5475. text to be printed using the code/console font.
  5476. * docs/qtwebkit-bridge.qdoc:
  5477. 2012-04-02 Sheriff Bot <webkit.review.bot@gmail.com>
  5478. Unreviewed, rolling out r112651.
  5479. http://trac.webkit.org/changeset/112651
  5480. https://bugs.webkit.org/show_bug.cgi?id=82887
  5481. It doesn't work with older Qt5 (Requested by Ossy on #webkit).
  5482. * declarative/experimental/plugin.cpp:
  5483. * declarative/plugin.cpp:
  5484. (WebKitQmlPlugin::initializeEngine):
  5485. 2012-04-01 Jon Lee <jonlee@apple.com>
  5486. Rename notification properties and functions
  5487. https://bugs.webkit.org/show_bug.cgi?id=80482
  5488. <rdar://problem/10912432>
  5489. Reviewed by Kentaro Hara.
  5490. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  5491. (WebCore::NotificationPresenterClientQt::show): Refactor to call tag().
  5492. (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue): Refactor to call tag().
  5493. 2012-03-30 Emil A Eklund <eae@chromium.org>
  5494. Change WebKit/WebKit2 platform code to use pixel snapped values
  5495. https://bugs.webkit.org/show_bug.cgi?id=82549
  5496. Reviewed by Eric Seidel.
  5497. * Api/qwebelement.cpp:
  5498. (QWebElement::geometry):
  5499. Replace getRect with getPixelSnappedRect to avoid having to expose
  5500. subpixel types to the platform layer.
  5501. * Api/qwebpage.cpp:
  5502. (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
  5503. Use pixel snapped element rect when comparing with the touch rect as the
  5504. touch rect use screen cordinates which are represented with pixel
  5505. accuracy.
  5506. * WebCoreSupport/ChromeClientQt.h:
  5507. (WebCore::ChromeClientQt::scrollRectIntoView):
  5508. Change scrollRectIntoView to take a LayoutRect to match base class
  5509. interface.
  5510. 2012-03-30 Mark Pilgrim <pilgrim@chromium.org>
  5511. GEOLOCATION should be implemented as Page Supplement
  5512. https://bugs.webkit.org/show_bug.cgi?id=82228
  5513. Reviewed by Adam Barth.
  5514. Geolocation is now a Supplement in Page so the interface
  5515. has changed for setting up the page's geolocation client
  5516. initially and accessing the controller later.
  5517. * Api/qwebpage.cpp:
  5518. (QWebPagePrivate::QWebPagePrivate):
  5519. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5520. (DumpRenderTreeSupportQt::resetGeolocationMock):
  5521. (DumpRenderTreeSupportQt::setMockGeolocationPermission):
  5522. (DumpRenderTreeSupportQt::setMockGeolocationPosition):
  5523. (DumpRenderTreeSupportQt::setMockGeolocationError):
  5524. (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
  5525. * WebCoreSupport/GeolocationClientQt.cpp:
  5526. (WebCore::GeolocationClientQt::positionUpdated):
  5527. (WebCore::GeolocationClientQt::startUpdating):
  5528. 2012-03-29 Ádám Kallai <kadam@inf.u-szeged.hu>
  5529. [Qt] Build fix by renameing QtDeclarative to QtQml in header calls.
  5530. https://bugs.webkit.org/show_bug.cgi?id=82195
  5531. Reviewed by Simon Hausmann.
  5532. * declarative/experimental/plugin.cpp:
  5533. * declarative/plugin.cpp:
  5534. (WebKitQmlPlugin::initializeEngine):
  5535. 2012-03-29 Sheriff Bot <webkit.review.bot@gmail.com>
  5536. Unreviewed, rolling out r112553.
  5537. http://trac.webkit.org/changeset/112553
  5538. https://bugs.webkit.org/show_bug.cgi?id=82638
  5539. It made all tests crash on Qt WK2 (Requested by Ossy_away on
  5540. #webkit).
  5541. * Api/qwebpage.cpp:
  5542. (QWebPagePrivate::QWebPagePrivate):
  5543. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5544. (DumpRenderTreeSupportQt::resetGeolocationMock):
  5545. (DumpRenderTreeSupportQt::setMockGeolocationPermission):
  5546. (DumpRenderTreeSupportQt::setMockGeolocationPosition):
  5547. (DumpRenderTreeSupportQt::setMockGeolocationError):
  5548. (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
  5549. * WebCoreSupport/GeolocationClientQt.cpp:
  5550. (WebCore::GeolocationClientQt::positionUpdated):
  5551. (WebCore::GeolocationClientQt::startUpdating):
  5552. 2012-03-29 Mark Pilgrim <pilgrim@chromium.org>
  5553. GEOLOCATION should be implemented as Page Supplement
  5554. https://bugs.webkit.org/show_bug.cgi?id=82228
  5555. Reviewed by Adam Barth.
  5556. Geolocation is now a Supplement in Page so the interface
  5557. has changed for setting up the page's geolocation client
  5558. initially and accessing the controller later.
  5559. * Api/qwebpage.cpp:
  5560. (QWebPagePrivate::QWebPagePrivate):
  5561. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5562. (DumpRenderTreeSupportQt::resetGeolocationMock):
  5563. (DumpRenderTreeSupportQt::setMockGeolocationPermission):
  5564. (DumpRenderTreeSupportQt::setMockGeolocationPosition):
  5565. (DumpRenderTreeSupportQt::setMockGeolocationError):
  5566. (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
  5567. * WebCoreSupport/GeolocationClientQt.cpp:
  5568. (WebCore::GeolocationClientQt::positionUpdated):
  5569. (WebCore::GeolocationClientQt::startUpdating):
  5570. 2012-03-28 Nate Chapin <japhet@chromium.org>
  5571. Remove dispatchDidLoadMainResource callback, since no
  5572. port implements it.
  5573. https://bugs.webkit.org/show_bug.cgi?id=82539
  5574. Reviewed by Alexey Proskuryakov.
  5575. * WebCoreSupport/FrameLoaderClientQt.cpp:
  5576. (WebCore):
  5577. * WebCoreSupport/FrameLoaderClientQt.h:
  5578. (FrameLoaderClientQt):
  5579. 2012-03-20 Eric Seidel <eric@webkit.org>
  5580. Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf
  5581. https://bugs.webkit.org/show_bug.cgi?id=80911
  5582. Reviewed by Adam Barth.
  5583. Fix WTF header include paths since although
  5584. Source/WTF is included, no longer are all the
  5585. subdirectories (thus "RefPtr.h" can't work).
  5586. * Api/qwebdatabase_p.h:
  5587. * Api/qwebscriptworld_p.h:
  5588. * Api/qwebsecurityorigin_p.h:
  5589. * WebCoreSupport/InspectorClientQt.h:
  5590. * WebCoreSupport/QtFallbackWebPopup.h:
  5591. * WebCoreSupport/QtWebComboBox.h:
  5592. * declarative/experimental/experimental.pri:
  5593. * declarative/public.pri:
  5594. * tests/MIMESniffing/MIMESniffing.pro:
  5595. 2012-03-19 Adam Barth <abarth@webkit.org>
  5596. Remove support for "magic" iframe
  5597. https://bugs.webkit.org/show_bug.cgi?id=81590
  5598. Reviewed by Eric Seidel.
  5599. Remove FrameLoaderClient methods that no longer exist.
  5600. * WebCoreSupport/FrameLoaderClientQt.cpp:
  5601. (WebCore):
  5602. * WebCoreSupport/FrameLoaderClientQt.h:
  5603. (FrameLoaderClientQt):
  5604. 2012-03-19 Emil A Eklund <eae@chromium.org>
  5605. [mac/qt/chromium] Change platform code to use pixelSnappedRect methods
  5606. https://bugs.webkit.org/show_bug.cgi?id=81016
  5607. Reviewed by Eric Seidel.
  5608. * Api/qwebelement.cpp:
  5609. (QWebElement::geometry):
  5610. (QWebElement::render):
  5611. 2012-03-16 Teemu Katajisto <teemu.katajisto@digia.com>
  5612. [Qt] QtWebKit documentation missing a few since 4.6 information
  5613. https://bugs.webkit.org/show_bug.cgi?id=81328
  5614. Reviewed by Simon Hausmann.
  5615. * Api/qwebpage.cpp:
  5616. * Api/qwebsettings.cpp:
  5617. 2012-03-15 Yuta Kitamura <yutak@chromium.org>
  5618. [Qt] Change default WebSocket protocol to the latest one
  5619. https://bugs.webkit.org/show_bug.cgi?id=73630
  5620. Reviewed by Simon Hausmann.
  5621. * Api/qwebpage.cpp:
  5622. (QWebPagePrivate::QWebPagePrivate):
  5623. Use RFC6455 WebSocket protocol by default.
  5624. 2012-03-07 Jon Lee <jonlee@apple.com>
  5625. Move NotificationContents into Notification
  5626. https://bugs.webkit.org/show_bug.cgi?id=80487
  5627. <rdar://problem/10965519>
  5628. Reviewed by Jian Li.
  5629. Refactor to use accessor methods on Notification.
  5630. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  5631. (WebCore::NotificationWrapper::title):
  5632. (WebCore::NotificationWrapper::message):
  5633. (WebCore::NotificationPresenterClientQt::displayNotification):
  5634. (WebCore::NotificationPresenterClientQt::cancel):
  5635. (WebCore::NotificationPresenterClientQt::notificationClicked):
  5636. (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
  5637. (WebCore::NotificationPresenterClientQt::dumpShowText):
  5638. 2012-03-13 Jon Lee <jonlee@apple.com>
  5639. Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
  5640. https://bugs.webkit.org/show_bug.cgi?id=80922
  5641. <rdar://problem/11035082>
  5642. Reviewed by Jian Li.
  5643. You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
  5644. LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
  5645. new API. Therefore, APIs that are common between the two will have:
  5646. #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
  5647. This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
  5648. the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
  5649. Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
  5650. * Api/qwebpage.cpp:
  5651. (QWebPagePrivate::QWebPagePrivate):
  5652. (QWebPagePrivate::~QWebPagePrivate):
  5653. (QWebPage::setFeaturePermission):
  5654. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5655. (DumpRenderTreeSupportQt::dumpNotification):
  5656. (DumpRenderTreeSupportQt::simulateDesktopNotificationClick):
  5657. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  5658. (WebCore):
  5659. (WebCore::NotificationWrapper::NotificationWrapper):
  5660. (WebCore::NotificationWrapper::close):
  5661. (WebCore::NotificationWrapper::title):
  5662. (WebCore::NotificationWrapper::message):
  5663. (WebCore::NotificationWrapper::iconData):
  5664. (WebCore::NotificationWrapper::openerPageUrl):
  5665. (WebCore::NotificationWrapper::notificationClicked):
  5666. (WebCore::NotificationWrapper::notificationClosed):
  5667. * WebCoreSupport/NotificationPresenterClientQt.h:
  5668. (WebCore):
  5669. 2012-03-14 Csaba Osztrogonác <ossy@webkit.org>
  5670. Last buildfix for Qt after r110595. :)
  5671. Reviewed by Benjamin Poulain.
  5672. * Api/qwebpage.cpp:
  5673. * WebCoreSupport/GeolocationClientQt.h:
  5674. 2012-03-13 Benjamin Poulain <bpoulain@apple.com>
  5675. Attempt to fix QtMinimal bot after r110595
  5676. * Api/qwebpage.cpp:
  5677. (QWebPagePrivate::QWebPagePrivate):
  5678. 2012-03-13 Benjamin Poulain <bpoulain@apple.com>
  5679. Another attempt at fixing QtMinimal bot after r110595
  5680. Blind fix, unreviewed.
  5681. * WebCoreSupport/GeolocationClientQt.h:
  5682. 2012-03-13 Benjamin Poulain <bpoulain@apple.com>
  5683. Attempt to fix QtMinimal bot after r110595
  5684. Blind fix, unreviewed.
  5685. * Api/qwebpage.cpp:
  5686. (QWebPagePrivate::QWebPagePrivate):
  5687. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5688. (DumpRenderTreeSupportQt::resetGeolocationMock):
  5689. (DumpRenderTreeSupportQt::setMockGeolocationPermission):
  5690. (DumpRenderTreeSupportQt::setMockGeolocationPosition):
  5691. (DumpRenderTreeSupportQt::setMockGeolocationError):
  5692. (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
  5693. * WebCoreSupport/GeolocationPermissionClientQt.h:
  5694. 2012-03-13 Adam Barth <abarth@webkit.org> && Benjamin Poulain <bpoulain@apple.com>
  5695. Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
  5696. https://bugs.webkit.org/show_bug.cgi?id=78853
  5697. Reviewed by Adam Barth.
  5698. * Api/qwebpage.cpp:
  5699. (QWebPagePrivate::QWebPagePrivate):
  5700. * WebCoreSupport/ChromeClientQt.h:
  5701. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5702. (toGeolocationClientMock):
  5703. (DumpRenderTreeSupportQt::resetGeolocationMock):
  5704. (DumpRenderTreeSupportQt::setMockGeolocationPermission):
  5705. (DumpRenderTreeSupportQt::setMockGeolocationPosition):
  5706. (DumpRenderTreeSupportQt::setMockGeolocationError):
  5707. (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
  5708. * WebCoreSupport/GeolocationClientQt.h:
  5709. (WebCore):
  5710. 2012-03-12 Antonio Gomes <agomes@rim.com>
  5711. Convert nodesFromRect tests to use Internals interface
  5712. https://bugs.webkit.org/show_bug.cgi?id=80886
  5713. Reviewed by Ryosuke Niwa.
  5714. Removed DRTSupportQt::nodesFromRect support, since
  5715. it can work in the cross-port way through the
  5716. Internals interface.
  5717. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5718. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  5719. 2012-03-09 Jon Lee <jonlee@apple.com>
  5720. Rename NotificationPresenter to NotificationClient
  5721. https://bugs.webkit.org/show_bug.cgi?id=80488
  5722. <rdar://problem/10965558>
  5723. Reviewed by Kentaro Hara.
  5724. Refactor to use renamed WebCore::NotificationClient.
  5725. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  5726. (WebCore::NotificationPresenterClientQt::checkPermission):
  5727. (WebCore::NotificationPresenterClientQt::allowNotificationForFrame):
  5728. * WebCoreSupport/NotificationPresenterClientQt.h:
  5729. (NotificationPresenterClientQt):
  5730. 2012-03-09 Emil A Eklund <eae@chromium.org>
  5731. Add roundedPoint to HitTestResult and change platform code to use it
  5732. https://bugs.webkit.org/show_bug.cgi?id=80715
  5733. Reviewed by James Robinson.
  5734. Change ports to use roundedPoint to avoid exposing subpixel types to
  5735. platform code.
  5736. * Api/qwebframe.cpp:
  5737. (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
  5738. 2012-03-09 Jon Lee <jonlee@apple.com>
  5739. Add support for ENABLE(LEGACY_NOTIFICATIONS)
  5740. https://bugs.webkit.org/show_bug.cgi?id=80497
  5741. Reviewed by Adam Barth.
  5742. Prep for b80472: Update API for Web Notifications
  5743. * examples/platformplugin/platformplugin.pro:
  5744. 2012-03-09 Csaba Osztrogonác <ossy@webkit.org>
  5745. [Qt] Fix compilation without QtQuick1
  5746. https://bugs.webkit.org/show_bug.cgi?id=80503
  5747. Qt 4.8 API test fix after r110050.
  5748. Reviewed by Zoltan Herczeg.
  5749. * declarative/public.pri: Add load(features) to ensure HAVE_QQUICK1=1 is set.
  5750. 2012-03-08 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  5751. [Qt] Use Qt's module system for install rules and depending on QtWebKit
  5752. Instead of rolling our own install rules we now use the same approach as
  5753. every other Qt module, by loading qt_module.prf and qt_module_config.prf.
  5754. This ensures that we follow the same semantics as the rest of Qt on
  5755. what sort of config options are enabled by default (create_cmake eg.).
  5756. It also allows us to use QT += webkit instead of the workaround we had
  5757. with CONFIG += qtwebkit.
  5758. We do however force Qt to always treat our build as a non-developer build,
  5759. so the libraries will end up in the WebKit lib directory instead of the
  5760. qtbase directory (as with a normal developer-build). This allows us to
  5761. keep the webkit-build self-contained. If Qt is a developer build we still
  5762. copy the module file manually to Qt, so that you don't have to install
  5763. WebKit to make it available.
  5764. For non-developer builds of Qt, it is still possible to use the built
  5765. WebKit libraries without having to install them, by having the variable
  5766. QMAKE_EXTRA_MODULE_FORWARDS set in the project's .qmake.cache file,
  5767. pointing to $WEBKITOUTUTDIR/$CONFIGURATION/modules.
  5768. https://bugs.webkit.org/show_bug.cgi?id=80590
  5769. Reviewed by Simon Hausmann.
  5770. * declarative/experimental/experimental.pri:
  5771. * declarative/experimental/plugin.cpp:
  5772. * declarative/plugin.cpp:
  5773. * declarative/public.pri:
  5774. * tests/tests.pri:
  5775. 2012-03-08 Antti Koivisto <antti@apple.com>
  5776. https://bugs.webkit.org/show_bug.cgi?id=80370
  5777. Enable matched declaration caching for elements with a style attribute
  5778. Reviewed by Andreas Kling
  5779. * Api/qwebelement.cpp:
  5780. (QWebElement::styleProperty):
  5781. (QWebElement::setStyleProperty):
  5782. 2012-03-07 Simon Hausmann <simon.hausmann@nokia.com>
  5783. [Qt] Fix compilation without QtQuick1
  5784. https://bugs.webkit.org/show_bug.cgi?id=80503
  5785. Reviewed by Tor Arne Vestbø.
  5786. Compile and enable the QtQuick1/QML1 plugin and webview
  5787. only if we're using Qt 4 at the moment. QQuick1 clashes
  5788. with QQuick2 right now because both declare QDeclarativeEngine
  5789. and friends as classes.
  5790. * declarative/plugin.cpp:
  5791. (WebKitQmlPlugin::registerTypes):
  5792. * declarative/public.pri:
  5793. * tests/tests.pri:
  5794. 2012-03-07 Kangil Han <kangil.han@samsung.com>
  5795. [DRT] Remove PlainTextController implementations.
  5796. https://bugs.webkit.org/show_bug.cgi?id=79959
  5797. Reviewed by Hajime Morita.
  5798. PlainTextController usages in existing tests have been
  5799. replaced by internals API by bug 78570.
  5800. So this patch will remove PlainTextController implementations
  5801. to avoid further usage in new tests.
  5802. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  5803. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  5804. 2012-03-06 Philippe Normand <pnormand@igalia.com>
  5805. [GStreamer] disable GStreamerGWorld when building against 0.11
  5806. https://bugs.webkit.org/show_bug.cgi?id=77088
  5807. Reviewed by Martin Robinson.
  5808. * WebCoreSupport/ChromeClientQt.cpp:
  5809. (WebCore::ChromeClientQt::ChromeClientQt):
  5810. (WebCore::ChromeClientQt::~ChromeClientQt):
  5811. (WebCore):
  5812. * WebCoreSupport/FullScreenVideoQt.cpp:
  5813. (WebCore):
  5814. (WebCore::FullScreenVideoQt::FullScreenVideoQt):
  5815. (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
  5816. (WebCore::FullScreenVideoQt::enterFullScreenForNode):
  5817. (WebCore::FullScreenVideoQt::exitFullScreenForNode):
  5818. (WebCore::FullScreenVideoQt::isValid):
  5819. * WebCoreSupport/FullScreenVideoQt.h:
  5820. (WebCore):
  5821. 2012-03-03 Simon Hausmann <simon.hausmann@nokia.com>
  5822. [Qt] Fix static_libs_as_shared build
  5823. https://bugs.webkit.org/show_bug.cgi?id=80214
  5824. Reviewed by Tor Arne Vestbø.
  5825. Add helper function to be called by WebProcess main
  5826. to potentially initialize the QStyle theme.
  5827. * WebCoreSupport/InitWebCoreQt.cpp:
  5828. (WebKit):
  5829. (WebKit::initializeWebKit2Theme):
  5830. 2012-03-02 Casper van Donderen <casper.vandonderen@nokia.com>
  5831. [Qt] Documentation cleanup
  5832. https://bugs.webkit.org/show_bug.cgi?id=80131
  5833. Reviewed by Simon Hausmann.
  5834. QDoc uses different commands to do bold, lists, and italics.
  5835. This change updates the documentation accordingly.
  5836. QTBUG-24578
  5837. * Api/qwebframe.cpp:
  5838. * Api/qwebhistory.cpp:
  5839. * Api/qwebinspector.cpp:
  5840. * Api/qwebpage.cpp:
  5841. * Api/qwebpluginfactory.cpp:
  5842. * Api/qwebsettings.cpp:
  5843. * declarative/qdeclarativewebview.cpp:
  5844. * docs/qtwebkit-bridge.qdoc:
  5845. * docs/qtwebkit.qdoc:
  5846. * docs/qtwebkit.qdocconf:
  5847. 2012-03-02 Simon Hausmann <simon.hausmann@nokia.com>
  5848. [Qt] Build system cleanup
  5849. Rubber-stamped by Antti Koivisto.
  5850. * tests/MIMESniffing/MIMESniffing.pro: Don't link in WTFAssertions.cpp for ASSERT, now
  5851. that the symbols are properly exported with export macros from the DLL.
  5852. 2012-03-02 Simon Hausmann <simon.hausmann@nokia.com>
  5853. [Qt] Move QStyle theming code out of WebCore into WebKit1
  5854. https://bugs.webkit.org/show_bug.cgi?id=80128
  5855. Reviewed by Kenneth Rohde Christiansen.
  5856. Moved the bulk of the QStyle dependant code here, where it's okay to depend on QtWidgets/QStyle.
  5857. Install the QStyle factory functions in initWebCoreQt.cpp.
  5858. * Api/qwebpage.cpp:
  5859. (QWebPage::swallowContextMenuEvent):
  5860. * WebCoreSupport/InitWebCoreQt.cpp:
  5861. (WebCore::initializeWebCoreQt):
  5862. * WebCoreSupport/RenderThemeQStyle.cpp: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.cpp.
  5863. (WebCore):
  5864. (WebCore::initStyleOption):
  5865. (WebCore::RenderThemeQStyle::getStylePainter):
  5866. (WebCore::StylePainterQStyle::StylePainterQStyle):
  5867. (WebCore::StylePainterQStyle::init):
  5868. (WebCore::RenderThemeQStyle::create):
  5869. (WebCore::RenderThemeQStyle::RenderThemeQStyle):
  5870. (WebCore::RenderThemeQStyle::~RenderThemeQStyle):
  5871. (WebCore::RenderThemeQStyle::fallbackStyle):
  5872. (WebCore::RenderThemeQStyle::qStyle):
  5873. (WebCore::RenderThemeQStyle::findFrameLineWidth):
  5874. (WebCore::RenderThemeQStyle::inflateButtonRect):
  5875. (WebCore::RenderThemeQStyle::computeSizeBasedOnStyle):
  5876. (WebCore::RenderThemeQStyle::adjustButtonStyle):
  5877. (WebCore::RenderThemeQStyle::setButtonPadding):
  5878. (WebCore::RenderThemeQStyle::paintButton):
  5879. (WebCore::RenderThemeQStyle::paintTextField):
  5880. (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
  5881. (WebCore::RenderThemeQStyle::paintTextArea):
  5882. (WebCore::RenderThemeQStyle::setPopupPadding):
  5883. (WebCore::RenderThemeQStyle::paintMenuList):
  5884. (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
  5885. (WebCore::RenderThemeQStyle::paintMenuListButton):
  5886. (WebCore::RenderThemeQStyle::animationDurationForProgressBar):
  5887. (WebCore::RenderThemeQStyle::paintProgressBar):
  5888. (WebCore::RenderThemeQStyle::paintSliderTrack):
  5889. (WebCore::RenderThemeQStyle::adjustSliderTrackStyle):
  5890. (WebCore::RenderThemeQStyle::paintSliderThumb):
  5891. (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
  5892. (WebCore::RenderThemeQStyle::paintSearchField):
  5893. (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
  5894. (WebCore::RenderThemeQStyle::paintSearchFieldDecoration):
  5895. (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
  5896. (WebCore::RenderThemeQStyle::paintSearchFieldResultsDecoration):
  5897. (WebCore::RenderThemeQStyle::paintInnerSpinButton):
  5898. (WebCore::RenderThemeQStyle::initializeCommonQStyleOptions):
  5899. (WebCore::RenderThemeQStyle::adjustSliderThumbSize):
  5900. * WebCoreSupport/RenderThemeQStyle.h: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.h.
  5901. (WebCore):
  5902. (RenderThemeQStyle):
  5903. (StylePainterQStyle):
  5904. (WebCore::StylePainterQStyle::isValid):
  5905. (WebCore::StylePainterQStyle::drawPrimitive):
  5906. (WebCore::StylePainterQStyle::drawControl):
  5907. (WebCore::StylePainterQStyle::drawComplexControl):
  5908. * WebCoreSupport/ScrollbarThemeQStyle.cpp: Copied from Source/WebCore/platform/qt/ScrollbarThemeQt.cpp.
  5909. (WebCore):
  5910. (WebCore::ScrollbarThemeQStyle::~ScrollbarThemeQStyle):
  5911. (WebCore::scPart):
  5912. (WebCore::scrollbarPart):
  5913. (WebCore::styleOptionSlider):
  5914. (WebCore::ScrollbarThemeQStyle::paint):
  5915. (WebCore::ScrollbarThemeQStyle::hitTest):
  5916. (WebCore::ScrollbarThemeQStyle::shouldCenterOnThumb):
  5917. (WebCore::ScrollbarThemeQStyle::invalidatePart):
  5918. (WebCore::ScrollbarThemeQStyle::scrollbarThickness):
  5919. (WebCore::ScrollbarThemeQStyle::thumbPosition):
  5920. (WebCore::ScrollbarThemeQStyle::thumbLength):
  5921. (WebCore::ScrollbarThemeQStyle::trackPosition):
  5922. (WebCore::ScrollbarThemeQStyle::trackLength):
  5923. (WebCore::ScrollbarThemeQStyle::paintScrollCorner):
  5924. (WebCore::ScrollbarThemeQStyle::style):
  5925. * WebCoreSupport/ScrollbarThemeQStyle.h: Renamed from Source/WebCore/platform/qt/ScrollbarThemeQt.h.
  5926. (WebCore):
  5927. (ScrollbarThemeQStyle):
  5928. 2012-02-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  5929. [Qt] Move registration of experimental types to the proper plugin
  5930. https://bugs.webkit.org/show_bug.cgi?id=79706
  5931. Reviewed by Tor Arne Vestbø.
  5932. * declarative/experimental/plugin.cpp:
  5933. * declarative/plugin.cpp:
  5934. (WebKitQmlPlugin::registerTypes):
  5935. 2012-02-28 Antti Koivisto <antti@apple.com>
  5936. Try to fix build.
  5937. Not reviewed.
  5938. * Api/qwebelement.cpp:
  5939. (QWebElement::styleProperty):
  5940. 2012-02-26 Hajime Morrita <morrita@chromium.org>
  5941. Move ChromeClient::showContextMenu() to ContextMenuClient
  5942. https://bugs.webkit.org/show_bug.cgi?id=79427
  5943. Reviewed by Adam Barth.
  5944. * WebCoreSupport/ChromeClientQt.h:
  5945. (ChromeClientQt):
  5946. 2012-02-24 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  5947. [Qt] API: Unify the loading properties and signals.
  5948. https://bugs.webkit.org/show_bug.cgi?id=79486
  5949. Reviewed by Simon Hausmann.
  5950. * declarative/plugin.cpp:
  5951. (WebKitQmlPlugin::registerTypes):
  5952. 2012-02-24 Holger Hans Peter Freyther <holger@moiji-mobile.com>
  5953. [Qt] Build fix. macro "QSKIP" now only takes 1 argument on Qt5
  5954. https://bugs.webkit.org/show_bug.cgi?id=79328
  5955. Reviewed by Csaba Osztrogonác.
  5956. Introduce an alternative QSKIP that can work with both Qt4
  5957. and Qt5 without adding #ifdef to each usage site.
  5958. * tests/benchmarks/loading/tst_loading.cpp:
  5959. (tst_Loading::load):
  5960. * tests/benchmarks/painting/tst_painting.cpp:
  5961. (tst_Painting::paint):
  5962. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  5963. (tst_QDeclarativeWebView::elementAreaAt):
  5964. * tests/qwebframe/tst_qwebframe.cpp:
  5965. (tst_QWebFrame::setHtmlWithBaseURL):
  5966. * tests/qwebpage/tst_qwebpage.cpp:
  5967. (tst_QWebPage::geolocationRequestJS):
  5968. (tst_QWebPage::loadHtml5Video):
  5969. (tst_QWebPage::screenshot):
  5970. * tests/qwebview/tst_qwebview.cpp:
  5971. (tst_QWebView::reusePage):
  5972. 2012-02-24 Shinya Kawanaka <shinyak@chromium.org>
  5973. SpellCheckRequest needs to know the context where the spellcheck happened.
  5974. https://bugs.webkit.org/show_bug.cgi?id=79320
  5975. Reviewed by Hajime Morita.
  5976. * WebCoreSupport/TextCheckerClientQt.h:
  5977. (WebCore::TextCheckerClientQt::requestCheckingOfString):
  5978. 2012-02-23 Simon Hausmann <simon.hausmann@nokia.com>
  5979. [Qt] Add support for touch cancellation
  5980. https://bugs.webkit.org/show_bug.cgi?id=79348
  5981. Reviewed by Kenneth Rohde Christiansen.
  5982. Forward incoming touch cancellation events to the WebCore
  5983. event handler.
  5984. * Api/qgraphicswebview.cpp:
  5985. (QGraphicsWebView::sceneEvent):
  5986. * Api/qwebpage.cpp:
  5987. (QWebPage::event):
  5988. * Api/qwebview.cpp:
  5989. (QWebView::event):
  5990. 2012-02-22 Hajime Morrita <morrita@chromium.org>
  5991. NOTIFICATIONS should be implemented as PageSupplement
  5992. https://bugs.webkit.org/show_bug.cgi?id=79052
  5993. Reviewed by Adam Barth.
  5994. * Api/qwebpage.cpp:
  5995. (QWebPagePrivate::QWebPagePrivate):
  5996. 2012-02-21 Ryosuke Niwa <rniwa@webkit.org>
  5997. Remove the remaining uses of CSSStyleDeclaration in Editor
  5998. https://bugs.webkit.org/show_bug.cgi?id=78939
  5999. Reviewed by Enrica Casucci.
  6000. * WebCoreSupport/EditorClientQt.cpp:
  6001. (WebCore::EditorClientQt::shouldApplyStyle):
  6002. * WebCoreSupport/EditorClientQt.h:
  6003. (EditorClientQt):
  6004. 2012-02-22 Mihnea Ovidenie <mihnea@adobe.com>
  6005. [Qt] REGRESSION(r108108): It made 3 fast/repaint tests fail
  6006. https://bugs.webkit.org/show_bug.cgi?id=78960
  6007. Reviewed by Csaba Osztrogonác.
  6008. * Api/qwebsettings.cpp:
  6009. (QWebSettingsPrivate::apply):
  6010. (QWebSettings::QWebSettings):
  6011. * Api/qwebsettings.h:
  6012. 2012-02-22 Simon Hausmann <simon.hausmann@nokia.com>
  6013. [Qt] Move QMenu dependant scrollbar context menu handling out of WebCore
  6014. https://bugs.webkit.org/show_bug.cgi?id=79233
  6015. Reviewed by Kenneth Rohde Christiansen.
  6016. Move scrollbar context menu handling here, it's the only place where it is
  6017. used.
  6018. * Api/qwebpage.cpp:
  6019. (handleScrollbarContextMenuEvent):
  6020. (QWebPage::swallowContextMenuEvent):
  6021. 2012-02-22 Kenneth Rohde Christiansen <kenneth@webkit.org>
  6022. Merge setVisibleRectTrajectoryVector and adjustVisibleRect to
  6023. the more descriptive coverWithTilesIfNeeded
  6024. https://bugs.webkit.org/show_bug.cgi?id=79230
  6025. Reviewed by Simon Hausmann.
  6026. * Api/qgraphicswebview.cpp:
  6027. (QGraphicsWebView::paint):
  6028. Use coverWithTilesIfNeeded().
  6029. 2012-02-22 Ryosuke Niwa <rniwa@webkit.org>
  6030. Remove the remaining uses of CSSStyleDeclaration in Editor
  6031. https://bugs.webkit.org/show_bug.cgi?id=78939
  6032. Reviewed by Enrica Casucci.
  6033. * WebCoreSupport/EditorClientQt.cpp:
  6034. (WebCore::EditorClientQt::shouldApplyStyle):
  6035. * WebCoreSupport/EditorClientQt.h:
  6036. (EditorClientQt):
  6037. 2012-02-21 Csaba Osztrogonác <ossy@webkit.org>
  6038. [Qt] tst_QWebPage::infiniteLoopJS() timeouts with DFG JIT
  6039. https://bugs.webkit.org/show_bug.cgi?id=79040
  6040. Reviewed by Simon Hausmann.
  6041. * tests/qwebpage/tst_qwebpage.cpp:
  6042. (tst_QWebPage): Disable tst_QWebPage::infiniteLoopJS() until proper fix.
  6043. 2012-02-21 Andras Becsi <andras.becsi@nokia.com>
  6044. [Qt] Print warning when importing experimental WK2 APIs in QML
  6045. https://bugs.webkit.org/show_bug.cgi?id=78817
  6046. Reviewed by Simon Hausmann.
  6047. * declarative/experimental/plugin.cpp:
  6048. 2012-02-20 Benjamin Poulain <benjamin@webkit.org>
  6049. Get rid of the LocalizationStrategy
  6050. https://bugs.webkit.org/show_bug.cgi?id=78324
  6051. Reviewed by Sam Weinig.
  6052. Move the localization code from PlatformStrategiesQt.cpp
  6053. to LocalizedStringsQt.cpp.
  6054. Get rid of LocalizationStrategy from PlatformStrategiesQt
  6055. * WebCoreSupport/PlatformStrategiesQt.cpp:
  6056. * WebCoreSupport/PlatformStrategiesQt.h:
  6057. (PlatformStrategiesQt):
  6058. 2012-02-16 Simon Hausmann <simon.hausmann@nokia.com>
  6059. Unreviewed brown-paper bag build fix.
  6060. * WebCoreSupport/WebEventConversion.cpp:
  6061. (WebCore::WebKitPlatformWheelEvent::WebKitPlatformWheelEvent):
  6062. 2012-02-16 Simon Hausmann <simon.hausmann@nokia.com>
  6063. [Qt] Move event conversion functions from WebCore to WebKit
  6064. https://bugs.webkit.org/show_bug.cgi?id=78788
  6065. Reviewed by Kenneth Rohde Christiansen.
  6066. Move QtWidgets dependent mouse event constructors out of WebCore
  6067. into WebKit, similar to the web event conversions of WebKit2.
  6068. * Api/qwebpage.cpp:
  6069. (QWebPagePrivate::mouseMoveEvent):
  6070. (QWebPagePrivate::mousePressEvent):
  6071. (QWebPagePrivate::mouseDoubleClickEvent):
  6072. (QWebPagePrivate::mouseTripleClickEvent):
  6073. (QWebPagePrivate::mouseReleaseEvent):
  6074. (QWebPagePrivate::wheelEvent):
  6075. (QWebPage::swallowContextMenuEvent):
  6076. * WebCoreSupport/FrameLoaderClientQt.cpp:
  6077. (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
  6078. * WebCoreSupport/WebEventConversion.cpp: Added.
  6079. (WebCore):
  6080. (WebCore::mouseEventModifiersFromQtKeyboardModifiers):
  6081. (WebCore::mouseEventTypeAndMouseButtonFromQEvent):
  6082. (WebKitPlatformMouseEvent):
  6083. (WebCore::WebKitPlatformMouseEvent::WebKitPlatformMouseEvent):
  6084. (WebCore::convertMouseEvent):
  6085. (WebKitPlatformWheelEvent):
  6086. (WebCore::WebKitPlatformWheelEvent::applyDelta):
  6087. (WebCore::WebKitPlatformWheelEvent::WebKitPlatformWheelEvent):
  6088. (WebCore::convertWheelEvent):
  6089. * WebCoreSupport/WebEventConversion.h: Added.
  6090. (WebCore):
  6091. 2012-02-16 Adenilson Cavalcanti <cavalcantii@gmail.com>
  6092. [Qt][WK2] Split QWebPermissionRequest into QWebSecurityOrigin
  6093. https://bugs.webkit.org/show_bug.cgi?id=73215
  6094. Reviewed by Kenneth Rohde Christiansen.
  6095. Adding a class to access security information data
  6096. (e.g. port/scheme/etc),
  6097. while allowing it to be handled in QML side.
  6098. * declarative/plugin.cpp:
  6099. (WebKitQmlPlugin::registerTypes):
  6100. 2012-02-15 Sadrul Habib Chowdhury <sadrul@chromium.org>
  6101. Notify ChromeClient when touch-event handlers are installed/removed.
  6102. https://bugs.webkit.org/show_bug.cgi?id=77440
  6103. Reviewed by Darin Fisher and Ryosuke Niwa.
  6104. * WebCoreSupport/ChromeClientQt.h:
  6105. (WebCore::ChromeClientQt::numTouchEventHandlersChanged):
  6106. 2012-02-15 Simon Hausmann <simon.hausmann@nokia.com>
  6107. Unreviewed Qt 4.x build fix.
  6108. * WebCoreSupport/PageClientQt.cpp: Fix the QT_VERSION_CHECK pre-processor foo.
  6109. 2012-02-15 Simon Hausmann <simon.hausmann@nokia.com>
  6110. [Qt] Replace use of QGLWidget/QGLContext with QOpenGLContext and QSurface for Qt 5
  6111. https://bugs.webkit.org/show_bug.cgi?id=78694
  6112. Reviewed by Noam Rosenthal.
  6113. * WebCoreSupport/PageClientQt.cpp:
  6114. (createPlatformGraphicsContext3DFromWidget): Return the QOpenGLContext and QSurface
  6115. from the QGLWidget when compiling with Qt 5, as that's what WebCore expects.
  6116. 2012-02-15 Simon Hausmann <simon.hausmann@nokia.com>
  6117. [Qt] Move Qt platform specific GL Context/Surface creation out of WebCore into WebKit
  6118. https://bugs.webkit.org/show_bug.cgi?id=78692
  6119. Reviewed by Noam Rosenthal.
  6120. Implement GLWidget and GLContext creation from the page client interface.
  6121. * WebCoreSupport/PageClientQt.cpp:
  6122. (createPlatformGraphicsContext3DFromWidget):
  6123. (WebCore):
  6124. (WebCore::PageClientQWidget::createPlatformGraphicsContext3D):
  6125. (WebCore::PageClientQGraphicsWidget::createPlatformGraphicsContext3D):
  6126. * WebCoreSupport/PageClientQt.h:
  6127. (PageClientQWidget):
  6128. (PageClientQGraphicsWidget):
  6129. 2012-02-14 Simon Hausmann <simon.hausmann@nokia.com>
  6130. [Qt] Eliminate first set of QtWidgets dependencies from WebCore
  6131. https://bugs.webkit.org/show_bug.cgi?id=78611
  6132. Reviewed by Kenneth Rohde Christiansen.
  6133. * Api/qwebpage.cpp: Add missing includes.
  6134. * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Ditto.
  6135. * WebCoreSupport/FrameLoaderClientQt.cpp: Make it compile by casting
  6136. the QObject based PlatformWidget back to QWidget before doing QWidget
  6137. specific function calls.
  6138. * WebCoreSupport/InitWebCoreQt.cpp:
  6139. (WebCore::initializeWebCoreQt): Moved QStyle specific web-graphic initialization
  6140. here from WebCore.
  6141. * WebCoreSupport/PageClientQt.cpp:
  6142. (WebCore::PageClientQWidget::setWidgetVisible): Implement show/hiding of widgets
  6143. through delegation to QWidget.
  6144. (WebCore):
  6145. (WebCore::PageClientQGraphicsWidget::setWidgetVisible): Provide empty widget
  6146. show/hide implementation, as it doesn't seem to make sense for graphicsviews.
  6147. * WebCoreSupport/PageClientQt.h:
  6148. (PageClientQWidget):
  6149. (PageClientQGraphicsWidget):
  6150. 2012-02-15 Kenneth Rohde Christiansen <kenneth@webkit.org>
  6151. [Qt] Be smarted with tile usages during tiling
  6152. https://bugs.webkit.org/show_bug.cgi?id=78243
  6153. Reviewed by Simon Hausmann.
  6154. Remove internal API used by Symbian.
  6155. * Api/qwebpage.cpp:
  6156. (QWebPagePrivate::dynamicPropertyChangeEvent):
  6157. 2012-02-15 No'am Rosenthal <noam.rosenthal@nokia.com>
  6158. [Texmap] Divide TextureMapperNode.cpp to 3 files.
  6159. https://bugs.webkit.org/show_bug.cgi?id=76660
  6160. Rename TextureMapperNode to TextureMapperLayer.
  6161. Reviewed by Kenneth Rohde Christiansen.
  6162. * Api/qwebframe.cpp:
  6163. (QWebFramePrivate::renderCompositedLayers):
  6164. * Api/qwebframe.h:
  6165. (WebCore):
  6166. * Api/qwebframe_p.h:
  6167. (WebCore):
  6168. (QWebFramePrivate::QWebFramePrivate):
  6169. (QWebFramePrivate):
  6170. * WebCoreSupport/PageClientQt.cpp:
  6171. (WebCore::TextureMapperLayerClientQt::TextureMapperLayerClientQt):
  6172. (WebCore::TextureMapperLayerClientQt::setTextureMapper):
  6173. (WebCore::TextureMapperLayerClientQt::~TextureMapperLayerClientQt):
  6174. (WebCore::TextureMapperLayerClientQt::syncRootLayer):
  6175. (WebCore::TextureMapperLayerClientQt::rootLayer):
  6176. (WebCore::PageClientQWidget::setRootGraphicsLayer):
  6177. (WebCore::PageClientQWidget::syncLayers):
  6178. (WebCore::PageClientQGraphicsWidget::syncLayers):
  6179. (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
  6180. * WebCoreSupport/PageClientQt.h:
  6181. (TextureMapperLayerClientQt):
  6182. (PageClientQWidget):
  6183. (PageClientQGraphicsWidget):
  6184. 2012-02-11 Nikolas Zimmermann <nzimmermann@rim.com>
  6185. Convert svg/animations to use SMIL methods for driving the timeline
  6186. https://bugs.webkit.org/show_bug.cgi?id=78422
  6187. Reviewed by Dirk Schulze.
  6188. Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
  6189. Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
  6190. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  6191. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  6192. 2012-02-13 Enrica Casucci <enrica@apple.com>
  6193. Build fix. Unreviewed.
  6194. * WebCoreSupport/PlatformStrategiesQt.cpp:
  6195. (PlatformStrategiesQt::createPasteboardStrategy):
  6196. 2012-02-13 Enrica Casucci <enrica@apple.com>
  6197. Refactor Mac platform implementation of the Pasteboard class to use Platform Strategies.
  6198. https://bugs.webkit.org/show_bug.cgi?id=78282
  6199. Build fix. Unreviewed.
  6200. * WebCoreSupport/PlatformStrategiesQt.cpp:
  6201. (WebPlatformStrategies::createPasteboardStrategy):
  6202. * WebCoreSupport/PlatformStrategiesQt.h:
  6203. (PlatformStrategiesQt):
  6204. 2012-02-12 Hajime Morrita <morrita@chromium.org>
  6205. Page should have less intrusive way to associate API implementation objects.
  6206. https://bugs.webkit.org/show_bug.cgi?id=78085
  6207. Reviewed by Adam Barth.
  6208. * Api/qwebpage.cpp:
  6209. (QWebPagePrivate::QWebPagePrivate):
  6210. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  6211. (DumpRenderTreeSupportQt::setMockDeviceOrientation):
  6212. 2012-02-09 Simon Hausmann <simon.hausmann@nokia.com>
  6213. [Qt] Fix compilation with newer Qt5
  6214. https://bugs.webkit.org/show_bug.cgi?id=77653
  6215. Reviewed by Tor Arne Vestbø.
  6216. * Api/qgraphicswebview.cpp: Removed unnecessary inclusion of removed header file.
  6217. * declarative/public.pri: Use quick1 instead of qtquick1. It's mandator with Qt 5.
  6218. * tests/tests.pri: Ditto.
  6219. * declarative/qdeclarativewebview_p.h: Fix includes, just use the module-less
  6220. version that works with all Qt versions.
  6221. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Ditto.
  6222. 2012-02-08 Leo Franchi <lfranchi@kde.org>
  6223. Remote web inspector reentrancy fixes
  6224. https://bugs.webkit.org/show_bug.cgi?id=77022
  6225. Reviewed by Joseph Pecoraro.
  6226. * WebCoreSupport/InspectorServerQt.cpp:
  6227. (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
  6228. (WebCore::InspectorServerRequestHandlerQt::webSocketReadyRead):
  6229. 2012-02-06 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  6230. Provide more attribute methods in Element
  6231. https://bugs.webkit.org/show_bug.cgi?id=77800
  6232. Reviewed by Ryosuke Niwa.
  6233. * Api/qwebelement.cpp:
  6234. (QWebElement::attributeNames): access attributes via Element interface.
  6235. 2012-02-03 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  6236. [Qt] Don't version QtWebKit.experimental.
  6237. https://bugs.webkit.org/show_bug.cgi?id=77739
  6238. Reviewed by Tor Arne Vestbø.
  6239. We won't support previous versions of the experimental API.
  6240. * declarative/experimental/plugin.cpp:
  6241. 2012-02-05 Gavin Barraclough <barraclough@apple.com>
  6242. Remove JSObject defineGetter/defineSetter lookupGetter/lookupSetter
  6243. https://bugs.webkit.org/show_bug.cgi?id=77451
  6244. Reviewed by Sam Weinig.
  6245. These can now all be implemented in terms of defineOwnProperty & getPropertyDescriptor.
  6246. Also remove initializeGetterSetterProperty, since this is equivalent to putDirectAccessor.
  6247. * Api/qwebframe.cpp:
  6248. (QWebFramePrivate::addQtSenderToGlobalObject):
  6249. 2012-02-03 Antti Koivisto <antti@apple.com>
  6250. Rename CSSMutableStyleDeclaration.h/.cpp to StylePropertySet.h/.cpp
  6251. https://bugs.webkit.org/show_bug.cgi?id=77779
  6252. Reviewed by Darin Adler.
  6253. * Api/qwebelement.cpp:
  6254. 2012-02-03 Antti Koivisto <antti@apple.com>
  6255. https://bugs.webkit.org/show_bug.cgi?id=77740
  6256. Split CSSMutableStyleDeclaration into separate internal and CSSOM types
  6257. Reviewed by Andreas Kling and Darin Adler.
  6258. * Api/qwebelement.cpp:
  6259. (QWebElement::styleProperty):
  6260. 2012-02-03 No'am Rosenthal <noam.rosenthal@nokia.com>
  6261. [Qt][Texmap] Refactor TextureMapper API to use ImageBuffers when possible.
  6262. https://bugs.webkit.org/show_bug.cgi?id=77148
  6263. Reviewed by Martin Robinson.
  6264. Use TextureMapper::create instead of creating TextureMapperGL/TextureMapperQt directly.
  6265. * Api/qwebframe.cpp:
  6266. (QWebFramePrivate::renderCompositedLayers):
  6267. * WebCoreSupport/PageClientQt.cpp:
  6268. (WebCore::PageClientQWidget::setRootGraphicsLayer):
  6269. (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
  6270. 2012-02-02 Sheriff Bot <webkit.review.bot@gmail.com>
  6271. Unreviewed, rolling out r106620.
  6272. http://trac.webkit.org/changeset/106620
  6273. https://bugs.webkit.org/show_bug.cgi?id=77716
  6274. It broke non ENABLE(3D_RENDERING) builds (Requested by
  6275. Ossy_morning on #webkit).
  6276. * Api/qwebframe.cpp:
  6277. (QWebFramePrivate::renderCompositedLayers):
  6278. * WebCoreSupport/PageClientQt.cpp:
  6279. (WebCore::PageClientQWidget::setRootGraphicsLayer):
  6280. (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
  6281. 2012-02-02 No'am Rosenthal <noam.rosenthal@nokia.com>
  6282. [Qt][Texmap] Refactor TextureMapper API to use ImageBuffers when possible.
  6283. https://bugs.webkit.org/show_bug.cgi?id=77148
  6284. Reviewed by Martin Robinson.
  6285. Use TextureMapper::create instead of creating TextureMapperGL/TextureMapperQt directly.
  6286. * Api/qwebframe.cpp:
  6287. (QWebFramePrivate::renderCompositedLayers):
  6288. * WebCoreSupport/PageClientQt.cpp:
  6289. (WebCore::PageClientQWidget::setRootGraphicsLayer):
  6290. (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
  6291. 2012-02-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  6292. Avoid creating NamedNodeMap unnecessarily
  6293. https://bugs.webkit.org/show_bug.cgi?id=77574
  6294. Reviewed by Ryosuke Niwa.
  6295. * Api/qwebelement.cpp:
  6296. (QWebElement::attributeNames): use updateAttributes().
  6297. 2012-02-01 Alexis Menard <alexis.menard@openbossa.org>
  6298. CSSStyleDeclaration.getPropertyPriority() fails for CSS shorthand properties with 'important' priority
  6299. https://bugs.webkit.org/show_bug.cgi?id=49058
  6300. Reviewed by Andreas Kling.
  6301. Update the code as getPropertyPriority has been renamed to propertyIsImportant.
  6302. * Api/qwebelement.cpp:
  6303. (QWebElement::styleProperty):
  6304. 2012-01-31 Antti Koivisto <antti@apple.com>
  6305. Try to fix Qt build.
  6306. Not reviewed.
  6307. * Api/qwebelement.cpp:
  6308. (QWebElement::styleProperty):
  6309. 2012-01-30 Antti Koivisto <antti@apple.com>
  6310. Reduce non-CSSOM API of CSSStyleDeclaration
  6311. https://bugs.webkit.org/show_bug.cgi?id=77299
  6312. Reviewed by Andreas Kling.
  6313. * Api/qwebelement.cpp:
  6314. (QWebElement::styleProperty):
  6315. (QWebElement::setStyleProperty):
  6316. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  6317. (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
  6318. 2012-01-25 Zeno Albisser <zeno@webkit.org>
  6319. [Qt] public.pri is missing dependency to quick module.
  6320. https://bugs.webkit.org/show_bug.cgi?id=77016
  6321. Reviewed by Tor Arne Vestbø.
  6322. * declarative/public.pri:
  6323. 2012-01-17 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
  6324. [Qt] Debug build fails with debug qt5
  6325. https://bugs.webkit.org/show_bug.cgi?id=76463
  6326. Reviewed by Simon Hausmann.
  6327. Add QNetworkCookie include in order to satisfy sizeof in QTypeInfo in debug builds.
  6328. * WebCoreSupport/FrameNetworkingContextQt.cpp:
  6329. 2012-01-13 Marcelo Lira <marcelo.lira@openbossa.org>
  6330. [Qt] Fix missing signal in qwebframe API test for Qt5
  6331. https://bugs.webkit.org/show_bug.cgi?id=76195
  6332. Reviewed by Noam Rosenthal.
  6333. In Qt5 QObject has a new signal with this signature: "objectNameChanged(QString)".
  6334. * tests/qwebframe/tst_qwebframe.cpp:
  6335. (tst_QWebFrame::enumerate_data):
  6336. 2012-01-11 Vsevolod Vlasov <vsevik@chromium.org>
  6337. Make default console messages line numbers consistent.
  6338. https://bugs.webkit.org/show_bug.cgi?id=74075
  6339. Reviewed by Pavel Feldman.
  6340. Unset line numbers are not printed to console now.
  6341. * Api/qwebpage.cpp:
  6342. (QWebPage::javaScriptConsoleMessage):
  6343. 2012-01-11 Simon Hausmann <simon.hausmann@nokia.com>
  6344. Unreviewed trivial build fix: Removed unnecessary QHttpRequestHeader
  6345. inclusion (and the file is removed in newer Qt 5 versions).
  6346. * Api/qwebpage.cpp:
  6347. 2012-01-11 Rafael Brandao <rafael.lobo@openbossa.org>
  6348. [Qt][WK2] Fix the build for newer Qt5
  6349. https://bugs.webkit.org/show_bug.cgi?id=75964
  6350. Reviewed by Simon Hausmann.
  6351. Added QHttpHeader, QHttpResponseHeader and QHttpRequestHeader
  6352. that were removed from Qt. They are now kept under a private header
  6353. and only the relevant code is present.
  6354. * Api/qhttpheader.cpp: Added.
  6355. (QHttpHeader::QHttpHeader):
  6356. (QHttpHeader::~QHttpHeader):
  6357. (QHttpHeader::parse):
  6358. (QHttpHeader::value):
  6359. (QHttpHeader::hasKey):
  6360. (QHttpHeader::setValue):
  6361. (QHttpHeader::addValue):
  6362. (QHttpHeader::parseLine):
  6363. (QHttpHeader::toString):
  6364. (QHttpHeader::hasContentLength):
  6365. (QHttpHeader::contentLength):
  6366. (QHttpHeader::setContentLength):
  6367. (QHttpHeader::hasContentType):
  6368. (QHttpHeader::contentType):
  6369. (QHttpHeader::setContentType):
  6370. (QHttpResponseHeader::QHttpResponseHeader):
  6371. (QHttpResponseHeader::parseLine):
  6372. (QHttpResponseHeader::toString):
  6373. (QHttpRequestHeader::QHttpRequestHeader):
  6374. (QHttpRequestHeader::parseLine):
  6375. (QHttpRequestHeader::toString):
  6376. * Api/qhttpheader_p.h: Added.
  6377. (QHttpHeader::isValid):
  6378. (QHttpHeader::setValid):
  6379. (QHttpResponseHeader::statusCode):
  6380. (QHttpResponseHeader::reasonPhrase):
  6381. (QHttpResponseHeader::majorVersion):
  6382. (QHttpResponseHeader::minorVersion):
  6383. (QHttpRequestHeader::method):
  6384. (QHttpRequestHeader::path):
  6385. (QHttpRequestHeader::majorVersion):
  6386. (QHttpRequestHeader::minorVersion):
  6387. * WebCoreSupport/InspectorServerQt.cpp:
  6388. 2012-01-10 No'am Rosenthal <noam.rosenthal@nokia.com>
  6389. [Qt] Enable CSS_FILTERS in Qt build
  6390. https://bugs.webkit.org/show_bug.cgi?id=75777
  6391. For now, disallow compositing for filters. We will change that trigger when
  6392. https://bugs.webkit.org/show_bug.cgi?id=75778 is implemented.
  6393. Reviewed by Kenneth Rohde Christiansen.
  6394. * WebCoreSupport/ChromeClientQt.cpp:
  6395. (WebCore::ChromeClientQt::allowedCompositingTriggers):
  6396. 2012-01-08 Sheriff Bot <webkit.review.bot@gmail.com>
  6397. Unreviewed, rolling out r104421.
  6398. http://trac.webkit.org/changeset/104421
  6399. https://bugs.webkit.org/show_bug.cgi?id=75816
  6400. Need to rebaseline some tests on Linux (Requested by noamr on
  6401. #webkit).
  6402. * WebCoreSupport/ChromeClientQt.cpp:
  6403. (WebCore::ChromeClientQt::allowedCompositingTriggers):
  6404. 2012-01-08 No'am Rosenthal <noam.rosenthal@nokia.com>
  6405. [Qt] Enable CSS_FILTERS in Qt build
  6406. https://bugs.webkit.org/show_bug.cgi?id=75777
  6407. For now, disallow compositing for filters. We will change that trigger when
  6408. https://bugs.webkit.org/show_bug.cgi?id=75778 is implemented.
  6409. Reviewed by Kenneth Rohde Christiansen.
  6410. * WebCoreSupport/ChromeClientQt.cpp:
  6411. (WebCore::ChromeClientQt::allowedCompositingTriggers):
  6412. 2012-01-08 Sheriff Bot <webkit.review.bot@gmail.com>
  6413. Unreviewed, rolling out r104403.
  6414. http://trac.webkit.org/changeset/104403
  6415. https://bugs.webkit.org/show_bug.cgi?id=75803
  6416. It broke all tests on Qt5 (Requested by Ossy_weekend on
  6417. #webkit).
  6418. * WebCoreSupport/ChromeClientQt.cpp:
  6419. (WebCore::ChromeClientQt::allowedCompositingTriggers):
  6420. 2012-01-08 No'am Rosenthal <noam.rosenthal@nokia.com>
  6421. [Qt] Enable CSS_FILTERS in Qt build
  6422. https://bugs.webkit.org/show_bug.cgi?id=75777
  6423. For now, disallow compositing for filters. We will change that trigger when
  6424. https://bugs.webkit.org/show_bug.cgi?id=75778 is implemented.
  6425. Reviewed by Kenneth Rohde Christiansen.
  6426. * WebCoreSupport/ChromeClientQt.cpp:
  6427. (WebCore::ChromeClientQt::allowedCompositingTriggers):
  6428. 2012-01-05 Sheriff Bot <webkit.review.bot@gmail.com>
  6429. Unreviewed, rolling out r104231.
  6430. http://trac.webkit.org/changeset/104231
  6431. https://bugs.webkit.org/show_bug.cgi?id=75668
  6432. Breaks the Qt build (Requested by abarth on #webkit).
  6433. * Api/qwebpage.cpp:
  6434. (QWebPage::acceptNavigationRequest):
  6435. 2012-01-05 Adam Barth <abarth@webkit.org>
  6436. Introduce Platform namespace for WebCore/platform
  6437. https://bugs.webkit.org/show_bug.cgi?id=75653
  6438. Reviewed by Eric Seidel.
  6439. * Api/qwebpage.cpp:
  6440. (QWebPage::acceptNavigationRequest):
  6441. 2012-01-05 Zeno Albisser <zeno@webkit.org>
  6442. [Qt][WK2] Implement custom URL schemes defined in QML.
  6443. https://bugs.webkit.org/show_bug.cgi?id=74931
  6444. Make classes QQuickUrlSchemeDelegate, QQuickNetworkRequest
  6445. and QQuickNetworkReply accessible from QML.
  6446. Reviewed by Kenneth Rohde Christiansen.
  6447. * declarative/experimental/experimental.pri:
  6448. * declarative/experimental/plugin.cpp:
  6449. * declarative/public.pri:
  6450. 2012-01-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  6451. [Qt] Introduce new qmake variable 'WEBKIT' for signaling dependencies
  6452. The custom qmake variable 'WEBKIT' is used for signaling that a
  6453. target depends in some way on other subproject of the WebKit
  6454. project. For now this is limited to the set of intermediate
  6455. libraries: wtf, javascriptcore, webcore, and webkit2.
  6456. This replaces the previous convension of using load(foo) for
  6457. just include paths, and CONFIG += foo to also link against foo.
  6458. Adding a dependency results in additional include paths being
  6459. available, and potentially linking to the library. This is
  6460. decided by the build system based on conditions such as what
  6461. kind of target is being built and the general build config.
  6462. An advantage to his approach is that it simplifies the individual
  6463. foo.prf files, for example by allowing us to use INCLUDEPATH +=
  6464. and LIBS += as normal instead of prepending.
  6465. Reviewed by Simon Hausmann.
  6466. * tests/qgraphicswebview/qgraphicswebview.pro:
  6467. 2012-01-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  6468. [Qt] Move use of $$qtLibraryTarget() to a single place
  6469. Reviewed by Kenneth Rohde Christiansen.
  6470. * declarative/experimental/experimental.pri:
  6471. * declarative/public.pri:
  6472. * examples/platformplugin/platformplugin.pro:
  6473. 2012-01-03 Jon Lee <jonlee@apple.com>
  6474. Leak of WebNotificationClient when page is destroyed
  6475. https://bugs.webkit.org/show_bug.cgi?id=74980
  6476. <rdar://problem/10611231>
  6477. Reviewed by Mark Rowe.
  6478. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  6479. (WebCore::NotificationPresenterClientQt::notificationControllerDestroyed): Empty implementation, because
  6480. ownership model differs.
  6481. * WebCoreSupport/NotificationPresenterClientQt.h:
  6482. 2011-12-20 Adam Klein <adamk@chromium.org>
  6483. Avoid unnecessary work when removing attributes from an element
  6484. https://bugs.webkit.org/show_bug.cgi?id=74953
  6485. Reviewed by Ryosuke Niwa.
  6486. * Api/qwebelement.cpp:
  6487. (QWebElement::removeAttribute): Updated a caller of
  6488. WebCore::Element::removeAttribute to remove ExceptionCode argument.
  6489. 2011-12-20 Rafael Brandao <rafael.lobo@openbossa.org>
  6490. [Qt] Extend QQuickWebview::navigationRequested API
  6491. https://bugs.webkit.org/show_bug.cgi?id=73818
  6492. Reviewed by Simon Hausmann.
  6493. * declarative/experimental/plugin.cpp:
  6494. 2011-12-20 Jarred Nicholls <jarred@sencha.com>
  6495. [Qt] HTTP header injection via QWebPage::userAgentForUrl()
  6496. https://bugs.webkit.org/show_bug.cgi?id=68560
  6497. Strip out newline characters from the result of userAgentForUrl() to prevent additional
  6498. HTTP headers in HTTP requests.
  6499. New QtTest case that validates the user agent, as returned by navigator.userAgent, does not
  6500. contain any newline characters.
  6501. Reviewed by Simon Hausmann.
  6502. * WebCoreSupport/FrameLoaderClientQt.cpp:
  6503. (WebCore::FrameLoaderClientQt::userAgent):
  6504. * tests/qwebpage/tst_qwebpage.cpp:
  6505. (CustomUserAgentWebPage::userAgentForUrl):
  6506. (tst_QWebPage::userAgentNewlineStripping):
  6507. 2011-12-20 Rafael Brandao <rafael.lobo@openbossa.org>
  6508. [Qt][WK2] Implement favicon support
  6509. https://bugs.webkit.org/show_bug.cgi?id=71082
  6510. Reviewed by Simon Hausmann.
  6511. * declarative/plugin.cpp:
  6512. (WebKitQmlPlugin::initializeEngine): Setup for the QDeclarativeImageProvider to display favicons.
  6513. Its handles the following url format: "image://webicon/<iconID>#<pageURL>".
  6514. 2011-12-19 Sam Weinig <sam@webkit.org>
  6515. More PlatformEvent cleanup
  6516. https://bugs.webkit.org/show_bug.cgi?id=74831
  6517. Reviewed by Dan Bernstein.
  6518. * Api/qwebpage.cpp:
  6519. (QWebPage::swallowContextMenuEvent):
  6520. Update to use new names, access style.
  6521. 2011-12-19 Alexander Færøy <ahf@0x90.dk>
  6522. [Qt] Cleanup QTM_NAMESPACE usage in DeviceOrientationProviderQt
  6523. https://bugs.webkit.org/show_bug.cgi?id=74853
  6524. Reviewed by Simon Hausmann.
  6525. * Api/qwebframe_p.h:
  6526. * WebCoreSupport/DeviceOrientationProviderQt.cpp:
  6527. * WebCoreSupport/DeviceOrientationProviderQt.h:
  6528. 2011-12-19 Alexander Færøy <ahf@0x90.dk>
  6529. [Qt] Cleanup DeviceMotionClientQt and friends.
  6530. https://bugs.webkit.org/show_bug.cgi?id=74849
  6531. This patch cleans up the DeviceMotionQt class and friends by applying
  6532. the following changes:
  6533. - Remove unnecessary pointer to QWebPage. This is needed to be able to
  6534. reuse the code for WebKit2.
  6535. - Remove QObject dependencies and all signals/slots. Instead, we call
  6536. didChangeDeviceMotion() on the controller directly from
  6537. DeviceMotionProviderQt.
  6538. Reviewed by Simon Hausmann.
  6539. * Api/qwebpage.cpp:
  6540. (QWebPagePrivate::QWebPagePrivate):
  6541. * WebCoreSupport/DeviceMotionClientQt.cpp:
  6542. (WebCore::DeviceMotionClientQt::DeviceMotionClientQt):
  6543. (WebCore::DeviceMotionClientQt::~DeviceMotionClientQt):
  6544. (WebCore::DeviceMotionClientQt::setController):
  6545. * WebCoreSupport/DeviceMotionClientQt.h:
  6546. * WebCoreSupport/DeviceMotionProviderQt.cpp:
  6547. (WebCore::DeviceMotionProviderQt::DeviceMotionProviderQt):
  6548. (WebCore::DeviceMotionProviderQt::setController):
  6549. (WebCore::DeviceMotionProviderQt::filter):
  6550. * WebCoreSupport/DeviceMotionProviderQt.h:
  6551. 2011-12-18 Simon Hausmann <simon.hausmann@nokia.com>
  6552. Rename EditCommandQt to UndoStepQt
  6553. https://bugs.webkit.org/show_bug.cgi?id=74754
  6554. Reviewed by Ryosuke Niwa.
  6555. * WebCoreSupport/EditorClientQt.cpp:
  6556. (WebCore::EditorClientQt::registerUndoStep):
  6557. * WebCoreSupport/UndoStepQt.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/EditCommandQt.cpp.
  6558. (UndoStepQt::UndoStepQt):
  6559. (UndoStepQt::~UndoStepQt):
  6560. (UndoStepQt::redo):
  6561. (UndoStepQt::undo):
  6562. * WebCoreSupport/UndoStepQt.h: Renamed from Source/WebKit/qt/WebCoreSupport/EditCommandQt.h.
  6563. 2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
  6564. Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
  6565. https://bugs.webkit.org/show_bug.cgi?id=74748
  6566. Reviewed by Eric Seidel.
  6567. * WebCoreSupport/EditorClientQt.cpp:
  6568. (WebCore::EditorClientQt::registerUndoStep):
  6569. (WebCore::EditorClientQt::registerRedoStep):
  6570. * WebCoreSupport/EditorClientQt.h:
  6571. 2011-12-16 Sam Weinig <sam@webkit.org>
  6572. Give PlatformEvents a base class
  6573. https://bugs.webkit.org/show_bug.cgi?id=74685
  6574. Reviewed by Anders Carlsson.
  6575. Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
  6576. and PlatformGestureEvent and move Type enumeration and modifiers down to it.
  6577. * WebCoreSupport/DragClientQt.cpp:
  6578. (WebCore::DragClientQt::startDrag):
  6579. * WebCoreSupport/EditorClientQt.cpp:
  6580. (WebCore::EditorClientQt::handleKeyboardEvent):
  6581. 2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
  6582. Only EditCommandComposition should implement unapply and reapply
  6583. https://bugs.webkit.org/show_bug.cgi?id=74490
  6584. Reviewed by Eric Seidel.
  6585. EditCommandQt is to be renamed to UndoStepQt in a follow up patch.
  6586. * WebCoreSupport/EditCommandQt.cpp:
  6587. (EditCommandQt::EditCommandQt):
  6588. * WebCoreSupport/EditCommandQt.h:
  6589. * WebCoreSupport/EditorClientQt.cpp:
  6590. (WebCore::EditorClientQt::registerCommandForUndo):
  6591. (WebCore::EditorClientQt::registerCommandForRedo):
  6592. 2011-12-14 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  6593. [Qt] Get rid of layering violation in PluginViewQt
  6594. PluginViewQt has a layering violation in relying on QWebPagePrivate for
  6595. the check if running under DRT. We remove this and add a specific flag
  6596. in the PluginView for this check, enabled from DRTSupport. This isn't
  6597. pretty, but an improvement over what's currently there.
  6598. Reviewed by Simon Hausmann.
  6599. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  6600. (DumpRenderTreeSupportQt::setDumpRenderTreeModeEnabled):
  6601. 2011-12-15 Michael Brüning <michael.bruning@nokia.com>
  6602. [QT][WK2]Add (experimental) viewport info view to Minibrowser/qt.
  6603. https://bugs.webkit.org/show_bug.cgi?id=72893
  6604. Reviewed by Kenneth Rohde Christiansen.
  6605. This patch extends QQuickWebViewExperimental by a property named
  6606. viewportInfo, which contains the viewport scalability and
  6607. layout and contents size information. This property is exposed to
  6608. QML through the experimental extension for QQuickWebView.
  6609. * declarative/experimental/plugin.cpp:
  6610. 2011-12-15 Alexander Færøy <ahf@0x90.dk>
  6611. [Qt] Remove unnecessary methods and members from DeviceOrientationClientQt
  6612. https://bugs.webkit.org/show_bug.cgi?id=74588
  6613. Reviewed by Simon Hausmann.
  6614. Remove the unused method changeDeviceOrientation() from
  6615. DeviceOrientationClientQt and remove the DeviceOrientationController
  6616. member since it is unused.
  6617. * WebCoreSupport/DeviceOrientationClientQt.cpp:
  6618. (WebCore::DeviceOrientationClientQt::DeviceOrientationClientQt):
  6619. (WebCore::DeviceOrientationClientQt::setController):
  6620. * WebCoreSupport/DeviceOrientationClientQt.h:
  6621. 2011-12-14 Jing Zhao <jingzhao@chromium.org>
  6622. Opening two popup menus by dispatchEvent() makes problems.
  6623. https://bugs.webkit.org/show_bug.cgi?id=73304
  6624. Reviewed by Kent Tamura.
  6625. * WebCoreSupport/ChromeClientQt.cpp:
  6626. (WebCore::ChromeClientQt::hasOpenedPopup): Not implemented.
  6627. * WebCoreSupport/ChromeClientQt.h: Overrides hasOpenedPopup().
  6628. 2011-12-14 Hajime Morrita <morrita@chromium.org>
  6629. JS_INLINE and WTF_INLINE should be visible from WebCore
  6630. https://bugs.webkit.org/show_bug.cgi?id=73191
  6631. Reviewed by Kevin Ollivier.
  6632. Added a INCLUDEPATH to make JSExportMacros.h visible.
  6633. * tests/MIMESniffing/MIMESniffing.pro
  6634. 2011-12-14 Alexander Færøy <ahf@0x90.dk>
  6635. [Qt] DeviceOrientationClientQt should initialize m_controller to zero.
  6636. https://bugs.webkit.org/show_bug.cgi?id=74522
  6637. Reviewed by Kenneth Rohde Christiansen.
  6638. * WebCoreSupport/DeviceOrientationProviderQt.cpp:
  6639. (WebCore::DeviceOrientationProviderQt::DeviceOrientationProviderQt):
  6640. 2011-12-14 Alexander Færøy <alexander.faeroy@nokia.com>
  6641. [Qt] Fix compilation of QtWebKit with --orientation-events without ENABLE_DEVICE_ORIENTATION
  6642. https://bugs.webkit.org/show_bug.cgi?id=74492
  6643. Reviewed by Simon Hausmann.
  6644. * Api/qwebframe.cpp:
  6645. (QWebFramePrivate::_q_orientationChanged):
  6646. * Api/qwebframe_p.h:
  6647. * WebCoreSupport/DeviceMotionProviderQt.cpp:
  6648. * WebCoreSupport/DeviceMotionProviderQt.h:
  6649. * WebCoreSupport/DeviceOrientationProviderQt.cpp:
  6650. * WebCoreSupport/DeviceOrientationProviderQt.h:
  6651. 2011-12-14 Alexander Færøy <alexander.faeroy@nokia.com>
  6652. Fix compilation for Qt with --minimal option after r102755.
  6653. Reviewed by Csaba Osztrogonác.
  6654. * Api/qwebpage.cpp:
  6655. (QWebPagePrivate::QWebPagePrivate):
  6656. 2011-12-14 Alexander Færøy <alexander.faeroy@nokia.com>
  6657. [Qt] DeviceOrientationClientMockQt should be removed in favor of DeviceOrientationClientMock
  6658. https://bugs.webkit.org/show_bug.cgi?id=74417
  6659. Reviewed by Simon Hausmann.
  6660. Based on original patch by Kenneth Christiansen.
  6661. Already covered by current tests.
  6662. * Api/qwebpage.cpp:
  6663. (QWebPagePrivate::QWebPagePrivate):
  6664. * WebCoreSupport/DeviceMotionProviderQt.cpp:
  6665. (WebCore::DeviceMotionProviderQt::DeviceMotionProviderQt):
  6666. (WebCore::DeviceMotionProviderQt::filter):
  6667. * WebCoreSupport/DeviceMotionProviderQt.h:
  6668. * WebCoreSupport/DeviceOrientationClientMockQt.cpp: Removed.
  6669. * WebCoreSupport/DeviceOrientationClientMockQt.h: Removed.
  6670. * WebCoreSupport/DeviceOrientationClientQt.cpp:
  6671. (WebCore::DeviceOrientationClientQt::DeviceOrientationClientQt):
  6672. (WebCore::DeviceOrientationClientQt::~DeviceOrientationClientQt):
  6673. (WebCore::DeviceOrientationClientQt::lastOrientation):
  6674. * WebCoreSupport/DeviceOrientationClientQt.h:
  6675. * WebCoreSupport/DeviceOrientationProviderQt.cpp:
  6676. (WebCore::DeviceOrientationProviderQt::DeviceOrientationProviderQt):
  6677. (WebCore::DeviceOrientationProviderQt::setController):
  6678. (WebCore::DeviceOrientationProviderQt::start):
  6679. (WebCore::DeviceOrientationProviderQt::stop):
  6680. (WebCore::DeviceOrientationProviderQt::filter):
  6681. * WebCoreSupport/DeviceOrientationProviderQt.h:
  6682. (WebCore::DeviceOrientationProviderQt::isActive):
  6683. (WebCore::DeviceOrientationProviderQt::lastOrientation):
  6684. (WebCore::DeviceOrientationProviderQt::hasAlpha):
  6685. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  6686. (toDeviceOrientationClientMock):
  6687. (DumpRenderTreeSupportQt::setMockDeviceOrientation):
  6688. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  6689. 2011-12-12 Nándor Huszka <huszka.nandor@stud.u-szeged.hu>
  6690. [Qt] Missing layoutTestController.dumpWillCacheResponse
  6691. https://bugs.webkit.org/show_bug.cgi?id=74287
  6692. Reviewed by Csaba Osztrogonác.
  6693. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  6694. (DumpRenderTreeSupportQt::dumpWillCacheResponseCallbacks):
  6695. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  6696. * WebCoreSupport/FrameLoaderClientQt.cpp:
  6697. (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
  6698. * WebCoreSupport/FrameLoaderClientQt.h:
  6699. 2011-12-12 Alexis Menard <alexis.menard@openbossa.org>
  6700. [Qt][WK2] History is not accessible in QML.
  6701. https://bugs.webkit.org/show_bug.cgi?id=73016
  6702. Reviewed by Simon Hausmann.
  6703. Register QWebNavigationHistory and QWebNavigationListModel in the QML plugin.
  6704. * declarative/experimental/plugin.cpp:
  6705. (WebKitQmlPlugin::registerTypes):
  6706. 2011-12-09 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  6707. [Qt] request parameter of QQuickWebView::navigationRequested is not a registered type
  6708. https://bugs.webkit.org/show_bug.cgi?id=73826
  6709. Reviewed by Tor Arne Vestbø.
  6710. * declarative/plugin.cpp:
  6711. (WebKitQmlPlugin::registerTypes): Registering QWebNavigationRequest
  6712. 2011-12-08 Pierre Rossi <pierre.rossi@gmail.com>
  6713. Drop ENABLE_NO_LISTBOX_RENDERING, and make it a runtime decision.
  6714. https://bugs.webkit.org/show_bug.cgi?id=73916
  6715. Reviewed by Kent Tamura.
  6716. * WebCoreSupport/PopupMenuQt.cpp:
  6717. (SelectData::multiple):
  6718. (WebCore::PopupMenuQt::selectItem):
  6719. 2011-12-07 Csaba Osztrogonác <ossy@webkit.org>
  6720. [Qt] Unreviewed buildfix after r102262.
  6721. * Api/qwebelement.cpp:
  6722. (QWebElement::setStyleProperty):
  6723. 2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>
  6724. Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
  6725. https://bugs.webkit.org/show_bug.cgi?id=73986
  6726. Reviewed by Kenneth Rohde Christiansen.
  6727. * WebCoreSupport/InitWebCoreQt.cpp:
  6728. (WebCore::initializeWebCoreQt):
  6729. 2011-12-06 Zeno Albisser <zeno@webkit.org>
  6730. [Qt][Mac] Building debug version only fails.
  6731. https://bugs.webkit.org/show_bug.cgi?id=73895
  6732. WebKit pro/pri files should not explicitly adjust
  6733. the debug_and_release settings.
  6734. Reviewed by Kenneth Rohde Christiansen.
  6735. * declarative/experimental/experimental.pri:
  6736. * declarative/public.pri:
  6737. 2011-12-02 Hajime Morrita <morrita@chromium.org>
  6738. Unreviewed, rolling out r101751 and r101775.
  6739. http://trac.webkit.org/changeset/101751
  6740. http://trac.webkit.org/changeset/101775
  6741. https://bugs.webkit.org/show_bug.cgi?id=73191
  6742. breaks Windows build
  6743. * tests/MIMESniffing/MIMESniffing.pro:
  6744. 2011-12-01 Hajime Morrita <morrita@chromium.org>
  6745. JS_INLINE and WTF_INLINE should be visible from WebCore
  6746. https://bugs.webkit.org/show_bug.cgi?id=73191
  6747. Reviewed by Kevin Ollivier.
  6748. Added a INCLUDEPATH to make JSExportMacros.h visible.
  6749. * tests/MIMESniffing/MIMESniffing.pro
  6750. 2011-11-30 Alexey Proskuryakov <ap@apple.com>
  6751. Remove an unneeded argument from FrameLoaderClient::download
  6752. https://bugs.webkit.org/show_bug.cgi?id=73486
  6753. Reviewed by Andreas Kling.
  6754. * WebCoreSupport/FrameLoaderClientQt.cpp:
  6755. (WebCore::FrameLoaderClientQt::download):
  6756. * WebCoreSupport/FrameLoaderClientQt.h:
  6757. Updated for the change.
  6758. 2011-11-30 Simon Hausmann <simon.hausmann@nokia.com>
  6759. [Qt] Fix crash when using Qt DRT with V8.
  6760. Reviewed by Csaba Osztrogonác.
  6761. Add missing handle scopes for the handles returned by mainWorldContext.
  6762. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  6763. (DumpRenderTreeSupportQt::injectInternalsObject):
  6764. (DumpRenderTreeSupportQt::resetInternalsObject):
  6765. 2011-11-30 Simon Hausmann <simon.hausmann@nokia.com>
  6766. [Qt] Fix crashing layout tests
  6767. Reviewed by Kenneth Rohde Christiansen.
  6768. Fix ASSERTION FAILED: m_key != PTHREAD_KEYS_MAX in ThreadIdentifierDataPthreads.cpp(65)
  6769. static WTF::ThreadIdentifier WTF::ThreadIdentifierData::identifier()
  6770. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  6771. (DumpRenderTreeSupportQt::initialize): Add missing WebCore::initializeWebCoreQt().
  6772. 2011-11-30 Andrew Wason <rectalogic@rectalogic.com>
  6773. Replace Qt QThread threading back-end with pthread/Win32 threading back-ends
  6774. https://bugs.webkit.org/show_bug.cgi?id=72155
  6775. Reviewed by Simon Hausmann.
  6776. Extract WebCore initialization out of QWebPagePrivate into a
  6777. separate initialization function. This also needs to be called
  6778. from public static QWebSettings methods that call into WebCore,
  6779. since those can be used before a QWebPage has been constructed.
  6780. * Api/qwebpage.cpp:
  6781. (QWebPagePrivate::QWebPagePrivate):
  6782. * Api/qwebsettings.cpp:
  6783. (QWebSettings::globalSettings):
  6784. (QWebSettings::setIconDatabasePath):
  6785. (QWebSettings::iconDatabasePath):
  6786. (QWebSettings::clearIconDatabase):
  6787. (QWebSettings::iconForUrl):
  6788. (QWebSettings::setWebGraphic):
  6789. (QWebSettings::webGraphic):
  6790. (QWebSettings::clearMemoryCaches):
  6791. (QWebSettings::maximumPagesInCache):
  6792. (QWebSettings::setObjectCacheCapacities):
  6793. (QWebSettings::setOfflineStoragePath):
  6794. (QWebSettings::offlineStoragePath):
  6795. (QWebSettings::setOfflineWebApplicationCachePath):
  6796. (QWebSettings::offlineWebApplicationCachePath):
  6797. (QWebSettings::setOfflineWebApplicationCacheQuota):
  6798. (QWebSettings::offlineWebApplicationCacheQuota):
  6799. (QWebSettings::enablePersistentStorage):
  6800. * WebCoreSupport/InitWebCoreQt.cpp: Added.
  6801. (WebCore::initializeWebCoreQt):
  6802. * WebCoreSupport/InitWebCoreQt.h: Added.
  6803. 2011-11-30 Adenilson Cavalcanti <adenilson.silva@openbossa.org>
  6804. [Qt][WK2] Implement permission API for Qt port
  6805. https://bugs.webkit.org/show_bug.cgi?id=59200
  6806. Permission API hookup for Geolocation, it allows to receive in WebView
  6807. a signal when a permission request is done (e.g. to grant permission
  6808. for accessing geolocation information) and set it accordingly.
  6809. Reviewed by Simon Hausmann.
  6810. * declarative/plugin.cpp:
  6811. (WebKitQmlPlugin::registerTypes):
  6812. 2011-11-29 Simon Hausmann <simon.hausmann@nokia.com>
  6813. [Qt] Make WebKit/qt build with V8 and Qt 5
  6814. https://bugs.webkit.org/show_bug.cgi?id=73315
  6815. Reviewed by Kenneth Rohde Christiansen.
  6816. * Api/qwebelement.cpp:
  6817. (QtWebElementRuntime::initialize): #ifdef JSC code
  6818. properly. There's no V8 equivalent just yet.
  6819. * Api/qwebelement.h: Get rid of old V8 cruft.
  6820. * Api/qwebframe.cpp:
  6821. (QWebFrame::addToJavaScriptWindowObject): QScriptEngine -> QJSEngine.
  6822. (QWebFrame::evaluateJavaScript): Ditto.
  6823. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  6824. (QtDRTNodeRuntime::initialize): #ifdef JSC code.
  6825. * WebCoreSupport/FrameLoaderClientQt.cpp:
  6826. (WebCore::FrameLoaderClientQt::didCreateScriptContext): Adapt to FrameLoaderClient
  6827. V8 API changes that happened long time ago.
  6828. (WebCore::FrameLoaderClientQt::willReleaseScriptContext): Ditto.
  6829. * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
  6830. * WebCoreSupport/InspectorClientQt.cpp: Add missing include for V8 build.
  6831. 2011-11-28 Jon Lee <jonlee@apple.com>
  6832. Create skeleton framework for notifications support in WK2
  6833. https://bugs.webkit.org/show_bug.cgi?id=73253
  6834. <rdar://problem/10356943>
  6835. Reviewed by Sam Weinig.
  6836. * Api/qwebpage.cpp: Add notification client to pageClients.
  6837. (QWebPagePrivate::QWebPagePrivate):
  6838. * WebCoreSupport/ChromeClientQt.cpp: Remove notification client from ChromeClient implementation.
  6839. * WebCoreSupport/ChromeClientQt.h:
  6840. * WebCoreSupport/NotificationPresenterClientQt.cpp: Refactor with change of NotificationContents to struct
  6841. (WebCore::NotificationWrapper::title):
  6842. (WebCore::NotificationWrapper::message):
  6843. (WebCore::NotificationPresenterClientQt::displayNotification):
  6844. (WebCore::NotificationPresenterClientQt::cancel):
  6845. (WebCore::NotificationPresenterClientQt::notificationClicked):
  6846. (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
  6847. (WebCore::NotificationPresenterClientQt::dumpShowText):
  6848. 2011-11-28 Simon Hausmann <simon.hausmann@nokia.com>
  6849. [Qt] Build system fixes against V8.
  6850. Reviewed by Tor Arne Vestbø.
  6851. Add forwarding headers for building against Qt's v8 with
  6852. v8 include style.
  6853. * v8/ForwardingHeaders/v8-debug.h: Added.
  6854. * v8/ForwardingHeaders/v8-preparser.h: Added.
  6855. * v8/ForwardingHeaders/v8-profiler.h: Added.
  6856. * v8/ForwardingHeaders/v8-testing.h: Added.
  6857. * v8/ForwardingHeaders/v8.h: Added.
  6858. * v8/ForwardingHeaders/v8stdint.h: Added.
  6859. 2011-11-26 Pavel Feldman <pfeldman@google.com>
  6860. Web Inspector: remove disconnectFromBackend from the protocol.
  6861. https://bugs.webkit.org/show_bug.cgi?id=73127
  6862. Reviewed by Yury Semikhatsky.
  6863. * WebCoreSupport/InspectorClientQt.cpp:
  6864. (WebCore::InspectorClientQt::inspectorDestroyed):
  6865. (WebCore::InspectorClientQt::closeInspectorFrontend):
  6866. (WebCore::InspectorFrontendClientQt::inspectorClientDestroyed):
  6867. * WebCoreSupport/InspectorClientQt.h:
  6868. 2011-11-26 Sheriff Bot <webkit.review.bot@gmail.com>
  6869. Unreviewed, rolling out r101193.
  6870. http://trac.webkit.org/changeset/101193
  6871. https://bugs.webkit.org/show_bug.cgi?id=73158
  6872. Breaks Windows and Qt minimal. (Requested by pfeldman on
  6873. #webkit).
  6874. * WebCoreSupport/InspectorClientQt.cpp:
  6875. (WebCore::InspectorClientQt::inspectorDestroyed):
  6876. (WebCore::InspectorFrontendClientQt::disconnectFromBackend):
  6877. (WebCore::InspectorFrontendClientQt::inspectorClientDestroyed):
  6878. * WebCoreSupport/InspectorClientQt.h:
  6879. 2011-11-26 Pavel Feldman <pfeldman@google.com>
  6880. Web Inspector: remove disconnectFromBackend from the protocol.
  6881. https://bugs.webkit.org/show_bug.cgi?id=73127
  6882. Reviewed by Yury Semikhatsky.
  6883. * WebCoreSupport/InspectorClientQt.cpp:
  6884. (WebCore::InspectorClientQt::inspectorDestroyed):
  6885. (WebCore::InspectorClientQt::closeInspectorFrontend):
  6886. (WebCore::InspectorFrontendClientQt::inspectorClientDestroyed):
  6887. * WebCoreSupport/InspectorClientQt.h:
  6888. 2011-11-25 Alexis Menard <alexis.menard@openbossa.org>
  6889. [Qt][WK2] QWebDownloadItem should be registered in the experimental plugin.
  6890. https://bugs.webkit.org/show_bug.cgi?id=73132
  6891. Reviewed by Simon Hausmann.
  6892. Make sure QWebDownloadItem is registered in the right plugin.
  6893. * declarative/experimental/plugin.cpp:
  6894. * declarative/plugin.cpp:
  6895. (WebKitQmlPlugin::registerTypes):
  6896. 2011-11-22 Pavel Feldman <pfeldman@google.com>
  6897. Web Inspector: remove Inspector::bringToFront from the protocol.
  6898. https://bugs.webkit.org/show_bug.cgi?id=72937
  6899. Reviewed by Yury Semikhatsky.
  6900. * WebCoreSupport/InspectorClientQt.cpp:
  6901. (WebCore::InspectorClientQt::bringFrontendToFront):
  6902. * WebCoreSupport/InspectorClientQt.h:
  6903. 2011-10-17 Antonio Gomes <agomes@rim.com>
  6904. Pass a Frame* parameter in EditorClient::respondToChangedSelection
  6905. https://bugs.webkit.org/show_bug.cgi?id=70248
  6906. Reviewed by Ryosuke Niwa.
  6907. * WebCoreSupport/EditorClientQt.cpp: Make use of the newly added Frame* parameter.
  6908. (WebCore::EditorClientQt::respondToChangedSelection):
  6909. * WebCoreSupport/EditorClientQt.h:
  6910. 2011-11-18 Yuta Kitamura <yutak@chromium.org>
  6911. [Qt] Enable WebSocket hybi tests
  6912. https://bugs.webkit.org/show_bug.cgi?id=72687
  6913. Reviewed by Simon Hausmann.
  6914. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  6915. (DumpRenderTreeSupportQt::defaultHixie76WebSocketProtocolEnabled):
  6916. (DumpRenderTreeSupportQt::setHixie76WebSocketProtocolEnabled):
  6917. Call WebCore::Settings::setUseHixie76WebSocketProtocol() to switch WebSocket protocols.
  6918. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  6919. 2011-11-17 Simon Hausmann <simon.hausmann@nokia.com>
  6920. [Qt] Layer violation: ThirdPartyCookiesQt.cpp uses QWebSettings in two places
  6921. https://bugs.webkit.org/show_bug.cgi?id=72597
  6922. Reviewed by Kenneth Rohde Christiansen.
  6923. Implemented NetworkingContext::thirdPartyCookiePolicyPermission, which queries
  6924. the global QWebSettings.
  6925. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  6926. (DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows): Adapt to the
  6927. changed thirdPartyCookiePolicyPermits WebCore API that operates on a networking context.
  6928. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  6929. * WebCoreSupport/FrameLoaderClientQt.cpp:
  6930. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): Pass networking
  6931. context to ResourceRequest::toNetworkRequest.
  6932. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): Ditto.
  6933. (WebCore::FrameLoaderClientQt::startDownload): Ditto.
  6934. * WebCoreSupport/FrameNetworkingContextQt.cpp:
  6935. (WebCore::FrameNetworkingContextQt::thirdPartyCookiePolicyPermission): Implement.
  6936. * WebCoreSupport/FrameNetworkingContextQt.h:
  6937. * tests/qwebpage/tst_qwebpage.cpp:
  6938. (tst_QWebPage::thirdPartyCookiePolicy): Adapt to QtDRTSupport API change.
  6939. 2011-11-17 Simon Hausmann <simon.hausmann@nokia.com>
  6940. [Qt] Layer violation: qt_runtime.cpp accesses QWebElement and QTDRTNode
  6941. https://bugs.webkit.org/show_bug.cgi?id=72595
  6942. Reviewed by Noam Rosenthal.
  6943. Move QWebElement and QtDRTNode JS bindings from WebCore to WebKit/qt.
  6944. * Api/qwebelement.cpp: Add QWebElement to JSValue and JSValue to QWebElement
  6945. conversion through intermediate QVariant.
  6946. (QtWebElementRuntime::create):
  6947. (QtWebElementRuntime::get):
  6948. (convertJSValueToWebElementVariant):
  6949. (convertWebElementVariantToJSValue):
  6950. (QtWebElementRuntime::initialize): Register conversion functions for QWebElement.
  6951. * Api/qwebelement.h:
  6952. * Api/qwebelement_p.h: Added.
  6953. * Api/qwebpage.cpp:
  6954. (QWebPagePrivate::QWebPagePrivate): Initialize QWebElement conversion functions for
  6955. the JS runtime.
  6956. * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Add QtDRTNode to JSValue and JSValue to
  6957. QtDRTNode conversion through intermediate QVariant.
  6958. (QtDRTNodeRuntime::create):
  6959. (QtDRTNodeRuntime::get):
  6960. (convertJSValueToNodeVariant):
  6961. (convertNodeVariantToJSValue):
  6962. (QtDRTNodeRuntime::initialize):
  6963. (DumpRenderTreeSupportQt::initialize): Register conversion functions for QtDRTNode.
  6964. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  6965. 2011-11-17 Alexis Menard <alexis.menard@openbossa.org>
  6966. [Qt] The experimental plugin doesn't work after being renamed.
  6967. Reviewed by Tor Arne Vestbø.
  6968. It was renamed from private to experimental but the qmldir file
  6969. was forgotten.
  6970. * declarative/experimental/qmldir:
  6971. 2011-11-17 Simon Hausmann <simon.hausmann@nokia.com>
  6972. [Qt] Layer violation: WebCore::dnsPrefetch uses QWebSettings::globalSettings()
  6973. https://bugs.webkit.org/show_bug.cgi?id=72596
  6974. Reviewed by Kenneth Rohde Christiansen.
  6975. * Api/qwebsettings.cpp:
  6976. (QWebSettingsPrivate::apply): Propagate the DNS prefetch setting to WebCore::Settings.
  6977. 2011-11-17 Simon Hausmann <simon.hausmann@nokia.com>
  6978. [Qt] Layer violation: Image::loadPlatformResource uses QWebSettings::webGraphic
  6979. https://bugs.webkit.org/show_bug.cgi?id=72594
  6980. Reviewed by Kenneth Rohde Christiansen.
  6981. Move resource pixmap cache into ImageQt.cpp.
  6982. * Api/qwebsettings.cpp:
  6983. (resourceNameForWebGraphic): Helper function to translate between public API enums and
  6984. resource names.
  6985. (QWebSettings::setWebGraphic): Call the new ImageQt::setPlatformResource setter.
  6986. (QWebSettings::webGraphic): Call Image::loadPlatformResource to read from the cache
  6987. in WebCore.
  6988. 2011-11-17 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  6989. [Qt] Move WebKit2 C++ APIs to private API and build QML extension plugin on top of that
  6990. A new extension object has been added to QQuickWebView (the same approach should be used
  6991. for other API classes that need experimental APIs). The QML extension mechanism is then
  6992. built on top of the experimental object.
  6993. https://bugs.webkit.org/show_bug.cgi?id=72522
  6994. Reviewed by Simon Hausmann.
  6995. * declarative/declarative.pro:
  6996. * declarative/experimental/experimental.pri: Renamed from Source/WebKit/qt/declarative/private/private.pro.
  6997. * declarative/experimental/plugin.cpp: Renamed from Source/WebKit/qt/declarative/private/plugin.cpp.
  6998. (QQuickWebViewExperimentalExtension::QQuickWebViewExperimentalExtension):
  6999. (QQuickWebViewExperimentalExtension::experimental):
  7000. * declarative/experimental/qmldir: Renamed from Source/WebKit/qt/declarative/private/qmldir.
  7001. * declarative/plugin.cpp:
  7002. * declarative/public.pri: Copied from Source/WebKit/qt/declarative/declarative.pro.
  7003. 2011-11-16 Sheriff Bot <webkit.review.bot@gmail.com>
  7004. Unreviewed, rolling out r100448.
  7005. http://trac.webkit.org/changeset/100448
  7006. https://bugs.webkit.org/show_bug.cgi?id=72512
  7007. It caused a regression breaking LayoutTests/http/tests/loading
  7008. /text-content-type-with-binary-extension.html (Requested by
  7009. jeez_ on #webkit).
  7010. * WebCoreSupport/FrameLoaderClientQt.cpp:
  7011. (WebCore::FrameLoaderClientQt::canShowMIMEType):
  7012. 2011-11-16 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  7013. [Qt] FrameLoaderClientQt::canShowMIMEType should always return true
  7014. https://bugs.webkit.org/show_bug.cgi?id=72169
  7015. Reviewed by Simon Hausmann.
  7016. Currently FrameLoaderClientQt::canShowMIMEType is called after
  7017. dispatchDecidePolicyForResponse. If decidePolicyForResponse returns
  7018. PolicyUse and canShowMIMEType returns false, then we have a bug.
  7019. Therefore, FrameLoaderClientQt::canShowMIMEType now will always
  7020. return true, following the implemenation of WebKit2.
  7021. * WebCoreSupport/FrameLoaderClientQt.cpp:
  7022. (WebCore::FrameLoaderClientQt::canShowMIMEType):
  7023. 2011-11-15 Huang Dongsung <luxtella@company100.net>
  7024. [TexMap][Qt] Start PageClientQ[Graphics]Widget::syncTimer only when the syncTimer
  7025. is inactive.
  7026. https://bugs.webkit.org/show_bug.cgi?id=70407
  7027. Make sure we only activate the synchronization timer in
  7028. PageClientQWidget/PageClientQGraphicsWidget if it's not already active,
  7029. otherwise syncLayers may be called redundantly.
  7030. Reviewed by Noam Rosenthal.
  7031. * WebCoreSupport/PageClientQt.cpp:
  7032. (WebCore::PageClientQWidget::markForSync):
  7033. (WebCore::PageClientQWidget::syncLayers):
  7034. (WebCore::PageClientQGraphicsWidget::syncLayers):
  7035. (WebCore::PageClientQGraphicsWidget::markForSync):
  7036. * WebCoreSupport/PageClientQt.h:
  7037. (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
  7038. 2011-11-15 Jochen Eisinger <jochen@chromium.org>
  7039. Rename ReferrerPolicy to clarify its meaning
  7040. https://bugs.webkit.org/show_bug.cgi?id=72420
  7041. Reviewed by Nate Chapin.
  7042. * Api/qwebpage.cpp:
  7043. (openNewWindow):
  7044. (QWebPage::triggerAction):
  7045. 2011-11-15 Anders Carlsson <andersca@apple.com>
  7046. HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
  7047. https://bugs.webkit.org/show_bug.cgi?id=72397
  7048. Reviewed by Dan Bernstein.
  7049. * WebCoreSupport/ChromeClientQt.cpp:
  7050. (WebCore::ChromeClientQt::rootViewToScreen):
  7051. (WebCore::ChromeClientQt::screenToRootView):
  7052. * WebCoreSupport/ChromeClientQt.h:
  7053. 2011-11-14 Anders Carlsson <andersca@apple.com>
  7054. HostWindow invalidation functions should use root view coordinates
  7055. https://bugs.webkit.org/show_bug.cgi?id=72338
  7056. Reviewed by Dan Bernstein.
  7057. * WebCoreSupport/ChromeClientQt.cpp:
  7058. (WebCore::ChromeClientQt::invalidateRootView):
  7059. (WebCore::ChromeClientQt::invalidateContentsAndRootView):
  7060. (WebCore::ChromeClientQt::invalidateContentsForSlowScroll):
  7061. * WebCoreSupport/ChromeClientQt.h:
  7062. 2011-11-11 Pierre Rossi <pierre.rossi@gmail.com>
  7063. [Qt] Remove the QStyle dependency in Qt's mobile theme
  7064. https://bugs.webkit.org/show_bug.cgi?id=67773
  7065. This refactoring splits up RenderThemeQt with two
  7066. subclasses, a QStyle-backed one, and a Mobile version
  7067. that uses the old mobile theme for now.
  7068. QStyle availability is detected at compile time, and
  7069. its use is determined by the QT_WEBKIT_USE_MOBILE_THEME
  7070. environment variable.
  7071. Reviewed by Simon Hausmann.
  7072. * Api/qwebpage.cpp:
  7073. (QWebPage::swallowContextMenuEvent):
  7074. * tests/tests.pri:
  7075. 2011-11-11 Luiz Agostini <luiz.agostini@palm.com>
  7076. [Qt] Removing unneeded #ifdef from PopupMenuQt.cpp
  7077. https://bugs.webkit.org/show_bug.cgi?id=72193
  7078. Reviewed by Noam Rosenthal.
  7079. Part of PopupMenuQt.cpp code is guarded by #ifndef QT_NO_COMBOBOX although that
  7080. code is not related to the class QComboBox.
  7081. * WebCoreSupport/PopupMenuQt.cpp:
  7082. (WebCore::PopupMenuQt::show):
  7083. 2011-11-11 Bruno de Oliveira Abinader <bruno.abinader@basyskom.com>
  7084. [Qt] Skip tests when no network is present
  7085. https://bugs.webkit.org/show_bug.cgi?id=72031
  7086. Reviewed by Simon Hausmann.
  7087. Some benchmark tests requires network connection (they fetch data from
  7088. external URL's) and so they fail if no network is present. These tests
  7089. should be skipped instead.
  7090. * tests/benchmarks/loading/tst_loading.cpp:
  7091. (tst_Loading::load): Skip test if no network is present.
  7092. * tests/benchmarks/painting/tst_painting.cpp:
  7093. (tst_Painting::paint): Skip test if no network is present.
  7094. 2011-11-11 Sheriff Bot <webkit.review.bot@gmail.com>
  7095. Unreviewed, rolling out r99964.
  7096. http://trac.webkit.org/changeset/99964
  7097. https://bugs.webkit.org/show_bug.cgi?id=72124
  7098. Broke too many Qt tests (Requested by tronical_ on #webkit).
  7099. * Api/qwebpage.cpp:
  7100. (QWebPage::swallowContextMenuEvent):
  7101. * tests/tests.pri:
  7102. 2011-11-11 Pierre Rossi <pierre.rossi@gmail.com>
  7103. [Qt] Remove the QStyle dependency in Qt's mobile theme
  7104. https://bugs.webkit.org/show_bug.cgi?id=67773
  7105. This refactoring splits up RenderThemeQt with two
  7106. subclasses, a QStyle-backed one, and a Mobile version
  7107. that uses the old mobile theme for now.
  7108. QStyle availability is detected at compile time, and
  7109. its use is determined by the QT_WEBKIT_USE_MOBILE_THEME
  7110. environment variable.
  7111. Reviewed by Simon Hausmann.
  7112. * Api/qwebpage.cpp:
  7113. (QWebPage::swallowContextMenuEvent):
  7114. * tests/tests.pri:
  7115. 2011-11-11 Alexis Menard <alexis.menard@openbossa.org>
  7116. [Qt] Add a way to have experimental features in WebKit2
  7117. https://bugs.webkit.org/show_bug.cgi?id=67707
  7118. Reviewed by Kenneth Rohde Christiansen.
  7119. This patch is adding a new module for accessing private
  7120. method and property from the view. It requires an import
  7121. QtWebKit.private in QML to be used.
  7122. * declarative/private/plugin.cpp: Added.
  7123. (WebKitQmlPluginPrivate::registerTypes):
  7124. * declarative/private/private.pro: Added.
  7125. * declarative/private/qmldir: Added.
  7126. 2011-11-11 Simon Hausmann <simon.hausmann@nokia.com>
  7127. [Qt][WK2] Remove QWebNavigationController
  7128. https://bugs.webkit.org/show_bug.cgi?id=72113
  7129. Reviewed by Andreas Kling.
  7130. * declarative/plugin.cpp:
  7131. (WebKitQmlPlugin::registerTypes): Don't register QWebNavigationController with qml.
  7132. 2011-11-03 Luiz Agostini <luiz.agostini@palm.com>
  7133. [Qt] Adding methods setGeometry and setFont to QWebSelectMethod class.
  7134. https://bugs.webkit.org/show_bug.cgi?id=71530
  7135. Reviewed by Simon Hausmann.
  7136. Adding methods setGeometry and setFont so that users of platform plugin may show the
  7137. popup menus in proper position and using proper font.
  7138. * Api/qwebkitplatformplugin.h:
  7139. * WebCoreSupport/PopupMenuQt.cpp:
  7140. (WebCore::PopupMenuQt::show):
  7141. * examples/platformplugin/WebPlugin.h:
  7142. (WebPopup::setGeometry):
  7143. (WebPopup::setFont):
  7144. * examples/platformplugin/qwebkitplatformplugin.h:
  7145. 2011-11-10 Alexis Menard <alexis.menard@openbossa.org>
  7146. [Qt] Merge QTouchWebView and QDesktopWebView into one class
  7147. https://bugs.webkit.org/show_bug.cgi?id=71355
  7148. Reviewed by Kenneth Rohde Christiansen.
  7149. Register only QQuickWebView and QQuickWebPage in the plugin.
  7150. * declarative/plugin.cpp:
  7151. (WebKitQmlPlugin::registerTypes):
  7152. 2011-11-09 Simon Hausmann <simon.hausmann@nokia.com>
  7153. [Qt] Enable exports and constructor functions in static libs
  7154. Reviewed by Tor Arne Vestbø.
  7155. * Api/qwebpage.cpp:
  7156. (QWebPagePrivate::QWebPagePrivate): Remove unnecessary manual Qt resource
  7157. initialization.
  7158. 2011-11-09 Simon Hausmann <simon.hausmann@nokia.com>
  7159. Unreviewed, rolling out r99701.
  7160. http://trac.webkit.org/changeset/99701
  7161. Breaks Qt mac build
  7162. * Api/qwebpage.cpp:
  7163. (initResources):
  7164. (QWebPagePrivate::QWebPagePrivate):
  7165. 2011-11-09 Simon Hausmann <simon.hausmann@nokia.com>
  7166. [Qt] Enable exports and constructor functions in static libs
  7167. Reviewed by Tor Arne Vestbø.
  7168. * Api/qwebpage.cpp:
  7169. (QWebPagePrivate::QWebPagePrivate): Remove unnecessary manual Qt resource
  7170. initialization.
  7171. 2011-11-09 Deepak Sherveghar <bpwv64@motorola.com>
  7172. [Qt] 4 Layout test fail due to network error constant values clash with WebkitError enum values in FrameloaderclientQt
  7173. https://bugs.webkit.org/show_bug.cgi?id=71554
  7174. Reviewed by Simon Hausmann.
  7175. We should check the error domain when checking the error code in shouldFallBack()
  7176. * WebCoreSupport/FrameLoaderClientQt.cpp:
  7177. (WebCore::FrameLoaderClientQt::shouldFallBack): added error domain check
  7178. 2011-11-08 Simon Hausmann <simon.hausmann@nokia.com>
  7179. [Qt] Replace use of QApplication with QGuiApplication
  7180. https://bugs.webkit.org/show_bug.cgi?id=71794
  7181. Reviewed by Andreas Kling.
  7182. * WebCoreSupport/QtWebComboBox.cpp:
  7183. (WebCore::QtWebComboBox::showPopupAtCursorPosition): Replace use of QApplication
  7184. with QCoreApplication.
  7185. 2011-11-07 Adam Barth <abarth@webkit.org>
  7186. Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
  7187. https://bugs.webkit.org/show_bug.cgi?id=71755
  7188. Reviewed by Eric Seidel.
  7189. * Api/qwebpage.cpp:
  7190. (QWebPagePrivate::QWebPagePrivate):
  7191. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  7192. (DumpRenderTreeSupportQt::whiteListAccessFromOrigin):
  7193. (DumpRenderTreeSupportQt::removeWhiteListAccessFromOrigin):
  7194. (DumpRenderTreeSupportQt::resetOriginAccessWhiteLists):
  7195. 2011-11-08 Luiz Agostini <luiz.agostini@palm.com>
  7196. [Qt] Removing qwebkitglobal.h inclusion from qwebkitplatformplugin.h
  7197. https://bugs.webkit.org/show_bug.cgi?id=71759
  7198. Reviewed by Simon Hausmann.
  7199. qwebkitplatformplugin.h must not depend on qwebkitglobal.h.
  7200. * Api/qwebkitplatformplugin.h:
  7201. Updating the copy of qwebkitplatformplugin.h that is used by the example plugin. The previous
  7202. one was very outdated.
  7203. * examples/platformplugin/qwebkitplatformplugin.h:
  7204. 2011-11-07 Adam Barth <abarth@webkit.org>
  7205. Move DomainRelaxationForbidden scheme registry to SchemeRegistry
  7206. https://bugs.webkit.org/show_bug.cgi?id=71750
  7207. Reviewed by Eric Seidel.
  7208. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  7209. (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme):
  7210. 2011-11-07 Michael Saboff <msaboff@apple.com>
  7211. Towards 8 Bit Strings: Templatize JSC::Lexer class by character type
  7212. https://bugs.webkit.org/show_bug.cgi?id=71331
  7213. Changed Identifier() constructor to use JSGlobalData*.
  7214. Reviewed by Darin Adler.
  7215. * Api/qwebframe.cpp:
  7216. (QWebFrame::addToJavaScriptWindowObject):
  7217. 2011-11-07 Simon Hausmann <simon.hausmann@nokia.com>
  7218. [Qt] Fix failing inspector tests after build system changes
  7219. https://bugs.webkit.org/show_bug.cgi?id=71677
  7220. Reviewed by Tor Arne Vestbø.
  7221. Ensure symbols from the qt resource system are referenced
  7222. from outside the static webcore library. One way of doing that is
  7223. to initialize the resources right away, as explained in the documentation
  7224. of th Qt resource system.
  7225. * Api/qwebpage.cpp:
  7226. (initResources):
  7227. (QWebPagePrivate::QWebPagePrivate):
  7228. 2011-11-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  7229. [Qt] Refactor and clean up the qmake build system
  7230. The qmake build system has accumulated a bit of cruft and redundancy
  7231. over time. There's also a fairly tight coupling between how to build
  7232. the various targets, and _what_ to build, making it harder to add new
  7233. rules or sources. This patch aims to elevate these issues somewhat.
  7234. This is a short-list of the changes:
  7235. * The rules for how to build targets are now mostly contained as
  7236. prf-files in Tools/qmake/mkspecs/features. Using mkspecs also
  7237. allows us to do pre- and post-processing of each project file,
  7238. which helps to clean up the actual project files.
  7239. * Derived sources are no longer generated as a separate make-step
  7240. but is part of each target's project file as a subdir. Makefile
  7241. rules are used to ensure that we run make on the derived sources
  7242. before running qmake on the actual target makefile. This makes
  7243. it easier to keep a proper dependency between derived sources
  7244. and the target.
  7245. * We use GNU make and the compiler to generate dependencies on
  7246. UNIX-based systems running Qt 5. This allows us to lessen the
  7247. need to run qmake, which should reduce compile time.
  7248. * WebKit2 is now build by default if building with Qt 5. It can
  7249. be disabled by passing --no-webkit2 to build-webkit.
  7250. The result of these changes are hopefully a cleaner and easier
  7251. build system to modify, and faster build times due to no longer
  7252. running qmake on every single build. It's also a first step
  7253. towards possibly generating the list of sources using another
  7254. build system.
  7255. https://bugs.webkit.org/show_bug.cgi?id=71222
  7256. Reviewed by Simon Hausmann.
  7257. * Api/DerivedSources.pro: Removed.
  7258. * Api/headers.pri: Removed.
  7259. * Api/qwebpage.cpp:
  7260. (QWebPagePrivate::QWebPagePrivate):
  7261. * QtWebKit.pro: Removed.
  7262. * WebCoreSupport/FrameLoaderClientQt.h: Rename due to name clash with WK2 header
  7263. * WebCoreSupport/PlatformStrategiesQt.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/WebPlatformStrategies.cpp.
  7264. (PlatformStrategiesQt::initialize):
  7265. (PlatformStrategiesQt::PlatformStrategiesQt):
  7266. (PlatformStrategiesQt::createCookiesStrategy):
  7267. (PlatformStrategiesQt::createPluginStrategy):
  7268. (PlatformStrategiesQt::createLocalizationStrategy):
  7269. (PlatformStrategiesQt::createVisitedLinkStrategy):
  7270. (PlatformStrategiesQt::notifyCookiesChanged):
  7271. (PlatformStrategiesQt::refreshPlugins):
  7272. (PlatformStrategiesQt::getPluginInfo):
  7273. (PlatformStrategiesQt::inputElementAltText):
  7274. (PlatformStrategiesQt::resetButtonDefaultLabel):
  7275. (PlatformStrategiesQt::searchableIndexIntroduction):
  7276. (PlatformStrategiesQt::submitButtonDefaultLabel):
  7277. (PlatformStrategiesQt::fileButtonChooseFileLabel):
  7278. (PlatformStrategiesQt::fileButtonChooseMultipleFilesLabel):
  7279. (PlatformStrategiesQt::fileButtonNoFileSelectedLabel):
  7280. (PlatformStrategiesQt::fileButtonNoFilesSelectedLabel):
  7281. (PlatformStrategiesQt::defaultDetailsSummaryText):
  7282. (PlatformStrategiesQt::contextMenuItemTagOpenLinkInNewWindow):
  7283. (PlatformStrategiesQt::contextMenuItemTagDownloadLinkToDisk):
  7284. (PlatformStrategiesQt::contextMenuItemTagCopyLinkToClipboard):
  7285. (PlatformStrategiesQt::contextMenuItemTagOpenImageInNewWindow):
  7286. (PlatformStrategiesQt::contextMenuItemTagDownloadImageToDisk):
  7287. (PlatformStrategiesQt::contextMenuItemTagCopyImageToClipboard):
  7288. (PlatformStrategiesQt::contextMenuItemTagCopyImageUrlToClipboard):
  7289. (PlatformStrategiesQt::contextMenuItemTagOpenVideoInNewWindow):
  7290. (PlatformStrategiesQt::contextMenuItemTagOpenAudioInNewWindow):
  7291. (PlatformStrategiesQt::contextMenuItemTagCopyVideoLinkToClipboard):
  7292. (PlatformStrategiesQt::contextMenuItemTagCopyAudioLinkToClipboard):
  7293. (PlatformStrategiesQt::contextMenuItemTagToggleMediaControls):
  7294. (PlatformStrategiesQt::contextMenuItemTagToggleMediaLoop):
  7295. (PlatformStrategiesQt::contextMenuItemTagEnterVideoFullscreen):
  7296. (PlatformStrategiesQt::contextMenuItemTagMediaPlay):
  7297. (PlatformStrategiesQt::contextMenuItemTagMediaPause):
  7298. (PlatformStrategiesQt::contextMenuItemTagMediaMute):
  7299. (PlatformStrategiesQt::contextMenuItemTagOpenFrameInNewWindow):
  7300. (PlatformStrategiesQt::contextMenuItemTagCopy):
  7301. (PlatformStrategiesQt::contextMenuItemTagGoBack):
  7302. (PlatformStrategiesQt::contextMenuItemTagGoForward):
  7303. (PlatformStrategiesQt::contextMenuItemTagStop):
  7304. (PlatformStrategiesQt::contextMenuItemTagReload):
  7305. (PlatformStrategiesQt::contextMenuItemTagCut):
  7306. (PlatformStrategiesQt::contextMenuItemTagPaste):
  7307. (PlatformStrategiesQt::contextMenuItemTagSelectAll):
  7308. (PlatformStrategiesQt::contextMenuItemTagNoGuessesFound):
  7309. (PlatformStrategiesQt::contextMenuItemTagIgnoreSpelling):
  7310. (PlatformStrategiesQt::contextMenuItemTagLearnSpelling):
  7311. (PlatformStrategiesQt::contextMenuItemTagSearchWeb):
  7312. (PlatformStrategiesQt::contextMenuItemTagLookUpInDictionary):
  7313. (PlatformStrategiesQt::contextMenuItemTagOpenLink):
  7314. (PlatformStrategiesQt::contextMenuItemTagIgnoreGrammar):
  7315. (PlatformStrategiesQt::contextMenuItemTagSpellingMenu):
  7316. (PlatformStrategiesQt::contextMenuItemTagShowSpellingPanel):
  7317. (PlatformStrategiesQt::contextMenuItemTagCheckSpelling):
  7318. (PlatformStrategiesQt::contextMenuItemTagCheckSpellingWhileTyping):
  7319. (PlatformStrategiesQt::contextMenuItemTagCheckGrammarWithSpelling):
  7320. (PlatformStrategiesQt::contextMenuItemTagFontMenu):
  7321. (PlatformStrategiesQt::contextMenuItemTagBold):
  7322. (PlatformStrategiesQt::contextMenuItemTagItalic):
  7323. (PlatformStrategiesQt::contextMenuItemTagUnderline):
  7324. (PlatformStrategiesQt::contextMenuItemTagOutline):
  7325. (PlatformStrategiesQt::contextMenuItemTagWritingDirectionMenu):
  7326. (PlatformStrategiesQt::contextMenuItemTagTextDirectionMenu):
  7327. (PlatformStrategiesQt::contextMenuItemTagDefaultDirection):
  7328. (PlatformStrategiesQt::contextMenuItemTagLeftToRight):
  7329. (PlatformStrategiesQt::contextMenuItemTagRightToLeft):
  7330. (PlatformStrategiesQt::contextMenuItemTagInspectElement):
  7331. (PlatformStrategiesQt::searchMenuNoRecentSearchesText):
  7332. (PlatformStrategiesQt::searchMenuRecentSearchesText):
  7333. (PlatformStrategiesQt::searchMenuClearRecentSearchesText):
  7334. (PlatformStrategiesQt::AXWebAreaText):
  7335. (PlatformStrategiesQt::AXLinkText):
  7336. (PlatformStrategiesQt::AXListMarkerText):
  7337. (PlatformStrategiesQt::AXImageMapText):
  7338. (PlatformStrategiesQt::AXHeadingText):
  7339. (PlatformStrategiesQt::AXDefinitionListTermText):
  7340. (PlatformStrategiesQt::AXDefinitionListDefinitionText):
  7341. (PlatformStrategiesQt::AXButtonActionVerb):
  7342. (PlatformStrategiesQt::AXRadioButtonActionVerb):
  7343. (PlatformStrategiesQt::AXTextFieldActionVerb):
  7344. (PlatformStrategiesQt::AXCheckedCheckBoxActionVerb):
  7345. (PlatformStrategiesQt::AXUncheckedCheckBoxActionVerb):
  7346. (PlatformStrategiesQt::AXMenuListActionVerb):
  7347. (PlatformStrategiesQt::AXMenuListPopupActionVerb):
  7348. (PlatformStrategiesQt::AXLinkActionVerb):
  7349. (PlatformStrategiesQt::missingPluginText):
  7350. (PlatformStrategiesQt::crashedPluginText):
  7351. (PlatformStrategiesQt::multipleFileUploadText):
  7352. (PlatformStrategiesQt::unknownFileSizeText):
  7353. (PlatformStrategiesQt::imageTitle):
  7354. (PlatformStrategiesQt::mediaElementLoadingStateText):
  7355. (PlatformStrategiesQt::mediaElementLiveBroadcastStateText):
  7356. (PlatformStrategiesQt::localizedMediaControlElementString):
  7357. (PlatformStrategiesQt::localizedMediaControlElementHelpText):
  7358. (PlatformStrategiesQt::localizedMediaTimeDescription):
  7359. (PlatformStrategiesQt::validationMessageValueMissingText):
  7360. (PlatformStrategiesQt::validationMessageTypeMismatchText):
  7361. (PlatformStrategiesQt::validationMessagePatternMismatchText):
  7362. (PlatformStrategiesQt::validationMessageTooLongText):
  7363. (PlatformStrategiesQt::validationMessageRangeUnderflowText):
  7364. (PlatformStrategiesQt::validationMessageRangeOverflowText):
  7365. (PlatformStrategiesQt::validationMessageStepMismatchText):
  7366. (PlatformStrategiesQt::isLinkVisited):
  7367. (PlatformStrategiesQt::addVisitedLink):
  7368. * WebCoreSupport/PlatformStrategiesQt.h: Renamed from Source/WebKit/qt/WebCoreSupport/WebPlatformStrategies.h.
  7369. * declarative/declarative.pro:
  7370. * docs/docs.pri:
  7371. * docs/webkitsnippets/webelement/webelement.pro:
  7372. * tests/MIMESniffing/MIMESniffing.pro:
  7373. * tests/benchmarks/loading/loading.pro:
  7374. * tests/benchmarks/painting/painting.pro:
  7375. * tests/benchmarks/webgl/webgl.pro:
  7376. * tests/hybridPixmap/hybridPixmap.pro:
  7377. * tests/qdeclarativewebview/qdeclarativewebview.pro:
  7378. * tests/qgraphicswebview/qgraphicswebview.pro:
  7379. * tests/qwebelement/qwebelement.pro:
  7380. * tests/qwebframe/qwebframe.pro:
  7381. * tests/qwebhistory/qwebhistory.pro:
  7382. * tests/qwebhistoryinterface/qwebhistoryinterface.pro:
  7383. * tests/qwebinspector/qwebinspector.pro:
  7384. * tests/qwebpage/qwebpage.pro:
  7385. * tests/qwebplugindatabase/qwebplugindatabase.pro:
  7386. * tests/qwebview/qwebview.pro:
  7387. * tests/tests.pri:
  7388. * tests/tests.pro: Removed.
  7389. 2011-11-03 Rafael Brandao <rafael.lobo@openbossa.org>
  7390. Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
  7391. https://bugs.webkit.org/show_bug.cgi?id=61042
  7392. Reviewed by Simon Hausmann.
  7393. At some points we didn't have any guarantee that a favicon has been loaded, so now
  7394. it stops to wait for the IconChanged signal. It also had some file paths in wrong format,
  7395. making some files to not be resolved and comparing meaningless bitmaps.
  7396. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  7397. (tst_QDeclarativeWebView::initTestCase):
  7398. (tst_QDeclarativeWebView::basicProperties):
  7399. (tst_QDeclarativeWebView::historyNav):
  7400. 2011-11-03 Simon Hausmann <simon.hausmann@nokia.com>
  7401. [Qt] Remove Maemo specific code paths
  7402. https://bugs.webkit.org/show_bug.cgi?id=71476
  7403. Reviewed by Kenneth Rohde Christiansen.
  7404. * Api/qwebpage.cpp:
  7405. (QWebPage::userAgentForUrl):
  7406. * Api/qwebview.cpp:
  7407. (QWebView::QWebView):
  7408. * QtWebKit.pro:
  7409. * WebCoreSupport/ChromeClientQt.cpp:
  7410. (WebCore::ChromeClientQt::createSelectPopup):
  7411. * WebCoreSupport/EditorClientQt.cpp:
  7412. (WebCore::EditorClientQt::setInputMethodState):
  7413. * WebCoreSupport/FrameLoaderClientQt.cpp:
  7414. (WebCore::FrameLoaderClientQt::createPlugin):
  7415. * WebCoreSupport/QtMaemoWebPopup.cpp: Removed.
  7416. * WebCoreSupport/QtMaemoWebPopup.h: Removed.
  7417. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  7418. (tst_QGraphicsWebView::focusInputTypes):
  7419. * tests/qwebframe/tst_qwebframe.cpp:
  7420. * tests/qwebview/tst_qwebview.cpp:
  7421. (tst_QWebView::focusInputTypes):
  7422. 2011-11-03 Jesus Sanchez-Palencia <jesus@webkit.org>
  7423. Reviewed by Kenneth Rohde Christiansen.
  7424. [Qt] QtWebKit should have documentation clarifying its mobile features usage
  7425. https://bugs.webkit.org/show_bug.cgi?id=41465
  7426. Add "QtWebKit Goes Mobile" documentation
  7427. * docs/qtwebkit-goes-mobile.qdoc: Added.
  7428. * docs/qtwebkit.qdoc: Linked to qtwebkit-goes-mobile documentation
  7429. * docs/webkitsnippets/qtwebkit_goes_mobile_snippets.cpp: Added.
  7430. 2011-11-03 Fady Samuel <fsamuel@chromium.org>
  7431. Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
  7432. https://bugs.webkit.org/show_bug.cgi?id=70609
  7433. Reviewed by Kenneth Rohde Christiansen.
  7434. * Api/qwebpage.cpp:
  7435. (QWebPage::viewportAttributesForSize):
  7436. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  7437. (DumpRenderTreeSupportQt::viewportAsText):
  7438. 2011-11-03 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
  7439. [Qt][WK2] Download support and API in UIProcess
  7440. https://bugs.webkit.org/show_bug.cgi?id=68962
  7441. Reviewed by Simon Hausmann.
  7442. Registering new qml type QWebDownloadItem.
  7443. * declarative/plugin.cpp:
  7444. (WebKitQmlPlugin::registerTypes):
  7445. 2011-11-02 Jon Lee <jonlee@apple.com>
  7446. Expand DragController to provide more information about the dragging session
  7447. https://bugs.webkit.org/show_bug.cgi?id=71324
  7448. <rdar://problem/10379175>
  7449. Reviewed by Darin Adler.
  7450. * Api/qwebpage.cpp:
  7451. (QWebPagePrivate::dragEnterEvent): Minor refactoring because operation is stored in
  7452. new DragSession struct.
  7453. (QWebPagePrivate::dragMoveEvent): Ditto.
  7454. 2011-11-02 Tom Sepez <tsepez@chromium.org>
  7455. XSSAuditor is silent
  7456. https://bugs.webkit.org/show_bug.cgi?id=70973
  7457. Reviewed by Adam Barth.
  7458. * WebCoreSupport/FrameLoaderClientQt.cpp:
  7459. (WebCore::FrameLoaderClientQt::didDetectXSS):
  7460. * WebCoreSupport/FrameLoaderClientQt.h:
  7461. 2011-11-02 Jon Lee <jonlee@apple.com>
  7462. <input=file multiple> default text uses singular instead of plural
  7463. https://bugs.webkit.org/show_bug.cgi?id=71319
  7464. <rdar://problem/10379021>
  7465. Reviewed by Darin Adler.
  7466. * WebCoreSupport/WebPlatformStrategies.cpp:
  7467. (WebPlatformStrategies::fileButtonNoFilesSelectedLabel):
  7468. * WebCoreSupport/WebPlatformStrategies.h:
  7469. 2011-11-02 Deepak Sherveghar <bpwv64@motorola.com>
  7470. [Qt] Failing test media/video-document-types.html
  7471. https://bugs.webkit.org/show_bug.cgi?id=62108
  7472. Reviewed by Simon Hausmann.
  7473. Match what Mac has been doing since r36001: cancel the main load,
  7474. and handle failures caused by 'will be handled by plugin' errors.
  7475. * WebCoreSupport/FrameLoaderClientQt.cpp:
  7476. (WebCore::FrameLoaderClientQt::committedLoad):
  7477. (WebCore::FrameLoaderClientQt::shouldFallBack):
  7478. 2011-11-01 Simon Hausmann <simon.hausmann@nokia.com>
  7479. [Qt][WK2] Fix build of WebKitTestRunner with ELF symbol visibility
  7480. https://bugs.webkit.org/show_bug.cgi?id=71299
  7481. Reviewed by Andreas Kling.
  7482. Export an overload of QtDRT::injectInternalsObjects that is used by
  7483. the WK2 injected bundle.
  7484. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  7485. (DumpRenderTreeSupportQt::injectInternalsObject):
  7486. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  7487. 2011-11-01 Alexis Menard <alexis.menard@openbossa.org>
  7488. Unreviewed Qt documentation fix.
  7489. This signal is Qt 4.8 material.
  7490. * Api/qwebpage.cpp:
  7491. 2011-10-31 Mark Hahnenberg <mhahnenberg@apple.com>
  7492. De-virtualize JSObject::defineGetter
  7493. https://bugs.webkit.org/show_bug.cgi?id=71134
  7494. Reviewed by Darin Adler.
  7495. Added defineGetter to the MethodTable. Replaced all virtual versions of defineGetter
  7496. with static versions. Replaced all call sites with lookups in the MethodTable.
  7497. * Api/qwebframe.cpp:
  7498. (QWebFramePrivate::addQtSenderToGlobalObject):
  7499. 2011-10-28 Jochen Eisinger <jochen@chromium.org>
  7500. Rename a number of methods mentioning JavaScript to just Script instead
  7501. https://bugs.webkit.org/show_bug.cgi?id=71105
  7502. Reviewed by Adam Barth.
  7503. * Api/qwebsettings.cpp:
  7504. (QWebSettingsPrivate::apply):
  7505. 2011-10-28 Simon Hausmann <simon.hausmann@nokia.com>
  7506. [Qt] Adapt to QSG* to QQuick* API change in qtdeclarative
  7507. https://bugs.webkit.org/show_bug.cgi?id=70494
  7508. Reviewed by Kenneth Christiansen.
  7509. Use QQuick* instead of QSG* as well as QStandardPaths
  7510. instead of QDesktopLocation.
  7511. * Api/qwebsettings.cpp:
  7512. (QWebSettings::enablePersistentStorage):
  7513. 2011-10-27 Helder Correia <helder.correia@palm.com>
  7514. [Qt] Failure to build when QT_NO_MENU defined
  7515. https://bugs.webkit.org/show_bug.cgi?id=70970
  7516. Reviewed by Andreas Kling.
  7517. iterateContextMenu() must be wrapped around #ifndef QT_NO_MENU.
  7518. Build fix, no new tests.
  7519. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  7520. 2011-10-26 Zalan Bujtas <zbujtas@gmail.com>
  7521. Name viewport change event consistently.
  7522. https://bugs.webkit.org/show_bug.cgi?id=70901
  7523. Reviewed by Kenneth Rohde Christiansen.
  7524. Use ViewportPropertiesDidChange term consistently throughout WebKit.
  7525. * WebCoreSupport/ChromeClientQt.cpp:
  7526. (WebCore::ChromeClientQt::dispatchViewportPropertiesDidChange):
  7527. * WebCoreSupport/ChromeClientQt.h:
  7528. 2011-10-25 Mark Hahnenberg <mhahnenberg@apple.com>
  7529. Remove putVirtual
  7530. https://bugs.webkit.org/show_bug.cgi?id=70740
  7531. Reviewed by Geoffrey Garen.
  7532. Removed all declarations and definitions of putVirtual.
  7533. Also replaced all call sites to putVirtual with a
  7534. corresponding lookup in the MethodTable.
  7535. * Api/qwebframe.cpp:
  7536. (QWebFrame::addToJavaScriptWindowObject):
  7537. 2011-10-24 Deepak Sherveghar <bpwv64@motorola.com>
  7538. [Qt] fast/events/media-focus-in-standalone-media-document.html fails
  7539. https://bugs.webkit.org/show_bug.cgi?id=70110
  7540. Reviewed by Simon Hausmann.
  7541. We should check for supported media mime types as well in the MIMETypeRegistry.
  7542. * WebCoreSupport/FrameLoaderClientQt.cpp:
  7543. (WebCore::FrameLoaderClientQt::canShowMIMEType): check for supported media mime type.
  7544. 2011-10-21 Luiz Agostini <luiz.agostini@palm.com>
  7545. [Qt] Remote debugging needs QWebInspector to work
  7546. https://bugs.webkit.org/show_bug.cgi?id=70651
  7547. Reviewed by Kenneth Rohde Christiansen.
  7548. Removing QWebInspector dependency from remote inspector.
  7549. * Api/qwebinspector.cpp:
  7550. * Api/qwebinspector_p.h:
  7551. (QWebInspectorPrivate::QWebInspectorPrivate):
  7552. * WebCoreSupport/InspectorClientQt.cpp:
  7553. (WebCore::InspectorClientQt::InspectorClientQt):
  7554. (WebCore::InspectorClientQt::openInspectorFrontend):
  7555. (WebCore::InspectorClientQt::attachAndReplaceRemoteFrontend):
  7556. (WebCore::InspectorClientQt::detachRemoteFrontend):
  7557. (WebCore::InspectorClientQt::sendMessageToFrontend):
  7558. * WebCoreSupport/InspectorClientQt.h:
  7559. * WebCoreSupport/InspectorServerQt.cpp:
  7560. (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
  7561. * WebCoreSupport/InspectorServerQt.h:
  7562. 2011-10-21 Luiz Agostini <luiz.agostini@palm.com>
  7563. [Qt] Wrong type conversion in InspectorServerQt.cpp
  7564. https://bugs.webkit.org/show_bug.cgi?id=70639
  7565. Reviewed by Noam Rosenthal.
  7566. Wrong type conversion causes WebSocket handshake failures for the remote inspector.
  7567. * WebCoreSupport/InspectorServerQt.cpp:
  7568. (WebCore::parseWebSocketChallengeNumber):
  7569. 2011-10-21 Zeno Albisser <zeno.albisser@nokia.com>
  7570. [Qt] WebKit build does not respect QMAKE_MAC_SDK variable.
  7571. https://bugs.webkit.org/show_bug.cgi?id=70596
  7572. Instead of only relying on DARWIN_MAJOR_VERSION we also
  7573. check QMAKE_MAC_SDK. In case QMAKE_MAC_SDK is not defined
  7574. we are still falling back to DARWIN_MAJOR_VERSION.
  7575. Patch by Andy Shaw <andy.shaw@digia.com>
  7576. Reviewed by Noam Rosenthal.
  7577. * QtWebKit.pro:
  7578. 2011-10-21 Csaba Osztrogonác <ossy@webkit.org>
  7579. [Qt][WK2] Typo fix.
  7580. * tests/util.h:
  7581. 2011-10-21 Csaba Osztrogonác <ossy@webkit.org>
  7582. [Qt][WK2] Buildfix for newer Qt5. Remove duplicated defines.
  7583. Reviewed by Simon Hausmann.
  7584. * tests/util.h:
  7585. 2011-10-21 Sheriff Bot <webkit.review.bot@gmail.com>
  7586. Unreviewed, rolling out r98085.
  7587. http://trac.webkit.org/changeset/98085
  7588. https://bugs.webkit.org/show_bug.cgi?id=70589
  7589. It broke the build (Requested by Ossy on #webkit).
  7590. * tests/util.h:
  7591. 2011-10-21 Csaba Osztrogonác <ossy@webkit.org>
  7592. [Qt][WK2] Unreviewed buildfix for newer Qt5. Remove duplicated defines.
  7593. * tests/util.h:
  7594. (waitForSignal):
  7595. 2011-10-20 Carol Szabo <carol@webkit.org>
  7596. Tiled Backing Store does not regenerate tiles when it should
  7597. https://bugs.webkit.org/show_bug.cgi?id=57798
  7598. Reviewed by Darin Adler.
  7599. Provided test for this bug. Changed the name of the resource I added
  7600. for a previous test so that the name is descriptive such that it can
  7601. be shared across several tests.
  7602. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  7603. (tst_QGraphicsWebView::bug57798):
  7604. (tst_QGraphicsWebView::bug56929):
  7605. * tests/qgraphicswebview/tst_qgraphicswebview.qrc:
  7606. 2011-10-18 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  7607. [Qt] Merge QML plugin for WebKit2 with the original WebKit1 plugin
  7608. We don't need a separate plugin, as we no longer expose the WK2
  7609. APIs under QtWebKit.experimental, but now use QtWebKit. The version
  7610. was also changed to 3.0 instead of 5.0, as the original plugin was
  7611. versioned 1.0, and bumping to 3.0 fits the scheme used by QtWebKit releases.
  7612. Reviewed by Andreas Kling.
  7613. * declarative/declarative.pro:
  7614. * declarative/plugin.cpp:
  7615. (WebKitQmlPlugin::registerTypes):
  7616. 2011-10-15 Adam Barth <abarth@webkit.org>
  7617. Rename ENABLE(TILED_BACKING_STORE) to USE(TILED_BACKING_STORE)
  7618. https://bugs.webkit.org/show_bug.cgi?id=70194
  7619. Reviewed by Daniel Bates.
  7620. * Api/qgraphicswebview.cpp:
  7621. (QGraphicsWebViewPrivate::_q_scaleChanged):
  7622. (QGraphicsWebView::QGraphicsWebView):
  7623. (QGraphicsWebView::paint):
  7624. (QGraphicsWebView::isTiledBackingStoreFrozen):
  7625. (QGraphicsWebView::setTiledBackingStoreFrozen):
  7626. * Api/qwebframe.cpp:
  7627. * Api/qwebframe_p.h:
  7628. * Api/qwebpage.cpp:
  7629. (QWebPagePrivate::dynamicPropertyChangeEvent):
  7630. * Api/qwebsettings.cpp:
  7631. (QWebSettingsPrivate::apply):
  7632. * WebCoreSupport/ChromeClientQt.cpp:
  7633. (WebCore::ChromeClientQt::invalidateWindow):
  7634. * WebCoreSupport/ChromeClientQt.h:
  7635. * WebCoreSupport/PageClientQt.cpp:
  7636. (WebCore::PageClientQGraphicsWidget::createOrDeleteOverlay):
  7637. * WebCoreSupport/PageClientQt.h:
  7638. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  7639. 2011-10-15 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  7640. [Qt] [Symbian] Remove support for the Symbian platform for the QtWebKit port
  7641. https://bugs.webkit.org/show_bug.cgi?id=69920
  7642. Reviewed by Kenneth Rohde Christiansen.
  7643. * Api/qgraphicswebview.cpp:
  7644. (QGraphicsWebView::setPage):
  7645. * Api/qwebpage.cpp:
  7646. (QWebPage::userAgentForUrl):
  7647. * Api/qwebview.cpp:
  7648. (QWebView::QWebView):
  7649. * QtWebKit.pro:
  7650. * WebCoreSupport/EditorClientQt.cpp:
  7651. (WebCore::EditorClientQt::setInputMethodState):
  7652. * WebCoreSupport/QtFallbackWebPopup.cpp:
  7653. (WebCore::QtFallbackWebPopup::populate):
  7654. * declarative/declarative.pro:
  7655. * declarative/qdeclarativewebview.cpp:
  7656. (QDeclarativeWebView::setPage):
  7657. * symbian: Removed.
  7658. * symbian/backup_registration.xml: Removed.
  7659. * symbian/bwins: Removed.
  7660. * symbian/bwins/QtWebKitu.def: Removed.
  7661. * symbian/eabi: Removed.
  7662. * symbian/eabi/QtWebKitu.def: Removed.
  7663. * symbian/platformplugin: Removed.
  7664. * symbian/platformplugin/HTML5VideoPlugin.cpp: Removed.
  7665. * symbian/platformplugin/HTML5VideoPlugin.h: Removed.
  7666. * symbian/platformplugin/HTML5VideoWidget.cpp: Removed.
  7667. * symbian/platformplugin/HTML5VideoWidget.h: Removed.
  7668. * symbian/platformplugin/OverlayWidget.cpp: Removed.
  7669. * symbian/platformplugin/OverlayWidget.h: Removed.
  7670. * symbian/platformplugin/PlayerButton.cpp: Removed.
  7671. * symbian/platformplugin/PlayerButton.h: Removed.
  7672. * symbian/platformplugin/PlayerLabel.cpp: Removed.
  7673. * symbian/platformplugin/PlayerLabel.h: Removed.
  7674. * symbian/platformplugin/WebPlugin.cpp: Removed.
  7675. * symbian/platformplugin/WebPlugin.h: Removed.
  7676. * symbian/platformplugin/images: Removed.
  7677. * symbian/platformplugin/images/button_cannotplay.png: Removed.
  7678. * symbian/platformplugin/images/button_close.png: Removed.
  7679. * symbian/platformplugin/images/button_pause.png: Removed.
  7680. * symbian/platformplugin/images/button_play.png: Removed.
  7681. * symbian/platformplugin/images/button_sound_off.png: Removed.
  7682. * symbian/platformplugin/images/button_sound_on.png: Removed.
  7683. * symbian/platformplugin/images/loading_buffering_1.png: Removed.
  7684. * symbian/platformplugin/images/loading_buffering_2.png: Removed.
  7685. * symbian/platformplugin/images/loading_buffering_3.png: Removed.
  7686. * symbian/platformplugin/images/loading_buffering_4.png: Removed.
  7687. * symbian/platformplugin/platformplugin.pro: Removed.
  7688. * symbian/platformplugin/platformplugin.qrc: Removed.
  7689. * symbian/platformplugin/qss: Removed.
  7690. * symbian/platformplugin/qss/OverlayWidget.qss: Removed.
  7691. * symbian/platformplugin/qwebkitplatformplugin.h: Removed.
  7692. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  7693. (tst_QGraphicsWebView::focusInputTypes):
  7694. * tests/qwebframe/qwebframe.pro:
  7695. * tests/qwebframe/tst_qwebframe.cpp:
  7696. * tests/qwebview/tst_qwebview.cpp:
  7697. (tst_QWebView::focusInputTypes):
  7698. * tests/tests.pri:
  7699. 2011-10-14 Mark Hahnenberg <mhahnenberg@apple.com>
  7700. Rename virtual put to putVirtual
  7701. https://bugs.webkit.org/show_bug.cgi?id=69851
  7702. Reviewed by Darin Adler.
  7703. Renamed virtual versions of put to putVirtual in prepration for
  7704. adding the static put to the MethodTable in ClassInfo since the
  7705. compiler gets mad if the virtual and static versions have the same
  7706. name.
  7707. * Api/qwebframe.cpp:
  7708. (QWebFrame::addToJavaScriptWindowObject):
  7709. 2011-10-12 Ryosuke Niwa <rniwa@webkit.org>
  7710. Make the interface of locationAndLengthFromRange and rangeFromLocationAndLength consistent
  7711. https://bugs.webkit.org/show_bug.cgi?id=69964
  7712. Reviewed by Enrica Casucci.
  7713. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  7714. (DumpRenderTreeSupportQt::firstRectForCharacterRange):
  7715. 2011-10-13 Adenilson Cavalcanti <adenilson.silva@openbossa.org>
  7716. [Qt] GeolocationClient cleanups
  7717. https://bugs.webkit.org/show_bug.cgi?id=69737
  7718. Reviewed by Kenneth Rohde Christiansen.
  7719. Qt5 has a location module, so no need to use an external
  7720. library like Qt Mobility. This patch will allow the GeolocationClientQt
  7721. to compile with both Qt5 and Qt4.
  7722. * QtWebKit.pro:
  7723. * WebCoreSupport/GeolocationClientQt.cpp:
  7724. (WebCore::GeolocationClientQt::positionUpdated):
  7725. * WebCoreSupport/GeolocationClientQt.h:
  7726. 2011-10-11 Simon Fraser <simon.fraser@apple.com>
  7727. Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
  7728. https://bugs.webkit.org/show_bug.cgi?id=68134
  7729. Reviewed by Darin Adler.
  7730. Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
  7731. Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
  7732. that reads the setting, and returns the mock theme if set. All callers now use
  7733. theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
  7734. * WebCoreSupport/ChromeClientQt.cpp:
  7735. (WebCore::ChromeClientQt::windowResizerRect):
  7736. 2011-10-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  7737. [Qt] Remove all references to QTDIR_build and standalone_package
  7738. Qt is now modularized, which means we no longer import WebKit into
  7739. the Qt source tree. Instead we use git submodules, and building
  7740. QtWebKit as "part of Qt" is really building QtWebKit as from trunk.
  7741. To decrease the number of buildsystem configurations we also remove
  7742. the standalone_package code-path used when we were providing tarballs
  7743. with the derived sources pre-generated.
  7744. Reviewed by Simon Hausmann.
  7745. * Api/DerivedSources.pro:
  7746. * QtWebKit.pro:
  7747. * declarative/declarative.pro:
  7748. * docs/webkitsnippets/webelement/webelement.pro:
  7749. * tests/tests.pri:
  7750. 2011-10-07 Chang Shu <cshu@webkit.org>
  7751. Remove compile time flag ENABLE_PASSWORD_ECHO
  7752. https://bugs.webkit.org/show_bug.cgi?id=69647
  7753. As we have runtime flag in the page/Settings, we should remove this redundant compile time flag.
  7754. Reviewed by Andreas Kling.
  7755. * Api/qwebsettings.cpp:
  7756. (QWebSettingsPrivate::apply):
  7757. 2011-10-06 Fady Samuel <fsamuel@chromium.org>
  7758. Code clean-up: Make RenderObject::absoluteBoundingBoxRect and associated methods const and make its parameter useTransforms no longer default to false
  7759. https://bugs.webkit.org/show_bug.cgi?id=69009
  7760. Reviewed by Simon Fraser.
  7761. * Api/qwebframe.cpp:
  7762. (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
  7763. 2011-10-06 Simon Hausmann <simon.hausmann@nokia.com>
  7764. [Qt][Wk2] Fix build with Qt 5 when QtScript is built as standalone module
  7765. https://bugs.webkit.org/show_bug.cgi?id=69520
  7766. Reviewed by Csaba Osztrogonác.
  7767. * QtWebKit.pro: Convenience, use qt5 scope.
  7768. * declarative/declarative.pro: Ditto.
  7769. * tests/tests.pri: Ditto.
  7770. 2011-10-03 Pierre Rossi <pierre.rossi@gmail.com>
  7771. [Qt] Build fix: Qt::escape is deprecated in Qt5
  7772. https://bugs.webkit.org/show_bug.cgi?id=69162
  7773. Use QString::toHtmlEscaped in the Qt5 case.
  7774. Reviewed by Andreas.
  7775. * Api/qwebpage.cpp:
  7776. (QWebPage::javaScriptAlert):
  7777. (QWebPage::javaScriptConfirm):
  7778. (QWebPage::javaScriptPrompt):
  7779. * WebCoreSupport/ChromeClientQt.cpp:
  7780. (WebCore::ChromeClientQt::setToolTip):
  7781. 2011-10-01 Sheriff Bot <webkit.review.bot@gmail.com>
  7782. Unreviewed, rolling out r96421.
  7783. http://trac.webkit.org/changeset/96421
  7784. https://bugs.webkit.org/show_bug.cgi?id=69206
  7785. It broke Qt-WK2 build (Requested by ossy on #webkit).
  7786. * Api/qwebpage.cpp:
  7787. (QWebPage::javaScriptAlert):
  7788. (QWebPage::javaScriptConfirm):
  7789. (QWebPage::javaScriptPrompt):
  7790. * WebCoreSupport/ChromeClientQt.cpp:
  7791. (WebCore::ChromeClientQt::setToolTip):
  7792. 2011-09-30 Pierre Rossi <pierre.rossi@gmail.com>
  7793. [Qt] Build fix: Qt::escape is deprecated in Qt5
  7794. https://bugs.webkit.org/show_bug.cgi?id=69162
  7795. Use QString::toHtmlEscaped in the Qt5 case.
  7796. Reviewed by Andreas Kling.
  7797. * Api/qwebpage.cpp:
  7798. (QWebPage::javaScriptAlert):
  7799. (QWebPage::javaScriptConfirm):
  7800. (QWebPage::javaScriptPrompt):
  7801. * WebCoreSupport/ChromeClientQt.cpp:
  7802. (WebCore::ChromeClientQt::setToolTip):
  7803. 2011-09-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  7804. [Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
  7805. QWidget and friends now live in the QtWidgets library. We update
  7806. includes in implementation files and private headers to us the
  7807. non-module-prefixed path, and leave the lookup for the include
  7808. path. For public headers we have to ifdef the includes as the
  7809. user might now have the modules we need in his QT config.
  7810. Finally, QSGCanvas is no longer a QWidget but a QWindow, so we
  7811. have to update our code and use windowHandle() for setting the
  7812. parent relationships.
  7813. https://bugs.webkit.org/show_bug.cgi?id=68687
  7814. Reviewed by Andreas Kling.
  7815. * Api/qgraphicswebview.cpp:
  7816. * Api/qgraphicswebview.h:
  7817. * Api/qwebframe.h:
  7818. * Api/qwebhistory.h:
  7819. * Api/qwebpage.h:
  7820. * Api/qwebsettings.h:
  7821. * Api/qwebview.h:
  7822. * QtWebKit.pro:
  7823. * WebCoreSupport/PageClientQt.h:
  7824. * WebCoreSupport/QtWebComboBox.cpp:
  7825. * WebCoreSupport/QtWebComboBox.h:
  7826. * declarative/qdeclarativewebview.cpp:
  7827. * declarative/qdeclarativewebview_p.h:
  7828. * docs/webkitsnippets/webpage/main.cpp:
  7829. * examples/platformplugin/WebNotificationPresenter.h:
  7830. 2011-09-27 Sheriff Bot <webkit.review.bot@gmail.com>
  7831. Unreviewed, rolling out r96108, r96111, r96113, and r96116.
  7832. http://trac.webkit.org/changeset/96108
  7833. http://trac.webkit.org/changeset/96111
  7834. http://trac.webkit.org/changeset/96113
  7835. http://trac.webkit.org/changeset/96116
  7836. https://bugs.webkit.org/show_bug.cgi?id=68913
  7837. Wait for working Qt5 (Requested by ossy on #webkit).
  7838. * Api/qgraphicswebview.cpp:
  7839. * Api/qgraphicswebview.h:
  7840. * Api/qwebframe.h:
  7841. * Api/qwebhistory.h:
  7842. * Api/qwebpage.h:
  7843. * Api/qwebsettings.h:
  7844. * Api/qwebview.h:
  7845. * QtWebKit.pro:
  7846. * WebCoreSupport/PageClientQt.h:
  7847. * WebCoreSupport/QtWebComboBox.cpp:
  7848. * WebCoreSupport/QtWebComboBox.h:
  7849. * declarative/declarative.pro:
  7850. * declarative/qdeclarativewebview.cpp:
  7851. * declarative/qdeclarativewebview_p.h:
  7852. * docs/webkitsnippets/webpage/main.cpp:
  7853. * examples/platformplugin/WebNotificationPresenter.h:
  7854. * tests/tests.pri:
  7855. 2011-09-27 Csaba Osztrogonác <ossy@webkit.org>
  7856. [Qt][WK2] Buildfix after r96108.
  7857. Rubber-stamped by Andreas Kling.
  7858. * tests/tests.pri:
  7859. 2011-09-27 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  7860. [Qt] Fix build of declarative plugin against Qt5
  7861. Reviewed by Andreas Kling.
  7862. * declarative/declarative.pro:
  7863. 2011-09-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  7864. [Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
  7865. QWidget and friends now live in the QtWidgets library. We update
  7866. includes in implementation files and private headers to us the
  7867. non-module-prefixed path, and leave the lookup for the include
  7868. path. For public headers we have to ifdef the includes as the
  7869. user might now have the modules we need in his QT config.
  7870. Finally, QSGCanvas is no longer a QWidget but a QWindow, so we
  7871. have to update our code and use windowHandle() for setting the
  7872. parent relationships.
  7873. https://bugs.webkit.org/show_bug.cgi?id=68687
  7874. Reviewed by Andreas Kling.
  7875. * Api/qgraphicswebview.cpp:
  7876. * Api/qgraphicswebview.h:
  7877. * Api/qwebframe.h:
  7878. * Api/qwebhistory.h:
  7879. * Api/qwebpage.h:
  7880. * Api/qwebsettings.h:
  7881. * Api/qwebview.h:
  7882. * QtWebKit.pro:
  7883. * WebCoreSupport/PageClientQt.h:
  7884. * WebCoreSupport/QtWebComboBox.cpp:
  7885. * WebCoreSupport/QtWebComboBox.h:
  7886. * declarative/qdeclarativewebview.cpp:
  7887. * declarative/qdeclarativewebview_p.h:
  7888. * docs/webkitsnippets/webpage/main.cpp:
  7889. * examples/platformplugin/WebNotificationPresenter.h:
  7890. 2011-09-24 Adam Barth <abarth@webkit.org>
  7891. Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
  7892. https://bugs.webkit.org/show_bug.cgi?id=68767
  7893. Reviewed by Eric Seidel.
  7894. * Api/qwebsecurityorigin.cpp:
  7895. (QWebSecurityOrigin::setApplicationCacheQuota):
  7896. * Api/qwebsettings.cpp:
  7897. (QWebSettings::setOfflineWebApplicationCachePath):
  7898. (QWebSettings::offlineWebApplicationCachePath):
  7899. (QWebSettings::setOfflineWebApplicationCacheQuota):
  7900. (QWebSettings::offlineWebApplicationCacheQuota):
  7901. * WebCoreSupport/ChromeClientQt.cpp:
  7902. (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
  7903. * WebCoreSupport/ChromeClientQt.h:
  7904. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  7905. (DumpRenderTreeSupportQt::clearAllApplicationCaches):
  7906. 2011-09-21 Andras Becsi <andras.becsi@nokia.com>
  7907. [Qt] Remove Qt specific code from css/SelectorChecker.cpp
  7908. https://bugs.webkit.org/show_bug.cgi?id=67702
  7909. Reviewed by Csaba Osztrogonác.
  7910. * WebCoreSupport/WebPlatformStrategies.cpp: Check the Qt global history here, instead of a platform independent file.
  7911. (WebPlatformStrategies::isLinkVisited):
  7912. * WebCoreSupport/WebPlatformStrategies.h:
  7913. 2011-09-20 Jarred Nicholls <jarred@sencha.com>
  7914. [Qt] Permit qrc resources to load in QWebSettings::setUserStyleSheetUrl()
  7915. https://bugs.webkit.org/show_bug.cgi?id=51159
  7916. Permit any URL with a local scheme to set a user style sheet. Allow qrc
  7917. resource URLs as arguments to QWebSettings::setUserStyleSheetUrl().
  7918. New test case makes sure a qrc URL will properly load a user stylesheet.
  7919. Reviewed by Kenneth Rohde Christiansen.
  7920. (tst_QWebPage::userStyleSheetFromQrcUrl):
  7921. * tests/qwebpage/tst_qwebpage.qrc:
  7922. 2011-09-20 Adenilson Cavalcanti <adenilson.silva@openbossa.org>
  7923. [Qt] resizeToContent seems to trigger infinite resize on some pages
  7924. https://bugs.webkit.org/show_bug.cgi?id=43852
  7925. Reviewed by Kenneth Rohde Christiansen.
  7926. Test by Luiz Agostini.
  7927. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  7928. (ResizeSpy::receiveResize):
  7929. (ResizeSpy::size):
  7930. (tst_QGraphicsWebView::windowResizeEvent):
  7931. 2011-09-17 Mihai Parparita <mihaip@chromium.org>
  7932. FrameLoaderClient BackForwardList-related methods are unsued
  7933. https://bugs.webkit.org/show_bug.cgi?id=68293
  7934. Reviewed by Darin Adler.
  7935. Remove FrameLoaderClient methods that were added by r51629, since only
  7936. the old (since-deleted) Android port needed them.
  7937. * WebCoreSupport/FrameLoaderClientQt.cpp:
  7938. * WebCoreSupport/FrameLoaderClientQt.h:
  7939. 2011-09-15 Adam Barth <abarth@webkit.org>
  7940. Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
  7941. https://bugs.webkit.org/show_bug.cgi?id=68205
  7942. Reviewed by Eric Seidel.
  7943. * Api/qwebdatabase.cpp:
  7944. (QWebDatabase::displayName):
  7945. (QWebDatabase::expectedSize):
  7946. (QWebDatabase::size):
  7947. (QWebDatabase::fileName):
  7948. (QWebDatabase::removeDatabase):
  7949. (QWebDatabase::removeAllDatabases):
  7950. * Api/qwebsecurityorigin.cpp:
  7951. (QWebSecurityOrigin::databaseUsage):
  7952. (QWebSecurityOrigin::databaseQuota):
  7953. (QWebSecurityOrigin::setDatabaseQuota):
  7954. (QWebSecurityOrigin::allOrigins):
  7955. (QWebSecurityOrigin::databases):
  7956. * Api/qwebsettings.cpp:
  7957. (QWebSettingsPrivate::apply):
  7958. (QWebSettings::setOfflineStoragePath):
  7959. (QWebSettings::offlineStoragePath):
  7960. * WebCoreSupport/ChromeClientQt.cpp:
  7961. * WebCoreSupport/ChromeClientQt.h:
  7962. 2011-09-13 Zeno Albisser <zeno.albisser@nokia.com>
  7963. [Qt] Fix state of stop/reload actions in QWebPage
  7964. https://bugs.webkit.org/show_bug.cgi?id=65977
  7965. FrameLoader does ask its DocumentLoader to stop loading subresources before
  7966. setting the state to FrameStateCommittedPage. But it does
  7967. not check if the the DocumentLoader actually stopped loading before
  7968. it changes the state.
  7969. Therefore a subresourceLoader can still be active, when we receive the
  7970. call to dispatchDidFinishLoad(). This leads to an inconsistent behavior
  7971. of the stop/reload actions in QWebPage.
  7972. This changeset fixes the inconsistent state by updating the action states
  7973. also when frameLoadCompleted() is called.
  7974. Reviewed by Chang Shu.
  7975. * WebCoreSupport/FrameLoaderClientQt.cpp:
  7976. (WebCore::FrameLoaderClientQt::frameLoadCompleted):
  7977. 2011-09-12 Csaba Osztrogonác <ossy@webkit.org>
  7978. [Qt] Fix "Unmatched parentheses are deprecated." warnings
  7979. https://bugs.webkit.org/show_bug.cgi?id=67775
  7980. Reviewed by Zoltan Herczeg.
  7981. Modify function declarations to single line to make qmake happier.
  7982. * Api/qwebframe.h:
  7983. * Api/qwebpluginfactory.h:
  7984. * Api/qwebview.h:
  7985. 2011-09-10 Jarred Nicholls <jarred@sencha.com>
  7986. [Qt] QWebSettings::setUserStyleSheetUrl() does not work with windows paths that contain drive letters
  7987. https://bugs.webkit.org/show_bug.cgi?id=34884
  7988. KURL::path() alone does not handle removing the leading slash from a windows file path.
  7989. Using QUrl::toLocalFile() will turn file:///C:/path into C:/path appropriately.
  7990. New test case that ensures a user stylesheet from the file system will load correctly
  7991. on all platforms.
  7992. Reviewed by Andreas Kling.
  7993. * tests/qwebpage/resources/user.css: Added.
  7994. (p):
  7995. * tests/qwebpage/tst_qwebpage.cpp:
  7996. (tst_QWebPage::userStyleSheetFromFile):
  7997. 2011-09-09 Fady Samuel <fsamuel@chromium.org>
  7998. Move pageScaleFactor code from Frame.{h|cpp} to Page.{h|cpp}
  7999. https://bugs.webkit.org/show_bug.cgi?id=67250
  8000. Reviewed by Simon Fraser.
  8001. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8002. (DumpRenderTreeSupportQt::scalePageBy):
  8003. 2011-09-09 Zeno Albisser <zeno.albisser@nokia.com>
  8004. [Qt] QWebElement::encloseWith doesn't work at all
  8005. https://bugs.webkit.org/show_bug.cgi?id=62464
  8006. Enclosing an element means wrapping something around an element,
  8007. not inserting something into an element. Therefore we need to check
  8008. if the parent of the element allows insertion rather than checking
  8009. the element itself.
  8010. Reviewed by Andreas Kling.
  8011. * Api/qwebelement.cpp:
  8012. (QWebElement::prependOutside):
  8013. (QWebElement::appendOutside):
  8014. (QWebElement::encloseWith):
  8015. * tests/qwebelement/tst_qwebelement.cpp:
  8016. (tst_QWebElement::appendAndPrepend):
  8017. (tst_QWebElement::encloseWith):
  8018. 2011-09-08 Sam Weinig <sam@webkit.org>
  8019. Remove the Completion object from JSC, I have never liked it
  8020. https://bugs.webkit.org/show_bug.cgi?id=67755
  8021. Reviewed by Gavin Barraclough.
  8022. * Api/qwebelement.cpp:
  8023. (QWebElement::evaluateJavaScript):
  8024. 2011-09-05 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  8025. [Qt][WK2] Make TiledDrawingArea request tiles only in the direction the viewport is panned to.
  8026. https://bugs.webkit.org/show_bug.cgi?id=67606
  8027. TiledBackingStore previously used different values for horizontal and vertial multiplication
  8028. to calculate the cover area.
  8029. This patch replaces this mechanism, used to give a bigger panning range to vertical panning,
  8030. with the possibility to use the motion vector of the viewport to request tiles ahead instead.
  8031. This allows economies on rendering resources as tiles won't be rendered beside the trajectory
  8032. of the viewport.
  8033. * Api/qwebpage.cpp:
  8034. (QWebPagePrivate::dynamicPropertyChangeEvent):
  8035. 2011-09-06 Csaba Osztrogonác <ossy@webkit.org>
  8036. Unreviewed buildfix after r94620.
  8037. * WebCoreSupport/FrameLoaderClientQt.cpp:
  8038. (WebCore::FrameLoaderClientQt::createFrame):
  8039. 2011-09-06 Alexis Menard <alexis.menard@openbossa.org>
  8040. [Qt] Move away from QPointer as it is slow and it has a replacement QWeakPointer.
  8041. https://bugs.webkit.org/show_bug.cgi?id=67673
  8042. Reviewed by Ariya Hidayat.
  8043. Move away from QPointer as Qt provides a better and faster solution : QWeakPointer.
  8044. * Api/qwebframe.cpp:
  8045. (QWebHitTestResult::linkTargetFrame):
  8046. (QWebHitTestResult::frame):
  8047. * Api/qwebframe_p.h:
  8048. * Api/qwebpage.cpp:
  8049. (QWebPagePrivate::QWebPagePrivate):
  8050. (QWebPagePrivate::~QWebPagePrivate):
  8051. (QWebPagePrivate::acceptNavigationRequest):
  8052. (QWebPagePrivate::createMainFrame):
  8053. (QWebPagePrivate::updateAction):
  8054. (QWebPagePrivate::mouseMoveEvent):
  8055. (QWebPagePrivate::mousePressEvent):
  8056. (QWebPagePrivate::mouseDoubleClickEvent):
  8057. (QWebPagePrivate::mouseTripleClickEvent):
  8058. (QWebPagePrivate::mouseReleaseEvent):
  8059. (QWebPage::createStandardContextMenu):
  8060. (QWebPagePrivate::wheelEvent):
  8061. (QWebPagePrivate::focusInEvent):
  8062. (QWebPage::setPalette):
  8063. (QWebPagePrivate::touchEvent):
  8064. (QWebPage::~QWebPage):
  8065. (QWebPage::mainFrame):
  8066. (QWebPage::viewportSize):
  8067. (QWebPage::preferredContentsSize):
  8068. (QWebPage::setContentEditable):
  8069. (QWebPage::updatePositionDependentActions):
  8070. * Api/qwebpage_p.h:
  8071. * Api/qwebview.cpp:
  8072. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8073. (DumpRenderTreeSupportQt::contextMenu):
  8074. * WebCoreSupport/FrameLoaderClientQt.cpp:
  8075. (WebCore::FrameLoaderClientQt::createFrame):
  8076. * tests/qwebframe/tst_qwebframe.cpp:
  8077. (tst_QWebFrame::ownership):
  8078. * tests/qwebpage/tst_qwebpage.cpp:
  8079. (PluginCounterPage::PluginCounterPage):
  8080. (PluginTracerPage::createPlugin):
  8081. (tst_QWebPage::createViewlessPlugin):
  8082. * tests/qwebview/tst_qwebview.cpp:
  8083. (tst_QWebView::reusePage):
  8084. 2011-09-06 Alexis Menard <alexis.menard@openbossa.org>
  8085. [Qt] Fix API test failure after r92823 and r93001.
  8086. https://bugs.webkit.org/show_bug.cgi?id=67676
  8087. Reviewed by Kenneth Rohde Christiansen.
  8088. r92823 and r93001 make WebKit no longer produce wrapping style
  8089. spans on copy and paste and class="Apple-style-span" anymore.
  8090. Our expectations need to be updated.
  8091. * tests/qwebpage/tst_qwebpage.cpp:
  8092. (tst_QWebPage::cursorMovements):
  8093. (tst_QWebPage::textSelection):
  8094. (tst_QWebPage::findText):
  8095. 2011-09-06 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
  8096. [Qt][Symbian] REGRESSION[94105] DumpRenderTree.exe doesn't build on Symbian
  8097. https://bugs.webkit.org/show_bug.cgi?id=67644
  8098. Reviewed by Csaba Osztrogonác.
  8099. * symbian/eabi/QtWebKitu.def: add missing entry for
  8100. FrameLoaderClientQt::dumpProgressFinishedCallback(bool)
  8101. 2011-09-05 Kaustubh Atrawalkar <kaustubh@motorola.com>
  8102. Logic from HTMLElement::deprecatedCreateContextualFragment moved into
  8103. Range::createContextualFragment function.
  8104. https://bugs.webkit.org/show_bug.cgi?id=67056
  8105. Reviewed by Ryosuke Niwa.
  8106. Code Refactoring for deprecatedCreateContextualFragment.
  8107. * Api/qwebelement.cpp:
  8108. (QWebElement::appendInside):
  8109. (QWebElement::prependInside):
  8110. (QWebElement::prependOutside):
  8111. (QWebElement::appendOutside):
  8112. (QWebElement::encloseContentsWith):
  8113. (QWebElement::encloseWith):
  8114. 2011-09-03 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  8115. REGRESSION (r86268): Fix for qt_networkAccessAllowed()
  8116. https://bugs.webkit.org/show_bug.cgi?id=67570
  8117. Reviewed by Noam Rosenthal.
  8118. Replace the ENABLE(QT_BEARER) guard with
  8119. !defined(QT_NO_BEARERMANAGEMENT) which is true by
  8120. default in Qt 4.7 or later versions.
  8121. * Api/qwebsettings.cpp:
  8122. (qt_networkAccessAllowed):
  8123. 2011-09-02 Jade Han <jade.han@nokia.com>
  8124. [Qt][Symbian] REGRESSION(93235) Missing .def update
  8125. https://bugs.webkit.org/show_bug.cgi?id=67307
  8126. Reviewed by Laszlo Gombos.
  8127. * symbian/eabi/QtWebKitu.def:
  8128. 2011-09-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  8129. [Qt] Transform QtFallbackWebPopupCombo into QtWebComboBox
  8130. https://bugs.webkit.org/show_bug.cgi?id=67344
  8131. Reviewed by Andreas Kling.
  8132. Renamed QtFallbackWebPopup to QtWebComboBox and decoupled it from
  8133. QtFallbackWebPopup. The new class is a QComboBox with the features that
  8134. we need for QtWebKit: tracking when the popup is hidden (via the didHide()
  8135. signal) and a convenience method to show its popup in the cursor position.
  8136. An important change was made to the combobox: instead of hooking our actions in
  8137. showPopup() and hidePopup(), as well as watching for popup visibility events, we
  8138. now just watch for the visibility events. This allowed us to get rid of
  8139. m_popupVisible and tracking the Show event.
  8140. This commit also removed a workaround for input focus added in r40970 after
  8141. reviewers request. See bug report for details.
  8142. * QtWebKit.pro:
  8143. * WebCoreSupport/QtFallbackWebPopup.cpp:
  8144. (WebCore::QtFallbackWebPopup::QtFallbackWebPopup):
  8145. (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup):
  8146. (WebCore::QtFallbackWebPopup::show):
  8147. (WebCore::QtFallbackWebPopup::deleteComboBox):
  8148. * WebCoreSupport/QtFallbackWebPopup.h:
  8149. * WebCoreSupport/QtWebComboBox.cpp: Added.
  8150. (WebCore::QtWebComboBox::QtWebComboBox):
  8151. (WebCore::QtWebComboBox::showPopupAtCursorPosition):
  8152. (WebCore::QtWebComboBox::eventFilter):
  8153. * WebCoreSupport/QtWebComboBox.h: Added.
  8154. * tests/qwebframe/tst_qwebframe.cpp:
  8155. (tst_QWebFrame::popupFocus):
  8156. Change the test to use QObject::findChild(). The old method couldn't find our
  8157. new class because we defined a new metaclass for it.
  8158. 2011-08-31 Ryosuke Niwa <rniwa@webkit.org>
  8159. Move text() and textWithHardLineBreaks() from RenderTextControl to HTMLTextFormControlElement
  8160. https://bugs.webkit.org/show_bug.cgi?id=67320
  8161. Reviewed by Darin Adler.
  8162. Call HTMLTextFormControlElement::value() instead of RenderText::text()
  8163. * Api/qwebpage.cpp:
  8164. (QWebPage::inputMethodQuery):
  8165. 2011-08-31 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  8166. [Qt] Unskip API test for load signals order
  8167. https://bugs.webkit.org/show_bug.cgi?id=67285
  8168. Reviewed by Andreas Kling.
  8169. * tests/qwebpage/tst_qwebpage.cpp:
  8170. (tst_QWebPage::loadSignalsOrder):
  8171. 2011-08-30 Sheriff Bot <webkit.review.bot@gmail.com>
  8172. Unreviewed, rolling out r94142, r94144, r94145, and r94148.
  8173. http://trac.webkit.org/changeset/94142
  8174. http://trac.webkit.org/changeset/94144
  8175. http://trac.webkit.org/changeset/94145
  8176. http://trac.webkit.org/changeset/94148
  8177. https://bugs.webkit.org/show_bug.cgi?id=67262
  8178. Broke isindex element (Requested by rniwa on #webkit).
  8179. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8180. (DumpRenderTreeSupportQt::setAutofilled):
  8181. (DumpRenderTreeSupportQt::setValueForUser):
  8182. (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
  8183. 2011-08-30 Ryosuke Niwa <rniwa@webkit.org>
  8184. Get rid of toInputElement()
  8185. https://bugs.webkit.org/show_bug.cgi?id=67175
  8186. Reviewed by Darin Adler.
  8187. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8188. (DumpRenderTreeSupportQt::setAutofilled):
  8189. (DumpRenderTreeSupportQt::setValueForUser):
  8190. (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
  8191. 2011-08-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  8192. Emit last progress notification before calling dispatchDidFinishLoad
  8193. https://bugs.webkit.org/show_bug.cgi?id=28851
  8194. Reviewed by Adam Barth.
  8195. Add infrastructure to dump progressFinishedNotification callback in DRT.
  8196. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8197. (DumpRenderTreeSupportQt::dumpProgressFinishedCallback):
  8198. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  8199. * WebCoreSupport/FrameLoaderClientQt.cpp:
  8200. (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
  8201. * WebCoreSupport/FrameLoaderClientQt.h:
  8202. 2011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com>
  8203. The unused ScrollView* argument can and should be removed from
  8204. scrollRectIntoView.
  8205. https://bugs.webkit.org/show_bug.cgi?id=67117
  8206. Reviewed by Darin Adler.
  8207. * WebCoreSupport/ChromeClientQt.h:
  8208. (WebCore::ChromeClientQt::scrollRectIntoView):
  8209. 2011-08-25 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
  8210. Unreviewed QtWebKit.pro fix for when building inside Qt
  8211. Patch by Simo Fält <simo.falt@nokia.com>
  8212. The QtWebKit version was being overwritten by a global Qt version when
  8213. QtWebKit was built inside Qt. Fixed by moving the version
  8214. definition after the inclusion of qbase.pri.
  8215. * QtWebKit.pro:
  8216. 2011-08-25 Sheriff Bot <webkit.review.bot@gmail.com>
  8217. Unreviewed, rolling out r93783.
  8218. http://trac.webkit.org/changeset/93783
  8219. https://bugs.webkit.org/show_bug.cgi?id=66943
  8220. Commited wrong stuff by accident. (Requested by ademar on
  8221. #webkit).
  8222. * Api/qwebview.cpp:
  8223. (QWebView::load):
  8224. (QWebView::setHtml):
  8225. (QWebView::setContent):
  8226. (QWebView::setUrl):
  8227. * QtWebKit.pro:
  8228. 2011-08-25 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
  8229. Unreviewed QtWebKit.pro fix for when building inside Qt
  8230. Patch by Simo Fält <simo.falt@nokia.com>
  8231. The QtWebKit version was being overwritten by a global Qt version when
  8232. QtWebKit was built inside Qt. Fixed by moving the version
  8233. definition after the inclusion of qbase.pri.
  8234. * QtWebKit.pro:
  8235. 2011-08-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  8236. [Qt] Fix build on Lion
  8237. https://bugs.webkit.org/show_bug.cgi?id=66770
  8238. Reviewed by Andreas Kling.
  8239. We were mistakenly picking up mac/WebCoreSystemInterface.h instead of
  8240. the Qt one, and building on Lion revealed this when a typedef for
  8241. IOSurfaceRef was wrapped in PLATFORM(MAC).
  8242. For now we fix this by including WebCoreSystemInterface using
  8243. brackets, so that we'll pick up the right file based on the
  8244. include paths. This also means exposing a few missing enums
  8245. in our own version of the file, so those were added.
  8246. Lasty, we need to link against the right system interface library
  8247. on Lion.
  8248. * QtWebKit.pro:
  8249. 2011-08-21 Lindsay Mathieson <lindsay.mathieson@gmail.com>
  8250. [Qt] Fixes premature plugin unload bug
  8251. https://bugs.webkit.org/show_bug.cgi?id=66628
  8252. Reviewed by Benjamin Poulain.
  8253. The QtPlatformPlugin was allocated on the stack, so its destructor is unloading the
  8254. plugin at the end of the scope. This patch moves the local creation of QtPlatformPlugin
  8255. to class member (TextCheckerClientQt::m_platformPlugin), preventing premature unloading
  8256. of plugin.
  8257. * WebCoreSupport/TextCheckerClientQt.cpp:
  8258. (WebCore::TextCheckerClientQt::loadSpellChecker):
  8259. * WebCoreSupport/TextCheckerClientQt.h:
  8260. 2011-08-17 Adam Roben <aroben@apple.com>
  8261. Make WebCore keep track of the current device scale factor
  8262. Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
  8263. device scale factor
  8264. Reviewed by Darin Adler.
  8265. * Api/qwebpage.cpp:
  8266. (QWebPagePrivate::QWebPagePrivate): Removed pixelRatio.
  8267. (QWebPage::viewportAttributesForSize): Now calls Page::setDeviceScaleFactor.
  8268. * Api/qwebpage_p.h: Removed pixelRatio.
  8269. * WebCoreSupport/ChromeClientQt.cpp:
  8270. * WebCoreSupport/ChromeClientQt.h:
  8271. Removed deviceScaleFactor.
  8272. 2011-08-18 Chang Shu <cshu@webkit.org>
  8273. Add support of setPasswordEchoEnabled and setPasswordEchoDuration for password echo feature
  8274. https://bugs.webkit.org/show_bug.cgi?id=66052
  8275. Reviewed by Alexey Proskuryakov.
  8276. Enable password echo under the build flag.
  8277. * Api/qwebsettings.cpp:
  8278. (QWebSettingsPrivate::apply):
  8279. 2011-08-16 Chang Shu <cshu@webkit.org>
  8280. Support reset in WebCore::Internals
  8281. https://bugs.webkit.org/show_bug.cgi?id=66307
  8282. Reviewed by Dimitri Glazkov.
  8283. Added framework code in WebKit.
  8284. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8285. (DumpRenderTreeSupportQt::resetInternalsObject):
  8286. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  8287. 2011-08-16 Lindsay Mathieson <lindsay.mathieson@gmail.com>
  8288. [Qt] Missing spell check support
  8289. https://bugs.webkit.org/show_bug.cgi?id=44114
  8290. Reviewed by Benjamin Poulain.
  8291. Added a platform plugin to allow spell and grammar check in QtWebKit.
  8292. * Api/qwebkitplatformplugin.h:
  8293. * QtWebKit.pro:
  8294. * WebCoreSupport/EditorClientQt.cpp:
  8295. (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
  8296. (WebCore::EditorClientQt::isGrammarCheckingEnabled):
  8297. (WebCore::EditorClientQt::toggleContinuousSpellChecking):
  8298. (WebCore::EditorClientQt::toggleGrammarChecking):
  8299. * WebCoreSupport/EditorClientQt.h:
  8300. (WebCore::EditorClientQt::textChecker):
  8301. * WebCoreSupport/QtPlatformPlugin.cpp:
  8302. (WebCore::QtPlatformPlugin::createSpellChecker):
  8303. * WebCoreSupport/QtPlatformPlugin.h:
  8304. * WebCoreSupport/TextCheckerClientQt.cpp: Added.
  8305. (convertToVectorList):
  8306. (WebCore::TextCheckerClientQt::ignoreWordInSpellDocument):
  8307. (WebCore::TextCheckerClientQt::learnWord):
  8308. (WebCore::TextCheckerClientQt::getAutoCorrectSuggestionForMisspelledWord):
  8309. (WebCore::TextCheckerClientQt::checkSpellingOfString):
  8310. (WebCore::TextCheckerClientQt::checkGrammarOfString):
  8311. (WebCore::TextCheckerClientQt::getGuessesForWord):
  8312. (WebCore::TextCheckerClientQt::isContinousSpellCheckingEnabled):
  8313. (WebCore::TextCheckerClientQt::toggleContinousSpellChecking):
  8314. (WebCore::TextCheckerClientQt::isGrammarCheckingEnabled):
  8315. (WebCore::TextCheckerClientQt::toggleGrammarChecking):
  8316. (WebCore::TextCheckerClientQt::loadSpellChecker):
  8317. * WebCoreSupport/TextCheckerClientQt.h: Added.
  8318. (WebCore::TextCheckerClientQt::requestCheckingOfString):
  8319. 2011-08-15 Dmitry Titov <dimich@chromium.org>
  8320. FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
  8321. https://bugs.webkit.org/show_bug.cgi?id=66165
  8322. Reviewed by Darin Fisher.
  8323. * WebCoreSupport/FrameLoaderClientQt.cpp:
  8324. (WebCore::FrameLoaderClientQt::transferLoadingResourceFromPage):
  8325. * WebCoreSupport/FrameLoaderClientQt.h:
  8326. 2011-08-10 Adam Roben <aroben@apple.com>
  8327. Clear up scale factor terminology
  8328. WebKit by and large deals with two scale factors: one intrinsic to the device on which the
  8329. software is running, and one that is per-Page and can be controlled via API calls. This
  8330. patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
  8331. code use those names. It should introduce no behavior changes.
  8332. Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
  8333. device scale factor
  8334. Reviewed by Simon Fraser.
  8335. * WebCoreSupport/ChromeClientQt.cpp:
  8336. * WebCoreSupport/ChromeClientQt.h:
  8337. 2011-08-12 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  8338. [Qt] Add test for correct order of load signals in QWebPage
  8339. https://bugs.webkit.org/show_bug.cgi?id=66016
  8340. Reviewed by Benjamin Poulain.
  8341. Add API test to ensure the order of load signals: loadStarted() needs to be emitted
  8342. first, then loadProgress(100), followed by loadFinished().
  8343. The test is skipped since this right now is broken, the bug
  8344. https://bugs.webkit.org/show_bug.cgi?id=28851 tracks one possible way to fix.
  8345. * tests/qwebpage/tst_qwebpage.cpp:
  8346. (SpyForLoadSignalsOrder::SpyForLoadSignalsOrder):
  8347. (SpyForLoadSignalsOrder::isFinished):
  8348. (SpyForLoadSignalsOrder::onLoadProgress):
  8349. (tst_QWebPage::loadSignalsOrder_data):
  8350. (tst_QWebPage::loadSignalsOrder):
  8351. 2011-08-12 Alexis Menard <alexis.menard@openbossa.org>
  8352. [Qt] Make sure QtWebKit correctly compiles when building WebKit2 with Qt5.
  8353. In order to build correctly the QtQuick1 plugin we need to explicitly
  8354. link to the new library added in Qt5 "qtquick1".
  8355. Reviewed by Simon Hausmann.
  8356. * declarative/declarative.pro:
  8357. 2011-08-11 Andrew Wason <rectalogic@rectalogic.com>
  8358. REGRESSION: Qt JavaScript bridge signal connection fails
  8359. https://bugs.webkit.org/show_bug.cgi?id=66097
  8360. Reviewed by Gavin Barraclough.
  8361. Unmark tests as expected failures, they pass now.
  8362. * tests/qwebframe/tst_qwebframe.cpp:
  8363. (tst_QWebFrame::connectAndDisconnect):
  8364. 2011-08-09 Sheriff Bot <webkit.review.bot@gmail.com>
  8365. Unreviewed, rolling out r92683.
  8366. http://trac.webkit.org/changeset/92683
  8367. https://bugs.webkit.org/show_bug.cgi?id=65921
  8368. "Breaks Qt --minimal build. Revert pending update of the Qt
  8369. minimal configuration" (Requested by simathur on #webkit).
  8370. * Api/qwebsettings.cpp:
  8371. (QWebSettings::enablePersistentStorage):
  8372. 2011-08-09 Siddharth Mathur <siddharth.mathur@nokia.com>
  8373. [Qt] Simplify code by removing QT_NO_DESKTOPSERVICES and QT_NO_NETWORKDISKCACHE
  8374. https://bugs.webkit.org/show_bug.cgi?id=65880
  8375. Reviewed by Andreas Kling.
  8376. QDesktopServices and QNetworkDiskCache have been around for a while now. Kill flags which
  8377. check for their feature flags. Assume that any reasonable Qt build provides them.
  8378. * Api/qwebsettings.cpp:
  8379. (QWebSettings::enablePersistentStorage):
  8380. 2011-08-05 Dawit Alemayehu <adawit@kde.org>
  8381. Reviewed by Andreas Kling.
  8382. Reverted commit r87797, http://trac.webkit.org/changeset/87797, because it
  8383. causes the regression reported under bug# 63582.
  8384. [Qt] REGRESSION(r87797): Broke KDEWebKit's custom QNAM.
  8385. https://bugs.webkit.org/show_bug.cgi?id=63582
  8386. * WebCoreSupport/FrameLoaderClientQt.cpp:
  8387. (WebCore::FrameLoaderClientQt::setFrame):
  8388. 2011-08-03 Pavel Feldman <pfeldman@google.com>
  8389. Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
  8390. https://bugs.webkit.org/show_bug.cgi?id=65510
  8391. Reviewed by Yury Semikhatsky.
  8392. * Api/qwebframe.cpp:
  8393. (QWebFramePrivate::renderRelativeCoords):
  8394. 2011-08-03 Pavel Feldman <pfeldman@chromium.org>
  8395. Web Inspector: remove Node parameter from the InspectorClient::highlight
  8396. https://bugs.webkit.org/show_bug.cgi?id=65549
  8397. Reviewed by Yury Semikhatsky.
  8398. * WebCoreSupport/InspectorClientQt.cpp:
  8399. (WebCore::InspectorClientQt::highlight):
  8400. * WebCoreSupport/InspectorClientQt.h:
  8401. 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
  8402. [Qt] Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
  8403. https://bugs.webkit.org/show_bug.cgi?id=61042
  8404. Remove mark as expected fail where unexpected pass and mark failing test case as expected fail
  8405. Reviewed by Csaba Osztrogonác.
  8406. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  8407. (tst_QDeclarativeWebView::basicProperties):
  8408. (tst_QDeclarativeWebView::historyNav):
  8409. 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
  8410. [Qt] Fix tst_QWebPage::viewModes() API test
  8411. https://bugs.webkit.org/show_bug.cgi?id=65531
  8412. Reviewed by Csaba Osztrogonác.
  8413. * tests/qwebpage/tst_qwebpage.cpp: Mark failing test case as expected fail
  8414. (tst_QWebPage::viewModes):
  8415. 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
  8416. [Qt] Fix tst_QWebFrame::connectAndDisconnect() API test
  8417. https://bugs.webkit.org/show_bug.cgi?id=65170
  8418. Reviewed by Csaba Osztrogonác.
  8419. * tests/qwebframe/tst_qwebframe.cpp: Mark failing test case as expected fail
  8420. (tst_QWebFrame::connectAndDisconnect):
  8421. 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
  8422. [Qt] Fix tst_QWebElement::render() API test
  8423. https://bugs.webkit.org/show_bug.cgi?id=65243
  8424. Reviewed by Csaba Osztrogonác.
  8425. * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail
  8426. (tst_QWebElement::render):
  8427. 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
  8428. [Qt] tst_QWebElement::style() fails because QWebElement::CascadedStyle doesn't work as expected
  8429. https://bugs.webkit.org/show_bug.cgi?id=65244
  8430. Reviewed by Csaba Osztrogonác.
  8431. * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail
  8432. (tst_QWebElement::style):
  8433. 2011-08-01 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
  8434. [Qt] Fix tst_QWebPage::loadHtml5Video() API test
  8435. https://bugs.webkit.org/show_bug.cgi?id=65452
  8436. Reviewed by Csaba Osztrogonác.
  8437. * tests/qwebpage/tst_qwebpage.cpp: Mark failing test case as expected fail
  8438. (tst_QWebPage::loadHtml5Video):
  8439. 2011-07-30 Patrick Gansterer <paroga@webkit.org>
  8440. Remove inclusion of MainThread.h from Threading.h
  8441. https://bugs.webkit.org/show_bug.cgi?id=65081
  8442. Reviewed by Darin Adler.
  8443. Add missing include statements for MainThread.
  8444. * Api/qwebpage.cpp:
  8445. 2011-07-27 Benjamin Poulain <benjamin@webkit.org>
  8446. [WK2][Qt] Move from QGraphicsView to Qt Scene Graph
  8447. https://bugs.webkit.org/show_bug.cgi?id=62969
  8448. Reviewed by Andreas Kling.
  8449. Co-authored with Simon Hausmann <simon.hausmann@nokia.com>
  8450. Add the declarative dependency to link WebKit.
  8451. * QtWebKit.pro:
  8452. 2011-07-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  8453. [Qt] QtWebkit never finishes loading sites when they are loaded after an initial QUrl fails to load.
  8454. https://bugs.webkit.org/show_bug.cgi?id=61328
  8455. Reviewed by Andreas Kling.
  8456. Change the hooks in FrameLoaderClient we use for emitting signals. Instead of
  8457. emitting signals in the progress notification functions, we use the
  8458. dispatchDid{Start,Finish,Fail}* functions. The main reason behind this change is
  8459. that loading code is prepared to handle load() when inside those functions.
  8460. The crash was being caused by setUrl() (and load()) being called when
  8461. loadFinished(false) was emitted. The problem here is that when
  8462. postProgressFinishedNotification the FrameLoader wasn't ready for taking a load()
  8463. call again, because it was still the ProvisionalLoadState but with the
  8464. provisionalDocumentLoader already removed.
  8465. To emulate the same behavior that QtWebKit had when using
  8466. postProgressFinishedNotification, we now keep track of the frame originating the
  8467. load, and emit the signals when this frame's client is called.
  8468. The patch keeps the existing semantics for QWebPage signals, but we now emit the
  8469. QWebFrame signals everytime, not only when they are the originating frame for
  8470. loading.
  8471. * Api/qwebframe.cpp:
  8472. (clearCoreFrame): Document our assumption that activeDocumentLoader will exist.
  8473. * WebCoreSupport/FrameLoaderClientQt.h: Remove m_loadError, add a boolean to keep
  8474. track whether the frame is originating the load. Remove the signals from
  8475. FrameLoaderClientQt since we will emit QWebFrame and QWebPage signals directly.
  8476. * WebCoreSupport/FrameLoaderClientQt.cpp:
  8477. (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): Initialize m_isOriginatingLoad.
  8478. (WebCore::FrameLoaderClientQt::setFrame): Do not connect QWebFrame and QWebPage
  8479. signals to our signals for load/finished, signal emission will be done manually.
  8480. (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad): Emit
  8481. loadStarted() signal and make the first notification of estimation change, that
  8482. Qt API tests expect to exist and notify 10%.
  8483. (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): Remove reference to
  8484. m_loadError and emit loadFinished() signal.
  8485. (WebCore::FrameLoaderClientQt::postProgressStartedNotification): Remove signal
  8486. emission and mark the originating load as true, since only the originating frame
  8487. gets this call in its client.
  8488. (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): Remove signal
  8489. emission.
  8490. (WebCore::FrameLoaderClientQt::callErrorPageExtension): Return whether the call
  8491. was successful or not. This wasn't necessary before because a successful call for
  8492. error page would lead to a load(), that cleared the m_loadError.
  8493. (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad): Remove reference
  8494. to m_loadError and emit finished signal indicating error if ErrorPage extension
  8495. doesn't handle it.
  8496. (WebCore::FrameLoaderClientQt::dispatchDidFailLoad): Ditto.
  8497. (WebCore::FrameLoaderClientQt::emitLoadStarted): Emit the loadStarted() signal
  8498. for the QWebFrame, and if the originating load also do for the QWebPage.
  8499. (WebCore::FrameLoaderClientQt::emitLoadFinished): Same as before but for
  8500. loadFinished(). Take care to reset the originating load flag before the signals
  8501. are emitted, since they might want to set it back again.
  8502. * tests/qwebframe/tst_qwebframe.cpp:
  8503. (URLSetter::URLSetter): Object that sets the url using either load() or setUrl()
  8504. when a certain signal is emitted in the frame.
  8505. (URLSetter::execute):
  8506. (tst_QWebFrame::loadInSignalHandlers_data):
  8507. (tst_QWebFrame::loadInSignalHandlers): New test inspired by the bug test case. This test
  8508. crashes without this patch applied.
  8509. 2011-07-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  8510. [Qt] Fix build in Qt 5 of QDeclarativeWebView
  8511. https://bugs.webkit.org/show_bug.cgi?id=65258
  8512. Reviewed by Andreas Kling.
  8513. In Qt 5, the QGraphicsView-based classes for QtQuick are in the
  8514. qtquick1 module, including QDeclarativeItem and QDeclarativeView.
  8515. * declarative/qdeclarativewebview_p.h:
  8516. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  8517. * tests/tests.pri:
  8518. * tests/tests.pro:
  8519. 2011-07-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
  8520. Add support for download='filename' attribute in anchors.
  8521. https://bugs.webkit.org/show_bug.cgi?id=64580
  8522. Reviewed by Adam Barth.
  8523. * WebCoreSupport/FrameLoaderClientQt.cpp:
  8524. (WebCore::FrameLoaderClientQt::startDownload):
  8525. * WebCoreSupport/FrameLoaderClientQt.h:
  8526. 2011-07-26 Alexis Menard <alexis.menard@openbossa.org>
  8527. Reviewed by Andreas Kling.
  8528. [Qt] Change default backend to use GStreamer on Linux and QuickTime on Mac.
  8529. https://bugs.webkit.org/show_bug.cgi?id=63472
  8530. Use the flag WTF_USE_QTKIT=1 rather than USE_QTKIT=1 because that flag doesn't
  8531. exist anymore, it's the default. Ditto for GStreamer.
  8532. * QtWebKit.pro:
  8533. 2011-07-25 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  8534. [Qt] Add more tests to cover the behavior of loadFinished() signal
  8535. https://bugs.webkit.org/show_bug.cgi?id=63490
  8536. Reviewed by Benjamin Poulain.
  8537. * tests/qwebframe/tst_qwebframe.cpp:
  8538. (FakeReply::FakeReply):
  8539. (FakeNetworkManager::createRequest): Add a fake reply that gives 404 error code.
  8540. (tst_QWebFrame::loadFinishedAfterNotFoundError): Verify that we get loadFinished(false)
  8541. after a 404 error without contents.
  8542. * tests/qwebpage/tst_qwebpage.cpp:
  8543. (tst_QWebPage::errorPageExtensionLoadFinished): Verify if the argument of loadFinished()
  8544. is true when we use error page extension to produce our own error pages.
  8545. 2011-07-19 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  8546. [Qt] Improve documentation of QWebView::setPage()
  8547. https://bugs.webkit.org/show_bug.cgi?id=64827
  8548. Reviewed by Noam Rosenthal.
  8549. * Api/qwebview.cpp: Use the word 'page' to refer to a QWebPage instead of 'document'.
  8550. 2011-07-19 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  8551. [Qt] Fix leak of QWebPage in errorPageExtension tests
  8552. https://bugs.webkit.org/show_bug.cgi?id=64814
  8553. Reviewed by Noam Rosenthal.
  8554. QWebView::setPage() doesn't take ownership, so the ErrorPages were leaking. So now
  8555. allocate them on the stack. This shouldn't change any behavior.
  8556. * tests/qwebpage/tst_qwebpage.cpp:
  8557. (tst_QWebPage::errorPageExtension):
  8558. (tst_QWebPage::errorPageExtensionInIFrames):
  8559. (tst_QWebPage::errorPageExtensionInFrameset):
  8560. 2011-07-18 Hui Huang <hui.2.huang@nokia.com>
  8561. [Qt] Compiling error in Source/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp with Qt 4.7 or older
  8562. https://bugs.webkit.org/show_bug.cgi?id=64560
  8563. Reviewed by Noam Rosenthal.
  8564. * tests/qwebelement/tst_qwebelement.cpp:
  8565. (tst_QWebElement::render):
  8566. 2011-07-15 Dan Bernstein <mitz@apple.com>
  8567. REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
  8568. https://bugs.webkit.org/show_bug.cgi?id=64615
  8569. Reviewed by Anders Carlsson.
  8570. * WebCoreSupport/ChromeClientQt.h:
  8571. (WebCore::ChromeClientQt::setCursorHiddenUntilMouseMoves): Added this stub.
  8572. 2011-07-15 Kenneth Rohde Christiansen <kenneth@webkit.org>
  8573. REGRESSION(91064): Upstream QtWebKit/N9 changes related tovisibleContentRect
  8574. Reviewed by Antonio Gomes.
  8575. Only set setFixedVisibleContentRect when in resizesToContents mode.
  8576. * WebCoreSupport/FrameLoaderClientQt.cpp:
  8577. (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
  8578. 2011-07-15 Kenneth Rohde Christiansen <kenneth@webkit.org>
  8579. Upstream QtWebKit/N9 changes related to visibleContentRect
  8580. https://bugs.webkit.org/show_bug.cgi?id=64589
  8581. Reviewed by Simon Hausmann.
  8582. * Api/qwebpage.cpp:
  8583. (QWebPage::setActualVisibleContentRect):
  8584. Change to use setFixedVisibleContentRect.
  8585. * WebCoreSupport/FrameLoaderClientQt.cpp:
  8586. (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
  8587. Only set fixedVisibleContentRect for the mainframe.
  8588. * symbian/eabi/QtWebKitu.def:
  8589. 2011-07-13 Joseph Pecoraro <joepeck@webkit.org>
  8590. Improve names of some ApplicationCacheStorage accessor methods
  8591. https://bugs.webkit.org/show_bug.cgi?id=64433
  8592. Reviewed by Alexey Proskuryakov.
  8593. * WebCoreSupport/ChromeClientQt.cpp:
  8594. (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
  8595. Renamed method.
  8596. 2011-07-12 Joseph Pecoraro <joepeck@webkit.org>
  8597. ApplicationCache update should not immediately fail when reaching per-origin quota
  8598. https://bugs.webkit.org/show_bug.cgi?id=64177
  8599. Reviewed by Alexey Proskuryakov.
  8600. * Api/qwebpage.cpp:
  8601. * Api/qwebpage.h:
  8602. * WebCoreSupport/ChromeClientQt.cpp:
  8603. (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
  8604. * WebCoreSupport/ChromeClientQt.h:
  8605. Pass the spaceNeeded value through to the applicationCacheQuotaExceeded signal.
  8606. 2011-07-11 Ryosuke Niwa <rniwa@webkit.org>
  8607. Move selection related code from RenderTextControl to HTMLTextFormControlElement
  8608. https://bugs.webkit.org/show_bug.cgi?id=64133
  8609. Reviewed by Dimitri Glazkov.
  8610. Replaced calls to WebCore::setSelectionRange by calls to HTMLTextFormControlElement::setSelectionRange.
  8611. * Api/qwebpage.cpp:
  8612. (QWebPagePrivate::inputMethodEvent):
  8613. 2011-07-08 Adam Barth <abarth@webkit.org>
  8614. Unreviewed, rolling out r90662.
  8615. http://trac.webkit.org/changeset/90662
  8616. https://bugs.webkit.org/show_bug.cgi?id=64210
  8617. Introduced regressions in Chromium browser tests (Requested by
  8618. rniwa on #webkit).
  8619. * Api/qwebpage.cpp:
  8620. (QWebPagePrivate::inputMethodEvent):
  8621. 2011-07-08 Ryosuke Niwa <rniwa@webkit.org>
  8622. Move selection related code from RenderTextControl to HTMLTextFormControlElement
  8623. https://bugs.webkit.org/show_bug.cgi?id=64133
  8624. Reviewed by Dimitri Glazkov.
  8625. Replaced calls to WebCore::setSelectionRange by calls to HTMLTextFormControlElement::setSelectionRange.
  8626. * Api/qwebpage.cpp:
  8627. (QWebPagePrivate::inputMethodEvent):
  8628. 2011-07-05 Rafael Brandao <rafael.lobo@openbossa.org>
  8629. [Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
  8630. https://bugs.webkit.org/show_bug.cgi?id=63235
  8631. Modified baseUrl to be a local file in order to get a security origin
  8632. that is allowed to request local resources. Removed QSignalSpy from it
  8633. as loadFinished always happens, and the original test was split into two.
  8634. Reviewed by Benjamin Poulain.
  8635. * tests/qwebframe/tst_qwebframe.cpp:
  8636. (tst_QWebFrame::setHtmlWithImageResource):
  8637. (tst_QWebFrame::setHtmlWithStylesheetResource):
  8638. (tst_QWebFrame::setHtmlWithBaseURL):
  8639. 2011-04-02 Robert Hogan <robert@webkit.org>
  8640. Reviewed by Benjamin Poulain.
  8641. [Qt] Support third-party cookie policy for Qt clients
  8642. This adds new API to QWebSettings that allows clients to
  8643. select one of three third-party cookie blocking policies:
  8644. AlwaysAllowThirdPartyCookies
  8645. AlwaysBlockThirdPartyCookies
  8646. AllowThirdPartyWithExistingCookies
  8647. The first two are self-explanatory, the third mimics Safari's
  8648. default behaviour of permitting third-party cookies when the user
  8649. already has cookies from the third-party site. This was
  8650. introduced to allow third-party cookie blocking to play well with
  8651. facebook sharing etc. AlwaysAllowThirdPartyCookies is the default.
  8652. There is scope for adding an 'exceptions' list API and clients would
  8653. struggle to implement it themselves given the paucity of information
  8654. available from setCookiesForUrl().
  8655. See also: http://gitorious.org/qt/qt/merge_requests/1205
  8656. (commit 154402f56dcf8303a6ce601a52215226af8d31ba)
  8657. http://bugreports.qt.nokia.com/browse/QTBUG-13601
  8658. https://bugs.webkit.org/show_bug.cgi?id=45455
  8659. * Api/qwebsettings.cpp:
  8660. (QWebSettings::QWebSettings):
  8661. (QWebSettings::setThirdPartyCookiePolicy):
  8662. (QWebSettings::thirdPartyCookiePolicy):
  8663. * Api/qwebsettings.h:
  8664. 2011-07-01 Jade Han <jade.han@nokia.com>
  8665. [Qt][Symbian] Update .def file for Symbian to build Tools
  8666. https://bugs.webkit.org/show_bug.cgi?id=61200
  8667. Reviewed by Laszlo Gombos.
  8668. Add newly introduced symbols to fix building the Tools directory for Symbian.
  8669. * symbian/eabi/QtWebKitu.def:
  8670. 2011-07-01 Jade Han <jade.han@nokia.com>
  8671. Reviewed by Laszlo Gombos.
  8672. [Qt][Symbian] Update .def file for Symbian
  8673. https://bugs.webkit.org/show_bug.cgi?id=61200
  8674. Add newly introduced symbols to fix the Symbian build.
  8675. * symbian/eabi/QtWebKitu.def:
  8676. 2011-06-30 Rafael Brandao <rafael.lobo@openbossa.org>
  8677. Reviewed by Benjamin Poulain.
  8678. [Qt] Fix tst_QWebFrame::renderGeometry() API test
  8679. https://bugs.webkit.org/show_bug.cgi?id=63236
  8680. This test required a security origin with granted permission to request local resources.
  8681. By default, only local files can load local resources. So modified baseUrl to be a local file.
  8682. * tests/qwebframe/tst_qwebframe.cpp:
  8683. (tst_QWebFrame::renderGeometry):
  8684. 2011-06-27 Diego Gonzalez <diegohcg@webkit.org>
  8685. Reviewed by Antonio Gomes.
  8686. [Qt] DRT: Provide LayoutTestController::setDefersLoading and ::goBack support
  8687. https://bugs.webkit.org/show_bug.cgi?id=63489
  8688. Unskipped:
  8689. loader/navigation-while-deferring-loads.html
  8690. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8691. (DumpRenderTreeSupportQt::setDefersLoading):
  8692. (DumpRenderTreeSupportQt::goBack):
  8693. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  8694. 2011-06-30 Fabrizio Machado <fabrizio.machado@nokia.com>
  8695. Reviewed by Benjamin Poulain.
  8696. [Qt] QML Webview causes performance drops
  8697. https://bugs.webkit.org/show_bug.cgi?id=57554
  8698. Remove tiledBackingStoreEnabled from QML WebView.
  8699. * declarative/qdeclarativewebview.cpp:
  8700. (QDeclarativeWebView::setPage):
  8701. 2011-06-30 Kentaro Hara <haraken@google.com>
  8702. Reviewed by Kent Tamura.
  8703. Change the label of an HTML5 file chooser button to "Choose Files"
  8704. https://bugs.webkit.org/show_bug.cgi?id=49245
  8705. We should notify capability of multiple files to users.
  8706. Test: fast/forms/input-file-label.html
  8707. * WebCoreSupport/WebPlatformStrategies.cpp:
  8708. (WebPlatformStrategies::fileButtonChooseFileLabel): Updated the description for "Choose File".
  8709. (WebPlatformStrategies::fileButtonChooseMultipleFilesLabel): Returns a "Choose Files" label.
  8710. * WebCoreSupport/WebPlatformStrategies.h:
  8711. 2011-06-29 Alexis Menard <alexis.menard@openbossa.org>
  8712. Reviewed by Benjamin Poulain.
  8713. [Qt] Add Qt dependencies in QtWebKit's main pro file.
  8714. https://bugs.webkit.org/show_bug.cgi?id=63639
  8715. syncqt, the script which generates the headers inside Qt parses
  8716. the main pro file of QtWebKit to check the Qt dependencies. It used
  8717. to be WebCore.pro but after the build reorganization QtWebKit.pro is
  8718. the new main pro file so we need to add the network dependency just like
  8719. we did in WebCore.pro.
  8720. * QtWebKit.pro:
  8721. 2011-06-28 Ilya Sherman <isherman@chromium.org>
  8722. Reviewed by Adam Barth.
  8723. form.autocomplete="off" does not work
  8724. https://bugs.webkit.org/show_bug.cgi?id=35823
  8725. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8726. (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId): Update callsite.
  8727. 2011-06-27 Diego Gonzalez <diegohcg@webkit.org>
  8728. Reviewed by Kenneth Rohde Christiansen.
  8729. [Qt] DRT support for setInteractiveFormValidationEnabled
  8730. https://bugs.webkit.org/show_bug.cgi?id=63496
  8731. Unskipped:
  8732. fast/forms/interactive-validation-prevented.html
  8733. fast/forms/interactive-validation-attach-assertion.html
  8734. fast/forms/interactive-validation-assertion-by-validate-twice.html
  8735. fast/forms/interactive-validation-select-crash.html
  8736. fast/forms/interactive-validation-crash-by-style-override.html
  8737. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8738. (DumpRenderTreeSupportQt::setInteractiveFormValidationEnabled):
  8739. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  8740. 2011-06-28 Alexis Menard <alexis.menard@openbossa.org>
  8741. Reviewed by Andreas Kling.
  8742. [Qt] Use <QtX/x.h> style of headers for Qt tests which rely on it.
  8743. https://bugs.webkit.org/show_bug.cgi?id=63562
  8744. Some Qt auto-tests rely on <QtX/x.h> types of includes.
  8745. * Api/qwebkitplatformplugin.h:
  8746. * symbian/platformplugin/qwebkitplatformplugin.h:
  8747. 2011-06-28 Alexis Menard <alexis.menard@openbossa.org>
  8748. Reviewed by Andreas Kling.
  8749. [Qt] Use QtQuick imports in Api tests rather than old deprecated Qt 4.x imports.
  8750. https://bugs.webkit.org/show_bug.cgi?id=63533
  8751. We need to use the new QtQuick 1.x imports rather than the old deprecated
  8752. version.
  8753. * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml:
  8754. * tests/qdeclarativewebview/resources/webviewtest.qml:
  8755. * tests/qdeclarativewebview/resources/webviewtestdefault.qml:
  8756. 2011-06-27 Alexis Menard <alexis.menard@openbossa.org>
  8757. Reviewed by Darin Adler.
  8758. Use specific headers includes rather than full system headers.
  8759. https://bugs.webkit.org/show_bug.cgi?id=63475
  8760. Use only needed headers rather than system headers.
  8761. * WebCoreSupport/QTKitFullScreenVideoHandler.mm:
  8762. 2011-06-27 Alexis Menard <alexis.menard@openbossa.org>
  8763. Reviewed by Kenneth Rohde Christiansen.
  8764. [Qt] Remove Phonon MediaPlayer from the tree.
  8765. https://bugs.webkit.org/show_bug.cgi?id=63448
  8766. Remove Phonon related stuff.
  8767. * docs/qtwebkit.qdocconf:
  8768. * qt_webkit_version.pri:
  8769. 2011-06-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  8770. Reviewed by Andreas Kling.
  8771. [Qt] tst_QWebFrame::overloadedSlots() fails
  8772. https://bugs.webkit.org/show_bug.cgi?id=37319
  8773. * tests/qwebframe/tst_qwebframe.cpp:
  8774. (tst_QWebFrame::overloadedSlots): Remove expected failure and
  8775. fix the comment.
  8776. 2011-06-20 Robert Hogan <robert@webkit.org>
  8777. Reviewed by Antonio Gomes.
  8778. [Qt] Duplicate entry in context menu
  8779. https://bugs.webkit.org/show_bug.cgi?id=62139
  8780. contextMenuController()->populate() is called from
  8781. ContextMenuController::handleContextMenuEvent() so
  8782. QWebPage::updatePositionDependentActions() does not need
  8783. to call it independently.
  8784. Related changesets:
  8785. http://trac.webkit.org/changeset/73535
  8786. http://trac.webkit.org/changeset/32389
  8787. * Api/qwebpage.cpp:
  8788. (QWebPage::updatePositionDependentActions):
  8789. * tests/qwebpage/tst_qwebpage.cpp:
  8790. (tst_QWebPage::contextMenuCopy):
  8791. (tst_QWebPage::contextMenuPopulatedOnce):
  8792. 2011-06-24 Dominic Cooney <dominicc@chromium.org>
  8793. Reviewed by Dimitri Glazkov.
  8794. Convert shadow-DOM related tests to use window.internals
  8795. https://bugs.webkit.org/show_bug.cgi?id=61671
  8796. Remove shadow-DOM related methods from Qt DRT API. These are not
  8797. required any more.
  8798. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8799. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  8800. 2011-06-23 Joe Wild <joseph.wild@nokia.com>
  8801. Reviewed by Laszlo Gombos.
  8802. [Qt] The Qt WebKit Symbian .def file needs to be updated so Symbian will build
  8803. https://bugs.webkit.org/show_bug.cgi?id=61200
  8804. Revert r87060 as it broke compatibility with QtWebKit 2.1 release
  8805. and add some newly introduce symbols.
  8806. * symbian/eabi/QtWebKitu.def:
  8807. 2011-06-23 Alexis Menard <alexis.menard@openbossa.org>
  8808. Reviewed by Eric Carlson.
  8809. [Qt] Implement fullscreen support on Mac with the QuickTime backend.
  8810. https://bugs.webkit.org/show_bug.cgi?id=61728
  8811. Implement fullscreen support for Qt when using the QuickTime backend.
  8812. We mostly use what is already done for the Mac port.
  8813. * QtWebKit.pro:
  8814. * WebCoreSupport/ChromeClientQt.cpp:
  8815. (WebCore::ChromeClientQt::ChromeClientQt):
  8816. (WebCore::ChromeClientQt::~ChromeClientQt):
  8817. * WebCoreSupport/ChromeClientQt.h:
  8818. * WebCoreSupport/FullScreenVideoQt.cpp:
  8819. (WebCore::FullScreenVideoQt::FullScreenVideoQt):
  8820. (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
  8821. (WebCore::FullScreenVideoQt::enterFullScreenForNode):
  8822. (WebCore::FullScreenVideoQt::exitFullScreenForNode):
  8823. (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
  8824. (WebCore::FullScreenVideoQt::isValid):
  8825. * WebCoreSupport/FullScreenVideoQt.h:
  8826. * WebCoreSupport/QTKitFullScreenVideoHandler.h: Added.
  8827. * WebCoreSupport/QTKitFullScreenVideoHandler.mm: Added.
  8828. (QTKitFullScreenVideoHandler::QTKitFullScreenVideoHandler):
  8829. (QTKitFullScreenVideoHandler::~QTKitFullScreenVideoHandler):
  8830. (QTKitFullScreenVideoHandler::enterFullScreen):
  8831. (QTKitFullScreenVideoHandler::exitFullScreen):
  8832. * WebCoreSupport/WebSystemInterface.mm:
  8833. (InitWebCoreSystemInterface):
  8834. 2011-06-23 Yael Aharon <yael.aharon@nokia.com>
  8835. Reviewed by Andreas Kling.
  8836. [Qt] [WK2] Add drag and drop support
  8837. https://bugs.webkit.org/show_bug.cgi?id=62838
  8838. Call dragEnded from the DragClient to make WebKit1 and WebKit2 consistent.
  8839. * WebCoreSupport/DragClientQt.cpp:
  8840. (WebCore::DragClientQt::startDrag):
  8841. 2011-06-23 Joe Wild <joseph.wild@nokia.com>
  8842. Reviewed by Laszlo Gombos.
  8843. [Qt] Export files under Symbian Qt WebKit build
  8844. https://bugs.webkit.org/show_bug.cgi?id=61207
  8845. Export files for the Symbian platform as this is needed by the
  8846. production build system.
  8847. Janne Koskinen provided the suggestion to use target_predeps,
  8848. which is an improvement over the originally suggested patch.
  8849. * QtWebKit.pro:
  8850. 2011-06-23 Csaba Osztrogonác <ossy@webkit.org>
  8851. Rubber-stamped by Andreas Kling.
  8852. [Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
  8853. https://bugs.webkit.org/show_bug.cgi?id=63235
  8854. [Qt] Fix tst_QWebFrame::renderGeometry() API test
  8855. https://bugs.webkit.org/show_bug.cgi?id=63236
  8856. [Qt] Fix tst_QWebFrame::setUrlWithPendingLoads() API test
  8857. https://bugs.webkit.org/show_bug.cgi?id=63237
  8858. * tests/qwebframe/tst_qwebframe.cpp: Mark failing test cases as expected fails until real fix.
  8859. (tst_QWebFrame::setHtmlWithResource):
  8860. (tst_QWebFrame::renderGeometry):
  8861. 2011-06-23 Csaba Osztrogonác <ossy@webkit.org>
  8862. Rubber-stamped by Andreas Kling.
  8863. [Qt] Fix tst_QWebPage::showModalDialog() API test
  8864. https://bugs.webkit.org/show_bug.cgi?id=63244
  8865. [Qt] Fix tst_QWebPage::testStopScheduledPageRefresh() API test
  8866. https://bugs.webkit.org/show_bug.cgi?id=63245
  8867. * tests/qwebpage/tst_qwebpage.cpp: Mark failing test cases as expected fails.
  8868. (tst_QWebPage::showModalDialog):
  8869. (tst_QWebPage::testStopScheduledPageRefresh):
  8870. 2011-06-22 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
  8871. Reviewed by Holger Freyther.
  8872. [Qt] Fix Qt namespace on QDeclarativeWebView autotest
  8873. https://bugs.webkit.org/show_bug.cgi?id=63147
  8874. Applications (such as the test runner) are not supposed to be wrapped
  8875. by {QT_BEGIN,QT_END}_NAMESPACE macros, otherwise building Qt (or
  8876. QtWebKit) with a specific namespace won't work (will result in main
  8877. being undefined).
  8878. This was the only test wrapped by these macros, all others are fine.
  8879. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: remove
  8880. namespace macros.
  8881. 2011-06-20 Dimitri Glazkov <dglazkov@chromium.org>
  8882. Reviewed by Kent Tamura.
  8883. FileChooser should be only created when we need to choose files.
  8884. https://bugs.webkit.org/show_bug.cgi?id=63039
  8885. * WebCoreSupport/ChromeClientQt.cpp:
  8886. (WebCore::ChromeClientQt::runOpenPanel): Changed to use settings.
  8887. 2011-06-21 Yael Aharon <yael.aharon@nokia.com>
  8888. Reviewed by Andreas Kling.
  8889. [Qt] Regression(60942) wrong default action for drag-and-drop.
  8890. https://bugs.webkit.org/show_bug.cgi?id=63004
  8891. Added special handling for the case that dragOperation is not initialized.
  8892. Save the last dropOperation and pass it to the dropEvent, so that it can
  8893. be accepted by QDrag.
  8894. Call event->accepted() and not event->acceptProposedAction(), because the
  8895. later ignores the dropAction specified in JavaScript.
  8896. Tested with the test page attached to https://bugs.webkit.org/show_bug.cgi?id=40401
  8897. and did not see any issue.
  8898. Also manually tested all combinations of LayoutTests/fast/events/drag-and-drop.html
  8899. and they all pass.
  8900. * Api/qwebpage.cpp:
  8901. (dropActionToDragOp):
  8902. (QWebPagePrivate::dragMoveEvent):
  8903. (QWebPagePrivate::dropEvent):
  8904. 2011-06-20 Pavel Feldman <pfeldman@chromium.org>
  8905. Reviewed by Yury Semikhatsky.
  8906. Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
  8907. https://bugs.webkit.org/show_bug.cgi?id=62994
  8908. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8909. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  8910. 2011-06-18 Dimitri Glazkov <dglazkov@chromium.org>
  8911. Reviewed by Darin Adler.
  8912. Separate concerns of loading file icons and choosing files.
  8913. https://bugs.webkit.org/show_bug.cgi?id=62931
  8914. * WebCoreSupport/ChromeClientQt.cpp:
  8915. (WebCore::ChromeClientQt::loadIconForFiles): Renamed.
  8916. * WebCoreSupport/ChromeClientQt.h:
  8917. 2011-06-17 Alexis Menard <alexis.menard@openbossa.org>
  8918. Reviewed by Andreas Kling.
  8919. [Qt] Fix wrong framework generation on MacOS when inside Qt 4.8.
  8920. https://bugs.webkit.org/show_bug.cgi?id=62815
  8921. Partially revert r85870 which assumed that QtWebKit will never be build inside Qt
  8922. anymore. Everything inside !QTDIR_build condition is not needed in the Qt tree because
  8923. qbase.pri is doing the job for us, i.e. using includes generated by syncqt to
  8924. setup the mac framework. It also use a correct QMAKE_LFLAGS_SONAME making possible
  8925. to actually run an application linked against QtWebKit.
  8926. * QtWebKit.pro:
  8927. 2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
  8928. Unreviewed, rolling out r88796.
  8929. http://trac.webkit.org/changeset/88796
  8930. https://bugs.webkit.org/show_bug.cgi?id=62790
  8931. It made fast/dom/nodesFromRect-basic.html time out on Qt,
  8932. 64-bit, debug mode (Requested by Ossy on #webkit).
  8933. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8934. (DumpRenderTreeSupportQt::plainText):
  8935. (DumpRenderTreeSupportQt::nodesFromRect):
  8936. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  8937. * tests/qwebframe/tst_qwebframe.cpp:
  8938. (tst_QWebFrame::overloadedSlots):
  8939. (tst_QWebFrame::domCycles):
  8940. 2011-06-15 Diego Gonzalez <diegohcg@webkit.org>
  8941. Reviewed by Kenneth Rohde Christiansen.
  8942. [Qt] Inconsistent behavior on a form submit request...
  8943. https://bugs.webkit.org/show_bug.cgi?id=45523
  8944. The inconsistency occurs when a form submission requests a new window.
  8945. Two windows are opened (instead of only one) and the first window is opened
  8946. as a blank page.
  8947. By default each page is put into their own unique page group, which affects popup windows
  8948. and visited links. Page groups (per process only) is a feature making it possible to use
  8949. separate settings for each group, so that for instance an integrated browser/email reader
  8950. can use different settings for displaying HTML pages and HTML email. To make QtWebKit work
  8951. as expected out of the box, we use a default group similar to what other ports are doing.
  8952. * Api/qwebpage.cpp:
  8953. 2011-06-14 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  8954. Reviewed by Andreas Kling.
  8955. [Qt] tst_QWebFrame::overloadedSlots() fails
  8956. https://bugs.webkit.org/show_bug.cgi?id=37319
  8957. Since the implicit conversion was removed, change support functions of DRT to
  8958. expect a QVariantMap instead of a QWebElement. This matches the exposed function
  8959. in the controller, which takes 'document' and not 'document.documentElement'.
  8960. And now that Element -> QWebElement is a perfect match, we must use QWebElement
  8961. instead of QVariantMap, like in plainText().
  8962. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  8963. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  8964. (DumpRenderTreeSupportQt::plainText): Fix to use QWebElement instead of
  8965. QVariantMap when getting the startContainer. Also use QVariantMap directly,
  8966. bridge will do conversion for us now.
  8967. (getCoreDocumentFromVariantMap): Extracts the WebCore::Document* from the
  8968. QVariantMap that Qt bridge gives us when 'document' is passed from JS.
  8969. (DumpRenderTreeSupportQt::nodesFromRect): Use helper function.
  8970. * tests/qwebframe/tst_qwebframe.cpp: Splitted the test domCycles() into two
  8971. different tests. In practice, the original test just checked whether we could
  8972. create a QVariantMap representing 'document' without infinite looping due to
  8973. cycles in the DOM. This was more evident before since we haven't a conversion
  8974. from JSElement to QWebElement, but from JSElement to QVariantMap.
  8975. (tst_QWebFrame::documentHasDocumentElement): Evaluates 'document' and extracts
  8976. 'documentElement' from it. Compares to QWebFrame::documentElement().
  8977. (tst_QWebFrame::documentAllHasDocumentElement): Look inside 'document.all' for
  8978. the documentElement.
  8979. (tst_QWebFrame::overloadedSlots): Remove expected failure and fix wrong comment.
  8980. 2011-06-14 Andreas Kling <kling@webkit.org>
  8981. Reviewed by Benjamin Poulain.
  8982. [Qt] Don't include convenience "QWebFoo" headers in WebKit code.
  8983. https://bugs.webkit.org/show_bug.cgi?id=62632
  8984. * WebCoreSupport/FrameNetworkingContextQt.cpp:
  8985. 2011-06-12 Adam Barth <abarth@webkit.org>
  8986. Reviewed by Alexey Proskuryakov.
  8987. Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
  8988. https://bugs.webkit.org/show_bug.cgi?id=62516
  8989. * WebCoreSupport/FrameLoaderClientQt.cpp:
  8990. (WebCore::FrameLoaderClientQt::interruptedForPolicyChangeError):
  8991. * WebCoreSupport/FrameLoaderClientQt.h:
  8992. 2011-06-12 Adam Barth <abarth@webkit.org>
  8993. Attempt to fix Qt build.
  8994. * WebCoreSupport/FrameLoaderClientQt.cpp:
  8995. (drtPrintFrameUserGestureStatus):
  8996. 2011-06-12 Adam Barth <abarth@webkit.org>
  8997. Reviewed by Eric Seidel.
  8998. Remove FrameLoader::isProcessingUserGesture
  8999. https://bugs.webkit.org/show_bug.cgi?id=62519
  9000. * WebCoreSupport/FrameLoaderClientQt.cpp:
  9001. (drtPrintFrameUserGestureStatus):
  9002. 2011-06-10 Andreas Kling <kling@webkit.org>
  9003. Reviewed by Benjamin Poulain.
  9004. [Qt] Fix 'headers' autotest when building inside Qt.
  9005. https://bugs.webkit.org/show_bug.cgi?id=62449
  9006. * Api/qwebkitplatformplugin.h:
  9007. 2011-06-10 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  9008. Reviewed by Kenneth Rohde Christiansen.
  9009. [Qt] Keep ORIENTATION_EVENTS independent from DEVICE_ORIENTATION
  9010. https://bugs.webkit.org/show_bug.cgi?id=62420
  9011. ORIENTATION_EVENTS and DEVICE_ORIENTATION features are very similar
  9012. but they meant to be independent.
  9013. * Api/qwebframe.cpp:
  9014. (QWebFramePrivate::_q_orientationChanged):
  9015. (QWebFrame::QWebFrame):
  9016. * Api/qwebframe_p.h:
  9017. 2011-06-09 Andras Becsi <abecsi@webkit.org>
  9018. Reviewed by Andreas Kling.
  9019. [Qt] Fix the in-tree build on Linux
  9020. https://bugs.webkit.org/show_bug.cgi?id=62378
  9021. In case of an in-tree build qmake generates defect prl dependencies for
  9022. the QtWebKit library, because the inclusion of qtbase.pri adds explicitlib to CONFIG.
  9023. * QtWebKit.pro: Remove explicitlib and staticlib from CONFIG.
  9024. 2011-06-09 Robert Hogan <robert@webkit.org>
  9025. Reviewed by Andreas Kling.
  9026. Teach Qt about window.internals
  9027. https://bugs.webkit.org/show_bug.cgi?id=61074
  9028. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9029. (DumpRenderTreeSupportQt::injectInternalsObject):
  9030. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9031. 2011-06-08 Andreas Kling <kling@webkit.org>
  9032. Reviewed by Benjamin Poulain.
  9033. [Qt] FrameLoaderClient: Check Vector::find() return value for WTF::notFound.
  9034. https://bugs.webkit.org/show_bug.cgi?id=62274
  9035. Vector::find() returns size_t (which is unsigned), so we should check
  9036. for WTF::notFound instead of -1.
  9037. * WebCoreSupport/FrameLoaderClientQt.cpp:
  9038. (WebCore::FrameLoaderClientQt::createPlugin):
  9039. 2011-06-07 Noam Rosenthal <noam.rosenthal@nokia.com>
  9040. Reviewed by Andreas Kling.
  9041. [Texmap][Qt] Enable TextureMapper by default
  9042. https://bugs.webkit.org/show_bug.cgi?id=61740
  9043. Enable TextureMapper on Windows+Symbian, disabling the direct OpenGL path. This would mean that
  9044. for now QtWebKit on Windows/Symbian would use the Qt backend for TextureMapper.
  9045. * WebCoreSupport/PageClientQt.cpp:
  9046. (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
  9047. 2011-06-07 Aravind Akella <aravind.akella@nokia.com>
  9048. Reviewed by Laszlo Gombos.
  9049. [Qt][Symbian] API test failure qdeclarativewebview
  9050. https://bugs.webkit.org/show_bug.cgi?id=59481
  9051. QML files cannot be loaded on Symbian due to difference
  9052. in capabilities between qmlwebkitplugin.dll and Qtwebkit.dll.
  9053. A PlatSec error that Qtwebkit.dll has "DRM AllFiles" capabilities
  9054. missing is observed when dynamically loading the QML plugin.
  9055. * declarative/declarative.pro: Match capabilities in QtWebKit.pro.
  9056. * symbian/platformplugin/platformplugin.pro: Match capabilities with the other 2 DLLs.
  9057. Also remove TARGET.VID from platformplugin, as it's not used in any other Qt WebKit DLL,
  9058. and causes build warnings about undefined VENDOR_VID.
  9059. * tests/tests.pri: Add WriteDeviceData capability for API tests.
  9060. 2011-06-04 Robert Hogan <robert@webkit.org>
  9061. Reviewed by Andreas Kling.
  9062. [Qt] Fix and unskip acid2
  9063. https://bugs.webkit.org/show_bug.cgi?id=62089
  9064. shouldFallBack() tells the DOM if it should attempt to render
  9065. the next nested <object> if its parent fails to load.
  9066. This fix is only required for the fast/css version of the ACID2
  9067. test, which loads a non-existent file:// url. The HTTP version of the
  9068. test already passes because the loader will render fallback content
  9069. on a failed HTTP load without delegating the decision to the client
  9070. ( see MainResourceLoader::continueAfterContentPolicy).
  9071. Some ports also check for WebKitErrorPluginWillHandleLoad when deciding
  9072. what to return. This error isn't currently set by Qt so we don't check
  9073. it. (Other ports set it when the erring document is a MediaDocument, maybe
  9074. we should do that too at some point).
  9075. * WebCoreSupport/FrameLoaderClientQt.cpp:
  9076. (WebCore::FrameLoaderClientQt::shouldFallBack):
  9077. 2011-06-03 Rafael Brandao <rafael.lobo@openbossa.org>
  9078. Reviewed by Andreas Kling.
  9079. [Qt] It made two Qt API tests fail
  9080. https://bugs.webkit.org/show_bug.cgi?id=58847
  9081. Modified failing test's base url so it could get a valid origin
  9082. and make use of local storage. Also added another test that checks
  9083. local storage visibility in both scenarios.
  9084. * tests/qwebpage/tst_qwebpage.cpp:
  9085. (tst_QWebPage::testOptionalJSObjects):
  9086. (checkLocalStorageVisibility):
  9087. (tst_QWebPage::testLocalStorageVisibility):
  9088. 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
  9089. Reviewed by Andreas Kling.
  9090. [Qt] Warning fixes on comparisons between a signed and an unsigned.
  9091. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9092. (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
  9093. (DumpRenderTreeSupportQt::nodesFromRect):
  9094. 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
  9095. Reviewed by Andreas Kling.
  9096. To support building namespaced Qt, we require that forward-declarations
  9097. of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.
  9098. * WebCoreSupport/FrameLoaderClientQt.h:
  9099. 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
  9100. Unreviewed build fix after r87902.
  9101. To support building namespaced Qt, we require that forward-declarations
  9102. of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE but
  9103. only on classes inside Qt.
  9104. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9105. 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
  9106. Reviewed by Benjamin Poulain.
  9107. Some warning fixes. Values in switch not handled, and
  9108. a comparison between a signed and an unsigned.
  9109. * Api/qwebpage.cpp:
  9110. (QWebPagePrivate::inputMethodEvent):
  9111. (QWebPagePrivate::dynamicPropertyChangeEvent):
  9112. (QWebPage::action):
  9113. 2011-06-02 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  9114. Reviewed by Andreas Kling.
  9115. [Qt] Fix enum order in qwebpage.h public API header
  9116. https://bugs.webkit.org/show_bug.cgi?id=61959
  9117. Since qwebpage.h is a public header, we can't change the values of
  9118. the enumerations. This patch moves the new enumeration to the end
  9119. of the list. As a bonus, adds a missing entry in
  9120. editorCommandWebActions table.
  9121. * Api/qwebpage.cpp:
  9122. * Api/qwebpage.h:
  9123. 2011-06-02 Andreas Kling <kling@webkit.org>
  9124. Rubber-stamped by Simon Hausmann.
  9125. Remove Qt's precompiled header hack as it was broken, and was not even
  9126. used unless building WebKit inside a Qt tree.
  9127. * WebKit_pch.h: Removed.
  9128. 2011-06-02 Andreas Kling <kling@webkit.org>
  9129. Unreviewed build fix.
  9130. To support building namespaced Qt, we require that forward-declarations
  9131. of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.
  9132. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9133. 2011-06-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  9134. Reviewed by Kenneth Rohde Christiansen.
  9135. [Qt]Fix tst_QWebFrame::setUrlToInvalid() autotest after r84762
  9136. https://bugs.webkit.org/show_bug.cgi?id=59345
  9137. KURL and QUrl disagree whether certain URLs are valid or not. The regression here
  9138. was caused by the fact that now KURL accepts "http:/example.com" (note only one
  9139. slash) and our test case used a strange edge case that's transformed into a
  9140. "one-slash" URL that now KURL can handle.
  9141. QtWebKit approach in this case is to do a best effort and accept the QUrl if KURL
  9142. can understand it. So I've updated the test to use a more meaningful example and
  9143. show that an invalid URL gets converted to a valid URL if possible.
  9144. * tests/qwebframe/tst_qwebframe.cpp:
  9145. (tst_QWebFrame::setUrlToInvalid):
  9146. 2011-06-01 Andreas Kling <kling@webkit.org>
  9147. Reviewed by Benjamin Poulain.
  9148. REGRESSION: [Qt] QNetworkReply delivered by the unsupportedContent() signal does not contain downloaded data
  9149. https://bugs.webkit.org/show_bug.cgi?id=49650
  9150. Defer emission of QWebPage::unsupportedContent() until we're back in the event loop.
  9151. This lets the QNAM backend finish with the reply without handing over ownership to the user code.
  9152. No new tests since this doesn't fail for qrc:// or file:// URLs and our tests can't depend on http:// URLs.
  9153. To correctly solve this issue, we need changes to Qt, tracked here:
  9154. http://bugreports.qt.nokia.com/browse/QTBUG-18718
  9155. * WebCoreSupport/FrameLoaderClientQt.cpp:
  9156. (WebCore::FrameLoaderClientQt::setFrame):
  9157. (WebCore::FrameLoaderClientQt::download):
  9158. * WebCoreSupport/FrameLoaderClientQt.h:
  9159. 2011-06-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  9160. Reviewed by Tor Arne Vestbø.
  9161. [Qt] Rewrite tst_QDeclarativeWebView::multipleWindows() to not depend on Grid internals
  9162. https://bugs.webkit.org/show_bug.cgi?id=61739
  9163. The skipped test was imported from Qt source repository, and used private headers
  9164. to peek in the QML Grid element. This patch changes the QML used to expose the
  9165. information we want to test: number of pages opened and the first page opened.
  9166. * tests/qdeclarativewebview/resources/newwindows.html:
  9167. Added <body> tags. We have no reason to not use them in the test.
  9168. * tests/qdeclarativewebview/resources/newwindows.qml:
  9169. Moved the timer out of the page component, used anchors for setting webview size,
  9170. changed the way we count pages opened. Also changed coding style a bit.
  9171. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  9172. (tst_QDeclarativeWebView::multipleWindows):
  9173. We now look for properties with the information we want in the rootItem: pagesOpened and
  9174. firstPageOpened.
  9175. 2011-05-31 Rafael Brandao <rafael.lobo@openbossa.org>
  9176. Reviewed by Andreas Kling.
  9177. [Qt] tst_QWebFrame::render() failing
  9178. https://bugs.webkit.org/show_bug.cgi?id=60893
  9179. The test was expecting the frame contents to be already loaded
  9180. before rendering it into a QPicture. Renamed the test to fit
  9181. its real purpose more accordingly.
  9182. * tests/qwebframe/tst_qwebframe.cpp:
  9183. (tst_QWebFrame::renderGeometry):
  9184. 2011-05-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  9185. Reviewed by Andreas Kling.
  9186. [Qt] Fix unnecessary wait in API autotest tst_QWebFrame::scrollbarsOff
  9187. https://bugs.webkit.org/show_bug.cgi?id=61711
  9188. The loadFinished() signal was emitted directly inside the call for setHtml, so
  9189. the test was waiting the loadFinished() signal with a big timeout. Change this by
  9190. a very small timeout and a verification with signal spy.
  9191. In practice, setHtml() will either directly call loadFinished() or queue it to
  9192. the next event loop run, and test will work for both situations.
  9193. * tests/qwebframe/tst_qwebframe.cpp:
  9194. (tst_QWebFrame::scrollbarsOff):
  9195. 2011-05-30 Noam Rosenthal <noam.rosenthal@nokia.com>
  9196. Reviewed by Kenneth Rohde Christiansen.
  9197. [Texmap][Qt] Disable accelerated plugins/media in until they're working.
  9198. https://bugs.webkit.org/show_bug.cgi?id=61687
  9199. Turn off accelerated compositing for media and plugins when in texture-mapper.
  9200. * Api/qwebsettings.cpp:
  9201. (QWebSettingsPrivate::apply):
  9202. 2011-05-28 Adam Barth <abarth@webkit.org>
  9203. Reviewed by Alexey Proskuryakov.
  9204. Audit all uses of KURL::prettyURL
  9205. https://bugs.webkit.org/show_bug.cgi?id=61201
  9206. Update callers of prettyURL to just call string.
  9207. * WebCoreSupport/ChromeClientQt.cpp:
  9208. (WebCore::ChromeClientQt::mouseDidMoveOverElement):
  9209. * WebCoreSupport/FrameLoaderClientQt.cpp:
  9210. (WebCore::FrameLoaderClientQt::updateGlobalHistory):
  9211. (WebCore::FrameLoaderClientQt::cancelledError):
  9212. (WebCore::FrameLoaderClientQt::blockedError):
  9213. (WebCore::FrameLoaderClientQt::objectContentType):
  9214. (WebCore::FrameLoaderClientQt::createPlugin):
  9215. 2011-05-27 Alexis Menard <alexis.menard@openbossa.org>
  9216. Reviewed by Csaba Osztrogonác.
  9217. [Qt] Fix tst_QGraphicsWebView::setPalette(inactiveBG) autotest
  9218. https://bugs.webkit.org/show_bug.cgi?id=61044
  9219. Make sure to set the active window on the application too.
  9220. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  9221. (tst_QGraphicsWebView::setPalette):
  9222. 2011-05-26 Alexis Menard <alexis.menard@openbossa.org>
  9223. Unreviewed build fix for Qt and QuickTime backend.
  9224. r87328 added a new system interface, we need to add it too.
  9225. * WebCoreSupport/WebSystemInterface.mm:
  9226. (InitWebCoreSystemInterface):
  9227. 2011-05-25 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  9228. Reviewed by Andreas Kling.
  9229. [Qt] JSC bridge: implement __qt_sender__ without using Scope Chain
  9230. https://bugs.webkit.org/show_bug.cgi?id=61343
  9231. Create a '__qt_sender__' property in the global object, that returns the top of
  9232. the qtSenderStack. This is an alternative implementation for the feature of
  9233. providing a way for a function (acting as a Qt 'slot') discover which object
  9234. emitted the signal that caused it to be executed.
  9235. This reduces the coupling of the Qt bridge and JSC internal implementation. The
  9236. patch tries to use as much JSC public API as possible.
  9237. This behavior is covered by the tst_QWebFrame::connectAndDisconnect() auto test.
  9238. * WebCoreSupport/FrameLoaderClientQt.cpp:
  9239. (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
  9240. Instead of emitting the QWebPage::javaScriptWindowObjectCleared() directly, calls
  9241. a QWebPagePrivate function to do it.
  9242. * Api/qwebframe_p.h:
  9243. * Api/qwebframe.cpp:
  9244. (QWebFramePrivate::didClearedWindowObject):
  9245. Before emitting the signal mentioned, adds the '__qt_sender__' to the fresh
  9246. global object.
  9247. (qtSenderCallback):
  9248. Returns the JSObjectRef corresponding to the top of qtSenderStack.
  9249. (QWebFramePrivate::addQtSenderToGlobalObject):
  9250. Create a property with a qtSenderCallback as getter function in the global object.
  9251. 2011-05-25 Alexis Menard <alexis.menard@openbossa.org>
  9252. Reviewed by Eric Carlson.
  9253. [Qt] Enable usage of QuickTime mediaplayer for the Qt port on Mac.
  9254. https://bugs.webkit.org/show_bug.cgi?id=61279
  9255. Enable the usage of QuickTime backend for the Qt port. It can be enabled by
  9256. passing DEFINES+=USE_QTKIT=1 when calling build-webkit.
  9257. * Api/qwebpage.cpp:
  9258. (QWebPagePrivate::QWebPagePrivate):
  9259. * QtWebKit.pro:
  9260. * WebCoreSupport/FullScreenVideoQt.cpp:
  9261. (WebCore::FullScreenVideoQt::enterFullScreenForNode):
  9262. (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
  9263. (WebCore::FullScreenVideoQt::isValid):
  9264. * WebCoreSupport/WebSystemInterface.h: Added.
  9265. * WebCoreSupport/WebSystemInterface.mm: Added.
  9266. (InitWebCoreSystemInterface):
  9267. 2011-05-25 Qi Zhang <qi.2.zhang@nokia.com>
  9268. Reviewed by Andreas Kling.
  9269. [Qt] fast/css/disabled-author-styles.html failed
  9270. https://bugs.webkit.org/show_bug.cgi?id=61438
  9271. Provided API setAuthorAndUserStylesEnabled for DumpRenderTree.
  9272. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9273. (DumpRenderTreeSupportQt::setAuthorAndUserStylesEnabled):
  9274. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9275. 2011-05-24 Adam Barth <abarth@webkit.org>
  9276. Reviewed by Eric Seidel.
  9277. Add FIXME comments about removing FrameLoader::isProcessingUserGesture
  9278. https://bugs.webkit.org/show_bug.cgi?id=61395
  9279. * WebCoreSupport/FrameLoaderClientQt.cpp:
  9280. (drtPrintFrameUserGestureStatus):
  9281. 2011-05-23 Luiz Agostini <luiz.agostini@openbossa.org>
  9282. Reviewed by Andreas Kling.
  9283. [Qt] When opening a combo-box the popup renders badly.
  9284. https://bugs.webkit.org/show_bug.cgi?id=61288
  9285. Removing combobox palette changes from QtFallbackWebPopup::show() because they
  9286. are causing rendering problems for some styles.
  9287. The changes in palette are not needed because the background and foreground
  9288. colors are already set by QStandardItem::setBackground() and QStandardItem::setForeground()
  9289. in method QtFallbackWebPopup::populate().
  9290. * WebCoreSupport/QtFallbackWebPopup.cpp:
  9291. (WebCore::QtFallbackWebPopup::show):
  9292. 2011-05-23 Joe Wild <joseph.wild@nokia.com>
  9293. Reviewed by Andreas Kling.
  9294. [Qt] The Qt WebKit Symbian .def file needs to be updated so Symbian will build
  9295. https://bugs.webkit.org/show_bug.cgi?id=61200
  9296. * symbian/eabi/QtWebKitu.def:
  9297. 2011-05-22 Hui Huang <hui.2.huang@nokia.com>, Yi Shen <yi.4.shen@nokia.com>
  9298. Reviewed by Laszlo Gombos.
  9299. [Qt] Upstream Symbian platform plugin
  9300. https://bugs.webkit.org/show_bug.cgi?id=58435
  9301. Upstream Symbian platform plugin with html5 video player.
  9302. * symbian/platformplugin/HTML5VideoPlugin.cpp: Added.
  9303. (HTML5FullScreenVideoHandler::HTML5FullScreenVideoHandler):
  9304. (HTML5FullScreenVideoHandler::enterFullScreen):
  9305. (HTML5FullScreenVideoHandler::exitFullScreen):
  9306. (HTML5FullScreenVideoHandler::onPlayerError):
  9307. (HTML5FullScreenVideoHandler::onPlayerStateChanged):
  9308. (HTML5FullScreenVideoHandler::onMediaStatusChanged):
  9309. (HTML5VideoPlugin::supportsExtension):
  9310. (HTML5VideoPlugin::createExtension):
  9311. * symbian/platformplugin/HTML5VideoPlugin.h: Added.
  9312. (HTML5FullScreenVideoHandler::requiresFullScreenForVideoPlayback):
  9313. (HTML5FullScreenVideoHandler::isFullScreen):
  9314. (HTML5FullScreenVideoHandler::updateScreenRect):
  9315. * symbian/platformplugin/HTML5VideoWidget.cpp: Added.
  9316. (HTML5VideoWidget::HTML5VideoWidget):
  9317. (HTML5VideoWidget::setDuration):
  9318. (HTML5VideoWidget::mousePressEvent):
  9319. (HTML5VideoWidget::onPlayerStopped):
  9320. (HTML5VideoWidget::onPlayerError):
  9321. (HTML5VideoWidget::onEndOfMedia):
  9322. (HTML5VideoWidget::onBufferingMedia):
  9323. (HTML5VideoWidget::onBufferedMedia):
  9324. (HTML5VideoWidget::onControlClicked):
  9325. (HTML5VideoWidget::onPositionChanged):
  9326. (HTML5VideoWidget::onSliderMoved):
  9327. (HTML5VideoWidget::onCloseClicked):
  9328. (HTML5VideoWidget::showFullScreen):
  9329. (HTML5VideoWidget::setVolume):
  9330. * symbian/platformplugin/HTML5VideoWidget.h: Added.
  9331. * symbian/platformplugin/OverlayWidget.cpp: Added.
  9332. (OverlayWidget::OverlayWidget):
  9333. (OverlayWidget::~OverlayWidget):
  9334. (OverlayWidget::setDuration):
  9335. (OverlayWidget::setPosition):
  9336. (OverlayWidget::setVolume):
  9337. (OverlayWidget::mousePressEvent):
  9338. (OverlayWidget::onPlayerStopped):
  9339. (OverlayWidget::onPlayerError):
  9340. (OverlayWidget::onEndOfMedia):
  9341. (OverlayWidget::onBufferingMedia):
  9342. (OverlayWidget::onBufferedMedia):
  9343. (OverlayWidget::timeToString):
  9344. (OverlayWidget::applyStyleSheet):
  9345. (OverlayWidget::onControlClicked):
  9346. (OverlayWidget::onSliderMoved):
  9347. (OverlayWidget::onSoundClicked):
  9348. (OverlayWidget::onCloseClicked):
  9349. (OverlayWidget::onVolumeSliderReleased):
  9350. (OverlayWidget::onVolumeSliderMoved):
  9351. (OverlayWidget::onTimerTimeout):
  9352. (OverlayWidget::showFullScreen):
  9353. * symbian/platformplugin/OverlayWidget.h: Added.
  9354. * symbian/platformplugin/PlayerButton.cpp: Added.
  9355. (PlayerButton::PlayerButton):
  9356. (PlayerButton::event):
  9357. * symbian/platformplugin/PlayerButton.h: Added.
  9358. * symbian/platformplugin/PlayerLabel.cpp: Added.
  9359. (PlayerLabel::PlayerLabel):
  9360. (PlayerLabel::onPlayerError):
  9361. (PlayerLabel::startBufferingAnimation):
  9362. (PlayerLabel::stopBufferingAnimation):
  9363. (PlayerLabel::onAnimationTimeout):
  9364. * symbian/platformplugin/PlayerLabel.h: Added.
  9365. * symbian/platformplugin/WebPlugin.cpp:
  9366. (WebPlugin::createExtension):
  9367. * symbian/platformplugin/images: Added.
  9368. * symbian/platformplugin/images/button_cannotplay.png: Added.
  9369. * symbian/platformplugin/images/button_close.png: Added.
  9370. * symbian/platformplugin/images/button_pause.png: Added.
  9371. * symbian/platformplugin/images/button_play.png: Added.
  9372. * symbian/platformplugin/images/button_sound_off.png: Added.
  9373. * symbian/platformplugin/images/button_sound_on.png: Added.
  9374. * symbian/platformplugin/images/loading_buffering_1.png: Added.
  9375. * symbian/platformplugin/images/loading_buffering_2.png: Added.
  9376. * symbian/platformplugin/images/loading_buffering_3.png: Added.
  9377. * symbian/platformplugin/images/loading_buffering_4.png: Added.
  9378. * symbian/platformplugin/platformplugin.pro:
  9379. * symbian/platformplugin/platformplugin.qrc: Added.
  9380. * symbian/platformplugin/qss: Added.
  9381. * symbian/platformplugin/qss/OverlayWidget.qss: Added.
  9382. 2011-05-22 Robert Hogan <robert@webkit.org>
  9383. Reviewed by Kenneth Rohde Christiansen.
  9384. Fix policyDelegate in Qt DRT
  9385. https://bugs.webkit.org/show_bug.cgi?id=61247
  9386. Use the 'policy delegate' implemented in FrameLoaderClient
  9387. for layout tests. The partial implementation in DumpRenderTreeQt
  9388. is redundant.
  9389. * WebCoreSupport/FrameLoaderClientQt.cpp:
  9390. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
  9391. 2011-05-22 Andrew Wason <rectalogic@rectalogic.com>
  9392. Reviewed by Benjamin Poulain.
  9393. [Qt] Implement toImageData() in QtWebKit Bridge
  9394. https://bugs.webkit.org/show_bug.cgi?id=60897
  9395. * docs/qtwebkit-bridge.qdoc:
  9396. * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp:
  9397. (wrapInFunction):
  9398. Document Qt bridge toImageData() feature.
  9399. * tests/hybridPixmap/test.html:
  9400. * tests/hybridPixmap/widget.cpp:
  9401. (Widget::Widget):
  9402. (Widget::abcImage):
  9403. * tests/hybridPixmap/widget.h:
  9404. Add tests for Qt bridge toImageData() feature.
  9405. 2011-05-20 Simon Fraser <simon.fraser@apple.com>
  9406. Reviewed by Sam Weinig.
  9407. numberOfActiveAnimations() can include animations from documents in the page cache
  9408. https://bugs.webkit.org/show_bug.cgi?id=53641
  9409. Pass the Frame's document as the one to count animations on.
  9410. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9411. (DumpRenderTreeSupportQt::numberOfActiveAnimations):
  9412. 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
  9413. Reviewed by Benjamin Poulain.
  9414. [Qt] tst_QWebElement::style() fails because QWebElement::InlineStyle doesn't work as expected
  9415. https://bugs.webkit.org/show_bug.cgi?id=60372
  9416. * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail.
  9417. (tst_QWebElement::style):
  9418. 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
  9419. Reviewed by Benjamin Poulain.
  9420. [Qt] Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
  9421. https://bugs.webkit.org/show_bug.cgi?id=61042
  9422. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Mark failing test cases as expected fails.
  9423. (tst_QDeclarativeWebView::basicProperties):
  9424. (tst_QDeclarativeWebView::historyNav):
  9425. 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
  9426. Reviewed by Benjamin Poulain.
  9427. [Qt] Fix tst_QWebPage::testOptionalJSObjects() autotest
  9428. https://bugs.webkit.org/show_bug.cgi?id=61045
  9429. * tests/qwebpage/tst_qwebpage.cpp:
  9430. (tst_QWebPage::testOptionalJSObjects): Mark failing test cases as expected fails.
  9431. 2011-05-20 Peter Varga <pvarga@webkit.org>
  9432. Reviewed by Simon Hausmann.
  9433. [Qt][V8] Use qtscript-staging's shipped version of V8 when building with --v8
  9434. https://bugs.webkit.org/show_bug.cgi?id=56649
  9435. Use the provided V8 and functionality of
  9436. http://qt.gitorious.org/+qt-developers/qt/qtscript-staging to build QtWebKit+V8.
  9437. Based on the original patch of Andras Becsi <abecsi@webkit.org>.
  9438. * Api/qwebframe.cpp:
  9439. (QWebFrame::addToJavaScriptWindowObject): Fix QString deprecated
  9440. warning.
  9441. * QtWebKit.pro: Adding the V8 library should happen in the final build
  9442. step.
  9443. * WebCoreSupport/ChromeClientQt.cpp: Add missing head.
  9444. * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Ditto.
  9445. 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
  9446. Reviewed by Benjamin Poulain.
  9447. [Qt]Fix tst_QWebFrame::setUrlToInvalid() autotest after r84762
  9448. https://bugs.webkit.org/show_bug.cgi?id=59345
  9449. * tests/qwebframe/tst_qwebframe.cpp:
  9450. (tst_QWebFrame::setUrlToInvalid): Mark failing test cases as expected fails.
  9451. 2011-05-19 Zsolt Fehér <h490267@stud.u-szeged.hu>
  9452. Reviewed by Csaba Osztrogonác.
  9453. [Qt] Implement eventSender.scalePageBy
  9454. https://bugs.webkit.org/show_bug.cgi?id=60015
  9455. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9456. (DumpRenderTreeSupportQt::scalePageBy):
  9457. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9458. 2011-05-18 Yi Shen <yi.4.shen@nokia.com>
  9459. Reviewed by Andreas Kling.
  9460. [Qt] Enterkey to go to Newline does not work in the text area(in HTML form)
  9461. https://bugs.webkit.org/show_bug.cgi?id=33179
  9462. Remove the implementation of the handleInputMethodKeydown, which introduces
  9463. a regression(r82243) on Linux. Also, add more Api tests for the EnterKey event.
  9464. * WebCoreSupport/EditorClientQt.cpp:
  9465. (WebCore::EditorClientQt::handleInputMethodKeydown): Remove implementation.
  9466. * tests/qwebpage/tst_qwebpage.cpp:
  9467. (tst_QWebPage::inputMethods): Add more tests.
  9468. 2011-05-18 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
  9469. Reviewed by Csaba Osztrogonác.
  9470. [Qt] Implement layoutTestController.setValueForUser()
  9471. https://bugs.webkit.org/show_bug.cgi?id=60956
  9472. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9473. (DumpRenderTreeSupportQt::setValueForUser):
  9474. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9475. 2011-05-16 Robert Hogan <robert@webkit.org>
  9476. Reviewed by Kenneth Rohde Christiansen.
  9477. plugins/invalidate_rect.html fails on linux ports
  9478. Add ChromeClientQt::allowsAcceleratedCompositing().
  9479. https://bugs.webkit.org/show_bug.cgi?id=54051
  9480. * WebCoreSupport/ChromeClientQt.cpp:
  9481. (WebCore::ChromeClientQt::allowsAcceleratedCompositing):
  9482. * WebCoreSupport/ChromeClientQt.h:
  9483. 2011-05-17 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  9484. Reviewed by Andreas Kling.
  9485. [Qt] Simplify syntax in test code to make prepare-ChangeLog less confused
  9486. https://bugs.webkit.org/show_bug.cgi?id=60978
  9487. Backslash to escape newlines was confusing both prepare-ChangeLog and the
  9488. QtCreator highlight system.
  9489. * tests/qwebframe/tst_qwebframe.cpp:
  9490. (tst_QWebFrame::evalJSV):
  9491. Remove usage of backslash to escape newlines in string literal.
  9492. 2011-05-17 Young Han Lee <joybro@company100.net>
  9493. Reviewed by Csaba Osztrogonác.
  9494. [Texmap][Qt] Enable strict PassOwnPtr for Qt with texmap enabled.
  9495. https://bugs.webkit.org/show_bug.cgi?id=60947
  9496. * WebCoreSupport/PageClientQt.cpp:
  9497. (WebCore::PageClientQWidget::setRootGraphicsLayer):
  9498. 2011-05-16 Jon Lee <jonlee@apple.com>
  9499. Reviewed by Simon Fraser.
  9500. Can't horizontally scroll iframes and overflow because wheel events are always accepted
  9501. https://bugs.webkit.org/show_bug.cgi?id=60779
  9502. * WebCoreSupport/ChromeClientQt.h:
  9503. (WebCore::ChromeClientQt::shouldRubberBandInDirection): Default impl of new ChromeClient method
  9504. (WebCore::ChromeClientQt::numWheelEventHandlersChanged): Default impl of new ChromeClient method
  9505. 2011-05-16 Andreas Kling <kling@webkit.org>
  9506. Reviewed by Kenneth Rohde Christiansen.
  9507. REGRESSION(r83820): [Qt] Accelerated compositing no longer works in QGraphicsWebView.
  9508. https://bugs.webkit.org/show_bug.cgi?id=60892
  9509. Don't set the ItemClipsChildrenToShape flag for the root platform layer,
  9510. since that is now the overflow controls layer. The clip layer, which was
  9511. previously the root platform layer, already gets the flag by way of
  9512. the GraphicsLayer mask-to-bounds flag.
  9513. * WebCoreSupport/PageClientQt.cpp:
  9514. (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
  9515. 2011-05-16 Adam Barth <abarth@webkit.org>
  9516. Partial revert of r86537. FullScreenVideoQt.h can't depend on OwnPtr.h
  9517. because moc_FullScreenVideoQt.cpp fails to include config.h.
  9518. Apparently, having moc_FullScreenVideoQt.cpp properly include config.h
  9519. is hard, so we're going back to manual new and delete for this class.
  9520. Bad times.
  9521. * WebCoreSupport/FullScreenVideoQt.cpp:
  9522. (WebCore::FullScreenVideoQt::FullScreenVideoQt):
  9523. (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
  9524. * WebCoreSupport/FullScreenVideoQt.h:
  9525. 2011-05-16 Adam Barth <abarth@webkit.org>
  9526. Sigh. This code is somewhat crazy.
  9527. * WebCoreSupport/InspectorClientQt.cpp:
  9528. (WebCore::InspectorClientQt::openInspectorFrontend):
  9529. 2011-05-16 Adam Barth <abarth@webkit.org>
  9530. Attempt to fix Qt build. (Strict PassOwnPtr fix.)
  9531. This patch requires some slightly fancy footwork.
  9532. * WebCoreSupport/InspectorClientQt.cpp:
  9533. (WebCore::InspectorClientQt::openInspectorFrontend):
  9534. (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt):
  9535. 2011-05-16 Adam Barth <abarth@webkit.org>
  9536. Missing include.
  9537. * WebCoreSupport/PopupMenuQt.h:
  9538. 2011-05-16 Adam Barth <abarth@webkit.org>
  9539. [Qt] QtPlatformPlugin create methods should use PassOwnPtr
  9540. https://bugs.webkit.org/show_bug.cgi?id=60873
  9541. This change is slightly more than a build fix because the patch kind of
  9542. spidered a bit while I was trying to fix the build the "right way."
  9543. Hopefully nothing here is controversial.
  9544. * Api/qwebpage.cpp:
  9545. (QWebPagePrivate::adjustPointForClicking):
  9546. * WebCoreSupport/ChromeClientQt.cpp:
  9547. (WebCore::ChromeClientQt::createSelectPopup):
  9548. * WebCoreSupport/FullScreenVideoQt.cpp:
  9549. (WebCore::FullScreenVideoQt::FullScreenVideoQt):
  9550. (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
  9551. * WebCoreSupport/FullScreenVideoQt.h:
  9552. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  9553. (WebCore::NotificationWrapper::NotificationWrapper):
  9554. (WebCore::NotificationPresenterClientQt::displayNotification):
  9555. * WebCoreSupport/PopupMenuQt.cpp:
  9556. (WebCore::PopupMenuQt::PopupMenuQt):
  9557. (WebCore::PopupMenuQt::~PopupMenuQt):
  9558. (WebCore::PopupMenuQt::show):
  9559. * WebCoreSupport/PopupMenuQt.h:
  9560. * WebCoreSupport/QtPlatformPlugin.cpp:
  9561. (WebCore::QtPlatformPlugin::createSelectInputMethod):
  9562. (WebCore::QtPlatformPlugin::createNotificationPresenter):
  9563. (WebCore::QtPlatformPlugin::createHapticFeedbackPlayer):
  9564. (WebCore::QtPlatformPlugin::createTouchModifier):
  9565. (WebCore::QtPlatformPlugin::createFullScreenVideoHandler):
  9566. * WebCoreSupport/QtPlatformPlugin.h:
  9567. (WebCore::QtPlatformPlugin::QtPlatformPlugin):
  9568. 2011-05-15 Adam Barth <abarth@webkit.org>
  9569. Attempt to fix the Qt build. (Strict PassOwnPtr fix.)
  9570. * Api/qgraphicswebview.cpp:
  9571. (QGraphicsWebViewPrivate::detachCurrentPage):
  9572. (QGraphicsWebView::setPage):
  9573. * Api/qwebpage.cpp:
  9574. (QWebPage::setView):
  9575. 2011-05-15 Sheriff Bot <webkit.review.bot@gmail.com>
  9576. Unreviewed, rolling out r86504.
  9577. http://trac.webkit.org/changeset/86504
  9578. https://bugs.webkit.org/show_bug.cgi?id=60853
  9579. "Broke Qt EventSender in editing/selection tests" (Requested
  9580. by mwenge on #webkit).
  9581. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9582. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9583. 2011-05-12 Robert Hogan <robert@webkit.org>
  9584. Reviewed by Benjamin Poulain.
  9585. [Qt] fix http/tests/plugins/plugin-document-has-focus.html
  9586. https://bugs.webkit.org/show_bug.cgi?id=60722
  9587. QWebPage::setView() will display the browser window, so
  9588. implement a private version that does just enough to
  9589. satisfy EventSender's requirement to install an event
  9590. filter on a page's web view.
  9591. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9592. (DumpRenderTreeSupportQt::setView):
  9593. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9594. 2011-05-13 Sheriff Bot <webkit.review.bot@gmail.com>
  9595. Unreviewed, rolling out r86447.
  9596. http://trac.webkit.org/changeset/86447
  9597. https://bugs.webkit.org/show_bug.cgi?id=60809
  9598. "Broke some uses of EventSender object on Qt" (Requested by
  9599. mwenge on #webkit).
  9600. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9601. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9602. 2011-05-13 Sam Weinig <sam@webkit.org>
  9603. Reviewed by Anders Carlsson.
  9604. Prune #includes from FrameView.h (Part 2)
  9605. https://bugs.webkit.org/show_bug.cgi?id=60748
  9606. - Update files that were depending on FrameView.h #including Frame.h or
  9607. Page.h.
  9608. * Api/qgraphicswebview.cpp:
  9609. * WebCoreSupport/ChromeClientQt.cpp:
  9610. 2011-05-13 Robert Hogan <robert@webkit.org>
  9611. Reviewed by Benjamin Poulain.
  9612. [Qt] fix http/tests/plugins/plugin-document-has-focus.html
  9613. https://bugs.webkit.org/show_bug.cgi?id=60722
  9614. QWebPage::setView() will display the browser window, so
  9615. implement a private version that does just enough to
  9616. satisfy EventSender's requirement to install an event
  9617. filter on a page's web view.
  9618. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9619. (DumpRenderTreeSupportQt::setView):
  9620. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9621. 2011-05-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  9622. Reviewed by nobody, build fix.
  9623. [Qt] Fix build on MSVC.
  9624. qobject_cast<> requires the class to be exported on MSVC,
  9625. removing it since the code that needs it is commented out for
  9626. the same reason.
  9627. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  9628. (tst_QDeclarativeWebView::elementAreaAt):
  9629. 2011-05-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  9630. Reviewed by nobody, build fix.
  9631. [Qt] Fix build on MSVC by only enabling tst_MIMESniffing on linux.
  9632. * tests/tests.pro:
  9633. 2011-05-12 Young Han Lee <joybro@company100.net>
  9634. Reviewed by Kenneth Rohde Christiansen.
  9635. [Qt] Implement layoutTestController.layerTreeAsText()
  9636. https://bugs.webkit.org/show_bug.cgi?id=60367
  9637. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9638. (DumpRenderTreeSupportQt::layerTreeAsText):
  9639. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9640. 2011-05-11 Noam Rosenthal <noam.rosenthal@nokia.com>
  9641. Reviewed by Kenneth Rohde Christiansen.
  9642. [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
  9643. https://bugs.webkit.org/show_bug.cgi?id=60439
  9644. Patch 10/12: Glue the TextureMapper refactoring into Webkit(1).
  9645. 1. Pass a GraphicsLayer* instead of a PlatformLayer* to the QWebPageClient.
  9646. 2. Set parameters in TextureMapper/TextureMapperNode instead of passing them in an options argument.
  9647. 3. Rename PlatformLayerProxyQt to TextureMapperNodeClient
  9648. * Api/qwebframe.cpp:
  9649. (QWebFramePrivate::renderCompositedLayers):
  9650. * Api/qwebframe.h:
  9651. * Api/qwebframe_p.h:
  9652. (QWebFramePrivate::QWebFramePrivate):
  9653. * WebCoreSupport/ChromeClientQt.cpp:
  9654. (WebCore::ChromeClientQt::attachRootGraphicsLayer):
  9655. * WebCoreSupport/PageClientQt.cpp:
  9656. (WebCore::TextureMapperNodeClientQt::TextureMapperNodeClientQt):
  9657. (WebCore::TextureMapperNodeClientQt::scroll):
  9658. (WebCore::TextureMapperNodeClientQt::setTextureMapper):
  9659. (WebCore::TextureMapperNodeClientQt::~TextureMapperNodeClientQt):
  9660. (WebCore::TextureMapperNodeClientQt::computeLastModifiedRect):
  9661. (WebCore::TextureMapperNodeClientQt::syncRootLayer):
  9662. (WebCore::TextureMapperNodeClientQt::rootNode):
  9663. (WebCore::PageClientQWidget::setRootGraphicsLayer):
  9664. (WebCore::PageClientQWidget::syncLayers):
  9665. (WebCore::PageClientQWidget::~PageClientQWidget):
  9666. (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
  9667. (WebCore::PageClientQGraphicsWidget::update):
  9668. (WebCore::PageClientQGraphicsWidget::syncLayers):
  9669. (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
  9670. (WebCore::PageClientQGraphicsWidget::markForSync):
  9671. * WebCoreSupport/PageClientQt.h:
  9672. (WebCore::PageClientQWidget::PageClientQWidget):
  9673. (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
  9674. (WebCore::PageClientQGraphicsWidget::syncLayersTimeout):
  9675. 2011-05-11 Noam Rosenthal <noam.rosenthal@nokia.com>
  9676. Reviewed by Kenneth Rohde Christiansen.
  9677. [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
  9678. https://bugs.webkit.org/show_bug.cgi?id=60439
  9679. Patch 4/12: Update the settings to enable accelerated compositing for all the relevant settings
  9680. attributes.
  9681. * Api/qwebsettings.cpp:
  9682. (qt_networkAccessAllowed):
  9683. (QWebSettingsPrivate::apply):
  9684. 2011-05-11 Sam Weinig <sam@webkit.org>
  9685. Reviewed by Eric Seidel.
  9686. Stop including Console.h just to get Console enum types
  9687. https://bugs.webkit.org/show_bug.cgi?id=60607
  9688. Move MessageSource, MessageType and MessageLevel into its own
  9689. header and cleanup surrounding classes.
  9690. * Api/qwebelement.cpp:
  9691. 2011-05-10 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
  9692. Reviewed by Csaba Osztrogonác.
  9693. [Qt] Increment QtWebKit trunk version to 4.10.0
  9694. https://bugs.webkit.org/show_bug.cgi?id=60549
  9695. QtWebKit-2.2 (branched) will be 4.9.0, so we need to
  9696. increase the trunk version by 1.
  9697. * qt_webkit_version.pri:
  9698. 2011-05-10 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
  9699. Reviewed by Csaba Osztrogonác.
  9700. [Qt] tst_QWebPage creates temporary files in the current working dir
  9701. https://bugs.webkit.org/show_bug.cgi?id=60497
  9702. tst_QWebPage was using QDir::currentPath when creating temporary dirs
  9703. and leaving them after the test was run. I basically borrowed the fix
  9704. from tst_QDeclarativeWebView.
  9705. * tests/qwebpage/tst_qwebpage.cpp:
  9706. (removeRecursive):
  9707. (tst_QWebPage::tmpDirPath):
  9708. (tst_QWebPage::cleanupFiles):
  9709. (tst_QWebPage::database):
  9710. (tst_QWebPage::multiplePageGroupsAndLocalStorage):
  9711. 2011-05-09 Chang Shu <cshu@webkit.org>
  9712. Reviewed by Kenneth Rohde Christiansen.
  9713. [Qt] DumpRenderTreeQt needs an implementation of unmarkText
  9714. https://bugs.webkit.org/show_bug.cgi?id=60499
  9715. The implementation is similar to gtk.
  9716. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9717. (DumpRenderTreeSupportQt::confirmComposition):
  9718. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9719. 2011-05-07 Joe Mason <jmason@rim.com>
  9720. Reviewed by Daniel Bates.
  9721. FrameLoader::isProcessingUserGesture is wrong in dispatchWillPerformClientRedirect
  9722. https://bugs.webkit.org/show_bug.cgi?id=52211
  9723. Dump isUserProcessingGesture in willPerformClientRedirect so that the layout tests can be extended.
  9724. * WebCoreSupport/FrameLoaderClientQt.cpp:
  9725. (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
  9726. 2011-05-06 Kent Tamura <tkent@chromium.org>
  9727. Reviewed by Ryosuke Niwa.
  9728. Eliminate WebCore/dom/InputElement.{cpp,h}
  9729. https://bugs.webkit.org/show_bug.cgi?id=60262
  9730. * Api/qwebpage.cpp:
  9731. (QWebPage::inputMethodQuery):
  9732. Replace InputElement::s_maximumLength with HTMLInputElement::maximumLength.
  9733. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9734. (DumpRenderTreeSupportQt::setAutofilled):
  9735. Follow the return type change of Node::toInputElement().
  9736. 2011-05-04 Philippe Normand <pnormand@igalia.com>
  9737. Reviewed by Dimitri Glazkov.
  9738. Implement LayoutTestController::pseudoShadowId()
  9739. https://bugs.webkit.org/show_bug.cgi?id=60034
  9740. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9741. (DumpRenderTreeSupportQt::shadowPseudoId):
  9742. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9743. 2011-05-05 Prasanth Ullattil <prasanth.ullattil@nokia.com>
  9744. Reviewed by Simon Hausmann.
  9745. Install correct header files for webkit.
  9746. Since WebKit is no longer inside Qt, we can remove the detection for
  9747. that.
  9748. [Qt] Install targets are not working correctly for modularized Qt and QtWebkit
  9749. https://bugs.webkit.org/show_bug.cgi?id=57621
  9750. * QtWebKit.pro:
  9751. 2011-05-05 Ryosuke Niwa <rniwa@webkit.org>
  9752. Reviewed by Eric Seidel.
  9753. Rename SelectionController to FrameSelection
  9754. https://bugs.webkit.org/show_bug.cgi?id=60234
  9755. * Api/qwebframe.cpp:
  9756. 2011-05-05 Alexis Menard <alexis.menard@openbossa.org>
  9757. Reviewed by Andreas Kling.
  9758. [Qt] RenderThemeQt and DumpRenderTreeSupportQt should use nullptr rather than 0.
  9759. https://bugs.webkit.org/show_bug.cgi?id=60224
  9760. We should use nullptr rather than 0. nullptr will be added in the new C++ standard
  9761. but WebKit already has a nullptr class if there is no c++0x support.
  9762. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9763. (DumpRenderTreeSupportQt::addUserStyleSheet):
  9764. 2011-05-04 Cris Neckar <cdn@chromium.org>
  9765. Reviewed by Adam Barth.
  9766. Expose WebView directly through ChromeClient.
  9767. https://bugs.webkit.org/show_bug.cgi?id=49902
  9768. * WebCoreSupport/ChromeClientQt.h:
  9769. (WebCore::ChromeClientQt::webView):
  9770. 2011-05-04 Alexis Menard <alexis.menard@openbossa.org>
  9771. Unreviewed warning fix.
  9772. The variable is just unused.
  9773. * tests/qwebpage/tst_qwebpage.cpp:
  9774. (tst_QWebPage::inputMethods):
  9775. 2011-05-04 Tao Bai <michaelbai@chromium.org>
  9776. Reviewed by David Kilzer.
  9777. Populate touch-icon url to FrameLoaderClient
  9778. https://bugs.webkit.org/show_bug.cgi?id=59143
  9779. Respect the interface change in FrameLoaderClient.
  9780. * WebCoreSupport/FrameLoaderClientQt.cpp:
  9781. (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
  9782. * WebCoreSupport/FrameLoaderClientQt.h:
  9783. 2011-03-31 Luiz Agostini <luiz.agostini@openbossa.org>
  9784. Reviewed by Kenneth Rohde Christiansen.
  9785. [Qt] Qt WebKit updates view on HTTP 204 response
  9786. https://bugs.webkit.org/show_bug.cgi?id=42529
  9787. Ignoring http responses which have status code equal to 204 (No Content)
  9788. or 205 (Reset Content).
  9789. * WebCoreSupport/FrameLoaderClientQt.cpp:
  9790. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
  9791. 2011-05-04 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  9792. Reviewed by Benjamin Poulain.
  9793. [Qt] Fix signals emitted in FakeReply used in autotests
  9794. https://bugs.webkit.org/show_bug.cgi?id=60049
  9795. The signals emitted for each case of FakeReply were swapped (error case
  9796. emitting metaDataChanged() and redirect case emitting error()). Emitting
  9797. readyRead() is not necessary.
  9798. * tests/qwebframe/tst_qwebframe.cpp:
  9799. (FakeReply::FakeReply):
  9800. Choose the different continue function for each case of FakeReply. This removes
  9801. the need of the if-statement in timeout() and let us replace timeout() with two
  9802. simpler functions.
  9803. (FakeReply::continueRedirect):
  9804. (FakeReply::continueError):
  9805. Continuation cases, emitting the minimal set of signals needed for each case.
  9806. 2011-05-03 Julien Chaffraix <jchaffraix@codeaurora.org>
  9807. Reviewed by Dimitri Glazkov.
  9808. Element:shadowRoot & Element::ensureShadowRoot should return ShadowRoot*
  9809. https://bugs.webkit.org/show_bug.cgi?id=58703
  9810. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9811. (DumpRenderTreeSupportQt::shadowRoot): Added #include for ShadowRoot.h.
  9812. 2011-05-03 Keith Kyzivat <keith.kyzivat@nokia.com>
  9813. Reviewed by Andreas Kling.
  9814. [Qt] QtDeclarative Webview element has a fixed white background
  9815. https://bugs.webkit.org/show_bug.cgi?id=40918
  9816. QProperty REVISION feature is not present in certain Qt Trunk clones.
  9817. These builds report their version as 4.8.0, and therefore break on the
  9818. prior #if QT_VERSION >= 0x040704. The proper fix is to check based on
  9819. the existance of Q_REVISION.
  9820. * declarative/plugin.cpp:
  9821. (WebKitQmlPlugin::registerTypes):
  9822. * declarative/qdeclarativewebview.cpp:
  9823. * declarative/qdeclarativewebview_p.h:
  9824. 2011-05-01 Sam Weinig <sam@webkit.org>
  9825. Reviewed by Anders Carlsson.
  9826. Prune some unnecessary #includes
  9827. https://bugs.webkit.org/show_bug.cgi?id=59895
  9828. Start getting rid of unnecessary #includes and forward declares.
  9829. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9830. 2011-04-29 Csaba Osztrogonác <ossy@webkit.org>
  9831. Reviewed by Adam Barth.
  9832. Enable strict OwnPtr for Qt
  9833. https://bugs.webkit.org/show_bug.cgi?id=59667
  9834. * Api/qwebpage.cpp:
  9835. (QWebPagePrivate::QWebPagePrivate):
  9836. 2011-04-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  9837. Reviewed by Simon Hausmann.
  9838. ENABLE(QT_BEARER) -> USE(QT_BEARER)
  9839. * Api/qwebsettings.cpp:
  9840. 2011-04-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  9841. Reviewed by Simon Hausmann.
  9842. ENABLE(QT_USERAGENT_DEVICEMODEL) -> USE(QT_MOBILITY_SYSTEMINFO)
  9843. * Api/qwebpage.cpp:
  9844. 2011-04-28 Yael Aharon <yael.aharon@nokia.com>
  9845. Reviewed by Andreas Kling.
  9846. Remove flag ENABLE_SYMBIAN_DIALOG_PROVIDER
  9847. https://bugs.webkit.org/show_bug.cgi?id=59704
  9848. * WebCoreSupport/QtFallbackWebPopup.cpp:
  9849. (WebCore::QtFallbackWebPopup::show):
  9850. * WebCoreSupport/QtFallbackWebPopup.h:
  9851. 2011-04-27 Yi Shen <yi.4.shen@nokia.com>
  9852. Reviewed by Kenneth Rohde Christiansen.
  9853. [Qt] Upstream Symbian platform plugin
  9854. https://bugs.webkit.org/show_bug.cgi?id=58435
  9855. Upstream Symbian platform plugin.
  9856. * QtWebKit.pro: Add platformplugin.dll to the QtWebKit.sis.
  9857. * symbian/platformplugin: Added.
  9858. * symbian/platformplugin/WebPlugin.cpp: Added.
  9859. (ItemListDelegate::ItemListDelegate):
  9860. (ItemListDelegate::paint):
  9861. (Popup::Popup):
  9862. (Popup::resizeEvent):
  9863. (Popup::populateList):
  9864. (Popup::onItemSelected):
  9865. (Popup::updateSelectionsBeforeDialogClosing):
  9866. (Popup::updateAndClose):
  9867. (WebPopup::WebPopup):
  9868. (WebPopup::~WebPopup):
  9869. (WebPopup::createSingleSelectionPopup):
  9870. (WebPopup::createMultipleSelectionPopup):
  9871. (WebPopup::createPopup):
  9872. (WebPopup::show):
  9873. (WebPopup::hide):
  9874. (WebPopup::popupClosed):
  9875. (WebPopup::itemClicked):
  9876. (SingleSelectionPopup::SingleSelectionPopup):
  9877. (MultipleSelectionPopup::MultipleSelectionPopup):
  9878. (WebNotificationPresenter::showNotification):
  9879. (WebPlugin::supportsExtension):
  9880. (WebPlugin::createExtension):
  9881. * symbian/platformplugin/WebPlugin.h: Added.
  9882. (Popup::preSelectedIndices):
  9883. (Popup::listWidget):
  9884. (WebNotificationPresenter::WebNotificationPresenter):
  9885. (WebNotificationPresenter::~WebNotificationPresenter):
  9886. * symbian/platformplugin/platformplugin.pro: Added.
  9887. * symbian/platformplugin/qwebkitplatformplugin.h: Copied from WebKit/qt/Api/qwebkitplatformplugin.h.
  9888. (QWebSelectData::~QWebSelectData):
  9889. (QWebSelectMethod::~QWebSelectMethod):
  9890. (QWebNotificationData::~QWebNotificationData):
  9891. (QWebNotificationPresenter::QWebNotificationPresenter):
  9892. (QWebNotificationPresenter::~QWebNotificationPresenter):
  9893. (QWebTouchModifier::~QWebTouchModifier):
  9894. (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
  9895. (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
  9896. (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
  9897. 2011-04-26 Yi Shen <yi.4.shen@nokia.com>
  9898. Reviewed by Tor Arne Vestbø.
  9899. [Qt][Symbian] Fix Api test failure -- tst_QWebFrame::setHtmlWithBaseURL
  9900. https://bugs.webkit.org/show_bug.cgi?id=56946
  9901. Deployed the missing resource for Symbian platform.
  9902. * tests/qwebframe/qwebframe.pro:
  9903. 2011-04-26 Siddharth Mathur <siddharth.mathur@nokia.com>
  9904. Reviewed by Andreas Kling.
  9905. [Qt] Build fix: QtDeclarative Webview element has a fixed white background
  9906. https://bugs.webkit.org/show_bug.cgi?id=40918
  9907. Macro Q_REVISION and associated qdeclarativeitem.h signals are not available in 4.7.3 headers in Nokia Qt SDK.
  9908. * declarative/plugin.cpp: Bump up required version to 4.7.4+
  9909. (WebKitQmlPlugin::registerTypes):
  9910. * declarative/qdeclarativewebview.cpp: ditto
  9911. * declarative/qdeclarativewebview_p.h: ditto
  9912. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: ditto
  9913. 2011-04-26 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
  9914. Reviewed by Csaba Osztrogonác.
  9915. [Qt] Implement LayoutTestController::setAutofilled
  9916. https://bugs.webkit.org/show_bug.cgi?id=59439
  9917. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  9918. (DumpRenderTreeSupportQt::setAutofilled):
  9919. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  9920. 2011-04-22 Sheriff Bot <webkit.review.bot@gmail.com>
  9921. Unreviewed, rolling out r84627.
  9922. http://trac.webkit.org/changeset/84627
  9923. https://bugs.webkit.org/show_bug.cgi?id=59271
  9924. It broke Symbian build (Requested by Ossy on #webkit).
  9925. * QtWebKit.pro:
  9926. * symbian/platformplugin/WebPlugin.cpp: Removed.
  9927. * symbian/platformplugin/WebPlugin.h: Removed.
  9928. * symbian/platformplugin/platformplugin.pro: Removed.
  9929. * symbian/platformplugin/qwebkitplatformplugin.h: Removed.
  9930. 2011-04-22 Sam Weinig <sam@webkit.org>
  9931. Fix qt build.
  9932. * Api/qwebelement.cpp:
  9933. (setupScriptContext):
  9934. 2011-04-22 Yi Shen <yi.4.shen@nokia.com>
  9935. Reviewed by Kenneth Rohde Christiansen.
  9936. [Qt] Upstream Symbian platform plugin
  9937. https://bugs.webkit.org/show_bug.cgi?id=58435
  9938. Upstream Symbian platform plugin.
  9939. * QtWebKit.pro: Add platformplugin.dll to the QtWebKit.sis.
  9940. * symbian/platformplugin: Added.
  9941. * symbian/platformplugin/WebPlugin.cpp: Added.
  9942. (ItemListDelegate::ItemListDelegate):
  9943. (ItemListDelegate::paint):
  9944. (Popup::Popup):
  9945. (Popup::resizeEvent):
  9946. (Popup::populateList):
  9947. (Popup::onItemSelected):
  9948. (Popup::updateSelectionsBeforeDialogClosing):
  9949. (Popup::updateAndClose):
  9950. (WebPopup::WebPopup):
  9951. (WebPopup::~WebPopup):
  9952. (WebPopup::createSingleSelectionPopup):
  9953. (WebPopup::createMultipleSelectionPopup):
  9954. (WebPopup::createPopup):
  9955. (WebPopup::show):
  9956. (WebPopup::hide):
  9957. (WebPopup::popupClosed):
  9958. (WebPopup::itemClicked):
  9959. (SingleSelectionPopup::SingleSelectionPopup):
  9960. (MultipleSelectionPopup::MultipleSelectionPopup):
  9961. (WebNotificationPresenter::showNotification):
  9962. (WebPlugin::supportsExtension):
  9963. (WebPlugin::createExtension):
  9964. * symbian/platformplugin/WebPlugin.h: Added.
  9965. (Popup::preSelectedIndices):
  9966. (Popup::listWidget):
  9967. (WebNotificationPresenter::WebNotificationPresenter):
  9968. (WebNotificationPresenter::~WebNotificationPresenter):
  9969. * symbian/platformplugin/platformplugin.pro: Added.
  9970. * symbian/platformplugin/qwebkitplatformplugin.h: Copied from WebKit/qt/Api/qwebkitplatformplugin.h.
  9971. (QWebSelectData::~QWebSelectData):
  9972. (QWebSelectMethod::~QWebSelectMethod):
  9973. (QWebNotificationData::~QWebNotificationData):
  9974. (QWebNotificationPresenter::QWebNotificationPresenter):
  9975. (QWebNotificationPresenter::~QWebNotificationPresenter):
  9976. (QWebTouchModifier::~QWebTouchModifier):
  9977. (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
  9978. (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
  9979. (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
  9980. 2011-04-21 Ryosuke Niwa <rniwa@webkit.org>
  9981. Reviewed by Sam Weinig.
  9982. Add Frame* to the argument lists of canCopyCut and canPaste
  9983. https://bugs.webkit.org/show_bug.cgi?id=59153
  9984. * WebCoreSupport/EditorClientQt.cpp:
  9985. (WebCore::EditorClientQt::canCopyCut):
  9986. (WebCore::EditorClientQt::canPaste):
  9987. * WebCoreSupport/EditorClientQt.h:
  9988. 2011-04-21 Yi Shen <yi.4.shen@nokia.com>
  9989. Reviewed by Antonio Gomes.
  9990. [Qt] Fix the style issue for Api/qwebkitplatformplugin.h
  9991. https://bugs.webkit.org/show_bug.cgi?id=59097
  9992. Fix the style issues for Api/qwebkitplatformplugin.h found by the webkit-check-style.
  9993. * Api/qwebkitplatformplugin.h:
  9994. 2011-04-21 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  9995. Reviewed by Csaba Osztrogonác.
  9996. [Qt] REGRESSION(84057): It made 4 API tests fail
  9997. https://bugs.webkit.org/show_bug.cgi?id=58848
  9998. After MIME sniffing support was added, some autotests are failing because
  9999. the sniffer doesn't recognize our HTML pages.
  10000. This fixes tst_QWebPage::backActionUpdate(), tst_QWebPage::errorPageExtensionInFrameset()
  10001. and tst_QWebFrame::horizontalScrollAfterBack().
  10002. * tests/qwebframe/resources/testiframe.html:
  10003. * tests/qwebframe/resources/testiframe2.html:
  10004. Remove spurious </html> in beginning of the document.
  10005. * tests/qwebpage/resources/framedindex.html:
  10006. * tests/qwebpage/resources/index.html:
  10007. Add <html> (and </html>) tags, <frameset> is not recognized by the sniffer as a
  10008. possible starting tag for HTML document.
  10009. * tests/qwebpage/tst_qwebpage.cpp:
  10010. (tst_QWebPage::errorPageExtensionInFrameset):
  10011. Verify if we do have a main frame and the main frame has the children frames we
  10012. expect. This will avoid crashing if for some reason children frames are not
  10013. loaded.
  10014. 2011-04-20 Dominic Cooney <dominicc@chromium.org>
  10015. Reviewed by Dimitri Glazkov.
  10016. layoutTestController can create and destroy shadow DOM
  10017. https://bugs.webkit.org/show_bug.cgi?id=59058
  10018. Support for new methods in Qt DRT.
  10019. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  10020. (DumpRenderTreeSupportQt::ensureShadowRoot):
  10021. (DumpRenderTreeSupportQt::removeShadowRoot):
  10022. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  10023. 2011-04-20 Balazs Kelemen <kbalazs@webkit.org>
  10024. Reviewed by Csaba Osztrogonác.
  10025. [Qt] Cleanup includepath adjustment for generated files
  10026. https://bugs.webkit.org/show_bug.cgi?id=58869
  10027. * QtWebKit.pro: Revert the hacky fix in r84174. Remove
  10028. unnecessary logic.
  10029. 2011-04-19 Yi Shen <yi.4.shen@nokia.com>
  10030. Reviewed by Andreas Kling.
  10031. [Qt][Symbian] Fix Api test failure -- tst_QWebView::setPalette()
  10032. https://bugs.webkit.org/show_bug.cgi?id=57254
  10033. Skip test for setPalette() which doesn't work
  10034. when WTF_USE_QT_MOBILE_THEME is defined.
  10035. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  10036. * tests/qwebview/tst_qwebview.cpp:
  10037. * tests/tests.pri:
  10038. 2011-04-19 Yi Shen <yi.4.shen@nokia.com>
  10039. Reviewed by Laszlo Gombos.
  10040. [Qt][Symbian] Fix Api test failure -- tst_QGraphicsWebView::widgetsRenderingThroughCache
  10041. https://bugs.webkit.org/show_bug.cgi?id=58044
  10042. Fixing this test by disabling the scrollbars on the graphics view
  10043. since QtWebKit handles scrolling and scrollbar automatically and correctly.
  10044. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  10045. (tst_QGraphicsWebView::widgetsRenderingThroughCache):
  10046. 2011-04-19 Igor Oliveira <igor.oliveira@openbossa.org>
  10047. Reviewed by Andreas Kling.
  10048. [Qt] X11: Text selection is causing oncopy event to be called
  10049. https://bugs.webkit.org/show_bug.cgi?id=58656
  10050. Always when text is selected the oncopy event is fired, this behavior does
  10051. not exist in Firefox or Chrome. Now, when selecting a text, QtWebKit
  10052. is making multi part-copies (with rich text metadata), the multi-part
  10053. data can be obtained by data transfer items interface when supported by QtWebKit.
  10054. Also, copies to the clipboard of a selected image, is not supported by Chrome and
  10055. Firefox and was removed from QtWebKit.
  10056. * Api/qwebpage.cpp:
  10057. (QWebPagePrivate::handleClipboard):
  10058. 2011-04-18 Csaba Osztrogonác <ossy@webkit.org>
  10059. [Qt][WK2] Unreviewed buildfix after r84174.
  10060. * QtWebKit.pro: Missing includepath added.
  10061. 2011-04-18 Yi Shen <yi.4.shen@nokia.com>
  10062. Reviewed by Laszlo Gombos.
  10063. [Qt][Symbian] Fix Api test failure -- tst_QWebFrame::inputFieldFocus
  10064. https://bugs.webkit.org/show_bug.cgi?id=57546
  10065. Disable the fullscreen VKB when testing inputFieldFocus().
  10066. * tests/qwebframe/tst_qwebframe.cpp:
  10067. 2011-04-18 Andreas Kling <kling@webkit.org>
  10068. [Qt] DRT: Unreviewed test fix after r84168.
  10069. Dump the original request KURL for blocked access attempts.
  10070. Turns out converting it to a QUrl lower-cases the hostname.
  10071. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10072. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  10073. 2011-04-18 Yi Shen <yi.4.shen@nokia.com>
  10074. Reviewed by Laszlo Gombos.
  10075. [Qt] Fix Api tests for QWebPage on Symbian
  10076. https://bugs.webkit.org/show_bug.cgi?id=56924
  10077. Ignores the style attribute that selectedHtml() returns.
  10078. * tests/qwebpage/tst_qwebpage.cpp:
  10079. (tst_QWebPage::cursorMovements):
  10080. (tst_QWebPage::textSelection):
  10081. (tst_QWebPage::findText):
  10082. 2011-04-18 Andreas Kling <kling@webkit.org>
  10083. Reviewed by Adam Barth.
  10084. REGRESSION (r84010): [Qt] DRT: Unbreak redirection of http:/ URLs.
  10085. https://bugs.webkit.org/show_bug.cgi?id=58779
  10086. KURL::host() doesn't return the host part of [broken] http:/ URLs, so use
  10087. QUrl instead to match the behavior of other ports.
  10088. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10089. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  10090. 2011-04-18 Dominic Cooney <dominicc@chromium.org>
  10091. Reviewed by Andreas Kling.
  10092. Add layoutTestController.shadowRoot to Qt DRT.
  10093. https://bugs.webkit.org/show_bug.cgi?id=58759
  10094. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  10095. (DumpRenderTreeSupportQt::shadowRoot): Added.
  10096. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  10097. 2011-04-16 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  10098. Reviewed by Andreas Kling.
  10099. [Qt] Autotest got missed in the handover of the QML WebView element
  10100. https://bugs.webkit.org/show_bug.cgi?id=41449
  10101. Importing WebView QML element test cases from Qt repository. I did some
  10102. style modifications and simplifications in the original code but hopefully
  10103. without changing the behavior.
  10104. Tests that do not pass are marked with QEXPECT_FAIL or QSKIP. The two major
  10105. issues currently are:
  10106. - pixelCache() test checked the usage of pixel cache by using a subclass of
  10107. QDeclarativeWebView. We can't do that right now because this class is not
  10108. exported. We may need a Q_AUTOTEST_EXPORT thing for QtWebKit if we want
  10109. this kind of test.
  10110. - elementAtArea() test uses a function that is not exported. But in this case
  10111. I think we should test it's user, the public method "heuristicZoom".
  10112. * tests/qdeclarativewebview/resources/basic.html: Added.
  10113. * tests/qdeclarativewebview/resources/basic.png: Added.
  10114. * tests/qdeclarativewebview/resources/basic.qml: Added.
  10115. * tests/qdeclarativewebview/resources/elements.html: Added.
  10116. * tests/qdeclarativewebview/resources/elements.qml: Added.
  10117. * tests/qdeclarativewebview/resources/forward.html: Added.
  10118. * tests/qdeclarativewebview/resources/forward.png: Added.
  10119. * tests/qdeclarativewebview/resources/javaScript.html: Added.
  10120. * tests/qdeclarativewebview/resources/javaScript.qml: Added.
  10121. * tests/qdeclarativewebview/resources/loadError.qml: Added.
  10122. * tests/qdeclarativewebview/resources/newwindows.html: Added.
  10123. * tests/qdeclarativewebview/resources/newwindows.qml: Added.
  10124. * tests/qdeclarativewebview/resources/propertychanges.qml: Added.
  10125. * tests/qdeclarativewebview/resources/sethtml.qml: Added.
  10126. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  10127. (tst_QDeclarativeWebView::tmpDir):
  10128. (strippedHtml):
  10129. (fileContents):
  10130. (removeRecursive):
  10131. (tst_QDeclarativeWebView::cleanupTestCase):
  10132. (tst_QDeclarativeWebView::basicProperties):
  10133. (tst_QDeclarativeWebView::elementAreaAt):
  10134. (tst_QDeclarativeWebView::historyNav):
  10135. (callEvaluateJavaScript):
  10136. (tst_QDeclarativeWebView::javaScript):
  10137. (tst_QDeclarativeWebView::loadError):
  10138. (tst_QDeclarativeWebView::multipleWindows):
  10139. (tst_QDeclarativeWebView::newWindowComponent):
  10140. (tst_QDeclarativeWebView::newWindowParent):
  10141. (tst_QDeclarativeWebView::pressGrabTime):
  10142. (tst_QDeclarativeWebView::renderingEnabled):
  10143. (tst_QDeclarativeWebView::setHtml):
  10144. (tst_QDeclarativeWebView::settings):
  10145. (tst_QDeclarativeWebView::checkNoErrors):
  10146. * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
  10147. 2011-04-08 Luiz Agostini <luiz.agostini@openbossa.org>
  10148. Reviewed by Kenneth Rohde Christiansen.
  10149. [Qt] QWebPage MIME type handling inconsistency with other web browsers
  10150. https://bugs.webkit.org/show_bug.cgi?id=46968
  10151. Implementing mime type sniffing based on
  10152. http://tools.ietf.org/html/draft-abarth-mime-sniff-06.
  10153. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10154. (WebCore::FrameLoaderClientQt::createNetworkingContext):
  10155. * WebCoreSupport/FrameNetworkingContextQt.cpp:
  10156. (WebCore::FrameNetworkingContextQt::FrameNetworkingContextQt):
  10157. (WebCore::FrameNetworkingContextQt::create):
  10158. (WebCore::FrameNetworkingContextQt::MIMESniffingEnabled):
  10159. * WebCoreSupport/FrameNetworkingContextQt.h:
  10160. * tests/MIMESniffing/MIMESniffing.pro: Added.
  10161. * tests/MIMESniffing/TestData.h: Added.
  10162. * tests/MIMESniffing/resources.qrc: Added.
  10163. * tests/MIMESniffing/resources/application_atom+xml: Added.
  10164. * tests/MIMESniffing/resources/application_ogg: Added.
  10165. * tests/MIMESniffing/resources/application_pdf: Added.
  10166. * tests/MIMESniffing/resources/application_postscript: Added.
  10167. * tests/MIMESniffing/resources/application_rdf+xml: Added.
  10168. * tests/MIMESniffing/resources/application_rss+xml: Added.
  10169. * tests/MIMESniffing/resources/application_x-gzip: Added.
  10170. * tests/MIMESniffing/resources/application_x-rar-compressed: Added.
  10171. * tests/MIMESniffing/resources/application_zip: Added.
  10172. * tests/MIMESniffing/resources/audio_x-wave: Added.
  10173. * tests/MIMESniffing/resources/image_bmp: Added.
  10174. * tests/MIMESniffing/resources/image_gif: Added.
  10175. * tests/MIMESniffing/resources/image_jpeg: Added.
  10176. * tests/MIMESniffing/resources/image_png: Added.
  10177. * tests/MIMESniffing/resources/image_vnd.microsoft.icon: Added.
  10178. * tests/MIMESniffing/resources/image_webp: Added.
  10179. * tests/MIMESniffing/resources/text_html: Added.
  10180. * tests/MIMESniffing/resources/text_xml: Added.
  10181. * tests/MIMESniffing/resources/video_webm: Added.
  10182. * tests/MIMESniffing/tst_MIMESniffing.cpp: Added.
  10183. (tst_MIMESniffing::tst_MIMESniffing):
  10184. (errorText):
  10185. (tst_MIMESniffing::testCase1):
  10186. * tests/tests.pro:
  10187. 2011-04-15 Andreas Kling <kling@webkit.org>
  10188. Reviewed by Antonio Gomes.
  10189. [Qt] DRT: Block access to external URLs.
  10190. Implement the "Blocked access to external URL" behavior for Qt's DRT,
  10191. based on what other ports are doing.
  10192. Fixes <http://webkit.org/b/57306> and <http://webkit.org/b/58523>.
  10193. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10194. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  10195. 2011-01-26 Ragner Magalhaes <ragner.magalhaes@openbossa.org>
  10196. Reviewed by Antonio Gomes.
  10197. [Qt] Web Inspector does not highlight elements
  10198. https://bugs.webkit.org/show_bug.cgi?id=35125
  10199. Adjust Web inspector to highlight elements on the page when the mouse
  10200. hovers the element on DOM inspector.
  10201. * Api/qwebframe.cpp:
  10202. (QWebFramePrivate::renderRelativeCoords):
  10203. * WebCoreSupport/InspectorClientQt.cpp:
  10204. (WebCore::InspectorClientQt::highlight):
  10205. (WebCore::InspectorClientQt::hideHighlight):
  10206. 2011-04-12 George Guo <George.Guo@nokia.com>
  10207. Reviewed by Laszlo Gombos.
  10208. [Qt] On Symbian got "Update Error" when installing QtWebkit.sis
  10209. http://bugs.webkit.org/show_bug.cgi?id=58141
  10210. If QtWebKit is already in Symbian ROM, we need package to be
  10211. both SA and RU type
  10212. * QtWebKit.pro:
  10213. 2011-04-12 Alexis Menard <alexis.menard@openbossa.org>
  10214. Reviewed by Andreas Kling.
  10215. [Qt] Private Q_SLOTS void orientationChanged() can't be in qwebframe.h public header file.
  10216. https://bugs.webkit.org/show_bug.cgi?id=58251
  10217. Fix an issue with slot names after http://trac.webkit.org/changeset/83512.
  10218. * Api/qwebframe.cpp:
  10219. (QWebFrame::QWebFrame):
  10220. 2011-04-11 Alexis Menard <alexis.menard@openbossa.org>
  10221. Reviewed by Benjamin Poulain.
  10222. [Qt] Private Q_SLOTS void orientationChanged() can't be in qwebframe.h public header file.
  10223. https://bugs.webkit.org/show_bug.cgi?id=58251
  10224. Qt coding conventions states that private slots should be located in private implementation of
  10225. the class. This allows us to rename/delete the slots in the future without breaking anything.
  10226. No new tests added, just a simple refactoring.
  10227. * Api/qwebframe.cpp:
  10228. (QWebFramePrivate::_q_orientationChanged):
  10229. * Api/qwebframe.h:
  10230. * Api/qwebframe_p.h:
  10231. 2011-04-11 Alexis Menard <alexis.menard@openbossa.org>
  10232. Reviewed by Kenneth Rohde Christiansen.
  10233. [Qt] Sub-Frame content is not updated when scrolling in certain circumstances
  10234. https://bugs.webkit.org/show_bug.cgi?id=50373
  10235. Make sure that we invalidate the backing store when using TILED_BACKING_STORE
  10236. and the page contains sub frames. This bug appears only when frame flattening is
  10237. disabled and scrollable subframes.
  10238. Original patch from Thomas Thrainer.
  10239. * WebCoreSupport/ChromeClientQt.cpp:
  10240. (WebCore::ChromeClientQt::invalidateWindow):
  10241. 2011-04-11 Benjamin Poulain <benjamin.poulain@nokia.com>
  10242. Reviewed by Andreas Kling.
  10243. [Qt] HTML5 Drag and Drop demos not working
  10244. https://bugs.webkit.org/show_bug.cgi?id=56486
  10245. Handling the drop with JavaScript was not working with Qt because if the action is ignored
  10246. in response to DragEnter, no further events are sent to the view.
  10247. Drag and drop is defined and used differently by webpages. The drag move events are determining
  10248. what action should take place. To adopt this behavior for Qt, we always accept drag enter events
  10249. on the widget.
  10250. * Api/qwebpage.cpp:
  10251. (QWebPagePrivate::dragEnterEvent):
  10252. 2011-04-11 Andras Becsi <abecsi@webkit.org>
  10253. Reviewed by Andreas Kling.
  10254. [Qt] REGRESSION(83122): tst_QWebElement::style() fails
  10255. https://bugs.webkit.org/show_bug.cgi?id=58032
  10256. According to the documentation of QWebElement the styleProperty method should
  10257. not respect style inheritance and other CSS rules for the InlineStyle enum.
  10258. r83122 fixed this behaviour.
  10259. * tests/qwebelement/tst_qwebelement.cpp:
  10260. (tst_QWebElement::style): Fix the expected color for QWebElement::InlineStyle.
  10261. 2011-04-11 Andreas Kling <andreas.kling@nokia.com>
  10262. Build fix after r83436.
  10263. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10264. (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
  10265. 2011-04-11 Andreas Kling <andreas.kling@nokia.com>
  10266. Reviewed by Benjamin Poulain.
  10267. [Qt] dumpResourceResponseMIMETypes shouldn't strip URL query string.
  10268. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10269. (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): Use KURL::lastPathComponent()
  10270. for the dumpResourceResponseMIMETypes display string instead of QFileInfo::fileName().
  10271. This is in line with the Mac port.
  10272. 2011-04-08 Sheriff Bot <webkit.review.bot@gmail.com>
  10273. Unreviewed, rolling out r83295.
  10274. http://trac.webkit.org/changeset/83295
  10275. https://bugs.webkit.org/show_bug.cgi?id=58144
  10276. Broke 4 tests in QtWebKit (Requested by tonikitoo on #webkit).
  10277. * WebCoreSupport/EditorClientQt.cpp:
  10278. (WebCore::EditorClientQt::handleInputMethodKeydown):
  10279. 2011-04-08 Yi Shen <yi.4.shen@nokia.com>
  10280. Reviewed by Antonio Gomes.
  10281. [Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails
  10282. https://bugs.webkit.org/show_bug.cgi?id=57472
  10283. Avoid to insert new line for both keydown event & keypress event.
  10284. * WebCoreSupport/EditorClientQt.cpp:
  10285. (WebCore::EditorClientQt::handleInputMethodKeydown):
  10286. 2011-04-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  10287. Reviewed by Benjamin Poulain.
  10288. [Qt] QWebFrame::setUrl works only from second time if url fragment is present
  10289. https://bugs.webkit.org/show_bug.cgi?id=32723
  10290. When clearing the frame, instead of using the URL passed to QWebFrame::setUrl(),
  10291. use an invalid URL (the begin() without arguments). Clearing the document
  10292. with the same URL was causing problems when we had a fragment because it assume that
  10293. only scrolling was enough and did not loaded the document again.
  10294. When setUrl() is called but fails, url() is expected to return the requested value. The
  10295. begin(url) guaranteed that before. This patch adds a member to track the URL, which is
  10296. updated when the URL changes and also when setUrl() is called.
  10297. KURL was used for the member so that when setUrl() is called, and then url() is checked
  10298. before the page gets loaded, we perform the same conversion that will be performed by a
  10299. successful load, e.g. add trailing '/' to an address. This behavior is checked by
  10300. tst_QWebFrame::requestedUrl() test.
  10301. For the record: the second QWebPage::setUrl() worked because the load was considered a
  10302. FrameLoadTypeSame, and because of that, was not fit for just scrolling, a reload was
  10303. needed. See FrameLoader::shouldScrollToAnchor() for details on this classification.
  10304. * Api/qwebframe.cpp:
  10305. (QWebFramePrivate::emitUrlChanged): update our URL member and emit the signal.
  10306. (clearCoreFrame):
  10307. (isCoreFrameClear):
  10308. (QWebFrame::setUrl):
  10309. (QWebFrame::url):
  10310. (QWebFrame::baseUrl): look in the document for the baseURL since its contents can change
  10311. the baseURL, e.g. by using the <base> tag.
  10312. * Api/qwebframe_p.h:
  10313. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10314. (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
  10315. (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
  10316. * tests/qwebframe/tst_qwebframe.cpp:
  10317. (tst_QWebFrame::setUrlWithFragment): unskip test.
  10318. 2011-04-07 Alexis Menard <alexis.menard@openbossa.org>
  10319. Reviewed by Kenneth Rohde Christiansen.
  10320. Build fix when using Phonon as a backend for the multimedia support.
  10321. * WebCoreSupport/ChromeClientQt.cpp:
  10322. (WebCore::ChromeClientQt::ChromeClientQt):
  10323. (WebCore::ChromeClientQt::~ChromeClientQt):
  10324. * WebCoreSupport/ChromeClientQt.h:
  10325. 2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com>
  10326. Reviewed by Kenneth Rohde Christiansen.
  10327. [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests
  10328. https://bugs.webkit.org/show_bug.cgi?id=56086
  10329. Add the accessor numberOfPendingGeolocationPermissionRequests to call GeolocationClientMock::numberOfPendingPermissionRequests()
  10330. from the LayoutTestController.
  10331. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  10332. (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
  10333. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  10334. 2011-04-06 Anders Bakken <agbakken@gmail.com>
  10335. Reviewed by Kenneth Rohde Christiansen.
  10336. [Qt] FrameLoaderClientQt.cpp has coding-style errors
  10337. https://bugs.webkit.org/show_bug.cgi?id=40254
  10338. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10339. (drtDescriptionSuitableForTestResult):
  10340. (WebCore::FrameLoaderClientQt::hasWebView):
  10341. (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
  10342. (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
  10343. (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
  10344. (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
  10345. (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
  10346. (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
  10347. (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
  10348. (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
  10349. (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
  10350. (WebCore::FrameLoaderClientQt::willChangeTitle):
  10351. (WebCore::FrameLoaderClientQt::didChangeTitle):
  10352. (WebCore::FrameLoaderClientQt::finishedLoading):
  10353. (WebCore::FrameLoaderClientQt::frameLoadCompleted):
  10354. (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
  10355. (WebCore::FrameLoaderClientQt::didFinishLoad):
  10356. (WebCore::FrameLoaderClientQt::setTitle):
  10357. (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
  10358. (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
  10359. (WebCore::FrameLoaderClientQt::updateGlobalHistory):
  10360. (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
  10361. (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem):
  10362. (WebCore::FrameLoaderClientQt::committedLoad):
  10363. (WebCore::FrameLoaderClientQt::download):
  10364. (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
  10365. (WebCore::FrameLoaderClientQt::shouldUseCredentialStorage):
  10366. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
  10367. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
  10368. (WebCore::FrameLoaderClientQt::createFrame):
  10369. (WebCore::FrameLoaderClientQt::objectContentType):
  10370. (WebCore::FrameLoaderClientQt::createPlugin):
  10371. 2011-04-06 Alexis Menard <alexis.menard@openbossa.org>
  10372. Reviewed by Andreas Kling.
  10373. [Qt] We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
  10374. https://bugs.webkit.org/show_bug.cgi?id=57974
  10375. We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
  10376. No new tests needed, just a config flag rename.
  10377. * Api/qwebkitplatformplugin.h:
  10378. * WebCoreSupport/ChromeClientQt.cpp:
  10379. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  10380. (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
  10381. * WebCoreSupport/FullScreenVideoQt.cpp:
  10382. (WebCore::FullScreenVideoQt::FullScreenVideoQt):
  10383. (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
  10384. (WebCore::FullScreenVideoQt::enterFullScreenForNode):
  10385. (WebCore::FullScreenVideoQt::exitFullScreenForNode):
  10386. (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
  10387. (WebCore::FullScreenVideoQt::isValid):
  10388. * WebCoreSupport/FullScreenVideoQt.h:
  10389. * WebCoreSupport/QtPlatformPlugin.cpp:
  10390. * WebCoreSupport/QtPlatformPlugin.h:
  10391. * examples/platformplugin/WebPlugin.cpp:
  10392. (WebPlugin::supportsExtension):
  10393. (WebPlugin::createExtension):
  10394. * examples/platformplugin/WebPlugin.h:
  10395. * examples/platformplugin/platformplugin.pro:
  10396. * examples/platformplugin/qwebkitplatformplugin.h:
  10397. * tests/qwebpage/tst_qwebpage.cpp:
  10398. (tst_QWebPage::loadHtml5Video):
  10399. * tests/tests.pri:
  10400. 2011-04-06 Alexis Menard <alexis.menard@openbossa.org>
  10401. Reviewed by Andreas Kling.
  10402. [Qt] Implement fullscreen playback for the GStreamer backend.
  10403. https://bugs.webkit.org/show_bug.cgi?id=56826
  10404. Implement support for fullscreen playback when building the
  10405. Qt port with the GStreamer backend (DEFINES+=USE_GSTREAMER=1).
  10406. The implementation is done in FullScreenVideoQt alongside with
  10407. the Qt Multimedia support.
  10408. No new tests because layout tests cover it. They are not yet activated
  10409. but will be any time soon.
  10410. * QtWebKit.pro:
  10411. * WebCoreSupport/ChromeClientQt.cpp:
  10412. (WebCore::ChromeClientQt::ChromeClientQt):
  10413. (WebCore::ChromeClientQt::~ChromeClientQt):
  10414. (WebCore::ChromeClientQt::enterFullscreenForNode):
  10415. (WebCore::ChromeClientQt::exitFullscreenForNode):
  10416. * WebCoreSupport/ChromeClientQt.h:
  10417. * WebCoreSupport/FullScreenVideoQt.cpp:
  10418. (WebCore::GStreamerFullScreenVideoHandler::GStreamerFullScreenVideoHandler):
  10419. (WebCore::GStreamerFullScreenVideoHandler::setVideoElement):
  10420. (WebCore::GStreamerFullScreenVideoHandler::enterFullScreen):
  10421. (WebCore::GStreamerFullScreenVideoHandler::windowClosed):
  10422. (WebCore::GStreamerFullScreenVideoHandler::exitFullScreen):
  10423. (WebCore::DefaultFullScreenVideoHandler::DefaultFullScreenVideoHandler):
  10424. (WebCore::FullScreenVideoQt::FullScreenVideoQt):
  10425. (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
  10426. (WebCore::FullScreenVideoQt::enterFullScreenForNode):
  10427. (WebCore::FullScreenVideoQt::exitFullScreenForNode):
  10428. (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
  10429. (WebCore::FullScreenVideoQt::isValid):
  10430. * WebCoreSupport/FullScreenVideoQt.h:
  10431. (WebCore::GStreamerFullScreenVideoHandler::~GStreamerFullScreenVideoHandler):
  10432. 2011-04-06 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  10433. Reviewed by Kenneth Rohde Christiansen.
  10434. [Qt] Improve tests for QWebFrame::url() and related methods
  10435. https://bugs.webkit.org/show_bug.cgi?id=57865
  10436. * tests/qwebframe/tst_qwebframe.cpp:
  10437. (FakeReply::FakeReply): make more URLs reply HostNotFound. We needed two different URLs in the test.
  10438. (tst_QWebFrame::requestedUrlAfterSetAndLoadFailures): check the properties after an setUrl()
  10439. that fails and a load() that fails (for a different URL).
  10440. (tst_QWebFrame::setUrlWithFragment_data):
  10441. (tst_QWebFrame::setUrlWithFragment): add other test cases similar to the original, but changing
  10442. the URL in the frame before the test starts.
  10443. (tst_QWebFrame::setUrlSameUrl): document existing behavior of calling setUrl() twice with
  10444. the same URL as argument.
  10445. (extractBaseUrl):
  10446. (tst_QWebFrame::setUrlThenLoads_data):
  10447. (tst_QWebFrame::setUrlThenLoads): check the URL related properties of the frame after a
  10448. sequence of set and loads. Those tests are interesting because the properties
  10449. react different to setUrl() and load(): 'requestedUrl' always change, 'url' only when setUrl()
  10450. is used or after the load() is committed and baseUrl() is similar to url() but also depends
  10451. on the contents of the page when it loads.
  10452. 2011-04-04 MORITA Hajime <morrita@google.com>
  10453. Reviewed by Ryosuke Niwa.
  10454. [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
  10455. https://bugs.webkit.org/show_bug.cgi?id=56085
  10456. * WebCoreSupport/EditorClientQt.h:
  10457. (WebCore::EditorClientQt::requestCheckingOfString):
  10458. 2011-04-04 Chang Shu <cshu@webkit.org>
  10459. Reviewed by Ryosuke Niwa.
  10460. setContentEditable with true/false/inherit string is not working properly
  10461. https://bugs.webkit.org/show_bug.cgi?id=52058
  10462. Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
  10463. as rendererIsEditable is for WebCore internal use.
  10464. * WebCoreSupport/EditorClientQt.cpp:
  10465. (WebCore::EditorClientQt::handleKeyboardEvent):
  10466. 2011-04-01 Carol Szabo <carol.szabo@nokia.com>
  10467. Reviewed by Benjamin Poulain.
  10468. Changed QWebFramePrivate::renderFromTiledBackingStore to call directly into
  10469. Scrollbar/PanIcon rendering, bypassing the potential relayout in renderRelativeCoords.
  10470. Tiled painting still causes synchronous layout when
  10471. accelerated compositing and texture mapper are enabled
  10472. https://bugs.webkit.org/show_bug.cgi?id=56929
  10473. * Api/qwebframe.cpp:
  10474. (QWebFramePrivate::renderFromTiledBackingStore):
  10475. (QWebFramePrivate::renderRelativeCoords):
  10476. (QWebFramePrivate::renderFrameWidgets):
  10477. * Api/qwebframe_p.h:
  10478. 2011-04-01 Nancy Piedra <nancy.piedra@nokia.com>
  10479. Reviewed by Benjamin Poulain.
  10480. [Qt] DragClientQt.h has coding-style errors
  10481. https://bugs.webkit.org/show_bug.cgi?id=40425
  10482. * WebCoreSupport/DragClientQt.h:
  10483. 2011-03-31 Marius Storm-Olsen <marius.storm-olsen@nokia.com>
  10484. Reviewed by Kenneth Rohde Christiansen.
  10485. [Qt] Properly detect phonon include, and avoid double qtLibraryTarget() call
  10486. https://bugs.webkit.org/show_bug.cgi?id=57017
  10487. Build fix. No new tests.
  10488. * QtWebKit.pro:
  10489. 2011-03-31 Evan Martin <evan@chromium.org>
  10490. Another build fix.
  10491. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10492. (WebCore::FrameLoaderClientQt::updateGlobalHistory):
  10493. 2011-03-31 Nancy Piedra <nancy.piedra@nokia.com>
  10494. Reviewed by Benjamin Poulain.
  10495. [Qt] ChromeClientQt.h has coding-style errors
  10496. https://bugs.webkit.org/show_bug.cgi?id=40239
  10497. * WebCoreSupport/ChromeClientQt.h:
  10498. (WebCore::ChromeClientQt::scrollbarsModeDidChange):
  10499. (WebCore::ChromeClientQt::needTouchEvents):
  10500. (WebCore::ChromeClientQt::formStateDidChange):
  10501. (WebCore::ChromeClientQt::scrollRectIntoView):
  10502. (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
  10503. (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
  10504. 2011-03-31 Evan Martin <evan@chromium.org>
  10505. Build fix from previous change.
  10506. * Api/qwebframe.cpp:
  10507. (QWebFrame::title):
  10508. 2011-03-31 Evan Martin <evan@chromium.org>
  10509. Reviewed by Eric Seidel.
  10510. <title> should support dir attribute
  10511. https://bugs.webkit.org/show_bug.cgi?id=50961
  10512. Update to new FrameLoaderClient interface.
  10513. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10514. (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
  10515. (WebCore::FrameLoaderClientQt::setTitle):
  10516. * WebCoreSupport/FrameLoaderClientQt.h:
  10517. 2011-03-30 Yi Shen <yi.4.shen@nokia.com>
  10518. Reviewed by Kenneth Rohde Christiansen.
  10519. [Qt][Symbian] Fix Api test failure -- tst_QWebView::focusInputTypes
  10520. https://bugs.webkit.org/show_bug.cgi?id=57020
  10521. Added a macro 'VERIFY_INPUTMETHOD_HINTS' to test inputmethodhints().
  10522. * tests/qwebview/tst_qwebview.cpp:
  10523. (tst_QWebView::focusInputTypes):
  10524. 2011-03-30 Robert Hogan <robert@webkit.org>
  10525. Reviewed by Antonio Gomes.
  10526. [Qt] Fix LoadHTMLStringItem::invoke() after r75966
  10527. Add DRT support for loading an alternate HTML string
  10528. for error pages. This allows Qt to unskip
  10529. http/tests/navigation/go-back-to-error-page.html.
  10530. https://bugs.webkit.org/show_bug.cgi?id=52614
  10531. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  10532. (DumpRenderTreeSupportQt::setAlternateHtml):
  10533. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  10534. 2011-03-29 Alexis Menard <alexis.menard@openbossa.org>
  10535. Unreviewed build fix for build-webkit -minimal.
  10536. Breakage introduced by http://trac.webkit.org/changeset/82238.
  10537. The minimal option has no support for shortcuts.
  10538. * WebCoreSupport/EditorClientQt.cpp:
  10539. (WebCore::EditorClientQt::handleInputMethodKeydown):
  10540. 2011-03-29 Janne Koskinen <janne.p.koskinen@digia.com>
  10541. Reviewed by Kenneth Rohde Christiansen.
  10542. [Qt] Enterkey to go to Newline does not work in the text area(in HTML form)
  10543. https://bugs.webkit.org/show_bug.cgi?id=33179
  10544. Fixed newline generation from Qt::Key_Enter when editting text area using InputMethods.
  10545. * WebCoreSupport/EditorClientQt.cpp:
  10546. (WebCore::EditorClientQt::handleInputMethodKeydown):
  10547. * tests/qwebpage/tst_qwebpage.cpp:
  10548. (tst_QWebPage::inputMethods):
  10549. 2011-03-29 Andreas Kling <kling@webkit.org>
  10550. Reviewed by Simon Hausmann.
  10551. [Qt] Fix documentation for QWebPage::repaintRequested()
  10552. This signal is always emitted when the page is dirtied, so remove
  10553. reference to old behavior where we would only emit the signal for
  10554. headless QWebPages.
  10555. * Api/qwebpage.cpp:
  10556. 2011-03-28 Andreas Kling <kling@webkit.org>
  10557. Reviewed by Benjamin Poulain.
  10558. [Qt] Pass QString() instead of String() when emitting titleChanged() for new loads.
  10559. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10560. (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
  10561. 2011-03-28 Andreas Kling <kling@webkit.org>
  10562. Reviewed by Benjamin Poulain.
  10563. [Qt] Crash when calling QWebFrame::render() in response to QWebPage::repaintRequested()
  10564. https://bugs.webkit.org/show_bug.cgi?id=52629
  10565. * WebCoreSupport/ChromeClientQt.cpp:
  10566. (WebCore::ChromeClientQt::invalidateContentsAndWindow): Make the emission of
  10567. QWebPage::repaintRequested() use a Qt::QueuedConnection.
  10568. * tests/qwebpage/tst_qwebpage.cpp:
  10569. (RepaintRequestedRenderer::RepaintRequestedRenderer):
  10570. (RepaintRequestedRenderer::onRepaintRequested):
  10571. (tst_QWebPage::renderOnRepaintRequestedShouldNotRecurse): Test that calling
  10572. QWebFrame::render() in a slot connected to to QWebPage::repaintRequested()
  10573. doesn't cause recursive signal emissions.
  10574. 2011-03-28 Benjamin Poulain <benjamin.poulain@nokia.com>
  10575. Reviewed by Andreas Kling.
  10576. [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
  10577. https://bugs.webkit.org/show_bug.cgi?id=57087
  10578. * QtWebKit.pro: we can now enable QT_ASCII_CAST_WARNINGS
  10579. * tests/tests.pri: we do not require QT_ASCII_CAST_WARNINGS for tests
  10580. since they are applications, not libraries.
  10581. 2011-03-28 Andras Becsi <abecsi@webkit.org>
  10582. Reviewed by Csaba Osztrogonác.
  10583. [Qt] QtWebKit does not link with --3d-canvas using MinGW
  10584. https://bugs.webkit.org/show_bug.cgi?id=57225
  10585. * QtWebKit.pro: Append the OpenGL libraries on MinGW so it can resolve symbols.
  10586. 2011-03-28 Csaba Osztrogonác <ossy@webkit.org>
  10587. Reviewed by Andreas Kling.
  10588. REGRESSION(r54712): [Qt] Installed QtWebKit header does not compile.
  10589. https://bugs.webkit.org/show_bug.cgi?id=57183
  10590. Windows buildfix after r82065.
  10591. * Api/DerivedSources.pro: Readding escaping on Windows platforms.
  10592. 2011-03-27 Andreas Kling <kling@webkit.org>
  10593. Fix build warning about IconDatabaseClient.h (wrong path.)
  10594. * QtWebKit.pro:
  10595. 2011-03-27 Andreas Kling <kling@webkit.org>
  10596. Reviewed by Kenneth Rohde Christiansen.
  10597. [Qt] Support for CSS color and background-color properties on select element's dropdown list
  10598. https://bugs.webkit.org/show_bug.cgi?id=51627
  10599. Extend the QWebSelectData interface with background and foreground colors
  10600. for the whole menu, as well as per-item. Hook it up to the PopupMenuStyle
  10601. getters in RenderMenuList.
  10602. * Api/qwebkitplatformplugin.h:
  10603. * WebCoreSupport/PopupMenuQt.cpp:
  10604. (SelectData::backgroundColor):
  10605. (SelectData::foregroundColor):
  10606. (SelectData::itemBackgroundColor):
  10607. (SelectData::itemForegroundColor):
  10608. * WebCoreSupport/QtFallbackWebPopup.cpp:
  10609. (WebCore::QtFallbackWebPopup::show):
  10610. (WebCore::QtFallbackWebPopup::populate):
  10611. 2011-03-27 Yi Shen <yi.4.shen@nokia.com>
  10612. Reviewed by Andreas Kling.
  10613. [Qt][Symbian] Fix Api test failure -- microFocusCoordinates
  10614. https://bugs.webkit.org/show_bug.cgi?id=57108
  10615. Since the canvas is not self-closing tag, we need to add '</canvas>'.
  10616. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  10617. (tst_QGraphicsWebView::microFocusCoordinates):
  10618. * tests/qwebview/tst_qwebview.cpp:
  10619. (tst_QWebView::microFocusCoordinates):
  10620. 2011-03-27 Kwang Yul Seo <skyul@company100.net>
  10621. Reviewed by Eric Seidel.
  10622. [Qt] Build fix: Define WTF_USE_TEXTURE_MAPPER=1 when CONFIG contains texmap.
  10623. https://bugs.webkit.org/show_bug.cgi?id=57143
  10624. Qt WebKit uses USE(TEXTURE_MAPPER) guard. Check texmap in CONFIG and
  10625. define WTF_USE_TEXTURE_MAPPER=1.
  10626. * QtWebKit.pro:
  10627. 2011-03-27 Andreas Kling <kling@webkit.org>
  10628. Reviewed by Benjamin Poulain.
  10629. REGRESSION(r54712): [Qt] Installed QtWebKit header does not compile.
  10630. https://bugs.webkit.org/show_bug.cgi?id=57183
  10631. The convenience <QtWebKit> header would include \<QtNetwork/QtNetwork\>
  10632. which was due to the outputting code previously being wrapped in eval().
  10633. * Api/DerivedSources.pro:
  10634. 2011-03-27 Benjamin Poulain <benjamin.poulain@nokia.com>
  10635. Reviewed by Andreas Kling.
  10636. [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
  10637. https://bugs.webkit.org/show_bug.cgi?id=57087
  10638. Use explicit conversion for string to avoid depending on the default codec
  10639. installed by the user code.
  10640. * Api/qwebkitversion.cpp:
  10641. (qWebKitVersion):
  10642. * Api/qwebpage.cpp:
  10643. (QWebPagePrivate::dynamicPropertyChangeEvent):
  10644. (QWebPage::javaScriptConsoleMessage):
  10645. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  10646. (convertToPropertyName):
  10647. (DumpRenderTreeSupportQt::setEditingBehavior):
  10648. (DumpRenderTreeSupportQt::plainText):
  10649. * WebCoreSupport/EditorClientQt.cpp:
  10650. (dumpRange):
  10651. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10652. (drtDescriptionSuitableForTestResult):
  10653. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
  10654. * WebCoreSupport/InspectorClientQt.cpp:
  10655. (WebCore::InspectorClientQt::openInspectorFrontend):
  10656. * WebCoreSupport/InspectorServerQt.cpp:
  10657. (WebCore::parseWebSocketChallengeNumber):
  10658. (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
  10659. 2011-03-26 Andreas Kling <kling@webkit.org>
  10660. Reviewed by Kenneth Rohde Christiansen.
  10661. [Qt] QWebFrame::iconChanged() not emitted when icon is cached but not yet loaded
  10662. https://bugs.webkit.org/show_bug.cgi?id=57157
  10663. Add an IconDatabaseClient for the Qt port to ensure that QWebFrame::iconChanged()
  10664. is always emitted when appropriate.
  10665. * QtWebKit.pro: Add new files.
  10666. * WebCoreSupport/IconDatabaseClientQt.h: Added.
  10667. * WebCoreSupport/IconDatabaseClientQt.cpp: Added.
  10668. (WebCore::IconDatabaseClientQt::instance):
  10669. (WebCore::IconDatabaseClientQt::IconDatabaseClientQt):
  10670. (WebCore::IconDatabaseClientQt::~IconDatabaseClientQt):
  10671. (WebCore::IconDatabaseClientQt::performImport):
  10672. (WebCore::IconDatabaseClientQt::didRemoveAllIcons):
  10673. (WebCore::IconDatabaseClientQt::didImportIconURLForPageURL):
  10674. (WebCore::IconDatabaseClientQt::didImportIconDataForPageURL):
  10675. (WebCore::IconDatabaseClientQt::didChangeIconForPageURL):
  10676. (WebCore::IconDatabaseClientQt::didFinishURLImport):
  10677. * WebCoreSupport/FrameLoaderClientQt.h:
  10678. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10679. (WebCore::FrameLoaderClientQt::registerForIconNotification):
  10680. (WebCore::FrameLoaderClientQt::onIconLoadedForPageURL): New slot connected
  10681. to the IconDatabaseClientQt::iconLoadedForPageURL() signal. This emits the
  10682. QWebFrame::iconChanged() signal when the IconDatabases finishes loading
  10683. a cached favicon for the frame's URL.
  10684. * Api/qwebsettings.cpp:
  10685. (QWebSettings::setIconDatabasePath): Make sure that IconDatabaseClientQt is
  10686. instantiated. An IconDatabaseClient has to be registered before the IconDatabase
  10687. spawns its reader thread.
  10688. 2011-03-25 Andy Estes <aestes@apple.com>
  10689. Reviewed by Adele Peterson.
  10690. REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
  10691. https://bugs.webkit.org/show_bug.cgi?id=49016
  10692. Update objectContentType() implementation to handle the
  10693. shouldPreferPlugInsForImages flag.
  10694. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10695. (WebCore::FrameLoaderClientQt::objectContentType):
  10696. * WebCoreSupport/FrameLoaderClientQt.h:
  10697. 2011-03-25 Chang Shu <cshu@webkit.org>
  10698. Reviewed by Ryosuke Niwa.
  10699. rename Node::isContentEditable and all call sites to rendererIsEditable
  10700. https://bugs.webkit.org/show_bug.cgi?id=54290
  10701. This is part of the effort to separate JS API HTMLElement isContentEditable from
  10702. internal Node::rendererIsEditable.
  10703. * WebCoreSupport/EditorClientQt.cpp:
  10704. (WebCore::EditorClientQt::handleKeyboardEvent):
  10705. 2011-03-25 Alexis Menard <alexis.menard@openbossa.org>
  10706. Reviewed by Andreas Kling.
  10707. [Qt] The keyboard shortcuts during fullscreen playback do not work.
  10708. https://bugs.webkit.org/show_bug.cgi?id=57095
  10709. We need to explicitely set the focus on the widget in order to receive the keyboard events.
  10710. * WebCoreSupport/FullScreenVideoWidget.cpp:
  10711. (WebCore::FullScreenVideoWidget::show):
  10712. 2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com>
  10713. Unreviewed, rolling out r81916 and r81917.
  10714. http://trac.webkit.org/changeset/81916
  10715. http://trac.webkit.org/changeset/81917
  10716. https://bugs.webkit.org/show_bug.cgi?id=57071
  10717. broke a test on platforms that do not have QuickTime installed
  10718. (Requested by estes on #webkit).
  10719. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10720. (WebCore::FrameLoaderClientQt::objectContentType):
  10721. * WebCoreSupport/FrameLoaderClientQt.h:
  10722. 2011-03-24 Andy Estes <aestes@apple.com>
  10723. Reviewed by Darin Adler.
  10724. REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
  10725. https://bugs.webkit.org/show_bug.cgi?id=49016
  10726. Update objectContentType() implementation to handle the
  10727. shouldPreferPlugInsForImages flag.
  10728. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10729. (WebCore::FrameLoaderClientQt::objectContentType):
  10730. * WebCoreSupport/FrameLoaderClientQt.h:
  10731. 2011-03-24 Benjamin Poulain <benjamin.poulain@nokia.com>
  10732. Reviewed by Kenneth Rohde Christiansen.
  10733. [Qt] When we render WebGL offscreen, color conversion cost a lot of CPU cycles
  10734. https://bugs.webkit.org/show_bug.cgi?id=40884
  10735. Add tests and benchmarks for the software fallback of WebGL.
  10736. * tests/benchmarks/webgl/10000_triangles.html: Added.
  10737. * tests/benchmarks/webgl/tst_webgl.cpp: Added.
  10738. (GraphicsView::GraphicsView):
  10739. (GraphicsView::resizeEvent):
  10740. (tst_WebGlPerformance::init):
  10741. (tst_WebGlPerformance::cleanup):
  10742. (tst_WebGlPerformance::benchSoftwareFallbackRgb16):
  10743. (tst_WebGlPerformance::benchSoftwareFallbackRgb32):
  10744. (tst_WebGlPerformance::benchSoftwareFallbackArgb32):
  10745. (tst_WebGlPerformance::benchSoftwareFallbackArgb32Premultiplied):
  10746. (tst_WebGlPerformance::benchmarkFrameRenderingOnImage):
  10747. * tests/benchmarks/webgl/tst_webgl.qrc: Added.
  10748. * tests/benchmarks/webgl/webgl.pro: Added.
  10749. * tests/qgraphicswebview/qgraphicswebview.pro:
  10750. * tests/qgraphicswebview/resources/pointing_right.html: Added.
  10751. * tests/qgraphicswebview/resources/pointing_up.html: Added.
  10752. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  10753. (compareImagesFuzzyPixelCount):
  10754. (GraphicsView::GraphicsView):
  10755. (tst_QGraphicsWebView::webglSoftwareFallbackVerticalOrientation):
  10756. (tst_QGraphicsWebView::webglSoftwareFallbackHorizontalOrientation):
  10757. (tst_QGraphicsWebView::compareCanvasToImage):
  10758. * tests/qgraphicswebview/tst_qgraphicswebview.qrc:
  10759. * tests/tests.pro:
  10760. 2011-03-24 Kristian Amlie <kristian.amlie@nokia.com>
  10761. Reviewed by Benjamin Poulain.
  10762. Avoided ASCII-cast warnings for WebKit.
  10763. Normally they won't be enabled anyway, but if you build webkit from
  10764. within the Qt mother repository it will pick up Qt's default build
  10765. settings, which do enable it. We need to disable them because
  10766. warnings are treated as errors and there are way too many of them in
  10767. the WebKit code.
  10768. [Qt] Avoid ASCII-cast warnings for WebKit.
  10769. https://bugs.webkit.org/show_bug.cgi?id=57016
  10770. * QtWebKit.pro:
  10771. 2011-03-24 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  10772. Reviewed by Benjamin Poulain.
  10773. [Qt] Resetting the URL property of a QWebView results in the current directory being set as file::-type URL
  10774. https://bugs.webkit.org/show_bug.cgi?id=29595
  10775. Qt Designer resets the URL by setting it to QUrl(). The bug was caused by
  10776. ensureAbsoluteUrl() helper function treating the empty URL as a relative URL, and
  10777. prepending the current directory.
  10778. By fixing this, now we can pass QUrl() invalid and empty URLs to WebCore layer, which
  10779. will end up loading "about:blank", but keeping it as a requested URL.
  10780. This patch also simplifies the logic for requestedUrl(), since m_lastRequestedUrl
  10781. is filled for the loaded URLs as well, we can use it in every case.
  10782. Three new autotests were added, to better cover the expected behavior of setting
  10783. the QUrl() in a QWebFrame.
  10784. * Api/qwebframe.cpp:
  10785. (ensureAbsoluteUrl): do not treat invalid URLs (empty included) as relative.
  10786. (QWebFrame::requestedUrl): always use m_lastRequestedUrl.
  10787. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10788. (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): do not clear m_lastRequestedUrl
  10789. anymore, since we always rely on it even for loaded frames.
  10790. * tests/qwebframe/tst_qwebframe.cpp:
  10791. (tst_QWebFrame::setUrlToEmpty): verify the behavior of setting empty URLs. This includes
  10792. the reduction of the bug report.
  10793. (tst_QWebFrame::setUrlToInvalid): setting invalid, but not necessarily empty, URLs.
  10794. (tst_QWebFrame::setUrlHistory): to verify how setting empty URLs affect history.
  10795. 2011-03-23 Brady Eidson <beidson@apple.com>
  10796. Reviewed by Sam Weinig.
  10797. Change IconDatabase opening to allow for arbitrary filenames
  10798. https://bugs.webkit.org/show_bug.cgi?id=56977
  10799. * Api/qwebsettings.cpp:
  10800. (QWebSettings::setIconDatabasePath):
  10801. 2011-03-23 Aparna Nandyal <aparna.nand@wipro.com>
  10802. Reviewed by Andreas Kling.
  10803. [Qt] QtWebKit rendering problem when maximizing and doing a back
  10804. https://bugs.webkit.org/show_bug.cgi?id=56669
  10805. Added an auto test.
  10806. Patch by Alexis Menard < alexis.menard@nokia.com> on 2011-03-21
  10807. * tests/qwebview/tst_qwebview.cpp:
  10808. (tst_QWebView::rendering):
  10809. 2011-03-23 Yury Semikhatsky <yurys@chromium.org>
  10810. Reviewed by Pavel Feldman.
  10811. [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
  10812. https://bugs.webkit.org/show_bug.cgi?id=56843
  10813. * WebCoreSupport/InspectorClientQt.cpp:
  10814. (WebCore::InspectorClientQt::openInspectorFrontend):
  10815. 2011-03-22 Andrew Wason <rectalogic@rectalogic.com>
  10816. Reviewed by Benjamin Poulain.
  10817. [Qt] QWebPage with WebGL content crashes when rendering if no QWebView parent
  10818. https://bugs.webkit.org/show_bug.cgi?id=54138
  10819. * tests/qwebpage/tst_qwebpage.cpp:
  10820. (webGLScreenshotWithoutView):
  10821. (tst_QWebPage::acceleratedWebGLScreenshotWithoutView):
  10822. (tst_QWebPage::unacceleratedWebGLScreenshotWithoutView):
  10823. Render a QWebPage (with and without accelerated compositing)
  10824. with a WebGL context that has no owning view. Shouldn't crash.
  10825. 2011-03-21 Chang Shu <cshu@webkit.org>
  10826. Reviewed by Alexey Proskuryakov.
  10827. REGRESSION (r79953): Can't type in MS Outlook 2011
  10828. https://bugs.webkit.org/show_bug.cgi?id=56665
  10829. r79953 removed the WebView level editablity which is persistent no matter whether
  10830. underlying document itself is changed and editability gets lost. The resolution is to
  10831. set this WebView editable value to WebCore. This avoids the callback from WebCore to
  10832. WebKit which was the main goal in r79953 to improve performance.
  10833. * Api/qwebpage.cpp:
  10834. (QWebPage::setContentEditable):
  10835. (QWebPage::isContentEditable):
  10836. 2011-03-19 Andreas Kling <kling@webkit.org>
  10837. Reviewed by Benjamin Poulain.
  10838. [Qt] Remove support for Qt 4.6
  10839. https://bugs.webkit.org/show_bug.cgi?id=56712
  10840. * Api/qwebframe.cpp:
  10841. (QWebFrame::load):
  10842. * Api/qwebpage.cpp:
  10843. (QWebPagePrivate::QWebPagePrivate):
  10844. * Api/qwebsettings.cpp:
  10845. (QWebSettings::QWebSettings):
  10846. * WebCoreSupport/GeolocationClientQt.cpp:
  10847. (WebCore::GeolocationClientQt::positionUpdated):
  10848. 2011-03-19 Andreas Kling <kling@webkit.org>
  10849. Reviewed by Antonio Gomes.
  10850. [Qt][Doc] QWebPage::unsupportedContent() passes ownership of the QNetworkReply
  10851. https://bugs.webkit.org/show_bug.cgi?id=56711
  10852. Document the fact that when unsupportedContent(QNetworkReply*) is emitted,
  10853. ownership of the reply is transferred to the receiving slot.
  10854. * Api/qwebpage.cpp:
  10855. 2011-03-17 Brady Eidson <beidson@apple.com>
  10856. Reviewed by Sam Weinig.
  10857. https://bugs.webkit.org/show_bug.cgi?id=56425
  10858. More groundwork for WebKit2 IconDatabase
  10859. Update already-used function names:
  10860. * Api/qwebhistory.cpp:
  10861. (QWebHistoryItem::icon):
  10862. * Api/qwebsettings.cpp:
  10863. (QWebSettings::iconForUrl):
  10864. 2011-03-18 Alexis Menard <alexis.menard@openbossa.org>
  10865. Reviewed by Benjamin Poulain.
  10866. [Qt] console.log not being exposed to QmlViewer
  10867. https://bugs.webkit.org/show_bug.cgi?id=56536
  10868. The documentation is bogus the feature does not exist.
  10869. * declarative/qdeclarativewebview.cpp:
  10870. 2011-03-17 Andreas Kling <kling@webkit.org>
  10871. Reviewed by Kenneth Rohde Christiansen.
  10872. [Qt] QML WebView emits iconChanged() when the page title changes
  10873. https://bugs.webkit.org/show_bug.cgi?id=56570
  10874. * declarative/qdeclarativewebview.cpp:
  10875. (QDeclarativeWebView::setPage): Don't forward the frame's titleChanged
  10876. signal to the view's iconChanged signal.
  10877. 2011-03-17 Alexis Menard <alexis.menard@openbossa.org>
  10878. Reviewed by Benjamin Poulain.
  10879. [Qt] Videos look ugly when using QGraphicsWebView.
  10880. https://bugs.webkit.org/show_bug.cgi?id=56580
  10881. We need to set QPainter::SmoothPixmapTransform on the painter for a proper rendering of the video.
  10882. QWebView does it but not QGraphicsWebView because the API does not exist. This patch is fixing it
  10883. by introducing the same API as QWebView to control the renderHints of the item. Unlike QWebView
  10884. QGraphicsWebView inherits the painter from QGraphicsScene and those flags are not set. This patch
  10885. ensure that before rendering the item we add QPainter::SmoothPixmapTransform and QPainter::TextAntialiasing
  10886. in addition of what could be set on the painter. In order to not break the rendering of all the items in the
  10887. scene we set back the painter to its original state when QGraphicsWebView is rendered.
  10888. * Api/qgraphicswebview.cpp:
  10889. (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
  10890. (QGraphicsWebView::paint):
  10891. (QGraphicsWebView::renderHints):
  10892. (QGraphicsWebView::setRenderHints):
  10893. (QGraphicsWebView::setRenderHint):
  10894. * Api/qgraphicswebview.h:
  10895. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  10896. (tst_QGraphicsWebView::renderHints):
  10897. 2011-03-16 Joseph Pecoraro <joepeck@webkit.org>
  10898. Reviewed by Kenneth Rohde Christiansen.
  10899. Viewport no longer allows an auto value for "user-scalable"
  10900. https://bugs.webkit.org/show_bug.cgi?id=55416
  10901. Make the default value for userScalable be true.
  10902. * Api/qwebpage.cpp:
  10903. (QWebPage::viewportAttributesForSize):
  10904. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  10905. (DumpRenderTreeSupportQt::viewportAsText): update test output to include userScalable.
  10906. 2011-03-15 Kevin Ollivier <kevino@theolliviers.com>
  10907. Reviewed by Darin Adler.
  10908. Introduce WTF_USE_EXPORT_MACROS, which will allow us to put shared library import/export
  10909. info into the headers rather than in export symbol definition files, but disable it on
  10910. all platforms initially so we can deal with port build issues one port at a time.
  10911. https://bugs.webkit.org/show_bug.cgi?id=27551
  10912. * WebCoreSupport/GeolocationClientQt.cpp:
  10913. * WebCoreSupport/PopupMenuQt.cpp:
  10914. 2011-03-14 Brady Eidson <beidson@apple.com>
  10915. Reviewed by Anders Carlsson.
  10916. https://bugs.webkit.org/show_bug.cgi?id=56320
  10917. Remove HistoryItem::icon() and the WebCore dependency on "IconDatabaseBase::defaultIcon()"
  10918. * Api/qwebhistory.cpp:
  10919. (QWebHistoryItem::icon): Use IconDatabase directly.
  10920. 2011-03-11 Brady Eidson <beidson@apple.com>
  10921. Reviewed by attempt at build fix!
  10922. https://bugs.webkit.org/show_bug.cgi?id=56216
  10923. Fix the Qt build following the same pattern of the patch.
  10924. * Api/qwebsettings.cpp:
  10925. (QWebSettings::setIconDatabasePath): Call the static method via IconDatabase:: and not via iconDatabase()
  10926. 2011-03-11 Alexis Menard <alexis.menard@openbossa.org>
  10927. Reviewed by Ariya Hidayat.
  10928. [Qt] Entering fullscreen and leaving it may hide the cursor of the application.
  10929. https://bugs.webkit.org/show_bug.cgi?id=56181
  10930. We need to stop the auto hide cursor timer when closing the widget otherwise the timer
  10931. might get fired and therefore hide the cursor even when the fullscreen widget is closed.
  10932. * WebCoreSupport/FullScreenVideoWidget.cpp:
  10933. (WebCore::FullScreenVideoWidget::closeEvent):
  10934. 2011-03-10 David Boddie <david.boddie@nokia.com>
  10935. Reviewed by Andreas Kling.
  10936. Fixed a qdoc warning and terminology (WebKit instead of Webkit).
  10937. https://bugs.webkit.org/show_bug.cgi?id=55756
  10938. * Api/qwebhistoryinterface.cpp:
  10939. 2011-03-10 Andreas Kling <kling@webkit.org>
  10940. Unreviewed build fix after r80774.
  10941. QML property versioning is introduced in Qt 4.7.3, not 4.7.2.
  10942. See also: http://bugreports.qt.nokia.com/browse/QTBUG-13451
  10943. * declarative/plugin.cpp:
  10944. (WebKitQmlPlugin::registerTypes):
  10945. * declarative/qdeclarativewebview.cpp:
  10946. * declarative/qdeclarativewebview_p.h:
  10947. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  10948. 2011-03-10 Alexis Menard <alexis.menard@openbossa.org>
  10949. Reviewed by Andreas Kling.
  10950. [Qt] QtDeclarative Webview element has a fixed white background
  10951. https://bugs.webkit.org/show_bug.cgi?id=40918
  10952. Implement a way to change the background color of the WebView QML element.
  10953. This feature is activated for QtWebKit 1.1 version of the plugin.
  10954. * declarative/plugin.cpp:
  10955. (WebKitQmlPlugin::registerTypes):
  10956. * declarative/qdeclarativewebview.cpp:
  10957. (QDeclarativeWebView::backgroundColor):
  10958. (QDeclarativeWebView::setBackgroundColor):
  10959. * declarative/qdeclarativewebview_p.h:
  10960. * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml: Added.
  10961. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  10962. (tst_QDeclarativeWebView::backgroundColor):
  10963. * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
  10964. 2011-03-10 Stanislav Paltis <Stanislav.Paltis@nokia.com>
  10965. Reviewed by Laszlo Gombos.
  10966. [Qt] MemoryCache deadDecodedDataDeletionInterval is not exposed for client's usage
  10967. https://bugs.webkit.org/show_bug.cgi?id=55945
  10968. Added handling of dynamic/runtime property _q_deadDecodedDataDeletionInterval to
  10969. set interval used to trigger when decoded data in dead list of object cache will
  10970. be purged from object cache.
  10971. * Api/qwebpage.cpp:
  10972. (QWebPagePrivate::dynamicPropertyChangeEvent):
  10973. 2011-03-10 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  10974. Reviewed by Antonio Gomes.
  10975. Simplify how QWebFrame::requestedUrl() is obtained
  10976. https://bugs.webkit.org/show_bug.cgi?id=55842
  10977. When a load starts, store the requested URL until we know that it'll be
  10978. available for us in the document loader -- after load finished.
  10979. The existing auto tests cover the three different code paths in
  10980. requestedUrl() and the new code passes the autotests. In each of those
  10981. cases, we looked for the information in a different place, but in all
  10982. of them, dispatchDidStartProvisionalLoad was called.
  10983. This simplification will be useful to fix bug 32723. The way requestedUrl()
  10984. is implementent, we can't use it as a fallback for url() when the setUrl()
  10985. was called with an invalid URL.
  10986. * Api/qwebframe.cpp:
  10987. (QWebFrame::requestedUrl):
  10988. * WebCoreSupport/FrameLoaderClientQt.cpp:
  10989. (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
  10990. (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
  10991. * WebCoreSupport/FrameLoaderClientQt.h:
  10992. (WebCore::FrameLoaderClientQt::lastRequestedUrl):
  10993. 2011-03-10 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
  10994. Reviewed by Kenneth Rohde Christiansen.
  10995. Tiled backing store's delegated scroll request uses incorrect convention
  10996. https://bugs.webkit.org/show_bug.cgi?id=56011
  10997. Adapt internal API to match the change from delta to point on the
  10998. WebCore side, and convert the point to a delta for the public API.
  10999. * WebCoreSupport/ChromeClientQt.cpp:
  11000. (WebCore::ChromeClientQt::delegatedScrollRequested):
  11001. * WebCoreSupport/ChromeClientQt.h:
  11002. 2011-03-09 Peter Kasting <pkasting@google.com>
  11003. Reviewed by Mihai Parparita.
  11004. Unify Windows version checks.
  11005. https://bugs.webkit.org/show_bug.cgi?id=55979
  11006. * Api/qwebpage.cpp:
  11007. (QWebPage::userAgentForUrl):
  11008. 2011-03-07 Sam Weinig <sam@webkit.org>
  11009. Reviewed by Anders Carlsson.
  11010. Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
  11011. https://bugs.webkit.org/show_bug.cgi?id=55827
  11012. Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
  11013. and pass the entire response, instead of just the MIMEType.
  11014. * WebCoreSupport/FrameLoaderClientQt.cpp:
  11015. (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
  11016. * WebCoreSupport/FrameLoaderClientQt.h:
  11017. 2011-03-05 Qi Zhang <qi.2.zhang@nokia.com>
  11018. Reviewed by Laszlo Gombos.
  11019. [Qt] Mobile Devices should include Model and Firmware Version in Webkit Generated User Agent String
  11020. https://bugs.webkit.org/show_bug.cgi?id=48636
  11021. Add model infomation into user agent string when qtmobility is available, but only for symbian, Maemo and MeeGo.
  11022. * Api/qwebpage.cpp:
  11023. (QWebPage::userAgentForUrl):
  11024. 2011-03-03 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
  11025. Reviewed by Kenneth Rohde Christiansen.
  11026. [QT] Implement mock client-based geolocation for layout testing
  11027. https://bugs.webkit.org/show_bug.cgi?id=54334
  11028. Implement layout testing for Client-Based geolocation. If drt_run is set
  11029. then create mock geolocationClient and update the same with controller.
  11030. * Api/qwebpage.cpp:
  11031. (QWebPagePrivate::QWebPagePrivate):
  11032. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  11033. (DumpRenderTreeSupportQt::mockGeolocationReset):
  11034. (DumpRenderTreeSupportQt::setMockGeolocationPermission):
  11035. (DumpRenderTreeSupportQt::setMockGeolocationPosition):
  11036. (DumpRenderTreeSupportQt::setMockGeolocationError):
  11037. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  11038. * WebCoreSupport/GeolocationClientQt.cpp:
  11039. (WebCore::GeolocationClientQt::GeolocationClientQt):
  11040. * WebCoreSupport/GeolocationClientQt.h:
  11041. 2011-03-03 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  11042. Reviewed by Kenneth Rohde Christiansen.
  11043. [Qt] QWebFrame::setUrl works only from second time if url fragment is present
  11044. https://bugs.webkit.org/show_bug.cgi?id=32723
  11045. Create an auto-test for Qt based on the bug description.
  11046. * tests/qwebframe/tst_qwebframe.cpp: add setUrlWithFragment() test.
  11047. 2011-03-03 Brady Eidson <beidson@apple.com>
  11048. Reviewed by Darin Adler.
  11049. https://bugs.webkit.org/show_bug.cgi?id=55721
  11050. Global IconDatabase should be returned by reference, not as a pointer
  11051. * Api/qwebsettings.cpp:
  11052. (QWebSettings::setIconDatabasePath):
  11053. (QWebSettings::iconDatabasePath):
  11054. (QWebSettings::clearIconDatabase):
  11055. (QWebSettings::iconForUrl):
  11056. 2011-03-03 Alexey Proskuryakov <ap@apple.com>
  11057. Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
  11058. via ChromeClient.h
  11059. * WebCoreSupport/ChromeClientQt.h:
  11060. 2011-03-02 Alexey Proskuryakov <ap@apple.com>
  11061. Reviewed by Darin Adler.
  11062. REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
  11063. https://bugs.webkit.org/show_bug.cgi?id=55633
  11064. <rdar://problem/8963023>
  11065. * WebCoreSupport/ChromeClientQt.cpp (WebCore::ChromeClientQt::keyboardUIMode):
  11066. * WebCoreSupport/ChromeClientQt.h:
  11067. Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
  11068. this platform doesn't observe or have full keyboard access state.
  11069. 2011-03-03 Alexis Menard <alexis.menard@openbossa.org>
  11070. Reviewed by Andreas Kling.
  11071. [Qt] QGraphicsWebView should use updateMicroFocus() of QGraphicsItem
  11072. https://bugs.webkit.org/show_bug.cgi?id=55568
  11073. We should use updateMicroFocus() from QGraphicsItem rather than the implementation
  11074. in QGraphicsWebView. _q_updateMicroFocus was added when QGraphicsItem didn't have the feature.
  11075. In Qt 4.7, updateMicroFocus was added, let's use it, then we can benefit of all bug fixing done
  11076. in QGraphicsItem.
  11077. * Api/qgraphicswebview.cpp:
  11078. (QGraphicsWebView::setPage):
  11079. * Api/qgraphicswebview.h:
  11080. 2011-03-03 Peter Kasting <pkasting@google.com>
  11081. Reviewed by James Robinson.
  11082. Drop redundant "Windows; " from the Windows-specific User Agent string.
  11083. https://bugs.webkit.org/show_bug.cgi?id=54567
  11084. * Api/qwebpage.cpp:
  11085. (QWebPage::userAgentForUrl):
  11086. 2011-03-01 Brian Weinstein <bweinstein@apple.com>
  11087. Reviewed by Adam Roben.
  11088. Part of WebKit2: Need a way to send notifications to client when cookies change
  11089. https://bugs.webkit.org/show_bug.cgi?id=55427
  11090. <rdar://problem/9056027>
  11091. Add stubs for CookiesStrategy on Qt WebKit1.
  11092. * WebCoreSupport/WebPlatformStrategies.cpp:
  11093. (WebPlatformStrategies::createCookiesStrategy):
  11094. (WebPlatformStrategies::notifyCookiesChanged):
  11095. * WebCoreSupport/WebPlatformStrategies.h:
  11096. 2011-03-01 Joseph Pecoraro <joepeck@webkit.org>
  11097. Unreviewed. Roll out r80068 and r80073 due to breaking WebKit2 Qt port.
  11098. * Api/qwebpage.cpp:
  11099. (QWebPage::viewportAttributesForSize):
  11100. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  11101. (DumpRenderTreeSupportQt::viewportAsText):
  11102. 2011-03-01 Joseph Pecoraro <joepeck@webkit.org>
  11103. Reviewed by Kenneth Rohde Christiansen.
  11104. Viewport Warning/Error Messages Are Now Inaccurate
  11105. https://bugs.webkit.org/show_bug.cgi?id=53707
  11106. * Api/qwebpage.cpp:
  11107. (QWebPage::viewportAttributesForSize): pass a Document into computeViewportAttributes for warnings to be reported to.
  11108. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  11109. (DumpRenderTreeSupportQt::viewportAsText): pass a Document into computeViewportAttributes for warnings to be reported to.
  11110. 2011-03-01 Andras Becsi <abecsi@webkit.org>
  11111. Reviewed by Csaba Osztrogonác.
  11112. [Qt] Clean up the project files and move common options to WebKit.pri.
  11113. * QtWebKit.pro: Move common options to WebKit.pri.
  11114. 2011-03-01 Aparna Nandyal <aparna.nand@wipro.com>
  11115. Reviewed by Simon Hausmann.
  11116. [Qt]tst_QWebPage::backActionUpdate fails when there is not network connection
  11117. https://bugs.webkit.org/show_bug.cgi?id=55319
  11118. The test case required internet connection to be able to connect to
  11119. google.com. Added new html file which refers to local html file.
  11120. * tests/qwebpage/resources/content.html: Added.
  11121. * tests/qwebpage/resources/frame_c.html: Added.
  11122. * tests/qwebpage/resources/framedindex.html: Added.
  11123. * tests/qwebpage/tst_qwebpage.cpp:
  11124. (tst_QWebPage::backActionUpdate):
  11125. * tests/qwebpage/tst_qwebpage.qrc:
  11126. 2011-02-25 Steve Block <steveblock@google.com>
  11127. Reviewed by Jeremy Orlow.
  11128. Bridge.h should not include BridgeJSC.h
  11129. https://bugs.webkit.org/show_bug.cgi?id=55212
  11130. Include BridgeJSC.h directly instead.
  11131. * Api/qwebframe.cpp:
  11132. 2011-02-28 Chang Shu <cshu@webkit.org>
  11133. Reviewed by Ryosuke Niwa.
  11134. Remove the support of Frame::isContentEditable and its dependencies.
  11135. https://bugs.webkit.org/show_bug.cgi?id=54292
  11136. Remove the WebKit side implementation. Make WebKit support depend on Document::inDesignMode.
  11137. * Api/qwebpage.cpp:
  11138. (QWebPagePrivate::QWebPagePrivate):
  11139. (QWebPage::setContentEditable):
  11140. (QWebPage::isContentEditable):
  11141. * Api/qwebpage_p.h:
  11142. * WebCoreSupport/EditorClientQt.cpp:
  11143. * WebCoreSupport/EditorClientQt.h:
  11144. 2011-02-28 Alexis Menard <alexis.menard@openbossa.org>
  11145. Reviewed by Oliver Hunt.
  11146. Build fix for Qt port after API changes of http://trac.webkit.org/changeset/79904.
  11147. * Api/qwebelement.cpp:
  11148. (QWebElement::evaluateJavaScript):
  11149. 2011-02-28 Alexis Menard <alexis.menard@openbossa.org>
  11150. Reviewed by Andreas Kling.
  11151. [Qt]tst_QDeclarativeWebView - 8 test cases fail
  11152. https://bugs.webkit.org/show_bug.cgi?id=55214
  11153. Fix the API tests for the QML WebView element. The default size of the element should be the size of the QGraphicsWebView
  11154. if no preferred width or height are provided (see http://trac.webkit.org/changeset/79672).
  11155. I also refactored the tests so we don't use the network but instead a local html file.
  11156. QML doesn't support qrc loading so I had to workaround by using a property that I update afterwards.
  11157. * tests/qdeclarativewebview/resources/sample.html: Added.
  11158. * tests/qdeclarativewebview/resources/webviewtest.qml:
  11159. * tests/qdeclarativewebview/resources/webviewtestdefault.qml:
  11160. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
  11161. (tst_QDeclarativeWebView::preferredWidthTest):
  11162. (tst_QDeclarativeWebView::preferredHeightTest):
  11163. (tst_QDeclarativeWebView::preferredWidthDefaultTest):
  11164. (tst_QDeclarativeWebView::preferredHeightDefaultTest):
  11165. * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
  11166. 2011-02-28 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
  11167. Reviewed by Andreas Kling.
  11168. [Qt] Add clipped version of QWebElement::render method.
  11169. Allows faster rendering of web element part.
  11170. https://bugs.webkit.org/show_bug.cgi?id=50311
  11171. * Api/qwebelement.cpp:
  11172. (QWebElement::render):
  11173. * Api/qwebelement.h:
  11174. * tests/qwebelement/tst_qwebelement.cpp:
  11175. (tst_QWebElement::render):
  11176. 2011-02-28 Kristian Amlie <kristian.amlie@nokia.com>
  11177. Reviewed by Andreas Kling.
  11178. Added full webkit module profile and a syncqt profile.
  11179. This is for modularized Qt.
  11180. [Qt] WebKit patches required to work with a modularized version of Qt
  11181. https://bugs.webkit.org/show_bug.cgi?id=53916
  11182. * qt_webkit_version.pri:
  11183. 2011-02-27 Aparna Nandyal <aparna.nand@wipro.com>
  11184. Reviewed by Antonio Gomes.
  11185. [Qt] QtTestBrowser - Horizontal scrollbar disappears on navigating pages using Back/Forward
  11186. https://bugs.webkit.org/show_bug.cgi?id=53917
  11187. Adding test case to check the scenario to avoid regressions in the
  11188. future.
  11189. * tests/qwebframe/tst_qwebframe.cpp:
  11190. 2011-02-27 Benjamin Poulain <benjamin.poulain@nokia.com>
  11191. Reviewed by Andreas Kling.
  11192. [Qt] Reference the documentation of the WebKit bridge from QWebFrame::addToJavaScriptWindowObject()
  11193. https://bugs.webkit.org/show_bug.cgi?id=55322
  11194. Documentation update, add a reference to the QtWebKit bridge page.
  11195. * Api/qwebframe.cpp:
  11196. 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
  11197. Reviewed by Pavel Feldman.
  11198. DumpRenderTree should reset frame opener between tests.
  11199. https://bugs.webkit.org/show_bug.cgi?id=54874
  11200. Added clearOpener method to DumpRenderTreeSupportQT.
  11201. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  11202. (DumpRenderTreeSupportQt::clearOpener):
  11203. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  11204. 2011-02-26 Kenneth Rohde Christiansen <kenneth@webkit.org>
  11205. Reviewed by Andreas Kling.
  11206. Make it possible to test the targetdensity-dpi support
  11207. https://bugs.webkit.org/show_bug.cgi?id=55142
  11208. Test the viewport meta tag feature targetdensity-dpi by
  11209. adding extra arguments to dumpConfigurationForViewport
  11210. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  11211. (DumpRenderTreeSupportQt::viewportAsText):
  11212. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  11213. 2011-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
  11214. Unreviewed, rolling out r79764.
  11215. http://trac.webkit.org/changeset/79764
  11216. https://bugs.webkit.org/show_bug.cgi?id=55295
  11217. "broke Chromium builds" (Requested by rniwa on #webkit).
  11218. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  11219. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  11220. 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
  11221. Reviewed by Pavel Feldman.
  11222. DumpRenderTree should reset frame opener between tests.
  11223. https://bugs.webkit.org/show_bug.cgi?id=54874
  11224. Added clearOpener method to DumpRenderTreeSupportQT.
  11225. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  11226. (DumpRenderTreeSupportQt::clearOpener):
  11227. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  11228. 2011-02-25 Andras Becsi <abecsi@webkit.org>
  11229. Reviewed by Csaba Osztrogonác.
  11230. [Qt] Make the WebKit2 build system less confusing for non-Qt developers
  11231. https://bugs.webkit.org/show_bug.cgi?id=55213
  11232. * QtWebKit.pro: Move the WebKit2 API into a project include file
  11233. in the WebKit2 directory and include the pri file here.
  11234. 2011-02-25 Alexis Menard <alexis.menard@openbossa.org>
  11235. Unreviewed build fix for Intel ICC and MSVC.
  11236. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  11237. (tst_QGraphicsWebView::setPalette):
  11238. * tests/qwebview/tst_qwebview.cpp:
  11239. (tst_QWebView::setPalette):
  11240. 2011-02-25 Alexis Menard <alexis.menard@openbossa.org>
  11241. Reviewed by Kenneth Rohde Christiansen.
  11242. [Qt] Properly propagate the palette to QWebPage from QGraphicsWebView
  11243. https://bugs.webkit.org/show_bug.cgi?id=31742
  11244. Discovered while looking at 31742. When we set a palette on the
  11245. QGraphicsWebView we need to propagate it to the page like QWebView.
  11246. I have added the same tests as QWebView to be sure to catch potential
  11247. regressions as well as two extras QVERIFY to check the palette propagation.
  11248. * Api/qgraphicswebview.cpp:
  11249. (QGraphicsWebView::event):
  11250. * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  11251. (tst_QGraphicsWebView::setPalette_data):
  11252. (tst_QGraphicsWebView::setPalette):
  11253. 2011-02-25 Csaba Osztrogonác <ossy@webkit.org>
  11254. Unreviewed buildfix after r79672.
  11255. [Qt] Build tst_qdeclarativewebview if QT_CONFIG contains declarative.
  11256. * tests/tests.pri:
  11257. * tests/tests.pro:
  11258. 2011-02-25 Gopal Raghavan <gopal.1.raghavan@nokia.com>
  11259. Reviewed by Kenneth Rohde Christiansen.
  11260. [Qt] QML WebView inside a Flickable shows checkers pattern at startup
  11261. https://bugs.webkit.org/show_bug.cgi?id=50222.
  11262. This patch fixes the checkerboard visible at startup even if preferredWidth and preferredHeight are not set.
  11263. * declarative/qdeclarativewebview.cpp:
  11264. (QDeclarativeWebView::init):
  11265. * tests/qdeclarativewebview: Added.
  11266. * tests/qdeclarativewebview/qdeclarativewebview.pro: Added.
  11267. * tests/qdeclarativewebview/resources: Added.
  11268. * tests/qdeclarativewebview/resources/webviewtest.qml: Added.
  11269. * tests/qdeclarativewebview/resources/webviewtestdefault.qml: Added.
  11270. * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Added.
  11271. (tst_QDeclarativeWebView::initTestCase):
  11272. (tst_QDeclarativeWebView::cleanupTestCase):
  11273. (tst_QDeclarativeWebView::init):
  11274. (tst_QDeclarativeWebView::cleanup):
  11275. (tst_QDeclarativeWebView::preferredWidthTest):
  11276. (tst_QDeclarativeWebView::preferredHeightTest):
  11277. (tst_QDeclarativeWebView::preferredWidthDefaultTest):
  11278. (tst_QDeclarativeWebView::preferredHeightDefaultTest):
  11279. (tst_QDeclarativeWebView::checkNoErrors):
  11280. * tests/tests.pri:
  11281. * tests/tests.pro:
  11282. 2011-02-24 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
  11283. Reviewed by Andreas Kling.
  11284. [Qt] Revert the support for QNAM affined to a different thread.
  11285. https://bugs.webkit.org/show_bug.cgi?id=55149
  11286. Qt 4.8 will have QNAM use its own thread internally by default,
  11287. no need to keep this complexity in WebKit.
  11288. This mainly reverts:
  11289. http://trac.webkit.org/changeset/73710
  11290. http://trac.webkit.org/changeset/73712
  11291. * WebCoreSupport/FrameLoaderClientQt.cpp:
  11292. (WebCore::FrameLoaderClientQt::download):
  11293. * tests/qwebpage/tst_qwebpage.cpp:
  11294. 2011-02-24 Sam Weinig <sam@webkit.org>
  11295. Try to fix the Qt build.
  11296. * QtWebKit.pro:
  11297. 2011-02-24 Peter Kasting <pkasting@google.com>
  11298. Reviewed by Eric Seidel.
  11299. Drop the "U; " encryption level from the User Agent string.
  11300. https://bugs.webkit.org/show_bug.cgi?id=54566
  11301. * Api/qwebpage.cpp:
  11302. (QWebPage::userAgentForUrl):
  11303. 2011-02-24 Andrew Wilson <atwilson@chromium.org>
  11304. Unreviewed, rolling out r79570.
  11305. http://trac.webkit.org/changeset/79570
  11306. https://bugs.webkit.org/show_bug.cgi?id=54874
  11307. Breaks chromium build because glue/mocks/mock_web_frame.h/cc
  11308. was not updated
  11309. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  11310. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  11311. 2011-02-24 Vsevolod Vlasov <vsevik@chromium.org>
  11312. Reviewed by Alexey Proskuryakov.
  11313. DumpRenderTree should reset frame opener between tests.
  11314. https://bugs.webkit.org/show_bug.cgi?id=54874
  11315. Added clearOpener method to DumpRenderTreeSupportQT.
  11316. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  11317. (DumpRenderTreeSupportQt::clearOpener):
  11318. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  11319. 2011-02-24 Alexis Menard <alexis.menard@openbossa.org>
  11320. Reviewed by Andreas Kling.
  11321. [Qt] tst_QWebView::setPalette(activeFG) fails
  11322. https://bugs.webkit.org/show_bug.cgi?id=55029
  11323. This time it should be the proper fix. The window needs to be shown before we
  11324. call activateWindow() otherwise there is no active windows for the application.
  11325. * tests/qwebview/tst_qwebview.cpp:
  11326. (tst_QWebView::setPalette):
  11327. 2011-02-24 Andras Becsi <abecsi@webkit.org>
  11328. Reviewed by Laszlo Gombos.
  11329. [Qt] MinGW build fails to link
  11330. https://bugs.webkit.org/show_bug.cgi?id=55050
  11331. Prepend the libraries of subcomponents instead of appending them
  11332. to fix the library order according to the dependency of the libraries
  11333. * QtWebKit.pro: prepend libraries in the correct order
  11334. 2011-02-23 Alexis Menard <alexis.menard@openbossa.org>
  11335. Reviewed by Ariya Hidayat.
  11336. [Qt] tst_QWebView::setPalette(activeFG) fails
  11337. https://bugs.webkit.org/show_bug.cgi?id=55029
  11338. Attempt to make the test more robust. By investigating with the bot virtual machine
  11339. I discovered that the activation can take some time. In this patch we make sure that
  11340. the active window we want to have is the same as the QApplication.
  11341. * tests/qwebview/tst_qwebview.cpp:
  11342. (tst_QWebView::setPalette):
  11343. 2011-02-23 Alexis Menard <alexis.menard@openbossa.org>
  11344. Reviewed by Dan Bernstein.
  11345. [Qt]REGRESSION(r79167): It broke 3 Qt-API test cases
  11346. http://trac.webkit.org/changeset/79167 refactored the way the bound size of
  11347. the frame is handled. A new API setBoundsSize was added, we need to call it
  11348. in addition to setFrameRect. I could call setBoundSize after setFrameRect but
  11349. I thought It would be more elegant to use the resize method.
  11350. * Api/qwebpage.cpp:
  11351. (QWebPage::setViewportSize):
  11352. 2011-02-22 Fabrizio Machado <fabrizio.machado@nokia.com>
  11353. Reviewed by Laszlo Gombos.
  11354. [Qt] Don't fall through case in variantToSetting() if qvariant.type() is Bool
  11355. https://bugs.webkit.org/show_bug.cgi?id=54976
  11356. Test not needed.
  11357. * WebCoreSupport/InspectorClientQt.cpp:
  11358. 2011-02-22 Alexis Menard <alexis.menard@openbossa.org>
  11359. Reviewed by Andreas Kling.
  11360. [Qt] QWebView ignores a palette set with QWebView::setPalette()
  11361. https://bugs.webkit.org/show_bug.cgi?id=31742
  11362. Test case to check that the palette sets on the QWebView is taken
  11363. into account.
  11364. * tests/qwebview/tst_qwebview.cpp:
  11365. (tst_QWebView::setPalette_data):
  11366. (tst_QWebView::setPalette):
  11367. 2011-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
  11368. Reviewed by Alexey Proskuryakov.
  11369. Drop the language tag part from the User Agent string
  11370. https://bugs.webkit.org/show_bug.cgi?id=54560
  11371. * Api/qwebpage.cpp:
  11372. (QWebPage::userAgentForUrl):
  11373. * tests/qwebpage/tst_qwebpage.cpp: Remove the userAgentLocaleChange
  11374. test.
  11375. 2011-02-22 Chang Shu <cshu@webkit.org>
  11376. Reviewed by Csaba Osztrogonác.
  11377. [Qt] editing/deleting/5408255.html fails
  11378. https://bugs.webkit.org/show_bug.cgi?id=54964
  11379. Move WebCore resource file to QtWebKit since they are referred in WebKit.
  11380. * QtWebKit.pro:
  11381. 2011-02-22 Andras Becsi <abecsi@webkit.org>
  11382. Reviewed by Csaba Osztrogonác.
  11383. [Qt] Redesign the build system
  11384. https://bugs.webkit.org/show_bug.cgi?id=51339
  11385. Move inspector's resource files into the final build step to fix the layout test regression.
  11386. * QtWebKit.pro: Add inspector's reaource files.
  11387. 2011-02-22 Andras Becsi <abecsi@webkit.org>
  11388. Reviewed by Laszlo Gombos.
  11389. Rubber-stamped by Csaba Osztrogonác.
  11390. [Qt] Redesign the build system
  11391. https://bugs.webkit.org/show_bug.cgi?id=51339
  11392. The patch landed in r79320 didn't contain the cleanup
  11393. which was already addressed in the last attachment.
  11394. * QtWebKit.pro: Move common LIB and CONFIG options to WebCore.pri.
  11395. 2011-02-22 Andras Becsi <abecsi@webkit.org>
  11396. Reviewed by Laszlo Gombos.
  11397. [Qt] Redesign the build system
  11398. https://bugs.webkit.org/show_bug.cgi?id=51339
  11399. Part 2.
  11400. Build WebCore as a static library, compile the WebKit API and WebKit2 API
  11401. in a final step and link to WebKit2, WebCore and JSC libraries to fix
  11402. linking issues resulting from stripped away symbols.
  11403. * QtWebKit.pro: Added.
  11404. Project file for the final build step.
  11405. 2011-02-17 Ryosuke Niwa <rniwa@webkit.org>
  11406. Reviewed by Kent Tamura.
  11407. Rename Position::node() to Position::deprecatedNode()
  11408. https://bugs.webkit.org/show_bug.cgi?id=54622
  11409. Replaced the call to node() by a call to containerNode() because the returned node is
  11410. used to determine whether or not the selected contents are editable and such a check
  11411. must be done against the container node.
  11412. * WebCoreSupport/EditorClientQt.cpp:
  11413. (WebCore::EditorClientQt::handleKeyboardEvent):
  11414. 2011-02-19 Charlie Reis <creis@chromium.org>
  11415. Reviewed by Mihai Parparita.
  11416. Ensure loading has stopped in HistoryController::goToItem
  11417. https://bugs.webkit.org/show_bug.cgi?id=54517
  11418. Add a FrameLoaderClient callback for whether to stop loading before goToItem.
  11419. Test: http/tests/navigation/forward-to-fragment-fires-onload.html
  11420. * WebCoreSupport/FrameLoaderClientQt.cpp:
  11421. (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem): Added.
  11422. * WebCoreSupport/FrameLoaderClientQt.h:
  11423. 2011-02-18 Fabrizio Machado <fabrizio.machado@nokia.com>
  11424. Reviewed by Eric Seidel.
  11425. Remove reduntant checks.
  11426. https://bugs.webkit.org/show_bug.cgi?id=54764
  11427. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  11428. (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
  11429. * WebCoreSupport/NotificationPresenterClientQt.cpp:
  11430. (WebCore::NotificationPresenterClientQt::toPage):
  11431. 2011-02-18 Csaba Osztrogonác <ossy@webkit.org>
  11432. Unreviewed.
  11433. [Qt] Buildfix for platforms with geolocation disabled.
  11434. * Api/qwebpage.cpp: Add the missing guard.
  11435. 2011-02-18 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
  11436. Reviewed by Kenneth Rohde Christiansen.
  11437. [Qt] Implement client based geolocation for qtport
  11438. https://bugs.webkit.org/show_bug.cgi?id=42629
  11439. Implements client based geolocation for qtwebkit.
  11440. New client based geolocation contains permission API's as well,
  11441. so removed the implementation from ChromeClientQt.cpp.
  11442. * Api/qwebpage.cpp:
  11443. (QWebPagePrivate::QWebPagePrivate):
  11444. * WebCoreSupport/ChromeClientQt.cpp:
  11445. * WebCoreSupport/ChromeClientQt.h:
  11446. (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
  11447. (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
  11448. * WebCoreSupport/GeolocationClientQt.cpp: Added.
  11449. (WebCore::GeolocationClientQt::GeolocationClientQt):
  11450. (WebCore::GeolocationClientQt::~GeolocationClientQt):
  11451. (WebCore::GeolocationClientQt::geolocationDestroyed):
  11452. (WebCore::GeolocationClientQt::positionUpdated):
  11453. (WebCore::GeolocationClientQt::startUpdating):
  11454. (WebCore::GeolocationClientQt::stopUpdating):
  11455. (WebCore::GeolocationClientQt::setEnableHighAccuracy):
  11456. (WebCore::GeolocationClientQt::requestPermission):
  11457. (WebCore::GeolocationClientQt::cancelPermissionRequest):
  11458. * WebCoreSupport/GeolocationClientQt.h: Added.
  11459. (WebCore::GeolocationClientQt::lastPosition):
  11460. 2011-02-10 Luiz Agostini <luiz.agostini@openbossa.org>
  11461. Reviewed by Adam Roben.
  11462. HTML5 <details> and <summary>: localized text
  11463. https://bugs.webkit.org/show_bug.cgi?id=54260
  11464. The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
  11465. provide the default label to be used by a <details> tag that has no <summary> child.
  11466. * WebCoreSupport/WebPlatformStrategies.cpp:
  11467. (WebPlatformStrategies::defaultDetailsSummaryText):
  11468. * WebCoreSupport/WebPlatformStrategies.h:
  11469. 2011-02-17 Hui Huang <hui.2.huang@nokia.com>
  11470. Reviewed by Laszlo Gombos.
  11471. The URL of HTML5 Video Element is percent encoded at websites such as youtube.
  11472. It is percent encoded again by QUrl constructor QUrl::QUrl(QString). This causes
  11473. the HTTP GET request for the video to be rejected by the service provider.
  11474. https://bugs.webkit.org/show_bug.cgi?id=53973.
  11475. The bug is fixed by constructing QUrl from the encoded URL in
  11476. MediaPlayerPrivateQt::commitLoad.
  11477. New test function tst_QWebPage::loadHtml5Video() is added to load HTML content with
  11478. HTML5 Video element. A new public method DumpRenderTreeSupportQt::mediaContentUrlByElementId
  11479. is added to retrieve the URL of the media content from WebCore MediaPlayerPrivateQt.
  11480. A new macro ENABLE_QT_MULTIMEDIA is introduced in tests.pri to make sure that the test
  11481. is skipped if Qt Multimedia is not available.
  11482. * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
  11483. (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
  11484. * WebCoreSupport/DumpRenderTreeSupportQt.h:
  11485. * tests/qwebpage/tst_qwebpage.cpp:
  11486. (tst_QWebPage::loadHtml5Video):
  11487. * tests/tests.pri:
  11488. 2011-02-17 Andreas Kling <kling@webkit.org>
  11489. Reviewed by Antti Koivisto.
  11490. [Qt] Crash when calling QWebFrame::setUrl() while a previous load has pending requests
  11491. https://bugs.webkit.org/show_bug.cgi?id=49216
  11492. * tests/qwebframe/tst_qwebframe.cpp:
  11493. == Rolled over to ChangeLog-2011-02-16 ==