Web Inspector: Disabling Inspector causes build failure on Windows
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2012-04-18  Vivek Galatage  <vivekgalatage@gmail.com>
2
3         Web Inspector: Disabling Inspector causes build failure on Windows
4         https://bugs.webkit.org/show_bug.cgi?id=83557
5
6         Reviewed by Pavel Feldman.
7
8         The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
9         This change brings all such API calls under the guard.
10
11         * WebCoreSupport/WebInspectorClient.cpp:
12         * WebInspector.cpp:
13         * WebNodeHighlight.cpp:
14         (WebNodeHighlight::WebNodeHighlight):
15         (WebNodeHighlight::update):
16         * WebNodeHighlight.h:
17         (WebNodeHighlight):
18         * WebView.cpp:
19         (WebView::WebView):
20         (WebView::close):
21         (WebView::initWithFrame):
22         (WebView::inspector):
23         * WebView.h:
24         (WebView):
25
26 2012-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
27
28         Unreviewed, rolling out r113836.
29         http://trac.webkit.org/changeset/113836
30         https://bugs.webkit.org/show_bug.cgi?id=83705
31
32         Broke all the WebKit2 inspector tests (Requested by andersca
33         on #webkit).
34
35         * WebCoreSupport/WebInspectorClient.cpp:
36         (registerWindowClass):
37         * WebInspector.cpp:
38         (WebInspector::setTimelineProfilingEnabled):
39         * WebNodeHighlight.cpp:
40         (WebNodeHighlight::WebNodeHighlight):
41         (WebNodeHighlight::update):
42         * WebNodeHighlight.h:
43         (WebNodeHighlight):
44         * WebView.cpp:
45         (WebView::WebView):
46         (WebView::close):
47         (WebView::initWithFrame):
48         (WebView::inspector):
49         * WebView.h:
50         (WebView):
51
52 2012-04-11  Vivek Galatage  <vivekgalatage@gmail.com>
53
54         Web Inspector: Disabling Inspector causes build failure on Windows
55         https://bugs.webkit.org/show_bug.cgi?id=83557
56
57         Reviewed by Pavel Feldman.
58
59         The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
60         This change brings all such API calls under the guard.
61         
62         * WebCoreSupport/WebInspectorClient.cpp:
63         * WebInspector.cpp:
64         * WebNodeHighlight.cpp:
65         (WebNodeHighlight::WebNodeHighlight):
66         (WebNodeHighlight::update):
67         * WebNodeHighlight.h:
68         (WebNodeHighlight):
69         * WebView.cpp:
70         (WebView::WebView):
71         (WebView::close):
72         (WebView::initWithFrame):
73         (WebView::inspector):
74         * WebView.h:
75         (WebView):
76
77 2012-03-30  Mark Pilgrim  <pilgrim@chromium.org>
78
79         GEOLOCATION should be implemented as Page Supplement
80         https://bugs.webkit.org/show_bug.cgi?id=82228
81
82         Reviewed by Adam Barth.
83
84         Geolocation is now a Supplement in Page so the interface
85         has changed for setting up the page's geolocation client
86         initially and accessing the controller later.
87
88         * WebView.cpp:
89         (WebView::initWithFrame):
90         (WebView::geolocationDidChangePosition):
91         (WebView::geolocationDidFailWithError):
92
93 2012-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
94
95         Unreviewed, rolling out r112553.
96         http://trac.webkit.org/changeset/112553
97         https://bugs.webkit.org/show_bug.cgi?id=82638
98
99         It made all tests crash on Qt WK2 (Requested by Ossy_away on
100         #webkit).
101
102         * WebView.cpp:
103         (WebView::initWithFrame):
104         (WebView::geolocationDidChangePosition):
105         (WebView::geolocationDidFailWithError):
106
107 2012-03-29  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
108
109         HashMap<>::add should return a more descriptive object
110         https://bugs.webkit.org/show_bug.cgi?id=71063
111
112         Reviewed by Ryosuke Niwa.
113
114         Update code to use AddResult instead of a pair.
115
116         * WebKitCOMAPI.cpp:
117         (classFactory):
118
119 2012-03-29  Mark Pilgrim  <pilgrim@chromium.org>
120
121         GEOLOCATION should be implemented as Page Supplement
122         https://bugs.webkit.org/show_bug.cgi?id=82228
123
124         Reviewed by Adam Barth.
125
126         Geolocation is now a Supplement in Page so the interface
127         has changed for setting up the page's geolocation client
128         initially and accessing the controller later.
129
130         * WebView.cpp:
131         (WebView::initWithFrame):
132         (WebView::geolocationDidChangePosition):
133         (WebView::geolocationDidFailWithError):
134
135 2012-03-28  Nate Chapin  <japhet@chromium.org>
136
137         Remove dispatchDidLoadMainResource callback, since no
138         port implements it.
139         https://bugs.webkit.org/show_bug.cgi?id=82539
140
141         Reviewed by Alexey Proskuryakov.
142
143         * WebCoreSupport/WebFrameLoaderClient.cpp:
144         * WebCoreSupport/WebFrameLoaderClient.h:
145         (WebFrameLoaderClient):
146
147 2012-03-26  Adam Barth  <abarth@webkit.org>
148
149         FrameLoader::shouldAllowNavigation uses Frame for context rather than Document
150         https://bugs.webkit.org/show_bug.cgi?id=81020
151
152         Reviewed by Eric Seidel.
153
154         Update call site to new function name.
155
156         * WebFrame.cpp:
157         (WebFrame::dispatchWillSubmitForm):
158
159 2012-03-22  Anders Carlsson  <andersca@apple.com>
160
161         ASSERT(!needsLayout) in RenderView.cpp when visiting http://www.panic.com/blog/
162         https://bugs.webkit.org/show_bug.cgi?id=81953
163         <rdar://problem/11086998>
164
165         Reviewed by Sam Weinig.
166
167         Update for changes to WebCore.
168
169         * FullscreenVideoController.cpp:
170         (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles):
171
172 2012-03-20  Steve Falkenburg  <sfalken@apple.com>
173
174         Move WTF-related Windows project files out of JavaScriptCore
175         https://bugs.webkit.org/show_bug.cgi?id=80680
176
177         Reviewed by Jessie Berlin.
178
179         * WebKit.vcproj/WebKit.sln:
180
181 2012-03-20  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
182
183         Convert hasSpellingMarker to use Internals interface.
184         https://bugs.webkit.org/show_bug.cgi?id=81300
185
186         Reviewed by Ryosuke Niwa.
187
188         Remove hasSpellingMarker interface support, since it can support in the cross-port
189         way through the Internals interface.
190
191         * Interfaces/IWebFramePrivate.idl:
192
193 2012-03-19  Adam Barth  <abarth@webkit.org>
194
195         Remove support for "magic" iframe
196         https://bugs.webkit.org/show_bug.cgi?id=81590
197
198         Reviewed by Eric Seidel.
199
200         Remove FrameLoaderClient methods that no longer exist.
201
202         * WebCoreSupport/WebFrameLoaderClient.cpp:
203         * WebCoreSupport/WebFrameLoaderClient.h:
204         (WebFrameLoaderClient):
205
206 2012-03-19  Anders Carlsson  <andersca@apple.com>
207
208         Fix Windows build.
209
210         * FullscreenVideoController.cpp:
211         (FullscreenVideoController::LayerClient::platformCALayerDeviceScaleFactor):
212
213 2012-03-13  Jon Lee  <jonlee@apple.com>
214
215         Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
216         https://bugs.webkit.org/show_bug.cgi?id=80922
217         <rdar://problem/11035082>
218
219         Reviewed by Jian Li.
220
221         You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
222         LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
223         new API. Therefore, APIs that are common between the two will have:
224         #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
225
226         This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
227         the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
228
229         Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
230         * WebCoreSupport/WebChromeClient.cpp:
231         (WebChromeClient::WebChromeClient):
232         * WebCoreSupport/WebChromeClient.h:
233         (WebChromeClient):
234         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
235         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
236
237 2012-03-13  Adam Barth  <abarth@webkit.org> && Benjamin Poulain  <bpoulain@apple.com>
238
239         Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
240         https://bugs.webkit.org/show_bug.cgi?id=78853
241
242         Reviewed by Adam Barth.
243
244         * WebCoreSupport/WebChromeClient.h:
245         (WebChromeClient):
246         * WebCoreSupport/WebGeolocationClient.cpp:
247         (WebGeolocationClient::lastPosition):
248         * WebGeolocationPosition.cpp:
249         (WebGeolocationPosition::initWithTimestamp):
250         (core):
251         * WebGeolocationPosition.h:
252         (WebGeolocationPosition):
253         (WebGeolocationPosition::impl):
254         * WebView.cpp:
255         (WebView::initWithFrame):
256         (WebView::geolocationDidChangePosition):
257         (WebView::geolocationDidFailWithError):
258
259 2012-03-12  Jessie Berlin  <jberlin@apple.com>
260
261         More Windows build fixing.
262
263         * MarshallingHelpers.cpp:
264         * WebDatabaseManager.cpp:
265
266 2012-03-09  Jon Lee  <jonlee@apple.com>
267
268         Rename NotificationPresenter to NotificationClient
269         https://bugs.webkit.org/show_bug.cgi?id=80488
270         <rdar://problem/10965558>
271
272         Reviewed by Kentaro Hara.
273
274         Refactor to use renamed WebCore::NotificationClient.
275         * WebCoreSupport/WebChromeClient.h:
276         (WebChromeClient::notificationPresenter):
277         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
278         (WebDesktopNotificationsDelegate::checkPermission):
279         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
280         (WebDesktopNotificationsDelegate):
281
282 2012-03-09  Emil A Eklund  <eae@chromium.org>
283
284         Add roundedPoint to HitTestResult and change platform code to use it
285         https://bugs.webkit.org/show_bug.cgi?id=80715
286
287         Reviewed by James Robinson.
288
289         Change ports to use roundedPoint to avoid exposing subpixel types to
290         platform code.
291
292         * WebView.cpp:
293         (WebView::handleContextMenuEvent):
294
295 2012-03-08  Steve Falkenburg  <sfalken@apple.com>
296
297         Separate WTF parts of JavaScriptCoreGenerated into WTFGenerated for Windows build
298         https://bugs.webkit.org/show_bug.cgi?id=80657
299
300         Preparation for WTF separation from JavaScriptCore.
301         The "Generated" vcproj files on Windows are necessary so Visual Studio can calculate correct
302         dependencies for generated files.
303
304         Reviewed by Jessie Berlin.
305
306         * WebKit.vcproj/WebKit.sln: Add WTFGenerated, update dependent projects.
307
308 2012-03-03  Benjamin Poulain  <benjamin@webkit.org>
309
310         Remove the redundant method KURL::protocolInHTTPFamily()
311         https://bugs.webkit.org/show_bug.cgi?id=80216
312
313         Reviewed by Anders Carlsson.
314
315         * WebCoreSupport/WebFrameLoaderClient.cpp:
316         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
317         * WebHistory.cpp:
318         (WebHistory::visitedURL):
319
320 2012-02-26  Hajime Morrita  <morrita@chromium.org>
321
322         Move ChromeClient::showContextMenu() to ContextMenuClient
323         https://bugs.webkit.org/show_bug.cgi?id=79427
324
325         Reviewed by Adam Barth.
326
327         * WebCoreSupport/WebChromeClient.h:
328         (WebChromeClient):
329
330 2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
331
332         SpellCheckRequest needs to know the context where the spellcheck happened.
333         https://bugs.webkit.org/show_bug.cgi?id=79320
334
335         Reviewed by Hajime Morita.
336
337         * WebCoreSupport/WebEditorClient.h:
338         (WebEditorClient::requestCheckingOfString):
339         (WebEditorClient):
340
341 2012-02-21  Ryosuke Niwa  <rniwa@webkit.org>
342
343         Remove the remaining uses of CSSStyleDeclaration in Editor
344         https://bugs.webkit.org/show_bug.cgi?id=78939
345
346         Reviewed by Enrica Casucci.
347
348         * WebCoreSupport/WebEditorClient.cpp:
349         (WebEditorClient::shouldApplyStyle):
350         * WebCoreSupport/WebEditorClient.h:
351         (WebEditorClient):
352
353 2012-02-22  Ryosuke Niwa  <rniwa@webkit.org>
354
355         Remove the remaining uses of CSSStyleDeclaration in Editor
356         https://bugs.webkit.org/show_bug.cgi?id=78939
357
358         Reviewed by Enrica Casucci.
359
360         * WebCoreSupport/WebEditorClient.cpp:
361         (WebEditorClient::shouldApplyStyle):
362         * WebCoreSupport/WebEditorClient.h:
363         (WebEditorClient):
364
365 2012-02-17  Kalev Lember  <kalevlember@gmail.com>
366
367         Remove unused parameters from WTF threading API
368         https://bugs.webkit.org/show_bug.cgi?id=78389
369
370         Reviewed by Adam Roben.
371
372         waitForThreadCompletion() had an out param 'void **result' to get the
373         'void *' returned by ThreadFunction. However, the implementation in
374         ThreadingWin.cpp ignored the out param, not filling it in. This had
375         led to a situation where none of the client code made use of the param
376         and just ignored it.
377
378         To clean this up, the patch changes the signature of ThreadFunction to
379         return void instead of void* and drops the the unused 'void **result'
380         parameter from waitForThreadCompletion. Also, all client code is
381         updated for the API change.
382
383         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=78389 , even
384         though the change only affects internal API, Safari is using it
385         directly and we'll need to keep the old versions around for ABI
386         compatibility. For this, the patch adds compatibility wrappers with
387         the old ABI.
388
389         * WebKit.vcproj/WebKit_Cairo.def: Add the new functions.
390         * WebKit.vcproj/WebKit_Cairo_debug.def: Ditto.
391
392 2012-02-15  Sadrul Habib Chowdhury  <sadrul@chromium.org>
393
394         Notify ChromeClient when touch-event handlers are installed/removed.
395         https://bugs.webkit.org/show_bug.cgi?id=77440
396
397         Reviewed by Darin Fisher and Ryosuke Niwa.
398
399         * WebCoreSupport/WebChromeClient.h:
400         (WebChromeClient::numTouchEventHandlersChanged):
401
402 2012-02-14  Alexey Proskuryakov  <ap@apple.com>
403
404         [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets
405         https://bugs.webkit.org/show_bug.cgi?id=78541
406         <rdar://problem/10036695>
407
408         Reviewed by Kent Tamura.
409
410         * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default value of
411         the preference
412
413 2012-02-11  Nikolas Zimmermann  <nzimmermann@rim.com>
414
415         Convert svg/animations to use SMIL methods for driving the timeline
416         https://bugs.webkit.org/show_bug.cgi?id=78422
417
418         Reviewed by Dirk Schulze.
419
420         Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
421         Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
422
423         * Interfaces/IWebFramePrivate.idl:
424         * WebFrame.cpp:
425         * WebFrame.h:
426
427 2012-02-13  Andy Estes  <aestes@apple.com>
428
429         Fix the Windows build.
430
431         * WebCoreSupport/WebPlatformStrategies.cpp:
432         (WebPlatformStrategies::createPasteboardStrategy):
433         * WebCoreSupport/WebPlatformStrategies.h:
434         (WebPlatformStrategies):
435
436 2012-02-12  Andy Estes  <aestes@apple.com>
437
438         [Windows] Add API to enable inverted color drawing on a WebView
439         https://bugs.webkit.org/show_bug.cgi?id=77382
440
441         Reviewed by Adam Roben.
442
443         Add a new private WebPreference key called "WebKitShouldInvertColors"
444         and add private cover methods to get and set the preference. When this
445         preference changes on a WebPreference object, all WebViews listening to
446         that object will repaint to reflect the new value.
447
448         * Interfaces/IWebPreferencesPrivate.idl: Add [setS|s]houldInvertColors()
449         cover methods for WebKitShouldInvertColorsPreferenceKey.
450         * WebPreferenceKeysPrivate.h: Add WebKitShouldInvertColorsPreferenceKey.
451         * WebPreferences.cpp:
452         (WebPreferences::shouldInvertColors):
453         (WebPreferences::setShouldInvertColors):
454         * WebPreferences.h:
455         (WebPreferences):
456         * WebView.cpp:
457         (WebView::setShouldInvertColors): If m_shouldInvertColors changes,
458         update the value on the WebView and in m_layerTreeHost, then repaint
459         the view.
460         (WebView::notifyPreferencesChanged):
461         (WebView::setAcceleratedCompositing): When creating a new layer tree
462         host, tell it whether it should be inverting colors.
463         * WebView.h:
464
465 2012-02-07  MORITA Hajime  <morrita@google.com>
466
467         Replacement text should be available from the marker.
468         https://bugs.webkit.org/show_bug.cgi?id=77934
469
470         Reviewed by Kent Tamura.
471
472         * WebKit.vcproj/WebKit_Cairo.def:
473         * WebKit.vcproj/WebKit_Cairo_debug.def:
474
475 2012-02-02  Jon Lee  <jonlee@apple.com>
476
477         Clear shown notifications when context is no longer active
478         https://bugs.webkit.org/show_bug.cgi?id=77363
479         <rdar://problem/10568907>
480
481         Reviewed by Darin Adler.
482
483         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
484         (WebDesktopNotificationsDelegate): Add previously missing virtual functions.
485         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
486         (WebDesktopNotificationsDelegate::notificationControllerDestroyed):
487         (WebDesktopNotificationsDelegate::cancelRequestsForPermission):
488
489 2012-02-01  Anders Carlsson  <andersca@apple.com>
490
491         Another attempt to fix the Windows build.
492
493         * FullscreenVideoController.cpp:
494         (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles):
495
496 2012-01-26  Andy Estes  <aestes@apple.com>
497
498         [Windows] Optionally invert colors when drawing to a WebView's backing store.
499         https://bugs.webkit.org/show_bug.cgi?id=77168
500
501         Reviewed by Sam Weinig.
502
503         * WebView.cpp:
504         (WebView::WebView): Initialize m_shouldInvertColors to false.
505         (WebView::paintIntoBackingStore): If m_shouldInvertColors is true, draw
506         an opaque white quad using the CompositeDifference blend mode. This
507         blend operation instructs CoreGraphics to take the difference between
508         the source pixel (white) and the background pixel, resulting in an
509         inverted pixel.
510         * WebView.h: Define m_shouldInvertColors.
511
512 2012-01-23  Simon Fraser  <simon.fraser@apple.com>
513
514         Show layer borders for scrollbar layers
515         https://bugs.webkit.org/show_bug.cgi?id=76888
516
517         Reviewed by Beth Dakin.
518
519         Update for new signature of GraphicsLayerClient::showDebugBorders()
520         and GraphicsLayerClient::showRepaintCounter().
521
522         * WebView.cpp:
523         (WebView::showDebugBorders):
524         (WebView::showRepaintCounter):
525         * WebView.h:
526
527 2012-01-23  David Levin  <levin@chromium.org>
528
529         [windows] Convert usages of GetDC to HWndDC Part 2.
530         https://bugs.webkit.org/show_bug.cgi?id=76750
531
532         Reviewed by Adam Roben.
533
534         * FullscreenVideoController.cpp:
535         (createCompatibleDCForWindow): Moved out the code which creates a DC for a window
536         to keep the same scope for the DC lifetime.
537         (FullscreenVideoController::draw):  Switch to using OwnPtr<HDC>
538         since createCompatibleDCForWindow returns a PassOwnPtr.
539         * WebNodeHighlight.cpp:
540         (WebNodeHighlight::update): 
541           Cleaned up leaks from calling GetDC without release.
542           Note that there is a potential leak of hdc that previously existed
543           and still does in an early exit scenario. (This could be easily fixed
544           by using OwnPtr<HDC> but I was trying to keep this patch focused.)
545         * WebView.cpp:
546         (WebView::scrollBackingStore): Typical conversion.
547         (WebView::updateBackingStore): Reduced the scope of windowDC to be
548         right where it is being used.
549         (WebView::performLayeredWindowUpdate): Typical conversion.
550         (WebView::paintIntoBackingStore): Ditto.
551
552 2012-01-23  David Levin  <levin@chromium.org>
553
554         [windows] Convert usages of GetDC to HWndDC Part 1.
555         https://bugs.webkit.org/show_bug.cgi?id=76744
556
557         Reviewed by Adam Roben.
558
559         * WebIconDatabase.cpp:
560         (createDIB): Changed GetDC to HWndDC and removed ReleaseDC.
561
562 2012-01-07  Andreas Kling  <awesomekling@apple.com>
563
564         Windows build fix.
565
566         * DOMHTMLClasses.cpp:
567         (DOMHTMLDocument::forms):
568         (DOMHTMLSelectElement::options):
569
570 2012-01-06  Jessie Berlin  <jberlin@apple.com>
571
572         Windows build fix.
573
574         * Interfaces/IWebViewPrivate.idl:
575
576 2012-01-05  Adam Roben  <aroben@apple.com>
577
578         Add WebKitTestRunnerLauncher to WebKit.sln.
579
580         It builds just after WebKitTestRunner.
581
582         Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's
583         Windows port of DumpRenderTree/WebKitTestRunner
584
585         Reviewed by Steve Falkenburg.
586
587         * WebKit.vcproj/WebKit.sln:
588
589 2012-01-05  Adam Roben  <aroben@apple.com>
590
591         Add DumpRenderTreeLauncher to WebKit.sln.
592
593         It builds just after DumpRenderTree.
594
595         Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's
596         Windows port of DumpRenderTree/WebKitTestRunner
597
598         Reviewed by Steve Falkenburg.
599
600         * WebKit.vcproj/WebKit.sln:
601
602 2012-01-04  Adam Roben  <aroben@apple.com>
603
604         Add ImageDiffLauncher to WebKit.sln
605
606         It builds just after ImageDiff.
607
608         Part of <http://webkit.org/b/75572> ImageDiff.exe can't be run without first munging PATH
609
610         Reviewed by Anders Carlsson.
611
612         * WebKit.vcproj/WebKit.sln:
613
614 2012-01-04  Adam Roben  <aroben@apple.com>
615
616         Add MiniBrowserLauncher to WebKit.sln
617
618         It builds just after MiniBrowser.
619
620         Part of <http://webkit.org/b/68576> <rdar://problem/10163853> MiniBrowser fails to launch
621         when double-clicked
622
623         Reviewed by Anders Carlsson.
624
625         * WebKit.vcproj/WebKit.sln: Added MiniBrowserLauncher.
626
627 2012-01-04  Adam Roben  <aroben@apple.com>
628
629         Add WinLauncherLauncher to WebKit.sln
630
631         It builds just after WinLauncher.
632
633         Part of <http://webkit.org/b/68578> <rdar://problem/10163861> WinLauncher fails to launch
634         when double-clicked
635
636         Reviewed by Anders Carlsson.
637
638         * WebKit.vcproj/WebKit.sln: Added WinLauncherLauncher.
639
640 2011-12-21  Jessie Berlin  <jberlin@apple.com>
641
642         Expose to Windows the way to allow a scheme access to Local Storage and Databases while
643         Private Browsing is enabled.
644         https://bugs.webkit.org/show_bug.cgi?id=75056
645
646         Reviewed by Sam Weinig.
647
648         Add the Windows WebKit API that corresponds to the Mac one added in r99439.
649
650         * WebView.cpp:
651         (WebView::registerURLSchemeAsSecure):
652         (WebView::registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing):
653         (WebView::registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing):
654         * WebView.h:
655
656 2011-12-20  Pavel Feldman  <pavel.feldman@gmail.com>
657
658         Web Inspector: reproducible crash after closing web inspector and browser window  (iCab)
659         https://bugs.webkit.org/show_bug.cgi?id=74255
660
661         Reviewed by Yury Semikhatsky.
662
663         * WebCoreSupport/WebInspectorClient.cpp:
664         (WebInspectorClient::~WebInspectorClient):
665         (WebInspectorFrontendClient::destroyInspectorView):
666         * WebCoreSupport/WebInspectorClient.h:
667
668 2011-12-19  Sam Weinig  <sam@webkit.org>
669
670         More PlatformEvent cleanup
671         https://bugs.webkit.org/show_bug.cgi?id=74831
672
673         Reviewed by Dan Bernstein.
674
675         * WebView.cpp:
676         (WebView::handleMouseEvent):
677         Update to use new names, access style.
678
679 2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
680
681         Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
682         https://bugs.webkit.org/show_bug.cgi?id=74748
683
684         Reviewed by Eric Seidel.
685
686         * WebCoreSupport/WebEditorClient.cpp:
687         (WebEditorClient::registerUndoStep):
688         (WebEditorClient::registerRedoStep):
689         * WebCoreSupport/WebEditorClient.h:
690
691 2011-12-16  Sam Weinig  <sam@webkit.org>
692
693         Give PlatformEvents a base class
694         https://bugs.webkit.org/show_bug.cgi?id=74685
695
696         Reviewed by Anders Carlsson.
697
698         Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
699         and PlatformGestureEvent and move Type enumeration and modifiers down to it.
700
701         * AccessibleBase.cpp:
702         (AccessibleBase::get_accKeyboardShortcut):
703         * WebDropSource.cpp:
704         (generateMouseEvent):
705         * WebView.cpp:
706         (WebView::keyUp):
707         (WebView::handleEditingKeyboardEvent):
708         (WebView::keyDown):
709         (WebView::keyPress):
710
711 2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
712
713         Only EditCommandComposition should implement unapply and reapply
714         https://bugs.webkit.org/show_bug.cgi?id=74490
715
716         Reviewed by Eric Seidel.
717
718         * WebCoreSupport/WebEditorClient.cpp:
719         (WebEditorUndoCommand::WebEditorUndoCommand):
720         (WebEditorUndoCommand::execute):
721         (WebEditorClient::registerCommandForUndo):
722         (WebEditorClient::registerCommandForRedo):
723         * WebCoreSupport/WebEditorClient.h:
724
725 2011-12-14  Jing Zhao  <jingzhao@chromium.org>
726
727         Opening two popup menus by dispatchEvent() makes problems.
728         https://bugs.webkit.org/show_bug.cgi?id=73304
729
730         Reviewed by Kent Tamura.
731
732         * WebCoreSupport/WebChromeClient.cpp:
733         (WebChromeClient::hasOpenedPopup): Not implemented.
734         * WebCoreSupport/WebChromeClient.h: Overrides hasOpenedPopup().
735
736 2011-12-14  Sam Weinig  <weinig@apple.com>
737
738         Remove whitespace from InheritedPropertySheets attributes in
739         vsprops files to appease the Visual Studio project migrator.
740
741         Reviewed by Adam Roben.
742
743         * WebKit.vcproj/InterfacesDebug.vsprops:
744         * WebKit.vcproj/InterfacesDebugAll.vsprops:
745         * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops:
746         * WebKit.vcproj/InterfacesProduction.vsprops:
747         * WebKit.vcproj/InterfacesRelease.vsprops:
748         * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
749         * WebKit.vcproj/WebKitGUIDDebug.vsprops:
750         * WebKit.vcproj/WebKitGUIDDebugAll.vsprops:
751         * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops:
752         * WebKit.vcproj/WebKitGUIDProduction.vsprops:
753         * WebKit.vcproj/WebKitGUIDRelease.vsprops:
754         * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
755         * WebKit.vcproj/WebKitLibDebug.vsprops:
756         * WebKit.vcproj/WebKitLibDebugAll.vsprops:
757         * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops:
758         * WebKit.vcproj/WebKitLibProduction.vsprops:
759         * WebKit.vcproj/WebKitLibRelease.vsprops:
760         * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:
761
762 2011-12-07  Mary Wu  <mary.wu@torchmobile.com.cn>
763
764         Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
765         https://bugs.webkit.org/show_bug.cgi?id=73986
766
767         Reviewed by Kenneth Rohde Christiansen.
768
769         * WebView.cpp:
770         (WebView::initWithFrame):
771
772 2011-12-05  Eric Carlson  <eric.carlson@apple.com>
773
774         WebKit/mac part of: Add WebKit preferences for text track settings
775         https://bugs.webkit.org/show_bug.cgi?id=73721
776
777         Reviewed by John Sullivan.
778
779         * Interfaces/IWebPreferences.idl: Declare getters and setters for new properties.
780
781         * WebPreferenceKeysPrivate.h: Added #define for shouldDisplaySubtitles, shouldDisplayCaptions, 
782         and shouldDisplayTextDescriptions properties.
783
784         * WebPreferences.cpp:
785         (WebPreferences::setShouldDisplaySubtitles): Added.
786         (WebPreferences::shouldDisplaySubtitles): Ditto.
787         (WebPreferences::setShouldDisplayCaptions): Ditto.
788         (WebPreferences::shouldDisplayCaptions): Ditto.
789         (WebPreferences::setShouldDisplayTextDescriptions): Ditto.
790         (WebPreferences::shouldDisplayTextDescriptions): Ditto.
791         * WebPreferences.h: Declare new methods.
792
793         * WebView.cpp:
794         (WebView::notifyPreferencesChanged): Updates WebCore settings from WebKit prefs.
795
796 2011-12-02  Steve Falkenburg  <sfalken@apple.com>
797
798         Reviewed by Darin Adler.
799
800         Changes to localStorageDatabasePath don't have any effect on Windows
801         https://bugs.webkit.org/show_bug.cgi?id=73606
802         <rdar://problem/10491296>
803
804         * WebView.cpp:
805         (WebView::notifyPreferencesChanged): Propagate local storage path change to m_page's settings.
806
807 2011-11-30  Alexey Proskuryakov  <ap@apple.com>
808
809         Remove an unneeded argument from FrameLoaderClient::download
810         https://bugs.webkit.org/show_bug.cgi?id=73486
811
812         Reviewed by Andreas Kling.
813
814         * WebFrame.cpp:
815         (WebFrame::download):
816         * WebFrame.h:
817         Updated for the change.
818
819 2011-11-26  Pavel Feldman  <pfeldman@google.com>
820
821         Web Inspector: remove disconnectFromBackend from the protocol.
822         https://bugs.webkit.org/show_bug.cgi?id=73127
823
824         Reviewed by Yury Semikhatsky.
825
826         * WebCoreSupport/WebInspectorClient.cpp:
827         (WebInspectorClient::inspectorDestroyed):
828         (WebInspectorClient::closeInspectorFrontend):
829         * WebCoreSupport/WebInspectorClient.h:
830
831 2011-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
832
833         Unreviewed, rolling out r101193.
834         http://trac.webkit.org/changeset/101193
835         https://bugs.webkit.org/show_bug.cgi?id=73158
836
837         Breaks Windows and Qt minimal. (Requested by pfeldman on
838         #webkit).
839
840         * WebCoreSupport/WebInspectorClient.cpp:
841         (WebInspectorClient::inspectorDestroyed):
842         (WebInspectorFrontendClient::disconnectFromBackend):
843         * WebCoreSupport/WebInspectorClient.h:
844
845 2011-11-26  Pavel Feldman  <pfeldman@google.com>
846
847         Web Inspector: remove disconnectFromBackend from the protocol.
848         https://bugs.webkit.org/show_bug.cgi?id=73127
849
850         Reviewed by Yury Semikhatsky.
851
852         * WebCoreSupport/WebInspectorClient.cpp:
853         (WebInspectorClient::inspectorDestroyed):
854         (WebInspectorClient::closeInspectorFrontend):
855         * WebCoreSupport/WebInspectorClient.h:
856
857 2011-11-22  Pavel Feldman  <pfeldman@google.com>
858
859         Web Inspector: remove Inspector::bringToFront from the protocol.
860         https://bugs.webkit.org/show_bug.cgi?id=72937
861
862         Reviewed by Yury Semikhatsky.
863
864         * WebCoreSupport/WebInspectorClient.cpp:
865         (WebInspectorClient::bringFrontendToFront):
866         * WebCoreSupport/WebInspectorClient.h:
867
868 2011-11-21  Pavel Feldman  <pfeldman@google.com>
869
870         Not reviewed: an attempt to fix windows build.
871
872         * WebInspector.cpp:
873         (WebInspector::isJavaScriptProfilingEnabled):
874         (WebInspector::setJavaScriptProfilingEnabled):
875
876 2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
877
878         Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
879         https://bugs.webkit.org/show_bug.cgi?id=62985
880
881         Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
882         methods for plumbing the menu action handlers through the WebKit and WebCore.
883         I intend to remove this menu support from the protocol and WebCore/InspectorController API.
884         I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
885         WebKit/win and WebKit2 to follow.
886
887         Reviewed by Yury Semikhatsky.
888
889         * WebInspector.cpp:
890         (WebInspector::createInstance):
891         (WebInspector::WebInspector):
892         (WebInspector::webViewClosed):
893         (WebInspector::showConsole):
894         (WebInspector::isDebuggingJavaScript):
895         (WebInspector::toggleDebuggingJavaScript):
896         (WebInspector::isProfilingJavaScript):
897         (WebInspector::toggleProfilingJavaScript):
898         (WebInspector::isJavaScriptProfilingEnabled):
899         (WebInspector::setJavaScriptProfilingEnabled):
900         (WebInspector::isTimelineProfilingEnabled):
901         (WebInspector::setTimelineProfilingEnabled):
902         * WebInspector.h:
903         * WebView.cpp:
904         (WebView::WebView):
905         (WebView::close):
906         (WebView::initWithFrame):
907         (WebView::inspector):
908         * WebView.h:
909
910 2011-10-17  Antonio Gomes  <agomes@rim.com>
911
912         Pass a Frame* parameter in EditorClient::respondToChangedSelection
913         https://bugs.webkit.org/show_bug.cgi?id=70248
914
915         Reviewed by Ryosuke Niwa.
916
917         * WebCoreSupport/WebEditorClient.cpp: Make use of the newly added Frame* parameter.
918         (WebEditorClient::respondToChangedSelection):
919         * WebCoreSupport/WebEditorClient.h:
920
921 2011-11-15  Jochen Eisinger  <jochen@chromium.org>
922
923         Rename ReferrerPolicy to clarify its meaning
924         https://bugs.webkit.org/show_bug.cgi?id=72420
925
926         Reviewed by Nate Chapin.
927
928         * WebCoreSupport/WebContextMenuClient.cpp:
929         (WebContextMenuClient::searchWithGoogle):
930
931 2011-11-15  Anders Carlsson  <andersca@apple.com>
932
933         HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
934         https://bugs.webkit.org/show_bug.cgi?id=72397
935
936         Reviewed by Dan Bernstein.
937
938         * WebCoreSupport/WebChromeClient.cpp:
939         (WebChromeClient::rootViewToScreen):
940         (WebChromeClient::screenToRootView):
941         * WebCoreSupport/WebChromeClient.h:
942
943 2011-11-14  Anders Carlsson  <andersca@apple.com>
944
945         HostWindow invalidation functions should use root view coordinates
946         https://bugs.webkit.org/show_bug.cgi?id=72338
947
948         Reviewed by Dan Bernstein.
949
950         * WebCoreSupport/WebChromeClient.cpp:
951         (WebChromeClient::invalidateRootView):
952         (WebChromeClient::invalidateContentsAndRootView):
953         * WebCoreSupport/WebChromeClient.h:
954
955 2011-11-07  Adam Barth  <abarth@webkit.org>
956
957         Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
958         https://bugs.webkit.org/show_bug.cgi?id=71755
959
960         Reviewed by Eric Seidel.
961
962         * WebView.cpp:
963         (WebView::addOriginAccessWhitelistEntry):
964         (WebView::removeOriginAccessWhitelistEntry):
965         (WebView::resetOriginAccessWhitelists):
966
967 2011-11-07  Adam Barth  <abarth@webkit.org>
968
969         Move DomainRelaxationForbidden scheme registry to SchemeRegistry
970         https://bugs.webkit.org/show_bug.cgi?id=71750
971
972         Reviewed by Eric Seidel.
973
974         * WebView.cpp:
975         (WebView::setDomainRelaxationForbiddenForURLScheme):
976
977 2011-11-07  Beth Dakin  <bdakin@apple.com>
978
979         https://bugs.webkit.org/show_bug.cgi?id=71490
980         Support uiStateTransitionProgress for scrollbars
981         -and corresponding-
982         <rdar://problem/9849612>
983
984         Reviewed by Sam Weinig.
985
986         Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter.
987         * WebScrollBar.cpp:
988         (WebScrollBar::handleMouseEvent):
989
990 2011-11-02  Darin Adler  <darin@apple.com>
991
992         Change remaining callers of releaseRef to call leakRef
993         https://bugs.webkit.org/show_bug.cgi?id=71422
994
995         Reviewed by Darin Fisher.
996
997         * WebCache.cpp:
998         (WebCache::statistics):
999         * WebDatabaseManager.cpp:
1000         (WebDatabaseManager::origins):
1001         (WebDatabaseManager::databasesWithOrigin):
1002         * WebHistoryItem.cpp:
1003         (WebHistoryItem::redirectURLs):
1004         * WebKitClassFactory.cpp:
1005         (leakRefFromCreateInstance):
1006         (WebKitClassFactory::CreateInstance):
1007         * WebScriptWorld.cpp:
1008         (WebScriptWorld::standardWorld):
1009         Use leakRef.
1010
1011 2011-11-02  Jon Lee  <jonlee@apple.com>
1012
1013         Expand DragController to provide more information about the dragging session
1014         https://bugs.webkit.org/show_bug.cgi?id=71324
1015         <rdar://problem/10379175>
1016
1017         Reviewed by Darin Adler.
1018
1019         * WebView.cpp:
1020         (WebView::DragEnter): Minor refactoring because operation is stored in
1021         new DragSession struct.
1022         (WebView::DragOver): Ditto.
1023
1024 2011-11-02  Tom Sepez  <tsepez@chromium.org>
1025
1026         XSSAuditor is silent
1027         https://bugs.webkit.org/show_bug.cgi?id=70973
1028
1029         Reviewed by Adam Barth.
1030
1031         * WebCoreSupport/WebFrameLoaderClient.cpp:
1032         (WebFrameLoaderClient::didDetectXSS):
1033         * WebCoreSupport/WebFrameLoaderClient.h:
1034
1035 2011-10-28  Jochen Eisinger  <jochen@chromium.org>
1036
1037         Rename a number of methods mentioning JavaScript to just Script instead
1038         https://bugs.webkit.org/show_bug.cgi?id=71105
1039
1040         Reviewed by Adam Barth.
1041
1042         * WebFrame.cpp:
1043         (WebFrame::dispatchDidClearWindowObjectInWorld):
1044         * WebView.cpp:
1045         (WebView::notifyPreferencesChanged):
1046
1047 2011-10-24  Geoffrey Garen  <ggaren@apple.com>
1048
1049         Build fix: removed some cases of threadsafeCopy() that I missed in
1050         my previous patch.
1051
1052         * WebDatabaseManager.cpp:
1053         (DidModifyOriginData::dispatchToMainThread):
1054         * WebDownloadCFNet.cpp:
1055         (WebDownload::initToResumeWithBundle):
1056         * WebIconDatabase.cpp:
1057         (WebIconDatabase::didImportIconURLForPageURL):
1058
1059 2011-10-24  Ryosuke Niwa  <rniwa@webkit.org>
1060
1061         threadsafeCopy has been renamed to isolatedCopy.
1062
1063         * WebDatabaseManager.cpp:
1064         (DidModifyOriginData::dispatchToMainThread):
1065
1066 2011-10-24  Adam Barth  <abarth@webkit.org>
1067
1068         Attempt to fix Windows build by updating to the new interface.
1069
1070         * DOMEventsClasses.cpp:
1071         (DOMEvent::createInstance):
1072
1073 2011-10-18  Adam Barth  <abarth@webkit.org>
1074
1075         Always enable ENABLE(XPATH)
1076         https://bugs.webkit.org/show_bug.cgi?id=70217
1077
1078         Reviewed by Eric Seidel.
1079
1080         * Interfaces/DOMWindow.idl:
1081
1082 2011-10-14  Julien Chaffraix  <jchaffraix@webkit.org>
1083
1084         Remove layerX / layerY from the Windows API
1085         https://bugs.webkit.org/show_bug.cgi?id=70051
1086
1087         Reviewed by Darin Adler.
1088
1089         Renamed layerX to unused1 and layerY to unused2 to keep the
1090         binary compatibility.
1091
1092         * DOMEventsClasses.cpp:
1093         (DOMUIEvent::unused1):
1094         (DOMUIEvent::unused2):
1095         * DOMEventsClasses.h:
1096         (DOMKeyboardEvent::unused1):
1097         (DOMKeyboardEvent::unused2):
1098         (DOMMouseEvent::unused1):
1099         (DOMMouseEvent::unused2):
1100         (DOMWheelEvent::unused1):
1101         (DOMWheelEvent::unused2):
1102         * Interfaces/DOMEvents.idl:
1103
1104 2011-10-11  Simon Fraser  <simon.fraser@apple.com>
1105
1106         Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
1107         https://bugs.webkit.org/show_bug.cgi?id=68134
1108
1109         Reviewed by Darin Adler.
1110
1111         Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
1112         
1113         Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
1114         that reads the setting, and returns the mock theme if set. All callers now use
1115         theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
1116
1117         * WebScrollBar.cpp:
1118         (WebScrollBar::requestedWidth):
1119         (WebScrollBar::requestedHeight):
1120         * WebView.cpp:
1121         (WebView::WebViewWndProc):
1122
1123 2011-10-03  Anders Carlsson  <andersca@apple.com>
1124
1125         Remove custom scrollbar painting hooks
1126         https://bugs.webkit.org/show_bug.cgi?id=69163
1127
1128         Reviewed by Alexey Proskuryakov.
1129
1130         Remove now unused WebPreferences and ChromeClient overrides.
1131
1132         * Interfaces/IWebPreferences.idl:
1133         * WebCoreSupport/WebChromeClient.cpp:
1134         * WebCoreSupport/WebChromeClient.h:
1135         * WebPreferenceKeysPrivate.h:
1136         * WebPreferences.cpp:
1137         (WebPreferences::unused3):
1138         (WebPreferences::unused4):
1139         * WebPreferences.h:
1140         * WebView.cpp:
1141         (WebView::notifyPreferencesChanged):
1142
1143 2011-09-23  Adam Roben  <aroben@apple.com>
1144
1145         Remove WebKitAPITest
1146
1147         WebKit part of <http://webkit.org/b/66560> WebKitAPITest and TestWebKitAPI have duplicate
1148         functionality (and names!)
1149
1150         Reviewed by Anders Carlsson.
1151
1152         * WebKit.vcproj/WebKit.sln: Removed WebKitAPITest.vcproj. Changed WebKitLauncherWin, which
1153         formerly depended on WebKitAPITest, to now depend on DumpRenderTree, which WebKitAPITest
1154         depended on.
1155
1156 2011-09-24  Adam Barth  <abarth@webkit.org>
1157
1158         Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
1159         https://bugs.webkit.org/show_bug.cgi?id=68767
1160
1161         Reviewed by Eric Seidel.
1162
1163         * WebCoreSupport/WebChromeClient.cpp:
1164         (WebChromeClient::reachedApplicationCacheOriginQuota):
1165         * WebCoreSupport/WebChromeClient.h:
1166
1167 2011-09-22  Adam Roben  <aroben@apple.com>
1168
1169         Remove FindSafari from all our .sln files
1170
1171         It isn't used anymore, so there's no point in building it.
1172
1173         Part of <http://webkit.org/b/68628> Remove FindSafari
1174
1175         Reviewed by Steve Falkenburg.
1176
1177         * WebKit.vcproj/WebKit.sln: Also relinearized the build order while I was at it.
1178
1179 2011-09-22  Adam Roben  <aroben@apple.com>
1180
1181         Add testRegExp.vcproj to WebKit.sln
1182
1183         Fixes <http://webkit.org/b/68403> Windows bots don't build testRegExp.vcproj
1184
1185         Reviewed by Brian Weinstein.
1186
1187         * WebKit.vcproj/WebKit.sln: Added testRegExp. Made it build just after jsc, just like it
1188         does when built as part of JavaScriptCore.sln.
1189
1190 2011-09-21  Steve Falkenburg  <sfalken@apple.com>
1191
1192         Branch builds don't launch on Windows when run against trunk WebKit
1193         https://bugs.webkit.org/show_bug.cgi?id=68546
1194
1195         Reviewed by Darin Adler.
1196
1197         * Interfaces/IWebPreferences.idl: Swap avFoundation and pictographicFontFamily
1198         in IDL for binary compatibility between branch and trunk.
1199
1200 2011-09-21  Andras Becsi  <andras.becsi@nokia.com>
1201
1202         [Qt] Remove Qt specific code from css/SelectorChecker.cpp
1203         https://bugs.webkit.org/show_bug.cgi?id=67702
1204
1205         Reviewed by Csaba Osztrogonác.
1206
1207         * WebCoreSupport/WebPlatformStrategies.cpp: Modify to match new prototype.
1208         (WebPlatformStrategies::isLinkVisited):
1209         * WebCoreSupport/WebPlatformStrategies.h: Ditto.
1210
1211 2011-09-17  Mihai Parparita  <mihaip@chromium.org>
1212
1213         FrameLoaderClient BackForwardList-related methods are unsued
1214         https://bugs.webkit.org/show_bug.cgi?id=68293
1215
1216         Reviewed by Darin Adler.
1217
1218         Remove FrameLoaderClient methods that were added by r51629, since only        
1219         the old (since-deleted) Android port needed them.
1220
1221         * WebCoreSupport/WebFrameLoaderClient.cpp:
1222         * WebCoreSupport/WebFrameLoaderClient.h:
1223
1224 2011-09-15  Adam Barth  <abarth@webkit.org>
1225
1226         Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
1227         https://bugs.webkit.org/show_bug.cgi?id=68205
1228
1229         Reviewed by Eric Seidel.
1230
1231         * ForEachCoClass.h:
1232         * WebCoreSupport/WebChromeClient.cpp:
1233         * WebCoreSupport/WebChromeClient.h:
1234         * WebDatabaseManager.cpp:
1235         * WebDatabaseManager.h:
1236         * WebSecurityOrigin.cpp:
1237         (WebSecurityOrigin::usage):
1238         (WebSecurityOrigin::quota):
1239         (WebSecurityOrigin::setQuota):
1240         * WebView.cpp:
1241         (WebView::initWithFrame):
1242         (WebView::notifyPreferencesChanged):
1243
1244 2011-09-15  Kentaro Hara  <haraken@google.com>
1245
1246         A single line must not be split into two pages.
1247         https://bugs.webkit.org/show_bug.cgi?id=65005
1248
1249         Reviewed by David Hyatt.
1250
1251         When the document width of a page is overflowed, the last line of the page can be
1252         split into the next page. This is the regression caused by r88737. r88737 tried to
1253         fix rounding errors in rendering calculations by expanding and shrinking a page
1254         using one common method, resizePageRectsKeepingRatio(), but overlooked the case where
1255         a document width gets overflowed.
1256
1257         Test: printing/single-line-must-not-be-split-into-two-pages.html
1258
1259         * WebFrame.cpp:
1260         (WebFrame::setPrinting): Passes an original page size to setPrinting().
1261         (WebFrame::setInPrintingMode): Ditto.
1262         * WebFrame.h:
1263
1264 2011-09-06  Ryosuke Niwa  <rniwa@webkit.org>
1265
1266         Rename confirmCompositionWithoutDisturbingSelection to cancelComposition
1267         https://bugs.webkit.org/show_bug.cgi?id=67569
1268
1269         Reviewed by Antonio Gomes.
1270
1271         * WebView.cpp:
1272         (WebView::resetIME):
1273
1274 2011-08-29  Alexey Proskuryakov  <ap@apple.com>
1275
1276         DumpRenderTree should begin each test with an empty cookie store
1277         https://bugs.webkit.org/show_bug.cgi?id=63545
1278         <rdar://problem/5666907>
1279
1280         Reviewed by Darin Adler.
1281
1282         * WebCookieManagerCFNet.cpp:
1283         (WebCookieManager::cookieStorage):
1284         (WebCookieManager::setCookieStorage):
1285         Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage()
1286         returns an unretained reference, which we cannot provide any more, but it should not be a
1287         practical issue.
1288
1289         * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): Updated to use currentCFHTTPCookieStorage()
1290         instead of currentCookieStorage().
1291
1292 2011-08-30  Kaustubh Atrawalkar  <kaustubh@motorola.com>
1293
1294         The unused ScrollView* argument can and should be removed from
1295         scrollRectIntoView.
1296         https://bugs.webkit.org/show_bug.cgi?id=67117
1297
1298         Reviewed by Darin Adler.
1299
1300         * WebCoreSupport/WebChromeClient.h:
1301         (WebChromeClient::scrollRectIntoView):
1302
1303 2011-08-29  Ryosuke Niwa  <rniwa@webkit.org>
1304
1305         Move setInnerTextValue from RenderTextControl to HTMLTextFormControlElement
1306         https://bugs.webkit.org/show_bug.cgi?id=67152
1307
1308         Reviewed by Darin Adler.
1309
1310         Updated call sites of lastChangeWasUserEdit since it's moved from RenderTextControl
1311         to HTMLTextFormControlElement.
1312
1313         * DOMHTMLClasses.cpp:
1314         (DOMHTMLInputElement::isUserEdited):
1315         (DOMHTMLTextAreaElement::isUserEdited):
1316
1317 2011-08-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1318
1319         Unreviewed, rolling out r93987, r93992, r93995, r93998, and
1320         r93999.
1321         http://trac.webkit.org/changeset/93987
1322         http://trac.webkit.org/changeset/93992
1323         http://trac.webkit.org/changeset/93995
1324         http://trac.webkit.org/changeset/93998
1325         http://trac.webkit.org/changeset/93999
1326         https://bugs.webkit.org/show_bug.cgi?id=67147
1327
1328         Many failing tests (Requested by ap on #webkit).
1329
1330         * WebCookieManagerCFNet.cpp:
1331         (WebCookieManager::cookieStorage):
1332         (WebCookieManager::setCookieStorage):
1333         * WebView.cpp:
1334         (updateSharedSettingsFromPreferencesIfNeeded):
1335
1336 2011-08-29  Alexey Proskuryakov  <ap@apple.com>
1337
1338         Windows build fix.
1339
1340         * WebView.cpp:
1341         (updateSharedSettingsFromPreferencesIfNeeded):
1342         Updated for new function name and signature: currentCFHTTPCookieStorage().
1343
1344 2011-08-26  Alexey Proskuryakov  <ap@apple.com>
1345
1346         DumpRenderTree should begin each test with an empty cookie store
1347         https://bugs.webkit.org/show_bug.cgi?id=63545
1348         <rdar://problem/5666907>
1349
1350         Reviewed by Darin Adler.
1351
1352         * WebCookieManagerCFNet.cpp:
1353         (WebCookieManager::cookieStorage):
1354         (WebCookieManager::setCookieStorage):
1355         Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage()
1356         returns an unretained reference, which we cannot provide any more, but it should not be a
1357         practical issue.
1358
1359 2011-08-17  Adam Roben  <aroben@apple.com>
1360
1361         Make WebCore keep track of the current device scale factor
1362
1363         Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
1364         device scale factor
1365
1366         Reviewed by Darin Adler.
1367
1368         * WebCoreSupport/WebChromeClient.cpp:
1369         * WebCoreSupport/WebChromeClient.h:
1370         Removed deviceScaleFactor.
1371
1372 2011-08-15  Dmitry Titov  <dimich@chromium.org>
1373
1374         FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
1375         https://bugs.webkit.org/show_bug.cgi?id=66165
1376
1377         Reviewed by Darin Fisher.
1378
1379         * WebCoreSupport/WebFrameLoaderClient.cpp:
1380         (WebFrameLoaderClient::transferLoadingResourceFromPage):
1381         * WebCoreSupport/WebFrameLoaderClient.h:
1382
1383 2011-08-15  Adam Roben  <aroben@apple.com>
1384
1385         Touch a file to trigger a Windows build
1386
1387         I'm trying to ferret out some issues with our Debug builder.
1388
1389         * WebView.cpp: Sorted #includes.
1390
1391 2011-08-10  Adam Roben  <aroben@apple.com>
1392
1393         Clear up scale factor terminology
1394
1395         WebKit by and large deals with two scale factors: one intrinsic to the device on which the
1396         software is running, and one that is per-Page and can be controlled via API calls. This
1397         patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
1398         code use those names. It should introduce no behavior changes.
1399
1400         Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
1401         device scale factor
1402
1403         Reviewed by Simon Fraser.
1404
1405         * WebCoreSupport/WebChromeClient.cpp:
1406         * WebCoreSupport/WebChromeClient.h:
1407
1408 2011-08-13  Dan Bernstein  <mitz@apple.com>
1409
1410         Changed the value of WebKitShowsToolTipOverTruncatedTextPreferenceKey to match the naming everywhere else.
1411
1412         Reviewed by Joseph Pecoraro.
1413
1414         * WebPreferenceKeysPrivate.h:
1415
1416 2011-08-13  Dan Bernstein  <mitz@apple.com>
1417
1418         Build fix.
1419
1420         * WebView.cpp:
1421         (WebView::notifyPreferencesChanged):
1422
1423 2011-08-12  Dan Bernstein  <mitz@apple.com>
1424
1425         Add an option to automatically show tooltips (with the full text) over truncated text
1426         https://bugs.webkit.org/show_bug.cgi?id=66178
1427
1428         Reviewed by Simon Fraser.
1429
1430         * Interfaces/IWebPreferencesPrivate.idl: Added accessors.
1431         * WebPreferenceKeysPrivate.h: Defined a preference key.
1432         * WebPreferences.cpp:
1433         (WebPreferences::initializeDefaultSettings): Added a default value of
1434         false for the ShowsToolTipOverTruncatedText preference.
1435         (WebPreferences::showsToolTipOverTruncatedText): Added this getter.
1436         (WebPreferences::setShowsToolTipOverTruncatedText): Added this setter.
1437         * WebPreferences.h:
1438         * WebView.cpp:
1439         (WebView::notifyPreferencesChanged): Added call to Settings::setShowsToolTipOverTruncatedText().
1440
1441 2011-08-05  Brent Fulgham  <bfulgham@webkit.org>
1442
1443         WebView::performLayeredWindowUpdate() crashes with
1444         NULL pointer when using layered window updates.
1445         https://bugs.webkit.org/show_bug.cgi?id=60618
1446
1447         Reviewed by Adam Roben.
1448
1449         During resize operations, the backing store will be destroyed if
1450         the window's size (either height or width) is set to zero. The
1451         bug was identified when a user first resized a WebView to zero
1452         dimensions, then attempted to perform a MoveWindow. The paint
1453         message triggered by the MoveWindow attempted to use the layered
1454         window update logic, which encountered the nulled backing store.
1455
1456         * WebView.cpp:
1457         (WebView::performLayeredWindowUpdate): Add an early
1458          return when there is no backing store to blend with.
1459
1460 2011-08-05  Anders Carlsson  <andersca@apple.com>
1461
1462         Remove PluginHalter
1463         https://bugs.webkit.org/show_bug.cgi?id=65729
1464
1465         Reviewed by Darin Adler.
1466
1467         Remove plug-in halter and associated classes.
1468
1469         * Interfaces/IWebPluginHalterDelegate.idl: Removed.
1470         * Interfaces/IWebPreferencesPrivate.idl:
1471         * Interfaces/IWebViewPrivate.idl:
1472         * Interfaces/WebKit.idl:
1473         * WebCoreSupport/WebPluginHalterClient.cpp: Removed.
1474         * WebCoreSupport/WebPluginHalterClient.h: Removed.
1475         * WebKit.vcproj/Interfaces.vcproj:
1476         * WebKit.vcproj/WebKit.vcproj:
1477         * WebPreferenceKeysPrivate.h:
1478         * WebPreferences.cpp:
1479         (WebPreferences::initializeDefaultSettings):
1480         * WebPreferences.h:
1481         * WebView.cpp:
1482         (WebView::close):
1483         (WebView::initWithFrame):
1484         (WebView::notifyPreferencesChanged):
1485         (WebView::unused1):
1486         (WebView::unused2):
1487         (WebView::unused3):
1488         (WebView::unused4):
1489         (WebView::unused5):
1490         * WebView.h:
1491
1492 2011-08-04  Jeff Miller  <jeffm@apple.com>
1493
1494         Add support for setting and getting whether AVFoundation is enabled to IWebPreferences
1495         https://bugs.webkit.org/show_bug.cgi?id=65718
1496
1497         Reviewed by Adam Roben.
1498
1499         * Interfaces/IWebPreferences.idl: Added setAVFoundationEnabled() and avFoundationEnabled().
1500
1501         * WebPreferenceKeysPrivate.h: Added WebKitAVFoundationEnabledPreferenceKey.
1502
1503         * WebPreferences.cpp:
1504         (WebPreferences::avFoundationEnabled): Added.
1505         (WebPreferences::setAVFoundationEnabled): Added.
1506
1507         * WebPreferences.h: Added setAVFoundationEnabled() and avFoundationEnabled().
1508
1509         * WebView.cpp:
1510         (WebView::notifyPreferencesChanged): Keep settings for AVFoundation being enabled in sync.
1511
1512 2011-08-03  Kent Tamura  <tkent@chromium.org>
1513
1514         [Windows] Fix build without ENABLE_VIDEO.
1515
1516         * WebView.cpp:
1517         (WebView::enterFullscreenForNode):
1518
1519 2011-08-03  Kent Tamura  <tkent@chromium.org>
1520
1521         Fix incorrect checks for HTMLMediaElement
1522         https://bugs.webkit.org/show_bug.cgi?id=65590
1523
1524         Reviewed by Dimitri Glazkov.
1525
1526         <video> and <audio> can be an HTMLElement instance instead of
1527         HTMLMediaElement if MediaPlayer::isAvailable() returns false or
1528         the media feature is disabled at runtime.
1529
1530         * WebView.cpp:
1531         (WebView::enterFullscreenForNode):
1532
1533 2011-08-03  Joseph Pecoraro  <joepeck@webkit.org>
1534
1535         Web Inspector: Remove InspectorFrontendHost load/saveSessionSetting
1536         https://bugs.webkit.org/show_bug.cgi?id=65582
1537
1538         Reviewed by Pavel Feldman.
1539
1540         * WebCoreSupport/WebInspectorClient.cpp:
1541         * WebCoreSupport/WebInspectorClient.h:
1542
1543 2011-08-03  Adam Roben  <aroben@apple.com>
1544
1545         Windows nightly build fix after r91777
1546
1547         * Interfaces/IWebPreferences.idl: Moved [set]PictographFontFamily to the end of the
1548         interface to maintain binary compatibility with Safari 5.1.
1549
1550 2011-08-03  Pavel Feldman  <pfeldman@google.com>
1551
1552         Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
1553         https://bugs.webkit.org/show_bug.cgi?id=65510
1554
1555         Reviewed by Yury Semikhatsky.
1556
1557         * WebNodeHighlight.cpp:
1558         (WebNodeHighlight::update):
1559
1560 2011-08-03  Pavel Feldman  <pfeldman@chromium.org>
1561
1562         Web Inspector: remove Node parameter from the InspectorClient::highlight
1563         https://bugs.webkit.org/show_bug.cgi?id=65549
1564
1565         Reviewed by Yury Semikhatsky.
1566
1567         * WebCoreSupport/WebInspectorClient.cpp:
1568         (WebInspectorClient::highlight):
1569         * WebCoreSupport/WebInspectorClient.h:
1570
1571 2011-07-31  Daniel Bates  <dbates@webkit.org>
1572
1573         Attempt to fix the WinCairo Debug build after r92059 (https://bugs.webkit.org/show_bug.cgi?id=65419).
1574
1575         * WebKit.vcproj/WebKit_Cairo.def: Export some symbols.
1576         * WebKit.vcproj/WebKit_Cairo_debug.def: Ditto.
1577
1578 2011-07-30  Patrick Gansterer  <paroga@webkit.org>
1579
1580         Remove inclusion of MainThread.h from Threading.h
1581         https://bugs.webkit.org/show_bug.cgi?id=65081
1582
1583         Reviewed by Darin Adler.
1584
1585         Add missing include statements for MainThread.
1586
1587         * WebKitClassFactory.cpp:
1588         * WebView.cpp:
1589
1590 2011-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
1591
1592         Add support for download='filename' attribute in anchors.
1593         https://bugs.webkit.org/show_bug.cgi?id=64580
1594
1595         Reviewed by Adam Barth.
1596
1597         * WebFrame.cpp:
1598         (WebFrame::startDownload):
1599         * WebFrame.h:
1600
1601 2011-07-26  Dan Bernstein  <mitz@apple.com>
1602
1603         <rdar://problem/9842889> Add a generic pictograph font family
1604         https://bugs.webkit.org/show_bug.cgi?id=65197
1605
1606         Reviewed by Anders Carlsson.
1607
1608         * Interfaces/IWebPreferences.idl: Added pictographFontFamily() and
1609         setPictographFontFamily().
1610         * WebPreferenceKeysPrivate.h: Added WebKitPictographFontPreferenceKey.
1611         * WebPreferences.cpp:
1612         (WebPreferences::initializeDefaultSettings): Initialize the pictograph font
1613         preference to "Times New Roman".
1614         (WebPreferences::pictographFontFamily): Added this getter.
1615         (WebPreferences::setPictographFontFamily): Added this setter.
1616         * WebPreferences.h:
1617         * WebView.cpp:
1618         (WebView::notifyPreferencesChanged): Pass the preference value through to
1619         WebCore.
1620
1621 2011-07-18  Dean Jackson  <dino@apple.com>
1622
1623         https://bugs.webkit.org/show_bug.cgi?id=64742
1624         Expose WebPreferences for media playback requiring user gestures and inline playback
1625
1626         Reviewed by Simon Fraser.
1627
1628         Two new WebPreferences: MediaPlaybackRequiresUserGesture and
1629         MediaPlaybackAllowsInline.
1630
1631         * Interfaces/IWebPreferencesPrivate.idl:
1632         * WebPreferenceKeysPrivate.h:
1633         * WebPreferences.cpp:
1634         (WebPreferences::initializeDefaultSettings):
1635         (WebPreferences::setMediaPlaybackRequiresUserGesture):
1636         (WebPreferences::mediaPlaybackRequiresUserGesture):
1637         (WebPreferences::setMediaPlaybackAllowsInline):
1638         (WebPreferences::mediaPlaybackAllowsInline):
1639         * WebPreferences.h:
1640         * WebView.cpp:
1641         (WebView::notifyPreferencesChanged):
1642
1643 2011-07-16  Simon Fraser  <simon.fraser@apple.com>
1644
1645         Add code to attempt to align compositing layers to pixel boundaries when page scale changes
1646         https://bugs.webkit.org/show_bug.cgi?id=64658
1647
1648         Reviewed by Dan Bernstein.
1649
1650         Removed implementations of backingScaleFactor() and pageScaleFactor() now
1651         that GraphicsLayerClient has default implementations.
1652
1653         * WebView.h:
1654
1655 2011-07-15  Simon Fraser  <simon.fraser@apple.com>
1656
1657         Fix Windows build.
1658         
1659         * WebView.h:
1660         (WebView::backingScaleFactor):
1661         (WebView::pageScaleFactor):
1662
1663 2011-07-15  Dan Bernstein  <mitz@apple.com>
1664
1665         REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
1666         https://bugs.webkit.org/show_bug.cgi?id=64615
1667
1668         Reviewed by Anders Carlsson.
1669
1670         * WebCoreSupport/WebChromeClient.cpp:
1671         (WebChromeClient::setCursorHiddenUntilMouseMoves): Added this stub.
1672         * WebCoreSupport/WebChromeClient.h:
1673
1674 2011-07-12  Joseph Pecoraro  <joepeck@webkit.org>
1675
1676         ApplicationCache update should not immediately fail when reaching per-origin quota
1677         https://bugs.webkit.org/show_bug.cgi?id=64177
1678
1679         Reviewed by Alexey Proskuryakov.
1680
1681         * WebCoreSupport/WebChromeClient.cpp:
1682         (WebChromeClient::reachedApplicationCacheOriginQuota):
1683         * WebCoreSupport/WebChromeClient.h:
1684
1685 2011-07-11  Hironori Bono  <hbono@chromium.org>
1686
1687         Reviewed by Adam Roben.
1688
1689         Implement layoutTestController.setTextDirection for WebKit2 and Windows.
1690         https://bugs.webkit.org/show_bug.cgi?id=61931
1691
1692         This change implements layoutTextController.setTextDirection for WebKit2
1693         and Windows so we can run a layout test added by r87770 on them. Each
1694         implementation adds a wrapper function for Editor::setBaseWritingDirection()
1695         so LayoutTestController can call it.
1696
1697         * Interfaces/IWebFramePrivate.idl: Added setTextDirection to allow
1698         LayoutTestController to change the text direction.
1699         * WebFrame.cpp: ditto.
1700         (WebFrame::setTextDirection):
1701         * WebFrame.h: ditto.
1702
1703 2011-07-08  Chang Shu  <cshu@webkit.org>
1704
1705         Update calling sites after function renamed.
1706         https://bugs.webkit.org/show_bug.cgi?id=59114
1707
1708         Reviewed by Alexey Proskuryakov.
1709
1710         * WebKitGraphics.cpp:
1711         (WebDrawText):
1712
1713 2011-06-30  Anders Carlsson  <andersca@apple.com>
1714
1715         Reviewed by Dan Bernstein.
1716
1717         More ScrollableArea scaffolding
1718         https://bugs.webkit.org/show_bug.cgi?id=63678
1719
1720         * WebScrollBar.h:
1721         (WebScrollBar::enclosingScrollableArea):
1722         Always return 0, WebScrollbar has no concept of an enclosing scrollable area.
1723
1724 2011-06-28  Ilya Sherman  <isherman@chromium.org>
1725
1726         Reviewed by Adam Barth.
1727
1728         form.autocomplete="off" does not work
1729         https://bugs.webkit.org/show_bug.cgi?id=35823
1730
1731         * WebFrame.cpp:
1732         (WebFrame::elementDoesAutoComplete): Updated callsite.
1733
1734 2011-06-27  Brent Fulgham  <bfulgham@webkit.org>
1735
1736         Reviewed by Adam Roben.
1737
1738         Avoid attempt to create a zero-size DIB.
1739         https://bugs.webkit.org/show_bug.cgi?id=63484.
1740
1741         * WebNodeHighlight.cpp:
1742         (WebNodeHighlight::update): Check for zero-height (or zero-width)
1743         region for DIB, and exit early if attempting to create a zero-size
1744         DIB/BITMAP.
1745
1746 2011-06-24  Dan Bernstein  <mitz@apple.com>
1747
1748         Reviewed by Anders Carlsson.
1749
1750         Add an option to enable legacy rounding hacks
1751         https://bugs.webkit.org/show_bug.cgi?id=63363
1752
1753         * WebKitGraphics.cpp:
1754         (CenterTruncateStringToWidth): Enabled rounding hacks in the string truncator.
1755         (RightTruncateStringToWidth): Ditto.
1756
1757 2011-06-24  Yuta Kitamura  <yutak@chromium.org>
1758
1759         Reviewed by Adam Barth.
1760
1761         WebSocket: Add run-time flag for new HyBi protocol
1762         https://bugs.webkit.org/show_bug.cgi?id=60348
1763
1764         Make a new flag (Setting::m_useHixie76WebSocketProtocol)
1765         switchable from WebView and WebPreferences.
1766
1767         * Interfaces/IWebPreferencesPrivate.idl:
1768         * WebPreferenceKeysPrivate.h:
1769         * WebPreferences.cpp:
1770         (WebPreferences::initializeDefaultSettings):
1771         (WebPreferences::setHixie76WebSocketProtocolEnabled):
1772         (WebPreferences::hixie76WebSocketProtocolEnabled):
1773         * WebPreferences.h:
1774         * WebView.cpp:
1775         (WebView::notifyPreferencesChanged):
1776
1777 2011-06-22  Dominic Cooney  <dominicc@chromium.org>
1778
1779         Reviewed by Mark Rowe.
1780
1781         Add window.internals to WebKit2's WebKitTestRunner.
1782         https://bugs.webkit.org/show_bug.cgi?id=61073
1783
1784         * WebKit.vcproj/WebKit.sln: InjectedBundle depends on WebCoreTestSupport
1785
1786 2011-06-20  Dimitri Glazkov  <dglazkov@chromium.org>
1787
1788         Reviewed by Kent Tamura.
1789
1790         FileChooser should be only created when we need to choose files.
1791         https://bugs.webkit.org/show_bug.cgi?id=63039
1792
1793         * WebCoreSupport/WebChromeClient.cpp:
1794         (WebChromeClient::runOpenPanel): Changed to use settings.
1795
1796 2011-06-21  Sheriff Bot  <webkit.review.bot@gmail.com>
1797
1798         Unreviewed, rolling out r89354.
1799         http://trac.webkit.org/changeset/89354
1800         https://bugs.webkit.org/show_bug.cgi?id=63099
1801
1802         Broke tests on Mac (Requested by rniwa on #webkit).
1803
1804         * WebCoreSupport/WebInspectorClient.cpp:
1805         (WebInspectorClient::WebInspectorClient):
1806         (WebInspectorClient::openInspectorFrontend):
1807         (WebInspectorFrontendClient::destroyInspectorView):
1808         * WebCoreSupport/WebInspectorClient.h:
1809         * WebInspector.cpp:
1810         (WebInspector::createInstance):
1811         (WebInspector::WebInspector):
1812         (WebInspector::webViewClosed):
1813         (WebInspector::showConsole):
1814         (WebInspector::isDebuggingJavaScript):
1815         (WebInspector::toggleDebuggingJavaScript):
1816         (WebInspector::isProfilingJavaScript):
1817         (WebInspector::toggleProfilingJavaScript):
1818         (WebInspector::isJavaScriptProfilingEnabled):
1819         (WebInspector::setJavaScriptProfilingEnabled):
1820         (WebInspector::isTimelineProfilingEnabled):
1821         (WebInspector::setTimelineProfilingEnabled):
1822         * WebInspector.h:
1823         * WebView.cpp:
1824         (WebView::WebView):
1825         (WebView::close):
1826         (WebView::initWithFrame):
1827         (WebView::inspector):
1828         * WebView.h:
1829
1830 2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
1831
1832         Reviewed by Yury Semikhatsky.
1833
1834         Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
1835         https://bugs.webkit.org/show_bug.cgi?id=62985
1836
1837         Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
1838         methods for plumbing the menu action handlers through the WebKit and WebCore.
1839         I intend to remove this menu support from the protocol and WebCore/InspectorController API.
1840         I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
1841         WebKit/win and WebKit2 to follow.
1842
1843         * WebInspector.cpp:
1844         (WebInspector::createInstance):
1845         (WebInspector::WebInspector):
1846         (WebInspector::webViewClosed):
1847         (WebInspector::showConsole):
1848         (WebInspector::isDebuggingJavaScript):
1849         (WebInspector::toggleDebuggingJavaScript):
1850         (WebInspector::isProfilingJavaScript):
1851         (WebInspector::toggleProfilingJavaScript):
1852         (WebInspector::isJavaScriptProfilingEnabled):
1853         (WebInspector::setJavaScriptProfilingEnabled):
1854         (WebInspector::isTimelineProfilingEnabled):
1855         (WebInspector::setTimelineProfilingEnabled):
1856         * WebInspector.h:
1857         * WebView.cpp:
1858         (WebView::WebView):
1859         (WebView::close):
1860         (WebView::initWithFrame):
1861         (WebView::inspector):
1862         * WebView.h:
1863
1864 2011-06-18  Dimitri Glazkov  <dglazkov@chromium.org>
1865
1866         Reviewed by Darin Adler.
1867
1868         Separate concerns of loading file icons and choosing files.
1869         https://bugs.webkit.org/show_bug.cgi?id=62931
1870
1871         * WebCoreSupport/WebChromeClient.cpp:
1872         (WebChromeClient::loadIconForFiles): Renamed.
1873         * WebCoreSupport/WebChromeClient.h:
1874
1875 2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
1876
1877         Unreviewed, rolling out r89026.
1878         http://trac.webkit.org/changeset/89026
1879         https://bugs.webkit.org/show_bug.cgi?id=62804
1880
1881         These patches were likely correct.  I'll investigate the
1882         browser_test failures. (Requested by abarth on #webkit).
1883
1884         * FullscreenVideoController.cpp:
1885         (FullscreenVideoController::play):
1886         (FullscreenVideoController::pause):
1887
1888 2011-06-16  Vitaly Repeshko  <vitalyr@chromium.org>
1889
1890         Unreviewed.
1891
1892         Revert Adam's user gesture patch series r89002, r89005, r89007, r89018
1893         https://bugs.webkit.org/show_bug.cgi?id=62796
1894
1895         The patches broke chromium browser tests.
1896
1897         * FullscreenVideoController.cpp:
1898         (FullscreenVideoController::play):
1899         (FullscreenVideoController::pause):
1900
1901 2011-06-16  Adam Barth  <abarth@webkit.org>
1902
1903         Reviewed by Eric Seidel.
1904
1905         Remove HTMLVideoElement::processingUserGesture
1906         https://bugs.webkit.org/show_bug.cgi?id=62784
1907
1908         * FullscreenVideoController.cpp:
1909         (FullscreenVideoController::play):
1910         (FullscreenVideoController::pause):
1911
1912 2011-06-13  Kentaro Hara  <haraken@google.com>
1913
1914         Reviewed by Alexey Proskuryakov.
1915
1916         Add resizePageRectsKeepingRatio(), which expands/shrinks a page, keeping the ratio of the original page
1917         https://bugs.webkit.org/show_bug.cgi?id=61256
1918
1919         In order to prevent rounding error caused by expanding/shrinking a page
1920         using different calculation here and there, I added a common calculation
1921         method, resizePageRectsKeepingRatio(), which expands/shrinks a page,
1922         keeping the ratio of width and height of the original page.
1923         WebFrame::setInPrintingMode() uses resizePageRectsKeepingRatio() to
1924         expand/shrink a page.
1925
1926         Test: printing/page-count-with-one-word.html
1927
1928         * WebFrame.cpp:
1929         (WebFrame::setPrinting):
1930         (WebFrame::setInPrintingMode):
1931         * WebFrame.h:
1932
1933 2011-06-12  MORITA Hajime  <morrita@google.com>
1934
1935         Unreviewed, rolling out r88625.
1936         http://trac.webkit.org/changeset/88625
1937         https://bugs.webkit.org/show_bug.cgi?id=61073
1938
1939         Breaks SL Webkit2 Tests
1940
1941         * WebKit.vcproj/WebKit.sln:
1942
1943 2011-06-12  Adam Barth  <abarth@webkit.org>
1944
1945         Reviewed by Alexey Proskuryakov.
1946
1947         Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
1948         https://bugs.webkit.org/show_bug.cgi?id=62516
1949
1950         * WebFrame.cpp:
1951         (WebFrame::interruptedForPolicyChangeError):
1952         * WebFrame.h:
1953
1954 2011-06-12  Dominic Cooney  <dominicc@chromium.org>
1955
1956         Reviewed by Hajime Morita.
1957
1958         Add window.internals to WebKit2's WebKitTestRunner.
1959         https://bugs.webkit.org/show_bug.cgi?id=61073
1960
1961         * WebKit.vcproj/WebKit.sln: InjectedBundle depends on WebCoreTestSupport
1962
1963 2011-06-12  Adam Barth  <abarth@webkit.org>
1964
1965         Reviewed by Alexey Proskuryakov.
1966
1967         Remove trival "forward-to-client" member functions from FrameLoader
1968         https://bugs.webkit.org/show_bug.cgi?id=62510
1969
1970         * WebCoreSupport/WebFrameNetworkingContext.cpp:
1971         (WebFrameNetworkingContext::blockedError):
1972
1973 2011-06-06  Michael Saboff  <msaboff@apple.com>
1974
1975         Reviewed by Geoffrey Garen.
1976
1977         Fonts returned by FontCache::getFontDataForCharacters() are never released
1978         https://bugs.webkit.org/show_bug.cgi?id=61875
1979
1980         This change allows fonts allocated as system fallback fonts to be
1981         released.  Previously, the reference counts for these fonts grew
1982         without bound.  This is implemented as an auto release class that wraps
1983         accesses to the cache for system fallback fonts. All such accesses are
1984         via the method FontCache::getFontDataForCharacters. The new class is
1985         called FontCachePurgePreventer. When such an object exists, it protects
1986         these fonts from deletion.
1987
1988         See more comments for this defect in Source/WebCore/ChangeLog.
1989
1990         * WebKitGraphics.cpp:
1991         (CenterTruncateStringToWidth):
1992         (RightTruncateStringToWidth):
1993         Wrapped code accessing fallback fonts with local
1994         FontCachePurgePreventer in these methods.
1995
1996 2011-06-04  Dominic Cooney  <dominicc@chromium.org>
1997
1998         Reviewed by Dimitri Glazkov.
1999
2000         Add WebCoreTestSupport project containing window.internals.
2001         https://bugs.webkit.org/show_bug.cgi?id=61076
2002
2003         * WebKit.vcproj/WebKit.sln:
2004
2005 2011-05-18  Anthony Johnson <anthony.johnson@flexsim.com>
2006
2007         Reviewed by Brent Fulgham.
2008
2009         Implement the ability to add C++ event listeners to html dom
2010         elements and dom window. 
2011         https://bugs.webkit.org/show_bug.cgi?id=60269
2012
2013         * DOMCoreClasses.cpp: Add new DOMWindow class and implementations.
2014         (DOMNode::QueryInterface): Report that the DOMNode implements
2015          the IDomEventTarget interface.
2016         (DOMNode::addEventListener): Add implementation of a COM-based
2017          event listener.
2018         (DOMNode::removeEventListener):
2019         (DOMNode::dispatchEvent): 
2020         (DOMDocument::createInstance):
2021         (DOMWindow::QueryInterface): New implementation.
2022         (DOMWindow::document): New implementation.
2023         (DOMWindow::getComputedStyle): Stub.
2024         (DOMWindow::getMatchedCSSRules): Stub.
2025         (DOMWindow::devicePixelRatio): Stub.
2026         (DOMWindow::addEventListener): New implementation.
2027         (DOMWindow::removeEventListener): New implementation.
2028         (DOMWindow::dispatchEvent): New implementation.
2029         (DOMWindow::DOMWindow): New implementation.
2030         (DOMWindow::~DOMWindow): New implementation.
2031         (DOMWindow::createInstance): New implementation.
2032         * DOMCoreClasses.h: Add new DOMWindow class and declarations.
2033         (DOMWindow::AddRef): New declaration.
2034         (DOMWindow::Release): New declaration.
2035         (DOMWindow::throwException): New declaration.
2036         (DOMWindow::callWebScriptMethod): New declaration.
2037         (DOMWindow::evaluateWebScript): New declaration.
2038         (DOMWindow::removeWebScriptKey): New declaration.
2039         (DOMWindow::stringRepresentation): New declaration.
2040         (DOMWindow::webScriptValueAtIndex): New declaration.
2041         (DOMWindow::setWebScriptValueAtIndex): New declaration.
2042         (DOMWindow::setException): New declaration.
2043         (DOMWindow::window): New declaration.
2044         * DOMEventsClasses.cpp: Add new WebEventListener and implementation.
2045         (DOMEventListener::handleEvent): New implementation.
2046         (WebEventListener::WebEventListener): New implementation.
2047         (WebEventListener::~WebEventListener): New implementation.
2048         (WebEventListener::operator==): New implementation.
2049         (WebEventListener::handleEvent): New implementation.
2050         (WebEventListener::create): New implementation.
2051         * DOMEventsClasses.h: Add new WebEventListener class declaration.
2052         * Interfaces/IWebFrame.idl: Add new DOMWindow accessor to the
2053          main Web Frame interface.
2054         * WebFrame.cpp: Add implementation of new DOMWindow creation method.
2055         (WebFrame::DOMWindow):
2056         * WebFrame.h: Add DOMWindow declaration.
2057
2058 2011-05-20  Simon Fraser  <simon.fraser@apple.com>
2059
2060         Reviewed by Sam Weinig.
2061
2062         numberOfActiveAnimations() can include animations from documents in the page cache
2063         https://bugs.webkit.org/show_bug.cgi?id=53641
2064
2065         Pass the Frame's document as the one to count animations on.
2066
2067         * WebFrame.cpp:
2068         (WebFrame::numberOfActiveAnimations):
2069
2070 2011-05-20  Jer Noble  <jer.noble@apple.com>
2071
2072         Reviewed by Maciej Stachowiak.
2073
2074         Win: non-full-screen content is briefly seen when entering full-screen mode (and vice versa)
2075         https://bugs.webkit.org/show_bug.cgi?id=61108
2076
2077         * WebView.cpp:
2078         (WebView::fullScreenClientForceRepaint): Repaint the view and immediately notify the 
2079             full screen controller.
2080         * WebView.h:
2081
2082 2011-05-13  Jon Lee  <jonlee@apple.com>
2083
2084         Reviewed by Simon Fraser.
2085
2086         Can't horizontally scroll iframes and overflow because wheel events are always accepted
2087         https://bugs.webkit.org/show_bug.cgi?id=60779
2088
2089         * WebCoreSupport/WebChromeClient.h:
2090         (WebChromeClient::shouldRubberBandInDirection): Default impl of new ChromeClient method
2091         (WebChromeClient::numWheelEventHandlersChanged): Default impl of new ChromeClient method
2092
2093 2011-05-13  Sam Weinig  <sam@webkit.org>
2094
2095         Reviewed by Anders Carlsson.
2096
2097         Prune #includes from FrameView.h (Part 2)
2098         https://bugs.webkit.org/show_bug.cgi?id=60748
2099
2100         - Update files that were depending on FrameView.h #including Frame.h or
2101           Page.h.
2102
2103         * WebCoreSupport/WebChromeClient.cpp:
2104         * WebCoreSupport/WebDragClient.cpp:
2105         * WebCoreSupport/WebFrameLoaderClient.cpp:
2106         * WebFrame.cpp:
2107         (WebFrame::setPrinting):
2108         * WebView.cpp:
2109
2110 2011-05-12  Patrick Gansterer  <paroga@webkit.org>
2111
2112         Reviewed by Adam Barth.
2113
2114         Enable OwnPtr strict mode in PluginHalter
2115         https://bugs.webkit.org/show_bug.cgi?id=60681
2116
2117         * WebView.cpp:
2118         (WebView::initWithFrame):
2119
2120 2011-05-12  Adam Roben  <aroben@apple.com>
2121
2122         A little gtest cleanup after r86287
2123
2124         * WebKit.vcproj/WebKit.sln:
2125             - Move gtest into the Tools folder
2126             - Make gtest build just before TestWebKitAPIGenerated
2127             - Use gtest's new Debug_All and Production configurations as appropriate
2128
2129 2011-05-12  Nikolas Zimmermann  <nzimmermann@rim.com>
2130
2131         Reviewed by Darin Adler.
2132
2133         String operator+ reallocates unnecessarily when concatting > 2 strings
2134         https://bugs.webkit.org/show_bug.cgi?id=58420
2135
2136         Provide a faster String append operator. See Source/JavaScriptCore/ChangeLog for details.
2137
2138         * AccessibleBase.cpp:
2139         (AccessibleBase::get_accKeyboardShortcut): Explicitely cast to Strings first, so operator BString() can be invoked.
2140
2141 2011-05-11  Dmitry Lomov  <dslomov@google.com>
2142
2143         Reviewed by David Levin.
2144
2145         https://bugs.webkit.org/show_bug.cgi?id=59561
2146         Switch TestWebKitAPI to GTest
2147
2148         Fixes Makefiles and WinCairo build as well
2149
2150         * WebKit.vcproj/WebKit.sln:
2151
2152 2011-05-11  Jessie Berlin  <jberlin@apple.com>
2153
2154         Reviewed by Steve Falkenburg.
2155
2156         [Windows WebKit2] Use cookies set in WebKit1
2157         https://bugs.webkit.org/show_bug.cgi?id=60274
2158
2159         * WebView.cpp:
2160         (WebView::setCacheModel):
2161         Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
2162
2163 2011-05-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2164
2165         Unreviewed, rolling out r86255.
2166         http://trac.webkit.org/changeset/86255
2167         https://bugs.webkit.org/show_bug.cgi?id=60660
2168
2169         REGRESSION (r86255): Lots of tests crashing in
2170         CFWriteStreamCreateWithAllocatedBuffers on Windows 7 Release
2171         (WebKit2 Tests) (Requested by aroben on #webkit).
2172
2173         * WebView.cpp:
2174         (WebView::setCacheModel):
2175
2176 2011-05-11  Jessie Berlin  <jberlin@apple.com>
2177
2178         Reviewed by Steve Falkenburg.
2179
2180         [Windows WebKit2] Use cookies set in WebKit1
2181         https://bugs.webkit.org/show_bug.cgi?id=60274
2182
2183         * WebView.cpp:
2184         (WebView::setCacheModel):
2185         Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
2186
2187 2011-05-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2188
2189         Unreviewed, rolling out r86108.
2190         http://trac.webkit.org/changeset/86108
2191         https://bugs.webkit.org/show_bug.cgi?id=60533
2192
2193         Broke makefile based builds and Cairo (Requested by weinig on
2194         #webkit).
2195
2196         * WebKit.vcproj/WebKit.sln:
2197
2198 2011-05-09  Dmitry Lomov  <dslomov@google.com>
2199
2200         Reviewed by Sam Weinig.
2201
2202         Switch TestWebKitAPI to GTest
2203         https://bugs.webkit.org/show_bug.cgi?id=59561
2204
2205         * WebKit.vcproj/WebKit.sln:
2206
2207 2011-05-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2208
2209         Unreviewed, rolling out r86016.
2210         http://trac.webkit.org/changeset/86016
2211         https://bugs.webkit.org/show_bug.cgi?id=60445
2212
2213         caused crashes on the WK2 Windows bots (Requested by
2214         jessieberlin on #webkit).
2215
2216         * WebView.cpp:
2217         (WebView::setCacheModel):
2218
2219 2011-05-07  Jessie Berlin  <jberlin@apple.com>
2220
2221         Reviewed by Steve Falkenburg.
2222
2223         [Windows WebKit2] Use cookies set in WebKit1
2224         https://bugs.webkit.org/show_bug.cgi?id=60274
2225
2226         * WebView.cpp:
2227         (WebView::setCacheModel):
2228         Pass 0 to wkCopyFoundationCacheDirectory so that it uses the default session.
2229
2230 2011-05-06  Adam Roben  <aroben@apple.com>
2231
2232         Touch WebKit.idl to fix the build
2233
2234         I needed this on my own machine. Maybe others will need it, too.
2235
2236         * Interfaces/WebKit.idl:
2237
2238 2011-05-04  Philippe Normand  <pnormand@igalia.com>
2239
2240         Reviewed by Dimitri Glazkov.
2241
2242         Implement LayoutTestController::pseudoShadowId()
2243         https://bugs.webkit.org/show_bug.cgi?id=60034
2244
2245         * DOMCoreClasses.cpp:
2246         (DOMElement::shadowPseudoId):
2247         * DOMCoreClasses.h:
2248
2249 2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>
2250
2251         Reviewed by Eric Seidel.
2252
2253         Rename SelectionController to FrameSelection
2254         https://bugs.webkit.org/show_bug.cgi?id=60234
2255
2256         * WebView.cpp:
2257
2258 2011-05-04  Ryosuke Niwa  <rniwa@webkit.org>
2259
2260         Windows build fix attempt after r85823
2261
2262         * WebCoreSupport/WebChromeClient.h:
2263         (WebChromeClient::webView):
2264         * WebView.cpp:
2265         (kit):
2266
2267 2011-05-04  Cris Neckar  <cdn@chromium.org>
2268
2269         Reviewed by Adam Barth.
2270
2271         Expose WebView directly through ChromeClient.
2272         https://bugs.webkit.org/show_bug.cgi?id=49902
2273
2274         * WebCoreSupport/WebChromeClient.h:
2275         (WebChromeClient::webView):
2276
2277 2011-05-04  Tao Bai  <michaelbai@chromium.org>
2278
2279         Reviewed by David Kilzer.
2280
2281         Populate touch-icon url to FrameLoaderClient
2282         https://bugs.webkit.org/show_bug.cgi?id=59143
2283
2284         Respect the interface change in FrameLoaderClient.
2285
2286         * WebCoreSupport/WebFrameLoaderClient.cpp:
2287         (WebFrameLoaderClient::dispatchDidChangeIcons):
2288         * WebCoreSupport/WebFrameLoaderClient.h:
2289
2290 2011-05-02  Jer Noble  <jer.noble@apple.com>
2291
2292         Reviewed by Adam Roben.
2293
2294         Implement FULLSCREEN_API on Windows, Part 3: WebKit2
2295         https://bugs.webkit.org/show_bug.cgi?id=59845
2296
2297         Implementation of WebFullScreenController has been moved into WebCore, and 
2298         required virutal functions of WebFullScreenControllerClient have been added to
2299         WebView.  These functions are mostly simple accessors of existing ivars, but 
2300         m_fullScreenElement and its accessors have also been added to WebView.
2301
2302         * WebCoreSupport/WebChromeClient.cpp:
2303         (WebChromeClient::enterFullScreenForElement):
2304         * WebFullScreenController.cpp: Removed.
2305         * WebKit.vcproj/WebKit.vcproj:
2306         * WebView.cpp:
2307         (WebView::setFullScreenElement): Added accessor.
2308         (WebVIew::fullScreenElement): Ditto.
2309         (WebView::fullScreenClientWindow): Ditto.
2310         (WebView::fullScreenClientParentWindow): Ditto.
2311         (WebView::fullScreenClientSetParentWindow): Ditto.
2312         (WebView::fullScreenClientWillEnterFullScreen): Pass through to Document.
2313         (WebView::fullScreenClientDidEnterFullScreen): Ditto.
2314         (WebView::fullScreenClientWillExitFullScreen): Ditto.
2315         (WebView::fullScreenClientDidExitFullScreen): Ditto.
2316         * WebView.h:
2317
2318 2011-05-03  Brian Weinstein  <bweinstein@apple.com>
2319
2320         Reviewed by Steve Falkenburg.
2321
2322         REGRESSION(r84990): Nightly builds don't launch on Windows
2323         https://bugs.webkit.org/show_bug.cgi?id=60081
2324         <rdar://problem/9358635>
2325         
2326         Fix nightlies on Window by moving the layered window functions to the bottom
2327         of IWebViewPrivate and touch WebKit.idl to make sure Interfaces rebuild.
2328
2329         * Interfaces/IWebViewPrivate.idl: Move functions added in r84990 to the bottom of the file.
2330         * Interfaces/WebKit.idl: Touch to force a rebuild.
2331
2332 2011-05-03  David Kilzer  <ddkilzer@apple.com>
2333
2334         <http://webkit.org/b/59838> Implement HTTP pipelining for CoreFoundation-based networking
2335
2336         Reviewed by Antti Koivisto.
2337
2338         * Interfaces/IWebViewPrivate.idl:
2339         (IWebViewPrivate::httpPipeliningEnabled): Added declaration.
2340         (IWebViewPrivate::setHTTPPipeliningEnabled): Added declaration.
2341         * WebView.cpp:
2342         (WebView::httpPipeliningEnabled): Added.
2343         (WebView::setHTTPPipeliningEnabled): Added.
2344         * WebView.h:
2345         (WebView::httpPipeliningEnabled): Added declaration.
2346         (WebView::setHTTPPipeliningEnabled): Added declaration.
2347
2348 2011-05-03  Adam Roben  <aroben@apple.com>
2349
2350         Add some missing virtual keywords on derived-class destructors
2351
2352         Darin Adler noticed one, I noticed the other. This doesn't change the generated code; it
2353         just matches our style of explicitly marking overrides "virtual".
2354
2355         * WebCoreSupport/WebInspectorClient.h: Made the WebInspectorClient and
2356         WebInspectorFrontendClient destructors explicitly virtual.
2357
2358 2011-05-03  Adam Roben  <aroben@apple.com>
2359
2360         Fix most strict PassOwnPtr violations on Windows
2361
2362         Fixes <http://webkit.org/b/60025> Windows should (almost) build with strict PassOwnPtr
2363         enabled
2364
2365         Reviewed by Anders Carlsson.
2366
2367         * WebCoreSupport/WebInspectorClient.h: Made the destructor public, which is required now
2368         that this type is put into a PassOwnPtr. (Previously, only
2369         WebCore::InspectorFrontendClientLocal was put into a [Pass]OwnPtr.)
2370
2371         * FullscreenVideoController.cpp:
2372         * WebCoreSupport/WebFrameLoaderClient.cpp:
2373         * WebCoreSupport/WebInspectorClient.cpp:
2374         * WebHistory.cpp:
2375         * WebHistoryItem.cpp:
2376         * WebView.cpp:
2377
2378 2011-05-01  Sam Weinig  <sam@webkit.org>
2379
2380         Fix windows build.
2381
2382         * WebFrame.cpp:
2383
2384 2011-05-01  Patrick Gansterer  <paroga@webkit.org>
2385
2386         Reviewed by Adam Barth.
2387
2388         Fix OwnPtr strict issues in windows build
2389         https://bugs.webkit.org/show_bug.cgi?id=59878
2390
2391         * FullscreenVideoController.cpp:
2392         (FullscreenVideoController::FullscreenVideoController):
2393         (FullscreenVideoController::createHUDWindow):
2394         * WebCoreSupport/WebInspectorClient.cpp:
2395         (WebInspectorClient::highlight):
2396         * WebElementPropertyBag.cpp:
2397         (WebElementPropertyBag::WebElementPropertyBag):
2398         * WebNodeHighlight.cpp:
2399         (WebNodeHighlight::update):
2400         * WebNotificationCenter.cpp:
2401         (WebNotificationCenter::WebNotificationCenter):
2402         * WebView.cpp:
2403         (WebView::close):
2404         (WebView::paint):
2405         (WebView::handleMouseEvent):
2406         (WebView::registerEmbeddedViewMIMEType):
2407
2408 2011-04-29  Jer Noble  <jer.noble@apple.com>
2409
2410         Reviewed by Adam Roben.
2411
2412         Implement FULLSCREEN_API on Windows, Part 2: WebKit
2413         https://bugs.webkit.org/show_bug.cgi?id=59785
2414
2415         Initial implementation of full screen API on windows.  No animation
2416         occurs when entering or exiting full screen.  Re-use existing window
2417         classes (MediaPlayerPrivateFullscreenWindow) to host the webView.
2418
2419         * WebCoreSupport/WebChromeClient.cpp:
2420         (WebChromeClient::supportsFullScreenForElement): Call into WebView.
2421         (WebChromeClient::enterFullScreenForElement): Call into WebFullScreenController.
2422         (WebChromeClient::exitFullScreenForElement): Ditto.
2423         * WebFullScreenController.cpp: Added.
2424         (WebFullScreenController::Private::Private): Private data storage class.
2425         (WebFullScreenController::Private::~Private):
2426         (WebFullScreenController::Private::fullscreenClientWndProc): Handle window
2427             message for full screen window.
2428         (WebFullScreenController::WebFullScreenController):
2429         (WebFullScreenController::~WebFullScreenController):
2430         (WebFullScreenController::setElement): Added.
2431         (WebFullScreenController::element): Added.
2432         (WebFullScreenController::isFullScreen): Added.
2433         (WebFullScreenController::enterFullScreen): Create and display full screen
2434             window, moving webView as child window.
2435         (WebFullScreenController::exitFullScreen): Destroy full screen window and
2436             move webView back where we found it.
2437         * WebFullScreenController.h: Added.
2438         * WebKit.vcproj/WebKit.vcproj:
2439         * WebView.cpp:
2440         (WebView::keyDown): Handle the ESC key.
2441         (WebView::notifyPreferencesChanged):
2442         (WebView::supportsFullScreenForElement): Do not support full screen if
2443             full screen preference is disabled, or if keyboard access is requested.
2444         (WebView::isFullScreen): Added.
2445         (WebView::fullScreenController): Added.
2446         * WebView.h:
2447
2448 2011-04-28  Jer Noble  <jer.noble@apple.com>
2449
2450         Reviewed by Jon Honeycutt.
2451
2452         Implement FULLSCREEN_API on Windows, Part 1: Stubs
2453         https://bugs.webkit.org/show_bug.cgi?id=59778
2454
2455         Create all the stubs necessary to for enabling FULLSCREEN_API
2456         on Windows. This includes the COM interfaces for preferences and
2457         for overriding full screen behavior in a UI Delegate.
2458
2459         * Interfaces/IWebPreferencesPrivate.idl: Add functions for enabling
2460             full screen preference.
2461         * Interfaces/IWebUIDelegatePrivate.idl: Add functions for overriding
2462             full screen behavior.
2463         * WebCoreSupport/WebChromeClient.cpp:
2464         (WebChromeClient::supportsFullScreenForElement): Added.
2465         (WebChromeClient::enterFullScreenForElement): Added.
2466         (WebChromeClient::exitFullScreenForElement): Added.
2467         * WebCoreSupport/WebChromeClient.h:
2468         * WebPreferenceKeysPrivate.h: Added WebKitFullScreenEnable key.
2469         * WebPreferences.cpp:
2470         (WebPreferences::isFullScreenEnabled): Added. Implements function
2471            defined in IWebUIDelegatePrivate.
2472         (WebPreferences::setFullScreenEnabled): Ditto.
2473         * WebPreferences.h:
2474
2475 2011-04-28  Adam Barth  <abarth@webkit.org>
2476
2477         Reviewed by Eric Seidel.
2478
2479         Remove WML
2480         https://bugs.webkit.org/show_bug.cgi?id=59678
2481
2482         Remove WML-related enumeration.
2483
2484         * Interfaces/IWebFramePrivate.idl:
2485
2486 2011-04-26  Brent Fulgham  <bfulgham@webkit.org>
2487
2488         Reviewed by Adam Roben.
2489
2490         Implement a transparent WebView under Windows.  This feature
2491         allows the user to create small web-based applications, similar
2492         to the dashboard on Mac OS X.
2493         https://bugs.webkit.org/show_bug.cgi?id=58300
2494
2495         * Interfaces/IWebViewPrivate.idl: Add new set/get accessors to
2496         change the state of a WebView into a Layered Window, or back
2497         into a standard window.
2498         * Interfaces/WebKit.idl: touch to force clean build
2499         * WebView.cpp:
2500         (WebView::WebView): Set layered window state in constructor.
2501         (WebView::updateBackingStore): Cleanup old bitmap when finished.
2502         (WebView::performLayeredWindowUpdate): New method to do the work
2503         of calling ::UpdateLayeredWindow for the WebView with proper
2504         alpha blending.
2505         (WebView::paint): Small change to prevent accelerated compositing
2506         when using a layered window.  DirectX is not compatible with
2507         ::UpdateLayeredWindow (at least currently).
2508         (WebView::WebViewWndProc): Adjust main window procedure to avoid
2509         painting a default background on a layered window (this is handled
2510         by Windows during compositing), and to deal with paint messages
2511         properly in the layered window case.
2512         (WebView::active): The layered window is not a child window,
2513         so the active state logic is slightly different.
2514         (WebView::setUsesLayeredWindow): New set method for layered stated.
2515         When called, it will convert a WebView into a Layered Window.
2516         (WebView::usesLayeredWindow): Accessor
2517         * WebView.h:
2518         (WebView::setUsesLayeredWindow): Declare new accessor
2519         (WebView::usesLayeredWindow): Declare new accessor
2520
2521 2011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
2522
2523         Windows build fix.
2524
2525         * WebCoreSupport/WebEditorClient.h:
2526
2527 2011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
2528
2529         Reviewed by Sam Weinig.
2530
2531         Add Frame* to the argument lists of canCopyCut and canPaste
2532         https://bugs.webkit.org/show_bug.cgi?id=59153
2533
2534         * WebCoreSupport/WebEditorClient.cpp:
2535         (WebEditorClient::canCopyCut):
2536         (WebEditorClient::canPaste):
2537         * WebCoreSupport/WebEditorClient.h:
2538
2539 2011-04-20  Brent Fulgham  <bfulgham@webkit.org>
2540
2541         Reviewed by Martin Robinson.
2542
2543         Provide missing implementation of WebMutableURLRequest::mutableCopy.
2544         This was preventing DumpRenderTree from working properly under
2545         the WinCairo port.
2546         https://bugs.webkit.org/show_bug.cgi?id=59034
2547
2548         * WebMutableURLRequest.cpp:
2549         (WebMutableURLRequest::mutableCopy): Implement cURL version of the
2550         copy operation.
2551
2552 2011-04-19  Vsevolod Vlasov  <vsevik@chromium.org>
2553
2554         Reviewed by Pavel Feldman.
2555
2556         Web Inspector: Rename lengthReceived to encodedDataLength/dataLength
2557         https://bugs.webkit.org/show_bug.cgi?id=58883
2558
2559         * WebCoreSupport/WebFrameLoaderClient.h:
2560
2561 2011-04-18  Timothy Hatcher  <timothy@apple.com>
2562
2563         Remove the two commands that make en.lproj and copy Localizable.strings.
2564
2565         Rubber-stamped by Adam Roben.
2566
2567         * WebKit.vcproj/WebKitLibPostBuild.cmd:
2568
2569 2011-04-18  Patrick Gansterer  <paroga@webkit.org>
2570
2571         Reviewed by Adam Roben.
2572
2573         Include <WebCore/COMPtr.h> instead of "COMPtr.h"
2574         https://bugs.webkit.org/show_bug.cgi?id=58744
2575
2576         * DOMCoreClasses.cpp:
2577         * DOMHTMLClasses.cpp:
2578         * WebActionPropertyBag.cpp:
2579         * WebBackForwardList.cpp:
2580         * WebCoreSupport/WebGeolocationClient.h:
2581         * WebDownload.h:
2582         * WebDropSource.h:
2583         * WebFrame.cpp:
2584         * WebHistoryItem.cpp:
2585         * WebIconDatabase.cpp:
2586         * WebNavigationData.h:
2587         * WebPreferences.cpp:
2588         * WebResource.h:
2589         * WebURLAuthenticationChallenge.cpp:
2590         * WebURLAuthenticationChallengeSender.cpp:
2591         * WebURLAuthenticationChallengeSenderCFNet.cpp:
2592         * WebURLAuthenticationChallengeSenderCurl.cpp:
2593         * WebView.h:
2594
2595 2011-04-17  Patrick Gansterer  <paroga@webkit.org>
2596
2597         Reviewed by Adam Barth.
2598
2599         Rename PLATFORM(CG) to USE(CG)
2600         https://bugs.webkit.org/show_bug.cgi?id=58729
2601
2602         * WebFrame.cpp:
2603         (WebFrame::spoolPages):
2604         * WebFrame.h:
2605         * WebPreferences.cpp:
2606         (WebPreferences::setFontSmoothing):
2607         (WebPreferences::setFontSmoothingContrast):
2608         * WebView.cpp:
2609         (systemParameterChanged):
2610
2611 2011-04-16  Sam Weinig  <sam@webkit.org>
2612
2613         Reviewed by Simon Fraser.
2614
2615         Windows should use WebCore localized strings
2616         <rdar://problem/9119405>
2617         https://bugs.webkit.org/show_bug.cgi?id=58733
2618
2619         * WebCoreSupport/WebEditorClient.cpp:
2620         (undoNameForEditAction):
2621         (WebEditorClient::registerCommandForUndo):
2622         * WebPreferences.cpp:
2623         (WebPreferences::initializeDefaultSettings):
2624         * WebURLResponse.cpp:
2625         (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode):
2626         (WebURLResponse::localizedStringForStatusCode):
2627         Change to use WEB_UI_STRING.
2628
2629         * WebCoreSupport/WebPlatformStrategies.cpp:
2630         * WebCoreSupport/WebPlatformStrategies.h:
2631         Remove the localization strategy in favor of using the default one.
2632
2633 2011-04-16  Patrick Gansterer  <paroga@webkit.org>
2634
2635         Reviewed by Eric Seidel.
2636
2637         Rename PLATFORM(CAIRO) to USE(CAIRO)
2638         https://bugs.webkit.org/show_bug.cgi?id=55192
2639
2640         * WebFrame.cpp:
2641         (WebFrame::spoolPages):
2642         * WebFrame.h:
2643
2644 2011-04-14  Adam Roben  <aroben@apple.com>
2645
2646         Replace some known-to-fail assertions with FIXMEs
2647
2648         These assertions get hit during various layout tests. They indicate that we're sometimes
2649         doing some extra work when a page goes into accelerated compositing mode, but otherwise
2650         there's no bad effect.
2651
2652         See <http://webkit.org/b/58539> for more details.
2653
2654         Rubber-stamped by John Sullivan.
2655
2656         * WebView.cpp:
2657         (WebView::paintIntoBackingStore):
2658         (WebView::paintIntoWindow):
2659         Replaced assertions with FIXMEs.
2660
2661 2011-04-13  James Robinson  <jamesr@chromium.org>
2662
2663         Reviewed by Simon Fraser.
2664
2665         Allow setting composited backing stores for scrollbars and scroll corners
2666         https://bugs.webkit.org/show_bug.cgi?id=57202
2667
2668         Update WebScrollBar to reflect ScrollableArea interface changes.
2669
2670         * WebScrollBar.h:
2671         (WebScrollBar::invalidateScrollCornerRect):
2672         (WebScrollBar::scrollCornerPresent):
2673         (WebScrollBar::scrollCornerRect):
2674
2675 2011-04-12  Alice Liu  <alice.liu@apple.com>
2676
2677         Reviewed by Sam Weinig.
2678
2679         https://bugs.webkit.org/show_bug.cgi?id=58292
2680         Provide new setting to allow site icon loading despite disabling automatic image loading in general.
2681
2682         * Interfaces/IWebPreferencesPrivate.idl: Added prefs. 
2683         * Interfaces/WebKit.idl: Touch file to force autogeneration
2684         * WebPreferenceKeysPrivate.h: Add preference key.
2685         * WebPreferences.cpp:
2686         (WebPreferences::initializeDefaultSettings): Initialize setting to false.
2687         (WebPreferences::setLoadsSiteIconsIgnoringImageLoadingPreference): Added setter
2688         (WebPreferences::loadsSiteIconsIgnoringImageLoadingPreference): Added getter
2689         * WebPreferences.h:
2690         * WebView.cpp:
2691         (WebView::notifyPreferencesChanged): Add to settings that get propagated upon changes.
2692
2693 2011-04-11  Alexey Proskuryakov  <ap@apple.com>
2694
2695         Reviewed by Maciej Stachowiak.
2696
2697         WebKit2: Cannot use Ctrl-Delete as a custom keyboard shortcut
2698         https://bugs.webkit.org/show_bug.cgi?id=58265
2699         <rdar://problem/9221468>
2700
2701         * WebView.cpp: (WebView::keyDown): Removed special handling of Backspace, which is unnecessary
2702         now that WebCore implements it.
2703
2704 2011-04-06  Brian Weinstein  <bweinstein@apple.com>
2705
2706         Reviewed by Adam Roben.
2707
2708         WebKit2: Support Windows 7 Gestures
2709         https://bugs.webkit.org/show_bug.cgi?id=49824
2710         <rdar://problem/8689728>
2711         
2712         Move WindowsTouch.h from WebKit/win to WebCore/platform/win, so it can be
2713         used in both WebKit and WebKit2.
2714
2715         * WebKit.vcproj/WebKit.vcproj: Remove WindowsTouch.h.
2716         * WebView.cpp: Include WindowsTouch.h from WebCore instead of WebKit.
2717         * WindowsTouch.h: Removed.
2718
2719 2011-04-05  Martin Robinson  <mrobinson@igalia.com>
2720
2721         Reviewed by Eric Seidel.
2722
2723         [Cairo] Better separate the concerns of GraphicsContextCairo
2724         https://bugs.webkit.org/show_bug.cgi?id=55150
2725
2726         * WebFrame.cpp:
2727         (hdcFromContext): Modify this method to take PlatformContextCairo
2728         instead of a cairo_t.
2729         (WebFrame::spoolPage): Update to reflect new platform context.
2730         (WebFrame::spoolPages): Ditto.
2731         * WebFrame.h: Ditto.
2732
2733 2011-04-04  MORITA Hajime  <morrita@google.com>
2734
2735         Reviewed by Ryosuke Niwa.
2736
2737         [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
2738         https://bugs.webkit.org/show_bug.cgi?id=56085
2739
2740         * WebCoreSupport/WebEditorClient.h:
2741         (WebEditorClient::requestCheckingOfString):
2742
2743 2011-04-04  Alexey Proskuryakov  <ap@apple.com>
2744
2745         Reviewed by Dan Bernstein.
2746
2747         REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
2748         https://bugs.webkit.org/show_bug.cgi?id=51230
2749         <rdar://problem/8780989>
2750
2751         * WebView.cpp: (WebView::keyDown): Moved Caps Lock handling from WebKits to WebCore,
2752         because WebKit shouldn't be smart.
2753
2754 2011-04-04  Steve Falkenburg  <sfalken@apple.com>
2755
2756         Reviewed by Adam Roben.
2757
2758         Remove unused AnalyzeWithLargeStack code from Windows build files
2759         https://bugs.webkit.org/show_bug.cgi?id=57771
2760         
2761         This was used for us to build with prefast automatically,
2762         but it is out-of-date and hasn't been used for some time.
2763         Removing completely for now.
2764
2765         * WebKit.vcproj/WebKitLibPreBuild.cmd:
2766
2767 2011-04-01  Adam Roben  <aroben@apple.com>
2768
2769         Remove the WebView's "this" pointer from its HWND when WM_DESTROY is received
2770
2771         This will ensure we don't try to process any window messages after the window has been
2772         destroyed.
2773
2774         Covered by existing tests.
2775
2776         Fixes <http://webkit.org/b/55054>.
2777
2778         Reviewed by Steve Falkenburg and John Sullivan.
2779
2780         * WebView.cpp:
2781         (WebView::setIsBeingDestroyed): Moved here from the header file, and added a call to clear
2782         out the this pointer from the HWND.
2783         (WebView::WebViewWndProc): Changed a runtime check into an assertion.
2784
2785         * WebView.h: Moved setIsBeingDestroyed from here to the .cpp file.
2786
2787 2011-03-31  Evan Martin  <evan@chromium.org>
2788
2789         Reviewed by Eric Seidel.
2790
2791         <title> should support dir attribute
2792         https://bugs.webkit.org/show_bug.cgi?id=50961
2793
2794         Update to new FrameLoaderClient interface.
2795
2796         * WebCoreSupport/WebFrameLoaderClient.cpp:
2797         (WebFrameLoaderClient::dispatchDidReceiveTitle):
2798         * WebCoreSupport/WebFrameLoaderClient.h:
2799
2800 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
2801
2802         Reviewed by Adam Roben.
2803
2804         Share most vsprops between Release and Production builds in releaseproduction.vsprops
2805         https://bugs.webkit.org/show_bug.cgi?id=57508
2806
2807         * WebKit.vcproj/InterfacesProduction.vsprops:
2808         * WebKit.vcproj/InterfacesRelease.vsprops:
2809         * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
2810         * WebKit.vcproj/WebKitGUIDProduction.vsprops:
2811         * WebKit.vcproj/WebKitGUIDRelease.vsprops:
2812         * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
2813         * WebKit.vcproj/WebKitLibProduction.vsprops:
2814         * WebKit.vcproj/WebKitLibRelease.vsprops:
2815         * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:
2816
2817 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
2818
2819         Reviewed by Adam Roben.
2820
2821         Update Windows production build logic for new production configurations
2822         https://bugs.webkit.org/show_bug.cgi?id=57494
2823
2824         * WebKit.vcproj/InterfacesProduction.vsprops:
2825         * WebKit.vcproj/WebKit.make:
2826         * WebKit.vcproj/WebKitGUIDProduction.vsprops:
2827         * WebKit.vcproj/WebKitLibProduction.vsprops:
2828
2829 2011-03-30  Steve Falkenburg  <sfalken@apple.com>
2830
2831         Reviewed by Adam Roben.
2832
2833         Rename Windows configuration Release_LTCG to Production for clarity
2834         https://bugs.webkit.org/show_bug.cgi?id=57465
2835
2836         * WebKit.vcproj/Interfaces.vcproj:
2837         * WebKit.vcproj/InterfacesProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/InterfacesReleaseLTCG.vsprops.
2838         * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Removed.
2839         * WebKit.vcproj/WebKit.sln:
2840         * WebKit.vcproj/WebKit.submit.sln:
2841         * WebKit.vcproj/WebKit.vcproj:
2842         * WebKit.vcproj/WebKitGUID.vcproj:
2843         * WebKit.vcproj/WebKitGUIDProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops.
2844         * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Removed.
2845         * WebKit.vcproj/WebKitLibProduction.vsprops: Copied from Source/WebKit/win/WebKit.vcproj/WebKitLibReleaseLTCG.vsprops.
2846         * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Removed.
2847
2848 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
2849
2850         Reviewed by Adam Roben.
2851
2852         [WIN] Remove unused GEN_DOMObject files
2853         https://bugs.webkit.org/show_bug.cgi?id=57370
2854
2855         * GEN_DOMObject.cpp: Removed.
2856         * GEN_DOMObject.h: Removed.
2857
2858 2011-03-29  Steve Falkenburg  <sfalken@apple.com>
2859
2860         More build fix.
2861
2862         * WebCoreSupport/WebPlatformStrategies.h:
2863
2864 2011-03-29  Steve Falkenburg  <sfalken@apple.com>
2865
2866         Build fix.
2867
2868         * WebCoreSupport/WebPlatformStrategies.cpp:
2869         (WebPlatformStrategies::contextMenuItemTagLookUpInDictionary):
2870
2871 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
2872
2873         Unreviewed. Try to fix Windows build.
2874
2875         * DOMEventsClasses.cpp: Added initguid.h again.
2876
2877 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
2878
2879         Reviewed by Adam Roben.
2880
2881         [WIN] Cleanup includes in WebKit files
2882         https://bugs.webkit.org/show_bug.cgi?id=57381
2883
2884         Add missing includes to fix build without precompiled header.
2885         Also fix paths in #include statements (e.g. WTF -> wtf).
2886
2887         * AccessibleBase.h:
2888         * AccessibleDocument.h: Replace using statement with a qualified name.
2889         * CFDictionaryPropertyBag.h:
2890         * DOMEventsClasses.cpp:
2891         * DOMHTMLClasses.h:
2892         * DefaultDownloadDelegate.cpp:
2893         * DefaultDownloadDelegate.h:
2894         * DefaultPolicyDelegate.cpp:
2895         * DefaultPolicyDelegate.h:
2896         * WebCoreSupport/EmbeddedWidget.h:
2897         * WebCoreSupport/WebInspectorDelegate.h:
2898         * WebDataSource.h:
2899         * WebDatabaseManager.h:
2900         * WebElementPropertyBag.h:
2901         * WebFramePolicyListener.h:
2902         * WebGeolocationPolicyListener.h:
2903         * WebHistory.h:
2904         * WebKitClassFactory.h:
2905         * WebScriptWorld.h:
2906         * WebSerializedJSValue.h:
2907         * WebUserContentURLPattern.h:
2908
2909 2011-03-29  Steve Falkenburg  <sfalken@apple.com>
2910
2911         Reviewed by Darin Adler.
2912
2913         Use per-configuration vsprops in WebKit to avoid WebKitVSPropsRedirectionDir removal by MSVC IDE
2914         https://bugs.webkit.org/show_bug.cgi?id=57383
2915
2916         Visual Studio's IDE was removing instances of $(WebKitVSPropsRedirectionDir) from
2917         InheritedPropertySheet rules in our vcproj files when the vcproj was edited from within
2918         the IDE. To avoid this, add a separate vsprops file for each project configuration that
2919         contains the required inherited property sheets.
2920
2921         * WebKit.vcproj/Interfaces.vcproj:
2922         * WebKit.vcproj/InterfacesDebug.vsprops: Added.
2923         * WebKit.vcproj/InterfacesDebugAll.vsprops: Added.
2924         * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops: Added.
2925         * WebKit.vcproj/InterfacesRelease.vsprops: Added.
2926         * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops: Added.
2927         * WebKit.vcproj/InterfacesReleaseLTCG.vsprops: Added.
2928         * WebKit.vcproj/WebKit.vcproj:
2929         * WebKit.vcproj/WebKitGUID.vcproj:
2930         * WebKit.vcproj/WebKitGUIDDebug.vsprops: Added.
2931         * WebKit.vcproj/WebKitGUIDDebugAll.vsprops: Added.
2932         * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops: Added.
2933         * WebKit.vcproj/WebKitGUIDRelease.vsprops: Added.
2934         * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops: Added.
2935         * WebKit.vcproj/WebKitGUIDReleaseLTCG.vsprops: Added.
2936         * WebKit.vcproj/WebKitLibDebug.vsprops: Added.
2937         * WebKit.vcproj/WebKitLibDebugAll.vsprops: Added.
2938         * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Added.
2939         * WebKit.vcproj/WebKitLibRelease.vsprops: Added.
2940         * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Added.
2941         * WebKit.vcproj/WebKitLibReleaseLTCG.vsprops: Added.
2942
2943 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
2944
2945         Reviewed by Adam Roben.
2946
2947         Remove #pragma warning push and pop statements
2948         https://bugs.webkit.org/show_bug.cgi?id=57198
2949
2950         We do not need to disable warnings via #pragma since we started
2951         compiling WebCore with the same compiler warnings flags as WebKit.
2952
2953         * DOMCSSClasses.cpp:
2954         * DOMCoreClasses.cpp:
2955         * DOMEventsClasses.cpp:
2956         * DOMHTMLClasses.cpp:
2957         * DefaultDownloadDelegate.cpp:
2958         * DefaultPolicyDelegate.cpp:
2959         * MarshallingHelpers.cpp:
2960         * WebActionPropertyBag.cpp:
2961         * WebActionPropertyBag.h:
2962         * WebCache.cpp:
2963         * WebCoreSupport/WebDragClient.cpp:
2964         * WebCoreSupport/WebEditorClient.cpp:
2965         * WebCoreSupport/WebEditorClient.h:
2966         * WebCoreSupport/WebFrameLoaderClient.cpp:
2967         * WebCoreSupport/WebFrameLoaderClient.h:
2968         * WebCoreSupport/WebInspectorClient.cpp:
2969         * WebDocumentLoader.h:
2970         * WebDownload.cpp:
2971         * WebDownloadCFNet.cpp:
2972         * WebDownloadCurl.cpp:
2973         * WebElementPropertyBag.cpp:
2974         * WebError.cpp:
2975         * WebError.h:
2976         * WebFrame.cpp:
2977         * WebFrame.h:
2978         * WebFramePolicyListener.cpp:
2979         * WebFramePolicyListener.h:
2980         * WebHistory.cpp:
2981         * WebHistoryItem.cpp:
2982         * WebIconDatabase.cpp:
2983         * WebIconDatabase.h:
2984         * WebInspector.cpp:
2985         * WebJavaScriptCollector.cpp:
2986         * WebKitGraphics.cpp:
2987         * WebKitSystemBits.cpp:
2988         * WebLocalizableStrings.cpp:
2989         * WebMutableURLRequest.cpp:
2990         * WebMutableURLRequest.h:
2991         * WebNodeHighlight.cpp:
2992         * WebNodeHighlight.h:
2993         * WebNotificationCenter.cpp:
2994         * WebResource.cpp:
2995         * WebResource.h:
2996         * WebScrollBar.cpp:
2997         * WebScrollBar.h:
2998         * WebURLAuthenticationChallenge.cpp:
2999         * WebURLAuthenticationChallenge.h:
3000         * WebURLAuthenticationChallengeSender.cpp:
3001         * WebURLAuthenticationChallengeSenderCFNet.cpp:
3002         * WebURLAuthenticationChallengeSenderCurl.cpp:
3003         * WebURLCredential.cpp:
3004         * WebURLCredential.h:
3005         * WebURLProtectionSpace.cpp:
3006         * WebURLProtectionSpace.h:
3007         * WebURLResponse.cpp:
3008         * WebURLResponse.h:
3009
3010 2011-03-29  Brent Fulgham  <bfulgham@webkit.org>
3011
3012         Unreviewed build fix after r82247.
3013
3014         * WebMutableURLRequest.cpp: The new CertificateCFWin routines
3015         are not CFNetwork-specific. All CF-based ports can use them.
3016
3017 2011-03-29  Patrick Gansterer  <paroga@webkit.org>
3018
3019         Reviewed by Adam Roben.
3020
3021         [WIN] Use WCHAR instead of TCHAR
3022         https://bugs.webkit.org/show_bug.cgi?id=57191
3023
3024         We always use the UNICODE versions of windows functions, so
3025         the usage of TCHAR makes no sense and mixing them is bad style.
3026
3027         * DefaultDownloadDelegate.cpp:
3028         * WebCoreSupport/WebChromeClient.cpp:
3029         * WebCoreSupport/WebContextMenuClient.cpp:
3030         * WebCoreSupport/WebInspectorClient.cpp:
3031         * WebKitDLL.cpp:
3032         * WebNotificationCenter.cpp:
3033         * WebPreferences.cpp:
3034         * WebURLResponse.cpp:
3035         * WebView.cpp:
3036
3037 2011-03-29  Jeff Miller  <jeffm@apple.com>
3038
3039         Reviewed by Jon Honeycutt.
3040
3041         Add WebCore::copyCertificateToData() on Windows
3042         https://bugs.webkit.org/show_bug.cgi?id=57296
3043
3044         Remove duplicate code that implemented this functionality in WebMutableURLRequest.cpp and use WebCore::copyCertificateToData() instead. 
3045
3046         * WebMutableURLRequest.cpp:
3047         (WebMutableURLRequest::setClientCertificate):  Use WebCore::copyCertificateToData().
3048
3049 2011-03-28  Patrick Gansterer  <paroga@webkit.org>
3050
3051         Reviewed by Adam Roben.
3052
3053         [WIN] Remove unused DOMCreateInstance files
3054         https://bugs.webkit.org/show_bug.cgi?id=57193
3055
3056         * DOMCreateInstance.cpp: Removed.
3057         * DOMCreateInstance.h: Removed.
3058
3059 2011-03-28  Adele Peterson  <adele@apple.com>
3060
3061         Build fix.
3062         
3063         * WebFrame.cpp: (WebFrame::hasSpellingMarker):
3064         Call new selectionStartHasMarkerFor method instead of selectionStartHasSpellingMarkerFor.
3065
3066 2011-03-28  Jeff Miller  <jeffm@apple.com>
3067
3068         Reviewed by Adam Roben.
3069
3070         Include certificate when sending a WebCore::ResourceError to UI process on Windows
3071         https://bugs.webkit.org/show_bug.cgi?id=57195
3072         
3073         Rename callers of wkGetSSLPeerCertificateData() to use wkGetSSLPeerCertificateDataBytePtr(), since it returns a void*.
3074
3075         * WebError.cpp:
3076         (WebError::sslPeerCertificate):
3077         * WebURLResponse.cpp:
3078         (WebURLResponse::sslPeerCertificate):
3079
3080 2011-03-28  Darin Adler  <darin@apple.com>
3081
3082         Set eol-style to native on more files. I noticed the last check-in had an entire file
3083         changing because of an EOL style change, and setting this property prevents that from
3084         happening in future. We may want to do this systematically for more of WebKit later.
3085
3086         * AccessibleBase.cpp: Added property svn:eol-style.
3087         * AccessibleBase.h: Added property svn:eol-style.
3088         * AccessibleDocument.cpp: Added property svn:eol-style.
3089         * AccessibleDocument.h: Added property svn:eol-style.
3090         * AccessibleImage.cpp: Added property svn:eol-style.
3091         * AccessibleImage.h: Added property svn:eol-style.
3092         * COMVariantSetter.h: Added property svn:eol-style.
3093         * FullscreenVideoController.cpp: Added property svn:eol-style.
3094         * FullscreenVideoController.h: Added property svn:eol-style.
3095         * WebCoreSupport/EmbeddedWidget.cpp: Added property svn:eol-style.
3096         * WebCoreSupport/EmbeddedWidget.h: Added property svn:eol-style.
3097         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp: Added property svn:eol-style.
3098         * WebCoreSupport/WebDesktopNotificationsDelegate.h: Added property svn:eol-style.
3099         * WebCoreSupport/WebFrameLoaderClient.cpp: Added property svn:eol-style.
3100         * WebCoreSupport/WebInspectorDelegate.cpp: Added property svn:eol-style.
3101         * WebCoreSupport/WebInspectorDelegate.h: Added property svn:eol-style.
3102         * WebCoreSupport/WebPlatformStrategies.cpp: Added property svn:eol-style.
3103         * WebCoreSupport/WebPlatformStrategies.h: Added property svn:eol-style.
3104         * WebCoreSupport/WebPluginHalterClient.cpp: Added property svn:eol-style.
3105         * WebCoreSupport/WebPluginHalterClient.h: Added property svn:eol-style.
3106
3107 2011-03-28  Patrick Gansterer  <paroga@webkit.org>
3108
3109         Unreviewed build fix.
3110
3111         * COMPropertyBag.h: Added missing include.
3112         * WebKitCOMAPI.h: Ditto.
3113         * WebCoreSupport/WebFrameLoaderClient.h: Added missing forward declaration.
3114
3115 2011-03-25  Sam Weinig  <sam@webkit.org>
3116
3117         Reviewed by Jon Honeycutt.
3118
3119         WebScrollBar not updating when calling WebScrollBar::setValue.
3120         <rdar://problem/9143871>
3121
3122         * WebScrollBar.cpp:
3123         (WebScrollBar::setValue):
3124         Call scrollToOffsetWithoutAnimation to actually update the scroll position.
3125
3126 2011-03-25  Andy Estes  <aestes@apple.com>
3127
3128         Reviewed by Adele Peterson.
3129
3130         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
3131         https://bugs.webkit.org/show_bug.cgi?id=49016
3132
3133         Update objectContentType() implementation to handle the
3134         shouldPreferPlugInsForImages flag.
3135
3136         * WebFrame.cpp:
3137         (WebFrame::objectContentType):
3138         * WebFrame.h:
3139
3140 2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
3141
3142         Unreviewed, rolling out r81916 and r81917.
3143         http://trac.webkit.org/changeset/81916
3144         http://trac.webkit.org/changeset/81917
3145         https://bugs.webkit.org/show_bug.cgi?id=57071
3146
3147         broke a test on platforms that do not have QuickTime installed
3148         (Requested by estes on #webkit).
3149
3150         * WebFrame.cpp:
3151         (WebFrame::objectContentType):
3152         * WebFrame.h:
3153
3154 2011-03-24  Andy Estes  <aestes@apple.com>
3155
3156         Reviewed by Darin Adler.
3157
3158         REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
3159         https://bugs.webkit.org/show_bug.cgi?id=49016
3160
3161         Update objectContentType() implementation to handle the
3162         shouldPreferPlugInsForImages flag.
3163
3164         * WebFrame.cpp:
3165         (WebFrame::objectContentType):
3166         * WebFrame.h:
3167
3168 2011-03-23  Brady Eidson  <beidson@apple.com>
3169
3170         Reviewed by Sam Weinig.
3171
3172         Change IconDatabase opening to allow for arbitrary filenames
3173         https://bugs.webkit.org/show_bug.cgi?id=56977
3174
3175         * WebIconDatabase.cpp:
3176         (WebIconDatabase::startUpIconDatabase):
3177
3178 2011-03-22  Brady Eidson  <beidson@apple.com>
3179
3180         Reviewed by Sam Weinig.
3181
3182         <rdar://problem/8648311> and https://bugs.webkit.org/show_bug.cgi?id=56876
3183         WK2 Icon DB: Expand IconDatabaseClient interface and move it to the main thread
3184
3185         Note that while the new client calls always come through on the main thread, our mechanisms to
3186         route dispatches to the main thread are still valid and will still work.
3187
3188         Update to the new IconDatabaseClient interface:
3189         * WebIconDatabase.cpp:
3190         (WebIconDatabase::performImport):
3191         (WebIconDatabase::didRemoveAllIcons):
3192         (WebIconDatabase::didImportIconURLForPageURL):
3193         (WebIconDatabase::didImportIconDataForPageURL):
3194         (WebIconDatabase::didChangeIconForPageURL):
3195         (WebIconDatabase::didFinishURLImport):
3196         * WebIconDatabase.h:
3197
3198 2011-03-17  Brady Eidson  <beidson@apple.com>
3199
3200         Reviewed by Sam Weinig.
3201
3202         https://bugs.webkit.org/show_bug.cgi?id=56425
3203         More groundwork for WebKit2 IconDatabase
3204
3205         Update already-used function names:
3206         * WebIconDatabase.cpp:
3207         (WebIconDatabase::iconForURL):
3208         (WebIconDatabase::iconURLForURL):
3209         (WebIconDatabase::hasIconForURL):
3210
3211 2011-03-18  Pavel Podivilov  <podivilov@chromium.org>
3212
3213         Reviewed by Yury Semikhatsky.
3214
3215         Web Inspector: implement inspector session storage.
3216         https://bugs.webkit.org/show_bug.cgi?id=56643
3217
3218         * WebCoreSupport/WebInspectorClient.cpp:
3219         (WebInspectorClient::saveSessionSetting):
3220         (WebInspectorClient::loadSessionSetting):
3221         (WebInspectorFrontendClient::saveSessionSetting):
3222         (WebInspectorFrontendClient::loadSessionSetting):
3223         * WebCoreSupport/WebInspectorClient.h:
3224
3225 2011-03-11  Brady Eidson  <beidson@apple.com>
3226
3227         More Windows build fix for https://bugs.webkit.org/show_bug.cgi?id=56216
3228
3229         * WebCoreStatistics.cpp:
3230         * WebIconDatabase.cpp:
3231
3232 2011-03-09  Peter Kasting  <pkasting@google.com>
3233
3234         Reviewed by Mihai Parparita.
3235
3236         Unify Windows version checks.
3237         https://bugs.webkit.org/show_bug.cgi?id=55979
3238
3239         * WebView.cpp:
3240         (WebView::standardUserAgentWithApplicationName):
3241         (webKitVersionString):
3242
3243 2011-03-07  Sam Weinig  <sam@webkit.org>
3244
3245         Reviewed by Anders Carlsson.
3246
3247         Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
3248         https://bugs.webkit.org/show_bug.cgi?id=55827
3249
3250         Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
3251         and pass the entire response, instead of just the MIMEType.
3252
3253         * WebFrame.cpp:
3254         (WebFrame::dispatchDecidePolicyForResponse):
3255         * WebFrame.h:
3256
3257 2011-03-04  Steve Falkenburg  <sfalken@apple.com>
3258
3259         Reviewed by Darin Adler.
3260
3261         Adopt VersionStamper tool for Windows WebKit DLLs
3262         https://bugs.webkit.org/show_bug.cgi?id=55784
3263
3264         Calculate the WebKit version for the useragent via autoversion.h
3265         instead of reading it back from the DLL.
3266         
3267         We now use a tool to stamp the version number onto the Apple WebKit DLLs
3268         during the post-build step.
3269
3270         * WebKit.vcproj/WebKit.rc: Removed. This file wasn't used.
3271         * WebKit.vcproj/WebKitLibCommon.vsprops: Fetch version from a string resource.
3272         * WebView.cpp:
3273         (WebView::standardUserAgentWithApplicationName): Use __BUILD_NUMBER_SHORT__ for the version.
3274         (osVersion): Removed
3275
3276 2011-03-03  Anders Carlsson  <andersca@apple.com>
3277
3278         Reviewed by Sam Weinig.
3279
3280         Get rid of Page::globalHistoryItem
3281         https://bugs.webkit.org/show_bug.cgi?id=55738
3282
3283         * WebCoreSupport/WebFrameLoaderClient.cpp:
3284         (WebFrameLoaderClient::updateGlobalHistoryItemForPage):
3285         Get the current history item and update it using WebView::setGlobalHistoryItem.
3286         
3287         * WebCoreSupport/WebFrameLoaderClient.h:
3288         * WebView.cpp:
3289         (WebView::globalHistoryItem):
3290         (WebView::setGlobalHistoryItem):
3291         * WebView.h:
3292
3293 2011-03-03  Brent Fulgham  <bfulgham@webkit.org>
3294
3295         Unreviewed build correction.
3296
3297         * WebFrame.cpp:
3298         (scaleFactor): Update after 77286 to replace right/bottom
3299         with new maxX/maxY terminology.
3300
3301 2011-03-03  Brady Eidson  <beidson@apple.com>
3302
3303         Reviewed by Darin Adler.
3304
3305         https://bugs.webkit.org/show_bug.cgi?id=55721
3306         Global IconDatabase should be returned by reference, not as a pointer
3307
3308         * WebCoreStatistics.cpp:
3309         (WebCoreStatistics::iconPageURLMappingCount):
3310         (WebCoreStatistics::iconRetainedPageURLCount):
3311         (WebCoreStatistics::iconRecordCount):
3312         (WebCoreStatistics::iconsWithDataCount):
3313         * WebIconDatabase.cpp:
3314         (WebIconDatabase::init):
3315         (WebIconDatabase::startUpIconDatabase):
3316         (WebIconDatabase::iconForURL):
3317         (WebIconDatabase::retainIconForURL):
3318         (WebIconDatabase::releaseIconForURL):
3319         (WebIconDatabase::removeAllIcons):
3320         (WebIconDatabase::iconURLForURL):
3321         (WebIconDatabase::isEnabled):
3322         (WebIconDatabase::setEnabled):
3323         (WebIconDatabase::hasIconForURL):
3324         (WebIconDatabase::getOrCreateDefaultIconBitmap):
3325         * WebKitDLL.cpp:
3326         (shutDownWebKit):
3327
3328 2011-03-03  Alexey Proskuryakov  <ap@apple.com>
3329
3330         Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
3331         via ChromeClient.h
3332
3333         * WebCoreSupport/WebChromeClient.h:
3334
3335 2011-03-02  Alexey Proskuryakov  <ap@apple.com>
3336
3337         Reviewed by Darin Adler.
3338
3339         REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
3340         https://bugs.webkit.org/show_bug.cgi?id=55633
3341         <rdar://problem/8963023>
3342
3343         * WebCoreSupport/WebChromeClient.cpp: (WebChromeClient::keyboardUIMode):
3344         * WebCoreSupport/WebChromeClient.h:
3345         Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
3346         this platform doesn't observe or have full keyboard access state.
3347
3348 2011-03-03  Peter Kasting  <pkasting@google.com>
3349
3350         Reviewed by James Robinson.
3351
3352         Drop redundant "Windows; " from the Windows-specific User Agent string.
3353         https://bugs.webkit.org/show_bug.cgi?id=54567
3354
3355         * WebView.cpp:
3356         (WebView::standardUserAgentWithApplicationName):
3357
3358 2011-03-01  Brian Weinstein  <bweinstein@apple.com>
3359
3360         Reviewed by Adam Roben.
3361
3362         Part of WebKit2: Need a way to send notifications to client when cookies change
3363         https://bugs.webkit.org/show_bug.cgi?id=55427
3364         <rdar://problem/9056027>
3365         
3366         Add stubs for CookiesStrategy on Windows WebKit1.
3367
3368         * WebCoreSupport/WebPlatformStrategies.cpp:
3369         (WebPlatformStrategies::createCookiesStrategy):
3370         (WebPlatformStrategies::notifyCookiesChanged):
3371         * WebCoreSupport/WebPlatformStrategies.h:
3372
3373 2011-02-28  Chang Shu  <cshu@webkit.org>
3374
3375         Reviewed by Ryosuke Niwa.
3376
3377         Remove the support of Frame::isContentEditable and its dependencies.
3378         https://bugs.webkit.org/show_bug.cgi?id=54292
3379
3380         Remove the WebKit side implementation.
3381
3382         * WebCoreSupport/WebEditorClient.cpp:
3383         * WebCoreSupport/WebEditorClient.h:
3384
3385 2011-02-28  Adam Roben  <aroben@apple.com>
3386
3387         Build TestWebKitAPIInjectedBundle on Windows
3388
3389         Fixes <http://webkit.org/b/55420> run-api-tests doesn't run injected bundle tests on Windows
3390
3391         Reviewed by Darin Adler.
3392
3393         * WebKit.vcproj/WebKit.sln: Added TestWebKitAPIInjectedBundle. Let VS simplify the paths to
3394         the project files.
3395
3396 2011-02-28  Sheriff Bot  <webkit.review.bot@gmail.com>
3397
3398         Unreviewed, rolling out r78789.
3399         http://trac.webkit.org/changeset/78789
3400         https://bugs.webkit.org/show_bug.cgi?id=55409
3401
3402         Incorrect canvas fallback implementation (Requested by
3403         inferno-sec on #webkit).
3404
3405         * AccessibleBase.cpp:
3406         (MSAARole):
3407
3408 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
3409
3410         Reviewed by Pavel Feldman.
3411
3412         DumpRenderTree should reset frame opener between tests.
3413         https://bugs.webkit.org/show_bug.cgi?id=54874
3414
3415         Added clearOpener method to IWebFramePrivate.
3416         Touched WebKit.idl to trigger build scripts.
3417
3418         * Interfaces/IWebFramePrivate.idl:
3419         * Interfaces/WebKit.idl:
3420         * WebFrame.cpp:
3421         (WebFrame::clearOpener):
3422         * WebFrame.h:
3423
3424 2011-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3425
3426         Unreviewed, rolling out r79764.
3427         http://trac.webkit.org/changeset/79764
3428         https://bugs.webkit.org/show_bug.cgi?id=55295
3429
3430         "broke Chromium builds" (Requested by rniwa on #webkit).
3431
3432         * Interfaces/IWebFramePrivate.idl:
3433         * Interfaces/WebKit.idl:
3434         * WebFrame.cpp:
3435         * WebFrame.h:
3436
3437 2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
3438
3439         Reviewed by Pavel Feldman.
3440
3441         DumpRenderTree should reset frame opener between tests.
3442         https://bugs.webkit.org/show_bug.cgi?id=54874
3443
3444         Added clearOpener method to IWebFramePrivate.
3445         Touched WebKit.idl to trigger build scripts.
3446
3447         * Interfaces/IWebFramePrivate.idl:
3448         * Interfaces/WebKit.idl:
3449         * WebFrame.cpp:
3450         (WebFrame::clearOpener):
3451         * WebFrame.h:
3452
3453 2011-02-24  Peter Kasting  <pkasting@google.com>
3454
3455         Reviewed by Eric Seidel.
3456
3457         Drop the "U; " encryption level from the User Agent string.
3458         https://bugs.webkit.org/show_bug.cgi?id=54566
3459
3460         * WebView.cpp:
3461         (WebView::standardUserAgentWithApplicationName):
3462
3463 2011-02-24  Andrew Wilson  <atwilson@chromium.org>
3464
3465         Unreviewed, rolling out r79570.
3466         http://trac.webkit.org/changeset/79570
3467         https://bugs.webkit.org/show_bug.cgi?id=54874
3468
3469         Breaks chromium build because glue/mocks/mock_web_frame.h/cc
3470         was not updated
3471
3472         * Interfaces/IWebFramePrivate.idl:
3473         * Interfaces/WebKit.idl:
3474         * WebFrame.cpp:
3475         * WebFrame.h:
3476
3477 2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
3478
3479         Reviewed by Alexey Proskuryakov.
3480
3481         DumpRenderTree should reset frame opener between tests.
3482         https://bugs.webkit.org/show_bug.cgi?id=54874
3483
3484         Added clearOpener method to IWebFramePrivate.
3485         Touched WebKit.idl to trigger build scripts.
3486
3487         * Interfaces/IWebFramePrivate.idl:
3488         * Interfaces/WebKit.idl:
3489         * WebFrame.cpp:
3490         (WebFrame::clearOpener):
3491         * WebFrame.h:
3492
3493 2011-02-23  Patrick Gansterer  <paroga@webkit.org>
3494
3495         Reviewed by Darin Adler.
3496
3497         Rename PLATFORM(CF) to USE(CF)
3498         https://bugs.webkit.org/show_bug.cgi?id=53540
3499
3500         * WebView.cpp:
3501
3502 2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
3503
3504         Reviewed by Alexey Proskuryakov.
3505
3506         Drop the language tag part from the User Agent string
3507         https://bugs.webkit.org/show_bug.cgi?id=54560
3508
3509         * WebView.cpp:
3510         (WebView::standardUserAgentWithApplicationName):
3511
3512 2011-02-19  Charlie Reis  <creis@chromium.org>
3513
3514         Reviewed by Mihai Parparita.
3515
3516         Ensure loading has stopped in HistoryController::goToItem
3517         https://bugs.webkit.org/show_bug.cgi?id=54517
3518
3519         Add a FrameLoaderClient callback for whether to stop loading before goToItem.
3520
3521         Test: http/tests/navigation/forward-to-fragment-fires-onload.html
3522
3523         * WebCoreSupport/WebFrameLoaderClient.cpp:
3524         (WebFrameLoaderClient::shouldStopLoadingForHistoryItem): Added.
3525         * WebCoreSupport/WebFrameLoaderClient.h:
3526
3527 2011-02-16  David Hyatt  <hyatt@apple.com>
3528
3529         Reviewed by Dan Bernstein.
3530
3531         https://bugs.webkit.org/show_bug.cgi?id=54244
3532         
3533         Convert the line box tree to floating point and eliminate font rounding hacks.  This patch removes all of the rounding
3534         hacks from the Font code and makes sure all Font APIs involving width measurement and width offsets use floats.
3535         
3536         The line box tree's x, y and logicalWidth members have all been converted to floats and all of the line box APIs have
3537         been changed as well.
3538         
3539         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).
3540         
3541         Background and border painting is using a rounding model, so borders and backgrounds will round to the nearest pixel when painting.
3542         
3543         Replaced elements still snap to integer positions on lines, and they use a rounding model as well, although their underlying line boxes
3544         still have a precise floating point position.
3545
3546         Justification will now allow subpixel positioning to occur as well.  Platforms that don't support subpixel positioning should already
3547         be rounding justification spacing in their font code.
3548
3549         Many layout test results change on Mac, since rounding hacks were used there and are now gone.
3550
3551         * WebKitGraphics.cpp:
3552         (CenterTruncateStringToWidth):
3553         (RightTruncateStringToWidth):
3554
3555 2011-02-10  Luiz Agostini  <luiz.agostini@openbossa.org>
3556
3557         Reviewed by Adam Roben.
3558
3559         HTML5 <details> and <summary>: localized text
3560         https://bugs.webkit.org/show_bug.cgi?id=54260
3561
3562         The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
3563         provide the default label to be used by a <details> tag that has no <summary> child.
3564
3565         * WebCoreSupport/WebPlatformStrategies.cpp:
3566         (WebPlatformStrategies::defaultDetailsSummaryText):
3567         * WebCoreSupport/WebPlatformStrategies.h:
3568
3569 2011-02-16  Dominic Mazzoni  <dmazzoni@google.com>
3570
3571         Reviewed by Chris Fleizach.
3572
3573         Add new role for canvas elements.
3574
3575         https://bugs.webkit.org/show_bug.cgi?id=50126
3576
3577         Test: accessibility/canvas-fallback-content.html
3578
3579         * AccessibleBase.cpp:
3580         (MSAARole):
3581
3582 2011-02-15  Kenneth Russell  <kbr@google.com>
3583
3584         Unreviewed. Remove whitespace-only change from
3585         http://trac.webkit.org/changeset/78620 (https://bugs.webkit.org/show_bug.cgi?id=54312)
3586         now that the patch has passed the Windows build bots.
3587
3588         * Interfaces/WebKit.idl:
3589
3590 2011-02-15  Kenneth Russell  <kbr@google.com>
3591
3592         Reviewed by Darin Fisher.
3593
3594         Allow controlling minimum DOMTimer interval on a per-page basis
3595         https://bugs.webkit.org/show_bug.cgi?id=54312
3596
3597         Added needed methods to implement LayoutTestController's new
3598         setMinimumTimerInterval method. Includes whitespace-only change to
3599         WebKit.idl to trigger proper rebuild on bots; will be