1 2013-02-12 Joseph Pecoraro <pecoraro@apple.com>
3 [iOS] Enable PAGE_VISIBILITY_API
4 https://bugs.webkit.org/show_bug.cgi?id=109399
6 Reviewed by David Kilzer.
8 * Configurations/FeatureDefines.xcconfig:
10 2013-02-12 David Kilzer <ddkilzer@apple.com>
12 BUILD FIX (r142576): WK1 build fails when ENABLE(DELETION_UI) is off
13 <https://bugs.webkit.org/show_bug.cgi?id=109534>
15 Fixes the following build failure:
17 WebEditorClient.mm:243:23: error: out-of-line definition of 'shouldShowDeleteInterface' does not match any declaration in 'WebEditorClient'
18 bool WebEditorClient::shouldShowDeleteInterface(HTMLElement* element)
19 ^~~~~~~~~~~~~~~~~~~~~~~~~
21 * WebCoreSupport/WebEditorClient.mm:
22 (WebEditorClient::shouldShowDeleteInterface): Protect with
23 ENABLE(DELETION_UI) macro.
25 2013-02-11 Ryosuke Niwa <rniwa@webkit.org>
27 Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
28 https://bugs.webkit.org/show_bug.cgi?id=109534
30 Reviewed by Anders Carlsson.
32 * WebCoreSupport/WebEditorClient.h:
34 2013-02-11 Benjamin Poulain <benjamin@webkit.org>
36 Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
37 https://bugs.webkit.org/show_bug.cgi?id=109349
39 Reviewed by Sam Weinig.
42 * WebView/WebViewPrivate.h:
44 2013-02-10 Dan Bernstein <mitz@apple.com>
46 Added *.pdf to EXCLUDED_SOURCE_FILE_NAMES_iphoneos.
48 Rubber-stamped by Anders Carlsson.
50 * Configurations/WebKit.xcconfig:
52 2013-02-10 Jae Hyun Park <jae.park08@gmail.com>
54 Rename ENABLE(GLIB_SUPPORT) to USE(GLIB)
55 https://bugs.webkit.org/show_bug.cgi?id=104266
57 Reviewed by Philippe Normand.
59 Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
60 the existing macro naming conventions.
63 USE() - use a particular third-party library or optional OS service
64 ENABLE() - turn on a specific feature of WebKit
67 (-[WebView _commonInitializationWithFrameName:groupName:]):
69 * WebView/WebViewData.h:
70 * WebView/WebViewInternal.h:
72 2013-02-08 Benjamin Poulain <bpoulain@apple.com>
74 Move workerThreadCount from TestRunner to WebCore Internals
75 https://bugs.webkit.org/show_bug.cgi?id=109239
77 Reviewed by Darin Adler.
79 Get rid of WebWorkersPrivate, which was only needed for DRT.
82 * Workers/WebWorkersPrivate.h: Removed.
83 * Workers/WebWorkersPrivate.mm: Removed.
85 2013-02-07 Sheriff Bot <webkit.review.bot@gmail.com>
87 Unreviewed, rolling out r142212.
88 http://trac.webkit.org/changeset/142212
89 https://bugs.webkit.org/show_bug.cgi?id=109255
91 Causes ASSERT(!m_installed) on launch (Requested by smfr on
95 (-[WebView _commonInitializationWithFrameName:groupName:]):
96 (WebInstallMemoryPressureHandler):
98 2013-02-06 Gavin Barraclough <barraclough@apple.com>
100 PluginProcess should quit immediately if idle in response to low-memory notifications
101 https://bugs.webkit.org/show_bug.cgi?id=109103
102 <rdar://problem/12679827>
104 Reviewed by Darin Adler.
106 * WebView/WebView.mm:
107 (-[WebView _commonInitializationWithFrameName:groupName:]):
108 - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
109 (WebInstallMemoryPressureHandler):
110 - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
112 2013-02-07 Benjamin Poulain <bpoulain@apple.com>
114 Move pauseAnimation/pauseTransition from TestRunner to Internals
115 https://bugs.webkit.org/show_bug.cgi?id=109107
117 Reviewed by Anders Carlsson.
119 * WebView/WebFrame.mm:
120 * WebView/WebFramePrivate.h:
122 2013-02-06 Mike West <mkwst@chromium.org>
124 Add an ENABLE_NOSNIFF feature flag.
125 https://bugs.webkit.org/show_bug.cgi?id=109029
127 Reviewed by Jochen Eisinger.
129 This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
130 when processing script and other resource types.
132 * Configurations/FeatureDefines.xcconfig:
134 2013-02-04 Benjamin Poulain <bpoulain@apple.com>
136 Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
137 https://bugs.webkit.org/show_bug.cgi?id=108741
139 Reviewed by Tony Chang.
141 * WebView/WebFrame.mm:
142 * WebView/WebFramePrivate.h:
144 2013-02-04 Enrica Casucci <enrica@apple.com>
146 Add specific EditActions for Bold and Italic commands.
147 https://bugs.webkit.org/show_bug.cgi?id=108842.
148 <rdar://problem/13098252>
150 Reviewed by Ryosuke Niwa.
152 * WebCoreSupport/WebEditorClient.mm:
153 (undoNameForEditAction):
155 2013-02-03 David Kilzer <ddkilzer@apple.com>
157 Upstream ENABLE_PDFKIT_PLUGIN settting
158 <http://webkit.org/b/108792>
160 Reviewed by Tim Horton.
162 * Configurations/FeatureDefines.xcconfig: Disable PDFKIT_PLUGIN
163 on iOS since PDFKit is a Mac-only framework.
165 2013-02-02 David Kilzer <ddkilzer@apple.com>
167 Upstream iOS FeatureDefines
168 <http://webkit.org/b/108753>
170 Reviewed by Anders Carlsson.
172 * Configurations/FeatureDefines.xcconfig:
173 - ENABLE_DEVICE_ORIENTATION: Add iOS configurations.
174 - ENABLE_PLUGIN_PROXY_FOR_VIDEO: Ditto.
175 - FEATURE_DEFINES: Add ENABLE_PLUGIN_PROXY_FOR_VIDEO. Add
176 PLATFORM_NAME variant to reduce future merge conflicts.
178 2013-02-01 Alexis Menard <alexis@webkit.org>
180 Enable unprefixed CSS transitions by default.
181 https://bugs.webkit.org/show_bug.cgi?id=108216
183 Reviewed by Dean Jackson.
185 Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
186 to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
187 guard the unprefixing work for CSS Transforms and animations.
189 * Configurations/FeatureDefines.xcconfig:
191 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
193 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
194 https://bugs.webkit.org/show_bug.cgi?id=107737
196 Reviewed by Ryosuke Niwa.
198 * WebView/WebHTMLView.mm:
199 (-[WebHTMLView _updateSelectionForInputManager]):
201 2013-01-31 Sheriff Bot <webkit.review.bot@gmail.com>
203 Unreviewed, rolling out r141479.
204 http://trac.webkit.org/changeset/141479
205 https://bugs.webkit.org/show_bug.cgi?id=108564
207 breaks chromium test (Requested by morrita on #webkit).
209 * WebView/WebHTMLView.mm:
210 (-[WebHTMLView _updateSelectionForInputManager]):
212 2013-01-31 Enrica Casucci <enrica@apple.com>
214 Mac: Editor::baseWritingDirectionForSelectionStart should return WritingDirection instead of NSWritingDirection.
215 https://bugs.webkit.org/show_bug.cgi?id=108519.
217 Reviewed by Sam Weinig.
219 There is no need to use AppKit types here.
220 baseWritingDirectionForSelectionStart now returns WritingDirection and
221 WebHTMLView toggleWritingDirection has been modified accordingly.
223 * WebView/WebHTMLView.mm:
224 (-[WebHTMLView toggleBaseWritingDirection:]):
226 2013-01-31 Aurimas Liutikas <aurimas@chromium.org>
228 Editor::m_compositionNode not updated on HTMLInputElement::setValue()
229 https://bugs.webkit.org/show_bug.cgi?id=107737
231 Reviewed by Ryosuke Niwa.
233 * WebView/WebHTMLView.mm:
234 (-[WebHTMLView _updateSelectionForInputManager]):
236 2013-01-31 Joseph Pecoraro <pecoraro@apple.com>
238 Disable ENABLE_FULLSCREEN_API on iOS
239 https://bugs.webkit.org/show_bug.cgi?id=108250
241 Reviewed by Benjamin Poulain.
243 * Configurations/FeatureDefines.xcconfig:
245 2013-01-31 Enrica Casucci <enrica@apple.com>
247 WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
248 https://bugs.webkit.org/show_bug.cgi?id=108396.
249 <rdar://problem/12920461>
251 Reviewed by Alexey Proskuryakov.
253 Adds stub implementation for WebKit of the new EditorClient methods.
255 * WebCoreSupport/WebEditorClient.h:
256 * WebCoreSupport/WebEditorClient.mm:
257 (WebEditorClient::willWriteSelectionToPasteboard):
258 (WebEditorClient::getClientPasteboardDataForRange):
260 2013-01-31 Brady Eidson <beidson@apple.com>
262 Lack of a log level string should not obliterate compiled in logging channel state.
263 https://bugs.webkit.org/show_bug.cgi?id=108502
265 Reviewed by Alexey Proskuryakov and Sam Weinig.
267 * Misc/WebKitLogging.m: If there's no log level string, leave the channel state alone.
269 2013-01-29 Sheriff Bot <webkit.review.bot@gmail.com>
271 Unreviewed, rolling out r140983.
272 http://trac.webkit.org/changeset/140983
273 https://bugs.webkit.org/show_bug.cgi?id=108277
275 Unfortunately, this API has one last client (Requested by
278 * Configurations/FeatureDefines.xcconfig:
280 2012-11-28 Jer Noble <jer.noble@apple.com>
282 Allow clients to ask for the WebView/WKView placeholder view when in full screen mode.
283 https://bugs.webkit.org/show_bug.cgi?id=103558
284 <rdar://problem/12763112>
286 Reviewed by Benjamin Poulain.
288 Clients may want to behave differently when their WebView/WKView has been swapped out by a placeholder
289 view when in full screen mode. Add a simple accessor for the existing placeholder view to
290 WebFullScreenController and WebView.
292 * WebView/WebFullScreenController.h:
293 * WebView/WebFullScreenController.mm:
294 (-[WebFullScreenController webViewPlaceholder]): Added simple accessor.
295 * WebView/WebView.mm:
296 (-[WebView fullScreenPlaceholderView]): Added simple accessor.
298 2013-01-28 Pratik Solanki <psolanki@apple.com>
300 PLATFORM(IOS) should come before __MAC_OS_X_VERSION_MIN_REQUIRED
301 https://bugs.webkit.org/show_bug.cgi?id=108101
303 Reviewed by Benjamin Poulain.
305 Since iOS does not define __MAC_OS_X_VERSION_MIN_REQUIRED, any usage of
306 __MAC_OS_X_VERSION_MIN_REQUIRED should be after a PLATFORM(IOS) check.
308 * WebCoreSupport/WebSystemInterface.mm:
309 (InitWebCoreSystemInterface):
311 2013-01-28 Joseph Pecoraro <pecoraro@apple.com>
313 [Mac] Update PageVisibilityState when WebView is hidden / visible
314 https://bugs.webkit.org/show_bug.cgi?id=107509
316 Reviewed by Sam Weinig.
318 * WebView/WebView.mm:
319 * WebView/WebViewPrivate.h:
320 (-[WebView _commonInitializationWithFrameName:groupName:]):
321 Set the initial visibility of the page.
323 (-[WebView addWindowObserversForWindow:]):
324 (-[WebView removeWindowObservers]):
325 (-[WebView _isViewVisible]):
326 (-[WebView _updateVisibilityState]):
327 (-[WebView viewDidMoveToWindow]):
328 (-[WebView _windowVisibilityChanged:]):
329 Update visibility state in the same ways WK2 does. This involves
330 listening for some new NSWindow delegates.
332 2013-01-28 Joseph Pecoraro <pecoraro@apple.com>
334 Improve PageVisibility API with enums
335 https://bugs.webkit.org/show_bug.cgi?id=107364
337 Reviewed by Sam Weinig.
339 * WebView/WebView.mm:
340 * WebView/WebViewPrivate.h:
342 (-[WebView _setVisibilityState:isInitialState:]):
343 Switch the private API form int to a WebPageVisibilityState enum.
345 2013-01-28 Adam Barth <abarth@webkit.org>
347 Remove webkitNotifications.createHTMLNotification
348 https://bugs.webkit.org/show_bug.cgi?id=107598
350 Reviewed by Benjamin Poulain.
352 * Configurations/FeatureDefines.xcconfig:
354 2013-01-25 Andy Estes <aestes@apple.com>
356 Wrap content filtering code in an object
357 https://bugs.webkit.org/show_bug.cgi?id=107914
359 Reviewed by Alexey Proskuryakov.
361 * WebCoreSupport/WebSystemInterface.mm:
362 (InitWebCoreSystemInterface): Updated to reflect changes in WKSI.
364 2013-01-24 Dan Bernstein <mitz@apple.com>
366 WebNavigationData does not distinguish between an empty title and a missing title
367 https://bugs.webkit.org/show_bug.cgi?id=107917
369 Reviewed by Andy Estes.
371 * WebCoreSupport/WebFrameLoaderClient.mm:
372 (nilOrNSString): Added this helper function.
373 (WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with a nil
374 title, rather than the empty string, if the document does not have a title.
376 2013-01-24 Mark Hahnenberg <mhahnenberg@apple.com>
378 Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
379 https://bugs.webkit.org/show_bug.cgi?id=107327
381 Reviewed by Filip Pizlo.
383 We're renaming these two files, so we have to replace the names everywhere.
385 * DOM/WebDOMOperations.mm:
386 * ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebKit/mac/ForwardingHeaders/runtime/JSValue.h.
387 * ForwardingHeaders/runtime/JSValue.h: Removed.
388 * WebView/WebFrame.mm:
389 * WebView/WebView.mm:
391 2013-01-22 Anders Carlsson <andersca@apple.com>
393 Use a platforom strategy for local storage
394 https://bugs.webkit.org/show_bug.cgi?id=107600
396 Reviewed by Andreas Kling.
398 Update for new storage strategy.
400 * WebCoreSupport/WebPlatformStrategies.h:
401 (WebPlatformStrategies):
402 * WebCoreSupport/WebPlatformStrategies.mm:
403 (WebPlatformStrategies::createStorageStrategy):
405 2013-01-21 Kentaro Hara <haraken@chromium.org>
407 Implement UIEvent constructor
408 https://bugs.webkit.org/show_bug.cgi?id=107430
410 Reviewed by Adam Barth.
412 Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
414 UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
415 which is enabled on Safari and Chromium for now.
417 * Configurations/FeatureDefines.xcconfig:
419 2013-01-22 Joseph Pecoraro <pecoraro@apple.com>
421 [Mac] Enable Page Visibility (PAGE_VISIBILITY_API)
422 https://bugs.webkit.org/show_bug.cgi?id=107230
424 Reviewed by David Kilzer.
426 * Configurations/FeatureDefines.xcconfig:
428 2013-01-22 Tim Horton <timothy_horton@apple.com>
430 PDFPlugin: Build PDFPlugin everywhere, enable at runtime
431 https://bugs.webkit.org/show_bug.cgi?id=107117
433 Reviewed by Alexey Proskuryakov.
435 Since PDFLayerController SPI is all forward-declared, the plugin should build
436 on all Mac platforms, and can be enabled at runtime.
438 * Configurations/FeatureDefines.xcconfig:
440 2013-01-21 Dirk Schulze <dschulze@adobe.com>
442 Add build flag for Canvas's Path object (disabled by default)
443 https://bugs.webkit.org/show_bug.cgi?id=107473
445 Reviewed by Dean Jackson.
447 * Configurations/FeatureDefines.xcconfig:
449 2013-01-17 Andy Estes <aestes@apple.com>
451 Add a USE() macro for content filtering code
452 https://bugs.webkit.org/show_bug.cgi?id=107098
454 Reviewed by Mark Rowe.
456 * WebCoreSupport/WebSystemInterface.mm:
457 (InitWebCoreSystemInterface): Use USE(CONTENT_FILTERING).
459 2013-01-19 Philip Rogers <pdr@google.com>
461 Merge SVGStylable into SVGStyledElement
462 https://bugs.webkit.org/show_bug.cgi?id=106877
464 SVG2 changes element inheritance so all SVGElements are stylable. As a first-step towards a
465 cleaner class hierarchy, this patch moves SVGStylable into SVGStyledElement.
467 Reviewed by Dirk Schulze.
469 * MigrateHeaders.make:
471 2013-01-18 Seokju Kwon <seokju.kwon@gmail.com>
473 Add explicit keyword to constructors in platform-specific InspectorClient
474 https://bugs.webkit.org/show_bug.cgi?id=107255
476 Reviewed by Kentaro Hara.
478 Add explicit keyword to constructors that take one argument
479 in platform-specific implementation of InspectorClient.
481 * WebCoreSupport/WebInspectorClient.h:
482 (WebInspectorClient):
484 2013-01-15 Jer Noble <jer.noble@apple.com>
486 Add a Setting to disable QTKit media engine.
487 https://bugs.webkit.org/show_bug.cgi?id=106972
489 Reviewed by Eric Carlson.
491 Add WebKit API to set QTKit enabled setting from user defaults.
493 * WebView/WebPreferenceKeysPrivate.h:
494 * WebView/WebPreferences.mm:
495 (+[WebPreferences initialize]): Set WebCore settings based on user defaults.
496 (-[WebPreferences setQTKitEnabled:]): Pass through to WebCore.
497 (-[WebPreferences isQTKitEnabled]): Ditto.
498 * WebView/WebPreferencesPrivate.h:
499 * WebView/WebView.mm:
500 (-[WebView _preferencesChanged:]): Synchronize WebKit/WebCore settings.
502 2013-01-15 Enrica Casucci <enrica@apple.com>
504 Add a new set of WebKit2 APIs for text search and
505 search results management.
506 https://bugs.webkit.org/show_bug.cgi?id=106834.
507 <rdar://problem/12597159>
509 Reviewed by Simon Fraser.
511 Adding new API to perform text search in WebKit2 without using
512 the stock UI. The new interface provides all the information
513 necessary to write a custom UI for search.
515 Added new TextWebKitAPI test.
517 * WebView/WebHTMLView.mm:
518 (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
519 Modified to reflect the changes to Editor::countMatchesForText interface.
521 2013-01-10 Zan Dobersek <zandobersek@gmail.com>
523 Remove the ENABLE_ANIMATION_API feature define occurences
524 https://bugs.webkit.org/show_bug.cgi?id=106544
526 Reviewed by Simon Fraser.
528 The Animation API code was removed in r137243. The ENABLE_ANIMATION_API
529 feature define handling still lingers in various build systems and configurations
530 but is of no use, so it should be removed.
532 * Configurations/FeatureDefines.xcconfig:
534 2013-01-08 Mark Lam <mark.lam@apple.com>
536 Removed the need for the ProposedDatabase mechanism.
537 https://bugs.webkit.org/show_bug.cgi?id=106292.
539 Reviewed by Sam Weinig.
541 * WebCoreSupport/WebChromeClient.h:
542 * WebCoreSupport/WebChromeClient.mm:
543 (WebChromeClient::exceededDatabaseQuota):
545 2013-01-07 Dan Bernstein <mitz@apple.com>
547 [mac] WebKit1 clients can’t tell when a frame has been removed from the hierarchy
548 https://bugs.webkit.org/show_bug.cgi?id=106261
550 Reviewed by Simon Fraser.
552 Test: TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm.
554 Added -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:].
556 * WebCoreSupport/WebFrameLoaderClient.mm:
557 (WebFrameLoaderClient::detachedFromParent2): Added a call to the new frame load delegate
559 * WebView/WebDelegateImplementationCaching.h:
560 (WebFrameLoadDelegateImplementationCache): Added the new method to the cache.
561 * WebView/WebFrameLoadDelegatePrivate.h: Declared the new delegate method.
562 * WebView/WebView.mm:
563 (-[WebView _cacheFrameLoadDelegateImplementations]): Added the new method to the cache.
565 2013-01-07 Mike West <mkwst@chromium.org>
567 Make the IFRAME_SEAMLESS flag runtime-enabled.
568 https://bugs.webkit.org/show_bug.cgi?id=106213
570 Reviewed by Ojan Vafai.
572 * WebView/WebPreferenceKeysPrivate.h:
573 * WebView/WebPreferences.mm:
574 (-[WebPreferences seamlessIFramesEnabled]):
575 (-[WebPreferences setSeamlessIFramesEnabled:]):
576 * WebView/WebPreferencesPrivate.h:
577 * WebView/WebView.mm:
578 (-[WebView _preferencesChanged:]):
579 Add a seamless IFrame preference to WebPreferences, and use it to
580 toggle the runtime state of the feature as appropriate.
582 2013-01-04 Adam Klein <adamk@chromium.org>
584 Remove ENABLE_MUTATION_OBSERVERS #define
585 https://bugs.webkit.org/show_bug.cgi?id=105459
587 Reviewed by Ryosuke Niwa.
589 * Configurations/FeatureDefines.xcconfig:
591 2013-01-01 Dan Bernstein <mitz@apple.com>
593 <rdar://problem/12942239> Update copyright strings
595 Reviewed by Sam Weinig.
599 2012-12-29 Adam Roben <aroben@webkit.org>
601 Web Inspector: Mac WK1 Inspector can't save/load timeline data
602 https://bugs.webkit.org/show_bug.cgi?id=105547
604 Reviewed by Pavel Feldman.
606 * WebCoreSupport/WebInspectorClient.h: Declared new overrides and
607 member variables necessary for save support.
609 * WebCoreSupport/WebInspectorClient.mm:
610 (WebInspectorFrontendClient::save):
611 (WebInspectorFrontendClient::append):
612 Implemented these to make saving timeline data work. (It seems to me
613 the InspectorFrontendClient API could be cleaned up a bit. I had to
614 look at Chromium source code to determine that I needed to call back
615 into the InspectorFrontendAPI JS object after saving/appending, and
616 that I needed to keep a map of passed URLs -> chosen URLs.)
618 (-[WebInspectorWindowController window:willPositionSheet:usingRect:]):
619 Tweaked the position of the sheet so that open/save sheets look a
622 (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
623 Implemented to make loading timeline data work.
625 2012-12-28 Mark Rowe <mrowe@apple.com>
627 Move logic for extracting the OS X marketing version in to WebCore
628 <http://webkit.org/b/105841> / <rdar://problem/10736041>
630 Reviewed by Dan Bernstein.
632 * WebCoreSupport/WebSystemInterface.mm:
633 (InitWebCoreSystemInterface): Remove the code related to the WKSI symbol.
634 * WebView/WebView.mm:
635 (systemMarketingVersionForUserAgentString): Call the WebCore function instead of the WKSI function.
636 (+[WebView _standardUserAgentWithApplicationName:]): Retain the result now that our helper doesn't
639 2012-12-27 Sam Weinig <sam@webkit.org>
641 Attempt to fix the tests.
643 * WebView/WebPreferences.mm:
644 (+[WebPreferences initialize]):
646 2012-12-23 Alexey Proskuryakov <ap@apple.com>
648 <rdar://problem/12808377> Network process should respect cookie accept policy
649 https://bugs.webkit.org/show_bug.cgi?id=105684
651 Reviewed by Sam Weinig.
653 * WebCoreSupport/WebPlatformStrategies.h:
654 * WebCoreSupport/WebPlatformStrategies.mm:
655 CookiesStrategy no longer has notifyCookiesChanged().
657 2012-12-22 Alexey Proskuryakov <ap@apple.com>
659 Add a separate class for networking related storage
660 https://bugs.webkit.org/show_bug.cgi?id=105676
662 Reviewed by Sam Weinig.
664 * WebCoreSupport/WebFrameLoaderClient.mm:
665 Updated for ResourceHandle include changes.
667 * WebCoreSupport/WebFrameNetworkingContext.h:
668 * WebCoreSupport/WebFrameNetworkingContext.mm:
669 This class is now simpler, with more session tracking being in WebCore now.
671 * WebCoreSupport/WebPlatformStrategies.h:
672 * WebCoreSupport/WebPlatformStrategies.mm:
673 (WebPlatformStrategies::cookiesForDOM):
674 (WebPlatformStrategies::setCookiesFromDOM):
675 (WebPlatformStrategies::cookiesEnabled):
676 (WebPlatformStrategies::cookieRequestHeaderFieldValue):
677 (WebPlatformStrategies::getRawCookies):
678 (WebPlatformStrategies::deleteCookie):
679 We no longer need a function for default cookie storage! Other cookie functions
682 * WebView/WebPreferences.mm:
683 (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Initialize WCSI before
684 calling a WebCore that uses it.
685 (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Use
686 NetworkStorageSession for session tracking.
688 * WebView/WebView.mm: (-[WebView _cachedResponseForURL:]): Updated for networking
689 context now returning a class for session.
691 2012-12-20 Ilya Tikhonovsky <loislo@chromium.org>
693 Unreviewed build fix for chromium mac after r138206.
695 * WebCoreSupport/WebSystemInterface.mm:
696 (InitWebCoreSystemInterface):
698 2012-12-19 Alexey Proskuryakov <ap@apple.com>
700 <rdar://problem/12890242> [WK2 NetworkProcess] Client doesn't receive SSL certificates
701 https://bugs.webkit.org/show_bug.cgi?id=105467
703 Reviewed by Brady Eidson.
705 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize
706 a WKSI function we've been missing.
708 2012-12-19 Alexis Menard <alexis@webkit.org>
710 Implement CSS parsing for CSS transitions unprefixed.
711 https://bugs.webkit.org/show_bug.cgi?id=104804
713 Reviewed by Dean Jackson.
715 Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
716 to cover the work of unprefixing Transforms, Animations and
717 Transitions. It will let the possibility of each ports to turn it off
718 in their release branches until we're confident that these CSS
719 properties are ready to be unprefixed.
721 * Configurations/FeatureDefines.xcconfig:
723 2012-12-18 Alexey Proskuryakov <ap@apple.com>
725 Remove unnecessary functions from CookiesStrategy
726 https://bugs.webkit.org/show_bug.cgi?id=105369
728 Reviewed by Brady Eidson.
730 * WebCoreSupport/WebPlatformStrategies.h:
731 * WebCoreSupport/WebPlatformStrategies.mm:
733 2012-12-18 Alice Liu <alice.liu@apple.com>
735 Add SPI to WebKit1 WebFrame for hit testing
736 https://bugs.webkit.org/show_bug.cgi?id=105106
738 Reviewed by Dan Bernstein.
740 * WebView/WebFrame.mm:
741 (-[WebFrame elementAtPoint:]): Added. Takes an NSPoint to feed to the WebCore::Frame for hit-testing.
742 Creates a WebElementDictionary from that WebCore::HitTestResult, and returns the element dictionary.
743 * WebView/WebFramePrivate.h:
745 2012-12-18 Alice Liu <alice.liu@apple.com>
747 Add SPI to WebKit1 WebFrame for node conversion to JSValueRef
748 https://bugs.webkit.org/show_bug.cgi?id=105262
750 Reviewed by Anders Carlsson.
752 * WebView/WebFrame.mm:
753 (-[WebFrame jsWrapper:forWorld:]): Added. Takes a DOMNode and WebScriptWorld and provides a JSValueRef
754 for the WebCore::Node in that particular WebScriptWorld.
755 * WebView/WebFramePrivate.h:
757 2012-12-18 Beth Dakin <bdakin@apple.com>
759 https://bugs.webkit.org/show_bug.cgi?id=102579
760 [mac] Enable scaled cursors
762 Reviewed by Dean Jackson.
764 * Configurations/FeatureDefines.xcconfig:
766 2012-12-16 Levi Weintraub <leviw@chromium.org>
768 Push pixel snapping logic into TransformState
769 https://bugs.webkit.org/show_bug.cgi?id=101779
771 Reviewed by Simon Fraser.
773 * WebView/WebFullScreenController.mm:
774 (screenRectOfContents): Removed SnapOffsetForTransforms as it's no longer needed.
776 2012-12-15 Anders Carlsson <andersca@apple.com>
778 Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
779 https://bugs.webkit.org/show_bug.cgi?id=105122
781 Reviewed by Andreas Kling.
783 Update for WebCore changes.
785 * WebCoreSupport/WebFrameLoaderClient.h:
786 (WebFrameLoaderClient):
787 * WebCoreSupport/WebFrameLoaderClient.mm:
788 (WebFrameLoaderClient::convertMainResourceLoadToDownload):
790 2012-12-15 Mark Lam <mark.lam@apple.com>
792 Re-landing patch for "Introducing the DatabaseStrategy and database servers".
793 https://bugs.webkit.org/show_bug.cgi?id=104934.
797 Merged from r137767. Previously reviewed by Sam Weinig.
799 * WebCoreSupport/WebPlatformStrategies.h:
800 (WebPlatformStrategies):
801 * WebCoreSupport/WebPlatformStrategies.mm:
802 (WebPlatformStrategies::createDatabaseStrategy):
804 2012-12-14 Mark Lam <mark.lam@apple.com>
806 The WebView should initialize the platform strategies before initializing other sub-systems.
807 https://bugs.webkit.org/show_bug.cgi?id=105083.
809 Reviewed by Alexey Proskuryakov.
811 * WebView/WebView.mm:
812 (-[WebView _commonInitializationWithFrameName:groupName:]):
814 2012-12-14 Sheriff Bot <webkit.review.bot@gmail.com>
816 Unreviewed, rolling out r137767.
817 http://trac.webkit.org/changeset/137767
818 https://bugs.webkit.org/show_bug.cgi?id=105062
820 Broke Mac builds. (Requested by mlam on #webkit).
822 * WebCoreSupport/WebPlatformStrategies.h:
823 (WebPlatformStrategies):
824 * WebCoreSupport/WebPlatformStrategies.mm:
826 2012-12-14 Mark Lam <mark.lam@apple.com>
828 Introducing the DatabaseStrategy and database servers.
829 https://bugs.webkit.org/show_bug.cgi?id=104934.
831 Reviewed by Sam Weinig.
833 The database server is currently a placeholder that does nothing.
835 * WebCoreSupport/WebPlatformStrategies.h:
836 (WebPlatformStrategies):
837 * WebCoreSupport/WebPlatformStrategies.mm:
838 (WebPlatformStrategies::createDatabaseStrategy):
840 2012-12-13 Alexey Proskuryakov <ap@apple.com>
842 <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
843 https://bugs.webkit.org/show_bug.cgi?id=104691
845 Reviewed by Sam Weinig.
847 * WebCoreSupport/WebFrameNetworkingContext.h:
848 * WebCoreSupport/WebFrameNetworkingContext.mm:
849 (WebFrameNetworkingContext::inPrivateBrowsingMode):
850 (WebFrameNetworkingContext::storageSession):
851 Implemented inPrivateBrowsingMode().
853 2012-12-12 Mark Lam <mark.lam@apple.com>
855 Encapsulate externally used webdatabase APIs in DatabaseManager.
856 https://bugs.webkit.org/show_bug.cgi?id=104741.
858 Reviewed by Sam Weinig.
860 Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
861 and DatabaseContext directly. This is to prepare for upcoming webkit2
864 * Storage/WebDatabaseManager.mm:
865 (-[WebDatabaseManager origins]):
866 (-[WebDatabaseManager databasesWithOrigin:]):
867 (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
868 (-[WebDatabaseManager deleteAllDatabases]):
869 (-[WebDatabaseManager deleteOrigin:]):
870 (-[WebDatabaseManager deleteDatabase:withOrigin:]):
871 (WebKitInitializeDatabasesIfNecessary):
872 * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h.
873 (WebDatabaseManagerClient):
874 * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm.
875 (WebDatabaseManagerClient::sharedWebDatabaseManagerClient):
876 (WebDatabaseManagerClient::WebDatabaseManagerClient):
877 (WebDatabaseManagerClient::~WebDatabaseManagerClient):
878 (DidModifyOriginData::dispatchToMainThread):
879 (DidModifyOriginData::DidModifyOriginData):
880 (DidModifyOriginData):
881 (WebDatabaseManagerClient::dispatchDidModifyOrigin):
882 (WebDatabaseManagerClient::dispatchDidModifyDatabase):
883 * Storage/WebDatabaseQuotaManager.mm:
884 (-[WebDatabaseQuotaManager usage]):
885 (-[WebDatabaseQuotaManager quota]):
886 (-[WebDatabaseQuotaManager setQuota:]):
887 * Storage/WebDatabaseTrackerClient.h: Removed.
888 * Storage/WebDatabaseTrackerClient.mm: Removed.
889 * WebCoreSupport/WebSecurityOrigin.mm:
890 (-[WebSecurityOrigin usage]):
891 (-[WebSecurityOrigin quota]):
892 (-[WebSecurityOrigin setQuota:]):
894 * WebView/WebFrame.mm:
895 (-[WebFrame _cacheabilityDictionary]):
896 * WebView/WebView.mm:
897 (-[WebView _preferencesChanged:]):
899 2012-12-12 Alexey Proskuryakov <ap@apple.com>
901 Make LOG() work in WebProcess and NetworkProcess
902 https://bugs.webkit.org/show_bug.cgi?id=104718
904 Reviewed by Tim Horton.
906 * WebView/WebView.mm: Use WebCore/InitializeLogging.h to avoid conflicts between
907 WebCore and WebKit versions of this file.
909 2012-12-11 Mike West <mkwst@chromium.org>
911 Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
912 https://bugs.webkit.org/show_bug.cgi?id=66371
914 Reviewed by Pavel Feldman.
916 Drops WebCore::MessageType from the addMessageToConsole method.
918 * WebCoreSupport/WebChromeClient.h:
920 * WebCoreSupport/WebChromeClient.mm:
921 (WebChromeClient::addMessageToConsole):
923 2012-12-09 Antti Koivisto <antti@apple.com>
925 Factor node traversal into standalone functions
926 https://bugs.webkit.org/show_bug.cgi?id=104507
928 Reviewed by Eric Seidel.
930 * WebView/WebHTMLRepresentation.mm:
931 (searchForLabelsBeforeElement):
933 2012-12-10 Alexis Menard <alexis@webkit.org>
935 [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
936 https://bugs.webkit.org/show_bug.cgi?id=104539
938 Reviewed by Antonio Gomes.
940 As discussed on webkit-dev it is not needed to keep this feature flag
941 as support for <position> type is a small feature that is already
942 implemented by three other UAs. It was useful while landing this
943 feature as partial bits were landed one after one.
945 * Configurations/FeatureDefines.xcconfig:
947 2012-12-06 Rick Byers <rbyers@chromium.org>
949 CSS cursor property should support webkit-image-set
950 https://bugs.webkit.org/show_bug.cgi?id=99493
952 Reviewed by Beth Dakin.
954 Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
956 * Configurations/FeatureDefines.xcconfig:
958 2012-12-03 Yury Semikhatsky <yurys@chromium.org>
960 Unreviewed. Fix Mac compilation after r136448.
962 * WebCoreSupport/WebChromeClient.mm:
963 (stringForMessageType):
965 2012-12-03 Alexis Menard <alexis@webkit.org>
967 [Mac] Enable CSS3 background-position offset by default.
968 https://bugs.webkit.org/show_bug.cgi?id=103905
970 Reviewed by Simon Fraser.
972 Turn the flag on by default.
974 * Configurations/FeatureDefines.xcconfig:
976 2012-12-02 Yongjun Zhang <yongjun_zhang@apple.com>
978 Need a method to close all idle localstorage databases immediately.
979 https://bugs.webkit.org/show_bug.cgi?id=103469
981 Reviewed by David Kilzer.
983 Add a new method to WebStorageManager that we can call to close all
984 idle local storage databases.
986 * Storage/WebStorageManager.mm:
987 (+[WebStorageManager closeIdleLocalStorageDatabases]):
988 * Storage/WebStorageManagerPrivate.h:
990 2012-11-30 Mihai Maerean <mmaerean@adobe.com>
992 [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
993 https://bugs.webkit.org/show_bug.cgi?id=101192
995 Reviewed by Hajime Morita.
997 Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
999 Tests: No new tests because there is no functional change.
1001 * WebView/WebView.mm:
1002 (-[WebView _preferencesChanged:]):
1004 2012-11-29 Rafael Weinstein <rafaelw@chromium.org>
1006 [HTMLTemplateElement] Add feature flag
1007 https://bugs.webkit.org/show_bug.cgi?id=103694
1009 Reviewed by Adam Barth.
1011 This flag will guard the implementation of the HTMLTemplateElement.
1012 http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
1014 * Configurations/FeatureDefines.xcconfig:
1016 2012-11-29 Alexey Proskuryakov <ap@apple.com>
1018 [WK2] Forward cookie jar calls to NetworkProcess
1019 https://bugs.webkit.org/show_bug.cgi?id=103457
1021 Reviewed by Darin Adler.
1023 * WebCoreSupport/WebPlatformStrategies.h:
1024 (WebPlatformStrategies):
1025 * WebCoreSupport/WebPlatformStrategies.mm:
1026 (WebPlatformStrategies::cookiesForDOM):
1027 (WebPlatformStrategies::setCookiesFromDOM):
1028 (WebPlatformStrategies::cookiesEnabled):
1029 (WebPlatformStrategies::cookieRequestHeaderFieldValue):
1030 (WebPlatformStrategies::getRawCookies):
1031 (WebPlatformStrategies::deleteCookie):
1032 (WebPlatformStrategies::getHostnamesWithCookies):
1033 (WebPlatformStrategies::deleteCookiesForHostname):
1034 (WebPlatformStrategies::deleteAllCookies):
1035 (WebPlatformStrategies::getPluginInfo):
1036 (WebPlatformStrategies::bufferForType):
1037 WebKit1 strategy just uses PlatformCookieJar.
1039 2012-11-28 Beth Dakin <bdakin@apple.com>
1041 https://bugs.webkit.org/show_bug.cgi?id=102970
1042 [WK1] REGRESSION (r129545): Main frame doesn't rubberband unless
1043 WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:
1045 Reviewed by Sam Weinig.
1047 We should always register for DidFirstLayout in WK1 since we do work
1048 at that time besides just calling the delegate function.
1049 * WebView/WebView.mm:
1050 (-[WebView _cacheFrameLoadDelegateImplementations]):
1052 2012-11-27 Michael Saboff <msaboff@apple.com>
1054 TextIterator unnecessarily converts 8 bit strings to 16 bits
1055 https://bugs.webkit.org/show_bug.cgi?id=103295
1057 Reviewed by Brent Fulgham.
1059 Updated _stringForRange to use plainText() instead of removed plainTextToMallocAllocatedBuffer().
1061 * WebView/WebFrame.mm:
1062 (-[WebFrame _stringForRange:]):
1064 2012-11-27 James Simonsen <simonjam@chromium.org>
1066 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1067 https://bugs.webkit.org/show_bug.cgi?id=102151
1069 Reviewed by Adam Barth.
1071 * Plugins/WebPluginController.mm:
1072 * WebView/WebFrame.mm:
1073 (-[WebFrame loadRequest:]):
1074 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1076 2012-11-27 Pratik Solanki <psolanki@apple.com>
1078 objc/objc-runtime.h does not exist on all PLATFORM(MAC)
1079 https://bugs.webkit.org/show_bug.cgi?id=101780
1081 Reviewed by Brent Fulgham.
1083 Clean up header includes so we don't include objc/objc-runtime.h.
1085 * Carbon/HIWebView.mm:
1086 (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend.
1087 * Plugins/WebNetscapePluginView.mm:
1088 * Plugins/WebPluginContainerCheck.mm:
1089 (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
1090 * Plugins/WebPluginController.mm:
1091 * WebCoreSupport/WebCachedFramePlatformData.h:
1092 * WebCoreSupport/WebDeviceOrientationClient.mm:
1093 * WebView/WebDelegateImplementationCaching.mm:
1094 * WebView/WebHTMLView.mm:
1095 * WebView/WebPDFDocumentExtras.mm:
1096 * WebView/WebPolicyDelegate.mm:
1097 (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
1098 * WebView/WebView.mm:
1100 2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com>
1102 Unreviewed, rolling out r135786.
1103 http://trac.webkit.org/changeset/135786
1104 https://bugs.webkit.org/show_bug.cgi?id=103379
1106 It made 3 plugin tests timeout on several platforms (Requested
1107 by Ossy on #webkit).
1109 * Plugins/WebPluginController.mm:
1110 * WebView/WebFrame.mm:
1111 (-[WebFrame loadRequest:]):
1112 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1114 2012-11-26 James Simonsen <simonjam@chromium.org>
1116 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1117 https://bugs.webkit.org/show_bug.cgi?id=102151
1119 Reviewed by Adam Barth.
1121 * Plugins/WebPluginController.mm:
1122 * WebView/WebFrame.mm:
1123 (-[WebFrame loadRequest:]):
1124 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1126 2012-11-23 Alexis Menard <alexis@webkit.org>
1128 [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing.
1129 https://bugs.webkit.org/show_bug.cgi?id=102104
1131 Reviewed by Julien Chaffraix.
1133 Protect the new feature behind a feature flag.
1135 * Configurations/FeatureDefines.xcconfig:
1137 2012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com>
1139 Disambiguate innerNodeFramePoint and mainFramePoint
1140 https://bugs.webkit.org/show_bug.cgi?id=98139
1142 Reviewed by Julien Chaffraix.
1144 Switch to using HitTestResult::innerNodeFrame and HitTestResult::innerNodeFramePoint.
1146 * WebCoreSupport/WebContextMenuClient.mm:
1147 (WebContextMenuClient::showContextMenu):
1149 2012-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
1151 Unreviewed, rolling out r135295.
1152 http://trac.webkit.org/changeset/135295
1153 https://bugs.webkit.org/show_bug.cgi?id=102834
1155 This patch causes assertion to some layout tests on chromium
1156 (Requested by jianli on #webkit).
1158 * Plugins/WebPluginController.mm:
1159 * WebView/WebFrame.mm:
1160 (-[WebFrame loadRequest:]):
1161 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1163 2012-11-20 James Simonsen <simonjam@chromium.org>
1165 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1166 https://bugs.webkit.org/show_bug.cgi?id=102151
1168 Reviewed by Adam Barth.
1170 * Plugins/WebPluginController.mm:
1171 * WebView/WebFrame.mm:
1172 (-[WebFrame loadRequest:]):
1173 (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1175 2012-11-19 Kihong Kwon <kihong.kwon@samsung.com>
1177 Add PROXIMITY_EVENTS feature
1178 https://bugs.webkit.org/show_bug.cgi?id=102658
1180 Reviewed by Kentaro Hara.
1182 Add PROXIMITY_EVENTS feature to xcode project for WebKit.
1184 * Configurations/FeatureDefines.xcconfig:
1186 2012-11-16 Tony Chang <tony@chromium.org>
1188 Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
1189 https://bugs.webkit.org/show_bug.cgi?id=102554
1191 Reviewed by Andreas Kling.
1193 As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
1194 we're going to revist this feature once additional vendor support is
1197 * Configurations/FeatureDefines.xcconfig:
1199 2012-11-15 Alexey Proskuryakov <ap@apple.com>
1201 Private Browsing is a per-page setting that sets a global value
1202 https://bugs.webkit.org/show_bug.cgi?id=67870
1204 Reviewed by Sam Weinig.
1206 * WebCoreSupport/WebFrameNetworkingContext.h:
1207 * WebCoreSupport/WebFrameNetworkingContext.mm:
1208 Moved functions for managing global sessions from WebCore.
1210 * WebCoreSupport/WebPlatformStrategies.h:
1211 * WebCoreSupport/WebPlatformStrategies.mm:
1212 (WebPlatformStrategies::defaultCookieStorage): Added. Uses WebFrameNetworkingContext
1213 to reach the storage.
1215 * WebView/WebPreferences.mm:
1216 (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Ditto.
1217 (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Ditto.
1219 * WebView/WebPreferencesPrivate.h: Added a comment explaining that two functions
1220 are not generic enough for use outside DRT (one of them had "testing" in name,
1221 but another did not).
1223 * WebView/WebView.mm:
1224 (-[WebView _preferencesChanged:]): Create a global private browsing session when
1225 the first view with private browsing is created, delete it when any window with
1226 it disabled is created (since this comes from preferences, it applies to all
1227 views equally, even though we are dealing with a single one here).
1228 (-[WebView _cachedResponseForURL:]): Use main frame's networking context instead of
1231 2012-11-13 Timothy Hatcher <timothy@apple.com>
1233 Adjust the Web Inspector window title frame if needed to prevent it from intersecting the dock button.
1235 https://bugs.webkit.org/show_bug.cgi?id=102073
1237 Reviewed by Joseph Pecoraro.
1239 * WebCoreSupport/WebInspectorClient.mm:
1240 (-[WebInspectorWindow _customTitleFrame]): Added. Adjust the title frame.
1242 2012-11-12 Simon Fraser <simon.fraser@apple.com>
1244 Build fix after r134346 and 134347.
1246 Use frameView.isFlipped, not frameView.flipped in the assertion.
1248 * WebCoreSupport/WebInspectorClient.mm:
1249 (-[WebInspectorWindowController window]):
1251 2012-11-12 Timothy Hatcher <timothy@apple.com>
1253 Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
1255 https://bugs.webkit.org/show_bug.cgi?id=102025
1257 Reviewed by Joseph Pecoraro.
1259 * Resources/Dock.pdf: Added.
1260 * WebCoreSupport/WebInspectorClient.h:
1261 * WebCoreSupport/WebInspectorClient.mm:
1262 (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
1263 (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
1264 (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
1265 (-[WebInspectorWindowController window]): Create the dock button and add it.
1266 (-[WebInspectorWindowController attachWindow:]): Added.
1267 (-[WebInspectorWindowController attach]): Call setAttachedWindow.
1268 (-[WebInspectorWindowController detach]): Ditto.
1269 (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
1271 2012-11-08 Timothy Hatcher <timothy@apple.com>
1273 Always use a textured window for the Web Inspector.
1275 https://bugs.webkit.org/show_bug.cgi?id=101693
1277 Reviewed by Joseph Pecoraro.
1279 * WebCoreSupport/WebInspectorClient.mm:
1280 (-[WebInspectorWindowController window]): Removed the conditional for a textured window.
1282 2012-11-08 Roger Fong <roger_fong@apple.com>
1284 Null check URL key entries into WebHistory hash table.
1285 https://bugs.webkit.org/show_bug.cgi?id=101664
1286 <rdar://problem/12440852>
1288 Reviewed by Brady Eidson.
1290 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.
1291 This prevents the desired page navigation from taking effect. This is a workaround for the problem.
1292 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
1293 so that navigation can continue as expected.
1295 * History/WebHistory.mm:
1296 (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]):
1298 2012-11-07 Andreas Kling <akling@apple.com>
1300 Remove build-webkit dependency on Java SDK for Apple Mac WebKit.
1301 <http://webkit.org/b/101492>
1303 Reviewed by Anders Carlsson.
1305 * Plugins/WebJavaPlugIn.h: Removed.
1307 2012-11-06 Adam Barth <abarth@webkit.org>
1309 Unreviewed attempt to fix the chromium-mac build.
1311 * WebCoreSupport/WebSystemInterface.mm:
1312 (InitWebCoreSystemInterface):
1314 2012-11-06 Anders Carlsson <andersca@apple.com>
1316 Update Java related WKSI function names
1317 https://bugs.webkit.org/show_bug.cgi?id=101414
1319 Reviewed by Sam Weinig.
1321 * WebCoreSupport/WebChromeClient.mm:
1322 (WebChromeClient::unavailablePluginButtonClicked):
1323 * WebCoreSupport/WebFrameLoaderClient.mm:
1326 2012-11-06 Alexey Proskuryakov <ap@apple.com>
1328 Clean up which storage cookie jar functions use
1329 https://bugs.webkit.org/show_bug.cgi?id=101395
1331 Reviewed by Brady Eidson.
1333 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated for
1336 2012-11-06 Andrey Lushnikov <lushnikov@google.com>
1338 Added console.clear() method
1340 Web Inspector: add console.clear()
1341 https://bugs.webkit.org/show_bug.cgi?id=101021
1343 Reviewed by Vsevolod Vlasov.
1345 * WebCoreSupport/WebChromeClient.mm:
1346 (stringForMessageType): Added ClearMessageType case to switch
1348 2012-11-05 Alexey Proskuryakov <ap@apple.com>
1350 Get rid of setCookieStoragePrivateBrowsingEnabled.
1351 https://bugs.webkit.org/show_bug.cgi?id=101247
1353 Reviewed by Brady Eidson.
1355 * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): We no longer
1358 2012-11-03 Alexey Proskuryakov <ap@apple.com>
1360 Get rid of USE(CFURLSTORAGESESSIONS)
1361 https://bugs.webkit.org/show_bug.cgi?id=101131
1363 Reviewed by Sam Weinig.
1365 * WebView/WebPreferences.mm:
1366 (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
1367 (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
1368 * WebView/WebView.mm:
1369 (-[WebView _cachedResponseForURL:]):
1371 2012-11-02 Anders Carlsson <andersca@apple.com>
1373 Don't instantiate the Java plug-in if it's inactive
1374 https://bugs.webkit.org/show_bug.cgi?id=101102
1375 <rdar://problem/12595679>
1377 Reviewed by Andreas Kling.
1379 * WebCoreSupport/WebChromeClient.mm:
1380 (WebChromeClient::shouldUnavailablePluginMessageBeButton):
1381 The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
1383 (WebChromeClient::unavailablePluginButtonClicked):
1384 If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
1385 then reload the page.
1387 * WebCoreSupport/WebFrameLoaderClient.mm:
1388 (isOracleJavaPlugIn):
1392 (WebFrameLoaderClient::createPlugin):
1393 If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
1395 2012-11-02 Simon Fraser <simon.fraser@apple.com>
1397 Enable SUBPIXEL_LAYOUT on Mac
1398 https://bugs.webkit.org/show_bug.cgi?id=101076
1400 Reviewed by Dave Hyatt.
1402 Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
1404 * Configurations/FeatureDefines.xcconfig:
1406 2012-11-02 Adam Barth <abarth@webkit.org>
1408 ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
1409 https://bugs.webkit.org/show_bug.cgi?id=100711
1411 Reviewed by Eric Seidel.
1413 * Configurations/FeatureDefines.xcconfig:
1415 2012-11-01 Adam Roben <aroben@webkit.org>
1417 [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
1418 https://bugs.webkit.org/show_bug.cgi?id=100957
1420 Reviewed by Simon Fraser.
1422 WebCore doesn't yet support subpixel scrolling. WebKit2 forces
1423 scrolling to always be integral. Now WebKit1 forces this as well.
1425 I'm not sure how to write a test for this.
1427 * WebView/WebDynamicScrollBarsView.mm:
1428 (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
1429 or position:sticky elements in the page.
1430 (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
1431 scroll origin to the nearest pixel if needed.
1433 2012-10-31 Anders Carlsson <andersca@apple.com>
1436 <rdar://problem/12612207>.
1438 Reviewed by Sam Weinig.
1440 * Panels/WebAuthenticationPanel.m:
1441 (-[WebAuthenticationPanel loadNib]):
1443 2012-10-30 Joseph Pecoraro <pecoraro@apple.com>
1445 [Mac] Sync up FeatureDefine Configuration Files
1446 https://bugs.webkit.org/show_bug.cgi?id=100171
1448 Reviewed by David Kilzer.
1450 Follow up to better coordinate with iOS feature defines. Make:
1452 - ENABLE_FILTERS always on
1453 - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
1455 * Configurations/FeatureDefines.xcconfig:
1457 2012-10-30 Joseph Pecoraro <pecoraro@apple.com>
1459 [Mac] Sync up FeatureDefine Configuration Files
1460 https://bugs.webkit.org/show_bug.cgi?id=100171
1462 Reviewed by David Kilzer.
1464 Ensure an identical FeatureDefine files across all projects. Changes:
1466 - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
1467 - ENABLE_PDFKIT_PLUGIN should be in all
1468 - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
1469 - ENABLE_ENCRYPTED_MEDIA should be in all
1470 - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
1471 - Some alphabetical ordering cleanup
1473 * Configurations/FeatureDefines.xcconfig:
1475 2012-10-29 Anders Carlsson <andersca@apple.com>
1477 Build WebKit as C++11 on Mac
1478 https://bugs.webkit.org/show_bug.cgi?id=100720
1480 Reviewed by Daniel Bates.
1482 * Configurations/Base.xcconfig:
1483 Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
1485 * History/WebBackForwardList.mm:
1486 (-[WebBackForwardList description]):
1487 * History/WebHistoryItem.mm:
1488 (-[WebHistoryItem description]):
1489 Add static_casts to prevent implicit type conversions in non-constant initializer lists.
1491 2012-10-28 Mark Rowe <mrowe@apple.com>
1493 Simplify Xcode configuration settings that used to vary between OS versions.
1495 Reviewed by Dan Bernstein.
1497 * Configurations/Base.xcconfig:
1498 * Configurations/DebugRelease.xcconfig:
1499 * Configurations/WebKit.xcconfig:
1501 2012-10-28 Mark Rowe <mrowe@apple.com>
1503 Remove references to unsupported OS and Xcode versions.
1505 Reviewed by Anders Carlsson.
1507 * Configurations/Base.xcconfig:
1508 * Configurations/CompilerVersion.xcconfig: Removed.
1509 * Configurations/DebugRelease.xcconfig:
1510 * Configurations/Version.xcconfig:
1512 2012-10-29 Enrica Casucci <enrica@apple.com>
1514 Add ENABLE_USERSELECT_ALL feature flag.
1515 https://bugs.webkit.org/show_bug.cgi?id=100559
1517 Reviewed by Eric Seidel.
1519 * Configurations/FeatureDefines.xcconfig:
1521 2012-10-27 Alexey Proskuryakov <ap@apple.com>
1523 All tests crash in WebKit1 mode
1524 https://bugs.webkit.org/show_bug.cgi?id=100602
1526 Reviewed by Sam Weinig.
1528 * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
1529 scheduler is created via a strategy, so strategies need to be initialized before
1532 2012-10-27 Dan Bernstein <mitz@apple.com>
1534 REAL_PLATFORM_NAME build setting is no longer needed
1535 https://bugs.webkit.org/show_bug.cgi?id=100587
1537 Reviewed by Mark Rowe.
1539 Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
1542 * Configurations/Base.xcconfig:
1543 * Configurations/CompilerVersion.xcconfig:
1544 * Configurations/DebugRelease.xcconfig:
1545 * Configurations/FeatureDefines.xcconfig:
1546 * Configurations/Version.xcconfig:
1547 * Configurations/WebKit.xcconfig:
1549 2012-10-26 Thiago Marcos P. Santos <thiago.santos@intel.com>
1551 Add feature flags for CSS Device Adaptation
1552 https://bugs.webkit.org/show_bug.cgi?id=95960
1554 Reviewed by Kenneth Rohde Christiansen.
1556 * Configurations/FeatureDefines.xcconfig:
1558 2012-10-25 Dominik Röttsches <dominik.rottsches@intel.com>
1560 Conditionalize XHR timeout support
1561 https://bugs.webkit.org/show_bug.cgi?id=100356
1563 Reviewed by Adam Barth.
1565 Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
1566 Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
1568 * Configurations/FeatureDefines.xcconfig:
1570 2012-10-24 Timothy Hatcher <timothy@apple.com>
1572 Fix a crash seen during the Inspector tests on the WebKit1 bots.
1574 Reviewed by Filip Pizlo.
1576 * WebCoreSupport/WebInspectorClient.mm:
1577 (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
1578 is not the same when the Inspector is docked.
1580 2012-10-24 Brady Eidson <beidson@apple.com>
1582 Add a strategy for loader customization.
1583 https://bugs.webkit.org/show_bug.cgi?id=100278
1585 Reviewed by Alexey Proskuryakov.
1587 * WebCoreSupport/WebPlatformStrategies.h:
1588 (WebPlatformStrategies):
1589 * WebCoreSupport/WebPlatformStrategies.mm:
1590 (WebPlatformStrategies::createLoaderStrategy):
1592 2012-10-24 Timothy Hatcher <timothy@apple.com>
1594 Make the Inspector WKView/WebView become the first responder when bringToFront is called.
1596 https://bugs.webkit.org/show_bug.cgi?id=100209
1598 Reviewed by Joseph Pecoraro.
1600 * WebCoreSupport/WebInspectorClient.mm:
1601 (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
1603 2012-10-23 Alexey Proskuryakov <ap@apple.com>
1605 Add a strategy for shared workers
1606 https://bugs.webkit.org/show_bug.cgi?id=100165
1608 Reviewed by Brady Eidson.
1610 * WebCoreSupport/WebPlatformStrategies.h:
1611 * WebCoreSupport/WebPlatformStrategies.mm:
1612 (WebPlatformStrategies::createPasteboardStrategy):
1613 (WebPlatformStrategies::createSharedWorkerStrategy):
1614 (WebPlatformStrategies::createVisitedLinkStrategy):
1616 2012-10-24 Eric Carlson <eric.carlson@apple.com>
1618 Allow ports to override text track rendering style
1619 https://bugs.webkit.org/show_bug.cgi?id=97800
1620 <rdar://problem/12044964>
1622 Reviewed by Maciej Stachowiak.
1624 * WebCoreSupport/WebSystemInterface.mm:
1625 (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1627 2012-10-23 Dan Bernstein <mitz@apple.com>
1629 WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
1630 https://bugs.webkit.org/show_bug.cgi?id=100188
1632 Reviewed by Sam Weinig.
1634 * WebView/WebView.mm:
1635 (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
1636 code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
1637 default. Changed to refer to that default key by name.
1639 2012-10-23 Kenneth Rohde Christiansen <kenneth@webkit.org>
1641 Add support for resolution media query
1642 https://bugs.webkit.org/show_bug.cgi?id=99077
1644 Reviewed by Antti Koivisto.
1646 Add support for the RESOLUTION_MEDIA_QUERY feature flag.
1648 * Configurations/FeatureDefines.xcconfig:
1650 2012-10-21 Andreas Kling <kling@webkit.org>
1652 Remove Page::javaScriptURLsAreAllowed setting.
1653 <http://webkit.org/b/99944>
1655 Reviewed by Anders Carlsson.
1658 * WebView/WebView.mm:
1659 * WebView/WebViewPrivate.h:
1661 2012-10-19 Dongwoo Joshua Im <dw.im@samsung.com>
1663 Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
1664 https://bugs.webkit.org/show_bug.cgi?id=99804
1666 Reviewed by Julien Chaffraix.
1668 CSS3 text related properties will be implemented under this flag,
1669 including text decoration, text-align-last, and text-justify.
1671 * Configurations/FeatureDefines.xcconfig:
1673 2012-10-18 Pablo Flouret <pablof@motorola.com>
1675 Implement css3-conditional's @supports rule
1676 https://bugs.webkit.org/show_bug.cgi?id=86146
1678 Reviewed by Antti Koivisto.
1680 * Configurations/FeatureDefines.xcconfig:
1681 Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
1683 2012-10-17 Joseph Pecoraro <pecoraro@apple.com>
1685 [Mac] Uninitialized Members in WebDataSourcePrivate
1686 https://bugs.webkit.org/show_bug.cgi?id=99617
1688 Reviewed by David Kilzer.
1690 Initialize BOOL member variables.
1692 * WebView/WebDataSource.mm:
1693 (WebDataSourcePrivate::WebDataSourcePrivate):
1695 2012-10-17 Mark Rowe <mrowe@apple.com>
1697 Fix the build with a newer version of clang.
1699 Reviewed by Dan Bernstein.
1701 Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
1702 While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
1703 with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
1704 therefore generates a warning in newer versions of the compiler.
1706 Fixes <rdar://problem/12503709>.
1708 * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
1709 * Misc/WebCoreStatistics.mm: Ditto.
1710 (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
1711 (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
1713 2012-10-16 Jian Li <jianli@chromium.org>
1715 Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
1716 https://bugs.webkit.org/show_bug.cgi?id=98975
1718 Reviewed by Adam Barth.
1720 Renaming is needed to better match with the draggable region code.
1722 * Configurations/FeatureDefines.xcconfig:
1724 2012-10-15 Dan Bernstein <mitz@apple.com>
1726 WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
1727 https://bugs.webkit.org/show_bug.cgi?id=99113
1729 Reviewed by Tim Horton.
1731 * WebCoreSupport/WebSystemInterface.mm:
1732 (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
1734 2012-10-15 David Kilzer <ddkilzer@apple.com>
1736 Move framework and library linking into WebKit.xcconfig
1737 <http://webkit.org/b/99284>
1739 Reviewed by Mark Rowe.
1741 * Configurations/WebKit.xcconfig: Move frameworks and libraries
1742 link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
1744 2012-10-14 Jon Lee <jonlee@apple.com>
1746 Allow notification origin permission request when no js callback is provided
1747 https://bugs.webkit.org/show_bug.cgi?id=63615
1748 <rdar://problem/11059590>
1750 Reviewed by Sam Weinig.
1752 Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
1753 we do not fall through to calling the standard API's callback if the legacy API's callback is null.
1755 * WebCoreSupport/WebNotificationClient.mm:
1757 (-[WebNotificationPolicyListener initWithVoidCallback:]):
1758 (-[WebNotificationPolicyListener allow]):
1759 (-[WebNotificationPolicyListener deny]):
1761 2012-10-14 Sam Weinig <sam@webkit.org>
1763 Make UserScript and UserStyleSheet value objects that are copyable
1764 https://bugs.webkit.org/show_bug.cgi?id=99275
1766 Reviewed by Tim Horton.
1768 * WebView/WebView.mm:
1769 (-[WebView _injectMailQuirksScript]):
1770 (-[WebView _injectOutlookQuirksScript]):
1771 Update for new PageGroup function signatures.
1773 2012-10-10 Brady Eidson <beidson@apple.com>
1775 Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
1776 https://bugs.webkit.org/show_bug.cgi?id=98976
1778 Reviewed by Anders Carlsson.
1780 * WebView/WebDataSource.mm:
1781 (-[WebDataSource data]):
1783 2012-10-10 Jer Noble <jer.noble@apple.com>
1785 Disallow full screen mode keyboard access by default.
1786 https://bugs.webkit.org/show_bug.cgi?id=98971
1787 <rdar://problem/12474226>
1789 Reviewed by Sam Weinig.
1791 Only support full screen if keyboard access is not requested.
1793 * WebView/WebView.mm:
1794 (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
1796 2012-10-10 Jon Lee <jonlee@apple.com>
1798 [WK2] Activate plugins when user clicks on snapshot
1799 https://bugs.webkit.org/show_bug.cgi?id=98328
1800 <rdar://problem/12426681>
1802 Reviewed by Brady Eidson.
1804 * WebCoreSupport/WebFrameLoaderClient.h:
1805 * WebCoreSupport/WebFrameLoaderClient.mm:
1806 (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
1808 2012-10-10 Brady Eidson <beidson@apple.com>
1810 Switch CachedResource over from SharedBuffer to a new ResourceBuffer
1811 https://bugs.webkit.org/show_bug.cgi?id=98541
1813 Reviewed by Anders Carlsson.
1815 * WebView/WebHTMLView.mm:
1816 (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
1818 2012-10-10 Simon Fraser <simon.fraser@apple.com>
1820 Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
1821 https://bugs.webkit.org/show_bug.cgi?id=98839
1823 Reviewed by Sam Weinig.
1825 To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
1826 in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
1827 but store the computed rect in m_visibleRect.
1829 Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
1830 layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
1832 * WebView/WebFrame.mm:
1833 (-[WebFrame _layerTreeAsText]):
1835 2012-10-09 Jian Li <jianli@chromium.org>
1837 Update the CSS property used to support draggable regions.
1838 https://bugs.webkit.org/show_bug.cgi?id=97156
1840 Reviewed by Adam Barth.
1842 The CSS property to support draggable regions, guarded under
1843 WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
1844 confusion with DASHBOARD_SUPPORT feature.
1846 Also update the code to use the new name annotatedRegions to work for
1849 * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
1850 * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
1851 * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
1852 (WebChromeClient::annotatedRegionsChanged):
1853 * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
1854 (-[WebView _dashboardRegions]):
1856 2012-10-09 Sheriff Bot <webkit.review.bot@gmail.com>
1858 Unreviewed, rolling out r130811 and r130821.
1859 http://trac.webkit.org/changeset/130811
1860 http://trac.webkit.org/changeset/130821
1861 https://bugs.webkit.org/show_bug.cgi?id=98831
1863 Broke date-suggestion-picker-appearance-with-scroll-bar.html
1864 (Requested by abarth|gardening on #webkit).
1866 * WebView/WebFullScreenController.mm:
1867 (screenRectOfContents):
1868 * WebView/WebRenderNode.mm:
1871 2012-10-08 Kiran Muppala <cmuppala@apple.com>
1873 Throttle DOM timers on hidden pages.
1874 https://bugs.webkit.org/show_bug.cgi?id=98474
1876 Reviewed by Maciej Stachowiak.
1878 Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
1879 DumpRenderTree to modify the visibility state of a page. The latter
1880 is needed to test throttling of timers on hidden pages through DumpRenderTree.
1882 * Configurations/FeatureDefines.xcconfig:
1883 * WebView/WebView.mm:
1884 (-[WebView _setVisibilityState:isInitialState:]):
1885 * WebView/WebViewPrivate.h:
1887 2012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
1889 Rename first/second to key/value in HashMap iterators
1890 https://bugs.webkit.org/show_bug.cgi?id=82784
1892 Reviewed by Eric Seidel.
1894 * History/WebHistory.mm:
1895 (-[WebHistoryPrivate removeItemFromDateCaches:]):
1896 (-[WebHistoryPrivate orderedLastVisitedDays]):
1897 (WebHistoryWriter::WebHistoryWriter):
1898 * Misc/WebCoreStatistics.mm:
1899 (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
1900 (+[WebCoreStatistics javaScriptObjectTypeCounts]):
1901 * Plugins/Hosted/NetscapePluginHostManager.mm:
1902 (WebKit::NetscapePluginHostManager::hostForPlugin):
1903 (WebKit::NetscapePluginHostManager::pluginHostDied):
1904 (WebKit::NetscapePluginHostManager::didCreateWindow):
1905 * Plugins/Hosted/NetscapePluginHostProxy.mm:
1906 (WebKit::NetscapePluginHostProxy::pluginHostDied):
1907 * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1908 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
1909 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
1910 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
1911 (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
1912 (WebKit::NetscapePluginInstanceProxy::destroy):
1913 (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
1914 (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
1915 * Plugins/Hosted/ProxyInstance.mm:
1916 (WebKit::ProxyInstance::methodNamed):
1917 (WebKit::ProxyInstance::fieldNamed):
1918 * Plugins/WebNetscapePluginView.mm:
1919 (-[WebNetscapePluginView stopTimers]):
1920 (-[WebNetscapePluginView startTimers]):
1921 * WebCoreSupport/WebNotificationClient.mm:
1922 (WebNotificationClient::show):
1923 (WebNotificationClient::clearNotifications):
1924 (WebNotificationClient::notificationObjectDestroyed):
1925 * WebView/WebHTMLView.mm:
1926 (commandNameForSelector):
1928 2012-10-06 Dan Bernstein <mitz@apple.com>
1930 WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
1931 https://bugs.webkit.org/show_bug.cgi?id=98601
1933 Reviewed by Darin Adler.
1935 * WebView/WebView.mm:
1936 (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
1937 kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
1940 2012-10-05 Sheriff Bot <webkit.review.bot@gmail.com>
1942 Unreviewed, rolling out r130556 and r130564.
1943 http://trac.webkit.org/changeset/130556
1944 http://trac.webkit.org/changeset/130564
1945 https://bugs.webkit.org/show_bug.cgi?id=98572
1947 The patch wasn't reviewed by a reviewer and it is breaking
1948 Chromium Windows (Requested by jchaffraix on #webkit).
1950 * WebCoreSupport/WebSystemInterface.mm:
1951 (InitWebCoreSystemInterface):
1953 2012-10-05 Tim Horton <timothy_horton@apple.com>
1955 [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
1956 https://bugs.webkit.org/show_bug.cgi?id=98565
1957 <rdar://problem/12436468>
1959 Reviewed by Simon Fraser.
1961 Add wkCGContextDrawsWithCorrectShadowOffsets.
1963 * WebCoreSupport/WebSystemInterface.mm:
1964 (InitWebCoreSystemInterface):
1966 2012-10-04 Eric Carlson <eric.carlson@apple.com>
1968 Allow ports to override text track rendering style
1969 https://bugs.webkit.org/show_bug.cgi?id=97800
1970 <rdar://problem/12044964>
1972 Reviewed by Silvia Pfeiffer.
1974 Add WCSI support for new WKSI caption functions.
1976 * WebCoreSupport/WebSystemInterface.mm:
1977 (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1979 2012-10-04 Jon Lee <jonlee@apple.com>
1981 Add a setting to enable plugin snapshotting
1982 https://bugs.webkit.org/show_bug.cgi?id=98319
1983 <rdar://problem/12426480>
1985 Reviewed by Brady Eidson.
1987 Expose plugInSnapshottingEnabled preference to WebKit clients.
1989 * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
1990 * WebView/WebPreferences.mm:
1991 (+[WebPreferences initialize]): Setting is turned off by default.
1992 (-[WebPreferences plugInSnapshottingEnabled]):
1993 (-[WebPreferences setPlugInSnapshottingEnabled:]):
1994 * WebView/WebPreferencesPrivate.h:
1995 * WebView/WebView.mm:
1996 (-[WebView _preferencesChanged:]): Update settings based on preference.
1998 2012-10-04 Rik Cabanier <cabanier@adobe.com>
2000 Turn Compositing on by default in WebKit build
2001 https://bugs.webkit.org/show_bug.cgi?id=98315
2003 Reviewed by Simon Fraser.
2005 enable -webkit-blend-mode on trunk.
2007 * Configurations/FeatureDefines.xcconfig:
2009 2012-10-04 Simon Fraser <simon.fraser@apple.com>
2011 Final part of "sync" to "flush" renaming
2012 https://bugs.webkit.org/show_bug.cgi?id=98430
2014 Reviewed by Tim Horton.
2016 Change method names on GraphicsLayer and GraphicsLayerClient that
2017 refer to "sync" to use the term "flush" instead, to be consistent
2018 with the rest of the code.
2020 * WebView/WebView.mm:
2022 2012-10-03 Benjamin Poulain <bpoulain@apple.com>
2024 [WK2] Support all attributes of GeolocationPosition
2025 https://bugs.webkit.org/show_bug.cgi?id=98212
2027 Reviewed by Sam Weinig.
2029 Add an internal constructor for the sake of testing.
2030 A similar API is used on iOS.
2032 * WebView/WebGeolocationPosition.mm:
2033 (-[WebGeolocationPosition initWithGeolocationPosition:]):
2035 2012-10-04 Simon Fraser <simon.fraser@apple.com>
2037 Standardize on "flush" terminology for compositing layer flushing/syncing
2038 https://bugs.webkit.org/show_bug.cgi?id=98321
2040 Reviewed by Simon Fraser.
2042 Rename compositing-related methods that refer to "syncing" to instead
2043 refer to "flushing".
2045 * WebCoreSupport/WebChromeClient.h:
2046 * WebCoreSupport/WebChromeClient.mm:
2047 (WebChromeClient::scheduleCompositingLayerFlush):
2048 * WebView/WebView.mm:
2049 (-[WebView _flushCompositingChanges]):
2050 (LayerFlushController::flushLayers):
2051 (-[WebView _scheduleCompositingLayerFlush]):
2052 * WebView/WebViewInternal.h:
2054 == Rolled over to ChangeLog-2012-10-02 ==