1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986 |
- 2013-06-26 Lucas Forschler <lforschler@apple.com>
- Merge r151832
- 2013-06-21 Christophe Dumez <ch.dumez@sisa.samsung.com>
- REGRESSION (r150663): Using webkitAudioContext in Inspector makes it undefined everywhere
- https://bugs.webkit.org/show_bug.cgi?id=117825
- Reviewed by Kentaro Hara.
- Use Settings to enable Web Audio instead of RuntimeEnabledFeatures.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- 2013-06-17 Michael Brüning <michael.bruning@digia.com>
- [Qt] Remove Qt specific QTKIT flagged code.
- https://bugs.webkit.org/show_bug.cgi?id=117635
- Reviewed by Simon Hausmann.
- Due to disabling QTKIT for Qt in r151546, the
- code the flags that are not taken into account
- anymore and the code that has been rendered
- unreachable by this are removed.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::ChromeClientQt):
- (WebCore::ChromeClientQt::~ChromeClientQt):
- * WebCoreSupport/ChromeClientQt.h:
- * WebCoreSupport/FullScreenVideoQt.cpp:
- (WebCore::FullScreenVideoQt::FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::enterFullScreenForNode):
- (WebCore::FullScreenVideoQt::exitFullScreenForNode):
- (WebCore::FullScreenVideoQt::isValid):
- * WebCoreSupport/FullScreenVideoQt.h:
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebCore::initializeWebCoreQt):
- * WebCoreSupport/QTKitFullScreenVideoHandler.h: Removed.
- * WebCoreSupport/QTKitFullScreenVideoHandler.mm: Removed.
- * WebCoreSupport/WebSystemInterface.h: Removed.
- * WebCoreSupport/WebSystemInterface.mm: Removed.
- 2013-06-05 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Handle Return key without key text
- https://bugs.webkit.org/show_bug.cgi?id=117239
- Reviewed by Andreas Kling.
- Test for QKeyEvent(Return_Key) without key text.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::inputMethods):
- 2013-06-03 Commit Queue <commit-queue@webkit.org>
- Unreviewed, rolling out r151109.
- http://trac.webkit.org/changeset/151109
- https://bugs.webkit.org/show_bug.cgi?id=117145
- "Plugins in WK2 aren't implemented yet." (Requested by
- jturcotte on #webkit).
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::windowResizerRect):
- 2013-05-22 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Re-enable plugins on Mac.
- https://bugs.webkit.org/show_bug.cgi?id=116622
- Reviewed by Tor Arne Vestbø.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::windowResizerRect):
- - Add missing parenthese.
- 2013-06-02 Arunprasad Rajkumar <arurajku@cisco.com>
- [Qt] Move Qt port off legacy clipboard
- https://bugs.webkit.org/show_bug.cgi?id=116416
- Reviewed by Darin Adler.
- * WebCoreSupport/DragClientQt.cpp:
- (WebCore::DragClientQt::startDrag):
- 2013-05-29 Liang Qi <liang.qi@digia.com>
- [Qt] Add all plugins.qmltypes files and update qmldir files
- Reviewed by Simon Hausmann.
- These are required for code completion in Qt Creator.
- * declarative/plugins.qmltypes: Added.
- * declarative/qmldir:
- 2013-05-28 Andreas Kling <akling@apple.com>
- Document::setFocusedNode() should be setFocusedElement().
- <http://webkit.org/b/116857>
- Reviewed by Antti Koivisto.
- * Api/qwebelement.cpp:
- (QWebElement::hasFocus):
- (QWebElement::setFocus):
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::setInputMethodState):
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::mousePressEvent):
- (QWebPageAdapter::handleSoftwareInputPanel):
- (QWebPageAdapter::inputMethodQuery):
- (QWebPageAdapter::hasFocusedNode):
- 2013-05-27 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt][Win] Input events aren't mapped properly with windowless plugins.
- https://bugs.webkit.org/show_bug.cgi?id=116094
- Reviewed by Tor Arne Vestbø.
- * WidgetSupport/PageClientQt.cpp:
- (WebCore::PageClientQWidget::mapToOwnerWindow):
- (WebCore::PageClientQGraphicsWidget::makeOpenGLContextCurrentIfAvailable):
- (WebCore::PageClientQGraphicsWidget::screenNumber):
- (WebCore::PageClientQGraphicsWidget::geometryRelativeToOwnerWidget):
- (WebCore::PageClientQGraphicsWidget::mapToOwnerWindow):
- (WebCore::PageClientQGraphicsWidget::graphicsItemVisibleRect):
- (WebCore::PageClientQGraphicsWidget::firstGraphicsView):
- Extracted this common logic from makeOpenGLContextCurrentIfAvailable,
- screenNumber, geometryRelativeToOwnerWidget and graphicsItemVisibleRect
- to be able to use it in mapToOwnerWindow.
- * WidgetSupport/PageClientQt.h:
- (PageClientQWidget):
- (PageClientQGraphicsWidget):
- 2013-05-24 Christophe Dumez <ch.dumez@sisa.samsung.com>
- Remove custom code for webkitAudioContext global constructor getter
- https://bugs.webkit.org/show_bug.cgi?id=116530
- Reviewed by Geoffrey Garen.
- Use RuntimeEnabledFeatures instead of Settings to toggle Web Audio support.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- 2013-05-19 Anders Carlsson <andersca@apple.com>
- Remove ChromeClient::webView()
- https://bugs.webkit.org/show_bug.cgi?id=116054
- Reviewed by Darin Adler.
- This blatantly horrible layer violation was only used to know if a ChromeClient is an empty
- client or not. We already have a (slightly less horrible) way to do that.
- * WebCoreSupport/ChromeClientQt.h:
- (ChromeClientQt):
- 2013-05-18 Tim Horton <timothy_horton@apple.com>
- [Qt] REGRESSION(r150227): It made zillion tests crash under PlatformStrategiesQt::getPluginInfo
- https://bugs.webkit.org/show_bug.cgi?id=116289
- Reviewed by Csaba Osztrogonác.
- Don't try to static cast something that isn't a ChromeClientQt to ChromeClientQt.
- It's actually SVGImage's EmptyChromeClient-derived client (or other such things).
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::getPluginInfo):
- 2013-05-16 Tim Horton <timothy_horton@apple.com>
- PDFPlugins don't load when plugins are disabled, but they should
- https://bugs.webkit.org/show_bug.cgi?id=75790
- <rdar://problem/11650197>
- Reviewed by Anders Carlsson.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::objectContentType):
- Previously, this caller depended on pluginData() returning null if
- plug-ins were disabled. Since that is no longer the case, we have to
- check if we can use plug-ins, and otherwise ignore non-application-plug-ins.
- 2013-05-16 Andreas Kling <akling@apple.com>
- Page::chrome() should return a reference.
- <http://webkit.org/b/116185>
- Reviewed by Anders Carlsson.
- 2013-05-13 Anders Carlsson <andersca@apple.com>
- Frame::editor() should return a reference
- https://bugs.webkit.org/show_bug.cgi?id=116037
- Reviewed by Darin Adler.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::executeCoreCommandByName):
- (DumpRenderTreeSupportQt::isCommandEnabled):
- (DumpRenderTreeSupportQt::firstRectForCharacterRange):
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::respondToChangedSelection):
- (WebCore::EditorClientQt::registerUndoStep):
- (WebCore::EditorClientQt::handleKeyboardEvent):
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::selectedText):
- (QWebPageAdapter::selectedHtml):
- (QWebPageAdapter::setContentEditable):
- 2013-05-15 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Fix a crash under ~PingLoader when the QNAM on the page has been destroyed.
- https://bugs.webkit.org/show_bug.cgi?id=116035
- Reviewed by Allan Sandfeld Jensen.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::networkReplyParentDidntChange): Change test to match the new expectation.
- (tst_QWebPage::destroyQNAMBeforeAbortDoesntCrash):
- 2013-05-14 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Fix a crash under ~PingLoader when the QNAM on the page has been destroyed.
- https://bugs.webkit.org/show_bug.cgi?id=116035
- Reviewed by Simon Hausmann.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::networkReplyParentChanged):
- 2013-05-12 Timothy Hatcher <timothy@apple.com>
- Add support for updating the Web Inspector toolbar height.
- https://bugs.webkit.org/show_bug.cgi?id=115996
- Reviewed by Joseph Pecoraro and Benjamin Poulain.
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorFrontendClientQt::setToolbarHeight):
- * WebCoreSupport/InspectorClientQt.h:
- 2013-05-13 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Fix a crash on startup in FrameLoaderClientQt::callPolicyFunction with MSVC
- Reviewed by Allan Sandfeld Jensen.
- It's not clear why it crashes, but here's my guess by looking at the generated
- assembly code:
- Since we're using a member function pointer to PolicyChecker, the representation
- is not necessarily just a simple pointer and might be a bigger structure used
- to handle virtual functions resolution.
- For a function taking such a function "pointer" as parameter, the compiler doesn't
- seem to have the caller and callee agree on which convention to use if the function
- pointer's class is non-virtual and only one of the ends doesn't know about it.
- Including the definition of the member function pointer's class fixes the crash.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- 2013-05-09 Andreas Kling <akling@apple.com>
- [Qt][WK1]REGRESSION(r149532) tst_qwebelement and tst_qwebframe API tests crash.
- <http://webkit.org/b/115855>
- Fix obvious off-by-one mistake.
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- 2013-05-07 Allan Sandfeld Jensen <allan.jensen@digia.com>
- Crash when calling QWebFrame::evaluateJavaScript
- https://bugs.webkit.org/show_bug.cgi?id=113434
- Reviewed by Simon Hausmann.
- Ensure we hold the JSLock when converting JSValue to JSValueRef.
- * Api/qwebelement.cpp:
- (setupScriptContext):
- (QWebElement::evaluateJavaScript):
- * WebCoreSupport/QWebFrameAdapter.cpp:
- (QWebFrameAdapter::evaluateJavaScript):
- 2013-05-03 Andreas Kling <akling@apple.com>
- StyleResolver: Have "list of matched rules" API vend internal types instead of CSSOM wrappers.
- <http://webkit.org/b/115563>
- Reviewed by Antti Koivisto.
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- Tweaked for changes in StyleResolver API.
- 2013-04-30 Andreas Kling <akling@apple.com>
- Don't create StyleResolvers just to invalidate them.
- <http://webkit.org/b/115436>
- Reviewed by Geoffrey Garen.
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- 2013-04-25 Joseph Pecoraro <pecoraro@apple.com>
- Web Inspector: ConsoleMessage should include line and column number where possible
- https://bugs.webkit.org/show_bug.cgi?id=114929
- Reviewed by Timothy Hatcher.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::addMessageToConsole):
- * WebCoreSupport/ChromeClientQt.h:
- 2013-04-25 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Animated opacity does not trigger accelerated compositing
- https://bugs.webkit.org/show_bug.cgi?id=115107
- Reviewed by Simon Fraser.
- We should trigger compositing on animated opacity as it is always faster on Qt.
- * WebCoreSupport/ChromeClientQt.cpp:
- VideoTrigger removed because we have already disabled AC for video in qwebsettings.
- 2013-04-23 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt][WK1] MemoryCache is not cleaned by default
- https://bugs.webkit.org/show_bug.cgi?id=111443
- Reviewed by Jocelyn Turcotte.
- Enable deletion of dead resources in the memory cache as long as the MemoryCache is enabled.
- This can be disabled or tuned using the dynamic property "_q_deadDecodedDataDeletionInterval".
- The default is set to match that of most other ports and WK2 with cache in WebBrowsing mode.
- * Api/qwebsettings.cpp:
- (QWebSettings::setObjectCacheCapacities):
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebCore::initializeWebCoreQt):
- 2013-04-17 Geoffrey Garen <ggaren@apple.com>
- Renamed JSGlobalData to VM
- https://bugs.webkit.org/show_bug.cgi?id=114777
- Reviewed by Phil Pizlo.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::javaScriptObjectsCount):
- * WebCoreSupport/QWebFrameAdapter.cpp:
- (QWebFrameAdapter::addToJavaScriptWindowObject):
- 2013-04-15 Sam Weinig <sam@webkit.org>
- Remove more #includes from Frame.h
- https://bugs.webkit.org/show_bug.cgi?id=114642
- Reviewed by Anders Carlsson.
- * WebCoreSupport/DragClientQt.cpp:
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- * WebCoreSupport/QWebFrameAdapter.cpp:
- * WebCoreSupport/QWebPageAdapter.cpp:
- 2013-04-11 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] EventHandler should handle Space and BackSpace
- https://bugs.webkit.org/show_bug.cgi?id=114428
- Reviewed by Jocelyn Turcotte.
- Remove our own handling of space and backspace.
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::handleScrolling):
- * WidgetApi/qwebpage.cpp:
- (QWebPagePrivate::keyPressEvent):
- 2013-04-10 Benjamin Poulain <bpoulain@apple.com>
- Mass remove all the empty directories
- Rubberstamped by Ryosuke Niwa.
- * tests/qdeclarativewebview/resources: Removed.
- 2013-04-09 Geoffrey Garen <ggaren@apple.com>
- Removed bitrotted TimeoutChecker code
- https://bugs.webkit.org/show_bug.cgi?id=114336
- Reviewed by Alexey Proskuryakov.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::createDocumentLoader):
- 2013-04-10 Jose Lejin PJ <jose.lejin@gmail.com>
- [Qt] Add API in QWebSettings for setting the CSS media type
- https://bugs.webkit.org/show_bug.cgi?id=113853
- Reviewed by Jocelyn Turcotte.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate):
- (QWebSettingsPrivate::apply):
- (QWebSettings::setCSSMediaType):
- (QWebSettings::cssMediaType):
- * Api/qwebsettings.h:
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::overrideMediaType):
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage):
- (tst_QWebPage::cssMediaTypeGlobalSetting):
- (tst_QWebPage::cssMediaTypePageSetting):
- 2013-04-09 Rafael Brandao <rafael.lobo@openbossa.org>
- [CoordinatedGraphics] serviceScriptedAnimations expects time in seconds
- https://bugs.webkit.org/show_bug.cgi?id=112582
- Reviewed by Andreas Kling.
- We've been exposing different time unit for requestAnimationFrame because
- of wrong conversion before serviceScriptedAnimations function calls.
- Fixed it to use seconds instead of milliseconds.
- * WebCoreSupport/ChromeClientQt.cpp: Remove unnecessary conversion.
- 2013-04-08 Benjamin Poulain <benjamin@webkit.org>
- Remove HTML Notification
- https://bugs.webkit.org/show_bug.cgi?id=114231
- Reviewed by Ryosuke Niwa.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationPresenterClientQt::displayNotification):
- (WebCore::NotificationPresenterClientQt::cancel):
- (WebCore::NotificationPresenterClientQt::notificationClicked):
- (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue):
- (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
- (WebCore::NotificationPresenterClientQt::dumpShowText):
- 2013-04-05 Geoffrey Garen <ggaren@apple.com>
- Made USE(JSC) unconditional
- https://bugs.webkit.org/show_bug.cgi?id=114058
- Reviewed by Anders Carlsson.
- * Api/qwebscriptworld.cpp:
- (QWebScriptWorld::QWebScriptWorld):
- 2013-04-04 Sze Howe Koh <szehowe.koh@gmail.com>
- [Qt] docs: Fix module name format
- https://bugs.webkit.org/show_bug.cgi?id=113209
- Reviewed by Jocelyn Turcotte.
- Make QDoc-generated documentation follow the conventions at
- http://qt-project.org/wiki/Spelling_Module_Names_in_Qt_Documentation
- * Api/qwebdatabase.cpp:
- * Api/qwebkitglobal.cpp:
- * Api/qwebpluginfactory.cpp:
- * Api/qwebsettings.cpp:
- * WidgetApi/qgraphicswebview.cpp:
- * WidgetApi/qwebframe.cpp:
- * WidgetApi/qwebpage.cpp:
- * WidgetApi/qwebview.cpp:
- * docs/qtwebkit-bridge.qdoc:
- * docs/qtwebkit-goes-mobile.qdoc:
- * docs/qtwebkit.qdoc:
- 2013-03-28 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
- [Qt] Switch ContextMenu implementation to CROSS_PLATFORM_CONTEXT_MENU
- https://bugs.webkit.org/show_bug.cgi?id=113535
- Reviewed by Simon Hausmann.
- Adjust ContextMenuClientQt and QWebPageAdapter to use CROSS_PLATFORM_CONTEXT_MENUS
- USE flag by implementing customizeMenu() instead of getCustomMenuFromDefaultItems()
- and by calling menu->items() instead of menu->platformDescription().
- * WebCoreSupport/ContextMenuClientQt.cpp:
- (WebCore::ContextMenuClientQt::customizeMenu):
- * WebCoreSupport/ContextMenuClientQt.h:
- (ContextMenuClientQt):
- * WebCoreSupport/QWebPageAdapter.cpp:
- (descriptionForPlatformMenu):
- (QWebPageAdapter::updatePositionDependentMenuActions):
- 2013-03-27 Timothy Hatcher <timothy@apple.com>
- Add support for dock-to-right of the Web Inspector in the Mac port.
- Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
- https://webkit.org/b/113341
- rdar://problem/10368152
- Reviewed by Joseph Pecoraro.
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorFrontendClientQt::frontendLoaded):
- (WebCore::InspectorFrontendClientQt::attachWindow):
- (WebCore::InspectorFrontendClientQt::setAttachedWindowWidth):
- * WebCoreSupport/InspectorClientQt.h:
- (InspectorFrontendClientQt):
- 2013-03-26 Hayato Ito <hayato@chromium.org>
- Allow ShadowContents in HitTests by default.
- https://bugs.webkit.org/show_bug.cgi?id=113171
- Reviewed by Dimitri Glazkov.
- * WebCoreSupport/QWebFrameAdapter.cpp:
- (QWebFrameAdapter::hitTestContent):
- 2013-03-26 Tony Chang <tony@chromium.org>
- Autogenerate the scrollAnimatorEnabled setting in Settings.in
- https://bugs.webkit.org/show_bug.cgi?id=113253
- Reviewed by James Robinson.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply): Update call to WebCore to use setScrollAnimatorEnabled(bool).
- 2013-03-26 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] Fix tst_QWebElement::render() API test
- https://bugs.webkit.org/show_bug.cgi?id=65243
- Reviewed by Jocelyn Turcotte.
- Unmark the passing part of this testcase.
- * tests/qwebelement/tst_qwebelement.cpp:
- (tst_QWebElement::render):
- 2013-03-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Enable kerning by default
- https://bugs.webkit.org/show_bug.cgi?id=112704
- Reviewed by Jocelyn Turcotte.
- Enable default kerning when fast kerning is available.
- To support layout tests that depend on kerning being off by default,
- a method is added to DumpRenderTreeSupportQt to reset the default.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::resetDefaultTypesettingFeatures):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebKit::initializeWebKitQt):
- 2013-03-19 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Support -webkit-font-smoothing
- https://bugs.webkit.org/show_bug.cgi?id=106009
- Reviewed by Jocelyn Turcotte.
- Export an interface so DRT can also disable font-smoothing like WTR does.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setShouldUseFontSmoothing):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2013-03-15 Nate Chapin <japhet@chromium.org>
- Hide MainResourceLoader from the outside world
- https://bugs.webkit.org/show_bug.cgi?id=109971
- Reviewed by Adam Barth.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::convertMainResourceLoadToDownload):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (FrameLoaderClientQt):
- 2013-03-15 Abhishek Arya <inferno@chromium.org>
- Replace static_casts with to* helper functions.
- https://bugs.webkit.org/show_bug.cgi?id=112401
- Reviewed by Stephen Chenney.
- to* helper functions are preferred over static_cast calls since they
- help to catch bad casts easily on the testing infrastructure.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
- 2013-03-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Build error with building with Qt 5.1
- https://bugs.webkit.org/show_bug.cgi?id=112435
- Reviewed by Noam Rosenthal.
- QAccessibleWidget has moved to private.
- * WidgetApi/qwebviewaccessible_p.h:
- 2013-03-15 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Unreviewed trivial DRT ASSERT fix
- r145805 erroneously added setController calls for device orientation/motion
- mock clients. Those ASSERT, the controller ctor already calls setController
- on the client.
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::initializeWebCorePage):
- 2013-03-14 Manuel Rego Casasnovas <rego@igalia.com>
- Add selectTrailingWhitespaceEnabled setting to WebCore::Page
- https://bugs.webkit.org/show_bug.cgi?id=109404
- Reviewed by Tony Chang.
- Use new settings for smartInsertDeleteEnabled and
- selectTrailingWhitespaceEnabled.
- Remove code related to DRT as it is not needed anymore.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::smartInsertDeleteEnabled):
- (WebCore::EditorClientQt::toggleSmartInsertDelete):
- (WebCore::EditorClientQt::isSelectTrailingWhitespaceEnabled):
- (WebCore::EditorClientQt::EditorClientQt):
- * WebCoreSupport/EditorClientQt.h:
- (EditorClientQt):
- 2013-03-14 Rik Cabanier <cabanier@adobe.com>
- [Qt][WK1] REGRESSION(r145784): Blend tests are failing
- https://bugs.webkit.org/show_bug.cgi?id=112333
- Reviewed by Ryosuke Niwa.
- Added code to passed compositing prefence to WebCore.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- (QWebSettings::QWebSettings):
- * Api/qwebsettings.h:
- 2013-03-14 Abhishek Arya <inferno@chromium.org>
- Replace static_casts with to* helper functions.
- https://bugs.webkit.org/show_bug.cgi?id=112296
- Reviewed by Kentaro Hara.
- to* helper functions are preferred over static_cast calls since they
- help to catch bad casts easily on the testing infrastructure.
- * Api/qwebelement.cpp:
- (QWebElement::firstChild):
- (QWebElement::lastChild):
- (QWebElement::nextSibling):
- (QWebElement::previousSibling):
- (QWebElementCollection::at):
- (QWebElementCollection::toList):
- * WebCoreSupport/QWebFrameAdapter.cpp:
- (QWebHitTestResultPrivate::elementForInnerNode):
- 2013-03-14 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Improve the handling of mock geolocation, device orientation and motion clients
- Reviewed by Tor Arne Vestbø.
- The mock versions of these web facing features should be instantiated when
- running in DumpRenderTree only. In order for them to work, no extra Qt modules
- such as QtLocation are actually needed.
- This patch decouples enabling device orientation/motion and geolocation from
- the underlying Qt modules and makes them available in developer builds
- (!production_build) and backed by mock backends when running in drt.
- So if the Qt 5 modules are available, they'll be used (unless drtRun). For
- developers the web facing features are always enabled (although requests will
- time out) and the mock backends are enabled inside DRT, allowing for the layout
- tests to run with less dependencies.
- In addition this also enables the mock device motion client, which was
- previously never instantiated.
- * WebCoreSupport/QWebFrameAdapter.cpp:
- (QWebFrameAdapter::_q_orientationChanged):
- * WebCoreSupport/QWebFrameAdapter.h:
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::initializeWebCorePage):
- * WebCoreSupport/QWebPageAdapter.h:
- * WidgetApi/qwebframe.cpp:
- (QWebFrame::QWebFrame):
- * WidgetApi/qwebpage.cpp:
- (QWebPage::setFeaturePermission):
- 2013-03-13 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Port TestRunner::findString to shared interface
- https://bugs.webkit.org/show_bug.cgi?id=112147
- Reviewed by Jocelyn Turcotte.
- Add new find options used by the DRT.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::findText):
- * WebCoreSupport/QWebPageAdapter.h:
- * WidgetApi/qwebpage.cpp:
- * WidgetApi/qwebpage.h:
- 2013-03-13 Pavel Feldman <pfeldman@chromium.org>
- Web Inspector: get rid of hiddenPanels filter
- https://bugs.webkit.org/show_bug.cgi?id=112252
- Reviewed by Vsevolod Vlasov.
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore):
- * WebCoreSupport/InspectorClientQt.h:
- (InspectorFrontendClientQt):
- 2013-03-11 Jochen Eisinger <jochen@chromium.org>
- Rename DefinitelyProcessingUserGesture to DefinitelyProcessingNewUserGesture
- https://bugs.webkit.org/show_bug.cgi?id=111959
- Reviewed by Alexey Proskuryakov.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationPresenterClientQt::notificationClicked):
- 2013-03-08 Arunprasad Rajkumar <arunprasadr@nds.com>
- [Qt] QWebSettings::clearMemoryCaches should release FastMalloc's free pages to OS
- https://bugs.webkit.org/show_bug.cgi?id=111605
- Reviewed by Jocelyn Turcotte.
- * Api/qwebsettings.cpp:
- (QWebSettings::clearMemoryCaches):
- 2013-03-07 Arunprasad Rajkumar <arunprasadr@nds.com>
- [Qt] QWebSettings::clearMemoryCaches should clear JS garbage
- https://bugs.webkit.org/show_bug.cgi?id=111094
- Reviewed by Jocelyn Turcotte.
- * Api/qwebsettings.cpp:
- (QWebSettings::clearMemoryCaches):
- 2013-03-06 Benjamin Poulain <benjamin@webkit.org>
- WebKitTestRunner needs layoutTestController.elementDoesAutoCompleteForElementWithId
- https://bugs.webkit.org/show_bug.cgi?id=42696
- Reviewed by Andreas Kling.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2013-03-06 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Illegal narrowing in tst_qwebhistory
- https://bugs.webkit.org/show_bug.cgi?id=111562
- Reviewed by Jocelyn Turcotte.
- The bytearray in tst_QWebHistory::restoreIncompatibleVersion1 has integer
- values higher than 127 assigned into an array of signed chars. This causes
- compiler errors in C++11 since it assigns constants (>127) that does not
- fit the destination (-128 to 127)
- * tests/qwebhistory/tst_qwebhistory.cpp:
- (tst_QWebHistory::restoreIncompatibleVersion1):
- 2013-03-03 Adam Barth <abarth@webkit.org>
- Unreviewed attempted build fix. Adds back some includes removed in
- http://trac.webkit.org/changeset/144565.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- * WebCoreSupport/QWebPageAdapter.cpp:
- 2013-03-03 Adam Barth <abarth@webkit.org>
- Unreviewed rollout of http://trac.webkit.org/r144530
- As described in https://bugs.webkit.org/show_bug.cgi?id=111167 and
- https://bugs.webkit.org/show_bug.cgi?id=111035, this patch caused a
- large number of ASSERTs in chromium-win.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- * WebCoreSupport/QWebPageAdapter.cpp:
- 2013-03-02 Benjamin Poulain <bpoulain@apple.com>
- Move computedStyleIncludingVisitedInfo from TestRunner to Internals
- https://bugs.webkit.org/show_bug.cgi?id=109772
- Reviewed by Andreas Kling.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2013-02-28 Alexey Proskuryakov <ap@apple.com>
- Reduce amount of rebuilding when touching networking headers
- https://bugs.webkit.org/show_bug.cgi?id=111035
- Reviewed by Eric Seidel.
- Adding includes that are now necessary because WebCore headers don't have them
- any more.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- * WebCoreSupport/QWebPageAdapter.cpp:
- 2013-03-01 Jason Anderssen <janderssen@gmail.com>
- Move markerTextForListItem from TestRunner to Internals
- https://bugs.webkit.org/show_bug.cgi?id=110939
- Reviewed by Benjamin Poulain.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2013-03-01 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r144422 and r144424.
- http://trac.webkit.org/changeset/144422
- http://trac.webkit.org/changeset/144424
- https://bugs.webkit.org/show_bug.cgi?id=111167
- Caused over 20 tests to fail assertion on Chromium Win port as
- ASSERTION FAILED: m_platformRequestUpdated (Requested by
- toyoshim on #webkit).
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- * WebCoreSupport/QWebPageAdapter.cpp:
- 2013-02-28 Alexey Proskuryakov <ap@apple.com>
- Reduce amount of rebuilding when touching networking headers
- https://bugs.webkit.org/show_bug.cgi?id=111035
- Reviewed by Eric Seidel.
- Adding includes that are now necessary because WebCore headers don't have them
- any more.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- * WebCoreSupport/QWebPageAdapter.cpp:
- 2013-02-24 Andreas Kling <akling@apple.com>
- StyledElement: Don't expose a mutable direct interface to the inline style.
- <http://webkit.org/b/110711>
- Reviewed by Antti Koivisto.
- QWebElement::styleProperty() is a read-only method, so rewrite it to use StyledElement::inlineStyle().
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- 2013-02-23 Jason Anderssen <janderssen@gmail.com>
- Move setAutofilled from TestRunner to WebCore
- https://bugs.webkit.org/show_bug.cgi?id=110521
- Reviewed by Benjamin Poulain.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2013-02-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Replace QWebPageAdaptor::TouchAdjuster
- https://bugs.webkit.org/show_bug.cgi?id=110226
- Reviewed by Antonio Gomes.
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::adjustPointForClicking):
- * WebCoreSupport/QWebPageAdapter.h:
- 2013-02-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
- Simplify hitTestResultAtPoint and nodesFromRect APIs
- https://bugs.webkit.org/show_bug.cgi?id=95720
- Reviewed by Julien Chaffraix.
- Update calls to new API.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
- * WebCoreSupport/QWebFrameAdapter.cpp:
- (QWebFrameAdapter::hitTestContent):
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::TouchAdjuster::findCandidatePointForTouch):
- (QWebPageAdapter::handleSoftwareInputPanel):
- (QWebPageAdapter::updatePositionDependentMenuActions):
- 2013-02-15 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Port GCController to JSC C API
- https://bugs.webkit.org/show_bug.cgi?id=109690
- Reviewed by Benjamin Poulain.
- Add hooks to retrieve JSContextRef and window object.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::getJSWindowObject):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2013-02-13 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] window.open passes height and width parameters even if not defined in a page
- https://bugs.webkit.org/show_bug.cgi?id=107705
- Reviewed by Kenneth Rohde Christiansen.
- Test that minimum size is applied only when the requested size is too small,
- not when default is requested.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage):
- (TestPage):
- (TestPage::TestPage):
- (TestPage::createWindow):
- (TestPage::slotGeometryChangeRequested):
- (tst_QWebPage::openWindowDefaultSize):
- 2013-02-12 Huang Dongsung <luxtella@company100.net>
- [TexMap] Apply frames-per-second debug counter to WK1.
- https://bugs.webkit.org/show_bug.cgi?id=109540
- Reviewed by Noam Rosenthal.
- Make TextureMapperLayerClientQt use TextureMapperFPSCounter.
- * WebCoreSupport/TextureMapperLayerClientQt.cpp:
- (TextureMapperLayerClientQt::renderCompositedLayers):
- * WebCoreSupport/TextureMapperLayerClientQt.h:
- (TextureMapperLayerClientQt):
- 2013-02-11 Ryosuke Niwa <rniwa@webkit.org>
- Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
- https://bugs.webkit.org/show_bug.cgi?id=109534
- Reviewed by Anders Carlsson.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore):
- * WebCoreSupport/EditorClientQt.h:
- (EditorClientQt):
- 2013-02-11 Benjamin Poulain <benjamin@webkit.org>
- Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
- https://bugs.webkit.org/show_bug.cgi?id=109349
- Reviewed by Sam Weinig.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2013-02-08 Benjamin Poulain <bpoulain@apple.com>
- Move workerThreadCount from TestRunner to WebCore Internals
- https://bugs.webkit.org/show_bug.cgi?id=109239
- Reviewed by Darin Adler.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2013-02-07 Benjamin Poulain <bpoulain@apple.com>
- Move pauseAnimation/pauseTransition from TestRunner to Internals
- https://bugs.webkit.org/show_bug.cgi?id=109107
- Reviewed by Anders Carlsson.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2013-02-04 Benjamin Poulain <bpoulain@apple.com>
- Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
- https://bugs.webkit.org/show_bug.cgi?id=108741
- Reviewed by Tony Chang.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2013-02-04 Enrica Casucci <enrica@apple.com>
- Add specific EditActions for Bold and Italic commands.
- https://bugs.webkit.org/show_bug.cgi?id=108842.
- <rdar://problem/13098252>
- Reviewed by Ryosuke Niwa.
- * WebCoreSupport/UndoStepQt.cpp:
- (undoNameForEditAction):
- 2013-02-04 Abhishek Arya <inferno@chromium.org>
- Add ASSERT_WITH_SECURITY_IMPLICATION to detect bad cast in DOM, CSS, etc.
- https://bugs.webkit.org/show_bug.cgi?id=108688
- Reviewed by Eric Seidel.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- 2013-02-03 KwangYong Choi <ky0.choi@samsung.com>
- Fix build warning after r141473
- https://bugs.webkit.org/show_bug.cgi?id=108782
- Reviewed by Kentaro Hara.
- Fix -Wunused-parameter build warning.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::getClientPasteboardDataForRange):
- 2013-02-01 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Make QWebHistory unit tests more robust
- Reviewed by Jocelyn Turcotten.
- The tests were using a QEventLoop::exec() call to verify the emission
- of the loadFinished() signal after calling for example back() or forward().
- However sometimes the call to back() may emit the signal immediately and
- sometimes async, causing instabilities in test runs. The call to exec()
- also means that if there was a bug then the rest would hang forever because
- exec() has no timeout.
- This patch introduces a simple SignalBarrier class that solves both issues:
- (1) ensureSignalEmitted() supports the immediate signal emission case as well
- as the async one.
- (2) Through the use of QSignalSpy's wait() there's an actual timeout.
- * tests/qwebhistory/tst_qwebhistory.cpp:
- (tst_QWebHistory::init):
- (tst_QWebHistory::cleanup):
- (tst_QWebHistory::back):
- (tst_QWebHistory::forward):
- (tst_QWebHistory::goToItem):
- (tst_QWebHistory::serialize_2):
- * tests/util.h:
- (waitForSignal):
- (SignalBarrier):
- (SignalBarrier::SignalBarrier):
- (SignalBarrier::ensureSignalEmitted):
- 2013-02-01 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Fix hanging deleteQWebViewTwice test
- Reviewed by Allan Sandfeld Jensen.
- Don't use QCoreApplication::instance()->exec(), because in case of a bug
- that never finishes. Instead use waitForSignal() which has the concept of
- a timeout.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::deleteQWebViewTwice):
- 2013-02-01 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Skip hanging WebGL software fallback tests
- Reviewed by Allan Sandfeld Jensen.
- See also https://bugs.webkit.org/show_bug.cgi?id=105820.
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView::webglSoftwareFallbackVerticalOrientation):
- (tst_QGraphicsWebView::webglSoftwareFallbackHorizontalOrientation):
- 2013-02-01 Pierre Rossi <pierre.rossi@digia.com>
- [Qt] visibility of embedded widget
- https://bugs.webkit.org/show_bug.cgi?id=108327
- Rubber-stamped by Simon Hausmann.
- In overriding Widget::hide in QtPluginWidget, we forgot to call the
- parent implementation, which as it turns, out does sensible stuff.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- 2013-02-01 Pierre Rossi <pierre.rossi@digia.com>
- [Qt] visibility of embedded widget
- https://bugs.webkit.org/show_bug.cgi?id=108327
- Rubber-stamped by Simon Hausmann.
- In overriding Widget::show in QtPluginWidget, we forgot to call the
- parent implementation, which as it turns, out does sensible stuff.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- 2013-01-31 Enrica Casucci <enrica@apple.com>
- WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
- https://bugs.webkit.org/show_bug.cgi?id=108396.
- <rdar://problem/12920461>
- Reviewed by Alexey Proskuryakov.
- Adds stub implementation for WebKit of the new EditorClient methods.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::willWriteSelectionToPasteboard):
- (WebCore::EditorClientQt::getClientPasteboardDataForRange):
- * WebCoreSupport/EditorClientQt.h:
- 2013-01-30 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Fix minimal build after r141259.
- Unreviewed build fix.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::clearNotificationPermissions):
- 2013-01-26 Philippe Normand <pnormand@igalia.com>
- [GStreamer] USE(NATIVE_FULLSCREEN_VIDEO) support
- https://bugs.webkit.org/show_bug.cgi?id=106760
- Reviewed by Gustavo Noronha Silva.
- Build fixes for GStreamer NATIVE_FULLSCREEN_VIDEO support. Some
- more changes will be needed to use the new
- FullscreenVideoController though.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::ChromeClientQt):
- (WebCore::ChromeClientQt::~ChromeClientQt):
- * WebCoreSupport/FullScreenVideoQt.cpp:
- (WebCore):
- (WebCore::FullScreenVideoQt::FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::enterFullScreenForNode):
- (WebCore::FullScreenVideoQt::exitFullScreenForNode):
- (WebCore::FullScreenVideoQt::isValid):
- * WebCoreSupport/FullScreenVideoQt.h:
- (WebCore):
- (FullScreenVideoQt):
- 2013-01-30 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt][WK1] Support better testing of Web Notifications
- https://bugs.webkit.org/show_bug.cgi?id=107696
- Reviewed by Jocelyn Turcotte.
- Implement support for the DRT to clear notification permissions.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::clearNotificationPermissions):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationPresenterClientQt::clearCachedPermissions):
- (WebCore):
- * WebCoreSupport/NotificationPresenterClientQt.h:
- (NotificationPresenterClientQt):
- 2013-01-30 Huang Dongsung <luxtella@company100.net>
- [TexMap] Remove GraphicsLayer in TextureMapperLayer.
- https://bugs.webkit.org/show_bug.cgi?id=107073
- Reviewed by Noam Rosenthal.
- Include GraphicsLayerTextureMapper.h to use toTextureMapperLayer().
- * WebCoreSupport/TextureMapperLayerClientQt.cpp:
- 2013-01-30 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt][WK1] Remember denied permission for notifications
- https://bugs.webkit.org/show_bug.cgi?id=107694
- Reviewed by Jocelyn Turcotte.
- Store denied permissions. According to the specification, we should
- ask the user again if he has already granted or denied permission.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationPresenterClientQt::requestPermission):
- (WebCore::NotificationPresenterClientQt::setNotificationsAllowedForFrame):
- * WebCoreSupport/NotificationPresenterClientQt.h:
- (NotificationPresenterClientQt):
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::setNotificationsAllowedForFrame):
- * WebCoreSupport/QWebPageAdapter.h:
- * WidgetApi/qwebpage.cpp:
- (QWebPage::setFeaturePermission):
- 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r140983.
- http://trac.webkit.org/changeset/140983
- https://bugs.webkit.org/show_bug.cgi?id=108277
- Unfortunately, this API has one last client (Requested by
- abarth on #webkit).
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationPresenterClientQt::displayNotification):
- (WebCore::NotificationPresenterClientQt::cancel):
- (WebCore::NotificationPresenterClientQt::notificationClicked):
- (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue):
- (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
- (WebCore::NotificationPresenterClientQt::dumpShowText):
- 2013-01-29 Michael Brüning <michael.bruning@digia.com>
- [Qt][WK1] Fix QObject Bridge tests expected output.
- https://bugs.webkit.org/show_bug.cgi?id=107827
- Reviewed by Simon Hausmann.
- The "not a function" TypeError now includes the call that caused the error.
- Correct expected values accordingly.
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::connectAndDisconnect):
- 2013-01-28 Huang Dongsung <luxtella@company100.net>
- [TexMap] Enable debug borders and repaint counter via Settings.
- https://bugs.webkit.org/show_bug.cgi?id=107198
- Reviewed by Benjamin Poulain.
- If WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS is set to 1, set
- showDebugBorders and showRepaintCounter in Settings to true.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- 2013-01-24 Hajime Morrita <morrita@google.com>
- There are a few of wrong removeAllChildren() call
- https://bugs.webkit.org/show_bug.cgi?id=107790
- Reviewed by Ryosuke Niwa.
- * Api/qwebelement.cpp: Repalced removeAllChildren() with safer removeChildren()
- (QWebElement::removeAllChildren):
- 2013-01-23 Shinya Kawanaka <shinyak@chromium.org>
- shadowAncestorNode() should be renamed to deprecatedShadowAncestorNode()
- https://bugs.webkit.org/show_bug.cgi?id=107624
- Reviewed by Dimitri Glazkov.
- Since Node::shadowAncestorNode() is deprecated, we would like to rename it to prevent from further use.
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::inputMethodEvent):
- (QWebPageAdapter::inputMethodQuery):
- 2013-01-22 Anders Carlsson <andersca@apple.com>
- Use a platforom strategy for local storage
- https://bugs.webkit.org/show_bug.cgi?id=107600
- Reviewed by Andreas Kling.
- Update for new storage strategy.
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::createStorageStrategy):
- * WebCoreSupport/PlatformStrategiesQt.h:
- (PlatformStrategiesQt):
- 2013-01-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt][WK1] Permission request callbacks for non-legacy notifications
- https://bugs.webkit.org/show_bug.cgi?id=107438
- Reviewed by Jocelyn Turcotte.
- Tracks the new callbacks the same way legacy callbacks are tracked.
- No test affected yet as we are still lacking support for testing
- feature permission callbacks.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationPresenterClientQt::requestPermission):
- (WebCore::NotificationPresenterClientQt::allowNotificationForFrame):
- * WebCoreSupport/NotificationPresenterClientQt.h:
- (NotificationPresenterClientQt):
- (CallbacksInfo):
- 2013-01-21 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Update the documentation about the storage of inspector settings
- https://bugs.webkit.org/show_bug.cgi?id=106777
- Reviewed by Allan Sandfeld Jensen.
- Since r76770, QSettings isn't queried anymore to persist inspector
- settings like whether or not the debugger is enabled by default.
- It still seems to be used for the default attach height.
- Update the documentation accordingly.
- * WidgetApi/qwebinspector.cpp:
- 2013-01-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Crash in gmail on enabling desktop notifications
- https://bugs.webkit.org/show_bug.cgi?id=106699
- Patch by David Rosca.
- Reviewed by Jocelyn Turcotte.
- Protect against callback that may be null. This also matches WebKit2 behaviour.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationPresenterClientQt::allowNotificationForFrame):
- 2013-01-18 Shinya Kawanaka <shinyak@chromium.org>
- Introduce isHTMLTextFormControlElement and toHTMLTextFormControlElement instead of toTextFormControl
- https://bugs.webkit.org/show_bug.cgi?id=107089
- Reviewed by Kent Tamura.
- Updated code to use isHTMLTextFormControlElement and toHTMLTextFormControlElement combination instead of
- toTextFormControl.
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::inputMethodEvent):
- 2013-01-18 Seokju Kwon <seokju.kwon@gmail.com>
- Add explicit keyword to constructors in platform-specific InspectorClient
- https://bugs.webkit.org/show_bug.cgi?id=107255
- Reviewed by Kentaro Hara.
- Add explicit keyword to constructors that take one argument
- in platform-specific implementation of InspectorClient.
- * WebCoreSupport/InspectorClientQt.h:
- (InspectorClientQt):
- 2013-01-16 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Use the shared HistoryItem serialization for QWebHistory
- https://bugs.webkit.org/show_bug.cgi?id=106671
- Reviewed by Allan Sandfeld Jensen.
- Bump the serialization version and change the code to abort the
- restore of a previous stream version rather than trying to keep the
- support of restoring previous versions. This is mainly to simplify
- things given that HistoryItem itself aborts in that case.
-
- * Api/qwebhistory.cpp:
- (operator<<):
- (operator>>):
- * tests/qwebhistory/tst_qwebhistory.cpp:
- (tst_QWebHistory::serialize_2): Modify the test to cover same-document navigations.
- (tst_QWebHistory::restoreIncompatibleVersion1): Add a previous version
- hard-coded stream to verify that the deserialization doesn't hang or
- crash.
- 2013-01-16 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Crash in WebCore::CachedFrame::destroy
- https://bugs.webkit.org/show_bug.cgi?id=104525
- Reviewed by Adam Barth.
- Remove the call to HistoryController::setCurrentItem which is ultimately
- causing the initial empty document of a page to be added to the page cache.
- This re-introduce the bug that was fixed by this line, which will be
- properly fixed in a follow-up patch.
- * Api/qwebhistory.cpp:
- (operator>>):
- * tests/qwebhistory/tst_qwebhistory.cpp:
- (tst_QWebHistory::saveAndRestore_crash_4): Cover the crash.
- 2013-01-11 Huang Dongsung <luxtella@company100.net>
- [TexMap] Rename current[Transform|Opacity|Filters] in TextureMapperLayer.
- https://bugs.webkit.org/show_bug.cgi?id=105760
- Reviewed by Noam Rosenthal.
- TextureMapperLayerClientQt uses setTransform() and setOpacity() in
- GraphicsLayer instead of TextureMapperLayer like LayerTreeRenderer.
- This removes unnecessary public API for TextureMapperLayer.
- * WebCoreSupport/TextureMapperLayerClientQt.cpp:
- (TextureMapperLayerClientQt::renderCompositedLayers):
- 2013-01-11 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt][WK1] Web Audio support
- https://bugs.webkit.org/show_bug.cgi?id=106651
- Reviewed by Jocelyn Turcotte.
- Expose setting to enable WebAudio at runtime.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- (QWebSettings::QWebSettings):
- * Api/qwebsettings.h:
- 2013-01-08 Mark Lam <mark.lam@apple.com>
- Removed the need for the ProposedDatabase mechanism.
- https://bugs.webkit.org/show_bug.cgi?id=106292.
- Reviewed by Sam Weinig.
- * WebCoreSupport/ChromeClientQt.cpp:
- * WebCoreSupport/ChromeClientQt.h:
- (ChromeClientQt):
- 2013-01-07 Mike West <mkwst@chromium.org>
- [qt] Fix ENABLE_IFRAME_SEAMLESS=0 builds.
- https://bugs.webkit.org/show_bug.cgi?id=106252
- Reviewed by Eric Seidel.
- Wrap the call to setSeamlessIFramesEnabled in an ifdef in order
- to ensure that it's only called when IFRAME_SEAMLESS is enabled.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setSeamlessIFramesEnabled):
- 2013-01-07 Mike West <mkwst@chromium.org>
- Make the IFRAME_SEAMLESS flag runtime-enabled.
- https://bugs.webkit.org/show_bug.cgi?id=106213
- Reviewed by Ojan Vafai.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setSeamlessIFramesEnabled):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- Add a toggle for seamless IFrames to QT's DRTSuport.
- 2013-01-07 Michael Brüning <michael.bruning@digia.com>
- [Qt] Apply correct patch for the scrolling issue from bug 105014
- https://bugs.webkit.org/show_bug.cgi?id=106219
- Correct the if condition when overwriting the layout direction option
- with the values from the facade options to only overwrite if the facade
- direction is not equal to LayoutDirectionAuto.
- Reviewed by Allan Sandfeld Jensen.
- * WidgetSupport/QStyleFacadeImp.cpp:
- (WebKit::initGenericStyleOption):
- 2013-01-07 Michael Brüning <michael.bruning@digia.com>
- [Qt] Horizontal scrollbars events are offseted making them difficult to use
- https://bugs.webkit.org/show_bug.cgi?id=105014
- Reviewed by Allan Sandfeld Jensen.
- Patch co-authored by Simon Hausmann.
- Only copy the layout direction from the facade options if the
- current option is Qt::LayoutDirectionAuto in order to prevent
- misinterpretations as different layout direction when hit testing.
- Tests added to tst_qwebview and tst_qgraphicswebview to verify
- that the view actually is scrolled in the right direction.
- * WidgetSupport/QStyleFacadeImp.cpp:
- (WebKit::initGenericStyleOption):
- * tests/qgraphicswebview/resources/scrolltest_page.html: Added.
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView):
- (tst_QGraphicsWebView::horizontalScrollbarTest):
- * tests/qgraphicswebview/tst_qgraphicswebview.qrc:
- * tests/qwebview/resources/scrolltest_page.html: Added.
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView):
- (tst_QWebView::horizontalScrollbarTest):
- * tests/qwebview/tst_qwebview.qrc:
- 2012-12-23 Alexey Proskuryakov <ap@apple.com>
- <rdar://problem/12808377> Network process should respect cookie accept policy
- https://bugs.webkit.org/show_bug.cgi?id=105684
- Reviewed by Sam Weinig.
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- * WebCoreSupport/PlatformStrategiesQt.h:
- CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
- 2012-12-22 Alexey Proskuryakov <ap@apple.com>
- Add a separate class for networking related storage
- https://bugs.webkit.org/show_bug.cgi?id=105676
- Reviewed by Sam Weinig.
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::cookiesForDOM):
- (PlatformStrategiesQt::setCookiesFromDOM):
- (PlatformStrategiesQt::cookiesEnabled):
- (PlatformStrategiesQt::cookieRequestHeaderFieldValue):
- (PlatformStrategiesQt::getRawCookies):
- (PlatformStrategiesQt::deleteCookie):
- * WebCoreSupport/PlatformStrategiesQt.h:
- Cookie functions now take a NetworkStorageSession, not a NetworkingContext.
- * WebCoreSupport/QWebFrameAdapter.cpp:
- * WebCoreSupport/QWebPageAdapter.cpp:
- Updated for ResourceHandle include changes.
- 2012-12-18 Alexey Proskuryakov <ap@apple.com>
- Remove unnecessary functions from CookiesStrategy
- https://bugs.webkit.org/show_bug.cgi?id=105369
- Reviewed by Brady Eidson.
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- * WebCoreSupport/PlatformStrategiesQt.h:
- 2012-12-17 Oswald Buddenhagen <oswald.buddenhagen@digia.com>
- [Qt] remove some unnecessary CONFIG additions
- Reviewed by Simon Hausmann.
- qt is already added by spec_pre.prf, warn_on and depend_includepath by
- default_pre.prf.
- * declarative/experimental/experimental.pri:
- * declarative/public.pri:
- 2012-12-15 Anders Carlsson <andersca@apple.com>
- Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
- https://bugs.webkit.org/show_bug.cgi?id=105122
- Reviewed by Andreas Kling.
- Update for WebCore changes.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::convertMainResourceLoadToDownload):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (FrameLoaderClientQt):
- 2012-12-15 Mark Lam <mark.lam@apple.com>
- Re-landing patch for "Introducing the DatabaseStrategy and database servers".
- https://bugs.webkit.org/show_bug.cgi?id=104934.
- Not reviewed.
- Merged from r137767. Previously reviewed by Sam Weinig.
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::createDatabaseStrategy):
- * WebCoreSupport/PlatformStrategiesQt.h:
- (PlatformStrategiesQt):
- 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r137767.
- http://trac.webkit.org/changeset/137767
- https://bugs.webkit.org/show_bug.cgi?id=105062
- Broke Mac builds. (Requested by mlam on #webkit).
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- * WebCoreSupport/PlatformStrategiesQt.h:
- (PlatformStrategiesQt):
- 2012-12-14 Mark Lam <mark.lam@apple.com>
- Introducing the DatabaseStrategy and database servers.
- https://bugs.webkit.org/show_bug.cgi?id=104934.
- Reviewed by Sam Weinig.
- The database server is currently a placeholder that does nothing.
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::createDatabaseStrategy):
- * WebCoreSupport/PlatformStrategiesQt.h:
- (PlatformStrategiesQt):
- 2012-12-13 Jerome Pasion <jerome.pasion@digia.com>
- [Qt] Doc: Fixing Qt WebKit reference documentation.
- Reviewed by Simon Hausmann.
- Fixes:
- -added \module for C++ classes and \qmlmodule for QML types
- -added links to the Qt WebKit Examples pages
- -fixed the qhp settings for Qt Creator
- Task-number: QTBUG-28583
- Task-number: QTBUG-28418
- Task-number: QTBUG-27646
- * docs/qtwebkit.qdoc:
- 2012-12-12 Mark Lam <mark.lam@apple.com>
- Encapsulate externally used webdatabase APIs in DatabaseManager.
- https://bugs.webkit.org/show_bug.cgi?id=104741.
- Reviewed by Sam Weinig.
- Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
- and DatabaseContext directly. This is to prepare for upcoming webkit2
- refactoring.
- * Api/qwebdatabase.cpp:
- (QWebDatabase::displayName):
- (QWebDatabase::expectedSize):
- (QWebDatabase::size):
- (QWebDatabase::fileName):
- (QWebDatabase::removeDatabase):
- (QWebDatabase::removeAllDatabases):
- * Api/qwebsecurityorigin.cpp:
- (QWebSecurityOrigin::databaseUsage):
- (QWebSecurityOrigin::databaseQuota):
- (QWebSecurityOrigin::setDatabaseQuota):
- (QWebSecurityOrigin::allOrigins):
- (QWebSecurityOrigin::databases):
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- (QWebSettings::setOfflineStoragePath):
- (QWebSettings::offlineStoragePath):
- * WebCoreSupport/ChromeClientQt.cpp:
- 2012-12-12 Alexey Proskuryakov <ap@apple.com>
- Make LOG() work in WebProcess and NetworkProcess
- https://bugs.webkit.org/show_bug.cgi?id=104718
- Reviewed by Tim Horton.
- * WebCoreSupport/InitWebCoreQt.cpp: Include InitializeLogging.h
- 2012-12-11 Mike West <mkwst@chromium.org>
- Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
- https://bugs.webkit.org/show_bug.cgi?id=66371
- Reviewed by Pavel Feldman.
- Drops WebCore::MessageType from the addMessageToConsole method.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::addMessageToConsole):
- * WebCoreSupport/ChromeClientQt.h:
- (ChromeClientQt):
- 2012-12-11 Stephen Kelly <stephen.kelly@kdab.com>
- WebKit tests for the Qt API should include tests of CMake config files
- https://bugs.webkit.org/show_bug.cgi?id=104003
- Reviewed by Simon Hausmann.
- The Qt WebKit CI system is not going to run this test, but it can
- be run locally and to test packages.
- * tests/cmake/CMakeLists.txt: Added.
- * tests/cmake/cmake.pro: Added.
- 2012-12-10 Andy Shaw <andy.shaw@digia.com>
-
- Check that plugin functionality is enabled before querying the database for installed plugins.
- https://bugs.webkit.org/show_bug.cgi?id=73671
- Reviewed by Jocelyn Turcotte.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::objectContentType):
- 2012-12-07 Sergio Martins <sergio.martins@kdab.com>
- [Qt][Qnx] Fix QNX build by adding missing include.
- https://bugs.webkit.org/show_bug.cgi?id=104359
- Reviewed by Jocelyn Turcotte.
- It's where WEBKIT_EXPORTDATA is defined, so include it. Not sure why other
- platforms aren't failing.
- * WebCoreSupport/QWebPageAdapter.h:
- 2012-12-06 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] QWebView uses the mobile style and doesn't follow Qt's style
- https://bugs.webkit.org/show_bug.cgi?id=104134
- Reviewed by Simon Hausmann.
- Another issue introduced by r136235.
- Fix the order of initialization of the styleFactory and creation of the
- WebCore Page. Since the latter has a RenderTheme member and the creation
- of the appropriate RenderTheme type (QStyle-backed) is dependant on having
- first initialized the theme factory function, we need to postpone this just
- a little bit.
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::QWebPageAdapter):
- (QWebPageAdapter::initializeWebCorePage): Added.
- * WebCoreSupport/QWebPageAdapter.h:
- * WidgetApi/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate): call initializeWebCorePage only after
- having initialized WebKitWidgets related logic (QStyle hooks in this case).
- 2012-12-05 Zeno Albisser <zeno@webkit.org>
- [Qt][Mac] QWebView disappears when the system tries to hide the scrollbars.
- https://bugs.webkit.org/show_bug.cgi?id=104116
- This is a workaround for an issue in Qt that was
- caused by Change-Id: I2000fa50d46b153e981ceafc12a53932a196382e
- in qtbase.
- Since we are drawing the scrollbars by ourselves, there is no
- widget available that needs to be hidden by the style.
- Therefore we have to disable transient scrollbar
- animations on Mac.
- Patch by: J-P Nurmi <jpnurmi@digia.com>
- Reviewed by Simon Hausmann.
- * WidgetSupport/QStyleFacadeImp.cpp:
- (WebKit::QStyleFacadeImp::paintScrollBar):
- 2012-12-04 Pierre Rossi <pierre.rossi@digia.com>
- [Qt] Yet another unreviewed speculative windows build fix.
- WebKit2 relies on the QWEBKIT_EXPORT macro from WebKit1 as well.
- * Api/qwebkitglobal.h:
- 2012-12-03 Pierre Rossi <pierre.rossi@digia.com>
- [Qt] Unreviewed speculative Windows buildfix.
- Somehow it seems messing around with the export macros made some old issues resurface.
- * Api/qwebsettings.cpp:
- (qt_networkAccessAllowed):
- * Api/qwebsettings.h:
- * Api/qwebkitglobal.h: fix an obvious blunder from r136394.
- 2012-12-03 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- Document::initSecurityContext() fails to call securityOrigin().grantLoadLocalResources()
- https://bugs.webkit.org/show_bug.cgi?id=68711
- Reviewed by Adam Barth.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::testStopScheduledPageRefresh): Unmark the expected failure.
- 2012-12-03 Pierre Rossi <pierre.rossi@digia.com>
- [Qt] Use a separate QWEBKITWIDGETS_EXPORT macro for WebKitWidgets
- https://bugs.webkit.org/show_bug.cgi?id=103844
- Reviewed by Simon Hausmann.
- Let's follow the common practice and have one export macro per library.
- We can't rely on BUILDING_WEBKIT anymore in that case, so we use the
- qmake defines instead.
- * Api/qwebkitglobal.h: Updated the import/export logic.
- * WidgetApi/qgraphicswebview.h: s/QWEBKIT/QWEBKITWIDGETS/
- * WidgetApi/qwebframe.h: Ditto.
- * WidgetApi/qwebinspector.h: Ditto.
- * WidgetApi/qwebpage.h: Ditto.
- * WidgetApi/qwebview.h: Ditto.
- * WidgetSupport/InitWebKitQt.cpp:
- (WebKit::initializeWebKitWidgets): use QWEBKITWIDGETS_EXPORT.
- * WidgetSupport/InitWebKitQt.h:
- (WebKit): Ditto.
- 2012-11-30 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] Introduce setTextSizeMultiplier in the page adapter as well.
- Rubber-stamped by Simon Hausmann.
- As it turns out it the bots didn't like the previous attempt.
- * WebCoreSupport/QWebFrameAdapter.cpp:
- (QWebFrameAdapter::setTextSizeMultiplier):
- * WebCoreSupport/QWebFrameAdapter.h:
- * WidgetApi/qwebframe.cpp:
- (QWebFrame::setTextSizeMultiplier):
- 2012-11-30 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] Unreviewed build fix.
- In the same vein as r136245. Include PlatformExportMacros proper.
- * WebCoreSupport/QtPrintContext.h:
- 2012-11-30 Simon Hausmann <simon.hausmann@digia.com>
- Unreviewed prospective MIPS build fix:
- Explicitly include PlatformExportMacros for the correct export macro to be find.
- Not really MIPS specific but rather to a minimal build configuration with less implicit
- includes.
- * WebCoreSupport/UndoStepQt.h:
- 2012-11-30 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] Unreviewed build un-break
- Revert r136243 and hope it served its purpose.
- * WidgetApi/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- 2012-11-30 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] Unreviewed build break
- Rubber-stamped by Simon Hausmann.
- Poor man's way to trigger a clean build on a bot.
- * WidgetApi/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- 2012-11-30 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Fix QML import installation with newer Qt
- Reviewed by Tor Arne Vestbø.
- The import path has been separated between QML1 and QML2. Use
- QT_INSTALL_QML if it's available.
- * declarative/experimental/experimental.pri:
- * declarative/public.pri:
- 2012-11-30 Simon Hausmann <simon.hausmann@digia.com>
- Prospective build fix for --minimal build.
- * WebCoreSupport/QWebPageAdapter.cpp:
- (QWebPageAdapter::triggerAction):
- (QWebPageAdapter::contextMenuItemTagForAction):
- 2012-11-30 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] Fix zoomIn/zoomOut related regression.
- Reviewed by Simon Hausmann.
- Following r136235, fix a case of refactoring gone wrong.
- Implementing setTextSizeMultiplier in terms of
- setZoomFactor, and not the other way around.
- * WebCoreSupport/QWebFrameAdapter.cpp:
- (QWebFrameAdapter::setZoomFactor):
- * WidgetApi/qwebframe.cpp:
- (QWebFrame::setTextSizeMultiplier):
- 2012-11-30 Simon Hausmann <simon.hausmann@digia.com>, Pierre Rossi <pierre.rossi@digia.com>
- [Qt] Separate Qt WebKit into Qt WebKit and Qt WebKit Widgets
- https://bugs.webkit.org/show_bug.cgi?id=99314
- Reviewed by Tor Arne Vestbø.
- This big change separates QtWebKit into QtWebKit and QtWebKitWidgets as
- shared libraries.
- It's a big refactoring that mostly involves moving WebCore dependent
- code into QtWebKit and accessing it through exported QWebFrameAdapter
- and QWebPageAdapter classes.
- The QtWebKit version macros are now generated by syncqt and the version
- query functions have moved to qwebkitglobal.h, similar to qVersion() in
- qglobal.h.
- API wise qwebframe sees some small cleanups.
- * Api/qwebelement.h:
- * Api/qwebframe_p.h: Removed.
- * Api/qwebhistory.h:
- * Api/qwebkitglobal.cpp: Renamed from Source/WebKit/qt/Api/qwebkitversion.cpp.
- (qWebKitVersion):
- (qWebKitMajorVersion):
- (qWebKitMinorVersion):
- * Api/qwebkitglobal.h:
- * Api/qwebkitversion.h: Removed.
- * Api/qwebsecurityorigin.h:
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::allowsAcceleratedCompositing):
- * WebCoreSupport/ChromeClientQt.h:
- (WebCore):
- (ChromeClientQt):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::frameRenderTreeDump):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebKit):
- (WebKit::setWebKitWidgetsInitCallback):
- (WebKit::createStyleForPage):
- (WebKit::initializeWebKitQt):
- * WebCoreSupport/InitWebCoreQt.h:
- (WebKit):
- * WebCoreSupport/InspectorServerQt.cpp:
- * WebCoreSupport/QWebFrameAdapter.cpp:
- (QWebFrameAdapter::QWebFrameAdapter):
- (QWebFrameAdapter::hasView):
- (QWebFrameAdapter::handleGestureEvent):
- (QWebFrameAdapter::evaluateJavaScript):
- (QWebFrameAdapter::addToJavaScriptWindowObject):
- (QWebFrameAdapter::toHtml):
- (QWebFrameAdapter::toPlainText):
- (QWebFrameAdapter::setContent):
- (QWebFrameAdapter::setHtml):
- (QWebFrameAdapter::metaData):
- (QWebFrameAdapter::scrollPosition):
- (QWebFrameAdapter::frameRect):
- (QWebFrameAdapter::contentsSize):
- (QWebFrameAdapter::setZoomFactor):
- (QWebFrameAdapter::zoomFactor):
- (QWebFrameAdapter::ensureAbsoluteUrl):
- (QWebFrameAdapter::hitTestContent):
- (QWebFrameAdapter::documentElement):
- (QWebFrameAdapter::title):
- (QWebFrameAdapter::clearCoreFrame):
- (isCoreFrameClear):
- (QWebFrameAdapter::baseUrl):
- (QWebFrameAdapter::renderCompositedLayers):
- (QWebFrameAdapter::coreFrameUrl):
- (QWebFrameAdapter::lastRequestedUrl):
- (QWebFrameAdapter::securityOrigin):
- (QWebFrameAdapter::uniqueName):
- (coalesceRectsIfPossible):
- (QWebFrameAdapter::renderRelativeCoords):
- (QWebFrameAdapter::renderFrameExtras):
- (QWebFrameAdapter::setTiledBackingStoreFrozen):
- (QWebFrameAdapter::tiledBackingStoreFrozen):
- (QWebFrameAdapter::setTiledBackingStoreContentsScale):
- (QWebFrameAdapter::renderFromTiledBackingStore):
- (QWebFrameAdapter::_q_orientationChanged):
- (QWebFrameAdapter::childFrames):
- (QWebFrameAdapter::hasFocus):
- (QWebFrameAdapter::setFocus):
- (QWebFrameAdapter::setScrollBarPolicy):
- (QWebFrameAdapter::scrollToAnchor):
- (QWebFrameAdapter::scrollBy):
- (QWebFrameAdapter::setScrollBarValue):
- (QWebFrameAdapter::scrollBarValue):
- (QWebFrameAdapter::scrollBarMaximum):
- (QWebFrameAdapter::scrollBarGeometry):
- (QWebFrameAdapter::horizontalScrollBar):
- (QWebFrameAdapter::verticalScrollBar):
- (QWebFrameAdapter::updateBackgroundRecursively):
- (QWebFrameAdapter::cancelLoad):
- (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
- (QWebHitTestResultPrivate::operator=):
- (QWebHitTestResultPrivate::~QWebHitTestResultPrivate):
- (QWebHitTestResultPrivate::elementForInnerNode):
- (QWebFrameAdapter::customLayoutSize):
- (QWebFrameAdapter::setCustomLayoutSize):
- (QWebFrameAdapter::setFixedVisibleContentRect):
- (QWebFrameAdapter::setViewportSize):
- (QWebFrameAdapter::setPaintsEntireContents):
- (QWebFrameAdapter::setDelegatesScrolling):
- * WebCoreSupport/QWebFrameAdapter.h:
- (WebCore):
- * WebCoreSupport/QWebPageAdapter.cpp:
- (dropActionToDragOp):
- (dragOpToDropAction):
- (frameLoadRequest):
- (openNewWindow):
- (QWebPageAdapter::QWebPageAdapter):
- (QWebPageAdapter::~QWebPageAdapter):
- (QWebPageAdapter::deletePage):
- (QWebPageAdapter::viewportArguments):
- (QWebPageAdapter::hasSelection):
- (QWebPageAdapter::selectedText):
- (QWebPageAdapter::selectedHtml):
- (QWebPageAdapter::isContentEditable):
- (QWebPageAdapter::setContentEditable):
- (QWebPageAdapter::findText):
- (QWebPageAdapter::adjustPointForClicking):
- (hasMouseListener):
- (isClickableElement):
- (isValidFrameOwner):
- (QWebPageAdapter::TouchAdjuster::TouchAdjuster):
- (QWebPageAdapter::TouchAdjuster::findCandidatePointForTouch):
- (QWebPageAdapter::mouseMoveEvent):
- (QWebPageAdapter::mousePressEvent):
- (QWebPageAdapter::mouseDoubleClickEvent):
- (QWebPageAdapter::mouseTripleClickEvent):
- (QWebPageAdapter::mouseReleaseEvent):
- (QWebPageAdapter::handleSoftwareInputPanel):
- (QWebPageAdapter::wheelEvent):
- (QWebPageAdapter::dragEntered):
- (QWebPageAdapter::dragLeaveEvent):
- (QWebPageAdapter::dragUpdated):
- (QWebPageAdapter::performDrag):
- (QWebPageAdapter::inputMethodEvent):
- (QWebPageAdapter::inputMethodQuery):
- (QWebPageAdapter::dynamicPropertyChangeEvent):
- (adapterActionForContextMenuAction):
- (descriptionForPlatformMenu):
- (QWebPageAdapter::updatePositionDependentMenuActions):
- (extractContentTypeFromHash):
- (extractContentTypeFromPluginVector):
- (QWebPageAdapter::supportedContentTypes):
- (QWebPageAdapter::_q_cleanupLeakMessages):
- (QWebPageAdapter::_q_onLoadProgressChanged):
- (QWebPageAdapter::supportsContentType):
- (QWebPageAdapter::didShowInspector):
- (QWebPageAdapter::didCloseInspector):
- (QWebPageAdapter::updateActionInternal):
- (QWebPageAdapter::triggerAction):
- (QWebPageAdapter::contextMenuItemTagForAction):
- (QWebPageAdapter::allowNotificationsForFrame):
- (QWebPageAdapter::addNotificationPresenterClient):
- (QWebPageAdapter::hasSystemTrayIcon):
- (QWebPageAdapter::setSystemTrayIcon):
- (QWebPageAdapter::setGeolocationEnabledForFrame):
- (QWebPageAdapter::defaultUserAgentString):
- (QWebPageAdapter::treatSchemeAsLocal):
- (QWebPageAdapter::currentFrame):
- (QWebPageAdapter::hasFocusedNode):
- (QWebPageAdapter::viewportAttributesForSize):
- (QWebPageAdapter::handleKeyEvent):
- (QWebPageAdapter::handleScrolling):
- (QWebPageAdapter::focusInEvent):
- (QWebPageAdapter::focusOutEvent):
- (QWebPageAdapter::handleShortcutOverrideEvent):
- (QWebPageAdapter::touchEvent):
- (QWebPageAdapter::swallowContextMenuEvent):
- * WebCoreSupport/QWebPageAdapter.h:
- (WebCore):
- * WebCoreSupport/QtPluginWidgetAdapter.cpp: Copied from Source/WebKit/qt/WebCoreSupport/InitWebKitQt.h.
- (QtPluginWidgetAdapter::QtPluginWidgetAdapter):
- * WebCoreSupport/QtPluginWidgetAdapter.h:
- * WebCoreSupport/QtPrintContext.cpp: Added.
- (QtPrintContext::QtPrintContext):
- (QtPrintContext::~QtPrintContext):
- (QtPrintContext::pageCount):
- (QtPrintContext::spoolPage):
- * WebCoreSupport/QtPrintContext.h: Renamed from Source/WebCore/platform/qt/QStyleFacade.cpp.
- (WebCore):
- * WebCoreSupport/TextureMapperLayerClientQt.cpp: Added.
- (TextureMapperLayerClientQt::TextureMapperLayerClientQt):
- (TextureMapperLayerClientQt::~TextureMapperLayerClientQt):
- (TextureMapperLayerClientQt::syncRootLayer):
- (TextureMapperLayerClientQt::markForSync):
- (TextureMapperLayerClientQt::rootLayer):
- (TextureMapperLayerClientQt::setRootGraphicsLayer):
- (TextureMapperLayerClientQt::syncLayers):
- (TextureMapperLayerClientQt::renderCompositedLayers):
- * WebCoreSupport/TextureMapperLayerClientQt.h: Added.
- (WebCore):
- (TextureMapperLayerClientQt):
- * WebCoreSupport/UndoStepQt.h:
- * WidgetApi/qgraphicswebview.cpp: Renamed from Source/WebKit/qt/Api/qgraphicswebview.cpp.
- (QGraphicsWebViewPrivate):
- (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
- (QGraphicsWebViewPrivate::overlay):
- (QGraphicsWebViewPrivate::pageClient):
- (QGraphicsWebViewPrivate::~QGraphicsWebViewPrivate):
- (QGraphicsWebViewPrivate::_q_doLoadFinished):
- (QGraphicsWebViewPrivate::_q_pageDestroyed):
- (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
- (QGraphicsWebViewPrivate::_q_contentsSizeChanged):
- (QGraphicsWebViewPrivate::_q_scaleChanged):
- (QGraphicsWebView::QGraphicsWebView):
- (QGraphicsWebView::~QGraphicsWebView):
- (QGraphicsWebView::page):
- (QGraphicsWebView::paint):
- (QGraphicsWebView::sceneEvent):
- (QGraphicsWebView::itemChange):
- (QGraphicsWebView::sizeHint):
- (QGraphicsWebView::inputMethodQuery):
- (QGraphicsWebView::renderHints):
- (QGraphicsWebView::setRenderHints):
- (QGraphicsWebView::setRenderHint):
- (QGraphicsWebView::event):
- (QGraphicsWebViewPrivate::detachCurrentPage):
- (QGraphicsWebView::setPage):
- (QGraphicsWebView::setUrl):
- (QGraphicsWebView::url):
- (QGraphicsWebView::title):
- (QGraphicsWebView::icon):
- (QGraphicsWebView::setZoomFactor):
- (QGraphicsWebView::zoomFactor):
- (QGraphicsWebView::updateGeometry):
- (QGraphicsWebView::setGeometry):
- (QGraphicsWebView::stop):
- (QGraphicsWebView::back):
- (QGraphicsWebView::forward):
- (QGraphicsWebView::reload):
- (QGraphicsWebView::load):
- (QGraphicsWebView::setHtml):
- (QGraphicsWebView::setContent):
- (QGraphicsWebView::history):
- (QGraphicsWebView::isModified):
- (QGraphicsWebView::settings):
- (QGraphicsWebView::pageAction):
- (QGraphicsWebView::triggerPageAction):
- (QGraphicsWebView::findText):
- (QGraphicsWebView::setResizesToContents):
- (QGraphicsWebView::resizesToContents):
- (QGraphicsWebView::isTiledBackingStoreFrozen):
- (QGraphicsWebView::setTiledBackingStoreFrozen):
- (QGraphicsWebView::hoverMoveEvent):
- (QGraphicsWebView::hoverLeaveEvent):
- (QGraphicsWebView::mouseMoveEvent):
- (QGraphicsWebView::mousePressEvent):
- (QGraphicsWebView::mouseReleaseEvent):
- (QGraphicsWebView::mouseDoubleClickEvent):
- (QGraphicsWebView::keyPressEvent):
- (QGraphicsWebView::keyReleaseEvent):
- (QGraphicsWebView::focusInEvent):
- (QGraphicsWebView::focusOutEvent):
- (QGraphicsWebView::focusNextPrevChild):
- (QGraphicsWebView::dragEnterEvent):
- (QGraphicsWebView::dragLeaveEvent):
- (QGraphicsWebView::dragMoveEvent):
- (QGraphicsWebView::dropEvent):
- (QGraphicsWebView::contextMenuEvent):
- (QGraphicsWebView::wheelEvent):
- (QGraphicsWebView::inputMethodEvent):
- * WidgetApi/qgraphicswebview.h: Renamed from Source/WebKit/qt/Api/qgraphicswebview.h.
- * WidgetApi/qwebframe.cpp: Renamed from Source/WebKit/qt/Api/qwebframe.cpp.
- (QWebFramePrivate::setPage):
- (QWebFramePrivate::emitUrlChanged):
- (QWebFramePrivate::didStartProvisionalLoad):
- (QWebFramePrivate::didClearWindowObject):
- (QWebFramePrivate::handleProgressFinished):
- (QWebFramePrivate::emitInitialLayoutCompleted):
- (QWebFramePrivate::emitIconChanged):
- (QWebFramePrivate::emitLoadStarted):
- (QWebFramePrivate::emitLoadFinished):
- (QWebFramePrivate::createChildFrame):
- (QWebFramePrivate::apiHandle):
- (QWebFramePrivate::handle):
- (QWebFramePrivate::contentsSizeDidChange):
- (QWebFramePrivate::scrollBarPolicy):
- (QWebFrame::QWebFrame):
- (QWebFrame::~QWebFrame):
- (QWebFrame::addToJavaScriptWindowObject):
- (QWebFrame::toHtml):
- (QWebFrame::toPlainText):
- (QWebFrame::title):
- (QWebFrame::metaData):
- (QWebFrame::setUrl):
- (QWebFrame::url):
- (QWebFrame::requestedUrl):
- (QWebFrame::baseUrl):
- (QWebFrame::icon):
- (QWebFrame::frameName):
- (QWebFrame::page):
- (QWebFrame::load):
- (QWebFrame::setHtml):
- (QWebFrame::setContent):
- (QWebFrame::parentFrame):
- (QWebFrame::childFrames):
- (QWebFrame::scrollBarPolicy):
- (QWebFrame::setScrollBarPolicy):
- (QWebFrame::setScrollBarValue):
- (QWebFrame::scrollBarValue):
- (QWebFrame::scrollBarMaximum):
- (QWebFrame::scrollBarMinimum):
- (QWebFrame::scrollBarGeometry):
- (QWebFrame::scroll):
- (QWebFrame::scrollPosition):
- (QWebFrame::setScrollPosition):
- (QWebFrame::scrollToAnchor):
- (QWebFrame::render):
- (QWebFrame::setTextSizeMultiplier):
- (QWebFrame::textSizeMultiplier):
- (QWebFrame::setZoomFactor):
- (QWebFrame::zoomFactor):
- (QWebFrame::hasFocus):
- (QWebFrame::setFocus):
- (QWebFrame::pos):
- (QWebFrame::geometry):
- (QWebFrame::contentsSize):
- (QWebFrame::documentElement):
- (QWebFrame::findAllElements):
- (QWebFrame::findFirstElement):
- (QWebFrame::hitTestContent):
- (QWebFrame::event):
- (QWebFrame::print):
- (QWebFrame::evaluateJavaScript):
- (QWebFrame::securityOrigin):
- (QWebFramePrivate::kit):
- (QWebHitTestResult::QWebHitTestResult):
- (QWebHitTestResult::operator=):
- (QWebHitTestResult::~QWebHitTestResult):
- (QWebHitTestResult::isNull):
- (QWebHitTestResult::pos):
- (QWebHitTestResult::boundingRect):
- (QWebHitTestResult::enclosingBlockElement):
- (QWebHitTestResult::title):
- (QWebHitTestResult::linkText):
- (QWebHitTestResult::linkUrl):
- (QWebHitTestResult::linkTitle):
- (QWebHitTestResult::linkElement):
- (QWebHitTestResult::linkTargetFrame):
- (QWebHitTestResult::alternateText):
- (QWebHitTestResult::imageUrl):
- (QWebHitTestResult::pixmap):
- (QWebHitTestResult::isContentEditable):
- (QWebHitTestResult::isContentSelected):
- (QWebHitTestResult::element):
- (QWebHitTestResult::frame):
- (QWebFrame::handle):
- * WidgetApi/qwebframe.h: Renamed from Source/WebKit/qt/Api/qwebframe.h.
- (WebCore):
- * WidgetApi/qwebframe_p.h: Added.
- (WebCore):
- (QWebFramePrivate):
- (QWebFramePrivate::QWebFramePrivate):
- (QWebFramePrivate::parentFrame):
- * WidgetApi/qwebinspector.cpp: Renamed from Source/WebKit/qt/Api/qwebinspector.cpp.
- (QWebInspector::QWebInspector):
- (QWebInspector::~QWebInspector):
- (QWebInspector::setPage):
- (QWebInspector::page):
- (QWebInspector::sizeHint):
- (QWebInspector::event):
- (QWebInspector::resizeEvent):
- (QWebInspector::showEvent):
- (QWebInspector::hideEvent):
- (QWebInspector::closeEvent):
- (QWebInspectorPrivate::setFrontend):
- (QWebInspectorPrivate::adjustFrontendSize):
- * WidgetApi/qwebinspector.h: Renamed from Source/WebKit/qt/Api/qwebinspector.h.
- * WidgetApi/qwebinspector_p.h: Renamed from Source/WebKit/qt/Api/qwebinspector_p.h.
- (QWebInspectorPrivate):
- (QWebInspectorPrivate::QWebInspectorPrivate):
- * WidgetApi/qwebpage.cpp: Renamed from Source/WebKit/qt/Api/qwebpage.cpp.
- (QWebPagePrivate::QWebPagePrivate):
- (QWebPagePrivate::~QWebPagePrivate):
- (QWebPagePrivate::show):
- (QWebPagePrivate::setFocus):
- (QWebPagePrivate::unfocus):
- (QWebPagePrivate::setWindowRect):
- (QWebPagePrivate::viewportSize):
- (QWebPagePrivate::createWindow):
- (QWebPagePrivate::javaScriptConsoleMessage):
- (QWebPagePrivate::javaScriptAlert):
- (QWebPagePrivate::javaScriptConfirm):
- (QWebPagePrivate::javaScriptPrompt):
- (QWebPagePrivate::shouldInterruptJavaScript):
- (QWebPagePrivate::printRequested):
- (QWebPagePrivate::databaseQuotaExceeded):
- (QWebPagePrivate::applicationCacheQuotaExceeded):
- (QWebPagePrivate::setToolTip):
- (QWebPagePrivate::createFullScreenVideoHandler):
- (QWebPagePrivate::mainFrameAdapter):
- (QWebPagePrivate::chooseFiles):
- (QWebPagePrivate::acceptNavigationRequest):
- (QWebPagePrivate::emitRestoreFrameStateRequested):
- (QWebPagePrivate::emitSaveFrameStateRequested):
- (QWebPagePrivate::emitDownloadRequested):
- (QWebPagePrivate::emitFrameCreated):
- (QWebPagePrivate::errorPageExtension):
- (QWebPagePrivate::createPlugin):
- (QWebPagePrivate::adapterForWidget):
- (QWebPagePrivate::createMainFrame):
- (webActionForAdapterMenuAction):
- (adapterMenuActionForWebAction):
- (createContextMenu):
- (QWebPagePrivate::createAndSetCurrentContextMenu):
- (QWebPagePrivate::_q_webActionTriggered):
- (QWebPagePrivate::updateAction):
- (QWebPagePrivate::updateNavigationActions):
- (QWebPagePrivate::inspectorHandle):
- (QWebPagePrivate::setInspectorFrontend):
- (QWebPagePrivate::setInspectorWindowTitle):
- (QWebPagePrivate::createWebInspector):
- (iterateContextMenu):
- (QWebPagePrivate::menuActionsAsText):
- (QWebPagePrivate::emitViewportChangeRequested):
- (QWebPagePrivate::updateEditorActions):
- (QWebPagePrivate::timerEvent):
- (QWebPagePrivate::requestSoftwareInputPanel):
- (QWebPagePrivate::contextMenuEvent):
- (QWebPage::createStandardContextMenu):
- (QWebPagePrivate::editorActionForKeyEvent):
- (QWebPagePrivate::keyPressEvent):
- (QWebPagePrivate::keyReleaseEvent):
- (QWebPagePrivate::dragEnterEvent):
- (QWebPagePrivate::dragMoveEvent):
- (QWebPagePrivate::dropEvent):
- (QWebPagePrivate::leaveEvent):
- (QWebPage::setPalette):
- (QWebPage::palette):
- (QWebPagePrivate::shortcutOverrideEvent):
- (QWebPagePrivate::gestureEvent):
- (QWebPage::inputMethodQuery):
- (QWebPagePrivate::setInspector):
- (QWebPagePrivate::getOrCreateInspector):
- (QWebPage::ViewportAttributes::ViewportAttributes):
- (QWebPage::ViewportAttributes::~ViewportAttributes):
- (QWebPage::ViewportAttributes::operator=):
- (QWebPage::QWebPage):
- (QWebPage::~QWebPage):
- (QWebPage::mainFrame):
- (QWebPage::currentFrame):
- (QWebPage::frameAt):
- (QWebPage::history):
- (QWebPage::setView):
- (QWebPage::view):
- (QWebPage::javaScriptConsoleMessage):
- (QWebPage::javaScriptAlert):
- (QWebPage::javaScriptConfirm):
- (QWebPage::javaScriptPrompt):
- (QWebPage::shouldInterruptJavaScript):
- (QWebPage::setFeaturePermission):
- (QWebPage::createWindow):
- (QWebPage::createPlugin):
- (QWebPage::supportedContentTypes):
- (QWebPage::supportsContentType):
- (collectChildFrames):
- (QWebPage::triggerAction):
- (QWebPagePrivate::colorSelectionRequested):
- (QWebPagePrivate::createSelectPopup):
- (QWebPagePrivate::viewRectRelativeToWindow):
- (QWebPagePrivate::geolocationPermissionRequested):
- (QWebPagePrivate::geolocationPermissionRequestCancelled):
- (QWebPagePrivate::notificationsPermissionRequested):
- (QWebPagePrivate::notificationsPermissionRequestCancelled):
- (QWebPagePrivate::respondToChangedContents):
- (QWebPagePrivate::respondToChangedSelection):
- (QWebPagePrivate::microFocusChanged):
- (QWebPagePrivate::triggerCopyAction):
- (QWebPagePrivate::triggerActionForKeyEvent):
- (QWebPagePrivate::clearUndoStack):
- (QWebPagePrivate::canUndo):
- (QWebPagePrivate::canRedo):
- (QWebPagePrivate::undo):
- (QWebPagePrivate::redo):
- (QWebPagePrivate::createUndoStep):
- (QWebPagePrivate::editorCommandForKeyEvent):
- (QWebPage::viewportSize):
- (QWebPage::setViewportSize):
- (getintenv):
- (queryDeviceSizeForScreenContainingWidget):
- (QWebPage::viewportAttributesForSize):
- (QWebPage::preferredContentsSize):
- (QWebPage::setPreferredContentsSize):
- (QWebPage::setActualVisibleContentRect):
- (QWebPage::acceptNavigationRequest):
- (QWebPage::hasSelection):
- (QWebPage::selectedText):
- (QWebPage::selectedHtml):
- (QWebPage::action):
- (QWebPage::isModified):
- (QWebPage::undoStack):
- (QWebPage::event):
- (QWebPage::focusNextPrevChild):
- (QWebPage::setContentEditable):
- (QWebPage::isContentEditable):
- (QWebPage::setForwardUnsupportedContent):
- (QWebPage::forwardUnsupportedContent):
- (QWebPage::setLinkDelegationPolicy):
- (QWebPage::linkDelegationPolicy):
- (QWebPagePrivate::handleScrollbarContextMenuEvent):
- (QWebPage::swallowContextMenuEvent):
- (QWebPage::updatePositionDependentActions):
- (QWebPage::extension):
- (QWebPage::supportsExtension):
- (QWebPage::handle):
- (QWebPage::findText):
- (QWebPage::settings):
- (QWebPage::chooseFile):
- (QWebPage::setNetworkAccessManager):
- (QWebPage::networkAccessManager):
- (QWebPage::setPluginFactory):
- (QWebPage::pluginFactory):
- (QWebPage::userAgentForUrl):
- (QWebPage::totalBytes):
- (QWebPage::bytesReceived):
- * WidgetApi/qwebpage.h: Renamed from Source/WebKit/qt/Api/qwebpage.h.
- (WebCore):
- * WidgetApi/qwebpage_p.h: Renamed from Source/WebKit/qt/Api/qwebpage_p.h.
- (WebCore):
- (QtViewportAttributesPrivate):
- (QtViewportAttributesPrivate::QtViewportAttributesPrivate):
- (QWebPagePrivate):
- * WidgetApi/qwebview.cpp: Renamed from Source/WebKit/qt/Api/qwebview.cpp.
- (QWebViewPrivate):
- (QWebViewPrivate::QWebViewPrivate):
- (QWebViewPrivate::~QWebViewPrivate):
- (QWebViewPrivate::_q_pageDestroyed):
- (accessibleInterfaceFactory):
- (QWebView::QWebView):
- (QWebView::~QWebView):
- (QWebView::page):
- (QWebViewPrivate::detachCurrentPage):
- (QWebView::setPage):
- (QWebView::load):
- (QWebView::setHtml):
- (QWebView::setContent):
- (QWebView::history):
- (QWebView::settings):
- (QWebView::title):
- (QWebView::setUrl):
- (QWebView::url):
- (QWebView::icon):
- (QWebView::hasSelection):
- (QWebView::selectedText):
- (QWebView::selectedHtml):
- (QWebView::pageAction):
- (QWebView::triggerPageAction):
- (QWebView::isModified):
- (QWebView::sizeHint):
- (QWebView::setZoomFactor):
- (QWebView::zoomFactor):
- (QWebView::setTextSizeMultiplier):
- (QWebView::textSizeMultiplier):
- (QWebView::renderHints):
- (QWebView::setRenderHints):
- (QWebView::setRenderHint):
- (QWebView::findText):
- (QWebView::event):
- (QWebView::print):
- (QWebView::stop):
- (QWebView::back):
- (QWebView::forward):
- (QWebView::reload):
- (QWebView::resizeEvent):
- (QWebView::paintEvent):
- (QWebView::createWindow):
- (QWebView::mouseMoveEvent):
- (QWebView::mousePressEvent):
- (QWebView::mouseDoubleClickEvent):
- (QWebView::mouseReleaseEvent):
- (QWebView::contextMenuEvent):
- (QWebView::wheelEvent):
- (QWebView::keyPressEvent):
- (QWebView::keyReleaseEvent):
- (QWebView::focusInEvent):
- (QWebView::focusOutEvent):
- (QWebView::dragEnterEvent):
- (QWebView::dragLeaveEvent):
- (QWebView::dragMoveEvent):
- (QWebView::dropEvent):
- (QWebView::focusNextPrevChild):
- (QWebView::inputMethodQuery):
- (QWebView::inputMethodEvent):
- (QWebView::changeEvent):
- * WidgetApi/qwebview.h: Renamed from Source/WebKit/qt/Api/qwebview.h.
- * WidgetApi/qwebviewaccessible.cpp: Renamed from Source/WebKit/qt/Api/qwebviewaccessible.cpp.
- (QWebFrameAccessible::QWebFrameAccessible):
- (QWebFrameAccessible::frame):
- (QWebFrameAccessible::parent):
- (QWebFrameAccessible::text):
- (QWebFrameAccessible::childCount):
- (QWebFrameAccessible::child):
- (QWebFrameAccessible::indexOfChild):
- (QWebFrameAccessible::state):
- (QWebFrameAccessible::role):
- (QWebFrameAccessible::navigate):
- (QWebPageAccessible::QWebPageAccessible):
- (QWebPageAccessible::page):
- (QWebPageAccessible::text):
- (QWebPageAccessible::parent):
- (QWebPageAccessible::child):
- (QWebPageAccessible::childCount):
- (QWebPageAccessible::indexOfChild):
- (QWebPageAccessible::navigate):
- (QWebPageAccessible::role):
- (QWebPageAccessible::state):
- (QWebViewAccessible::QWebViewAccessible):
- (QWebViewAccessible::view):
- (QWebViewAccessible::childCount):
- (QWebViewAccessible::child):
- * WidgetApi/qwebviewaccessible_p.h: Renamed from Source/WebKit/qt/Api/qwebviewaccessible_p.h.
- (QWebFrameAccessible):
- (QWebPageAccessible):
- (QWebViewAccessible):
- * WidgetSupport/DefaultFullScreenVideoHandler.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/DefaultFullScreenVideoHandler.cpp.
- (DefaultFullScreenVideoHandler::DefaultFullScreenVideoHandler):
- (DefaultFullScreenVideoHandler::~DefaultFullScreenVideoHandler):
- (DefaultFullScreenVideoHandler::requiresFullScreenForVideoPlayback):
- (DefaultFullScreenVideoHandler::enterFullScreen):
- (DefaultFullScreenVideoHandler::exitFullScreen):
- * WidgetSupport/DefaultFullScreenVideoHandler.h: Renamed from Source/WebKit/qt/WebCoreSupport/DefaultFullScreenVideoHandler.h.
- (WebKit):
- (DefaultFullScreenVideoHandler):
- * WidgetSupport/FullScreenVideoWidget.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/FullScreenVideoWidget.cpp.
- (WebKit):
- (WebKit::FullScreenVideoWidget::FullScreenVideoWidget):
- (WebKit::FullScreenVideoWidget::~FullScreenVideoWidget):
- (WebKit::FullScreenVideoWidget::show):
- (WebKit::FullScreenVideoWidget::closeEvent):
- (WebKit::FullScreenVideoWidget::event):
- (WebKit::FullScreenVideoWidget::keyPressEvent):
- (WebKit::FullScreenVideoWidget::hideCursor):
- (WebKit::FullScreenVideoWidget::showCursor):
- * WidgetSupport/FullScreenVideoWidget.h: Renamed from Source/WebKit/qt/WebCoreSupport/FullScreenVideoWidget.h.
- (WebKit):
- (FullScreenVideoWidget):
- * WidgetSupport/InitWebKitQt.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/InitWebKitQt.cpp.
- (WebKit):
- (WebKit::initializeWebKitWidgets):
- * WidgetSupport/InitWebKitQt.h: Renamed from Source/WebKit/qt/WebCoreSupport/InitWebKitQt.h.
- (WebKit):
- * WidgetSupport/InspectorClientWebPage.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/InspectorClientWebPage.cpp.
- (InspectorClientWebPage::InspectorClientWebPage):
- (InspectorClientWebPage::createWindow):
- (InspectorClientWebPage::javaScriptWindowObjectCleared):
- * WidgetSupport/InspectorClientWebPage.h: Renamed from Source/WebKit/qt/WebCoreSupport/InspectorClientWebPage.h.
- (WebKit):
- (InspectorClientWebPage):
- * WidgetSupport/PageClientQt.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/PageClientQt.cpp.
- (QWebPageClient::ownerWindow):
- (WebCore):
- (WebCore::PageClientQWidget::scroll):
- (WebCore::PageClientQWidget::update):
- (WebCore::PageClientQWidget::repaintViewport):
- (WebCore::PageClientQWidget::setInputMethodEnabled):
- (WebCore::PageClientQWidget::inputMethodEnabled):
- (WebCore::PageClientQWidget::setInputMethodHints):
- (WebCore::PageClientQWidget::~PageClientQWidget):
- (WebCore::PageClientQWidget::cursor):
- (WebCore::PageClientQWidget::updateCursor):
- (WebCore::PageClientQWidget::palette):
- (WebCore::PageClientQWidget::screenNumber):
- (WebCore::PageClientQWidget::ownerWidget):
- (WebCore::PageClientQWidget::geometryRelativeToOwnerWidget):
- (WebCore::PageClientQWidget::pluginParent):
- (WebCore::PageClientQWidget::style):
- (WebCore::PageClientQWidget::windowRect):
- (WebCore::PageClientQWidget::setWidgetVisible):
- (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
- (WebCore::PageClientQGraphicsWidget::scroll):
- (WebCore::PageClientQGraphicsWidget::update):
- (WebCore::PageClientQGraphicsWidget::repaintViewport):
- (WebCore::PageClientQGraphicsWidget::makeOpenGLContextCurrentIfAvailable):
- (WebCore::PageClientQGraphicsWidget::setInputMethodEnabled):
- (WebCore::PageClientQGraphicsWidget::inputMethodEnabled):
- (WebCore::PageClientQGraphicsWidget::setInputMethodHints):
- (WebCore::PageClientQGraphicsWidget::cursor):
- (WebCore::PageClientQGraphicsWidget::updateCursor):
- (WebCore::PageClientQGraphicsWidget::palette):
- (WebCore::PageClientQGraphicsWidget::screenNumber):
- (WebCore::PageClientQGraphicsWidget::ownerWidget):
- (WebCore::PageClientQGraphicsWidget::geometryRelativeToOwnerWidget):
- (WebCore::PageClientQGraphicsWidget::graphicsItemVisibleRect):
- (WebCore::PageClientQGraphicsWidget::pluginParent):
- (WebCore::PageClientQGraphicsWidget::style):
- (WebCore::PageClientQGraphicsWidget::setWidgetVisible):
- (WebCore::PageClientQGraphicsWidget::windowRect):
- * WidgetSupport/PageClientQt.h: Renamed from Source/WebKit/qt/WebCoreSupport/PageClientQt.h.
- (WebCore):
- (PageClientQWidget):
- (WebCore::PageClientQWidget::PageClientQWidget):
- (WebCore::PageClientQWidget::isQWidgetClient):
- (WebCore::PageClientQWidget::viewResizesToContentsEnabled):
- (QGraphicsItemOverlay):
- (WebCore::QGraphicsItemOverlay::QGraphicsItemOverlay):
- (WebCore::QGraphicsItemOverlay::boundingRect):
- (WebCore::QGraphicsItemOverlay::paint):
- (WebCore::QGraphicsItemOverlay::prepareGraphicsItemGeometryChange):
- (PageClientQGraphicsWidget):
- (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
- (WebCore::PageClientQGraphicsWidget::isQWidgetClient):
- (WebCore::PageClientQGraphicsWidget::viewResizesToContentsEnabled):
- * WidgetSupport/QGraphicsWidgetPluginImpl.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/QGraphicsWidgetPluginImpl.cpp.
- (QGraphicsWidgetPluginImpl::~QGraphicsWidgetPluginImpl):
- (QGraphicsWidgetPluginImpl::update):
- (QGraphicsWidgetPluginImpl::setGeometryAndClip):
- (QGraphicsWidgetPluginImpl::setVisible):
- (QGraphicsWidgetPluginImpl::setWidgetParent):
- (QGraphicsWidgetPluginImpl::handle):
- * WidgetSupport/QGraphicsWidgetPluginImpl.h: Renamed from Source/WebKit/qt/WebCoreSupport/QGraphicsWidgetPluginImpl.h.
- (QGraphicsWidgetPluginImpl):
- (QGraphicsWidgetPluginImpl::QGraphicsWidgetPluginImpl):
- * WidgetSupport/QStyleFacadeImp.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/QStyleFacadeImp.cpp.
- (WebKit):
- (WebKit::convertToQStyleState):
- (WebKit::convertToQStyleSubControl):
- (WebKit::initGenericStyleOption):
- (WebKit::initSpecificStyleOption):
- (MappedStyleOption):
- (WebKit::MappedStyleOption::MappedStyleOption):
- (WebKit::convertPixelMetric):
- (WebKit::convertToQStyleFacadeSubControl):
- (WebKit::QStyleFacadeImp::QStyleFacadeImp):
- (WebKit::QStyleFacadeImp::~QStyleFacadeImp):
- (WebKit::QStyleFacadeImp::buttonSubElementRect):
- (WebKit::QStyleFacadeImp::findFrameLineWidth):
- (WebKit::QStyleFacadeImp::simplePixelMetric):
- (WebKit::QStyleFacadeImp::buttonMargin):
- (WebKit::QStyleFacadeImp::sliderLength):
- (WebKit::QStyleFacadeImp::sliderThickness):
- (WebKit::QStyleFacadeImp::progressBarChunkWidth):
- (WebKit::QStyleFacadeImp::getButtonMetrics):
- (WebKit::QStyleFacadeImp::comboBoxSizeFromContents):
- (WebKit::QStyleFacadeImp::pushButtonSizeFromContents):
- (WebKit::QStyleFacadeImp::paintButton):
- (WebKit::QStyleFacadeImp::paintTextField):
- (WebKit::QStyleFacadeImp::paintComboBox):
- (WebKit::QStyleFacadeImp::paintComboBoxArrow):
- (WebKit::QStyleFacadeImp::paintSliderTrack):
- (WebKit::QStyleFacadeImp::paintSliderThumb):
- (WebKit::QStyleFacadeImp::paintInnerSpinButton):
- (WebKit::QStyleFacadeImp::paintProgressBar):
- (WebKit::QStyleFacadeImp::scrollBarExtent):
- (WebKit::QStyleFacadeImp::scrollBarMiddleClickAbsolutePositionStyleHint):
- (WebKit::QStyleFacadeImp::paintScrollCorner):
- (WebKit::QStyleFacadeImp::hitTestScrollBar):
- (WebKit::QStyleFacadeImp::scrollBarSubControlRect):
- (WebKit::QStyleFacadeImp::paintScrollBar):
- (WebKit::QStyleFacadeImp::widgetForPainter):
- (WebKit::QStyleFacadeImp::style):
- * WidgetSupport/QStyleFacadeImp.h: Renamed from Source/WebKit/qt/WebCoreSupport/QStyleFacadeImp.h.
- (WebKit):
- (QStyleFacadeImp):
- (WebKit::QStyleFacadeImp::create):
- (WebKit::QStyleFacadeImp::isValid):
- * WidgetSupport/QWebUndoCommand.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/QWebUndoCommand.cpp.
- (QWebUndoCommand::QWebUndoCommand):
- (QWebUndoCommand::undo):
- (QWebUndoCommand::redo):
- * WidgetSupport/QWebUndoCommand.h: Renamed from Source/WebKit/qt/WebCoreSupport/QWebUndoCommand.h.
- (QWebUndoCommand):
- * WidgetSupport/QWidgetPluginImpl.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/QWidgetPluginImpl.cpp.
- (QWidgetPluginImpl::~QWidgetPluginImpl):
- (QWidgetPluginImpl::update):
- (QWidgetPluginImpl::setGeometryAndClip):
- (QWidgetPluginImpl::setVisible):
- (QWidgetPluginImpl::setStyleSheet):
- (QWidgetPluginImpl::setWidgetParent):
- (QWidgetPluginImpl::handle):
- * WidgetSupport/QWidgetPluginImpl.h: Renamed from Source/WebKit/qt/WebCoreSupport/QWidgetPluginImpl.h.
- (QWidgetPluginImpl):
- (QWidgetPluginImpl::QWidgetPluginImpl):
- * WidgetSupport/QtFallbackWebPopup.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/QtFallbackWebPopup.cpp.
- (WebCore):
- (WebCore::QtFallbackWebPopup::QtFallbackWebPopup):
- (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup):
- (WebCore::QtFallbackWebPopup::show):
- (WebCore::QtFallbackWebPopup::hide):
- (WebCore::QtFallbackWebPopup::populate):
- (WebCore::QtFallbackWebPopup::activeChanged):
- (WebCore::QtFallbackWebPopup::deleteComboBox):
- (WebCore::QtFallbackWebPopup::pageClient):
- * WidgetSupport/QtFallbackWebPopup.h: Renamed from Source/WebKit/qt/WebCoreSupport/QtFallbackWebPopup.h.
- (WebCore):
- (QtFallbackWebPopup):
- (WebCore::QtFallbackWebPopup::setGeometry):
- (WebCore::QtFallbackWebPopup::geometry):
- (WebCore::QtFallbackWebPopup::setFont):
- (WebCore::QtFallbackWebPopup::font):
- * WidgetSupport/QtWebComboBox.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.cpp.
- (WebCore):
- (WebCore::QtWebComboBox::QtWebComboBox):
- (WebCore::QtWebComboBox::showPopupAtCursorPosition):
- (WebCore::QtWebComboBox::eventFilter):
- * WidgetSupport/QtWebComboBox.h: Renamed from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
- (WebCore):
- (QtWebComboBox):
- * declarative/experimental/experimental.pri:
- * declarative/public.pri:
- * tests/qwebview/tst_qwebview.cpp:
- 2012-11-30 Zeno Albisser <zeno@webkit.org>
- [Qt] Enable WebGL by default.
- https://bugs.webkit.org/show_bug.cgi?id=103731
- Reviewed by Simon Hausmann.
- * Api/qwebsettings.cpp:
- (QWebSettings::QWebSettings):
- 2012-11-30 Mihai Maerean <mmaerean@adobe.com>
- [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
- https://bugs.webkit.org/show_bug.cgi?id=101192
- Reviewed by Hajime Morita.
- Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
- Tests: No new tests because there is no functional change.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- 2012-11-29 Alexey Proskuryakov <ap@apple.com>
- [WK2] Forward cookie jar calls to NetworkProcess
- https://bugs.webkit.org/show_bug.cgi?id=103457
- Reviewed by Darin Adler.
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::cookiesForDOM):
- (PlatformStrategiesQt::setCookiesFromDOM):
- (PlatformStrategiesQt::cookiesEnabled):
- (PlatformStrategiesQt::cookieRequestHeaderFieldValue):
- (PlatformStrategiesQt::getRawCookies):
- (PlatformStrategiesQt::deleteCookie):
- (PlatformStrategiesQt::getHostnamesWithCookies):
- (PlatformStrategiesQt::deleteCookiesForHostname):
- (PlatformStrategiesQt::deleteAllCookies):
- 2012-11-28 Huang Dongsung <luxtella@company100.net>
- [Texmap] REGRESSION(r135620) QtTestBrowser crashes on Google-gravity.
- https://bugs.webkit.org/show_bug.cgi?id=103410
- Reviewed by Noam Rosenthal.
- TextureMapperLayerClientQt::setTextureMapper() must call
- flushCompositingStateForThisLayerOnly() of the root layer.
- Currently, PageClientQGraphicsWidget::setRootGraphicsLayer does not flush layer
- states of the root layer after setting TextureMapper while
- PageClientQWidget::setRootGraphicsLayer() flushes them of the root layer. If
- not flushing states, descendant layers can not reach the root layer. It means
- descendant layers can not reach the TextureMapper that the root layer has.
- This is already the behavior for PageClientQWidget, which should be the case
- for PageClientQGraphicsWidget as well.
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::TextureMapperLayerClientQt::setTextureMapper):
- (WebCore::PageClientQWidget::setRootGraphicsLayer):
- 2012-11-27 James Simonsen <simonjam@chromium.org>
- Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
- https://bugs.webkit.org/show_bug.cgi?id=102151
- Reviewed by Adam Barth.
- * Api/qwebframe.cpp:
- (QWebFrame::QWebFrame):
- (QWebFrame::load):
- (QWebFrame::setHtml):
- (QWebFrame::setContent):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setAlternateHtml):
- (qt_dump_set_accepts_editing):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::callErrorPageExtension):
- 2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r135786.
- http://trac.webkit.org/changeset/135786
- https://bugs.webkit.org/show_bug.cgi?id=103379
- It made 3 plugin tests timeout on several platforms (Requested
- by Ossy on #webkit).
- * Api/qwebframe.cpp:
- (QWebFrame::setHtml):
- (QWebFrame::setContent):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setAlternateHtml):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::callErrorPageExtension):
- * WebCoreSupport/QWebFrameAdapter.cpp:
- (QWebFrameAdapter::load):
- 2012-11-26 James Simonsen <simonjam@chromium.org>
- Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
- https://bugs.webkit.org/show_bug.cgi?id=102151
- Reviewed by Adam Barth.
- * Api/qwebframe.cpp:
- (QWebFrame::QWebFrame):
- (QWebFrame::load):
- (QWebFrame::setHtml):
- (QWebFrame::setContent):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setAlternateHtml):
- (qt_dump_set_accepts_editing):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::callErrorPageExtension):
- 2012-11-26 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] REGRESSION(r135575): It made all tests assert
- https://bugs.webkit.org/show_bug.cgi?id=103169
- Reviewed by Simon Hausmann.
- This fixes another regression introduced in r135515:
- initializeWebKitQt shouldn't implicitely call initializeWebCoreQt
- since it can be called from WebKit2 to initialize QStyle for testing.
- This would then lead to things such as PlatformStrategies being
- initialized twice.
- * Api/qwebpage.cpp: Explicitely call initializeWebCoreQt().
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebKit::initializeWebKitQt):
- (WebCore::initializeWebCoreQt):
- * WebCoreSupport/InitWebCoreQt.h:
- (WebCore):
- 2012-11-26 Zeno Albisser <zeno@webkit.org>
- [Qt] Make sure the QGLWidget context is current when creating the TextureMapper.
- https://bugs.webkit.org/show_bug.cgi?id=103142
- When creating the TextureMapperGL for WK1 we have to make sure
- that the GL context provided by the QGLWidget is current.
- Otherwise the GraphicsContext3DQt created by TextureMapperGL will pick up
- the wrong pointer by calling QOpenGLContext::currentContext().
- Reviewed by Simon Hausmann.
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
- 2012-11-26 Michael Brüning <michael.bruning@digia.com>
- [Qt] QStyleFacadeImp build break with latest Qt 5
- https://bugs.webkit.org/show_bug.cgi?id=103198
- Reviewed by Simon Hausmann.
- Original patch by J-P Nurmi <jpnurmi@digia.com>.
- Fixes QtWebKit build by replacing qobject_cast to
- QMacStyle with calls to QObject::inherits. Also
- replaces Q_WS_MAC preprocesser directives with Q_OS_MAC
- for Qt 5 compatibility.
- * WebCoreSupport/QStyleFacadeImp.cpp:
- (WebKit::QStyleFacadeImp::getButtonMetrics):
- (WebKit::QStyleFacadeImp::paintComboBox):
- (WebKit::QStyleFacadeImp::paintInnerSpinButton):
- (WebKit::QStyleFacadeImp::paintScrollBar):
- 2012-11-24 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r135648 and r135649.
- http://trac.webkit.org/changeset/135648
- http://trac.webkit.org/changeset/135649
- https://bugs.webkit.org/show_bug.cgi?id=103176
- This change cannot be built with a qt-minimal configuration.
- (Requested by zalbisser on #webkit).
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
- 2012-11-24 Zeno Albisser <zeno@webkit.org>
- Unreviewed Qt build fix:
- Make sure QGLWidget definition is available.
- * WebCoreSupport/PageClientQt.cpp:
- 2012-11-24 Zeno Albisser <zeno@webkit.org>
- [Qt] Make sure the QGLWidget context is current when creating the TextureMapper.
- https://bugs.webkit.org/show_bug.cgi?id=103142
- When creating the TextureMapperGL for WK1 we have to make sure
- that the GL context provided by the QGLWidget is current.
- Otherwise the GraphicsContext3DQt created by TextureMapperGL will pick up
- the wrong pointer by calling QOpenGLContext::currentContext().
- Reviewed by Kenneth Rohde Christiansen.
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
- 2012-11-23 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r135575.
- http://trac.webkit.org/changeset/135575
- https://bugs.webkit.org/show_bug.cgi?id=103169
- It made all tests assert (Requested by Ossy on #webkit).
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebKit::initializeWebKitQt):
- 2012-11-23 Allan Sandfeld Jensen <allan.jensen@digia.com>
- tst_qwebpage fails after QMimeDatabase patch
- https://bugs.webkit.org/show_bug.cgi?id=103125
- Reviewed by Simon Hausmann.
- Replace the static extension->mimetype table with a QMimeDatabase lookup
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::findText):
- (tst_QWebPage::supportedContentType):
- 2012-11-23 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Compiling against QtWebkit API requires QT_DLL to be defined
- https://bugs.webkit.org/show_bug.cgi?id=102942
- Reviewed by Tor Arne Vestbø.
- Remove the requirement of having QT_DLL defined in order for the QWEBKIT_EXPORT
- macro to be defined as Q_DECL_IMPORT. Instead unify the export macro definition
- to follow the same rules as other Qt 5 modules, with the exception that instead of
- QT_BUILD_WEBKIT_LIB we continue to use BUILDING_WEBKIT, because that's used also
- in other cross-platform header files to determine the correct meaning of export
- macros.
- * Api/qwebkitglobal.h:
- 2012-11-23 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] QWebPage::shouldInterruptJavaScript should be virtual in Qt 5
- https://bugs.webkit.org/show_bug.cgi?id=103111
- Reviewed by Kenneth Rohde Christiansen.
- This function was added as a slot during Qt 4.x times because adding
- virtual functions breaks binary compatibility. This constraint is gone
- with the initial release of WebKit with Qt 5, and therefore we can
- make it virtual now.
- The change is fully source compatible as existing "re-implementations"
- as slots will now be called through it being a virtual function. They
- become unused slots.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::shouldInterruptJavaScript):
- * Api/qwebpage.h:
- * Api/qwebpage_p.h:
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::shouldInterruptJavaScript):
- * WebCoreSupport/QWebPageAdapter.h:
- (QWebPageAdapter):
- * tests/qwebpage/tst_qwebpage.cpp:
- (JSTestPage::shouldInterruptJavaScript):
- (JSTestPage):
- 2012-11-23 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] REGRESSION(r135515): 3 appcache tests still failing
- https://bugs.webkit.org/show_bug.cgi?id=103073
- Rubber-stamped by Simon Hausmann.
- Another sneaky typo.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::applicationCacheQuotaExceeded):
- 2012-11-22 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] Avoid initializing PlatformStrategies twice.
- Rubber-stamped by Simon Hausmann.
- This fixes another regression introduced in r135515:
- initializeWebKitQt shouldn't implicitely call initializeWebCoreQt
- since it can be called from WebKit2 to initialize QStyle for testing.
- This would then lead to things such as PlatformStrategies being
- initialized twice.
- * Api/qwebpage.cpp: Explicitely call initializeWebCoreQt().
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebKit::initializeWebKitQt):
- 2012-11-23 Simon Hausmann <simon.hausmann@digia.com>
- Unreviewed trivial Qt/Win build fix:
- Include FormState.h/HTMLFormElement.h in the FrameLoaderClient
- declaration because MSVC needs it. Also fix Q_DECL_EXPORT declarations
- for functions that are supposed to be exported.
- * Api/qwebelement.cpp:
- * WebCoreSupport/FrameLoaderClientQt.h:
- * WebCoreSupport/InitWebCoreQt.h:
- (WebKit):
- * WebCoreSupport/InitWebKitQt.h:
- (WebKit):
- 2012-11-22 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] REGRESSION(r135515): It made 3-3 tests fail and crash
- https://bugs.webkit.org/show_bug.cgi?id=103073
- Rubber-stamped by Simon Hausmann.
- Removing the QNetworkAccessManager member in FrameNetworkingContextQt
- was right, but we need to be careful as to how we fetch it back.
- Since the WebCore Page is not always valid, get the QNAM instance
- straight from the frame adapter through its page adapter instead.
- * WebCoreSupport/ChromeClientQt.cpp: [Style nit] Remove stray emit.
- * WebCoreSupport/FrameNetworkingContextQt.cpp:
- (WebCore::FrameNetworkingContextQt::networkAccessManager):
- 2012-11-22 Simon Hausmann <simon.hausmann@digia.com>
- Unreviewed MSVC Windows build fix: Include header files referenced in RefPtr
- instances.
- * Api/qwebelement.cpp:
- 2012-11-22 Simon Hausmann <simon.hausmann@digia.com>, Pierre Rossi <pierre.rossi@digia.com>
- [Qt] Separate QWidget dependant code into separate WebKitWidgets static library
- https://bugs.webkit.org/show_bug.cgi?id=102800
- Reviewed by Tor Arne Vestbø.
- This patch separates code that needs to use QWidget related APIs in
- WebKit/qt/WebCoreSupport and Api from code that doesn't. This means for
- example FrameLoaderClientQt.cpp remains in the WebKit1 static library,
- while qwebpage.cpp and qwebframe.cpp become part of the WebKitWidgets
- static library. WebKit1 is compiled without QT += widgets and therefore
- any widget related dependency has been moved "up" and out of WebKit1 into
- the WebKitWidgets library.
- Between the code in WebKit.a and WebKitWidgets.a new adapters and
- interfaces have been introduced, such as QWebPageAdapter and
- QWebFrameAdapter. QWebPageAdapter, when used from WebKit1, is a way to
- call out into the API layer, implemented by QWebPage (QWebPagePrivate).
- The other way around if QWebPage wants to access WebCore or
- WebCoreSupport related functionality, it will go through
- QWebPageAdapater (as base class). The separation in the direction up
- into the API layer is complete with this patch, no code in WebKit1
- depends on QtWidgets. The separation the other way around, code in the
- API layer not using any WebCore types, is not complete yet.
- Some classes such as QWebSettings, QWebElement or
- DumpRenderTreeSupportQt remain in WebKit1. While they are API layer,
- they do not depend on widget related Qt APIs and they make much more
- use of WebCore internal APIs and therefore are easier to keep in
- WebKit1.
- In the future we plan to place a real shared library boundary between
- WebKit1 and WebKitWidgets, by keeping the WebKit1 static library as
- part of the QtWebKit shared library and by turning the WebKitWidgets
- static library into a shared one.
- * Api/qgraphicswebview.cpp:
- (QGraphicsWebViewPrivate::pageClient):
- (QGraphicsWebViewPrivate::detachCurrentPage):
- (QGraphicsWebView::setPage):
- * Api/qwebelement.cpp:
- (QWebElement::webFrame):
- * Api/qwebframe.cpp:
- (QWebFramePrivate::setPage):
- (QWebFramePrivate::didStartProvisionalLoad):
- (QWebFramePrivate::handleProgressFinished):
- (QWebFramePrivate::emitInitialLayoutCompleted):
- (QWebFramePrivate::emitIconChanged):
- (QWebFramePrivate::emitLoadStarted):
- (QWebFramePrivate::emitLoadFinished):
- (QWebFramePrivate::createChildFrame):
- (QWebFramePrivate::apiHandle):
- (QWebFramePrivate::handle):
- (QWebFramePrivate::contentsSizeDidChange):
- (QWebFramePrivate::scrollBarPolicy):
- (QWebFrame::QWebFrame):
- (QWebFrame::~QWebFrame):
- (QWebFrame::setUrl):
- (QWebFrame::load):
- (QWebFrame::scrollPosition):
- (QWebFrame::geometry):
- (QWebFramePrivate::kit):
- (QWebFrame::handle):
- * Api/qwebframe.h:
- * Api/qwebframe_p.h:
- (QWebFramePrivate::QWebFramePrivate):
- (QWebFramePrivate):
- * Api/qwebhistory.cpp:
- (QWebHistoryPrivate::page):
- * Api/qwebhistory_p.h:
- (QWebHistoryPrivate):
- * Api/qwebinspector.cpp:
- (QWebInspectorPrivate::setFrontend):
- * Api/qwebinspector_p.h:
- (QWebInspectorPrivate):
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- (QWebPagePrivate::~QWebPagePrivate):
- (QWebPagePrivate::core):
- (QWebPagePrivate::show):
- (QWebPagePrivate::setFocus):
- (QWebPagePrivate::unfocus):
- (QWebPagePrivate::setWindowRect):
- (QWebPagePrivate::viewportSize):
- (QWebPagePrivate::createWindow):
- (QWebPagePrivate::javaScriptConsoleMessage):
- (QWebPagePrivate::javaScriptAlert):
- (QWebPagePrivate::javaScriptConfirm):
- (QWebPagePrivate::javaScriptPrompt):
- (QWebPagePrivate::printRequested):
- (QWebPagePrivate::databaseQuotaExceeded):
- (QWebPagePrivate::applicationCacheQuotaExceeded):
- (QWebPagePrivate::setToolTip):
- (QWebPagePrivate::createFullScreenVideoHandler):
- (QWebPagePrivate::mainFrameAdapter):
- (QWebPagePrivate::chooseFiles):
- (QWebPagePrivate::acceptNavigationRequest):
- (QWebPagePrivate::emitRestoreFrameStateRequested):
- (QWebPagePrivate::emitSaveFrameStateRequested):
- (QWebPagePrivate::emitDownloadRequested):
- (QWebPagePrivate::emitFrameCreated):
- (QWebPagePrivate::errorPageExtension):
- (QWebPagePrivate::createPlugin):
- (QWebPagePrivate::adapterForWidget):
- (QWebPagePrivate::createMainFrame):
- (QWebPagePrivate::createContextMenu):
- (QWebPagePrivate::inspectorHandle):
- (QWebPagePrivate::setInspectorFrontend):
- (QWebPagePrivate::setInspectorWindowTitle):
- (QWebPagePrivate::createWebInspector):
- (iterateContextMenu):
- (QWebPagePrivate::menuActionsAsText):
- (QWebPagePrivate::emitViewportChangeRequested):
- (QWebPagePrivate::mouseMoveEvent):
- (QWebPagePrivate::mousePressEvent):
- (QWebPagePrivate::mouseDoubleClickEvent):
- (QWebPagePrivate::mouseTripleClickEvent):
- (QWebPagePrivate::mouseReleaseEvent):
- (QWebPagePrivate::handleSoftwareInputPanel):
- (QWebPagePrivate::wheelEvent):
- (QWebPagePrivate::gestureEvent):
- (QWebPage::setView):
- (QWebPage::javaScriptConsoleMessage):
- (QWebPage::javaScriptAlert):
- (QWebPage::javaScriptConfirm):
- (QWebPage::javaScriptPrompt):
- (QWebPage::shouldInterruptJavaScript):
- (QWebPage::setFeaturePermission):
- (QWebPagePrivate::colorSelectionRequested):
- (QWebPagePrivate::createSelectPopup):
- (QWebPagePrivate::viewRectRelativeToWindow):
- (QWebPagePrivate::geolocationPermissionRequested):
- (QWebPagePrivate::geolocationPermissionRequestCancelled):
- (QWebPagePrivate::notificationsPermissionRequested):
- (QWebPagePrivate::notificationsPermissionRequestCancelled):
- (QWebPagePrivate::respondToChangedContents):
- (QWebPagePrivate::respondToChangedSelection):
- (QWebPagePrivate::microFocusChanged):
- (QWebPagePrivate::triggerCopyAction):
- (QWebPagePrivate::triggerActionForKeyEvent):
- (QWebPagePrivate::clearUndoStack):
- (QWebPagePrivate::canUndo):
- (QWebPagePrivate::canRedo):
- (QWebPagePrivate::undo):
- (QWebPagePrivate::redo):
- (QWebPagePrivate::createUndoStep):
- (QWebPagePrivate::editorCommandForKeyEvent):
- (QWebPage::viewportSize):
- (QWebPage::setViewportSize):
- (QWebPage::viewportAttributesForSize):
- (QWebPage::event):
- (QWebPage::extension):
- (QWebPage::handle):
- (QWebPage::chooseFile):
- (QWebPage::setNetworkAccessManager):
- (QWebPage::networkAccessManager):
- * Api/qwebpage.h:
- * Api/qwebpage_p.h:
- (WebCore):
- (QWebPagePrivate):
- * Api/qwebsettings.cpp:
- * Api/qwebsettings.h:
- * Api/qwebview.cpp:
- (QWebViewPrivate::detachCurrentPage):
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::ChromeClientQt):
- (WebCore::ChromeClientQt::setWindowRect):
- (WebCore::ChromeClientQt::focus):
- (WebCore::ChromeClientQt::unfocus):
- (WebCore::ChromeClientQt::createWindow):
- (WebCore::ChromeClientQt::show):
- (WebCore::ChromeClientQt::setToolbarsVisible):
- (WebCore::ChromeClientQt::setStatusbarVisible):
- (WebCore::ChromeClientQt::setMenubarVisible):
- (WebCore::ChromeClientQt::addMessageToConsole):
- (WebCore::ChromeClientQt::closeWindowSoon):
- (WebCore::ChromeClientQt::runJavaScriptAlert):
- (WebCore::ChromeClientQt::runJavaScriptConfirm):
- (WebCore::ChromeClientQt::runJavaScriptPrompt):
- (WebCore::ChromeClientQt::setStatusbarText):
- (WebCore::ChromeClientQt::shouldInterruptJavaScript):
- (WebCore::ChromeClientQt::keyboardUIMode):
- (WebCore::ChromeClientQt::windowResizerRect):
- * WebCoreSupport/ChromeClientQt.h:
- (ChromeClientQt):
- * WebCoreSupport/ContextMenuClientQt.cpp:
- * WebCoreSupport/ContextMenuClientQt.h:
- (ContextMenuClientQt):
- * WebCoreSupport/DefaultFullScreenVideoHandler.cpp: Added.
- (DefaultFullScreenVideoHandler::DefaultFullScreenVideoHandler):
- (DefaultFullScreenVideoHandler::~DefaultFullScreenVideoHandler):
- (DefaultFullScreenVideoHandler::requiresFullScreenForVideoPlayback):
- (DefaultFullScreenVideoHandler::enterFullScreen):
- (DefaultFullScreenVideoHandler::exitFullScreen):
- * WebCoreSupport/DefaultFullScreenVideoHandler.h: Copied from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
- (WebKit):
- (DefaultFullScreenVideoHandler):
- * WebCoreSupport/DragClientQt.cpp:
- (WebCore::DragClientQt::startDrag):
- * WebCoreSupport/DragClientQt.h:
- (WebCore):
- (WebCore::DragClientQt::DragClientQt):
- (DragClientQt):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (toGeolocationClientMock):
- (toDeviceOrientationClientMock):
- (DumpRenderTreeSupportQt::initialize):
- (DumpRenderTreeSupportQt::setDumpRenderTreeModeEnabled):
- (DumpRenderTreeSupportQt::setFrameFlatteningEnabled):
- (DumpRenderTreeSupportQt::webPageSetGroupName):
- (DumpRenderTreeSupportQt::webPageGroupName):
- (DumpRenderTreeSupportQt::webInspectorExecuteScript):
- (DumpRenderTreeSupportQt::webInspectorShow):
- (DumpRenderTreeSupportQt::webInspectorClose):
- (DumpRenderTreeSupportQt::hasDocumentElement):
- (DumpRenderTreeSupportQt::pauseAnimation):
- (DumpRenderTreeSupportQt::pauseTransitionOfProperty):
- (DumpRenderTreeSupportQt::numberOfActiveAnimations):
- (DumpRenderTreeSupportQt::clearFrameName):
- (DumpRenderTreeSupportQt::setCaretBrowsingEnabled):
- (DumpRenderTreeSupportQt::setAuthorAndUserStylesEnabled):
- (DumpRenderTreeSupportQt::setSmartInsertDeleteEnabled):
- (DumpRenderTreeSupportQt::setSelectTrailingWhitespaceEnabled):
- (DumpRenderTreeSupportQt::executeCoreCommandByName):
- (DumpRenderTreeSupportQt::isCommandEnabled):
- (DumpRenderTreeSupportQt::findString):
- (DumpRenderTreeSupportQt::selectedRange):
- (DumpRenderTreeSupportQt::firstRectForCharacterRange):
- (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
- (DumpRenderTreeSupportQt::setWindowsBehaviorAsEditingBehavior):
- (DumpRenderTreeSupportQt::viewportAsText):
- (DumpRenderTreeSupportQt::scalePageBy):
- (DumpRenderTreeSupportQt::setMockDeviceOrientation):
- (DumpRenderTreeSupportQt::resetGeolocationMock):
- (DumpRenderTreeSupportQt::setMockGeolocationPermission):
- (DumpRenderTreeSupportQt::setMockGeolocationPosition):
- (DumpRenderTreeSupportQt::setMockGeolocationPositionUnavailableError):
- (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
- (DumpRenderTreeSupportQt::shouldClose):
- (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
- (DumpRenderTreeSupportQt::addUserStyleSheet):
- (DumpRenderTreeSupportQt::removeUserStyleSheets):
- (DumpRenderTreeSupportQt::setDefersLoading):
- (DumpRenderTreeSupportQt::goBack):
- (DumpRenderTreeSupportQt::responseMimeType):
- (DumpRenderTreeSupportQt::clearOpener):
- (DumpRenderTreeSupportQt::setInteractiveFormValidationEnabled):
- (DumpRenderTreeSupportQt::contextMenu):
- (DumpRenderTreeSupportQt::setMinimumTimerInterval):
- (DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows):
- (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
- (DumpRenderTreeSupportQt::setAlternateHtml):
- (DumpRenderTreeSupportQt::confirmComposition):
- (DumpRenderTreeSupportQt::injectInternalsObject):
- (DumpRenderTreeSupportQt::resetInternalsObject):
- (DumpRenderTreeSupportQt::paintPagesWithBoundaries):
- (DumpRenderTreeSupportQt::setTrackRepaintRects):
- (DumpRenderTreeSupportQt::trackRepaintRects):
- (DumpRenderTreeSupportQt::getTrackedRepaintRects):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/EditorClientQt.cpp:
- (dumpRange):
- (WebCore::EditorClientQt::shouldShowDeleteInterface):
- (WebCore::EditorClientQt::shouldInsertText):
- (WebCore::EditorClientQt::shouldChangeSelectedRange):
- (WebCore::EditorClientQt::shouldApplyStyle):
- (WebCore::EditorClientQt::respondToChangedContents):
- (WebCore::EditorClientQt::respondToChangedSelection):
- (WebCore::EditorClientQt::registerUndoStep):
- (WebCore::EditorClientQt::clearUndoRedoOperations):
- (WebCore::EditorClientQt::canUndo):
- (WebCore::EditorClientQt::canRedo):
- (WebCore::EditorClientQt::undo):
- (WebCore::EditorClientQt::redo):
- (WebCore::EditorClientQt::shouldInsertNode):
- (WebCore::EditorClientQt::smartInsertDeleteEnabled):
- (WebCore::EditorClientQt::toggleSmartInsertDelete):
- (WebCore::EditorClientQt::isSelectTrailingWhitespaceEnabled):
- (WebCore::EditorClientQt::handleKeyboardEvent):
- (WebCore::EditorClientQt::EditorClientQt):
- (WebCore::EditorClientQt::setInputMethodState):
- * WebCoreSupport/EditorClientQt.h:
- (EditorClientQt):
- (WebCore::EditorClientQt::setSmartInsertDeleteEnabled):
- (WebCore::EditorClientQt::setSelectTrailingWhitespaceEnabled):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (drtDescriptionSuitableForTestResult):
- (WebCore::FrameLoaderClientQt::setFrame):
- (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
- (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
- (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
- (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
- (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
- (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
- (WebCore::FrameLoaderClientQt::dispatchDidLayout):
- (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
- (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
- (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
- (WebCore::FrameLoaderClientQt::frameLoadCompleted):
- (WebCore::FrameLoaderClientQt::restoreViewState):
- (WebCore::FrameLoaderClientQt::userAgent):
- (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
- (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
- (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
- (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
- (WebCore::FrameLoaderClientQt::onIconLoadedForPageURL):
- (WebCore::FrameLoaderClientQt::updateGlobalHistoryRedirectLinks):
- (WebCore::FrameLoaderClientQt::saveViewStateToItem):
- (WebCore::FrameLoaderClientQt::cancelledError):
- (WebCore::FrameLoaderClientQt::blockedError):
- (WebCore::FrameLoaderClientQt::cannotShowURLError):
- (WebCore::FrameLoaderClientQt::interruptedForPolicyChangeError):
- (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
- (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
- (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError):
- (WebCore::FrameLoaderClientQt::download):
- (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
- (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
- (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
- (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
- (WebCore::FrameLoaderClientQt::callErrorPageExtension):
- (WebCore::FrameLoaderClientQt::dispatchCreatePage):
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
- (WebCore::FrameLoaderClientQt::startDownload):
- (WebCore::FrameLoaderClientQt::createFrame):
- (WebCore::FrameLoaderClientQt::createPlugin):
- (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
- (WebCore::FrameLoaderClientQt::chooseFile):
- (WebCore::FrameLoaderClientQt::createNetworkingContext):
- (WebCore):
- (WebCore::FrameLoaderClientQt::webFrame):
- (WebCore::FrameLoaderClientQt::emitLoadStarted):
- (WebCore::FrameLoaderClientQt::emitLoadFinished):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (FrameLoaderClientQt):
- * WebCoreSupport/FrameNetworkingContextQt.cpp:
- (WebCore::FrameNetworkingContextQt::FrameNetworkingContextQt):
- (WebCore::FrameNetworkingContextQt::create):
- (WebCore::FrameNetworkingContextQt::networkAccessManager):
- * WebCoreSupport/FrameNetworkingContextQt.h:
- (FrameNetworkingContextQt):
- * WebCoreSupport/FullScreenVideoQt.cpp:
- (WebCore):
- (WebCore::FullScreenVideoQt::FullScreenVideoQt):
- * WebCoreSupport/FullScreenVideoQt.h:
- (WebCore):
- * WebCoreSupport/FullScreenVideoWidget.cpp:
- * WebCoreSupport/FullScreenVideoWidget.h:
- * WebCoreSupport/GeolocationClientQt.cpp:
- (WebCore::GeolocationClientQt::GeolocationClientQt):
- (WebCore::GeolocationClientQt::positionUpdated):
- (WebCore::GeolocationClientQt::startUpdating):
- (WebCore::GeolocationClientQt::requestPermission):
- (WebCore::GeolocationClientQt::cancelPermissionRequest):
- * WebCoreSupport/GeolocationClientQt.h:
- (GeolocationClientQt):
- * WebCoreSupport/GeolocationPermissionClientQt.cpp:
- (WebCore::GeolocationPermissionClientQt::requestGeolocationPermissionForFrame):
- (WebCore::GeolocationPermissionClientQt::cancelGeolocationPermissionRequestForFrame):
- (WebCore::GeolocationPermissionClientQt::setPermission):
- * WebCoreSupport/GeolocationPermissionClientQt.h:
- (GeolocationPermissionClientQt):
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebKit):
- (WebKit::setWebKitWidgetsInitCallback):
- (WebKit::initializeWebKitQt):
- (WebKit::setImagePlatformResource):
- (WebCore::initializeWebCoreQt):
- * WebCoreSupport/InitWebCoreQt.h:
- (WebCore):
- (WebKit):
- * WebCoreSupport/InitWebKitQt.cpp: Added.
- (WebKit):
- (WebKit::initializeWebKitWidgets):
- * WebCoreSupport/InitWebKitQt.h: Copied from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
- (WebKit):
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore):
- (WebCore::InspectorClientQt::InspectorClientQt):
- (WebCore::InspectorClientQt::openInspectorFrontend):
- (WebCore::InspectorClientQt::attachAndReplaceRemoteFrontend):
- (WebCore::InspectorClientQt::detachRemoteFrontend):
- (WebCore::InspectorClientQt::hideHighlight):
- (WebCore::InspectorClientQt::sendMessageToFrontend):
- (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt):
- (WebCore::InspectorFrontendClientQt::updateWindowTitle):
- (WebCore::InspectorFrontendClientQt::destroyInspectorView):
- * WebCoreSupport/InspectorClientQt.h:
- (InspectorClientQt):
- (InspectorFrontendClientQt):
- * WebCoreSupport/InspectorClientWebPage.cpp: Added.
- (InspectorClientWebPage::InspectorClientWebPage):
- (InspectorClientWebPage::createWindow):
- (InspectorClientWebPage::javaScriptWindowObjectCleared):
- * WebCoreSupport/InspectorClientWebPage.h: Copied from Source/WebKit/qt/WebCoreSupport/WebSystemInterface.h.
- (WebKit):
- (InspectorClientWebPage):
- * WebCoreSupport/InspectorServerQt.cpp:
- (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
- (WebCore::InspectorServerRequestHandlerQt::webSocketReadyRead):
- * WebCoreSupport/InspectorServerQt.h:
- (InspectorServerQt):
- (InspectorServerRequestHandlerQt):
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationWrapper::NotificationWrapper):
- (WebCore::NotificationPresenterClientQt::displayNotification):
- (WebCore::NotificationPresenterClientQt::requestPermission):
- (WebCore::NotificationPresenterClientQt::cancelRequestsForPermission):
- (WebCore::NotificationPresenterClientQt::dumpShowText):
- (WebCore::NotificationPresenterClientQt::toPage):
- (WebCore::NotificationPresenterClientQt::toFrame):
- * WebCoreSupport/NotificationPresenterClientQt.h:
- (WebCore::NotificationWrapper::~NotificationWrapper):
- (NotificationWrapper):
- (NotificationPresenterClientQt):
- (WebCore::NotificationPresenterClientQt::hasSystemTrayIcon):
- (WebCore::NotificationPresenterClientQt::setSystemTrayIcon):
- (CallbacksInfo):
- (WebCore):
- * WebCoreSupport/PageClientQt.cpp:
- (createPlatformGraphicsContext3DFromWidget):
- (QWebPageClient::ownerWindow):
- (WebCore::PageClientQWidget::ownerWidget):
- (WebCore::PageClientQWidget::createPlatformGraphicsContext3D):
- (WebCore::PageClientQGraphicsWidget::ownerWidget):
- (WebCore::PageClientQGraphicsWidget::createPlatformGraphicsContext3D):
- * WebCoreSupport/PageClientQt.h:
- (PageClientQWidget):
- (WebCore::QGraphicsItemOverlay::QGraphicsItemOverlay):
- (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
- (PageClientQGraphicsWidget):
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::getPluginInfo):
- * WebCoreSupport/PopupMenuQt.cpp:
- (SelectData::SelectData):
- * WebCoreSupport/QGraphicsWidgetPluginImpl.cpp: Added.
- (QGraphicsWidgetPluginImpl::~QGraphicsWidgetPluginImpl):
- (QGraphicsWidgetPluginImpl::update):
- (QGraphicsWidgetPluginImpl::setGeometryAndClip):
- (QGraphicsWidgetPluginImpl::setVisible):
- (QGraphicsWidgetPluginImpl::setWidgetParent):
- (QGraphicsWidgetPluginImpl::handle):
- * WebCoreSupport/QGraphicsWidgetPluginImpl.h: Added.
- (QGraphicsWidgetPluginImpl):
- (QGraphicsWidgetPluginImpl::QGraphicsWidgetPluginImpl):
- * WebCoreSupport/QWebFrameAdapter.cpp: Added.
- (cacheLoadControlToCachePolicy):
- (QWebFrameData::QWebFrameData):
- (QWebFrameAdapter::QWebFrameAdapter):
- (QWebFrameAdapter::~QWebFrameAdapter):
- (QWebFrameAdapter::load):
- (QWebFrameAdapter::handleGestureEvent):
- (QWebFrameAdapter::scrollPosition):
- (QWebFrameAdapter::frameRect):
- (QWebFrameAdapter::init):
- (QWebFrameAdapter::kit):
- (QWebFrameAdapter::ensureAbsoluteUrl):
- * WebCoreSupport/QWebFrameAdapter.h: Added.
- (WebCore):
- (QWebFrameData):
- (QWebFrameAdapter):
- (QWebFrameAdapter::hasView):
- * WebCoreSupport/QWebPageAdapter.cpp: Added.
- (QWebPageAdapter::QWebPageAdapter):
- (QWebPageAdapter::~QWebPageAdapter):
- (QWebPageAdapter::init):
- (QWebPageAdapter::deletePage):
- (QWebPageAdapter::kit):
- (QWebPageAdapter::viewportArguments):
- (QWebPageAdapter::registerUndoStep):
- (QWebPageAdapter::setNetworkAccessManager):
- (QWebPageAdapter::networkAccessManager):
- * WebCoreSupport/QWebPageAdapter.h: Added.
- (WebCore):
- (QWebPageAdapter):
- (ErrorPageOption):
- (ErrorPageReturn):
- * WebCoreSupport/QWebUndoCommand.cpp: Copied from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
- (QWebUndoCommand::QWebUndoCommand):
- (QWebUndoCommand::undo):
- (QWebUndoCommand::redo):
- * WebCoreSupport/QWebUndoCommand.h: Copied from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
- (QWebUndoCommand):
- * WebCoreSupport/QWidgetPluginImpl.cpp: Added.
- (QWidgetPluginImpl::~QWidgetPluginImpl):
- (QWidgetPluginImpl::update):
- (QWidgetPluginImpl::setGeometryAndClip):
- (QWidgetPluginImpl::setVisible):
- (QWidgetPluginImpl::setStyleSheet):
- (QWidgetPluginImpl::setWidgetParent):
- (QWidgetPluginImpl::handle):
- * WebCoreSupport/QWidgetPluginImpl.h: Copied from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
- (QWidgetPluginImpl):
- (QWidgetPluginImpl::QWidgetPluginImpl):
- * WebCoreSupport/QtFallbackWebPopup.cpp:
- (WebCore::QtFallbackWebPopup::QtFallbackWebPopup):
- (WebCore::QtFallbackWebPopup::show):
- (WebCore::QtFallbackWebPopup::pageClient):
- * WebCoreSupport/QtFallbackWebPopup.h:
- (QtFallbackWebPopup):
- * WebCoreSupport/QtPluginWidgetAdapter.h: Copied from Source/WebKit/qt/WebCoreSupport/QtWebComboBox.h.
- (QtPluginWidgetAdapter):
- * WebCoreSupport/QtWebComboBox.cpp:
- (WebCore::QtWebComboBox::showPopupAtCursorPosition):
- * WebCoreSupport/QtWebComboBox.h:
- * WebCoreSupport/SearchPopupMenuQt.h:
- (SearchPopupMenuQt):
- * WebCoreSupport/UndoStepQt.cpp:
- (UndoStepQt::UndoStepQt):
- (UndoStepQt::text):
- * WebCoreSupport/UndoStepQt.h:
- (UndoStepQt):
- * WebCoreSupport/WebEventConversion.cpp:
- (WebCore::mouseEventTypeAndMouseButtonFromQEvent):
- (WebKitPlatformWheelEvent):
- (WebCore::WebKitPlatformWheelEvent::applyDelta):
- (WebCore::WebKitPlatformWheelEvent::WebKitPlatformWheelEvent):
- (WebKitPlatformGestureEvent):
- (WebCore::toPlatformEventType):
- (WebCore::WebKitPlatformGestureEvent::WebKitPlatformGestureEvent):
- (WebCore):
- (WebCore::convertWheelEvent):
- (WebCore::convertGesture):
- * WebCoreSupport/WebEventConversion.h:
- (QGestureEventFacade):
- (WebCore):
- * WebCoreSupport/WebSystemInterface.h:
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::loadHtml5Video):
- (tst_QWebPage::multiplePageGroupsAndLocalStorage):
- (tst_QWebPage::thirdPartyCookiePolicy):
- 2012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
- Position in QWebHitTestResult does not match documentation
- https://bugs.webkit.org/show_bug.cgi?id=102909
- Reviewed by Simon Hausmann.
- Correct documentation and simplify using the new innerNodeFrame method.
- * Api/qwebframe.cpp:
- (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
- 2012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
- Disambiguate innerNodeFramePoint and mainFramePoint
- https://bugs.webkit.org/show_bug.cgi?id=98139
- Reviewed by Julien Chaffraix.
- * Api/qwebframe.cpp:
- (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
- * Api/qwebpage.cpp:
- (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
- 2012-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r135295.
- http://trac.webkit.org/changeset/135295
- https://bugs.webkit.org/show_bug.cgi?id=102834
- This patch causes assertion to some layout tests on chromium
- (Requested by jianli on #webkit).
- * Api/qwebframe.cpp:
- (QWebFrame::QWebFrame):
- (QWebFrame::load):
- (QWebFrame::setHtml):
- (QWebFrame::setContent):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setAlternateHtml):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::callErrorPageExtension):
- 2012-11-20 James Simonsen <simonjam@chromium.org>
- Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
- https://bugs.webkit.org/show_bug.cgi?id=102151
- Reviewed by Adam Barth.
- * Api/qwebframe.cpp:
- (QWebFrame::QWebFrame):
- (QWebFrame::load):
- (QWebFrame::setHtml):
- (QWebFrame::setContent):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setAlternateHtml):
- (qt_dump_set_accepts_editing):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::callErrorPageExtension):
- 2012-11-18 Laszlo Gombos <l.gombos@samsung.com>
- [Qt] Remove remaining traces of symbian
- https://bugs.webkit.org/show_bug.cgi?id=102634
- Reviewed by Kenneth Rohde Christiansen.
- Remove symbian related part from the API documentation.
- * Api/qgraphicswebview.cpp:
- * Api/qwebview.cpp:
- 2012-11-16 Kihong Kwon <kihong.kwon@samsung.com>
- Add DeviceController base-class to remove duplication of DeviceXXXControler
- https://bugs.webkit.org/show_bug.cgi?id=96894
- Reviewed by Hajime Morita.
- Change client() to deviceOrientationClient() to get DeviceOrientationClient*.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setMockDeviceOrientation):
- 2012-11-14 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] Fix tst_QWebFrame::setUrlWithPendingLoads() API test
- https://bugs.webkit.org/show_bug.cgi?id=63237
- Reviewed by Jocelyn Turcotte.
- Uncomment this API test, because it works fine now.
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame):
- (tst_QWebFrame::setUrlWithPendingLoads):
- 2012-11-14 Andras Becsi <andras.becsi@digia.com>
- [Qt] QStyleFacadeImp should use a QPointer to store the application style
- https://bugs.webkit.org/show_bug.cgi?id=102084
- Reviewed by Simon Hausmann.
- QStyleFacadeImp implicitly creates a default style during the first
- call to QApplication::style() in QStyleFacadeImp::style() but this
- style is deleted when a custom style is set, thus the stored m_style
- raw pointer in QStyleFacadeImp becomes dangling.
- Use a QPointer to cache the style instead of a raw pointer.
- This fixes the start-up crash in the anomaly example.
- (https://bugreports.qt-project.org/browse/QTBUG-27924)
- * WebCoreSupport/QStyleFacadeImp.h:
- (QStyleFacadeImp):
- 2012-11-13 Andreas Kling <kling@webkit.org>
- Move inline style logic from ElementAttributeData to StyledElement.
- <http://webkit.org/b/102120>
- Reviewed by Antti Koivisto.
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Fix tst_QWebPage::findText
- Reviewed by Simon Hausmann.
- Details of the failure:
- FAIL! : tst_QWebPage::findText() Compared values are not the same
- Actual (m_page->selectedHtml().trimmed().replace(regExp, "")): <span>foo</span>
- Expected (subString): foo
- Loc: [/home/joce/dev/webkit/Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp(2964)]
- The format returned by selectedHtml changed.
- Make the test a bit more robust by just checking that the HTML
- contains our search value.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::findText):
- 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Fix tst_QWebPage::testLocalStorageVisibility
- Reviewed by Simon Hausmann.
- window.localStorage is expected to work for file URLs.
- I'm not sure why it did work when this test was written,
- but I believe that it had the wrong expected value.
- * tests/qwebpage/tst_qwebpage.cpp:
- 2012-11-08 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Fix tst_QObjectBridge::callQtInvokable
- Reviewed by Simon Hausmann.
- Q_DECLARE_METATYPE now calls qRegisterMetaType so just prevent
- the value from being wrapped by QVariant since this code shouldn't
- be reached anyway.
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (MyQObject::myInvokableWithBrushStyleArg):
- 2012-11-08 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Fix tst_QWebPage::inputMethods
- Reviewed by Simon Hausmann.
- Details of the failure:
- FAIL! : tst_QWebPage::inputMethods(QWebView) Compared values are not the same
- Actual (page->settings()->fontFamily(QWebSettings::SerifFont)): FooSerifFont
- Expected (font.family()): Helvetica
- Loc: [Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp(1691)]
- The issue was that WebCore wouldn't find FooSerifFont and would have
- RenderStyle::font() return the fallback font it used instead.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::inputMethods):
- 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Fix tst_QWebPage::showModalDialog() API test
- https://bugs.webkit.org/show_bug.cgi?id=63244
- Reviewed by Simon Hausmann.
- * tests/qwebpage/tst_qwebpage.cpp:
- 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] tst_QWebElement::style() fails because QWebElement::InlineStyle now works as expected
- https://bugs.webkit.org/show_bug.cgi?id=60372
- Reviewed by Simon Hausmann.
- Update the expected value to follow this comment in StylePropertySet::addParsedProperty:
- "Only add properties that have no !important counterpart present"
- * tests/qwebelement/tst_qwebelement.cpp:
- (tst_QWebElement::style):
- 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] tst_QWebElement::style() fails because QWebElement::CascadedStyle doesn't work as expected
- https://bugs.webkit.org/show_bug.cgi?id=65244
- Reviewed by Kenneth Rohde Christiansen.
- StyleResolver::styleRulesForElement now takes flags as parameter instead of a bool to specify
- that we want to exclude UI and user style sheets.
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- * tests/qwebelement/tst_qwebelement.cpp:
- (tst_QWebElement::style):
- 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Appending "!important" to the property value of QWebElement::setStyleProperty isn't working
- https://bugs.webkit.org/show_bug.cgi?id=101763
- Reviewed by Kenneth Rohde Christiansen.
- In the pastWebCore have been considering the important token of a CSS
- property value if it was followed by !important as well as the
- important parameter of setInlineStyleProperty, but not anymore.
- Since we need to keep the behavior compatible, do the parsing of the
- value and extract the token if present. Ideally this would be passed
- as a parameter to the function but I think it's not worth deprecating
- the old mechanism.
- The parsing is pretty dumb, so this will break applications that
- passed a value with spaces between the "!" and "important".
- This fixes part of tst_QWebElement::style
- * Api/qwebelement.cpp:
- (QWebElement::setStyleProperty):
- 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Fix URL issues in tst_qwebframe
- https://bugs.webkit.org/show_bug.cgi?id=101741
- Reviewed by Simon Hausmann.
- * tests/qwebframe/tst_qwebframe.cpp:
- (FakeReply::FakeReply):
- Properly forward the request URL to our custom reply.
- This would cause redirections not to occur. The requestedUrl and setUrlSameUrl tests
- would fail because of this.
- (tst_QWebFrame::setUrlToInvalid):
- - http:/example.com is a valid URL, but not a valid HTTP URL, so remove this check.
- - QCOMPARE uses testlib's toString on the QUrls to compare them and it now
- also output the error description. Since we want to compare the resulting
- URL instead, compare their toEncoded() value.
- 2012-11-08 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Fix a crash in tst_QWebInspector::attachAndDestroy
- https://bugs.webkit.org/show_bug.cgi?id=101575
- Reviewed by Simon Hausmann.
- It can now happen that destroyInspectorView is called when the Page
- is destroyed. This would call getOrCreateInspector and re-create a
- QWebInspector.
- Since the new instance is created after our setInspector(0) cleanup
- in ~QWebPagePrivate, this runs into the same crash that this line was
- protecting us against.
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorFrontendClientQt::destroyInspectorView):
- 2012-11-08 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Fix tst_QWebPage::inputMethods on Qt5
- https://bugs.webkit.org/show_bug.cgi?id=101571
- Reviewed by Simon Hausmann.
- QEvent::RequestSoftwareInputPanel isn't passed through event filters anymore.
- Use QInputMethodPrivate::testContext instead to capture input method events,
- the same way as qtbase tests like tst_QTextEdit are doing.
- * tests/qwebpage/tst_qwebpage.cpp:
- (TestInputContext::TestInputContext):
- (TestInputContext::~TestInputContext):
- (TestInputContext):
- (TestInputContext::showInputPanel):
- (TestInputContext::hideInputPanel):
- (TestInputContext::isInputPanelVisible):
- (tst_QWebPage::inputMethods):
- 2012-11-09 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Unmark now passing tests
- https://bugs.webkit.org/show_bug.cgi?id=65531
- Reviewed by Csaba Osztrogonác.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::viewModes):
- 2012-11-07 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] API test tst_qwebinspector crashes
- https://bugs.webkit.org/show_bug.cgi?id=101599
- Reviewed by Simon Hausmann.
- Delete the internal inspector from QWebPage destructor, instead of causing recursions
- between QWebPagePrivate::setInspector and QWebInspector::setPage.
- Also separate the three tests in tst_QWebInspector to better tell which one is failing.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::~QWebPagePrivate):
- (QWebPagePrivate::setInspector):
- * tests/qwebinspector/tst_qwebinspector.cpp:
- (tst_QWebInspector):
- (tst_QWebInspector::attachAndDestroyPageFirst):
- (tst_QWebInspector::attachAndDestroyInspectorFirst):
- (tst_QWebInspector::attachAndDestroyInternalInspector):
- 2012-11-08 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Open link in this window action
- https://bugs.webkit.org/show_bug.cgi?id=101226
- Reviewed by Csaba Osztrogonác.
- * Api/qwebpage.cpp: Fix after r133763, move the initialization of OpenLinkInThisWindow to the proper place.
- 2012-11-07 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Open link in this window action
- https://bugs.webkit.org/show_bug.cgi?id=101226
- Reviewed by Simon Hausmann.
- Adds the action to QtWebKit.
- * Api/qwebpage.cpp:
- (webActionForContextMenuAction):
- (QWebPage::triggerAction):
- (QWebPage::action):
- * Api/qwebpage.h:
- 2012-11-01 Stephen White <senorblanco@chromium.org>
- Unreviewed, rolling out r133143.
- http://trac.webkit.org/changeset/133143
- https://bugs.webkit.org/show_bug.cgi?id=96894
- Causing content_browsertests failures
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setMockDeviceOrientation):
- 2012-11-01 Kihong Kwon <kihong.kwon@samsung.com>
- Add DeviceController base-class to remove duplication of DeviceXXXControler
- https://bugs.webkit.org/show_bug.cgi?id=96894
- Reviewed by Hajime Morita.
- Change client() to deviceOrientationClient() to get DeviceOrientationClient*.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setMockDeviceOrientation):
- 2012-10-31 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r133016.
- http://trac.webkit.org/changeset/133016
- https://bugs.webkit.org/show_bug.cgi?id=100856
- broke compile-webkit on several bots (Requested by podivilov
- on #webkit).
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setMockDeviceOrientation):
- 2012-10-31 Kihong Kwon <kihong.kwon@samsung.com>
- Add DeviceController base-class to remove duplication of DeviceXXXControler
- https://bugs.webkit.org/show_bug.cgi?id=96894
- Reviewed by Hajime Morita.
- Change client() to deviceOrientationClient() to get DeviceOrientationClient*.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setMockDeviceOrientation):
- 2012-10-30 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
- [QT][DRT] Remove unneeded testRunner.setMediaType() implementation
- https://bugs.webkit.org/show_bug.cgi?id=100740
- Reviewed by Kenneth Rohde Christiansen.
- Removed unneeded testRunner.setMediaType() implementation, as tests use
- cross-platform window.internals.settings.setMediaTypeOverride instead.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-10-24 Brady Eidson <beidson@apple.com>
- Add a strategy for loader customization.
- https://bugs.webkit.org/show_bug.cgi?id=100278
- Reviewed by Alexey Proskuryakov.
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::createLoaderStrategy):
- * WebCoreSupport/PlatformStrategiesQt.h:
- (PlatformStrategiesQt):
- 2012-10-23 Alexey Proskuryakov <ap@apple.com>
- Add a strategy for shared workers
- https://bugs.webkit.org/show_bug.cgi?id=100165
- Reviewed by Brady Eidson.
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::createPasteboardStrategy):
- (PlatformStrategiesQt::createSharedWorkerStrategy):
- (PlatformStrategiesQt::createVisitedLinkStrategy):
- * WebCoreSupport/PlatformStrategiesQt.h:
- 2012-10-24 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Expose useful WebCore::Settings
- https://bugs.webkit.org/show_bug.cgi?id=100239
- Reviewed by Kenneth Rohde Christiansen.
- Expose the two settings CaretBrowsingEnabled and NotificationsEnabled.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- (QWebSettings::QWebSettings):
- * Api/qwebsettings.h:
- 2012-10-23 Andras Becsi <andras.becsi@digia.com>
- Remove devicePixelRatio from ViewportAttributes
- https://bugs.webkit.org/show_bug.cgi?id=99845
- Reviewed by Adam Barth.
- Pass the device pixel ratio as a function argument to
- match the new API.
- * Api/qwebpage.cpp:
- (QWebPage::viewportAttributesForSize):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::viewportAsText):
- 2012-10-23 Simon Hausmann <simon.hausmann@digia.com>
- Unreviewed build fix with newer Qt 5.
- QPlastiqueStyle has been removed, but as pointed out by Jens it's also not
- maintained anymore and hence safe to remove. We can do tweaks with the new
- fusion style if required.
- * WebCoreSupport/QStyleFacadeImp.cpp:
- (WebKit::QStyleFacadeImp::paintInnerSpinButton):
- 2012-10-22 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Fix build without QtWidgets
- https://bugs.webkit.org/show_bug.cgi?id=99981
- Reviewed by Tor Arne Vestbø.
- Remove dependency to QtWidgets that is not needed here anymore since
- the removal of the QtQuick1 code.
- * declarative/experimental/experimental.pri:
- * declarative/public.pri:
- 2012-10-22 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
- [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
- https://bugs.webkit.org/show_bug.cgi?id=98514
- Reviewed by Kenneth Rohde Christiansen.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): Use FrameView::fixedVisibleContentRect
- instead of FrameView::visibleContentRect as the source to always keep the correct state.
- 2012-10-22 Allan Sandfeld Jensen <allan.jensen@digia.com>
- [Qt] Basic gesture event handling
- https://bugs.webkit.org/show_bug.cgi?id=66173
- Reviewed by Simon Hausmann.
- Implement basic handling of QGestureEvent converting and forwarding
- Tap and TapAndHold gestures to WebCore.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::gestureEvent):
- (QWebPage::event):
- * Api/qwebpage_p.h:
- (QWebPagePrivate):
- * WebCoreSupport/WebEventConversion.cpp:
- (WebKitPlatformGestureEvent):
- (WebCore::WebKitPlatformGestureEvent::WebKitPlatformGestureEvent):
- (WebCore::convertGesture):
- * WebCoreSupport/WebEventConversion.h:
- 2012-10-17 Tor Arne Vestbø <tor.arne.vestbo@digia.com>
- [Qt] Modularize documentation for QtWebKit
- Running 'make docs' would fail unless 'make qmake_all' was ran first,
- but qmake_all involved generating all the derived sources, which seems
- overly complex just for building documentation.
- We solve this by preventing all subdirs except QtWebKit from having a
- docs target. This would normally work fine on its own, but since we
- use CONFIG += ordered, there's now a missing doc target for the
- immediate dependency of the QtWebKit subdir. We solve this by adding
- a dummy-target ourselves.
- Finally, we clean up the qdocconf file to match the rest of the Qt
- documentation modularization efforts.
- Reviewed by Simon Hausmann.
- * docs/docs.pri: Removed.
- * docs/qtwebkit.qdocconf: Removed.
- 2012-10-15 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Separate Qt WebKit into Qt WebKit and Qt WebKit Widgets
- https://bugs.webkit.org/show_bug.cgi?id=88162
- Reviewed by Kenneth Rohde Christiansen.
- Rename the QtWebKit module to QtWebKitWidgets.
- * declarative/experimental/experimental.pri:
- * declarative/public.pri:
- * docs/webkitsnippets/simple/simple.pro:
- * docs/webkitsnippets/webpage/webpage.pro:
- * tests/tests.pri:
- 2012-10-10 Jon Lee <jonlee@apple.com>
- [WK2] Activate plugins when user clicks on snapshot
- https://bugs.webkit.org/show_bug.cgi?id=98328
- <rdar://problem/12426681>
- Reviewed by Brady Eidson.
- * WebCoreSupport/FrameLoaderClientQt.h:
- (WebCore::FrameLoaderClientQt::recreatePlugin): Stub implementation of recreatePlugin().
- 2012-10-10 Balazs Kelemen <kbalazs@webkit.org>
- [Qt] Test drivers should handle repaint rects
- https://bugs.webkit.org/show_bug.cgi?id=68870
- Reviewed by Zoltan Herczeg.
- Added helpers to enable and get the repaint rects.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setTrackRepaintRects):
- (DumpRenderTreeSupportQt::trackRepaintRects):
- (DumpRenderTreeSupportQt::getTrackedRepaintRects):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-10-08 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Make RenderThemeQStyle/ScrollbarThemeQStyle compile without QStyle/QtWidgets
- https://bugs.webkit.org/show_bug.cgi?id=98268
- Reviewed by Tor Arne Vestbø.
- Extracted QStyle/QWidget related code into a QWebStyle class that implements the QStyleFacade interface.
- QStyleFacade is a pure interface that lives in WebCore/platform/qt
- (next to RenderThemeQStyle and ScrollbarThemeQStyle) and provides a
- minimal interface of what we need to draw with QStyle as well as basic
- hit testing and metric retrieval. It also provides a
- QStyleFacadeOption class that aggregates common meta-data for
- rendering primitives, such as direction, rectangle, state (sunken,
- enabled, etc.) or palette. It also provides some more slider/scrollbar
- specific fields in a slider sub-structure.
- RenderThemeQStyle/ScrollbarThemeQStyle used to instantiate specific QStyleOption sub-classes and populate
- them with state information from render objects, before calling straight to QStyle. Most of the common code
- was encapsulated in StylePainterQStyle.
- The new RenderThemeQStyle/ScrolllbarThemeQStyle uses common code in
- StylePainterQStyle to populate state into QStyleFacadeOption before
- calling into QStyleFacade.
- The style facade is then implemented by QStyleFacadeImp, which extracts
- meta-data from QStyleFacadeOption arguments, populates style
- primitive specific QStyleOption objects and then calls on QStyle.
- RenderThemeQStyle/ScrollbarThemeQStyle can only use interface methods
- from QStyleFacade. QStyleFacadeImp on the other hand will live in the
- separate QtWebKitWidgets library in the future and therefore cannot use
- any WebCore types.
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebCore::initializeWebCoreQt):
- * WebCoreSupport/QStyleFacadeImp.cpp: Added.
- (WebKit):
- (WebKit::convertToQStyleState):
- (WebKit::convertToQStyleSubControl):
- (WebKit::initGenericStyleOption):
- (WebKit::initSpecificStyleOption):
- (MappedStyleOption):
- (WebKit::MappedStyleOption::MappedStyleOption):
- (WebKit::convertPixelMetric):
- (WebKit::convertToQStyleFacadeSubControl):
- (WebKit::QStyleFacadeImp::QStyleFacadeImp):
- (WebKit::QStyleFacadeImp::~QStyleFacadeImp):
- (WebKit::QStyleFacadeImp::buttonSubElementRect):
- (WebKit::QStyleFacadeImp::findFrameLineWidth):
- (WebKit::QStyleFacadeImp::simplePixelMetric):
- (WebKit::QStyleFacadeImp::buttonMargin):
- (WebKit::QStyleFacadeImp::sliderLength):
- (WebKit::QStyleFacadeImp::sliderThickness):
- (WebKit::QStyleFacadeImp::progressBarChunkWidth):
- (WebKit::QStyleFacadeImp::getButtonMetrics):
- (WebKit::QStyleFacadeImp::sizeFromContents):
- (WebKit::QStyleFacadeImp::paintButton):
- (WebKit::QStyleFacadeImp::paintTextField):
- (WebKit::QStyleFacadeImp::paintComboBox):
- (WebKit::QStyleFacadeImp::paintComboBoxArrow):
- (WebKit::QStyleFacadeImp::paintSliderTrack):
- (WebKit::QStyleFacadeImp::paintSliderThumb):
- (WebKit::QStyleFacadeImp::paintInnerSpinButton):
- (WebKit::QStyleFacadeImp::paintProgressBar):
- (WebKit::QStyleFacadeImp::scrollBarExtent):
- (WebKit::QStyleFacadeImp::scrollBarMiddleClickAbsolutePositionStyleHint):
- (WebKit::QStyleFacadeImp::paintScrollCorner):
- (WebKit::QStyleFacadeImp::hitTestScrollBar):
- (WebKit::QStyleFacadeImp::scrollBarSubControlRect):
- (WebKit::QStyleFacadeImp::paintScrollBar):
- (WebKit::QStyleFacadeImp::widgetForPainter):
- (WebKit::QStyleFacadeImp::style):
- * WebCoreSupport/QStyleFacadeImp.h: Added.
- (WebCore):
- (WebKit):
- (QStyleFacadeImp):
- (WebKit::QStyleFacadeImp::create):
- (WebKit::QStyleFacadeImp::isValid):
- 2012-10-08 Zoltan Horvath <zoltan@webkit.org>
- [Qt] r122720 causes performance regression with DirectFB on ARMv7
- https://bugs.webkit.org/show_bug.cgi?id=97548
- Reviewed by Jocelyn Turcotte.
- Revert the rest of r122720. This change modifies the NativeImagePtr from QImage* to QPixmap*.
- Covered by existing tests.
- * Api/qwebframe.cpp:
- (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
- * Api/qwebhistory.cpp:
- (QWebHistoryItem::icon):
- * Api/qwebsettings.cpp:
- (QWebSettings::iconForUrl):
- (QWebSettings::setWebGraphic):
- (QWebSettings::webGraphic):
- * WebCoreSupport/DragClientQt.cpp:
- (WebCore::DragClientQt::startDrag):
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebCore::initializeWebCoreQt):
- 2012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Rename first/second to key/value in HashMap iterators
- https://bugs.webkit.org/show_bug.cgi?id=82784
- Reviewed by Eric Seidel.
- * Api/qwebpage.cpp:
- (extractContentTypeFromPluginVector):
- * Api/qwebplugindatabase.cpp:
- (QWebPluginInfo::mimeTypes):
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::getPluginInfo):
- 2012-10-05 Simon Hausmann <simon.hausmann@digia.com>
- Unreviewed, rolling out r130495.
- http://trac.webkit.org/changeset/130495
- https://bugs.webkit.org/show_bug.cgi?id=98268
- Made WK2 tests crash.
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebCore::initializeWebCoreQt):
- * WebCoreSupport/QStyleFacadeImp.cpp: Removed.
- * WebCoreSupport/QStyleFacadeImp.h: Removed.
- * WebCoreSupport/RenderThemeQStyle.cpp: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.cpp.
- (WebCore):
- (WebCore::initStyleOption):
- (WebCore::RenderThemeQStyle::getStylePainter):
- (WebCore::StylePainterQStyle::StylePainterQStyle):
- (WebCore::StylePainterQStyle::init):
- (WebCore::RenderThemeQStyle::create):
- (WebCore::RenderThemeQStyle::RenderThemeQStyle):
- (WebCore::RenderThemeQStyle::~RenderThemeQStyle):
- (WebCore::RenderThemeQStyle::fallbackStyle):
- (WebCore::RenderThemeQStyle::setPaletteFromPageClientIfExists):
- (WebCore::RenderThemeQStyle::qStyle):
- (WebCore::RenderThemeQStyle::findFrameLineWidth):
- (WebCore::RenderThemeQStyle::inflateButtonRect):
- (WebCore::RenderThemeQStyle::computeSizeBasedOnStyle):
- (WebCore::RenderThemeQStyle::adjustButtonStyle):
- (WebCore::RenderThemeQStyle::setButtonPadding):
- (WebCore::RenderThemeQStyle::paintButton):
- (WebCore::RenderThemeQStyle::paintTextField):
- (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
- (WebCore::RenderThemeQStyle::paintTextArea):
- (WebCore::RenderThemeQStyle::setPopupPadding):
- (WebCore::RenderThemeQStyle::colorPalette):
- (WebCore::RenderThemeQStyle::paintMenuList):
- (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
- (WebCore::RenderThemeQStyle::paintMenuListButton):
- (WebCore::RenderThemeQStyle::animationDurationForProgressBar):
- (WebCore::RenderThemeQStyle::paintProgressBar):
- (WebCore::RenderThemeQStyle::paintSliderTrack):
- (WebCore::RenderThemeQStyle::adjustSliderTrackStyle):
- (WebCore::RenderThemeQStyle::paintSliderThumb):
- (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
- (WebCore::RenderThemeQStyle::paintSearchField):
- (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
- (WebCore::RenderThemeQStyle::paintSearchFieldDecoration):
- (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
- (WebCore::RenderThemeQStyle::paintSearchFieldResultsDecoration):
- (WebCore::RenderThemeQStyle::paintInnerSpinButton):
- (WebCore::RenderThemeQStyle::initializeCommonQStyleOptions):
- (WebCore::RenderThemeQStyle::adjustSliderThumbSize):
- * WebCoreSupport/RenderThemeQStyle.h: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.h.
- (WebCore):
- (RenderThemeQStyle):
- (StylePainterQStyle):
- (WebCore::StylePainterQStyle::isValid):
- (WebCore::StylePainterQStyle::drawPrimitive):
- (WebCore::StylePainterQStyle::drawControl):
- (WebCore::StylePainterQStyle::drawComplexControl):
- * WebCoreSupport/ScrollbarThemeQStyle.cpp: Renamed from Source/WebCore/platform/qt/ScrollbarThemeQStyle.cpp.
- (WebCore):
- (WebCore::ScrollbarThemeQStyle::~ScrollbarThemeQStyle):
- (WebCore::scPart):
- (WebCore::scrollbarPart):
- (WebCore::styleOptionSlider):
- (WebCore::ScrollbarThemeQStyle::paint):
- (WebCore::ScrollbarThemeQStyle::hitTest):
- (WebCore::ScrollbarThemeQStyle::shouldCenterOnThumb):
- (WebCore::ScrollbarThemeQStyle::invalidatePart):
- (WebCore::ScrollbarThemeQStyle::scrollbarThickness):
- (WebCore::ScrollbarThemeQStyle::thumbPosition):
- (WebCore::ScrollbarThemeQStyle::thumbLength):
- (WebCore::ScrollbarThemeQStyle::trackPosition):
- (WebCore::ScrollbarThemeQStyle::trackLength):
- (WebCore::ScrollbarThemeQStyle::paintScrollCorner):
- (WebCore::ScrollbarThemeQStyle::style):
- * WebCoreSupport/ScrollbarThemeQStyle.h: Renamed from Source/WebCore/platform/qt/ScrollbarThemeQStyle.h.
- (WebCore):
- (ScrollbarThemeQStyle):
- 2012-10-05 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Make RenderThemeQStyle/ScrollbarThemeQStyle compile without QStyle/QtWidgets
- https://bugs.webkit.org/show_bug.cgi?id=98268
- Reviewed by Tor Arne Vestbø.
- Extracted QStyle/QWidget related code into a QWebStyle class that implements the QStyleFacade interface.
- QStyleFacade is a pure interface that lives in WebCore/platform/qt
- (next to RenderThemeQStyle and ScrollbarThemeQStyle) and provides a
- minimal interface of what we need to draw with QStyle as well as basic
- hit testing and metric retrieval. It also provides a
- QStyleFacadeOption class that aggregates common meta-data for
- rendering primitives, such as direction, rectangle, state (sunken,
- enabled, etc.) or palette. It also provides some more slider/scrollbar
- specific fields in a slider sub-structure.
- RenderThemeQStyle/ScrollbarThemeQStyle used to instantiate specific QStyleOption sub-classes and populate
- them with state information from render objects, before calling straight to QStyle. Most of the common code
- was encapsulated in StylePainterQStyle.
- The new RenderThemeQStyle/ScrolllbarThemeQStyle uses common code in
- StylePainterQStyle to populate state into QStyleFacadeOption before
- calling into QStyleFacade.
- The style facade is then implemented by QStyleFacadeImp, which extracts
- meta-data from QStyleFacadeOption arguments, populates style
- primitive specific QStyleOption objects and then calls on QStyle.
- RenderThemeQStyle/ScrollbarThemeQStyle can only use interface methods
- from QStyleFacade. QStyleFacadeImp on the other hand will live in the
- separate QtWebKitWidgets library in the future and therefore cannot use
- any WebCore types.
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebCore::initializeWebCoreQt):
- * WebCoreSupport/QStyleFacadeImp.cpp: Added.
- (WebKit):
- (WebKit::convertToQStyleState):
- (WebKit::convertToQStyleSubControl):
- (WebKit::initGenericStyleOption):
- (WebKit::initSpecificStyleOption):
- (MappedStyleOption):
- (WebKit::MappedStyleOption::MappedStyleOption):
- (WebKit::convertPixelMetric):
- (WebKit::convertToQStyleFacadeSubControl):
- (WebKit::QStyleFacadeImp::QStyleFacadeImp):
- (WebKit::QStyleFacadeImp::~QStyleFacadeImp):
- (WebKit::QStyleFacadeImp::buttonSubElementRect):
- (WebKit::QStyleFacadeImp::findFrameLineWidth):
- (WebKit::QStyleFacadeImp::simplePixelMetric):
- (WebKit::QStyleFacadeImp::buttonMargin):
- (WebKit::QStyleFacadeImp::sliderLength):
- (WebKit::QStyleFacadeImp::sliderThickness):
- (WebKit::QStyleFacadeImp::progressBarChunkWidth):
- (WebKit::QStyleFacadeImp::getButtonMetrics):
- (WebKit::QStyleFacadeImp::sizeFromContents):
- (WebKit::QStyleFacadeImp::paintButton):
- (WebKit::QStyleFacadeImp::paintTextField):
- (WebKit::QStyleFacadeImp::paintComboBox):
- (WebKit::QStyleFacadeImp::paintComboBoxArrow):
- (WebKit::QStyleFacadeImp::paintSliderTrack):
- (WebKit::QStyleFacadeImp::paintSliderThumb):
- (WebKit::QStyleFacadeImp::paintInnerSpinButton):
- (WebKit::QStyleFacadeImp::paintProgressBar):
- (WebKit::QStyleFacadeImp::scrollBarExtent):
- (WebKit::QStyleFacadeImp::scrollBarMiddleClickAbsolutePositionStyleHint):
- (WebKit::QStyleFacadeImp::paintScrollCorner):
- (WebKit::QStyleFacadeImp::hitTestScrollBar):
- (WebKit::QStyleFacadeImp::scrollBarSubControlRect):
- (WebKit::QStyleFacadeImp::paintScrollBar):
- (WebKit::QStyleFacadeImp::widgetForPainter):
- (WebKit::QStyleFacadeImp::style):
- * WebCoreSupport/QStyleFacadeImp.h: Added.
- (WebCore):
- (WebKit):
- (QStyleFacadeImp):
- (WebKit::QStyleFacadeImp::create):
- (WebKit::QStyleFacadeImp::isValid):
- 2012-10-05 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Remove dead code
- https://bugs.webkit.org/show_bug.cgi?id=98491
- Reviewed by Jocelyn Turcotte.
- This code was added long time ago for a Symbian related project and is
- not needed anymore.
- * Api/qwebframe.cpp:
- 2012-10-04 Simon Fraser <simon.fraser@apple.com>
- Final part of "sync" to "flush" renaming
- https://bugs.webkit.org/show_bug.cgi?id=98430
- Reviewed by Tim Horton.
- Change method names on GraphicsLayer and GraphicsLayerClient that
- refer to "sync" to use the term "flush" instead, to be consistent
- with the rest of the code.
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::TextureMapperLayerClientQt::syncRootLayer):
- 2012-10-04 Simon Fraser <simon.fraser@apple.com>
- Standardize on "flush" terminology for compositing layer flushing/syncing
- https://bugs.webkit.org/show_bug.cgi?id=98321
- Reviewed by Simon Fraser.
- Rename compositing-related methods that refer to "syncing" to instead
- refer to "flushing".
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::scheduleCompositingLayerFlush):
- * WebCoreSupport/ChromeClientQt.h:
- (ChromeClientQt):
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQGraphicsWidget::syncLayers):
- 2012-10-03 Balazs Kelemen <kbalazs@webkit.org>
- [Qt] Enable mock scrollbars
- https://bugs.webkit.org/show_bug.cgi?id=98011
- Reviewed by Csaba Osztrogonác.
- Added helper to enable mock scrollbars.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::enableMockScrollbars):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-10-01 Brady Eidson <beidson@apple.com>
- Remove the Safari 2 -> Safari 3 icon database import code.
- https://bugs.webkit.org/show_bug.cgi?id=98113
- Reviewed by Maciej Stachowiak.
- Nuke the performImport() IconDatabaseClient method.
- * WebCoreSupport/IconDatabaseClientQt.cpp:
- * WebCoreSupport/IconDatabaseClientQt.h:
- (IconDatabaseClientQt):
- 2012-09-28 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
- Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports
- https://bugs.webkit.org/show_bug.cgi?id=97547
- Reviewed by Adam Barth.
- Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
- inside WebCore::FrameLoaderClientQt::canShowMIMEType().
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::canShowMIMEType):
- 2012-09-27 Allan Sandfeld Jensen <allan.jensen@digia.com>
- Unify event handling of middle mouse button.
- https://bugs.webkit.org/show_bug.cgi?id=97690
- Reviewed by Tony Chang.
- Remove port specific handling of middle mouse button press.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::mouseReleaseEvent):
- * Api/qwebpage_p.h:
- (QWebPagePrivate):
- 2012-09-26 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Remove Qt Quick 1 support
- Reviewed by Kenneth Rohde Christiansen.
- It is being moved to the Qt5 QtQuick1 module.
- A circular dependency exists otherwise in Qt, where QtWebKit would depend on QtQuick1,
- which in turn depends on QtTools (for designer plugin), which in turn depends on QtWebKit
- (for assistant help html rendering).
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- * declarative/public.pri:
- * declarative/qdeclarativewebview.cpp: Removed.
- * declarative/qdeclarativewebview_p.h: Removed.
- * tests/qdeclarativewebview/qdeclarativewebview.pro: Removed.
- * tests/qdeclarativewebview/resources/basic.html: Removed.
- * tests/qdeclarativewebview/resources/basic.png: Removed.
- * tests/qdeclarativewebview/resources/basic.qml: Removed.
- * tests/qdeclarativewebview/resources/elements.html: Removed.
- * tests/qdeclarativewebview/resources/elements.qml: Removed.
- * tests/qdeclarativewebview/resources/forward.html: Removed.
- * tests/qdeclarativewebview/resources/forward.png: Removed.
- * tests/qdeclarativewebview/resources/javaScript.html: Removed.
- * tests/qdeclarativewebview/resources/javaScript.qml: Removed.
- * tests/qdeclarativewebview/resources/loadError.qml: Removed.
- * tests/qdeclarativewebview/resources/newwindows.html: Removed.
- * tests/qdeclarativewebview/resources/newwindows.qml: Removed.
- * tests/qdeclarativewebview/resources/propertychanges.qml: Removed.
- * tests/qdeclarativewebview/resources/sample.html: Removed.
- * tests/qdeclarativewebview/resources/sethtml.qml: Removed.
- * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml: Removed.
- * tests/qdeclarativewebview/resources/webviewtest.qml: Removed.
- * tests/qdeclarativewebview/resources/webviewtestdefault.qml: Removed.
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Removed.
- * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc: Removed.
- 2012-09-25 Beth Dakin <bdakin@apple.com>
- https://bugs.webkit.org/show_bug.cgi?id=95397
- Need to merge didFirstVisuallyNonEmptyLayout and
- didNewFirstVisuallyNonEmptyLayout
- -and corresponding-
- <rdar://problem/10791680>
- Reviewed by Sam Weinig.
- Remove dispatchDidFirstLayout,
- dispatchDidFirstVisuallyNonEmptyLayout, and
- dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality
- is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidLayout):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (FrameLoaderClientQt):
- It is now necessary to opt into getting any of the
- "layout milestone" notifications.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- 2012-09-25 Simon Hausmann <simon.hausmann@digia.com>
- [Qt] Fix failing assertion when calling QWebSettings::setIconDatabasePath multiple times
- Reviewed by Jocelyn Turcotte.
- This happens in various auto-tests. We can implement this by closing the database before
- opening it with the new path.
- * Api/qwebsettings.cpp:
- (QWebSettings::setIconDatabasePath):
- 2012-09-24 Benjamin Poulain <bpoulain@apple.com>
- Fix Geolocation error reporting in the test support
- https://bugs.webkit.org/show_bug.cgi?id=97386
- Reviewed by Sam Weinig.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setMockGeolocationPositionUnavailableError):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-09-20 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] Enable CSS regions by default
- https://bugs.webkit.org/show_bug.cgi?id=97196
- Reviewed by Dirk Schulze.
- * Api/qwebsettings.cpp:
- (QWebSettings::QWebSettings):
- 2012-09-17 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] Use UndoStep::editingAction() to set the text of undo/redo actions
- https://bugs.webkit.org/show_bug.cgi?id=96921
- Reviewed by Ryosuke Niwa.
- Set the text of QUndoCommands we create for undo/redo actions based on the
- editing action from UndoStep.
- This change is visible using QtTestBrowser, and looking at the Edit menu after
- doing HTML editing changes. I've used http://simple-rte.rniwa.com for testing.
- * WebCoreSupport/UndoStepQt.cpp:
- (undoNameForEditAction): This function returns a localized name of the action.
- (UndoStepQt::UndoStepQt): Set the text based on UndoStep::editingAction.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage):
- (tst_QWebPage::undoActionHaveCustomText): Create a new test to verify that the text
- describing the undo action after inserting a text and indenting the text is different.
- 2012-09-17 Leo Franchi <lfranchi@kde.org>
- [Qt] Inspector WebSocket backend protocol update
- https://bugs.webkit.org/show_bug.cgi?id=77031
- Also adds support for multi-frame messages and non-text messages.
- Thanks to Jocelyn Turcotte for most of the WebSocket update code!
- Reviewed by Simon Hausmann.
- * WebCoreSupport/InspectorServerQt.cpp:
- (WebCore):
- (WebCore::generateWebSocketChallengeResponse):
- (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
- (WebCore::InspectorServerRequestHandlerQt::webSocketSend):
- (WebCore::applyMask):
- (WebCore::InspectorServerRequestHandlerQt::webSocketReadyRead):
- * WebCoreSupport/InspectorServerQt.h:
- (InspectorServerRequestHandlerQt):
- 2012-09-15 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] QDoc fixes for Qt 5 documentation
- https://bugs.webkit.org/show_bug.cgi?id=96796
- Reviewed by Simon Hausmann.
- Produce fewer warnings and a better documentation.
- Having two QML modules providing a WebView component is a bit too much for poor old qdoc to
- cope with (or would require a lot of painful disambiguation by hand). Since the plan is to have
- QDeclarativeWebView living in the qtquick1 module, we can already take it out of the
- documentation generation for now.
- * declarative/qdeclarativewebview.cpp: s/qmlclass/qmltype/ out of principle
- * docs/qtwebkit.qdocconf: Remove the \i alias that caused a warning. Use *.h as headers suffix, not sources.
- Also remove QDeclarativeWebView from the documentation.
- 2012-09-13 Lauro Neto <lauro.neto@openbossa.org>
- [Qt][WK2] fast/forms/access-key-for-all-elements.html fails
- https://bugs.webkit.org/show_bug.cgi?id=73917
- Reviewed by Simon Hausmann.
- Access-key tests were failing due to hardcoded Mac OS X in the
- Qt WK2 user agent string. This commit moves the WK1 implementation
- to a shared one to be used by both versions.
- Change QWebPage to use the shared user agent implementation.
- * Api/qwebpage.cpp:
- (QWebPage::userAgentForUrl):
- 2012-09-13 Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
- [Qt] Fix qdoc executable preparation
- Reviewed by Tor Arne Vestbø.
- * docs/docs.pri:
- 2012-09-12 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r127876.
- http://trac.webkit.org/changeset/127876
- https://bugs.webkit.org/show_bug.cgi?id=96600
- mouse click doesn't work for spin button if spin button in
- iframe (Requested by yosin on #webkit).
- * Api/qwebframe.cpp:
- (QWebFrame::hitTestContent):
- * Api/qwebpage.cpp:
- (QWebPagePrivate::handleSoftwareInputPanel):
- (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
- (QWebPage::updatePositionDependentActions):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
- 2012-09-12 Roland Takacs <rtakacs@inf.u-szeged.hu>
- [Qt] Segmentation fault when closing QtTestBrowser
- https://bugs.webkit.org/show_bug.cgi?id=95003
- Reviewed by Simon Hausmann.
- Defined a new QObject* variable that points to the QGLWidget that was created
- in 'createPlatformGraphicsContext3DFromWidget'.
- It is neccessary for deallocating it.
- * WebCoreSupport/PageClientQt.cpp:
- (createPlatformGraphicsContext3DFromWidget):
- (WebCore::PageClientQWidget::createPlatformGraphicsContext3D):
- (WebCore::PageClientQGraphicsWidget::createPlatformGraphicsContext3D):
- * WebCoreSupport/PageClientQt.h:
- (PageClientQWidget):
- (PageClientQGraphicsWidget):
- 2012-09-12 Andras Becsi <andras.becsi@nokia.com>
- [Qt] Add module identifier directive to the qmldir files
- https://bugs.webkit.org/show_bug.cgi?id=96406
- Reviewed by Simon Hausmann.
- Qt5 QML modules need to be identified. Type registrations are only permitted
- into the namespace identified in the qmldir file's module identifier directive.
- Additionally this also facilitates the protection against external registrations.
- This patch suppresses a warning when importing the QtWebKit module.
- * declarative/experimental/qmldir:
- * declarative/qmldir:
- 2012-09-11 Marcelo Lira <marcelo.lira@openbossa.org>
- Restore original value of mock scrollbars enabled in InternalSettings
- https://bugs.webkit.org/show_bug.cgi?id=87680
- Reviewed by Adam Barth.
- Added backup support for mock scrollbars state in
- InternalSettings::Backup, and removed support for these
- from Qt's DumpRenderTree.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-09-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Add a configure step to the Qt build system
- This allows building the Qt port using just 'qmake WebKit.pro'. Using
- the build-webkit script is still supported, and will add slightly more
- logic to the build, such as detecting the need for clean or incremental
- builds.
- Internally, the build system now uses a new variable, WEBKIT_CONFIG, for
- all things related to configuring the build, such as use/have/enable flags,
- and these are translated to defines in default_post. Project files should
- no longer check contains(DEFINES,...) to detect features, but use the new
- enable?(), use?(), and have?() functions. The no_webkit1 and no_webkit2
- options have been translated into WEBKIT_CONFIG options as well, and can
- be checked using build?().
- Reviewed by Simon Hausmann.
- * declarative/declarative.pro:
- * declarative/public.pri:
- * tests/qgraphicswebview/qgraphicswebview.pro:
- 2012-09-11 Andras Becsi <andras.becsi@nokia.com>
- [Qt][WK2] Fix the build with recent Qt5
- https://bugs.webkit.org/show_bug.cgi?id=96283
- Reviewed by Simon Hausmann.
- We should not use deprecated Qt API because doing that results
- in build failure since all the deprecated API was disabled
- in qtbase (https://codereview.qt-project.org/#change,24890).
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView::widgetsRenderingThroughCache):
- (tst_QGraphicsWebView::setPalette):
- (tst_QGraphicsWebView::compareCanvasToImage):
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::ownership):
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::popupFocus):
- (tst_QWebFrame::inputFieldFocus):
- (tst_QWebFrame::evaluateWillCauseRepaint):
- * tests/qwebpage/tst_qwebpage.cpp:
- (Navigation):
- (PluginCounterPage):
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView::reusePage):
- (tst_QWebView::focusInputTypes):
- (tst_QWebView::setPalette):
- (tst_QWebView::renderingAfterMaxAndBack):
- 2012-09-09 Emil A Eklund <eae@chromium.org>
- Rename Node::getRect/getPixelSnappedRect and remove ContainerNode::getRect
- https://bugs.webkit.org/show_bug.cgi?id=81413
- Reviewed by David Hyatt.
- Update qwebelement and qwebpage to call pixelSnappedBoundingBox.
- * Api/qwebelement.cpp:
- (QWebElement::geometry):
- (QWebElement::render):
- * Api/qwebpage.cpp:
- (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
- 2012-09-07 Allan Sandfeld Jensen <allan.jensen@nokia.com>
- Simplify hitTestResultAtPoint and nodesFromRect APIs
- https://bugs.webkit.org/show_bug.cgi?id=95720
- Reviewed by Antonio Gomes.
- Update calls to new API.
- * Api/qwebframe.cpp:
- (QWebFrame::hitTestContent):
- * Api/qwebpage.cpp:
- (QWebPagePrivate::handleSoftwareInputPanel):
- (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
- (QWebPage::updatePositionDependentActions):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
- 2012-09-07 Allan Sandfeld Jensen <allan.jensen@nokia.com>
- X11 Global Selection
- https://bugs.webkit.org/show_bug.cgi?id=88238
- Reviewed by Tony Chang.
- Use new editor command for pasting global selection, and update it using
- the respondToChangedSelection callback.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::handleClipboard):
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::respondToChangedSelection):
- (WebCore::EditorClientQt::supportsGlobalSelection):
- * WebCoreSupport/EditorClientQt.h:
- (EditorClientQt):
- 2012-09-05 Sam Weinig <sam@webkit.org>
- Part 2 of removing PlatformString.h, remove PlatformString.h
- https://bugs.webkit.org/show_bug.cgi?id=95931
- Reviewed by Adam Barth.
- Remove PlatformString.h
- * Api/qwebdatabase_p.h:
- * Api/qwebframe_p.h:
- * Api/qwebhistory.cpp:
- * Api/qwebhistoryinterface.cpp:
- * Api/qwebpage_p.h:
- * Api/qwebsettings.cpp:
- * WebCoreSupport/ChromeClientQt.h:
- * WebCoreSupport/InspectorClientQt.cpp:
- 2012-09-05 Kaustubh Atrawalkar <kaustubh@motorola.com>
- [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
- https://bugs.webkit.org/show_bug.cgi?id=92735
- Reviewed by Hajime Morita.
- Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-09-04 Jon Lee <jonlee@apple.com>
- [Qt] REGRESSION(r127321): It made 3 notification test timeout
- https://bugs.webkit.org/show_bug.cgi?id=95638
- Reviewed by Csaba Osztrogonác.
- Dispatch show event instead of display after r127321.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationPresenterClientQt::sendDisplayEvent):
- 2012-08-31 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Port convertValueToQVariant to use the JSC C API
- https://bugs.webkit.org/show_bug.cgi?id=94695
- Reviewed by Kenneth Rohde Christiansen.
- Minor adaptations are needed here to accomodate the changed signature of
- convertValueToQVariant.
- * Api/qwebelement.cpp:
- (QWebElement::evaluateJavaScript):
- (convertJSValueToWebElementVariant):
- * Api/qwebframe.cpp:
- (QWebFrame::evaluateJavaScript):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (convertJSValueToNodeVariant):
- 2012-08-30 Geoffrey Garen <ggaren@apple.com>
- Use one object instead of two for closures, eliminating ScopeChainNode
- https://bugs.webkit.org/show_bug.cgi?id=95501
- Reviewed by Filip Pizlo.
- Mechanical change to update for JSC interface change.
- * Api/qwebelement.cpp:
- (QWebElement::evaluateJavaScript):
- 2012-08-30 Benjamin Poulain <bpoulain@apple.com>
- Replace JSC::UString by WTF::String
- https://bugs.webkit.org/show_bug.cgi?id=95271
- Reviewed by Geoffrey Garen.
- Replace UString by String.
- * Api/qwebelement.cpp:
- (QWebElement::evaluateJavaScript):
- 2012-08-29 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Fix doc generation with make docs
- https://bugs.webkit.org/show_bug.cgi?id=95340
- Reviewed by Kenneth Rohde Christiansen.
- Fix doc target, similar to what the other Qt 5 modules are using and comment out the indexes
- line, because cross-referencing doesn't work right now and the use of the QTDIR environment
- is wrong, too.
- * docs/docs.pri:
- * docs/qtwebkit.qdocconf:
- 2012-08-22 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] REGRESSION(r125428): fast/profiler/nested-start-and-stop-profiler.html fails
- https://bugs.webkit.org/show_bug.cgi?id=93897
- Reviewed by Kenneth Rohde Christiansen.
- Fixed some test expectations.
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::objectDeleted): Since runtime methods are real function objects again, we
- can go back to testing Function.prototype.call, as it was done before r125428.
- (tst_QObjectBridge::introspectQtMethods_data): Removed tests for the length property.
- (tst_QObjectBridge::introspectQtMethods): Changed test expectation of the properties of
- run-time methods back to being non-configurable, as before r125428.
- 2012-08-28 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r126914.
- http://trac.webkit.org/changeset/126914
- https://bugs.webkit.org/show_bug.cgi?id=95239
- it breaks everything and fixes nothing (Requested by pizlo on
- #webkit).
- * Api/qwebpage.cpp:
- (extractContentTypeFromPluginVector):
- * Api/qwebplugindatabase.cpp:
- (QWebPluginInfo::mimeTypes):
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::getPluginInfo):
- 2012-08-28 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Rename first/second to key/value in HashMap iterators
- https://bugs.webkit.org/show_bug.cgi?id=82784
- Reviewed by Eric Seidel.
- * Api/qwebpage.cpp:
- (extractContentTypeFromPluginVector):
- * Api/qwebplugindatabase.cpp:
- (QWebPluginInfo::mimeTypes):
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::getPluginInfo):
- 2012-08-27 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r126836.
- http://trac.webkit.org/changeset/126836
- https://bugs.webkit.org/show_bug.cgi?id=95163
- Broke all Apple ports, EFL, and Qt. (Requested by tkent on
- #webkit).
- * Api/qwebpage.cpp:
- (extractContentTypeFromPluginVector):
- * Api/qwebplugindatabase.cpp:
- (QWebPluginInfo::mimeTypes):
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::getPluginInfo):
- 2012-08-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Rename first/second to key/value in HashMap iterators
- https://bugs.webkit.org/show_bug.cgi?id=82784
- Reviewed by Eric Seidel.
- * Api/qwebpage.cpp:
- (extractContentTypeFromPluginVector):
- * Api/qwebplugindatabase.cpp:
- (QWebPluginInfo::mimeTypes):
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::getPluginInfo):
- 2012-08-22 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r126287.
- http://trac.webkit.org/changeset/126287
- https://bugs.webkit.org/show_bug.cgi?id=94708
- It made WK1 layout testing 3.7x slower (>1hours) (Requested by
- ossy on #webkit).
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::objectDeleted):
- (tst_QObjectBridge::introspectQtMethods_data):
- (tst_QObjectBridge::introspectQtMethods):
- 2012-08-22 Allan Sandfeld Jensen <allan.jensen@nokia.com>
- [Qt] Optionally support smooth-scrolling on all platforms
- https://bugs.webkit.org/show_bug.cgi?id=74926
- Reviewed by Simon Hausmann.
- Expose the enable scroll animator setting.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- (QWebSettings::QWebSettings):
- * Api/qwebsettings.h:
- 2012-08-22 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] REGRESSION(r125428): fast/profiler/nested-start-and-stop-profiler.html fails
- https://bugs.webkit.org/show_bug.cgi?id=93897
- Reviewed by Kenneth Rohde Christiansen.
- Fixed some test expectations.
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::objectDeleted): Since runtime methods are real function objects again, we
- can go back to testing Function.prototype.call, as it was done before r125428.
- (tst_QObjectBridge::introspectQtMethods_data): Removed tests for the length property.
- (tst_QObjectBridge::introspectQtMethods): Changed test expectation of the properties of
- run-time methods back to being non-configurable, as before r125428.
- 2012-08-21 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r126146.
- http://trac.webkit.org/changeset/126146
- https://bugs.webkit.org/show_bug.cgi?id=94606
- It made all tests assert (Requested by Ossy on #webkit).
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::objectDeleted):
- (tst_QObjectBridge::introspectQtMethods_data):
- (tst_QObjectBridge::introspectQtMethods):
- 2012-08-17 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] REGRESSION(r125428): fast/profiler/nested-start-and-stop-profiler.html fails
- https://bugs.webkit.org/show_bug.cgi?id=93897
- Reviewed by Kenneth Rohde Christiansen.
- Fixed some test expectations.
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::objectDeleted): Since runtime methods are real function objects again, we
- can go back to testing Function.prototype.call, as it was done before r125428.
- (tst_QObjectBridge::introspectQtMethods_data): Removed tests for the length property.
- (tst_QObjectBridge::introspectQtMethods): Changed test expectation of the properties of
- run-time methods back to being non-configurable, as before r125428.
- 2012-08-15 Ryosuke Niwa <rniwa@webkit.org>
- Update manual tests and comments to refer to TestRunner instead of LayoutTestController
- https://bugs.webkit.org/show_bug.cgi?id=94168
- Reviewed by Kent Tamura.
- * Api/qwebelement.cpp:
- (convertJSValueToWebElementVariant):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-08-14 Adam Barth <abarth@webkit.org>
- Delete Frame::domWindow() and Frame::existingDOMWindow()
- https://bugs.webkit.org/show_bug.cgi?id=93990
- Reviewed by Eric Seidel.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
- 2012-08-14 Lauro Neto <lauro.neto@openbossa.org>
- Convert signals/slots to Q_* macros.
- [Qt] Use Q_SLOTS and Q_SIGNALS instead of slots and signals
- https://bugs.webkit.org/show_bug.cgi?id=93996
- Reviewed by Kenneth Rohde Christiansen.
- Change usage of keyword-conflicting 'signals' and 'slots' for
- Q_SIGNALS and Q_SLOTS macro.
- * WebCoreSupport/FrameLoaderClientQt.h:
- (FrameLoaderClientQt):
- * WebCoreSupport/FullScreenVideoQt.h:
- (FullScreenVideoQt):
- * WebCoreSupport/FullScreenVideoWidget.h:
- (FullScreenVideoWidget):
- * WebCoreSupport/IconDatabaseClientQt.h:
- (IconDatabaseClientQt):
- * WebCoreSupport/InspectorClientQt.cpp:
- (InspectorClientWebPage):
- * WebCoreSupport/InspectorServerQt.h:
- (InspectorServerQt):
- (InspectorServerRequestHandlerQt):
- * WebCoreSupport/PopupMenuQt.h:
- (PopupMenuQt):
- * WebCoreSupport/QtFallbackWebPopup.h:
- (QtFallbackWebPopup):
- * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp:
- (wrapInFunction):
- * docs/webkitsnippets/webpage/main.cpp:
- (Thumbnailer):
- * examples/platformplugin/WebPlugin.h:
- (Popup):
- (WebPopup):
- * tests/benchmarks/webgl/tst_webgl.cpp:
- (tst_WebGlPerformance):
- * tests/hybridPixmap/tst_hybridPixmap.cpp:
- (tst_hybridPixmap):
- * tests/hybridPixmap/widget.h:
- (Widget):
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- (tst_QDeclarativeWebView):
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView):
- (WebPage):
- (ResizeSpy):
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (MyWebElementSlotOnlyObject):
- (tst_QObjectBridge):
- (TestPluginWidget):
- * tests/qwebelement/tst_qwebelement.cpp:
- (tst_QWebElement):
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame):
- (FakeReply):
- * tests/qwebhistory/tst_qwebhistory.cpp:
- * tests/qwebhistoryinterface/tst_qwebhistoryinterface.cpp:
- (tst_QWebHistoryInterface):
- * tests/qwebinspector/tst_qwebinspector.cpp:
- (tst_QWebInspector):
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage):
- (JSTestPage):
- (RepaintRequestedRenderer):
- (SpyForLoadSignalsOrder):
- * tests/qwebplugindatabase/tst_qwebplugindatabase.cpp:
- (tst_QWebPluginDatabase):
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView):
- (WebViewCrashTest):
- 2012-08-14 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Fix failing tst_QWebPage::findText unit test
- https://bugs.webkit.org/show_bug.cgi?id=93951
- Reviewed by Kenneth Rohde Christiansen.
- Adjust the expected text, as the HTML editing code improved to avoid unnecessary tags.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::findText):
- 2012-08-13 Tom Sepez <tsepez@chromium.org>
- [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
- https://bugs.webkit.org/show_bug.cgi?id=93283
- Reviewed by Eric Seidel.
- Change the client redirectDataToPlugin method(s) to expect the possibility of
- a NULL argument, keeping existing behaviour otherwise.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
- 2012-08-13 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Port meta method/signal/slot handling in run-time bridge to use JSC C API
- https://bugs.webkit.org/show_bug.cgi?id=93476
- Reviewed by Kenneth Rohde Christiansen.
- Changed semantics of some test expectations. Similarly to r125032 when generating
- error exceptions for connect/disconnect, we cannot generate explicit type error
- exceptions but only generic errors. Another change is that the meta-method wrapper
- doesn't support the call() through Function.prototype anymore. See WebCore changelog
- for details.
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::connectAndDisconnect):
- (tst_QObjectBridge::objectDeleted):
- (tst_QObjectBridge::introspectQtMethods):
- 2012-08-13 Kwang Yul Seo <skyul@company100.net>
- [Qt] Add gprof.prf to build WebKit with gprof enabled
- https://bugs.webkit.org/show_bug.cgi?id=90283
- Reviewed by Eric Seidel.
- * tests/MIMESniffing/MIMESniffing.pro:
- Don't build MIMESniffing.cpp because MIMESniffing test links
- WebKitQt statically when gprof is enabled.
- 2012-08-12 Loïc Yhuel <loic.yhuel@softathome.com>
- [Qt] Make it possible to build without QtTest/QtPrintSupport
- https://bugs.webkit.org/show_bug.cgi?id=93492
- Reviewed by Tor Arne Vestbø.
- * Api/qwebframe.cpp:
- (QWebFrame::print): Does nothing if no printsupport
- * Api/qwebview.cpp:
- (QWebView::print): Does nothing if no printsupport
- 2012-08-11 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] Add support for HTML5 state object history API in FrameLoaderClientQt
- https://bugs.webkit.org/show_bug.cgi?id=93648
- Reviewed by Kenneth Rohde Christiansen.
- Add support for push/replace/pop by implementing dispatchDidNavigateWithinPage.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidNavigateWithinPage):
- (WebCore::FrameLoaderClientQt::dispatchDidPushStateWithinPage):
- (WebCore::FrameLoaderClientQt::dispatchDidReplaceStateWithinPage):
- (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (FrameLoaderClientQt):
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame):
- (tst_QWebFrame::setUrlUsingStateObject): Added. Tests that the urlChanged signal is fired.
- 2012-08-10 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Remove QRegExp <> JS RegExp conversion
- https://bugs.webkit.org/show_bug.cgi?id=93716
- Reviewed by Kenneth Rohde Christiansen.
- Removed tests that cover the automatic QRegExp <> JS RegExp conversion. See WebCore
- ChangeLog for details.
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (MyQObject::emitMySignalWithDateTimeArg):
- (MyQObject):
- (tst_QObjectBridge::overloadedSlots):
- (tst_QObjectBridge::typeConversion):
- 2012-08-09 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Remove support for __qt_sender__ in QObject bridge
- https://bugs.webkit.org/show_bug.cgi?id=93649
- Reviewed by Kenneth Rohde Christiansen.
- Support for __qt_sender__ has also been removed from QtScript/QJSEngine. The right
- JavaScript solution to the problem is Function.prototype.bind.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::didClearWindowObject):
- * Api/qwebframe_p.h:
- (QWebFramePrivate):
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::connectAndDisconnect):
- 2012-08-08 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Port internal findMethodIndex method matcher to use JSC C API
- https://bugs.webkit.org/show_bug.cgi?id=93463
- Reviewed by Kenneth Rohde Christiansen.
- Adjust the expectations of the unit test for some of the exceptions the
- method throws when signals/slots cannot be found/matched. The C API doesn't allow
- us to create syntax (type) errors, only generic error exceptions.
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::callQtInvokable):
- 2012-08-08 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Add unit test for QObject bindings for scriptable plugins
- https://bugs.webkit.org/show_bug.cgi?id=93462
- Reviewed by Kenneth Rohde Christiansen.
- The bindings code is subject to refactoring in the future, so added a unit test to verify that
- accessing an embedded QWidget from JavaScript goes through the QObject bindings.
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge):
- (TestPluginWidget):
- (TestPluginWidget::TestPluginWidget):
- (TestPluginWidget::slotWithReturnValue):
- (TestWebPage):
- (TestWebPage::TestWebPage):
- (TestWebPage::createPlugin):
- (tst_QObjectBridge::scriptablePlugin):
- 2012-08-07 Simon Hausmann <simon.hausmann@nokia.com>
- Unreviewed trivial fix: Missed HAVE_QT5 removal as part of r124879
- Fixes failing auto-test.
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::enumerate_data):
- 2012-08-02 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Remove Qt 4 specific code paths
- https://bugs.webkit.org/show_bug.cgi?id=88161
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qgraphicswebview.cpp:
- (QGraphicsWebView::sceneEvent):
- * Api/qgraphicswebview.h:
- * Api/qwebframe.cpp:
- * Api/qwebframe.h:
- * Api/qwebframe_p.h:
- * Api/qwebpage.cpp:
- (QWebPage::event):
- * Api/qwebpage.h:
- * Api/qwebsettings.cpp:
- (QWebSettings::enablePersistentStorage):
- * Api/qwebview.cpp:
- (QWebView::QWebView):
- (QWebView::event):
- * Api/qwebview.h:
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::setToolTip):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::createPlugin):
- * WebCoreSupport/GeolocationClientQt.cpp:
- * WebCoreSupport/GeolocationClientQt.h:
- * WebCoreSupport/PageClientQt.cpp:
- (createPlatformGraphicsContext3DFromWidget):
- (QWebPageClient::ownerWindow):
- * WebCoreSupport/WebEventConversion.cpp:
- (WebCore::WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
- * declarative/declarative.pro:
- * declarative/plugin.cpp:
- * declarative/public.pri:
- * examples/platformplugin/WebPlugin.cpp:
- (WebPlugin::createExtension):
- * examples/platformplugin/WebPlugin.h:
- (WebPlugin):
- * examples/platformplugin/platformplugin.pro:
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::arrayObjectEnumerable):
- (tst_QObjectBridge::ownership):
- (tst_QObjectBridge::qObjectWrapperWithSameIdentity):
- * tests/tests.pri:
- * tests/util.h:
- 2012-08-01 Zeno Albisser <zeno@webkit.org>
- [Qt]REGRESSION(r123786): It made 3 fast/animation tests fail.
- https://bugs.webkit.org/show_bug.cgi?id=92490
- QAbstractAnimation:start() is implicitly calling updateTime
- without going through the event loop. This resulted in executing
- scripted animation callbacks right when registering a first callback.
- Reviewed by Noam Rosenthal.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::RefreshAnimation::scheduleAnimation):
- Invoke QAbstractAnimation::start() method through the event loop.
- 2012-07-27 Csaba Osztrogonác <ossy@webkit.org>
- [Qt][WK2] REGRESSION(r119127): resetting window.internals settings between tests doesn't work properly
- https://bugs.webkit.org/show_bug.cgi?id=88064
- Reviewed by Zoltan Herczeg.
- Add missing DumpRenderTreeSupportQt::resetInternalsObject(JSContextRef context) function.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::resetInternalsObject):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-07-26 Zeno Albisser <zeno@webkit.org>
- Unreviewed Qt buildfix after r123786.
- Qt-minimal builds with ENABLE_REQUEST_ANIMATION_FRAME=0.
- Therefore adding #ifdefs to allow for that configuration.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore):
- * WebCoreSupport/ChromeClientQt.h:
- (ChromeClientQt):
- 2012-07-26 Zeno Albisser <zeno@webkit.org>
- [Qt] requestAnimationFrame should only trigger when a new frame can be displayed.
- https://bugs.webkit.org/show_bug.cgi?id=88638
- Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
- the servicing of scripted animations to the renderNextFrame call for WK2.
- For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.
- Reviewed by Jocelyn Turcotte.
- * WebCoreSupport/ChromeClientQt.cpp:
- (RefreshAnimation):
- Add a RefreshAnimation that is based on QAbstractAnimation
- and drives the servicing of the scripted animations for WK1.
- (WebCore::RefreshAnimation::RefreshAnimation):
- (WebCore::RefreshAnimation::duration):
- (WebCore::RefreshAnimation::scheduleAnimation):
- Set m_animationScheduled to true and start the animation
- timer in case it is not running yet.
- (WebCore::RefreshAnimation::updateCurrentTime):
- Call serviceScriptedAnimations if m_animationScheduled is true.
- If this is not the case, the animation timer can be stopped,
- because no animation needs to be scheduled anymore.
- (WebCore):
- (WebCore::ChromeClientQt::scheduleAnimation):
- Create and start the RefreshAnimation instance with the
- first call to scheduleAnimation.
- * WebCoreSupport/ChromeClientQt.h:
- (WebCore):
- (ChromeClientQt):
- 2012-07-26 Kaustubh Atrawalkar <kaustubh@motorola.com>
- [DRT] LTC:: pageNumberForElementById() could be moved to Internals
- https://bugs.webkit.org/show_bug.cgi?id=92091
- Reviewed by Adam Barth.
- Move the pageNumberForElementById from LayoutTestCotroller to Internals and
- remove the old platform specific implementations as it exclusively tests WebCore functionality.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-07-24 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt][WK1] color input type support
- https://bugs.webkit.org/show_bug.cgi?id=91998
- Reviewed by Simon Hausmann.
- Using QColorDialog. This is private for now, but
- it could be exposed via a virtual function in
- QWebPage at a later point in a Qt 5 minor release
- if there are requests for that.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::colorSelectionRequested):
- * Api/qwebpage_p.h:
- (QWebPagePrivate):
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::createColorChooser):
- 2012-07-23 Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
- [Qt] Fix compilation against namespaced Qt
- Reviewed by Simon Hausmann.
- * WebCoreSupport/GeolocationClientQt.h:
- * examples/platformplugin/WebPlugin.h:
- 2012-07-23 Pierre Rossi <pierre.rossi@gmail.com>
- Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
- https://bugs.webkit.org/show_bug.cgi?id=91006
- Reviewed by Ryosuke Niwa.
- Remove numTouchEventHandlersChanged stub.
- * WebCoreSupport/ChromeClientQt.h:
- 2012-07-23 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] RenderThemeQtMobile highlight colors are not being used
- https://bugs.webkit.org/show_bug.cgi?id=92004
- Reviewed by Noam Rosenthal.
- * WebCoreSupport/RenderThemeQStyle.cpp:
- (WebCore::RenderThemeQStyle::setPaletteFromPageClientIfExists): Moved here since
- it's used only by RenderThemeQStyle. Remove unnecessary check for m_page->chrome().
- (WebCore):
- (WebCore::RenderThemeQStyle::colorPalette):
- * WebCoreSupport/RenderThemeQStyle.h:
- (RenderThemeQStyle):
- 2012-07-22 Kent Tamura <tkent@chromium.org>
- Rename ENABLE_METER_TAG and ENABLE_PROGRESS_TAG to ENABLE_METER_ELEMENT and ENABLE_PROGRESS_ELEMENT respectively
- https://bugs.webkit.org/show_bug.cgi?id=91941
- Reviewed by Kentaro Hara.
- A flag name for an elmement should be ENABLE_*_ELEMENT.
- * WebCoreSupport/RenderThemeQStyle.cpp:
- (WebCore):
- * WebCoreSupport/RenderThemeQStyle.h:
- 2012-07-19 No'am Rosenthal <noam.rosenthal@nokia.com>
- [Qt] Enable CSS shaders in Qt (software mode)
- https://bugs.webkit.org/show_bug.cgi?id=85140
- Reviewed by Simon Hausmann.
- Enable CSS Shaders in settings when WebGL is enabled.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- 2012-07-19 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Remove support for Qt versions before 4.8.0
- https://bugs.webkit.org/show_bug.cgi?id=91730
- Reviewed by Kenneth Rohde Christiansen.
- Remove Qt version check #ifdefs for Qt versions before 4.8.0.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate):
- (QWebSettings::QWebSettings):
- (QWebSettings::thirdPartyCookiePolicy):
- * Api/qwebsettings.h:
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- (tst_QDeclarativeWebView):
- (tst_QDeclarativeWebView::backgroundColor):
- * tests/qwebelement/tst_qwebelement.cpp:
- (tst_QWebElement::render):
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage):
- (tst_QWebPage::thirdPartyCookiePolicy):
- 2012-07-17 Gabor Ballabas <gaborb@inf.u-szeged.hu>
- [Qt][V8] Remove the V8 related codepaths and configuration
- https://bugs.webkit.org/show_bug.cgi?id=90863
- Reviewed by Simon Hausmann.
- * Api/qwebelement.cpp:
- (setupScriptContext):
- (QWebElement::evaluateJavaScript):
- (convertWebElementVariantToJSValue):
- (QtWebElementRuntime::initialize):
- * Api/qwebframe.cpp:
- (QWebFramePrivate::didClearWindowObject):
- (QWebFramePrivate::addQtSenderToGlobalObject):
- (QWebFrame::addToJavaScriptWindowObject):
- (QWebFrame::evaluateJavaScript):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (convertNodeVariantToJSValue):
- (QtDRTNodeRuntime::initialize):
- (DumpRenderTreeSupportQt::javaScriptObjectsCount):
- (DumpRenderTreeSupportQt::garbageCollectorCollect):
- (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
- (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
- (DumpRenderTreeSupportQt::injectInternalsObject):
- (DumpRenderTreeSupportQt::resetInternalsObject):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::createDocumentLoader):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (FrameLoaderClientQt):
- * v8/ForwardingHeaders/v8-debug.h: Removed.
- * v8/ForwardingHeaders/v8-preparser.h: Removed.
- * v8/ForwardingHeaders/v8-profiler.h: Removed.
- * v8/ForwardingHeaders/v8-testing.h: Removed.
- * v8/ForwardingHeaders/v8.h: Removed.
- * v8/ForwardingHeaders/v8stdint.h: Removed.
- 2012-07-17 Vivek Galatage <vivekgalatage@gmail.com>
- Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
- https://bugs.webkit.org/show_bug.cgi?id=91196
- Reviewed by Pavel Feldman.
- Refactoring InspectorClients. InspectorClient::openInspectorFrontend
- now returning the InspectorFrontendChannel.
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::openInspectorFrontend):
- (WebCore::InspectorClientQt::attachAndReplaceRemoteFrontend):
- * WebCoreSupport/InspectorClientQt.h:
- (InspectorClientQt):
- 2012-07-17 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r122834.
- http://trac.webkit.org/changeset/122834
- https://bugs.webkit.org/show_bug.cgi?id=91492
- it broke the chromium (Requested by kkristof on #webkit).
- * Api/qwebelement.cpp:
- (setupScriptContext):
- (QWebElement::evaluateJavaScript):
- (QtWebElementRuntime::initialize):
- * Api/qwebframe.cpp:
- (QWebFramePrivate::didClearWindowObject):
- (QWebFrame::addToJavaScriptWindowObject):
- (QWebFrame::evaluateJavaScript):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (QtDRTNodeRuntime::initialize):
- (DumpRenderTreeSupportQt::javaScriptObjectsCount):
- (DumpRenderTreeSupportQt::garbageCollectorCollect):
- (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
- (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
- (DumpRenderTreeSupportQt::injectInternalsObject):
- (DumpRenderTreeSupportQt::resetInternalsObject):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- (Bindings):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore):
- (WebCore::FrameLoaderClientQt::didCreateScriptContext):
- (WebCore::FrameLoaderClientQt::willReleaseScriptContext):
- (WebCore::FrameLoaderClientQt::didCreateIsolatedScriptContext):
- (WebCore::FrameLoaderClientQt::createDocumentLoader):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (FrameLoaderClientQt):
- (WebCore::FrameLoaderClientQt::allowScriptExtension):
- * v8/ForwardingHeaders/v8-debug.h: Added.
- * v8/ForwardingHeaders/v8-preparser.h: Added.
- * v8/ForwardingHeaders/v8-profiler.h: Added.
- * v8/ForwardingHeaders/v8-testing.h: Added.
- * v8/ForwardingHeaders/v8.h: Added.
- * v8/ForwardingHeaders/v8stdint.h: Added.
- 2012-07-17 Gabor Ballabas <gaborb@inf.u-szeged.hu>
- [Qt][V8] Remove the V8 related codepaths and configuration
- https://bugs.webkit.org/show_bug.cgi?id=90863
- Reviewed by Simon Hausmann.
- * Api/qwebelement.cpp:
- (setupScriptContext):
- (QWebElement::evaluateJavaScript):
- (convertWebElementVariantToJSValue):
- (QtWebElementRuntime::initialize):
- * Api/qwebframe.cpp:
- (QWebFramePrivate::didClearWindowObject):
- (QWebFramePrivate::addQtSenderToGlobalObject):
- (QWebFrame::addToJavaScriptWindowObject):
- (QWebFrame::evaluateJavaScript):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (convertNodeVariantToJSValue):
- (QtDRTNodeRuntime::initialize):
- (DumpRenderTreeSupportQt::javaScriptObjectsCount):
- (DumpRenderTreeSupportQt::garbageCollectorCollect):
- (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
- (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
- (DumpRenderTreeSupportQt::injectInternalsObject):
- (DumpRenderTreeSupportQt::resetInternalsObject):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::createDocumentLoader):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (FrameLoaderClientQt):
- * v8/ForwardingHeaders/v8-debug.h: Removed.
- * v8/ForwardingHeaders/v8-preparser.h: Removed.
- * v8/ForwardingHeaders/v8-profiler.h: Removed.
- * v8/ForwardingHeaders/v8-testing.h: Removed.
- * v8/ForwardingHeaders/v8.h: Removed.
- * v8/ForwardingHeaders/v8stdint.h: Removed.
- 2012-07-16 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Fix inconsistent DLL linkage on Windows with WebKit1
- https://bugs.webkit.org/show_bug.cgi?id=91375
- Reviewed by Laszlo Gombos.
- Export QWebHistoryItemPrivate as required for tests. Unfortunately we cannot use
- Q_AUTOTEST_EXPORT outside of Qt.
- * Api/qwebhistory_p.h:
- 2012-07-16 Zoltan Horvath <zoltan@webkit.org>
- [Qt] Change NativeImagePtr from QPixmap* to QImage*
- https://bugs.webkit.org/show_bug.cgi?id=88785
- Reviewed by Simon Hausmann.
- Since we use raster engine there is no difference between QPixmap and QImage, so we are going
- to use QImage everywhere where it is possible. This refactoring contains the change of the
- NativeImagePtr typedef from QPixmap* to QImage* and covers the related modifications.
- Part of the change is similar to Viatcheslav Ostapenko's internal work.
- Covered by existing tests.
- * Api/qwebframe.cpp:
- (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
- * Api/qwebhistory.cpp:
- (QWebHistoryItem::icon):
- * Api/qwebsettings.cpp:
- (QWebSettings::iconForUrl):
- (QWebSettings::setWebGraphic):
- (QWebSettings::webGraphic):
- * WebCoreSupport/DragClientQt.cpp:
- (WebCore::DragClientQt::startDrag):
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebCore::initializeWebCoreQt):
- 2012-07-16 Frederik Gladhorn <frederik.gladhorn@nokia.com>
- Accessible Widget for QWebView
- https://bugs.webkit.org/show_bug.cgi?id=91073
- Added classes that allow navigation to the web view widget.
- This is the glue to later access webkit's accessible objects
- though the Qt accessibility framework.
- Reviewed by Simon Hausmann.
- * Api/qwebview.cpp:
- (QWebView::QWebView):
- * Api/qwebviewaccessible.cpp: Added.
- (accessibleInterfaceFactory):
- (QWebFrameAccessible::QWebFrameAccessible):
- (QWebFrameAccessible::frame):
- (QWebFrameAccessible::parent):
- (QWebFrameAccessible::text):
- (QWebFrameAccessible::childCount):
- (QWebFrameAccessible::child):
- (QWebFrameAccessible::indexOfChild):
- (QWebFrameAccessible::state):
- (QWebFrameAccessible::role):
- (QWebFrameAccessible::navigate):
- (QWebPageAccessible::QWebPageAccessible):
- (QWebPageAccessible::page):
- (QWebPageAccessible::text):
- (QWebPageAccessible::parent):
- (QWebPageAccessible::child):
- (QWebPageAccessible::childCount):
- (QWebPageAccessible::indexOfChild):
- (QWebPageAccessible::navigate):
- (QWebPageAccessible::role):
- (QWebPageAccessible::state):
- (QWebViewAccessible::QWebViewAccessible):
- (QWebViewAccessible::view):
- (QWebViewAccessible::childCount):
- (QWebViewAccessible::child):
- * Api/qwebviewaccessible_p.h: Added.
- (QWebFrameAccessible):
- (QWebPageAccessible):
- (QWebViewAccessible):
- 2012-07-12 Huang Dongsung <luxtella@company100.net>
- [Qt] Increase the drawing performance by merging dirty rects.
- https://bugs.webkit.org/show_bug.cgi?id=91075
- Reviewed by Noam Rosenthal.
- QWebFramePrivate calls FrameView::paintContents as many as the number of dirty
- rects, so it causes too many redundant render tree traversals.
- I changed it to merge dirty rects and call FrameView::paintContents only once.
- The algorithm to merge rects is copied from GTK.
- When parallel image decoders are in use, each image is independently repainted
- when decoding is finished. This creates a lot by repaint requests. So by merging
- these repaint requests, I could improve rendering performance.
- For example, I tested parallel image decoders on the locally mirrored Pinterest site.
- QWebFramePrivate called FrameView::paintContents 165 times after parallel image
- decoders decoded all the images. It took about 120ms on my six-core Intel Xeon machine.
- This patch decreases painting time from 120ms to 30ms.
- * Api/qwebframe.cpp:
- (coalesceRectsIfPossible):
- (QWebFramePrivate::renderRelativeCoords):
- 2012-07-11 Steffen Imhof <steffen.imhof@basyskom.com>
- [Qt] Middle clicking a scrollbar causes text to be pasted.
- https://bugs.webkit.org/show_bug.cgi?id=78444
- Check if the event was already accepted before handling the clipboard.
- Reviewed by Simon Hausmann.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::mouseReleaseEvent):
- 2012-07-10 Adam Barth <abarth@webkit.org>
- WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed
- https://bugs.webkit.org/show_bug.cgi?id=90910
- Reviewed by Eric Seidel.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-07-09 No'am Rosenthal <noam.rosenthal@nokia.com>
- Shared code that is guarded with ENABLE(WEBGL) should be guarded with USE()
- https://bugs.webkit.org/show_bug.cgi?id=90506
- Reviewed by Martin Robinson.
- Updated necessary parts of PageClientQt to be guarded with USE(3D_GRAPHICS) instead of
- ENABLE(WEBGL). The WebKit1 glue to WebGL still requires the Qt OpenGL module, so it's
- disable if QT_OPENGL_LIB is not defined.
- * WebCoreSupport/PageClientQt.cpp:
- (createPlatformGraphicsContext3DFromWidget):
- (WebCore):
- * WebCoreSupport/PageClientQt.h:
- (PageClientQWidget):
- (PageClientQGraphicsWidget):
- 2012-07-06 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] Buildfix for newer Qt5
- https://bugs.webkit.org/show_bug.cgi?id=90519
- Reviewed by Tor Arne Vestbø.
- * WebCoreSupport/QtFallbackWebPopup.cpp: Include QtGui/QStandardItemModel instead of deprecated QStandardItemModel.
- 2012-07-06 Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
- [Qt] Adjust to changed generation of master include file
- The responsiblity for creating the master include was moved out of syncqt.
- @ignore_for_master_contents still stays, as syncqt (ab-)uses this for
- determining whether a header is private.
- https://bugs.webkit.org/show_bug.cgi?id=90461
- Reviewed by Tor Arne Vestbø.
- * Api/qwebscriptworld.h:
- * tests/util.h:
- 2012-07-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Get rid of un-needed QT += declarative for Qt 5
- The declarative module has been renamed to quick1 in Qt 5, and the
- engine-only module for Qt 5 is named 'qml'. For many of the instances
- we could just remove 'declarative', since the project file was only
- used for Qt5/WebKit2 builds. In the other cases the module was wrapped
- in a haveQt(4) scope.
- Reviewed by Csaba Osztrogonác.
- * declarative/experimental/experimental.pri:
- * declarative/public.pri:
- 2012-07-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Make use of .qmake.cache for caching features
- Instead of loading() features from the files that need them (and re-running
- a bunch of checks), we now run feature detection as part of configure.pro,
- and have build-webkit write the computed feature-defines and CONFIG to
- .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
- when building WebKit.pro.
- At some point we'll be able to selectivly prevent running of config tests
- in configure.pro, which means we don't need a separate code-path for
- the build-webkit --help case.
- We should also move the code in build-webkit that now uses .webkit.config
- to detect clean builds, to use .qmake.cache, since we now store the same
- thing there.
- Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
- Reviewed by Tor Arne Vestbø.
- * declarative/declarative.pro:
- * declarative/public.pri:
- * tests/qgraphicswebview/qgraphicswebview.pro:
- 2012-07-03 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r121766.
- http://trac.webkit.org/changeset/121766
- https://bugs.webkit.org/show_bug.cgi?id=90465
- It caused flakey build errors on the bots (Requested by Ossy
- on #webkit).
- * declarative/declarative.pro:
- * declarative/public.pri:
- * tests/qgraphicswebview/qgraphicswebview.pro:
- 2012-07-03 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Make use of .qmake.cache for caching features
- Instead of loading() features from the files that need them (and re-running
- a bunch of checks), we now run feature detection as part of configure.pro,
- and have build-webkit write the computed feature-defines and CONFIG to
- .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
- when building WebKit.pro.
- At some point we'll be able to selectivly prevent running of config tests
- in configure.pro, which means we don't need a separate code-path for
- the build-webkit --help case.
- We should also move the code in build-webkit that now uses .webkit.config
- to detect clean builds, to use .qmake.cache, since we now store the same
- thing there.
- Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
- Reviewed by Tor Arne Vestbø.
- * declarative/declarative.pro:
- * declarative/public.pri:
- * tests/qgraphicswebview/qgraphicswebview.pro:
- 2012-07-02 No'am Rosenthal <noam.rosenthal@nokia.com>
- [Qt] Get rid of GraphicsLayerQt
- https://bugs.webkit.org/show_bug.cgi?id=78598
- Reviewed by Luiz Agostini.
- Removed all references to GraphicsLayerQt, including #ifdef code paths that only apply
- when TEXTURE_MAPPER is disabled.
- * Api/qgraphicswebview.cpp:
- (QGraphicsWebView::paint):
- * Api/qwebframe.cpp:
- (QWebFramePrivate::renderFromTiledBackingStore):
- (QWebFramePrivate::renderRelativeCoords):
- * Api/qwebframe_p.h:
- (QWebFramePrivate::QWebFramePrivate):
- (QWebFramePrivate):
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore):
- (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
- (WebCore::PageClientQGraphicsWidget::update):
- (WebCore::PageClientQGraphicsWidget::syncLayers):
- (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
- * WebCoreSupport/PageClientQt.h:
- (WebCore):
- (WebCore::PageClientQWidget::PageClientQWidget):
- (PageClientQWidget):
- (PageClientQGraphicsWidget):
- 2012-07-02 Benjamin Poulain <bpoulain@apple.com>
- Do not do any logging initialization when logging is disabled
- https://bugs.webkit.org/show_bug.cgi?id=90228
- Reviewed by Simon Fraser.
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebCore::initializeWebCoreQt):
- 2012-06-29 Konrad Piascik <kpiascik@rim.com>
- Don't hardcode target dpi of 160 (it should be 96 on desktop)
- https://bugs.webkit.org/show_bug.cgi?id=88114
- Reviewed by Adam Barth.
- Updated the call to computeViewportAttributes.
- * Api/qwebpage.cpp:
- (QWebPage::viewportAttributesForSize):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::viewportAsText):
- 2012-06-28 Alexander Pavlov <apavlov@chromium.org>
- [Qt] inspector/styles/inject-stylesheet.html makes 4 tests flakey (TEXT PASS)
- https://bugs.webkit.org/show_bug.cgi?id=90167
- Reviewed by Csaba Osztrogonác.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::removeUserStyleSheets):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-06-28 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] Restore original value of mock scrollbars between tests
- https://bugs.webkit.org/show_bug.cgi?id=90155
- Reviewed by Simon Hausmann.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setMockScrollbarsEnabled):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-06-25 Mark Hahnenberg <mhahnenberg@apple.com>
- JSLock should be per-JSGlobalData
- https://bugs.webkit.org/show_bug.cgi?id=89123
- Reviewed by Geoffrey Garen.
- Changed all sites that used JSLock to instead use the new JSLockHolder
- and pass in the correct JS context that the code is about to interact with that
- needs protection. Also added a couple JSLocks to places that didn't already
- have it that needed it.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::addQtSenderToGlobalObject):
- (QWebFrame::addToJavaScriptWindowObject):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::injectInternalsObject):
- (DumpRenderTreeSupportQt::resetInternalsObject):
- 2012-06-27 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Fix compilation of example platform plugin with Qt 5
- Reviewed by Kenneth Christiansen.
- Use QLatin1String where appropriate and use the Qt 5 plugin
- system with Qt 5.
- * examples/platformplugin/WebPlugin.cpp:
- (SingleSelectionPopup::SingleSelectionPopup):
- (MultipleItemListDelegate::MultipleItemListDelegate):
- (MultipleSelectionPopup::MultipleSelectionPopup):
- * examples/platformplugin/WebPlugin.h:
- (WebPlugin):
- 2012-06-26 Tony Chang <tony@chromium.org>
- [Qt] Enable grid layout LayoutTests
- https://bugs.webkit.org/show_bug.cgi?id=89909
- Reviewed by Csaba Osztrogonác.
- These tests pass, we just need to hook up the overridePreference.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- (QWebSettings::QWebSettings):
- * Api/qwebsettings.h: Add enum value for CSS grid layout
- 2012-06-25 Simon Hausmann <simon.hausmann@nokia.com>
- Unreviewed build fix: Don't do QT += widgets with Qt 4
- * examples/platformplugin/platformplugin.pro:
- 2012-06-23 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r121058.
- http://trac.webkit.org/changeset/121058
- https://bugs.webkit.org/show_bug.cgi?id=89809
- Patch causes plugins tests to crash in GTK debug builds
- (Requested by zdobersek on #webkit).
- * Api/qwebframe.cpp:
- (QWebFramePrivate::addQtSenderToGlobalObject):
- (QWebFrame::addToJavaScriptWindowObject):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::injectInternalsObject):
- (DumpRenderTreeSupportQt::resetInternalsObject):
- 2012-06-20 Mark Hahnenberg <mhahnenberg@apple.com>
- JSLock should be per-JSGlobalData
- https://bugs.webkit.org/show_bug.cgi?id=89123
- Reviewed by Gavin Barraclough.
- Changed all sites that used JSLock to instead use the new JSLockHolder
- and pass in the correct JS context that the code is about to interact with that
- needs protection.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::addQtSenderToGlobalObject):
- (QWebFrame::addToJavaScriptWindowObject):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::injectInternalsObject):
- (DumpRenderTreeSupportQt::resetInternalsObject):
- 2012-06-22 Amy Ousterhout <aousterh@chromium.org>
- Renamed DeviceOrientation to DeviceOrientationData
- https://bugs.webkit.org/show_bug.cgi?id=88663
- Reviewed by Steve Block.
- Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
- This change makes DeviceOrientationData consistent with DeviceMotionData.
-
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setMockDeviceOrientation):
-
- 2012-06-21 Thiago Marcos P. Santos <thiago.santos@intel.com>
- [WK2][Qt] Color chooser API missing
- https://bugs.webkit.org/show_bug.cgi?id=87749
- Reviewed by Kenneth Rohde Christiansen.
- Added ColorChooser API stub to WebKit. Otherwise
- it will break the build for Qt WebKit2 (that now has
- complete support for color chooser) when INPUT_TYPE_COLOR is set.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore):
- (WebCore::ChromeClientQt::createColorChooser):
- * WebCoreSupport/ChromeClientQt.h:
- (ChromeClientQt):
- 2012-06-20 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Unreviewed build fix
- The platform plugin example uses QGridLayout and thus needs QT += widgets
- * examples/platformplugin/platformplugin.pro:
- 2012-06-19 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] Buildfix for newer Qt5, use QPointer instead of the deprecated QWeakPointer.
- https://bugs.webkit.org/show_bug.cgi?id=89449
- Reviewed by Simon Hausmann.
- * Api/qwebframe_p.h:
- (QWebHitTestResultPrivate):
- * Api/qwebpage_p.h:
- (QWebPagePrivate):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::createFrame):
- * WebCoreSupport/PageClientQt.h:
- (PageClientQGraphicsWidget):
- 2012-06-19 Albert Astals Cid <albert.astals@canonical.com>
- [Qt] Document the versions enums where added
- https://bugs.webkit.org/show_bug.cgi?id=89452
- Reviewed by Simon Hausmann.
- * Api/qwebpage.cpp:
- 2012-06-19 Sergio Villar Senin <svillar@igalia.com>
- Calling nativeImageForCurrentFrame() causes assertion failure: m_verifier.isSafeToUse()
- https://bugs.webkit.org/show_bug.cgi?id=67582
- Reviewed by David Levin.
- Use synchronousNativeIconForPageURL() to retrieve favicons.
- * Api/qwebhistory.cpp:
- (QWebHistoryItem::icon):
- * Api/qwebsettings.cpp:
- (QWebSettings::iconForUrl):
- 2012-06-18 Andras Becsi <andras.becsi@nokia.com>
- [Qt] Update QML plugins to Qt 5 style
- https://bugs.webkit.org/show_bug.cgi?id=89027
- Reviewed by Csaba Osztrogonác.
- Since support for Qt 4 style plugins was removed from Qt 5
- we need to update our plugins to the new style to be able
- to build with a more recent Qt 5 hash.
- Add empty plugin description json files for now.
- * declarative/experimental/plugin.cpp:
- * declarative/experimental/plugin.json: Added.
- * declarative/plugin.cpp:
- (WebKitQmlPlugin):
- * declarative/plugin.json: Added.
- 2012-06-13 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Remove dependency to QtScript for the Qt 5 build
- https://bugs.webkit.org/show_bug.cgi?id=88993
- Reviewed by Kenneth Rohde Christiansen.
- When building against Qt 5, replace the use of QScriptEngine::ValueOwnership with
- a (compatible) QWebFrame::ValueOwnership enum.
- * Api/qwebframe.cpp:
- (qtSenderCallback):
- (QWebFrame::addToJavaScriptWindowObject):
- * Api/qwebframe.h:
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::arrayObjectEnumerable):
- (tst_QObjectBridge::ownership):
- (tst_QObjectBridge::qObjectWrapperWithSameIdentity):
- 2012-06-12 Csaba Osztrogonác <ossy@webkit.org>
- [Qt][Mac] Unreviewed buildfix after r120076.
- * WebCoreSupport/QTKitFullScreenVideoHandler.h:
- 2012-06-11 Kaustubh Atrawalkar <kaustubh@motorola.com>
- [DRT] LTC:: counterValueForElementById() could be moved to Internals.
- https://bugs.webkit.org/show_bug.cgi?id=84406
- Reviewed by Hajime Morita.
- Move the counterValueForElementById from LayoutTestCotroller to Internals and
- remove the old platform specific implementations as it exclusively tests WebCore functionality.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-06-11 Csaba Osztrogonác <ossy@webkit.org>
- [Qt][Win] Add missing includes to fix the build
- https://bugs.webkit.org/show_bug.cgi?id=88538
- Reviewed by Simon Hausmann.
- * Api/qwebframe.cpp:
- * WebCoreSupport/ChromeClientQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/GeolocationClientQt.cpp:
- * WebCoreSupport/IconDatabaseClientQt.cpp:
- 2012-06-08 Simon Hausmann <simon.hausmann@nokia.com>
- Unreviewed, fix file permissions.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- 2012-06-07 Zoltan Horvath <zoltan@webkit.org>
- [Qt] Qt DRT should load external resources - cleanup
- https://bugs.webkit.org/show_bug.cgi?id=88568
- Make things more straighforward to load external URLs in DRT.
- Reviewed by Ryosuke Niwa.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
- 2012-06-06 Zoltan Horvath <zoltan@webkit.org>
- [Qt] Qt DRT / WTR should be able to load external resources
- https://bugs.webkit.org/show_bug.cgi?id=87326
- Reviewed by Hajime Morita.
- Allow external resources to be loaded when the main frame's URL is also an external resource.
- This change is analogous to r118231 for Mac port and to r119153 Chromium port.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::blockRequest):
- (WebCore):
- (WebCore::isLocalhost):
- (WebCore::hostIsUsedBySomeTestsToGenerateError):
- (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
- 2012-06-05 Max Feil <mfeil@rim.com>
- [BlackBerry] Conditionally enlarge HTML5 video controls in fullscreen mode
- https://bugs.webkit.org/show_bug.cgi?id=87551
- Reviewed by Antonio Gomes.
- Add a new parameter to adjustSliderThumbSize() for BlackBerry
- port. Fixing compiles of other ports.
- * WebCoreSupport/RenderThemeQStyle.cpp:
- (WebCore::RenderThemeQStyle::adjustSliderThumbSize):
- * WebCoreSupport/RenderThemeQStyle.h:
- (RenderThemeQStyle):
- 2012-06-04 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r119384.
- http://trac.webkit.org/changeset/119384
- https://bugs.webkit.org/show_bug.cgi?id=88227
- Need to update some tests, I'll roll in later. (Requested by
- Zoltan on #webkit).
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
- 2012-06-04 Zoltan Horvath <zoltan@webkit.org>
- [Qt] Qt DRT / WTR should be able to load external resources
- https://bugs.webkit.org/show_bug.cgi?id=87326
- Reviewed by Ryosuke Niwa.
- Allow external resources to be loaded when the main frame's URL is also an external resource.
- This change is analogous to r118231 for Mac port and to r119153 Chromium port.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::blockRequest):
- (WebCore):
- (WebCore::isLocalhost):
- (WebCore::hostIsUsedBySomeTestsToGenerateError):
- (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
- 2012-06-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Don't use WebKit HAVE() macro in public Qt headers
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qgraphicswebview.h:
- * Api/qwebframe_p.h:
- * Api/qwebpage.h:
- * Api/qwebview.h:
- 2012-06-02 Zoltan Arvai <zarvai@inf.u-szeged.hu>
- [Qt] Use 'Ok' and 'Cancel' buttons in JavaScript confirm box.
- https://bugs.webkit.org/show_bug.cgi?id=76190
- Based on Johannes Obermayrs (johannesobermayr@gmx.de) patch.
- See: http://www.javascripter.net/faq/confirm.htm
- Fixes: https://bugs.kde.org/show_bug.cgi?id=287629
- Reviewed by Simon Hausmann.
- * Api/qwebpage.cpp:
- (QWebPage::javaScriptConfirm):
- 2012-06-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] Fix QObject bridge tests in Qt5 after (not so) recent QVariant changes
- https://bugs.webkit.org/show_bug.cgi?id=88127
- Reviewed by Noam Rosenthal.
- We were checking for invalid QVariants in a very odd way. Since in Qt5 the
- userType of invalid changed to not be Void, this broke the tests for QtWebKit
- with Qt5. Replace those checks with QVariant::isValid() calls.
- * tests/qobjectbridge/tst_qobjectbridge.cpp:
- (tst_QObjectBridge::evalJS):
- (tst_QObjectBridge::evalJSV):
- 2012-06-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] Move QObject bridge related tests from tst_qwebframe to tst_qobjectbridge
- https://bugs.webkit.org/show_bug.cgi?id=88117
- Reviewed by Noam Rosenthal.
- Five tests (classEnums, classConstructor, transferInvokable, findObject and
- findChildren) were removed since they contained commented code since the file was
- added back in 2008. The QObject bridge tests were probably inspired in similar
- tests for QtScript, so many features not yet implemented were present in QtWebKit
- tests but commented.
- Other minor changes:
- - Moved MyEnumTestQObject near the only test function that uses it.
- - Removed unnecessary Q_INVOKABLE from setBrushProperty.
- - Removed some bits of dead / commented code.
- * tests/qobjectbridge/qobjectbridge.pro: Added.
- * tests/qobjectbridge/tst_qobjectbridge.cpp: Copied from Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp.
- Kept only the tests related to QObject bridge implementation.
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame):
- (tst_QWebFrame::init):
- (tst_QWebFrame::cleanup):
- 2012-06-01 Thiago Marcos P. Santos <thiago.santos@intel.com>
- [Qt] Remove deprecated to/fromAscii()
- https://bugs.webkit.org/show_bug.cgi?id=88086
- Reviewed by Simon Hausmann.
- Replacing to/fromAscii with to/fromLatin1 since it
- is deprecated on Qt5.
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore):
- * WebCoreSupport/InspectorServerQt.cpp:
- (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- (tst_QDeclarativeWebView::settings):
- 2012-05-31 Hajime Morrita <morrita@chromium.org>
- REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
- https://bugs.webkit.org/show_bug.cgi?id=86859
- Reviewed by Ryosuke Niwa.
- * WebCoreSupport/TextCheckerClientQt.h:
- (WebCore::TextCheckerClientQt::requestCheckingOfString):
- 2012-05-31 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Simplify QT_VERSION_CHECKS for Qt5 by introducing HAVE(QT5)
- https://bugs.webkit.org/show_bug.cgi?id=87955
- Reviewed by Simon Hausmann.
- * Api/qgraphicswebview.cpp:
- * Api/qgraphicswebview.h:
- * Api/qwebframe.cpp:
- * Api/qwebframe_p.h:
- * Api/qwebpage.cpp:
- * Api/qwebpage.h:
- * Api/qwebsettings.cpp:
- * Api/qwebview.cpp:
- * Api/qwebview.h:
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- * WebCoreSupport/GeolocationClientQt.cpp:
- * WebCoreSupport/GeolocationClientQt.h:
- * WebCoreSupport/PageClientQt.cpp:
- * WebCoreSupport/WebEventConversion.cpp:
- * declarative/plugin.cpp:
- * tests/qwebframe/tst_qwebframe.cpp:
- * tests/util.h:
- 2012-05-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Sync up favicon-implementation with WebView url changes in r118158
- https://bugs.webkit.org/show_bug.cgi?id=87133
- We now base64-encode the page url in the image-provider url, so that any
- normalization done by QUrl will not mess up the page-url. The logic of
- creating and parsing the provider-url has been moved into the image
- provider, to keep it in one place.
- We were also releasing icons (even ones we hadn't retained), which we can't
- do since we don't know when the icon url is no longer in use.
- Reviewed-by Simon Hausmann.
- * declarative/plugin.cpp:
- * declarative/public.pri:
- 2012-05-25 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
- WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
- https://bugs.webkit.org/show_bug.cgi?id=42328
- Reviewed by Eric Seidel.
- Removed unneeded setJavaScriptProfilingEnabled function from DRT after its
- move to windows.internals.settings.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-05-27 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Trivial unreviewed build fix with newer Qt
- * Api/qwebpage.cpp:
- (QWebPage::javaScriptPrompt): Don't use deprecated QString/QChar functions.
- 2012-05-24 Ryosuke Niwa <rniwa@webkit.org>
- createContextualFragment and insertAdjacentHTML should throw syntax error
- https://bugs.webkit.org/show_bug.cgi?id=87454
- Reviewed by Darin Adler.
- Pass an ExceptionCode to createContextualFragment.
- * Api/qwebelement.cpp:
- (QWebElement::appendInside):
- (QWebElement::prependInside):
- (QWebElement::prependOutside):
- (QWebElement::appendOutside):
- (QWebElement::encloseContentsWith):
- (QWebElement::encloseWith):
- 2012-05-25 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] Buildfix for newer Qt5
- https://bugs.webkit.org/show_bug.cgi?id=87257
- Reviewed by Simon Hausmann.
- * Api/qgraphicswebview.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
- * Api/qwebframe.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
- * Api/qwebhistory.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
- * Api/qwebsettings.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
- * Api/qwebview.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
- * WebCoreSupport/FrameLoaderClientQt.cpp: Adjust QCoreApplication::translate() parameter list to newer Qt 5.
- (WebCore::FrameLoaderClientQt::cancelledError):
- (WebCore::FrameLoaderClientQt::blockedError):
- (WebCore::FrameLoaderClientQt::cannotShowURLError):
- (WebCore::FrameLoaderClientQt::interruptedForPolicyChangeError):
- (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
- (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
- (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError):
- * declarative/experimental/plugin.cpp: QDeclarativeExtensionPlugin -> QQmlExtensionPlugin renaming.
- * declarative/plugin.cpp: QDeclarativeExtensionPlugin -> QQmlExtensionPlugin renaming.
- (WebKitQmlPlugin):
- 2012-05-24 Ryosuke Niwa <rniwa@webkit.org>
- There are too many poorly named functions to create a fragment from markup
- https://bugs.webkit.org/show_bug.cgi?id=87339
- Reviewed by Eric Seidel.
- Replace calls to Range::createDocumentFragmentForElement by calls to
- createContextualDocumentFragment.
- * Api/qwebelement.cpp:
- (QWebElement::appendInside):
- (QWebElement::prependInside):
- (QWebElement::prependOutside):
- (QWebElement::appendOutside):
- (QWebElement::encloseContentsWith):
- (QWebElement::encloseWith):
- 2012-05-24 Gabor Ballabas <gaborb@inf.u-szeged.hu>
- [Qt] Fix Webkit1 + V8 build.
- https://bugs.webkit.org/show_bug.cgi?id=87368
- Reviewed by Eric Seidel.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
- 2012-05-24 Steffen Imhof <steffen.imhof@basyskom.com>
- https://bugs.webkit.org/show_bug.cgi?id=67093
- [Qt] Default window.alert shows HTML entities in certain cases
- Instead of HTML escaping the text of JS alerts (which does not work
- consistently because of Qt's automatisms), build message boxes
- explicitly to be able set the text format to plain text.
- QInputDialog is a bit hacky, because there is no way to access or
- control the contained QLabel.
- Reviewed by Simon Hausmann.
- * Api/qwebpage.cpp:
- (QWebPage::javaScriptAlert):
- (QWebPage::javaScriptConfirm):
- (QWebPage::javaScriptPrompt):
- 2012-05-21 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Move setEditingBehavior() from layoutTestController to window.internals
- https://bugs.webkit.org/show_bug.cgi?id=42689
- Reviewed by Hajime Morita and Kenneth Rohde Christiansen.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setWindowsBehaviorAsEditingBehavior): Reduce the job
- done by this function to the minimal.
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-05-18 MORITA Hajime <morrita@google.com>
- https://bugs.webkit.org/show_bug.cgi?id=85515
- Stale frame in WebCore::SpellChecker::didCheckSucceeded
- Reviewed by Ryosuke Niwa.
- * WebCoreSupport/EditorClientQt.h:
- (WebCore::EditorClientQt::frameWillDetachPage):
- 2012-05-17 Hironori Bono <hbono@chromium.org>
- [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
- https://bugs.webkit.org/show_bug.cgi?id=86591
- Reviewed by Ryosuke Niwa.
- This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
- function to remove platform-specific code from Editor::respondToChangedSelection
- function.
- No new tests, no change in behavior.
- * WebCoreSupport/TextCheckerClientQt.cpp:
- (WebCore::TextCheckerClientQt::shouldEraseMarkersAfterChangeSelection):
- (WebCore):
- * WebCoreSupport/TextCheckerClientQt.h:
- (TextCheckerClientQt):
- 2012-05-17 Dan Bernstein <mitz@apple.com>
- REGRESSION (r117428): WebKit API/SPI was removed
- https://bugs.webkit.org/show_bug.cgi?id=86748
- Reverted r117428.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-05-17 Tsarko Yaroslav <eriktsarko@googlemail.com>
- Reviewed by Yury Semikhatsky.
- Bug 71271: [Qt] Web Inspector: local inspector client UI becomes unresponsive on debugger pause during
- https://bugs.webkit.org/show_bug.cgi?id=71271
- Web Inspector should not belong to any other page groups since it is a specialized debugger window.
- The reason for this change is when debugger pauses web page it pauses all the pages in the page group of debuggee.
- This leads that Web Inspector front-end is paused too leading to locked Web Inspector GUI (bugzilla ticket 71271).
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::openInspectorFrontend):
- 2012-05-17 Gyuyoung Kim <gyuyoung.kim@samsung.com>
- Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface
- https://bugs.webkit.org/show_bug.cgi?id=86704
- Reviewed by Eric Seidel.
- Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the
- cross-port way through the InternalSettings interface.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-05-15 Kenneth Rohde Christiansen <kenneth@webkit.org>
- [Qt] Add infra for testing double-tap to zoom functionality etc
- https://bugs.webkit.org/show_bug.cgi?id=86474
- Reviewed by Simon Hausmann.
- The WebViewportInfo class was renamed to QWebKitTest in preparation
- of becoming a separate module. Adapt the use API.
- * declarative/experimental/plugin.cpp:
- 2012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
- Move resumeAnimations to use Internals interface
- https://bugs.webkit.org/show_bug.cgi?id=86063
- Reviewed by Alexey Proskuryakov.
- Remove resumeAnimations functions, because it is able to work in the
- cross-port way through the Internals interface.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-05-10 Marius Storm-Olsen <marius.storm-olsen@nokia.com>
- [Qt] Fix \sa usage in documentation
- Ensure comma between elements (6 missing).
- Reviewed by Tor Arne Vestbø.
- * Api/qwebpage.cpp:
- 2012-05-09 Gyuyoung Kim <gyuyoung.kim@samsung.com>
- Move suspendAnimations to use Internals interface.
- https://bugs.webkit.org/show_bug.cgi?id=85986
- Reviewed by Ryosuke Niwa.
- Remove suspendAnimations functions, because it is able to work in the
- cross-port way through the Internals interface.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-05-08 Balazs Kelemen <kbalazs@webkit.org>
- [Qt] X11 plugins need to be reworked for Qt5+WK1
- https://bugs.webkit.org/show_bug.cgi?id=80691
- Reviewed by Simon Hausmann.
- * Api/qwebsettings.cpp:
- (QWebSettings::enablePersistentStorage):
- Build fix for Qt5.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::createPlugin):
- Inject the wmode parameter for flash so it will
- work in windowless, non-transparent mode which
- is the only one we support currently.
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore):
- (WebCore::QWebPageClient::ownerWindow):
- Added a getter for the top level window so the PluginView
- can get it without calling into QtWidgets code.
- 2012-05-06 Gyuyoung Kim <gyuyoung.kim@samsung.com>
- Convert isPageBoxVisible to use Internals interface.
- https://bugs.webkit.org/show_bug.cgi?id=85692
- Reviewed by Darin Adler.
- Remove isPageBoxVisible functions, because it is able to work in the
- cross-port way through the Internals interface.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-05-04 Nate Chapin <japhet@chromium.org>
- Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
- https://bugs.webkit.org/show_bug.cgi?id=85533
- Reviewed by Alexey Proskuryakov.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
- (WebCore):
- (WebCore::FrameLoaderClientQt::finishedLoading):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (WebCore::FrameLoaderClientQt::makeRepresentation):
- (WebCore::FrameLoaderClientQt::revertToProvisionalState):
- (FrameLoaderClientQt):
- 2012-05-03 Fady Samuel <fsamuel@chromium.org>
- Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
- https://bugs.webkit.org/show_bug.cgi?id=70609
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qwebpage.cpp:
- (QWebPage::viewportAttributesForSize):
- * Api/qwebpage.h:
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::viewportAsText):
- 2012-04-27 Jon Lee <jonlee@apple.com>
- Migrate permission functions to Notification from NotificationCenter
- https://bugs.webkit.org/show_bug.cgi?id=80485
- <rdar://problem/10965458>
- Reviewed by Jian Li.
- * WebCoreSupport/NotificationPresenterClientQt.h:
- (NotificationPresenterClientQt): Add stub implementation of requestPermission.
- (WebCore::NotificationPresenterClientQt::requestPermission):
- 2012-05-02 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r115907.
- http://trac.webkit.org/changeset/115907
- https://bugs.webkit.org/show_bug.cgi?id=85458
- It broke all viewport tests on Qt and on GTK (Requested by
- Ossy on #webkit).
- * Api/qwebpage.cpp:
- (QWebPage::viewportAttributesForSize):
- * Api/qwebpage.h:
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::viewportAsText):
- 2012-04-18 Jon Honeycutt <jhoneycutt@apple.com>
- FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
- information about the form being submitted
- https://bugs.webkit.org/show_bug.cgi?id=84297
- Reviewed by Andy Estes.
- * WebCoreSupport/FrameLoaderClientQt.h:
- (WebCore::FrameLoaderClientQt::dispatchWillSendSubmitEvent):
- Updated method declaration.
- 2012-05-02 Fady Samuel <fsamuel@chromium.org>
- Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
- https://bugs.webkit.org/show_bug.cgi?id=70609
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qwebpage.h:
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::viewportAsText):
- 2012-05-02 Milian Wolff <milian.wolff@kdab.com>
- [Qt] Pass page-height to PrintContext::begin to fix print layouting
- https://bugs.webkit.org/show_bug.cgi?id=84864
- Reviewed by Simon Hausmann.
- * Api/qwebframe.cpp:
- (QWebFrame::print):
- 2012-05-02 Kenneth Rohde Christiansen <kenneth@webkit.org>
- [Qt] Add initial QML documentation
- https://bugs.webkit.org/show_bug.cgi?id=85370
- Reviewed by Simon Hausmann.
- * docs/qtwebkit.qdocconf: Add WebKit2 dirs.
- 2012-05-02 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] Buildfix after r115812 for !ENABLE(DEVICE_ORIENTATION) builds.
- https://bugs.webkit.org/show_bug.cgi?id=64595
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qwebpage.cpp:
- 2012-04-27 Allan Sandfeld Jensen <allan.jensen@nokia.com>
- Move WebKit1 specific conversion of touch-events to WebKit1
- https://bugs.webkit.org/show_bug.cgi?id=84951
- Reviewed by Kenneth Rohde Christiansen.
- Fix compile when touch-events are disabled.
- * WebCoreSupport/WebEventConversion.cpp:
- (WebCore):
- * WebCoreSupport/WebEventConversion.h:
- (WebCore):
- 2012-04-26 Allan Sandfeld Jensen <allan.jensen@nokia.com>
- Move WebKit1 specific conversion of touch-events to WebKit1.
- https://bugs.webkit.org/show_bug.cgi?id=84951
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::touchEvent):
- * WebCoreSupport/WebEventConversion.cpp:
- (WebKitPlatformTouchEvent):
- (WebKitPlatformTouchPoint):
- (WebCore::WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
- (WebCore::WebKitPlatformTouchPoint::WebKitPlatformTouchPoint):
- (WebCore::convertTouchEvent):
- * WebCoreSupport/WebEventConversion.h:
- 2012-04-25 Alexis Menard <alexis.menard@openbossa.org>
- Rename CSSStyleSelector files to StyleResolver.
- https://bugs.webkit.org/show_bug.cgi?id=84814
- Reviewed by Antti Koivisto.
- Rename CSSStyleSelector files to match the new class name StyleResolver.
- Update the includes all over the code base to the new name.
- * Api/qwebelement.cpp:
- * WebCoreSupport/RenderThemeQStyle.cpp:
- 2012-04-25 Milian Wolff <milian.wolff@kdab.com>
- [Qt] add LayoutTestController::setPrinting support to Qt unit tests
- https://bugs.webkit.org/show_bug.cgi?id=84246
- Reviewed by Simon Hausmann.
- * Api/qwebframe.cpp:
- (QWebFrame::paintPagesWithBoundaries):
- * Api/qwebframe.h:
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::paintPagesWithBoundaries):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-04-24 Alexis Menard <alexis.menard@openbossa.org>
- Replace occurences of style selector from variables and methods names by style resolver.
- https://bugs.webkit.org/show_bug.cgi?id=84765
- Reviewed by Andreas Kling.
- Rename methods and variables to follow the new name StyleResolver. It requires to update the
- local variables, methods parameters, and function names to match the new name and to remove
- the concept of "selector" to avoid clashing with the CSS concept. The next and last patch
- will be to rename CSSStyleSelector file and update the includes.
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setMediaType):
- * WebCoreSupport/RenderThemeQStyle.cpp:
- (WebCore::RenderThemeQStyle::adjustButtonStyle):
- (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
- (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
- (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
- (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
- (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
- 2012-04-24 Alexis Menard <alexis.menard@openbossa.org>
- Rename CSSStyleSelector class to StyleResolver.
- https://bugs.webkit.org/show_bug.cgi?id=84734
- Reviewed by Andreas Kling.
- The name CSSStyleSelector is confusing as it conflicts a bit with
- the CSS concept of selectors. One could think it's an encapsulation
- of the CSS selectors but it's not, in fact this class is responsible
- of finding the RenderStyle for a given element. This is the first patch
- as I will later rename the files, and then rename the local variables.
- * WebCoreSupport/RenderThemeQStyle.cpp:
- (WebCore::RenderThemeQStyle::adjustButtonStyle):
- (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
- (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
- (WebCore::RenderThemeQStyle::adjustSliderTrackStyle):
- (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
- (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
- (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
- * WebCoreSupport/RenderThemeQStyle.h:
- (RenderThemeQStyle):
- 2012-04-24 Yael Aharon <yael.aharon@nokia.com>
- [Qt] Move notification icon download out of WebCore
- https://bugs.webkit.org/show_bug.cgi?id=80700
- Reviewed by Simon Hausmann.
- Remove the code that handles the notification's icon and use the icon url instead.
- The "display" event has to be asynchronous, so a timer was added to achieve that.
- The platform plugin API and example were updated to reflect this change.
- This change does not address the recent changes in web notifications spec.
- * Api/qwebkitplatformplugin.h:
- (QWebNotificationData):
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationWrapper::NotificationWrapper):
- (WebCore::NotificationWrapper::sendDisplayEvent):
- (WebCore):
- (WebCore::NotificationWrapper::iconUrl):
- (WebCore::NotificationPresenterClientQt::show):
- (WebCore::NotificationPresenterClientQt::displayNotification):
- (WebCore::NotificationPresenterClientQt::sendDisplayEvent):
- * WebCoreSupport/NotificationPresenterClientQt.h:
- (NotificationWrapper):
- (NotificationPresenterClientQt):
- * examples/platformplugin/WebNotificationPresenter.cpp:
- (WebNotificationWidget::showNotification):
- * examples/platformplugin/qwebkitplatformplugin.h:
- (QWebNotificationData):
- 2012-04-18 Allan Sandfeld Jensen <allan.jensen@nokia.com>
- Clean-up WheelEvent Conversion.
- https://bugs.webkit.org/show_bug.cgi?id=84243
- Reviewed by Simon Hausmann.
- * WebCoreSupport/WebEventConversion.cpp:
- (WebCore::WebKitPlatformWheelEvent::applyDelta):
- 2012-04-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Build fix with QT_NO_BEARERMANAGEMENT
- Reviewed by Jocelyn Turcotte.
- * tests/benchmarks/loading/tst_loading.cpp:
- (tst_Loading):
- (tst_Loading::load):
- * tests/benchmarks/painting/tst_painting.cpp:
- (tst_Painting):
- (tst_Painting::paint):
- 2012-04-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Fix build on OS X
- We were manually including the directories needed from WTF, instead of
- using the WEBKIT qmake variable to add dependencies, which also adds
- other tricks from WTF.pri, such as the right include paths for ICU.
- Reviewed by Simon Hausmann.
- * declarative/experimental/experimental.pri:
- * declarative/public.pri:
- 2012-04-12 Balazs Kelemen <kbalazs@webkit.org>
- [Qt] Fix WebKit1 build with V8
- https://bugs.webkit.org/show_bug.cgi?id=83322
- Reviewed by Adam Barth.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::didCreateScriptContext):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (FrameLoaderClientQt):
- (WebCore::FrameLoaderClientQt::allowScriptExtension):
- * WebCoreSupport/InitWebCoreQt.cpp:
- 2012-03-05 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] Use QRawFont when building with Qt 5
- https://bugs.webkit.org/show_bug.cgi?id=78001
- Since QFont is not used internally, we now need
- to query for a QFont that should be a good
- enough match.
- Reviewed by Simon Hausmann.
- * Api/qwebpage.cpp:
- (QWebPage::inputMethodQuery):
- * WebCoreSupport/PopupMenuQt.cpp:
- (WebCore::PopupMenuQt::show):
- * WebCoreSupport/RenderThemeQStyle.cpp:
- (WebCore::RenderThemeQStyle::computeSizeBasedOnStyle):
- 2012-04-06 Levi Weintraub <leviw@chromium.org>
- Correct LayoutUnit usgae in RenderThemeQt and RenderThemeQStyle
- https://bugs.webkit.org/show_bug.cgi?id=83376
- Reviewed by Eric Seidel.
- Calculating the progress animation using the pixel-snapped RenderProgress size instead
- of the internal sub-pixel version.
- * WebCoreSupport/RenderThemeQStyle.cpp:
- (WebCore::RenderThemeQStyle::animationDurationForProgressBar):
- 2012-04-05 Patrick Gansterer <paroga@webkit.org>
- [Qt] Correct <wtf/*.h> include paths.
- https://bugs.webkit.org/show_bug.cgi?id=83270
- Reviewed by Eric Seidel.
- Modify the #include declerations so that the
- wtf types are included using the full path.
- * Api/qwebpage.cpp:
- * WebCoreSupport/ContextMenuClientQt.h:
- * WebCoreSupport/EditorClientQt.h:
- * WebCoreSupport/FrameLoaderClientQt.h:
- * WebCoreSupport/InspectorServerQt.cpp:
- 2012-04-05 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] Fix includes after QtDeclarative -> QtQML renaming
- https://bugs.webkit.org/show_bug.cgi?id=82195
- Relanding r112651, because Qt5 is updated everywhere.
- * declarative/experimental/plugin.cpp:
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::initializeEngine):
- 2012-04-04 Andras Becsi <andras.becsi@nokia.com>
- [Qt][WK2] Make the WebView a subclass of Flickable
- https://bugs.webkit.org/show_bug.cgi?id=83033
- Reviewed by Kenneth Rohde Christiansen.
- Add needed dependency to quick-private for projects that include the WebView header.
- * declarative/experimental/experimental.pri:
- * declarative/public.pri:
- 2012-04-03 Alexis Menard <alexis.menard@openbossa.org>
- [Part 2] We should use CSSPropertyID rather than integers when manipulating CSS property ids.
- https://bugs.webkit.org/show_bug.cgi?id=82977
- Reviewed by Andreas Kling.
- Update the code to use CSSPropertyID rather than an integer.
- * Api/qwebelement.cpp:
- (QWebElement::setStyleProperty):
- 2012-04-02 Alexis Menard <alexis.menard@openbossa.org>
- We should use CSSPropertyID rather than integers when manipulating CSS property ids.
- https://bugs.webkit.org/show_bug.cgi?id=82941
- Reviewed by Andreas Kling.
- CSSPropertyID enum holds all the CSS property ids but many parts of WebKit treat the ids
- as integers. While it's not incorrect it is nicer to use the enum as a parameter of
- functions manipulating property ids, as we ensure that the value passed will be an
- existing value. It will also feel more correct after this patch that CSSProperty::id()
- return a value of the enum rather than an integer. As this modification is quite big this
- is the first part only so it will be easier to review.
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty): Adapt to the API change and also remove an unecessary name->id
- conversion.
- 2012-04-02 Casper van Donderen <casper.vandonderen@nokia.com>
- Qt: Doc: Fix typo which marks document to be printed in console font.
- https://bugs.webkit.org/show_bug.cgi?id=82893
- Reviewed by Simon Hausmann.
- The qtwebkit-bridge.qdoc file contained a typo where a \c {} was
- missing its closing curly bracket, this marked the rest of the page as
- text to be printed using the code/console font.
- * docs/qtwebkit-bridge.qdoc:
- 2012-04-02 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r112651.
- http://trac.webkit.org/changeset/112651
- https://bugs.webkit.org/show_bug.cgi?id=82887
- It doesn't work with older Qt5 (Requested by Ossy on #webkit).
- * declarative/experimental/plugin.cpp:
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::initializeEngine):
- 2012-04-01 Jon Lee <jonlee@apple.com>
- Rename notification properties and functions
- https://bugs.webkit.org/show_bug.cgi?id=80482
- <rdar://problem/10912432>
- Reviewed by Kentaro Hara.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationPresenterClientQt::show): Refactor to call tag().
- (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue): Refactor to call tag().
- 2012-03-30 Emil A Eklund <eae@chromium.org>
- Change WebKit/WebKit2 platform code to use pixel snapped values
- https://bugs.webkit.org/show_bug.cgi?id=82549
- Reviewed by Eric Seidel.
- * Api/qwebelement.cpp:
- (QWebElement::geometry):
- Replace getRect with getPixelSnappedRect to avoid having to expose
- subpixel types to the platform layer.
-
- * Api/qwebpage.cpp:
- (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
- Use pixel snapped element rect when comparing with the touch rect as the
- touch rect use screen cordinates which are represented with pixel
- accuracy.
-
- * WebCoreSupport/ChromeClientQt.h:
- (WebCore::ChromeClientQt::scrollRectIntoView):
- Change scrollRectIntoView to take a LayoutRect to match base class
- interface.
- 2012-03-30 Mark Pilgrim <pilgrim@chromium.org>
- GEOLOCATION should be implemented as Page Supplement
- https://bugs.webkit.org/show_bug.cgi?id=82228
- Reviewed by Adam Barth.
- Geolocation is now a Supplement in Page so the interface
- has changed for setting up the page's geolocation client
- initially and accessing the controller later.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::resetGeolocationMock):
- (DumpRenderTreeSupportQt::setMockGeolocationPermission):
- (DumpRenderTreeSupportQt::setMockGeolocationPosition):
- (DumpRenderTreeSupportQt::setMockGeolocationError):
- (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
- * WebCoreSupport/GeolocationClientQt.cpp:
- (WebCore::GeolocationClientQt::positionUpdated):
- (WebCore::GeolocationClientQt::startUpdating):
- 2012-03-29 Ádám Kallai <kadam@inf.u-szeged.hu>
- [Qt] Build fix by renameing QtDeclarative to QtQml in header calls.
- https://bugs.webkit.org/show_bug.cgi?id=82195
- Reviewed by Simon Hausmann.
- * declarative/experimental/plugin.cpp:
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::initializeEngine):
- 2012-03-29 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r112553.
- http://trac.webkit.org/changeset/112553
- https://bugs.webkit.org/show_bug.cgi?id=82638
- It made all tests crash on Qt WK2 (Requested by Ossy_away on
- #webkit).
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::resetGeolocationMock):
- (DumpRenderTreeSupportQt::setMockGeolocationPermission):
- (DumpRenderTreeSupportQt::setMockGeolocationPosition):
- (DumpRenderTreeSupportQt::setMockGeolocationError):
- (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
- * WebCoreSupport/GeolocationClientQt.cpp:
- (WebCore::GeolocationClientQt::positionUpdated):
- (WebCore::GeolocationClientQt::startUpdating):
- 2012-03-29 Mark Pilgrim <pilgrim@chromium.org>
- GEOLOCATION should be implemented as Page Supplement
- https://bugs.webkit.org/show_bug.cgi?id=82228
- Reviewed by Adam Barth.
- Geolocation is now a Supplement in Page so the interface
- has changed for setting up the page's geolocation client
- initially and accessing the controller later.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::resetGeolocationMock):
- (DumpRenderTreeSupportQt::setMockGeolocationPermission):
- (DumpRenderTreeSupportQt::setMockGeolocationPosition):
- (DumpRenderTreeSupportQt::setMockGeolocationError):
- (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
- * WebCoreSupport/GeolocationClientQt.cpp:
- (WebCore::GeolocationClientQt::positionUpdated):
- (WebCore::GeolocationClientQt::startUpdating):
- 2012-03-28 Nate Chapin <japhet@chromium.org>
- Remove dispatchDidLoadMainResource callback, since no
- port implements it.
- https://bugs.webkit.org/show_bug.cgi?id=82539
- Reviewed by Alexey Proskuryakov.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (FrameLoaderClientQt):
- 2012-03-20 Eric Seidel <eric@webkit.org>
- Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf
- https://bugs.webkit.org/show_bug.cgi?id=80911
- Reviewed by Adam Barth.
- Fix WTF header include paths since although
- Source/WTF is included, no longer are all the
- subdirectories (thus "RefPtr.h" can't work).
- * Api/qwebdatabase_p.h:
- * Api/qwebscriptworld_p.h:
- * Api/qwebsecurityorigin_p.h:
- * WebCoreSupport/InspectorClientQt.h:
- * WebCoreSupport/QtFallbackWebPopup.h:
- * WebCoreSupport/QtWebComboBox.h:
- * declarative/experimental/experimental.pri:
- * declarative/public.pri:
- * tests/MIMESniffing/MIMESniffing.pro:
- 2012-03-19 Adam Barth <abarth@webkit.org>
- Remove support for "magic" iframe
- https://bugs.webkit.org/show_bug.cgi?id=81590
- Reviewed by Eric Seidel.
- Remove FrameLoaderClient methods that no longer exist.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (FrameLoaderClientQt):
- 2012-03-19 Emil A Eklund <eae@chromium.org>
- [mac/qt/chromium] Change platform code to use pixelSnappedRect methods
- https://bugs.webkit.org/show_bug.cgi?id=81016
- Reviewed by Eric Seidel.
- * Api/qwebelement.cpp:
- (QWebElement::geometry):
- (QWebElement::render):
- 2012-03-16 Teemu Katajisto <teemu.katajisto@digia.com>
- [Qt] QtWebKit documentation missing a few since 4.6 information
- https://bugs.webkit.org/show_bug.cgi?id=81328
- Reviewed by Simon Hausmann.
- * Api/qwebpage.cpp:
- * Api/qwebsettings.cpp:
- 2012-03-15 Yuta Kitamura <yutak@chromium.org>
- [Qt] Change default WebSocket protocol to the latest one
- https://bugs.webkit.org/show_bug.cgi?id=73630
- Reviewed by Simon Hausmann.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- Use RFC6455 WebSocket protocol by default.
- 2012-03-07 Jon Lee <jonlee@apple.com>
- Move NotificationContents into Notification
- https://bugs.webkit.org/show_bug.cgi?id=80487
- <rdar://problem/10965519>
- Reviewed by Jian Li.
- Refactor to use accessor methods on Notification.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationWrapper::title):
- (WebCore::NotificationWrapper::message):
- (WebCore::NotificationPresenterClientQt::displayNotification):
- (WebCore::NotificationPresenterClientQt::cancel):
- (WebCore::NotificationPresenterClientQt::notificationClicked):
- (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
- (WebCore::NotificationPresenterClientQt::dumpShowText):
- 2012-03-13 Jon Lee <jonlee@apple.com>
- Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
- https://bugs.webkit.org/show_bug.cgi?id=80922
- <rdar://problem/11035082>
- Reviewed by Jian Li.
- You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
- LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
- new API. Therefore, APIs that are common between the two will have:
- #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
- This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
- the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
- Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- (QWebPagePrivate::~QWebPagePrivate):
- (QWebPage::setFeaturePermission):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::dumpNotification):
- (DumpRenderTreeSupportQt::simulateDesktopNotificationClick):
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore):
- (WebCore::NotificationWrapper::NotificationWrapper):
- (WebCore::NotificationWrapper::close):
- (WebCore::NotificationWrapper::title):
- (WebCore::NotificationWrapper::message):
- (WebCore::NotificationWrapper::iconData):
- (WebCore::NotificationWrapper::openerPageUrl):
- (WebCore::NotificationWrapper::notificationClicked):
- (WebCore::NotificationWrapper::notificationClosed):
- * WebCoreSupport/NotificationPresenterClientQt.h:
- (WebCore):
- 2012-03-14 Csaba Osztrogonác <ossy@webkit.org>
- Last buildfix for Qt after r110595. :)
- Reviewed by Benjamin Poulain.
- * Api/qwebpage.cpp:
- * WebCoreSupport/GeolocationClientQt.h:
- 2012-03-13 Benjamin Poulain <bpoulain@apple.com>
- Attempt to fix QtMinimal bot after r110595
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- 2012-03-13 Benjamin Poulain <bpoulain@apple.com>
- Another attempt at fixing QtMinimal bot after r110595
- Blind fix, unreviewed.
- * WebCoreSupport/GeolocationClientQt.h:
- 2012-03-13 Benjamin Poulain <bpoulain@apple.com>
- Attempt to fix QtMinimal bot after r110595
- Blind fix, unreviewed.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::resetGeolocationMock):
- (DumpRenderTreeSupportQt::setMockGeolocationPermission):
- (DumpRenderTreeSupportQt::setMockGeolocationPosition):
- (DumpRenderTreeSupportQt::setMockGeolocationError):
- (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
- * WebCoreSupport/GeolocationPermissionClientQt.h:
- 2012-03-13 Adam Barth <abarth@webkit.org> && Benjamin Poulain <bpoulain@apple.com>
- Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
- https://bugs.webkit.org/show_bug.cgi?id=78853
- Reviewed by Adam Barth.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/ChromeClientQt.h:
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (toGeolocationClientMock):
- (DumpRenderTreeSupportQt::resetGeolocationMock):
- (DumpRenderTreeSupportQt::setMockGeolocationPermission):
- (DumpRenderTreeSupportQt::setMockGeolocationPosition):
- (DumpRenderTreeSupportQt::setMockGeolocationError):
- (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
- * WebCoreSupport/GeolocationClientQt.h:
- (WebCore):
- 2012-03-12 Antonio Gomes <agomes@rim.com>
- Convert nodesFromRect tests to use Internals interface
- https://bugs.webkit.org/show_bug.cgi?id=80886
- Reviewed by Ryosuke Niwa.
- Removed DRTSupportQt::nodesFromRect support, since
- it can work in the cross-port way through the
- Internals interface.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-03-09 Jon Lee <jonlee@apple.com>
- Rename NotificationPresenter to NotificationClient
- https://bugs.webkit.org/show_bug.cgi?id=80488
- <rdar://problem/10965558>
- Reviewed by Kentaro Hara.
- Refactor to use renamed WebCore::NotificationClient.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationPresenterClientQt::checkPermission):
- (WebCore::NotificationPresenterClientQt::allowNotificationForFrame):
- * WebCoreSupport/NotificationPresenterClientQt.h:
- (NotificationPresenterClientQt):
- 2012-03-09 Emil A Eklund <eae@chromium.org>
- Add roundedPoint to HitTestResult and change platform code to use it
- https://bugs.webkit.org/show_bug.cgi?id=80715
- Reviewed by James Robinson.
- Change ports to use roundedPoint to avoid exposing subpixel types to
- platform code.
- * Api/qwebframe.cpp:
- (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
- 2012-03-09 Jon Lee <jonlee@apple.com>
- Add support for ENABLE(LEGACY_NOTIFICATIONS)
- https://bugs.webkit.org/show_bug.cgi?id=80497
- Reviewed by Adam Barth.
- Prep for b80472: Update API for Web Notifications
- * examples/platformplugin/platformplugin.pro:
- 2012-03-09 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] Fix compilation without QtQuick1
- https://bugs.webkit.org/show_bug.cgi?id=80503
- Qt 4.8 API test fix after r110050.
- Reviewed by Zoltan Herczeg.
- * declarative/public.pri: Add load(features) to ensure HAVE_QQUICK1=1 is set.
- 2012-03-08 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Use Qt's module system for install rules and depending on QtWebKit
- Instead of rolling our own install rules we now use the same approach as
- every other Qt module, by loading qt_module.prf and qt_module_config.prf.
- This ensures that we follow the same semantics as the rest of Qt on
- what sort of config options are enabled by default (create_cmake eg.).
- It also allows us to use QT += webkit instead of the workaround we had
- with CONFIG += qtwebkit.
- We do however force Qt to always treat our build as a non-developer build,
- so the libraries will end up in the WebKit lib directory instead of the
- qtbase directory (as with a normal developer-build). This allows us to
- keep the webkit-build self-contained. If Qt is a developer build we still
- copy the module file manually to Qt, so that you don't have to install
- WebKit to make it available.
- For non-developer builds of Qt, it is still possible to use the built
- WebKit libraries without having to install them, by having the variable
- QMAKE_EXTRA_MODULE_FORWARDS set in the project's .qmake.cache file,
- pointing to $WEBKITOUTUTDIR/$CONFIGURATION/modules.
- https://bugs.webkit.org/show_bug.cgi?id=80590
- Reviewed by Simon Hausmann.
- * declarative/experimental/experimental.pri:
- * declarative/experimental/plugin.cpp:
- * declarative/plugin.cpp:
- * declarative/public.pri:
- * tests/tests.pri:
- 2012-03-08 Antti Koivisto <antti@apple.com>
- https://bugs.webkit.org/show_bug.cgi?id=80370
- Enable matched declaration caching for elements with a style attribute
- Reviewed by Andreas Kling
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- (QWebElement::setStyleProperty):
- 2012-03-07 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Fix compilation without QtQuick1
- https://bugs.webkit.org/show_bug.cgi?id=80503
- Reviewed by Tor Arne Vestbø.
- Compile and enable the QtQuick1/QML1 plugin and webview
- only if we're using Qt 4 at the moment. QQuick1 clashes
- with QQuick2 right now because both declare QDeclarativeEngine
- and friends as classes.
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- * declarative/public.pri:
- * tests/tests.pri:
- 2012-03-07 Kangil Han <kangil.han@samsung.com>
- [DRT] Remove PlainTextController implementations.
- https://bugs.webkit.org/show_bug.cgi?id=79959
- Reviewed by Hajime Morita.
- PlainTextController usages in existing tests have been
- replaced by internals API by bug 78570.
- So this patch will remove PlainTextController implementations
- to avoid further usage in new tests.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-03-06 Philippe Normand <pnormand@igalia.com>
- [GStreamer] disable GStreamerGWorld when building against 0.11
- https://bugs.webkit.org/show_bug.cgi?id=77088
- Reviewed by Martin Robinson.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::ChromeClientQt):
- (WebCore::ChromeClientQt::~ChromeClientQt):
- (WebCore):
- * WebCoreSupport/FullScreenVideoQt.cpp:
- (WebCore):
- (WebCore::FullScreenVideoQt::FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::enterFullScreenForNode):
- (WebCore::FullScreenVideoQt::exitFullScreenForNode):
- (WebCore::FullScreenVideoQt::isValid):
- * WebCoreSupport/FullScreenVideoQt.h:
- (WebCore):
- 2012-03-03 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Fix static_libs_as_shared build
- https://bugs.webkit.org/show_bug.cgi?id=80214
- Reviewed by Tor Arne Vestbø.
- Add helper function to be called by WebProcess main
- to potentially initialize the QStyle theme.
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebKit):
- (WebKit::initializeWebKit2Theme):
- 2012-03-02 Casper van Donderen <casper.vandonderen@nokia.com>
- [Qt] Documentation cleanup
- https://bugs.webkit.org/show_bug.cgi?id=80131
- Reviewed by Simon Hausmann.
- QDoc uses different commands to do bold, lists, and italics.
- This change updates the documentation accordingly.
- QTBUG-24578
- * Api/qwebframe.cpp:
- * Api/qwebhistory.cpp:
- * Api/qwebinspector.cpp:
- * Api/qwebpage.cpp:
- * Api/qwebpluginfactory.cpp:
- * Api/qwebsettings.cpp:
- * declarative/qdeclarativewebview.cpp:
- * docs/qtwebkit-bridge.qdoc:
- * docs/qtwebkit.qdoc:
- * docs/qtwebkit.qdocconf:
- 2012-03-02 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Build system cleanup
- Rubber-stamped by Antti Koivisto.
- * tests/MIMESniffing/MIMESniffing.pro: Don't link in WTFAssertions.cpp for ASSERT, now
- that the symbols are properly exported with export macros from the DLL.
- 2012-03-02 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Move QStyle theming code out of WebCore into WebKit1
- https://bugs.webkit.org/show_bug.cgi?id=80128
- Reviewed by Kenneth Rohde Christiansen.
- Moved the bulk of the QStyle dependant code here, where it's okay to depend on QtWidgets/QStyle.
- Install the QStyle factory functions in initWebCoreQt.cpp.
- * Api/qwebpage.cpp:
- (QWebPage::swallowContextMenuEvent):
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebCore::initializeWebCoreQt):
- * WebCoreSupport/RenderThemeQStyle.cpp: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.cpp.
- (WebCore):
- (WebCore::initStyleOption):
- (WebCore::RenderThemeQStyle::getStylePainter):
- (WebCore::StylePainterQStyle::StylePainterQStyle):
- (WebCore::StylePainterQStyle::init):
- (WebCore::RenderThemeQStyle::create):
- (WebCore::RenderThemeQStyle::RenderThemeQStyle):
- (WebCore::RenderThemeQStyle::~RenderThemeQStyle):
- (WebCore::RenderThemeQStyle::fallbackStyle):
- (WebCore::RenderThemeQStyle::qStyle):
- (WebCore::RenderThemeQStyle::findFrameLineWidth):
- (WebCore::RenderThemeQStyle::inflateButtonRect):
- (WebCore::RenderThemeQStyle::computeSizeBasedOnStyle):
- (WebCore::RenderThemeQStyle::adjustButtonStyle):
- (WebCore::RenderThemeQStyle::setButtonPadding):
- (WebCore::RenderThemeQStyle::paintButton):
- (WebCore::RenderThemeQStyle::paintTextField):
- (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
- (WebCore::RenderThemeQStyle::paintTextArea):
- (WebCore::RenderThemeQStyle::setPopupPadding):
- (WebCore::RenderThemeQStyle::paintMenuList):
- (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
- (WebCore::RenderThemeQStyle::paintMenuListButton):
- (WebCore::RenderThemeQStyle::animationDurationForProgressBar):
- (WebCore::RenderThemeQStyle::paintProgressBar):
- (WebCore::RenderThemeQStyle::paintSliderTrack):
- (WebCore::RenderThemeQStyle::adjustSliderTrackStyle):
- (WebCore::RenderThemeQStyle::paintSliderThumb):
- (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
- (WebCore::RenderThemeQStyle::paintSearchField):
- (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
- (WebCore::RenderThemeQStyle::paintSearchFieldDecoration):
- (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
- (WebCore::RenderThemeQStyle::paintSearchFieldResultsDecoration):
- (WebCore::RenderThemeQStyle::paintInnerSpinButton):
- (WebCore::RenderThemeQStyle::initializeCommonQStyleOptions):
- (WebCore::RenderThemeQStyle::adjustSliderThumbSize):
- * WebCoreSupport/RenderThemeQStyle.h: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.h.
- (WebCore):
- (RenderThemeQStyle):
- (StylePainterQStyle):
- (WebCore::StylePainterQStyle::isValid):
- (WebCore::StylePainterQStyle::drawPrimitive):
- (WebCore::StylePainterQStyle::drawControl):
- (WebCore::StylePainterQStyle::drawComplexControl):
- * WebCoreSupport/ScrollbarThemeQStyle.cpp: Copied from Source/WebCore/platform/qt/ScrollbarThemeQt.cpp.
- (WebCore):
- (WebCore::ScrollbarThemeQStyle::~ScrollbarThemeQStyle):
- (WebCore::scPart):
- (WebCore::scrollbarPart):
- (WebCore::styleOptionSlider):
- (WebCore::ScrollbarThemeQStyle::paint):
- (WebCore::ScrollbarThemeQStyle::hitTest):
- (WebCore::ScrollbarThemeQStyle::shouldCenterOnThumb):
- (WebCore::ScrollbarThemeQStyle::invalidatePart):
- (WebCore::ScrollbarThemeQStyle::scrollbarThickness):
- (WebCore::ScrollbarThemeQStyle::thumbPosition):
- (WebCore::ScrollbarThemeQStyle::thumbLength):
- (WebCore::ScrollbarThemeQStyle::trackPosition):
- (WebCore::ScrollbarThemeQStyle::trackLength):
- (WebCore::ScrollbarThemeQStyle::paintScrollCorner):
- (WebCore::ScrollbarThemeQStyle::style):
- * WebCoreSupport/ScrollbarThemeQStyle.h: Renamed from Source/WebCore/platform/qt/ScrollbarThemeQt.h.
- (WebCore):
- (ScrollbarThemeQStyle):
- 2012-02-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] Move registration of experimental types to the proper plugin
- https://bugs.webkit.org/show_bug.cgi?id=79706
- Reviewed by Tor Arne Vestbø.
- * declarative/experimental/plugin.cpp:
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- 2012-02-28 Antti Koivisto <antti@apple.com>
- Try to fix build.
- Not reviewed.
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- 2012-02-26 Hajime Morrita <morrita@chromium.org>
- Move ChromeClient::showContextMenu() to ContextMenuClient
- https://bugs.webkit.org/show_bug.cgi?id=79427
- Reviewed by Adam Barth.
- * WebCoreSupport/ChromeClientQt.h:
- (ChromeClientQt):
- 2012-02-24 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
- [Qt] API: Unify the loading properties and signals.
- https://bugs.webkit.org/show_bug.cgi?id=79486
- Reviewed by Simon Hausmann.
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- 2012-02-24 Holger Hans Peter Freyther <holger@moiji-mobile.com>
- [Qt] Build fix. macro "QSKIP" now only takes 1 argument on Qt5
- https://bugs.webkit.org/show_bug.cgi?id=79328
- Reviewed by Csaba Osztrogonác.
- Introduce an alternative QSKIP that can work with both Qt4
- and Qt5 without adding #ifdef to each usage site.
- * tests/benchmarks/loading/tst_loading.cpp:
- (tst_Loading::load):
- * tests/benchmarks/painting/tst_painting.cpp:
- (tst_Painting::paint):
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- (tst_QDeclarativeWebView::elementAreaAt):
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::setHtmlWithBaseURL):
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::geolocationRequestJS):
- (tst_QWebPage::loadHtml5Video):
- (tst_QWebPage::screenshot):
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView::reusePage):
- 2012-02-24 Shinya Kawanaka <shinyak@chromium.org>
- SpellCheckRequest needs to know the context where the spellcheck happened.
- https://bugs.webkit.org/show_bug.cgi?id=79320
- Reviewed by Hajime Morita.
- * WebCoreSupport/TextCheckerClientQt.h:
- (WebCore::TextCheckerClientQt::requestCheckingOfString):
- 2012-02-23 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Add support for touch cancellation
- https://bugs.webkit.org/show_bug.cgi?id=79348
- Reviewed by Kenneth Rohde Christiansen.
- Forward incoming touch cancellation events to the WebCore
- event handler.
- * Api/qgraphicswebview.cpp:
- (QGraphicsWebView::sceneEvent):
- * Api/qwebpage.cpp:
- (QWebPage::event):
- * Api/qwebview.cpp:
- (QWebView::event):
- 2012-02-22 Hajime Morrita <morrita@chromium.org>
- NOTIFICATIONS should be implemented as PageSupplement
- https://bugs.webkit.org/show_bug.cgi?id=79052
- Reviewed by Adam Barth.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- 2012-02-21 Ryosuke Niwa <rniwa@webkit.org>
- Remove the remaining uses of CSSStyleDeclaration in Editor
- https://bugs.webkit.org/show_bug.cgi?id=78939
- Reviewed by Enrica Casucci.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::shouldApplyStyle):
- * WebCoreSupport/EditorClientQt.h:
- (EditorClientQt):
- 2012-02-22 Mihnea Ovidenie <mihnea@adobe.com>
- [Qt] REGRESSION(r108108): It made 3 fast/repaint tests fail
- https://bugs.webkit.org/show_bug.cgi?id=78960
- Reviewed by Csaba Osztrogonác.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- (QWebSettings::QWebSettings):
- * Api/qwebsettings.h:
- 2012-02-22 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Move QMenu dependant scrollbar context menu handling out of WebCore
- https://bugs.webkit.org/show_bug.cgi?id=79233
- Reviewed by Kenneth Rohde Christiansen.
- Move scrollbar context menu handling here, it's the only place where it is
- used.
- * Api/qwebpage.cpp:
- (handleScrollbarContextMenuEvent):
- (QWebPage::swallowContextMenuEvent):
- 2012-02-22 Kenneth Rohde Christiansen <kenneth@webkit.org>
- Merge setVisibleRectTrajectoryVector and adjustVisibleRect to
- the more descriptive coverWithTilesIfNeeded
- https://bugs.webkit.org/show_bug.cgi?id=79230
- Reviewed by Simon Hausmann.
- * Api/qgraphicswebview.cpp:
- (QGraphicsWebView::paint):
- Use coverWithTilesIfNeeded().
- 2012-02-22 Ryosuke Niwa <rniwa@webkit.org>
- Remove the remaining uses of CSSStyleDeclaration in Editor
- https://bugs.webkit.org/show_bug.cgi?id=78939
- Reviewed by Enrica Casucci.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::shouldApplyStyle):
- * WebCoreSupport/EditorClientQt.h:
- (EditorClientQt):
- 2012-02-21 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] tst_QWebPage::infiniteLoopJS() timeouts with DFG JIT
- https://bugs.webkit.org/show_bug.cgi?id=79040
- Reviewed by Simon Hausmann.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage): Disable tst_QWebPage::infiniteLoopJS() until proper fix.
- 2012-02-21 Andras Becsi <andras.becsi@nokia.com>
- [Qt] Print warning when importing experimental WK2 APIs in QML
- https://bugs.webkit.org/show_bug.cgi?id=78817
- Reviewed by Simon Hausmann.
- * declarative/experimental/plugin.cpp:
- 2012-02-20 Benjamin Poulain <benjamin@webkit.org>
- Get rid of the LocalizationStrategy
- https://bugs.webkit.org/show_bug.cgi?id=78324
- Reviewed by Sam Weinig.
- Move the localization code from PlatformStrategiesQt.cpp
- to LocalizedStringsQt.cpp.
- Get rid of LocalizationStrategy from PlatformStrategiesQt
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- * WebCoreSupport/PlatformStrategiesQt.h:
- (PlatformStrategiesQt):
- 2012-02-16 Simon Hausmann <simon.hausmann@nokia.com>
- Unreviewed brown-paper bag build fix.
- * WebCoreSupport/WebEventConversion.cpp:
- (WebCore::WebKitPlatformWheelEvent::WebKitPlatformWheelEvent):
- 2012-02-16 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Move event conversion functions from WebCore to WebKit
- https://bugs.webkit.org/show_bug.cgi?id=78788
- Reviewed by Kenneth Rohde Christiansen.
- Move QtWidgets dependent mouse event constructors out of WebCore
- into WebKit, similar to the web event conversions of WebKit2.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::mouseMoveEvent):
- (QWebPagePrivate::mousePressEvent):
- (QWebPagePrivate::mouseDoubleClickEvent):
- (QWebPagePrivate::mouseTripleClickEvent):
- (QWebPagePrivate::mouseReleaseEvent):
- (QWebPagePrivate::wheelEvent):
- (QWebPage::swallowContextMenuEvent):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
- * WebCoreSupport/WebEventConversion.cpp: Added.
- (WebCore):
- (WebCore::mouseEventModifiersFromQtKeyboardModifiers):
- (WebCore::mouseEventTypeAndMouseButtonFromQEvent):
- (WebKitPlatformMouseEvent):
- (WebCore::WebKitPlatformMouseEvent::WebKitPlatformMouseEvent):
- (WebCore::convertMouseEvent):
- (WebKitPlatformWheelEvent):
- (WebCore::WebKitPlatformWheelEvent::applyDelta):
- (WebCore::WebKitPlatformWheelEvent::WebKitPlatformWheelEvent):
- (WebCore::convertWheelEvent):
- * WebCoreSupport/WebEventConversion.h: Added.
- (WebCore):
- 2012-02-16 Adenilson Cavalcanti <cavalcantii@gmail.com>
- [Qt][WK2] Split QWebPermissionRequest into QWebSecurityOrigin
- https://bugs.webkit.org/show_bug.cgi?id=73215
- Reviewed by Kenneth Rohde Christiansen.
- Adding a class to access security information data
- (e.g. port/scheme/etc),
- while allowing it to be handled in QML side.
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- 2012-02-15 Sadrul Habib Chowdhury <sadrul@chromium.org>
- Notify ChromeClient when touch-event handlers are installed/removed.
- https://bugs.webkit.org/show_bug.cgi?id=77440
- Reviewed by Darin Fisher and Ryosuke Niwa.
- * WebCoreSupport/ChromeClientQt.h:
- (WebCore::ChromeClientQt::numTouchEventHandlersChanged):
- 2012-02-15 Simon Hausmann <simon.hausmann@nokia.com>
- Unreviewed Qt 4.x build fix.
- * WebCoreSupport/PageClientQt.cpp: Fix the QT_VERSION_CHECK pre-processor foo.
- 2012-02-15 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Replace use of QGLWidget/QGLContext with QOpenGLContext and QSurface for Qt 5
- https://bugs.webkit.org/show_bug.cgi?id=78694
- Reviewed by Noam Rosenthal.
- * WebCoreSupport/PageClientQt.cpp:
- (createPlatformGraphicsContext3DFromWidget): Return the QOpenGLContext and QSurface
- from the QGLWidget when compiling with Qt 5, as that's what WebCore expects.
- 2012-02-15 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Move Qt platform specific GL Context/Surface creation out of WebCore into WebKit
- https://bugs.webkit.org/show_bug.cgi?id=78692
- Reviewed by Noam Rosenthal.
- Implement GLWidget and GLContext creation from the page client interface.
- * WebCoreSupport/PageClientQt.cpp:
- (createPlatformGraphicsContext3DFromWidget):
- (WebCore):
- (WebCore::PageClientQWidget::createPlatformGraphicsContext3D):
- (WebCore::PageClientQGraphicsWidget::createPlatformGraphicsContext3D):
- * WebCoreSupport/PageClientQt.h:
- (PageClientQWidget):
- (PageClientQGraphicsWidget):
- 2012-02-14 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Eliminate first set of QtWidgets dependencies from WebCore
- https://bugs.webkit.org/show_bug.cgi?id=78611
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qwebpage.cpp: Add missing includes.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Ditto.
- * WebCoreSupport/FrameLoaderClientQt.cpp: Make it compile by casting
- the QObject based PlatformWidget back to QWidget before doing QWidget
- specific function calls.
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebCore::initializeWebCoreQt): Moved QStyle specific web-graphic initialization
- here from WebCore.
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQWidget::setWidgetVisible): Implement show/hiding of widgets
- through delegation to QWidget.
- (WebCore):
- (WebCore::PageClientQGraphicsWidget::setWidgetVisible): Provide empty widget
- show/hide implementation, as it doesn't seem to make sense for graphicsviews.
- * WebCoreSupport/PageClientQt.h:
- (PageClientQWidget):
- (PageClientQGraphicsWidget):
- 2012-02-15 Kenneth Rohde Christiansen <kenneth@webkit.org>
- [Qt] Be smarted with tile usages during tiling
- https://bugs.webkit.org/show_bug.cgi?id=78243
- Reviewed by Simon Hausmann.
- Remove internal API used by Symbian.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::dynamicPropertyChangeEvent):
- 2012-02-15 No'am Rosenthal <noam.rosenthal@nokia.com>
- [Texmap] Divide TextureMapperNode.cpp to 3 files.
- https://bugs.webkit.org/show_bug.cgi?id=76660
- Rename TextureMapperNode to TextureMapperLayer.
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::renderCompositedLayers):
- * Api/qwebframe.h:
- (WebCore):
- * Api/qwebframe_p.h:
- (WebCore):
- (QWebFramePrivate::QWebFramePrivate):
- (QWebFramePrivate):
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::TextureMapperLayerClientQt::TextureMapperLayerClientQt):
- (WebCore::TextureMapperLayerClientQt::setTextureMapper):
- (WebCore::TextureMapperLayerClientQt::~TextureMapperLayerClientQt):
- (WebCore::TextureMapperLayerClientQt::syncRootLayer):
- (WebCore::TextureMapperLayerClientQt::rootLayer):
- (WebCore::PageClientQWidget::setRootGraphicsLayer):
- (WebCore::PageClientQWidget::syncLayers):
- (WebCore::PageClientQGraphicsWidget::syncLayers):
- (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
- * WebCoreSupport/PageClientQt.h:
- (TextureMapperLayerClientQt):
- (PageClientQWidget):
- (PageClientQGraphicsWidget):
- 2012-02-11 Nikolas Zimmermann <nzimmermann@rim.com>
- Convert svg/animations to use SMIL methods for driving the timeline
- https://bugs.webkit.org/show_bug.cgi?id=78422
- Reviewed by Dirk Schulze.
- Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
- Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2012-02-13 Enrica Casucci <enrica@apple.com>
- Build fix. Unreviewed.
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (PlatformStrategiesQt::createPasteboardStrategy):
- 2012-02-13 Enrica Casucci <enrica@apple.com>
- Refactor Mac platform implementation of the Pasteboard class to use Platform Strategies.
- https://bugs.webkit.org/show_bug.cgi?id=78282
- Build fix. Unreviewed.
- * WebCoreSupport/PlatformStrategiesQt.cpp:
- (WebPlatformStrategies::createPasteboardStrategy):
- * WebCoreSupport/PlatformStrategiesQt.h:
- (PlatformStrategiesQt):
- 2012-02-12 Hajime Morrita <morrita@chromium.org>
- Page should have less intrusive way to associate API implementation objects.
- https://bugs.webkit.org/show_bug.cgi?id=78085
- Reviewed by Adam Barth.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setMockDeviceOrientation):
- 2012-02-09 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Fix compilation with newer Qt5
- https://bugs.webkit.org/show_bug.cgi?id=77653
- Reviewed by Tor Arne Vestbø.
- * Api/qgraphicswebview.cpp: Removed unnecessary inclusion of removed header file.
- * declarative/public.pri: Use quick1 instead of qtquick1. It's mandator with Qt 5.
- * tests/tests.pri: Ditto.
- * declarative/qdeclarativewebview_p.h: Fix includes, just use the module-less
- version that works with all Qt versions.
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Ditto.
- 2012-02-08 Leo Franchi <lfranchi@kde.org>
- Remote web inspector reentrancy fixes
- https://bugs.webkit.org/show_bug.cgi?id=77022
- Reviewed by Joseph Pecoraro.
- * WebCoreSupport/InspectorServerQt.cpp:
- (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
- (WebCore::InspectorServerRequestHandlerQt::webSocketReadyRead):
- 2012-02-06 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Provide more attribute methods in Element
- https://bugs.webkit.org/show_bug.cgi?id=77800
- Reviewed by Ryosuke Niwa.
- * Api/qwebelement.cpp:
- (QWebElement::attributeNames): access attributes via Element interface.
- 2012-02-03 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
- [Qt] Don't version QtWebKit.experimental.
- https://bugs.webkit.org/show_bug.cgi?id=77739
- Reviewed by Tor Arne Vestbø.
- We won't support previous versions of the experimental API.
- * declarative/experimental/plugin.cpp:
- 2012-02-05 Gavin Barraclough <barraclough@apple.com>
- Remove JSObject defineGetter/defineSetter lookupGetter/lookupSetter
- https://bugs.webkit.org/show_bug.cgi?id=77451
- Reviewed by Sam Weinig.
- These can now all be implemented in terms of defineOwnProperty & getPropertyDescriptor.
- Also remove initializeGetterSetterProperty, since this is equivalent to putDirectAccessor.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::addQtSenderToGlobalObject):
- 2012-02-03 Antti Koivisto <antti@apple.com>
- Rename CSSMutableStyleDeclaration.h/.cpp to StylePropertySet.h/.cpp
- https://bugs.webkit.org/show_bug.cgi?id=77779
- Reviewed by Darin Adler.
- * Api/qwebelement.cpp:
- 2012-02-03 Antti Koivisto <antti@apple.com>
- https://bugs.webkit.org/show_bug.cgi?id=77740
- Split CSSMutableStyleDeclaration into separate internal and CSSOM types
- Reviewed by Andreas Kling and Darin Adler.
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- 2012-02-03 No'am Rosenthal <noam.rosenthal@nokia.com>
- [Qt][Texmap] Refactor TextureMapper API to use ImageBuffers when possible.
- https://bugs.webkit.org/show_bug.cgi?id=77148
- Reviewed by Martin Robinson.
- Use TextureMapper::create instead of creating TextureMapperGL/TextureMapperQt directly.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::renderCompositedLayers):
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQWidget::setRootGraphicsLayer):
- (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
- 2012-02-02 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r106620.
- http://trac.webkit.org/changeset/106620
- https://bugs.webkit.org/show_bug.cgi?id=77716
- It broke non ENABLE(3D_RENDERING) builds (Requested by
- Ossy_morning on #webkit).
- * Api/qwebframe.cpp:
- (QWebFramePrivate::renderCompositedLayers):
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQWidget::setRootGraphicsLayer):
- (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
- 2012-02-02 No'am Rosenthal <noam.rosenthal@nokia.com>
- [Qt][Texmap] Refactor TextureMapper API to use ImageBuffers when possible.
- https://bugs.webkit.org/show_bug.cgi?id=77148
- Reviewed by Martin Robinson.
- Use TextureMapper::create instead of creating TextureMapperGL/TextureMapperQt directly.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::renderCompositedLayers):
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQWidget::setRootGraphicsLayer):
- (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
- 2012-02-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Avoid creating NamedNodeMap unnecessarily
- https://bugs.webkit.org/show_bug.cgi?id=77574
- Reviewed by Ryosuke Niwa.
- * Api/qwebelement.cpp:
- (QWebElement::attributeNames): use updateAttributes().
- 2012-02-01 Alexis Menard <alexis.menard@openbossa.org>
- CSSStyleDeclaration.getPropertyPriority() fails for CSS shorthand properties with 'important' priority
- https://bugs.webkit.org/show_bug.cgi?id=49058
- Reviewed by Andreas Kling.
- Update the code as getPropertyPriority has been renamed to propertyIsImportant.
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- 2012-01-31 Antti Koivisto <antti@apple.com>
- Try to fix Qt build.
- Not reviewed.
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- 2012-01-30 Antti Koivisto <antti@apple.com>
- Reduce non-CSSOM API of CSSStyleDeclaration
- https://bugs.webkit.org/show_bug.cgi?id=77299
- Reviewed by Andreas Kling.
- * Api/qwebelement.cpp:
- (QWebElement::styleProperty):
- (QWebElement::setStyleProperty):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
- 2012-01-25 Zeno Albisser <zeno@webkit.org>
- [Qt] public.pri is missing dependency to quick module.
- https://bugs.webkit.org/show_bug.cgi?id=77016
- Reviewed by Tor Arne Vestbø.
- * declarative/public.pri:
- 2012-01-17 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
- [Qt] Debug build fails with debug qt5
- https://bugs.webkit.org/show_bug.cgi?id=76463
- Reviewed by Simon Hausmann.
- Add QNetworkCookie include in order to satisfy sizeof in QTypeInfo in debug builds.
- * WebCoreSupport/FrameNetworkingContextQt.cpp:
- 2012-01-13 Marcelo Lira <marcelo.lira@openbossa.org>
- [Qt] Fix missing signal in qwebframe API test for Qt5
- https://bugs.webkit.org/show_bug.cgi?id=76195
- Reviewed by Noam Rosenthal.
- In Qt5 QObject has a new signal with this signature: "objectNameChanged(QString)".
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::enumerate_data):
- 2012-01-11 Vsevolod Vlasov <vsevik@chromium.org>
- Make default console messages line numbers consistent.
- https://bugs.webkit.org/show_bug.cgi?id=74075
- Reviewed by Pavel Feldman.
- Unset line numbers are not printed to console now.
- * Api/qwebpage.cpp:
- (QWebPage::javaScriptConsoleMessage):
- 2012-01-11 Simon Hausmann <simon.hausmann@nokia.com>
- Unreviewed trivial build fix: Removed unnecessary QHttpRequestHeader
- inclusion (and the file is removed in newer Qt 5 versions).
- * Api/qwebpage.cpp:
- 2012-01-11 Rafael Brandao <rafael.lobo@openbossa.org>
- [Qt][WK2] Fix the build for newer Qt5
- https://bugs.webkit.org/show_bug.cgi?id=75964
- Reviewed by Simon Hausmann.
- Added QHttpHeader, QHttpResponseHeader and QHttpRequestHeader
- that were removed from Qt. They are now kept under a private header
- and only the relevant code is present.
- * Api/qhttpheader.cpp: Added.
- (QHttpHeader::QHttpHeader):
- (QHttpHeader::~QHttpHeader):
- (QHttpHeader::parse):
- (QHttpHeader::value):
- (QHttpHeader::hasKey):
- (QHttpHeader::setValue):
- (QHttpHeader::addValue):
- (QHttpHeader::parseLine):
- (QHttpHeader::toString):
- (QHttpHeader::hasContentLength):
- (QHttpHeader::contentLength):
- (QHttpHeader::setContentLength):
- (QHttpHeader::hasContentType):
- (QHttpHeader::contentType):
- (QHttpHeader::setContentType):
- (QHttpResponseHeader::QHttpResponseHeader):
- (QHttpResponseHeader::parseLine):
- (QHttpResponseHeader::toString):
- (QHttpRequestHeader::QHttpRequestHeader):
- (QHttpRequestHeader::parseLine):
- (QHttpRequestHeader::toString):
- * Api/qhttpheader_p.h: Added.
- (QHttpHeader::isValid):
- (QHttpHeader::setValid):
- (QHttpResponseHeader::statusCode):
- (QHttpResponseHeader::reasonPhrase):
- (QHttpResponseHeader::majorVersion):
- (QHttpResponseHeader::minorVersion):
- (QHttpRequestHeader::method):
- (QHttpRequestHeader::path):
- (QHttpRequestHeader::majorVersion):
- (QHttpRequestHeader::minorVersion):
- * WebCoreSupport/InspectorServerQt.cpp:
- 2012-01-10 No'am Rosenthal <noam.rosenthal@nokia.com>
- [Qt] Enable CSS_FILTERS in Qt build
- https://bugs.webkit.org/show_bug.cgi?id=75777
- For now, disallow compositing for filters. We will change that trigger when
- https://bugs.webkit.org/show_bug.cgi?id=75778 is implemented.
- Reviewed by Kenneth Rohde Christiansen.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::allowedCompositingTriggers):
- 2012-01-08 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r104421.
- http://trac.webkit.org/changeset/104421
- https://bugs.webkit.org/show_bug.cgi?id=75816
- Need to rebaseline some tests on Linux (Requested by noamr on
- #webkit).
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::allowedCompositingTriggers):
- 2012-01-08 No'am Rosenthal <noam.rosenthal@nokia.com>
- [Qt] Enable CSS_FILTERS in Qt build
- https://bugs.webkit.org/show_bug.cgi?id=75777
- For now, disallow compositing for filters. We will change that trigger when
- https://bugs.webkit.org/show_bug.cgi?id=75778 is implemented.
- Reviewed by Kenneth Rohde Christiansen.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::allowedCompositingTriggers):
- 2012-01-08 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r104403.
- http://trac.webkit.org/changeset/104403
- https://bugs.webkit.org/show_bug.cgi?id=75803
- It broke all tests on Qt5 (Requested by Ossy_weekend on
- #webkit).
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::allowedCompositingTriggers):
- 2012-01-08 No'am Rosenthal <noam.rosenthal@nokia.com>
- [Qt] Enable CSS_FILTERS in Qt build
- https://bugs.webkit.org/show_bug.cgi?id=75777
- For now, disallow compositing for filters. We will change that trigger when
- https://bugs.webkit.org/show_bug.cgi?id=75778 is implemented.
- Reviewed by Kenneth Rohde Christiansen.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::allowedCompositingTriggers):
- 2012-01-05 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r104231.
- http://trac.webkit.org/changeset/104231
- https://bugs.webkit.org/show_bug.cgi?id=75668
- Breaks the Qt build (Requested by abarth on #webkit).
- * Api/qwebpage.cpp:
- (QWebPage::acceptNavigationRequest):
- 2012-01-05 Adam Barth <abarth@webkit.org>
- Introduce Platform namespace for WebCore/platform
- https://bugs.webkit.org/show_bug.cgi?id=75653
- Reviewed by Eric Seidel.
- * Api/qwebpage.cpp:
- (QWebPage::acceptNavigationRequest):
- 2012-01-05 Zeno Albisser <zeno@webkit.org>
- [Qt][WK2] Implement custom URL schemes defined in QML.
- https://bugs.webkit.org/show_bug.cgi?id=74931
- Make classes QQuickUrlSchemeDelegate, QQuickNetworkRequest
- and QQuickNetworkReply accessible from QML.
- Reviewed by Kenneth Rohde Christiansen.
- * declarative/experimental/experimental.pri:
- * declarative/experimental/plugin.cpp:
- * declarative/public.pri:
- 2012-01-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Introduce new qmake variable 'WEBKIT' for signaling dependencies
- The custom qmake variable 'WEBKIT' is used for signaling that a
- target depends in some way on other subproject of the WebKit
- project. For now this is limited to the set of intermediate
- libraries: wtf, javascriptcore, webcore, and webkit2.
- This replaces the previous convension of using load(foo) for
- just include paths, and CONFIG += foo to also link against foo.
- Adding a dependency results in additional include paths being
- available, and potentially linking to the library. This is
- decided by the build system based on conditions such as what
- kind of target is being built and the general build config.
- An advantage to his approach is that it simplifies the individual
- foo.prf files, for example by allowing us to use INCLUDEPATH +=
- and LIBS += as normal instead of prepending.
- Reviewed by Simon Hausmann.
- * tests/qgraphicswebview/qgraphicswebview.pro:
- 2012-01-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Move use of $$qtLibraryTarget() to a single place
- Reviewed by Kenneth Rohde Christiansen.
- * declarative/experimental/experimental.pri:
- * declarative/public.pri:
- * examples/platformplugin/platformplugin.pro:
- 2012-01-03 Jon Lee <jonlee@apple.com>
- Leak of WebNotificationClient when page is destroyed
- https://bugs.webkit.org/show_bug.cgi?id=74980
- <rdar://problem/10611231>
- Reviewed by Mark Rowe.
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationPresenterClientQt::notificationControllerDestroyed): Empty implementation, because
- ownership model differs.
- * WebCoreSupport/NotificationPresenterClientQt.h:
- 2011-12-20 Adam Klein <adamk@chromium.org>
- Avoid unnecessary work when removing attributes from an element
- https://bugs.webkit.org/show_bug.cgi?id=74953
- Reviewed by Ryosuke Niwa.
- * Api/qwebelement.cpp:
- (QWebElement::removeAttribute): Updated a caller of
- WebCore::Element::removeAttribute to remove ExceptionCode argument.
- 2011-12-20 Rafael Brandao <rafael.lobo@openbossa.org>
- [Qt] Extend QQuickWebview::navigationRequested API
- https://bugs.webkit.org/show_bug.cgi?id=73818
- Reviewed by Simon Hausmann.
- * declarative/experimental/plugin.cpp:
- 2011-12-20 Jarred Nicholls <jarred@sencha.com>
- [Qt] HTTP header injection via QWebPage::userAgentForUrl()
- https://bugs.webkit.org/show_bug.cgi?id=68560
- Strip out newline characters from the result of userAgentForUrl() to prevent additional
- HTTP headers in HTTP requests.
- New QtTest case that validates the user agent, as returned by navigator.userAgent, does not
- contain any newline characters.
- Reviewed by Simon Hausmann.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::userAgent):
- * tests/qwebpage/tst_qwebpage.cpp:
- (CustomUserAgentWebPage::userAgentForUrl):
- (tst_QWebPage::userAgentNewlineStripping):
- 2011-12-20 Rafael Brandao <rafael.lobo@openbossa.org>
- [Qt][WK2] Implement favicon support
- https://bugs.webkit.org/show_bug.cgi?id=71082
- Reviewed by Simon Hausmann.
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::initializeEngine): Setup for the QDeclarativeImageProvider to display favicons.
- Its handles the following url format: "image://webicon/<iconID>#<pageURL>".
- 2011-12-19 Sam Weinig <sam@webkit.org>
- More PlatformEvent cleanup
- https://bugs.webkit.org/show_bug.cgi?id=74831
- Reviewed by Dan Bernstein.
- * Api/qwebpage.cpp:
- (QWebPage::swallowContextMenuEvent):
- Update to use new names, access style.
- 2011-12-19 Alexander Færøy <ahf@0x90.dk>
- [Qt] Cleanup QTM_NAMESPACE usage in DeviceOrientationProviderQt
- https://bugs.webkit.org/show_bug.cgi?id=74853
- Reviewed by Simon Hausmann.
- * Api/qwebframe_p.h:
- * WebCoreSupport/DeviceOrientationProviderQt.cpp:
- * WebCoreSupport/DeviceOrientationProviderQt.h:
- 2011-12-19 Alexander Færøy <ahf@0x90.dk>
- [Qt] Cleanup DeviceMotionClientQt and friends.
- https://bugs.webkit.org/show_bug.cgi?id=74849
- This patch cleans up the DeviceMotionQt class and friends by applying
- the following changes:
- - Remove unnecessary pointer to QWebPage. This is needed to be able to
- reuse the code for WebKit2.
- - Remove QObject dependencies and all signals/slots. Instead, we call
- didChangeDeviceMotion() on the controller directly from
- DeviceMotionProviderQt.
- Reviewed by Simon Hausmann.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/DeviceMotionClientQt.cpp:
- (WebCore::DeviceMotionClientQt::DeviceMotionClientQt):
- (WebCore::DeviceMotionClientQt::~DeviceMotionClientQt):
- (WebCore::DeviceMotionClientQt::setController):
- * WebCoreSupport/DeviceMotionClientQt.h:
- * WebCoreSupport/DeviceMotionProviderQt.cpp:
- (WebCore::DeviceMotionProviderQt::DeviceMotionProviderQt):
- (WebCore::DeviceMotionProviderQt::setController):
- (WebCore::DeviceMotionProviderQt::filter):
- * WebCoreSupport/DeviceMotionProviderQt.h:
- 2011-12-18 Simon Hausmann <simon.hausmann@nokia.com>
- Rename EditCommandQt to UndoStepQt
- https://bugs.webkit.org/show_bug.cgi?id=74754
- Reviewed by Ryosuke Niwa.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::registerUndoStep):
- * WebCoreSupport/UndoStepQt.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/EditCommandQt.cpp.
- (UndoStepQt::UndoStepQt):
- (UndoStepQt::~UndoStepQt):
- (UndoStepQt::redo):
- (UndoStepQt::undo):
- * WebCoreSupport/UndoStepQt.h: Renamed from Source/WebKit/qt/WebCoreSupport/EditCommandQt.h.
- 2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
- Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
- https://bugs.webkit.org/show_bug.cgi?id=74748
- Reviewed by Eric Seidel.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::registerUndoStep):
- (WebCore::EditorClientQt::registerRedoStep):
- * WebCoreSupport/EditorClientQt.h:
- 2011-12-16 Sam Weinig <sam@webkit.org>
- Give PlatformEvents a base class
- https://bugs.webkit.org/show_bug.cgi?id=74685
- Reviewed by Anders Carlsson.
- Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
- and PlatformGestureEvent and move Type enumeration and modifiers down to it.
- * WebCoreSupport/DragClientQt.cpp:
- (WebCore::DragClientQt::startDrag):
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::handleKeyboardEvent):
- 2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
- Only EditCommandComposition should implement unapply and reapply
- https://bugs.webkit.org/show_bug.cgi?id=74490
- Reviewed by Eric Seidel.
- EditCommandQt is to be renamed to UndoStepQt in a follow up patch.
- * WebCoreSupport/EditCommandQt.cpp:
- (EditCommandQt::EditCommandQt):
- * WebCoreSupport/EditCommandQt.h:
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::registerCommandForUndo):
- (WebCore::EditorClientQt::registerCommandForRedo):
- 2011-12-14 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Get rid of layering violation in PluginViewQt
- PluginViewQt has a layering violation in relying on QWebPagePrivate for
- the check if running under DRT. We remove this and add a specific flag
- in the PluginView for this check, enabled from DRTSupport. This isn't
- pretty, but an improvement over what's currently there.
- Reviewed by Simon Hausmann.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setDumpRenderTreeModeEnabled):
- 2011-12-15 Michael Brüning <michael.bruning@nokia.com>
- [QT][WK2]Add (experimental) viewport info view to Minibrowser/qt.
- https://bugs.webkit.org/show_bug.cgi?id=72893
- Reviewed by Kenneth Rohde Christiansen.
- This patch extends QQuickWebViewExperimental by a property named
- viewportInfo, which contains the viewport scalability and
- layout and contents size information. This property is exposed to
- QML through the experimental extension for QQuickWebView.
- * declarative/experimental/plugin.cpp:
- 2011-12-15 Alexander Færøy <ahf@0x90.dk>
- [Qt] Remove unnecessary methods and members from DeviceOrientationClientQt
- https://bugs.webkit.org/show_bug.cgi?id=74588
- Reviewed by Simon Hausmann.
- Remove the unused method changeDeviceOrientation() from
- DeviceOrientationClientQt and remove the DeviceOrientationController
- member since it is unused.
- * WebCoreSupport/DeviceOrientationClientQt.cpp:
- (WebCore::DeviceOrientationClientQt::DeviceOrientationClientQt):
- (WebCore::DeviceOrientationClientQt::setController):
- * WebCoreSupport/DeviceOrientationClientQt.h:
- 2011-12-14 Jing Zhao <jingzhao@chromium.org>
- Opening two popup menus by dispatchEvent() makes problems.
- https://bugs.webkit.org/show_bug.cgi?id=73304
- Reviewed by Kent Tamura.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::hasOpenedPopup): Not implemented.
- * WebCoreSupport/ChromeClientQt.h: Overrides hasOpenedPopup().
- 2011-12-14 Hajime Morrita <morrita@chromium.org>
- JS_INLINE and WTF_INLINE should be visible from WebCore
- https://bugs.webkit.org/show_bug.cgi?id=73191
- Reviewed by Kevin Ollivier.
-
- Added a INCLUDEPATH to make JSExportMacros.h visible.
- * tests/MIMESniffing/MIMESniffing.pro
- 2011-12-14 Alexander Færøy <ahf@0x90.dk>
- [Qt] DeviceOrientationClientQt should initialize m_controller to zero.
- https://bugs.webkit.org/show_bug.cgi?id=74522
- Reviewed by Kenneth Rohde Christiansen.
- * WebCoreSupport/DeviceOrientationProviderQt.cpp:
- (WebCore::DeviceOrientationProviderQt::DeviceOrientationProviderQt):
- 2011-12-14 Alexander Færøy <alexander.faeroy@nokia.com>
- [Qt] Fix compilation of QtWebKit with --orientation-events without ENABLE_DEVICE_ORIENTATION
- https://bugs.webkit.org/show_bug.cgi?id=74492
- Reviewed by Simon Hausmann.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::_q_orientationChanged):
- * Api/qwebframe_p.h:
- * WebCoreSupport/DeviceMotionProviderQt.cpp:
- * WebCoreSupport/DeviceMotionProviderQt.h:
- * WebCoreSupport/DeviceOrientationProviderQt.cpp:
- * WebCoreSupport/DeviceOrientationProviderQt.h:
- 2011-12-14 Alexander Færøy <alexander.faeroy@nokia.com>
- Fix compilation for Qt with --minimal option after r102755.
- Reviewed by Csaba Osztrogonác.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- 2011-12-14 Alexander Færøy <alexander.faeroy@nokia.com>
- [Qt] DeviceOrientationClientMockQt should be removed in favor of DeviceOrientationClientMock
- https://bugs.webkit.org/show_bug.cgi?id=74417
- Reviewed by Simon Hausmann.
- Based on original patch by Kenneth Christiansen.
- Already covered by current tests.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/DeviceMotionProviderQt.cpp:
- (WebCore::DeviceMotionProviderQt::DeviceMotionProviderQt):
- (WebCore::DeviceMotionProviderQt::filter):
- * WebCoreSupport/DeviceMotionProviderQt.h:
- * WebCoreSupport/DeviceOrientationClientMockQt.cpp: Removed.
- * WebCoreSupport/DeviceOrientationClientMockQt.h: Removed.
- * WebCoreSupport/DeviceOrientationClientQt.cpp:
- (WebCore::DeviceOrientationClientQt::DeviceOrientationClientQt):
- (WebCore::DeviceOrientationClientQt::~DeviceOrientationClientQt):
- (WebCore::DeviceOrientationClientQt::lastOrientation):
- * WebCoreSupport/DeviceOrientationClientQt.h:
- * WebCoreSupport/DeviceOrientationProviderQt.cpp:
- (WebCore::DeviceOrientationProviderQt::DeviceOrientationProviderQt):
- (WebCore::DeviceOrientationProviderQt::setController):
- (WebCore::DeviceOrientationProviderQt::start):
- (WebCore::DeviceOrientationProviderQt::stop):
- (WebCore::DeviceOrientationProviderQt::filter):
- * WebCoreSupport/DeviceOrientationProviderQt.h:
- (WebCore::DeviceOrientationProviderQt::isActive):
- (WebCore::DeviceOrientationProviderQt::lastOrientation):
- (WebCore::DeviceOrientationProviderQt::hasAlpha):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (toDeviceOrientationClientMock):
- (DumpRenderTreeSupportQt::setMockDeviceOrientation):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-12-12 Nándor Huszka <huszka.nandor@stud.u-szeged.hu>
- [Qt] Missing layoutTestController.dumpWillCacheResponse
- https://bugs.webkit.org/show_bug.cgi?id=74287
- Reviewed by Csaba Osztrogonác.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::dumpWillCacheResponseCallbacks):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-12-12 Alexis Menard <alexis.menard@openbossa.org>
- [Qt][WK2] History is not accessible in QML.
- https://bugs.webkit.org/show_bug.cgi?id=73016
- Reviewed by Simon Hausmann.
- Register QWebNavigationHistory and QWebNavigationListModel in the QML plugin.
- * declarative/experimental/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- 2011-12-09 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
- [Qt] request parameter of QQuickWebView::navigationRequested is not a registered type
- https://bugs.webkit.org/show_bug.cgi?id=73826
- Reviewed by Tor Arne Vestbø.
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes): Registering QWebNavigationRequest
- 2011-12-08 Pierre Rossi <pierre.rossi@gmail.com>
- Drop ENABLE_NO_LISTBOX_RENDERING, and make it a runtime decision.
- https://bugs.webkit.org/show_bug.cgi?id=73916
- Reviewed by Kent Tamura.
- * WebCoreSupport/PopupMenuQt.cpp:
- (SelectData::multiple):
- (WebCore::PopupMenuQt::selectItem):
- 2011-12-07 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] Unreviewed buildfix after r102262.
- * Api/qwebelement.cpp:
- (QWebElement::setStyleProperty):
- 2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>
- Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
- https://bugs.webkit.org/show_bug.cgi?id=73986
- Reviewed by Kenneth Rohde Christiansen.
- * WebCoreSupport/InitWebCoreQt.cpp:
- (WebCore::initializeWebCoreQt):
- 2011-12-06 Zeno Albisser <zeno@webkit.org>
- [Qt][Mac] Building debug version only fails.
- https://bugs.webkit.org/show_bug.cgi?id=73895
- WebKit pro/pri files should not explicitly adjust
- the debug_and_release settings.
- Reviewed by Kenneth Rohde Christiansen.
- * declarative/experimental/experimental.pri:
- * declarative/public.pri:
- 2011-12-02 Hajime Morrita <morrita@chromium.org>
- Unreviewed, rolling out r101751 and r101775.
- http://trac.webkit.org/changeset/101751
- http://trac.webkit.org/changeset/101775
- https://bugs.webkit.org/show_bug.cgi?id=73191
- breaks Windows build
- * tests/MIMESniffing/MIMESniffing.pro:
- 2011-12-01 Hajime Morrita <morrita@chromium.org>
- JS_INLINE and WTF_INLINE should be visible from WebCore
- https://bugs.webkit.org/show_bug.cgi?id=73191
- Reviewed by Kevin Ollivier.
-
- Added a INCLUDEPATH to make JSExportMacros.h visible.
- * tests/MIMESniffing/MIMESniffing.pro
- 2011-11-30 Alexey Proskuryakov <ap@apple.com>
- Remove an unneeded argument from FrameLoaderClient::download
- https://bugs.webkit.org/show_bug.cgi?id=73486
- Reviewed by Andreas Kling.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::download):
- * WebCoreSupport/FrameLoaderClientQt.h:
- Updated for the change.
- 2011-11-30 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Fix crash when using Qt DRT with V8.
- Reviewed by Csaba Osztrogonác.
- Add missing handle scopes for the handles returned by mainWorldContext.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::injectInternalsObject):
- (DumpRenderTreeSupportQt::resetInternalsObject):
- 2011-11-30 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Fix crashing layout tests
- Reviewed by Kenneth Rohde Christiansen.
- Fix ASSERTION FAILED: m_key != PTHREAD_KEYS_MAX in ThreadIdentifierDataPthreads.cpp(65)
- static WTF::ThreadIdentifier WTF::ThreadIdentifierData::identifier()
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::initialize): Add missing WebCore::initializeWebCoreQt().
- 2011-11-30 Andrew Wason <rectalogic@rectalogic.com>
- Replace Qt QThread threading back-end with pthread/Win32 threading back-ends
- https://bugs.webkit.org/show_bug.cgi?id=72155
- Reviewed by Simon Hausmann.
- Extract WebCore initialization out of QWebPagePrivate into a
- separate initialization function. This also needs to be called
- from public static QWebSettings methods that call into WebCore,
- since those can be used before a QWebPage has been constructed.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * Api/qwebsettings.cpp:
- (QWebSettings::globalSettings):
- (QWebSettings::setIconDatabasePath):
- (QWebSettings::iconDatabasePath):
- (QWebSettings::clearIconDatabase):
- (QWebSettings::iconForUrl):
- (QWebSettings::setWebGraphic):
- (QWebSettings::webGraphic):
- (QWebSettings::clearMemoryCaches):
- (QWebSettings::maximumPagesInCache):
- (QWebSettings::setObjectCacheCapacities):
- (QWebSettings::setOfflineStoragePath):
- (QWebSettings::offlineStoragePath):
- (QWebSettings::setOfflineWebApplicationCachePath):
- (QWebSettings::offlineWebApplicationCachePath):
- (QWebSettings::setOfflineWebApplicationCacheQuota):
- (QWebSettings::offlineWebApplicationCacheQuota):
- (QWebSettings::enablePersistentStorage):
- * WebCoreSupport/InitWebCoreQt.cpp: Added.
- (WebCore::initializeWebCoreQt):
- * WebCoreSupport/InitWebCoreQt.h: Added.
- 2011-11-30 Adenilson Cavalcanti <adenilson.silva@openbossa.org>
- [Qt][WK2] Implement permission API for Qt port
- https://bugs.webkit.org/show_bug.cgi?id=59200
- Permission API hookup for Geolocation, it allows to receive in WebView
- a signal when a permission request is done (e.g. to grant permission
- for accessing geolocation information) and set it accordingly.
- Reviewed by Simon Hausmann.
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- 2011-11-29 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Make WebKit/qt build with V8 and Qt 5
- https://bugs.webkit.org/show_bug.cgi?id=73315
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qwebelement.cpp:
- (QtWebElementRuntime::initialize): #ifdef JSC code
- properly. There's no V8 equivalent just yet.
- * Api/qwebelement.h: Get rid of old V8 cruft.
- * Api/qwebframe.cpp:
- (QWebFrame::addToJavaScriptWindowObject): QScriptEngine -> QJSEngine.
- (QWebFrame::evaluateJavaScript): Ditto.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (QtDRTNodeRuntime::initialize): #ifdef JSC code.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::didCreateScriptContext): Adapt to FrameLoaderClient
- V8 API changes that happened long time ago.
- (WebCore::FrameLoaderClientQt::willReleaseScriptContext): Ditto.
- * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
- * WebCoreSupport/InspectorClientQt.cpp: Add missing include for V8 build.
- 2011-11-28 Jon Lee <jonlee@apple.com>
- Create skeleton framework for notifications support in WK2
- https://bugs.webkit.org/show_bug.cgi?id=73253
- <rdar://problem/10356943>
- Reviewed by Sam Weinig.
- * Api/qwebpage.cpp: Add notification client to pageClients.
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/ChromeClientQt.cpp: Remove notification client from ChromeClient implementation.
- * WebCoreSupport/ChromeClientQt.h:
- * WebCoreSupport/NotificationPresenterClientQt.cpp: Refactor with change of NotificationContents to struct
- (WebCore::NotificationWrapper::title):
- (WebCore::NotificationWrapper::message):
- (WebCore::NotificationPresenterClientQt::displayNotification):
- (WebCore::NotificationPresenterClientQt::cancel):
- (WebCore::NotificationPresenterClientQt::notificationClicked):
- (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
- (WebCore::NotificationPresenterClientQt::dumpShowText):
- 2011-11-28 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Build system fixes against V8.
- Reviewed by Tor Arne Vestbø.
- Add forwarding headers for building against Qt's v8 with
- v8 include style.
- * v8/ForwardingHeaders/v8-debug.h: Added.
- * v8/ForwardingHeaders/v8-preparser.h: Added.
- * v8/ForwardingHeaders/v8-profiler.h: Added.
- * v8/ForwardingHeaders/v8-testing.h: Added.
- * v8/ForwardingHeaders/v8.h: Added.
- * v8/ForwardingHeaders/v8stdint.h: Added.
- 2011-11-26 Pavel Feldman <pfeldman@google.com>
- Web Inspector: remove disconnectFromBackend from the protocol.
- https://bugs.webkit.org/show_bug.cgi?id=73127
- Reviewed by Yury Semikhatsky.
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::inspectorDestroyed):
- (WebCore::InspectorClientQt::closeInspectorFrontend):
- (WebCore::InspectorFrontendClientQt::inspectorClientDestroyed):
- * WebCoreSupport/InspectorClientQt.h:
- 2011-11-26 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r101193.
- http://trac.webkit.org/changeset/101193
- https://bugs.webkit.org/show_bug.cgi?id=73158
- Breaks Windows and Qt minimal. (Requested by pfeldman on
- #webkit).
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::inspectorDestroyed):
- (WebCore::InspectorFrontendClientQt::disconnectFromBackend):
- (WebCore::InspectorFrontendClientQt::inspectorClientDestroyed):
- * WebCoreSupport/InspectorClientQt.h:
- 2011-11-26 Pavel Feldman <pfeldman@google.com>
- Web Inspector: remove disconnectFromBackend from the protocol.
- https://bugs.webkit.org/show_bug.cgi?id=73127
- Reviewed by Yury Semikhatsky.
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::inspectorDestroyed):
- (WebCore::InspectorClientQt::closeInspectorFrontend):
- (WebCore::InspectorFrontendClientQt::inspectorClientDestroyed):
- * WebCoreSupport/InspectorClientQt.h:
- 2011-11-25 Alexis Menard <alexis.menard@openbossa.org>
- [Qt][WK2] QWebDownloadItem should be registered in the experimental plugin.
- https://bugs.webkit.org/show_bug.cgi?id=73132
- Reviewed by Simon Hausmann.
- Make sure QWebDownloadItem is registered in the right plugin.
- * declarative/experimental/plugin.cpp:
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- 2011-11-22 Pavel Feldman <pfeldman@google.com>
- Web Inspector: remove Inspector::bringToFront from the protocol.
- https://bugs.webkit.org/show_bug.cgi?id=72937
- Reviewed by Yury Semikhatsky.
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::bringFrontendToFront):
- * WebCoreSupport/InspectorClientQt.h:
- 2011-10-17 Antonio Gomes <agomes@rim.com>
- Pass a Frame* parameter in EditorClient::respondToChangedSelection
- https://bugs.webkit.org/show_bug.cgi?id=70248
- Reviewed by Ryosuke Niwa.
- * WebCoreSupport/EditorClientQt.cpp: Make use of the newly added Frame* parameter.
- (WebCore::EditorClientQt::respondToChangedSelection):
- * WebCoreSupport/EditorClientQt.h:
- 2011-11-18 Yuta Kitamura <yutak@chromium.org>
- [Qt] Enable WebSocket hybi tests
- https://bugs.webkit.org/show_bug.cgi?id=72687
- Reviewed by Simon Hausmann.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::defaultHixie76WebSocketProtocolEnabled):
- (DumpRenderTreeSupportQt::setHixie76WebSocketProtocolEnabled):
- Call WebCore::Settings::setUseHixie76WebSocketProtocol() to switch WebSocket protocols.
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-11-17 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Layer violation: ThirdPartyCookiesQt.cpp uses QWebSettings in two places
- https://bugs.webkit.org/show_bug.cgi?id=72597
- Reviewed by Kenneth Rohde Christiansen.
- Implemented NetworkingContext::thirdPartyCookiePolicyPermission, which queries
- the global QWebSettings.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows): Adapt to the
- changed thirdPartyCookiePolicyPermits WebCore API that operates on a networking context.
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): Pass networking
- context to ResourceRequest::toNetworkRequest.
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): Ditto.
- (WebCore::FrameLoaderClientQt::startDownload): Ditto.
- * WebCoreSupport/FrameNetworkingContextQt.cpp:
- (WebCore::FrameNetworkingContextQt::thirdPartyCookiePolicyPermission): Implement.
- * WebCoreSupport/FrameNetworkingContextQt.h:
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::thirdPartyCookiePolicy): Adapt to QtDRTSupport API change.
- 2011-11-17 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Layer violation: qt_runtime.cpp accesses QWebElement and QTDRTNode
- https://bugs.webkit.org/show_bug.cgi?id=72595
- Reviewed by Noam Rosenthal.
- Move QWebElement and QtDRTNode JS bindings from WebCore to WebKit/qt.
- * Api/qwebelement.cpp: Add QWebElement to JSValue and JSValue to QWebElement
- conversion through intermediate QVariant.
- (QtWebElementRuntime::create):
- (QtWebElementRuntime::get):
- (convertJSValueToWebElementVariant):
- (convertWebElementVariantToJSValue):
- (QtWebElementRuntime::initialize): Register conversion functions for QWebElement.
- * Api/qwebelement.h:
- * Api/qwebelement_p.h: Added.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate): Initialize QWebElement conversion functions for
- the JS runtime.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Add QtDRTNode to JSValue and JSValue to
- QtDRTNode conversion through intermediate QVariant.
- (QtDRTNodeRuntime::create):
- (QtDRTNodeRuntime::get):
- (convertJSValueToNodeVariant):
- (convertNodeVariantToJSValue):
- (QtDRTNodeRuntime::initialize):
- (DumpRenderTreeSupportQt::initialize): Register conversion functions for QtDRTNode.
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-11-17 Alexis Menard <alexis.menard@openbossa.org>
- [Qt] The experimental plugin doesn't work after being renamed.
- Reviewed by Tor Arne Vestbø.
- It was renamed from private to experimental but the qmldir file
- was forgotten.
- * declarative/experimental/qmldir:
- 2011-11-17 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Layer violation: WebCore::dnsPrefetch uses QWebSettings::globalSettings()
- https://bugs.webkit.org/show_bug.cgi?id=72596
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply): Propagate the DNS prefetch setting to WebCore::Settings.
- 2011-11-17 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Layer violation: Image::loadPlatformResource uses QWebSettings::webGraphic
- https://bugs.webkit.org/show_bug.cgi?id=72594
- Reviewed by Kenneth Rohde Christiansen.
- Move resource pixmap cache into ImageQt.cpp.
- * Api/qwebsettings.cpp:
- (resourceNameForWebGraphic): Helper function to translate between public API enums and
- resource names.
- (QWebSettings::setWebGraphic): Call the new ImageQt::setPlatformResource setter.
- (QWebSettings::webGraphic): Call Image::loadPlatformResource to read from the cache
- in WebCore.
- 2011-11-17 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Move WebKit2 C++ APIs to private API and build QML extension plugin on top of that
- A new extension object has been added to QQuickWebView (the same approach should be used
- for other API classes that need experimental APIs). The QML extension mechanism is then
- built on top of the experimental object.
- https://bugs.webkit.org/show_bug.cgi?id=72522
- Reviewed by Simon Hausmann.
- * declarative/declarative.pro:
- * declarative/experimental/experimental.pri: Renamed from Source/WebKit/qt/declarative/private/private.pro.
- * declarative/experimental/plugin.cpp: Renamed from Source/WebKit/qt/declarative/private/plugin.cpp.
- (QQuickWebViewExperimentalExtension::QQuickWebViewExperimentalExtension):
- (QQuickWebViewExperimentalExtension::experimental):
- * declarative/experimental/qmldir: Renamed from Source/WebKit/qt/declarative/private/qmldir.
- * declarative/plugin.cpp:
- * declarative/public.pri: Copied from Source/WebKit/qt/declarative/declarative.pro.
- 2011-11-16 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r100448.
- http://trac.webkit.org/changeset/100448
- https://bugs.webkit.org/show_bug.cgi?id=72512
- It caused a regression breaking LayoutTests/http/tests/loading
- /text-content-type-with-binary-extension.html (Requested by
- jeez_ on #webkit).
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::canShowMIMEType):
- 2011-11-16 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
- [Qt] FrameLoaderClientQt::canShowMIMEType should always return true
- https://bugs.webkit.org/show_bug.cgi?id=72169
- Reviewed by Simon Hausmann.
- Currently FrameLoaderClientQt::canShowMIMEType is called after
- dispatchDecidePolicyForResponse. If decidePolicyForResponse returns
- PolicyUse and canShowMIMEType returns false, then we have a bug.
- Therefore, FrameLoaderClientQt::canShowMIMEType now will always
- return true, following the implemenation of WebKit2.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::canShowMIMEType):
- 2011-11-15 Huang Dongsung <luxtella@company100.net>
- [TexMap][Qt] Start PageClientQ[Graphics]Widget::syncTimer only when the syncTimer
- is inactive.
- https://bugs.webkit.org/show_bug.cgi?id=70407
- Make sure we only activate the synchronization timer in
- PageClientQWidget/PageClientQGraphicsWidget if it's not already active,
- otherwise syncLayers may be called redundantly.
- Reviewed by Noam Rosenthal.
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQWidget::markForSync):
- (WebCore::PageClientQWidget::syncLayers):
- (WebCore::PageClientQGraphicsWidget::syncLayers):
- (WebCore::PageClientQGraphicsWidget::markForSync):
- * WebCoreSupport/PageClientQt.h:
- (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
- 2011-11-15 Jochen Eisinger <jochen@chromium.org>
- Rename ReferrerPolicy to clarify its meaning
- https://bugs.webkit.org/show_bug.cgi?id=72420
- Reviewed by Nate Chapin.
- * Api/qwebpage.cpp:
- (openNewWindow):
- (QWebPage::triggerAction):
- 2011-11-15 Anders Carlsson <andersca@apple.com>
- HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
- https://bugs.webkit.org/show_bug.cgi?id=72397
- Reviewed by Dan Bernstein.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::rootViewToScreen):
- (WebCore::ChromeClientQt::screenToRootView):
- * WebCoreSupport/ChromeClientQt.h:
- 2011-11-14 Anders Carlsson <andersca@apple.com>
- HostWindow invalidation functions should use root view coordinates
- https://bugs.webkit.org/show_bug.cgi?id=72338
- Reviewed by Dan Bernstein.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::invalidateRootView):
- (WebCore::ChromeClientQt::invalidateContentsAndRootView):
- (WebCore::ChromeClientQt::invalidateContentsForSlowScroll):
- * WebCoreSupport/ChromeClientQt.h:
- 2011-11-11 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] Remove the QStyle dependency in Qt's mobile theme
- https://bugs.webkit.org/show_bug.cgi?id=67773
- This refactoring splits up RenderThemeQt with two
- subclasses, a QStyle-backed one, and a Mobile version
- that uses the old mobile theme for now.
- QStyle availability is detected at compile time, and
- its use is determined by the QT_WEBKIT_USE_MOBILE_THEME
- environment variable.
- Reviewed by Simon Hausmann.
- * Api/qwebpage.cpp:
- (QWebPage::swallowContextMenuEvent):
- * tests/tests.pri:
- 2011-11-11 Luiz Agostini <luiz.agostini@palm.com>
- [Qt] Removing unneeded #ifdef from PopupMenuQt.cpp
- https://bugs.webkit.org/show_bug.cgi?id=72193
- Reviewed by Noam Rosenthal.
- Part of PopupMenuQt.cpp code is guarded by #ifndef QT_NO_COMBOBOX although that
- code is not related to the class QComboBox.
- * WebCoreSupport/PopupMenuQt.cpp:
- (WebCore::PopupMenuQt::show):
- 2011-11-11 Bruno de Oliveira Abinader <bruno.abinader@basyskom.com>
- [Qt] Skip tests when no network is present
- https://bugs.webkit.org/show_bug.cgi?id=72031
- Reviewed by Simon Hausmann.
- Some benchmark tests requires network connection (they fetch data from
- external URL's) and so they fail if no network is present. These tests
- should be skipped instead.
- * tests/benchmarks/loading/tst_loading.cpp:
- (tst_Loading::load): Skip test if no network is present.
- * tests/benchmarks/painting/tst_painting.cpp:
- (tst_Painting::paint): Skip test if no network is present.
- 2011-11-11 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r99964.
- http://trac.webkit.org/changeset/99964
- https://bugs.webkit.org/show_bug.cgi?id=72124
- Broke too many Qt tests (Requested by tronical_ on #webkit).
- * Api/qwebpage.cpp:
- (QWebPage::swallowContextMenuEvent):
- * tests/tests.pri:
- 2011-11-11 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] Remove the QStyle dependency in Qt's mobile theme
- https://bugs.webkit.org/show_bug.cgi?id=67773
- This refactoring splits up RenderThemeQt with two
- subclasses, a QStyle-backed one, and a Mobile version
- that uses the old mobile theme for now.
- QStyle availability is detected at compile time, and
- its use is determined by the QT_WEBKIT_USE_MOBILE_THEME
- environment variable.
- Reviewed by Simon Hausmann.
- * Api/qwebpage.cpp:
- (QWebPage::swallowContextMenuEvent):
- * tests/tests.pri:
- 2011-11-11 Alexis Menard <alexis.menard@openbossa.org>
- [Qt] Add a way to have experimental features in WebKit2
- https://bugs.webkit.org/show_bug.cgi?id=67707
- Reviewed by Kenneth Rohde Christiansen.
- This patch is adding a new module for accessing private
- method and property from the view. It requires an import
- QtWebKit.private in QML to be used.
- * declarative/private/plugin.cpp: Added.
- (WebKitQmlPluginPrivate::registerTypes):
- * declarative/private/private.pro: Added.
- * declarative/private/qmldir: Added.
- 2011-11-11 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt][WK2] Remove QWebNavigationController
- https://bugs.webkit.org/show_bug.cgi?id=72113
- Reviewed by Andreas Kling.
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes): Don't register QWebNavigationController with qml.
- 2011-11-03 Luiz Agostini <luiz.agostini@palm.com>
- [Qt] Adding methods setGeometry and setFont to QWebSelectMethod class.
- https://bugs.webkit.org/show_bug.cgi?id=71530
- Reviewed by Simon Hausmann.
- Adding methods setGeometry and setFont so that users of platform plugin may show the
- popup menus in proper position and using proper font.
- * Api/qwebkitplatformplugin.h:
- * WebCoreSupport/PopupMenuQt.cpp:
- (WebCore::PopupMenuQt::show):
- * examples/platformplugin/WebPlugin.h:
- (WebPopup::setGeometry):
- (WebPopup::setFont):
- * examples/platformplugin/qwebkitplatformplugin.h:
- 2011-11-10 Alexis Menard <alexis.menard@openbossa.org>
- [Qt] Merge QTouchWebView and QDesktopWebView into one class
- https://bugs.webkit.org/show_bug.cgi?id=71355
- Reviewed by Kenneth Rohde Christiansen.
- Register only QQuickWebView and QQuickWebPage in the plugin.
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- 2011-11-09 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Enable exports and constructor functions in static libs
- Reviewed by Tor Arne Vestbø.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate): Remove unnecessary manual Qt resource
- initialization.
- 2011-11-09 Simon Hausmann <simon.hausmann@nokia.com>
- Unreviewed, rolling out r99701.
- http://trac.webkit.org/changeset/99701
- Breaks Qt mac build
- * Api/qwebpage.cpp:
- (initResources):
- (QWebPagePrivate::QWebPagePrivate):
- 2011-11-09 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Enable exports and constructor functions in static libs
- Reviewed by Tor Arne Vestbø.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate): Remove unnecessary manual Qt resource
- initialization.
- 2011-11-09 Deepak Sherveghar <bpwv64@motorola.com>
- [Qt] 4 Layout test fail due to network error constant values clash with WebkitError enum values in FrameloaderclientQt
- https://bugs.webkit.org/show_bug.cgi?id=71554
- Reviewed by Simon Hausmann.
- We should check the error domain when checking the error code in shouldFallBack()
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::shouldFallBack): added error domain check
- 2011-11-08 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Replace use of QApplication with QGuiApplication
- https://bugs.webkit.org/show_bug.cgi?id=71794
- Reviewed by Andreas Kling.
- * WebCoreSupport/QtWebComboBox.cpp:
- (WebCore::QtWebComboBox::showPopupAtCursorPosition): Replace use of QApplication
- with QCoreApplication.
- 2011-11-07 Adam Barth <abarth@webkit.org>
- Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
- https://bugs.webkit.org/show_bug.cgi?id=71755
- Reviewed by Eric Seidel.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::whiteListAccessFromOrigin):
- (DumpRenderTreeSupportQt::removeWhiteListAccessFromOrigin):
- (DumpRenderTreeSupportQt::resetOriginAccessWhiteLists):
- 2011-11-08 Luiz Agostini <luiz.agostini@palm.com>
- [Qt] Removing qwebkitglobal.h inclusion from qwebkitplatformplugin.h
- https://bugs.webkit.org/show_bug.cgi?id=71759
- Reviewed by Simon Hausmann.
- qwebkitplatformplugin.h must not depend on qwebkitglobal.h.
- * Api/qwebkitplatformplugin.h:
- Updating the copy of qwebkitplatformplugin.h that is used by the example plugin. The previous
- one was very outdated.
- * examples/platformplugin/qwebkitplatformplugin.h:
- 2011-11-07 Adam Barth <abarth@webkit.org>
- Move DomainRelaxationForbidden scheme registry to SchemeRegistry
- https://bugs.webkit.org/show_bug.cgi?id=71750
- Reviewed by Eric Seidel.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme):
- 2011-11-07 Michael Saboff <msaboff@apple.com>
- Towards 8 Bit Strings: Templatize JSC::Lexer class by character type
- https://bugs.webkit.org/show_bug.cgi?id=71331
- Changed Identifier() constructor to use JSGlobalData*.
- Reviewed by Darin Adler.
- * Api/qwebframe.cpp:
- (QWebFrame::addToJavaScriptWindowObject):
- 2011-11-07 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Fix failing inspector tests after build system changes
- https://bugs.webkit.org/show_bug.cgi?id=71677
- Reviewed by Tor Arne Vestbø.
- Ensure symbols from the qt resource system are referenced
- from outside the static webcore library. One way of doing that is
- to initialize the resources right away, as explained in the documentation
- of th Qt resource system.
- * Api/qwebpage.cpp:
- (initResources):
- (QWebPagePrivate::QWebPagePrivate):
- 2011-11-04 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Refactor and clean up the qmake build system
- The qmake build system has accumulated a bit of cruft and redundancy
- over time. There's also a fairly tight coupling between how to build
- the various targets, and _what_ to build, making it harder to add new
- rules or sources. This patch aims to elevate these issues somewhat.
- This is a short-list of the changes:
- * The rules for how to build targets are now mostly contained as
- prf-files in Tools/qmake/mkspecs/features. Using mkspecs also
- allows us to do pre- and post-processing of each project file,
- which helps to clean up the actual project files.
- * Derived sources are no longer generated as a separate make-step
- but is part of each target's project file as a subdir. Makefile
- rules are used to ensure that we run make on the derived sources
- before running qmake on the actual target makefile. This makes
- it easier to keep a proper dependency between derived sources
- and the target.
- * We use GNU make and the compiler to generate dependencies on
- UNIX-based systems running Qt 5. This allows us to lessen the
- need to run qmake, which should reduce compile time.
- * WebKit2 is now build by default if building with Qt 5. It can
- be disabled by passing --no-webkit2 to build-webkit.
- The result of these changes are hopefully a cleaner and easier
- build system to modify, and faster build times due to no longer
- running qmake on every single build. It's also a first step
- towards possibly generating the list of sources using another
- build system.
- https://bugs.webkit.org/show_bug.cgi?id=71222
- Reviewed by Simon Hausmann.
- * Api/DerivedSources.pro: Removed.
- * Api/headers.pri: Removed.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * QtWebKit.pro: Removed.
- * WebCoreSupport/FrameLoaderClientQt.h: Rename due to name clash with WK2 header
- * WebCoreSupport/PlatformStrategiesQt.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/WebPlatformStrategies.cpp.
- (PlatformStrategiesQt::initialize):
- (PlatformStrategiesQt::PlatformStrategiesQt):
- (PlatformStrategiesQt::createCookiesStrategy):
- (PlatformStrategiesQt::createPluginStrategy):
- (PlatformStrategiesQt::createLocalizationStrategy):
- (PlatformStrategiesQt::createVisitedLinkStrategy):
- (PlatformStrategiesQt::notifyCookiesChanged):
- (PlatformStrategiesQt::refreshPlugins):
- (PlatformStrategiesQt::getPluginInfo):
- (PlatformStrategiesQt::inputElementAltText):
- (PlatformStrategiesQt::resetButtonDefaultLabel):
- (PlatformStrategiesQt::searchableIndexIntroduction):
- (PlatformStrategiesQt::submitButtonDefaultLabel):
- (PlatformStrategiesQt::fileButtonChooseFileLabel):
- (PlatformStrategiesQt::fileButtonChooseMultipleFilesLabel):
- (PlatformStrategiesQt::fileButtonNoFileSelectedLabel):
- (PlatformStrategiesQt::fileButtonNoFilesSelectedLabel):
- (PlatformStrategiesQt::defaultDetailsSummaryText):
- (PlatformStrategiesQt::contextMenuItemTagOpenLinkInNewWindow):
- (PlatformStrategiesQt::contextMenuItemTagDownloadLinkToDisk):
- (PlatformStrategiesQt::contextMenuItemTagCopyLinkToClipboard):
- (PlatformStrategiesQt::contextMenuItemTagOpenImageInNewWindow):
- (PlatformStrategiesQt::contextMenuItemTagDownloadImageToDisk):
- (PlatformStrategiesQt::contextMenuItemTagCopyImageToClipboard):
- (PlatformStrategiesQt::contextMenuItemTagCopyImageUrlToClipboard):
- (PlatformStrategiesQt::contextMenuItemTagOpenVideoInNewWindow):
- (PlatformStrategiesQt::contextMenuItemTagOpenAudioInNewWindow):
- (PlatformStrategiesQt::contextMenuItemTagCopyVideoLinkToClipboard):
- (PlatformStrategiesQt::contextMenuItemTagCopyAudioLinkToClipboard):
- (PlatformStrategiesQt::contextMenuItemTagToggleMediaControls):
- (PlatformStrategiesQt::contextMenuItemTagToggleMediaLoop):
- (PlatformStrategiesQt::contextMenuItemTagEnterVideoFullscreen):
- (PlatformStrategiesQt::contextMenuItemTagMediaPlay):
- (PlatformStrategiesQt::contextMenuItemTagMediaPause):
- (PlatformStrategiesQt::contextMenuItemTagMediaMute):
- (PlatformStrategiesQt::contextMenuItemTagOpenFrameInNewWindow):
- (PlatformStrategiesQt::contextMenuItemTagCopy):
- (PlatformStrategiesQt::contextMenuItemTagGoBack):
- (PlatformStrategiesQt::contextMenuItemTagGoForward):
- (PlatformStrategiesQt::contextMenuItemTagStop):
- (PlatformStrategiesQt::contextMenuItemTagReload):
- (PlatformStrategiesQt::contextMenuItemTagCut):
- (PlatformStrategiesQt::contextMenuItemTagPaste):
- (PlatformStrategiesQt::contextMenuItemTagSelectAll):
- (PlatformStrategiesQt::contextMenuItemTagNoGuessesFound):
- (PlatformStrategiesQt::contextMenuItemTagIgnoreSpelling):
- (PlatformStrategiesQt::contextMenuItemTagLearnSpelling):
- (PlatformStrategiesQt::contextMenuItemTagSearchWeb):
- (PlatformStrategiesQt::contextMenuItemTagLookUpInDictionary):
- (PlatformStrategiesQt::contextMenuItemTagOpenLink):
- (PlatformStrategiesQt::contextMenuItemTagIgnoreGrammar):
- (PlatformStrategiesQt::contextMenuItemTagSpellingMenu):
- (PlatformStrategiesQt::contextMenuItemTagShowSpellingPanel):
- (PlatformStrategiesQt::contextMenuItemTagCheckSpelling):
- (PlatformStrategiesQt::contextMenuItemTagCheckSpellingWhileTyping):
- (PlatformStrategiesQt::contextMenuItemTagCheckGrammarWithSpelling):
- (PlatformStrategiesQt::contextMenuItemTagFontMenu):
- (PlatformStrategiesQt::contextMenuItemTagBold):
- (PlatformStrategiesQt::contextMenuItemTagItalic):
- (PlatformStrategiesQt::contextMenuItemTagUnderline):
- (PlatformStrategiesQt::contextMenuItemTagOutline):
- (PlatformStrategiesQt::contextMenuItemTagWritingDirectionMenu):
- (PlatformStrategiesQt::contextMenuItemTagTextDirectionMenu):
- (PlatformStrategiesQt::contextMenuItemTagDefaultDirection):
- (PlatformStrategiesQt::contextMenuItemTagLeftToRight):
- (PlatformStrategiesQt::contextMenuItemTagRightToLeft):
- (PlatformStrategiesQt::contextMenuItemTagInspectElement):
- (PlatformStrategiesQt::searchMenuNoRecentSearchesText):
- (PlatformStrategiesQt::searchMenuRecentSearchesText):
- (PlatformStrategiesQt::searchMenuClearRecentSearchesText):
- (PlatformStrategiesQt::AXWebAreaText):
- (PlatformStrategiesQt::AXLinkText):
- (PlatformStrategiesQt::AXListMarkerText):
- (PlatformStrategiesQt::AXImageMapText):
- (PlatformStrategiesQt::AXHeadingText):
- (PlatformStrategiesQt::AXDefinitionListTermText):
- (PlatformStrategiesQt::AXDefinitionListDefinitionText):
- (PlatformStrategiesQt::AXButtonActionVerb):
- (PlatformStrategiesQt::AXRadioButtonActionVerb):
- (PlatformStrategiesQt::AXTextFieldActionVerb):
- (PlatformStrategiesQt::AXCheckedCheckBoxActionVerb):
- (PlatformStrategiesQt::AXUncheckedCheckBoxActionVerb):
- (PlatformStrategiesQt::AXMenuListActionVerb):
- (PlatformStrategiesQt::AXMenuListPopupActionVerb):
- (PlatformStrategiesQt::AXLinkActionVerb):
- (PlatformStrategiesQt::missingPluginText):
- (PlatformStrategiesQt::crashedPluginText):
- (PlatformStrategiesQt::multipleFileUploadText):
- (PlatformStrategiesQt::unknownFileSizeText):
- (PlatformStrategiesQt::imageTitle):
- (PlatformStrategiesQt::mediaElementLoadingStateText):
- (PlatformStrategiesQt::mediaElementLiveBroadcastStateText):
- (PlatformStrategiesQt::localizedMediaControlElementString):
- (PlatformStrategiesQt::localizedMediaControlElementHelpText):
- (PlatformStrategiesQt::localizedMediaTimeDescription):
- (PlatformStrategiesQt::validationMessageValueMissingText):
- (PlatformStrategiesQt::validationMessageTypeMismatchText):
- (PlatformStrategiesQt::validationMessagePatternMismatchText):
- (PlatformStrategiesQt::validationMessageTooLongText):
- (PlatformStrategiesQt::validationMessageRangeUnderflowText):
- (PlatformStrategiesQt::validationMessageRangeOverflowText):
- (PlatformStrategiesQt::validationMessageStepMismatchText):
- (PlatformStrategiesQt::isLinkVisited):
- (PlatformStrategiesQt::addVisitedLink):
- * WebCoreSupport/PlatformStrategiesQt.h: Renamed from Source/WebKit/qt/WebCoreSupport/WebPlatformStrategies.h.
- * declarative/declarative.pro:
- * docs/docs.pri:
- * docs/webkitsnippets/webelement/webelement.pro:
- * tests/MIMESniffing/MIMESniffing.pro:
- * tests/benchmarks/loading/loading.pro:
- * tests/benchmarks/painting/painting.pro:
- * tests/benchmarks/webgl/webgl.pro:
- * tests/hybridPixmap/hybridPixmap.pro:
- * tests/qdeclarativewebview/qdeclarativewebview.pro:
- * tests/qgraphicswebview/qgraphicswebview.pro:
- * tests/qwebelement/qwebelement.pro:
- * tests/qwebframe/qwebframe.pro:
- * tests/qwebhistory/qwebhistory.pro:
- * tests/qwebhistoryinterface/qwebhistoryinterface.pro:
- * tests/qwebinspector/qwebinspector.pro:
- * tests/qwebpage/qwebpage.pro:
- * tests/qwebplugindatabase/qwebplugindatabase.pro:
- * tests/qwebview/qwebview.pro:
- * tests/tests.pri:
- * tests/tests.pro: Removed.
- 2011-11-03 Rafael Brandao <rafael.lobo@openbossa.org>
- Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
- https://bugs.webkit.org/show_bug.cgi?id=61042
- Reviewed by Simon Hausmann.
-
- At some points we didn't have any guarantee that a favicon has been loaded, so now
- it stops to wait for the IconChanged signal. It also had some file paths in wrong format,
- making some files to not be resolved and comparing meaningless bitmaps.
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- (tst_QDeclarativeWebView::initTestCase):
- (tst_QDeclarativeWebView::basicProperties):
- (tst_QDeclarativeWebView::historyNav):
- 2011-11-03 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Remove Maemo specific code paths
- https://bugs.webkit.org/show_bug.cgi?id=71476
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qwebpage.cpp:
- (QWebPage::userAgentForUrl):
- * Api/qwebview.cpp:
- (QWebView::QWebView):
- * QtWebKit.pro:
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::createSelectPopup):
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::setInputMethodState):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::createPlugin):
- * WebCoreSupport/QtMaemoWebPopup.cpp: Removed.
- * WebCoreSupport/QtMaemoWebPopup.h: Removed.
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView::focusInputTypes):
- * tests/qwebframe/tst_qwebframe.cpp:
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView::focusInputTypes):
- 2011-11-03 Jesus Sanchez-Palencia <jesus@webkit.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] QtWebKit should have documentation clarifying its mobile features usage
- https://bugs.webkit.org/show_bug.cgi?id=41465
- Add "QtWebKit Goes Mobile" documentation
- * docs/qtwebkit-goes-mobile.qdoc: Added.
- * docs/qtwebkit.qdoc: Linked to qtwebkit-goes-mobile documentation
- * docs/webkitsnippets/qtwebkit_goes_mobile_snippets.cpp: Added.
- 2011-11-03 Fady Samuel <fsamuel@chromium.org>
- Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
- https://bugs.webkit.org/show_bug.cgi?id=70609
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qwebpage.cpp:
- (QWebPage::viewportAttributesForSize):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::viewportAsText):
- 2011-11-03 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
- [Qt][WK2] Download support and API in UIProcess
- https://bugs.webkit.org/show_bug.cgi?id=68962
- Reviewed by Simon Hausmann.
- Registering new qml type QWebDownloadItem.
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- 2011-11-02 Jon Lee <jonlee@apple.com>
- Expand DragController to provide more information about the dragging session
- https://bugs.webkit.org/show_bug.cgi?id=71324
- <rdar://problem/10379175>
- Reviewed by Darin Adler.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::dragEnterEvent): Minor refactoring because operation is stored in
- new DragSession struct.
- (QWebPagePrivate::dragMoveEvent): Ditto.
- 2011-11-02 Tom Sepez <tsepez@chromium.org>
- XSSAuditor is silent
- https://bugs.webkit.org/show_bug.cgi?id=70973
- Reviewed by Adam Barth.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::didDetectXSS):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-11-02 Jon Lee <jonlee@apple.com>
- <input=file multiple> default text uses singular instead of plural
- https://bugs.webkit.org/show_bug.cgi?id=71319
- <rdar://problem/10379021>
- Reviewed by Darin Adler.
- * WebCoreSupport/WebPlatformStrategies.cpp:
- (WebPlatformStrategies::fileButtonNoFilesSelectedLabel):
- * WebCoreSupport/WebPlatformStrategies.h:
- 2011-11-02 Deepak Sherveghar <bpwv64@motorola.com>
- [Qt] Failing test media/video-document-types.html
- https://bugs.webkit.org/show_bug.cgi?id=62108
- Reviewed by Simon Hausmann.
- Match what Mac has been doing since r36001: cancel the main load,
- and handle failures caused by 'will be handled by plugin' errors.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::committedLoad):
- (WebCore::FrameLoaderClientQt::shouldFallBack):
- 2011-11-01 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt][WK2] Fix build of WebKitTestRunner with ELF symbol visibility
- https://bugs.webkit.org/show_bug.cgi?id=71299
- Reviewed by Andreas Kling.
- Export an overload of QtDRT::injectInternalsObjects that is used by
- the WK2 injected bundle.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::injectInternalsObject):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-11-01 Alexis Menard <alexis.menard@openbossa.org>
- Unreviewed Qt documentation fix.
- This signal is Qt 4.8 material.
- * Api/qwebpage.cpp:
- 2011-10-31 Mark Hahnenberg <mhahnenberg@apple.com>
- De-virtualize JSObject::defineGetter
- https://bugs.webkit.org/show_bug.cgi?id=71134
- Reviewed by Darin Adler.
- Added defineGetter to the MethodTable. Replaced all virtual versions of defineGetter
- with static versions. Replaced all call sites with lookups in the MethodTable.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::addQtSenderToGlobalObject):
- 2011-10-28 Jochen Eisinger <jochen@chromium.org>
- Rename a number of methods mentioning JavaScript to just Script instead
- https://bugs.webkit.org/show_bug.cgi?id=71105
- Reviewed by Adam Barth.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- 2011-10-28 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt] Adapt to QSG* to QQuick* API change in qtdeclarative
- https://bugs.webkit.org/show_bug.cgi?id=70494
- Reviewed by Kenneth Christiansen.
- Use QQuick* instead of QSG* as well as QStandardPaths
- instead of QDesktopLocation.
- * Api/qwebsettings.cpp:
- (QWebSettings::enablePersistentStorage):
- 2011-10-27 Helder Correia <helder.correia@palm.com>
- [Qt] Failure to build when QT_NO_MENU defined
- https://bugs.webkit.org/show_bug.cgi?id=70970
- Reviewed by Andreas Kling.
- iterateContextMenu() must be wrapped around #ifndef QT_NO_MENU.
- Build fix, no new tests.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- 2011-10-26 Zalan Bujtas <zbujtas@gmail.com>
- Name viewport change event consistently.
- https://bugs.webkit.org/show_bug.cgi?id=70901
- Reviewed by Kenneth Rohde Christiansen.
- Use ViewportPropertiesDidChange term consistently throughout WebKit.
-
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::dispatchViewportPropertiesDidChange):
- * WebCoreSupport/ChromeClientQt.h:
- 2011-10-25 Mark Hahnenberg <mhahnenberg@apple.com>
- Remove putVirtual
- https://bugs.webkit.org/show_bug.cgi?id=70740
- Reviewed by Geoffrey Garen.
- Removed all declarations and definitions of putVirtual.
- Also replaced all call sites to putVirtual with a
- corresponding lookup in the MethodTable.
- * Api/qwebframe.cpp:
- (QWebFrame::addToJavaScriptWindowObject):
- 2011-10-24 Deepak Sherveghar <bpwv64@motorola.com>
- [Qt] fast/events/media-focus-in-standalone-media-document.html fails
- https://bugs.webkit.org/show_bug.cgi?id=70110
- Reviewed by Simon Hausmann.
- We should check for supported media mime types as well in the MIMETypeRegistry.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::canShowMIMEType): check for supported media mime type.
- 2011-10-21 Luiz Agostini <luiz.agostini@palm.com>
- [Qt] Remote debugging needs QWebInspector to work
- https://bugs.webkit.org/show_bug.cgi?id=70651
- Reviewed by Kenneth Rohde Christiansen.
- Removing QWebInspector dependency from remote inspector.
- * Api/qwebinspector.cpp:
- * Api/qwebinspector_p.h:
- (QWebInspectorPrivate::QWebInspectorPrivate):
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::InspectorClientQt):
- (WebCore::InspectorClientQt::openInspectorFrontend):
- (WebCore::InspectorClientQt::attachAndReplaceRemoteFrontend):
- (WebCore::InspectorClientQt::detachRemoteFrontend):
- (WebCore::InspectorClientQt::sendMessageToFrontend):
- * WebCoreSupport/InspectorClientQt.h:
- * WebCoreSupport/InspectorServerQt.cpp:
- (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
- * WebCoreSupport/InspectorServerQt.h:
- 2011-10-21 Luiz Agostini <luiz.agostini@palm.com>
- [Qt] Wrong type conversion in InspectorServerQt.cpp
- https://bugs.webkit.org/show_bug.cgi?id=70639
- Reviewed by Noam Rosenthal.
- Wrong type conversion causes WebSocket handshake failures for the remote inspector.
- * WebCoreSupport/InspectorServerQt.cpp:
- (WebCore::parseWebSocketChallengeNumber):
- 2011-10-21 Zeno Albisser <zeno.albisser@nokia.com>
- [Qt] WebKit build does not respect QMAKE_MAC_SDK variable.
- https://bugs.webkit.org/show_bug.cgi?id=70596
- Instead of only relying on DARWIN_MAJOR_VERSION we also
- check QMAKE_MAC_SDK. In case QMAKE_MAC_SDK is not defined
- we are still falling back to DARWIN_MAJOR_VERSION.
- Patch by Andy Shaw <andy.shaw@digia.com>
- Reviewed by Noam Rosenthal.
- * QtWebKit.pro:
- 2011-10-21 Csaba Osztrogonác <ossy@webkit.org>
- [Qt][WK2] Typo fix.
- * tests/util.h:
- 2011-10-21 Csaba Osztrogonác <ossy@webkit.org>
- [Qt][WK2] Buildfix for newer Qt5. Remove duplicated defines.
- Reviewed by Simon Hausmann.
- * tests/util.h:
- 2011-10-21 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r98085.
- http://trac.webkit.org/changeset/98085
- https://bugs.webkit.org/show_bug.cgi?id=70589
- It broke the build (Requested by Ossy on #webkit).
- * tests/util.h:
- 2011-10-21 Csaba Osztrogonác <ossy@webkit.org>
- [Qt][WK2] Unreviewed buildfix for newer Qt5. Remove duplicated defines.
- * tests/util.h:
- (waitForSignal):
- 2011-10-20 Carol Szabo <carol@webkit.org>
- Tiled Backing Store does not regenerate tiles when it should
- https://bugs.webkit.org/show_bug.cgi?id=57798
- Reviewed by Darin Adler.
- Provided test for this bug. Changed the name of the resource I added
- for a previous test so that the name is descriptive such that it can
- be shared across several tests.
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView::bug57798):
- (tst_QGraphicsWebView::bug56929):
- * tests/qgraphicswebview/tst_qgraphicswebview.qrc:
- 2011-10-18 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Merge QML plugin for WebKit2 with the original WebKit1 plugin
- We don't need a separate plugin, as we no longer expose the WK2
- APIs under QtWebKit.experimental, but now use QtWebKit. The version
- was also changed to 3.0 instead of 5.0, as the original plugin was
- versioned 1.0, and bumping to 3.0 fits the scheme used by QtWebKit releases.
- Reviewed by Andreas Kling.
- * declarative/declarative.pro:
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- 2011-10-15 Adam Barth <abarth@webkit.org>
- Rename ENABLE(TILED_BACKING_STORE) to USE(TILED_BACKING_STORE)
- https://bugs.webkit.org/show_bug.cgi?id=70194
- Reviewed by Daniel Bates.
- * Api/qgraphicswebview.cpp:
- (QGraphicsWebViewPrivate::_q_scaleChanged):
- (QGraphicsWebView::QGraphicsWebView):
- (QGraphicsWebView::paint):
- (QGraphicsWebView::isTiledBackingStoreFrozen):
- (QGraphicsWebView::setTiledBackingStoreFrozen):
- * Api/qwebframe.cpp:
- * Api/qwebframe_p.h:
- * Api/qwebpage.cpp:
- (QWebPagePrivate::dynamicPropertyChangeEvent):
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::invalidateWindow):
- * WebCoreSupport/ChromeClientQt.h:
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQGraphicsWidget::createOrDeleteOverlay):
- * WebCoreSupport/PageClientQt.h:
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- 2011-10-15 Laszlo Gombos <laszlo.1.gombos@nokia.com>
- [Qt] [Symbian] Remove support for the Symbian platform for the QtWebKit port
- https://bugs.webkit.org/show_bug.cgi?id=69920
- Reviewed by Kenneth Rohde Christiansen.
- * Api/qgraphicswebview.cpp:
- (QGraphicsWebView::setPage):
- * Api/qwebpage.cpp:
- (QWebPage::userAgentForUrl):
- * Api/qwebview.cpp:
- (QWebView::QWebView):
- * QtWebKit.pro:
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::setInputMethodState):
- * WebCoreSupport/QtFallbackWebPopup.cpp:
- (WebCore::QtFallbackWebPopup::populate):
- * declarative/declarative.pro:
- * declarative/qdeclarativewebview.cpp:
- (QDeclarativeWebView::setPage):
- * symbian: Removed.
- * symbian/backup_registration.xml: Removed.
- * symbian/bwins: Removed.
- * symbian/bwins/QtWebKitu.def: Removed.
- * symbian/eabi: Removed.
- * symbian/eabi/QtWebKitu.def: Removed.
- * symbian/platformplugin: Removed.
- * symbian/platformplugin/HTML5VideoPlugin.cpp: Removed.
- * symbian/platformplugin/HTML5VideoPlugin.h: Removed.
- * symbian/platformplugin/HTML5VideoWidget.cpp: Removed.
- * symbian/platformplugin/HTML5VideoWidget.h: Removed.
- * symbian/platformplugin/OverlayWidget.cpp: Removed.
- * symbian/platformplugin/OverlayWidget.h: Removed.
- * symbian/platformplugin/PlayerButton.cpp: Removed.
- * symbian/platformplugin/PlayerButton.h: Removed.
- * symbian/platformplugin/PlayerLabel.cpp: Removed.
- * symbian/platformplugin/PlayerLabel.h: Removed.
- * symbian/platformplugin/WebPlugin.cpp: Removed.
- * symbian/platformplugin/WebPlugin.h: Removed.
- * symbian/platformplugin/images: Removed.
- * symbian/platformplugin/images/button_cannotplay.png: Removed.
- * symbian/platformplugin/images/button_close.png: Removed.
- * symbian/platformplugin/images/button_pause.png: Removed.
- * symbian/platformplugin/images/button_play.png: Removed.
- * symbian/platformplugin/images/button_sound_off.png: Removed.
- * symbian/platformplugin/images/button_sound_on.png: Removed.
- * symbian/platformplugin/images/loading_buffering_1.png: Removed.
- * symbian/platformplugin/images/loading_buffering_2.png: Removed.
- * symbian/platformplugin/images/loading_buffering_3.png: Removed.
- * symbian/platformplugin/images/loading_buffering_4.png: Removed.
- * symbian/platformplugin/platformplugin.pro: Removed.
- * symbian/platformplugin/platformplugin.qrc: Removed.
- * symbian/platformplugin/qss: Removed.
- * symbian/platformplugin/qss/OverlayWidget.qss: Removed.
- * symbian/platformplugin/qwebkitplatformplugin.h: Removed.
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView::focusInputTypes):
- * tests/qwebframe/qwebframe.pro:
- * tests/qwebframe/tst_qwebframe.cpp:
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView::focusInputTypes):
- * tests/tests.pri:
- 2011-10-14 Mark Hahnenberg <mhahnenberg@apple.com>
- Rename virtual put to putVirtual
- https://bugs.webkit.org/show_bug.cgi?id=69851
- Reviewed by Darin Adler.
- Renamed virtual versions of put to putVirtual in prepration for
- adding the static put to the MethodTable in ClassInfo since the
- compiler gets mad if the virtual and static versions have the same
- name.
- * Api/qwebframe.cpp:
- (QWebFrame::addToJavaScriptWindowObject):
- 2011-10-12 Ryosuke Niwa <rniwa@webkit.org>
- Make the interface of locationAndLengthFromRange and rangeFromLocationAndLength consistent
- https://bugs.webkit.org/show_bug.cgi?id=69964
- Reviewed by Enrica Casucci.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::firstRectForCharacterRange):
- 2011-10-13 Adenilson Cavalcanti <adenilson.silva@openbossa.org>
- [Qt] GeolocationClient cleanups
- https://bugs.webkit.org/show_bug.cgi?id=69737
- Reviewed by Kenneth Rohde Christiansen.
- Qt5 has a location module, so no need to use an external
- library like Qt Mobility. This patch will allow the GeolocationClientQt
- to compile with both Qt5 and Qt4.
- * QtWebKit.pro:
- * WebCoreSupport/GeolocationClientQt.cpp:
- (WebCore::GeolocationClientQt::positionUpdated):
- * WebCoreSupport/GeolocationClientQt.h:
- 2011-10-11 Simon Fraser <simon.fraser@apple.com>
- Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
- https://bugs.webkit.org/show_bug.cgi?id=68134
- Reviewed by Darin Adler.
- Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
-
- Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
- that reads the setting, and returns the mock theme if set. All callers now use
- theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::windowResizerRect):
- 2011-10-11 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Remove all references to QTDIR_build and standalone_package
- Qt is now modularized, which means we no longer import WebKit into
- the Qt source tree. Instead we use git submodules, and building
- QtWebKit as "part of Qt" is really building QtWebKit as from trunk.
- To decrease the number of buildsystem configurations we also remove
- the standalone_package code-path used when we were providing tarballs
- with the derived sources pre-generated.
- Reviewed by Simon Hausmann.
- * Api/DerivedSources.pro:
- * QtWebKit.pro:
- * declarative/declarative.pro:
- * docs/webkitsnippets/webelement/webelement.pro:
- * tests/tests.pri:
- 2011-10-07 Chang Shu <cshu@webkit.org>
- Remove compile time flag ENABLE_PASSWORD_ECHO
- https://bugs.webkit.org/show_bug.cgi?id=69647
- As we have runtime flag in the page/Settings, we should remove this redundant compile time flag.
- Reviewed by Andreas Kling.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- 2011-10-06 Fady Samuel <fsamuel@chromium.org>
- Code clean-up: Make RenderObject::absoluteBoundingBoxRect and associated methods const and make its parameter useTransforms no longer default to false
- https://bugs.webkit.org/show_bug.cgi?id=69009
- Reviewed by Simon Fraser.
- * Api/qwebframe.cpp:
- (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
- 2011-10-06 Simon Hausmann <simon.hausmann@nokia.com>
- [Qt][Wk2] Fix build with Qt 5 when QtScript is built as standalone module
- https://bugs.webkit.org/show_bug.cgi?id=69520
- Reviewed by Csaba Osztrogonác.
- * QtWebKit.pro: Convenience, use qt5 scope.
- * declarative/declarative.pro: Ditto.
- * tests/tests.pri: Ditto.
- 2011-10-03 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] Build fix: Qt::escape is deprecated in Qt5
- https://bugs.webkit.org/show_bug.cgi?id=69162
- Use QString::toHtmlEscaped in the Qt5 case.
- Reviewed by Andreas.
- * Api/qwebpage.cpp:
- (QWebPage::javaScriptAlert):
- (QWebPage::javaScriptConfirm):
- (QWebPage::javaScriptPrompt):
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::setToolTip):
- 2011-10-01 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r96421.
- http://trac.webkit.org/changeset/96421
- https://bugs.webkit.org/show_bug.cgi?id=69206
- It broke Qt-WK2 build (Requested by ossy on #webkit).
- * Api/qwebpage.cpp:
- (QWebPage::javaScriptAlert):
- (QWebPage::javaScriptConfirm):
- (QWebPage::javaScriptPrompt):
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::setToolTip):
- 2011-09-30 Pierre Rossi <pierre.rossi@gmail.com>
- [Qt] Build fix: Qt::escape is deprecated in Qt5
- https://bugs.webkit.org/show_bug.cgi?id=69162
- Use QString::toHtmlEscaped in the Qt5 case.
- Reviewed by Andreas Kling.
- * Api/qwebpage.cpp:
- (QWebPage::javaScriptAlert):
- (QWebPage::javaScriptConfirm):
- (QWebPage::javaScriptPrompt):
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::setToolTip):
- 2011-09-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
- QWidget and friends now live in the QtWidgets library. We update
- includes in implementation files and private headers to us the
- non-module-prefixed path, and leave the lookup for the include
- path. For public headers we have to ifdef the includes as the
- user might now have the modules we need in his QT config.
- Finally, QSGCanvas is no longer a QWidget but a QWindow, so we
- have to update our code and use windowHandle() for setting the
- parent relationships.
- https://bugs.webkit.org/show_bug.cgi?id=68687
- Reviewed by Andreas Kling.
- * Api/qgraphicswebview.cpp:
- * Api/qgraphicswebview.h:
- * Api/qwebframe.h:
- * Api/qwebhistory.h:
- * Api/qwebpage.h:
- * Api/qwebsettings.h:
- * Api/qwebview.h:
- * QtWebKit.pro:
- * WebCoreSupport/PageClientQt.h:
- * WebCoreSupport/QtWebComboBox.cpp:
- * WebCoreSupport/QtWebComboBox.h:
- * declarative/qdeclarativewebview.cpp:
- * declarative/qdeclarativewebview_p.h:
- * docs/webkitsnippets/webpage/main.cpp:
- * examples/platformplugin/WebNotificationPresenter.h:
- 2011-09-27 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r96108, r96111, r96113, and r96116.
- http://trac.webkit.org/changeset/96108
- http://trac.webkit.org/changeset/96111
- http://trac.webkit.org/changeset/96113
- http://trac.webkit.org/changeset/96116
- https://bugs.webkit.org/show_bug.cgi?id=68913
- Wait for working Qt5 (Requested by ossy on #webkit).
- * Api/qgraphicswebview.cpp:
- * Api/qgraphicswebview.h:
- * Api/qwebframe.h:
- * Api/qwebhistory.h:
- * Api/qwebpage.h:
- * Api/qwebsettings.h:
- * Api/qwebview.h:
- * QtWebKit.pro:
- * WebCoreSupport/PageClientQt.h:
- * WebCoreSupport/QtWebComboBox.cpp:
- * WebCoreSupport/QtWebComboBox.h:
- * declarative/declarative.pro:
- * declarative/qdeclarativewebview.cpp:
- * declarative/qdeclarativewebview_p.h:
- * docs/webkitsnippets/webpage/main.cpp:
- * examples/platformplugin/WebNotificationPresenter.h:
- * tests/tests.pri:
- 2011-09-27 Csaba Osztrogonác <ossy@webkit.org>
- [Qt][WK2] Buildfix after r96108.
- Rubber-stamped by Andreas Kling.
- * tests/tests.pri:
- 2011-09-27 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Fix build of declarative plugin against Qt5
- Reviewed by Andreas Kling.
- * declarative/declarative.pro:
- 2011-09-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
- QWidget and friends now live in the QtWidgets library. We update
- includes in implementation files and private headers to us the
- non-module-prefixed path, and leave the lookup for the include
- path. For public headers we have to ifdef the includes as the
- user might now have the modules we need in his QT config.
- Finally, QSGCanvas is no longer a QWidget but a QWindow, so we
- have to update our code and use windowHandle() for setting the
- parent relationships.
- https://bugs.webkit.org/show_bug.cgi?id=68687
- Reviewed by Andreas Kling.
- * Api/qgraphicswebview.cpp:
- * Api/qgraphicswebview.h:
- * Api/qwebframe.h:
- * Api/qwebhistory.h:
- * Api/qwebpage.h:
- * Api/qwebsettings.h:
- * Api/qwebview.h:
- * QtWebKit.pro:
- * WebCoreSupport/PageClientQt.h:
- * WebCoreSupport/QtWebComboBox.cpp:
- * WebCoreSupport/QtWebComboBox.h:
- * declarative/qdeclarativewebview.cpp:
- * declarative/qdeclarativewebview_p.h:
- * docs/webkitsnippets/webpage/main.cpp:
- * examples/platformplugin/WebNotificationPresenter.h:
- 2011-09-24 Adam Barth <abarth@webkit.org>
- Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
- https://bugs.webkit.org/show_bug.cgi?id=68767
- Reviewed by Eric Seidel.
- * Api/qwebsecurityorigin.cpp:
- (QWebSecurityOrigin::setApplicationCacheQuota):
- * Api/qwebsettings.cpp:
- (QWebSettings::setOfflineWebApplicationCachePath):
- (QWebSettings::offlineWebApplicationCachePath):
- (QWebSettings::setOfflineWebApplicationCacheQuota):
- (QWebSettings::offlineWebApplicationCacheQuota):
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
- * WebCoreSupport/ChromeClientQt.h:
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::clearAllApplicationCaches):
- 2011-09-21 Andras Becsi <andras.becsi@nokia.com>
- [Qt] Remove Qt specific code from css/SelectorChecker.cpp
- https://bugs.webkit.org/show_bug.cgi?id=67702
- Reviewed by Csaba Osztrogonác.
- * WebCoreSupport/WebPlatformStrategies.cpp: Check the Qt global history here, instead of a platform independent file.
- (WebPlatformStrategies::isLinkVisited):
- * WebCoreSupport/WebPlatformStrategies.h:
- 2011-09-20 Jarred Nicholls <jarred@sencha.com>
- [Qt] Permit qrc resources to load in QWebSettings::setUserStyleSheetUrl()
- https://bugs.webkit.org/show_bug.cgi?id=51159
-
- Permit any URL with a local scheme to set a user style sheet. Allow qrc
- resource URLs as arguments to QWebSettings::setUserStyleSheetUrl().
-
- New test case makes sure a qrc URL will properly load a user stylesheet.
- Reviewed by Kenneth Rohde Christiansen.
-
- (tst_QWebPage::userStyleSheetFromQrcUrl):
- * tests/qwebpage/tst_qwebpage.qrc:
- 2011-09-20 Adenilson Cavalcanti <adenilson.silva@openbossa.org>
- [Qt] resizeToContent seems to trigger infinite resize on some pages
- https://bugs.webkit.org/show_bug.cgi?id=43852
- Reviewed by Kenneth Rohde Christiansen.
- Test by Luiz Agostini.
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (ResizeSpy::receiveResize):
- (ResizeSpy::size):
- (tst_QGraphicsWebView::windowResizeEvent):
- 2011-09-17 Mihai Parparita <mihaip@chromium.org>
- FrameLoaderClient BackForwardList-related methods are unsued
- https://bugs.webkit.org/show_bug.cgi?id=68293
- Reviewed by Darin Adler.
- Remove FrameLoaderClient methods that were added by r51629, since only
- the old (since-deleted) Android port needed them.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-09-15 Adam Barth <abarth@webkit.org>
- Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
- https://bugs.webkit.org/show_bug.cgi?id=68205
- Reviewed by Eric Seidel.
- * Api/qwebdatabase.cpp:
- (QWebDatabase::displayName):
- (QWebDatabase::expectedSize):
- (QWebDatabase::size):
- (QWebDatabase::fileName):
- (QWebDatabase::removeDatabase):
- (QWebDatabase::removeAllDatabases):
- * Api/qwebsecurityorigin.cpp:
- (QWebSecurityOrigin::databaseUsage):
- (QWebSecurityOrigin::databaseQuota):
- (QWebSecurityOrigin::setDatabaseQuota):
- (QWebSecurityOrigin::allOrigins):
- (QWebSecurityOrigin::databases):
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- (QWebSettings::setOfflineStoragePath):
- (QWebSettings::offlineStoragePath):
- * WebCoreSupport/ChromeClientQt.cpp:
- * WebCoreSupport/ChromeClientQt.h:
- 2011-09-13 Zeno Albisser <zeno.albisser@nokia.com>
- [Qt] Fix state of stop/reload actions in QWebPage
- https://bugs.webkit.org/show_bug.cgi?id=65977
- FrameLoader does ask its DocumentLoader to stop loading subresources before
- setting the state to FrameStateCommittedPage. But it does
- not check if the the DocumentLoader actually stopped loading before
- it changes the state.
- Therefore a subresourceLoader can still be active, when we receive the
- call to dispatchDidFinishLoad(). This leads to an inconsistent behavior
- of the stop/reload actions in QWebPage.
- This changeset fixes the inconsistent state by updating the action states
- also when frameLoadCompleted() is called.
- Reviewed by Chang Shu.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::frameLoadCompleted):
- 2011-09-12 Csaba Osztrogonác <ossy@webkit.org>
- [Qt] Fix "Unmatched parentheses are deprecated." warnings
- https://bugs.webkit.org/show_bug.cgi?id=67775
- Reviewed by Zoltan Herczeg.
- Modify function declarations to single line to make qmake happier.
- * Api/qwebframe.h:
- * Api/qwebpluginfactory.h:
- * Api/qwebview.h:
- 2011-09-10 Jarred Nicholls <jarred@sencha.com>
- [Qt] QWebSettings::setUserStyleSheetUrl() does not work with windows paths that contain drive letters
- https://bugs.webkit.org/show_bug.cgi?id=34884
-
- KURL::path() alone does not handle removing the leading slash from a windows file path.
- Using QUrl::toLocalFile() will turn file:///C:/path into C:/path appropriately.
-
- New test case that ensures a user stylesheet from the file system will load correctly
- on all platforms.
- Reviewed by Andreas Kling.
- * tests/qwebpage/resources/user.css: Added.
- (p):
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::userStyleSheetFromFile):
- 2011-09-09 Fady Samuel <fsamuel@chromium.org>
- Move pageScaleFactor code from Frame.{h|cpp} to Page.{h|cpp}
- https://bugs.webkit.org/show_bug.cgi?id=67250
- Reviewed by Simon Fraser.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::scalePageBy):
- 2011-09-09 Zeno Albisser <zeno.albisser@nokia.com>
- [Qt] QWebElement::encloseWith doesn't work at all
- https://bugs.webkit.org/show_bug.cgi?id=62464
- Enclosing an element means wrapping something around an element,
- not inserting something into an element. Therefore we need to check
- if the parent of the element allows insertion rather than checking
- the element itself.
- Reviewed by Andreas Kling.
- * Api/qwebelement.cpp:
- (QWebElement::prependOutside):
- (QWebElement::appendOutside):
- (QWebElement::encloseWith):
- * tests/qwebelement/tst_qwebelement.cpp:
- (tst_QWebElement::appendAndPrepend):
- (tst_QWebElement::encloseWith):
- 2011-09-08 Sam Weinig <sam@webkit.org>
- Remove the Completion object from JSC, I have never liked it
- https://bugs.webkit.org/show_bug.cgi?id=67755
- Reviewed by Gavin Barraclough.
- * Api/qwebelement.cpp:
- (QWebElement::evaluateJavaScript):
- 2011-09-05 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
- [Qt][WK2] Make TiledDrawingArea request tiles only in the direction the viewport is panned to.
- https://bugs.webkit.org/show_bug.cgi?id=67606
- TiledBackingStore previously used different values for horizontal and vertial multiplication
- to calculate the cover area.
- This patch replaces this mechanism, used to give a bigger panning range to vertical panning,
- with the possibility to use the motion vector of the viewport to request tiles ahead instead.
- This allows economies on rendering resources as tiles won't be rendered beside the trajectory
- of the viewport.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::dynamicPropertyChangeEvent):
- 2011-09-06 Csaba Osztrogonác <ossy@webkit.org>
- Unreviewed buildfix after r94620.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::createFrame):
- 2011-09-06 Alexis Menard <alexis.menard@openbossa.org>
- [Qt] Move away from QPointer as it is slow and it has a replacement QWeakPointer.
- https://bugs.webkit.org/show_bug.cgi?id=67673
- Reviewed by Ariya Hidayat.
- Move away from QPointer as Qt provides a better and faster solution : QWeakPointer.
- * Api/qwebframe.cpp:
- (QWebHitTestResult::linkTargetFrame):
- (QWebHitTestResult::frame):
- * Api/qwebframe_p.h:
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- (QWebPagePrivate::~QWebPagePrivate):
- (QWebPagePrivate::acceptNavigationRequest):
- (QWebPagePrivate::createMainFrame):
- (QWebPagePrivate::updateAction):
- (QWebPagePrivate::mouseMoveEvent):
- (QWebPagePrivate::mousePressEvent):
- (QWebPagePrivate::mouseDoubleClickEvent):
- (QWebPagePrivate::mouseTripleClickEvent):
- (QWebPagePrivate::mouseReleaseEvent):
- (QWebPage::createStandardContextMenu):
- (QWebPagePrivate::wheelEvent):
- (QWebPagePrivate::focusInEvent):
- (QWebPage::setPalette):
- (QWebPagePrivate::touchEvent):
- (QWebPage::~QWebPage):
- (QWebPage::mainFrame):
- (QWebPage::viewportSize):
- (QWebPage::preferredContentsSize):
- (QWebPage::setContentEditable):
- (QWebPage::updatePositionDependentActions):
- * Api/qwebpage_p.h:
- * Api/qwebview.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::contextMenu):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::createFrame):
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::ownership):
- * tests/qwebpage/tst_qwebpage.cpp:
- (PluginCounterPage::PluginCounterPage):
- (PluginTracerPage::createPlugin):
- (tst_QWebPage::createViewlessPlugin):
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView::reusePage):
- 2011-09-06 Alexis Menard <alexis.menard@openbossa.org>
- [Qt] Fix API test failure after r92823 and r93001.
- https://bugs.webkit.org/show_bug.cgi?id=67676
- Reviewed by Kenneth Rohde Christiansen.
- r92823 and r93001 make WebKit no longer produce wrapping style
- spans on copy and paste and class="Apple-style-span" anymore.
- Our expectations need to be updated.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::cursorMovements):
- (tst_QWebPage::textSelection):
- (tst_QWebPage::findText):
- 2011-09-06 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
- [Qt][Symbian] REGRESSION[94105] DumpRenderTree.exe doesn't build on Symbian
- https://bugs.webkit.org/show_bug.cgi?id=67644
- Reviewed by Csaba Osztrogonác.
- * symbian/eabi/QtWebKitu.def: add missing entry for
- FrameLoaderClientQt::dumpProgressFinishedCallback(bool)
- 2011-09-05 Kaustubh Atrawalkar <kaustubh@motorola.com>
- Logic from HTMLElement::deprecatedCreateContextualFragment moved into
- Range::createContextualFragment function.
- https://bugs.webkit.org/show_bug.cgi?id=67056
- Reviewed by Ryosuke Niwa.
- Code Refactoring for deprecatedCreateContextualFragment.
- * Api/qwebelement.cpp:
- (QWebElement::appendInside):
- (QWebElement::prependInside):
- (QWebElement::prependOutside):
- (QWebElement::appendOutside):
- (QWebElement::encloseContentsWith):
- (QWebElement::encloseWith):
- 2011-09-03 Laszlo Gombos <laszlo.1.gombos@nokia.com>
- REGRESSION (r86268): Fix for qt_networkAccessAllowed()
- https://bugs.webkit.org/show_bug.cgi?id=67570
- Reviewed by Noam Rosenthal.
- Replace the ENABLE(QT_BEARER) guard with
- !defined(QT_NO_BEARERMANAGEMENT) which is true by
- default in Qt 4.7 or later versions.
- * Api/qwebsettings.cpp:
- (qt_networkAccessAllowed):
- 2011-09-02 Jade Han <jade.han@nokia.com>
- [Qt][Symbian] REGRESSION(93235) Missing .def update
- https://bugs.webkit.org/show_bug.cgi?id=67307
- Reviewed by Laszlo Gombos.
- * symbian/eabi/QtWebKitu.def:
- 2011-09-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] Transform QtFallbackWebPopupCombo into QtWebComboBox
- https://bugs.webkit.org/show_bug.cgi?id=67344
- Reviewed by Andreas Kling.
- Renamed QtFallbackWebPopup to QtWebComboBox and decoupled it from
- QtFallbackWebPopup. The new class is a QComboBox with the features that
- we need for QtWebKit: tracking when the popup is hidden (via the didHide()
- signal) and a convenience method to show its popup in the cursor position.
- An important change was made to the combobox: instead of hooking our actions in
- showPopup() and hidePopup(), as well as watching for popup visibility events, we
- now just watch for the visibility events. This allowed us to get rid of
- m_popupVisible and tracking the Show event.
- This commit also removed a workaround for input focus added in r40970 after
- reviewers request. See bug report for details.
- * QtWebKit.pro:
- * WebCoreSupport/QtFallbackWebPopup.cpp:
- (WebCore::QtFallbackWebPopup::QtFallbackWebPopup):
- (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup):
- (WebCore::QtFallbackWebPopup::show):
- (WebCore::QtFallbackWebPopup::deleteComboBox):
- * WebCoreSupport/QtFallbackWebPopup.h:
- * WebCoreSupport/QtWebComboBox.cpp: Added.
- (WebCore::QtWebComboBox::QtWebComboBox):
- (WebCore::QtWebComboBox::showPopupAtCursorPosition):
- (WebCore::QtWebComboBox::eventFilter):
- * WebCoreSupport/QtWebComboBox.h: Added.
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::popupFocus):
- Change the test to use QObject::findChild(). The old method couldn't find our
- new class because we defined a new metaclass for it.
- 2011-08-31 Ryosuke Niwa <rniwa@webkit.org>
- Move text() and textWithHardLineBreaks() from RenderTextControl to HTMLTextFormControlElement
- https://bugs.webkit.org/show_bug.cgi?id=67320
- Reviewed by Darin Adler.
- Call HTMLTextFormControlElement::value() instead of RenderText::text()
- * Api/qwebpage.cpp:
- (QWebPage::inputMethodQuery):
- 2011-08-31 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] Unskip API test for load signals order
- https://bugs.webkit.org/show_bug.cgi?id=67285
- Reviewed by Andreas Kling.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::loadSignalsOrder):
- 2011-08-30 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r94142, r94144, r94145, and r94148.
- http://trac.webkit.org/changeset/94142
- http://trac.webkit.org/changeset/94144
- http://trac.webkit.org/changeset/94145
- http://trac.webkit.org/changeset/94148
- https://bugs.webkit.org/show_bug.cgi?id=67262
- Broke isindex element (Requested by rniwa on #webkit).
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setAutofilled):
- (DumpRenderTreeSupportQt::setValueForUser):
- (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
- 2011-08-30 Ryosuke Niwa <rniwa@webkit.org>
- Get rid of toInputElement()
- https://bugs.webkit.org/show_bug.cgi?id=67175
- Reviewed by Darin Adler.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setAutofilled):
- (DumpRenderTreeSupportQt::setValueForUser):
- (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
- 2011-08-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Emit last progress notification before calling dispatchDidFinishLoad
- https://bugs.webkit.org/show_bug.cgi?id=28851
- Reviewed by Adam Barth.
- Add infrastructure to dump progressFinishedNotification callback in DRT.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::dumpProgressFinishedCallback):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com>
- The unused ScrollView* argument can and should be removed from
- scrollRectIntoView.
- https://bugs.webkit.org/show_bug.cgi?id=67117
- Reviewed by Darin Adler.
- * WebCoreSupport/ChromeClientQt.h:
- (WebCore::ChromeClientQt::scrollRectIntoView):
- 2011-08-25 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
- Unreviewed QtWebKit.pro fix for when building inside Qt
- Patch by Simo Fält <simo.falt@nokia.com>
- The QtWebKit version was being overwritten by a global Qt version when
- QtWebKit was built inside Qt. Fixed by moving the version
- definition after the inclusion of qbase.pri.
- * QtWebKit.pro:
- 2011-08-25 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r93783.
- http://trac.webkit.org/changeset/93783
- https://bugs.webkit.org/show_bug.cgi?id=66943
- Commited wrong stuff by accident. (Requested by ademar on
- #webkit).
- * Api/qwebview.cpp:
- (QWebView::load):
- (QWebView::setHtml):
- (QWebView::setContent):
- (QWebView::setUrl):
- * QtWebKit.pro:
- 2011-08-25 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
- Unreviewed QtWebKit.pro fix for when building inside Qt
- Patch by Simo Fält <simo.falt@nokia.com>
- The QtWebKit version was being overwritten by a global Qt version when
- QtWebKit was built inside Qt. Fixed by moving the version
- definition after the inclusion of qbase.pri.
- * QtWebKit.pro:
- 2011-08-23 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- [Qt] Fix build on Lion
- https://bugs.webkit.org/show_bug.cgi?id=66770
- Reviewed by Andreas Kling.
- We were mistakenly picking up mac/WebCoreSystemInterface.h instead of
- the Qt one, and building on Lion revealed this when a typedef for
- IOSurfaceRef was wrapped in PLATFORM(MAC).
- For now we fix this by including WebCoreSystemInterface using
- brackets, so that we'll pick up the right file based on the
- include paths. This also means exposing a few missing enums
- in our own version of the file, so those were added.
- Lasty, we need to link against the right system interface library
- on Lion.
- * QtWebKit.pro:
- 2011-08-21 Lindsay Mathieson <lindsay.mathieson@gmail.com>
- [Qt] Fixes premature plugin unload bug
- https://bugs.webkit.org/show_bug.cgi?id=66628
-
- Reviewed by Benjamin Poulain.
- The QtPlatformPlugin was allocated on the stack, so its destructor is unloading the
- plugin at the end of the scope. This patch moves the local creation of QtPlatformPlugin
- to class member (TextCheckerClientQt::m_platformPlugin), preventing premature unloading
- of plugin.
-
- * WebCoreSupport/TextCheckerClientQt.cpp:
- (WebCore::TextCheckerClientQt::loadSpellChecker):
- * WebCoreSupport/TextCheckerClientQt.h:
- 2011-08-17 Adam Roben <aroben@apple.com>
- Make WebCore keep track of the current device scale factor
- Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
- device scale factor
- Reviewed by Darin Adler.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate): Removed pixelRatio.
- (QWebPage::viewportAttributesForSize): Now calls Page::setDeviceScaleFactor.
- * Api/qwebpage_p.h: Removed pixelRatio.
- * WebCoreSupport/ChromeClientQt.cpp:
- * WebCoreSupport/ChromeClientQt.h:
- Removed deviceScaleFactor.
- 2011-08-18 Chang Shu <cshu@webkit.org>
- Add support of setPasswordEchoEnabled and setPasswordEchoDuration for password echo feature
- https://bugs.webkit.org/show_bug.cgi?id=66052
- Reviewed by Alexey Proskuryakov.
- Enable password echo under the build flag.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- 2011-08-16 Chang Shu <cshu@webkit.org>
- Support reset in WebCore::Internals
- https://bugs.webkit.org/show_bug.cgi?id=66307
- Reviewed by Dimitri Glazkov.
- Added framework code in WebKit.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::resetInternalsObject):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-08-16 Lindsay Mathieson <lindsay.mathieson@gmail.com>
- [Qt] Missing spell check support
- https://bugs.webkit.org/show_bug.cgi?id=44114
- Reviewed by Benjamin Poulain.
- Added a platform plugin to allow spell and grammar check in QtWebKit.
- * Api/qwebkitplatformplugin.h:
- * QtWebKit.pro:
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
- (WebCore::EditorClientQt::isGrammarCheckingEnabled):
- (WebCore::EditorClientQt::toggleContinuousSpellChecking):
- (WebCore::EditorClientQt::toggleGrammarChecking):
- * WebCoreSupport/EditorClientQt.h:
- (WebCore::EditorClientQt::textChecker):
- * WebCoreSupport/QtPlatformPlugin.cpp:
- (WebCore::QtPlatformPlugin::createSpellChecker):
- * WebCoreSupport/QtPlatformPlugin.h:
- * WebCoreSupport/TextCheckerClientQt.cpp: Added.
- (convertToVectorList):
- (WebCore::TextCheckerClientQt::ignoreWordInSpellDocument):
- (WebCore::TextCheckerClientQt::learnWord):
- (WebCore::TextCheckerClientQt::getAutoCorrectSuggestionForMisspelledWord):
- (WebCore::TextCheckerClientQt::checkSpellingOfString):
- (WebCore::TextCheckerClientQt::checkGrammarOfString):
- (WebCore::TextCheckerClientQt::getGuessesForWord):
- (WebCore::TextCheckerClientQt::isContinousSpellCheckingEnabled):
- (WebCore::TextCheckerClientQt::toggleContinousSpellChecking):
- (WebCore::TextCheckerClientQt::isGrammarCheckingEnabled):
- (WebCore::TextCheckerClientQt::toggleGrammarChecking):
- (WebCore::TextCheckerClientQt::loadSpellChecker):
- * WebCoreSupport/TextCheckerClientQt.h: Added.
- (WebCore::TextCheckerClientQt::requestCheckingOfString):
- 2011-08-15 Dmitry Titov <dimich@chromium.org>
- FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
- https://bugs.webkit.org/show_bug.cgi?id=66165
- Reviewed by Darin Fisher.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::transferLoadingResourceFromPage):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-08-10 Adam Roben <aroben@apple.com>
- Clear up scale factor terminology
- WebKit by and large deals with two scale factors: one intrinsic to the device on which the
- software is running, and one that is per-Page and can be controlled via API calls. This
- patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
- code use those names. It should introduce no behavior changes.
- Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
- device scale factor
- Reviewed by Simon Fraser.
- * WebCoreSupport/ChromeClientQt.cpp:
- * WebCoreSupport/ChromeClientQt.h:
- 2011-08-12 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] Add test for correct order of load signals in QWebPage
- https://bugs.webkit.org/show_bug.cgi?id=66016
- Reviewed by Benjamin Poulain.
- Add API test to ensure the order of load signals: loadStarted() needs to be emitted
- first, then loadProgress(100), followed by loadFinished().
- The test is skipped since this right now is broken, the bug
- https://bugs.webkit.org/show_bug.cgi?id=28851 tracks one possible way to fix.
- * tests/qwebpage/tst_qwebpage.cpp:
- (SpyForLoadSignalsOrder::SpyForLoadSignalsOrder):
- (SpyForLoadSignalsOrder::isFinished):
- (SpyForLoadSignalsOrder::onLoadProgress):
- (tst_QWebPage::loadSignalsOrder_data):
- (tst_QWebPage::loadSignalsOrder):
- 2011-08-12 Alexis Menard <alexis.menard@openbossa.org>
- [Qt] Make sure QtWebKit correctly compiles when building WebKit2 with Qt5.
- In order to build correctly the QtQuick1 plugin we need to explicitly
- link to the new library added in Qt5 "qtquick1".
- Reviewed by Simon Hausmann.
- * declarative/declarative.pro:
- 2011-08-11 Andrew Wason <rectalogic@rectalogic.com>
- REGRESSION: Qt JavaScript bridge signal connection fails
- https://bugs.webkit.org/show_bug.cgi?id=66097
- Reviewed by Gavin Barraclough.
- Unmark tests as expected failures, they pass now.
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::connectAndDisconnect):
- 2011-08-09 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r92683.
- http://trac.webkit.org/changeset/92683
- https://bugs.webkit.org/show_bug.cgi?id=65921
- "Breaks Qt --minimal build. Revert pending update of the Qt
- minimal configuration" (Requested by simathur on #webkit).
- * Api/qwebsettings.cpp:
- (QWebSettings::enablePersistentStorage):
- 2011-08-09 Siddharth Mathur <siddharth.mathur@nokia.com>
- [Qt] Simplify code by removing QT_NO_DESKTOPSERVICES and QT_NO_NETWORKDISKCACHE
- https://bugs.webkit.org/show_bug.cgi?id=65880
- Reviewed by Andreas Kling.
- QDesktopServices and QNetworkDiskCache have been around for a while now. Kill flags which
- check for their feature flags. Assume that any reasonable Qt build provides them.
- * Api/qwebsettings.cpp:
- (QWebSettings::enablePersistentStorage):
- 2011-08-05 Dawit Alemayehu <adawit@kde.org>
- Reviewed by Andreas Kling.
- Reverted commit r87797, http://trac.webkit.org/changeset/87797, because it
- causes the regression reported under bug# 63582.
- [Qt] REGRESSION(r87797): Broke KDEWebKit's custom QNAM.
- https://bugs.webkit.org/show_bug.cgi?id=63582
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::setFrame):
- 2011-08-03 Pavel Feldman <pfeldman@google.com>
- Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
- https://bugs.webkit.org/show_bug.cgi?id=65510
- Reviewed by Yury Semikhatsky.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::renderRelativeCoords):
- 2011-08-03 Pavel Feldman <pfeldman@chromium.org>
- Web Inspector: remove Node parameter from the InspectorClient::highlight
- https://bugs.webkit.org/show_bug.cgi?id=65549
- Reviewed by Yury Semikhatsky.
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::highlight):
- * WebCoreSupport/InspectorClientQt.h:
- 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
- [Qt] Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
- https://bugs.webkit.org/show_bug.cgi?id=61042
- Remove mark as expected fail where unexpected pass and mark failing test case as expected fail
- Reviewed by Csaba Osztrogonác.
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- (tst_QDeclarativeWebView::basicProperties):
- (tst_QDeclarativeWebView::historyNav):
- 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
- [Qt] Fix tst_QWebPage::viewModes() API test
- https://bugs.webkit.org/show_bug.cgi?id=65531
- Reviewed by Csaba Osztrogonác.
- * tests/qwebpage/tst_qwebpage.cpp: Mark failing test case as expected fail
- (tst_QWebPage::viewModes):
- 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
- [Qt] Fix tst_QWebFrame::connectAndDisconnect() API test
- https://bugs.webkit.org/show_bug.cgi?id=65170
- Reviewed by Csaba Osztrogonác.
- * tests/qwebframe/tst_qwebframe.cpp: Mark failing test case as expected fail
- (tst_QWebFrame::connectAndDisconnect):
- 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
- [Qt] Fix tst_QWebElement::render() API test
- https://bugs.webkit.org/show_bug.cgi?id=65243
- Reviewed by Csaba Osztrogonác.
- * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail
- (tst_QWebElement::render):
- 2011-08-02 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
- [Qt] tst_QWebElement::style() fails because QWebElement::CascadedStyle doesn't work as expected
- https://bugs.webkit.org/show_bug.cgi?id=65244
- Reviewed by Csaba Osztrogonác.
- * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail
- (tst_QWebElement::style):
- 2011-08-01 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
- [Qt] Fix tst_QWebPage::loadHtml5Video() API test
- https://bugs.webkit.org/show_bug.cgi?id=65452
- Reviewed by Csaba Osztrogonác.
- * tests/qwebpage/tst_qwebpage.cpp: Mark failing test case as expected fail
- (tst_QWebPage::loadHtml5Video):
- 2011-07-30 Patrick Gansterer <paroga@webkit.org>
- Remove inclusion of MainThread.h from Threading.h
- https://bugs.webkit.org/show_bug.cgi?id=65081
- Reviewed by Darin Adler.
- Add missing include statements for MainThread.
- * Api/qwebpage.cpp:
- 2011-07-27 Benjamin Poulain <benjamin@webkit.org>
- [WK2][Qt] Move from QGraphicsView to Qt Scene Graph
- https://bugs.webkit.org/show_bug.cgi?id=62969
- Reviewed by Andreas Kling.
- Co-authored with Simon Hausmann <simon.hausmann@nokia.com>
- Add the declarative dependency to link WebKit.
- * QtWebKit.pro:
- 2011-07-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] QtWebkit never finishes loading sites when they are loaded after an initial QUrl fails to load.
- https://bugs.webkit.org/show_bug.cgi?id=61328
- Reviewed by Andreas Kling.
- Change the hooks in FrameLoaderClient we use for emitting signals. Instead of
- emitting signals in the progress notification functions, we use the
- dispatchDid{Start,Finish,Fail}* functions. The main reason behind this change is
- that loading code is prepared to handle load() when inside those functions.
- The crash was being caused by setUrl() (and load()) being called when
- loadFinished(false) was emitted. The problem here is that when
- postProgressFinishedNotification the FrameLoader wasn't ready for taking a load()
- call again, because it was still the ProvisionalLoadState but with the
- provisionalDocumentLoader already removed.
- To emulate the same behavior that QtWebKit had when using
- postProgressFinishedNotification, we now keep track of the frame originating the
- load, and emit the signals when this frame's client is called.
- The patch keeps the existing semantics for QWebPage signals, but we now emit the
- QWebFrame signals everytime, not only when they are the originating frame for
- loading.
- * Api/qwebframe.cpp:
- (clearCoreFrame): Document our assumption that activeDocumentLoader will exist.
- * WebCoreSupport/FrameLoaderClientQt.h: Remove m_loadError, add a boolean to keep
- track whether the frame is originating the load. Remove the signals from
- FrameLoaderClientQt since we will emit QWebFrame and QWebPage signals directly.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): Initialize m_isOriginatingLoad.
- (WebCore::FrameLoaderClientQt::setFrame): Do not connect QWebFrame and QWebPage
- signals to our signals for load/finished, signal emission will be done manually.
- (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad): Emit
- loadStarted() signal and make the first notification of estimation change, that
- Qt API tests expect to exist and notify 10%.
- (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): Remove reference to
- m_loadError and emit loadFinished() signal.
- (WebCore::FrameLoaderClientQt::postProgressStartedNotification): Remove signal
- emission and mark the originating load as true, since only the originating frame
- gets this call in its client.
- (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): Remove signal
- emission.
- (WebCore::FrameLoaderClientQt::callErrorPageExtension): Return whether the call
- was successful or not. This wasn't necessary before because a successful call for
- error page would lead to a load(), that cleared the m_loadError.
- (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad): Remove reference
- to m_loadError and emit finished signal indicating error if ErrorPage extension
- doesn't handle it.
- (WebCore::FrameLoaderClientQt::dispatchDidFailLoad): Ditto.
- (WebCore::FrameLoaderClientQt::emitLoadStarted): Emit the loadStarted() signal
- for the QWebFrame, and if the originating load also do for the QWebPage.
- (WebCore::FrameLoaderClientQt::emitLoadFinished): Same as before but for
- loadFinished(). Take care to reset the originating load flag before the signals
- are emitted, since they might want to set it back again.
- * tests/qwebframe/tst_qwebframe.cpp:
- (URLSetter::URLSetter): Object that sets the url using either load() or setUrl()
- when a certain signal is emitted in the frame.
- (URLSetter::execute):
- (tst_QWebFrame::loadInSignalHandlers_data):
- (tst_QWebFrame::loadInSignalHandlers): New test inspired by the bug test case. This test
- crashes without this patch applied.
- 2011-07-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] Fix build in Qt 5 of QDeclarativeWebView
- https://bugs.webkit.org/show_bug.cgi?id=65258
- Reviewed by Andreas Kling.
- In Qt 5, the QGraphicsView-based classes for QtQuick are in the
- qtquick1 module, including QDeclarativeItem and QDeclarativeView.
- * declarative/qdeclarativewebview_p.h:
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- * tests/tests.pri:
- * tests/tests.pro:
- 2011-07-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
- Add support for download='filename' attribute in anchors.
- https://bugs.webkit.org/show_bug.cgi?id=64580
- Reviewed by Adam Barth.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::startDownload):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-07-26 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] Change default backend to use GStreamer on Linux and QuickTime on Mac.
- https://bugs.webkit.org/show_bug.cgi?id=63472
- Use the flag WTF_USE_QTKIT=1 rather than USE_QTKIT=1 because that flag doesn't
- exist anymore, it's the default. Ditto for GStreamer.
- * QtWebKit.pro:
- 2011-07-25 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] Add more tests to cover the behavior of loadFinished() signal
- https://bugs.webkit.org/show_bug.cgi?id=63490
- Reviewed by Benjamin Poulain.
- * tests/qwebframe/tst_qwebframe.cpp:
- (FakeReply::FakeReply):
- (FakeNetworkManager::createRequest): Add a fake reply that gives 404 error code.
- (tst_QWebFrame::loadFinishedAfterNotFoundError): Verify that we get loadFinished(false)
- after a 404 error without contents.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::errorPageExtensionLoadFinished): Verify if the argument of loadFinished()
- is true when we use error page extension to produce our own error pages.
- 2011-07-19 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] Improve documentation of QWebView::setPage()
- https://bugs.webkit.org/show_bug.cgi?id=64827
- Reviewed by Noam Rosenthal.
- * Api/qwebview.cpp: Use the word 'page' to refer to a QWebPage instead of 'document'.
- 2011-07-19 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- [Qt] Fix leak of QWebPage in errorPageExtension tests
- https://bugs.webkit.org/show_bug.cgi?id=64814
- Reviewed by Noam Rosenthal.
- QWebView::setPage() doesn't take ownership, so the ErrorPages were leaking. So now
- allocate them on the stack. This shouldn't change any behavior.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::errorPageExtension):
- (tst_QWebPage::errorPageExtensionInIFrames):
- (tst_QWebPage::errorPageExtensionInFrameset):
- 2011-07-18 Hui Huang <hui.2.huang@nokia.com>
- [Qt] Compiling error in Source/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp with Qt 4.7 or older
- https://bugs.webkit.org/show_bug.cgi?id=64560
- Reviewed by Noam Rosenthal.
- * tests/qwebelement/tst_qwebelement.cpp:
- (tst_QWebElement::render):
- 2011-07-15 Dan Bernstein <mitz@apple.com>
- REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
- https://bugs.webkit.org/show_bug.cgi?id=64615
- Reviewed by Anders Carlsson.
- * WebCoreSupport/ChromeClientQt.h:
- (WebCore::ChromeClientQt::setCursorHiddenUntilMouseMoves): Added this stub.
- 2011-07-15 Kenneth Rohde Christiansen <kenneth@webkit.org>
- REGRESSION(91064): Upstream QtWebKit/N9 changes related tovisibleContentRect
- Reviewed by Antonio Gomes.
- Only set setFixedVisibleContentRect when in resizesToContents mode.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
- 2011-07-15 Kenneth Rohde Christiansen <kenneth@webkit.org>
- Upstream QtWebKit/N9 changes related to visibleContentRect
- https://bugs.webkit.org/show_bug.cgi?id=64589
- Reviewed by Simon Hausmann.
- * Api/qwebpage.cpp:
- (QWebPage::setActualVisibleContentRect):
- Change to use setFixedVisibleContentRect.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
- Only set fixedVisibleContentRect for the mainframe.
- * symbian/eabi/QtWebKitu.def:
- 2011-07-13 Joseph Pecoraro <joepeck@webkit.org>
- Improve names of some ApplicationCacheStorage accessor methods
- https://bugs.webkit.org/show_bug.cgi?id=64433
- Reviewed by Alexey Proskuryakov.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
- Renamed method.
- 2011-07-12 Joseph Pecoraro <joepeck@webkit.org>
- ApplicationCache update should not immediately fail when reaching per-origin quota
- https://bugs.webkit.org/show_bug.cgi?id=64177
- Reviewed by Alexey Proskuryakov.
- * Api/qwebpage.cpp:
- * Api/qwebpage.h:
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
- * WebCoreSupport/ChromeClientQt.h:
- Pass the spaceNeeded value through to the applicationCacheQuotaExceeded signal.
- 2011-07-11 Ryosuke Niwa <rniwa@webkit.org>
- Move selection related code from RenderTextControl to HTMLTextFormControlElement
- https://bugs.webkit.org/show_bug.cgi?id=64133
- Reviewed by Dimitri Glazkov.
- Replaced calls to WebCore::setSelectionRange by calls to HTMLTextFormControlElement::setSelectionRange.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::inputMethodEvent):
- 2011-07-08 Adam Barth <abarth@webkit.org>
- Unreviewed, rolling out r90662.
- http://trac.webkit.org/changeset/90662
- https://bugs.webkit.org/show_bug.cgi?id=64210
- Introduced regressions in Chromium browser tests (Requested by
- rniwa on #webkit).
- * Api/qwebpage.cpp:
- (QWebPagePrivate::inputMethodEvent):
- 2011-07-08 Ryosuke Niwa <rniwa@webkit.org>
- Move selection related code from RenderTextControl to HTMLTextFormControlElement
- https://bugs.webkit.org/show_bug.cgi?id=64133
- Reviewed by Dimitri Glazkov.
- Replaced calls to WebCore::setSelectionRange by calls to HTMLTextFormControlElement::setSelectionRange.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::inputMethodEvent):
- 2011-07-05 Rafael Brandao <rafael.lobo@openbossa.org>
- [Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
- https://bugs.webkit.org/show_bug.cgi?id=63235
- Modified baseUrl to be a local file in order to get a security origin
- that is allowed to request local resources. Removed QSignalSpy from it
- as loadFinished always happens, and the original test was split into two.
- Reviewed by Benjamin Poulain.
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::setHtmlWithImageResource):
- (tst_QWebFrame::setHtmlWithStylesheetResource):
- (tst_QWebFrame::setHtmlWithBaseURL):
- 2011-04-02 Robert Hogan <robert@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt] Support third-party cookie policy for Qt clients
- This adds new API to QWebSettings that allows clients to
- select one of three third-party cookie blocking policies:
- AlwaysAllowThirdPartyCookies
- AlwaysBlockThirdPartyCookies
- AllowThirdPartyWithExistingCookies
- The first two are self-explanatory, the third mimics Safari's
- default behaviour of permitting third-party cookies when the user
- already has cookies from the third-party site. This was
- introduced to allow third-party cookie blocking to play well with
- facebook sharing etc. AlwaysAllowThirdPartyCookies is the default.
- There is scope for adding an 'exceptions' list API and clients would
- struggle to implement it themselves given the paucity of information
- available from setCookiesForUrl().
- See also: http://gitorious.org/qt/qt/merge_requests/1205
- (commit 154402f56dcf8303a6ce601a52215226af8d31ba)
- http://bugreports.qt.nokia.com/browse/QTBUG-13601
- https://bugs.webkit.org/show_bug.cgi?id=45455
- * Api/qwebsettings.cpp:
- (QWebSettings::QWebSettings):
- (QWebSettings::setThirdPartyCookiePolicy):
- (QWebSettings::thirdPartyCookiePolicy):
- * Api/qwebsettings.h:
- 2011-07-01 Jade Han <jade.han@nokia.com>
- [Qt][Symbian] Update .def file for Symbian to build Tools
- https://bugs.webkit.org/show_bug.cgi?id=61200
- Reviewed by Laszlo Gombos.
- Add newly introduced symbols to fix building the Tools directory for Symbian.
- * symbian/eabi/QtWebKitu.def:
- 2011-07-01 Jade Han <jade.han@nokia.com>
- Reviewed by Laszlo Gombos.
- [Qt][Symbian] Update .def file for Symbian
- https://bugs.webkit.org/show_bug.cgi?id=61200
- Add newly introduced symbols to fix the Symbian build.
- * symbian/eabi/QtWebKitu.def:
- 2011-06-30 Rafael Brandao <rafael.lobo@openbossa.org>
- Reviewed by Benjamin Poulain.
- [Qt] Fix tst_QWebFrame::renderGeometry() API test
- https://bugs.webkit.org/show_bug.cgi?id=63236
-
- This test required a security origin with granted permission to request local resources.
- By default, only local files can load local resources. So modified baseUrl to be a local file.
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::renderGeometry):
- 2011-06-27 Diego Gonzalez <diegohcg@webkit.org>
- Reviewed by Antonio Gomes.
- [Qt] DRT: Provide LayoutTestController::setDefersLoading and ::goBack support
- https://bugs.webkit.org/show_bug.cgi?id=63489
- Unskipped:
- loader/navigation-while-deferring-loads.html
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setDefersLoading):
- (DumpRenderTreeSupportQt::goBack):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-06-30 Fabrizio Machado <fabrizio.machado@nokia.com>
- Reviewed by Benjamin Poulain.
-
- [Qt] QML Webview causes performance drops
- https://bugs.webkit.org/show_bug.cgi?id=57554
- Remove tiledBackingStoreEnabled from QML WebView.
-
- * declarative/qdeclarativewebview.cpp:
- (QDeclarativeWebView::setPage):
- 2011-06-30 Kentaro Hara <haraken@google.com>
- Reviewed by Kent Tamura.
- Change the label of an HTML5 file chooser button to "Choose Files"
- https://bugs.webkit.org/show_bug.cgi?id=49245
- We should notify capability of multiple files to users.
- Test: fast/forms/input-file-label.html
- * WebCoreSupport/WebPlatformStrategies.cpp:
- (WebPlatformStrategies::fileButtonChooseFileLabel): Updated the description for "Choose File".
- (WebPlatformStrategies::fileButtonChooseMultipleFilesLabel): Returns a "Choose Files" label.
- * WebCoreSupport/WebPlatformStrategies.h:
- 2011-06-29 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Benjamin Poulain.
- [Qt] Add Qt dependencies in QtWebKit's main pro file.
- https://bugs.webkit.org/show_bug.cgi?id=63639
- syncqt, the script which generates the headers inside Qt parses
- the main pro file of QtWebKit to check the Qt dependencies. It used
- to be WebCore.pro but after the build reorganization QtWebKit.pro is
- the new main pro file so we need to add the network dependency just like
- we did in WebCore.pro.
- * QtWebKit.pro:
- 2011-06-28 Ilya Sherman <isherman@chromium.org>
- Reviewed by Adam Barth.
- form.autocomplete="off" does not work
- https://bugs.webkit.org/show_bug.cgi?id=35823
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId): Update callsite.
- 2011-06-27 Diego Gonzalez <diegohcg@webkit.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] DRT support for setInteractiveFormValidationEnabled
- https://bugs.webkit.org/show_bug.cgi?id=63496
- Unskipped:
- fast/forms/interactive-validation-prevented.html
- fast/forms/interactive-validation-attach-assertion.html
- fast/forms/interactive-validation-assertion-by-validate-twice.html
- fast/forms/interactive-validation-select-crash.html
- fast/forms/interactive-validation-crash-by-style-override.html
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setInteractiveFormValidationEnabled):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-06-28 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] Use <QtX/x.h> style of headers for Qt tests which rely on it.
- https://bugs.webkit.org/show_bug.cgi?id=63562
- Some Qt auto-tests rely on <QtX/x.h> types of includes.
- * Api/qwebkitplatformplugin.h:
- * symbian/platformplugin/qwebkitplatformplugin.h:
- 2011-06-28 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] Use QtQuick imports in Api tests rather than old deprecated Qt 4.x imports.
- https://bugs.webkit.org/show_bug.cgi?id=63533
- We need to use the new QtQuick 1.x imports rather than the old deprecated
- version.
- * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml:
- * tests/qdeclarativewebview/resources/webviewtest.qml:
- * tests/qdeclarativewebview/resources/webviewtestdefault.qml:
- 2011-06-27 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Darin Adler.
- Use specific headers includes rather than full system headers.
- https://bugs.webkit.org/show_bug.cgi?id=63475
- Use only needed headers rather than system headers.
- * WebCoreSupport/QTKitFullScreenVideoHandler.mm:
- 2011-06-27 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Remove Phonon MediaPlayer from the tree.
- https://bugs.webkit.org/show_bug.cgi?id=63448
- Remove Phonon related stuff.
- * docs/qtwebkit.qdocconf:
- * qt_webkit_version.pri:
- 2011-06-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] tst_QWebFrame::overloadedSlots() fails
- https://bugs.webkit.org/show_bug.cgi?id=37319
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::overloadedSlots): Remove expected failure and
- fix the comment.
- 2011-06-20 Robert Hogan <robert@webkit.org>
- Reviewed by Antonio Gomes.
- [Qt] Duplicate entry in context menu
- https://bugs.webkit.org/show_bug.cgi?id=62139
- contextMenuController()->populate() is called from
- ContextMenuController::handleContextMenuEvent() so
- QWebPage::updatePositionDependentActions() does not need
- to call it independently.
- Related changesets:
- http://trac.webkit.org/changeset/73535
- http://trac.webkit.org/changeset/32389
- * Api/qwebpage.cpp:
- (QWebPage::updatePositionDependentActions):
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::contextMenuCopy):
- (tst_QWebPage::contextMenuPopulatedOnce):
- 2011-06-24 Dominic Cooney <dominicc@chromium.org>
- Reviewed by Dimitri Glazkov.
- Convert shadow-DOM related tests to use window.internals
- https://bugs.webkit.org/show_bug.cgi?id=61671
- Remove shadow-DOM related methods from Qt DRT API. These are not
- required any more.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-06-23 Joe Wild <joseph.wild@nokia.com>
- Reviewed by Laszlo Gombos.
- [Qt] The Qt WebKit Symbian .def file needs to be updated so Symbian will build
- https://bugs.webkit.org/show_bug.cgi?id=61200
- Revert r87060 as it broke compatibility with QtWebKit 2.1 release
- and add some newly introduce symbols.
- * symbian/eabi/QtWebKitu.def:
- 2011-06-23 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Eric Carlson.
- [Qt] Implement fullscreen support on Mac with the QuickTime backend.
- https://bugs.webkit.org/show_bug.cgi?id=61728
- Implement fullscreen support for Qt when using the QuickTime backend.
- We mostly use what is already done for the Mac port.
- * QtWebKit.pro:
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::ChromeClientQt):
- (WebCore::ChromeClientQt::~ChromeClientQt):
- * WebCoreSupport/ChromeClientQt.h:
- * WebCoreSupport/FullScreenVideoQt.cpp:
- (WebCore::FullScreenVideoQt::FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::enterFullScreenForNode):
- (WebCore::FullScreenVideoQt::exitFullScreenForNode):
- (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
- (WebCore::FullScreenVideoQt::isValid):
- * WebCoreSupport/FullScreenVideoQt.h:
- * WebCoreSupport/QTKitFullScreenVideoHandler.h: Added.
- * WebCoreSupport/QTKitFullScreenVideoHandler.mm: Added.
- (QTKitFullScreenVideoHandler::QTKitFullScreenVideoHandler):
- (QTKitFullScreenVideoHandler::~QTKitFullScreenVideoHandler):
- (QTKitFullScreenVideoHandler::enterFullScreen):
- (QTKitFullScreenVideoHandler::exitFullScreen):
- * WebCoreSupport/WebSystemInterface.mm:
- (InitWebCoreSystemInterface):
- 2011-06-23 Yael Aharon <yael.aharon@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] [WK2] Add drag and drop support
- https://bugs.webkit.org/show_bug.cgi?id=62838
- Call dragEnded from the DragClient to make WebKit1 and WebKit2 consistent.
- * WebCoreSupport/DragClientQt.cpp:
- (WebCore::DragClientQt::startDrag):
- 2011-06-23 Joe Wild <joseph.wild@nokia.com>
- Reviewed by Laszlo Gombos.
- [Qt] Export files under Symbian Qt WebKit build
- https://bugs.webkit.org/show_bug.cgi?id=61207
- Export files for the Symbian platform as this is needed by the
- production build system.
- Janne Koskinen provided the suggestion to use target_predeps,
- which is an improvement over the originally suggested patch.
- * QtWebKit.pro:
- 2011-06-23 Csaba Osztrogonác <ossy@webkit.org>
- Rubber-stamped by Andreas Kling.
- [Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
- https://bugs.webkit.org/show_bug.cgi?id=63235
- [Qt] Fix tst_QWebFrame::renderGeometry() API test
- https://bugs.webkit.org/show_bug.cgi?id=63236
- [Qt] Fix tst_QWebFrame::setUrlWithPendingLoads() API test
- https://bugs.webkit.org/show_bug.cgi?id=63237
- * tests/qwebframe/tst_qwebframe.cpp: Mark failing test cases as expected fails until real fix.
- (tst_QWebFrame::setHtmlWithResource):
- (tst_QWebFrame::renderGeometry):
- 2011-06-23 Csaba Osztrogonác <ossy@webkit.org>
- Rubber-stamped by Andreas Kling.
- [Qt] Fix tst_QWebPage::showModalDialog() API test
- https://bugs.webkit.org/show_bug.cgi?id=63244
- [Qt] Fix tst_QWebPage::testStopScheduledPageRefresh() API test
- https://bugs.webkit.org/show_bug.cgi?id=63245
- * tests/qwebpage/tst_qwebpage.cpp: Mark failing test cases as expected fails.
- (tst_QWebPage::showModalDialog):
- (tst_QWebPage::testStopScheduledPageRefresh):
- 2011-06-22 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
- Reviewed by Holger Freyther.
- [Qt] Fix Qt namespace on QDeclarativeWebView autotest
- https://bugs.webkit.org/show_bug.cgi?id=63147
- Applications (such as the test runner) are not supposed to be wrapped
- by {QT_BEGIN,QT_END}_NAMESPACE macros, otherwise building Qt (or
- QtWebKit) with a specific namespace won't work (will result in main
- being undefined).
- This was the only test wrapped by these macros, all others are fine.
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: remove
- namespace macros.
- 2011-06-20 Dimitri Glazkov <dglazkov@chromium.org>
- Reviewed by Kent Tamura.
- FileChooser should be only created when we need to choose files.
- https://bugs.webkit.org/show_bug.cgi?id=63039
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::runOpenPanel): Changed to use settings.
- 2011-06-21 Yael Aharon <yael.aharon@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] Regression(60942) wrong default action for drag-and-drop.
- https://bugs.webkit.org/show_bug.cgi?id=63004
- Added special handling for the case that dragOperation is not initialized.
- Save the last dropOperation and pass it to the dropEvent, so that it can
- be accepted by QDrag.
- Call event->accepted() and not event->acceptProposedAction(), because the
- later ignores the dropAction specified in JavaScript.
- Tested with the test page attached to https://bugs.webkit.org/show_bug.cgi?id=40401
- and did not see any issue.
- Also manually tested all combinations of LayoutTests/fast/events/drag-and-drop.html
- and they all pass.
- * Api/qwebpage.cpp:
- (dropActionToDragOp):
- (QWebPagePrivate::dragMoveEvent):
- (QWebPagePrivate::dropEvent):
- 2011-06-20 Pavel Feldman <pfeldman@chromium.org>
- Reviewed by Yury Semikhatsky.
- Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
- https://bugs.webkit.org/show_bug.cgi?id=62994
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-06-18 Dimitri Glazkov <dglazkov@chromium.org>
- Reviewed by Darin Adler.
- Separate concerns of loading file icons and choosing files.
- https://bugs.webkit.org/show_bug.cgi?id=62931
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::loadIconForFiles): Renamed.
- * WebCoreSupport/ChromeClientQt.h:
- 2011-06-17 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] Fix wrong framework generation on MacOS when inside Qt 4.8.
- https://bugs.webkit.org/show_bug.cgi?id=62815
- Partially revert r85870 which assumed that QtWebKit will never be build inside Qt
- anymore. Everything inside !QTDIR_build condition is not needed in the Qt tree because
- qbase.pri is doing the job for us, i.e. using includes generated by syncqt to
- setup the mac framework. It also use a correct QMAKE_LFLAGS_SONAME making possible
- to actually run an application linked against QtWebKit.
- * QtWebKit.pro:
- 2011-06-16 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r88796.
- http://trac.webkit.org/changeset/88796
- https://bugs.webkit.org/show_bug.cgi?id=62790
- It made fast/dom/nodesFromRect-basic.html time out on Qt,
- 64-bit, debug mode (Requested by Ossy on #webkit).
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::plainText):
- (DumpRenderTreeSupportQt::nodesFromRect):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::overloadedSlots):
- (tst_QWebFrame::domCycles):
- 2011-06-15 Diego Gonzalez <diegohcg@webkit.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Inconsistent behavior on a form submit request...
- https://bugs.webkit.org/show_bug.cgi?id=45523
- The inconsistency occurs when a form submission requests a new window.
- Two windows are opened (instead of only one) and the first window is opened
- as a blank page.
- By default each page is put into their own unique page group, which affects popup windows
- and visited links. Page groups (per process only) is a feature making it possible to use
- separate settings for each group, so that for instance an integrated browser/email reader
- can use different settings for displaying HTML pages and HTML email. To make QtWebKit work
- as expected out of the box, we use a default group similar to what other ports are doing.
- * Api/qwebpage.cpp:
- 2011-06-14 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] tst_QWebFrame::overloadedSlots() fails
- https://bugs.webkit.org/show_bug.cgi?id=37319
- Since the implicit conversion was removed, change support functions of DRT to
- expect a QVariantMap instead of a QWebElement. This matches the exposed function
- in the controller, which takes 'document' and not 'document.documentElement'.
- And now that Element -> QWebElement is a perfect match, we must use QWebElement
- instead of QVariantMap, like in plainText().
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::plainText): Fix to use QWebElement instead of
- QVariantMap when getting the startContainer. Also use QVariantMap directly,
- bridge will do conversion for us now.
- (getCoreDocumentFromVariantMap): Extracts the WebCore::Document* from the
- QVariantMap that Qt bridge gives us when 'document' is passed from JS.
- (DumpRenderTreeSupportQt::nodesFromRect): Use helper function.
- * tests/qwebframe/tst_qwebframe.cpp: Splitted the test domCycles() into two
- different tests. In practice, the original test just checked whether we could
- create a QVariantMap representing 'document' without infinite looping due to
- cycles in the DOM. This was more evident before since we haven't a conversion
- from JSElement to QWebElement, but from JSElement to QVariantMap.
- (tst_QWebFrame::documentHasDocumentElement): Evaluates 'document' and extracts
- 'documentElement' from it. Compares to QWebFrame::documentElement().
- (tst_QWebFrame::documentAllHasDocumentElement): Look inside 'document.all' for
- the documentElement.
- (tst_QWebFrame::overloadedSlots): Remove expected failure and fix wrong comment.
- 2011-06-14 Andreas Kling <kling@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt] Don't include convenience "QWebFoo" headers in WebKit code.
- https://bugs.webkit.org/show_bug.cgi?id=62632
- * WebCoreSupport/FrameNetworkingContextQt.cpp:
- 2011-06-12 Adam Barth <abarth@webkit.org>
- Reviewed by Alexey Proskuryakov.
- Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
- https://bugs.webkit.org/show_bug.cgi?id=62516
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::interruptedForPolicyChangeError):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-06-12 Adam Barth <abarth@webkit.org>
- Attempt to fix Qt build.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (drtPrintFrameUserGestureStatus):
- 2011-06-12 Adam Barth <abarth@webkit.org>
- Reviewed by Eric Seidel.
- Remove FrameLoader::isProcessingUserGesture
- https://bugs.webkit.org/show_bug.cgi?id=62519
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (drtPrintFrameUserGestureStatus):
- 2011-06-10 Andreas Kling <kling@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt] Fix 'headers' autotest when building inside Qt.
- https://bugs.webkit.org/show_bug.cgi?id=62449
- * Api/qwebkitplatformplugin.h:
- 2011-06-10 Laszlo Gombos <laszlo.1.gombos@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Keep ORIENTATION_EVENTS independent from DEVICE_ORIENTATION
- https://bugs.webkit.org/show_bug.cgi?id=62420
- ORIENTATION_EVENTS and DEVICE_ORIENTATION features are very similar
- but they meant to be independent.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::_q_orientationChanged):
- (QWebFrame::QWebFrame):
- * Api/qwebframe_p.h:
- 2011-06-09 Andras Becsi <abecsi@webkit.org>
- Reviewed by Andreas Kling.
- [Qt] Fix the in-tree build on Linux
- https://bugs.webkit.org/show_bug.cgi?id=62378
- In case of an in-tree build qmake generates defect prl dependencies for
- the QtWebKit library, because the inclusion of qtbase.pri adds explicitlib to CONFIG.
- * QtWebKit.pro: Remove explicitlib and staticlib from CONFIG.
- 2011-06-09 Robert Hogan <robert@webkit.org>
- Reviewed by Andreas Kling.
- Teach Qt about window.internals
- https://bugs.webkit.org/show_bug.cgi?id=61074
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::injectInternalsObject):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-06-08 Andreas Kling <kling@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt] FrameLoaderClient: Check Vector::find() return value for WTF::notFound.
- https://bugs.webkit.org/show_bug.cgi?id=62274
- Vector::find() returns size_t (which is unsigned), so we should check
- for WTF::notFound instead of -1.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::createPlugin):
- 2011-06-07 Noam Rosenthal <noam.rosenthal@nokia.com>
- Reviewed by Andreas Kling.
- [Texmap][Qt] Enable TextureMapper by default
- https://bugs.webkit.org/show_bug.cgi?id=61740
- Enable TextureMapper on Windows+Symbian, disabling the direct OpenGL path. This would mean that
- for now QtWebKit on Windows/Symbian would use the Qt backend for TextureMapper.
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
- 2011-06-07 Aravind Akella <aravind.akella@nokia.com>
- Reviewed by Laszlo Gombos.
- [Qt][Symbian] API test failure qdeclarativewebview
- https://bugs.webkit.org/show_bug.cgi?id=59481
- QML files cannot be loaded on Symbian due to difference
- in capabilities between qmlwebkitplugin.dll and Qtwebkit.dll.
- A PlatSec error that Qtwebkit.dll has "DRM AllFiles" capabilities
- missing is observed when dynamically loading the QML plugin.
- * declarative/declarative.pro: Match capabilities in QtWebKit.pro.
- * symbian/platformplugin/platformplugin.pro: Match capabilities with the other 2 DLLs.
- Also remove TARGET.VID from platformplugin, as it's not used in any other Qt WebKit DLL,
- and causes build warnings about undefined VENDOR_VID.
- * tests/tests.pri: Add WriteDeviceData capability for API tests.
- 2011-06-04 Robert Hogan <robert@webkit.org>
- Reviewed by Andreas Kling.
- [Qt] Fix and unskip acid2
- https://bugs.webkit.org/show_bug.cgi?id=62089
- shouldFallBack() tells the DOM if it should attempt to render
- the next nested <object> if its parent fails to load.
- This fix is only required for the fast/css version of the ACID2
- test, which loads a non-existent file:// url. The HTTP version of the
- test already passes because the loader will render fallback content
- on a failed HTTP load without delegating the decision to the client
- ( see MainResourceLoader::continueAfterContentPolicy).
- Some ports also check for WebKitErrorPluginWillHandleLoad when deciding
- what to return. This error isn't currently set by Qt so we don't check
- it. (Other ports set it when the erring document is a MediaDocument, maybe
- we should do that too at some point).
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::shouldFallBack):
- 2011-06-03 Rafael Brandao <rafael.lobo@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] It made two Qt API tests fail
- https://bugs.webkit.org/show_bug.cgi?id=58847
- Modified failing test's base url so it could get a valid origin
- and make use of local storage. Also added another test that checks
- local storage visibility in both scenarios.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::testOptionalJSObjects):
- (checkLocalStorageVisibility):
- (tst_QWebPage::testLocalStorageVisibility):
- 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] Warning fixes on comparisons between a signed and an unsigned.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
- (DumpRenderTreeSupportQt::nodesFromRect):
- 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- To support building namespaced Qt, we require that forward-declarations
- of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
- Unreviewed build fix after r87902.
- To support building namespaced Qt, we require that forward-declarations
- of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE but
- only on classes inside Qt.
-
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-06-03 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Benjamin Poulain.
- Some warning fixes. Values in switch not handled, and
- a comparison between a signed and an unsigned.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::inputMethodEvent):
- (QWebPagePrivate::dynamicPropertyChangeEvent):
- (QWebPage::action):
- 2011-06-02 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] Fix enum order in qwebpage.h public API header
- https://bugs.webkit.org/show_bug.cgi?id=61959
- Since qwebpage.h is a public header, we can't change the values of
- the enumerations. This patch moves the new enumeration to the end
- of the list. As a bonus, adds a missing entry in
- editorCommandWebActions table.
- * Api/qwebpage.cpp:
- * Api/qwebpage.h:
- 2011-06-02 Andreas Kling <kling@webkit.org>
- Rubber-stamped by Simon Hausmann.
- Remove Qt's precompiled header hack as it was broken, and was not even
- used unless building WebKit inside a Qt tree.
- * WebKit_pch.h: Removed.
- 2011-06-02 Andreas Kling <kling@webkit.org>
- Unreviewed build fix.
- To support building namespaced Qt, we require that forward-declarations
- of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-06-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt]Fix tst_QWebFrame::setUrlToInvalid() autotest after r84762
- https://bugs.webkit.org/show_bug.cgi?id=59345
- KURL and QUrl disagree whether certain URLs are valid or not. The regression here
- was caused by the fact that now KURL accepts "http:/example.com" (note only one
- slash) and our test case used a strange edge case that's transformed into a
- "one-slash" URL that now KURL can handle.
- QtWebKit approach in this case is to do a best effort and accept the QUrl if KURL
- can understand it. So I've updated the test to use a more meaningful example and
- show that an invalid URL gets converted to a valid URL if possible.
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::setUrlToInvalid):
- 2011-06-01 Andreas Kling <kling@webkit.org>
- Reviewed by Benjamin Poulain.
- REGRESSION: [Qt] QNetworkReply delivered by the unsupportedContent() signal does not contain downloaded data
- https://bugs.webkit.org/show_bug.cgi?id=49650
- Defer emission of QWebPage::unsupportedContent() until we're back in the event loop.
- This lets the QNAM backend finish with the reply without handing over ownership to the user code.
- No new tests since this doesn't fail for qrc:// or file:// URLs and our tests can't depend on http:// URLs.
- To correctly solve this issue, we need changes to Qt, tracked here:
- http://bugreports.qt.nokia.com/browse/QTBUG-18718
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::setFrame):
- (WebCore::FrameLoaderClientQt::download):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-06-01 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Tor Arne Vestbø.
- [Qt] Rewrite tst_QDeclarativeWebView::multipleWindows() to not depend on Grid internals
- https://bugs.webkit.org/show_bug.cgi?id=61739
- The skipped test was imported from Qt source repository, and used private headers
- to peek in the QML Grid element. This patch changes the QML used to expose the
- information we want to test: number of pages opened and the first page opened.
- * tests/qdeclarativewebview/resources/newwindows.html:
- Added <body> tags. We have no reason to not use them in the test.
- * tests/qdeclarativewebview/resources/newwindows.qml:
- Moved the timer out of the page component, used anchors for setting webview size,
- changed the way we count pages opened. Also changed coding style a bit.
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- (tst_QDeclarativeWebView::multipleWindows):
- We now look for properties with the information we want in the rootItem: pagesOpened and
- firstPageOpened.
- 2011-05-31 Rafael Brandao <rafael.lobo@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] tst_QWebFrame::render() failing
- https://bugs.webkit.org/show_bug.cgi?id=60893
-
- The test was expecting the frame contents to be already loaded
- before rendering it into a QPicture. Renamed the test to fit
- its real purpose more accordingly.
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::renderGeometry):
- 2011-05-30 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] Fix unnecessary wait in API autotest tst_QWebFrame::scrollbarsOff
- https://bugs.webkit.org/show_bug.cgi?id=61711
- The loadFinished() signal was emitted directly inside the call for setHtml, so
- the test was waiting the loadFinished() signal with a big timeout. Change this by
- a very small timeout and a verification with signal spy.
- In practice, setHtml() will either directly call loadFinished() or queue it to
- the next event loop run, and test will work for both situations.
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::scrollbarsOff):
- 2011-05-30 Noam Rosenthal <noam.rosenthal@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Texmap][Qt] Disable accelerated plugins/media in until they're working.
- https://bugs.webkit.org/show_bug.cgi?id=61687
- Turn off accelerated compositing for media and plugins when in texture-mapper.
- * Api/qwebsettings.cpp:
- (QWebSettingsPrivate::apply):
- 2011-05-28 Adam Barth <abarth@webkit.org>
- Reviewed by Alexey Proskuryakov.
- Audit all uses of KURL::prettyURL
- https://bugs.webkit.org/show_bug.cgi?id=61201
- Update callers of prettyURL to just call string.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::mouseDidMoveOverElement):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::updateGlobalHistory):
- (WebCore::FrameLoaderClientQt::cancelledError):
- (WebCore::FrameLoaderClientQt::blockedError):
- (WebCore::FrameLoaderClientQt::objectContentType):
- (WebCore::FrameLoaderClientQt::createPlugin):
- 2011-05-27 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Csaba Osztrogonác.
- [Qt] Fix tst_QGraphicsWebView::setPalette(inactiveBG) autotest
- https://bugs.webkit.org/show_bug.cgi?id=61044
- Make sure to set the active window on the application too.
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView::setPalette):
- 2011-05-26 Alexis Menard <alexis.menard@openbossa.org>
- Unreviewed build fix for Qt and QuickTime backend.
- r87328 added a new system interface, we need to add it too.
- * WebCoreSupport/WebSystemInterface.mm:
- (InitWebCoreSystemInterface):
- 2011-05-25 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] JSC bridge: implement __qt_sender__ without using Scope Chain
- https://bugs.webkit.org/show_bug.cgi?id=61343
- Create a '__qt_sender__' property in the global object, that returns the top of
- the qtSenderStack. This is an alternative implementation for the feature of
- providing a way for a function (acting as a Qt 'slot') discover which object
- emitted the signal that caused it to be executed.
- This reduces the coupling of the Qt bridge and JSC internal implementation. The
- patch tries to use as much JSC public API as possible.
- This behavior is covered by the tst_QWebFrame::connectAndDisconnect() auto test.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
- Instead of emitting the QWebPage::javaScriptWindowObjectCleared() directly, calls
- a QWebPagePrivate function to do it.
- * Api/qwebframe_p.h:
- * Api/qwebframe.cpp:
- (QWebFramePrivate::didClearedWindowObject):
- Before emitting the signal mentioned, adds the '__qt_sender__' to the fresh
- global object.
- (qtSenderCallback):
- Returns the JSObjectRef corresponding to the top of qtSenderStack.
- (QWebFramePrivate::addQtSenderToGlobalObject):
- Create a property with a qtSenderCallback as getter function in the global object.
- 2011-05-25 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Eric Carlson.
- [Qt] Enable usage of QuickTime mediaplayer for the Qt port on Mac.
- https://bugs.webkit.org/show_bug.cgi?id=61279
- Enable the usage of QuickTime backend for the Qt port. It can be enabled by
- passing DEFINES+=USE_QTKIT=1 when calling build-webkit.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * QtWebKit.pro:
- * WebCoreSupport/FullScreenVideoQt.cpp:
- (WebCore::FullScreenVideoQt::enterFullScreenForNode):
- (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
- (WebCore::FullScreenVideoQt::isValid):
- * WebCoreSupport/WebSystemInterface.h: Added.
- * WebCoreSupport/WebSystemInterface.mm: Added.
- (InitWebCoreSystemInterface):
- 2011-05-25 Qi Zhang <qi.2.zhang@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] fast/css/disabled-author-styles.html failed
- https://bugs.webkit.org/show_bug.cgi?id=61438
- Provided API setAuthorAndUserStylesEnabled for DumpRenderTree.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setAuthorAndUserStylesEnabled):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-05-24 Adam Barth <abarth@webkit.org>
- Reviewed by Eric Seidel.
- Add FIXME comments about removing FrameLoader::isProcessingUserGesture
- https://bugs.webkit.org/show_bug.cgi?id=61395
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (drtPrintFrameUserGestureStatus):
- 2011-05-23 Luiz Agostini <luiz.agostini@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] When opening a combo-box the popup renders badly.
- https://bugs.webkit.org/show_bug.cgi?id=61288
- Removing combobox palette changes from QtFallbackWebPopup::show() because they
- are causing rendering problems for some styles.
- The changes in palette are not needed because the background and foreground
- colors are already set by QStandardItem::setBackground() and QStandardItem::setForeground()
- in method QtFallbackWebPopup::populate().
- * WebCoreSupport/QtFallbackWebPopup.cpp:
- (WebCore::QtFallbackWebPopup::show):
- 2011-05-23 Joe Wild <joseph.wild@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] The Qt WebKit Symbian .def file needs to be updated so Symbian will build
- https://bugs.webkit.org/show_bug.cgi?id=61200
- * symbian/eabi/QtWebKitu.def:
- 2011-05-22 Hui Huang <hui.2.huang@nokia.com>, Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Laszlo Gombos.
- [Qt] Upstream Symbian platform plugin
- https://bugs.webkit.org/show_bug.cgi?id=58435
- Upstream Symbian platform plugin with html5 video player.
- * symbian/platformplugin/HTML5VideoPlugin.cpp: Added.
- (HTML5FullScreenVideoHandler::HTML5FullScreenVideoHandler):
- (HTML5FullScreenVideoHandler::enterFullScreen):
- (HTML5FullScreenVideoHandler::exitFullScreen):
- (HTML5FullScreenVideoHandler::onPlayerError):
- (HTML5FullScreenVideoHandler::onPlayerStateChanged):
- (HTML5FullScreenVideoHandler::onMediaStatusChanged):
- (HTML5VideoPlugin::supportsExtension):
- (HTML5VideoPlugin::createExtension):
- * symbian/platformplugin/HTML5VideoPlugin.h: Added.
- (HTML5FullScreenVideoHandler::requiresFullScreenForVideoPlayback):
- (HTML5FullScreenVideoHandler::isFullScreen):
- (HTML5FullScreenVideoHandler::updateScreenRect):
- * symbian/platformplugin/HTML5VideoWidget.cpp: Added.
- (HTML5VideoWidget::HTML5VideoWidget):
- (HTML5VideoWidget::setDuration):
- (HTML5VideoWidget::mousePressEvent):
- (HTML5VideoWidget::onPlayerStopped):
- (HTML5VideoWidget::onPlayerError):
- (HTML5VideoWidget::onEndOfMedia):
- (HTML5VideoWidget::onBufferingMedia):
- (HTML5VideoWidget::onBufferedMedia):
- (HTML5VideoWidget::onControlClicked):
- (HTML5VideoWidget::onPositionChanged):
- (HTML5VideoWidget::onSliderMoved):
- (HTML5VideoWidget::onCloseClicked):
- (HTML5VideoWidget::showFullScreen):
- (HTML5VideoWidget::setVolume):
- * symbian/platformplugin/HTML5VideoWidget.h: Added.
- * symbian/platformplugin/OverlayWidget.cpp: Added.
- (OverlayWidget::OverlayWidget):
- (OverlayWidget::~OverlayWidget):
- (OverlayWidget::setDuration):
- (OverlayWidget::setPosition):
- (OverlayWidget::setVolume):
- (OverlayWidget::mousePressEvent):
- (OverlayWidget::onPlayerStopped):
- (OverlayWidget::onPlayerError):
- (OverlayWidget::onEndOfMedia):
- (OverlayWidget::onBufferingMedia):
- (OverlayWidget::onBufferedMedia):
- (OverlayWidget::timeToString):
- (OverlayWidget::applyStyleSheet):
- (OverlayWidget::onControlClicked):
- (OverlayWidget::onSliderMoved):
- (OverlayWidget::onSoundClicked):
- (OverlayWidget::onCloseClicked):
- (OverlayWidget::onVolumeSliderReleased):
- (OverlayWidget::onVolumeSliderMoved):
- (OverlayWidget::onTimerTimeout):
- (OverlayWidget::showFullScreen):
- * symbian/platformplugin/OverlayWidget.h: Added.
- * symbian/platformplugin/PlayerButton.cpp: Added.
- (PlayerButton::PlayerButton):
- (PlayerButton::event):
- * symbian/platformplugin/PlayerButton.h: Added.
- * symbian/platformplugin/PlayerLabel.cpp: Added.
- (PlayerLabel::PlayerLabel):
- (PlayerLabel::onPlayerError):
- (PlayerLabel::startBufferingAnimation):
- (PlayerLabel::stopBufferingAnimation):
- (PlayerLabel::onAnimationTimeout):
- * symbian/platformplugin/PlayerLabel.h: Added.
- * symbian/platformplugin/WebPlugin.cpp:
- (WebPlugin::createExtension):
- * symbian/platformplugin/images: Added.
- * symbian/platformplugin/images/button_cannotplay.png: Added.
- * symbian/platformplugin/images/button_close.png: Added.
- * symbian/platformplugin/images/button_pause.png: Added.
- * symbian/platformplugin/images/button_play.png: Added.
- * symbian/platformplugin/images/button_sound_off.png: Added.
- * symbian/platformplugin/images/button_sound_on.png: Added.
- * symbian/platformplugin/images/loading_buffering_1.png: Added.
- * symbian/platformplugin/images/loading_buffering_2.png: Added.
- * symbian/platformplugin/images/loading_buffering_3.png: Added.
- * symbian/platformplugin/images/loading_buffering_4.png: Added.
- * symbian/platformplugin/platformplugin.pro:
- * symbian/platformplugin/platformplugin.qrc: Added.
- * symbian/platformplugin/qss: Added.
- * symbian/platformplugin/qss/OverlayWidget.qss: Added.
- 2011-05-22 Robert Hogan <robert@webkit.org>
- Reviewed by Kenneth Rohde Christiansen.
- Fix policyDelegate in Qt DRT
- https://bugs.webkit.org/show_bug.cgi?id=61247
-
- Use the 'policy delegate' implemented in FrameLoaderClient
- for layout tests. The partial implementation in DumpRenderTreeQt
- is redundant.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
- 2011-05-22 Andrew Wason <rectalogic@rectalogic.com>
- Reviewed by Benjamin Poulain.
- [Qt] Implement toImageData() in QtWebKit Bridge
- https://bugs.webkit.org/show_bug.cgi?id=60897
- * docs/qtwebkit-bridge.qdoc:
- * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp:
- (wrapInFunction):
- Document Qt bridge toImageData() feature.
- * tests/hybridPixmap/test.html:
- * tests/hybridPixmap/widget.cpp:
- (Widget::Widget):
- (Widget::abcImage):
- * tests/hybridPixmap/widget.h:
- Add tests for Qt bridge toImageData() feature.
- 2011-05-20 Simon Fraser <simon.fraser@apple.com>
- Reviewed by Sam Weinig.
- numberOfActiveAnimations() can include animations from documents in the page cache
- https://bugs.webkit.org/show_bug.cgi?id=53641
- Pass the Frame's document as the one to count animations on.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::numberOfActiveAnimations):
- 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt] tst_QWebElement::style() fails because QWebElement::InlineStyle doesn't work as expected
- https://bugs.webkit.org/show_bug.cgi?id=60372
- * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail.
- (tst_QWebElement::style):
- 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt] Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
- https://bugs.webkit.org/show_bug.cgi?id=61042
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Mark failing test cases as expected fails.
- (tst_QDeclarativeWebView::basicProperties):
- (tst_QDeclarativeWebView::historyNav):
- 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt] Fix tst_QWebPage::testOptionalJSObjects() autotest
- https://bugs.webkit.org/show_bug.cgi?id=61045
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::testOptionalJSObjects): Mark failing test cases as expected fails.
- 2011-05-20 Peter Varga <pvarga@webkit.org>
- Reviewed by Simon Hausmann.
- [Qt][V8] Use qtscript-staging's shipped version of V8 when building with --v8
- https://bugs.webkit.org/show_bug.cgi?id=56649
- Use the provided V8 and functionality of
- http://qt.gitorious.org/+qt-developers/qt/qtscript-staging to build QtWebKit+V8.
- Based on the original patch of Andras Becsi <abecsi@webkit.org>.
- * Api/qwebframe.cpp:
- (QWebFrame::addToJavaScriptWindowObject): Fix QString deprecated
- warning.
- * QtWebKit.pro: Adding the V8 library should happen in the final build
- step.
- * WebCoreSupport/ChromeClientQt.cpp: Add missing head.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Ditto.
- 2011-05-20 Csaba Osztrogonác <ossy@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt]Fix tst_QWebFrame::setUrlToInvalid() autotest after r84762
- https://bugs.webkit.org/show_bug.cgi?id=59345
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::setUrlToInvalid): Mark failing test cases as expected fails.
- 2011-05-19 Zsolt Fehér <h490267@stud.u-szeged.hu>
- Reviewed by Csaba Osztrogonác.
- [Qt] Implement eventSender.scalePageBy
- https://bugs.webkit.org/show_bug.cgi?id=60015
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::scalePageBy):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-05-18 Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] Enterkey to go to Newline does not work in the text area(in HTML form)
- https://bugs.webkit.org/show_bug.cgi?id=33179
- Remove the implementation of the handleInputMethodKeydown, which introduces
- a regression(r82243) on Linux. Also, add more Api tests for the EnterKey event.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::handleInputMethodKeydown): Remove implementation.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::inputMethods): Add more tests.
- 2011-05-18 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
- Reviewed by Csaba Osztrogonác.
- [Qt] Implement layoutTestController.setValueForUser()
- https://bugs.webkit.org/show_bug.cgi?id=60956
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setValueForUser):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-05-16 Robert Hogan <robert@webkit.org>
- Reviewed by Kenneth Rohde Christiansen.
- plugins/invalidate_rect.html fails on linux ports
- Add ChromeClientQt::allowsAcceleratedCompositing().
- https://bugs.webkit.org/show_bug.cgi?id=54051
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::allowsAcceleratedCompositing):
- * WebCoreSupport/ChromeClientQt.h:
- 2011-05-17 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] Simplify syntax in test code to make prepare-ChangeLog less confused
- https://bugs.webkit.org/show_bug.cgi?id=60978
- Backslash to escape newlines was confusing both prepare-ChangeLog and the
- QtCreator highlight system.
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::evalJSV):
- Remove usage of backslash to escape newlines in string literal.
- 2011-05-17 Young Han Lee <joybro@company100.net>
- Reviewed by Csaba Osztrogonác.
- [Texmap][Qt] Enable strict PassOwnPtr for Qt with texmap enabled.
- https://bugs.webkit.org/show_bug.cgi?id=60947
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQWidget::setRootGraphicsLayer):
- 2011-05-16 Jon Lee <jonlee@apple.com>
- Reviewed by Simon Fraser.
- Can't horizontally scroll iframes and overflow because wheel events are always accepted
- https://bugs.webkit.org/show_bug.cgi?id=60779
- * WebCoreSupport/ChromeClientQt.h:
- (WebCore::ChromeClientQt::shouldRubberBandInDirection): Default impl of new ChromeClient method
- (WebCore::ChromeClientQt::numWheelEventHandlersChanged): Default impl of new ChromeClient method
- 2011-05-16 Andreas Kling <kling@webkit.org>
- Reviewed by Kenneth Rohde Christiansen.
- REGRESSION(r83820): [Qt] Accelerated compositing no longer works in QGraphicsWebView.
- https://bugs.webkit.org/show_bug.cgi?id=60892
- Don't set the ItemClipsChildrenToShape flag for the root platform layer,
- since that is now the overflow controls layer. The clip layer, which was
- previously the root platform layer, already gets the flag by way of
- the GraphicsLayer mask-to-bounds flag.
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
- 2011-05-16 Adam Barth <abarth@webkit.org>
- Partial revert of r86537. FullScreenVideoQt.h can't depend on OwnPtr.h
- because moc_FullScreenVideoQt.cpp fails to include config.h.
- Apparently, having moc_FullScreenVideoQt.cpp properly include config.h
- is hard, so we're going back to manual new and delete for this class.
- Bad times.
- * WebCoreSupport/FullScreenVideoQt.cpp:
- (WebCore::FullScreenVideoQt::FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
- * WebCoreSupport/FullScreenVideoQt.h:
- 2011-05-16 Adam Barth <abarth@webkit.org>
- Sigh. This code is somewhat crazy.
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::openInspectorFrontend):
- 2011-05-16 Adam Barth <abarth@webkit.org>
- Attempt to fix Qt build. (Strict PassOwnPtr fix.)
- This patch requires some slightly fancy footwork.
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::openInspectorFrontend):
- (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt):
- 2011-05-16 Adam Barth <abarth@webkit.org>
- Missing include.
- * WebCoreSupport/PopupMenuQt.h:
- 2011-05-16 Adam Barth <abarth@webkit.org>
- [Qt] QtPlatformPlugin create methods should use PassOwnPtr
- https://bugs.webkit.org/show_bug.cgi?id=60873
- This change is slightly more than a build fix because the patch kind of
- spidered a bit while I was trying to fix the build the "right way."
- Hopefully nothing here is controversial.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::adjustPointForClicking):
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::createSelectPopup):
- * WebCoreSupport/FullScreenVideoQt.cpp:
- (WebCore::FullScreenVideoQt::FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
- * WebCoreSupport/FullScreenVideoQt.h:
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationWrapper::NotificationWrapper):
- (WebCore::NotificationPresenterClientQt::displayNotification):
- * WebCoreSupport/PopupMenuQt.cpp:
- (WebCore::PopupMenuQt::PopupMenuQt):
- (WebCore::PopupMenuQt::~PopupMenuQt):
- (WebCore::PopupMenuQt::show):
- * WebCoreSupport/PopupMenuQt.h:
- * WebCoreSupport/QtPlatformPlugin.cpp:
- (WebCore::QtPlatformPlugin::createSelectInputMethod):
- (WebCore::QtPlatformPlugin::createNotificationPresenter):
- (WebCore::QtPlatformPlugin::createHapticFeedbackPlayer):
- (WebCore::QtPlatformPlugin::createTouchModifier):
- (WebCore::QtPlatformPlugin::createFullScreenVideoHandler):
- * WebCoreSupport/QtPlatformPlugin.h:
- (WebCore::QtPlatformPlugin::QtPlatformPlugin):
- 2011-05-15 Adam Barth <abarth@webkit.org>
- Attempt to fix the Qt build. (Strict PassOwnPtr fix.)
- * Api/qgraphicswebview.cpp:
- (QGraphicsWebViewPrivate::detachCurrentPage):
- (QGraphicsWebView::setPage):
- * Api/qwebpage.cpp:
- (QWebPage::setView):
- 2011-05-15 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r86504.
- http://trac.webkit.org/changeset/86504
- https://bugs.webkit.org/show_bug.cgi?id=60853
- "Broke Qt EventSender in editing/selection tests" (Requested
- by mwenge on #webkit).
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-05-12 Robert Hogan <robert@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt] fix http/tests/plugins/plugin-document-has-focus.html
- https://bugs.webkit.org/show_bug.cgi?id=60722
- QWebPage::setView() will display the browser window, so
- implement a private version that does just enough to
- satisfy EventSender's requirement to install an event
- filter on a page's web view.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setView):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-05-13 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r86447.
- http://trac.webkit.org/changeset/86447
- https://bugs.webkit.org/show_bug.cgi?id=60809
- "Broke some uses of EventSender object on Qt" (Requested by
- mwenge on #webkit).
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-05-13 Sam Weinig <sam@webkit.org>
- Reviewed by Anders Carlsson.
- Prune #includes from FrameView.h (Part 2)
- https://bugs.webkit.org/show_bug.cgi?id=60748
- - Update files that were depending on FrameView.h #including Frame.h or
- Page.h.
- * Api/qgraphicswebview.cpp:
- * WebCoreSupport/ChromeClientQt.cpp:
- 2011-05-13 Robert Hogan <robert@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt] fix http/tests/plugins/plugin-document-has-focus.html
- https://bugs.webkit.org/show_bug.cgi?id=60722
- QWebPage::setView() will display the browser window, so
- implement a private version that does just enough to
- satisfy EventSender's requirement to install an event
- filter on a page's web view.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setView):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-05-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
- Reviewed by nobody, build fix.
- [Qt] Fix build on MSVC.
- qobject_cast<> requires the class to be exported on MSVC,
- removing it since the code that needs it is commented out for
- the same reason.
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- (tst_QDeclarativeWebView::elementAreaAt):
- 2011-05-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
- Reviewed by nobody, build fix.
- [Qt] Fix build on MSVC by only enabling tst_MIMESniffing on linux.
- * tests/tests.pro:
- 2011-05-12 Young Han Lee <joybro@company100.net>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Implement layoutTestController.layerTreeAsText()
- https://bugs.webkit.org/show_bug.cgi?id=60367
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::layerTreeAsText):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-05-11 Noam Rosenthal <noam.rosenthal@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
- https://bugs.webkit.org/show_bug.cgi?id=60439
- Patch 10/12: Glue the TextureMapper refactoring into Webkit(1).
- 1. Pass a GraphicsLayer* instead of a PlatformLayer* to the QWebPageClient.
- 2. Set parameters in TextureMapper/TextureMapperNode instead of passing them in an options argument.
- 3. Rename PlatformLayerProxyQt to TextureMapperNodeClient
- * Api/qwebframe.cpp:
- (QWebFramePrivate::renderCompositedLayers):
- * Api/qwebframe.h:
- * Api/qwebframe_p.h:
- (QWebFramePrivate::QWebFramePrivate):
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::attachRootGraphicsLayer):
- * WebCoreSupport/PageClientQt.cpp:
- (WebCore::TextureMapperNodeClientQt::TextureMapperNodeClientQt):
- (WebCore::TextureMapperNodeClientQt::scroll):
- (WebCore::TextureMapperNodeClientQt::setTextureMapper):
- (WebCore::TextureMapperNodeClientQt::~TextureMapperNodeClientQt):
- (WebCore::TextureMapperNodeClientQt::computeLastModifiedRect):
- (WebCore::TextureMapperNodeClientQt::syncRootLayer):
- (WebCore::TextureMapperNodeClientQt::rootNode):
- (WebCore::PageClientQWidget::setRootGraphicsLayer):
- (WebCore::PageClientQWidget::syncLayers):
- (WebCore::PageClientQWidget::~PageClientQWidget):
- (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
- (WebCore::PageClientQGraphicsWidget::update):
- (WebCore::PageClientQGraphicsWidget::syncLayers):
- (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
- (WebCore::PageClientQGraphicsWidget::markForSync):
- * WebCoreSupport/PageClientQt.h:
- (WebCore::PageClientQWidget::PageClientQWidget):
- (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
- (WebCore::PageClientQGraphicsWidget::syncLayersTimeout):
- 2011-05-11 Noam Rosenthal <noam.rosenthal@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
- https://bugs.webkit.org/show_bug.cgi?id=60439
- Patch 4/12: Update the settings to enable accelerated compositing for all the relevant settings
- attributes.
- * Api/qwebsettings.cpp:
- (qt_networkAccessAllowed):
- (QWebSettingsPrivate::apply):
- 2011-05-11 Sam Weinig <sam@webkit.org>
- Reviewed by Eric Seidel.
- Stop including Console.h just to get Console enum types
- https://bugs.webkit.org/show_bug.cgi?id=60607
- Move MessageSource, MessageType and MessageLevel into its own
- header and cleanup surrounding classes.
- * Api/qwebelement.cpp:
- 2011-05-10 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
- Reviewed by Csaba Osztrogonác.
- [Qt] Increment QtWebKit trunk version to 4.10.0
- https://bugs.webkit.org/show_bug.cgi?id=60549
- QtWebKit-2.2 (branched) will be 4.9.0, so we need to
- increase the trunk version by 1.
- * qt_webkit_version.pri:
- 2011-05-10 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
- Reviewed by Csaba Osztrogonác.
- [Qt] tst_QWebPage creates temporary files in the current working dir
- https://bugs.webkit.org/show_bug.cgi?id=60497
- tst_QWebPage was using QDir::currentPath when creating temporary dirs
- and leaving them after the test was run. I basically borrowed the fix
- from tst_QDeclarativeWebView.
- * tests/qwebpage/tst_qwebpage.cpp:
- (removeRecursive):
- (tst_QWebPage::tmpDirPath):
- (tst_QWebPage::cleanupFiles):
- (tst_QWebPage::database):
- (tst_QWebPage::multiplePageGroupsAndLocalStorage):
- 2011-05-09 Chang Shu <cshu@webkit.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] DumpRenderTreeQt needs an implementation of unmarkText
- https://bugs.webkit.org/show_bug.cgi?id=60499
- The implementation is similar to gtk.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::confirmComposition):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-05-07 Joe Mason <jmason@rim.com>
- Reviewed by Daniel Bates.
- FrameLoader::isProcessingUserGesture is wrong in dispatchWillPerformClientRedirect
- https://bugs.webkit.org/show_bug.cgi?id=52211
- Dump isUserProcessingGesture in willPerformClientRedirect so that the layout tests can be extended.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
- 2011-05-06 Kent Tamura <tkent@chromium.org>
- Reviewed by Ryosuke Niwa.
- Eliminate WebCore/dom/InputElement.{cpp,h}
- https://bugs.webkit.org/show_bug.cgi?id=60262
- * Api/qwebpage.cpp:
- (QWebPage::inputMethodQuery):
- Replace InputElement::s_maximumLength with HTMLInputElement::maximumLength.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setAutofilled):
- Follow the return type change of Node::toInputElement().
- 2011-05-04 Philippe Normand <pnormand@igalia.com>
- Reviewed by Dimitri Glazkov.
- Implement LayoutTestController::pseudoShadowId()
- https://bugs.webkit.org/show_bug.cgi?id=60034
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::shadowPseudoId):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-05-05 Prasanth Ullattil <prasanth.ullattil@nokia.com>
- Reviewed by Simon Hausmann.
- Install correct header files for webkit.
- Since WebKit is no longer inside Qt, we can remove the detection for
- that.
- [Qt] Install targets are not working correctly for modularized Qt and QtWebkit
- https://bugs.webkit.org/show_bug.cgi?id=57621
- * QtWebKit.pro:
- 2011-05-05 Ryosuke Niwa <rniwa@webkit.org>
- Reviewed by Eric Seidel.
- Rename SelectionController to FrameSelection
- https://bugs.webkit.org/show_bug.cgi?id=60234
- * Api/qwebframe.cpp:
- 2011-05-05 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] RenderThemeQt and DumpRenderTreeSupportQt should use nullptr rather than 0.
- https://bugs.webkit.org/show_bug.cgi?id=60224
- We should use nullptr rather than 0. nullptr will be added in the new C++ standard
- but WebKit already has a nullptr class if there is no c++0x support.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::addUserStyleSheet):
- 2011-05-04 Cris Neckar <cdn@chromium.org>
- Reviewed by Adam Barth.
- Expose WebView directly through ChromeClient.
- https://bugs.webkit.org/show_bug.cgi?id=49902
- * WebCoreSupport/ChromeClientQt.h:
- (WebCore::ChromeClientQt::webView):
- 2011-05-04 Alexis Menard <alexis.menard@openbossa.org>
- Unreviewed warning fix.
- The variable is just unused.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::inputMethods):
- 2011-05-04 Tao Bai <michaelbai@chromium.org>
- Reviewed by David Kilzer.
- Populate touch-icon url to FrameLoaderClient
- https://bugs.webkit.org/show_bug.cgi?id=59143
- Respect the interface change in FrameLoaderClient.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-03-31 Luiz Agostini <luiz.agostini@openbossa.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Qt WebKit updates view on HTTP 204 response
- https://bugs.webkit.org/show_bug.cgi?id=42529
- Ignoring http responses which have status code equal to 204 (No Content)
- or 205 (Reset Content).
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
- 2011-05-04 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Benjamin Poulain.
- [Qt] Fix signals emitted in FakeReply used in autotests
- https://bugs.webkit.org/show_bug.cgi?id=60049
- The signals emitted for each case of FakeReply were swapped (error case
- emitting metaDataChanged() and redirect case emitting error()). Emitting
- readyRead() is not necessary.
- * tests/qwebframe/tst_qwebframe.cpp:
- (FakeReply::FakeReply):
- Choose the different continue function for each case of FakeReply. This removes
- the need of the if-statement in timeout() and let us replace timeout() with two
- simpler functions.
- (FakeReply::continueRedirect):
- (FakeReply::continueError):
- Continuation cases, emitting the minimal set of signals needed for each case.
- 2011-05-03 Julien Chaffraix <jchaffraix@codeaurora.org>
- Reviewed by Dimitri Glazkov.
- Element:shadowRoot & Element::ensureShadowRoot should return ShadowRoot*
- https://bugs.webkit.org/show_bug.cgi?id=58703
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::shadowRoot): Added #include for ShadowRoot.h.
- 2011-05-03 Keith Kyzivat <keith.kyzivat@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] QtDeclarative Webview element has a fixed white background
- https://bugs.webkit.org/show_bug.cgi?id=40918
- QProperty REVISION feature is not present in certain Qt Trunk clones.
- These builds report their version as 4.8.0, and therefore break on the
- prior #if QT_VERSION >= 0x040704. The proper fix is to check based on
- the existance of Q_REVISION.
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- * declarative/qdeclarativewebview.cpp:
- * declarative/qdeclarativewebview_p.h:
- 2011-05-01 Sam Weinig <sam@webkit.org>
- Reviewed by Anders Carlsson.
- Prune some unnecessary #includes
- https://bugs.webkit.org/show_bug.cgi?id=59895
- Start getting rid of unnecessary #includes and forward declares.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- 2011-04-29 Csaba Osztrogonác <ossy@webkit.org>
- Reviewed by Adam Barth.
- Enable strict OwnPtr for Qt
- https://bugs.webkit.org/show_bug.cgi?id=59667
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- 2011-04-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- Reviewed by Simon Hausmann.
- ENABLE(QT_BEARER) -> USE(QT_BEARER)
- * Api/qwebsettings.cpp:
- 2011-04-29 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
- Reviewed by Simon Hausmann.
- ENABLE(QT_USERAGENT_DEVICEMODEL) -> USE(QT_MOBILITY_SYSTEMINFO)
- * Api/qwebpage.cpp:
- 2011-04-28 Yael Aharon <yael.aharon@nokia.com>
- Reviewed by Andreas Kling.
- Remove flag ENABLE_SYMBIAN_DIALOG_PROVIDER
- https://bugs.webkit.org/show_bug.cgi?id=59704
- * WebCoreSupport/QtFallbackWebPopup.cpp:
- (WebCore::QtFallbackWebPopup::show):
- * WebCoreSupport/QtFallbackWebPopup.h:
- 2011-04-27 Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Upstream Symbian platform plugin
- https://bugs.webkit.org/show_bug.cgi?id=58435
- Upstream Symbian platform plugin.
- * QtWebKit.pro: Add platformplugin.dll to the QtWebKit.sis.
- * symbian/platformplugin: Added.
- * symbian/platformplugin/WebPlugin.cpp: Added.
- (ItemListDelegate::ItemListDelegate):
- (ItemListDelegate::paint):
- (Popup::Popup):
- (Popup::resizeEvent):
- (Popup::populateList):
- (Popup::onItemSelected):
- (Popup::updateSelectionsBeforeDialogClosing):
- (Popup::updateAndClose):
- (WebPopup::WebPopup):
- (WebPopup::~WebPopup):
- (WebPopup::createSingleSelectionPopup):
- (WebPopup::createMultipleSelectionPopup):
- (WebPopup::createPopup):
- (WebPopup::show):
- (WebPopup::hide):
- (WebPopup::popupClosed):
- (WebPopup::itemClicked):
- (SingleSelectionPopup::SingleSelectionPopup):
- (MultipleSelectionPopup::MultipleSelectionPopup):
- (WebNotificationPresenter::showNotification):
- (WebPlugin::supportsExtension):
- (WebPlugin::createExtension):
- * symbian/platformplugin/WebPlugin.h: Added.
- (Popup::preSelectedIndices):
- (Popup::listWidget):
- (WebNotificationPresenter::WebNotificationPresenter):
- (WebNotificationPresenter::~WebNotificationPresenter):
- * symbian/platformplugin/platformplugin.pro: Added.
- * symbian/platformplugin/qwebkitplatformplugin.h: Copied from WebKit/qt/Api/qwebkitplatformplugin.h.
- (QWebSelectData::~QWebSelectData):
- (QWebSelectMethod::~QWebSelectMethod):
- (QWebNotificationData::~QWebNotificationData):
- (QWebNotificationPresenter::QWebNotificationPresenter):
- (QWebNotificationPresenter::~QWebNotificationPresenter):
- (QWebTouchModifier::~QWebTouchModifier):
- (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
- (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
- (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
- 2011-04-26 Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Tor Arne Vestbø.
- [Qt][Symbian] Fix Api test failure -- tst_QWebFrame::setHtmlWithBaseURL
- https://bugs.webkit.org/show_bug.cgi?id=56946
- Deployed the missing resource for Symbian platform.
- * tests/qwebframe/qwebframe.pro:
- 2011-04-26 Siddharth Mathur <siddharth.mathur@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] Build fix: QtDeclarative Webview element has a fixed white background
- https://bugs.webkit.org/show_bug.cgi?id=40918
- Macro Q_REVISION and associated qdeclarativeitem.h signals are not available in 4.7.3 headers in Nokia Qt SDK.
- * declarative/plugin.cpp: Bump up required version to 4.7.4+
- (WebKitQmlPlugin::registerTypes):
- * declarative/qdeclarativewebview.cpp: ditto
- * declarative/qdeclarativewebview_p.h: ditto
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: ditto
- 2011-04-26 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu>
- Reviewed by Csaba Osztrogonác.
- [Qt] Implement LayoutTestController::setAutofilled
- https://bugs.webkit.org/show_bug.cgi?id=59439
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setAutofilled):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-04-22 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r84627.
- http://trac.webkit.org/changeset/84627
- https://bugs.webkit.org/show_bug.cgi?id=59271
- It broke Symbian build (Requested by Ossy on #webkit).
- * QtWebKit.pro:
- * symbian/platformplugin/WebPlugin.cpp: Removed.
- * symbian/platformplugin/WebPlugin.h: Removed.
- * symbian/platformplugin/platformplugin.pro: Removed.
- * symbian/platformplugin/qwebkitplatformplugin.h: Removed.
- 2011-04-22 Sam Weinig <sam@webkit.org>
- Fix qt build.
- * Api/qwebelement.cpp:
- (setupScriptContext):
- 2011-04-22 Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Upstream Symbian platform plugin
- https://bugs.webkit.org/show_bug.cgi?id=58435
- Upstream Symbian platform plugin.
- * QtWebKit.pro: Add platformplugin.dll to the QtWebKit.sis.
- * symbian/platformplugin: Added.
- * symbian/platformplugin/WebPlugin.cpp: Added.
- (ItemListDelegate::ItemListDelegate):
- (ItemListDelegate::paint):
- (Popup::Popup):
- (Popup::resizeEvent):
- (Popup::populateList):
- (Popup::onItemSelected):
- (Popup::updateSelectionsBeforeDialogClosing):
- (Popup::updateAndClose):
- (WebPopup::WebPopup):
- (WebPopup::~WebPopup):
- (WebPopup::createSingleSelectionPopup):
- (WebPopup::createMultipleSelectionPopup):
- (WebPopup::createPopup):
- (WebPopup::show):
- (WebPopup::hide):
- (WebPopup::popupClosed):
- (WebPopup::itemClicked):
- (SingleSelectionPopup::SingleSelectionPopup):
- (MultipleSelectionPopup::MultipleSelectionPopup):
- (WebNotificationPresenter::showNotification):
- (WebPlugin::supportsExtension):
- (WebPlugin::createExtension):
- * symbian/platformplugin/WebPlugin.h: Added.
- (Popup::preSelectedIndices):
- (Popup::listWidget):
- (WebNotificationPresenter::WebNotificationPresenter):
- (WebNotificationPresenter::~WebNotificationPresenter):
- * symbian/platformplugin/platformplugin.pro: Added.
- * symbian/platformplugin/qwebkitplatformplugin.h: Copied from WebKit/qt/Api/qwebkitplatformplugin.h.
- (QWebSelectData::~QWebSelectData):
- (QWebSelectMethod::~QWebSelectMethod):
- (QWebNotificationData::~QWebNotificationData):
- (QWebNotificationPresenter::QWebNotificationPresenter):
- (QWebNotificationPresenter::~QWebNotificationPresenter):
- (QWebTouchModifier::~QWebTouchModifier):
- (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
- (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
- (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
- 2011-04-21 Ryosuke Niwa <rniwa@webkit.org>
- Reviewed by Sam Weinig.
- Add Frame* to the argument lists of canCopyCut and canPaste
- https://bugs.webkit.org/show_bug.cgi?id=59153
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::canCopyCut):
- (WebCore::EditorClientQt::canPaste):
- * WebCoreSupport/EditorClientQt.h:
- 2011-04-21 Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Antonio Gomes.
- [Qt] Fix the style issue for Api/qwebkitplatformplugin.h
- https://bugs.webkit.org/show_bug.cgi?id=59097
- Fix the style issues for Api/qwebkitplatformplugin.h found by the webkit-check-style.
- * Api/qwebkitplatformplugin.h:
- 2011-04-21 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Csaba Osztrogonác.
- [Qt] REGRESSION(84057): It made 4 API tests fail
- https://bugs.webkit.org/show_bug.cgi?id=58848
- After MIME sniffing support was added, some autotests are failing because
- the sniffer doesn't recognize our HTML pages.
- This fixes tst_QWebPage::backActionUpdate(), tst_QWebPage::errorPageExtensionInFrameset()
- and tst_QWebFrame::horizontalScrollAfterBack().
- * tests/qwebframe/resources/testiframe.html:
- * tests/qwebframe/resources/testiframe2.html:
- Remove spurious </html> in beginning of the document.
- * tests/qwebpage/resources/framedindex.html:
- * tests/qwebpage/resources/index.html:
- Add <html> (and </html>) tags, <frameset> is not recognized by the sniffer as a
- possible starting tag for HTML document.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::errorPageExtensionInFrameset):
- Verify if we do have a main frame and the main frame has the children frames we
- expect. This will avoid crashing if for some reason children frames are not
- loaded.
- 2011-04-20 Dominic Cooney <dominicc@chromium.org>
- Reviewed by Dimitri Glazkov.
- layoutTestController can create and destroy shadow DOM
- https://bugs.webkit.org/show_bug.cgi?id=59058
- Support for new methods in Qt DRT.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::ensureShadowRoot):
- (DumpRenderTreeSupportQt::removeShadowRoot):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-04-20 Balazs Kelemen <kbalazs@webkit.org>
- Reviewed by Csaba Osztrogonác.
- [Qt] Cleanup includepath adjustment for generated files
- https://bugs.webkit.org/show_bug.cgi?id=58869
- * QtWebKit.pro: Revert the hacky fix in r84174. Remove
- unnecessary logic.
- 2011-04-19 Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Andreas Kling.
- [Qt][Symbian] Fix Api test failure -- tst_QWebView::setPalette()
- https://bugs.webkit.org/show_bug.cgi?id=57254
- Skip test for setPalette() which doesn't work
- when WTF_USE_QT_MOBILE_THEME is defined.
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- * tests/qwebview/tst_qwebview.cpp:
- * tests/tests.pri:
- 2011-04-19 Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Laszlo Gombos.
- [Qt][Symbian] Fix Api test failure -- tst_QGraphicsWebView::widgetsRenderingThroughCache
- https://bugs.webkit.org/show_bug.cgi?id=58044
- Fixing this test by disabling the scrollbars on the graphics view
- since QtWebKit handles scrolling and scrollbar automatically and correctly.
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView::widgetsRenderingThroughCache):
- 2011-04-19 Igor Oliveira <igor.oliveira@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] X11: Text selection is causing oncopy event to be called
- https://bugs.webkit.org/show_bug.cgi?id=58656
- Always when text is selected the oncopy event is fired, this behavior does
- not exist in Firefox or Chrome. Now, when selecting a text, QtWebKit
- is making multi part-copies (with rich text metadata), the multi-part
- data can be obtained by data transfer items interface when supported by QtWebKit.
- Also, copies to the clipboard of a selected image, is not supported by Chrome and
- Firefox and was removed from QtWebKit.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::handleClipboard):
- 2011-04-18 Csaba Osztrogonác <ossy@webkit.org>
- [Qt][WK2] Unreviewed buildfix after r84174.
- * QtWebKit.pro: Missing includepath added.
- 2011-04-18 Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Laszlo Gombos.
- [Qt][Symbian] Fix Api test failure -- tst_QWebFrame::inputFieldFocus
- https://bugs.webkit.org/show_bug.cgi?id=57546
- Disable the fullscreen VKB when testing inputFieldFocus().
- * tests/qwebframe/tst_qwebframe.cpp:
- 2011-04-18 Andreas Kling <kling@webkit.org>
- [Qt] DRT: Unreviewed test fix after r84168.
-
- Dump the original request KURL for blocked access attempts.
- Turns out converting it to a QUrl lower-cases the hostname.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
- 2011-04-18 Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Laszlo Gombos.
- [Qt] Fix Api tests for QWebPage on Symbian
- https://bugs.webkit.org/show_bug.cgi?id=56924
- Ignores the style attribute that selectedHtml() returns.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::cursorMovements):
- (tst_QWebPage::textSelection):
- (tst_QWebPage::findText):
- 2011-04-18 Andreas Kling <kling@webkit.org>
- Reviewed by Adam Barth.
- REGRESSION (r84010): [Qt] DRT: Unbreak redirection of http:/ URLs.
- https://bugs.webkit.org/show_bug.cgi?id=58779
- KURL::host() doesn't return the host part of [broken] http:/ URLs, so use
- QUrl instead to match the behavior of other ports.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
- 2011-04-18 Dominic Cooney <dominicc@chromium.org>
- Reviewed by Andreas Kling.
- Add layoutTestController.shadowRoot to Qt DRT.
- https://bugs.webkit.org/show_bug.cgi?id=58759
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::shadowRoot): Added.
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-04-16 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] Autotest got missed in the handover of the QML WebView element
- https://bugs.webkit.org/show_bug.cgi?id=41449
- Importing WebView QML element test cases from Qt repository. I did some
- style modifications and simplifications in the original code but hopefully
- without changing the behavior.
- Tests that do not pass are marked with QEXPECT_FAIL or QSKIP. The two major
- issues currently are:
- - pixelCache() test checked the usage of pixel cache by using a subclass of
- QDeclarativeWebView. We can't do that right now because this class is not
- exported. We may need a Q_AUTOTEST_EXPORT thing for QtWebKit if we want
- this kind of test.
- - elementAtArea() test uses a function that is not exported. But in this case
- I think we should test it's user, the public method "heuristicZoom".
- * tests/qdeclarativewebview/resources/basic.html: Added.
- * tests/qdeclarativewebview/resources/basic.png: Added.
- * tests/qdeclarativewebview/resources/basic.qml: Added.
- * tests/qdeclarativewebview/resources/elements.html: Added.
- * tests/qdeclarativewebview/resources/elements.qml: Added.
- * tests/qdeclarativewebview/resources/forward.html: Added.
- * tests/qdeclarativewebview/resources/forward.png: Added.
- * tests/qdeclarativewebview/resources/javaScript.html: Added.
- * tests/qdeclarativewebview/resources/javaScript.qml: Added.
- * tests/qdeclarativewebview/resources/loadError.qml: Added.
- * tests/qdeclarativewebview/resources/newwindows.html: Added.
- * tests/qdeclarativewebview/resources/newwindows.qml: Added.
- * tests/qdeclarativewebview/resources/propertychanges.qml: Added.
- * tests/qdeclarativewebview/resources/sethtml.qml: Added.
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- (tst_QDeclarativeWebView::tmpDir):
- (strippedHtml):
- (fileContents):
- (removeRecursive):
- (tst_QDeclarativeWebView::cleanupTestCase):
- (tst_QDeclarativeWebView::basicProperties):
- (tst_QDeclarativeWebView::elementAreaAt):
- (tst_QDeclarativeWebView::historyNav):
- (callEvaluateJavaScript):
- (tst_QDeclarativeWebView::javaScript):
- (tst_QDeclarativeWebView::loadError):
- (tst_QDeclarativeWebView::multipleWindows):
- (tst_QDeclarativeWebView::newWindowComponent):
- (tst_QDeclarativeWebView::newWindowParent):
- (tst_QDeclarativeWebView::pressGrabTime):
- (tst_QDeclarativeWebView::renderingEnabled):
- (tst_QDeclarativeWebView::setHtml):
- (tst_QDeclarativeWebView::settings):
- (tst_QDeclarativeWebView::checkNoErrors):
- * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
- 2011-04-08 Luiz Agostini <luiz.agostini@openbossa.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] QWebPage MIME type handling inconsistency with other web browsers
- https://bugs.webkit.org/show_bug.cgi?id=46968
- Implementing mime type sniffing based on
- http://tools.ietf.org/html/draft-abarth-mime-sniff-06.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::createNetworkingContext):
- * WebCoreSupport/FrameNetworkingContextQt.cpp:
- (WebCore::FrameNetworkingContextQt::FrameNetworkingContextQt):
- (WebCore::FrameNetworkingContextQt::create):
- (WebCore::FrameNetworkingContextQt::MIMESniffingEnabled):
- * WebCoreSupport/FrameNetworkingContextQt.h:
- * tests/MIMESniffing/MIMESniffing.pro: Added.
- * tests/MIMESniffing/TestData.h: Added.
- * tests/MIMESniffing/resources.qrc: Added.
- * tests/MIMESniffing/resources/application_atom+xml: Added.
- * tests/MIMESniffing/resources/application_ogg: Added.
- * tests/MIMESniffing/resources/application_pdf: Added.
- * tests/MIMESniffing/resources/application_postscript: Added.
- * tests/MIMESniffing/resources/application_rdf+xml: Added.
- * tests/MIMESniffing/resources/application_rss+xml: Added.
- * tests/MIMESniffing/resources/application_x-gzip: Added.
- * tests/MIMESniffing/resources/application_x-rar-compressed: Added.
- * tests/MIMESniffing/resources/application_zip: Added.
- * tests/MIMESniffing/resources/audio_x-wave: Added.
- * tests/MIMESniffing/resources/image_bmp: Added.
- * tests/MIMESniffing/resources/image_gif: Added.
- * tests/MIMESniffing/resources/image_jpeg: Added.
- * tests/MIMESniffing/resources/image_png: Added.
- * tests/MIMESniffing/resources/image_vnd.microsoft.icon: Added.
- * tests/MIMESniffing/resources/image_webp: Added.
- * tests/MIMESniffing/resources/text_html: Added.
- * tests/MIMESniffing/resources/text_xml: Added.
- * tests/MIMESniffing/resources/video_webm: Added.
- * tests/MIMESniffing/tst_MIMESniffing.cpp: Added.
- (tst_MIMESniffing::tst_MIMESniffing):
- (errorText):
- (tst_MIMESniffing::testCase1):
- * tests/tests.pro:
- 2011-04-15 Andreas Kling <kling@webkit.org>
- Reviewed by Antonio Gomes.
- [Qt] DRT: Block access to external URLs.
- Implement the "Blocked access to external URL" behavior for Qt's DRT,
- based on what other ports are doing.
- Fixes <http://webkit.org/b/57306> and <http://webkit.org/b/58523>.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
- 2011-01-26 Ragner Magalhaes <ragner.magalhaes@openbossa.org>
- Reviewed by Antonio Gomes.
- [Qt] Web Inspector does not highlight elements
- https://bugs.webkit.org/show_bug.cgi?id=35125
- Adjust Web inspector to highlight elements on the page when the mouse
- hovers the element on DOM inspector.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::renderRelativeCoords):
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::highlight):
- (WebCore::InspectorClientQt::hideHighlight):
- 2011-04-12 George Guo <George.Guo@nokia.com>
- Reviewed by Laszlo Gombos.
- [Qt] On Symbian got "Update Error" when installing QtWebkit.sis
- http://bugs.webkit.org/show_bug.cgi?id=58141
- If QtWebKit is already in Symbian ROM, we need package to be
- both SA and RU type
- * QtWebKit.pro:
- 2011-04-12 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] Private Q_SLOTS void orientationChanged() can't be in qwebframe.h public header file.
- https://bugs.webkit.org/show_bug.cgi?id=58251
- Fix an issue with slot names after http://trac.webkit.org/changeset/83512.
- * Api/qwebframe.cpp:
- (QWebFrame::QWebFrame):
- 2011-04-11 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Benjamin Poulain.
- [Qt] Private Q_SLOTS void orientationChanged() can't be in qwebframe.h public header file.
- https://bugs.webkit.org/show_bug.cgi?id=58251
- Qt coding conventions states that private slots should be located in private implementation of
- the class. This allows us to rename/delete the slots in the future without breaking anything.
- No new tests added, just a simple refactoring.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::_q_orientationChanged):
- * Api/qwebframe.h:
- * Api/qwebframe_p.h:
- 2011-04-11 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Sub-Frame content is not updated when scrolling in certain circumstances
- https://bugs.webkit.org/show_bug.cgi?id=50373
- Make sure that we invalidate the backing store when using TILED_BACKING_STORE
- and the page contains sub frames. This bug appears only when frame flattening is
- disabled and scrollable subframes.
- Original patch from Thomas Thrainer.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::invalidateWindow):
- 2011-04-11 Benjamin Poulain <benjamin.poulain@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] HTML5 Drag and Drop demos not working
- https://bugs.webkit.org/show_bug.cgi?id=56486
- Handling the drop with JavaScript was not working with Qt because if the action is ignored
- in response to DragEnter, no further events are sent to the view.
- Drag and drop is defined and used differently by webpages. The drag move events are determining
- what action should take place. To adopt this behavior for Qt, we always accept drag enter events
- on the widget.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::dragEnterEvent):
- 2011-04-11 Andras Becsi <abecsi@webkit.org>
- Reviewed by Andreas Kling.
- [Qt] REGRESSION(83122): tst_QWebElement::style() fails
- https://bugs.webkit.org/show_bug.cgi?id=58032
- According to the documentation of QWebElement the styleProperty method should
- not respect style inheritance and other CSS rules for the InlineStyle enum.
- r83122 fixed this behaviour.
- * tests/qwebelement/tst_qwebelement.cpp:
- (tst_QWebElement::style): Fix the expected color for QWebElement::InlineStyle.
- 2011-04-11 Andreas Kling <andreas.kling@nokia.com>
- Build fix after r83436.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
- 2011-04-11 Andreas Kling <andreas.kling@nokia.com>
- Reviewed by Benjamin Poulain.
- [Qt] dumpResourceResponseMIMETypes shouldn't strip URL query string.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): Use KURL::lastPathComponent()
- for the dumpResourceResponseMIMETypes display string instead of QFileInfo::fileName().
- This is in line with the Mac port.
- 2011-04-08 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r83295.
- http://trac.webkit.org/changeset/83295
- https://bugs.webkit.org/show_bug.cgi?id=58144
- Broke 4 tests in QtWebKit (Requested by tonikitoo on #webkit).
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::handleInputMethodKeydown):
- 2011-04-08 Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Antonio Gomes.
- [Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails
- https://bugs.webkit.org/show_bug.cgi?id=57472
- Avoid to insert new line for both keydown event & keypress event.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::handleInputMethodKeydown):
- 2011-04-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Benjamin Poulain.
- [Qt] QWebFrame::setUrl works only from second time if url fragment is present
- https://bugs.webkit.org/show_bug.cgi?id=32723
- When clearing the frame, instead of using the URL passed to QWebFrame::setUrl(),
- use an invalid URL (the begin() without arguments). Clearing the document
- with the same URL was causing problems when we had a fragment because it assume that
- only scrolling was enough and did not loaded the document again.
- When setUrl() is called but fails, url() is expected to return the requested value. The
- begin(url) guaranteed that before. This patch adds a member to track the URL, which is
- updated when the URL changes and also when setUrl() is called.
- KURL was used for the member so that when setUrl() is called, and then url() is checked
- before the page gets loaded, we perform the same conversion that will be performed by a
- successful load, e.g. add trailing '/' to an address. This behavior is checked by
- tst_QWebFrame::requestedUrl() test.
- For the record: the second QWebPage::setUrl() worked because the load was considered a
- FrameLoadTypeSame, and because of that, was not fit for just scrolling, a reload was
- needed. See FrameLoader::shouldScrollToAnchor() for details on this classification.
- * Api/qwebframe.cpp:
- (QWebFramePrivate::emitUrlChanged): update our URL member and emit the signal.
- (clearCoreFrame):
- (isCoreFrameClear):
- (QWebFrame::setUrl):
- (QWebFrame::url):
- (QWebFrame::baseUrl): look in the document for the baseURL since its contents can change
- the baseURL, e.g. by using the <base> tag.
- * Api/qwebframe_p.h:
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
- (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::setUrlWithFragment): unskip test.
- 2011-04-07 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Kenneth Rohde Christiansen.
- Build fix when using Phonon as a backend for the multimedia support.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::ChromeClientQt):
- (WebCore::ChromeClientQt::~ChromeClientQt):
- * WebCoreSupport/ChromeClientQt.h:
- 2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests
- https://bugs.webkit.org/show_bug.cgi?id=56086
- Add the accessor numberOfPendingGeolocationPermissionRequests to call GeolocationClientMock::numberOfPendingPermissionRequests()
- from the LayoutTestController.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-04-06 Anders Bakken <agbakken@gmail.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] FrameLoaderClientQt.cpp has coding-style errors
- https://bugs.webkit.org/show_bug.cgi?id=40254
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (drtDescriptionSuitableForTestResult):
- (WebCore::FrameLoaderClientQt::hasWebView):
- (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
- (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
- (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
- (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
- (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
- (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
- (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
- (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
- (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
- (WebCore::FrameLoaderClientQt::willChangeTitle):
- (WebCore::FrameLoaderClientQt::didChangeTitle):
- (WebCore::FrameLoaderClientQt::finishedLoading):
- (WebCore::FrameLoaderClientQt::frameLoadCompleted):
- (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
- (WebCore::FrameLoaderClientQt::didFinishLoad):
- (WebCore::FrameLoaderClientQt::setTitle):
- (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
- (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
- (WebCore::FrameLoaderClientQt::updateGlobalHistory):
- (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
- (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem):
- (WebCore::FrameLoaderClientQt::committedLoad):
- (WebCore::FrameLoaderClientQt::download):
- (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
- (WebCore::FrameLoaderClientQt::shouldUseCredentialStorage):
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
- (WebCore::FrameLoaderClientQt::createFrame):
- (WebCore::FrameLoaderClientQt::objectContentType):
- (WebCore::FrameLoaderClientQt::createPlugin):
- 2011-04-06 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
- https://bugs.webkit.org/show_bug.cgi?id=57974
- We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
- No new tests needed, just a config flag rename.
- * Api/qwebkitplatformplugin.h:
- * WebCoreSupport/ChromeClientQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
- * WebCoreSupport/FullScreenVideoQt.cpp:
- (WebCore::FullScreenVideoQt::FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::enterFullScreenForNode):
- (WebCore::FullScreenVideoQt::exitFullScreenForNode):
- (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
- (WebCore::FullScreenVideoQt::isValid):
- * WebCoreSupport/FullScreenVideoQt.h:
- * WebCoreSupport/QtPlatformPlugin.cpp:
- * WebCoreSupport/QtPlatformPlugin.h:
- * examples/platformplugin/WebPlugin.cpp:
- (WebPlugin::supportsExtension):
- (WebPlugin::createExtension):
- * examples/platformplugin/WebPlugin.h:
- * examples/platformplugin/platformplugin.pro:
- * examples/platformplugin/qwebkitplatformplugin.h:
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::loadHtml5Video):
- * tests/tests.pri:
- 2011-04-06 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] Implement fullscreen playback for the GStreamer backend.
- https://bugs.webkit.org/show_bug.cgi?id=56826
- Implement support for fullscreen playback when building the
- Qt port with the GStreamer backend (DEFINES+=USE_GSTREAMER=1).
- The implementation is done in FullScreenVideoQt alongside with
- the Qt Multimedia support.
- No new tests because layout tests cover it. They are not yet activated
- but will be any time soon.
- * QtWebKit.pro:
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::ChromeClientQt):
- (WebCore::ChromeClientQt::~ChromeClientQt):
- (WebCore::ChromeClientQt::enterFullscreenForNode):
- (WebCore::ChromeClientQt::exitFullscreenForNode):
- * WebCoreSupport/ChromeClientQt.h:
- * WebCoreSupport/FullScreenVideoQt.cpp:
- (WebCore::GStreamerFullScreenVideoHandler::GStreamerFullScreenVideoHandler):
- (WebCore::GStreamerFullScreenVideoHandler::setVideoElement):
- (WebCore::GStreamerFullScreenVideoHandler::enterFullScreen):
- (WebCore::GStreamerFullScreenVideoHandler::windowClosed):
- (WebCore::GStreamerFullScreenVideoHandler::exitFullScreen):
- (WebCore::DefaultFullScreenVideoHandler::DefaultFullScreenVideoHandler):
- (WebCore::FullScreenVideoQt::FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
- (WebCore::FullScreenVideoQt::enterFullScreenForNode):
- (WebCore::FullScreenVideoQt::exitFullScreenForNode):
- (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
- (WebCore::FullScreenVideoQt::isValid):
- * WebCoreSupport/FullScreenVideoQt.h:
- (WebCore::GStreamerFullScreenVideoHandler::~GStreamerFullScreenVideoHandler):
- 2011-04-06 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Improve tests for QWebFrame::url() and related methods
- https://bugs.webkit.org/show_bug.cgi?id=57865
- * tests/qwebframe/tst_qwebframe.cpp:
- (FakeReply::FakeReply): make more URLs reply HostNotFound. We needed two different URLs in the test.
- (tst_QWebFrame::requestedUrlAfterSetAndLoadFailures): check the properties after an setUrl()
- that fails and a load() that fails (for a different URL).
- (tst_QWebFrame::setUrlWithFragment_data):
- (tst_QWebFrame::setUrlWithFragment): add other test cases similar to the original, but changing
- the URL in the frame before the test starts.
- (tst_QWebFrame::setUrlSameUrl): document existing behavior of calling setUrl() twice with
- the same URL as argument.
- (extractBaseUrl):
- (tst_QWebFrame::setUrlThenLoads_data):
- (tst_QWebFrame::setUrlThenLoads): check the URL related properties of the frame after a
- sequence of set and loads. Those tests are interesting because the properties
- react different to setUrl() and load(): 'requestedUrl' always change, 'url' only when setUrl()
- is used or after the load() is committed and baseUrl() is similar to url() but also depends
- on the contents of the page when it loads.
- 2011-04-04 MORITA Hajime <morrita@google.com>
- Reviewed by Ryosuke Niwa.
- [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
- https://bugs.webkit.org/show_bug.cgi?id=56085
-
- * WebCoreSupport/EditorClientQt.h:
- (WebCore::EditorClientQt::requestCheckingOfString):
- 2011-04-04 Chang Shu <cshu@webkit.org>
- Reviewed by Ryosuke Niwa.
- setContentEditable with true/false/inherit string is not working properly
- https://bugs.webkit.org/show_bug.cgi?id=52058
- Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
- as rendererIsEditable is for WebCore internal use.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::handleKeyboardEvent):
- 2011-04-01 Carol Szabo <carol.szabo@nokia.com>
- Reviewed by Benjamin Poulain.
- Changed QWebFramePrivate::renderFromTiledBackingStore to call directly into
- Scrollbar/PanIcon rendering, bypassing the potential relayout in renderRelativeCoords.
- Tiled painting still causes synchronous layout when
- accelerated compositing and texture mapper are enabled
- https://bugs.webkit.org/show_bug.cgi?id=56929
- * Api/qwebframe.cpp:
- (QWebFramePrivate::renderFromTiledBackingStore):
- (QWebFramePrivate::renderRelativeCoords):
- (QWebFramePrivate::renderFrameWidgets):
- * Api/qwebframe_p.h:
- 2011-04-01 Nancy Piedra <nancy.piedra@nokia.com>
- Reviewed by Benjamin Poulain.
- [Qt] DragClientQt.h has coding-style errors
- https://bugs.webkit.org/show_bug.cgi?id=40425
- * WebCoreSupport/DragClientQt.h:
- 2011-03-31 Marius Storm-Olsen <marius.storm-olsen@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Properly detect phonon include, and avoid double qtLibraryTarget() call
- https://bugs.webkit.org/show_bug.cgi?id=57017
- Build fix. No new tests.
- * QtWebKit.pro:
- 2011-03-31 Evan Martin <evan@chromium.org>
- Another build fix.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::updateGlobalHistory):
- 2011-03-31 Nancy Piedra <nancy.piedra@nokia.com>
- Reviewed by Benjamin Poulain.
- [Qt] ChromeClientQt.h has coding-style errors
- https://bugs.webkit.org/show_bug.cgi?id=40239
- * WebCoreSupport/ChromeClientQt.h:
- (WebCore::ChromeClientQt::scrollbarsModeDidChange):
- (WebCore::ChromeClientQt::needTouchEvents):
- (WebCore::ChromeClientQt::formStateDidChange):
- (WebCore::ChromeClientQt::scrollRectIntoView):
- (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
- (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
- 2011-03-31 Evan Martin <evan@chromium.org>
- Build fix from previous change.
- * Api/qwebframe.cpp:
- (QWebFrame::title):
- 2011-03-31 Evan Martin <evan@chromium.org>
- Reviewed by Eric Seidel.
- <title> should support dir attribute
- https://bugs.webkit.org/show_bug.cgi?id=50961
- Update to new FrameLoaderClient interface.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
- (WebCore::FrameLoaderClientQt::setTitle):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-03-30 Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt][Symbian] Fix Api test failure -- tst_QWebView::focusInputTypes
- https://bugs.webkit.org/show_bug.cgi?id=57020
- Added a macro 'VERIFY_INPUTMETHOD_HINTS' to test inputmethodhints().
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView::focusInputTypes):
- 2011-03-30 Robert Hogan <robert@webkit.org>
- Reviewed by Antonio Gomes.
- [Qt] Fix LoadHTMLStringItem::invoke() after r75966
- Add DRT support for loading an alternate HTML string
- for error pages. This allows Qt to unskip
- http/tests/navigation/go-back-to-error-page.html.
- https://bugs.webkit.org/show_bug.cgi?id=52614
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::setAlternateHtml):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-03-29 Alexis Menard <alexis.menard@openbossa.org>
- Unreviewed build fix for build-webkit -minimal.
- Breakage introduced by http://trac.webkit.org/changeset/82238.
- The minimal option has no support for shortcuts.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::handleInputMethodKeydown):
- 2011-03-29 Janne Koskinen <janne.p.koskinen@digia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Enterkey to go to Newline does not work in the text area(in HTML form)
- https://bugs.webkit.org/show_bug.cgi?id=33179
- Fixed newline generation from Qt::Key_Enter when editting text area using InputMethods.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::handleInputMethodKeydown):
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::inputMethods):
- 2011-03-29 Andreas Kling <kling@webkit.org>
- Reviewed by Simon Hausmann.
- [Qt] Fix documentation for QWebPage::repaintRequested()
- This signal is always emitted when the page is dirtied, so remove
- reference to old behavior where we would only emit the signal for
- headless QWebPages.
- * Api/qwebpage.cpp:
- 2011-03-28 Andreas Kling <kling@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt] Pass QString() instead of String() when emitting titleChanged() for new loads.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
- 2011-03-28 Andreas Kling <kling@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt] Crash when calling QWebFrame::render() in response to QWebPage::repaintRequested()
- https://bugs.webkit.org/show_bug.cgi?id=52629
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::invalidateContentsAndWindow): Make the emission of
- QWebPage::repaintRequested() use a Qt::QueuedConnection.
- * tests/qwebpage/tst_qwebpage.cpp:
- (RepaintRequestedRenderer::RepaintRequestedRenderer):
- (RepaintRequestedRenderer::onRepaintRequested):
- (tst_QWebPage::renderOnRepaintRequestedShouldNotRecurse): Test that calling
- QWebFrame::render() in a slot connected to to QWebPage::repaintRequested()
- doesn't cause recursive signal emissions.
- 2011-03-28 Benjamin Poulain <benjamin.poulain@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
- https://bugs.webkit.org/show_bug.cgi?id=57087
- * QtWebKit.pro: we can now enable QT_ASCII_CAST_WARNINGS
- * tests/tests.pri: we do not require QT_ASCII_CAST_WARNINGS for tests
- since they are applications, not libraries.
- 2011-03-28 Andras Becsi <abecsi@webkit.org>
- Reviewed by Csaba Osztrogonác.
- [Qt] QtWebKit does not link with --3d-canvas using MinGW
- https://bugs.webkit.org/show_bug.cgi?id=57225
- * QtWebKit.pro: Append the OpenGL libraries on MinGW so it can resolve symbols.
- 2011-03-28 Csaba Osztrogonác <ossy@webkit.org>
- Reviewed by Andreas Kling.
- REGRESSION(r54712): [Qt] Installed QtWebKit header does not compile.
- https://bugs.webkit.org/show_bug.cgi?id=57183
- Windows buildfix after r82065.
- * Api/DerivedSources.pro: Readding escaping on Windows platforms.
- 2011-03-27 Andreas Kling <kling@webkit.org>
- Fix build warning about IconDatabaseClient.h (wrong path.)
- * QtWebKit.pro:
- 2011-03-27 Andreas Kling <kling@webkit.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Support for CSS color and background-color properties on select element's dropdown list
- https://bugs.webkit.org/show_bug.cgi?id=51627
- Extend the QWebSelectData interface with background and foreground colors
- for the whole menu, as well as per-item. Hook it up to the PopupMenuStyle
- getters in RenderMenuList.
- * Api/qwebkitplatformplugin.h:
- * WebCoreSupport/PopupMenuQt.cpp:
- (SelectData::backgroundColor):
- (SelectData::foregroundColor):
- (SelectData::itemBackgroundColor):
- (SelectData::itemForegroundColor):
- * WebCoreSupport/QtFallbackWebPopup.cpp:
- (WebCore::QtFallbackWebPopup::show):
- (WebCore::QtFallbackWebPopup::populate):
- 2011-03-27 Yi Shen <yi.4.shen@nokia.com>
- Reviewed by Andreas Kling.
- [Qt][Symbian] Fix Api test failure -- microFocusCoordinates
- https://bugs.webkit.org/show_bug.cgi?id=57108
- Since the canvas is not self-closing tag, we need to add '</canvas>'.
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView::microFocusCoordinates):
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView::microFocusCoordinates):
- 2011-03-27 Kwang Yul Seo <skyul@company100.net>
- Reviewed by Eric Seidel.
- [Qt] Build fix: Define WTF_USE_TEXTURE_MAPPER=1 when CONFIG contains texmap.
- https://bugs.webkit.org/show_bug.cgi?id=57143
- Qt WebKit uses USE(TEXTURE_MAPPER) guard. Check texmap in CONFIG and
- define WTF_USE_TEXTURE_MAPPER=1.
- * QtWebKit.pro:
- 2011-03-27 Andreas Kling <kling@webkit.org>
- Reviewed by Benjamin Poulain.
- REGRESSION(r54712): [Qt] Installed QtWebKit header does not compile.
- https://bugs.webkit.org/show_bug.cgi?id=57183
- The convenience <QtWebKit> header would include \<QtNetwork/QtNetwork\>
- which was due to the outputting code previously being wrapped in eval().
- * Api/DerivedSources.pro:
- 2011-03-27 Benjamin Poulain <benjamin.poulain@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
- https://bugs.webkit.org/show_bug.cgi?id=57087
- Use explicit conversion for string to avoid depending on the default codec
- installed by the user code.
- * Api/qwebkitversion.cpp:
- (qWebKitVersion):
- * Api/qwebpage.cpp:
- (QWebPagePrivate::dynamicPropertyChangeEvent):
- (QWebPage::javaScriptConsoleMessage):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (convertToPropertyName):
- (DumpRenderTreeSupportQt::setEditingBehavior):
- (DumpRenderTreeSupportQt::plainText):
- * WebCoreSupport/EditorClientQt.cpp:
- (dumpRange):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (drtDescriptionSuitableForTestResult):
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::openInspectorFrontend):
- * WebCoreSupport/InspectorServerQt.cpp:
- (WebCore::parseWebSocketChallengeNumber):
- (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
- 2011-03-26 Andreas Kling <kling@webkit.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] QWebFrame::iconChanged() not emitted when icon is cached but not yet loaded
- https://bugs.webkit.org/show_bug.cgi?id=57157
- Add an IconDatabaseClient for the Qt port to ensure that QWebFrame::iconChanged()
- is always emitted when appropriate.
- * QtWebKit.pro: Add new files.
- * WebCoreSupport/IconDatabaseClientQt.h: Added.
- * WebCoreSupport/IconDatabaseClientQt.cpp: Added.
- (WebCore::IconDatabaseClientQt::instance):
- (WebCore::IconDatabaseClientQt::IconDatabaseClientQt):
- (WebCore::IconDatabaseClientQt::~IconDatabaseClientQt):
- (WebCore::IconDatabaseClientQt::performImport):
- (WebCore::IconDatabaseClientQt::didRemoveAllIcons):
- (WebCore::IconDatabaseClientQt::didImportIconURLForPageURL):
- (WebCore::IconDatabaseClientQt::didImportIconDataForPageURL):
- (WebCore::IconDatabaseClientQt::didChangeIconForPageURL):
- (WebCore::IconDatabaseClientQt::didFinishURLImport):
- * WebCoreSupport/FrameLoaderClientQt.h:
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::registerForIconNotification):
- (WebCore::FrameLoaderClientQt::onIconLoadedForPageURL): New slot connected
- to the IconDatabaseClientQt::iconLoadedForPageURL() signal. This emits the
- QWebFrame::iconChanged() signal when the IconDatabases finishes loading
- a cached favicon for the frame's URL.
- * Api/qwebsettings.cpp:
- (QWebSettings::setIconDatabasePath): Make sure that IconDatabaseClientQt is
- instantiated. An IconDatabaseClient has to be registered before the IconDatabase
- spawns its reader thread.
- 2011-03-25 Andy Estes <aestes@apple.com>
- Reviewed by Adele Peterson.
- REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
- https://bugs.webkit.org/show_bug.cgi?id=49016
- Update objectContentType() implementation to handle the
- shouldPreferPlugInsForImages flag.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::objectContentType):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-03-25 Chang Shu <cshu@webkit.org>
- Reviewed by Ryosuke Niwa.
- rename Node::isContentEditable and all call sites to rendererIsEditable
- https://bugs.webkit.org/show_bug.cgi?id=54290
- This is part of the effort to separate JS API HTMLElement isContentEditable from
- internal Node::rendererIsEditable.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::handleKeyboardEvent):
- 2011-03-25 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] The keyboard shortcuts during fullscreen playback do not work.
- https://bugs.webkit.org/show_bug.cgi?id=57095
- We need to explicitely set the focus on the widget in order to receive the keyboard events.
- * WebCoreSupport/FullScreenVideoWidget.cpp:
- (WebCore::FullScreenVideoWidget::show):
- 2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r81916 and r81917.
- http://trac.webkit.org/changeset/81916
- http://trac.webkit.org/changeset/81917
- https://bugs.webkit.org/show_bug.cgi?id=57071
- broke a test on platforms that do not have QuickTime installed
- (Requested by estes on #webkit).
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::objectContentType):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-03-24 Andy Estes <aestes@apple.com>
- Reviewed by Darin Adler.
- REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
- https://bugs.webkit.org/show_bug.cgi?id=49016
- Update objectContentType() implementation to handle the
- shouldPreferPlugInsForImages flag.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::objectContentType):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-03-24 Benjamin Poulain <benjamin.poulain@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] When we render WebGL offscreen, color conversion cost a lot of CPU cycles
- https://bugs.webkit.org/show_bug.cgi?id=40884
- Add tests and benchmarks for the software fallback of WebGL.
- * tests/benchmarks/webgl/10000_triangles.html: Added.
- * tests/benchmarks/webgl/tst_webgl.cpp: Added.
- (GraphicsView::GraphicsView):
- (GraphicsView::resizeEvent):
- (tst_WebGlPerformance::init):
- (tst_WebGlPerformance::cleanup):
- (tst_WebGlPerformance::benchSoftwareFallbackRgb16):
- (tst_WebGlPerformance::benchSoftwareFallbackRgb32):
- (tst_WebGlPerformance::benchSoftwareFallbackArgb32):
- (tst_WebGlPerformance::benchSoftwareFallbackArgb32Premultiplied):
- (tst_WebGlPerformance::benchmarkFrameRenderingOnImage):
- * tests/benchmarks/webgl/tst_webgl.qrc: Added.
- * tests/benchmarks/webgl/webgl.pro: Added.
- * tests/qgraphicswebview/qgraphicswebview.pro:
- * tests/qgraphicswebview/resources/pointing_right.html: Added.
- * tests/qgraphicswebview/resources/pointing_up.html: Added.
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (compareImagesFuzzyPixelCount):
- (GraphicsView::GraphicsView):
- (tst_QGraphicsWebView::webglSoftwareFallbackVerticalOrientation):
- (tst_QGraphicsWebView::webglSoftwareFallbackHorizontalOrientation):
- (tst_QGraphicsWebView::compareCanvasToImage):
- * tests/qgraphicswebview/tst_qgraphicswebview.qrc:
- * tests/tests.pro:
- 2011-03-24 Kristian Amlie <kristian.amlie@nokia.com>
- Reviewed by Benjamin Poulain.
- Avoided ASCII-cast warnings for WebKit.
- Normally they won't be enabled anyway, but if you build webkit from
- within the Qt mother repository it will pick up Qt's default build
- settings, which do enable it. We need to disable them because
- warnings are treated as errors and there are way too many of them in
- the WebKit code.
- [Qt] Avoid ASCII-cast warnings for WebKit.
- https://bugs.webkit.org/show_bug.cgi?id=57016
- * QtWebKit.pro:
- 2011-03-24 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Benjamin Poulain.
- [Qt] Resetting the URL property of a QWebView results in the current directory being set as file::-type URL
- https://bugs.webkit.org/show_bug.cgi?id=29595
- Qt Designer resets the URL by setting it to QUrl(). The bug was caused by
- ensureAbsoluteUrl() helper function treating the empty URL as a relative URL, and
- prepending the current directory.
- By fixing this, now we can pass QUrl() invalid and empty URLs to WebCore layer, which
- will end up loading "about:blank", but keeping it as a requested URL.
- This patch also simplifies the logic for requestedUrl(), since m_lastRequestedUrl
- is filled for the loaded URLs as well, we can use it in every case.
- Three new autotests were added, to better cover the expected behavior of setting
- the QUrl() in a QWebFrame.
- * Api/qwebframe.cpp:
- (ensureAbsoluteUrl): do not treat invalid URLs (empty included) as relative.
- (QWebFrame::requestedUrl): always use m_lastRequestedUrl.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): do not clear m_lastRequestedUrl
- anymore, since we always rely on it even for loaded frames.
- * tests/qwebframe/tst_qwebframe.cpp:
- (tst_QWebFrame::setUrlToEmpty): verify the behavior of setting empty URLs. This includes
- the reduction of the bug report.
- (tst_QWebFrame::setUrlToInvalid): setting invalid, but not necessarily empty, URLs.
- (tst_QWebFrame::setUrlHistory): to verify how setting empty URLs affect history.
- 2011-03-23 Brady Eidson <beidson@apple.com>
- Reviewed by Sam Weinig.
- Change IconDatabase opening to allow for arbitrary filenames
- https://bugs.webkit.org/show_bug.cgi?id=56977
- * Api/qwebsettings.cpp:
- (QWebSettings::setIconDatabasePath):
- 2011-03-23 Aparna Nandyal <aparna.nand@wipro.com>
- Reviewed by Andreas Kling.
- [Qt] QtWebKit rendering problem when maximizing and doing a back
- https://bugs.webkit.org/show_bug.cgi?id=56669
- Added an auto test.
- Patch by Alexis Menard < alexis.menard@nokia.com> on 2011-03-21
-
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView::rendering):
- 2011-03-23 Yury Semikhatsky <yurys@chromium.org>
- Reviewed by Pavel Feldman.
- [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
- https://bugs.webkit.org/show_bug.cgi?id=56843
- * WebCoreSupport/InspectorClientQt.cpp:
- (WebCore::InspectorClientQt::openInspectorFrontend):
- 2011-03-22 Andrew Wason <rectalogic@rectalogic.com>
- Reviewed by Benjamin Poulain.
- [Qt] QWebPage with WebGL content crashes when rendering if no QWebView parent
- https://bugs.webkit.org/show_bug.cgi?id=54138
- * tests/qwebpage/tst_qwebpage.cpp:
- (webGLScreenshotWithoutView):
- (tst_QWebPage::acceleratedWebGLScreenshotWithoutView):
- (tst_QWebPage::unacceleratedWebGLScreenshotWithoutView):
- Render a QWebPage (with and without accelerated compositing)
- with a WebGL context that has no owning view. Shouldn't crash.
- 2011-03-21 Chang Shu <cshu@webkit.org>
- Reviewed by Alexey Proskuryakov.
- REGRESSION (r79953): Can't type in MS Outlook 2011
- https://bugs.webkit.org/show_bug.cgi?id=56665
- r79953 removed the WebView level editablity which is persistent no matter whether
- underlying document itself is changed and editability gets lost. The resolution is to
- set this WebView editable value to WebCore. This avoids the callback from WebCore to
- WebKit which was the main goal in r79953 to improve performance.
- * Api/qwebpage.cpp:
- (QWebPage::setContentEditable):
- (QWebPage::isContentEditable):
- 2011-03-19 Andreas Kling <kling@webkit.org>
- Reviewed by Benjamin Poulain.
- [Qt] Remove support for Qt 4.6
- https://bugs.webkit.org/show_bug.cgi?id=56712
- * Api/qwebframe.cpp:
- (QWebFrame::load):
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * Api/qwebsettings.cpp:
- (QWebSettings::QWebSettings):
- * WebCoreSupport/GeolocationClientQt.cpp:
- (WebCore::GeolocationClientQt::positionUpdated):
- 2011-03-19 Andreas Kling <kling@webkit.org>
- Reviewed by Antonio Gomes.
- [Qt][Doc] QWebPage::unsupportedContent() passes ownership of the QNetworkReply
- https://bugs.webkit.org/show_bug.cgi?id=56711
- Document the fact that when unsupportedContent(QNetworkReply*) is emitted,
- ownership of the reply is transferred to the receiving slot.
- * Api/qwebpage.cpp:
- 2011-03-17 Brady Eidson <beidson@apple.com>
- Reviewed by Sam Weinig.
- https://bugs.webkit.org/show_bug.cgi?id=56425
- More groundwork for WebKit2 IconDatabase
- Update already-used function names:
- * Api/qwebhistory.cpp:
- (QWebHistoryItem::icon):
- * Api/qwebsettings.cpp:
- (QWebSettings::iconForUrl):
- 2011-03-18 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Benjamin Poulain.
- [Qt] console.log not being exposed to QmlViewer
- https://bugs.webkit.org/show_bug.cgi?id=56536
- The documentation is bogus the feature does not exist.
- * declarative/qdeclarativewebview.cpp:
- 2011-03-17 Andreas Kling <kling@webkit.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] QML WebView emits iconChanged() when the page title changes
- https://bugs.webkit.org/show_bug.cgi?id=56570
- * declarative/qdeclarativewebview.cpp:
- (QDeclarativeWebView::setPage): Don't forward the frame's titleChanged
- signal to the view's iconChanged signal.
- 2011-03-17 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Benjamin Poulain.
- [Qt] Videos look ugly when using QGraphicsWebView.
- https://bugs.webkit.org/show_bug.cgi?id=56580
- We need to set QPainter::SmoothPixmapTransform on the painter for a proper rendering of the video.
- QWebView does it but not QGraphicsWebView because the API does not exist. This patch is fixing it
- by introducing the same API as QWebView to control the renderHints of the item. Unlike QWebView
- QGraphicsWebView inherits the painter from QGraphicsScene and those flags are not set. This patch
- ensure that before rendering the item we add QPainter::SmoothPixmapTransform and QPainter::TextAntialiasing
- in addition of what could be set on the painter. In order to not break the rendering of all the items in the
- scene we set back the painter to its original state when QGraphicsWebView is rendered.
- * Api/qgraphicswebview.cpp:
- (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
- (QGraphicsWebView::paint):
- (QGraphicsWebView::renderHints):
- (QGraphicsWebView::setRenderHints):
- (QGraphicsWebView::setRenderHint):
- * Api/qgraphicswebview.h:
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView::renderHints):
- 2011-03-16 Joseph Pecoraro <joepeck@webkit.org>
- Reviewed by Kenneth Rohde Christiansen.
- Viewport no longer allows an auto value for "user-scalable"
- https://bugs.webkit.org/show_bug.cgi?id=55416
- Make the default value for userScalable be true.
- * Api/qwebpage.cpp:
- (QWebPage::viewportAttributesForSize):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::viewportAsText): update test output to include userScalable.
- 2011-03-15 Kevin Ollivier <kevino@theolliviers.com>
- Reviewed by Darin Adler.
- Introduce WTF_USE_EXPORT_MACROS, which will allow us to put shared library import/export
- info into the headers rather than in export symbol definition files, but disable it on
- all platforms initially so we can deal with port build issues one port at a time.
-
- https://bugs.webkit.org/show_bug.cgi?id=27551
- * WebCoreSupport/GeolocationClientQt.cpp:
- * WebCoreSupport/PopupMenuQt.cpp:
- 2011-03-14 Brady Eidson <beidson@apple.com>
- Reviewed by Anders Carlsson.
- https://bugs.webkit.org/show_bug.cgi?id=56320
- Remove HistoryItem::icon() and the WebCore dependency on "IconDatabaseBase::defaultIcon()"
- * Api/qwebhistory.cpp:
- (QWebHistoryItem::icon): Use IconDatabase directly.
- 2011-03-11 Brady Eidson <beidson@apple.com>
- Reviewed by attempt at build fix!
- https://bugs.webkit.org/show_bug.cgi?id=56216
- Fix the Qt build following the same pattern of the patch.
- * Api/qwebsettings.cpp:
- (QWebSettings::setIconDatabasePath): Call the static method via IconDatabase:: and not via iconDatabase()
- 2011-03-11 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Ariya Hidayat.
- [Qt] Entering fullscreen and leaving it may hide the cursor of the application.
- https://bugs.webkit.org/show_bug.cgi?id=56181
- We need to stop the auto hide cursor timer when closing the widget otherwise the timer
- might get fired and therefore hide the cursor even when the fullscreen widget is closed.
- * WebCoreSupport/FullScreenVideoWidget.cpp:
- (WebCore::FullScreenVideoWidget::closeEvent):
- 2011-03-10 David Boddie <david.boddie@nokia.com>
- Reviewed by Andreas Kling.
- Fixed a qdoc warning and terminology (WebKit instead of Webkit).
- https://bugs.webkit.org/show_bug.cgi?id=55756
- * Api/qwebhistoryinterface.cpp:
- 2011-03-10 Andreas Kling <kling@webkit.org>
- Unreviewed build fix after r80774.
- QML property versioning is introduced in Qt 4.7.3, not 4.7.2.
- See also: http://bugreports.qt.nokia.com/browse/QTBUG-13451
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- * declarative/qdeclarativewebview.cpp:
- * declarative/qdeclarativewebview_p.h:
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- 2011-03-10 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] QtDeclarative Webview element has a fixed white background
- https://bugs.webkit.org/show_bug.cgi?id=40918
- Implement a way to change the background color of the WebView QML element.
- This feature is activated for QtWebKit 1.1 version of the plugin.
- * declarative/plugin.cpp:
- (WebKitQmlPlugin::registerTypes):
- * declarative/qdeclarativewebview.cpp:
- (QDeclarativeWebView::backgroundColor):
- (QDeclarativeWebView::setBackgroundColor):
- * declarative/qdeclarativewebview_p.h:
- * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml: Added.
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- (tst_QDeclarativeWebView::backgroundColor):
- * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
- 2011-03-10 Stanislav Paltis <Stanislav.Paltis@nokia.com>
- Reviewed by Laszlo Gombos.
- [Qt] MemoryCache deadDecodedDataDeletionInterval is not exposed for client's usage
- https://bugs.webkit.org/show_bug.cgi?id=55945
-
- Added handling of dynamic/runtime property _q_deadDecodedDataDeletionInterval to
- set interval used to trigger when decoded data in dead list of object cache will
- be purged from object cache.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::dynamicPropertyChangeEvent):
- 2011-03-10 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Antonio Gomes.
- Simplify how QWebFrame::requestedUrl() is obtained
- https://bugs.webkit.org/show_bug.cgi?id=55842
- When a load starts, store the requested URL until we know that it'll be
- available for us in the document loader -- after load finished.
- The existing auto tests cover the three different code paths in
- requestedUrl() and the new code passes the autotests. In each of those
- cases, we looked for the information in a different place, but in all
- of them, dispatchDidStartProvisionalLoad was called.
- This simplification will be useful to fix bug 32723. The way requestedUrl()
- is implementent, we can't use it as a fallback for url() when the setUrl()
- was called with an invalid URL.
- * Api/qwebframe.cpp:
- (QWebFrame::requestedUrl):
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
- (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
- * WebCoreSupport/FrameLoaderClientQt.h:
- (WebCore::FrameLoaderClientQt::lastRequestedUrl):
- 2011-03-10 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
- Reviewed by Kenneth Rohde Christiansen.
- Tiled backing store's delegated scroll request uses incorrect convention
- https://bugs.webkit.org/show_bug.cgi?id=56011
- Adapt internal API to match the change from delta to point on the
- WebCore side, and convert the point to a delta for the public API.
- * WebCoreSupport/ChromeClientQt.cpp:
- (WebCore::ChromeClientQt::delegatedScrollRequested):
- * WebCoreSupport/ChromeClientQt.h:
- 2011-03-09 Peter Kasting <pkasting@google.com>
- Reviewed by Mihai Parparita.
- Unify Windows version checks.
- https://bugs.webkit.org/show_bug.cgi?id=55979
- * Api/qwebpage.cpp:
- (QWebPage::userAgentForUrl):
- 2011-03-07 Sam Weinig <sam@webkit.org>
- Reviewed by Anders Carlsson.
- Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
- https://bugs.webkit.org/show_bug.cgi?id=55827
- Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
- and pass the entire response, instead of just the MIMEType.
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-03-05 Qi Zhang <qi.2.zhang@nokia.com>
- Reviewed by Laszlo Gombos.
- [Qt] Mobile Devices should include Model and Firmware Version in Webkit Generated User Agent String
- https://bugs.webkit.org/show_bug.cgi?id=48636
- Add model infomation into user agent string when qtmobility is available, but only for symbian, Maemo and MeeGo.
- * Api/qwebpage.cpp:
- (QWebPage::userAgentForUrl):
- 2011-03-03 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [QT] Implement mock client-based geolocation for layout testing
- https://bugs.webkit.org/show_bug.cgi?id=54334
- Implement layout testing for Client-Based geolocation. If drt_run is set
- then create mock geolocationClient and update the same with controller.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::mockGeolocationReset):
- (DumpRenderTreeSupportQt::setMockGeolocationPermission):
- (DumpRenderTreeSupportQt::setMockGeolocationPosition):
- (DumpRenderTreeSupportQt::setMockGeolocationError):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * WebCoreSupport/GeolocationClientQt.cpp:
- (WebCore::GeolocationClientQt::GeolocationClientQt):
- * WebCoreSupport/GeolocationClientQt.h:
- 2011-03-03 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] QWebFrame::setUrl works only from second time if url fragment is present
- https://bugs.webkit.org/show_bug.cgi?id=32723
- Create an auto-test for Qt based on the bug description.
- * tests/qwebframe/tst_qwebframe.cpp: add setUrlWithFragment() test.
- 2011-03-03 Brady Eidson <beidson@apple.com>
- Reviewed by Darin Adler.
- https://bugs.webkit.org/show_bug.cgi?id=55721
- Global IconDatabase should be returned by reference, not as a pointer
- * Api/qwebsettings.cpp:
- (QWebSettings::setIconDatabasePath):
- (QWebSettings::iconDatabasePath):
- (QWebSettings::clearIconDatabase):
- (QWebSettings::iconForUrl):
- 2011-03-03 Alexey Proskuryakov <ap@apple.com>
- Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
- via ChromeClient.h
- * WebCoreSupport/ChromeClientQt.h:
- 2011-03-02 Alexey Proskuryakov <ap@apple.com>
- Reviewed by Darin Adler.
- REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
- https://bugs.webkit.org/show_bug.cgi?id=55633
- <rdar://problem/8963023>
- * WebCoreSupport/ChromeClientQt.cpp (WebCore::ChromeClientQt::keyboardUIMode):
- * WebCoreSupport/ChromeClientQt.h:
- Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
- this platform doesn't observe or have full keyboard access state.
- 2011-03-03 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] QGraphicsWebView should use updateMicroFocus() of QGraphicsItem
- https://bugs.webkit.org/show_bug.cgi?id=55568
- We should use updateMicroFocus() from QGraphicsItem rather than the implementation
- in QGraphicsWebView. _q_updateMicroFocus was added when QGraphicsItem didn't have the feature.
- In Qt 4.7, updateMicroFocus was added, let's use it, then we can benefit of all bug fixing done
- in QGraphicsItem.
- * Api/qgraphicswebview.cpp:
- (QGraphicsWebView::setPage):
- * Api/qgraphicswebview.h:
- 2011-03-03 Peter Kasting <pkasting@google.com>
- Reviewed by James Robinson.
- Drop redundant "Windows; " from the Windows-specific User Agent string.
- https://bugs.webkit.org/show_bug.cgi?id=54567
- * Api/qwebpage.cpp:
- (QWebPage::userAgentForUrl):
- 2011-03-01 Brian Weinstein <bweinstein@apple.com>
- Reviewed by Adam Roben.
- Part of WebKit2: Need a way to send notifications to client when cookies change
- https://bugs.webkit.org/show_bug.cgi?id=55427
- <rdar://problem/9056027>
-
- Add stubs for CookiesStrategy on Qt WebKit1.
- * WebCoreSupport/WebPlatformStrategies.cpp:
- (WebPlatformStrategies::createCookiesStrategy):
- (WebPlatformStrategies::notifyCookiesChanged):
- * WebCoreSupport/WebPlatformStrategies.h:
- 2011-03-01 Joseph Pecoraro <joepeck@webkit.org>
- Unreviewed. Roll out r80068 and r80073 due to breaking WebKit2 Qt port.
- * Api/qwebpage.cpp:
- (QWebPage::viewportAttributesForSize):
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::viewportAsText):
- 2011-03-01 Joseph Pecoraro <joepeck@webkit.org>
- Reviewed by Kenneth Rohde Christiansen.
- Viewport Warning/Error Messages Are Now Inaccurate
- https://bugs.webkit.org/show_bug.cgi?id=53707
- * Api/qwebpage.cpp:
- (QWebPage::viewportAttributesForSize): pass a Document into computeViewportAttributes for warnings to be reported to.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::viewportAsText): pass a Document into computeViewportAttributes for warnings to be reported to.
- 2011-03-01 Andras Becsi <abecsi@webkit.org>
- Reviewed by Csaba Osztrogonác.
- [Qt] Clean up the project files and move common options to WebKit.pri.
- * QtWebKit.pro: Move common options to WebKit.pri.
- 2011-03-01 Aparna Nandyal <aparna.nand@wipro.com>
- Reviewed by Simon Hausmann.
- [Qt]tst_QWebPage::backActionUpdate fails when there is not network connection
- https://bugs.webkit.org/show_bug.cgi?id=55319
- The test case required internet connection to be able to connect to
- google.com. Added new html file which refers to local html file.
- * tests/qwebpage/resources/content.html: Added.
- * tests/qwebpage/resources/frame_c.html: Added.
- * tests/qwebpage/resources/framedindex.html: Added.
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::backActionUpdate):
- * tests/qwebpage/tst_qwebpage.qrc:
- 2011-02-25 Steve Block <steveblock@google.com>
- Reviewed by Jeremy Orlow.
- Bridge.h should not include BridgeJSC.h
- https://bugs.webkit.org/show_bug.cgi?id=55212
- Include BridgeJSC.h directly instead.
- * Api/qwebframe.cpp:
- 2011-02-28 Chang Shu <cshu@webkit.org>
- Reviewed by Ryosuke Niwa.
- Remove the support of Frame::isContentEditable and its dependencies.
- https://bugs.webkit.org/show_bug.cgi?id=54292
- Remove the WebKit side implementation. Make WebKit support depend on Document::inDesignMode.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- (QWebPage::setContentEditable):
- (QWebPage::isContentEditable):
- * Api/qwebpage_p.h:
- * WebCoreSupport/EditorClientQt.cpp:
- * WebCoreSupport/EditorClientQt.h:
- 2011-02-28 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Oliver Hunt.
- Build fix for Qt port after API changes of http://trac.webkit.org/changeset/79904.
- * Api/qwebelement.cpp:
- (QWebElement::evaluateJavaScript):
- 2011-02-28 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt]tst_QDeclarativeWebView - 8 test cases fail
- https://bugs.webkit.org/show_bug.cgi?id=55214
- Fix the API tests for the QML WebView element. The default size of the element should be the size of the QGraphicsWebView
- if no preferred width or height are provided (see http://trac.webkit.org/changeset/79672).
- I also refactored the tests so we don't use the network but instead a local html file.
- QML doesn't support qrc loading so I had to workaround by using a property that I update afterwards.
- * tests/qdeclarativewebview/resources/sample.html: Added.
- * tests/qdeclarativewebview/resources/webviewtest.qml:
- * tests/qdeclarativewebview/resources/webviewtestdefault.qml:
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
- (tst_QDeclarativeWebView::preferredWidthTest):
- (tst_QDeclarativeWebView::preferredHeightTest):
- (tst_QDeclarativeWebView::preferredWidthDefaultTest):
- (tst_QDeclarativeWebView::preferredHeightDefaultTest):
- * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
- 2011-02-28 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] Add clipped version of QWebElement::render method.
- Allows faster rendering of web element part.
- https://bugs.webkit.org/show_bug.cgi?id=50311
- * Api/qwebelement.cpp:
- (QWebElement::render):
- * Api/qwebelement.h:
- * tests/qwebelement/tst_qwebelement.cpp:
- (tst_QWebElement::render):
- 2011-02-28 Kristian Amlie <kristian.amlie@nokia.com>
- Reviewed by Andreas Kling.
- Added full webkit module profile and a syncqt profile.
- This is for modularized Qt.
- [Qt] WebKit patches required to work with a modularized version of Qt
- https://bugs.webkit.org/show_bug.cgi?id=53916
- * qt_webkit_version.pri:
- 2011-02-27 Aparna Nandyal <aparna.nand@wipro.com>
- Reviewed by Antonio Gomes.
- [Qt] QtTestBrowser - Horizontal scrollbar disappears on navigating pages using Back/Forward
- https://bugs.webkit.org/show_bug.cgi?id=53917
- Adding test case to check the scenario to avoid regressions in the
- future.
- * tests/qwebframe/tst_qwebframe.cpp:
- 2011-02-27 Benjamin Poulain <benjamin.poulain@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] Reference the documentation of the WebKit bridge from QWebFrame::addToJavaScriptWindowObject()
- https://bugs.webkit.org/show_bug.cgi?id=55322
- Documentation update, add a reference to the QtWebKit bridge page.
- * Api/qwebframe.cpp:
- 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
- Reviewed by Pavel Feldman.
- DumpRenderTree should reset frame opener between tests.
- https://bugs.webkit.org/show_bug.cgi?id=54874
- Added clearOpener method to DumpRenderTreeSupportQT.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::clearOpener):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-02-26 Kenneth Rohde Christiansen <kenneth@webkit.org>
- Reviewed by Andreas Kling.
- Make it possible to test the targetdensity-dpi support
- https://bugs.webkit.org/show_bug.cgi?id=55142
- Test the viewport meta tag feature targetdensity-dpi by
- adding extra arguments to dumpConfigurationForViewport
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::viewportAsText):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
- Unreviewed, rolling out r79764.
- http://trac.webkit.org/changeset/79764
- https://bugs.webkit.org/show_bug.cgi?id=55295
- "broke Chromium builds" (Requested by rniwa on #webkit).
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
- Reviewed by Pavel Feldman.
- DumpRenderTree should reset frame opener between tests.
- https://bugs.webkit.org/show_bug.cgi?id=54874
- Added clearOpener method to DumpRenderTreeSupportQT.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::clearOpener):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-02-25 Andras Becsi <abecsi@webkit.org>
- Reviewed by Csaba Osztrogonác.
- [Qt] Make the WebKit2 build system less confusing for non-Qt developers
- https://bugs.webkit.org/show_bug.cgi?id=55213
- * QtWebKit.pro: Move the WebKit2 API into a project include file
- in the WebKit2 directory and include the pri file here.
- 2011-02-25 Alexis Menard <alexis.menard@openbossa.org>
- Unreviewed build fix for Intel ICC and MSVC.
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView::setPalette):
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView::setPalette):
- 2011-02-25 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Properly propagate the palette to QWebPage from QGraphicsWebView
- https://bugs.webkit.org/show_bug.cgi?id=31742
- Discovered while looking at 31742. When we set a palette on the
- QGraphicsWebView we need to propagate it to the page like QWebView.
- I have added the same tests as QWebView to be sure to catch potential
- regressions as well as two extras QVERIFY to check the palette propagation.
- * Api/qgraphicswebview.cpp:
- (QGraphicsWebView::event):
- * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
- (tst_QGraphicsWebView::setPalette_data):
- (tst_QGraphicsWebView::setPalette):
- 2011-02-25 Csaba Osztrogonác <ossy@webkit.org>
- Unreviewed buildfix after r79672.
- [Qt] Build tst_qdeclarativewebview if QT_CONFIG contains declarative.
- * tests/tests.pri:
- * tests/tests.pro:
- 2011-02-25 Gopal Raghavan <gopal.1.raghavan@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] QML WebView inside a Flickable shows checkers pattern at startup
- https://bugs.webkit.org/show_bug.cgi?id=50222.
- This patch fixes the checkerboard visible at startup even if preferredWidth and preferredHeight are not set.
- * declarative/qdeclarativewebview.cpp:
- (QDeclarativeWebView::init):
- * tests/qdeclarativewebview: Added.
- * tests/qdeclarativewebview/qdeclarativewebview.pro: Added.
- * tests/qdeclarativewebview/resources: Added.
- * tests/qdeclarativewebview/resources/webviewtest.qml: Added.
- * tests/qdeclarativewebview/resources/webviewtestdefault.qml: Added.
- * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Added.
- (tst_QDeclarativeWebView::initTestCase):
- (tst_QDeclarativeWebView::cleanupTestCase):
- (tst_QDeclarativeWebView::init):
- (tst_QDeclarativeWebView::cleanup):
- (tst_QDeclarativeWebView::preferredWidthTest):
- (tst_QDeclarativeWebView::preferredHeightTest):
- (tst_QDeclarativeWebView::preferredWidthDefaultTest):
- (tst_QDeclarativeWebView::preferredHeightDefaultTest):
- (tst_QDeclarativeWebView::checkNoErrors):
- * tests/tests.pri:
- * tests/tests.pro:
- 2011-02-24 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
- Reviewed by Andreas Kling.
- [Qt] Revert the support for QNAM affined to a different thread.
- https://bugs.webkit.org/show_bug.cgi?id=55149
- Qt 4.8 will have QNAM use its own thread internally by default,
- no need to keep this complexity in WebKit.
- This mainly reverts:
- http://trac.webkit.org/changeset/73710
- http://trac.webkit.org/changeset/73712
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::download):
- * tests/qwebpage/tst_qwebpage.cpp:
- 2011-02-24 Sam Weinig <sam@webkit.org>
- Try to fix the Qt build.
- * QtWebKit.pro:
- 2011-02-24 Peter Kasting <pkasting@google.com>
- Reviewed by Eric Seidel.
- Drop the "U; " encryption level from the User Agent string.
- https://bugs.webkit.org/show_bug.cgi?id=54566
- * Api/qwebpage.cpp:
- (QWebPage::userAgentForUrl):
- 2011-02-24 Andrew Wilson <atwilson@chromium.org>
- Unreviewed, rolling out r79570.
- http://trac.webkit.org/changeset/79570
- https://bugs.webkit.org/show_bug.cgi?id=54874
- Breaks chromium build because glue/mocks/mock_web_frame.h/cc
- was not updated
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-02-24 Vsevolod Vlasov <vsevik@chromium.org>
- Reviewed by Alexey Proskuryakov.
- DumpRenderTree should reset frame opener between tests.
- https://bugs.webkit.org/show_bug.cgi?id=54874
- Added clearOpener method to DumpRenderTreeSupportQT.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::clearOpener):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- 2011-02-24 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] tst_QWebView::setPalette(activeFG) fails
- https://bugs.webkit.org/show_bug.cgi?id=55029
- This time it should be the proper fix. The window needs to be shown before we
- call activateWindow() otherwise there is no active windows for the application.
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView::setPalette):
- 2011-02-24 Andras Becsi <abecsi@webkit.org>
- Reviewed by Laszlo Gombos.
- [Qt] MinGW build fails to link
- https://bugs.webkit.org/show_bug.cgi?id=55050
- Prepend the libraries of subcomponents instead of appending them
- to fix the library order according to the dependency of the libraries
- * QtWebKit.pro: prepend libraries in the correct order
- 2011-02-23 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Ariya Hidayat.
- [Qt] tst_QWebView::setPalette(activeFG) fails
- https://bugs.webkit.org/show_bug.cgi?id=55029
- Attempt to make the test more robust. By investigating with the bot virtual machine
- I discovered that the activation can take some time. In this patch we make sure that
- the active window we want to have is the same as the QApplication.
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView::setPalette):
- 2011-02-23 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Dan Bernstein.
- [Qt]REGRESSION(r79167): It broke 3 Qt-API test cases
- http://trac.webkit.org/changeset/79167 refactored the way the bound size of
- the frame is handled. A new API setBoundsSize was added, we need to call it
- in addition to setFrameRect. I could call setBoundSize after setFrameRect but
- I thought It would be more elegant to use the resize method.
- * Api/qwebpage.cpp:
- (QWebPage::setViewportSize):
- 2011-02-22 Fabrizio Machado <fabrizio.machado@nokia.com>
- Reviewed by Laszlo Gombos.
- [Qt] Don't fall through case in variantToSetting() if qvariant.type() is Bool
- https://bugs.webkit.org/show_bug.cgi?id=54976
- Test not needed.
-
- * WebCoreSupport/InspectorClientQt.cpp:
- 2011-02-22 Alexis Menard <alexis.menard@openbossa.org>
- Reviewed by Andreas Kling.
- [Qt] QWebView ignores a palette set with QWebView::setPalette()
- https://bugs.webkit.org/show_bug.cgi?id=31742
- Test case to check that the palette sets on the QWebView is taken
- into account.
- * tests/qwebview/tst_qwebview.cpp:
- (tst_QWebView::setPalette_data):
- (tst_QWebView::setPalette):
- 2011-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
- Reviewed by Alexey Proskuryakov.
- Drop the language tag part from the User Agent string
- https://bugs.webkit.org/show_bug.cgi?id=54560
- * Api/qwebpage.cpp:
- (QWebPage::userAgentForUrl):
- * tests/qwebpage/tst_qwebpage.cpp: Remove the userAgentLocaleChange
- test.
- 2011-02-22 Chang Shu <cshu@webkit.org>
- Reviewed by Csaba Osztrogonác.
- [Qt] editing/deleting/5408255.html fails
- https://bugs.webkit.org/show_bug.cgi?id=54964
- Move WebCore resource file to QtWebKit since they are referred in WebKit.
- * QtWebKit.pro:
- 2011-02-22 Andras Becsi <abecsi@webkit.org>
- Reviewed by Csaba Osztrogonác.
- [Qt] Redesign the build system
- https://bugs.webkit.org/show_bug.cgi?id=51339
- Move inspector's resource files into the final build step to fix the layout test regression.
- * QtWebKit.pro: Add inspector's reaource files.
- 2011-02-22 Andras Becsi <abecsi@webkit.org>
- Reviewed by Laszlo Gombos.
- Rubber-stamped by Csaba Osztrogonác.
- [Qt] Redesign the build system
- https://bugs.webkit.org/show_bug.cgi?id=51339
- The patch landed in r79320 didn't contain the cleanup
- which was already addressed in the last attachment.
- * QtWebKit.pro: Move common LIB and CONFIG options to WebCore.pri.
- 2011-02-22 Andras Becsi <abecsi@webkit.org>
- Reviewed by Laszlo Gombos.
- [Qt] Redesign the build system
- https://bugs.webkit.org/show_bug.cgi?id=51339
- Part 2.
- Build WebCore as a static library, compile the WebKit API and WebKit2 API
- in a final step and link to WebKit2, WebCore and JSC libraries to fix
- linking issues resulting from stripped away symbols.
- * QtWebKit.pro: Added.
- Project file for the final build step.
- 2011-02-17 Ryosuke Niwa <rniwa@webkit.org>
- Reviewed by Kent Tamura.
- Rename Position::node() to Position::deprecatedNode()
- https://bugs.webkit.org/show_bug.cgi?id=54622
- Replaced the call to node() by a call to containerNode() because the returned node is
- used to determine whether or not the selected contents are editable and such a check
- must be done against the container node.
- * WebCoreSupport/EditorClientQt.cpp:
- (WebCore::EditorClientQt::handleKeyboardEvent):
- 2011-02-19 Charlie Reis <creis@chromium.org>
- Reviewed by Mihai Parparita.
- Ensure loading has stopped in HistoryController::goToItem
- https://bugs.webkit.org/show_bug.cgi?id=54517
- Add a FrameLoaderClient callback for whether to stop loading before goToItem.
- Test: http/tests/navigation/forward-to-fragment-fires-onload.html
- * WebCoreSupport/FrameLoaderClientQt.cpp:
- (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem): Added.
- * WebCoreSupport/FrameLoaderClientQt.h:
- 2011-02-18 Fabrizio Machado <fabrizio.machado@nokia.com>
- Reviewed by Eric Seidel.
- Remove reduntant checks.
- https://bugs.webkit.org/show_bug.cgi?id=54764
-
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
- * WebCoreSupport/NotificationPresenterClientQt.cpp:
- (WebCore::NotificationPresenterClientQt::toPage):
- 2011-02-18 Csaba Osztrogonác <ossy@webkit.org>
- Unreviewed.
- [Qt] Buildfix for platforms with geolocation disabled.
- * Api/qwebpage.cpp: Add the missing guard.
- 2011-02-18 Mahesh Kulkarni <mahesh.kulkarni@nokia.com>
- Reviewed by Kenneth Rohde Christiansen.
- [Qt] Implement client based geolocation for qtport
- https://bugs.webkit.org/show_bug.cgi?id=42629
- Implements client based geolocation for qtwebkit.
- New client based geolocation contains permission API's as well,
- so removed the implementation from ChromeClientQt.cpp.
- * Api/qwebpage.cpp:
- (QWebPagePrivate::QWebPagePrivate):
- * WebCoreSupport/ChromeClientQt.cpp:
- * WebCoreSupport/ChromeClientQt.h:
- (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
- (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
- * WebCoreSupport/GeolocationClientQt.cpp: Added.
- (WebCore::GeolocationClientQt::GeolocationClientQt):
- (WebCore::GeolocationClientQt::~GeolocationClientQt):
- (WebCore::GeolocationClientQt::geolocationDestroyed):
- (WebCore::GeolocationClientQt::positionUpdated):
- (WebCore::GeolocationClientQt::startUpdating):
- (WebCore::GeolocationClientQt::stopUpdating):
- (WebCore::GeolocationClientQt::setEnableHighAccuracy):
- (WebCore::GeolocationClientQt::requestPermission):
- (WebCore::GeolocationClientQt::cancelPermissionRequest):
- * WebCoreSupport/GeolocationClientQt.h: Added.
- (WebCore::GeolocationClientQt::lastPosition):
- 2011-02-10 Luiz Agostini <luiz.agostini@openbossa.org>
- Reviewed by Adam Roben.
- HTML5 <details> and <summary>: localized text
- https://bugs.webkit.org/show_bug.cgi?id=54260
- The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
- provide the default label to be used by a <details> tag that has no <summary> child.
- * WebCoreSupport/WebPlatformStrategies.cpp:
- (WebPlatformStrategies::defaultDetailsSummaryText):
- * WebCoreSupport/WebPlatformStrategies.h:
- 2011-02-17 Hui Huang <hui.2.huang@nokia.com>
- Reviewed by Laszlo Gombos.
- The URL of HTML5 Video Element is percent encoded at websites such as youtube.
- It is percent encoded again by QUrl constructor QUrl::QUrl(QString). This causes
- the HTTP GET request for the video to be rejected by the service provider.
- https://bugs.webkit.org/show_bug.cgi?id=53973.
- The bug is fixed by constructing QUrl from the encoded URL in
- MediaPlayerPrivateQt::commitLoad.
- New test function tst_QWebPage::loadHtml5Video() is added to load HTML content with
- HTML5 Video element. A new public method DumpRenderTreeSupportQt::mediaContentUrlByElementId
- is added to retrieve the URL of the media content from WebCore MediaPlayerPrivateQt.
- A new macro ENABLE_QT_MULTIMEDIA is introduced in tests.pri to make sure that the test
- is skipped if Qt Multimedia is not available.
- * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
- (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
- * WebCoreSupport/DumpRenderTreeSupportQt.h:
- * tests/qwebpage/tst_qwebpage.cpp:
- (tst_QWebPage::loadHtml5Video):
- * tests/tests.pri:
- 2011-02-17 Andreas Kling <kling@webkit.org>
- Reviewed by Antti Koivisto.
- [Qt] Crash when calling QWebFrame::setUrl() while a previous load has pending requests
- https://bugs.webkit.org/show_bug.cgi?id=49216
- * tests/qwebframe/tst_qwebframe.cpp:
- == Rolled over to ChangeLog-2011-02-16 ==
|