1 2013-02-02 David Kilzer <ddkilzer@apple.com>
3 Upstream iOS FeatureDefines
4 <http://webkit.org/b/108753>
6 Reviewed by Anders Carlsson.
8 * Configurations/FeatureDefines.xcconfig:
9 - ENABLE_DEVICE_ORIENTATION: Add iOS configurations.
10 - ENABLE_PLUGIN_PROXY_FOR_VIDEO: Ditto.
11 - FEATURE_DEFINES: Add ENABLE_PLUGIN_PROXY_FOR_VIDEO. Add
12 PLATFORM_NAME variant to reduce future merge conflicts.
14 2013-02-01 Alexis Menard <alexis@webkit.org>
16 Enable unprefixed CSS transitions by default.
17 https://bugs.webkit.org/show_bug.cgi?id=108216
19 Reviewed by Dean Jackson.
21 Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
22 to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
23 guard the unprefixing work for CSS Transforms and animations.
25 * Configurations/FeatureDefines.xcconfig:
27 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
29 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
30 https://bugs.webkit.org/show_bug.cgi?id=107737
32 Reviewed by Ryosuke Niwa.
34 * WebView/WebHTMLView.mm:
35 (-[WebHTMLView _updateSelectionForInputManager]):
37 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
39 Unreviewed, rolling out r141479.
40 http://trac.webkit.org/changeset/141479
41 https://bugs.webkit.org/show_bug.cgi?id=108564
43 breaks chromium test (Requested by morrita on #webkit).
45 * WebView/WebHTMLView.mm:
46 (-[WebHTMLView _updateSelectionForInputManager]):
48 2013-01-31 Enrica Casucci <enrica@apple.com>
50 Mac: Editor::baseWritingDirectionForSelectionStart should return WritingDirection instead of NSWritingDirection.
51 https://bugs.webkit.org/show_bug.cgi?id=108519.
53 Reviewed by Sam Weinig.
55 There is no need to use AppKit types here.
56 baseWritingDirectionForSelectionStart now returns WritingDirection and
57 WebHTMLView toggleWritingDirection has been modified accordingly.
59 * WebView/WebHTMLView.mm:
60 (-[WebHTMLView toggleBaseWritingDirection:]):
62 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
64 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
65 https://bugs.webkit.org/show_bug.cgi?id=107737
67 Reviewed by Ryosuke Niwa.
69 * WebView/WebHTMLView.mm:
70 (-[WebHTMLView _updateSelectionForInputManager]):
72 2013-01-31 Joseph Pecoraro <pecoraro@apple.com>
74 Disable ENABLE_FULLSCREEN_API on iOS
75 https://bugs.webkit.org/show_bug.cgi?id=108250
77 Reviewed by Benjamin Poulain.
79 * Configurations/FeatureDefines.xcconfig:
81 2013-01-31 Enrica Casucci <enrica@apple.com>
83 WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
84 https://bugs.webkit.org/show_bug.cgi?id=108396.
85 <rdar://problem/12920461>
87 Reviewed by Alexey Proskuryakov.
89 Adds stub implementation for WebKit of the new EditorClient methods.
91 * WebCoreSupport/WebEditorClient.h:
92 * WebCoreSupport/WebEditorClient.mm:
93 (WebEditorClient::willWriteSelectionToPasteboard):
94 (WebEditorClient::getClientPasteboardDataForRange):
96 2013-01-31 Brady Eidson <beidson@apple.com>
98 Lack of a log level string should not obliterate compiled in logging channel state.
99 https://bugs.webkit.org/show_bug.cgi?id=108502
101 Reviewed by Alexey Proskuryakov and Sam Weinig.
103 * Misc/WebKitLogging.m: If there's no log level string, leave the channel state alone.
105 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
107 Unreviewed, rolling out r140983.
108 http://trac.webkit.org/changeset/140983
109 https://bugs.webkit.org/show_bug.cgi?id=108277
111 Unfortunately, this API has one last client (Requested by
114 * Configurations/FeatureDefines.xcconfig:
116 2012-11-28 Jer Noble <jer.noble@apple.com>
118 Allow clients to ask for the WebView/WKView placeholder view when in full screen mode.
119 https://bugs.webkit.org/show_bug.cgi?id=103558
120 <rdar://problem/12763112>
122 Reviewed by Benjamin Poulain.
124 Clients may want to behave differently when their WebView/WKView has been swapped out by a placeholder
125 view when in full screen mode. Add a simple accessor for the existing placeholder view to
126 WebFullScreenController and WebView.
128 * WebView/WebFullScreenController.h:
129 * WebView/WebFullScreenController.mm:
130 (-[WebFullScreenController webViewPlaceholder]): Added simple accessor.
131 * WebView/WebView.mm:
132 (-[WebView fullScreenPlaceholderView]): Added simple accessor.
134 2013-01-28 Pratik Solanki <psolanki@apple.com>
136 PLATFORM(IOS) should come before __MAC_OS_X_VERSION_MIN_REQUIRED
137 https://bugs.webkit.org/show_bug.cgi?id=108101
139 Reviewed by Benjamin Poulain.
141 Since iOS does not define __MAC_OS_X_VERSION_MIN_REQUIRED, any usage of
142 __MAC_OS_X_VERSION_MIN_REQUIRED should be after a PLATFORM(IOS) check.
144 * WebCoreSupport/WebSystemInterface.mm:
145 (InitWebCoreSystemInterface):
147 2013-01-28 Joseph Pecoraro <pecoraro@apple.com>
149 [Mac] Update PageVisibilityState when WebView is hidden / visible
150 https://bugs.webkit.org/show_bug.cgi?id=107509
152 Reviewed by Sam Weinig.
154 * WebView/WebView.mm:
155 * WebView/WebViewPrivate.h:
156 (-[WebView _commonInitializationWithFrameName:groupName:]):
157 Set the initial visibility of the page.
159 (-[WebView addWindowObserversForWindow:]):
160 (-[WebView removeWindowObservers]):
161 (-[WebView _isViewVisible]):
162 (-[WebView _updateVisibilityState]):
163 (-[WebView viewDidMoveToWindow]):
164 (-[WebView _windowVisibilityChanged:]):
165 Update visibility state in the same ways WK2 does. This involves
166 listening for some new NSWindow delegates.
168 2013-01-28 Joseph Pecoraro <pecoraro@apple.com>
170 Improve PageVisibility API with enums
171 https://bugs.webkit.org/show_bug.cgi?id=107364
173 Reviewed by Sam Weinig.
175 * WebView/WebView.mm:
176 * WebView/WebViewPrivate.h:
178 (-[WebView _setVisibilityState:isInitialState:]):
179 Switch the private API form int to a WebPageVisibilityState enum.
181 2013-01-28 Adam Barth <abarth@webkit.org>
183 Remove webkitNotifications.createHTMLNotification
184 https://bugs.webkit.org/show_bug.cgi?id=107598
186 Reviewed by Benjamin Poulain.
188 * Configurations/FeatureDefines.xcconfig:
190 2013-01-25 Andy Estes <aestes@apple.com>
192 Wrap content filtering code in an object
193 https://bugs.webkit.org/show_bug.cgi?id=107914
195 Reviewed by Alexey Proskuryakov.
197 * WebCoreSupport/WebSystemInterface.mm:
198 (InitWebCoreSystemInterface): Updated to reflect changes in WKSI.
200 2013-01-24 Dan Bernstein <mitz@apple.com>
202 WebNavigationData does not distinguish between an empty title and a missing title
203 https://bugs.webkit.org/show_bug.cgi?id=107917
205 Reviewed by Andy Estes.
207 * WebCoreSupport/WebFrameLoaderClient.mm:
208 (nilOrNSString): Added this helper function.
209 (WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with a nil
210 title, rather than the empty string, if the document does not have a title.
212 2013-01-24 Mark Hahnenberg <mhahnenberg@apple.com>
214 Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
215 https://bugs.webkit.org/show_bug.cgi?id=107327
217 Reviewed by Filip Pizlo.
219 We're renaming these two files, so we have to replace the names everywhere.
221 * DOM/WebDOMOperations.mm:
222 * ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebKit/mac/ForwardingHeaders/runtime/JSValue.h.
223 * ForwardingHeaders/runtime/JSValue.h: Removed.
224 * WebView/WebFrame.mm:
225 * WebView/WebView.mm:
227 2013-01-22 Anders Carlsson <andersca@apple.com>
229 Use a platforom strategy for local storage
230 https://bugs.webkit.org/show_bug.cgi?id=107600
232 Reviewed by Andreas Kling.
234 Update for new storage strategy.
236 * WebCoreSupport/WebPlatformStrategies.h:
237 (WebPlatformStrategies):
238 * WebCoreSupport/WebPlatformStrategies.mm:
239 (WebPlatformStrategies::createStorageStrategy):
241 2013-01-21 Kentaro Hara <haraken@chromium.org>
243 Implement UIEvent constructor
244 https://bugs.webkit.org/show_bug.cgi?id=107430
246 Reviewed by Adam Barth.
248 Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
250 UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
251 which is enabled on Safari and Chromium for now.
253 * Configurations/FeatureDefines.xcconfig:
255 2013-01-22 Joseph Pecoraro <pecoraro@apple.com>
257 [Mac] Enable Page Visibility (PAGE_VISIBILITY_API)
258 https://bugs.webkit.org/show_bug.cgi?id=107230
260 Reviewed by David Kilzer.
262 * Configurations/FeatureDefines.xcconfig:
264 2013-01-22 Tim Horton <timothy_horton@apple.com>
266 PDFPlugin: Build PDFPlugin everywhere, enable at runtime
267 https://bugs.webkit.org/show_bug.cgi?id=107117
269 Reviewed by Alexey Proskuryakov.
271 Since PDFLayerController SPI is all forward-declared, the plugin should build
272 on all Mac platforms, and can be enabled at runtime.
274 * Configurations/FeatureDefines.xcconfig:
276 2013-01-21 Dirk Schulze <dschulze@adobe.com>
278 Add build flag for Canvas's Path object (disabled by default)
279 https://bugs.webkit.org/show_bug.cgi?id=107473
281 Reviewed by Dean Jackson.
283 * Configurations/FeatureDefines.xcconfig:
285 2013-01-17 Andy Estes <aestes@apple.com>
287 Add a USE() macro for content filtering code
288 https://bugs.webkit.org/show_bug.cgi?id=107098
290 Reviewed by Mark Rowe.
292 * WebCoreSupport/WebSystemInterface.mm:
293 (InitWebCoreSystemInterface): Use USE(CONTENT_FILTERING).
295 2013-01-19 Philip Rogers <pdr@google.com>
297 Merge SVGStylable into SVGStyledElement
298 https://bugs.webkit.org/show_bug.cgi?id=106877
300 SVG2 changes element inheritance so all SVGElements are stylable. As a first-step towards a
301 cleaner class hierarchy, this patch moves SVGStylable into SVGStyledElement.
303 Reviewed by Dirk Schulze.
305 * MigrateHeaders.make:
307 2013-01-18 Seokju Kwon <seokju.kwon@gmail.com>
309 Add explicit keyword to constructors in platform-specific InspectorClient
310 https://bugs.webkit.org/show_bug.cgi?id=107255
312 Reviewed by Kentaro Hara.
314 Add explicit keyword to constructors that take one argument
315 in platform-specific implementation of InspectorClient.
317 * WebCoreSupport/WebInspectorClient.h:
318 (WebInspectorClient):
320 2013-01-15 Jer Noble <jer.noble@apple.com>
322 Add a Setting to disable QTKit media engine.
323 https://bugs.webkit.org/show_bug.cgi?id=106972
325 Reviewed by Eric Carlson.
327 Add WebKit API to set QTKit enabled setting from user defaults.
329 * WebView/WebPreferenceKeysPrivate.h:
330 * WebView/WebPreferences.mm:
331 (+[WebPreferences initialize]): Set WebCore settings based on user defaults.
332 (-[WebPreferences setQTKitEnabled:]): Pass through to WebCore.
333 (-[WebPreferences isQTKitEnabled]): Ditto.
334 * WebView/WebPreferencesPrivate.h:
335 * WebView/WebView.mm:
336 (-[WebView _preferencesChanged:]): Synchronize WebKit/WebCore settings.
338 2013-01-15 Enrica Casucci <enrica@apple.com>
340 Add a new set of WebKit2 APIs for text search and
341 search results management.
342 https://bugs.webkit.org/show_bug.cgi?id=106834.
343 <rdar://problem/12597159>
345 Reviewed by Simon Fraser.
347 Adding new API to perform text search in WebKit2 without using
348 the stock UI. The new interface provides all the information
349 necessary to write a custom UI for search.
351 Added new TextWebKitAPI test.
353 * WebView/WebHTMLView.mm:
354 (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
355 Modified to reflect the changes to Editor::countMatchesForText interface.
357 2013-01-10 Zan Dobersek <zandobersek@gmail.com>
359 Remove the ENABLE_ANIMATION_API feature define occurences
360 https://bugs.webkit.org/show_bug.cgi?id=106544
362 Reviewed by Simon Fraser.
364 The Animation API code was removed in r137243. The ENABLE_ANIMATION_API
365 feature define handling still lingers in various build systems and configurations
366 but is of no use, so it should be removed.
368 * Configurations/FeatureDefines.xcconfig:
370 2013-01-08 Mark Lam <mark.lam@apple.com>
372 Removed the need for the ProposedDatabase mechanism.
373 https://bugs.webkit.org/show_bug.cgi?id=106292.
375 Reviewed by Sam Weinig.
377 * WebCoreSupport/WebChromeClient.h:
378 * WebCoreSupport/WebChromeClient.mm:
379 (WebChromeClient::exceededDatabaseQuota):
381 2013-01-07 Dan Bernstein <mitz@apple.com>
383 [mac] WebKit1 clients can’t tell when a frame has been removed from the hierarchy
384 https://bugs.webkit.org/show_bug.cgi?id=106261
386 Reviewed by Simon Fraser.
388 Test: TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm.
390 Added -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:].
392 * WebCoreSupport/WebFrameLoaderClient.mm:
393 (WebFrameLoaderClient::detachedFromParent2): Added a call to the new frame load delegate
395 * WebView/WebDelegateImplementationCaching.h:
396 (WebFrameLoadDelegateImplementationCache): Added the new method to the cache.
397 * WebView/WebFrameLoadDelegatePrivate.h: Declared the new delegate method.
398 * WebView/WebView.mm:
399 (-[WebView _cacheFrameLoadDelegateImplementations]): Added the new method to the cache.
401 2013-01-07 Mike West <mkwst@chromium.org>
403 Make the IFRAME_SEAMLESS flag runtime-enabled.
404 https://bugs.webkit.org/show_bug.cgi?id=106213
406 Reviewed by Ojan Vafai.
408 * WebView/WebPreferenceKeysPrivate.h:
409 * WebView/WebPreferences.mm:
410 (-[WebPreferences seamlessIFramesEnabled]):
411 (-[WebPreferences setSeamlessIFramesEnabled:]):
412 * WebView/WebPreferencesPrivate.h:
413 * WebView/WebView.mm:
414 (-[WebView _preferencesChanged:]):
415 Add a seamless IFrame preference to WebPreferences, and use it to
416 toggle the runtime state of the feature as appropriate.
418 2013-01-04 Adam Klein <adamk@chromium.org>
420 Remove ENABLE_MUTATION_OBSERVERS #define
421 https://bugs.webkit.org/show_bug.cgi?id=105459
423 Reviewed by Ryosuke Niwa.
425 * Configurations/FeatureDefines.xcconfig:
427 2013-01-01 Dan Bernstein <mitz@apple.com>
429 <rdar://problem/12942239> Update copyright strings
431 Reviewed by Sam Weinig.
435 2012-12-29 Adam Roben <aroben@webkit.org>
437 Web Inspector: Mac WK1 Inspector can't save/load timeline data
438 https://bugs.webkit.org/show_bug.cgi?id=105547
440 Reviewed by Pavel Feldman.
442 * WebCoreSupport/WebInspectorClient.h: Declared new overrides and
443 member variables necessary for save support.
445 * WebCoreSupport/WebInspectorClient.mm:
446 (WebInspectorFrontendClient::save):
447 (WebInspectorFrontendClient::append):
448 Implemented these to make saving timeline data work. (It seems to me
449 the InspectorFrontendClient API could be cleaned up a bit. I had to
450 look at Chromium source code to determine that I needed to call back
451 into the InspectorFrontendAPI JS object after saving/appending, and
452 that I needed to keep a map of passed URLs -> chosen URLs.)
454 (-[WebInspectorWindowController window:willPositionSheet:usingRect:]):
455 Tweaked the position of the sheet so that open/save sheets look a
458 (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
459 Implemented to make loading timeline data work.
461 2012-12-28 Mark Rowe <mrowe@apple.com>
463 Move logic for extracting the OS X marketing version in to WebCore
464 <http://webkit.org/b/105841> / <rdar://problem/10736041>
466 Reviewed by Dan Bernstein.
468 * WebCoreSupport/WebSystemInterface.mm:
469 (InitWebCoreSystemInterface): Remove the code related to the WKSI symbol.
470 * WebView/WebView.mm:
471 (systemMarketingVersionForUserAgentString): Call the WebCore function instead of the WKSI function.
472 (+[WebView _standardUserAgentWithApplicationName:]): Retain the result now that our helper doesn't
475 2012-12-27 Sam Weinig <sam@webkit.org>
477 Attempt to fix the tests.
479 * WebView/WebPreferences.mm:
480 (+[WebPreferences initialize]):
482 2012-12-23 Alexey Proskuryakov <ap@apple.com>
484 <rdar://problem/12808377> Network process should respect cookie accept policy
485 https://bugs.webkit.org/show_bug.cgi?id=105684
487 Reviewed by Sam Weinig.
489 * WebCoreSupport/WebPlatformStrategies.h:
490 * WebCoreSupport/WebPlatformStrategies.mm:
491 CookiesStrategy no longer has notifyCookiesChanged().
493 2012-12-22 Alexey Proskuryakov <ap@apple.com>
495 Add a separate class for networking related storage
496 https://bugs.webkit.org/show_bug.cgi?id=105676
498 Reviewed by Sam Weinig.
500 * WebCoreSupport/WebFrameLoaderClient.mm:
501 Updated for ResourceHandle include changes.
503 * WebCoreSupport/WebFrameNetworkingContext.h:
504 * WebCoreSupport/WebFrameNetworkingContext.mm:
505 This class is now simpler, with more session tracking being in WebCore now.
507 * WebCoreSupport/WebPlatformStrategies.h:
508 * WebCoreSupport/WebPlatformStrategies.mm:
509 (WebPlatformStrategies::cookiesForDOM):
510 (WebPlatformStrategies::setCookiesFromDOM):
511 (WebPlatformStrategies::cookiesEnabled):
512 (WebPlatformStrategies::cookieRequestHeaderFieldValue):
513 (WebPlatformStrategies::getRawCookies):
514 (WebPlatformStrategies::deleteCookie):
515 We no longer need a function for default cookie storage! Other cookie functions
518 * WebView/WebPreferences.mm:
519 (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Initialize WCSI before
520 calling a WebCore that uses it.
521 (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Use
522 NetworkStorageSession for session tracking.
524 * WebView/WebView.mm: (-[WebView _cachedResponseForURL:]): Updated for networking
525 context now returning a class for session.
527 2012-12-20 Ilya Tikhonovsky <loislo@chromium.org>
529 Unreviewed build fix for chromium mac after r138206.
531 * WebCoreSupport/WebSystemInterface.mm:
532 (InitWebCoreSystemInterface):
534 2012-12-19 Alexey Proskuryakov <ap@apple.com>
536 <rdar://problem/12890242> [WK2 NetworkProcess] Client doesn't receive SSL certificates
537 https://bugs.webkit.org/show_bug.cgi?id=105467
539 Reviewed by Brady Eidson.
541 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize
542 a WKSI function we've been missing.
544 2012-12-19 Alexis Menard <alexis@webkit.org>
546 Implement CSS parsing for CSS transitions unprefixed.
547 https://bugs.webkit.org/show_bug.cgi?id=104804
549 Reviewed by Dean Jackson.
551 Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
552 to cover the work of unprefixing Transforms, Animations and
553 Transitions. It will let the possibility of each ports to turn it off
554 in their release branches until we're confident that these CSS
555 properties are ready to be unprefixed.
557 * Configurations/FeatureDefines.xcconfig:
559 2012-12-18 Alexey Proskuryakov <ap@apple.com>
561 Remove unnecessary functions from CookiesStrategy
562 https://bugs.webkit.org/show_bug.cgi?id=105369
564 Reviewed by Brady Eidson.
566 * WebCoreSupport/WebPlatformStrategies.h:
567 * WebCoreSupport/WebPlatformStrategies.mm:
569 2012-12-18 Alice Liu <alice.liu@apple.com>
571 Add SPI to WebKit1 WebFrame for hit testing
572 https://bugs.webkit.org/show_bug.cgi?id=105106
574 Reviewed by Dan Bernstein.
576 * WebView/WebFrame.mm:
577 (-[WebFrame elementAtPoint:]): Added. Takes an NSPoint to feed to the WebCore::Frame for hit-testing.
578 Creates a WebElementDictionary from that WebCore::HitTestResult, and returns the element dictionary.
579 * WebView/WebFramePrivate.h:
581 2012-12-18 Alice Liu <alice.liu@apple.com>
583 Add SPI to WebKit1 WebFrame for node conversion to JSValueRef
584 https://bugs.webkit.org/show_bug.cgi?id=105262
586 Reviewed by Anders Carlsson.
588 * WebView/WebFrame.mm:
589 (-[WebFrame jsWrapper:forWorld:]): Added. Takes a DOMNode and WebScriptWorld and provides a JSValueRef
590 for the WebCore::Node in that particular WebScriptWorld.
591 * WebView/WebFramePrivate.h:
593 2012-12-18 Beth Dakin <bdakin@apple.com>
595 https://bugs.webkit.org/show_bug.cgi?id=102579
596 [mac] Enable scaled cursors
598 Reviewed by Dean Jackson.
600 * Configurations/FeatureDefines.xcconfig:
602 2012-12-16 Levi Weintraub <leviw@chromium.org>
604 Push pixel snapping logic into TransformState
605 https://bugs.webkit.org/show_bug.cgi?id=101779
607 Reviewed by Simon Fraser.
609 * WebView/WebFullScreenController.mm:
610 (screenRectOfContents): Removed SnapOffsetForTransforms as it's no longer needed.
612 2012-12-15 Anders Carlsson <andersca@apple.com>
614 Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
615 https://bugs.webkit.org/show_bug.cgi?id=105122
617 Reviewed by Andreas Kling.
619 Update for WebCore changes.
621 * WebCoreSupport/WebFrameLoaderClient.h:
622 (WebFrameLoaderClient):
623 * WebCoreSupport/WebFrameLoaderClient.mm:
624 (WebFrameLoaderClient::convertMainResourceLoadToDownload):
626 2012-12-15 Mark Lam <mark.lam@apple.com>
628 Re-landing patch for "Introducing the DatabaseStrategy and database servers".
629 https://bugs.webkit.org/show_bug.cgi?id=104934.
633 Merged from r137767. Previously reviewed by Sam Weinig.
635 * WebCoreSupport/WebPlatformStrategies.h:
636 (WebPlatformStrategies):
637 * WebCoreSupport/WebPlatformStrategies.mm:
638 (WebPlatformStrategies::createDatabaseStrategy):
640 2012-12-14 Mark Lam <mark.lam@apple.com>
642 The WebView should initialize the platform strategies before initializing other sub-systems.
643 https://bugs.webkit.org/show_bug.cgi?id=105083.
645 Reviewed by Alexey Proskuryakov.
647 * WebView/WebView.mm:
648 (-[WebView _commonInitializationWithFrameName:groupName:]):
650 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
652 Unreviewed, rolling out r137767.
653 http://trac.webkit.org/changeset/137767
654 https://bugs.webkit.org/show_bug.cgi?id=105062
656 Broke Mac builds. (Requested by mlam on #webkit).
658 * WebCoreSupport/WebPlatformStrategies.h:
659 (WebPlatformStrategies):
660 * WebCoreSupport/WebPlatformStrategies.mm:
662 2012-12-14 Mark Lam <mark.lam@apple.com>
664 Introducing the DatabaseStrategy and database servers.
665 https://bugs.webkit.org/show_bug.cgi?id=104934.
667 Reviewed by Sam Weinig.
669 The database server is currently a placeholder that does nothing.
671 * WebCoreSupport/WebPlatformStrategies.h:
672 (WebPlatformStrategies):
673 * WebCoreSupport/WebPlatformStrategies.mm:
674 (WebPlatformStrategies::createDatabaseStrategy):
676 2012-12-13 Alexey Proskuryakov <ap@apple.com>
678 <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
679 https://bugs.webkit.org/show_bug.cgi?id=104691
681 Reviewed by Sam Weinig.
683 * WebCoreSupport/WebFrameNetworkingContext.h:
684 * WebCoreSupport/WebFrameNetworkingContext.mm:
685 (WebFrameNetworkingContext::inPrivateBrowsingMode):
686 (WebFrameNetworkingContext::storageSession):
687 Implemented inPrivateBrowsingMode().
689 2012-12-12 Mark Lam <mark.lam@apple.com>
691 Encapsulate externally used webdatabase APIs in DatabaseManager.
692 https://bugs.webkit.org/show_bug.cgi?id=104741.
694 Reviewed by Sam Weinig.
696 Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
697 and DatabaseContext directly. This is to prepare for upcoming webkit2
700 * Storage/WebDatabaseManager.mm:
701 (-[WebDatabaseManager origins]):
702 (-[WebDatabaseManager databasesWithOrigin:]):
703 (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
704 (-[WebDatabaseManager deleteAllDatabases]):
705 (-[WebDatabaseManager deleteOrigin:]):
706 (-[WebDatabaseManager deleteDatabase:withOrigin:]):
707 (WebKitInitializeDatabasesIfNecessary):
708 * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h.
709 (WebDatabaseManagerClient):
710 * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm.
711 (WebDatabaseManagerClient::sharedWebDatabaseManagerClient):
712 (WebDatabaseManagerClient::WebDatabaseManagerClient):
713 (WebDatabaseManagerClient::~WebDatabaseManagerClient):
714 (DidModifyOriginData::dispatchToMainThread):
715 (DidModifyOriginData::DidModifyOriginData):
716 (DidModifyOriginData):
717 (WebDatabaseManagerClient::dispatchDidModifyOrigin):
718 (WebDatabaseManagerClient::dispatchDidModifyDatabase):
719 * Storage/WebDatabaseQuotaManager.mm:
720 (-[WebDatabaseQuotaManager usage]):
721 (-[WebDatabaseQuotaManager quota]):
722 (-[WebDatabaseQuotaManager setQuota:]):
723 * Storage/WebDatabaseTrackerClient.h: Removed.
724 * Storage/WebDatabaseTrackerClient.mm: Removed.
725 * WebCoreSupport/WebSecurityOrigin.mm:
726 (-[WebSecurityOrigin usage]):
727 (-[WebSecurityOrigin quota]):
728 (-[WebSecurityOrigin setQuota:]):
730 * WebView/WebFrame.mm:
731 (-[WebFrame _cacheabilityDictionary]):
732 * WebView/WebView.mm:
733 (-[WebView _preferencesChanged:]):
735 2012-12-12 Alexey Proskuryakov <ap@apple.com>
737 Make LOG() work in WebProcess and NetworkProcess
738 https://bugs.webkit.org/show_bug.cgi?id=104718
740 Reviewed by Tim Horton.
742 * WebView/WebView.mm: Use WebCore/InitializeLogging.h to avoid conflicts between
743 WebCore and WebKit versions of this file.
745 2012-12-11 Mike West <mkwst@chromium.org>
747 Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
748 https://bugs.webkit.org/show_bug.cgi?id=66371
750 Reviewed by Pavel Feldman.
752 Drops WebCore::MessageType from the addMessageToConsole method.
754 * WebCoreSupport/WebChromeClient.h:
756 * WebCoreSupport/WebChromeClient.mm:
757 (WebChromeClient::addMessageToConsole):
759 2012-12-09 Antti Koivisto <antti@apple.com>
761 Factor node traversal into standalone functions
762 https://bugs.webkit.org/show_bug.cgi?id=104507
764 Reviewed by Eric Seidel.
766 * WebView/WebHTMLRepresentation.mm:
767 (searchForLabelsBeforeElement):
769 2012-12-10 Alexis Menard <alexis@webkit.org>
771 [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
772 https://bugs.webkit.org/show_bug.cgi?id=104539
774 Reviewed by Antonio Gomes.
776 As discussed on webkit-dev it is not needed to keep this feature flag
777 as support for <position> type is a small feature that is already
778 implemented by three other UAs. It was useful while landing this
779 feature as partial bits were landed one after one.
781 * Configurations/FeatureDefines.xcconfig:
783 2012-12-06 Rick Byers <rbyers@chromium.org>
785 CSS cursor property should support webkit-image-set
786 https://bugs.webkit.org/show_bug.cgi?id=99493
788 Reviewed by Beth Dakin.
790 Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
792 * Configurations/FeatureDefines.xcconfig:
794 2012-12-03 Yury Semikhatsky <yurys@chromium.org>
796 Unreviewed. Fix Mac compilation after r136448.
798 * WebCoreSupport/WebChromeClient.mm:
799 (stringForMessageType):
801 2012-12-03 Alexis Menard <alexis@webkit.org>
803 [Mac] Enable CSS3 background-position offset by default.
804 https://bugs.webkit.org/show_bug.cgi?id=103905
806 Reviewed by Simon Fraser.
808 Turn the flag on by default.
810 * Configurations/FeatureDefines.xcconfig:
812 2012-12-02 Yongjun Zhang <yongjun_zhang@apple.com>
814 Need a method to close all idle localstorage databases immediately.
815 https://bugs.webkit.org/show_bug.cgi?id=103469
817 Reviewed by David Kilzer.
819 Add a new method to WebStorageManager that we can call to close all
820 idle local storage databases.
822 * Storage/WebStorageManager.mm:
823 (+[WebStorageManager closeIdleLocalStorageDatabases]):
824 * Storage/WebStorageManagerPrivate.h:
826 2012-11-30 Mihai Maerean <mmaerean@adobe.com>
828 [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
829 https://bugs.webkit.org/show_bug.cgi?id=101192
831 Reviewed by Hajime Morita.
833 Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
835 Tests: No new tests because there is no functional change.
837 * WebView/WebView.mm:
838 (-[WebView _preferencesChanged:]):
840 2012-11-29 Rafael Weinstein <rafaelw@chromium.org>
842 [HTMLTemplateElement] Add feature flag
843 https://bugs.webkit.org/show_bug.cgi?id=103694
845 Reviewed by Adam Barth.
847 This flag will guard the implementation of the HTMLTemplateElement.
848 http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
850 * Configurations/FeatureDefines.xcconfig:
852 2012-11-29 Alexey Proskuryakov <ap@apple.com>
854 [WK2] Forward cookie jar calls to NetworkProcess
855 https://bugs.webkit.org/show_bug.cgi?id=103457
857 Reviewed by Darin Adler.
859 * WebCoreSupport/WebPlatformStrategies.h:
860 (WebPlatformStrategies):
861 * WebCoreSupport/WebPlatformStrategies.mm:
862 (WebPlatformStrategies::cookiesForDOM):
863 (WebPlatformStrategies::setCookiesFromDOM):
864 (WebPlatformStrategies::cookiesEnabled):
865 (WebPlatformStrategies::cookieRequestHeaderFieldValue):
866 (WebPlatformStrategies::getRawCookies):
867 (WebPlatformStrategies::deleteCookie):
868 (WebPlatformStrategies::getHostnamesWithCookies):
869 (WebPlatformStrategies::deleteCookiesForHostname):
870 (WebPlatformStrategies::deleteAllCookies):
871 (WebPlatformStrategies::getPluginInfo):
872 (WebPlatformStrategies::bufferForType):
873 WebKit1 strategy just uses PlatformCookieJar.
875 2012-11-28 Beth Dakin <bdakin@apple.com>
877 https://bugs.webkit.org/show_bug.cgi?id=102970
878 [WK1] REGRESSION (r129545): Main frame doesn't rubberband unless
879 WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:
881 Reviewed by Sam Weinig.
883 We should always register for DidFirstLayout in WK1 since we do work
884 at that time besides just calling the delegate function.
885 * WebView/WebView.mm:
886 (-[WebView _cacheFrameLoadDelegateImplementations]):
888 2012-11-27 Michael Saboff <msaboff@apple.com>
890 TextIterator unnecessarily converts 8 bit strings to 16 bits
891 https://bugs.webkit.org/show_bug.cgi?id=103295
893 Reviewed by Brent Fulgham.
895 Updated _stringForRange to use plainText() instead of removed plainTextToMallocAllocatedBuffer().
897 * WebView/WebFrame.mm:
898 (-[WebFrame _stringForRange:]):
900 2012-11-27 James Simonsen <simonjam@chromium.org>
902 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
903 https://bugs.webkit.org/show_bug.cgi?id=102151
905 Reviewed by Adam Barth.
907 * Plugins/WebPluginController.mm:
908 * WebView/WebFrame.mm:
909 (-[WebFrame loadRequest:]):
910 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
912 2012-11-27 Pratik Solanki <psolanki@apple.com>
914 objc/objc-runtime.h does not exist on all PLATFORM(MAC)
915 https://bugs.webkit.org/show_bug.cgi?id=101780
917 Reviewed by Brent Fulgham.
919 Clean up header includes so we don't include objc/objc-runtime.h.
921 * Carbon/HIWebView.mm:
922 (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend.
923 * Plugins/WebNetscapePluginView.mm:
924 * Plugins/WebPluginContainerCheck.mm:
925 (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
926 * Plugins/WebPluginController.mm:
927 * WebCoreSupport/WebCachedFramePlatformData.h:
928 * WebCoreSupport/WebDeviceOrientationClient.mm:
929 * WebView/WebDelegateImplementationCaching.mm:
930 * WebView/WebHTMLView.mm:
931 * WebView/WebPDFDocumentExtras.mm:
932 * WebView/WebPolicyDelegate.mm:
933 (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
934 * WebView/WebView.mm:
936 2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com>
938 Unreviewed, rolling out r135786.
939 http://trac.webkit.org/changeset/135786
940 https://bugs.webkit.org/show_bug.cgi?id=103379
942 It made 3 plugin tests timeout on several platforms (Requested
945 * Plugins/WebPluginController.mm:
946 * WebView/WebFrame.mm:
947 (-[WebFrame loadRequest:]):
948 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
950 2012-11-26 James Simonsen <simonjam@chromium.org>
952 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
953 https://bugs.webkit.org/show_bug.cgi?id=102151
955 Reviewed by Adam Barth.
957 * Plugins/WebPluginController.mm:
958 * WebView/WebFrame.mm:
959 (-[WebFrame loadRequest:]):
960 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
962 2012-11-23 Alexis Menard <alexis@webkit.org>
964 [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing.
965 https://bugs.webkit.org/show_bug.cgi?id=102104
967 Reviewed by Julien Chaffraix.
969 Protect the new feature behind a feature flag.
971 * Configurations/FeatureDefines.xcconfig:
973 2012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
975 Disambiguate innerNodeFramePoint and mainFramePoint
976 https://bugs.webkit.org/show_bug.cgi?id=98139
978 Reviewed by Julien Chaffraix.
980 Switch to using HitTestResult::innerNodeFrame and HitTestResult::innerNodeFramePoint.
982 * WebCoreSupport/WebContextMenuClient.mm:
983 (WebContextMenuClient::showContextMenu):
985 2012-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
987 Unreviewed, rolling out r135295.
988 http://trac.webkit.org/changeset/135295
989 https://bugs.webkit.org/show_bug.cgi?id=102834
991 This patch causes assertion to some layout tests on chromium
992 (Requested by jianli on #webkit).
994 * Plugins/WebPluginController.mm:
995 * WebView/WebFrame.mm:
996 (-[WebFrame loadRequest:]):
997 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
999 2012-11-20 James Simonsen <simonjam@chromium.org>
1001 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1002 https://bugs.webkit.org/show_bug.cgi?id=102151
1004 Reviewed by Adam Barth.
1006 * Plugins/WebPluginController.mm:
1007 * WebView/WebFrame.mm:
1008 (-[WebFrame loadRequest:]):
1009 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1011 2012-11-19 Kihong Kwon <kihong.kwon@samsung.com>
1013 Add PROXIMITY_EVENTS feature
1014 https://bugs.webkit.org/show_bug.cgi?id=102658
1016 Reviewed by Kentaro Hara.
1018 Add PROXIMITY_EVENTS feature to xcode project for WebKit.
1020 * Configurations/FeatureDefines.xcconfig:
1022 2012-11-16 Tony Chang <tony@chromium.org>
1024 Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
1025 https://bugs.webkit.org/show_bug.cgi?id=102554
1027 Reviewed by Andreas Kling.
1029 As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
1030 we're going to revist this feature once additional vendor support is
1033 * Configurations/FeatureDefines.xcconfig:
1035 2012-11-15 Alexey Proskuryakov <ap@apple.com>
1037 Private Browsing is a per-page setting that sets a global value
1038 https://bugs.webkit.org/show_bug.cgi?id=67870
1040 Reviewed by Sam Weinig.
1042 * WebCoreSupport/WebFrameNetworkingContext.h:
1043 * WebCoreSupport/WebFrameNetworkingContext.mm:
1044 Moved functions for managing global sessions from WebCore.
1046 * WebCoreSupport/WebPlatformStrategies.h:
1047 * WebCoreSupport/WebPlatformStrategies.mm:
1048 (WebPlatformStrategies::defaultCookieStorage): Added. Uses WebFrameNetworkingContext
1049 to reach the storage.
1051 * WebView/WebPreferences.mm:
1052 (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Ditto.
1053 (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Ditto.
1055 * WebView/WebPreferencesPrivate.h: Added a comment explaining that two functions
1056 are not generic enough for use outside DRT (one of them had "testing" in name,
1057 but another did not).
1059 * WebView/WebView.mm:
1060 (-[WebView _preferencesChanged:]): Create a global private browsing session when
1061 the first view with private browsing is created, delete it when any window with
1062 it disabled is created (since this comes from preferences, it applies to all
1063 views equally, even though we are dealing with a single one here).
1064 (-[WebView _cachedResponseForURL:]): Use main frame's networking context instead of
1067 2012-11-13 Timothy Hatcher <timothy@apple.com>
1069 Adjust the Web Inspector window title frame if needed to prevent it from intersecting the dock button.
1071 https://bugs.webkit.org/show_bug.cgi?id=102073
1073 Reviewed by Joseph Pecoraro.
1075 * WebCoreSupport/WebInspectorClient.mm:
1076 (-[WebInspectorWindow _customTitleFrame]): Added. Adjust the title frame.
1078 2012-11-12 Simon Fraser <simon.fraser@apple.com>
1080 Build fix after r134346 and 134347.
1082 Use frameView.isFlipped, not frameView.flipped in the assertion.
1084 * WebCoreSupport/WebInspectorClient.mm:
1085 (-[WebInspectorWindowController window]):
1087 2012-11-12 Timothy Hatcher <timothy@apple.com>
1089 Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
1091 https://bugs.webkit.org/show_bug.cgi?id=102025
1093 Reviewed by Joseph Pecoraro.
1095 * Resources/Dock.pdf: Added.
1096 * WebCoreSupport/WebInspectorClient.h:
1097 * WebCoreSupport/WebInspectorClient.mm:
1098 (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
1099 (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
1100 (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
1101 (-[WebInspectorWindowController window]): Create the dock button and add it.
1102 (-[WebInspectorWindowController attachWindow:]): Added.
1103 (-[WebInspectorWindowController attach]): Call setAttachedWindow.
1104 (-[WebInspectorWindowController detach]): Ditto.
1105 (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
1107 2012-11-08 Timothy Hatcher <timothy@apple.com>
1109 Always use a textured window for the Web Inspector.
1111 https://bugs.webkit.org/show_bug.cgi?id=101693
1113 Reviewed by Joseph Pecoraro.
1115 * WebCoreSupport/WebInspectorClient.mm:
1116 (-[WebInspectorWindowController window]): Removed the conditional for a textured window.
1118 2012-11-08 Roger Fong <roger_fong@apple.com>
1120 Null check URL key entries into WebHistory hash table.
1121 https://bugs.webkit.org/show_bug.cgi?id=101664
1122 <rdar://problem/12440852>
1124 Reviewed by Brady Eidson.
1126 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.
1127 This prevents the desired page navigation from taking effect. This is a workaround for the problem.
1128 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
1129 so that navigation can continue as expected.
1131 * History/WebHistory.mm:
1132 (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]):
1134 2012-11-07 Andreas Kling <akling@apple.com>
1136 Remove build-webkit dependency on Java SDK for Apple Mac WebKit.
1137 <http://webkit.org/b/101492>
1139 Reviewed by Anders Carlsson.
1141 * Plugins/WebJavaPlugIn.h: Removed.
1143 2012-11-06 Adam Barth <abarth@webkit.org>
1145 Unreviewed attempt to fix the chromium-mac build.
1147 * WebCoreSupport/WebSystemInterface.mm:
1148 (InitWebCoreSystemInterface):
1150 2012-11-06 Anders Carlsson <andersca@apple.com>
1152 Update Java related WKSI function names
1153 https://bugs.webkit.org/show_bug.cgi?id=101414
1155 Reviewed by Sam Weinig.
1157 * WebCoreSupport/WebChromeClient.mm:
1158 (WebChromeClient::unavailablePluginButtonClicked):
1159 * WebCoreSupport/WebFrameLoaderClient.mm:
1162 2012-11-06 Alexey Proskuryakov <ap@apple.com>
1164 Clean up which storage cookie jar functions use
1165 https://bugs.webkit.org/show_bug.cgi?id=101395
1167 Reviewed by Brady Eidson.
1169 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated for
1172 2012-11-06 Andrey Lushnikov <lushnikov@google.com>
1174 Added console.clear() method
1176 Web Inspector: add console.clear()
1177 https://bugs.webkit.org/show_bug.cgi?id=101021
1179 Reviewed by Vsevolod Vlasov.
1181 * WebCoreSupport/WebChromeClient.mm:
1182 (stringForMessageType): Added ClearMessageType case to switch
1184 2012-11-05 Alexey Proskuryakov <ap@apple.com>
1186 Get rid of setCookieStoragePrivateBrowsingEnabled.
1187 https://bugs.webkit.org/show_bug.cgi?id=101247
1189 Reviewed by Brady Eidson.
1191 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): We no longer
1194 2012-11-03 Alexey Proskuryakov <ap@apple.com>
1196 Get rid of USE(CFURLSTORAGESESSIONS)
1197 https://bugs.webkit.org/show_bug.cgi?id=101131
1199 Reviewed by Sam Weinig.
1201 * WebView/WebPreferences.mm:
1202 (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
1203 (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
1204 * WebView/WebView.mm:
1205 (-[WebView _cachedResponseForURL:]):
1207 2012-11-02 Anders Carlsson <andersca@apple.com>
1209 Don't instantiate the Java plug-in if it's inactive
1210 https://bugs.webkit.org/show_bug.cgi?id=101102
1211 <rdar://problem/12595679>
1213 Reviewed by Andreas Kling.
1215 * WebCoreSupport/WebChromeClient.mm:
1216 (WebChromeClient::shouldUnavailablePluginMessageBeButton):
1217 The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
1219 (WebChromeClient::unavailablePluginButtonClicked):
1220 If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
1221 then reload the page.
1223 * WebCoreSupport/WebFrameLoaderClient.mm:
1224 (isOracleJavaPlugIn):
1228 (WebFrameLoaderClient::createPlugin):
1229 If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
1231 2012-11-02 Simon Fraser <simon.fraser@apple.com>
1233 Enable SUBPIXEL_LAYOUT on Mac
1234 https://bugs.webkit.org/show_bug.cgi?id=101076
1236 Reviewed by Dave Hyatt.
1238 Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
1240 * Configurations/FeatureDefines.xcconfig:
1242 2012-11-02 Adam Barth <abarth@webkit.org>
1244 ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
1245 https://bugs.webkit.org/show_bug.cgi?id=100711
1247 Reviewed by Eric Seidel.
1249 * Configurations/FeatureDefines.xcconfig:
1251 2012-11-01 Adam Roben <aroben@webkit.org>
1253 [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
1254 https://bugs.webkit.org/show_bug.cgi?id=100957
1256 Reviewed by Simon Fraser.
1258 WebCore doesn't yet support subpixel scrolling. WebKit2 forces
1259 scrolling to always be integral. Now WebKit1 forces this as well.
1261 I'm not sure how to write a test for this.
1263 * WebView/WebDynamicScrollBarsView.mm:
1264 (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
1265 or position:sticky elements in the page.
1266 (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
1267 scroll origin to the nearest pixel if needed.
1269 2012-10-31 Anders Carlsson <andersca@apple.com>
1272 <rdar://problem/12612207>.
1274 Reviewed by Sam Weinig.
1276 * Panels/WebAuthenticationPanel.m:
1277 (-[WebAuthenticationPanel loadNib]):
1279 2012-10-30 Joseph Pecoraro <pecoraro@apple.com>
1281 [Mac] Sync up FeatureDefine Configuration Files
1282 https://bugs.webkit.org/show_bug.cgi?id=100171
1284 Reviewed by David Kilzer.
1286 Follow up to better coordinate with iOS feature defines. Make:
1288 - ENABLE_FILTERS always on
1289 - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
1291 * Configurations/FeatureDefines.xcconfig:
1293 2012-10-30 Joseph Pecoraro <pecoraro@apple.com>
1295 [Mac] Sync up FeatureDefine Configuration Files
1296 https://bugs.webkit.org/show_bug.cgi?id=100171
1298 Reviewed by David Kilzer.
1300 Ensure an identical FeatureDefine files across all projects. Changes:
1302 - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
1303 - ENABLE_PDFKIT_PLUGIN should be in all
1304 - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
1305 - ENABLE_ENCRYPTED_MEDIA should be in all
1306 - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
1307 - Some alphabetical ordering cleanup
1309 * Configurations/FeatureDefines.xcconfig:
1311 2012-10-29 Anders Carlsson <andersca@apple.com>
1313 Build WebKit as C++11 on Mac
1314 https://bugs.webkit.org/show_bug.cgi?id=100720
1316 Reviewed by Daniel Bates.
1318 * Configurations/Base.xcconfig:
1319 Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
1321 * History/WebBackForwardList.mm:
1322 (-[WebBackForwardList description]):
1323 * History/WebHistoryItem.mm:
1324 (-[WebHistoryItem description]):
1325 Add static_casts to prevent implicit type conversions in non-constant initializer lists.
1327 2012-10-28 Mark Rowe <mrowe@apple.com>
1329 Simplify Xcode configuration settings that used to vary between OS versions.
1331 Reviewed by Dan Bernstein.
1333 * Configurations/Base.xcconfig:
1334 * Configurations/DebugRelease.xcconfig:
1335 * Configurations/WebKit.xcconfig:
1337 2012-10-28 Mark Rowe <mrowe@apple.com>
1339 Remove references to unsupported OS and Xcode versions.
1341 Reviewed by Anders Carlsson.
1343 * Configurations/Base.xcconfig:
1344 * Configurations/CompilerVersion.xcconfig: Removed.
1345 * Configurations/DebugRelease.xcconfig:
1346 * Configurations/Version.xcconfig:
1348 2012-10-29 Enrica Casucci <enrica@apple.com>
1350 Add ENABLE_USERSELECT_ALL feature flag.
1351 https://bugs.webkit.org/show_bug.cgi?id=100559
1353 Reviewed by Eric Seidel.
1355 * Configurations/FeatureDefines.xcconfig:
1357 2012-10-27 Alexey Proskuryakov <ap@apple.com>
1359 All tests crash in WebKit1 mode
1360 https://bugs.webkit.org/show_bug.cgi?id=100602
1362 Reviewed by Sam Weinig.
1364 * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
1365 scheduler is created via a strategy, so strategies need to be initialized before
1368 2012-10-27 Dan Bernstein <mitz@apple.com>
1370 REAL_PLATFORM_NAME build setting is no longer needed
1371 https://bugs.webkit.org/show_bug.cgi?id=100587
1373 Reviewed by Mark Rowe.
1375 Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
1378 * Configurations/Base.xcconfig:
1379 * Configurations/CompilerVersion.xcconfig:
1380 * Configurations/DebugRelease.xcconfig:
1381 * Configurations/FeatureDefines.xcconfig:
1382 * Configurations/Version.xcconfig:
1383 * Configurations/WebKit.xcconfig:
1385 2012-10-26 Thiago Marcos P. Santos <thiago.santos@intel.com>
1387 Add feature flags for CSS Device Adaptation
1388 https://bugs.webkit.org/show_bug.cgi?id=95960
1390 Reviewed by Kenneth Rohde Christiansen.
1392 * Configurations/FeatureDefines.xcconfig:
1394 2012-10-25 Dominik Röttsches <dominik.rottsches@intel.com>
1396 Conditionalize XHR timeout support
1397 https://bugs.webkit.org/show_bug.cgi?id=100356
1399 Reviewed by Adam Barth.
1401 Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
1402 Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
1404 * Configurations/FeatureDefines.xcconfig:
1406 2012-10-24 Timothy Hatcher <timothy@apple.com>
1408 Fix a crash seen during the Inspector tests on the WebKit1 bots.
1410 Reviewed by Filip Pizlo.
1412 * WebCoreSupport/WebInspectorClient.mm:
1413 (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
1414 is not the same when the Inspector is docked.
1416 2012-10-24 Brady Eidson <beidson@apple.com>
1418 Add a strategy for loader customization.
1419 https://bugs.webkit.org/show_bug.cgi?id=100278
1421 Reviewed by Alexey Proskuryakov.
1423 * WebCoreSupport/WebPlatformStrategies.h:
1424 (WebPlatformStrategies):
1425 * WebCoreSupport/WebPlatformStrategies.mm:
1426 (WebPlatformStrategies::createLoaderStrategy):
1428 2012-10-24 Timothy Hatcher <timothy@apple.com>
1430 Make the Inspector WKView/WebView become the first responder when bringToFront is called.
1432 https://bugs.webkit.org/show_bug.cgi?id=100209
1434 Reviewed by Joseph Pecoraro.
1436 * WebCoreSupport/WebInspectorClient.mm:
1437 (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
1439 2012-10-23 Alexey Proskuryakov <ap@apple.com>
1441 Add a strategy for shared workers
1442 https://bugs.webkit.org/show_bug.cgi?id=100165
1444 Reviewed by Brady Eidson.
1446 * WebCoreSupport/WebPlatformStrategies.h:
1447 * WebCoreSupport/WebPlatformStrategies.mm:
1448 (WebPlatformStrategies::createPasteboardStrategy):
1449 (WebPlatformStrategies::createSharedWorkerStrategy):
1450 (WebPlatformStrategies::createVisitedLinkStrategy):
1452 2012-10-24 Eric Carlson <eric.carlson@apple.com>
1454 Allow ports to override text track rendering style
1455 https://bugs.webkit.org/show_bug.cgi?id=97800
1456 <rdar://problem/12044964>
1458 Reviewed by Maciej Stachowiak.
1460 * WebCoreSupport/WebSystemInterface.mm:
1461 (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1463 2012-10-23 Dan Bernstein <mitz@apple.com>
1465 WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
1466 https://bugs.webkit.org/show_bug.cgi?id=100188
1468 Reviewed by Sam Weinig.
1470 * WebView/WebView.mm:
1471 (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
1472 code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
1473 default. Changed to refer to that default key by name.
1475 2012-10-23 Kenneth Rohde Christiansen <kenneth@webkit.org>
1477 Add support for resolution media query
1478 https://bugs.webkit.org/show_bug.cgi?id=99077
1480 Reviewed by Antti Koivisto.
1482 Add support for the RESOLUTION_MEDIA_QUERY feature flag.
1484 * Configurations/FeatureDefines.xcconfig:
1486 2012-10-21 Andreas Kling <kling@webkit.org>
1488 Remove Page::javaScriptURLsAreAllowed setting.
1489 <http://webkit.org/b/99944>
1491 Reviewed by Anders Carlsson.
1494 * WebView/WebView.mm:
1495 * WebView/WebViewPrivate.h:
1497 2012-10-19 Dongwoo Joshua Im <dw.im@samsung.com>
1499 Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
1500 https://bugs.webkit.org/show_bug.cgi?id=99804
1502 Reviewed by Julien Chaffraix.
1504 CSS3 text related properties will be implemented under this flag,
1505 including text decoration, text-align-last, and text-justify.
1507 * Configurations/FeatureDefines.xcconfig:
1509 2012-10-18 Pablo Flouret <pablof@motorola.com>
1511 Implement css3-conditional's @supports rule
1512 https://bugs.webkit.org/show_bug.cgi?id=86146
1514 Reviewed by Antti Koivisto.
1516 * Configurations/FeatureDefines.xcconfig:
1517 Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
1519 2012-10-17 Joseph Pecoraro <pecoraro@apple.com>
1521 [Mac] Uninitialized Members in WebDataSourcePrivate
1522 https://bugs.webkit.org/show_bug.cgi?id=99617
1524 Reviewed by David Kilzer.
1526 Initialize BOOL member variables.
1528 * WebView/WebDataSource.mm:
1529 (WebDataSourcePrivate::WebDataSourcePrivate):
1531 2012-10-17 Mark Rowe <mrowe@apple.com>
1533 Fix the build with a newer version of clang.
1535 Reviewed by Dan Bernstein.
1537 Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
1538 While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
1539 with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
1540 therefore generates a warning in newer versions of the compiler.
1542 Fixes <rdar://problem/12503709>.
1544 * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
1545 * Misc/WebCoreStatistics.mm: Ditto.
1546 (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
1547 (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
1549 2012-10-16 Jian Li <jianli@chromium.org>
1551 Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
1552 https://bugs.webkit.org/show_bug.cgi?id=98975
1554 Reviewed by Adam Barth.
1556 Renaming is needed to better match with the draggable region code.
1558 * Configurations/FeatureDefines.xcconfig:
1560 2012-10-15 Dan Bernstein <mitz@apple.com>
1562 WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
1563 https://bugs.webkit.org/show_bug.cgi?id=99113
1565 Reviewed by Tim Horton.
1567 * WebCoreSupport/WebSystemInterface.mm:
1568 (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
1570 2012-10-15 David Kilzer <ddkilzer@apple.com>
1572 Move framework and library linking into WebKit.xcconfig
1573 <http://webkit.org/b/99284>
1575 Reviewed by Mark Rowe.
1577 * Configurations/WebKit.xcconfig: Move frameworks and libraries
1578 link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
1580 2012-10-14 Jon Lee <jonlee@apple.com>
1582 Allow notification origin permission request when no js callback is provided
1583 https://bugs.webkit.org/show_bug.cgi?id=63615
1584 <rdar://problem/11059590>
1586 Reviewed by Sam Weinig.
1588 Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
1589 we do not fall through to calling the standard API's callback if the legacy API's callback is null.
1591 * WebCoreSupport/WebNotificationClient.mm:
1593 (-[WebNotificationPolicyListener initWithVoidCallback:]):
1594 (-[WebNotificationPolicyListener allow]):
1595 (-[WebNotificationPolicyListener deny]):
1597 2012-10-14 Sam Weinig <sam@webkit.org>
1599 Make UserScript and UserStyleSheet value objects that are copyable
1600 https://bugs.webkit.org/show_bug.cgi?id=99275
1602 Reviewed by Tim Horton.
1604 * WebView/WebView.mm:
1605 (-[WebView _injectMailQuirksScript]):
1606 (-[WebView _injectOutlookQuirksScript]):
1607 Update for new PageGroup function signatures.
1609 2012-10-10 Brady Eidson <beidson@apple.com>
1611 Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
1612 https://bugs.webkit.org/show_bug.cgi?id=98976
1614 Reviewed by Anders Carlsson.
1616 * WebView/WebDataSource.mm:
1617 (-[WebDataSource data]):
1619 2012-10-10 Jer Noble <jer.noble@apple.com>
1621 Disallow full screen mode keyboard access by default.
1622 https://bugs.webkit.org/show_bug.cgi?id=98971
1623 <rdar://problem/12474226>
1625 Reviewed by Sam Weinig.
1627 Only support full screen if keyboard access is not requested.
1629 * WebView/WebView.mm:
1630 (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
1632 2012-10-10 Jon Lee <jonlee@apple.com>
1634 [WK2] Activate plugins when user clicks on snapshot
1635 https://bugs.webkit.org/show_bug.cgi?id=98328
1636 <rdar://problem/12426681>
1638 Reviewed by Brady Eidson.
1640 * WebCoreSupport/WebFrameLoaderClient.h:
1641 * WebCoreSupport/WebFrameLoaderClient.mm:
1642 (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
1644 2012-10-10 Brady Eidson <beidson@apple.com>
1646 Switch CachedResource over from SharedBuffer to a new ResourceBuffer
1647 https://bugs.webkit.org/show_bug.cgi?id=98541
1649 Reviewed by Anders Carlsson.
1651 * WebView/WebHTMLView.mm:
1652 (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
1654 2012-10-10 Simon Fraser <simon.fraser@apple.com>
1656 Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
1657 https://bugs.webkit.org/show_bug.cgi?id=98839
1659 Reviewed by Sam Weinig.
1661 To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
1662 in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
1663 but store the computed rect in m_visibleRect.
1665 Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
1666 layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
1668 * WebView/WebFrame.mm:
1669 (-[WebFrame _layerTreeAsText]):
1671 2012-10-09 Jian Li <jianli@chromium.org>
1673 Update the CSS property used to support draggable regions.
1674 https://bugs.webkit.org/show_bug.cgi?id=97156
1676 Reviewed by Adam Barth.
1678 The CSS property to support draggable regions, guarded under
1679 WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
1680 confusion with DASHBOARD_SUPPORT feature.
1682 Also update the code to use the new name annotatedRegions to work for
1685 * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
1686 * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
1687 * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
1688 (WebChromeClient::annotatedRegionsChanged):
1689 * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
1690 (-[WebView _dashboardRegions]):
1692 2012-10-09 Sheriff Bot <webkit.review.bot@gmail.com>
1694 Unreviewed, rolling out r130811 and r130821.
1695 http://trac.webkit.org/changeset/130811
1696 http://trac.webkit.org/changeset/130821
1697 https://bugs.webkit.org/show_bug.cgi?id=98831
1699 Broke date-suggestion-picker-appearance-with-scroll-bar.html
1700 (Requested by abarth|gardening on #webkit).
1702 * WebView/WebFullScreenController.mm:
1703 (screenRectOfContents):
1704 * WebView/WebRenderNode.mm:
1707 2012-10-08 Kiran Muppala <cmuppala@apple.com>
1709 Throttle DOM timers on hidden pages.
1710 https://bugs.webkit.org/show_bug.cgi?id=98474
1712 Reviewed by Maciej Stachowiak.
1714 Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
1715 DumpRenderTree to modify the visibility state of a page. The latter
1716 is needed to test throttling of timers on hidden pages through DumpRenderTree.
1718 * Configurations/FeatureDefines.xcconfig:
1719 * WebView/WebView.mm:
1720 (-[WebView _setVisibilityState:isInitialState:]):
1721 * WebView/WebViewPrivate.h:
1723 2012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1725 Rename first/second to key/value in HashMap iterators
1726 https://bugs.webkit.org/show_bug.cgi?id=82784
1728 Reviewed by Eric Seidel.
1730 * History/WebHistory.mm:
1731 (-[WebHistoryPrivate removeItemFromDateCaches:]):
1732 (-[WebHistoryPrivate orderedLastVisitedDays]):
1733 (WebHistoryWriter::WebHistoryWriter):
1734 * Misc/WebCoreStatistics.mm:
1735 (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
1736 (+[WebCoreStatistics javaScriptObjectTypeCounts]):
1737 * Plugins/Hosted/NetscapePluginHostManager.mm:
1738 (WebKit::NetscapePluginHostManager::hostForPlugin):
1739 (WebKit::NetscapePluginHostManager::pluginHostDied):
1740 (WebKit::NetscapePluginHostManager::didCreateWindow):
1741 * Plugins/Hosted/NetscapePluginHostProxy.mm:
1742 (WebKit::NetscapePluginHostProxy::pluginHostDied):
1743 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1744 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
1745 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
1746 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
1747 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
1748 (WebKit::NetscapePluginInstanceProxy::destroy):
1749 (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
1750 (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
1751 * Plugins/Hosted/ProxyInstance.mm:
1752 (WebKit::ProxyInstance::methodNamed):
1753 (WebKit::ProxyInstance::fieldNamed):
1754 * Plugins/WebNetscapePluginView.mm:
1755 (-[WebNetscapePluginView stopTimers]):
1756 (-[WebNetscapePluginView startTimers]):
1757 * WebCoreSupport/WebNotificationClient.mm:
1758 (WebNotificationClient::show):
1759 (WebNotificationClient::clearNotifications):
1760 (WebNotificationClient::notificationObjectDestroyed):
1761 * WebView/WebHTMLView.mm:
1762 (commandNameForSelector):
1764 2012-10-06 Dan Bernstein <mitz@apple.com>
1766 WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
1767 https://bugs.webkit.org/show_bug.cgi?id=98601
1769 Reviewed by Darin Adler.
1771 * WebView/WebView.mm:
1772 (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
1773 kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
1776 2012-10-05 Sheriff Bot <webkit.review.bot@gmail.com>
1778 Unreviewed, rolling out r130556 and r130564.
1779 http://trac.webkit.org/changeset/130556
1780 http://trac.webkit.org/changeset/130564
1781 https://bugs.webkit.org/show_bug.cgi?id=98572
1783 The patch wasn't reviewed by a reviewer and it is breaking
1784 Chromium Windows (Requested by jchaffraix on #webkit).
1786 * WebCoreSupport/WebSystemInterface.mm:
1787 (InitWebCoreSystemInterface):
1789 2012-10-05 Tim Horton <timothy_horton@apple.com>
1791 [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
1792 https://bugs.webkit.org/show_bug.cgi?id=98565
1793 <rdar://problem/12436468>
1795 Reviewed by Simon Fraser.
1797 Add wkCGContextDrawsWithCorrectShadowOffsets.
1799 * WebCoreSupport/WebSystemInterface.mm:
1800 (InitWebCoreSystemInterface):
1802 2012-10-04 Eric Carlson <eric.carlson@apple.com>
1804 Allow ports to override text track rendering style
1805 https://bugs.webkit.org/show_bug.cgi?id=97800
1806 <rdar://problem/12044964>
1808 Reviewed by Silvia Pfeiffer.
1810 Add WCSI support for new WKSI caption functions.
1812 * WebCoreSupport/WebSystemInterface.mm:
1813 (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1815 2012-10-04 Jon Lee <jonlee@apple.com>
1817 Add a setting to enable plugin snapshotting
1818 https://bugs.webkit.org/show_bug.cgi?id=98319
1819 <rdar://problem/12426480>
1821 Reviewed by Brady Eidson.
1823 Expose plugInSnapshottingEnabled preference to WebKit clients.
1825 * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
1826 * WebView/WebPreferences.mm:
1827 (+[WebPreferences initialize]): Setting is turned off by default.
1828 (-[WebPreferences plugInSnapshottingEnabled]):
1829 (-[WebPreferences setPlugInSnapshottingEnabled:]):
1830 * WebView/WebPreferencesPrivate.h:
1831 * WebView/WebView.mm:
1832 (-[WebView _preferencesChanged:]): Update settings based on preference.
1834 2012-10-04 Rik Cabanier <cabanier@adobe.com>
1836 Turn Compositing on by default in WebKit build
1837 https://bugs.webkit.org/show_bug.cgi?id=98315
1839 Reviewed by Simon Fraser.
1841 enable -webkit-blend-mode on trunk.
1843 * Configurations/FeatureDefines.xcconfig:
1845 2012-10-04 Simon Fraser <simon.fraser@apple.com>
1847 Final part of "sync" to "flush" renaming
1848 https://bugs.webkit.org/show_bug.cgi?id=98430
1850 Reviewed by Tim Horton.
1852 Change method names on GraphicsLayer and GraphicsLayerClient that
1853 refer to "sync" to use the term "flush" instead, to be consistent
1854 with the rest of the code.
1856 * WebView/WebView.mm:
1858 2012-10-03 Benjamin Poulain <bpoulain@apple.com>
1860 [WK2] Support all attributes of GeolocationPosition
1861 https://bugs.webkit.org/show_bug.cgi?id=98212
1863 Reviewed by Sam Weinig.
1865 Add an internal constructor for the sake of testing.
1866 A similar API is used on iOS.
1868 * WebView/WebGeolocationPosition.mm:
1869 (-[WebGeolocationPosition initWithGeolocationPosition:]):
1871 2012-10-04 Simon Fraser <simon.fraser@apple.com>
1873 Standardize on "flush" terminology for compositing layer flushing/syncing
1874 https://bugs.webkit.org/show_bug.cgi?id=98321
1876 Reviewed by Simon Fraser.
1878 Rename compositing-related methods that refer to "syncing" to instead
1879 refer to "flushing".
1881 * WebCoreSupport/WebChromeClient.h:
1882 * WebCoreSupport/WebChromeClient.mm:
1883 (WebChromeClient::scheduleCompositingLayerFlush):
1884 * WebView/WebView.mm:
1885 (-[WebView _flushCompositingChanges]):
1886 (LayerFlushController::flushLayers):
1887 (-[WebView _scheduleCompositingLayerFlush]):
1888 * WebView/WebViewInternal.h:
1890 == Rolled over to ChangeLog-2012-10-02 ==