12009-08-10 Dan Bernstein <mitz@apple.com> 2 3 Reviewed by Darin Adler. 4 5 Link drag images specify Lucida Grande on Windows and end up using Times 6 New Roman 7 <rdar://problem/7117835> 8 9 * WebCoreSupport/WebDragClient.cpp: 10 (dragLabelFont): Added a RenderingMode parameter and changed to use the 11 same typeface as the Windows small caption font. 12 (WebDragClient::createDragImageForLink): Changed to respect the 13 page’s rendering mode. 14 152009-08-10 Brent Fulgham <bfulgham@webkit.org> 16 17 Reviewed by Adam Roben. 18 19 https://bugs.webkit.org/show_bug.cgi?id=28048. 20 Move various WinCairo build settings into *.vsprops file. 21 22 * WebKit.vcproj/WebKit.vcproj: Add new cURL.vsprops property sheet 23 (which contains link settings for cURL and its dependencies), and 24 remove the corresponding entries from the vcproj file. Remove 25 png, jpeg, cairo library linking flags from vcproj, now that they 26 are in the WinCairo.vsprops file. 27 282009-08-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com> 29 30 Reviewed by George Staikos. 31 32 [WML] Deck access control is completly broken 33 https://bugs.webkit.org/show_bug.cgi?id=27721 34 35 Synchronize WebFrameLoadType with FrameLoadType enum. Append 'WebFrameLoadTypeBackWMLDeckNotAccessible'. 36 37 * Interfaces/IWebFramePrivate.idl: 38 392009-08-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com> 40 41 Reviewed by Maciej Stachowiak. 42 43 FrameLoadType / WebFrameLoadType enums are out of sync 44 https://bugs.webkit.org/show_bug.cgi?id=28132 45 46 Synchronize FrameLoadType <-> WebFrameLoadType enums (append missing 'WebFrameLoadTypeReloadFromOrigin' value) 47 48 * Interfaces/IWebFramePrivate.idl: 49 502009-08-06 Adam Barth <abarth@webkit.org> 51 52 Unreviewed revert. 53 54 http://bugs.webkit.org/show_bug.cgi?id=27879 55 56 Revert 46877 because it broke GTK. 57 58 * COMPropertyBag.h: 59 602009-08-06 Zoltan Horvath <hzoltan@inf.u-szeged.hu> 61 62 Reviewed by Adam Barth. 63 64 Change Noncopyable inheriting to public 65 http://bugs.webkit.org/show_bug.cgi?id=27879 66 67 Since Noncopyable is inherited from FastAllocBase, 68 Noncopyable's inheriting has been changed to public. 69 70 * COMPropertyBag.h: 71 722009-08-04 Alice Liu <alice.liu@apple.com> 73 74 "Shift + Enter" should behave like "Enter" in editable fields. 75 Affects backward search in find-in-page in Safari for Windows 76 77 Reviewed by Jon Honeycutt. 78 79 * WebView.cpp: 80 Register shift+enter as InsertNewline command, similar to other 81 modifier+Enter combinations. 82 832009-07-29 Jon Honeycutt <jhoneycutt@apple.com> 84 85 Part of <rdar://problem/5698113> Safari shouldn't auto-activate 86 plug-ins in background tabs (make Win consistent with Mac) 87 88 https://bugs.webkit.org/show_bug.cgi?id=27855 89 90 Reviewed by Adam Roben and Anders Carlsson. 91 92 * Interfaces/IWebViewPrivate.idl: 93 Add setCanStartPlugins(). 94 95 * WebCoreSupport/WebFrameLoaderClient.cpp: 96 (WebFrameLoaderClient::dispatchDidFailToStartPlugin): 97 Added; code moved from createPlugin(). Modified to obtain the plug-in's 98 page URL, the plug-ins "plug-ins page" parameter value, and the 99 plug-in's MIME type by calling getter functions on the passed 100 PluginView. 101 (WebFrameLoaderClient::createPlugin): 102 If the plug-in status is not "success," call 103 dispatchDidFailToStartPlugin(). 104 105 * WebCoreSupport/WebFrameLoaderClient.h: 106 Declare an override of dispatchDidFailToStartPlugin(). 107 108 * WebView.cpp: 109 (WebViewWndProc): 110 Add a missing ) to a comment. 111 (WebView::setCanStartPlugins): 112 Call the Page's setCanStartPlugins() function. 113 114 * WebView.h: 115 1162009-07-30 Darin Adler <darin@apple.com> 117 118 Reviewed by David Levin. 119 120 Use checked casts for render tree 121 https://bugs.webkit.org/show_bug.cgi?id=23522 122 123 * DOMHTMLClasses.cpp: 124 (DOMHTMLInputElement::isUserEdited): 125 (DOMHTMLTextAreaElement::isUserEdited): 126 Use checked casts. 127 1282009-07-31 Anders Carlsson <andersca@apple.com> 129 130 Reviewed by Dan Bernstein. 131 132 -Fix <rdar://problem/7104097> 133 134 Make EmbeddedWidget::create return a PassRefPtr so it will have the correct ref count. 135 136 * WebCoreSupport/EmbeddedWidget.cpp: 137 (EmbeddedWidget::create): 138 * WebCoreSupport/EmbeddedWidget.h: 139 1402009-07-29 Brian Weinstein <bweinstein@apple.com> 141 142 Was doing the build fix wrong, NotImplemented.h is in WebCore. 143 144 * WebCoreSupport/WebInspectorClient.cpp: 145 1462009-07-29 Brian Weinstein <bweinstein@apple.com> 147 148 Windows build fix. 149 150 * WebCoreSupport/WebInspectorClient.cpp: 151 1522009-07-29 Kevin McCullough <kmccullough@apple.com> 153 154 Reviewed by Darin Adler. 155 156 Added foundation work to allow a testing infrastructure for the Web 157 Inspector. 158 159 * WebCoreSupport/WebInspectorClient.cpp: 160 (WebInspectorClient::inspectorWindowObjectCleared): Empty definition 161 to let Windows compile but we should implement this at some point so 162 that the tests can be run on Windows too. 163 * WebCoreSupport/WebInspectorClient.h: 164 1652009-07-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com> 166 167 Reviewed by Steve Falkenburg. 168 169 Add output directory for VS pre-build steps to enable out-of-tree builds 170 171 https://bugs.webkit.org/show_bug.cgi?id=27700 172 173 The tmp.obj file is now placed in the intermediate build directory. 174 175 * WebKit.vcproj/WebKit.vcproj: 176 1772009-07-27 Brian Weinstein <bweinstein@apple.com> 178 179 Build fix for Windows. 180 181 * WebView.cpp: 182 (WebView::stringByEvaluatingJavaScriptFromString): 183 1842009-07-27 Alexey Proskuryakov <ap@webkit.org> 185 186 Reviewed by Darin Adler. 187 188 https://bugs.webkit.org/show_bug.cgi?id=27735 189 Give a helpful name to JSLock constructor argument 190 191 * WebCoreStatistics.cpp: 192 (WebCoreStatistics::javaScriptObjectsCount): 193 (WebCoreStatistics::javaScriptGlobalObjectsCount): 194 (WebCoreStatistics::javaScriptProtectedObjectsCount): 195 (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount): 196 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts): 197 * WebJavaScriptCollector.cpp: 198 (WebJavaScriptCollector::objectCount): 199 * WebView.cpp: 200 (WebView::stringByEvaluatingJavaScriptFromString): 201 2022009-07-25 Kwang Yul Seo <skyul@company100.net> 203 204 Reviewed by Darin Adler. 205 206 Windows build break due to warning C4819 207 https://bugs.webkit.org/show_bug.cgi?id=27416 208 209 Disable C4819 warning to fix build. 210 211 * WebKit.vcproj/WebKit.vcproj: 212 2132009-07-24 Brent Fulgham <bfulgham@webkit.org> 214 215 Reviewed by Dave Hyatt. 216 217 Clean up dependencies on Apple support libraries for non-Apple build. 218 http://bugs.webkit.org/show_bug.cgi?id=27532. 219 220 * DefaultDownloadDelegate.h: Conditionalize include of CFNetwork.h 221 * WebDownload.h: Conditionalize include of CFNetwork.h 222 * WebMutableURLRequest.cpp: Conditionalize include of CFNetwork.h 223 2242009-07-24 Andrei Popescu <andreip@google.com> 225 226 Reviewed by Anders Carlsson. 227 228 ApplicationCache should have size limit 229 https://bugs.webkit.org/show_bug.cgi?id=22700 230 231 * WebCoreSupport/WebChromeClient.cpp: 232 (WebChromeClient::reachedMaxAppCacheSize): 233 Adds empty implementation of the reachedMaxAppCacheSize callback. 234 * WebCoreSupport/WebChromeClient.h: 235 2362009-07-23 Brady Eidson <beidson@apple.com> 237 238 Reviewed by Geoff Garen. 239 240 WebFrameLoaderClient on Windows doesn't gracefully handle a null request returned from willSendRequest. 241 https://bugs.webkit.org/show_bug.cgi?id=27595 242 243 * WebCoreSupport/WebFrameLoaderClient.cpp: 244 (WebFrameLoaderClient::dispatchWillSendRequest): 245 2462009-07-22 Takeshi Yoshino <tyoshino@google.com> 247 248 Reviewed by Darin Adler. 249 250 VC++ 2005 Express failed to build WebKit due to raw UTF-8 string in WebKit/win/WebCoreLocalizedStrings.cpp 251 https://bugs.webkit.org/show_bug.cgi?id=26375 252 253 Replace a multiplication sign (U+00D7) encoded in UTF-8 (0xC3 0x97) in WebCoreLocalizedStrings.cpp 254 with hex escape sequences. 255 256 VC2005 failed to build due to this raw UTF-8 data in source code. Here's the warning message ( 257 treated as an error and stopped build). 258 259 WebCoreLocalizedStrings.cpp : warning C4819: The file contains a character that cannot be 260 represented in the current code page (932). Save the file in Unicode format to prevent data loss 261 262 A change on WebKitTools/Scripts/extract-localizable-strings is attached to this change not to break 263 localized string generation process. 264 265 * WebCoreLocalizedStrings.cpp: 266 (WebCore::imageTitle): 267 2682009-07-21 Roland Steiner <rolandsteiner@google.com> 269 270 Reviewed by David Levin. 271 272 Add ENABLE_RUBY to list of build options 273 https://bugs.webkit.org/show_bug.cgi?id=27324 274 275 * WebKit.vcproj/WebKit.vcproj: Added flag ENABLE_RUBY. 276 2772009-07-20 Peter Kasting <pkasting@google.com> 278 279 Reviewed by Mark Rowe. 280 281 https://bugs.webkit.org/show_bug.cgi?id=27468 282 Back out r46060, which caused problems for some Apple developers. 283 284 * WebKit.vcproj/Interfaces.vcproj: 285 * WebKit.vcproj/InterfacesGenerated.vcproj: 286 * WebKit.vcproj/WebKit.vcproj: 287 * WebKit.vcproj/WebKitGUID.vcproj: 288 2892009-07-17 Brian Weinstein <bweinstein@apple.com> 290 291 Reviewed by Adam Roben. 292 293 Fix of <rdar://problem/5712795> Win: Cannot change the height of the docked Web Inspector (14272) 294 https://bugs.webkit.org/show_bug.cgi?id=14272 295 296 Implemented resizing of inspector window when it is in attached mode. Implemented setAttachedWindowHeight 297 to set window sizes and redraw the inspector and the inspected web view, and used stored preferences 298 in InspectorController.cpp to remember user's preferred height. 299 300 * WebCoreSupport/WebInspectorClient.cpp: 301 3022009-07-17 Peter Kasting <pkasting@google.com> 303 304 Reviewed by Steve Falkenburg. 305 306 https://bugs.webkit.org/show_bug.cgi?id=27323 307 Only add Cygwin to the path when it isn't already there. This avoids 308 causing problems for people who purposefully have non-Cygwin versions of 309 executables like svn in front of the Cygwin ones in their paths. 310 311 * WebKit.vcproj/Interfaces.vcproj: 312 * WebKit.vcproj/InterfacesGenerated.vcproj: 313 * WebKit.vcproj/WebKit.vcproj: 314 * WebKit.vcproj/WebKitGUID.vcproj: 315 3162009-07-16 Fumitoshi Ukai <ukai@chromium.org> 317 318 Reviewed by David Levin. 319 320 Add --web-sockets flag and ENABLE_WEB_SOCKETS define. 321 https://bugs.webkit.org/show_bug.cgi?id=27206 322 323 Add ENABLE_WEB_SOCKETS 324 325 * WebKit.vcproj/WebKit.vcproj: add ENABLE_WEB_SOCKETS 326 3272009-07-16 Xiaomei Ji <xji@chromium.org> 328 329 Reviewed by Darin Adler. 330 331 Fix tooltip does not get its directionality from its element's directionality. 332 https://bugs.webkit.org/show_bug.cgi?id=24187 333 334 Per mitz's suggestion in comment #6, while getting the plain-text 335 title, we also get the directionality of the title. How to handle 336 the directionality is up to clients. Clients could ignore it, 337 or use attribute or unicode control characters to display the title 338 as what they want. 339 340 * WebCoreSupport/WebChromeClient.cpp: 341 (WebChromeClient::setToolTip): Add directionality as 2nd parameter to setToopTip() (without handling it yet). 342 * WebCoreSupport/WebChromeClient.h: Add directionality as 2nd parameter to setToolTip(). 343 * WebElementPropertyBag.cpp: 344 (WebElementPropertyBag::Read): Change call of spellingToolTip() and title() due to signature change. 345 3462009-07-15 Darin Adler <darin@apple.com> 347 348 Reviewed by Sam Weinig. 349 350 Renamed parseURL to deprecatedParseURL. 351 352 * WebCoreSupport/WebFrameLoaderClient.cpp: 353 (WebFrameLoaderClient::createPlugin): Renamed. 354 3552009-07-14 Steve Falkenburg <sfalken@apple.com> 356 357 Reorganize JavaScriptCore headers into: 358 API: include/JavaScriptCore/ 359 Private: include/private/JavaScriptCore/ 360 361 Reviewed by Darin Adler. 362 363 * WebKit.vcproj/WebKit.vcproj: 364 3652009-07-14 Zoltan Horvath <hzoltan@inf.u-szeged.hu> 366 367 Reviewed by Darin Adler. 368 369 Change all Noncopyable inheriting visibility to public. 370 https://bugs.webkit.org/show_bug.cgi?id=27225 371 372 Change all Noncopyable inheriting visibility to public because 373 it is needed to the custom allocation framework (bug #20422). 374 375 * COMEnumVariant.h: 376 * WebDatabaseManager.cpp: 377 * WebInspector.h: 378 * WebLocalizableStrings.cpp: 379 3802009-07-13 Brent Fulgham <bfulgham@webkit.org> 381 382 Reviewed by Adam Roben. 383 384 Refactor WebFrame::spoolPages for easier sharing with Windows Cairo. 385 https://bugs.webkit.org/show_bug.cgi?id=27240. 386 387 * WebFrame.cpp: 388 (WebFrame::printHeader): New shared method to print the header. 389 (WebFrame::printFooter): New shared method to print the footer. 390 (WebFrame::spoolPage): New conditionally-compiled method to print 391 a page. 392 (WebFrame::spoolPages): Revised to call the platform-specific spoolPage 393 for each page. 394 * WebFrame.h: Add new method prototypes. 395 3962009-07-13 Brent Fulgham <bfulgham@webkit.org> 397 398 Reviewed by Adam Roben. 399 400 Add new configuration flag for redistributable Windows build. 401 https://bugs.webkit.org/show_bug.cgi=27087 402 403 * WebKit.vcproj/WebKit.vcproj: Add new WinCairo.vsprops to 404 Debug_Cairo and Release_Cairo targets. 405 4062009-07-12 Brent Fulgham <bfulgham@gmail.com> 407 408 Speculative Windows build fix after http://trac.webkit.org/changeset/45786. 409 410 * WebCoreSupport/WebChromeClient.cpp: 411 (WebChromeClient::addMessageToConsole): 412 4132009-07-10 Adam Barth <abarth@webkit.org> 414 415 Reviewed by Sam Weinig with the power of Grayskull. 416 417 Enable XSSAuditor by default. 418 419 * WebPreferences.cpp: 420 (WebPreferences::initializeDefaultSettings): 421 4222009-07-09 Drew Wilson <atwilson@google.com> 423 424 Reviewed by Alexey Proskuryakov. 425 426 https://bugs.webkit.org/show_bug.cgi?id=26903 427 428 Turned on CHANNEL_MESSAGING by default because the MessageChannel API 429 can now be implemented for Web Workers and is reasonably stable. 430 431 * WebKit.vcproj/WebKit.vcproj: 432 4332009-07-09 Brian Weinstein <bweinstein@apple.com> 434 435 Reviewed by Alice Liu. 436 437 Fix of <rdar://5712929> Add preferences key to remember if the Inspector was docked (14271) 438 https://bugs.webkit.org/show_bug.cgi?id=27140 439 440 Added a preference key to remember whether the user prefers the inspector detached or attached. 441 442 * WebCoreSupport/WebInspectorClient.cpp: 443 (WebInspectorClient::showWindow): Pass both parameters into setWindowVisible 444 (WebInspectorClient::closeWindow): Ditto 445 (WebInspectorClient::attachWindow): Set preference to attached windows here 446 (WebInspectorClient::detachWindow): Set preference to detached windows here 447 (WebInspectorClient::showWindowWithoutNotifications): Read preference for attached vs. detached 448 (WebInspectorClient::onClose): Pass both parameters into setWindowVisible 449 4502009-07-09 Alexey Proskuryakov <ap@webkit.org> 451 452 Reviewed by Oliver Hunt. 453 454 <rdar://problem/6921671> Visit count shouldn't be incremented by redirects. 455 456 * WebCoreSupport/WebFrameLoaderClient.cpp: (WebFrameLoaderClient::updateGlobalHistory): 457 Do not increase visit count if there is a redirect source. As a result, only pages that were 458 explicitly visited by the user (by typing a URL, choosing one from bookmarks, or clicking 459 a link) will be counted. 460 461 * Interfaces/IWebHistoryItemPrivate.idl: 462 * WebHistory.cpp: 463 (WebHistory::visitedURL): 464 * WebHistory.h: 465 * WebHistoryItem.cpp: 466 (WebHistoryItem::visitedWithTitle): 467 * WebHistoryItem.h: 468 Marshal this new argument all the way down to WebCore. 469 4702009-07-09 Beth Dakin and Jon Honeycutt <bdakin@apple.com> 471 472 Reviewed by Dave Hyatt. 473 474 Make Widget RefCounted to fix: 475 476 <rdar://problem/7038831> REGRESSION (TOT): In Mail, a crash occurs 477 at WebCore::Widget::afterMouseDown() after clicking To Do's close 478 box 479 <rdar://problem/6978804> WER #16: Repro Access Violation in 480 WebCore::PluginView::bindingInstance (1310178023) 481 -and- 482 <rdar://problem/6991251> WER #13: Crash in WebKit! 483 WebCore::PluginView::performRequest+203 (1311461169) 484 485 * WebCoreSupport/WebFrameLoaderClient.cpp: 486 (WebFrameLoaderClient::createPlugin): 487 * WebCoreSupport/WebFrameLoaderClient.h: 488 * WebFrame.cpp: 489 (WebFrame::createJavaAppletWidget): 490 * WebFrame.h: 491 4922009-07-09 Sam Weinig <sam@webkit.org> 493 494 Reviewed by Steve Falkenburg. 495 496 Roll out r43848. The quirk is no longer necessary. 497 498 * WebView.cpp: 499 (WebView::userAgentForKURL): 500 5012009-07-07 Ada Chan <adachan@apple.com> 502 503 Reviewed by Dave Hyatt. 504 505 Missed a call to FocusController::setFocused(true) when handling WM_SETFOCUS in WebView. 506 https://bugs.webkit.org/show_bug.cgi?id=27057 507 508 * WebView.cpp: 509 (WebViewWndProc): 510 5112009-07-02 Erik Arvidsson <arv@chromium.org> 512 513 Reviewed by Adam Roben. 514 515 [Win] HTML5 Drag and drop, dragend is not fired when pressing Esc 516 https://bugs.webkit.org/show_bug.cgi?id=26699 517 518 * WebDropSource.cpp: 519 (WebDropSource::QueryContinueDrag): 520 5212009-07-02 Oliver Hunt <oliver@apple.com> 522 523 Reviewed by Anders Carlsson. 524 525 <rdar://problem/6939593> REGRESSION (r37793): Hitting back button on Google often gives non-interactive Google page (26670) 526 <https://bugs.webkit.org/show_bug.cgi?id=26670> 527 528 Make windows loader client match mac behaviour more closely. 529 530 * WebCoreSupport/WebFrameLoaderClient.cpp: 531 (WebFrameLoaderClient::forceLayout): 532 5332009-06-30 Brent Fulgham <bfulgham@gmail.com> 534 535 Reviewed by Adam Roben. 536 537 Build DumpRenderTree under Cairo. 538 https://bugs.webkit.org/show_bug.cgi?id=26457 539 540 * WebKit.vcproj/WebKit.sln: Add Cairo targets to the 541 DumpRenderTree build, and use the in the Debug_Cairo 542 and Release_Cairo targets. 543 5442009-07-02 Eric Carlson <eric.carlson@apple.com> 545 546 Fix Windows build by including missing localized string methods. 547 548 * WebCoreLocalizedStrings.cpp: 549 (WebCore::mediaElementLoadingStateText): 550 (WebCore::mediaElementLiveBroadcastStateText): 551 5522009-07-01 David Hyatt <hyatt@apple.com> 553 554 Reviewed by Tim Hatcher. 555 556 <rdar://problem/6998524> REGRESSION (r44474): Form text field has focus ring, looks focused, 557 even though the field is not actually focused for keyboard input 558 559 Add the concept of whether or not the Page is focused by adding a boolean to the focusController. This allows the 560 focused frame and focused node to both be cached and changed programmatically without causing errors when the Page doesn't 561 have focus. 562 563 * WebView.cpp: 564 (WebViewWndProc): 565 5662009-06-29 David Hyatt <hyatt@apple.com> 567 568 Fix Windows bustage. Missed two configurations for enabling DATAGRID. 569 570 * WebKit.vcproj/WebKit.vcproj: 571 5722009-06-29 Jessie Berlin <jberlin@apple.com> 573 574 Reviewed by Adam Roben. 575 576 Fix the windows build. 577 578 * WebCoreSupport/WebContextMenuClient.cpp: 579 (WebContextMenuClient::isSpeaking): 580 * WebCoreSupport/WebContextMenuClient.h: 581 5822009-06-29 David Hyatt <hyatt@apple.com> 583 584 Reviewed by Adam Roben. 585 586 Make sure to patch all configurations to have datagrid enabled. 587 588 * WebKit.vcproj/WebKit.vcproj: 589 5902009-06-29 David Hyatt <hyatt@apple.com> 591 592 Reviewed by Adam Roben. 593 594 Put <datagrid> behind an ifdef. 595 596 * WebKit.vcproj/WebKit.vcproj: 597 5982009-06-26 Brian Weinstein <bweinstein@apple.com> 599 600 Reviewed by Simon Fraser. 601 602 https://bugs.webkit.org/show_bug.cgi?id=26695 603 604 Added hit testing on scrollbars, so if you start a gesture over a scrollbar, 605 it isn't counted, and lets the user drag the scrollbar itself instead of a 606 panning gesture. Also cleaned up code in gesture. 607 608 * WebView.cpp: 609 (WebView::gestureNotify): 610 (WebView::gesture): 611 6122009-06-26 Jeremy Orlow <jorlow@chromium.org> 613 614 Reviewed by Adam Barth. 615 616 https://bugs.webkit.org/show_bug.cgi?id=26767 617 618 Fix a build break due to LocalStorage.h being included in WebKitDLL.cpp 619 despite it being deleted from the repo by the following patch/commit: 620 https://bugs.webkit.org/show_bug.cgi?id=26732 621 http://trac.webkit.org/changeset/45290 622 623 * WebKitDLL.cpp: 624 6252009-06-26 Yongjun Zhang <yongjun.zhang@nokia.com> 626 627 Reviewed by Eric Seidel. 628 629 Bug 20303: [Qt] Key events are not working in frames. 630 631 Move the scroll handling code to EventHandler so that other 632 ports can share the functionality. 633 634 * WebView.cpp: 635 (WebView::keyDown): 636 (EnumTextMatches::QueryInterface): 637 6382009-06-23 Anders Carlsson <andersca@apple.com> 639 640 Reviewed by Darin Adler. 641 642 WebKit side of <rdar://problem/6946094>. 643 644 * Interfaces/IWebUIDelegate.idl: 645 Add a newPasteboard out parameter to willPerformDragSourceAction. 646 647 * WebCoreSupport/WebDragClient.cpp: 648 (WebDragClient::willPerformDragSourceAction): 649 Implement this. If the client returns a new pasteboard, use it for the drag. 650 651 * WebCoreSupport/WebInspectorDelegate.h: 652 (WebInspectorDelegate::willPerformDragSourceAction): 653 Add the new parameter. 654 6552009-06-20 Darin Adler <darin@apple.com> 656 657 Reviewed by Sam Weinig. 658 659 <rdar://problem/6964221> Need more processing of pluginspage. 660 661 * WebCoreSupport/WebFrameLoaderClient.cpp: 662 (WebFrameLoaderClient::createPlugin): Check protocolInHTTPFamily. 663 6642009-06-19 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> 665 666 Reviewed by Steve Falkenburg. 667 668 https://bugs.webkit.org/show_bug.cgi?id=26494 669 Bug 26494: RenderTheme::themeForPage reads from Settings before it has 670 been initialized by WebKit 671 672 Get the shouldPaintNativeControls preference and update the settings 673 before initializing the page, as the page depends on it after the 674 themeForPage change. 675 676 * WebView.cpp: 677 (WebView::initWithFrame): 678 6792009-06-19 Brian Weinstein <bweinstein@apple.com> 680 681 Reviewed by Steve Falkenburg. 682 683 https://bugs.webkit.org/show_bug.cgi?id=26488 684 No Support for Single Finger or Two Finger Panning in Windows 7 685 686 Added the code necessary for single finger and two-finger panning with 687 window bounce. We now register for WM_GESTURENOTIFY and WM_GESTURE messages, 688 and interpret the panning command. Also, added WindowsTouch.h which contains 689 structs and #defines from the Windows 7 SDK. 690 691 * WebKit.vcproj/WebKit.vcproj: 692 * WebView.cpp: 693 (WebView::gestureNotify): Checks if we are in a pannable region - IE: Not in the scrollbar 694 (WebView::gesture): Handles the Panning gesture, creating the WheelEvent 695 (WebViewWndProc): Added cases for WM_GESTURE and WM_GESTURENOTIFY 696 * WebView.h: 697 * WindowsTouch.h: Added. 698 6992009-06-18 Adam Barth <abarth@webkit.org> 700 701 Reviewed by Sam Weinig. 702 703 https://bugs.webkit.org/show_bug.cgi?id=26199 704 705 Added preference to enable the XSSAuditor. 706 707 * Interfaces/IWebPreferencesPrivate.idl: 708 * WebPreferenceKeysPrivate.h: 709 * WebPreferences.cpp: 710 (WebPreferences::initializeDefaultSettings): 711 (WebPreferences::isXSSAuditorEnabled): 712 (WebPreferences::setXSSAuditorEnabled): 713 * WebPreferences.h: 714 * WebView.cpp: 715 (WebView::notifyPreferencesChanged): 716 7172009-06-18 Brent Fulgham <bfulgham@gmail.com> 718 719 Reviewed by Dave Levin. 720 721 Remove some boilerplate using the BitmapInfo struct. 722 https://bugs.webkit.org/show_bug.cgi?id=26425 723 724 * WebFrame.cpp: 725 (WebFrame::spoolPages): 726 * WebIconDatabase.cpp: 727 (createDIB): 728 * WebKit.vcproj/WebKit.sln: 729 * WebNodeHighlight.cpp: 730 (WebNodeHighlight::update): 731 * WebView.cpp: 732 (WebView::ensureBackingStore): 733 7342009-06-17 Steve Falkenburg <sfalken@apple.com> 735 736 Consolidate WebKit COM interfaces. 737 Moved IID from the highest numbered COM interface to the first interface and combined all methods. 738 739 Numbered interfaces can be combined since the latest shipping Safari 4 supports the latest interfaces. 740 741 Reviewed by Adam Roben. 742 743 * Interfaces/IWebFrameLoadDelegate.idl: 744 * Interfaces/IWebFrameLoadDelegatePrivate.idl: 745 * Interfaces/IWebResourceLoadDelegatePrivate.idl: 746 * Interfaces/IWebUIDelegate.idl: 747 * Interfaces/IWebUIDelegatePrivate.idl: 748 * Interfaces/WebKit.idl: 749 * WebCoreSupport/WebChromeClient.cpp: 750 * WebCoreSupport/WebChromeClient.h: 751 * WebCoreSupport/WebContextMenuClient.cpp: 752 * WebCoreSupport/WebFrameLoaderClient.cpp: 753 * WebCoreSupport/WebInspectorDelegate.h: 754 * WebFrame.cpp: 755 * WebView.cpp: 756 7572009-06-16 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> 758 759 Reviewed by Adam Roben. 760 761 Create a different RenderTheme per page, so that RenderTheme has 762 access to page specific theming. This is needed for the Qt port, as Qt 763 supports setting the theme (style) per widget. 764 765 This change was suggested and discussed with Dave Hyatt. 766 767 More detailed: 768 769 1) Create a theme per page or one global one, depending on the needs 770 of the platform. 771 2) Add an accesser to the theme from RenderObject. 772 3) Change all uses of the theming to access the theme through 773 RenderObject, using the global default theme as fallback, when the 774 document of RenderObject has no page. 775 When we don't have access to a RenderObject, use the default theme. 776 4) Modify all RenderTheme platform implementations to work with the 777 above changes, still creating only one global theme. 778 779 * WebView.cpp: 780 (WebViewWndProc): Get the theme from the associated page. 781 7822009-06-16 Brian Weinstein <bweinstein@apple.com> 783 784 Reviewed by Adam Roben. 785 786 Switch Control+Mousewheel Zooming definitions to match other browsers on Windows. 787 Control+Mousewheel-Down now zooms out, Control+Mousewheel-Up now zooms in. 788 https://bugs.webkit.org/show_bug.cgi?id=25875. 789 <rdar://problem/6903976> 790 791 * WebView.cpp: 792 (WebView::mouseWheel): 793 7942009-06-16 Brent Fulgham <bfulgham@gmail.com> 795 796 Reviewed by Darin Adler. 797 798 Use consistent Windows GUID Comparison Functions. 799 https://bugs.webkit.org/show_bug.cgi?id=26427. 800 801 * WebView.cpp: 802 (EnumTextMatches::QueryInterface): 803 804== Rolled over to ChangeLog-2009-06-16 == 805