1 2013-01-07 Dan Bernstein <mitz@apple.com>
3 [mac] WebKit1 clients can’t tell when a frame has been removed from the hierarchy
4 https://bugs.webkit.org/show_bug.cgi?id=106261
6 Reviewed by Simon Fraser.
8 Test: TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm.
10 Added -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:].
12 * WebCoreSupport/WebFrameLoaderClient.mm:
13 (WebFrameLoaderClient::detachedFromParent2): Added a call to the new frame load delegate
15 * WebView/WebDelegateImplementationCaching.h:
16 (WebFrameLoadDelegateImplementationCache): Added the new method to the cache.
17 * WebView/WebFrameLoadDelegatePrivate.h: Declared the new delegate method.
19 (-[WebView _cacheFrameLoadDelegateImplementations]): Added the new method to the cache.
21 2013-01-07 Mike West <mkwst@chromium.org>
23 Make the IFRAME_SEAMLESS flag runtime-enabled.
24 https://bugs.webkit.org/show_bug.cgi?id=106213
26 Reviewed by Ojan Vafai.
28 * WebView/WebPreferenceKeysPrivate.h:
29 * WebView/WebPreferences.mm:
30 (-[WebPreferences seamlessIFramesEnabled]):
31 (-[WebPreferences setSeamlessIFramesEnabled:]):
32 * WebView/WebPreferencesPrivate.h:
34 (-[WebView _preferencesChanged:]):
35 Add a seamless IFrame preference to WebPreferences, and use it to
36 toggle the runtime state of the feature as appropriate.
38 2013-01-04 Adam Klein <adamk@chromium.org>
40 Remove ENABLE_MUTATION_OBSERVERS #define
41 https://bugs.webkit.org/show_bug.cgi?id=105459
43 Reviewed by Ryosuke Niwa.
45 * Configurations/FeatureDefines.xcconfig:
47 2013-01-01 Dan Bernstein <mitz@apple.com>
49 <rdar://problem/12942239> Update copyright strings
51 Reviewed by Sam Weinig.
55 2012-12-29 Adam Roben <aroben@webkit.org>
57 Web Inspector: Mac WK1 Inspector can't save/load timeline data
58 https://bugs.webkit.org/show_bug.cgi?id=105547
60 Reviewed by Pavel Feldman.
62 * WebCoreSupport/WebInspectorClient.h: Declared new overrides and
63 member variables necessary for save support.
65 * WebCoreSupport/WebInspectorClient.mm:
66 (WebInspectorFrontendClient::save):
67 (WebInspectorFrontendClient::append):
68 Implemented these to make saving timeline data work. (It seems to me
69 the InspectorFrontendClient API could be cleaned up a bit. I had to
70 look at Chromium source code to determine that I needed to call back
71 into the InspectorFrontendAPI JS object after saving/appending, and
72 that I needed to keep a map of passed URLs -> chosen URLs.)
74 (-[WebInspectorWindowController window:willPositionSheet:usingRect:]):
75 Tweaked the position of the sheet so that open/save sheets look a
78 (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
79 Implemented to make loading timeline data work.
81 2012-12-28 Mark Rowe <mrowe@apple.com>
83 Move logic for extracting the OS X marketing version in to WebCore
84 <http://webkit.org/b/105841> / <rdar://problem/10736041>
86 Reviewed by Dan Bernstein.
88 * WebCoreSupport/WebSystemInterface.mm:
89 (InitWebCoreSystemInterface): Remove the code related to the WKSI symbol.
91 (systemMarketingVersionForUserAgentString): Call the WebCore function instead of the WKSI function.
92 (+[WebView _standardUserAgentWithApplicationName:]): Retain the result now that our helper doesn't
95 2012-12-27 Sam Weinig <sam@webkit.org>
97 Attempt to fix the tests.
99 * WebView/WebPreferences.mm:
100 (+[WebPreferences initialize]):
102 2012-12-23 Alexey Proskuryakov <ap@apple.com>
104 <rdar://problem/12808377> Network process should respect cookie accept policy
105 https://bugs.webkit.org/show_bug.cgi?id=105684
107 Reviewed by Sam Weinig.
109 * WebCoreSupport/WebPlatformStrategies.h:
110 * WebCoreSupport/WebPlatformStrategies.mm:
111 CookiesStrategy no longer has notifyCookiesChanged().
113 2012-12-22 Alexey Proskuryakov <ap@apple.com>
115 Add a separate class for networking related storage
116 https://bugs.webkit.org/show_bug.cgi?id=105676
118 Reviewed by Sam Weinig.
120 * WebCoreSupport/WebFrameLoaderClient.mm:
121 Updated for ResourceHandle include changes.
123 * WebCoreSupport/WebFrameNetworkingContext.h:
124 * WebCoreSupport/WebFrameNetworkingContext.mm:
125 This class is now simpler, with more session tracking being in WebCore now.
127 * WebCoreSupport/WebPlatformStrategies.h:
128 * WebCoreSupport/WebPlatformStrategies.mm:
129 (WebPlatformStrategies::cookiesForDOM):
130 (WebPlatformStrategies::setCookiesFromDOM):
131 (WebPlatformStrategies::cookiesEnabled):
132 (WebPlatformStrategies::cookieRequestHeaderFieldValue):
133 (WebPlatformStrategies::getRawCookies):
134 (WebPlatformStrategies::deleteCookie):
135 We no longer need a function for default cookie storage! Other cookie functions
138 * WebView/WebPreferences.mm:
139 (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Initialize WCSI before
140 calling a WebCore that uses it.
141 (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Use
142 NetworkStorageSession for session tracking.
144 * WebView/WebView.mm: (-[WebView _cachedResponseForURL:]): Updated for networking
145 context now returning a class for session.
147 2012-12-20 Ilya Tikhonovsky <loislo@chromium.org>
149 Unreviewed build fix for chromium mac after r138206.
151 * WebCoreSupport/WebSystemInterface.mm:
152 (InitWebCoreSystemInterface):
154 2012-12-19 Alexey Proskuryakov <ap@apple.com>
156 <rdar://problem/12890242> [WK2 NetworkProcess] Client doesn't receive SSL certificates
157 https://bugs.webkit.org/show_bug.cgi?id=105467
159 Reviewed by Brady Eidson.
161 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize
162 a WKSI function we've been missing.
164 2012-12-19 Alexis Menard <alexis@webkit.org>
166 Implement CSS parsing for CSS transitions unprefixed.
167 https://bugs.webkit.org/show_bug.cgi?id=104804
169 Reviewed by Dean Jackson.
171 Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
172 to cover the work of unprefixing Transforms, Animations and
173 Transitions. It will let the possibility of each ports to turn it off
174 in their release branches until we're confident that these CSS
175 properties are ready to be unprefixed.
177 * Configurations/FeatureDefines.xcconfig:
179 2012-12-18 Alexey Proskuryakov <ap@apple.com>
181 Remove unnecessary functions from CookiesStrategy
182 https://bugs.webkit.org/show_bug.cgi?id=105369
184 Reviewed by Brady Eidson.
186 * WebCoreSupport/WebPlatformStrategies.h:
187 * WebCoreSupport/WebPlatformStrategies.mm:
189 2012-12-18 Alice Liu <alice.liu@apple.com>
191 Add SPI to WebKit1 WebFrame for hit testing
192 https://bugs.webkit.org/show_bug.cgi?id=105106
194 Reviewed by Dan Bernstein.
196 * WebView/WebFrame.mm:
197 (-[WebFrame elementAtPoint:]): Added. Takes an NSPoint to feed to the WebCore::Frame for hit-testing.
198 Creates a WebElementDictionary from that WebCore::HitTestResult, and returns the element dictionary.
199 * WebView/WebFramePrivate.h:
201 2012-12-18 Alice Liu <alice.liu@apple.com>
203 Add SPI to WebKit1 WebFrame for node conversion to JSValueRef
204 https://bugs.webkit.org/show_bug.cgi?id=105262
206 Reviewed by Anders Carlsson.
208 * WebView/WebFrame.mm:
209 (-[WebFrame jsWrapper:forWorld:]): Added. Takes a DOMNode and WebScriptWorld and provides a JSValueRef
210 for the WebCore::Node in that particular WebScriptWorld.
211 * WebView/WebFramePrivate.h:
213 2012-12-18 Beth Dakin <bdakin@apple.com>
215 https://bugs.webkit.org/show_bug.cgi?id=102579
216 [mac] Enable scaled cursors
218 Reviewed by Dean Jackson.
220 * Configurations/FeatureDefines.xcconfig:
222 2012-12-16 Levi Weintraub <leviw@chromium.org>
224 Push pixel snapping logic into TransformState
225 https://bugs.webkit.org/show_bug.cgi?id=101779
227 Reviewed by Simon Fraser.
229 * WebView/WebFullScreenController.mm:
230 (screenRectOfContents): Removed SnapOffsetForTransforms as it's no longer needed.
232 2012-12-15 Anders Carlsson <andersca@apple.com>
234 Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
235 https://bugs.webkit.org/show_bug.cgi?id=105122
237 Reviewed by Andreas Kling.
239 Update for WebCore changes.
241 * WebCoreSupport/WebFrameLoaderClient.h:
242 (WebFrameLoaderClient):
243 * WebCoreSupport/WebFrameLoaderClient.mm:
244 (WebFrameLoaderClient::convertMainResourceLoadToDownload):
246 2012-12-15 Mark Lam <mark.lam@apple.com>
248 Re-landing patch for "Introducing the DatabaseStrategy and database servers".
249 https://bugs.webkit.org/show_bug.cgi?id=104934.
253 Merged from r137767. Previously reviewed by Sam Weinig.
255 * WebCoreSupport/WebPlatformStrategies.h:
256 (WebPlatformStrategies):
257 * WebCoreSupport/WebPlatformStrategies.mm:
258 (WebPlatformStrategies::createDatabaseStrategy):
260 2012-12-14 Mark Lam <mark.lam@apple.com>
262 The WebView should initialize the platform strategies before initializing other sub-systems.
263 https://bugs.webkit.org/show_bug.cgi?id=105083.
265 Reviewed by Alexey Proskuryakov.
267 * WebView/WebView.mm:
268 (-[WebView _commonInitializationWithFrameName:groupName:]):
270 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
272 Unreviewed, rolling out r137767.
273 http://trac.webkit.org/changeset/137767
274 https://bugs.webkit.org/show_bug.cgi?id=105062
276 Broke Mac builds. (Requested by mlam on #webkit).
278 * WebCoreSupport/WebPlatformStrategies.h:
279 (WebPlatformStrategies):
280 * WebCoreSupport/WebPlatformStrategies.mm:
282 2012-12-14 Mark Lam <mark.lam@apple.com>
284 Introducing the DatabaseStrategy and database servers.
285 https://bugs.webkit.org/show_bug.cgi?id=104934.
287 Reviewed by Sam Weinig.
289 The database server is currently a placeholder that does nothing.
291 * WebCoreSupport/WebPlatformStrategies.h:
292 (WebPlatformStrategies):
293 * WebCoreSupport/WebPlatformStrategies.mm:
294 (WebPlatformStrategies::createDatabaseStrategy):
296 2012-12-13 Alexey Proskuryakov <ap@apple.com>
298 <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
299 https://bugs.webkit.org/show_bug.cgi?id=104691
301 Reviewed by Sam Weinig.
303 * WebCoreSupport/WebFrameNetworkingContext.h:
304 * WebCoreSupport/WebFrameNetworkingContext.mm:
305 (WebFrameNetworkingContext::inPrivateBrowsingMode):
306 (WebFrameNetworkingContext::storageSession):
307 Implemented inPrivateBrowsingMode().
309 2012-12-12 Mark Lam <mark.lam@apple.com>
311 Encapsulate externally used webdatabase APIs in DatabaseManager.
312 https://bugs.webkit.org/show_bug.cgi?id=104741.
314 Reviewed by Sam Weinig.
316 Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
317 and DatabaseContext directly. This is to prepare for upcoming webkit2
320 * Storage/WebDatabaseManager.mm:
321 (-[WebDatabaseManager origins]):
322 (-[WebDatabaseManager databasesWithOrigin:]):
323 (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
324 (-[WebDatabaseManager deleteAllDatabases]):
325 (-[WebDatabaseManager deleteOrigin:]):
326 (-[WebDatabaseManager deleteDatabase:withOrigin:]):
327 (WebKitInitializeDatabasesIfNecessary):
328 * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h.
329 (WebDatabaseManagerClient):
330 * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm.
331 (WebDatabaseManagerClient::sharedWebDatabaseManagerClient):
332 (WebDatabaseManagerClient::WebDatabaseManagerClient):
333 (WebDatabaseManagerClient::~WebDatabaseManagerClient):
334 (DidModifyOriginData::dispatchToMainThread):
335 (DidModifyOriginData::DidModifyOriginData):
336 (DidModifyOriginData):
337 (WebDatabaseManagerClient::dispatchDidModifyOrigin):
338 (WebDatabaseManagerClient::dispatchDidModifyDatabase):
339 * Storage/WebDatabaseQuotaManager.mm:
340 (-[WebDatabaseQuotaManager usage]):
341 (-[WebDatabaseQuotaManager quota]):
342 (-[WebDatabaseQuotaManager setQuota:]):
343 * Storage/WebDatabaseTrackerClient.h: Removed.
344 * Storage/WebDatabaseTrackerClient.mm: Removed.
345 * WebCoreSupport/WebSecurityOrigin.mm:
346 (-[WebSecurityOrigin usage]):
347 (-[WebSecurityOrigin quota]):
348 (-[WebSecurityOrigin setQuota:]):
350 * WebView/WebFrame.mm:
351 (-[WebFrame _cacheabilityDictionary]):
352 * WebView/WebView.mm:
353 (-[WebView _preferencesChanged:]):
355 2012-12-12 Alexey Proskuryakov <ap@apple.com>
357 Make LOG() work in WebProcess and NetworkProcess
358 https://bugs.webkit.org/show_bug.cgi?id=104718
360 Reviewed by Tim Horton.
362 * WebView/WebView.mm: Use WebCore/InitializeLogging.h to avoid conflicts between
363 WebCore and WebKit versions of this file.
365 2012-12-11 Mike West <mkwst@chromium.org>
367 Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
368 https://bugs.webkit.org/show_bug.cgi?id=66371
370 Reviewed by Pavel Feldman.
372 Drops WebCore::MessageType from the addMessageToConsole method.
374 * WebCoreSupport/WebChromeClient.h:
376 * WebCoreSupport/WebChromeClient.mm:
377 (WebChromeClient::addMessageToConsole):
379 2012-12-09 Antti Koivisto <antti@apple.com>
381 Factor node traversal into standalone functions
382 https://bugs.webkit.org/show_bug.cgi?id=104507
384 Reviewed by Eric Seidel.
386 * WebView/WebHTMLRepresentation.mm:
387 (searchForLabelsBeforeElement):
389 2012-12-10 Alexis Menard <alexis@webkit.org>
391 [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
392 https://bugs.webkit.org/show_bug.cgi?id=104539
394 Reviewed by Antonio Gomes.
396 As discussed on webkit-dev it is not needed to keep this feature flag
397 as support for <position> type is a small feature that is already
398 implemented by three other UAs. It was useful while landing this
399 feature as partial bits were landed one after one.
401 * Configurations/FeatureDefines.xcconfig:
403 2012-12-06 Rick Byers <rbyers@chromium.org>
405 CSS cursor property should support webkit-image-set
406 https://bugs.webkit.org/show_bug.cgi?id=99493
408 Reviewed by Beth Dakin.
410 Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
412 * Configurations/FeatureDefines.xcconfig:
414 2012-12-03 Yury Semikhatsky <yurys@chromium.org>
416 Unreviewed. Fix Mac compilation after r136448.
418 * WebCoreSupport/WebChromeClient.mm:
419 (stringForMessageType):
421 2012-12-03 Alexis Menard <alexis@webkit.org>
423 [Mac] Enable CSS3 background-position offset by default.
424 https://bugs.webkit.org/show_bug.cgi?id=103905
426 Reviewed by Simon Fraser.
428 Turn the flag on by default.
430 * Configurations/FeatureDefines.xcconfig:
432 2012-12-02 Yongjun Zhang <yongjun_zhang@apple.com>
434 Need a method to close all idle localstorage databases immediately.
435 https://bugs.webkit.org/show_bug.cgi?id=103469
437 Reviewed by David Kilzer.
439 Add a new method to WebStorageManager that we can call to close all
440 idle local storage databases.
442 * Storage/WebStorageManager.mm:
443 (+[WebStorageManager closeIdleLocalStorageDatabases]):
444 * Storage/WebStorageManagerPrivate.h:
446 2012-11-30 Mihai Maerean <mmaerean@adobe.com>
448 [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
449 https://bugs.webkit.org/show_bug.cgi?id=101192
451 Reviewed by Hajime Morita.
453 Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
455 Tests: No new tests because there is no functional change.
457 * WebView/WebView.mm:
458 (-[WebView _preferencesChanged:]):
460 2012-11-29 Rafael Weinstein <rafaelw@chromium.org>
462 [HTMLTemplateElement] Add feature flag
463 https://bugs.webkit.org/show_bug.cgi?id=103694
465 Reviewed by Adam Barth.
467 This flag will guard the implementation of the HTMLTemplateElement.
468 http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
470 * Configurations/FeatureDefines.xcconfig:
472 2012-11-29 Alexey Proskuryakov <ap@apple.com>
474 [WK2] Forward cookie jar calls to NetworkProcess
475 https://bugs.webkit.org/show_bug.cgi?id=103457
477 Reviewed by Darin Adler.
479 * WebCoreSupport/WebPlatformStrategies.h:
480 (WebPlatformStrategies):
481 * WebCoreSupport/WebPlatformStrategies.mm:
482 (WebPlatformStrategies::cookiesForDOM):
483 (WebPlatformStrategies::setCookiesFromDOM):
484 (WebPlatformStrategies::cookiesEnabled):
485 (WebPlatformStrategies::cookieRequestHeaderFieldValue):
486 (WebPlatformStrategies::getRawCookies):
487 (WebPlatformStrategies::deleteCookie):
488 (WebPlatformStrategies::getHostnamesWithCookies):
489 (WebPlatformStrategies::deleteCookiesForHostname):
490 (WebPlatformStrategies::deleteAllCookies):
491 (WebPlatformStrategies::getPluginInfo):
492 (WebPlatformStrategies::bufferForType):
493 WebKit1 strategy just uses PlatformCookieJar.
495 2012-11-28 Beth Dakin <bdakin@apple.com>
497 https://bugs.webkit.org/show_bug.cgi?id=102970
498 [WK1] REGRESSION (r129545): Main frame doesn't rubberband unless
499 WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:
501 Reviewed by Sam Weinig.
503 We should always register for DidFirstLayout in WK1 since we do work
504 at that time besides just calling the delegate function.
505 * WebView/WebView.mm:
506 (-[WebView _cacheFrameLoadDelegateImplementations]):
508 2012-11-27 Michael Saboff <msaboff@apple.com>
510 TextIterator unnecessarily converts 8 bit strings to 16 bits
511 https://bugs.webkit.org/show_bug.cgi?id=103295
513 Reviewed by Brent Fulgham.
515 Updated _stringForRange to use plainText() instead of removed plainTextToMallocAllocatedBuffer().
517 * WebView/WebFrame.mm:
518 (-[WebFrame _stringForRange:]):
520 2012-11-27 James Simonsen <simonjam@chromium.org>
522 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
523 https://bugs.webkit.org/show_bug.cgi?id=102151
525 Reviewed by Adam Barth.
527 * Plugins/WebPluginController.mm:
528 * WebView/WebFrame.mm:
529 (-[WebFrame loadRequest:]):
530 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
532 2012-11-27 Pratik Solanki <psolanki@apple.com>
534 objc/objc-runtime.h does not exist on all PLATFORM(MAC)
535 https://bugs.webkit.org/show_bug.cgi?id=101780
537 Reviewed by Brent Fulgham.
539 Clean up header includes so we don't include objc/objc-runtime.h.
541 * Carbon/HIWebView.mm:
542 (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend.
543 * Plugins/WebNetscapePluginView.mm:
544 * Plugins/WebPluginContainerCheck.mm:
545 (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
546 * Plugins/WebPluginController.mm:
547 * WebCoreSupport/WebCachedFramePlatformData.h:
548 * WebCoreSupport/WebDeviceOrientationClient.mm:
549 * WebView/WebDelegateImplementationCaching.mm:
550 * WebView/WebHTMLView.mm:
551 * WebView/WebPDFDocumentExtras.mm:
552 * WebView/WebPolicyDelegate.mm:
553 (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
554 * WebView/WebView.mm:
556 2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com>
558 Unreviewed, rolling out r135786.
559 http://trac.webkit.org/changeset/135786
560 https://bugs.webkit.org/show_bug.cgi?id=103379
562 It made 3 plugin tests timeout on several platforms (Requested
565 * Plugins/WebPluginController.mm:
566 * WebView/WebFrame.mm:
567 (-[WebFrame loadRequest:]):
568 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
570 2012-11-26 James Simonsen <simonjam@chromium.org>
572 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
573 https://bugs.webkit.org/show_bug.cgi?id=102151
575 Reviewed by Adam Barth.
577 * Plugins/WebPluginController.mm:
578 * WebView/WebFrame.mm:
579 (-[WebFrame loadRequest:]):
580 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
582 2012-11-23 Alexis Menard <alexis@webkit.org>
584 [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing.
585 https://bugs.webkit.org/show_bug.cgi?id=102104
587 Reviewed by Julien Chaffraix.
589 Protect the new feature behind a feature flag.
591 * Configurations/FeatureDefines.xcconfig:
593 2012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
595 Disambiguate innerNodeFramePoint and mainFramePoint
596 https://bugs.webkit.org/show_bug.cgi?id=98139
598 Reviewed by Julien Chaffraix.
600 Switch to using HitTestResult::innerNodeFrame and HitTestResult::innerNodeFramePoint.
602 * WebCoreSupport/WebContextMenuClient.mm:
603 (WebContextMenuClient::showContextMenu):
605 2012-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
607 Unreviewed, rolling out r135295.
608 http://trac.webkit.org/changeset/135295
609 https://bugs.webkit.org/show_bug.cgi?id=102834
611 This patch causes assertion to some layout tests on chromium
612 (Requested by jianli on #webkit).
614 * Plugins/WebPluginController.mm:
615 * WebView/WebFrame.mm:
616 (-[WebFrame loadRequest:]):
617 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
619 2012-11-20 James Simonsen <simonjam@chromium.org>
621 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
622 https://bugs.webkit.org/show_bug.cgi?id=102151
624 Reviewed by Adam Barth.
626 * Plugins/WebPluginController.mm:
627 * WebView/WebFrame.mm:
628 (-[WebFrame loadRequest:]):
629 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
631 2012-11-19 Kihong Kwon <kihong.kwon@samsung.com>
633 Add PROXIMITY_EVENTS feature
634 https://bugs.webkit.org/show_bug.cgi?id=102658
636 Reviewed by Kentaro Hara.
638 Add PROXIMITY_EVENTS feature to xcode project for WebKit.
640 * Configurations/FeatureDefines.xcconfig:
642 2012-11-16 Tony Chang <tony@chromium.org>
644 Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
645 https://bugs.webkit.org/show_bug.cgi?id=102554
647 Reviewed by Andreas Kling.
649 As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
650 we're going to revist this feature once additional vendor support is
653 * Configurations/FeatureDefines.xcconfig:
655 2012-11-15 Alexey Proskuryakov <ap@apple.com>
657 Private Browsing is a per-page setting that sets a global value
658 https://bugs.webkit.org/show_bug.cgi?id=67870
660 Reviewed by Sam Weinig.
662 * WebCoreSupport/WebFrameNetworkingContext.h:
663 * WebCoreSupport/WebFrameNetworkingContext.mm:
664 Moved functions for managing global sessions from WebCore.
666 * WebCoreSupport/WebPlatformStrategies.h:
667 * WebCoreSupport/WebPlatformStrategies.mm:
668 (WebPlatformStrategies::defaultCookieStorage): Added. Uses WebFrameNetworkingContext
669 to reach the storage.
671 * WebView/WebPreferences.mm:
672 (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Ditto.
673 (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Ditto.
675 * WebView/WebPreferencesPrivate.h: Added a comment explaining that two functions
676 are not generic enough for use outside DRT (one of them had "testing" in name,
677 but another did not).
679 * WebView/WebView.mm:
680 (-[WebView _preferencesChanged:]): Create a global private browsing session when
681 the first view with private browsing is created, delete it when any window with
682 it disabled is created (since this comes from preferences, it applies to all
683 views equally, even though we are dealing with a single one here).
684 (-[WebView _cachedResponseForURL:]): Use main frame's networking context instead of
687 2012-11-13 Timothy Hatcher <timothy@apple.com>
689 Adjust the Web Inspector window title frame if needed to prevent it from intersecting the dock button.
691 https://bugs.webkit.org/show_bug.cgi?id=102073
693 Reviewed by Joseph Pecoraro.
695 * WebCoreSupport/WebInspectorClient.mm:
696 (-[WebInspectorWindow _customTitleFrame]): Added. Adjust the title frame.
698 2012-11-12 Simon Fraser <simon.fraser@apple.com>
700 Build fix after r134346 and 134347.
702 Use frameView.isFlipped, not frameView.flipped in the assertion.
704 * WebCoreSupport/WebInspectorClient.mm:
705 (-[WebInspectorWindowController window]):
707 2012-11-12 Timothy Hatcher <timothy@apple.com>
709 Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
711 https://bugs.webkit.org/show_bug.cgi?id=102025
713 Reviewed by Joseph Pecoraro.
715 * Resources/Dock.pdf: Added.
716 * WebCoreSupport/WebInspectorClient.h:
717 * WebCoreSupport/WebInspectorClient.mm:
718 (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
719 (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
720 (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
721 (-[WebInspectorWindowController window]): Create the dock button and add it.
722 (-[WebInspectorWindowController attachWindow:]): Added.
723 (-[WebInspectorWindowController attach]): Call setAttachedWindow.
724 (-[WebInspectorWindowController detach]): Ditto.
725 (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
727 2012-11-08 Timothy Hatcher <timothy@apple.com>
729 Always use a textured window for the Web Inspector.
731 https://bugs.webkit.org/show_bug.cgi?id=101693
733 Reviewed by Joseph Pecoraro.
735 * WebCoreSupport/WebInspectorClient.mm:
736 (-[WebInspectorWindowController window]): Removed the conditional for a textured window.
738 2012-11-08 Roger Fong <roger_fong@apple.com>
740 Null check URL key entries into WebHistory hash table.
741 https://bugs.webkit.org/show_bug.cgi?id=101664
742 <rdar://problem/12440852>
744 Reviewed by Brady Eidson.
746 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.
747 This prevents the desired page navigation from taking effect. This is a workaround for the problem.
748 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
749 so that navigation can continue as expected.
751 * History/WebHistory.mm:
752 (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]):
754 2012-11-07 Andreas Kling <akling@apple.com>
756 Remove build-webkit dependency on Java SDK for Apple Mac WebKit.
757 <http://webkit.org/b/101492>
759 Reviewed by Anders Carlsson.
761 * Plugins/WebJavaPlugIn.h: Removed.
763 2012-11-06 Adam Barth <abarth@webkit.org>
765 Unreviewed attempt to fix the chromium-mac build.
767 * WebCoreSupport/WebSystemInterface.mm:
768 (InitWebCoreSystemInterface):
770 2012-11-06 Anders Carlsson <andersca@apple.com>
772 Update Java related WKSI function names
773 https://bugs.webkit.org/show_bug.cgi?id=101414
775 Reviewed by Sam Weinig.
777 * WebCoreSupport/WebChromeClient.mm:
778 (WebChromeClient::unavailablePluginButtonClicked):
779 * WebCoreSupport/WebFrameLoaderClient.mm:
782 2012-11-06 Alexey Proskuryakov <ap@apple.com>
784 Clean up which storage cookie jar functions use
785 https://bugs.webkit.org/show_bug.cgi?id=101395
787 Reviewed by Brady Eidson.
789 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated for
792 2012-11-06 Andrey Lushnikov <lushnikov@google.com>
794 Added console.clear() method
796 Web Inspector: add console.clear()
797 https://bugs.webkit.org/show_bug.cgi?id=101021
799 Reviewed by Vsevolod Vlasov.
801 * WebCoreSupport/WebChromeClient.mm:
802 (stringForMessageType): Added ClearMessageType case to switch
804 2012-11-05 Alexey Proskuryakov <ap@apple.com>
806 Get rid of setCookieStoragePrivateBrowsingEnabled.
807 https://bugs.webkit.org/show_bug.cgi?id=101247
809 Reviewed by Brady Eidson.
811 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): We no longer
814 2012-11-03 Alexey Proskuryakov <ap@apple.com>
816 Get rid of USE(CFURLSTORAGESESSIONS)
817 https://bugs.webkit.org/show_bug.cgi?id=101131
819 Reviewed by Sam Weinig.
821 * WebView/WebPreferences.mm:
822 (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
823 (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
824 * WebView/WebView.mm:
825 (-[WebView _cachedResponseForURL:]):
827 2012-11-02 Anders Carlsson <andersca@apple.com>
829 Don't instantiate the Java plug-in if it's inactive
830 https://bugs.webkit.org/show_bug.cgi?id=101102
831 <rdar://problem/12595679>
833 Reviewed by Andreas Kling.
835 * WebCoreSupport/WebChromeClient.mm:
836 (WebChromeClient::shouldUnavailablePluginMessageBeButton):
837 The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
839 (WebChromeClient::unavailablePluginButtonClicked):
840 If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
841 then reload the page.
843 * WebCoreSupport/WebFrameLoaderClient.mm:
844 (isOracleJavaPlugIn):
848 (WebFrameLoaderClient::createPlugin):
849 If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
851 2012-11-02 Simon Fraser <simon.fraser@apple.com>
853 Enable SUBPIXEL_LAYOUT on Mac
854 https://bugs.webkit.org/show_bug.cgi?id=101076
856 Reviewed by Dave Hyatt.
858 Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
860 * Configurations/FeatureDefines.xcconfig:
862 2012-11-02 Adam Barth <abarth@webkit.org>
864 ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
865 https://bugs.webkit.org/show_bug.cgi?id=100711
867 Reviewed by Eric Seidel.
869 * Configurations/FeatureDefines.xcconfig:
871 2012-11-01 Adam Roben <aroben@webkit.org>
873 [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
874 https://bugs.webkit.org/show_bug.cgi?id=100957
876 Reviewed by Simon Fraser.
878 WebCore doesn't yet support subpixel scrolling. WebKit2 forces
879 scrolling to always be integral. Now WebKit1 forces this as well.
881 I'm not sure how to write a test for this.
883 * WebView/WebDynamicScrollBarsView.mm:
884 (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
885 or position:sticky elements in the page.
886 (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
887 scroll origin to the nearest pixel if needed.
889 2012-10-31 Anders Carlsson <andersca@apple.com>
892 <rdar://problem/12612207>.
894 Reviewed by Sam Weinig.
896 * Panels/WebAuthenticationPanel.m:
897 (-[WebAuthenticationPanel loadNib]):
899 2012-10-30 Joseph Pecoraro <pecoraro@apple.com>
901 [Mac] Sync up FeatureDefine Configuration Files
902 https://bugs.webkit.org/show_bug.cgi?id=100171
904 Reviewed by David Kilzer.
906 Follow up to better coordinate with iOS feature defines. Make:
908 - ENABLE_FILTERS always on
909 - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
911 * Configurations/FeatureDefines.xcconfig:
913 2012-10-30 Joseph Pecoraro <pecoraro@apple.com>
915 [Mac] Sync up FeatureDefine Configuration Files
916 https://bugs.webkit.org/show_bug.cgi?id=100171
918 Reviewed by David Kilzer.
920 Ensure an identical FeatureDefine files across all projects. Changes:
922 - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
923 - ENABLE_PDFKIT_PLUGIN should be in all
924 - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
925 - ENABLE_ENCRYPTED_MEDIA should be in all
926 - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
927 - Some alphabetical ordering cleanup
929 * Configurations/FeatureDefines.xcconfig:
931 2012-10-29 Anders Carlsson <andersca@apple.com>
933 Build WebKit as C++11 on Mac
934 https://bugs.webkit.org/show_bug.cgi?id=100720
936 Reviewed by Daniel Bates.
938 * Configurations/Base.xcconfig:
939 Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
941 * History/WebBackForwardList.mm:
942 (-[WebBackForwardList description]):
943 * History/WebHistoryItem.mm:
944 (-[WebHistoryItem description]):
945 Add static_casts to prevent implicit type conversions in non-constant initializer lists.
947 2012-10-28 Mark Rowe <mrowe@apple.com>
949 Simplify Xcode configuration settings that used to vary between OS versions.
951 Reviewed by Dan Bernstein.
953 * Configurations/Base.xcconfig:
954 * Configurations/DebugRelease.xcconfig:
955 * Configurations/WebKit.xcconfig:
957 2012-10-28 Mark Rowe <mrowe@apple.com>
959 Remove references to unsupported OS and Xcode versions.
961 Reviewed by Anders Carlsson.
963 * Configurations/Base.xcconfig:
964 * Configurations/CompilerVersion.xcconfig: Removed.
965 * Configurations/DebugRelease.xcconfig:
966 * Configurations/Version.xcconfig:
968 2012-10-29 Enrica Casucci <enrica@apple.com>
970 Add ENABLE_USERSELECT_ALL feature flag.
971 https://bugs.webkit.org/show_bug.cgi?id=100559
973 Reviewed by Eric Seidel.
975 * Configurations/FeatureDefines.xcconfig:
977 2012-10-27 Alexey Proskuryakov <ap@apple.com>
979 All tests crash in WebKit1 mode
980 https://bugs.webkit.org/show_bug.cgi?id=100602
982 Reviewed by Sam Weinig.
984 * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
985 scheduler is created via a strategy, so strategies need to be initialized before
988 2012-10-27 Dan Bernstein <mitz@apple.com>
990 REAL_PLATFORM_NAME build setting is no longer needed
991 https://bugs.webkit.org/show_bug.cgi?id=100587
993 Reviewed by Mark Rowe.
995 Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
998 * Configurations/Base.xcconfig:
999 * Configurations/CompilerVersion.xcconfig:
1000 * Configurations/DebugRelease.xcconfig:
1001 * Configurations/FeatureDefines.xcconfig:
1002 * Configurations/Version.xcconfig:
1003 * Configurations/WebKit.xcconfig:
1005 2012-10-26 Thiago Marcos P. Santos <thiago.santos@intel.com>
1007 Add feature flags for CSS Device Adaptation
1008 https://bugs.webkit.org/show_bug.cgi?id=95960
1010 Reviewed by Kenneth Rohde Christiansen.
1012 * Configurations/FeatureDefines.xcconfig:
1014 2012-10-25 Dominik Röttsches <dominik.rottsches@intel.com>
1016 Conditionalize XHR timeout support
1017 https://bugs.webkit.org/show_bug.cgi?id=100356
1019 Reviewed by Adam Barth.
1021 Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
1022 Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
1024 * Configurations/FeatureDefines.xcconfig:
1026 2012-10-24 Timothy Hatcher <timothy@apple.com>
1028 Fix a crash seen during the Inspector tests on the WebKit1 bots.
1030 Reviewed by Filip Pizlo.
1032 * WebCoreSupport/WebInspectorClient.mm:
1033 (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
1034 is not the same when the Inspector is docked.
1036 2012-10-24 Brady Eidson <beidson@apple.com>
1038 Add a strategy for loader customization.
1039 https://bugs.webkit.org/show_bug.cgi?id=100278
1041 Reviewed by Alexey Proskuryakov.
1043 * WebCoreSupport/WebPlatformStrategies.h:
1044 (WebPlatformStrategies):
1045 * WebCoreSupport/WebPlatformStrategies.mm:
1046 (WebPlatformStrategies::createLoaderStrategy):
1048 2012-10-24 Timothy Hatcher <timothy@apple.com>
1050 Make the Inspector WKView/WebView become the first responder when bringToFront is called.
1052 https://bugs.webkit.org/show_bug.cgi?id=100209
1054 Reviewed by Joseph Pecoraro.
1056 * WebCoreSupport/WebInspectorClient.mm:
1057 (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
1059 2012-10-23 Alexey Proskuryakov <ap@apple.com>
1061 Add a strategy for shared workers
1062 https://bugs.webkit.org/show_bug.cgi?id=100165
1064 Reviewed by Brady Eidson.
1066 * WebCoreSupport/WebPlatformStrategies.h:
1067 * WebCoreSupport/WebPlatformStrategies.mm:
1068 (WebPlatformStrategies::createPasteboardStrategy):
1069 (WebPlatformStrategies::createSharedWorkerStrategy):
1070 (WebPlatformStrategies::createVisitedLinkStrategy):
1072 2012-10-24 Eric Carlson <eric.carlson@apple.com>
1074 Allow ports to override text track rendering style
1075 https://bugs.webkit.org/show_bug.cgi?id=97800
1076 <rdar://problem/12044964>
1078 Reviewed by Maciej Stachowiak.
1080 * WebCoreSupport/WebSystemInterface.mm:
1081 (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1083 2012-10-23 Dan Bernstein <mitz@apple.com>
1085 WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
1086 https://bugs.webkit.org/show_bug.cgi?id=100188
1088 Reviewed by Sam Weinig.
1090 * WebView/WebView.mm:
1091 (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
1092 code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
1093 default. Changed to refer to that default key by name.
1095 2012-10-23 Kenneth Rohde Christiansen <kenneth@webkit.org>
1097 Add support for resolution media query
1098 https://bugs.webkit.org/show_bug.cgi?id=99077
1100 Reviewed by Antti Koivisto.
1102 Add support for the RESOLUTION_MEDIA_QUERY feature flag.
1104 * Configurations/FeatureDefines.xcconfig:
1106 2012-10-21 Andreas Kling <kling@webkit.org>
1108 Remove Page::javaScriptURLsAreAllowed setting.
1109 <http://webkit.org/b/99944>
1111 Reviewed by Anders Carlsson.
1114 * WebView/WebView.mm:
1115 * WebView/WebViewPrivate.h:
1117 2012-10-19 Dongwoo Joshua Im <dw.im@samsung.com>
1119 Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
1120 https://bugs.webkit.org/show_bug.cgi?id=99804
1122 Reviewed by Julien Chaffraix.
1124 CSS3 text related properties will be implemented under this flag,
1125 including text decoration, text-align-last, and text-justify.
1127 * Configurations/FeatureDefines.xcconfig:
1129 2012-10-18 Pablo Flouret <pablof@motorola.com>
1131 Implement css3-conditional's @supports rule
1132 https://bugs.webkit.org/show_bug.cgi?id=86146
1134 Reviewed by Antti Koivisto.
1136 * Configurations/FeatureDefines.xcconfig:
1137 Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
1139 2012-10-17 Joseph Pecoraro <pecoraro@apple.com>
1141 [Mac] Uninitialized Members in WebDataSourcePrivate
1142 https://bugs.webkit.org/show_bug.cgi?id=99617
1144 Reviewed by David Kilzer.
1146 Initialize BOOL member variables.
1148 * WebView/WebDataSource.mm:
1149 (WebDataSourcePrivate::WebDataSourcePrivate):
1151 2012-10-17 Mark Rowe <mrowe@apple.com>
1153 Fix the build with a newer version of clang.
1155 Reviewed by Dan Bernstein.
1157 Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
1158 While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
1159 with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
1160 therefore generates a warning in newer versions of the compiler.
1162 Fixes <rdar://problem/12503709>.
1164 * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
1165 * Misc/WebCoreStatistics.mm: Ditto.
1166 (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
1167 (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
1169 2012-10-16 Jian Li <jianli@chromium.org>
1171 Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
1172 https://bugs.webkit.org/show_bug.cgi?id=98975
1174 Reviewed by Adam Barth.
1176 Renaming is needed to better match with the draggable region code.
1178 * Configurations/FeatureDefines.xcconfig:
1180 2012-10-15 Dan Bernstein <mitz@apple.com>
1182 WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
1183 https://bugs.webkit.org/show_bug.cgi?id=99113
1185 Reviewed by Tim Horton.
1187 * WebCoreSupport/WebSystemInterface.mm:
1188 (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
1190 2012-10-15 David Kilzer <ddkilzer@apple.com>
1192 Move framework and library linking into WebKit.xcconfig
1193 <http://webkit.org/b/99284>
1195 Reviewed by Mark Rowe.
1197 * Configurations/WebKit.xcconfig: Move frameworks and libraries
1198 link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
1200 2012-10-14 Jon Lee <jonlee@apple.com>
1202 Allow notification origin permission request when no js callback is provided
1203 https://bugs.webkit.org/show_bug.cgi?id=63615
1204 <rdar://problem/11059590>
1206 Reviewed by Sam Weinig.
1208 Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
1209 we do not fall through to calling the standard API's callback if the legacy API's callback is null.
1211 * WebCoreSupport/WebNotificationClient.mm:
1213 (-[WebNotificationPolicyListener initWithVoidCallback:]):
1214 (-[WebNotificationPolicyListener allow]):
1215 (-[WebNotificationPolicyListener deny]):
1217 2012-10-14 Sam Weinig <sam@webkit.org>
1219 Make UserScript and UserStyleSheet value objects that are copyable
1220 https://bugs.webkit.org/show_bug.cgi?id=99275
1222 Reviewed by Tim Horton.
1224 * WebView/WebView.mm:
1225 (-[WebView _injectMailQuirksScript]):
1226 (-[WebView _injectOutlookQuirksScript]):
1227 Update for new PageGroup function signatures.
1229 2012-10-10 Brady Eidson <beidson@apple.com>
1231 Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
1232 https://bugs.webkit.org/show_bug.cgi?id=98976
1234 Reviewed by Anders Carlsson.
1236 * WebView/WebDataSource.mm:
1237 (-[WebDataSource data]):
1239 2012-10-10 Jer Noble <jer.noble@apple.com>
1241 Disallow full screen mode keyboard access by default.
1242 https://bugs.webkit.org/show_bug.cgi?id=98971
1243 <rdar://problem/12474226>
1245 Reviewed by Sam Weinig.
1247 Only support full screen if keyboard access is not requested.
1249 * WebView/WebView.mm:
1250 (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
1252 2012-10-10 Jon Lee <jonlee@apple.com>
1254 [WK2] Activate plugins when user clicks on snapshot
1255 https://bugs.webkit.org/show_bug.cgi?id=98328
1256 <rdar://problem/12426681>
1258 Reviewed by Brady Eidson.
1260 * WebCoreSupport/WebFrameLoaderClient.h:
1261 * WebCoreSupport/WebFrameLoaderClient.mm:
1262 (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
1264 2012-10-10 Brady Eidson <beidson@apple.com>
1266 Switch CachedResource over from SharedBuffer to a new ResourceBuffer
1267 https://bugs.webkit.org/show_bug.cgi?id=98541
1269 Reviewed by Anders Carlsson.
1271 * WebView/WebHTMLView.mm:
1272 (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
1274 2012-10-10 Simon Fraser <simon.fraser@apple.com>
1276 Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
1277 https://bugs.webkit.org/show_bug.cgi?id=98839
1279 Reviewed by Sam Weinig.
1281 To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
1282 in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
1283 but store the computed rect in m_visibleRect.
1285 Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
1286 layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
1288 * WebView/WebFrame.mm:
1289 (-[WebFrame _layerTreeAsText]):
1291 2012-10-09 Jian Li <jianli@chromium.org>
1293 Update the CSS property used to support draggable regions.
1294 https://bugs.webkit.org/show_bug.cgi?id=97156
1296 Reviewed by Adam Barth.
1298 The CSS property to support draggable regions, guarded under
1299 WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
1300 confusion with DASHBOARD_SUPPORT feature.
1302 Also update the code to use the new name annotatedRegions to work for
1305 * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
1306 * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
1307 * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
1308 (WebChromeClient::annotatedRegionsChanged):
1309 * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
1310 (-[WebView _dashboardRegions]):
1312 2012-10-09 Sheriff Bot <webkit.review.bot@gmail.com>
1314 Unreviewed, rolling out r130811 and r130821.
1315 http://trac.webkit.org/changeset/130811
1316 http://trac.webkit.org/changeset/130821
1317 https://bugs.webkit.org/show_bug.cgi?id=98831
1319 Broke date-suggestion-picker-appearance-with-scroll-bar.html
1320 (Requested by abarth|gardening on #webkit).
1322 * WebView/WebFullScreenController.mm:
1323 (screenRectOfContents):
1324 * WebView/WebRenderNode.mm:
1327 2012-10-08 Kiran Muppala <cmuppala@apple.com>
1329 Throttle DOM timers on hidden pages.
1330 https://bugs.webkit.org/show_bug.cgi?id=98474
1332 Reviewed by Maciej Stachowiak.
1334 Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
1335 DumpRenderTree to modify the visibility state of a page. The latter
1336 is needed to test throttling of timers on hidden pages through DumpRenderTree.
1338 * Configurations/FeatureDefines.xcconfig:
1339 * WebView/WebView.mm:
1340 (-[WebView _setVisibilityState:isInitialState:]):
1341 * WebView/WebViewPrivate.h:
1343 2012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1345 Rename first/second to key/value in HashMap iterators
1346 https://bugs.webkit.org/show_bug.cgi?id=82784
1348 Reviewed by Eric Seidel.
1350 * History/WebHistory.mm:
1351 (-[WebHistoryPrivate removeItemFromDateCaches:]):
1352 (-[WebHistoryPrivate orderedLastVisitedDays]):
1353 (WebHistoryWriter::WebHistoryWriter):
1354 * Misc/WebCoreStatistics.mm:
1355 (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
1356 (+[WebCoreStatistics javaScriptObjectTypeCounts]):
1357 * Plugins/Hosted/NetscapePluginHostManager.mm:
1358 (WebKit::NetscapePluginHostManager::hostForPlugin):
1359 (WebKit::NetscapePluginHostManager::pluginHostDied):
1360 (WebKit::NetscapePluginHostManager::didCreateWindow):
1361 * Plugins/Hosted/NetscapePluginHostProxy.mm:
1362 (WebKit::NetscapePluginHostProxy::pluginHostDied):
1363 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1364 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
1365 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
1366 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
1367 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
1368 (WebKit::NetscapePluginInstanceProxy::destroy):
1369 (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
1370 (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
1371 * Plugins/Hosted/ProxyInstance.mm:
1372 (WebKit::ProxyInstance::methodNamed):
1373 (WebKit::ProxyInstance::fieldNamed):
1374 * Plugins/WebNetscapePluginView.mm:
1375 (-[WebNetscapePluginView stopTimers]):
1376 (-[WebNetscapePluginView startTimers]):
1377 * WebCoreSupport/WebNotificationClient.mm:
1378 (WebNotificationClient::show):
1379 (WebNotificationClient::clearNotifications):
1380 (WebNotificationClient::notificationObjectDestroyed):
1381 * WebView/WebHTMLView.mm:
1382 (commandNameForSelector):
1384 2012-10-06 Dan Bernstein <mitz@apple.com>
1386 WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
1387 https://bugs.webkit.org/show_bug.cgi?id=98601
1389 Reviewed by Darin Adler.
1391 * WebView/WebView.mm:
1392 (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
1393 kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
1396 2012-10-05 Sheriff Bot <webkit.review.bot@gmail.com>
1398 Unreviewed, rolling out r130556 and r130564.
1399 http://trac.webkit.org/changeset/130556
1400 http://trac.webkit.org/changeset/130564
1401 https://bugs.webkit.org/show_bug.cgi?id=98572
1403 The patch wasn't reviewed by a reviewer and it is breaking
1404 Chromium Windows (Requested by jchaffraix on #webkit).
1406 * WebCoreSupport/WebSystemInterface.mm:
1407 (InitWebCoreSystemInterface):
1409 2012-10-05 Tim Horton <timothy_horton@apple.com>
1411 [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
1412 https://bugs.webkit.org/show_bug.cgi?id=98565
1413 <rdar://problem/12436468>
1415 Reviewed by Simon Fraser.
1417 Add wkCGContextDrawsWithCorrectShadowOffsets.
1419 * WebCoreSupport/WebSystemInterface.mm:
1420 (InitWebCoreSystemInterface):
1422 2012-10-04 Eric Carlson <eric.carlson@apple.com>
1424 Allow ports to override text track rendering style
1425 https://bugs.webkit.org/show_bug.cgi?id=97800
1426 <rdar://problem/12044964>
1428 Reviewed by Silvia Pfeiffer.
1430 Add WCSI support for new WKSI caption functions.
1432 * WebCoreSupport/WebSystemInterface.mm:
1433 (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1435 2012-10-04 Jon Lee <jonlee@apple.com>
1437 Add a setting to enable plugin snapshotting
1438 https://bugs.webkit.org/show_bug.cgi?id=98319
1439 <rdar://problem/12426480>
1441 Reviewed by Brady Eidson.
1443 Expose plugInSnapshottingEnabled preference to WebKit clients.
1445 * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
1446 * WebView/WebPreferences.mm:
1447 (+[WebPreferences initialize]): Setting is turned off by default.
1448 (-[WebPreferences plugInSnapshottingEnabled]):
1449 (-[WebPreferences setPlugInSnapshottingEnabled:]):
1450 * WebView/WebPreferencesPrivate.h:
1451 * WebView/WebView.mm:
1452 (-[WebView _preferencesChanged:]): Update settings based on preference.
1454 2012-10-04 Rik Cabanier <cabanier@adobe.com>
1456 Turn Compositing on by default in WebKit build
1457 https://bugs.webkit.org/show_bug.cgi?id=98315
1459 Reviewed by Simon Fraser.
1461 enable -webkit-blend-mode on trunk.
1463 * Configurations/FeatureDefines.xcconfig:
1465 2012-10-04 Simon Fraser <simon.fraser@apple.com>
1467 Final part of "sync" to "flush" renaming
1468 https://bugs.webkit.org/show_bug.cgi?id=98430
1470 Reviewed by Tim Horton.
1472 Change method names on GraphicsLayer and GraphicsLayerClient that
1473 refer to "sync" to use the term "flush" instead, to be consistent
1474 with the rest of the code.
1476 * WebView/WebView.mm:
1478 2012-10-03 Benjamin Poulain <bpoulain@apple.com>
1480 [WK2] Support all attributes of GeolocationPosition
1481 https://bugs.webkit.org/show_bug.cgi?id=98212
1483 Reviewed by Sam Weinig.
1485 Add an internal constructor for the sake of testing.
1486 A similar API is used on iOS.
1488 * WebView/WebGeolocationPosition.mm:
1489 (-[WebGeolocationPosition initWithGeolocationPosition:]):
1491 2012-10-04 Simon Fraser <simon.fraser@apple.com>
1493 Standardize on "flush" terminology for compositing layer flushing/syncing
1494 https://bugs.webkit.org/show_bug.cgi?id=98321
1496 Reviewed by Simon Fraser.
1498 Rename compositing-related methods that refer to "syncing" to instead
1499 refer to "flushing".
1501 * WebCoreSupport/WebChromeClient.h:
1502 * WebCoreSupport/WebChromeClient.mm:
1503 (WebChromeClient::scheduleCompositingLayerFlush):
1504 * WebView/WebView.mm:
1505 (-[WebView _flushCompositingChanges]):
1506 (LayerFlushController::flushLayers):
1507 (-[WebView _scheduleCompositingLayerFlush]):
1508 * WebView/WebViewInternal.h:
1510 == Rolled over to ChangeLog-2012-10-02 ==