12014-08-26 Dana Burkart <dburkart@apple.com> 2 3 Merge r172977. <rdar://problem/18141703> 4 5 2014-08-26 Brent Fulgham <bfulgham@apple.com> 6 7 [Win] WebKit IDL incorrectly passes HWND as OLE_HANDLE 8 https://bugs.webkit.org/show_bug.cgi?id=136258 9 <rdar://problem/18134138> 10 11 Reviewed by Tim Horton. 12 13 Avoid 32/64-bit truncation by preventing 64-bit HWND (and other) 14 values from passing through the 32-bit OLE_HANDLE data type. 15 16 * Interfaces/IWebDocument.idl: 17 * Interfaces/IWebEmbeddedView.idl: 18 * Interfaces/IWebErrorPrivate.idl: 19 * Interfaces/IWebFrameLoadDelegate.idl: 20 * Interfaces/IWebFramePrivate.idl: 21 * Interfaces/IWebHistoryItem.idl: 22 * Interfaces/IWebIconDatabase.idl: 23 * Interfaces/IWebMutableURLRequestPrivate.idl: 24 * Interfaces/IWebUIDelegate.idl: 25 * Interfaces/IWebUIDelegatePrivate.idl: 26 * Interfaces/IWebURLResponsePrivate.idl: 27 * Interfaces/IWebView.idl: 28 * Interfaces/IWebViewPrivate.idl: 29 * WebCoreSupport/EmbeddedWidget.cpp: 30 (EmbeddedWidget::createWindow): 31 * WebCoreSupport/WebChromeClient.cpp: 32 (WebChromeClient::rootViewToScreen): 33 (WebChromeClient::screenToRootView): 34 (WebChromeClient::platformPageClient): 35 (WebChromeClient::runOpenPanel): 36 (WebChromeClient::setCursor): 37 * WebCoreSupport/WebContextMenuClient.cpp: 38 (WebContextMenuClient::customizeMenu): 39 * WebCoreSupport/WebFrameLoaderClient.cpp: 40 (WebFrameLoaderClient::createPlugin): 41 * WebCoreSupport/WebInspectorClient.cpp: 42 (WebInspectorClient::openInspectorFrontend): 43 (WebInspectorClient::highlight): 44 (WebInspectorFrontendClient::setAttachedWindowHeight): 45 (WebInspectorFrontendClient::closeWindowWithoutNotifications): 46 (WebInspectorFrontendClient::showWindowWithoutNotifications): 47 * WebCoreSupport/WebInspectorClient.h: 48 * WebCoreSupport/WebInspectorDelegate.cpp: 49 * WebCoreSupport/WebInspectorDelegate.h: 50 (WebInspectorDelegate::webViewFirstResponder): 51 (WebInspectorDelegate::makeFirstResponder): 52 (WebInspectorDelegate::contextMenuItemsForElement): 53 (WebInspectorDelegate::trackCustomPopupMenu): 54 (WebInspectorDelegate::addCustomMenuDrawingData): 55 (WebInspectorDelegate::cleanUpCustomMenuDrawingData): 56 (WebInspectorDelegate::drawHeaderInRect): 57 (WebInspectorDelegate::drawFooterInRect): 58 * WebDropSource.cpp: 59 (generateMouseEvent): 60 (WebDropSource::GiveFeedback): 61 * WebError.cpp: 62 (WebError::sslPeerCertificate): 63 * WebError.h: 64 * WebFrame.cpp: 65 (WebFrame::paintDocumentRectToContext): 66 (WebFrame::paintScrollViewRectToContextAtPoint): 67 (WebFrame::createSubframeWithOwnerElement): 68 (WebFrame::initWithWebView): 69 (WebFrame::drawHeader): 70 (WebFrame::drawFooter): 71 * WebFrame.h: 72 * WebHistoryItem.cpp: 73 (WebHistoryItem::icon): 74 * WebHistoryItem.h: 75 * WebIconDatabase.cpp: 76 (WebIconDatabase::iconForURL): 77 (WebIconDatabase::defaultIconWithSize): 78 * WebIconDatabase.h: 79 * WebMutableURLRequest.cpp: 80 (WebMutableURLRequest::setClientCertificate): 81 * WebMutableURLRequest.h: 82 * WebNodeHighlight.cpp: 83 (WebNodeHighlight::WebNodeHighlight): 84 * WebURLResponse.cpp: 85 (WebURLResponse::sslPeerCertificate): 86 * WebURLResponse.h: 87 * WebView.cpp: 88 (WebView::paintIntoBackingStore): 89 (WebView::handleContextMenuEvent): 90 (WebView::onInitMenuPopup): 91 (WebView::onUninitMenuPopup): 92 (WebView::WebViewWndProc): 93 (WebView::dispatchDidReceiveIconFromWebFrame): 94 (WebView::setHostWindow): 95 (WebView::hostWindow): 96 (WebView::generateSelectionImage): 97 (WebView::mainFrameIcon): 98 (WebView::viewWindow): 99 (WebView::paintDocumentRectToContext): 100 (WebView::paintScrollViewRectToContextAtPoint): 101 (WebView::backingStore): 102 (WebView::fullScreenClientSetParentWindow): 103 * WebView.h: 104 1052014-07-23 Lucas Forschler <lforschler@apple.com> 106 107 Merge r171403 108 109 2014-07-22 Brent Fulgham <bfulgham@apple.com> 110 111 [Win] Build fix after r171370. 112 113 * WebCoreSupport/WebEditorClient.h: Add override 114 for new 'overflowScrollPositionChanged'. 115 1162014-07-03 Daniel Bates <dabates@apple.com> 117 118 Add WTF::move() 119 https://bugs.webkit.org/show_bug.cgi?id=134500 120 121 Rubber-stamped by Anders Carlsson. 122 123 Substitute WTF::move() for std::move(). 124 125 * WebCoreSupport/WebInspectorClient.cpp: 126 (WebInspectorClient::openInspectorFrontend): 127 (WebInspectorFrontendClient::WebInspectorFrontendClient): 128 * WebHistory.cpp: 129 (createUserInfoFromArray): 130 * WebHistoryItem.cpp: 131 (WebHistoryItem::initFromDictionaryRepresentation): 132 * WebView.cpp: 133 (WebView::addToDirtyRegion): 134 (WebView::scrollBackingStore): 135 1362014-06-26 Brady Eidson <beidson@apple.com> 137 138 Remove use of PlatformStrategies for Gamepad API. 139 https://bugs.webkit.org/show_bug.cgi?id=134348 140 141 Reviewed by Dean Jackson. 142 143 * WebCoreSupport/WebPlatformStrategies.cpp: 144 (WebPlatformStrategies::createGamepadStrategy): Deleted. 145 * WebCoreSupport/WebPlatformStrategies.h: 146 1472014-06-25 Brent Fulgham <bfulgham@apple.com> 148 149 [Win] Expose Cache Information to WinLauncher 150 https://bugs.webkit.org/show_bug.cgi?id=134318 151 152 Reviewed by Dean Jackson. 153 154 * Interfaces/IWebCoreStatistics.idl: Add missing 155 API added to WebKit since this was last updated. 156 * WebCache.cpp: 157 (WebCache::statistics): Add missing elements for 158 purgable and purged data. 159 * WebCoreStatistics.cpp: Provide implementaions. 160 * WebCoreStatistics.h: Ditto. 161 1622014-06-25 Brady Eidson <beidson@apple.com> 163 164 Add new platform gamepad abstractions 165 https://bugs.webkit.org/show_bug.cgi?id=134325 166 167 Reviewed by Dean Jackson. 168 169 * WebCoreSupport/WebPlatformStrategies.cpp: 170 (WebPlatformStrategies::createGamepadStrategy): 171 * WebCoreSupport/WebPlatformStrategies.h: 172 1732014-06-19 Anders Carlsson <andersca@apple.com> 174 175 Try to fix Windows build. 176 177 * WebFrame.h: 178 1792014-06-18 Anders Carlsson <andersca@apple.com> 180 181 Make FrameLoadType a strongly typed enum 182 https://bugs.webkit.org/show_bug.cgi?id=134047 183 184 Reviewed by Andreas Kling. 185 186 * WebView.cpp: 187 (WebView::goToBackForwardItem): 188 (WebView::loadBackForwardListFromOtherView): 189 1902014-06-18 Anders Carlsson <andersca@apple.com> 191 192 Remove IWebFramePrivate::loadType 193 https://bugs.webkit.org/show_bug.cgi?id=134044 194 195 Reviewed by Tim Horton. 196 197 * Interfaces/IWebFramePrivate.idl: 198 * WebFrame.cpp: 199 (WebFrame::loadType): Deleted. 200 (WebFrame::unused2): Deleted. 201 * WebFrame.h: 202 2032014-06-12 Brent Fulgham <bfulgham@apple.com> 204 205 [Win] Avoid crashes in code that converted CFDictionaries to HashMap 206 https://bugs.webkit.org/show_bug.cgi?id=133813 207 <rdar://problem/17291647> 208 209 Reviewed by Tim Horton. 210 211 * WebHistory.cpp: Add empty string checks to avoid crashes in 212 hash function. 213 (WebHistory::removeItem): 214 (WebHistory::addItem): 215 (WebHistory::visitedURL): 216 (WebHistory::itemForURL): 217 (WebHistory::removeItemForURLString): 218 (WebHistory::itemForURLString): 219 * WebPreferences.cpp: Ditto. 220 (WebPreferences::getInstanceForIdentifier): 221 (WebPreferences::setInstance): 222 (WebPreferences::removeReferenceForIdentifier): 223 * WebView.cpp: Ditto. Also convert OwnPtr uses in this file 224 to std::unique_ptr. 225 (WebView::close): 226 (WebView::handleMouseEvent): 227 (WebView::registerEmbeddedViewMIMEType): 228 (WebView::shouldUseEmbeddedView): 229 (WebView::enterFullscreenForNode): 230 (WebView::fullScreenController): 231 * WebView.h: 232 2332014-05-07 Hyowon Kim <hw1008.kim@samsung.com> 234 235 GraphicsLayer::client() should return a reference. 236 https://bugs.webkit.org/show_bug.cgi?id=126372 237 238 Reviewed by Simon Fraser. 239 240 GraphicsLayers always have a GraphicsLayerClient attached, 241 so make client() a reference and remove some unnecessary branches. 242 The author of the changes in the mac port is Andreas Kling <akling@apple.com>. 243 244 * WebView.cpp: 245 (WebView::setAcceleratedCompositing): 246 2472014-04-30 Alexey Proskuryakov <ap@apple.com> 248 249 Roll out fix for https://bugs.webkit.org/show_bug.cgi?id=131637: 250 Clean up unnecessary methods in the BackForwardClient interface 251 252 It broke a regression test and an API test. 253 254 * WebBackForwardList.cpp: 255 (WebBackForwardList::WebBackForwardList): 256 (WebBackForwardList::~WebBackForwardList): 257 (WebBackForwardList::createInstance): 258 * WebBackForwardList.h: 259 * WebView.cpp: 260 (WebView::backForwardList): 261 (WebView::canGoBack): 262 (WebView::canGoForward): 263 (WebView::loadBackForwardListFromOtherView): 264 2652014-04-30 Brian J. Burg <burg@cs.washington.edu> 266 267 Clean up unnecessary methods in the BackForwardClient interface 268 https://bugs.webkit.org/show_bug.cgi?id=131637 269 270 Reviewed by Andreas Kling. 271 272 Remove uses of reference counting for BackForwardList. 273 Use BackForwardController instead of BackForwardClient where possible. 274 275 * WebBackForwardList.cpp: 276 (WebBackForwardList::WebBackForwardList): 277 (WebBackForwardList::~WebBackForwardList): 278 (WebBackForwardList::createInstance): 279 * WebBackForwardList.h: 280 * WebView.cpp: 281 (WebView::backForwardList): 282 (WebView::canGoBack): 283 (WebView::canGoForward): 284 (WebView::loadBackForwardListFromOtherView): 285 2862014-04-24 Myles C. Maxfield <mmaxfield@apple.com> 287 288 FontCache::fontCache() never returns nullptr so it can be made to return a reference instead 289 https://bugs.webkit.org/show_bug.cgi?id=132110 290 291 Reviewed by Tim Horton. 292 293 Updates callers to use '.' instead of '->'. 294 295 No new tests are necessary because there should be no behavior change. 296 297 * WebCoreStatistics.cpp: 298 (WebCoreStatistics::cachedFontDataCount): 299 (WebCoreStatistics::cachedFontDataInactiveCount): 300 (WebCoreStatistics::purgeInactiveFontData): 301 3022014-04-22 Alex Christensen <achristensen@webkit.org> 303 304 Begin implementation of video using Media Foundation. 305 https://bugs.webkit.org/show_bug.cgi?id=131830 306 307 Reviewed by Brent Fulgham. 308 309 * FullscreenVideoController.cpp: 310 * WebView.cpp: 311 Added new USE(MEDIA_FOUNDATION) flag to prevent using the unsupported fullscreen api. 312 3132014-04-09 Alexey Proskuryakov <ap@apple.com> 314 315 Eliminate DragSession structure 316 https://bugs.webkit.org/show_bug.cgi?id=131465 317 318 Reviewed by Benjamin Poulain. 319 320 * WebView.cpp: 321 (WebView::DragEnter): 322 (WebView::DragOver): 323 3242014-04-09 Alexey Proskuryakov <ap@apple.com> 325 326 Rename some dragging functions 327 https://bugs.webkit.org/show_bug.cgi?id=131460 328 329 Reviewed by Tim Horton. 330 331 Renamed performDrag to performDragOperation. 332 333 * WebView.cpp: (WebView::Drop): 334 3352014-04-02 Mark Rowe <mrowe@apple.com> 336 337 Build fix after r166684. 338 339 * WebCoreSupport/WebContextMenuClient.cpp: 340 (WebContextMenuClient::searchWithGoogle): 341 3422014-04-02 Martin Hock <mhock@apple.com> 343 344 Unify private browsing with sessions. 345 https://bugs.webkit.org/show_bug.cgi?id=130099 346 347 Reviewed by Alexey Proskuryakov. 348 349 * WebCoreSupport/WebFrameLoaderClient.cpp: Change WebCore::Settings::privateBrowsingEnabled() to Page::sessionID().isEphemeral(). 350 (WebFrameLoaderClient::updateGlobalHistoryItemForPage): 351 * WebCoreSupport/WebFrameNetworkingContext.cpp: Ditto. 352 (WebFrameNetworkingContext::storageSession): 353 * WebView.cpp: Change WebCore::Settings::setPrivateBrowsingEnabled() to Page::enableLegacyPrivateBrowsing(). 354 (WebView::notifyPreferencesChanged): 355 3562014-03-22 Darin Adler <darin@apple.com> 357 358 Remove String::deprecatedCharacters 359 https://bugs.webkit.org/show_bug.cgi?id=126854 360 361 Reviewed by Sam Weinig. 362 363 * WebKitStatistics.cpp: 364 (WebKitStatistics::comClassNameCounts): Update to not use Vector::append(String). 365 3662014-03-17 Brent Fulgham <bfulgham@apple.com> 367 368 Provide preference to enable additional AVFoundation options 369 https://bugs.webkit.org/show_bug.cgi?id=130275 370 371 Reviewed by Eric Carlson. 372 373 * Interfaces/IWebPreferencesPrivate.idl: Added new preference. 374 * WebPreferenceKeysPrivate.h: Ditto. 375 * WebPreferences.cpp: 376 (WebPreferences::initializeDefaultSettings): Initialize preference to false. 377 (WebPreferences::isInheritURIQueryComponentEnabled): Added. 378 (WebPreferences::setEnableInheritURIQueryComponent): Added. 379 * WebPreferences.h: 380 * WebView.cpp: 381 (WebView::notifyPreferencesChanged): Handle new preference. 382 3832014-03-16 Darin Adler <darin@apple.com> 384 385 Remove all deprecatedCharacters use from WebKit 386 https://bugs.webkit.org/show_bug.cgi?id=130305 387 388 Reviewed by Andreas Kling. 389 390 * AccessibleTextImpl.cpp: 391 (AccessibleText::get_text): Use BString instead of SysAllocStringLen, 392 which handles String directly. 393 (AccessibleText::get_textBeforeOffset): Ditto. 394 (AccessibleText::get_textAfterOffset): Ditto. 395 (AccessibleText::get_textAtOffset): Ditto. 396 (AccessibleText::get_attributes): Ditto. 397 * DOMCSSClasses.cpp: 398 (DOMCSSStyleDeclaration::getPropertyValue): Ditto. 399 * DOMCoreClasses.cpp: 400 (DOMNode::nodeValue): Ditto. 401 (DOMElement::getAttribute): Ditto. 402 (DOMElement::font): Rework this to leak a string, since it returns a 403 pointer to a font family name's characters with no defined lifetime. 404 405 * DOMHTMLClasses.cpp: 406 (DOMHTMLElement::innerText): Use BString's String-based constructor, 407 instead of explicitly passing a character pointer. 408 (DOMHTMLFormElement::action): Ditto. 409 (DOMHTMLFormElement::method): Ditto. 410 (DOMHTMLInputElement::value): Ditto. 411 (DOMHTMLTextAreaElement::value): Ditto. 412 413 * MarshallingHelpers.cpp: 414 (MarshallingHelpers::PathStringToFileCFURLRef): Use String::createCFString. 415 416 * WebCoreSupport/WebEditorClient.cpp: 417 (WebEditorClient::checkSpellingOfString): Use StringView::upconvertedCharacters. 418 (WebEditorClient::checkGrammarOfString): Ditto. 419 420 * WebDataSource.cpp: 421 (WebDataSource::unreachableURL): Use BString's String-based constructor, 422 instead of explicitly passing a character pointer. 423 424 * WebDownload.cpp: 425 (WebDownload::bundlePathForTargetPath): Use BString instead of SysAllocStringLen. 426 427 * WebDownloadCFNet.cpp: 428 (WebDownload::didFinish): Use BString's String-based constructor, 429 instead of explicitly passing a character pointer. 430 * WebDownloadCurl.cpp: 431 (WebDownload::didReceiveResponse): Ditto. 432 433 * WebElementPropertyBag.cpp: 434 (convertStringToVariant): Use BString instead of SysAllocStringLen. 435 * WebFrame.cpp: 436 (WebFrame::searchForLabelsBeforeElement): Ditto. 437 (WebFrame::matchLabelsAgainstElement): Ditto. 438 439 * WebHistory.cpp: 440 (WebHistory::addVisitedLinksToPageGroup): Use a better loop and call 441 visitedLinkHash, since it can take a String. 442 443 * WebKitGraphics.cpp: 444 (CenterTruncateStringToWidth): Use StringView::getCharactersWithUpconvert. 445 (RightTruncateStringToWidth): Ditto. 446 447 * WebView.cpp: 448 (WebView::applicationNameForUserAgent): Use BString instead of SysAllocStringLen. 449 (WebView::customUserAgent): Ditto. 450 (WebView::groupName): Ditto. 451 (WebView::selectedText): Ditto. 452 (WebView::onIMERequestReconvertString): Use StringView::getCharactersWithUpconvert. 453 4542014-03-14 Maciej Stachowiak <mjs@apple.com> 455 456 Replace "Apple Computer, Inc." with "Apple Inc." in copyright headers 457 https://bugs.webkit.org/show_bug.cgi?id=130276 458 <rdar://problem/16266927> 459 460 Reviewed by Simon Fraser. 461 462 * CFDictionaryPropertyBag.cpp: 463 * CFDictionaryPropertyBag.h: 464 * CodeAnalysisConfig.h: 465 * DOMCSSClasses.cpp: 466 * DOMCSSClasses.h: 467 * DOMCoreClasses.cpp: 468 * DOMCoreClasses.h: 469 * DOMEventsClasses.cpp: 470 * DOMEventsClasses.h: 471 * DOMHTMLClasses.cpp: 472 * DOMHTMLClasses.h: 473 * DefaultDownloadDelegate.cpp: 474 * DefaultDownloadDelegate.h: 475 * DefaultPolicyDelegate.cpp: 476 * DefaultPolicyDelegate.h: 477 * ForEachCoClass.cpp: 478 * ForEachCoClass.h: 479 * FullscreenVideoController.cpp: 480 * FullscreenVideoController.h: 481 * Interfaces/AccessibilityDelegate.idl: 482 * Interfaces/DOMCSS.idl: 483 * Interfaces/DOMCore.idl: 484 * Interfaces/DOMEvents.idl: 485 * Interfaces/DOMExtensions.idl: 486 * Interfaces/DOMHTML.idl: 487 * Interfaces/DOMPrivate.idl: 488 * Interfaces/DOMRange.idl: 489 * Interfaces/DOMWindow.idl: 490 * Interfaces/IGEN_DOMObject.idl: 491 * Interfaces/IWebArchive.idl: 492 * Interfaces/IWebBackForwardList.idl: 493 * Interfaces/IWebBackForwardListPrivate.idl: 494 * Interfaces/IWebCache.idl: 495 * Interfaces/IWebDataSource.idl: 496 * Interfaces/IWebDatabaseManager.idl: 497 * Interfaces/IWebDocument.idl: 498 * Interfaces/IWebDownload.idl: 499 * Interfaces/IWebEditingDelegate.idl: 500 * Interfaces/IWebError.idl: 501 * Interfaces/IWebErrorPrivate.idl: 502 * Interfaces/IWebFormDelegate.idl: 503 * Interfaces/IWebFrame.idl: 504 * Interfaces/IWebFrameLoadDelegate.idl: 505 * Interfaces/IWebFrameLoadDelegatePrivate.idl: 506 * Interfaces/IWebFrameLoadDelegatePrivate2.idl: 507 * Interfaces/IWebFramePrivate.idl: 508 * Interfaces/IWebFrameView.idl: 509 * Interfaces/IWebHTMLRepresentation.idl: 510 * Interfaces/IWebHTTPURLResponse.idl: 511 * Interfaces/IWebHistory.idl: 512 * Interfaces/IWebHistoryDelegate.idl: 513 * Interfaces/IWebHistoryItem.idl: 514 * Interfaces/IWebHistoryItemPrivate.idl: 515 * Interfaces/IWebHistoryPrivate.idl: 516 * Interfaces/IWebIconDatabase.idl: 517 * Interfaces/IWebInspector.idl: 518 * Interfaces/IWebInspectorPrivate.idl: 519 * Interfaces/IWebJavaScriptCollector.idl: 520 * Interfaces/IWebKitStatistics.idl: 521 * Interfaces/IWebMutableURLRequest.idl: 522 * Interfaces/IWebMutableURLRequestPrivate.idl: 523 * Interfaces/IWebNavigationData.idl: 524 * Interfaces/IWebNotification.idl: 525 * Interfaces/IWebNotificationCenter.idl: 526 * Interfaces/IWebNotificationObserver.idl: 527 * Interfaces/IWebPolicyDelegate.idl: 528 * Interfaces/IWebPolicyDelegatePrivate.idl: 529 * Interfaces/IWebPreferences.idl: 530 * Interfaces/IWebPreferencesPrivate.idl: 531 * Interfaces/IWebResource.idl: 532 * Interfaces/IWebResourceLoadDelegate.idl: 533 * Interfaces/IWebResourceLoadDelegatePrivate.idl: 534 * Interfaces/IWebResourceLoadDelegatePrivate2.idl: 535 * Interfaces/IWebScriptObject.idl: 536 * Interfaces/IWebSecurityOrigin.idl: 537 * Interfaces/IWebSerializedJSValuePrivate.idl: 538 * Interfaces/IWebTextRenderer.idl: 539 * Interfaces/IWebUIDelegate.idl: 540 * Interfaces/IWebUIDelegatePrivate.idl: 541 * Interfaces/IWebURLAuthenticationChallenge.idl: 542 * Interfaces/IWebURLRequest.idl: 543 * Interfaces/IWebURLResponse.idl: 544 * Interfaces/IWebURLResponsePrivate.idl: 545 * Interfaces/IWebUndoManager.idl: 546 * Interfaces/IWebUndoTarget.idl: 547 * Interfaces/IWebView.idl: 548 * Interfaces/IWebViewPrivate.idl: 549 * Interfaces/WebKit.idl: 550 * Interfaces/WebScrollbarTypes.idl: 551 * MarshallingHelpers.cpp: 552 * MarshallingHelpers.h: 553 * MemoryStream.cpp: 554 * MemoryStream.h: 555 * ProgIDMacros.h: 556 * WebActionPropertyBag.cpp: 557 * WebActionPropertyBag.h: 558 * WebBackForwardList.cpp: 559 * WebBackForwardList.h: 560 * WebCache.cpp: 561 * WebCache.h: 562 * WebCachedFramePlatformData.h: 563 * WebCoreSupport/WebChromeClient.cpp: 564 * WebCoreSupport/WebChromeClient.h: 565 * WebCoreSupport/WebContextMenuClient.cpp: 566 * WebCoreSupport/WebContextMenuClient.h: 567 * WebCoreSupport/WebDragClient.cpp: 568 * WebCoreSupport/WebDragClient.h: 569 * WebCoreSupport/WebEditorClient.cpp: 570 * WebCoreSupport/WebEditorClient.h: 571 * WebCoreSupport/WebFrameLoaderClient.cpp: 572 * WebCoreSupport/WebFrameLoaderClient.h: 573 * WebCoreSupport/WebInspectorClient.cpp: 574 * WebCoreSupport/WebInspectorClient.h: 575 * WebCoreSupport/WebInspectorDelegate.cpp: 576 * WebCoreSupport/WebInspectorDelegate.h: 577 * WebDataSource.cpp: 578 * WebDataSource.h: 579 * WebDatabaseManager.cpp: 580 * WebDatabaseManager.h: 581 * WebDocumentLoader.cpp: 582 * WebDocumentLoader.h: 583 * WebDownload.cpp: 584 * WebDownload.h: 585 * WebDownloadCFNet.cpp: 586 * WebDownloadCurl.cpp: 587 * WebDropSource.cpp: 588 * WebDropSource.h: 589 * WebElementPropertyBag.cpp: 590 * WebElementPropertyBag.h: 591 * WebError.cpp: 592 * WebError.h: 593 * WebFrame.cpp: 594 * WebFrame.h: 595 * WebFramePolicyListener.cpp: 596 * WebFramePolicyListener.h: 597 * WebHTMLRepresentation.cpp: 598 * WebHTMLRepresentation.h: 599 * WebHistory.cpp: 600 * WebHistory.h: 601 * WebHistoryItem.cpp: 602 * WebHistoryItem.h: 603 * WebIconDatabase.cpp: 604 * WebIconDatabase.h: 605 * WebInspector.cpp: 606 * WebInspector.h: 607 * WebJavaScriptCollector.cpp: 608 * WebJavaScriptCollector.h: 609 * WebKitCOMAPI.cpp: 610 * WebKitCOMAPI.h: 611 * WebKitClassFactory.cpp: 612 * WebKitClassFactory.h: 613 * WebKitDLL.cpp: 614 * WebKitDLL.h: 615 * WebKitGraphics.cpp: 616 * WebKitGraphics.h: 617 * WebKitLogging.cpp: 618 * WebKitLogging.h: 619 * WebKitPrefix.cpp: 620 * WebKitPrefix.h: 621 * WebKitStatistics.cpp: 622 * WebKitStatistics.h: 623 * WebKitStatisticsPrivate.h: 624 * WebKitSystemBits.cpp: 625 * WebKitSystemBits.h: 626 * WebLocalizableStrings.cpp: 627 * WebLocalizableStrings.h: 628 * WebMutableURLRequest.cpp: 629 * WebMutableURLRequest.h: 630 * WebNavigationData.cpp: 631 * WebNavigationData.h: 632 * WebNodeHighlight.cpp: 633 * WebNodeHighlight.h: 634 * WebNotification.cpp: 635 * WebNotification.h: 636 * WebNotificationCenter.cpp: 637 * WebNotificationCenter.h: 638 * WebPreferenceKeysPrivate.h: 639 * WebPreferences.cpp: 640 * WebPreferences.h: 641 * WebResource.cpp: 642 * WebResource.h: 643 * WebScriptObject.cpp: 644 * WebScriptObject.h: 645 * WebSecurityOrigin.cpp: 646 * WebSecurityOrigin.h: 647 * WebTextRenderer.cpp: 648 * WebTextRenderer.h: 649 * WebURLAuthenticationChallenge.cpp: 650 * WebURLAuthenticationChallenge.h: 651 * WebURLAuthenticationChallengeSender.cpp: 652 * WebURLAuthenticationChallengeSender.h: 653 * WebURLAuthenticationChallengeSenderCFNet.cpp: 654 * WebURLAuthenticationChallengeSenderCurl.cpp: 655 * WebURLCredential.cpp: 656 * WebURLCredential.h: 657 * WebURLProtectionSpace.cpp: 658 * WebURLProtectionSpace.h: 659 * WebURLResponse.cpp: 660 * WebURLResponse.h: 661 * WebView.cpp: 662 * WebView.h: 663 6642014-03-12 Sergio Villar Senin <svillar@igalia.com> 665 666 Rename DEFINE_STATIC_LOCAL to DEPRECATED_DEFINE_STATIC_LOCAL 667 https://bugs.webkit.org/show_bug.cgi?id=129612 668 669 Reviewed by Darin Adler. 670 671 For new code use static NeverDestroyed<T> instead. 672 673 * WebCoreSupport/WebPlatformStrategies.cpp: 674 (WebPlatformStrategies::initialize): 675 * WebHistory.cpp: 676 (sharedHistoryStorage): 677 * WebLocalizableStrings.cpp: 678 (mainBundleLocStrings): 679 (frameworkLocStringsMutex): 680 (frameworkLocStrings): 681 * WebView.cpp: 682 (WebView::standardUserAgentWithApplicationName): 683 6842014-03-13 Brian Burg <bburg@apple.com> 685 686 Unreviewed build fix for Mac Windows after r165545. 687 https://bugs.webkit.org/show_bug.cgi?id=129744 688 689 Reviewed by Timothy Hatcher. 690 691 * Interfaces/IWebInspectorPrivate.idl: Remove callId from IWebInspectorPrivate. 692 6932014-03-12 Brian Burg <bburg@apple.com> 694 695 Web Inspector: Remove unused callId parameter from evaluateInWebInspector 696 https://bugs.webkit.org/show_bug.cgi?id=129744 697 698 Reviewed by Timothy Hatcher. 699 700 * WebInspector.cpp: 701 (WebInspector::evaluateInFrontend): 702 * WebInspector.h: 703 7042014-03-06 Joseph Pecoraro <pecoraro@apple.com> 705 706 Web Inspector: Expose the console object in JSContexts to interact with Web Inspector 707 https://bugs.webkit.org/show_bug.cgi?id=127944 708 709 Reviewed by Geoffrey Garen. 710 711 * WebCoreSupport/WebChromeClient.h: 712 Update namespaces. 713 7142014-03-04 Zalan Bujtas <zalan@apple.com> 715 716 Subpixel rendering: Make GraphicsLayer::fillRect FloatRoundedRect based and cleanup dependencies. 717 https://bugs.webkit.org/show_bug.cgi?id=129557 718 719 Reviewed by Simon Fraser. 720 721 This is the preparation for snapping rounded rects to device pixel position. It enables 722 device pixel aware border-radius painting. 723 724 No change in functionality. 725 726 * FullscreenVideoController.cpp: 727 (HUDSlider::draw): 728 (FullscreenVideoController::draw): 729 7302014-03-02 Darin Adler <darin@apple.com> 731 732 Streamline use of TextIterator, cutting down includes and use of soon-to-be-deleted functions 733 https://bugs.webkit.org/show_bug.cgi?id=129592 734 735 Reviewed by Sam Weinig. 736 737 * WebCoreSupport/WebEditorClient.cpp: Added now-needed include. 738 7392014-02-25 Anders Carlsson <andersca@apple.com> 740 741 Get rid of VisitedLinkStrategy 742 https://bugs.webkit.org/show_bug.cgi?id=129324 743 744 Reviewed by Dan Bernstein. 745 746 * WebCoreSupport/WebPlatformStrategies.cpp: 747 (WebPlatformStrategies::getPluginInfo): 748 * WebCoreSupport/WebPlatformStrategies.h: 749 7502014-02-24 Renata Hodovan <rhodovan.u-szeged@partner.samsung.com> 751 752 Get rid of the unused 'immediate' parameters from repaint related functions 753 https://bugs.webkit.org/show_bug.cgi?id=129111 754 755 Reviewed by Simon Fraser. 756 757 Removing the 'immediate' parameters from repaint related functions - accoring 758 to the FIXME in RenderView::repaintViewRectangle() - since they have no effect. 759 760 * WebCoreSupport/WebChromeClient.cpp: 761 (WebChromeClient::invalidateRootView): 762 (WebChromeClient::invalidateContentsAndRootView): 763 (WebChromeClient::invalidateContentsForSlowScroll): 764 * WebCoreSupport/WebChromeClient.h: 765 7662014-02-20 Csaba Osztrogonác <ossy@webkit.org> 767 768 Get rid of redundant Platform.h includes 769 https://bugs.webkit.org/show_bug.cgi?id=128817 770 771 Reviewed by Brent Fulgham. 772 773 * WebDownloadCFNet.cpp: 774 * WebDownloadCurl.cpp: 775 * WebURLResponse.cpp: 776 7772014-02-18 Sam Weinig <sam@webkit.org> 778 779 Simplify HTML tokenizer parameterization down to what is used 780 https://bugs.webkit.org/show_bug.cgi?id=128977 781 782 Reviewed by Alexey Proskuryakov. 783 784 Remove unused SPI. 785 786 * WebView.cpp: 787 (WebView::setCustomHTMLTokenizerTimeDelay): 788 (WebView::setCustomHTMLTokenizerChunkSize): 789 7902014-02-17 Anders Carlsson <andersca@apple.com> 791 792 Remove view source code 793 https://bugs.webkit.org/show_bug.cgi?id=127233 794 795 Reviewed by Antti Koivisto. 796 797 * WebFrame.cpp: 798 (WebFrame::inViewSourceMode): 799 (WebFrame::setInViewSourceMode): 800 * WebView.cpp: 801 (WebView::setInViewSourceMode): 802 (WebView::inViewSourceMode): 803 8042014-02-17 Sergio Correia <sergio.correia@openbossa.org> 805 806 Replace uses of PassOwnPtr/OwnPtr with std::unique_ptr in WebCore/inspector 807 https://bugs.webkit.org/show_bug.cgi?id=128681 808 809 Reviewed by Timothy Hatcher. 810 811 Another step towards getting rid of PassOwnPtr/OwnPtr, now targeting 812 WebCore/inspector/*. Besides files in there, a few other files in 813 JavaScriptCore/inspector, WebKit/, WebKit2/WebProcess/WebCoreSupport/ 814 and WebCore/testing were touched. 815 816 * WebCoreSupport/WebInspectorClient.cpp: 817 * WebCoreSupport/WebInspectorClient.h: 818 8192014-02-14 Brent Fulgham <bfulgham@apple.com> 820 821 [Win] Make tests more consistent with Mac platform 822 https://bugs.webkit.org/show_bug.cgi?id=128848 823 824 Reviewed by Simon Fraser. 825 826 * Interfaces/IWebPreferencesPrivate.idl: Add access to the 827 mock scrollbar and screen font substitution features. 828 * WebPreferenceKeysPrivate.h: Ditto 829 * WebPreferences.cpp: Ditto 830 (WebPreferences::mockScrollbarsEnabled): 831 (WebPreferences::setMockScrollbarsEnabled): 832 (WebPreferences::screenFontSubstitutionEnabled): 833 (WebPreferences::setScreenFontSubstitutionEnabled): 834 * WebPreferences.h: Ditto 835 * WebView.cpp: 836 (WebView::notifyPreferencesChanged): Ditto 837 8382014-02-11 Zalan Bujtas <zalan@apple.com> 839 840 Subpixel rendering: Make GraphicsLayerClient::paintContents's clip rect subpixel based. 841 https://bugs.webkit.org/show_bug.cgi?id=128460 842 843 Reviewed by Simon Fraser. 844 845 GraphicsClient::paintContents takes clipRect as FloatRect now so that we can paint on 846 subpixel position. 847 848 No change in functionality. 849 850 * WebView.cpp: 851 (WebView::paintContents): 852 * WebView.h: 853 8542014-02-11 Alex Christensen <achristensen@webkit.org> 855 856 Fixed pointer truncation on Win64. 857 https://bugs.webkit.org/show_bug.cgi?id=128211 858 859 Reviewed by Brent Fulgham. 860 861 * WebCoreSupport/EmbeddedWidget.cpp: 862 (EmbeddedWidget::createWindow): 863 * WebCoreSupport/WebContextMenuClient.cpp: 864 (WebContextMenuClient::customizeMenu): 865 * WebCoreSupport/WebFrameLoaderClient.cpp: 866 (WebFrameLoaderClient::createPlugin): 867 * WebCoreSupport/WebInspectorClient.cpp: 868 (WebInspectorClient::WebInspectorClient): 869 (WebInspectorClient::openInspectorFrontend): 870 (WebInspectorClient::highlight): 871 (WebInspectorClient::releaseFrontend): 872 (WebInspectorFrontendClient::setAttachedWindowHeight): 873 (WebInspectorFrontendClient::closeWindowWithoutNotifications): 874 * WebCoreSupport/WebInspectorClient.h: 875 * WebDropSource.cpp: 876 (generateMouseEvent): 877 * WebFrame.cpp: 878 (WebFrame::createSubframeWithOwnerElement): 879 (WebFrame::initWithWebView): 880 Removed all casts from &HWND to OLE_HANDLE*. 881 8822014-02-11 peavo@outlook.com <peavo@outlook.com> 883 884 [WinCairo] Compile error related to toString function. 885 https://bugs.webkit.org/show_bug.cgi?id=128607 886 887 Reviewed by Brent Fulgham. 888 889 * WebView.cpp: 890 (toString): Added another toString function to make sure we are not trying to use WTF::toString. 891 8922014-02-08 Ryosuke Niwa <rniwa@webkit.org> 893 894 Cleanup the interface of FrameSelection 895 https://bugs.webkit.org/show_bug.cgi?id=128481 896 897 Reviewed by Andreas Kling. 898 899 * WebView.cpp: 900 (WebView::selectionRect): 901 9022014-02-08 Darin Adler <darin@apple.com> 903 904 Change TextIterator to use StringView, preparing to wean it from deprecatedCharacters 905 https://bugs.webkit.org/show_bug.cgi?id=128233 906 907 Reviewed by Anders Carlsson. 908 909 * WebCoreSupport/WebEditorClient.cpp: 910 (WebEditorClient::checkSpellingOfString): Use StringView. 911 (WebEditorClient::checkGrammarOfString): Ditto. 912 * WebCoreSupport/WebEditorClient.h: Ditto. 913 9142014-02-06 Joseph Pecoraro <pecoraro@apple.com> 915 916 Web Inspector: Add Console support to JSContext Inspection 917 https://bugs.webkit.org/show_bug.cgi?id=127941 918 919 Reviewed by Geoffrey Garen. 920 921 * WebCoreSupport/WebChromeClient.h: 922 9232014-02-06 Brent Fulgham <bfulgham@apple.com> 924 925 [Win] Correct IME Regression after r141479 926 https://bugs.webkit.org/show_bug.cgi?id=128323 927 <rdar://problem/15952986> 928 929 Reviewed by Tim Horton. 930 931 * WebView.cpp: 932 (WebView::updateSelectionForIME): Refactoring flipped the meaning of the test used 933 to select the resetIME case. Corrected for behavior of new cancel method. 934 9352014-02-04 Andreas Kling <akling@apple.com> 936 937 Remove <iframe seamless> support. 938 <https://webkit.org/b/128213> 939 940 Rubber-stamped by Antti Koivisto. 941 942 * WebPreferences.h: 943 * WebView.cpp: 944 (WebView::notifyPreferencesChanged): 945 9462014-02-03 Darin Adler <darin@apple.com> 947 948 Try to fix the WinCairo build. 949 950 * WebDownloadCurl.cpp: 951 (WebDownload::didReceiveResponse): characters -> deprecatedCharacters. 952 9532014-02-02 Darin Adler <darin@apple.com> 954 955 Still more characters -> deprecatedCharacters (EWS keeps finding more) 956 https://bugs.webkit.org/show_bug.cgi?id=128076 957 958 Reviewed by Andreas Kling. 959 960 * AccessibleTextImpl.cpp: 961 (AccessibleText::get_text): 962 (AccessibleText::get_textBeforeOffset): 963 (AccessibleText::get_textAfterOffset): 964 (AccessibleText::get_textAtOffset): 965 (AccessibleText::get_attributes): 966 * DOMCSSClasses.cpp: 967 (DOMCSSStyleDeclaration::getPropertyValue): 968 * DOMCoreClasses.cpp: 969 (DOMNode::nodeValue): 970 (DOMElement::getAttribute): 971 (DOMElement::font): 972 * DOMHTMLClasses.cpp: 973 (DOMHTMLElement::innerText): 974 (DOMHTMLFormElement::action): 975 (DOMHTMLFormElement::method): 976 (DOMHTMLInputElement::value): 977 (DOMHTMLTextAreaElement::value): 978 * MarshallingHelpers.cpp: 979 (MarshallingHelpers::PathStringToFileCFURLRef): 980 * WebDataSource.cpp: 981 (WebDataSource::unreachableURL): 982 * WebDownload.cpp: 983 (WebDownload::bundlePathForTargetPath): 984 * WebDownloadCFNet.cpp: 985 (WebDownload::didFinish): 986 * WebElementPropertyBag.cpp: 987 (convertStringToVariant): 988 * WebFrame.cpp: 989 (WebFrame::searchForLabelsBeforeElement): 990 (WebFrame::matchLabelsAgainstElement): 991 * WebHistory.cpp: 992 (WebHistory::addVisitedLinksToPageGroup): 993 * WebKitGraphics.cpp: 994 (CenterTruncateStringToWidth): 995 (RightTruncateStringToWidth): 996 * WebView.cpp: 997 (WebView::applicationNameForUserAgent): 998 (WebView::customUserAgent): 999 (WebView::groupName): 1000 (WebView::selectedText): 1001 (WebView::onIMERequestReconvertString): 1002 Use deprecatedCharacters. 1003 10042014-01-30 Andrei Bucur <abucur@adobe.com> 1005 1006 Remove the ACCELERATED_COMPOSITING flag 1007 https://bugs.webkit.org/show_bug.cgi?id=127833 1008 1009 Reviewed by Antti Koivisto. 1010 1011 Remove the USE(ACCELERATED_COMPOSITING) conditionals from the code base and make AC 1012 mandatory. 1013 1014 Another patch will be required to remove the flag support from the Win build system. 1015 1016 * FullscreenVideoController.cpp: 1017 (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer): 1018 (FullscreenVideoController::FullscreenVideoController): 1019 (FullscreenVideoController::~FullscreenVideoController): 1020 (FullscreenVideoController::enterFullscreen): 1021 * FullscreenVideoController.h: 1022 * WebCoreSupport/WebChromeClient.cpp: 1023 (WebChromeClient::scheduleCompositingLayerFlush): 1024 * WebCoreSupport/WebChromeClient.h: 1025 (WebChromeClient::setNeedsOneShotDrawingSynchronization): 1026 * WebPreferences.cpp: 1027 (WebPreferences::acceleratedCompositingEnabled): 1028 * WebView.cpp: 1029 (WebView::WebView): 1030 (WebView::~WebView): 1031 (WebView::close): 1032 (WebView::repaint): 1033 (WebView::addToDirtyRegion): 1034 (WebView::scrollBackingStore): 1035 (WebView::sizeChanged): 1036 (WebView::updateBackingStore): 1037 (WebView::paint): 1038 (WebView::setShouldInvertColors): 1039 (WebView::WebViewWndProc): 1040 (WebView::notifyPreferencesChanged): 1041 (WebView::setAcceleratedCompositing): 1042 * WebView.h: 1043 10442014-01-29 Alex Christensen <achristensen@webkit.org> 1045 1046 Prepare for accelerated compositing on WinCairo. 1047 https://bugs.webkit.org/show_bug.cgi?id=127843 1048 1049 Reviewed by Anders Carlsson. 1050 1051 * WebPreferences.cpp: 1052 Moved CACFLayerTreeHost.h inclusion to Apple-specific includes 1053 to avoid compile errors in WinCairo when using accelerated compositing. 1054 10552014-01-26 Anders Carlsson <andersca@apple.com> 1056 1057 Follow-up build fix. 1058 1059 * WebHistoryItem.cpp: 1060 (WebHistoryItem::visitedWithTitle): 1061 10622014-01-26 Anders Carlsson <andersca@apple.com> 1063 1064 Remove even more Windows history code. 1065 1066 * WebHistory.cpp: 1067 (WebHistory::removeItemForURLString): 1068 * WebHistoryItem.cpp: 1069 (WebHistoryItem::initFromDictionaryRepresentation): 1070 (WebHistoryItem::dictionaryRepresentation): 1071 (WebHistoryItem::getDailyVisitCounts): 1072 (WebHistoryItem::getWeeklyVisitCounts): 1073 (WebHistoryItem::recordInitialVisit): 1074 (WebHistoryItem::initWithURLString): 1075 10762014-01-26 Anders Carlsson <andersca@apple.com> 1077 1078 Another follow-up build fix. 1079 1080 * WebHistory.cpp: 1081 (WebHistory::removeAllItems): 1082 (WebHistory::orderedItemsLastVisitedOnDay): 1083 * WebHistoryItem.cpp: 1084 (WebHistoryItem::initFromDictionaryRepresentation): 1085 (WebHistoryItem::dictionaryRepresentation): 1086 (WebHistoryItem::visitCount): 1087 (WebHistoryItem::setVisitCount): 1088 10892014-01-26 Anders Carlsson <andersca@apple.com> 1090 1091 Remove more history gunk. 1092 1093 * WebHistory.cpp: 1094 (WebHistory::orderedLastVisitedDays): 1095 (WebHistory::addItem): 1096 (WebHistory::visitedURL): 1097 (WebHistory::removeItemForURLString): 1098 * WebHistory.h: 1099 * WebHistoryItem.cpp: 1100 (WebHistoryItem::initFromDictionaryRepresentation): 1101 (WebHistoryItem::dictionaryRepresentation): 1102 (WebHistoryItem::mergeAutoCompleteHints): 1103 (WebHistoryItem::setLastVisitedTimeInterval): 1104 (WebHistoryItem::initWithURLString): 1105 (WebHistoryItem::lastVisitedTimeInterval): 1106 11072014-01-26 Anders Carlsson <andersca@apple.com> 1108 1109 Build fix. 1110 1111 * WebHistoryItem.cpp: 1112 (WebHistoryItem::initFromDictionaryRepresentation): 1113 (WebHistoryItem::dictionaryRepresentation): 1114 11152014-01-26 Anders Carlsson <andersca@apple.com> 1116 1117 Move lastVisitWasHTTPNonGet out to WebHistoryItem 1118 https://bugs.webkit.org/show_bug.cgi?id=127657 1119 1120 Reviewed by Dan Bernstein. 1121 1122 Remove uses of lastVisitWasHTTPNonGet. 1123 1124 * WebHistory.cpp: 1125 (WebHistory::visitedURL): 1126 * WebHistoryItem.cpp: 1127 (WebHistoryItem::initFromDictionaryRepresentation): 1128 (WebHistoryItem::lastVisitWasHTTPNonGet): 1129 (WebHistoryItem::setLastVisitWasHTTPNonGet): 1130 11312014-01-25 Anders Carlsson <andersca@apple.com> 1132 1133 Remove an unused FrameLoaderClient function 1134 https://bugs.webkit.org/show_bug.cgi?id=127628 1135 1136 Reviewed by Andreas Kling. 1137 1138 * WebCoreSupport/WebFrameLoaderClient.cpp: 1139 * WebCoreSupport/WebFrameLoaderClient.h: 1140 11412014-01-25 Anders Carlsson <andersca@apple.com> 1142 1143 Modernize HashTable threading code 1144 https://bugs.webkit.org/show_bug.cgi?id=127621 1145 1146 Reviewed by Darin Adler. 1147 1148 Explicitly include headers that used to be brought in by HashTable.h 1149 1150 * WebLocalizableStrings.cpp: 1151 11522014-01-24 Anders Carlsson <andersca@apple.com> 1153 1154 Remove back/forward list related functions from Page 1155 https://bugs.webkit.org/show_bug.cgi?id=127596 1156 1157 Reviewed by Andreas Kling. 1158 1159 * WebView.cpp: 1160 (WebView::keyDown): 1161 (WebView::goBack): 1162 (WebView::goForward): 1163 11642014-01-24 Zan Dobersek <zdobersek@igalia.com> 1165 1166 Move HistoryItem to std::unique_ptr 1167 https://bugs.webkit.org/show_bug.cgi?id=127275 1168 1169 Reviewed by Darin Adler. 1170 1171 * WebHistoryItem.cpp: The Vector object that's passed to HistoryItem::setRedirectURLs 1172 should now be handled by std::unique_ptr and passed on through move semantics. 1173 (WebHistoryItem::initFromDictionaryRepresentation): 1174 11752014-01-23 Joseph Pecoraro <pecoraro@apple.com> 1176 1177 Web Inspector: Remove recompileAllJSFunctions timer in ScriptDebugServer 1178 https://bugs.webkit.org/show_bug.cgi?id=127409 1179 1180 Reviewed by Geoffrey Garen. 1181 1182 * WebCoreSupport/WebInspectorClient.cpp: 1183 (WebInspectorFrontendClient::destroyInspectorView): 1184 Include InspectorDisconnectReason. 1185 11862014-01-23 Simon Fraser <simon.fraser@apple.com> 1187 1188 Another Windows fix. 1189 1190 * WebFrame.cpp: 1191 (WebFrame::frameBounds): 1192 11932014-01-23 peavo@outlook.com <peavo@outlook.com> 1194 1195 [WinCairo] Compile error. 1196 https://bugs.webkit.org/show_bug.cgi?id=127500 1197 1198 Reviewed by Brent Fulgham. 1199 1200 * WebCache.cpp: 1201 (WebCache::cacheFolder): CurlCacheManager::getCacheDirectory() has changed name to cacheDirectory(). 1202 12032014-01-23 peavo@outlook.com <peavo@outlook.com> 1204 1205 [Curl] There is no way to specify cache folder. 1206 https://bugs.webkit.org/show_bug.cgi?id=125028 1207 1208 Reviewed by Brent Fulgham. 1209 1210 Added interface methods to set and get cache folder location. 1211 1212 * Interfaces/IWebCache.idl: 1213 * WebCache.cpp: 1214 (WebCache::disabled): 1215 (WebCache::cacheFolder): 1216 (WebCache::setCacheFolder): 1217 * WebCache.h: 1218 12192014-01-21 peavo@outlook.com <peavo@outlook.com> 1220 1221 [WinCairo][Curl] Download request has incorrect user agent string. 1222 https://bugs.webkit.org/show_bug.cgi?id=127110 1223 1224 Reviewed by Brent Fulgham. 1225 1226 * WebDownloadCurl.cpp: 1227 (WebDownload::init): Set user agent string in download request. 1228 * WebView.cpp: 1229 (WebView::downloadURL): Avoid early return if no ResourceHandle is provided. 1230 12312014-01-18 Brian Burg <bburg@apple.com> 1232 1233 Web Inspector: Page should use std::unique_ptr for InspectorController 1234 https://bugs.webkit.org/show_bug.cgi?id=127068 1235 1236 Reviewed by Joseph Pecoraro. 1237 1238 Convert call sites to use a InspectorController reference. 1239 1240 * WebCoreSupport/WebInspectorClient.cpp: 1241 (WebInspectorClient::openInspectorFrontend): 1242 (WebInspectorFrontendClient::destroyInspectorView): 1243 (WebInspectorFrontendClient::onClose): 1244 * WebInspector.cpp: 1245 (WebInspector::show): 1246 (WebInspector::close): 1247 (WebInspector::isJavaScriptProfilingEnabled): 1248 (WebInspector::setJavaScriptProfilingEnabled): 1249 (WebInspector::evaluateInFrontend): 1250 * WebNodeHighlight.cpp: 1251 (WebNodeHighlight::update): 1252 12532014-01-17 Anders Carlsson <andersca@apple.com> 1254 1255 Clean up PageCache classes 1256 https://bugs.webkit.org/show_bug.cgi?id=127202 1257 1258 Reviewed by Andreas Kling. 1259 1260 * WebCoreSupport/WebFrameLoaderClient.cpp: 1261 (WebFrameLoaderClient::savePlatformDataToCachedFrame): 1262 12632014-01-17 Anders Carlsson <andersca@apple.com> 1264 1265 Remove another unused FrameLoaderClient callback 1266 https://bugs.webkit.org/show_bug.cgi?id=127192 1267 1268 Reviewed by Dan Bernstein. 1269 1270 * WebCoreSupport/WebFrameLoaderClient.cpp: 1271 * WebCoreSupport/WebFrameLoaderClient.h: 1272 12732014-01-17 Anders Carlsson <andersca@apple.com> 1274 1275 Remove didPerformFirstNavigation from all FrameLoaderClient subclasses 1276 https://bugs.webkit.org/show_bug.cgi?id=127190 1277 1278 Reviewed by Dan Bernstein. 1279 1280 * WebCoreSupport/WebFrameLoaderClient.cpp: 1281 * WebCoreSupport/WebFrameLoaderClient.h: 1282 12832014-01-16 Peter Molnar <pmolnar.u-szeged@partner.samsung.com> 1284 1285 Remove workaround for compilers not supporting explicit override control 1286 https://bugs.webkit.org/show_bug.cgi?id=127111 1287 1288 Reviewed by Anders Carlsson. 1289 1290 Now all compilers support explicit override control, this workaround can be removed. 1291 1292 * AccessibleDocument.h: 1293 * FullscreenVideoController.cpp: 1294 * WebCoreSupport/WebChromeClient.h: 1295 * WebCoreSupport/WebFrameLoaderClient.h: 1296 * WebCoreSupport/WebFrameNetworkingContext.h: 1297 * WebCoreSupport/WebInspectorClient.h: 1298 * WebHistory.h: 1299 13002014-01-10 Anders Carlsson <andersca@apple.com> 1301 1302 Tweak ProgressTrackerClient functions 1303 https://bugs.webkit.org/show_bug.cgi?id=126808 1304 1305 Reviewed by Sam Weinig. 1306 1307 * WebCoreSupport/WebFrameLoaderClient.cpp: 1308 (WebFrameLoaderClient::progressStarted): 1309 (WebFrameLoaderClient::progressEstimateChanged): 1310 (WebFrameLoaderClient::progressFinished): 1311 * WebCoreSupport/WebFrameLoaderClient.h: 1312 13132014-01-10 Anders Carlsson <andersca@apple.com> 1314 1315 Move progress tracking functions from FrameLoaderClient to a new ProgressTrackerClient 1316 https://bugs.webkit.org/show_bug.cgi?id=126801 1317 1318 Reviewed by Sam Weinig. 1319 1320 * WebCoreSupport/WebFrameLoaderClient.h: 1321 * WebView.cpp: 1322 (WebView::initWithFrame): 1323 13242014-01-08 peavo@outlook.com <peavo@outlook.com> 1325 1326 [WinCairo] Compile error. 1327 https://bugs.webkit.org/show_bug.cgi?id=126534 1328 1329 Reviewed by Brent Fulgham. 1330 1331 * WebKitPrefix.h: Define __STDC_LIMIT_MACROS, so INTMAX_MAX will be defined (needed by std C++ library). 1332 13332014-01-06 László Langó <lango@inf.u-szeged.hu> 1334 1335 Use unsigned consistently, and check for invalid casts when calling into SharedBuffer from other code. 1336 https://bugs.webkit.org/show_bug.cgi?id=124579 1337 1338 Reviewed by Anders Carlsson. 1339 1340 * WebKitDLL.cpp: 1341 (loadResourceIntoBuffer): 1342 13432013-12-30 Gyuyoung Kim <gyuyoung.kim@samsung.com> 1344 1345 Cleanup static_cast<HTMLFormElement*> by using toHTMLFormElement() 1346 https://bugs.webkit.org/show_bug.cgi?id=126309 1347 1348 Reviewed by Andreas Kling. 1349 1350 To detect bad type casts, it would be good to use toHTMLFormElement() instead of 1351 using manual type cast. Additionally FORM_ASSOCIATED_ELEMENT_TYPE_CASTS is introduced newly 1352 to do it. 1353 1354 * WebFrame.cpp: 1355 (WebFrame::elementWithName): 1356 13572013-12-17 Alex Christensen <achristensen@webkit.org> 1358 1359 [WinCairo] Compile fixes for GStreamer on Windows. 1360 https://bugs.webkit.org/show_bug.cgi?id=124867 1361 1362 Reviewed by Philippe Normand. 1363 1364 * WebView.cpp: 1365 (WebView::enterFullscreenForNode): 1366 (WebView::exitFullscreen): 1367 GStreamer in WebKit does not support fullscreen, so 1368 I added #if !USE(GSTREAMER) to the fullscreen code to get it to compile. 1369 13702013-12-11 Joseph Pecoraro <pecoraro@apple.com> 1371 1372 Web Inspector: Push More Inspector Required Classes Down into JavaScriptCore 1373 https://bugs.webkit.org/show_bug.cgi?id=125324 1374 1375 Reviewed by Timothy Hatcher. 1376 1377 * WebFrame.cpp: 1378 * WebView.cpp: 1379 13802013-12-04 Brent Fulgham <bfulgham@apple.com> 1381 1382 [Win] Exiting from Media Full Screen mode via 'escape' key does not work properly 1383 https://bugs.webkit.org/show_bug.cgi?id=125272 1384 1385 Reviewed by Jer Noble. 1386 1387 * WebView.cpp: 1388 (WebView::fullScreenClientWillExitFullScreen): Change to webkitCancelFullScreen method call 1389 to more closely match Media Control behavior. 1390 13912013-12-04 Brian J. Burg <burg@cs.washington.edu> 1392 1393 Consolidate various frame snapshot capabilities. 1394 https://bugs.webkit.org/show_bug.cgi?id=124325 1395 1396 Reviewed by Darin Adler. 1397 1398 * DOMCoreClasses.cpp: 1399 (DOMElement::renderedImage): use createDragImageForNode. 1400 14012013-12-03 Joseph Pecoraro <pecoraro@apple.com> 1402 1403 Web Inspector: Push Remote Inspector debugging connection management into JavaScriptCore 1404 https://bugs.webkit.org/show_bug.cgi?id=124613 1405 1406 Reviewed by Timothy Hatcher. 1407 1408 * WebCoreSupport/WebInspectorClient.h: 1409 14102013-11-25 peavo@outlook.com <peavo@outlook.com> 1411 1412 [Win] WebKit version in user agent string is incorrect. 1413 https://bugs.webkit.org/show_bug.cgi?id=124454 1414 1415 Reviewed by Brent Fulgham. 1416 1417 * WebView.cpp: Use WebKit version from WebKitVersion.h in user agent. 1418 (webKitVersionString): 1419 14202013-11-21 Peter Molnar <pmolnar.u-szeged@partner.samsung.com> 1421 1422 Remove ENABLE_WORKERS 1423 https://bugs.webkit.org/show_bug.cgi?id=105784 1424 1425 Reviewed by Darin Adler. 1426 1427 * WebWorkersPrivate.cpp: 1428 (WebWorkersPrivate::workerThreadCount): 1429 14302013-11-18 Commit Queue <commit-queue@webkit.org> 1431 1432 Unreviewed, rolling out r159455. 1433 http://trac.webkit.org/changeset/159455 1434 https://bugs.webkit.org/show_bug.cgi?id=124568 1435 1436 broke two api tests (see bug 124564) (Requested by thorton on 1437 #webkit). 1438 1439 * DOMCoreClasses.cpp: 1440 (DOMElement::renderedImage): 1441 14422013-11-18 Commit Queue <commit-queue@webkit.org> 1443 1444 Unreviewed, rolling out r159430. 1445 http://trac.webkit.org/changeset/159430 1446 https://bugs.webkit.org/show_bug.cgi?id=124548 1447 1448 WebCore can know nothing about nor use files from WebKit/ 1449 (Requested by thorton on #webkit). 1450 1451 * WebView.cpp: 1452 (webKitVersionString): 1453 14542013-11-18 Brian J. Burg <burg@cs.washington.edu> 1455 1456 Consolidate various frame snapshot capabilities. 1457 https://bugs.webkit.org/show_bug.cgi?id=124325 1458 1459 Reviewed by Timothy Hatcher. 1460 1461 * DOMCoreClasses.cpp: 1462 (DOMElement::renderedImage): use createDragImageForNode. 1463 14642013-11-18 peavo@outlook.com <peavo@outlook.com> 1465 1466 [Win] Optimization, no need to erase background before paint. 1467 https://bugs.webkit.org/show_bug.cgi?id=124453 1468 1469 Reviewed by Brent Fulgham. 1470 1471 As the paint will blit a bitmap onto the invalid area (no alpha), 1472 there is no need to erase the background first, as this will be overwritten by the blit. 1473 1474 * WebView.cpp: 1475 (WebView::WebViewWndProc): Avoid erasing background before paint. 1476 14772013-11-18 peavo@outlook.com <peavo@outlook.com> 1478 1479 [Win] WebKit version in user agent string is incorrect. 1480 https://bugs.webkit.org/show_bug.cgi?id=124454 1481 1482 Reviewed by Brent Fulgham. 1483 1484 * WebView.cpp: 1485 (webKitVersionString): Create WebKit version string from WebKitVersion.h. 1486 14872013-11-15 Jer Noble <jer.noble@apple.com> 1488 1489 Unreviewed Win build fix; setCurrentTime() no longer takes an exception parameter. 1490 1491 * FullscreenVideoController.cpp: 1492 (FullscreenVideoController::setCurrentTime): 1493 14942013-11-12 Alex Christensen <achristensen@webkit.org> 1495 1496 [WinCairo] Preparation for ENABLE(VIDEO). 1497 https://bugs.webkit.org/show_bug.cgi?id=57420 1498 1499 Reviewed by Martin Robinson. 1500 1501 * FullscreenVideoController.cpp: 1502 Don't compile if using GStreamer. 1503 15042013-11-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> 1505 1506 [AX] Clean up static_cast<> to cast from AccessibilityObject 1507 https://bugs.webkit.org/show_bug.cgi?id=124032 1508 1509 Reviewed by Mario Sanchez Prada. 1510 1511 Use toAccessibilityListBox instead of using static_cast<AccessibilityListBox*>. 1512 1513 * AccessibleBase.cpp: 1514 (AccessibleBase::accSelect): 1515 15162013-11-05 Ryosuke Niwa <rniwa@webkit.org> 1517 1518 Windows build fix attempt after r158704. 1519 1520 * FullscreenVideoController.cpp: 1521 15222013-11-01 Patrick Gansterer <paroga@webkit.org> 1523 1524 [WIN] Reduce usage of CFSTR() in WebPreferences 1525 https://bugs.webkit.org/show_bug.cgi?id=121827 1526 1527 Reviewed by Brent Fulgham. 1528 1529 This moved the dependency on CF to a few functions only 1530 and is a first step to make it compile without CF. 1531 1532 * WebPreferences.cpp: 1533 * WebPreferences.h: 1534 15352013-10-31 Alex Christensen <achristensen@webkit.org> 1536 1537 Compile fix for VS2012. 1538 https://bugs.webkit.org/show_bug.cgi?id=123599 1539 1540 Reviewed by Brent Fulgham. 1541 1542 * WebCoreSupport/WebFrameLoaderClient.cpp: 1543 (WebFrameLoaderClient::WebFramePolicyListenerPrivate::WebFramePolicyListenerPrivate): 1544 (WebFrameLoaderClient::cancelPolicyCheck): 1545 (WebFrameLoaderClient::receivedPolicyDecision): 1546 Use nullptr instead of 0 for m_policyFunction, which is a std::function. 1547 15482013-10-31 Patrick Gansterer <paroga@webkit.org> 1549 1550 [WIN] Make WebHistory compile without USE(CF) 1551 https://bugs.webkit.org/show_bug.cgi?id=122010 1552 1553 Reviewed by Brent Fulgham. 1554 1555 Add an alternative code path for !USE(CF) to be able to 1556 compile WebHistory without the CoreFoundation library. 1557 1558 * COMVariantSetter.h: Add support for setting a Vector. 1559 * WebHistory.cpp: 1560 (createUserInfoFromArray): 1561 (createUserInfoFromHistoryItem): 1562 (WebHistory::removeAllItems): 1563 (WebHistory::removeItem): 1564 (WebHistory::addItem): 1565 (WebHistory::visitedURL): 1566 * WebHistory.h: 1567 15682013-10-30 Myles C. Maxfield <mmaxfield@apple.com> 1569 1570 WebKit/win/WebKitGraphics.h:void WebDrawText(WebTextRenderInfo*); is never called 1571 https://bugs.webkit.org/show_bug.cgi?id=123485 1572 1573 Reviewed by Brent Fulgham. 1574 1575 Removed unused WebDrawText implementation. 1576 1577 * WebKitGraphics.cpp: 1578 * WebKitGraphics.h: 1579 15802013-10-30 Patrick Gansterer <paroga@webkit.org> 1581 1582 [WIN] Add missing USE(CFNETWORK) to WebError.h 1583 https://bugs.webkit.org/show_bug.cgi?id=121834 1584 1585 Reviewed by Brent Fulgham. 1586 1587 WebError.cpp uses USE(CFNETWORK), so add it to the header too. 1588 1589 * WebError.h: 1590 15912013-10-30 peavo@outlook.com <peavo@outlook.com> 1592 1593 [Curl][Win] Suggested filename of download is not url decoded. 1594 https://bugs.webkit.org/show_bug.cgi?id=123511 1595 1596 Reviewed by Brent Fulgham. 1597 1598 * WebDownloadCurl.cpp: 1599 (WebDownload::didReceiveResponse): Url decode suggested filename. 1600 16012013-10-28 Tim Horton <timothy_horton@apple.com> 1602 1603 Make TileController manipulate PlatformCALayers instead of CALayers 1604 https://bugs.webkit.org/show_bug.cgi?id=123279 1605 1606 Reviewed by Simon Fraser. 1607 1608 * FullscreenVideoController.cpp: 1609 (FullscreenVideoController::LayerClient::platformCALayerPaintContents): 1610 (FullscreenVideoController::LayerClient::platformCALayerIncrementRepaintCount): 1611 Adjust for new parameters on PlatformCALayerClient callbacks. 1612 16132013-10-23 Alex Christensen <achristensen@webkit.org> 1614 1615 Separated USE(CA) from USE(ACCELERATED_COMPOSITING) to prepare WinCairo for accelerated compositing. 1616 https://bugs.webkit.org/show_bug.cgi?id=123214 1617 1618 Reviewed by Brent Fulgham. 1619 1620 * WebCoreSupport/WebChromeClient.h: 1621 (WebChromeClient::delegatedScrollRequested): Added empty function. 1622 * WebPreferences.cpp: 1623 (WebPreferences::acceleratedCompositingEnabled): 1624 Return true for non-CA ports using accelerated compositing. 1625 * WebView.cpp: 1626 (WebView::~WebView): 1627 (WebView::sizeChanged): 1628 (WebView::paint): 1629 (WebView::setShouldInvertColors): 1630 (WebView::flushPendingGraphicsLayerChangesSoon): 1631 (WebView::setAcceleratedCompositing): 1632 * WebView.h: 1633 Added USE(CA) where necessary to compile WinCairo with accelerated compositing. 1634 16352013-10-16 Tim Horton <timothy_horton@apple.com> 1636 1637 Attempt to fix the Windows build after http://trac.webkit.org/changeset/157547. 1638 1639 Apparently some *more* Windows code uses setFrame and I missed it. 1640 1641 * FullscreenVideoController.cpp: 1642 (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer): 1643 16442013-10-16 Jochen Eisinger <jochen@chromium.org> 1645 1646 A page should exit fullscreen mode if it opens a new popup 1647 https://bugs.webkit.org/show_bug.cgi?id=122865 1648 1649 Reviewed by Jer Noble. 1650 1651 If a fullscreen page opens a popup, the popup would be hidden and 1652 therefore invisible to the user. To avoid this, exit fullscreen mode 1653 before opening a new window. 1654 1655 * WebCoreSupport/WebChromeClient.cpp: 1656 (WebChromeClient::createWindow): 1657 16582013-10-15 Joseph Pecoraro <pecoraro@apple.com> 1659 1660 Web Inspector: Remove Windows old front-end related code 1661 https://bugs.webkit.org/show_bug.cgi?id=122845 1662 1663 Reviewed by Brent Fulgham. 1664 1665 * WebCoreSupport/WebInspectorClient.cpp: 1666 (WebInspectorClient::openInspectorFrontend): 1667 16682013-10-14 Roger Fong <roger_fong@apple.com> 1669 1670 Windows select element doesn't draw RTL properly. 1671 https://bugs.webkit.org/show_bug.cgi?id=122785. 1672 1673 Reviewed by Brent Fulgham. 1674 1675 * WebCoreSupport/WebChromeClient.cpp: 1676 (WebChromeClient::selectItemWritingDirectionIsNatural): 1677 (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection): 1678 16792013-10-14 Tim Horton <timothy_horton@apple.com> 1680 1681 Virtualize PlatformCALayer 1682 https://bugs.webkit.org/show_bug.cgi?id=122672 1683 1684 Reviewed by Anders Carlsson. 1685 1686 * FullscreenVideoController.cpp: 1687 (FullscreenVideoController::FullscreenVideoController): 1688 Include PlatformCALayerWin.h and explicitly make PlatformCALayerWins here. 1689 16902013-10-12 Darin Adler <darin@apple.com> 1691 1692 Get rid of the toHTMLElement helper for casting FormAssociatedElement to HTMLElement 1693 https://bugs.webkit.org/show_bug.cgi?id=122713 1694 1695 Reviewed by Sam Weinig. 1696 1697 * WebFrame.cpp: 1698 (WebFrame::controlsInForm): Use asHTMLElement. 1699 17002013-10-12 Darin Adler <darin@apple.com> 1701 1702 Use unique_ptr instead of delete in a few places 1703 https://bugs.webkit.org/show_bug.cgi?id=122639 1704 1705 Reviewed by Anders Carlsson. 1706 1707 * WebCoreSupport/WebFrameNetworkingContext.cpp: 1708 (privateSession): 1709 (identifierBase): 1710 (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts): 1711 (WebFrameNetworkingContext::setPrivateBrowsingStorageSessionIdentifierBase): 1712 (WebFrameNetworkingContext::ensurePrivateBrowsingSession): 1713 (WebFrameNetworkingContext::destroyPrivateBrowsingSession): 1714 (WebFrameNetworkingContext::storageSession): 1715 17162013-10-10 Anders Carlsson <andersca@apple.com> 1717 1718 Fix build. 1719 1720 * Interfaces/WebKit.idl: 1721 Oops, didn't mean to remove the uuid for WebURLResponse. 1722 17232013-10-10 Anders Carlsson <andersca@apple.com> 1724 1725 Remove WebScrollBar 1726 https://bugs.webkit.org/show_bug.cgi?id=122623 1727 1728 Reviewed by Brent Fulgham. 1729 1730 WebScrollBar isn't used by anyone, remove it. 1731 1732 * ForEachCoClass.h: 1733 * Interfaces/IWebScrollBarDelegatePrivate.idl: Removed. 1734 * Interfaces/IWebScrollBarPrivate.idl: Removed. 1735 * Interfaces/WebKit.idl: 1736 * WebKitClassFactory.cpp: 1737 (WebKitClassFactory::CreateInstance): 1738 * WebScrollBar.cpp: Removed. 1739 * WebScrollBar.h: Removed. 1740 17412013-10-10 Beth Dakin <bdakin@apple.com> 1742 1743 Build fix after http://trac.webkit.org/changeset/157253 1744 1745 * WebScrollBar.h: 1746 17472013-10-09 peavo@outlook.com <peavo@outlook.com> 1748 1749 [Win] BeginPaint should only be called in response to WM_PAINT. 1750 https://bugs.webkit.org/show_bug.cgi?id=122549 1751 1752 Reviewed by Brent Fulgham. 1753 1754 According to the documentation, the Win32 api function BeginPaint should only be called in response to a WM_PAINT message. 1755 Currently, the WebView window procedure might call this function (via WebView::paint(0, 0)) for all types of messages. 1756 Also, there is potential for double drawing. If some message is dispatched before WM_PAINT, WebView::paint(0, 0) will be called. 1757 This call does not validate the area drawn, so later the WM_PAINT will arrive, drawing the same area. 1758 This can be fixed by calling the Win32 function UpdateWindow(), which will do a synchronous window update, and validate the area. 1759 1760 * WebView.cpp: 1761 (WebView::WebViewWndProc): Use Win32 function UpdateWindow() to draw invalid area. 1762 17632013-10-07 Sam Weinig <sam@webkit.org> 1764 1765 Consolidate findString functions 1766 https://bugs.webkit.org/show_bug.cgi?id=122480 1767 1768 Reviewed by Darin Adler. 1769 1770 * WebView.cpp: 1771 (WebView::searchFor): 1772 17732013-10-07 Sam Weinig <sam@webkit.org> 1774 1775 CTTE: Use references in and around DragController 1776 https://bugs.webkit.org/show_bug.cgi?id=122427 1777 1778 Reviewed by Andreas Kling. 1779 1780 * WebCoreSupport/WebDragClient.cpp: 1781 (WebDragClient::actionMaskForDrag): 1782 (WebDragClient::willPerformDragDestinationAction): 1783 (WebDragClient::willPerformDragSourceAction): 1784 (WebDragClient::startDrag): 1785 * WebCoreSupport/WebDragClient.h: 1786 17872013-10-04 Anders Carlsson <andersca@apple.com> 1788 1789 FramePolicyFunction should be an std::function 1790 https://bugs.webkit.org/show_bug.cgi?id=122362 1791 1792 Reviewed by Darin Adler. 1793 1794 * WebCoreSupport/WebFrameLoaderClient.cpp: 1795 (WebFrameLoaderClient::dispatchDecidePolicyForResponse): 1796 (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction): 1797 (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): 1798 (WebFrameLoaderClient::dispatchWillSubmitForm): 1799 (WebFrameLoaderClient::receivedPolicyDecision): 1800 18012013-10-03 Sam Weinig <sam@webkit.org> 1802 1803 Remove shouldRubberBandInDirection from the WKBundlePageUIClient 1804 https://bugs.webkit.org/show_bug.cgi?id=122309 1805 1806 Reviewed by Andreas Kling. 1807 1808 * WebCoreSupport/WebChromeClient.h: 1809 18102013-10-02 Roger Fong <roger_fong@apple.com> 1811 1812 [Windows] Unreviewed build fix. 1813 1814 * WebScriptWorld.cpp: 1815 (WebScriptWorld::findOrCreateWorld): 1816 18172013-10-01 Sam Weinig <sam@webkit.org> 1818 1819 CTTE: DOMWrapperWorlds should be passed around by reference 1820 https://bugs.webkit.org/show_bug.cgi?id=122206 1821 1822 Reviewed by Andreas Kling. 1823 1824 * WebCoreSupport/WebFrameLoaderClient.cpp: 1825 (WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld): 1826 * WebCoreSupport/WebFrameLoaderClient.h: 1827 * WebScriptWorld.cpp: 1828 (WebScriptWorld::standardWorld): 1829 (WebScriptWorld::findOrCreateWorld): 1830 * WebScriptWorld.h: 1831 (WebScriptWorld::world): 1832 18332013-10-01 Alex Christensen <achristensen@webkit.org> 1834 1835 Implemented createWebViewWithRequest in WinLauncher. 1836 https://bugs.webkit.org/show_bug.cgi?id=122069 1837 1838 Reviewed by Brent Fulgham. 1839 1840 * WebCoreSupport/WebChromeClient.cpp: 1841 (WebChromeClient::createWindow): 1842 * WebCoreSupport/WebFrameLoaderClient.cpp: 1843 (WebFrameLoaderClient::dispatchCreatePage): 1844 Pass request url from the NavigationAction to createWebViewWithRequest. 1845 18462013-09-30 Andreas Kling <akling@apple.com> 1847 1848 Try to fix the Windows build. 1849 1850 * WebFrame.cpp: 1851 (WebFrame::pauseAnimation): 1852 (WebFrame::pauseTransition): 1853 18542013-09-27 Roger Fong <roger_fong@apple.com> 1855 1856 [Windows] Unreviewed build fix following r156560. 1857 1858 * WebView.h: 1859 18602013-09-26 Darin Adler <darin@apple.com> 1861 1862 rename KURL to URL 1863 https://bugs.webkit.org/show_bug.cgi?id=16214 1864 1865 Reviewed by Andreas Kling. 1866 1867 * many files: Renamed, using script. 1868 18692013-09-27 Darin Adler <darin@apple.com> 1870 1871 Add empty MainFrame class 1872 https://bugs.webkit.org/show_bug.cgi?id=121770 1873 1874 Reviewed by Andreas Kling. 1875 1876 * win/WebCoreSupport/WebDragClient.cpp: 1877 * win/WebCoreSupport/WebContextMenuClient.cpp: 1878 * win/WebDropSource.cpp: 1879 * win/WebFrame.cpp: 1880 * win/WebView.cpp: 1881 Include MainFrame.h instead of Frame.h as needed. 1882 18832013-09-25 Roger Fong <roger_fong@apple.com> 1884 1885 [Windows] Attempting to scroll from a non-scrollable layer results the main document getting scrolled. 1886 https://bugs.webkit.org/show_bug.cgi?id=121889. 1887 <rdar://problem/15072441> 1888 1889 Reviewed by Timothy Horton. 1890 1891 * WebView.cpp: 1892 (WebView::gesture): 1893 Call scrollByRecursively on the current RenderLayer's enclosingScrollableLayer to make sure that the method 1894 doesn't bail early and end up just scrolling the main document instead of the next scrollable layer in the RenderLayer tree. 1895 18962013-09-25 Patrick Gansterer <paroga@webkit.org> 1897 1898 [WIN] Replace CF time functions with Windows API functions in WebHistory 1899 https://bugs.webkit.org/show_bug.cgi?id=121599 1900 1901 Reviewed by Brent Fulgham. 1902 1903 This reduces the dependencies on the CoreFoundation library. 1904 1905 * WebHistory.cpp: 1906 (addDayToSystemTime): 1907 (getDayBoundaries): 1908 (beginningOfDay): 1909 (dateKey): 1910 (WebHistory::orderedLastVisitedDays): 1911 * WebHistory.h: 1912 19132013-09-24 Brent Fulgham <bfulgham@apple.com> 1914 1915 [Windows] Refactor RuntimeEnabledFeatures as a Singleton. 1916 https://bugs.webkit.org/show_bug.cgi?id=121883 1917 1918 Reviewed by Jer Noble. 1919 1920 * WebView.cpp: 1921 (WebView::notifyPreferencesChanged): Use singleton accessor 1922 19232013-09-24 Roger Fong <roger_fong@apple.com> 1924 1925 [Windows] Overpanning occurs even when what is being panned isn't the main document. 1926 https://bugs.webkit.org/show_bug.cgi?id=121885. 1927 <rdar://problem/15072332>. 1928 1929 Reviewed by Brent Fulgham. 1930 1931 * WebView.cpp: 1932 (WebView::gestureNotify): 1933 (WebView::gesture): 1934 19352013-09-24 Brent Fulgham <bfulgham@apple.com> 1936 1937 [Windows] Unreviewed crash fix after r156321. 1938 1939 Fix a few mistakes in the use of Vectors and counting that introduced test crashes. 1940 1941 * WebHistory.cpp: 1942 (WebHistory::removeAllItems): Loop termination tried to test an unsigned for negative size. 1943 (WebHistory::removeItemFromDateCaches): Vector was being created with empty entries. 1944 (WebHistory::addItemToDateCaches): Ditto. 1945 19462013-09-24 Patrick Gansterer <paroga@webkit.org> 1947 1948 Make WebHistory more type safe 1949 https://bugs.webkit.org/show_bug.cgi?id=121801 1950 1951 Reviewed by Brent Fulgham. 1952 1953 Use a WTF::Vector instead of a CFMutableArray to avoid 1954 casting from void* all the time when accessing the entries. 1955 This reduces the dependencies on CoreFoundation too. 1956 1957 * WebHistory.cpp: 1958 (getDayBoundaries): 1959 (beginningOfDay): 1960 (dateKey): 1961 (WebHistory::orderedItemsLastVisitedOnDay): 1962 (WebHistory::removeItemFromDateCaches): 1963 (WebHistory::addItemToDateCaches): 1964 * WebHistory.h: 1965 19662013-09-23 Patrick Gansterer <paroga@webkit.org> 1967 1968 [WIN] Implement WebMutableURLRequest::setHTTPBody() 1969 https://bugs.webkit.org/show_bug.cgi?id=91920 1970 1971 Reviewed by Brent Fulgham. 1972 1973 * WebMutableURLRequest.cpp: 1974 (WebMutableURLRequest::setHTTPBody): 1975 (WebMutableURLRequest::setHTTPBodyStream): 1976 19772013-09-23 Patrick Gansterer <paroga@webkit.org> 1978 1979 use NOMINMAX instead of #define min min 1980 https://bugs.webkit.org/show_bug.cgi?id=73563 1981 1982 Reviewed by Brent Fulgham. 1983 1984 Use NOMINMAX instead of #define min/max as a cleaner 1985 way of ensuring that Windows system header files don't 1986 define min/max as macro in the first place. 1987 1988 * WebKitPrefix.h: 1989 19902013-09-22 Sam Weinig <sam@webkit.org> 1991 1992 Try to fix the windows build (take 2). 1993 1994 * DOMEventsClasses.cpp: 1995 (DOMEvent::createInstance): 1996 19972013-09-22 Sam Weinig <sam@webkit.org> 1998 1999 Try to fix the windows build. 2000 2001 * DOMEventsClasses.cpp: 2002 (DOMEvent::createInstance): 2003 20042013-09-20 Roger Fong <roger_fong@apple.com> 2005 2006 Handle panning gestures messages properly on Windows. 2007 https://bugs.webkit.org/show_bug.cgi?id=121711. 2008 2009 Reviewed by Brent Fulgham. 2010 2011 This fixes a number of issues with panning gestures on Windows. 2012 1. Two finger panning in one direction can sometimes cause some unexpected scrolling 2013 in the other direction when the gesture first begins (directions meaning horizontal and vertical) 2014 2. Single finger horizontal panning should only be disabled when attempting to select text. 2015 3. Scrolling via panning should be clamped, other wise we can scroll contents completely out of the scrollview. 2016 4. Horizontal overpan should work. 2017 5. Overpan should occur whenever we scroll to the extents of whichever scroll view we're currently scrolling. 2018 2019 * WebView.cpp: 2020 (WebView::gestureNotify): 2021 (WebView::gesture): 2022 20232013-09-20 Patrick Gansterer <paroga@webkit.org> 2024 2025 Fix MIDL files for Visual Studio 2012 2026 https://bugs.webkit.org/show_bug.cgi?id=121552 2027 2028 Reviewed by Brent Fulgham. 2029 2030 The MIDL compiler shipped with Visual Studio 2012 does not accept forward declarations 2031 with typedefs. Use the struct keyword in the function signature to fix this problem. 2032 2033 * Interfaces/DOMPrivate.idl: 2034 20352013-09-20 Patrick Gansterer <paroga@webkit.org> 2036 2037 Remove duplicated secondsPerDay variables 2038 https://bugs.webkit.org/show_bug.cgi?id=121601 2039 2040 Reviewed by Andreas Kling. 2041 2042 Use secondsPerDay from DateMath.h instead of defining it again. 2043 2044 * MarshallingHelpers.cpp: 2045 20462013-09-20 Csaba Osztrogonác <ossy@webkit.org> 2047 2048 Add covariant RenderElement* Element::renderer() 2049 https://bugs.webkit.org/show_bug.cgi?id=121638 2050 2051 Unreviewed buildfix after r156144. 2052 2053 * DOMCoreClasses.cpp: 2054 (DOMElement::boundingBox): 2055 (DOMElement::font): 2056 20572013-09-18 Brent Fulgham <bfulgham@apple.com> 2058 2059 [Windows] Build fix after r156063. 2060 2061 * WebHistory.h: std::unique is an algorithm; std::unique_ptr is what we want here! 2062 20632013-09-18 Sam Weinig <sam@webkit.org> 2064 2065 Replace use of OwnArrayPtr<Foo> with std::unique_ptr<Foo[]> in WebKit and WebKit2 2066 https://bugs.webkit.org/show_bug.cgi?id=121568 2067 2068 Reviewed by Andreas Kling. 2069 2070 * WebHistory.cpp: 2071 (WebHistory::removeAllItems): 2072 (WebHistory::orderedLastVisitedDays): 2073 (WebHistory::addItemToDateCaches): 2074 (WebHistory::removeItemFromDateCaches): 2075 * WebHistory.h: 2076 * WebPreferences.cpp: 2077 (WebPreferences::copyWebKitPreferencesToCFPreferences): 2078 20792013-09-18 Patrick Gansterer <paroga@webkit.org> 2080 2081 Make WebHistory more type safe 2082 https://bugs.webkit.org/show_bug.cgi?id=119389 2083 2084 Reviewed by Brent Fulgham. 2085 2086 Use a WTF::HashMap instead of a CFMutableDictionary to avoid 2087 casting from void* all the time when accessing the entries. 2088 This reduces the dependencies on CoreFoundation too. 2089 2090 * WebHistory.cpp: 2091 (WebHistory::WebHistory): 2092 (WebHistory::removeAllItems): 2093 (WebHistory::allItems): 2094 (WebHistory::removeItem): 2095 (WebHistory::addItem): 2096 (WebHistory::visitedURL): 2097 (WebHistory::itemForURL): 2098 (WebHistory::removeItemForURLString): 2099 (WebHistory::itemForURLString): 2100 (WebHistory::addVisitedLinksToPageGroup): 2101 * WebHistory.h: 2102 21032013-09-17 Brent Fulgham <bfulgham@apple.com> 2104 2105 [Windows] Speculative build fix after r155963 2106 2107 * WebKitCOMAPI.cpp: 2108 (classFactory): Use nullptr rather than 0 for HashMap. 2109 21102013-09-16 Enrica Casucci <enrica@apple.com> 2111 2112 Remove unused function didSetSelectionTypesForPasteboard from EditorClient. 2113 https://bugs.webkit.org/show_bug.cgi?id=121464 2114 2115 Reviewed by Darin Adler. 2116 2117 * WebCoreSupport/WebEditorClient.cpp: 2118 * WebCoreSupport/WebEditorClient.h: 2119 21202013-09-16 Brent Fulgham <bfulgham@apple.com> 2121 2122 [Windows] Rendering stops when mouse is moving for some types of animations. 2123 https://bugs.webkit.org/show_bug.cgi?id=121329 2124 2125 Reviewed by Anders Carlsson. 2126 2127 * WebView.cpp: 2128 (WebView::WebView): Add new display flag. 2129 (WebView::repaint): Mark view as needing a display operation. 2130 (WebView::addToDirtyRegion): Ditto 2131 (WebView::scrollBackingStore): Ditto 2132 (WebView::sizeChanged): Ditto 2133 (WebView::updateBackingStore): Ditto 2134 (WebView::performLayeredWindowUpdate): Mark the WebView as having been 2135 moved to screen. 2136 (WebView::paintIntoWindow): Ditto 2137 (WebView::WebViewWndProc): If the view needs display, and it was not done during 2138 this message loop iteration, draw the screen. 2139 * WebView.h: 2140 (WebView::needsDisplay): Added 2141 21422013-09-15 Patrick Gansterer <paroga@webkit.org> 2143 2144 Remove dependency on CoreFoundation from WebIconDatabase 2145 https://bugs.webkit.org/show_bug.cgi?id=119387 2146 2147 Reviewed by Brent Fulgham. 2148 2149 * COMVariantSetter.h: 2150 (COMVariant::operator&): 2151 (COMVariant::operator->): 2152 * WebIconDatabase.cpp: 2153 (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey): 2154 (postDidAddIconNotification): 2155 * WebIconDatabase.h: 2156 * WebView.cpp: 2157 (WebView::notifyDidAddIcon): 2158 21592013-09-11 Brent Fulgham <bfulgham@apple.com> 2160 2161 [Windows] Avoid converting from IntSize->SIZE->IntSize 2162 https://bugs.webkit.org/show_bug.cgi?id=121180 2163 2164 Reviewed by Anders Carlsson. 2165 2166 * WebIconDatabase.cpp: 2167 (WebIconDatabase::iconForURL): Guard against null SIZE argument. 2168 This was dereferenced with checking before! Use IntSize arguments. 2169 (WebIconDatabase::defaultIconWithSize): Used passed-in IntSize. 2170 (createDIB): Take an IntSize argument. 2171 (WebIconDatabase::getOrCreateSharedBitmap): Take IntSize argument. 2172 (WebIconDatabase::getOrCreateDefaultIconBitmap): Ditto. 2173 * WebIconDatabase.h: Update for IntSize arguments. 2174 * WebView.cpp: 2175 (WebView::dispatchDidReceiveIconFromWebFrame): Pass address of 2176 IntSize directly, rather than casting to SIZE first. 2177 21782013-09-11 Brent Fulgham <bfulgham@apple.com> 2179 2180 [Windows] Unreviewed build correction after r155507. 2181 2182 * WebCoreSupport/WebChromeClient.cpp: Add missing header include 2183 to define isHTMLVideoElement. 2184 21852013-09-11 peavo@outlook.com <peavo@outlook.com> 2186 2187 [Win] Compile error when VIDEO is not enabled. 2188 https://bugs.webkit.org/show_bug.cgi?id=121156 2189 2190 Reviewed by Andreas Kling. 2191 2192 * WebView.cpp: 2193 (WebView::enterFullscreenForNode): Protect isHTMLVideoElement() function with ENABLE(VIDEO) guard. 2194 21952013-09-11 Gyuyoung Kim <gyuyoung.kim@samsung.com> 2196 2197 Generate more HTML type checks and casting 2198 https://bugs.webkit.org/show_bug.cgi?id=121080 2199 2200 Reviewed by Andreas Kling. 2201 2202 Clean-up remained functions of HTML elements using auto-generated isFooElement(), 2203 and replace toFooElement() with ELEMENT_TYPE_CASTS() macro. 2204 2205 Besides this patch clean-up unnecessary checks which are being supported by 2206 auto-generated isFooElement(). 2207 2208 * WebCoreSupport/WebChromeClient.cpp: 2209 (WebChromeClient::supportsFullscreenForNode): 2210 * WebView.cpp: 2211 (WebView::enterFullscreenForNode): 2212 22132013-09-10 Brent Fulgham <bfulgham@apple.com> 2214 2215 [Windows] Create SharedGDIObject Class Template 2216 https://bugs.webkit.org/show_bug.cgi?id=121037 2217 2218 Reviewed by Anders Carlsson. 2219 2220 * WebView.cpp: Change implementations to use the new SharedGDIObject 2221 class. 2222 (WebView::addToDirtyRegion): 2223 (WebView::scrollBackingStore): 2224 (WebView::updateBackingStore): 2225 (WebView::performLayeredWindowUpdate): 2226 (WebView::paint): 2227 (WebView::backingStore): 2228 * WebView.h: Ditto. 2229 22302013-09-09 Brent Fulgham <bfulgham@apple.com> 2231 2232 [Windows] Change from using OwnPtr<GDI Stuff> to new GDIObject template. 2233 https://bugs.webkit.org/show_bug.cgi?id=120778 2234 2235 Reviewed by Anders Carlsson. 2236 2237 * FullscreenVideoController.cpp: 2238 (FullscreenVideoController::createHUDWindow): Switch to GDIObject. 2239 (FullscreenVideoController::draw): Ditto. 2240 * FullscreenVideoController.h: 2241 * WebCoreSupport/EmbeddedWidget.cpp: 2242 (EmbeddedWidget::frameRectsChanged): Switch to GDIObject. 2243 * WebNodeHighlight.cpp: 2244 (WebNodeHighlight::update): Switch to GDIObject. 2245 * WebView.cpp: 2246 (WebView::scrollBackingStore): Switch to GDIObject. 2247 (WebView::updateBackingStore): Ditto. 2248 (WebView::performLayeredWindowUpdate): Ditto. 2249 (WebView::paint): Ditto. 2250 (WebView::paintIntoBackingStore): Ditto. 2251 (WebView::paintIntoWindow): Ditto. 2252 (WebView::generateSelectionImage): Ditto. 2253 22542013-09-05 Roger Fong <roger_fong@apple.com> 2255 2256 [Windows] Implement text offset methods of IAccessibleText interface. 2257 https://bugs.webkit.org/show_bug.cgi?id=120820. 2258 <rdar://problem/14925242> 2259 2260 Reviewed by Brenet Fulgham. 2261 2262 * AccessibleTextImpl.cpp: 2263 (AccessibleText::get_textBeforeOffset): 2264 (AccessibleText::get_textAfterOffset): 2265 (AccessibleText::get_textAtOffset): 2266 (AccessibleText::isInRange): 2267 * AccessibleTextImpl.h: 2268 22692013-08-30 Andreas Kling <akling@apple.com> 2270 2271 Windows build fix for Document& Node::document(). 2272 2273 * DOMCoreClasses.cpp: 2274 (DOMNode::createInstance): 2275 22762013-08-28 Brent Fulgham <bfulgham@apple.com> 2277 2278 [Windows] LayoutTests on Windows debug fails and exits early 2279 https://bugs.webkit.org/show_bug.cgi?id=120438 2280 2281 Reviewed by Tim Horton. 2282 2283 Visual Studio mishandles char* containing utf8-content. Must manually 2284 escape non-ASCII characters so the byte stream is correct for localized 2285 string lookup. 2286 2287 * WebCoreSupport/WebFrameLoaderClient.cpp: 2288 (WebFrameLoaderClient::cannotShowURLError): Replace unicode apostrophe 2289 character with utf8-byte equivalent. 2290 (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto. 2291 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): Ditto. 2292 22932013-08-28 Brent Fulgham <bfulgham@apple.com> 2294 2295 [Windows] Provide useful error messages for WebKitErrorDomain errors 2296 https://bugs.webkit.org/show_bug.cgi?id=120428 2297 2298 Reviewed by Anders Carlsson. 2299 2300 * WebCoreSupport/WebFrameLoaderClient.cpp: 2301 (WebFrameLoaderClient::cancelledError): Provide text for this error. 2302 (WebFrameLoaderClient::blockedError): Hook up WEB_UI_STRING for this error. 2303 (WebFrameLoaderClient::cannotShowURLError): Ditto 2304 (WebFrameLoaderClient::interruptedForPolicyChangeError): Ditto 2305 (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto 2306 (WebFrameLoaderClient::fileDoesNotExistError): Provide text for this error. 2307 (WebFrameLoaderClient::pluginWillHandleLoadError): Hook up WEB_UI_STRING for this error. 2308 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): Ditto. 2309 (WebFrameLoaderClient::createJavaAppletWidget): Ditto. 2310 (WebFrameLoaderClient::webHistory): Remove blank line above method. 2311 23122013-08-27 Brent Fulgham <bfulgham@apple.com> 2313 2314 [Windows] Loader is not properly determining supported MIME types 2315 https://bugs.webkit.org/show_bug.cgi?id=120383 2316 2317 Reviewed by Eric Carlson. 2318 2319 * WebCoreSupport/WebFrameLoaderClient.cpp: 2320 (WebFrameLoaderClient::canShowMIMEType): Modify to ask WebView if it can 2321 display the media type. Use new helper function to avoid converting a String 2322 to BSTR, only to immediatly be converted from BSTR back to String. 2323 (WebFrameLoaderClient::canShowMIMETypeAsHTML): Ditto. 2324 * WebView.cpp: 2325 (WebView::canShowMIMEType): Move logic to a new (similarly named) helper function. 2326 (WebView::canShowMIMETypeAsHTML): Ditto. 2327 * WebView.h: Add declaration for two new helper functions. 2328 23292013-08-26 Ryosuke Niwa <rniwa@webkit.org> 2330 2331 Another Windows build fix after r154658. 2332 2333 * WebView.cpp: 2334 (WebView::shouldClose): 2335 23362013-08-26 Roger Fong <roger_fong@apple.com> 2337 2338 Unreviewed. Add missing interface files that were left out in r154627. 2339 2340 * Interfaces/Accessible2/AccessibleEditableText.idl: Added. 2341 * Interfaces/Accessible2/AccessibleText.idl: Added. 2342 * Interfaces/Accessible2/AccessibleText2.idl: Added. 2343 23442013-08-26 Brent Fulgham <bfulgham@apple.com> 2345 2346 [Windows] Let Page create the main Frame. 2347 https://bugs.webkit.org/show_bug.cgi?id=120323 2348 2349 Reviewed by Anders Carlsson. 2350 2351 * WebCoreSupport/WebFrameLoaderClient.cpp: 2352 (WebFrameLoaderClient::WebFrameLoaderClient): Remove assertion that frame 2353 is passed as construction argument. 2354 (WebFrameLoaderClient::createFrame): Call new 'createSubframeWithOwnerElement' 2355 * WebCoreSupport/WebFrameLoaderClient.h: Update constructor to 2356 handle case of no default frame argument. 2357 (WebFrameLoaderClient::setWebFrame): Added. 2358 * WebFrame.cpp: 2359 (WebFrame::createSubframeWithOwnerElement): Renamed from 'init'. 2360 (WebFrame::initWithWebFrameView): Added for new page-driven load path. 2361 * WebFrame.h: Added new method signatures. 2362 * WebView.cpp: 2363 (WebView::initWithFrame): Update to match behavior of other ports. 2364 23652013-08-23 Roger Fong <roger_fong@apple.com> 2366 2367 <https://bugs.webkit.org/show_bug.cgi?id=119829> Add IAccessibleText and IAccessibleEditableText implementation. 2368 2369 Reviewed by Chris Fleizach. 2370 2371 Add IAccessibleText and IAccessibleEditableText interfaces and implementation to AppleWin port. 2372 2373 * AccessibleBase.cpp: 2374 (AccessibleBase::createInstance): Create an AccessibleText instance when necessary. 2375 (AccessibleBase::QueryService): 2376 * AccessibleBase.h: 2377 * AccessibleTextImpl.cpp: Added. 2378 (AccessibleText::AccessibleText): 2379 (AccessibleText::addSelection): 2380 (AccessibleText::get_attributes): Not Implemented 2381 (AccessibleText::get_caretOffset): 2382 (AccessibleText::get_characterExtents): 2383 (AccessibleText::get_nSelections): 2384 (AccessibleText::get_offsetAtPoint): 2385 (AccessibleText::get_selection): 2386 (AccessibleText::get_text): 2387 (AccessibleText::get_textBeforeOffset): Not Implemented 2388 (AccessibleText::get_textAfterOffset): Not Implemented 2389 (AccessibleText::get_textAtOffset): Not Implemented 2390 (AccessibleText::removeSelection): 2391 (AccessibleText::setCaretOffset): 2392 (AccessibleText::setSelection): 2393 (AccessibleText::get_nCharacters): 2394 (AccessibleText::scrollSubstringTo): 2395 (AccessibleText::scrollSubstringToPoint): 2396 (AccessibleText::get_newText): Not Implemented 2397 (AccessibleText::get_oldText): Not Implemented 2398 (AccessibleText::get_attributeRange): Not Implemented 2399 (AccessibleText::copyText): 2400 (AccessibleText::deleteText): 2401 (AccessibleText::insertText): 2402 (AccessibleText::cutText): 2403 (AccessibleText::pasteText): 2404 (AccessibleText::replaceText): 2405 (AccessibleText::setAttributes): Not Implemented 2406 (AccessibleText::QueryInterface): 2407 (AccessibleText::Release): 2408 (AccessibleText::convertSpecialOffset): 2409 (AccessibleText::initialCheck): 2410 * AccessibleTextImpl.h: Added. 2411 (AccessibleText::~AccessibleText): 2412 (AccessibleText::AddRef): 2413 24142013-08-24 Darin Adler <darin@apple.com> 2415 2416 Frame::tree should return a reference instead of a pointer 2417 https://bugs.webkit.org/show_bug.cgi?id=120259 2418 2419 Reviewed by Andreas Kling. 2420 2421 * WebCoreSupport/WebFrameLoaderClient.cpp: 2422 (WebFrameLoaderClient::createFrame): 2423 * WebFrame.cpp: 2424 (WebFrame::name): 2425 (WebFrame::findFrameNamed): 2426 (WebFrame::parentFrame): 2427 (EnumChildFrames::EnumChildFrames): 2428 (EnumChildFrames::Next): 2429 (EnumChildFrames::Skip): 2430 (EnumChildFrames::Reset): 2431 (WebFrame::isDescendantOfFrame): 2432 (WebFrame::unmarkAllMisspellings): 2433 (WebFrame::unmarkAllBadGrammar): 2434 * WebView.cpp: 2435 (WebView::initWithFrame): 2436 (incrementFrame): 2437 (WebView::clearMainFrameName): 2438 Use tree(). instead of tree()->. 2439 24402013-08-23 Brent Fulgham <bfulgham@apple.com> 2441 2442 [Windows] Refactor WebFrame to compose with WebFrameLoaderClient 2443 https://bugs.webkit.org/show_bug.cgi?id=120092 2444 2445 Reviewed by Anders Carlsson. 2446 2447 Revise WebFrame implementation on Windows to no longer subclass from 2448 WebFrameLoaderClient, instead using a fully-functional WebFrameLoaderClient 2449 as a helper object to perform the tasks, as is done in the other 2450 ports. This is a step towards completing 2451 https://bugs.webkit.org/show_bug.cgi?id=119964. 2452 2453 * WebCoreSupport/WebFrameLoaderClient.cpp: Add a new 'private data' 2454 object to house the policy delegate and function. 2455 (WebFrameLoaderClient::WebFramePolicyListenerPrivate::WebFramePolicyListenerPrivate): 2456 Create the new private data object. 2457 (WebFrameLoaderClient::WebFramePolicyListenerPrivate::~WebFramePolicyListenerPrivate): 2458 Destroy the new private data object. 2459 (WebFrameLoaderClient::WebFrameLoaderClient): Moved from WebFrame.cpp 2460 (WebFrameLoaderClient::frameLoaderDestroyed): Ditto 2461 (WebFrameLoaderClient::makeRepresentation): Ditto 2462 (WebFrameLoaderClient::forceLayoutForNonHTML): Ditto 2463 (WebFrameLoaderClient::setCopiesOnScroll): Ditto 2464 (WebFrameLoaderClient::detachedFromParent2): Ditto 2465 (WebFrameLoaderClient::detachedFromParent3): Ditto 2466 (WebFrameLoaderClient::convertMainResourceLoadToDownload): Ditto 2467 (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache): Ditto 2468 (WebFrameLoaderClient::dispatchDidFailProvisionalLoad): Ditto 2469 (WebFrameLoaderClient::dispatchDidFailLoad): Ditto 2470 (WebFrameLoaderClient::dispatchDecidePolicyForResponse): Ditto 2471 (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction): Ditto 2472 (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): Ditto 2473 (WebFrameLoaderClient::dispatchUnableToImplementPolicy): Ditto 2474 (WebFrameLoaderClient::dispatchWillSendSubmitEvent): Ditto 2475 (WebFrameLoaderClient::dispatchWillSubmitForm): Ditto 2476 (WebFrameLoaderClient::startDownload): Ditto 2477 (WebFrameLoaderClient::willChangeTitle): Ditto 2478 (WebFrameLoaderClient::didChangeTitle): Ditto 2479 (WebFrameLoaderClient::cancelledError): Ditto 2480 (WebFrameLoaderClient::blockedError): Ditto 2481 (WebFrameLoaderClient::cannotShowURLError): Ditto 2482 (WebFrameLoaderClient::interruptedForPolicyChangeError): Ditto 2483 (WebFrameLoaderClient::cannotShowMIMETypeError): Ditto 2484 (WebFrameLoaderClient::fileDoesNotExistError): Ditto 2485 (WebFrameLoaderClient::pluginWillHandleLoadError): Ditto 2486 (WebFrameLoaderClient::shouldFallBack): Ditto 2487 (WebFrameLoaderClient::canHandleRequest): Ditto 2488 (WebFrameLoaderClient::canShowMIMEType): Ditto 2489 (WebFrameLoaderClient::canShowMIMETypeAsHTML): Ditto 2490 (WebFrameLoaderClient::representationExistsForURLScheme): Ditto 2491 (WebFrameLoaderClient::generatedMIMETypeForURLScheme): Ditto 2492 (WebFrameLoaderClient::frameLoadCompleted): Ditto 2493 (WebFrameLoaderClient::saveViewStateToItem): Ditto 2494 (WebFrameLoaderClient::restoreViewState): Ditto 2495 (WebFrameLoaderClient::provisionalLoadStarted): Ditto 2496 (WebFrameLoaderClient::didFinishLoad): Ditto 2497 (WebFrameLoaderClient::prepareForDataSourceReplacement): Ditto 2498 (WebFrameLoaderClient::userAgent): Ditto 2499 (WebFrameLoaderClient::objectContentType): Ditto 2500 (WebFrameLoaderClient::createJavaAppletWidget): Ditto 2501 (WebFrameLoaderClient::overrideMediaType): Ditto 2502 (WebFrameLoaderClient::documentElementAvailable): Ditto 2503 (WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld): Ditto 2504 (WebFrameLoaderClient::registerForIconNotification): Ditto 2505 (WebFrameLoaderClient::didPerformFirstNavigation): Ditto 2506 (WebFrameLoaderClient::createNetworkingContext): Ditto 2507 (WebFrameLoaderClient::shouldAlwaysUsePluginDocument): Ditto 2508 (WebFrameLoaderClient::revertToProvisionalState): Ditto 2509 (WebFrameLoaderClient::setMainFrameDocumentReady): Ditto 2510 (WebFrameLoaderClient::cancelPolicyCheck): Ditto 2511 (WebFrameLoaderClient::setUpPolicyListener): Ditto 2512 (WebFrameLoaderClient::receivedPolicyDecision): Ditto 2513 * WebCoreSupport/WebFrameLoaderClient.h: 2514 (WebFrameLoaderClient::webFrame): Add accessor method 2515 * WebDataSource.cpp: 2516 (WebDataSource::representation): Loader client is now 2517 a WebFrameLoaderClient (not a WebFrame). 2518 (WebDataSource::webFrame): Ditto 2519 * WebElementPropertyBag.cpp: 2520 (WebElementPropertyBag::Read): Loader client is now 2521 a WebFrameLoaderClient (not a WebFrame) 2522 * WebFrame.cpp: 2523 (kit): Revise for WebFrameLoaderClient use. 2524 (WebFrame::WebFramePrivate::WebFramePrivate): Remove 2525 WebFramePolicyListener and FramePolicyFunction, since 2526 they are no longer needed here. They were moved to 2527 the WebFrameLoaderClient object. 2528 (WebFrame::WebFrame): No longer inheriting from 2529 WebFramePolicyListener. 2530 (WebFrame::init): Frame::create now needs to be supplied 2531 with a new WebFramePolicyListener, rather than 'this' 2532 * WebFrame.h: 2533 * WebFramePolicyListener.cpp: 2534 (WebFramePolicyListener::receivedPolicyDecision): Loader 2535 client is now a WebFramePolicyClient, not a WebFrame. 2536 25372013-08-22 Andreas Kling <akling@apple.com> 2538 2539 Another Windows build fix. 2540 2541 * WebDataSource.cpp: 2542 (WebDataSource::subresourceForURL): 2543 25442013-08-22 Andreas Kling <akling@apple.com> 2545 2546 Windows build juice. 2547 2548 * WebDataSource.cpp: 2549 (WebDataSource::representation): 2550 (WebDataSource::webFrame): 2551 * WebElementPropertyBag.cpp: 2552 (WebElementPropertyBag::Read): 2553 * WebFramePolicyListener.cpp: 2554 (WebFramePolicyListener::receivedPolicyDecision): 2555 25562013-08-21 Brent Fulgham <bfulgham@apple.com> 2557 2558 <https://webkit.org/b/120125> [Windows] Correct Tooltip Text 2559 2560 Reviewed by Anders Carlsson. 2561 2562 * WebCoreSupport/WebChromeClient.cpp: 2563 (WebChromeClient::runOpenPanel): Make sure valid strings are passed to the File Open 2564 API call. 2565 * WebView.cpp: 2566 (WebView::setToolTip): Correct tooltip text (avoid passing address to temporary 2567 return value.) 2568 25692013-08-20 Brent Fulgham <bfulgham@apple.com> 2570 2571 <https://webkit.org/b/120098> [Windows] Enable the New Web Inspector 2572 2573 Reviewed by Brian Weinstein. 2574 2575 * WebCoreSupport/WebInspectorClient.cpp: 2576 (WebInspectorClient::openInspectorFrontend): Use the new inspector 2577 if present in the WebKit distribution. 2578 (WebInspectorFrontendClient::localizedStringsURL): Use the new 2579 Web Inspector's localized strings (if present). 2580 25812013-08-20 Pratik Solanki <psolanki@apple.com> 2582 2583 <https://webkit.org/b/120029> Document::markers() should return a reference 2584 2585 Reviewed by Andreas Kling. 2586 2587 Document::m_markers is never NULL so return a reference from Document::markers(). Also mark 2588 m_markers as const and initialize it in member initialization. 2589 2590 * WebFrame.cpp: 2591 (WebFrame::unmarkAllMisspellings): 2592 (WebFrame::unmarkAllBadGrammar): 2593 * WebView.cpp: 2594 (WebView::rectsForTextMatches): 2595 25962013-08-19 Pratik Solanki <psolanki@apple.com> 2597 2598 <https://webkit.org/b/119918> Frame::selection() should return a reference 2599 2600 Reviewed by Darin Adler. 2601 2602 m_selection is never NULL so return a reference from Frame::selection(). Also removed some 2603 unnecessary null checks and assert diff ts exposed as a result. 2604 2605 * WebFrame.cpp: 2606 (WebFrame::currentForm): 2607 * WebView.cpp: 2608 (WebView::updateFocusedAndActiveState): 2609 (WebView::selectionRect): 2610 (WebView::centerSelectionInVisibleArea): 2611 (WebView::hasSelectedRange): 2612 (WebView::replaceSelectionWithText): 2613 (WebView::clearSelection): 2614 (WebView::prepareCandidateWindow): 2615 (WebView::onIMERequestCharPosition): 2616 (WebView::onIMERequestReconvertString): 2617 (WebView::firstRectForCharacterRangeForTesting): 2618 (WebView::selectedRangeForTesting): 2619 26202013-08-17 Andreas Kling <akling@apple.com> 2621 2622 Windows build fix after r154219. 2623 2624 * WebFrame.cpp: 2625 (WebFrame::dispatchDidClearWindowObjectInWorld): 2626 26272013-08-17 Darin Adler <darin@apple.com> 2628 2629 <https://webkit.org/b/119941> Make Page::dragController return a reference 2630 2631 Reviewed by Andreas Kling. 2632 2633 * WebCoreSupport/WebDragClient.cpp: 2634 (WebDragClient::startDrag): 2635 * WebView.cpp: 2636 (WebView::keyStateToDragOperation): 2637 (WebView::DragEnter): 2638 (WebView::DragOver): 2639 (WebView::DragLeave): 2640 (WebView::Drop): 2641 Updated call sites. 2642 26432013-08-16 Pratik Solanki <psolanki@apple.com> 2644 2645 <https://webkit.org/b/119852> Frame::scriptController() should return a reference 2646 2647 Reviewed by Andreas Kling. 2648 2649 m_script is never NULL so we can just return a reference. Also remove some pointless null 2650 checks as a result of doing this. 2651 2652 * WebFrame.cpp: 2653 (WebFrame::globalContext): 2654 (WebFrame::globalContextForScriptWorld): 2655 (WebFrame::dispatchDidClearWindowObjectInWorld): 2656 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): 2657 * WebView.cpp: 2658 (WebView::stringByEvaluatingJavaScriptFromString): 2659 26602013-08-16 Andreas Kling <akling@apple.com> 2661 2662 Windows build juice. 2663 2664 * WebView.cpp: 2665 (WebView::paintIntoBackingStore): 2666 26672013-08-15 Brent Fulgham <bfulgham@apple.com> 2668 2669 [Windows] Consolidate WebKit Bundle handling 2670 https://bugs.webkit.org/show_bug.cgi?id=119869 2671 2672 Reviewed by Tim Horton. 2673 2674 * WebCoreSupport/WebInspectorClient.cpp: 2675 (WebInspectorClient::openInspectorFrontend): Switch to new 2676 WebCore::webkitBundle() method. 2677 (WebInspectorFrontendClient::localizedStringsURL): Ditto. 2678 26792013-08-15 Anders Carlsson <andersca@apple.com> 2680 2681 <https://webkit.org/b/119859> Frame::loader() should return a reference 2682 2683 Reviewed by Andreas Kling. 2684 2685 * WebCoreSupport/WebContextMenuClient.cpp: 2686 (WebContextMenuClient::searchWithGoogle): 2687 * WebCoreSupport/WebFrameLoaderClient.cpp: 2688 (WebFrameLoaderClient::updateGlobalHistory): 2689 (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks): 2690 (WebFrameLoaderClient::savePlatformDataToCachedFrame): 2691 (WebFrameLoaderClient::createFrame): 2692 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): 2693 * WebCoreSupport/WebFrameNetworkingContext.cpp: 2694 (WebFrameNetworkingContext::blockedError): 2695 (WebFrameNetworkingContext::referrer): 2696 * WebElementPropertyBag.cpp: 2697 (WebElementPropertyBag::Read): 2698 * WebFrame.cpp: 2699 (kit): 2700 (WebFrame::reloadFromOrigin): 2701 (WebFrame::loadRequest): 2702 (WebFrame::loadData): 2703 (WebFrame::dataSource): 2704 (WebFrame::provisionalDataSource): 2705 (WebFrame::stopLoading): 2706 (WebFrame::reload): 2707 (WebFrame::firstLayoutDone): 2708 (WebFrame::loadType): 2709 (WebFrame::clearOpener): 2710 (WebFrame::dispatchWillSubmitForm): 2711 (WebFrame::receivedPolicyDecision): 2712 (WebFrame::dispatchDecidePolicyForResponse): 2713 (WebFrame::dispatchDecidePolicyForNewWindowAction): 2714 (WebFrame::dispatchDecidePolicyForNavigationAction): 2715 (WebFrame::createJavaAppletWidget): 2716 * WebFramePolicyListener.cpp: 2717 (WebFramePolicyListener::receivedPolicyDecision): 2718 * WebView.cpp: 2719 (WebView::close): 2720 (WebView::canShowMIMEType): 2721 (WebView::setCustomTextEncodingName): 2722 (WebView::loadBackForwardListFromOtherView): 2723 (WebView::shouldClose): 2724 27252013-08-12 Andreas Kling <akling@apple.com> 2726 2727 More Windows build juice. 2728 2729 * WebView.cpp: 2730 (WebView::notifyPreferencesChanged): 2731 27322013-08-09 Christophe Dumez <ch.dumez@sisa.samsung.com> 2733 2734 Add support for KeyboardEvent.location attribute 2735 https://bugs.webkit.org/show_bug.cgi?id=119326 2736 2737 Reviewed by Benjamin Poulain. 2738 2739 Add new location attribute to DOMKeyboardEvent. 2740 2741 * DOMEventsClasses.cpp: 2742 (DOMKeyboardEvent::location): 2743 * DOMEventsClasses.h: 2744 * Interfaces/DOMEvents.idl: 2745 27462013-08-07 Antti Koivisto <antti@apple.com> 2747 2748 Try to fix Win WK1 build. 2749 2750 Not reviewed. 2751 2752 * WebFrame.cpp: 2753 (WebFrame::invalidate): 2754 27552013-08-07 Patrick Gansterer <paroga@webkit.org> 2756 2757 Remove dependency on CoreFoundation from WebURLResponse 2758 https://bugs.webkit.org/show_bug.cgi?id=119390 2759 2760 Reviewed by Brent Fulgham. 2761 2762 * WebURLResponse.cpp: 2763 (localizedShortDescriptionForStatusCode): 2764 (WebURLResponse::localizedStringForStatusCode): 2765 27662013-08-05 Mark Rowe <mrowe@apple.com> 2767 2768 Another Windows release build fix. 2769 2770 * WebKitLogging.cpp: Wrap the implementation file in !LOG_DISABLED #if's too. 2771 27722013-08-05 Mark Rowe <mrowe@apple.com> 2773 2774 Build fix for Windows release build. 2775 2776 * WebKitLogging.h: Wrap things in !LOG_DISABLED so that we don't attempt to use macros that have not been defined. 2777 27782013-07-26 Mark Rowe <mrowe@apple.com> 2779 2780 Logging should be configurable using human-readable channel names rather than crazy bitmasks 2781 <http://webkit.org/b/119031> 2782 2783 Implement shared logic for initializing logging channels based on human-readable channel names in WTF, 2784 and rework the WebCore, WebKit and WebKit2 logging initialization on top of it. 2785 2786 Logging channels may now be enabled by providing a comma-separated list of channel names, with the special 2787 "all" name enabling all channels. Channel names prefixed with a leading "-" will result in the named channel 2788 being disabled. For instance, specifying "all,-history,-loading" will result in all logging channels except 2789 for history and loading being enabled. 2790 2791 For OS X developers, this also changes the name of the user defaults used to enable logging. This is done to allow 2792 the old user defaults to remain set for those people that need to switch between version of WebKit before and 2793 after this change. Where the old user default keys were WebCoreLogLevel, WebKitLogLevel and WebKit2LogLevel, 2794 the new user default keys are WebCoreLogging, WebKitLogging and WebKit2Logging. 2795 2796 For GTK developers, this changes the separator used in the WEBKIT_DEBUG environment variable to a comma for 2797 consistency with the other platforms and to enable more code sharing. 2798 2799 While doing this work I've also taken the opportunity to eliminate the need to touch multiple files when 2800 adding a new logging channel. Now only the header in the relevant project needs to be updated. 2801 2802 Reviewed by Sam Weinig. 2803 2804 * WebKitLogging.cpp: Declare a WEBKIT_LOG_CHANNELS macro that can be used to apply a preprocessor macro across 2805 the set of all logging channels. Use this macro to declare the logging channels. 2806 * WebKitLogging.h: Use WEBKIT_LOG_CHANNELS to define all of the channels. Pass the channels to the new WTF 2807 function that handles the initialization. As per the previous implementation a developer needs to hard-code 2808 their desired log level here. 2809 * WebView.cpp: Switch from WebCore's InitializeLogging.h to Logging.h. 2810 28112013-08-01 Brent Fulgham <bfulgham@apple.com> 2812 2813 [Windows] WebKit1 Fullscreen Video Play is Broken 2814 https://bugs.webkit.org/show_bug.cgi?id=119415 2815 2816 Reviewed by Jer Noble. 2817 2818 * WebPreferences.cpp: 2819 (WebPreferences::initializeDefaultSettings): Set accelerated 2820 rendering on by default on systems that support it. 2821 * WebView.cpp: 2822 (WebView::exitFullscreen): Clean up Fullscreen video controller 2823 once it is no longer used. This was preventing users from being 2824 able to reenter Fullscreen mode after leaving it. 2825 (WebView::fullScreenClientForceRepaint): Change assert to 2826 match the member actually being used in the method. 2827 28282013-08-01 Patrick Gansterer <paroga@webkit.org> 2829 2830 Rearrange the code of FrameWin 2831 https://bugs.webkit.org/show_bug.cgi?id=117984 2832 2833 Reviewed by Brent Fulgham. 2834 2835 * WebView.cpp: 2836 (WebView::generateSelectionImage): 2837 28382013-07-25 Andreas Kling <akling@apple.com> 2839 2840 ChromeClient::focusedNodeChanged() should be focusedElementChanged(). 2841 <http://webkit.org/b/119110> 2842 2843 Reviewed by Anders Carlsson. 2844 2845 * WebCoreSupport/WebChromeClient.cpp: 2846 (WebChromeClient::focusedElementChanged): 2847 * WebCoreSupport/WebChromeClient.h: 2848 28492013-07-23 peavo@outlook.com <peavo@outlook.com> 2850 2851 [Win] WebView didReceiveIcon delegate call doesn't have the icon in it 2852 https://bugs.webkit.org/show_bug.cgi?id=100379 2853 2854 Reviewed by Brent Fulgham. 2855 2856 Added missing icon to WebView didReceiveIcon delegate call, fixes <rdar://problem/5491010>. 2857 2858 * WebView.cpp: 2859 (WebView::dispatchDidReceiveIconFromWebFrame): 2860 28612013-07-22 peavo@outlook.com <peavo@outlook.com> 2862 2863 [Curl] Download fails for certain urls. 2864 https://bugs.webkit.org/show_bug.cgi?id=118468 2865 2866 Reviewed by Brent Fulgham. 2867 2868 Initialize download from provided resource handle, request, and response object. 2869 2870 * WebDownload.h: Use WebCore namespace for Curl download class. 2871 * WebDownloadCurl.cpp: 2872 (WebDownload::init): Initialize download from provided resource handle, request, and response object. 2873 28742013-07-19 peavo@outlook.com <peavo@outlook.com> 2875 2876 [Curl] Http response code 401 (Authentication required) is not handled. 2877 https://bugs.webkit.org/show_bug.cgi?id=118849 2878 2879 Reviewed by Brent Fulgham. 2880 2881 The current Curl implementation does not handle a 401 response. 2882 When receiving http code 401, we need to give a notification that authorization is required, by calling the appropriate notification method. 2883 This gives a WebKit client the possibility to present a password dialog to the user. 2884 In response to this, we should provide Curl with the given username and password, so another request can be sent with the given credentials. 2885 2886 * WebCoreSupport/WebFrameLoaderClient.cpp: 2887 (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge): 2888 Implement empty method; use the same implementation as the CFNetwork version does, 2889 notify delegate when authorization is required. 2890 * WebURLAuthenticationChallengeSenderCurl.cpp: 2891 (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge): 2892 Implement empty method; use the same implementation as the CFNetwork version does. 2893 (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge): 2894 Implement empty method; use the same implementation as the CFNetwork version does. 2895 (WebURLAuthenticationChallengeSender::useCredential): 2896 Implement empty method; use the same implementation as the CFNetwork version does. 2897 28982013-07-17 Kangil Han <kangil.han@samsung.com> 2899 2900 Use toHTMLMediaElement 2901 https://bugs.webkit.org/show_bug.cgi?id=118727 2902 2903 Reviewed by Ryosuke Niwa. 2904 2905 To avoid direct use of static_cast, this patch uses toHTMLMediaElement for code cleanup. 2906 2907 * WebView.cpp: 2908 (WebView::enterFullscreenForNode): 2909 29102013-07-16 Kangil Han <kangil.han@samsung.com> 2911 2912 Use toHTMLSelectElement and dismiss isHTMLSelectElement 2913 https://bugs.webkit.org/show_bug.cgi?id=118714 2914 2915 Reviewed by Ryosuke Niwa. 2916 2917 To avoid direct use of static_cast, this patch introduces toHTMLIFrameElement for code cleanup. 2918 Additionally, this patch removes isHTMLSelectElement because not all element subclasses can be checked by a combination of tag names. 2919 2920 * DOMHTMLClasses.cpp: 2921 (DOMHTMLSelectElement::options): 2922 (DOMHTMLSelectElement::activateItemAtIndex): 2923 29242013-07-15 Kangil Han <kangil.han@samsung.com> 2925 2926 Introduce toHTMLIFrameElement 2927 https://bugs.webkit.org/show_bug.cgi?id=118672 2928 2929 Reviewed by Ryosuke Niwa. 2930 2931 To avoid direct use of static_cast, this patch introduces toHTMLIFrameElement for code cleanup. 2932 2933 * DOMHTMLClasses.cpp: 2934 (DOMHTMLIFrameElement::contentFrame): 2935 29362013-07-09 Jer Noble <jer.noble@apple.com> 2937 2938 Reviewed by Simon Fraser. 2939 2940 Remember the scroll position and restore after exiting full-screen mode. 2941 https://bugs.webkit.org/show_bug.cgi?id=61956 2942 2943 Add support for two new FullScreenClient callbacks for saving and restoring the 2944 scroll position of the full-screen frame. 2945 2946 * WebView.cpp: 2947 (WebView::fullScreenClientSaveScrollPosition): 2948 (WebView::fullScreenClientRestoreScrollPosition): 2949 * WebView.h: 2950 29512013-07-01 Jochen Eisinger <jochen@chromium.org> 2952 2953 Remove support for consumable user gestures 2954 https://bugs.webkit.org/show_bug.cgi?id=118247 2955 2956 Reviewed by Geoffrey Garen. 2957 2958 * WebCoreSupport/WebContextMenuClient.cpp: 2959 (WebContextMenuClient::searchWithGoogle): 2960 29612013-07-01 peavo@outlook.com <peavo@outlook.com> 2962 2963 [Curl] WebDownload init method is not implemented. 2964 https://bugs.webkit.org/show_bug.cgi?id=118241 2965 2966 Reviewed by Brent Fulgham. 2967 2968 The WebDownload::init() method called when a normal load is changed to a download 2969 because of a decision by the policy delegate, is not implemented for Curl. 2970 2971 * WebDownloadCurl.cpp: 2972 (WebDownload::init): Implement init() method. 2973 29742013-07-01 Kangil Han <kangil.han@samsung.com> 2975 2976 Adopt toHTMLTextAreaElement for code cleanup 2977 https://bugs.webkit.org/show_bug.cgi?id=118226 2978 2979 Reviewed by Andreas Kling. 2980 2981 To enhance readability, this patch adopts toHTMLTextAreaElement. 2982 This also helps out to reduce duplicated use of static_cast. 2983 2984 * DOMCoreClasses.cpp: 2985 (DOMElement::createInstance): 2986 * DOMHTMLClasses.cpp: 2987 (DOMHTMLTextAreaElement::form): 2988 (DOMHTMLTextAreaElement::value): 2989 (DOMHTMLTextAreaElement::setValue): 2990 (DOMHTMLTextAreaElement::select): 2991 (DOMHTMLTextAreaElement::isUserEdited): 2992 29932013-06-29 Kangil Han <kangil.han@samsung.com> 2994 2995 Adopt is/toHTMLOptionElement for code cleanup 2996 https://bugs.webkit.org/show_bug.cgi?id=118212 2997 2998 Reviewed by Andreas Kling. 2999 3000 To enhance readability, this patch adopts is/toHTMLOptionElement. 3001 This also helps out to reduce duplicated use of static_cast. 3002 3003 * DOMCoreClasses.cpp: 3004 (DOMElement::createInstance): 3005 * DOMHTMLClasses.cpp: 3006 (DOMHTMLOptionElement::text): 3007 (DOMHTMLOptionElement::label): 3008 30092013-06-28 peavo@outlook.com <peavo@outlook.com> 3010 3011 [WinCairo] Compilation error. 3012 https://bugs.webkit.org/show_bug.cgi?id=118131 3013 3014 Reviewed by Brent Fulgham. 3015 3016 * Interfaces/IWebView.idl: Include needed accessibility interface. 3017 * WebCoreSupport/WebChromeClient.cpp: 3018 (WebChromeClient::AXFinishFrameLoad): Accessibility methods should not be inside FULLSCREEN_API ifdef. 3019 30202013-06-27 Kangil Han <kangil.han@samsung.com> 3021 3022 Adopt is/toHTMLInputElement for code cleanup 3023 https://bugs.webkit.org/show_bug.cgi?id=118130 3024 3025 Reviewed by Antti Koivisto. 3026 3027 To enhance readability, this patch adopts is/toHTMLInputElement. 3028 This also helps out to reduce duplicated use of static_cast. 3029 3030 * DOMCoreClasses.cpp: 3031 (DOMElement::createInstance): 3032 * DOMHTMLClasses.cpp: 3033 (DOMHTMLInputElement::form): 3034 (DOMHTMLInputElement::disabled): 3035 (DOMHTMLInputElement::readOnly): 3036 (DOMHTMLInputElement::setType): 3037 (DOMHTMLInputElement::value): 3038 (DOMHTMLInputElement::setValue): 3039 (DOMHTMLInputElement::setValueForUser): 3040 (DOMHTMLInputElement::select): 3041 (DOMHTMLInputElement::setSelectionStart): 3042 (DOMHTMLInputElement::selectionStart): 3043 (DOMHTMLInputElement::setSelectionEnd): 3044 (DOMHTMLInputElement::selectionEnd): 3045 (DOMHTMLInputElement::isTextField): 3046 (DOMHTMLInputElement::rectOnScreen): 3047 (DOMHTMLInputElement::replaceCharactersInRange): 3048 (DOMHTMLInputElement::selectedRange): 3049 (DOMHTMLInputElement::setAutofilled): 3050 (DOMHTMLInputElement::isAutofilled): 3051 (DOMHTMLInputElement::isUserEdited): 3052 * WebFrame.cpp: 3053 (inputElementFromDOMElement): 3054 30552013-06-27 Anders Carlsson <andersca@apple.com> 3056 3057 Get rid of the last uses of deprecatedCharactersWithNullTermination() 3058 https://bugs.webkit.org/show_bug.cgi?id=118159 3059 3060 Reviewed by Andreas Kling. 3061 3062 Replace calls to deprecatedCharactersWithNullTermination() with charactersWithNullTermination().data(). 3063 3064 * COMPropertyBag.h: 3065 (::GetPropertyInfo): 3066 * WebCoreSupport/WebChromeClient.cpp: 3067 (WebChromeClient::runOpenPanel): 3068 * WebCoreSupport/WebInspectorClient.cpp: 3069 (WebInspectorFrontendClient::updateWindowTitle): 3070 * WebDownloadCFNet.cpp: 3071 (WebDownload::didFinish): 3072 * WebKitSystemBits.cpp: 3073 (WebVolumeFreeSize): 3074 * WebLocalizableStrings.cpp: 3075 (LocalizedString::operator LPCTSTR): 3076 * WebView.cpp: 3077 (WebView::setToolTip): 3078 30792013-06-26 Anders Carlsson <andersca@apple.com> 3080 3081 Deprecate StringImpl::charactersWithNullTermination 3082 https://bugs.webkit.org/show_bug.cgi?id=118108 3083 3084 Reviewed by Beth Dakin. 3085 3086 Rename calls to charactersWithNullTermination to deprecatedCharactersWithNullTermination. 3087 3088 * COMPropertyBag.h: 3089 (::GetPropertyInfo): 3090 * WebCoreSupport/WebChromeClient.cpp: 3091 (WebChromeClient::runOpenPanel): 3092 * WebCoreSupport/WebInspectorClient.cpp: 3093 (WebInspectorFrontendClient::updateWindowTitle): 3094 * WebDownloadCFNet.cpp: 3095 (WebDownload::didFinish): 3096 * WebKitSystemBits.cpp: 3097 (WebVolumeFreeSize): 3098 * WebLocalizableStrings.cpp: 3099 (LocalizedString::operator LPCTSTR): 3100 * WebView.cpp: 3101 (WebView::setToolTip): 3102 31032013-06-26 Roger Fong <roger_fong@apple.com> 3104 3105 Add an accessibility delegate interface to AppleWin port. 3106 https://bugs.webkit.org/show_bug.cgi?id=118094. 3107 3108 Reviewed by Brent Fulgham. 3109 3110 * Interfaces/AccessibilityDelegate.idl: Added. 3111 * Interfaces/IWebView.idl: 3112 * Interfaces/WebKit.idl: 3113 * WebCoreSupport/WebChromeClient.cpp: Add methods that call into the AccessibilityDelegate. 3114 (WebChromeClient::AXStartFrameLoad): 3115 (WebChromeClient::AXFinishFrameLoad): 3116 * WebCoreSupport/WebChromeClient.h: 3117 * WebView.cpp: Add support for setting and getting the AccessibilityDelegate from the WebView. 3118 (WebView::close): 3119 (WebView::setAccessibilityDelegate): 3120 (WebView::accessibilityDelegate): 3121 * WebView.h: 3122 31232013-06-24 Kangil Han <kangil.han@samsung.com> 3124 3125 Adopt is/toHTMLFormElement for code cleanup 3126 https://bugs.webkit.org/show_bug.cgi?id=117937 3127 3128 Reviewed by Andreas Kling. 3129 3130 This refers to http://src.chromium.org/viewvc/blink?view=revision&revision=152859 3131 3132 To enhance readibility, this patch adopts is/toHTMLFormElement. 3133 This also helps out to reduce duplicated use of static_cast. 3134 3135 * DOMCoreClasses.cpp: 3136 (DOMElement::createInstance): 3137 * DOMHTMLClasses.cpp: 3138 (DOMHTMLFormElement::action): 3139 (DOMHTMLFormElement::method): 3140 * WebFrame.cpp: 3141 (formElementFromDOMElement): 3142 31432013-06-20 Brent Fulgham <bfulgham@apple.com> 3144 3145 [Windows] AX: Radio buttons with "tab" role should describe themselves as tabs. 3146 https://bugs.webkit.org/show_bug.cgi?id=117837 3147 3148 Reviewed by Chris Fleizach. 3149 3150 * AccessibleBase.cpp: 3151 (MSAARole): Don't expose TabRole as a radio button to satisfy buggy screen readers. 3152 31532013-06-21 Christophe Dumez <ch.dumez@sisa.samsung.com> 3154 3155 REGRESSION (r150663): Using webkitAudioContext in Inspector makes it undefined everywhere 3156 https://bugs.webkit.org/show_bug.cgi?id=117825 3157 3158 Reviewed by Kentaro Hara. 3159 3160 Use Settings to enable Web Audio instead of RuntimeEnabledFeatures. 3161 3162 * WebView.cpp: 3163 (WebView::notifyPreferencesChanged): 3164 31652013-06-19 Brent Fulgham <bfulgham@apple.com> 3166 3167 [Windows] Correct style on last patch. 3168 3169 Reviewed by Tim Horton. 3170 3171 * WebCoreSupport/WebFrameNetworkingContext.cpp: 3172 (WebFrameNetworkingContext::ensurePrivateBrowsingSession): 3173 31742013-06-19 Brent Fulgham <bfulgham@apple.com> 3175 3176 [Windows] Unreviewed build correction. 3177 3178 * WebCoreSupport/WebFrameNetworkingContext.cpp: 3179 (WebFrameNetworkingContext::ensurePrivateBrowsingSession): Make sure returned generic 3180 type is a CFStringRef before casting. 3181 31822013-06-19 Roger Fong <roger_fong@apple.com> 3183 3184 Unreviewed build fix for Apple Windows port. 3185 3186 * WebCoreSupport/WebFrameNetworkingContext.cpp: 3187 (WebFrameNetworkingContext::ensurePrivateBrowsingSession): 3188 31892013-06-19 Brent Fulgham <bfulgham@apple.com> 3190 3191 [Windows] AX: Extend notification support. 3192 https://bugs.webkit.org/show_bug.cgi?id=117761 3193 3194 Reviewed by Anders Carlsson. 3195 3196 * AccessibleDocument.cpp: 3197 (AccessibleDocument::state): Improve handling of focus state. 3198 * AccessibleDocument.h: Provide signature for new state override. 3199 32002013-06-19 peavo@outlook.com <peavo@outlook.com> 3201 3202 [WinCairo] Does not compile. 3203 https://bugs.webkit.org/show_bug.cgi?id=117798 3204 3205 Reviewed by Brent Fulgham. 3206 3207 Add USE(CFNETWORK) guards. 3208 3209 * WebCoreSupport/WebFrameNetworkingContext.cpp: Add USE(CFNETWORK) guard. 3210 (WebFrameNetworkingContext::ensurePrivateBrowsingSession): Change USE(CF_NETWORK) to USE(CFNETWORK). 3211 * WebCoreSupport/WebFrameNetworkingContext.h: Add USE(CFNETWORK) guard. 3212 32132013-06-18 Roger Fong <roger_fong@apple.com> 3214 3215 Unreviewed. Build fix for Apple Windows. 3216 3217 * WebCoreSupport/WebFrameNetworkingContext.h: 3218 (WebFrameNetworkingContext::create): 3219 (WebFrameNetworkingContext::WebFrameNetworkingContext): 3220 (WebFrameNetworkingContext::userAgent): 3221 32222013-06-18 Roger Fong <roger_fong@apple.com> 3223 3224 Re-implement WebFrameNetworkingContext. 3225 <rdar://problem/13174821>. 3226 3227 Reviewed by Alexey Proskuryakov. 3228 3229 * WebCoreSupport/WebFrameNetworkingContext.cpp: Added. 3230 (WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts): 3231 (WebFrameNetworkingContext::setPrivateBrowsingStorageSessionIdentifierBase): 3232 (WebFrameNetworkingContext::ensurePrivateBrowsingSession): 3233 (WebFrameNetworkingContext::destroyPrivateBrowsingSession): 3234 (WebFrameNetworkingContext::blockedError): 3235 (WebFrameNetworkingContext::referrer): 3236 (WebFrameNetworkingContext::storageSession): 3237 * WebCoreSupport/WebFrameNetworkingContext.h: Added. 3238 (WebFrameNetworkingContext::create): 3239 (WebFrameNetworkingContext::WebFrameNetworkingContext): 3240 32412013-06-18 Alexey Proskuryakov <ap@apple.com> 3242 3243 <rdar://problem/13174821> Remove files with an incorrect license. 3244 3245 Rubber-stamped by Maciej Stachowiak. 3246 3247 This will break the build, stay tuned for a fix coming soon. 3248 3249 * WebCoreSupport/WebFrameNetworkingContext.cpp: Removed. 3250 * WebCoreSupport/WebFrameNetworkingContext.h: Removed. 3251 32522013-06-12 Brent Fulgham <bfulgham@apple.com> 3253 3254 [Windows] Implement Accessibility2 APIs in Windows. 3255 https://bugs.webkit.org/show_bug.cgi?id=117561 3256 3257 Reviewed by Anders Carlsson. 3258 3259 * AccessibleBase.cpp: Add stubs for IAccessible2 interface, replace attributeValue 3260 method with get_attribute from IAccessible2 API. 3261 * AccessibleBase.h: Ditto. 3262 * AccessibleDocument.cpp: Revise signatures for IAccessible2. 3263 * AccessibleDocument.h: Ditto. 3264 * AccessibleImage.cpp: Revise signatures for IAccessible2. 3265 * AccessibleImage.h: Ditto. 3266 * Interfaces/Accessible2: Added. 3267 * Interfaces/Accessible2/Accessible2.idl: Added. 3268 * Interfaces/Accessible2/Accessible2_2.idl: Added. 3269 * Interfaces/Accessible2/AccessibleApplication.idl: Added. 3270 * Interfaces/Accessible2/AccessibleRelation.idl: Added. 3271 * Interfaces/Accessible2/AccessibleStates.idl: Added. 3272 * Interfaces/Accessible2/IA2CommonTypes.idl: Added. 3273 * Interfaces/AccessibleComparable.idl: 3274 * Interfaces/WebKit.idl: Reference IAccessible2 types. 3275 * WebFrame.cpp: 3276 (WebFrame::accessible): Pass window handle to IAccessible types. 3277 32782013-06-12 Brent Fulgham <bfulgham@apple.com> 3279 3280 [Windows] Support Title UI Element Accessibility Attribute 3281 https://bugs.webkit.org/show_bug.cgi?id=117530 3282 3283 Reviewed by Anders Carlsson. 3284 3285 * AccessibleBase.cpp: 3286 (AccessibleBase::attributeValue): Extend to handle Title UI Element. 3287 * AccessibleBase.h: Revise signature to use a variant argument. 3288 * Interfaces/AccessibleComparable.idl: Revise interface to use variant 3289 32902013-06-12 Zan Dobersek <zdobersek@igalia.com> 3291 3292 Remove memoryInfoEnabled, quantizedMemoryInfoEnabled settings 3293 https://bugs.webkit.org/show_bug.cgi?id=117512 3294 3295 Reviewed by Darin Adler. 3296 3297 * Interfaces/IWebPreferencesPrivate.idl: Remove memoryInfoEnabled, setMemoryInfoEnabled entries. 3298 * WebPreferenceKeysPrivate.h: Remove the WebKitMemoryInfoEnabledPreferenceKey definition. 3299 * WebPreferences.cpp: Remove the memoryInfo, setMemoryInfoEnabled methods. 3300 (WebPreferences::initializeDefaultSettings): Remove the WebKitMemoryInfoEnabledPreferenceKey entry initialization. 3301 * WebPreferences.h: Remove the memoryInfo, setMemoryInfoEnabled method declarations. 3302 * WebView.cpp: 3303 (WebView::notifyPreferencesChanged): Remove the Settings::setMemoryInfoEnabled call, the method is being removed. 3304 33052013-06-11 Brent Fulgham <bfulgham@apple.com> 3306 3307 [Windows] Unreviewed build correction after r151440. 3308 3309 * AccessibleBase.cpp: 3310 (MSAARole): Switch back to emiting ROLE_SYSTEM_LISTITEM for 3311 ListItemRole Web role to avoid breaking existing test. 3312 33132013-06-11 Brent Fulgham <bfulgham@apple.com> 3314 3315 [Windows] Implement 'attributeValue' accessor to support testing. 3316 https://bugs.webkit.org/show_bug.cgi?id=117513 3317 3318 Reviewed by Anders Carlsson. 3319 3320 * AccessibleBase.cpp: 3321 (AccessibleBase::attributeValue): Added. 3322 * AccessibleBase.h: Added method declaration. 3323 * Interfaces/AccessibleComparable.idl: New accessor interface. 3324 33252013-06-09 Brent Fulgham <bfulgham@apple.com> 3326 3327 [Windows] Provide MSAA mappings for more WebCore roles. 3328 https://bugs.webkit.org/show_bug.cgi?id=117389 3329 3330 Reviewed by Chris Fleizach. 3331 3332 * AccessibleBase.cpp: 3333 (MSAARole): Add additional mappings between WebCore roles and MSAA roles. 3334 33352013-06-07 Christophe Dumez <ch.dumez@sisa.samsung.com> 3336 3337 Get rid of outdated raises() from Web IDL 3338 https://bugs.webkit.org/show_bug.cgi?id=117350 3339 3340 Reviewed by Darin Adler. 3341 3342 Replace raises() by [RaisesException]. 3343 3344 * Interfaces/DOMEvents.idl: 3345 33462013-06-03 Roger Fong <roger_fong@apple.com> 3347 3348 Nuke VS2005 files from the tree. 3349 <rdar://problem/14042021>. 3350 3351 Rubberstamped by Brent Fulgham. 3352 3353 * WebKit.vcproj: Removed. 3354 * WebKit.vcproj/FixMIDLHeaders.pl: Removed. 3355 * WebKit.vcproj/Interfaces.vcproj: Removed. 3356 * WebKit.vcproj/InterfacesCommon.vsprops: Removed. 3357 * WebKit.vcproj/InterfacesDebug.vsprops: Removed. 3358 * WebKit.vcproj/InterfacesDebugAll.vsprops: Removed. 3359 * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: Removed. 3360 * WebKit.vcproj/InterfacesPostBuild.cmd: Removed. 3361 * WebKit.vcproj/InterfacesPreBuild.cmd: Removed. 3362 * WebKit.vcproj/InterfacesProduction.vsprops: Removed. 3363 * WebKit.vcproj/InterfacesRelease.vsprops: Removed. 3364 * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: Removed. 3365 * WebKit.vcproj/WebKit.make: Removed. 3366 * WebKit.vcproj/WebKit.rc: Removed. 3367 * WebKit.vcproj/WebKit.sln: Removed. 3368 * WebKit.vcproj/WebKit.submit.sln: Removed. 3369 * WebKit.vcproj/WebKit.vcproj: Removed. 3370 * WebKit.vcproj/WebKitApple.vsprops: Removed. 3371 * WebKit.vcproj/WebKitCFLite.vsprops: Removed. 3372 * WebKit.vcproj/WebKitDirectX.vsprops: Removed. 3373 * WebKit.vcproj/WebKitExportGenerator.vcproj: Removed. 3374 * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd: Removed. 3375 * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Removed. 3376 * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Removed. 3377 * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Removed. 3378 * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Removed. 3379 * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd: Removed. 3380 * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd: Removed. 3381 * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Removed. 3382 * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Removed. 3383 * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Removed. 3384 * WebKit.vcproj/WebKitExports.def.in: Removed. 3385 * WebKit.vcproj/WebKitGUID.vcproj: Removed. 3386 * WebKit.vcproj/WebKitGUIDCommon.vsprops: Removed. 3387 * WebKit.vcproj/WebKitGUIDDebug.vsprops: Removed. 3388 * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: Removed. 3389 * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: Removed. 3390 * WebKit.vcproj/WebKitGUIDPostBuild.cmd: Removed. 3391 * WebKit.vcproj/WebKitGUIDPreBuild.cmd: Removed. 3392 * WebKit.vcproj/WebKitGUIDProduction.vsprops: Removed. 3393 * WebKit.vcproj/WebKitGUIDRelease.vsprops: Removed. 3394 * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: Removed. 3395 * WebKit.vcproj/WebKitLibCommon.vsprops: Removed. 3396 * WebKit.vcproj/WebKitLibDebug.vsprops: Removed. 3397 * WebKit.vcproj/WebKitLibDebugAll.vsprops: Removed. 3398 * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Removed. 3399 * WebKit.vcproj/WebKitLibPostBuild.cmd: Removed. 3400 * WebKit.vcproj/WebKitLibPreBuild.cmd: Removed. 3401 * WebKit.vcproj/WebKitLibProduction.vsprops: Removed. 3402 * WebKit.vcproj/WebKitLibRelease.vsprops: Removed. 3403 * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Removed. 3404 * WebKit.vcproj/WebKit_Cairo.def: Removed. 3405 * WebKit.vcproj/WebKit_Cairo_debug.def: Removed. 3406 * WebKit.vcproj/deleteButton.png: Removed. 3407 * WebKit.vcproj/deleteButtonPressed.png: Removed. 3408 * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Removed. 3409 * WebKit.vcproj/fsVideoAudioVolumeLow.png: Removed. 3410 * WebKit.vcproj/fsVideoExitFullscreen.png: Removed. 3411 * WebKit.vcproj/fsVideoPause.png: Removed. 3412 * WebKit.vcproj/fsVideoPlay.png: Removed. 3413 * WebKit.vcproj/missingImage.png: Removed. 3414 * WebKit.vcproj/nullplugin.png: Removed. 3415 * WebKit.vcproj/panEastCursor.png: Removed. 3416 * WebKit.vcproj/panIcon.png: Removed. 3417 * WebKit.vcproj/panNorthCursor.png: Removed. 3418 * WebKit.vcproj/panNorthEastCursor.png: Removed. 3419 * WebKit.vcproj/panNorthWestCursor.png: Removed. 3420 * WebKit.vcproj/panSouthCursor.png: Removed. 3421 * WebKit.vcproj/panSouthEastCursor.png: Removed. 3422 * WebKit.vcproj/panSouthWestCursor.png: Removed. 3423 * WebKit.vcproj/panWestCursor.png: Removed. 3424 * WebKit.vcproj/resource.h: Removed. 3425 * WebKit.vcproj/searchCancel.png: Removed. 3426 * WebKit.vcproj/searchCancelPressed.png: Removed. 3427 * WebKit.vcproj/searchMagnifier.png: Removed. 3428 * WebKit.vcproj/searchMagnifierResults.png: Removed. 3429 * WebKit.vcproj/textAreaResizeCorner.png: Removed. 3430 * WebKit.vcproj/verticalTextCursor.png: Removed. 3431 * WebKit.vcproj/zoomInCursor.png: Removed. 3432 * WebKit.vcproj/zoomOutCursor.png: Removed. 3433 34342013-05-31 peavo@outlook.com <peavo@outlook.com> 3435 3436 [Curl] Unable to download files. 3437 https://bugs.webkit.org/show_bug.cgi?id=116150 3438 3439 Reviewed by Brent Fulgham. 3440 3441 Implemented basic download functionality for Curl. 3442 3443 * WebDownload.h: 3444 * WebDownloadCurl.cpp: 3445 (WebDownload::init): 3446 (WebDownload::start): 3447 (WebDownload::cancel): 3448 (WebDownload::deletesFileUponFailure): 3449 (WebDownload::setDeletesFileUponFailure): 3450 (WebDownload::setDestination): 3451 (WebDownload::useCredential): 3452 (WebDownload::didReceiveResponse): 3453 (WebDownload::didReceiveDataOfLength): 3454 (WebDownload::didFinish): 3455 (WebDownload::didFail): 3456 34572013-05-29 Brent Fulgham <bfulgham@apple.com> 3458 3459 [Windows] Be consistent with allocation/deallocation behavior 3460 https://bugs.webkit.org/show_bug.cgi?id=116998 3461 3462 Reviewed by Anders Carlsson. 3463 3464 * WebPreferences.cpp: 3465 (WebPreferences::setStringValue): Switch from using _wcsdup and 3466 CFStringCreateWithCharactersNoCopy to just use the standard 3467 CFStringCreateWithCharacters call. 3468 34692013-05-28 Brent Fulgham <bfulgham@apple.com> 3470 3471 [Windows] Many css2.1 tests fail on Apple's Windows port. 3472 https://bugs.webkit.org/show_bug.cgi?id=75707 3473 3474 Reviewed by Darin Adler. 3475 3476 * WebKit.vcproj/WebKitExports.def.in: Export the 3477 WebCore::directoryName method for DRT use. 3478 34792013-05-28 Andreas Kling <akling@apple.com> 3480 3481 Document::setFocusedNode() should be setFocusedElement(). 3482 <http://webkit.org/b/116857> 3483 3484 Reviewed by Antti Koivisto. 3485 3486 * DOMCoreClasses.cpp: 3487 (DOMElement::isFocused): 3488 * WebView.cpp: 3489 (WebView::setInitialFocus): 3490 34912013-05-27 Xueqing Huang <huangxueqing@baidu.com> 3492 3493 Move Windows port off legacy clipboard. 3494 https://bugs.webkit.org/show_bug.cgi?id=116258 3495 3496 Reviewed by Darin Adler. 3497 3498 * WebCoreSupport/WebDragClient.cpp: 3499 (WebDragClient::willPerformDragSourceAction): Get IDataObject from Pasteboard instead of Clipboard. 3500 (WebDragClient::startDrag): Ditto. 3501 35022013-05-26 Antti Koivisto <antti@apple.com> 3503 3504 Another build fix. 3505 3506 Not reviewed. 3507 3508 * DOMCoreClasses.cpp: 3509 (DOMElement::font): 3510 * FullscreenVideoController.cpp: 3511 (FullscreenVideoController::draw): 3512 35132013-05-26 Antti Koivisto <antti@apple.com> 3514 3515 Build fix 3516 3517 Not reviewed. 3518 3519 * WebKitGraphics.cpp: 3520 (makeFont): 3521 35222013-05-26 Andreas Kling <akling@apple.com> 3523 3524 FocusController::setFocusedNode() should be setFocusedElement(). 3525 <http://webkit.org/b/116780> 3526 3527 Reviewed by Antti Koivisto. 3528 3529 * WebView.cpp: 3530 (WebView::clearFocusNode): 3531 35322013-05-24 Brent Fulgham <bfulgham@apple.com> 3533 3534 [Windows] Expose database storage and cache locations via preferences. 3535 https://bugs.webkit.org/show_bug.cgi?id=116729 3536 3537 Reviewed by Tim Horton. 3538 3539 * WebDatabaseManager.cpp: Update to check preferences for the 3540 desired location of the database store. 3541 (databasesDirectory): Added. 3542 (WebKitInitializeWebDatabasesIfNecessary): Use new databasesDirectory 3543 method to determine what system path to use for file storage. 3544 * WebKit.vcproj/WebKitExports.def.in: Export three symbols 3545 needed to implement the feature. 3546 * WebView.cpp: Update to check preferences for the desired location 3547 of the various caches used by WebKit. 3548 (WebView::setCacheModel): Update to check preferences for URL cache 3549 storage. 3550 (WebKitSetApplicationCachePathIfNecessary): Update to check 3551 preferences for ccache storage. 3552 35532013-05-24 Christophe Dumez <ch.dumez@sisa.samsung.com> 3554 3555 Remove custom code for webkitAudioContext global constructor getter 3556 https://bugs.webkit.org/show_bug.cgi?id=116530 3557 3558 Reviewed by Geoffrey Garen. 3559 3560 Use RuntimeEnabledFeatures instead of Settings to toggle Web Audio support. 3561 3562 * WebView.cpp: 3563 (WebView::notifyPreferencesChanged): 3564 35652013-05-24 Anders Carlsson <andersca@apple.com> 3566 3567 Remove unused code to read/write history 3568 https://bugs.webkit.org/show_bug.cgi?id=116738 3569 3570 Reviewed by Brent Fulgham. 3571 3572 * Interfaces/IWebHistory.idl: 3573 Replace loadFromURL and saveToURL with unused1/unused2. 3574 3575 * Interfaces/IWebHistoryPrivate.idl: 3576 Replace data with unused1. 3577 3578 * WebHistory.cpp: 3579 Remove history loading/saving code. 3580 3581 (WebHistory::unused1): 3582 (WebHistory::unused2): 3583 Add implementations. 3584 3585 * WebHistory.h: 3586 (WebHistory): 3587 35882013-05-21 Mark Salisbury <mark.salisbury@hp.com> 3589 3590 [Windows, curl] WebDownloadCurl.cpp should not include SystemTime.h 3591 https://bugs.webkit.org/show_bug.cgi?id=116584 3592 3593 Reviewed by Brent Fulgham. 3594 3595 SystemTime header and implementation are no longer used and were removed 3596 recently - http://trac.webkit.org/changeset/150216. 3597 3598 * WebDownloadCurl.cpp: 3599 36002013-05-19 Anders Carlsson <andersca@apple.com> 3601 3602 Remove ChromeClient::webView() 3603 https://bugs.webkit.org/show_bug.cgi?id=116054 3604 3605 Reviewed by Darin Adler. 3606 3607 This blatantly horrible layer violation was only used to know if a ChromeClient is an empty 3608 client or not. We already have a (slightly less horrible) way to do that. 3609 3610 * WebCoreSupport/WebChromeClient.h: 3611 (WebChromeClient): 3612 36132013-05-16 Tim Horton <timothy_horton@apple.com> 3614 3615 PDFPlugins don't load when plugins are disabled, but they should 3616 https://bugs.webkit.org/show_bug.cgi?id=75790 3617 <rdar://problem/11650197> 3618 3619 Reviewed by Anders Carlsson. 3620 3621 * WebView.cpp: 3622 (WebView::canShowMIMEType): 3623 Previously, this caller depended on pluginData() returning null if 3624 plug-ins were disabled. Since that is no longer the case, we have to 3625 check if we can use plug-ins, and otherwise ignore non-application-plug-ins. 3626 36272013-05-16 Andreas Kling <akling@apple.com> 3628 3629 Page::chrome() should return a reference. 3630 <http://webkit.org/b/116185> 3631 3632 Reviewed by Anders Carlsson. 3633 36342013-05-15 Ryosuke Niwa <rniwa@webkit.org> 3635 3636 Revert the previous commit. 3637 3638 * WebKit.vcproj/WebKitExports.def.in: 3639 36402013-05-15 Ryosuke Niwa <rniwa@webkit.org> 3641 3642 Windows build fix attempt after r150160. 3643 3644 * WebKit.vcproj/WebKitExports.def.in: 3645 36462013-05-15 Ryosuke Niwa <rniwa@webkit.org> 3647 3648 Windows build fix attempt after r150156. 3649 3650 * WebKit.vcproj/WebKitExports.def.in: 3651 36522013-05-13 Anders Carlsson <andersca@apple.com> 3653 3654 Frame::editor() should return a reference 3655 https://bugs.webkit.org/show_bug.cgi?id=116037 3656 3657 Reviewed by Darin Adler. 3658 3659 * WebCoreSupport/WebContextMenuClient.cpp: 3660 (WebContextMenuClient::searchWithGoogle): 3661 * WebFrame.cpp: 3662 (WebFrame::hasSpellingMarker): 3663 (WebFrame::setTextDirection): 3664 (WebFrame::selectedString): 3665 (WebFrame::selectAll): 3666 * WebView.cpp: 3667 (WebView::execCommand): 3668 (WebView::handleEditingKeyboardEvent): 3669 (WebView::executeCoreCommandByName): 3670 (WebView::selectedText): 3671 (WebView::deleteEnabled): 3672 (WebView::editingEnabled): 3673 (WebView::replaceSelectionWithText): 3674 (WebView::copy): 3675 (WebView::cut): 3676 (WebView::paste): 3677 (WebView::copyURL): 3678 (WebView::delete_): 3679 (WebView::checkSpelling): 3680 (WebView::showGuessPanel): 3681 (WebView::clearUndoRedoOperations): 3682 (WebView::prepareCandidateWindow): 3683 (WebView::resetIME): 3684 (WebView::updateSelectionForIME): 3685 (WebView::onIMEComposition): 3686 (WebView::onIMEEndComposition): 3687 (WebView::onIMERequestCharPosition): 3688 (WebView::onIMERequest): 3689 (WebView::setCompositionForTesting): 3690 (WebView::hasCompositionForTesting): 3691 (WebView::confirmCompositionForTesting): 3692 (WebView::compositionRangeForTesting): 3693 (WebView::firstRectForCharacterRangeForTesting): 3694 (WebView::selectedRangeForTesting): 3695 36962013-05-15 Patrick Gansterer <paroga@webkit.org> 3697 3698 Remove unnecessary dependecy on CoreFoundation from WebDatabaseManager 3699 https://bugs.webkit.org/show_bug.cgi?id=115993 3700 3701 Reviewed by Anders Carlsson. 3702 3703 Using COMPropertyBag instead of CFDictionaryPropertyBag also reduces 3704 the total lines of code needed for the same functionality. 3705 3706 * WebDatabaseManager.cpp: 3707 (WebDatabaseManager::dispatchDidModifyDatabase): 3708 37092013-05-12 Timothy Hatcher <timothy@apple.com> 3710 3711 Add support for updating the Web Inspector toolbar height. 3712 3713 https://bugs.webkit.org/show_bug.cgi?id=115996 3714 3715 Reviewed by Joseph Pecoraro and Benjamin Poulain. 3716 3717 * WebCoreSupport/WebInspectorClient.cpp: 3718 (WebInspectorFrontendClient::setToolbarHeight): 3719 * WebCoreSupport/WebInspectorClient.h: 3720 37212013-05-13 Roger Fong <roger_fong@apple.com> 3722 3723 Unreviewed. AppleWin VS2005 build fix. 3724 3725 * WebKit.vcproj/WebKitExports.def.in: 3726 37272013-05-12 Anders Carlsson <andersca@apple.com> 3728 3729 Stop including UnusedParam.h 3730 https://bugs.webkit.org/show_bug.cgi?id=116003 3731 3732 Reviewed by Sam Weinig. 3733 3734 UnusedParam.h is empty now so there's no need to include it anymore. 3735 3736 * WebSecurityOrigin.cpp: 3737 37382013-05-09 Max Feil <mfeil@rim.com> 3739 3740 shouldUsePluginDocument() needs to be respected when a document is created 3741 https://bugs.webkit.org/show_bug.cgi?id=110308 3742 3743 Reviewed by Rob Buis. 3744 3745 Renaming shouldUsePluginDocument() to shouldAlwaysUsePluginDocument() 3746 for clarity. 3747 3748 * WebCoreSupport/WebFrameLoaderClient.cpp: 3749 (WebFrameLoaderClient::shouldAlwaysUsePluginDocument): 3750 * WebCoreSupport/WebFrameLoaderClient.h: 3751 (WebFrameLoaderClient): 3752 37532013-05-06 Darin Adler <darin@apple.com> 3754 3755 Use adoptCF and adoptNS in more places 3756 https://bugs.webkit.org/show_bug.cgi?id=115657 3757 3758 Reviewed by Sam Weinig. 3759 3760 This is similar to my last set of changes, but covers code that I missed with 3761 global replace using the Safari Xcode workspace. 3762 3763 * CFDictionaryPropertyBag.cpp: 3764 (CFDictionaryPropertyBag::Write): 3765 * WebCache.cpp: 3766 (WebCache::statistics): 3767 * WebCoreSupport/WebFrameLoaderClient.cpp: 3768 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): 3769 * WebCoreSupport/WebInspectorClient.cpp: 3770 (WebInspectorClient::openInspectorFrontend): 3771 (WebInspectorFrontendClient::localizedStringsURL): 3772 * WebDatabaseManager.cpp: 3773 (WebDatabaseManager::dispatchDidModifyDatabase): 3774 * WebDownloadCFNet.cpp: 3775 (WebDownload::init): 3776 (WebDownload::initWithRequest): 3777 (WebDownload::initToResumeWithBundle): 3778 (WebDownload::cancelForResume): 3779 (WebDownload::useCredential): 3780 (WebDownload::didReceiveAuthenticationChallenge): 3781 * WebError.cpp: 3782 (WebError::sslPeerCertificate): 3783 * WebHistory.cpp: 3784 (createUserInfoFromArray): 3785 (createUserInfoFromHistoryItem): 3786 (WebHistory::WebHistory): 3787 (WebHistory::loadFromURL): 3788 (WebHistory::loadHistoryGutsFromURL): 3789 (WebHistory::saveToURL): 3790 (WebHistory::saveHistoryGuts): 3791 (WebHistory::removeAllItems): 3792 (WebHistory::removeItem): 3793 (WebHistory::addItem): 3794 (WebHistory::itemForURL): 3795 (WebHistory::addItemToDateCaches): 3796 (getDayBoundaries): 3797 * WebIconDatabase.cpp: 3798 (postDidAddIconNotification): 3799 * WebLocalizableStrings.cpp: 3800 (cfBundleForStringsBundle): 3801 * WebMutableURLRequest.cpp: 3802 (WebMutableURLRequest::mutableCopy): 3803 * WebPreferences.cpp: 3804 (cfNumber): 3805 (WebPreferences::initializeDefaultSettings): 3806 (WebPreferences::valueForKey): 3807 (WebPreferences::setStringValue): 3808 (WebPreferences::load): 3809 (WebPreferences::migrateWebKitPreferencesToCFPreferences): 3810 (WebPreferences::setPreferenceForTest): 3811 * WebView.cpp: 3812 (WebView::setCacheModel): 3813 (WebView::notifyPreferencesChanged): 3814 Use adoptCF and adoptNS. 3815 38162013-05-06 Roger Fong <roger_fong@apple.com> 3817 3818 Unreviewed. AppleWin build fix. 3819 3820 * WebKit.vcproj/WebKitExports.def.in: 3821 38222013-05-04 Dean Jackson <dino@apple.com> 3823 3824 Animations and Transitions should not start when globally suspended 3825 https://bugs.webkit.org/show_bug.cgi?id=114915 3826 3827 Reviewed by Sam Weinig. 3828 3829 Export AnimationController::isSuspended 3830 3831 * WebKit.vcproj/WebKitExports.def.in: 3832 38332013-05-01 Sergio Villar Senin <svillar@igalia.com> 3834 3835 Show a block cursor in overtype mode 3836 https://bugs.webkit.org/show_bug.cgi?id=114819 3837 3838 Reviewed by Ryosuke Niwa. 3839 3840 Export three more WebCore symbols. 3841 3842 * WebKit.vcproj/WebKitExports.def.in: 3843 38442013-04-29 Brent Fulgham <bfulgham@webkit.org> 3845 3846 [Windows, WinCairo] Remove pthread paths for WebKit build. 3847 https://bugs.webkit.org/show_bug.cgi?id=115390 3848 3849 Reviewed by Tim Horton. 3850 3851 Update Visual Studio property sheets to remove include paths and 3852 link references for the pthreadsVC2.dll, which is no longer used. 3853 3854 3855 * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: 3856 * WebKit.vcproj/WebKitLibCommon.vsprops: 3857 38582013-04-30 Christophe Dumez <ch.dumez@sisa.samsung.com> 3859 3860 Stop using "in" keyword in IDL files 3861 https://bugs.webkit.org/show_bug.cgi?id=115418 3862 3863 Reviewed by Kentaro Hara. 3864 3865 Remove "in" keyword from IDL files as this is no longer part of the Web 3866 IDL specification. 3867 3868 * Interfaces/DOMEvents.idl: 3869 * Interfaces/DOMPrivate.idl: 3870 * Interfaces/DOMWindow.idl: 3871 38722013-04-30 Christophe Dumez <ch.dumez@sisa.samsung.com> 3873 3874 Replace "Optional" extended attribute by proper Web IDL "optional" keyword 3875 https://bugs.webkit.org/show_bug.cgi?id=115380 3876 3877 Reviewed by Kentaro Hara. 3878 3879 Replace [Optional] by optional. 3880 3881 * Interfaces/DOMWindow.idl: 3882 38832013-04-28 Ryosuke Niwa <rniwa@webkit.org> 3884 3885 Windows build fix. 3886 3887 * WebKit.vcproj/WebKitExports.def.in: 3888 38892013-04-25 Ryosuke Niwa <rniwa@webkit.org> 3890 3891 StaticHashSetNodeList is unnecessary 3892 https://bugs.webkit.org/show_bug.cgi?id=115219 3893 3894 Reviewed by Antonio Gomes. 3895 3896 * WebKit.vcproj/WebKitExports.def.in: 3897 38982013-04-25 Joseph Pecoraro <pecoraro@apple.com> 3899 3900 Web Inspector: ConsoleMessage should include line and column number where possible 3901 https://bugs.webkit.org/show_bug.cgi?id=114929 3902 3903 Reviewed by Timothy Hatcher. 3904 3905 * WebCoreSupport/WebChromeClient.cpp: 3906 (WebChromeClient::addMessageToConsole): 3907 * WebCoreSupport/WebChromeClient.h: 3908 39092013-04-24 Andreas Kling <akling@apple.com> 3910 3911 Wild build fix attempt. 3912 3913 * WebCoreSupport/WebChromeClient.h: 3914 (WebChromeClient): 3915 39162013-04-22 Jessie Berlin <jberlin@apple.com> 3917 3918 Speculative Windows build fix. 3919 3920 * WebKit.vcproj/WebKitExports.def.in: 3921 39222013-04-22 Benjamin Poulain <bpoulain@apple.com> 3923 3924 Another Windows build fix after r148921 3925 3926 Unreviewed. 3927 3928 * AccessibleBase.cpp: Add missing header include. 3929 39302013-04-22 Benjamin Poulain <benjamin@webkit.org> 3931 3932 Remove the memory instrumentation code 3933 https://bugs.webkit.org/show_bug.cgi?id=114931 3934 3935 Reviewed by Andreas Kling. 3936 3937 * WebKit.vcproj/WebKitExports.def.in: 3938 39392013-04-21 Benjamin Poulain <benjamin@webkit.org> 3940 3941 Improve StringImpl code density for older ARM hardware 3942 https://bugs.webkit.org/show_bug.cgi?id=114898 3943 3944 Reviewed by Geoffrey Garen. 3945 3946 * WebKit.vcproj/WebKitExports.def.in: 3947 39482013-04-17 Geoffrey Garen <ggaren@apple.com> 3949 3950 Renamed JSGlobalData to VM 3951 https://bugs.webkit.org/show_bug.cgi?id=114777 3952 3953 Reviewed by Phil Pizlo. 3954 3955 * WebCoreStatistics.cpp: 3956 (WebCoreStatistics::javaScriptObjectsCount): 3957 (WebCoreStatistics::javaScriptGlobalObjectsCount): 3958 (WebCoreStatistics::javaScriptProtectedObjectsCount): 3959 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount): 3960 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): 3961 * WebJavaScriptCollector.cpp: 3962 (WebJavaScriptCollector::objectCount): 3963 39642013-04-13 Roger Fong <roger_fong@apple.com> 3965 3966 Unreviewed. Build fix for Windows. 3967 3968 * WebCoreSupport/WebContextMenuClient.cpp: 3969 * WebCoreSupport/WebDragClient.cpp: 3970 * WebFrame.cpp: 3971 39722013-04-16 Brent Fulgham <bfulgham@webkit.org> 3973 3974 [Windows] Unreviewed build correction. 3975 3976 * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Add correct 3977 ICU link library to avoid mixture of ICU 4.0 and 4.6 symbols 3978 during link. 3979 39802013-04-15 peavo@outlook.com <peavo@outlook.com> 3981 3982 Crash when favicon is requested 3983 https://bugs.webkit.org/show_bug.cgi?id=114624 3984 3985 Reviewed by Brent Fulgham. 3986 3987 * WebIconDatabase.cpp: 3988 (WebIconDatabase::getOrCreateDefaultIconBitmap): Added NULL pointer check. 3989 39902013-04-12 Anders Carlsson <andersca@apple.com> 3991 3992 All tests crash on Windows 3993 https://bugs.webkit.org/show_bug.cgi?id=114522 3994 3995 Reviewed by Ryosuke Niwa. 3996 3997 In the MSVC++ ABI, a member function pointer will have a different size depending on whether the 3998 class it belongs to is defined or not. Because of this, when passing member function pointers as parameters 3999 it's important to ensure that the class is known by both the caller and the callee. 4000 4001 * WebFrame.cpp: 4002 Include PolicyChecker.h 4003 40042013-04-12 Jer Noble <jer.noble@apple.com> 4005 4006 TimeRanges::nearest() returns incorrect results. 4007 https://bugs.webkit.org/show_bug.cgi?id=114483 4008 4009 Reviewed by Eric Carlson. 4010 4011 Add symbols needed by WebCoreTestSupport to the exports list. 4012 4013 * WebKit.vcproj/WebKitExports.def.in: 4014 40152013-04-11 Rune Lillesveen <rune@opera.com> 4016 4017 Incorrect evaluation of resolution media queries 4018 https://bugs.webkit.org/show_bug.cgi?id=114029 4019 4020 Reviewed by Kenneth Rohde Christiansen. 4021 4022 Removed setResolutionOverride from exports. 4023 4024 * WebKit.vcproj/WebKitExports.def.in: 4025 40262013-04-08 Anders Carlsson <andersca@apple.com> 4027 4028 Remove unneeded headers from FrameLoader.h 4029 https://bugs.webkit.org/show_bug.cgi?id=114223 4030 4031 Reviewed by Geoffrey Garen. 4032 4033 Include HistoryController.h from WebCore. 4034 4035 * WebView.cpp: 4036 40372013-04-05 Roger Fong <roger_fong@apple.com> 4038 4039 Build fix. 4040 4041 * WebKit.vcproj/WebKitExports.def.in: 4042 40432013-04-04 Christophe Dumez <ch.dumez@sisa.samsung.com> 4044 4045 [Cairo] Fix canvas drawing of SVG-based patterns and remove NativeImageCairo 4046 https://bugs.webkit.org/show_bug.cgi?id=113929 4047 4048 Reviewed by Martin Robinson. 4049 4050 Remove outdated symbols now that NativeImageCairo was removed. 4051 4052 * WebKit.vcproj/WebKitExports.def.in: 4053 40542013-04-03 Gustavo Noronha Silva <gustavo.noronha@collabora.com> 4055 4056 Should close select popup when the element loses focus 4057 https://bugs.webkit.org/show_bug.cgi?id=113220 4058 4059 Reviewed by Kent Tamura. 4060 4061 * WebKit.vcproj/WebKitExports.def.in: export WebCore::HTMLNames::selectTag for Internals 4062 40632013-04-02 Timothy Hatcher <timothy@apple.com> 4064 4065 Provide a user default that can be used to disable docking of the Web Inspector. 4066 4067 The user default is "WebKit Web Inspector Setting - inspectorAttachDisabled". 4068 4069 https://webkit.org/b/113779 4070 rdar://problem/13446021 4071 4072 Reviewed by Joseph Pecoraro. 4073 4074 * WebCoreSupport/WebInspectorClient.h: 4075 (WebInspectorClient::inspectorAttachDisabled): Added. 4076 (WebInspectorClient::setInspectorAttachDisabled): Added. 4077 40782013-03-28 Matt Falkenhagen <falken@chromium.org> 4079 4080 Refactoring: Replace Element::disabled and isEnabledFormControl with isDisabledFormControl 4081 https://bugs.webkit.org/show_bug.cgi?id=113273 4082 4083 Reviewed by Kent Tamura. 4084 4085 Element::disabled is about form controls and Element::isEnabledFormControl 4086 is redundant with it, so replace them with a single function 4087 Element::isDisabledFormControl. 4088 4089 * DOMHTMLClasses.cpp: 4090 (DOMHTMLInputElement::disabled): 4091 40922013-03-27 Mark Lam <mark.lam@apple.com> 4093 4094 Rolling out r147044. 4095 https://bugs.webkit.org/show_bug.cgi?id=113352. 4096 4097 Not Reviewed. 4098 4099 * WebKit.vcproj/WebKitExports.def.in: 4100 41012013-03-27 Mark Lam <mark.lam@apple.com> 4102 4103 Greening the Apple Win bot (debug build). 4104 https://bugs.webkit.org/show_bug.cgi?id=113352. 4105 4106 Not Reviewed. 4107 4108 * WebKit.vcproj/WebKitExports.def.in: 4109 41102013-03-27 Mark Lam <mark.lam@apple.com> 4111 4112 Greening the Apple Win bot. 4113 https://bugs.webkit.org/show_bug.cgi?id=113352. 4114 4115 Not Reviewed. 4116 4117 * WebKit.vcproj/WebKitExports.def.in: 4118 41192013-03-27 Ryosuke Niwa <rniwa@webkit.org> 4120 4121 Another Windows build fix attempt after r147004. 4122 4123 * WebKit.vcproj/WebKitExports.def.in: 4124 41252013-03-27 Timothy Hatcher <timothy@apple.com> 4126 4127 Add support for dock-to-right of the Web Inspector in the Mac port. 4128 4129 Unfortunately this requires Safari changes, so it is disabled in the nightly builds. 4130 4131 https://webkit.org/b/113341 4132 rdar://problem/10368152 4133 4134 Reviewed by Joseph Pecoraro. 4135 4136 * WebCoreSupport/WebInspectorClient.cpp: 4137 (WebInspectorFrontendClient::frontendLoaded): 4138 (WebInspectorFrontendClient::attachWindow): 4139 (WebInspectorFrontendClient::setAttachedWindowWidth): 4140 * WebCoreSupport/WebInspectorClient.h: 4141 (WebInspectorFrontendClient): 4142 41432013-03-27 Kent Tamura <tkent@chromium.org> 4144 4145 Rename HTMLFormControlElement::readOnly to isReadOnly 4146 https://bugs.webkit.org/show_bug.cgi?id=113297 4147 4148 Reviewed by Alexey Proskuryakov. 4149 4150 * DOMHTMLClasses.cpp: 4151 (DOMHTMLInputElement::readOnly): 4152 41532013-03-26 Hayato Ito <hayato@chromium.org> 4154 4155 Allow ShadowContents in HitTests by default. 4156 https://bugs.webkit.org/show_bug.cgi?id=113171 4157 4158 Reviewed by Dimitri Glazkov. 4159 4160 * WebView.cpp: 4161 (WebView::gestureNotify): 4162 41632013-03-22 Ryosuke Niwa <rniwa@webkit.org> 4164 4165 The second part of the build fix for r146702. This should do it. 4166 I had to see the mangled name for the new signature. 4167 4168 * WebKit.vcproj/WebKitExports.def.in: 4169 41702013-03-22 Ryosuke Niwa <rniwa@webkit.org> 4171 4172 Build fix attempt after r146702. 4173 4174 * WebKit.vcproj/WebKitExports.def.in: 4175 41762013-03-21 peavo@outlook.com <peavo@outlook.com> 4177 4178 WinCairo build fails to link. 4179 https://bugs.webkit.org/show_bug.cgi?id=112892 4180 4181 Reviewed by Kentaro Hara. 4182 4183 * WebKit.vcproj/WebKitExports.def.in: Added ENABLE(VIDEO_TRACK) guard. 4184 41852013-03-20 Michael Pruett <michael@68k.org> 4186 4187 [JSC] Implement EnforceRange IDL attribute for integer conversions 4188 https://bugs.webkit.org/show_bug.cgi?id=112506 4189 4190 Reviewed by Kentaro Hara. 4191 4192 * WebKit.vcproj/WebKitExports.def.in: 4193 41942013-03-20 Rouslan Solomakhin <rouslan@chromium.org> 4195 4196 Copy-paste should not spellcheck when continuous spellcheck is turned off 4197 https://bugs.webkit.org/show_bug.cgi?id=112464 4198 4199 Reviewed by Ryosuke Niwa. 4200 4201 * WebKit.vcproj/WebKitExports.def.in: Export WebCore::Editor::isContinuousSpellCheckingEnabled() and WebCore::Editor::toggleContinuousSpellChecking() for use by internals. 4202 42032013-03-18 Roger Fong <roger_fong@apple.com> 4204 4205 Fix typo on Windows following r145849 that was causing DRT to crash 100% of the time. 4206 4207 * WebView.cpp: 4208 (WebView::setSmartInsertDeleteEnabled): 4209 (WebView::setSelectTrailingWhitespaceEnabled): 4210 42112013-03-15 Nate Chapin <japhet@chromium.org> 4212 4213 Hide MainResourceLoader from the outside world 4214 https://bugs.webkit.org/show_bug.cgi?id=109971 4215 4216 Reviewed by Adam Barth. 4217 4218 * WebFrame.cpp: 4219 (WebFrame::convertMainResourceLoadToDownload): 4220 * WebFrame.h: 4221 42222013-03-15 Abhishek Arya <inferno@chromium.org> 4223 4224 Replace static_casts with to* helper functions. 4225 https://bugs.webkit.org/show_bug.cgi?id=112401 4226 4227 Reviewed by Stephen Chenney. 4228 4229 to* helper functions are preferred over static_cast calls since they 4230 help to catch bad casts easily on the testing infrastructure. 4231 4232 * WebCoreSupport/EmbeddedWidget.cpp: 4233 (EmbeddedWidget::frameRectsChanged): 4234 * WebCoreSupport/WebFrameLoaderClient.cpp: 4235 (WebFrameLoaderClient::redirectDataToPlugin): 4236 42372013-03-14 Manuel Rego Casasnovas <rego@igalia.com> 4238 4239 Add selectTrailingWhitespaceEnabled setting to WebCore::Page 4240 https://bugs.webkit.org/show_bug.cgi?id=109404 4241 4242 Reviewed by Tony Chang. 4243 4244 Use new settings for smartInsertDeleteEnabled and 4245 selectTrailingWhitespaceEnabled. 4246 4247 * WebCoreSupport/WebEditorClient.cpp: 4248 (WebEditorClient::smartInsertDeleteEnabled): 4249 (WebEditorClient::isSelectTrailingWhitespaceEnabled): 4250 * WebView.cpp: 4251 (WebView::WebView): 4252 (WebView::setSmartInsertDeleteEnabled): 4253 (WebView::smartInsertDeleteEnabled): 4254 (WebView::setSelectTrailingWhitespaceEnabled): 4255 (WebView::isSelectTrailingWhitespaceEnabled): 4256 * WebView.h: 4257 (WebView): 4258 42592013-03-14 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> 4260 4261 Move platform-specific typedefs to PlatformMenuDescription.h 4262 https://bugs.webkit.org/show_bug.cgi?id=111876 4263 4264 Reviewed by Caio Marcelo de Oliveira Filho. 4265 4266 Rename NativeMenuItem to PlatformContextMenuItem and the getter 4267 function call. 4268 4269 * WebCoreSupport/WebContextMenuClient.cpp: 4270 (WebContextMenuClient::customizeMenu): 4271 (WebContextMenuClient::contextMenuItemSelected): 4272 * WebView.cpp: 4273 (WebView::handleContextMenuEvent): 4274 42752013-03-14 Abhishek Arya <inferno@chromium.org> 4276 4277 Replace static_casts with to* helper functions. 4278 https://bugs.webkit.org/show_bug.cgi?id=112296 4279 4280 Reviewed by Kentaro Hara. 4281 4282 to* helper functions are preferred over static_cast calls since they 4283 help to catch bad casts easily on the testing infrastructure. 4284 4285 * WebView.cpp: 4286 (WebView::enterFullscreenForNode): 4287 42882013-03-13 Nate Chapin <japhet@chromium.org> 4289 4290 Expose symbols for internals 4291 https://bugs.webkit.org/show_bug.cgi?id=112194 4292 4293 Reviewed by Alexey Proskuryakov. 4294 4295 * WebKit.vcproj/WebKitExports.def.in: 4296 42972013-03-13 Pavel Feldman <pfeldman@chromium.org> 4298 4299 Web Inspector: get rid of hiddenPanels filter 4300 https://bugs.webkit.org/show_bug.cgi?id=112252 4301 4302 Reviewed by Vsevolod Vlasov. 4303 4304 * WebCoreSupport/WebInspectorClient.cpp: 4305 * WebCoreSupport/WebInspectorClient.h: 4306 (WebInspectorFrontendClient): 4307 43082013-03-12 Abhishek Arya <inferno@chromium.org> 4309 4310 Replace static_casts with to* helper functions. 4311 https://bugs.webkit.org/show_bug.cgi?id=112164 4312 4313 Reviewed by Philip Rogers. 4314 4315 to* helper functions are preferred over static_cast calls since they 4316 help to catch bad casts easily on the testing infrastructure. 4317 4318 * DOMHTMLClasses.cpp: 4319 (DOMHTMLElement::idName): 4320 (DOMHTMLElement::innerText): 4321 (DOMHTMLElement::setInnerText): 4322 43232013-03-11 Jochen Eisinger <jochen@chromium.org> 4324 4325 Rename DefinitelyProcessingUserGesture to DefinitelyProcessingNewUserGesture 4326 https://bugs.webkit.org/show_bug.cgi?id=111959 4327 4328 Reviewed by Alexey Proskuryakov. 4329 4330 * WebCoreSupport/WebContextMenuClient.cpp: 4331 (WebContextMenuClient::searchWithGoogle): 4332 43332013-03-03 Ryosuke Niwa <rniwa@webkit.org> 4334 4335 Windows build fix attempt after r144547. 4336 4337 * WebKit.vcproj/WebKitExports.def.in: 4338 43392013-03-03 Sheriff Bot <webkit.review.bot@gmail.com> 4340 4341 Unreviewed, rolling out r144567. 4342 http://trac.webkit.org/changeset/144567 4343 https://bugs.webkit.org/show_bug.cgi?id=111266 4344 4345 Does not compile on apple-win (Requested by abarth on 4346 #webkit). 4347 4348 * WebKit.vcproj/WebKitExports.def.in: 4349 43502013-03-03 Ryosuke Niwa <rniwa@webkit.org> 4351 4352 That was a wrong fix. Revert r144569. 4353 4354 * WebKit.vcproj/WebKitExports.def.in: 4355 43562013-03-03 Ryosuke Niwa <rniwa@webkit.org> 4357 4358 Windows build fix attempt after r144567. 4359 4360 * WebKit.vcproj/WebKitExports.def.in: 4361 43622013-03-02 Benjamin Poulain <benjamin@webkit.org> 4363 4364 Export a missing symbol after r144547. 4365 4366 Unreviewed. 4367 4368 * WebKit.vcproj/WebKitExports.def.in: 4369 43702013-03-02 Ryosuke Niwa <rniwa@webkit.org> 4371 4372 Redo r144538 (after r144530). 4373 4374 * WebCoreSupport/WebFrameNetworkingContext.cpp: 4375 * WebCoreSupport/WebFrameNetworkingContext.h: 4376 * WebCoreSupport/WebPlatformStrategies.cpp: 4377 43782013-03-02 Ryosuke Niwa <rniwa@webkit.org> 4379 4380 Yet another build fix attempt after r144530. 4381 4382 * WebCoreSupport/WebFrameNetworkingContext.cpp: 4383 * WebCoreSupport/WebPlatformStrategies.cpp: 4384 43852013-03-02 Ryosuke Niwa <rniwa@webkit.org> 4386 4387 Another build fix attempt after r144530. 4388 4389 * WebCoreSupport/WebFrameNetworkingContext.cpp: 4390 43912013-03-01 Benjamin Poulain <bpoulain@apple.com> 4392 4393 Add a missing symbol after r144524. 4394 4395 Unreviewed. 4396 4397 * WebKit.vcproj/WebKitExports.def.in: 4398 43992013-02-26 Alexey Proskuryakov <ap@apple.com> 4400 4401 Don't add a body to platform request until necessary 4402 https://bugs.webkit.org/show_bug.cgi?id=110900 4403 4404 Reviewed by Brady Eidson. 4405 4406 WebKit1 behavior is unchanged, body is added on every conversion. 4407 4408 * WebDownloadCFNet.cpp: 4409 (WebDownload::init): 4410 (WebDownload::initWithRequest): 4411 (WebDownload::willSendRequest): 4412 * WebMutableURLRequest.cpp: 4413 (WebMutableURLRequest::cfRequest): 4414 (WebMutableURLRequest::mutableCopy): 4415 * WebView.cpp: 4416 (WebView::canHandleRequest): 4417 44182013-02-26 Roger Fong <roger_fong@apple.com> 4419 4420 Unreviewed AppleWin build fix. 4421 4422 * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: 4423 44242013-02-24 Alexey Proskuryakov <ap@apple.com> 4425 4426 Clarify meaning of default default encoding localizable string 4427 https://bugs.webkit.org/show_bug.cgi?id=110714 4428 4429 Reviewed by Eric Carlson. 4430 4431 * WebPreferences.cpp: Updated a comment. 4432 44332013-02-24 Benjamin Poulain <benjamin@webkit.org> 4434 4435 REGRESSION(r143837): Broke build on AppleWin http://build.webkit.org/builders/Apple%20Win%20Release%20%28Build%29. 4436 https://bugs.webkit.org/show_bug.cgi?id=110713 4437 4438 Unreviewed. 4439 4440 * WebKit.vcproj/WebKitExports.def.in: Add the missing symbol after r143837. 4441 44422013-02-21 Sheriff Bot <webkit.review.bot@gmail.com> 4443 4444 Unreviewed, rolling out r143536. 4445 http://trac.webkit.org/changeset/143536 4446 https://bugs.webkit.org/show_bug.cgi?id=110523 4447 4448 Causing a bunch of tests to fail on Windows, requires 4449 rebaselining (Requested by rfong on #webkit). 4450 4451 * WebKitClassFactory.cpp: 4452 (WebKitClassFactory::WebKitClassFactory): 4453 * WebView.cpp: 4454 (WebView::initWithFrame): 4455 (WebView::notifyPreferencesChanged): 4456 44572013-02-20 Roger Fong <roger_fong@apple.com> 4458 4459 Unreviewed. Remove references to SAFARI_THEME from Windows Solution. 4460 <rdar://problem/13258710> 4461 4462 * WebKitClassFactory.cpp: 4463 * WebView.cpp: 4464 44652013-02-19 Sheriff Bot <webkit.review.bot@gmail.com> 4466 4467 Unreviewed, rolling out r143338. 4468 http://trac.webkit.org/changeset/143338 4469 https://bugs.webkit.org/show_bug.cgi?id=110301 4470 4471 False alarm, no need to export the symbol (Requested by 4472 aandrey on #webkit). 4473 4474 * WebKit.vcproj/WebKitExports.def.in: 4475 44762013-02-19 Tony Chang <tony@chromium.org> 4477 4478 Unreviewed, force file to recompile to fix win build. 4479 4480 * WebView.cpp: 4481 44822013-02-19 Tony Chang <tony@chromium.org> 4483 4484 Unreviewed, fix the Windows build after r143398. 4485 Add new setters to the export list. 4486 4487 * WebKit.vcproj/WebKitExports.def.in: 4488 44892013-02-19 Andrey Adaikin <aandrey@chromium.org> 4490 4491 Unreviewed, adding external symbol ?didBeginFrame@InspectorCanvasAgent@WebCore@@QAEXXZ. 4492 4493 * WebKit.vcproj/WebKitExports.def.in: 4494 44952013-02-19 Andrey Adaikin <aandrey@chromium.org> 4496 4497 Unreviewed, Web Inspector: follow up to r143328 fixing Win Debug Build 4498 https://bugs.webkit.org/show_bug.cgi?id=110227 4499 4500 Adding external symbol ?didBeginFrame@InspectorCanvasAgent@WebCore@@QAEXXZ. 4501 4502 * WebKit.vcproj/WebKitExports.def.in: 4503 45042013-02-18 Simon Fraser <simon.fraser@apple.com> 4505 4506 Clean up the boolean argument to visibleContentRect 4507 https://bugs.webkit.org/show_bug.cgi?id=110167 4508 4509 Reviewed by Simon Fraser. 4510 4511 Replace the boolean argument to visibleContentRect() with 4512 an enum. 4513 4514 * WebFrame.cpp: 4515 (WebFrame::visibleContentRect): 4516 (WebFrame::frameBounds): 4517 45182013-02-18 Zan Dobersek <zdobersek@igalia.com> 4519 4520 Stop placing std::isfinite and std::signbit inside the global scope 4521 https://bugs.webkit.org/show_bug.cgi?id=109817 4522 4523 Reviewed by Darin Adler. 4524 4525 Prefix calls to the isfinite and signbit methods with std:: as the two 4526 methods are no longer being imported into the global scope. 4527 4528 * FullscreenVideoController.cpp: 4529 (timeToString): 4530 45312013-02-15 Rik Cabanier <cabanier@adobe.com> 4532 4533 Add platform support for -webkit-background-blend-mode to CG context 4534 https://bugs.webkit.org/show_bug.cgi?id=108549 4535 4536 Reviewed by Dean Jackson. 4537 4538 Fixed build issue. 4539 4540 * WebKit.vcproj/WebKitExports.def.in: 4541 45422013-02-15 Allan Sandfeld Jensen <allan.jensen@digia.com> 4543 4544 Simplify hitTestResultAtPoint and nodesFromRect APIs 4545 https://bugs.webkit.org/show_bug.cgi?id=95720 4546 4547 Reviewed by Julien Chaffraix. 4548 4549 Update calls to new API. 4550 4551 * WebActionPropertyBag.cpp: 4552 (WebActionPropertyBag::Read): 4553 * WebKit.vcproj/WebKitExports.def.in: 4554 * WebView.cpp: 4555 (WebView::handleContextMenuEvent): 4556 (WebView::elementAtPoint): 4557 45582013-02-14 Tony Chang <tony@chromium.org> 4559 4560 Unreviewed, set svn:eol-style native for .sln, .vcproj, and .vsprops files. 4561 https://bugs.webkit.org/show_bug.cgi?id=96934 4562 4563 * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style. 4564 * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style. 4565 * WebKit.vcproj/WebKitCFLite.vsprops: Added property svn:eol-style. 4566 * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Added property svn:eol-style. 4567 * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Added property svn:eol-style. 4568 * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Added property svn:eol-style. 4569 * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Added property svn:eol-style. 4570 * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Added property svn:eol-style. 4571 * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Added property svn:eol-style. 4572 * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Added property svn:eol-style. 4573 45742013-02-14 Tony Chang <tony@chromium.org> 4575 4576 Unreviewed, set svn:eol-style CRLF for .sln files. 4577 4578 * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style. 4579 * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style. 4580 45812013-02-14 Andrey Kosyakov <caseq@chromium.org> 4582 4583 Web Inspector: expose did{Begin,Cancel}Frame() and {will,did}Composite() on WebDebToolsAgent 4584 https://bugs.webkit.org/show_bug.cgi?id=109192 4585 4586 Reviewed by Pavel Feldman. 4587 4588 * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style. 4589 * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style. 4590 45912013-02-11 Ryosuke Niwa <rniwa@webkit.org> 4592 4593 Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface 4594 https://bugs.webkit.org/show_bug.cgi?id=109534 4595 4596 Reviewed by Anders Carlsson. 4597 4598 * WebCoreSupport/WebEditorClient.cpp: 4599 * WebCoreSupport/WebEditorClient.h: 4600 (WebEditorClient): 4601 46022013-02-11 Benjamin Poulain <benjamin@webkit.org> 4603 4604 Build fix for Windows after r142509 4605 4606 * WebKit.vcproj/WebKitExports.def.in: 4607 46082013-02-08 Benjamin Poulain <bpoulain@apple.com> 4609 4610 Move workerThreadCount from TestRunner to WebCore Internals 4611 https://bugs.webkit.org/show_bug.cgi?id=109239 4612 4613 Reviewed by Darin Adler. 4614 4615 * WebKit.vcproj/WebKitExports.def.in: 4616 46172013-02-07 Roger Fong <roger_fong@apple.com> 4618 4619 Unreviewed. Corrections the exports definition file. 4620 4621 * WebKit.vcproj/WebKitExports.def.in: 4622 46232013-02-05 Roger Fong <roger_fong@apple.com> 4624 4625 Unreviewed build fix. 4626 4627 * WebKit.vcproj/WebKitExports.def.in: 4628 46292013-02-05 Roger Fong <roger_fong@apple.com> 4630 4631 Unreviewed. Get rid of redundant exports in export definitions file. 4632 4633 * WebKit.vcproj/WebKitExports.def.in: 4634 46352013-02-01 Roger Fong <roger_fong@apple.com> 4636 4637 Unreviewed. Copy some resource files for VS2010 solution. 4638 https://bugs.webkit.org/show_bug.cgi?id=106989. 4639 4640 * WebKit.resources/WebKit.rc: Added. 4641 * WebKit.resources/deleteButton.png: Added. 4642 * WebKit.resources/deleteButtonPressed.png: Added. 4643 * WebKit.resources/fsVideoAudioVolumeHigh.png: Added. 4644 * WebKit.resources/fsVideoAudioVolumeLow.png: Added. 4645 * WebKit.resources/fsVideoExitFullscreen.png: Added. 4646 * WebKit.resources/fsVideoPause.png: Added. 4647 * WebKit.resources/fsVideoPlay.png: Added. 4648 * WebKit.resources/missingImage.png: Added. 4649 * WebKit.resources/nullplugin.png: Added. 4650 * WebKit.resources/panEastCursor.png: Added. 4651 * WebKit.resources/panIcon.png: Added. 4652 * WebKit.resources/panNorthCursor.png: Added. 4653 * WebKit.resources/panNorthEastCursor.png: Added. 4654 * WebKit.resources/panNorthWestCursor.png: Added. 4655 * WebKit.resources/panSouthCursor.png: Added. 4656 * WebKit.resources/panSouthEastCursor.png: Added. 4657 * WebKit.resources/panSouthWestCursor.png: Added. 4658 * WebKit.resources/panWestCursor.png: Added. 4659 * WebKit.resources/searchCancel.png: Added. 4660 * WebKit.resources/searchCancelPressed.png: Added. 4661 * WebKit.resources/searchMagnifier.png: Added. 4662 * WebKit.resources/searchMagnifierResults.png: Added. 4663 * WebKit.resources/textAreaResizeCorner.png: Added. 4664 * WebKit.resources/verticalTextCursor.png: Added. 4665 * WebKit.resources/zoomInCursor.png: Added. 4666 * WebKit.resources/zoomOutCursor.png: Added. 4667 46682013-02-04 Benjamin Poulain <bpoulain@apple.com> 4669 4670 Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals 4671 https://bugs.webkit.org/show_bug.cgi?id=108741 4672 4673 Reviewed by Tony Chang. 4674 4675 * WebKit.vcproj/WebKitExports.def.in: 4676 46772013-02-04 Enrica Casucci <enrica@apple.com> 4678 4679 Add specific EditActions for Bold and Italic commands. 4680 https://bugs.webkit.org/show_bug.cgi?id=108842. 4681 <rdar://problem/13098252> 4682 4683 Reviewed by Ryosuke Niwa. 4684 4685 * WebCoreSupport/WebEditorClient.cpp: 4686 (undoNameForEditAction): 4687 46882013-02-03 KwangYong Choi <ky0.choi@samsung.com> 4689 4690 Fix build warning after r141473 4691 https://bugs.webkit.org/show_bug.cgi?id=108782 4692 4693 Reviewed by Kentaro Hara. 4694 4695 Fix -Wunused-parameter build warning. 4696 4697 * WebCoreSupport/WebEditorClient.cpp: 4698 (WebEditorClient::getClientPasteboardDataForRange): 4699 47002013-02-01 Philip Rogers <pdr@google.com> 4701 4702 Change hasAlpha to isKnownToBeOpaque and correct the return value for SVG images. 4703 https://bugs.webkit.org/show_bug.cgi?id=106966 4704 4705 Reviewed by Stephen White. 4706 4707 * WebKit.vcproj/WebKitExports.def.in: 4708 47092013-01-31 Aurimas Liutikas <aurimas@chromium.org> 4710 4711 Editor::m_compositionNode not updated on HTMLInputElement::setValue() 4712 https://bugs.webkit.org/show_bug.cgi?id=107737 4713 4714 Reviewed by Ryosuke Niwa. 4715 4716 * WebView.cpp: 4717 (WebView::updateSelectionForIME): 4718 Adding a call to the newly refactored method. 4719 47202013-01-31 Sheriff Bot <webkit.review.bot@gmail.com> 4721 4722 Unreviewed, rolling out r141479. 4723 http://trac.webkit.org/changeset/141479 4724 https://bugs.webkit.org/show_bug.cgi?id=108564 4725 4726 breaks chromium test (Requested by morrita on #webkit). 4727 4728 * WebView.cpp: 4729 (WebView::updateSelectionForIME): 4730 47312013-01-31 Aurimas Liutikas <aurimas@chromium.org> 4732 4733 Editor::m_compositionNode not updated on HTMLInputElement::setValue() 4734 https://bugs.webkit.org/show_bug.cgi?id=107737 4735 4736 Reviewed by Ryosuke Niwa. 4737 4738 * WebView.cpp: 4739 (WebView::updateSelectionForIME): 4740 Adding a call to the newly refactored method. 4741 47422013-01-31 Enrica Casucci <enrica@apple.com> 4743 4744 WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access. 4745 https://bugs.webkit.org/show_bug.cgi?id=108396. 4746 <rdar://problem/12920461> 4747 4748 Reviewed by Alexey Proskuryakov. 4749 4750 Adds stub implementation for WebKit of the new EditorClient methods. 4751 4752 * WebCoreSupport/WebEditorClient.cpp: 4753 (WebEditorClient::willWriteSelectionToPasteboard): 4754 (WebEditorClient::getClientPasteboardDataForRange): 4755 * WebCoreSupport/WebEditorClient.h: 4756 47572013-01-29 Shinya Kawanaka <shinyak@chromium.org> 4758 4759 [Chromium] Cannot copy text when selecting readonly (or disabled) input elements 4760 https://bugs.webkit.org/show_bug.cgi?id=106287 4761 4762 Reviewed by Hajime Morita. 4763 4764 * WebKit.vcproj/WebKitExports.def.in: 4765 47662013-01-29 Elliott Sprehn <esprehn@chromium.org> 4767 4768 Refactor ShadowRoot exception handling 4769 https://bugs.webkit.org/show_bug.cgi?id=108209 4770 4771 Reviewed by Dimitri Glazkov. 4772 4773 * WebKit.vcproj/WebKitExports.def.in: Swap ShadowRoot::create export with Element::createShadowRoot. 4774 47752013-01-29 Nate Chapin <japhet@chromium.org> 4776 4777 Enable reuse of cached main resources 4778 https://bugs.webkit.org/show_bug.cgi?id=105667 4779 4780 Reviewed by Adam Barth. 4781 4782 * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals. 4783 47842013-01-27 Zoltan Arvai <zarvai@inf.u-szeged.hu> 4785 4786 Fixing atomicIncrement implementation for Windows by dropping support before XP SP2. 4787 https://bugs.webkit.org/show_bug.cgi?id=106740 4788 4789 Reviewed by Benjamin Poulain. 4790 4791 * WebKitPrefix.h: 4792 47932013-01-26 Alexey Proskuryakov <ap@apple.com> 4794 4795 Remove code for handling NetworkProcess authentication challenges in WebProcess 4796 https://bugs.webkit.org/show_bug.cgi?id=108003 4797 4798 Reviewed by Sam Weinig. 4799 4800 * WebURLAuthenticationChallenge.cpp: 4801 (WebURLAuthenticationChallenge::initWithProtectionSpace): 4802 Adapted for new AuthenticationChallenge constructor signature. 4803 48042013-01-24 Mark Hahnenberg <mhahnenberg@apple.com> 4805 4806 Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h 4807 https://bugs.webkit.org/show_bug.cgi?id=107327 4808 4809 Reviewed by Filip Pizlo. 4810 4811 We're renaming these two files, so we have to replace the names everywhere. 4812 4813 * WebFrame.cpp: 4814 * WebView.cpp: 4815 48162013-01-23 Tony Chang <tony@chromium.org> 4817 4818 Unreviewed, set svn:eol-style to CRLF on Windows .sln files. 4819 4820 * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style. 4821 * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style. 4822 48232013-01-23 Pavel Feldman <pfeldman@chromium.org> 4824 4825 Follow up to 140539, adding exports for Win build. 4826 4827 Not reviewed. 4828 4829 * WebKit.vcproj/WebKitExports.def.in: 4830 48312013-01-22 Anders Carlsson <andersca@apple.com> 4832 4833 Use a platforom strategy for local storage 4834 https://bugs.webkit.org/show_bug.cgi?id=107600 4835 4836 Reviewed by Andreas Kling. 4837 4838 Update for new storage strategy. 4839 4840 * WebCoreSupport/WebPlatformStrategies.cpp: 4841 (WebPlatformStrategies::createStorageStrategy): 4842 * WebCoreSupport/WebPlatformStrategies.h: 4843 (WebPlatformStrategies): 4844 48452013-01-18 Jer Noble <jer.noble@apple.com> 4846 4847 Unreviewed build fix. Remove deleted symbol from windows export list. 4848 4849 * WebKit.vcproj/WebKitExports.def.in: 4850 48512013-01-18 Seokju Kwon <seokju.kwon@gmail.com> 4852 4853 Add explicit keyword to constructors in platform-specific InspectorClient 4854 https://bugs.webkit.org/show_bug.cgi?id=107255 4855 4856 Reviewed by Kentaro Hara. 4857 4858 Add explicit keyword to constructors that take one argument 4859 in platform-specific implementation of InspectorClient. 4860 4861 * WebCoreSupport/WebInspectorClient.h: 4862 (WebInspectorClient): 4863 48642013-01-18 Sheriff Bot <webkit.review.bot@gmail.com> 4865 4866 Unreviewed, rolling out r140005. 4867 http://trac.webkit.org/changeset/140005 4868 https://bugs.webkit.org/show_bug.cgi?id=107235 4869 4870 broke downstream Chromium interactive_ui_tests (Requested by 4871 dominicc on #webkit). 4872 4873 * WebKit.vcproj/WebKitExports.def.in: 4874 48752013-01-17 Nate Chapin <japhet@chromium.org> 4876 4877 Enable reuse of cached main resources 4878 https://bugs.webkit.org/show_bug.cgi?id=105667 4879 4880 Reviewed by Antti Koivisto. 4881 4882 * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals. 4883 48842013-01-15 peavo@outlook.com <peavo@outlook.com> 4885 4886 Crash when saving history with no items in it. 4887 https://bugs.webkit.org/show_bug.cgi?id=104261 4888 4889 Reviewed by Darin Adler. 4890 4891 * WebHistory.cpp: 4892 (WebHistory::saveHistoryGuts): Added null pointer check 4893 48942013-01-09 Levi Weintraub <leviw@chromium.org> 4895 4896 Rolling out r139683. It broke a bunch of webkit_unit_tests. 4897 48982013-01-09 Hajime Morrita <morrita@google.com> 4899 4900 [Shadow DOM] Distribution related code on ElementShadow should be minimized. 4901 https://bugs.webkit.org/show_bug.cgi?id=106294 4902 4903 Reviewed by Dimitri Glazkov. 4904 4905 * WebKit.vcproj/WebKit.def.in: 4906 49072013-01-09 Roger Fong <roger_fong@apple.com> 4908 4909 Rename export files to make them more easily findable. 4910 https://bugs.webkit.org/show_bug.cgi?id=98695. 4911 4912 Reviewed by Timothy Horton. 4913 4914 * WebKit.vcproj/WebKit.def.in: Removed. 4915 * WebKit.vcproj/WebKit.vcproj: 4916 * WebKit.vcproj/WebKitExportGenerator.vcproj: 4917 * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd: 4918 * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd: 4919 * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd: 4920 * WebKit.vcproj/WebKitExports.def.in: Copied from Source/WebKit/win/WebKit.vcproj/WebKit.def.in. 4921 * WebKit.vcproj/WebKitLibCommon.vsprops: 4922 49232013-01-09 Roger Fong <roger_fong@apple.com> 4924 4925 Add WebPreferences for Seamless IFrames on Windows port. 4926 https://bugs.webkit.org/show_bug.cgi?id=106468. 4927 4928 Rubberstamped by Eric Seidel. 4929 4930 * Interfaces/IWebPreferences.idl: 4931 * WebPreferenceKeysPrivate.h: 4932 * WebPreferences.cpp: 4933 (WebPreferences::areSeamlessIFramesEnabled): 4934 (WebPreferences::setSeamlessIFramesEnabled): 4935 * WebPreferences.h: 4936 (WebPreferences): 4937 * WebView.cpp: 4938 (WebView::notifyPreferencesChanged): 4939 49402013-01-09 peavo@outlook.com <peavo@outlook.com> 4941 4942 [WinCairo] Link fix after r138759 4943 https://bugs.webkit.org/show_bug.cgi?id=106323 4944 4945 Reviewed by Kentaro Hara. 4946 4947 * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Include WebKitCFLite.vsprops. 4948 * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Include WebKitCFLite.vsprops. 4949 49502013-01-08 Hajime Morrita <morrita@google.com> 4951 4952 [Shadow DOM] Distribution related code on ShadowRoot should be minimized. 4953 https://bugs.webkit.org/show_bug.cgi?id=106282 4954 4955 Reviewed by Dimitri Glazkov. 4956 4957 * WebKit.vcproj/WebKit.def.in: 4958 49592013-01-08 Mark Lam <mark.lam@apple.com> 4960 4961 Removed the need for the ProposedDatabase mechanism. 4962 https://bugs.webkit.org/show_bug.cgi?id=106292. 4963 4964 Reviewed by Sam Weinig. 4965 4966 * WebCoreSupport/WebChromeClient.cpp: 4967 (WebChromeClient::exceededDatabaseQuota): 4968 * WebCoreSupport/WebChromeClient.h: 4969 (WebChromeClient): 4970 49712013-01-04 Roger Fong <roger_fong@apple.com> 4972 4973 Make private browsing work on Windows. 4974 https://bugs.webkit.org/show_bug.cgi?id=106032. 4975 4976 Reviewed by Alexey Proskuryakov. 4977 4978 Code path never called ensurePrivateBrowsingSession which is what starts up the private browsing session. 4979 This was causing many tests to involving private browsing to fail. 4980 4981 * WebView.cpp: 4982 (WebView::notifyPreferencesChanged): 4983 49842013-01-03 Roger Fong <roger_fong@apple.com> 4985 4986 Remove all traces of Windows from WebKit2 folder. 4987 https://bugs.webkit.org/show_bug.cgi?id=105585. 4988 4989 Reviewed by Sam Weinig. 4990 4991 WebKitExportGenerator project needs to be moved out of the WebKit2/win folder and into WebKit/win. 4992 4993 * WebKit.vcproj/WebKit.def.in: Added. 4994 * WebKit.vcproj/WebKit.sln: 4995 * WebKit.vcproj/WebKit.vcproj: 4996 * WebKit.vcproj/WebKitCFLite.vsprops: Added. 4997 * WebKit.vcproj/WebKitExportGenerator.vcproj: Added. 4998 * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd: Added. 4999 * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Added. 5000 * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Added. 5001 * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Added. 5002 * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Added. 5003 * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd: Added. 5004 * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd: Added. 5005 * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Added. 5006 * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Added. 5007 * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Added. 5008 * WebKit.vcproj/WebKitLibCommon.vsprops: 5009 50102013-01-03 Csaba Osztrogonác <ossy@webkit.org> 5011 5012 Unreviewed fix after r138656 to make GIT-SVN repositories happy. 5013 5014 * WebKit.vcproj/WebKitApple.vsprops: Added property svn:eol-style. Removed property svn:mime-type. 5015 * WebKit.vcproj/WebKitDirectX.vsprops: Added property svn:eol-style. Removed property svn:mime-type. 5016 50172013-01-02 Roger Fong <roger_fong@apple.com> 5018 5019 Unreviewed. Build fix after reintroducing r138331. 5020 5021 Attempted to remove WebKit2 from Apple Windows port in r138331 but two vsprops files were missing. 5022 5023 * WebKit.vcproj/WebKitApple.vsprops: Added. 5024 * WebKit.vcproj/WebKitDirectX.vsprops: Added. 5025 50262013-01-02 Sheriff Bot <webkit.review.bot@gmail.com> 5027 5028 Unreviewed, rolling out r138403. 5029 http://trac.webkit.org/changeset/138403 5030 https://bugs.webkit.org/show_bug.cgi?id=105950 5031 5032 Fixing e138331 which was rolled out in r138403 (Requested by 5033 rfong on #webkit). 5034 5035 * WebKit.vcproj/WebKit.sln: 5036 * WebKit.vcproj/WebKit.vcproj: 5037 * WebKit.vcproj/WebKitLibCommon.vsprops: 5038 * WebKit.vcproj/WebKitLibDebug.vsprops: 5039 * WebKit.vcproj/WebKitLibDebugAll.vsprops: 5040 * WebKit.vcproj/WebKitLibProduction.vsprops: 5041 * WebKit.vcproj/WebKitLibRelease.vsprops: 5042 50432012-12-23 Alexey Proskuryakov <ap@apple.com> 5044 5045 <rdar://problem/12808377> Network process should respect cookie accept policy 5046 https://bugs.webkit.org/show_bug.cgi?id=105684 5047 5048 Reviewed by Sam Weinig. 5049 5050 * WebCoreSupport/WebPlatformStrategies.cpp: 5051 * WebCoreSupport/WebPlatformStrategies.h: 5052 CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway. 5053 50542012-12-22 Alexey Proskuryakov <ap@apple.com> 5055 5056 Add a separate class for networking related storage 5057 https://bugs.webkit.org/show_bug.cgi?id=105676 5058 5059 Reviewed by Sam Weinig. 5060 5061 * WebCookieManagerCFNet.cpp: 5062 * WebView.cpp: 5063 Updated includes. 5064 5065 * WebCoreSupport/WebFrameNetworkingContext.cpp: 5066 * WebCoreSupport/WebFrameNetworkingContext.h: 5067 This class is now simpler, with most session tracking being in WebCore. 5068 5069 * WebCoreSupport/WebPlatformStrategies.cpp: 5070 (WebPlatformStrategies::cookiesForDOM): 5071 (WebPlatformStrategies::setCookiesFromDOM): 5072 (WebPlatformStrategies::cookiesEnabled): 5073 (WebPlatformStrategies::cookieRequestHeaderFieldValue): 5074 (WebPlatformStrategies::getRawCookies): 5075 (WebPlatformStrategies::deleteCookie): 5076 * WebCoreSupport/WebPlatformStrategies.h: 5077 We no longer need a function for default storage! Other functions now take a session. 5078 50792012-12-21 Sheriff Bot <webkit.review.bot@gmail.com> 5080 5081 Unreviewed, rolling out r138331. 5082 http://trac.webkit.org/changeset/138331 5083 https://bugs.webkit.org/show_bug.cgi?id=105668 5084 5085 Broke Windows clean builds; can't figure out how to fix it 5086 (Requested by rniwa on #webkit). 5087 5088 * WebKit.vcproj/WebKit.sln: 5089 * WebKit.vcproj/WebKit.vcproj: 5090 * WebKit.vcproj/WebKitLibCommon.vsprops: 5091 * WebKit.vcproj/WebKitLibDebug.vsprops: 5092 * WebKit.vcproj/WebKitLibDebugAll.vsprops: 5093 * WebKit.vcproj/WebKitLibProduction.vsprops: 5094 * WebKit.vcproj/WebKitLibRelease.vsprops: 5095 50962012-12-20 Anders Carlsson <andersca@apple.com> 5097 5098 Stop building WebKit2 for Windows 5099 https://bugs.webkit.org/show_bug.cgi?id=105585 5100 5101 Reviewed by Brian Weinstein. 5102 5103 Stop building WebKit2 on Windows, and change WebKit.vcproj to build WebKit.dll again. 5104 5105 * WebKit.vcproj/WebKit.sln: 5106 * WebKit.vcproj/WebKit.vcproj: 5107 * WebKit.vcproj/WebKitApple.vsprops: Added. 5108 * WebKit.vcproj/WebKitDirectX.vsprops: Added. 5109 * WebKit.vcproj/WebKitLibCommon.vsprops: 5110 * WebKit.vcproj/WebKitLibDebug.vsprops: 5111 * WebKit.vcproj/WebKitLibDebugAll.vsprops: 5112 * WebKit.vcproj/WebKitLibProduction.vsprops: 5113 * WebKit.vcproj/WebKitLibRelease.vsprops: 5114 51152012-12-20 Anders Carlsson <andersca@apple.com> 5116 5117 Copy WebKit2.rc to back to WebKit/win/WebKit.vcproj. 5118 5119 Rubber-stamped by Tim Horton. 5120 5121 * WebKit.vcproj/WebKit.rc: Added. 5122 51232012-12-20 Anders Carlsson <andersca@apple.com> 5124 5125 Copy files from WebKit2/win (back) to WebKit/win/WebKit.vcproj. 5126 5127 Rubber-stamped by Tim Horton. 5128 5129 * WebKit.vcproj/deleteButton.png: Added. 5130 * WebKit.vcproj/deleteButtonPressed.png: Added. 5131 * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Added. 5132 * WebKit.vcproj/fsVideoAudioVolumeLow.png: Added. 5133 * WebKit.vcproj/fsVideoExitFullscreen.png: Added. 5134 * WebKit.vcproj/fsVideoPause.png: Added. 5135 * WebKit.vcproj/fsVideoPlay.png: Added. 5136 * WebKit.vcproj/missingImage.png: Added. 5137 * WebKit.vcproj/nullplugin.png: Added. 5138 * WebKit.vcproj/panEastCursor.png: Added. 5139 * WebKit.vcproj/panIcon.png: Added. 5140 * WebKit.vcproj/panNorthCursor.png: Added. 5141 * WebKit.vcproj/panNorthEastCursor.png: Added. 5142 * WebKit.vcproj/panNorthWestCursor.png: Added. 5143 * WebKit.vcproj/panSouthCursor.png: Added. 5144 * WebKit.vcproj/panSouthEastCursor.png: Added. 5145 * WebKit.vcproj/panSouthWestCursor.png: Added. 5146 * WebKit.vcproj/panWestCursor.png: Added. 5147 * WebKit.vcproj/searchCancel.png: Added. 5148 * WebKit.vcproj/searchCancelPressed.png: Added. 5149 * WebKit.vcproj/searchMagnifier.png: Added. 5150 * WebKit.vcproj/searchMagnifierResults.png: Added. 5151 * WebKit.vcproj/textAreaResizeCorner.png: Added. 5152 * WebKit.vcproj/verticalTextCursor.png: Added. 5153 * WebKit.vcproj/zoomInCursor.png: Added. 5154 * WebKit.vcproj/zoomOutCursor.png: Added. 5155 51562012-12-19 Anders Carlsson <andersca@apple.com> 5157 5158 Build WebKit2ExportGenerator before WebKitLib 5159 https://bugs.webkit.org/show_bug.cgi?id=105487 5160 5161 Reviewed by Tim Horton. 5162 5163 * WebKit.vcproj/WebKit.sln: 5164 51652012-12-18 Alexey Proskuryakov <ap@apple.com> 5166 5167 Remove unnecessary functions from CookiesStrategy 5168 https://bugs.webkit.org/show_bug.cgi?id=105369 5169 5170 Reviewed by Brady Eidson. 5171 5172 * WebCoreSupport/WebPlatformStrategies.cpp: 5173 * WebCoreSupport/WebPlatformStrategies.h: 5174 51752012-12-15 Anders Carlsson <andersca@apple.com> 5176 5177 Rename FrameLoaderClient::download to convertMainResourceLoadToDownload 5178 https://bugs.webkit.org/show_bug.cgi?id=105122 5179 5180 Reviewed by Andreas Kling. 5181 5182 Update for WebCore changes. 5183 5184 * WebFrame.cpp: 5185 (WebFrame::convertMainResourceLoadToDownload): 5186 * WebFrame.h: 5187 51882012-12-15 Mark Lam <mark.lam@apple.com> 5189 5190 Re-landing patch for "Introducing the DatabaseStrategy and database servers". 5191 https://bugs.webkit.org/show_bug.cgi?id=104934. 5192 5193 Not reviewed. 5194 5195 Merged from r137767. Previously reviewed by Sam Weinig. 5196 5197 * WebCoreSupport/WebPlatformStrategies.cpp: 5198 (WebPlatformStrategies::createDatabaseStrategy): 5199 * WebCoreSupport/WebPlatformStrategies.h: 5200 (WebPlatformStrategies): 5201 52022012-12-14 Mark Lam <mark.lam@apple.com> 5203 5204 The WebView should initialize the platform strategies before initializing other sub-systems. 5205 https://bugs.webkit.org/show_bug.cgi?id=105083. 5206 5207 Reviewed by Alexey Proskuryakov. 5208 5209 * WebView.cpp: 5210 (WebView::initWithFrame): 5211 52122012-12-14 Sheriff Bot <webkit.review.bot@gmail.com> 5213 5214 Unreviewed, rolling out r137767. 5215 http://trac.webkit.org/changeset/137767 5216 https://bugs.webkit.org/show_bug.cgi?id=105062 5217 5218 Broke Mac builds. (Requested by mlam on #webkit). 5219 5220 * WebCoreSupport/WebPlatformStrategies.cpp: 5221 * WebCoreSupport/WebPlatformStrategies.h: 5222 (WebPlatformStrategies): 5223 52242012-12-14 Mark Lam <mark.lam@apple.com> 5225 5226 Introducing the DatabaseStrategy and database servers. 5227 https://bugs.webkit.org/show_bug.cgi?id=104934. 5228 5229 Reviewed by Sam Weinig. 5230 5231 The database server is currently a placeholder that does nothing. 5232 5233 * WebCoreSupport/WebPlatformStrategies.cpp: 5234 (WebPlatformStrategies::createDatabaseStrategy): 5235 * WebCoreSupport/WebPlatformStrategies.h: 5236 (WebPlatformStrategies): 5237 52382012-12-13 Alexey Proskuryakov <ap@apple.com> 5239 5240 <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing 5241 https://bugs.webkit.org/show_bug.cgi?id=104691 5242 5243 Reviewed by Sam Weinig. 5244 5245 * WebCoreSupport/WebFrameNetworkingContext.cpp: 5246 (WebFrameNetworkingContext::inPrivateBrowsingMode): 5247 (WebFrameNetworkingContext::storageSession): 5248 * WebCoreSupport/WebFrameNetworkingContext.h: 5249 Implemented inPrivateBrowsingMode(). 5250 52512012-12-12 Mark Lam <mark.lam@apple.com> 5252 5253 Encapsulate externally used webdatabase APIs in DatabaseManager. 5254 https://bugs.webkit.org/show_bug.cgi?id=104741. 5255 5256 Reviewed by Sam Weinig. 5257 5258 Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase, 5259 and DatabaseContext directly. This is to prepare for upcoming webkit2 5260 refactoring. 5261 5262 * WebDatabaseManager.cpp: 5263 (WebDatabaseManager::sharedWebDatabaseManager): 5264 (WebDatabaseManager::origins): 5265 (WebDatabaseManager::databasesWithOrigin): 5266 (WebDatabaseManager::detailsForDatabase): 5267 (WebDatabaseManager::deleteAllDatabases): 5268 (WebDatabaseManager::deleteOrigin): 5269 (WebDatabaseManager::deleteDatabase): 5270 (WebDatabaseManager::setQuota): 5271 (WebKitInitializeWebDatabasesIfNecessary): 5272 * WebDatabaseManager.h: 5273 (WebDatabaseManager): 5274 * WebSecurityOrigin.cpp: 5275 (WebSecurityOrigin::usage): 5276 (WebSecurityOrigin::quota): 5277 (WebSecurityOrigin::setQuota): 5278 * WebView.cpp: 5279 (WebView::notifyPreferencesChanged): 5280 52812012-12-12 Alexey Proskuryakov <ap@apple.com> 5282 5283 Make LOG() work in WebProcess and NetworkProcess 5284 https://bugs.webkit.org/show_bug.cgi?id=104718 5285 5286 Reviewed by Tim Horton. 5287 5288 * WebView.cpp: Updated for a new include file to use in WebKits. 5289 52902012-12-11 Mike West <mkwst@chromium.org> 5291 5292 Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector. 5293 https://bugs.webkit.org/show_bug.cgi?id=66371 5294 5295 Reviewed by Pavel Feldman. 5296 5297 Drops WebCore::MessageType from the addMessageToConsole method. 5298 5299 * WebCoreSupport/WebChromeClient.cpp: 5300 (WebChromeClient::addMessageToConsole): 5301 * WebCoreSupport/WebChromeClient.h: 5302 (WebChromeClient): 5303 53042012-12-10 Xueqing Huang <huangxueqing@baidu.com> 5305 5306 ASSERTION failed in Windows: css3/css3-modsel-33.html 5307 https://bugs.webkit.org/show_bug.cgi?id=104472 5308 5309 Reviewed by Tim Horton. 5310 5311 In WebFrameLoaderClient::dispatchDidLayout, milestones maybe 5312 DidFirstLayout & DidFirstVisualNonEmptyLayout, we should 5313 use seperate COMPtrs for the two cases rather than reuse one. 5314 5315 * WebCoreSupport/WebFrameLoaderClient.cpp: 5316 (WebFrameLoaderClient::dispatchDidLayout): 5317 53182012-12-08 Seokju Kwon <seokju.kwon@gmail.com> 5319 5320 Remove unused headers 5321 https://bugs.webkit.org/show_bug.cgi?id=104428 5322 5323 Reviewed by Kentaro Hara. 5324 5325 Header inclusion cleanup. 5326 Remove <WebCore/NotImplement.h>. 5327 5328 * WebCoreSupport/WebInspectorClient.cpp: 5329 * WebMutableURLRequest.cpp: 5330 53312012-12-07 Anders Carlsson <andersca@apple.com> 5332 5333 Remove WebKit2 related projects from WebKit.sln 5334 https://bugs.webkit.org/show_bug.cgi?id=104395 5335 5336 Reviewed by Tim Horton. 5337 5338 * WebKit.vcproj/WebKit.sln: 5339 53402012-11-30 Brent Fulgham <bfulgham@webkit.org> 5341 5342 [Windows, WinCairo] Generate library export definition file. 5343 https://bugs.webkit.org/show_bug.cgi?id=103687 5344 5345 Reviewed by Tim Horton. 5346 5347 Update project solutions to use the new generated *.def files. 5348 5349 * WebKit.vcproj/WebKit.sln: Update for new project and file 5350 locations. 5351 53522012-11-30 Mihai Maerean <mmaerean@adobe.com> 5353 5354 [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled 5355 https://bugs.webkit.org/show_bug.cgi?id=101192 5356 5357 Reviewed by Hajime Morita. 5358 5359 Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures. 5360 5361 Tests: No new tests because there is no functional change. 5362 5363 * WebView.cpp: 5364 (WebView::notifyPreferencesChanged): 5365 53662012-11-29 Alexey Proskuryakov <ap@apple.com> 5367 5368 [WK2] Forward cookie jar calls to NetworkProcess 5369 https://bugs.webkit.org/show_bug.cgi?id=103457 5370 5371 Reviewed by Darin Adler. 5372 5373 * WebCoreSupport/WebPlatformStrategies.cpp: 5374 (WebPlatformStrategies::cookiesForDOM): 5375 (WebPlatformStrategies::setCookiesFromDOM): 5376 (WebPlatformStrategies::cookiesEnabled): 5377 (WebPlatformStrategies::cookieRequestHeaderFieldValue): 5378 (WebPlatformStrategies::getRawCookies): 5379 (WebPlatformStrategies::deleteCookie): 5380 (WebPlatformStrategies::getHostnamesWithCookies): 5381 (WebPlatformStrategies::deleteCookiesForHostname): 5382 (WebPlatformStrategies::deleteAllCookies): 5383 53842012-11-27 James Simonsen <simonjam@chromium.org> 5385 5386 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest 5387 https://bugs.webkit.org/show_bug.cgi?id=102151 5388 5389 Reviewed by Adam Barth. 5390 5391 * WebFrame.cpp: 5392 (WebFrame::loadRequest): 5393 (WebFrame::loadData): 5394 53952012-11-27 Sheriff Bot <webkit.review.bot@gmail.com> 5396 5397 Unreviewed, rolling out r135786. 5398 http://trac.webkit.org/changeset/135786 5399 https://bugs.webkit.org/show_bug.cgi?id=103379 5400 5401 It made 3 plugin tests timeout on several platforms (Requested 5402 by Ossy on #webkit). 5403 5404 * WebFrame.cpp: 5405 (WebFrame::loadRequest): 5406 (WebFrame::loadData): 5407 54082012-11-26 James Simonsen <simonjam@chromium.org> 5409 5410 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest 5411 https://bugs.webkit.org/show_bug.cgi?id=102151 5412 5413 Reviewed by Adam Barth. 5414 5415 * WebFrame.cpp: 5416 (WebFrame::loadRequest): 5417 (WebFrame::loadData): 5418 54192012-11-21 Allan Sandfeld Jensen <allan.jensen@digia.com> 5420 5421 Disambiguate innerNodeFramePoint and mainFramePoint 5422 https://bugs.webkit.org/show_bug.cgi?id=98139 5423 5424 Reviewed by Julien Chaffraix. 5425 5426 * WebView.cpp: 5427 (WebView::handleContextMenuEvent): 5428 54292012-11-20 Sheriff Bot <webkit.review.bot@gmail.com> 5430 5431 Unreviewed, rolling out r135295. 5432 http://trac.webkit.org/changeset/135295 5433 https://bugs.webkit.org/show_bug.cgi?id=102834 5434 5435 This patch causes assertion to some layout tests on chromium 5436 (Requested by jianli on #webkit). 5437 5438 * WebFrame.cpp: 5439 (WebFrame::loadRequest): 5440 (WebFrame::loadData): 5441 54422012-11-20 James Simonsen <simonjam@chromium.org> 5443 5444 Consolidate FrameLoader::load() into one function taking a FrameLoadRequest 5445 https://bugs.webkit.org/show_bug.cgi?id=102151 5446 5447 Reviewed by Adam Barth. 5448 5449 * WebFrame.cpp: 5450 (WebFrame::loadRequest): 5451 (WebFrame::loadData): 5452 54532012-11-17 Brady Eidson <beidson@apple.com> 5454 5455 Add an integer identifier field to AuthenticationChallengeBase. 5456 https://bugs.webkit.org/show_bug.cgi?id=102593 5457 5458 Reviewed by Darin Adler. 5459 5460 * WebURLAuthenticationChallenge.cpp: 5461 (WebURLAuthenticationChallenge::initWithProtectionSpace): Adopt the new constructor with a dummy identifier. 5462 54632012-11-16 Brent Fulgham <bfulgham@webkit.org> 5464 5465 [WinCairo] Unreviewed build fix after r134960. 5466 5467 Avoid including Mac-specific headers. 5468 5469 * WebCoreSupport/WebFrameNetworkingContext.cpp: Stub out 5470 CFNetwork-based implementations. 5471 * WebCoreSupport/WebFrameNetworkingContext.h: Exclude 5472 CFNetwork data types. 5473 * WebCoreSupport/WebPlatformStrategies.cpp: Stub out 5474 CFNetwork-based implementations. 5475 * WebCoreSupport/WebPlatformStrategies.h: Exclude 5476 CFNetwork data types. 5477 54782012-11-15 Alexey Proskuryakov <ap@apple.com> 5479 5480 Private Browsing is a per-page setting that sets a global value 5481 https://bugs.webkit.org/show_bug.cgi?id=67870 5482 5483 Reviewed by Sam Weinig. 5484 5485 * WebCookieManagerCFNet.cpp: (WebCookieManager::cookieStorage): We can't get 5486 current session without any context, but the code was not correct anyway, the client 5487 is clearly interested in a getter to match override setter. 5488 5489 * WebCoreSupport/WebFrameNetworkingContext.cpp: Moved code for tracking global 5490 sessions from WebCore to WebKit. The behavior is unchanged, but lower levels are 5491 now cleaner. 5492 5493 * WebCoreSupport/WebFrameNetworkingContext.h: Ditto. 5494 5495 * WebCoreSupport/WebPlatformStrategies.h: 5496 * WebCoreSupport/WebPlatformStrategies.cpp: 5497 (WebPlatformStrategies::defaultCookieStorage): Added. Use WebFrameNetworkingContext 5498 for tracking the default session. 5499 5500 * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): 5501 Use WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts. Updating only 5502 the current session is not sufficient, and did not match Mac. 5503 55042012-11-14 George Tsoumalis <tsumalis96@gmail.com> 5505 5506 Implementation for mehods in WebMutableURLRequest.cpp 5507 https://bugs.webkit.org/show_bug.cgi?id=83671 5508 5509 Reviewed by Brent Fulgham.. 5510 5511 * WebMutableURLRequest.cpp: 5512 (WebMutableURLRequest::addValue): 5513 (WebMutableURLRequest::setMainDocumentURL): 5514 (WebMutableURLRequest::setHTTPShouldHandleCookies): 5515 5516 55172012-11-12 Roger Fong <roger_fong@apple.com> 5518 5519 REGRESSION(r130643): Assertion failure when running DRT in debug mode 5520 https://bugs.webkit.org/show_bug.cgi?id=101791 5521 5522 Reviewed by Darin Adler. 5523 5524 When running DRT in debug mode, we hit an assertion failure in initializing the WebKit instance. 5525 This failure started occuring in r130643 and this work around follows the work around in r132302. 5526 5527 * WebKitCOMAPI.cpp: 5528 (CLSIDHashTraits): 5529 55302012-11-12 Roger Fong <roger_fong@apple.com> 5531 5532 Web Inspector: Fix docking behaviour on Windows. 5533 https://bugs.webkit.org/show_bug.cgi?id=101978 5534 5535 Reviewed by Brian Weinstein. 5536 5537 There are a number of problems with docking behaviour on Windows. 5538 For starters, it does not ever constrain the inspector's size properly while docked. 5539 It also does not properly set the whether or not the inspector can be docked/undocked. 5540 This patch fixes both issues. 5541 5542 * WebCoreSupport/WebInspectorClient.cpp: 5543 (WebInspectorFrontendClient::frontendLoaded): 5544 (WebInspectorFrontendClient::attachWindow): 5545 Call restoreAttachedWindowHeight so that when first loading or reattaching the inspector, 5546 we resize the inspector window properly. 5547 55482012-11-05 Simon Fraser <simon.fraser@apple.com> 5549 5550 Fix layer borders to cleaning appear and disappear on switching 5551 https://bugs.webkit.org/show_bug.cgi?id=101136 5552 5553 Reviewed by Sam Weinig. 5554 5555 Remove the GraphicsLayerClient methods showDebugBorders() and 5556 showRepaintCounter(). 5557 5558 * WebView.cpp: 5559 * WebView.h: 5560 55612012-10-29 Anders Carlsson <andersca@apple.com> 5562 5563 String::createCFString should return a RetainPtr 5564 https://bugs.webkit.org/show_bug.cgi?id=100419 5565 5566 Reviewed by Andreas Kling. 5567 5568 Update callers of String::createCFString. 5569 5570 * WebCoreSupport/WebFrameLoaderClient.cpp: 5571 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): 5572 * WebDatabaseManager.cpp: 5573 (WebDatabaseManager::dispatchDidModifyDatabase): 5574 * WebHistory.cpp: 5575 (WebHistory::visitedURL): 5576 (WebHistory::itemForURLString): 5577 * WebHistoryItem.cpp: 5578 (WebHistoryItem::dictionaryRepresentation): 5579 * WebIconDatabase.cpp: 5580 (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey): 5581 (postDidAddIconNotification): 5582 * WebLocalizableStrings.cpp: 5583 (createWebKitBundle): 5584 (copyLocalizedStringFromBundle): 5585 * WebPreferences.cpp: 5586 (WebPreferences::initializeDefaultSettings): 5587 * WebView.cpp: 5588 (WebView::setCacheModel): 5589 (WebView::notifyPreferencesChanged): 5590 55912012-10-24 Brady Eidson <beidson@apple.com> 5592 5593 Add a strategy for loader customization. 5594 https://bugs.webkit.org/show_bug.cgi?id=100278 5595 5596 Reviewed by Alexey Proskuryakov. 5597 5598 * WebCoreSupport/WebPlatformStrategies.cpp: 5599 (WebPlatformStrategies::createLoaderStrategy): 5600 * WebCoreSupport/WebPlatformStrategies.h: 5601 (WebPlatformStrategies): 5602 56032012-10-23 Alexey Proskuryakov <ap@apple.com> 5604 5605 Add a strategy for shared workers 5606 https://bugs.webkit.org/show_bug.cgi?id=100165 5607 5608 Reviewed by Brady Eidson. 5609 5610 * WebCoreSupport/WebPlatformStrategies.cpp: 5611 (WebPlatformStrategies::createPasteboardStrategy): 5612 (WebPlatformStrategies::createSharedWorkerStrategy): 5613 (WebPlatformStrategies::createVisitedLinkStrategy): 5614 * WebCoreSupport/WebPlatformStrategies.h: 5615 (WebPlatformStrategies): 5616 56172012-10-22 Jocelyn Turcotte <jocelyn.turcotte@digia.com> 5618 5619 [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page 5620 https://bugs.webkit.org/show_bug.cgi?id=98514 5621 5622 Reviewed by Kenneth Rohde Christiansen. 5623 5624 * WebCoreSupport/WebFrameLoaderClient.cpp: 5625 (WebFrameLoaderClient::transitionToCommittedForNewPage): 5626 56272012-10-21 Andreas Kling <kling@webkit.org> 5628 5629 Remove Page::javaScriptURLsAreAllowed setting. 5630 <http://webkit.org/b/99944> 5631 5632 Reviewed by Anders Carlsson. 5633 5634 Have WebView::setJavaScriptURLsAreAllowed() do nothing and return E_NOTIMPL 5635 to prevent COM ABI breakage. 5636 5637 * WebView.cpp: 5638 (WebView::setJavaScriptURLsAreAllowed): 5639 56402012-10-18 Roger Fong <roger_fong@apple.com> 5641 5642 Unreviewed. Build fix after r131701 and r131777. 5643 5644 * WebKit.vcproj/WebKit.sln: 5645 56462012-10-14 Sam Weinig <sam@webkit.org> 5647 5648 Fix the windows build. 5649 5650 * WebView.cpp: 5651 (toStringVector): 5652 56532012-10-10 Brady Eidson <beidson@apple.com> 5654 5655 Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer 5656 https://bugs.webkit.org/show_bug.cgi?id=98976 5657 5658 Reviewed by Anders Carlsson. 5659 5660 * WebDataSource.cpp: 5661 (WebDataSource::data): 5662 56632012-10-10 Jon Lee <jonlee@apple.com> 5664 5665 [WK2] Activate plugins when user clicks on snapshot 5666 https://bugs.webkit.org/show_bug.cgi?id=98328 5667 <rdar://problem/12426681> 5668 5669 Reviewed by Brady Eidson. 5670 5671 * WebCoreSupport/WebFrameLoaderClient.h: 5672 (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin(). 5673 56742012-10-10 Brady Eidson <beidson@apple.com> 5675 5676 Switch CachedResource over from SharedBuffer to a new ResourceBuffer 5677 https://bugs.webkit.org/show_bug.cgi?id=98541 5678 5679 Reviewed by Anders Carlsson. 5680 5681 * WebDataSource.cpp: 5682 (WebDataSource::subresourceForURL): 5683 56842012-10-08 Simon Fraser <simon.fraser@apple.com> 5685 5686 Some GraphicsLayer cleanup to separate the concepts of using a tile cache, and being the main tile cache layer 5687 https://bugs.webkit.org/show_bug.cgi?id=98574 5688 5689 Reviewed by Dean Jackson. 5690 5691 GraphicsLayerCA assumed that using a TileCache equated to being the main page tile 5692 cache layer, which has some special considerations. Make these two concepts separate 5693 to get closer to being able to use TileCaches in place of CATiledLayer. 5694 5695 * FullscreenVideoController.cpp: 5696 (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter): 5697 56982012-10-07 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> 5699 5700 Rename first/second to key/value in HashMap iterators 5701 https://bugs.webkit.org/show_bug.cgi?id=82784 5702 5703 Reviewed by Eric Seidel. 5704 5705 * COMPropertyBag.h: 5706 (::Read): 5707 (::GetPropertyInfo): 5708 * WebCoreStatistics.cpp: 5709 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): 5710 * WebCoreSupport/WebPlatformStrategies.cpp: 5711 (WebPlatformStrategies::getPluginInfo): 5712 * WebHistory.cpp: 5713 (WebHistory::removeItemFromDateCaches): 5714 * WebKitCOMAPI.cpp: 5715 (classFactory): 5716 * WebKitStatistics.cpp: 5717 (WebKitStatistics::comClassNameCounts): 5718 * WebNotificationCenter.cpp: 5719 (WebNotificationCenter::postNotificationInternal): 5720 (WebNotificationCenter::addObserver): 5721 (WebNotificationCenter::removeObserver): 5722 57232012-10-04 Simon Fraser <simon.fraser@apple.com> 5724 5725 Final part of "sync" to "flush" renaming 5726 https://bugs.webkit.org/show_bug.cgi?id=98430 5727 5728 Reviewed by Tim Horton. 5729 5730 Change method names on GraphicsLayer and GraphicsLayerClient that 5731 refer to "sync" to use the term "flush" instead, to be consistent 5732 with the rest of the code. 5733 5734 * WebView.cpp: 5735 (WebView::notifyFlushRequired): 5736 (WebView::flushPendingGraphicsLayerChanges): 5737 * WebView.h: 5738 57392012-10-04 Simon Fraser <simon.fraser@apple.com> 5740 5741 Standardize on "flush" terminology for compositing layer flushing/syncing 5742 https://bugs.webkit.org/show_bug.cgi?id=98321 5743 5744 Reviewed by Simon Fraser. 5745 5746 Rename compositing-related methods that refer to "syncing" to instead 5747 refer to "flushing". 5748 5749 * WebCoreSupport/WebChromeClient.cpp: 5750 (WebChromeClient::scheduleCompositingLayerFlush): 5751 * WebCoreSupport/WebChromeClient.h: 5752 (WebChromeClient): 5753 * WebView.cpp: 5754 (WebView::flushPendingGraphicsLayerChanges): 5755 57562012-10-02 Anders Carlsson <andersca@apple.com> 5757 5758 Change most GraphicsLayer::create calls to use the version that takes a GraphicsLayerFactory 5759 https://bugs.webkit.org/show_bug.cgi?id=98217 5760 5761 Reviewed by Andreas Kling. 5762 5763 * WebView.cpp: 5764 (WebView::setAcceleratedCompositing): 5765 57662012-10-01 Brady Eidson <beidson@apple.com> 5767 5768 Remove the Safari 2 -> Safari 3 icon database import code. 5769 https://bugs.webkit.org/show_bug.cgi?id=98113 5770 5771 Reviewed by Maciej Stachowiak. 5772 5773 Nuke the performImport() IconDatabaseClient method. 5774 5775 * WebIconDatabase.cpp: 5776 * WebIconDatabase.h: 5777 (WebIconDatabase): 5778 57792012-09-25 Beth Dakin <bdakin@apple.com> 5780 5781 https://bugs.webkit.org/show_bug.cgi?id=95397 5782 Need to merge didFirstVisuallyNonEmptyLayout and 5783 didNewFirstVisuallyNonEmptyLayout 5784 -and corresponding- 5785 <rdar://problem/10791680> 5786 5787 Reviewed by Sam Weinig. 5788 5789 Remove dispatchDidFirstLayout, 5790 dispatchDidFirstVisuallyNonEmptyLayout, and 5791 dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality 5792 is now replaced by dispatchDidLayout(LayoutMilestoneOptions) 5793 * WebCoreSupport/WebFrameLoaderClient.cpp: 5794 (WebFrameLoaderClient::dispatchDidLayout): 5795 * WebCoreSupport/WebFrameLoaderClient.h: 5796 (WebFrameLoaderClient): 5797 5798 It is now necessary to opt into getting any of the 5799 "layout milestone" notifications. 5800 * WebView.cpp: 5801 (WebView::initWithFrame): 5802 58032012-09-19 Patrick Gansterer <paroga@webkit.org> 5804 5805 [WIN] Use BString in favour of BSTR to improve memory management 5806 https://bugs.webkit.org/show_bug.cgi?id=93128 5807 5808 Reviewed by Anders Carlsson. 5809 5810 BString automatically calls SysFreeString() in its destructor which helps 5811 avoiding memory leaks. So it should be used instead of BSTR directly. 5812 Add operator& to BString to allow its usage for out parameters too (like COMPtr). 5813 This fixes already a few memory leaks in the existing code. 5814 5815 * DefaultPolicyDelegate.cpp: 5816 (DefaultPolicyDelegate::decidePolicyForNavigationAction): 5817 (DefaultPolicyDelegate::decidePolicyForMIMEType): 5818 (DefaultPolicyDelegate::unableToImplementPolicyWithError): 5819 * MarshallingHelpers.cpp: 5820 (MarshallingHelpers::KURLToBSTR): 5821 (MarshallingHelpers::CFStringRefToBSTR): 5822 (MarshallingHelpers::stringArrayToSafeArray): 5823 (MarshallingHelpers::safeArrayToStringArray): 5824 * WebCoreSupport/WebChromeClient.cpp: 5825 (WebChromeClient::runJavaScriptPrompt): 5826 * WebCoreSupport/WebEditorClient.cpp: 5827 (WebEditorClient::checkGrammarOfString): 5828 (WebEditorClient::getGuessesForWord): 5829 * WebFrame.cpp: 5830 (WebFrame::canProvideDocumentSource): 5831 * WebHistory.cpp: 5832 (WebHistory::removeItem): 5833 (WebHistory::addItem): 5834 * WebIconDatabase.cpp: 5835 (WebIconDatabase::startUpIconDatabase): 5836 * WebNotificationCenter.cpp: 5837 (WebNotificationCenter::postNotification): 5838 * WebPreferences.cpp: 5839 (WebPreferences::setStringValue): 5840 * WebView.cpp: 5841 (toAtomicString): 5842 (toString): 5843 (toKURL): 5844 (PreferencesChangedOrRemovedObserver::onNotify): 5845 (WebView::close): 5846 (WebView::canShowMIMEType): 5847 (WebView::initWithFrame): 5848 (WebView::setApplicationNameForUserAgent): 5849 (WebView::setCustomUserAgent): 5850 (WebView::userAgentForURL): 5851 (WebView::setCustomTextEncodingName): 5852 (WebView::customTextEncodingName): 5853 (WebView::setPreferences): 5854 (WebView::searchFor): 5855 (WebView::executeCoreCommandByName): 5856 (WebView::markAllMatchesForText): 5857 (WebView::setGroupName): 5858 (WebView::registerURLSchemeAsLocal): 5859 (WebView::replaceSelectionWithText): 5860 (WebView::onNotify): 5861 (WebView::notifyPreferencesChanged): 5862 (WebView::MIMETypeForExtension): 5863 (WebView::standardUserAgentWithApplicationName): 5864 (WebView::addAdditionalPluginDirectory): 5865 (WebView::registerEmbeddedViewMIMEType): 5866 (WebView::addOriginAccessWhitelistEntry): 5867 (WebView::removeOriginAccessWhitelistEntry): 5868 (WebView::geolocationDidFailWithError): 5869 (WebView::setDomainRelaxationForbiddenForURLScheme): 5870 (WebView::setCompositionForTesting): 5871 (WebView::confirmCompositionForTesting): 5872 58732012-09-17 Sheriff Bot <webkit.review.bot@gmail.com> 5874 5875 Unreviewed, rolling out r128809. 5876 http://trac.webkit.org/changeset/128809 5877 https://bugs.webkit.org/show_bug.cgi?id=96958 5878 5879 Broke the Windows build. (Requested by andersca on #webkit). 5880 5881 * DefaultPolicyDelegate.cpp: 5882 (DefaultPolicyDelegate::decidePolicyForNavigationAction): 5883 (DefaultPolicyDelegate::decidePolicyForMIMEType): 5884 (DefaultPolicyDelegate::unableToImplementPolicyWithError): 5885 * MarshallingHelpers.cpp: 5886 (MarshallingHelpers::KURLToBSTR): 5887 (MarshallingHelpers::CFStringRefToBSTR): 5888 (MarshallingHelpers::stringArrayToSafeArray): 5889 (MarshallingHelpers::safeArrayToStringArray): 5890 * WebCoreSupport/WebChromeClient.cpp: 5891 (WebChromeClient::runJavaScriptPrompt): 5892 * WebCoreSupport/WebEditorClient.cpp: 5893 (WebEditorClient::checkGrammarOfString): 5894 (WebEditorClient::getGuessesForWord): 5895 * WebFrame.cpp: 5896 (WebFrame::canProvideDocumentSource): 5897 * WebHistory.cpp: 5898 (WebHistory::removeItem): 5899 (WebHistory::addItem): 5900 * WebIconDatabase.cpp: 5901 (WebIconDatabase::startUpIconDatabase): 5902 * WebNotificationCenter.cpp: 5903 (WebNotificationCenter::postNotification): 5904 * WebPreferences.cpp: 5905 (WebPreferences::setStringValue): 5906 * WebView.cpp: 5907 (PreferencesChangedOrRemovedObserver::onNotify): 5908 (WebView::close): 5909 (WebView::canShowMIMEType): 5910 (WebView::initWithFrame): 5911 (WebView::setApplicationNameForUserAgent): 5912 (WebView::setCustomUserAgent): 5913 (WebView::userAgentForURL): 5914 (WebView::setCustomTextEncodingName): 5915 (WebView::customTextEncodingName): 5916 (WebView::setPreferences): 5917 (WebView::searchFor): 5918 (WebView::executeCoreCommandByName): 5919 (WebView::markAllMatchesForText): 5920 (WebView::setGroupName): 5921 (WebView::registerURLSchemeAsLocal): 5922 (WebView::replaceSelectionWithText): 5923 (WebView::onNotify): 5924 (WebView::notifyPreferencesChanged): 5925 (WebView::MIMETypeForExtension): 5926 (WebView::standardUserAgentWithApplicationName): 5927 (WebView::addAdditionalPluginDirectory): 5928 (WebView::registerEmbeddedViewMIMEType): 5929 (toString): 5930 (toKURL): 5931 (WebView::addOriginAccessWhitelistEntry): 5932 (WebView::removeOriginAccessWhitelistEntry): 5933 (WebView::geolocationDidFailWithError): 5934 (WebView::setDomainRelaxationForbiddenForURLScheme): 5935 (WebView::setCompositionForTesting): 5936 (WebView::confirmCompositionForTesting): 5937 59382012-09-16 Mark Lam <mark.lam@apple.com> 5939 5940 Added MSVC project changes to enable building the llint. 5941 https://bugs.webkit.org/show_bug.cgi?id=96175. 5942 5943 Reviewed by Geoff Garen. 5944 5945 This only adds the ability to build the llint, but currently, only the 5946 C++ backend is supported. By default, the Windows port will remain 5947 running with the baseline JIT. The llint will not be enabled. 5948 5949 * WebKit.vcproj/WebKit.sln: 5950 59512012-09-13 Brent Fulgham <bfulgham@webkit.org> 5952 5953 [WinCairo] Unreviewed build fix. 5954 5955 * WebCookieManagerCurl.cpp: Remove unused 'using WebCore' 5956 declaration that prevented the build from completing. 5957 59582012-09-12 Sheriff Bot <webkit.review.bot@gmail.com> 5959 5960 Unreviewed, rolling out r127876. 5961 http://trac.webkit.org/changeset/127876 5962 https://bugs.webkit.org/show_bug.cgi?id=96600 5963 5964 mouse click doesn't work for spin button if spin button in 5965 iframe (Requested by yosin on #webkit). 5966 5967 * WebActionPropertyBag.cpp: 5968 (WebActionPropertyBag::Read): 5969 * WebView.cpp: 5970 (WebView::handleContextMenuEvent): 5971 (WebView::elementAtPoint): 5972 59732012-09-10 Beth Dakin <bdakin@apple.com> 5974 5975 https://bugs.webkit.org/show_bug.cgi?id=96158 5976 Need API to suppress scrollbar animations 5977 -and corresponding- 5978 <rdar://problem/12210972> 5979 5980 Reviewed by Sam Weinig. 5981 5982 ScrollableArea::isOnActivePage() has been re-named to 5983 ScrollableArea:: scrollbarsCanBeActive(). 5984 * WebScrollBar.cpp: 5985 (WebScrollBar::scrollbarsCanBeActive): 5986 * WebScrollBar.h: 5987 (WebScrollBar): 5988 59892012-09-10 Dominic Mazzoni <dmazzoni@google.com> 5990 5991 AX: Update Windows port accessible role mappings to fix some tests 5992 https://bugs.webkit.org/show_bug.cgi?id=96219 5993 5994 Reviewed by Chris Fleizach. 5995 5996 Update a bunch of accessible role mappings to fix tests and improve win 5997 accessibility. 5998 5999 * AccessibleBase.cpp: 6000 (MSAARole): 6001 60022012-09-07 Allan Sandfeld Jensen <allan.jensen@nokia.com> 6003 6004 Simplify hitTestResultAtPoint and nodesFromRect APIs 6005 https://bugs.webkit.org/show_bug.cgi?id=95720 6006 6007 Reviewed by Antonio Gomes. 6008 6009 Update calls to new API. 6010 6011 * WebActionPropertyBag.cpp: 6012 (WebActionPropertyBag::Read): 6013 * WebView.cpp: 6014 (WebView::handleContextMenuEvent): 6015 (WebView::elementAtPoint): 6016 60172012-09-05 Sam Weinig <sam@webkit.org> 6018 6019 Part 2 of removing PlatformString.h, remove PlatformString.h 6020 https://bugs.webkit.org/show_bug.cgi?id=95931 6021 6022 Reviewed by Adam Barth. 6023 6024 Remove PlatformString.h 6025 6026 * DOMCSSClasses.cpp: 6027 * DefaultPolicyDelegate.cpp: 6028 * MarshallingHelpers.cpp: 6029 * WebCoreSupport/WebInspectorClient.h: 6030 * WebDownload.h: 6031 * WebFrame.h: 6032 * WebHistoryItem.h: 6033 * WebIconDatabase.cpp: 6034 * WebKitDLL.h: 6035 * WebKitGraphics.cpp: 6036 * WebKitSystemBits.cpp: 6037 * WebLocalizableStrings.cpp: 6038 * WebNotificationCenter.cpp: 6039 * WebResource.h: 6040 60412012-09-06 Patrick Gansterer <paroga@webkit.org> 6042 6043 Remove String::operator+=() from windows platform code 6044 https://bugs.webkit.org/show_bug.cgi?id=95904 6045 6046 Reviewed by Benjamin Poulain. 6047 6048 Use StringBuilder and operator+() to concatenate strings instead of operator+=(). 6049 6050 * AccessibleBase.cpp: 6051 (AccessibleBase::get_accKeyboardShortcut): 6052 * WebDownload.cpp: 6053 (WebDownload::bundlePathForTargetPath): 6054 * WebView.cpp: 6055 (imeCompositionArgumentNames): 6056 60572012-09-05 Kaustubh Atrawalkar <kaustubh@motorola.com> 6058 6059 [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals 6060 https://bugs.webkit.org/show_bug.cgi?id=92735 6061 6062 Reviewed by Hajime Morita. 6063 6064 Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner. 6065 Kept the function defination and declaration to keep binary compatibility for IWebFramePrivate.idl 6066 6067 * WebFrame.cpp: 6068 (WebFrame::numberOfPages): 6069 60702012-08-30 Benjamin Poulain <bpoulain@apple.com> 6071 6072 Replace JSC::UString by WTF::String 6073 https://bugs.webkit.org/show_bug.cgi?id=95271 6074 6075 Reviewed by Geoffrey Garen. 6076 6077 Replace UString by String. 6078 6079 * WebFrame.cpp: 6080 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): 6081 * WebView.cpp: 6082 (WebView::stringByEvaluatingJavaScriptFromString): 6083 60842012-08-29 Dominic Mazzoni <dmazzoni@google.com> 6085 6086 AX: Canvas should have a distinct role 6087 https://bugs.webkit.org/show_bug.cgi?id=95248 6088 6089 Reviewed by Chris Fleizach. 6090 6091 Map new CanvasRole to the same as ImageRole. 6092 6093 * AccessibleBase.cpp: 6094 (MSAARole): 6095 60962012-08-29 Sheriff Bot <webkit.review.bot@gmail.com> 6097 6098 Unreviewed, rolling out r126972. 6099 http://trac.webkit.org/changeset/126972 6100 https://bugs.webkit.org/show_bug.cgi?id=95349 6101 6102 accessibility/canvas-description-and-role.html has been 6103 failing consistently on several bots and Dominic needs some 6104 time to investigate why (Requested by jchaffraix on #webkit). 6105 6106 * AccessibleBase.cpp: 6107 (MSAARole): 6108 61092012-08-29 Dominic Mazzoni <dmazzoni@google.com> 6110 6111 AX: Canvas should have a distinct role 6112 https://bugs.webkit.org/show_bug.cgi?id=95248 6113 6114 Reviewed by Chris Fleizach. 6115 6116 Map new CanvasRole to the same as ImageRole. 6117 6118 * AccessibleBase.cpp: 6119 (MSAARole): 6120 61212012-08-28 Sheriff Bot <webkit.review.bot@gmail.com> 6122 6123 Unreviewed, rolling out r126914. 6124 http://trac.webkit.org/changeset/126914 6125 https://bugs.webkit.org/show_bug.cgi?id=95239 6126 6127 it breaks everything and fixes nothing (Requested by pizlo on 6128 #webkit). 6129 6130 * COMPropertyBag.h: 6131 (::Read): 6132 (::GetPropertyInfo): 6133 * WebCoreStatistics.cpp: 6134 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): 6135 * WebCoreSupport/WebPlatformStrategies.cpp: 6136 (WebPlatformStrategies::getPluginInfo): 6137 * WebHistory.cpp: 6138 (WebHistory::removeItemFromDateCaches): 6139 * WebKitCOMAPI.cpp: 6140 (classFactory): 6141 * WebKitStatistics.cpp: 6142 (WebKitStatistics::comClassNameCounts): 6143 * WebNotificationCenter.cpp: 6144 (WebNotificationCenter::postNotificationInternal): 6145 (WebNotificationCenter::addObserver): 6146 (WebNotificationCenter::removeObserver): 6147 61482012-08-28 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> 6149 6150 Rename first/second to key/value in HashMap iterators 6151 https://bugs.webkit.org/show_bug.cgi?id=82784 6152 6153 Reviewed by Eric Seidel. 6154 6155 * COMPropertyBag.h: 6156 (::Read): 6157 (::GetPropertyInfo): 6158 * WebCoreStatistics.cpp: 6159 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): 6160 * WebCoreSupport/WebPlatformStrategies.cpp: 6161 (WebPlatformStrategies::getPluginInfo): 6162 * WebHistory.cpp: 6163 (WebHistory::removeItemFromDateCaches): 6164 * WebKitCOMAPI.cpp: 6165 (classFactory): 6166 * WebKitStatistics.cpp: 6167 (WebKitStatistics::comClassNameCounts): 6168 * WebNotificationCenter.cpp: 6169 (WebNotificationCenter::postNotificationInternal): 6170 (WebNotificationCenter::addObserver): 6171 (WebNotificationCenter::removeObserver): 6172 61732012-08-27 Sheriff Bot <webkit.review.bot@gmail.com> 6174 6175 Unreviewed, rolling out r126836. 6176 http://trac.webkit.org/changeset/126836 6177 https://bugs.webkit.org/show_bug.cgi?id=95163 6178 6179 Broke all Apple ports, EFL, and Qt. (Requested by tkent on 6180 #webkit). 6181 6182 * COMPropertyBag.h: 6183 (::Read): 6184 (::GetPropertyInfo): 6185 * WebCoreStatistics.cpp: 6186 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): 6187 * WebCoreSupport/WebPlatformStrategies.cpp: 6188 (WebPlatformStrategies::getPluginInfo): 6189 * WebHistory.cpp: 6190 (WebHistory::removeItemFromDateCaches): 6191 * WebKitCOMAPI.cpp: 6192 (classFactory): 6193 * WebKitStatistics.cpp: 6194 (WebKitStatistics::comClassNameCounts): 6195 * WebNotificationCenter.cpp: 6196 (WebNotificationCenter::postNotificationInternal): 6197 (WebNotificationCenter::addObserver): 6198 (WebNotificationCenter::removeObserver): 6199 62002012-08-27 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> 6201 6202 Rename first/second to key/value in HashMap iterators 6203 https://bugs.webkit.org/show_bug.cgi?id=82784 6204 6205 Reviewed by Eric Seidel. 6206 6207 * COMPropertyBag.h: 6208 (::Read): 6209 (::GetPropertyInfo): 6210 * WebCoreStatistics.cpp: 6211 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): 6212 * WebCoreSupport/WebPlatformStrategies.cpp: 6213 (WebPlatformStrategies::getPluginInfo): 6214 * WebHistory.cpp: 6215 (WebHistory::removeItemFromDateCaches): 6216 * WebKitCOMAPI.cpp: 6217 (classFactory): 6218 * WebKitStatistics.cpp: 6219 (WebKitStatistics::comClassNameCounts): 6220 * WebNotificationCenter.cpp: 6221 (WebNotificationCenter::postNotificationInternal): 6222 (WebNotificationCenter::addObserver): 6223 (WebNotificationCenter::removeObserver): 6224 62252012-08-23 Adrienne Walker <enne@google.com> 6226 6227 Convert ScrollableArea ASSERT_NOT_REACHED virtuals 6228 https://bugs.webkit.org/show_bug.cgi?id=93306 6229 6230 Reviewed by Darin Adler. 6231 6232 Add implementations where necessary to make derived classes concrete. 6233 Add OVERRIDE for ScrollableArea functions. 6234 6235 * WebScrollBar.cpp: 6236 (WebScrollBar::visibleHeight): 6237 (WebScrollBar::visibleWidth): 6238 (WebScrollBar::contentsSize): 6239 (WebScrollBar::isOnActivePage): 6240 (WebScrollBar::scrollableAreaBoundingBox): 6241 * WebScrollBar.h: 6242 (WebScrollBar): 6243 62442012-08-22 Nikhil Bhargava <nbhargava@google.com> 6245 6246 Reduce Font.h includes across project -- improves RenderObject.h compile time 6247 https://bugs.webkit.org/show_bug.cgi?id=93629 6248 6249 Reviewed by Eric Seidel. 6250 6251 Adds includes due to change in RenderStyle.h 6252 6253 * DOMCoreClasses.cpp: 6254 62552012-08-15 Ryosuke Niwa <rniwa@webkit.org> 6256 6257 Update manual tests and comments to refer to TestRunner instead of LayoutTestController 6258 https://bugs.webkit.org/show_bug.cgi?id=94168 6259 6260 Reviewed by Kent Tamura. 6261 6262 * Interfaces/IWebPreferencesPrivate.idl: 6263 62642012-08-14 Adam Barth <abarth@webkit.org> 6265 6266 Delete Frame::domWindow() and Frame::existingDOMWindow() 6267 https://bugs.webkit.org/show_bug.cgi?id=93990 6268 6269 Reviewed by Eric Seidel. 6270 6271 * WebFrame.cpp: 6272 (WebFrame::DOMWindow): 6273 (WebFrame::pendingFrameUnloadEventCount): 6274 62752012-08-13 Tom Sepez <tsepez@chromium.org> 6276 6277 [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach. 6278 https://bugs.webkit.org/show_bug.cgi?id=93283 6279 6280 Reviewed by Eric Seidel. 6281 6282 Change the client redirectDataToPlugin method(s) to expect the possibility of 6283 a NULL argument, keeping existing behaviour otherwise. 6284 6285 * WebCoreSupport/WebFrameLoaderClient.cpp: 6286 (WebFrameLoaderClient::redirectDataToPlugin): 6287 62882012-08-05 Patrick Gansterer <paroga@webkit.org> 6289 6290 [WIN] Use sizeof() for cbWndExtra values 6291 https://bugs.webkit.org/show_bug.cgi?id=93179 6292 6293 Reviewed by Eric Carlson. 6294 6295 Using sizof() instead of hardcoding the pointer size of 6296 the 32bit platform allows us to use the code on 64bit too. 6297 6298 * FullscreenVideoController.cpp: 6299 (FullscreenVideoController::registerHUDWindowClass): 6300 * WebView.cpp: 6301 (WebView::registerWebViewWindowClass): 6302 63032012-07-26 Gyuyoung Kim <gyuyoung.kim@samsung.com> 6304 6305 [Mac] Fix build break on Apple win bot after r123711 6306 https://bugs.webkit.org/show_bug.cgi?id=92354 6307 6308 Reviewed by Adam Barth. 6309 6310 Missing return value. 6311 6312 * WebFrame.cpp: 6313 (WebFrame::pageNumberForElementById): 6314 63152012-07-26 Kaustubh Atrawalkar <kaustubh@motorola.com> 6316 6317 [DRT] LTC:: pageNumberForElementById() could be moved to Internals 6318 https://bugs.webkit.org/show_bug.cgi?id=92091 6319 6320 Reviewed by Adam Barth. 6321 6322 Moved the pageNumberForElementById from LayoutTestCotroller to Internals and 6323 remove the old platform specific implementations as it exclusively tests WebCore functionality. 6324 6325 * WebFrame.cpp: Added comment for removing the function. Removed implementation. 6326 63272012-07-25 Roger Fong <roger_fong@apple.com> 6328 6329 Changes to the WebFrame API cause dependent apps to crash. 6330 https://bugs.webkit.org/show_bug.cgi?id=91656 6331 <rdar://problem/11904605> 6332 6333 Reviewed by Jon Honeycutt. 6334 6335 Changes to the WebFrame API cause certain apps to crash because of inconsistencies in the COM interface. 6336 The resumeAnimations and suspendAnimations are removed, which are still needed. 6337 The counterValueByElementId method was also removed, although is not needed there. 6338 However, for all of these methods, no method stubs were added where appropriate after removal. 6339 6340 * Interfaces/IWebFramePrivate.idl: 6341 Added resumeAnimations() and suspendAnimations() methods back in. Added unused method stub for counterValueByElementId method. 6342 6343 * WebFrame.cpp: 6344 (WebFrame::resumeAnimations): 6345 Added this method back in. 6346 (WebFrame::suspendAnimations): 6347 Added this method back in. 6348 6349 * WebFrame.h: 6350 (Re)added methods and unused method stubs. 6351 63522012-07-23 Patrick Gansterer <paroga@webkit.org> 6353 6354 Build fix if NOMINMAX is defined by the build system. 6355 6356 * COMEnumVariant.h: Added #ifndef NOMINMAX around #define NOMINMAX. 6357 * COMPropertyBag.h: Ditto. 6358 63592012-07-23 Pierre Rossi <pierre.rossi@gmail.com> 6360 6361 Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client 6362 https://bugs.webkit.org/show_bug.cgi?id=91006 6363 6364 Reviewed by Ryosuke Niwa. 6365 6366 Remove numTouchEventHandlersChanged stub. 6367 6368 * WebCoreSupport/WebChromeClient.h: 6369 63702012-07-17 Vivek Galatage <vivekgalatage@gmail.com> 6371 6372 Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel. 6373 https://bugs.webkit.org/show_bug.cgi?id=91196 6374 6375 Reviewed by Pavel Feldman. 6376 6377 Refactoring InspectorClients. InspectorClient::openInspectorFrontend 6378 now returning the InspectorFrontendChannel. 6379 6380 * WebCoreSupport/WebInspectorClient.cpp: 6381 (WebInspectorClient::openInspectorFrontend): 6382 * WebCoreSupport/WebInspectorClient.h: 6383 (WebInspectorClient): 6384 63852012-07-14 Eric Carlson <eric.carlson@apple.com> 6386 6387 Enable AVCF hardware video decoding 6388 https://bugs.webkit.org/show_bug.cgi?id=90015 6389 <rdar://problem/10770317> 6390 6391 Reviewed by Anders Carlsson. 6392 6393 * WebCoreSupport/WebChromeClient.cpp: 6394 (WebChromeClient::graphicsDeviceAdapter): New, return the view's graphics adapter. 6395 * WebCoreSupport/WebChromeClient.h: 6396 (WebChromeClient): 6397 6398 * WebView.cpp: 6399 (WebView::graphicsDeviceAdapter): New, return the layer tree host's graphics adapter. 6400 * WebView.h: 6401 (WebCore): 6402 (WebView): 6403 64042012-07-10 Adam Barth <abarth@webkit.org> 6405 6406 WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed 6407 https://bugs.webkit.org/show_bug.cgi?id=90910 6408 6409 Reviewed by Eric Seidel. 6410 6411 * WebPreferences.cpp: 6412 (WebPreferences::initializeDefaultSettings): 6413 (WebPreferences::setHixie76WebSocketProtocolEnabled): 6414 (WebPreferences::hixie76WebSocketProtocolEnabled): 6415 * WebView.cpp: 6416 (WebView::notifyPreferencesChanged): 6417 64182012-07-02 Ryosuke Niwa <rniwa@webkit.org> 6419 6420 Make HTMLCollection RefCounted 6421 https://bugs.webkit.org/show_bug.cgi?id=90414 6422 6423 Reviewed by Sam Weinig. 6424 6425 * DOMHTMLClasses.cpp: 6426 (DOMHTMLDocument::forms): 6427 (DOMHTMLSelectElement::options): 6428 64292012-07-03 Mihai Balan <mibalan@adobe.com> 6430 6431 [CSS Regions] Enabling regions on Windows lead to crash-on-launch for WebKit.exe 6432 https://bugs.webkit.org/show_bug.cgi?id=90435 6433 6434 Reviewed by Csaba Osztrogonác. 6435 6436 Initial patch for enabling regions led to WebKit crashing on launch. Moving the 6437 IDL declarations for CSS regions getter/setter at the end of the file solves the 6438 problem. As per http://trac.webkit.org/changeset/95650 seems it has to do with 6439 binary compatibility. 6440 6441 * Interfaces/IWebPreferences.idl: Mover getter/setter for CSS regions at the end of file 6442 64432012-07-02 Benjamin Poulain <bpoulain@apple.com> 6444 6445 Do not do any logging initialization when logging is disabled 6446 https://bugs.webkit.org/show_bug.cgi?id=90228 6447 6448 Reviewed by Simon Fraser. 6449 6450 * WebView.cpp: 6451 (WebView::initWithFrame): 6452 64532012-06-29 Mihai Balan <mibalan@adobe.com> 6454 6455 [CSS Regions] Adding feature defines for CSS Regions for Windows 6456 https://bugs.webkit.org/show_bug.cgi?id=88645 6457 6458 Reviewed by Tony Chang. 6459 6460 Re-trying to enable CSS regions on Windows. This time only enabling 6461 regions since exclusions lead to some very strange compiling/linking 6462 problems. This time adding preferences code to make sure the settings 6463 get propagated to DRT (previous experiments by abucur showed they 6464 didn't.). 6465 6466 * WebPreferenceKeysPrivate.h: Added preference key for CSS regions 6467 * Interfaces/IWebPreferences.idl: Added getters and setters for CSS regions settings 6468 * WebPreferences.cpp: ditto 6469 (WebPreferences::initializeDefaultSettings): 6470 (WebPreferences::isCSSRegionsEnabled): 6471 (WebPreferences::setCSSRegionsEnabled): 6472 * WebPreferences.h: ditto 6473 (WebPreferences): 6474 * WebView.cpp: Added settings code to handle CSS regions, too 6475 (WebView::notifyPreferencesChanged): 6476 64772012-06-25 Mark Hahnenberg <mhahnenberg@apple.com> 6478 6479 JSLock should be per-JSGlobalData 6480 https://bugs.webkit.org/show_bug.cgi?id=89123 6481 6482 Reviewed by Geoffrey Garen. 6483 6484 Changed all sites that used JSLock to instead use the new JSLockHolder 6485 and pass in the correct JS context that the code is about to interact with that 6486 needs protection. Also added a couple JSLocks to places that didn't already 6487 have it that needed it. 6488 6489 * WebCoreStatistics.cpp: 6490 (WebCoreStatistics::javaScriptObjectsCount): 6491 (WebCoreStatistics::javaScriptGlobalObjectsCount): 6492 (WebCoreStatistics::javaScriptProtectedObjectsCount): 6493 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount): 6494 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): 6495 * WebFrame.cpp: 6496 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): 6497 * WebJavaScriptCollector.cpp: 6498 (WebJavaScriptCollector::objectCount): 6499 * WebView.cpp: 6500 (WebView::stringByEvaluatingJavaScriptFromString): 6501 (WebView::reportException): 6502 (WebView::elementFromJS): 6503 65042012-06-23 Sheriff Bot <webkit.review.bot@gmail.com> 6505 6506 Unreviewed, rolling out r121058. 6507 http://trac.webkit.org/changeset/121058 6508 https://bugs.webkit.org/show_bug.cgi?id=89809 6509 6510 Patch causes plugins tests to crash in GTK debug builds 6511 (Requested by zdobersek on #webkit). 6512 6513 * WebCoreStatistics.cpp: 6514 (WebCoreStatistics::javaScriptObjectsCount): 6515 (WebCoreStatistics::javaScriptGlobalObjectsCount): 6516 (WebCoreStatistics::javaScriptProtectedObjectsCount): 6517 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount): 6518 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): 6519 * WebFrame.cpp: 6520 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): 6521 * WebJavaScriptCollector.cpp: 6522 (WebJavaScriptCollector::objectCount): 6523 * WebView.cpp: 6524 (WebView::stringByEvaluatingJavaScriptFromString): 6525 (WebView::reportException): 6526 (WebView::elementFromJS): 6527 65282012-06-20 Mark Hahnenberg <mhahnenberg@apple.com> 6529 6530 JSLock should be per-JSGlobalData 6531 https://bugs.webkit.org/show_bug.cgi?id=89123 6532 6533 Reviewed by Gavin Barraclough. 6534 6535 Changed all sites that used JSLock to instead use the new JSLockHolder 6536 and pass in the correct JS context that the code is about to interact with that 6537 needs protection. 6538 6539 * WebCoreStatistics.cpp: 6540 (WebCoreStatistics::javaScriptObjectsCount): 6541 (WebCoreStatistics::javaScriptGlobalObjectsCount): 6542 (WebCoreStatistics::javaScriptProtectedObjectsCount): 6543 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount): 6544 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): 6545 * WebFrame.cpp: 6546 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): 6547 * WebJavaScriptCollector.cpp: 6548 (WebJavaScriptCollector::objectCount): 6549 * WebView.cpp: 6550 (WebView::stringByEvaluatingJavaScriptFromString): 6551 (WebView::reportException): 6552 (WebView::elementFromJS): 6553 65542012-06-20 Garret Kelly <gdk@chromium.org> 6555 6556 Moving cookieEnabled/setCookieEnabled from Page to Settings. 6557 https://bugs.webkit.org/show_bug.cgi?id=89545 6558 6559 Reviewed by Adam Barth. 6560 6561 * WebView.cpp: 6562 (WebView::setCookieEnabled): 6563 (WebView::cookieEnabled): 6564 65652012-06-20 Julien Chaffraix <jchaffraix@webkit.org> 6566 6567 Use IntSize in RenderLayer to represent scroll offsets 6568 https://bugs.webkit.org/show_bug.cgi?id=89154 6569 6570 Reviewed by Eric Seidel. 6571 6572 * WebView.cpp: 6573 (WebView::gesture): 6574 Updated to pass an IntSize to scrollByRecursively. 6575 65762012-06-11 Kaustubh Atrawalkar <kaustubh@motorola.com> 6577 6578 [DRT] LTC:: counterValueForElementById() could be moved to Internals. 6579 https://bugs.webkit.org/show_bug.cgi?id=84406 6580 6581 Reviewed by Hajime Morita. 6582 6583 Move the counterValueForElementById from LayoutTestCotroller to Internals and 6584 remove the old platform specific implementations as it exclusively tests WebCore functionality. 6585 6586 * Interfaces/IWebFramePrivate.idl: 6587 * WebFrame.cpp: 6588 * WebFrame.h: 6589 65902012-06-11 Sam Weinig <sam@webkit.org> 6591 6592 Remove support for disconnected/excluded from search frames, they are not used by Safari anymore 6593 https://bugs.webkit.org/show_bug.cgi?id=88723 6594 6595 Reviewed by Dan Bernstein. 6596 6597 * WebFrame.cpp: 6598 (WebFrame::setIsDisconnected): 6599 (WebFrame::setExcludeFromTextSearch): 6600 Stop doing anything in these functions. 6601 66022012-06-10 Sheriff Bot <webkit.review.bot@gmail.com> 6603 6604 Unreviewed, rolling out r119955. 6605 http://trac.webkit.org/changeset/119955 6606 https://bugs.webkit.org/show_bug.cgi?id=88758 6607 6608 Breaks Chromium compile - Chromium depends on removed API 6609 (Requested by dominicc on #webkit). 6610 6611 * WebFrame.cpp: 6612 (WebFrame::setIsDisconnected): 6613 (WebFrame::setExcludeFromTextSearch): 6614 66152012-06-10 Sam Weinig <sam@webkit.org> 6616 6617 Remove support for disconnected/excluded from search frames, they are not used by Safari anymore 6618 https://bugs.webkit.org/show_bug.cgi?id=88723 6619 6620 Reviewed by Dan Bernstein. 6621 6622 * WebFrame.cpp: 6623 (WebFrame::setIsDisconnected): 6624 (WebFrame::setExcludeFromTextSearch): 6625 Stop doing anything in these functions. 6626 66272012-05-31 Hajime Morrita <morrita@chromium.org> 6628 6629 REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac 6630 https://bugs.webkit.org/show_bug.cgi?id=86859 6631 6632 Reviewed by Ryosuke Niwa. 6633 6634 * WebCoreSupport/WebEditorClient.h: 6635 (WebEditorClient::requestCheckingOfString): 6636 66372012-05-25 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> 6638 6639 WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled 6640 https://bugs.webkit.org/show_bug.cgi?id=42328 6641 6642 Reviewed by Eric Seidel. 6643 6644 * WebInspector.cpp: 6645 (WebInspector::setJavaScriptProfilingEnabled): 6646 66472012-05-25 Lynn Neir <lynn.neir@skype.net> 6648 6649 Added methods needed to implement backend for DRT's TextInputController on windows, https://bugs.webkit.org/show_bug.cgi?id=32021 6650 6651 Reviewed by Eric Seidel. 6652 6653 * Interfaces/IWebViewPrivate.idl: 6654 * WebView.cpp: 6655 (WebView::setCompositionForTesting): 6656 (WebView::hasCompositionForTesting): 6657 (WebView::confirmCompositionForTesting): 6658 (WebView::compositionRangeForTesting): 6659 (WebView::firstRectForCharacterRangeForTesting): 6660 (WebView::selectedRangeForTesting): 6661 * WebView.h: 6662 (WebView): 6663 66642012-05-21 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> 6665 6666 Move setEditingBehavior() from layoutTestController to window.internals 6667 https://bugs.webkit.org/show_bug.cgi?id=42689 6668 6669 Reviewed by Hajime Morita and Kenneth Rohde Christiansen. 6670 6671 Remove Win private API to get/set the editing behavior. Follow the previous 6672 removals that keep the virtual functions there but failing. 6673 6674 * Interfaces/IWebPreferences.idl: 6675 * WebPreferenceKeysPrivate.h: 6676 * WebPreferences.cpp: 6677 (WebPreferences::unused5): 6678 (WebPreferences::unused6): 6679 * WebPreferences.h: 6680 (WebPreferences): 6681 * WebView.cpp: 6682 (WebView::notifyPreferencesChanged): 6683 66842012-05-18 MORITA Hajime <morrita@google.com> 6685 6686 Another unreviewed attempt to fix build breakage on r117572. 6687 6688 * WebCoreSupport/WebEditorClient.h: 6689 (WebEditorClient::frameWillDetachPage): 6690 66912012-05-18 MORITA Hajime <morrita@google.com> 6692 6693 https://bugs.webkit.org/show_bug.cgi?id=85515 6694 Stale frame in WebCore::SpellChecker::didCheckSucceeded 6695 6696 Reviewed by Ryosuke Niwa. 6697 6698 * WebCoreSupport/WebEditorClient.h: 6699 (WebEditorClient::frameWillDetachPage): 6700 67012012-05-17 Hironori Bono <hbono@chromium.org> 6702 6703 [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer 6704 https://bugs.webkit.org/show_bug.cgi?id=86591 6705 6706 Reviewed by Ryosuke Niwa. 6707 6708 This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection 6709 function to remove platform-specific code from Editor::respondToChangedSelection 6710 function. 6711 6712 No new tests, no change in behavior. 6713 6714 * WebCoreSupport/WebEditorClient.cpp: 6715 (WebEditorClient::shouldEraseMarkersAfterChangeSelection): 6716 * WebCoreSupport/WebEditorClient.h: 6717 (WebEditorClient): 6718 67192012-05-17 Dan Bernstein <mitz@apple.com> 6720 6721 REGRESSION (r117428): WebKit API/SPI was removed 6722 https://bugs.webkit.org/show_bug.cgi?id=86748 6723 6724 Reverted r117428. 6725 6726 * Interfaces/IWebViewPrivate.idl: 6727 * WebView.cpp: 6728 (WebView::setDomainRelaxationForbiddenForURLScheme): 6729 * WebView.h: 6730 (WebView): 6731 67322012-05-17 Gyuyoung Kim <gyuyoung.kim@samsung.com> 6733 6734 Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface 6735 https://bugs.webkit.org/show_bug.cgi?id=86704 6736 6737 Reviewed by Eric Seidel. 6738 6739 Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the 6740 cross-port way through the InternalSettings interface. 6741 6742 * Interfaces/IWebViewPrivate.idl: 6743 * WebView.cpp: 6744 * WebView.h: 6745 (WebView): 6746 67472012-05-10 Gyuyoung Kim <gyuyoung.kim@samsung.com> 6748 6749 Move resumeAnimations to use Internals interface 6750 https://bugs.webkit.org/show_bug.cgi?id=86063 6751 6752 Reviewed by Alexey Proskuryakov. 6753 6754 Remove resumeAnimations functions, because it is able to work in the 6755 cross-port way through the Internals interface. 6756 6757 * Interfaces/IWebFramePrivate.idl: 6758 * WebFrame.cpp: 6759 * WebFrame.h: 6760 67612012-05-10 Anders Carlsson <andersca@apple.com> 6762 6763 Rename the missing plug-in indicator to the unavailable plug-in indicator 6764 https://bugs.webkit.org/show_bug.cgi?id=86136 6765 6766 Reviewed by Sam Weinig. 6767 6768 * WebCoreSupport/WebChromeClient.cpp: 6769 (WebChromeClient::shouldUnavailablePluginMessageBeButton): 6770 (WebChromeClient::unavailablePluginButtonClicked): 6771 * WebCoreSupport/WebChromeClient.h: 6772 (WebChromeClient): 6773 67742012-05-09 Gyuyoung Kim <gyuyoung.kim@samsung.com> 6775 6776 Move suspendAnimations to use Internals interface. 6777 https://bugs.webkit.org/show_bug.cgi?id=85986 6778 6779 Reviewed by Ryosuke Niwa. 6780 6781 Remove suspendAnimations functions, because it is able to work in the 6782 cross-port way through the Internals interface. 6783 6784 * Interfaces/IWebFramePrivate.idl: 6785 * WebFrame.cpp: 6786 * WebFrame.h: 6787 67882012-05-07 Julien Chaffraix <jchaffraix@webkit.org> 6789 6790 Refactor windowClipRectForLayer to remove the explicit RenderLayer dependency 6791 https://bugs.webkit.org/show_bug.cgi?id=84090 6792 6793 Reviewed by David Hyatt. 6794 6795 * WebCoreSupport/EmbeddedWidget.cpp: 6796 (EmbeddedWidget::windowClipRect): 6797 Updated after windowClipRectForLayer name and signature change. 6798 6799 * WebCoreSupport/EmbeddedWidget.h: 6800 (EmbeddedWidget): 6801 (EmbeddedWidget::EmbeddedWidget): 6802 Updated the internal DOM pointer to be an HTMLPlugInElement 6803 as it was what was passed in anyway. Also fixed some style 6804 issues detected by our tools. 6805 68062012-05-05 Dean Jackson <dino@apple.com> 6807 6808 Add new Setting/Preference to disable requestAnimationFrame 6809 https://bugs.webkit.org/show_bug.cgi?id=85693 6810 6811 Reviewed by Simon Fraser. 6812 6813 Exposes a new WebPreference: WebKitRequestAnimationFrameEnabled. 6814 The default value is true. The majority of applications will leave 6815 it this way. 6816 6817 * Interfaces/IWebPreferencesPrivate.idl: 6818 * WebPreferenceKeysPrivate.h: 6819 * WebPreferences.cpp: 6820 (WebPreferences::initializeDefaultSettings): 6821 (WebPreferences::setRequestAnimationFrameEnabled): 6822 (WebPreferences::requestAnimationFrameEnabled): 6823 * WebPreferences.h: 6824 (WebPreferences): 6825 * WebView.cpp: 6826 (WebView::notifyPreferencesChanged): 6827 68282012-05-04 Nate Chapin <japhet@chromium.org> 6829 6830 Don't require FrameLoaderClient to manufacture a commitData() call for empty documents. 6831 https://bugs.webkit.org/show_bug.cgi?id=85533 6832 6833 Reviewed by Alexey Proskuryakov. 6834 6835 * WebCoreSupport/WebFrameLoaderClient.cpp: 6836 (WebFrameLoaderClient::finishedLoading): 6837 68382012-04-27 Jon Lee <jonlee@apple.com> 6839 6840 Migrate permission functions to Notification from NotificationCenter 6841 https://bugs.webkit.org/show_bug.cgi?id=80485 6842 <rdar://problem/10965458> 6843 6844 Reviewed by Jian Li. 6845 6846 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: 6847 (WebDesktopNotificationsDelegate::requestPermission): 6848 * WebCoreSupport/WebDesktopNotificationsDelegate.h: 6849 (WebDesktopNotificationsDelegate): Add stub implementation of requestPermission. 6850 68512012-04-23 Jon Honeycutt <jhoneycutt@apple.com> 6852 6853 FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more 6854 information about the form being submitted 6855 https://bugs.webkit.org/show_bug.cgi?id=84297 6856 6857 Reviewed by Andy Estes. 6858 6859 * WebFrame.h: 6860 Fix function stub for new parameter. 6861 68622012-05-01 Ryosuke Niwa <rniwa@webkit.org> 6863 6864 *Command.h files shouldn't be exported to WebKit layer 6865 https://bugs.webkit.org/show_bug.cgi?id=74778 6866 6867 Reviewed by Eric Seidel. 6868 6869 * WebView.cpp: 6870 68712012-04-20 Emil A Eklund <eae@chromium.org> 6872 6873 [win] Update windows platform code to use pixel snapped values 6874 https://bugs.webkit.org/show_bug.cgi?id=84283 6875 6876 Reviewed by Eric Seidel. 6877 6878 * AccessibleBase.cpp: 6879 (AccessibleBase::accLocation): 6880 68812012-04-18 Vivek Galatage <vivekgalatage@gmail.com> 6882 6883 Web Inspector: Disabling Inspector causes build failure on Windows 6884 https://bugs.webkit.org/show_bug.cgi?id=83557 6885 6886 Reviewed by Pavel Feldman. 6887 6888 The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard. 6889 This change brings all such API calls under the guard. 6890 6891 * WebCoreSupport/WebInspectorClient.cpp: 6892 * WebInspector.cpp: 6893 * WebNodeHighlight.cpp: 6894 (WebNodeHighlight::WebNodeHighlight): 6895 (WebNodeHighlight::update): 6896 * WebNodeHighlight.h: 6897 (WebNodeHighlight): 6898 * WebView.cpp: 6899 (WebView::WebView): 6900 (WebView::close): 6901 (WebView::initWithFrame): 6902 (WebView::inspector): 6903 * WebView.h: 6904 (WebView): 6905 69062012-04-11 Sheriff Bot <webkit.review.bot@gmail.com> 6907 6908 Unreviewed, rolling out r113836. 6909 http://trac.webkit.org/changeset/113836 6910 https://bugs.webkit.org/show_bug.cgi?id=83705 6911 6912 Broke all the WebKit2 inspector tests (Requested by andersca 6913 on #webkit). 6914 6915 * WebCoreSupport/WebInspectorClient.cpp: 6916 (registerWindowClass): 6917 * WebInspector.cpp: 6918 (WebInspector::setTimelineProfilingEnabled): 6919 * WebNodeHighlight.cpp: 6920 (WebNodeHighlight::WebNodeHighlight): 6921 (WebNodeHighlight::update): 6922 * WebNodeHighlight.h: 6923 (WebNodeHighlight): 6924 * WebView.cpp: 6925 (WebView::WebView): 6926 (WebView::close): 6927 (WebView::initWithFrame): 6928 (WebView::inspector): 6929 * WebView.h: 6930 (WebView): 6931 69322012-04-11 Vivek Galatage <vivekgalatage@gmail.com> 6933 6934 Web Inspector: Disabling Inspector causes build failure on Windows 6935 https://bugs.webkit.org/show_bug.cgi?id=83557 6936 6937 Reviewed by Pavel Feldman. 6938 6939 The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard. 6940 This change brings all such API calls under the guard. 6941 6942 * WebCoreSupport/WebInspectorClient.cpp: 6943 * WebInspector.cpp: 6944 * WebNodeHighlight.cpp: 6945 (WebNodeHighlight::WebNodeHighlight): 6946 (WebNodeHighlight::update): 6947 * WebNodeHighlight.h: 6948 (WebNodeHighlight): 6949 * WebView.cpp: 6950 (WebView::WebView): 6951 (WebView::close): 6952 (WebView::initWithFrame): 6953 (WebView::inspector): 6954 * WebView.h: 6955 (WebView): 6956 69572012-03-30 Mark Pilgrim <pilgrim@chromium.org> 6958 6959 GEOLOCATION should be implemented as Page Supplement 6960 https://bugs.webkit.org/show_bug.cgi?id=82228 6961 6962 Reviewed by Adam Barth. 6963 6964 Geolocation is now a Supplement in Page so the interface 6965 has changed for setting up the page's geolocation client 6966 initially and accessing the controller later. 6967 6968 * WebView.cpp: 6969 (WebView::initWithFrame): 6970 (WebView::geolocationDidChangePosition): 6971 (WebView::geolocationDidFailWithError): 6972 69732012-03-29 Sheriff Bot <webkit.review.bot@gmail.com> 6974 6975 Unreviewed, rolling out r112553. 6976 http://trac.webkit.org/changeset/112553 6977 https://bugs.webkit.org/show_bug.cgi?id=82638 6978 6979 It made all tests crash on Qt WK2 (Requested by Ossy_away on 6980 #webkit). 6981 6982 * WebView.cpp: 6983 (WebView::initWithFrame): 6984 (WebView::geolocationDidChangePosition): 6985 (WebView::geolocationDidFailWithError): 6986 69872012-03-29 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> 6988 6989 HashMap<>::add should return a more descriptive object 6990 https://bugs.webkit.org/show_bug.cgi?id=71063 6991 6992 Reviewed by Ryosuke Niwa. 6993 6994 Update code to use AddResult instead of a pair. 6995 6996 * WebKitCOMAPI.cpp: 6997 (classFactory): 6998 69992012-03-29 Mark Pilgrim <pilgrim@chromium.org> 7000 7001 GEOLOCATION should be implemented as Page Supplement 7002 https://bugs.webkit.org/show_bug.cgi?id=82228 7003 7004 Reviewed by Adam Barth. 7005 7006 Geolocation is now a Supplement in Page so the interface 7007 has changed for setting up the page's geolocation client 7008 initially and accessing the controller later. 7009 7010 * WebView.cpp: 7011 (WebView::initWithFrame): 7012 (WebView::geolocationDidChangePosition): 7013 (WebView::geolocationDidFailWithError): 7014 70152012-03-28 Nate Chapin <japhet@chromium.org> 7016 7017 Remove dispatchDidLoadMainResource callback, since no 7018 port implements it. 7019 https://bugs.webkit.org/show_bug.cgi?id=82539 7020 7021 Reviewed by Alexey Proskuryakov. 7022 7023 * WebCoreSupport/WebFrameLoaderClient.cpp: 7024 * WebCoreSupport/WebFrameLoaderClient.h: 7025 (WebFrameLoaderClient): 7026 70272012-03-26 Adam Barth <abarth@webkit.org> 7028 7029 FrameLoader::shouldAllowNavigation uses Frame for context rather than Document 7030 https://bugs.webkit.org/show_bug.cgi?id=81020 7031 7032 Reviewed by Eric Seidel. 7033 7034 Update call site to new function name. 7035 7036 * WebFrame.cpp: 7037 (WebFrame::dispatchWillSubmitForm): 7038 70392012-03-22 Anders Carlsson <andersca@apple.com> 7040 7041 ASSERT(!needsLayout) in RenderView.cpp when visiting http://www.panic.com/blog/ 7042 https://bugs.webkit.org/show_bug.cgi?id=81953 7043 <rdar://problem/11086998> 7044 7045 Reviewed by Sam Weinig. 7046 7047 Update for changes to WebCore. 7048 7049 * FullscreenVideoController.cpp: 7050 (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles): 7051 70522012-03-20 Steve Falkenburg <sfalken@apple.com> 7053 7054 Move WTF-related Windows project files out of JavaScriptCore 7055 https://bugs.webkit.org/show_bug.cgi?id=80680 7056 7057 Reviewed by Jessie Berlin. 7058 7059 * WebKit.vcproj/WebKit.sln: 7060 70612012-03-20 Gyuyoung Kim <gyuyoung.kim@samsung.com> 7062 7063 Convert hasSpellingMarker to use Internals interface. 7064 https://bugs.webkit.org/show_bug.cgi?id=81300 7065 7066 Reviewed by Ryosuke Niwa. 7067 7068 Remove hasSpellingMarker interface support, since it can support in the cross-port 7069 way through the Internals interface. 7070 7071 * Interfaces/IWebFramePrivate.idl: 7072 70732012-03-19 Adam Barth <abarth@webkit.org> 7074 7075 Remove support for "magic" iframe 7076 https://bugs.webkit.org/show_bug.cgi?id=81590 7077 7078 Reviewed by Eric Seidel. 7079 7080 Remove FrameLoaderClient methods that no longer exist. 7081 7082 * WebCoreSupport/WebFrameLoaderClient.cpp: 7083 * WebCoreSupport/WebFrameLoaderClient.h: 7084 (WebFrameLoaderClient): 7085 70862012-03-19 Anders Carlsson <andersca@apple.com> 7087 7088 Fix Windows build. 7089 7090 * FullscreenVideoController.cpp: 7091 (FullscreenVideoController::LayerClient::platformCALayerDeviceScaleFactor): 7092 70932012-03-13 Jon Lee <jonlee@apple.com> 7094 7095 Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS 7096 https://bugs.webkit.org/show_bug.cgi?id=80922 7097 <rdar://problem/11035082> 7098 7099 Reviewed by Jian Li. 7100 7101 You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API. 7102 LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the 7103 new API. Therefore, APIs that are common between the two will have: 7104 #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) 7105 7106 This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to 7107 the new API, the defines will begin to split. This allows ports to decide which set of APIs to include. 7108 7109 Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS) 7110 * WebCoreSupport/WebChromeClient.cpp: 7111 (WebChromeClient::WebChromeClient): 7112 * WebCoreSupport/WebChromeClient.h: 7113 (WebChromeClient): 7114 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: 7115 * WebCoreSupport/WebDesktopNotificationsDelegate.h: 7116 71172012-03-13 Adam Barth <abarth@webkit.org> && Benjamin Poulain <bpoulain@apple.com> 7118 7119 Always enable ENABLE(CLIENT_BASED_GEOLOCATION) 7120 https://bugs.webkit.org/show_bug.cgi?id=78853 7121 7122 Reviewed by Adam Barth. 7123 7124 * WebCoreSupport/WebChromeClient.h: 7125 (WebChromeClient): 7126 * WebCoreSupport/WebGeolocationClient.cpp: 7127 (WebGeolocationClient::lastPosition): 7128 * WebGeolocationPosition.cpp: 7129 (WebGeolocationPosition::initWithTimestamp): 7130 (core): 7131 * WebGeolocationPosition.h: 7132 (WebGeolocationPosition): 7133 (WebGeolocationPosition::impl): 7134 * WebView.cpp: 7135 (WebView::initWithFrame): 7136 (WebView::geolocationDidChangePosition): 7137 (WebView::geolocationDidFailWithError): 7138 71392012-03-12 Jessie Berlin <jberlin@apple.com> 7140 7141 More Windows build fixing. 7142 7143 * MarshallingHelpers.cpp: 7144 * WebDatabaseManager.cpp: 7145 71462012-03-09 Jon Lee <jonlee@apple.com> 7147 7148 Rename NotificationPresenter to NotificationClient 7149 https://bugs.webkit.org/show_bug.cgi?id=80488 7150 <rdar://problem/10965558> 7151 7152 Reviewed by Kentaro Hara. 7153 7154 Refactor to use renamed WebCore::NotificationClient. 7155 * WebCoreSupport/WebChromeClient.h: 7156 (WebChromeClient::notificationPresenter): 7157 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: 7158 (WebDesktopNotificationsDelegate::checkPermission): 7159 * WebCoreSupport/WebDesktopNotificationsDelegate.h: 7160 (WebDesktopNotificationsDelegate): 7161 71622012-03-09 Emil A Eklund <eae@chromium.org> 7163 7164 Add roundedPoint to HitTestResult and change platform code to use it 7165 https://bugs.webkit.org/show_bug.cgi?id=80715 7166 7167 Reviewed by James Robinson. 7168 7169 Change ports to use roundedPoint to avoid exposing subpixel types to 7170 platform code. 7171 7172 * WebView.cpp: 7173 (WebView::handleContextMenuEvent): 7174 71752012-03-08 Steve Falkenburg <sfalken@apple.com> 7176 7177 Separate WTF parts of JavaScriptCoreGenerated into WTFGenerated for Windows build 7178 https://bugs.webkit.org/show_bug.cgi?id=80657 7179 7180 Preparation for WTF separation from JavaScriptCore. 7181 The "Generated" vcproj files on Windows are necessary so Visual Studio can calculate correct 7182 dependencies for generated files. 7183 7184 Reviewed by Jessie Berlin. 7185 7186 * WebKit.vcproj/WebKit.sln: Add WTFGenerated, update dependent projects. 7187 71882012-03-03 Benjamin Poulain <benjamin@webkit.org> 7189 7190 Remove the redundant method KURL::protocolInHTTPFamily() 7191 https://bugs.webkit.org/show_bug.cgi?id=80216 7192 7193 Reviewed by Anders Carlsson. 7194 7195 * WebCoreSupport/WebFrameLoaderClient.cpp: 7196 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): 7197 * WebHistory.cpp: 7198 (WebHistory::visitedURL): 7199 72002012-02-26 Hajime Morrita <morrita@chromium.org> 7201 7202 Move ChromeClient::showContextMenu() to ContextMenuClient 7203 https://bugs.webkit.org/show_bug.cgi?id=79427 7204 7205 Reviewed by Adam Barth. 7206 7207 * WebCoreSupport/WebChromeClient.h: 7208 (WebChromeClient): 7209 72102012-02-24 Shinya Kawanaka <shinyak@chromium.org> 7211 7212 SpellCheckRequest needs to know the context where the spellcheck happened. 7213 https://bugs.webkit.org/show_bug.cgi?id=79320 7214 7215 Reviewed by Hajime Morita. 7216 7217 * WebCoreSupport/WebEditorClient.h: 7218 (WebEditorClient::requestCheckingOfString): 7219 (WebEditorClient): 7220 72212012-02-21 Ryosuke Niwa <rniwa@webkit.org> 7222 7223 Remove the remaining uses of CSSStyleDeclaration in Editor 7224 https://bugs.webkit.org/show_bug.cgi?id=78939 7225 7226 Reviewed by Enrica Casucci. 7227 7228 * WebCoreSupport/WebEditorClient.cpp: 7229 (WebEditorClient::shouldApplyStyle): 7230 * WebCoreSupport/WebEditorClient.h: 7231 (WebEditorClient): 7232 72332012-02-22 Ryosuke Niwa <rniwa@webkit.org> 7234 7235 Remove the remaining uses of CSSStyleDeclaration in Editor 7236 https://bugs.webkit.org/show_bug.cgi?id=78939 7237 7238 Reviewed by Enrica Casucci. 7239 7240 * WebCoreSupport/WebEditorClient.cpp: 7241 (WebEditorClient::shouldApplyStyle): 7242 * WebCoreSupport/WebEditorClient.h: 7243 (WebEditorClient): 7244 72452012-02-17 Kalev Lember <kalevlember@gmail.com> 7246 7247 Remove unused parameters from WTF threading API 7248 https://bugs.webkit.org/show_bug.cgi?id=78389 7249 7250 Reviewed by Adam Roben. 7251 7252 waitForThreadCompletion() had an out param 'void **result' to get the 7253 'void *' returned by ThreadFunction. However, the implementation in 7254 ThreadingWin.cpp ignored the out param, not filling it in. This had 7255 led to a situation where none of the client code made use of the param 7256 and just ignored it. 7257 7258 To clean this up, the patch changes the signature of ThreadFunction to 7259 return void instead of void* and drops the the unused 'void **result' 7260 parameter from waitForThreadCompletion. Also, all client code is 7261 updated for the API change. 7262 7263 As mentioned in https://bugs.webkit.org/show_bug.cgi?id=78389 , even 7264 though the change only affects internal API, Safari is using it 7265 directly and we'll need to keep the old versions around for ABI 7266 compatibility. For this, the patch adds compatibility wrappers with 7267 the old ABI. 7268 7269 * WebKit.vcproj/WebKit_Cairo.def: Add the new functions. 7270 * WebKit.vcproj/WebKit_Cairo_debug.def: Ditto. 7271 72722012-02-15 Sadrul Habib Chowdhury <sadrul@chromium.org> 7273 7274 Notify ChromeClient when touch-event handlers are installed/removed. 7275 https://bugs.webkit.org/show_bug.cgi?id=77440 7276 7277 Reviewed by Darin Fisher and Ryosuke Niwa. 7278 7279 * WebCoreSupport/WebChromeClient.h: 7280 (WebChromeClient::numTouchEventHandlersChanged): 7281 72822012-02-14 Alexey Proskuryakov <ap@apple.com> 7283 7284 [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets 7285 https://bugs.webkit.org/show_bug.cgi?id=78541 7286 <rdar://problem/10036695> 7287 7288 Reviewed by Kent Tamura. 7289 7290 * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default value of 7291 the preference 7292 72932012-02-11 Nikolas Zimmermann <nzimmermann@rim.com> 7294 7295 Convert svg/animations to use SMIL methods for driving the timeline 7296 https://bugs.webkit.org/show_bug.cgi?id=78422 7297 7298 Reviewed by Dirk Schulze. 7299 7300 Remove SVG animation sampling functionality provided for DRT, which no longer uses it. 7301 Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime. 7302 7303 * Interfaces/IWebFramePrivate.idl: 7304 * WebFrame.cpp: 7305 * WebFrame.h: 7306 73072012-02-13 Andy Estes <aestes@apple.com> 7308 7309 Fix the Windows build. 7310 7311 * WebCoreSupport/WebPlatformStrategies.cpp: 7312 (WebPlatformStrategies::createPasteboardStrategy): 7313 * WebCoreSupport/WebPlatformStrategies.h: 7314 (WebPlatformStrategies): 7315 73162012-02-12 Andy Estes <aestes@apple.com> 7317 7318 [Windows] Add API to enable inverted color drawing on a WebView 7319 https://bugs.webkit.org/show_bug.cgi?id=77382 7320 7321 Reviewed by Adam Roben. 7322 7323 Add a new private WebPreference key called "WebKitShouldInvertColors" 7324 and add private cover methods to get and set the preference. When this 7325 preference changes on a WebPreference object, all WebViews listening to 7326 that object will repaint to reflect the new value. 7327 7328 * Interfaces/IWebPreferencesPrivate.idl: Add [setS|s]houldInvertColors() 7329 cover methods for WebKitShouldInvertColorsPreferenceKey. 7330 * WebPreferenceKeysPrivate.h: Add WebKitShouldInvertColorsPreferenceKey. 7331 * WebPreferences.cpp: 7332 (WebPreferences::shouldInvertColors): 7333 (WebPreferences::setShouldInvertColors): 7334 * WebPreferences.h: 7335 (WebPreferences): 7336 * WebView.cpp: 7337 (WebView::setShouldInvertColors): If m_shouldInvertColors changes, 7338 update the value on the WebView and in m_layerTreeHost, then repaint 7339 the view. 7340 (WebView::notifyPreferencesChanged): 7341 (WebView::setAcceleratedCompositing): When creating a new layer tree 7342 host, tell it whether it should be inverting colors. 7343 * WebView.h: 7344 73452012-02-07 MORITA Hajime <morrita@google.com> 7346 7347 Replacement text should be available from the marker. 7348 https://bugs.webkit.org/show_bug.cgi?id=77934 7349 7350 Reviewed by Kent Tamura. 7351 7352 * WebKit.vcproj/WebKit_Cairo.def: 7353 * WebKit.vcproj/WebKit_Cairo_debug.def: 7354 73552012-02-02 Jon Lee <jonlee@apple.com> 7356 7357 Clear shown notifications when context is no longer active 7358 https://bugs.webkit.org/show_bug.cgi?id=77363 7359 <rdar://problem/10568907> 7360 7361 Reviewed by Darin Adler. 7362 7363 * WebCoreSupport/WebDesktopNotificationsDelegate.h: 7364 (WebDesktopNotificationsDelegate): Add previously missing virtual functions. 7365 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: 7366 (WebDesktopNotificationsDelegate::notificationControllerDestroyed): 7367 (WebDesktopNotificationsDelegate::cancelRequestsForPermission): 7368 73692012-02-01 Anders Carlsson <andersca@apple.com> 7370 7371 Another attempt to fix the Windows build. 7372 7373 * FullscreenVideoController.cpp: 7374 (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles): 7375 73762012-01-26 Andy Estes <aestes@apple.com> 7377 7378 [Windows] Optionally invert colors when drawing to a WebView's backing store. 7379 https://bugs.webkit.org/show_bug.cgi?id=77168 7380 7381 Reviewed by Sam Weinig. 7382 7383 * WebView.cpp: 7384 (WebView::WebView): Initialize m_shouldInvertColors to false. 7385 (WebView::paintIntoBackingStore): If m_shouldInvertColors is true, draw 7386 an opaque white quad using the CompositeDifference blend mode. This 7387 blend operation instructs CoreGraphics to take the difference between 7388 the source pixel (white) and the background pixel, resulting in an 7389 inverted pixel. 7390 * WebView.h: Define m_shouldInvertColors. 7391 73922012-01-23 Simon Fraser <simon.fraser@apple.com> 7393 7394 Show layer borders for scrollbar layers 7395 https://bugs.webkit.org/show_bug.cgi?id=76888 7396 7397 Reviewed by Beth Dakin. 7398 7399 Update for new signature of GraphicsLayerClient::showDebugBorders() 7400 and GraphicsLayerClient::showRepaintCounter(). 7401 7402 * WebView.cpp: 7403 (WebView::showDebugBorders): 7404 (WebView::showRepaintCounter): 7405 * WebView.h: 7406 74072012-01-23 David Levin <levin@chromium.org> 7408 7409 [windows] Convert usages of GetDC to HWndDC Part 2. 7410 https://bugs.webkit.org/show_bug.cgi?id=76750 7411 7412 Reviewed by Adam Roben. 7413 7414 * FullscreenVideoController.cpp: 7415 (createCompatibleDCForWindow): Moved out the code which creates a DC for a window 7416 to keep the same scope for the DC lifetime. 7417 (FullscreenVideoController::draw): Switch to using OwnPtr<HDC> 7418 since createCompatibleDCForWindow returns a PassOwnPtr. 7419 * WebNodeHighlight.cpp: 7420 (WebNodeHighlight::update): 7421 Cleaned up leaks from calling GetDC without release. 7422 Note that there is a potential leak of hdc that previously existed 7423 and still does in an early exit scenario. (This could be easily fixed 7424 by using OwnPtr<HDC> but I was trying to keep this patch focused.) 7425 * WebView.cpp: 7426 (WebView::scrollBackingStore): Typical conversion. 7427 (WebView::updateBackingStore): Reduced the scope of windowDC to be 7428 right where it is being used. 7429 (WebView::performLayeredWindowUpdate): Typical conversion. 7430 (WebView::paintIntoBackingStore): Ditto. 7431 74322012-01-23 David Levin <levin@chromium.org> 7433 7434 [windows] Convert usages of GetDC to HWndDC Part 1. 7435 https://bugs.webkit.org/show_bug.cgi?id=76744 7436 7437 Reviewed by Adam Roben. 7438 7439 * WebIconDatabase.cpp: 7440 (createDIB): Changed GetDC to HWndDC and removed ReleaseDC. 7441 74422012-01-07 Andreas Kling <awesomekling@apple.com> 7443 7444 Windows build fix. 7445 7446 * DOMHTMLClasses.cpp: 7447 (DOMHTMLDocument::forms): 7448 (DOMHTMLSelectElement::options): 7449 74502012-01-06 Jessie Berlin <jberlin@apple.com> 7451 7452 Windows build fix. 7453 7454 * Interfaces/IWebViewPrivate.idl: 7455 74562012-01-05 Adam Roben <aroben@apple.com> 7457 7458 Add WebKitTestRunnerLauncher to WebKit.sln. 7459 7460 It builds just after WebKitTestRunner. 7461 7462 Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's 7463 Windows port of DumpRenderTree/WebKitTestRunner 7464 7465 Reviewed by Steve Falkenburg. 7466 7467 * WebKit.vcproj/WebKit.sln: 7468 74692012-01-05 Adam Roben <aroben@apple.com> 7470 7471 Add DumpRenderTreeLauncher to WebKit.sln. 7472 7473 It builds just after DumpRenderTree. 7474 7475 Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's 7476 Windows port of DumpRenderTree/WebKitTestRunner 7477 7478 Reviewed by Steve Falkenburg. 7479 7480 * WebKit.vcproj/WebKit.sln: 7481 74822012-01-04 Adam Roben <aroben@apple.com> 7483 7484 Add ImageDiffLauncher to WebKit.sln 7485 7486 It builds just after ImageDiff. 7487 7488 Part of <http://webkit.org/b/75572> ImageDiff.exe can't be run without first munging PATH 7489 7490 Reviewed by Anders Carlsson. 7491 7492 * WebKit.vcproj/WebKit.sln: 7493 74942012-01-04 Adam Roben <aroben@apple.com> 7495 7496 Add MiniBrowserLauncher to WebKit.sln 7497 7498 It builds just after MiniBrowser. 7499 7500 Part of <http://webkit.org/b/68576> <rdar://problem/10163853> MiniBrowser fails to launch 7501 when double-clicked 7502 7503 Reviewed by Anders Carlsson. 7504 7505 * WebKit.vcproj/WebKit.sln: Added MiniBrowserLauncher. 7506 75072012-01-04 Adam Roben <aroben@apple.com> 7508 7509 Add WinLauncherLauncher to WebKit.sln 7510 7511 It builds just after WinLauncher. 7512 7513 Part of <http://webkit.org/b/68578> <rdar://problem/10163861> WinLauncher fails to launch 7514 when double-clicked 7515 7516 Reviewed by Anders Carlsson. 7517 7518 * WebKit.vcproj/WebKit.sln: Added WinLauncherLauncher. 7519 75202011-12-21 Jessie Berlin <jberlin@apple.com> 7521 7522 Expose to Windows the way to allow a scheme access to Local Storage and Databases while 7523 Private Browsing is enabled. 7524 https://bugs.webkit.org/show_bug.cgi?id=75056 7525 7526 Reviewed by Sam Weinig. 7527 7528 Add the Windows WebKit API that corresponds to the Mac one added in r99439. 7529 7530 * WebView.cpp: 7531 (WebView::registerURLSchemeAsSecure): 7532 (WebView::registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing): 7533 (WebView::registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing): 7534 * WebView.h: 7535 75362011-12-20 Pavel Feldman <pavel.feldman@gmail.com> 7537 7538 Web Inspector: reproducible crash after closing web inspector and browser window (iCab) 7539 https://bugs.webkit.org/show_bug.cgi?id=74255 7540 7541 Reviewed by Yury Semikhatsky. 7542 7543 * WebCoreSupport/WebInspectorClient.cpp: 7544 (WebInspectorClient::~WebInspectorClient): 7545 (WebInspectorFrontendClient::destroyInspectorView): 7546 * WebCoreSupport/WebInspectorClient.h: 7547 75482011-12-19 Sam Weinig <sam@webkit.org> 7549 7550 More PlatformEvent cleanup 7551 https://bugs.webkit.org/show_bug.cgi?id=74831 7552 7553 Reviewed by Dan Bernstein. 7554 7555 * WebView.cpp: 7556 (WebView::handleMouseEvent): 7557 Update to use new names, access style. 7558 75592011-12-16 Ryosuke Niwa <rniwa@webkit.org> 7560 7561 Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step 7562 https://bugs.webkit.org/show_bug.cgi?id=74748 7563 7564 Reviewed by Eric Seidel. 7565 7566 * WebCoreSupport/WebEditorClient.cpp: 7567 (WebEditorClient::registerUndoStep): 7568 (WebEditorClient::registerRedoStep): 7569 * WebCoreSupport/WebEditorClient.h: 7570 75712011-12-16 Sam Weinig <sam@webkit.org> 7572 7573 Give PlatformEvents a base class 7574 https://bugs.webkit.org/show_bug.cgi?id=74685 7575 7576 Reviewed by Anders Carlsson. 7577 7578 Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent 7579 and PlatformGestureEvent and move Type enumeration and modifiers down to it. 7580 7581 * AccessibleBase.cpp: 7582 (AccessibleBase::get_accKeyboardShortcut): 7583 * WebDropSource.cpp: 7584 (generateMouseEvent): 7585 * WebView.cpp: 7586 (WebView::keyUp): 7587 (WebView::handleEditingKeyboardEvent): 7588 (WebView::keyDown): 7589 (WebView::keyPress): 7590 75912011-12-16 Ryosuke Niwa <rniwa@webkit.org> 7592 7593 Only EditCommandComposition should implement unapply and reapply 7594 https://bugs.webkit.org/show_bug.cgi?id=74490 7595 7596 Reviewed by Eric Seidel. 7597 7598 * WebCoreSupport/WebEditorClient.cpp: 7599 (WebEditorUndoCommand::WebEditorUndoCommand): 7600 (WebEditorUndoCommand::execute): 7601 (WebEditorClient::registerCommandForUndo): 7602 (WebEditorClient::registerCommandForRedo): 7603 * WebCoreSupport/WebEditorClient.h: 7604 76052011-12-14 Jing Zhao <jingzhao@chromium.org> 7606 7607 Opening two popup menus by dispatchEvent() makes problems. 7608 https://bugs.webkit.org/show_bug.cgi?id=73304 7609 7610 Reviewed by Kent Tamura. 7611 7612 * WebCoreSupport/WebChromeClient.cpp: 7613 (WebChromeClient::hasOpenedPopup): Not implemented. 7614 * WebCoreSupport/WebChromeClient.h: Overrides hasOpenedPopup(). 7615 76162011-12-14 Sam Weinig <weinig@apple.com> 7617 7618 Remove whitespace from InheritedPropertySheets attributes in 7619 vsprops files to appease the Visual Studio project migrator. 7620 7621 Reviewed by Adam Roben. 7622 7623 * WebKit.vcproj/InterfacesDebug.vsprops: 7624 * WebKit.vcproj/InterfacesDebugAll.vsprops: 7625 * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: 7626 * WebKit.vcproj/InterfacesProduction.vsprops: 7627 * WebKit.vcproj/InterfacesRelease.vsprops: 7628 * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: 7629 * WebKit.vcproj/WebKitGUIDDebug.vsprops: 7630 * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: 7631 * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: 7632 * WebKit.vcproj/WebKitGUIDProduction.vsprops: 7633 * WebKit.vcproj/WebKitGUIDRelease.vsprops: 7634 * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: 7635 * WebKit.vcproj/WebKitLibDebug.vsprops: 7636 * WebKit.vcproj/WebKitLibDebugAll.vsprops: 7637 * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: 7638 * WebKit.vcproj/WebKitLibProduction.vsprops: 7639 * WebKit.vcproj/WebKitLibRelease.vsprops: 7640 * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: 7641 76422011-12-07 Mary Wu <mary.wu@torchmobile.com.cn> 7643 7644 Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline 7645 https://bugs.webkit.org/show_bug.cgi?id=73986 7646 7647 Reviewed by Kenneth Rohde Christiansen. 7648 7649 * WebView.cpp: 7650 (WebView::initWithFrame): 7651 76522011-12-05 Eric Carlson <eric.carlson@apple.com> 7653 7654 WebKit/mac part of: Add WebKit preferences for text track settings 7655 https://bugs.webkit.org/show_bug.cgi?id=73721 7656 7657 Reviewed by John Sullivan. 7658 7659 * Interfaces/IWebPreferences.idl: Declare getters and setters for new properties. 7660 7661 * WebPreferenceKeysPrivate.h: Added #define for shouldDisplaySubtitles, shouldDisplayCaptions, 7662 and shouldDisplayTextDescriptions properties. 7663 7664 * WebPreferences.cpp: 7665 (WebPreferences::setShouldDisplaySubtitles): Added. 7666 (WebPreferences::shouldDisplaySubtitles): Ditto. 7667 (WebPreferences::setShouldDisplayCaptions): Ditto. 7668 (WebPreferences::shouldDisplayCaptions): Ditto. 7669 (WebPreferences::setShouldDisplayTextDescriptions): Ditto. 7670 (WebPreferences::shouldDisplayTextDescriptions): Ditto. 7671 * WebPreferences.h: Declare new methods. 7672 7673 * WebView.cpp: 7674 (WebView::notifyPreferencesChanged): Updates WebCore settings from WebKit prefs. 7675 76762011-12-02 Steve Falkenburg <sfalken@apple.com> 7677 7678 Reviewed by Darin Adler. 7679 7680 Changes to localStorageDatabasePath don't have any effect on Windows 7681 https://bugs.webkit.org/show_bug.cgi?id=73606 7682 <rdar://problem/10491296> 7683 7684 * WebView.cpp: 7685 (WebView::notifyPreferencesChanged): Propagate local storage path change to m_page's settings. 7686 76872011-11-30 Alexey Proskuryakov <ap@apple.com> 7688 7689 Remove an unneeded argument from FrameLoaderClient::download 7690 https://bugs.webkit.org/show_bug.cgi?id=73486 7691 7692 Reviewed by Andreas Kling. 7693 7694 * WebFrame.cpp: 7695 (WebFrame::download): 7696 * WebFrame.h: 7697 Updated for the change. 7698 76992011-11-26 Pavel Feldman <pfeldman@google.com> 7700 7701 Web Inspector: remove disconnectFromBackend from the protocol. 7702 https://bugs.webkit.org/show_bug.cgi?id=73127 7703 7704 Reviewed by Yury Semikhatsky. 7705 7706 * WebCoreSupport/WebInspectorClient.cpp: 7707 (WebInspectorClient::inspectorDestroyed): 7708 (WebInspectorClient::closeInspectorFrontend): 7709 * WebCoreSupport/WebInspectorClient.h: 7710 77112011-11-26 Sheriff Bot <webkit.review.bot@gmail.com> 7712 7713 Unreviewed, rolling out r101193. 7714 http://trac.webkit.org/changeset/101193 7715 https://bugs.webkit.org/show_bug.cgi?id=73158 7716 7717 Breaks Windows and Qt minimal. (Requested by pfeldman on 7718 #webkit). 7719 7720 * WebCoreSupport/WebInspectorClient.cpp: 7721 (WebInspectorClient::inspectorDestroyed): 7722 (WebInspectorFrontendClient::disconnectFromBackend): 7723 * WebCoreSupport/WebInspectorClient.h: 7724 77252011-11-26 Pavel Feldman <pfeldman@google.com> 7726 7727 Web Inspector: remove disconnectFromBackend from the protocol. 7728 https://bugs.webkit.org/show_bug.cgi?id=73127 7729 7730 Reviewed by Yury Semikhatsky. 7731 7732 * WebCoreSupport/WebInspectorClient.cpp: 7733 (WebInspectorClient::inspectorDestroyed): 7734 (WebInspectorClient::closeInspectorFrontend): 7735 * WebCoreSupport/WebInspectorClient.h: 7736 77372011-11-22 Pavel Feldman <pfeldman@google.com> 7738 7739 Web Inspector: remove Inspector::bringToFront from the protocol. 7740 https://bugs.webkit.org/show_bug.cgi?id=72937 7741 7742 Reviewed by Yury Semikhatsky. 7743 7744 * WebCoreSupport/WebInspectorClient.cpp: 7745 (WebInspectorClient::bringFrontendToFront): 7746 * WebCoreSupport/WebInspectorClient.h: 7747 77482011-11-21 Pavel Feldman <pfeldman@google.com> 7749 7750 Not reviewed: an attempt to fix windows build. 7751 7752 * WebInspector.cpp: 7753 (WebInspector::isJavaScriptProfilingEnabled): 7754 (WebInspector::setJavaScriptProfilingEnabled): 7755 77562011-06-20 Pavel Feldman <pfeldman@chromium.org> 7757 7758 Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu. 7759 https://bugs.webkit.org/show_bug.cgi?id=62985 7760 7761 Both: inspector protocol and WebCore/InspectorController have a number of unnecessary 7762 methods for plumbing the menu action handlers through the WebKit and WebCore. 7763 I intend to remove this menu support from the protocol and WebCore/InspectorController API. 7764 I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port. 7765 WebKit/win and WebKit2 to follow. 7766 7767 Reviewed by Yury Semikhatsky. 7768 7769 * WebInspector.cpp: 7770 (WebInspector::createInstance): 7771 (WebInspector::WebInspector): 7772 (WebInspector::webViewClosed): 7773 (WebInspector::showConsole): 7774 (WebInspector::isDebuggingJavaScript): 7775 (WebInspector::toggleDebuggingJavaScript): 7776 (WebInspector::isProfilingJavaScript): 7777 (WebInspector::toggleProfilingJavaScript): 7778 (WebInspector::isJavaScriptProfilingEnabled): 7779 (WebInspector::setJavaScriptProfilingEnabled): 7780 (WebInspector::isTimelineProfilingEnabled): 7781 (WebInspector::setTimelineProfilingEnabled): 7782 * WebInspector.h: 7783 * WebView.cpp: 7784 (WebView::WebView): 7785 (WebView::close): 7786 (WebView::initWithFrame): 7787 (WebView::inspector): 7788 * WebView.h: 7789 77902011-10-17 Antonio Gomes <agomes@rim.com> 7791 7792 Pass a Frame* parameter in EditorClient::respondToChangedSelection 7793 https://bugs.webkit.org/show_bug.cgi?id=70248 7794 7795 Reviewed by Ryosuke Niwa. 7796 7797 * WebCoreSupport/WebEditorClient.cpp: Make use of the newly added Frame* parameter. 7798 (WebEditorClient::respondToChangedSelection): 7799 * WebCoreSupport/WebEditorClient.h: 7800 78012011-11-15 Jochen Eisinger <jochen@chromium.org> 7802 7803 Rename ReferrerPolicy to clarify its meaning 7804 https://bugs.webkit.org/show_bug.cgi?id=72420 7805 7806 Reviewed by Nate Chapin. 7807 7808 * WebCoreSupport/WebContextMenuClient.cpp: 7809 (WebContextMenuClient::searchWithGoogle): 7810 78112011-11-15 Anders Carlsson <andersca@apple.com> 7812 7813 HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen 7814 https://bugs.webkit.org/show_bug.cgi?id=72397 7815 7816 Reviewed by Dan Bernstein. 7817 7818 * WebCoreSupport/WebChromeClient.cpp: 7819 (WebChromeClient::rootViewToScreen): 7820 (WebChromeClient::screenToRootView): 7821 * WebCoreSupport/WebChromeClient.h: 7822 78232011-11-14 Anders Carlsson <andersca@apple.com> 7824 7825 HostWindow invalidation functions should use root view coordinates 7826 https://bugs.webkit.org/show_bug.cgi?id=72338 7827 7828 Reviewed by Dan Bernstein. 7829 7830 * WebCoreSupport/WebChromeClient.cpp: 7831 (WebChromeClient::invalidateRootView): 7832 (WebChromeClient::invalidateContentsAndRootView): 7833 * WebCoreSupport/WebChromeClient.h: 7834 78352011-11-07 Adam Barth <abarth@webkit.org> 7836 7837 Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp 7838 https://bugs.webkit.org/show_bug.cgi?id=71755 7839 7840 Reviewed by Eric Seidel. 7841 7842 * WebView.cpp: 7843 (WebView::addOriginAccessWhitelistEntry): 7844 (WebView::removeOriginAccessWhitelistEntry): 7845 (WebView::resetOriginAccessWhitelists): 7846 78472011-11-07 Adam Barth <abarth@webkit.org> 7848 7849 Move DomainRelaxationForbidden scheme registry to SchemeRegistry 7850 https://bugs.webkit.org/show_bug.cgi?id=71750 7851 7852 Reviewed by Eric Seidel. 7853 7854 * WebView.cpp: 7855 (WebView::setDomainRelaxationForbiddenForURLScheme): 7856 78572011-11-07 Beth Dakin <bdakin@apple.com> 7858 7859 https://bugs.webkit.org/show_bug.cgi?id=71490 7860 Support uiStateTransitionProgress for scrollbars 7861 -and corresponding- 7862 <rdar://problem/9849612> 7863 7864 Reviewed by Sam Weinig. 7865 7866 Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter. 7867 * WebScrollBar.cpp: 7868 (WebScrollBar::handleMouseEvent): 7869 78702011-11-02 Darin Adler <darin@apple.com> 7871 7872 Change remaining callers of releaseRef to call leakRef 7873 https://bugs.webkit.org/show_bug.cgi?id=71422 7874 7875 Reviewed by Darin Fisher. 7876 7877 * WebCache.cpp: 7878 (WebCache::statistics): 7879 * WebDatabaseManager.cpp: 7880 (WebDatabaseManager::origins): 7881 (WebDatabaseManager::databasesWithOrigin): 7882 * WebHistoryItem.cpp: 7883 (WebHistoryItem::redirectURLs): 7884 * WebKitClassFactory.cpp: 7885 (leakRefFromCreateInstance): 7886 (WebKitClassFactory::CreateInstance): 7887 * WebScriptWorld.cpp: 7888 (WebScriptWorld::standardWorld): 7889 Use leakRef. 7890 78912011-11-02 Jon Lee <jonlee@apple.com> 7892 7893 Expand DragController to provide more information about the dragging session 7894 https://bugs.webkit.org/show_bug.cgi?id=71324 7895 <rdar://problem/10379175> 7896 7897 Reviewed by Darin Adler. 7898 7899 * WebView.cpp: 7900 (WebView::DragEnter): Minor refactoring because operation is stored in 7901 new DragSession struct. 7902 (WebView::DragOver): Ditto. 7903 79042011-11-02 Tom Sepez <tsepez@chromium.org> 7905 7906 XSSAuditor is silent 7907 https://bugs.webkit.org/show_bug.cgi?id=70973 7908 7909 Reviewed by Adam Barth. 7910 7911 * WebCoreSupport/WebFrameLoaderClient.cpp: 7912 (WebFrameLoaderClient::didDetectXSS): 7913 * WebCoreSupport/WebFrameLoaderClient.h: 7914 79152011-10-28 Jochen Eisinger <jochen@chromium.org> 7916 7917 Rename a number of methods mentioning JavaScript to just Script instead 7918 https://bugs.webkit.org/show_bug.cgi?id=71105 7919 7920 Reviewed by Adam Barth. 7921 7922 * WebFrame.cpp: 7923 (WebFrame::dispatchDidClearWindowObjectInWorld): 7924 * WebView.cpp: 7925 (WebView::notifyPreferencesChanged): 7926 79272011-10-24 Geoffrey Garen <ggaren@apple.com> 7928 7929 Build fix: removed some cases of threadsafeCopy() that I missed in 7930 my previous patch. 7931 7932 * WebDatabaseManager.cpp: 7933 (DidModifyOriginData::dispatchToMainThread): 7934 * WebDownloadCFNet.cpp: 7935 (WebDownload::initToResumeWithBundle): 7936 * WebIconDatabase.cpp: 7937 (WebIconDatabase::didImportIconURLForPageURL): 7938 79392011-10-24 Ryosuke Niwa <rniwa@webkit.org> 7940 7941 threadsafeCopy has been renamed to isolatedCopy. 7942 7943 * WebDatabaseManager.cpp: 7944 (DidModifyOriginData::dispatchToMainThread): 7945 79462011-10-24 Adam Barth <abarth@webkit.org> 7947 7948 Attempt to fix Windows build by updating to the new interface. 7949 7950 * DOMEventsClasses.cpp: 7951 (DOMEvent::createInstance): 7952 79532011-10-18 Adam Barth <abarth@webkit.org> 7954 7955 Always enable ENABLE(XPATH) 7956 https://bugs.webkit.org/show_bug.cgi?id=70217 7957 7958 Reviewed by Eric Seidel. 7959 7960 * Interfaces/DOMWindow.idl: 7961 79622011-10-14 Julien Chaffraix <jchaffraix@webkit.org> 7963 7964 Remove layerX / layerY from the Windows API 7965 https://bugs.webkit.org/show_bug.cgi?id=70051 7966 7967 Reviewed by Darin Adler. 7968 7969 Renamed layerX to unused1 and layerY to unused2 to keep the 7970 binary compatibility. 7971 7972 * DOMEventsClasses.cpp: 7973 (DOMUIEvent::unused1): 7974 (DOMUIEvent::unused2): 7975 * DOMEventsClasses.h: 7976 (DOMKeyboardEvent::unused1): 7977 (DOMKeyboardEvent::unused2): 7978 (DOMMouseEvent::unused1): 7979 (DOMMouseEvent::unused2): 7980 (DOMWheelEvent::unused1): 7981 (DOMWheelEvent::unused2): 7982 * Interfaces/DOMEvents.idl: 7983 79842011-10-11 Simon Fraser <simon.fraser@apple.com> 7985 7986 Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms 7987 https://bugs.webkit.org/show_bug.cgi?id=68134 7988 7989 Reviewed by Darin Adler. 7990 7991 Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled. 7992 7993 Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method 7994 that reads the setting, and returns the mock theme if set. All callers now use 7995 theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build. 7996 7997 * WebScrollBar.cpp: 7998 (WebScrollBar::requestedWidth): 7999 (WebScrollBar::requestedHeight): 8000 * WebView.cpp: 8001 (WebView::WebViewWndProc): 8002 80032011-10-03 Anders Carlsson <andersca@apple.com> 8004 8005 Remove custom scrollbar painting hooks 8006 https://bugs.webkit.org/show_bug.cgi?id=69163 8007 8008 Reviewed by Alexey Proskuryakov. 8009 8010 Remove now unused WebPreferences and ChromeClient overrides. 8011 8012 * Interfaces/IWebPreferences.idl: 8013 * WebCoreSupport/WebChromeClient.cpp: 8014 * WebCoreSupport/WebChromeClient.h: 8015 * WebPreferenceKeysPrivate.h: 8016 * WebPreferences.cpp: 8017 (WebPreferences::unused3): 8018 (WebPreferences::unused4): 8019 * WebPreferences.h: 8020 * WebView.cpp: 8021 (WebView::notifyPreferencesChanged): 8022 80232011-09-23 Adam Roben <aroben@apple.com> 8024 8025 Remove WebKitAPITest 8026 8027 WebKit part of <http://webkit.org/b/66560> WebKitAPITest and TestWebKitAPI have duplicate 8028 functionality (and names!) 8029 8030 Reviewed by Anders Carlsson. 8031 8032 * WebKit.vcproj/WebKit.sln: Removed WebKitAPITest.vcproj. Changed WebKitLauncherWin, which 8033 formerly depended on WebKitAPITest, to now depend on DumpRenderTree, which WebKitAPITest 8034 depended on. 8035 80362011-09-24 Adam Barth <abarth@webkit.org> 8037 8038 Always enable ENABLE(OFFLINE_WEB_APPLICATIONS) 8039 https://bugs.webkit.org/show_bug.cgi?id=68767 8040 8041 Reviewed by Eric Seidel. 8042 8043 * WebCoreSupport/WebChromeClient.cpp: 8044 (WebChromeClient::reachedApplicationCacheOriginQuota): 8045 * WebCoreSupport/WebChromeClient.h: 8046 80472011-09-22 Adam Roben <aroben@apple.com> 8048 8049 Remove FindSafari from all our .sln files 8050 8051 It isn't used anymore, so there's no point in building it. 8052 8053 Part of <http://webkit.org/b/68628> Remove FindSafari 8054 8055 Reviewed by Steve Falkenburg. 8056 8057 * WebKit.vcproj/WebKit.sln: Also relinearized the build order while I was at it. 8058 80592011-09-22 Adam Roben <aroben@apple.com> 8060 8061 Add testRegExp.vcproj to WebKit.sln 8062 8063 Fixes <http://webkit.org/b/68403> Windows bots don't build testRegExp.vcproj 8064 8065 Reviewed by Brian Weinstein. 8066 8067 * WebKit.vcproj/WebKit.sln: Added testRegExp. Made it build just after jsc, just like it 8068 does when built as part of JavaScriptCore.sln. 8069 80702011-09-21 Steve Falkenburg <sfalken@apple.com> 8071 8072 Branch builds don't launch on Windows when run against trunk WebKit 8073 https://bugs.webkit.org/show_bug.cgi?id=68546 8074 8075 Reviewed by Darin Adler. 8076 8077 * Interfaces/IWebPreferences.idl: Swap avFoundation and pictographicFontFamily 8078 in IDL for binary compatibility between branch and trunk. 8079 80802011-09-21 Andras Becsi <andras.becsi@nokia.com> 8081 8082 [Qt] Remove Qt specific code from css/SelectorChecker.cpp 8083 https://bugs.webkit.org/show_bug.cgi?id=67702 8084 8085 Reviewed by Csaba Osztrogonác. 8086 8087 * WebCoreSupport/WebPlatformStrategies.cpp: Modify to match new prototype. 8088 (WebPlatformStrategies::isLinkVisited): 8089 * WebCoreSupport/WebPlatformStrategies.h: Ditto. 8090 80912011-09-17 Mihai Parparita <mihaip@chromium.org> 8092 8093 FrameLoaderClient BackForwardList-related methods are unsued 8094 https://bugs.webkit.org/show_bug.cgi?id=68293 8095 8096 Reviewed by Darin Adler. 8097 8098 Remove FrameLoaderClient methods that were added by r51629, since only 8099 the old (since-deleted) Android port needed them. 8100 8101 * WebCoreSupport/WebFrameLoaderClient.cpp: 8102 * WebCoreSupport/WebFrameLoaderClient.h: 8103 81042011-09-15 Adam Barth <abarth@webkit.org> 8105 8106 Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE) 8107 https://bugs.webkit.org/show_bug.cgi?id=68205 8108 8109 Reviewed by Eric Seidel. 8110 8111 * ForEachCoClass.h: 8112 * WebCoreSupport/WebChromeClient.cpp: 8113 * WebCoreSupport/WebChromeClient.h: 8114 * WebDatabaseManager.cpp: 8115 * WebDatabaseManager.h: 8116 * WebSecurityOrigin.cpp: 8117 (WebSecurityOrigin::usage): 8118 (WebSecurityOrigin::quota): 8119 (WebSecurityOrigin::setQuota): 8120 * WebView.cpp: 8121 (WebView::initWithFrame): 8122 (WebView::notifyPreferencesChanged): 8123 81242011-09-15 Kentaro Hara <haraken@google.com> 8125 8126 A single line must not be split into two pages. 8127 https://bugs.webkit.org/show_bug.cgi?id=65005 8128 8129 Reviewed by David Hyatt. 8130 8131 When the document width of a page is overflowed, the last line of the page can be 8132 split into the next page. This is the regression caused by r88737. r88737 tried to 8133 fix rounding errors in rendering calculations by expanding and shrinking a page 8134 using one common method, resizePageRectsKeepingRatio(), but overlooked the case where 8135 a document width gets overflowed. 8136 8137 Test: printing/single-line-must-not-be-split-into-two-pages.html 8138 8139 * WebFrame.cpp: 8140 (WebFrame::setPrinting): Passes an original page size to setPrinting(). 8141 (WebFrame::setInPrintingMode): Ditto. 8142 * WebFrame.h: 8143 81442011-09-06 Ryosuke Niwa <rniwa@webkit.org> 8145 8146 Rename confirmCompositionWithoutDisturbingSelection to cancelComposition 8147 https://bugs.webkit.org/show_bug.cgi?id=67569 8148 8149 Reviewed by Antonio Gomes. 8150 8151 * WebView.cpp: 8152 (WebView::resetIME): 8153 81542011-08-29 Alexey Proskuryakov <ap@apple.com> 8155 8156 DumpRenderTree should begin each test with an empty cookie store 8157 https://bugs.webkit.org/show_bug.cgi?id=63545 8158 <rdar://problem/5666907> 8159 8160 Reviewed by Darin Adler. 8161 8162 * WebCookieManagerCFNet.cpp: 8163 (WebCookieManager::cookieStorage): 8164 (WebCookieManager::setCookieStorage): 8165 Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage() 8166 returns an unretained reference, which we cannot provide any more, but it should not be a 8167 practical issue. 8168 8169 * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): Updated to use currentCFHTTPCookieStorage() 8170 instead of currentCookieStorage(). 8171 81722011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com> 8173 8174 The unused ScrollView* argument can and should be removed from 8175 scrollRectIntoView. 8176 https://bugs.webkit.org/show_bug.cgi?id=67117 8177 8178 Reviewed by Darin Adler. 8179 8180 * WebCoreSupport/WebChromeClient.h: 8181 (WebChromeClient::scrollRectIntoView): 8182 81832011-08-29 Ryosuke Niwa <rniwa@webkit.org> 8184 8185 Move setInnerTextValue from RenderTextControl to HTMLTextFormControlElement 8186 https://bugs.webkit.org/show_bug.cgi?id=67152 8187 8188 Reviewed by Darin Adler. 8189 8190 Updated call sites of lastChangeWasUserEdit since it's moved from RenderTextControl 8191 to HTMLTextFormControlElement. 8192 8193 * DOMHTMLClasses.cpp: 8194 (DOMHTMLInputElement::isUserEdited): 8195 (DOMHTMLTextAreaElement::isUserEdited): 8196 81972011-08-29 Sheriff Bot <webkit.review.bot@gmail.com> 8198 8199 Unreviewed, rolling out r93987, r93992, r93995, r93998, and 8200 r93999. 8201 http://trac.webkit.org/changeset/93987 8202 http://trac.webkit.org/changeset/93992 8203 http://trac.webkit.org/changeset/93995 8204 http://trac.webkit.org/changeset/93998 8205 http://trac.webkit.org/changeset/93999 8206 https://bugs.webkit.org/show_bug.cgi?id=67147 8207 8208 Many failing tests (Requested by ap on #webkit). 8209 8210 * WebCookieManagerCFNet.cpp: 8211 (WebCookieManager::cookieStorage): 8212 (WebCookieManager::setCookieStorage): 8213 * WebView.cpp: 8214 (updateSharedSettingsFromPreferencesIfNeeded): 8215 82162011-08-29 Alexey Proskuryakov <ap@apple.com> 8217 8218 Windows build fix. 8219 8220 * WebView.cpp: 8221 (updateSharedSettingsFromPreferencesIfNeeded): 8222 Updated for new function name and signature: currentCFHTTPCookieStorage(). 8223 82242011-08-26 Alexey Proskuryakov <ap@apple.com> 8225 8226 DumpRenderTree should begin each test with an empty cookie store 8227 https://bugs.webkit.org/show_bug.cgi?id=63545 8228 <rdar://problem/5666907> 8229 8230 Reviewed by Darin Adler. 8231 8232 * WebCookieManagerCFNet.cpp: 8233 (WebCookieManager::cookieStorage): 8234 (WebCookieManager::setCookieStorage): 8235 Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage() 8236 returns an unretained reference, which we cannot provide any more, but it should not be a 8237 practical issue. 8238 82392011-08-17 Adam Roben <aroben@apple.com> 8240 8241 Make WebCore keep track of the current device scale factor 8242 8243 Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the 8244 device scale factor 8245 8246 Reviewed by Darin Adler. 8247 8248 * WebCoreSupport/WebChromeClient.cpp: 8249 * WebCoreSupport/WebChromeClient.h: 8250 Removed deviceScaleFactor. 8251 82522011-08-15 Dmitry Titov <dimich@chromium.org> 8253 8254 FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters 8255 https://bugs.webkit.org/show_bug.cgi?id=66165 8256 8257 Reviewed by Darin Fisher. 8258 8259 * WebCoreSupport/WebFrameLoaderClient.cpp: 8260 (WebFrameLoaderClient::transferLoadingResourceFromPage): 8261 * WebCoreSupport/WebFrameLoaderClient.h: 8262 82632011-08-15 Adam Roben <aroben@apple.com> 8264 8265 Touch a file to trigger a Windows build 8266 8267 I'm trying to ferret out some issues with our Debug builder. 8268 8269 * WebView.cpp: Sorted #includes. 8270 82712011-08-10 Adam Roben <aroben@apple.com> 8272 8273 Clear up scale factor terminology 8274 8275 WebKit by and large deals with two scale factors: one intrinsic to the device on which the 8276 software is running, and one that is per-Page and can be controlled via API calls. This 8277 patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the 8278 code use those names. It should introduce no behavior changes. 8279 8280 Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the 8281 device scale factor 8282 8283 Reviewed by Simon Fraser. 8284 8285 * WebCoreSupport/WebChromeClient.cpp: 8286 * WebCoreSupport/WebChromeClient.h: 8287 82882011-08-13 Dan Bernstein <mitz@apple.com> 8289 8290 Changed the value of WebKitShowsToolTipOverTruncatedTextPreferenceKey to match the naming everywhere else. 8291 8292 Reviewed by Joseph Pecoraro. 8293 8294 * WebPreferenceKeysPrivate.h: 8295 82962011-08-13 Dan Bernstein <mitz@apple.com> 8297 8298 Build fix. 8299 8300 * WebView.cpp: 8301 (WebView::notifyPreferencesChanged): 8302 83032011-08-12 Dan Bernstein <mitz@apple.com> 8304 8305 Add an option to automatically show tooltips (with the full text) over truncated text 8306 https://bugs.webkit.org/show_bug.cgi?id=66178 8307 8308 Reviewed by Simon Fraser. 8309 8310 * Interfaces/IWebPreferencesPrivate.idl: Added accessors. 8311 * WebPreferenceKeysPrivate.h: Defined a preference key. 8312 * WebPreferences.cpp: 8313 (WebPreferences::initializeDefaultSettings): Added a default value of 8314 false for the ShowsToolTipOverTruncatedText preference. 8315 (WebPreferences::showsToolTipOverTruncatedText): Added this getter. 8316 (WebPreferences::setShowsToolTipOverTruncatedText): Added this setter. 8317 * WebPreferences.h: 8318 * WebView.cpp: 8319 (WebView::notifyPreferencesChanged): Added call to Settings::setShowsToolTipOverTruncatedText(). 8320 83212011-08-05 Brent Fulgham <bfulgham@webkit.org> 8322 8323 WebView::performLayeredWindowUpdate() crashes with 8324 NULL pointer when using layered window updates. 8325 https://bugs.webkit.org/show_bug.cgi?id=60618 8326 8327 Reviewed by Adam Roben. 8328 8329 During resize operations, the backing store will be destroyed if 8330 the window's size (either height or width) is set to zero. The 8331 bug was identified when a user first resized a WebView to zero 8332 dimensions, then attempted to perform a MoveWindow. The paint 8333 message triggered by the MoveWindow attempted to use the layered 8334 window update logic, which encountered the nulled backing store. 8335 8336 * WebView.cpp: 8337 (WebView::performLayeredWindowUpdate): Add an early 8338 return when there is no backing store to blend with. 8339 83402011-08-05 Anders Carlsson <andersca@apple.com> 8341 8342 Remove PluginHalter 8343 https://bugs.webkit.org/show_bug.cgi?id=65729 8344 8345 Reviewed by Darin Adler. 8346 8347 Remove plug-in halter and associated classes. 8348 8349 * Interfaces/IWebPluginHalterDelegate.idl: Removed. 8350 * Interfaces/IWebPreferencesPrivate.idl: 8351 * Interfaces/IWebViewPrivate.idl: 8352 * Interfaces/WebKit.idl: 8353 * WebCoreSupport/WebPluginHalterClient.cpp: Removed. 8354 * WebCoreSupport/WebPluginHalterClient.h: Removed. 8355 * WebKit.vcproj/Interfaces.vcproj: 8356 * WebKit.vcproj/WebKit.vcproj: 8357 * WebPreferenceKeysPrivate.h: 8358 * WebPreferences.cpp: 8359 (WebPreferences::initializeDefaultSettings): 8360 * WebPreferences.h: 8361 * WebView.cpp: 8362 (WebView::close): 8363 (WebView::initWithFrame): 8364 (WebView::notifyPreferencesChanged): 8365 (WebView::unused1): 8366 (WebView::unused2): 8367 (WebView::unused3): 8368 (WebView::unused4): 8369 (WebView::unused5): 8370 * WebView.h: 8371 83722011-08-04 Jeff Miller <jeffm@apple.com> 8373 8374 Add support for setting and getting whether AVFoundation is enabled to IWebPreferences 8375 https://bugs.webkit.org/show_bug.cgi?id=65718 8376 8377 Reviewed by Adam Roben. 8378 8379 * Interfaces/IWebPreferences.idl: Added setAVFoundationEnabled() and avFoundationEnabled(). 8380 8381 * WebPreferenceKeysPrivate.h: Added WebKitAVFoundationEnabledPreferenceKey. 8382 8383 * WebPreferences.cpp: 8384 (WebPreferences::avFoundationEnabled): Added. 8385 (WebPreferences::setAVFoundationEnabled): Added. 8386 8387 * WebPreferences.h: Added setAVFoundationEnabled() and avFoundationEnabled(). 8388 8389 * WebView.cpp: 8390 (WebView::notifyPreferencesChanged): Keep settings for AVFoundation being enabled in sync. 8391 83922011-08-03 Kent Tamura <tkent@chromium.org> 8393 8394 [Windows] Fix build without ENABLE_VIDEO. 8395 8396 * WebView.cpp: 8397 (WebView::enterFullscreenForNode): 8398 83992011-08-03 Kent Tamura <tkent@chromium.org> 8400 8401 Fix incorrect checks for HTMLMediaElement 8402 https://bugs.webkit.org/show_bug.cgi?id=65590 8403 8404 Reviewed by Dimitri Glazkov. 8405 8406 <video> and <audio> can be an HTMLElement instance instead of 8407 HTMLMediaElement if MediaPlayer::isAvailable() returns false or 8408 the media feature is disabled at runtime. 8409 8410 * WebView.cpp: 8411 (WebView::enterFullscreenForNode): 8412 84132011-08-03 Joseph Pecoraro <joepeck@webkit.org> 8414 8415 Web Inspector: Remove InspectorFrontendHost load/saveSessionSetting 8416 https://bugs.webkit.org/show_bug.cgi?id=65582 8417 8418 Reviewed by Pavel Feldman. 8419 8420 * WebCoreSupport/WebInspectorClient.cpp: 8421 * WebCoreSupport/WebInspectorClient.h: 8422 84232011-08-03 Adam Roben <aroben@apple.com> 8424 8425 Windows nightly build fix after r91777 8426 8427 * Interfaces/IWebPreferences.idl: Moved [set]PictographFontFamily to the end of the 8428 interface to maintain binary compatibility with Safari 5.1. 8429 84302011-08-03 Pavel Feldman <pfeldman@google.com> 8431 8432 Web Inspector: [Timeline] Hover on paint events and see rect outline around that area. 8433 https://bugs.webkit.org/show_bug.cgi?id=65510 8434 8435 Reviewed by Yury Semikhatsky. 8436 8437 * WebNodeHighlight.cpp: 8438 (WebNodeHighlight::update): 8439 84402011-08-03 Pavel Feldman <pfeldman@chromium.org> 8441 8442 Web Inspector: remove Node parameter from the InspectorClient::highlight 8443 https://bugs.webkit.org/show_bug.cgi?id=65549 8444 8445 Reviewed by Yury Semikhatsky. 8446 8447 * WebCoreSupport/WebInspectorClient.cpp: 8448 (WebInspectorClient::highlight): 8449 * WebCoreSupport/WebInspectorClient.h: 8450 84512011-07-31 Daniel Bates <dbates@webkit.org> 8452 8453 Attempt to fix the WinCairo Debug build after r92059 (https://bugs.webkit.org/show_bug.cgi?id=65419). 8454 8455 * WebKit.vcproj/WebKit_Cairo.def: Export some symbols. 8456 * WebKit.vcproj/WebKit_Cairo_debug.def: Ditto. 8457 84582011-07-30 Patrick Gansterer <paroga@webkit.org> 8459 8460 Remove inclusion of MainThread.h from Threading.h 8461 https://bugs.webkit.org/show_bug.cgi?id=65081 8462 8463 Reviewed by Darin Adler. 8464 8465 Add missing include statements for MainThread. 8466 8467 * WebKitClassFactory.cpp: 8468 * WebView.cpp: 8469 84702011-07-26 Sadrul Habib Chowdhury <sadrul@chromium.org> 8471 8472 Add support for download='filename' attribute in anchors. 8473 https://bugs.webkit.org/show_bug.cgi?id=64580 8474 8475 Reviewed by Adam Barth. 8476 8477 * WebFrame.cpp: 8478 (WebFrame::startDownload): 8479 * WebFrame.h: 8480 84812011-07-26 Dan Bernstein <mitz@apple.com> 8482 8483 <rdar://problem/9842889> Add a generic pictograph font family 8484 https://bugs.webkit.org/show_bug.cgi?id=65197 8485 8486 Reviewed by Anders Carlsson. 8487 8488 * Interfaces/IWebPreferences.idl: Added pictographFontFamily() and 8489 setPictographFontFamily(). 8490 * WebPreferenceKeysPrivate.h: Added WebKitPictographFontPreferenceKey. 8491 * WebPreferences.cpp: 8492 (WebPreferences::initializeDefaultSettings): Initialize the pictograph font 8493 preference to "Times New Roman". 8494 (WebPreferences::pictographFontFamily): Added this getter. 8495 (WebPreferences::setPictographFontFamily): Added this setter. 8496 * WebPreferences.h: 8497 * WebView.cpp: 8498 (WebView::notifyPreferencesChanged): Pass the preference value through to 8499 WebCore. 8500 85012011-07-18 Dean Jackson <dino@apple.com> 8502 8503 https://bugs.webkit.org/show_bug.cgi?id=64742 8504 Expose WebPreferences for media playback requiring user gestures and inline playback 8505 8506 Reviewed by Simon Fraser. 8507 8508 Two new WebPreferences: MediaPlaybackRequiresUserGesture and 8509 MediaPlaybackAllowsInline. 8510 8511 * Interfaces/IWebPreferencesPrivate.idl: 8512 * WebPreferenceKeysPrivate.h: 8513 * WebPreferences.cpp: 8514 (WebPreferences::initializeDefaultSettings): 8515 (WebPreferences::setMediaPlaybackRequiresUserGesture): 8516 (WebPreferences::mediaPlaybackRequiresUserGesture): 8517 (WebPreferences::setMediaPlaybackAllowsInline): 8518 (WebPreferences::mediaPlaybackAllowsInline): 8519 * WebPreferences.h: 8520 * WebView.cpp: 8521 (WebView::notifyPreferencesChanged): 8522 85232011-07-16 Simon Fraser <simon.fraser@apple.com> 8524 8525 Add code to attempt to align compositing layers to pixel boundaries when page scale changes 8526 https://bugs.webkit.org/show_bug.cgi?id=64658 8527 8528 Reviewed by Dan Bernstein. 8529 8530 Removed implementations of backingScaleFactor() and pageScaleFactor() now 8531 that GraphicsLayerClient has default implementations. 8532 8533 * WebView.h: 8534 85352011-07-15 Simon Fraser <simon.fraser@apple.com> 8536 8537 Fix Windows build. 8538 8539 * WebView.h: 8540 (WebView::backingScaleFactor): 8541 (WebView::pageScaleFactor): 8542 85432011-07-15 Dan Bernstein <mitz@apple.com> 8544 8545 REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides 8546 https://bugs.webkit.org/show_bug.cgi?id=64615 8547 8548 Reviewed by Anders Carlsson. 8549 8550 * WebCoreSupport/WebChromeClient.cpp: 8551 (WebChromeClient::setCursorHiddenUntilMouseMoves): Added this stub. 8552 * WebCoreSupport/WebChromeClient.h: 8553 85542011-07-12 Joseph Pecoraro <joepeck@webkit.org> 8555 8556 ApplicationCache update should not immediately fail when reaching per-origin quota 8557 https://bugs.webkit.org/show_bug.cgi?id=64177 8558 8559 Reviewed by Alexey Proskuryakov. 8560 8561 * WebCoreSupport/WebChromeClient.cpp: 8562 (WebChromeClient::reachedApplicationCacheOriginQuota): 8563 * WebCoreSupport/WebChromeClient.h: 8564 85652011-07-11 Hironori Bono <hbono@chromium.org> 8566 8567 Reviewed by Adam Roben. 8568 8569 Implement layoutTestController.setTextDirection for WebKit2 and Windows. 8570 https://bugs.webkit.org/show_bug.cgi?id=61931 8571 8572 This change implements layoutTextController.setTextDirection for WebKit2 8573 and Windows so we can run a layout test added by r87770 on them. Each 8574 implementation adds a wrapper function for Editor::setBaseWritingDirection() 8575 so LayoutTestController can call it. 8576 8577 * Interfaces/IWebFramePrivate.idl: Added setTextDirection to allow 8578 LayoutTestController to change the text direction. 8579 * WebFrame.cpp: ditto. 8580 (WebFrame::setTextDirection): 8581 * WebFrame.h: ditto. 8582 85832011-07-08 Chang Shu <cshu@webkit.org> 8584 8585 Update calling sites after function renamed. 8586 https://bugs.webkit.org/show_bug.cgi?id=59114 8587 8588 Reviewed by Alexey Proskuryakov. 8589 8590 * WebKitGraphics.cpp: 8591 (WebDrawText): 8592 85932011-06-30 Anders Carlsson <andersca@apple.com> 8594 8595 Reviewed by Dan Bernstein. 8596 8597 More ScrollableArea scaffolding 8598 https://bugs.webkit.org/show_bug.cgi?id=63678 8599 8600 * WebScrollBar.h: 8601 (WebScrollBar::enclosingScrollableArea): 8602 Always return 0, WebScrollbar has no concept of an enclosing scrollable area. 8603 86042011-06-28 Ilya Sherman <isherman@chromium.org> 8605 8606 Reviewed by Adam Barth. 8607 8608 form.autocomplete="off" does not work 8609 https://bugs.webkit.org/show_bug.cgi?id=35823 8610 8611 * WebFrame.cpp: 8612 (WebFrame::elementDoesAutoComplete): Updated callsite. 8613 86142011-06-27 Brent Fulgham <bfulgham@webkit.org> 8615 8616 Reviewed by Adam Roben. 8617 8618 Avoid attempt to create a zero-size DIB. 8619 https://bugs.webkit.org/show_bug.cgi?id=63484. 8620 8621 * WebNodeHighlight.cpp: 8622 (WebNodeHighlight::update): Check for zero-height (or zero-width) 8623 region for DIB, and exit early if attempting to create a zero-size 8624 DIB/BITMAP. 8625 86262011-06-24 Dan Bernstein <mitz@apple.com> 8627 8628 Reviewed by Anders Carlsson. 8629 8630 Add an option to enable legacy rounding hacks 8631 https://bugs.webkit.org/show_bug.cgi?id=63363 8632 8633 * WebKitGraphics.cpp: 8634 (CenterTruncateStringToWidth): Enabled rounding hacks in the string truncator. 8635 (RightTruncateStringToWidth): Ditto. 8636 86372011-06-24 Yuta Kitamura <yutak@chromium.org> 8638 8639 Reviewed by Adam Barth. 8640 8641 WebSocket: Add run-time flag for new HyBi protocol 8642 https://bugs.webkit.org/show_bug.cgi?id=60348 8643 8644 Make a new flag (Setting::m_useHixie76WebSocketProtocol) 8645 switchable from WebView and WebPreferences. 8646 8647 * Interfaces/IWebPreferencesPrivate.idl: 8648 * WebPreferenceKeysPrivate.h: 8649 * WebPreferences.cpp: 8650 (WebPreferences::initializeDefaultSettings): 8651 (WebPreferences::setHixie76WebSocketProtocolEnabled): 8652 (WebPreferences::hixie76WebSocketProtocolEnabled): 8653 * WebPreferences.h: 8654 * WebView.cpp: 8655 (WebView::notifyPreferencesChanged): 8656 86572011-06-22 Dominic Cooney <dominicc@chromium.org> 8658 8659 Reviewed by Mark Rowe. 8660 8661 Add window.internals to WebKit2's WebKitTestRunner. 8662 https://bugs.webkit.org/show_bug.cgi?id=61073 8663 8664 * WebKit.vcproj/WebKit.sln: InjectedBundle depends on WebCoreTestSupport 8665 86662011-06-20 Dimitri Glazkov <dglazkov@chromium.org> 8667 8668 Reviewed by Kent Tamura. 8669 8670 FileChooser should be only created when we need to choose files. 8671 https://bugs.webkit.org/show_bug.cgi?id=63039 8672 8673 * WebCoreSupport/WebChromeClient.cpp: 8674 (WebChromeClient::runOpenPanel): Changed to use settings. 8675 86762011-06-21 Sheriff Bot <webkit.review.bot@gmail.com> 8677 8678 Unreviewed, rolling out r89354. 8679 http://trac.webkit.org/changeset/89354 8680 https://bugs.webkit.org/show_bug.cgi?id=63099 8681 8682 Broke tests on Mac (Requested by rniwa on #webkit). 8683 8684 * WebCoreSupport/WebInspectorClient.cpp: 8685 (WebInspectorClient::WebInspectorClient): 8686 (WebInspectorClient::openInspectorFrontend): 8687 (WebInspectorFrontendClient::destroyInspectorView): 8688 * WebCoreSupport/WebInspectorClient.h: 8689 * WebInspector.cpp: 8690 (WebInspector::createInstance): 8691 (WebInspector::WebInspector): 8692 (WebInspector::webViewClosed): 8693 (WebInspector::showConsole): 8694 (WebInspector::isDebuggingJavaScript): 8695 (WebInspector::toggleDebuggingJavaScript): 8696 (WebInspector::isProfilingJavaScript): 8697 (WebInspector::toggleProfilingJavaScript): 8698 (WebInspector::isJavaScriptProfilingEnabled): 8699 (WebInspector::setJavaScriptProfilingEnabled): 8700 (WebInspector::isTimelineProfilingEnabled): 8701 (WebInspector::setTimelineProfilingEnabled): 8702 * WebInspector.h: 8703 * WebView.cpp: 8704 (WebView::WebView): 8705 (WebView::close): 8706 (WebView::initWithFrame): 8707 (WebView::inspector): 8708 * WebView.h: 8709 87102011-06-20 Pavel Feldman <pfeldman@chromium.org> 8711 8712 Reviewed by Yury Semikhatsky. 8713 8714 Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu. 8715 https://bugs.webkit.org/show_bug.cgi?id=62985 8716 8717 Both: inspector protocol and WebCore/InspectorController have a number of unnecessary 8718 methods for plumbing the menu action handlers through the WebKit and WebCore. 8719 I intend to remove this menu support from the protocol and WebCore/InspectorController API. 8720 I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port. 8721 WebKit/win and WebKit2 to follow. 8722 8723 * WebInspector.cpp: 8724 (WebInspector::createInstance): 8725 (WebInspector::WebInspector): 8726 (WebInspector::webViewClosed): 8727 (WebInspector::showConsole): 8728 (WebInspector::isDebuggingJavaScript): 8729 (WebInspector::toggleDebuggingJavaScript): 8730 (WebInspector::isProfilingJavaScript): 8731 (WebInspector::toggleProfilingJavaScript): 8732 (WebInspector::isJavaScriptProfilingEnabled): 8733 (WebInspector::setJavaScriptProfilingEnabled): 8734 (WebInspector::isTimelineProfilingEnabled): 8735 (WebInspector::setTimelineProfilingEnabled): 8736 * WebInspector.h: 8737 * WebView.cpp: 8738 (WebView::WebView): 8739 (WebView::close): 8740 (WebView::initWithFrame): 8741 (WebView::inspector): 8742 * WebView.h: 8743 87442011-06-18 Dimitri Glazkov <dglazkov@chromium.org> 8745 8746 Reviewed by Darin Adler. 8747 8748 Separate concerns of loading file icons and choosing files. 8749 https://bugs.webkit.org/show_bug.cgi?id=62931 8750 8751 * WebCoreSupport/WebChromeClient.cpp: 8752 (WebChromeClient::loadIconForFiles): Renamed. 8753 * WebCoreSupport/WebChromeClient.h: 8754 87552011-06-16 Sheriff Bot <webkit.review.bot@gmail.com> 8756 8757 Unreviewed, rolling out r89026. 8758 http://trac.webkit.org/changeset/89026 8759 https://bugs.webkit.org/show_bug.cgi?id=62804 8760 8761 These patches were likely correct. I'll investigate the 8762 browser_test failures. (Requested by abarth on #webkit). 8763 8764 * FullscreenVideoController.cpp: 8765 (FullscreenVideoController::play): 8766 (FullscreenVideoController::pause): 8767 87682011-06-16 Vitaly Repeshko <vitalyr@chromium.org> 8769 8770 Unreviewed. 8771 8772 Revert Adam's user gesture patch series r89002, r89005, r89007, r89018 8773 https://bugs.webkit.org/show_bug.cgi?id=62796 8774 8775 The patches broke chromium browser tests. 8776 8777 * FullscreenVideoController.cpp: 8778 (FullscreenVideoController::play): 8779 (FullscreenVideoController::pause): 8780 87812011-06-16 Adam Barth <abarth@webkit.org> 8782 8783 Reviewed by Eric Seidel. 8784 8785 Remove HTMLVideoElement::processingUserGesture 8786 https://bugs.webkit.org/show_bug.cgi?id=62784 8787 8788 * FullscreenVideoController.cpp: 8789 (FullscreenVideoController::play): 8790 (FullscreenVideoController::pause): 8791 87922011-06-13 Kentaro Hara <haraken@google.com> 8793 8794 Reviewed by Alexey Proskuryakov. 8795 8796 Add resizePageRectsKeepingRatio(), which expands/shrinks a page, keeping the ratio of the original page 8797 https://bugs.webkit.org/show_bug.cgi?id=61256 8798 8799 In order to prevent rounding error caused by expanding/shrinking a page 8800 using different calculation here and there, I added a common calculation 8801 method, resizePageRectsKeepingRatio(), which expands/shrinks a page, 8802 keeping the ratio of width and height of the original page. 8803 WebFrame::setInPrintingMode() uses resizePageRectsKeepingRatio() to 8804 expand/shrink a page. 8805 8806 Test: printing/page-count-with-one-word.html 8807 8808 * WebFrame.cpp: 8809 (WebFrame::setPrinting): 8810 (WebFrame::setInPrintingMode): 8811 * WebFrame.h: 8812 88132011-06-12 MORITA Hajime <morrita@google.com> 8814 8815 Unreviewed, rolling out r88625. 8816 http://trac.webkit.org/changeset/88625 8817 https://bugs.webkit.org/show_bug.cgi?id=61073 8818 8819 Breaks SL Webkit2 Tests 8820 8821 * WebKit.vcproj/WebKit.sln: 8822 88232011-06-12 Adam Barth <abarth@webkit.org> 8824 8825 Reviewed by Alexey Proskuryakov. 8826 8827 Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense 8828 https://bugs.webkit.org/show_bug.cgi?id=62516 8829 8830 * WebFrame.cpp: 8831 (WebFrame::interruptedForPolicyChangeError): 8832 * WebFrame.h: 8833 88342011-06-12 Dominic Cooney <dominicc@chromium.org> 8835 8836 Reviewed by Hajime Morita. 8837 8838 Add window.internals to WebKit2's WebKitTestRunner. 8839 https://bugs.webkit.org/show_bug.cgi?id=61073 8840 8841 * WebKit.vcproj/WebKit.sln: InjectedBundle depends on WebCoreTestSupport 8842 88432011-06-12 Adam Barth <abarth@webkit.org> 8844 8845 Reviewed by Alexey Proskuryakov. 8846 8847 Remove trival "forward-to-client" member functions from FrameLoader 8848 https://bugs.webkit.org/show_bug.cgi?id=62510 8849 8850 * WebCoreSupport/WebFrameNetworkingContext.cpp: 8851 (WebFrameNetworkingContext::blockedError): 8852 88532011-06-06 Michael Saboff <msaboff@apple.com> 8854 8855 Reviewed by Geoffrey Garen. 8856 8857 Fonts returned by FontCache::getFontDataForCharacters() are never released 8858 https://bugs.webkit.org/show_bug.cgi?id=61875 8859 8860 This change allows fonts allocated as system fallback fonts to be 8861 released. Previously, the reference counts for these fonts grew 8862 without bound. This is implemented as an auto release class that wraps 8863 accesses to the cache for system fallback fonts. All such accesses are 8864 via the method FontCache::getFontDataForCharacters. The new class is 8865 called FontCachePurgePreventer. When such an object exists, it protects 8866 these fonts from deletion. 8867 8868 See more comments for this defect in Source/WebCore/ChangeLog. 8869 8870 * WebKitGraphics.cpp: 8871 (CenterTruncateStringToWidth): 8872 (RightTruncateStringToWidth): 8873 Wrapped code accessing fallback fonts with local 8874 FontCachePurgePreventer in these methods. 8875 88762011-06-04 Dominic Cooney <dominicc@chromium.org> 8877 8878 Reviewed by Dimitri Glazkov. 8879 8880 Add WebCoreTestSupport project containing window.internals. 8881 https://bugs.webkit.org/show_bug.cgi?id=61076 8882 8883 * WebKit.vcproj/WebKit.sln: 8884 88852011-05-18 Anthony Johnson <anthony.johnson@flexsim.com> 8886 8887 Reviewed by Brent Fulgham. 8888 8889 Implement the ability to add C++ event listeners to html dom 8890 elements and dom window. 8891 https://bugs.webkit.org/show_bug.cgi?id=60269 8892 8893 * DOMCoreClasses.cpp: Add new DOMWindow class and implementations. 8894 (DOMNode::QueryInterface): Report that the DOMNode implements 8895 the IDomEventTarget interface. 8896 (DOMNode::addEventListener): Add implementation of a COM-based 8897 event listener. 8898 (DOMNode::removeEventListener): 8899 (DOMNode::dispatchEvent): 8900 (DOMDocument::createInstance): 8901 (DOMWindow::QueryInterface): New implementation. 8902 (DOMWindow::document): New implementation. 8903 (DOMWindow::getComputedStyle): Stub. 8904 (DOMWindow::getMatchedCSSRules): Stub. 8905 (DOMWindow::devicePixelRatio): Stub. 8906 (DOMWindow::addEventListener): New implementation. 8907 (DOMWindow::removeEventListener): New implementation. 8908 (DOMWindow::dispatchEvent): New implementation. 8909 (DOMWindow::DOMWindow): New implementation. 8910 (DOMWindow::~DOMWindow): New implementation. 8911 (DOMWindow::createInstance): New implementation. 8912 * DOMCoreClasses.h: Add new DOMWindow class and declarations. 8913 (DOMWindow::AddRef): New declaration. 8914 (DOMWindow::Release): New declaration. 8915 (DOMWindow::throwException): New declaration. 8916 (DOMWindow::callWebScriptMethod): New declaration. 8917 (DOMWindow::evaluateWebScript): New declaration. 8918 (DOMWindow::removeWebScriptKey): New declaration. 8919 (DOMWindow::stringRepresentation): New declaration. 8920 (DOMWindow::webScriptValueAtIndex): New declaration. 8921 (DOMWindow::setWebScriptValueAtIndex): New declaration. 8922 (DOMWindow::setException): New declaration. 8923 (DOMWindow::window): New declaration. 8924 * DOMEventsClasses.cpp: Add new WebEventListener and implementation. 8925 (DOMEventListener::handleEvent): New implementation. 8926 (WebEventListener::WebEventListener): New implementation. 8927 (WebEventListener::~WebEventListener): New implementation. 8928 (WebEventListener::operator==): New implementation. 8929 (WebEventListener::handleEvent): New implementation. 8930 (WebEventListener::create): New implementation. 8931 * DOMEventsClasses.h: Add new WebEventListener class declaration. 8932 * Interfaces/IWebFrame.idl: Add new DOMWindow accessor to the 8933 main Web Frame interface. 8934 * WebFrame.cpp: Add implementation of new DOMWindow creation method. 8935 (WebFrame::DOMWindow): 8936 * WebFrame.h: Add DOMWindow declaration. 8937 89382011-05-20 Simon Fraser <simon.fraser@apple.com> 8939 8940 Reviewed by Sam Weinig. 8941 8942 numberOfActiveAnimations() can include animations from documents in the page cache 8943 https://bugs.webkit.org/show_bug.cgi?id=53641 8944 8945 Pass the Frame's document as the one to count animations on. 8946 8947 * WebFrame.cpp: 8948 (WebFrame::numberOfActiveAnimations): 8949 89502011-05-20 Jer Noble <jer.noble@apple.com> 8951 8952 Reviewed by Maciej Stachowiak. 8953 8954 Win: non-full-screen content is briefly seen when entering full-screen mode (and vice versa) 8955 https://bugs.webkit.org/show_bug.cgi?id=61108 8956 8957 * WebView.cpp: 8958 (WebView::fullScreenClientForceRepaint): Repaint the view and immediately notify the 8959 full screen controller. 8960 * WebView.h: 8961 89622011-05-13 Jon Lee <jonlee@apple.com> 8963 8964 Reviewed by Simon Fraser. 8965 8966 Can't horizontally scroll iframes and overflow because wheel events are always accepted 8967 https://bugs.webkit.org/show_bug.cgi?id=60779 8968 8969 * WebCoreSupport/WebChromeClient.h: 8970 (WebChromeClient::shouldRubberBandInDirection): Default impl of new ChromeClient method 8971 (WebChromeClient::numWheelEventHandlersChanged): Default impl of new ChromeClient method 8972 89732011-05-13 Sam Weinig <sam@webkit.org> 8974 8975 Reviewed by Anders Carlsson. 8976 8977 Prune #includes from FrameView.h (Part 2) 8978 https://bugs.webkit.org/show_bug.cgi?id=60748 8979 8980 - Update files that were depending on FrameView.h #including Frame.h or 8981 Page.h. 8982 8983 * WebCoreSupport/WebChromeClient.cpp: 8984 * WebCoreSupport/WebDragClient.cpp: 8985 * WebCoreSupport/WebFrameLoaderClient.cpp: 8986 * WebFrame.cpp: 8987 (WebFrame::setPrinting): 8988 * WebView.cpp: 8989 89902011-05-12 Patrick Gansterer <paroga@webkit.org> 8991 8992 Reviewed by Adam Barth. 8993 8994 Enable OwnPtr strict mode in PluginHalter 8995 https://bugs.webkit.org/show_bug.cgi?id=60681 8996 8997 * WebView.cpp: 8998 (WebView::initWithFrame): 8999 90002011-05-12 Adam Roben <aroben@apple.com> 9001 9002 A little gtest cleanup after r86287 9003 9004 * WebKit.vcproj/WebKit.sln: 9005 - Move gtest into the Tools folder 9006 - Make gtest build just before TestWebKitAPIGenerated 9007 - Use gtest's new Debug_All and Production configurations as appropriate 9008 90092011-05-12 Nikolas Zimmermann <nzimmermann@rim.com> 9010 9011 Reviewed by Darin Adler. 9012 9013 String operator+ reallocates unnecessarily when concatting > 2 strings 9014 https://bugs.webkit.org/show_bug.cgi?id=58420 9015 9016 Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details. 9017 9018 * AccessibleBase.cpp: 9019 (AccessibleBase::get_accKeyboardShortcut): Explicitely cast to Strings first, so operator BString() can be invoked. 9020 90212011-05-11 Dmitry Lomov <dslomov@google.com> 9022 9023 Reviewed by David Levin. 9024 9025 https://bugs.webkit.org/show_bug.cgi?id=59561 9026 Switch TestWebKitAPI to GTest 9027 9028 Fixes Makefiles and WinCairo build as well 9029 9030 * WebKit.vcproj/WebKit.sln: 9031 90322011-05-11 Jessie Berlin <jberlin@apple.com> 9033 9034 Reviewed by Steve Falkenburg. 9035 9036 [Windows WebKit2] Use cookies set in WebKit1 9037 https://bugs.webkit.org/show_bug.cgi?id=60274 9038 9039 * WebView.cpp: 9040 (WebView::setCacheModel): 9041 Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session. 9042 90432011-05-11 Sheriff Bot <webkit.review.bot@gmail.com> 9044 9045 Unreviewed, rolling out r86255. 9046 http://trac.webkit.org/changeset/86255 9047 https://bugs.webkit.org/show_bug.cgi?id=60660 9048 9049 REGRESSION (r86255): Lots of tests crashing in 9050 CFWriteStreamCreateWithAllocatedBuffers on Windows 7 Release 9051 (WebKit2 Tests) (Requested by aroben on #webkit). 9052 9053 * WebView.cpp: 9054 (WebView::setCacheModel): 9055 90562011-05-11 Jessie Berlin <jberlin@apple.com> 9057 9058 Reviewed by Steve Falkenburg. 9059 9060 [Windows WebKit2] Use cookies set in WebKit1 9061 https://bugs.webkit.org/show_bug.cgi?id=60274 9062 9063 * WebView.cpp: 9064 (WebView::setCacheModel): 9065 Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session. 9066 90672011-05-09 Sheriff Bot <webkit.review.bot@gmail.com> 9068 9069 Unreviewed, rolling out r86108. 9070 http://trac.webkit.org/changeset/86108 9071 https://bugs.webkit.org/show_bug.cgi?id=60533 9072 9073 Broke makefile based builds and Cairo (Requested by weinig on 9074 #webkit). 9075 9076 * WebKit.vcproj/WebKit.sln: 9077 90782011-05-09 Dmitry Lomov <dslomov@google.com> 9079 9080 Reviewed by Sam Weinig. 9081 9082 Switch TestWebKitAPI to GTest 9083 https://bugs.webkit.org/show_bug.cgi?id=59561 9084 9085 * WebKit.vcproj/WebKit.sln: 9086 90872011-05-07 Sheriff Bot <webkit.review.bot@gmail.com> 9088 9089 Unreviewed, rolling out r86016. 9090 http://trac.webkit.org/changeset/86016 9091 https://bugs.webkit.org/show_bug.cgi?id=60445 9092 9093 caused crashes on the WK2 Windows bots (Requested by 9094 jessieberlin on #webkit). 9095 9096 * WebView.cpp: 9097 (WebView::setCacheModel): 9098 90992011-05-07 Jessie Berlin <jberlin@apple.com> 9100 9101 Reviewed by Steve Falkenburg. 9102 9103 [Windows WebKit2] Use cookies set in WebKit1 9104 https://bugs.webkit.org/show_bug.cgi?id=60274 9105 9106 * WebView.cpp: 9107 (WebView::setCacheModel): 9108 Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session. 9109 91102011-05-06 Adam Roben <aroben@apple.com> 9111 9112 Touch WebKit.idl to fix the build 9113 9114 I needed this on my own machine. Maybe others will need it, too. 9115 9116 * Interfaces/WebKit.idl: 9117 91182011-05-04 Philippe Normand <pnormand@igalia.com> 9119 9120 Reviewed by Dimitri Glazkov. 9121 9122 Implement LayoutTestController::pseudoShadowId() 9123 https://bugs.webkit.org/show_bug.cgi?id=60034 9124 9125 * DOMCoreClasses.cpp: 9126 (DOMElement::shadowPseudoId): 9127 * DOMCoreClasses.h: 9128 91292011-05-05 Ryosuke Niwa <rniwa@webkit.org> 9130 9131 Reviewed by Eric Seidel. 9132 9133 Rename SelectionController to FrameSelection 9134 https://bugs.webkit.org/show_bug.cgi?id=60234 9135 9136 * WebView.cpp: 9137 91382011-05-04 Ryosuke Niwa <rniwa@webkit.org> 9139 9140 Windows build fix attempt after r85823 9141 9142 * WebCoreSupport/WebChromeClient.h: 9143 (WebChromeClient::webView): 9144 * WebView.cpp: 9145 (kit): 9146 91472011-05-04 Cris Neckar <cdn@chromium.org> 9148 9149 Reviewed by Adam Barth. 9150 9151 Expose WebView directly through ChromeClient. 9152 https://bugs.webkit.org/show_bug.cgi?id=49902 9153 9154 * WebCoreSupport/WebChromeClient.h: 9155 (WebChromeClient::webView): 9156 91572011-05-04 Tao Bai <michaelbai@chromium.org> 9158 9159 Reviewed by David Kilzer. 9160 9161 Populate touch-icon url to FrameLoaderClient 9162 https://bugs.webkit.org/show_bug.cgi?id=59143 9163 9164 Respect the interface change in FrameLoaderClient. 9165 9166 * WebCoreSupport/WebFrameLoaderClient.cpp: 9167 (WebFrameLoaderClient::dispatchDidChangeIcons): 9168 * WebCoreSupport/WebFrameLoaderClient.h: 9169 91702011-05-02 Jer Noble <jer.noble@apple.com> 9171 9172 Reviewed by Adam Roben. 9173 9174 Implement FULLSCREEN_API on Windows, Part 3: WebKit2 9175 https://bugs.webkit.org/show_bug.cgi?id=59845 9176 9177 Implementation of WebFullScreenController has been moved into WebCore, and 9178 required virutal functions of WebFullScreenControllerClient have been added to 9179 WebView. These functions are mostly simple accessors of existing ivars, but 9180 m_fullScreenElement and its accessors have also been added to WebView. 9181 9182 * WebCoreSupport/WebChromeClient.cpp: 9183 (WebChromeClient::enterFullScreenForElement): 9184 * WebFullScreenController.cpp: Removed. 9185 * WebKit.vcproj/WebKit.vcproj: 9186 * WebView.cpp: 9187 (WebView::setFullScreenElement): Added accessor. 9188 (WebVIew::fullScreenElement): Ditto. 9189 (WebView::fullScreenClientWindow): Ditto. 9190 (WebView::fullScreenClientParentWindow): Ditto. 9191 (WebView::fullScreenClientSetParentWindow): Ditto. 9192 (WebView::fullScreenClientWillEnterFullScreen): Pass through to Document. 9193 (WebView::fullScreenClientDidEnterFullScreen): Ditto. 9194 (WebView::fullScreenClientWillExitFullScreen): Ditto. 9195 (WebView::fullScreenClientDidExitFullScreen): Ditto. 9196 * WebView.h: 9197 91982011-05-03 Brian Weinstein <bweinstein@apple.com> 9199 9200 Reviewed by Steve Falkenburg. 9201 9202 REGRESSION(r84990): Nightly builds don't launch on Windows 9203 https://bugs.webkit.org/show_bug.cgi?id=60081 9204 <rdar://problem/9358635> 9205 9206 Fix nightlies on Window by moving the layered window functions to the bottom 9207 of IWebViewPrivate and touch WebKit.idl to make sure Interfaces rebuild. 9208 9209 * Interfaces/IWebViewPrivate.idl: Move functions added in r84990 to the bottom of the file. 9210 * Interfaces/WebKit.idl: Touch to force a rebuild. 9211 92122011-05-03 David Kilzer <ddkilzer@apple.com> 9213 9214 <http://webkit.org/b/59838> Implement HTTP pipelining for CoreFoundation-based networking 9215 9216 Reviewed by Antti Koivisto. 9217 9218 * Interfaces/IWebViewPrivate.idl: 9219 (IWebViewPrivate::httpPipeliningEnabled): Added declaration. 9220 (IWebViewPrivate::setHTTPPipeliningEnabled): Added declaration. 9221 * WebView.cpp: 9222 (WebView::httpPipeliningEnabled): Added. 9223 (WebView::setHTTPPipeliningEnabled): Added. 9224 * WebView.h: 9225 (WebView::httpPipeliningEnabled): Added declaration. 9226 (WebView::setHTTPPipeliningEnabled): Added declaration. 9227 92282011-05-03 Adam Roben <aroben@apple.com> 9229 9230 Add some missing virtual keywords on derived-class destructors 9231 9232 Darin Adler noticed one, I noticed the other. This doesn't change the generated code; it 9233 just matches our style of explicitly marking overrides "virtual". 9234 9235 * WebCoreSupport/WebInspectorClient.h: Made the WebInspectorClient and 9236 WebInspectorFrontendClient destructors explicitly virtual. 9237 92382011-05-03 Adam Roben <aroben@apple.com> 9239 9240 Fix most strict PassOwnPtr violations on Windows 9241 9242 Fixes <http://webkit.org/b/60025> Windows should (almost) build with strict PassOwnPtr 9243 enabled 9244 9245 Reviewed by Anders Carlsson. 9246 9247 * WebCoreSupport/WebInspectorClient.h: Made the destructor public, which is required now 9248 that this type is put into a PassOwnPtr. (Previously, only 9249 WebCore::InspectorFrontendClientLocal was put into a [Pass]OwnPtr.) 9250 9251 * FullscreenVideoController.cpp: 9252 * WebCoreSupport/WebFrameLoaderClient.cpp: 9253 * WebCoreSupport/WebInspectorClient.cpp: 9254 * WebHistory.cpp: 9255 * WebHistoryItem.cpp: 9256 * WebView.cpp: 9257 92582011-05-01 Sam Weinig <sam@webkit.org> 9259 9260 Fix windows build. 9261 9262 * WebFrame.cpp: 9263 92642011-05-01 Patrick Gansterer <paroga@webkit.org> 9265 9266 Reviewed by Adam Barth. 9267 9268 Fix OwnPtr strict issues in windows build 9269 https://bugs.webkit.org/show_bug.cgi?id=59878 9270 9271 * FullscreenVideoController.cpp: 9272 (FullscreenVideoController::FullscreenVideoController): 9273 (FullscreenVideoController::createHUDWindow): 9274 * WebCoreSupport/WebInspectorClient.cpp: 9275 (WebInspectorClient::highlight): 9276 * WebElementPropertyBag.cpp: 9277 (WebElementPropertyBag::WebElementPropertyBag): 9278 * WebNodeHighlight.cpp: 9279 (WebNodeHighlight::update): 9280 * WebNotificationCenter.cpp: 9281 (WebNotificationCenter::WebNotificationCenter): 9282 * WebView.cpp: 9283 (WebView::close): 9284 (WebView::paint): 9285 (WebView::handleMouseEvent): 9286 (WebView::registerEmbeddedViewMIMEType): 9287 92882011-04-29 Jer Noble <jer.noble@apple.com> 9289 9290 Reviewed by Adam Roben. 9291 9292 Implement FULLSCREEN_API on Windows, Part 2: WebKit 9293 https://bugs.webkit.org/show_bug.cgi?id=59785 9294 9295 Initial implementation of full screen API on windows. No animation 9296 occurs when entering or exiting full screen. Re-use existing window 9297 classes (MediaPlayerPrivateFullscreenWindow) to host the webView. 9298 9299 * WebCoreSupport/WebChromeClient.cpp: 9300 (WebChromeClient::supportsFullScreenForElement): Call into WebView. 9301 (WebChromeClient::enterFullScreenForElement): Call into WebFullScreenController. 9302 (WebChromeClient::exitFullScreenForElement): Ditto. 9303 * WebFullScreenController.cpp: Added. 9304 (WebFullScreenController::Private::Private): Private data storage class. 9305 (WebFullScreenController::Private::~Private): 9306 (WebFullScreenController::Private::fullscreenClientWndProc): Handle window 9307 message for full screen window. 9308 (WebFullScreenController::WebFullScreenController): 9309 (WebFullScreenController::~WebFullScreenController): 9310 (WebFullScreenController::setElement): Added. 9311 (WebFullScreenController::element): Added. 9312 (WebFullScreenController::isFullScreen): Added. 9313 (WebFullScreenController::enterFullScreen): Create and display full screen 9314 window, moving webView as child window. 9315 (WebFullScreenController::exitFullScreen): Destroy full screen window and 9316 move webView back where we found it. 9317 * WebFullScreenController.h: Added. 9318 * WebKit.vcproj/WebKit.vcproj: 9319 * WebView.cpp: 9320 (WebView::keyDown): Handle the ESC key. 9321 (WebView::notifyPreferencesChanged): 9322 (WebView::supportsFullScreenForElement): Do not support full screen if 9323 full screen preference is disabled, or if keyboard access is requested. 9324 (WebView::isFullScreen): Added. 9325 (WebView::fullScreenController): Added. 9326 * WebView.h: 9327 93282011-04-28 Jer Noble <jer.noble@apple.com> 9329 9330 Reviewed by Jon Honeycutt. 9331 9332 Implement FULLSCREEN_API on Windows, Part 1: Stubs 9333 https://bugs.webkit.org/show_bug.cgi?id=59778 9334 9335 Create all the stubs necessary to for enabling FULLSCREEN_API 9336 on Windows. This includes the COM interfaces for preferences and 9337 for overriding full screen behavior in a UI Delegate. 9338 9339 * Interfaces/IWebPreferencesPrivate.idl: Add functions for enabling 9340 full screen preference. 9341 * Interfaces/IWebUIDelegatePrivate.idl: Add functions for overriding 9342 full screen behavior. 9343 * WebCoreSupport/WebChromeClient.cpp: 9344 (WebChromeClient::supportsFullScreenForElement): Added. 9345 (WebChromeClient::enterFullScreenForElement): Added. 9346 (WebChromeClient::exitFullScreenForElement): Added. 9347 * WebCoreSupport/WebChromeClient.h: 9348 * WebPreferenceKeysPrivate.h: Added WebKitFullScreenEnable key. 9349 * WebPreferences.cpp: 9350 (WebPreferences::isFullScreenEnabled): Added. Implements function 9351 defined in IWebUIDelegatePrivate. 9352 (WebPreferences::setFullScreenEnabled): Ditto. 9353 * WebPreferences.h: 9354 93552011-04-28 Adam Barth <abarth@webkit.org> 9356 9357 Reviewed by Eric Seidel. 9358 9359 Remove WML 9360 https://bugs.webkit.org/show_bug.cgi?id=59678 9361 9362 Remove WML-related enumeration. 9363 9364 * Interfaces/IWebFramePrivate.idl: 9365 93662011-04-26 Brent Fulgham <bfulgham@webkit.org> 9367 9368 Reviewed by Adam Roben. 9369 9370 Implement a transparent WebView under Windows. This feature 9371 allows the user to create small web-based applications, similar 9372 to the dashboard on Mac OS X. 9373 https://bugs.webkit.org/show_bug.cgi?id=58300 9374 9375 * Interfaces/IWebViewPrivate.idl: Add new set/get accessors to 9376 change the state of a WebView into a Layered Window, or back 9377 into a standard window. 9378 * Interfaces/WebKit.idl: touch to force clean build 9379 * WebView.cpp: 9380 (WebView::WebView): Set layered window state in constructor. 9381 (WebView::updateBackingStore): Cleanup old bitmap when finished. 9382 (WebView::performLayeredWindowUpdate): New method to do the work 9383 of calling ::UpdateLayeredWindow for the WebView with proper 9384 alpha blending. 9385 (WebView::paint): Small change to prevent accelerated compositing 9386 when using a layered window. DirectX is not compatible with 9387 ::UpdateLayeredWindow (at least currently). 9388 (WebView::WebViewWndProc): Adjust main window procedure to avoid 9389 painting a default background on a layered window (this is handled 9390 by Windows during compositing), and to deal with paint messages 9391 properly in the layered window case. 9392 (WebView::active): The layered window is not a child window, 9393 so the active state logic is slightly different. 9394 (WebView::setUsesLayeredWindow): New set method for layered stated. 9395 When called, it will convert a WebView into a Layered Window. 9396 (WebView::usesLayeredWindow): Accessor 9397 * WebView.h: 9398 (WebView::setUsesLayeredWindow): Declare new accessor 9399 (WebView::usesLayeredWindow): Declare new accessor 9400 94012011-04-21 Ryosuke Niwa <rniwa@webkit.org> 9402 9403 Windows build fix. 9404 9405 * WebCoreSupport/WebEditorClient.h: 9406 94072011-04-21 Ryosuke Niwa <rniwa@webkit.org> 9408 9409 Reviewed by Sam Weinig. 9410 9411 Add Frame* to the argument lists of canCopyCut and canPaste 9412 https://bugs.webkit.org/show_bug.cgi?id=59153 9413 9414 * WebCoreSupport/WebEditorClient.cpp: 9415 (WebEditorClient::canCopyCut): 9416 (WebEditorClient::canPaste): 9417 * WebCoreSupport/WebEditorClient.h: 9418 94192011-04-20 Brent Fulgham <bfulgham@webkit.org> 9420 9421 Reviewed by Martin Robinson. 9422 9423 Provide missing implementation of WebMutableURLRequest::mutableCopy. 9424 This was preventing DumpRenderTree from working properly under 9425 the WinCairo port. 9426 https://bugs.webkit.org/show_bug.cgi?id=59034 9427 9428 * WebMutableURLRequest.cpp: 9429 (WebMutableURLRequest::mutableCopy): Implement cURL version of the 9430 copy operation. 9431 94322011-04-19 Vsevolod Vlasov <vsevik@chromium.org> 9433 9434 Reviewed by Pavel Feldman. 9435 9436 Web Inspector: Rename lengthReceived to encodedDataLength/dataLength 9437 https://bugs.webkit.org/show_bug.cgi?id=58883 9438 9439 * WebCoreSupport/WebFrameLoaderClient.h: 9440 94412011-04-18 Timothy Hatcher <timothy@apple.com> 9442 9443 Remove the two commands that make en.lproj and copy Localizable.strings. 9444 9445 Rubber-stamped by Adam Roben. 9446 9447 * WebKit.vcproj/WebKitLibPostBuild.cmd: 9448 94492011-04-18 Patrick Gansterer <paroga@webkit.org> 9450 9451 Reviewed by Adam Roben. 9452 9453 Include <WebCore/COMPtr.h> instead of "COMPtr.h" 9454 https://bugs.webkit.org/show_bug.cgi?id=58744 9455 9456 * DOMCoreClasses.cpp: 9457 * DOMHTMLClasses.cpp: 9458 * WebActionPropertyBag.cpp: 9459 * WebBackForwardList.cpp: 9460 * WebCoreSupport/WebGeolocationClient.h: 9461 * WebDownload.h: 9462 * WebDropSource.h: 9463 * WebFrame.cpp: 9464 * WebHistoryItem.cpp: 9465 * WebIconDatabase.cpp: 9466 * WebNavigationData.h: 9467 * WebPreferences.cpp: 9468 * WebResource.h: 9469 * WebURLAuthenticationChallenge.cpp: 9470 * WebURLAuthenticationChallengeSender.cpp: 9471 * WebURLAuthenticationChallengeSenderCFNet.cpp: 9472 * WebURLAuthenticationChallengeSenderCurl.cpp: 9473 * WebView.h: 9474 94752011-04-17 Patrick Gansterer <paroga@webkit.org> 9476 9477 Reviewed by Adam Barth. 9478 9479 Rename PLATFORM(CG) to USE(CG) 9480 https://bugs.webkit.org/show_bug.cgi?id=58729 9481 9482 * WebFrame.cpp: 9483 (WebFrame::spoolPages): 9484 * WebFrame.h: 9485 * WebPreferences.cpp: 9486 (WebPreferences::setFontSmoothing): 9487 (WebPreferences::setFontSmoothingContrast): 9488 * WebView.cpp: 9489 (systemParameterChanged): 9490 94912011-04-16 Sam Weinig <sam@webkit.org> 9492 9493 Reviewed by Simon Fraser. 9494 9495 Windows should use WebCore localized strings 9496 <rdar://problem/9119405> 9497 https://bugs.webkit.org/show_bug.cgi?id=58733 9498 9499 * WebCoreSupport/WebEditorClient.cpp: 9500 (undoNameForEditAction): 9501 (WebEditorClient::registerCommandForUndo): 9502 * WebPreferences.cpp: 9503 (WebPreferences::initializeDefaultSettings): 9504 * WebURLResponse.cpp: 9505 (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode): 9506 (WebURLResponse::localizedStringForStatusCode): 9507 Change to use WEB_UI_STRING. 9508 9509 * WebCoreSupport/WebPlatformStrategies.cpp: 9510 * WebCoreSupport/WebPlatformStrategies.h: 9511 Remove the localization strategy in favor of using the default one. 9512 95132011-04-16 Patrick Gansterer <paroga@webkit.org> 9514 9515 Reviewed by Eric Seidel. 9516 9517 Rename PLATFORM(CAIRO) to USE(CAIRO) 9518 https://bugs.webkit.org/show_bug.cgi?id=55192 9519 9520 * WebFrame.cpp: 9521 (WebFrame::spoolPages): 9522 * WebFrame.h: 9523 95242011-04-14 Adam Roben <aroben@apple.com> 9525 9526 Replace some known-to-fail assertions with FIXMEs 9527 9528 These assertions get hit during various layout tests. They indicate that we're sometimes 9529 doing some extra work when a page goes into accelerated compositing mode, but otherwise 9530 there's no bad effect. 9531 9532 See <http://webkit.org/b/58539> for more details. 9533 9534 Rubber-stamped by John Sullivan. 9535 9536 * WebView.cpp: 9537 (WebView::paintIntoBackingStore): 9538 (WebView::paintIntoWindow): 9539 Replaced assertions with FIXMEs. 9540 95412011-04-13 James Robinson <jamesr@chromium.org> 9542 9543 Reviewed by Simon Fraser. 9544 9545 Allow setting composited backing stores for scrollbars and scroll corners 9546 https://bugs.webkit.org/show_bug.cgi?id=57202 9547 9548 Update WebScrollBar to reflect ScrollableArea interface changes. 9549 9550 * WebScrollBar.h: 9551 (WebScrollBar::invalidateScrollCornerRect): 9552 (WebScrollBar::scrollCornerPresent): 9553 (WebScrollBar::scrollCornerRect): 9554 95552011-04-12 Alice Liu <alice.liu@apple.com> 9556 9557 Reviewed by Sam Weinig. 9558 9559 https://bugs.webkit.org/show_bug.cgi?id=58292 9560 Provide new setting to allow site icon loading despite disabling automatic image loading in general. 9561 9562 * Interfaces/IWebPreferencesPrivate.idl: Added prefs. 9563 * Interfaces/WebKit.idl: Touch file to force autogeneration 9564 * WebPreferenceKeysPrivate.h: Add preference key. 9565 * WebPreferences.cpp: 9566 (WebPreferences::initializeDefaultSettings): Initialize setting to false. 9567 (WebPreferences::setLoadsSiteIconsIgnoringImageLoadingPreference): Added setter 9568 (WebPreferences::loadsSiteIconsIgnoringImageLoadingPreference): Added getter 9569 * WebPreferences.h: 9570 * WebView.cpp: 9571 (WebView::notifyPreferencesChanged): Add to settings that get propagated upon changes. 9572 95732011-04-11 Alexey Proskuryakov <ap@apple.com> 9574 9575 Reviewed by Maciej Stachowiak. 9576 9577 WebKit2: Cannot use Ctrl-Delete as a custom keyboard shortcut 9578 https://bugs.webkit.org/show_bug.cgi?id=58265 9579 <rdar://problem/9221468> 9580 9581 * WebView.cpp: (WebView::keyDown): Removed special handling of Backspace, which is unnecessary 9582 now that WebCore implements it. 9583 95842011-04-06 Brian Weinstein <bweinstein@apple.com> 9585 9586 Reviewed by Adam Roben. 9587 9588 WebKit2: Support Windows 7 Gestures 9589 https://bugs.webkit.org/show_bug.cgi?id=49824 9590 <rdar://problem/8689728> 9591 9592 Move WindowsTouch.h from WebKit/win to WebCore/platform/win, so it can be 9593 used in both WebKit and WebKit2. 9594 9595 * WebKit.vcproj/WebKit.vcproj: Remove WindowsTouch.h. 9596 * WebView.cpp: Include WindowsTouch.h from WebCore instead of WebKit. 9597 * WindowsTouch.h: Removed. 9598 95992011-04-05 Martin Robinson <mrobinson@igalia.com> 9600 9601 Reviewed by Eric Seidel. 9602 9603 [Cairo] Better separate the concerns of GraphicsContextCairo 9604 https://bugs.webkit.org/show_bug.cgi?id=55150 9605 9606 * WebFrame.cpp: 9607 (hdcFromContext): Modify this method to take PlatformContextCairo 9608 instead of a cairo_t. 9609 (WebFrame::spoolPage): Update to reflect new platform context. 9610 (WebFrame::spoolPages): Ditto. 9611 * WebFrame.h: Ditto. 9612 96132011-04-04 MORITA Hajime <morrita@google.com> 9614 9615 Reviewed by Ryosuke Niwa. 9616 9617 [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult 9618 https://bugs.webkit.org/show_bug.cgi?id=56085 9619 9620 * WebCoreSupport/WebEditorClient.h: 9621 (WebEditorClient::requestCheckingOfString): 9622 96232011-04-04 Alexey Proskuryakov <ap@apple.com> 9624 9625 Reviewed by Dan Bernstein. 9626 9627 REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2 9628 https://bugs.webkit.org/show_bug.cgi?id=51230 9629 <rdar://problem/8780989> 9630 9631 * WebView.cpp: (WebView::keyDown): Moved Caps Lock handling from WebKits to WebCore, 9632 because WebKit shouldn't be smart. 9633 96342011-04-04 Steve Falkenburg <sfalken@apple.com> 9635 9636 Reviewed by Adam Roben. 9637 9638 Remove unused AnalyzeWithLargeStack code from Windows build files 9639 https://bugs.webkit.org/show_bug.cgi?id=57771 9640 9641 This was used for us to build with prefast automatically, 9642 but it is out-of-date and hasn't been used for some time. 9643 Removing completely for now. 9644 9645 * WebKit.vcproj/WebKitLibPreBuild.cmd: 9646 96472011-04-01 Adam Roben <aroben@apple.com> 9648 9649 Remove the WebView's "this" pointer from its HWND when WM_DESTROY is received 9650 9651 This will ensure we don't try to process any window messages after the window has been 9652 destroyed. 9653 9654 Covered by existing tests. 9655 9656 Fixes <http://webkit.org/b/55054>. 9657 9658 Reviewed by Steve Falkenburg and John Sullivan. 9659 9660 * WebView.cpp: 9661 (WebView::setIsBeingDestroyed): Moved here from the header file, and added a call to clear 9662 out the this pointer from the HWND. 9663 (WebView::WebViewWndProc): Changed a runtime check into an assertion. 9664 9665 * WebView.h: Moved setIsBeingDestroyed from here to the .cpp file. 9666 96672011-03-31 Evan Martin <evan@chromium.org> 9668 9669 Reviewed by Eric Seidel. 9670 9671 <title> should support dir attribute 9672 https://bugs.webkit.org/show_bug.cgi?id=50961 9673 9674 Update to new FrameLoaderClient interface. 9675 9676 * WebCoreSupport/WebFrameLoaderClient.cpp: 9677 (WebFrameLoaderClient::dispatchDidReceiveTitle): 9678 * WebCoreSupport/WebFrameLoaderClient.h: 9679 96802011-03-30 Steve Falkenburg <sfalken@apple.com> 9681 9682 Reviewed by Adam Roben. 9683 9684 Share most vsprops between Release and Production builds in releaseproduction.vsprops 9685 https://bugs.webkit.org/show_bug.cgi?id=57508 9686 9687 * WebKit.vcproj/InterfacesProduction.vsprops: 9688 * WebKit.vcproj/InterfacesRelease.vsprops: 9689 * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: 9690 * WebKit.vcproj/WebKitGUIDProduction.vsprops: 9691 * WebKit.vcproj/WebKitGUIDRelease.vsprops: 9692 * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: 9693 * WebKit.vcproj/WebKitLibProduction.vsprops: 9694 * WebKit.vcproj/WebKitLibRelease.vsprops: 9695 * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: 9696 96972011-03-30 Steve Falkenburg <sfalken@apple.com> 9698 9699 Reviewed by Adam Roben. 9700 9701 Update Windows production build logic for new production configurations 9702 https://bugs.webkit.org/show_bug.cgi?id=57494 9703 9704 * WebKit.vcproj/InterfacesProduction.vsprops: 9705 * WebKit.vcproj/WebKit.make: 9706 * WebKit.vcproj/WebKitGUIDProduction.vsprops: 9707 * WebKit.vcproj/WebKitLibProduction.vsprops: 9708 97092011-03-30 Steve Falkenburg <sfalken@apple.com> 9710 9711 Reviewed by Adam Roben. 9712 9713 Rename Windows configuration Release_LTCG to Production for clarity 9714 https://bugs.webkit.org/show_bug.cgi?id=57465 9715 9716 * WebKit.vcproj/Interfaces.vcproj: 9717 * WebKit.vcproj/InterfacesProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/InterfacesReleaseLTCG.vsprops. 9718 * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Removed. 9719 * WebKit.vcproj/WebKit.sln: 9720 * WebKit.vcproj/WebKit.submit.sln: 9721 * WebKit.vcproj/WebKit.vcproj: 9722 * WebKit.vcproj/WebKitGUID.vcproj: 9723 * WebKit.vcproj/WebKitGUIDProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops. 9724 * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Removed. 9725 * WebKit.vcproj/WebKitLibProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitLibReleaseLTCG.vsprops. 9726 * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Removed. 9727 97282011-03-29 Patrick Gansterer <paroga@webkit.org> 9729 9730 Reviewed by Adam Roben. 9731 9732 [WIN] Remove unused GEN_DOMObject files 9733 https://bugs.webkit.org/show_bug.cgi?id=57370 9734 9735 * GEN_DOMObject.cpp: Removed. 9736 * GEN_DOMObject.h: Removed. 9737 97382011-03-29 Steve Falkenburg <sfalken@apple.com> 9739 9740 More build fix. 9741 9742 * WebCoreSupport/WebPlatformStrategies.h: 9743 97442011-03-29 Steve Falkenburg <sfalken@apple.com> 9745 9746 Build fix. 9747 9748 * WebCoreSupport/WebPlatformStrategies.cpp: 9749 (WebPlatformStrategies::contextMenuItemTagLookUpInDictionary): 9750 97512011-03-29 Patrick Gansterer <paroga@webkit.org> 9752 9753 Unreviewed. Try to fix Windows build. 9754 9755 * DOMEventsClasses.cpp: Added initguid.h again. 9756 97572011-03-29 Patrick Gansterer <paroga@webkit.org> 9758 9759 Reviewed by Adam Roben. 9760 9761 [WIN] Cleanup includes in WebKit files 9762 https://bugs.webkit.org/show_bug.cgi?id=57381 9763 9764 Add missing includes to fix build without precompiled header. 9765 Also fix paths in #include statements (e.g. WTF -> wtf). 9766 9767 * AccessibleBase.h: 9768 * AccessibleDocument.h: Replace using statement with a qualified name. 9769 * CFDictionaryPropertyBag.h: 9770 * DOMEventsClasses.cpp: 9771 * DOMHTMLClasses.h: 9772 * DefaultDownloadDelegate.cpp: 9773 * DefaultDownloadDelegate.h: 9774 * DefaultPolicyDelegate.cpp: 9775 * DefaultPolicyDelegate.h: 9776 * WebCoreSupport/EmbeddedWidget.h: 9777 * WebCoreSupport/WebInspectorDelegate.h: 9778 * WebDataSource.h: 9779 * WebDatabaseManager.h: 9780 * WebElementPropertyBag.h: 9781 * WebFramePolicyListener.h: 9782 * WebGeolocationPolicyListener.h: 9783 * WebHistory.h: 9784 * WebKitClassFactory.h: 9785 * WebScriptWorld.h: 9786 * WebSerializedJSValue.h: 9787 * WebUserContentURLPattern.h: 9788 97892011-03-29 Steve Falkenburg <sfalken@apple.com> 9790 9791 Reviewed by Darin Adler. 9792 9793 Use per-configuration vsprops in WebKit to avoid WebKitVSPropsRedirectionDir removal by MSVC IDE 9794 https://bugs.webkit.org/show_bug.cgi?id=57383 9795 9796 Visual Studio's IDE was removing instances of $(WebKitVSPropsRedirectionDir) from 9797 InheritedPropertySheet rules in our vcproj files when the vcproj was edited from within 9798 the IDE. To avoid this, add a separate vsprops file for each project configuration that 9799 contains the required inherited property sheets. 9800 9801 * WebKit.vcproj/Interfaces.vcproj: 9802 * WebKit.vcproj/InterfacesDebug.vsprops: Added. 9803 * WebKit.vcproj/InterfacesDebugAll.vsprops: Added. 9804 * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: Added. 9805 * WebKit.vcproj/InterfacesRelease.vsprops: Added. 9806 * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: Added. 9807 * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Added. 9808 * WebKit.vcproj/WebKit.vcproj: 9809 * WebKit.vcproj/WebKitGUID.vcproj: 9810 * WebKit.vcproj/WebKitGUIDDebug.vsprops: Added. 9811 * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: Added. 9812 * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: Added. 9813 * WebKit.vcproj/WebKitGUIDRelease.vsprops: Added. 9814 * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: Added. 9815 * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Added. 9816 * WebKit.vcproj/WebKitLibDebug.vsprops: Added. 9817 * WebKit.vcproj/WebKitLibDebugAll.vsprops: Added. 9818 * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Added. 9819 * WebKit.vcproj/WebKitLibRelease.vsprops: Added. 9820 * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Added. 9821 * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Added. 9822 98232011-03-29 Patrick Gansterer <paroga@webkit.org> 9824 9825 Reviewed by Adam Roben. 9826 9827 Remove #pragma warning push and pop statements 9828 https://bugs.webkit.org/show_bug.cgi?id=57198 9829 9830 We do not need to disable warnings via #pragma since we started 9831 compiling WebCore with the same compiler warnings flags as WebKit. 9832 9833 * DOMCSSClasses.cpp: 9834 * DOMCoreClasses.cpp: 9835 * DOMEventsClasses.cpp: 9836 * DOMHTMLClasses.cpp: 9837 * DefaultDownloadDelegate.cpp: 9838 * DefaultPolicyDelegate.cpp: 9839 * MarshallingHelpers.cpp: 9840 * WebActionPropertyBag.cpp: 9841 * WebActionPropertyBag.h: 9842 * WebCache.cpp: 9843 * WebCoreSupport/WebDragClient.cpp: 9844 * WebCoreSupport/WebEditorClient.cpp: 9845 * WebCoreSupport/WebEditorClient.h: 9846 * WebCoreSupport/WebFrameLoaderClient.cpp: 9847 * WebCoreSupport/WebFrameLoaderClient.h: 9848 * WebCoreSupport/WebInspectorClient.cpp: 9849 * WebDocumentLoader.h: 9850 * WebDownload.cpp: 9851 * WebDownloadCFNet.cpp: 9852 * WebDownloadCurl.cpp: 9853 * WebElementPropertyBag.cpp: 9854 * WebError.cpp: 9855 * WebError.h: 9856 * WebFrame.cpp: 9857 * WebFrame.h: 9858 * WebFramePolicyListener.cpp: 9859 * WebFramePolicyListener.h: 9860 * WebHistory.cpp: 9861 * WebHistoryItem.cpp: 9862 * WebIconDatabase.cpp: 9863 * WebIconDatabase.h: 9864 * WebInspector.cpp: 9865 * WebJavaScriptCollector.cpp: 9866 * WebKitGraphics.cpp: 9867 * WebKitSystemBits.cpp: 9868 * WebLocalizableStrings.cpp: 9869 * WebMutableURLRequest.cpp: 9870 * WebMutableURLRequest.h: 9871 * WebNodeHighlight.cpp: 9872 * WebNodeHighlight.h: 9873 * WebNotificationCenter.cpp: 9874 * WebResource.cpp: 9875 * WebResource.h: 9876 * WebScrollBar.cpp: 9877 * WebScrollBar.h: 9878 * WebURLAuthenticationChallenge.cpp: 9879 * WebURLAuthenticationChallenge.h: 9880 * WebURLAuthenticationChallengeSender.cpp: 9881 * WebURLAuthenticationChallengeSenderCFNet.cpp: 9882 * WebURLAuthenticationChallengeSenderCurl.cpp: 9883 * WebURLCredential.cpp: 9884 * WebURLCredential.h: 9885 * WebURLProtectionSpace.cpp: 9886 * WebURLProtectionSpace.h: 9887 * WebURLResponse.cpp: 9888 * WebURLResponse.h: 9889 98902011-03-29 Brent Fulgham <bfulgham@webkit.org> 9891 9892 Unreviewed build fix after r82247. 9893 9894 * WebMutableURLRequest.cpp: The new CertificateCFWin routines 9895 are not CFNetwork-specific. All CF-based ports can use them. 9896 98972011-03-29 Patrick Gansterer <paroga@webkit.org> 9898 9899 Reviewed by Adam Roben. 9900 9901 [WIN] Use WCHAR instead of TCHAR 9902 https://bugs.webkit.org/show_bug.cgi?id=57191 9903 9904 We always use the UNICODE versions of windows functions, so 9905 the usage of TCHAR makes no sense and mixing them is bad style. 9906 9907 * DefaultDownloadDelegate.cpp: 9908 * WebCoreSupport/WebChromeClient.cpp: 9909 * WebCoreSupport/WebContextMenuClient.cpp: 9910 * WebCoreSupport/WebInspectorClient.cpp: 9911 * WebKitDLL.cpp: 9912 * WebNotificationCenter.cpp: 9913 * WebPreferences.cpp: 9914 * WebURLResponse.cpp: 9915 * WebView.cpp: 9916 99172011-03-29 Jeff Miller <jeffm@apple.com> 9918 9919 Reviewed by Jon Honeycutt. 9920 9921 Add WebCore::copyCertificateToData() on Windows 9922 https://bugs.webkit.org/show_bug.cgi?id=57296 9923 9924 Remove duplicate code that implemented this functionality in WebMutableURLRequest.cpp and use WebCore::copyCertificateToData() instead. 9925 9926 * WebMutableURLRequest.cpp: 9927 (WebMutableURLRequest::setClientCertificate): Use WebCore::copyCertificateToData(). 9928 99292011-03-28 Patrick Gansterer <paroga@webkit.org> 9930 9931 Reviewed by Adam Roben. 9932 9933 [WIN] Remove unused DOMCreateInstance files 9934 https://bugs.webkit.org/show_bug.cgi?id=57193 9935 9936 * DOMCreateInstance.cpp: Removed. 9937 * DOMCreateInstance.h: Removed. 9938 99392011-03-28 Adele Peterson <adele@apple.com> 9940 9941 Build fix. 9942 9943 * WebFrame.cpp: (WebFrame::hasSpellingMarker): 9944 Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor. 9945 99462011-03-28 Jeff Miller <jeffm@apple.com> 9947 9948 Reviewed by Adam Roben. 9949 9950 Include certificate when sending a WebCore::ResourceError to UI process on Windows 9951 https://bugs.webkit.org/show_bug.cgi?id=57195 9952 9953 Rename callers of wkGetSSLPeerCertificateData() to use wkGetSSLPeerCertificateDataBytePtr(), since it returns a void*. 9954 9955 * WebError.cpp: 9956 (WebError::sslPeerCertificate): 9957 * WebURLResponse.cpp: 9958 (WebURLResponse::sslPeerCertificate): 9959 99602011-03-28 Darin Adler <darin@apple.com> 9961 9962 Set eol-style to native on more files. I noticed the last check-in had an entire file 9963 changing because of an EOL style change, and setting this property prevents that from 9964 happening in future. We may want to do this systematically for more of WebKit later. 9965 9966 * AccessibleBase.cpp: Added property svn:eol-style. 9967 * AccessibleBase.h: Added property svn:eol-style. 9968 * AccessibleDocument.cpp: Added property svn:eol-style. 9969 * AccessibleDocument.h: Added property svn:eol-style. 9970 * AccessibleImage.cpp: Added property svn:eol-style. 9971 * AccessibleImage.h: Added property svn:eol-style. 9972 * COMVariantSetter.h: Added property svn:eol-style. 9973 * FullscreenVideoController.cpp: Added property svn:eol-style. 9974 * FullscreenVideoController.h: Added property svn:eol-style. 9975 * WebCoreSupport/EmbeddedWidget.cpp: Added property svn:eol-style. 9976 * WebCoreSupport/EmbeddedWidget.h: Added property svn:eol-style. 9977 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: Added property svn:eol-style. 9978 * WebCoreSupport/WebDesktopNotificationsDelegate.h: Added property svn:eol-style. 9979 * WebCoreSupport/WebFrameLoaderClient.cpp: Added property svn:eol-style. 9980 * WebCoreSupport/WebInspectorDelegate.cpp: Added property svn:eol-style. 9981 * WebCoreSupport/WebInspectorDelegate.h: Added property svn:eol-style. 9982 * WebCoreSupport/WebPlatformStrategies.cpp: Added property svn:eol-style. 9983 * WebCoreSupport/WebPlatformStrategies.h: Added property svn:eol-style. 9984 * WebCoreSupport/WebPluginHalterClient.cpp: Added property svn:eol-style. 9985 * WebCoreSupport/WebPluginHalterClient.h: Added property svn:eol-style. 9986 99872011-03-28 Patrick Gansterer <paroga@webkit.org> 9988 9989 Unreviewed build fix. 9990 9991 * COMPropertyBag.h: Added missing include. 9992 * WebKitCOMAPI.h: Ditto. 9993 * WebCoreSupport/WebFrameLoaderClient.h: Added missing forward declaration. 9994 99952011-03-25 Sam Weinig <sam@webkit.org> 9996 9997 Reviewed by Jon Honeycutt. 9998 9999 WebScrollBar not updating when calling WebScrollBar::setValue. 10000 <rdar://problem/9143871> 10001 10002 * WebScrollBar.cpp: 10003 (WebScrollBar::setValue): 10004 Call scrollToOffsetWithoutAnimation to actually update the scroll position. 10005 100062011-03-25 Andy Estes <aestes@apple.com> 10007 10008 Reviewed by Adele Peterson. 10009 10010 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js 10011 https://bugs.webkit.org/show_bug.cgi?id=49016 10012 10013 Update objectContentType() implementation to handle the 10014 shouldPreferPlugInsForImages flag. 10015 10016 * WebFrame.cpp: 10017 (WebFrame::objectContentType): 10018 * WebFrame.h: 10019 100202011-03-24 Sheriff Bot <webkit.review.bot@gmail.com> 10021 10022 Unreviewed, rolling out r81916 and r81917. 10023 http://trac.webkit.org/changeset/81916 10024 http://trac.webkit.org/changeset/81917 10025 https://bugs.webkit.org/show_bug.cgi?id=57071 10026 10027 broke a test on platforms that do not have QuickTime installed 10028 (Requested by estes on #webkit). 10029 10030 * WebFrame.cpp: 10031 (WebFrame::objectContentType): 10032 * WebFrame.h: 10033 100342011-03-24 Andy Estes <aestes@apple.com> 10035 10036 Reviewed by Darin Adler. 10037 10038 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js 10039 https://bugs.webkit.org/show_bug.cgi?id=49016 10040 10041 Update objectContentType() implementation to handle the 10042 shouldPreferPlugInsForImages flag. 10043 10044 * WebFrame.cpp: 10045 (WebFrame::objectContentType): 10046 * WebFrame.h: 10047 100482011-03-23 Brady Eidson <beidson@apple.com> 10049 10050 Reviewed by Sam Weinig. 10051 10052 Change IconDatabase opening to allow for arbitrary filenames 10053 https://bugs.webkit.org/show_bug.cgi?id=56977 10054 10055 * WebIconDatabase.cpp: 10056 (WebIconDatabase::startUpIconDatabase): 10057 100582011-03-22 Brady Eidson <beidson@apple.com> 10059 10060 Reviewed by Sam Weinig. 10061 10062 <rdar://problem/8648311> and https://bugs.webkit.org/show_bug.cgi?id=56876 10063 WK2 Icon DB: Expand IconDatabaseClient interface and move it to the main thread 10064 10065 Note that while the new client calls always come through on the main thread, our mechanisms to 10066 route dispatches to the main thread are still valid and will still work. 10067 10068 Update to the new IconDatabaseClient interface: 10069 * WebIconDatabase.cpp: 10070 (WebIconDatabase::performImport): 10071 (WebIconDatabase::didRemoveAllIcons): 10072 (WebIconDatabase::didImportIconURLForPageURL): 10073 (WebIconDatabase::didImportIconDataForPageURL): 10074 (WebIconDatabase::didChangeIconForPageURL): 10075 (WebIconDatabase::didFinishURLImport): 10076 * WebIconDatabase.h: 10077 100782011-03-17 Brady Eidson <beidson@apple.com> 10079 10080 Reviewed by Sam Weinig. 10081 10082 https://bugs.webkit.org/show_bug.cgi?id=56425 10083 More groundwork for WebKit2 IconDatabase 10084 10085 Update already-used function names: 10086 * WebIconDatabase.cpp: 10087 (WebIconDatabase::iconForURL): 10088 (WebIconDatabase::iconURLForURL): 10089 (WebIconDatabase::hasIconForURL): 10090 100912011-03-18 Pavel Podivilov <podivilov@chromium.org> 10092 10093 Reviewed by Yury Semikhatsky. 10094 10095 Web Inspector: implement inspector session storage. 10096 https://bugs.webkit.org/show_bug.cgi?id=56643 10097 10098 * WebCoreSupport/WebInspectorClient.cpp: 10099 (WebInspectorClient::saveSessionSetting): 10100 (WebInspectorClient::loadSessionSetting): 10101 (WebInspectorFrontendClient::saveSessionSetting): 10102 (WebInspectorFrontendClient::loadSessionSetting): 10103 * WebCoreSupport/WebInspectorClient.h: 10104 101052011-03-11 Brady Eidson <beidson@apple.com> 10106 10107 More Windows build fix for https://bugs.webkit.org/show_bug.cgi?id=56216 10108 10109 * WebCoreStatistics.cpp: 10110 * WebIconDatabase.cpp: 10111 101122011-03-09 Peter Kasting <pkasting@google.com> 10113 10114 Reviewed by Mihai Parparita. 10115 10116 Unify Windows version checks. 10117 https://bugs.webkit.org/show_bug.cgi?id=55979 10118 10119 * WebView.cpp: 10120 (WebView::standardUserAgentWithApplicationName): 10121 (webKitVersionString): 10122 101232011-03-07 Sam Weinig <sam@webkit.org> 10124 10125 Reviewed by Anders Carlsson. 10126 10127 Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse 10128 https://bugs.webkit.org/show_bug.cgi?id=55827 10129 10130 Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse 10131 and pass the entire response, instead of just the MIMEType. 10132 10133 * WebFrame.cpp: 10134 (WebFrame::dispatchDecidePolicyForResponse): 10135 * WebFrame.h: 10136 101372011-03-04 Steve Falkenburg <sfalken@apple.com> 10138 10139 Reviewed by Darin Adler. 10140 10141 Adopt VersionStamper tool for Windows WebKit DLLs 10142 https://bugs.webkit.org/show_bug.cgi?id=55784 10143 10144 Calculate the WebKit version for the useragent via autoversion.h 10145 instead of reading it back from the DLL. 10146 10147 We now use a tool to stamp the version number onto the Apple WebKit DLLs 10148 during the post-build step. 10149 10150 * WebKit.vcproj/WebKit.rc: Removed. This file wasn't used. 10151 * WebKit.vcproj/WebKitLibCommon.vsprops: Fetch version from a string resource. 10152 * WebView.cpp: 10153 (WebView::standardUserAgentWithApplicationName): Use __BUILD_NUMBER_SHORT__ for the version. 10154 (osVersion): Removed 10155 101562011-03-03 Anders Carlsson <andersca@apple.com> 10157 10158 Reviewed by Sam Weinig. 10159 10160 Get rid of Page::globalHistoryItem 10161 https://bugs.webkit.org/show_bug.cgi?id=55738 10162 10163 * WebCoreSupport/WebFrameLoaderClient.cpp: 10164 (WebFrameLoaderClient::updateGlobalHistoryItemForPage): 10165 Get the current history item and update it using WebView::setGlobalHistoryItem. 10166 10167 * WebCoreSupport/WebFrameLoaderClient.h: 10168 * WebView.cpp: 10169 (WebView::globalHistoryItem): 10170 (WebView::setGlobalHistoryItem): 10171 * WebView.h: 10172 101732011-03-03 Brent Fulgham <bfulgham@webkit.org> 10174 10175 Unreviewed build correction. 10176 10177 * WebFrame.cpp: 10178 (scaleFactor): Update after 77286 to replace right/bottom 10179 with new maxX/maxY terminology. 10180 101812011-03-03 Brady Eidson <beidson@apple.com> 10182 10183 Reviewed by Darin Adler. 10184 10185 https://bugs.webkit.org/show_bug.cgi?id=55721 10186 Global IconDatabase should be returned by reference, not as a pointer 10187 10188 * WebCoreStatistics.cpp: 10189 (WebCoreStatistics::iconPageURLMappingCount): 10190 (WebCoreStatistics::iconRetainedPageURLCount): 10191 (WebCoreStatistics::iconRecordCount): 10192 (WebCoreStatistics::iconsWithDataCount): 10193 * WebIconDatabase.cpp: 10194 (WebIconDatabase::init): 10195 (WebIconDatabase::startUpIconDatabase): 10196 (WebIconDatabase::iconForURL): 10197 (WebIconDatabase::retainIconForURL): 10198 (WebIconDatabase::releaseIconForURL): 10199 (WebIconDatabase::removeAllIcons): 10200 (WebIconDatabase::iconURLForURL): 10201 (WebIconDatabase::isEnabled): 10202 (WebIconDatabase::setEnabled): 10203 (WebIconDatabase::hasIconForURL): 10204 (WebIconDatabase::getOrCreateDefaultIconBitmap): 10205 * WebKitDLL.cpp: 10206 (shutDownWebKit): 10207 102082011-03-03 Alexey Proskuryakov <ap@apple.com> 10209 10210 Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included 10211 via ChromeClient.h 10212 10213 * WebCoreSupport/WebChromeClient.h: 10214 102152011-03-02 Alexey Proskuryakov <ap@apple.com> 10216 10217 Reviewed by Darin Adler. 10218 10219 REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access 10220 https://bugs.webkit.org/show_bug.cgi?id=55633 10221 <rdar://problem/8963023> 10222 10223 * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::keyboardUIMode): 10224 * WebCoreSupport/WebChromeClient.h: 10225 Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since 10226 this platform doesn't observe or have full keyboard access state. 10227 102282011-03-03 Peter Kasting <pkasting@google.com> 10229 10230 Reviewed by James Robinson. 10231 10232 Drop redundant "Windows; " from the Windows-specific User Agent string. 10233 https://bugs.webkit.org/show_bug.cgi?id=54567 10234 10235 * WebView.cpp: 10236 (WebView::standardUserAgentWithApplicationName): 10237 102382011-03-01 Brian Weinstein <bweinstein@apple.com> 10239 10240 Reviewed by Adam Roben. 10241 10242 Part of WebKit2: Need a way to send notifications to client when cookies change 10243 https://bugs.webkit.org/show_bug.cgi?id=55427 10244 <rdar://problem/9056027> 10245 10246 Add stubs for CookiesStrategy on Windows WebKit1. 10247 10248 * WebCoreSupport/WebPlatformStrategies.cpp: 10249 (WebPlatformStrategies::createCookiesStrategy): 10250 (WebPlatformStrategies::notifyCookiesChanged): 10251 * WebCoreSupport/WebPlatformStrategies.h: 10252 102532011-02-28 Chang Shu <cshu@webkit.org> 10254 10255 Reviewed by Ryosuke Niwa. 10256 10257 Remove the support of Frame::isContentEditable and its dependencies. 10258 https://bugs.webkit.org/show_bug.cgi?id=54292 10259 10260 Remove the WebKit side implementation. 10261 10262 * WebCoreSupport/WebEditorClient.cpp: 10263 * WebCoreSupport/WebEditorClient.h: 10264 102652011-02-28 Adam Roben <aroben@apple.com> 10266 10267 Build TestWebKitAPIInjectedBundle on Windows 10268 10269 Fixes <http://webkit.org/b/55420> run-api-tests doesn't run injected bundle tests on Windows 10270 10271 Reviewed by Darin Adler. 10272 10273 * WebKit.vcproj/WebKit.sln: Added TestWebKitAPIInjectedBundle. Let VS simplify the paths to 10274 the project files. 10275 102762011-02-28 Sheriff Bot <webkit.review.bot@gmail.com> 10277 10278 Unreviewed, rolling out r78789. 10279 http://trac.webkit.org/changeset/78789 10280 https://bugs.webkit.org/show_bug.cgi?id=55409 10281 10282 Incorrect canvas fallback implementation (Requested by 10283 inferno-sec on #webkit). 10284 10285 * AccessibleBase.cpp: 10286 (MSAARole): 10287 102882011-02-26 Vsevolod Vlasov <vsevik@chromium.org> 10289 10290 Reviewed by Pavel Feldman. 10291 10292 DumpRenderTree should reset frame opener between tests. 10293 https://bugs.webkit.org/show_bug.cgi?id=54874 10294 10295 Added clearOpener method to IWebFramePrivate. 10296 Touched WebKit.idl to trigger build scripts. 10297 10298 * Interfaces/IWebFramePrivate.idl: 10299 * Interfaces/WebKit.idl: 10300 * WebFrame.cpp: 10301 (WebFrame::clearOpener): 10302 * WebFrame.h: 10303 103042011-02-26 Sheriff Bot <webkit.review.bot@gmail.com> 10305 10306 Unreviewed, rolling out r79764. 10307 http://trac.webkit.org/changeset/79764 10308 https://bugs.webkit.org/show_bug.cgi?id=55295 10309 10310 "broke Chromium builds" (Requested by rniwa on #webkit). 10311 10312 * Interfaces/IWebFramePrivate.idl: 10313 * Interfaces/WebKit.idl: 10314 * WebFrame.cpp: 10315 * WebFrame.h: 10316 103172011-02-26 Vsevolod Vlasov <vsevik@chromium.org> 10318 10319 Reviewed by Pavel Feldman. 10320 10321 DumpRenderTree should reset frame opener between tests. 10322 https://bugs.webkit.org/show_bug.cgi?id=54874 10323 10324 Added clearOpener method to IWebFramePrivate. 10325 Touched WebKit.idl to trigger build scripts. 10326 10327 * Interfaces/IWebFramePrivate.idl: 10328 * Interfaces/WebKit.idl: 10329 * WebFrame.cpp: 10330 (WebFrame::clearOpener): 10331 * WebFrame.h: 10332 103332011-02-24 Peter Kasting <pkasting@google.com> 10334 10335 Reviewed by Eric Seidel. 10336 10337 Drop the "U; " encryption level from the User Agent string. 10338 https://bugs.webkit.org/show_bug.cgi?id=54566 10339 10340 * WebView.cpp: 10341 (WebView::standardUserAgentWithApplicationName): 10342 103432011-02-24 Andrew Wilson <atwilson@chromium.org> 10344 10345 Unreviewed, rolling out r79570. 10346 http://trac.webkit.org/changeset/79570 10347 https://bugs.webkit.org/show_bug.cgi?id=54874 10348 10349 Breaks chromium build because glue/mocks/mock_web_frame.h/cc 10350 was not updated 10351 10352 * Interfaces/IWebFramePrivate.idl: 10353 * Interfaces/WebKit.idl: 10354 * WebFrame.cpp: 10355 * WebFrame.h: 10356 103572011-02-24 Vsevolod Vlasov <vsevik@chromium.org> 10358 10359 Reviewed by Alexey Proskuryakov. 10360 10361 DumpRenderTree should reset frame opener between tests. 10362 https://bugs.webkit.org/show_bug.cgi?id=54874 10363 10364 Added clearOpener method to IWebFramePrivate. 10365 Touched WebKit.idl to trigger build scripts. 10366 10367 * Interfaces/IWebFramePrivate.idl: 10368 * Interfaces/WebKit.idl: 10369 * WebFrame.cpp: 10370 (WebFrame::clearOpener): 10371 * WebFrame.h: 10372 103732011-02-23 Patrick Gansterer <paroga@webkit.org> 10374 10375 Reviewed by Darin Adler. 10376 10377 Rename PLATFORM(CF) to USE(CF) 10378 https://bugs.webkit.org/show_bug.cgi?id=53540 10379 10380 * WebView.cpp: 10381 103822011-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com> 10383 10384 Reviewed by Alexey Proskuryakov. 10385 10386 Drop the language tag part from the User Agent string 10387 https://bugs.webkit.org/show_bug.cgi?id=54560 10388 10389 * WebView.cpp: 10390 (WebView::standardUserAgentWithApplicationName): 10391 103922011-02-19 Charlie Reis <creis@chromium.org> 10393 10394 Reviewed by Mihai Parparita. 10395 10396 Ensure loading has stopped in HistoryController::goToItem 10397 https://bugs.webkit.org/show_bug.cgi?id=54517 10398 10399 Add a FrameLoaderClient callback for whether to stop loading before goToItem. 10400 10401 Test: http/tests/navigation/forward-to-fragment-fires-onload.html 10402 10403 * WebCoreSupport/WebFrameLoaderClient.cpp: 10404 (WebFrameLoaderClient::shouldStopLoadingForHistoryItem): Added. 10405 * WebCoreSupport/WebFrameLoaderClient.h: 10406 104072011-02-16 David Hyatt <hyatt@apple.com> 10408 10409 Reviewed by Dan Bernstein. 10410 10411 https://bugs.webkit.org/show_bug.cgi?id=54244 10412 10413 Convert the line box tree to floating point and eliminate font rounding hacks. This patch removes all of the rounding 10414 hacks from the Font code and makes sure all Font APIs involving width measurement and width offsets use floats. 10415 10416 The line box tree's x, y and logicalWidth members have all been converted to floats and all of the line box APIs have 10417 been changed as well. 10418 10419 In terms of pixel adjustments, overflow is using an enclosing model (so it will be enclosingIntRect of a line box's x/y/width/height). 10420 10421 Background and border painting is using a rounding model, so borders and backgrounds will round to the nearest pixel when painting. 10422 10423 Replaced elements still snap to integer positions on lines, and they use a rounding model as well, although their underlying line boxes 10424 still have a precise floating point position. 10425 10426 Justification will now allow subpixel positioning to occur as well. Platforms that don't support subpixel positioning should already 10427 be rounding justification spacing in their font code. 10428 10429 Many layout test results change on Mac, since rounding hacks were used there and are now gone. 10430 10431 * WebKitGraphics.cpp: 10432 (CenterTruncateStringToWidth): 10433 (RightTruncateStringToWidth): 10434 104352011-02-10 Luiz Agostini <luiz.agostini@openbossa.org> 10436 10437 Reviewed by Adam Roben. 10438 10439 HTML5 <details> and <summary>: localized text 10440 https://bugs.webkit.org/show_bug.cgi?id=54260 10441 10442 The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to 10443 provide the default label to be used by a <details> tag that has no <summary> child. 10444 10445 * WebCoreSupport/WebPlatformStrategies.cpp: 10446 (WebPlatformStrategies::defaultDetailsSummaryText): 10447 * WebCoreSupport/WebPlatformStrategies.h: 10448 104492011-02-16 Dominic Mazzoni <dmazzoni@google.com> 10450 10451 Reviewed by Chris Fleizach. 10452 10453 Add new role for canvas elements. 10454 10455 https://bugs.webkit.org/show_bug.cgi?id=50126 10456 10457 Test: accessibility/canvas-fallback-content.html 10458 10459 * AccessibleBase.cpp: 10460 (MSAARole): 10461 104622011-02-15 Kenneth Russell <kbr@google.com> 10463 10464 Unreviewed. Remove whitespace-only change from 10465 http://trac.webkit.org/changeset/78620 (https://bugs.webkit.org/show_bug.cgi?id=54312) 10466 now that the patch has passed the Windows build bots. 10467 10468 * Interfaces/WebKit.idl: 10469 104702011-02-15 Kenneth Russell <kbr@google.com> 10471 10472 Reviewed by Darin Fisher. 10473 10474 Allow controlling minimum DOMTimer interval on a per-page basis 10475 https://bugs.webkit.org/show_bug.cgi?id=54312 10476 10477 Added needed methods to implement LayoutTestController's new 10478 setMinimumTimerInterval method. Includes whitespace-only change to 10479 WebKit.idl to trigger proper rebuild on bots; will be removed in 10480 subsequent checkin. 10481 10482 * Interfaces/IWebViewPrivate.idl: 10483 * Interfaces/WebKit.idl: 10484 * WebView.cpp: 10485 (WebView::initWithFrame): 10486 (WebView::defaultMinimumTimerInterval): 10487 (WebView::setMinimumTimerInterval): 10488 * WebView.h: 10489 104902011-01-26 MORITA Hajime <morrita@google.com> 10491 10492 Reviewed by Ryosuke Niwa. 10493 10494 Refactoring: Extract TextCheckerClient from EditorClient 10495 https://bugs.webkit.org/show_bug.cgi?id=53213 10496 10497 * WebCoreSupport/WebEditorClient.h: 10498 (WebEditorClient::textChecker): 10499 105002011-02-07 Ryosuke Niwa <rniwa@webkit.org> 10501 10502 Reviewed by Adam Barth. 10503 10504 Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard 10505 https://bugs.webkit.org/show_bug.cgi?id=52417 10506 10507 Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently 10508 not implemented. 10509 10510 * WebCoreSupport/WebEditorClient.cpp: 10511 (WebEditorClient::canCopyCut): Added. 10512 (WebEditorClient::canPaste): Added. 10513 * WebCoreSupport/WebEditorClient.h: 10514 105152011-02-14 Brian Weinstein <bweinstein@apple.com> 10516 10517 Reviewed by Brady Eidson. 10518 10519 Need WebKit API to determine whether we have a site icon for a given URL 10520 https://bugs.webkit.org/show_bug.cgi?id=54400 10521 10522 This patch implements IWebIconDatabase::hasIconForURL which tells us whether or not 10523 we have a site icon for the given URL. 10524 10525 * Interfaces/IWebIconDatabase.idl: Added new function. 10526 * Interfaces/WebKit.idl: Touched to make sure Interfaces rebuilds. 10527 * WebIconDatabase.cpp: 10528 (WebIconDatabase::hasIconForURL): Call IconDatabase::iconForPageURL to make sure we 10529 load the icon from disk, and call iconURLForPageURL to determine whether or not 10530 we actually have an icon. 10531 * WebIconDatabase.h: 10532 105332011-02-11 Geoffrey Garen <ggaren@apple.com> 10534 10535 Reviewed by Oliver Hunt. 10536 10537 A little more encapsulation for the heap: Removed CollectorHeapIterator 10538 https://bugs.webkit.org/show_bug.cgi?id=54298 10539 10540 * WebCoreStatistics.cpp: 10541 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): 10542 105432011-02-09 Pavel Feldman <pfeldman@chromium.org> 10544 10545 Reviewed by Yury Semikhatsky. 10546 10547 Web Inspector: follow up on InspectorAgent split - 10548 removing unnecessary methods from InspectorController. 10549 https://bugs.webkit.org/show_bug.cgi?id=54093 10550 10551 * WebInspector.cpp: 10552 (WebInspector::showConsole): 10553 (WebInspector::toggleProfilingJavaScript): 10554 105552011-02-08 Adam Barth <abarth@webkit.org> 10556 10557 Reviewed by Eric Seidel. 10558 10559 Remove orphan code from old parser 10560 https://bugs.webkit.org/show_bug.cgi?id=53984 10561 10562 * WebCoreSupport/WebChromeClient.h: 10563 105642011-02-08 David Hyatt <hyatt@apple.com> 10565 10566 Reviewed by Adam Roben. 10567 10568 <rdar://problem/8932077> REGRESSION (5.0.3-ToT): United boarding pass has wrong layout when printed 10569 10570 Windows never got patched to pass in the page height to WebCore, so when WebCore's pagination got re-written to depend on this 10571 value, Windows got broken. Patch setPrinting to be identical to WebKit1 on OS X and to have it take an extra minimum page height 10572 argument. 10573 10574 * WebFrame.cpp: 10575 (WebFrame::setPrinting): 10576 (WebFrame::setInPrintingMode): 10577 * WebFrame.h: 10578 105792011-02-02 Ilya Tikhonovsky <loislo@chromium.org> 10580 10581 Reviewed by Yury Semikhatsky. 10582 10583 Web Inspector: move InspectorController's methods from InspectorAgent to InspectorController. 10584 10585 https://bugs.webkit.org/show_bug.cgi?id=53169 10586 10587 Minor change enforced by major changes in WebCore/inspector/InspectorController. 10588 10589 * WebInspector.cpp: 10590 (WebInspector::isTimelineProfilingEnabled): 10591 105922011-02-07 Enrica Casucci <enrica@apple.com> 10593 10594 Reviewed Adam Roben and Darin Adler. 10595 10596 WebKit2: drag and drop support on Windows. 10597 https://bugs.webkit.org/show_bug.cgi?id=52775 10598 10599 Removed createDragImageForLink from DragClient. 10600 10601 * WebCoreSupport/WebDragClient.cpp: 10602 (WebDragClient::startDrag): 10603 * WebCoreSupport/WebDragClient.h: 10604 106052011-02-06 Ryosuke Niwa <rniwa@webkit.org> 10606 10607 Reviewed by Darin Adler. 10608 10609 OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h 10610 https://bugs.webkit.org/show_bug.cgi?id=52867 10611 10612 * WebHistory.cpp: 10613 (WebHistory::orderedLastVisitedDays): Calls adoptArrayPtr. 10614 * WebPreferences.cpp: 10615 (WebPreferences::copyWebKitPreferencesToCFPreferences): Ditto. 10616 106172011-02-03 Yury Semikhatsky <yurys@chromium.org> 10618 10619 Reviewed by Pavel Feldman. 10620 10621 Web Inspector: remove settings related methods from InspectorClient 10622 https://bugs.webkit.org/show_bug.cgi?id=53686 10623 10624 * WebCoreSupport/WebInspectorClient.cpp: 10625 (WebInspectorClient::openInspectorFrontend): 10626 (WebInspectorFrontendClient::WebInspectorFrontendClient): 10627 * WebCoreSupport/WebInspectorClient.h: 10628 106292011-02-03 Adam Langley <agl@chromium.org> 10630 10631 Reviewed by Adam Barth. 10632 10633 Plumb mixed script URL to FrameLoaderClient 10634 https://bugs.webkit.org/show_bug.cgi?id=52384 10635 10636 Regressions covered by http/tests/security/mixedContent/* 10637 10638 * WebCoreSupport/WebFrameLoaderClient.cpp: 10639 (WebFrameLoaderClient::didRunInsecureContent): 10640 * WebCoreSupport/WebFrameLoaderClient.h: 10641 106422011-02-02 David Hyatt <hyatt@apple.com> 10643 10644 Reviewed by Darin Adler. 10645 10646 Removal of right()/bottom(), converting to maxX()/maxY(). 10647 10648 * DOMHTMLClasses.cpp: 10649 (DOMHTMLInputElement::rectOnScreen): 10650 * WebCoreSupport/EmbeddedWidget.cpp: 10651 (EmbeddedWidget::frameRectsChanged): 10652 * WebFrame.cpp: 10653 (WebFrame::computePageRects): 10654 * WebScrollBar.cpp: 10655 (WebScrollBar::frameRect): 10656 * WebView.cpp: 10657 (WebView::addToDirtyRegion): 10658 (WebView::visibleContentRect): 10659 (WebView::prepareCandidateWindow): 10660 106612011-01-31 Brady Eidson <beidson@apple.com> 10662 10663 Reviewed by Adam Roben. 10664 10665 Fix the clean Windows build. 10666 10667 * WebKitGraphics.cpp: 10668 (WebDrawText): 10669 106702011-01-28 Jon Honeycutt <jhoneycutt@apple.com> 10671 10672 Downloads in WK2 on Windows should write resume data to bundle 10673 https://bugs.webkit.org/show_bug.cgi?id=53282 10674 <rdar://problem/8753077> 10675 10676 Reviewed by Alice Liu. 10677 10678 * WebDownload.cpp: 10679 (WebDownload::bundlePathForTargetPath): 10680 Use the new WebCore::DownloadBundle function. 10681 (WebDownload::request): 10682 10683 * WebDownload.h: 10684 Removed declarations for functions that were moved to a new location. 10685 10686 * WebDownloadCFNet.cpp: 10687 (WebDownload::initToResumeWithBundle): 10688 Use the new WebCore::DownloadBundle function. 10689 (WebDownload::cancelForResume): 10690 Fix a leak of the resume data CFDataRef by using adoptCF(). Use the new 10691 WebCore::DownloadBundle function. 10692 106932011-01-28 Dan Bernstein <mitz@apple.com> 10694 10695 Reviewed by Sam Weinig. 10696 10697 <select> can't display right-to-left (rtl) languages 10698 https://bugs.webkit.org/show_bug.cgi?id=19785 10699 10700 * WebCoreSupport/WebChromeClient.cpp: 10701 (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection): Added. 10702 * WebCoreSupport/WebChromeClient.h: 10703 107042011-01-27 Nate Chapin <japhet@chromium.org> 10705 10706 Reviewed by Adam Barth. 10707 10708 Use Document::url() instead of FrameLoader::url(). 10709 https://bugs.webkit.org/show_bug.cgi?id=41165 10710 10711 * WebFrame.cpp: 10712 (WebFrame::url): 10713 107142011-01-27 Sam Weinig <sam@webkit.org> 10715 10716 Reviewed by Adam Roben. 10717 10718 Fix scrollbars in Safari's Downloads window and Bookmarks view by 10719 implementing two needed functions from ScrollableArea. 10720 10721 * WebScrollBar.cpp: 10722 (WebScrollBar::horizontalScrollbar): Return the WebCore::Scrollbar if 10723 we are a horizontal scrollbar. 10724 (WebScrollBar::verticalScrollbar): Return the WebCore::Scrollbar if we 10725 are a vertical scrollbar. 10726 * WebScrollBar.h: 10727 107282011-01-27 Adam Roben <aroben@apple.com> 10729 10730 Trim down #includes in WebView.h 10731 10732 Rubber-stamped by Steve Falkenburg. 10733 10734 * WebView.cpp: Moved some #includes here from the header file. 10735 10736 * WebView.h: Replaced some broader #includes with more specific ones, plus a 10737 forward-declaration. 10738 107392011-01-25 Steve Falkenburg <sfalken@apple.com> 10740 10741 Windows production build fix. 10742 Build correct configuration of Interfaces for Debug_All. 10743 10744 * WebKit.vcproj/WebKit.submit.sln: 10745 107462011-01-25 Steve Falkenburg <sfalken@apple.com> 10747 10748 Rubber-stamped by Adam Roben. 10749 10750 Windows production build fix. 10751 Use correct environment variable escaping 10752 10753 * WebKit.vcproj/WebKit.make: 10754 107552011-01-24 Chris Marrin <cmarrin@apple.com> 10756 10757 Reviewed by Eric Seidel. 10758 10759 Change ENABLE_3D_CANVAS to ENABLE_WEBGL 10760 https://bugs.webkit.org/show_bug.cgi?id=53041 10761 10762 * WebView.cpp: 10763 (WebView::notifyPreferencesChanged): 10764 107652011-01-25 Yury Semikhatsky <yurys@chromium.org> 10766 10767 Reviewed by Pavel Feldman. 10768 10769 Web Inspector: remove "attached" state related methods from InspectorAgent 10770 https://bugs.webkit.org/show_bug.cgi?id=53086 10771 10772 * WebCoreSupport/WebInspectorClient.cpp: 10773 (WebInspectorFrontendClient::attachWindow): 10774 (WebInspectorFrontendClient::detachWindow): 10775 (WebInspectorFrontendClient::showWindowWithoutNotifications): 10776 * WebCoreSupport/WebInspectorClient.h: 10777 107782011-01-24 Adam Roben <aroben@apple.com> 10779 10780 Windows Production build fix 10781 10782 * WebKit.vcproj/WebKit.make: Update for move of WebKit into Source. 10783 107842011-01-21 Nikolas Zimmermann <nzimmermann@rim.com> 10785 10786 Reviewed by Dirk Schulze. 10787 10788 Introduce FontMetrics abstraction 10789 https://bugs.webkit.org/show_bug.cgi?id=51456 10790 10791 * FullscreenVideoController.cpp: Use FontMetrics instead of Font to access the metrics. 10792 (FullscreenVideoController::draw): 10793 * WebCoreSupport/WebDragClient.cpp: Ditto. 10794 (WebDragClient::createDragImageForLink): 10795 * WebKitGraphics.cpp: Ditto. 10796 (FontMetrics): 10797 107982011-01-21 Chris Rogers <crogers@google.com> 10799 10800 Reviewed by Darin Fisher. 10801 10802 Add run-time enable support for the web audio API 10803 https://bugs.webkit.org/show_bug.cgi?id=52741 10804 10805 * WebPreferenceKeysPrivate.h: 10806 * WebView.cpp: 10807 (WebView::notifyPreferencesChanged): 10808 108092011-01-21 Sam Weinig <sam@webkit.org> 10810 10811 Fix windows build. 10812 10813 * WebScrollBar.h: 10814 108152011-01-21 Sam Weinig <sam@webkit.org> 10816 10817 Reviewed by Anders Carlsson. 10818 10819 Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship" 10820 https://bugs.webkit.org/show_bug.cgi?id=52779 10821 10822 Rename ScrollbarClient -> ScrollableArea. 10823 10824 * WebScrollBar.cpp: 10825 (WebScrollBar::scroll): 10826 * WebScrollBar.h: 10827 108282011-01-20 Adam Roben <aroben@apple.com> 10829 10830 Update for CACFLayerTreeHost changes 10831 10832 Fixes <http://webkit.org/b/52852> Flushing layer changes and rendering are intertwined in 10833 CACFLayerTreeHost, but shouldn't be 10834 10835 Reviewed by Simon Fraser. 10836 10837 * WebView.cpp: 10838 (WebView::paint): Changed to flush layer changes via CACFLayerTreeHost, which will call back 10839 to our own flushing function if needed. 10840 10841 * WebView.h: Removed shouldRender, which is no longer used or needed. 10842 108432011-01-21 Adam Roben <aroben@apple.com> 10844 10845 Update for WKCACFLayerRenderer -> CACFLayerTreeHost rename 10846 10847 Also renamed WebView::m_layerRenderer to WebView::m_layerTreeHost to match. 10848 10849 Fixes <http://webkit.org/b/52898> WKCACFLayerRenderer sounds like a render object, but isn't 10850 10851 Reviewed by Simon Fraser. 10852 10853 * WebPreferences.cpp: 10854 * WebView.cpp: 10855 (WebView::setAcceleratedCompositing): Also made sure to remove our HWND from the layer tree 10856 host before we get rid of the layer tree host itself. 10857 * WebView.h: 10858 108592011-01-21 Adam Roben <aroben@apple.com> 10860 10861 Replace some "sync compositing state" terminology with "flush pending GraphicsLayer changes" 10862 10863 This seems to be the direction in which our code is moving. I chose "GraphicsLayer" as 10864 opposed to just "layer" because there are cases where we flush changes to CACFLayers that 10865 don't have a corresponding GraphicsLayer. 10866 10867 Fixes <http://webkit.org/b/52894> "Sync compositing state" terminology in 10868 WKCACFLayerRenderer and friends is confusing 10869 10870 Reviewed by Simon Fraser. 10871 10872 * WebCoreSupport/WebChromeClient.cpp: 10873 (WebChromeClient::scheduleCompositingLayerSync): Updated for WebView changes. 10874 10875 * WebView.cpp: 10876 (WebView::paint): Updated for rename. 10877 (WebView::flushPendingGraphicsLayerChangesSoon): Renamed from scheduleCompositingLayerSync. 10878 (WebView::notifySyncRequired): Updated for rename. 10879 (WebView::flushPendingGraphicsLayerChanges): Renamed from syncCompositingState. 10880 10881 * WebView.h: Did the renames. 10882 108832011-01-20 Sam Weinig <sam@webkit.org> 10884 10885 Reviewed by Dave Hyatt. 10886 10887 Cleanup Scrollbar/ScrollbarClient relationship 10888 https://bugs.webkit.org/show_bug.cgi?id=52779 10889 10890 * WebScrollBar.cpp: 10891 (WebScrollBar::WebScrollBar): 10892 (WebScrollBar::setValue): 10893 (WebScrollBar::value): 10894 (WebScrollBar::scroll): 10895 (WebScrollBar::scrollPosition): 10896 (WebScrollBar::setScrollOffset): 10897 * WebScrollBar.h: 10898 108992011-01-19 Adam Roben <aroben@apple.com> 10900 10901 Update for WKCACFLayerRenderer changes 10902 10903 Fixes <http://webkit.org/b/52749> WKCACFLayerRenderer should be 10904 ref-counted 10905 10906 Reviewed by Simon Fraser. 10907 10908 * WebView.cpp: 10909 (WebView::~WebView): Added some assertions to make sure we've gotten rid of our 10910 compositing-related members. My biggest concern was making sure that m_layerRenderer was 10911 gone, which would also mean we had nulled out its client pointer. 10912 (WebView::setAcceleratedCompositing): Changed to call WKCACFLayerRenderer::setClient instead 10913 of passing the client into create(), and to clear out the client before nulling out 10914 m_layerRenderer. 10915 10916 * WebView.h: Changed m_layerRenderer from an OwnPtr to a RefPtr. 10917 109182011-01-19 Adam Roben <aroben@apple.com> 10919 10920 Teach WebView::scrollBackingStore about compositing mode 10921 10922 Test: 10923 compositing/scroll-painted-composited-content.html 10924 10925 Fixes <http://webkit.org/b/52720> REGRESSION (r75987): Assertion failure in 10926 WebView::scrollBackingStore when scrolling page with composited content 10927 10928 Reviewed by Anders Carlsson. 10929 10930 * WebView.cpp: 10931 (WebView::scrollBackingStore): Do something sensible (though naive) when in compositing 10932 mode, rather than incorrectly asserting that this function is never called in that case. For 10933 now we just repaint the entire scrolled region; someday hopefully we can avoid having to 10934 repaint the areas that have just been moved. 10935 109362011-01-19 Simon Fraser <simon.fraser@apple.com> 10937 10938 Reviewed by Sam Weinig. 10939 10940 GraphicsLayers in subframes can get sync'd multiple times 10941 https://bugs.webkit.org/show_bug.cgi?id=52489 10942 10943 * WebView.cpp: 10944 (WebView::syncCompositingState): syncCompositingStateRecursive() 10945 was renamed to syncCompositingStateIncludingSubframes(). 10946 109472011-01-17 Adam Roben <aroben@apple.com> 10948 10949 Update for WKCACFLayerRenderer changes 10950 10951 Fixes <http://webkit.org/b/52587> WKCACFLayerRenderer is hard to use 10952 10953 Reviewed by Chris Marrin. 10954 10955 * WebView.cpp: 10956 (WebView::WebViewWndProc): Removed call to layerRendererBecameVisible 10957 when handling WM_SHOWWINDOW. All this did was try to create the 10958 renderer, but it had already been created in setAcceleratedCompositing, 10959 so wasn't needed. 10960 (WebView::setAcceleratedCompositing): Removed call to createRenderer; 10961 setHostWindow does this for us now. 10962 10963 * WebView.h: Removed animationsStarted and layerRendererBecameVisible. 10964 109652011-01-17 Adam Roben <aroben@apple.com> 10966 10967 Paint directly into a GraphicsLayer when using accelerated compositing 10968 10969 Before this patch, we were painting into our normal backing store 10970 HBITMAP, wrapping it in a CGImage, and handing it off to Core 10971 Animation. This had at least two disadvantages: 10972 1) The bitmap could be modified while Core Animation was using it. 10973 2) It introduced extra complexity. 10974 10975 When entering accelerated compositing mode, WebView now creates a 10976 GraphicsLayer to draw into. This GraphicsLayer sits between the root 10977 layer (owned by WKCACFLayerRenderer) and the RenderView's layer. When 10978 WebView invalidates, it just calls setNeedsDisplayInRect on its 10979 GraphicsLayer. When WebView paints, it just tells its 10980 WKCACFLayerRenderer to paint, which will call back to WebView to draw 10981 into the GraphicsLayer if it has a dirty region. This is very similar 10982 to the current implementation of LayerBackedDrawingArea in WebKit2. 10983 10984 Fixes <http://webkit.org/b/52582> WebView should paint directly into a 10985 GraphicsLayer when in accelerated compositing mode 10986 10987 Reviewed by Simon Fraser and Chris Marrin. 10988 10989 * WebCoreSupport/WebChromeClient.cpp: 10990 (WebChromeClient::attachRootGraphicsLayer): 10991 (WebChromeClient::scheduleCompositingLayerSync): 10992 Updated for WebView changes. 10993 10994 * WebView.cpp: 10995 (WebView::repaint): When using accelerated compositing, just invalidate 10996 our backing layer. This matches the behavior of LayerBackedDrawingArea. 10997 (WebView::deleteBackingStore): Removed accelerated compositing code. 10998 The WKCACFLayerRenderer doesn't need to know about our backing store 10999 anymore; we don't use it at all when in accelerated compositing mode. 11000 (WebView::addToDirtyRegion): When using accelerated compositing, just 11001 invalidate our backing layer. 11002 (WebView::scrollBackingStore): Added an assertion that this isn't 11003 called in accelerated compositing mode. 11004 (WebView::sizeChanged): Update our backing layer's size, too, and 11005 invalidate it. 11006 (WebView::updateBackingStore): Added an assertion that this isn't 11007 called in accelerated compositing mode. 11008 (WebView::paint): If we're in accelerated compositing mode, sync our 11009 compositing state. If we're *still* in accelerated compositing mode, 11010 just tell our WKCACFLayerRenderer to paint and clear our dirty region. 11011 (The later changes in this function are just un-indenting code that 11012 used to be inside an if.) 11013 11014 (WebView::paintIntoBackingStore): 11015 (WebView::paintIntoWindow): 11016 Added assertions that these aren't called in accelerated compositing 11017 mode. 11018 11019 (WebView::WebViewWndProc): Updated WM_XP_THEMECHANGED handling for 11020 removal of setRootLayerNeedsDisplay. 11021 (WebView::setRootChildLayer): Changed to take a GraphicsLayer. We now 11022 set the layer as a child of our own backing layer. 11023 (WebView::scheduleCompositingLayerSync): Just call through to 11024 WKCACFLayerRenderer. 11025 (WebView::setAcceleratedCompositing): Create our backing layer and set 11026 it as the child of WKCACFLayerRenderer's root layer. 11027 (WebView::notifyAnimationStarted): Added. We never expect this 11028 GraphicsLayerClient override to be called, as we don't use animations 11029 on our backing layer. 11030 (WebView::notifySyncRequired): Added. Just schedule a sync. 11031 (WebView::paintContents): Added. Just clip and paint! 11032 11033 (WebView::showDebugBorders): 11034 (WebView::showRepaintCounter): 11035 Added. These just call through to Settings. 11036 11037 (WebView::syncCompositingState): Changed to first update layout, then 11038 sync state for our backing layer, then sync WebCore's state. This 11039 matches LayerBackedDrawingArea. 11040 11041 * WebView.h: WebView now implements the GraphicsLayerClient interface. 11042 Removed setRootLayerNeedsDisplay; it's been replaced by calling 11043 setNeedsDisplay on our backing layer and calling 11044 syncCompositingStateSoon on WKCACFLayerRenderer as needed. Removed 11045 updateRootLayerContents; that function was used to pass our backing 11046 store to Core Animation, which we no longer do. Added m_backingLayer. 11047 110482011-01-17 Tony Gentilcore <tonyg@chromium.org> 11049 11050 Reviewed by Alexey Proskuryakov. 11051 11052 Fix some headers with missing or misspelled #ifndef guards 11053 https://bugs.webkit.org/show_bug.cgi?id=52545 11054 11055 * WebKitStatistics.h: 11056 110572011-01-17 Pavel Feldman <pfeldman@chromium.org> 11058 11059 Reviewed by Yury Semikhatsky. 11060 11061 Web Inspector: simplify debugger enabling routine. 11062 https://bugs.webkit.org/show_bug.cgi?id=52472 11063 11064 * WebInspector.cpp: 11065 (WebInspector::toggleDebuggingJavaScript): 11066 110672011-01-16 Adam Barth <abarth@webkit.org> 11068 11069 Rubber-stamped by Eric Seidel. 11070 11071 Move WebKit into Source 11072 https://bugs.webkit.org/show_bug.cgi?id=52530 11073 11074 * WebKit.vcproj/Interfaces.vcproj: 11075 * WebKit.vcproj/WebKit.sln: 11076 * WebKit.vcproj/WebKit.vcproj: 11077 * WebKit.vcproj/WebKitGUID.vcproj: 11078 110792011-01-15 Adam Barth <abarth@webkit.org> 11080 11081 Rubber-stamped by Eric Seidel. 11082 11083 Move WebKit2 into Source 11084 https://bugs.webkit.org/show_bug.cgi?id=52438 11085 11086 Update reference to WebKit2. 11087 11088 * WebKit.vcproj/WebKit.sln: 11089 110902011-01-14 Yuzo Fujishima <yuzo@google.com> 11091 11092 Reviewed by Antti Koivisto. 11093 11094 Rename cache() to memoryCache() 11095 https://bugs.webkit.org/show_bug.cgi?id=52433 11096 11097 * WebCache.cpp: 11098 (WebCache::statistics): 11099 (WebCache::empty): 11100 (WebCache::setDisabled): 11101 (WebCache::disabled): 11102 * WebView.cpp: 11103 (WebView::setCacheModel): 11104 111052011-01-10 Geoffrey Garen <ggaren@apple.com> 11106 11107 Try to fix Windows build. 11108 11109 * WebJavaScriptCollector.cpp: Updated for rename to Heap.*. (Didn't catch 11110 this one before because it was miscapitalized.) 11111 111122011-01-09 Xianzhu Wang <phnixwxz@gmail.com> 11113 11114 Reviewed by Darin Fisher. 11115 11116 https://bugs.webkit.org/show_bug.cgi?id=41441 11117 createWindow method should only do window-creating without URL navigation 11118 11119 * WebCoreSupport/WebChromeClient.cpp: 11120 (WebChromeClient::createWindow): 11121 111222011-01-07 Adam Barth <abarth@webkit.org> 11123 11124 Rubber-stamped by Eric Seidel. 11125 11126 Move WebCore to Source 11127 https://bugs.webkit.org/show_bug.cgi?id=52050 11128 11129 * WebKit.vcproj/WebKit.sln: 11130 111312011-01-06 Gavin Barraclough <barraclough@apple.com> 11132 11133 Reviewed by Geoff Garen. 11134 11135 Bug 52035 - Unregistering DOMWrapperWorlds is unsafe 11136 11137 The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's 11138 destructor early, in order to release wrappers once we know we no longer intend to use them. 11139 Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to 11140 lose any state stored on them) it is not okay to deregister the world from the JSGlobalData. 11141 A sequence of events that triggers the bug would look like this: 11142 11143 (1) Create a DOMWrapperWorld. 11144 (2) Register a timer in the world. 11145 (3) Call unregisterWorld() on the world. 11146 (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document. 11147 (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've 11148 called forgetWorld() none exists. 11149 (6) Attempt to add a wrapper to a NULL map. 11150 11151 Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away. 11152 11153 * WebScriptWorld.cpp: 11154 (WebScriptWorld::unregisterWorld): 11155 111562011-01-07 Chris Marrin <cmarrin@apple.com> 11157 11158 Rubber-stamped by Simon Fraser. 11159 11160 Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations 11161 https://bugs.webkit.org/show_bug.cgi?id=49388 11162 11163 Change client API for the fullscreen video controller. It now uses a 11164 PlatformCALayerClient so it can use a PlaformCALayer directly. Also 11165 updated how to connect the layer tree to the view to reflect the updated 11166 hardware compositing logic. 11167 11168 * FullscreenVideoController.cpp: 11169 (FullscreenVideoController::LayerClient::LayerClient): 11170 (FullscreenVideoController::LayerClient::platformCALayerRespondsToLayoutChanges): 11171 (FullscreenVideoController::LayerClient::platformCALayerAnimationStarted): 11172 (FullscreenVideoController::LayerClient::platformCALayerContentsOrientation): 11173 (FullscreenVideoController::LayerClient::platformCALayerPaintContents): 11174 (FullscreenVideoController::LayerClient::platformCALayerShowDebugBorders): 11175 (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter): 11176 (FullscreenVideoController::LayerClient::platformCALayerIncrementRepaintCount): 11177 (FullscreenVideoController::LayerClient::platformCALayerContentsOpaque): 11178 (FullscreenVideoController::LayerClient::platformCALayerDrawsContent): 11179 (FullscreenVideoController::LayerClient::platformCALayerLayerDidDisplay): 11180 (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer): 11181 (FullscreenVideoController::FullscreenVideoController): 11182 (FullscreenVideoController::~FullscreenVideoController): 11183 (FullscreenVideoController::enterFullscreen): 11184 * FullscreenVideoController.h: 11185 * WebCoreSupport/WebChromeClient.cpp: 11186 (WebChromeClient::attachRootGraphicsLayer): 11187 (WebChromeClient::scheduleCompositingLayerSync): 11188 * WebView.cpp: 11189 (WebView::setRootChildLayer): 11190 (WebView::animationsStarted): 11191 (WebView::syncCompositingState): 11192 * WebView.h: 11193 (WebView::setRootLayerNeedsDisplay): 11194 111952011-01-05 Steve Falkenburg <sfalken@apple.com> 11196 11197 Reviewed by Darin Adler. 11198 11199 Debug and Release builds on Windows clobber each other 11200 https://bugs.webkit.org/show_bug.cgi?id=49185 11201 11202 Changes the structure of WebKitBuild build products directory so we 11203 completely separate each build configuration into independent directories. 11204 11205 Although we previously had per-configuration directories for obj, this change adds 11206 per-configuration directories for bin, lib, obj, and include. Each configuration's 11207 build products are stored within a directory inside of WebKitBuild. 11208 11209 Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir), 11210 defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName). 11211 11212 * WebKit.vcproj/InterfacesCommon.vsprops: 11213 * WebKit.vcproj/InterfacesPostBuild.cmd: 11214 * WebKit.vcproj/InterfacesPreBuild.cmd: 11215 * WebKit.vcproj/WebKit.make: 11216 * WebKit.vcproj/WebKitGUID.vcproj: 11217 * WebKit.vcproj/WebKitGUIDCommon.vsprops: 11218 * WebKit.vcproj/WebKitGUIDPostBuild.cmd: 11219 * WebKit.vcproj/WebKitGUIDPreBuild.cmd: 11220 * WebKit.vcproj/WebKitLibCommon.vsprops: 11221 * WebKit.vcproj/WebKitLibPostBuild.cmd: 11222 * WebKit.vcproj/WebKitLibPreBuild.cmd: 11223 112242011-01-04 Chris Fleizach <cfleizach@apple.com> 11225 11226 Reviewed by Sam Weinig. 11227 11228 WK2: Support Accessibility 11229 https://bugs.webkit.org/show_bug.cgi?id=51859 11230 11231 Use rootObject() method to get the top of the AX tree. 11232 11233 * AccessibleDocument.cpp: 11234 (AccessibleDocument::AccessibleDocument): 11235 112362011-01-01 Adam Barth <abarth@webkit.org> 11237 11238 Reviewed by Eric Seidel. 11239 11240 Move JavaScriptCore to Source 11241 https://bugs.webkit.org/show_bug.cgi?id=51604 11242 11243 * WebKit.vcproj/WebKit.sln: 11244 - Point to JavaScriptCore in its new location. 11245 112462010-12-22 Sam Weinig <sam@webkit.org> 11247 11248 Reviewed by Darin Adler. 11249 11250 WebKit2 needs to mirror the frame tree in the UIProcess 11251 https://bugs.webkit.org/show_bug.cgi?id=51546 11252 11253 - Add client functions to notify that a frame has been added or 11254 removed from the page cache. 11255 11256 * WebCoreSupport/WebFrameLoaderClient.cpp: 11257 (WebFrameLoaderClient::didSaveToPageCache): 11258 (WebFrameLoaderClient::didRestoreFromPageCache): 11259 * WebCoreSupport/WebFrameLoaderClient.h: 11260 112612010-12-22 Dan Bernstein <mitz@apple.com> 11262 11263 Changed WebKitTools to Tools. 11264 11265 * WebKit.vcproj/WebKit.sln: 11266 112672010-12-14 Adam Roben <aroben@apple.com> 11268 11269 Always record the last-set cursor, even when the UI delegate is 11270 setting the cursor for us 11271 11272 Prior to r63339, the last-set cursor was recorded in Widget::setCursor. 11273 r63339 moved that code up to WebChromeClient, but failed to call it 11274 when the UI delegate was the one setting the cursor. 11275 11276 Fixes <http://webkit.org/b/45692> <rdar://problem/8423464> REGRESSION 11277 (r63339): Mouse cursor disappears when holding mouse button down on 11278 page 11279 11280 Reviewed by Ada Chan. 11281 11282 * WebCoreSupport/WebChromeClient.cpp: 11283 (WebChromeClient::setCursor): After the cursor is set, regardless of 11284 whether the UI delegate sets it or we set it, record the cursor that 11285 was just set. That way we'll be able to use the cursor later when 11286 responding to the WM_SETCURSOR message. 11287 112882010-12-13 Alexey Proskuryakov <ap@apple.com> 11289 11290 Reviewed by Adam Barth. 11291 11292 https://bugs.webkit.org/show_bug.cgi?id=50953 11293 DNS Prefetch should be an opt-in feature 11294 11295 * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default to NO. 11296 112972010-10-28 MORITA Hajime <morrita@google.com> 11298 11299 Reviewed by Ojan Vafai. 11300 11301 spellcheck does not check pasted text 11302 https://bugs.webkit.org/show_bug.cgi?id=40092 11303 11304 Added a stub implememntation. 11305 11306 * WebCoreSupport/WebEditorClient.h: 11307 (WebEditorClient::requestCheckingOfString): 11308 113092010-12-10 Chris Fleizach <cfleizach@apple.com> 11310 11311 Reviewed by Darin Adler. 11312 11313 AX: refactor AccessibilityRenderObject::doAccessibilityHitTest 11314 https://bugs.webkit.org/show_bug.cgi?id=50574 11315 11316 * AccessibleBase.cpp: 11317 (AccessibleBase::accHitTest): 11318 113192010-12-09 Brian Weinstein <bweinstein@apple.com> 11320 11321 Reviewed by Adam Roben. 11322 11323 Prep for WebKit2: Context menu support on Windows 11324 https://bugs.webkit.org/show_bug.cgi?id=50514 11325 11326 Update WebKit for the new CROSS_PLATFORM_CONTEXT_MENUS flag, and define customizeMenu 11327 instead of getCustomMenuFromDefaultItems. 11328 11329 * WebCoreSupport/WebContextMenuClient.cpp: 11330 (WebContextMenuClient::customizeMenu): getCustomMenuFromDefaultItems was turned into 11331 this function, with refactoring using nativeMenu instead of platformDescription. 11332 (WebContextMenuClient::contextMenuItemSelected): Use nativeMenu instead of platformDescription. 11333 * WebCoreSupport/WebContextMenuClient.h: 11334 * WebView.cpp: 11335 (WebView::handleContextMenuEvent): Call nativeMenu instead of platformDescription. 11336 (WebView::performContextMenuAction): Only call itemAtIndex with one argument, no need 11337 for the second. 11338 113392010-12-07 Brian Weinstein <bweinstein@apple.com> 11340 11341 Reviewed by John Sullivan. 11342 11343 Layering Violation in ContextMenu - member variable of type HitTestResult 11344 https://bugs.webkit.org/show_bug.cgi?id=50586 11345 11346 Update users of ContextMenu and ContextMenuController to match where the new functions 11347 are located. 11348 11349 * WebCoreSupport/WebContextMenuClient.cpp: 11350 (WebContextMenuClient::getCustomMenuFromDefaultItems): Get the HitTestResult and ContextMenu from the 11351 ContextMenuController (from the page). 11352 (WebContextMenuClient::contextMenuItemSelected): Get the HitTestResult from the ContextMenuController. 11353 * WebView.cpp: 11354 (WebView::handleContextMenuEvent): Ditto. 11355 113562010-12-07 Jessie Berlin <jberlin@apple.com> 11357 11358 Build fix. Unreviewed. 11359 11360 * WebCoreSupport/WebContextMenuClient.cpp: 11361 (WebContextMenuClient::searchWithGoogle): 11362 FrameLoader::urlSelected does not take a SecurityOrigin as a parameter. 11363 113642010-12-06 Darin Adler <darin@apple.com> 11365 11366 Reviewed by Sam Weinig. 11367 11368 Pass security origin to make local file decision correctly 11369 https://bugs.webkit.org/show_bug.cgi?id=48603 11370 11371 * WebCoreSupport/WebContextMenuClient.cpp: 11372 (WebContextMenuClient::searchWithGoogle): Pass security origin. 11373 113742010-12-07 Kenichi Ishibashi <bashi@google.com> 11375 11376 Reviewed by Kent Tamura. 11377 11378 Let HTMLObjectElement be a form associated element 11379 https://bugs.webkit.org/show_bug.cgi?id=48821 11380 11381 Modified to use FormAssociatedElement instead of HTMLFormControlElement. 11382 11383 * WebFrame.cpp: 11384 (WebFrame::elementWithName): Modified to use FormAssociatedElement 11385 instead of HTMLFormControlElement. 11386 (WebFrame::controlsInForm): Ditto. 11387 113882010-12-05 Adam Roben <aroben@apple.com> 11389 11390 Windows production build fix 11391 11392 Put spaces after trailing backslashes when setting 11393 %WebKitVSPropsRedirectionDir%. According to MSDN 11394 <http://msdn.microsoft.com/en-us/library/2kzfk8c7(v=VS.80).aspx>: 11395 11396 A backslash ( \ ) followed by a newline character is interpreted as 11397 a space in the command; use a backslash at the end of a line to 11398 continue a command onto the next line. NMAKE interprets the 11399 backslash literally if any other character, including a space or 11400 tab, follows the backslash. 11401 11402 * WebKit.vcproj/WebKit.make: 11403 114042010-12-03 Sam Weinig <sam@webkit.org> 11405 11406 Reviewed by Maciej Stachowiak. 11407 11408 Enable <a ping> for Mac/Windows/WebKit2 builds 11409 <rdar://problem/8504473> 11410 https://bugs.webkit.org/show_bug.cgi?id=50488 11411 11412 * WebPreferences.cpp: 11413 (WebPreferences::initializeDefaultSettings): Enable "HyperlinkAuditing" by default. 11414 114152010-12-03 Brian Weinstein <bweinstein@apple.com> 11416 11417 Reviewed by Brady Eidson. 11418 11419 WebContextMenuClient::fixMenuReceivedFromOldSafari is no longer needed on Windows 11420 https://bugs.webkit.org/show_bug.cgi?id=50486 11421 11422 Remove the static fixMenuReceivedFromOldSafari and isPreInspectElementTagSafari methods 11423 from WebContextMenuClient. There were there for when WebKit had the Inspect Element context menu 11424 item, but Safari didn't support it. We don't support that old Safari, so that code can go. 11425 11426 * WebCoreSupport/WebContextMenuClient.cpp: 11427 (WebContextMenuClient::getCustomMenuFromDefaultItems): 11428 114292010-12-02 John Knottenbelt <jknotten@chromium.org> 11430 11431 Reviewed by Steve Block. 11432 11433 Move requestGeolocationPermissionForFrame to GeolocationClient 11434 https://bugs.webkit.org/show_bug.cgi?id=50061 11435 11436 This change facilitates client-based geolocation implementation by 11437 bringing together permission control into the geolocation client 11438 interface. 11439 11440 Move method ChromeClient::requestGeolocationPermissionForFrame to 11441 GeolocationClient::requestPermission. The moved code is unchanged 11442 except that requestPermission now takes only one argument (Geolocation*), 11443 the Frame parameter is retrieved from the Geolocation object and we need to 11444 call m_webView.get() as it is a COMPtr in GeolocationClient. 11445 11446 * WebCoreSupport/WebChromeClient.cpp: 11447 * WebCoreSupport/WebChromeClient.h: 11448 * WebCoreSupport/WebGeolocationClient.cpp: 11449 (WebGeolocationClient::requestPermission): 11450 * WebCoreSupport/WebGeolocationClient.h: 11451 (WebGeolocationClient::cancelPermissionRequest): 11452 114532010-12-01 Jia Pu <jpu@apple.com> 11454 11455 Reviewed by Darin Adler. 11456 11457 Support multiple correction candidates panel for misspelled word on Mac OS X. 11458 https://bugs.webkit.org/show_bug.cgi?id=50137 11459 <rdar://problem/8568059> 11460 11461 Adopted new function signature defined in base class. 11462 11463 * WebCoreSupport/WebEditorClient.cpp: 11464 (WebEditorClient::getGuessesForWord): 11465 * WebCoreSupport/WebEditorClient.h: 11466 114672010-12-01 Steve Falkenburg <sfalken@apple.com> 11468 11469 Reviewed by Adam Roben. 11470 11471 WinCairo build should not use link-time code generation (LTCG) 11472 https://bugs.webkit.org/show_bug.cgi?id=50353 11473 11474 * WebKit.vcproj/Interfaces.vcproj: 11475 * WebKit.vcproj/WebKit.vcproj: 11476 * WebKit.vcproj/WebKitGUID.vcproj: 11477 114782010-12-01 Steve Falkenburg <sfalken@apple.com> 11479 11480 Reviewed by Adam Roben. 11481 11482 vcproj changes can't be applied cleanly by the Windows EWS bot 11483 https://bugs.webkit.org/show_bug.cgi?id=50328 11484 11485 * WebKit.vcproj/Interfaces.vcproj: Modified property svn:eol-style. 11486 * WebKit.vcproj/InterfacesCommon.vsprops: Added property svn:eol-style. 11487 * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style. 11488 * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style. 11489 * WebKit.vcproj/WebKit.vcproj: Modified property svn:eol-style. 11490 * WebKit.vcproj/WebKitGUID.vcproj: Modified property svn:eol-style. 11491 * WebKit.vcproj/WebKitGUIDCommon.vsprops: Added property svn:eol-style. 11492 * WebKit.vcproj/WebKitLibCommon.vsprops: Added property svn:eol-style. 11493 114942010-11-30 Steve Falkenburg <sfalken@apple.com> 11495 11496 Reviewed by Adam Roben. 11497 11498 All projects on Windows should use cmd files for build events 11499 https://bugs.webkit.org/show_bug.cgi?id=50213 11500 11501 * WebKit.vcproj/InterfacesCommon.vsprops: 11502 * WebKit.vcproj/InterfacesPostBuild.cmd: Added. 11503 * WebKit.vcproj/InterfacesPreBuild.cmd: Added. 11504 * WebKit.vcproj/WebKitGUIDCommon.vsprops: 11505 * WebKit.vcproj/WebKitGUIDPostBuild.cmd: Added. 11506 * WebKit.vcproj/WebKitGUIDPreBuild.cmd: Added. 11507 * WebKit.vcproj/WebKitLibCommon.vsprops: 11508 * WebKit.vcproj/WebKitLibPostBuild.cmd: Added. 11509 * WebKit.vcproj/WebKitLibPreBuild.cmd: Added. 11510 115112010-11-29 Brent Fulgham <bfulgham@webkit.org> 11512 11513 Unreviewed build correction. 11514 11515 * WebKit.vcproj/WebKit.vcproj: Update WebKit project to 11516 use WinCairo.vsprops definition for appropriate build targets. 11517 115182010-11-22 Adam Roben <aroben@apple.com> 11519 11520 Use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops files 11521 11522 Apple's Windows build allows placing header files and import libraries for WebKit's 11523 dependencies (CoreGraphics, CFNetwork, SQLite, etc.) outside the source tree via the 11524 $WebKitLibrariesDir environment variable. This is both required for production builds and 11525 convenient for Apple-internal developer builds. Apple's production builds also require that 11526 WebKit's shared .vsprops files be accessed relative to $WebKitLibrariesDir. In production 11527 builds, the files are copied into that directory tree by the 11528 WebKitLibraries/win/tools/WinTools.make file. In Apple-internal developer builds, the 11529 copying is done by 11530 JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make. 11531 11532 This .vsprops copying is problematic in one very important case: when a developer updates 11533 their source tree and then tries to build. Visual Studio only reads .vsprops files when a 11534 project is first loaded. So, when Visual Studio is first opened after the .vsprops files are 11535 updated, it reads in the old files that were already residing in $WebKitLibrariesDir. When a 11536 build is started, JavaScriptCoreGenerated.make copies the new .vsprops files into 11537 $WebKitLibrariesDir, but Visual Studio will not pick up the changes. The rest of the build 11538 will proceed with out-of-date .vsprops files, which will likely result in a build failure. 11539 11540 To fix this, we now use normal relative paths to access the .vsprops files in the source 11541 tree rather than in $WebKitLibrariesDir, but prefix those paths with a new environment 11542 variable, $WebKitVSPropsRedirectionDir. In developer builds, this environment variable is 11543 unset, so the normal relative paths are used to read the .vsprops files out of the source 11544 tree directly. In production builds, this environment variable is set to a fake directory 11545 that will cause the .vsprops files in $WebKitLibrariesDir to be found when the relative path 11546 is resolved. 11547 11548 For example, JavaScriptCore.vcproj uses this path for FeatureDefines.vsprops: 11549 11550 $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops 11551 11552 In developer builds, where $WebKitVSPropsRedirectionDir is unset, this will point to the 11553 files in WebKitLibraries\win\tools\vsprops in the source tree. In production builds, 11554 JavaScriptCore.make sets $WebKitVSPropsRedirectionDir to 11555 "$(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\", so the full path for 11556 FeatureDefines.vsprops becomes: 11557 11558 $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops 11559 11560 which resolves to: 11561 11562 $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops 11563 11564 (We rely on the fact that Windows doesn't care whether the directories "1", "2", and "3" 11565 actually exist since they are matched by an equal number of ".." path components.) 11566 11567 Note that Visual Studio still won't pick up changes made to .vsprops files while Visual 11568 Studio is open, but that problem hasn't seemed to cause developers many headaches so far. 11569 11570 Fixes <http://webkit.org/b/49181> Windows build fails mysteriously when .vsprops files are 11571 updated 11572 11573 Reviewed by Dave Hyatt. 11574 11575 * WebKit.vcproj/WebKit.make: Set $WebKitVSPropsRedirectionDir so that production builds can 11576 find the .vsprops files. 11577 11578 * WebKit.vcproj/WebKit.vcproj: 11579 * WebKit.vcproj/Interfaces.vcproj: 11580 * WebKit.vcproj/WebKitGUID.vcproj: 11581 Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops 11582 files. 11583 115842010-11-19 Steve Falkenburg <sfalken@apple.com> 11585 11586 Reviewed by Adam Roben. 11587 11588 Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files 11589 https://bugs.webkit.org/show_bug.cgi?id=49819 11590 11591 * WebKit.vcproj/Interfaces.vcproj: 11592 * WebKit.vcproj/WebKit.sln: 11593 * WebKit.vcproj/WebKit.vcproj: 11594 * WebKit.vcproj/WebKitGUID.vcproj: 11595 115962010-11-19 Steve Falkenburg <sfalken@apple.com> 11597 11598 Reviewed by Darin Adler. 11599 11600 Normalize Cairo/CFLite project/solution configuration names 11601 https://bugs.webkit.org/show_bug.cgi?id=49818 11602 11603 * WebKit.vcproj/WebKit.sln: 11604 * WebKit.vcproj/WebKit.vcproj: 11605 116062010-11-18 Steve Falkenburg <sfalken@apple.com> 11607 11608 Reviewed by Adam Roben. 11609 11610 Windows vcproj configuration names should be normalized across projects 11611 https://bugs.webkit.org/show_bug.cgi?id=49776 11612 11613 * WebKit.vcproj/Interfaces.vcproj: 11614 * WebKit.vcproj/WebKit.sln: 11615 116162010-11-18 Steve Falkenburg <sfalken@apple.com> 11617 11618 Reviewed by Adam Roben. 11619 11620 Remove leftover Windows Debug_Internal configurations 11621 https://bugs.webkit.org/show_bug.cgi?id=49758 11622 11623 * WebKit.vcproj/WebKit.vcproj: 11624 * WebKit.vcproj/WebKitGUID.vcproj: 11625 116262010-11-18 Steve Falkenburg <sfalken@apple.com> 11627 11628 Reviewed by Adam Roben. 11629 11630 Debug_Internal Windows configuration is unnecessary, should be removed 11631 https://bugs.webkit.org/show_bug.cgi?id=49753 11632 11633 * WebKitPrefix.h: 11634 116352010-11-17 Steve Falkenburg <sfalken@apple.com> 11636 11637 Reviewed by Adam Roben. 11638 11639 WebKit Interfaces project should use vsprops file for common build settings 11640 https://bugs.webkit.org/show_bug.cgi?id=49713 11641 11642 * WebKit.vcproj/Interfaces.vcproj: 11643 * WebKit.vcproj/InterfacesCommon.vsprops: Added. 11644 116452010-11-16 Steve Falkenburg <sfalken@apple.com> 11646 11647 Reviewed by Adam Roben. 11648 11649 Disable LTCG for Windows Release builds. Add new Release_LTCG configuration. 11650 https://bugs.webkit.org/show_bug.cgi?id=49632 11651 11652 * WebKit.vcproj/Interfaces.vcproj: 11653 * WebKit.vcproj/WebKit.make: 11654 * WebKit.vcproj/WebKit.sln: 11655 * WebKit.vcproj/WebKit.submit.sln: 11656 * WebKit.vcproj/WebKit.vcproj: 11657 * WebKit.vcproj/WebKitGUID.vcproj: 11658 116592010-11-16 Dave Hyatt <hyatt@apple.com> 11660 11661 Reviewed by Dan Bernstein. 11662 11663 https://bugs.webkit.org/show_bug.cgi?id=11004 11664 11665 font-size:0 is ignored. Remove the minimum font size of 1 in CSSStyleSelector. 11666 Change the pref value for minimum font size from 1 to 0. Make sure to never use the NSFont's size, 11667 since it doesn't honor a size of 0. Instead pass the size in to the FontPlatformData(NSFont*) version 11668 of the constructor rather than using [NSFont pointSize]. 11669 11670 https://bugs.webkit.org/show_bug.cgi?id=49582 11671 11672 Negative leading is not handled correctly. There are two bugs here. The first is that 11673 maxAscent and maxDescent can be negative, so we need a notion of whether or not we have 11674 set them before so that we can allow them to be < 0. 11675 11676 The second issue is that we should understand where fonts will end up relative to 11677 our baseline (excluding line height), and only allow those boxes to impact ascent and 11678 descent if the actual font box (without factoring in line height) is above or below the 11679 root line box baseline. 11680 11681 Added fast/css/negative-leading.html 11682 11683 These two bug fixes have to land together to keep the Acid 3 test rendering correctly. 11684 11685 * WebPreferences.cpp: 11686 (WebPreferences::initializeDefaultSettings): 11687 116882010-11-16 Steve Falkenburg <sfalken@apple.com> 11689 11690 Reviewed by Adam Roben. 11691 11692 Use vsprops files for common settings in Windows WebKit 11693 https://bugs.webkit.org/show_bug.cgi?id=49622 11694 11695 * WebKit.vcproj/WebKit.vcproj: 11696 * WebKit.vcproj/WebKitCommon.vsprops: Added. 11697 116982010-11-16 Steve Falkenburg <sfalken@apple.com> 11699 11700 Rubber stamped by Adam Roben. 11701 11702 Remove unnecessary def file, remove outdated def files from vcproj. 11703 11704 * WebKit.vcproj/WebKit.vcproj: 11705 * WebKit.vcproj/WebKit_debug.def: Removed. 11706 117072010-11-12 John Knottenbelt <jknotten@chromium.org> 11708 11709 Reviewed by Steve Block. 11710 11711 Rename GeolocationControllerClient to GeolocationClient. 11712 https://bugs.webkit.org/show_bug.cgi?id=49259 11713 11714 * WebCoreSupport/WebGeolocationClient.cpp: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.cpp. 11715 (WebGeolocationClient::WebGeolocationClient): 11716 (WebGeolocationClient::geolocationDestroyed): 11717 (WebGeolocationClient::startUpdating): 11718 (WebGeolocationClient::stopUpdating): 11719 (WebGeolocationClient::lastPosition): 11720 * WebCoreSupport/WebGeolocationClient.h: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.h. 11721 (WebGeolocationClient::setEnableHighAccuracy): 11722 * WebKit.vcproj/WebKit.vcproj: 11723 * WebView.cpp: 11724 (WebView::initWithFrame): 11725 117262010-11-10 Csaba Osztrogonác <ossy@webkit.org> 11727 11728 Reviewed by David Hyatt. 11729 11730 HTML5 Ruby support should be mandatory feature 11731 https://bugs.webkit.org/show_bug.cgi?id=49272 11732 11733 * WebKitPrefix.h: Touch it to avoid incremental build failure on Windows. 11734 117352010-11-08 Alexey Proskuryakov <ap@apple.com> 11736 11737 Windows build fix. 11738 11739 * WebCoreSupport/WebChromeClient.h: Added namespace prefix. 11740 117412010-11-08 Alexey Proskuryakov <ap@apple.com> 11742 11743 Reviewed by Darin Adler. 11744 11745 https://bugs.webkit.org/show_bug.cgi?id=48685 11746 Notify UI process about focused frame 11747 11748 Added an empty implementation of the new ChromeClient method. 11749 11750 * WebCoreSupport/WebChromeClient.cpp: 11751 (WebChromeClient::focusedFrameChanged): 11752 * WebCoreSupport/WebChromeClient.h: 11753 117542010-11-07 Adam Barth <abarth@webkit.org> 11755 11756 Reviewed by Eric Seidel. 11757 11758 Rename Cache to MemoryCache 11759 https://bugs.webkit.org/show_bug.cgi?id=49159 11760 11761 * WebCache.cpp: 11762 (WebCache::statistics): 11763 * WebFrame.cpp: 11764 * WebView.cpp: 11765 117662010-11-05 Chris Marrin <cmarrin@apple.com> 11767 11768 Reviewed by Simon Fraser. 11769 11770 Move resumeAnimations/suspendAnimations from Frame to AnimationController. 11771 https://bugs.webkit.org/show_bug.cgi?id=49073 11772 11773 * WebFrame.cpp: 11774 (WebFrame::suspendAnimations): 11775 (WebFrame::resumeAnimations): 11776 117772010-11-05 Brian Weinstein <bweinstein@apple.com> 11778 11779 Reviewed by Anders Carlsson. 11780 11781 Assertion failure in PluginStream::~PluginStream when running userscripts/user-script-plugin-document.html 11782 https://bugs.webkit.org/show_bug.cgi?id=48751 11783 <rdar://problem/8615536> 11784 11785 Always call committedLoad in WebFrameLoaderClient::finishedLoading, even if we have a manual loader. We were 11786 running into a case where we were trying to load an empty plugin document, which uses a manual loader, and 11787 PluginStream::didFinishLoading was never being called. The stream was never being stopped, making us fire 11788 an assert in the PluginStream destructor. 11789 11790 * WebCoreSupport/WebFrameLoaderClient.cpp: 11791 (WebFrameLoaderClient::finishedLoading): 11792 117932010-11-05 Chris Marrin <cmarrin@apple.com> 11794 11795 Reviewed by Simon Fraser. 11796 11797 Make suspendAnimations/resumeAnimations and setCSSAnimations traverse through subframes and remember state 11798 https://bugs.webkit.org/show_bug.cgi?id=46945 11799 11800 * WebFrame.cpp: 11801 (WebFrame::suspendAnimations): 11802 (WebFrame::resumeAnimations): 11803 118042010-11-05 Patrick Gansterer <paroga@webkit.org> 11805 11806 Reviewed by David Kilzer. 11807 11808 Replace ARRAYSIZE with WTF_ARRAY_LENGTH 11809 https://bugs.webkit.org/show_bug.cgi?id=48903 11810 11811 * WebCoreSupport/WebChromeClient.cpp: 11812 (WebChromeClient::exceededDatabaseQuota): 11813 * WebKitDLL.cpp: 11814 (DllGetClassObject): 11815 * WebView.cpp: 11816 (WebView::mouseWheel): 11817 118182010-11-02 Daniel Bates <dbates@rim.com> 11819 11820 Reviewed by Adam Barth. 11821 11822 For unnamed frames, window.name returns a generated name 11823 https://bugs.webkit.org/show_bug.cgi?id=6751 11824 11825 Part 1 of 2. 11826 11827 Substitute FrameTree::uniqueName() for FrameTree::name() in the Apple Windows port. 11828 11829 * WebFrame.cpp: 11830 (WebFrame::name): 11831 118322010-11-02 Brady Eidson <beidson@apple.com> 11833 11834 Reviewed by Anders Carlsson. 11835 11836 <rdar://problem/8346191> and https://bugs.webkit.org/show_bug.cgi?id=48868 11837 Implement IMutableWebRequest::setTimeoutInterval 11838 11839 * WebMutableURLRequest.cpp: 11840 (WebMutableURLRequest::setTimeoutInterval): 11841 118422010-11-02 Daniel Bates <dbates@rim.com> 11843 11844 Reviewed by Martin Robinson. 11845 11846 Set frame name before appending it to the frame tree in the Apple Windows, 11847 GTK, and EFL ports 11848 https://bugs.webkit.org/show_bug.cgi?id=48806 11849 11850 Make the frame creation process in the Apple Windows-port consistent 11851 with the Mac, Qt, and Haiku ports. In particular, set the name of 11852 the new frame before it's appended to the frame tree. 11853 11854 At this time we cannot test this change since it is being masked by 11855 HTMLFrameElementBase::setName() <http://trac.webkit.org/browser/trunk/WebCore/html/HTMLFrameElementBase.cpp?rev=70976#L160>. 11856 We'll be able to test this once we fix bug #6751. 11857 11858 * WebCoreSupport/WebFrameLoaderClient.cpp: 11859 (WebFrameLoaderClient::createFrame): 11860 118612010-11-01 Jenn Braithwaite <jennb@chromium.org> 11862 11863 Reviewed by Adam Roben. 11864 11865 Windows: Update resource tracking when moving a frame between documents 11866 https://bugs.webkit.org/show_bug.cgi?id=48364 11867 11868 * Interfaces/IWebResourceLoadDelegatePrivate2.idl:Added 11869 Added removeIdentifierForRequest. 11870 * Interfaces/WebKit.idl: 11871 Added IWebResourceLoadDelegatePrivate2.idl. 11872 * WebCoreSupport/WebFrameLoaderClient.cpp: 11873 (WebFrameLoaderClient::transferLoadingResourceFromPage): 11874 118752010-11-01 Brady Eidson <beidson@apple.com> 11876 11877 Reviewed by Anders Carlsson. 11878 11879 <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699 11880 Context menu support for WebKit 2. 11881 11882 * WebCoreSupport/WebChromeClient.h: 11883 (WebChromeClient::showContextMenu): 11884 118852010-11-01 Adam Roben <aroben@apple.com> 11886 11887 Cancel main resource loads after we hand them off to the media engine 11888 11889 This is the Windows equivalent of r51104. Clearly this code should be 11890 moved to a cross-platform location someday. 11891 11892 Fixes <http://webkit.org/b/48531> <rdar://problem/8606635> Assertion 11893 failure in DocumentLoader::commitData when loading a media document in 11894 WebKit1 on Windows 11895 11896 Reviewed by Dan Bernstein. 11897 11898 * WebCoreSupport/WebFrameLoaderClient.cpp: 11899 (WebFrameLoaderClient::committedLoad): Cancel the main resource load 11900 after handing off the load to the media engine. This code originally 11901 came from -[WebHTMLRepresentation receivedData:withDataSource:]. 11902 11903 * WebFrame.cpp: 11904 (WebFrame::shouldFallBack): Don't fall back when handing the resource 11905 load off to the media engine or a plugin. Added error domain checking 11906 so that we don't rely on error codes being unique. 11907 119082010-10-29 Daniel Bates <dbates@rim.com> 11909 11910 No review, rolling out 70971. 11911 http://trac.webkit.org/changeset/70971 11912 https://bugs.webkit.org/show_bug.cgi?id=6751 11913 11914 Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since 11915 it caused layout test failures on all bots. In particular, the 11916 child count in a generated frame name differs after this patch. We need 11917 to look into this further. 11918 11919 * WebFrame.cpp: 11920 (WebFrame::name): 11921 119222010-10-28 Antonio Gomes <agomes@rim.com> 11923 11924 Reviewed by Ojan Vafai. 11925 11926 Needs a "LinuxEditingBehavior", perhaps with a better name 11927 https://bugs.webkit.org/show_bug.cgi?id=36627 11928 11929 Added the corresponding GTK+ setting to WebCore's EditingUnixBehavior: WebKitEditingUnixBehavior. 11930 11931 * Interfaces/IWebPreferences.idl: 11932 119332010-10-29 Daniel Bates <dbates@rim.com> 11934 11935 Reviewed by Adam Barth. 11936 11937 For unnamed frames, window.name returns a generated name 11938 https://bugs.webkit.org/show_bug.cgi?id=6751 11939 11940 Modified Apple Windows-port to use FrameTree::uniqueName(). 11941 11942 * WebFrame.cpp: 11943 (WebFrame::name): 11944 119452010-10-29 Darin Adler <darin@apple.com> 11946 11947 Reviewed by Sam Weinig. 11948 11949 Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring 11950 https://bugs.webkit.org/show_bug.cgi?id=48574 11951 11952 * WebBackForwardList.cpp: 11953 (backForwardListWrappers): 11954 (WebBackForwardList::WebBackForwardList): 11955 (WebBackForwardList::createInstance): 11956 * WebBackForwardList.h: 11957 * WebView.cpp: 11958 (WebView::backForwardList): 11959 Use BackForwardListImpl. 11960 119612010-10-29 Adam Roben <aroben@apple.com> 11962 11963 Windows build fix 11964 11965 * WebKitPrefix.h: Touched to force a rebuild. 11966 119672010-10-29 Alexey Proskuryakov <ap@apple.com> 11968 11969 Reviewed by Darin Adler. 11970 11971 https://bugs.webkit.org/show_bug.cgi?id=48576 11972 Let WebKit2 client know when a frame is a frameset 11973 11974 Added a blank implementation of the new FrameLoaderClient method. 11975 11976 * WebCoreSupport/WebFrameLoaderClient.h: 11977 * WebCoreSupport/WebFrameLoaderClient.cpp: 11978 (WebFrameLoaderClient::dispatchDidBecomeFrameset): 11979 119802010-10-26 Brent Fulgham <bfulgham@webkit.org> 11981 11982 Unreviewed build fix. 11983 11984 * WebView.cpp: Conditionalize includes for CFNetwork-specific 11985 Cookie implementation. 11986 * WebView.h: Conditionalize includes for ACCELERATED_COMPOSITION. 11987 WinCairo doesn't use CoreAnimation. 11988 119892010-10-26 Jenn Braithwaite <jennb@chromium.org> 11990 11991 Reviewed by Dmitry Titov. 11992 11993 Resource tracking failure when trying to move a frame between documents 11994 https://bugs.webkit.org/show_bug.cgi?id=44713 11995 11996 * WebCoreSupport/WebFrameLoaderClient.cpp: 11997 (WebFrameLoaderClient::transferLoadingResourceFromPage): 11998 Empty method. 11999 * WebCoreSupport/WebFrameLoaderClient.h: 12000 120012010-10-25 Patrick Gansterer <paroga@webkit.org> 12002 12003 Reviewed by David Kilzer. 12004 12005 Replace _countof with WTF_ARRAY_LENGTH 12006 https://bugs.webkit.org/show_bug.cgi?id=48229 12007 12008 * WebCoreSupport/WebContextMenuClient.cpp: 12009 (isPreInspectElementTagSafari): 12010 * WebView.cpp: 12011 (WebView::interpretKeyEvent): 12012 120132010-10-24 Dan Bernstein <mitz@apple.com> 12014 12015 Build fix. 12016 12017 * Interfaces/WebKit.idl: Touched. 12018 120192010-10-24 Dan Bernstein <mitz@apple.com> 12020 12021 Reviewed by Anders Carlsson. 12022 12023 Expose HitTestResult::absoluteMediaURL() via WebKit API 12024 https://bugs.webkit.org/show_bug.cgi?id=48219 12025 12026 * Interfaces/IWebView.idl: Added WebElementMediaURLKey. 12027 * WebElementPropertyBag.cpp: 12028 (WebElementPropertyBag::Read): Map WebElementMediaURLKey to absoluteMediaURL(). 12029 120302010-10-22 Andy Estes <aestes@apple.com> 12031 12032 Fix the Windows build. 12033 12034 * WebCookieManagerCFNet.cpp: Rename CookieStorageWin.h to CookieStorageCFNet.h. 12035 * WebView.cpp: Ditto. 12036 120372010-10-22 Jenn Braithwaite <jennb@chromium.org> 12038 12039 Reviewed by Adam Roben. 12040 12041 Windows client needs updating when live iframe element is moved between pages 12042 https://bugs.webkit.org/show_bug.cgi?id=46915 12043 12044 * WebCoreSupport/WebFrameLoaderClient.cpp: 12045 (WebFrameLoaderClient::didTransferChildFrameToNewDocument): 12046 Update WebView in WebFrame to match that of the current page. 12047 * WebFrame.cpp: 12048 (WebFrame::setWebView): 12049 Added. 12050 * WebFrame.h: 12051 120522010-10-22 Sam Weinig <sam@webkit.org> 12053 12054 Fix windows build. 12055 12056 * WebCoreSupport/WebChromeClient.h: 12057 120582010-10-22 Sam Weinig <sam@webkit.org> 12059 12060 Reviewed by Anders Carlsson. 12061 12062 WebKit2 needs to pass the current event modifier flags when requesting a new window 12063 https://bugs.webkit.org/show_bug.cgi?id=48140 12064 12065 * WebCoreSupport/WebChromeClient.cpp: 12066 (WebChromeClient::createWindow): 12067 * WebCoreSupport/WebFrameLoaderClient.cpp: 12068 (WebFrameLoaderClient::dispatchCreatePage): 12069 * WebCoreSupport/WebFrameLoaderClient.h: 12070 Add NavigationAction parameter. 12071 120722010-10-21 MORITA Hajime <morrita@google.com> 12073 12074 Unreviewed, touched it to fix the build. 12075 12076 * Interfaces/WebKit.idl: 12077 120782010-10-21 MORITA Hajime <morrita@google.com> 12079 12080 Reviewed by Kent Tamura. 12081 12082 [Win][DRT] should have LayoutTestController.hasSpellingMarker() 12083 https://bugs.webkit.org/show_bug.cgi?id=47885 12084 12085 Added IWebFramePrivate::hasSpellingMarker() and impelmented it for 12086 LayoutTestController. 12087 12088 * Interfaces/IWebFramePrivate.idl: 12089 * WebFrame.cpp: 12090 (WebFrame::hasSpellingMarker): 12091 * WebFrame.h: 12092 120932010-10-20 Dumitru Daniliuc <dumi@chromium.org> 12094 12095 Reviewed by David Levin. 12096 12097 Repost the DatabaseTracker notifications to the main thread, if needed. 12098 https://bugs.webkit.org/show_bug.cgi?id=40655 12099 12100 * WebDatabaseManager.cpp: 12101 (DidModifyOriginData::dispatchToMainThread): 12102 (DidModifyOriginData::DidModifyOriginData): 12103 (DidModifyOriginData::dispatchDidModifyOriginOnMainThread): 12104 (WebDatabaseManager::dispatchDidModifyOrigin): 12105 (WebDatabaseManager::dispatchDidModifyDatabase): 12106 121072010-10-20 Dirk Schulze <krit@webkit.org> 12108 12109 Reviewed by Nikolas Zimmermann. 12110 12111 Merge ColorSpace and ImageColorSpace enums 12112 https://bugs.webkit.org/show_bug.cgi?id=47922 12113 12114 Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB 12115 to follow webkit style rules. 12116 12117 * FullscreenVideoController.cpp: 12118 (HUDButton::draw): 12119 (HUDSlider::draw): 12120 (FullscreenVideoController::draw): 12121 * WebCoreSupport/WebDragClient.cpp: 12122 (WebDragClient::createDragImageForLink): 12123 * WebKitGraphics.cpp: 12124 (WebDrawText): 12125 121262010-10-18 Pavel Podivilov <podivilov@chromium.org> 12127 12128 Reviewed by Timothy Hatcher. 12129 12130 Web Inspector: disable private browsing for inspector 12131 https://bugs.webkit.org/show_bug.cgi?id=47827 12132 12133 * WebCoreSupport/WebInspectorClient.cpp: 12134 (WebInspectorClient::openInspectorFrontend): 12135 121362010-10-17 Adam Barth <abarth@webkit.org> 12137 12138 Reviewed by Dimitri Glazkov. 12139 12140 FrameLoader doesn't need an explicit userGesture parameter 12141 https://bugs.webkit.org/show_bug.cgi?id=47777 12142 12143 Update for the new API. 12144 12145 * WebCoreSupport/WebContextMenuClient.cpp: 12146 (WebContextMenuClient::searchWithGoogle): 12147 121482010-10-15 Brian Weinstein <bweinstein@apple.com> 12149 12150 Reviewed by Sam Weinig. 12151 12152 REGRESSION(r69850) Loading apple.com/startpage in WebKit on Windows gets a bad request. 12153 https://bugs.webkit.org/show_bug.cgi?id=47753 12154 <rdar://problem/8558242> 12155 12156 VerQueryValue returns a null terminated string, but we need to strip off the null terminating character 12157 when we turn it into a WebCore string, or else concatenation using this string will break. 12158 12159 * WebView.cpp: 12160 121612010-10-15 Jessie Berlin <jberlin@apple.com> 12162 12163 Windows build fix. Unreviewed. 12164 12165 * WebCoreSupport/WebInspectorClient.cpp: 12166 Add a missing include. 12167 121682010-10-15 Nikolas Zimmermann <nzimmermann@rim.com> 12169 12170 Reviewed by Dirk Schulze. 12171 12172 Replace some String::format() usages by StringConcatenate in WebKit 12173 https://bugs.webkit.org/show_bug.cgi?id=47714 12174 12175 * WebCoreSupport/WebInspectorClient.cpp: 12176 (WebInspectorFrontendClient::updateWindowTitle): 12177 * WebView.cpp: 12178 (WebView::standardUserAgentWithApplicationName): 12179 (osVersion): 12180 121812010-10-14 Ilya Tikhonovsky <loislo@chromium.org> 12182 12183 Reviewed by Pavel Feldman. 12184 12185 Web Inspector: inspector settings/properties/states management 12186 should be extracted into separate class. 12187 12188 We have a lot of flags/values in InspectorController. 12189 Some flags are persisting into profile. 12190 Others are part of inspector state for frontend. 12191 All these flags should keep their values after navigation. 12192 It'd be better to extract these flags/values into separate 12193 class which will care about theirs lifetime. 12194 12195 https://bugs.webkit.org/show_bug.cgi?id=47275 12196 12197 * WebCoreSupport/WebInspectorClient.cpp: 12198 (WebInspectorFrontendClient::attachWindow): 12199 (WebInspectorFrontendClient::detachWindow): 12200 (WebInspectorFrontendClient::showWindowWithoutNotifications): 12201 122022010-10-13 Gavin Barraclough <barraclough@apple.com> 12203 12204 Reviewed by Oliver Hunt. 12205 12206 https://bugs.webkit.org/show_bug.cgi?id=43987 12207 Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder 12208 to construct their internal result string. Remove ScriptString (this is now 12209 redundant). 12210 12211 * WebCoreSupport/WebFrameLoaderClient.cpp: 12212 122132010-10-12 Adam Roben <aroben@apple.com> 12214 12215 Build TestWebKitAPI on Windows 12216 12217 Fixes <http://webkit.org/b/47552> <rdar://problem/8541708> Make 12218 TestWebKitAPI work on Windows 12219 12220 Reviewed by Sam Weinig. 12221 12222 * WebKit.vcproj/WebKit.sln: Added TestWebKitAPI and 12223 TestWebKitAPIGenerated and made them build just after 12224 WebKitTestRunner. 12225 122262010-10-11 Shinichiro Hamaji <hamaji@chromium.org> 12227 12228 Attempt to fix windows build failure. 12229 12230 Remove WebIconFetcher from WebKit and IconFetcher from WebCore 12231 https://bugs.webkit.org/show_bug.cgi?id=47523 12232 12233 * Interfaces/IWebFramePrivate.idl: s/unused1/unused2/ 12234 * Interfaces/WebKit.idl: Touched. 12235 * WebFrame.cpp: s/unused1/unused2/ 12236 (WebFrame::unused2): 12237 * WebFrame.h: s/unused1/unused2/ 12238 122392010-10-11 Anders Carlsson <andersca@apple.com> 12240 12241 Reviewed by Darin Adler. 12242 12243 Remove WebIconFetcher from WebKit and IconFetcher from WebCore 12244 https://bugs.webkit.org/show_bug.cgi?id=47523 12245 12246 Remove all traces of the WebKit WebIconFetcher class. It's SPI that nobody uses. 12247 12248 * Interfaces/IWebFramePrivate.idl: 12249 * Interfaces/IWebIconFetcher.idl: Removed. 12250 * Interfaces/WebKit.idl: 12251 * WebFrame.cpp: 12252 (WebFrame::unused1): 12253 * WebFrame.h: 12254 * WebIconFetcher.cpp: Removed. 12255 * WebIconFetcher.h: Removed. 12256 * WebKit.vcproj/Interfaces.vcproj: 12257 * WebKit.vcproj/WebKit.vcproj: 12258 122592010-10-11 Jessie Berlin <jberlin@apple.com> 12260 12261 Reviewed by Darin Adler. 12262 12263 Add Private API for creating a WebKit2 WebSerializedScriptValue from the internal 12264 representation of a WebKit1 WebSerializedJSValue. 12265 https://bugs.webkit.org/show_bug.cgi?id=47439 12266 12267 * Interfaces/IWebSerializedJSValuePrivate.idl: 12268 Because it is taking a void** parameter, getInternalRepresentation must be declared [local]. 12269 12270 * WebSerializedJSValue.cpp: 12271 (WebSerializedJSValue::getInternalRepresentation): 12272 * WebSerializedJSValue.h: 12273 122742010-10-07 Jessie Berlin <jberlin@apple.com> 12275 12276 Reviewed by Sam Weinig. 12277 12278 Add Private API for creating a WebKit1 WebSerializedJSValue from the internal 12279 representation of a WebKit2 WebSerializedScriptValue. 12280 https://bugs.webkit.org/show_bug.cgi?id=47390 12281 12282 * Interfaces/WebKit.idl: 12283 Generate IWebSerializedJSValuePrivate. 12284 12285 * Interfaces/IWebSerializedJSValuePrivate.idl: Added. 12286 Because it is taking a void* parameter, setInternalRepresentation must be declared [local]. 12287 12288 * WebKit.vcproj/Interfaces.vcproj: 12289 Add IWebSerializedJSValue.idl and IWebSerializedJSValuePrivate.idl. 12290 12291 * WebSerializedJSValue.cpp: 12292 (WebSerializedJSValue::QueryInterface): 12293 Since there are now two interfaces that inherit from IUnknown, do not try to cast to 12294 IUnknown* anymore. Cast to IWebSerializedJSValue* instead. 12295 (WebSerializedJSValue::setInternalRepresentation): 12296 Only set the internal representation if it hasn't already been set. 12297 * WebSerializedJSValue.h: 12298 122992010-10-04 Jon Honeycutt <jhoneycutt@apple.com> 12300 12301 Prevent an assertion failure when trying to create a protection space 12302 for file/data URLs. 12303 12304 Reviewed by Sam Weinig. 12305 12306 * WebURLProtectionSpace.cpp: 12307 (WebURLProtectionSpace::initWithHost): 12308 Remove the ASSERT_NOT_REACHED(). 12309 123102010-10-05 Brent Fulgham <bfulgham@webkit.org> 12311 12312 Unreviewed build correction. 12313 12314 * WebKit.vcproj/WebKit.sln: Turn the QTMovieWin project 12315 off for WinCairo release builds. Somehow this was 12316 incorrectly turned on. 12317 123182010-10-01 Mark Rowe <mrowe@apple.com> 12319 12320 Build fix. 12321 12322 Clear the executable bit from a number of source files. 12323 12324 * WebView.cpp: 12325 * WebView.h: 12326 123272010-09-30 Darin Adler <darin@apple.com> 12328 12329 Reviewed by Sam Weinig. 12330 12331 Remove remaining calls to deprecatedParseURL 12332 https://bugs.webkit.org/show_bug.cgi?id=26599 12333 12334 * WebCoreSupport/WebFrameLoaderClient.cpp: 12335 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): 12336 Call stripLeadingAndTrailingHTMLSpaces instead of deprecatedParseURL. 12337 123382010-09-28 Jenn Braithwaite <jennb@chromium.org> 12339 12340 Reviewed by Dmitry Titov. 12341 12342 Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument. 12343 https://bugs.webkit.org/show_bug.cgi?id=46663 12344 12345 * WebCoreSupport/WebFrameLoaderClient.cpp: 12346 (WebFrameLoaderClient::didTransferChildFrameToNewDocument): 12347 * WebCoreSupport/WebFrameLoaderClient.h: 12348 123492010-09-27 Andrey Kosyakov <caseq@chromium.org> 12350 12351 Unreviewed build fix (win; broken in r68371) 12352 12353 * WebFrame.cpp: remove include <WebCore/ResourceHandleWin.h> 12354 123552010-09-23 Matthew Delaney <mdelaney@apple.com> 12356 12357 Reviewed by Simon Fraser. 12358 12359 Reduce minimum DOMTimer interval 12360 https://bugs.webkit.org/show_bug.cgi?id=45362 12361 12362 * WebView.cpp: 12363 Updating set interval call to use Settings' static version inside 12364 one time init block. 12365 123662010-09-23 Nate Chapin <japhet@chromium.org> 12367 12368 Unreviewed, build fix. 12369 12370 Move hyperlinkAuditingEnabled to IWebPreferencesPrivate.idl 12371 and touch WebKit.idl 12372 12373 * Interfaces/IWebPreferences.idl: 12374 * Interfaces/IWebPreferencesPrivate.idl: 12375 * Interfaces/WebKit.idl: 12376 * WebView.cpp: 12377 (WebView::notifyPreferencesChanged): 12378 123792010-09-23 Nate Chapin <japhet@chromium.org> 12380 12381 Unreviewed, build fix. 12382 12383 Look for hyperlinkAuditingEnabled in the right set of preferences. 12384 12385 * WebView.cpp: 12386 (WebView::notifyPreferencesChanged): 12387 123882010-09-23 Nate Chapin <japhet@chromium.org> 12389 12390 Reviewed by Darin Fisher. 12391 12392 Add hyperlink auditing settings (i.e., <a ping>). 12393 https://bugs.webkit.org/show_bug.cgi?id=30458 12394 12395 * Interfaces/IWebPreferences.idl: 12396 * WebPreferenceKeysPrivate.h: 12397 * WebPreferences.cpp: 12398 (WebPreferences::initializeDefaultSettings): 12399 (WebPreferences::hyperlinkAuditingEnabled): 12400 (WebPreferences::setHyperlinkAuditingEnabled): 12401 * WebPreferences.h: 12402 * WebView.cpp: 12403 (WebView::notifyPreferencesChanged): 12404 124052010-09-23 Matthew Delaney <mdelaney@apple.com> 12406 12407 Reviewed by Adam Roben. 12408 12409 Create one time initialization block for WebView's initWithFrame 12410 https://bugs.webkit.org/show_bug.cgi?id=46307 12411 12412 * WebView.cpp: Added one time initialization block for webview code 12413 that needs only be run once and not for each webview. This is just as 12414 the mac version WebView.mm does. 12415 124162010-09-22 Brent Fulgham <bfulgham@webkit.org> 12417 12418 Reviewed by Martin Robinson. 12419 12420 [WinCairo] Part 2: Update WebKitTestRunner and DumpRenderTree Build. 12421 https://bugs.webkit.org/show_bug.cgi?id=46303. 12422 12423 * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and 12424 Release_Cairo configurations to select appropriate build 12425 targets for WebKitTestRunner and MiniBrowser. 12426 124272010-09-22 Brent Fulgham <bfulgham@webkit.org> 12428 12429 Reviewed by Martin Robinson. 12430 12431 [WinCairo] Update WebKitTestRunner and DumpRenderTree Build.rt 12432 https://bugs.webkit.org/show_bug.cgi?id=46303. 12433 12434 * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and 12435 Release_Cairo configurations to select appropriate build 12436 targets for InjectionBundle. 12437 124382010-09-22 Balazs Kelemen <kb@inf.u-szeged.hu> 12439 12440 Reviewed by Kenneth Rohde Christiansen. 12441 12442 PluginStrategy should satisfy the needs of Qt 12443 https://bugs.webkit.org/show_bug.cgi?id=45857 12444 No new functionality so no new tests. 12445 12446 * WebCoreSupport/WebPlatformStrategies.cpp: 12447 (WebPlatformStrategies::getPluginInfo): 12448 * WebCoreSupport/WebPlatformStrategies.h: 12449 124502010-09-20 Philippe Normand <pnormand@igalia.com> 12451 12452 Reviewed by Eric Carlson. 12453 12454 [GTK] enhanced context menu for media elements 12455 https://bugs.webkit.org/show_bug.cgi?id=45021 12456 12457 New localized strings for the media element context-menu. 12458 12459 * WebCoreSupport/WebPlatformStrategies.cpp: 12460 (WebPlatformStrategies::contextMenuItemTagOpenVideoInNewWindow): 12461 (WebPlatformStrategies::contextMenuItemTagOpenAudioInNewWindow): 12462 (WebPlatformStrategies::contextMenuItemTagCopyVideoLinkToClipboard): 12463 (WebPlatformStrategies::contextMenuItemTagCopyAudioLinkToClipboard): 12464 (WebPlatformStrategies::contextMenuItemTagToggleMediaControls): 12465 (WebPlatformStrategies::contextMenuItemTagToggleMediaLoop): 12466 (WebPlatformStrategies::contextMenuItemTagEnterVideoFullscreen): 12467 (WebPlatformStrategies::contextMenuItemTagMediaPlay): 12468 (WebPlatformStrategies::contextMenuItemTagMediaPause): 12469 (WebPlatformStrategies::contextMenuItemTagMediaMute): 12470 * WebCoreSupport/WebPlatformStrategies.h: 12471 124722010-09-17 Darin Adler <darin@apple.com> 12473 12474 Reviewed by Sam Weinig. 12475 12476 REGRESSION (r60104): Zoom level is unexpectedly reset on page reload 12477 https://bugs.webkit.org/show_bug.cgi?id=42863 12478 12479 * WebView.cpp: 12480 (WebView::setZoomMultiplier): 12481 Call functions on Frame instead of FrameView. 12482 124832010-09-17 Matthew Delaney <mdelaney@apple.com> 12484 12485 Reviewed by Simon Fraser. 12486 12487 Reduce minimum DOMTimer interval 12488 https://bugs.webkit.org/show_bug.cgi?id=45362 12489 12490 * WebView.cpp: Added in a call to set the mimimum allowed DOMTimer to 4ms. 12491 124922010-09-17 Simon Fraser <simon.fraser@apple.com> 12493 12494 Reviewed by Chris Marrin. 12495 12496 Remove scroll and clip layers for WKCACFLayerRenderer 12497 https://bugs.webkit.org/show_bug.cgi?id=45922 12498 12499 WKCACFLayerRenderer no longer needs its own layers for managing scrolling 12500 and clipping, because RenderLayerCompositor provides this functionality. 12501 12502 * WebView.cpp: 12503 (WebView::sizeChanged): Moved code that handles the WM_SIZE message 12504 into this method. Use it to resize the layer renderer. 12505 (WebView::WebViewWndProc): Call sizeChanged(). 12506 (WebView::updateRootLayerContents): No need to call setScrollFrame() any more. 12507 (WebView::layerRendererBecameVisible): Move this from the header (no need to be inline). 12508 * WebView.h: 12509 125102010-09-16 Darin Adler <darin@apple.com> 12511 12512 Reviewed by Andreas Kling. 12513 12514 Reduce use of HTMLInputElement::inputType so we can remove it later 12515 https://bugs.webkit.org/show_bug.cgi?id=45903 12516 12517 * WebFrame.cpp: 12518 (WebFrame::elementDoesAutoComplete): Use isPasswordField. 12519 (WebFrame::elementIsPassword): Use isPasswordField. 12520 125212010-09-14 Ada Chan <adachan@apple.com> 12522 12523 Reviewed by Adam Roben. 12524 12525 Add an IWebFramePrivate API to load string as plain text into the WebFrame. 12526 https://bugs.webkit.org/show_bug.cgi?id=45782 12527 12528 * Interfaces/IWebFramePrivate.idl: 12529 * Interfaces/WebKit.idl: Touch the file. 12530 * WebFrame.cpp: 12531 (WebFrame::loadPlainTextString): 12532 * WebFrame.h: 12533 125342010-09-13 Enrica Casucci <enrica@apple.com> 12535 12536 Reviewed by Sam Weinig. 12537 12538 Paste should be implemented in WebCore like Copy and Cut for Mac also. 12539 https://bugs.webkit.org/show_bug.cgi?id=45494 12540 <rdar://problem/7660537> 12541 12542 On the Mac platform, the implementation of the paste operation is all done 12543 at the WebKit level. In order to support it on WebKit2 it is necessary to 12544 refactor the code and move this functionality at the level of WebCore like 12545 we already have on Windows. 12546 The original code relies on some in AppKit functions that call back into 12547 WebKit causing problems in WebKit2. All this functionality has been moved 12548 at the level of the editor client where it can be dealt with appropriately. 12549 12550 * WebFrame.cpp: 12551 (WebFrame::canShowMIMETypeASHTML): Added. 12552 125532010-09-11 Adam Barth <abarth@webkit.org> 12554 12555 Reviewed by Sam Weinig. 12556 12557 Make SecurityOrigin::canDisplay an instance function 12558 https://bugs.webkit.org/show_bug.cgi?id=45219 12559 12560 * WebFrame.cpp: 12561 (WebFrame::allowsFollowingLink): 12562 125632010-09-10 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> 12564 12565 Reviewed by Darin Adler. 12566 12567 Add NetworkingContext to avoid layer violations 12568 https://bugs.webkit.org/show_bug.cgi?id=42292 12569 12570 * WebCoreSupport/WebFrameNetworkingContext.cpp: 12571 (WebFrameNetworkingContext::blockedError): 12572 * WebCoreSupport/WebFrameNetworkingContext.h: 12573 125742010-09-10 Jer Noble <jer.noble@apple.com> 12575 12576 Reviewed by Simon Fraser. 12577 12578 Movies with track or movie matrices don't display in <video> elements (Safari 5/Windows) 12579 https://bugs.webkit.org/show_bug.cgi?id=45333 12580 12581 The rootChild layer must be set as flipped, otherwise transformed movies will appear 12582 incorrectly rotated. 12583 12584 * FullscreenVideoController.cpp: 12585 (FullscreenVideoController::enterFullscreen): 12586 125872010-09-10 Sam Weinig <sam@webkit.org> 12588 12589 Reviewed by Darin Adler. 12590 12591 Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom. 12592 Precursor to <rdar://problem/7660657> 12593 https://bugs.webkit.org/show_bug.cgi?id=45522 12594 12595 * WebFrame.cpp: 12596 * WebFrame.h: 12597 Remove dead code. 12598 12599 * WebView.cpp: 12600 (WebView::WebView): 12601 (WebView::setZoomMultiplier): 12602 (WebView::zoomMultiplier): 12603 (WebView::canMakeTextLarger): 12604 (WebView::makeTextLarger): 12605 (WebView::canMakeTextSmaller): 12606 (WebView::makeTextSmaller): 12607 (WebView::notifyPreferencesChanged): 12608 * WebView.h: 12609 Move tracking of text only zoom here from WebCore. 12610 126112010-09-10 Brian Weinstein <bweinstein@apple.com> 12612 12613 Windows Build Fix. Fix some fallout from r67238, currentForm is now off of 12614 SelectionController instead of frame. Also fix a style issue. 12615 12616 * WebFrame.cpp: 12617 (WebFrame::currentForm): 12618 126192010-09-10 Adam Barth <abarth@webkit.org> 12620 12621 Reviewed by Darin Fisher. 12622 12623 Move code from WebKit-layer to DocumentLoader 12624 https://bugs.webkit.org/show_bug.cgi?id=45569 12625 12626 * WebCoreSupport/WebFrameLoaderClient.cpp: 12627 (WebFrameLoaderClient::committedLoad): 12628 * WebCoreSupport/WebFrameLoaderClient.h: 12629 126302010-09-09 Darin Adler <darin@apple.com> 12631 12632 Reviewed by Adam Barth. 12633 12634 Move functions from Frame to SelectionController as planned 12635 https://bugs.webkit.org/show_bug.cgi?id=45508 12636 12637 * WebView.cpp: 12638 (WebView::selectionRect): 12639 (WebView::centerSelectionInVisibleArea): 12640 Call functions on selection(). 12641 126422010-09-10 Adam Barth <abarth@webkit.org> 12643 12644 Reviewed by Eric Seidel. 12645 12646 Main resource bytes shouldn't bounce through FrameLoader 12647 https://bugs.webkit.org/show_bug.cgi?id=45496 12648 12649 Now return the bytes to the DocumentLoader. 12650 12651 * WebCoreSupport/WebFrameLoaderClient.cpp: 12652 (WebFrameLoaderClient::receivedData): 12653 126542010-09-09 Simon Fraser <simon.fraser@apple.com> 12655 12656 Reviewed by Adam Roben. 12657 12658 Scrollbars fail to render in composited iframes. 12659 https://bugs.webkit.org/show_bug.cgi?id=45335 12660 12661 Use LocalWindowsContext when painting scrollbars. 12662 12663 * WebCoreSupport/WebChromeClient.cpp: 12664 (WebChromeClient::paintCustomScrollbar): 12665 (WebChromeClient::paintCustomScrollCorner): 12666 126672010-09-08 Darin Adler <darin@apple.com> 12668 12669 Reviewed by Adam Barth. 12670 12671 Move functions from Frame to Editor as planned 12672 https://bugs.webkit.org/show_bug.cgi?id=45218 12673 12674 * WebCoreSupport/WebContextMenuClient.cpp: 12675 (WebContextMenuClient::searchWithGoogle): 12676 * WebFrame.cpp: 12677 (WebFrame::selectedString): 12678 * WebView.cpp: 12679 (WebView::selectedText): 12680 (WebView::prepareCandidateWindow): 12681 (WebView::onIMERequestCharPosition): 12682 Changed call sites to use editor(). 12683 126842010-09-08 Peter Kasting <pkasting@google.com> 12685 12686 Not reviewed, build fix. 12687 12688 * WebScrollBar.cpp: 12689 (WebScrollBar::setScrollOffsetFromAnimation): 12690 126912010-09-08 Peter Kasting <pkasting@google.com> 12692 12693 Not reviewed, build fix. 12694 12695 * WebScrollBar.cpp: 12696 (WebScrollBar::scrollSize): 12697 (WebScrollBar::setScrollOffsetFromAnimation): 12698 126992010-09-08 Peter Kasting <pkasting@google.com> 12700 12701 Not reviewed, build fix. 12702 12703 * WebScrollBar.cpp: 12704 (WebScrollBar::setValue): 12705 (WebScrollBar::scrollSize): 12706 (WebScrollBar::setScrollOffsetFromAnimation): 12707 * WebScrollBar.h: 12708 127092010-09-08 Adam Barth <abarth@webkit.org> 12710 12711 Attempted Window build fix. 12712 12713 * WebDataSource.cpp: 12714 (WebDataSource::subresourceForURL): 12715 127162010-09-08 Adam Barth <abarth@webkit.org> 12717 12718 Rubber-stamped by Eric Seidel. 12719 12720 Rename DocLoader to CachedResourceLoader because that's what it does. 12721 12722 * WebDataSource.cpp: 12723 127242010-09-07 Brent Fulgham <bfulgham@webkit.org> 12725 12726 Reviewed by Adam Roben. 12727 12728 Clean up a potential resource leak. 12729 https://bugs.webkit.org/show_bug.cgi?id=45198 12730 12731 Several bitmap device context were being created and used, 12732 and destroyed without returning the context to its original 12733 state. This showed up as bitmap leaks in BoundsChecker. 12734 12735 * FullscreenVideoController.cpp: 12736 * WebView.cpp: 12737 (WebView::scrollBackingStore): 12738 (WebView::paint): 12739 127402010-09-06 Adam Barth <abarth@webkit.org> 12741 12742 Reviewed by Darin Adler. 12743 12744 Rename SecurityOrigin::canLoad to canDisplay 12745 https://bugs.webkit.org/show_bug.cgi?id=45214 12746 12747 Propagate name change. 12748 12749 * WebFrame.cpp: 12750 (WebFrame::allowsFollowingLink): 12751 127522010-09-03 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> 12753 12754 Reviewed by Darin Adler. 12755 12756 Add NetworkingContext to avoid layer violations 12757 https://bugs.webkit.org/show_bug.cgi?id=42292 12758 12759 Add Win's specific implementation of NetworkingContext. 12760 12761 * WebCoreSupport/WebFrameNetworkingContext.cpp: 12762 (WebFrameNetworkingContext::create): 12763 (WebFrameNetworkingContext::userAgent): 12764 (WebFrameNetworkingContext::referrer): 12765 * WebFrame.cpp: 12766 (WebFrame::createNetworkingContext): 12767 * WebFrame.h: 12768 127692010-09-03 Adam Roben <aroben@apple.com> 12770 12771 Attempt to fixing Windows nightlies again 12772 12773 The fix in r66438 should be sufficient, but we have to touch 12774 WebKit.idl to force that change to be picked up by the build. 12775 12776 * Interfaces/WebKit.idl: Touched this file to force a build. 12777 127782010-09-02 Yury Semikhatsky <yurys@chromium.org> 12779 12780 Reviewed by PavelFeldman. 12781 12782 REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector 12783 https://bugs.webkit.org/show_bug.cgi?id=44230 12784 12785 * WebCoreSupport/WebInspectorClient.cpp: 12786 (WebInspectorFrontendClient::~WebInspectorFrontendClient): 12787 (WebInspectorFrontendClient::closeWindow): 12788 (WebInspectorFrontendClient::disconnectFromBackend): 12789 (WebInspectorFrontendClient::closeWindowWithoutNotifications): 12790 (WebInspectorFrontendClient::destroyInspectorView): 12791 * WebCoreSupport/WebInspectorClient.h: 12792 127932010-09-01 Jessie Berlin <jberlin@apple.com> 12794 12795 Reviewed by Adam Roben. 12796 12797 WebViews should allow their parent windows to handle WM_MOUSEACTIVATE messages. 12798 https://bugs.webkit.org/show_bug.cgi?id=45047 12799 12800 * WebView.cpp: 12801 (WebView::WebViewWndProc): 12802 128032010-08-31 Dave Hyatt <hyatt@apple.com> 12804 12805 Reviewed by Sam Weinig. 12806 12807 https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that 12808 the former can occur in more places without having to do the latter. 12809 12810 * WebFrame.cpp: 12811 (WebFrame::paintDocumentRectToContext): 12812 * WebView.cpp: 12813 (WebView::updateBackingStore): 12814 128152010-08-30 Adam Roben <aroben@apple.com> 12816 12817 Fix crash on launch on Windows due to changing IWebFramePrivate's 12818 vtable 12819 12820 This regressed in r65107. 12821 12822 Fixes <http://webkit.org/b/44755>. 12823 12824 Rubber-stamped by Jon Honeycutt. 12825 12826 * Interfaces/IWebFramePrivate.idl: Moved suspendAnimations and 12827 resumeAnimations to the end of the interface so that the vtable will 12828 match what Safari expects. 12829 128302010-08-30 Sheriff Bot <webkit.review.bot@gmail.com> 12831 12832 Unreviewed, rolling out r66198. 12833 http://trac.webkit.org/changeset/66198 12834 https://bugs.webkit.org/show_bug.cgi?id=44856 12835 12836 It made tests crash on Qt bot (Requested by Ossy_ on #webkit). 12837 12838 * WebCoreSupport/WebInspectorClient.cpp: 12839 (WebInspectorFrontendClient::~WebInspectorFrontendClient): 12840 (WebInspectorFrontendClient::closeWindow): 12841 (WebInspectorFrontendClient::closeWindowWithoutNotifications): 12842 (WebInspectorFrontendClient::destroyInspectorView): 12843 * WebCoreSupport/WebInspectorClient.h: 12844 128452010-08-27 Yury Semikhatsky <yurys@chromium.org> 12846 12847 Reviewed by Pavel Feldman. 12848 12849 REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector 12850 https://bugs.webkit.org/show_bug.cgi?id=44230 12851 12852 * WebCoreSupport/WebInspectorClient.cpp: 12853 (WebInspectorFrontendClient::~WebInspectorFrontendClient): 12854 (WebInspectorFrontendClient::closeWindow): 12855 (WebInspectorFrontendClient::disconnectFromBackend): 12856 (WebInspectorFrontendClient::closeWindowWithoutNotifications): 12857 (WebInspectorFrontendClient::destroyInspectorView): 12858 * WebCoreSupport/WebInspectorClient.h: 12859 128602010-08-26 Yury Semikhatsky <yurys@chromium.org> 12861 12862 Unreviewed. Revert r66103 since Qt tests are failing. 12863 12864 * WebCoreSupport/WebInspectorClient.cpp: 12865 (WebInspectorFrontendClient::~WebInspectorFrontendClient): 12866 (WebInspectorFrontendClient::closeWindow): 12867 (WebInspectorFrontendClient::closeWindowWithoutNotifications): 12868 (WebInspectorFrontendClient::destroyInspectorView): 12869 * WebCoreSupport/WebInspectorClient.h: 12870 128712010-08-26 Yury Semikhatsky <yurys@chromium.org> 12872 12873 Reviewed by Pavel Feldman. 12874 12875 REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector 12876 https://bugs.webkit.org/show_bug.cgi?id=44230 12877 12878 * WebCoreSupport/WebInspectorClient.cpp: 12879 (WebInspectorFrontendClient::~WebInspectorFrontendClient): 12880 (WebInspectorFrontendClient::closeWindow): 12881 (WebInspectorFrontendClient::disconnectFromBackend): 12882 (WebInspectorFrontendClient::closeWindowWithoutNotifications): 12883 (WebInspectorFrontendClient::destroyInspectorView): 12884 * WebCoreSupport/WebInspectorClient.h: 12885 128862010-08-24 Ada Chan <adachan@apple.com> 12887 12888 Reviewed by Steve Falkenburg. 12889 12890 <rdar://problem/8185379> Possible null dereference in WebView::canShowMIMEType. 12891 https://bugs.webkit.org/show_bug.cgi?id=44564 12892 12893 * WebView.cpp: 12894 (WebView::canShowMIMEType): Null check m_page->pluginData() since that can return NULL 12895 if plugins are disabled. 12896 128972010-08-22 Daniel Bates <dbates@rim.com> 12898 12899 Reviewed by Eric Seidel. 12900 12901 Encapsulate document marker management into DocumentMarkerController 12902 https://bugs.webkit.org/show_bug.cgi?id=44383 12903 12904 Modify call sites in the Apple Windows port to use DocumentMarkerController. 12905 12906 No functionality was changed, so no new tests. 12907 12908 * WebFrame.cpp: 12909 (WebFrame::unmarkAllMisspellings): 12910 (WebFrame::unmarkAllBadGrammar): 12911 * WebView.cpp: 12912 (WebView::rectsForTextMatches): 12913 129142010-08-18 Jessie Berlin <jberlin@apple.com> 12915 12916 Reviewed by Adam Roben. 12917 12918 Bug 44180 - WebView::paint fails to paint a child WebView of a Layered Window. 12919 https://bugs.webkit.org/show_bug.cgi?id=44180 12920 12921 Decide to end painting if the m_backingStoreBitmap is null after the call to 12922 ensureBackingStore() instead of when the rcPaint rect filled by BeginPaint is empty. 12923 The rcPaint rect filled by BeginPaint is always empty for a child WebView of a Layered 12924 Window, even if GetUpdateRect and GetUpdateRgn report a non-empty region that needs 12925 painting. 12926 12927 * WebView.cpp: 12928 (WebView::paint): 12929 129302010-08-17 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> 12931 12932 Reviewed by Darin Adler. 12933 12934 Add NetworkingContext to avoid layer violations 12935 https://bugs.webkit.org/show_bug.cgi?id=42292 12936 12937 Preparation: Just add the files to the build system. 12938 12939 * WebCoreSupport/WebFrameNetworkingContext.cpp: Added. 12940 Empty placeholder for now. 12941 * WebCoreSupport/WebFrameNetworkingContext.h: Added. 12942 Placeholder with tentative code that might be changed when landing 12943 the rest of it. 12944 * WebKit.vcproj/WebKit.vcproj: Added new files. 12945 129462010-08-17 Brady Eidson <beidson@apple.com> 12947 12948 Reviewed by Sam Weinig. 12949 12950 Navigating back/forward during a modal dialog causes a crash when the modal dialog is dismissed. 12951 <rdar://problem/8313579> and https://bugs.webkit.org/show_bug.cgi?id=44131 12952 12953 * WebView.cpp: 12954 (WebView::canGoBack): Return false if loads are deferred. 12955 (WebView::canGoForward): Ditto. 12956 129572010-08-16 Kinuko Yasuda <kinuko@chromium.org> 12958 12959 Unreviewed; build fix attempt for Windows. 12960 12961 * DefaultDownloadDelegate.cpp: 12962 129632010-08-12 Jeremy Orlow <jorlow@chromium.org> 12964 12965 Revert for now 12966 https://bugs.webkit.org/show_bug.cgi?id=43794 12967 12968 * WebView.cpp: 12969 (WebView::initWithFrame): 12970 129712010-08-12 Jeremy Orlow <jorlow@chromium.org> 12972 12973 Build fix. Matches solutions in qt and mac ports for 12974 https://bugs.webkit.org/show_bug.cgi?id=43794 12975 12976 * WebView.cpp: 12977 (WebView::initWithFrame): 12978 129792010-08-10 Gavin Barraclough <barraclough@apple.com> 12980 12981 Build fix (update more includes) 12982 12983 * WebKitDLL.h: 12984 * WebLocalizableStrings.cpp: 12985 * WebNotificationCenter.cpp: 12986 * WebPreferences.cpp: 12987 129882010-08-10 Chris Marrin <cmarrin@apple.com> 12989 12990 Reviewed by Oliver Hunt. 12991 12992 Add suspendAnimations/resumeAnimation API to DRT 12993 https://bugs.webkit.org/show_bug.cgi?id=43733 12994 12995 Win specific API 12996 12997 * Interfaces/IWebFramePrivate.idl: 12998 * WebFrame.cpp: 12999 (WebFrame::suspendAnimations): 13000 (WebFrame::resumeAnimations): 13001 * WebFrame.h: 13002 130032010-08-06 Gavin Barraclough <barraclough@apple.com> 13004 13005 Rubber stamped by Sam Weinig 13006 13007 Bug 43594 - Add string forwards to Forward.h 13008 This allows us to remove forward declarations for these classes from 13009 WebCore/WebKit (a step in moving these class from WebCore:: to WTF::). 13010 13011 * COMVariantSetter.h: 13012 * MarshallingHelpers.h: 13013 * WebCoreSupport/WebContextMenuClient.h: 13014 * WebCoreSupport/WebPluginHalterClient.h: 13015 * WebHistory.h: 13016 130172010-08-06 Jessie Berlin <jberlin@apple.com> 13018 13019 Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build. 13020 Unreviewed. 13021 13022 * COMVariantSetter.h: 13023 * MarshallingHelpers.h: 13024 * WebCoreSupport/WebContextMenuClient.h: 13025 * WebCoreSupport/WebPluginHalterClient.h: 13026 * WebHistory.h: 13027 130282010-08-05 Jessie Berlin <jberlin@apple.com> 13029 13030 Reviewed by Jon Honeycutt. 13031 13032 Bug 43593 - WebView::backingStore should check if m_backingStoreBitmap is NULL. 13033 https://bugs.webkit.org/show_bug.cgi?id=43593 13034 13035 * WebView.cpp: 13036 (WebView::backingStore): 13037 If m_backingStoreBitmap is NULL, return E_FAIL. 13038 130392010-08-05 Gavin Barraclough <barraclough@apple.com> 13040 13041 Rubber stamped by Sam Weinig 13042 13043 Bug 43594 - Add string forwards to Forward.h 13044 This allows us to remove forward declarations for these classes from 13045 WebCore/WebKit (a step in moving these class from WebCore:: to WTF::). 13046 13047 * COMVariantSetter.h: 13048 * MarshallingHelpers.h: 13049 * WebCoreSupport/WebContextMenuClient.h: 13050 * WebCoreSupport/WebPluginHalterClient.h: 13051 * WebHistory.h: 13052 130532010-08-03 Adam Roben <aroben@apple.com> 13054 13055 Turn on PLATFORM_STRATEGIES on Windows 13056 13057 Fixes <http://webkit.org/b/43431>. 13058 13059 Reviewed by Anders Carlsson. 13060 13061 * WebCoreLocalizedStrings.cpp: Removed. 13062 * WebCoreSupport/WebPlatformStrategies.cpp: Added. Based on the Mac 13063 equivalent. 13064 (WebPlatformStrategies::initialize): Creates the singleton instance. 13065 (WebPlatformStrategies::WebPlatformStrategies): Registers the 13066 singleton instance as the PlatformStrategies instance for WebCore. 13067 13068 (WebPlatformStrategies::createPluginStrategy): 13069 (WebPlatformStrategies::createLocalizationStrategy): 13070 (WebPlatformStrategies::createVisitedLinkStrategy): 13071 Return ourselves as the strategy. 13072 13073 (WebPlatformStrategies::refreshPlugins): 13074 (WebPlatformStrategies::getPluginInfo): 13075 Moved code here from WebCore's PluginDataWin.cpp file. 13076 13077 (WebPlatformStrategies::searchableIndexIntroduction): 13078 (WebPlatformStrategies::submitButtonDefaultLabel): 13079 (WebPlatformStrategies::inputElementAltText): 13080 (WebPlatformStrategies::resetButtonDefaultLabel): 13081 (WebPlatformStrategies::fileButtonChooseFileLabel): 13082 (WebPlatformStrategies::fileButtonNoFileSelectedLabel): 13083 (WebPlatformStrategies::contextMenuItemTagOpenLinkInNewWindow): 13084 (WebPlatformStrategies::contextMenuItemTagDownloadLinkToDisk): 13085 (WebPlatformStrategies::contextMenuItemTagCopyLinkToClipboard): 13086 (WebPlatformStrategies::contextMenuItemTagOpenImageInNewWindow): 13087 (WebPlatformStrategies::contextMenuItemTagDownloadImageToDisk): 13088 (WebPlatformStrategies::contextMenuItemTagCopyImageToClipboard): 13089 (WebPlatformStrategies::contextMenuItemTagOpenFrameInNewWindow): 13090 (WebPlatformStrategies::contextMenuItemTagCopy): 13091 (WebPlatformStrategies::contextMenuItemTagGoBack): 13092 (WebPlatformStrategies::contextMenuItemTagGoForward): 13093 (WebPlatformStrategies::contextMenuItemTagStop): 13094 (WebPlatformStrategies::contextMenuItemTagReload): 13095 (WebPlatformStrategies::contextMenuItemTagCut): 13096 (WebPlatformStrategies::contextMenuItemTagPaste): 13097 (WebPlatformStrategies::contextMenuItemTagNoGuessesFound): 13098 (WebPlatformStrategies::contextMenuItemTagIgnoreSpelling): 13099 (WebPlatformStrategies::contextMenuItemTagLearnSpelling): 13100 (WebPlatformStrategies::contextMenuItemTagSearchWeb): 13101 (WebPlatformStrategies::contextMenuItemTagLookUpInDictionary): 13102 (WebPlatformStrategies::contextMenuItemTagOpenLink): 13103 (WebPlatformStrategies::contextMenuItemTagIgnoreGrammar): 13104 (WebPlatformStrategies::contextMenuItemTagSpellingMenu): 13105 (WebPlatformStrategies::contextMenuItemTagCheckSpelling): 13106 (WebPlatformStrategies::contextMenuItemTagCheckSpellingWhileTyping): 13107 (WebPlatformStrategies::contextMenuItemTagCheckGrammarWithSpelling): 13108 (WebPlatformStrategies::contextMenuItemTagFontMenu): 13109 (WebPlatformStrategies::contextMenuItemTagBold): 13110 (WebPlatformStrategies::contextMenuItemTagItalic): 13111 (WebPlatformStrategies::contextMenuItemTagUnderline): 13112 (WebPlatformStrategies::contextMenuItemTagOutline): 13113 (WebPlatformStrategies::contextMenuItemTagWritingDirectionMenu): 13114 (WebPlatformStrategies::contextMenuItemTagTextDirectionMenu): 13115 (WebPlatformStrategies::contextMenuItemTagDefaultDirection): 13116 (WebPlatformStrategies::contextMenuItemTagLeftToRight): 13117 (WebPlatformStrategies::contextMenuItemTagRightToLeft): 13118 (WebPlatformStrategies::contextMenuItemTagShowSpellingPanel): 13119 (WebPlatformStrategies::contextMenuItemTagInspectElement): 13120 (WebPlatformStrategies::searchMenuNoRecentSearchesText): 13121 (WebPlatformStrategies::searchMenuRecentSearchesText): 13122 (WebPlatformStrategies::searchMenuClearRecentSearchesText): 13123 (WebPlatformStrategies::AXWebAreaText): 13124 (WebPlatformStrategies::AXLinkText): 13125 (WebPlatformStrategies::AXListMarkerText): 13126 (WebPlatformStrategies::AXImageMapText): 13127 (WebPlatformStrategies::AXHeadingText): 13128 (WebPlatformStrategies::AXDefinitionListTermText): 13129 (WebPlatformStrategies::AXDefinitionListDefinitionText): 13130 (WebPlatformStrategies::AXButtonActionVerb): 13131 (WebPlatformStrategies::AXRadioButtonActionVerb): 13132 (WebPlatformStrategies::AXTextFieldActionVerb): 13133 (WebPlatformStrategies::AXCheckedCheckBoxActionVerb): 13134 (WebPlatformStrategies::AXUncheckedCheckBoxActionVerb): 13135 (WebPlatformStrategies::AXLinkActionVerb): 13136 (WebPlatformStrategies::AXMenuListActionVerb): 13137 (WebPlatformStrategies::AXMenuListPopupActionVerb): 13138 (WebPlatformStrategies::unknownFileSizeText): 13139 (WebPlatformStrategies::uploadFileText): 13140 (WebPlatformStrategies::allFilesText): 13141 (WebPlatformStrategies::missingPluginText): 13142 (WebPlatformStrategies::crashedPluginText): 13143 (WebPlatformStrategies::imageTitle): 13144 (WebPlatformStrategies::multipleFileUploadText): 13145 (WebPlatformStrategies::mediaElementLoadingStateText): 13146 (WebPlatformStrategies::mediaElementLiveBroadcastStateText): 13147 (WebPlatformStrategies::localizedMediaControlElementString): 13148 (WebPlatformStrategies::localizedMediaControlElementHelpText): 13149 (WebPlatformStrategies::localizedMediaTimeDescription): 13150 (WebPlatformStrategies::validationMessageValueMissingText): 13151 (WebPlatformStrategies::validationMessageTypeMismatchText): 13152 (WebPlatformStrategies::validationMessagePatternMismatchText): 13153 (WebPlatformStrategies::validationMessageTooLongText): 13154 (WebPlatformStrategies::validationMessageRangeUnderflowText): 13155 (WebPlatformStrategies::validationMessageRangeOverflowText): 13156 (WebPlatformStrategies::validationMessageStepMismatchText): 13157 Moved code here from WebCoreLocalizedStrings.cpp (and slightly cleaned 13158 it up). 13159 13160 (WebPlatformStrategies::isLinkVisited): 13161 (WebPlatformStrategies::addVisitedLink): 13162 Copied code from WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm. 13163 13164 * WebCoreSupport/WebPlatformStrategies.h: Added. 13165 13166 * WebKit.vcproj/WebKit.vcproj: Removed WebCoreLocalizedStrings, added 13167 WebPlatformStrategies. 13168 13169 * WebView.cpp: 13170 (WebView::initWithFrame): Initialize WebPlatformStrategies. 13171 131722010-08-03 Alexey Proskuryakov <ap@apple.com> 13173 13174 Reviewed by Sam Weinig. 13175 13176 https://bugs.webkit.org/show_bug.cgi?id=42939 13177 WebEditorClient::didBeginEditing is never called in WebKit2 13178 13179 * WebView.cpp: (WebView::WebViewWndProc): Removed a call to setFocusedFrame. WebCore will 13180 now set it to main frame, and besides, this call should have been before setFocused(), not 13181 after it. My understanding is that we weren't getting all the same editing delegates on Windows, 13182 so this change may make WebKit1 on Windows behave more like Mac - but I haven't tested it. 13183 131842010-07-27 Luiz Agostini <luiz.agostini@openbossa.org> 13185 13186 Reviewed by Darin Fisher. 13187 13188 PopupMenu refactoring in preparation to WebKit2 13189 https://bugs.webkit.org/show_bug.cgi?id=42592 13190 13191 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu 13192 instances, concrete classes that inherit from ChromeClient needed to be changed to 13193 implement the new methods. 13194 13195 * WebCoreSupport/WebChromeClient.cpp: 13196 (WebChromeClient::selectItemWritingDirectionIsNatural): 13197 (WebChromeClient::createPopupMenu): 13198 (WebChromeClient::createSearchPopupMenu): 13199 * WebCoreSupport/WebChromeClient.h: 13200 132012010-08-02 Jon Honeycutt <jhoneycutt@apple.com> 13202 13203 Move InjectedBundle.vcproj to where the other WebKitTestRunner vcprojs live. 13204 13205 Reviewed by Sam Weinig. 13206 13207 * WebKit.vcproj/WebKit.sln: 13208 132092010-08-02 Jeremy Orlow <jorlow@chromium.org> 13210 13211 Speculative revert of 64425 due to Chromium instability 13212 https://bugs.webkit.org/show_bug.cgi?id=43347 13213 13214 * WebCoreSupport/WebChromeClient.cpp: 13215 * WebCoreSupport/WebChromeClient.h: 13216 * WebView.cpp: 13217 (WebView::mouseWheel): 13218 132192010-07-31 Luiz Agostini <luiz.agostini@openbossa.org> 13220 13221 Build fix: Windows. 13222 13223 * WebView.cpp: 13224 (WebView::mouseWheel): 13225 132262010-07-27 Luiz Agostini <luiz.agostini@openbossa.org> 13227 13228 Reviewed by Darin Fisher. 13229 13230 PopupMenu refactoring in preparation to WebKit2 13231 https://bugs.webkit.org/show_bug.cgi?id=42592 13232 13233 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu 13234 instances, concrete classes that inherit from ChromeClient needed to be changed to 13235 implement the new methods. 13236 13237 * WebCoreSupport/WebChromeClient.cpp: 13238 (WebChromeClient::selectItemWritingDirectionIsNatural): 13239 (WebChromeClient::createPopupMenu): 13240 (WebChromeClient::createSearchPopupMenu): 13241 * WebCoreSupport/WebChromeClient.h: 13242 132432010-07-31 Sheriff Bot <webkit.review.bot@gmail.com> 13244 13245 Unreviewed, rolling out r64422. 13246 http://trac.webkit.org/changeset/64422 13247 https://bugs.webkit.org/show_bug.cgi?id=43304 13248 13249 Build fixes are needed for Snow Leopard and Windows. 13250 (Requested by lca on #webkit). 13251 13252 * WebCoreSupport/WebChromeClient.cpp: 13253 * WebCoreSupport/WebChromeClient.h: 13254 132552010-07-27 Luiz Agostini <luiz.agostini@openbossa.org> 13256 13257 Reviewed by Darin Fisher. 13258 13259 PopupMenu refactoring in preparation to WebKit2 13260 https://bugs.webkit.org/show_bug.cgi?id=42592 13261 13262 As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu 13263 instances, concrete classes that inherit from ChromeClient needed to be changed to 13264 implement the new methods. 13265 13266 * WebCoreSupport/WebChromeClient.cpp: 13267 (WebChromeClient::selectItemWritingDirectionIsNatural): 13268 (WebChromeClient::createPopupMenu): 13269 (WebChromeClient::createSearchPopupMenu): 13270 * WebCoreSupport/WebChromeClient.h: 13271 132722010-07-31 Daniel Bates <dbates@rim.com> 13273 13274 Attempt to fix the Windows build after changeset 64409 <http://trac.webkit.org/changeset/64409>. 13275 13276 * WebFrame.cpp: 13277 (WebFrame::setPrinting): 13278 132792010-07-30 Dan Bernstein <mitz@apple.com> 13280 13281 Reviewed by Darin Adler. 13282 13283 <rdar://problem/8257783> Short documents may print a second blank page 13284 https://bugs.webkit.org/show_bug.cgi?id=43271 13285 13286 * WebFrame.cpp: 13287 (WebFrame::setPrinting): Updated for changes to Frame::setPrinting(). Passing 0 for the 13288 page height, which maintains existing behavior. 13289 132902010-07-30 Joseph Pecoraro <joepeck@webkit.org> 13291 13292 Reviewed by David Kilzer. 13293 13294 Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas) 13295 https://bugs.webkit.org/show_bug.cgi?id=40627 13296 13297 * WebCoreSupport/WebChromeClient.cpp: 13298 (WebChromeClient::reachedApplicationCacheOriginQuota): 13299 * WebCoreSupport/WebChromeClient.h: 13300 133012010-07-26 Steve Block <steveblock@google.com> 13302 13303 Reviewed by Jeremy Orlow. 13304 13305 Page clients should be passed to Page constructor via structure of pointers 13306 https://bugs.webkit.org/show_bug.cgi?id=42834 13307 13308 * WebView.cpp: 13309 (WebView::initWithFrame): 13310 133112010-07-27 Steve Block <steveblock@google.com> 13312 13313 Reviewed by Alexey Proskuryakov. 13314 13315 Client-based Geolocation does not pass enableHighAccuracy option to controller and client 13316 https://bugs.webkit.org/show_bug.cgi?id=40374 13317 13318 Stub out setEnableHighAccuracy method for the Win port. 13319 13320 * WebCoreSupport/WebGeolocationControllerClient.h: 13321 (WebGeolocationControllerClient::setEnableHighAccuracy): 13322 133232010-07-22 Sam Weinig <sam@webkit.org> 13324 13325 Reviewed by Maciej Stachowiak. 13326 13327 Fix for <rdar://problem/8222626> 13328 Send textDidChangeInTextField delegate callback only in response to typing or other forms of user text input. 13329 13330 The function name no longer perfectly matches the behavior, but I didn't want to break any existing clients. Maybe we 13331 should migrate to a new function name eventually 13332 13333 * WebCoreSupport/WebEditorClient.cpp: 13334 (WebEditorClient::textDidChangeInTextField): 13335 133362010-07-21 Brady Eidson <beidson@apple.com> 13337 13338 Reviewed by Geoffrey Garen. 13339 13340 Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry 13341 https://bugs.webkit.org/show_bug.cgi?id=42783 13342 13343 * WebView.cpp: 13344 (WebView::registerURLSchemeAsLocal): 13345 (WebView::registerURLSchemeAsSecure): 13346 133472010-07-20 Steve Falkenburg <sfalken@apple.com> 13348 13349 Reviewed by Adam Roben. 13350 13351 WebKit on Windows should build optionally with an unversioned ICU DLL 13352 https://bugs.webkit.org/show_bug.cgi?id=42722 13353 <rdar://problem/8211767> WebKit needs to link against unversioned ICU 13354 13355 To get the proper value for U_DISABLE_RENAMING into all source files, we force 13356 the include of ICUVersion.h (our generated header) via the compiler options. 13357 13358 * WebKit.vcproj/WebKit.vcproj: Add forced include of ICUVersion.h. 13359 133602010-07-21 Adam Roben <aroben@apple.com> 13361 13362 Update WebKit.sln for InjectedBundle's Debug_Internal configuration 13363 13364 Fixes <http://webkit.org/b/42749> InjectedBundle's build 13365 configurations are screwy 13366 13367 Reviewed by Darin Adler. 13368 13369 * WebKit.vcproj/WebKit.sln: Build the Debug_Internal variant of 13370 InjectedBundle when we're using the Debug_Internal solution 13371 configuration. 13372 133732010-07-21 Adam Roben <aroben@apple.com> 13374 13375 Add MiniBrowser to WebKit.sln 13376 13377 It is the last project to build. 13378 13379 Fixes <http://webkit.org/b/42747> build-webkit should build 13380 MiniBrowser 13381 13382 Reviewed by Darin Adler. 13383 13384 * WebKit.vcproj/WebKit.sln: Added MiniBrowser, and made it depend on 13385 WebKitTestRunner. 13386 133872010-07-20 Adam Roben <aroben@apple.com> 13388 13389 Add WebKitTestRunner and friends to WebKit.sln 13390 13391 We added these projects to WebKit2.sln in r63585, but removed them 13392 again in r63600 because WebKitTestRunner required getopt, which 13393 doesn't exist in WebKitAuxiliaryLibrary. r63700 and r63788 removed the 13394 use of getopt in WebKitTestRunner, so we can now add it to WebKit.sln 13395 (which has replaced WebKit2.sln). 13396 13397 Fixes <http://webkit.org/b/42711> WebKit.sln should build 13398 WebKitTestRunner 13399 13400 Reviewed by Steve Falkenburg. 13401 13402 * WebKit.vcproj/WebKit.sln: Added the following projects to the end of 13403 the build order (in first-built to last-built order): 13404 InjectedBundleGenerated, InjectedBundle, WebKitTestRunner. Also 13405 removed an unnecessary dependency from testapi on WebKit2WebProcess. 13406 134072010-07-19 Daniel Bates <dbates@rim.com> 13408 13409 Reviewed by Adam Roben. 13410 13411 [Win] Implement LayoutTestController::markerTextForListItem() 13412 https://bugs.webkit.org/show_bug.cgi?id=37930 13413 13414 Implements support for markerTextForListItem in the Windows port. 13415 13416 * DOMCoreClasses.cpp: 13417 (DOMElement::markerTextForListItem): Added. 13418 * DOMCoreClasses.h: 13419 * Interfaces/DOMPrivate.idl: Added declaration for markerTextForListItem(). 13420 * Interfaces/IWebViewPrivate.idl: Added declaration for elementFromJS(). 13421 * Interfaces/WebKit.idl: Touch it to force a rebuild (and for good luck :-)). 13422 * WebView.cpp: 13423 (WebView::elementFromJS): Added. 13424 * WebView.h: 13425 134262010-07-16 Zhe Su <suzhe@chromium.org> 13427 13428 Reviewed by Darin Adler. 13429 13430 REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms 13431 https://bugs.webkit.org/show_bug.cgi?id=42253 13432 13433 Dummy implementation of EditorClient::willSetInputMethodState. 13434 13435 * WebCoreSupport/WebEditorClient.cpp: 13436 (WebEditorClient::willSetInputMethodState): 13437 * WebCoreSupport/WebEditorClient.h: 13438 134392010-07-16 Mikhail Naganov <mnaganov@chromium.org> 13440 13441 Reviewed by Pavel Feldman. 13442 13443 Make JS memory stats available via 'Performance' object (Web Timing). 13444 This statistics is populated only if 'WebKitMemoryInfoEnabled' 13445 preference is set. 13446 13447 'console.memory' is kept until Web Timing object becomes visible by 13448 default (currently it is hidden under compile-time flag). These stats 13449 are guarded with the same preference. 13450 13451 https://bugs.webkit.org/show_bug.cgi?id=41617 13452 13453 * Interfaces/IWebPreferencesPrivate.idl: 13454 * WebPreferenceKeysPrivate.h: 13455 * WebPreferences.cpp: 13456 (WebPreferences::initializeDefaultSettings): 13457 (WebPreferences::memoryInfoEnabled): 13458 (WebPreferences::setMemoryInfoEnabled): 13459 * WebPreferences.h: 13460 * WebView.cpp: 13461 (WebView::notifyPreferencesChanged): 13462 134632010-07-14 Brent Fulgham <bfulgham@webkit.org> 13464 13465 Reviewed by Steve Falkenburg. 13466 13467 Patch for https://bugs.webkit.org/show_bug.cgi?id=42299 13468 Correct WinCairo build for new WebKit2 project structure. 13469 13470 * WebKit.vcproj/WebKit.sln: 13471 134722010-07-14 Sam Weinig <sam@webkit.org> 13473 13474 Reviewed by Darin Adler. 13475 13476 Patch for https://bugs.webkit.org/show_bug.cgi?id=42232 13477 Make changing Cursors work in WebKit2. 13478 13479 * WebCoreSupport/WebChromeClient.cpp: 13480 (WebChromeClient::setCursor): 13481 We now need to grab the native cursor out of the WebCore cursor. 13482 13483 (WebChromeClient::setLastSetCursorToCurrentCursor): 13484 Sets the WebView's "last set cursor" to be the current cursor so that 13485 the cursor is set correctly for plugins. 13486 * WebCoreSupport/WebChromeClient.h: 13487 * WebView.cpp: 13488 (WebView::WebView): 13489 (WebView::WebViewWndProc): 13490 * WebView.h: 13491 (WebView::setLastCursor): 13492 Change the "last set cursor" to be stored as a member instead of a global. 13493 134942010-07-13 Steve Falkenburg <sfalken@apple.com> 13495 13496 Windows build fix. 13497 Make WebKit.sln build WebKit.dll as it used to in the past. 13498 (sln is updated to include necessary projects) 13499 13500 * WebKit.vcproj/WebKit.sln: 13501 135022010-07-13 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 13503 13504 Windows build fix 13505 13506 * Interfaces/WebKit.idl: Touched to force a build 13507 135082010-07-07 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 13509 13510 Reviewed by Darin Adler. 13511 13512 Prevent assertion/duplicate loads for non-deferred subtitute-data loads 13513 13514 https://bugs.webkit.org/show_bug.cgi?id=30879 13515 13516 MainResourceLoader uses the member m_initialRequest to store requests for future 13517 deferred loads. When doing the actual load in handleDataLoadNow(), we therefore 13518 have to clear this request so that subsequent entries into the loader will not 13519 start yet another load. 13520 13521 This can happen as a result of a PageGroupLoadDeferrer going out of scope when 13522 returning from Chrome::runJavaScriptAlert(), which calls setDeferredLoading(false), 13523 but only in the case of using both substitute-data and non-deferred main resource 13524 load together. That's why two new DRT functions were added: 13525 13526 * queueLoadHTMLString() 13527 * setDeferMainResourceLoad() 13528 13529 The change adds DRT hooks for Mac, Win and Qt for these two functions. For Mac 13530 and Win the hook uses new SPI in WebDataSource. For Qt a new static member was 13531 added to the FrameLoaderClientQt and accessed though DumpRenderTreeSupportQt. 13532 13533 * Interfaces/IWebDataSource.idl: 13534 * WebDataSource.cpp: 13535 (WebDataSource::setDeferMainResourceDataLoad): 13536 * WebDataSource.h: 13537 135382010-07-12 Steve Falkenburg <sfalken@apple.com> 13539 13540 Reviewed by Alice Liu. 13541 13542 <rdar://problem/8113038> WebKit1 and WebKit2 should build as a single DLL 13543 https://bugs.webkit.org/show_bug.cgi?id=40921 13544 13545 Pre-WebKit2 WebKit now builds into a static library named WebKitLib.lib. 13546 WebKit.dll now links in WebCore.lib, WebKitLib.lib and WebKit2 code. 13547 13548 This is a first step. We'll likely want to migrate the remainder of 13549 the non-deprecated WebKit code (strings, DLLMain, resources) into WebKit2. 13550 13551 * WebKit.vcproj/WebKit.def: Removed. 13552 * WebKit.vcproj/WebKit.make: Don't fail if WebKit doesn't produce a DLL. 13553 * WebKit.vcproj/WebKit.vcproj: Build WebKit as a static lib. 13554 Renamed project name to WebKitLib to avoid confusion and naming conflicts. 13555 Generate intermediate pdb file for debuggability of static lib. 13556 Removed DLL-related options. 13557 * WebKit.vcproj/deleteButton.png: Removed. 13558 * WebKit.vcproj/deleteButtonPressed.png: Removed. 13559 * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Removed. 13560 * WebKit.vcproj/fsVideoAudioVolumeLow.png: Removed. 13561 * WebKit.vcproj/fsVideoExitFullscreen.png: Removed. 13562 * WebKit.vcproj/fsVideoPause.png: Removed. 13563 * WebKit.vcproj/fsVideoPlay.png: Removed. 13564 * WebKit.vcproj/missingImage.png: Removed. 13565 * WebKit.vcproj/nullplugin.png: Removed. 13566 * WebKit.vcproj/panEastCursor.png: Removed. 13567 * WebKit.vcproj/panIcon.png: Removed. 13568 * WebKit.vcproj/panNorthCursor.png: Removed. 13569 * WebKit.vcproj/panNorthEastCursor.png: Removed. 13570 * WebKit.vcproj/panNorthWestCursor.png: Removed. 13571 * WebKit.vcproj/panSouthCursor.png: Removed. 13572 * WebKit.vcproj/panSouthEastCursor.png: Removed. 13573 * WebKit.vcproj/panSouthWestCursor.png: Removed. 13574 * WebKit.vcproj/panWestCursor.png: Removed. 13575 * WebKit.vcproj/searchCancel.png: Removed. 13576 * WebKit.vcproj/searchCancelPressed.png: Removed. 13577 * WebKit.vcproj/searchMagnifier.png: Removed. 13578 * WebKit.vcproj/searchMagnifierResults.png: Removed. 13579 * WebKit.vcproj/textAreaResizeCorner.png: Removed. 13580 * WebKit.vcproj/verticalTextCursor.png: Removed. 13581 * WebKit.vcproj/zoomInCursor.png: Removed. 13582 * WebKit.vcproj/zoomOutCursor.png: Removed. 13583 135842010-07-08 Aaron Boodman <aa@chromium.org> 13585 13586 Reviewed by Timothy Hatcher. 13587 13588 Add the ability for user scripts and user styles to affect just the top frame. 13589 13590 https://bugs.webkit.org/show_bug.cgi?id=41529 13591 13592 * WebView.cpp: 13593 (WebView::addUserScriptToGroup): 13594 (WebView::addUserStyleSheetToGroup): 13595 135962010-07-08 Adele Peterson <adele@apple.com> 13597 13598 Reviewed by Jon Honeycutt, Adam Roben, and Darin Adler. 13599 13600 Fix for https://bugs.webkit.org/show_bug.cgi?id=41721 13601 <rdar://problem/8158561> Missing plug-in indicator should have a pressed state 13602 13603 Implement shouldMissingPluginMessageBeButton. 13604 13605 * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::shouldMissingPluginMessageBeButton): 13606 * WebCoreSupport/WebChromeClient.h: 13607 136082010-07-07 Anders Carlsson <andersca@apple.com> 13609 13610 Reviewed by Simon Fraser. 13611 13612 Rename TestNetscapePlugin.subproj and move platform specific files to subdirectories 13613 https://bugs.webkit.org/show_bug.cgi?id=41781 13614 13615 * WebKit.vcproj/WebKit.sln: 13616 136172010-07-07 Sam Weinig <sam@webkit.org> 13618 13619 Reviewed by Anders Carlsson. 13620 13621 Patch for https://bugs.webkit.org/show_bug.cgi?id=41772 13622 Add basic piping for BackForwardControllerClient. 13623 13624 * WebView.cpp: 13625 (WebView::initWithFrame): 13626 136272010-07-07 Adam Roben <aroben@apple.com> 13628 13629 Windows build fix 13630 13631 * Interfaces/WebKit.idl: Touched to force a build. 13632 136332010-07-06 Steve Falkenburg <sfalken@apple.com> 13634 13635 Reviewed by Simon Fraser. 13636 13637 Expose URL matching from WebUserContentURLPattern 13638 https://bugs.webkit.org/show_bug.cgi?id=41726 13639 <rdar://problem/7910144> 13640 13641 We previously had a way to construct WebUserContentURLPattern 13642 instances via WebKit, but no way for callers to perform matching. 13643 This patch adds the matchesURL functionality to allow for this. 13644 13645 * Interfaces/IWebUserContentURLPattern.idl: Added matchesURL. 13646 * Interfaces/IWebView.idl: Touch to force a build. 13647 * WebUserContentURLPattern.cpp: 13648 (WebUserContentURLPattern::matchesURL): Added. Calls through to WebCore::UserContentURLPattern::matches. 13649 * WebUserContentURLPattern.h: Added matchesURL. 13650 136512010-07-03 Jon Honeycutt <jhoneycutt@apple.com> 13652 13653 The missing plug-in indicator should be clickable 13654 13655 https://bugs.webkit.org/show_bug.cgi?id=41550 13656 <rdar://problem/8132162> 13657 13658 From an original patch by Kevin Decker. 13659 13660 Reviewed by Darin Adler. 13661 13662 * Interfaces/IWebUIDelegatePrivate.idl: 13663 Added a new delegate interface, and declare a function 13664 didPressMissingPluginButton(). 13665 13666 * Interfaces/WebKit.idl: 13667 Touch this file to force interfaces to be rebuilt. 13668 13669 * WebCoreSupport/WebChromeClient.cpp: 13670 (WebChromeClient::missingPluginButtonClicked): 13671 Get the UI delegate, and query it for IWebUIDelegatePrivate3. Call its 13672 didPressMissingPluginButton() function. 13673 13674 * WebCoreSupport/WebChromeClient.h: 13675 Declare an override of missingPluginButtonClicked(). 13676 136772010-07-03 Erik Arvidsson <arv@chromium.org> 13678 13679 Reviewed by Ojan Vafai. 13680 13681 Fix issue where a contextmenu event was reporting the wrong target 13682 if the context menu was shown due to pressing the context menu key 13683 (or Shift+F10). 13684 13685 * WebView.cpp: 13686 (WebView::handleContextMenuEvent): 13687 136882010-07-01 Steve Falkenburg <sfalken@apple.com> 13689 13690 Reviewed by Adele Peterson. 13691 13692 Provide a WebView preference to disable DNS prefetching on Windows 13693 https://bugs.webkit.org/show_bug.cgi?id=41504 13694 <rdar://problem/8151939> 13695 13696 * Interfaces/IWebPreferencesPrivate.idl: Added isDNSPrefetchingEnabled, setDNSPrefetchingEnabled. 13697 * Interfaces/WebKit.idl: Touched to force IDL build. 13698 * WebPreferenceKeysPrivate.h: Added WebKitDNSPrefetchingEnabledPreferenceKey. 13699 * WebPreferences.cpp: 13700 (WebPreferences::initializeDefaultSettings): Default prefetch to true. 13701 (WebPreferences::setDNSPrefetchingEnabled): Added. 13702 (WebPreferences::isDNSPrefetchingEnabled): Added. 13703 * WebPreferences.h: Added isDNSPrefetchingEnabled, setDNSPrefetchingEnabled. 13704 * WebView.cpp: 13705 (WebView::notifyPreferencesChanged): Propagate prefetch pref into settings. 13706 137072010-06-21 Nate Chapin <japhet@chromium.org> 13708 13709 Unreviewed, Windows build fix. 13710 13711 Update WebFrame to use FrameLoaderStateMachine in 13712 firstLayoutDone(). 13713 13714 * WebFrame.cpp: 13715 (WebFrame::firstLayoutDone): 13716 137172010-06-15 Dumitru Daniliuc <dumi@chromium.org> 13718 13719 Reviewed by Adam Barth. 13720 13721 Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase. 13722 https://bugs.webkit.org/show_bug.cgi?id=39041 13723 13724 * WebView.cpp: 13725 (WebView::notifyPreferencesChanged): 13726 137272010-06-16 Adam Roben <aroben@apple.com> 13728 13729 Add a "forPrinting" boolean parameter to 13730 IWebFramePrivate::renderTreeAsExternalRepresentation 13731 13732 Fixes <http://webkit.org/b/40727> Respect 13733 LayoutTestController::isPrinting on Windows. 13734 13735 Reviewed by Dan Bernstein. 13736 13737 * Interfaces/IWebFramePrivate.idl: Renamed the current 13738 renderTreeAsExternalRepresentation to unused1, and added a new version 13739 that takes a boolean "forPrinting" parameter. 13740 13741 * Interfaces/WebKit.idl: Touched to force a build. 13742 13743 * WebFrame.cpp: 13744 (WebFrame::renderTreeAsExternalRepresentation): Added a boolean 13745 "forPrinting" parameter, and used it to tell externalRepresentation 13746 what kind of behavior to use. 13747 13748 * WebFrame.h: Renamed the old renderTreeAsExternalRepresentation and 13749 added the new one. 13750 137512010-06-15 Darin Adler <darin@apple.com> 13752 13753 Reviewed by Adam Barth. 13754 13755 Move functions out of Frame class that were marked "move to Chrome" 13756 https://bugs.webkit.org/show_bug.cgi?id=39636 13757 13758 * WebView.cpp: 13759 (WebView::shouldClose): Call shouldClose on FrameLoader instead of 13760 going through Frame. 13761 137622010-06-14 Adam Roben <aroben@apple.com> 13763 13764 Add WebKitLauncherWin to WebKit.sln 13765 13766 Fixes <http://webkit.org/b/40583>. 13767 13768 Reviewed by Darin Adler. 13769 13770 * WebKit.vcproj/WebKit.sln: Added WebKitLauncherWin.vcproj. It depends 13771 on WebKitAPITest, so is the last project to build. (Also removed 13772 QTMovieWin's direct dependency on JavaScriptCore, since it already has 13773 an indirect dependency on it.) 13774 137752010-06-14 Chang Shu <chang.shu@nokia.com> 13776 13777 Reviewed by Kenneth Rohde Christiansen. 13778 13779 [win] Make windows compile after API changes. 13780 13781 https://bugs.webkit.org/show_bug.cgi?id=40434 13782 13783 * WebKitGraphics.cpp: 13784 (WebDrawText): 13785 137862010-06-14 Ilya Tikhonovsky <loislo@chromium.org> 13787 13788 Reviewed by Pavel Feldman. 13789 13790 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc 13791 data from inspected page to WebInspector as JSON string via http. The native 13792 serialization to JSON string is supported by InspectorValue's classes. This patch 13793 has the implementation of sendMessageToFrontend function. WebKit version of it still 13794 uses ScriptFunctionCall and will be switched to another transport a little bit later. 13795 https://bugs.webkit.org/show_bug.cgi?id=40134 13796 13797 * WebCoreSupport/WebInspectorClient.cpp: 13798 (WebInspectorClient::WebInspectorClient): 13799 (WebInspectorClient::~WebInspectorClient): 13800 (WebInspectorClient::openInspectorFrontend): 13801 * WebCoreSupport/WebInspectorClient.h: 13802 138032010-06-10 Eric Seidel <eric@webkit.org> 13804 13805 Reviewed by Adam Barth. 13806 13807 Reduce FrameView.h includes to speed up build times 13808 https://bugs.webkit.org/show_bug.cgi?id=40408 13809 13810 Another fix for Windows. 13811 13812 * WebView.cpp: 13813 138142010-06-09 Sheriff Bot <webkit.review.bot@gmail.com> 13815 13816 Unreviewed, rolling out r60889. 13817 http://trac.webkit.org/changeset/60889 13818 https://bugs.webkit.org/show_bug.cgi?id=40365 13819 13820 gtk bot has some kind of memory corruption (Requested by 13821 loislo on #webkit). 13822 13823 * WebCoreSupport/WebInspectorClient.cpp: 13824 (WebInspectorClient::WebInspectorClient): 13825 (WebInspectorClient::~WebInspectorClient): 13826 (WebInspectorClient::openInspectorFrontend): 13827 * WebCoreSupport/WebInspectorClient.h: 13828 (WebInspectorClient::frontendClosing): 13829 138302010-06-07 Ilya Tikhonovsky <loislo@chromium.org> 13831 13832 Reviewed by Pavel Feldman. 13833 13834 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc 13835 data from inspected page to WebInspector as JSON string via http. The native 13836 serialization to JSON string is supported by InspectorValue's classes. This patch 13837 has the implementation of sendMessageToFrontend function. WebKit version of it still 13838 uses ScriptFunctionCall and will be switched to another transport a little bit later. 13839 https://bugs.webkit.org/show_bug.cgi?id=40134 13840 13841 * WebCoreSupport/WebInspectorClient.cpp: 13842 (WebInspectorClient::WebInspectorClient): 13843 (WebInspectorClient::~WebInspectorClient): 13844 (WebInspectorClient::openInspectorFrontend): 13845 * WebCoreSupport/WebInspectorClient.h: 13846 138472010-06-08 Antonio Gomes <tonikitoo@webkit.org> 13848 13849 Reviewed by Ojan Vafai and Darin Adler. 13850 13851 Refactor platform dependent editing behavior code out of Settings 13852 https://bugs.webkit.org/show_bug.cgi?id=39854 13853 13854 EditingBehavior enum was renamed to EditingBehaviorTypes and moved out from Settings.h to 13855 EditingBehaviorTypes.h . Call sites in WebKit/ adjusted accordingly. 13856 13857 * WebView.cpp: 13858 (WebView::notifyPreferencesChanged): 13859 138602010-06-04 Alice Liu <alice.liu@apple.com> 13861 13862 Reviewed by Jon Honeycutt. 13863 13864 WebFrame::paintDocumentRectToContextAtPoint doesn't paint scrollbars 13865 https://bugs.webkit.org/show_bug.cgi?id=40034 13866 <rdar://problem/7799848> 13867 13868 * WebFrame.cpp: 13869 (WebFrame::paintScrollViewRectToContextAtPoint): Renamed from paintDocumentRectToContextAtPoint. 13870 Call paint() instead of paintContents(). Also move the dirtyRect to counteract the moving that happens in paint(). 13871 13872 Just renaming changes: 13873 * Interfaces/IWebFramePrivate.idl: 13874 * Interfaces/IWebViewPrivate.idl: 13875 * WebFrame.h: 13876 * WebView.cpp: 13877 (WebView::paintScrollViewRectToContextAtPoint): 13878 * WebView.h: 13879 13880 * Interfaces/WebKit.idl: Touched for rebuild. 13881 138822010-05-30 Daniel Bates <dbates@rim.com> 13883 13884 Unreviewed, attempt to fix the build after http://trac.webkit.org/changeset/60418. 13885 13886 * WebFrame.cpp: 13887 (WebFrame::elementWithName): 13888 (WebFrame::controlsInForm): 13889 138902010-05-22 Jer Noble <jer.noble@apple.com> 13891 13892 Reviewed by Adam Roben. 13893 13894 Full screen doesn't work for video elements 13895 https://bugs.webkit.org/show_bug.cgi?id=39557 13896 rdar://problem/8011813 13897 13898 Modified FullscreenVideoController to work with MediaPlayerPrivateFullscreenWindow. The FullscreenVideoController 13899 is now MediaPlayerPrivate agnostic.. 13900 13901 * FullscreenVideoController.cpp: 13902 (FullscreenVideoController::LayoutClient::LayoutClient): New helper class which implements WKCACFLayerLayoutClient. 13903 (FullscreenVideoController::LayoutClient::layoutSublayersOfLayer): 13904 (FullscreenVideoController::FullscreenVideoController): 13905 (FullscreenVideoController::~FullscreenVideoController): 13906 (FullscreenVideoController::enterFullscreen): 13907 (FullscreenVideoController::exitFullscreen): 13908 (FullscreenVideoController::fullscreenClientWndProc): Handle WM_KEYDOWN. 13909 (FullscreenVideoController::createHUDWindow): 13910 (FullscreenVideoController::hudWndProc): Handle WM_KEYDOWN. 13911 (FullscreenVideoController::onChar): 13912 (FullscreenVideoController::onKeyDown): New function: handles the VK_ESCAPE case more reliably than WM_CHAR. 13913 * FullscreenVideoController.h: 13914 * WebView.h: 13915 (WebView::viewWindow): Added a simple viewWindow() accessor. 13916 139172010-05-25 Brady Eidson <beidson@apple.com> 13918 13919 Reviewed by Darin Adler. 13920 13921 Database origins aren't populated at launch (missing db in prefs sheet, possible other symptoms) 13922 <rdar://problem/8013233> and https://bugs.webkit.org/show_bug.cgi?id=39486 13923 13924 * WebDatabaseManager.cpp: 13925 (WebKitInitializeWebDatabasesIfNecessary): Call initializeTracker() instead of trying to set the path on 13926 an already created tracker that already has its origins populated. 13927 * WebDatabaseManager.h: 13928 13929 * WebView.cpp: 13930 (WebView::initWithFrame): Call a renamed method instead. 13931 139322010-05-25 Ada Chan <adachan@apple.com> 13933 13934 Reviewed by Steve Falkenburg. 13935 13936 https://bugs.webkit.org/show_bug.cgi?id=39651 13937 13938 Make m_closeWindowTimer a SuspendableTimer, so it is properly suspended 13939 when page loading is deferred. 13940 13941 * WebView.cpp: 13942 (WebView::WebView): m_closeWindowTimer is now a pointer to a SuspendableTimer. 13943 (WindowCloseTimer::create): 13944 (WindowCloseTimer::WindowCloseTimer): 13945 (WindowCloseTimer::contextDestroyed): Make sure we delete the WindowCloseTimer in the end. 13946 (WindowCloseTimer::fired): 13947 (WebView::closeWindowSoon): 13948 (WebView::closeWindowTimerFired): 13949 (WebView::notifyPreferencesChanged): Can just check for the existence m_closeWindowTimer, since 13950 we only create it when we need to start the timer. 13951 * WebView.h: 13952 139532010-05-24 Darin Adler <darin@apple.com> 13954 13955 Reviewed by Eric Seidel. 13956 13957 Move view-related functions from Frame to FrameView 13958 https://bugs.webkit.org/show_bug.cgi?id=39366 13959 13960 * WebFrame.cpp: 13961 (WebFrame::setTextSizeMultiplier): Call function on FrameView. 13962 * WebView.cpp: 13963 (WebView::setZoomMultiplier): Ditto. 13964 139652010-05-24 Anders Carlsson <andersca@apple.com> 13966 13967 Yet another Windows build fix. 13968 13969 * WebView.cpp: 13970 (WebView::canShowMIMEType): 13971 Use the right capitalizatinon of 'MIME' (which also happens to be incorrect according to our guidelines). 13972 139732010-05-24 Anders Carlsson <andersca@apple.com> 13974 13975 Another Windows build fix. 13976 13977 * WebView.cpp: 13978 Don't include PlugInInfoStore.h, instead include PluginData.h 13979 139802010-05-24 Anders Carlsson <andersca@apple.com> 13981 13982 Fix Windows build. 13983 13984 * WebView.cpp: 13985 (WebView::canShowMIMEType): 13986 139872010-05-21 Steve Block <steveblock@google.com> 13988 13989 Reviewed by Jeremy Orlow. 13990 13991 Add DeviceOrientation and DeviceOrientationClient 13992 https://bugs.webkit.org/show_bug.cgi?id=39479 13993 13994 * WebView.cpp: 13995 (WebView::initWithFrame): 13996 139972010-05-20 Simon Fraser <simon.fraser@apple.com> 13998 13999 Build fix, no review. 14000 14001 Fix the non-accelerated-compositing Windows build with some 14002 #if USE(ACCELERATED_COMPOSITING) loving. 14003 14004 * WebView.cpp: 14005 * WebView.h: 14006 140072010-05-20 Simon Fraser <simon.fraser@apple.com> 14008 14009 Reviewed by Adam Roben. 14010 14011 Avoid flushing CA layers when a layout is pending 14012 https://bugs.webkit.org/show_bug.cgi?id=39463 14013 14014 <rdar://problem/7999463> 14015 14016 Avoid rendering the compositing layers to the screen if there's a layout pending, 14017 since the layer tree not in a state that should be presented to the user. 14018 14019 This fixes flashes in some types of content that dynamically add and remove layers. 14020 14021 Have the WebView implement WKCACFLayerRendererClient so that the 14022 WKCACFLayerRenderer can ask whether it's a good time to render. If the FrameView 14023 has a layout pending, say no. 14024 14025 * WebView.h: 14026 * WebView.cpp: 14027 (WebView::setAcceleratedCompositing): 14028 (WebView::shouldRender): 14029 140302010-05-18 Brent Fulgham <bfulgham@webkit.org> 14031 14032 Reviewed by Adam Roben. 14033 14034 [WinCairo] Correct scaling for print preview 14035 https://bugs.webkit.org/show_bug.cgi?id=39329 14036 14037 Cairo does not properly deal with Windows HDCs that have been 14038 scaled using MM_ANISOTROPIC mapping mode, and a WindowExt and 14039 ViewportExt setting. 14040 (see http://bugs.freedesktop.org/show_bug.cgi?id=28161) 14041 14042 Instead, reset the HDC's WorldTransform to be unscaled, then 14043 scale the cairo context to the desired scaling, and perform 14044 the drawing operation. 14045 14046 * WebFrame.cpp: 14047 (WebFrame::drawHeader): Use pre-positioned context to simplify 14048 this method. 14049 (WebFrame::drawFooter): Use pre-positioned context to simplify 14050 this method. 14051 (WebFrame::spoolPage): Revise scaling logic to turn off HDC 14052 scaling, and scale using only Cairo. Revert scaling at end 14053 so that user-defined GDI-based routines (e.g., header/footer) 14054 will draw in the right position. 14055 (WebFrame::spoolPages): Identify print preview case, and 14056 retrieve scaling factors from preview context. Set the 14057 Cairo context to use these factors during the spoolPage 14058 operation. 14059 140602010-05-20 Martin Robinson <mrobinson@igalia.com> 14061 14062 Unreviewed. 14063 14064 Touch WebKit.idl to ensure that interfaces rebuild. 14065 14066 * Interfaces/WebKit.idl: Touched. 14067 140682010-05-20 Martin Robinson <mrobinson@igalia.com> 14069 14070 Reviewed by Adam Roben. 14071 14072 Fix the Windows build and move new IDL declarations to the bottom of the file. 14073 14074 * Interfaces/IWebPreferences.idl: Move new API to the bottom of the IDL file to prevent vtable mismatch. 14075 * WebPreferences.cpp: 14076 (WebPreferences::setEditingBehavior): Change the type of the parameter to setEditingBehavior to the proper type. 14077 140782010-05-20 Martin Robinson <mrobinson@igalia.com> 14079 14080 Unreviewed. 14081 14082 Fix the Windows build. 14083 14084 * WebView.cpp: 14085 (WebView::notifyPreferencesChanged): Change behavior to 'editingBehavior'. 14086 140872010-05-20 Martin Robinson <mrobinson@webkit.org> 14088 14089 Reviewed by Ojan Vafai. 14090 14091 Expose the editing behavior setting in DRT to test all editing code paths 14092 https://bugs.webkit.org/show_bug.cgi?id=38603 14093 14094 Expose the EditingBehavior setting in the Windows API. 14095 14096 * Interfaces/IWebPreferences.idl: Add the API point for setting the editing behavior. 14097 * WebPreferenceKeysPrivate.h: Add a key for the editing behavior setting. 14098 * WebPreferences.cpp: 14099 (WebPreferences::editingBehavior): Added. 14100 (WebPreferences::setEditingBehavior): Added. 14101 * WebPreferences.h: Add method declarations. 14102 * WebView.cpp: 14103 (WebView::notifyPreferencesChanged): Update the WebCore setting based on the WebPreferences setting. 14104 141052010-05-20 Chris Jerdonek <cjerdonek@webkit.org> 14106 14107 Reviewed by Eric Seidel. 14108 14109 Modified FrameLoader::urlSelected() to accept a KURL instead of a 14110 ResourceRequest. 14111 14112 https://bugs.webkit.org/show_bug.cgi?id=39320 14113 14114 Since ResourceRequest has non-explicit single-parameter constructors for 14115 String and KURL, urlSelected() previously accepted any of String, KURL, 14116 and ResourceRequest. This revision changes urlSelected() to accept only 14117 a KURL to make the API tighter and easier to refactor. 14118 14119 * WebCoreSupport/WebContextMenuClient.cpp: 14120 (WebContextMenuClient::searchWithGoogle): 14121 - Updated the call to urlSelected(). 14122 141232010-05-13 Brian Weinstein <bweinstein@apple.com> 14124 14125 Reviewed by Tim Hatcher. 14126 14127 <rdar://problem/7982652> 14128 14129 Allow reporting exceptions that occur when using JavaScriptCore APIs to the Web Inspector. 14130 14131 * Interfaces/IWebViewPrivate.idl: Add a reportException function off of IWebViewPrivate. 14132 * Interfaces/WebKit.idl: Touch WebKit.idl to make sure Interfaces rebuild. 14133 * WebView.cpp: 14134 (WebView::reportException): Make sure the function was called with a context from a WebView, and call 14135 WebCore::reportException. 14136 * WebView.h: 14137 141382010-05-12 Jer Noble <jer.noble@apple.com> 14139 14140 Reviewed by Darin Adler. 14141 14142 Bug 38689: #34005 will break fullscreen video playback 14143 https://bugs.webkit.org/show_bug.cgi?id=38689 14144 14145 Use the new definition of PlatformMedia to check the actual type 14146 returned by MediaPlayer. 14147 14148 * FullscreenVideoController.cpp: 14149 (FullscreenVideoController::movie): 14150 141512010-05-11 Jer Noble <jer.noble@apple.com> 14152 14153 No Review. 14154 14155 Fix build error: The QTMovieWin project is dependent on the JavaScriptCore project. 14156 14157 * WebKit.vcproj/WebKit.sln: 14158 141592010-05-11 Alice Liu <alice.liu@apple.com> 14160 14161 Rubber-stamped by Gavin Barraclough. 14162 14163 Fix build error when enabling debugging block in WebKit win painting code 14164 14165 * WebView.cpp: 14166 (WebView::paintIntoBackingStore): 14167 141682010-05-11 Alice Liu <alice.liu@apple.com> 14169 14170 Reviewed by Steve Falkenburg. 14171 14172 https://bugs.webkit.org/show_bug.cgi?id=38937 14173 W7 window preview paints content at the wrong location 14174 14175 * WebFrame.cpp: 14176 (WebFrame::paintDocumentRectToContext): Revert r58895 14177 (WebFrame::paintDocumentRectToContextAtPoint): Added 14178 14179 * Interfaces/IWebFramePrivate.idl: Added paintDocumentRectToContextAtPoint 14180 * Interfaces/IWebViewPrivate.idl: ditto 14181 * Interfaces/WebKit.idl: touch to rebuild 14182 * WebFrame.h: ditto 14183 * WebView.cpp: ditto 14184 (WebView::paintDocumentRectToContextAtPoint): ditto 14185 * WebView.h: ditto 14186 141872010-05-07 Jer Noble <jer.noble@apple.com> 14188 14189 Reviewed by Adele Peterson. 14190 14191 Safari pegs CPU and drops tons of frames using HTML5 Vimeo player 14192 https://bugs.webkit.org/show_bug.cgi?id=34005 14193 14194 QTMovieWin is now QTMovieGWorld. 14195 * FullscreenVideoController.cpp: 14196 (FullscreenVideoController::movie): 14197 * FullscreenVideoController.h: 14198 141992010-05-06 Adam Roben <aroben@apple.com> 14200 14201 Bail out of WebView::paint when there's nothing to paint 14202 14203 Fixes <http://webkit.org/b/38670> <rdar://problem/7947105> REGRESSION 14204 (r58067): Crash in WebView::paint when Web Inspector is docked and 14205 window is resized so small that WebView disappears 14206 14207 When the WebView is 0-sized, ensureBackingStore() bails out without 14208 creating a bitmap, leaving m_backingStoreBitmap null. Before r58067, 14209 m_backingStoreBitmap was an HBITMAP, so we were happily passing along 14210 a null HBITMAP to various Windows APIs. These calls would fail but not 14211 crash. r58067 changed m_backingStoreBitmap to a RefCountedHBITMAP, and 14212 dereferencing a null RefCountedHBITMAP* of course crashes. 14213 14214 Reviewed by Steve Falkenburg. 14215 14216 * WebView.cpp: 14217 (WebView::paint): Bail if the rect to paint is empty. 14218 142192010-05-06 Steve Falkenburg <sfalken@apple.com> 14220 14221 Reviewed by Adam Roben. 14222 14223 WebFrame::paintDocumentRectToContext paints content at the wrong location 14224 https://bugs.webkit.org/show_bug.cgi?id=38651 14225 14226 * WebFrame.cpp: 14227 (WebFrame::paintDocumentRectToContext): 14228 142292010-05-05 Stuart Morgan <stuartmorgan@chromium.org> 14230 14231 Reviewed by Darin Fisher. 14232 14233 Update setFocus for the new boolean argument; no behavioral change. 14234 14235 https://bugs.webkit.org/show_bug.cgi?id=37961 14236 14237 * WebCoreSupport/EmbeddedWidget.cpp: 14238 (EmbeddedWidget::setFocus): 14239 * WebCoreSupport/EmbeddedWidget.h: 14240 142412010-05-03 Abhishek Arya <inferno@chromium.org> 14242 14243 Reviewed by Adam Barth. 14244 14245 Add support for controlling clipboard access from javascript. 14246 Clipboard access from javascript is disabled by default. 14247 https://bugs.webkit.org/show_bug.cgi?id=27751 14248 14249 * Interfaces/IWebPreferencesPrivate.idl: 14250 * WebPreferenceKeysPrivate.h: 14251 * WebPreferences.cpp: 14252 (WebPreferences::initializeDefaultSettings): 14253 (WebPreferences::javaScriptCanAccessClipboard): 14254 (WebPreferences::setJavaScriptCanAccessClipboard): 14255 * WebPreferences.h: 14256 * WebView.cpp: 14257 (WebView::notifyPreferencesChanged): 14258 142592010-05-03 Jens Alfke <snej@chromium.org> 14260 14261 Reviewed by Darin Fisher. 14262 14263 [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient 14264 https://bugs.webkit.org/show_bug.cgi?id=38397 14265 14266 No tests (functionality is exposed only through native WebKit API.) 14267 14268 * WebFrame.h: 14269 142702010-04-30 Jon Honeycutt <jhoneycutt@apple.com> 14271 14272 Caret may fail to blink if a focus handler brings up a modal dialog 14273 https://bugs.webkit.org/show_bug.cgi?id=38372 14274 14275 Reviewed by Darin Adler. 14276 14277 * WebView.cpp: 14278 (WebView::handleMouseEvent): 14279 If the message is WM_CANCELMODE, which indicates that we our capturing 14280 of mouse events has been cancelled, tell the EventHandler. 14281 It's possible to re-enter this function if handling a mouse event allows 14282 the message loop to run; moved up the call to setMouseActivated(), so 14283 that if we do re-enter this function, the later mouse event will not be 14284 considered as activating the window. 14285 (WebView::WebViewWndProc): 14286 Handle WM_CANCELMODE by calling handleMouseEvent(). 14287 142882010-04-29 Anders Carlsson <andersca@apple.com> 14289 14290 Reviewed by Dan Bernstein. 14291 14292 First part of 14293 https://bugs.webkit.org/show_bug.cgi?id=20784 14294 move npapi.h to C99 integer types. 14295 14296 * WebKit.vcproj/WebKit.vcproj: 14297 142982010-04-28 Beth Dakin <bdakin@apple.com> 14299 14300 Reviewed by Darin Adler. 14301 14302 Fix for <rdar://problem/7474349> 14303 14304 Add a synchronous display mechanism for WKCACFLayerRenderer. 14305 14306 * Interfaces/IWebViewPrivate.idl: 14307 * Interfaces/WebKit.idl: 14308 * WebView.cpp: 14309 (WebView::WebView): 14310 (WebView::updateRootLayerContents): 14311 (WebView::nextDisplayIsSynchronous): 14312 * WebView.h: 14313 143142010-04-28 Steve Falkenburg <sfalken@apple.com> 14315 14316 Reviewed by Maciej Stachowiak. 14317 14318 WebView drawing code may access null backing store dirty region 14319 https://bugs.webkit.org/show_bug.cgi?id=38245 14320 <rdar://problem/7916101> REGRESSION (r58067): All loaded pages fail to display after running iBench HTML test (intermittent) 14321 14322 * WebView.cpp: 14323 (WebView::updateBackingStore): Add null check for m_backingStoreDirtyRegion. 14324 143252010-04-27 Jon Honeycutt <jhoneycutt@apple.com> 14326 14327 <rdar://problem/7911140> Hitting the "delete" key goes back twice 14328 14329 Reviewed by Maciej Stachowiak. 14330 14331 * WebView.cpp: 14332 (WebView::keyDown): 14333 Return true if we navigated back or forward from the key event to 14334 prevent the event from being propagated further. 14335 143362010-04-25 Sam Weinig <sam@webkit.org> 14337 14338 Reviewed by Maciej Stachowiak. 14339 14340 Fix for https://bugs.webkit.org/show_bug.cgi?id=38097 14341 Disentangle initializing the main thread from initializing threading 14342 14343 * WebKitClassFactory.cpp: 14344 (WebKitClassFactory::WebKitClassFactory): Add call to initializeMainThread. 14345 * WebView.cpp: 14346 (WebView::WebView): Ditto. 14347 143482010-04-25 Yury Semikhatsky <yurys@chromium.org> 14349 14350 Reviewed by Pavel Feldman. 14351 14352 Web Inspector: inspector client shouldn't check if it can be opened 14353 docked if it is already in that state. 14354 14355 https://bugs.webkit.org/show_bug.cgi?id=37946 14356 14357 * WebCoreSupport/WebInspectorClient.cpp: 14358 (WebInspectorFrontendClient::WebInspectorFrontendClient): 14359 (WebInspectorFrontendClient::showWindowWithoutNotifications): 14360 * WebCoreSupport/WebInspectorClient.h: 14361 143622010-04-24 Steve Falkenburg <sfalken@apple.com> 14363 14364 Reviewed by Sam Weinig. 14365 14366 Typo in Geolocation code causes crashes when updates are stopped 14367 https://bugs.webkit.org/show_bug.cgi?id=38089 14368 <rdar://problem/7904104> Crash closing geolocation tab after allowing to use geolocation 14369 14370 * WebCoreSupport/WebGeolocationControllerClient.cpp: 14371 (WebGeolocationControllerClient::stopUpdating): Call unregister instead of register. 14372 143732010-04-23 Andy Estes <aestes@apple.com> 14374 14375 Rubber stamped by Steve Falkenburg. 14376 14377 Roll out http://trac.webkit.org/changeset/55385. 14378 14379 <rdar://problem/7884444> 14380 14381 * Interfaces/IWebUIDelegatePrivate.idl: 14382 * Interfaces/WebKit.idl: 14383 * WebCoreSupport/WebFrameLoaderClient.cpp: 14384 (WebFrameLoaderClient::createPlugin): 14385 143862010-04-22 Dave Moore <davemoore@chromium.org> 14387 14388 Reviewed by Dimitri Glazkov. 14389 14390 Added notification when the favicons for a page are changed 14391 from a script. 14392 The Document object will notify the frame loader, which will 14393 notify the client. Implementations of FrameLoaderClient will 14394 have to add one method; dispatchDidChangeIcons(). 14395 14396 https://bugs.webkit.org/show_bug.cgi?id=33812 14397 14398 * Interfaces/IWebFrameLoadDelegatePrivate2.idl: 14399 * WebCoreSupport/WebFrameLoaderClient.cpp: 14400 (WebFrameLoaderClient::dispatchDidChangeIcons): 14401 * WebCoreSupport/WebFrameLoaderClient.h: 14402 * WebFrame.cpp: 14403 (WebFrame::didChangeIcons): 14404 * WebFrame.h: 14405 144062010-04-22 Adam Barth <abarth@webkit.org> 14407 14408 Unreviewed, rolling out r58069. 14409 http://trac.webkit.org/changeset/58069 14410 https://bugs.webkit.org/show_bug.cgi?id=27751 14411 14412 Broke compile on Windows. 14413 14414 * Interfaces/IWebPreferencesPrivate.idl: 14415 * WebPreferenceKeysPrivate.h: 14416 * WebPreferences.cpp: 14417 (WebPreferences::initializeDefaultSettings): 14418 * WebPreferences.h: 14419 * WebView.cpp: 14420 (WebView::notifyPreferencesChanged): 14421 144222010-04-22 Abhishek Arya <inferno@chromium.org> 14423 14424 Reviewed by Adam Barth. 14425 14426 Add support for controlling clipboard access from javascript. 14427 Clipboard access from javascript is disabled by default. 14428 https://bugs.webkit.org/show_bug.cgi?id=27751 14429 14430 * Interfaces/IWebPreferencesPrivate.idl: 14431 * WebPreferenceKeysPrivate.h: 14432 * WebPreferences.cpp: 14433 (WebPreferences::initializeDefaultSettings): 14434 (WebPreferences::javaScriptCanAccessClipboard): 14435 (WebPreferences::setJavaScriptCanAccessClipboard): 14436 * WebPreferences.h: 14437 * WebView.cpp: 14438 (WebView::notifyPreferencesChanged): 14439 144402010-04-21 Andy Estes <aestes@apple.com> 14441 14442 Reviewed by Maciej Stachowiak. 14443 14444 Reference count WebView's backing store bitmap to prevent 14445 deleteBackingStore() from freeing the bitmap while it is still being 14446 referenced by Core Animation. 14447 14448 https://bugs.webkit.org/show_bug.cgi?id=37954 14449 14450 * WebView.cpp: 14451 (WebView::ensureBackingStore): 14452 (WebView::addToDirtyRegion): 14453 (WebView::scrollBackingStore): 14454 (WebView::updateBackingStore): 14455 (WebView::paint): 14456 (WebView::backingStore): 14457 (releaseBackingStoreCallback): deref m_backingStoreBitmap once Core 14458 Animation has dropeed its reference to the memory. 14459 (WebView::updateRootLayerContents): ref m_backingStoreBitmap before 14460 passing the memory to Core Animation to prevent deleteBackingStore() 14461 from freeing it while it is still referenced by CA. 14462 * WebView.h: Make m_backingStoreBitmap a RefCountedGDIHandle<HBITMAP>, 14463 and make m_backingStoreDirtyRegion a RefCountedGDIHandle<HRGN>. 14464 144652010-04-20 Adam Barth <abarth@webkit.org> 14466 14467 Reviewed by Eric Seidel. 14468 14469 Factor DocumentWriter out of FrameLoader 14470 https://bugs.webkit.org/show_bug.cgi?id=37175 14471 14472 Update these callsites because the method moved to DocumentWriter. 14473 14474 * WebCoreSupport/WebFrameLoaderClient.cpp: 14475 (WebFrameLoaderClient::receivedData): 14476 144772010-04-20 Kent Tamura <tkent@chromium.org> 14478 14479 Reviewed by Darin Adler. 14480 14481 Change a parameter type of chooseIconForFiles() 14482 https://bugs.webkit.org/show_bug.cgi?id=37504 14483 14484 * WebCoreSupport/WebChromeClient.cpp: 14485 (WebChromeClient::chooseIconForFiles): 14486 * WebCoreSupport/WebChromeClient.h: 14487 144882010-04-16 Gavin Barraclough <barraclough@apple.com> 14489 14490 Reviewed by NOBODY (Windows build fix). 14491 14492 * WebFrame.cpp: 14493 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): 14494 * WebView.cpp: 14495 (WebView::stringByEvaluatingJavaScriptFromString): 14496 144972010-04-16 Adam Roben <aroben@apple.com> 14498 14499 Make it possible for clients to instantiate a WebUserContentURLPattern 14500 14501 Reviewed by Tim Hatcher. 14502 14503 * ForEachCoClass.h: Added WebUserContentURLPattern to the FOR_EACH_COCLASS macro, which 14504 lists all our instantiatable classes. 14505 14506 * WebKitClassFactory.cpp: Added a now-required #include. 14507 145082010-04-15 Adam Roben <aroben@apple.com> 14509 14510 Expose UserContentURLPattern as WebKit SPI 14511 14512 Fixes <http://webkit.org/b/37354>. 14513 14514 Reviewed by Tim Hatcher. 14515 14516 * Interfaces/IWebUserContentURLPattern.idl: Added. 14517 14518 * Interfaces/WebKit.idl: Added WebUserContentURLPattern. 14519 14520 * WebKit.vcproj/Interfaces.vcproj: Added IWebUserContentURLPattern. 14521 14522 * WebKit.vcproj/WebKit.vcproj: Added WebUserContentURLPattern. 14523 14524 * WebUserContentURLPattern.cpp: Added. 14525 (WebUserContentURLPattern::WebUserContentURLPattern): 14526 (WebUserContentURLPattern::~WebUserContentURLPattern): 14527 (WebUserContentURLPattern::createInstance): 14528 (WebUserContentURLPattern::AddRef): 14529 (WebUserContentURLPattern::Release): 14530 (WebUserContentURLPattern::QueryInterface): 14531 Standard COM implementations. 14532 14533 (WebUserContentURLPattern::parse): Parse the string into a 14534 UserContentURLPattern and store it. 14535 14536 (WebUserContentURLPattern::isValid): 14537 (WebUserContentURLPattern::scheme): 14538 (WebUserContentURLPattern::host): 14539 (WebUserContentURLPattern::matchesSubdomains): 14540 Call through to UserContentURLPattern. 14541 14542 * WebUserContentURLPattern.h: Added. 14543 145442010-04-14 Adam Roben <aroben@apple.com> 14545 14546 Expose DOMWrapperWorld::unregisterWorld as WebKit SPI on Windows 14547 14548 Fixes <http://webkit.org/b/37619>. 14549 14550 Reviewed by Steve Falkenburg. 14551 14552 * Interfaces/IWebScriptWorld.idl: Added unregisterWorld. 14553 14554 * Interfaces/WebKit.idl: Touched to force a build. 14555 14556 * WebScriptWorld.cpp: 14557 (WebScriptWorld::unregisterWorld): 14558 * WebScriptWorld.h: 14559 Added. Just calls through to DOMWrapperWorld::unregisterWorld. 14560 145612010-04-12 Timothy Hatcher <timothy@apple.com> 14562 14563 SecurityOrigin needs a way to remove individual OriginAccessEntries 14564 https://bugs.webkit.org/show_bug.cgi?id=37449 14565 14566 Reviewed by Dave Hyatt. 14567 14568 * Interfaces/IWebViewPrivate.idl: 14569 * WebView.cpp: 14570 (WebView::removeOriginAccessWhitelistEntry): Call SecurityOrigin::removeOriginAccessWhitelistEntry. 14571 * WebView.h: Added removeOriginAccessWhitelistEntry. 14572 145732010-04-13 Timothy Hatcher <timothy@apple.com> 14574 14575 Rename SecurityOrigin::whiteListAccessFromOrigin to addOriginAccessWhitelistEntry. 14576 And SecurityOrigin::resetOriginAccessWhiteLists to resetOriginAccessWhitelists. 14577 14578 SecurityOrigin needs a way to remove individual OriginAccessEntries 14579 https://bugs.webkit.org/show_bug.cgi?id=37449 14580 14581 Reviewed by Dave Hyatt. 14582 14583 * Interfaces/IWebViewPrivate.idl: 14584 * WebView.cpp: 14585 (WebView::addOriginAccessWhitelistEntry): 14586 (WebView::resetOriginAccessWhitelists): 14587 * WebView.h: 14588 145892010-04-11 Sheriff Bot <webkit.review.bot@gmail.com> 14590 14591 Unreviewed, rolling out r57468. 14592 http://trac.webkit.org/changeset/57468 14593 https://bugs.webkit.org/show_bug.cgi?id=37433 14594 14595 Broke the world... Must have applied the patch wrong 14596 (Requested by abarth on #webkit). 14597 14598 * WebCoreSupport/WebFrameLoaderClient.cpp: 14599 (WebFrameLoaderClient::receivedData): 14600 146012010-04-11 Adam Barth <abarth@webkit.org> 14602 14603 Reviewed by Eric Seidel. 14604 14605 Factor DocumentWriter out of FrameLoader 14606 https://bugs.webkit.org/show_bug.cgi?id=37175 14607 14608 Update these callsites because the method moved to DocumentWriter. 14609 14610 * WebCoreSupport/WebFrameLoaderClient.cpp: 14611 (WebFrameLoaderClient::receivedData): 14612 146132010-04-09 Adam Roben <aroben@apple.com> 14614 14615 Windows Debug/Release build fix after r57244 14616 14617 * WebKit.vcproj/WebKit.vcproj: Don't delay-load QuartzCore.dll or 14618 QuartzCoreInterface.dll in any configurations. r57244 made this change 14619 only for Debug_Internal. 14620 146212010-04-08 Steve Falkenburg <sfalken@apple.com> 14622 14623 Reviewed by Darin Adler. 14624 14625 WebView::isLoading should null check m_mainFrame 14626 https://bugs.webkit.org/show_bug.cgi?id=37294 14627 14628 * WebView.cpp: 14629 (WebView::isLoading): 14630 146312010-04-07 Chris Marrin <cmarrin@apple.com> 14632 14633 Reviewed by Steve Falkenburg. 14634 14635 Remove QuartzCoreInterface from the build 14636 14637 No longer needed since QuartzCore.dll is now included in the latest Safari release (4.0.5). 14638 14639 * WebKit.vcproj/WebKit.vcproj:Removed delay load for QuartzCore and QuartzCoreInterface 14640 146412010-04-07 Andrey Kosyakov <caseq@chromium.org> 14642 14643 Reviewed by Yury Semikhatsky. 14644 14645 Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest() 14646 https://bugs.webkit.org/show_bug.cgi?id=36949 14647 14648 * WebCoreSupport/WebFrameLoaderClient.cpp: 14649 * WebCoreSupport/WebFrameLoaderClient.h: 14650 146512010-04-05 Peter Nelson <charn.opcode@gmail.com> 14652 14653 Reviewed by Eric Seidel. 14654 14655 Fixed style errors in DOMCoreClasses.h to bring it up to scratch 14656 for https://bugs.webkit.org/show_bug.cgi?id=34979. 14657 14658 * DOMCoreClasses.h: 14659 (DOMObject::throwException): 14660 (DOMObject::callWebScriptMethod): 14661 (DOMObject::evaluateWebScript): 14662 (DOMObject::removeWebScriptKey): 14663 (DOMObject::stringRepresentation): 14664 (DOMObject::webScriptValueAtIndex): 14665 (DOMObject::setWebScriptValueAtIndex): 14666 (DOMObject::setException): 14667 (DOMNodeList::throwException): 14668 (DOMNodeList::callWebScriptMethod): 14669 (DOMNodeList::evaluateWebScript): 14670 (DOMNodeList::removeWebScriptKey): 14671 (DOMNodeList::stringRepresentation): 14672 (DOMNodeList::webScriptValueAtIndex): 14673 (DOMNodeList::setWebScriptValueAtIndex): 14674 (DOMNodeList::setException): 14675 (DOMDocument::throwException): 14676 (DOMDocument::callWebScriptMethod): 14677 (DOMDocument::evaluateWebScript): 14678 (DOMDocument::removeWebScriptKey): 14679 (DOMDocument::stringRepresentation): 14680 (DOMDocument::webScriptValueAtIndex): 14681 (DOMDocument::setWebScriptValueAtIndex): 14682 (DOMDocument::setException): 14683 (DOMDocument::nodeName): 14684 (DOMDocument::nodeValue): 14685 (DOMDocument::setNodeValue): 14686 (DOMDocument::nodeType): 14687 (DOMDocument::parentNode): 14688 (DOMDocument::childNodes): 14689 (DOMDocument::firstChild): 14690 (DOMDocument::lastChild): 14691 (DOMDocument::previousSibling): 14692 (DOMDocument::nextSibling): 14693 (DOMDocument::attributes): 14694 (DOMDocument::ownerDocument): 14695 (DOMDocument::insertBefore): 14696 (DOMDocument::replaceChild): 14697 (DOMDocument::removeChild): 14698 (DOMDocument::appendChild): 14699 (DOMDocument::hasChildNodes): 14700 (DOMDocument::cloneNode): 14701 (DOMDocument::isSupported): 14702 (DOMDocument::namespaceURI): 14703 (DOMDocument::prefix): 14704 (DOMDocument::setPrefix): 14705 (DOMDocument::localName): 14706 (DOMDocument::hasAttributes): 14707 (DOMDocument::isSameNode): 14708 (DOMDocument::isEqualNode): 14709 (DOMDocument::textContent): 14710 (DOMDocument::setTextContent): 14711 (DOMElement::throwException): 14712 (DOMElement::callWebScriptMethod): 14713 (DOMElement::evaluateWebScript): 14714 (DOMElement::removeWebScriptKey): 14715 (DOMElement::stringRepresentation): 14716 (DOMElement::webScriptValueAtIndex): 14717 (DOMElement::setWebScriptValueAtIndex): 14718 (DOMElement::setException): 14719 (DOMElement::nodeName): 14720 (DOMElement::nodeValue): 14721 (DOMElement::setNodeValue): 14722 (DOMElement::nodeType): 14723 (DOMElement::parentNode): 14724 (DOMElement::childNodes): 14725 (DOMElement::firstChild): 14726 (DOMElement::lastChild): 14727 (DOMElement::previousSibling): 14728 (DOMElement::nextSibling): 14729 (DOMElement::attributes): 14730 (DOMElement::ownerDocument): 14731 (DOMElement::insertBefore): 14732 (DOMElement::replaceChild): 14733 (DOMElement::removeChild): 14734 (DOMElement::appendChild): 14735 (DOMElement::hasChildNodes): 14736 (DOMElement::cloneNode): 14737 (DOMElement::isSupported): 14738 (DOMElement::namespaceURI): 14739 (DOMElement::prefix): 14740 (DOMElement::setPrefix): 14741 (DOMElement::localName): 14742 (DOMElement::hasAttributes): 14743 (DOMElement::isSameNode): 14744 (DOMElement::isEqualNode): 14745 (DOMElement::textContent): 14746 (DOMElement::setTextContent): 14747 147482010-04-05 Alexey Proskuryakov <ap@apple.com> 14749 14750 Reviewed by Darin Adler. 14751 14752 https://bugs.webkit.org/show_bug.cgi?id=37111 14753 <rdar://problem/7790327> Draw replacement text when plug-in host crashes 14754 14755 * WebCoreLocalizedStrings.cpp: (WebCore::crashedPluginText): Added a stub string for plug-in 14756 failure. 14757 147582010-04-02 Rafael Weinstein <rafaelw@chromium.org> 14759 14760 Reviewed by Adam Barth. 14761 14762 Clean up unused calls after changes to checkPermission and requestPermission argument lists. 14763 14764 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: 14765 (WebDesktopNotificationsDelegate::requestPermission): 14766 * WebCoreSupport/WebDesktopNotificationsDelegate.h: 14767 147682010-04-01 Chris Marrin <cmarrin@apple.com> 14769 14770 Reviewed by Simon Fraser. 14771 14772 Added layerTreeAsText function to DRT (for Mac) 14773 https://bugs.webkit.org/show_bug.cgi?id=36782 14774 14775 This is the WebKit side for Windows. It plumbs the 14776 call from WebCore to DRT. 14777 14778 * Interfaces/IWebFramePrivate.idl: 14779 * WebFrame.cpp:WebKit (Windows) side of plumbing 14780 (WebFrame::layerTreeAsText): 14781 * WebFrame.h: 14782 147832010-03-31 Marcus Bulach <bulach@chromium.org> 14784 14785 Reviewed by Jeremy Orlow. 14786 14787 Adds Geolocation param for cancelGeolocationPermissionRequestForFrame. 14788 https://bugs.webkit.org/show_bug.cgi?id=35031 14789 14790 * WebCoreSupport/WebChromeClient.h: 14791 (WebChromeClient::cancelGeolocationPermissionRequestForFrame): 14792 147932010-03-30 Gavin Barraclough <barraclough@apple.com> 14794 14795 Rubber stamped by Sam Weinig. 14796 14797 https://bugs.webkit.org/show_bug.cgi?id=36866 14798 Move CString to WTF 14799 14800 * WebDownload.cpp: 14801 * WebDownloadCFNet.cpp: 14802 * WebDownloadCurl.cpp: 14803 * WebHistoryItem.cpp: 14804 * WebLocalizableStrings.cpp: 14805 * WebMutableURLRequest.cpp: 14806 * WebPreferences.cpp: 14807 (WebPreferences::migrateWebKitPreferencesToCFPreferences): 14808 * WebView.cpp: 14809 148102010-03-30 Adam Roben <aroben@apple.com> 14811 14812 Windows build fix 14813 14814 * Interfaces/WebKit.idl: Touched this to force a build. 14815 148162010-03-29 Steve Falkenburg <sfalken@apple.com> 14817 14818 Reviewed by Adele Peterson. 14819 14820 Default value of accelerated compositing should be false for Windows 14821 https://bugs.webkit.org/show_bug.cgi?id=36805 14822 14823 * WebPreferences.cpp: 14824 (WebPreferences::initializeDefaultSettings): 14825 148262010-03-29 Rafael Weinstein <rafaelw@chromium.org> 14827 14828 Reviewed by Adam Barth. 14829 14830 Change NotificationPresenter::checkPermission() to take the source frames full KURL, 14831 rather than its SecurityOrigin. This will aid chromium in having more fine grained 14832 permissions to control notification spam. 14833 14834 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: 14835 (WebDesktopNotificationsDelegate::checkPermission): 14836 * WebCoreSupport/WebDesktopNotificationsDelegate.h: 14837 148382010-03-26 Kenneth Rohde Christiansen <kenneth@webkit.org> 14839 14840 Reviewed by Antti Koivisto. 14841 14842 Change method name due to it dealing with both flattening 14843 of frame sets and inner frames. 14844 14845 * Interfaces/IWebPreferencesPrivate.idl: 14846 * WebPreferenceKeysPrivate.h: 14847 * WebPreferences.cpp: 14848 (WebPreferences::initializeDefaultSettings): 14849 (WebPreferences::isFrameFlatteningEnabled): 14850 (WebPreferences::setFrameFlatteningEnabled): 14851 * WebPreferences.h: 14852 * WebView.cpp: 14853 (WebView::notifyPreferencesChanged): 14854 148552010-03-24 Jon Honeycutt <jhoneycutt@apple.com> 14856 14857 <rdar://problem/7780798> Missing plug-ins should be represented by text 14858 only, instead of lego block 14859 14860 https://bugs.webkit.org/show_bug.cgi?id=36583 14861 14862 Reviewed by Dan Bernstein. 14863 14864 * WebCoreSupport/WebFrameLoaderClient.cpp: 14865 (WebFrameLoaderClient::createPlugin): 14866 Return 0 if we failed to initialize the plug-in, which causes the new 14867 "missing plug-in" text to draw. 14868 148692010-03-24 Kent Tamura <tkent@chromium.org> 14870 14871 Reviewed by Darin Adler. 14872 14873 Make Icon::createIconForFiles() optional. 14874 https://bugs.webkit.org/show_bug.cgi?id=35072 14875 14876 - Rename iconForFiles() to chooseIconForFiles(). 14877 - Call Icon::createIconForFiles() from chooseIconForFiles(). 14878 14879 * WebCoreSupport/WebChromeClient.cpp: 14880 (WebChromeClient::chooseIconForFiles): 14881 * WebCoreSupport/WebChromeClient.h: 14882 148832010-03-22 Darin Adler <darin@apple.com> 14884 14885 * WebCoreLocalizedStrings.cpp: 14886 (WebCore::missingPluginText): Fixed localization helper text to match the same 14887 string from Mac WebKit. 14888 148892010-03-22 Kevin Decker <kdecker@apple.com> 14890 14891 Reviewed by John Sullivan. 14892 14893 https://bugs.webkit.org/show_bug.cgi?id=36328 14894 14895 * WebCoreLocalizedStrings.cpp: 14896 (WebCore::missingPluginText): Added. 14897 148982010-03-17 Enrica Casucci <enrica@apple.com> 14899 14900 Reviewed by Darin Adler. 14901 14902 Missing support for showing compositing layers borders and repaint count on Windows. 14903 <rdar://problem/7760736> 14904 <https://bugs.webkit.org/show_bug.cgi?id=36197> 14905 14906 * Interfaces/IWebPreferencesPrivate.idl: 14907 * WebPreferenceKeysPrivate.h: 14908 * WebPreferences.cpp: 14909 (WebPreferences::initializeDefaultSettings): 14910 (WebPreferences::showDebugBorders): 14911 (WebPreferences::setShowDebugBorders): 14912 (WebPreferences::showRepaintCounter): 14913 (WebPreferences::setShowRepaintCounter): 14914 * WebPreferences.h: 14915 * WebView.cpp: 14916 (WebView::notifyPreferencesChanged): 14917 149182010-03-16 Yury Semikhatsky <yurys@chromium.org> 14919 14920 Reviewed by Pavel Feldman. 14921 14922 Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost. 14923 14924 Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder 14925 https://bugs.webkit.org/show_bug.cgi?id=35036 14926 14927 * WebCoreSupport/WebInspectorClient.cpp: 14928 (WebInspectorClient::WebInspectorClient): 14929 (WebInspectorClient::~WebInspectorClient): 14930 (WebInspectorClient::openInspectorFrontend): 14931 (WebInspectorClient::highlight): 14932 (WebInspectorClient::hideHighlight): 14933 (WebInspectorClient::updateHighlight): 14934 (WebInspectorFrontendClient::WebInspectorFrontendClient): 14935 (WebInspectorFrontendClient::~WebInspectorFrontendClient): 14936 (WebInspectorFrontendClient::frontendLoaded): 14937 (WebInspectorFrontendClient::localizedStringsURL): 14938 (WebInspectorFrontendClient::hiddenPanels): 14939 (WebInspectorFrontendClient::bringToFront): 14940 (WebInspectorFrontendClient::closeWindow): 14941 (WebInspectorFrontendClient::attachWindow): 14942 (WebInspectorFrontendClient::detachWindow): 14943 (WebInspectorFrontendClient::setAttachedWindowHeight): 14944 (WebInspectorFrontendClient::inspectedURLChanged): 14945 (WebInspectorFrontendClient::closeWindowWithoutNotifications): 14946 (WebInspectorFrontendClient::showWindowWithoutNotifications): 14947 (WebInspectorFrontendClient::destroyInspectorView): 14948 (WebInspectorFrontendClient::updateWindowTitle): 14949 (WebInspectorFrontendClient::onGetMinMaxInfo): 14950 (WebInspectorFrontendClient::onSize): 14951 (WebInspectorFrontendClient::onClose): 14952 (WebInspectorFrontendClient::onSetFocus): 14953 (WebInspectorFrontendClient::onWebViewWindowPosChanging): 14954 (WebInspectorWndProc): 14955 (WebInspectorFrontendClient::windowReceivedMessage): 14956 * WebCoreSupport/WebInspectorClient.h: 14957 (WebInspectorClient::frontendClosing): 14958 * WebInspector.cpp: 14959 (WebInspector::attach): 14960 (WebInspector::detach): 14961 149622010-03-14 Dan Bernstein <mitz@apple.com> 14963 14964 Reviewed by Darin Adler. 14965 14966 WebKit part of removing support for legacy versions of Core Graphics 14967 14968 * WebKitClassFactory.cpp: 14969 (WebKitClassFactory::WebKitClassFactory): Removed call to populateFontDatabase(). 14970 * WebKitGraphics.cpp: 14971 (makeFont): Ditto. 14972 * WebTextRenderer.cpp: 14973 (WebTextRenderer::registerPrivateFont): Removed call to wkAddFontsAtPath(). 14974 149752010-03-12 Enrica Casucci <enrica@apple.com> 14976 14977 Fixed broken build on Windows. 14978 Added contditional compilation for accelerated compositing. 14979 14980 * WebView.cpp: 14981 (WebView::deleteBackingStore): 14982 (WebView::addToDirtyRegion): 14983 (WebView::updateBackingStore): 14984 149852010-03-12 Beth Dakin <bdakin@apple.com> 14986 14987 Reviewed by Simon Fraser. 14988 14989 Fix for https://bugs.webkit.org/show_bug.cgi?id=34942 Fullscreen 14990 API naming is inconsistent 14991 -and corresponding- 14992 <rdar://problem/7729165> 14993 14994 This patch changes all occurrences of "fullScreen" to the more 14995 popular "fullscreen." 14996 14997 * FullscreenVideoController.cpp: 14998 (FullscreenVideoController::onMouseDown): 14999 (FullscreenVideoController::onMouseMove): 15000 (FullscreenVideoController::onMouseUp): 15001 * FullscreenVideoController.h: 15002 (FullscreenVideoController::fullscreenToHUDCoordinates): 15003 150042010-03-12 Beth Dakin <bdakin@apple.com> 15005 15006 Reviewed by Adam Roben. 15007 15008 Fix for https://bugs.webkit.org/show_bug.cgi?id=33739 Fullscreen 15009 video HUD stays on top when switching to another window (e.g. via 15010 Alt-Tab) 15011 -and corresponding- 15012 <rdar://problem/7547574> 15013 15014 The HUD was always on top because it had the WS_EX_TOPMOST style. 15015 So I removed the style and made m_videoWindow the owner of 15016 m_hudWindow. This keeps m_hudWindow on top only when m_videoWindow 15017 is the focused window. 15018 15019 * FullscreenVideoController.cpp: 15020 (FullscreenVideoController::exitFullscreen): ASSERT that movie()->exitFullscreen() also destroyed the hud. 15021 (FullscreenVideoController::createHUDWindow): 15022 150232010-03-12 Enrica Casucci <enrica@apple.com> 15024 15025 Reviewed by Simon Fraser. 15026 15027 Content of 3D tests appears at the bottom right corner sometimes. 15028 <rdar://problem/7556244> 15029 <https://bugs.webkit.org/show_bug.cgi?id=36027> 15030 15031 See detailed comments in WebCore/ChangeLog. 15032 15033 * WebView.cpp: 15034 (WebView::deleteBackingStore): Reset the dirty flag when deleting the backing store. 15035 (WebView::addToDirtyRegion): Set the dirty flag when adding dirty rectangles to the 15036 backing store dirty region. 15037 (WebView::updateBackingStore): Reset the dirty flag after painting into the backing store. 15038 (WebView::setAcceleratedCompositing): Removed unnecessary call to updateRootLayerContents. 15039 (WebView::updateRootLayerContents): Changed the way we pass parameters to setScrollFrame. 15040 We are passing width and height of the view content together with the offset for the scrolling. 15041 It was confusing to pass it all as a rectangle, when it is not a rectangle. 15042 150432010-03-11 Aaron Boodman <aa@chromium.org> 15044 15045 Kill WebDocument::applicationID() (part 1). 15046 15047 Modify interface to WebCore::NotificationPresenter::checkPermission() 15048 and remove implementation of WebDocument::applicationID(). Breaking 15049 API changes will be in a subsequent change. 15050 https://bugs.webkit.org/show_bug.cgi?id=35846 15051 15052 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: 15053 (WebDesktopNotificationsDelegate::checkPermission): 15054 * WebCoreSupport/WebDesktopNotificationsDelegate.h: 15055 150562010-03-11 Anders Carlsson <andersca@apple.com> 15057 15058 Reviewed by David Hyatt. 15059 15060 Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents. 15061 15062 * WebCoreSupport/WebChromeClient.cpp: 15063 * WebCoreSupport/WebChromeClient.h: 15064 150652010-03-10 Eric Uhrhane <ericu@chromium.org> 15066 15067 Reviewed by David Levin. 15068 15069 The build fix for my patch on bug #35763 wasn't quite right--it removed 15070 the call entirely, instead of replacing it with the new API. This adds 15071 the call to Database::setIsAvailable. 15072 15073 https://bugs.webkit.org/show_bug.cgi?id=35763 15074 15075 * WebView.cpp: Added a call to Database::setIsAvailable where change 55667 removed the old Settings API call <http://trac.webkit.org/changeset/55667>. 15076 (WebView::notifyPreferencesChanged): 15077 150782010-03-10 John Sullivan <sullivan@apple.com> 15079 15080 Reviewed by Tim Hatcher. 15081 15082 <rdar://problem/7735387> input type other than text won't work with autofill 15083 <https://bugs.webkit.org/show_bug.cgi?id=35963> 15084 15085 * WebFrame.cpp: 15086 (WebFrame::elementDoesAutoComplete): 15087 Return true for any text field that's not a password, rather than only 15088 for TEXT type. 15089 150902010-03-09 Brady Eidson <beidson@apple.com> 15091 15092 Reviewed by Tim Hatcher. 15093 15094 REGRESSION: WebInspector docking busted on Windows 15095 <rdar://problem/7728433> and https://bugs.webkit.org/show_bug.cgi?id=35953 15096 15097 * WebCoreSupport/WebInspectorClient.cpp: 15098 (WebInspectorClient::attachWindow): Use the InspectorController:: copy of the should attach settings key. 15099 (WebInspectorClient::detachWindow): Ditto. 15100 (WebInspectorClient::showWindowWithoutNotifications): Ditto. 15101 151022010-03-09 John Sullivan <sullivan@apple.com> 15103 15104 Fixed localized string key collision. update-webkit-localized-strings now 15105 runs without errors. 15106 15107 Reviewed by Adam Roben. 15108 15109 * WebCoreLocalizedStrings.cpp: 15110 (WebCore::AXMenuListPopupActionVerb): 15111 Used LPCTSTR_UI_STRING_KEY for the 2nd use of "press". 15112 151132010-03-08 Adam Treat <atreat@rim.com> 15114 15115 Unreviewed build fix for Windows. 15116 15117 * WebCoreSupport/WebChromeClient.cpp: 15118 (WebChromeClient::invalidateContents): 15119 151202010-03-02 Adam Treat <atreat@rim.com> 15121 15122 Reviewed by Dave Hyatt. 15123 15124 Adapt the win port to the refactoring of repaint methods. 15125 15126 https://bugs.webkit.org/show_bug.cgi?id=34214 15127 15128 * WebCoreSupport/WebChromeClient.cpp: 15129 (WebChromeClient::invalidateContents): 15130 (WebChromeClient::invalidateWindow): 15131 (WebChromeClient::invalidateContentsAndWindow): 15132 (WebChromeClient::invalidateContentsForSlowScroll): 15133 * WebCoreSupport/WebChromeClient.h: 15134 151352010-03-08 Daniel Bates <dbates@rim.com> 15136 15137 Unreviewed, build fix. 15138 15139 Attempt to fix the Windows builds by applying the corresponding change 15140 made in bug #35763 <https://bugs.webkit.org/show_bug.cgi?id=35763>. 15141 15142 * WebView.cpp: Removed call to settings->setDatabasesEnabled since this 15143 setting no longer exists following changeset 55666 <http://trac.webkit.org/changeset/55666>. 15144 (WebView::notifyPreferencesChanged): 15145 151462010-03-07 Mark Rowe <mrowe@apple.com> 15147 15148 Windows build fix. 15149 15150 * WebKitPrefix.h: Include CoreFoundation/CoreFoundation.h from the Windows prefix header 15151 since some WebCore headers rely on the types declared within being available via the prefix 15152 header. 15153 151542010-03-05 Chris Marrin <cmarrin@apple.com> 15155 15156 Reviewed by Simon Fraser. 15157 15158 Got rid of platformLayer use in WebView. 15159 https://bugs.webkit.org/show_bug.cgi?id=35798 15160 15161 WKCACFLayer no longer depends on GraphicsLayer, so I got rid of 15162 that dependency on WebView. Now WebChromeClient casts platformLayer 15163 to WKCACFLayer which will always be the case on Windows. 15164 15165 * WebCoreSupport/WebChromeClient.cpp: 15166 (WebChromeClient::attachRootGraphicsLayer): 15167 * WebView.cpp: 15168 (WebView::setRootChildLayer): 15169 * WebView.h: 15170 151712010-03-04 Beth Dakin <bdakin@apple.com> 15172 15173 Reviewed by Anders Carlsson. 15174 15175 WebCore::Page::setInstanceHandle() is now just 15176 WebCore::setInstanceHandle() 15177 15178 * WebKitDLL.cpp: 15179 (DllMain): 15180 151812010-03-03 Alice Liu <alice.liu@apple.com> 15182 15183 Reviewed by Jon Honeycutt. 15184 15185 Add a way to get an iframe's content frame 15186 15187 * DOMCoreClasses.cpp: 15188 (DOMElement::createInstance): 15189 Added case for DOMHTMLIFrameElement 15190 * DOMHTMLClasses.cpp: 15191 Adding the few DOMHTMLIFrameElement functions definitions that have 15192 distinct implementations (all others just call parent implementation) 15193 (DOMHTMLIFrameElement::QueryInterface): 15194 (DOMHTMLIFrameElement::contentFrame): 15195 * DOMHTMLClasses.h: 15196 Most of these function declarations have definitions that just call the parent implementation 15197 (DOMHTMLIFrameElement::DOMHTMLIFrameElement): 15198 (DOMHTMLIFrameElement::AddRef): 15199 (DOMHTMLIFrameElement::Release): 15200 (DOMHTMLIFrameElement::throwException): 15201 (DOMHTMLIFrameElement::callWebScriptMethod): 15202 (DOMHTMLIFrameElement::evaluateWebScript): 15203 (DOMHTMLIFrameElement::removeWebScriptKey): 15204 (DOMHTMLIFrameElement::stringRepresentation): 15205 (DOMHTMLIFrameElement::webScriptValueAtIndex): 15206 (DOMHTMLIFrameElement::setWebScriptValueAtIndex): 15207 (DOMHTMLIFrameElement::setException): 15208 (DOMHTMLIFrameElement::nodeName): 15209 (DOMHTMLIFrameElement::nodeValue): 15210 (DOMHTMLIFrameElement::setNodeValue): 15211 (DOMHTMLIFrameElement::nodeType): 15212 (DOMHTMLIFrameElement::parentNode): 15213 (DOMHTMLIFrameElement::childNodes): 15214 (DOMHTMLIFrameElement::firstChild): 15215 (DOMHTMLIFrameElement::lastChild): 15216 (DOMHTMLIFrameElement::previousSibling): 15217 (DOMHTMLIFrameElement::nextSibling): 15218 (DOMHTMLIFrameElement::attributes): 15219 (DOMHTMLIFrameElement::ownerDocument): 15220 (DOMHTMLIFrameElement::insertBefore): 15221 (DOMHTMLIFrameElement::replaceChild): 15222 (DOMHTMLIFrameElement::removeChild): 15223 (DOMHTMLIFrameElement::appendChild): 15224 (DOMHTMLIFrameElement::hasChildNodes): 15225 (DOMHTMLIFrameElement::cloneNode): 15226 (DOMHTMLIFrameElement::normalize): 15227 (DOMHTMLIFrameElement::isSupported): 15228 (DOMHTMLIFrameElement::namespaceURI): 15229 (DOMHTMLIFrameElement::prefix): 15230 (DOMHTMLIFrameElement::setPrefix): 15231 (DOMHTMLIFrameElement::localName): 15232 (DOMHTMLIFrameElement::hasAttributes): 15233 (DOMHTMLIFrameElement::isSameNode): 15234 (DOMHTMLIFrameElement::isEqualNode): 15235 (DOMHTMLIFrameElement::textContent): 15236 (DOMHTMLIFrameElement::setTextContent): 15237 (DOMHTMLIFrameElement::tagName): 15238 (DOMHTMLIFrameElement::getAttribute): 15239 (DOMHTMLIFrameElement::setAttribute): 15240 (DOMHTMLIFrameElement::removeAttribute): 15241 (DOMHTMLIFrameElement::getAttributeNode): 15242 (DOMHTMLIFrameElement::setAttributeNode): 15243 (DOMHTMLIFrameElement::removeAttributeNode): 15244 (DOMHTMLIFrameElement::getElementsByTagName): 15245 (DOMHTMLIFrameElement::getAttributeNS): 15246 (DOMHTMLIFrameElement::setAttributeNS): 15247 (DOMHTMLIFrameElement::removeAttributeNS): 15248 (DOMHTMLIFrameElement::getAttributeNodeNS): 15249 (DOMHTMLIFrameElement::setAttributeNodeNS): 15250 (DOMHTMLIFrameElement::getElementsByTagNameNS): 15251 (DOMHTMLIFrameElement::hasAttribute): 15252 (DOMHTMLIFrameElement::hasAttributeNS): 15253 (DOMHTMLIFrameElement::focus): 15254 (DOMHTMLIFrameElement::blur): 15255 (DOMHTMLIFrameElement::idName): 15256 (DOMHTMLIFrameElement::setIdName): 15257 (DOMHTMLIFrameElement::title): 15258 (DOMHTMLIFrameElement::setTitle): 15259 (DOMHTMLIFrameElement::lang): 15260 (DOMHTMLIFrameElement::setLang): 15261 (DOMHTMLIFrameElement::dir): 15262 (DOMHTMLIFrameElement::setDir): 15263 (DOMHTMLIFrameElement::className): 15264 (DOMHTMLIFrameElement::setClassName): 15265 (DOMHTMLIFrameElement::innerHTML): 15266 (DOMHTMLIFrameElement::setInnerHTML): 15267 (DOMHTMLIFrameElement::innerText): 15268 (DOMHTMLIFrameElement::setInnerText): 15269 * Interfaces/DOMHTML.idl: 15270 Added IDOMHTMLIFrameElement interface 15271 152722010-03-03 Chris Marrin <cmarrin@apple.com> 15273 15274 Reviewed by Simon Fraser. 15275 15276 Export acceleratedCompositing flag in IWebPreferences. 15277 https://bugs.webkit.org/show_bug.cgi?id=35610 15278 15279 * Interfaces/IWebPreferences.idl: 15280 152812010-03-02 Beth Dakin <bdakin@apple.com> 15282 15283 Reviewed by Darin Adler and Adam Roben. 15284 15285 Tiny WebKit portion of fix for <rdar://problem/7485289> WebKit 15286 crashes on systems that don't support CoreAnimation 15287 15288 setHostWindow() no longer calls createRenderer(), so now that has 15289 to be called manually. 15290 15291 * WebView.cpp: 15292 (WebView::setAcceleratedCompositing): 15293 152942010-03-02 Adam Roben <aroben@apple.com> 15295 15296 Add IWebViewPrivate::registerURLSchemeAsSecure 15297 15298 Fixes <http://webkit.org/b/35580> <rdar://problem/7706407> Expose 15299 SecurityOrigin::registerURLSchemeAsSecure as WebKit SPI 15300 15301 Reviewed by Tim Hatcher. 15302 15303 * Interfaces/WebKit.idl: Touched to force a build. 15304 15305 * Interfaces/IWebViewPrivate.idl: 15306 * WebView.cpp: 15307 (WebView::registerURLSchemeAsSecure): 15308 * WebView.h: 15309 Added. Calls through to SecurityOrigin::registerURLSchemeAsSecure. 15310 153112010-03-01 Jon Honeycutt <jhoneycutt@apple.com> 15312 15313 Remove Windows line endings from some files. 15314 15315 Rubber-stamped by Alice Liu. 15316 15317 * Interfaces/IWebEmbeddedView.idl: 15318 15319 * WebCoreSupport/EmbeddedWidget.cpp: 15320 (EmbeddedWidget::create): 15321 (EmbeddedWidget::~EmbeddedWidget): 15322 (EmbeddedWidget::createWindow): 15323 (EmbeddedWidget::invalidateRect): 15324 (EmbeddedWidget::setFrameRect): 15325 (EmbeddedWidget::frameRectsChanged): 15326 (EmbeddedWidget::setFocus): 15327 (EmbeddedWidget::show): 15328 (EmbeddedWidget::hide): 15329 (EmbeddedWidget::windowClipRect): 15330 (EmbeddedWidget::setParent): 15331 (EmbeddedWidget::attachToWindow): 15332 (EmbeddedWidget::detachFromWindow): 15333 (EmbeddedWidget::didReceiveResponse): 15334 (EmbeddedWidget::didReceiveData): 15335 (EmbeddedWidget::didFinishLoading): 15336 (EmbeddedWidget::didFail): 15337 15338 * WebCoreSupport/EmbeddedWidget.h: 15339 (EmbeddedWidget::EmbeddedWidget): 15340 153412010-03-01 Jon Honeycutt <jhoneycutt@apple.com> 15342 15343 Some WebKit DOMNode API is unimplemented. 15344 https://bugs.webkit.org/show_bug.cgi?id=35554 15345 15346 Reviewed by Alice Liu. 15347 15348 * DOMCoreClasses.cpp: 15349 (DOMNode::nextSibling): 15350 Create a DOMNode to wrap m_node's next sibling, and assign it to the 15351 out param 'result'. 15352 (DOMNode::insertBefore): 15353 Query for the DOMNode for newChild, and return early if we fail. Query 15354 refChild for DOMNode. Call insertBefore(), passing the newChild's 15355 WebCore node and refChild's WebCore node (if refChild is non-null). If 15356 we successfully insert the child, fill the result out param with 15357 newChild, ref it, and return S_OK. Otherwise, return E_FAIL. 15358 (DOMNode::removeChild): 15359 Query oldChild for DOMNode. If we fail, return E_FAIL. Call 15360 removeChild(), passing the node's WebCore node. If this fails, return 15361 E_FAIL. Otherwise, fill the result out param with oldChild, ref it, and 15362 return S_OK. 15363 153642010-03-01 Jakob Petsovits <jpetsovits@rim.com> 15365 15366 Reviewed by Adam Barth. 15367 15368 Adapt to the new ZoomMode enum. 15369 https://bugs.webkit.org/show_bug.cgi?id=35347 15370 15371 * WebFrame.cpp: 15372 (WebFrame::setTextSizeMultiplier): 15373 * WebView.cpp: 15374 (WebView::setZoomMultiplier): 15375 (WebView::zoomMultiplier): 15376 (WebView::canMakeTextLarger): 15377 (WebView::makeTextLarger): 15378 (WebView::canMakeTextSmaller): 15379 (WebView::makeTextSmaller): 15380 (WebView::notifyPreferencesChanged): 15381 153822010-02-26 Jon Honeycutt <jhoneycutt@apple.com> 15383 15384 <rdar://problem/7703368> IWebUIDelegatePrivate::embeddedViewWithArguments 15385 is passed wrong arguments 15386 15387 Reviewed by Adam Roben. 15388 15389 * Interfaces/IWebUIDelegatePrivate.idl: 15390 Update copyright strings. Added a new key for the plug-in source URL. 15391 15392 * Interfaces/WebKit.idl: 15393 Update copyright strings. 15394 15395 * WebCoreSupport/WebFrameLoaderClient.cpp: 15396 (WebFrameLoaderClient::createPlugin): 15397 Pass the URL of the plug-in as the source URL. Pass the document's 15398 base URI for the base URL. 15399 154002010-02-23 Brady Eidson <beidson@apple.com> 15401 15402 Reviewed by Tim Hatcher and Pavel Feldman. 15403 15404 Regression (r55107) - WebInspector docking is busted. 15405 https://bugs.webkit.org/show_bug.cgi?id=35274 15406 15407 * WebCoreSupport/WebInspectorClient.cpp: 15408 (WebInspectorClient::showWindowWithoutNotifications): Swap the order of the "should attach?" check 15409 to get the expected behavior. 15410 154112010-02-23 Steve Block <steveblock@google.com> 15412 15413 Reviewed by Darin Adler. 15414 15415 Adds ChromeClient::cancelGeolocationPermissionRequestForFrame 15416 https://bugs.webkit.org/show_bug.cgi?id=34962 15417 15418 This method is required so that a Geolocation object can cancel an 15419 asynchronous permission request. This allows the chrome client to cancel 15420 any UI it is showing for the permission request. 15421 15422 * WebCoreSupport/WebChromeClient.h: 15423 (WebChromeClient::cancelGeolocationPermissionRequestForFrame): 15424 154252010-02-22 Steve Falkenburg <sfalken@apple.com> 15426 15427 Reviewed by Darin Adler. 15428 15429 WebKit on Windows should pick up system setting changes without requiring explicit API calls 15430 https://bugs.webkit.org/show_bug.cgi?id=35269 15431 15432 * WebKit.vcproj/WebKit.def: Removed WebKitSystemParameterChanged. 15433 * WebKit.vcproj/WebKit_debug.def: Removed WebKitSystemParameterChanged. 15434 * WebKitGraphics.cpp: Removed WebKitSystemParameterChanged. 15435 * WebKitGraphics.h: Removed WebKitSystemParameterChanged. 15436 * WebView.cpp: 15437 (systemParameterChanged): Call through to wkSystemFontSmoothingChanged for font changes. 15438 (WebView::windowReceivedMessage): Pick up WM_SETTINGCHANGE from windowReceivedMessage. 15439 154402010-02-22 Brady Eidson <beidson@apple.com> 15441 15442 Reviewed by Tim Hatcher. 15443 15444 Disable WebView docking to views that are too small. 15445 <rdar://problem/7248409> and https://bugs.webkit.org/show_bug.cgi?id=35254 15446 15447 * WebCoreSupport/WebInspectorClient.cpp: 15448 (WebInspectorClient::showWindowWithoutNotifications): No matter the preference, don't open the inspector 15449 window attached if WebCore says it shouldn't be attached. 15450 154512010-02-17 Steve Falkenburg <sfalken@apple.com> 15452 15453 Reviewed by Dan Bernstein. 15454 15455 WebKit on Windows needs a mechanism to listen for WM_SETTINGCHANGED messages 15456 https://bugs.webkit.org/show_bug.cgi?id=35076 15457 15458 * WebKit.vcproj/WebKit.def: Added WebKitSystemParameterChanged. 15459 * WebKit.vcproj/WebKit_debug.def: Added WebKitSystemParameterChanged. 15460 * WebKitGraphics.cpp: 15461 (WebKitSystemParameterChanged): Call through to wkSystemFontSmoothingChanged for font smoothing changes. 15462 * WebKitGraphics.h: Added WebKitSystemParameterChanged. 15463 154642010-02-17 Dmitry Titov <dimich@chromium.org> 15465 15466 Reviewed by David Levin, Darin Fisher, Simon Hausmann. 15467 15468 When a live iframe element is moved between pages, it still depends on the old page. 15469 https://bugs.webkit.org/show_bug.cgi?id=34382 15470 15471 * WebCoreSupport/WebFrameLoaderClient.cpp: 15472 (WebFrameLoaderClient::didTransferChildFrameToNewDocument): 15473 Added empty implementation of a new virtual method. 15474 15475 * WebCoreSupport/WebFrameLoaderClient.h: 15476 154772010-02-17 Kent Tamura <tkent@chromium.org> 15478 15479 Reviewed by Eric Seidel. 15480 15481 Introduces new Icon loading interface in order to support 15482 asynchronous loading. 15483 https://bugs.webkit.org/show_bug.cgi?id=32054 15484 15485 Add an empty implementation of ChromeClient::iconForFiles(). 15486 15487 * WebCoreSupport/WebChromeClient.cpp: 15488 (WebChromeClient::iconForFiles): 15489 * WebCoreSupport/WebChromeClient.h: 15490 154912010-02-17 Shinichiro Hamaji <hamaji@chromium.org> 15492 15493 Unreviewed. Touch WebKit.idl to fix the build. 15494 15495 [Win] Implement test functions for printing 15496 https://bugs.webkit.org/show_bug.cgi?id=34570 15497 15498 * Interfaces/WebKit.idl: 15499 155002010-02-17 Shinichiro Hamaji <hamaji@chromium.org> 15501 15502 Reviewed by Eric Seidel. 15503 15504 [Win] Implement test functions for printing 15505 https://bugs.webkit.org/show_bug.cgi?id=34570 15506 15507 * Interfaces/IWebFramePrivate.idl: 15508 * WebFrame.cpp: 15509 (WebFrame::pageNumberForElementById): 15510 (WebFrame::numberOfPages): 15511 * WebFrame.h: 15512 155132010-02-16 Darin Adler <darin@apple.com> 15514 15515 Reviewed by Sam Weinig. 15516 15517 Generalize delayed plug-in start for background tabs for use for other media 15518 https://bugs.webkit.org/show_bug.cgi?id=34981 15519 15520 * WebView.cpp: 15521 (WebView::setCanStartPlugins): Change to call setCanStartMedia. 15522 In a later patch we can change the of the public function in the IDL file too, 15523 but for now this should be enough. 15524 155252010-02-15 Adam Roben <aroben@apple.com> 15526 15527 Add IWebFramePrivate::visibleContentRect 15528 15529 Fixes <http://webkit.org/b/34956> Add API to get a WebFrame's visible 15530 content rect 15531 15532 Reviewed by Jon Honeycutt. 15533 15534 * Interfaces/IWebFramePrivate.idl: Added visibleContentRect. 15535 15536 * Interfaces/WebKit.idl: Touched to force a build. 15537 15538 * WebFrame.cpp: 15539 (WebFrame::visibleContentRect): 15540 * WebFrame.h: 15541 Added. Calls through to FrameView::visibleContentRect. 15542 155432010-02-12 Brian Weinstein <bweinstein@apple.com> 15544 15545 Reviewed by Adam Roben. 15546 15547 onmouseout fired when moving over tooltip on Windows 15548 https://bugs.webkit.org/show_bug.cgi?id=16794 15549 <rdar://5762038>. 15550 15551 Add WS_EX_TRANSPARENT to out tooltip HWND so it isn't subject to hit testing, and when 15552 you mouse over the tooltip, it doesn't send a mouseout to the web content. 15553 15554 * WebView.cpp: 15555 (WebView::initializeToolTipWindow): Add WS_EX_TRANSPARENT. 15556 155572010-02-10 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> 15558 15559 Reviewed by Kenneth Rohde Christiansen. 15560 15561 Support frameset flattening 15562 https://bugs.webkit.org/show_bug.cgi?id=32717 15563 15564 Add support for enabling/disabling FrameSet Flattening on the Windows port. 15565 15566 * Interfaces/IWebPreferencesPrivate.idl: 15567 * WebPreferenceKeysPrivate.h: 15568 * WebPreferences.cpp: 15569 (WebPreferences::initializeDefaultSettings): 15570 (WebPreferences::isFrameSetFlatteningEnabled): 15571 (WebPreferences::setFrameSetFlatteningEnabled): 15572 * WebPreferences.h: 15573 * WebView.cpp: 15574 (WebView::notifyPreferencesChanged): 15575 155762010-02-10 Adam Roben <aroben@apple.com> 15577 15578 Remove unnecessary #include of shfolder.h 15579 15580 shfolder.h has been deprecated in newer versions of the Windows SDK. 15581 15582 Fixes <http://webkit.org/b/34803> WebPreferences.cpp fails to compile 15583 under VS2010 RC due to #include of shfolder.h. 15584 15585 Reviewed by Darin Adler. 15586 15587 * WebPreferences.cpp: Removed #include. 15588 155892010-02-08 Charlie Reis <creis@chromium.org> 15590 15591 Reviewed by Darin Adler. 15592 15593 onbeforeunload not called at window close + frame or iframe focused 15594 https://bugs.webkit.org/show_bug.cgi?id=27481 15595 15596 Chromium and WebKit on Windows will now fire beforeunload handlers 15597 even if an inner frame is focused. 15598 15599 Layout tests aren't able to test this bug, since it requires closing 15600 the actual browser window, not calling window.close(). Instead, 15601 test with WebCore/manual-tests/onbeforeunload-focused-iframe.html. 15602 15603 * WebView.cpp: 15604 (WebView::shouldClose): 15605 156062010-02-08 Brent Fulgham <bfulgham@webkit.org> 15607 15608 Reviewed by Adam Roben. 15609 15610 Include header position in World Transform used for plugin positioning. 15611 https://bugs.webkit.org/show_bug.cgi?id=34709 15612 15613 * WebFrame.cpp: 15614 (WebFrame::spoolPage): Correct WinCairo plugin print positioning to 15615 account for header size. Existing code ignored this, causing 15616 plugins to overlay other elements. 15617 156182010-02-04 Alice Liu <alice.liu@apple.com> 15619 15620 Reviewed by Jon Honeycutt. 15621 15622 https://bugs.webkit.org/show_bug.cgi?id=34612 " MSAA: accSelect returns error 15623 codes for most elements that arent listbox or menupopup related" 15624 <rdar://problem/7436861> 15625 15626 * AccessibleBase.cpp: 15627 (AccessibleBase::accSelect): 15628 - Stop sending E_INVALIDARG for elements that request TAKE_SELECTION that 15629 aren't beneath listboxes or menupopups. This was too restrictive since 15630 any element can be selectable. 15631 - Correct the misinterpretation of MSDN's stipulation of situations involving 15632 adding, removing, and extending selection on single-select elements 15633 156342010-02-04 Brent Fulgham <bfulgham@webkit.org> 15635 15636 Reviewed by Adam Roben. 15637 15638 Properly handle margin settings when printing Plugins in WinCairo. 15639 https://bugs.webkit.org/show_bug.cgi?id=34613 15640 15641 * WebFrame.cpp: 15642 (WebFrame::spoolPage): Adjust the GraphicsContext passed to the 15643 paintContents method so that the World Transform is properly 15644 positioned to account for margin settings at the time that 15645 PluginViewWin.cpp processes the drawing operations. 15646 156472010-02-04 Brent Fulgham <bfulgham@webkit.org> 15648 15649 Reviewed by Adam Roben. 15650 15651 Properly handle margin settings in WinCairo. 15652 https://bugs.webkit.org/show_bug.cgi?id=34545 15653 15654 * WebFrame.cpp: 15655 (scaleFactor): Require the margin information as an input 15656 parameter, and use them when computing the scaling factor. 15657 (WebFrame::drawHeader): Pass margin size to scaleFactor. 15658 (WebFrame::drawFooter): Pass margin size to scaleFactor. 15659 (WebFrame::spoolPage): 15660 1. Pass margin size to scaleFactor. 15661 2. Recognize that the return value of printerMarginRect is 15662 already in device units, and therefore scale it so that 15663 the Cairo drawing is correct. 15664 3. Remove scaling call for margins in GDI code, as it is 15665 already in scaled units. 15666 156672010-02-03 Brian Weinstein <bweinstein@apple.com> 15668 15669 Reviewed by Steve Falkenburg. 15670 15671 Scroll does not work with IBM Thinkpad. 15672 <https://bugs.webkit.org/show_bug.cgi?id=14227> 15673 <rdar://7142545> 15674 15675 When initializing the WebView, add two scrollbar Windows inside of 15676 our WebView, to allow it to receive WM_VSCROLL and WM_HSCROLL events. 15677 (similar to what Firefox did in: <https://bugzilla.mozilla.org/show_bug.cgi?id=507222>. 15678 15679 Only do this if the user has installed some kind of Trackpoint driver, using an algorithm 15680 like <https://bugzilla.mozilla.org/show_bug.cgi?id=514927>. 15681 15682 Also, add code to handle WM_HSCROLL and WM_VSCROLL messages to scroll 15683 the WebView. 15684 15685 * WebView.cpp: 15686 (WebView::verticalScroll): Handle the WM_VSCROLL messages, and scroll up and down 15687 by lines or pages. 15688 (WebView::horizontalScroll): Handle the WM_HSCROLL messages, and scroll left or right 15689 by lines or pages. 15690 (WebView::WebViewWndProc): Add cases for WM_VSCROLL and WM_HSCROLL. 15691 (WebView::initWithFrame): Call shouldInitializeTrackPointHack, and if we should, create 15692 vertical and horizontal scrollbars to receive WM_VSCROLL and WM_HSCROLL messages. 15693 (WebView::shouldInitializeTrackPointHack): Check if there is a registry key for 15694 the some kind of IBM Trackpoint driver. 15695 * WebView.h: 15696 156972010-02-02 Steve Falkenburg <sfalken@apple.com> 15698 15699 Reviewed by Darin Adler. 15700 15701 Copyright year updating for Windows version resources should be automatic 15702 https://bugs.webkit.org/show_bug.cgi?id=34503 15703 15704 * WebKit.vcproj/WebKit.rc: 15705 157062010-02-02 Adam Roben <aroben@apple.com> 15707 15708 Stop copying WebCore's IDL files from SRCROOT to OBJROOT 15709 15710 WebKit doesn't use these anymore (as of r52921). 15711 15712 Part of Bug 34496: Clean up WebCore's IDL/script copying 15713 <https://bugs.webkit.org/show_bug.cgi?id=34496> 15714 15715 Reviewed by Steve Falkenburg. 15716 15717 * WebKit.vcproj/WebKit.make: 15718 157192010-01-29 Gavin Barraclough <barraclough@apple.com> 15720 15721 Reviewed by Sam Weinig + Oliver Hunt. 15722 15723 Bug 34346 - With JSC bindings, make processingUserGesture work with events in Isolated Worlds 15724 15725 Pass processeing user gensture flag to media play/pause methods. 15726 15727 * FullscreenVideoController.cpp: 15728 (FullscreenVideoController::play): 15729 (FullscreenVideoController::pause): 15730 157312010-01-29 Brian Weinstein <bweinstein@apple.com> 15732 15733 Reviewed by Adam Roben. 15734 15735 Drag and Drop: Windows uses "stop" sign as cursor when dragging 15736 https://bugs.webkit.org/show_bug.cgi?id=34305 15737 <rdar://problem/7589672> 15738 15739 Add a preference in WebKit (that defaults to false), for whether or not 15740 we should show the custom cursors during drag and drop. However, this is 15741 currently only used on Windows, and only used to hide the "drop not allowed" 15742 icon inside the WebView is the preference is set to true. 15743 15744 This will be off by default, so no change in behavior. 15745 15746 * Interfaces/IWebPreferencesPrivate.idl: Added new functions. 15747 * Interfaces/WebKit.idl: Touched to force Interfaces build. 15748 * WebDropSource.cpp: 15749 (WebDropSource::GiveFeedback): Implementation of conditional showing cursor 15750 logic. 15751 * WebPreferenceKeysPrivate.h: Added new preference key. 15752 * WebPreferences.cpp: Added new functions. 15753 (WebPreferences::setCustomDragCursorsEnabled): 15754 (WebPreferences::customDragCursorsEnabled): 15755 * WebPreferences.h: Added new functions. 15756 157572010-01-28 Jon Honeycutt <jhoneycutt@apple.com> 15758 15759 MSAA: Crash when posting a notification for a detached object 15760 15761 https://bugs.webkit.org/show_bug.cgi?id=34309 15762 <rdar://problem/7409759> 15763 15764 Reviewed by Darin Adler. 15765 15766 * AccessibleBase.cpp: 15767 (AccessibleBase::QueryService): 15768 If an unrecognized service ID is passed, return early. Otherwise, return 15769 the result of QueryInterface. 15770 (AccessibleBase::QueryInterface): 15771 Add static_casts. Check for new UUIDs. 15772 (AccessibleBase::isSameObject): 15773 Query the object for AccessibleBase. Return whether the pointers or the 15774 wrapped objects match. 15775 15776 * AccessibleBase.h: 15777 Give the class a UUID so we can query for it in isSameObject(). Inherit 15778 from IAccessibleComparable; inherit from IServiceProvider so clients can 15779 use QueryService to query for a custom interface. 15780 15781 * Interfaces/AccessibleComparable.idl: Added. Declares a function that 15782 can be called to compare to accessible objects. 15783 15784 * Interfaces/WebKit.idl: 15785 Include the new IDL. 15786 15787 * WebKit.vcproj/Interfaces.vcproj: 15788 Add the new IDL to the project. 15789 157902010-01-27 Aaron Boodman <aa@chromium.org> 15791 15792 Expand NotificationCenter::checkPermission() interface. 15793 It now passes the full URL instead of just the origin. 15794 15795 https://bugs.webkit.org/show_bug.cgi?id=34238 15796 15797 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: 15798 (WebDesktopNotificationsDelegate::checkPermission): 15799 * WebCoreSupport/WebDesktopNotificationsDelegate.h: 15800 158012010-01-27 Adam Roben <aroben@apple.com> 15802 15803 Make it possible to instantiate WebSerializedJSValue using 15804 WebKitCreateInstance 15805 15806 Reviewed by Dave Hyatt. 15807 15808 * ForEachCoClass.h: 15809 * WebKitClassFactory.cpp: 15810 Added WebSerializedJSValue. 15811 158122010-01-26 Steve Falkenburg <sfalken@apple.com> 15813 15814 Reviewed by Oliver Hunt. 15815 15816 Windows build references non-existent include paths 15817 https://bugs.webkit.org/show_bug.cgi?id=34175 15818 15819 * WebKit.vcproj/WebKit.vcproj: 15820 158212010-01-25 Steve Falkenburg <sfalken@apple.com> 15822 15823 Reviewed by Simon Fraser. 15824 15825 A WebGeolocationControllerClient is leaked for every WebView 15826 https://bugs.webkit.org/show_bug.cgi?id=34145 15827 15828 * WebCoreSupport/WebGeolocationControllerClient.cpp: 15829 (WebGeolocationControllerClient::geolocationDestroyed): Added. 15830 * WebCoreSupport/WebGeolocationControllerClient.h: 15831 158322010-01-23 Dan Bernstein <mitz@apple.com> 15833 15834 Reviewed by Maciej Stachowiak. 15835 15836 <rdar://problem/7569820> svg/custom/text-zoom.xhtml fails on Windows 15837 https://bugs.webkit.org/show_bug.cgi?id=34006 15838 15839 * WebPreferences.cpp: 15840 (WebPreferences::initializeDefaultSettings): Added WebKitZoomsTextOnlyPreferenceKey 15841 with a default value of true. 15842 158432010-01-20 Steve Falkenburg <sfalken@apple.com> 15844 15845 Reviewed by Sam Weinig. 15846 15847 Add missing implementation for WebGeolocationPosition::initWithTimestamp. 15848 15849 * WebGeolocationPosition.cpp: 15850 (WebGeolocationPosition::initWithTimestamp): Implemented. 15851 158522010-01-20 Jon Honeycutt <jhoneycutt@apple.com> 15853 15854 MSAA: accSelect() is not implemented 15855 15856 https://bugs.webkit.org/show_bug.cgi?id=33918 15857 <rdar://problem/7436861> 15858 15859 Reviewed by Darin Adler. 15860 15861 * AccessibleBase.cpp: 15862 (AccessibleBase::accSelect): 15863 If there is an invalid combination of state flags, return early. If the 15864 caller passed the "take focus" flag, focus the object. If the "take 15865 selection" flag was passed, check whether the parent object is an 15866 AccessibilityListBox; if so, call the object's setSelectedChildren() 15867 function. If the parent is an AccessibilityMenuListPopup, call the 15868 child object's setSelected() function. Otherwise, if the parent is some 15869 other, unsupported object, return early. 15870 If the selection flags include "add", "remove", or "extend" selection, 15871 and the parent object is not multi-selectable, return early. Otherwise, 15872 set or unset the child's selected flag based on the passed flag. 15873 158742010-01-20 Steve Falkenburg <sfalken@apple.com> 15875 15876 Reviewed by Darin Adler and Adam Roben. 15877 15878 Feature defines are difficult to maintain on Windows builds 15879 https://bugs.webkit.org/show_bug.cgi?id=33883 15880 15881 FeatureDefines.vsprops are now maintained in a way similar to 15882 Configurations/FeatureDefines.xcconfig, with the added advantage 15883 of having a single FeatureDefines file across all projects. 15884 15885 * WebKit.vcproj/Interfaces.vcproj: Add FeatureDefines.vsprops inherited property sheet. 15886 * WebKit.vcproj/WebKit.sln: Set up Cairo configuration for WebCoreGenerated. 15887 * WebKit.vcproj/WebKit.vcproj: Remove ENABLE_ preprocessor definitions. 15888 Add FeatureDefines.vsprops inherited property sheet. 15889 * WebKit.vcproj/WebKitGUID.vcproj: Add FeatureDefines.vsprops inherited property sheet. 15890 158912010-01-17 Jon Honeycutt <jhoneycutt@apple.com> 15892 15893 MSAA: The child <option> elements of a non-multiple <select> are not 15894 exposed 15895 15896 https://bugs.webkit.org/show_bug.cgi?id=33773 15897 <rdar://problem/7550556> 15898 15899 Reviewed by Alice Liu. 15900 15901 * AccessibleBase.cpp: 15902 (AccessibleBase::get_accState): 15903 If the object is invisible, set the invisible state flag. If the object 15904 is collapsed, set the collapsed state. If the object is a combo box, 15905 set the has popup flag, and if it's not collapsed, set the expanded 15906 flag. 15907 (MSAARole): 15908 Add new WebCore to MSAA role mappings. 15909 15910 * WebCoreLocalizedStrings.cpp: 15911 (WebCore::AXMenuListActionVerb): 15912 Return the action verb that Firefox uses for <select> elements with 15913 popups. 15914 (WebCore::AXMenuListPopupActionVerb): 15915 Return the verb that Firefox uses for a popup list. 15916 159172010-01-19 John Sullivan <sullivan@apple.com> 15918 15919 https://bugs.webkit.org/show_bug.cgi?id=33854 15920 Would like a variant of WebHTMLRepresentation's searchForLabelsBeforeElement that returns 15921 more info about where the result was found 15922 15923 Reviewed by Darin Adler 15924 15925 * Interfaces/IWebHTMLRepresentation.idl: 15926 Created variant of searchForLabels that includes additional in/out parameters resultDistance and resultIsInCellAbove. 15927 15928 * Interfaces/WebKit.idl: 15929 Touched in order to get other idl change to propagate correctly. 15930 15931 * WebHTMLRepresentation.cpp: 15932 (WebHTMLRepresentation::deprecatedSearchForLabels): 15933 Renamed since iDL doesn't support two functions with the same name but different signatures. 15934 (WebHTMLRepresentation::searchForLabels): 15935 Implemented variant of searchForLabels that includes additional in/out parameters resultDistance and resultIsInCellAbove. 15936 15937 * WebHTMLRepresentation.h: 15938 Declared variant of searchForLabels that includes additional in/out parameters resultDistance and resultIsInCellAbove. 15939 159402010-01-19 Adam Roben <aroben@apple.com> 15941 15942 Windows build fix 15943 15944 * WebScriptWorld.cpp: Added missing #include. 15945 159462010-01-19 Dave Hyatt <hyatt@apple.com> 15947 15948 Build bustage fix. Make sure the newly added scriptWorldForGlobalContext function is [local] in the IDL. 15949 15950 * Interfaces/IWebScriptWorld.idl: 15951 159522010-01-19 Dave Hyatt <hyatt@apple.com> 15953 15954 Reviewed by Adam Roben. 15955 15956 Add an API to obtain a WebScriptWorld from a JSGlobalContextRef. 15957 15958 * Interfaces/IWebScriptWorld.idl: 15959 * WebScriptWorld.cpp: 15960 (WebScriptWorld::scriptWorldForGlobalContext): 15961 * WebScriptWorld.h: 15962 159632010-01-18 Adam Roben <aroben@apple.com> 15964 15965 Add IWebViewPrivate::setDomainRelaxationForbiddenForURLScheme 15966 15967 WebKit/win part of fixing <http://webkit.org/b/33806> 15968 <rdar://problem/7552837> Would like API to disallow setting of 15969 document.domain for pages with certain URL schemes 15970 15971 Reviewed by Sam Weinig. 15972 15973 * Interfaces/IWebViewPrivate.idl: Added 15974 setDomainRelaxationForbiddenForURLScheme. 15975 15976 * Interfaces/WebKit.idl: Touched to force a build. 15977 15978 * WebView.cpp: 15979 (WebView::setDomainRelaxationForbiddenForURLScheme): 15980 * WebView.h: 15981 Added. Calls through to SecurityOrigin. 15982 159832010-01-18 Chris Marrin <cmarrin@apple.com> 15984 15985 Reviewed by Darin Adler. 15986 15987 Use new setScrollFrame API 15988 https://bugs.webkit.org/show_bug.cgi?id=32279 15989 15990 * WebView.cpp: 15991 (WebView::updateRootLayerContents): 15992 159932010-01-15 Jon Honeycutt <jhoneycutt@apple.com> 15994 15995 MSAA: Screen rect for <option> elements is always the zero rect 15996 15997 https://bugs.webkit.org/show_bug.cgi?id=33758 15998 15999 Reviewed by Oliver Hunt. 16000 16001 * AccessibleBase.cpp: 16002 (AccessibleBase::accLocation): 16003 Use elementRect() rather than boundingBoxRect(), which 16004 AccessibilityListBoxOption overrides. 16005 160062010-01-15 Jon Honeycutt <jhoneycutt@apple.com> 16007 16008 get_accParent should try to retrieve parent AccessibilityObject, before 16009 calling upon window 16010 16011 https://bugs.webkit.org/show_bug.cgi?id=22893 16012 16013 Reviewed by Darin Adler. 16014 16015 * AccessibleBase.cpp: 16016 (AccessibleBase::get_accParent): 16017 If the object has a parent object, return it. If not, return the 16018 accessible for the WebView window. 16019 160202010-01-12 Jon Honeycutt <jhoneycutt@apple.com> 16021 16022 MSAA: selected, selectable, extended selectable, and multiple 16023 selectable states are not reported 16024 16025 https://bugs.webkit.org/show_bug.cgi?id=33574 16026 <rdar://problem/7536826> 16027 16028 Reviewed by Darin Adler. 16029 16030 * AccessibleBase.cpp: 16031 (AccessibleBase::get_accState): 16032 Remove the call to isMultiSelect(). Call the correctly-named 16033 isMultiSelectable(), and if it returns true, set both the "extended 16034 selectable" and "multiple selectable" states. Check whether the object 16035 is selected or selectable, and report those states. 16036 160372010-01-13 Steve Falkenburg <sfalken@apple.com> 16038 16039 Reviewed by Adam Roben. 16040 16041 Add additional Geolocation interfaces in WebKit for Windows. 16042 16043 * Interfaces/IWebGeolocationPolicyListener.idl: Added. 16044 * Interfaces/IWebUIDelegatePrivate.idl: Add decidePolicyForGeolocationRequest to IWebUIDelegatePrivate2. 16045 Append since this version hasn't shipped. 16046 * Interfaces/WebKit.idl: Add include of IWebGeolocationPolicyListener.idl. 16047 * WebCoreSupport/WebChromeClient.cpp: 16048 (WebChromeClient::requestGeolocationPermissionForFrame): Call into decidePolicyForGeolocationRequest. 16049 * WebCoreSupport/WebGeolocationControllerClient.cpp: 16050 (WebGeolocationControllerClient::WebGeolocationControllerClient): Moved *. 16051 * WebGeolocationPolicyListener.cpp: Added. 16052 * WebGeolocationPolicyListener.h: Added. 16053 * WebKit.vcproj/Interfaces.vcproj: Added IWebGeolocationPolicyListener. 16054 * WebKit.vcproj/WebKit.vcproj: Added WebGeolocationPolicyListener, WebGeolocationPolicyListener. 16055 * WebView.cpp: 16056 (WebView::setGeolocationProvider): Removed extraneous STDMETHODCALLTYPE. 16057 (WebView::geolocationProvider): Removed extraneous STDMETHODCALLTYPE. 16058 (WebView::geolocationDidChangePosition): Removed extraneous STDMETHODCALLTYPE. 16059 (WebView::geolocationDidFailWithError): Removed extraneous STDMETHODCALLTYPE. 16060 160612010-01-12 Steve Falkenburg <sfalken@apple.com> 16062 16063 Reviewed by Adam Roben, Sam Weinig. 16064 16065 Add Geolocation interfaces in WebKit for Windows. 16066 16067 * ForEachCoClass.h: Added WebGeolocationPosition. 16068 * Interfaces/IWebError.idl: 16069 * Interfaces/IWebGeolocationPosition.idl: Added. 16070 * Interfaces/IWebGeolocationProvider.idl: Added. 16071 * Interfaces/IWebViewPrivate.idl: 16072 * Interfaces/WebKit.idl: 16073 * WebCoreSupport/WebGeolocationControllerClient.cpp: Added. 16074 (WebGeolocationControllerClient::WebGeolocationControllerClient): 16075 (WebGeolocationControllerClient::startUpdating): 16076 (WebGeolocationControllerClient::stopUpdating): 16077 (WebGeolocationControllerClient::lastPosition): 16078 * WebCoreSupport/WebGeolocationControllerClient.h: Added. 16079 * WebGeolocationPosition.cpp: Added IWebGeolocationPosition implementation. 16080 * WebGeolocationPosition.h: Added IWebGeolocationPosition implementation. 16081 * WebKit.vcproj/Interfaces.vcproj: Added IWebGeolocationPosition.idl, IWebGeolocationProvider.idl, 16082 relocated JavaScriptCoreAPITypes.idl, WebScrollbarTypes.idl 16083 * WebKit.vcproj/WebKit.vcproj: Added WebGeolocationPosition.h/.cpp, WebGeolocationControllerClient.h/cpp, 16084 * WebKitClassFactory.cpp: Add WebGeolocationPosition include. 16085 * WebView.cpp: 16086 (WebView::initWithFrame): Create WebGeolocationControllerClient if Geolocation is enabled. 16087 (WebView::setGeolocationProvider): Added Geolocation-specific method. 16088 (WebView::geolocationProvider): Added Geolocation-specific method. 16089 (WebView::geolocationDidChangePosition): Added Geolocation-specific method. 16090 (WebView::geolocationDidFailWithError): Added Geolocation-specific method. 16091 * WebView.h: Added setGeolocationProvider, geolocationProvider, geolocationDidChangePosition, geolocationDidFailWithError. 16092 160932010-01-11 Jon Honeycutt <jhoneycutt@apple.com> 16094 16095 MSAA: Accessibility role of <select multiple> elements is wrong 16096 16097 https://bugs.webkit.org/show_bug.cgi?id=33522 16098 16099 Reviewed by Darin Adler. 16100 16101 * AccessibleBase.cpp: 16102 (MSAARole): 16103 Map the WebCore::ListBox and WebCore::ListBoxOption roles to the MSAA 16104 "list" and "list item" roles. 16105 161062010-01-08 Brent Fulgham <bfulgham@webkit.org> 16107 16108 Build fix, no review. 16109 16110 Protect video control logic inside ENABLE(VIDEO). 16111 16112 * WebView.cpp: 16113 (WebView::enterFullscreenForNode): 16114 (WebView::exitFullscreen): 16115 * WebView.h: 16116 161172010-01-08 Chris Marrin <cmarrin@apple.com> 16118 16119 Reviewed by Adam Roben. 16120 16121 Implement full-screen video for Windows 16122 https://bugs.webkit.org/show_bug.cgi?id=31318 16123 16124 This adds a full-screen controller, FullscreenVideoController, 16125 which manages going in and out of full-screen. The actual 16126 full-screen window is created and managed by logic added 16127 to QTMovieWin. FullscreenVideoController also creates and 16128 manages a HUD. The HUD renders and manages events to 16129 control the playing video. Movie controller events go to 16130 FullscreenVideoController which then sends them to HTMLMediaElement, 16131 which is passed to the controller by WebView, which gets the call 16132 to go into full-screen mode from HTMLMediaElement via 16133 ChromeClient. 16134 16135 I've also updated the icons so the related sets (Play/Pause and 16136 volume high/volume low/exit fullscreen) are the same size. This 16137 allows me to position them using common code. 16138 16139 * WebCoreSupport/WebChromeClient.cpp: 16140 (WebChromeClient::supportsFullscreenForNode): 16141 (WebChromeClient::enterFullscreenForNode): 16142 (WebChromeClient::exitFullscreenForNode): 16143 * WebCoreSupport/WebChromeClient.h: 16144 * WebKit.vcproj/WebKit.vcproj: 16145 * WebKit.vcproj/fsVideoAudioVolumeHigh.png: 16146 * WebKit.vcproj/fsVideoAudioVolumeLow.png: 16147 * WebKit.vcproj/fsVideoExitFullscreen.png: 16148 * WebKit.vcproj/fsVideoPause.png: 16149 * WebKit.vcproj/fsVideoPlay.png: 16150 * WebKitDLL.cpp: 16151 (loadResourceIntoBuffer): 16152 * FullscreenVideoController.cpp: Added. 16153 * FullscreenVideoController.h: Added. 16154 * WebView.cpp: 16155 (WebView::enterFullscreenForNode): 16156 (WebView::exitFullscreen): 16157 * WebView.h: 16158 161592010-01-08 Brent Fulgham <bfulgham@webkit.org> 16160 16161 Unreviewed correction. 16162 16163 Accidentally left unnecessary modification to hdcFromContext 16164 in when landing r52995. 16165 16166 * WebFrame.cpp: 16167 (hdcFromContext): Back out unneeded modification. 16168 161692010-01-08 Brent Fulgham <bfulgham@webkit.org> 16170 16171 Reviewed by Adam Roben. 16172 16173 Use correct cairo surface data type for handling print operations. 16174 https://bugs.webkit.org/show_bug.cgi?id=33022. 16175 16176 * WebFrame.cpp: 16177 (scaleFactor): Handle 'scale = 0' case. 16178 (WebFrame::spoolPage): Use scaleFactor helper function. Account for 16179 margin size in region passed to header/footer routines. 16180 (WebFrame::spoolPages): Properly clean up Cairo surface. 16181 161822010-01-07 Kent Tamura <tkent@chromium.org> 16183 16184 Reviewed by Maciej Stachowiak. 16185 16186 Remove COM code generation files. 16187 https://bugs.webkit.org/show_bug.cgi?id=32854 16188 16189 * WebKit.vcproj/DerivedSources.make: Removed. 16190 * WebKit.vcproj/build-generated-files.sh: Removed. 16191 161922010-01-05 Adam Roben <aroben@apple.com> 16193 16194 Make IWebView::close and destroying a WebView's HWND optional for 16195 WebKit clients 16196 16197 WebView will now take care of these operations itself when its last 16198 reference is released, if they haven't already been done. 16199 16200 IWebView::close now also destroys the WebView's HWND. All WebKit 16201 clients were already performing these operations in succession anyway, 16202 or were attempting to by calling IWebView::close then destroying the 16203 WebView's host window (which actually resulted in the WebView's HWND 16204 leaking, and the crash in the below bug). 16205 16206 Fixes <rdar://problem/7374218> <http://webkit.org/b/32827> Crash when 16207 calling IWebView::close, then releasing the WebView, without calling 16208 DestroyWindow 16209 16210 Fixes a few WebViewDestruction tests, too. 16211 16212 Reviewed by Steve Falkenburg. 16213 16214 * WebView.cpp: 16215 (WebView::~WebView): Don't try to destroy m_viewWindow here. That 16216 should already have happened. Assert that this is the case. 16217 (WebView::close): If m_viewWindow isn't already being destroyed, 16218 destroy it now. Moved the call to revokeDragDrop() here from our 16219 WM_DESTROY handler because it needs to be done before m_viewWindow is 16220 nulled out. 16221 (WebView::WebViewWndProc): Removed call to revokeDragDrop() that 16222 close() now performs. 16223 (WebView::Release): If our last reference is being released, call 16224 close() so that clients don't have to. (It's harmless to call close() 16225 multiple times.) We do this here instead of in the destructor because 16226 close() can cause AddRef() and Release() to be called, and calling 16227 those from within the destructor leads to double-destruction. 16228 (WebView::setHostWindow): Removed an unnecessary (and now harmful) 16229 null-check. 16230 (WebView::revokeDragDrop): Changed an assertion into a run-time check, 16231 since this will now sometimes be called when m_viewWindow hasn't been 16232 created yet. Changed the IsWindow call to a null-check because we 16233 never hold onto a destroyed m_viewWindow. 16234 (WebView::windowAncestryDidChange): If we don't have a view window, 16235 stop tracking changes to our parent's active state. 16236 162372010-01-05 Adam Roben <aroben@apple.com> 16238 16239 Make it safe to call IWebView::close when IWebView::initWithFrame 16240 hasn't been called 16241 16242 Part of <rdar://problem/7374218> <http://webkit.org/b/32827> Crash 16243 when IWebView::close, then releasing the WebView, without calling 16244 DestroyWindow 16245 16246 Reviewed by Steve Falkenburg. 16247 16248 * WebView.cpp: 16249 (WebView::close): Null-check m_page and m_preferences before using 16250 them. They will be null if initWithFrame was never called. 16251 162522010-01-05 Adam Roben <aroben@apple.com> 16253 16254 Add assertions to catch double-destruction of WebViews earlier 16255 16256 I basically copied the m_deletionHasBegun logic from WTF::RefCounted. 16257 16258 Fixes <http://webkit.org/b/33219>. 16259 16260 Reviewed by Darin Adler. 16261 16262 * WebView.cpp: 16263 (WebView::WebView): Initialize m_deletionHasBegun 16264 (WebView::AddRef): Assert that deletion hasn't already begun. 16265 (WebView::Release): Assert that deletion hasn't already begun, then 16266 record when deletion *does* begin. 16267 16268 * WebView.h: Added m_deletionHasBegun. 16269 162702010-01-05 Adam Roben <aroben@apple.com> 16271 16272 Remove dead code in WebViewWndProc 16273 16274 Fixes <http://webkit.org/b/33218>. 16275 16276 Reviewed by Darin Adler. 16277 16278 * WebView.cpp: 16279 (WebView::WebViewWndProc): Removed a redundant isBeingDestroyed check. 16280 We bail out much earlier in this function if isBeingDestroyed is true. 16281 162822010-01-04 Jon Honeycutt <jhoneycutt@apple.com> 16283 16284 MSAA: Accessibility role of <select> elements is wrong 16285 16286 https://bugs.webkit.org/show_bug.cgi?id=33192 16287 16288 Reviewed by Sam Weinig. 16289 16290 * AccessibleBase.cpp: 16291 (MSAARole): 16292 Map WebCore::PopUpButtonRole to MSAA's ROLE_SYSTEM_COMBOBOX. 16293 162942010-01-04 Alexey Proskuryakov <ap@apple.com> 16295 16296 Reviewed by Darin Adler. 16297 16298 https://bugs.webkit.org/show_bug.cgi?id=33181 16299 The first letter is not removed properly from inline input hole 16300 16301 * WebView.cpp: (WebView::onIMEEndComposition): If composition is ended before it was 16302 confirmed, cancel it. 16303 163042010-01-04 Alexey Proskuryakov <ap@apple.com> 16305 16306 Reviewed by Darin Adler. 16307 16308 https://bugs.webkit.org/show_bug.cgi?id=33161 16309 Assertion failure in WebView when using Chinese Simplified IME 16310 16311 * WebView.cpp: (WebView::onIMERequestCharPosition): Changed the assertion into release mode 16312 check. We can't make assertions about arguments passed from outside WebKit. 16313 163142010-01-04 Alexey Proskuryakov <ap@apple.com> 16315 16316 Reviewed by Darin Adler. 16317 16318 https://bugs.webkit.org/show_bug.cgi?id=33157 16319 Implement TextInput logging channel on Windows 16320 16321 * WebKitLogging.cpp: (WebKitInitializeLoggingChannelsIfNecessary): 16322 * WebKitLogging.h: 16323 Added a TextInput channel in place of unused Network one. 16324 16325 * WebView.cpp: 16326 (WebView::WebViewWndProc): Changed onIMERequest to return result directly. We never forward 16327 it to DefWindowProc, so there is no need to return an unused boolean result for "handled". 16328 (WebView::onIMEStartComposition): Added logging. 16329 (imeCompositionArgumentNames): A helper function for detailed logging in onIMEComposition. 16330 (imeNotificationName): A helper function for detailed logging in onIMENotify. 16331 (imeRequestName): A helper function for detailed logging in onIMERequest. 16332 (WebView::onIMEComposition): Added logging. 16333 (WebView::onIMEEndComposition): Ditto. 16334 (WebView::onIMEChar): Ditto. 16335 (WebView::onIMENotify): Ditto. 16336 (WebView::onIMERequestCharPosition): Changed to return result directly. 16337 (WebView::onIMERequestReconvertString): Ditto. 16338 (WebView::onIMERequest): Changed to return result directly. Added logging. 16339 (WebView::onIMESelect): Added logging. 16340 (WebView::onIMESetContext): Added logging. 16341 16342 * WebView.h: onIMERequest functions now return result directly. 16343 16344 163452010-01-04 Adam Roben <aroben@apple.com> 16346 16347 Add WebKitAPITest 16348 16349 Fixes <http://webkit.org/b/33167>. 16350 16351 Reviewed by Sam Weinig. 16352 16353 * WebKit.vcproj/WebKit.sln: Added WebKitAPITest.vcproj. It builds just 16354 after DumpRenderTree.vcproj. 16355 163562010-01-04 Dan Bernstein <mitz@apple.com> 16357 16358 Reviewed by Ada Chan and Mark Rowe. 16359 16360 Updated copyright string 16361 16362 * WebKit.vcproj/WebKit.rc: 16363 163642009-12-22 Darin Adler <darin@apple.com> 16365 16366 Another try at fixing Windows build. 16367 16368 * WebKitPrefix.cpp: Touch it. 16369 163702009-12-22 Darin Adler <darin@apple.com> 16371 16372 Reviewed by Mark Rowe. 16373 16374 Turn off datagrid by default, at least for all platforms Apple ships. 16375 The datagrid implementation isn't ready for general web use yet. 16376 16377 * WebKit.vcproj/WebKit.vcproj: Turn off datagrid by default. 16378 163792009-12-21 Adam Roben <aroben@apple.com> 16380 16381 Fix non-ACCELERATED_COMPOSITING builds 16382 16383 * WebPreferences.cpp: 16384 (WebPreferences::acceleratedCompositingEnabled): Guard use of 16385 WKCACFLayerRenderer with USE(ACCELERATED_COMPOSITING). 16386 163872009-12-18 Adam Roben <aroben@apple.com> 16388 16389 Add IWebPreferencesPrivate::[set]AcceleratedCompositingEnabled 16390 16391 Fixes <http://webkit.org/b/32745>. 16392 16393 Reviewed by Ada Chan. 16394 16395 * Interfaces/IWebPreferencesPrivate.idl: Added 16396 [set]AcceleratedCompositingEnabled. 16397 16398 * Interfaces/WebKit.idl: Touched to force a build. 16399 16400 * WebPreferenceKeysPrivate.h: Added 16401 WebKitAcceleratedCompositingEnabledPreferenceKey. 16402 16403 * WebPreferences.cpp: 16404 (WebPreferences::initializeDefaultSettings): Make accelerated 16405 compositing be on by default. 16406 (WebPreferences::setAcceleratedCompositingEnabled): Store the new 16407 value. 16408 (WebPreferences::acceleratedCompositingEnabled): If accelerated 16409 compositing isn't available, return false. Otherwise, return the value 16410 stored in preferences. 16411 16412 * WebPreferences.h: Added [set]AcceleratedCompositingAvailable. 16413 16414 * WebView.cpp: 16415 (WebView::notifyPreferencesChanged): Just pass the value from 16416 WebPreferences on down. 16417 164182009-12-17 Jon Honeycutt <jhoneycutt@apple.com> 16419 16420 MSAA: Accessibility role of list items is wrong 16421 16422 https://bugs.webkit.org/show_bug.cgi?id=32688 16423 16424 Reviewed by Adam Roben. 16425 16426 * AccessibleBase.cpp: 16427 (MSAARole): 16428 Make the WebCore list item role map to the MSAA list item role. 16429 164302009-12-17 Jon Honeycutt <jhoneycutt@apple.com> 16431 16432 MSAA: Accessibility role of list markers is wrong 16433 16434 https://bugs.webkit.org/show_bug.cgi?id=32687 16435 16436 Reviewed by Adam Roben. 16437 16438 * AccessibleBase.cpp: 16439 (MSAARole): 16440 Make the WebCore list marker role map to the MSAA static text role. 16441 164422009-12-18 Adam Roben <aroben@apple.com> 16443 16444 Add #includes needed after WebCore clean-up 16445 16446 Rubber-stamped by Anders Carlsson. 16447 16448 Fixes <http://webkit.org/b/32718>. 16449 16450 * WebCoreSupport/WebContextMenuClient.cpp: 16451 * WebDataSource.cpp: 16452 * WebHTMLRepresentation.cpp: 16453 * WebView.cpp: 16454 * WebView.h: 16455 164562009-12-17 Benjamin Otte <otte@gnome.org> 16457 16458 Reviewed by Adam Roben. 16459 16460 Don't include all JSC headers everywhere 16461 https://bugs.webkit.org/show_bug.cgi?id=32663 16462 16463 * WebCoreLocalizedStrings.cpp: Added now-needed #include of 16464 MathExtras.h. 16465 164662009-12-17 Adam Roben <aroben@apple.com> 16467 16468 Remove WebKit.sln's Debug_All and Debug_Internal configurations 16469 16470 These configurations aren't buildable by people outside of Apple, and 16471 Apple doesn't use this solution file. 16472 16473 Fixes <http://webkit.org/b/31000> Windows WebKit Build Configuration 16474 should default to Debug instead of Debug_all. 16475 16476 Rubber-stamped by Dan Bernstein. 16477 16478 * WebKit.vcproj/WebKit.sln: 16479 164802009-12-16 Jon Honeycutt <jhoneycutt@apple.com> 16481 16482 MSAA: Accessibility role of text nodes is wrong 16483 16484 https://bugs.webkit.org/show_bug.cgi?id=32631 16485 <rdar://problem/7369084> 16486 16487 Reviewed by Alice Liu. 16488 16489 * AccessibleBase.cpp: 16490 (MSAARole): 16491 If the role is WebCore::EditableTextRole, return ROLE_SYSTEM_TEXT. 16492 (AccessibleBase::role): 16493 Call roleValueForMSAA(). 16494 164952009-12-14 Brent Fulgham <bfulgham@webkit.org> 16496 16497 Reviewed by Adam Roben. 16498 16499 Provide working printing support for WinCairo port. 16500 16501 * WebFrame.cpp: 16502 (WebFrame::spoolPage): Conditionalize initialization of 16503 PlatformGraphicsContext handling for CG vs. Cairo. 16504 (scaleFactor): Add helper function. 16505 (hdcFromContext): Add helper function. 16506 (WebFrame::drawHeader): Correct Cairo variation. 16507 (WebFrame::drawFooter): Correct Cairo variation. 16508 (WebFrame::spoolPages): Correct Cairo variation. 16509 165102009-12-13 Sam Weinig <sam@webkit.org> 16511 16512 Reviewed by Dan Bernstein. 16513 16514 Fix for https://bugs.webkit.org/show_bug.cgi?id=32499 16515 Add client based Geolocation provider 16516 16517 Add first cut of a client based Geolocation provider. This is guarded by 16518 ENABLE(CLIENT_BASED_GEOLOCATION) and is off by default for now. This adds a 16519 GeolocationControllerClient interface that no-one currently implements, 16520 but will in a subsequent patch. 16521 16522 * WebView.cpp: 16523 (WebView::initWithFrame): 16524 165252009-12-14 Adam Roben <aroben@apple.com> 16526 16527 Change IWebFramePrivate's vtable to be compatible with Safari 4.0.4 16528 16529 Reviewed by Steve Falkenburg. 16530 16531 Fixes <http://webkit.org/b/32433> REGRESSION (r51567): Right click on 16532 a link element crashes WebKit nightly 16533 16534 * Interfaces/IWebFramePrivate.idl: Moved pauseSVGAnimation to the end 16535 of the interface so the vtable that Safari 4.0.4 sees is unchanged. 16536 165372009-12-14 Adam Roben <aroben@apple.com> 16538 16539 Build fix 16540 16541 * WebKit.vcproj/WebKit.vcproj: Added $(DXSDK_DIR)\Lib\x86 to the 16542 libpath for all non-Cairo configurations (it was missing from most of 16543 them). 16544 165452009-12-11 Chris Marrin <cmarrin@apple.com> 16546 16547 Reviewed by Jon Honeycutt. 16548 16549 Added icons for full-screen video on Windows 16550 https://bugs.webkit.org/show_bug.cgi?id=31318 16551 16552 * WebKit.vcproj/WebKit.rc: 16553 * WebKit.vcproj/WebKit.vcproj: 16554 * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Added. 16555 * WebKit.vcproj/fsVideoAudioVolumeLow.png: Added. 16556 * WebKit.vcproj/fsVideoExitFullscreen.png: Added. 16557 * WebKit.vcproj/fsVideoPause.png: Added. 16558 * WebKit.vcproj/fsVideoPlay.png: Added. 16559 * WebKit.vcproj/resource.h: 16560 165612009-12-11 Chris Marrin <cmarrin@apple.com> 16562 16563 Reviewed by Adam Roben. 16564 16565 Delay load DLLs for accelerated compositing 16566 https://bugs.webkit.org/show_bug.cgi?id=31856 16567 16568 If the DLLs (d3d9 and QuartzCore). are not present it 16569 turns off accelerated compositing and avoids calling 16570 any of the functions in the DLLs. 16571 16572 * WebView.cpp: 16573 (WebView::notifyPreferencesChanged): 16574 165752009-12-10 Jon Honeycutt <jhoneycutt@apple.com> 16576 16577 Pass more information about a plug-in to the PluginHalterDelegate 16578 16579 Reviewed by Adam Roben. 16580 16581 * Interfaces/IWebPluginHalterDelegate.idl: 16582 Add new parameters. 16583 16584 * WebCoreSupport/WebPluginHalterClient.cpp: 16585 (WebPluginHalterClient::shouldHaltPlugin): 16586 Update for new parameters. Pass them when making the delegate call. 16587 16588 * WebCoreSupport/WebPluginHalterClient.h: 16589 Update for new parameters. 16590 165912009-12-09 Brent Fulgham <bfulgham@webkit.org> 16592 16593 Revert incorrect commit-box update r51911. 16594 It mistakenly set the selectAll implementation in the 16595 deslectAll method. 16596 16597 * WebFrame.cpp: 16598 (WebFrame::deselectAll): 16599 166002009-12-09 Brent Fulgham <bfulgham@webkit.org> 16601 16602 Reviewed by Darin Adler. 16603 16604 Provide an implementation for 'selectAll' 16605 https://bugs.webkit.org/show_bug.cgi?id=32296 16606 16607 * WebFrame.cpp: 16608 (WebFrame::selectAll): Implement "SelectAll" command. 16609 166102009-12-09 Brent Fulgham <bfulgham@webkit.org> 16611 16612 Reviewed by Darin Adler. 16613 16614 Provide an implementation for 'selectAll' 16615 https://bugs.webkit.org/show_bug.cgi?id=32296 16616 16617 * WebFrame.cpp: 16618 (WebFrame::selectAll): Implement "SelectAll" command. 16619 166202009-12-08 Chris Marrin <cmarrin@apple.com> 16621 16622 Reviewed by Adam Roben. 16623 16624 Delay load DLLs for accelerated compositing 16625 https://bugs.webkit.org/show_bug.cgi?id=31856 16626 16627 If the DLLs (d3d9 and QuartzCore). are not present it 16628 turns off accelerated compositing and avoids calling 16629 any of the functions in the DLLs. 16630 16631 * WebView.cpp: 16632 * WebView.h: 16633 166342009-12-08 Adam Roben <aroben@apple.com> 16635 16636 Windows build fix 16637 16638 * Interfaces/WebKit.idl: Touched this to force Interfaces.vcproj to rebuild. 16639 166402009-12-08 John Sullivan <sullivan@apple.com> 16641 16642 Reviewed by Dan Bernstein 16643 16644 Split two-clause assertions into two separate assertions. 16645 16646 * DOMHTMLClasses.cpp: 16647 (DOMHTMLInputElement::isTextField): 16648 Split a two-clause assertion into two separate assertions. 16649 (DOMHTMLInputElement::rectOnScreen): 16650 Added the two assertions here that all other functions in this group shared. 16651 (DOMHTMLInputElement::selectedRange): 16652 Split a two-clause assertion into two separate assertions. 16653 (DOMHTMLInputElement::setAutofilled): 16654 Split a two-clause assertion into two separate assertions. 16655 (DOMHTMLInputElement::isAutofilled): 16656 Split a two-clause assertion into two separate assertions. 16657 166582009-12-08 Nikolas Zimmermann <nzimmermann@rim.com> 16659 16660 Rubber-stamped by Maciej Stachowiak. 16661 16662 Turn on (SVG) Filters for Win. 16663 https://bugs.webkit.org/show_bug.cgi?id=32224 16664 16665 * WebKit.vcproj/WebKit.vcproj: 16666 166672009-12-08 John Sullivan <sullivan@apple.com> 16668 16669 Add isAutofilled getter to match existing setter. 16670 16671 Reviewed by Ada Chan. 16672 16673 * DOMHTMLClasses.cpp: 16674 (DOMHTMLInputElement::isAutofilled): 16675 Implemented new cover function. 16676 16677 * DOMHTMLClasses.h: 16678 Declared new cover function. 16679 16680 * Interfaces/DOMPrivate.idl: 16681 Declared new interface. 16682 166832009-12-07 Gavin Barraclough <barraclough@apple.com> 16684 16685 Reviewed by NOBODY (Windows build fix part III). 16686 16687 * WebView.cpp: 16688 (WebView::stringByEvaluatingJavaScriptFromString): 16689 166902009-12-07 Gavin Barraclough <barraclough@apple.com> 16691 16692 Reviewed by NOBODY (Windows build fix part II). 16693 16694 * WebView.cpp: 16695 (WebView::stringByEvaluatingJavaScriptFromString): 16696 166972009-12-03 Brady Eidson <beidson@apple.com> 16698 16699 Reviewed by Sam Weinig. 16700 16701 <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API 16702 16703 * Interfaces/IWebFrameLoadDelegatePrivate2.idl: 16704 * WebCoreSupport/WebFrameLoaderClient.cpp: 16705 (WebFrameLoaderClient::dispatchDidPushStateWithinPage): 16706 (WebFrameLoaderClient::dispatchDidReplaceStateWithinPage): 16707 (WebFrameLoaderClient::dispatchDidPopStateWithinPage): 16708 * WebCoreSupport/WebFrameLoaderClient.h: 16709 167102009-12-03 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com> 16711 16712 Reviewed by Timothy Hatcher. 16713 16714 Web Inspector: Simplify the settings support in inspector controller. 16715 16716 https://bugs.webkit.org/show_bug.cgi?id=32076 16717 16718 * WebCoreSupport/WebInspectorClient.cpp: 16719 (WebInspectorClient::attachWindow): 16720 (WebInspectorClient::detachWindow): 16721 (WebInspectorClient::showWindowWithoutNotifications): 16722 * WebCoreSupport/WebInspectorClient.h: 16723 167242009-12-03 Ben Murdoch <benm@google.com> 16725 16726 Reviewed by Brady Eidson. 16727 16728 [Android] The FrameLoaderClient is unaware of BackForwardList changes. 16729 https://bugs.webkit.org/show_bug.cgi?id=31914 16730 16731 * WebCoreSupport/WebFrameLoaderClient.cpp: 16732 (WebFrameLoaderClient::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug). 16733 (WebFrameLoaderClient::dispatchDidRemoveBackForwardItem): ditto. 16734 (WebFrameLoaderClient::dispatchDidChangeBackForwardIndex): ditto. 16735 * WebCoreSupport/WebFrameLoaderClient.h: 16736 167372009-12-02 Timothy Hatcher <timothy@apple.com> 16738 16739 Move setValueForUser to the end of the DOMHTMLInputElement interface 16740 so it is fine for binary compatibility. 16741 16742 Directed by Steve Falkenburg. 16743 16744 * Interfaces/DOMHTML.idl: 16745 167462009-12-02 Timothy Hatcher <timothy@apple.com> 16747 16748 Expose setValueForUser for the COM DOMHTMLInputElement. 16749 16750 <rdar://problem/6760590> Would like a way to detect a login form AutoFill from JavaScript 16751 16752 Reviewed by Dan Bernstein. 16753 16754 * DOMHTMLClasses.cpp: 16755 (DOMHTMLInputElement::setValueForUser): 16756 * Interfaces/DOMHTML.idl: 16757 167582009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> 16759 16760 Not reviewed. Try to fix windows build. 16761 16762 * WebFrame.cpp: 16763 167642009-12-01 Nikolas Zimmermann <nzimmermann@rim.com> 16765 16766 Reviewed by Simon Fraser. 16767 16768 Add SVG animation test framework with 'snapshot' functionality 16769 https://bugs.webkit.org/show_bug.cgi?id=31897 16770 16771 Add API used by the new 'sampleSVGAnimationForElementAtTime' DRT method, 16772 forwarding the call to SVGDocumentExtensions, if SVG is enabled. 16773 16774 Implemented just like the existing pauseAnimation* methods for CSS animations. 16775 16776 * Interfaces/IWebFramePrivate.idl: 16777 * WebFrame.cpp: 16778 (WebFrame::pauseSVGAnimation): 16779 * WebFrame.h: 16780 167812009-11-30 Adam Roben <aroben@apple.com> 16782 16783 Fix double-free of BSTRs passed to WebNavigationData::createInstance 16784 16785 WebFrameLoaderClient::updateGlobalHistory was converting 16786 WebCore::Strings to WebCore::BStrings, then passing them to 16787 WebNavigationData::createInstance. But the latter function takes BSTR 16788 parameters and adopts them into WebCore::BStrings. So the end result 16789 was that two WebCore::BStrings would end up freeing each underlying 16790 BSTR. 16791 16792 The fix is to only convert to WebCore::BString inside 16793 WebNavigationData. 16794 16795 Fixes <http://webkit.org/b/31998> <rdar://problem/7383452> REGRESSION 16796 (r49564): Crash in updateGlobalHistory when running Javascript iBench 16797 test 16798 16799 I couldn't find a way to reproduce this in DumpRenderTree. 16800 16801 Reviewed by Steve Falkenburg. 16802 16803 * WebCoreSupport/WebFrameLoaderClient.cpp: 16804 (WebFrameLoaderClient::updateGlobalHistory): Pass WebCore::Strings to 16805 WebNavigationData::createInstance. 16806 16807 * WebNavigationData.cpp: 16808 (WebNavigationData::WebNavigationData): 16809 (WebNavigationData::createInstance): 16810 * WebNavigationData.h: 16811 Changed to take const WebCore::String&s instead of BSTRs and to 16812 convert the Strings to BStrings at this level. 16813 168142009-11-30 Steve Falkenburg <sfalken@apple.com> 16815 16816 Reviewed by Adam Roben. 16817 16818 WebKit clients that don't implement didClearWindowObjectForFrameInScriptWorld should fall back to didClearWindowObject 16819 https://bugs.webkit.org/show_bug.cgi?id=31986 16820 16821 * WebFrame.cpp: 16822 (WebFrame::dispatchDidClearWindowObjectInWorld): Fall back if E_NOTIMPL returned. 16823 168242009-11-24 Chris Marrin <cmarrin@apple.com> 16825 16826 Another Windows build fix 16827 16828 Got rid of d3d.lib and d3dx9.lib dependency. Not needed until 16829 we turn on ACCELERATED_COMPOSITING 16830 16831 * WebKit.vcproj/WebKit.vcproj: 16832 168332009-11-24 Chris Marrin <cmarrin@apple.com> 16834 16835 Fixed Windows build 16836 16837 Got rid of QuartzCore.lib dependency. Not needed until 16838 we turn on ACCELERATED_COMPOSITING 16839 16840 * WebKit.vcproj/WebKit.vcproj: 16841 168422009-11-24 Chris Marrin <cmarrin@apple.com> 16843 16844 Reviewed by Simon Fraser. 16845 16846 Implement accelerated compositing 16847 https://bugs.webkit.org/show_bug.cgi?id=27314 16848 16849 This is the WebKit side of the implementation. It plumbs the root layer 16850 from WebCore. It also makes changes to WebView which places the 16851 backing store of the page into the root compositing layer so it is 16852 properly composited with all the other layers. This deals with resizing, 16853 scrolling, and incremental repaint of the page. 16854 16855 * WebCoreSupport/WebChromeClient.cpp: 16856 (WebChromeClient::attachRootGraphicsLayer): 16857 (WebChromeClient::scheduleCompositingLayerSync): 16858 * WebCoreSupport/WebChromeClient.h: 16859 (WebChromeClient::setNeedsOneShotDrawingSynchronization): 16860 * WebKit.vcproj/WebKit.vcproj: 16861 * WebView.cpp: 16862 (WebView::WebView): 16863 (WebView::close): 16864 (WebView::repaint): 16865 (WebView::scrollBackingStore): 16866 (WebView::paint): 16867 (WebViewWndProc): 16868 (WebView::setRootChildLayer): 16869 (WebView::setAcceleratedCompositing): 16870 (WebView::setRootLayerContents): 16871 * WebView.h: 16872 (WebView::isAcceleratedCompositing): 16873 (WebView::resizeLayerWindow): 16874 (WebView::layerWindowBecameVisible): 16875 (WebView::setRootLayerNeedsDisplay): 16876 168772009-11-23 Laszlo Gombos <laszlo.1.gombos@nokia.com> 16878 16879 Reviewed by Kenneth Rohde Christiansen. 16880 16881 Include "config.h" to meet Coding Style Guidelines 16882 https://bugs.webkit.org/show_bug.cgi?id=31792 16883 16884 * GEN_DOMObject.cpp: 16885 * WebScriptObject.cpp: 16886 168872009-11-21 Jon Honeycutt <jhoneycutt@apple.com> 16888 16889 Windows build fix. Unreviewed. 16890 16891 * Interfaces/IWebSerializedJSValue.idl: 16892 168932009-11-20 Jon Honeycutt <jhoneycutt@apple.com> 16894 16895 DOMElement::tagName() is unimplemented 16896 16897 https://bugs.webkit.org/show_bug.cgi?id=31746 16898 16899 Reviewed by Darin Adler. 16900 16901 * DOMCoreClasses.cpp: 16902 (DOMElement::tagName): 16903 Create a BString from the element's tag name, and release its BSTR 16904 into result. 16905 169062009-11-20 Jon Honeycutt <jhoneycutt@apple.com> 16907 16908 DOMNode::childNodes() is unimplemented 16909 16910 https://bugs.webkit.org/show_bug.cgi?id=31745 16911 16912 Reviewed by Darin Adler. 16913 16914 * DOMCoreClasses.cpp: 16915 (DOMNode::childNodes): 16916 Create a DOMNodeList from the node's child nodes. 16917 169182009-11-20 Dave Hyatt <hyatt@apple.com> 16919 16920 Reviewed by Jon Honeycutt. 16921 16922 Change WebSerializedJSValue on Windows to have a zero-argument createInstance call. Move the 16923 serialization into a separate serialize() function that can be called after the object has been 16924 created. 16925 16926 Fix a typo in serialize() caused when fixing build bustage (put a ! back in). 16927 16928 * Interfaces/IWebSerializedJSValue.idl: 16929 * WebSerializedJSValue.cpp: 16930 (WebSerializedJSValue::WebSerializedJSValue): 16931 (WebSerializedJSValue::createInstance): 16932 (WebSerializedJSValue::serialize): 16933 (WebSerializedJSValue::deserialize): 16934 * WebSerializedJSValue.h: 16935 169362009-11-20 Brian Weinstein <bweinstein@apple.com> 16937 16938 Reviewed by Dave Hyatt. 16939 16940 Another go at the Windows Build Fix - this is a couple steps of it, 16941 so a little more involved than most build fixes. 16942 16943 * Interfaces/IWebSerializedJSValue.idl: 16944 * Interfaces/JavaScriptCoreAPITypes.idl: 16945 * WebKit.vcproj/Interfaces.vcproj: 16946 * WebSerializedJSValue.cpp: 16947 (WebSerializedJSValue::deserialize): 16948 * WebSerializedJSValue.h: 16949 169502009-11-20 Brian Weinstein <bweinstein@apple.com> 16951 16952 Reviewed by Dave Hyatt. 16953 16954 Build fix for Windows - only declare JSContextRef once, instead 16955 of in two different idl files. Create a new file to hold the 16956 definition of JSContextRef. 16957 16958 * Interfaces/IWebFrameLoadDelegate.idl: 16959 * Interfaces/IWebSerializedJSValue.idl: 16960 * Interfaces/JavaScriptCoreAPITypes.idl: Added. 16961 * Interfaces/WebKit.idl: 16962 * WebKit.vcproj/Interfaces.vcproj: 16963 169642009-11-20 Dave Hyatt <hyatt@apple.com> 16965 16966 Reviewed by Oliver Hunt and Jon Honeycutt. 16967 16968 Add support for WebSerializedJSValue to WebKit. This object wraps the SerializedScriptValue functionality in WebCore 16969 and exposes the ability to do JS value serialization/deserialization to WebKit clients. 16970 16971 * Interfaces/IWebSerializedJSValue.idl: Added. 16972 * Interfaces/WebKit.idl: 16973 * WebKit.vcproj/WebKit.vcproj: 16974 * WebSerializedJSValue.cpp: Added. 16975 (WebSerializedJSValue::WebSerializedJSValue): 16976 (WebSerializedJSValue::~WebSerializedJSValue): 16977 (WebSerializedJSValue::createInstance): 16978 (WebSerializedJSValue::AddRef): 16979 (WebSerializedJSValue::Release): 16980 (WebSerializedJSValue::QueryInterface): 16981 (WebSerializedJSValue::deserialize): 16982 * WebSerializedJSValue.h: Added. 16983 169842009-11-19 Alexey Proskuryakov <ap@apple.com> 16985 16986 Reviewed by Darin Adler. 16987 16988 https://bugs.webkit.org/show_bug.cgi?id=31690 16989 Make SocketStreamHandleCFNet work on Windows 16990 16991 * WebDownloadCFNet.cpp: 16992 (WebDownload::init): 16993 (WebDownload::initWithRequest): 16994 (WebDownload::initToResumeWithBundle): 16995 Update for loaderRunLoop() now being in its own header. 16996 169972009-11-19 Eric Carlson <eric.carlson@apple.com> 16998 16999 Reviewed by Dan Bernstein. 17000 17001 <rdar://problem/7035231> 17002 Support closed caption in <video> element 17003 17004 * WebCoreLocalizedStrings.cpp: 17005 (WebCore::localizedMediaControlElementString): 17006 (WebCore::localizedMediaControlElementHelpText): 17007 Add accessibility help strings for media controller closed caption button. 17008 170092009-11-18 Michelangelo De Simone <micdesim@gmail.com> 17010 17011 Reviewed by Darin Adler. 17012 17013 Fix for <https://bugs.webkit.org/show_bug.cgi?id=27959>. 17014 Support for validationMessage attribute, as per HTML5 specs. 17015 17016 * WebCoreLocalizedStrings.cpp: 17017 (WebCore::validationMessageValueMissingText): 17018 (WebCore::validationMessageTypeMismatchText): 17019 (WebCore::validationMessagePatternMismatchText): 17020 (WebCore::validationMessageTooLongText): 17021 (WebCore::validationMessageRangeUnderflowText): 17022 (WebCore::validationMessageRangeOverflowText): 17023 (WebCore::validationMessageStepMismatchText): 17024 170252009-11-18 Daniel Bates <dbates@webkit.org> 17026 17027 Reviewed by Darin Adler. 17028 17029 https://bugs.webkit.org/show_bug.cgi?id=31186 17030 17031 Changes associated with renaming RenderTextControl::isUserEdited. 17032 17033 * DOMHTMLClasses.cpp: 17034 (DOMHTMLInputElement::isUserEdited): Formerly named isUserEdited. 17035 (DOMHTMLTextAreaElement::isUserEdited): Ditto. 17036 170372009-11-12 Jon Honeycutt <jhoneycutt@apple.com> 17038 17039 Implement DOMHTMLInputElement::replaceCharactersInRange(). 17040 17041 https://bugs.webkit.org/show_bug.cgi?id=31492 17042 17043 Reviewed by Dan Bernstein. 17044 17045 * DOMHTMLClasses.cpp: 17046 (DOMHTMLInputElement::replaceCharactersInRange): 17047 Get the text of the input field. Replace the given range with the 17048 replacement text, and set this new string as the input element's value. 17049 Select from index to the end of the field. This matches the 17050 implementation in the Obj-C bindings. 17051 170522009-11-12 Jon Honeycutt <jhoneycutt@apple.com> 17053 17054 DOMHTMLOptionElement is missing some functionality. 17055 17056 https://bugs.webkit.org/show_bug.cgi?id=31491 17057 17058 Reviewed by Dan Bernstein. 17059 17060 * DOMHTMLClasses.cpp: 17061 (DOMHTMLOptionElement::text): 17062 Cast m_element to an HTMLOptionElement, and call its text() function. 17063 (DOMHTMLOptionElement::label): 17064 Ditto, for label(). 17065 170662009-11-12 Jon Honeycutt <jhoneycutt@apple.com> 17067 17068 DOMHTMLSelectElement is missing some implementation. 17069 17070 https://bugs.webkit.org/show_bug.cgi?id=31489 17071 17072 Reviewed by Dan Bernstein. 17073 17074 * DOMHTMLClasses.cpp: 17075 (DOMHTMLSelectElement::options): 17076 Cast m_element to an HTMLSelectElement. If it has no options, return 17077 E_FAIL. Otherwise, create a DOMHTMLOptionsCollection to wrap the 17078 options, and return it. 17079 (DOMHTMLSelectElement::activateItemAtIndex): 17080 If the index is out of bounds, return E_FAIL. Otherwise, select the 17081 item. 17082 170832009-11-12 Jon Honeycutt <jhoneycutt@apple.com> 17084 17085 DOMHTMLOptionsCollection is missing some implementation. 17086 17087 https://bugs.webkit.org/show_bug.cgi?id=31488 17088 17089 Reviewed by Dan Bernstein. 17090 17091 * DOMHTMLClasses.cpp: 17092 (DOMHTMLOptionsCollection::DOMHTMLOptionsCollection): 17093 Initialize m_collection. 17094 (DOMHTMLOptionsCollection::createInstance): 17095 Create a DOMHTMLOptionsCollection. If we fail to query for 17096 IDOMHTMLOptionsCollection, delete it, and return 0. Otherwise, return 17097 the result. 17098 (DOMHTMLOptionsCollection::length): 17099 (DOMHTMLOptionsCollection::item): 17100 Create a DOMNode for the WebCore Node. If this is 0, return E_FAIL. 17101 (DOMHTMLOptionsCollection::namedItem): 17102 Correct the signature of this function. 17103 17104 * DOMHTMLClasses.h: 17105 Declare DOMHTMLOptionsCollection::createInstance(). Correct the 17106 signature of namedItem() to match IDOMHTMLOptionsCollection. Add a 17107 member to DOMHTMLOptionsCollection to hold the WebCore object. 17108 171092009-11-12 Jon Honeycutt <jhoneycutt@apple.com> 17110 17111 DOMHTMLInputElement::rectOnScreen() returns the wrong rect 17112 17113 https://bugs.webkit.org/show_bug.cgi?id=31487 17114 17115 Reviewed by Darin Adler. 17116 17117 * DOMHTMLClasses.cpp: 17118 (DOMHTMLInputElement::rectOnScreen): 17119 Return the rect on screen, not the rect in the window. 17120 171212009-11-17 Brent Fulgham <bfulgham@webkit.org> 17122 17123 Reviewed by NOBODY - Build Fix. 17124 17125 Correct build error in Debug_Cairo target after @49705. 17126 17127 * WebKit.vcproj/WebKit.vcproj: Revise JavaScriptCore.lib 17128 dependency to have proper "_debug" suffix needed by 17129 the Debug_Cairo target. 17130 171312009-11-17 Brian Weinstein <bweinstein@apple.com> 17132 17133 Reviewed by NOBODY - Build Fix. 17134 17135 Touch files to try to fix the build. 17136 17137 * Interfaces/IWebInspector.idl: 17138 * Interfaces/WebKit.idl: 17139 * WebKit.vcproj/Interfaces.vcproj: 17140 171412009-11-17 Pavel Feldman <pfeldman@chromium.org> 17142 17143 Reviewed by Timothy Hatcher. 17144 17145 Web Inspector: Make DRT show web inspector for tests in inspector/ folder. 17146 - Updated DRT to show/close inspector for all tests under /inspector 17147 - Introduced LayoutTestController::setTimelineProfilingEnabled and 17148 WebInspector::setTimelineProfilingEnabled beside setJavaScriptProfilingEnabled 17149 - Removed reload on each inspector test 17150 - Renamed fast/inspector to fast/inspector-support in order not to trigger 17151 inspector for those. 17152 - Reimplemented timeline tests in order to get rid of reload there. 17153 - Moved tests that don't require harness into the fast group. 17154 17155 https://bugs.webkit.org/show_bug.cgi?id=31472 17156 17157 * Interfaces/IWebInspector.idl: 17158 * WebInspector.cpp: 17159 (WebInspector::isTimelineProfilingEnabled): 17160 (WebInspector::setTimelineProfilingEnabled): 17161 * WebInspector.h: 17162 171632009-11-13 Adam Roben <aroben@apple.com> 17164 17165 Build fix 17166 17167 * Interfaces/WebKit.idl: Touch this to force interfaces to rebuild. 17168 171692009-11-13 Adam Roben <aroben@apple.com> 17170 17171 Tell the WebFrameLoadDelegate when window objects in isolated worlds 17172 are cleared 17173 17174 Fixes <http://webkit.org/b/31124>. 17175 17176 Reviewed by Dave Hyatt. 17177 17178 * Interfaces/IWebFrameLoadDelegatePrivate2.idl: Added 17179 didClearWindowObjectForFrameInScriptWorld. 17180 17181 * WebFrame.cpp: 17182 (WebFrame::dispatchDidClearWindowObjectInWorld): 17183 * WebFrame.h: 17184 Replaced windowObjectCleared with this function. If the delegate 17185 implements IWebFrameLoadDelegatePrivate2, call 17186 didClearWindowObjectForFrameInScriptWorld. Otherwise, if the passed-in 17187 world is the mainThreadNormalWorld(), call 17188 didClearWindowObjectForFrame. 17189 17190 * WebScriptWorld.cpp: 17191 (allWorlds): Added. Returns a HashMap of all the WebScriptWorlds in 17192 existence. 17193 (WebScriptWorld::WebScriptWorld): Add ourselves to allWorlds(). 17194 (WebScriptWorld::~WebScriptWorld): Remove ourselves from allWorlds(). 17195 (WebScriptWorld::standardWorld): Added this non-COM getter for the 17196 standard world, which the COM getter now calls through to. 17197 (WebScriptWorld::findOrCreateWorld): Added. Returns the existing 17198 WebScriptWorld for this DOMWrapperWorld, or a new one if one doesn't 17199 already exist. 17200 17201 * WebScriptWorld.h: Added new standardWorld overload, made one 17202 overload of createInstance private, and added findOrCreateWorld. 17203 172042009-11-13 Adam Roben <aroben@apple.com> 17205 17206 Build fix 17207 17208 * Interfaces/WebKit.idl: Un-sort the #includes again. Apparently they 17209 are order-dependent! 17210 172112009-11-13 Adam Roben <aroben@apple.com> 17212 17213 Touch WebKit.idl to fix the Windows build 17214 17215 * Interfaces/WebKit.idl: Sorted #includes. 17216 172172009-11-13 Adam Roben <aroben@apple.com> 17218 17219 Finish replacing worldIDs with world objects 17220 17221 The only remaining use of worldIDs was in a method only used by DRT 17222 for the isolated worlds tests. 17223 17224 Fixes <http://webkit.org/b/31414> Replace worldIDs with world objects 17225 17226 Reviewed by Mark Rowe. 17227 17228 * Interfaces/IWebFramePrivate.idl: 17229 * WebFrame.cpp: 17230 (WebFrame::stringByEvaluatingJavaScriptInScriptWorld): 17231 * WebFrame.h: 17232 Renamed from stringByEvaluatingJavaScriptInIsolatedWorld. Now takes an 17233 IWebScriptWorld instead of a worldID, so we don't need to maintain a 17234 map of worldID -> world anymore. 17235 172362009-11-12 Shinichiro Hamaji <hamaji@chromium.org> 17237 17238 Reviewed by Darin Adler. 17239 17240 externalRepresentation should take Frame as the argument 17241 https://bugs.webkit.org/show_bug.cgi?id=31393 17242 17243 No new tests as this is just a refactoring. 17244 17245 * WebFrame.cpp: 17246 (WebFrame::renderTreeAsExternalRepresentation): 17247 172482009-11-12 Adam Roben <aroben@apple.com> 17249 17250 Replace worldIDs with world objects 17251 17252 WebScriptWorld is the new object that represents a world. The only 17253 place worldID is still used is in 17254 IWebFramePrivate::stringByEvaluatingJavaScriptInIsolatedWorld, but 17255 that will change soon. 17256 17257 Part of <http://webkit.org/b/31414> Implement new SPI for dealing with 17258 user scripts/stylesheets and isolated worlds 17259 17260 Reviewed by Sam Weinig. 17261 17262 * ForEachCoClass.h: Added WebScriptWorld. 17263 17264 * Interfaces/IWebFramePrivate.idl: Replaced contextForWorldID with 17265 contextForWorld. 17266 17267 * Interfaces/IWebScriptWorld.idl: Added. 17268 17269 * Interfaces/IWebViewPrivate.idl: Changed the user script/stylesheet 17270 functions to take an IWebScriptWorld instead of a worldID. 17271 17272 * Interfaces/WebKit.idl: Added WebScriptWorld. 17273 17274 * WebFrame.cpp: 17275 (WebFrame::contextForWorld): Renamed from contextForWorldID. Now takes 17276 an IWebScriptWorld. 17277 (WebFrame::stringByEvaluatingJavaScriptInIsolatedWorld): Moved the 17278 bizarre world caching/creation logic that DRT depends on here from the 17279 findWorld function in ScriptController.cpp. Updated to use 17280 ScriptController::executeScriptInWorld instead of 17281 ScriptController::executeScriptInIsolatedWorld. 17282 17283 * WebFrame.h: Replaced contextForWorldID with contextForWorld. 17284 17285 * WebScriptWorld.cpp: Added. 17286 (WebScriptWorld::WebScriptWorld): 17287 (WebScriptWorld::~WebScriptWorld): 17288 (WebScriptWorld::createInstance): 17289 (WebScriptWorld::AddRef): 17290 (WebScriptWorld::Release): 17291 (WebScriptWorld::QueryInterface): 17292 Standard COM class implementations. 17293 17294 (WebScriptWorld::standardWorld): Returns a shared instance that represents 17295 WebCore's mainThreadNormalWorld(). 17296 17297 * WebScriptWorld.h: Added. 17298 (WebScriptWorld::world): Simple getter. 17299 17300 * WebKit.vcproj/Interfaces.vcproj: Added IWebScriptWorld.idl. 17301 17302 * WebKit.vcproj/WebKit.vcproj: Added WebScriptWorld. 17303 17304 * WebKitClassFactory.cpp: Added WebScriptWorld. 17305 17306 * WebView.cpp: 17307 (WebView::addUserScriptToGroup): 17308 (WebView::addUserStyleSheetToGroup): 17309 (WebView::removeUserScriptFromGroup): 17310 (WebView::removeUserStyleSheetFromGroup): 17311 (WebView::removeUserScriptsFromGroup): 17312 (WebView::removeUserStyleSheetsFromGroup): 17313 * WebView.h: 17314 Changed these functions to take an IWebScriptWorld instead of a worldID. 17315 173162009-11-12 Adam Roben <aroben@apple.com> 17317 17318 Small clean-up in WebView's user content functions 17319 17320 Preparation for <http://webkit.org/b/31414> Implement new SPI for 17321 dealing with user scripts/stylesheets and isolated worlds 17322 17323 Reviewed by Dave Hyatt. 17324 17325 * WebView.cpp: 17326 (toString): 17327 (toKURL): 17328 Added these helper functions to convert BSTRs to WebCore types. 17329 17330 (toStringVector): 17331 (WebView::addUserScriptToGroup): 17332 (WebView::addUserStyleSheetToGroup): 17333 (WebView::removeUserScriptFromGroup): 17334 (WebView::removeUserStyleSheetFromGroup): 17335 (WebView::removeUserScriptsFromGroup): 17336 (WebView::removeUserStyleSheetsFromGroup): 17337 (WebView::removeAllUserContentFromGroup): 17338 Use the new helper functions. 17339 173402009-11-11 Beth Dakin <bdakin@apple.com> 17341 17342 Build fix. No review needed. 17343 17344 * WebKitGraphics.cpp: 17345 (WebDrawText): 17346 173472009-11-10 Daniel Bates <dbates@webkit.org> 17348 17349 Reviewed by Oliver Hunt. 17350 17351 https://bugs.webkit.org/show_bug.cgi?id=30754 17352 17353 Modified WebDropSource::QueryContinueDrag so as to not call EventHandler::dragSourceMovedTo. 17354 17355 * WebDropSource.cpp: 17356 (WebDropSource::QueryContinueDrag): Removed call to EventHandler::dragSourceMovedTo. 17357 173582009-11-10 Alexey Proskuryakov <ap@apple.com> 17359 17360 Reviewed by Dan Bernstein. 17361 17362 https://bugs.webkit.org/show_bug.cgi?id=31312 17363 Decouple authentication panel callbacks from ResourceHandle 17364 17365 * WebCoreSupport/WebFrameLoaderClient.cpp: 17366 (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge): 17367 * WebURLAuthenticationChallenge.cpp: 17368 (WebURLAuthenticationChallenge::initWithAuthenticationChallenge): 17369 (WebURLAuthenticationChallenge::sender): 17370 * WebURLAuthenticationChallengeSender.cpp: 17371 (WebURLAuthenticationChallengeSender::WebURLAuthenticationChallengeSender): 17372 (WebURLAuthenticationChallengeSender::createInstance): 17373 (WebURLAuthenticationChallengeSender::authenticationClient): 17374 * WebURLAuthenticationChallengeSender.h: 17375 * WebURLAuthenticationChallengeSenderCFNet.cpp: 17376 (WebURLAuthenticationChallengeSender::cancelAuthenticationChallenge): 17377 (WebURLAuthenticationChallengeSender::continueWithoutCredentialForAuthenticationChallenge): 17378 (WebURLAuthenticationChallengeSender::useCredential): 17379 Adjusted for WebCore changes. 17380 173812009-11-10 Brian Weinstein <bweinstein@apple.com> 17382 17383 Reviewed by NOBODY - Build Fix. 17384 17385 Updated fillRoundedRect to take a ColorSpace argument. 17386 17387 * WebCoreSupport/WebDragClient.cpp: 17388 (WebDragClient::createDragImageForLink): 17389 173902009-11-08 Janne Koskinen <janne.p.koskinen@digia.com> 17391 17392 Reviewed by Holger Freyther. 17393 17394 ResourceRequest to be class instead of struct 17395 https://bugs.webkit.org/show_bug.cgi?id=30670 17396 17397 Started as a compilation fix for Symbian where the compiler makes a distinction between 17398 class and struct in function argument signatures. 17399 Changed forward declaration of ResourceRequest to have class in the forward 17400 declaration instead of struct. 17401 17402 * WebDownload.h: 17403 174042009-11-05 Adam Roben <aroben@apple.com> 17405 17406 Make CFDictionaryPropertyBag::createInstance return a COMPtr 17407 17408 I also cleaned up CFDictionaryPropertyBag's class declaration a little 17409 while I was at it. 17410 17411 Part of <http://webkit.org/b/25294> <rdar://problem/6803127> All 17412 WebKit/win classes should return COMPtrs from their static constructor 17413 members 17414 17415 Reviewed by Steve Falkenburg. 17416 17417 * CFDictionaryPropertyBag.cpp: 17418 (CFDictionaryPropertyBag::CFDictionaryPropertyBag): Changed to 17419 initialize m_refCount to 0. m_refCount gets increased to 1 by 17420 createInstance. 17421 (CFDictionaryPropertyBag::createInstance): Changed to return a COMPtr. 17422 17423 * CFDictionaryPropertyBag.h: 17424 - Updated copyright years 17425 - Fixed header guard to match current style 17426 - Replaced #include of CoreFoundation.h with forward-declaration of 17427 CFMutableDictionaryRef 17428 - Added #include of COMPtr.h 17429 - Fixed opening brace placement in class declaration 17430 - Made createInstance return a COMPtr 17431 - Made constructor/destructor private 17432 - Made QueryInterface and IPropertyBag functions private 17433 - Removed unnecessary parameter names and MIDL comments 17434 17435 * WebCache.cpp: 17436 (WebCache::statistics): Updated for change to 17437 CFDictionaryPropertyBag::createInstance. Now uses releaseRef to place 17438 the IPropertyBag pointers into the s array. 17439 17440 * WebCoreSupport/WebFrameLoaderClient.cpp: 17441 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): 17442 * WebDatabaseManager.cpp: 17443 (WebDatabaseManager::dispatchDidModifyDatabase): 17444 * WebFrame.cpp: 17445 (WebFrame::createJavaAppletWidget): 17446 Updated for change to CFDictionaryPropertyBag::createInstance. 17447 17448 * WebHistory.cpp: Removed releaseUserInfo, which is no longer needed. 17449 That function was also doing an unnecessary call to setDictionary(0). 17450 (createUserInfoFromArray): 17451 (createUserInfoFromHistoryItem): 17452 Changed to return COMPtr. 17453 17454 (WebHistory::loadFromURL): Updated for change to 17455 CFDictionaryPropertyBag::createInstance. 17456 17457 (WebHistory::removeAllItems): Updated for change to 17458 CFDictionaryPropertyBag::createInstance, which fixed a leak! We had 17459 forgotten to call releaseUserInfo here. 17460 17461 (WebHistory::removeItem): 17462 (WebHistory::addItem): 17463 (WebHistory::visitedURL): 17464 * WebIconDatabase.cpp: 17465 (postDidAddIconNotification): 17466 Updated for change to CFDictionaryPropertyBag::createInstance. 17467 17468 * WebKitClassFactory.cpp: 17469 (releaseRefFromCreateInstance): Added this overloaded function 17470 template to abstract away the difference between createInstance 17471 functions that return a ref'd pointer and createInstance functions 17472 that return a COMPtr. 17473 (WebKitClassFactory::CreateInstance): Changed to use 17474 releaseRefFromCreateInstance. 17475 174762009-11-03 Brian Weinstein <bweinstein@apple.com> 17477 17478 Reviewed by Steve Falkenburg. 17479 17480 WebActionModifierFlagsKey should return an unsigned, because 17481 flags imply a bitmask, and that is what other classes expect from 17482 it. 17483 17484 * WebActionPropertyBag.cpp: 17485 (WebActionPropertyBag::Read): 17486 174872009-11-02 Eric Carlson <eric.carlson@apple.com> 17488 17489 Reviewed by John Sullivan and Mark Rowe. 17490 17491 <rdar://problem/7356733> Voiceover does not read correct media controller time values 17492 17493 * WebCoreLocalizedStrings.cpp: 17494 (WebCore::localizedMediaTimeDescription): 17495 174962009-10-29 Jon Honeycutt <jhoneycutt@apple.com> 17497 17498 MSAA: Accessibility of headings is not correct 17499 17500 https://bugs.webkit.org/show_bug.cgi?id=30937 17501 17502 Reviewed by Alice Liu. 17503 17504 * AccessibleBase.cpp: 17505 (AccessibleBase::get_accDescription): 17506 Call the object's descriptionForMSAA(). Moved the comment to the 17507 WebCore file. 17508 (AccessibleBase::get_accRole): 17509 If the object has a string role, return that. Otherwise, return the 17510 integer role. 17511 17512 * AccessibleBase.h: 17513 Removed description(), as this was moved to WebCore. 17514 175152009-10-29 Jon Honeycutt <jhoneycutt@apple.com> 17516 17517 MSAA: Accessibility of links is wrong 17518 17519 https://bugs.webkit.org/show_bug.cgi?id=30928 17520 17521 Reviewed by Darin Adler. 17522 17523 * AccessibleBase.cpp: 17524 (AccessibleBase::get_accState): 17525 Check whether the element is linked, instead of whether the node is an 17526 anchor, so the child "linkable" elements of anchor elements will also 17527 be "linked". 17528 (AccessibleBase::name): 17529 Return the name for MSAA. 17530 (AccessibleBase::value): 17531 Return the string value for MSAA. 17532 175332009-10-30 Evan Stade <estade@chromium.org> 17534 17535 Reviewed by David Levin. 17536 17537 Notify the chrome when the focused node has changed. 17538 https://bugs.webkit.org/show_bug.cgi?id=30832 17539 17540 Added stub implementation for new ChromeClient function. 17541 17542 * WebCoreSupport/WebChromeClient.cpp: 17543 (WebChromeClient::focusedNodeChanged): 17544 * WebCoreSupport/WebChromeClient.h: 17545 175462009-10-30 Roland Steiner <rolandsteiner@chromium.org> 17547 17548 Reviewed by Eric Seidel. 17549 17550 Remove ENABLE_RUBY guards as discussed with Dave Hyatt and Maciej Stachowiak. 17551 17552 Bug 28420 - Implement HTML5 <ruby> rendering 17553 (https://bugs.webkit.org/show_bug.cgi?id=28420) 17554 17555 No new tests (no functional change). 17556 17557 * WebKit.vcproj/WebKit.vcproj: 17558 175592009-10-29 Mark Rowe <mrowe@apple.com> 17560 17561 Rubber-stamped by Dan Bernstein. 17562 17563 <http://webkit.org/b/30938> REGRESSION(r50233): Windows nightlies crash on launch due to changes 17564 to IWebFramePrivate vtable ordering 17565 17566 * Interfaces/IWebFramePrivate.idl: Move the newly-added method to the end of the interface so that 17567 it doesn't affect the ordering of the vtable. 17568 175692009-10-28 Steve Falkenburg <sfalken@apple.com> 17570 17571 Reviewed by Sam "Horatio" Weinig. 17572 17573 Should not generate/build COM DOM bindings 17574 https://bugs.webkit.org/show_bug.cgi?id=30880 17575 17576 * Interfaces/WebKit.idl: Remove generated interfaces. 17577 * WebKit.vcproj/InterfacesGenerated.vcproj: Removed. 17578 * WebKit.vcproj/WebKit.sln: Remove InterfacesGenerated.vcproj. 17579 * WebKit.vcproj/WebKit.submit.sln: Remove InterfacesGenerated.vcproj. 17580 * WebKit.vcproj/WebKit.vcproj: Remove generated interfaces. 17581 175822009-10-27 Shinichiro Hamaji <hamaji@chromium.org> 17583 17584 Reviewed by Darin Adler. 17585 17586 Provide a way to get counter values with layoutTestContoller 17587 https://bugs.webkit.org/show_bug.cgi?id=30555 17588 17589 * Interfaces/IWebFramePrivate.idl: 17590 * WebFrame.cpp: 17591 (WebFrame::counterValueForElementById): 17592 * WebFrame.h: 17593 175942009-10-28 Joe Mason <jmason@rim.com> 17595 17596 Reviewed by Adam Treat. 17597 17598 Call the shared FrameLoader::defaultObjectContentType instead of 17599 copying code into FrameLoaderClient::objectContentType. This causes no 17600 behavioural change. 17601 17602 * WebFrame.cpp: 17603 (WebFrame::objectContentType): 17604 176052009-10-28 Holger Hans Peter Freyther <zecke@selfish.org> 17606 17607 Speculative build-fix for WebElementPropertyBag.cpp 17608 17609 * WebElementPropertyBag.cpp: Include RenderObject.h 17610 176112009-10-27 Holger Hans Peter Freyther <zecke@selfish.org> 17612 17613 Reviewed by Simon Fraser. 17614 17615 Change HitTestResult methods to use (3d) transformation aware methods 17616 https://bugs.webkit.org/show_bug.cgi?id=27347 17617 17618 The HitTestResult::boundingBox method was removed. The 17619 RenderObject must be used directly. In contrast to the 17620 old HitTestResult::boundingBox method this code must use 17621 a (3d) transformation aware method to not run into an 17622 assert in SVGRenderBase::mapLocalToContainer. 17623 17624 * WebElementPropertyBag.cpp: 17625 (WebElementPropertyBag::Read): Replace HitTestResult::boundingBox() 17626 176272009-10-26 Laszlo Gombos <laszlo.1.gombos@nokia.com> 17628 17629 Reviewed by Darin Adler. 17630 17631 Make .rc files compile on Windows without depending on MFC headers 17632 https://bugs.webkit.org/show_bug.cgi?id=30750 17633 17634 * WebKit.vcproj/WebKit.rc: Use winresrc.h because it exists even 17635 when MFC is not installed, and is all that's needed here. 17636 176372009-10-26 Sam Weinig <sam@webkit.org> 17638 17639 Rubber-stamped by Darin Adler. 17640 17641 Rollout r50041-50043. The HTML5 spec changed to make HTMLOptionsCollection 17642 inherit from HTMLCollection. 17643 17644 * DOMCreateInstance.cpp: 17645 176462009-10-25 Dan Bernstein <mitz@apple.com> 17647 17648 Reviewed by John Sullivan. 17649 17650 Add contextForWorldID to the IWebFramePrivate interface. 17651 17652 * Interfaces/IWebFramePrivate.idl: 17653 * WebFrame.h: 17654 176552009-10-25 Sam Weinig <sam@webkit.org> 17656 17657 Another try at fixing windows. 17658 17659 * DOMCreateInstance.cpp: 17660 176612009-10-25 Sam Weinig <sam@webkit.org> 17662 17663 Touch WebKit.idl in an effort to try and regenerate the COM bindings. 17664 17665 * Interfaces/WebKit.idl: 17666 176672009-10-23 Mark Rowe <mrowe@apple.com> 17668 17669 Build fix. Include config.h before including other files. 17670 17671 * AccessibleImage.cpp: 17672 176732009-10-23 Gavin Barraclough <barraclough@apple.com> 17674 17675 Reviewed by Geoff Garen. 17676 17677 https://bugs.webkit.org/show_bug.cgi?id=30729 17678 Provide private API to request the global context for a specific world. 17679 Used to initialize parameters on the global object. 17680 17681 * WebFrame.cpp: 17682 (WebFrame::contextForWorldID): 17683 * WebFrame.h: 17684 176852009-10-23 Brian Weinstein <bweinstein@apple.com> 17686 17687 Reviewed by John Sullivan. 17688 17689 Pan-scrolling pointer shows up in other tabs or windows, can't "fix" it. 17690 <http://webkit.org/b/30732> and <rdar://7332018>. 17691 17692 Turns off pan-scrolling on a WebView when it is about to lose focus. 17693 17694 * WebView.cpp: 17695 (WebViewWndProc): 17696 176972009-10-23 Jon Honeycutt <jhoneycutt@apple.com> 17698 17699 MSAA: Name for image elements should use alt attribute text 17700 17701 https://bugs.webkit.org/show_bug.cgi?id=30727 17702 <rdar://problem/7328291> 17703 17704 Reviewed by Alice Liu. 17705 17706 * AccessibleBase.cpp: 17707 (AccessibleBase::createInstance): 17708 If the AccessibilityObject is an image, return an AccessibleImage. 17709 17710 * AccessibleImage.cpp: Added. 17711 (AccessibleImage::AccessibleImage): 17712 Call the base constructor. 17713 (AccessibleImage::name): 17714 If the object is not an AccessibilityRenderObject, return the base's 17715 name(). Look first for an ARIA "labeled-by" attribute, then look for an 17716 alternate text attribute. Fall back to the base's name(). 17717 17718 * AccessibleImage.h: Added. 17719 (AccessibleImage::~AccessibleImage): 17720 17721 * WebKit.vcproj/WebKit.vcproj: 17722 Add AccessibleImage to the project. 17723 177242009-10-23 Sam Weinig <sam@webkit.org> 17725 17726 Try and fix the windows build. 17727 17728 * Interfaces/WebKit.idl: 17729 177302009-10-22 Gavin Barraclough <barraclough@apple.com> 17731 17732 Reviewed by Sam Weinig & Geoff Garen. 17733 17734 https://bugs.webkit.org/show_bug.cgi?id=30696 17735 Update to incorporate support for IsolatedWorlds in JSC bindings. 17736 17737 * Interfaces/IWebFramePrivate.idl: 17738 * WebFrame.cpp: 17739 (WebFrame::globalContext): 17740 (WebFrame::windowObjectCleared): 17741 (WebFrame::stringByEvaluatingJavaScriptInIsolatedWorld): 17742 * WebFrame.h: 17743 177442009-10-20 Fumitoshi Ukai <ukai@chromium.org> 17745 17746 Reviewed by David Levin. 17747 17748 Removed WebSocket runtime settings. 17749 https://bugs.webkit.org/show_bug.cgi?id=29896 17750 17751 WebSocket runtime configuration is supported by chromium/v8 only. 17752 17753 * Interfaces/IWebPreferencesPrivate.idl: 17754 * WebPreferenceKeysPrivate.h: 17755 * WebPreferences.cpp: 17756 (WebPreferences::initializeDefaultSettings): 17757 (WebPreferences::experimentalNotificationsEnabled): 17758 * WebPreferences.h: 17759 * WebView.cpp: 17760 (WebView::notifyPreferencesChanged): 17761 177622009-10-19 Adam Roben <aroben@apple.com> 17763 17764 Fix crashes/assertions when calling WebLocalizedString from multiple 17765 threads concurrently 17766 17767 Fixes <http://webkit.org/b/30534> WebLocalizedString asserts if called 17768 from multiple threads concurrently 17769 17770 Reviewed by John Sullivan. 17771 17772 * WebLocalizableStrings.cpp: 17773 (mainBundleLocStringsMutex): 17774 (frameworkLocStringsMutex): 17775 Added these new getters. 17776 17777 (findCachedString): 17778 (cacheString): 17779 Lock the relevant mutex before accessing each string map. Otherwise 17780 bad things could happen if two threads end up here at the same time. 17781 177822009-10-19 Adam Roben <aroben@apple.com> 17783 17784 Get rid of a few static initializers/exit-time destructors in 17785 WebLocalizableStrings 17786 17787 Reviewed by Dan Bernstein. 17788 17789 * WebLocalizableStrings.cpp: 17790 (mainBundleLocStrings): 17791 (frameworkLocStrings): 17792 Added these functions instead of file-scope variables. 17793 17794 (findCachedString): 17795 (cacheString): 17796 Updated to use the new functions. 17797 177982009-10-19 Nate Chapin <japhet@chromium.org> 17799 17800 Unreviewed, build fix. 17801 17802 Update call to FrameLoader::urlSelected(). 17803 17804 * WebCoreSupport/WebContextMenuClient.cpp: 17805 (WebContextMenuClient::searchWithGoogle): 17806 178072009-10-16 Steve Falkenburg <sfalken@apple.com> 17808 17809 Reviewed by Dan Bernstein. 17810 17811 https://bugs.webkit.org/show_bug.cgi?id=30456 17812 Fixes for new Debug_All Windows build configuration. 17813 17814 * WebKitClassFactory.cpp: Use new DEBUG_ALL preprocessor define for library naming. 17815 178162009-10-16 Jon Honeycutt <jhoneycutt@apple.com> 17817 17818 Add SPI to determine whether a plug-in has ever been halted. 17819 17820 Part of <rdar://problem/7312158>. 17821 17822 Reviewed by Dan Bernstein. 17823 17824 * Interfaces/IWebViewPrivate.idl: 17825 Add hasPluginForNodeBeenHalted(). 17826 17827 * WebView.cpp: 17828 (pluginViewForNode): 17829 Code factored out of isNodeHaltedPlugin(). 17830 (WebView::isNodeHaltedPlugin): 17831 Remove STDMETHODCALLTYPE, as it has no use at the definition. Use 17832 pluginViewForNode(). 17833 (WebView::restartHaltedPluginForNode): 17834 Ditto. 17835 (WebView::hasPluginForNodeBeenHalted): 17836 Get the PluginView for the given node. Return the result of 17837 PluginView::hasBeenHalted(). 17838 17839 * WebView.h: 17840 Declare hasPluginForNodeBeenHalted(). 17841 178422009-10-16 Steve Falkenburg <sfalken@apple.com> 17843 17844 Reviewed by Adam Roben. 17845 17846 Add a Debug_All configuration to build entire stack as debug. 17847 Change Debug_Internal to: 17848 - stop using _debug suffix for all WebKit/Safari binaries 17849 - not use _debug as a DLL naming suffix 17850 - use non-debug C runtime lib. 17851 17852 * WebKit.vcproj/InterfacesGenerated.vcproj: Renamed single configuration from "Release" to "all". 17853 * WebKit.vcproj/WebKit.make: Debug build in makefile should build Debug_All. 17854 * WebKit.vcproj/WebKit.sln: Add Debug_All configuration. 17855 * WebKit.vcproj/WebKit.submit.sln: Add Debug_All configuration. 17856 * WebKit.vcproj/WebKit.vcproj: 17857 Remove extraneous OutputDirectory/IntermediateDirectory in Debug_Cairo. 17858 Add Debug_All configuration. 17859 * WebKit.vcproj/WebKitGUID.vcproj: Add Debug_All configuration. 17860 178612009-10-15 Jon Honeycutt <jhoneycutt@apple.com> 17862 17863 Add SPI to restart a halted plug-in. 17864 17865 Part of <rdar://problem/7273354> Halted plug-ins should restart on 17866 mouseover 17867 17868 https://bugs.webkit.org/show_bug.cgi?id=30151 17869 17870 Reviewed by Kevin Decker. 17871 17872 * Interfaces/IWebViewPrivate.idl: 17873 Add restartHaltedPluginForNode(). 17874 17875 * WebView.cpp: 17876 (WebView::restartHaltedPluginForNode): 17877 From the IDOMNode, query for the DOMNode. From the DOMNode, get the 17878 WebCore::Node. Get the node's renderer, and check whether it is a 17879 RenderWidget. If so, get its Widget, and check whether it's a 17880 PluginView. If so, call PluginView::restart(). 17881 17882 * WebView.h: 17883 Declare restartHaltedPluginForNode(). 17884 178852009-10-14 Jon Honeycutt <jhoneycutt@apple.com> 17886 17887 Add SPI to determine whether a node is a halted plug-in. 17888 17889 Part of <rdar://problem/7273354> Halted plug-ins should restart on 17890 mouseover 17891 17892 https://bugs.webkit.org/show_bug.cgi?id=30151 17893 17894 Reviewed by Darin Adler. 17895 17896 * Interfaces/IWebViewPrivate.idl: 17897 Add isNodehaltedPlugin(). 17898 17899 * WebView.cpp: 17900 (WebView::isNodeHaltedPlugin): 17901 From the IDOMNode, query for the DOMNode. From the DOMNode, get the 17902 WebCore::Node. Get the node's renderer, and check whether it is a 17903 RenderWidget. If so, get its Widget, and check whether it's a 17904 PluginView. If so, return the result of PluginView::isHalted(). 17905 17906 * WebView.h: 17907 Declare isNodeHaltedPlugin(). 17908 179092009-10-15 Daniel Bates <dbates@webkit.org> 17910 17911 Reviewed by Adam Roben. 17912 17913 https://bugs.webkit.org/show_bug.cgi?id=24731 17914 And 17915 rdar://problem/5015961 17916 17917 Implements support for DHTML drag-and-drop operations (i.e. ondragstart, ondragend) 17918 in the Windows build so that it conforms to the Mac OS X build. Hence, dropEffect is 17919 correctly set. 17920 17921 The WebView and WebDropSource drag-and-drop functions, as called by function 17922 DoDragDrop in its event loop, neither used the drop effect as specified by 17923 event.dataTransfer.dropEffect nor respected event.dataTransfer.effectsAllowed. 17924 Instead, these functions defaulted to some hardcoded drop effect and set of 17925 allowed drop effects, respectively. 17926 17927 Tests: fast/events/drag-and-drop.html 17928 17929 * WebCoreSupport/WebDragClient.cpp: 17930 (WebDragClient::startDrag): 17931 * WebDropSource.cpp: 17932 (WebDropSource::QueryContinueDrag): Moved call to EventHandler::dragSourceEndedAt 17933 into method WebDragClient::startDrag. 17934 * WebDropSource.h: 17935 * WebView.cpp: 17936 (WebView::keyStateToDragOperation): Fixes <rdar://problem/5015961>. Determines 17937 appropriate drop effect from state of keyboard and allowed effects 17938 m_page->dragController()->sourceDragOperation(). 17939 (WebView::DragEnter): 17940 (WebView::DragOver): 17941 (WebView::Drop): 17942 * WebView.h: 17943 179442009-10-14 Adam Roben <aroben@apple.com> 17945 17946 Windows build fix 17947 17948 * WebKit.vcproj/Interfaces.vcproj: Exclude IWebHistoryDelegate and 17949 IWebNavigationData from the build (they get #imported via WebKit.idl). 17950 179512009-10-14 Brady Eidson <beidson@apple.com> 17952 17953 Reviewed by Sam Weinig. 17954 17955 WebKit Win API should provide a delegate interface for global history. 17956 https://bugs.webkit.org/show_bug.cgi?id=29905 17957 17958 -Add IWebHistoryDelegate for clients to implement. 17959 -Add (I)WebNavigationData for the history delegate's use. 17960 -When it exists, call the history delegate instead of using WebHistory. 17961 17962 * Interfaces/IWebHistoryDelegate.idl: Added. 17963 * Interfaces/IWebHistoryPrivate.idl: 17964 * Interfaces/IWebNavigationData.idl: Added. 17965 * Interfaces/IWebViewPrivate.idl: 17966 * Interfaces/WebKit.idl: 17967 17968 * WebKit.vcproj/Interfaces.vcproj: 17969 * WebKit.vcproj/WebKit.vcproj: 17970 17971 * WebCoreSupport/WebChromeClient.cpp: 17972 (WebChromeClient::populateVisitedLinks): 17973 * WebCoreSupport/WebFrameLoaderClient.cpp: 17974 (WebFrameLoaderClient::updateGlobalHistory): 17975 (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks): 17976 (WebFrameLoaderClient::setTitle): 17977 17978 * WebView.cpp: 17979 (WebView::close): 17980 (WebView::mainFrameURL): 17981 (WebView::setHistoryDelegate): 17982 (WebView::historyDelegate): 17983 (WebView::addVisitedLinks): 17984 * WebView.h: 17985 17986 * WebHistory.cpp: 17987 (WebHistory::setVisitedLinkTrackingEnabled): 17988 (WebHistory::removeAllVisitedLinks): 17989 * WebHistory.h: 17990 17991 * WebNavigationData.cpp: Added. 17992 (WebNavigationData::QueryInterface): 17993 (WebNavigationData::AddRef): 17994 (WebNavigationData::Release): 17995 (WebNavigationData::WebNavigationData): 17996 (WebNavigationData::~WebNavigationData): 17997 (WebNavigationData::createInstance): 17998 (WebNavigationData::url): 17999 (WebNavigationData::title): 18000 (WebNavigationData::originalRequest): 18001 (WebNavigationData::response): 18002 (WebNavigationData::hasSubstituteData): 18003 (WebNavigationData::clientRedirectSource): 18004 * WebNavigationData.h: Added. 18005 180062009-10-13 Dave Hyatt <hyatt@apple.com> 18007 18008 Fix more WebView bustage. 18009 18010 * WebView.cpp: 18011 (WebView::addUserScriptToGroup): 18012 (WebView::addUserStyleSheetToGroup): 18013 (WebView::removeUserScriptsFromGroup): 18014 (WebView::removeUserStyleSheetsFromGroup): 18015 180162009-10-13 Dave Hyatt <hyatt@apple.com> 18017 18018 Fix build bustage on Windows. 18019 18020 * WebView.cpp: 18021 (WebView::addUserScriptToGroup): 18022 (WebView::addUserStyleSheetToGroup): 18023 (WebView::removeUserScriptsFromGroup): 18024 (WebView::removeUserStyleSheetsFromGroup): 18025 180262009-10-13 Dave Hyatt <hyatt@apple.com> 18027 18028 Reviewed by Adam Roben.. 18029 18030 Split removal functions for user scripts and stylehseets based on type. 18031 18032 * Interfaces/IWebViewPrivate.idl: 18033 * WebView.cpp: 18034 (WebView::removeUserScriptFromGroup): 18035 (WebView::removeUserStyleSheetFromGroup): 18036 * WebView.h: 18037 180382009-10-09 Adam Barth <abarth@webkit.org> 18039 18040 Reviewed by Darin Adler. 18041 18042 Factor HistoryController out of FrameLoader 18043 https://bugs.webkit.org/show_bug.cgi?id=30246 18044 18045 Update API call. 18046 18047 * WebView.cpp: 18048 (WebView::loadBackForwardListFromOtherView): 18049 180502009-10-08 Jon Honeycutt <jhoneycutt@apple.com> 18051 18052 Remove the WebKitPluginHalterEnabledPreferenceKey in favor of checking 18053 for the existence of a PluginHalterDelegate. 18054 18055 Reviewed by Dan Bernstein. 18056 18057 * Interfaces/IWebPreferencesPrivate.idl: 18058 Remove the getter and setter. 18059 18060 * WebCoreSupport/WebPluginHalterClient.cpp: 18061 (WebPluginHalterClient::enabled): 18062 Return true if the delegate exists. 18063 18064 * WebCoreSupport/WebPluginHalterClient.h: 18065 Declare implementation of enabled(). 18066 18067 * WebPreferenceKeysPrivate.h: 18068 Removed the pref key. 18069 18070 * WebPreferences.cpp: 18071 (WebPreferences::initializeDefaultSettings): 18072 Removed initialization of the pref. 18073 18074 * WebPreferences.h: 18075 Removed declaration of the getter/setter. 18076 18077 * WebView.cpp: 18078 (WebView::notifyPreferencesChanged): 18079 Don't propagate the pref. 18080 180812009-10-08 Adam Barth <abarth@webkit.org> 18082 18083 Reviewed by Eric Seidel. 18084 18085 Move executeScript from FrameLoader to ScriptController 18086 https://bugs.webkit.org/show_bug.cgi?id=30200 18087 18088 Update API call. 18089 18090 * WebView.cpp: 18091 (WebView::stringByEvaluatingJavaScriptFromString): 18092 180932009-10-08 Anders Carlsson <andersca@apple.com> 18094 18095 Reviewed by Sam Weinig. 18096 18097 Remove the shouldLoadMediaElementURL implementation. 18098 18099 * Interfaces/IWebPolicyDelegatePrivate.idl: 18100 * WebCoreSupport/WebFrameLoaderClient.cpp: 18101 (WebFrameLoaderClient::shouldUsePluginDocument): 18102 * WebCoreSupport/WebFrameLoaderClient.h: 18103 181042009-10-08 Adam Roben <aroben@apple.com> 18105 18106 Make IWebInspectorPrivate be accessed in a more standard way 18107 18108 IWebViewPrivate::inspectorPrivate has been removed. Callers should 18109 instead use IWebViewPrivate::inspector and then use QueryInterface to 18110 get the IWebInspectorPrivate interface. This matches how our other COM 18111 classes work. 18112 18113 Fixes <http://webkit.org/b/30215> Make IWebInspectorPrivate be 18114 accessed in a more standard way 18115 18116 Reviewed by John Sullivan and Tim Hatcher. 18117 18118 * Interfaces/IWebViewPrivate.idl: Removed inspectorPrivate. 18119 18120 * WebInspector.cpp: 18121 (WebInspector::QueryInterface): Support querying to 18122 IWebInspectorPrivate. 18123 18124 * WebView.cpp: 18125 * WebView.h: 18126 Removed inspectorPrivate. 18127 181282009-10-08 Adam Roben <aroben@apple.com> 18129 18130 Move the new IWebViewPrivate::inspectorPrivate function after all 18131 functions that existed when Safari 4.0.3 was released 18132 18133 Fixes <http://webkit.org/b/30085> REGRESSION (r49091): run-safari 18134 crashes in Safari.dll 18135 18136 Reviewed by John Sullivan. 18137 18138 * Interfaces/IWebViewPrivate.idl: Moved inspectorPrivate to the end of 18139 the interface, so it won't modify the vtable that Safari 4.0.3 sees. 18140 181412009-10-07 Adam Roben <aroben@apple.com> 18142 18143 Expose origin whitelisting in the WebKit API on Windows 18144 18145 Fixes <http://webkit.org/b/30185>. 18146 18147 Reviewed by Eric Seidel. 18148 18149 * Interfaces/IWebViewPrivate.idl: Added whiteListAccessFromOrigin and 18150 resetOriginAccessWhiteLists, to match the Mac SPI. 18151 18152 * WebView.cpp: 18153 (WebView::whiteListAccessFromOrigin): 18154 (WebView::resetOriginAccessWhiteLists): 18155 * WebView.h: 18156 Added. These just call through to SecurityOrigin. 18157 181582009-10-07 Adam Barth <abarth@webkit.org> 18159 18160 Reviewed by Darin Adler. 18161 18162 Factor PolicyChecker out of FrameLoader 18163 https://bugs.webkit.org/show_bug.cgi?id=30155 18164 18165 Move the policy callback to the policy object. 18166 18167 * WebFrame.cpp: 18168 (WebFrame::dispatchWillSubmitForm): 18169 (WebFrame::receivedPolicyDecision): 18170 (WebFrame::dispatchDecidePolicyForMIMEType): 18171 (WebFrame::dispatchDecidePolicyForNewWindowAction): 18172 (WebFrame::dispatchDecidePolicyForNavigationAction): 18173 181742009-10-07 Daniel Bates <dbates@webkit.org> 18175 18176 Reviewed by Darin Adler. 18177 18178 https://bugs.webkit.org/show_bug.cgi?id=30102 18179 And 18180 <rdar://problem/5015957> 18181 18182 Fixes an issue (in the Windows build) where the cursor does not change to the 18183 not-allowed cursor when the drag-and-drop operation is not allowed. 18184 18185 The allowed effects in WebDragClient::startDrag are hard-coded to be 18186 DROPEFFECT_COPY | DROPEFFECT_LINK | DROPEFFECT_MOVE. Instead, the list of 18187 allowed drop effects should be determined by the allowed operations of the 18188 drag source. 18189 18190 We cannot test this using DRT because DRT looks at the programmatic drop 18191 cursor and until bug #24731 is fixed this value is hard-coded to DragOperationCopy. 18192 That is, there is a discrepancy in the Windows build between the Windows API-based 18193 drop effect and the WebKit drop effect. Because DRT cannot read the screen buffer 18194 to determine the cursor, a manual test is needed. 18195 18196 * WebCoreSupport/WebDragClient.cpp: 18197 (draggingSourceOperationMaskToDragCursors): Added method. 18198 (WebDragClient::startDrag): 18199 182002009-10-07 Steve Falkenburg <sfalken@apple.com> 18201 18202 Reviewed by Darin Adler. 18203 18204 https://bugs.webkit.org/show_bug.cgi?id=30176 18205 <rdar://problem/7281553> Extra information in UA causes problems with gmail 18206 18207 * WebKit.vcproj/WebKit.rc: Restore PRODUCTVERSION to build number only. Remove extra space. 18208 182092009-10-06 Pavel Feldman <pfeldman@chromium.org> 18210 18211 Reviewed by Timothy Hatcher. 18212 18213 Web Inspector: default to an attached inspector window on Windows (as on Mac). 18214 18215 https://bugs.webkit.org/show_bug.cgi?id=30134 18216 18217 * WebCoreSupport/WebInspectorClient.cpp: 18218 (WebInspectorClient::showWindowWithoutNotifications): 18219 182202009-10-06 Adam Barth <abarth@webkit.org> 18221 18222 Reviewed by Eric Seidel. 18223 18224 Move FrameLoader::canLoad to SecurityOrigin 18225 https://bugs.webkit.org/show_bug.cgi?id=30111 18226 18227 * WebFrame.cpp: 18228 (WebFrame::allowsFollowingLink): 18229 182302009-10-06 Pavel Feldman <pfeldman@chromium.org> 18231 18232 Reviewed by Timothy Hatcher. 18233 18234 Web Inspector: close inspector client view on 18235 InspectorController::close API call. 18236 18237 In order to run batch web inspector layout tests (and not affect 18238 subsequent tests) we should close inspector client's view upon 18239 InspectorController::close API call. 18240 18241 https://bugs.webkit.org/show_bug.cgi?id=30009 18242 18243 * WebCoreSupport/WebInspectorClient.cpp: 18244 (WebInspectorClient::createPage): 18245 182462009-10-06 David Levin <levin@chromium.org> 18247 18248 Reviewed by NOBODY (windows build fix). 18249 18250 Speculative build fix for windows (due to r49160). 18251 18252 * WebDownloadCFNet.cpp: 18253 (WebDownload::initToResumeWithBundle): 18254 * WebIconDatabase.cpp: 18255 (WebIconDatabase::dispatchDidAddIconForPageURL): 18256 182572009-10-05 Pavel Feldman <pfeldman@chromium.org> 18258 18259 Reviewed by Timothy Hatcher. 18260 18261 Web Inspector: add testing harness for Web Inspector. 18262 18263 https://bugs.webkit.org/show_bug.cgi?id=30010 18264 18265 * Interfaces/IWebInspectorPrivate.idl: Added. 18266 * Interfaces/IWebViewPrivate.idl: 18267 * Interfaces/WebKit.idl: 18268 * WebInspector.cpp: 18269 (WebInspector::evaluateInFrontend): 18270 * WebInspector.h: 18271 * WebView.cpp: 18272 (WebView::inspectorPrivate): 18273 * WebView.h: 18274 182752009-10-02 Dave Hyatt <hyatt@apple.com> 18276 18277 Reviewed by Adam Roben. 18278 18279 Add support for blacklist patterns to user stylesheets and scripts in addition to whitelist patterns. 18280 18281 * Interfaces/IWebViewPrivate.idl: 18282 * WebView.cpp: 18283 (toStringVector): 18284 (WebView::addUserScriptToGroup): 18285 (WebView::addUserStyleSheetToGroup): 18286 * WebView.h: 18287 182882009-10-02 Steve Falkenburg <sfalken@apple.com> 18289 18290 Reviewed by Mark Rowe. 18291 18292 <https://bugs.webkit.org/show_bug.cgi?id=29989> 18293 Safari version number shouldn't be exposed in WebKit code 18294 18295 For a WebKit version of 532.3.4: 18296 Product version is: 5.32.3.4 (was 4.0.3.0) 18297 File version is: 5.32.3.4 (was 4.532.3.4) 18298 18299 * WebKit.vcproj/WebKit.rc: 18300 183012009-09-30 Sam Weinig <sam@webkit.org> 18302 18303 Reviewed by Dan Bernstein. 18304 18305 Fix for <rdar://problem/7259706> 18306 Need WebKit API or SPI on Mac and Windows to test whether it's safe to load a page in a new tab/window 18307 18308 * Interfaces/IWebFramePrivate.idl: 18309 * WebFrame.cpp: 18310 (WebFrame::allowsFollowingLink): 18311 * WebFrame.h: 18312 183132009-09-30 Dave Hyatt <hyatt@apple.com> 18314 18315 Reviewed by Adam Roben. 18316 18317 Add the ability to remove user stylesheets and scripts by URL. 18318 18319 * Interfaces/IWebViewPrivate.idl: 18320 * WebView.cpp: 18321 (WebView::removeUserContentWithURLFromGroup): 18322 * WebView.h: 18323 183242009-09-29 Kenneth Russell <kbr@google.com> 18325 18326 Reviewed by Dimitri Glazkov. 18327 18328 Add support for run-time flag for 3D canvas 18329 https://bugs.webkit.org/show_bug.cgi?id=29826 18330 18331 * WebView.cpp: 18332 (WebView::notifyPreferencesChanged): Enable experimental WebGL 18333 flag when 3D_CANVAS is enabled in the build. 18334 183352009-09-28 Alexey Proskuryakov <ap@apple.com> 18336 18337 Reviewed by Darin Adler and Sam Weinig. 18338 18339 Onclick not fired for an element copied with cloneContents() or cloneNode() 18340 https://bugs.webkit.org/show_bug.cgi?id=25130 18341 18342 * DOMCreateInstance.cpp: GEN_DOMEventListener is a pure interface now. 18343 18344 * WebKit.vcproj/WebKit.vcproj: Removed GEN_DOMEventListener.cpp. 18345 183462009-09-28 Fumitoshi Ukai <ukai@chromium.org> 18347 18348 Reviewed by Eric Seidel. 18349 18350 Add experimentalWebSocketsEnabled in WebPreferences. 18351 https://bugs.webkit.org/show_bug.cgi?id=28941 18352 18353 * Interfaces/IWebPreferencesPrivate.idl: 18354 * WebPreferenceKeysPrivate.h: 18355 * WebPreferences.cpp: 18356 (WebPreferences::initializeDefaultSettings): 18357 (WebPreferences::setExperimentalWebSocketsEnabled): 18358 (WebPreferences::experimentalWebSocketsEnabled): 18359 * WebPreferences.h: 18360 * WebView.cpp: 18361 (WebView::notifyPreferencesChanged): 18362 (core): 18363 183642009-09-25 Darin Adler <darin@apple.com> 18365 18366 Reviewed by Steve Falkenburg. 18367 18368 Speed up access to history items by caching date computation. 18369 18370 * History/WebHistory.mm: 18371 (getDayBoundaries): Refactored from timeIntervalForBeginningOfDay. 18372 Returns the beginning of the day that the passed time is within and 18373 the beginning of the next day. 18374 (beginningOfDay): Added. Uses getDayBoundaries so it can be fast for 18375 multiple dates within the same day, which is the common case. 18376 (dateKey): Added. Calls beginningOfDay and converts to an integer. 18377 (WebHistory::findKey): Changed to call dateKey instead of 18378 timeIntervalForBeginningOfDay. 18379 183802009-09-25 Adam Roben <aroben@apple.com> 18381 18382 Add SPI to invalidate a WebView's backing store 18383 18384 This is useful in conjunction with 18385 IWebUIDelegatePrivate2::drawBackground. This provides a way for the UI 18386 delegate to force WebView to get its background redrawn. 18387 18388 Fixes <http://webkit.org/b/29737> Need SPI to invalidate a WebView's 18389 backing store 18390 18391 Reviewed by Anders Carlsson. 18392 18393 * Interfaces/IWebViewPrivate.idl: Added invalidateBackingStore. 18394 * WebView.cpp: 18395 (WebView::invalidateBackingStore): If rect is 0, invalidate our whole 18396 client rect. Otherwise invalidate the intersection of rect with our 18397 client rect. 18398 * WebView.h: 18399 184002009-09-24 Jon Honeycutt <jhoneycutt@apple.com> 18401 18402 Add a mechanism for automatically halting plug-ins. 18403 18404 Reviewed by Oliver Hunt. 18405 18406 * Interfaces/IWebPluginHalterDelegate.idl: Added. Defines an interface 18407 for a delegate that determines whether plug-ins should be halted. 18408 18409 * Interfaces/IWebPreferencesPrivate.idl: 18410 Declare functions to get and set the enabled state of the plug-in 18411 halter and the plug-in allowed run time. 18412 18413 * Interfaces/IWebViewPrivate.idl: 18414 Declare functions to get and set the IWebPluginHalterDelegate. 18415 18416 * Interfaces/WebKit.idl: 18417 18418 * WebCoreSupport/WebPluginHalterClient.cpp: Added. 18419 (WebPluginHalterClient::WebPluginHalterClient): 18420 (WebPluginHalterClient::shouldHaltPlugin): 18421 Get the IWebPluginHalterDelegate for the WebView. Create a WebKit 18422 DOMNode for the WebCore Node. Call the delegate's shouldHaltPlugin(). 18423 If the call fails, return false. Otherwise, return the result of the 18424 call. 18425 18426 * WebCoreSupport/WebPluginHalterClient.h: Added. 18427 18428 * WebKit.vcproj/Interfaces.vcproj: 18429 Add IWebPluginHalterDelegate.idl. 18430 18431 * WebKit.vcproj/WebKit.vcproj: 18432 Add WebPluginHalterClient.{h,cpp}. 18433 18434 * WebPreferenceKeysPrivate.h: 18435 Define WebKitPluginHalterEnabledPreferenceKey and 18436 WebKitPluginAllowedRunTimePreferenceKey. 18437 18438 * WebPreferences.cpp: 18439 (WebPreferences::initializeDefaultSettings): 18440 Leave plug-in halting disabled by default. Set the default value for 18441 the plug-in allowed run time to the max value of an unsigned int. 18442 (WebPreferences::setPluginHalterEnabled): 18443 (WebPreferences::pluginHalterEnabled): 18444 (WebPreferences::setPluginAllowedRunTime): 18445 (WebPreferences::pluginAllowedRunTime): 18446 18447 * WebPreferences.h: 18448 18449 * WebView.cpp: 18450 (WebView::close): 18451 Clear the IWebPluginHalterDelegate. 18452 (WebView::initWithFrame): 18453 Pass a WebPluginHalterClient when creating the Page. 18454 (WebView::notifyPreferencesChanged): 18455 Set the new settings when the preferences changed notification is 18456 received. 18457 (WebView::setPluginHalterDelegate): 18458 (WebView::pluginHalterDelegate): 18459 18460 * WebView.h: 18461 Declare overrides of setPluginHalterDelegate() and 18462 pluginHalterDelegate(). Added a member to track the 18463 IWebPluginHalterDelegate. 18464 184652009-09-14 John Gregg <johnnyg@google.com> 18466 18467 Reviewed by Eric Seidel. 18468 18469 Enable switch for notifications (experimental) in Page Settings 18470 https://bugs.webkit.org/show_bug.cgi?id=28930 18471 18472 Adds support for the experimentalNotificationsEnabled flag in Settings through 18473 WebPreferencesPrivate interface. Also cleans up some issues accessing the 18474 notification delegate through DumpRenderTree. 18475 18476 * Interfaces/IWebPreferencesPrivate.idl: 18477 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: 18478 (WebDesktopNotificationsDelegate::hasNotificationDelegate): 18479 (WebDesktopNotificationsDelegate::notificationDelegate): 18480 * WebPreferenceKeysPrivate.h: 18481 * WebPreferences.cpp: 18482 (WebPreferences::initializeDefaultSettings): 18483 (WebPreferences::setExperimentalNotificationsEnabled): 18484 (WebPreferences::experimentalNotificationsEnabled): 18485 * WebPreferences.h: 18486 * WebView.cpp: 18487 (WebView::notifyPreferencesChanged): 18488 184892009-09-23 Anders Carlsson <andersca@apple.com> 18490 18491 Reviewed by Adam Roben. 18492 18493 <rdar://problem/7243354> 18494 REGRESSION(48580-48636): Crash clicking embedded QT preview button on apple.com/trailers 18495 18496 Check for a null IWebPolicyDelegatePrivate. 18497 18498 * WebCoreSupport/WebFrameLoaderClient.cpp: 18499 (WebFrameLoaderClient::shouldLoadMediaElementURL): 18500 185012009-09-22 Sam Weinig <sam@webkit.org> 18502 18503 Rubber-stamped by Adam Roben. 18504 18505 Remove accidentally left in declaration of reloadFromOrigin in IWebFramePrivate.idl 18506 18507 * Interfaces/IWebFramePrivate.idl: 18508 185092009-09-22 Sam Weinig <sam@webkit.org> 18510 18511 Reviewed by Steve Falkenburg. 18512 18513 Fix for <rdar://problem/6451745> 18514 Windows WebKit needs to implement reloadFromOrigin() 18515 18516 * Interfaces/IWebFrame.idl: 18517 * Interfaces/IWebFramePrivate.idl: 18518 * Interfaces/IWebView.idl: 18519 * WebFrame.cpp: 18520 (WebFrame::reloadFromOrigin): 18521 * WebFrame.h: 18522 * WebView.cpp: 18523 (WebView::reloadFromOrigin): 18524 * WebView.h: 18525 185262009-09-22 Adam Roben <aroben@apple.com> 18527 18528 Manage refcounts correctly in DefaultDownloadDelegate::willSendRequest 18529 18530 Fixes <http://webkit.org/b/29650> Crash in 18531 WebDownload::willSendRequest when using DefaultDownloadDelegate 18532 18533 Reviewed by Brady Eidson. 18534 18535 * DefaultDownloadDelegate.cpp: 18536 (DefaultDownloadDelegate::willSendRequest): Call AddRef() on the 18537 object we're returning via the finalRequest out-parameter. 18538 185392009-09-21 Anders Carlsson <andersca@apple.com> 18540 18541 Reviewed by Adam Roben. 18542 18543 <rdar://problem/7135588> HTMLMediaElement should ask WebPolicyLoadDelegate before loading resource 18544 18545 Implement WebFrameLoaderClient::shouldLoadMediaElementURL and have it call the new private policy 18546 delegate method. 18547 18548 * Interfaces/IWebPolicyDelegatePrivate.idl: Added. 18549 * Interfaces/WebKit.idl: 18550 * WebCoreSupport/WebFrameLoaderClient.cpp: 18551 (WebFrameLoaderClient::shouldLoadMediaElementURL): 18552 * WebCoreSupport/WebFrameLoaderClient.h: 18553 * WebKit.vcproj/Interfaces.vcproj: 18554 185552009-09-17 Kenneth Rohde Christiansen <kenneth@webkit.org> 18556 18557 Reviewed by Simon Hausmann. 18558 18559 Make PlatformWindow return something else than PlatformWidget 18560 https://bugs.webkit.org/show_bug.cgi?id=29085 18561 18562 Reflect the rename of platformWindow and it's return type. 18563 18564 * AccessibleBase.cpp: 18565 (AccessibleBase::get_accParent): 18566 * WebCoreSupport/WebChromeClient.cpp: 18567 (WebChromeClient::platformPageClient): 18568 * WebCoreSupport/WebChromeClient.h: 18569 185702009-09-17 Brian Weinstein <bweinstein@apple.com> 18571 18572 Reviewed by Adam Roben. 18573 18574 Remove assertions that were being hit by calls to 18575 m_verticalScrollbar->invalidate(). These assertions were valid, 18576 but they were causing tests to fail, so replacing with a FIXME 18577 until we can find out the real cause/solution that is being tracked 18578 by http://webkit.org/b/29350. 18579 18580 * WebView.cpp: 18581 (WebView::addToDirtyRegion): 18582 (WebView::paintIntoBackingStore): 18583 185842009-09-17 Ada Chan <adachan@apple.com> 18585 18586 Post WebViewDidChangeSelectionNotification when the text selection changes. 18587 18588 Fixes <http://webkit.org/b/29321> 18589 18590 Reviewed by Adam Roben. 18591 18592 * Interfaces/IWebView.idl: 18593 * WebCoreSupport/WebEditorClient.cpp: 18594 (WebEditorClient::respondToChangedSelection): 18595 185962009-09-17 Adam Roben <aroben@apple.com> 18597 18598 Fix a crash when a WebView's HWND is destroyed before IWebView::close 18599 is called 18600 18601 WebView's HWND was being sent a WM_TIMER message after the WebView was 18602 destroyed. This normally isn't possible (we call DestroyWindow inside 18603 WebView's destructor to ensure the HWND doesn't outlive the WebView), 18604 but r48060 changed WebView to call SetParent(m_viewWindow, 18605 HWND_MESSAGE) while handling WM_DESTROY, and apparently this puts the 18606 HWND into some weird half-destroyed state where it can still receive 18607 WM_TIMER messages. 18608 18609 Fixes <http://webkit.org/b/29337> <rdar://problem/7209897> REGRESSION 18610 (r48060): unrepro but frequent crash in WebViewWndProc 18611 18612 Reviewed by Steve Falkenburg. 18613 18614 * WebView.cpp: 18615 (WebViewWndProc): When handling WM_DESTROY, call setIsBeingDestroyed() 18616 before calling close(). This allows setHostWindow to detect that we're 18617 handling WM_DESTROY. No other code in close() cared whether 18618 isBeingDestroyed() was true or not. 18619 (WebView::setHostWindow): If our host window is being set to 0 and 18620 we're being destroyed, don't become a message-only window. Doing this 18621 while handling WM_DESTROY seems to lead to crashes. 18622 186232009-09-16 Adam Roben <aroben@apple.com> 18624 18625 Add a UI delegate callback to let the delegate draw a WebView's 18626 background 18627 18628 Fixes <http://webkit.org/b/29315>. 18629 18630 Reviewed by Dave Hyatt. 18631 18632 * Interfaces/IWebUIDelegatePrivate.idl: Added 18633 IWebUIDelegatePrivate2::drawBackground. 18634 18635 * WebView.cpp: 18636 (WebView::paintIntoBackingStore): After clearing or filling with 18637 white, let the delegate draw whatever background it wants. Also added 18638 an assertion that the dirty rect is within our bounds. 18639 186402009-09-16 Adam Roben <aroben@apple.com> 18641 18642 Prevent WebView from painting over sibling windows 18643 18644 Fixes <http://webkit.org/b/29300> <rdar://problem/7227960> WebView can 18645 paint over sibling windows 18646 18647 Reviewed by Darin Adler. 18648 18649 * WebView.cpp: 18650 (WebView::initWithFrame): Create the WebView's HWND with the 18651 WS_CLIPSIBLINGS style. 18652 186532009-09-14 Brady Eidson <beidson@apple.com> 18654 18655 Reviewed by Alexey Proskuryakov. 18656 18657 Safari 4 cannot be used to update firmware on Linksys routers. 18658 <rdar://problem/7174050> and https://bugs.webkit.org/show_bug.cgi?id=29160 18659 18660 Adopt the new WebCore::CredentialStorage in WebKit/Win. 18661 18662 * WebDownloadCFNet.cpp: 18663 (WebDownload::didReceiveAuthenticationChallenge): 18664 186652009-09-11 Steve Falkenburg <sfalken@apple.com> 18666 18667 Reviewed by Dan Bernstein. 18668 18669 Properly propagate preference from WebPreferences to WebCore::Settings. 18670 https://bugs.webkit.org/show_bug.cgi?id=29192 18671 18672 * WebView.cpp: 18673 (WebView::initWithFrame): Apply setting when creating a new WebView. 18674 (WebView::notifyPreferencesChanged): Apply setting when preferences change. 18675 186762009-09-11 Steve Falkenburg <sfalken@apple.com> 18677 18678 Reviewed by Darin Adler. 18679 18680 Allow WebKit clients to opt out of high resolution timers on Windows. 18681 https://bugs.webkit.org/show_bug.cgi?id=29192 18682 18683 * Interfaces/IWebPreferencesPrivate.idl: Added getter/setter. 18684 Put this just after last 4.0.3 method for future merging. 18685 * Interfaces/WebKit.idl: Touched to force a rebuild. 18686 * WebPreferenceKeysPrivate.h: Added prefs key for high res timers. 18687 * WebPreferences.cpp: 18688 (WebPreferences::initializeDefaultSettings): Initialize high res timers to enabled. 18689 (WebPreferences::setShouldUseHighResolutionTimers): Added. 18690 (WebPreferences::shouldUseHighResolutionTimers): Added. 18691 * WebPreferences.h: Added getter/setter. 18692 186932009-09-11 Adam Roben <aroben@apple.com> 18694 18695 Get user script/stylesheet tests running on Windows 18696 18697 Fixes <http://webkit.org/b/29181> User script/stylesheet tests are 18698 skipped on Windows 18699 18700 Reviewed by John Sullivan. 18701 18702 * Interfaces/IWebViewPrivate.idl: Added addUserScriptToGroup, 18703 addUserStyleSheetToGroup, removeUserContentFromGroup, 18704 removeAllUserContentFromGropu to match the Mac SPI. 18705 18706 * WebView.cpp: 18707 (WebView::addUserScriptToGroup): 18708 (WebView::addUserStyleSheetToGroup): 18709 (WebView::removeUserContentFromGroup): 18710 (WebView::removeAllUserContentFromGroup): 18711 * WebView.h: 18712 Added. Implementation was based on similar methods in WebView.mm. 18713 187142009-09-11 Jon Honeycutt <jhoneycutt@apple.com> 18715 18716 Fix crash on launch on Windows. 18717 18718 Rubber-stamped by Mark Rowe. 18719 18720 * WebKit.vcproj/WebKit.vcproj: 18721 Define ENABLE_WEB_SOCKETS for all configurations. 18722 187232009-09-07 Drew Wilson <atwilson@google.com> 18724 18725 Reviewed by David Levin. 18726 18727 Enable SHARED_WORKERS by default. 18728 https://bugs.webkit.org/show_bug.cgi?id=28959 18729 18730 * WebKit.vcproj/WebKit.vcproj: 18731 187322009-09-04 Adam Roben <aroben@apple.com> 18733 18734 Make WebView function without a parent window 18735 18736 When WebView has no parent window, it becomes a message-only window, 18737 which hides it from the screen and prevents it from appearing on the 18738 taskbar. 18739 18740 Fixes <http://webkit.org/b/28971> <rdar://problem/4976998> 18741 WebView::initWithFrame fails if there's no host window 18742 18743 Reviewed by Dave Hyatt. 18744 18745 * WebView.cpp: 18746 (WebView::initWithFrame): m_hostWindow is null, use HWND_MESSAGE as 18747 our parent window, which will make us a message-only window. 18748 (WebView::setHostWindow): If he new host window is null, use 18749 HWND_MESSAGE as our parent window, which will make us a message-only 18750 window. 18751 187522009-09-04 Adam Barth <abarth@webkit.org> 18753 18754 Unreviewed attempt at a build fix. 18755 18756 Added missing include. 18757 18758 * WebCoreSupport/WebFrameLoaderClient.cpp: 18759 187602009-09-04 Adam Barth <abarth@webkit.org> 18761 18762 Unreviewed attempt at a build fix. 18763 18764 Fix typo of IWebFrameLoadDelegatePrivate2 and make 18765 IWebFrameLoadDelegatePrivate inherit from IWebFrameLoadDelegatePrivate 18766 as requestd by Adam Roben. 18767 18768 * Interfaces/IWebFrameLoadDelegatePrivate2.idl: 18769 * WebCoreSupport/WebFrameLoaderClient.cpp: 18770 (WebFrameLoaderClient::didDisplayInsecureContent): 18771 (WebFrameLoaderClient::didRunInsecureContent): 18772 187732009-09-04 Adam Barth <abarth@webkit.org> 18774 18775 Reviewed by Eric Seidel. 18776 18777 https://bugs.webkit.org/show_bug.cgi?id=24696 18778 18779 Plumb mixed content notifications to IWebFrameLoadDelegatePrivate. 18780 18781 * Interfaces/IWebFrameLoadDelegatePrivate2.idl: Added. 18782 * Interfaces/WebKit.idl: 18783 * WebCoreSupport/WebFrameLoaderClient.cpp: 18784 (WebFrameLoaderClient::didDisplayInsecureContent): 18785 (WebFrameLoaderClient::didRunInsecureContent): 18786 * WebKit.vcproj/Interfaces.vcproj: 18787 187882009-09-03 Adam Barth <abarth@webkit.org> 18789 18790 Reviewed by eric@webkit.org. 18791 18792 https://bugs.webkit.org/show_bug.cgi?id=24696 18793 18794 Stub implementations of mixed content methods of FrameLoaderClient. 18795 18796 * WebCoreSupport/WebFrameLoaderClient.cpp: 18797 (WebFrameLoaderClient::didDisplayInsecureContent): 18798 (WebFrameLoaderClient::didRunInsecureContent): 18799 * WebCoreSupport/WebFrameLoaderClient.h: 18800 188012009-09-01 Adam Roben <aroben@apple.com> 18802 18803 Post a notification when a WebView is closing 18804 18805 This is useful for situations where some code wants to react to the 18806 WebView closing but isn't in charge of the WebView and can't otherwise 18807 be notified. This notification could replace 18808 IWebUIDelegatePrivate::webViewClosing if we decide that the 18809 notification system isn't too burdensome. 18810 18811 <http://webkit.org/b/28875> 18812 18813 Reviewed by John Sullivan. 18814 18815 * Interfaces/IWebViewPrivate.idl: Added the 18816 WebViewWillCloseNotification string constant. 18817 * WebKit.vcproj/WebKit.vcproj: Link against comsuppw.lib in all 18818 configurations so that we can use _bstr_t. 18819 * WebView.cpp: 18820 (WebView::close): Post the WebViewWillCloseNotification. 18821 188222009-08-31 Alexey Proskuryakov <ap@webkit.org> 18823 18824 Reviewed by Darin Adler. 18825 18826 https://bugs.webkit.org/show_bug.cgi?id=28852 18827 Rename KURL single argument constructor to avoid confusion 18828 18829 * WebURLResponse.cpp: (WebURLResponse::createInstance): Adapt to the change. 18830 188312009-08-20 Adam Roben <aroben@apple.com> 18832 18833 Give WebKit clients access to the window features specified in 18834 window.open 18835 18836 Reviewed by Steve Falkenburg. 18837 18838 * COMVariantSetter.h: Added COMVariantSetters for bool and float. 18839 18840 * Interfaces/IWebUIDelegatePrivate.idl: Added IWebUIDelegatePrivate2, 18841 which contains a new version of createWebViewWithRequest that also 18842 passes the window features as an IPropertyBag. This is analagous to 18843 the -createWebViewWithRequest:windowFeatures: method added to 18844 WebUIDelegate on Mac in r27452. Also added key strings for use with 18845 the window features property bag. 18846 18847 * WebCoreSupport/WebChromeClient.cpp: 18848 (createWindowFeaturesPropertyBag): Added this helper function to turn 18849 a WebCore::WindowFeatures into an IPropertyBag for passing to WebKit 18850 clients. 18851 (WebChromeClient::createWindow): If the UI delegate implements 18852 IWebUIDelegatePrivate2, call the new createWebViewWithRequest function 18853 that takes a window features property bag. If the delegate doesn't 18854 implement the new function, fall back to the old functions. 18855 188562009-08-20 Adam Roben <aroben@apple.com> 18857 18858 A little clean-up in WebChromeClient::createWindow 18859 18860 Reviewed by Steve Falkenburg. 18861 18862 * WebCoreSupport/WebChromeClient.cpp: 18863 (WebChromeClient::createWindow): Refactored to share more code between 18864 the dialog and non-dialog cases. 18865 188662009-08-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> 18867 18868 Reviewed by Holger Freyther. 18869 18870 https://bugs.webkit.org/show_bug.cgi?id=25889 18871 [GTK] scrollbar policy for main frame is not implementable 18872 18873 Add empty implementation for new ChromeClient method. 18874 18875 * WebCoreSupport/WebChromeClient.h: 18876 (WebChromeClient::scrollbarsModeDidChange): 18877 188782009-08-27 Brent Fulgham <bfulgham@webkit.org> 18879 18880 Reviewed by Adam Roben. 18881 18882 Modify Release_Cairo target to build testapi using the 18883 Release_CFLite target so that the correct CoreFoundation 18884 (in this case, CFLite.dll) is linked. 18885 18886 * WebKit.vcproj/WebKit.sln: 18887 188882009-08-26 Adam Barth <abarth@webkit.org> 18889 18890 Reviewed by Oliver Hunt. 18891 18892 Don't let local files access web URLs 18893 https://bugs.webkit.org/show_bug.cgi?id=28480 18894 18895 * WebPreferences.cpp: 18896 (WebPreferences::initializeDefaultSettings): 18897 188982009-08-26 David Levin <levin@chromium.org> 18899 18900 Reviewed by Darin Fisher. 18901 18902 ResourceRequestBase::*[Aa]llowHTTPCookies shouldn't mention http. 18903 https://bugs.webkit.org/show_bug.cgi?id=28735 18904 18905 * WebMutableURLRequest.cpp: 18906 (WebMutableURLRequest::setHTTPShouldHandleCookies): 18907 189082009-08-25 Eric Carlson <eric.carlson@apple.com> 18909 18910 Reviewed by Oliver Hunt. 18911 18912 <video> and <audio> controller should be accessible 18913 https://bugs.webkit.org/show_bug.cgi?id=28081 18914 18915 * WebCoreLocalizedStrings.cpp: 18916 (WebCore::localizedMediaControlElementString): 18917 (WebCore::localizedMediaControlElementHelpText): 18918 (WebCore::localizedMediaTimeDescription): 18919 New. 18920 189212009-08-25 Brent Fulgham <bfulgham@webkit.org> 18922 18923 Build fix for Windows. 18924 18925 Revise Debug_Cairo build target to build testapi, jsc, WinLauncher, 18926 DumpRenderTree, and TestNetscapeAPI using WinCairo debug build 18927 settings so they link against the proper libraries. 18928 18929 * WebKit.vcproj/WebKit.sln: 18930 189312009-08-25 David Levin <levin@chromium.org> 18932 18933 Reviewed by Adam Roben. 18934 18935 PLATFORM(CFNETWORK) should be USE(CFNETWORK). 18936 https://bugs.webkit.org/show_bug.cgi?id=28713 18937 18938 Also, moved the #if header section after the other #includes. 18939 18940 * WebError.cpp: 18941 (WebError::localizedDescription): 18942 189432009-08-24 Brent Fulgham <bfulgham@webkit.org> 18944 18945 Reviewed by Steve Falkenburg. 18946 18947 Revise CFLite Debug build to emit DLL's with _debug label. 18948 https://bugs.webkit.org/show_bug.cgi?id=28695. 18949 18950 * WebKit.vcproj/WebKit.vcproj: Modify Debug_Cairo target to 18951 inherit from new debug_wincairo property sheet, instead of 18952 the current debug sheet. 18953 189542009-08-22 Adam Barth <abarth@webkit.org> 18955 18956 Revert 47684. We're going to do this later once clients have had a 18957 chance to opt into the setting they like. 18958 18959 * WebPreferences.cpp: 18960 (WebPreferences::initializeDefaultSettings): 18961 189622009-08-22 Adam Barth <abarth@webkit.org> 18963 18964 Reviewed by Eric Seidel. 18965 18966 Don't let local files access web URLs 18967 https://bugs.webkit.org/show_bug.cgi?id=28480 18968 18969 * WebPreferences.cpp: 18970 (WebPreferences::initializeDefaultSettings): 18971 189722009-08-20 Brian Weinstein <bweinstein@apple.com> 18973 18974 Reviewed by Adam Roben. 18975 18976 Fix of <http://webkit.org/b/27850>. Panning by emulating Mouse Wheel Events breaks Google Maps. 18977 18978 Switched to using RenderLayer::scrollByRecursively instead of emulating a mouse wheel, 18979 and switched to handling the hit testing in WebView from doing it as part of the mouse wheel event. 18980 One downside of this fix is that panning will not jump out of frames anymore (same behavior as pan-scrolling), but 18981 this is tracked in <http://webkit.org/b/28237>. 18982 18983 * WebView.cpp: 18984 (WebView::gestureNotify): Added hit testing here to figure out the node the user started the gesture on. 18985 (WebView::gesture): Switched from emulating mouse wheel events for panning to calling RenderLayer::scrollByRecursively. 18986 * WebView.h: 18987 189882009-08-18 Brian Weinstein <bweinstein@apple.com> 18989 18990 Reviewed by Oliver Hunt. 18991 18992 Fix of <https://bugs.webkit.org/show_bug.cgi?id=28326> DRT on Windows doesn't support 18993 LayoutTestController::setQuota or print a callback on UIDelegate::exceededDatabaseQuota. 18994 18995 Added a setQuota interface method to IWebDatabaseManager and implemented it. 18996 18997 * Interfaces/IWebDatabaseManager.idl: 18998 * WebDatabaseManager.cpp: 18999 (WebDatabaseManager::setQuota): 19000 * WebDatabaseManager.h: 19001 190022009-08-18 Drew Wilson <atwilson@google.com> 19003 19004 Unreviewed (build break). 19005 19006 Added missing include for WebWorkersPrivate.h. 19007 19008 * WebKitClassFactory.cpp: 19009 190102009-08-18 Peter Kasting <pkasting@google.com> 19011 19012 Reviewed by Eric Seidel. 19013 19014 https://bugs.webkit.org/show_bug.cgi?id=28415 19015 Set svn:eol-style CRLF on all .sln and .vcproj files that don't already 19016 have it. 19017 19018 * WebKit.vcproj/InterfacesGenerated.vcproj: 19019 190202009-08-18 Drew Wilson <atwilson@google.com> 19021 19022 Reviewed by Eric Seidel. 19023 19024 Need to extend DumpRenderTree to expose number of worker threads 19025 https://bugs.webkit.org/show_bug.cgi?id=28292 19026 19027 Defined/implemented COM interfaces to expose WorkerThread::workerThreadCount() for DumpRenderTree. 19028 19029 * ForEachCoClass.h: 19030 Added WebWorkersPrivate. 19031 * Interfaces/IWebWorkersPrivate.idl: Added. 19032 * Interfaces/WebKit.idl: 19033 Added WebWorkersPrivate. 19034 * WebKit.vcproj/Interfaces.vcproj: 19035 * WebKit.vcproj/WebKit.vcproj: 19036 * WebWorkersPrivate.cpp: Added. 19037 Implementation of the IWebWorkersPrivate COM interface, to expose workerThreadCount() for DumpRenderTree. 19038 (WebWorkersPrivate::QueryInterface): 19039 (WebWorkersPrivate::AddRef): 19040 (WebWorkersPrivate::Release): 19041 (WebWorkersPrivate::workerThreadCount): 19042 (WebWorkersPrivate::createInstance): 19043 (WebWorkersPrivate::WebWorkersPrivate): 19044 (WebWorkersPrivate::~WebWorkersPrivate): 19045 * WebWorkersPrivate.h: Added. 19046 190472009-08-17 Peter Kasting <pkasting@google.com> 19048 19049 Reviewed by Steve Falkenburg. 19050 19051 https://bugs.webkit.org/show_bug.cgi?id=27323 19052 Only add Cygwin to the path when it isn't already there. This avoids 19053 causing problems for people who purposefully have non-Cygwin versions of 19054 executables like svn in front of the Cygwin ones in their paths. 19055 19056 * WebKit.vcproj/Interfaces.vcproj: 19057 * WebKit.vcproj/InterfacesGenerated.vcproj: 19058 * WebKit.vcproj/WebKit.vcproj: 19059 * WebKit.vcproj/WebKitGUID.vcproj: 19060 190612009-08-17 Simon Fraser <simon.fraser@apple.com> 19062 19063 Speculative fix for Windows build bustage. 19064 19065 * DOMHTMLClasses.cpp: 19066 (DOMHTMLElement::idName): 19067 190682009-08-13 Jon Honeycutt <jhoneycutt@apple.com> 19069 19070 Part of <rdar://problem/6218721> No MSAA focus events fired for Webkit 19071 nightly (20866) 19072 19073 https://bugs.webkit.org/show_bug.cgi?id=20866 19074 19075 Reviewed by Oliver Hunt. 19076 19077 * AccessibleBase.cpp: 19078 (AccessibleBase::getAccessibilityObjectForChild): 19079 If the child ID is negative, negate it and treat it as an AXID. 19080 190812009-08-12 Brian Weinstein <bweinstein@apple.com> 19082 19083 Reviewed by Adam Roben. 19084 19085 Fix of <rdar://6728361> Mouse wheel scrolling on a page with expanded drop down 19086 list detaches drop down. 19087 19088 Added a check in mouseWheel to see if our focus is currently in a popup, if so, close 19089 the popup (matches other browser behavior). 19090 19091 * WebView.cpp: 19092 (WebView::mouseWheel): 19093 190942009-08-12 Adam Roben <aroben@apple.com> 19095 19096 Make WebPreferenceKeysPrivate.h available for client use 19097 19098 Reviewed by Dave Hyatt. 19099 19100 Fixes <http://webkit.org/b/28227>. 19101 19102 * WebKit.vcproj/WebKit.vcproj: Copy WebPreferenceKeysPrivate.h to 19103 $WebKitOutputDir, just like we do for a few other headers. Also let VS 19104 reorder some XML attributes. 19105 19106 * WebPreferenceKeysPrivate.h: Touched this file to force a build. 19107 191082009-08-11 Adam Roben <aroben@apple.com> 19109 19110 Remove support for a window resizer within the WebView 19111 19112 Starting with Safari 4, there is never a window resizer inside the 19113 WebView, so we no longer need to support that functionality. 19114 19115 Fixes <http://webkit.org/b/28190> Remove support for a window resizer 19116 within the WebView 19117 19118 Reviewed by Dave Hyatt. 19119 19120 * Interfaces/IWebUIDelegatePrivate.idl: Replaced the delegate 19121 functions related to the window resizer with unused*() functions. We 19122 can't remove them entirely because we need to keep the vtable 19123 unchanged so new versions of WebKit will work with old versions of 19124 Safari (e.g., for nightlies and WebKit development). 19125 19126 * WebCoreSupport/WebChromeClient.cpp: 19127 (WebChromeClient::windowResizerRect): Now always returns an empty 19128 rect. 19129 19130 * WebView.cpp: 19131 (WebView::paint): 19132 (WebView::handleMouseEvent): 19133 * WebView.h: 19134 Removed window-resizer-related code. 19135 191362009-08-11 John Gregg <johnnyg@google.com> 19137 19138 Reviewed by Maciej Stachowiak. 19139 19140 Move the accessor for notifications presenter from WebUIDelegate 19141 to WebUIDelegate2 which extends it. When making this call from 19142 WebCoreSupport, check using QueryInterface before calling. 19143 19144 https://bugs.webkit.org/show_bug.cgi?id=28198 19145 19146 * Interfaces/IWebUIDelegate.idl: 19147 * Interfaces/IWebUIDelegate2.idl: Added. 19148 * Interfaces/WebKit.idl: 19149 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: 19150 (WebDesktopNotificationsDelegate::show): 19151 (WebDesktopNotificationsDelegate::cancel): 19152 (WebDesktopNotificationsDelegate::notificationObjectDestroyed): 19153 (WebDesktopNotificationsDelegate::requestPermission): 19154 (WebDesktopNotificationsDelegate::checkPermission): 19155 (WebDesktopNotificationsDelegate::hasNotificationDelegate): 19156 (WebDesktopNotificationsDelegate::notificationDelegate): 19157 * WebCoreSupport/WebDesktopNotificationsDelegate.h: 19158 191592009-08-11 Drew Wilson <atwilson@google.com> 19160 19161 Reviewed by NOBODY (build break). 19162 19163 Speculative Windows build fix - undo previous unnecessary change. 19164 19165 * WebCoreSupport/WebDesktopNotificationsDelegate.h: 19166 191672009-08-11 Brian Weinstein <bweinstein@apple.com> 19168 19169 Reviewed by Steve Falkenburg. 19170 19171 Refactored MIMETypeforExtension to be a member of IWebViewPrivate 19172 instead of IWebView. 19173 19174 * Interfaces/IWebView.idl: 19175 * Interfaces/IWebViewPrivate.idl: 19176 * WebView.cpp: 19177 (WebView::MIMETypeForExtension): 19178 * WebView.h: 19179 191802009-08-11 Drew Wilson <atwilson@google.com> 19181 19182 Reviewed by NOBODY (build break) 19183 19184 Speculative fix for windows build break. 19185 19186 * WebKitSupport/WebDesktopNotificationsDelegate.h: 19187 WebCore/Notification*.h => WebCore/notifications/Notification*.h 19188 191892009-08-11 John Gregg <johnnyg@google.com> 19190 19191 Reviewed by Maciej Stachowiak. 19192 19193 Desktop Notifications API 19194 https://bugs.webkit.org/show_bug.cgi?id=25643 19195 19196 Adds test hooks for notification features to WebCoreSupport for 19197 use in DumpRenderTree. 19198 19199 * Interfaces/IWebDesktopNotificationsDelegate.idl: Added. 19200 * Interfaces/IWebUIDelegate.idl: 19201 * Interfaces/WebKit.idl: 19202 * WebCoreSupport/WebChromeClient.cpp: 19203 (WebChromeClient::WebChromeClient): 19204 * WebCoreSupport/WebChromeClient.h: 19205 (WebChromeClient::notificationPresenter): 19206 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: Added. 19207 (NotificationCOMWrapper::create): 19208 (NotificationCOMWrapper::NotificationCOMWrapper): 19209 (NotificationCOMWrapper::QueryInterface): 19210 (NotificationCOMWrapper::AddRef): 19211 (NotificationCOMWrapper::Release): 19212 (NotificationCOMWrapper::isHTML): 19213 (NotificationCOMWrapper::contentsURL): 19214 (NotificationCOMWrapper::iconURL): 19215 (NotificationCOMWrapper::title): 19216 (NotificationCOMWrapper::text): 19217 (NotificationCOMWrapper::notifyDisplay): 19218 (NotificationCOMWrapper::notifyError): 19219 (NotificationCOMWrapper::notifyClose): 19220 (WebDesktopNotificationsDelegate::WebDesktopNotificationsDelegate): 19221 (WebDesktopNotificationsDelegate::show): 19222 (WebDesktopNotificationsDelegate::cancel): 19223 (WebDesktopNotificationsDelegate::notificationObjectDestroyed): 19224 (WebDesktopNotificationsDelegate::requestPermission): 19225 (WebDesktopNotificationsDelegate::checkPermission): 19226 (WebDesktopNotificationsDelegate::notificationDelegate): 19227 * WebCoreSupport/WebDesktopNotificationsDelegate.h: Added. 19228 * WebCoreSupport/WebInspectorDelegate.h: 19229 (WebInspectorDelegate::desktopNotificationsDelegate): 19230 * WebKit.vcproj/Interfaces.vcproj: 19231 * WebKit.vcproj/WebKit.vcproj: 19232 192332009-08-11 Brian Weinstein <bweinstein@apple.com> 19234 19235 Reviewed by Adam Roben. 19236 19237 Fix of <rdar://5016504> SVG file cannot be dragged to webview, 19238 but can be opened via Open File. 19239 19240 Added a new function to IWebView that gets the MIME type for a given 19241 extension from the MIMETypeRegistry. 19242 19243 * Interfaces/IWebView.idl: 19244 * WebView.cpp: 19245 (WebView::MIMETypeForExtension): 19246 * WebView.h: 19247 192482009-08-11 Dmitry Titov <dimich@chromium.org> 19249 19250 Reviewed by Adam Roben. 19251 19252 Originally implemented by Glenn Wilson <gwilson@chromium.org>. 19253 19254 Added support for overriding default preferences per-test. 19255 See https://bugs.webkit.org/show_bug.cgi?id=20534 19256 19257 * Interfaces/IWebPreferencesPrivate.idl: added new method setPreferenceForTest 19258 * WebPreferences.cpp: same. 19259 * WebPreferences.h: same. 19260 192612009-08-10 Dan Bernstein <mitz@apple.com> 19262 19263 Reviewed by Darin Adler. 19264 19265 Link drag images specify Lucida Grande on Windows and end up using Times 19266 New Roman 19267 <rdar://problem/7117835> 19268 19269 * WebCoreSupport/WebDragClient.cpp: 19270 (dragLabelFont): Added a RenderingMode parameter and changed to use the 19271 same typeface as the Windows small caption font. 19272 (WebDragClient::createDragImageForLink): Changed to respect the 19273 page’s rendering mode. 19274 192752009-08-10 Brent Fulgham <bfulgham@webkit.org> 19276 19277 Reviewed by Adam Roben. 19278 19279 https://bugs.webkit.org/show_bug.cgi?id=28048. 19280 Move various WinCairo build settings into *.vsprops file. 19281 19282 * WebKit.vcproj/WebKit.vcproj: Add new cURL.vsprops property sheet 19283 (which contains link settings for cURL and its dependencies), and 19284 remove the corresponding entries from the vcproj file. Remove 19285 png, jpeg, cairo library linking flags from vcproj, now that they 19286 are in the WinCairo.vsprops file. 19287 192882009-08-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com> 19289 19290 Reviewed by George Staikos. 19291 19292 [WML] Deck access control is completly broken 19293 https://bugs.webkit.org/show_bug.cgi?id=27721 19294 19295 Synchronize WebFrameLoadType with FrameLoadType enum. Append 'WebFrameLoadTypeBackWMLDeckNotAccessible'. 19296 19297 * Interfaces/IWebFramePrivate.idl: 19298 192992009-08-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com> 19300 19301 Reviewed by Maciej Stachowiak. 19302 19303 FrameLoadType / WebFrameLoadType enums are out of sync 19304 https://bugs.webkit.org/show_bug.cgi?id=28132 19305 19306 Synchronize FrameLoadType <-> WebFrameLoadType enums (append missing 'WebFrameLoadTypeReloadFromOrigin' value) 19307 19308 * Interfaces/IWebFramePrivate.idl: 19309 193102009-08-06 Adam Barth <abarth@webkit.org> 19311 19312 Unreviewed revert. 19313 19314 http://bugs.webkit.org/show_bug.cgi?id=27879 19315 19316 Revert 46877 because it broke GTK. 19317 19318 * COMPropertyBag.h: 19319 193202009-08-06 Zoltan Horvath <hzoltan@inf.u-szeged.hu> 19321 19322 Reviewed by Adam Barth. 19323 19324 Change Noncopyable inheriting to public 19325 http://bugs.webkit.org/show_bug.cgi?id=27879 19326 19327 Since Noncopyable is inherited from FastAllocBase, 19328 Noncopyable's inheriting has been changed to public. 19329 19330 * COMPropertyBag.h: 19331 193322009-08-04 Alice Liu <alice.liu@apple.com> 19333 19334 "Shift + Enter" should behave like "Enter" in editable fields. 19335 Affects backward search in find-in-page in Safari for Windows 19336 19337 Reviewed by Jon Honeycutt. 19338 19339 * WebView.cpp: 19340 Register shift+enter as InsertNewline command, similar to other 19341 modifier+Enter combinations. 19342 193432009-07-29 Jon Honeycutt <jhoneycutt@apple.com> 19344 19345 Part of <rdar://problem/5698113> Safari shouldn't auto-activate 19346 plug-ins in background tabs (make Win consistent with Mac) 19347 19348 https://bugs.webkit.org/show_bug.cgi?id=27855 19349 19350 Reviewed by Adam Roben and Anders Carlsson. 19351 19352 * Interfaces/IWebViewPrivate.idl: 19353 Add setCanStartPlugins(). 19354 19355 * WebCoreSupport/WebFrameLoaderClient.cpp: 19356 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): 19357 Added; code moved from createPlugin(). Modified to obtain the plug-in's 19358 page URL, the plug-ins "plug-ins page" parameter value, and the 19359 plug-in's MIME type by calling getter functions on the passed 19360 PluginView. 19361 (WebFrameLoaderClient::createPlugin): 19362 If the plug-in status is not "success," call 19363 dispatchDidFailToStartPlugin(). 19364 19365 * WebCoreSupport/WebFrameLoaderClient.h: 19366 Declare an override of dispatchDidFailToStartPlugin(). 19367 19368 * WebView.cpp: 19369 (WebViewWndProc): 19370 Add a missing ) to a comment. 19371 (WebView::setCanStartPlugins): 19372 Call the Page's setCanStartPlugins() function. 19373 19374 * WebView.h: 19375 193762009-07-30 Darin Adler <darin@apple.com> 19377 19378 Reviewed by David Levin. 19379 19380 Use checked casts for render tree 19381 https://bugs.webkit.org/show_bug.cgi?id=23522 19382 19383 * DOMHTMLClasses.cpp: 19384 (DOMHTMLInputElement::isUserEdited): 19385 (DOMHTMLTextAreaElement::isUserEdited): 19386 Use checked casts. 19387 193882009-07-31 Anders Carlsson <andersca@apple.com> 19389 19390 Reviewed by Dan Bernstein. 19391 19392 -Fix <rdar://problem/7104097> 19393 19394 Make EmbeddedWidget::create return a PassRefPtr so it will have the correct ref count. 19395 19396 * WebCoreSupport/EmbeddedWidget.cpp: 19397 (EmbeddedWidget::create): 19398 * WebCoreSupport/EmbeddedWidget.h: 19399 194002009-07-29 Brian Weinstein <bweinstein@apple.com> 19401 19402 Was doing the build fix wrong, NotImplemented.h is in WebCore. 19403 19404 * WebCoreSupport/WebInspectorClient.cpp: 19405 194062009-07-29 Brian Weinstein <bweinstein@apple.com> 19407 19408 Windows build fix. 19409 19410 * WebCoreSupport/WebInspectorClient.cpp: 19411 194122009-07-29 Kevin McCullough <kmccullough@apple.com> 19413 19414 Reviewed by Darin Adler. 19415 19416 Added foundation work to allow a testing infrastructure for the Web 19417 Inspector. 19418 19419 * WebCoreSupport/WebInspectorClient.cpp: 19420 (WebInspectorClient::inspectorWindowObjectCleared): Empty definition 19421 to let Windows compile but we should implement this at some point so 19422 that the tests can be run on Windows too. 19423 * WebCoreSupport/WebInspectorClient.h: 19424 194252009-07-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 19426 19427 Reviewed by Steve Falkenburg. 19428 19429 Add output directory for VS pre-build steps to enable out-of-tree builds 19430 19431 https://bugs.webkit.org/show_bug.cgi?id=27700 19432 19433 The tmp.obj file is now placed in the intermediate build directory. 19434 19435 * WebKit.vcproj/WebKit.vcproj: 19436 194372009-07-27 Brian Weinstein <bweinstein@apple.com> 19438 19439 Build fix for Windows. 19440 19441 * WebView.cpp: 19442 (WebView::stringByEvaluatingJavaScriptFromString): 19443 194442009-07-27 Alexey Proskuryakov <ap@webkit.org> 19445 19446 Reviewed by Darin Adler. 19447 19448 https://bugs.webkit.org/show_bug.cgi?id=27735 19449 Give a helpful name to JSLock constructor argument 19450 19451 * WebCoreStatistics.cpp: 19452 (WebCoreStatistics::javaScriptObjectsCount): 19453 (WebCoreStatistics::javaScriptGlobalObjectsCount): 19454 (WebCoreStatistics::javaScriptProtectedObjectsCount): 19455 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount): 19456 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): 19457 * WebJavaScriptCollector.cpp: 19458 (WebJavaScriptCollector::objectCount): 19459 * WebView.cpp: 19460 (WebView::stringByEvaluatingJavaScriptFromString): 19461 194622009-07-25 Kwang Yul Seo <skyul@company100.net> 19463 19464 Reviewed by Darin Adler. 19465 19466 Windows build break due to warning C4819 19467 https://bugs.webkit.org/show_bug.cgi?id=27416 19468 19469 Disable C4819 warning to fix build. 19470 19471 * WebKit.vcproj/WebKit.vcproj: 19472 194732009-07-24 Brent Fulgham <bfulgham@webkit.org> 19474 19475 Reviewed by Dave Hyatt. 19476 19477 Clean up dependencies on Apple support libraries for non-Apple build. 19478 http://bugs.webkit.org/show_bug.cgi?id=27532. 19479 19480 * DefaultDownloadDelegate.h: Conditionalize include of CFNetwork.h 19481 * WebDownload.h: Conditionalize include of CFNetwork.h 19482 * WebMutableURLRequest.cpp: Conditionalize include of CFNetwork.h 19483 194842009-07-24 Andrei Popescu <andreip@google.com> 19485 19486 Reviewed by Anders Carlsson. 19487 19488 ApplicationCache should have size limit 19489 https://bugs.webkit.org/show_bug.cgi?id=22700 19490 19491 * WebCoreSupport/WebChromeClient.cpp: 19492 (WebChromeClient::reachedMaxAppCacheSize): 19493 Adds empty implementation of the reachedMaxAppCacheSize callback. 19494 * WebCoreSupport/WebChromeClient.h: 19495 194962009-07-23 Brady Eidson <beidson@apple.com> 19497 19498 Reviewed by Geoff Garen. 19499 19500 WebFrameLoaderClient on Windows doesn't gracefully handle a null request returned from willSendRequest. 19501 https://bugs.webkit.org/show_bug.cgi?id=27595 19502 19503 * WebCoreSupport/WebFrameLoaderClient.cpp: 19504 (WebFrameLoaderClient::dispatchWillSendRequest): 19505 195062009-07-22 Takeshi Yoshino <tyoshino@google.com> 19507 19508 Reviewed by Darin Adler. 19509 19510 VC++ 2005 Express failed to build WebKit due to raw UTF-8 string in WebKit/win/WebCoreLocalizedStrings.cpp 19511 https://bugs.webkit.org/show_bug.cgi?id=26375 19512 19513 Replace a multiplication sign (U+00D7) encoded in UTF-8 (0xC3 0x97) in WebCoreLocalizedStrings.cpp 19514 with hex escape sequences. 19515 19516 VC2005 failed to build due to this raw UTF-8 data in source code. Here's the warning message ( 19517 treated as an error and stopped build). 19518 19519 WebCoreLocalizedStrings.cpp : warning C4819: The file contains a character that cannot be 19520 represented in the current code page (932). Save the file in Unicode format to prevent data loss 19521 19522 A change on WebKitTools/Scripts/extract-localizable-strings is attached to this change not to break 19523 localized string generation process. 19524 19525 * WebCoreLocalizedStrings.cpp: 19526 (WebCore::imageTitle): 19527 195282009-07-21 Roland Steiner <rolandsteiner@google.com> 19529 19530 Reviewed by David Levin. 19531 19532 Add ENABLE_RUBY to list of build options 19533 https://bugs.webkit.org/show_bug.cgi?id=27324 19534 19535 * WebKit.vcproj/WebKit.vcproj: Added flag ENABLE_RUBY. 19536 195372009-07-20 Peter Kasting <pkasting@google.com> 19538 19539 Reviewed by Mark Rowe. 19540 19541 https://bugs.webkit.org/show_bug.cgi?id=27468 19542 Back out r46060, which caused problems for some Apple developers. 19543 19544 * WebKit.vcproj/Interfaces.vcproj: 19545 * WebKit.vcproj/InterfacesGenerated.vcproj: 19546 * WebKit.vcproj/WebKit.vcproj: 19547 * WebKit.vcproj/WebKitGUID.vcproj: 19548 195492009-07-17 Brian Weinstein <bweinstein@apple.com> 19550 19551 Reviewed by Adam Roben. 19552 19553 Fix of <rdar://problem/5712795> Win: Cannot change the height of the docked Web Inspector (14272) 19554 https://bugs.webkit.org/show_bug.cgi?id=14272 19555 19556 Implemented resizing of inspector window when it is in attached mode. Implemented setAttachedWindowHeight 19557 to set window sizes and redraw the inspector and the inspected web view, and used stored preferences 19558 in InspectorController.cpp to remember user's preferred height. 19559 19560 * WebCoreSupport/WebInspectorClient.cpp: 19561 195622009-07-17 Peter Kasting <pkasting@google.com> 19563 19564 Reviewed by Steve Falkenburg. 19565 19566 https://bugs.webkit.org/show_bug.cgi?id=27323 19567 Only add Cygwin to the path when it isn't already there. This avoids 19568 causing problems for people who purposefully have non-Cygwin versions of 19569 executables like svn in front of the Cygwin ones in their paths. 19570 19571 * WebKit.vcproj/Interfaces.vcproj: 19572 * WebKit.vcproj/InterfacesGenerated.vcproj: 19573 * WebKit.vcproj/WebKit.vcproj: 19574 * WebKit.vcproj/WebKitGUID.vcproj: 19575 195762009-07-16 Fumitoshi Ukai <ukai@chromium.org> 19577 19578 Reviewed by David Levin. 19579 19580 Add --web-sockets flag and ENABLE_WEB_SOCKETS define. 19581 https://bugs.webkit.org/show_bug.cgi?id=27206 19582 19583 Add ENABLE_WEB_SOCKETS 19584 19585 * WebKit.vcproj/WebKit.vcproj: add ENABLE_WEB_SOCKETS 19586 195872009-07-16 Xiaomei Ji <xji@chromium.org> 19588 19589 Reviewed by Darin Adler. 19590 19591 Fix tooltip does not get its directionality from its element's directionality. 19592 https://bugs.webkit.org/show_bug.cgi?id=24187 19593 19594 Per mitz's suggestion in comment #6, while getting the plain-text 19595 title, we also get the directionality of the title. How to handle 19596 the directionality is up to clients. Clients could ignore it, 19597 or use attribute or unicode control characters to display the title 19598 as what they want. 19599 19600 * WebCoreSupport/WebChromeClient.cpp: 19601 (WebChromeClient::setToolTip): Add directionality as 2nd parameter to setToopTip() (without handling it yet). 19602 * WebCoreSupport/WebChromeClient.h: Add directionality as 2nd parameter to setToolTip(). 19603 * WebElementPropertyBag.cpp: 19604 (WebElementPropertyBag::Read): Change call of spellingToolTip() and title() due to signature change. 19605 196062009-07-15 Darin Adler <darin@apple.com> 19607 19608 Reviewed by Sam Weinig. 19609 19610 Renamed parseURL to deprecatedParseURL. 19611 19612 * WebCoreSupport/WebFrameLoaderClient.cpp: 19613 (WebFrameLoaderClient::createPlugin): Renamed. 19614 196152009-07-14 Steve Falkenburg <sfalken@apple.com> 19616 19617 Reorganize JavaScriptCore headers into: 19618 API: include/JavaScriptCore/ 19619 Private: include/private/JavaScriptCore/ 19620 19621 Reviewed by Darin Adler. 19622 19623 * WebKit.vcproj/WebKit.vcproj: 19624 196252009-07-14 Zoltan Horvath <hzoltan@inf.u-szeged.hu> 19626 19627 Reviewed by Darin Adler. 19628 19629 Change all Noncopyable inheriting visibility to public. 19630 https://bugs.webkit.org/show_bug.cgi?id=27225 19631 19632 Change all Noncopyable inheriting visibility to public because 19633 it is needed to the custom allocation framework (bug #20422). 19634 19635 * COMEnumVariant.h: 19636 * WebDatabaseManager.cpp: 19637 * WebInspector.h: 19638 * WebLocalizableStrings.cpp: 19639 196402009-07-13 Brent Fulgham <bfulgham@webkit.org> 19641 19642 Reviewed by Adam Roben. 19643 19644 Refactor WebFrame::spoolPages for easier sharing with Windows Cairo. 19645 https://bugs.webkit.org/show_bug.cgi?id=27240. 19646 19647 * WebFrame.cpp: 19648 (WebFrame::printHeader): New shared method to print the header. 19649 (WebFrame::printFooter): New shared method to print the footer. 19650 (WebFrame::spoolPage): New conditionally-compiled method to print 19651 a page. 19652 (WebFrame::spoolPages): Revised to call the platform-specific spoolPage 19653 for each page. 19654 * WebFrame.h: Add new method prototypes. 19655 196562009-07-13 Brent Fulgham <bfulgham@webkit.org> 19657 19658 Reviewed by Adam Roben. 19659 19660 Add new configuration flag for redistributable Windows build. 19661 https://bugs.webkit.org/show_bug.cgi=27087 19662 19663 * WebKit.vcproj/WebKit.vcproj: Add new WinCairo.vsprops to 19664 Debug_Cairo and Release_Cairo targets. 19665 196662009-07-12 Brent Fulgham <bfulgham@gmail.com> 19667 19668 Speculative Windows build fix after http://trac.webkit.org/changeset/45786. 19669 19670 * WebCoreSupport/WebChromeClient.cpp: 19671 (WebChromeClient::addMessageToConsole): 19672 196732009-07-10 Adam Barth <abarth@webkit.org> 19674 19675 Reviewed by Sam Weinig with the power of Grayskull. 19676 19677 Enable XSSAuditor by default. 19678 19679 * WebPreferences.cpp: 19680 (WebPreferences::initializeDefaultSettings): 19681 196822009-07-09 Drew Wilson <atwilson@google.com> 19683 19684 Reviewed by Alexey Proskuryakov. 19685 19686 https://bugs.webkit.org/show_bug.cgi?id=26903 19687 19688 Turned on CHANNEL_MESSAGING by default because the MessageChannel API 19689 can now be implemented for Web Workers and is reasonably stable. 19690 19691 * WebKit.vcproj/WebKit.vcproj: 19692 196932009-07-09 Brian Weinstein <bweinstein@apple.com> 19694 19695 Reviewed by Alice Liu. 19696 19697 Fix of <rdar://5712929> Add preferences key to remember if the Inspector was docked (14271) 19698 https://bugs.webkit.org/show_bug.cgi?id=27140 19699 19700 Added a preference key to remember whether the user prefers the inspector detached or attached. 19701 19702 * WebCoreSupport/WebInspectorClient.cpp: 19703 (WebInspectorClient::showWindow): Pass both parameters into setWindowVisible 19704 (WebInspectorClient::closeWindow): Ditto 19705 (WebInspectorClient::attachWindow): Set preference to attached windows here 19706 (WebInspectorClient::detachWindow): Set preference to detached windows here 19707 (WebInspectorClient::showWindowWithoutNotifications): Read preference for attached vs. detached 19708 (WebInspectorClient::onClose): Pass both parameters into setWindowVisible 19709 197102009-07-09 Alexey Proskuryakov <ap@webkit.org> 19711 19712 Reviewed by Oliver Hunt. 19713 19714 <rdar://problem/6921671> Visit count shouldn't be incremented by redirects. 19715 19716 * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::updateGlobalHistory): 19717 Do not increase visit count if there is a redirect source. As a result, only pages that were 19718 explicitly visited by the user (by typing a URL, choosing one from bookmarks, or clicking 19719 a link) will be counted. 19720 19721 * Interfaces/IWebHistoryItemPrivate.idl: 19722 * WebHistory.cpp: 19723 (WebHistory::visitedURL): 19724 * WebHistory.h: 19725 * WebHistoryItem.cpp: 19726 (WebHistoryItem::visitedWithTitle): 19727 * WebHistoryItem.h: 19728 Marshal this new argument all the way down to WebCore. 19729 197302009-07-09 Beth Dakin and Jon Honeycutt <bdakin@apple.com> 19731 19732 Reviewed by Dave Hyatt. 19733 19734 Make Widget RefCounted to fix: 19735 19736 <rdar://problem/7038831> REGRESSION (TOT): In Mail, a crash occurs 19737 at WebCore::Widget::afterMouseDown() after clicking To Do's close 19738 box 19739 <rdar://problem/6978804> WER #16: Repro Access Violation in 19740 WebCore::PluginView::bindingInstance (1310178023) 19741 -and- 19742 <rdar://problem/6991251> WER #13: Crash in WebKit! 19743 WebCore::PluginView::performRequest+203 (1311461169) 19744 19745 * WebCoreSupport/WebFrameLoaderClient.cpp: 19746 (WebFrameLoaderClient::createPlugin): 19747 * WebCoreSupport/WebFrameLoaderClient.h: 19748 * WebFrame.cpp: 19749 (WebFrame::createJavaAppletWidget): 19750 * WebFrame.h: 19751 197522009-07-09 Sam Weinig <sam@webkit.org> 19753 19754 Reviewed by Steve Falkenburg. 19755 19756 Roll out r43848. The quirk is no longer necessary. 19757 19758 * WebView.cpp: 19759 (WebView::userAgentForKURL): 19760 197612009-07-07 Ada Chan <adachan@apple.com> 19762 19763 Reviewed by Dave Hyatt. 19764 19765 Missed a call to FocusController::setFocused(true) when handling WM_SETFOCUS in WebView. 19766 https://bugs.webkit.org/show_bug.cgi?id=27057 19767 19768 * WebView.cpp: 19769 (WebViewWndProc): 19770 197712009-07-02 Erik Arvidsson <arv@chromium.org> 19772 19773 Reviewed by Adam Roben. 19774 19775 [Win] HTML5 Drag and drop, dragend is not fired when pressing Esc 19776 https://bugs.webkit.org/show_bug.cgi?id=26699 19777 19778 * WebDropSource.cpp: 19779 (WebDropSource::QueryContinueDrag): 19780 197812009-07-02 Oliver Hunt <oliver@apple.com> 19782 19783 Reviewed by Anders Carlsson. 19784 19785 <rdar://problem/6939593> REGRESSION (r37793): Hitting back button on Google often gives non-interactive Google page (26670) 19786 <https://bugs.webkit.org/show_bug.cgi?id=26670> 19787 19788 Make windows loader client match mac behaviour more closely. 19789 19790 * WebCoreSupport/WebFrameLoaderClient.cpp: 19791 (WebFrameLoaderClient::forceLayout): 19792 197932009-06-30 Brent Fulgham <bfulgham@gmail.com> 19794 19795 Reviewed by Adam Roben. 19796 19797 Build DumpRenderTree under Cairo. 19798 https://bugs.webkit.org/show_bug.cgi?id=26457 19799 19800 * WebKit.vcproj/WebKit.sln: Add Cairo targets to the 19801 DumpRenderTree build, and use the in the Debug_Cairo 19802 and Release_Cairo targets. 19803 198042009-07-02 Eric Carlson <eric.carlson@apple.com> 19805 19806 Fix Windows build by including missing localized string methods. 19807 19808 * WebCoreLocalizedStrings.cpp: 19809 (WebCore::mediaElementLoadingStateText): 19810 (WebCore::mediaElementLiveBroadcastStateText): 19811 198122009-07-01 David Hyatt <hyatt@apple.com> 19813 19814 Reviewed by Tim Hatcher. 19815 19816 <rdar://problem/6998524> REGRESSION (r44474): Form text field has focus ring, looks focused, 19817 even though the field is not actually focused for keyboard input 19818 19819 Add the concept of whether or not the Page is focused by adding a boolean to the focusController. This allows the 19820 focused frame and focused node to both be cached and changed programmatically without causing errors when the Page doesn't 19821 have focus. 19822 19823 * WebView.cpp: 19824 (WebViewWndProc): 19825 198262009-06-29 David Hyatt <hyatt@apple.com> 19827 19828 Fix Windows bustage. Missed two configurations for enabling DATAGRID. 19829 19830 * WebKit.vcproj/WebKit.vcproj: 19831 198322009-06-29 Jessie Berlin <jberlin@apple.com> 19833 19834 Reviewed by Adam Roben. 19835 19836 Fix the windows build. 19837 19838 * WebCoreSupport/WebContextMenuClient.cpp: 19839 (WebContextMenuClient::isSpeaking): 19840 * WebCoreSupport/WebContextMenuClient.h: 19841 198422009-06-29 David Hyatt <hyatt@apple.com> 19843 19844 Reviewed by Adam Roben. 19845 19846 Make sure to patch all configurations to have datagrid enabled. 19847 19848 * WebKit.vcproj/WebKit.vcproj: 19849 198502009-06-29 David Hyatt <hyatt@apple.com> 19851 19852 Reviewed by Adam Roben. 19853 19854 Put <datagrid> behind an ifdef. 19855 19856 * WebKit.vcproj/WebKit.vcproj: 19857 198582009-06-26 Brian Weinstein <bweinstein@apple.com> 19859 19860 Reviewed by Simon Fraser. 19861 19862 https://bugs.webkit.org/show_bug.cgi?id=26695 19863 19864 Added hit testing on scrollbars, so if you start a gesture over a scrollbar, 19865 it isn't counted, and lets the user drag the scrollbar itself instead of a 19866 panning gesture. Also cleaned up code in gesture. 19867 19868 * WebView.cpp: 19869 (WebView::gestureNotify): 19870 (WebView::gesture): 19871 198722009-06-26 Jeremy Orlow <jorlow@chromium.org> 19873 19874 Reviewed by Adam Barth. 19875 19876 https://bugs.webkit.org/show_bug.cgi?id=26767 19877 19878 Fix a build break due to LocalStorage.h being included in WebKitDLL.cpp 19879 despite it being deleted from the repo by the following patch/commit: 19880 https://bugs.webkit.org/show_bug.cgi?id=26732 19881 http://trac.webkit.org/changeset/45290 19882 19883 * WebKitDLL.cpp: 19884 198852009-06-26 Yongjun Zhang <yongjun.zhang@nokia.com> 19886 19887 Reviewed by Eric Seidel. 19888 19889 Bug 20303: [Qt] Key events are not working in frames. 19890 19891 Move the scroll handling code to EventHandler so that other 19892 ports can share the functionality. 19893 19894 * WebView.cpp: 19895 (WebView::keyDown): 19896 (EnumTextMatches::QueryInterface): 19897 198982009-06-23 Anders Carlsson <andersca@apple.com> 19899 19900 Reviewed by Darin Adler. 19901 19902 WebKit side of <rdar://problem/6946094>. 19903 19904 * Interfaces/IWebUIDelegate.idl: 19905 Add a newPasteboard out parameter to willPerformDragSourceAction. 19906 19907 * WebCoreSupport/WebDragClient.cpp: 19908 (WebDragClient::willPerformDragSourceAction): 19909 Implement this. If the client returns a new pasteboard, use it for the drag. 19910 19911 * WebCoreSupport/WebInspectorDelegate.h: 19912 (WebInspectorDelegate::willPerformDragSourceAction): 19913 Add the new parameter. 19914 199152009-06-20 Darin Adler <darin@apple.com> 19916 19917 Reviewed by Sam Weinig. 19918 19919 <rdar://problem/6964221> Need more processing of pluginspage. 19920 19921 * WebCoreSupport/WebFrameLoaderClient.cpp: 19922 (WebFrameLoaderClient::createPlugin): Check protocolInHTTPFamily. 19923 199242009-06-19 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> 19925 19926 Reviewed by Steve Falkenburg. 19927 19928 https://bugs.webkit.org/show_bug.cgi?id=26494 19929 Bug 26494: RenderTheme::themeForPage reads from Settings before it has 19930 been initialized by WebKit 19931 19932 Get the shouldPaintNativeControls preference and update the settings 19933 before initializing the page, as the page depends on it after the 19934 themeForPage change. 19935 19936 * WebView.cpp: 19937 (WebView::initWithFrame): 19938 199392009-06-19 Brian Weinstein <bweinstein@apple.com> 19940 19941 Reviewed by Steve Falkenburg. 19942 19943 https://bugs.webkit.org/show_bug.cgi?id=26488 19944 No Support for Single Finger or Two Finger Panning in Windows 7 19945 19946 Added the code necessary for single finger and two-finger panning with 19947 window bounce. We now register for WM_GESTURENOTIFY and WM_GESTURE messages, 19948 and interpret the panning command. Also, added WindowsTouch.h which contains 19949 structs and #defines from the Windows 7 SDK. 19950 19951 * WebKit.vcproj/WebKit.vcproj: 19952 * WebView.cpp: 19953 (WebView::gestureNotify): Checks if we are in a pannable region - IE: Not in the scrollbar 19954 (WebView::gesture): Handles the Panning gesture, creating the WheelEvent 19955 (WebViewWndProc): Added cases for WM_GESTURE and WM_GESTURENOTIFY 19956 * WebView.h: 19957 * WindowsTouch.h: Added. 19958 199592009-06-18 Adam Barth <abarth@webkit.org> 19960 19961 Reviewed by Sam Weinig. 19962 19963 https://bugs.webkit.org/show_bug.cgi?id=26199 19964 19965 Added preference to enable the XSSAuditor. 19966 19967 * Interfaces/IWebPreferencesPrivate.idl: 19968 * WebPreferenceKeysPrivate.h: 19969 * WebPreferences.cpp: 19970 (WebPreferences::initializeDefaultSettings): 19971 (WebPreferences::isXSSAuditorEnabled): 19972 (WebPreferences::setXSSAuditorEnabled): 19973 * WebPreferences.h: 19974 * WebView.cpp: 19975 (WebView::notifyPreferencesChanged): 19976 199772009-06-18 Brent Fulgham <bfulgham@gmail.com> 19978 19979 Reviewed by Dave Levin. 19980 19981 Remove some boilerplate using the BitmapInfo struct. 19982 https://bugs.webkit.org/show_bug.cgi?id=26425 19983 19984 * WebFrame.cpp: 19985 (WebFrame::spoolPages): 19986 * WebIconDatabase.cpp: 19987 (createDIB): 19988 * WebKit.vcproj/WebKit.sln: 19989 * WebNodeHighlight.cpp: 19990 (WebNodeHighlight::update): 19991 * WebView.cpp: 19992 (WebView::ensureBackingStore): 19993 199942009-06-17 Steve Falkenburg <sfalken@apple.com> 19995 19996 Consolidate WebKit COM interfaces. 19997 Moved IID from the highest numbered COM interface to the first interface and combined all methods. 19998 19999 Numbered interfaces can be combined since the latest shipping Safari 4 supports the latest interfaces. 20000 20001 Reviewed by Adam Roben. 20002 20003 * Interfaces/IWebFrameLoadDelegate.idl: 20004 * Interfaces/IWebFrameLoadDelegatePrivate.idl: 20005 * Interfaces/IWebResourceLoadDelegatePrivate.idl: 20006 * Interfaces/IWebUIDelegate.idl: 20007 * Interfaces/IWebUIDelegatePrivate.idl: 20008 * Interfaces/WebKit.idl: 20009 * WebCoreSupport/WebChromeClient.cpp: 20010 * WebCoreSupport/WebChromeClient.h: 20011 * WebCoreSupport/WebContextMenuClient.cpp: 20012 * WebCoreSupport/WebFrameLoaderClient.cpp: 20013 * WebCoreSupport/WebInspectorDelegate.h: 20014 * WebFrame.cpp: 20015 * WebView.cpp: 20016 200172009-06-16 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> 20018 20019 Reviewed by Adam Roben. 20020 20021 Create a different RenderTheme per page, so that RenderTheme has 20022 access to page specific theming. This is needed for the Qt port, as Qt 20023 supports setting the theme (style) per widget. 20024 20025 This change was suggested and discussed with Dave Hyatt. 20026 20027 More detailed: 20028 20029 1) Create a theme per page or one global one, depending on the needs 20030 of the platform. 20031 2) Add an accesser to the theme from RenderObject. 20032 3) Change all uses of the theming to access the theme through 20033 RenderObject, using the global default theme as fallback, when the 20034 document of RenderObject has no page. 20035 When we don't have access to a RenderObject, use the default theme. 20036 4) Modify all RenderTheme platform implementations to work with the 20037 above changes, still creating only one global theme. 20038 20039 * WebView.cpp: 20040 (WebViewWndProc): Get the theme from the associated page. 20041 200422009-06-16 Brian Weinstein <bweinstein@apple.com> 20043 20044 Reviewed by Adam Roben. 20045 20046 Switch Control+Mousewheel Zooming definitions to match other browsers on Windows. 20047 Control+Mousewheel-Down now zooms out, Control+Mousewheel-Up now zooms in. 20048 https://bugs.webkit.org/show_bug.cgi?id=25875. 20049 <rdar://problem/6903976> 20050 20051 * WebView.cpp: 20052 (WebView::mouseWheel): 20053 200542009-06-16 Brent Fulgham <bfulgham@gmail.com> 20055 20056 Reviewed by Darin Adler. 20057 20058 Use consistent Windows GUID Comparison Functions. 20059 https://bugs.webkit.org/show_bug.cgi?id=26427. 20060 20061 * WebView.cpp: 20062 (EnumTextMatches::QueryInterface): 20063 20064== Rolled over to ChangeLog-2009-06-16 == 20065