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