1 2011-05-11 Jessie Berlin <jberlin@apple.com>
3 Reviewed by Steve Falkenburg.
5 [Windows WebKit2] Use cookies set in WebKit1
6 https://bugs.webkit.org/show_bug.cgi?id=60274
9 (WebView::setCacheModel):
10 Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
12 2011-05-11 Sheriff Bot <webkit.review.bot@gmail.com>
14 Unreviewed, rolling out r86255.
15 http://trac.webkit.org/changeset/86255
16 https://bugs.webkit.org/show_bug.cgi?id=60660
18 REGRESSION (r86255): Lots of tests crashing in
19 CFWriteStreamCreateWithAllocatedBuffers on Windows 7 Release
20 (WebKit2 Tests) (Requested by aroben on #webkit).
23 (WebView::setCacheModel):
25 2011-05-11 Jessie Berlin <jberlin@apple.com>
27 Reviewed by Steve Falkenburg.
29 [Windows WebKit2] Use cookies set in WebKit1
30 https://bugs.webkit.org/show_bug.cgi?id=60274
33 (WebView::setCacheModel):
34 Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
36 2011-05-09 Sheriff Bot <webkit.review.bot@gmail.com>
38 Unreviewed, rolling out r86108.
39 http://trac.webkit.org/changeset/86108
40 https://bugs.webkit.org/show_bug.cgi?id=60533
42 Broke makefile based builds and Cairo (Requested by weinig on
45 * WebKit.vcproj/WebKit.sln:
47 2011-05-09 Dmitry Lomov <dslomov@google.com>
49 Reviewed by Sam Weinig.
51 Switch TestWebKitAPI to GTest
52 https://bugs.webkit.org/show_bug.cgi?id=59561
54 * WebKit.vcproj/WebKit.sln:
56 2011-05-07 Sheriff Bot <webkit.review.bot@gmail.com>
58 Unreviewed, rolling out r86016.
59 http://trac.webkit.org/changeset/86016
60 https://bugs.webkit.org/show_bug.cgi?id=60445
62 caused crashes on the WK2 Windows bots (Requested by
63 jessieberlin on #webkit).
66 (WebView::setCacheModel):
68 2011-05-07 Jessie Berlin <jberlin@apple.com>
70 Reviewed by Steve Falkenburg.
72 [Windows WebKit2] Use cookies set in WebKit1
73 https://bugs.webkit.org/show_bug.cgi?id=60274
76 (WebView::setCacheModel):
77 Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
79 2011-05-06 Adam Roben <aroben@apple.com>
81 Touch WebKit.idl to fix the build
83 I needed this on my own machine. Maybe others will need it, too.
85 * Interfaces/WebKit.idl:
87 2011-05-04 Philippe Normand <pnormand@igalia.com>
89 Reviewed by Dimitri Glazkov.
91 Implement LayoutTestController::pseudoShadowId()
92 https://bugs.webkit.org/show_bug.cgi?id=60034
95 (DOMElement::shadowPseudoId):
98 2011-05-05 Ryosuke Niwa <rniwa@webkit.org>
100 Reviewed by Eric Seidel.
102 Rename SelectionController to FrameSelection
103 https://bugs.webkit.org/show_bug.cgi?id=60234
107 2011-05-04 Ryosuke Niwa <rniwa@webkit.org>
109 Windows build fix attempt after r85823
111 * WebCoreSupport/WebChromeClient.h:
112 (WebChromeClient::webView):
116 2011-05-04 Cris Neckar <cdn@chromium.org>
118 Reviewed by Adam Barth.
120 Expose WebView directly through ChromeClient.
121 https://bugs.webkit.org/show_bug.cgi?id=49902
123 * WebCoreSupport/WebChromeClient.h:
124 (WebChromeClient::webView):
126 2011-05-04 Tao Bai <michaelbai@chromium.org>
128 Reviewed by David Kilzer.
130 Populate touch-icon url to FrameLoaderClient
131 https://bugs.webkit.org/show_bug.cgi?id=59143
133 Respect the interface change in FrameLoaderClient.
135 * WebCoreSupport/WebFrameLoaderClient.cpp:
136 (WebFrameLoaderClient::dispatchDidChangeIcons):
137 * WebCoreSupport/WebFrameLoaderClient.h:
139 2011-05-02 Jer Noble <jer.noble@apple.com>
141 Reviewed by Adam Roben.
143 Implement FULLSCREEN_API on Windows, Part 3: WebKit2
144 https://bugs.webkit.org/show_bug.cgi?id=59845
146 Implementation of WebFullScreenController has been moved into WebCore, and
147 required virutal functions of WebFullScreenControllerClient have been added to
148 WebView. These functions are mostly simple accessors of existing ivars, but
149 m_fullScreenElement and its accessors have also been added to WebView.
151 * WebCoreSupport/WebChromeClient.cpp:
152 (WebChromeClient::enterFullScreenForElement):
153 * WebFullScreenController.cpp: Removed.
154 * WebKit.vcproj/WebKit.vcproj:
156 (WebView::setFullScreenElement): Added accessor.
157 (WebVIew::fullScreenElement): Ditto.
158 (WebView::fullScreenClientWindow): Ditto.
159 (WebView::fullScreenClientParentWindow): Ditto.
160 (WebView::fullScreenClientSetParentWindow): Ditto.
161 (WebView::fullScreenClientWillEnterFullScreen): Pass through to Document.
162 (WebView::fullScreenClientDidEnterFullScreen): Ditto.
163 (WebView::fullScreenClientWillExitFullScreen): Ditto.
164 (WebView::fullScreenClientDidExitFullScreen): Ditto.
167 2011-05-03 Brian Weinstein <bweinstein@apple.com>
169 Reviewed by Steve Falkenburg.
171 REGRESSION(r84990): Nightly builds don't launch on Windows
172 https://bugs.webkit.org/show_bug.cgi?id=60081
173 <rdar://problem/9358635>
175 Fix nightlies on Window by moving the layered window functions to the bottom
176 of IWebViewPrivate and touch WebKit.idl to make sure Interfaces rebuild.
178 * Interfaces/IWebViewPrivate.idl: Move functions added in r84990 to the bottom of the file.
179 * Interfaces/WebKit.idl: Touch to force a rebuild.
181 2011-05-03 David Kilzer <ddkilzer@apple.com>
183 <http://webkit.org/b/59838> Implement HTTP pipelining for CoreFoundation-based networking
185 Reviewed by Antti Koivisto.
187 * Interfaces/IWebViewPrivate.idl:
188 (IWebViewPrivate::httpPipeliningEnabled): Added declaration.
189 (IWebViewPrivate::setHTTPPipeliningEnabled): Added declaration.
191 (WebView::httpPipeliningEnabled): Added.
192 (WebView::setHTTPPipeliningEnabled): Added.
194 (WebView::httpPipeliningEnabled): Added declaration.
195 (WebView::setHTTPPipeliningEnabled): Added declaration.
197 2011-05-03 Adam Roben <aroben@apple.com>
199 Add some missing virtual keywords on derived-class destructors
201 Darin Adler noticed one, I noticed the other. This doesn't change the generated code; it
202 just matches our style of explicitly marking overrides "virtual".
204 * WebCoreSupport/WebInspectorClient.h: Made the WebInspectorClient and
205 WebInspectorFrontendClient destructors explicitly virtual.
207 2011-05-03 Adam Roben <aroben@apple.com>
209 Fix most strict PassOwnPtr violations on Windows
211 Fixes <http://webkit.org/b/60025> Windows should (almost) build with strict PassOwnPtr
214 Reviewed by Anders Carlsson.
216 * WebCoreSupport/WebInspectorClient.h: Made the destructor public, which is required now
217 that this type is put into a PassOwnPtr. (Previously, only
218 WebCore::InspectorFrontendClientLocal was put into a [Pass]OwnPtr.)
220 * FullscreenVideoController.cpp:
221 * WebCoreSupport/WebFrameLoaderClient.cpp:
222 * WebCoreSupport/WebInspectorClient.cpp:
224 * WebHistoryItem.cpp:
227 2011-05-01 Sam Weinig <sam@webkit.org>
233 2011-05-01 Patrick Gansterer <paroga@webkit.org>
235 Reviewed by Adam Barth.
237 Fix OwnPtr strict issues in windows build
238 https://bugs.webkit.org/show_bug.cgi?id=59878
240 * FullscreenVideoController.cpp:
241 (FullscreenVideoController::FullscreenVideoController):
242 (FullscreenVideoController::createHUDWindow):
243 * WebCoreSupport/WebInspectorClient.cpp:
244 (WebInspectorClient::highlight):
245 * WebElementPropertyBag.cpp:
246 (WebElementPropertyBag::WebElementPropertyBag):
247 * WebNodeHighlight.cpp:
248 (WebNodeHighlight::update):
249 * WebNotificationCenter.cpp:
250 (WebNotificationCenter::WebNotificationCenter):
254 (WebView::handleMouseEvent):
255 (WebView::registerEmbeddedViewMIMEType):
257 2011-04-29 Jer Noble <jer.noble@apple.com>
259 Reviewed by Adam Roben.
261 Implement FULLSCREEN_API on Windows, Part 2: WebKit
262 https://bugs.webkit.org/show_bug.cgi?id=59785
264 Initial implementation of full screen API on windows. No animation
265 occurs when entering or exiting full screen. Re-use existing window
266 classes (MediaPlayerPrivateFullscreenWindow) to host the webView.
268 * WebCoreSupport/WebChromeClient.cpp:
269 (WebChromeClient::supportsFullScreenForElement): Call into WebView.
270 (WebChromeClient::enterFullScreenForElement): Call into WebFullScreenController.
271 (WebChromeClient::exitFullScreenForElement): Ditto.
272 * WebFullScreenController.cpp: Added.
273 (WebFullScreenController::Private::Private): Private data storage class.
274 (WebFullScreenController::Private::~Private):
275 (WebFullScreenController::Private::fullscreenClientWndProc): Handle window
276 message for full screen window.
277 (WebFullScreenController::WebFullScreenController):
278 (WebFullScreenController::~WebFullScreenController):
279 (WebFullScreenController::setElement): Added.
280 (WebFullScreenController::element): Added.
281 (WebFullScreenController::isFullScreen): Added.
282 (WebFullScreenController::enterFullScreen): Create and display full screen
283 window, moving webView as child window.
284 (WebFullScreenController::exitFullScreen): Destroy full screen window and
285 move webView back where we found it.
286 * WebFullScreenController.h: Added.
287 * WebKit.vcproj/WebKit.vcproj:
289 (WebView::keyDown): Handle the ESC key.
290 (WebView::notifyPreferencesChanged):
291 (WebView::supportsFullScreenForElement): Do not support full screen if
292 full screen preference is disabled, or if keyboard access is requested.
293 (WebView::isFullScreen): Added.
294 (WebView::fullScreenController): Added.
297 2011-04-28 Jer Noble <jer.noble@apple.com>
299 Reviewed by Jon Honeycutt.
301 Implement FULLSCREEN_API on Windows, Part 1: Stubs
302 https://bugs.webkit.org/show_bug.cgi?id=59778
304 Create all the stubs necessary to for enabling FULLSCREEN_API
305 on Windows. This includes the COM interfaces for preferences and
306 for overriding full screen behavior in a UI Delegate.
308 * Interfaces/IWebPreferencesPrivate.idl: Add functions for enabling
309 full screen preference.
310 * Interfaces/IWebUIDelegatePrivate.idl: Add functions for overriding
311 full screen behavior.
312 * WebCoreSupport/WebChromeClient.cpp:
313 (WebChromeClient::supportsFullScreenForElement): Added.
314 (WebChromeClient::enterFullScreenForElement): Added.
315 (WebChromeClient::exitFullScreenForElement): Added.
316 * WebCoreSupport/WebChromeClient.h:
317 * WebPreferenceKeysPrivate.h: Added WebKitFullScreenEnable key.
318 * WebPreferences.cpp:
319 (WebPreferences::isFullScreenEnabled): Added. Implements function
320 defined in IWebUIDelegatePrivate.
321 (WebPreferences::setFullScreenEnabled): Ditto.
324 2011-04-28 Adam Barth <abarth@webkit.org>
326 Reviewed by Eric Seidel.
329 https://bugs.webkit.org/show_bug.cgi?id=59678
331 Remove WML-related enumeration.
333 * Interfaces/IWebFramePrivate.idl:
335 2011-04-26 Brent Fulgham <bfulgham@webkit.org>
337 Reviewed by Adam Roben.
339 Implement a transparent WebView under Windows. This feature
340 allows the user to create small web-based applications, similar
341 to the dashboard on Mac OS X.
342 https://bugs.webkit.org/show_bug.cgi?id=58300
344 * Interfaces/IWebViewPrivate.idl: Add new set/get accessors to
345 change the state of a WebView into a Layered Window, or back
346 into a standard window.
347 * Interfaces/WebKit.idl: touch to force clean build
349 (WebView::WebView): Set layered window state in constructor.
350 (WebView::updateBackingStore): Cleanup old bitmap when finished.
351 (WebView::performLayeredWindowUpdate): New method to do the work
352 of calling ::UpdateLayeredWindow for the WebView with proper
354 (WebView::paint): Small change to prevent accelerated compositing
355 when using a layered window. DirectX is not compatible with
356 ::UpdateLayeredWindow (at least currently).
357 (WebView::WebViewWndProc): Adjust main window procedure to avoid
358 painting a default background on a layered window (this is handled
359 by Windows during compositing), and to deal with paint messages
360 properly in the layered window case.
361 (WebView::active): The layered window is not a child window,
362 so the active state logic is slightly different.
363 (WebView::setUsesLayeredWindow): New set method for layered stated.
364 When called, it will convert a WebView into a Layered Window.
365 (WebView::usesLayeredWindow): Accessor
367 (WebView::setUsesLayeredWindow): Declare new accessor
368 (WebView::usesLayeredWindow): Declare new accessor
370 2011-04-21 Ryosuke Niwa <rniwa@webkit.org>
374 * WebCoreSupport/WebEditorClient.h:
376 2011-04-21 Ryosuke Niwa <rniwa@webkit.org>
378 Reviewed by Sam Weinig.
380 Add Frame* to the argument lists of canCopyCut and canPaste
381 https://bugs.webkit.org/show_bug.cgi?id=59153
383 * WebCoreSupport/WebEditorClient.cpp:
384 (WebEditorClient::canCopyCut):
385 (WebEditorClient::canPaste):
386 * WebCoreSupport/WebEditorClient.h:
388 2011-04-20 Brent Fulgham <bfulgham@webkit.org>
390 Reviewed by Martin Robinson.
392 Provide missing implementation of WebMutableURLRequest::mutableCopy.
393 This was preventing DumpRenderTree from working properly under
395 https://bugs.webkit.org/show_bug.cgi?id=59034
397 * WebMutableURLRequest.cpp:
398 (WebMutableURLRequest::mutableCopy): Implement cURL version of the
401 2011-04-19 Vsevolod Vlasov <vsevik@chromium.org>
403 Reviewed by Pavel Feldman.
405 Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
406 https://bugs.webkit.org/show_bug.cgi?id=58883
408 * WebCoreSupport/WebFrameLoaderClient.h:
410 2011-04-18 Timothy Hatcher <timothy@apple.com>
412 Remove the two commands that make en.lproj and copy Localizable.strings.
414 Rubber-stamped by Adam Roben.
416 * WebKit.vcproj/WebKitLibPostBuild.cmd:
418 2011-04-18 Patrick Gansterer <paroga@webkit.org>
420 Reviewed by Adam Roben.
422 Include <WebCore/COMPtr.h> instead of "COMPtr.h"
423 https://bugs.webkit.org/show_bug.cgi?id=58744
425 * DOMCoreClasses.cpp:
426 * DOMHTMLClasses.cpp:
427 * WebActionPropertyBag.cpp:
428 * WebBackForwardList.cpp:
429 * WebCoreSupport/WebGeolocationClient.h:
433 * WebHistoryItem.cpp:
434 * WebIconDatabase.cpp:
435 * WebNavigationData.h:
436 * WebPreferences.cpp:
438 * WebURLAuthenticationChallenge.cpp:
439 * WebURLAuthenticationChallengeSender.cpp:
440 * WebURLAuthenticationChallengeSenderCFNet.cpp:
441 * WebURLAuthenticationChallengeSenderCurl.cpp:
444 2011-04-17 Patrick Gansterer <paroga@webkit.org>
446 Reviewed by Adam Barth.
448 Rename PLATFORM(CG) to USE(CG)
449 https://bugs.webkit.org/show_bug.cgi?id=58729
452 (WebFrame::spoolPages):
454 * WebPreferences.cpp:
455 (WebPreferences::setFontSmoothing):
456 (WebPreferences::setFontSmoothingContrast):
458 (systemParameterChanged):
460 2011-04-16 Sam Weinig <sam@webkit.org>
462 Reviewed by Simon Fraser.
464 Windows should use WebCore localized strings
465 <rdar://problem/9119405>
466 https://bugs.webkit.org/show_bug.cgi?id=58733
468 * WebCoreSupport/WebEditorClient.cpp:
469 (undoNameForEditAction):
470 (WebEditorClient::registerCommandForUndo):
471 * WebPreferences.cpp:
472 (WebPreferences::initializeDefaultSettings):
473 * WebURLResponse.cpp:
474 (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode):
475 (WebURLResponse::localizedStringForStatusCode):
476 Change to use WEB_UI_STRING.
478 * WebCoreSupport/WebPlatformStrategies.cpp:
479 * WebCoreSupport/WebPlatformStrategies.h:
480 Remove the localization strategy in favor of using the default one.
482 2011-04-16 Patrick Gansterer <paroga@webkit.org>
484 Reviewed by Eric Seidel.
486 Rename PLATFORM(CAIRO) to USE(CAIRO)
487 https://bugs.webkit.org/show_bug.cgi?id=55192
490 (WebFrame::spoolPages):
493 2011-04-14 Adam Roben <aroben@apple.com>
495 Replace some known-to-fail assertions with FIXMEs
497 These assertions get hit during various layout tests. They indicate that we're sometimes
498 doing some extra work when a page goes into accelerated compositing mode, but otherwise
499 there's no bad effect.
501 See <http://webkit.org/b/58539> for more details.
503 Rubber-stamped by John Sullivan.
506 (WebView::paintIntoBackingStore):
507 (WebView::paintIntoWindow):
508 Replaced assertions with FIXMEs.
510 2011-04-13 James Robinson <jamesr@chromium.org>
512 Reviewed by Simon Fraser.
514 Allow setting composited backing stores for scrollbars and scroll corners
515 https://bugs.webkit.org/show_bug.cgi?id=57202
517 Update WebScrollBar to reflect ScrollableArea interface changes.
520 (WebScrollBar::invalidateScrollCornerRect):
521 (WebScrollBar::scrollCornerPresent):
522 (WebScrollBar::scrollCornerRect):
524 2011-04-12 Alice Liu <alice.liu@apple.com>
526 Reviewed by Sam Weinig.
528 https://bugs.webkit.org/show_bug.cgi?id=58292
529 Provide new setting to allow site icon loading despite disabling automatic image loading in general.
531 * Interfaces/IWebPreferencesPrivate.idl: Added prefs.
532 * Interfaces/WebKit.idl: Touch file to force autogeneration
533 * WebPreferenceKeysPrivate.h: Add preference key.
534 * WebPreferences.cpp:
535 (WebPreferences::initializeDefaultSettings): Initialize setting to false.
536 (WebPreferences::setLoadsSiteIconsIgnoringImageLoadingPreference): Added setter
537 (WebPreferences::loadsSiteIconsIgnoringImageLoadingPreference): Added getter
540 (WebView::notifyPreferencesChanged): Add to settings that get propagated upon changes.
542 2011-04-11 Alexey Proskuryakov <ap@apple.com>
544 Reviewed by Maciej Stachowiak.
546 WebKit2: Cannot use Ctrl-Delete as a custom keyboard shortcut
547 https://bugs.webkit.org/show_bug.cgi?id=58265
548 <rdar://problem/9221468>
550 * WebView.cpp: (WebView::keyDown): Removed special handling of Backspace, which is unnecessary
551 now that WebCore implements it.
553 2011-04-06 Brian Weinstein <bweinstein@apple.com>
555 Reviewed by Adam Roben.
557 WebKit2: Support Windows 7 Gestures
558 https://bugs.webkit.org/show_bug.cgi?id=49824
559 <rdar://problem/8689728>
561 Move WindowsTouch.h from WebKit/win to WebCore/platform/win, so it can be
562 used in both WebKit and WebKit2.
564 * WebKit.vcproj/WebKit.vcproj: Remove WindowsTouch.h.
565 * WebView.cpp: Include WindowsTouch.h from WebCore instead of WebKit.
566 * WindowsTouch.h: Removed.
568 2011-04-05 Martin Robinson <mrobinson@igalia.com>
570 Reviewed by Eric Seidel.
572 [Cairo] Better separate the concerns of GraphicsContextCairo
573 https://bugs.webkit.org/show_bug.cgi?id=55150
576 (hdcFromContext): Modify this method to take PlatformContextCairo
577 instead of a cairo_t.
578 (WebFrame::spoolPage): Update to reflect new platform context.
579 (WebFrame::spoolPages): Ditto.
582 2011-04-04 MORITA Hajime <morrita@google.com>
584 Reviewed by Ryosuke Niwa.
586 [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
587 https://bugs.webkit.org/show_bug.cgi?id=56085
589 * WebCoreSupport/WebEditorClient.h:
590 (WebEditorClient::requestCheckingOfString):
592 2011-04-04 Alexey Proskuryakov <ap@apple.com>
594 Reviewed by Dan Bernstein.
596 REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
597 https://bugs.webkit.org/show_bug.cgi?id=51230
598 <rdar://problem/8780989>
600 * WebView.cpp: (WebView::keyDown): Moved Caps Lock handling from WebKits to WebCore,
601 because WebKit shouldn't be smart.
603 2011-04-04 Steve Falkenburg <sfalken@apple.com>
605 Reviewed by Adam Roben.
607 Remove unused AnalyzeWithLargeStack code from Windows build files
608 https://bugs.webkit.org/show_bug.cgi?id=57771
610 This was used for us to build with prefast automatically,
611 but it is out-of-date and hasn't been used for some time.
612 Removing completely for now.
614 * WebKit.vcproj/WebKitLibPreBuild.cmd:
616 2011-04-01 Adam Roben <aroben@apple.com>
618 Remove the WebView's "this" pointer from its HWND when WM_DESTROY is received
620 This will ensure we don't try to process any window messages after the window has been
623 Covered by existing tests.
625 Fixes <http://webkit.org/b/55054>.
627 Reviewed by Steve Falkenburg and John Sullivan.
630 (WebView::setIsBeingDestroyed): Moved here from the header file, and added a call to clear
631 out the this pointer from the HWND.
632 (WebView::WebViewWndProc): Changed a runtime check into an assertion.
634 * WebView.h: Moved setIsBeingDestroyed from here to the .cpp file.
636 2011-03-31 Evan Martin <evan@chromium.org>
638 Reviewed by Eric Seidel.
640 <title> should support dir attribute
641 https://bugs.webkit.org/show_bug.cgi?id=50961
643 Update to new FrameLoaderClient interface.
645 * WebCoreSupport/WebFrameLoaderClient.cpp:
646 (WebFrameLoaderClient::dispatchDidReceiveTitle):
647 * WebCoreSupport/WebFrameLoaderClient.h:
649 2011-03-30 Steve Falkenburg <sfalken@apple.com>
651 Reviewed by Adam Roben.
653 Share most vsprops between Release and Production builds in releaseproduction.vsprops
654 https://bugs.webkit.org/show_bug.cgi?id=57508
656 * WebKit.vcproj/InterfacesProduction.vsprops:
657 * WebKit.vcproj/InterfacesRelease.vsprops:
658 * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
659 * WebKit.vcproj/WebKitGUIDProduction.vsprops:
660 * WebKit.vcproj/WebKitGUIDRelease.vsprops:
661 * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
662 * WebKit.vcproj/WebKitLibProduction.vsprops:
663 * WebKit.vcproj/WebKitLibRelease.vsprops:
664 * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:
666 2011-03-30 Steve Falkenburg <sfalken@apple.com>
668 Reviewed by Adam Roben.
670 Update Windows production build logic for new production configurations
671 https://bugs.webkit.org/show_bug.cgi?id=57494
673 * WebKit.vcproj/InterfacesProduction.vsprops:
674 * WebKit.vcproj/WebKit.make:
675 * WebKit.vcproj/WebKitGUIDProduction.vsprops:
676 * WebKit.vcproj/WebKitLibProduction.vsprops:
678 2011-03-30 Steve Falkenburg <sfalken@apple.com>
680 Reviewed by Adam Roben.
682 Rename Windows configuration Release_LTCG to Production for clarity
683 https://bugs.webkit.org/show_bug.cgi?id=57465
685 * WebKit.vcproj/Interfaces.vcproj:
686 * WebKit.vcproj/InterfacesProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/InterfacesReleaseLTCG.vsprops.
687 * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Removed.
688 * WebKit.vcproj/WebKit.sln:
689 * WebKit.vcproj/WebKit.submit.sln:
690 * WebKit.vcproj/WebKit.vcproj:
691 * WebKit.vcproj/WebKitGUID.vcproj:
692 * WebKit.vcproj/WebKitGUIDProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops.
693 * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Removed.
694 * WebKit.vcproj/WebKitLibProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitLibReleaseLTCG.vsprops.
695 * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Removed.
697 2011-03-29 Patrick Gansterer <paroga@webkit.org>
699 Reviewed by Adam Roben.
701 [WIN] Remove unused GEN_DOMObject files
702 https://bugs.webkit.org/show_bug.cgi?id=57370
704 * GEN_DOMObject.cpp: Removed.
705 * GEN_DOMObject.h: Removed.
707 2011-03-29 Steve Falkenburg <sfalken@apple.com>
711 * WebCoreSupport/WebPlatformStrategies.h:
713 2011-03-29 Steve Falkenburg <sfalken@apple.com>
717 * WebCoreSupport/WebPlatformStrategies.cpp:
718 (WebPlatformStrategies::contextMenuItemTagLookUpInDictionary):
720 2011-03-29 Patrick Gansterer <paroga@webkit.org>
722 Unreviewed. Try to fix Windows build.
724 * DOMEventsClasses.cpp: Added initguid.h again.
726 2011-03-29 Patrick Gansterer <paroga@webkit.org>
728 Reviewed by Adam Roben.
730 [WIN] Cleanup includes in WebKit files
731 https://bugs.webkit.org/show_bug.cgi?id=57381
733 Add missing includes to fix build without precompiled header.
734 Also fix paths in #include statements (e.g. WTF -> wtf).
737 * AccessibleDocument.h: Replace using statement with a qualified name.
738 * CFDictionaryPropertyBag.h:
739 * DOMEventsClasses.cpp:
741 * DefaultDownloadDelegate.cpp:
742 * DefaultDownloadDelegate.h:
743 * DefaultPolicyDelegate.cpp:
744 * DefaultPolicyDelegate.h:
745 * WebCoreSupport/EmbeddedWidget.h:
746 * WebCoreSupport/WebInspectorDelegate.h:
748 * WebDatabaseManager.h:
749 * WebElementPropertyBag.h:
750 * WebFramePolicyListener.h:
751 * WebGeolocationPolicyListener.h:
753 * WebKitClassFactory.h:
755 * WebSerializedJSValue.h:
756 * WebUserContentURLPattern.h:
758 2011-03-29 Steve Falkenburg <sfalken@apple.com>
760 Reviewed by Darin Adler.
762 Use per-configuration vsprops in WebKit to avoid WebKitVSPropsRedirectionDir removal by MSVC IDE
763 https://bugs.webkit.org/show_bug.cgi?id=57383
765 Visual Studio's IDE was removing instances of $(WebKitVSPropsRedirectionDir) from
766 InheritedPropertySheet rules in our vcproj files when the vcproj was edited from within
767 the IDE. To avoid this, add a separate vsprops file for each project configuration that
768 contains the required inherited property sheets.
770 * WebKit.vcproj/Interfaces.vcproj:
771 * WebKit.vcproj/InterfacesDebug.vsprops: Added.
772 * WebKit.vcproj/InterfacesDebugAll.vsprops: Added.
773 * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: Added.
774 * WebKit.vcproj/InterfacesRelease.vsprops: Added.
775 * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: Added.
776 * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Added.
777 * WebKit.vcproj/WebKit.vcproj:
778 * WebKit.vcproj/WebKitGUID.vcproj:
779 * WebKit.vcproj/WebKitGUIDDebug.vsprops: Added.
780 * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: Added.
781 * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: Added.
782 * WebKit.vcproj/WebKitGUIDRelease.vsprops: Added.
783 * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: Added.
784 * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Added.
785 * WebKit.vcproj/WebKitLibDebug.vsprops: Added.
786 * WebKit.vcproj/WebKitLibDebugAll.vsprops: Added.
787 * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Added.
788 * WebKit.vcproj/WebKitLibRelease.vsprops: Added.
789 * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Added.
790 * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Added.
792 2011-03-29 Patrick Gansterer <paroga@webkit.org>
794 Reviewed by Adam Roben.
796 Remove #pragma warning push and pop statements
797 https://bugs.webkit.org/show_bug.cgi?id=57198
799 We do not need to disable warnings via #pragma since we started
800 compiling WebCore with the same compiler warnings flags as WebKit.
803 * DOMCoreClasses.cpp:
804 * DOMEventsClasses.cpp:
805 * DOMHTMLClasses.cpp:
806 * DefaultDownloadDelegate.cpp:
807 * DefaultPolicyDelegate.cpp:
808 * MarshallingHelpers.cpp:
809 * WebActionPropertyBag.cpp:
810 * WebActionPropertyBag.h:
812 * WebCoreSupport/WebDragClient.cpp:
813 * WebCoreSupport/WebEditorClient.cpp:
814 * WebCoreSupport/WebEditorClient.h:
815 * WebCoreSupport/WebFrameLoaderClient.cpp:
816 * WebCoreSupport/WebFrameLoaderClient.h:
817 * WebCoreSupport/WebInspectorClient.cpp:
818 * WebDocumentLoader.h:
820 * WebDownloadCFNet.cpp:
821 * WebDownloadCurl.cpp:
822 * WebElementPropertyBag.cpp:
827 * WebFramePolicyListener.cpp:
828 * WebFramePolicyListener.h:
830 * WebHistoryItem.cpp:
831 * WebIconDatabase.cpp:
834 * WebJavaScriptCollector.cpp:
835 * WebKitGraphics.cpp:
836 * WebKitSystemBits.cpp:
837 * WebLocalizableStrings.cpp:
838 * WebMutableURLRequest.cpp:
839 * WebMutableURLRequest.h:
840 * WebNodeHighlight.cpp:
841 * WebNodeHighlight.h:
842 * WebNotificationCenter.cpp:
847 * WebURLAuthenticationChallenge.cpp:
848 * WebURLAuthenticationChallenge.h:
849 * WebURLAuthenticationChallengeSender.cpp:
850 * WebURLAuthenticationChallengeSenderCFNet.cpp:
851 * WebURLAuthenticationChallengeSenderCurl.cpp:
852 * WebURLCredential.cpp:
853 * WebURLCredential.h:
854 * WebURLProtectionSpace.cpp:
855 * WebURLProtectionSpace.h:
856 * WebURLResponse.cpp:
859 2011-03-29 Brent Fulgham <bfulgham@webkit.org>
861 Unreviewed build fix after r82247.
863 * WebMutableURLRequest.cpp: The new CertificateCFWin routines
864 are not CFNetwork-specific. All CF-based ports can use them.
866 2011-03-29 Patrick Gansterer <paroga@webkit.org>
868 Reviewed by Adam Roben.
870 [WIN] Use WCHAR instead of TCHAR
871 https://bugs.webkit.org/show_bug.cgi?id=57191
873 We always use the UNICODE versions of windows functions, so
874 the usage of TCHAR makes no sense and mixing them is bad style.
876 * DefaultDownloadDelegate.cpp:
877 * WebCoreSupport/WebChromeClient.cpp:
878 * WebCoreSupport/WebContextMenuClient.cpp:
879 * WebCoreSupport/WebInspectorClient.cpp:
881 * WebNotificationCenter.cpp:
882 * WebPreferences.cpp:
883 * WebURLResponse.cpp:
886 2011-03-29 Jeff Miller <jeffm@apple.com>
888 Reviewed by Jon Honeycutt.
890 Add WebCore::copyCertificateToData() on Windows
891 https://bugs.webkit.org/show_bug.cgi?id=57296
893 Remove duplicate code that implemented this functionality in WebMutableURLRequest.cpp and use WebCore::copyCertificateToData() instead.
895 * WebMutableURLRequest.cpp:
896 (WebMutableURLRequest::setClientCertificate): Use WebCore::copyCertificateToData().
898 2011-03-28 Patrick Gansterer <paroga@webkit.org>
900 Reviewed by Adam Roben.
902 [WIN] Remove unused DOMCreateInstance files
903 https://bugs.webkit.org/show_bug.cgi?id=57193
905 * DOMCreateInstance.cpp: Removed.
906 * DOMCreateInstance.h: Removed.
908 2011-03-28 Adele Peterson <adele@apple.com>
912 * WebFrame.cpp: (WebFrame::hasSpellingMarker):
913 Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
915 2011-03-28 Jeff Miller <jeffm@apple.com>
917 Reviewed by Adam Roben.
919 Include certificate when sending a WebCore::ResourceError to UI process on Windows
920 https://bugs.webkit.org/show_bug.cgi?id=57195
922 Rename callers of wkGetSSLPeerCertificateData() to use wkGetSSLPeerCertificateDataBytePtr(), since it returns a void*.
925 (WebError::sslPeerCertificate):
926 * WebURLResponse.cpp:
927 (WebURLResponse::sslPeerCertificate):
929 2011-03-28 Darin Adler <darin@apple.com>
931 Set eol-style to native on more files. I noticed the last check-in had an entire file
932 changing because of an EOL style change, and setting this property prevents that from
933 happening in future. We may want to do this systematically for more of WebKit later.
935 * AccessibleBase.cpp: Added property svn:eol-style.
936 * AccessibleBase.h: Added property svn:eol-style.
937 * AccessibleDocument.cpp: Added property svn:eol-style.
938 * AccessibleDocument.h: Added property svn:eol-style.
939 * AccessibleImage.cpp: Added property svn:eol-style.
940 * AccessibleImage.h: Added property svn:eol-style.
941 * COMVariantSetter.h: Added property svn:eol-style.
942 * FullscreenVideoController.cpp: Added property svn:eol-style.
943 * FullscreenVideoController.h: Added property svn:eol-style.
944 * WebCoreSupport/EmbeddedWidget.cpp: Added property svn:eol-style.
945 * WebCoreSupport/EmbeddedWidget.h: Added property svn:eol-style.
946 * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: Added property svn:eol-style.
947 * WebCoreSupport/WebDesktopNotificationsDelegate.h: Added property svn:eol-style.
948 * WebCoreSupport/WebFrameLoaderClient.cpp: Added property svn:eol-style.
949 * WebCoreSupport/WebInspectorDelegate.cpp: Added property svn:eol-style.
950 * WebCoreSupport/WebInspectorDelegate.h: Added property svn:eol-style.
951 * WebCoreSupport/WebPlatformStrategies.cpp: Added property svn:eol-style.
952 * WebCoreSupport/WebPlatformStrategies.h: Added property svn:eol-style.
953 * WebCoreSupport/WebPluginHalterClient.cpp: Added property svn:eol-style.
954 * WebCoreSupport/WebPluginHalterClient.h: Added property svn:eol-style.
956 2011-03-28 Patrick Gansterer <paroga@webkit.org>
958 Unreviewed build fix.
960 * COMPropertyBag.h: Added missing include.
961 * WebKitCOMAPI.h: Ditto.
962 * WebCoreSupport/WebFrameLoaderClient.h: Added missing forward declaration.
964 2011-03-25 Sam Weinig <sam@webkit.org>
966 Reviewed by Jon Honeycutt.
968 WebScrollBar not updating when calling WebScrollBar::setValue.
969 <rdar://problem/9143871>
972 (WebScrollBar::setValue):
973 Call scrollToOffsetWithoutAnimation to actually update the scroll position.
975 2011-03-25 Andy Estes <aestes@apple.com>
977 Reviewed by Adele Peterson.
979 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
980 https://bugs.webkit.org/show_bug.cgi?id=49016
982 Update objectContentType() implementation to handle the
983 shouldPreferPlugInsForImages flag.
986 (WebFrame::objectContentType):
989 2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com>
991 Unreviewed, rolling out r81916 and r81917.
992 http://trac.webkit.org/changeset/81916
993 http://trac.webkit.org/changeset/81917
994 https://bugs.webkit.org/show_bug.cgi?id=57071
996 broke a test on platforms that do not have QuickTime installed
997 (Requested by estes on #webkit).
1000 (WebFrame::objectContentType):
1003 2011-03-24 Andy Estes <aestes@apple.com>
1005 Reviewed by Darin Adler.
1007 REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
1008 https://bugs.webkit.org/show_bug.cgi?id=49016
1010 Update objectContentType() implementation to handle the
1011 shouldPreferPlugInsForImages flag.
1014 (WebFrame::objectContentType):
1017 2011-03-23 Brady Eidson <beidson@apple.com>
1019 Reviewed by Sam Weinig.
1021 Change IconDatabase opening to allow for arbitrary filenames
1022 https://bugs.webkit.org/show_bug.cgi?id=56977
1024 * WebIconDatabase.cpp:
1025 (WebIconDatabase::startUpIconDatabase):
1027 2011-03-22 Brady Eidson <beidson@apple.com>
1029 Reviewed by Sam Weinig.
1031 <rdar://problem/8648311> and https://bugs.webkit.org/show_bug.cgi?id=56876
1032 WK2 Icon DB: Expand IconDatabaseClient interface and move it to the main thread
1034 Note that while the new client calls always come through on the main thread, our mechanisms to
1035 route dispatches to the main thread are still valid and will still work.
1037 Update to the new IconDatabaseClient interface:
1038 * WebIconDatabase.cpp:
1039 (WebIconDatabase::performImport):
1040 (WebIconDatabase::didRemoveAllIcons):
1041 (WebIconDatabase::didImportIconURLForPageURL):
1042 (WebIconDatabase::didImportIconDataForPageURL):
1043 (WebIconDatabase::didChangeIconForPageURL):
1044 (WebIconDatabase::didFinishURLImport):
1045 * WebIconDatabase.h:
1047 2011-03-17 Brady Eidson <beidson@apple.com>
1049 Reviewed by Sam Weinig.
1051 https://bugs.webkit.org/show_bug.cgi?id=56425
1052 More groundwork for WebKit2 IconDatabase
1054 Update already-used function names:
1055 * WebIconDatabase.cpp:
1056 (WebIconDatabase::iconForURL):
1057 (WebIconDatabase::iconURLForURL):
1058 (WebIconDatabase::hasIconForURL):
1060 2011-03-18 Pavel Podivilov <podivilov@chromium.org>
1062 Reviewed by Yury Semikhatsky.
1064 Web Inspector: implement inspector session storage.
1065 https://bugs.webkit.org/show_bug.cgi?id=56643
1067 * WebCoreSupport/WebInspectorClient.cpp:
1068 (WebInspectorClient::saveSessionSetting):
1069 (WebInspectorClient::loadSessionSetting):
1070 (WebInspectorFrontendClient::saveSessionSetting):
1071 (WebInspectorFrontendClient::loadSessionSetting):
1072 * WebCoreSupport/WebInspectorClient.h:
1074 2011-03-11 Brady Eidson <beidson@apple.com>
1076 More Windows build fix for https://bugs.webkit.org/show_bug.cgi?id=56216
1078 * WebCoreStatistics.cpp:
1079 * WebIconDatabase.cpp:
1081 2011-03-09 Peter Kasting <pkasting@google.com>
1083 Reviewed by Mihai Parparita.
1085 Unify Windows version checks.
1086 https://bugs.webkit.org/show_bug.cgi?id=55979
1089 (WebView::standardUserAgentWithApplicationName):
1090 (webKitVersionString):
1092 2011-03-07 Sam Weinig <sam@webkit.org>
1094 Reviewed by Anders Carlsson.
1096 Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
1097 https://bugs.webkit.org/show_bug.cgi?id=55827
1099 Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
1100 and pass the entire response, instead of just the MIMEType.
1103 (WebFrame::dispatchDecidePolicyForResponse):
1106 2011-03-04 Steve Falkenburg <sfalken@apple.com>
1108 Reviewed by Darin Adler.
1110 Adopt VersionStamper tool for Windows WebKit DLLs
1111 https://bugs.webkit.org/show_bug.cgi?id=55784
1113 Calculate the WebKit version for the useragent via autoversion.h
1114 instead of reading it back from the DLL.
1116 We now use a tool to stamp the version number onto the Apple WebKit DLLs
1117 during the post-build step.
1119 * WebKit.vcproj/WebKit.rc: Removed. This file wasn't used.
1120 * WebKit.vcproj/WebKitLibCommon.vsprops: Fetch version from a string resource.
1122 (WebView::standardUserAgentWithApplicationName): Use __BUILD_NUMBER_SHORT__ for the version.
1123 (osVersion): Removed
1125 2011-03-03 Anders Carlsson <andersca@apple.com>
1127 Reviewed by Sam Weinig.
1129 Get rid of Page::globalHistoryItem
1130 https://bugs.webkit.org/show_bug.cgi?id=55738
1132 * WebCoreSupport/WebFrameLoaderClient.cpp:
1133 (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
1134 Get the current history item and update it using WebView::setGlobalHistoryItem.
1136 * WebCoreSupport/WebFrameLoaderClient.h:
1138 (WebView::globalHistoryItem):
1139 (WebView::setGlobalHistoryItem):
1142 2011-03-03 Brent Fulgham <bfulgham@webkit.org>
1144 Unreviewed build correction.
1147 (scaleFactor): Update after 77286 to replace right/bottom
1148 with new maxX/maxY terminology.
1150 2011-03-03 Brady Eidson <beidson@apple.com>
1152 Reviewed by Darin Adler.
1154 https://bugs.webkit.org/show_bug.cgi?id=55721
1155 Global IconDatabase should be returned by reference, not as a pointer
1157 * WebCoreStatistics.cpp:
1158 (WebCoreStatistics::iconPageURLMappingCount):
1159 (WebCoreStatistics::iconRetainedPageURLCount):
1160 (WebCoreStatistics::iconRecordCount):
1161 (WebCoreStatistics::iconsWithDataCount):
1162 * WebIconDatabase.cpp:
1163 (WebIconDatabase::init):
1164 (WebIconDatabase::startUpIconDatabase):
1165 (WebIconDatabase::iconForURL):
1166 (WebIconDatabase::retainIconForURL):
1167 (WebIconDatabase::releaseIconForURL):
1168 (WebIconDatabase::removeAllIcons):
1169 (WebIconDatabase::iconURLForURL):
1170 (WebIconDatabase::isEnabled):
1171 (WebIconDatabase::setEnabled):
1172 (WebIconDatabase::hasIconForURL):
1173 (WebIconDatabase::getOrCreateDefaultIconBitmap):
1177 2011-03-03 Alexey Proskuryakov <ap@apple.com>
1179 Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
1182 * WebCoreSupport/WebChromeClient.h:
1184 2011-03-02 Alexey Proskuryakov <ap@apple.com>
1186 Reviewed by Darin Adler.
1188 REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
1189 https://bugs.webkit.org/show_bug.cgi?id=55633
1190 <rdar://problem/8963023>
1192 * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::keyboardUIMode):
1193 * WebCoreSupport/WebChromeClient.h:
1194 Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
1195 this platform doesn't observe or have full keyboard access state.
1197 2011-03-03 Peter Kasting <pkasting@google.com>
1199 Reviewed by James Robinson.
1201 Drop redundant "Windows; " from the Windows-specific User Agent string.
1202 https://bugs.webkit.org/show_bug.cgi?id=54567
1205 (WebView::standardUserAgentWithApplicationName):
1207 2011-03-01 Brian Weinstein <bweinstein@apple.com>
1209 Reviewed by Adam Roben.
1211 Part of WebKit2: Need a way to send notifications to client when cookies change
1212 https://bugs.webkit.org/show_bug.cgi?id=55427
1213 <rdar://problem/9056027>
1215 Add stubs for CookiesStrategy on Windows WebKit1.
1217 * WebCoreSupport/WebPlatformStrategies.cpp:
1218 (WebPlatformStrategies::createCookiesStrategy):
1219 (WebPlatformStrategies::notifyCookiesChanged):
1220 * WebCoreSupport/WebPlatformStrategies.h:
1222 2011-02-28 Chang Shu <cshu@webkit.org>
1224 Reviewed by Ryosuke Niwa.
1226 Remove the support of Frame::isContentEditable and its dependencies.
1227 https://bugs.webkit.org/show_bug.cgi?id=54292
1229 Remove the WebKit side implementation.
1231 * WebCoreSupport/WebEditorClient.cpp:
1232 * WebCoreSupport/WebEditorClient.h:
1234 2011-02-28 Adam Roben <aroben@apple.com>
1236 Build TestWebKitAPIInjectedBundle on Windows
1238 Fixes <http://webkit.org/b/55420> run-api-tests doesn't run injected bundle tests on Windows
1240 Reviewed by Darin Adler.
1242 * WebKit.vcproj/WebKit.sln: Added TestWebKitAPIInjectedBundle. Let VS simplify the paths to
1245 2011-02-28 Sheriff Bot <webkit.review.bot@gmail.com>
1247 Unreviewed, rolling out r78789.
1248 http://trac.webkit.org/changeset/78789
1249 https://bugs.webkit.org/show_bug.cgi?id=55409
1251 Incorrect canvas fallback implementation (Requested by
1252 inferno-sec on #webkit).
1254 * AccessibleBase.cpp:
1257 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
1259 Reviewed by Pavel Feldman.
1261 DumpRenderTree should reset frame opener between tests.
1262 https://bugs.webkit.org/show_bug.cgi?id=54874
1264 Added clearOpener method to IWebFramePrivate.
1265 Touched WebKit.idl to trigger build scripts.
1267 * Interfaces/IWebFramePrivate.idl:
1268 * Interfaces/WebKit.idl:
1270 (WebFrame::clearOpener):
1273 2011-02-26 Sheriff Bot <webkit.review.bot@gmail.com>
1275 Unreviewed, rolling out r79764.
1276 http://trac.webkit.org/changeset/79764
1277 https://bugs.webkit.org/show_bug.cgi?id=55295
1279 "broke Chromium builds" (Requested by rniwa on #webkit).
1281 * Interfaces/IWebFramePrivate.idl:
1282 * Interfaces/WebKit.idl:
1286 2011-02-26 Vsevolod Vlasov <vsevik@chromium.org>
1288 Reviewed by Pavel Feldman.
1290 DumpRenderTree should reset frame opener between tests.
1291 https://bugs.webkit.org/show_bug.cgi?id=54874
1293 Added clearOpener method to IWebFramePrivate.
1294 Touched WebKit.idl to trigger build scripts.
1296 * Interfaces/IWebFramePrivate.idl:
1297 * Interfaces/WebKit.idl:
1299 (WebFrame::clearOpener):
1302 2011-02-24 Peter Kasting <pkasting@google.com>
1304 Reviewed by Eric Seidel.
1306 Drop the "U; " encryption level from the User Agent string.
1307 https://bugs.webkit.org/show_bug.cgi?id=54566
1310 (WebView::standardUserAgentWithApplicationName):
1312 2011-02-24 Andrew Wilson <atwilson@chromium.org>
1314 Unreviewed, rolling out r79570.
1315 http://trac.webkit.org/changeset/79570
1316 https://bugs.webkit.org/show_bug.cgi?id=54874
1318 Breaks chromium build because glue/mocks/mock_web_frame.h/cc
1321 * Interfaces/IWebFramePrivate.idl:
1322 * Interfaces/WebKit.idl:
1326 2011-02-24 Vsevolod Vlasov <vsevik@chromium.org>
1328 Reviewed by Alexey Proskuryakov.
1330 DumpRenderTree should reset frame opener between tests.
1331 https://bugs.webkit.org/show_bug.cgi?id=54874
1333 Added clearOpener method to IWebFramePrivate.
1334 Touched WebKit.idl to trigger build scripts.
1336 * Interfaces/IWebFramePrivate.idl:
1337 * Interfaces/WebKit.idl:
1339 (WebFrame::clearOpener):
1342 2011-02-23 Patrick Gansterer <paroga@webkit.org>
1344 Reviewed by Darin Adler.
1346 Rename PLATFORM(CF) to USE(CF)
1347 https://bugs.webkit.org/show_bug.cgi?id=53540
1351 2011-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1353 Reviewed by Alexey Proskuryakov.
1355 Drop the language tag part from the User Agent string
1356 https://bugs.webkit.org/show_bug.cgi?id=54560
1359 (WebView::standardUserAgentWithApplicationName):
1361 2011-02-19 Charlie Reis <creis@chromium.org>
1363 Reviewed by Mihai Parparita.
1365 Ensure loading has stopped in HistoryController::goToItem
1366 https://bugs.webkit.org/show_bug.cgi?id=54517
1368 Add a FrameLoaderClient callback for whether to stop loading before goToItem.
1370 Test: http/tests/navigation/forward-to-fragment-fires-onload.html
1372 * WebCoreSupport/WebFrameLoaderClient.cpp:
1373 (WebFrameLoaderClient::shouldStopLoadingForHistoryItem): Added.
1374 * WebCoreSupport/WebFrameLoaderClient.h:
1376 2011-02-16 David Hyatt <hyatt@apple.com>
1378 Reviewed by Dan Bernstein.
1380 https://bugs.webkit.org/show_bug.cgi?id=54244
1382 Convert the line box tree to floating point and eliminate font rounding hacks. This patch removes all of the rounding
1383 hacks from the Font code and makes sure all Font APIs involving width measurement and width offsets use floats.
1385 The line box tree's x, y and logicalWidth members have all been converted to floats and all of the line box APIs have
1386 been changed as well.
1388 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).
1390 Background and border painting is using a rounding model, so borders and backgrounds will round to the nearest pixel when painting.
1392 Replaced elements still snap to integer positions on lines, and they use a rounding model as well, although their underlying line boxes
1393 still have a precise floating point position.
1395 Justification will now allow subpixel positioning to occur as well. Platforms that don't support subpixel positioning should already
1396 be rounding justification spacing in their font code.
1398 Many layout test results change on Mac, since rounding hacks were used there and are now gone.
1400 * WebKitGraphics.cpp:
1401 (CenterTruncateStringToWidth):
1402 (RightTruncateStringToWidth):
1404 2011-02-10 Luiz Agostini <luiz.agostini@openbossa.org>
1406 Reviewed by Adam Roben.
1408 HTML5 <details> and <summary>: localized text
1409 https://bugs.webkit.org/show_bug.cgi?id=54260
1411 The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
1412 provide the default label to be used by a <details> tag that has no <summary> child.
1414 * WebCoreSupport/WebPlatformStrategies.cpp:
1415 (WebPlatformStrategies::defaultDetailsSummaryText):
1416 * WebCoreSupport/WebPlatformStrategies.h:
1418 2011-02-16 Dominic Mazzoni <dmazzoni@google.com>
1420 Reviewed by Chris Fleizach.
1422 Add new role for canvas elements.
1424 https://bugs.webkit.org/show_bug.cgi?id=50126
1426 Test: accessibility/canvas-fallback-content.html
1428 * AccessibleBase.cpp:
1431 2011-02-15 Kenneth Russell <kbr@google.com>
1433 Unreviewed. Remove whitespace-only change from
1434 http://trac.webkit.org/changeset/78620 (https://bugs.webkit.org/show_bug.cgi?id=54312)
1435 now that the patch has passed the Windows build bots.
1437 * Interfaces/WebKit.idl:
1439 2011-02-15 Kenneth Russell <kbr@google.com>
1441 Reviewed by Darin Fisher.
1443 Allow controlling minimum DOMTimer interval on a per-page basis
1444 https://bugs.webkit.org/show_bug.cgi?id=54312
1446 Added needed methods to implement LayoutTestController's new
1447 setMinimumTimerInterval method. Includes whitespace-only change to
1448 WebKit.idl to trigger proper rebuild on bots; will be removed in
1451 * Interfaces/IWebViewPrivate.idl:
1452 * Interfaces/WebKit.idl:
1454 (WebView::initWithFrame):
1455 (WebView::defaultMinimumTimerInterval):
1456 (WebView::setMinimumTimerInterval):
1459 2011-01-26 MORITA Hajime <morrita@google.com>
1461 Reviewed by Ryosuke Niwa.
1463 Refactoring: Extract TextCheckerClient from EditorClient
1464 https://bugs.webkit.org/show_bug.cgi?id=53213
1466 * WebCoreSupport/WebEditorClient.h:
1467 (WebEditorClient::textChecker):
1469 2011-02-07 Ryosuke Niwa <rniwa@webkit.org>
1471 Reviewed by Adam Barth.
1473 Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
1474 https://bugs.webkit.org/show_bug.cgi?id=52417
1476 Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
1479 * WebCoreSupport/WebEditorClient.cpp:
1480 (WebEditorClient::canCopyCut): Added.
1481 (WebEditorClient::canPaste): Added.
1482 * WebCoreSupport/WebEditorClient.h:
1484 2011-02-14 Brian Weinstein <bweinstein@apple.com>
1486 Reviewed by Brady Eidson.
1488 Need WebKit API to determine whether we have a site icon for a given URL
1489 https://bugs.webkit.org/show_bug.cgi?id=54400
1491 This patch implements IWebIconDatabase::hasIconForURL which tells us whether or not
1492 we have a site icon for the given URL.
1494 * Interfaces/IWebIconDatabase.idl: Added new function.
1495 * Interfaces/WebKit.idl: Touched to make sure Interfaces rebuilds.
1496 * WebIconDatabase.cpp:
1497 (WebIconDatabase::hasIconForURL): Call IconDatabase::iconForPageURL to make sure we
1498 load the icon from disk, and call iconURLForPageURL to determine whether or not
1499 we actually have an icon.
1500 * WebIconDatabase.h:
1502 2011-02-11 Geoffrey Garen <ggaren@apple.com>
1504 Reviewed by Oliver Hunt.
1506 A little more encapsulation for the heap: Removed CollectorHeapIterator
1507 https://bugs.webkit.org/show_bug.cgi?id=54298
1509 * WebCoreStatistics.cpp:
1510 (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1512 2011-02-09 Pavel Feldman <pfeldman@chromium.org>
1514 Reviewed by Yury Semikhatsky.
1516 Web Inspector: follow up on InspectorAgent split -
1517 removing unnecessary methods from InspectorController.
1518 https://bugs.webkit.org/show_bug.cgi?id=54093
1521 (WebInspector::showConsole):
1522 (WebInspector::toggleProfilingJavaScript):
1524 2011-02-08 Adam Barth <abarth@webkit.org>
1526 Reviewed by Eric Seidel.
1528 Remove orphan code from old parser
1529 https://bugs.webkit.org/show_bug.cgi?id=53984
1531 * WebCoreSupport/WebChromeClient.h:
1533 2011-02-08 David Hyatt <hyatt@apple.com>
1535 Reviewed by Adam Roben.
1537 <rdar://problem/8932077> REGRESSION (5.0.3-ToT): United boarding pass has wrong layout when printed
1539 Windows never got patched to pass in the page height to WebCore, so when WebCore's pagination got re-written to depend on this
1540 value, Windows got broken. Patch setPrinting to be identical to WebKit1 on OS X and to have it take an extra minimum page height
1544 (WebFrame::setPrinting):
1545 (WebFrame::setInPrintingMode):
1548 2011-02-02 Ilya Tikhonovsky <loislo@chromium.org>
1550 Reviewed by Yury Semikhatsky.
1552 Web Inspector: move InspectorController's methods from InspectorAgent to InspectorController.
1554 https://bugs.webkit.org/show_bug.cgi?id=53169
1556 Minor change enforced by major changes in WebCore/inspector/InspectorController.
1559 (WebInspector::isTimelineProfilingEnabled):
1561 2011-02-07 Enrica Casucci <enrica@apple.com>
1563 Reviewed Adam Roben and Darin Adler.
1565 WebKit2: drag and drop support on Windows.
1566 https://bugs.webkit.org/show_bug.cgi?id=52775
1568 Removed createDragImageForLink from DragClient.
1570 * WebCoreSupport/WebDragClient.cpp:
1571 (WebDragClient::startDrag):
1572 * WebCoreSupport/WebDragClient.h:
1574 2011-02-06 Ryosuke Niwa <rniwa@webkit.org>
1576 Reviewed by Darin Adler.
1578 OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h
1579 https://bugs.webkit.org/show_bug.cgi?id=52867
1582 (WebHistory::orderedLastVisitedDays): Calls adoptArrayPtr.
1583 * WebPreferences.cpp:
1584 (WebPreferences::copyWebKitPreferencesToCFPreferences): Ditto.
1586 2011-02-03 Yury Semikhatsky <yurys@chromium.org>
1588 Reviewed by Pavel Feldman.
1590 Web Inspector: remove settings related methods from InspectorClient
1591 https://bugs.webkit.org/show_bug.cgi?id=53686
1593 * WebCoreSupport/WebInspectorClient.cpp:
1594 (WebInspectorClient::openInspectorFrontend):
1595 (WebInspectorFrontendClient::WebInspectorFrontendClient):
1596 * WebCoreSupport/WebInspectorClient.h:
1598 2011-02-03 Adam Langley <agl@chromium.org>
1600 Reviewed by Adam Barth.
1602 Plumb mixed script URL to FrameLoaderClient
1603 https://bugs.webkit.org/show_bug.cgi?id=52384
1605 Regressions covered by http/tests/security/mixedContent/*
1607 * WebCoreSupport/WebFrameLoaderClient.cpp:
1608 (WebFrameLoaderClient::didRunInsecureContent):
1609 * WebCoreSupport/WebFrameLoaderClient.h:
1611 2011-02-02 David Hyatt <hyatt@apple.com>
1613 Reviewed by Darin Adler.
1615 Removal of right()/bottom(), converting to maxX()/maxY().
1617 * DOMHTMLClasses.cpp:
1618 (DOMHTMLInputElement::rectOnScreen):
1619 * WebCoreSupport/EmbeddedWidget.cpp:
1620 (EmbeddedWidget::frameRectsChanged):
1622 (WebFrame::computePageRects):
1624 (WebScrollBar::frameRect):
1626 (WebView::addToDirtyRegion):
1627 (WebView::visibleContentRect):
1628 (WebView::prepareCandidateWindow):
1630 2011-01-31 Brady Eidson <beidson@apple.com>
1632 Reviewed by Adam Roben.
1634 Fix the clean Windows build.
1636 * WebKitGraphics.cpp:
1639 2011-01-28 Jon Honeycutt <jhoneycutt@apple.com>
1641 Downloads in WK2 on Windows should write resume data to bundle
1642 https://bugs.webkit.org/show_bug.cgi?id=53282
1643 <rdar://problem/8753077>
1645 Reviewed by Alice Liu.
1648 (WebDownload::bundlePathForTargetPath):
1649 Use the new WebCore::DownloadBundle function.
1650 (WebDownload::request):
1653 Removed declarations for functions that were moved to a new location.
1655 * WebDownloadCFNet.cpp:
1656 (WebDownload::initToResumeWithBundle):
1657 Use the new WebCore::DownloadBundle function.
1658 (WebDownload::cancelForResume):
1659 Fix a leak of the resume data CFDataRef by using adoptCF(). Use the new
1660 WebCore::DownloadBundle function.
1662 2011-01-28 Dan Bernstein <mitz@apple.com>
1664 Reviewed by Sam Weinig.
1666 <select> can't display right-to-left (rtl) languages
1667 https://bugs.webkit.org/show_bug.cgi?id=19785
1669 * WebCoreSupport/WebChromeClient.cpp:
1670 (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection): Added.
1671 * WebCoreSupport/WebChromeClient.h:
1673 2011-01-27 Nate Chapin <japhet@chromium.org>
1675 Reviewed by Adam Barth.
1677 Use Document::url() instead of FrameLoader::url().
1678 https://bugs.webkit.org/show_bug.cgi?id=41165
1683 2011-01-27 Sam Weinig <sam@webkit.org>
1685 Reviewed by Adam Roben.
1687 Fix scrollbars in Safari's Downloads window and Bookmarks view by
1688 implementing two needed functions from ScrollableArea.
1691 (WebScrollBar::horizontalScrollbar): Return the WebCore::Scrollbar if
1692 we are a horizontal scrollbar.
1693 (WebScrollBar::verticalScrollbar): Return the WebCore::Scrollbar if we
1694 are a vertical scrollbar.
1697 2011-01-27 Adam Roben <aroben@apple.com>
1699 Trim down #includes in WebView.h
1701 Rubber-stamped by Steve Falkenburg.
1703 * WebView.cpp: Moved some #includes here from the header file.
1705 * WebView.h: Replaced some broader #includes with more specific ones, plus a
1706 forward-declaration.
1708 2011-01-25 Steve Falkenburg <sfalken@apple.com>
1710 Windows production build fix.
1711 Build correct configuration of Interfaces for Debug_All.
1713 * WebKit.vcproj/WebKit.submit.sln:
1715 2011-01-25 Steve Falkenburg <sfalken@apple.com>
1717 Rubber-stamped by Adam Roben.
1719 Windows production build fix.
1720 Use correct environment variable escaping
1722 * WebKit.vcproj/WebKit.make:
1724 2011-01-24 Chris Marrin <cmarrin@apple.com>
1726 Reviewed by Eric Seidel.
1728 Change ENABLE_3D_CANVAS to ENABLE_WEBGL
1729 https://bugs.webkit.org/show_bug.cgi?id=53041
1732 (WebView::notifyPreferencesChanged):
1734 2011-01-25 Yury Semikhatsky <yurys@chromium.org>
1736 Reviewed by Pavel Feldman.
1738 Web Inspector: remove "attached" state related methods from InspectorAgent
1739 https://bugs.webkit.org/show_bug.cgi?id=53086
1741 * WebCoreSupport/WebInspectorClient.cpp:
1742 (WebInspectorFrontendClient::attachWindow):
1743 (WebInspectorFrontendClient::detachWindow):
1744 (WebInspectorFrontendClient::showWindowWithoutNotifications):
1745 * WebCoreSupport/WebInspectorClient.h:
1747 2011-01-24 Adam Roben <aroben@apple.com>
1749 Windows Production build fix
1751 * WebKit.vcproj/WebKit.make: Update for move of WebKit into Source.
1753 2011-01-21 Nikolas Zimmermann <nzimmermann@rim.com>
1755 Reviewed by Dirk Schulze.
1757 Introduce FontMetrics abstraction
1758 https://bugs.webkit.org/show_bug.cgi?id=51456
1760 * FullscreenVideoController.cpp: Use FontMetrics instead of Font to access the metrics.
1761 (FullscreenVideoController::draw):
1762 * WebCoreSupport/WebDragClient.cpp: Ditto.
1763 (WebDragClient::createDragImageForLink):
1764 * WebKitGraphics.cpp: Ditto.
1767 2011-01-21 Chris Rogers <crogers@google.com>
1769 Reviewed by Darin Fisher.
1771 Add run-time enable support for the web audio API
1772 https://bugs.webkit.org/show_bug.cgi?id=52741
1774 * WebPreferenceKeysPrivate.h:
1776 (WebView::notifyPreferencesChanged):
1778 2011-01-21 Sam Weinig <sam@webkit.org>
1784 2011-01-21 Sam Weinig <sam@webkit.org>
1786 Reviewed by Anders Carlsson.
1788 Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship"
1789 https://bugs.webkit.org/show_bug.cgi?id=52779
1791 Rename ScrollbarClient -> ScrollableArea.
1794 (WebScrollBar::scroll):
1797 2011-01-20 Adam Roben <aroben@apple.com>
1799 Update for CACFLayerTreeHost changes
1801 Fixes <http://webkit.org/b/52852> Flushing layer changes and rendering are intertwined in
1802 CACFLayerTreeHost, but shouldn't be
1804 Reviewed by Simon Fraser.
1807 (WebView::paint): Changed to flush layer changes via CACFLayerTreeHost, which will call back
1808 to our own flushing function if needed.
1810 * WebView.h: Removed shouldRender, which is no longer used or needed.
1812 2011-01-21 Adam Roben <aroben@apple.com>
1814 Update for WKCACFLayerRenderer -> CACFLayerTreeHost rename
1816 Also renamed WebView::m_layerRenderer to WebView::m_layerTreeHost to match.
1818 Fixes <http://webkit.org/b/52898> WKCACFLayerRenderer sounds like a render object, but isn't
1820 Reviewed by Simon Fraser.
1822 * WebPreferences.cpp:
1824 (WebView::setAcceleratedCompositing): Also made sure to remove our HWND from the layer tree
1825 host before we get rid of the layer tree host itself.
1828 2011-01-21 Adam Roben <aroben@apple.com>
1830 Replace some "sync compositing state" terminology with "flush pending GraphicsLayer changes"
1832 This seems to be the direction in which our code is moving. I chose "GraphicsLayer" as
1833 opposed to just "layer" because there are cases where we flush changes to CACFLayers that
1834 don't have a corresponding GraphicsLayer.
1836 Fixes <http://webkit.org/b/52894> "Sync compositing state" terminology in
1837 WKCACFLayerRenderer and friends is confusing
1839 Reviewed by Simon Fraser.
1841 * WebCoreSupport/WebChromeClient.cpp:
1842 (WebChromeClient::scheduleCompositingLayerSync): Updated for WebView changes.
1845 (WebView::paint): Updated for rename.
1846 (WebView::flushPendingGraphicsLayerChangesSoon): Renamed from scheduleCompositingLayerSync.
1847 (WebView::notifySyncRequired): Updated for rename.
1848 (WebView::flushPendingGraphicsLayerChanges): Renamed from syncCompositingState.
1850 * WebView.h: Did the renames.
1852 2011-01-20 Sam Weinig <sam@webkit.org>
1854 Reviewed by Dave Hyatt.
1856 Cleanup Scrollbar/ScrollbarClient relationship
1857 https://bugs.webkit.org/show_bug.cgi?id=52779
1860 (WebScrollBar::WebScrollBar):
1861 (WebScrollBar::setValue):
1862 (WebScrollBar::value):
1863 (WebScrollBar::scroll):
1864 (WebScrollBar::scrollPosition):
1865 (WebScrollBar::setScrollOffset):
1868 2011-01-19 Adam Roben <aroben@apple.com>
1870 Update for WKCACFLayerRenderer changes
1872 Fixes <http://webkit.org/b/52749> WKCACFLayerRenderer should be
1875 Reviewed by Simon Fraser.
1878 (WebView::~WebView): Added some assertions to make sure we've gotten rid of our
1879 compositing-related members. My biggest concern was making sure that m_layerRenderer was
1880 gone, which would also mean we had nulled out its client pointer.
1881 (WebView::setAcceleratedCompositing): Changed to call WKCACFLayerRenderer::setClient instead
1882 of passing the client into create(), and to clear out the client before nulling out
1885 * WebView.h: Changed m_layerRenderer from an OwnPtr to a RefPtr.
1887 2011-01-19 Adam Roben <aroben@apple.com>
1889 Teach WebView::scrollBackingStore about compositing mode
1892 compositing/scroll-painted-composited-content.html
1894 Fixes <http://webkit.org/b/52720> REGRESSION (r75987): Assertion failure in
1895 WebView::scrollBackingStore when scrolling page with composited content
1897 Reviewed by Anders Carlsson.
1900 (WebView::scrollBackingStore): Do something sensible (though naive) when in compositing
1901 mode, rather than incorrectly asserting that this function is never called in that case. For
1902 now we just repaint the entire scrolled region; someday hopefully we can avoid having to
1903 repaint the areas that have just been moved.
1905 2011-01-19 Simon Fraser <simon.fraser@apple.com>
1907 Reviewed by Sam Weinig.
1909 GraphicsLayers in subframes can get sync'd multiple times
1910 https://bugs.webkit.org/show_bug.cgi?id=52489
1913 (WebView::syncCompositingState): syncCompositingStateRecursive()
1914 was renamed to syncCompositingStateIncludingSubframes().
1916 2011-01-17 Adam Roben <aroben@apple.com>
1918 Update for WKCACFLayerRenderer changes
1920 Fixes <http://webkit.org/b/52587> WKCACFLayerRenderer is hard to use
1922 Reviewed by Chris Marrin.
1925 (WebView::WebViewWndProc): Removed call to layerRendererBecameVisible
1926 when handling WM_SHOWWINDOW. All this did was try to create the
1927 renderer, but it had already been created in setAcceleratedCompositing,
1929 (WebView::setAcceleratedCompositing): Removed call to createRenderer;
1930 setHostWindow does this for us now.
1932 * WebView.h: Removed animationsStarted and layerRendererBecameVisible.
1934 2011-01-17 Adam Roben <aroben@apple.com>
1936 Paint directly into a GraphicsLayer when using accelerated compositing
1938 Before this patch, we were painting into our normal backing store
1939 HBITMAP, wrapping it in a CGImage, and handing it off to Core
1940 Animation. This had at least two disadvantages:
1941 1) The bitmap could be modified while Core Animation was using it.
1942 2) It introduced extra complexity.
1944 When entering accelerated compositing mode, WebView now creates a
1945 GraphicsLayer to draw into. This GraphicsLayer sits between the root
1946 layer (owned by WKCACFLayerRenderer) and the RenderView's layer. When
1947 WebView invalidates, it just calls setNeedsDisplayInRect on its
1948 GraphicsLayer. When WebView paints, it just tells its
1949 WKCACFLayerRenderer to paint, which will call back to WebView to draw
1950 into the GraphicsLayer if it has a dirty region. This is very similar
1951 to the current implementation of LayerBackedDrawingArea in WebKit2.
1953 Fixes <http://webkit.org/b/52582> WebView should paint directly into a
1954 GraphicsLayer when in accelerated compositing mode
1956 Reviewed by Simon Fraser and Chris Marrin.
1958 * WebCoreSupport/WebChromeClient.cpp:
1959 (WebChromeClient::attachRootGraphicsLayer):
1960 (WebChromeClient::scheduleCompositingLayerSync):
1961 Updated for WebView changes.
1964 (WebView::repaint): When using accelerated compositing, just invalidate
1965 our backing layer. This matches the behavior of LayerBackedDrawingArea.
1966 (WebView::deleteBackingStore): Removed accelerated compositing code.
1967 The WKCACFLayerRenderer doesn't need to know about our backing store
1968 anymore; we don't use it at all when in accelerated compositing mode.
1969 (WebView::addToDirtyRegion): When using accelerated compositing, just
1970 invalidate our backing layer.
1971 (WebView::scrollBackingStore): Added an assertion that this isn't
1972 called in accelerated compositing mode.
1973 (WebView::sizeChanged): Update our backing layer's size, too, and
1975 (WebView::updateBackingStore): Added an assertion that this isn't
1976 called in accelerated compositing mode.
1977 (WebView::paint): If we're in accelerated compositing mode, sync our
1978 compositing state. If we're *still* in accelerated compositing mode,
1979 just tell our WKCACFLayerRenderer to paint and clear our dirty region.
1980 (The later changes in this function are just un-indenting code that
1981 used to be inside an if.)
1983 (WebView::paintIntoBackingStore):
1984 (WebView::paintIntoWindow):
1985 Added assertions that these aren't called in accelerated compositing
1988 (WebView::WebViewWndProc): Updated WM_XP_THEMECHANGED handling for
1989 removal of setRootLayerNeedsDisplay.
1990 (WebView::setRootChildLayer): Changed to take a GraphicsLayer. We now
1991 set the layer as a child of our own backing layer.
1992 (WebView::scheduleCompositingLayerSync): Just call through to
1993 WKCACFLayerRenderer.
1994 (WebView::setAcceleratedCompositing): Create our backing layer and set
1995 it as the child of WKCACFLayerRenderer's root layer.
1996 (WebView::notifyAnimationStarted): Added. We never expect this
1997 GraphicsLayerClient override to be called, as we don't use animations
1998 on our backing layer.
1999 (WebView::notifySyncRequired): Added. Just schedule a sync.
2000 (WebView::paintContents): Added. Just clip and paint!
2002 (WebView::showDebugBorders):
2003 (WebView::showRepaintCounter):
2004 Added. These just call through to Settings.
2006 (WebView::syncCompositingState): Changed to first update layout, then
2007 sync state for our backing layer, then sync WebCore's state. This
2008 matches LayerBackedDrawingArea.
2010 * WebView.h: WebView now implements the GraphicsLayerClient interface.
2011 Removed setRootLayerNeedsDisplay; it's been replaced by calling
2012 setNeedsDisplay on our backing layer and calling
2013 syncCompositingStateSoon on WKCACFLayerRenderer as needed. Removed
2014 updateRootLayerContents; that function was used to pass our backing
2015 store to Core Animation, which we no longer do. Added m_backingLayer.
2017 2011-01-17 Tony Gentilcore <tonyg@chromium.org>
2019 Reviewed by Alexey Proskuryakov.
2021 Fix some headers with missing or misspelled #ifndef guards
2022 https://bugs.webkit.org/show_bug.cgi?id=52545
2024 * WebKitStatistics.h:
2026 2011-01-17 Pavel Feldman <pfeldman@chromium.org>
2028 Reviewed by Yury Semikhatsky.
2030 Web Inspector: simplify debugger enabling routine.
2031 https://bugs.webkit.org/show_bug.cgi?id=52472
2034 (WebInspector::toggleDebuggingJavaScript):
2036 2011-01-16 Adam Barth <abarth@webkit.org>
2038 Rubber-stamped by Eric Seidel.
2040 Move WebKit into Source
2041 https://bugs.webkit.org/show_bug.cgi?id=52530
2043 * WebKit.vcproj/Interfaces.vcproj:
2044 * WebKit.vcproj/WebKit.sln:
2045 * WebKit.vcproj/WebKit.vcproj:
2046 * WebKit.vcproj/WebKitGUID.vcproj:
2048 2011-01-15 Adam Barth <abarth@webkit.org>
2050 Rubber-stamped by Eric Seidel.
2052 Move WebKit2 into Source
2053 https://bugs.webkit.org/show_bug.cgi?id=52438
2055 Update reference to WebKit2.
2057 * WebKit.vcproj/WebKit.sln:
2059 2011-01-14 Yuzo Fujishima <yuzo@google.com>
2061 Reviewed by Antti Koivisto.
2063 Rename cache() to memoryCache()
2064 https://bugs.webkit.org/show_bug.cgi?id=52433
2067 (WebCache::statistics):
2069 (WebCache::setDisabled):
2070 (WebCache::disabled):
2072 (WebView::setCacheModel):
2074 2011-01-10 Geoffrey Garen <ggaren@apple.com>
2076 Try to fix Windows build.
2078 * WebJavaScriptCollector.cpp: Updated for rename to Heap.*. (Didn't catch
2079 this one before because it was miscapitalized.)
2081 2011-01-09 Xianzhu Wang <phnixwxz@gmail.com>
2083 Reviewed by Darin Fisher.
2085 https://bugs.webkit.org/show_bug.cgi?id=41441
2086 createWindow method should only do window-creating without URL navigation
2088 * WebCoreSupport/WebChromeClient.cpp:
2089 (WebChromeClient::createWindow):
2091 2011-01-07 Adam Barth <abarth@webkit.org>
2093 Rubber-stamped by Eric Seidel.
2095 Move WebCore to Source
2096 https://bugs.webkit.org/show_bug.cgi?id=52050
2098 * WebKit.vcproj/WebKit.sln:
2100 2011-01-06 Gavin Barraclough <barraclough@apple.com>
2102 Reviewed by Geoff Garen.
2104 Bug 52035 - Unregistering DOMWrapperWorlds is unsafe
2106 The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's
2107 destructor early, in order to release wrappers once we know we no longer intend to use them.
2108 Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to
2109 lose any state stored on them) it is not okay to deregister the world from the JSGlobalData.
2110 A sequence of events that triggers the bug would look like this:
2112 (1) Create a DOMWrapperWorld.
2113 (2) Register a timer in the world.
2114 (3) Call unregisterWorld() on the world.
2115 (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document.
2116 (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've
2117 called forgetWorld() none exists.
2118 (6) Attempt to add a wrapper to a NULL map.
2120 Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away.
2122 * WebScriptWorld.cpp:
2123 (WebScriptWorld::unregisterWorld):
2125 2011-01-07 Chris Marrin <cmarrin@apple.com>
2127 Rubber-stamped by Simon Fraser.
2129 Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
2130 https://bugs.webkit.org/show_bug.cgi?id=49388
2132 Change client API for the fullscreen video controller. It now uses a
2133 PlatformCALayerClient so it can use a PlaformCALayer directly. Also
2134 updated how to connect the layer tree to the view to reflect the updated
2135 hardware compositing logic.
2137 * FullscreenVideoController.cpp:
2138 (FullscreenVideoController::LayerClient::LayerClient):
2139 (FullscreenVideoController::LayerClient::platformCALayerRespondsToLayoutChanges):
2140 (FullscreenVideoController::LayerClient::platformCALayerAnimationStarted):
2141 (FullscreenVideoController::LayerClient::platformCALayerContentsOrientation):
2142 (FullscreenVideoController::LayerClient::platformCALayerPaintContents):
2143 (FullscreenVideoController::LayerClient::platformCALayerShowDebugBorders):
2144 (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter):
2145 (FullscreenVideoController::LayerClient::platformCALayerIncrementRepaintCount):
2146 (FullscreenVideoController::LayerClient::platformCALayerContentsOpaque):
2147 (FullscreenVideoController::LayerClient::platformCALayerDrawsContent):
2148 (FullscreenVideoController::LayerClient::platformCALayerLayerDidDisplay):
2149 (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
2150 (FullscreenVideoController::FullscreenVideoController):
2151 (FullscreenVideoController::~FullscreenVideoController):
2152 (FullscreenVideoController::enterFullscreen):
2153 * FullscreenVideoController.h:
2154 * WebCoreSupport/WebChromeClient.cpp:
2155 (WebChromeClient::attachRootGraphicsLayer):
2156 (WebChromeClient::scheduleCompositingLayerSync):
2158 (WebView::setRootChildLayer):
2159 (WebView::animationsStarted):
2160 (WebView::syncCompositingState):
2162 (WebView::setRootLayerNeedsDisplay):
2164 2011-01-05 Steve Falkenburg <sfalken@apple.com>
2166 Reviewed by Darin Adler.
2168 Debug and Release builds on Windows clobber each other
2169 https://bugs.webkit.org/show_bug.cgi?id=49185
2171 Changes the structure of WebKitBuild build products directory so we
2172 completely separate each build configuration into independent directories.
2174 Although we previously had per-configuration directories for obj, this change adds
2175 per-configuration directories for bin, lib, obj, and include. Each configuration's
2176 build products are stored within a directory inside of WebKitBuild.
2178 Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
2179 defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
2181 * WebKit.vcproj/InterfacesCommon.vsprops:
2182 * WebKit.vcproj/InterfacesPostBuild.cmd:
2183 * WebKit.vcproj/InterfacesPreBuild.cmd:
2184 * WebKit.vcproj/WebKit.make:
2185 * WebKit.vcproj/WebKitGUID.vcproj:
2186 * WebKit.vcproj/WebKitGUIDCommon.vsprops:
2187 * WebKit.vcproj/WebKitGUIDPostBuild.cmd:
2188 * WebKit.vcproj/WebKitGUIDPreBuild.cmd:
2189 * WebKit.vcproj/WebKitLibCommon.vsprops:
2190 * WebKit.vcproj/WebKitLibPostBuild.cmd:
2191 * WebKit.vcproj/WebKitLibPreBuild.cmd:
2193 2011-01-04 Chris Fleizach <cfleizach@apple.com>
2195 Reviewed by Sam Weinig.
2197 WK2: Support Accessibility
2198 https://bugs.webkit.org/show_bug.cgi?id=51859
2200 Use rootObject() method to get the top of the AX tree.
2202 * AccessibleDocument.cpp:
2203 (AccessibleDocument::AccessibleDocument):
2205 2011-01-01 Adam Barth <abarth@webkit.org>
2207 Reviewed by Eric Seidel.
2209 Move JavaScriptCore to Source
2210 https://bugs.webkit.org/show_bug.cgi?id=51604
2212 * WebKit.vcproj/WebKit.sln:
2213 - Point to JavaScriptCore in its new location.
2215 2010-12-22 Sam Weinig <sam@webkit.org>
2217 Reviewed by Darin Adler.
2219 WebKit2 needs to mirror the frame tree in the UIProcess
2220 https://bugs.webkit.org/show_bug.cgi?id=51546
2222 - Add client functions to notify that a frame has been added or
2223 removed from the page cache.
2225 * WebCoreSupport/WebFrameLoaderClient.cpp:
2226 (WebFrameLoaderClient::didSaveToPageCache):
2227 (WebFrameLoaderClient::didRestoreFromPageCache):
2228 * WebCoreSupport/WebFrameLoaderClient.h:
2230 2010-12-22 Dan Bernstein <mitz@apple.com>
2232 Changed WebKitTools to Tools.
2234 * WebKit.vcproj/WebKit.sln:
2236 2010-12-14 Adam Roben <aroben@apple.com>
2238 Always record the last-set cursor, even when the UI delegate is
2239 setting the cursor for us
2241 Prior to r63339, the last-set cursor was recorded in Widget::setCursor.
2242 r63339 moved that code up to WebChromeClient, but failed to call it
2243 when the UI delegate was the one setting the cursor.
2245 Fixes <http://webkit.org/b/45692> <rdar://problem/8423464> REGRESSION
2246 (r63339): Mouse cursor disappears when holding mouse button down on
2249 Reviewed by Ada Chan.
2251 * WebCoreSupport/WebChromeClient.cpp:
2252 (WebChromeClient::setCursor): After the cursor is set, regardless of
2253 whether the UI delegate sets it or we set it, record the cursor that
2254 was just set. That way we'll be able to use the cursor later when
2255 responding to the WM_SETCURSOR message.
2257 2010-12-13 Alexey Proskuryakov <ap@apple.com>
2259 Reviewed by Adam Barth.
2261 https://bugs.webkit.org/show_bug.cgi?id=50953
2262 DNS Prefetch should be an opt-in feature
2264 * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default to NO.
2266 2010-10-28 MORITA Hajime <morrita@google.com>
2268 Reviewed by Ojan Vafai.
2270 spellcheck does not check pasted text
2271 https://bugs.webkit.org/show_bug.cgi?id=40092
2273 Added a stub implememntation.
2275 * WebCoreSupport/WebEditorClient.h:
2276 (WebEditorClient::requestCheckingOfString):
2278 2010-12-10 Chris Fleizach <cfleizach@apple.com>
2280 Reviewed by Darin Adler.
2282 AX: refactor AccessibilityRenderObject::doAccessibilityHitTest
2283 https://bugs.webkit.org/show_bug.cgi?id=50574
2285 * AccessibleBase.cpp:
2286 (AccessibleBase::accHitTest):
2288 2010-12-09 Brian Weinstein <bweinstein@apple.com>
2290 Reviewed by Adam Roben.
2292 Prep for WebKit2: Context menu support on Windows
2293 https://bugs.webkit.org/show_bug.cgi?id=50514
2295 Update WebKit for the new CROSS_PLATFORM_CONTEXT_MENUS flag, and define customizeMenu
2296 instead of getCustomMenuFromDefaultItems.
2298 * WebCoreSupport/WebContextMenuClient.cpp:
2299 (WebContextMenuClient::customizeMenu): getCustomMenuFromDefaultItems was turned into
2300 this function, with refactoring using nativeMenu instead of platformDescription.
2301 (WebContextMenuClient::contextMenuItemSelected): Use nativeMenu instead of platformDescription.
2302 * WebCoreSupport/WebContextMenuClient.h:
2304 (WebView::handleContextMenuEvent): Call nativeMenu instead of platformDescription.
2305 (WebView::performContextMenuAction): Only call itemAtIndex with one argument, no need
2308 2010-12-07 Brian Weinstein <bweinstein@apple.com>
2310 Reviewed by John Sullivan.
2312 Layering Violation in ContextMenu - member variable of type HitTestResult
2313 https://bugs.webkit.org/show_bug.cgi?id=50586
2315 Update users of ContextMenu and ContextMenuController to match where the new functions
2318 * WebCoreSupport/WebContextMenuClient.cpp:
2319 (WebContextMenuClient::getCustomMenuFromDefaultItems): Get the HitTestResult and ContextMenu from the
2320 ContextMenuController (from the page).
2321 (WebContextMenuClient::contextMenuItemSelected): Get the HitTestResult from the ContextMenuController.
2323 (WebView::handleContextMenuEvent): Ditto.
2325 2010-12-07 Jessie Berlin <jberlin@apple.com>
2327 Build fix. Unreviewed.
2329 * WebCoreSupport/WebContextMenuClient.cpp:
2330 (WebContextMenuClient::searchWithGoogle):
2331 FrameLoader::urlSelected does not take a SecurityOrigin as a parameter.
2333 2010-12-06 Darin Adler <darin@apple.com>
2335 Reviewed by Sam Weinig.
2337 Pass security origin to make local file decision correctly
2338 https://bugs.webkit.org/show_bug.cgi?id=48603
2340 * WebCoreSupport/WebContextMenuClient.cpp:
2341 (WebContextMenuClient::searchWithGoogle): Pass security origin.
2343 2010-12-07 Kenichi Ishibashi <bashi@google.com>
2345 Reviewed by Kent Tamura.
2347 Let HTMLObjectElement be a form associated element
2348 https://bugs.webkit.org/show_bug.cgi?id=48821
2350 Modified to use FormAssociatedElement instead of HTMLFormControlElement.
2353 (WebFrame::elementWithName): Modified to use FormAssociatedElement
2354 instead of HTMLFormControlElement.
2355 (WebFrame::controlsInForm): Ditto.
2357 2010-12-05 Adam Roben <aroben@apple.com>
2359 Windows production build fix
2361 Put spaces after trailing backslashes when setting
2362 %WebKitVSPropsRedirectionDir%. According to MSDN
2363 <http://msdn.microsoft.com/en-us/library/2kzfk8c7(v=VS.80).aspx>:
2365 A backslash ( \ ) followed by a newline character is interpreted as
2366 a space in the command; use a backslash at the end of a line to
2367 continue a command onto the next line. NMAKE interprets the
2368 backslash literally if any other character, including a space or
2369 tab, follows the backslash.
2371 * WebKit.vcproj/WebKit.make:
2373 2010-12-03 Sam Weinig <sam@webkit.org>
2375 Reviewed by Maciej Stachowiak.
2377 Enable <a ping> for Mac/Windows/WebKit2 builds
2378 <rdar://problem/8504473>
2379 https://bugs.webkit.org/show_bug.cgi?id=50488
2381 * WebPreferences.cpp:
2382 (WebPreferences::initializeDefaultSettings): Enable "HyperlinkAuditing" by default.
2384 2010-12-03 Brian Weinstein <bweinstein@apple.com>
2386 Reviewed by Brady Eidson.
2388 WebContextMenuClient::fixMenuReceivedFromOldSafari is no longer needed on Windows
2389 https://bugs.webkit.org/show_bug.cgi?id=50486
2391 Remove the static fixMenuReceivedFromOldSafari and isPreInspectElementTagSafari methods
2392 from WebContextMenuClient. There were there for when WebKit had the Inspect Element context menu
2393 item, but Safari didn't support it. We don't support that old Safari, so that code can go.
2395 * WebCoreSupport/WebContextMenuClient.cpp:
2396 (WebContextMenuClient::getCustomMenuFromDefaultItems):
2398 2010-12-02 John Knottenbelt <jknotten@chromium.org>
2400 Reviewed by Steve Block.
2402 Move requestGeolocationPermissionForFrame to GeolocationClient
2403 https://bugs.webkit.org/show_bug.cgi?id=50061
2405 This change facilitates client-based geolocation implementation by
2406 bringing together permission control into the geolocation client
2409 Move method ChromeClient::requestGeolocationPermissionForFrame to
2410 GeolocationClient::requestPermission. The moved code is unchanged
2411 except that requestPermission now takes only one argument (Geolocation*),
2412 the Frame parameter is retrieved from the Geolocation object and we need to
2413 call m_webView.get() as it is a COMPtr in GeolocationClient.
2415 * WebCoreSupport/WebChromeClient.cpp:
2416 * WebCoreSupport/WebChromeClient.h:
2417 * WebCoreSupport/WebGeolocationClient.cpp:
2418 (WebGeolocationClient::requestPermission):
2419 * WebCoreSupport/WebGeolocationClient.h:
2420 (WebGeolocationClient::cancelPermissionRequest):
2422 2010-12-01 Jia Pu <jpu@apple.com>
2424 Reviewed by Darin Adler.
2426 Support multiple correction candidates panel for misspelled word on Mac OS X.
2427 https://bugs.webkit.org/show_bug.cgi?id=50137
2428 <rdar://problem/8568059>
2430 Adopted new function signature defined in base class.
2432 * WebCoreSupport/WebEditorClient.cpp:
2433 (WebEditorClient::getGuessesForWord):
2434 * WebCoreSupport/WebEditorClient.h:
2436 2010-12-01 Steve Falkenburg <sfalken@apple.com>
2438 Reviewed by Adam Roben.
2440 WinCairo build should not use link-time code generation (LTCG)
2441 https://bugs.webkit.org/show_bug.cgi?id=50353
2443 * WebKit.vcproj/Interfaces.vcproj:
2444 * WebKit.vcproj/WebKit.vcproj:
2445 * WebKit.vcproj/WebKitGUID.vcproj:
2447 2010-12-01 Steve Falkenburg <sfalken@apple.com>
2449 Reviewed by Adam Roben.
2451 vcproj changes can't be applied cleanly by the Windows EWS bot
2452 https://bugs.webkit.org/show_bug.cgi?id=50328
2454 * WebKit.vcproj/Interfaces.vcproj: Modified property svn:eol-style.
2455 * WebKit.vcproj/InterfacesCommon.vsprops: Added property svn:eol-style.
2456 * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
2457 * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
2458 * WebKit.vcproj/WebKit.vcproj: Modified property svn:eol-style.
2459 * WebKit.vcproj/WebKitGUID.vcproj: Modified property svn:eol-style.
2460 * WebKit.vcproj/WebKitGUIDCommon.vsprops: Added property svn:eol-style.
2461 * WebKit.vcproj/WebKitLibCommon.vsprops: Added property svn:eol-style.
2463 2010-11-30 Steve Falkenburg <sfalken@apple.com>
2465 Reviewed by Adam Roben.
2467 All projects on Windows should use cmd files for build events
2468 https://bugs.webkit.org/show_bug.cgi?id=50213
2470 * WebKit.vcproj/InterfacesCommon.vsprops:
2471 * WebKit.vcproj/InterfacesPostBuild.cmd: Added.
2472 * WebKit.vcproj/InterfacesPreBuild.cmd: Added.
2473 * WebKit.vcproj/WebKitGUIDCommon.vsprops:
2474 * WebKit.vcproj/WebKitGUIDPostBuild.cmd: Added.
2475 * WebKit.vcproj/WebKitGUIDPreBuild.cmd: Added.
2476 * WebKit.vcproj/WebKitLibCommon.vsprops:
2477 * WebKit.vcproj/WebKitLibPostBuild.cmd: Added.
2478 * WebKit.vcproj/WebKitLibPreBuild.cmd: Added.
2480 2010-11-29 Brent Fulgham <bfulgham@webkit.org>
2482 Unreviewed build correction.
2484 * WebKit.vcproj/WebKit.vcproj: Update WebKit project to
2485 use WinCairo.vsprops definition for appropriate build targets.
2487 2010-11-22 Adam Roben <aroben@apple.com>
2489 Use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops files
2491 Apple's Windows build allows placing header files and import libraries for WebKit's
2492 dependencies (CoreGraphics, CFNetwork, SQLite, etc.) outside the source tree via the
2493 $WebKitLibrariesDir environment variable. This is both required for production builds and
2494 convenient for Apple-internal developer builds. Apple's production builds also require that
2495 WebKit's shared .vsprops files be accessed relative to $WebKitLibrariesDir. In production
2496 builds, the files are copied into that directory tree by the
2497 WebKitLibraries/win/tools/WinTools.make file. In Apple-internal developer builds, the
2499 JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make.
2501 This .vsprops copying is problematic in one very important case: when a developer updates
2502 their source tree and then tries to build. Visual Studio only reads .vsprops files when a
2503 project is first loaded. So, when Visual Studio is first opened after the .vsprops files are
2504 updated, it reads in the old files that were already residing in $WebKitLibrariesDir. When a
2505 build is started, JavaScriptCoreGenerated.make copies the new .vsprops files into
2506 $WebKitLibrariesDir, but Visual Studio will not pick up the changes. The rest of the build
2507 will proceed with out-of-date .vsprops files, which will likely result in a build failure.
2509 To fix this, we now use normal relative paths to access the .vsprops files in the source
2510 tree rather than in $WebKitLibrariesDir, but prefix those paths with a new environment
2511 variable, $WebKitVSPropsRedirectionDir. In developer builds, this environment variable is
2512 unset, so the normal relative paths are used to read the .vsprops files out of the source
2513 tree directly. In production builds, this environment variable is set to a fake directory
2514 that will cause the .vsprops files in $WebKitLibrariesDir to be found when the relative path
2517 For example, JavaScriptCore.vcproj uses this path for FeatureDefines.vsprops:
2519 $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
2521 In developer builds, where $WebKitVSPropsRedirectionDir is unset, this will point to the
2522 files in WebKitLibraries\win\tools\vsprops in the source tree. In production builds,
2523 JavaScriptCore.make sets $WebKitVSPropsRedirectionDir to
2524 "$(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\", so the full path for
2525 FeatureDefines.vsprops becomes:
2527 $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
2531 $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
2533 (We rely on the fact that Windows doesn't care whether the directories "1", "2", and "3"
2534 actually exist since they are matched by an equal number of ".." path components.)
2536 Note that Visual Studio still won't pick up changes made to .vsprops files while Visual
2537 Studio is open, but that problem hasn't seemed to cause developers many headaches so far.
2539 Fixes <http://webkit.org/b/49181> Windows build fails mysteriously when .vsprops files are
2542 Reviewed by Dave Hyatt.
2544 * WebKit.vcproj/WebKit.make: Set $WebKitVSPropsRedirectionDir so that production builds can
2545 find the .vsprops files.
2547 * WebKit.vcproj/WebKit.vcproj:
2548 * WebKit.vcproj/Interfaces.vcproj:
2549 * WebKit.vcproj/WebKitGUID.vcproj:
2550 Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops
2553 2010-11-19 Steve Falkenburg <sfalken@apple.com>
2555 Reviewed by Adam Roben.
2557 Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
2558 https://bugs.webkit.org/show_bug.cgi?id=49819
2560 * WebKit.vcproj/Interfaces.vcproj:
2561 * WebKit.vcproj/WebKit.sln:
2562 * WebKit.vcproj/WebKit.vcproj:
2563 * WebKit.vcproj/WebKitGUID.vcproj:
2565 2010-11-19 Steve Falkenburg <sfalken@apple.com>
2567 Reviewed by Darin Adler.
2569 Normalize Cairo/CFLite project/solution configuration names
2570 https://bugs.webkit.org/show_bug.cgi?id=49818
2572 * WebKit.vcproj/WebKit.sln:
2573 * WebKit.vcproj/WebKit.vcproj:
2575 2010-11-18 Steve Falkenburg <sfalken@apple.com>
2577 Reviewed by Adam Roben.
2579 Windows vcproj configuration names should be normalized across projects
2580 https://bugs.webkit.org/show_bug.cgi?id=49776
2582 * WebKit.vcproj/Interfaces.vcproj:
2583 * WebKit.vcproj/WebKit.sln:
2585 2010-11-18 Steve Falkenburg <sfalken@apple.com>
2587 Reviewed by Adam Roben.
2589 Remove leftover Windows Debug_Internal configurations
2590 https://bugs.webkit.org/show_bug.cgi?id=49758
2592 * WebKit.vcproj/WebKit.vcproj:
2593 * WebKit.vcproj/WebKitGUID.vcproj:
2595 2010-11-18 Steve Falkenburg <sfalken@apple.com>
2597 Reviewed by Adam Roben.
2599 Debug_Internal Windows configuration is unnecessary, should be removed
2600 https://bugs.webkit.org/show_bug.cgi?id=49753
2604 2010-11-17 Steve Falkenburg <sfalken@apple.com>
2606 Reviewed by Adam Roben.
2608 WebKit Interfaces project should use vsprops file for common build settings
2609 https://bugs.webkit.org/show_bug.cgi?id=49713
2611 * WebKit.vcproj/Interfaces.vcproj:
2612 * WebKit.vcproj/InterfacesCommon.vsprops: Added.
2614 2010-11-16 Steve Falkenburg <sfalken@apple.com>
2616 Reviewed by Adam Roben.
2618 Disable LTCG for Windows Release builds. Add new Release_LTCG configuration.
2619 https://bugs.webkit.org/show_bug.cgi?id=49632
2621 * WebKit.vcproj/Interfaces.vcproj:
2622 * WebKit.vcproj/WebKit.make:
2623 * WebKit.vcproj/WebKit.sln:
2624 * WebKit.vcproj/WebKit.submit.sln:
2625 * WebKit.vcproj/WebKit.vcproj:
2626 * WebKit.vcproj/WebKitGUID.vcproj:
2628 2010-11-16 Dave Hyatt <hyatt@apple.com>
2630 Reviewed by Dan Bernstein.
2632 https://bugs.webkit.org/show_bug.cgi?id=11004
2634 font-size:0 is ignored. Remove the minimum font size of 1 in CSSStyleSelector.
2635 Change the pref value for minimum font size from 1 to 0. Make sure to never use the NSFont's size,
2636 since it doesn't honor a size of 0. Instead pass the size in to the FontPlatformData(NSFont*) version
2637 of the constructor rather than using [NSFont pointSize].
2639 https://bugs.webkit.org/show_bug.cgi?id=49582
2641 Negative leading is not handled correctly. There are two bugs here. The first is that
2642 maxAscent and maxDescent can be negative, so we need a notion of whether or not we have
2643 set them before so that we can allow them to be < 0.
2645 The second issue is that we should understand where fonts will end up relative to
2646 our baseline (excluding line height), and only allow those boxes to impact ascent and
2647 descent if the actual font box (without factoring in line height) is above or below the
2648 root line box baseline.
2650 Added fast/css/negative-leading.html
2652 These two bug fixes have to land together to keep the Acid 3 test rendering correctly.
2654 * WebPreferences.cpp:
2655 (WebPreferences::initializeDefaultSettings):
2657 2010-11-16 Steve Falkenburg <sfalken@apple.com>
2659 Reviewed by Adam Roben.
2661 Use vsprops files for common settings in Windows WebKit
2662 https://bugs.webkit.org/show_bug.cgi?id=49622
2664 * WebKit.vcproj/WebKit.vcproj:
2665 * WebKit.vcproj/WebKitCommon.vsprops: Added.
2667 2010-11-16 Steve Falkenburg <sfalken@apple.com>
2669 Rubber stamped by Adam Roben.
2671 Remove unnecessary def file, remove outdated def files from vcproj.
2673 * WebKit.vcproj/WebKit.vcproj:
2674 * WebKit.vcproj/WebKit_debug.def: Removed.
2676 2010-11-12 John Knottenbelt <jknotten@chromium.org>
2678 Reviewed by Steve Block.
2680 Rename GeolocationControllerClient to GeolocationClient.
2681 https://bugs.webkit.org/show_bug.cgi?id=49259
2683 * WebCoreSupport/WebGeolocationClient.cpp: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.cpp.
2684 (WebGeolocationClient::WebGeolocationClient):
2685 (WebGeolocationClient::geolocationDestroyed):
2686 (WebGeolocationClient::startUpdating):
2687 (WebGeolocationClient::stopUpdating):
2688 (WebGeolocationClient::lastPosition):
2689 * WebCoreSupport/WebGeolocationClient.h: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.h.
2690 (WebGeolocationClient::setEnableHighAccuracy):
2691 * WebKit.vcproj/WebKit.vcproj:
2693 (WebView::initWithFrame):
2695 2010-11-10 Csaba Osztrogonác <ossy@webkit.org>
2697 Reviewed by David Hyatt.
2699 HTML5 Ruby support should be mandatory feature
2700 https://bugs.webkit.org/show_bug.cgi?id=49272
2702 * WebKitPrefix.h: Touch it to avoid incremental build failure on Windows.
2704 2010-11-08 Alexey Proskuryakov <ap@apple.com>
2708 * WebCoreSupport/WebChromeClient.h: Added namespace prefix.
2710 2010-11-08 Alexey Proskuryakov <ap@apple.com>
2712 Reviewed by Darin Adler.
2714 https://bugs.webkit.org/show_bug.cgi?id=48685
2715 Notify UI process about focused frame
2717 Added an empty implementation of the new ChromeClient method.
2719 * WebCoreSupport/WebChromeClient.cpp:
2720 (WebChromeClient::focusedFrameChanged):
2721 * WebCoreSupport/WebChromeClient.h:
2723 2010-11-07 Adam Barth <abarth@webkit.org>
2725 Reviewed by Eric Seidel.
2727 Rename Cache to MemoryCache
2728 https://bugs.webkit.org/show_bug.cgi?id=49159
2731 (WebCache::statistics):
2735 2010-11-05 Chris Marrin <cmarrin@apple.com>
2737 Reviewed by Simon Fraser.
2739 Move resumeAnimations/suspendAnimations from Frame to AnimationController.
2740 https://bugs.webkit.org/show_bug.cgi?id=49073
2743 (WebFrame::suspendAnimations):
2744 (WebFrame::resumeAnimations):
2746 2010-11-05 Brian Weinstein <bweinstein@apple.com>
2748 Reviewed by Anders Carlsson.
2750 Assertion failure in PluginStream::~PluginStream when running userscripts/user-script-plugin-document.html
2751 https://bugs.webkit.org/show_bug.cgi?id=48751
2752 <rdar://problem/8615536>
2754 Always call committedLoad in WebFrameLoaderClient::finishedLoading, even if we have a manual loader. We were
2755 running into a case where we were trying to load an empty plugin document, which uses a manual loader, and
2756 PluginStream::didFinishLoading was never being called. The stream was never being stopped, making us fire
2757 an assert in the PluginStream destructor.
2759 * WebCoreSupport/WebFrameLoaderClient.cpp:
2760 (WebFrameLoaderClient::finishedLoading):
2762 2010-11-05 Chris Marrin <cmarrin@apple.com>
2764 Reviewed by Simon Fraser.
2766 Make suspendAnimations/resumeAnimations and setCSSAnimations traverse through subframes and remember state
2767 https://bugs.webkit.org/show_bug.cgi?id=46945
2770 (WebFrame::suspendAnimations):
2771 (WebFrame::resumeAnimations):
2773 2010-11-05 Patrick Gansterer <paroga@webkit.org>
2775 Reviewed by David Kilzer.
2777 Replace ARRAYSIZE with WTF_ARRAY_LENGTH
2778 https://bugs.webkit.org/show_bug.cgi?id=48903
2780 * WebCoreSupport/WebChromeClient.cpp:
2781 (WebChromeClient::exceededDatabaseQuota):
2783 (DllGetClassObject):
2785 (WebView::mouseWheel):
2787 2010-11-02 Daniel Bates <dbates@rim.com>
2789 Reviewed by Adam Barth.
2791 For unnamed frames, window.name returns a generated name
2792 https://bugs.webkit.org/show_bug.cgi?id=6751
2796 Substitute FrameTree::uniqueName() for FrameTree::name() in the Apple Windows port.
2801 2010-11-02 Brady Eidson <beidson@apple.com>
2803 Reviewed by Anders Carlsson.
2805 <rdar://problem/8346191> and https://bugs.webkit.org/show_bug.cgi?id=48868
2806 Implement IMutableWebRequest::setTimeoutInterval
2808 * WebMutableURLRequest.cpp:
2809 (WebMutableURLRequest::setTimeoutInterval):
2811 2010-11-02 Daniel Bates <dbates@rim.com>
2813 Reviewed by Martin Robinson.
2815 Set frame name before appending it to the frame tree in the Apple Windows,
2817 https://bugs.webkit.org/show_bug.cgi?id=48806
2819 Make the frame creation process in the Apple Windows-port consistent
2820 with the Mac, Qt, and Haiku ports. In particular, set the name of
2821 the new frame before it's appended to the frame tree.
2823 At this time we cannot test this change since it is being masked by
2824 HTMLFrameElementBase::setName() <http://trac.webkit.org/browser/trunk/WebCore/html/HTMLFrameElementBase.cpp?rev=70976#L160>.
2825 We'll be able to test this once we fix bug #6751.
2827 * WebCoreSupport/WebFrameLoaderClient.cpp:
2828 (WebFrameLoaderClient::createFrame):
2830 2010-11-01 Jenn Braithwaite <jennb@chromium.org>
2832 Reviewed by Adam Roben.
2834 Windows: Update resource tracking when moving a frame between documents
2835 https://bugs.webkit.org/show_bug.cgi?id=48364
2837 * Interfaces/IWebResourceLoadDelegatePrivate2.idl:Added
2838 Added removeIdentifierForRequest.
2839 * Interfaces/WebKit.idl:
2840 Added IWebResourceLoadDelegatePrivate2.idl.
2841 * WebCoreSupport/WebFrameLoaderClient.cpp:
2842 (WebFrameLoaderClient::transferLoadingResourceFromPage):
2844 2010-11-01 Brady Eidson <beidson@apple.com>
2846 Reviewed by Anders Carlsson.
2848 <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
2849 Context menu support for WebKit 2.
2851 * WebCoreSupport/WebChromeClient.h:
2852 (WebChromeClient::showContextMenu):
2854 2010-11-01 Adam Roben <aroben@apple.com>
2856 Cancel main resource loads after we hand them off to the media engine
2858 This is the Windows equivalent of r51104. Clearly this code should be
2859 moved to a cross-platform location someday.
2861 Fixes <http://webkit.org/b/48531> <rdar://problem/8606635> Assertion
2862 failure in DocumentLoader::commitData when loading a media document in
2865 Reviewed by Dan Bernstein.
2867 * WebCoreSupport/WebFrameLoaderClient.cpp:
2868 (WebFrameLoaderClient::committedLoad): Cancel the main resource load
2869 after handing off the load to the media engine. This code originally
2870 came from -[WebHTMLRepresentation receivedData:withDataSource:].
2873 (WebFrame::shouldFallBack): Don't fall back when handing the resource
2874 load off to the media engine or a plugin. Added error domain checking
2875 so that we don't rely on error codes being unique.
2877 2010-10-29 Daniel Bates <dbates@rim.com>
2879 No review, rolling out 70971.
2880 http://trac.webkit.org/changeset/70971
2881 https://bugs.webkit.org/show_bug.cgi?id=6751
2883 Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since
2884 it caused layout test failures on all bots. In particular, the
2885 child count in a generated frame name differs after this patch. We need
2886 to look into this further.
2891 2010-10-28 Antonio Gomes <agomes@rim.com>
2893 Reviewed by Ojan Vafai.
2895 Needs a "LinuxEditingBehavior", perhaps with a better name
2896 https://bugs.webkit.org/show_bug.cgi?id=36627
2898 Added the corresponding GTK+ setting to WebCore's EditingUnixBehavior: WebKitEditingUnixBehavior.
2900 * Interfaces/IWebPreferences.idl:
2902 2010-10-29 Daniel Bates <dbates@rim.com>
2904 Reviewed by Adam Barth.
2906 For unnamed frames, window.name returns a generated name
2907 https://bugs.webkit.org/show_bug.cgi?id=6751
2909 Modified Apple Windows-port to use FrameTree::uniqueName().
2914 2010-10-29 Darin Adler <darin@apple.com>
2916 Reviewed by Sam Weinig.
2918 Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring
2919 https://bugs.webkit.org/show_bug.cgi?id=48574
2921 * WebBackForwardList.cpp:
2922 (backForwardListWrappers):
2923 (WebBackForwardList::WebBackForwardList):
2924 (WebBackForwardList::createInstance):
2925 * WebBackForwardList.h:
2927 (WebView::backForwardList):
2928 Use BackForwardListImpl.
2930 2010-10-29 Adam Roben <aroben@apple.com>
2934 * WebKitPrefix.h: Touched to force a rebuild.
2936 2010-10-29 Alexey Proskuryakov <ap@apple.com>
2938 Reviewed by Darin Adler.
2940 https://bugs.webkit.org/show_bug.cgi?id=48576
2941 Let WebKit2 client know when a frame is a frameset
2943 Added a blank implementation of the new FrameLoaderClient method.
2945 * WebCoreSupport/WebFrameLoaderClient.h:
2946 * WebCoreSupport/WebFrameLoaderClient.cpp:
2947 (WebFrameLoaderClient::dispatchDidBecomeFrameset):
2949 2010-10-26 Brent Fulgham <bfulgham@webkit.org>
2951 Unreviewed build fix.
2953 * WebView.cpp: Conditionalize includes for CFNetwork-specific
2954 Cookie implementation.
2955 * WebView.h: Conditionalize includes for ACCELERATED_COMPOSITION.
2956 WinCairo doesn't use CoreAnimation.
2958 2010-10-26 Jenn Braithwaite <jennb@chromium.org>
2960 Reviewed by Dmitry Titov.
2962 Resource tracking failure when trying to move a frame between documents
2963 https://bugs.webkit.org/show_bug.cgi?id=44713
2965 * WebCoreSupport/WebFrameLoaderClient.cpp:
2966 (WebFrameLoaderClient::transferLoadingResourceFromPage):
2968 * WebCoreSupport/WebFrameLoaderClient.h:
2970 2010-10-25 Patrick Gansterer <paroga@webkit.org>
2972 Reviewed by David Kilzer.
2974 Replace _countof with WTF_ARRAY_LENGTH
2975 https://bugs.webkit.org/show_bug.cgi?id=48229
2977 * WebCoreSupport/WebContextMenuClient.cpp:
2978 (isPreInspectElementTagSafari):
2980 (WebView::interpretKeyEvent):
2982 2010-10-24 Dan Bernstein <mitz@apple.com>
2986 * Interfaces/WebKit.idl: Touched.
2988 2010-10-24 Dan Bernstein <mitz@apple.com>
2990 Reviewed by Anders Carlsson.
2992 Expose HitTestResult::absoluteMediaURL() via WebKit API
2993 https://bugs.webkit.org/show_bug.cgi?id=48219
2995 * Interfaces/IWebView.idl: Added WebElementMediaURLKey.
2996 * WebElementPropertyBag.cpp:
2997 (WebElementPropertyBag::Read): Map WebElementMediaURLKey to absoluteMediaURL().
2999 2010-10-22 Andy Estes <aestes@apple.com>
3001 Fix the Windows build.
3003 * WebCookieManagerCFNet.cpp: Rename CookieStorageWin.h to CookieStorageCFNet.h.
3004 * WebView.cpp: Ditto.
3006 2010-10-22 Jenn Braithwaite <jennb@chromium.org>
3008 Reviewed by Adam Roben.
3010 Windows client needs updating when live iframe element is moved between pages
3011 https://bugs.webkit.org/show_bug.cgi?id=46915
3013 * WebCoreSupport/WebFrameLoaderClient.cpp:
3014 (WebFrameLoaderClient::didTransferChildFrameToNewDocument):
3015 Update WebView in WebFrame to match that of the current page.
3017 (WebFrame::setWebView):
3021 2010-10-22 Sam Weinig <sam@webkit.org>
3025 * WebCoreSupport/WebChromeClient.h:
3027 2010-10-22 Sam Weinig <sam@webkit.org>
3029 Reviewed by Anders Carlsson.
3031 WebKit2 needs to pass the current event modifier flags when requesting a new window
3032 https://bugs.webkit.org/show_bug.cgi?id=48140
3034 * WebCoreSupport/WebChromeClient.cpp:
3035 (WebChromeClient::createWindow):
3036 * WebCoreSupport/WebFrameLoaderClient.cpp:
3037 (WebFrameLoaderClient::dispatchCreatePage):
3038 * WebCoreSupport/WebFrameLoaderClient.h:
3039 Add NavigationAction parameter.
3041 2010-10-21 MORITA Hajime <morrita@google.com>
3043 Unreviewed, touched it to fix the build.
3045 * Interfaces/WebKit.idl:
3047 2010-10-21 MORITA Hajime <morrita@google.com>
3049 Reviewed by Kent Tamura.
3051 [Win][DRT] should have LayoutTestController.hasSpellingMarker()
3052 https://bugs.webkit.org/show_bug.cgi?id=47885
3054 Added IWebFramePrivate::hasSpellingMarker() and impelmented it for
3055 LayoutTestController.
3057 * Interfaces/IWebFramePrivate.idl:
3059 (WebFrame::hasSpellingMarker):
3062 2010-10-20 Dumitru Daniliuc <dumi@chromium.org>
3064 Reviewed by David Levin.
3066 Repost the DatabaseTracker notifications to the main thread, if needed.
3067 https://bugs.webkit.org/show_bug.cgi?id=40655
3069 * WebDatabaseManager.cpp:
3070 (DidModifyOriginData::dispatchToMainThread):
3071 (DidModifyOriginData::DidModifyOriginData):
3072 (DidModifyOriginData::dispatchDidModifyOriginOnMainThread):
3073 (WebDatabaseManager::dispatchDidModifyOrigin):
3074 (WebDatabaseManager::dispatchDidModifyDatabase):
3076 2010-10-20 Dirk Schulze <krit@webkit.org>
3078 Reviewed by Nikolas Zimmermann.
3080 Merge ColorSpace and ImageColorSpace enums
3081 https://bugs.webkit.org/show_bug.cgi?id=47922
3083 Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB
3084 to follow webkit style rules.
3086 * FullscreenVideoController.cpp:
3089 (FullscreenVideoController::draw):
3090 * WebCoreSupport/WebDragClient.cpp:
3091 (WebDragClient::createDragImageForLink):
3092 * WebKitGraphics.cpp:
3095 2010-10-18 Pavel Podivilov <podivilov@chromium.org>
3097 Reviewed by Timothy Hatcher.
3099 Web Inspector: disable private browsing for inspector
3100 https://bugs.webkit.org/show_bug.cgi?id=47827
3102 * WebCoreSupport/WebInspectorClient.cpp:
3103 (WebInspectorClient::openInspectorFrontend):
3105 2010-10-17 Adam Barth <abarth@webkit.org>
3107 Reviewed by Dimitri Glazkov.
3109 FrameLoader doesn't need an explicit userGesture parameter
3110 https://bugs.webkit.org/show_bug.cgi?id=47777
3112 Update for the new API.
3114 * WebCoreSupport/WebContextMenuClient.cpp:
3115 (WebContextMenuClient::searchWithGoogle):
3117 2010-10-15 Brian Weinstein <bweinstein@apple.com>
3119 Reviewed by Sam Weinig.
3121 REGRESSION(r69850) Loading apple.com/startpage in WebKit on Windows gets a bad request.
3122 https://bugs.webkit.org/show_bug.cgi?id=47753
3123 <rdar://problem/8558242>
3125 VerQueryValue returns a null terminated string, but we need to strip off the null terminating character
3126 when we turn it into a WebCore string, or else concatenation using this string will break.
3130 2010-10-15 Jessie Berlin <jberlin@apple.com>
3132 Windows build fix. Unreviewed.
3134 * WebCoreSupport/WebInspectorClient.cpp:
3135 Add a missing include.
3137 2010-10-15 Nikolas Zimmermann <nzimmermann@rim.com>
3139 Reviewed by Dirk Schulze.
3141 Replace some String::format() usages by StringConcatenate in WebKit
3142 https://bugs.webkit.org/show_bug.cgi?id=47714
3144 * WebCoreSupport/WebInspectorClient.cpp:
3145 (WebInspectorFrontendClient::updateWindowTitle):
3147 (WebView::standardUserAgentWithApplicationName):
3150 2010-10-14 Ilya Tikhonovsky <loislo@chromium.org>
3152 Reviewed by Pavel Feldman.
3154 Web Inspector: inspector settings/properties/states management
3155 should be extracted into separate class.
3157 We have a lot of flags/values in InspectorController.
3158 Some flags are persisting into profile.
3159 Others are part of inspector state for frontend.
3160 All these flags should keep their values after navigation.
3161 It'd be better to extract these flags/values into separate
3162 class which will care about theirs lifetime.
3164 https://bugs.webkit.org/show_bug.cgi?id=47275
3166 * WebCoreSupport/WebInspectorClient.cpp:
3167 (WebInspectorFrontendClient::attachWindow):
3168 (WebInspectorFrontendClient::detachWindow):
3169 (WebInspectorFrontendClient::showWindowWithoutNotifications):
3171 2010-10-13 Gavin Barraclough <barraclough@apple.com>
3173 Reviewed by Oliver Hunt.
3175 https://bugs.webkit.org/show_bug.cgi?id=43987
3176 Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder
3177 to construct their internal result string. Remove ScriptString (this is now
3180 * WebCoreSupport/WebFrameLoaderClient.cpp:
3182 2010-10-12 Adam Roben <aroben@apple.com>
3184 Build TestWebKitAPI on Windows
3186 Fixes <http://webkit.org/b/47552> <rdar://problem/8541708> Make
3187 TestWebKitAPI work on Windows
3189 Reviewed by Sam Weinig.
3191 * WebKit.vcproj/WebKit.sln: Added TestWebKitAPI and
3192 TestWebKitAPIGenerated and made them build just after
3195 2010-10-11 Shinichiro Hamaji <hamaji@chromium.org>
3197 Attempt to fix windows build failure.
3199 Remove WebIconFetcher from WebKit and IconFetcher from WebCore
3200 https://bugs.webkit.org/show_bug.cgi?id=47523
3202 * Interfaces/IWebFramePrivate.idl: s/unused1/unused2/
3203 * Interfaces/WebKit.idl: Touched.
3204 * WebFrame.cpp: s/unused1/unused2/
3205 (WebFrame::unused2):
3206 * WebFrame.h: s/unused1/unused2/
3208 2010-10-11 Anders Carlsson <andersca@apple.com>
3210 Reviewed by Darin Adler.
3212 Remove WebIconFetcher from WebKit and IconFetcher from WebCore
3213 https://bugs.webkit.org/show_bug.cgi?id=47523
3215 Remove all traces of the WebKit WebIconFetcher class. It's SPI that nobody uses.
3217 * Interfaces/IWebFramePrivate.idl:
3218 * Interfaces/IWebIconFetcher.idl: Removed.
3219 * Interfaces/WebKit.idl:
3221 (WebFrame::unused1):
3223 * WebIconFetcher.cpp: Removed.
3224 * WebIconFetcher.h: Removed.
3225 * WebKit.vcproj/Interfaces.vcproj:
3226 * WebKit.vcproj/WebKit.vcproj:
3228 2010-10-11 Jessie Berlin <jberlin@apple.com>
3230 Reviewed by Darin Adler.
3232 Add Private API for creating a WebKit2 WebSerializedScriptValue from the internal
3233 representation of a WebKit1 WebSerializedJSValue.
3234 https://bugs.webkit.org/show_bug.cgi?id=47439
3236 * Interfaces/IWebSerializedJSValuePrivate.idl:
3237 Because it is taking a void** parameter, getInternalRepresentation must be declared [local].
3239 * WebSerializedJSValue.cpp:
3240 (WebSerializedJSValue::getInternalRepresentation):
3241 * WebSerializedJSValue.h:
3243 2010-10-07 Jessie Berlin <jberlin@apple.com>
3245 Reviewed by Sam Weinig.
3247 Add Private API for creating a WebKit1 WebSerializedJSValue from the internal
3248 representation of a WebKit2 WebSerializedScriptValue.
3249 https://bugs.webkit.org/show_bug.cgi?id=47390
3251 * Interfaces/WebKit.idl:
3252 Generate IWebSerializedJSValuePrivate.
3254 * Interfaces/IWebSerializedJSValuePrivate.idl: Added.
3255 Because it is taking a void* parameter, setInternalRepresentation must be declared [local].
3257 * WebKit.vcproj/Interfaces.vcproj:
3258 Add IWebSerializedJSValue.idl and IWebSerializedJSValuePrivate.idl.
3260 * WebSerializedJSValue.cpp:
3261 (WebSerializedJSValue::QueryInterface):
3262 Since there are now two interfaces that inherit from IUnknown, do not try to cast to
3263 IUnknown* anymore. Cast to IWebSerializedJSValue* instead.
3264 (WebSerializedJSValue::setInternalRepresentation):
3265 Only set the internal representation if it hasn't already been set.
3266 * WebSerializedJSValue.h:
3268 2010-10-04 Jon Honeycutt <jhoneycutt@apple.com>
3270 Prevent an assertion failure when trying to create a protection space
3273 Reviewed by Sam Weinig.
3275 * WebURLProtectionSpace.cpp:
3276 (WebURLProtectionSpace::initWithHost):
3277 Remove the ASSERT_NOT_REACHED().
3279 2010-10-05 Brent Fulgham <bfulgham@webkit.org>
3281 Unreviewed build correction.
3283 * WebKit.vcproj/WebKit.sln: Turn the QTMovieWin project
3284 off for WinCairo release builds. Somehow this was
3285 incorrectly turned on.
3287 2010-10-01 Mark Rowe <mrowe@apple.com>
3291 Clear the executable bit from a number of source files.
3296 2010-09-30 Darin Adler <darin@apple.com>
3298 Reviewed by Sam Weinig.
3300 Remove remaining calls to deprecatedParseURL
3301 https://bugs.webkit.org/show_bug.cgi?id=26599
3303 * WebCoreSupport/WebFrameLoaderClient.cpp:
3304 (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
3305 Call stripLeadingAndTrailingHTMLSpaces instead of deprecatedParseURL.
3307 2010-09-28 Jenn Braithwaite <jennb@chromium.org>
3309 Reviewed by Dmitry Titov.
3311 Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument.
3312 https://bugs.webkit.org/show_bug.cgi?id=46663
3314 * WebCoreSupport/WebFrameLoaderClient.cpp:
3315 (WebFrameLoaderClient::didTransferChildFrameToNewDocument):
3316 * WebCoreSupport/WebFrameLoaderClient.h:
3318 2010-09-27 Andrey Kosyakov <caseq@chromium.org>
3320 Unreviewed build fix (win; broken in r68371)
3322 * WebFrame.cpp: remove include <WebCore/ResourceHandleWin.h>
3324 2010-09-23 Matthew Delaney <mdelaney@apple.com>
3326 Reviewed by Simon Fraser.
3328 Reduce minimum DOMTimer interval
3329 https://bugs.webkit.org/show_bug.cgi?id=45362
3332 Updating set interval call to use Settings' static version inside
3333 one time init block.
3335 2010-09-23 Nate Chapin <japhet@chromium.org>
3337 Unreviewed, build fix.
3339 Move hyperlinkAuditingEnabled to IWebPreferencesPrivate.idl
3340 and touch WebKit.idl
3342 * Interfaces/IWebPreferences.idl:
3343 * Interfaces/IWebPreferencesPrivate.idl:
3344 * Interfaces/WebKit.idl:
3346 (WebView::notifyPreferencesChanged):
3348 2010-09-23 Nate Chapin <japhet@chromium.org>
3350 Unreviewed, build fix.
3352 Look for hyperlinkAuditingEnabled in the right set of preferences.
3355 (WebView::notifyPreferencesChanged):
3357 2010-09-23 Nate Chapin <japhet@chromium.org>
3359 Reviewed by Darin Fisher.
3361 Add hyperlink auditing settings (i.e., <a ping>).
3362 https://bugs.webkit.org/show_bug.cgi?id=30458
3364 * Interfaces/IWebPreferences.idl:
3365 * WebPreferenceKeysPrivate.h:
3366 * WebPreferences.cpp:
3367 (WebPreferences::initializeDefaultSettings):
3368 (WebPreferences::hyperlinkAuditingEnabled):
3369 (WebPreferences::setHyperlinkAuditingEnabled):
3372 (WebView::notifyPreferencesChanged):
3374 2010-09-23 Matthew Delaney <mdelaney@apple.com>
3376 Reviewed by Adam Roben.
3378 Create one time initialization block for WebView's initWithFrame
3379 https://bugs.webkit.org/show_bug.cgi?id=46307
3381 * WebView.cpp: Added one time initialization block for webview code
3382 that needs only be run once and not for each webview. This is just as
3383 the mac version WebView.mm does.
3385 2010-09-22 Brent Fulgham <bfulgham@webkit.org>
3387 Reviewed by Martin Robinson.
3389 [WinCairo] Part 2: Update WebKitTestRunner and DumpRenderTree Build.
3390 https://bugs.webkit.org/show_bug.cgi?id=46303.
3392 * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and
3393 Release_Cairo configurations to select appropriate build
3394 targets for WebKitTestRunner and MiniBrowser.
3396 2010-09-22 Brent Fulgham <bfulgham@webkit.org>
3398 Reviewed by Martin Robinson.
3400 [WinCairo] Update WebKitTestRunner and DumpRenderTree Build.rt
3401 https://bugs.webkit.org/show_bug.cgi?id=46303.
3403 * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and
3404 Release_Cairo configurations to select appropriate build
3405 targets for InjectionBundle.
3407 2010-09-22 Balazs Kelemen <kb@inf.u-szeged.hu>
3409 Reviewed by Kenneth Rohde Christiansen.
3411 PluginStrategy should satisfy the needs of Qt
3412 https://bugs.webkit.org/show_bug.cgi?id=45857
3413 No new functionality so no new tests.
3415 * WebCoreSupport/WebPlatformStrategies.cpp:
3416 (WebPlatformStrategies::getPluginInfo):
3417 * WebCoreSupport/WebPlatformStrategies.h:
3419 2010-09-20 Philippe Normand <pnormand@igalia.com>
3421 Reviewed by Eric Carlson.
3423 [GTK] enhanced context menu for media elements
3424 https://bugs.webkit.org/show_bug.cgi?id=45021
3426 New localized strings for the media element context-menu.
3428 * WebCoreSupport/WebPlatformStrategies.cpp:
3429 (WebPlatformStrategies::contextMenuItemTagOpenVideoInNewWindow):
3430 (WebPlatformStrategies::contextMenuItemTagOpenAudioInNewWindow):
3431 (WebPlatformStrategies::contextMenuItemTagCopyVideoLinkToClipboard):
3432 (WebPlatformStrategies::contextMenuItemTagCopyAudioLinkToClipboard):
3433 (WebPlatformStrategies::contextMenuItemTagToggleMediaControls):
3434 (WebPlatformStrategies::contextMenuItemTagToggleMediaLoop):
3435 (WebPlatformStrategies::contextMenuItemTagEnterVideoFullscreen):
3436 (WebPlatformStrategies::contextMenuItemTagMediaPlay):
3437 (WebPlatformStrategies::contextMenuItemTagMediaPause):
3438 (WebPlatformStrategies::contextMenuItemTagMediaMute):
3439 * WebCoreSupport/WebPlatformStrategies.h:
3441 2010-09-17 Darin Adler <darin@apple.com>
3443 Reviewed by Sam Weinig.
3445 REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
3446 https://bugs.webkit.org/show_bug.cgi?id=42863
3449 (WebView::setZoomMultiplier):
3450 Call functions on Frame instead of FrameView.
3452 2010-09-17 Matthew Delaney <mdelaney@apple.com>
3454 Reviewed by Simon Fraser.
3456 Reduce minimum DOMTimer interval
3457 https://bugs.webkit.org/show_bug.cgi?id=45362
3459 * WebView.cpp: Added in a call to set the mimimum allowed DOMTimer to 4ms.
3461 2010-09-17 Simon Fraser <simon.fraser@apple.com>
3463 Reviewed by Chris Marrin.
3465 Remove scroll and clip layers for WKCACFLayerRenderer
3466 https://bugs.webkit.org/show_bug.cgi?id=45922
3468 WKCACFLayerRenderer no longer needs its own layers for managing scrolling
3469 and clipping, because RenderLayerCompositor provides this functionality.
3472 (WebView::sizeChanged): Moved code that handles the WM_SIZE message
3473 into this method. Use it to resize the layer renderer.
3474 (WebView::WebViewWndProc): Call sizeChanged().
3475 (WebView::updateRootLayerContents): No need to call setScrollFrame() any more.
3476 (WebView::layerRendererBecameVisible): Move this from the header (no need to be inline).
3479 2010-09-16 Darin Adler <darin@apple.com>
3481 Reviewed by Andreas Kling.
3483 Reduce use of HTMLInputElement::inputType so we can remove it later
3484 https://bugs.webkit.org/show_bug.cgi?id=45903
3487 (WebFrame::elementDoesAutoComplete): Use isPasswordField.
3488 (WebFrame::elementIsPassword): Use isPasswordField.
3490 2010-09-14 Ada Chan <adachan@apple.com>
3492 Reviewed by Adam Roben.
3494 Add an IWebFramePrivate API to load string as plain text into the WebFrame.
3495 https://bugs.webkit.org/show_bug.cgi?id=45782
3497 * Interfaces/IWebFramePrivate.idl:
3498 * Interfaces/WebKit.idl: Touch the file.
3500 (WebFrame::loadPlainTextString):
3503 2010-09-13 Enrica Casucci <enrica@apple.com>
3505 Reviewed by Sam Weinig.
3507 Paste should be implemented in WebCore like Copy and Cut for Mac also.
3508 https://bugs.webkit.org/show_bug.cgi?id=45494
3509 <rdar://problem/7660537>
3511 On the Mac platform, the implementation of the paste operation is all done
3512 at the WebKit level. In order to support it on WebKit2 it is necessary to
3513 refactor the code and move this functionality at the level of WebCore like
3514 we already have on Windows.
3515 The original code relies on some in AppKit functions that call back into
3516 WebKit causing problems in WebKit2. All this functionality has been moved
3517 at the level of the editor client where it can be dealt with appropriately.
3520 (WebFrame::canShowMIMETypeASHTML): Added.
3522 2010-09-11 Adam Barth <abarth@webkit.org>
3524 Reviewed by Sam Weinig.
3526 Make SecurityOrigin::canDisplay an instance function
3527 https://bugs.webkit.org/show_bug.cgi?id=45219
3530 (WebFrame::allowsFollowingLink):
3532 2010-09-10 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
3534 Reviewed by Darin Adler.
3536 Add NetworkingContext to avoid layer violations
3537 https://bugs.webkit.org/show_bug.cgi?id=42292
3539 * WebCoreSupport/WebFrameNetworkingContext.cpp:
3540 (WebFrameNetworkingContext::blockedError):
3541 * WebCoreSupport/WebFrameNetworkingContext.h:
3543 2010-09-10 Jer Noble <jer.noble@apple.com>
3545 Reviewed by Simon Fraser.
3547 Movies with track or movie matrices don't display in <video> elements (Safari 5/Windows)
3548 https://bugs.webkit.org/show_bug.cgi?id=45333
3550 The rootChild layer must be set as flipped, otherwise transformed movies will appear
3551 incorrectly rotated.
3553 * FullscreenVideoController.cpp:
3554 (FullscreenVideoController::enterFullscreen):
3556 2010-09-10 Sam Weinig <sam@webkit.org>
3558 Reviewed by Darin Adler.
3560 Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom.
3561 Precursor to <rdar://problem/7660657>
3562 https://bugs.webkit.org/show_bug.cgi?id=45522
3570 (WebView::setZoomMultiplier):
3571 (WebView::zoomMultiplier):
3572 (WebView::canMakeTextLarger):
3573 (WebView::makeTextLarger):
3574 (WebView::canMakeTextSmaller):