ChangeLog 186 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032
  1. 2014-02-12 Matthew Hanson <matthew_hanson@apple.com>
  2. Merge r162679.
  3. 2014-01-23 Jon Honeycutt <jhoneycutt@apple.com>
  4. Assertion failure in WebCore::PseudoElement::didRecalcStyle()
  5. <https://bugs.webkit.org/show_bug.cgi?id=126761>
  6. <rdar://problem/15793540>
  7. Some areas of code were erroneously checking the value of
  8. RenderObject::isImage() rather than RenderObject::isRenderImage()
  9. before casting the object to RenderImage.
  10. This could lead to an assertion failure for RenderListMarkers, which
  11. may return true for isImage(), but are not RenderImages.
  12. Reviewed by Andy Estes.
  13. * Misc/WebNSPasteboardExtras.mm:
  14. (-[NSPasteboard _web_declareAndWriteDragImageForElement:URL:title:archive:source:]):
  15. Check isRenderImage() rather than isImage() before casting to
  16. RenderImage.
  17. 2013-10-21 Lucas Forschler <lforschler@apple.com>
  18. Merge r154078
  19. 2013-08-14 Tim Horton <timothy_horton@apple.com>
  20. Remotely hosted plugins don’t work in window-server-hosted WebKit1 views
  21. https://bugs.webkit.org/show_bug.cgi?id=119709
  22. <rdar://problem/14717572>
  23. Reviewed by Anders Carlsson.
  24. * Plugins/Hosted/NetscapePluginHostManager.h:
  25. Add hostLayersInWindowServer argument to instantiatePlugin.
  26. * Plugins/Hosted/NetscapePluginHostManager.mm:
  27. (WebKit::NetscapePluginHostManager::instantiatePlugin):
  28. Add hostLayersInWindowServer argument to instantiatePlugin, and pass it through to WebKitPluginHost.
  29. * Plugins/Hosted/NetscapePluginHostProxy.mm:
  30. (WKPCLayerHostingModeChanged):
  31. Forward the notification that the plugin host changed its layer hosting mode
  32. to the instance proxy.
  33. * Plugins/Hosted/NetscapePluginInstanceProxy.h:
  34. * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
  35. (WebKit::NetscapePluginInstanceProxy::setShouldHostLayersInWindowServer):
  36. Ask the plugin host to re-host its layers when the layer hosting mode changes.
  37. (WebKit::NetscapePluginInstanceProxy::layerHostingModeChanged):
  38. Inform the WebHostedNetscapePluginView of the new layer hosting mode
  39. when it changes. Also, store the new CAContext ID.
  40. * Plugins/Hosted/WebHostedNetscapePluginView.h:
  41. * Plugins/Hosted/WebHostedNetscapePluginView.mm:
  42. (-[WebHostedNetscapePluginView windowHostsLayersInWindowServer]):
  43. Determine whether the WebView's current window uses window-server hosting for its layers.
  44. (-[WebHostedNetscapePluginView createPlugin]):
  45. Drive-by spelling fix.
  46. Factor _pluginLayer initialization out into createPluginLayer.
  47. Instantiate the plugin with the appropriate layer hosting mode.
  48. (-[WebHostedNetscapePluginView createPluginLayer]):
  49. (-[WebHostedNetscapePluginView setHostsLayersInWindowServer:]):
  50. Create a new _pluginLayer if the layer hosting mode changes.
  51. Attach the new _pluginLayer to our parent layer.
  52. (-[WebHostedNetscapePluginView updateAndSetWindow]):
  53. Inform the NetscapePluginInstanceProxy if the layer hosting mode changes,
  54. so it can inform the plugin host. We will asynchronously receive a reply
  55. with the new hosting mode and renderContextID and switch to the new CAContext,
  56. in setHostsLayersInWindowServer:.
  57. * Plugins/Hosted/WebKitPluginClient.defs:
  58. * Plugins/Hosted/WebKitPluginHost.defs:
  59. 2013-10-21 Lucas Forschler <lforschler@apple.com>
  60. Merge r154067
  61. 2013-08-14 Tim Horton <timothy_horton@apple.com>
  62. REGRESSION (r153877): Plugin scanning slows creation of WebViews
  63. https://bugs.webkit.org/show_bug.cgi?id=119665
  64. <rdar://problem/14716549>
  65. Reviewed by Darin Adler.
  66. * Plugins/WebPluginDatabase.h:
  67. * Plugins/WebPluginDatabase.mm:
  68. (+[WebPluginDatabase sharedDatabaseIfExists]): Added.
  69. * WebCoreSupport/WebPlatformStrategies.mm:
  70. (WebPlatformStrategies::refreshPlugins):
  71. Only refresh the plugin database if it's already been loaded.
  72. 2013-10-21 Lucas Forschler <lforschler@apple.com>
  73. Merge r153877
  74. 2013-08-08 Tim Horton <timothy_horton@apple.com>
  75. navigator.plugins has plugins in it when plugins are disabled
  76. https://bugs.webkit.org/show_bug.cgi?id=119607
  77. <rdar://problem/14678030>
  78. Reviewed by Anders Carlsson.
  79. * WebCoreSupport/WebPlatformStrategies.mm:
  80. (WebPlatformStrategies::getPluginInfo):
  81. If plugins are disabled for the given page, give WebCore an empty list of
  82. plugins. If WebKit1 had any application plugins, we'd return just them
  83. instead.
  84. 2013-09-04 Dean Jackson <dino@apple.com>
  85. <rdar://problem/14910916> Disable CSS_SHAPES on safari-537-branch
  86. Reviewed by Beth Dakin.
  87. * Configurations/FeatureDefines.xcconfig:
  88. 2013-08-26 Lucas Forschler <lforschler@apple.com>
  89. Merge r154528
  90. 2013-08-23 Beth Dakin <bdakin@apple.com>
  91. REGRESSION (r132545): Some PDFs generated by WebKit are blank when viewed in
  92. Adobe Reader
  93. https://bugs.webkit.org/show_bug.cgi?id=120240
  94. -and corresponding-
  95. <rdar://problem/14634453>
  96. Reviewed by Anders Carlsson.
  97. Hook up new WebSystemInterface API to find out if the current context is the PDF
  98. context.
  99. * WebCoreSupport/WebSystemInterface.mm:
  100. (InitWebCoreSystemInterface):
  101. 2013-08-16 Lucas Forschler <lforschler@apple.com>
  102. Merge r154114
  103. 2013-08-15 Anders Carlsson <andersca@apple.com>
  104. <https://webkit.org/b/119854> REGRESSION (r153379): Serious drawing issues with WebViews
  105. <rdar://problem/14698870>
  106. Reviewed by Simon Fraser.
  107. Don't set aside subviews if they have already been set aside.
  108. * WebView/WebHTMLView.mm:
  109. (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:]):
  110. 2013-08-07 Lucas Forschler <lforschler@apple.com>
  111. Merge r153775
  112. 2013-08-06 Stephanie Lewis <slewis@apple.com>
  113. Update Order Files for Safari
  114. <rdar://problem/14517392>
  115. Unreviewed.
  116. * WebKit.order:
  117. 2013-07-26 Lucas Forschler <lforschler@apple.com>
  118. Merge r153379
  119. 2013-07-26 Anders Carlsson <andersca@apple.com>
  120. Add another method that we need to set aside subviews for
  121. https://bugs.webkit.org/show_bug.cgi?id=119157
  122. <rdar://problem/14554723>
  123. Reviewed by Beth Dakin.
  124. * WebView/WebHTMLView.mm:
  125. (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inContext:topView:]):
  126. (-[WebHTMLView _recursive:displayRectIgnoringOpacity:inGraphicsContext:CGContext:topView:shouldChangeFontReferenceColor:]):
  127. 2013-07-22 Lucas Forschler <lforschler@apple.com>
  128. Rollout r152701
  129. 2013-07-16 Lucas Forschler <lforschler@apple.com>
  130. Merge r152701
  131. 2013-07-15 Tim Horton <timothy_horton@apple.com>
  132. Update blocked/missing plug-in UI
  133. https://bugs.webkit.org/show_bug.cgi?id=118347
  134. <rdar://problem/14209318>
  135. Reviewed by Sam Weinig.
  136. Patch by Antoine Quint, Anders Carlsson, Sam Weinig, and myself.
  137. * WebCoreSupport/WebChromeClient.h:
  138. * WebCoreSupport/WebChromeClient.mm:
  139. (WebChromeClient::shouldUnavailablePluginMessageIncludeButton):
  140. Rename from shouldUnavailablePluginMessageBeButton to
  141. shouldUnavailablePluginMessageIncludeButton for accuracy.
  142. 2013-07-15 Lucas Forschler <lforschler@apple.com>
  143. Merge r152642
  144. 2013-07-14 Jon Lee <jonlee@apple.com>
  145. [WK2] Calling Notification.requestPermission() without a callback crashes
  146. https://bugs.webkit.org/show_bug.cgi?id=118654
  147. <rdar://problem/14293352>
  148. Reviewed by Alexey Proskuryakov.
  149. * WebCoreSupport/WebNotificationClient.mm:
  150. (-[WebNotificationPolicyListener initWithCallback:]): The callback can be NULL, so remove the ASSERT.
  151. (-[WebNotificationPolicyListener allow]): Check for the callback before asking it to handle the event.
  152. (-[WebNotificationPolicyListener deny]): Ditto.
  153. 2013-07-15 Lucas Forschler <lforschler@apple.com>
  154. Merge r152520
  155. 2013-07-09 Jeremy Noble <jer.noble@apple.com>
  156. Reviewed by Simon Fraser.
  157. Remember the scroll position and restore after exiting full-screen mode.
  158. https://bugs.webkit.org/show_bug.cgi?id=61956
  159. <rdar://problem/9544461>
  160. Call into the main FrameView to save the scroll position before swapping the
  161. WebView into the full-screen window, and restore the scroll position after
  162. swapping the WebView back into the browser window.
  163. * WebView/WebFullScreenController.h:
  164. * WebView/WebFullScreenController.mm:
  165. (-[WebFullScreenController windowDidEnterFullscreen:]): Save the scroll position.
  166. (-[WebFullScreenController exitFullscreen]): Restore the scroll position.
  167. 2013-07-12 Lucas Forschler <lforschler@apple.com>
  168. Merge r152571
  169. 2013-07-11 Timothy Hatcher <timothy@apple.com>
  170. Revert r152267 and soft link WebInspectorUI.framework again.
  171. https://bugs.webkit.org/show_bug.cgi?id=118544
  172. Reviewed by David Kilzer.
  173. * Configurations/WebKit.xcconfig:
  174. * WebCoreSupport/WebInspectorClient.mm:
  175. (useWebKitWebInspector):
  176. 2013-07-09 Lucas Forschler <lforschler@apple.com>
  177. Merge r152348
  178. 2013-07-03 Zalan Bujtas <zalan@apple.com>
  179. H&R Block 2010 Help window can not be reopened.
  180. https://bugs.webkit.org/show_bug.cgi?id=118342
  181. Reviewed by Antti Koivisto.
  182. http://trac.webkit.org/changeset/118916 changed the window.focus() behaviour so that
  183. only the opener can (re)focus() a particular window.
  184. H&R Block app relies on the relaxed window.focus() rules.
  185. * WebView/WebView.mm:
  186. (shouldRestrictWindowFocus):
  187. (-[WebView _preferencesChanged:]):
  188. 2013-07-08 Lucas Forschler <lforschler@apple.com>
  189. Merge r152267
  190. 2013-07-01 Timothy Hatcher <timothy@apple.com>
  191. Link to WebInspectorUI.framework at build time instead of soft linking.
  192. https://bugs.webkit.org/show_bug.cgi?id=118261
  193. Reviewed by Joseph Pecoraro.
  194. * Configurations/WebKit.xcconfig:
  195. * WebCoreSupport/WebInspectorClient.mm:
  196. (useWebKitWebInspector):
  197. 2013-07-01 Lucas Forschler <lforschler@apple.com>
  198. Merge r152234
  199. 2013-06-27 Jer Noble <jer.noble@apple.com>
  200. Audio in apps which embed WebViews is corrupted.
  201. https://bugs.webkit.org/show_bug.cgi?id=118163
  202. Reviewed by Maciej Stachowiak.
  203. Expose the WebCore lowPowerVideoAudioBufferSizeEnabled setting to WebKit clients.
  204. * WebView/WebPreferenceKeysPrivate.h:
  205. * WebView/WebPreferences.mm:
  206. (+[WebPreferences initialize]):
  207. (-[WebPreferences lowPowerVideoAudioBufferSizeEnabled]):
  208. (-[WebPreferences setLowPowerVideoAudioBufferSizeEnabled:]):
  209. * WebView/WebPreferencesPrivate.h:
  210. * WebView/WebView.mm:
  211. (-[WebView _preferencesChanged:]):
  212. 2013-06-26 Lucas Forschler <lforschler@apple.com>
  213. Merge r151832
  214. 2013-06-21 Christophe Dumez <ch.dumez@sisa.samsung.com>
  215. REGRESSION (r150663): Using webkitAudioContext in Inspector makes it undefined everywhere
  216. https://bugs.webkit.org/show_bug.cgi?id=117825
  217. Reviewed by Kentaro Hara.
  218. Use Settings to enable Web Audio instead of RuntimeEnabledFeatures.
  219. * WebView/WebView.mm:
  220. (-[WebView _preferencesChanged:]):
  221. 2013-06-26 Lucas Forschler <lforschler@apple.com>
  222. Merge r151804
  223. 2013-06-20 Simon Fraser <simon.fraser@apple.com>
  224. FrameView needs to initialize paintsEntireContents on creation
  225. https://bugs.webkit.org/show_bug.cgi?id=117844
  226. Reviewed by Anders Carlsson.
  227. In WebKit1, if the WebView is layer-backed, WebHTMLView gets a layer.
  228. In this mode, FrameView::paintsEntireContents() is true. However,
  229. we would only call setPaintsEntireContents(true) on the FrameView
  230. when the view's layer-backed status changes. FrameView also needs
  231. to fetch this state when it is initialized, because we may be creating
  232. a new FrameView for an already layer-backed WebHTMLView.
  233. * WebCoreSupport/WebChromeClient.h:
  234. * WebCoreSupport/WebChromeClient.mm:
  235. (WebChromeClient::shouldPaintEntireContents):
  236. 2013-06-18 Roger Fong <roger_fong@apple.com>
  237. Disable some feature flags.
  238. <rdar://problem/14171207>.
  239. Rubberstamped by Jon Lee.
  240. * Configurations/FeatureDefines.xcconfig:
  241. 2013-06-18 Roger Fong <roger_fong@apple.com>
  242. Unreviewed. Build fix for Mac.
  243. * WebCoreSupport/WebFrameNetworkingContext.h:
  244. (WebFrameNetworkingContext::create):
  245. (WebFrameNetworkingContext::WebFrameNetworkingContext):
  246. 2013-06-18 Roger Fong <roger_fong@apple.com>
  247. Re-implement WebFrameNetworkingContext.
  248. <rdar://problem/13174821>.
  249. Reviewed by Alexey Proskuryakov.
  250. * WebCoreSupport/WebFrameNetworkingContext.h: Added.
  251. (WebFrameNetworkingContext::create):
  252. (WebFrameNetworkingContext::WebFrameNetworkingContext):
  253. (WebFrameNetworkingContext::userAgent):
  254. * WebCoreSupport/WebFrameNetworkingContext.mm: Added.
  255. (WebFrameNetworkingContext::ensurePrivateBrowsingSession):
  256. (WebFrameNetworkingContext::destroyPrivateBrowsingSession):
  257. (WebFrameNetworkingContext::needsSiteSpecificQuirks):
  258. (WebFrameNetworkingContext::localFileContentSniffingEnabled):
  259. (WebFrameNetworkingContext::scheduledRunLoopPairs):
  260. (WebFrameNetworkingContext::sourceApplicationAuditData):
  261. (WebFrameNetworkingContext::blockedError):
  262. (WebFrameNetworkingContext::storageSession):
  263. 2013-06-18 Alexey Proskuryakov <ap@apple.com>
  264. <rdar://problem/13174821> Remove files with an incorrect license.
  265. Rubber-stamped by Maciej Stachowiak.
  266. This will break the build, stay tuned for a fix coming soon.
  267. * WebCoreSupport/WebFrameNetworkingContext.h: Removed.
  268. * WebCoreSupport/WebFrameNetworkingContext.mm: Removed.
  269. 2013-06-17 Michael Brüning <michael.bruning@digia.com>
  270. [Qt] Remove Qt specific QTKIT flagged code.
  271. https://bugs.webkit.org/show_bug.cgi?id=117635
  272. Reviewed by Simon Hausmann.
  273. Due to disabling QTKIT for Qt in r151546, the
  274. code the flags that are not taken into account
  275. anymore and the code that has been rendered
  276. unreachable by this are removed.
  277. * WebView/WebView.mm:
  278. (-[WebView _preferencesChanged:]):
  279. 2013-06-17 Grzegorz Czajkowski <g.czajkowski@samsung.com>
  280. Unreviewed, rolling out r151632.
  281. http://trac.webkit.org/changeset/151632
  282. https://bugs.webkit.org/show_bug.cgi?id=117585
  283. Debug build error ASSERT(WTF_USE_GRAMMAR_CHECKING) for non MAC
  284. platforms
  285. * WebCoreSupport/WebContextMenuClient.mm:
  286. (fixMenusReceivedFromOldClients):
  287. 2013-06-14 Grzegorz Czajkowski <g.czajkowski@samsung.com>
  288. Context menu grammar checking items are available when GRAMMAR_CHECKING macro is off
  289. https://bugs.webkit.org/show_bug.cgi?id=117585
  290. Reviewed by Anders Carlsson.
  291. Add GRAMMAR_CHECKING guard to the context menu grammar items.
  292. * WebCoreSupport/WebContextMenuClient.mm:
  293. (fixMenusReceivedFromOldClients):
  294. 2013-06-13 Jer Noble <jer.noble@apple.com>
  295. Add support for AVFoundation-backed HTMLMediaElements in the WebVideoFullScreenController.
  296. https://bugs.webkit.org/show_bug.cgi?id=117597
  297. Reviewed by Eric Carlson.
  298. Allow AVFoundation to be enabled even when the FullScreen API is disabled.
  299. * WebView/WebView.mm:
  300. (-[WebView _preferencesChanged:]):
  301. 2013-06-12 Anders Carlsson <andersca@apple.com>
  302. Remove the notion of inactive plug-ins
  303. https://bugs.webkit.org/show_bug.cgi?id=117570
  304. <rdar://problem/13484213>
  305. Reviewed by Tim Horton.
  306. Remove code that deals with inactive plug-ins.
  307. * WebCoreSupport/WebChromeClient.mm:
  308. (WebChromeClient::shouldUnavailablePluginMessageBeButton):
  309. (WebChromeClient::unavailablePluginButtonClicked):
  310. * WebCoreSupport/WebFrameLoaderClient.mm:
  311. (WebFrameLoaderClient::createPlugin):
  312. 2013-06-12 Zan Dobersek <zdobersek@igalia.com>
  313. Remove memoryInfoEnabled, quantizedMemoryInfoEnabled settings
  314. https://bugs.webkit.org/show_bug.cgi?id=117512
  315. Reviewed by Darin Adler.
  316. * WebKit.order: Remove the memoryInfoEnabled entry.
  317. * WebView/WebPreferenceKeysPrivate.h: Remove WebKitMemoryInfoEnabledPreferenceKey.
  318. * WebView/WebPreferences.mm: Remove memoryInfoEnabled, setMemoryInfoEnabled methods.
  319. (+[WebPreferences initialize]): Don't set the default value for the WebKitMemoryInfoEnabledPreferenceKey, the preference is being removed.
  320. * WebView/WebPreferencesPrivate.h: Remove memoryInfoEnabled, setMemoryInfoEnabled method declarations.
  321. * WebView/WebView.mm:
  322. (-[WebView _preferencesChanged:]): Remove the call to Settings::setMemoryInfoEnabled, the setting is being removed.
  323. 2013-06-06 Timothy Hatcher <timothy@apple.com>
  324. Update the framework bundle identifier for the Web Inspector.
  325. Reviewed by Mark Rowe.
  326. * WebCoreSupport/WebInspectorClient.mm:
  327. (useWebKitWebInspector):
  328. (WebInspectorFrontendClient::localizedStringsURL):
  329. (-[WebInspectorWindowController inspectorPagePath]):
  330. 2013-06-05 Bear Travis <betravis@adobe.com>
  331. [CSS Exclusions][CSS Shapes] Split CSS Exclusions & Shapes compile & runtime flags
  332. https://bugs.webkit.org/show_bug.cgi?id=117172
  333. Reviewed by Alexandru Chiculita.
  334. Adding the CSS_SHAPES compile flag.
  335. * Configurations/FeatureDefines.xcconfig:
  336. 2013-06-01 Andreas Kling <akling@apple.com>
  337. Remove unnused WebDOMNodeOperationsInternal category.
  338. <http://webkit.org/b/117105>
  339. Reviewed by Ryosuke Niwa.
  340. _subresourceURLs had no clients.
  341. * DOM/WebDOMOperations.mm:
  342. 2013-06-01 Andreas Kling <akling@apple.com>
  343. Move Node::hasID() and hasClass() to Element.
  344. <http://webkit.org/b/117104>
  345. Reviewed by Ryosuke Niwa.
  346. * WebView/WebRenderLayer.mm:
  347. (+[WebRenderLayer nameForLayer:]):
  348. 2013-05-31 Stephanie Lewis <slewis@apple.com>
  349. Update low memory handler to use new memory pressure notifications on new OS versions.
  350. <rdar://problem/14027095>
  351. Reviewed by Mark Rowe.
  352. * WebCoreSupport/WebSystemInterface.mm:
  353. (InitWebCoreSystemInterface):
  354. 2013-05-29 Jeffrey Pfau <jpfau@apple.com>
  355. [Mac] Enable cache partitioning and the public suffix list on 10.8
  356. <rdar://problem/13679019>
  357. Rubber-stamped by David Kilzer.
  358. * Configurations/FeatureDefines.xcconfig:
  359. 2013-05-29 Joseph Pecoraro <pecoraro@apple.com>
  360. Web Inspector: get rid of obsolete InspectorFrontendHost.hiddenPanels()
  361. https://bugs.webkit.org/show_bug.cgi?id=60152
  362. Reviewed by Andreas Kling.
  363. * WebCoreSupport/WebInspectorClient.mm:
  364. 2013-05-28 Joseph Pecoraro <pecoraro@apple.com>
  365. Drag to move DOM nodes does not work
  366. https://bugs.webkit.org/show_bug.cgi?id=116865
  367. Do not block drag events on the WebKit 1 Web Inspector WebView.
  368. Reviewed by Timothy Hatcher.
  369. * WebCoreSupport/WebInspectorClient.mm:
  370. 2013-05-28 Andreas Kling <akling@apple.com>
  371. Document::setFocusedNode() should be setFocusedElement().
  372. <http://webkit.org/b/116857>
  373. Reviewed by Antti Koivisto.
  374. * WebView/WebHTMLView.mm:
  375. (-[WebHTMLView clearFocus]):
  376. (-[WebHTMLView becomeFirstResponder]):
  377. 2013-05-25 Andreas Kling <akling@apple.com>
  378. Remove Document::getFocusableNodes().
  379. <http://webkit.org/b/116773>
  380. Reviewed by Joseph Pecoraro.
  381. Remove the private _focusableNodes API on DOMDocument, it has no clients.
  382. * DOM/WebDOMOperations.mm:
  383. * DOM/WebDOMOperationsPrivate.h:
  384. 2013-05-25 Simon Fraser <simon.fraser@apple.com>
  385. Unprefix Page Visibility API
  386. https://bugs.webkit.org/show_bug.cgi?id=102340
  387. Reviewed by Tim Horton.
  388. Renaming of the "preview" state to "unloaded".
  389. * WebView/WebView.mm:
  390. * WebView/WebViewPrivate.h:
  391. 2013-05-25 Dan Bernstein <mitz@apple.com>
  392. <rdar://problem/13924889> -webView:didPerformClientRedirectFromURL:toURL:inFrame: should be given the redirecting URL as the “from” URL
  393. https://bugs.webkit.org/show_bug.cgi?id=116733
  394. Reviewed by Adele Peterson.
  395. By the time the history controller calls updateGlobalHistoryRedirectLinks(), the document
  396. loader already reflects the destination URL. In order to be able to provide the immediate
  397. source URL to the delegate, we make WebFrame track a URL and provisional URL, updating them
  398. in response to FrameLoader callbacks in exactly the same way WebFrameProxy maintains its
  399. m_url and m_provisionalURL member variables.
  400. * WebCoreSupport/WebFrameLoaderClient.mm:
  401. (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad): Update
  402. provisionalURL.
  403. (WebFrameLoaderClient::dispatchDidChangeLocationWithinPage): Update url.
  404. (WebFrameLoaderClient::dispatchDidPushStateWithinPage): Ditto.
  405. (WebFrameLoaderClient::dispatchDidReplaceStateWithinPage): Ditto.
  406. (WebFrameLoaderClient::dispatchDidPopStateWithinPage): Ditto.
  407. (WebFrameLoaderClient::dispatchDidStartProvisionalLoad): Update provisionalURL.
  408. (WebFrameLoaderClient::dispatchDidCommitLoad): Update URL and provisionalURL.
  409. (WebFrameLoaderClient::dispatchDidFailProvisionalLoad): Clear provisionalURL.
  410. (WebFrameLoaderClient::dispatchDidFailLoad): Added an assertion.
  411. (WebFrameLoaderClient::dispatchDidFinishLoad): Ditto.
  412. (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks): Pass the last committed URL as the
  413. source, rather than clientRedirectSourceForHistory().
  414. * WebView/WebFrameInternal.h: Added url and provisionalURL ivars to WebFramePrivate.
  415. 2013-05-24 Anders Carlsson <andersca@apple.com>
  416. Remove using namespace std from Mac WebKit1
  417. https://bugs.webkit.org/show_bug.cgi?id=116747
  418. Reviewed by Sam Weinig.
  419. Use explicit std:: qualifiers instead.
  420. * History/BinaryPropertyList.cpp:
  421. (IntegerArray::deletedValueSize):
  422. (BinaryPropertyListPlan::invalidObjectReference):
  423. (bytesNeeded):
  424. * History/WebHistory.mm:
  425. (-[WebHistoryPrivate orderedLastVisitedDays]):
  426. (WebHistoryWriter::WebHistoryWriter):
  427. * History/WebHistoryItem.mm:
  428. (-[WebHistoryItem initFromDictionaryRepresentation:]):
  429. * Plugins/Hosted/NetscapePluginHostManager.mm:
  430. (WebKit::NetscapePluginHostManager::instantiatePlugin):
  431. * Plugins/Hosted/NetscapePluginHostProxy.mm:
  432. * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
  433. (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
  434. (WebKit::NetscapePluginInstanceProxy::wheelEvent):
  435. (WebKit::NetscapePluginInstanceProxy::print):
  436. (WebKit::NetscapePluginInstanceProxy::snapshot):
  437. (WebKit::NetscapePluginInstanceProxy::loadURL):
  438. (WebKit::NetscapePluginInstanceProxy::createBindingsInstance):
  439. * Plugins/Hosted/ProxyInstance.mm:
  440. (WebKit::ProxyInstance::invoke):
  441. (WebKit::ProxyInstance::supportsInvokeDefaultMethod):
  442. (WebKit::ProxyInstance::supportsConstruct):
  443. (WebKit::ProxyInstance::getPropertyNames):
  444. (WebKit::ProxyInstance::methodNamed):
  445. (WebKit::ProxyInstance::fieldNamed):
  446. (WebKit::ProxyInstance::fieldValue):
  447. (WebKit::ProxyInstance::setFieldValue):
  448. * Plugins/WebBasePluginPackage.mm:
  449. (-[WebBasePluginPackage supportsExtension:]):
  450. (-[WebBasePluginPackage MIMETypeForExtension:]):
  451. * Plugins/WebNetscapePluginStream.mm:
  452. (WebNetscapePluginStream::deliverData):
  453. * Plugins/WebNetscapePluginView.mm:
  454. (PluginTimer::start):
  455. (-[WebNetscapePluginView _postURL:target:len:buf:file:notifyData:sendNotification:allowHeaders:]):
  456. * WebCoreSupport/WebFrameLoaderClient.mm:
  457. * WebView/WebFrame.mm:
  458. * WebView/WebHTMLView.mm:
  459. (-[WebHTMLView _adjustedBottomOfPageWithTop:bottom:limit:]):
  460. * WebView/WebTextCompletionController.mm:
  461. (-[WebTextCompletionController _placePopupWindow:]):
  462. 2013-05-24 Anders Carlsson <andersca@apple.com>
  463. Move history property list writer to WebKit
  464. https://bugs.webkit.org/show_bug.cgi?id=116746
  465. Reviewed by Tim Horton.
  466. Move WebCore history files to WebKit since they're only used by WebKit now.
  467. * History/BinaryPropertyList.cpp: Renamed from Source/WebCore/platform/cf/BinaryPropertyList.cpp.
  468. * History/BinaryPropertyList.h: Renamed from Source/WebCore/platform/cf/BinaryPropertyList.h.
  469. * History/HistoryPropertyList.cpp: Renamed from Source/WebCore/history/cf/HistoryPropertyList.cpp.
  470. * History/HistoryPropertyList.h: Renamed from Source/WebCore/history/cf/HistoryPropertyList.h.
  471. * History/WebHistory.mm:
  472. 2013-05-24 Christophe Dumez <ch.dumez@sisa.samsung.com>
  473. Remove custom code for webkitAudioContext global constructor getter
  474. https://bugs.webkit.org/show_bug.cgi?id=116530
  475. Reviewed by Geoffrey Garen.
  476. Use RuntimeEnabledFeatures instead of Settings to toggle Web Audio support.
  477. * WebView/WebView.mm:
  478. (-[WebView _preferencesChanged:]):
  479. 2013-05-23 Anders Carlsson <andersca@apple.com>
  480. Crash in convertMainResourceLoadToDownload when downloading file by option-return
  481. https://bugs.webkit.org/show_bug.cgi?id=116451
  482. Reviewed by Andreas Kling.
  483. If the main resource loader is null, create a new download instead since there's no existing loader to convert.
  484. * WebCoreSupport/WebFrameLoaderClient.mm:
  485. (WebFrameLoaderClient::convertMainResourceLoadToDownload):
  486. 2013-05-22 Simon Fraser <simon.fraser@apple.com>
  487. Fix issues with focus rings on search fields
  488. https://bugs.webkit.org/show_bug.cgi?id=116591
  489. Reviewed by Darin Adler.
  490. In WebKit1, focus rings didn't render correctly on some OSes until
  491. some other control drew a focus ring, which changes internal AppKit state
  492. on the focused view. Fix by overriding an internal AppKit method to always
  493. disable AppKit's "automatic" focus ring drawing.
  494. * WebView/WebHTMLView.mm:
  495. (-[WebHTMLView _automaticFocusRingDisabled]):
  496. 2013-05-20 David Kilzer <ddkilzer@apple.com>
  497. Synchronize FeatureDefines.xcconfig
  498. * Configurations/FeatureDefines.xcconfig: Add a newline to the
  499. end of the file.
  500. 2013-05-19 Anders Carlsson <andersca@apple.com>
  501. Remove link prerendering code
  502. https://bugs.webkit.org/show_bug.cgi?id=116415
  503. Reviewed by Darin Adler.
  504. This code was only used by Chromium and is dead now.
  505. * Configurations/FeatureDefines.xcconfig:
  506. 2013-05-19 Anders Carlsson <andersca@apple.com>
  507. Remove ChromeClient::webView()
  508. https://bugs.webkit.org/show_bug.cgi?id=116054
  509. Reviewed by Darin Adler.
  510. This blatantly horrible layer violation was only used to know if a ChromeClient is an empty
  511. client or not. We already have a (slightly less horrible) way to do that.
  512. * WebCoreSupport/WebChromeClient.h:
  513. (WebChromeClient):
  514. 2013-05-17 Anders Carlsson <andersca@apple.com>
  515. Accessing null function pointers is bad.
  516. * WebCoreSupport/WebFrameLoaderClient.mm:
  517. 2013-05-17 Anders Carlsson <andersca@apple.com>
  518. Make kit(Frame*) more robust
  519. https://bugs.webkit.org/show_bug.cgi?id=116324
  520. Reviewed by Darin Adler.
  521. Check that the frame loader's client isn't the EmptyFrameLoaderClient (or a subclass thereof)
  522. before casting to WebFrameLoaderClient.
  523. * WebView/WebFrame.mm:
  524. (kit):
  525. 2013-05-17 Anders Carlsson <andersca@apple.com>
  526. Move the policy function to WebFramePolicyListener
  527. https://bugs.webkit.org/show_bug.cgi?id=116323
  528. Reviewed by Darin Adler.
  529. There's no need for the WebFrameLoaaderClient to hold on to the policy function,
  530. so move it to WebFramePolicyListener. This gets rid of another WebFrameLoaderClient cast.
  531. * WebCoreSupport/WebFrameLoaderClient.mm:
  532. (WebFrameLoaderClient::setUpPolicyListener):
  533. Pass the policy function when creating the WebFramePolicyListener object.
  534. 2013-05-17 Anders Carlsson <andersca@apple.com>
  535. WebFramePolicyListener should keep its Frame in a RefPtr
  536. https://bugs.webkit.org/show_bug.cgi?id=116322
  537. Reviewed by Darin Adler.
  538. * WebCoreSupport/WebFrameLoaderClient.mm:
  539. (-[WebFramePolicyListener initWithWebCoreFrame:]):
  540. No need to ref the frame, the RefPtr does that for us.
  541. (-[WebFramePolicyListener invalidate]):
  542. Just set the frame to null.
  543. (-[WebFramePolicyListener dealloc]):
  544. Remove call to deref, that's done automatically now.
  545. (-[WebFramePolicyListener finalize]):
  546. Remove this method. (We could have kept it just for the assertion but I didn't think that was necessary).
  547. (-[WebFramePolicyListener receivedPolicyDecision:):
  548. Use release() to transfer ownership.
  549. 2013-05-17 Anders Carlsson <andersca@apple.com>
  550. Reduce number of WebFrameLoaderClient static casts in WebKit
  551. https://bugs.webkit.org/show_bug.cgi?id=116320
  552. Reviewed by Antti Koivisto.
  553. We already have a function to return a WebFrame from a WebCore::Frame, use it.
  554. * DOM/WebDOMOperations.mm:
  555. (WebFrameFilter::shouldIncludeSubframe):
  556. * WebView/WebDataSource.mm:
  557. (-[WebDataSource webFrame]):
  558. 2013-05-16 Commit Queue <commit-queue@webkit.org>
  559. Unreviewed, rolling out r150034.
  560. http://trac.webkit.org/changeset/150034
  561. https://bugs.webkit.org/show_bug.cgi?id=116257
  562. This work around doesn't work due to another bug NSUndoManager
  563. has (Requested by rniwa on #webkit).
  564. * WebCoreSupport/WebEditorClient.mm:
  565. (WebEditorClient::registerUndoOrRedoStep):
  566. 2013-05-16 Tim Horton <timothy_horton@apple.com>
  567. PDFPlugins don't load when plugins are disabled, but they should
  568. https://bugs.webkit.org/show_bug.cgi?id=75790
  569. <rdar://problem/11650197>
  570. Reviewed by Anders Carlsson.
  571. * Plugins/WebBasePluginPackage.mm:
  572. (-[WebBasePluginPackage getPluginInfoFromPLists]):
  573. * Plugins/WebNetscapePluginPackage.mm:
  574. (-[WebNetscapePluginPackage getPluginInfoFromResources]):
  575. Nothing loaded via WebBasePluginPackage or WebNetscapePluginPackage
  576. is an application plugin.
  577. * WebView/WebFrame.mm:
  578. (-[WebFrame _canProvideDocumentSource]):
  579. Previously, this caller depended on pluginData() returning null if
  580. plug-ins were disabled. Since that is no longer the case, we have to
  581. check if we can use plug-ins, and otherwise ignore non-application-plug-ins.
  582. 2013-05-16 Andreas Kling <akling@apple.com>
  583. Page::chrome() should return a reference.
  584. <http://webkit.org/b/116185>
  585. Reviewed by Anders Carlsson.
  586. 2013-05-16 Dan Bernstein <mitz@apple.com>
  587. -webView:updateHistoryTitle:forURL: does not pass a frame to the delegate
  588. https://bugs.webkit.org/show_bug.cgi?id=116243
  589. Reviewed by Anders Carlsson.
  590. Added a WebFrame parameter to the delegate method.
  591. * WebCoreSupport/WebFrameLoaderClient.mm:
  592. (WebFrameLoaderClient::setTitle): Pass the frame to the delegate. Maintain
  593. compatibility with clients that implement the old delegate method that
  594. doesn’t take a frame.
  595. * WebView/WebDelegateImplementationCaching.h:
  596. (WebHistoryDelegateImplementationCache): Added a field to cache the
  597. implementation of the old delegate method.
  598. * WebView/WebHistoryDelegate.h: Changed the signature of the delegate method.
  599. * WebView/WebView.mm:
  600. (-[WebView _cacheHistoryDelegateImplementations]): Cache the implementation
  601. of the new delegate method, but also check for the old one.
  602. 2013-05-16 Simon Fraser <simon.fraser@apple.com>
  603. Re-land r150168 with some OS version guards.
  604. * WebView/WebFrameView.mm:
  605. (-[WebFrameView drawRect:]):
  606. (-[WebFrameView wantsUpdateLayer]):
  607. (-[WebFrameView updateLayer]):
  608. 2013-05-16 Commit Queue <commit-queue@webkit.org>
  609. Unreviewed, rolling out r150168.
  610. http://trac.webkit.org/changeset/150168
  611. https://bugs.webkit.org/show_bug.cgi?id=116214
  612. broke the world on Mountain Lion (Requested by thorton on
  613. #webkit).
  614. * WebView/WebFrameView.mm:
  615. (-[WebFrameView drawRect:]):
  616. 2013-05-15 Simon Fraser <simon.fraser@apple.com>
  617. Avoid backing store for the WebFrameView's layer when the WebView is layer-backed
  618. https://bugs.webkit.org/show_bug.cgi?id=116172
  619. Reviewed by Tim Horton.
  620. When the WebView is layer-backed, AppKit will create a layer with backing store for
  621. the WebFrameView because it implements drawRect:. However, this method only paints
  622. when there is no documentView, so this layer’s backing store is wasteful.
  623. We can avoid allocation of this backing store by implementing -wantsUpdateLayer
  624. and -updateLayer, and setting the view’s backgroundColor.
  625. * WebView/WebFrameView.mm:
  626. (-[WebFrameView wantsUpdateLayer]):
  627. (-[WebFrameView updateLayer]):
  628. 2013-05-13 Anders Carlsson <andersca@apple.com>
  629. Frame::editor() should return a reference
  630. https://bugs.webkit.org/show_bug.cgi?id=116037
  631. Reviewed by Darin Adler.
  632. * WebView/WebFrame.mm:
  633. (-[WebFrame _selectedString]):
  634. (-[WebFrame _firstRectForDOMRange:]):
  635. (-[WebFrame _markDOMRange]):
  636. (-[WebFrame _insertParagraphSeparatorInQuotedContent]):
  637. (-[WebFrame _setTypingStyle:withUndoAction:]):
  638. (-[WebFrame _replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
  639. * WebView/WebHTMLRepresentation.mm:
  640. (-[WebHTMLRepresentation finishedLoadingWithDataSource:]):
  641. * WebView/WebHTMLView.mm:
  642. (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]):
  643. (-[WebHTMLView _shouldDeleteRange:]):
  644. (-[WebHTMLView _canEdit]):
  645. (-[WebHTMLView _canEditRichly]):
  646. (-[WebHTMLView _insertOrderedList]):
  647. (-[WebHTMLView _insertUnorderedList]):
  648. (-[WebHTMLView _canIncreaseSelectionListLevel]):
  649. (-[WebHTMLView _canDecreaseSelectionListLevel]):
  650. (-[WebHTMLView _increaseSelectionListLevel]):
  651. (-[WebHTMLView _increaseSelectionListLevelOrdered]):
  652. (-[WebHTMLView _increaseSelectionListLevelUnordered]):
  653. (-[WebHTMLView _decreaseSelectionListLevel]):
  654. (-[WebHTMLView Editor::coreCommandBySelector:]):
  655. (-[WebHTMLView Editor::coreCommandByName:]):
  656. (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
  657. (-[WebHTMLView becomeFirstResponder]):
  658. (-[WebHTMLView _selectionStartFontAttributesAsRTF]):
  659. (-[WebHTMLView _applyStyleToSelection:withUndoAction:]):
  660. (-[WebHTMLView _changeCSSColorUsingSelector:inRange:]):
  661. (-[WebHTMLView checkSpelling:]):
  662. (-[WebHTMLView showGuessPanel:]):
  663. (-[WebHTMLView toggleBaseWritingDirection:]):
  664. (-[WebHTMLView changeBaseWritingDirection:]):
  665. (-[WebHTMLView _changeBaseWritingDirectionTo:]):
  666. (-[WebHTMLView _updateFontPanel]):
  667. (-[WebHTMLView markedRange]):
  668. (-[WebHTMLView hasMarkedText]):
  669. (-[WebHTMLView unmarkText]):
  670. (-[WebHTMLView setMarkedText:selectedRange:]):
  671. (-[WebHTMLView doCommandBySelector:]):
  672. (-[WebHTMLView insertText:]):
  673. (-[WebHTMLView _updateSelectionForInputManager]):
  674. (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
  675. (-[WebHTMLView setMarkedTextMatchesAreHighlighted:]):
  676. (-[WebHTMLView markedTextMatchesAreHighlighted]):
  677. (-[WebHTMLView _findString:options:]):
  678. * WebView/WebView.mm:
  679. (-[WebView _executeCoreCommandByName:value:]):
  680. (-[WebView editableDOMRangeForPoint:]):
  681. (-[WebView setEditable:]):
  682. (-[WebView deleteSelection]):
  683. (-[WebView applyStyle:]):
  684. (-[WebView typingAttributes]):
  685. (-[WebView _simplifyMarkup:endNode:]):
  686. (-[WebView handleAcceptedAlternativeText:]):
  687. 2013-05-15 Darin Adler <darin@apple.com>
  688. [Mac] Remove the ClipboardMac class and header file
  689. https://bugs.webkit.org/show_bug.cgi?id=116165
  690. Reviewed by Anders Carlsson.
  691. * WebCoreSupport/WebDragClient.mm: Import Clipboard.h instead of ClipboardMac.h.
  692. 2013-05-15 Darin Adler <darin@apple.com>
  693. [Mac] Thin out the ClipboardMac class and header file to prepare for deleting them
  694. https://bugs.webkit.org/show_bug.cgi?id=116159
  695. Reviewed by Andreas Kling.
  696. * WebCoreSupport/WebDragClient.mm:
  697. (WebDragClient::willPerformDragSourceAction): Changed to get the pasteboard name
  698. without going through the ClipboardMac class.
  699. (WebDragClient::startDrag): Ditto.
  700. 2013-05-14 Beth Dakin <bdakin@apple.com>
  701. Printing in 1Password app is broken with screen fonts disabled
  702. https://bugs.webkit.org/show_bug.cgi?id=116133
  703. -and corresponding-
  704. <rdar://problem/13162981>
  705. Reviewed by Anders Carlsson.
  706. Return YES from [WebPreferences screenFontSubstitutionEnabled] for versions of the
  707. 1Password app that were linked on or before MountainLion.
  708. * WebView/WebPreferences.mm:
  709. (needsScreenFontsEnabledQuirk):
  710. (-[WebPreferences screenFontSubstitutionEnabled]):
  711. 2013-05-13 Dan Bernstein <mitz@apple.com>
  712. Make -[WebNavigationData url] the destination of the navigation
  713. https://bugs.webkit.org/show_bug.cgi?id=114904
  714. Reviewed by Dave Kilzer.
  715. * WebCoreSupport/WebFrameLoaderClient.mm:
  716. (WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with the
  717. current URL, not the original request URL.
  718. 2013-05-13 Anders Carlsson <andersca@apple.com>
  719. Remove ChromeClient::willPopupMenu
  720. https://bugs.webkit.org/show_bug.cgi?id=116063
  721. Reviewed by Andreas Kling.
  722. ChromeClient::willPopupMenu is only called in one place from WebKit, so just move the function to the call site.
  723. * WebCoreSupport/PopupMenuMac.mm:
  724. (PopupMenuMac::show):
  725. * WebCoreSupport/WebChromeClient.h:
  726. * WebCoreSupport/WebChromeClient.mm:
  727. 2013-05-12 Timothy Hatcher <timothy@apple.com>
  728. Add support for updating the Web Inspector toolbar height.
  729. https://bugs.webkit.org/show_bug.cgi?id=115996
  730. Reviewed by Joseph Pecoraro and Benjamin Poulain.
  731. * WebCoreSupport/WebInspectorClient.h:
  732. * WebCoreSupport/WebInspectorClient.mm:
  733. (WebInspectorFrontendClient::setToolbarHeight):
  734. 2013-05-13 Ryosuke Niwa <rniwa@webkit.org>
  735. Sometimes NSUndoManager can get into an inconsistent state
  736. https://bugs.webkit.org/show_bug.cgi?id=116050
  737. Reviewed by Enrica Casucci.
  738. Always group undo items to work around a bug in NSUndoManager that manifests
  739. when we call removeAllActionsWithTarget.
  740. * WebCoreSupport/WebEditorClient.mm:
  741. (WebEditorClient::registerUndoOrRedoStep):
  742. 2013-05-13 Zalan Bujtas <zalan@apple.com>
  743. WebProcess consuming very high CPU on linkedin.com
  744. https://bugs.webkit.org/show_bug.cgi?id=115601
  745. Reviewed by Andreas Kling.
  746. Disable WEB_TIMING_MINIMAL.
  747. Turn off window.performance and performance.now(). Some JS frameworks expect
  748. additional Web Timing APIs, when performance.now() is available.
  749. * Configurations/FeatureDefines.xcconfig:
  750. 2013-05-13 Darin Adler <darin@apple.com>
  751. [Mac] Layer-backed WebViews draw their background color even when setDrawsBackground:NO was called
  752. https://bugs.webkit.org/show_bug.cgi?id=116014
  753. <rdar://problem/12781227>
  754. Reviewed by Dan Bernstein.
  755. * WebView/WebFrame.mm:
  756. (-[WebFrame _updateBackgroundAndUpdatesWhileOffscreen]): Remove calls to setBackgroundColor: and
  757. setDrawsBackground: on the document view. These were added to support a hypothetical document view
  758. that wanted to draw its background like WebHTMLView does, but this was never communicated as a
  759. document view protocol, formal or informal, and it's unlikely that it was ever used. The bug was
  760. caused because there is an -[NSView setDrawsBackground:] method, probably an internal one, and we
  761. were calling it unintentionally on a WebHTMLView.
  762. 2013-05-12 Anders Carlsson <andersca@apple.com>
  763. Stop including UnusedParam.h
  764. https://bugs.webkit.org/show_bug.cgi?id=116003
  765. Reviewed by Sam Weinig.
  766. UnusedParam.h is empty now so there's no need to include it anymore.
  767. * Plugins/WebNetscapePluginEventHandlerCocoa.mm:
  768. * WebView/WebDashboardRegion.mm:
  769. * WebView/WebFullScreenController.mm:
  770. 2013-05-12 Andreas Kling <akling@apple.com>
  771. Unload event listeners should prevent Safari from insta-killing the web process on last tab close.
  772. <http://webkit.org/b/115988>
  773. <rdar://problem/13870943>
  774. Reviewed by Anders Carlsson.
  775. * WebCoreSupport/WebChromeClient.h:
  776. * WebCoreSupport/WebChromeClient.mm:
  777. (WebChromeClient::enableSuddenTermination):
  778. (WebChromeClient::disableSuddenTermination):
  779. 2013-05-10 Brian J. Burg <burg@cs.washington.edu>
  780. Web Inspector: Implement WK2 version of WebInspectorFrontendClient::save
  781. https://bugs.webkit.org/show_bug.cgi?id=115564
  782. Reviewed by Benjamin Poulain.
  783. Clean up save() and append() implementations.
  784. * WebCoreSupport/WebInspectorClient.h:
  785. * WebCoreSupport/WebInspectorClient.mm:
  786. (WebInspectorFrontendClient::save):
  787. (WebInspectorFrontendClient::append):
  788. 2013-05-10 Laszlo Gombos <l.gombos@samsung.com>
  789. Remove Mac OS X Leopard (10.5) support
  790. https://bugs.webkit.org/show_bug.cgi?id=107964
  791. Reviewed by Ryosuke Niwa.
  792. Removed the code for 10.5 and removed if-def for 10.6.
  793. * DefaultDelegates/WebDefaultContextMenuDelegate.mm:
  794. * Misc/WebKitErrors.m:
  795. (-[NSError _initWithPluginErrorCode:contentURL:pluginPageURL:pluginName:MIMEType:]):
  796. * WebCoreSupport/WebSystemInterface.mm:
  797. (InitWebCoreSystemInterface):
  798. * WebView/WebClipView.mm:
  799. (-[WebClipView _immediateScrollToPoint:]):
  800. * WebView/WebFrameView.mm:
  801. (-[WebFrameView initWithFrame:]):
  802. * WebView/WebView.mm:
  803. 2013-05-07 Mark Rowe <mrowe@apple.com>
  804. <rdar://problem/13633007> WebKit and others fail to build headers due to build root dependency
  805. Reviewed by Sam Weinig.
  806. * Configurations/WebKit.xcconfig: Look for WebCore's headers within the SDK if we're building against one.
  807. 2013-05-07 Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com>
  808. HashTraits<RefPtr<P> >::PeekType should be raw pointer for better performance
  809. https://bugs.webkit.org/show_bug.cgi?id=115646
  810. Reviewed by Darin Adler.
  811. * Plugins/Hosted/NetscapePluginHostProxy.mm:
  812. (WebKit::NetscapePluginHostProxy::pluginInstance):
  813. * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
  814. (WebKit::NetscapePluginInstanceProxy::cancelStreamLoad):
  815. Updated accordingly to new HashMap<.., RefPtr>::get() semantics.
  816. 2013-05-04 Dean Jackson <dino@apple.com>
  817. Animations and Transitions should not start when globally suspended
  818. https://bugs.webkit.org/show_bug.cgi?id=114915
  819. Reviewed by Sam Weinig.
  820. The WebView private API cssAnimationsSuspended did not necessarily
  821. reflect the reality of the Frame's AnimationController value because it
  822. was caching rather than asking directly. While the WebCore part of this
  823. patch ensured loading the Document wouldn't resume all animations, it
  824. is still better to ask directly.
  825. * WebView/WebView.mm:
  826. (-[WebView cssAnimationsSuspended]): Call into AnimationController.
  827. (-[WebView setCSSAnimationsSuspended:]): Ditto.
  828. * WebView/WebViewData.h: Remove cssAnimationsSuspended boolean.
  829. * WebView/WebViewData.mm: Ditto.
  830. (-[WebViewPrivate init]):
  831. 2013-05-04 Sam Weinig <sam@webkit.org>
  832. Move PopupMenuMac and SearchPopupMenuMac to Source/WebKit/mac
  833. matching where they are in WebKit2.
  834. Reviewed by Anders Carlsson.
  835. * WebCoreSupport/PopupMenuMac.h: Copied from WebCore/platform/mac/PopupMenuMac.h.
  836. * WebCoreSupport/PopupMenuMac.mm: Copied from WebCore/platform/mac/PopupMenuMac.mm.
  837. * WebCoreSupport/SearchPopupMenuMac.h: Copied from WebCore/platform/mac/SearchPopupMenuMac.h.
  838. * WebCoreSupport/SearchPopupMenuMac.mm: Copied from WebCore/platform/mac/SearchPopupMenuMac.mm.
  839. * WebCoreSupport/WebChromeClient.mm:
  840. 2013-05-04 Anders Carlsson <andersca@apple.com>
  841. Get rid of -[NSMutableDictionary _webkit_setObject:forUncopiedKey:]
  842. https://bugs.webkit.org/show_bug.cgi?id=115592
  843. Reviewed by Beth Dakin.
  844. Using CFDictionarySetValue to set a key without having to copy it is not supported. Use NSMapTable with strong pointers instead.
  845. * Misc/WebNSDictionaryExtras.h:
  846. * Misc/WebNSDictionaryExtras.m:
  847. * Panels/WebPanelAuthenticationHandler.h:
  848. (NSURLAuthenticationChallenge):
  849. * Panels/WebPanelAuthenticationHandler.m:
  850. (-[WebPanelAuthenticationHandler init]):
  851. (-[WebPanelAuthenticationHandler enqueueChallenge:forWindow:]):
  852. (-[WebPanelAuthenticationHandler tryNextChallengeForWindow:]):
  853. (-[WebPanelAuthenticationHandler startAuthentication:window:]):
  854. (-[WebPanelAuthenticationHandler cancelAuthentication:]):
  855. * Plugins/WebNetscapePluginView.h:
  856. * Plugins/WebNetscapePluginView.mm:
  857. (-[WebNetscapePluginView destroyPlugin]):
  858. (-[WebNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:WebCore::]):
  859. (-[WebNetscapePluginView webFrame:didFinishLoadWithReason:]):
  860. (-[WebNetscapePluginView loadPluginRequest:]):
  861. 2011-05-01 Ryosuke Niwa <rniwa@webkit.org>
  862. [Mac] WebKit doesn't enable or disable autocorrections when system preferences are changed
  863. https://bugs.webkit.org/show_bug.cgi?id=115463
  864. Reviewed by Darin Adler.
  865. Observe the default notification center for changes to autocorrection preferences.
  866. Note system preferences may also update WebAutomatic* defaults.
  867. * WebView/WebView.mm:
  868. (+[WebView initialize]):
  869. (+[WebView _shouldAutomaticTextReplacementBeEnabled]):
  870. (+[WebView _didChangeAutomaticTextReplacementEnabled:]):
  871. (+[WebView _shouldAutomaticSpellingCorrectionBeEnabled]):
  872. (+[WebView _didChangeAutomaticSpellingCorrectionEnabled:]):
  873. (+[WebView _shouldAutomaticQuoteSubstitutionBeEnabled]):
  874. (+[WebView _shouldAutomaticDashSubstitutionBeEnabled]):
  875. (+[WebView _didChangeAutomaticQuoteSubstitutionEnabled:]):
  876. (+[WebView _didChangeAutomaticDashSubstitutionEnabled:]):
  877. 2013-05-01 Benjamin Poulain <bpoulain@apple.com>
  878. Fix the function names of r149453
  879. Unreviewed.
  880. I forgot to follow one of Darin's review comment. This patch
  881. fixes the function names to follow CF naming conventions.
  882. * WebView/WebHTMLRepresentation.mm:
  883. (newArrayWithStrings):
  884. (newArrayByConcatenatingArrays):
  885. (+[WebHTMLRepresentation supportedMIMETypes]):
  886. (+[WebHTMLRepresentation supportedNonImageMIMETypes]):
  887. (+[WebHTMLRepresentation supportedImageMIMETypes]):
  888. (+[WebHTMLRepresentation unsupportedTextMIMETypes]):
  889. 2013-05-01 Benjamin Poulain <benjamin@webkit.org>
  890. Simplify WebHTMLRepresentation supportedMIMETypes methods
  891. https://bugs.webkit.org/show_bug.cgi?id=115314
  892. Reviewed by Darin Adler.
  893. The initialization was surprisingly complex because of DEFINE_STATIC_LOCAL.
  894. First, a new pointer was allocated on the heap with fast malloc (for RetainPtr<NSArray>).
  895. Then a new NSMutableArray was allocated but immediately put on the autorelease pool.
  896. Finally, that array was retained by the RetainPtr.
  897. This patch changes the code to only leak the NSMutableArray memory. There
  898. is no fastMalloc, nor any use of the autorelease pool.
  899. * WebView/WebHTMLRepresentation.mm:
  900. (createArrayWithStrings):
  901. (createArrayByConcatenatingArrays):
  902. (+[WebHTMLRepresentation supportedMIMETypes]):
  903. (+[WebHTMLRepresentation supportedNonImageMIMETypes]):
  904. (+[WebHTMLRepresentation supportedImageMIMETypes]):
  905. (+[WebHTMLRepresentation unsupportedTextMIMETypes]):
  906. 2013-04-30 Darin Adler <darin@apple.com>
  907. [Mac] Remove adoptNS/retain pairs, since the two cancel each other out
  908. https://bugs.webkit.org/show_bug.cgi?id=115426
  909. Reviewed by Anders Carlsson.
  910. * Plugins/WebNetscapePluginStream.mm:
  911. (WebNetscapePluginStream::deliverDataToFile): Remove adoptNS and release.
  912. 2013-04-30 Geoffrey Garen <ggaren@apple.com>
  913. Objective-C JavaScriptCore API should publicly support bridging to C
  914. https://bugs.webkit.org/show_bug.cgi?id=115447
  915. Reviewed by Mark Hahnenberg.
  916. * WebView/WebFrame.mm:
  917. (-[WebFrame _javaScriptContextForScriptWorld:]):
  918. * WebView/WebScriptWorld.mm:
  919. (+[WebScriptWorld scriptWorldForJavaScriptContext:]):
  920. 2013-04-30 Anders Carlsson <andersca@apple.com>
  921. More StorageTracker cleanup
  922. https://bugs.webkit.org/show_bug.cgi?id=115429
  923. Reviewed by Andreas Kling.
  924. Call PageGroup::syncLocalStorage directly.
  925. * Storage/WebStorageManager.mm:
  926. (-[WebStorageManager syncLocalStorage]):
  927. 2013-04-30 Zalan Bujtas <zalan@apple.com>
  928. Animations fail to start on http://www.google.com/insidesearch/howsearchworks/thestory/
  929. https://bugs.webkit.org/show_bug.cgi?id=111244
  930. Reviewed by David Kilzer.
  931. Enable performance.now() as a minimal subset of Web Timing API.
  932. It returns DOMHighResTimeStamp, a monotonically increasing value representing the
  933. number of milliseconds from the start of the navigation of the current document.
  934. JS libraries use this API to check against the requestAnimationFrame() timestamp.
  935. * Configurations/FeatureDefines.xcconfig:
  936. 2013-04-29 Chris Fleizach <cfleizach@apple.com>
  937. WEB SPEECH: need to identify the default voice per language
  938. https://bugs.webkit.org/show_bug.cgi?id=115366
  939. Reviewed by Tim Horton.
  940. * WebCoreSupport/WebSystemInterface.mm:
  941. (InitWebCoreSystemInterface):
  942. 2013-04-28 Dean Jackson <dino@apple.com>
  943. [Mac] Disable canvas backing store scaling (HIGH_DPI_CANVAS)
  944. https://bugs.webkit.org/show_bug.cgi?id=115310
  945. Reviewed by Simon Fraser.
  946. Remove ENABLE_HIGH_DPI_CANVAS_macosx.
  947. * Configurations/FeatureDefines.xcconfig:
  948. 2013-04-27 Darin Adler <darin@apple.com>
  949. Move from constructor and member function adoptCF/NS to free function adoptCF/NS.
  950. https://bugs.webkit.org/show_bug.cgi?id=115307
  951. Reviewed by Geoffrey Garen.
  952. This change was done by a global replace followed by compiling and inspecting for
  953. cases that needed to be tweaked by hand.
  954. * DefaultDelegates/WebDefaultContextMenuDelegate.mm:
  955. (-[WebDefaultUIDelegate menuItemWithTag:target:representedObject:]):
  956. * Misc/WebNSFileManagerExtras.mm:
  957. (-[NSFileManager _webkit_startupVolumeName]):
  958. * Plugins/Hosted/HostedNetscapePluginStream.mm:
  959. (WebKit::HostedNetscapePluginStream::HostedNetscapePluginStream):
  960. * Plugins/Hosted/NetscapePluginHostManager.mm:
  961. (WebKit::NetscapePluginHostManager::spawnPluginHost):
  962. (WebKit::NetscapePluginHostManager::instantiatePlugin):
  963. * Plugins/Hosted/NetscapePluginHostProxy.mm:
  964. (WebKit::NetscapePluginHostProxy::NetscapePluginHostProxy):
  965. (WebKit::NetscapePluginHostProxy::beginModal):
  966. (WKPCBooleanAndDataReply):
  967. * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
  968. (WebKit::NetscapePluginInstanceProxy::print):
  969. (WebKit::NetscapePluginInstanceProxy::snapshot):
  970. (WebKit::NetscapePluginInstanceProxy::status):
  971. (WebKit::NetscapePluginInstanceProxy::loadURL):
  972. (WebKit::NetscapePluginInstanceProxy::evaluateJavaScript):
  973. (WebKit::NetscapePluginInstanceProxy::enumerate):
  974. (WebKit::NetscapePluginInstanceProxy::marshalValue):
  975. (WebKit::NetscapePluginInstanceProxy::marshalValues):
  976. (WebKit::NetscapePluginInstanceProxy::demarshalValue):
  977. (WebKit::NetscapePluginInstanceProxy::demarshalValues):
  978. * Plugins/Hosted/WebHostedNetscapePluginView.mm:
  979. (-[WebHostedNetscapePluginView setAttributeKeys:andValues:]):
  980. (-[WebHostedNetscapePluginView createPlugin]):
  981. * Plugins/WebBaseNetscapePluginView.mm:
  982. (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:WebCore::]):
  983. (-[WebBaseNetscapePluginView cacheSnapshot]):
  984. (WebKit::getAuthenticationInfo):
  985. * Plugins/WebBasePluginPackage.mm:
  986. (-[WebBasePluginPackage initWithPath:]):
  987. * Plugins/WebNetscapePluginEventHandlerCarbon.mm:
  988. (WebNetscapePluginEventHandlerCarbon::startTimers):
  989. * Plugins/WebNetscapePluginEventHandlerCocoa.mm:
  990. (WebNetscapePluginEventHandlerCocoa::syntheticKeyDownWithCommandModifier):
  991. (WebNetscapePluginEventHandlerCocoa::handleTSMEvent):
  992. * Plugins/WebNetscapePluginPackage.mm:
  993. (-[WebNetscapePluginPackage _initWithPath:]):
  994. * Plugins/WebNetscapePluginStream.mm:
  995. (WebNetscapePluginStream::WebNetscapePluginStream):
  996. (WebNetscapePluginStream::deliverData):
  997. (WebNetscapePluginStream::deliverDataToFile):
  998. (WebNetscapePluginStream::didReceiveData):
  999. * Plugins/WebNetscapePluginView.mm:
  1000. (-[WebNetscapePluginView createPlugin]):
  1001. (-[WebNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:WebCore::]):
  1002. (-[WebNetscapePluginView evaluateJavaScriptPluginRequest:]):
  1003. * Storage/WebDatabaseManagerClient.mm:
  1004. (WebDatabaseManagerClient::dispatchDidModifyOrigin):
  1005. (WebDatabaseManagerClient::dispatchDidModifyDatabase):
  1006. * Storage/WebStorageTrackerClient.mm:
  1007. (WebStorageTrackerClient::dispatchDidModifyOrigin):
  1008. * WebCoreSupport/CorrectionPanel.mm:
  1009. (CorrectionPanel::handleAcceptedReplacement):
  1010. * WebCoreSupport/WebApplicationCache.mm:
  1011. (+[WebApplicationCache originsWithCache]):
  1012. * WebCoreSupport/WebFrameLoaderClient.mm:
  1013. (WebFrameLoaderClient::didRunInsecureContent):
  1014. * WebCoreSupport/WebInspectorClient.mm:
  1015. (WebInspectorClient::WebInspectorClient):
  1016. (WebInspectorClient::openInspectorFrontend):
  1017. * WebView/WebFullScreenController.mm:
  1018. (-[WebFullScreenController enterFullScreen:]):
  1019. * WebView/WebPDFDocumentExtras.mm:
  1020. (allScriptsInPDFDocument):
  1021. * WebView/WebPreferences.mm:
  1022. (-[WebPreferences initWithIdentifier:]):
  1023. (-[WebPreferences initWithCoder:]):
  1024. * WebView/WebScriptDebugger.mm:
  1025. (WebScriptDebugger::initGlobalCallFrame):
  1026. (WebScriptDebugger::callEvent):
  1027. * WebView/WebView.mm:
  1028. (-[WebView previousValidKeyView]):
  1029. Use adoptNS and adoptCF free functions.
  1030. 2013-04-25 Roger Fong <roger_fong@apple.com>
  1031. Disable sub-pixel layout on mac.
  1032. https://bugs.webkit.org/show_bug.cgi?id=114999.
  1033. Reviewed by Simon Fraser.
  1034. * Configurations/FeatureDefines.xcconfig:
  1035. 2013-04-26 Simon Fraser <simon.fraser@apple.com>
  1036. Layer-backed WebViews don't repaint content outside the visible area
  1037. https://bugs.webkit.org/show_bug.cgi?id=115275
  1038. Reviewed by Beth Dakin.
  1039. When a client of WebView makes the WebView be layer-backed, then
  1040. AppKit propagaes the layer-backing down to the WebHTMLView (but
  1041. no further).
  1042. In this situation, we had a bug where content that was not
  1043. in the visible content rect would not get repainted, because
  1044. WebCore clips repaints to the visible rect.
  1045. Fix by calling ScrollView::setPaintsEntireContents(bool) from
  1046. -[WebHTMLView setLayer:], saying that we need
  1047. to paint the entire contents if we have a layer.
  1048. * WebView/WebHTMLView.mm:
  1049. (-[WebHTMLView setLayer:]):
  1050. 2013-04-25 Chris Fleizach <cfleizach@apple.com>
  1051. WEB SPEECH: language support does not work as expected
  1052. https://bugs.webkit.org/show_bug.cgi?id=115119
  1053. Reviewed by Alexey Proskuryakov.
  1054. * WebCoreSupport/WebSystemInterface.mm:
  1055. (InitWebCoreSystemInterface):
  1056. 2013-04-25 Simon Fraser <simon.fraser@apple.com>
  1057. Build fix for smart compliers.
  1058. Reviewed by Tim Horton.
  1059. [NSDictionary dictionaryWithObjectsAndKeys:] returns an NSDictionary,
  1060. not a NSMutableDictionary.
  1061. * WebCoreSupport/WebEditorClient.mm:
  1062. (WebEditorClient::updateSpellingUIWithGrammarString):
  1063. 2013-04-25 Joseph Pecoraro <pecoraro@apple.com>
  1064. Web Inspector: ConsoleMessage should include line and column number where possible
  1065. https://bugs.webkit.org/show_bug.cgi?id=114929
  1066. Reviewed by Timothy Hatcher.
  1067. * WebCoreSupport/WebChromeClient.h:
  1068. * WebCoreSupport/WebChromeClient.mm:
  1069. (WebChromeClient::addMessageToConsole):
  1070. 2013-04-24 Jessie Berlin <jberlin@apple.com>
  1071. Assertion failure (crash in release) attempting to delete database storage in WK1 without
  1072. creating a WebView first
  1073. https://bugs.webkit.org/show_bug.cgi?id=115065
  1074. Reviewed by Brady Eidson.
  1075. Make sure the WebPlatformStrategies is initialized before using the WebDatabaseManager.
  1076. * Storage/WebDatabaseManager.mm:
  1077. (-[WebDatabaseManager init]):
  1078. Move the logic from WebKitInitializeDatabasesIfNecessary here, and add a call to
  1079. WebPlatformStrategies::initializeIfNecessary.
  1080. * Storage/WebDatabaseManagerInternal.h: Removed.
  1081. * WebCoreSupport/WebPlatformStrategies.h:
  1082. (WebPlatformStrategies):
  1083. Change "initialize" to "initalizeIfNecessary".
  1084. * WebCoreSupport/WebPlatformStrategies.mm:
  1085. (WebPlatformStrategies::initializeIfNecessary):
  1086. Only call setPlatformStrategies once.
  1087. * WebView/WebView.mm:
  1088. (-[WebView _commonInitializationWithFrameName:groupName:]):
  1089. Updated for the name change from initialize to initializeIfNecessary.
  1090. Instead of calling WebKitInitializeDatabasesIfNecessary, call [WebDatabaseManager
  1091. sharedWebDatabaseManager].
  1092. (+[WebView _setLoadResourcesSerially:]):
  1093. Updated for the name change from initialize to initializeIfNecessary.
  1094. 2013-04-23 Antoine Quint <graouts@apple.com>
  1095. Initial advance of text runs should be taken into account
  1096. https://bugs.webkit.org/show_bug.cgi?id=114949
  1097. Reviewed by Darin Adler.
  1098. Adding support for new method CTRunGetInitialAdvance in WebKitSystemInterface.
  1099. * WebCoreSupport/WebSystemInterface.mm:
  1100. (InitWebCoreSystemInterface):
  1101. 2013-04-22 Benjamin Poulain <benjamin@webkit.org>
  1102. Remove the memory instrumentation code
  1103. https://bugs.webkit.org/show_bug.cgi?id=114931
  1104. Reviewed by Andreas Kling.
  1105. * WebView/WebRenderLayer.mm:
  1106. 2013-04-18 Andy Estes <aestes@apple.com>
  1107. REGRESSION (r116645): Versions app's UI is munged in HiDPI due to background-size being reset to 'auto' when background short-hand is also specified
  1108. https://bugs.webkit.org/show_bug.cgi?id=114833
  1109. Reviewed by David Kilzer.
  1110. The Versions app specifies both a background-size and a background
  1111. shorthand CSS property, and its UI is broken after r116645 which resets
  1112. background-size to 'auto' if the background shorthand property is
  1113. specified.
  1114. This patch enables the useLegacyBackgroundSizeShorthandBehavior setting
  1115. added in r147034 to restore the expected behavior if the embedder is
  1116. Versions.app and it was linked against a version of WebKit that had the
  1117. legacy behavior.
  1118. * Misc/WebKitVersionChecks.h:
  1119. * WebView/WebView.mm:
  1120. (shouldUseLegacyBackgroundSizeShorthandBehavior):
  1121. (-[WebView _commonInitializationWithFrameName:groupName:]):
  1122. 2013-04-18 Sam Weinig <sam@webkit.org>
  1123. Network Process crashing trying to read in IDNScriptWhiteList.txt
  1124. https://bugs.webkit.org/show_bug.cgi?id=114827
  1125. Reviewed by Anders Carlsson.
  1126. Move IDNScriptWhiteList.txt from WebKit to WebCore, so that the NetworkProcess does not have to link against
  1127. WebKit. It was a layering violation for WebCore to be trying to access WebKit resources anyway.
  1128. * Resources/IDNScriptWhiteList.txt: Removed.
  1129. 2013-04-17 Geoffrey Garen <ggaren@apple.com>
  1130. Renamed JSGlobalData to VM
  1131. https://bugs.webkit.org/show_bug.cgi?id=114777
  1132. Reviewed by Phil Pizlo.
  1133. * Misc/WebCoreStatistics.mm:
  1134. (+[WebCoreStatistics javaScriptObjectsCount]):
  1135. (+[WebCoreStatistics javaScriptGlobalObjectsCount]):
  1136. (+[WebCoreStatistics javaScriptProtectedObjectsCount]):
  1137. (+[WebCoreStatistics javaScriptProtectedGlobalObjectsCount]):
  1138. (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
  1139. (+[WebCoreStatistics javaScriptObjectTypeCounts]):
  1140. (+[WebCoreStatistics shouldPrintExceptions]):
  1141. (+[WebCoreStatistics setShouldPrintExceptions:]):
  1142. (+[WebCoreStatistics memoryStatistics]):
  1143. (+[WebCoreStatistics javaScriptReferencedObjectsCount]):
  1144. * Plugins/Hosted/NetscapePluginHostProxy.mm:
  1145. (identifierFromIdentifierRep):
  1146. * Plugins/Hosted/NetscapePluginInstanceProxy.h:
  1147. (LocalObjectMap):
  1148. * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
  1149. (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
  1150. (WebKit::NetscapePluginInstanceProxy::getWindowNPObject):
  1151. (WebKit::NetscapePluginInstanceProxy::getPluginElementNPObject):
  1152. (WebKit::NetscapePluginInstanceProxy::evaluate):
  1153. (WebKit::NetscapePluginInstanceProxy::addValueToArray):
  1154. * Plugins/Hosted/ProxyInstance.mm:
  1155. (WebKit::ProxyRuntimeMethod::create):
  1156. (WebKit::ProxyRuntimeMethod::createStructure):
  1157. (WebKit::ProxyRuntimeMethod::finishCreation):
  1158. (WebKit::ProxyInstance::getPropertyNames):
  1159. * Plugins/Hosted/ProxyRuntimeObject.h:
  1160. (WebKit::ProxyRuntimeObject::create):
  1161. (WebKit::ProxyRuntimeObject::createStructure):
  1162. * Plugins/WebNetscapePluginStream.mm:
  1163. (WebNetscapePluginStream::wantsAllStreams):
  1164. * Plugins/WebNetscapePluginView.mm:
  1165. (-[WebNetscapePluginView sendEvent:isDrawRect:]):
  1166. (-[WebNetscapePluginView privateBrowsingModeDidChange]):
  1167. (-[WebNetscapePluginView setWindowIfNecessary]):
  1168. (-[WebNetscapePluginView createPluginScriptableObject]):
  1169. (-[WebNetscapePluginView getFormValue:]):
  1170. (-[WebNetscapePluginView evaluateJavaScriptPluginRequest:]):
  1171. (-[WebNetscapePluginView webFrame:didFinishLoadWithReason:]):
  1172. (-[WebNetscapePluginView loadPluginRequest:]):
  1173. (-[WebNetscapePluginView _printedPluginBitmap]):
  1174. * Plugins/WebPluginController.mm:
  1175. (+[WebPluginController plugInViewWithArguments:fromPluginPackage:]):
  1176. (-[WebPluginController stopOnePlugin:]):
  1177. (-[WebPluginController destroyOnePlugin:]):
  1178. (-[WebPluginController startAllPlugins]):
  1179. (-[WebPluginController addPlugin:]):
  1180. * WebKit.order:
  1181. * WebView/WebScriptDebugDelegate.mm:
  1182. (-[WebScriptCallFrame scopeChain]):
  1183. (-[WebScriptCallFrame evaluateWebScript:]):
  1184. * WebView/WebScriptDebugger.mm:
  1185. (WebScriptDebugger::WebScriptDebugger):
  1186. 2013-04-16 Beth Dakin <bdakin@apple.com>
  1187. Re-name Page::layoutMilestones() to Page::requestedLayoutMilestones()
  1188. https://bugs.webkit.org/show_bug.cgi?id=114713
  1189. Reviewed by Simon Fraser.
  1190. * WebView/WebView.mm:
  1191. (-[WebView _layoutMilestones]):
  1192. 2013-04-15 Sam Weinig <sam@webkit.org>
  1193. Remove more #includes from Frame.h
  1194. https://bugs.webkit.org/show_bug.cgi?id=114642
  1195. Reviewed by Anders Carlsson.
  1196. * WebView/WebFrame.mm:
  1197. * WebView/WebHTMLRepresentation.mm:
  1198. * WebView/WebView.mm:
  1199. 2013-04-16 Alexey Proskuryakov <ap@apple.com>
  1200. Remove unused AlternativeTextClient::dismissDictationAlternativeUI
  1201. https://bugs.webkit.org/show_bug.cgi?id=114598
  1202. Reviewed by Ryosuke Niwa.
  1203. * WebCoreSupport/WebAlternativeTextClient.h:
  1204. * WebCoreSupport/WebAlternativeTextClient.mm:
  1205. * WebView/WebView.mm:
  1206. * WebView/WebViewInternal.h:
  1207. 2013-04-15 Ryosuke Niwa <rniwa@webkit.org>
  1208. REGRESSION(r146025): WebKit applications can't apply underline or strike through
  1209. https://bugs.webkit.org/show_bug.cgi?id=114662
  1210. Reviewed by Enrica Casucci.
  1211. Use -webkit- prefixes to apply underline. There should be no further compatibility issues
  1212. since -khtml- was used only internally to pass the information down to WebCore.
  1213. Unfortunately, we can't test this code like any other font panel bug.
  1214. In the long run, we need to add some abstraction layer around font panel to make this testable
  1215. or else we'll keep regressing this feature.
  1216. * WebView/WebHTMLView.mm:
  1217. (-[WebHTMLView _styleFromFontAttributes:]):
  1218. (-[WebHTMLView _styleForAttributeChange:]):
  1219. 2013-04-15 Anders Carlsson <andersca@apple.com>
  1220. plugins/get-url-beforeunload-destroys-plugin.html crashes in WebKit1
  1221. https://bugs.webkit.org/show_bug.cgi?id=114653
  1222. <rdar://problem/13659541>
  1223. Reviewed by Sam Weinig.
  1224. Protect the NetscapePluginInstanceProxy since it can otherwise go away.
  1225. * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
  1226. (WebKit::NetscapePluginInstanceProxy::performRequest):
  1227. 2013-04-14 Sam Weinig <sam@webkit.org>
  1228. Move Mac specific snapshotting code into its own file
  1229. https://bugs.webkit.org/show_bug.cgi?id=114597
  1230. Reviewed by Andreas Kling.
  1231. * WebView/WebHTMLView.mm:
  1232. (-[WebHTMLView _selectionDraggingImage]):
  1233. (-[WebHTMLView selectionImageForcingBlackText:]):
  1234. 2013-04-14 Andreas Kling <akling@apple.com>
  1235. Move CSSOM classes to using MutableStylePropertySet over StylePropertySet.
  1236. <http://webkit.org/b/114581>
  1237. Reviewed by Anders Carlsson.
  1238. * WebCoreSupport/WebEditorClient.mm:
  1239. (WebEditorClient::shouldApplyStyle):
  1240. * WebView/WebFrame.mm:
  1241. (-[WebFrame _typingStyle]):
  1242. 2013-04-10 Sam Weinig <sam@webkit.org>
  1243. Make Frame's ScriptController an OwnPtr and remove the #include
  1244. https://bugs.webkit.org/show_bug.cgi?id=114105
  1245. Reviewed by Dean Jackson.
  1246. * Plugins/Hosted/HostedNetscapePluginStream.mm:
  1247. * Plugins/WebNetscapePluginStream.mm:
  1248. * Plugins/WebPluginContainerCheck.mm:
  1249. * WebCoreSupport/WebGeolocationClient.mm:
  1250. * WebCoreSupport/WebInspectorClient.mm:
  1251. * WebView/WebFrame.mm:
  1252. 2013-04-13 Anders Carlsson <andersca@apple.com>
  1253. Add form delegate method that's invoked right before sending a submit event to a form element
  1254. https://bugs.webkit.org/show_bug.cgi?id=114575
  1255. Reviewed by Dan Bernstein.
  1256. * MigrateHeaders.make:
  1257. Copy DOMHTMLFormElementInternal.h over to WebKit.
  1258. * WebCoreSupport/WebFrameLoaderClient.mm:
  1259. (makeFormFieldValuesDictionary):
  1260. New helper function that returns the values of a form in dictionary form.
  1261. (WebFrameLoaderClient::dispatchWillSendSubmitEvent):
  1262. Call the right delegate method.
  1263. (WebFrameLoaderClient::dispatchWillSubmitForm):
  1264. Use the helper function.
  1265. * WebView/WebDelegateImplementationCaching.h:
  1266. * WebView/WebDelegateImplementationCaching.mm:
  1267. (CallFormDelegate):
  1268. Add another overload.
  1269. * WebView/WebFormDelegate.h:
  1270. * WebView/WebFormDelegate.m:
  1271. (-[WebFormDelegate willSendSubmitEventToForm:inFrame:withValues:]):
  1272. Add a default implementation.
  1273. 2013-04-10 Benjamin Poulain <bpoulain@apple.com>
  1274. Mass remove all the empty directories
  1275. Rubberstamped by Ryosuke Niwa.
  1276. * ForwardingHeaders/wtf/unicode/icu: Removed.
  1277. 2013-04-08 Anders Carlsson <andersca@apple.com>
  1278. Remove unneeded headers from FrameLoader.h
  1279. https://bugs.webkit.org/show_bug.cgi?id=114223
  1280. Reviewed by Geoffrey Garen.
  1281. Include HistoryController.h from WebCore.
  1282. * WebCoreSupport/WebFrameLoaderClient.mm:
  1283. * WebView/WebView.mm:
  1284. 2013-04-09 Geoffrey Garen <ggaren@apple.com>
  1285. Removed bitrotted TimeoutChecker code
  1286. https://bugs.webkit.org/show_bug.cgi?id=114336
  1287. Reviewed by Alexey Proskuryakov.
  1288. This mechanism hasn't worked for a while.
  1289. MarkL is working on a new version of this feature with a distinct
  1290. implementation.
  1291. * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
  1292. (WebKit::NetscapePluginInstanceProxy::evaluate):
  1293. 2013-04-08 Benjamin Poulain <benjamin@webkit.org>
  1294. Remove HTML Notification
  1295. https://bugs.webkit.org/show_bug.cgi?id=114231
  1296. Reviewed by Ryosuke Niwa.
  1297. * Configurations/FeatureDefines.xcconfig:
  1298. 2013-04-05 Anders Carlsson <andersca@apple.com>
  1299. Stop building Objective-C bindings for the SVG DOM
  1300. https://bugs.webkit.org/show_bug.cgi?id=114076
  1301. Reviewed by Geoffrey Garen.
  1302. The DOM SVG Objective-C bindings have never been exposed as API, and not building them cuts WebCore build by 10%.
  1303. * Configurations/FeatureDefines.xcconfig:
  1304. * MigrateHeaders.make:
  1305. 2013-04-05 Timothy Hatcher <timothy@apple.com>
  1306. Allow the Web Inspector to use WebSQL.
  1307. This fixes an exception on load in the Safari Web Inspector.
  1308. https://webkit.org/b/114040
  1309. rdar://problem/13581422
  1310. Reviewed by Anders Carlsson.
  1311. * WebCoreSupport/WebInspectorClient.mm:
  1312. (-[WebInspectorWindowController webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Added.
  1313. 2013-04-02 Timothy Hatcher <timothy@apple.com>
  1314. Provide a user default that can be used to disable docking of the Web Inspector.
  1315. The user default is "WebKit Web Inspector Setting - inspectorAttachDisabled".
  1316. https://webkit.org/b/113779
  1317. rdar://problem/13446021
  1318. Reviewed by Joseph Pecoraro.
  1319. * WebCoreSupport/WebInspectorClient.h:
  1320. (WebInspectorClient::inspectorAttachDisabled): Added.
  1321. (WebInspectorClient::setInspectorAttachDisabled): Added.
  1322. * WebCoreSupport/WebInspectorClient.mm:
  1323. (WebInspectorClient::didResizeMainFrame):
  1324. (-[WebInspectorWindowController window]):
  1325. (-[WebInspectorWindowController showWindow:]):
  1326. Check inspectorAttachDisabled() in places where we attach or update the dock button.
  1327. 2013-04-02 Alexey Proskuryakov <ap@apple.com>
  1328. [Mac] Remove WKCreateNSURLConnectionDelegateProxy
  1329. https://bugs.webkit.org/show_bug.cgi?id=113810
  1330. Reviewed by Anders Carlsson.
  1331. * WebCoreSupport/WebSystemInterface.mm:
  1332. (InitWebCoreSystemInterface):
  1333. 2013-04-02 Alexey Proskuryakov <ap@apple.com>
  1334. <rdar://problem/13551119> [WK2] Crashes in NetworkProcess when canceling loads
  1335. https://bugs.webkit.org/show_bug.cgi?id=113803
  1336. Reviewed by Darin Adler.
  1337. * WebCoreSupport/WebFrameLoaderClient.mm:
  1338. (WebFrameLoaderClient::convertMainResourceLoadToDownload):
  1339. Just pass nil instead of proxy.
  1340. 2013-04-01 Ryosuke Niwa <rniwa@webkit.org>
  1341. WebKit/mac shouldn't have code for Mac 10.5 and earlier
  1342. https://bugs.webkit.org/show_bug.cgi?id=113746
  1343. Reviewed by Darin Adler.
  1344. Deleted the code for 10.5 and removed if-defs for 10.6.
  1345. * Plugins/Hosted/WebHostedNetscapePluginView.mm:
  1346. (-[WebHostedNetscapePluginView createPlugin]):
  1347. * Plugins/WebBaseNetscapePluginView.mm:
  1348. (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:WebCore::]):
  1349. * Plugins/WebNetscapePluginView.mm:
  1350. (-[WebNetscapePluginView createPlugin]):
  1351. (-[WebNetscapePluginView getVariable:forURL:value:length:]):
  1352. (-[WebNetscapePluginView _workaroundSilverlightFullscreenBug:]):
  1353. * WebCoreSupport/WebChromeClient.mm:
  1354. (WebChromeClient::selectItemWritingDirectionIsNatural):
  1355. (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection):
  1356. * WebCoreSupport/WebEditorClient.mm:
  1357. (core):
  1358. (WebEditorClient::checkTextOfParagraph):
  1359. (WebEditorClient::requestCheckingOfString):
  1360. * WebView/WebDynamicScrollBarsView.mm:
  1361. (-[WebDynamicScrollBarsView reflectScrolledClipView:]):
  1362. * WebView/WebFullScreenController.mm:
  1363. (-[WebFullScreenController _updateMenuAndDockForFullScreen]):
  1364. * WebView/WebHTMLView.mm:
  1365. (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:]):
  1366. (-[WebHTMLView _frameOrBoundsChanged]):
  1367. (+[WebHTMLView _insertablePasteboardTypes]):
  1368. (-[WebHTMLView _documentFragmentFromPasteboard:forType:inContext:subresources:]):
  1369. (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
  1370. (writingDirectionKeyBindingsEnabled):
  1371. (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
  1372. (-[WebHTMLView attachRootLayer:]):
  1373. * WebView/WebHTMLViewInternal.h:
  1374. * WebView/WebPDFDocumentExtras.mm:
  1375. * WebView/WebPreferences.mm:
  1376. (+[WebPreferences initialize]):
  1377. * WebView/WebResourceInternal.h:
  1378. * WebView/WebScriptDebugDelegate.h:
  1379. * WebView/WebView.mm:
  1380. (-[WebView _commonInitializationWithFrameName:groupName:]):
  1381. (-[WebView _preferencesChanged:]):
  1382. (+[WebView initialize]):
  1383. (clientNeedsWebViewInitThreadWorkaround):
  1384. (-[WebView validateUserInterfaceItemWithoutDelegate:]):
  1385. (-[WebView setGrammarCheckingEnabled:]):
  1386. (-[WebView isAutomaticQuoteSubstitutionEnabled]):
  1387. (-[WebView isAutomaticLinkDetectionEnabled]):
  1388. (-[WebView isAutomaticDashSubstitutionEnabled]):
  1389. (-[WebView isAutomaticTextReplacementEnabled]):
  1390. (-[WebView isAutomaticSpellingCorrectionEnabled]):
  1391. (-[WebView _searchWithSpotlightFromMenu:]):
  1392. (WebInstallMemoryPressureHandler):
  1393. * WebView/WebViewPrivate.h:
  1394. 2013-04-01 Tim Horton <timothy_horton@apple.com>
  1395. WebCache should do the normal initialization dance
  1396. https://bugs.webkit.org/show_bug.cgi?id=113722
  1397. <rdar://problem/13424530>
  1398. Reviewed by Anders Carlsson.
  1399. In case a WebKit1 client uses WebCache before creating a WebView (or any of the other
  1400. initialization-ready classes), we should do the initialization work in WebCache as well.
  1401. * Misc/WebCache.mm:
  1402. (+[WebCache initialize]):
  1403. 2013-03-26 Timothy Hatcher <timothy@apple.com>
  1404. Add support for dock-to-right of the Web Inspector in the Mac port.
  1405. Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
  1406. https://webkit.org/b/113341
  1407. rdar://problem/10368152
  1408. Reviewed by Joseph Pecoraro.
  1409. * Resources/Dock.pdf: Updated.
  1410. * WebCoreSupport/WebInspectorClient.h:
  1411. (WebInspectorFrontendClient):
  1412. * WebCoreSupport/WebInspectorClient.mm:
  1413. (WebInspectorFrontendClient::frontendLoaded):
  1414. (WebInspectorFrontendClient::attachWindow):
  1415. (WebInspectorFrontendClient::setAttachedWindowWidth):
  1416. (-[WebInspectorWindowController attachWindow:]):
  1417. (-[WebInspectorWindowController attach]):
  1418. (-[WebInspectorWindowController detach]):
  1419. * WebInspector/WebInspectorFrontend.mm:
  1420. (-[WebInspectorFrontend attach]):
  1421. 2013-03-26 Tim Horton <timothy_horton@apple.com>
  1422. Unreviewed attempted cr-mac build fix.
  1423. * WebCoreSupport/WebSystemInterface.mm:
  1424. (InitWebCoreSystemInterface):
  1425. 2013-03-26 Hayato Ito <hayato@chromium.org>
  1426. Allow ShadowContents in HitTests by default.
  1427. https://bugs.webkit.org/show_bug.cgi?id=113171
  1428. Reviewed by Dimitri Glazkov.
  1429. * WebView/WebFrame.mm:
  1430. (-[WebFrame elementAtPoint:]):
  1431. * WebView/WebHTMLView.mm:
  1432. (-[WebHTMLView elementAtPoint:allowShadowContent:]):
  1433. 2013-03-26 Tim Horton <timothy_horton@apple.com>
  1434. [ca] Tell CA to clean up unused resources if a given WebProcess won't be drawing
  1435. https://bugs.webkit.org/show_bug.cgi?id=107539
  1436. <rdar://problem/13032692>
  1437. Reviewed by Simon Fraser.
  1438. Update WebSystemInterface.
  1439. * WebCoreSupport/WebSystemInterface.mm:
  1440. (InitWebCoreSystemInterface):
  1441. 2013-03-26 Sergio Villar Senin <svillar@igalia.com>
  1442. Implement overtype mode for editable content
  1443. https://bugs.webkit.org/show_bug.cgi?id=112126
  1444. Reviewed by Ryosuke Niwa.
  1445. Added the OverWrite editing command to the WebCore editing
  1446. commands lists.
  1447. * WebView/WebHTMLView.mm:
  1448. * WebView/WebView.h:
  1449. * WebView/WebView.mm:
  1450. 2013-03-25 Kent Tamura <tkent@chromium.org>
  1451. Rename ENABLE_INPUT_TYPE_DATETIME
  1452. https://bugs.webkit.org/show_bug.cgi?id=113254
  1453. Reviewed by Kentaro Hara.
  1454. Rename ENABLE_INPUT_TYPE_DATETIME to ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE.
  1455. Actually I'd like to remove the code, but we shouldn't remove it yet
  1456. because we shipped products with it on some platforms.
  1457. * Configurations/FeatureDefines.xcconfig:
  1458. 2013-03-21 Kiran Muppala <cmuppala@apple.com>
  1459. Add runtime setting for hidden page DOM timer throttling and CSS animation suspension
  1460. https://bugs.webkit.org/show_bug.cgi?id=112308
  1461. Reviewed by Gavin Barraclough.
  1462. Add private preference for enabling/disabling hidden page DOM timer
  1463. throttling and CSS animation suspension. The preference should be
  1464. disabled by default to avoid compatibility issues.
  1465. * WebView/WebPreferenceKeysPrivate.h:
  1466. * WebView/WebPreferences.mm:
  1467. (+[WebPreferences initialize]):
  1468. (-[WebPreferences hiddenPageDOMTimerThrottlingEnabled]):
  1469. (-[WebPreferences setHiddenPageDOMTimerThrottlingEnabled:]):
  1470. (-[WebPreferences hiddenPageCSSAnimationSuspensionEnabled]):
  1471. (-[WebPreferences setHiddenPageCSSAnimationSuspensionEnabled:]):
  1472. * WebView/WebPreferencesPrivate.h:
  1473. * WebView/WebView.mm:
  1474. (-[WebView _preferencesChanged:]):
  1475. 2013-03-19 Ryosuke Niwa <rniwa@webkit.org>
  1476. Another Mac build fix attempt after r146239.
  1477. * WebCoreSupport/WebFrameNetworkingContext.h:
  1478. (WebFrameNetworkingContext):
  1479. 2013-03-19 Ryosuke Niwa <rniwa@webkit.org>
  1480. Mac build fix attempt after r146239.
  1481. * WebCoreSupport/WebFrameNetworkingContext.h:
  1482. 2013-03-19 Sergey Ryazanov <serya@chromium.org>
  1483. Web Inspector: split Console into two entities, a web-facing bound object and page console.
  1484. https://bugs.webkit.org/show_bug.cgi?id=111578
  1485. Reviewed by Vsevolod Vlasov.
  1486. Otherwise, a lot of logging in WebCore needs to go through the DOMWindow which is unnecessary.
  1487. * Misc/WebCoreStatistics.mm:
  1488. (+[WebCoreStatistics shouldPrintExceptions]):
  1489. (+[WebCoreStatistics setShouldPrintExceptions:]):
  1490. 2013-03-17 Adam Barth <abarth@webkit.org>
  1491. Legacy CSS vendor prefixes should only work for Dashboard
  1492. https://bugs.webkit.org/show_bug.cgi?id=111890
  1493. Reviewed by Eric Seidel.
  1494. Enable legacy CSS vendor prefixes when we've been asked to turn on
  1495. Dashboard compatibility mode.
  1496. * WebView/WebView.mm:
  1497. (-[WebView _setDashboardBehavior:to:]):
  1498. 2013-03-16 Pratik Solanki <psolanki@apple.com>
  1499. Disable High DPI Canvas on iOS
  1500. https://bugs.webkit.org/show_bug.cgi?id=112511
  1501. Reviewed by Joseph Pecoraro.
  1502. * Configurations/FeatureDefines.xcconfig:
  1503. 2013-03-15 Timothy Hatcher <timothy@apple.com>
  1504. Disable suppressesIncrementalRendering for the Web Inspector.
  1505. This ends up causing the Inspector to show blank for a couple seconds before
  1506. it does its first paint. During that time the bare window chrome is showing
  1507. when the Inspector's background and other simple elements count be painting.
  1508. This causes the Inspector to look like it is loading slower than reality.
  1509. https://bugs.webkit.org/show_bug.cgi?id=112300
  1510. rdar://problem/13412219
  1511. Reviewed by Geoff Garen.
  1512. * WebCoreSupport/WebInspectorClient.mm:
  1513. (-[WebInspectorWindowController init]): Disable suppressesIncrementalRendering.
  1514. 2013-03-15 Nate Chapin <japhet@chromium.org>
  1515. Hide MainResourceLoader from the outside world
  1516. https://bugs.webkit.org/show_bug.cgi?id=109971
  1517. Reviewed by Adam Barth.
  1518. * WebCoreSupport/WebFrameLoaderClient.h:
  1519. (WebFrameLoaderClient):
  1520. * WebCoreSupport/WebFrameLoaderClient.mm:
  1521. (WebFrameLoaderClient::convertMainResourceLoadToDownload):
  1522. 2013-03-15 Abhishek Arya <inferno@chromium.org>
  1523. Replace static_casts with to* helper functions.
  1524. https://bugs.webkit.org/show_bug.cgi?id=112401
  1525. Reviewed by Stephen Chenney.
  1526. to* helper functions are preferred over static_cast calls since they
  1527. help to catch bad casts easily on the testing infrastructure.
  1528. * WebView/WebRenderNode.mm:
  1529. (copyRenderNode):
  1530. * WebView/WebView.mm:
  1531. (-[WebView _addScrollerDashboardRegionsForFrameView:dashboardRegions:]):
  1532. 2013-03-14 Manuel Rego Casasnovas <rego@igalia.com>
  1533. Add selectTrailingWhitespaceEnabled setting to WebCore::Page
  1534. https://bugs.webkit.org/show_bug.cgi?id=109404
  1535. Reviewed by Tony Chang.
  1536. Use new settings for smartInsertDeleteEnabled and
  1537. selectTrailingWhitespaceEnabled.
  1538. * WebCoreSupport/WebEditorClient.mm:
  1539. (WebEditorClient::smartInsertDeleteEnabled):
  1540. (WebEditorClient::isSelectTrailingWhitespaceEnabled):
  1541. * WebView/WebView.mm:
  1542. (-[WebView _commonInitializationWithFrameName:groupName:]): Initialize
  1543. settings from NSUserDefaults.
  1544. (-[WebView setSelectTrailingWhitespaceEnabled:]):
  1545. (-[WebView isSelectTrailingWhitespaceEnabled]):
  1546. (-[WebView setSmartInsertDeleteEnabled:]):
  1547. (-[WebView smartInsertDeleteEnabled]):
  1548. * WebView/WebViewData.h:
  1549. * WebView/WebViewData.mm:
  1550. (-[WebViewPrivate init]):
  1551. 2013-03-14 Abhishek Arya <inferno@chromium.org>
  1552. Replace static_casts with to* helper functions.
  1553. https://bugs.webkit.org/show_bug.cgi?id=112296
  1554. Reviewed by Kentaro Hara.
  1555. to* helper functions are preferred over static_cast calls since they
  1556. help to catch bad casts easily on the testing infrastructure.
  1557. * WebCoreSupport/WebFrameLoaderClient.mm:
  1558. (applyAppleDictionaryApplicationQuirkNonInlinePart):
  1559. * WebView/WebHTMLRepresentation.mm:
  1560. (searchForLabelsBeforeElement):
  1561. 2013-03-14 Alice Liu <alice.liu@apple.com>
  1562. Add to HistoryItem a way to know if its underlying CachedPage has expired.
  1563. https://bugs.webkit.org/show_bug.cgi?id=110652
  1564. Reviewed by Brady Eidson.
  1565. * History/WebHistoryItem.mm:
  1566. (-[WebHistoryItem _isInPageCache]): Added. Just calls and returns core imple's function.
  1567. (-[WebHistoryItem _hasCachedPageExpired]): Same thing.
  1568. * History/WebHistoryItemPrivate.h:
  1569. * WebView/WebPreferences.mm:
  1570. (-[WebPreferences _backForwardCacheExpirationInterval]): Address fixme, now that WebCore::Settings
  1571. has getters and setters with default value.
  1572. * WebView/WebView.mm:
  1573. (-[WebView _preferencesChanged:]): call setBackForwardCacheExpirationInterval similar to other settings.
  1574. 2013-03-13 Rik Cabanier <cabanier@adobe.com>
  1575. create runtime flags for CSS Compositing
  1576. https://bugs.webkit.org/show_bug.cgi?id=111818
  1577. Reviewed by Ryosuke Niwa.
  1578. Added a preference to enable CSS compositing.
  1579. * WebView/WebPreferenceKeysPrivate.h:
  1580. * WebView/WebPreferences.mm:
  1581. (+[WebPreferences initialize]):
  1582. (-[WebPreferences cssCompositingEnabled]):
  1583. (-[WebPreferences setCSSCompositingEnabled:]):
  1584. * WebView/WebPreferencesPrivate.h:
  1585. * WebView/WebView.mm:
  1586. (-[WebView _preferencesChanged:]):
  1587. 2013-03-13 Ryosuke Niwa <rniwa@webkit.org>
  1588. Threaded HTML Parser is missing feature define flags in all but Chromium port's build files
  1589. https://bugs.webkit.org/show_bug.cgi?id=112277
  1590. Reviewed by Adam Barth.
  1591. * Configurations/FeatureDefines.xcconfig:
  1592. 2013-03-13 Pavel Feldman <pfeldman@chromium.org>
  1593. Web Inspector: get rid of hiddenPanels filter
  1594. https://bugs.webkit.org/show_bug.cgi?id=112252
  1595. Reviewed by Vsevolod Vlasov.
  1596. * WebCoreSupport/WebInspectorClient.h:
  1597. (WebInspectorFrontendClient):
  1598. * WebCoreSupport/WebInspectorClient.mm:
  1599. * WebKit.order:
  1600. 2013-03-12 Geoffrey Garen <ggaren@apple.com>
  1601. Moved RunLoopTimer and SchedulePair to WTF
  1602. https://bugs.webkit.org/show_bug.cgi?id=112171
  1603. Reviewed by Oliver Hunt.
  1604. This will allow us to use timers in lower level primitives without
  1605. duplicating all the code.
  1606. * WebCoreSupport/WebFrameNetworkingContext.h:
  1607. (WebFrameNetworkingContext):
  1608. 2013-03-12 Abhishek Arya <inferno@chromium.org>
  1609. Replace static_casts with to* functions.
  1610. https://bugs.webkit.org/show_bug.cgi?id=112072
  1611. Reviewed by Philip Rogers.
  1612. to* functions are preferred over static_cast calls since they
  1613. help to catch bad casts easily on the testing infrastructure.
  1614. * WebView/WebView.mm:
  1615. (-[WebView _enterFullscreenForNode:WebCore::]):
  1616. 2013-03-11 Sheriff Bot <webkit.review.bot@gmail.com>
  1617. Unreviewed, rolling out r145462.
  1618. http://trac.webkit.org/changeset/145462
  1619. https://bugs.webkit.org/show_bug.cgi?id=112097
  1620. Compilation failure in PluginView.cpp (Requested by jamesr_ on
  1621. #webkit).
  1622. * WebView/WebView.mm:
  1623. (-[WebView _enterFullscreenForNode:WebCore::]):
  1624. 2013-03-11 Abhishek Arya <inferno@chromium.org>
  1625. Replace static_casts with to* functions.
  1626. https://bugs.webkit.org/show_bug.cgi?id=112072
  1627. Reviewed by Philip Rogers.
  1628. to* functions are preferred over static_cast calls since they
  1629. help to catch bad casts easily on the testing infrastructure.
  1630. * WebView/WebView.mm:
  1631. (-[WebView _enterFullscreenForNode:WebCore::]):
  1632. 2013-03-11 Jochen Eisinger <jochen@chromium.org>
  1633. Rename DefinitelyProcessingUserGesture to DefinitelyProcessingNewUserGesture
  1634. https://bugs.webkit.org/show_bug.cgi?id=111959
  1635. Reviewed by Alexey Proskuryakov.
  1636. * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
  1637. (WebKit::NetscapePluginInstanceProxy::evaluate):
  1638. * Plugins/WebNetscapePluginView.mm:
  1639. (-[WebNetscapePluginView sendEvent:isDrawRect:]):
  1640. 2013-03-11 Abhishek Arya <inferno@chromium.org>
  1641. Replace static_cast with to* helper functions.
  1642. https://bugs.webkit.org/show_bug.cgi?id=112045
  1643. Reviewed by Eric Seidel.
  1644. * WebView/WebRenderLayer.mm:
  1645. (+[WebRenderLayer nameForLayer:]):
  1646. 2013-03-11 Jer Noble <jer.noble@apple.com>
  1647. Unreviewed build fix. Remove stray brace which crept into r145409.
  1648. * WebView/WebFullScreenController.mm:
  1649. (-[WebFullScreenController performClose:]):
  1650. 2013-01-30 Jer Noble <jer.noble@apple.com>
  1651. Mac: Cmd-w should close full screen window.
  1652. https://bugs.webkit.org/show_bug.cgi?id=108406
  1653. Reviewed by Darin Adler.
  1654. Allow the user to close the full screen window with Cmd-w by making the full screen window
  1655. closable, and by intercepting performClose:.
  1656. * WebView/WebFullScreenController.mm:
  1657. (-[WebFullScreenController init]): Create a closable full screen window.
  1658. (-[WebFullScreenController performClose:]): When we receive a close request in full screen mode,
  1659. animate out of full screen.
  1660. 2013-03-07 Anders Carlsson <andersca@apple.com>
  1661. Add didFocusTextField:inFrame to WebFormDelegate
  1662. https://bugs.webkit.org/show_bug.cgi?id=111804
  1663. Reviewed by Dan Bernstein.
  1664. * WebCoreSupport/WebChromeClient.mm:
  1665. (WebChromeClient::focusedNodeChanged):
  1666. * WebView/WebFormDelegate.h:
  1667. * WebView/WebFormDelegate.m:
  1668. (-[WebFormDelegate didFocusTextField:inFrame:]):
  1669. 2013-03-04 Jer Noble <jer.noble@apple.com>
  1670. Default mouse cursor behavior should be auto-hide for full screen video with custom controls
  1671. https://bugs.webkit.org/show_bug.cgi?id=107601
  1672. Reviewed by Beth Dakin.
  1673. Enable the CURSOR_VISIBILITY feature.
  1674. * Configurations/FeatureDefines.xcconfig:
  1675. 2013-03-05 Geoffrey Garen <ggaren@apple.com>
  1676. Removed some dead code in the page cache
  1677. https://bugs.webkit.org/show_bug.cgi?id=111525
  1678. Reviewed by Alexey Proskuryakov.
  1679. Page cache autorelease doesn't exist anymore, so there's no need to keep
  1680. around these olds hacks.
  1681. This fixes <rdar://problem/4886761> Fix bizarre WebWindowWatcher policy in WebHistoryItem.
  1682. * History/WebHistoryItem.mm:
  1683. (+[WebHistoryItem _releaseAllPendingPageCaches]):
  1684. * History/WebHistoryItemInternal.h:
  1685. * Misc/WebCoreStatistics.mm:
  1686. (+[WebCoreStatistics autoreleasedPageCount]):
  1687. * WebView/WebView.mm:
  1688. (-[WebView _commonInitializationWithFrameName:groupName:]):
  1689. 2013-03-06 Dmitry Zvorygin <zvorygin@chromium.org>
  1690. Introduce new message sources for logging.
  1691. https://bugs.webkit.org/show_bug.cgi?id=110968
  1692. Reviewed by Pavel Feldman.
  1693. * WebCoreSupport/WebChromeClient.mm:
  1694. * WebView/WebUIDelegatePrivate.h:
  1695. 2013-03-05 Kent Tamura <tkent@chromium.org>
  1696. Rename WebCore/editing/visible_units.* to VisibleUnits.*
  1697. https://bugs.webkit.org/show_bug.cgi?id=111426
  1698. Reviewed by Alexey Proskuryakov.
  1699. * WebView/WebFrame.mm:
  1700. 2013-03-05 James Robinson <jamesr@chromium.org>
  1701. ContainerNode::setActive should not sleep for 100ms on platforms that do not implement synchronous repaint(true) semantics
  1702. https://bugs.webkit.org/show_bug.cgi?id=87054
  1703. Reviewed by Darin Adler.
  1704. The Mac WebKit1 port supports immediate invalidations.
  1705. * WebCoreSupport/WebChromeClient.h:
  1706. (WebChromeClient):
  1707. * WebCoreSupport/WebChromeClient.mm:
  1708. (WebChromeClient::supportsImmediateInvalidation):
  1709. 2013-03-05 David Kilzer <ddkilzer@apple.com>
  1710. BUILD FIX (r144698): Only enable SPEECH_SYNTHESIS for Mac
  1711. <http://webkit.org/b/106742>
  1712. Fixes the following build failures:
  1713. Undefined symbols for architecture i386:
  1714. "__ZTVN7WebCore25PlatformSpeechSynthesizerE", referenced from:
  1715. __ZN7WebCore25PlatformSpeechSynthesizerC2EPNS_31PlatformSpeechSynthesizerClientE in PlatformSpeechSynthesizer.o
  1716. NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  1717. "__ZN7WebCore25PlatformSpeechSynthesizer19initializeVoiceListEv", referenced from:
  1718. __ZN7WebCore25PlatformSpeechSynthesizerC2EPNS_31PlatformSpeechSynthesizerClientE in PlatformSpeechSynthesizer.o
  1719. ld: symbol(s) not found for architecture i386
  1720. * Configurations/FeatureDefines.xcconfig:
  1721. - Only set ENABLE_SPEECH_SYNTHESIS for the macosx platform.
  1722. 2013-03-04 David Kilzer <ddkilzer@apple.com>
  1723. BUILD FIX (r144662): Import JSBase.h in WebFrameLoadDelegate.h
  1724. <http://webkit.org/b/111269>
  1725. Fixes the following build failure:
  1726. In file included from Source/WebKit/ios/DefaultDelegates/WebDefaultFrameLoadDelegate.m:11:
  1727. In file included from Source/WebKit/mac/WebView/WebFrameLoadDelegatePrivate.h:29:
  1728. Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:41:5: error: 'JSC_OBJC_API_ENABLED' is not defined, evaluates to 0 [-Werror,-Wundef]
  1729. #if JSC_OBJC_API_ENABLED
  1730. ^
  1731. Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:207:5: error: 'JSC_OBJC_API_ENABLED' is not defined, evaluates to 0 [-Werror,-Wundef]
  1732. #if JSC_OBJC_API_ENABLED
  1733. ^
  1734. 2 errors generated.
  1735. * WebView/WebFrameLoadDelegate.h: Include JSBase.h.
  1736. 2013-03-04 Chris Fleizach <cfleizach@apple.com>
  1737. Support WebSpeech - Speech Synthesis
  1738. https://bugs.webkit.org/show_bug.cgi?id=106742
  1739. Reviewed by Simon Fraser.
  1740. Enable speech synthesis for the Mac.
  1741. * Configurations/FeatureDefines.xcconfig:
  1742. 2013-03-04 Mark Hahnenberg <mhahnenberg@apple.com>
  1743. Remove contextInternalContext from JSContextInternal.h
  1744. https://bugs.webkit.org/show_bug.cgi?id=111356
  1745. Reviewed by Geoffrey Garen.
  1746. We don't need it any more since we have globalContextRef in JSContext.
  1747. * WebView/WebScriptWorld.mm:
  1748. (+[WebScriptWorld scriptWorldForJavaScriptContext:]):
  1749. 2013-03-04 Laszlo Gombos <l.gombos@samsung.com>
  1750. JSC_OBJC_API_ENABLED should be removed from FeatureDefines.h
  1751. https://bugs.webkit.org/show_bug.cgi?id=111269
  1752. Reviewed by Mark Hahnenberg.
  1753. Include JavaScriptCore/JSBase.h for the definition of JSC_OBJC_API_ENABLED.
  1754. * WebView/WebDelegateImplementationCaching.h:
  1755. 2013-03-04 Kunihiko Sakamoto <ksakamoto@chromium.org>
  1756. Add build flag for FontLoader
  1757. https://bugs.webkit.org/show_bug.cgi?id=111289
  1758. Reviewed by Benjamin Poulain.
  1759. Add ENABLE_FONT_LOAD_EVENTS build flag (disabled by default).
  1760. * Configurations/FeatureDefines.xcconfig:
  1761. 2013-03-03 Benjamin Poulain <benjamin@webkit.org>
  1762. [Mac] Get rid of a useless method from DOMHTMLInputElement
  1763. https://bugs.webkit.org/show_bug.cgi?id=111279
  1764. Reviewed by Sam Weinig.
  1765. * DOM/WebDOMOperations.mm:
  1766. * DOM/WebDOMOperationsPrivate.h:
  1767. setValueForUser: is already privately exposed by DOMHTMLInputElement,
  1768. no need to have it twice.
  1769. 2013-03-03 Adam Barth <abarth@webkit.org>
  1770. Unreviewed attempted build fix. Adds back some includes removed in
  1771. http://trac.webkit.org/changeset/144565.
  1772. * DOM/WebDOMOperations.mm:
  1773. * Misc/WebNSPasteboardExtras.mm:
  1774. * WebCoreSupport/WebFrameNetworkingContext.mm:
  1775. * WebView/WebRenderLayer.mm:
  1776. * WebView/WebRenderNode.mm:
  1777. 2013-03-03 Adam Barth <abarth@webkit.org>
  1778. Unreviewed rollout of http://trac.webkit.org/r144530
  1779. As described in https://bugs.webkit.org/show_bug.cgi?id=111167 and
  1780. https://bugs.webkit.org/show_bug.cgi?id=111035, this patch caused a
  1781. large number of ASSERTs in chromium-win.
  1782. * DOM/WebDOMOperations.mm:
  1783. * Misc/WebNSPasteboardExtras.mm:
  1784. * WebCoreSupport/WebFrameNetworkingContext.mm:
  1785. * WebView/WebRenderLayer.mm:
  1786. * WebView/WebRenderNode.mm:
  1787. 2013-02-18 Darin Adler <darin@apple.com>
  1788. Cut down the number of source files that depend on Clipboard.h
  1789. https://bugs.webkit.org/show_bug.cgi?id=110030
  1790. Reviewed by Ryosuke Niwa.
  1791. * WebView/WebPDFView.mm: Add include of Clipboard.h since we use it
  1792. here and the world no longer includes it everywhere.
  1793. 2013-03-02 Benjamin Poulain <bpoulain@apple.com>
  1794. Move computedStyleIncludingVisitedInfo from TestRunner to Internals
  1795. https://bugs.webkit.org/show_bug.cgi?id=109772
  1796. Reviewed by Andreas Kling.
  1797. * WebView/WebView.mm:
  1798. * WebView/WebViewPrivate.h:
  1799. 2013-03-02 David Kilzer <ddkilzer@apple.com>
  1800. BUILD FIX (r143637): Predeclare JSContext as an Objective-C class
  1801. <http://webkit.org/b/106059>
  1802. Fixes the following build failure:
  1803. In file included from Source/WebKit/ios/DefaultDelegates/WebDefaultFrameLoadDelegate.m:11:
  1804. In file included from Source/WebKit/mac/WebView/WebFrameLoadDelegatePrivate.h:29:
  1805. Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:215:64: error: expected a type
  1806. - (void)webView:(WebView *)webView didCreateJavaScriptContext:(JSContext *)context forFrame:(WebFrame *)frame;
  1807. ^
  1808. 1 error generated.
  1809. * WebView/WebFrameLoadDelegate.h: Add @class JSContext
  1810. declaration.
  1811. 2013-02-28 Alexey Proskuryakov <ap@apple.com>
  1812. Reduce amount of rebuilding when touching networking headers
  1813. https://bugs.webkit.org/show_bug.cgi?id=111035
  1814. Reviewed by Eric Seidel.
  1815. Adding includes that are now necessary because WebCore headers don't have them
  1816. any more.
  1817. * DOM/WebDOMOperations.mm:
  1818. * Misc/WebNSPasteboardExtras.mm:
  1819. * WebCoreSupport/WebFrameNetworkingContext.mm:
  1820. * WebView/WebRenderLayer.mm:
  1821. * WebView/WebRenderNode.mm:
  1822. 2013-03-01 Jason Anderssen <janderssen@gmail.com>
  1823. Move markerTextForListItem from TestRunner to Internals
  1824. https://bugs.webkit.org/show_bug.cgi?id=110939
  1825. Reviewed by Benjamin Poulain.
  1826. * DOM/WebDOMOperations.mm:
  1827. * DOM/WebDOMOperationsPrivate.h:
  1828. 2013-02-28 Sam Weinig <sam@webkit.org>
  1829. Add SPI for marking a WebView as doing things on behalf of another process
  1830. https://bugs.webkit.org/show_bug.cgi?id=111125
  1831. Reviewed by Alexey Proskuryakov.
  1832. * WebCoreSupport/WebFrameNetworkingContext.h:
  1833. (WebFrameNetworkingContext):
  1834. * WebCoreSupport/WebFrameNetworkingContext.mm:
  1835. (WebFrameNetworkingContext::sourceApplicationAuditData):
  1836. * WebView/WebView.mm:
  1837. (-[WebView _setSourceApplicationAuditData:]):
  1838. (-[WebView _sourceApplicationAuditData]):
  1839. * WebView/WebViewData.h:
  1840. * WebView/WebViewData.mm:
  1841. (-[WebViewPrivate dealloc]):
  1842. * WebView/WebViewPrivate.h:
  1843. Add SPI for setting a source application for a WebView.
  1844. 2013-03-01 Sheriff Bot <webkit.review.bot@gmail.com>
  1845. Unreviewed, rolling out r144422 and r144424.
  1846. http://trac.webkit.org/changeset/144422
  1847. http://trac.webkit.org/changeset/144424
  1848. https://bugs.webkit.org/show_bug.cgi?id=111167
  1849. Caused over 20 tests to fail assertion on Chromium Win port as
  1850. ASSERTION FAILED: m_platformRequestUpdated (Requested by
  1851. toyoshim on #webkit).
  1852. * DOM/WebDOMOperations.mm:
  1853. * Misc/WebNSPasteboardExtras.mm:
  1854. * WebCoreSupport/WebFrameNetworkingContext.mm:
  1855. * WebView/WebRenderLayer.mm:
  1856. * WebView/WebRenderNode.mm:
  1857. 2013-02-28 Alexey Proskuryakov <ap@apple.com>
  1858. Reduce amount of rebuilding when touching networking headers
  1859. https://bugs.webkit.org/show_bug.cgi?id=111035
  1860. Reviewed by Eric Seidel.
  1861. Adding includes that are now necessary because WebCore headers don't have them
  1862. any more.
  1863. * DOM/WebDOMOperations.mm:
  1864. * Misc/WebNSPasteboardExtras.mm:
  1865. * WebCoreSupport/WebFrameNetworkingContext.mm:
  1866. * WebView/WebRenderLayer.mm:
  1867. * WebView/WebRenderNode.mm:
  1868. 2013-02-27 John Bauman <jbauman@chromium.org>
  1869. Plugin in iframe may not display
  1870. https://bugs.webkit.org/show_bug.cgi?id=109879
  1871. Reviewed by Simon Fraser.
  1872. Ensure NetscapePluginWidget informs the plugin view of the cliprect change directly.
  1873. * Plugins/WebBaseNetscapePluginView.h:
  1874. * WebCoreSupport/WebFrameLoaderClient.mm:
  1875. (NetscapePluginWidget::clipRectChanged):
  1876. 2013-02-26 Alexey Proskuryakov <ap@apple.com>
  1877. Don't add a body to platform request until necessary
  1878. https://bugs.webkit.org/show_bug.cgi?id=110900
  1879. Reviewed by Brady Eidson.
  1880. WebKit1 behavior is unchanged, body is added on every conversion.
  1881. * WebCoreSupport/WebFrameLoaderClient.mm:
  1882. (WebFrameLoaderClient::convertMainResourceLoadToDownload):
  1883. (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
  1884. (WebFrameLoaderClient::assignIdentifierToInitialRequest):
  1885. (WebFrameLoaderClient::dispatchWillSendRequest):
  1886. (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
  1887. (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
  1888. (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
  1889. (WebFrameLoaderClient::updateGlobalHistory):
  1890. (WebFrameLoaderClient::canHandleRequest):
  1891. * WebView/WebDataSource.mm:
  1892. (-[WebDataSource initialRequest]):
  1893. (-[WebDataSource request]):
  1894. * WebView/WebFrame.mm:
  1895. (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
  1896. 2013-02-27 Glenn Adams <glenn@skynav.com>
  1897. Add ENABLE_CSS3_TEXT_LINE_BREAK flag.
  1898. https://bugs.webkit.org/show_bug.cgi?id=110944
  1899. Reviewed by Dean Jackson.
  1900. * Configurations/FeatureDefines.xcconfig:
  1901. 2013-02-26 Jer Noble <jer.noble@apple.com>
  1902. Unreviewed build fix; use correct macro for platform name in FeatureDefines.xcconfig.
  1903. * Configurations/FeatureDefines.xcconfig:
  1904. 2013-02-26 Dmitry Zvorygin <zvorygin@chromium.org>
  1905. Merged Tip and Debug log levels for web console.
  1906. https://bugs.webkit.org/show_bug.cgi?id=109919
  1907. Reviewed by Pavel Feldman.
  1908. In every component either TIP or DEBUG level was used for reporting,
  1909. but not both. This patch is prerequisite for Web Inspector console log filtering.
  1910. * WebCoreSupport/WebChromeClient.mm:
  1911. (stringForMessageLevel):
  1912. * WebView/WebUIDelegatePrivate.h:
  1913. 2013-02-21 Jeffrey Pfau <jpfau@apple.com>
  1914. Optionally partition cache to prevent using cache for tracking
  1915. https://bugs.webkit.org/show_bug.cgi?id=110269
  1916. Reviewed by Maciej Stachowiak.
  1917. Update WKSI bindings and add feature defines.
  1918. * Configurations/FeatureDefines.xcconfig: Add defines for cache partitioning and public suffix list usage
  1919. * WebCoreSupport/WebSystemInterface.mm:
  1920. (InitWebCoreSystemInterface):
  1921. 2013-02-25 Jer Noble <jer.noble@apple.com>
  1922. Normalize ENABLE_ENCRYPTED_MEDIA definitions across all FeatureDefines files.
  1923. https://bugs.webkit.org/show_bug.cgi?id=110806
  1924. Reviewed by Alexey Proskuryakov.
  1925. Ensure both ENCRYPTED_MEDIA and ENCRYPTED_MEDIA_V2 are enabled on macosx_1090.
  1926. * Configurations/FeatureDefines.xcconfig:
  1927. 2013-02-25 Andreas Kling <akling@apple.com>
  1928. Reduce amount of code that includes StylePropertySet.h
  1929. <http://webkit.org/b/101149>
  1930. Reviewed by Antti Koivisto.
  1931. * WebCoreSupport/WebEditorClient.mm:
  1932. * WebView/WebFrame.mm:
  1933. * WebView/WebView.mm:
  1934. 2013-02-24 Andreas Kling <akling@apple.com>
  1935. Reduce include graph of JSDOMBinding.h
  1936. <http://webkit.org/b/110709>
  1937. Reviewed by Antti Koivisto.
  1938. * WebView/WebHTMLView.mm:
  1939. 2013-02-21 Grzegorz Czajkowski <g.czajkowski@samsung.com>
  1940. Allow to retrieve the request data from abstract TextCheckingRequest to be accessible for WK2
  1941. https://bugs.webkit.org/show_bug.cgi?id=110208
  1942. Reviewed by Hajime Morrita.
  1943. * WebCoreSupport/WebEditorClient.mm:
  1944. (WebEditorClient::didCheckSucceed):
  1945. (WebEditorClient::requestCheckingOfString):
  1946. Extract the request data as it is the member of 'TextCheckingRequest'.
  1947. 2013-02-19 Mark Hahnenberg <mhahnenberg@apple.com>
  1948. Objective-C API: Need a way to use the Objective-C JavaScript API with WebKit
  1949. https://bugs.webkit.org/show_bug.cgi?id=106059
  1950. Reviewed by Geoffrey Garen.
  1951. Addition of appropriate delegate callbacks and support to the WebKit API.
  1952. * WebCoreSupport/WebFrameLoaderClient.mm:
  1953. * WebView/WebDelegateImplementationCaching.h:
  1954. (WebFrameLoadDelegateImplementationCache):
  1955. * WebView/WebFrame.h:
  1956. * WebView/WebFrame.mm:
  1957. (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
  1958. (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
  1959. (-[WebFrame _javaScriptContextForScriptWorld:]):
  1960. (-[WebFrame javaScriptContext]):
  1961. * WebView/WebFrameLoadDelegate.h:
  1962. * WebView/WebFramePrivate.h:
  1963. * WebView/WebScriptDebugDelegate.mm:
  1964. (-[WebScriptCallFrame _convertValueToObjcValue:JSC::]):
  1965. (-[WebScriptCallFrame exception]):
  1966. (-[WebScriptCallFrame evaluateWebScript:]):
  1967. * WebView/WebScriptWorld.h:
  1968. * WebView/WebScriptWorld.mm:
  1969. (+[WebScriptWorld scriptWorldForJavaScriptContext:]):
  1970. * WebView/WebView.mm:
  1971. (-[WebView _cacheFrameLoadDelegateImplementations]):
  1972. (aeDescFromJSValue):
  1973. (-[WebView aeDescByEvaluatingJavaScriptFromString:]):
  1974. (-[WebView _computedStyleIncludingVisitedInfo:forElement:]):
  1975. 2013-02-20 Dirk Schulze <krit@webkit.org>
  1976. Enable CANVAS_PATH flag
  1977. https://bugs.webkit.org/show_bug.cgi?id=108508
  1978. Reviewed by Simon Fraser.
  1979. Enable CANVAS_PATH flag on trunk.
  1980. * Configurations/FeatureDefines.xcconfig:
  1981. 2013-02-19 Tim Horton <timothy_horton@apple.com>
  1982. Clarify isInWindow vs. isVisible path through to RenderLayerCompositor
  1983. https://bugs.webkit.org/show_bug.cgi?id=110261
  1984. <rdar://problem/13196122>
  1985. Reviewed by Simon Fraser.
  1986. * WebView/WebView.mm:
  1987. (-[WebView viewWillMoveToWindow:]):
  1988. (-[WebView viewDidMoveToWindow]):
  1989. Use Page::setIsInWindow in addition to willMoveOffscreen/didMoveOnscreen.
  1990. 2013-02-18 Anders Carlsson <andersca@apple.com>
  1991. Add a DefaultHash for RefPtr<SecurityOrigin>
  1992. https://bugs.webkit.org/show_bug.cgi?id=110170
  1993. Reviewed by Andreas Kling.
  1994. Remove all explicit uses of SecurityOriginHash.
  1995. * WebCoreSupport/WebApplicationCache.mm:
  1996. (+[WebApplicationCache originsWithCache]):
  1997. 2013-02-15 Eric Carlson <eric.carlson@apple.com>
  1998. [Mac] remove wkCaptionAppearance from WebKitSystemInterface
  1999. https://bugs.webkit.org/show_bug.cgi?id=109996
  2000. Reviewed by Simon Fraser.
  2001. * WebCoreSupport/WebSystemInterface.mm:
  2002. (InitWebCoreSystemInterface):
  2003. 2013-02-15 Sheriff Bot <webkit.review.bot@gmail.com>
  2004. Unreviewed, rolling out r143088.
  2005. http://trac.webkit.org/changeset/143088
  2006. https://bugs.webkit.org/show_bug.cgi?id=110000
  2007. Breaks the build (Requested by dgorbik on #webkit).
  2008. * WebCoreSupport/WebSystemInterface.mm:
  2009. (InitWebCoreSystemInterface):
  2010. 2013-02-15 Eric Carlson <eric.carlson@apple.com>
  2011. [Mac] remove wkCaptionAppearance from WebKitSystemInterface
  2012. https://bugs.webkit.org/show_bug.cgi?id=109996
  2013. Reviewed by Simon Fraser.
  2014. * WebCoreSupport/WebSystemInterface.mm:
  2015. (InitWebCoreSystemInterface):
  2016. 2013-02-15 Allan Sandfeld Jensen <allan.jensen@digia.com>
  2017. Simplify hitTestResultAtPoint and nodesFromRect APIs
  2018. https://bugs.webkit.org/show_bug.cgi?id=95720
  2019. Reviewed by Julien Chaffraix.
  2020. Update calls to new API.
  2021. * WebCoreSupport/WebFrameLoaderClient.mm:
  2022. (WebFrameLoaderClient::actionDictionary):
  2023. * WebView/WebFrame.mm:
  2024. (-[WebFrame elementAtPoint:]):
  2025. * WebView/WebHTMLView.mm:
  2026. (-[WebHTMLView elementAtPoint:allowShadowContent:]):
  2027. 2013-02-14 David Kilzer <ddkilzer@apple.com>
  2028. [Mac] Clean up WARNING_CFLAGS
  2029. <http://webkit.org/b/109747>
  2030. <rdar://problem/13208373>
  2031. Reviewed by Mark Rowe.
  2032. * Configurations/Base.xcconfig: Use
  2033. GCC_WARN_64_TO_32_BIT_CONVERSION to enable and disable
  2034. -Wshorten-64-to-32 rather than WARNING_CFLAGS.
  2035. 2013-02-13 Zan Dobersek <zdobersek@igalia.com>
  2036. The 'global isinf/isnan' compiler quirk required when using clang with libstdc++
  2037. https://bugs.webkit.org/show_bug.cgi?id=109325
  2038. Reviewed by Anders Carlsson.
  2039. Prefix calls to the isinf and isnan methods with std::, declaring we want to use the
  2040. two methods as they're provided by the C++ standard library being used.
  2041. * tests/DecimalTest.cpp:
  2042. (TEST_F):
  2043. 2013-02-12 Joseph Pecoraro <pecoraro@apple.com>
  2044. [iOS] Enable PAGE_VISIBILITY_API
  2045. https://bugs.webkit.org/show_bug.cgi?id=109399
  2046. Reviewed by David Kilzer.
  2047. * Configurations/FeatureDefines.xcconfig:
  2048. 2013-02-12 David Kilzer <ddkilzer@apple.com>
  2049. BUILD FIX (r142576): WK1 build fails when ENABLE(DELETION_UI) is off
  2050. <https://bugs.webkit.org/show_bug.cgi?id=109534>
  2051. Fixes the following build failure:
  2052. WebEditorClient.mm:243:23: error: out-of-line definition of 'shouldShowDeleteInterface' does not match any declaration in 'WebEditorClient'
  2053. bool WebEditorClient::shouldShowDeleteInterface(HTMLElement* element)
  2054. ^~~~~~~~~~~~~~~~~~~~~~~~~
  2055. * WebCoreSupport/WebEditorClient.mm:
  2056. (WebEditorClient::shouldShowDeleteInterface): Protect with
  2057. ENABLE(DELETION_UI) macro.
  2058. 2013-02-11 Ryosuke Niwa <rniwa@webkit.org>
  2059. Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
  2060. https://bugs.webkit.org/show_bug.cgi?id=109534
  2061. Reviewed by Anders Carlsson.
  2062. * WebCoreSupport/WebEditorClient.h:
  2063. 2013-02-11 Benjamin Poulain <benjamin@webkit.org>
  2064. Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
  2065. https://bugs.webkit.org/show_bug.cgi?id=109349
  2066. Reviewed by Sam Weinig.
  2067. * WebView/WebView.mm:
  2068. * WebView/WebViewPrivate.h:
  2069. 2013-02-10 Dan Bernstein <mitz@apple.com>
  2070. Added *.pdf to EXCLUDED_SOURCE_FILE_NAMES_iphoneos.
  2071. Rubber-stamped by Anders Carlsson.
  2072. * Configurations/WebKit.xcconfig:
  2073. 2013-02-10 Jae Hyun Park <jae.park08@gmail.com>
  2074. Rename ENABLE(GLIB_SUPPORT) to USE(GLIB)
  2075. https://bugs.webkit.org/show_bug.cgi?id=104266
  2076. Reviewed by Philippe Normand.
  2077. Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
  2078. the existing macro naming conventions.
  2079. From Platform.h
  2080. USE() - use a particular third-party library or optional OS service
  2081. ENABLE() - turn on a specific feature of WebKit
  2082. * WebView/WebView.mm:
  2083. (-[WebView _commonInitializationWithFrameName:groupName:]):
  2084. (-[WebView _close]):
  2085. * WebView/WebViewData.h:
  2086. * WebView/WebViewInternal.h:
  2087. 2013-02-08 Benjamin Poulain <bpoulain@apple.com>
  2088. Move workerThreadCount from TestRunner to WebCore Internals
  2089. https://bugs.webkit.org/show_bug.cgi?id=109239
  2090. Reviewed by Darin Adler.
  2091. Get rid of WebWorkersPrivate, which was only needed for DRT.
  2092. * WebKit.exp:
  2093. * Workers/WebWorkersPrivate.h: Removed.
  2094. * Workers/WebWorkersPrivate.mm: Removed.
  2095. 2013-02-07 Sheriff Bot <webkit.review.bot@gmail.com>
  2096. Unreviewed, rolling out r142212.
  2097. http://trac.webkit.org/changeset/142212
  2098. https://bugs.webkit.org/show_bug.cgi?id=109255
  2099. Causes ASSERT(!m_installed) on launch (Requested by smfr on
  2100. #webkit).
  2101. * WebView/WebView.mm:
  2102. (-[WebView _commonInitializationWithFrameName:groupName:]):
  2103. (WebInstallMemoryPressureHandler):
  2104. 2013-02-06 Gavin Barraclough <barraclough@apple.com>
  2105. PluginProcess should quit immediately if idle in response to low-memory notifications
  2106. https://bugs.webkit.org/show_bug.cgi?id=109103
  2107. <rdar://problem/12679827>
  2108. Reviewed by Darin Adler.
  2109. * WebView/WebView.mm:
  2110. (-[WebView _commonInitializationWithFrameName:groupName:]):
  2111. - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
  2112. (WebInstallMemoryPressureHandler):
  2113. - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
  2114. 2013-02-07 Benjamin Poulain <bpoulain@apple.com>
  2115. Move pauseAnimation/pauseTransition from TestRunner to Internals
  2116. https://bugs.webkit.org/show_bug.cgi?id=109107
  2117. Reviewed by Anders Carlsson.
  2118. * WebView/WebFrame.mm:
  2119. * WebView/WebFramePrivate.h:
  2120. 2013-02-06 Mike West <mkwst@chromium.org>
  2121. Add an ENABLE_NOSNIFF feature flag.
  2122. https://bugs.webkit.org/show_bug.cgi?id=109029
  2123. Reviewed by Jochen Eisinger.
  2124. This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
  2125. when processing script and other resource types.
  2126. * Configurations/FeatureDefines.xcconfig:
  2127. 2013-02-04 Benjamin Poulain <bpoulain@apple.com>
  2128. Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
  2129. https://bugs.webkit.org/show_bug.cgi?id=108741
  2130. Reviewed by Tony Chang.
  2131. * WebView/WebFrame.mm:
  2132. * WebView/WebFramePrivate.h:
  2133. 2013-02-04 Enrica Casucci <enrica@apple.com>
  2134. Add specific EditActions for Bold and Italic commands.
  2135. https://bugs.webkit.org/show_bug.cgi?id=108842.
  2136. <rdar://problem/13098252>
  2137. Reviewed by Ryosuke Niwa.
  2138. * WebCoreSupport/WebEditorClient.mm:
  2139. (undoNameForEditAction):
  2140. 2013-02-03 David Kilzer <ddkilzer@apple.com>
  2141. Upstream ENABLE_PDFKIT_PLUGIN settting
  2142. <http://webkit.org/b/108792>
  2143. Reviewed by Tim Horton.
  2144. * Configurations/FeatureDefines.xcconfig: Disable PDFKIT_PLUGIN
  2145. on iOS since PDFKit is a Mac-only framework.
  2146. 2013-02-02 David Kilzer <ddkilzer@apple.com>
  2147. Upstream iOS FeatureDefines
  2148. <http://webkit.org/b/108753>
  2149. Reviewed by Anders Carlsson.
  2150. * Configurations/FeatureDefines.xcconfig:
  2151. - ENABLE_DEVICE_ORIENTATION: Add iOS configurations.
  2152. - ENABLE_PLUGIN_PROXY_FOR_VIDEO: Ditto.
  2153. - FEATURE_DEFINES: Add ENABLE_PLUGIN_PROXY_FOR_VIDEO. Add
  2154. PLATFORM_NAME variant to reduce future merge conflicts.
  2155. 2013-02-01 Alexis Menard <alexis@webkit.org>
  2156. Enable unprefixed CSS transitions by default.
  2157. https://bugs.webkit.org/show_bug.cgi?id=108216
  2158. Reviewed by Dean Jackson.
  2159. Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
  2160. to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
  2161. guard the unprefixing work for CSS Transforms and animations.
  2162. * Configurations/FeatureDefines.xcconfig:
  2163. 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
  2164. Editor::m_compositionNode not updated on HTMLInputElement::setValue()
  2165. https://bugs.webkit.org/show_bug.cgi?id=107737
  2166. Reviewed by Ryosuke Niwa.
  2167. * WebView/WebHTMLView.mm:
  2168. (-[WebHTMLView _updateSelectionForInputManager]):
  2169. 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
  2170. Unreviewed, rolling out r141479.
  2171. http://trac.webkit.org/changeset/141479
  2172. https://bugs.webkit.org/show_bug.cgi?id=108564
  2173. breaks chromium test (Requested by morrita on #webkit).
  2174. * WebView/WebHTMLView.mm:
  2175. (-[WebHTMLView _updateSelectionForInputManager]):
  2176. 2013-01-31 Enrica Casucci <enrica@apple.com>
  2177. Mac: Editor::baseWritingDirectionForSelectionStart should return WritingDirection instead of NSWritingDirection.
  2178. https://bugs.webkit.org/show_bug.cgi?id=108519.
  2179. Reviewed by Sam Weinig.
  2180. There is no need to use AppKit types here.
  2181. baseWritingDirectionForSelectionStart now returns WritingDirection and
  2182. WebHTMLView toggleWritingDirection has been modified accordingly.
  2183. * WebView/WebHTMLView.mm:
  2184. (-[WebHTMLView toggleBaseWritingDirection:]):
  2185. 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
  2186. Editor::m_compositionNode not updated on HTMLInputElement::setValue()
  2187. https://bugs.webkit.org/show_bug.cgi?id=107737
  2188. Reviewed by Ryosuke Niwa.
  2189. * WebView/WebHTMLView.mm:
  2190. (-[WebHTMLView _updateSelectionForInputManager]):
  2191. 2013-01-31 Joseph Pecoraro <pecoraro@apple.com>
  2192. Disable ENABLE_FULLSCREEN_API on iOS
  2193. https://bugs.webkit.org/show_bug.cgi?id=108250
  2194. Reviewed by Benjamin Poulain.
  2195. * Configurations/FeatureDefines.xcconfig:
  2196. 2013-01-31 Enrica Casucci <enrica@apple.com>
  2197. WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
  2198. https://bugs.webkit.org/show_bug.cgi?id=108396.
  2199. <rdar://problem/12920461>
  2200. Reviewed by Alexey Proskuryakov.
  2201. Adds stub implementation for WebKit of the new EditorClient methods.
  2202. * WebCoreSupport/WebEditorClient.h:
  2203. * WebCoreSupport/WebEditorClient.mm:
  2204. (WebEditorClient::willWriteSelectionToPasteboard):
  2205. (WebEditorClient::getClientPasteboardDataForRange):
  2206. 2013-01-31 Brady Eidson <beidson@apple.com>
  2207. Lack of a log level string should not obliterate compiled in logging channel state.
  2208. https://bugs.webkit.org/show_bug.cgi?id=108502
  2209. Reviewed by Alexey Proskuryakov and Sam Weinig.
  2210. * Misc/WebKitLogging.m: If there's no log level string, leave the channel state alone.
  2211. 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
  2212. Unreviewed, rolling out r140983.
  2213. http://trac.webkit.org/changeset/140983
  2214. https://bugs.webkit.org/show_bug.cgi?id=108277
  2215. Unfortunately, this API has one last client (Requested by
  2216. abarth on #webkit).
  2217. * Configurations/FeatureDefines.xcconfig:
  2218. 2012-11-28 Jer Noble <jer.noble@apple.com>
  2219. Allow clients to ask for the WebView/WKView placeholder view when in full screen mode.
  2220. https://bugs.webkit.org/show_bug.cgi?id=103558
  2221. <rdar://problem/12763112>
  2222. Reviewed by Benjamin Poulain.
  2223. Clients may want to behave differently when their WebView/WKView has been swapped out by a placeholder
  2224. view when in full screen mode. Add a simple accessor for the existing placeholder view to
  2225. WebFullScreenController and WebView.
  2226. * WebView/WebFullScreenController.h:
  2227. * WebView/WebFullScreenController.mm:
  2228. (-[WebFullScreenController webViewPlaceholder]): Added simple accessor.
  2229. * WebView/WebView.mm:
  2230. (-[WebView fullScreenPlaceholderView]): Added simple accessor.
  2231. 2013-01-28 Pratik Solanki <psolanki@apple.com>
  2232. PLATFORM(IOS) should come before __MAC_OS_X_VERSION_MIN_REQUIRED
  2233. https://bugs.webkit.org/show_bug.cgi?id=108101
  2234. Reviewed by Benjamin Poulain.
  2235. Since iOS does not define __MAC_OS_X_VERSION_MIN_REQUIRED, any usage of
  2236. __MAC_OS_X_VERSION_MIN_REQUIRED should be after a PLATFORM(IOS) check.
  2237. * WebCoreSupport/WebSystemInterface.mm:
  2238. (InitWebCoreSystemInterface):
  2239. 2013-01-28 Joseph Pecoraro <pecoraro@apple.com>
  2240. [Mac] Update PageVisibilityState when WebView is hidden / visible
  2241. https://bugs.webkit.org/show_bug.cgi?id=107509
  2242. Reviewed by Sam Weinig.
  2243. * WebView/WebView.mm:
  2244. * WebView/WebViewPrivate.h:
  2245. (-[WebView _commonInitializationWithFrameName:groupName:]):
  2246. Set the initial visibility of the page.
  2247. (-[WebView addWindowObserversForWindow:]):
  2248. (-[WebView removeWindowObservers]):
  2249. (-[WebView _isViewVisible]):
  2250. (-[WebView _updateVisibilityState]):
  2251. (-[WebView viewDidMoveToWindow]):
  2252. (-[WebView _windowVisibilityChanged:]):
  2253. Update visibility state in the same ways WK2 does. This involves
  2254. listening for some new NSWindow delegates.
  2255. 2013-01-28 Joseph Pecoraro <pecoraro@apple.com>
  2256. Improve PageVisibility API with enums
  2257. https://bugs.webkit.org/show_bug.cgi?id=107364
  2258. Reviewed by Sam Weinig.
  2259. * WebView/WebView.mm:
  2260. * WebView/WebViewPrivate.h:
  2261. (core):
  2262. (-[WebView _setVisibilityState:isInitialState:]):
  2263. Switch the private API form int to a WebPageVisibilityState enum.
  2264. 2013-01-28 Adam Barth <abarth@webkit.org>
  2265. Remove webkitNotifications.createHTMLNotification
  2266. https://bugs.webkit.org/show_bug.cgi?id=107598
  2267. Reviewed by Benjamin Poulain.
  2268. * Configurations/FeatureDefines.xcconfig:
  2269. 2013-01-25 Andy Estes <aestes@apple.com>
  2270. Wrap content filtering code in an object
  2271. https://bugs.webkit.org/show_bug.cgi?id=107914
  2272. Reviewed by Alexey Proskuryakov.
  2273. * WebCoreSupport/WebSystemInterface.mm:
  2274. (InitWebCoreSystemInterface): Updated to reflect changes in WKSI.
  2275. 2013-01-24 Dan Bernstein <mitz@apple.com>
  2276. WebNavigationData does not distinguish between an empty title and a missing title
  2277. https://bugs.webkit.org/show_bug.cgi?id=107917
  2278. Reviewed by Andy Estes.
  2279. * WebCoreSupport/WebFrameLoaderClient.mm:
  2280. (nilOrNSString): Added this helper function.
  2281. (WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with a nil
  2282. title, rather than the empty string, if the document does not have a title.
  2283. 2013-01-24 Mark Hahnenberg <mhahnenberg@apple.com>
  2284. Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
  2285. https://bugs.webkit.org/show_bug.cgi?id=107327
  2286. Reviewed by Filip Pizlo.
  2287. We're renaming these two files, so we have to replace the names everywhere.
  2288. * DOM/WebDOMOperations.mm:
  2289. * ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebKit/mac/ForwardingHeaders/runtime/JSValue.h.
  2290. * ForwardingHeaders/runtime/JSValue.h: Removed.
  2291. * WebView/WebFrame.mm:
  2292. * WebView/WebView.mm:
  2293. 2013-01-22 Anders Carlsson <andersca@apple.com>
  2294. Use a platforom strategy for local storage
  2295. https://bugs.webkit.org/show_bug.cgi?id=107600
  2296. Reviewed by Andreas Kling.
  2297. Update for new storage strategy.
  2298. * WebCoreSupport/WebPlatformStrategies.h:
  2299. (WebPlatformStrategies):
  2300. * WebCoreSupport/WebPlatformStrategies.mm:
  2301. (WebPlatformStrategies::createStorageStrategy):
  2302. 2013-01-21 Kentaro Hara <haraken@chromium.org>
  2303. Implement UIEvent constructor
  2304. https://bugs.webkit.org/show_bug.cgi?id=107430
  2305. Reviewed by Adam Barth.
  2306. Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
  2307. UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
  2308. which is enabled on Safari and Chromium for now.
  2309. * Configurations/FeatureDefines.xcconfig:
  2310. 2013-01-22 Joseph Pecoraro <pecoraro@apple.com>
  2311. [Mac] Enable Page Visibility (PAGE_VISIBILITY_API)
  2312. https://bugs.webkit.org/show_bug.cgi?id=107230
  2313. Reviewed by David Kilzer.
  2314. * Configurations/FeatureDefines.xcconfig:
  2315. 2013-01-22 Tim Horton <timothy_horton@apple.com>
  2316. PDFPlugin: Build PDFPlugin everywhere, enable at runtime
  2317. https://bugs.webkit.org/show_bug.cgi?id=107117
  2318. Reviewed by Alexey Proskuryakov.
  2319. Since PDFLayerController SPI is all forward-declared, the plugin should build
  2320. on all Mac platforms, and can be enabled at runtime.
  2321. * Configurations/FeatureDefines.xcconfig:
  2322. 2013-01-21 Dirk Schulze <dschulze@adobe.com>
  2323. Add build flag for Canvas's Path object (disabled by default)
  2324. https://bugs.webkit.org/show_bug.cgi?id=107473
  2325. Reviewed by Dean Jackson.
  2326. * Configurations/FeatureDefines.xcconfig:
  2327. 2013-01-17 Andy Estes <aestes@apple.com>
  2328. Add a USE() macro for content filtering code
  2329. https://bugs.webkit.org/show_bug.cgi?id=107098
  2330. Reviewed by Mark Rowe.
  2331. * WebCoreSupport/WebSystemInterface.mm:
  2332. (InitWebCoreSystemInterface): Use USE(CONTENT_FILTERING).
  2333. 2013-01-19 Philip Rogers <pdr@google.com>
  2334. Merge SVGStylable into SVGStyledElement
  2335. https://bugs.webkit.org/show_bug.cgi?id=106877
  2336. SVG2 changes element inheritance so all SVGElements are stylable. As a first-step towards a
  2337. cleaner class hierarchy, this patch moves SVGStylable into SVGStyledElement.
  2338. Reviewed by Dirk Schulze.
  2339. * MigrateHeaders.make:
  2340. 2013-01-18 Seokju Kwon <seokju.kwon@gmail.com>
  2341. Add explicit keyword to constructors in platform-specific InspectorClient
  2342. https://bugs.webkit.org/show_bug.cgi?id=107255
  2343. Reviewed by Kentaro Hara.
  2344. Add explicit keyword to constructors that take one argument
  2345. in platform-specific implementation of InspectorClient.
  2346. * WebCoreSupport/WebInspectorClient.h:
  2347. (WebInspectorClient):
  2348. 2013-01-15 Jer Noble <jer.noble@apple.com>
  2349. Add a Setting to disable QTKit media engine.
  2350. https://bugs.webkit.org/show_bug.cgi?id=106972
  2351. Reviewed by Eric Carlson.
  2352. Add WebKit API to set QTKit enabled setting from user defaults.
  2353. * WebView/WebPreferenceKeysPrivate.h:
  2354. * WebView/WebPreferences.mm:
  2355. (+[WebPreferences initialize]): Set WebCore settings based on user defaults.
  2356. (-[WebPreferences setQTKitEnabled:]): Pass through to WebCore.
  2357. (-[WebPreferences isQTKitEnabled]): Ditto.
  2358. * WebView/WebPreferencesPrivate.h:
  2359. * WebView/WebView.mm:
  2360. (-[WebView _preferencesChanged:]): Synchronize WebKit/WebCore settings.
  2361. 2013-01-15 Enrica Casucci <enrica@apple.com>
  2362. Add a new set of WebKit2 APIs for text search and
  2363. search results management.
  2364. https://bugs.webkit.org/show_bug.cgi?id=106834.
  2365. <rdar://problem/12597159>
  2366. Reviewed by Simon Fraser.
  2367. Adding new API to perform text search in WebKit2 without using
  2368. the stock UI. The new interface provides all the information
  2369. necessary to write a custom UI for search.
  2370. Added new TextWebKitAPI test.
  2371. * WebView/WebHTMLView.mm:
  2372. (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
  2373. Modified to reflect the changes to Editor::countMatchesForText interface.
  2374. 2013-01-10 Zan Dobersek <zandobersek@gmail.com>
  2375. Remove the ENABLE_ANIMATION_API feature define occurences
  2376. https://bugs.webkit.org/show_bug.cgi?id=106544
  2377. Reviewed by Simon Fraser.
  2378. The Animation API code was removed in r137243. The ENABLE_ANIMATION_API
  2379. feature define handling still lingers in various build systems and configurations
  2380. but is of no use, so it should be removed.
  2381. * Configurations/FeatureDefines.xcconfig:
  2382. 2013-01-08 Mark Lam <mark.lam@apple.com>
  2383. Removed the need for the ProposedDatabase mechanism.
  2384. https://bugs.webkit.org/show_bug.cgi?id=106292.
  2385. Reviewed by Sam Weinig.
  2386. * WebCoreSupport/WebChromeClient.h:
  2387. * WebCoreSupport/WebChromeClient.mm:
  2388. (WebChromeClient::exceededDatabaseQuota):
  2389. 2013-01-07 Dan Bernstein <mitz@apple.com>
  2390. [mac] WebKit1 clients can’t tell when a frame has been removed from the hierarchy
  2391. https://bugs.webkit.org/show_bug.cgi?id=106261
  2392. Reviewed by Simon Fraser.
  2393. Test: TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm.
  2394. Added -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:].
  2395. * WebCoreSupport/WebFrameLoaderClient.mm:
  2396. (WebFrameLoaderClient::detachedFromParent2): Added a call to the new frame load delegate
  2397. method.
  2398. * WebView/WebDelegateImplementationCaching.h:
  2399. (WebFrameLoadDelegateImplementationCache): Added the new method to the cache.
  2400. * WebView/WebFrameLoadDelegatePrivate.h: Declared the new delegate method.
  2401. * WebView/WebView.mm:
  2402. (-[WebView _cacheFrameLoadDelegateImplementations]): Added the new method to the cache.
  2403. 2013-01-07 Mike West <mkwst@chromium.org>
  2404. Make the IFRAME_SEAMLESS flag runtime-enabled.
  2405. https://bugs.webkit.org/show_bug.cgi?id=106213
  2406. Reviewed by Ojan Vafai.
  2407. * WebView/WebPreferenceKeysPrivate.h:
  2408. * WebView/WebPreferences.mm:
  2409. (-[WebPreferences seamlessIFramesEnabled]):
  2410. (-[WebPreferences setSeamlessIFramesEnabled:]):
  2411. * WebView/WebPreferencesPrivate.h:
  2412. * WebView/WebView.mm:
  2413. (-[WebView _preferencesChanged:]):
  2414. Add a seamless IFrame preference to WebPreferences, and use it to
  2415. toggle the runtime state of the feature as appropriate.
  2416. 2013-01-04 Adam Klein <adamk@chromium.org>
  2417. Remove ENABLE_MUTATION_OBSERVERS #define
  2418. https://bugs.webkit.org/show_bug.cgi?id=105459
  2419. Reviewed by Ryosuke Niwa.
  2420. * Configurations/FeatureDefines.xcconfig:
  2421. 2013-01-01 Dan Bernstein <mitz@apple.com>
  2422. <rdar://problem/12942239> Update copyright strings
  2423. Reviewed by Sam Weinig.
  2424. * Info.plist:
  2425. 2012-12-29 Adam Roben <aroben@webkit.org>
  2426. Web Inspector: Mac WK1 Inspector can't save/load timeline data
  2427. https://bugs.webkit.org/show_bug.cgi?id=105547
  2428. Reviewed by Pavel Feldman.
  2429. * WebCoreSupport/WebInspectorClient.h: Declared new overrides and
  2430. member variables necessary for save support.
  2431. * WebCoreSupport/WebInspectorClient.mm:
  2432. (WebInspectorFrontendClient::save):
  2433. (WebInspectorFrontendClient::append):
  2434. Implemented these to make saving timeline data work. (It seems to me
  2435. the InspectorFrontendClient API could be cleaned up a bit. I had to
  2436. look at Chromium source code to determine that I needed to call back
  2437. into the InspectorFrontendAPI JS object after saving/appending, and
  2438. that I needed to keep a map of passed URLs -> chosen URLs.)
  2439. (-[WebInspectorWindowController window:willPositionSheet:usingRect:]):
  2440. Tweaked the position of the sheet so that open/save sheets look a
  2441. little bette.r
  2442. (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
  2443. Implemented to make loading timeline data work.
  2444. 2012-12-28 Mark Rowe <mrowe@apple.com>
  2445. Move logic for extracting the OS X marketing version in to WebCore
  2446. <http://webkit.org/b/105841> / <rdar://problem/10736041>
  2447. Reviewed by Dan Bernstein.
  2448. * WebCoreSupport/WebSystemInterface.mm:
  2449. (InitWebCoreSystemInterface): Remove the code related to the WKSI symbol.
  2450. * WebView/WebView.mm:
  2451. (systemMarketingVersionForUserAgentString): Call the WebCore function instead of the WKSI function.
  2452. (+[WebView _standardUserAgentWithApplicationName:]): Retain the result now that our helper doesn't
  2453. do that for us.
  2454. 2012-12-27 Sam Weinig <sam@webkit.org>
  2455. Attempt to fix the tests.
  2456. * WebView/WebPreferences.mm:
  2457. (+[WebPreferences initialize]):
  2458. 2012-12-23 Alexey Proskuryakov <ap@apple.com>
  2459. <rdar://problem/12808377> Network process should respect cookie accept policy
  2460. https://bugs.webkit.org/show_bug.cgi?id=105684
  2461. Reviewed by Sam Weinig.
  2462. * WebCoreSupport/WebPlatformStrategies.h:
  2463. * WebCoreSupport/WebPlatformStrategies.mm:
  2464. CookiesStrategy no longer has notifyCookiesChanged().
  2465. 2012-12-22 Alexey Proskuryakov <ap@apple.com>
  2466. Add a separate class for networking related storage
  2467. https://bugs.webkit.org/show_bug.cgi?id=105676
  2468. Reviewed by Sam Weinig.
  2469. * WebCoreSupport/WebFrameLoaderClient.mm:
  2470. Updated for ResourceHandle include changes.
  2471. * WebCoreSupport/WebFrameNetworkingContext.h:
  2472. * WebCoreSupport/WebFrameNetworkingContext.mm:
  2473. This class is now simpler, with more session tracking being in WebCore now.
  2474. * WebCoreSupport/WebPlatformStrategies.h:
  2475. * WebCoreSupport/WebPlatformStrategies.mm:
  2476. (WebPlatformStrategies::cookiesForDOM):
  2477. (WebPlatformStrategies::setCookiesFromDOM):
  2478. (WebPlatformStrategies::cookiesEnabled):
  2479. (WebPlatformStrategies::cookieRequestHeaderFieldValue):
  2480. (WebPlatformStrategies::getRawCookies):
  2481. (WebPlatformStrategies::deleteCookie):
  2482. We no longer need a function for default cookie storage! Other cookie functions
  2483. now take a session.
  2484. * WebView/WebPreferences.mm:
  2485. (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Initialize WCSI before
  2486. calling a WebCore that uses it.
  2487. (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Use
  2488. NetworkStorageSession for session tracking.
  2489. * WebView/WebView.mm: (-[WebView _cachedResponseForURL:]): Updated for networking
  2490. context now returning a class for session.
  2491. 2012-12-20 Ilya Tikhonovsky <loislo@chromium.org>
  2492. Unreviewed build fix for chromium mac after r138206.
  2493. * WebCoreSupport/WebSystemInterface.mm:
  2494. (InitWebCoreSystemInterface):
  2495. 2012-12-19 Alexey Proskuryakov <ap@apple.com>
  2496. <rdar://problem/12890242> [WK2 NetworkProcess] Client doesn't receive SSL certificates
  2497. https://bugs.webkit.org/show_bug.cgi?id=105467
  2498. Reviewed by Brady Eidson.
  2499. * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize
  2500. a WKSI function we've been missing.
  2501. 2012-12-19 Alexis Menard <alexis@webkit.org>
  2502. Implement CSS parsing for CSS transitions unprefixed.
  2503. https://bugs.webkit.org/show_bug.cgi?id=104804
  2504. Reviewed by Dean Jackson.
  2505. Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
  2506. to cover the work of unprefixing Transforms, Animations and
  2507. Transitions. It will let the possibility of each ports to turn it off
  2508. in their release branches until we're confident that these CSS
  2509. properties are ready to be unprefixed.
  2510. * Configurations/FeatureDefines.xcconfig:
  2511. 2012-12-18 Alexey Proskuryakov <ap@apple.com>
  2512. Remove unnecessary functions from CookiesStrategy
  2513. https://bugs.webkit.org/show_bug.cgi?id=105369
  2514. Reviewed by Brady Eidson.
  2515. * WebCoreSupport/WebPlatformStrategies.h:
  2516. * WebCoreSupport/WebPlatformStrategies.mm:
  2517. 2012-12-18 Alice Liu <alice.liu@apple.com>
  2518. Add SPI to WebKit1 WebFrame for hit testing
  2519. https://bugs.webkit.org/show_bug.cgi?id=105106
  2520. Reviewed by Dan Bernstein.
  2521. * WebView/WebFrame.mm:
  2522. (-[WebFrame elementAtPoint:]): Added. Takes an NSPoint to feed to the WebCore::Frame for hit-testing.
  2523. Creates a WebElementDictionary from that WebCore::HitTestResult, and returns the element dictionary.
  2524. * WebView/WebFramePrivate.h:
  2525. 2012-12-18 Alice Liu <alice.liu@apple.com>
  2526. Add SPI to WebKit1 WebFrame for node conversion to JSValueRef
  2527. https://bugs.webkit.org/show_bug.cgi?id=105262
  2528. Reviewed by Anders Carlsson.
  2529. * WebView/WebFrame.mm:
  2530. (-[WebFrame jsWrapper:forWorld:]): Added. Takes a DOMNode and WebScriptWorld and provides a JSValueRef
  2531. for the WebCore::Node in that particular WebScriptWorld.
  2532. * WebView/WebFramePrivate.h:
  2533. 2012-12-18 Beth Dakin <bdakin@apple.com>
  2534. https://bugs.webkit.org/show_bug.cgi?id=102579
  2535. [mac] Enable scaled cursors
  2536. Reviewed by Dean Jackson.
  2537. * Configurations/FeatureDefines.xcconfig:
  2538. 2012-12-16 Levi Weintraub <leviw@chromium.org>
  2539. Push pixel snapping logic into TransformState
  2540. https://bugs.webkit.org/show_bug.cgi?id=101779
  2541. Reviewed by Simon Fraser.
  2542. * WebView/WebFullScreenController.mm:
  2543. (screenRectOfContents): Removed SnapOffsetForTransforms as it's no longer needed.
  2544. 2012-12-15 Anders Carlsson <andersca@apple.com>
  2545. Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
  2546. https://bugs.webkit.org/show_bug.cgi?id=105122
  2547. Reviewed by Andreas Kling.
  2548. Update for WebCore changes.
  2549. * WebCoreSupport/WebFrameLoaderClient.h:
  2550. (WebFrameLoaderClient):
  2551. * WebCoreSupport/WebFrameLoaderClient.mm:
  2552. (WebFrameLoaderClient::convertMainResourceLoadToDownload):
  2553. 2012-12-15 Mark Lam <mark.lam@apple.com>
  2554. Re-landing patch for "Introducing the DatabaseStrategy and database servers".
  2555. https://bugs.webkit.org/show_bug.cgi?id=104934.
  2556. Not reviewed.
  2557. Merged from r137767. Previously reviewed by Sam Weinig.
  2558. * WebCoreSupport/WebPlatformStrategies.h:
  2559. (WebPlatformStrategies):
  2560. * WebCoreSupport/WebPlatformStrategies.mm:
  2561. (WebPlatformStrategies::createDatabaseStrategy):
  2562. 2012-12-14 Mark Lam <mark.lam@apple.com>
  2563. The WebView should initialize the platform strategies before initializing other sub-systems.
  2564. https://bugs.webkit.org/show_bug.cgi?id=105083.
  2565. Reviewed by Alexey Proskuryakov.
  2566. * WebView/WebView.mm:
  2567. (-[WebView _commonInitializationWithFrameName:groupName:]):
  2568. 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
  2569. Unreviewed, rolling out r137767.
  2570. http://trac.webkit.org/changeset/137767
  2571. https://bugs.webkit.org/show_bug.cgi?id=105062
  2572. Broke Mac builds. (Requested by mlam on #webkit).
  2573. * WebCoreSupport/WebPlatformStrategies.h:
  2574. (WebPlatformStrategies):
  2575. * WebCoreSupport/WebPlatformStrategies.mm:
  2576. 2012-12-14 Mark Lam <mark.lam@apple.com>
  2577. Introducing the DatabaseStrategy and database servers.
  2578. https://bugs.webkit.org/show_bug.cgi?id=104934.
  2579. Reviewed by Sam Weinig.
  2580. The database server is currently a placeholder that does nothing.
  2581. * WebCoreSupport/WebPlatformStrategies.h:
  2582. (WebPlatformStrategies):
  2583. * WebCoreSupport/WebPlatformStrategies.mm:
  2584. (WebPlatformStrategies::createDatabaseStrategy):
  2585. 2012-12-13 Alexey Proskuryakov <ap@apple.com>
  2586. <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
  2587. https://bugs.webkit.org/show_bug.cgi?id=104691
  2588. Reviewed by Sam Weinig.
  2589. * WebCoreSupport/WebFrameNetworkingContext.h:
  2590. * WebCoreSupport/WebFrameNetworkingContext.mm:
  2591. (WebFrameNetworkingContext::inPrivateBrowsingMode):
  2592. (WebFrameNetworkingContext::storageSession):
  2593. Implemented inPrivateBrowsingMode().
  2594. 2012-12-12 Mark Lam <mark.lam@apple.com>
  2595. Encapsulate externally used webdatabase APIs in DatabaseManager.
  2596. https://bugs.webkit.org/show_bug.cgi?id=104741.
  2597. Reviewed by Sam Weinig.
  2598. Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
  2599. and DatabaseContext directly. This is to prepare for upcoming webkit2
  2600. refactoring.
  2601. * Storage/WebDatabaseManager.mm:
  2602. (-[WebDatabaseManager origins]):
  2603. (-[WebDatabaseManager databasesWithOrigin:]):
  2604. (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
  2605. (-[WebDatabaseManager deleteAllDatabases]):
  2606. (-[WebDatabaseManager deleteOrigin:]):
  2607. (-[WebDatabaseManager deleteDatabase:withOrigin:]):
  2608. (WebKitInitializeDatabasesIfNecessary):
  2609. * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h.
  2610. (WebDatabaseManagerClient):
  2611. * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm.
  2612. (WebDatabaseManagerClient::sharedWebDatabaseManagerClient):
  2613. (WebDatabaseManagerClient::WebDatabaseManagerClient):
  2614. (WebDatabaseManagerClient::~WebDatabaseManagerClient):
  2615. (DidModifyOriginData::dispatchToMainThread):
  2616. (DidModifyOriginData::DidModifyOriginData):
  2617. (DidModifyOriginData):
  2618. (WebDatabaseManagerClient::dispatchDidModifyOrigin):
  2619. (WebDatabaseManagerClient::dispatchDidModifyDatabase):
  2620. * Storage/WebDatabaseQuotaManager.mm:
  2621. (-[WebDatabaseQuotaManager usage]):
  2622. (-[WebDatabaseQuotaManager quota]):
  2623. (-[WebDatabaseQuotaManager setQuota:]):
  2624. * Storage/WebDatabaseTrackerClient.h: Removed.
  2625. * Storage/WebDatabaseTrackerClient.mm: Removed.
  2626. * WebCoreSupport/WebSecurityOrigin.mm:
  2627. (-[WebSecurityOrigin usage]):
  2628. (-[WebSecurityOrigin quota]):
  2629. (-[WebSecurityOrigin setQuota:]):
  2630. * WebKit.order:
  2631. * WebView/WebFrame.mm:
  2632. (-[WebFrame _cacheabilityDictionary]):
  2633. * WebView/WebView.mm:
  2634. (-[WebView _preferencesChanged:]):
  2635. 2012-12-12 Alexey Proskuryakov <ap@apple.com>
  2636. Make LOG() work in WebProcess and NetworkProcess
  2637. https://bugs.webkit.org/show_bug.cgi?id=104718
  2638. Reviewed by Tim Horton.
  2639. * WebView/WebView.mm: Use WebCore/InitializeLogging.h to avoid conflicts between
  2640. WebCore and WebKit versions of this file.
  2641. 2012-12-11 Mike West <mkwst@chromium.org>
  2642. Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
  2643. https://bugs.webkit.org/show_bug.cgi?id=66371
  2644. Reviewed by Pavel Feldman.
  2645. Drops WebCore::MessageType from the addMessageToConsole method.
  2646. * WebCoreSupport/WebChromeClient.h:
  2647. (WebChromeClient):
  2648. * WebCoreSupport/WebChromeClient.mm:
  2649. (WebChromeClient::addMessageToConsole):
  2650. 2012-12-09 Antti Koivisto <antti@apple.com>
  2651. Factor node traversal into standalone functions
  2652. https://bugs.webkit.org/show_bug.cgi?id=104507
  2653. Reviewed by Eric Seidel.
  2654. * WebView/WebHTMLRepresentation.mm:
  2655. (searchForLabelsBeforeElement):
  2656. 2012-12-10 Alexis Menard <alexis@webkit.org>
  2657. [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
  2658. https://bugs.webkit.org/show_bug.cgi?id=104539
  2659. Reviewed by Antonio Gomes.
  2660. As discussed on webkit-dev it is not needed to keep this feature flag
  2661. as support for <position> type is a small feature that is already
  2662. implemented by three other UAs. It was useful while landing this
  2663. feature as partial bits were landed one after one.
  2664. * Configurations/FeatureDefines.xcconfig:
  2665. 2012-12-06 Rick Byers <rbyers@chromium.org>
  2666. CSS cursor property should support webkit-image-set
  2667. https://bugs.webkit.org/show_bug.cgi?id=99493
  2668. Reviewed by Beth Dakin.
  2669. Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
  2670. * Configurations/FeatureDefines.xcconfig:
  2671. 2012-12-03 Yury Semikhatsky <yurys@chromium.org>
  2672. Unreviewed. Fix Mac compilation after r136448.
  2673. * WebCoreSupport/WebChromeClient.mm:
  2674. (stringForMessageType):
  2675. 2012-12-03 Alexis Menard <alexis@webkit.org>
  2676. [Mac] Enable CSS3 background-position offset by default.
  2677. https://bugs.webkit.org/show_bug.cgi?id=103905
  2678. Reviewed by Simon Fraser.
  2679. Turn the flag on by default.
  2680. * Configurations/FeatureDefines.xcconfig:
  2681. 2012-12-02 Yongjun Zhang <yongjun_zhang@apple.com>
  2682. Need a method to close all idle localstorage databases immediately.
  2683. https://bugs.webkit.org/show_bug.cgi?id=103469
  2684. Reviewed by David Kilzer.
  2685. Add a new method to WebStorageManager that we can call to close all
  2686. idle local storage databases.
  2687. * Storage/WebStorageManager.mm:
  2688. (+[WebStorageManager closeIdleLocalStorageDatabases]):
  2689. * Storage/WebStorageManagerPrivate.h:
  2690. 2012-11-30 Mihai Maerean <mmaerean@adobe.com>
  2691. [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
  2692. https://bugs.webkit.org/show_bug.cgi?id=101192
  2693. Reviewed by Hajime Morita.
  2694. Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
  2695. Tests: No new tests because there is no functional change.
  2696. * WebView/WebView.mm:
  2697. (-[WebView _preferencesChanged:]):
  2698. 2012-11-29 Rafael Weinstein <rafaelw@chromium.org>
  2699. [HTMLTemplateElement] Add feature flag
  2700. https://bugs.webkit.org/show_bug.cgi?id=103694
  2701. Reviewed by Adam Barth.
  2702. This flag will guard the implementation of the HTMLTemplateElement.
  2703. http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
  2704. * Configurations/FeatureDefines.xcconfig:
  2705. 2012-11-29 Alexey Proskuryakov <ap@apple.com>
  2706. [WK2] Forward cookie jar calls to NetworkProcess
  2707. https://bugs.webkit.org/show_bug.cgi?id=103457
  2708. Reviewed by Darin Adler.
  2709. * WebCoreSupport/WebPlatformStrategies.h:
  2710. (WebPlatformStrategies):
  2711. * WebCoreSupport/WebPlatformStrategies.mm:
  2712. (WebPlatformStrategies::cookiesForDOM):
  2713. (WebPlatformStrategies::setCookiesFromDOM):
  2714. (WebPlatformStrategies::cookiesEnabled):
  2715. (WebPlatformStrategies::cookieRequestHeaderFieldValue):
  2716. (WebPlatformStrategies::getRawCookies):
  2717. (WebPlatformStrategies::deleteCookie):
  2718. (WebPlatformStrategies::getHostnamesWithCookies):
  2719. (WebPlatformStrategies::deleteCookiesForHostname):
  2720. (WebPlatformStrategies::deleteAllCookies):
  2721. (WebPlatformStrategies::getPluginInfo):
  2722. (WebPlatformStrategies::bufferForType):
  2723. WebKit1 strategy just uses PlatformCookieJar.
  2724. 2012-11-28 Beth Dakin <bdakin@apple.com>
  2725. https://bugs.webkit.org/show_bug.cgi?id=102970
  2726. [WK1] REGRESSION (r129545): Main frame doesn't rubberband unless
  2727. WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:
  2728. Reviewed by Sam Weinig.
  2729. We should always register for DidFirstLayout in WK1 since we do work
  2730. at that time besides just calling the delegate function.
  2731. * WebView/WebView.mm:
  2732. (-[WebView _cacheFrameLoadDelegateImplementations]):
  2733. 2012-11-27 Michael Saboff <msaboff@apple.com>
  2734. TextIterator unnecessarily converts 8 bit strings to 16 bits
  2735. https://bugs.webkit.org/show_bug.cgi?id=103295
  2736. Reviewed by Brent Fulgham.
  2737. Updated _stringForRange to use plainText() instead of removed plainTextToMallocAllocatedBuffer().
  2738. * WebView/WebFrame.mm:
  2739. (-[WebFrame _stringForRange:]):
  2740. 2012-11-27 James Simonsen <simonjam@chromium.org>
  2741. Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
  2742. https://bugs.webkit.org/show_bug.cgi?id=102151
  2743. Reviewed by Adam Barth.
  2744. * Plugins/WebPluginController.mm:
  2745. * WebView/WebFrame.mm:
  2746. (-[WebFrame loadRequest:]):
  2747. (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
  2748. 2012-11-27 Pratik Solanki <psolanki@apple.com>
  2749. objc/objc-runtime.h does not exist on all PLATFORM(MAC)
  2750. https://bugs.webkit.org/show_bug.cgi?id=101780
  2751. Reviewed by Brent Fulgham.
  2752. Clean up header includes so we don't include objc/objc-runtime.h.
  2753. * Carbon/HIWebView.mm:
  2754. (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend.
  2755. * Plugins/WebNetscapePluginView.mm:
  2756. * Plugins/WebPluginContainerCheck.mm:
  2757. (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
  2758. * Plugins/WebPluginController.mm:
  2759. * WebCoreSupport/WebCachedFramePlatformData.h:
  2760. * WebCoreSupport/WebDeviceOrientationClient.mm:
  2761. * WebView/WebDelegateImplementationCaching.mm:
  2762. * WebView/WebHTMLView.mm:
  2763. * WebView/WebPDFDocumentExtras.mm:
  2764. * WebView/WebPolicyDelegate.mm:
  2765. (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
  2766. * WebView/WebView.mm:
  2767. 2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com>
  2768. Unreviewed, rolling out r135786.
  2769. http://trac.webkit.org/changeset/135786
  2770. https://bugs.webkit.org/show_bug.cgi?id=103379
  2771. It made 3 plugin tests timeout on several platforms (Requested
  2772. by Ossy on #webkit).
  2773. * Plugins/WebPluginController.mm:
  2774. * WebView/WebFrame.mm:
  2775. (-[WebFrame loadRequest:]):
  2776. (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
  2777. 2012-11-26 James Simonsen <simonjam@chromium.org>
  2778. Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
  2779. https://bugs.webkit.org/show_bug.cgi?id=102151
  2780. Reviewed by Adam Barth.
  2781. * Plugins/WebPluginController.mm:
  2782. * WebView/WebFrame.mm:
  2783. (-[WebFrame loadRequest:]):
  2784. (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
  2785. 2012-11-23 Alexis Menard <alexis@webkit.org>
  2786. [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing.
  2787. https://bugs.webkit.org/show_bug.cgi?id=102104
  2788. Reviewed by Julien Chaffraix.
  2789. Protect the new feature behind a feature flag.
  2790. * Configurations/FeatureDefines.xcconfig:
  2791. 2012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
  2792. Disambiguate innerNodeFramePoint and mainFramePoint
  2793. https://bugs.webkit.org/show_bug.cgi?id=98139
  2794. Reviewed by Julien Chaffraix.
  2795. Switch to using HitTestResult::innerNodeFrame and HitTestResult::innerNodeFramePoint.
  2796. * WebCoreSupport/WebContextMenuClient.mm:
  2797. (WebContextMenuClient::showContextMenu):
  2798. 2012-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
  2799. Unreviewed, rolling out r135295.
  2800. http://trac.webkit.org/changeset/135295
  2801. https://bugs.webkit.org/show_bug.cgi?id=102834
  2802. This patch causes assertion to some layout tests on chromium
  2803. (Requested by jianli on #webkit).
  2804. * Plugins/WebPluginController.mm:
  2805. * WebView/WebFrame.mm:
  2806. (-[WebFrame loadRequest:]):
  2807. (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
  2808. 2012-11-20 James Simonsen <simonjam@chromium.org>
  2809. Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
  2810. https://bugs.webkit.org/show_bug.cgi?id=102151
  2811. Reviewed by Adam Barth.
  2812. * Plugins/WebPluginController.mm:
  2813. * WebView/WebFrame.mm:
  2814. (-[WebFrame loadRequest:]):
  2815. (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
  2816. 2012-11-19 Kihong Kwon <kihong.kwon@samsung.com>
  2817. Add PROXIMITY_EVENTS feature
  2818. https://bugs.webkit.org/show_bug.cgi?id=102658
  2819. Reviewed by Kentaro Hara.
  2820. Add PROXIMITY_EVENTS feature to xcode project for WebKit.
  2821. * Configurations/FeatureDefines.xcconfig:
  2822. 2012-11-16 Tony Chang <tony@chromium.org>
  2823. Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
  2824. https://bugs.webkit.org/show_bug.cgi?id=102554
  2825. Reviewed by Andreas Kling.
  2826. As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
  2827. we're going to revist this feature once additional vendor support is
  2828. achieved.
  2829. * Configurations/FeatureDefines.xcconfig:
  2830. 2012-11-15 Alexey Proskuryakov <ap@apple.com>
  2831. Private Browsing is a per-page setting that sets a global value
  2832. https://bugs.webkit.org/show_bug.cgi?id=67870
  2833. Reviewed by Sam Weinig.
  2834. * WebCoreSupport/WebFrameNetworkingContext.h:
  2835. * WebCoreSupport/WebFrameNetworkingContext.mm:
  2836. Moved functions for managing global sessions from WebCore.
  2837. * WebCoreSupport/WebPlatformStrategies.h:
  2838. * WebCoreSupport/WebPlatformStrategies.mm:
  2839. (WebPlatformStrategies::defaultCookieStorage): Added. Uses WebFrameNetworkingContext
  2840. to reach the storage.
  2841. * WebView/WebPreferences.mm:
  2842. (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Ditto.
  2843. (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Ditto.
  2844. * WebView/WebPreferencesPrivate.h: Added a comment explaining that two functions
  2845. are not generic enough for use outside DRT (one of them had "testing" in name,
  2846. but another did not).
  2847. * WebView/WebView.mm:
  2848. (-[WebView _preferencesChanged:]): Create a global private browsing session when
  2849. the first view with private browsing is created, delete it when any window with
  2850. it disabled is created (since this comes from preferences, it applies to all
  2851. views equally, even though we are dealing with a single one here).
  2852. (-[WebView _cachedResponseForURL:]): Use main frame's networking context instead of
  2853. a global one.
  2854. 2012-11-13 Timothy Hatcher <timothy@apple.com>
  2855. Adjust the Web Inspector window title frame if needed to prevent it from intersecting the dock button.
  2856. https://bugs.webkit.org/show_bug.cgi?id=102073
  2857. Reviewed by Joseph Pecoraro.
  2858. * WebCoreSupport/WebInspectorClient.mm:
  2859. (-[WebInspectorWindow _customTitleFrame]): Added. Adjust the title frame.
  2860. 2012-11-12 Simon Fraser <simon.fraser@apple.com>
  2861. Build fix after r134346 and 134347.
  2862. Use frameView.isFlipped, not frameView.flipped in the assertion.
  2863. * WebCoreSupport/WebInspectorClient.mm:
  2864. (-[WebInspectorWindowController window]):
  2865. 2012-11-12 Timothy Hatcher <timothy@apple.com>
  2866. Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
  2867. https://bugs.webkit.org/show_bug.cgi?id=102025
  2868. Reviewed by Joseph Pecoraro.
  2869. * Resources/Dock.pdf: Added.
  2870. * WebCoreSupport/WebInspectorClient.h:
  2871. * WebCoreSupport/WebInspectorClient.mm:
  2872. (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
  2873. (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
  2874. (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
  2875. (-[WebInspectorWindowController window]): Create the dock button and add it.
  2876. (-[WebInspectorWindowController attachWindow:]): Added.
  2877. (-[WebInspectorWindowController attach]): Call setAttachedWindow.
  2878. (-[WebInspectorWindowController detach]): Ditto.
  2879. (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
  2880. 2012-11-08 Timothy Hatcher <timothy@apple.com>
  2881. Always use a textured window for the Web Inspector.
  2882. https://bugs.webkit.org/show_bug.cgi?id=101693
  2883. Reviewed by Joseph Pecoraro.
  2884. * WebCoreSupport/WebInspectorClient.mm:
  2885. (-[WebInspectorWindowController window]): Removed the conditional for a textured window.
  2886. 2012-11-08 Roger Fong <roger_fong@apple.com>
  2887. Null check URL key entries into WebHistory hash table.
  2888. https://bugs.webkit.org/show_bug.cgi?id=101664
  2889. <rdar://problem/12440852>
  2890. Reviewed by Brady Eidson.
  2891. Sometimes the _entriesByURL hash table used to keep track of web history is erroneously passed in null key entries, which causes an exception to fire.
  2892. This prevents the desired page navigation from taking effect. This is a workaround for the problem.
  2893. Ideally we would figure out where the null values for the key are coming from but for now we'll just set it to "" to prevent the exception from being thrown
  2894. so that navigation can continue as expected.
  2895. * History/WebHistory.mm:
  2896. (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]):
  2897. 2012-11-07 Andreas Kling <akling@apple.com>
  2898. Remove build-webkit dependency on Java SDK for Apple Mac WebKit.
  2899. <http://webkit.org/b/101492>
  2900. Reviewed by Anders Carlsson.
  2901. * Plugins/WebJavaPlugIn.h: Removed.
  2902. 2012-11-06 Adam Barth <abarth@webkit.org>
  2903. Unreviewed attempt to fix the chromium-mac build.
  2904. * WebCoreSupport/WebSystemInterface.mm:
  2905. (InitWebCoreSystemInterface):
  2906. 2012-11-06 Anders Carlsson <andersca@apple.com>
  2907. Update Java related WKSI function names
  2908. https://bugs.webkit.org/show_bug.cgi?id=101414
  2909. Reviewed by Sam Weinig.
  2910. * WebCoreSupport/WebChromeClient.mm:
  2911. (WebChromeClient::unavailablePluginButtonClicked):
  2912. * WebCoreSupport/WebFrameLoaderClient.mm:
  2913. (isPlugInInactive):
  2914. 2012-11-06 Alexey Proskuryakov <ap@apple.com>
  2915. Clean up which storage cookie jar functions use
  2916. https://bugs.webkit.org/show_bug.cgi?id=101395
  2917. Reviewed by Brady Eidson.
  2918. * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated for
  2919. two new functions.
  2920. 2012-11-06 Andrey Lushnikov <lushnikov@google.com>
  2921. Added console.clear() method
  2922. Web Inspector: add console.clear()
  2923. https://bugs.webkit.org/show_bug.cgi?id=101021
  2924. Reviewed by Vsevolod Vlasov.
  2925. * WebCoreSupport/WebChromeClient.mm:
  2926. (stringForMessageType): Added ClearMessageType case to switch
  2927. 2012-11-05 Alexey Proskuryakov <ap@apple.com>
  2928. Get rid of setCookieStoragePrivateBrowsingEnabled.
  2929. https://bugs.webkit.org/show_bug.cgi?id=101247
  2930. Reviewed by Brady Eidson.
  2931. * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): We no longer
  2932. have this function.
  2933. 2012-11-03 Alexey Proskuryakov <ap@apple.com>
  2934. Get rid of USE(CFURLSTORAGESESSIONS)
  2935. https://bugs.webkit.org/show_bug.cgi?id=101131
  2936. Reviewed by Sam Weinig.
  2937. * WebView/WebPreferences.mm:
  2938. (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
  2939. (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
  2940. * WebView/WebView.mm:
  2941. (-[WebView _cachedResponseForURL:]):
  2942. 2012-11-02 Anders Carlsson <andersca@apple.com>
  2943. Don't instantiate the Java plug-in if it's inactive
  2944. https://bugs.webkit.org/show_bug.cgi?id=101102
  2945. <rdar://problem/12595679>
  2946. Reviewed by Andreas Kling.
  2947. * WebCoreSupport/WebChromeClient.mm:
  2948. (WebChromeClient::shouldUnavailablePluginMessageBeButton):
  2949. The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
  2950. (WebChromeClient::unavailablePluginButtonClicked):
  2951. If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
  2952. then reload the page.
  2953. * WebCoreSupport/WebFrameLoaderClient.mm:
  2954. (isOracleJavaPlugIn):
  2955. (isPlugInInactive):
  2956. Helper functions.
  2957. (WebFrameLoaderClient::createPlugin):
  2958. If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
  2959. 2012-11-02 Simon Fraser <simon.fraser@apple.com>
  2960. Enable SUBPIXEL_LAYOUT on Mac
  2961. https://bugs.webkit.org/show_bug.cgi?id=101076
  2962. Reviewed by Dave Hyatt.
  2963. Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
  2964. * Configurations/FeatureDefines.xcconfig:
  2965. 2012-11-02 Adam Barth <abarth@webkit.org>
  2966. ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
  2967. https://bugs.webkit.org/show_bug.cgi?id=100711
  2968. Reviewed by Eric Seidel.
  2969. * Configurations/FeatureDefines.xcconfig:
  2970. 2012-11-01 Adam Roben <aroben@webkit.org>
  2971. [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
  2972. https://bugs.webkit.org/show_bug.cgi?id=100957
  2973. Reviewed by Simon Fraser.
  2974. WebCore doesn't yet support subpixel scrolling. WebKit2 forces
  2975. scrolling to always be integral. Now WebKit1 forces this as well.
  2976. I'm not sure how to write a test for this.
  2977. * WebView/WebDynamicScrollBarsView.mm:
  2978. (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
  2979. or position:sticky elements in the page.
  2980. (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
  2981. scroll origin to the nearest pixel if needed.
  2982. 2012-10-31 Anders Carlsson <andersca@apple.com>
  2983. Fix build.
  2984. <rdar://problem/12612207>.
  2985. Reviewed by Sam Weinig.
  2986. * Panels/WebAuthenticationPanel.m:
  2987. (-[WebAuthenticationPanel loadNib]):
  2988. 2012-10-30 Joseph Pecoraro <pecoraro@apple.com>
  2989. [Mac] Sync up FeatureDefine Configuration Files
  2990. https://bugs.webkit.org/show_bug.cgi?id=100171
  2991. Reviewed by David Kilzer.
  2992. Follow up to better coordinate with iOS feature defines. Make:
  2993. - ENABLE_FILTERS always on
  2994. - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
  2995. * Configurations/FeatureDefines.xcconfig:
  2996. 2012-10-30 Joseph Pecoraro <pecoraro@apple.com>
  2997. [Mac] Sync up FeatureDefine Configuration Files
  2998. https://bugs.webkit.org/show_bug.cgi?id=100171
  2999. Reviewed by David Kilzer.
  3000. Ensure an identical FeatureDefine files across all projects. Changes:
  3001. - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
  3002. - ENABLE_PDFKIT_PLUGIN should be in all
  3003. - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
  3004. - ENABLE_ENCRYPTED_MEDIA should be in all
  3005. - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
  3006. - Some alphabetical ordering cleanup
  3007. * Configurations/FeatureDefines.xcconfig:
  3008. 2012-10-29 Anders Carlsson <andersca@apple.com>
  3009. Build WebKit as C++11 on Mac
  3010. https://bugs.webkit.org/show_bug.cgi?id=100720
  3011. Reviewed by Daniel Bates.
  3012. * Configurations/Base.xcconfig:
  3013. Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
  3014. * History/WebBackForwardList.mm:
  3015. (-[WebBackForwardList description]):
  3016. * History/WebHistoryItem.mm:
  3017. (-[WebHistoryItem description]):
  3018. Add static_casts to prevent implicit type conversions in non-constant initializer lists.
  3019. 2012-10-28 Mark Rowe <mrowe@apple.com>
  3020. Simplify Xcode configuration settings that used to vary between OS versions.
  3021. Reviewed by Dan Bernstein.
  3022. * Configurations/Base.xcconfig:
  3023. * Configurations/DebugRelease.xcconfig:
  3024. * Configurations/WebKit.xcconfig:
  3025. 2012-10-28 Mark Rowe <mrowe@apple.com>
  3026. Remove references to unsupported OS and Xcode versions.
  3027. Reviewed by Anders Carlsson.
  3028. * Configurations/Base.xcconfig:
  3029. * Configurations/CompilerVersion.xcconfig: Removed.
  3030. * Configurations/DebugRelease.xcconfig:
  3031. * Configurations/Version.xcconfig:
  3032. 2012-10-29 Enrica Casucci <enrica@apple.com>
  3033. Add ENABLE_USERSELECT_ALL feature flag.
  3034. https://bugs.webkit.org/show_bug.cgi?id=100559
  3035. Reviewed by Eric Seidel.
  3036. * Configurations/FeatureDefines.xcconfig:
  3037. 2012-10-27 Alexey Proskuryakov <ap@apple.com>
  3038. All tests crash in WebKit1 mode
  3039. https://bugs.webkit.org/show_bug.cgi?id=100602
  3040. Reviewed by Sam Weinig.
  3041. * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
  3042. scheduler is created via a strategy, so strategies need to be initialized before
  3043. using it.
  3044. 2012-10-27 Dan Bernstein <mitz@apple.com>
  3045. REAL_PLATFORM_NAME build setting is no longer needed
  3046. https://bugs.webkit.org/show_bug.cgi?id=100587
  3047. Reviewed by Mark Rowe.
  3048. Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
  3049. to PLATFORM_NAME.
  3050. * Configurations/Base.xcconfig:
  3051. * Configurations/CompilerVersion.xcconfig:
  3052. * Configurations/DebugRelease.xcconfig:
  3053. * Configurations/FeatureDefines.xcconfig:
  3054. * Configurations/Version.xcconfig:
  3055. * Configurations/WebKit.xcconfig:
  3056. 2012-10-26 Thiago Marcos P. Santos <thiago.santos@intel.com>
  3057. Add feature flags for CSS Device Adaptation
  3058. https://bugs.webkit.org/show_bug.cgi?id=95960
  3059. Reviewed by Kenneth Rohde Christiansen.
  3060. * Configurations/FeatureDefines.xcconfig:
  3061. 2012-10-25 Dominik Röttsches <dominik.rottsches@intel.com>
  3062. Conditionalize XHR timeout support
  3063. https://bugs.webkit.org/show_bug.cgi?id=100356
  3064. Reviewed by Adam Barth.
  3065. Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
  3066. Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
  3067. * Configurations/FeatureDefines.xcconfig:
  3068. 2012-10-24 Timothy Hatcher <timothy@apple.com>
  3069. Fix a crash seen during the Inspector tests on the WebKit1 bots.
  3070. Reviewed by Filip Pizlo.
  3071. * WebCoreSupport/WebInspectorClient.mm:
  3072. (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
  3073. is not the same when the Inspector is docked.
  3074. 2012-10-24 Brady Eidson <beidson@apple.com>
  3075. Add a strategy for loader customization.
  3076. https://bugs.webkit.org/show_bug.cgi?id=100278
  3077. Reviewed by Alexey Proskuryakov.
  3078. * WebCoreSupport/WebPlatformStrategies.h:
  3079. (WebPlatformStrategies):
  3080. * WebCoreSupport/WebPlatformStrategies.mm:
  3081. (WebPlatformStrategies::createLoaderStrategy):
  3082. 2012-10-24 Timothy Hatcher <timothy@apple.com>
  3083. Make the Inspector WKView/WebView become the first responder when bringToFront is called.
  3084. https://bugs.webkit.org/show_bug.cgi?id=100209
  3085. Reviewed by Joseph Pecoraro.
  3086. * WebCoreSupport/WebInspectorClient.mm:
  3087. (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
  3088. 2012-10-23 Alexey Proskuryakov <ap@apple.com>
  3089. Add a strategy for shared workers
  3090. https://bugs.webkit.org/show_bug.cgi?id=100165
  3091. Reviewed by Brady Eidson.
  3092. * WebCoreSupport/WebPlatformStrategies.h:
  3093. * WebCoreSupport/WebPlatformStrategies.mm:
  3094. (WebPlatformStrategies::createPasteboardStrategy):
  3095. (WebPlatformStrategies::createSharedWorkerStrategy):
  3096. (WebPlatformStrategies::createVisitedLinkStrategy):
  3097. 2012-10-24 Eric Carlson <eric.carlson@apple.com>
  3098. Allow ports to override text track rendering style
  3099. https://bugs.webkit.org/show_bug.cgi?id=97800
  3100. <rdar://problem/12044964>
  3101. Reviewed by Maciej Stachowiak.
  3102. * WebCoreSupport/WebSystemInterface.mm:
  3103. (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
  3104. 2012-10-23 Dan Bernstein <mitz@apple.com>
  3105. WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
  3106. https://bugs.webkit.org/show_bug.cgi?id=100188
  3107. Reviewed by Sam Weinig.
  3108. * WebView/WebView.mm:
  3109. (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
  3110. code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
  3111. default. Changed to refer to that default key by name.
  3112. 2012-10-23 Kenneth Rohde Christiansen <kenneth@webkit.org>
  3113. Add support for resolution media query
  3114. https://bugs.webkit.org/show_bug.cgi?id=99077
  3115. Reviewed by Antti Koivisto.
  3116. Add support for the RESOLUTION_MEDIA_QUERY feature flag.
  3117. * Configurations/FeatureDefines.xcconfig:
  3118. 2012-10-21 Andreas Kling <kling@webkit.org>
  3119. Remove Page::javaScriptURLsAreAllowed setting.
  3120. <http://webkit.org/b/99944>
  3121. Reviewed by Anders Carlsson.
  3122. * WebKit.order:
  3123. * WebView/WebView.mm:
  3124. * WebView/WebViewPrivate.h:
  3125. 2012-10-19 Dongwoo Joshua Im <dw.im@samsung.com>
  3126. Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
  3127. https://bugs.webkit.org/show_bug.cgi?id=99804
  3128. Reviewed by Julien Chaffraix.
  3129. CSS3 text related properties will be implemented under this flag,
  3130. including text decoration, text-align-last, and text-justify.
  3131. * Configurations/FeatureDefines.xcconfig:
  3132. 2012-10-18 Pablo Flouret <pablof@motorola.com>
  3133. Implement css3-conditional's @supports rule
  3134. https://bugs.webkit.org/show_bug.cgi?id=86146
  3135. Reviewed by Antti Koivisto.
  3136. * Configurations/FeatureDefines.xcconfig:
  3137. Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
  3138. 2012-10-17 Joseph Pecoraro <pecoraro@apple.com>
  3139. [Mac] Uninitialized Members in WebDataSourcePrivate
  3140. https://bugs.webkit.org/show_bug.cgi?id=99617
  3141. Reviewed by David Kilzer.
  3142. Initialize BOOL member variables.
  3143. * WebView/WebDataSource.mm:
  3144. (WebDataSourcePrivate::WebDataSourcePrivate):
  3145. 2012-10-17 Mark Rowe <mrowe@apple.com>
  3146. Fix the build with a newer version of clang.
  3147. Reviewed by Dan Bernstein.
  3148. Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
  3149. While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
  3150. with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
  3151. therefore generates a warning in newer versions of the compiler.
  3152. Fixes <rdar://problem/12503709>.
  3153. * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
  3154. * Misc/WebCoreStatistics.mm: Ditto.
  3155. (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
  3156. (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
  3157. 2012-10-16 Jian Li <jianli@chromium.org>
  3158. Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
  3159. https://bugs.webkit.org/show_bug.cgi?id=98975
  3160. Reviewed by Adam Barth.
  3161. Renaming is needed to better match with the draggable region code.
  3162. * Configurations/FeatureDefines.xcconfig:
  3163. 2012-10-15 Dan Bernstein <mitz@apple.com>
  3164. WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
  3165. https://bugs.webkit.org/show_bug.cgi?id=99113
  3166. Reviewed by Tim Horton.
  3167. * WebCoreSupport/WebSystemInterface.mm:
  3168. (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
  3169. 2012-10-15 David Kilzer <ddkilzer@apple.com>
  3170. Move framework and library linking into WebKit.xcconfig
  3171. <http://webkit.org/b/99284>
  3172. Reviewed by Mark Rowe.
  3173. * Configurations/WebKit.xcconfig: Move frameworks and libraries
  3174. link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
  3175. 2012-10-14 Jon Lee <jonlee@apple.com>
  3176. Allow notification origin permission request when no js callback is provided
  3177. https://bugs.webkit.org/show_bug.cgi?id=63615
  3178. <rdar://problem/11059590>
  3179. Reviewed by Sam Weinig.
  3180. Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
  3181. we do not fall through to calling the standard API's callback if the legacy API's callback is null.
  3182. * WebCoreSupport/WebNotificationClient.mm:
  3183. (WebCore):
  3184. (-[WebNotificationPolicyListener initWithVoidCallback:]):
  3185. (-[WebNotificationPolicyListener allow]):
  3186. (-[WebNotificationPolicyListener deny]):
  3187. 2012-10-14 Sam Weinig <sam@webkit.org>
  3188. Make UserScript and UserStyleSheet value objects that are copyable
  3189. https://bugs.webkit.org/show_bug.cgi?id=99275
  3190. Reviewed by Tim Horton.
  3191. * WebView/WebView.mm:
  3192. (-[WebView _injectMailQuirksScript]):
  3193. (-[WebView _injectOutlookQuirksScript]):
  3194. Update for new PageGroup function signatures.
  3195. 2012-10-10 Brady Eidson <beidson@apple.com>
  3196. Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
  3197. https://bugs.webkit.org/show_bug.cgi?id=98976
  3198. Reviewed by Anders Carlsson.
  3199. * WebView/WebDataSource.mm:
  3200. (-[WebDataSource data]):
  3201. 2012-10-10 Jer Noble <jer.noble@apple.com>
  3202. Disallow full screen mode keyboard access by default.
  3203. https://bugs.webkit.org/show_bug.cgi?id=98971
  3204. <rdar://problem/12474226>
  3205. Reviewed by Sam Weinig.
  3206. Only support full screen if keyboard access is not requested.
  3207. * WebView/WebView.mm:
  3208. (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
  3209. 2012-10-10 Jon Lee <jonlee@apple.com>
  3210. [WK2] Activate plugins when user clicks on snapshot
  3211. https://bugs.webkit.org/show_bug.cgi?id=98328
  3212. <rdar://problem/12426681>
  3213. Reviewed by Brady Eidson.
  3214. * WebCoreSupport/WebFrameLoaderClient.h:
  3215. * WebCoreSupport/WebFrameLoaderClient.mm:
  3216. (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
  3217. 2012-10-10 Brady Eidson <beidson@apple.com>
  3218. Switch CachedResource over from SharedBuffer to a new ResourceBuffer
  3219. https://bugs.webkit.org/show_bug.cgi?id=98541
  3220. Reviewed by Anders Carlsson.
  3221. * WebView/WebHTMLView.mm:
  3222. (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
  3223. 2012-10-10 Simon Fraser <simon.fraser@apple.com>
  3224. Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
  3225. https://bugs.webkit.org/show_bug.cgi?id=98839
  3226. Reviewed by Sam Weinig.
  3227. To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
  3228. in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
  3229. but store the computed rect in m_visibleRect.
  3230. Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
  3231. layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
  3232. * WebView/WebFrame.mm:
  3233. (-[WebFrame _layerTreeAsText]):
  3234. 2012-10-09 Jian Li <jianli@chromium.org>
  3235. Update the CSS property used to support draggable regions.
  3236. https://bugs.webkit.org/show_bug.cgi?id=97156
  3237. Reviewed by Adam Barth.
  3238. The CSS property to support draggable regions, guarded under
  3239. WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
  3240. confusion with DASHBOARD_SUPPORT feature.
  3241. Also update the code to use the new name annotatedRegions to work for
  3242. both features.
  3243. * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
  3244. * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
  3245. * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
  3246. (WebChromeClient::annotatedRegionsChanged):
  3247. * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
  3248. (-[WebView _dashboardRegions]):
  3249. 2012-10-09 Sheriff Bot <webkit.review.bot@gmail.com>
  3250. Unreviewed, rolling out r130811 and r130821.
  3251. http://trac.webkit.org/changeset/130811
  3252. http://trac.webkit.org/changeset/130821
  3253. https://bugs.webkit.org/show_bug.cgi?id=98831
  3254. Broke date-suggestion-picker-appearance-with-scroll-bar.html
  3255. (Requested by abarth|gardening on #webkit).
  3256. * WebView/WebFullScreenController.mm:
  3257. (screenRectOfContents):
  3258. * WebView/WebRenderNode.mm:
  3259. (copyRenderNode):
  3260. 2012-10-08 Kiran Muppala <cmuppala@apple.com>
  3261. Throttle DOM timers on hidden pages.
  3262. https://bugs.webkit.org/show_bug.cgi?id=98474
  3263. Reviewed by Maciej Stachowiak.
  3264. Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
  3265. DumpRenderTree to modify the visibility state of a page. The latter
  3266. is needed to test throttling of timers on hidden pages through DumpRenderTree.
  3267. * Configurations/FeatureDefines.xcconfig:
  3268. * WebView/WebView.mm:
  3269. (-[WebView _setVisibilityState:isInitialState:]):
  3270. * WebView/WebViewPrivate.h:
  3271. 2012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  3272. Rename first/second to key/value in HashMap iterators
  3273. https://bugs.webkit.org/show_bug.cgi?id=82784
  3274. Reviewed by Eric Seidel.
  3275. * History/WebHistory.mm:
  3276. (-[WebHistoryPrivate removeItemFromDateCaches:]):
  3277. (-[WebHistoryPrivate orderedLastVisitedDays]):
  3278. (WebHistoryWriter::WebHistoryWriter):
  3279. * Misc/WebCoreStatistics.mm:
  3280. (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
  3281. (+[WebCoreStatistics javaScriptObjectTypeCounts]):
  3282. * Plugins/Hosted/NetscapePluginHostManager.mm:
  3283. (WebKit::NetscapePluginHostManager::hostForPlugin):
  3284. (WebKit::NetscapePluginHostManager::pluginHostDied):
  3285. (WebKit::NetscapePluginHostManager::didCreateWindow):
  3286. * Plugins/Hosted/NetscapePluginHostProxy.mm:
  3287. (WebKit::NetscapePluginHostProxy::pluginHostDied):
  3288. * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
  3289. (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
  3290. (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
  3291. (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
  3292. (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
  3293. (WebKit::NetscapePluginInstanceProxy::destroy):
  3294. (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
  3295. (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
  3296. * Plugins/Hosted/ProxyInstance.mm:
  3297. (WebKit::ProxyInstance::methodNamed):
  3298. (WebKit::ProxyInstance::fieldNamed):
  3299. * Plugins/WebNetscapePluginView.mm:
  3300. (-[WebNetscapePluginView stopTimers]):
  3301. (-[WebNetscapePluginView startTimers]):
  3302. * WebCoreSupport/WebNotificationClient.mm:
  3303. (WebNotificationClient::show):
  3304. (WebNotificationClient::clearNotifications):
  3305. (WebNotificationClient::notificationObjectDestroyed):
  3306. * WebView/WebHTMLView.mm:
  3307. (commandNameForSelector):
  3308. 2012-10-06 Dan Bernstein <mitz@apple.com>
  3309. WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
  3310. https://bugs.webkit.org/show_bug.cgi?id=98601
  3311. Reviewed by Darin Adler.
  3312. * WebView/WebView.mm:
  3313. (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
  3314. kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
  3315. the value YES.
  3316. 2012-10-05 Sheriff Bot <webkit.review.bot@gmail.com>
  3317. Unreviewed, rolling out r130556 and r130564.
  3318. http://trac.webkit.org/changeset/130556
  3319. http://trac.webkit.org/changeset/130564
  3320. https://bugs.webkit.org/show_bug.cgi?id=98572
  3321. The patch wasn't reviewed by a reviewer and it is breaking
  3322. Chromium Windows (Requested by jchaffraix on #webkit).
  3323. * WebCoreSupport/WebSystemInterface.mm:
  3324. (InitWebCoreSystemInterface):
  3325. 2012-10-05 Tim Horton <timothy_horton@apple.com>
  3326. [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
  3327. https://bugs.webkit.org/show_bug.cgi?id=98565
  3328. <rdar://problem/12436468>
  3329. Reviewed by Simon Fraser.
  3330. Add wkCGContextDrawsWithCorrectShadowOffsets.
  3331. * WebCoreSupport/WebSystemInterface.mm:
  3332. (InitWebCoreSystemInterface):
  3333. 2012-10-04 Eric Carlson <eric.carlson@apple.com>
  3334. Allow ports to override text track rendering style
  3335. https://bugs.webkit.org/show_bug.cgi?id=97800
  3336. <rdar://problem/12044964>
  3337. Reviewed by Silvia Pfeiffer.
  3338. Add WCSI support for new WKSI caption functions.
  3339. * WebCoreSupport/WebSystemInterface.mm:
  3340. (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
  3341. 2012-10-04 Jon Lee <jonlee@apple.com>
  3342. Add a setting to enable plugin snapshotting
  3343. https://bugs.webkit.org/show_bug.cgi?id=98319
  3344. <rdar://problem/12426480>
  3345. Reviewed by Brady Eidson.
  3346. Expose plugInSnapshottingEnabled preference to WebKit clients.
  3347. * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
  3348. * WebView/WebPreferences.mm:
  3349. (+[WebPreferences initialize]): Setting is turned off by default.
  3350. (-[WebPreferences plugInSnapshottingEnabled]):
  3351. (-[WebPreferences setPlugInSnapshottingEnabled:]):
  3352. * WebView/WebPreferencesPrivate.h:
  3353. * WebView/WebView.mm:
  3354. (-[WebView _preferencesChanged:]): Update settings based on preference.
  3355. 2012-10-04 Rik Cabanier <cabanier@adobe.com>
  3356. Turn Compositing on by default in WebKit build
  3357. https://bugs.webkit.org/show_bug.cgi?id=98315
  3358. Reviewed by Simon Fraser.
  3359. enable -webkit-blend-mode on trunk.
  3360. * Configurations/FeatureDefines.xcconfig:
  3361. 2012-10-04 Simon Fraser <simon.fraser@apple.com>
  3362. Final part of "sync" to "flush" renaming
  3363. https://bugs.webkit.org/show_bug.cgi?id=98430
  3364. Reviewed by Tim Horton.
  3365. Change method names on GraphicsLayer and GraphicsLayerClient that
  3366. refer to "sync" to use the term "flush" instead, to be consistent
  3367. with the rest of the code.
  3368. * WebView/WebView.mm:
  3369. 2012-10-03 Benjamin Poulain <bpoulain@apple.com>
  3370. [WK2] Support all attributes of GeolocationPosition
  3371. https://bugs.webkit.org/show_bug.cgi?id=98212
  3372. Reviewed by Sam Weinig.
  3373. Add an internal constructor for the sake of testing.
  3374. A similar API is used on iOS.
  3375. * WebView/WebGeolocationPosition.mm:
  3376. (-[WebGeolocationPosition initWithGeolocationPosition:]):
  3377. 2012-10-04 Simon Fraser <simon.fraser@apple.com>
  3378. Standardize on "flush" terminology for compositing layer flushing/syncing
  3379. https://bugs.webkit.org/show_bug.cgi?id=98321
  3380. Reviewed by Simon Fraser.
  3381. Rename compositing-related methods that refer to "syncing" to instead
  3382. refer to "flushing".
  3383. * WebCoreSupport/WebChromeClient.h:
  3384. * WebCoreSupport/WebChromeClient.mm:
  3385. (WebChromeClient::scheduleCompositingLayerFlush):
  3386. * WebView/WebView.mm:
  3387. (-[WebView _flushCompositingChanges]):
  3388. (LayerFlushController::flushLayers):
  3389. (-[WebView _scheduleCompositingLayerFlush]):
  3390. * WebView/WebViewInternal.h:
  3391. == Rolled over to ChangeLog-2012-10-02 ==