9d0f75c6337aabc6144400a9fc2f7944d5604fd7
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2011-05-03  Adam Roben  <aroben@apple.com>
2
3         Fix most strict PassOwnPtr violations on Windows
4
5         Fixes <http://webkit.org/b/60025> Windows should (almost) build with strict PassOwnPtr
6         enabled
7
8         Reviewed by Anders Carlsson.
9
10         * WebCoreSupport/WebInspectorClient.h: Made the destructor public, which is required now
11         that this type is put into a PassOwnPtr. (Previously, only
12         WebCore::InspectorFrontendClientLocal was put into a [Pass]OwnPtr.)
13
14         * FullscreenVideoController.cpp:
15         * WebCoreSupport/WebFrameLoaderClient.cpp:
16         * WebCoreSupport/WebInspectorClient.cpp:
17         * WebHistory.cpp:
18         * WebHistoryItem.cpp:
19         * WebView.cpp:
20
21 2011-05-01  Sam Weinig  <sam@webkit.org>
22
23         Fix windows build.
24
25         * WebFrame.cpp:
26
27 2011-05-01  Patrick Gansterer  <paroga@webkit.org>
28
29         Reviewed by Adam Barth.
30
31         Fix OwnPtr strict issues in windows build
32         https://bugs.webkit.org/show_bug.cgi?id=59878
33
34         * FullscreenVideoController.cpp:
35         (FullscreenVideoController::FullscreenVideoController):
36         (FullscreenVideoController::createHUDWindow):
37         * WebCoreSupport/WebInspectorClient.cpp:
38         (WebInspectorClient::highlight):
39         * WebElementPropertyBag.cpp:
40         (WebElementPropertyBag::WebElementPropertyBag):
41         * WebNodeHighlight.cpp:
42         (WebNodeHighlight::update):
43         * WebNotificationCenter.cpp:
44         (WebNotificationCenter::WebNotificationCenter):
45         * WebView.cpp:
46         (WebView::close):
47         (WebView::paint):
48         (WebView::handleMouseEvent):
49         (WebView::registerEmbeddedViewMIMEType):
50
51 2011-04-29  Jer Noble  <jer.noble@apple.com>
52
53         Reviewed by Adam Roben.
54
55         Implement FULLSCREEN_API on Windows, Part 2: WebKit
56         https://bugs.webkit.org/show_bug.cgi?id=59785
57
58         Initial implementation of full screen API on windows.  No animation
59         occurs when entering or exiting full screen.  Re-use existing window
60         classes (MediaPlayerPrivateFullscreenWindow) to host the webView.
61
62         * WebCoreSupport/WebChromeClient.cpp:
63         (WebChromeClient::supportsFullScreenForElement): Call into WebView.
64         (WebChromeClient::enterFullScreenForElement): Call into WebFullScreenController.
65         (WebChromeClient::exitFullScreenForElement): Ditto.
66         * WebFullScreenController.cpp: Added.
67         (WebFullScreenController::Private::Private): Private data storage class.
68         (WebFullScreenController::Private::~Private):
69         (WebFullScreenController::Private::fullscreenClientWndProc): Handle window
70             message for full screen window.
71         (WebFullScreenController::WebFullScreenController):
72         (WebFullScreenController::~WebFullScreenController):
73         (WebFullScreenController::setElement): Added.
74         (WebFullScreenController::element): Added.
75         (WebFullScreenController::isFullScreen): Added.
76         (WebFullScreenController::enterFullScreen): Create and display full screen
77             window, moving webView as child window.
78         (WebFullScreenController::exitFullScreen): Destroy full screen window and
79             move webView back where we found it.
80         * WebFullScreenController.h: Added.
81         * WebKit.vcproj/WebKit.vcproj:
82         * WebView.cpp:
83         (WebView::keyDown): Handle the ESC key.
84         (WebView::notifyPreferencesChanged):
85         (WebView::supportsFullScreenForElement): Do not support full screen if
86             full screen preference is disabled, or if keyboard access is requested.
87         (WebView::isFullScreen): Added.
88         (WebView::fullScreenController): Added.
89         * WebView.h:
90
91 2011-04-28  Jer Noble  <jer.noble@apple.com>
92
93         Reviewed by Jon Honeycutt.
94
95         Implement FULLSCREEN_API on Windows, Part 1: Stubs
96         https://bugs.webkit.org/show_bug.cgi?id=59778
97
98         Create all the stubs necessary to for enabling FULLSCREEN_API
99         on Windows. This includes the COM interfaces for preferences and
100         for overriding full screen behavior in a UI Delegate.
101
102         * Interfaces/IWebPreferencesPrivate.idl: Add functions for enabling
103             full screen preference.
104         * Interfaces/IWebUIDelegatePrivate.idl: Add functions for overriding
105             full screen behavior.
106         * WebCoreSupport/WebChromeClient.cpp:
107         (WebChromeClient::supportsFullScreenForElement): Added.
108         (WebChromeClient::enterFullScreenForElement): Added.
109         (WebChromeClient::exitFullScreenForElement): Added.
110         * WebCoreSupport/WebChromeClient.h:
111         * WebPreferenceKeysPrivate.h: Added WebKitFullScreenEnable key.
112         * WebPreferences.cpp:
113         (WebPreferences::isFullScreenEnabled): Added. Implements function
114            defined in IWebUIDelegatePrivate.
115         (WebPreferences::setFullScreenEnabled): Ditto.
116         * WebPreferences.h:
117
118 2011-04-28  Adam Barth  <abarth@webkit.org>
119
120         Reviewed by Eric Seidel.
121
122         Remove WML
123         https://bugs.webkit.org/show_bug.cgi?id=59678
124
125         Remove WML-related enumeration.
126
127         * Interfaces/IWebFramePrivate.idl:
128
129 2011-04-26  Brent Fulgham  <bfulgham@webkit.org>
130
131         Reviewed by Adam Roben.
132
133         Implement a transparent WebView under Windows.  This feature
134         allows the user to create small web-based applications, similar
135         to the dashboard on Mac OS X.
136         https://bugs.webkit.org/show_bug.cgi?id=58300
137
138         * Interfaces/IWebViewPrivate.idl: Add new set/get accessors to
139         change the state of a WebView into a Layered Window, or back
140         into a standard window.
141         * Interfaces/WebKit.idl: touch to force clean build
142         * WebView.cpp:
143         (WebView::WebView): Set layered window state in constructor.
144         (WebView::updateBackingStore): Cleanup old bitmap when finished.
145         (WebView::performLayeredWindowUpdate): New method to do the work
146         of calling ::UpdateLayeredWindow for the WebView with proper
147         alpha blending.
148         (WebView::paint): Small change to prevent accelerated compositing
149         when using a layered window.  DirectX is not compatible with
150         ::UpdateLayeredWindow (at least currently).
151         (WebView::WebViewWndProc): Adjust main window procedure to avoid
152         painting a default background on a layered window (this is handled
153         by Windows during compositing), and to deal with paint messages
154         properly in the layered window case.
155         (WebView::active): The layered window is not a child window,
156         so the active state logic is slightly different.
157         (WebView::setUsesLayeredWindow): New set method for layered stated.
158         When called, it will convert a WebView into a Layered Window.
159         (WebView::usesLayeredWindow): Accessor
160         * WebView.h:
161         (WebView::setUsesLayeredWindow): Declare new accessor
162         (WebView::usesLayeredWindow): Declare new accessor
163
164 2011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
165
166         Windows build fix.
167
168         * WebCoreSupport/WebEditorClient.h:
169
170 2011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
171
172         Reviewed by Sam Weinig.
173
174         Add Frame* to the argument lists of canCopyCut and canPaste
175         https://bugs.webkit.org/show_bug.cgi?id=59153
176
177         * WebCoreSupport/WebEditorClient.cpp:
178         (WebEditorClient::canCopyCut):
179         (WebEditorClient::canPaste):
180         * WebCoreSupport/WebEditorClient.h:
181
182 2011-04-20  Brent Fulgham  <bfulgham@webkit.org>
183
184         Reviewed by Martin Robinson.
185
186         Provide missing implementation of WebMutableURLRequest::mutableCopy.
187         This was preventing DumpRenderTree from working properly under
188         the WinCairo port.
189         https://bugs.webkit.org/show_bug.cgi?id=59034
190
191         * WebMutableURLRequest.cpp:
192         (WebMutableURLRequest::mutableCopy): Implement cURL version of the
193         copy operation.
194
195 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
196
197         Reviewed by Pavel Feldman.
198
199         Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
200         https://bugs.webkit.org/show_bug.cgi?id=58883
201
202         * WebCoreSupport/WebFrameLoaderClient.h:
203
204 2011-04-18  Timothy Hatcher  <timothy@apple.com>
205
206         Remove the two commands that make en.lproj and copy Localizable.strings.
207
208         Rubber-stamped by Adam Roben.
209
210         * WebKit.vcproj/WebKitLibPostBuild.cmd:
211
212 2011-04-18  Patrick Gansterer  <paroga@webkit.org>
213
214         Reviewed by Adam Roben.
215
216         Include <WebCore/COMPtr.h> instead of "COMPtr.h"
217         https://bugs.webkit.org/show_bug.cgi?id=58744
218
219         * DOMCoreClasses.cpp:
220         * DOMHTMLClasses.cpp:
221         * WebActionPropertyBag.cpp:
222         * WebBackForwardList.cpp:
223         * WebCoreSupport/WebGeolocationClient.h:
224         * WebDownload.h:
225         * WebDropSource.h:
226         * WebFrame.cpp:
227         * WebHistoryItem.cpp:
228         * WebIconDatabase.cpp:
229         * WebNavigationData.h:
230         * WebPreferences.cpp:
231         * WebResource.h:
232         * WebURLAuthenticationChallenge.cpp:
233         * WebURLAuthenticationChallengeSender.cpp:
234         * WebURLAuthenticationChallengeSenderCFNet.cpp:
235         * WebURLAuthenticationChallengeSenderCurl.cpp:
236         * WebView.h:
237
238 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
239
240         Reviewed by Adam Barth.
241
242         Rename PLATFORM(CG) to USE(CG)
243         https://bugs.webkit.org/show_bug.cgi?id=58729
244
245         * WebFrame.cpp:
246         (WebFrame::spoolPages):
247         * WebFrame.h:
248         * WebPreferences.cpp:
249         (WebPreferences::setFontSmoothing):
250         (WebPreferences::setFontSmoothingContrast):
251         * WebView.cpp:
252         (systemParameterChanged):
253
254 2011-04-16  Sam Weinig  <sam@webkit.org>
255
256         Reviewed by Simon Fraser.
257
258         Windows should use WebCore localized strings
259         <rdar://problem/9119405>
260         https://bugs.webkit.org/show_bug.cgi?id=58733
261
262         * WebCoreSupport/WebEditorClient.cpp:
263         (undoNameForEditAction):
264         (WebEditorClient::registerCommandForUndo):
265         * WebPreferences.cpp:
266         (WebPreferences::initializeDefaultSettings):
267         * WebURLResponse.cpp:
268         (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode):
269         (WebURLResponse::localizedStringForStatusCode):
270         Change to use WEB_UI_STRING.
271
272         * WebCoreSupport/WebPlatformStrategies.cpp:
273         * WebCoreSupport/WebPlatformStrategies.h:
274         Remove the localization strategy in favor of using the default one.
275
276 2011-04-16  Patrick Gansterer  <paroga@webkit.org>
277
278         Reviewed by Eric Seidel.
279
280         Rename PLATFORM(CAIRO) to USE(CAIRO)
281         https://bugs.webkit.org/show_bug.cgi?id=55192
282
283         * WebFrame.cpp:
284         (WebFrame::spoolPages):
285         * WebFrame.h:
286
287 2011-04-14  Adam Roben  <aroben@apple.com>
288
289         Replace some known-to-fail assertions with FIXMEs
290
291         These assertions get hit during various layout tests. They indicate that we're sometimes
292         doing some extra work when a page goes into accelerated compositing mode, but otherwise
293         there's no bad effect.
294
295         See <http://webkit.org/b/58539> for more details.
296
297         Rubber-stamped by John Sullivan.
298
299         * WebView.cpp:
300         (WebView::paintIntoBackingStore):
301         (WebView::paintIntoWindow):
302         Replaced assertions with FIXMEs.
303
304 2011-04-13  James Robinson  <jamesr@chromium.org>
305
306         Reviewed by Simon Fraser.
307
308         Allow setting composited backing stores for scrollbars and scroll corners
309         https://bugs.webkit.org/show_bug.cgi?id=57202
310
311         Update WebScrollBar to reflect ScrollableArea interface changes.
312
313         * WebScrollBar.h:
314         (WebScrollBar::invalidateScrollCornerRect):
315         (WebScrollBar::scrollCornerPresent):
316         (WebScrollBar::scrollCornerRect):
317
318 2011-04-12  Alice Liu  <alice.liu@apple.com>
319
320         Reviewed by Sam Weinig.
321
322         https://bugs.webkit.org/show_bug.cgi?id=58292
323         Provide new setting to allow site icon loading despite disabling automatic image loading in general.
324
325         * Interfaces/IWebPreferencesPrivate.idl: Added prefs. 
326         * Interfaces/WebKit.idl: Touch file to force autogeneration
327         * WebPreferenceKeysPrivate.h: Add preference key.
328         * WebPreferences.cpp:
329         (WebPreferences::initializeDefaultSettings): Initialize setting to false.
330         (WebPreferences::setLoadsSiteIconsIgnoringImageLoadingPreference): Added setter
331         (WebPreferences::loadsSiteIconsIgnoringImageLoadingPreference): Added getter
332         * WebPreferences.h:
333         * WebView.cpp:
334         (WebView::notifyPreferencesChanged): Add to settings that get propagated upon changes.
335
336 2011-04-11  Alexey Proskuryakov  <ap@apple.com>
337
338         Reviewed by Maciej Stachowiak.
339
340         WebKit2: Cannot use Ctrl-Delete as a custom keyboard shortcut
341         https://bugs.webkit.org/show_bug.cgi?id=58265
342         <rdar://problem/9221468>
343
344         * WebView.cpp: (WebView::keyDown): Removed special handling of Backspace, which is unnecessary
345         now that WebCore implements it.
346
347 2011-04-06  Brian Weinstein  <bweinstein@apple.com>
348
349         Reviewed by Adam Roben.
350
351         WebKit2: Support Windows 7 Gestures
352         https://bugs.webkit.org/show_bug.cgi?id=49824
353         <rdar://problem/8689728>
354         
355         Move WindowsTouch.h from WebKit/win to WebCore/platform/win, so it can be
356         used in both WebKit and WebKit2.
357
358         * WebKit.vcproj/WebKit.vcproj: Remove WindowsTouch.h.
359         * WebView.cpp: Include WindowsTouch.h from WebCore instead of WebKit.
360         * WindowsTouch.h: Removed.
361
362 2011-04-05  Martin Robinson  <mrobinson@igalia.com>
363
364         Reviewed by Eric Seidel.
365
366         [Cairo] Better separate the concerns of GraphicsContextCairo
367         https://bugs.webkit.org/show_bug.cgi?id=55150
368
369         * WebFrame.cpp:
370         (hdcFromContext): Modify this method to take PlatformContextCairo
371         instead of a cairo_t.
372         (WebFrame::spoolPage): Update to reflect new platform context.
373         (WebFrame::spoolPages): Ditto.
374         * WebFrame.h: Ditto.
375
376 2011-04-04  MORITA Hajime  <morrita@google.com>
377
378         Reviewed by Ryosuke Niwa.
379
380         [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
381         https://bugs.webkit.org/show_bug.cgi?id=56085
382
383         * WebCoreSupport/WebEditorClient.h:
384         (WebEditorClient::requestCheckingOfString):
385
386 2011-04-04  Alexey Proskuryakov  <ap@apple.com>
387
388         Reviewed by Dan Bernstein.
389
390         REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
391         https://bugs.webkit.org/show_bug.cgi?id=51230
392         <rdar://problem/8780989>
393
394         * WebView.cpp: (WebView::keyDown): Moved Caps Lock handling from WebKits to WebCore,
395         because WebKit shouldn't be smart.
396
397 2011-04-04  Steve Falkenburg  <sfalken@apple.com>
398
399         Reviewed by Adam Roben.
400
401         Remove unused AnalyzeWithLargeStack code from Windows build files
402         https://bugs.webkit.org/show_bug.cgi?id=57771
403         
404         This was used for us to build with prefast automatically,
405         but it is out-of-date and hasn't been used for some time.
406         Removing completely for now.
407
408         * WebKit.vcproj/WebKitLibPreBuild.cmd:
409
410 2011-04-01  Adam Roben  <aroben@apple.com>
411
412         Remove the WebView's "this" pointer from its HWND when WM_DESTROY is received
413
414         This will ensure we don't try to process any window messages after the window has been
415         destroyed.
416
417         Covered by existing tests.
418
419         Fixes <http://webkit.org/b/55054>.
420
421         Reviewed by Steve Falkenburg and John Sullivan.
422
423         * WebView.cpp:
424         (WebView::setIsBeingDestroyed): Moved here from the header file, and added a call to clear
425         out the this pointer from the HWND.
426         (WebView::WebViewWndProc): Changed a runtime check into an assertion.
427
428         * WebView.h: Moved setIsBeingDestroyed from here to the .cpp file.
429
430 2011-03-31  Evan Martin  <evan@chromium.org>
431
432         Reviewed by Eric Seidel.
433
434         <title> should support dir attribute
435         https://bugs.webkit.org/show_bug.cgi?id=50961
436
437         Update to new FrameLoaderClient interface.
438
439         * WebCoreSupport/WebFrameLoaderClient.cpp:
440         (WebFrameLoaderClient::dispatchDidReceiveTitle):
441         * WebCoreSupport/WebFrameLoaderClient.h:
442
443 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
444
445         Reviewed by Adam Roben.
446
447         Share most vsprops between Release and Production builds in releaseproduction.vsprops
448         https://bugs.webkit.org/show_bug.cgi?id=57508
449
450         * WebKit.vcproj/InterfacesProduction.vsprops:
451         * WebKit.vcproj/InterfacesRelease.vsprops:
452         * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
453         * WebKit.vcproj/WebKitGUIDProduction.vsprops:
454         * WebKit.vcproj/WebKitGUIDRelease.vsprops:
455         * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
456         * WebKit.vcproj/WebKitLibProduction.vsprops:
457         * WebKit.vcproj/WebKitLibRelease.vsprops:
458         * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:
459
460 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
461
462         Reviewed by Adam Roben.
463
464         Update Windows production build logic for new production configurations
465         https://bugs.webkit.org/show_bug.cgi?id=57494
466
467         * WebKit.vcproj/InterfacesProduction.vsprops:
468         * WebKit.vcproj/WebKit.make:
469         * WebKit.vcproj/WebKitGUIDProduction.vsprops:
470         * WebKit.vcproj/WebKitLibProduction.vsprops:
471
472 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
473
474         Reviewed by Adam Roben.
475
476         Rename Windows configuration Release_LTCG to Production for clarity
477         https://bugs.webkit.org/show_bug.cgi?id=57465
478
479         * WebKit.vcproj/Interfaces.vcproj:
480         * WebKit.vcproj/InterfacesProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/InterfacesReleaseLTCG.vsprops.
481         * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Removed.
482         * WebKit.vcproj/WebKit.sln:
483         * WebKit.vcproj/WebKit.submit.sln:
484         * WebKit.vcproj/WebKit.vcproj:
485         * WebKit.vcproj/WebKitGUID.vcproj:
486         * WebKit.vcproj/WebKitGUIDProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops.
487         * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Removed.
488         * WebKit.vcproj/WebKitLibProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitLibReleaseLTCG.vsprops.
489         * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Removed.
490
491 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
492
493         Reviewed by Adam Roben.
494
495         [WIN] Remove unused GEN_DOMObject files
496         https://bugs.webkit.org/show_bug.cgi?id=57370
497
498         * GEN_DOMObject.cpp: Removed.
499         * GEN_DOMObject.h: Removed.
500
501 2011-03-29  Steve Falkenburg  <sfalken@apple.com>
502
503         More build fix.
504
505         * WebCoreSupport/WebPlatformStrategies.h:
506
507 2011-03-29  Steve Falkenburg  <sfalken@apple.com>
508
509         Build fix.
510
511         * WebCoreSupport/WebPlatformStrategies.cpp:
512         (WebPlatformStrategies::contextMenuItemTagLookUpInDictionary):
513
514 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
515
516         Unreviewed. Try to fix Windows build.
517
518         * DOMEventsClasses.cpp: Added initguid.h again.
519
520 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
521
522         Reviewed by Adam Roben.
523
524         [WIN] Cleanup includes in WebKit files
525         https://bugs.webkit.org/show_bug.cgi?id=57381
526
527         Add missing includes to fix build without precompiled header.
528         Also fix paths in #include statements (e.g. WTF -> wtf).
529
530         * AccessibleBase.h:
531         * AccessibleDocument.h: Replace using statement with a qualified name.
532         * CFDictionaryPropertyBag.h:
533         * DOMEventsClasses.cpp:
534         * DOMHTMLClasses.h:
535         * DefaultDownloadDelegate.cpp:
536         * DefaultDownloadDelegate.h:
537         * DefaultPolicyDelegate.cpp:
538         * DefaultPolicyDelegate.h:
539         * WebCoreSupport/EmbeddedWidget.h:
540         * WebCoreSupport/WebInspectorDelegate.h:
541         * WebDataSource.h:
542         * WebDatabaseManager.h:
543         * WebElementPropertyBag.h:
544         * WebFramePolicyListener.h:
545         * WebGeolocationPolicyListener.h:
546         * WebHistory.h:
547         * WebKitClassFactory.h:
548         * WebScriptWorld.h:
549         * WebSerializedJSValue.h:
550         * WebUserContentURLPattern.h:
551
552 2011-03-29  Steve Falkenburg  <sfalken@apple.com>
553
554         Reviewed by Darin Adler.
555
556         Use per-configuration vsprops in WebKit to avoid WebKitVSPropsRedirectionDir removal by MSVC IDE
557         https://bugs.webkit.org/show_bug.cgi?id=57383
558
559         Visual Studio's IDE was removing instances of $(WebKitVSPropsRedirectionDir) from
560         InheritedPropertySheet rules in our vcproj files when the vcproj was edited from within
561         the IDE. To avoid this, add a separate vsprops file for each project configuration that
562         contains the required inherited property sheets.
563
564         * WebKit.vcproj/Interfaces.vcproj:
565         * WebKit.vcproj/InterfacesDebug.vsprops: Added.
566         * WebKit.vcproj/InterfacesDebugAll.vsprops: Added.
567         * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: Added.
568         * WebKit.vcproj/InterfacesRelease.vsprops: Added.
569         * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: Added.
570         * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Added.
571         * WebKit.vcproj/WebKit.vcproj:
572         * WebKit.vcproj/WebKitGUID.vcproj:
573         * WebKit.vcproj/WebKitGUIDDebug.vsprops: Added.
574         * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: Added.
575         * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: Added.
576         * WebKit.vcproj/WebKitGUIDRelease.vsprops: Added.
577         * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: Added.
578         * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Added.
579         * WebKit.vcproj/WebKitLibDebug.vsprops: Added.
580         * WebKit.vcproj/WebKitLibDebugAll.vsprops: Added.
581         * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Added.
582         * WebKit.vcproj/WebKitLibRelease.vsprops: Added.
583         * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Added.
584         * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Added.
585
586 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
587
588         Reviewed by Adam Roben.
589
590         Remove #pragma warning push and pop statements
591         https://bugs.webkit.org/show_bug.cgi?id=57198
592
593         We do not need to disable warnings via #pragma since we started
594         compiling WebCore with the same compiler warnings flags as WebKit.
595
596         * DOMCSSClasses.cpp:
597         * DOMCoreClasses.cpp:
598         * DOMEventsClasses.cpp:
599         * DOMHTMLClasses.cpp:
600         * DefaultDownloadDelegate.cpp:
601         * DefaultPolicyDelegate.cpp:
602         * MarshallingHelpers.cpp:
603         * WebActionPropertyBag.cpp:
604         * WebActionPropertyBag.h:
605         * WebCache.cpp:
606         * WebCoreSupport/WebDragClient.cpp:
607         * WebCoreSupport/WebEditorClient.cpp:
608         * WebCoreSupport/WebEditorClient.h:
609         * WebCoreSupport/WebFrameLoaderClient.cpp:
610         * WebCoreSupport/WebFrameLoaderClient.h:
611         * WebCoreSupport/WebInspectorClient.cpp:
612         * WebDocumentLoader.h:
613         * WebDownload.cpp:
614         * WebDownloadCFNet.cpp:
615         * WebDownloadCurl.cpp:
616         * WebElementPropertyBag.cpp:
617         * WebError.cpp:
618         * WebError.h:
619         * WebFrame.cpp:
620         * WebFrame.h:
621         * WebFramePolicyListener.cpp:
622         * WebFramePolicyListener.h:
623         * WebHistory.cpp:
624         * WebHistoryItem.cpp:
625         * WebIconDatabase.cpp:
626         * WebIconDatabase.h:
627         * WebInspector.cpp:
628         * WebJavaScriptCollector.cpp:
629         * WebKitGraphics.cpp:
630         * WebKitSystemBits.cpp:
631         * WebLocalizableStrings.cpp:
632         * WebMutableURLRequest.cpp:
633         * WebMutableURLRequest.h:
634         * WebNodeHighlight.cpp:
635         * WebNodeHighlight.h:
636         * WebNotificationCenter.cpp:
637         * WebResource.cpp:
638         * WebResource.h:
639         * WebScrollBar.cpp:
640         * WebScrollBar.h:
641         * WebURLAuthenticationChallenge.cpp:
642         * WebURLAuthenticationChallenge.h:
643         * WebURLAuthenticationChallengeSender.cpp:
644         * WebURLAuthenticationChallengeSenderCFNet.cpp:
645         * WebURLAuthenticationChallengeSenderCurl.cpp:
646         * WebURLCredential.cpp:
647         * WebURLCredential.h:
648         * WebURLProtectionSpace.cpp:
649         * WebURLProtectionSpace.h:
650         * WebURLResponse.cpp:
651         * WebURLResponse.h:
652
653 2011-03-29  Brent Fulgham  <bfulgham@webkit.org>
654
655         Unreviewed build fix after r82247.
656
657         * WebMutableURLRequest.cpp: The new CertificateCFWin routines
658         are not CFNetwork-specific. All CF-based ports can use them.
659
660 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
661
662         Reviewed by Adam Roben.
663
664         [WIN] Use WCHAR instead of TCHAR
665         https://bugs.webkit.org/show_bug.cgi?id=57191
666
667         We always use the UNICODE versions of windows functions, so
668         the usage of TCHAR makes no sense and mixing them is bad style.
669
670         * DefaultDownloadDelegate.cpp:
671         * WebCoreSupport/WebChromeClient.cpp:
672         * WebCoreSupport/WebContextMenuClient.cpp:
673         * WebCoreSupport/WebInspectorClient.cpp:
674         * WebKitDLL.cpp:
675         * WebNotificationCenter.cpp:
676         * WebPreferences.cpp:
677         * WebURLResponse.cpp:
678         * WebView.cpp:
679
680 2011-03-29  Jeff Miller  <jeffm@apple.com>
681
682         Reviewed by Jon Honeycutt.
683
684         Add WebCore::copyCertificateToData() on Windows
685         https://bugs.webkit.org/show_bug.cgi?id=57296
686
687         Remove duplicate code that implemented this functionality in WebMutableURLRequest.cpp and use WebCore::copyCertificateToData() instead. 
688
689         * WebMutableURLRequest.cpp:
690         (WebMutableURLRequest::setClientCertificate):  Use WebCore::copyCertificateToData().
691
692 2011-03-28  Patrick Gansterer  <paroga@webkit.org>
693
694         Reviewed by Adam Roben.
695
696         [WIN] Remove unused DOMCreateInstance files
697         https://bugs.webkit.org/show_bug.cgi?id=57193
698
699         * DOMCreateInstance.cpp: Removed.
700         * DOMCreateInstance.h: Removed.
701
702 2011-03-28  Adele Peterson  <adele@apple.com>
703
704         Build fix.
705         
706         * WebFrame.cpp: (WebFrame::hasSpellingMarker):
707         Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
708
709 2011-03-28  Jeff Miller  <jeffm@apple.com>
710
711         Reviewed by Adam Roben.
712
713         Include certificate when sending a WebCore::ResourceError to UI process on Windows
714         https://bugs.webkit.org/show_bug.cgi?id=57195
715         
716         Rename callers of wkGetSSLPeerCertificateData() to use wkGetSSLPeerCertificateDataBytePtr(), since it returns a void*.
717
718         * WebError.cpp:
719         (WebError::sslPeerCertificate):
720         * WebURLResponse.cpp:
721         (WebURLResponse::sslPeerCertificate):
722
723 2011-03-28  Darin Adler  <darin@apple.com>
724
725         Set eol-style to native on more files. I noticed the last check-in had an entire file
726         changing because of an EOL style change, and setting this property prevents that from
727         happening in future. We may want to do this systematically for more of WebKit later.
728
729         * AccessibleBase.cpp: Added property svn:eol-style.
730         * AccessibleBase.h: Added property svn:eol-style.
731         * AccessibleDocument.cpp: Added property svn:eol-style.
732         * AccessibleDocument.h: Added property svn:eol-style.
733         * AccessibleImage.cpp: Added property svn:eol-style.
734         * AccessibleImage.h: Added property svn:eol-style.
735         * COMVariantSetter.h: Added property svn:eol-style.
736         * FullscreenVideoController.cpp: Added property svn:eol-style.
737         * FullscreenVideoController.h: Added property svn:eol-style.
738         * WebCoreSupport/EmbeddedWidget.cpp: Added property svn:eol-style.
739         * WebCoreSupport/EmbeddedWidget.h: Added property svn:eol-style.
740         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: Added property svn:eol-style.
741         * WebCoreSupport/WebDesktopNotificationsDelegate.h: Added property svn:eol-style.
742         * WebCoreSupport/WebFrameLoaderClient.cpp: Added property svn:eol-style.
743         * WebCoreSupport/WebInspectorDelegate.cpp: Added property svn:eol-style.
744         * WebCoreSupport/WebInspectorDelegate.h: Added property svn:eol-style.
745         * WebCoreSupport/WebPlatformStrategies.cpp: Added property svn:eol-style.
746         * WebCoreSupport/WebPlatformStrategies.h: Added property svn:eol-style.
747         * WebCoreSupport/WebPluginHalterClient.cpp: Added property svn:eol-style.
748         * WebCoreSupport/WebPluginHalterClient.h: Added property svn:eol-style.
749
750 2011-03-28  Patrick Gansterer  <paroga@webkit.org>
751
752         Unreviewed build fix.
753
754         * COMPropertyBag.h: Added missing include.
755         * WebKitCOMAPI.h: Ditto.
756         * WebCoreSupport/WebFrameLoaderClient.h: Added missing forward declaration.
757
758 2011-03-25  Sam Weinig  <sam@webkit.org>
759
760         Reviewed by Jon Honeycutt.
761
762         WebScrollBar not updating when calling WebScrollBar::setValue.
763         <rdar://problem/9143871>
764
765         * WebScrollBar.cpp:
766         (WebScrollBar::setValue):
767         Call scrollToOffsetWithoutAnimation to actually update the scroll position.
768
769 2011-03-25  Andy Estes  <aestes@apple.com>
770
771         Reviewed by Adele Peterson.
772
773         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
774         https://bugs.webkit.org/show_bug.cgi?id=49016
775
776         Update objectContentType() implementation to handle the
777         shouldPreferPlugInsForImages flag.
778
779         * WebFrame.cpp:
780         (WebFrame::objectContentType):
781         * WebFrame.h:
782
783 2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
784
785         Unreviewed, rolling out r81916 and r81917.
786         http://trac.webkit.org/changeset/81916
787         http://trac.webkit.org/changeset/81917
788         https://bugs.webkit.org/show_bug.cgi?id=57071
789
790         broke a test on platforms that do not have QuickTime installed
791         (Requested by estes on #webkit).
792
793         * WebFrame.cpp:
794         (WebFrame::objectContentType):
795         * WebFrame.h:
796
797 2011-03-24  Andy Estes  <aestes@apple.com>
798
799         Reviewed by Darin Adler.
800
801         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
802         https://bugs.webkit.org/show_bug.cgi?id=49016
803
804         Update objectContentType() implementation to handle the
805         shouldPreferPlugInsForImages flag.
806
807         * WebFrame.cpp:
808         (WebFrame::objectContentType):
809         * WebFrame.h:
810
811 2011-03-23  Brady Eidson  <beidson@apple.com>
812
813         Reviewed by Sam Weinig.
814
815         Change IconDatabase opening to allow for arbitrary filenames
816         https://bugs.webkit.org/show_bug.cgi?id=56977
817
818         * WebIconDatabase.cpp:
819         (WebIconDatabase::startUpIconDatabase):
820
821 2011-03-22  Brady Eidson  <beidson@apple.com>
822
823         Reviewed by Sam Weinig.
824
825         <rdar://problem/8648311> and https://bugs.webkit.org/show_bug.cgi?id=56876
826         WK2 Icon DB: Expand IconDatabaseClient interface and move it to the main thread
827
828         Note that while the new client calls always come through on the main thread, our mechanisms to
829         route dispatches to the main thread are still valid and will still work.
830
831         Update to the new IconDatabaseClient interface:
832         * WebIconDatabase.cpp:
833         (WebIconDatabase::performImport):
834         (WebIconDatabase::didRemoveAllIcons):
835         (WebIconDatabase::didImportIconURLForPageURL):
836         (WebIconDatabase::didImportIconDataForPageURL):
837         (WebIconDatabase::didChangeIconForPageURL):
838         (WebIconDatabase::didFinishURLImport):
839         * WebIconDatabase.h:
840
841 2011-03-17  Brady Eidson  <beidson@apple.com>
842
843         Reviewed by Sam Weinig.
844
845         https://bugs.webkit.org/show_bug.cgi?id=56425
846         More groundwork for WebKit2 IconDatabase
847
848         Update already-used function names:
849         * WebIconDatabase.cpp:
850         (WebIconDatabase::iconForURL):
851         (WebIconDatabase::iconURLForURL):
852         (WebIconDatabase::hasIconForURL):
853
854 2011-03-18  Pavel Podivilov  <podivilov@chromium.org>
855
856         Reviewed by Yury Semikhatsky.
857
858         Web Inspector: implement inspector session storage.
859         https://bugs.webkit.org/show_bug.cgi?id=56643
860
861         * WebCoreSupport/WebInspectorClient.cpp:
862         (WebInspectorClient::saveSessionSetting):
863         (WebInspectorClient::loadSessionSetting):
864         (WebInspectorFrontendClient::saveSessionSetting):
865         (WebInspectorFrontendClient::loadSessionSetting):
866         * WebCoreSupport/WebInspectorClient.h:
867
868 2011-03-11  Brady Eidson  <beidson@apple.com>
869
870         More Windows build fix for https://bugs.webkit.org/show_bug.cgi?id=56216
871
872         * WebCoreStatistics.cpp:
873         * WebIconDatabase.cpp:
874
875 2011-03-09  Peter Kasting  <pkasting@google.com>
876
877         Reviewed by Mihai Parparita.
878
879         Unify Windows version checks.
880         https://bugs.webkit.org/show_bug.cgi?id=55979
881
882         * WebView.cpp:
883         (WebView::standardUserAgentWithApplicationName):
884         (webKitVersionString):
885
886 2011-03-07  Sam Weinig  <sam@webkit.org>
887
888         Reviewed by Anders Carlsson.
889
890         Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
891         https://bugs.webkit.org/show_bug.cgi?id=55827
892
893         Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
894         and pass the entire response, instead of just the MIMEType.
895
896         * WebFrame.cpp:
897         (WebFrame::dispatchDecidePolicyForResponse):
898         * WebFrame.h:
899
900 2011-03-04  Steve Falkenburg  <sfalken@apple.com>
901
902         Reviewed by Darin Adler.
903
904         Adopt VersionStamper tool for Windows WebKit DLLs
905         https://bugs.webkit.org/show_bug.cgi?id=55784
906
907         Calculate the WebKit version for the useragent via autoversion.h
908         instead of reading it back from the DLL.
909         
910         We now use a tool to stamp the version number onto the Apple WebKit DLLs
911         during the post-build step.
912
913         * WebKit.vcproj/WebKit.rc: Removed. This file wasn't used.
914         * WebKit.vcproj/WebKitLibCommon.vsprops: Fetch version from a string resource.
915         * WebView.cpp:
916         (WebView::standardUserAgentWithApplicationName): Use __BUILD_NUMBER_SHORT__ for the version.
917         (osVersion): Removed
918
919 2011-03-03  Anders Carlsson  <andersca@apple.com>
920
921         Reviewed by Sam Weinig.
922
923         Get rid of Page::globalHistoryItem
924         https://bugs.webkit.org/show_bug.cgi?id=55738
925
926         * WebCoreSupport/WebFrameLoaderClient.cpp:
927         (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
928         Get the current history item and update it using WebView::setGlobalHistoryItem.
929         
930         * WebCoreSupport/WebFrameLoaderClient.h:
931         * WebView.cpp:
932         (WebView::globalHistoryItem):
933         (WebView::setGlobalHistoryItem):
934         * WebView.h:
935
936 2011-03-03  Brent Fulgham  <bfulgham@webkit.org>
937
938         Unreviewed build correction.
939
940         * WebFrame.cpp:
941         (scaleFactor): Update after 77286 to replace right/bottom
942         with new maxX/maxY terminology.
943
944 2011-03-03  Brady Eidson  <beidson@apple.com>
945
946         Reviewed by Darin Adler.
947
948         https://bugs.webkit.org/show_bug.cgi?id=55721
949         Global IconDatabase should be returned by reference, not as a pointer
950
951         * WebCoreStatistics.cpp:
952         (WebCoreStatistics::iconPageURLMappingCount):
953         (WebCoreStatistics::iconRetainedPageURLCount):
954         (WebCoreStatistics::iconRecordCount):
955         (WebCoreStatistics::iconsWithDataCount):
956         * WebIconDatabase.cpp:
957         (WebIconDatabase::init):
958         (WebIconDatabase::startUpIconDatabase):
959         (WebIconDatabase::iconForURL):
960         (WebIconDatabase::retainIconForURL):
961         (WebIconDatabase::releaseIconForURL):
962         (WebIconDatabase::removeAllIcons):
963         (WebIconDatabase::iconURLForURL):
964         (WebIconDatabase::isEnabled):
965         (WebIconDatabase::setEnabled):
966         (WebIconDatabase::hasIconForURL):
967         (WebIconDatabase::getOrCreateDefaultIconBitmap):
968         * WebKitDLL.cpp:
969         (shutDownWebKit):
970
971 2011-03-03  Alexey Proskuryakov  <ap@apple.com>
972
973         Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
974         via ChromeClient.h
975
976         * WebCoreSupport/WebChromeClient.h:
977
978 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
979
980         Reviewed by Darin Adler.
981
982         REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
983         https://bugs.webkit.org/show_bug.cgi?id=55633
984         <rdar://problem/8963023>
985
986         * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::keyboardUIMode):
987         * WebCoreSupport/WebChromeClient.h:
988         Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
989         this platform doesn't observe or have full keyboard access state.
990
991 2011-03-03  Peter Kasting  <pkasting@google.com>
992
993         Reviewed by James Robinson.
994
995         Drop redundant "Windows; " from the Windows-specific User Agent string.
996         https://bugs.webkit.org/show_bug.cgi?id=54567
997
998         * WebView.cpp:
999         (WebView::standardUserAgentWithApplicationName):
1000
1001 2011-03-01  Brian Weinstein  <bweinstein@apple.com>
1002
1003         Reviewed by Adam Roben.
1004
1005         Part of WebKit2: Need a way to send notifications to client when cookies change
1006         https://bugs.webkit.org/show_bug.cgi?id=55427
1007         <rdar://problem/9056027>
1008         
1009         Add stubs for CookiesStrategy on Windows WebKit1.
1010
1011         * WebCoreSupport/WebPlatformStrategies.cpp:
1012         (WebPlatformStrategies::createCookiesStrategy):
1013         (WebPlatformStrategies::notifyCookiesChanged):
1014         * WebCoreSupport/WebPlatformStrategies.h:
1015
1016 2011-02-28  Chang Shu  <cshu@webkit.org>
1017
1018         Reviewed by Ryosuke Niwa.
1019
1020         Remove the support of Frame::isContentEditable and its dependencies.
1021         https://bugs.webkit.org/show_bug.cgi?id=54292
1022
1023         Remove the WebKit side implementation.
1024
1025         * WebCoreSupport/WebEditorClient.cpp:
1026         * WebCoreSupport/WebEditorClient.h:
1027
1028 2011-02-28  Adam Roben  <aroben@apple.com>
1029
1030         Build TestWebKitAPIInjectedBundle on Windows
1031
1032         Fixes <http://webkit.org/b/55420> run-api-tests doesn't run injected bundle tests on Windows
1033
1034         Reviewed by Darin Adler.
1035
1036         * WebKit.vcproj/WebKit.sln: Added TestWebKitAPIInjectedBundle. Let VS simplify the paths to
1037         the project files.
1038
1039 2011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1040
1041         Unreviewed, rolling out r78789.
1042         http://trac.webkit.org/changeset/78789
1043         https://bugs.webkit.org/show_bug.cgi?id=55409
1044
1045         Incorrect canvas fallback implementation (Requested by
1046         inferno-sec on #webkit).
1047
1048         * AccessibleBase.cpp:
1049         (MSAARole):
1050
1051 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
1052
1053         Reviewed by Pavel Feldman.
1054
1055         DumpRenderTree should reset frame opener between tests.
1056         https://bugs.webkit.org/show_bug.cgi?id=54874
1057
1058         Added clearOpener method to IWebFramePrivate.
1059         Touched WebKit.idl to trigger build scripts.
1060
1061         * Interfaces/IWebFramePrivate.idl:
1062         * Interfaces/WebKit.idl:
1063         * WebFrame.cpp:
1064         (WebFrame::clearOpener):
1065         * WebFrame.h:
1066
1067 2011-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
1068
1069         Unreviewed, rolling out r79764.
1070         http://trac.webkit.org/changeset/79764
1071         https://bugs.webkit.org/show_bug.cgi?id=55295
1072
1073         "broke Chromium builds" (Requested by rniwa on #webkit).
1074
1075         * Interfaces/IWebFramePrivate.idl:
1076         * Interfaces/WebKit.idl:
1077         * WebFrame.cpp:
1078         * WebFrame.h:
1079
1080 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
1081
1082         Reviewed by Pavel Feldman.
1083
1084         DumpRenderTree should reset frame opener between tests.
1085         https://bugs.webkit.org/show_bug.cgi?id=54874
1086
1087         Added clearOpener method to IWebFramePrivate.
1088         Touched WebKit.idl to trigger build scripts.
1089
1090         * Interfaces/IWebFramePrivate.idl:
1091         * Interfaces/WebKit.idl:
1092         * WebFrame.cpp:
1093         (WebFrame::clearOpener):
1094         * WebFrame.h:
1095
1096 2011-02-24  Peter Kasting  <pkasting@google.com>
1097
1098         Reviewed by Eric Seidel.
1099
1100         Drop the "U; " encryption level from the User Agent string.
1101         https://bugs.webkit.org/show_bug.cgi?id=54566
1102
1103         * WebView.cpp:
1104         (WebView::standardUserAgentWithApplicationName):
1105
1106 2011-02-24  Andrew Wilson  <atwilson@chromium.org>
1107
1108         Unreviewed, rolling out r79570.
1109         http://trac.webkit.org/changeset/79570
1110         https://bugs.webkit.org/show_bug.cgi?id=54874
1111
1112         Breaks chromium build because glue/mocks/mock_web_frame.h/cc
1113         was not updated
1114
1115         * Interfaces/IWebFramePrivate.idl:
1116         * Interfaces/WebKit.idl:
1117         * WebFrame.cpp:
1118         * WebFrame.h:
1119
1120 2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
1121
1122         Reviewed by Alexey Proskuryakov.
1123
1124         DumpRenderTree should reset frame opener between tests.
1125         https://bugs.webkit.org/show_bug.cgi?id=54874
1126
1127         Added clearOpener method to IWebFramePrivate.
1128         Touched WebKit.idl to trigger build scripts.
1129
1130         * Interfaces/IWebFramePrivate.idl:
1131         * Interfaces/WebKit.idl:
1132         * WebFrame.cpp:
1133         (WebFrame::clearOpener):
1134         * WebFrame.h:
1135
1136 2011-02-23  Patrick Gansterer  <paroga@webkit.org>
1137
1138         Reviewed by Darin Adler.
1139
1140         Rename PLATFORM(CF) to USE(CF)
1141         https://bugs.webkit.org/show_bug.cgi?id=53540
1142
1143         * WebView.cpp:
1144
1145 2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1146
1147         Reviewed by Alexey Proskuryakov.
1148
1149         Drop the language tag part from the User Agent string
1150         https://bugs.webkit.org/show_bug.cgi?id=54560
1151
1152         * WebView.cpp:
1153         (WebView::standardUserAgentWithApplicationName):
1154
1155 2011-02-19  Charlie Reis  <creis@chromium.org>
1156
1157         Reviewed by Mihai Parparita.
1158
1159         Ensure loading has stopped in HistoryController::goToItem
1160         https://bugs.webkit.org/show_bug.cgi?id=54517
1161
1162         Add a FrameLoaderClient callback for whether to stop loading before goToItem.
1163
1164         Test: http/tests/navigation/forward-to-fragment-fires-onload.html
1165
1166         * WebCoreSupport/WebFrameLoaderClient.cpp:
1167         (WebFrameLoaderClient::shouldStopLoadingForHistoryItem): Added.
1168         * WebCoreSupport/WebFrameLoaderClient.h:
1169
1170 2011-02-16  David Hyatt  <hyatt@apple.com>
1171
1172         Reviewed by Dan Bernstein.
1173
1174         https://bugs.webkit.org/show_bug.cgi?id=54244
1175         
1176         Convert the line box tree to floating point and eliminate font rounding hacks.  This patch removes all of the rounding
1177         hacks from the Font code and makes sure all Font APIs involving width measurement and width offsets use floats.
1178         
1179         The line box tree's x, y and logicalWidth members have all been converted to floats and all of the line box APIs have
1180         been changed as well.
1181         
1182         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).
1183         
1184         Background and border painting is using a rounding model, so borders and backgrounds will round to the nearest pixel when painting.
1185         
1186         Replaced elements still snap to integer positions on lines, and they use a rounding model as well, although their underlying line boxes
1187         still have a precise floating point position.
1188
1189         Justification will now allow subpixel positioning to occur as well.  Platforms that don't support subpixel positioning should already
1190         be rounding justification spacing in their font code.
1191
1192         Many layout test results change on Mac, since rounding hacks were used there and are now gone.
1193
1194         * WebKitGraphics.cpp:
1195         (CenterTruncateStringToWidth):
1196         (RightTruncateStringToWidth):
1197
1198 2011-02-10  Luiz Agostini  <luiz.agostini@openbossa.org>
1199
1200         Reviewed by Adam Roben.
1201
1202         HTML5 <details> and <summary>: localized text
1203         https://bugs.webkit.org/show_bug.cgi?id=54260
1204
1205         The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
1206         provide the default label to be used by a <details> tag that has no <summary> child.
1207
1208         * WebCoreSupport/WebPlatformStrategies.cpp:
1209         (WebPlatformStrategies::defaultDetailsSummaryText):
1210         * WebCoreSupport/WebPlatformStrategies.h:
1211
1212 2011-02-16  Dominic Mazzoni  <dmazzoni@google.com>
1213
1214         Reviewed by Chris Fleizach.
1215
1216         Add new role for canvas elements.
1217
1218         https://bugs.webkit.org/show_bug.cgi?id=50126
1219
1220         Test: accessibility/canvas-fallback-content.html
1221
1222         * AccessibleBase.cpp:
1223         (MSAARole):
1224
1225 2011-02-15  Kenneth Russell  <kbr@google.com>
1226
1227         Unreviewed. Remove whitespace-only change from
1228         http://trac.webkit.org/changeset/78620 (https://bugs.webkit.org/show_bug.cgi?id=54312)
1229         now that the patch has passed the Windows build bots.
1230
1231         * Interfaces/WebKit.idl:
1232
1233 2011-02-15  Kenneth Russell  <kbr@google.com>
1234
1235         Reviewed by Darin Fisher.
1236
1237         Allow controlling minimum DOMTimer interval on a per-page basis
1238         https://bugs.webkit.org/show_bug.cgi?id=54312
1239
1240         Added needed methods to implement LayoutTestController's new
1241         setMinimumTimerInterval method. Includes whitespace-only change to
1242         WebKit.idl to trigger proper rebuild on bots; will be removed in
1243         subsequent checkin.
1244
1245         * Interfaces/IWebViewPrivate.idl:
1246         * Interfaces/WebKit.idl:
1247         * WebView.cpp:
1248         (WebView::initWithFrame):
1249         (WebView::defaultMinimumTimerInterval):
1250         (WebView::setMinimumTimerInterval):
1251         * WebView.h:
1252
1253 2011-01-26  MORITA Hajime  <morrita@google.com>
1254
1255         Reviewed by Ryosuke Niwa.
1256
1257         Refactoring: Extract TextCheckerClient from EditorClient
1258         https://bugs.webkit.org/show_bug.cgi?id=53213
1259
1260         * WebCoreSupport/WebEditorClient.h:
1261         (WebEditorClient::textChecker):
1262
1263 2011-02-07  Ryosuke Niwa  <rniwa@webkit.org>
1264
1265         Reviewed by Adam Barth.
1266
1267         Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
1268         https://bugs.webkit.org/show_bug.cgi?id=52417
1269
1270         Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
1271         not implemented.
1272
1273         * WebCoreSupport/WebEditorClient.cpp:
1274         (WebEditorClient::canCopyCut): Added.
1275         (WebEditorClient::canPaste): Added.
1276         * WebCoreSupport/WebEditorClient.h:
1277
1278 2011-02-14  Brian Weinstein  <bweinstein@apple.com>
1279
1280         Reviewed by Brady Eidson.
1281
1282         Need WebKit API to determine whether we have a site icon for a given URL
1283         https://bugs.webkit.org/show_bug.cgi?id=54400
1284         
1285         This patch implements IWebIconDatabase::hasIconForURL which tells us whether or not
1286         we have a site icon for the given URL.
1287
1288         * Interfaces/IWebIconDatabase.idl: Added new function.
1289         * Interfaces/WebKit.idl: Touched to make sure Interfaces rebuilds.
1290         * WebIconDatabase.cpp:
1291         (WebIconDatabase::hasIconForURL): Call IconDatabase::iconForPageURL to make sure we
1292             load the icon from disk, and call iconURLForPageURL to determine whether or not
1293             we actually have an icon.
1294         * WebIconDatabase.h:
1295
1296 2011-02-11  Geoffrey Garen  <ggaren@apple.com>
1297
1298         Reviewed by Oliver Hunt.
1299
1300         A little more encapsulation for the heap: Removed CollectorHeapIterator
1301         https://bugs.webkit.org/show_bug.cgi?id=54298
1302
1303         * WebCoreStatistics.cpp:
1304         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1305
1306 2011-02-09  Pavel Feldman  <pfeldman@chromium.org>
1307
1308         Reviewed by Yury Semikhatsky.
1309
1310         Web Inspector: follow up on InspectorAgent split -
1311         removing unnecessary methods from InspectorController.
1312         https://bugs.webkit.org/show_bug.cgi?id=54093
1313
1314         * WebInspector.cpp:
1315         (WebInspector::showConsole):
1316         (WebInspector::toggleProfilingJavaScript):
1317
1318 2011-02-08  Adam Barth  <abarth@webkit.org>
1319
1320         Reviewed by Eric Seidel.
1321
1322         Remove orphan code from old parser
1323         https://bugs.webkit.org/show_bug.cgi?id=53984
1324
1325         * WebCoreSupport/WebChromeClient.h:
1326
1327 2011-02-08  David Hyatt  <hyatt@apple.com>
1328
1329         Reviewed by Adam Roben.
1330
1331         <rdar://problem/8932077> REGRESSION (5.0.3-ToT): United boarding pass has wrong layout when printed
1332         
1333         Windows never got patched to pass in the page height to WebCore, so when WebCore's pagination got re-written to depend on this
1334         value, Windows got broken.  Patch setPrinting to be identical to WebKit1 on OS X and to have it take an extra minimum page height
1335         argument.
1336
1337         * WebFrame.cpp:
1338         (WebFrame::setPrinting):
1339         (WebFrame::setInPrintingMode):
1340         * WebFrame.h:
1341
1342 2011-02-02  Ilya Tikhonovsky  <loislo@chromium.org>
1343
1344         Reviewed by Yury Semikhatsky.
1345
1346         Web Inspector: move InspectorController's methods from InspectorAgent to InspectorController.
1347
1348         https://bugs.webkit.org/show_bug.cgi?id=53169
1349
1350         Minor change enforced by major changes in WebCore/inspector/InspectorController.
1351
1352         * WebInspector.cpp:
1353         (WebInspector::isTimelineProfilingEnabled):
1354
1355 2011-02-07  Enrica Casucci  <enrica@apple.com>
1356
1357         Reviewed Adam Roben and Darin Adler.
1358
1359         WebKit2: drag and drop support on Windows.
1360         https://bugs.webkit.org/show_bug.cgi?id=52775
1361
1362         Removed createDragImageForLink from DragClient.
1363
1364         * WebCoreSupport/WebDragClient.cpp:
1365         (WebDragClient::startDrag):
1366         * WebCoreSupport/WebDragClient.h:
1367
1368 2011-02-06  Ryosuke Niwa  <rniwa@webkit.org>
1369
1370         Reviewed by Darin Adler.
1371
1372         OwnArraryPtr.h uses deleteOwnedPtr but doesn’t include OwnPtrCommon.h
1373         https://bugs.webkit.org/show_bug.cgi?id=52867
1374
1375         * WebHistory.cpp:
1376         (WebHistory::orderedLastVisitedDays): Calls adoptArrayPtr.
1377         * WebPreferences.cpp:
1378         (WebPreferences::copyWebKitPreferencesToCFPreferences): Ditto.
1379
1380 2011-02-03  Yury Semikhatsky  <yurys@chromium.org>
1381
1382         Reviewed by Pavel Feldman.
1383
1384         Web Inspector: remove settings related methods from InspectorClient
1385         https://bugs.webkit.org/show_bug.cgi?id=53686
1386
1387         * WebCoreSupport/WebInspectorClient.cpp:
1388         (WebInspectorClient::openInspectorFrontend):
1389         (WebInspectorFrontendClient::WebInspectorFrontendClient):
1390         * WebCoreSupport/WebInspectorClient.h:
1391
1392 2011-02-03  Adam Langley  <agl@chromium.org>
1393
1394         Reviewed by Adam Barth.
1395
1396         Plumb mixed script URL to FrameLoaderClient
1397         https://bugs.webkit.org/show_bug.cgi?id=52384
1398
1399         Regressions covered by http/tests/security/mixedContent/*
1400
1401         * WebCoreSupport/WebFrameLoaderClient.cpp:
1402         (WebFrameLoaderClient::didRunInsecureContent):
1403         * WebCoreSupport/WebFrameLoaderClient.h:
1404
1405 2011-02-02  David Hyatt  <hyatt@apple.com>
1406
1407         Reviewed by Darin Adler.
1408
1409         Removal of right()/bottom(), converting to maxX()/maxY().
1410
1411         * DOMHTMLClasses.cpp:
1412         (DOMHTMLInputElement::rectOnScreen):
1413         * WebCoreSupport/EmbeddedWidget.cpp:
1414         (EmbeddedWidget::frameRectsChanged):
1415         * WebFrame.cpp:
1416         (WebFrame::computePageRects):
1417         * WebScrollBar.cpp:
1418         (WebScrollBar::frameRect):
1419         * WebView.cpp:
1420         (WebView::addToDirtyRegion):
1421         (WebView::visibleContentRect):
1422         (WebView::prepareCandidateWindow):
1423
1424 2011-01-31  Brady Eidson  <beidson@apple.com>
1425
1426         Reviewed by Adam Roben.
1427
1428         Fix the clean Windows build.
1429
1430         * WebKitGraphics.cpp:
1431         (WebDrawText):
1432
1433 2011-01-28  Jon Honeycutt  <jhoneycutt@apple.com>
1434
1435         Downloads in WK2 on Windows should write resume data to bundle
1436         https://bugs.webkit.org/show_bug.cgi?id=53282
1437         <rdar://problem/8753077>
1438
1439         Reviewed by Alice Liu.
1440
1441         * WebDownload.cpp:
1442         (WebDownload::bundlePathForTargetPath):
1443         Use the new WebCore::DownloadBundle function.
1444         (WebDownload::request):
1445
1446         * WebDownload.h:
1447         Removed declarations for functions that were moved to a new location.
1448
1449         * WebDownloadCFNet.cpp:
1450         (WebDownload::initToResumeWithBundle):
1451         Use the new WebCore::DownloadBundle function.
1452         (WebDownload::cancelForResume):
1453         Fix a leak of the resume data CFDataRef by using adoptCF(). Use the new
1454         WebCore::DownloadBundle function.
1455
1456 2011-01-28  Dan Bernstein  <mitz@apple.com>
1457
1458         Reviewed by Sam Weinig.
1459
1460         <select> can't display right-to-left (rtl) languages
1461         https://bugs.webkit.org/show_bug.cgi?id=19785
1462
1463         * WebCoreSupport/WebChromeClient.cpp:
1464         (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection): Added.
1465         * WebCoreSupport/WebChromeClient.h:
1466
1467 2011-01-27  Nate Chapin  <japhet@chromium.org>
1468
1469         Reviewed by Adam Barth.
1470
1471         Use Document::url() instead of FrameLoader::url().
1472         https://bugs.webkit.org/show_bug.cgi?id=41165
1473
1474         * WebFrame.cpp:
1475         (WebFrame::url):
1476
1477 2011-01-27  Sam Weinig  <sam@webkit.org>
1478
1479         Reviewed by Adam Roben.
1480
1481         Fix scrollbars in Safari's Downloads window and Bookmarks view by
1482         implementing two needed functions from ScrollableArea.
1483
1484         * WebScrollBar.cpp:
1485         (WebScrollBar::horizontalScrollbar): Return the WebCore::Scrollbar if
1486         we are a horizontal scrollbar.
1487         (WebScrollBar::verticalScrollbar): Return the WebCore::Scrollbar if we
1488         are a vertical scrollbar.
1489         * WebScrollBar.h:
1490
1491 2011-01-27  Adam Roben  <aroben@apple.com>
1492
1493         Trim down #includes in WebView.h
1494
1495         Rubber-stamped by Steve Falkenburg.
1496
1497         * WebView.cpp: Moved some #includes here from the header file.
1498
1499         * WebView.h: Replaced some broader #includes with more specific ones, plus a
1500         forward-declaration.
1501
1502 2011-01-25  Steve Falkenburg  <sfalken@apple.com>
1503
1504         Windows production build fix.
1505         Build correct configuration of Interfaces for Debug_All.
1506
1507         * WebKit.vcproj/WebKit.submit.sln:
1508
1509 2011-01-25  Steve Falkenburg  <sfalken@apple.com>
1510
1511         Rubber-stamped by Adam Roben.
1512
1513         Windows production build fix.
1514         Use correct environment variable escaping
1515
1516         * WebKit.vcproj/WebKit.make:
1517
1518 2011-01-24  Chris Marrin  <cmarrin@apple.com>
1519
1520         Reviewed by Eric Seidel.
1521
1522         Change ENABLE_3D_CANVAS to ENABLE_WEBGL
1523         https://bugs.webkit.org/show_bug.cgi?id=53041
1524
1525         * WebView.cpp:
1526         (WebView::notifyPreferencesChanged):
1527
1528 2011-01-25  Yury Semikhatsky  <yurys@chromium.org>
1529
1530         Reviewed by Pavel Feldman.
1531
1532         Web Inspector: remove "attached" state related methods from InspectorAgent
1533         https://bugs.webkit.org/show_bug.cgi?id=53086
1534
1535         * WebCoreSupport/WebInspectorClient.cpp:
1536         (WebInspectorFrontendClient::attachWindow):
1537         (WebInspectorFrontendClient::detachWindow):
1538         (WebInspectorFrontendClient::showWindowWithoutNotifications):
1539         * WebCoreSupport/WebInspectorClient.h:
1540
1541 2011-01-24  Adam Roben  <aroben@apple.com>
1542
1543         Windows Production build fix
1544
1545         * WebKit.vcproj/WebKit.make: Update for move of WebKit into Source.
1546
1547 2011-01-21  Nikolas Zimmermann  <nzimmermann@rim.com>
1548
1549         Reviewed by Dirk Schulze.
1550
1551         Introduce FontMetrics abstraction
1552         https://bugs.webkit.org/show_bug.cgi?id=51456
1553
1554         * FullscreenVideoController.cpp: Use FontMetrics instead of Font to access the metrics.
1555         (FullscreenVideoController::draw):
1556         * WebCoreSupport/WebDragClient.cpp: Ditto.
1557         (WebDragClient::createDragImageForLink):
1558         * WebKitGraphics.cpp: Ditto.
1559         (FontMetrics):
1560
1561 2011-01-21  Chris Rogers  <crogers@google.com>
1562
1563         Reviewed by Darin Fisher.
1564
1565         Add run-time enable support for the web audio API
1566         https://bugs.webkit.org/show_bug.cgi?id=52741
1567
1568         * WebPreferenceKeysPrivate.h:
1569         * WebView.cpp:
1570         (WebView::notifyPreferencesChanged):
1571
1572 2011-01-21  Sam Weinig  <sam@webkit.org>
1573
1574         Fix windows build.
1575
1576         * WebScrollBar.h:
1577
1578 2011-01-21  Sam Weinig  <sam@webkit.org>
1579
1580         Reviewed by Anders Carlsson.
1581
1582         Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship"
1583         https://bugs.webkit.org/show_bug.cgi?id=52779
1584
1585         Rename ScrollbarClient -> ScrollableArea.
1586
1587         * WebScrollBar.cpp:
1588         (WebScrollBar::scroll):
1589         * WebScrollBar.h:
1590
1591 2011-01-20  Adam Roben  <aroben@apple.com>
1592
1593         Update for CACFLayerTreeHost changes
1594
1595         Fixes <http://webkit.org/b/52852> Flushing layer changes and rendering are intertwined in
1596         CACFLayerTreeHost, but shouldn't be
1597
1598         Reviewed by Simon Fraser.
1599
1600         * WebView.cpp:
1601         (WebView::paint): Changed to flush layer changes via CACFLayerTreeHost, which will call back
1602         to our own flushing function if needed.
1603
1604         * WebView.h: Removed shouldRender, which is no longer used or needed.
1605
1606 2011-01-21  Adam Roben  <aroben@apple.com>
1607
1608         Update for WKCACFLayerRenderer -> CACFLayerTreeHost rename
1609
1610         Also renamed WebView::m_layerRenderer to WebView::m_layerTreeHost to match.
1611
1612         Fixes <http://webkit.org/b/52898> WKCACFLayerRenderer sounds like a render object, but isn't
1613
1614         Reviewed by Simon Fraser.
1615
1616         * WebPreferences.cpp:
1617         * WebView.cpp:
1618         (WebView::setAcceleratedCompositing): Also made sure to remove our HWND from the layer tree
1619         host before we get rid of the layer tree host itself.
1620         * WebView.h:
1621
1622 2011-01-21  Adam Roben  <aroben@apple.com>
1623
1624         Replace some "sync compositing state" terminology with "flush pending GraphicsLayer changes"
1625
1626         This seems to be the direction in which our code is moving. I chose "GraphicsLayer" as
1627         opposed to just "layer" because there are cases where we flush changes to CACFLayers that
1628         don't have a corresponding GraphicsLayer.
1629
1630         Fixes <http://webkit.org/b/52894> "Sync compositing state" terminology in
1631         WKCACFLayerRenderer and friends is confusing
1632
1633         Reviewed by Simon Fraser.
1634
1635         * WebCoreSupport/WebChromeClient.cpp:
1636         (WebChromeClient::scheduleCompositingLayerSync): Updated for WebView changes.
1637
1638         * WebView.cpp:
1639         (WebView::paint): Updated for rename.
1640         (WebView::flushPendingGraphicsLayerChangesSoon): Renamed from scheduleCompositingLayerSync.
1641         (WebView::notifySyncRequired): Updated for rename.
1642         (WebView::flushPendingGraphicsLayerChanges): Renamed from syncCompositingState.
1643
1644         * WebView.h: Did the renames.
1645
1646 2011-01-20  Sam Weinig  <sam@webkit.org>
1647
1648         Reviewed by Dave Hyatt.
1649
1650         Cleanup Scrollbar/ScrollbarClient relationship
1651         https://bugs.webkit.org/show_bug.cgi?id=52779
1652
1653         * WebScrollBar.cpp:
1654         (WebScrollBar::WebScrollBar):
1655         (WebScrollBar::setValue):
1656         (WebScrollBar::value):
1657         (WebScrollBar::scroll):
1658         (WebScrollBar::scrollPosition):
1659         (WebScrollBar::setScrollOffset):
1660         * WebScrollBar.h:
1661
1662 2011-01-19  Adam Roben  <aroben@apple.com>
1663
1664         Update for WKCACFLayerRenderer changes
1665
1666         Fixes <http://webkit.org/b/52749> WKCACFLayerRenderer should be
1667         ref-counted
1668
1669         Reviewed by Simon Fraser.
1670
1671         * WebView.cpp:
1672         (WebView::~WebView): Added some assertions to make sure we've gotten rid of our
1673         compositing-related members. My biggest concern was making sure that m_layerRenderer was
1674         gone, which would also mean we had nulled out its client pointer.
1675         (WebView::setAcceleratedCompositing): Changed to call WKCACFLayerRenderer::setClient instead
1676         of passing the client into create(), and to clear out the client before nulling out
1677         m_layerRenderer.
1678
1679         * WebView.h: Changed m_layerRenderer from an OwnPtr to a RefPtr.
1680
1681 2011-01-19  Adam Roben  <aroben@apple.com>
1682
1683         Teach WebView::scrollBackingStore about compositing mode
1684
1685         Test:
1686             compositing/scroll-painted-composited-content.html
1687
1688         Fixes <http://webkit.org/b/52720> REGRESSION (r75987): Assertion failure in
1689         WebView::scrollBackingStore when scrolling page with composited content
1690
1691         Reviewed by Anders Carlsson.
1692
1693         * WebView.cpp:
1694         (WebView::scrollBackingStore): Do something sensible (though naive) when in compositing
1695         mode, rather than incorrectly asserting that this function is never called in that case. For
1696         now we just repaint the entire scrolled region; someday hopefully we can avoid having to
1697         repaint the areas that have just been moved.
1698
1699 2011-01-19  Simon Fraser  <simon.fraser@apple.com>
1700
1701         Reviewed by Sam Weinig.
1702
1703         GraphicsLayers in subframes can get sync'd multiple times
1704         https://bugs.webkit.org/show_bug.cgi?id=52489
1705
1706         * WebView.cpp:
1707         (WebView::syncCompositingState): syncCompositingStateRecursive()
1708         was renamed to syncCompositingStateIncludingSubframes().
1709
1710 2011-01-17  Adam Roben  <aroben@apple.com>
1711
1712         Update for WKCACFLayerRenderer changes
1713
1714         Fixes <http://webkit.org/b/52587> WKCACFLayerRenderer is hard to use
1715
1716         Reviewed by Chris Marrin.
1717
1718         * WebView.cpp:
1719         (WebView::WebViewWndProc): Removed call to layerRendererBecameVisible
1720         when handling WM_SHOWWINDOW. All this did was try to create the
1721         renderer, but it had already been created in setAcceleratedCompositing,
1722         so wasn't needed.
1723         (WebView::setAcceleratedCompositing): Removed call to createRenderer;
1724         setHostWindow does this for us now.
1725
1726         * WebView.h: Removed animationsStarted and layerRendererBecameVisible.
1727
1728 2011-01-17  Adam Roben  <aroben@apple.com>
1729
1730         Paint directly into a GraphicsLayer when using accelerated compositing
1731
1732         Before this patch, we were painting into our normal backing store
1733         HBITMAP, wrapping it in a CGImage, and handing it off to Core
1734         Animation. This had at least two disadvantages:
1735            1) The bitmap could be modified while Core Animation was using it.
1736            2) It introduced extra complexity.
1737
1738         When entering accelerated compositing mode, WebView now creates a
1739         GraphicsLayer to draw into. This GraphicsLayer sits between the root
1740         layer (owned by WKCACFLayerRenderer) and the RenderView's layer. When
1741         WebView invalidates, it just calls setNeedsDisplayInRect on its
1742         GraphicsLayer. When WebView paints, it just tells its
1743         WKCACFLayerRenderer to paint, which will call back to WebView to draw
1744         into the GraphicsLayer if it has a dirty region. This is very similar
1745         to the current implementation of LayerBackedDrawingArea in WebKit2.
1746
1747         Fixes <http://webkit.org/b/52582> WebView should paint directly into a
1748         GraphicsLayer when in accelerated compositing mode
1749
1750         Reviewed by Simon Fraser and Chris Marrin.
1751
1752         * WebCoreSupport/WebChromeClient.cpp:
1753         (WebChromeClient::attachRootGraphicsLayer):
1754         (WebChromeClient::scheduleCompositingLayerSync):
1755         Updated for WebView changes.
1756
1757         * WebView.cpp:
1758         (WebView::repaint): When using accelerated compositing, just invalidate
1759         our backing layer. This matches the behavior of LayerBackedDrawingArea.
1760         (WebView::deleteBackingStore): Removed accelerated compositing code.
1761         The WKCACFLayerRenderer doesn't need to know about our backing store
1762         anymore; we don't use it at all when in accelerated compositing mode.
1763         (WebView::addToDirtyRegion): When using accelerated compositing, just
1764         invalidate our backing layer.
1765         (WebView::scrollBackingStore): Added an assertion that this isn't
1766         called in accelerated compositing mode.
1767         (WebView::sizeChanged): Update our backing layer's size, too, and
1768         invalidate it.
1769         (WebView::updateBackingStore): Added an assertion that this isn't
1770         called in accelerated compositing mode.
1771         (WebView::paint): If we're in accelerated compositing mode, sync our
1772         compositing state. If we're *still* in accelerated compositing mode,
1773         just tell our WKCACFLayerRenderer to paint and clear our dirty region.
1774         (The later changes in this function are just un-indenting code that
1775         used to be inside an if.)
1776
1777         (WebView::paintIntoBackingStore):
1778         (WebView::paintIntoWindow):
1779         Added assertions that these aren't called in accelerated compositing
1780         mode.
1781
1782         (WebView::WebViewWndProc): Updated WM_XP_THEMECHANGED handling for
1783         removal of setRootLayerNeedsDisplay.
1784         (WebView::setRootChildLayer): Changed to take a GraphicsLayer. We now
1785         set the layer as a child of our own backing layer.
1786         (WebView::scheduleCompositingLayerSync): Just call through to
1787         WKCACFLayerRenderer.
1788         (WebView::setAcceleratedCompositing): Create our backing layer and set
1789         it as the child of WKCACFLayerRenderer's root layer.
1790         (WebView::notifyAnimationStarted): Added. We never expect this
1791         GraphicsLayerClient override to be called, as we don't use animations
1792         on our backing layer.
1793         (WebView::notifySyncRequired): Added. Just schedule a sync.
1794         (WebView::paintContents): Added. Just clip and paint!
1795
1796         (WebView::showDebugBorders):
1797         (WebView::showRepaintCounter):
1798         Added. These just call through to Settings.
1799
1800         (WebView::syncCompositingState): Changed to first update layout, then
1801         sync state for our backing layer, then sync WebCore's state. This
1802         matches LayerBackedDrawingArea.
1803
1804         * WebView.h: WebView now implements the GraphicsLayerClient interface.
1805         Removed setRootLayerNeedsDisplay; it's been replaced by calling
1806         setNeedsDisplay on our backing layer and calling
1807         syncCompositingStateSoon on WKCACFLayerRenderer as needed. Removed
1808         updateRootLayerContents; that function was used to pass our backing
1809         store to Core Animation, which we no longer do. Added m_backingLayer.
1810
1811 2011-01-17  Tony Gentilcore  <tonyg@chromium.org>
1812
1813         Reviewed by Alexey Proskuryakov.
1814
1815         Fix some headers with missing or misspelled #ifndef guards
1816         https://bugs.webkit.org/show_bug.cgi?id=52545
1817
1818         * WebKitStatistics.h:
1819
1820 2011-01-17  Pavel Feldman  <pfeldman@chromium.org>
1821
1822         Reviewed by Yury Semikhatsky.
1823
1824         Web Inspector: simplify debugger enabling routine.
1825         https://bugs.webkit.org/show_bug.cgi?id=52472
1826
1827         * WebInspector.cpp:
1828         (WebInspector::toggleDebuggingJavaScript):
1829
1830 2011-01-16  Adam Barth  <abarth@webkit.org>
1831
1832         Rubber-stamped by Eric Seidel.
1833
1834         Move WebKit into Source
1835         https://bugs.webkit.org/show_bug.cgi?id=52530
1836
1837         * WebKit.vcproj/Interfaces.vcproj:
1838         * WebKit.vcproj/WebKit.sln:
1839         * WebKit.vcproj/WebKit.vcproj:
1840         * WebKit.vcproj/WebKitGUID.vcproj:
1841
1842 2011-01-15  Adam Barth  <abarth@webkit.org>
1843
1844         Rubber-stamped by Eric Seidel.
1845
1846         Move WebKit2 into Source
1847         https://bugs.webkit.org/show_bug.cgi?id=52438
1848
1849         Update reference to WebKit2.
1850
1851         * WebKit.vcproj/WebKit.sln:
1852
1853 2011-01-14  Yuzo Fujishima  <yuzo@google.com>
1854
1855         Reviewed by Antti Koivisto.
1856
1857         Rename cache() to memoryCache()
1858         https://bugs.webkit.org/show_bug.cgi?id=52433
1859
1860         * WebCache.cpp:
1861         (WebCache::statistics):
1862         (WebCache::empty):
1863         (WebCache::setDisabled):
1864         (WebCache::disabled):
1865         * WebView.cpp:
1866         (WebView::setCacheModel):
1867
1868 2011-01-10  Geoffrey Garen  <ggaren@apple.com>
1869
1870         Try to fix Windows build.
1871
1872         * WebJavaScriptCollector.cpp: Updated for rename to Heap.*. (Didn't catch
1873         this one before because it was miscapitalized.)
1874
1875 2011-01-09  Xianzhu Wang <phnixwxz@gmail.com>
1876
1877         Reviewed by Darin Fisher.
1878
1879         https://bugs.webkit.org/show_bug.cgi?id=41441
1880         createWindow method should only do window-creating without URL navigation
1881
1882         * WebCoreSupport/WebChromeClient.cpp:
1883         (WebChromeClient::createWindow):
1884
1885 2011-01-07  Adam Barth  <abarth@webkit.org>
1886
1887         Rubber-stamped by Eric Seidel.
1888
1889         Move WebCore to Source
1890         https://bugs.webkit.org/show_bug.cgi?id=52050
1891
1892         * WebKit.vcproj/WebKit.sln:
1893
1894 2011-01-06  Gavin Barraclough  <barraclough@apple.com>
1895
1896         Reviewed by Geoff Garen.
1897
1898         Bug 52035 - Unregistering DOMWrapperWorlds is unsafe
1899
1900         The method DOMWrapperWorld::unregisterWorld() effectively calls the DOMWrapperWorld's
1901         destructor early, in order to release wrappers once we know we no longer intend to use them.
1902         Whilst it is okay to have a method to throw away wrappers (assuming we know we're willing to
1903         lose any state stored on them) it is not okay to deregister the world from the JSGlobalData.
1904         A sequence of events that triggers the bug would look like this:
1905
1906         (1) Create a DOMWrapperWorld.
1907         (2) Register a timer in the world.
1908         (3) Call unregisterWorld() on the world.
1909         (4) Timer goes off, code is executed in the world, creates a Node not attached to a Document.
1910         (5) We attempt to lookup a wrapper map for the world on the JSGlobalData, but because we've
1911             called forgetWorld() none exists.
1912         (6) Attempt to add a wrapper to a NULL map.
1913
1914         Fix the problem by not removing the JSGlobalData's wrapper map until the world really goes away.
1915
1916         * WebScriptWorld.cpp:
1917         (WebScriptWorld::unregisterWorld):
1918
1919 2011-01-07  Chris Marrin  <cmarrin@apple.com>
1920
1921         Rubber-stamped by Simon Fraser.
1922
1923         Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
1924         https://bugs.webkit.org/show_bug.cgi?id=49388
1925
1926         Change client API for the fullscreen video controller. It now uses a 
1927         PlatformCALayerClient so it can use a PlaformCALayer directly. Also
1928         updated how to connect the layer tree to the view to reflect the updated
1929         hardware compositing logic.
1930
1931         * FullscreenVideoController.cpp:
1932         (FullscreenVideoController::LayerClient::LayerClient):
1933         (FullscreenVideoController::LayerClient::platformCALayerRespondsToLayoutChanges):
1934         (FullscreenVideoController::LayerClient::platformCALayerAnimationStarted):
1935         (FullscreenVideoController::LayerClient::platformCALayerContentsOrientation):
1936         (FullscreenVideoController::LayerClient::platformCALayerPaintContents):
1937         (FullscreenVideoController::LayerClient::platformCALayerShowDebugBorders):
1938         (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter):
1939         (FullscreenVideoController::LayerClient::platformCALayerIncrementRepaintCount):
1940         (FullscreenVideoController::LayerClient::platformCALayerContentsOpaque):
1941         (FullscreenVideoController::LayerClient::platformCALayerDrawsContent):
1942         (FullscreenVideoController::LayerClient::platformCALayerLayerDidDisplay):
1943         (FullscreenVideoController::LayerClient::platformCALayerLayoutSublayersOfLayer):
1944         (FullscreenVideoController::FullscreenVideoController):
1945         (FullscreenVideoController::~FullscreenVideoController):
1946         (FullscreenVideoController::enterFullscreen):
1947         * FullscreenVideoController.h:
1948         * WebCoreSupport/WebChromeClient.cpp:
1949         (WebChromeClient::attachRootGraphicsLayer):
1950         (WebChromeClient::scheduleCompositingLayerSync):
1951         * WebView.cpp:
1952         (WebView::setRootChildLayer):
1953         (WebView::animationsStarted):
1954         (WebView::syncCompositingState):
1955         * WebView.h:
1956         (WebView::setRootLayerNeedsDisplay):
1957
1958 2011-01-05  Steve Falkenburg  <sfalken@apple.com>
1959
1960         Reviewed by Darin Adler.
1961
1962         Debug and Release builds on Windows clobber each other
1963         https://bugs.webkit.org/show_bug.cgi?id=49185
1964
1965         Changes the structure of WebKitBuild build products directory so we
1966         completely separate each build configuration into independent directories.
1967         
1968         Although we previously had per-configuration directories for obj, this change adds
1969         per-configuration directories for bin, lib, obj, and include. Each configuration's
1970         build products are stored within a directory inside of WebKitBuild.
1971         
1972         Most use of $(WebKitOutputDir) in the build files has been replaced by $(ConfigurationBuildDir),
1973         defined in common.vsprops to be $(WebKitOutputDir)\$(ConfigurationName).
1974
1975         * WebKit.vcproj/InterfacesCommon.vsprops:
1976         * WebKit.vcproj/InterfacesPostBuild.cmd:
1977         * WebKit.vcproj/InterfacesPreBuild.cmd:
1978         * WebKit.vcproj/WebKit.make:
1979         * WebKit.vcproj/WebKitGUID.vcproj:
1980         * WebKit.vcproj/WebKitGUIDCommon.vsprops:
1981         * WebKit.vcproj/WebKitGUIDPostBuild.cmd:
1982         * WebKit.vcproj/WebKitGUIDPreBuild.cmd:
1983         * WebKit.vcproj/WebKitLibCommon.vsprops:
1984         * WebKit.vcproj/WebKitLibPostBuild.cmd:
1985         * WebKit.vcproj/WebKitLibPreBuild.cmd:
1986
1987 2011-01-04  Chris Fleizach  <cfleizach@apple.com>
1988
1989         Reviewed by Sam Weinig.
1990
1991         WK2: Support Accessibility
1992         https://bugs.webkit.org/show_bug.cgi?id=51859
1993
1994         Use rootObject() method to get the top of the AX tree.
1995
1996         * AccessibleDocument.cpp:
1997         (AccessibleDocument::AccessibleDocument):
1998
1999 2011-01-01  Adam Barth  <abarth@webkit.org>
2000
2001         Reviewed by Eric Seidel.
2002
2003         Move JavaScriptCore to Source
2004         https://bugs.webkit.org/show_bug.cgi?id=51604
2005
2006         * WebKit.vcproj/WebKit.sln:
2007           - Point to JavaScriptCore in its new location.
2008
2009 2010-12-22  Sam Weinig  <sam@webkit.org>
2010
2011         Reviewed by Darin Adler.
2012
2013         WebKit2 needs to mirror the frame tree in the UIProcess
2014         https://bugs.webkit.org/show_bug.cgi?id=51546
2015
2016         - Add client functions to notify that a frame has been added or
2017           removed from the page cache.
2018
2019         * WebCoreSupport/WebFrameLoaderClient.cpp:
2020         (WebFrameLoaderClient::didSaveToPageCache):
2021         (WebFrameLoaderClient::didRestoreFromPageCache):
2022         * WebCoreSupport/WebFrameLoaderClient.h:
2023
2024 2010-12-22  Dan Bernstein  <mitz@apple.com>
2025
2026         Changed WebKitTools to Tools.
2027
2028         * WebKit.vcproj/WebKit.sln:
2029
2030 2010-12-14  Adam Roben  <aroben@apple.com>
2031
2032         Always record the last-set cursor, even when the UI delegate is
2033         setting the cursor for us
2034
2035         Prior to r63339, the last-set cursor was recorded in Widget::setCursor.
2036         r63339 moved that code up to WebChromeClient, but failed to call it
2037         when the UI delegate was the one setting the cursor.
2038
2039         Fixes <http://webkit.org/b/45692> <rdar://problem/8423464> REGRESSION
2040         (r63339): Mouse cursor disappears when holding mouse button down on
2041         page
2042
2043         Reviewed by Ada Chan.
2044
2045         * WebCoreSupport/WebChromeClient.cpp:
2046         (WebChromeClient::setCursor): After the cursor is set, regardless of
2047         whether the UI delegate sets it or we set it, record the cursor that
2048         was just set. That way we'll be able to use the cursor later when
2049         responding to the WM_SETCURSOR message.
2050
2051 2010-12-13  Alexey Proskuryakov  <ap@apple.com>
2052
2053         Reviewed by Adam Barth.
2054
2055         https://bugs.webkit.org/show_bug.cgi?id=50953
2056         DNS Prefetch should be an opt-in feature
2057
2058         * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default to NO.
2059
2060 2010-10-28  MORITA Hajime  <morrita@google.com>
2061
2062         Reviewed by Ojan Vafai.
2063
2064         spellcheck does not check pasted text
2065         https://bugs.webkit.org/show_bug.cgi?id=40092
2066
2067         Added a stub implememntation.
2068
2069         * WebCoreSupport/WebEditorClient.h:
2070         (WebEditorClient::requestCheckingOfString):
2071
2072 2010-12-10  Chris Fleizach  <cfleizach@apple.com>
2073
2074         Reviewed by Darin Adler.
2075
2076         AX: refactor AccessibilityRenderObject::doAccessibilityHitTest
2077         https://bugs.webkit.org/show_bug.cgi?id=50574
2078
2079         * AccessibleBase.cpp:
2080         (AccessibleBase::accHitTest):
2081
2082 2010-12-09  Brian Weinstein  <bweinstein@apple.com>
2083
2084         Reviewed by Adam Roben.
2085
2086         Prep for WebKit2: Context menu support on Windows
2087         https://bugs.webkit.org/show_bug.cgi?id=50514
2088         
2089         Update WebKit for the new CROSS_PLATFORM_CONTEXT_MENUS flag, and define customizeMenu
2090         instead of getCustomMenuFromDefaultItems.
2091
2092         * WebCoreSupport/WebContextMenuClient.cpp:
2093         (WebContextMenuClient::customizeMenu): getCustomMenuFromDefaultItems was turned into
2094             this function, with refactoring using nativeMenu instead of platformDescription.
2095         (WebContextMenuClient::contextMenuItemSelected):  Use nativeMenu instead of platformDescription.
2096         * WebCoreSupport/WebContextMenuClient.h:
2097         * WebView.cpp:
2098         (WebView::handleContextMenuEvent): Call nativeMenu instead of platformDescription.
2099         (WebView::performContextMenuAction): Only call itemAtIndex with one argument, no need
2100             for the second.
2101
2102 2010-12-07  Brian Weinstein  <bweinstein@apple.com>
2103
2104         Reviewed by John Sullivan.
2105
2106         Layering Violation in ContextMenu - member variable of type HitTestResult
2107         https://bugs.webkit.org/show_bug.cgi?id=50586
2108         
2109         Update users of ContextMenu and ContextMenuController to match where the new functions 
2110         are located.
2111
2112         * WebCoreSupport/WebContextMenuClient.cpp:
2113         (WebContextMenuClient::getCustomMenuFromDefaultItems): Get the HitTestResult and ContextMenu from the 
2114             ContextMenuController (from the page).
2115         (WebContextMenuClient::contextMenuItemSelected): Get the HitTestResult from the ContextMenuController.
2116         * WebView.cpp:
2117         (WebView::handleContextMenuEvent): Ditto.
2118
2119 2010-12-07  Jessie Berlin  <jberlin@apple.com>
2120
2121         Build fix. Unreviewed.
2122
2123         * WebCoreSupport/WebContextMenuClient.cpp:
2124         (WebContextMenuClient::searchWithGoogle):
2125         FrameLoader::urlSelected does not take a SecurityOrigin as a parameter.
2126
2127 2010-12-06  Darin Adler  <darin@apple.com>
2128
2129         Reviewed by Sam Weinig.
2130
2131         Pass security origin to make local file decision correctly
2132         https://bugs.webkit.org/show_bug.cgi?id=48603
2133
2134         * WebCoreSupport/WebContextMenuClient.cpp:
2135         (WebContextMenuClient::searchWithGoogle): Pass security origin.
2136
2137 2010-12-07  Kenichi Ishibashi  <bashi@google.com>
2138
2139         Reviewed by Kent Tamura.
2140
2141         Let HTMLObjectElement be a form associated element
2142         https://bugs.webkit.org/show_bug.cgi?id=48821
2143
2144         Modified to use FormAssociatedElement instead of HTMLFormControlElement.
2145
2146         * WebFrame.cpp:
2147         (WebFrame::elementWithName): Modified to use FormAssociatedElement
2148         instead of HTMLFormControlElement.
2149         (WebFrame::controlsInForm): Ditto.
2150
2151 2010-12-05  Adam Roben  <aroben@apple.com>
2152
2153         Windows production build fix
2154
2155         Put spaces after trailing backslashes when setting
2156         %WebKitVSPropsRedirectionDir%. According to MSDN
2157         <http://msdn.microsoft.com/en-us/library/2kzfk8c7(v=VS.80).aspx>:
2158
2159            A backslash ( \ ) followed by a newline character is interpreted as
2160            a space in the command; use a backslash at the end of a line to
2161            continue a command onto the next line. NMAKE interprets the
2162            backslash literally if any other character, including a space or
2163            tab, follows the backslash.
2164
2165         * WebKit.vcproj/WebKit.make:
2166
2167 2010-12-03  Sam Weinig  <sam@webkit.org>
2168
2169         Reviewed by Maciej Stachowiak.
2170
2171         Enable <a ping> for Mac/Windows/WebKit2 builds
2172         <rdar://problem/8504473>
2173         https://bugs.webkit.org/show_bug.cgi?id=50488
2174
2175         * WebPreferences.cpp:
2176         (WebPreferences::initializeDefaultSettings): Enable "HyperlinkAuditing" by default.
2177
2178 2010-12-03  Brian Weinstein  <bweinstein@apple.com>
2179
2180         Reviewed by Brady Eidson.
2181
2182         WebContextMenuClient::fixMenuReceivedFromOldSafari is no longer needed on Windows
2183         https://bugs.webkit.org/show_bug.cgi?id=50486
2184         
2185         Remove the static fixMenuReceivedFromOldSafari and isPreInspectElementTagSafari methods 
2186         from WebContextMenuClient. There were there for when WebKit had the Inspect Element context menu
2187         item, but Safari didn't support it. We don't support that old Safari, so that code can go.
2188
2189         * WebCoreSupport/WebContextMenuClient.cpp:
2190         (WebContextMenuClient::getCustomMenuFromDefaultItems):
2191
2192 2010-12-02  John Knottenbelt  <jknotten@chromium.org>
2193
2194         Reviewed by Steve Block.
2195
2196         Move requestGeolocationPermissionForFrame to GeolocationClient
2197         https://bugs.webkit.org/show_bug.cgi?id=50061
2198
2199         This change facilitates client-based geolocation implementation by
2200         bringing together permission control into the geolocation client
2201         interface.
2202
2203         Move method ChromeClient::requestGeolocationPermissionForFrame to
2204         GeolocationClient::requestPermission. The moved code is unchanged
2205         except that requestPermission now takes only one argument (Geolocation*),
2206         the Frame parameter is retrieved from the Geolocation object and we need to
2207         call m_webView.get() as it is a COMPtr in GeolocationClient.
2208
2209         * WebCoreSupport/WebChromeClient.cpp:
2210         * WebCoreSupport/WebChromeClient.h:
2211         * WebCoreSupport/WebGeolocationClient.cpp:
2212         (WebGeolocationClient::requestPermission):
2213         * WebCoreSupport/WebGeolocationClient.h:
2214         (WebGeolocationClient::cancelPermissionRequest):
2215
2216 2010-12-01  Jia Pu  <jpu@apple.com>
2217
2218         Reviewed by Darin Adler.
2219
2220         Support multiple correction candidates panel for misspelled word on Mac OS X.
2221         https://bugs.webkit.org/show_bug.cgi?id=50137
2222         <rdar://problem/8568059>
2223
2224         Adopted new function signature defined in base class.
2225
2226         * WebCoreSupport/WebEditorClient.cpp:
2227         (WebEditorClient::getGuessesForWord):
2228         * WebCoreSupport/WebEditorClient.h:
2229
2230 2010-12-01  Steve Falkenburg  <sfalken@apple.com>
2231
2232         Reviewed by Adam Roben.
2233
2234         WinCairo build should not use link-time code generation (LTCG)
2235         https://bugs.webkit.org/show_bug.cgi?id=50353
2236
2237         * WebKit.vcproj/Interfaces.vcproj:
2238         * WebKit.vcproj/WebKit.vcproj:
2239         * WebKit.vcproj/WebKitGUID.vcproj:
2240
2241 2010-12-01  Steve Falkenburg  <sfalken@apple.com>
2242
2243         Reviewed by Adam Roben.
2244
2245         vcproj changes can't be applied cleanly by the Windows EWS bot
2246         https://bugs.webkit.org/show_bug.cgi?id=50328
2247
2248         * WebKit.vcproj/Interfaces.vcproj: Modified property svn:eol-style.
2249         * WebKit.vcproj/InterfacesCommon.vsprops: Added property svn:eol-style.
2250         * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
2251         * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
2252         * WebKit.vcproj/WebKit.vcproj: Modified property svn:eol-style.
2253         * WebKit.vcproj/WebKitGUID.vcproj: Modified property svn:eol-style.
2254         * WebKit.vcproj/WebKitGUIDCommon.vsprops: Added property svn:eol-style.
2255         * WebKit.vcproj/WebKitLibCommon.vsprops: Added property svn:eol-style.
2256
2257 2010-11-30  Steve Falkenburg  <sfalken@apple.com>
2258
2259         Reviewed by Adam Roben.
2260
2261         All projects on Windows should use cmd files for build events
2262         https://bugs.webkit.org/show_bug.cgi?id=50213
2263
2264         * WebKit.vcproj/InterfacesCommon.vsprops:
2265         * WebKit.vcproj/InterfacesPostBuild.cmd: Added.
2266         * WebKit.vcproj/InterfacesPreBuild.cmd: Added.
2267         * WebKit.vcproj/WebKitGUIDCommon.vsprops:
2268         * WebKit.vcproj/WebKitGUIDPostBuild.cmd: Added.
2269         * WebKit.vcproj/WebKitGUIDPreBuild.cmd: Added.
2270         * WebKit.vcproj/WebKitLibCommon.vsprops:
2271         * WebKit.vcproj/WebKitLibPostBuild.cmd: Added.
2272         * WebKit.vcproj/WebKitLibPreBuild.cmd: Added.
2273
2274 2010-11-29  Brent Fulgham  <bfulgham@webkit.org>
2275
2276         Unreviewed build correction.
2277
2278         * WebKit.vcproj/WebKit.vcproj: Update WebKit project to
2279           use WinCairo.vsprops definition for appropriate build targets.
2280
2281 2010-11-22  Adam Roben  <aroben@apple.com>
2282
2283         Use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops files
2284
2285         Apple's Windows build allows placing header files and import libraries for WebKit's
2286         dependencies (CoreGraphics, CFNetwork, SQLite, etc.) outside the source tree via the
2287         $WebKitLibrariesDir environment variable. This is both required for production builds and
2288         convenient for Apple-internal developer builds. Apple's production builds also require that
2289         WebKit's shared .vsprops files be accessed relative to $WebKitLibrariesDir. In production
2290         builds, the files are copied into that directory tree by the
2291         WebKitLibraries/win/tools/WinTools.make file. In Apple-internal developer builds, the
2292         copying is done by
2293         JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make.
2294
2295         This .vsprops copying is problematic in one very important case: when a developer updates
2296         their source tree and then tries to build. Visual Studio only reads .vsprops files when a
2297         project is first loaded. So, when Visual Studio is first opened after the .vsprops files are
2298         updated, it reads in the old files that were already residing in $WebKitLibrariesDir. When a
2299         build is started, JavaScriptCoreGenerated.make copies the new .vsprops files into
2300         $WebKitLibrariesDir, but Visual Studio will not pick up the changes.  The rest of the build
2301         will proceed with out-of-date .vsprops files, which will likely result in a build failure.
2302
2303         To fix this, we now use normal relative paths to access the .vsprops files in the source
2304         tree rather than in $WebKitLibrariesDir, but prefix those paths with a new environment
2305         variable, $WebKitVSPropsRedirectionDir. In developer builds, this environment variable is
2306         unset, so the normal relative paths are used to read the .vsprops files out of the source
2307         tree directly. In production builds, this environment variable is set to a fake directory
2308         that will cause the .vsprops files in $WebKitLibrariesDir to be found when the relative path
2309         is resolved.
2310         
2311         For example, JavaScriptCore.vcproj uses this path for FeatureDefines.vsprops:
2312
2313         $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
2314
2315         In developer builds, where $WebKitVSPropsRedirectionDir is unset, this will point to the
2316         files in WebKitLibraries\win\tools\vsprops in the source tree. In production builds,
2317         JavaScriptCore.make sets $WebKitVSPropsRedirectionDir to
2318         "$(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\", so the full path for
2319         FeatureDefines.vsprops becomes:
2320
2321         $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
2322
2323         which resolves to:
2324
2325         $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
2326
2327         (We rely on the fact that Windows doesn't care whether the directories "1", "2", and "3"
2328         actually exist since they are matched by an equal number of ".." path components.)
2329
2330         Note that Visual Studio still won't pick up changes made to .vsprops files while Visual
2331         Studio is open, but that problem hasn't seemed to cause developers many headaches so far.
2332
2333         Fixes <http://webkit.org/b/49181> Windows build fails mysteriously when .vsprops files are
2334         updated
2335
2336         Reviewed by Dave Hyatt.
2337
2338         * WebKit.vcproj/WebKit.make: Set $WebKitVSPropsRedirectionDir so that production builds can
2339         find the .vsprops files.
2340
2341         * WebKit.vcproj/WebKit.vcproj:
2342         * WebKit.vcproj/Interfaces.vcproj:
2343         * WebKit.vcproj/WebKitGUID.vcproj:
2344         Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops
2345         files.
2346
2347 2010-11-19  Steve Falkenburg  <sfalken@apple.com>
2348
2349         Reviewed by Adam Roben.
2350
2351         Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
2352         https://bugs.webkit.org/show_bug.cgi?id=49819
2353
2354         * WebKit.vcproj/Interfaces.vcproj:
2355         * WebKit.vcproj/WebKit.sln:
2356         * WebKit.vcproj/WebKit.vcproj:
2357         * WebKit.vcproj/WebKitGUID.vcproj:
2358
2359 2010-11-19  Steve Falkenburg  <sfalken@apple.com>
2360
2361         Reviewed by Darin Adler.
2362
2363         Normalize Cairo/CFLite project/solution configuration names
2364         https://bugs.webkit.org/show_bug.cgi?id=49818
2365
2366         * WebKit.vcproj/WebKit.sln:
2367         * WebKit.vcproj/WebKit.vcproj:
2368
2369 2010-11-18  Steve Falkenburg  <sfalken@apple.com>
2370
2371         Reviewed by Adam Roben.
2372
2373         Windows vcproj configuration names should be normalized across projects
2374         https://bugs.webkit.org/show_bug.cgi?id=49776
2375
2376         * WebKit.vcproj/Interfaces.vcproj:
2377         * WebKit.vcproj/WebKit.sln:
2378
2379 2010-11-18  Steve Falkenburg  <sfalken@apple.com>
2380
2381         Reviewed by Adam Roben.
2382
2383         Remove leftover Windows Debug_Internal configurations
2384         https://bugs.webkit.org/show_bug.cgi?id=49758
2385
2386         * WebKit.vcproj/WebKit.vcproj:
2387         * WebKit.vcproj/WebKitGUID.vcproj:
2388
2389 2010-11-18  Steve Falkenburg  <sfalken@apple.com>
2390
2391         Reviewed by Adam Roben.
2392
2393         Debug_Internal Windows configuration is unnecessary, should be removed
2394         https://bugs.webkit.org/show_bug.cgi?id=49753
2395
2396         * WebKitPrefix.h:
2397
2398 2010-11-17  Steve Falkenburg  <sfalken@apple.com>
2399
2400         Reviewed by Adam Roben.
2401
2402         WebKit Interfaces project should use vsprops file for common build settings
2403         https://bugs.webkit.org/show_bug.cgi?id=49713
2404         
2405         * WebKit.vcproj/Interfaces.vcproj:
2406         * WebKit.vcproj/InterfacesCommon.vsprops: Added.
2407
2408 2010-11-16  Steve Falkenburg  <sfalken@apple.com>
2409
2410         Reviewed by Adam Roben.
2411
2412         Disable LTCG for Windows Release builds. Add new Release_LTCG configuration.
2413         https://bugs.webkit.org/show_bug.cgi?id=49632
2414
2415         * WebKit.vcproj/Interfaces.vcproj:
2416         * WebKit.vcproj/WebKit.make:
2417         * WebKit.vcproj/WebKit.sln:
2418         * WebKit.vcproj/WebKit.submit.sln:
2419         * WebKit.vcproj/WebKit.vcproj:
2420         * WebKit.vcproj/WebKitGUID.vcproj:
2421
2422 2010-11-16  Dave Hyatt  <hyatt@apple.com>
2423
2424         Reviewed by Dan Bernstein.
2425
2426         https://bugs.webkit.org/show_bug.cgi?id=11004
2427         
2428         font-size:0 is ignored.  Remove the minimum font size of 1 in CSSStyleSelector.
2429         Change the pref value for minimum font size from 1 to 0.  Make sure to never use the NSFont's size,
2430         since it doesn't honor a size of 0.  Instead pass the size in to the FontPlatformData(NSFont*) version
2431         of the constructor rather than using [NSFont pointSize].
2432
2433         https://bugs.webkit.org/show_bug.cgi?id=49582
2434         
2435         Negative leading is not handled correctly.  There are two bugs here.  The first is that
2436         maxAscent and maxDescent can be negative, so we need a notion of whether or not we have
2437         set them before so that we can allow them to be < 0.
2438         
2439         The second issue is that we should understand where fonts will end up relative to
2440         our baseline (excluding line height), and only allow those boxes to impact ascent and
2441         descent if the actual font box (without factoring in line height) is above or below the
2442         root line box baseline.
2443
2444         Added fast/css/negative-leading.html
2445         
2446         These two bug fixes have to land together to keep the Acid 3 test rendering correctly.
2447
2448         * WebPreferences.cpp:
2449         (WebPreferences::initializeDefaultSettings):
2450
2451 2010-11-16  Steve Falkenburg  <sfalken@apple.com>
2452
2453         Reviewed by Adam Roben.
2454
2455         Use vsprops files for common settings in Windows WebKit
2456         https://bugs.webkit.org/show_bug.cgi?id=49622
2457
2458         * WebKit.vcproj/WebKit.vcproj:
2459         * WebKit.vcproj/WebKitCommon.vsprops: Added.
2460
2461 2010-11-16  Steve Falkenburg  <sfalken@apple.com>
2462
2463         Rubber stamped by Adam Roben.
2464
2465         Remove unnecessary def file, remove outdated def files from vcproj.
2466
2467         * WebKit.vcproj/WebKit.vcproj:
2468         * WebKit.vcproj/WebKit_debug.def: Removed.
2469
2470 2010-11-12  John Knottenbelt  <jknotten@chromium.org>
2471
2472         Reviewed by Steve Block.
2473
2474         Rename GeolocationControllerClient to GeolocationClient.
2475         https://bugs.webkit.org/show_bug.cgi?id=49259
2476
2477         * WebCoreSupport/WebGeolocationClient.cpp: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.cpp.
2478         (WebGeolocationClient::WebGeolocationClient):
2479         (WebGeolocationClient::geolocationDestroyed):
2480         (WebGeolocationClient::startUpdating):
2481         (WebGeolocationClient::stopUpdating):
2482         (WebGeolocationClient::lastPosition):
2483         * WebCoreSupport/WebGeolocationClient.h: Renamed from WebKit/win/WebCoreSupport/WebGeolocationControllerClient.h.
2484         (WebGeolocationClient::setEnableHighAccuracy):
2485         * WebKit.vcproj/WebKit.vcproj:
2486         * WebView.cpp:
2487         (WebView::initWithFrame):
2488
2489 2010-11-10  Csaba Osztrogonác  <ossy@webkit.org>
2490
2491         Reviewed by David Hyatt.
2492
2493         HTML5 Ruby support should be mandatory feature
2494         https://bugs.webkit.org/show_bug.cgi?id=49272
2495
2496         * WebKitPrefix.h: Touch it to avoid incremental build failure on Windows.
2497
2498 2010-11-08  Alexey Proskuryakov  <ap@apple.com>
2499
2500         Windows build fix.
2501
2502         * WebCoreSupport/WebChromeClient.h: Added namespace prefix.
2503
2504 2010-11-08  Alexey Proskuryakov  <ap@apple.com>
2505
2506         Reviewed by Darin Adler.
2507
2508         https://bugs.webkit.org/show_bug.cgi?id=48685
2509         Notify UI process about focused frame
2510
2511         Added an empty implementation of the new ChromeClient method.
2512
2513         * WebCoreSupport/WebChromeClient.cpp:
2514         (WebChromeClient::focusedFrameChanged):
2515         * WebCoreSupport/WebChromeClient.h:
2516
2517 2010-11-07  Adam Barth  <abarth@webkit.org>
2518
2519         Reviewed by Eric Seidel.
2520
2521         Rename Cache to MemoryCache
2522         https://bugs.webkit.org/show_bug.cgi?id=49159
2523
2524         * WebCache.cpp:
2525         (WebCache::statistics):
2526         * WebFrame.cpp:
2527         * WebView.cpp:
2528
2529 2010-11-05  Chris Marrin  <cmarrin@apple.com>
2530
2531         Reviewed by Simon Fraser.
2532
2533         Move resumeAnimations/suspendAnimations from Frame to AnimationController.
2534         https://bugs.webkit.org/show_bug.cgi?id=49073
2535
2536         * WebFrame.cpp:
2537         (WebFrame::suspendAnimations):
2538         (WebFrame::resumeAnimations):
2539
2540 2010-11-05  Brian Weinstein  <bweinstein@apple.com>
2541
2542         Reviewed by Anders Carlsson.
2543
2544         Assertion failure in PluginStream::~PluginStream when running userscripts/user-script-plugin-document.html
2545         https://bugs.webkit.org/show_bug.cgi?id=48751
2546         <rdar://problem/8615536>
2547         
2548         Always call committedLoad in WebFrameLoaderClient::finishedLoading, even if we have a manual loader. We were
2549         running into a case where we were trying to load an empty plugin document, which uses a manual loader, and
2550         PluginStream::didFinishLoading was never being called. The stream was never being stopped, making us fire
2551         an assert in the PluginStream destructor.
2552
2553         * WebCoreSupport/WebFrameLoaderClient.cpp:
2554         (WebFrameLoaderClient::finishedLoading):
2555
2556 2010-11-05  Chris Marrin  <cmarrin@apple.com>
2557
2558         Reviewed by Simon Fraser.
2559
2560         Make suspendAnimations/resumeAnimations and setCSSAnimations traverse through subframes and remember state
2561         https://bugs.webkit.org/show_bug.cgi?id=46945
2562
2563         * WebFrame.cpp:
2564         (WebFrame::suspendAnimations):
2565         (WebFrame::resumeAnimations):
2566
2567 2010-11-05  Patrick Gansterer  <paroga@webkit.org>
2568
2569         Reviewed by David Kilzer.
2570
2571         Replace ARRAYSIZE with WTF_ARRAY_LENGTH
2572         https://bugs.webkit.org/show_bug.cgi?id=48903
2573
2574         * WebCoreSupport/WebChromeClient.cpp:
2575         (WebChromeClient::exceededDatabaseQuota):
2576         * WebKitDLL.cpp:
2577         (DllGetClassObject):
2578         * WebView.cpp:
2579         (WebView::mouseWheel):
2580
2581 2010-11-02  Daniel Bates  <dbates@rim.com>
2582
2583         Reviewed by Adam Barth.
2584
2585         For unnamed frames, window.name returns a generated name
2586         https://bugs.webkit.org/show_bug.cgi?id=6751
2587
2588         Part 1 of 2.
2589
2590         Substitute FrameTree::uniqueName() for FrameTree::name() in the Apple Windows port.
2591
2592         * WebFrame.cpp:
2593         (WebFrame::name):
2594
2595 2010-11-02  Brady Eidson  <beidson@apple.com>
2596
2597         Reviewed by Anders Carlsson.
2598
2599         <rdar://problem/8346191> and https://bugs.webkit.org/show_bug.cgi?id=48868
2600         Implement IMutableWebRequest::setTimeoutInterval
2601
2602         * WebMutableURLRequest.cpp:
2603         (WebMutableURLRequest::setTimeoutInterval):
2604
2605 2010-11-02  Daniel Bates  <dbates@rim.com>
2606
2607         Reviewed by Martin Robinson.
2608
2609         Set frame name before appending it to the frame tree in the Apple Windows,
2610         GTK, and EFL ports
2611         https://bugs.webkit.org/show_bug.cgi?id=48806
2612
2613         Make the frame creation process in the Apple Windows-port consistent
2614         with the Mac, Qt, and Haiku ports. In particular, set the name of
2615         the new frame before it's appended to the frame tree.
2616
2617         At this time we cannot test this change since it is being masked by
2618         HTMLFrameElementBase::setName() <http://trac.webkit.org/browser/trunk/WebCore/html/HTMLFrameElementBase.cpp?rev=70976#L160>.
2619         We'll be able to test this once we fix bug #6751.
2620
2621         * WebCoreSupport/WebFrameLoaderClient.cpp:
2622         (WebFrameLoaderClient::createFrame):
2623
2624 2010-11-01  Jenn Braithwaite  <jennb@chromium.org>
2625
2626         Reviewed by Adam Roben.
2627
2628         Windows: Update resource tracking when moving a frame between documents
2629         https://bugs.webkit.org/show_bug.cgi?id=48364
2630
2631         * Interfaces/IWebResourceLoadDelegatePrivate2.idl:Added
2632         Added removeIdentifierForRequest.
2633         * Interfaces/WebKit.idl:
2634         Added IWebResourceLoadDelegatePrivate2.idl.
2635         * WebCoreSupport/WebFrameLoaderClient.cpp:
2636         (WebFrameLoaderClient::transferLoadingResourceFromPage):
2637
2638 2010-11-01  Brady Eidson  <beidson@apple.com>
2639
2640         Reviewed by Anders Carlsson.
2641
2642         <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
2643         Context menu support for WebKit 2.
2644
2645         * WebCoreSupport/WebChromeClient.h:
2646         (WebChromeClient::showContextMenu):
2647
2648 2010-11-01  Adam Roben  <aroben@apple.com>
2649
2650         Cancel main resource loads after we hand them off to the media engine
2651
2652         This is the Windows equivalent of r51104. Clearly this code should be
2653         moved to a cross-platform location someday.
2654
2655         Fixes <http://webkit.org/b/48531> <rdar://problem/8606635> Assertion
2656         failure in DocumentLoader::commitData when loading a media document in
2657         WebKit1 on Windows
2658
2659         Reviewed by Dan Bernstein.
2660
2661         * WebCoreSupport/WebFrameLoaderClient.cpp:
2662         (WebFrameLoaderClient::committedLoad): Cancel the main resource load
2663         after handing off the load to the media engine. This code originally
2664         came from -[WebHTMLRepresentation receivedData:withDataSource:].
2665
2666         * WebFrame.cpp:
2667         (WebFrame::shouldFallBack): Don't fall back when handing the resource
2668         load off to the media engine or a plugin. Added error domain checking
2669         so that we don't rely on error codes being unique.
2670
2671 2010-10-29  Daniel Bates  <dbates@rim.com>
2672
2673         No review, rolling out 70971.
2674         http://trac.webkit.org/changeset/70971
2675         https://bugs.webkit.org/show_bug.cgi?id=6751
2676
2677         Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since
2678         it caused layout test failures on all bots. In particular, the
2679         child count in a generated frame name differs after this patch. We need
2680         to look into this further.
2681
2682         * WebFrame.cpp:
2683         (WebFrame::name):
2684
2685 2010-10-28  Antonio Gomes  <agomes@rim.com>
2686
2687         Reviewed by Ojan Vafai.
2688
2689         Needs a "LinuxEditingBehavior", perhaps with a better name
2690         https://bugs.webkit.org/show_bug.cgi?id=36627
2691
2692         Added the corresponding GTK+ setting to WebCore's EditingUnixBehavior: WebKitEditingUnixBehavior.
2693
2694         * Interfaces/IWebPreferences.idl:
2695
2696 2010-10-29  Daniel Bates  <dbates@rim.com>
2697
2698         Reviewed by Adam Barth.
2699
2700         For unnamed frames, window.name returns a generated name
2701         https://bugs.webkit.org/show_bug.cgi?id=6751
2702
2703         Modified Apple Windows-port to use FrameTree::uniqueName().
2704
2705         * WebFrame.cpp:
2706         (WebFrame::name):
2707
2708 2010-10-29  Darin Adler  <darin@apple.com>
2709
2710         Reviewed by Sam Weinig.
2711
2712         Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring
2713         https://bugs.webkit.org/show_bug.cgi?id=48574
2714
2715         * WebBackForwardList.cpp:
2716         (backForwardListWrappers):
2717         (WebBackForwardList::WebBackForwardList):
2718         (WebBackForwardList::createInstance):
2719         * WebBackForwardList.h:
2720         * WebView.cpp:
2721         (WebView::backForwardList):
2722         Use BackForwardListImpl.
2723
2724 2010-10-29  Adam Roben  <aroben@apple.com>
2725
2726         Windows build fix
2727
2728         * WebKitPrefix.h: Touched to force a rebuild.
2729
2730 2010-10-29  Alexey Proskuryakov  <ap@apple.com>
2731
2732         Reviewed by Darin Adler.
2733
2734         https://bugs.webkit.org/show_bug.cgi?id=48576
2735         Let WebKit2 client know when a frame is a frameset
2736
2737         Added a blank implementation of the new FrameLoaderClient method.
2738
2739         * WebCoreSupport/WebFrameLoaderClient.h:
2740         * WebCoreSupport/WebFrameLoaderClient.cpp:
2741         (WebFrameLoaderClient::dispatchDidBecomeFrameset):
2742
2743 2010-10-26  Brent Fulgham  <bfulgham@webkit.org>
2744
2745         Unreviewed build fix.
2746
2747         * WebView.cpp: Conditionalize includes for CFNetwork-specific
2748         Cookie implementation.
2749         * WebView.h: Conditionalize includes for ACCELERATED_COMPOSITION.
2750         WinCairo doesn't use CoreAnimation.
2751
2752 2010-10-26  Jenn Braithwaite  <jennb@chromium.org>
2753
2754         Reviewed by Dmitry Titov.
2755
2756         Resource tracking failure when trying to move a frame between documents
2757         https://bugs.webkit.org/show_bug.cgi?id=44713
2758
2759         * WebCoreSupport/WebFrameLoaderClient.cpp:
2760         (WebFrameLoaderClient::transferLoadingResourceFromPage):
2761         Empty method.
2762         * WebCoreSupport/WebFrameLoaderClient.h:
2763
2764 2010-10-25  Patrick Gansterer  <paroga@webkit.org>
2765
2766         Reviewed by David Kilzer.
2767
2768         Replace _countof with WTF_ARRAY_LENGTH
2769         https://bugs.webkit.org/show_bug.cgi?id=48229
2770
2771         * WebCoreSupport/WebContextMenuClient.cpp:
2772         (isPreInspectElementTagSafari):
2773         * WebView.cpp:
2774         (WebView::interpretKeyEvent):
2775
2776 2010-10-24  Dan Bernstein  <mitz@apple.com>
2777
2778         Build fix.
2779
2780         * Interfaces/WebKit.idl: Touched.
2781
2782 2010-10-24  Dan Bernstein  <mitz@apple.com>
2783
2784         Reviewed by Anders Carlsson.
2785
2786         Expose HitTestResult::absoluteMediaURL() via WebKit API
2787         https://bugs.webkit.org/show_bug.cgi?id=48219
2788
2789         * Interfaces/IWebView.idl: Added WebElementMediaURLKey.
2790         * WebElementPropertyBag.cpp:
2791         (WebElementPropertyBag::Read): Map WebElementMediaURLKey to absoluteMediaURL().
2792
2793 2010-10-22  Andy Estes  <aestes@apple.com>
2794
2795         Fix the Windows build.
2796
2797         * WebCookieManagerCFNet.cpp: Rename CookieStorageWin.h to CookieStorageCFNet.h.
2798         * WebView.cpp: Ditto.
2799
2800 2010-10-22  Jenn Braithwaite  <jennb@chromium.org>
2801
2802         Reviewed by Adam Roben.
2803
2804         Windows client needs updating when live iframe element is moved between pages
2805         https://bugs.webkit.org/show_bug.cgi?id=46915
2806
2807         * WebCoreSupport/WebFrameLoaderClient.cpp:
2808         (WebFrameLoaderClient::didTransferChildFrameToNewDocument):
2809         Update WebView in WebFrame to match that of the current page.
2810         * WebFrame.cpp:
2811         (WebFrame::setWebView):
2812         Added.
2813         * WebFrame.h:
2814
2815 2010-10-22  Sam Weinig  <sam@webkit.org>
2816
2817         Fix windows build.
2818
2819         * WebCoreSupport/WebChromeClient.h:
2820
2821 2010-10-22  Sam Weinig  <sam@webkit.org>
2822
2823         Reviewed by Anders Carlsson.
2824
2825         WebKit2 needs to pass the current event modifier flags when requesting a new window
2826         https://bugs.webkit.org/show_bug.cgi?id=48140
2827
2828         * WebCoreSupport/WebChromeClient.cpp:
2829         (WebChromeClient::createWindow):
2830         * WebCoreSupport/WebFrameLoaderClient.cpp:
2831         (WebFrameLoaderClient::dispatchCreatePage):
2832         * WebCoreSupport/WebFrameLoaderClient.h:
2833         Add NavigationAction parameter.
2834
2835 2010-10-21 MORITA Hajime  <morrita@google.com>
2836
2837         Unreviewed, touched it to fix the build.
2838
2839         * Interfaces/WebKit.idl:
2840
2841 2010-10-21  MORITA Hajime  <morrita@google.com>
2842
2843         Reviewed by Kent Tamura.
2844
2845         [Win][DRT] should have LayoutTestController.hasSpellingMarker()
2846         https://bugs.webkit.org/show_bug.cgi?id=47885
2847
2848         Added IWebFramePrivate::hasSpellingMarker() and impelmented it for
2849         LayoutTestController.
2850
2851         * Interfaces/IWebFramePrivate.idl:
2852         * WebFrame.cpp:
2853         (WebFrame::hasSpellingMarker):
2854         * WebFrame.h:
2855
2856 2010-10-20  Dumitru Daniliuc  <dumi@chromium.org>
2857
2858         Reviewed by David Levin.
2859
2860         Repost the DatabaseTracker notifications to the main thread, if needed.
2861         https://bugs.webkit.org/show_bug.cgi?id=40655
2862
2863         * WebDatabaseManager.cpp:
2864         (DidModifyOriginData::dispatchToMainThread):
2865         (DidModifyOriginData::DidModifyOriginData):
2866         (DidModifyOriginData::dispatchDidModifyOriginOnMainThread):
2867         (WebDatabaseManager::dispatchDidModifyOrigin):
2868         (WebDatabaseManager::dispatchDidModifyDatabase):
2869
2870 2010-10-20  Dirk Schulze  <krit@webkit.org>
2871
2872         Reviewed by Nikolas Zimmermann.
2873
2874         Merge ColorSpace and ImageColorSpace enums
2875         https://bugs.webkit.org/show_bug.cgi?id=47922
2876
2877         Renamed ColorSpace enum entries DeviceColorSpace and sRGBColorSpace to ColorSpaceDeviceRGB and ColorSpaceSRGB
2878         to follow webkit style rules.
2879
2880         * FullscreenVideoController.cpp:
2881         (HUDButton::draw):
2882         (HUDSlider::draw):
2883         (FullscreenVideoController::draw):
2884         * WebCoreSupport/WebDragClient.cpp:
2885         (WebDragClient::createDragImageForLink):
2886         * WebKitGraphics.cpp:
2887         (WebDrawText):
2888
2889 2010-10-18  Pavel Podivilov  <podivilov@chromium.org>
2890
2891         Reviewed by Timothy Hatcher.
2892
2893         Web Inspector: disable private browsing for inspector
2894         https://bugs.webkit.org/show_bug.cgi?id=47827
2895
2896         * WebCoreSupport/WebInspectorClient.cpp:
2897         (WebInspectorClient::openInspectorFrontend):
2898
2899 2010-10-17  Adam Barth  <abarth@webkit.org>
2900
2901         Reviewed by Dimitri Glazkov.
2902
2903         FrameLoader doesn't need an explicit userGesture parameter
2904         https://bugs.webkit.org/show_bug.cgi?id=47777
2905
2906         Update for the new API.
2907
2908         * WebCoreSupport/WebContextMenuClient.cpp:
2909         (WebContextMenuClient::searchWithGoogle):
2910
2911 2010-10-15  Brian Weinstein  <bweinstein@apple.com>
2912
2913         Reviewed by Sam Weinig.
2914
2915         REGRESSION(r69850) Loading apple.com/startpage in WebKit on Windows gets a bad request.
2916         https://bugs.webkit.org/show_bug.cgi?id=47753
2917         <rdar://problem/8558242>
2918         
2919         VerQueryValue returns a null terminated string, but we need to strip off the null terminating character
2920         when we turn it into a WebCore string, or else concatenation using this string will break.
2921
2922         * WebView.cpp:
2923
2924 2010-10-15  Jessie Berlin  <jberlin@apple.com>
2925
2926         Windows build fix. Unreviewed.
2927
2928         * WebCoreSupport/WebInspectorClient.cpp:
2929         Add a missing include.
2930
2931 2010-10-15  Nikolas Zimmermann  <nzimmermann@rim.com>
2932
2933         Reviewed by Dirk Schulze.
2934
2935         Replace some String::format() usages by StringConcatenate in WebKit
2936         https://bugs.webkit.org/show_bug.cgi?id=47714
2937
2938         * WebCoreSupport/WebInspectorClient.cpp:
2939         (WebInspectorFrontendClient::updateWindowTitle):
2940         * WebView.cpp:
2941         (WebView::standardUserAgentWithApplicationName):
2942         (osVersion):
2943
2944 2010-10-14  Ilya Tikhonovsky  <loislo@chromium.org>
2945
2946         Reviewed by Pavel Feldman.
2947
2948         Web Inspector: inspector settings/properties/states management
2949         should be extracted into separate class.
2950
2951         We have a lot of flags/values in InspectorController.
2952         Some flags are persisting into profile.
2953         Others are part of inspector state for frontend.
2954         All these flags should keep their values after navigation.
2955         It'd be better to extract these flags/values into separate
2956         class which will care about theirs lifetime.
2957
2958         https://bugs.webkit.org/show_bug.cgi?id=47275
2959
2960         * WebCoreSupport/WebInspectorClient.cpp:
2961         (WebInspectorFrontendClient::attachWindow):
2962         (WebInspectorFrontendClient::detachWindow):
2963         (WebInspectorFrontendClient::showWindowWithoutNotifications):
2964
2965 2010-10-13  Gavin Barraclough  <barraclough@apple.com>
2966
2967         Reviewed by Oliver Hunt.
2968
2969         https://bugs.webkit.org/show_bug.cgi?id=43987
2970         Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder
2971         to construct their internal result string.  Remove ScriptString (this is now
2972         redundant).
2973
2974         * WebCoreSupport/WebFrameLoaderClient.cpp:
2975
2976 2010-10-12  Adam Roben  <aroben@apple.com>
2977
2978         Build TestWebKitAPI on Windows
2979
2980         Fixes <http://webkit.org/b/47552> <rdar://problem/8541708> Make
2981         TestWebKitAPI work on Windows
2982
2983         Reviewed by Sam Weinig.
2984
2985         * WebKit.vcproj/WebKit.sln: Added TestWebKitAPI and
2986         TestWebKitAPIGenerated and made them build just after
2987         WebKitTestRunner.
2988
2989 2010-10-11  Shinichiro Hamaji  <hamaji@chromium.org>
2990
2991         Attempt to fix windows build failure.
2992
2993         Remove WebIconFetcher from WebKit and IconFetcher from WebCore
2994         https://bugs.webkit.org/show_bug.cgi?id=47523
2995
2996         * Interfaces/IWebFramePrivate.idl: s/unused1/unused2/
2997         * Interfaces/WebKit.idl: Touched.
2998         * WebFrame.cpp: s/unused1/unused2/
2999         (WebFrame::unused2):
3000         * WebFrame.h: s/unused1/unused2/
3001
3002 2010-10-11  Anders Carlsson  <andersca@apple.com>
3003
3004         Reviewed by Darin Adler.
3005
3006         Remove WebIconFetcher from WebKit and IconFetcher from WebCore
3007         https://bugs.webkit.org/show_bug.cgi?id=47523
3008
3009         Remove all traces of the WebKit WebIconFetcher class. It's SPI that nobody uses.
3010
3011         * Interfaces/IWebFramePrivate.idl:
3012         * Interfaces/IWebIconFetcher.idl: Removed.
3013         * Interfaces/WebKit.idl:
3014         * WebFrame.cpp:
3015         (WebFrame::unused1):
3016         * WebFrame.h:
3017         * WebIconFetcher.cpp: Removed.
3018         * WebIconFetcher.h: Removed.
3019         * WebKit.vcproj/Interfaces.vcproj:
3020         * WebKit.vcproj/WebKit.vcproj:
3021
3022 2010-10-11  Jessie Berlin  <jberlin@apple.com>
3023
3024         Reviewed by Darin Adler.
3025
3026         Add Private API for creating a WebKit2 WebSerializedScriptValue from the internal
3027         representation of a WebKit1 WebSerializedJSValue.
3028         https://bugs.webkit.org/show_bug.cgi?id=47439
3029
3030         * Interfaces/IWebSerializedJSValuePrivate.idl:
3031         Because it is taking a void** parameter, getInternalRepresentation must be declared [local].
3032
3033         * WebSerializedJSValue.cpp:
3034         (WebSerializedJSValue::getInternalRepresentation):
3035         * WebSerializedJSValue.h:
3036
3037 2010-10-07  Jessie Berlin  <jberlin@apple.com>
3038
3039         Reviewed by Sam Weinig.
3040
3041         Add Private API for creating a WebKit1 WebSerializedJSValue from the internal
3042         representation of a WebKit2 WebSerializedScriptValue.
3043         https://bugs.webkit.org/show_bug.cgi?id=47390
3044
3045         * Interfaces/WebKit.idl:
3046         Generate IWebSerializedJSValuePrivate.
3047         
3048         * Interfaces/IWebSerializedJSValuePrivate.idl: Added.
3049         Because it is taking a void* parameter, setInternalRepresentation must be declared [local].
3050
3051         * WebKit.vcproj/Interfaces.vcproj:
3052         Add IWebSerializedJSValue.idl and IWebSerializedJSValuePrivate.idl.
3053
3054         * WebSerializedJSValue.cpp:
3055         (WebSerializedJSValue::QueryInterface):
3056         Since there are now two interfaces that inherit from IUnknown, do not try to cast to
3057         IUnknown* anymore. Cast to IWebSerializedJSValue* instead.
3058         (WebSerializedJSValue::setInternalRepresentation):
3059         Only set the internal representation if it hasn't already been set.
3060         * WebSerializedJSValue.h:
3061
3062 2010-10-04  Jon Honeycutt  <jhoneycutt@apple.com>
3063
3064         Prevent an assertion failure when trying to create a protection space
3065         for file/data URLs.
3066
3067         Reviewed by Sam Weinig.
3068
3069         * WebURLProtectionSpace.cpp:
3070         (WebURLProtectionSpace::initWithHost):
3071         Remove the ASSERT_NOT_REACHED().
3072
3073 2010-10-05  Brent Fulgham  <bfulgham@webkit.org>
3074
3075         Unreviewed build correction.
3076
3077         * WebKit.vcproj/WebKit.sln: Turn the QTMovieWin project
3078         off for WinCairo release builds.  Somehow this was
3079         incorrectly turned on.
3080
3081 2010-10-01  Mark Rowe  <mrowe@apple.com>
3082
3083         Build fix.
3084
3085         Clear the executable bit from a number of source files.
3086
3087         * WebView.cpp:
3088         * WebView.h:
3089
3090 2010-09-30  Darin Adler  <darin@apple.com>
3091
3092         Reviewed by Sam Weinig.
3093
3094         Remove remaining calls to deprecatedParseURL
3095         https://bugs.webkit.org/show_bug.cgi?id=26599
3096
3097         * WebCoreSupport/WebFrameLoaderClient.cpp:
3098         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
3099         Call stripLeadingAndTrailingHTMLSpaces instead of deprecatedParseURL.
3100
3101 2010-09-28  Jenn Braithwaite  <jennb@chromium.org>
3102
3103         Reviewed by Dmitry Titov.
3104
3105         Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument.
3106         https://bugs.webkit.org/show_bug.cgi?id=46663
3107
3108         * WebCoreSupport/WebFrameLoaderClient.cpp:
3109         (WebFrameLoaderClient::didTransferChildFrameToNewDocument):
3110         * WebCoreSupport/WebFrameLoaderClient.h:
3111
3112 2010-09-27  Andrey Kosyakov  <caseq@chromium.org>
3113
3114         Unreviewed build fix (win; broken in r68371)
3115
3116         * WebFrame.cpp: remove include <WebCore/ResourceHandleWin.h>
3117
3118 2010-09-23  Matthew Delaney  <mdelaney@apple.com>
3119
3120         Reviewed by Simon Fraser.
3121
3122         Reduce minimum DOMTimer interval
3123         https://bugs.webkit.org/show_bug.cgi?id=45362
3124
3125         * WebView.cpp:
3126         Updating set interval call to use Settings' static version inside
3127         one time init block.
3128
3129 2010-09-23  Nate Chapin  <japhet@chromium.org>
3130
3131         Unreviewed, build fix.
3132
3133         Move hyperlinkAuditingEnabled to IWebPreferencesPrivate.idl
3134         and touch WebKit.idl
3135
3136         * Interfaces/IWebPreferences.idl:
3137         * Interfaces/IWebPreferencesPrivate.idl:
3138         * Interfaces/WebKit.idl:
3139         * WebView.cpp:
3140         (WebView::notifyPreferencesChanged):
3141
3142 2010-09-23  Nate Chapin  <japhet@chromium.org>
3143
3144         Unreviewed, build fix.
3145
3146         Look for hyperlinkAuditingEnabled in the right set of preferences.
3147
3148         * WebView.cpp:
3149         (WebView::notifyPreferencesChanged):
3150
3151 2010-09-23  Nate Chapin  <japhet@chromium.org>
3152
3153         Reviewed by Darin Fisher.
3154
3155         Add hyperlink auditing settings (i.e., <a ping>).
3156         https://bugs.webkit.org/show_bug.cgi?id=30458
3157
3158         * Interfaces/IWebPreferences.idl:
3159         * WebPreferenceKeysPrivate.h:
3160         * WebPreferences.cpp:
3161         (WebPreferences::initializeDefaultSettings):
3162         (WebPreferences::hyperlinkAuditingEnabled):
3163         (WebPreferences::setHyperlinkAuditingEnabled):
3164         * WebPreferences.h:
3165         * WebView.cpp:
3166         (WebView::notifyPreferencesChanged):
3167
3168 2010-09-23  Matthew Delaney  <mdelaney@apple.com>
3169
3170         Reviewed by Adam Roben.
3171
3172         Create one time initialization block for WebView's initWithFrame
3173         https://bugs.webkit.org/show_bug.cgi?id=46307
3174
3175         * WebView.cpp: Added one time initialization block for webview code
3176         that needs only be run once and not for each webview. This is just as
3177         the mac version WebView.mm does.
3178
3179 2010-09-22  Brent Fulgham  <bfulgham@webkit.org>
3180
3181         Reviewed by Martin Robinson.
3182
3183         [WinCairo] Part 2: Update WebKitTestRunner and DumpRenderTree Build.
3184         https://bugs.webkit.org/show_bug.cgi?id=46303.
3185
3186         * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and
3187         Release_Cairo configurations to select appropriate build
3188         targets for WebKitTestRunner and MiniBrowser.
3189
3190 2010-09-22  Brent Fulgham  <bfulgham@webkit.org>
3191
3192         Reviewed by Martin Robinson.
3193
3194         [WinCairo] Update WebKitTestRunner and DumpRenderTree Build.rt
3195         https://bugs.webkit.org/show_bug.cgi?id=46303.
3196
3197         * WebKit.vcproj/WebKit.sln: Update overall Debug_Cairo and
3198         Release_Cairo configurations to select appropriate build
3199         targets for InjectionBundle.
3200
3201 2010-09-22  Balazs Kelemen  <kb@inf.u-szeged.hu>
3202
3203         Reviewed by Kenneth Rohde Christiansen.
3204
3205         PluginStrategy should satisfy the needs of Qt
3206         https://bugs.webkit.org/show_bug.cgi?id=45857
3207         No new functionality so no new tests.
3208
3209         * WebCoreSupport/WebPlatformStrategies.cpp:
3210         (WebPlatformStrategies::getPluginInfo):
3211         * WebCoreSupport/WebPlatformStrategies.h:
3212
3213 2010-09-20  Philippe Normand  <pnormand@igalia.com>
3214
3215         Reviewed by Eric Carlson.
3216
3217         [GTK] enhanced context menu for media elements
3218         https://bugs.webkit.org/show_bug.cgi?id=45021
3219
3220         New localized strings for the media element context-menu.
3221
3222         * WebCoreSupport/WebPlatformStrategies.cpp:
3223         (WebPlatformStrategies::contextMenuItemTagOpenVideoInNewWindow):
3224         (WebPlatformStrategies::contextMenuItemTagOpenAudioInNewWindow):
3225         (WebPlatformStrategies::contextMenuItemTagCopyVideoLinkToClipboard):
3226         (WebPlatformStrategies::contextMenuItemTagCopyAudioLinkToClipboard):
3227         (WebPlatformStrategies::contextMenuItemTagToggleMediaControls):
3228         (WebPlatformStrategies::contextMenuItemTagToggleMediaLoop):
3229         (WebPlatformStrategies::contextMenuItemTagEnterVideoFullscreen):
3230         (WebPlatformStrategies::contextMenuItemTagMediaPlay):
3231         (WebPlatformStrategies::contextMenuItemTagMediaPause):
3232         (WebPlatformStrategies::contextMenuItemTagMediaMute):
3233         * WebCoreSupport/WebPlatformStrategies.h:
3234
3235 2010-09-17  Darin Adler  <darin@apple.com>
3236
3237         Reviewed by Sam Weinig.
3238
3239         REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
3240         https://bugs.webkit.org/show_bug.cgi?id=42863
3241
3242         * WebView.cpp:
3243         (WebView::setZoomMultiplier):
3244         Call functions on Frame instead of FrameView.
3245
3246 2010-09-17  Matthew Delaney  <mdelaney@apple.com>
3247
3248         Reviewed by Simon Fraser.
3249
3250         Reduce minimum DOMTimer interval
3251         https://bugs.webkit.org/show_bug.cgi?id=45362
3252
3253         * WebView.cpp: Added in a call to set the mimimum allowed DOMTimer to 4ms.
3254
3255 2010-09-17  Simon Fraser  <simon.fraser@apple.com>
3256
3257         Reviewed by Chris Marrin.
3258
3259         Remove scroll and clip layers for WKCACFLayerRenderer
3260         https://bugs.webkit.org/show_bug.cgi?id=45922
3261
3262         WKCACFLayerRenderer no longer needs its own layers for managing scrolling
3263         and clipping, because RenderLayerCompositor provides this functionality.
3264
3265         * WebView.cpp:
3266         (WebView::sizeChanged): Moved code that handles the WM_SIZE message
3267         into this method. Use it to resize the layer renderer.
3268         (WebView::WebViewWndProc): Call sizeChanged().
3269         (WebView::updateRootLayerContents): No need to call setScrollFrame() any more.
3270         (WebView::layerRendererBecameVisible): Move this from the header (no need to be inline).
3271         * WebView.h:
3272
3273 2010-09-16  Darin Adler  <darin@apple.com>
3274
3275         Reviewed by Andreas Kling.
3276
3277         Reduce use of HTMLInputElement::inputType so we can remove it later
3278         https://bugs.webkit.org/show_bug.cgi?id=45903
3279
3280         * WebFrame.cpp:
3281         (WebFrame::elementDoesAutoComplete): Use isPasswordField.
3282         (WebFrame::elementIsPassword): Use isPasswordField.
3283
3284 2010-09-14  Ada Chan  <adachan@apple.com>
3285
3286         Reviewed by Adam Roben.
3287
3288         Add an IWebFramePrivate API to load string as plain text into the WebFrame.
3289         https://bugs.webkit.org/show_bug.cgi?id=45782
3290
3291         * Interfaces/IWebFramePrivate.idl:
3292         * Interfaces/WebKit.idl: Touch the file.
3293         * WebFrame.cpp:
3294         (WebFrame::loadPlainTextString):
3295         * WebFrame.h:
3296
3297 2010-09-13  Enrica Casucci  <enrica@apple.com>
3298
3299         Reviewed by Sam Weinig.
3300
3301         Paste should be implemented in WebCore like Copy and Cut for Mac also.
3302         https://bugs.webkit.org/show_bug.cgi?id=45494
3303         <rdar://problem/7660537>
3304
3305         On the Mac platform, the implementation of the paste operation is all done
3306         at the WebKit level. In order to support it on WebKit2 it is necessary to
3307         refactor the code and move this functionality at the level of WebCore like
3308         we already have on Windows.
3309         The original code relies on some in AppKit functions that call back into
3310         WebKit causing problems in WebKit2. All this functionality has been moved
3311         at the level of the editor client where it can be dealt with appropriately.
3312
3313         * WebFrame.cpp:
3314         (WebFrame::canShowMIMETypeASHTML): Added.
3315
3316 2010-09-11  Adam Barth  <abarth@webkit.org>
3317
3318         Reviewed by Sam Weinig.
3319
3320         Make SecurityOrigin::canDisplay an instance function
3321         https://bugs.webkit.org/show_bug.cgi?id=45219
3322
3323         * WebFrame.cpp:
3324         (WebFrame::allowsFollowingLink):
3325
3326 2010-09-10  Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
3327
3328         Reviewed by Darin Adler.
3329
3330         Add NetworkingContext to avoid layer violations
3331         https://bugs.webkit.org/show_bug.cgi?id=42292
3332
3333         * WebCoreSupport/WebFrameNetworkingContext.cpp:
3334         (WebFrameNetworkingContext::blockedError):
3335         * WebCoreSupport/WebFrameNetworkingContext.h:
3336
3337 2010-09-10  Jer Noble  <jer.noble@apple.com>
3338
3339         Reviewed by Simon Fraser.
3340
3341         Movies with track or movie matrices don't display in <video> elements (Safari 5/Windows)
3342         https://bugs.webkit.org/show_bug.cgi?id=45333
3343         
3344         The rootChild layer must be set as flipped, otherwise transformed movies will appear
3345         incorrectly rotated.
3346
3347         * FullscreenVideoController.cpp:
3348         (FullscreenVideoController::enterFullscreen):
3349
3350 2010-09-10  Sam Weinig  <sam@webkit.org>
3351
3352         Reviewed by Darin Adler.
3353
3354         Remove unnecessary constraint in WebCore of choosing either text zoom or full page zoom.
3355         Precursor to <rdar://problem/7660657>
3356         https://bugs.webkit.org/show_bug.cgi?id=45522
3357
3358         * WebFrame.cpp:
3359         * WebFrame.h:
3360         Remove dead code.
3361
3362         * WebView.cpp:
3363         (WebView::WebView):
3364         (WebView::setZoomMultiplier):
3365         (WebView::zoomMultiplier):
3366         (WebView::canMakeTextLarger):
3367         (WebView::makeTextLarger):
3368         (WebView::canMakeTextSmaller):
3369         (WebView::makeTextSmaller):
3370         (WebView::notifyPreferencesChanged):
3371         * WebView.h:
3372         Move tracking of text only zoom here from WebCore.
3373
3374 2010-09-10  Brian Weinstein  <bweinstein@apple.com>
3375
3376         Windows Build Fix. Fix some fallout from r67238, currentForm is now off of 
3377         SelectionController instead of frame. Also fix a style issue.
3378
3379         * WebFrame.cpp:
3380         (WebFrame::currentForm):
3381
3382 2010-09-10  Adam Barth  <abarth@webkit.org>
3383
3384         Reviewed by Darin Fisher.
3385
3386         Move code from WebKit-layer to DocumentLoader
3387         https://bugs.webkit.org/show_bug.cgi?id=45569
3388
3389         * WebCoreSupport/WebFrameLoaderClient.cpp:
3390         (WebFrameLoaderClient::committedLoad):
3391         * WebCoreSupport/WebFrameLoaderClient.h:
3392
3393 2010-09-09  Darin Adler  <darin@apple.com>
3394
3395         Reviewed by Adam Barth.
3396
3397         Move functions from Frame to SelectionController as planned
3398         https://bugs.webkit.org/show_bug.cgi?id=45508
3399
3400         * WebView.cpp:
3401         (WebView::selectionRect):
3402         (WebView::centerSelectionInVisibleArea):
3403         Call functions on selection().
3404
3405 2010-09-10  Adam Barth  <abarth@webkit.org>
3406
3407         Reviewed by Eric Seidel.
3408
3409         Main resource bytes shouldn't bounce through FrameLoader
3410         https://bugs.webkit.org/show_bug.cgi?id=45496
3411
3412         Now return the bytes to the DocumentLoader.
3413
3414         * WebCoreSupport/WebFrameLoaderClient.cpp:
3415         (WebFrameLoaderClient::receivedData):
3416
3417 2010-09-09  Simon Fraser  <simon.fraser@apple.com>
3418
3419         Reviewed by Adam Roben.
3420
3421         Scrollbars fail to render in composited iframes.
3422         https://bugs.webkit.org/show_bug.cgi?id=45335
3423
3424         Use LocalWindowsContext when painting scrollbars.
3425
3426         * WebCoreSupport/WebChromeClient.cpp:
3427         (WebChromeClient::paintCustomScrollbar):
3428         (WebChromeClient::paintCustomScrollCorner):
3429
3430 2010-09-08  Darin Adler  <darin@apple.com>
3431
3432         Reviewed by Adam Barth.
3433
3434         Move functions from Frame to Editor as planned
3435         https://bugs.webkit.org/show_bug.cgi?id=45218
3436
3437         * WebCoreSupport/WebContextMenuClient.cpp:
3438         (WebContextMenuClient::searchWithGoogle):
3439         * WebFrame.cpp:
3440         (WebFrame::selectedString):
3441         * WebView.cpp:
3442         (WebView::selectedText):
3443         (WebView::prepareCandidateWindow):
3444         (WebView::onIMERequestCharPosition):
3445         Changed call sites to use editor().
3446
3447 2010-09-08  Peter Kasting  <pkasting@google.com>
3448
3449         Not reviewed, build fix.
3450
3451         * WebScrollBar.cpp:
3452         (WebScrollBar::setScrollOffsetFromAnimation):
3453
3454 2010-09-08  Peter Kasting  <pkasting@google.com>
3455
3456         Not reviewed, build fix.
3457
3458         * WebScrollBar.cpp:
3459         (WebScrollBar::scrollSize):
3460         (WebScrollBar::setScrollOffsetFromAnimation):
3461
3462 2010-09-08  Peter Kasting  <pkasting@google.com>
3463
3464         Not reviewed, build fix.
3465
3466         * WebScrollBar.cpp:
3467         (WebScrollBar::setValue):
3468         (WebScrollBar::scrollSize):
3469         (WebScrollBar::setScrollOffsetFromAnimation):
3470         * WebScrollBar.h:
3471
3472 2010-09-08  Adam Barth  <abarth@webkit.org>
3473
3474         Attempted Window build fix.
3475
3476         * WebDataSource.cpp:
3477         (WebDataSource::subresourceForURL):
3478
3479 2010-09-08  Adam Barth  <abarth@webkit.org>
3480
3481         Rubber-stamped by Eric Seidel.
3482
3483         Rename DocLoader to CachedResourceLoader because that's what it does.
3484
3485         * WebDataSource.cpp:
3486
3487 2010-09-07  Brent Fulgham  <bfulgham@webkit.org>
3488
3489         Reviewed by Adam Roben.
3490
3491         Clean up a potential resource leak.
3492         https://bugs.webkit.org/show_bug.cgi?id=45198
3493
3494         Several bitmap device context were being created and used,
3495         and destroyed without returning the context to its original
3496         state.  This showed up as bitmap leaks in BoundsChecker.
3497
3498         * FullscreenVideoController.cpp:
3499         * WebView.cpp:
3500         (WebView::scrollBackingStore):
3501         (WebView::paint):
3502
3503 2010-09-06  Adam Barth  <abarth@webkit.org>
3504
3505         Reviewed by Darin Adler.
3506
3507         Rename SecurityOrigin::canLoad to canDisplay
3508         https://bugs.webkit.org/show_bug.cgi?id=45214
3509
3510         Propagate name change.
3511
3512         * WebFrame.cpp:
3513         (WebFrame::allowsFollowingLink):
3514
3515 2010-09-03  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
3516
3517         Reviewed by Darin Adler.
3518
3519         Add NetworkingContext to avoid layer violations
3520         https://bugs.webkit.org/show_bug.cgi?id=42292
3521
3522         Add Win's specific implementation of NetworkingContext.
3523
3524         * WebCoreSupport/WebFrameNetworkingContext.cpp:
3525         (WebFrameNetworkingContext::create):
3526         (WebFrameNetworkingContext::userAgent):
3527         (WebFrameNetworkingContext::referrer):
3528         * WebFrame.cpp:
3529         (WebFrame::createNetworkingContext):
3530         * WebFrame.h:
3531
3532 2010-09-03  Adam Roben  <aroben@apple.com>
3533
3534         Attempt to fixing Windows nightlies again
3535
3536         The fix in r66438 should be sufficient, but we have to touch
3537         WebKit.idl to force that change to be picked up by the build.
3538
3539         * Interfaces/WebKit.idl: Touched this file to force a build.
3540
3541 2010-09-02  Yury Semikhatsky  <yurys@chromium.org>
3542
3543         Reviewed by PavelFeldman.
3544
3545         REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
3546         https://bugs.webkit.org/show_bug.cgi?id=44230
3547
3548         * WebCoreSupport/WebInspectorClient.cpp:
3549         (WebInspectorFrontendClient::~WebInspectorFrontendClient):
3550         (WebInspectorFrontendClient::closeWindow):
3551         (WebInspectorFrontendClient::disconnectFromBackend):
3552         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3553         (WebInspectorFrontendClient::destroyInspectorView):
3554         * WebCoreSupport/WebInspectorClient.h:
3555
3556 2010-09-01  Jessie Berlin  <jberlin@apple.com>
3557
3558         Reviewed by Adam Roben.
3559
3560         WebViews should allow their parent windows to handle WM_MOUSEACTIVATE messages.
3561         https://bugs.webkit.org/show_bug.cgi?id=45047
3562
3563         * WebView.cpp:
3564         (WebView::WebViewWndProc):
3565
3566 2010-08-31  Dave Hyatt  <hyatt@apple.com>
3567
3568         Reviewed by Sam Weinig.
3569
3570         https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
3571         the former can occur in more places without having to do the latter.
3572
3573         * WebFrame.cpp:
3574         (WebFrame::paintDocumentRectToContext):
3575         * WebView.cpp:
3576         (WebView::updateBackingStore):
3577
3578 2010-08-30  Adam Roben  <aroben@apple.com>
3579
3580         Fix crash on launch on Windows due to changing IWebFramePrivate's
3581         vtable
3582
3583         This regressed in r65107.
3584
3585         Fixes <http://webkit.org/b/44755>.
3586
3587         Rubber-stamped by Jon Honeycutt.
3588
3589         * Interfaces/IWebFramePrivate.idl: Moved suspendAnimations and
3590         resumeAnimations to the end of the interface so that the vtable will
3591         match what Safari expects.
3592
3593 2010-08-30  Sheriff Bot  <webkit.review.bot@gmail.com>
3594
3595         Unreviewed, rolling out r66198.
3596         http://trac.webkit.org/changeset/66198
3597         https://bugs.webkit.org/show_bug.cgi?id=44856
3598
3599         It made tests crash on Qt bot (Requested by Ossy_ on #webkit).
3600
3601         * WebCoreSupport/WebInspectorClient.cpp:
3602         (WebInspectorFrontendClient::~WebInspectorFrontendClient):
3603         (WebInspectorFrontendClient::closeWindow):
3604         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3605         (WebInspectorFrontendClient::destroyInspectorView):
3606         * WebCoreSupport/WebInspectorClient.h:
3607
3608 2010-08-27  Yury Semikhatsky  <yurys@chromium.org>
3609
3610         Reviewed by Pavel Feldman.
3611
3612         REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
3613         https://bugs.webkit.org/show_bug.cgi?id=44230
3614
3615         * WebCoreSupport/WebInspectorClient.cpp:
3616         (WebInspectorFrontendClient::~WebInspectorFrontendClient):
3617         (WebInspectorFrontendClient::closeWindow):
3618         (WebInspectorFrontendClient::disconnectFromBackend):
3619         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3620         (WebInspectorFrontendClient::destroyInspectorView):
3621         * WebCoreSupport/WebInspectorClient.h:
3622
3623 2010-08-26  Yury Semikhatsky  <yurys@chromium.org>
3624
3625         Unreviewed. Revert r66103 since Qt tests are failing.
3626
3627         * WebCoreSupport/WebInspectorClient.cpp:
3628         (WebInspectorFrontendClient::~WebInspectorFrontendClient):
3629         (WebInspectorFrontendClient::closeWindow):
3630         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3631         (WebInspectorFrontendClient::destroyInspectorView):
3632         * WebCoreSupport/WebInspectorClient.h:
3633
3634 2010-08-26  Yury Semikhatsky  <yurys@chromium.org>
3635
3636         Reviewed by Pavel Feldman.
3637
3638         REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
3639         https://bugs.webkit.org/show_bug.cgi?id=44230
3640
3641         * WebCoreSupport/WebInspectorClient.cpp:
3642         (WebInspectorFrontendClient::~WebInspectorFrontendClient):
3643         (WebInspectorFrontendClient::closeWindow):
3644         (WebInspectorFrontendClient::disconnectFromBackend):
3645         (WebInspectorFrontendClient::closeWindowWithoutNotifications):
3646         (WebInspectorFrontendClient::destroyInspectorView):
3647         * WebCoreSupport/WebInspectorClient.h:
3648
3649 2010-08-24  Ada Chan  <adachan@apple.com>
3650
3651         Reviewed by Steve Falkenburg.
3652
3653         <rdar://problem/8185379> Possible null dereference in WebView::canShowMIMEType.
3654         https://bugs.webkit.org/show_bug.cgi?id=44564
3655
3656         * WebView.cpp:
3657         (WebView::canShowMIMEType): Null check m_page->pluginData() since that can return NULL
3658         if plugins are disabled.
3659
3660 2010-08-22  Daniel Bates  <dbates@rim.com>
3661
3662         Reviewed by Eric Seidel.
3663
3664         Encapsulate document marker management into DocumentMarkerController
3665         https://bugs.webkit.org/show_bug.cgi?id=44383
3666
3667         Modify call sites in the Apple Windows port to use DocumentMarkerController.
3668
3669         No functionality was changed, so no new tests.
3670
3671         * WebFrame.cpp:
3672         (WebFrame::unmarkAllMisspellings):
3673         (WebFrame::unmarkAllBadGrammar):
3674         * WebView.cpp:
3675         (WebView::rectsForTextMatches):
3676
3677 2010-08-18  Jessie Berlin  <jberlin@apple.com>
3678
3679         Reviewed by Adam Roben.
3680
3681         Bug 44180 - WebView::paint fails to paint a child WebView of a Layered Window.
3682         https://bugs.webkit.org/show_bug.cgi?id=44180
3683         
3684         Decide to end painting if the m_backingStoreBitmap is null after the call to
3685         ensureBackingStore() instead of when the rcPaint rect filled by BeginPaint is empty.
3686         The rcPaint rect filled by BeginPaint is always empty for a child WebView of a Layered 
3687         Window, even if GetUpdateRect and GetUpdateRgn report a non-empty region that needs
3688         painting.
3689
3690         * WebView.cpp:
3691         (WebView::paint):
3692
3693 2010-08-17  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
3694
3695         Reviewed by Darin Adler.
3696
3697         Add NetworkingContext to avoid layer violations
3698         https://bugs.webkit.org/show_bug.cgi?id=42292
3699
3700         Preparation: Just add the files to the build system.
3701
3702         * WebCoreSupport/WebFrameNetworkingContext.cpp: Added.
3703         Empty placeholder for now.
3704         * WebCoreSupport/WebFrameNetworkingContext.h: Added.
3705         Placeholder with tentative code that might be changed when landing
3706         the rest of it.
3707         * WebKit.vcproj/WebKit.vcproj: Added new files.
3708
3709 2010-08-17  Brady Eidson  <beidson@apple.com>
3710
3711         Reviewed by Sam Weinig.
3712
3713         Navigating back/forward during a modal dialog causes a crash when the modal dialog is dismissed.
3714         <rdar://problem/8313579> and https://bugs.webkit.org/show_bug.cgi?id=44131
3715
3716         * WebView.cpp:
3717         (WebView::canGoBack): Return false if loads are deferred.
3718         (WebView::canGoForward): Ditto.
3719
3720 2010-08-16  Kinuko Yasuda  <kinuko@chromium.org>
3721
3722         Unreviewed; build fix attempt for Windows.
3723
3724         * DefaultDownloadDelegate.cpp:
3725
3726 2010-08-12  Jeremy Orlow  <jorlow@chromium.org>
3727
3728         Revert for now
3729         https://bugs.webkit.org/show_bug.cgi?id=43794 
3730
3731         * WebView.cpp:
3732         (WebView::initWithFrame):
3733
3734 2010-08-12  Jeremy Orlow  <jorlow@chromium.org>
3735
3736         Build fix.  Matches solutions in qt and mac ports for
3737         https://bugs.webkit.org/show_bug.cgi?id=43794 
3738
3739         * WebView.cpp:
3740         (WebView::initWithFrame):
3741
3742 2010-08-10  Gavin Barraclough  <barraclough@apple.com>
3743
3744         Build fix (update more includes)
3745
3746         * WebKitDLL.h:
3747         * WebLocalizableStrings.cpp:
3748         * WebNotificationCenter.cpp:
3749         * WebPreferences.cpp:
3750
3751 2010-08-10  Chris Marrin  <cmarrin@apple.com>
3752
3753         Reviewed by Oliver Hunt.
3754
3755         Add suspendAnimations/resumeAnimation API to DRT
3756         https://bugs.webkit.org/show_bug.cgi?id=43733
3757
3758         Win specific API
3759
3760         * Interfaces/IWebFramePrivate.idl:
3761         * WebFrame.cpp:
3762         (WebFrame::suspendAnimations):
3763         (WebFrame::resumeAnimations):
3764         * WebFrame.h:
3765
3766 2010-08-06  Gavin Barraclough  <barraclough@apple.com>
3767
3768         Rubber stamped by Sam Weinig
3769
3770         Bug 43594 - Add string forwards to Forward.h
3771         This allows us to remove forward declarations for these classes from
3772         WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
3773
3774         * COMVariantSetter.h:
3775         * MarshallingHelpers.h:
3776         * WebCoreSupport/WebContextMenuClient.h:
3777         * WebCoreSupport/WebPluginHalterClient.h:
3778         * WebHistory.h:
3779
3780 2010-08-06  Jessie Berlin  <jberlin@apple.com>
3781
3782         Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build.
3783         Unreviewed.
3784
3785         * COMVariantSetter.h:
3786         * MarshallingHelpers.h:
3787         * WebCoreSupport/WebContextMenuClient.h:
3788         * WebCoreSupport/WebPluginHalterClient.h:
3789         * WebHistory.h:
3790
3791 2010-08-05  Jessie Berlin  <jberlin@apple.com>
3792
3793         Reviewed by Jon Honeycutt.
3794
3795         Bug 43593 - WebView::backingStore should check if m_backingStoreBitmap is NULL.
3796         https://bugs.webkit.org/show_bug.cgi?id=43593
3797
3798         * WebView.cpp:
3799         (WebView::backingStore):
3800         If m_backingStoreBitmap is NULL, return E_FAIL.
3801
3802 2010-08-05  Gavin Barraclough  <barraclough@apple.com>
3803
3804         Rubber stamped by Sam Weinig
3805
3806         Bug 43594 - Add string forwards to Forward.h
3807         This allows us to remove forward declarations for these classes from
3808         WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
3809
3810         * COMVariantSetter.h:
3811         * MarshallingHelpers.h:
3812         * WebCoreSupport/WebContextMenuClient.h:
3813         * WebCoreSupport/WebPluginHalterClient.h:
3814         * WebHistory.h:
3815
3816 2010-08-03  Adam Roben  <aroben@apple.com>
3817
3818         Turn on PLATFORM_STRATEGIES on Windows
3819
3820         Fixes <http://webkit.org/b/43431>.
3821
3822         Reviewed by Anders Carlsson.
3823
3824         * WebCoreLocalizedStrings.cpp: Removed.
3825         * WebCoreSupport/WebPlatformStrategies.cpp: Added. Based on the Mac
3826         equivalent.
3827         (WebPlatformStrategies::initialize): Creates the singleton instance.
3828         (WebPlatformStrategies::WebPlatformStrategies): Registers the
3829         singleton instance as the PlatformStrategies instance for WebCore.
3830
3831         (WebPlatformStrategies::createPluginStrategy):
3832         (WebPlatformStrategies::createLocalizationStrategy):
3833         (WebPlatformStrategies::createVisitedLinkStrategy):
3834         Return ourselves as the strategy.
3835
3836         (WebPlatformStrategies::refreshPlugins):
3837         (WebPlatformStrategies::getPluginInfo):
3838         Moved code here from WebCore's PluginDataWin.cpp file.
3839
3840         (WebPlatformStrategies::searchableIndexIntroduction):
3841         (WebPlatformStrategies::submitButtonDefaultLabel):
3842         (WebPlatformStrategies::inputElementAltText):
3843         (WebPlatformStrategies::resetButtonDefaultLabel):
3844         (WebPlatformStrategies::fileButtonChooseFileLabel):
3845         (WebPlatformStrategies::fileButtonNoFileSelectedLabel):
3846         (WebPlatformStrategies::contextMenuItemTagOpenLinkInNewWindow):
3847         (WebPlatformStrategies::contextMenuItemTagDownloadLinkToDisk):
3848         (WebPlatformStrategies::contextMenuItemTagCopyLinkToClipboard):
3849         (WebPlatformStrategies::contextMenuItemTagOpenImageInNewWindow):
3850         (WebPlatformStrategies::contextMenuItemTagDownloadImageToDisk):
3851         (WebPlatformStrategies::contextMenuItemTagCopyImageToClipboard):
3852         (WebPlatformStrategies::contextMenuItemTagOpenFrameInNewWindow):
3853         (WebPlatformStrategies::contextMenuItemTagCopy):
3854         (WebPlatformStrategies::contextMenuItemTagGoBack):
3855         (WebPlatformStrategies::contextMenuItemTagGoForward):
3856         (WebPlatformStrategies::contextMenuItemTagStop):
3857         (WebPlatformStrategies::contextMenuItemTagReload):
3858         (WebPlatformStrategies::contextMenuItemTagCut):
3859         (WebPlatformStrategies::contextMenuItemTagPaste):
3860         (WebPlatformStrategies::contextMenuItemTagNoGuessesFound):
3861         (WebPlatformStrategies::contextMenuItemTagIgnoreSpelling):
3862         (WebPlatformStrategies::contextMenuItemTagLearnSpelling):
3863         (WebPlatformStrategies::contextMenuItemTagSearchWeb):
3864         (WebPlatformStrategies::contextMenuItemTagLookUpInDictionary):
3865         (WebPlatformStrategies::contextMenuItemTagOpenLink):
3866         (WebPlatformStrategies::contextMenuItemTagIgnoreGrammar):
3867         (WebPlatformStrategies::contextMenuItemTagSpellingMenu):
3868         (WebPlatformStrategies::contextMenuItemTagCheckSpelling):
3869         (WebPlatformStrategies::contextMenuItemTagCheckSpellingWhileTyping):
3870         (WebPlatformStrategies::contextMenuItemTagCheckGrammarWithSpelling):
3871         (WebPlatformStrategies::contextMenuItemTagFontMenu):
3872         (WebPlatformStrategies::contextMenuItemTagBold):
3873         (WebPlatformStrategies::contextMenuItemTagItalic):
3874         (WebPlatformStrategies::contextMenuItemTagUnderline):
3875         (WebPlatformStrategies::contextMenuItemTagOutline):
3876         (WebPlatformStrategies::contextMenuItemTagWritingDirectionMenu):
3877         (WebPlatformStrategies::contextMenuItemTagTextDirectionMenu):
3878         (WebPlatformStrategies::contextMenuItemTagDefaultDirection):
3879         (WebPlatformStrategies::contextMenuItemTagLeftToRight):
3880         (WebPlatformStrategies::contextMenuItemTagRightToLeft):
3881         (WebPlatformStrategies::contextMenuItemTagShowSpellingPanel):
3882         (WebPlatformStrategies::contextMenuItemTagInspectElement):
3883         (WebPlatformStrategies::searchMenuNoRecentSearchesText):
3884         (WebPlatformStrategies::searchMenuRecentSearchesText):
3885         (WebPlatformStrategies::searchMenuClearRecentSearchesText):
3886         (WebPlatformStrategies::AXWebAreaText):
3887         (WebPlatformStrategies::AXLinkText):
3888         (WebPlatformStrategies::AXListMarkerText):
3889         (WebPlatformStrategies::AXImageMapText):
3890         (WebPlatformStrategies::AXHeadingText):
3891         (WebPlatformStrategies::AXDefinitionListTermText):
3892         (WebPlatformStrategies::AXDefinitionListDefinitionText):
3893         (WebPlatformStrategies::AXButtonActionVerb):
3894         (WebPlatformStrategies::AXRadioButtonActionVerb):
3895         (WebPlatformStrategies::AXTextFieldActionVerb):
3896         (WebPlatformStrategies::AXCheckedCheckBoxActionVerb):
3897         (WebPlatformStrategies::AXUncheckedCheckBoxActionVerb):
3898         (WebPlatformStrategies::AXLinkActionVerb):
3899         (WebPlatformStrategies::AXMenuListActionVerb):
3900         (WebPlatformStrategies::AXMenuListPopupActionVerb):
3901         (WebPlatformStrategies::unknownFileSizeText):
3902         (WebPlatformStrategies::uploadFileText):
3903         (WebPlatformStrategies::allFilesText):
3904         (WebPlatformStrategies::missingPluginText):
3905         (WebPlatformStrategies::crashedPluginText):
3906         (WebPlatformStrategies::imageTitle):
3907         (WebPlatformStrategies::multipleFileUploadText):
3908         (WebPlatformStrategies::mediaElementLoadingStateText):
3909         (WebPlatformStrategies::mediaElementLiveBroadcastStateText):
3910         (WebPlatformStrategies::localizedMediaControlElementString):
3911         (WebPlatformStrategies::localizedMediaControlElementHelpText):
3912         (WebPlatformStrategies::localizedMediaTimeDescription):
3913         (WebPlatformStrategies::validationMessageValueMissingText):
3914         (WebPlatformStrategies::validationMessageTypeMismatchText):
3915         (WebPlatformStrategies::validationMessagePatternMismatchText):
3916         (WebPlatformStrategies::validationMessageTooLongText):
3917         (WebPlatformStrategies::validationMessageRangeUnderflowText):
3918         (WebPlatformStrategies::validationMessageRangeOverflowText):
3919         (WebPlatformStrategies::validationMessageStepMismatchText):
3920         Moved code here from WebCoreLocalizedStrings.cpp (and slightly cleaned
3921         it up).
3922
3923         (WebPlatformStrategies::isLinkVisited):
3924         (WebPlatformStrategies::addVisitedLink):
3925         Copied code from WebKit/mac/WebCoreSupport/WebPlatformStrategies.mm.
3926
3927         * WebCoreSupport/WebPlatformStrategies.h: Added.
3928
3929         * WebKit.vcproj/WebKit.vcproj: Removed WebCoreLocalizedStrings, added
3930         WebPlatformStrategies.
3931
3932         * WebView.cpp:
3933         (WebView::initWithFrame): Initialize WebPlatformStrategies.
3934
3935 2010-08-03  Alexey Proskuryakov  <ap@apple.com>
3936
3937         Reviewed by Sam Weinig.
3938
3939         https://bugs.webkit.org/show_bug.cgi?id=42939
3940         WebEditorClient::didBeginEditing is never called in WebKit2
3941
3942         * WebView.cpp: (WebView::WebViewWndProc): Removed a call to setFocusedFrame. WebCore will
3943         now set it to main frame, and besides, this call should have been before setFocused(), not
3944         after it. My understanding is that we weren't getting all the same editing delegates on Windows,
3945         so this change may make WebKit1 on Windows behave more like Mac - but I haven't tested it.
3946
3947 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
3948
3949         Reviewed by Darin Fisher.
3950
3951         PopupMenu refactoring in preparation to WebKit2
3952         https://bugs.webkit.org/show_bug.cgi?id=42592
3953
3954         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
3955         instances, concrete classes that inherit from ChromeClient needed to be changed to
3956         implement the new methods.
3957
3958         * WebCoreSupport/WebChromeClient.cpp:
3959         (WebChromeClient::selectItemWritingDirectionIsNatural):
3960         (WebChromeClient::createPopupMenu):
3961         (WebChromeClient::createSearchPopupMenu):
3962         * WebCoreSupport/WebChromeClient.h:
3963
3964 2010-08-02  Jon Honeycutt  <jhoneycutt@apple.com>
3965
3966         Move InjectedBundle.vcproj to where the other WebKitTestRunner vcprojs live.
3967
3968         Reviewed by Sam Weinig.
3969
3970         * WebKit.vcproj/WebKit.sln:
3971
3972 2010-08-02  Jeremy Orlow  <jorlow@chromium.org>
3973
3974         Speculative revert of 64425 due to Chromium instability
3975         https://bugs.webkit.org/show_bug.cgi?id=43347
3976
3977         * WebCoreSupport/WebChromeClient.cpp:
3978         * WebCoreSupport/WebChromeClient.h:
3979         * WebView.cpp:
3980         (WebView::mouseWheel):
3981
3982 2010-07-31  Luiz Agostini  <luiz.agostini@openbossa.org>
3983
3984         Build fix: Windows.
3985
3986         * WebView.cpp:
3987         (WebView::mouseWheel):
3988
3989 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
3990
3991         Reviewed by Darin Fisher.
3992
3993         PopupMenu refactoring in preparation to WebKit2
3994         https://bugs.webkit.org/show_bug.cgi?id=42592
3995
3996         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
3997         instances, concrete classes that inherit from ChromeClient needed to be changed to
3998         implement the new methods.
3999
4000         * WebCoreSupport/WebChromeClient.cpp:
4001         (WebChromeClient::selectItemWritingDirectionIsNatural):
4002         (WebChromeClient::createPopupMenu):
4003         (WebChromeClient::createSearchPopupMenu):
4004         * WebCoreSupport/WebChromeClient.h:
4005
4006 2010-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
4007
4008         Unreviewed, rolling out r64422.
4009         http://trac.webkit.org/changeset/64422
4010         https://bugs.webkit.org/show_bug.cgi?id=43304
4011
4012         Build fixes are needed for Snow Leopard and Windows.
4013         (Requested by lca on #webkit).
4014
4015         * WebCoreSupport/WebChromeClient.cpp:
4016         * WebCoreSupport/WebChromeClient.h:
4017
4018 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
4019
4020         Reviewed by Darin Fisher.
4021
4022         PopupMenu refactoring in preparation to WebKit2
4023         https://bugs.webkit.org/show_bug.cgi?id=42592
4024
4025         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
4026         instances, concrete classes that inherit from ChromeClient needed to be changed to
4027         implement the new methods.
4028
4029         * WebCoreSupport/WebChromeClient.cpp:
4030         (WebChromeClient::selectItemWritingDirectionIsNatural):
4031         (WebChromeClient::createPopupMenu):
4032         (WebChromeClient::createSearchPopupMenu):
4033         * WebCoreSupport/WebChromeClient.h:
4034
4035 2010-07-31  Daniel Bates  <dbates@rim.com>
4036
4037         Attempt to fix the Windows build after changeset 64409 <http://trac.webkit.org/changeset/64409>.
4038
4039         * WebFrame.cpp:
4040         (WebFrame::setPrinting):
4041
4042 2010-07-30  Dan Bernstein  <mitz@apple.com>
4043
4044         Reviewed by Darin Adler.
4045
4046         <rdar://problem/8257783> Short documents may print a second blank page
4047         https://bugs.webkit.org/show_bug.cgi?id=43271
4048
4049         * WebFrame.cpp:
4050         (WebFrame::setPrinting): Updated for changes to Frame::setPrinting(). Passing 0 for the
4051         page height, which maintains existing behavior.
4052
4053 2010-07-30  Joseph Pecoraro  <joepeck@webkit.org>
4054
4055         Reviewed by David Kilzer.
4056
4057         Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
4058         https://bugs.webkit.org/show_bug.cgi?id=40627
4059
4060         * WebCoreSupport/WebChromeClient.cpp:
4061         (WebChromeClient::reachedApplicationCacheOriginQuota):
4062         * WebCoreSupport/WebChromeClient.h:
4063
4064 2010-07-26  Steve Block  <steveblock@google.com>
4065
4066         Reviewed by Jeremy Orlow.
4067
4068         Page clients should be passed to Page constructor via structure of pointers
4069         https://bugs.webkit.org/show_bug.cgi?id=42834
4070
4071         * WebView.cpp:
4072         (WebView::initWithFrame):
4073
4074 2010-07-27  Steve Block  <steveblock@google.com>
4075
4076         Reviewed by Alexey Proskuryakov.
4077
4078         Client-based Geolocation does not pass enableHighAccuracy option to controller and client
4079         https://bugs.webkit.org/show_bug.cgi?id=40374
4080
4081         Stub out setEnableHighAccuracy method for the Win port.
4082
4083         * WebCoreSupport/WebGeolocationControllerClient.h:
4084         (WebGeolocationControllerClient::setEnableHighAccuracy):
4085
4086 2010-07-22  Sam Weinig  <sam@webkit.org>
4087
4088         Reviewed by Maciej Stachowiak.
4089
4090         Fix for <rdar://problem/8222626>
4091         Send textDidChangeInTextField delegate callback only in response to typing or other forms of user text input.
4092
4093         The function name no longer perfectly matches the behavior, but I didn't want to break any existing clients. Maybe we
4094         should migrate to a new function name eventually
4095
4096         * WebCoreSupport/WebEditorClient.cpp:
4097         (WebEditorClient::textDidChangeInTextField):
4098
4099 2010-07-21  Brady Eidson  <beidson@apple.com>
4100
4101         Reviewed by Geoffrey Garen.
4102
4103         Break out "scheme registration" functionality from SecurityOrigin to a SchemeRegistry
4104         https://bugs.webkit.org/show_bug.cgi?id=42783
4105
4106         * WebView.cpp:
4107         (WebView::registerURLSchemeAsLocal):
4108         (WebView::registerURLSchemeAsSecure):
4109
4110 2010-07-20  Steve Falkenburg  <sfalken@apple.com>
4111
4112         Reviewed by Adam Roben.
4113
4114         WebKit on Windows should build optionally with an unversioned ICU DLL
4115         https://bugs.webkit.org/show_bug.cgi?id=42722
4116         <rdar://problem/8211767> WebKit needs to link against unversioned ICU
4117
4118         To get the proper value for U_DISABLE_RENAMING into all source files, we force
4119         the include of ICUVersion.h (our generated header) via the compiler options.
4120
4121         * WebKit.vcproj/WebKit.vcproj: Add forced include of ICUVersion.h.        
4122
4123 2010-07-21  Adam Roben  <aroben@apple.com>
4124
4125         Update WebKit.sln for InjectedBundle's Debug_Internal configuration
4126
4127         Fixes <http://webkit.org/b/42749> InjectedBundle's build
4128         configurations are screwy
4129
4130         Reviewed by Darin Adler.
4131
4132         * WebKit.vcproj/WebKit.sln: Build the Debug_Internal variant of
4133         InjectedBundle when we're using the Debug_Internal solution
4134         configuration.
4135
4136 2010-07-21  Adam Roben  <aroben@apple.com>
4137
4138         Add MiniBrowser to WebKit.sln
4139
4140         It is the last project to build.
4141
4142         Fixes <http://webkit.org/b/42747> build-webkit should build
4143         MiniBrowser
4144
4145         Reviewed by Darin Adler.
4146
4147         * WebKit.vcproj/WebKit.sln: Added MiniBrowser, and made it depend on
4148         WebKitTestRunner.
4149
4150 2010-07-20  Adam Roben  <aroben@apple.com>
4151
4152         Add WebKitTestRunner and friends to WebKit.sln
4153
4154         We added these projects to WebKit2.sln in r63585, but removed them
4155         again in r63600 because WebKitTestRunner required getopt, which
4156         doesn't exist in WebKitAuxiliaryLibrary. r63700 and r63788 removed the
4157         use of getopt in WebKitTestRunner, so we can now add it to WebKit.sln
4158         (which has replaced WebKit2.sln).
4159
4160         Fixes <http://webkit.org/b/42711> WebKit.sln should build
4161         WebKitTestRunner
4162
4163         Reviewed by Steve Falkenburg.
4164
4165         * WebKit.vcproj/WebKit.sln: Added the following projects to the end of
4166         the build order (in first-built to last-built order):
4167         InjectedBundleGenerated, InjectedBundle, WebKitTestRunner. Also
4168         removed an unnecessary dependency from testapi on WebKit2WebProcess.
4169
4170 2010-07-19  Daniel Bates  <dbates@rim.com>
4171
4172         Reviewed by Adam Roben.
4173
4174         [Win] Implement LayoutTestController::markerTextForListItem()
4175         https://bugs.webkit.org/show_bug.cgi?id=37930
4176
4177         Implements support for markerTextForListItem in the Windows port.
4178
4179         * DOMCoreClasses.cpp:
4180         (DOMElement::markerTextForListItem): Added.
4181         * DOMCoreClasses.h:
4182         * Interfaces/DOMPrivate.idl: Added declaration for markerTextForListItem().
4183         * Interfaces/IWebViewPrivate.idl: Added declaration for elementFromJS().
4184         * Interfaces/WebKit.idl: Touch it to force a rebuild (and for good luck :-)).
4185         * WebView.cpp:
4186         (WebView::elementFromJS): Added.
4187         * WebView.h:
4188
4189 2010-07-16  Zhe Su  <suzhe@chromium.org>
4190
4191         Reviewed by Darin Adler.
4192
4193         REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
4194         https://bugs.webkit.org/show_bug.cgi?id=42253
4195
4196         Dummy implementation of EditorClient::willSetInputMethodState.
4197
4198         * WebCoreSupport/WebEditorClient.cpp:
4199         (WebEditorClient::willSetInputMethodState):
4200         * WebCoreSupport/WebEditorClient.h:
4201
4202 2010-07-16  Mikhail Naganov  <mnaganov@chromium.org>
4203
4204         Reviewed by Pavel Feldman.
4205
4206         Make JS memory stats available via 'Performance' object (Web Timing).
4207         This statistics is populated only if 'WebKitMemoryInfoEnabled'
4208         preference is set.
4209
4210         'console.memory' is kept until Web Timing object becomes visible by
4211         default (currently it is hidden under compile-time flag).  These stats