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