1 2011-04-21 Ryosuke Niwa <rniwa@webkit.org>
5 * WebCoreSupport/WebEditorClient.h:
7 2011-04-21 Ryosuke Niwa <rniwa@webkit.org>
9 Reviewed by Sam Weinig.
11 Add Frame* to the argument lists of canCopyCut and canPaste
12 https://bugs.webkit.org/show_bug.cgi?id=59153
14 * WebCoreSupport/WebEditorClient.cpp:
15 (WebEditorClient::canCopyCut):
16 (WebEditorClient::canPaste):
17 * WebCoreSupport/WebEditorClient.h:
19 2011-04-20 Brent Fulgham <bfulgham@webkit.org>
21 Reviewed by Martin Robinson.
23 Provide missing implementation of WebMutableURLRequest::mutableCopy.
24 This was preventing DumpRenderTree from working properly under
26 https://bugs.webkit.org/show_bug.cgi?id=59034
28 * WebMutableURLRequest.cpp:
29 (WebMutableURLRequest::mutableCopy): Implement cURL version of the
32 2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>
34 Reviewed by Pavel Feldman.
36 Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
37 https://bugs.webkit.org/show_bug.cgi?id=58883
39 * WebCoreSupport/WebFrameLoaderClient.h:
41 2011-04-18 Timothy Hatcher <timothy@apple.com>
43 Remove the two commands that make en.lproj and copy Localizable.strings.
45 Rubber-stamped by Adam Roben.
47 * WebKit.vcproj/WebKitLibPostBuild.cmd:
49 2011-04-18 Patrick Gansterer <paroga@webkit.org>
51 Reviewed by Adam Roben.
53 Include <WebCore/COMPtr.h> instead of "COMPtr.h"
54 https://bugs.webkit.org/show_bug.cgi?id=58744
58 * WebActionPropertyBag.cpp:
59 * WebBackForwardList.cpp:
60 * WebCoreSupport/WebGeolocationClient.h:
65 * WebIconDatabase.cpp:
66 * WebNavigationData.h:
69 * WebURLAuthenticationChallenge.cpp:
70 * WebURLAuthenticationChallengeSender.cpp:
71 * WebURLAuthenticationChallengeSenderCFNet.cpp:
72 * WebURLAuthenticationChallengeSenderCurl.cpp:
75 2011-04-17 Patrick Gansterer <paroga@webkit.org>
77 Reviewed by Adam Barth.
79 Rename PLATFORM(CG) to USE(CG)
80 https://bugs.webkit.org/show_bug.cgi?id=58729
83 (WebFrame::spoolPages):
86 (WebPreferences::setFontSmoothing):
87 (WebPreferences::setFontSmoothingContrast):
89 (systemParameterChanged):
91 2011-04-16 Sam Weinig <sam@webkit.org>
93 Reviewed by Simon Fraser.
95 Windows should use WebCore localized strings
96 <rdar://problem/9119405>
97 https://bugs.webkit.org/show_bug.cgi?id=58733
99 * WebCoreSupport/WebEditorClient.cpp:
100 (undoNameForEditAction):
101 (WebEditorClient::registerCommandForUndo):
102 * WebPreferences.cpp:
103 (WebPreferences::initializeDefaultSettings):
104 * WebURLResponse.cpp:
105 (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode):
106 (WebURLResponse::localizedStringForStatusCode):
107 Change to use WEB_UI_STRING.
109 * WebCoreSupport/WebPlatformStrategies.cpp:
110 * WebCoreSupport/WebPlatformStrategies.h:
111 Remove the localization strategy in favor of using the default one.
113 2011-04-16 Patrick Gansterer <paroga@webkit.org>
115 Reviewed by Eric Seidel.
117 Rename PLATFORM(CAIRO) to USE(CAIRO)
118 https://bugs.webkit.org/show_bug.cgi?id=55192
121 (WebFrame::spoolPages):
124 2011-04-14 Adam Roben <aroben@apple.com>
126 Replace some known-to-fail assertions with FIXMEs
128 These assertions get hit during various layout tests. They indicate that we're sometimes
129 doing some extra work when a page goes into accelerated compositing mode, but otherwise
130 there's no bad effect.
132 See <http://webkit.org/b/58539> for more details.
134 Rubber-stamped by John Sullivan.
137 (WebView::paintIntoBackingStore):
138 (WebView::paintIntoWindow):
139 Replaced assertions with FIXMEs.
141 2011-04-13 James Robinson <jamesr@chromium.org>
143 Reviewed by Simon Fraser.
145 Allow setting composited backing stores for scrollbars and scroll corners
146 https://bugs.webkit.org/show_bug.cgi?id=57202
148 Update WebScrollBar to reflect ScrollableArea interface changes.
151 (WebScrollBar::invalidateScrollCornerRect):
152 (WebScrollBar::scrollCornerPresent):
153 (WebScrollBar::scrollCornerRect):
155 2011-04-12 Alice Liu <alice.liu@apple.com>
157 Reviewed by Sam Weinig.
159 https://bugs.webkit.org/show_bug.cgi?id=58292
160 Provide new setting to allow site icon loading despite disabling automatic image loading in general.
162 * Interfaces/IWebPreferencesPrivate.idl: Added prefs.
163 * Interfaces/WebKit.idl: Touch file to force autogeneration
164 * WebPreferenceKeysPrivate.h: Add preference key.
165 * WebPreferences.cpp:
166 (WebPreferences::initializeDefaultSettings): Initialize setting to false.
167 (WebPreferences::setLoadsSiteIconsIgnoringImageLoadingPreference): Added setter
168 (WebPreferences::loadsSiteIconsIgnoringImageLoadingPreference): Added getter
171 (WebView::notifyPreferencesChanged): Add to settings that get propagated upon changes.
173 2011-04-11 Alexey Proskuryakov <ap@apple.com>
175 Reviewed by Maciej Stachowiak.
177 WebKit2: Cannot use Ctrl-Delete as a custom keyboard shortcut
178 https://bugs.webkit.org/show_bug.cgi?id=58265
179 <rdar://problem/9221468>
181 * WebView.cpp: (WebView::keyDown): Removed special handling of Backspace, which is unnecessary
182 now that WebCore implements it.
184 2011-04-06 Brian Weinstein <bweinstein@apple.com>
186 Reviewed by Adam Roben.
188 WebKit2: Support Windows 7 Gestures
189 https://bugs.webkit.org/show_bug.cgi?id=49824
190 <rdar://problem/8689728>
192 Move WindowsTouch.h from WebKit/win to WebCore/platform/win, so it can be
193 used in both WebKit and WebKit2.
195 * WebKit.vcproj/WebKit.vcproj: Remove WindowsTouch.h.
196 * WebView.cpp: Include WindowsTouch.h from WebCore instead of WebKit.
197 * WindowsTouch.h: Removed.
199 2011-04-05 Martin Robinson <mrobinson@igalia.com>
201 Reviewed by Eric Seidel.
203 [Cairo] Better separate the concerns of GraphicsContextCairo
204 https://bugs.webkit.org/show_bug.cgi?id=55150
207 (hdcFromContext): Modify this method to take PlatformContextCairo
208 instead of a cairo_t.
209 (WebFrame::spoolPage): Update to reflect new platform context.
210 (WebFrame::spoolPages): Ditto.
213 2011-04-04 MORITA Hajime <morrita@google.com>
215 Reviewed by Ryosuke Niwa.
217 [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
218 https://bugs.webkit.org/show_bug.cgi?id=56085
220 * WebCoreSupport/WebEditorClient.h:
221 (WebEditorClient::requestCheckingOfString):
223 2011-04-04 Alexey Proskuryakov <ap@apple.com>
225 Reviewed by Dan Bernstein.
227 REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
228 https://bugs.webkit.org/show_bug.cgi?id=51230
229 <rdar://problem/8780989>
231 * WebView.cpp: (WebView::keyDown): Moved Caps Lock handling from WebKits to WebCore,
232 because WebKit shouldn't be smart.
234 2011-04-04 Steve Falkenburg <sfalken@apple.com>
236 Reviewed by Adam Roben.
238 Remove unused AnalyzeWithLargeStack code from Windows build files
239 https://bugs.webkit.org/show_bug.cgi?id=57771
241 This was used for us to build with prefast automatically,
242 but it is out-of-date and hasn't been used for some time.
243 Removing completely for now.
245 * WebKit.vcproj/WebKitLibPreBuild.cmd:
247 2011-04-01 Adam Roben <aroben@apple.com>
249 Remove the WebView's "this" pointer from its HWND when WM_DESTROY is received
251 This will ensure we don't try to process any window messages after the window has been
254 Covered by existing tests.
256 Fixes <http://webkit.org/b/55054>.
258 Reviewed by Steve Falkenburg and John Sullivan.
261 (WebView::setIsBeingDestroyed): Moved here from the header file, and added a call to clear
262 out the this pointer from the HWND.
263 (WebView::WebViewWndProc): Changed a runtime check into an assertion.
265 * WebView.h: Moved setIsBeingDestroyed from here to the .cpp file.
267 2011-03-31 Evan Martin <evan@chromium.org>
269 Reviewed by Eric Seidel.
271 <title> should support dir attribute
272 https://bugs.webkit.org/show_bug.cgi?id=50961
274 Update to new FrameLoaderClient interface.
276 * WebCoreSupport/WebFrameLoaderClient.cpp:
277 (WebFrameLoaderClient::dispatchDidReceiveTitle):
278 * WebCoreSupport/WebFrameLoaderClient.h:
280 2011-03-30 Steve Falkenburg <sfalken@apple.com>
282 Reviewed by Adam Roben.
284 Share most vsprops between Release and Production builds in releaseproduction.vsprops
285 https://bugs.webkit.org/show_bug.cgi?id=57508
287 * WebKit.vcproj/InterfacesProduction.vsprops:
288 * WebKit.vcproj/InterfacesRelease.vsprops:
289 * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
290 * WebKit.vcproj/WebKitGUIDProduction.vsprops:
291 * WebKit.vcproj/WebKitGUIDRelease.vsprops:
292 * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
293 * WebKit.vcproj/WebKitLibProduction.vsprops:
294 * WebKit.vcproj/WebKitLibRelease.vsprops:
295 * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:
297 2011-03-30 Steve Falkenburg <sfalken@apple.com>
299 Reviewed by Adam Roben.
301 Update Windows production build logic for new production configurations
302 https://bugs.webkit.org/show_bug.cgi?id=57494
304 * WebKit.vcproj/InterfacesProduction.vsprops:
305 * WebKit.vcproj/WebKit.make:
306 * WebKit.vcproj/WebKitGUIDProduction.vsprops:
307 * WebKit.vcproj/WebKitLibProduction.vsprops:
309 2011-03-30 Steve Falkenburg <sfalken@apple.com>
311 Reviewed by Adam Roben.
313 Rename Windows configuration Release_LTCG to Production for clarity
314 https://bugs.webkit.org/show_bug.cgi?id=57465
316 * WebKit.vcproj/Interfaces.vcproj:
317 * WebKit.vcproj/InterfacesProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/InterfacesReleaseLTCG.vsprops.
318 * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Removed.
319 * WebKit.vcproj/WebKit.sln:
320 * WebKit.vcproj/WebKit.submit.sln:
321 * WebKit.vcproj/WebKit.vcproj:
322 * WebKit.vcproj/WebKitGUID.vcproj:
323 * WebKit.vcproj/WebKitGUIDProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops.
324 * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Removed.
325 * WebKit.vcproj/WebKitLibProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitLibReleaseLTCG.vsprops.
326 * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Removed.
328 2011-03-29 Patrick Gansterer <paroga@webkit.org>
330 Reviewed by Adam Roben.
332 [WIN] Remove unused GEN_DOMObject files
333 https://bugs.webkit.org/show_bug.cgi?id=57370
335 * GEN_DOMObject.cpp: Removed.
336 * GEN_DOMObject.h: Removed.
338 2011-03-29 Steve Falkenburg <sfalken@apple.com>
342 * WebCoreSupport/WebPlatformStrategies.h:
344 2011-03-29 Steve Falkenburg <sfalken@apple.com>
348 * WebCoreSupport/WebPlatformStrategies.cpp:
349 (WebPlatformStrategies::contextMenuItemTagLookUpInDictionary):
351 2011-03-29 Patrick Gansterer <paroga@webkit.org>
353 Unreviewed. Try to fix Windows build.
355 * DOMEventsClasses.cpp: Added initguid.h again.
357 2011-03-29 Patrick Gansterer <paroga@webkit.org>
359 Reviewed by Adam Roben.
361 [WIN] Cleanup includes in WebKit files
362 https://bugs.webkit.org/show_bug.cgi?id=57381
364 Add missing includes to fix build without precompiled header.
365 Also fix paths in #include statements (e.g. WTF -> wtf).
368 * AccessibleDocument.h: Replace using statement with a qualified name.
369 * CFDictionaryPropertyBag.h:
370 * DOMEventsClasses.cpp:
372 * DefaultDownloadDelegate.cpp:
373 * DefaultDownloadDelegate.h:
374 * DefaultPolicyDelegate.cpp:
375 * DefaultPolicyDelegate.h:
376 * WebCoreSupport/EmbeddedWidget.h:
377 * WebCoreSupport/WebInspectorDelegate.h:
379 * WebDatabaseManager.h:
380 * WebElementPropertyBag.h:
381 * WebFramePolicyListener.h:
382 * WebGeolocationPolicyListener.h:
384 * WebKitClassFactory.h:
386 * WebSerializedJSValue.h:
387 * WebUserContentURLPattern.h:
389 2011-03-29 Steve Falkenburg <sfalken@apple.com>
391 Reviewed by Darin Adler.
393 Use per-configuration vsprops in WebKit to avoid WebKitVSPropsRedirectionDir removal by MSVC IDE
394 https://bugs.webkit.org/show_bug.cgi?id=57383
396 Visual Studio's IDE was removing instances of $(WebKitVSPropsRedirectionDir) from
397 InheritedPropertySheet rules in our vcproj files when the vcproj was edited from within
398 the IDE. To avoid this, add a separate vsprops file for each project configuration that
399 contains the required inherited property sheets.
401 * WebKit.vcproj/Interfaces.vcproj:
402 * WebKit.vcproj/InterfacesDebug.vsprops: Added.
403 * WebKit.vcproj/InterfacesDebugAll.vsprops: Added.
404 * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: Added.
405 * WebKit.vcproj/InterfacesRelease.vsprops: Added.
406 * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: Added.
407 * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Added.
408 * WebKit.vcproj/WebKit.vcproj:
409 * WebKit.vcproj/WebKitGUID.vcproj:
410 * WebKit.vcproj/WebKitGUIDDebug.vsprops: Added.
411 * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: Added.
412 * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: Added.
413 * WebKit.vcproj/WebKitGUIDRelease.vsprops: Added.
414 * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: Added.
415 * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Added.
416 * WebKit.vcproj/WebKitLibDebug.vsprops: Added.
417 * WebKit.vcproj/WebKitLibDebugAll.vsprops: Added.
418 * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Added.
419 * WebKit.vcproj/WebKitLibRelease.vsprops: Added.
420 * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Added.
421 * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Added.
423 2011-03-29 Patrick Gansterer <paroga@webkit.org>
425 Reviewed by Adam Roben.
427 Remove #pragma warning push and pop statements
428 https://bugs.webkit.org/show_bug.cgi?id=57198
430 We do not need to disable warnings via #pragma since we started
431 compiling WebCore with the same compiler warnings flags as WebKit.
434 * DOMCoreClasses.cpp:
435 * DOMEventsClasses.cpp:
436 * DOMHTMLClasses.cpp:
437 * DefaultDownloadDelegate.cpp:
438 * DefaultPolicyDelegate.cpp:
439 * MarshallingHelpers.cpp:
440 * WebActionPropertyBag.cpp:
441 * WebActionPropertyBag.h:
443 * WebCoreSupport/WebDragClient.cpp:
444 * WebCoreSupport/WebEditorClient.cpp:
445 * WebCoreSupport/WebEditorClient.h:
446 * WebCoreSupport/WebFrameLoaderClient.cpp:
447 * WebCoreSupport/WebFrameLoaderClient.h:
448 * WebCoreSupport/WebInspectorClient.cpp:
449 * WebDocumentLoader.h:
451 * WebDownloadCFNet.cpp:
452 * WebDownloadCurl.cpp:
453 * WebElementPropertyBag.cpp:
458 * WebFramePolicyListener.cpp:
459 * WebFramePolicyListener.h:
461 * WebHistoryItem.cpp:
462 * WebIconDatabase.cpp:
465 * WebJavaScriptCollector.cpp:
466 * WebKitGraphics.cpp:
467 * WebKitSystemBits.cpp:
468 * WebLocalizableStrings.cpp:
469 * WebMutableURLRequest.cpp:
470 * WebMutableURLRequest.h:
471 * WebNodeHighlight.cpp:
472 * WebNodeHighlight.h:
473 * WebNotificationCenter.cpp:
478 * WebURLAuthenticationChallenge.cpp:
479 * WebURLAuthenticationChallenge.h:
480 * WebURLAuthenticationChallengeSender.cpp:
481 * WebURLAuthenticationChallengeSenderCFNet.cpp:
482 * WebURLAuthenticationChallengeSenderCurl.cpp:
483 * WebURLCredential.cpp:
484 * WebURLCredential.h:
485 * WebURLProtectionSpace.cpp:
486 * WebURLProtectionSpace.h:
487 * WebURLResponse.cpp:
490 2011-03-29 Brent Fulgham <bfulgham@webkit.org>
492 Unreviewed build fix after r82247.
494 * WebMutableURLRequest.cpp: The new CertificateCFWin routines
495 are not CFNetwork-specific. All CF-based ports can use them.
497 2011-03-29 Patrick Gansterer <paroga@webkit.org>
499 Reviewed by Adam Roben.
501 [WIN] Use WCHAR instead of TCHAR
502 https://bugs.webkit.org/show_bug.cgi?id=57191
504 We always use the UNICODE versions of windows functions, so
505 the usage of TCHAR makes no sense and mixing them is bad style.
507 * DefaultDownloadDelegate.cpp:
508 * WebCoreSupport/WebChromeClient.cpp:
509 * WebCoreSupport/WebContextMenuClient.cpp:
510 * WebCoreSupport/WebInspectorClient.cpp:
512 * WebNotificationCenter.cpp:
513 * WebPreferences.cpp:
514 * WebURLResponse.cpp:
517 2011-03-29 Jeff Miller <jeffm@apple.com>
519 Reviewed by Jon Honeycutt.
521 Add WebCore::copyCertificateToData() on Windows
522 https://bugs.webkit.org/show_bug.cgi?id=57296
524 Remove duplicate code that implemented this functionality in WebMutableURLRequest.cpp and use WebCore::copyCertificateToData() instead.
526 * WebMutableURLRequest.cpp:
527 (WebMutableURLRequest::setClientCertificate): Use WebCore::copyCertificateToData().
529 2011-03-28 Patrick Gansterer <paroga@webkit.org>
531 Reviewed by Adam Roben.
533 [WIN] Remove unused DOMCreateInstance files
534 https://bugs.webkit.org/show_bug.cgi?id=57193
536 * DOMCreateInstance.cpp: Removed.
537 * DOMCreateInstance.h: Removed.
539 2011-03-28 Adele Peterson <adele@apple.com>
543 * WebFrame.cpp: (WebFrame::hasSpellingMarker):
544 Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
546 2011-03-28 Jeff Miller <jeffm@apple.com>
548 Reviewed by Adam Roben.
550 Include certificate when sending a WebCore::ResourceError to UI process on Windows
551 https://bugs.webkit.org/show_bug.cgi?id=57195
553 Rename callers of wkGetSSLPeerCertificateData() to use wkGetSSLPeerCertificateDataBytePtr(), since it returns a void*.
556 (WebError::sslPeerCertificate):
557 * WebURLResponse.cpp:
558 (WebURLResponse::sslPeerCertificate):
560 2011-03-28 Darin Adler <darin@apple.com>
562 Set eol-style to native on more files. I noticed the last check-in had an entire file
563 changing because of an EOL style change, and setting this property prevents that from
564 happening in future. We may want to do this systematically for more of WebKit later.
566 * AccessibleBase.cpp: Added property svn:eol-style.
567 * AccessibleBase.h: Added property svn:eol-style.
568 * AccessibleDocument.cpp: Added property svn:eol-style.
569 * AccessibleDocument.h: Added property svn:eol-style.
570 * AccessibleImage.cpp: Added property svn:eol-style.
571 * AccessibleImage.h: Added property svn:eol-style.
572 * COMVariantSetter.h: Added property svn:eol-style.
573 * FullscreenVideoController.cpp: Added property svn:eol-style.
574 * FullscreenVideoController.h: Added property svn:eol-style.
575 * WebCoreSupport/EmbeddedWidget.cpp: Added property svn:eol-style.
576 * WebCoreSupport/EmbeddedWidget.h: Added property svn:eol-style.
577 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: Added property svn:eol-style.
578 * WebCoreSupport/WebDesktopNotificationsDelegate.h: Added property svn:eol-style.
579 * WebCoreSupport/WebFrameLoaderClient.cpp: Added property svn:eol-style.
580 * WebCoreSupport/WebInspectorDelegate.cpp: Added property svn:eol-style.
581 * WebCoreSupport/WebInspectorDelegate.h: Added property svn:eol-style.
582 * WebCoreSupport/WebPlatformStrategies.cpp: Added property svn:eol-style.
583 * WebCoreSupport/WebPlatformStrategies.h: Added property svn:eol-style.
584 * WebCoreSupport/WebPluginHalterClient.cpp: Added property svn:eol-style.
585 * WebCoreSupport/WebPluginHalterClient.h: Added property svn:eol-style.
587 2011-03-28 Patrick Gansterer <paroga@webkit.org>
589 Unreviewed build fix.
591 * COMPropertyBag.h: Added missing include.
592 * WebKitCOMAPI.h: Ditto.
593 * WebCoreSupport/WebFrameLoaderClient.h: Added missing forward declaration.
595 2011-03-25 Sam Weinig <sam@webkit.org>
597 Reviewed by Jon Honeycutt.
599 WebScrollBar not updating when calling WebScrollBar::setValue.
600 <rdar://problem/9143871>
603 (WebScrollBar::setValue):
604 Call scrollToOffsetWithoutAnimation to actually update the scroll position.
606 2011-03-25 Andy Estes <aestes@apple.com>
608 Reviewed by Adele Peterson.
610 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
611 https://bugs.webkit.org/show_bug.cgi?id=49016
613 Update objectContentType() implementation to handle the
614 shouldPreferPlugInsForImages flag.
617 (WebFrame::objectContentType):
620 2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com>
622 Unreviewed, rolling out r81916 and r81917.
623 http://trac.webkit.org/changeset/81916
624 http://trac.webkit.org/changeset/81917
625 https://bugs.webkit.org/show_bug.cgi?id=57071
627 broke a test on platforms that do not have QuickTime installed
628 (Requested by estes on #webkit).
631 (WebFrame::objectContentType):
634 2011-03-24 Andy Estes <aestes@apple.com>
636 Reviewed by Darin Adler.
638 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
639 https://bugs.webkit.org/show_bug.cgi?id=49016
641 Update objectContentType() implementation to handle the
642 shouldPreferPlugInsForImages flag.
645 (WebFrame::objectContentType):
648 2011-03-23 Brady Eidson <beidson@apple.com>
650 Reviewed by Sam Weinig.
652 Change IconDatabase opening to allow for arbitrary filenames
653 https://bugs.webkit.org/show_bug.cgi?id=56977
655 * WebIconDatabase.cpp:
656 (WebIconDatabase::startUpIconDatabase):
658 2011-03-22 Brady Eidson <beidson@apple.com>
660 Reviewed by Sam Weinig.
662 <rdar://problem/8648311> and https://bugs.webkit.org/show_bug.cgi?id=56876
663 WK2 Icon DB: Expand IconDatabaseClient interface and move it to the main thread
665 Note that while the new client calls always come through on the main thread, our mechanisms to
666 route dispatches to the main thread are still valid and will still work.
668 Update to the new IconDatabaseClient interface:
669 * WebIconDatabase.cpp:
670 (WebIconDatabase::performImport):
671 (WebIconDatabase::didRemoveAllIcons):
672 (WebIconDatabase::didImportIconURLForPageURL):
673 (WebIconDatabase::didImportIconDataForPageURL):
674 (WebIconDatabase::didChangeIconForPageURL):
675 (WebIconDatabase::didFinishURLImport):
678 2011-03-17 Brady Eidson <beidson@apple.com>
680 Reviewed by Sam Weinig.
682 https://bugs.webkit.org/show_bug.cgi?id=56425
683 More groundwork for WebKit2 IconDatabase
685 Update already-used function names:
686 * WebIconDatabase.cpp:
687 (WebIconDatabase::iconForURL):
688 (WebIconDatabase::iconURLForURL):
689 (WebIconDatabase::hasIconForURL):
691 2011-03-18 Pavel Podivilov <podivilov@chromium.org>
693 Reviewed by Yury Semikhatsky.
695 Web Inspector: implement inspector session storage.
696 https://bugs.webkit.org/show_bug.cgi?id=56643
698 * WebCoreSupport/WebInspectorClient.cpp:
699 (WebInspectorClient::saveSessionSetting):
700 (WebInspectorClient::loadSessionSetting):
701 (WebInspectorFrontendClient::saveSessionSetting):
702 (WebInspectorFrontendClient::loadSessionSetting):
703 * WebCoreSupport/WebInspectorClient.h:
705 2011-03-11 Brady Eidson <beidson@apple.com>
707 More Windows build fix for https://bugs.webkit.org/show_bug.cgi?id=56216
709 * WebCoreStatistics.cpp:
710 * WebIconDatabase.cpp:
712 2011-03-09 Peter Kasting <pkasting@google.com>
714 Reviewed by Mihai Parparita.
716 Unify Windows version checks.
717 https://bugs.webkit.org/show_bug.cgi?id=55979
720 (WebView::standardUserAgentWithApplicationName):
721 (webKitVersionString):
723 2011-03-07 Sam Weinig <sam@webkit.org>
725 Reviewed by Anders Carlsson.
727 Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
728 https://bugs.webkit.org/show_bug.cgi?id=55827
730 Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
731 and pass the entire response, instead of just the MIMEType.
734 (WebFrame::dispatchDecidePolicyForResponse):
737 2011-03-04 Steve Falkenburg <sfalken@apple.com>
739 Reviewed by Darin Adler.
741 Adopt VersionStamper tool for Windows WebKit DLLs
742 https://bugs.webkit.org/show_bug.cgi?id=55784
744 Calculate the WebKit version for the useragent via autoversion.h
745 instead of reading it back from the DLL.
747 We now use a tool to stamp the version number onto the Apple WebKit DLLs
748 during the post-build step.
750 * WebKit.vcproj/WebKit.rc: Removed. This file wasn't used.
751 * WebKit.vcproj/WebKitLibCommon.vsprops: Fetch version from a string resource.
753 (WebView::standardUserAgentWithApplicationName): Use __BUILD_NUMBER_SHORT__ for the version.
756 2011-03-03 Anders Carlsson <andersca@apple.com>
758 Reviewed by Sam Weinig.
760 Get rid of Page::globalHistoryItem
761 https://bugs.webkit.org/show_bug.cgi?id=55738
763 * WebCoreSupport/WebFrameLoaderClient.cpp:
764 (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
765 Get the current history item and update it using WebView::setGlobalHistoryItem.
767 * WebCoreSupport/WebFrameLoaderClient.h:
769 (WebView::globalHistoryItem):
770 (WebView::setGlobalHistoryItem):
773 2011-03-03 Brent Fulgham <bfulgham@webkit.org>
775 Unreviewed build correction.
778 (scaleFactor): Update after 77286 to replace right/bottom
779 with new maxX/maxY terminology.
781 2011-03-03 Brady Eidson <beidson@apple.com>
783 Reviewed by Darin Adler.
785 https://bugs.webkit.org/show_bug.cgi?id=55721
786 Global IconDatabase should be returned by reference, not as a pointer
788 * WebCoreStatistics.cpp:
789 (WebCoreStatistics::iconPageURLMappingCount):
790 (WebCoreStatistics::iconRetainedPageURLCount):
791 (WebCoreStatistics::iconRecordCount):
792 (WebCoreStatistics::iconsWithDataCount):
793 * WebIconDatabase.cpp:
794 (WebIconDatabase::init):
795 (WebIconDatabase::startUpIconDatabase):
796 (WebIconDatabase::iconForURL):
797 (WebIconDatabase::retainIconForURL):
798 (WebIconDatabase::releaseIconForURL):
799 (WebIconDatabase::removeAllIcons):
800 (WebIconDatabase::iconURLForURL):
801 (WebIconDatabase::isEnabled):
802 (WebIconDatabase::setEnabled):
803 (WebIconDatabase::hasIconForURL):
804 (WebIconDatabase::getOrCreateDefaultIconBitmap):
808 2011-03-03 Alexey Proskuryakov <ap@apple.com>
810 Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
813 * WebCoreSupport/WebChromeClient.h:
815 2011-03-02 Alexey Proskuryakov <ap@apple.com>
817 Reviewed by Darin Adler.
819 REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
820 https://bugs.webkit.org/show_bug.cgi?id=55633
821 <rdar://problem/8963023>
823 * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::keyboardUIMode):
824 * WebCoreSupport/WebChromeClient.h:
825 Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
826 this platform doesn't observe or have full keyboard access state.
828 2011-03-03 Peter Kasting <pkasting@google.com>
830 Reviewed by James Robinson.
832 Drop redundant "Windows; " from the Windows-specific User Agent string.
833 https://bugs.webkit.org/show_bug.cgi?id=54567
836 (WebView::standardUserAgentWithApplicationName):
838 2011-03-01 Brian Weinstein <bweinstein@apple.com>
840 Reviewed by Adam Roben.
842 Part of WebKit2: Need a way to send notifications to client when cookies change
843 https://bugs.webkit.org/show_bug.cgi?id=55427
844 <rdar://problem/9056027>
846 Add stubs for CookiesStrategy on Windows WebKit1.
848 * WebCoreSupport/WebPlatformStrategies.cpp:
849 (WebPlatformStrategies::createCookiesStrategy):
850 (WebPlatformStrategies::notifyCookiesChanged):
851 * WebCoreSupport/WebPlatformStrategies.h:
853 2011-02-28 Chang Shu <cshu@webkit.org>
855 Reviewed by Ryosuke Niwa.
857 Remove the support of Frame::isContentEditable and its dependencies.
858 https://bugs.webkit.org/show_bug.cgi?id=54292
860 Remove the WebKit side implementation.
862 * WebCoreSupport/WebEditorClient.cpp:
863 * WebCoreSupport/WebEditorClient.h:
865 2011-02-28 Adam Roben <aroben@apple.com>
867 Build TestWebKitAPIInjectedBundle on Windows
869 Fixes <http://webkit.org/b/55420> run-api-tests doesn't run injected bundle tests on Windows
871 Reviewed by Darin Adler.
873 * WebKit.vcproj/WebKit.sln: Added TestWebKitAPIInjectedBundle. Let VS simplify the paths to
876 2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
878 Unreviewed, rolling out r78789.
879 http://trac.webkit.org/changeset/78789
880 https://bugs.webkit.org/show_bug.cgi?id=55409
882 Incorrect canvas fallback implementation (Requested by
883 inferno-sec on #webkit).
885 * AccessibleBase.cpp:
888 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
890 Reviewed by Pavel Feldman.
892 DumpRenderTree should reset frame opener between tests.
893 https://bugs.webkit.org/show_bug.cgi?id=54874
895 Added clearOpener method to IWebFramePrivate.
896 Touched WebKit.idl to trigger build scripts.
898 * Interfaces/IWebFramePrivate.idl:
899 * Interfaces/WebKit.idl:
901 (WebFrame::clearOpener):
904 2011-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
906 Unreviewed, rolling out r79764.
907 http://trac.webkit.org/changeset/79764
908 https://bugs.webkit.org/show_bug.cgi?id=55295
910 "broke Chromium builds" (Requested by rniwa on #webkit).
912 * Interfaces/IWebFramePrivate.idl:
913 * Interfaces/WebKit.idl:
917 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
919 Reviewed by Pavel Feldman.
921 DumpRenderTree should reset frame opener between tests.
922 https://bugs.webkit.org/show_bug.cgi?id=54874
924 Added clearOpener method to IWebFramePrivate.
925 Touched WebKit.idl to trigger build scripts.
927 * Interfaces/IWebFramePrivate.idl:
928 * Interfaces/WebKit.idl:
930 (WebFrame::clearOpener):
933 2011-02-24 Peter Kasting <pkasting@google.com>
935 Reviewed by Eric Seidel.
937 Drop the "U; " encryption level from the User Agent string.
938 https://bugs.webkit.org/show_bug.cgi?id=54566
941 (WebView::standardUserAgentWithApplicationName):
943 2011-02-24 Andrew Wilson <atwilson@chromium.org>
945 Unreviewed, rolling out r79570.
946 http://trac.webkit.org/changeset/79570
947 https://bugs.webkit.org/show_bug.cgi?id=54874
949 Breaks chromium build because glue/mocks/mock_web_frame.h/cc
952 * Interfaces/IWebFramePrivate.idl:
953 * Interfaces/WebKit.idl:
957 2011-02-24 Vsevolod Vlasov <vsevik@chromium.org>
959 Reviewed by Alexey Proskuryakov.
961 DumpRenderTree should reset frame opener between tests.
962 https://bugs.webkit.org/show_bug.cgi?id=54874
964 Added clearOpener method to IWebFramePrivate.
965 Touched WebKit.idl to trigger build scripts.
967 * Interfaces/IWebFramePrivate.idl:
968 * Interfaces/WebKit.idl:
970 (WebFrame::clearOpener):
973 2011-02-23 Patrick Gansterer <paroga@webkit.org>
975 Reviewed by Darin Adler.
977 Rename PLATFORM(CF) to USE(CF)
978 https://bugs.webkit.org/show_bug.cgi?id=53540
982 2011-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
984 Reviewed by Alexey Proskuryakov.
986 Drop the language tag part from the User Agent string
987 https://bugs.webkit.org/show_bug.cgi?id=54560
990 (WebView::standardUserAgentWithApplicationName):
992 2011-02-19 Charlie Reis <creis@chromium.org>
994 Reviewed by Mihai Parparita.
996 Ensure loading has stopped in HistoryController::goToItem
997 https://bugs.webkit.org/show_bug.cgi?id=54517
999 Add a FrameLoaderClient callback for whether to stop loading before goToItem.
1001 Test: http/tests/navigation/forward-to-fragment-fires-onload.html
1003 * WebCoreSupport/WebFrameLoaderClient.cpp:
1004 (WebFrameLoaderClient::shouldStopLoadingForHistoryItem): Added.
1005 * WebCoreSupport/WebFrameLoaderClient.h:
1007 2011-02-16 David Hyatt <hyatt@apple.com>
1009 Reviewed by Dan Bernstein.
1011 https://bugs.webkit.org/show_bug.cgi?id=54244
1013 Convert the line box tree to floating point and eliminate font rounding hacks. This patch removes all of the rounding
1014 hacks from the Font code and makes sure all Font APIs involving width measurement and width offsets use floats.
1016 The line box tree's x, y and logicalWidth members have all been converted to floats and all of the line box APIs have
1017 been changed as well.
1019 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).
1021 Background and border painting is using a rounding model, so borders and backgrounds will round to the nearest pixel when painting.
1023 Replaced elements still snap to integer positions on lines, and they use a rounding model as well, although their underlying line boxes
1024 still have a precise floating point position.
1026 Justification will now allow subpixel positioning to occur as well. Platforms that don't support subpixel positioning should already
1027 be rounding justification spacing in their font code.
1029 Many layout test results change on Mac, since rounding hacks were used there and are now gone.
1031 * WebKitGraphics.cpp:
1032 (CenterTruncateStringToWidth):
1033 (RightTruncateStringToWidth):
1035 2011-02-10 Luiz Agostini <luiz.agostini@openbossa.org>
1037 Reviewed by Adam Roben.
1039 HTML5 <details> and <summary>: localized text
1040 https://bugs.webkit.org/show_bug.cgi?id=54260
1042 The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
1043 provide the default label to be used by a <details> tag that has no <summary> child.
1045 * WebCoreSupport/WebPlatformStrategies.cpp:
1046 (WebPlatformStrategies::defaultDetailsSummaryText):
1047 * WebCoreSupport/WebPlatformStrategies.h:
1049 2011-02-16 Dominic Mazzoni <dmazzoni@google.com>
1051 Reviewed by Chris Fleizach.
1053 Add new role for canvas elements.
1055 https://bugs.webkit.org/show_bug.cgi?id=50126
1057 Test: accessibility/canvas-fallback-content.html
1059 * AccessibleBase.cpp:
1062 2011-02-15 Kenneth Russell <kbr@google.com>
1064 Unreviewed. Remove whitespace-only change from
1065 http://trac.webkit.org/changeset/78620 (https://bugs.webkit.org/show_bug.cgi?id=54312)
1066 now that the patch has passed the Windows build bots.
1068 * Interfaces/WebKit.idl:
1070 2011-02-15 Kenneth Russell <kbr@google.com>
1072 Reviewed by Darin Fisher.
1074 Allow controlling minimum DOMTimer interval on a per-page basis
1075 https://bugs.webkit.org/show_bug.cgi?id=54312
1077 Added needed methods to implement LayoutTestController's new
1078 setMinimumTimerInterval method. Includes whitespace-only change to
1079 WebKit.idl to trigger proper rebuild on bots; will be removed in
1082 * Interfaces/IWebViewPrivate.idl:
1083 * Interfaces/WebKit.idl:
1085 (WebView::initWithFrame):
1086 (WebView::defaultMinimumTimerInterval):
1087 (WebView::setMinimumTimerInterval):
1090 2011-01-26 MORITA Hajime <morrita@google.com>
1092 Reviewed by Ryosuke Niwa.
1094 Refactoring: Extract TextCheckerClient from EditorClient
1095 https://bugs.webkit.org/show_bug.cgi?id=53213
1097 * WebCoreSupport/WebEditorClient.h:
1098 (WebEditorClient::textChecker):
1100 2011-02-07 Ryosuke Niwa <rniwa@webkit.org>
1102 Reviewed by Adam Barth.
1104 Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
1105 https://bugs.webkit.org/show_bug.cgi?id=52417
1107 Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
1110 * WebCoreSupport/WebEditorClient.cpp:
1111 (WebEditorClient::canCopyCut): Added.
1112 (WebEditorClient::canPaste): Added.
1113 * WebCoreSupport/WebEditorClient.h:
1115 2011-02-14 Brian Weinstein <bweinstein@apple.com>
1117 Reviewed by Brady Eidson.
1119 Need WebKit API to determine whether we have a site icon for a given URL
1120 https://bugs.webkit.org/show_bug.cgi?id=54400
1122 This patch implements IWebIconDatabase::hasIconForURL which tells us whether or not
1123 we have a site icon for the given URL.
1125 * Interfaces/IWebIconDatabase.idl: Added new function.
1126 * Interfaces/WebKit.idl: Touched to make sure Interfaces rebuilds.
1127 * WebIconDatabase.cpp:
1128 (WebIconDatabase::hasIconForURL): Call IconDatabase::iconForPageURL to make sure we
1129 load the icon from disk, and call iconURLForPageURL to determine whether or not
1130 we actually have an icon.
1131 * WebIconDatabase.h:
1133 2011-02-11 Geoffrey Garen <ggaren@apple.com>
1135 Reviewed by Oliver Hunt.
1137 A little more encapsulation for the heap: Removed CollectorHeapIterator
1138 https://bugs.webkit.org/show_bug.cgi?id=54298
1140 * WebCoreStatistics.cpp:
1141 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1143 2011-02-09 Pavel Feldman <pfeldman@chromium.org>
1145 Reviewed by Yury Semikhatsky.
1147 Web Inspector: follow up on InspectorAgent split -
1148 removing unnecessary methods from InspectorController.
1149 https://bugs.webkit.org/show_bug.cgi?id=54093
1152 (WebInspector::showConsole):
1153 (WebInspector::toggleProfilingJavaScript):
1155 2011-02-08 Adam Barth <abarth@webkit.org>
1157 Reviewed by Eric Seidel.
1159 Remove orphan code from old parser
1160 https://bugs.webkit.org/show_bug.cgi?id=53984
1162 * WebCoreSupport/WebChromeClient.h:
1164 2011-02-08 David Hyatt <hyatt@apple.com>
1166 Reviewed by Adam Roben.
1168 <rdar://problem/8932077> REGRESSION (5.0.3-ToT): United boarding pass has wrong layout when printed
1170 Windows never got patched to pass in the page height to WebCore, so when WebCore's pagination got re-written to depend on this
1171 value, Windows got broken. Patch setPrinting to be identical to WebKit1 on OS X and to have it take an extra minimum page height
1175 (WebFrame::setPrinting):
1176 (WebFrame::setInPrintingMode):
1179 2011-02-02 Ilya Tikhonovsky <loislo@chromium.org>
1181 Reviewed by Yury Semikhatsky.
1183 Web Inspector: move InspectorController's methods from InspectorAgent to InspectorController.
1185 https://bugs.webkit.org/show_bug.cgi?id=53169
1187 Minor change enforced by major changes in WebCore/inspector/InspectorController.
1190 (WebInspector::isTimelineProfilingEnabled):
1192 2011-02-07 Enrica Casucci <enrica@apple.com>
1194 Reviewed Adam Roben and Darin Adler.
1196 WebKit2: drag and drop support on Windows.
1197 https://bugs.webkit.org/show_bug.cgi?id=52775
1199 Removed createDragImageForLink from DragClient.
1201 * WebCoreSupport/WebDragClient.cpp:
1202 (WebDragClient::startDrag):
1203 * WebCoreSupport/WebDragClient.h:
1205 2011-02-06 Ryosuke Niwa <rniwa@webkit.org>
1207 Reviewed by Darin Adler.
1209 OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h
1210 https://bugs.webkit.org/show_bug.cgi?id=52867
1213 (WebHistory::orderedLastVisitedDays): Calls adoptArrayPtr.
1214 * WebPreferences.cpp:
1215 (WebPreferences::copyWebKitPreferencesToCFPreferences): Ditto.
1217 2011-02-03 Yury Semikhatsky <yurys@chromium.org>
1219 Reviewed by Pavel Feldman.
1221 Web Inspector: remove settings related methods from InspectorClient
1222 https://bugs.webkit.org/show_bug.cgi?id=53686
1224 * WebCoreSupport/WebInspectorClient.cpp:
1225 (WebInspectorClient::openInspectorFrontend):
1226 (WebInspectorFrontendClient::WebInspectorFrontendClient):
1227 * WebCoreSupport/WebInspectorClient.h:
1229 2011-02-03 Adam Langley <agl@chromium.org>
1231 Reviewed by Adam Barth.
1233 Plumb mixed script URL to FrameLoaderClient
1234 https://bugs.webkit.org/show_bug.cgi?id=52384
1236 Regressions covered by http/tests/security/mixedContent/*
1238 * WebCoreSupport/WebFrameLoaderClient.cpp:
1239 (WebFrameLoaderClient::didRunInsecureContent):
1240 * WebCoreSupport/WebFrameLoaderClient.h:
1242 2011-02-02 David Hyatt <hyatt@apple.com>
1244 Reviewed by Darin Adler.
1246 Removal of right()/bottom(), converting to maxX()/maxY().
1248 * DOMHTMLClasses.cpp:
1249 (DOMHTMLInputElement::rectOnScreen):
1250 * WebCoreSupport/EmbeddedWidget.cpp:
1251 (EmbeddedWidget::frameRectsChanged):
1253 (WebFrame::computePageRects):
1255 (WebScrollBar::frameRect):
1257 (WebView::addToDirtyRegion):
1258 (WebView::visibleContentRect):
1259 (WebView::prepareCandidateWindow):
1261 2011-01-31 Brady Eidson <beidson@apple.com>
1263 Reviewed by Adam Roben.
1265 Fix the clean Windows build.
1267 * WebKitGraphics.cpp:
1270 2011-01-28 Jon Honeycutt <jhoneycutt@apple.com>
1272 Downloads in WK2 on Windows should write resume data to bundle
1273 https://bugs.webkit.org/show_bug.cgi?id=53282
1274 <rdar://problem/8753077>
1276 Reviewed by Alice Liu.
1279 (WebDownload::bundlePathForTargetPath):
1280 Use the new WebCore::DownloadBundle function.
1281 (WebDownload::request):
1284 Removed declarations for functions that were moved to a new location.
1286 * WebDownloadCFNet.cpp:
1287 (WebDownload::initToResumeWithBundle):
1288 Use the new WebCore::DownloadBundle function.
1289 (WebDownload::cancelForResume):
1290 Fix a leak of the resume data CFDataRef by using adoptCF(). Use the new
1291 WebCore::DownloadBundle function.
1293 2011-01-28 Dan Bernstein <mitz@apple.com>
1295 Reviewed by Sam Weinig.
1297 <select> can't display right-to-left (rtl) languages
1298 https://bugs.webkit.org/show_bug.cgi?id=19785
1300 * WebCoreSupport/WebChromeClient.cpp:
1301 (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection): Added.
1302 * WebCoreSupport/WebChromeClient.h:
1304 2011-01-27 Nate Chapin <japhet@chromium.org>
1306 Reviewed by Adam Barth.
1308 Use Document::url() instead of FrameLoader::url().
1309 https://bugs.webkit.org/show_bug.cgi?id=41165
1314 2011-01-27 Sam Weinig <sam@webkit.org>
1316 Reviewed by Adam Roben.
1318 Fix scrollbars in Safari's Downloads window and Bookmarks view by
1319 implementing two needed functions from ScrollableArea.
1322 (WebScrollBar::horizontalScrollbar): Return the WebCore::Scrollbar if
1323 we are a horizontal scrollbar.
1324 (WebScrollBar::verticalScrollbar): Return the WebCore::Scrollbar if we
1325 are a vertical scrollbar.
1328 2011-01-27 Adam Roben <aroben@apple.com>
1330 Trim down #includes in WebView.h
1332 Rubber-stamped by Steve Falkenburg.
1334 * WebView.cpp: Moved some #includes here from the header file.
1336 * WebView.h: Replaced some broader #includes with more specific ones, plus a
1337 forward-declaration.
1339 2011-01-25 Steve Falkenburg <sfalken@apple.com>
1341 Windows production build fix.
1342 Build correct configuration of Interfaces for Debug_All.
1344 * WebKit.vcproj/WebKit.submit.sln:
1346 2011-01-25 Steve Falkenburg <sfalken@apple.com>
1348 Rubber-stamped by Adam Roben.
1350 Windows production build fix.
1351 Use correct environment variable escaping
1353 * WebKit.vcproj/WebKit.make:
1355 2011-01-24 Chris Marrin <cmarrin@apple.com>
1357 Reviewed by Eric Seidel.
1359 Change ENABLE_3D_CANVAS to ENABLE_WEBGL
1360 https://bugs.webkit.org/show_bug.cgi?id=53041
1363 (WebView::notifyPreferencesChanged):
1365 2011-01-25 Yury Semikhatsky <yurys@chromium.org>
1367 Reviewed by Pavel Feldman.
1369 Web Inspector: remove "attached" state related methods from InspectorAgent
1370 https://bugs.webkit.org/show_bug.cgi?id=53086
1372 * WebCoreSupport/WebInspectorClient.cpp:
1373 (WebInspectorFrontendClient::attachWindow):
1374 (WebInspectorFrontendClient::detachWindow):
1375 (WebInspectorFrontendClient::showWindowWithoutNotifications):
1376 * WebCoreSupport/WebInspectorClient.h:
1378 2011-01-24 Adam Roben <aroben@apple.com>
1380 Windows Production build fix
1382 * WebKit.vcproj/WebKit.make: Update for move of WebKit into Source.
1384 2011-01-21 Nikolas Zimmermann <nzimmermann@rim.com>
1386 Reviewed by Dirk Schulze.
1388 Introduce FontMetrics abstraction
1389 https://bugs.webkit.org/show_bug.cgi?id=51456
1391 * FullscreenVideoController.cpp: Use FontMetrics instead of Font to access the metrics.
1392 (FullscreenVideoController::draw):
1393 * WebCoreSupport/WebDragClient.cpp: Ditto.
1394 (WebDragClient::createDragImageForLink):
1395 * WebKitGraphics.cpp: Ditto.
1398 2011-01-21 Chris Rogers <crogers@google.com>
1400 Reviewed by Darin Fisher.
1402 Add run-time enable support for the web audio API
1403 https://bugs.webkit.org/show_bug.cgi?id=52741
1405 * WebPreferenceKeysPrivate.h:
1407 (WebView::notifyPreferencesChanged):
1409 2011-01-21 Sam Weinig <sam@webkit.org>
1415 2011-01-21 Sam Weinig <sam@webkit.org>
1417 Reviewed by Anders Carlsson.
1419 Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship"
1420 https://bugs.webkit.org/show_bug.cgi?id=52779
1422 Rename ScrollbarClient -> ScrollableArea.
1425 (WebScrollBar::scroll):
1428 2011-01-20 Adam Roben <aroben@apple.com>
1430 Update for CACFLayerTreeHost changes
1432 Fixes <http://webkit.org/b/52852> Flushing layer changes and rendering are intertwined in
1433 CACFLayerTreeHost, but shouldn't be
1435 Reviewed by Simon Fraser.
1438 (WebView::paint): Changed to flush layer changes via CACFLayerTreeHost, which will call back
1439 to our own flushing function if needed.
1441 * WebView.h: Removed shouldRender, which is no longer used or needed.
1443 2011-01-21 Adam Roben <aroben@apple.com>
1445 Update for WKCACFLayerRenderer -> CACFLayerTreeHost rename
1447 Also renamed WebView::m_layerRenderer to WebView::m_layerTreeHost to match.
1449 Fixes <http://webkit.org/b/52898> WKCACFLayerRenderer sounds like a render object, but isn't
1451 Reviewed by Simon Fraser.
1453 * WebPreferences.cpp:
1455 (WebView::setAcceleratedCompositing): Also made sure to remove our HWND from the layer tree
1456 host before we get rid of the layer tree host itself.
1459 2011-01-21 Adam Roben <aroben@apple.com>
1461 Replace some "sync compositing state" terminology with "flush pending GraphicsLayer changes"
1463 This seems to be the direction in which our code is moving. I chose "GraphicsLayer" as
1464 opposed to just "layer" because there are cases where we flush changes to CACFLayers that
1465 don't have a corresponding GraphicsLayer.
1467 Fixes <http://webkit.org/b/52894> "Sync compositing state" terminology in
1468 WKCACFLayerRenderer and friends is confusing
1470 Reviewed by Simon Fraser.
1472 * WebCoreSupport/WebChromeClient.cpp:
1473 (WebChromeClient::scheduleCompositingLayerSync): Updated for WebView changes.
1476 (WebView::paint): Updated for rename.
1477 (WebView::flushPendingGraphicsLayerChangesSoon): Renamed from scheduleCompositingLayerSync.
1478 (WebView::notifySyncRequired): Updated for rename.
1479 (WebView::flushPendingGraphicsLayerChanges): Renamed from syncCompositingState.
1481 * WebView.h: Did the renames.
1483 2011-01-20 Sam Weinig <sam@webkit.org>
1485 Reviewed by Dave Hyatt.
1487 Cleanup Scrollbar/ScrollbarClient relationship
1488 https://bugs.webkit.org/show_bug.cgi?id=52779
1491 (WebScrollBar::WebScrollBar):
1492 (WebScrollBar::setValue):
1493 (WebScrollBar::value):
1494 (WebScrollBar::scroll):
1495 (WebScrollBar::scrollPosition):
1496 (WebScrollBar::setScrollOffset):
1499 2011-01-19 Adam Roben <aroben@apple.com>
1501 Update for WKCACFLayerRenderer changes
1503 Fixes <http://webkit.org/b/52749> WKCACFLayerRenderer should be
1506 Reviewed by Simon Fraser.
1509 (WebView::~WebView): Added some assertions to make sure we've gotten rid of our
1510 compositing-related members. My biggest concern was making sure that m_layerRenderer was
1511 gone, which would also mean we had nulled out its client pointer.
1512 (WebView::setAcceleratedCompositing): Changed to call WKCACFLayerRenderer::setClient instead
1513 of passing the client into create(), and to clear out the client before nulling out
1516 * WebView.h: Changed m_layerRenderer from an OwnPtr to a RefPtr.
1518 2011-01-19 Adam Roben <aroben@apple.com>
1520 Teach WebView::scrollBackingStore about compositing mode
1523 compositing/scroll-painted-composited-content.html
1525 Fixes <http://webkit.org/b/52720> REGRESSION (r75987): Assertion failure in
1526 WebView::scrollBackingStore when scrolling page with composited content
1528 Reviewed by Anders Carlsson.
1531 (WebView::scrollBackingStore): Do something sensible (though naive) when in compositing
1532 mode, rather than incorrectly asserting that this function is never called in that case. For
1533 now we just repaint the entire scrolled region; someday hopefully we can avoid having to
1534 repaint the areas that have just been moved.
1536 2011-01-19 Simon Fraser <simon.fraser@apple.com>
1538 Reviewed by Sam Weinig.
1540 GraphicsLayers in subframes can get sync'd multiple times
1541 https://bugs.webkit.org/show_bug.cgi?id=52489
1544 (WebView::syncCompositingState): syncCompositingStateRecursive()
1545 was renamed to syncCompositingStateIncludingSubframes().
1547 2011-01-17 Adam Roben <aroben@apple.com>
1549 Update for WKCACFLayerRenderer changes
1551 Fixes <http://webkit.org/b/52587> WKCACFLayerRenderer is hard to use
1553 Reviewed by Chris Marrin.
1556 (WebView::WebViewWndProc): Removed call to layerRendererBecameVisible
1557 when handling WM_SHOWWINDOW. All this did was try to create the
1558 renderer, but it had already been created in setAcceleratedCompositing,
1560 (WebView::setAcceleratedCompositing): Removed call to createRenderer;
1561 setHostWindow does this for us now.
1563 * WebView.h: Removed animationsStarted and layerRendererBecameVisible.
1565 2011-01-17 Adam Roben <aroben@apple.com>
1567 Paint directly into a GraphicsLayer when using accelerated compositing
1569 Before this patch, we were painting into our normal backing store
1570 HBITMAP, wrapping it in a CGImage, and handing it off to Core
1571 Animation. This had at least two disadvantages:
1572 1) The bitmap could be modified while Core Animation was using it.
1573 2) It introduced extra complexity.
1575 When entering accelerated compositing mode, WebView now creates a
1576 GraphicsLayer to draw into. This GraphicsLayer sits between the root
1577 layer (owned by WKCACFLayerRenderer) and the RenderView's layer. When
1578 WebView invalidates, it just calls setNeedsDisplayInRect on its
1579 GraphicsLayer. When WebView paints, it just tells its
1580 WKCACFLayerRenderer to paint, which will call back to WebView to draw
1581 into the GraphicsLayer if it has a dirty region. This is very similar
1582 to the current implementation of LayerBackedDrawingArea in WebKit2.
1584 Fixes <http://webkit.org/b/52582> WebView should paint directly into a
1585 GraphicsLayer when in accelerated compositing mode
1587 Reviewed by Simon Fraser and Chris Marrin.
1589 * WebCoreSupport/WebChromeClient.cpp:
1590 (WebChromeClient::attachRootGraphicsLayer):
1591 (WebChromeClient::scheduleCompositingLayerSync):
1592 Updated for WebView changes.
1595 (WebView::repaint): When using accelerated compositing, just invalidate
1596 our backing layer. This matches the behavior of LayerBackedDrawingArea.
1597 (WebView::deleteBackingStore): Removed accelerated compositing code.
1598 The WKCACFLayerRenderer doesn't need to know about our backing store
1599 anymore; we don't use it at all when in accelerated compositing mode.
1600 (WebView::addToDirtyRegion): When using accelerated compositing, just
1601 invalidate our backing layer.
1602 (WebView::scrollBackingStore): Added an assertion that this isn't
1603 called in accelerated compositing mode.
1604 (WebView::sizeChanged): Update our backing layer's size, too, and
1606 (WebView::updateBackingStore): Added an assertion that this isn't
1607 called in accelerated compositing mode.
1608 (WebView::paint): If we're in accelerated compositing mode, sync our
1609 compositing state. If we're *still* in accelerated compositing mode,
1610 just tell our WKCACFLayerRenderer to paint and clear our dirty region.
1611 (The later changes in this function are just un-indenting code that
1612 used to be inside an if.)
1614 (WebView::paintIntoBackingStore):
1615 (WebView::paintIntoWindow):
1616 Added assertions that these aren't called in accelerated compositing
1619 (WebView::WebViewWndProc): Updated WM_XP_THEMECHANGED handling for
1620 removal of setRootLayerNeedsDisplay.
1621 (WebView::setRootChildLayer): Changed to take a GraphicsLayer. We now
1622 set the layer as a child of our own backing layer.
1623 (WebView::scheduleCompositingLayerSync): Just call through to
1624 WKCACFLayerRenderer.
1625 (WebView::setAcceleratedCompositing): Create our backing layer and set
1626 it as the child of WKCACFLayerRenderer's root layer.
1627 (WebView::notifyAnimationStarted): Added. We never expect this
1628 GraphicsLayerClient override to be called, as we don't use animations
1629 on our backing layer.
1630 (WebView::notifySyncRequired): Added. Just schedule a sync.
1631 (WebView::paintContents): Added. Just clip and paint!
1633 (WebView::showDebugBorders):
1634 (WebView::showRepaintCounter):
1635 Added. These just call through to Settings.
1637 (WebView::syncCompositingState): Changed to first update layout, then
1638 sync state for our backing layer, then sync WebCore's state. This
1639 matches LayerBackedDrawingArea.
1641 * WebView.h: WebView now implements the GraphicsLayerClient interface.
1642 Removed setRootLayerNeedsDisplay; it's been replaced by calling
1643 setNeedsDisplay on our backing layer and calling
1644 syncCompositingStateSoon on WKCACFLayerRenderer as needed. Removed
1645 updateRootLayerContents; that function was used to pass our backing
1646 store to Core Animation, which we no longer do. Added m_backingLayer.
1648 2011-01-17 Tony Gentilcore <tonyg@chromium.org>
1650 Reviewed by Alexey Proskuryakov.
1652 Fix some headers with missing or misspelled #ifndef guards
1653 https://bugs.webkit.org/show_bug.cgi?id=52545
1655 * WebKitStatistics.h:
1657 2011-01-17 Pavel Feldman <pfeldman@chromium.org>
1659 Reviewed by Yury Semikhatsky.
1661 Web Inspector: simplify debugger enabling routine.
1662 https://bugs.webkit.org/show_bug.cgi?id=52472
1665 (WebInspector::toggleDebuggingJavaScript):
1667 2011-01-16 Adam Barth <abarth@webkit.org>
1669 Rubber-stamped by Eric Seidel.
1671 Move WebKit into Source
1672 https://bugs.webkit.org/show_bug.cgi?id=52530
1674 * WebKit.vcproj/Interfaces.vcproj:
1675 * WebKit.vcproj/WebKit.sln:
1676 * WebKit.vcproj/WebKit.vcproj:
1677 * WebKit.vcproj/WebKitGUID.vcproj:
1679 2011-01-15 Adam Barth <abarth@webkit.org>
1681 Rubber-stamped by Eric Seidel.
1683 Move WebKit2 into Source
1684 https://bugs.webkit.org/show_bug.cgi?id=52438
1686 Update reference to WebKit2.
1688 * WebKit.vcproj/WebKit.sln:
1690 2011-01-14 Yuzo Fujishima <yuzo@google.com>
1692 Reviewed by Antti Koivisto.
1694 Rename cache() to memoryCache()
1695 https://bugs.webkit.org/show_bug.cgi?id=52433
1698 (WebCache::statistics):
1700 (WebCache::setDisabled):
1701 (WebCache::disabled):
1703 (WebView::setCacheModel):
1705 2011-01-10 Geoffrey Garen <ggaren@apple.com>
1707 Try to fix Windows build.
1709 * WebJavaScriptCollector.cpp: Updated for rename to Heap.*. (Didn't catch
1710 this one before because it was miscapitalized.)
1712 2011-01-09 Xianzhu Wang <phnixwxz@gmail.com>
1714 Reviewed by Darin Fisher.
1716 https://bugs.webkit.org/show_bug.cgi?id=41441
1717 createWindow method should only do window-creating without URL navigation
1719 * WebCoreSupport/WebChromeClient.cpp:
1720 (WebChromeClient::createWindow):
1722 2011-01-07 Adam Barth <abarth@webkit.org>
1724 Rubber-stamped by Eric Seidel.
1726 Move WebCore to Source
1727 https://bugs.webkit.org/show_bug.cgi?id=52050
1729 * WebKit.vcproj/WebKit.sln:
1731 2011-01-06 Gavin Barraclough <barraclough@apple.com>
1733 Reviewed by Geoff Garen.
1735 Bug 52035 - Unregistering DOMWrapperWorlds is unsafe
1737 The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's
1738 destructor early, in order to release wrappers once we know we no longer intend to use them.
1739 Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to
1740 lose any state stored on them) it is not okay to deregister the world from the JSGlobalData.
1741 A sequence of events that triggers the bug would look like this:
1743 (1) Create a DOMWrapperWorld.
1744 (2) Register a timer in the world.
1745 (3) Call unregisterWorld() on the world.
1746 (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document.
1747 (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've
1748 called forgetWorld() none exists.
1749 (6) Attempt to add a wrapper to a NULL map.
1751 Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away.
1753 * WebScriptWorld.cpp:
1754 (WebScriptWorld::unregisterWorld):
1756 2011-01-07 Chris Marrin <cmarrin@apple.com>
1758 Rubber-stamped by Simon Fraser.
1760 Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
1761 https://bugs.webkit.org/show_bug.cgi?id=49388
1763 Change client API for the fullscreen video controller. It now uses a
1764 PlatformCALayerClient so it can use a PlaformCALayer directly. Also
1765 updated how to connect the layer tree to the view to reflect the updated
1766 hardware compositing logic.
1768 * FullscreenVideoController.cpp:
1769 (FullscreenVideoController::LayerClient::LayerClient):
1770 (FullscreenVideoController::LayerClient::platformCALayerRespondsToLayoutChanges):
1771 (FullscreenVideoController::LayerClient::platformCALayerAnimationStarted):
1772 (FullscreenVideoController::LayerClient::platformCALayerContentsOrientation):
1773 (FullscreenVideoController::LayerClient::platformCALayerPaintContents):
1774 (FullscreenVideoController::LayerClient::platformCALayerShowDebugBorders):
1775 (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter):
1776 (FullscreenVideoController::LayerClient::platformCALayerIncrementRepaintCount):
1777 (FullscreenVideoController::LayerClient::platformCALayerContentsOpaque):
1778 (FullscreenVideoController::LayerClient::platformCALayerDrawsContent):
1779 (FullscreenVideoController::LayerClient::platformCALayerLayerDidDisplay):
1780 (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
1781 (FullscreenVideoController::FullscreenVideoController):
1782 (FullscreenVideoController::~FullscreenVideoController):
1783 (FullscreenVideoController::enterFullscreen):
1784 * FullscreenVideoController.h:
1785 * WebCoreSupport/WebChromeClient.cpp:
1786 (WebChromeClient::attachRootGraphicsLayer):
1787 (WebChromeClient::scheduleCompositingLayerSync):
1789 (WebView::setRootChildLayer):
1790 (WebView::animationsStarted):
1791 (WebView::syncCompositingState):
1793 (WebView::setRootLayerNeedsDisplay):
1795 2011-01-05 Steve Falkenburg <sfalken@apple.com>
1797 Reviewed by Darin Adler.
1799 Debug and Release builds on Windows clobber each other
1800 https://bugs.webkit.org/show_bug.cgi?id=49185
1802 Changes the structure of WebKitBuild build products directory so we
1803 completely separate each build configuration into independent directories.
1805 Although we previously had per-configuration directories for obj, this change adds
1806 per-configuration directories for bin, lib, obj, and include. Each configuration's
1807 build products are stored within a directory inside of WebKitBuild.
1809 Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
1810 defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
1812 * WebKit.vcproj/InterfacesCommon.vsprops:
1813 * WebKit.vcproj/InterfacesPostBuild.cmd:
1814 * WebKit.vcproj/InterfacesPreBuild.cmd:
1815 * WebKit.vcproj/WebKit.make:
1816 * WebKit.vcproj/WebKitGUID.vcproj:
1817 * WebKit.vcproj/WebKitGUIDCommon.vsprops:
1818 * WebKit.vcproj/WebKitGUIDPostBuild.cmd:
1819 * WebKit.vcproj/WebKitGUIDPreBuild.cmd:
1820 * WebKit.vcproj/WebKitLibCommon.vsprops:
1821 * WebKit.vcproj/WebKitLibPostBuild.cmd:
1822 * WebKit.vcproj/WebKitLibPreBuild.cmd:
1824 2011-01-04 Chris Fleizach <cfleizach@apple.com>
1826 Reviewed by Sam Weinig.
1828 WK2: Support Accessibility
1829 https://bugs.webkit.org/show_bug.cgi?id=51859
1831 Use rootObject() method to get the top of the AX tree.
1833 * AccessibleDocument.cpp:
1834 (AccessibleDocument::AccessibleDocument):
1836 2011-01-01 Adam Barth <abarth@webkit.org>
1838 Reviewed by Eric Seidel.
1840 Move JavaScriptCore to Source
1841 https://bugs.webkit.org/show_bug.cgi?id=51604
1843 * WebKit.vcproj/WebKit.sln:
1844 - Point to JavaScriptCore in its new location.
1846 2010-12-22 Sam Weinig <sam@webkit.org>
1848 Reviewed by Darin Adler.
1850 WebKit2 needs to mirror the frame tree in the UIProcess
1851 https://bugs.webkit.org/show_bug.cgi?id=51546
1853 - Add client functions to notify that a frame has been added or
1854 removed from the page cache.
1856 * WebCoreSupport/WebFrameLoaderClient.cpp:
1857 (WebFrameLoaderClient::didSaveToPageCache):
1858 (WebFrameLoaderClient::didRestoreFromPageCache):
1859 * WebCoreSupport/WebFrameLoaderClient.h:
1861 2010-12-22 Dan Bernstein <mitz@apple.com>
1863 Changed WebKitTools to Tools.
1865 * WebKit.vcproj/WebKit.sln:
1867 2010-12-14 Adam Roben <aroben@apple.com>
1869 Always record the last-set cursor, even when the UI delegate is
1870 setting the cursor for us
1872 Prior to r63339, the last-set cursor was recorded in Widget::setCursor.
1873 r63339 moved that code up to WebChromeClient, but failed to call it
1874 when the UI delegate was the one setting the cursor.
1876 Fixes <http://webkit.org/b/45692> <rdar://problem/8423464> REGRESSION
1877 (r63339): Mouse cursor disappears when holding mouse button down on
1880 Reviewed by Ada Chan.
1882 * WebCoreSupport/WebChromeClient.cpp:
1883 (WebChromeClient::setCursor): After the cursor is set, regardless of
1884 whether the UI delegate sets it or we set it, record the cursor that
1885 was just set. That way we'll be able to use the cursor later when
1886 responding to the WM_SETCURSOR message.
1888 2010-12-13 Alexey Proskuryakov <ap@apple.com>
1890 Reviewed by Adam Barth.
1892 https://bugs.webkit.org/show_bug.cgi?id=50953
1893 DNS Prefetch should be an opt-in feature
1895 * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default to NO.
1897 2010-10-28 MORITA Hajime <morrita@google.com>
1899 Reviewed by Ojan Vafai.
1901 spellcheck does not check pasted text
1902 https://bugs.webkit.org/show_bug.cgi?id=40092
1904 Added a stub implememntation.
1906 * WebCoreSupport/WebEditorClient.h:
1907 (WebEditorClient::requestCheckingOfString):
1909 2010-12-10 Chris Fleizach <cfleizach@apple.com>
1911 Reviewed by Darin Adler.
1913 AX: refactor AccessibilityRenderObject::doAccessibilityHitTest
1914 https://bugs.webkit.org/show_bug.cgi?id=50574
1916 * AccessibleBase.cpp:
1917 (AccessibleBase::accHitTest):
1919 2010-12-09 Brian Weinstein <bweinstein@apple.com>
1921 Reviewed by Adam Roben.
1923 Prep for WebKit2: Context menu support on Windows
1924 https://bugs.webkit.org/show_bug.cgi?id=50514
1926 Update WebKit for the new CROSS_PLATFORM_CONTEXT_MENUS flag, and define customizeMenu
1927 instead of getCustomMenuFromDefaultItems.
1929 * WebCoreSupport/WebContextMenuClient.cpp:
1930 (WebContextMenuClient::customizeMenu): getCustomMenuFromDefaultItems was turned into
1931 this function, with refactoring using nativeMenu instead of platformDescription.
1932 (WebContextMenuClient::contextMenuItemSelected): Use nativeMenu instead of platformDescription.
1933 * WebCoreSupport/WebContextMenuClient.h:
1935 (WebView::handleContextMenuEvent): Call nativeMenu instead of platformDescription.
1936 (WebView::performContextMenuAction): Only call itemAtIndex with one argument, no need
1939 2010-12-07 Brian Weinstein <bweinstein@apple.com>
1941 Reviewed by John Sullivan.
1943 Layering Violation in ContextMenu - member variable of type HitTestResult
1944 https://bugs.webkit.org/show_bug.cgi?id=50586
1946 Update users of ContextMenu and ContextMenuController to match where the new functions
1949 * WebCoreSupport/WebContextMenuClient.cpp:
1950 (WebContextMenuClient::getCustomMenuFromDefaultItems): Get the HitTestResult and ContextMenu from the
1951 ContextMenuController (from the page).
1952 (WebContextMenuClient::contextMenuItemSelected): Get the HitTestResult from the ContextMenuController.
1954 (WebView::handleContextMenuEvent): Ditto.
1956 2010-12-07 Jessie Berlin <jberlin@apple.com>
1958 Build fix. Unreviewed.
1960 * WebCoreSupport/WebContextMenuClient.cpp:
1961 (WebContextMenuClient::searchWithGoogle):
1962 FrameLoader::urlSelected does not take a SecurityOrigin as a parameter.
1964 2010-12-06 Darin Adler <darin@apple.com>
1966 Reviewed by Sam Weinig.
1968 Pass security origin to make local file decision correctly
1969 https://bugs.webkit.org/show_bug.cgi?id=48603
1971 * WebCoreSupport/WebContextMenuClient.cpp:
1972 (WebContextMenuClient::searchWithGoogle): Pass security origin.
1974 2010-12-07 Kenichi Ishibashi <bashi@google.com>
1976 Reviewed by Kent Tamura.
1978 Let HTMLObjectElement be a form associated element
1979 https://bugs.webkit.org/show_bug.cgi?id=48821
1981 Modified to use FormAssociatedElement instead of HTMLFormControlElement.
1984 (WebFrame::elementWithName): Modified to use FormAssociatedElement
1985 instead of HTMLFormControlElement.
1986 (WebFrame::controlsInForm): Ditto.
1988 2010-12-05 Adam Roben <aroben@apple.com>
1990 Windows production build fix
1992 Put spaces after trailing backslashes when setting
1993 %WebKitVSPropsRedirectionDir%. According to MSDN
1994 <http://msdn.microsoft.com/en-us/library/2kzfk8c7(v=VS.80).aspx>:
1996 A backslash ( \ ) followed by a newline character is interpreted as
1997 a space in the command; use a backslash at the end of a line to
1998 continue a command onto the next line. NMAKE interprets the
1999 backslash literally if any other character, including a space or
2000 tab, follows the backslash.
2002 * WebKit.vcproj/WebKit.make:
2004 2010-12-03 Sam Weinig <sam@webkit.org>
2006 Reviewed by Maciej Stachowiak.
2008 Enable <a ping> for Mac/Windows/WebKit2 builds
2009 <rdar://problem/8504473>
2010 https://bugs.webkit.org/show_bug.cgi?id=50488
2012 * WebPreferences.cpp:
2013 (WebPreferences::initializeDefaultSettings): Enable "HyperlinkAuditing" by default.
2015 2010-12-03 Brian Weinstein <bweinstein@apple.com>
2017 Reviewed by Brady Eidson.
2019 WebContextMenuClient::fixMenuReceivedFromOldSafari is no longer needed on Windows
2020 https://bugs.webkit.org/show_bug.cgi?id=50486
2022 Remove the static fixMenuReceivedFromOldSafari and isPreInspectElementTagSafari methods
2023 from WebContextMenuClient. There were there for when WebKit had the Inspect Element context menu
2024 item, but Safari didn't support it. We don't support that old Safari, so that code can go.
2026 * WebCoreSupport/WebContextMenuClient.cpp:
2027 (WebContextMenuClient::getCustomMenuFromDefaultItems):
2029 2010-12-02 John Knottenbelt <jknotten@chromium.org>
2031 Reviewed by Steve Block.
2033 Move requestGeolocationPermissionForFrame to GeolocationClient
2034 https://bugs.webkit.org/show_bug.cgi?id=50061
2036 This change facilitates client-based geolocation implementation by
2037 bringing together permission control into the geolocation client
2040 Move method ChromeClient::requestGeolocationPermissionForFrame to
2041 GeolocationClient::requestPermission. The moved code is unchanged
2042 except that requestPermission now takes only one argument (Geolocation*),
2043 the Frame parameter is retrieved from the Geolocation object and we need to
2044 call m_webView.get() as it is a COMPtr in GeolocationClient.
2046 * WebCoreSupport/WebChromeClient.cpp:
2047 * WebCoreSupport/WebChromeClient.h:
2048 * WebCoreSupport/WebGeolocationClient.cpp:
2049 (WebGeolocationClient::requestPermission):
2050 * WebCoreSupport/WebGeolocationClient.h:
2051 (WebGeolocationClient::cancelPermissionRequest):
2053 2010-12-01 Jia Pu <jpu@apple.com>
2055 Reviewed by Darin Adler.
2057 Support multiple correction candidates panel for misspelled word on Mac OS X.
2058 https://bugs.webkit.org/show_bug.cgi?id=50137
2059 <rdar://problem/8568059>
2061 Adopted new function signature defined in base class.
2063 * WebCoreSupport/WebEditorClient.cpp:
2064 (WebEditorClient::getGuessesForWord):
2065 * WebCoreSupport/WebEditorClient.h:
2067 2010-12-01 Steve Falkenburg <sfalken@apple.com>
2069 Reviewed by Adam Roben.
2071 WinCairo build should not use link-time code generation (LTCG)
2072 https://bugs.webkit.org/show_bug.cgi?id=50353
2074 * WebKit.vcproj/Interfaces.vcproj:
2075 * WebKit.vcproj/WebKit.vcproj:
2076 * WebKit.vcproj/WebKitGUID.vcproj:
2078 2010-12-01 Steve Falkenburg <sfalken@apple.com>
2080 Reviewed by Adam Roben.
2082 vcproj changes can't be applied cleanly by the Windows EWS bot
2083 https://bugs.webkit.org/show_bug.cgi?id=50328
2085 * WebKit.vcproj/Interfaces.vcproj: Modified property svn:eol-style.
2086 * WebKit.vcproj/InterfacesCommon.vsprops: Added property svn:eol-style.
2087 * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
2088 * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
2089 * WebKit.vcproj/WebKit.vcproj: Modified property svn:eol-style.
2090 * WebKit.vcproj/WebKitGUID.vcproj: Modified property svn:eol-style.
2091 * WebKit.vcproj/WebKitGUIDCommon.vsprops: Added property svn:eol-style.
2092 * WebKit.vcproj/WebKitLibCommon.vsprops: Added property svn:eol-style.
2094 2010-11-30 Steve Falkenburg <sfalken@apple.com>
2096 Reviewed by Adam Roben.
2098 All projects on Windows should use cmd files for build events
2099 https://bugs.webkit.org/show_bug.cgi?id=50213
2101 * WebKit.vcproj/InterfacesCommon.vsprops:
2102 * WebKit.vcproj/InterfacesPostBuild.cmd: Added.
2103 * WebKit.vcproj/InterfacesPreBuild.cmd: Added.
2104 * WebKit.vcproj/WebKitGUIDCommon.vsprops:
2105 * WebKit.vcproj/WebKitGUIDPostBuild.cmd: Added.
2106 * WebKit.vcproj/WebKitGUIDPreBuild.cmd: Added.
2107 * WebKit.vcproj/WebKitLibCommon.vsprops:
2108 * WebKit.vcproj/WebKitLibPostBuild.cmd: Added.
2109 * WebKit.vcproj/WebKitLibPreBuild.cmd: Added.
2111 2010-11-29 Brent Fulgham <bfulgham@webkit.org>
2113 Unreviewed build correction.
2115 * WebKit.vcproj/WebKit.vcproj: Update WebKit project to
2116 use WinCairo.vsprops definition for appropriate build targets.
2118 2010-11-22 Adam Roben <aroben@apple.com>
2120 Use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops files
2122 Apple's Windows build allows placing header files and import libraries for WebKit's
2123 dependencies (CoreGraphics, CFNetwork, SQLite, etc.) outside the source tree via the
2124 $WebKitLibrariesDir environment variable. This is both required for production builds and
2125 convenient for Apple-internal developer builds. Apple's production builds also require that
2126 WebKit's shared .vsprops files be accessed relative to $WebKitLibrariesDir. In production
2127 builds, the files are copied into that directory tree by the
2128 WebKitLibraries/win/tools/WinTools.make file. In Apple-internal developer builds, the
2130 JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make.
2132 This .vsprops copying is problematic in one very important case: when a developer updates
2133 their source tree and then tries to build. Visual Studio only reads .vsprops files when a
2134 project is first loaded. So, when Visual Studio is first opened after the .vsprops files are
2135 updated, it reads in the old files that were already residing in $WebKitLibrariesDir. When a
2136 build is started, JavaScriptCoreGenerated.make copies the new .vsprops files into
2137 $WebKitLibrariesDir, but Visual Studio will not pick up the changes. The rest of the build
2138 will proceed with out-of-date .vsprops files, which will likely result in a build failure.
2140 To fix this, we now use normal relative paths to access the .vsprops files in the source
2141 tree rather than in $WebKitLibrariesDir, but prefix those paths with a new environment
2142 variable, $WebKitVSPropsRedirectionDir. In developer builds, this environment variable is
2143 unset, so the normal relative paths are used to read the .vsprops files out of the source
2144 tree directly. In production builds, this environment variable is set to a fake directory
2145 that will cause the .vsprops files in $WebKitLibrariesDir to be found when the relative path
2148 For example, JavaScriptCore.vcproj uses this path for FeatureDefines.vsprops:
2150 $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
2152 In developer builds, where $WebKitVSPropsRedirectionDir is unset, this will point to the
2153 files in WebKitLibraries\win\tools\vsprops in the source tree. In production builds,
2154 JavaScriptCore.make sets $WebKitVSPropsRedirectionDir to
2155 "$(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\", so the full path for
2156 FeatureDefines.vsprops becomes:
2158 $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
2162 $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
2164 (We rely on the fact that Windows doesn't care whether the directories "1", "2", and "3"
2165 actually exist since they are matched by an equal number of ".." path components.)
2167 Note that Visual Studio still won't pick up changes made to .vsprops files while Visual
2168 Studio is open, but that problem hasn't seemed to cause developers many headaches so far.
2170 Fixes <http://webkit.org/b/49181> Windows build fails mysteriously when .vsprops files are
2173 Reviewed by Dave Hyatt.
2175 * WebKit.vcproj/WebKit.make: Set $WebKitVSPropsRedirectionDir so that production builds can
2176 find the .vsprops files.
2178 * WebKit.vcproj/WebKit.vcproj:
2179 * WebKit.vcproj/Interfaces.vcproj:
2180 * WebKit.vcproj/WebKitGUID.vcproj:
2181 Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops
2184 2010-11-19 Steve Falkenburg <sfalken@apple.com>
2186 Reviewed by Adam Roben.
2188 Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
2189 https://bugs.webkit.org/show_bug.cgi?id=49819
2191 * WebKit.vcproj/Interfaces.vcproj:
2192 * WebKit.vcproj/WebKit.sln:
2193 * WebKit.vcproj/WebKit.vcproj:
2194 * WebKit.vcproj/WebKitGUID.vcproj:
2196 2010-11-19 Steve Falkenburg <sfalken@apple.com>
2198 Reviewed by Darin Adler.
2200 Normalize Cairo/CFLite project/solution configuration names
2201 https://bugs.webkit.org/show_bug.cgi?id=49818
2203 * WebKit.vcproj/WebKit.sln:
2204 * WebKit.vcproj/WebKit.vcproj:
2206 2010-11-18 Steve Falkenburg <sfalken@apple.com>
2208 Reviewed by Adam Roben.
2210 Windows vcproj configuration names should be normalized across projects
2211 https://bugs.webkit.org/show_bug.cgi?id=49776
2213 * WebKit.vcproj/Interfaces.vcproj:
2214 * WebKit.vcproj/WebKit.sln:
2216 2010-11-18 Steve Falkenburg <sfalken@apple.com>
2218 Reviewed by Adam Roben.
2220 Remove leftover Windows Debug_Internal configurations
2221 https://bugs.webkit.org/show_bug.cgi?id=49758
2223 * WebKit.vcproj/WebKit.vcproj:
2224 * WebKit.vcproj/WebKitGUID.vcproj:
2226 2010-11-18 Steve Falkenburg <sfalken@apple.com>
2228 Reviewed by Adam Roben.
2230 Debug_Internal Windows configuration is unnecessary, should be removed
2231 https://bugs.webkit.org/show_bug.cgi?id=49753
2235 2010-11-17 Steve Falkenburg <sfalken@apple.com>
2237 Reviewed by Adam Roben.
2239 WebKit Interfaces project should use vsprops file for common build settings
2240 https://bugs.webkit.org/show_bug.cgi?id=49713
2242 * WebKit.vcproj/Interfaces.vcproj:
2243 * WebKit.vcproj/InterfacesCommon.vsprops: Added.
2245 2010-11-16 Steve Falkenburg <sfalken@apple.com>
2247 Reviewed by Adam Roben.
2249 Disable LTCG for Windows Release builds. Add new Release_LTCG configuration.
2250 https://bugs.webkit.org/show_bug.cgi?id=49632
2252 * WebKit.vcproj/Interfaces.vcproj:
2253 * WebKit.vcproj/WebKit.make:
2254 * WebKit.vcproj/WebKit.sln:
2255 * WebKit.vcproj/WebKit.submit.sln:
2256 * WebKit.vcproj/WebKit.vcproj:
2257 * WebKit.vcproj/WebKitGUID.vcproj:
2259 2010-11-16 Dave Hyatt <hyatt@apple.com>
2261 Reviewed by Dan Bernstein.
2263 https://bugs.webkit.org/show_bug.cgi?id=11004
2265 font-size:0 is ignored. Remove the minimum font size of 1 in CSSStyleSelector.
2266 Change the pref value for minimum font size from 1 to 0. Make sure to never use the NSFont's size,
2267 since it doesn't honor a size of 0. Instead pass the size in to the FontPlatformData(NSFont*) version
2268 of the constructor rather than using [NSFont pointSize].
2270 https://bugs.webkit.org/show_bug.cgi?id=49582
2272 Negative leading is not handled correctly. There are two bugs here. The first is that
2273 maxAscent and maxDescent can be negative, so we need a notion of whether or not we have
2274 set them before so that we can allow them to be < 0.
2276 The second issue is that we should understand where fonts will end up relative to
2277 our baseline (excluding line height), and only allow those boxes to impact ascent and
2278 descent if the actual font box (without factoring in line height) is above or below the
2279 root line box baseline.
2281 Added fast/css/negative-leading.html
2283 These two bug fixes have to land together to keep the Acid 3 test rendering correctly.
2285 * WebPreferences.cpp:
2286 (WebPreferences::initializeDefaultSettings):
2288 2010-11-16 Steve Falkenburg <sfalken@apple.com>
2290 Reviewed by Adam Roben.
2292 Use vsprops files for common settings in Windows WebKit
2293 https://bugs.webkit.org/show_bug.cgi?id=49622
2295 * WebKit.vcproj/WebKit.vcproj:
2296 * WebKit.vcproj/WebKitCommon.vsprops: Added.
2298 2010-11-16 Steve Falkenburg <sfalken@apple.com>
2300 Rubber stamped by Adam Roben.
2302 Remove unnecessary def file, remove outdated def files from vcproj.
2304 * WebKit.vcproj/WebKit.vcproj:
2305 * WebKit.vcproj/WebKit_debug.def: Removed.
2307 2010-11-12 John Knottenbelt <jknotten@chromium.org>
2309 Reviewed by Steve Block.
2311 Rename GeolocationControllerClient to GeolocationClient.
2312 https://bugs.webkit.org/show_bug.cgi?id=49259
2314 * WebCoreSupport/WebGeolocationClient.cpp: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.cpp.
2315 (WebGeolocationClient::WebGeolocationClient):
2316 (WebGeolocationClient::geolocationDestroyed):
2317 (WebGeolocationClient::startUpdating):
2318 (WebGeolocationClient::stopUpdating):
2319 (WebGeolocationClient::lastPosition):
2320 * WebCoreSupport/WebGeolocationClient.h: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.h.
2321 (WebGeolocationClient::setEnableHighAccuracy):
2322 * WebKit.vcproj/WebKit.vcproj:
2324 (WebView::initWithFrame):
2326 2010-11-10 Csaba Osztrogonác <ossy@webkit.org>
2328 Reviewed by David Hyatt.
2330 HTML5 Ruby support should be mandatory feature
2331 https://bugs.webkit.org/show_bug.cgi?id=49272
2333 * WebKitPrefix.h: Touch it to avoid incremental build failure on Windows.
2335 2010-11-08 Alexey Proskuryakov <ap@apple.com>
2339 * WebCoreSupport/WebChromeClient.h: Added namespace prefix.
2341 2010-11-08 Alexey Proskuryakov <ap@apple.com>
2343 Reviewed by Darin Adler.
2345 https://bugs.webkit.org/show_bug.cgi?id=48685
2346 Notify UI process about focused frame
2348 Added an empty implementation of the new ChromeClient method.
2350 * WebCoreSupport/WebChromeClient.cpp:
2351 (WebChromeClient::focusedFrameChanged):
2352 * WebCoreSupport/WebChromeClient.h:
2354 2010-11-07 Adam Barth <abarth@webkit.org>
2356 Reviewed by Eric Seidel.
2358 Rename Cache to MemoryCache
2359 https://bugs.webkit.org/show_bug.cgi?id=49159
2362 (WebCache::statistics):
2366 2010-11-05 Chris Marrin <cmarrin@apple.com>
2368 Reviewed by Simon Fraser.
2370 Move resumeAnimations/suspendAnimations from Frame to AnimationController.
2371 https://bugs.webkit.org/show_bug.cgi?id=49073
2374 (WebFrame::suspendAnimations):
2375 (WebFrame::resumeAnimations):
2377 2010-11-05 Brian Weinstein <bweinstein@apple.com>
2379 Reviewed by Anders Carlsson.
2381 Assertion failure in PluginStream::~PluginStream when running userscripts/user-script-plugin-document.html
2382 https://bugs.webkit.org/show_bug.cgi?id=48751
2383 <rdar://problem/8615536>
2385 Always call committedLoad in WebFrameLoaderClient::finishedLoading, even if we have a manual loader. We were
2386 running into a case where we were trying to load an empty plugin document, which uses a manual loader, and
2387 PluginStream::didFinishLoading was never being called. The stream was never being stopped, making us fire
2388 an assert in the PluginStream destructor.
2390 * WebCoreSupport/WebFrameLoaderClient.cpp:
2391 (WebFrameLoaderClient::finishedLoading):
2393 2010-11-05 Chris Marrin <cmarrin@apple.com>
2395 Reviewed by Simon Fraser.
2397 Make suspendAnimations/resumeAnimations and setCSSAnimations traverse through subframes and remember state
2398 https://bugs.webkit.org/show_bug.cgi?id=46945
2401 (WebFrame::suspendAnimations):
2402 (WebFrame::resumeAnimations):
2404 2010-11-05 Patrick Gansterer <paroga@webkit.org>
2406 Reviewed by David Kilzer.
2408 Replace ARRAYSIZE with WTF_ARRAY_LENGTH
2409 https://bugs.webkit.org/show_bug.cgi?id=48903
2411 * WebCoreSupport/WebChromeClient.cpp:
2412 (WebChromeClient::exceededDatabaseQuota):
2414 (DllGetClassObject):
2416 (WebView::mouseWheel):
2418 2010-11-02 Daniel Bates <dbates@rim.com>
2420 Reviewed by Adam Barth.
2422 For unnamed frames, window.name returns a generated name
2423 https://bugs.webkit.org/show_bug.cgi?id=6751
2427 Substitute FrameTree::uniqueName() for FrameTree::name() in the Apple Windows port.
2432 2010-11-02 Brady Eidson <beidson@apple.com>
2434 Reviewed by Anders Carlsson.
2436 <rdar://problem/8346191> and https://bugs.webkit.org/show_bug.cgi?id=48868
2437 Implement IMutableWebRequest::setTimeoutInterval
2439 * WebMutableURLRequest.cpp:
2440 (WebMutableURLRequest::setTimeoutInterval):
2442 2010-11-02 Daniel Bates <dbates@rim.com>
2444 Reviewed by Martin Robinson.
2446 Set frame name before appending it to the frame tree in the Apple Windows,
2448 https://bugs.webkit.org/show_bug.cgi?id=48806
2450 Make the frame creation process in the Apple Windows-port consistent
2451 with the Mac, Qt, and Haiku ports. In particular, set the name of
2452 the new frame before it's appended to the frame tree.
2454 At this time we cannot test this change since it is being masked by
2455 HTMLFrameElementBase::setName() <http://trac.webkit.org/browser/trunk/WebCore/html/HTMLFrameElementBase.cpp?rev=70976#L160>.
2456 We'll be able to test this once we fix bug #6751.
2458 * WebCoreSupport/WebFrameLoaderClient.cpp:
2459 (WebFrameLoaderClient::createFrame):
2461 2010-11-01 Jenn Braithwaite <jennb@chromium.org>
2463 Reviewed by Adam Roben.
2465 Windows: Update resource tracking when moving a frame between documents
2466 https://bugs.webkit.org/show_bug.cgi?id=48364
2468 * Interfaces/IWebResourceLoadDelegatePrivate2.idl:Added
2469 Added removeIdentifierForRequest.
2470 * Interfaces/WebKit.idl:
2471 Added IWebResourceLoadDelegatePrivate2.idl.
2472 * WebCoreSupport/WebFrameLoaderClient.cpp:
2473 (WebFrameLoaderClient::transferLoadingResourceFromPage):
2475 2010-11-01 Brady Eidson <beidson@apple.com>
2477 Reviewed by Anders Carlsson.
2479 <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
2480 Context menu support for WebKit 2.
2482 * WebCoreSupport/WebChromeClient.h:
2483 (WebChromeClient::showContextMenu):
2485 2010-11-01 Adam Roben <aroben@apple.com>
2487 Cancel main resource loads after we hand them off to the media engine
2489 This is the Windows equivalent of r51104. Clearly this code should be
2490 moved to a cross-platform location someday.
2492 Fixes <http://webkit.org/b/48531> <rdar://problem/8606635> Assertion
2493 failure in DocumentLoader::commitData when loading a media document in
2496 Reviewed by Dan Bernstein.
2498 * WebCoreSupport/WebFrameLoaderClient.cpp:
2499 (WebFrameLoaderClient::committedLoad): Cancel the main resource load
2500 after handing off the load to the media engine. This code originally
2501 came from -[WebHTMLRepresentation receivedData:withDataSource:].
2504 (WebFrame::shouldFallBack): Don't fall back when handing the resource
2505 load off to the media engine or a plugin. Added error domain checking
2506 so that we don't rely on error codes being unique.
2508 2010-10-29 Daniel Bates <dbates@rim.com>
2510 No review, rolling out 70971.
2511 http://trac.webkit.org/changeset/70971
2512 https://bugs.webkit.org/show_bug.cgi?id=6751
2514 Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since
2515 it caused layout test failures on all bots. In particular, the
2516 child count in a generated frame name differs after this patch. We need
2517 to look into this further.
2522 2010-10-28 Antonio Gomes <agomes@rim.com>
2524 Reviewed by Ojan Vafai.
2526 Needs a "LinuxEditingBehavior", perhaps with a better name
2527 https://bugs.webkit.org/show_bug.cgi?id=36627
2529 Added the corresponding GTK+ setting to WebCore's EditingUnixBehavior: WebKitEditingUnixBehavior.
2531 * Interfaces/IWebPreferences.idl:
2533 2010-10-29 Daniel Bates <dbates@rim.com>
2535 Reviewed by Adam Barth.
2537 For unnamed frames, window.name returns a generated name
2538 https://bugs.webkit.org/show_bug.cgi?id=6751
2540 Modified Apple Windows-port to use FrameTree::uniqueName().
2545 2010-10-29 Darin Adler <darin@apple.com>
2547 Reviewed by Sam Weinig.
2549 Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring
2550 https://bugs.webkit.org/show_bug.cgi?id=48574
2552 * WebBackForwardList.cpp:
2553 (backForwardListWrappers):
2554 (WebBackForwardList::WebBackForwardList):
2555 (WebBackForwardList::createInstance):
2556 * WebBackForwardList.h:
2558 (WebView::backForwardList):
2559 Use BackForwardListImpl.
2561 2010-10-29 Adam Roben <aroben@apple.com>
2565 * WebKitPrefix.h: Touched to force a rebuild.
2567 2010-10-29 Alexey Proskuryakov <ap@apple.com>
2569 Reviewed by Darin Adler.
2571 https://bugs.webkit.org/show_bug.cgi?id=48576
2572 Let WebKit2 client know when a frame is a frameset
2574 Added a blank implementation of the new FrameLoaderClient method.
2576 * WebCoreSupport/WebFrameLoaderClient.h:
2577 * WebCoreSupport/WebFrameLoaderClient.cpp:
2578 (WebFrameLoaderClient::dispatchDidBecomeFrameset):
2580 2010-10-26 Brent Fulgham <bfulgham@webkit.org>
2582 Unreviewed build fix.
2584 * WebView.cpp: Conditionalize includes for CFNetwork-specific
2585 Cookie implementation.
2586 * WebView.h: Conditionalize includes for ACCELERATED_COMPOSITION.
2587 WinCairo doesn't use CoreAnimation.
2589 2010-10-26 Jenn Braithwaite <jennb@chromium.org>
2591 Reviewed by Dmitry Titov.
2593 Resource tracking failure when trying to move a frame between documents
2594 https://bugs.webkit.org/show_bug.cgi?id=44713
2596 * WebCoreSupport/WebFrameLoaderClient.cpp:
2597 (WebFrameLoaderClient::transferLoadingResourceFromPage):
2599 * WebCoreSupport/WebFrameLoaderClient.h:
2601 2010-10-25 Patrick Gansterer <paroga@webkit.org>
2603 Reviewed by David Kilzer.
2605 Replace _countof with WTF_ARRAY_LENGTH
2606 https://bugs.webkit.org/show_bug.cgi?id=48229
2608 * WebCoreSupport/WebContextMenuClient.cpp:
2609 (isPreInspectElementTagSafari):
2611 (WebView::interpretKeyEvent):
2613 2010-10-24 Dan Bernstein <mitz@apple.com>
2617 * Interfaces/WebKit.idl: Touched.
2619 2010-10-24 Dan Bernstein <mitz@apple.com>
2621 Reviewed by Anders Carlsson.
2623 Expose HitTestResult::absoluteMediaURL() via WebKit API
2624 https://bugs.webkit.org/show_bug.cgi?id=48219
2626 * Interfaces/IWebView.idl: Added WebElementMediaURLKey.
2627 * WebElementPropertyBag.cpp:
2628 (WebElementPropertyBag::Read): Map WebElementMediaURLKey to absoluteMediaURL().
2630 2010-10-22 Andy Estes <aestes@apple.com>
2632 Fix the Windows build.
2634 * WebCookieManagerCFNet.cpp: Rename CookieStorageWin.h to CookieStorageCFNet.h.
2635 * WebView.cpp: Ditto.
2637 2010-10-22 Jenn Braithwaite <jennb@chromium.org>
2639 Reviewed by Adam Roben.
2641 Windows client needs updating when live iframe element is moved between pages
2642 https://bugs.webkit.org/show_bug.cgi?id=46915
2644 * WebCoreSupport/WebFrameLoaderClient.cpp:
2645 (WebFrameLoaderClient::didTransferChildFrameToNewDocument):
2646 Update WebView in WebFrame to match that of the current page.
2648 (WebFrame::setWebView):
2652 2010-10-22 Sam Weinig <sam@webkit.org>
2656 * WebCoreSupport/WebChromeClient.h:
2658 2010-10-22 Sam Weinig <sam@webkit.org>
2660 Reviewed by Anders Carlsson.
2662 WebKit2 needs to pass the current event modifier flags when requesting a new window
2663 https://bugs.webkit.org/show_bug.cgi?id=48140
2665 * WebCoreSupport/WebChromeClient.cpp:
2666 (WebChromeClient::createWindow):
2667 * WebCoreSupport/WebFrameLoaderClient.cpp:
2668 (WebFrameLoaderClient::dispatchCreatePage):
2669 * WebCoreSupport/WebFrameLoaderClient.h:
2670 Add NavigationAction parameter.
2672 2010-10-21 MORITA Hajime <morrita@google.com>
2674 Unreviewed, touched it to fix the build.
2676 * Interfaces/WebKit.idl:
2678 2010-10-21 MORITA Hajime <morrita@google.com>
2680 Reviewed by Kent Tamura.
2682 [Win][DRT] should have LayoutTestController.hasSpellingMarker()
2683 https://bugs.webkit.org/show_bug.cgi?id=47885
2685 Added IWebFramePrivate::hasSpellingMarker() and impelmented it for
2686 LayoutTestController.
2688 * Interfaces/IWebFramePrivate.idl:
2690 (WebFrame::hasSpellingMarker):
2693 2010-10-20 Dumitru Daniliuc <dumi@chromium.org>
2695 Reviewed by David Levin.
2697 Repost the DatabaseTracker notifications to the main thread, if needed.
2698 https://bugs.webkit.org/show_bug.cgi?id=40655
2700 * WebDatabaseManager.cpp:
2701 (DidModifyOriginData::dispatchToMainThread):
2702 (DidModifyOriginData::DidModifyOriginData):
2703 (DidModifyOriginData::dispatchDidModifyOriginOnMainThread):
2704 (WebDatabaseManager::dispatchDidModifyOrigin):
2705 (WebDatabaseManager::dispatchDidModifyDatabase):
2707 2010-10-20 Dirk Schulze <krit@webkit.org>
2709 Reviewed by Nikolas Zimmermann.
2711 Merge ColorSpace and ImageColorSpace enums
2712 https://bugs.webkit.org/show_bug.cgi?id=47922
2714 Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB
2715 to follow webkit style rules.
2717 * FullscreenVideoController.cpp:
2720 (FullscreenVideoController::draw):
2721 * WebCoreSupport/WebDragClient.cpp:
2722 (WebDragClient::createDragImageForLink):
2723 * WebKitGraphics.cpp:
2726 2010-10-18 Pavel Podivilov <podivilov@chromium.org>
2728 Reviewed by Timothy Hatcher.
2730 Web Inspector: disable private browsing for inspector
2731 https://bugs.webkit.org/show_bug.cgi?id=47827
2733 * WebCoreSupport/WebInspectorClient.cpp:
2734 (WebInspectorClient::openInspectorFrontend):
2736 2010-10-17 Adam Barth <abarth@webkit.org>
2738 Reviewed by Dimitri Glazkov.
2740 FrameLoader doesn't need an explicit userGesture parameter
2741 https://bugs.webkit.org/show_bug.cgi?id=47777
2743 Update for the new API.
2745 * WebCoreSupport/WebContextMenuClient.cpp:
2746 (WebContextMenuClient::searchWithGoogle):
2748 2010-10-15 Brian Weinstein <bweinstein@apple.com>
2750 Reviewed by Sam Weinig.
2752 REGRESSION(r69850) Loading apple.com/startpage in WebKit on Windows gets a bad request.
2753 https://bugs.webkit.org/show_bug.cgi?id=47753
2754 <rdar://problem/8558242>
2756 VerQueryValue returns a null terminated string, but we need to strip off the null terminating character
2757 when we turn it into a WebCore string, or else concatenation using this string will break.
2761 2010-10-15 Jessie Berlin <jberlin@apple.com>
2763 Windows build fix. Unreviewed.
2765 * WebCoreSupport/WebInspectorClient.cpp:
2766 Add a missing include.
2768 2010-10-15 Nikolas Zimmermann <nzimmermann@rim.com>
2770 Reviewed by Dirk Schulze.
2772 Replace some String::format() usages by StringConcatenate in WebKit
2773 https://bugs.webkit.org/show_bug.cgi?id=47714
2775 * WebCoreSupport/WebInspectorClient.cpp:
2776 (WebInspectorFrontendClient::updateWindowTitle):
2778 (WebView::standardUserAgentWithApplicationName):
2781 2010-10-14 Ilya Tikhonovsky <loislo@chromium.org>
2783 Reviewed by Pavel Feldman.
2785 Web Inspector: inspector settings/properties/states management
2786 should be extracted into separate class.
2788 We have a lot of flags/values in InspectorController.
2789 Some flags are persisting into profile.
2790 Others are part of inspector state for frontend.
2791 All these flags should keep their values after navigation.
2792 It'd be better to extract these flags/values into separate
2793 class which will care about theirs lifetime.
2795 https://bugs.webkit.org/show_bug.cgi?id=47275
2797 * WebCoreSupport/WebInspectorClient.cpp:
2798 (WebInspectorFrontendClient::attachWindow):
2799 (WebInspectorFrontendClient::detachWindow):
2800 (WebInspectorFrontendClient::showWindowWithoutNotifications):
2802 2010-10-13 Gavin Barraclough <barraclough@apple.com>
2804 Reviewed by Oliver Hunt.
2806 https://bugs.webkit.org/show_bug.cgi?id=43987
2807 Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder
2808 to construct their internal result string. Remove ScriptString (this is now
2811 * WebCoreSupport/WebFrameLoaderClient.cpp:
2813 2010-10-12 Adam Roben <aroben@apple.com>
2815 Build TestWebKitAPI on Windows
2817 Fixes <http://webkit.org/b/47552> <rdar://problem/8541708> Make
2818 TestWebKitAPI work on Windows
2820 Reviewed by Sam Weinig.
2822 * WebKit.vcproj/WebKit.sln: Added TestWebKitAPI and
2823 TestWebKitAPIGenerated and made them build just after
2826 2010-10-11 Shinichiro Hamaji <hamaji@chromium.org>
2828 Attempt to fix windows build failure.
2830 Remove WebIconFetcher from WebKit and IconFetcher from WebCore
2831 https://bugs.webkit.org/show_bug.cgi?id=47523
2833 * Interfaces/IWebFramePrivate.idl: s/unused1/unused2/
2834 * Interfaces/WebKit.idl: Touched.
2835 * WebFrame.cpp: s/unused1/unused2/
2836 (WebFrame::unused2):
2837 * WebFrame.h: s/unused1/unused2/
2839 2010-10-11 Anders Carlsson <andersca@apple.com>
2841 Reviewed by Darin Adler.
2843 Remove WebIconFetcher from WebKit and IconFetcher from WebCore
2844 https://bugs.webkit.org/show_bug.cgi?id=47523
2846 Remove all traces of the WebKit WebIconFetcher class. It's SPI that nobody uses.
2848 * Interfaces/IWebFramePrivate.idl:
2849 * Interfaces/IWebIconFetcher.idl: Removed.
2850 * Interfaces/WebKit.idl:
2852 (WebFrame::unused1):
2854 * WebIconFetcher.cpp: Removed.
2855 * WebIconFetcher.h: Removed.
2856 * WebKit.vcproj/Interfaces.vcproj:
2857 * WebKit.vcproj/WebKit.vcproj:
2859 2010-10-11 Jessie Berlin <jberlin@apple.com>
2861 Reviewed by Darin Adler.
2863 Add Private API for creating a WebKit2 WebSerializedScriptValue from the internal
2864 representation of a WebKit1 WebSerializedJSValue.
2865 https://bugs.webkit.org/show_bug.cgi?id=47439
2867 * Interfaces/IWebSerializedJSValuePrivate.idl:
2868 Because it is taking a void** parameter, getInternalRepresentation must be declared [local].
2870 * WebSerializedJSValue.cpp:
2871 (WebSerializedJSValue::getInternalRepresentation):
2872 * WebSerializedJSValue.h:
2874 2010-10-07 Jessie Berlin <jberlin@apple.com>
2876 Reviewed by Sam Weinig.
2878 Add Private API for creating a WebKit1 WebSerializedJSValue from the internal
2879 representation of a WebKit2 WebSerializedScriptValue.
2880 https://bugs.webkit.org/show_bug.cgi?id=47390
2882 * Interfaces/WebKit.idl:
2883 Generate IWebSerializedJSValuePrivate.
2885 * Interfaces/IWebSerializedJSValuePrivate.idl: Added.
2886 Because it is taking a void* parameter, setInternalRepresentation must be declared [local].
2888 * WebKit.vcproj/Interfaces.vcproj:
2889 Add IWebSerializedJSValue.idl and IWebSerializedJSValuePrivate.idl.
2891 * WebSerializedJSValue.cpp:
2892 (WebSerializedJSValue::QueryInterface):
2893 Since there are now two interfaces that inherit from IUnknown, do not try to cast to
2894 IUnknown* anymore. Cast to IWebSerializedJSValue* instead.
2895 (WebSerializedJSValue::setInternalRepresentation):
2896 Only set the internal representation if it hasn't already been set.
2897 * WebSerializedJSValue.h:
2899 2010-10-04 Jon Honeycutt <jhoneycutt@apple.com>
2901 Prevent an assertion failure when trying to create a protection space
2904 Reviewed by Sam Weinig.
2906 * WebURLProtectionSpace.cpp:
2907 (WebURLProtectionSpace::initWithHost):
2908 Remove the ASSERT_NOT_REACHED().
2910 2010-10-05 Brent Fulgham <bfulgham@webkit.org>
2912 Unreviewed build correction.
2914 * WebKit.vcproj/WebKit.sln: Turn the QTMovieWin project
2915 off for WinCairo release builds. Somehow this was
2916 incorrectly turned on.
2918 2010-10-01 Mark Rowe <mrowe@apple.com>
2922 Clear the executable bit from a number of source files.
2927 2010-09-30 Darin Adler <darin@apple.com>
2929 Reviewed by Sam Weinig.
2931 Remove remaining calls to deprecatedParseURL
2932 https://bugs.webkit.org/show_bug.cgi?id=26599
2934 * WebCoreSupport/WebFrameLoaderClient.cpp:
2935 (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
2936 Call stripLeadingAndTrailingHTMLSpaces instead of deprecatedParseURL.
2938 2010-09-28 Jenn Braithwaite <jennb@chromium.org>
2940 Reviewed by Dmitry Titov.
2942 Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument.
2943 https://bugs.webkit.org/show_bug.cgi?id=46663
2945 * WebCoreSupport/WebFrameLoaderClient.cpp:
2946 (WebFrameLoaderClient::didTransferChildFrameToNewDocument):
2947 * WebCoreSupport/WebFrameLoaderClient.h:
2949 2010-09-27 Andrey Kosyakov <caseq@chromium.org>
2951 Unreviewed build fix (win; broken in r68371)
2953 * WebFrame.cpp: remove include <WebCore/ResourceHandleWin.h>
2955 2010-09-23 Matthew Delaney <mdelaney@apple.com>
2957 Reviewed by Simon Fraser.
2959 Reduce minimum DOMTimer interval
2960 https://bugs.webkit.org/show_bug.cgi?id=45362
2963 Updating set interval call to use Settings' static version inside
2964 one time init block.
2966 2010-09-23 Nate Chapin <japhet@chromium.org>
2968 Unreviewed, build fix.
2970 Move hyperlinkAuditingEnabled to IWebPreferencesPrivate.idl
2971 and touch WebKit.idl
2973 * Interfaces/IWebPreferences.idl:
2974 * Interfaces/IWebPreferencesPrivate.idl:
2975 * Interfaces/WebKit.idl:
2977 (WebView::notifyPreferencesChanged):
2979 2010-09-23 Nate Chapin <japhet@chromium.org>
2981 Unreviewed, build fix.
2983 Look for hyperlinkAuditingEnabled in the right set of preferences.
2986 (WebView::notifyPreferencesChanged):
2988 2010-09-23 Nate Chapin <japhet@chromium.org>
2990 Reviewed by Darin Fisher.
2992 Add hyperlink auditing settings (i.e., <a ping>).
2993 https://bugs.webkit.org/show_bug.cgi?id=30458
2995 * Interfaces/IWebPreferences.idl:
2996 * WebPreferenceKeysPrivate.h:
2997 * WebPreferences.cpp:
2998 (WebPreferences::initializeDefaultSettings):
2999 (WebPreferences::hyperlinkAuditingEnabled):
3000 (WebPreferences::setHyperlinkAuditingEnabled):
3003 (WebView::notifyPreferencesChanged):
3005 2010-09-23 Matthew Delaney <mdelaney@apple.com>
3007 Reviewed by Adam Roben.
3009 Create one time initialization block for WebView's initWithFrame
3010 https://bugs.webkit.org/show_bug.cgi?id=46307
3012 * WebView.cpp: Added one time initialization block for webview code
3013 that needs only be run once and not for each webview. This is just as
3014 the mac version WebView.mm does.
3016 2010-09-22 Brent Fulgham <bfulgham@webkit.org>
3018 Reviewed by Martin Robinson.
3020 [WinCairo] Part 2: Update WebKitTestRunner and DumpRenderTree Build.
3021 https://bugs.webkit.org/show_bug.cgi?id=46303.
3023 * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and
3024 Release_Cairo configurations to select appropriate build
3025 targets for WebKitTestRunner and MiniBrowser.
3027 2010-09-22 Brent Fulgham <bfulgham@webkit.org>
3029 Reviewed by Martin Robinson.
3031 [WinCairo] Update WebKitTestRunner and DumpRenderTree Build.rt
3032 https://bugs.webkit.org/show_bug.cgi?id=46303.
3034 * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and
3035 Release_Cairo configurations to select appropriate build
3036 targets for InjectionBundle.
3038 2010-09-22 Balazs Kelemen <kb@inf.u-szeged.hu>
3040 Reviewed by Kenneth Rohde Christiansen.
3042 PluginStrategy should satisfy the needs of Qt
3043 https://bugs.webkit.org/show_bug.cgi?id=45857
3044 No new functionality so no new tests.
3046 * WebCoreSupport/WebPlatformStrategies.cpp:
3047 (WebPlatformStrategies::getPluginInfo):
3048 * WebCoreSupport/WebPlatformStrategies.h:
3050 2010-09-20 Philippe Normand <pnormand@igalia.com>
3052 Reviewed by Eric Carlson.
3054 [GTK] enhanced context menu for media elements
3055 https://bugs.webkit.org/show_bug.cgi?id=45021
3057 New localized strings for the media element context-menu.
3059 * WebCoreSupport/WebPlatformStrategies.cpp:
3060 (WebPlatformStrategies::contextMenuItemTagOpenVideoInNewWindow):
3061 (WebPlatformStrategies::contextMenuItemTagOpenAudioInNewWindow):
3062 (WebPlatformStrategies::contextMenuItemTagCopyVideoLinkToClipboard):
3063 (WebPlatformStrategies::contextMenuItemTagCopyAudioLinkToClipboard):
3064 (WebPlatformStrategies::contextMenuItemTagToggleMediaControls):
3065 (WebPlatformStrategies::contextMenuItemTagToggleMediaLoop):
3066 (WebPlatformStrategies::contextMenuItemTagEnterVideoFullscreen):
3067 (WebPlatformStrategies::contextMenuItemTagMediaPlay):
3068 (WebPlatformStrategies::contextMenuItemTagMediaPause):
3069 (WebPlatformStrategies::contextMenuItemTagMediaMute):
3070 * WebCoreSupport/WebPlatformStrategies.h:
3072 2010-09-17 Darin Adler <darin@apple.com>
3074 Reviewed by Sam Weinig.
3076 REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
3077 https://bugs.webkit.org/show_bug.cgi?id=42863
3080 (WebView::setZoomMultiplier):
3081 Call functions on Frame instead of FrameView.
3083 2010-09-17 Matthew Delaney <mdelaney@apple.com>
3085 Reviewed by Simon Fraser.
3087 Reduce minimum DOMTimer interval
3088 https://bugs.webkit.org/show_bug.cgi?id=45362
3090 * WebView.cpp: Added in a call to set the mimimum allowed DOMTimer to 4ms.
3092 2010-09-17 Simon Fraser <simon.fraser@apple.com>
3094 Reviewed by Chris Marrin.
3096 Remove scroll and clip layers for WKCACFLayerRenderer
3097 https://bugs.webkit.org/show_bug.cgi?id=45922
3099 WKCACFLayerRenderer no longer needs its own layers for managing scrolling
3100 and clipping, because RenderLayerCompositor provides this functionality.
3103 (WebView::sizeChanged): Moved code that handles the WM_SIZE message
3104 into this method. Use it to resize the layer renderer.
3105 (WebView::WebViewWndProc): Call sizeChanged().
3106 (WebView::updateRootLayerContents): No need to call setScrollFrame() any more.
3107 (WebView::layerRendererBecameVisible): Move this from the header (no need to be inline).
3110 2010-09-16 Darin Adler <darin@apple.com>
3112 Reviewed by Andreas Kling.
3114 Reduce use of HTMLInputElement::inputType so we can remove it later
3115 https://bugs.webkit.org/show_bug.cgi?id=45903
3118 (WebFrame::elementDoesAutoComplete): Use isPasswordField.
3119 (WebFrame::elementIsPassword): Use isPasswordField.
3121 2010-09-14 Ada Chan <adachan@apple.com>
3123 Reviewed by Adam Roben.
3125 Add an IWebFramePrivate API to load string as plain text into the WebFrame.
3126 https://bugs.webkit.org/show_bug.cgi?id=45782
3128 * Interfaces/IWebFramePrivate.idl:
3129 * Interfaces/WebKit.idl: Touch the file.
3131 (WebFrame::loadPlainTextString):
3134 2010-09-13 Enrica Casucci <enrica@apple.com>
3136 Reviewed by Sam Weinig.
3138 Paste should be implemented in WebCore like Copy and Cut for Mac also.
3139 https://bugs.webkit.org/show_bug.cgi?id=45494
3140 <rdar://problem/7660537>
3142 On the Mac platform, the implementation of the paste operation is all done
3143 at the WebKit level. In order to support it on WebKit2 it is necessary to
3144 refactor the code and move this functionality at the level of WebCore like
3145 we already have on Windows.
3146 The original code relies on some in AppKit functions that call back into
3147 WebKit causing problems in WebKit2. All this functionality has been moved
3148 at the level of the editor client where it can be dealt with appropriately.
3151 (WebFrame::canShowMIMETypeASHTML): Added.
3153 2010-09-11 Adam Barth <abarth@webkit.org>
3155 Reviewed by Sam Weinig.
3157 Make SecurityOrigin::canDisplay an instance function
3158 https://bugs.webkit.org/show_bug.cgi?id=45219
3161 (WebFrame::allowsFollowingLink):
3163 2010-09-10 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
3165 Reviewed by Darin Adler.
3167 Add NetworkingContext to avoid layer violations
3168 https://bugs.webkit.org/show_bug.cgi?id=42292
3170 * WebCoreSupport/WebFrameNetworkingContext.cpp:
3171 (WebFrameNetworkingContext::blockedError):
3172 * WebCoreSupport/WebFrameNetworkingContext.h:
3174 2010-09-10 Jer Noble <jer.noble@apple.com>
3176 Reviewed by Simon Fraser.
3178 Movies with track or movie matrices don't display in <video> elements (Safari 5/Windows)
3179 https://bugs.webkit.org/show_bug.cgi?id=45333
3181 The rootChild layer must be set as flipped, otherwise transformed movies will appear
3182 incorrectly rotated.
3184 * FullscreenVideoController.cpp:
3185 (FullscreenVideoController::enterFullscreen):
3187 2010-09-10 Sam Weinig <sam@webkit.org>
3189 Reviewed by Darin Adler.
3191 Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom.
3192 Precursor to <rdar://problem/7660657>
3193 https://bugs.webkit.org/show_bug.cgi?id=45522
3201 (WebView::setZoomMultiplier):
3202 (WebView::zoomMultiplier):
3203 (WebView::canMakeTextLarger):
3204 (WebView::makeTextLarger):
3205 (WebView::canMakeTextSmaller):
3206 (WebView::makeTextSmaller):
3207 (WebView::notifyPreferencesChanged):
3209 Move tracking of text only zoom here from WebCore.
3211 2010-09-10 Brian Weinstein <bweinstein@apple.com>
3213 Windows Build Fix. Fix some fallout from r67238, currentForm is now off of
3214 SelectionController instead of frame. Also fix a style issue.
3217 (WebFrame::currentForm):
3219 2010-09-10 Adam Barth <abarth@webkit.org>
3221 Reviewed by Darin Fisher.
3223 Move code from WebKit-layer to DocumentLoader
3224 https://bugs.webkit.org/show_bug.cgi?id=45569
3226 * WebCoreSupport/WebFrameLoaderClient.cpp:
3227 (WebFrameLoaderClient::committedLoad):
3228 * WebCoreSupport/WebFrameLoaderClient.h:
3230 2010-09-09 Darin Adler <darin@apple.com>
3232 Reviewed by Adam Barth.
3234 Move functions from Frame to SelectionController as planned
3235 https://bugs.webkit.org/show_bug.cgi?id=45508
3238 (WebView::selectionRect):
3239 (WebView::centerSelectionInVisibleArea):
3240 Call functions on selection().
3242 2010-09-10 Adam Barth <abarth@webkit.org>
3244 Reviewed by Eric Seidel.
3246 Main resource bytes shouldn't bounce through FrameLoader
3247 https://bugs.webkit.org/show_bug.cgi?id=45496
3249 Now return the bytes to the DocumentLoader.
3251 * WebCoreSupport/WebFrameLoaderClient.cpp:
3252 (WebFrameLoaderClient::receivedData):
3254 2010-09-09 Simon Fraser <simon.fraser@apple.com>
3256 Reviewed by Adam Roben.
3258 Scrollbars fail to render in composited iframes.
3259 https://bugs.webkit.org/show_bug.cgi?id=45335
3261 Use LocalWindowsContext when painting scrollbars.
3263 * WebCoreSupport/WebChromeClient.cpp:
3264 (WebChromeClient::paintCustomScrollbar):
3265 (WebChromeClient::paintCustomScrollCorner):
3267 2010-09-08 Darin Adler <darin@apple.com>
3269 Reviewed by Adam Barth.
3271 Move functions from Frame to Editor as planned
3272 https://bugs.webkit.org/show_bug.cgi?id=45218
3274 * WebCoreSupport/WebContextMenuClient.cpp:
3275 (WebContextMenuClient::searchWithGoogle):
3277 (WebFrame::selectedString):
3279 (WebView::selectedText):
3280 (WebView::prepareCandidateWindow):
3281 (WebView::onIMERequestCharPosition):
3282 Changed call sites to use editor().
3284 2010-09-08 Peter Kasting <pkasting@google.com>
3286 Not reviewed, build fix.
3289 (WebScrollBar::setScrollOffsetFromAnimation):
3291 2010-09-08 Peter Kasting <pkasting@google.com>
3293 Not reviewed, build fix.
3296 (WebScrollBar::scrollSize):
3297 (WebScrollBar::setScrollOffsetFromAnimation):
3299 2010-09-08 Peter Kasting <pkasting@google.com>
3301 Not reviewed, build fix.
3304 (WebScrollBar::setValue):
3305 (WebScrollBar::scrollSize):
3306 (WebScrollBar::setScrollOffsetFromAnimation):
3309 2010-09-08 Adam Barth <abarth@webkit.org>
3311 Attempted Window build fix.
3313 * WebDataSource.cpp:
3314 (WebDataSource::subresourceForURL):
3316 2010-09-08 Adam Barth <abarth@webkit.org>
3318 Rubber-stamped by Eric Seidel.
3320 Rename DocLoader to CachedResourceLoader because that's what it does.
3322 * WebDataSource.cpp:
3324 2010-09-07 Brent Fulgham <bfulgham@webkit.org>
3326 Reviewed by Adam Roben.
3328 Clean up a potential resource leak.
3329 https://bugs.webkit.org/show_bug.cgi?id=45198
3331 Several bitmap device context were being created and used,
3332 and destroyed without returning the context to its original
3333 state. This showed up as bitmap leaks in BoundsChecker.
3335 * FullscreenVideoController.cpp:
3337 (WebView::scrollBackingStore):
3340 2010-09-06 Adam Barth <abarth@webkit.org>
3342 Reviewed by Darin Adler.
3344 Rename SecurityOrigin::canLoad to canDisplay
3345 https://bugs.webkit.org/show_bug.cgi?id=45214
3347 Propagate name change.
3350 (WebFrame::allowsFollowingLink):
3352 2010-09-03 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
3354 Reviewed by Darin Adler.
3356 Add NetworkingContext to avoid layer violations
3357 https://bugs.webkit.org/show_bug.cgi?id=42292
3359 Add Win's specific implementation of NetworkingContext.
3361 * WebCoreSupport/WebFrameNetworkingContext.cpp:
3362 (WebFrameNetworkingContext::create):
3363 (WebFrameNetworkingContext::userAgent):
3364 (WebFrameNetworkingContext::referrer):
3366 (WebFrame::createNetworkingContext):
3369 2010-09-03 Adam Roben <aroben@apple.com>
3371 Attempt to fixing Windows nightlies again
3373 The fix in r66438 should be sufficient, but we have to touch
3374 WebKit.idl to force that change to be picked up by the build.
3376 * Interfaces/WebKit.idl: Touched this file to force a build.
3378 2010-09-02 Yury Semikhatsky <yurys@chromium.org>
3380 Reviewed by PavelFeldman.
3382 REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
3383 https://bugs.webkit.org/show_bug.cgi?id=44230
3385 * WebCoreSupport/WebInspectorClient.cpp:
3386 (WebInspectorFrontendClient::~WebInspectorFrontendClient):
3387 (WebInspectorFrontendClient::closeWindow):
3388 (WebInspectorFrontendClient::disconnectFromBackend):
3389 (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3390 (WebInspectorFrontendClient::destroyInspectorView):
3391 * WebCoreSupport/WebInspectorClient.h:
3393 2010-09-01 Jessie Berlin <jberlin@apple.com>
3395 Reviewed by Adam Roben.
3397 WebViews should allow their parent windows to handle WM_MOUSEACTIVATE messages.
3398 https://bugs.webkit.org/show_bug.cgi?id=45047
3401 (WebView::WebViewWndProc):
3403 2010-08-31 Dave Hyatt <hyatt@apple.com>
3405 Reviewed by Sam Weinig.
3407 https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
3408 the former can occur in more places without having to do the latter.
3411 (WebFrame::paintDocumentRectToContext):
3413 (WebView::updateBackingStore):
3415 2010-08-30 Adam Roben <aroben@apple.com>
3417 Fix crash on launch on Windows due to changing IWebFramePrivate's
3420 This regressed in r65107.
3422 Fixes <http://webkit.org/b/44755>.
3424 Rubber-stamped by Jon Honeycutt.
3426 * Interfaces/IWebFramePrivate.idl: Moved suspendAnimations and
3427 resumeAnimations to the end of the interface so that the vtable will
3428 match what Safari expects.
3430 2010-08-30 Sheriff Bot <webkit.review.bot@gmail.com>
3432 Unreviewed, rolling out r66198.
3433 http://trac.webkit.org/changeset/66198
3434 https://bugs.webkit.org/show_bug.cgi?id=44856
3436 It made tests crash on Qt bot (Requested by Ossy_ on #webkit).
3438 * WebCoreSupport/WebInspectorClient.cpp:
3439 (WebInspectorFrontendClient::~WebInspectorFrontendClient):
3440 (WebInspectorFrontendClient::closeWindow):
3441 (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3442 (WebInspectorFrontendClient::destroyInspectorView):
3443 * WebCoreSupport/WebInspectorClient.h:
3445 2010-08-27 Yury Semikhatsky <yurys@chromium.org>
3447 Reviewed by Pavel Feldman.
3449 REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
3450 https://bugs.webkit.org/show_bug.cgi?id=44230
3452 * WebCoreSupport/WebInspectorClient.cpp:
3453 (WebInspectorFrontendClient::~WebInspectorFrontendClient):
3454 (WebInspectorFrontendClient::closeWindow):
3455 (WebInspectorFrontendClient::disconnectFromBackend):
3456 (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3457 (WebInspectorFrontendClient::destroyInspectorView):
3458 * WebCoreSupport/WebInspectorClient.h:
3460 2010-08-26 Yury Semikhatsky <yurys@chromium.org>
3462 Unreviewed. Revert r66103 since Qt tests are failing.
3464 * WebCoreSupport/WebInspectorClient.cpp:
3465 (WebInspectorFrontendClient::~WebInspectorFrontendClient):
3466 (WebInspectorFrontendClient::closeWindow):
3467 (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3468 (WebInspectorFrontendClient::destroyInspectorView):
3469 * WebCoreSupport/WebInspectorClient.h:
3471 2010-08-26 Yury Semikhatsky <yurys@chromium.org>
3473 Reviewed by Pavel Feldman.
3475 REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
3476 https://bugs.webkit.org/show_bug.cgi?id=44230
3478 * WebCoreSupport/WebInspectorClient.cpp:
3479 (WebInspectorFrontendClient::~WebInspectorFrontendClient):
3480 (WebInspectorFrontendClient::closeWindow):
3481 (WebInspectorFrontendClient::disconnectFromBackend):
3482 (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3483 (WebInspectorFrontendClient::destroyInspectorView):
3484 * WebCoreSupport/WebInspectorClient.h:
3486 2010-08-24 Ada Chan <adachan@apple.com>
3488 Reviewed by Steve Falkenburg.
3490 <rdar://problem/8185379> Possible null dereference in WebView::canShowMIMEType.
3491 https://bugs.webkit.org/show_bug.cgi?id=44564
3494 (WebView::canShowMIMEType): Null check m_page->pluginData() since that can return NULL
3495 if plugins are disabled.
3497 2010-08-22 Daniel Bates <dbates@rim.com>
3499 Reviewed by Eric Seidel.
3501 Encapsulate document marker management into DocumentMarkerController
3502 https://bugs.webkit.org/show_bug.cgi?id=44383
3504 Modify call sites in the Apple Windows port to use DocumentMarkerController.
3506 No functionality was changed, so no new tests.
3509 (WebFrame::unmarkAllMisspellings):
3510 (WebFrame::unmarkAllBadGrammar):
3512 (WebView::rectsForTextMatches):
3514 2010-08-18 Jessie Berlin <jberlin@apple.com>
3516 Reviewed by Adam Roben.
3518 Bug 44180 - WebView::paint fails to paint a child WebView of a Layered Window.
3519 https://bugs.webkit.org/show_bug.cgi?id=44180
3521 Decide to end painting if the m_backingStoreBitmap is null after the call to
3522 ensureBackingStore() instead of when the rcPaint rect filled by BeginPaint is empty.
3523 The rcPaint rect filled by BeginPaint is always empty for a child WebView of a Layered
3524 Window, even if GetUpdateRect and GetUpdateRgn report a non-empty region that needs
3530 2010-08-17 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
3532 Reviewed by Darin Adler.
3534 Add NetworkingContext to avoid layer violations
3535 https://bugs.webkit.org/show_bug.cgi?id=42292
3537 Preparation: Just add the files to the build system.
3539 * WebCoreSupport/WebFrameNetworkingContext.cpp: Added.
3540 Empty placeholder for now.
3541 * WebCoreSupport/WebFrameNetworkingContext.h: Added.
3542 Placeholder with tentative code that might be changed when landing
3544 * WebKit.vcproj/WebKit.vcproj: Added new files.
3546 2010-08-17 Brady Eidson <beidson@apple.com>
3548 Reviewed by Sam Weinig.
3550 Navigating back/forward during a modal dialog causes a crash when the modal dialog is dismissed.
3551 <rdar://problem/8313579> and https://bugs.webkit.org/show_bug.cgi?id=44131
3554 (WebView::canGoBack): Return false if loads are deferred.
3555 (WebView::canGoForward): Ditto.
3557 2010-08-16 Kinuko Yasuda <kinuko@chromium.org>
3559 Unreviewed; build fix attempt for Windows.
3561 * DefaultDownloadDelegate.cpp:
3563 2010-08-12 Jeremy Orlow <jorlow@chromium.org>
3566 https://bugs.webkit.org/show_bug.cgi?id=43794
3569 (WebView::initWithFrame):
3571 2010-08-12 Jeremy Orlow <jorlow@chromium.org>
3573 Build fix. Matches solutions in qt and mac ports for
3574 https://bugs.webkit.org/show_bug.cgi?id=43794
3577 (WebView::initWithFrame):
3579 2010-08-10 Gavin Barraclough <barraclough@apple.com>
3581 Build fix (update more includes)
3584 * WebLocalizableStrings.cpp:
3585 * WebNotificationCenter.cpp:
3586 * WebPreferences.cpp:
3588 2010-08-10 Chris Marrin <cmarrin@apple.com>
3590 Reviewed by Oliver Hunt.