VS2010 WebKit projects, scripts, and property sheets.
[WebKit-https.git] / Source / WebKit / win / ChangeLog
1 2013-02-01  Roger Fong  <roger_fong@apple.com>
2
3         Unreviewed. Copy some resource files for VS2010 solution.
4         https://bugs.webkit.org/show_bug.cgi?id=106989.
5
6         * WebKit.resources/WebKit.rc: Added.
7         * WebKit.resources/deleteButton.png: Added.
8         * WebKit.resources/deleteButtonPressed.png: Added.
9         * WebKit.resources/fsVideoAudioVolumeHigh.png: Added.
10         * WebKit.resources/fsVideoAudioVolumeLow.png: Added.
11         * WebKit.resources/fsVideoExitFullscreen.png: Added.
12         * WebKit.resources/fsVideoPause.png: Added.
13         * WebKit.resources/fsVideoPlay.png: Added.
14         * WebKit.resources/missingImage.png: Added.
15         * WebKit.resources/nullplugin.png: Added.
16         * WebKit.resources/panEastCursor.png: Added.
17         * WebKit.resources/panIcon.png: Added.
18         * WebKit.resources/panNorthCursor.png: Added.
19         * WebKit.resources/panNorthEastCursor.png: Added.
20         * WebKit.resources/panNorthWestCursor.png: Added.
21         * WebKit.resources/panSouthCursor.png: Added.
22         * WebKit.resources/panSouthEastCursor.png: Added.
23         * WebKit.resources/panSouthWestCursor.png: Added.
24         * WebKit.resources/panWestCursor.png: Added.
25         * WebKit.resources/searchCancel.png: Added.
26         * WebKit.resources/searchCancelPressed.png: Added.
27         * WebKit.resources/searchMagnifier.png: Added.
28         * WebKit.resources/searchMagnifierResults.png: Added.
29         * WebKit.resources/textAreaResizeCorner.png: Added.
30         * WebKit.resources/verticalTextCursor.png: Added.
31         * WebKit.resources/zoomInCursor.png: Added.
32         * WebKit.resources/zoomOutCursor.png: Added.
33
34 2013-02-04  Benjamin Poulain  <bpoulain@apple.com>
35
36         Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
37         https://bugs.webkit.org/show_bug.cgi?id=108741
38
39         Reviewed by Tony Chang.
40
41         * WebKit.vcproj/WebKitExports.def.in:
42
43 2013-02-04  Enrica Casucci  <enrica@apple.com>
44
45         Add specific EditActions for Bold and Italic commands.
46         https://bugs.webkit.org/show_bug.cgi?id=108842.
47         <rdar://problem/13098252>
48
49         Reviewed by Ryosuke Niwa.
50
51         * WebCoreSupport/WebEditorClient.cpp:
52         (undoNameForEditAction):
53
54 2013-02-03  KwangYong Choi  <ky0.choi@samsung.com>
55
56         Fix build warning after r141473
57         https://bugs.webkit.org/show_bug.cgi?id=108782
58
59         Reviewed by Kentaro Hara.
60
61         Fix -Wunused-parameter build warning.
62
63         * WebCoreSupport/WebEditorClient.cpp:
64         (WebEditorClient::getClientPasteboardDataForRange):
65
66 2013-02-01  Philip Rogers  <pdr@google.com>
67
68         Change hasAlpha to isKnownToBeOpaque and correct the return value for SVG images.
69         https://bugs.webkit.org/show_bug.cgi?id=106966
70
71         Reviewed by Stephen White.
72
73         * WebKit.vcproj/WebKitExports.def.in:
74
75 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
76
77         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
78         https://bugs.webkit.org/show_bug.cgi?id=107737
79
80         Reviewed by Ryosuke Niwa.
81
82         * WebView.cpp:
83         (WebView::updateSelectionForIME):
84             Adding a call to the newly refactored method.
85
86 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
87
88         Unreviewed, rolling out r141479.
89         http://trac.webkit.org/changeset/141479
90         https://bugs.webkit.org/show_bug.cgi?id=108564
91
92         breaks chromium test (Requested by morrita on #webkit).
93
94         * WebView.cpp:
95         (WebView::updateSelectionForIME):
96
97 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
98
99         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
100         https://bugs.webkit.org/show_bug.cgi?id=107737
101
102         Reviewed by Ryosuke Niwa.
103
104         * WebView.cpp:
105         (WebView::updateSelectionForIME):
106             Adding a call to the newly refactored method.
107
108 2013-01-31  Enrica Casucci  <enrica@apple.com>
109
110         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
111         https://bugs.webkit.org/show_bug.cgi?id=108396.
112         <rdar://problem/12920461>
113
114         Reviewed by Alexey Proskuryakov.
115
116         Adds stub implementation for WebKit of the new EditorClient methods.
117
118         * WebCoreSupport/WebEditorClient.cpp:
119         (WebEditorClient::willWriteSelectionToPasteboard):
120         (WebEditorClient::getClientPasteboardDataForRange):
121         * WebCoreSupport/WebEditorClient.h:
122
123 2013-01-29  Shinya Kawanaka  <shinyak@chromium.org>
124
125         [Chromium] Cannot copy text when selecting readonly (or disabled) input elements
126         https://bugs.webkit.org/show_bug.cgi?id=106287
127
128         Reviewed by Hajime Morita.
129
130         * WebKit.vcproj/WebKitExports.def.in:
131
132 2013-01-29  Elliott Sprehn  <esprehn@chromium.org>
133
134         Refactor ShadowRoot exception handling
135         https://bugs.webkit.org/show_bug.cgi?id=108209
136
137         Reviewed by Dimitri Glazkov.
138
139         * WebKit.vcproj/WebKitExports.def.in: Swap ShadowRoot::create export with Element::createShadowRoot.
140
141 2013-01-29  Nate Chapin  <japhet@chromium.org>
142
143         Enable reuse of cached main resources
144         https://bugs.webkit.org/show_bug.cgi?id=105667
145
146         Reviewed by Adam Barth.
147
148         * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals.
149
150 2013-01-27  Zoltan Arvai  <zarvai@inf.u-szeged.hu>
151
152         Fixing atomicIncrement implementation for Windows by dropping support before XP SP2.
153         https://bugs.webkit.org/show_bug.cgi?id=106740
154
155         Reviewed by Benjamin Poulain.
156
157         * WebKitPrefix.h:
158
159 2013-01-26  Alexey Proskuryakov  <ap@apple.com>
160
161         Remove code for handling NetworkProcess authentication challenges in WebProcess
162         https://bugs.webkit.org/show_bug.cgi?id=108003
163
164         Reviewed by Sam Weinig.
165
166         * WebURLAuthenticationChallenge.cpp:
167         (WebURLAuthenticationChallenge::initWithProtectionSpace):
168         Adapted for new AuthenticationChallenge constructor signature.
169
170 2013-01-24  Mark Hahnenberg  <mhahnenberg@apple.com>
171
172         Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
173         https://bugs.webkit.org/show_bug.cgi?id=107327
174
175         Reviewed by Filip Pizlo.
176
177         We're renaming these two files, so we have to replace the names everywhere.
178
179         * WebFrame.cpp:
180         * WebView.cpp:
181
182 2013-01-23  Tony Chang  <tony@chromium.org>
183
184         Unreviewed, set svn:eol-style to CRLF on Windows .sln files.
185
186         * WebKit.vcproj/WebKit.sln: Modified property svn:eol-style.
187         * WebKit.vcproj/WebKit.submit.sln: Modified property svn:eol-style.
188
189 2013-01-23  Pavel Feldman  <pfeldman@chromium.org>
190
191         Follow up to 140539, adding exports for Win build.
192
193         Not reviewed.
194
195         * WebKit.vcproj/WebKitExports.def.in:
196
197 2013-01-22  Anders Carlsson  <andersca@apple.com>
198
199         Use a platforom strategy for local storage
200         https://bugs.webkit.org/show_bug.cgi?id=107600
201
202         Reviewed by Andreas Kling.
203
204         Update for new storage strategy.
205
206         * WebCoreSupport/WebPlatformStrategies.cpp:
207         (WebPlatformStrategies::createStorageStrategy):
208         * WebCoreSupport/WebPlatformStrategies.h:
209         (WebPlatformStrategies):
210
211 2013-01-18  Jer Noble  <jer.noble@apple.com>
212
213         Unreviewed build fix. Remove deleted symbol from windows export list.
214
215         * WebKit.vcproj/WebKitExports.def.in:
216
217 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
218
219         Add explicit keyword to constructors in platform-specific InspectorClient
220         https://bugs.webkit.org/show_bug.cgi?id=107255
221
222         Reviewed by Kentaro Hara.
223
224         Add explicit keyword to constructors that take one argument
225         in platform-specific implementation of InspectorClient.
226
227         * WebCoreSupport/WebInspectorClient.h:
228         (WebInspectorClient):
229
230 2013-01-18  Sheriff Bot  <webkit.review.bot@gmail.com>
231
232         Unreviewed, rolling out r140005.
233         http://trac.webkit.org/changeset/140005
234         https://bugs.webkit.org/show_bug.cgi?id=107235
235
236         broke downstream Chromium interactive_ui_tests (Requested by
237         dominicc on #webkit).
238
239         * WebKit.vcproj/WebKitExports.def.in:
240
241 2013-01-17  Nate Chapin  <japhet@chromium.org>
242
243         Enable reuse of cached main resources
244         https://bugs.webkit.org/show_bug.cgi?id=105667
245
246         Reviewed by Antti Koivisto.
247
248         * WebKit.vcproj/WebKitExports.def.in: Expose some MemoryCache symbols for use in Internals.
249
250 2013-01-15  peavo@outlook.com  <peavo@outlook.com>
251
252         Crash when saving history with no items in it.
253         https://bugs.webkit.org/show_bug.cgi?id=104261
254
255         Reviewed by Darin Adler.
256
257         * WebHistory.cpp:
258         (WebHistory::saveHistoryGuts): Added null pointer check
259
260 2013-01-09  Levi Weintraub <leviw@chromium.org>
261
262         Rolling out r139683. It broke a bunch of webkit_unit_tests. 
263
264 2013-01-09  Hajime Morrita  <morrita@google.com>
265
266         [Shadow DOM] Distribution related code on ElementShadow should be minimized.
267         https://bugs.webkit.org/show_bug.cgi?id=106294
268
269         Reviewed by Dimitri Glazkov.
270
271         * WebKit.vcproj/WebKit.def.in:
272
273 2013-01-09  Roger Fong  <roger_fong@apple.com>
274
275         Rename export files to make them more easily findable.
276         https://bugs.webkit.org/show_bug.cgi?id=98695.
277
278         Reviewed by Timothy Horton.
279
280         * WebKit.vcproj/WebKit.def.in: Removed.
281         * WebKit.vcproj/WebKit.vcproj:
282         * WebKit.vcproj/WebKitExportGenerator.vcproj:
283         * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd:
284         * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd:
285         * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd:
286         * WebKit.vcproj/WebKitExports.def.in: Copied from Source/WebKit/win/WebKit.vcproj/WebKit.def.in.
287         * WebKit.vcproj/WebKitLibCommon.vsprops:
288
289 2013-01-09  Roger Fong  <roger_fong@apple.com>
290
291         Add WebPreferences for Seamless IFrames on Windows port.
292         https://bugs.webkit.org/show_bug.cgi?id=106468.
293
294         Rubberstamped by Eric Seidel.
295
296         * Interfaces/IWebPreferences.idl:
297         * WebPreferenceKeysPrivate.h:
298         * WebPreferences.cpp:
299         (WebPreferences::areSeamlessIFramesEnabled):
300         (WebPreferences::setSeamlessIFramesEnabled):
301         * WebPreferences.h:
302         (WebPreferences):
303         * WebView.cpp:
304         (WebView::notifyPreferencesChanged):
305
306 2013-01-09  peavo@outlook.com  <peavo@outlook.com>
307
308         [WinCairo] Link fix after r138759
309         https://bugs.webkit.org/show_bug.cgi?id=106323
310
311         Reviewed by Kentaro Hara.
312
313         * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops: Include WebKitCFLite.vsprops.
314         * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops: Include WebKitCFLite.vsprops.
315
316 2013-01-08  Hajime Morrita  <morrita@google.com>
317
318         [Shadow DOM] Distribution related code on ShadowRoot should be minimized.
319         https://bugs.webkit.org/show_bug.cgi?id=106282
320
321         Reviewed by Dimitri Glazkov.
322
323         * WebKit.vcproj/WebKit.def.in:
324
325 2013-01-08  Mark Lam  <mark.lam@apple.com>
326
327         Removed the need for the ProposedDatabase mechanism.
328         https://bugs.webkit.org/show_bug.cgi?id=106292.
329
330         Reviewed by Sam Weinig.
331
332         * WebCoreSupport/WebChromeClient.cpp:
333         (WebChromeClient::exceededDatabaseQuota):
334         * WebCoreSupport/WebChromeClient.h:
335         (WebChromeClient):
336
337 2013-01-04  Roger Fong  <roger_fong@apple.com>
338
339         Make private browsing work on Windows.
340         https://bugs.webkit.org/show_bug.cgi?id=106032.
341
342         Reviewed by Alexey Proskuryakov.
343
344         Code path never called ensurePrivateBrowsingSession which is what starts up the private browsing session.
345         This was causing many tests to involving private browsing to fail.
346
347         * WebView.cpp:
348         (WebView::notifyPreferencesChanged):
349
350 2013-01-03  Roger Fong  <roger_fong@apple.com>
351
352         Remove all traces of Windows from WebKit2 folder.
353         https://bugs.webkit.org/show_bug.cgi?id=105585.
354
355         Reviewed by Sam Weinig.
356
357         WebKitExportGenerator project needs to be moved out of the WebKit2/win folder and into WebKit/win.
358
359         * WebKit.vcproj/WebKit.def.in: Added.
360         * WebKit.vcproj/WebKit.sln:
361         * WebKit.vcproj/WebKit.vcproj:
362         * WebKit.vcproj/WebKitCFLite.vsprops: Added.
363         * WebKit.vcproj/WebKitExportGenerator.vcproj: Added.
364         * WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd: Added.
365         * WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Added.
366         * WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Added.
367         * WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Added.
368         * WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Added.
369         * WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd: Added.
370         * WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd: Added.
371         * WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Added.
372         * WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Added.
373         * WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Added.
374         * WebKit.vcproj/WebKitLibCommon.vsprops:
375
376 2013-01-03  Csaba Osztrogonác  <ossy@webkit.org>
377
378         Unreviewed fix after r138656 to make GIT-SVN repositories happy.
379
380         * WebKit.vcproj/WebKitApple.vsprops: Added property svn:eol-style. Removed property svn:mime-type.
381         * WebKit.vcproj/WebKitDirectX.vsprops: Added property svn:eol-style. Removed property svn:mime-type.
382
383 2013-01-02  Roger Fong  <roger_fong@apple.com>
384
385         Unreviewed. Build fix after reintroducing r138331.
386
387         Attempted to remove WebKit2 from Apple Windows port in r138331 but two vsprops files were missing.
388
389         * WebKit.vcproj/WebKitApple.vsprops: Added.
390         * WebKit.vcproj/WebKitDirectX.vsprops: Added.
391
392 2013-01-02  Sheriff Bot  <webkit.review.bot@gmail.com>
393
394         Unreviewed, rolling out r138403.
395         http://trac.webkit.org/changeset/138403
396         https://bugs.webkit.org/show_bug.cgi?id=105950
397
398         Fixing e138331 which was rolled out in r138403 (Requested by
399         rfong on #webkit).
400
401         * WebKit.vcproj/WebKit.sln:
402         * WebKit.vcproj/WebKit.vcproj:
403         * WebKit.vcproj/WebKitLibCommon.vsprops:
404         * WebKit.vcproj/WebKitLibDebug.vsprops:
405         * WebKit.vcproj/WebKitLibDebugAll.vsprops:
406         * WebKit.vcproj/WebKitLibProduction.vsprops:
407         * WebKit.vcproj/WebKitLibRelease.vsprops:
408
409 2012-12-23  Alexey Proskuryakov  <ap@apple.com>
410
411         <rdar://problem/12808377> Network process should respect cookie accept policy
412         https://bugs.webkit.org/show_bug.cgi?id=105684
413
414         Reviewed by Sam Weinig.
415
416         * WebCoreSupport/WebPlatformStrategies.cpp:
417         * WebCoreSupport/WebPlatformStrategies.h:
418         CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
419
420 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
421
422         Add a separate class for networking related storage
423         https://bugs.webkit.org/show_bug.cgi?id=105676
424
425         Reviewed by Sam Weinig.
426
427         * WebCookieManagerCFNet.cpp:
428         * WebView.cpp:
429         Updated includes.
430
431         * WebCoreSupport/WebFrameNetworkingContext.cpp:
432         * WebCoreSupport/WebFrameNetworkingContext.h:
433         This class is now simpler, with most session tracking being in WebCore.
434
435         * WebCoreSupport/WebPlatformStrategies.cpp:
436         (WebPlatformStrategies::cookiesForDOM):
437         (WebPlatformStrategies::setCookiesFromDOM):
438         (WebPlatformStrategies::cookiesEnabled):
439         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
440         (WebPlatformStrategies::getRawCookies):
441         (WebPlatformStrategies::deleteCookie):
442         * WebCoreSupport/WebPlatformStrategies.h:
443         We no longer need a function for default storage! Other functions now take a session.
444
445 2012-12-21  Sheriff Bot  <webkit.review.bot@gmail.com>
446
447         Unreviewed, rolling out r138331.
448         http://trac.webkit.org/changeset/138331
449         https://bugs.webkit.org/show_bug.cgi?id=105668
450
451         Broke Windows clean builds; can't figure out how to fix it
452         (Requested by rniwa on #webkit).
453
454         * WebKit.vcproj/WebKit.sln:
455         * WebKit.vcproj/WebKit.vcproj:
456         * WebKit.vcproj/WebKitLibCommon.vsprops:
457         * WebKit.vcproj/WebKitLibDebug.vsprops:
458         * WebKit.vcproj/WebKitLibDebugAll.vsprops:
459         * WebKit.vcproj/WebKitLibProduction.vsprops:
460         * WebKit.vcproj/WebKitLibRelease.vsprops:
461
462 2012-12-20  Anders Carlsson  <andersca@apple.com>
463
464         Stop building WebKit2 for Windows
465         https://bugs.webkit.org/show_bug.cgi?id=105585
466
467         Reviewed by Brian Weinstein.
468
469         Stop building WebKit2 on Windows, and change WebKit.vcproj to build WebKit.dll again.
470
471         * WebKit.vcproj/WebKit.sln:
472         * WebKit.vcproj/WebKit.vcproj:
473         * WebKit.vcproj/WebKitApple.vsprops: Added.
474         * WebKit.vcproj/WebKitDirectX.vsprops: Added.
475         * WebKit.vcproj/WebKitLibCommon.vsprops:
476         * WebKit.vcproj/WebKitLibDebug.vsprops:
477         * WebKit.vcproj/WebKitLibDebugAll.vsprops:
478         * WebKit.vcproj/WebKitLibProduction.vsprops:
479         * WebKit.vcproj/WebKitLibRelease.vsprops:
480
481 2012-12-20  Anders Carlsson  <andersca@apple.com>
482
483         Copy WebKit2.rc to back to WebKit/win/WebKit.vcproj.
484
485         Rubber-stamped by Tim Horton.
486
487         * WebKit.vcproj/WebKit.rc: Added.
488
489 2012-12-20  Anders Carlsson  <andersca@apple.com>
490
491         Copy files from WebKit2/win (back) to WebKit/win/WebKit.vcproj.
492
493         Rubber-stamped by Tim Horton.
494
495         * WebKit.vcproj/deleteButton.png: Added.
496         * WebKit.vcproj/deleteButtonPressed.png: Added.
497         * WebKit.vcproj/fsVideoAudioVolumeHigh.png: Added.
498         * WebKit.vcproj/fsVideoAudioVolumeLow.png: Added.
499         * WebKit.vcproj/fsVideoExitFullscreen.png: Added.
500         * WebKit.vcproj/fsVideoPause.png: Added.
501         * WebKit.vcproj/fsVideoPlay.png: Added.
502         * WebKit.vcproj/missingImage.png: Added.
503         * WebKit.vcproj/nullplugin.png: Added.
504         * WebKit.vcproj/panEastCursor.png: Added.
505         * WebKit.vcproj/panIcon.png: Added.
506         * WebKit.vcproj/panNorthCursor.png: Added.
507         * WebKit.vcproj/panNorthEastCursor.png: Added.
508         * WebKit.vcproj/panNorthWestCursor.png: Added.
509         * WebKit.vcproj/panSouthCursor.png: Added.
510         * WebKit.vcproj/panSouthEastCursor.png: Added.
511         * WebKit.vcproj/panSouthWestCursor.png: Added.
512         * WebKit.vcproj/panWestCursor.png: Added.
513         * WebKit.vcproj/searchCancel.png: Added.
514         * WebKit.vcproj/searchCancelPressed.png: Added.
515         * WebKit.vcproj/searchMagnifier.png: Added.
516         * WebKit.vcproj/searchMagnifierResults.png: Added.
517         * WebKit.vcproj/textAreaResizeCorner.png: Added.
518         * WebKit.vcproj/verticalTextCursor.png: Added.
519         * WebKit.vcproj/zoomInCursor.png: Added.
520         * WebKit.vcproj/zoomOutCursor.png: Added.
521
522 2012-12-19  Anders Carlsson  <andersca@apple.com>
523
524         Build WebKit2ExportGenerator before WebKitLib
525         https://bugs.webkit.org/show_bug.cgi?id=105487
526
527         Reviewed by Tim Horton.
528
529         * WebKit.vcproj/WebKit.sln:
530
531 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
532
533         Remove unnecessary functions from CookiesStrategy
534         https://bugs.webkit.org/show_bug.cgi?id=105369
535
536         Reviewed by Brady Eidson.
537
538         * WebCoreSupport/WebPlatformStrategies.cpp:
539         * WebCoreSupport/WebPlatformStrategies.h:
540
541 2012-12-15  Anders Carlsson  <andersca@apple.com>
542
543         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
544         https://bugs.webkit.org/show_bug.cgi?id=105122
545
546         Reviewed by Andreas Kling.
547
548         Update for WebCore changes.
549
550         * WebFrame.cpp:
551         (WebFrame::convertMainResourceLoadToDownload):
552         * WebFrame.h:
553
554 2012-12-15  Mark Lam  <mark.lam@apple.com>
555
556         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
557         https://bugs.webkit.org/show_bug.cgi?id=104934.
558
559         Not reviewed.
560
561         Merged from r137767. Previously reviewed by Sam Weinig.
562
563         * WebCoreSupport/WebPlatformStrategies.cpp:
564         (WebPlatformStrategies::createDatabaseStrategy):
565         * WebCoreSupport/WebPlatformStrategies.h:
566         (WebPlatformStrategies):
567
568 2012-12-14  Mark Lam  <mark.lam@apple.com>
569
570         The WebView should initialize the platform strategies before initializing other sub-systems.
571         https://bugs.webkit.org/show_bug.cgi?id=105083.
572
573         Reviewed by Alexey Proskuryakov.
574
575         * WebView.cpp:
576         (WebView::initWithFrame):
577
578 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
579
580         Unreviewed, rolling out r137767.
581         http://trac.webkit.org/changeset/137767
582         https://bugs.webkit.org/show_bug.cgi?id=105062
583
584         Broke Mac builds. (Requested by mlam on #webkit).
585
586         * WebCoreSupport/WebPlatformStrategies.cpp:
587         * WebCoreSupport/WebPlatformStrategies.h:
588         (WebPlatformStrategies):
589
590 2012-12-14  Mark Lam  <mark.lam@apple.com>
591
592         Introducing the DatabaseStrategy and database servers.
593         https://bugs.webkit.org/show_bug.cgi?id=104934.
594
595         Reviewed by Sam Weinig.
596
597         The database server is currently a placeholder that does nothing.
598
599         * WebCoreSupport/WebPlatformStrategies.cpp:
600         (WebPlatformStrategies::createDatabaseStrategy):
601         * WebCoreSupport/WebPlatformStrategies.h:
602         (WebPlatformStrategies):
603
604 2012-12-13  Alexey Proskuryakov  <ap@apple.com>
605
606         <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
607         https://bugs.webkit.org/show_bug.cgi?id=104691
608
609         Reviewed by Sam Weinig.
610
611         * WebCoreSupport/WebFrameNetworkingContext.cpp:
612         (WebFrameNetworkingContext::inPrivateBrowsingMode):
613         (WebFrameNetworkingContext::storageSession):
614         * WebCoreSupport/WebFrameNetworkingContext.h:
615         Implemented inPrivateBrowsingMode().
616
617 2012-12-12  Mark Lam  <mark.lam@apple.com>
618
619         Encapsulate externally used webdatabase APIs in DatabaseManager.
620         https://bugs.webkit.org/show_bug.cgi?id=104741.
621
622         Reviewed by Sam Weinig.
623
624         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
625         and DatabaseContext directly. This is to prepare for upcoming webkit2
626         refactoring.
627
628         * WebDatabaseManager.cpp:
629         (WebDatabaseManager::sharedWebDatabaseManager):
630         (WebDatabaseManager::origins):
631         (WebDatabaseManager::databasesWithOrigin):
632         (WebDatabaseManager::detailsForDatabase):
633         (WebDatabaseManager::deleteAllDatabases):
634         (WebDatabaseManager::deleteOrigin):
635         (WebDatabaseManager::deleteDatabase):
636         (WebDatabaseManager::setQuota):
637         (WebKitInitializeWebDatabasesIfNecessary):
638         * WebDatabaseManager.h:
639         (WebDatabaseManager):
640         * WebSecurityOrigin.cpp:
641         (WebSecurityOrigin::usage):
642         (WebSecurityOrigin::quota):
643         (WebSecurityOrigin::setQuota):
644         * WebView.cpp:
645         (WebView::notifyPreferencesChanged):
646
647 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
648
649         Make LOG() work in WebProcess and NetworkProcess
650         https://bugs.webkit.org/show_bug.cgi?id=104718
651
652         Reviewed by Tim Horton.
653
654         * WebView.cpp: Updated for a new include file to use in WebKits.
655
656 2012-12-11  Mike West  <mkwst@chromium.org>
657
658         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
659         https://bugs.webkit.org/show_bug.cgi?id=66371
660
661         Reviewed by Pavel Feldman.
662
663         Drops WebCore::MessageType from the addMessageToConsole method.
664
665         * WebCoreSupport/WebChromeClient.cpp:
666         (WebChromeClient::addMessageToConsole):
667         * WebCoreSupport/WebChromeClient.h:
668         (WebChromeClient):
669
670 2012-12-10  Xueqing Huang  <huangxueqing@baidu.com>
671
672         ASSERTION failed in Windows: css3/css3-modsel-33.html
673         https://bugs.webkit.org/show_bug.cgi?id=104472
674
675         Reviewed by Tim Horton.
676
677         In WebFrameLoaderClient::dispatchDidLayout, milestones maybe
678         DidFirstLayout & DidFirstVisualNonEmptyLayout, we should
679         use seperate COMPtrs for the two cases rather than reuse one. 
680
681         * WebCoreSupport/WebFrameLoaderClient.cpp:
682         (WebFrameLoaderClient::dispatchDidLayout):
683
684 2012-12-08  Seokju Kwon  <seokju.kwon@gmail.com>
685
686         Remove unused headers
687         https://bugs.webkit.org/show_bug.cgi?id=104428
688
689         Reviewed by Kentaro Hara.
690
691         Header inclusion cleanup.
692         Remove <WebCore/NotImplement.h>.
693
694         * WebCoreSupport/WebInspectorClient.cpp:
695         * WebMutableURLRequest.cpp:
696
697 2012-12-07  Anders Carlsson  <andersca@apple.com>
698
699         Remove WebKit2 related projects from WebKit.sln
700         https://bugs.webkit.org/show_bug.cgi?id=104395
701
702         Reviewed by Tim Horton.
703
704         * WebKit.vcproj/WebKit.sln:
705
706 2012-11-30  Brent Fulgham  <bfulgham@webkit.org>
707
708         [Windows, WinCairo] Generate library export definition file.
709         https://bugs.webkit.org/show_bug.cgi?id=103687
710
711         Reviewed by Tim Horton.
712
713         Update project solutions to use the new generated *.def files.
714
715         * WebKit.vcproj/WebKit.sln: Update for new project and file
716         locations.
717
718 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
719
720         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
721         https://bugs.webkit.org/show_bug.cgi?id=101192
722
723         Reviewed by Hajime Morita.
724
725         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
726
727         Tests: No new tests because there is no functional change.
728
729         * WebView.cpp:
730         (WebView::notifyPreferencesChanged):
731
732 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
733
734         [WK2] Forward cookie jar calls to NetworkProcess
735         https://bugs.webkit.org/show_bug.cgi?id=103457
736
737         Reviewed by Darin Adler.
738
739         * WebCoreSupport/WebPlatformStrategies.cpp:
740         (WebPlatformStrategies::cookiesForDOM):
741         (WebPlatformStrategies::setCookiesFromDOM):
742         (WebPlatformStrategies::cookiesEnabled):
743         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
744         (WebPlatformStrategies::getRawCookies):
745         (WebPlatformStrategies::deleteCookie):
746         (WebPlatformStrategies::getHostnamesWithCookies):
747         (WebPlatformStrategies::deleteCookiesForHostname):
748         (WebPlatformStrategies::deleteAllCookies):
749
750 2012-11-27  James Simonsen  <simonjam@chromium.org>
751
752         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
753         https://bugs.webkit.org/show_bug.cgi?id=102151
754
755         Reviewed by Adam Barth.
756
757         * WebFrame.cpp:
758         (WebFrame::loadRequest):
759         (WebFrame::loadData):
760
761 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
762
763         Unreviewed, rolling out r135786.
764         http://trac.webkit.org/changeset/135786
765         https://bugs.webkit.org/show_bug.cgi?id=103379
766
767         It made 3 plugin tests timeout on several platforms (Requested
768         by Ossy on #webkit).
769
770         * WebFrame.cpp:
771         (WebFrame::loadRequest):
772         (WebFrame::loadData):
773
774 2012-11-26  James Simonsen  <simonjam@chromium.org>
775
776         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
777         https://bugs.webkit.org/show_bug.cgi?id=102151
778
779         Reviewed by Adam Barth.
780
781         * WebFrame.cpp:
782         (WebFrame::loadRequest):
783         (WebFrame::loadData):
784
785 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
786
787         Disambiguate innerNodeFramePoint and mainFramePoint
788         https://bugs.webkit.org/show_bug.cgi?id=98139
789
790         Reviewed by Julien Chaffraix.
791
792         * WebView.cpp:
793         (WebView::handleContextMenuEvent):
794
795 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
796
797         Unreviewed, rolling out r135295.
798         http://trac.webkit.org/changeset/135295
799         https://bugs.webkit.org/show_bug.cgi?id=102834
800
801         This patch causes assertion to some layout tests on chromium
802         (Requested by jianli on #webkit).
803
804         * WebFrame.cpp:
805         (WebFrame::loadRequest):
806         (WebFrame::loadData):
807
808 2012-11-20  James Simonsen  <simonjam@chromium.org>
809
810         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
811         https://bugs.webkit.org/show_bug.cgi?id=102151
812
813         Reviewed by Adam Barth.
814
815         * WebFrame.cpp:
816         (WebFrame::loadRequest):
817         (WebFrame::loadData):
818
819 2012-11-17  Brady Eidson  <beidson@apple.com>
820
821         Add an integer identifier field to AuthenticationChallengeBase.
822         https://bugs.webkit.org/show_bug.cgi?id=102593
823
824         Reviewed by Darin Adler.
825
826         * WebURLAuthenticationChallenge.cpp:
827         (WebURLAuthenticationChallenge::initWithProtectionSpace): Adopt the new constructor with a dummy identifier.
828
829 2012-11-16  Brent Fulgham  <bfulgham@webkit.org>
830
831         [WinCairo] Unreviewed build fix after r134960.
832
833         Avoid including Mac-specific headers.
834
835         * WebCoreSupport/WebFrameNetworkingContext.cpp: Stub out
836         CFNetwork-based implementations.
837         * WebCoreSupport/WebFrameNetworkingContext.h: Exclude
838         CFNetwork data types.
839         * WebCoreSupport/WebPlatformStrategies.cpp: Stub out
840         CFNetwork-based implementations.
841         * WebCoreSupport/WebPlatformStrategies.h: Exclude
842         CFNetwork data types.
843
844 2012-11-15  Alexey Proskuryakov  <ap@apple.com>
845
846         Private Browsing is a per-page setting that sets a global value
847         https://bugs.webkit.org/show_bug.cgi?id=67870
848
849         Reviewed by Sam Weinig.
850
851         * WebCookieManagerCFNet.cpp: (WebCookieManager::cookieStorage): We can't get
852         current session without any context, but the code was not correct anyway, the client
853         is clearly interested in a getter to match override setter.
854
855         * WebCoreSupport/WebFrameNetworkingContext.cpp: Moved code for tracking global
856         sessions from WebCore to WebKit. The behavior is unchanged, but lower levels are
857         now cleaner.
858
859         * WebCoreSupport/WebFrameNetworkingContext.h: Ditto.
860
861         * WebCoreSupport/WebPlatformStrategies.h:
862         * WebCoreSupport/WebPlatformStrategies.cpp:
863         (WebPlatformStrategies::defaultCookieStorage): Added. Use WebFrameNetworkingContext
864         for tracking the default session.
865
866         * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded):
867         Use WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts. Updating only
868         the current session is not sufficient, and did not match Mac.
869
870 2012-11-14  George Tsoumalis  <tsumalis96@gmail.com>
871
872         Implementation for mehods in WebMutableURLRequest.cpp
873         https://bugs.webkit.org/show_bug.cgi?id=83671
874
875         Reviewed by Brent Fulgham..
876
877         * WebMutableURLRequest.cpp:
878         (WebMutableURLRequest::addValue):
879         (WebMutableURLRequest::setMainDocumentURL):
880         (WebMutableURLRequest::setHTTPShouldHandleCookies):
881
882
883 2012-11-12  Roger Fong  <roger_fong@apple.com>
884
885         REGRESSION(r130643): Assertion failure when running DRT in debug mode
886         https://bugs.webkit.org/show_bug.cgi?id=101791
887
888         Reviewed by Darin Adler.
889
890         When running DRT in debug mode, we hit an assertion failure in initializing the WebKit instance.
891         This failure started occuring in r130643 and this work around follows the work around in r132302.
892
893         * WebKitCOMAPI.cpp:
894         (CLSIDHashTraits):
895
896 2012-11-12  Roger Fong  <roger_fong@apple.com>
897
898         Web Inspector: Fix docking behaviour on Windows.
899         https://bugs.webkit.org/show_bug.cgi?id=101978
900
901         Reviewed by Brian Weinstein.
902
903         There are a number of problems with docking behaviour on Windows.
904         For starters, it does not ever constrain the inspector's size properly while docked.
905         It also does not properly set the whether or not the inspector can be docked/undocked.
906         This patch fixes both issues.
907
908         * WebCoreSupport/WebInspectorClient.cpp:
909         (WebInspectorFrontendClient::frontendLoaded): 
910         (WebInspectorFrontendClient::attachWindow):
911         Call restoreAttachedWindowHeight so that when first loading or reattaching the inspector,
912         we resize the inspector window properly.
913
914 2012-11-05  Simon Fraser  <simon.fraser@apple.com>
915
916         Fix layer borders to cleaning appear and disappear on switching
917         https://bugs.webkit.org/show_bug.cgi?id=101136
918
919         Reviewed by Sam Weinig.
920
921         Remove the GraphicsLayerClient methods showDebugBorders() and
922         showRepaintCounter().
923
924         * WebView.cpp:
925         * WebView.h:
926
927 2012-10-29  Anders Carlsson  <andersca@apple.com>
928
929         String::createCFString should return a RetainPtr
930         https://bugs.webkit.org/show_bug.cgi?id=100419
931
932         Reviewed by Andreas Kling.
933
934         Update callers of String::createCFString.
935
936         * WebCoreSupport/WebFrameLoaderClient.cpp:
937         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
938         * WebDatabaseManager.cpp:
939         (WebDatabaseManager::dispatchDidModifyDatabase):
940         * WebHistory.cpp:
941         (WebHistory::visitedURL):
942         (WebHistory::itemForURLString):
943         * WebHistoryItem.cpp:
944         (WebHistoryItem::dictionaryRepresentation):
945         * WebIconDatabase.cpp:
946         (WebIconDatabase::iconDatabaseNotificationUserInfoURLKey):
947         (postDidAddIconNotification):
948         * WebLocalizableStrings.cpp:
949         (createWebKitBundle):
950         (copyLocalizedStringFromBundle):
951         * WebPreferences.cpp:
952         (WebPreferences::initializeDefaultSettings):
953         * WebView.cpp:
954         (WebView::setCacheModel):
955         (WebView::notifyPreferencesChanged):
956
957 2012-10-24  Brady Eidson  <beidson@apple.com>
958
959         Add a strategy for loader customization.
960         https://bugs.webkit.org/show_bug.cgi?id=100278
961
962         Reviewed by Alexey Proskuryakov.
963
964         * WebCoreSupport/WebPlatformStrategies.cpp:
965         (WebPlatformStrategies::createLoaderStrategy):
966         * WebCoreSupport/WebPlatformStrategies.h:
967         (WebPlatformStrategies):
968
969 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
970
971         Add a strategy for shared workers
972         https://bugs.webkit.org/show_bug.cgi?id=100165
973
974         Reviewed by Brady Eidson.
975
976         * WebCoreSupport/WebPlatformStrategies.cpp:
977         (WebPlatformStrategies::createPasteboardStrategy):
978         (WebPlatformStrategies::createSharedWorkerStrategy):
979         (WebPlatformStrategies::createVisitedLinkStrategy):
980         * WebCoreSupport/WebPlatformStrategies.h:
981         (WebPlatformStrategies):
982
983 2012-10-22  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
984
985         [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
986         https://bugs.webkit.org/show_bug.cgi?id=98514
987
988         Reviewed by Kenneth Rohde Christiansen.
989
990         * WebCoreSupport/WebFrameLoaderClient.cpp:
991         (WebFrameLoaderClient::transitionToCommittedForNewPage):
992
993 2012-10-21  Andreas Kling  <kling@webkit.org>
994
995         Remove Page::javaScriptURLsAreAllowed setting.
996         <http://webkit.org/b/99944>
997
998         Reviewed by Anders Carlsson.
999
1000         Have WebView::setJavaScriptURLsAreAllowed() do nothing and return E_NOTIMPL
1001         to prevent COM ABI breakage.
1002
1003         * WebView.cpp:
1004         (WebView::setJavaScriptURLsAreAllowed):
1005
1006 2012-10-18  Roger Fong  <roger_fong@apple.com>
1007
1008         Unreviewed. Build fix after r131701 and r131777.
1009
1010         * WebKit.vcproj/WebKit.sln:
1011
1012 2012-10-14  Sam Weinig  <sam@webkit.org>
1013
1014         Fix the windows build.
1015
1016         * WebView.cpp:
1017         (toStringVector):
1018
1019 2012-10-10  Brady Eidson  <beidson@apple.com>
1020
1021         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
1022         https://bugs.webkit.org/show_bug.cgi?id=98976
1023
1024         Reviewed by Anders Carlsson.
1025
1026         * WebDataSource.cpp:
1027         (WebDataSource::data):
1028
1029 2012-10-10  Jon Lee  <jonlee@apple.com>
1030
1031         [WK2] Activate plugins when user clicks on snapshot
1032         https://bugs.webkit.org/show_bug.cgi?id=98328
1033         <rdar://problem/12426681>
1034
1035         Reviewed by Brady Eidson.
1036
1037         * WebCoreSupport/WebFrameLoaderClient.h:
1038         (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
1039
1040 2012-10-10  Brady Eidson  <beidson@apple.com>
1041
1042         Switch CachedResource over from SharedBuffer to a new ResourceBuffer
1043         https://bugs.webkit.org/show_bug.cgi?id=98541
1044
1045         Reviewed by Anders Carlsson.
1046
1047         * WebDataSource.cpp:
1048         (WebDataSource::subresourceForURL):
1049
1050 2012-10-08  Simon Fraser  <simon.fraser@apple.com>
1051
1052         Some GraphicsLayer cleanup to separate the concepts of using a tile cache, and being the main tile cache layer
1053         https://bugs.webkit.org/show_bug.cgi?id=98574
1054
1055         Reviewed by Dean Jackson.
1056
1057         GraphicsLayerCA assumed that using a TileCache equated to being the main page tile
1058         cache layer, which has some special considerations. Make these two concepts separate
1059         to get closer to being able to use TileCaches in place of CATiledLayer.
1060
1061         * FullscreenVideoController.cpp:
1062         (FullscreenVideoController::LayerClient::platformCALayerShowRepaintCounter):
1063
1064 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1065
1066         Rename first/second to key/value in HashMap iterators
1067         https://bugs.webkit.org/show_bug.cgi?id=82784
1068
1069         Reviewed by Eric Seidel.
1070
1071         * COMPropertyBag.h:
1072         (::Read):
1073         (::GetPropertyInfo):
1074         * WebCoreStatistics.cpp:
1075         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1076         * WebCoreSupport/WebPlatformStrategies.cpp:
1077         (WebPlatformStrategies::getPluginInfo):
1078         * WebHistory.cpp:
1079         (WebHistory::removeItemFromDateCaches):
1080         * WebKitCOMAPI.cpp:
1081         (classFactory):
1082         * WebKitStatistics.cpp:
1083         (WebKitStatistics::comClassNameCounts):
1084         * WebNotificationCenter.cpp:
1085         (WebNotificationCenter::postNotificationInternal):
1086         (WebNotificationCenter::addObserver):
1087         (WebNotificationCenter::removeObserver):
1088
1089 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1090
1091         Final part of "sync" to "flush" renaming
1092         https://bugs.webkit.org/show_bug.cgi?id=98430
1093
1094         Reviewed by Tim Horton.
1095
1096         Change method names on GraphicsLayer and GraphicsLayerClient that
1097         refer to "sync" to use the term "flush" instead, to be consistent
1098         with the rest of the code.
1099
1100         * WebView.cpp:
1101         (WebView::notifyFlushRequired):
1102         (WebView::flushPendingGraphicsLayerChanges):
1103         * WebView.h:
1104
1105 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1106
1107         Standardize on "flush" terminology for compositing layer flushing/syncing
1108         https://bugs.webkit.org/show_bug.cgi?id=98321
1109
1110         Reviewed by Simon Fraser.
1111
1112         Rename compositing-related methods that refer to "syncing" to instead
1113         refer to "flushing".
1114
1115         * WebCoreSupport/WebChromeClient.cpp:
1116         (WebChromeClient::scheduleCompositingLayerFlush):
1117         * WebCoreSupport/WebChromeClient.h:
1118         (WebChromeClient):
1119         * WebView.cpp:
1120         (WebView::flushPendingGraphicsLayerChanges):
1121
1122 2012-10-02  Anders Carlsson  <andersca@apple.com>
1123
1124         Change most GraphicsLayer::create calls to use the version that takes a GraphicsLayerFactory
1125         https://bugs.webkit.org/show_bug.cgi?id=98217
1126
1127         Reviewed by Andreas Kling.
1128
1129         * WebView.cpp:
1130         (WebView::setAcceleratedCompositing):
1131
1132 2012-10-01  Brady Eidson  <beidson@apple.com>
1133
1134         Remove the Safari 2 -> Safari 3 icon database import code.
1135         https://bugs.webkit.org/show_bug.cgi?id=98113
1136
1137         Reviewed by Maciej Stachowiak.
1138
1139         Nuke the performImport() IconDatabaseClient method.
1140
1141         * WebIconDatabase.cpp:
1142         * WebIconDatabase.h:
1143         (WebIconDatabase):
1144
1145 2012-09-25  Beth Dakin  <bdakin@apple.com>
1146
1147         https://bugs.webkit.org/show_bug.cgi?id=95397
1148         Need to merge didFirstVisuallyNonEmptyLayout and 
1149         didNewFirstVisuallyNonEmptyLayout
1150         -and corresponding-
1151         <rdar://problem/10791680>
1152
1153         Reviewed by Sam Weinig.
1154
1155         Remove dispatchDidFirstLayout, 
1156         dispatchDidFirstVisuallyNonEmptyLayout, and 
1157         dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality 
1158         is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
1159         * WebCoreSupport/WebFrameLoaderClient.cpp:
1160         (WebFrameLoaderClient::dispatchDidLayout):
1161         * WebCoreSupport/WebFrameLoaderClient.h:
1162         (WebFrameLoaderClient):
1163
1164         It is now necessary to opt into getting any of the 
1165         "layout milestone" notifications.
1166         * WebView.cpp:
1167         (WebView::initWithFrame):
1168
1169 2012-09-19  Patrick Gansterer  <paroga@webkit.org>
1170
1171         [WIN] Use BString in favour of BSTR to improve memory management
1172         https://bugs.webkit.org/show_bug.cgi?id=93128
1173
1174         Reviewed by Anders Carlsson.
1175
1176         BString automatically calls SysFreeString() in its destructor which helps
1177         avoiding memory leaks. So it should be used instead of BSTR directly.
1178         Add operator& to BString to allow its usage for out parameters too (like COMPtr).
1179         This fixes already a few memory leaks in the existing code.
1180
1181         * DefaultPolicyDelegate.cpp:
1182         (DefaultPolicyDelegate::decidePolicyForNavigationAction):
1183         (DefaultPolicyDelegate::decidePolicyForMIMEType):
1184         (DefaultPolicyDelegate::unableToImplementPolicyWithError):
1185         * MarshallingHelpers.cpp:
1186         (MarshallingHelpers::KURLToBSTR):
1187         (MarshallingHelpers::CFStringRefToBSTR):
1188         (MarshallingHelpers::stringArrayToSafeArray):
1189         (MarshallingHelpers::safeArrayToStringArray):
1190         * WebCoreSupport/WebChromeClient.cpp:
1191         (WebChromeClient::runJavaScriptPrompt):
1192         * WebCoreSupport/WebEditorClient.cpp:
1193         (WebEditorClient::checkGrammarOfString):
1194         (WebEditorClient::getGuessesForWord):
1195         * WebFrame.cpp:
1196         (WebFrame::canProvideDocumentSource):
1197         * WebHistory.cpp:
1198         (WebHistory::removeItem):
1199         (WebHistory::addItem):
1200         * WebIconDatabase.cpp:
1201         (WebIconDatabase::startUpIconDatabase):
1202         * WebNotificationCenter.cpp:
1203         (WebNotificationCenter::postNotification):
1204         * WebPreferences.cpp:
1205         (WebPreferences::setStringValue):
1206         * WebView.cpp:
1207         (toAtomicString):
1208         (toString):
1209         (toKURL):
1210         (PreferencesChangedOrRemovedObserver::onNotify):
1211         (WebView::close):
1212         (WebView::canShowMIMEType):
1213         (WebView::initWithFrame):
1214         (WebView::setApplicationNameForUserAgent):
1215         (WebView::setCustomUserAgent):
1216         (WebView::userAgentForURL):
1217         (WebView::setCustomTextEncodingName):
1218         (WebView::customTextEncodingName):
1219         (WebView::setPreferences):
1220         (WebView::searchFor):
1221         (WebView::executeCoreCommandByName):
1222         (WebView::markAllMatchesForText):
1223         (WebView::setGroupName):
1224         (WebView::registerURLSchemeAsLocal):
1225         (WebView::replaceSelectionWithText):
1226         (WebView::onNotify):
1227         (WebView::notifyPreferencesChanged):
1228         (WebView::MIMETypeForExtension):
1229         (WebView::standardUserAgentWithApplicationName):
1230         (WebView::addAdditionalPluginDirectory):
1231         (WebView::registerEmbeddedViewMIMEType):
1232         (WebView::addOriginAccessWhitelistEntry):
1233         (WebView::removeOriginAccessWhitelistEntry):
1234         (WebView::geolocationDidFailWithError):
1235         (WebView::setDomainRelaxationForbiddenForURLScheme):
1236         (WebView::setCompositionForTesting):
1237         (WebView::confirmCompositionForTesting):
1238
1239 2012-09-17  Sheriff Bot  <webkit.review.bot@gmail.com>
1240
1241         Unreviewed, rolling out r128809.
1242         http://trac.webkit.org/changeset/128809
1243         https://bugs.webkit.org/show_bug.cgi?id=96958
1244
1245         Broke the Windows build. (Requested by andersca on #webkit).
1246
1247         * DefaultPolicyDelegate.cpp:
1248         (DefaultPolicyDelegate::decidePolicyForNavigationAction):
1249         (DefaultPolicyDelegate::decidePolicyForMIMEType):
1250         (DefaultPolicyDelegate::unableToImplementPolicyWithError):
1251         * MarshallingHelpers.cpp:
1252         (MarshallingHelpers::KURLToBSTR):
1253         (MarshallingHelpers::CFStringRefToBSTR):
1254         (MarshallingHelpers::stringArrayToSafeArray):
1255         (MarshallingHelpers::safeArrayToStringArray):
1256         * WebCoreSupport/WebChromeClient.cpp:
1257         (WebChromeClient::runJavaScriptPrompt):
1258         * WebCoreSupport/WebEditorClient.cpp:
1259         (WebEditorClient::checkGrammarOfString):
1260         (WebEditorClient::getGuessesForWord):
1261         * WebFrame.cpp:
1262         (WebFrame::canProvideDocumentSource):
1263         * WebHistory.cpp:
1264         (WebHistory::removeItem):
1265         (WebHistory::addItem):
1266         * WebIconDatabase.cpp:
1267         (WebIconDatabase::startUpIconDatabase):
1268         * WebNotificationCenter.cpp:
1269         (WebNotificationCenter::postNotification):
1270         * WebPreferences.cpp:
1271         (WebPreferences::setStringValue):
1272         * WebView.cpp:
1273         (PreferencesChangedOrRemovedObserver::onNotify):
1274         (WebView::close):
1275         (WebView::canShowMIMEType):
1276         (WebView::initWithFrame):
1277         (WebView::setApplicationNameForUserAgent):
1278         (WebView::setCustomUserAgent):
1279         (WebView::userAgentForURL):
1280         (WebView::setCustomTextEncodingName):
1281         (WebView::customTextEncodingName):
1282         (WebView::setPreferences):
1283         (WebView::searchFor):
1284         (WebView::executeCoreCommandByName):
1285         (WebView::markAllMatchesForText):
1286         (WebView::setGroupName):
1287         (WebView::registerURLSchemeAsLocal):
1288         (WebView::replaceSelectionWithText):
1289         (WebView::onNotify):
1290         (WebView::notifyPreferencesChanged):
1291         (WebView::MIMETypeForExtension):
1292         (WebView::standardUserAgentWithApplicationName):
1293         (WebView::addAdditionalPluginDirectory):
1294         (WebView::registerEmbeddedViewMIMEType):
1295         (toString):
1296         (toKURL):
1297         (WebView::addOriginAccessWhitelistEntry):
1298         (WebView::removeOriginAccessWhitelistEntry):
1299         (WebView::geolocationDidFailWithError):
1300         (WebView::setDomainRelaxationForbiddenForURLScheme):
1301         (WebView::setCompositionForTesting):
1302         (WebView::confirmCompositionForTesting):
1303
1304 2012-09-16  Mark Lam  <mark.lam@apple.com>
1305
1306         Added MSVC project changes to enable building the llint.
1307         https://bugs.webkit.org/show_bug.cgi?id=96175.
1308
1309         Reviewed by Geoff Garen.
1310
1311         This only adds the ability to build the llint, but currently, only the
1312         C++ backend is supported. By default, the Windows port will remain
1313         running with the baseline JIT.  The llint will not be enabled.
1314
1315         * WebKit.vcproj/WebKit.sln:
1316
1317 2012-09-13  Brent Fulgham  <bfulgham@webkit.org>
1318
1319         [WinCairo] Unreviewed build fix.
1320
1321         * WebCookieManagerCurl.cpp: Remove unused 'using WebCore'
1322         declaration that prevented the build from completing.
1323
1324 2012-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
1325
1326         Unreviewed, rolling out r127876.
1327         http://trac.webkit.org/changeset/127876
1328         https://bugs.webkit.org/show_bug.cgi?id=96600
1329
1330         mouse click doesn't work for spin button if spin button in
1331         iframe (Requested by yosin on #webkit).
1332
1333         * WebActionPropertyBag.cpp:
1334         (WebActionPropertyBag::Read):
1335         * WebView.cpp:
1336         (WebView::handleContextMenuEvent):
1337         (WebView::elementAtPoint):
1338
1339 2012-09-10  Beth Dakin  <bdakin@apple.com>
1340
1341         https://bugs.webkit.org/show_bug.cgi?id=96158
1342         Need API to suppress scrollbar animations
1343         -and corresponding-
1344         <rdar://problem/12210972>
1345
1346         Reviewed by Sam Weinig.
1347
1348         ScrollableArea::isOnActivePage() has been re-named to
1349         ScrollableArea:: scrollbarsCanBeActive().
1350         * WebScrollBar.cpp:
1351         (WebScrollBar::scrollbarsCanBeActive):
1352         * WebScrollBar.h:
1353         (WebScrollBar):
1354
1355 2012-09-10  Dominic Mazzoni  <dmazzoni@google.com>
1356
1357         AX: Update Windows port accessible role mappings to fix some tests
1358         https://bugs.webkit.org/show_bug.cgi?id=96219
1359
1360         Reviewed by Chris Fleizach.
1361
1362         Update a bunch of accessible role mappings to fix tests and improve win
1363         accessibility.
1364
1365         * AccessibleBase.cpp:
1366         (MSAARole):
1367
1368 2012-09-07  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
1369
1370         Simplify hitTestResultAtPoint and nodesFromRect APIs
1371         https://bugs.webkit.org/show_bug.cgi?id=95720
1372
1373         Reviewed by Antonio Gomes.
1374
1375         Update calls to new API.
1376
1377         * WebActionPropertyBag.cpp:
1378         (WebActionPropertyBag::Read):
1379         * WebView.cpp:
1380         (WebView::handleContextMenuEvent):
1381         (WebView::elementAtPoint):
1382
1383 2012-09-05  Sam Weinig  <sam@webkit.org>
1384
1385         Part 2 of removing PlatformString.h, remove PlatformString.h
1386         https://bugs.webkit.org/show_bug.cgi?id=95931
1387
1388         Reviewed by Adam Barth.
1389
1390         Remove PlatformString.h
1391
1392         * DOMCSSClasses.cpp:
1393         * DefaultPolicyDelegate.cpp:
1394         * MarshallingHelpers.cpp:
1395         * WebCoreSupport/WebInspectorClient.h:
1396         * WebDownload.h:
1397         * WebFrame.h:
1398         * WebHistoryItem.h:
1399         * WebIconDatabase.cpp:
1400         * WebKitDLL.h:
1401         * WebKitGraphics.cpp:
1402         * WebKitSystemBits.cpp:
1403         * WebLocalizableStrings.cpp:
1404         * WebNotificationCenter.cpp:
1405         * WebResource.h:
1406
1407 2012-09-06  Patrick Gansterer  <paroga@webkit.org>
1408
1409         Remove String::operator+=() from windows platform code
1410         https://bugs.webkit.org/show_bug.cgi?id=95904
1411
1412         Reviewed by Benjamin Poulain.
1413
1414         Use StringBuilder and operator+() to concatenate strings instead of operator+=().
1415
1416         * AccessibleBase.cpp:
1417         (AccessibleBase::get_accKeyboardShortcut):
1418         * WebDownload.cpp:
1419         (WebDownload::bundlePathForTargetPath):
1420         * WebView.cpp:
1421         (imeCompositionArgumentNames):
1422
1423 2012-09-05  Kaustubh Atrawalkar  <kaustubh@motorola.com>
1424
1425         [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
1426         https://bugs.webkit.org/show_bug.cgi?id=92735
1427
1428         Reviewed by Hajime Morita.
1429
1430         Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
1431         Kept the function defination and declaration to keep binary compatibility for IWebFramePrivate.idl
1432
1433         * WebFrame.cpp:
1434         (WebFrame::numberOfPages):
1435
1436 2012-08-30  Benjamin Poulain  <bpoulain@apple.com>
1437
1438         Replace JSC::UString by WTF::String
1439         https://bugs.webkit.org/show_bug.cgi?id=95271
1440
1441         Reviewed by Geoffrey Garen.
1442
1443         Replace UString by String.
1444
1445         * WebFrame.cpp:
1446         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
1447         * WebView.cpp:
1448         (WebView::stringByEvaluatingJavaScriptFromString):
1449
1450 2012-08-29  Dominic Mazzoni  <dmazzoni@google.com>
1451
1452         AX: Canvas should have a distinct role
1453         https://bugs.webkit.org/show_bug.cgi?id=95248
1454
1455         Reviewed by Chris Fleizach.
1456
1457         Map new CanvasRole to the same as ImageRole.
1458
1459         * AccessibleBase.cpp:
1460         (MSAARole):
1461
1462 2012-08-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1463
1464         Unreviewed, rolling out r126972.
1465         http://trac.webkit.org/changeset/126972
1466         https://bugs.webkit.org/show_bug.cgi?id=95349
1467
1468         accessibility/canvas-description-and-role.html has been
1469         failing consistently on several bots and Dominic needs some
1470         time to investigate why (Requested by jchaffraix on #webkit).
1471
1472         * AccessibleBase.cpp:
1473         (MSAARole):
1474
1475 2012-08-29  Dominic Mazzoni  <dmazzoni@google.com>
1476
1477         AX: Canvas should have a distinct role
1478         https://bugs.webkit.org/show_bug.cgi?id=95248
1479
1480         Reviewed by Chris Fleizach.
1481
1482         Map new CanvasRole to the same as ImageRole.
1483
1484         * AccessibleBase.cpp:
1485         (MSAARole):
1486
1487 2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
1488
1489         Unreviewed, rolling out r126914.
1490         http://trac.webkit.org/changeset/126914
1491         https://bugs.webkit.org/show_bug.cgi?id=95239
1492
1493         it breaks everything and fixes nothing (Requested by pizlo on
1494         #webkit).
1495
1496         * COMPropertyBag.h:
1497         (::Read):
1498         (::GetPropertyInfo):
1499         * WebCoreStatistics.cpp:
1500         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1501         * WebCoreSupport/WebPlatformStrategies.cpp:
1502         (WebPlatformStrategies::getPluginInfo):
1503         * WebHistory.cpp:
1504         (WebHistory::removeItemFromDateCaches):
1505         * WebKitCOMAPI.cpp:
1506         (classFactory):
1507         * WebKitStatistics.cpp:
1508         (WebKitStatistics::comClassNameCounts):
1509         * WebNotificationCenter.cpp:
1510         (WebNotificationCenter::postNotificationInternal):
1511         (WebNotificationCenter::addObserver):
1512         (WebNotificationCenter::removeObserver):
1513
1514 2012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1515
1516         Rename first/second to key/value in HashMap iterators
1517         https://bugs.webkit.org/show_bug.cgi?id=82784
1518
1519         Reviewed by Eric Seidel.
1520
1521         * COMPropertyBag.h:
1522         (::Read):
1523         (::GetPropertyInfo):
1524         * WebCoreStatistics.cpp:
1525         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1526         * WebCoreSupport/WebPlatformStrategies.cpp:
1527         (WebPlatformStrategies::getPluginInfo):
1528         * WebHistory.cpp:
1529         (WebHistory::removeItemFromDateCaches):
1530         * WebKitCOMAPI.cpp:
1531         (classFactory):
1532         * WebKitStatistics.cpp:
1533         (WebKitStatistics::comClassNameCounts):
1534         * WebNotificationCenter.cpp:
1535         (WebNotificationCenter::postNotificationInternal):
1536         (WebNotificationCenter::addObserver):
1537         (WebNotificationCenter::removeObserver):
1538
1539 2012-08-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1540
1541         Unreviewed, rolling out r126836.
1542         http://trac.webkit.org/changeset/126836
1543         https://bugs.webkit.org/show_bug.cgi?id=95163
1544
1545         Broke all Apple ports, EFL, and Qt. (Requested by tkent on
1546         #webkit).
1547
1548         * COMPropertyBag.h:
1549         (::Read):
1550         (::GetPropertyInfo):
1551         * WebCoreStatistics.cpp:
1552         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1553         * WebCoreSupport/WebPlatformStrategies.cpp:
1554         (WebPlatformStrategies::getPluginInfo):
1555         * WebHistory.cpp:
1556         (WebHistory::removeItemFromDateCaches):
1557         * WebKitCOMAPI.cpp:
1558         (classFactory):
1559         * WebKitStatistics.cpp:
1560         (WebKitStatistics::comClassNameCounts):
1561         * WebNotificationCenter.cpp:
1562         (WebNotificationCenter::postNotificationInternal):
1563         (WebNotificationCenter::addObserver):
1564         (WebNotificationCenter::removeObserver):
1565
1566 2012-08-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1567
1568         Rename first/second to key/value in HashMap iterators
1569         https://bugs.webkit.org/show_bug.cgi?id=82784
1570
1571         Reviewed by Eric Seidel.
1572
1573         * COMPropertyBag.h:
1574         (::Read):
1575         (::GetPropertyInfo):
1576         * WebCoreStatistics.cpp:
1577         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1578         * WebCoreSupport/WebPlatformStrategies.cpp:
1579         (WebPlatformStrategies::getPluginInfo):
1580         * WebHistory.cpp:
1581         (WebHistory::removeItemFromDateCaches):
1582         * WebKitCOMAPI.cpp:
1583         (classFactory):
1584         * WebKitStatistics.cpp:
1585         (WebKitStatistics::comClassNameCounts):
1586         * WebNotificationCenter.cpp:
1587         (WebNotificationCenter::postNotificationInternal):
1588         (WebNotificationCenter::addObserver):
1589         (WebNotificationCenter::removeObserver):
1590
1591 2012-08-23  Adrienne Walker  <enne@google.com>
1592
1593         Convert ScrollableArea ASSERT_NOT_REACHED virtuals
1594         https://bugs.webkit.org/show_bug.cgi?id=93306
1595
1596         Reviewed by Darin Adler.
1597
1598         Add implementations where necessary to make derived classes concrete.
1599         Add OVERRIDE for ScrollableArea functions.
1600
1601         * WebScrollBar.cpp:
1602         (WebScrollBar::visibleHeight):
1603         (WebScrollBar::visibleWidth):
1604         (WebScrollBar::contentsSize):
1605         (WebScrollBar::isOnActivePage):
1606         (WebScrollBar::scrollableAreaBoundingBox):
1607         * WebScrollBar.h:
1608         (WebScrollBar):
1609
1610 2012-08-22  Nikhil Bhargava  <nbhargava@google.com>
1611
1612         Reduce Font.h includes across project -- improves RenderObject.h compile time
1613         https://bugs.webkit.org/show_bug.cgi?id=93629
1614
1615         Reviewed by Eric Seidel.
1616
1617         Adds includes due to change in RenderStyle.h
1618
1619         * DOMCoreClasses.cpp:
1620
1621 2012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
1622
1623         Update manual tests and comments to refer to TestRunner instead of LayoutTestController
1624         https://bugs.webkit.org/show_bug.cgi?id=94168
1625
1626         Reviewed by Kent Tamura.
1627
1628         * Interfaces/IWebPreferencesPrivate.idl:
1629
1630 2012-08-14  Adam Barth  <abarth@webkit.org>
1631
1632         Delete Frame::domWindow() and Frame::existingDOMWindow()
1633         https://bugs.webkit.org/show_bug.cgi?id=93990
1634
1635         Reviewed by Eric Seidel.
1636
1637         * WebFrame.cpp:
1638         (WebFrame::DOMWindow):
1639         (WebFrame::pendingFrameUnloadEventCount):
1640
1641 2012-08-13  Tom Sepez  <tsepez@chromium.org>
1642
1643         [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
1644         https://bugs.webkit.org/show_bug.cgi?id=93283
1645
1646         Reviewed by Eric Seidel.
1647
1648         Change the client redirectDataToPlugin method(s) to expect the possibility of
1649         a NULL argument, keeping existing behaviour otherwise.
1650
1651         * WebCoreSupport/WebFrameLoaderClient.cpp:
1652         (WebFrameLoaderClient::redirectDataToPlugin):
1653
1654 2012-08-05  Patrick Gansterer  <paroga@webkit.org>
1655
1656         [WIN] Use sizeof() for cbWndExtra values
1657         https://bugs.webkit.org/show_bug.cgi?id=93179
1658
1659         Reviewed by Eric Carlson.
1660
1661         Using sizof() instead of hardcoding the pointer size of
1662         the 32bit platform allows us to use the code on 64bit too.
1663
1664         * FullscreenVideoController.cpp:
1665         (FullscreenVideoController::registerHUDWindowClass):
1666         * WebView.cpp:
1667         (WebView::registerWebViewWindowClass):
1668
1669 2012-07-26  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
1670
1671         [Mac] Fix build break on Apple win bot after r123711
1672         https://bugs.webkit.org/show_bug.cgi?id=92354
1673
1674         Reviewed by Adam Barth.
1675
1676         Missing return value.
1677
1678         * WebFrame.cpp:
1679         (WebFrame::pageNumberForElementById):
1680
1681 2012-07-26  Kaustubh Atrawalkar  <kaustubh@motorola.com>
1682
1683         [DRT] LTC:: pageNumberForElementById() could be moved to Internals
1684         https://bugs.webkit.org/show_bug.cgi?id=92091
1685
1686         Reviewed by Adam Barth.
1687
1688         Moved the pageNumberForElementById from LayoutTestCotroller to Internals and
1689         remove the old platform specific implementations as it exclusively tests WebCore functionality.
1690
1691         * WebFrame.cpp: Added comment for removing the function. Removed implementation.
1692
1693 2012-07-25  Roger Fong  <roger_fong@apple.com>
1694
1695         Changes to the WebFrame API cause dependent apps to crash.
1696         https://bugs.webkit.org/show_bug.cgi?id=91656
1697         <rdar://problem/11904605>
1698         
1699         Reviewed by Jon Honeycutt.
1700         
1701         Changes to the WebFrame API cause certain apps to crash because of inconsistencies in the COM interface.
1702         The resumeAnimations and suspendAnimations are removed, which are still needed.
1703         The counterValueByElementId method was also removed, although is not needed there.
1704         However, for all of these methods, no method stubs were added where appropriate after removal.
1705         
1706         * Interfaces/IWebFramePrivate.idl:
1707         Added resumeAnimations() and suspendAnimations() methods back in. Added unused method stub for counterValueByElementId method.
1708         
1709         * WebFrame.cpp:
1710         (WebFrame::resumeAnimations):
1711         Added this method back in.
1712         (WebFrame::suspendAnimations):
1713         Added this method back in.
1714         
1715         * WebFrame.h:
1716         (Re)added methods and unused method stubs. 
1717
1718 2012-07-23  Patrick Gansterer  <paroga@webkit.org>
1719
1720         Build fix if NOMINMAX is defined by the build system.
1721
1722         * COMEnumVariant.h: Added #ifndef NOMINMAX around #define NOMINMAX.
1723         * COMPropertyBag.h: Ditto.
1724
1725 2012-07-23  Pierre Rossi  <pierre.rossi@gmail.com>
1726
1727         Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
1728         https://bugs.webkit.org/show_bug.cgi?id=91006
1729
1730         Reviewed by Ryosuke Niwa.
1731
1732         Remove numTouchEventHandlersChanged stub.
1733
1734         * WebCoreSupport/WebChromeClient.h:
1735
1736 2012-07-17  Vivek Galatage  <vivekgalatage@gmail.com>
1737
1738         Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
1739         https://bugs.webkit.org/show_bug.cgi?id=91196
1740
1741         Reviewed by Pavel Feldman.
1742
1743         Refactoring InspectorClients. InspectorClient::openInspectorFrontend
1744         now returning the InspectorFrontendChannel.
1745
1746         * WebCoreSupport/WebInspectorClient.cpp:
1747         (WebInspectorClient::openInspectorFrontend):
1748         * WebCoreSupport/WebInspectorClient.h:
1749         (WebInspectorClient):
1750
1751 2012-07-14  Eric Carlson  <eric.carlson@apple.com>
1752
1753         Enable AVCF hardware video decoding
1754         https://bugs.webkit.org/show_bug.cgi?id=90015
1755         <rdar://problem/10770317>
1756
1757         Reviewed by Anders Carlsson.
1758
1759         * WebCoreSupport/WebChromeClient.cpp:
1760         (WebChromeClient::graphicsDeviceAdapter): New, return the view's graphics adapter.
1761         * WebCoreSupport/WebChromeClient.h:
1762         (WebChromeClient):
1763
1764         * WebView.cpp:
1765         (WebView::graphicsDeviceAdapter): New, return the layer tree host's graphics adapter.
1766         * WebView.h:
1767         (WebCore):
1768         (WebView):
1769
1770 2012-07-10  Adam Barth  <abarth@webkit.org>
1771
1772         WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed
1773         https://bugs.webkit.org/show_bug.cgi?id=90910
1774
1775         Reviewed by Eric Seidel.
1776
1777         * WebPreferences.cpp:
1778         (WebPreferences::initializeDefaultSettings):
1779         (WebPreferences::setHixie76WebSocketProtocolEnabled):
1780         (WebPreferences::hixie76WebSocketProtocolEnabled):
1781         * WebView.cpp:
1782         (WebView::notifyPreferencesChanged):
1783
1784 2012-07-02  Ryosuke Niwa  <rniwa@webkit.org>
1785
1786         Make HTMLCollection RefCounted
1787         https://bugs.webkit.org/show_bug.cgi?id=90414
1788
1789         Reviewed by Sam Weinig.
1790
1791         * DOMHTMLClasses.cpp:
1792         (DOMHTMLDocument::forms):
1793         (DOMHTMLSelectElement::options):
1794
1795 2012-07-03  Mihai Balan  <mibalan@adobe.com>
1796
1797         [CSS Regions] Enabling regions on Windows lead to crash-on-launch for WebKit.exe
1798         https://bugs.webkit.org/show_bug.cgi?id=90435
1799
1800         Reviewed by Csaba Osztrogonác.
1801
1802         Initial patch for enabling regions led to WebKit crashing on launch. Moving the
1803         IDL declarations for CSS regions getter/setter at the end of the file solves the
1804         problem. As per http://trac.webkit.org/changeset/95650 seems it has to do with
1805         binary compatibility.
1806
1807         * Interfaces/IWebPreferences.idl: Mover getter/setter for CSS regions at the end of file
1808
1809 2012-07-02  Benjamin Poulain  <bpoulain@apple.com>
1810
1811         Do not do any logging initialization when logging is disabled
1812         https://bugs.webkit.org/show_bug.cgi?id=90228
1813
1814         Reviewed by Simon Fraser.
1815
1816         * WebView.cpp:
1817         (WebView::initWithFrame):
1818
1819 2012-06-29  Mihai Balan  <mibalan@adobe.com>
1820
1821         [CSS Regions] Adding feature defines for CSS Regions for Windows
1822         https://bugs.webkit.org/show_bug.cgi?id=88645
1823
1824         Reviewed by Tony Chang.
1825
1826         Re-trying to enable CSS regions on Windows. This time only enabling
1827         regions since exclusions lead to some very strange compiling/linking
1828         problems. This time adding preferences code to make sure the settings
1829         get propagated to DRT (previous experiments by abucur showed they
1830         didn't.).
1831
1832         * WebPreferenceKeysPrivate.h: Added preference key for CSS regions
1833         * Interfaces/IWebPreferences.idl: Added getters and setters for CSS regions settings
1834         * WebPreferences.cpp: ditto
1835         (WebPreferences::initializeDefaultSettings):
1836         (WebPreferences::isCSSRegionsEnabled):
1837         (WebPreferences::setCSSRegionsEnabled):
1838         * WebPreferences.h: ditto
1839         (WebPreferences):
1840         * WebView.cpp: Added settings code to handle CSS regions, too
1841         (WebView::notifyPreferencesChanged):
1842
1843 2012-06-25  Mark Hahnenberg  <mhahnenberg@apple.com>
1844
1845         JSLock should be per-JSGlobalData
1846         https://bugs.webkit.org/show_bug.cgi?id=89123
1847
1848         Reviewed by Geoffrey Garen.
1849
1850         Changed all sites that used JSLock to instead use the new JSLockHolder
1851         and pass in the correct JS context that the code is about to interact with that 
1852         needs protection. Also added a couple JSLocks to places that didn't already 
1853         have it that needed it.
1854
1855         * WebCoreStatistics.cpp:
1856         (WebCoreStatistics::javaScriptObjectsCount):
1857         (WebCoreStatistics::javaScriptGlobalObjectsCount):
1858         (WebCoreStatistics::javaScriptProtectedObjectsCount):
1859         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
1860         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1861         * WebFrame.cpp:
1862         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
1863         * WebJavaScriptCollector.cpp:
1864         (WebJavaScriptCollector::objectCount):
1865         * WebView.cpp:
1866         (WebView::stringByEvaluatingJavaScriptFromString):
1867         (WebView::reportException):
1868         (WebView::elementFromJS):
1869
1870 2012-06-23  Sheriff Bot  <webkit.review.bot@gmail.com>
1871
1872         Unreviewed, rolling out r121058.
1873         http://trac.webkit.org/changeset/121058
1874         https://bugs.webkit.org/show_bug.cgi?id=89809
1875
1876         Patch causes plugins tests to crash in GTK debug builds
1877         (Requested by zdobersek on #webkit).
1878
1879         * WebCoreStatistics.cpp:
1880         (WebCoreStatistics::javaScriptObjectsCount):
1881         (WebCoreStatistics::javaScriptGlobalObjectsCount):
1882         (WebCoreStatistics::javaScriptProtectedObjectsCount):
1883         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
1884         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1885         * WebFrame.cpp:
1886         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
1887         * WebJavaScriptCollector.cpp:
1888         (WebJavaScriptCollector::objectCount):
1889         * WebView.cpp:
1890         (WebView::stringByEvaluatingJavaScriptFromString):
1891         (WebView::reportException):
1892         (WebView::elementFromJS):
1893
1894 2012-06-20  Mark Hahnenberg  <mhahnenberg@apple.com>
1895
1896         JSLock should be per-JSGlobalData
1897         https://bugs.webkit.org/show_bug.cgi?id=89123
1898
1899         Reviewed by Gavin Barraclough.
1900
1901         Changed all sites that used JSLock to instead use the new JSLockHolder
1902         and pass in the correct JS context that the code is about to interact with that 
1903         needs protection.
1904
1905         * WebCoreStatistics.cpp:
1906         (WebCoreStatistics::javaScriptObjectsCount):
1907         (WebCoreStatistics::javaScriptGlobalObjectsCount):
1908         (WebCoreStatistics::javaScriptProtectedObjectsCount):
1909         (WebCoreStatistics::javaScriptProtectedGlobalObjectsCount):
1910         (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
1911         * WebFrame.cpp:
1912         (WebFrame::stringByEvaluatingJavaScriptInScriptWorld):
1913         * WebJavaScriptCollector.cpp:
1914         (WebJavaScriptCollector::objectCount):
1915         * WebView.cpp:
1916         (WebView::stringByEvaluatingJavaScriptFromString):
1917         (WebView::reportException):
1918         (WebView::elementFromJS):
1919
1920 2012-06-20  Garret Kelly  <gdk@chromium.org>
1921
1922         Moving cookieEnabled/setCookieEnabled from Page to Settings.
1923         https://bugs.webkit.org/show_bug.cgi?id=89545
1924
1925         Reviewed by Adam Barth.
1926
1927         * WebView.cpp:
1928         (WebView::setCookieEnabled):
1929         (WebView::cookieEnabled):
1930
1931 2012-06-20  Julien Chaffraix  <jchaffraix@webkit.org>
1932
1933         Use IntSize in RenderLayer to represent scroll offsets
1934         https://bugs.webkit.org/show_bug.cgi?id=89154
1935
1936         Reviewed by Eric Seidel.
1937
1938         * WebView.cpp:
1939         (WebView::gesture):
1940         Updated to pass an IntSize to scrollByRecursively.
1941
1942 2012-06-11  Kaustubh Atrawalkar  <kaustubh@motorola.com>
1943
1944         [DRT] LTC:: counterValueForElementById() could be moved to Internals.
1945         https://bugs.webkit.org/show_bug.cgi?id=84406
1946
1947         Reviewed by Hajime Morita.
1948
1949         Move the counterValueForElementById from LayoutTestCotroller to Internals and
1950         remove the old platform specific implementations as it exclusively tests WebCore functionality.
1951
1952         * Interfaces/IWebFramePrivate.idl:
1953         * WebFrame.cpp:
1954         * WebFrame.h:
1955
1956 2012-06-11  Sam Weinig  <sam@webkit.org>
1957
1958         Remove support for disconnected/excluded from search frames, they are not used by Safari anymore
1959         https://bugs.webkit.org/show_bug.cgi?id=88723
1960
1961         Reviewed by Dan Bernstein.
1962
1963         * WebFrame.cpp:
1964         (WebFrame::setIsDisconnected):
1965         (WebFrame::setExcludeFromTextSearch):
1966         Stop doing anything in these functions.
1967
1968 2012-06-10  Sheriff Bot  <webkit.review.bot@gmail.com>
1969
1970         Unreviewed, rolling out r119955.
1971         http://trac.webkit.org/changeset/119955
1972         https://bugs.webkit.org/show_bug.cgi?id=88758
1973
1974         Breaks Chromium compile - Chromium depends on removed API
1975         (Requested by dominicc on #webkit).
1976
1977         * WebFrame.cpp:
1978         (WebFrame::setIsDisconnected):
1979         (WebFrame::setExcludeFromTextSearch):
1980
1981 2012-06-10  Sam Weinig  <sam@webkit.org>
1982
1983         Remove support for disconnected/excluded from search frames, they are not used by Safari anymore
1984         https://bugs.webkit.org/show_bug.cgi?id=88723
1985
1986         Reviewed by Dan Bernstein.
1987
1988         * WebFrame.cpp:
1989         (WebFrame::setIsDisconnected):
1990         (WebFrame::setExcludeFromTextSearch):
1991         Stop doing anything in these functions.
1992
1993 2012-05-31  Hajime Morrita  <morrita@chromium.org>
1994
1995         REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
1996         https://bugs.webkit.org/show_bug.cgi?id=86859
1997
1998         Reviewed by Ryosuke Niwa.
1999
2000         * WebCoreSupport/WebEditorClient.h:
2001         (WebEditorClient::requestCheckingOfString):
2002
2003 2012-05-25  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
2004
2005         WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
2006         https://bugs.webkit.org/show_bug.cgi?id=42328
2007
2008         Reviewed by Eric Seidel.
2009
2010         * WebInspector.cpp:
2011         (WebInspector::setJavaScriptProfilingEnabled):
2012
2013 2012-05-25  Lynn Neir  <lynn.neir@skype.net>
2014
2015         Added methods needed to implement backend for DRT's TextInputController on windows, https://bugs.webkit.org/show_bug.cgi?id=32021
2016
2017         Reviewed by Eric Seidel.
2018
2019         * Interfaces/IWebViewPrivate.idl:
2020         * WebView.cpp:
2021         (WebView::setCompositionForTesting):
2022         (WebView::hasCompositionForTesting):
2023         (WebView::confirmCompositionForTesting):
2024         (WebView::compositionRangeForTesting):
2025         (WebView::firstRectForCharacterRangeForTesting):
2026         (WebView::selectedRangeForTesting):
2027         * WebView.h:
2028         (WebView):
2029
2030 2012-05-21  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2031
2032         Move setEditingBehavior() from layoutTestController to window.internals
2033         https://bugs.webkit.org/show_bug.cgi?id=42689
2034
2035         Reviewed by Hajime Morita and Kenneth Rohde Christiansen.
2036
2037         Remove Win private API to get/set the editing behavior. Follow the previous
2038         removals that keep the virtual functions there but failing.
2039
2040         * Interfaces/IWebPreferences.idl:
2041         * WebPreferenceKeysPrivate.h:
2042         * WebPreferences.cpp:
2043         (WebPreferences::unused5):
2044         (WebPreferences::unused6):
2045         * WebPreferences.h:
2046         (WebPreferences):
2047         * WebView.cpp:
2048         (WebView::notifyPreferencesChanged):
2049
2050 2012-05-18  MORITA Hajime <morrita@google.com>
2051
2052         Another unreviewed attempt to fix build breakage on r117572.
2053
2054         * WebCoreSupport/WebEditorClient.h:
2055         (WebEditorClient::frameWillDetachPage):
2056
2057 2012-05-18  MORITA Hajime  <morrita@google.com>
2058
2059         https://bugs.webkit.org/show_bug.cgi?id=85515
2060         Stale frame in WebCore::SpellChecker::didCheckSucceeded
2061
2062         Reviewed by Ryosuke Niwa.
2063
2064         * WebCoreSupport/WebEditorClient.h:
2065         (WebEditorClient::frameWillDetachPage):
2066
2067 2012-05-17  Hironori Bono  <hbono@chromium.org>
2068
2069         [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
2070         https://bugs.webkit.org/show_bug.cgi?id=86591
2071
2072         Reviewed by Ryosuke Niwa.
2073
2074         This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
2075         function to remove platform-specific code from Editor::respondToChangedSelection
2076         function.
2077
2078         No new tests, no change in behavior.
2079
2080         * WebCoreSupport/WebEditorClient.cpp:
2081         (WebEditorClient::shouldEraseMarkersAfterChangeSelection):
2082         * WebCoreSupport/WebEditorClient.h:
2083         (WebEditorClient):
2084
2085 2012-05-17  Dan Bernstein  <mitz@apple.com>
2086
2087         REGRESSION (r117428): WebKit API/SPI was removed
2088         https://bugs.webkit.org/show_bug.cgi?id=86748
2089
2090         Reverted r117428.
2091
2092         * Interfaces/IWebViewPrivate.idl:
2093         * WebView.cpp:
2094         (WebView::setDomainRelaxationForbiddenForURLScheme):
2095         * WebView.h:
2096         (WebView):
2097
2098 2012-05-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2099
2100         Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface
2101         https://bugs.webkit.org/show_bug.cgi?id=86704
2102
2103         Reviewed by Eric Seidel.
2104
2105         Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the
2106         cross-port way through the InternalSettings interface.
2107
2108         * Interfaces/IWebViewPrivate.idl:
2109         * WebView.cpp:
2110         * WebView.h:
2111         (WebView):
2112
2113 2012-05-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2114
2115         Move resumeAnimations to use Internals interface
2116         https://bugs.webkit.org/show_bug.cgi?id=86063
2117
2118         Reviewed by Alexey Proskuryakov.
2119
2120         Remove resumeAnimations functions, because it is able to work in the 
2121         cross-port way through the Internals interface.
2122
2123         * Interfaces/IWebFramePrivate.idl:
2124         * WebFrame.cpp:
2125         * WebFrame.h:
2126
2127 2012-05-10  Anders Carlsson  <andersca@apple.com>
2128
2129         Rename the missing plug-in indicator to the unavailable plug-in indicator
2130         https://bugs.webkit.org/show_bug.cgi?id=86136
2131
2132         Reviewed by Sam Weinig.
2133
2134         * WebCoreSupport/WebChromeClient.cpp:
2135         (WebChromeClient::shouldUnavailablePluginMessageBeButton):
2136         (WebChromeClient::unavailablePluginButtonClicked):
2137         * WebCoreSupport/WebChromeClient.h:
2138         (WebChromeClient):
2139
2140 2012-05-09  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2141
2142         Move suspendAnimations to use Internals interface.
2143         https://bugs.webkit.org/show_bug.cgi?id=85986
2144
2145         Reviewed by Ryosuke Niwa.
2146
2147         Remove suspendAnimations functions, because it is able to work in the 
2148         cross-port way through the Internals interface.
2149
2150         * Interfaces/IWebFramePrivate.idl:
2151         * WebFrame.cpp:
2152         * WebFrame.h:
2153
2154 2012-05-07  Julien Chaffraix  <jchaffraix@webkit.org>
2155
2156         Refactor windowClipRectForLayer to remove the explicit RenderLayer dependency
2157         https://bugs.webkit.org/show_bug.cgi?id=84090
2158
2159         Reviewed by David Hyatt.
2160
2161         * WebCoreSupport/EmbeddedWidget.cpp:
2162         (EmbeddedWidget::windowClipRect):
2163         Updated after windowClipRectForLayer name and signature change.
2164
2165         * WebCoreSupport/EmbeddedWidget.h:
2166         (EmbeddedWidget):
2167         (EmbeddedWidget::EmbeddedWidget):
2168         Updated the internal DOM pointer to be an HTMLPlugInElement
2169         as it was what was passed in anyway. Also fixed some style
2170         issues detected by our tools.
2171
2172 2012-05-05  Dean Jackson  <dino@apple.com>
2173
2174         Add new Setting/Preference to disable requestAnimationFrame
2175         https://bugs.webkit.org/show_bug.cgi?id=85693
2176
2177         Reviewed by Simon Fraser.
2178
2179         Exposes a new WebPreference: WebKitRequestAnimationFrameEnabled.
2180         The default value is true. The majority of applications will leave
2181         it this way.
2182
2183         * Interfaces/IWebPreferencesPrivate.idl:
2184         * WebPreferenceKeysPrivate.h:
2185         * WebPreferences.cpp:
2186         (WebPreferences::initializeDefaultSettings):
2187         (WebPreferences::setRequestAnimationFrameEnabled):
2188         (WebPreferences::requestAnimationFrameEnabled):
2189         * WebPreferences.h:
2190         (WebPreferences):
2191         * WebView.cpp:
2192         (WebView::notifyPreferencesChanged):
2193
2194 2012-05-04  Nate Chapin  <japhet@chromium.org>
2195
2196         Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
2197         https://bugs.webkit.org/show_bug.cgi?id=85533
2198
2199         Reviewed by Alexey Proskuryakov.
2200
2201         * WebCoreSupport/WebFrameLoaderClient.cpp:
2202         (WebFrameLoaderClient::finishedLoading):
2203
2204 2012-04-27  Jon Lee  <jonlee@apple.com>
2205
2206         Migrate permission functions to Notification from NotificationCenter
2207         https://bugs.webkit.org/show_bug.cgi?id=80485
2208         <rdar://problem/10965458>
2209
2210         Reviewed by Jian Li.
2211
2212         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
2213         (WebDesktopNotificationsDelegate::requestPermission):
2214         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
2215         (WebDesktopNotificationsDelegate): Add stub implementation of requestPermission.
2216
2217 2012-04-23  Jon Honeycutt  <jhoneycutt@apple.com>
2218
2219         FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
2220         information about the form being submitted
2221         https://bugs.webkit.org/show_bug.cgi?id=84297
2222
2223         Reviewed by Andy Estes.
2224
2225         * WebFrame.h:
2226         Fix function stub for new parameter.
2227
2228 2012-05-01  Ryosuke Niwa  <rniwa@webkit.org>
2229
2230         *Command.h files shouldn't be exported to WebKit layer
2231         https://bugs.webkit.org/show_bug.cgi?id=74778
2232
2233         Reviewed by Eric Seidel.
2234
2235         * WebView.cpp:
2236
2237 2012-04-20  Emil A Eklund  <eae@chromium.org>
2238
2239         [win] Update windows platform code to use pixel snapped values
2240         https://bugs.webkit.org/show_bug.cgi?id=84283
2241
2242         Reviewed by Eric Seidel.
2243
2244         * AccessibleBase.cpp:
2245         (AccessibleBase::accLocation):
2246
2247 2012-04-18  Vivek Galatage  <vivekgalatage@gmail.com>
2248
2249         Web Inspector: Disabling Inspector causes build failure on Windows
2250         https://bugs.webkit.org/show_bug.cgi?id=83557
2251
2252         Reviewed by Pavel Feldman.
2253
2254         The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
2255         This change brings all such API calls under the guard.
2256
2257         * WebCoreSupport/WebInspectorClient.cpp:
2258         * WebInspector.cpp:
2259         * WebNodeHighlight.cpp:
2260         (WebNodeHighlight::WebNodeHighlight):
2261         (WebNodeHighlight::update):
2262         * WebNodeHighlight.h:
2263         (WebNodeHighlight):
2264         * WebView.cpp:
2265         (WebView::WebView):
2266         (WebView::close):
2267         (WebView::initWithFrame):
2268         (WebView::inspector):
2269         * WebView.h:
2270         (WebView):
2271
2272 2012-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
2273
2274         Unreviewed, rolling out r113836.
2275         http://trac.webkit.org/changeset/113836
2276         https://bugs.webkit.org/show_bug.cgi?id=83705
2277
2278         Broke all the WebKit2 inspector tests (Requested by andersca
2279         on #webkit).
2280
2281         * WebCoreSupport/WebInspectorClient.cpp:
2282         (registerWindowClass):
2283         * WebInspector.cpp:
2284         (WebInspector::setTimelineProfilingEnabled):
2285         * WebNodeHighlight.cpp:
2286         (WebNodeHighlight::WebNodeHighlight):
2287         (WebNodeHighlight::update):
2288         * WebNodeHighlight.h:
2289         (WebNodeHighlight):
2290         * WebView.cpp:
2291         (WebView::WebView):
2292         (WebView::close):
2293         (WebView::initWithFrame):
2294         (WebView::inspector):
2295         * WebView.h:
2296         (WebView):
2297
2298 2012-04-11  Vivek Galatage  <vivekgalatage@gmail.com>
2299
2300         Web Inspector: Disabling Inspector causes build failure on Windows
2301         https://bugs.webkit.org/show_bug.cgi?id=83557
2302
2303         Reviewed by Pavel Feldman.
2304
2305         The calls to inspector APIs are not put under ENABLE(INSPECTOR) guard.
2306         This change brings all such API calls under the guard.
2307         
2308         * WebCoreSupport/WebInspectorClient.cpp:
2309         * WebInspector.cpp:
2310         * WebNodeHighlight.cpp:
2311         (WebNodeHighlight::WebNodeHighlight):
2312         (WebNodeHighlight::update):
2313         * WebNodeHighlight.h:
2314         (WebNodeHighlight):
2315         * WebView.cpp:
2316         (WebView::WebView):
2317         (WebView::close):
2318         (WebView::initWithFrame):
2319         (WebView::inspector):
2320         * WebView.h:
2321         (WebView):
2322
2323 2012-03-30  Mark Pilgrim  <pilgrim@chromium.org>
2324
2325         GEOLOCATION should be implemented as Page Supplement
2326         https://bugs.webkit.org/show_bug.cgi?id=82228
2327
2328         Reviewed by Adam Barth.
2329
2330         Geolocation is now a Supplement in Page so the interface
2331         has changed for setting up the page's geolocation client
2332         initially and accessing the controller later.
2333
2334         * WebView.cpp:
2335         (WebView::initWithFrame):
2336         (WebView::geolocationDidChangePosition):
2337         (WebView::geolocationDidFailWithError):
2338
2339 2012-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2340
2341         Unreviewed, rolling out r112553.
2342         http://trac.webkit.org/changeset/112553
2343         https://bugs.webkit.org/show_bug.cgi?id=82638
2344
2345         It made all tests crash on Qt WK2 (Requested by Ossy_away on
2346         #webkit).
2347
2348         * WebView.cpp:
2349         (WebView::initWithFrame):
2350         (WebView::geolocationDidChangePosition):
2351         (WebView::geolocationDidFailWithError):
2352
2353 2012-03-29  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2354
2355         HashMap<>::add should return a more descriptive object
2356         https://bugs.webkit.org/show_bug.cgi?id=71063
2357
2358         Reviewed by Ryosuke Niwa.
2359
2360         Update code to use AddResult instead of a pair.
2361
2362         * WebKitCOMAPI.cpp:
2363         (classFactory):
2364
2365 2012-03-29  Mark Pilgrim  <pilgrim@chromium.org>
2366
2367         GEOLOCATION should be implemented as Page Supplement
2368         https://bugs.webkit.org/show_bug.cgi?id=82228
2369
2370         Reviewed by Adam Barth.
2371
2372         Geolocation is now a Supplement in Page so the interface
2373         has changed for setting up the page's geolocation client
2374         initially and accessing the controller later.
2375
2376         * WebView.cpp:
2377         (WebView::initWithFrame):
2378         (WebView::geolocationDidChangePosition):
2379         (WebView::geolocationDidFailWithError):
2380
2381 2012-03-28  Nate Chapin  <japhet@chromium.org>
2382
2383         Remove dispatchDidLoadMainResource callback, since no
2384         port implements it.
2385         https://bugs.webkit.org/show_bug.cgi?id=82539
2386
2387         Reviewed by Alexey Proskuryakov.
2388
2389         * WebCoreSupport/WebFrameLoaderClient.cpp:
2390         * WebCoreSupport/WebFrameLoaderClient.h:
2391         (WebFrameLoaderClient):
2392
2393 2012-03-26  Adam Barth  <abarth@webkit.org>
2394
2395         FrameLoader::shouldAllowNavigation uses Frame for context rather than Document
2396         https://bugs.webkit.org/show_bug.cgi?id=81020
2397
2398         Reviewed by Eric Seidel.
2399
2400         Update call site to new function name.
2401
2402         * WebFrame.cpp:
2403         (WebFrame::dispatchWillSubmitForm):
2404
2405 2012-03-22  Anders Carlsson  <andersca@apple.com>
2406
2407         ASSERT(!needsLayout) in RenderView.cpp when visiting http://www.panic.com/blog/
2408         https://bugs.webkit.org/show_bug.cgi?id=81953
2409         <rdar://problem/11086998>
2410
2411         Reviewed by Sam Weinig.
2412
2413         Update for changes to WebCore.
2414
2415         * FullscreenVideoController.cpp:
2416         (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles):
2417
2418 2012-03-20  Steve Falkenburg  <sfalken@apple.com>
2419
2420         Move WTF-related Windows project files out of JavaScriptCore
2421         https://bugs.webkit.org/show_bug.cgi?id=80680
2422
2423         Reviewed by Jessie Berlin.
2424
2425         * WebKit.vcproj/WebKit.sln:
2426
2427 2012-03-20  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2428
2429         Convert hasSpellingMarker to use Internals interface.
2430         https://bugs.webkit.org/show_bug.cgi?id=81300
2431
2432         Reviewed by Ryosuke Niwa.
2433
2434         Remove hasSpellingMarker interface support, since it can support in the cross-port
2435         way through the Internals interface.
2436
2437         * Interfaces/IWebFramePrivate.idl:
2438
2439 2012-03-19  Adam Barth  <abarth@webkit.org>
2440
2441         Remove support for "magic" iframe
2442         https://bugs.webkit.org/show_bug.cgi?id=81590
2443
2444         Reviewed by Eric Seidel.
2445
2446         Remove FrameLoaderClient methods that no longer exist.
2447
2448         * WebCoreSupport/WebFrameLoaderClient.cpp:
2449         * WebCoreSupport/WebFrameLoaderClient.h:
2450         (WebFrameLoaderClient):
2451
2452 2012-03-19  Anders Carlsson  <andersca@apple.com>
2453
2454         Fix Windows build.
2455
2456         * FullscreenVideoController.cpp:
2457         (FullscreenVideoController::LayerClient::platformCALayerDeviceScaleFactor):
2458
2459 2012-03-13  Jon Lee  <jonlee@apple.com>
2460
2461         Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
2462         https://bugs.webkit.org/show_bug.cgi?id=80922
2463         <rdar://problem/11035082>
2464
2465         Reviewed by Jian Li.
2466
2467         You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
2468         LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
2469         new API. Therefore, APIs that are common between the two will have:
2470         #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
2471
2472         This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
2473         the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
2474
2475         Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
2476         * WebCoreSupport/WebChromeClient.cpp:
2477         (WebChromeClient::WebChromeClient):
2478         * WebCoreSupport/WebChromeClient.h:
2479         (WebChromeClient):
2480         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
2481         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
2482
2483 2012-03-13  Adam Barth  <abarth@webkit.org> && Benjamin Poulain  <bpoulain@apple.com>
2484
2485         Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
2486         https://bugs.webkit.org/show_bug.cgi?id=78853
2487
2488         Reviewed by Adam Barth.
2489
2490         * WebCoreSupport/WebChromeClient.h:
2491         (WebChromeClient):
2492         * WebCoreSupport/WebGeolocationClient.cpp:
2493         (WebGeolocationClient::lastPosition):
2494         * WebGeolocationPosition.cpp:
2495         (WebGeolocationPosition::initWithTimestamp):
2496         (core):
2497         * WebGeolocationPosition.h:
2498         (WebGeolocationPosition):
2499         (WebGeolocationPosition::impl):
2500         * WebView.cpp:
2501         (WebView::initWithFrame):
2502         (WebView::geolocationDidChangePosition):
2503         (WebView::geolocationDidFailWithError):
2504
2505 2012-03-12  Jessie Berlin  <jberlin@apple.com>
2506
2507         More Windows build fixing.
2508
2509         * MarshallingHelpers.cpp:
2510         * WebDatabaseManager.cpp:
2511
2512 2012-03-09  Jon Lee  <jonlee@apple.com>
2513
2514         Rename NotificationPresenter to NotificationClient
2515         https://bugs.webkit.org/show_bug.cgi?id=80488
2516         <rdar://problem/10965558>
2517
2518         Reviewed by Kentaro Hara.
2519
2520         Refactor to use renamed WebCore::NotificationClient.
2521         * WebCoreSupport/WebChromeClient.h:
2522         (WebChromeClient::notificationPresenter):
2523         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
2524         (WebDesktopNotificationsDelegate::checkPermission):
2525         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
2526         (WebDesktopNotificationsDelegate):
2527
2528 2012-03-09  Emil A Eklund  <eae@chromium.org>
2529
2530         Add roundedPoint to HitTestResult and change platform code to use it
2531         https://bugs.webkit.org/show_bug.cgi?id=80715
2532
2533         Reviewed by James Robinson.
2534
2535         Change ports to use roundedPoint to avoid exposing subpixel types to
2536         platform code.
2537
2538         * WebView.cpp:
2539         (WebView::handleContextMenuEvent):
2540
2541 2012-03-08  Steve Falkenburg  <sfalken@apple.com>
2542
2543         Separate WTF parts of JavaScriptCoreGenerated into WTFGenerated for Windows build
2544         https://bugs.webkit.org/show_bug.cgi?id=80657
2545
2546         Preparation for WTF separation from JavaScriptCore.
2547         The "Generated" vcproj files on Windows are necessary so Visual Studio can calculate correct
2548         dependencies for generated files.
2549
2550         Reviewed by Jessie Berlin.
2551
2552         * WebKit.vcproj/WebKit.sln: Add WTFGenerated, update dependent projects.
2553
2554 2012-03-03  Benjamin Poulain  <benjamin@webkit.org>
2555
2556         Remove the redundant method KURL::protocolInHTTPFamily()
2557         https://bugs.webkit.org/show_bug.cgi?id=80216
2558
2559         Reviewed by Anders Carlsson.
2560
2561         * WebCoreSupport/WebFrameLoaderClient.cpp:
2562         (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
2563         * WebHistory.cpp:
2564         (WebHistory::visitedURL):
2565
2566 2012-02-26  Hajime Morrita  <morrita@chromium.org>
2567
2568         Move ChromeClient::showContextMenu() to ContextMenuClient
2569         https://bugs.webkit.org/show_bug.cgi?id=79427
2570
2571         Reviewed by Adam Barth.
2572
2573         * WebCoreSupport/WebChromeClient.h:
2574         (WebChromeClient):
2575
2576 2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
2577
2578         SpellCheckRequest needs to know the context where the spellcheck happened.
2579         https://bugs.webkit.org/show_bug.cgi?id=79320
2580
2581         Reviewed by Hajime Morita.
2582
2583         * WebCoreSupport/WebEditorClient.h:
2584         (WebEditorClient::requestCheckingOfString):
2585         (WebEditorClient):
2586
2587 2012-02-21  Ryosuke Niwa  <rniwa@webkit.org>
2588
2589         Remove the remaining uses of CSSStyleDeclaration in Editor
2590         https://bugs.webkit.org/show_bug.cgi?id=78939
2591
2592         Reviewed by Enrica Casucci.
2593
2594         * WebCoreSupport/WebEditorClient.cpp:
2595         (WebEditorClient::shouldApplyStyle):
2596         * WebCoreSupport/WebEditorClient.h:
2597         (WebEditorClient):
2598
2599 2012-02-22  Ryosuke Niwa  <rniwa@webkit.org>
2600
2601         Remove the remaining uses of CSSStyleDeclaration in Editor
2602         https://bugs.webkit.org/show_bug.cgi?id=78939
2603
2604         Reviewed by Enrica Casucci.
2605
2606         * WebCoreSupport/WebEditorClient.cpp:
2607         (WebEditorClient::shouldApplyStyle):
2608         * WebCoreSupport/WebEditorClient.h:
2609         (WebEditorClient):
2610
2611 2012-02-17  Kalev Lember  <kalevlember@gmail.com>
2612
2613         Remove unused parameters from WTF threading API
2614         https://bugs.webkit.org/show_bug.cgi?id=78389
2615
2616         Reviewed by Adam Roben.
2617
2618         waitForThreadCompletion() had an out param 'void **result' to get the
2619         'void *' returned by ThreadFunction. However, the implementation in
2620         ThreadingWin.cpp ignored the out param, not filling it in. This had
2621         led to a situation where none of the client code made use of the param
2622         and just ignored it.
2623
2624         To clean this up, the patch changes the signature of ThreadFunction to
2625         return void instead of void* and drops the the unused 'void **result'
2626         parameter from waitForThreadCompletion. Also, all client code is
2627         updated for the API change.
2628
2629         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=78389 , even
2630         though the change only affects internal API, Safari is using it
2631         directly and we'll need to keep the old versions around for ABI
2632         compatibility. For this, the patch adds compatibility wrappers with
2633         the old ABI.
2634
2635         * WebKit.vcproj/WebKit_Cairo.def: Add the new functions.
2636         * WebKit.vcproj/WebKit_Cairo_debug.def: Ditto.
2637
2638 2012-02-15  Sadrul Habib Chowdhury  <sadrul@chromium.org>
2639
2640         Notify ChromeClient when touch-event handlers are installed/removed.
2641         https://bugs.webkit.org/show_bug.cgi?id=77440
2642
2643         Reviewed by Darin Fisher and Ryosuke Niwa.
2644
2645         * WebCoreSupport/WebChromeClient.h:
2646         (WebChromeClient::numTouchEventHandlersChanged):
2647
2648 2012-02-14  Alexey Proskuryakov  <ap@apple.com>
2649
2650         [Mac][Win][WK2] Switch to RFC 6455 protocol for WebSockets
2651         https://bugs.webkit.org/show_bug.cgi?id=78541
2652         <rdar://problem/10036695>
2653
2654         Reviewed by Kent Tamura.
2655
2656         * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): Changed default value of
2657         the preference
2658
2659 2012-02-11  Nikolas Zimmermann  <nzimmermann@rim.com>
2660
2661         Convert svg/animations to use SMIL methods for driving the timeline
2662         https://bugs.webkit.org/show_bug.cgi?id=78422
2663
2664         Reviewed by Dirk Schulze.
2665
2666         Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
2667         Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
2668
2669         * Interfaces/IWebFramePrivate.idl:
2670         * WebFrame.cpp:
2671         * WebFrame.h:
2672
2673 2012-02-13  Andy Estes  <aestes@apple.com>
2674
2675         Fix the Windows build.
2676
2677         * WebCoreSupport/WebPlatformStrategies.cpp:
2678         (WebPlatformStrategies::createPasteboardStrategy):
2679         * WebCoreSupport/WebPlatformStrategies.h:
2680         (WebPlatformStrategies):
2681
2682 2012-02-12  Andy Estes  <aestes@apple.com>
2683
2684         [Windows] Add API to enable inverted color drawing on a WebView
2685         https://bugs.webkit.org/show_bug.cgi?id=77382
2686
2687         Reviewed by Adam Roben.
2688
2689         Add a new private WebPreference key called "WebKitShouldInvertColors"
2690         and add private cover methods to get and set the preference. When this
2691         preference changes on a WebPreference object, all WebViews listening to
2692         that object will repaint to reflect the new value.
2693
2694         * Interfaces/IWebPreferencesPrivate.idl: Add [setS|s]houldInvertColors()
2695         cover methods for WebKitShouldInvertColorsPreferenceKey.
2696         * WebPreferenceKeysPrivate.h: Add WebKitShouldInvertColorsPreferenceKey.
2697         * WebPreferences.cpp:
2698         (WebPreferences::shouldInvertColors):
2699         (WebPreferences::setShouldInvertColors):
2700         * WebPreferences.h:
2701         (WebPreferences):
2702         * WebView.cpp:
2703         (WebView::setShouldInvertColors): If m_shouldInvertColors changes,
2704         update the value on the WebView and in m_layerTreeHost, then repaint
2705         the view.
2706         (WebView::notifyPreferencesChanged):
2707         (WebView::setAcceleratedCompositing): When creating a new layer tree
2708         host, tell it whether it should be inverting colors.
2709         * WebView.h:
2710
2711 2012-02-07  MORITA Hajime  <morrita@google.com>
2712
2713         Replacement text should be available from the marker.
2714         https://bugs.webkit.org/show_bug.cgi?id=77934
2715
2716         Reviewed by Kent Tamura.
2717
2718         * WebKit.vcproj/WebKit_Cairo.def:
2719         * WebKit.vcproj/WebKit_Cairo_debug.def:
2720
2721 2012-02-02  Jon Lee  <jonlee@apple.com>
2722
2723         Clear shown notifications when context is no longer active
2724         https://bugs.webkit.org/show_bug.cgi?id=77363
2725         <rdar://problem/10568907>
2726
2727         Reviewed by Darin Adler.
2728
2729         * WebCoreSupport/WebDesktopNotificationsDelegate.h:
2730         (WebDesktopNotificationsDelegate): Add previously missing virtual functions.
2731         * WebCoreSupport/WebDesktopNotificationsDelegate.cpp:
2732         (WebDesktopNotificationsDelegate::notificationControllerDestroyed):
2733         (WebDesktopNotificationsDelegate::cancelRequestsForPermission):
2734
2735 2012-02-01  Anders Carlsson  <andersca@apple.com>
2736
2737         Another attempt to fix the Windows build.
2738
2739         * FullscreenVideoController.cpp:
2740         (FullscreenVideoController::LayerClient::platformCALayerDidCreateTiles):
2741
2742 2012-01-26  Andy Estes  <aestes@apple.com>
2743
2744         [Windows] Optionally invert colors when drawing to a WebView's backing store.
2745         https://bugs.webkit.org/show_bug.cgi?id=77168
2746
2747         Reviewed by Sam Weinig.
2748
2749         * WebView.cpp:
2750         (WebView::WebView): Initialize m_shouldInvertColors to false.
2751         (WebView::paintIntoBackingStore): If m_shouldInvertColors is true, draw
2752         an opaque white quad using the CompositeDifference blend mode. This
2753         blend operation instructs CoreGraphics to take the difference between
2754         the source pixel (white) and the background pixel, resulting in an
2755         inverted pixel.
2756         * WebView.h: Define m_shouldInvertColors.
2757
2758 2012-01-23  Simon Fraser  <simon.fraser@apple.com>
2759
2760         Show layer borders for scrollbar layers
2761         https://bugs.webkit.org/show_bug.cgi?id=76888
2762
2763         Reviewed by Beth Dakin.
2764
2765         Update for new signature of GraphicsLayerClient::showDebugBorders()
2766         and GraphicsLayerClient::showRepaintCounter().
2767
2768         * WebView.cpp:
2769         (WebView::showDebugBorders):
2770         (WebView::showRepaintCounter):
2771         * WebView.h:
2772
2773 2012-01-23  David Levin  <levin@chromium.org>
2774
2775         [windows] Convert usages of GetDC to HWndDC Part 2.
2776         https://bugs.webkit.org/show_bug.cgi?id=76750
2777
2778         Reviewed by Adam Roben.
2779
2780         * FullscreenVideoController.cpp:
2781         (createCompatibleDCForWindow): Moved out the code which creates a DC for a window
2782         to keep the same scope for the DC lifetime.
2783         (FullscreenVideoController::draw):  Switch to using OwnPtr<HDC>
2784         since createCompatibleDCForWindow returns a PassOwnPtr.
2785         * WebNodeHighlight.cpp:
2786         (WebNodeHighlight::update): 
2787           Cleaned up leaks from calling GetDC without release.
2788           Note that there is a potential leak of hdc that previously existed
2789           and still does in an early exit scenario. (This could be easily fixed
2790           by using OwnPtr<HDC> but I was trying to keep this patch focused.)
2791         * WebView.cpp:
2792         (WebView::scrollBackingStore): Typical conversion.
2793         (WebView::updateBackingStore): Reduced the scope of windowDC to be
2794         right where it is being used.
2795         (WebView::performLayeredWindowUpdate): Typical conversion.
2796         (WebView::paintIntoBackingStore): Ditto.
2797
2798 2012-01-23  David Levin  <levin@chromium.org>
2799
2800         [windows] Convert usages of GetDC to HWndDC Part 1.
2801         https://bugs.webkit.org/show_bug.cgi?id=76744
2802
2803         Reviewed by Adam Roben.
2804
2805         * WebIconDatabase.cpp:
2806         (createDIB): Changed GetDC to HWndDC and removed ReleaseDC.
2807
2808 2012-01-07  Andreas Kling  <awesomekling@apple.com>
2809
2810         Windows build fix.
2811
2812         * DOMHTMLClasses.cpp:
2813         (DOMHTMLDocument::forms):
2814         (DOMHTMLSelectElement::options):
2815
2816 2012-01-06  Jessie Berlin  <jberlin@apple.com>
2817
2818         Windows build fix.
2819
2820         * Interfaces/IWebViewPrivate.idl:
2821
2822 2012-01-05  Adam Roben  <aroben@apple.com>
2823
2824         Add WebKitTestRunnerLauncher to WebKit.sln.
2825
2826         It builds just after WebKitTestRunner.
2827
2828         Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's
2829         Windows port of DumpRenderTree/WebKitTestRunner
2830
2831         Reviewed by Steve Falkenburg.
2832
2833         * WebKit.vcproj/WebKit.sln:
2834
2835 2012-01-05  Adam Roben  <aroben@apple.com>
2836
2837         Add DumpRenderTreeLauncher to WebKit.sln.
2838
2839         It builds just after DumpRenderTree.
2840
2841         Part of <http://webkit.org/b/75486> <rdar://problem/10638124> NRWT fails to launch Apple's
2842         Windows port of DumpRenderTree/WebKitTestRunner
2843
2844         Reviewed by Steve Falkenburg.
2845
2846         * WebKit.vcproj/WebKit.sln:
2847
2848 2012-01-04  Adam Roben  <aroben@apple.com>
2849
2850         Add ImageDiffLauncher to WebKit.sln
2851
2852         It builds just after ImageDiff.
2853
2854         Part of <http://webkit.org/b/75572> ImageDiff.exe can't be run without first munging PATH
2855
2856         Reviewed by Anders Carlsson.
2857
2858         * WebKit.vcproj/WebKit.sln:
2859
2860 2012-01-04  Adam Roben  <aroben@apple.com>
2861
2862         Add MiniBrowserLauncher to WebKit.sln
2863
2864         It builds just after MiniBrowser.
2865
2866         Part of <http://webkit.org/b/68576> <rdar://problem/10163853> MiniBrowser fails to launch
2867         when double-clicked
2868
2869         Reviewed by Anders Carlsson.
2870
2871         * WebKit.vcproj/WebKit.sln: Added MiniBrowserLauncher.
2872
2873 2012-01-04  Adam Roben  <aroben@apple.com>
2874
2875         Add WinLauncherLauncher to WebKit.sln
2876
2877         It builds just after WinLauncher.
2878
2879         Part of <http://webkit.org/b/68578> <rdar://problem/10163861> WinLauncher fails to launch
2880         when double-clicked
2881
2882         Reviewed by Anders Carlsson.
2883
2884         * WebKit.vcproj/WebKit.sln: Added WinLauncherLauncher.
2885
2886 2011-12-21  Jessie Berlin  <jberlin@apple.com>
2887
2888         Expose to Windows the way to allow a scheme access to Local Storage and Databases while
2889         Private Browsing is enabled.
2890         https://bugs.webkit.org/show_bug.cgi?id=75056
2891
2892         Reviewed by Sam Weinig.
2893
2894         Add the Windows WebKit API that corresponds to the Mac one added in r99439.
2895
2896         * WebView.cpp:
2897         (WebView::registerURLSchemeAsSecure):
2898         (WebView::registerURLSchemeAsAllowingLocalStorageAccessInPrivateBrowsing):
2899         (WebView::registerURLSchemeAsAllowingDatabaseAccessInPrivateBrowsing):
2900         * WebView.h:
2901
2902 2011-12-20  Pavel Feldman  <pavel.feldman@gmail.com>
2903
2904         Web Inspector: reproducible crash after closing web inspector and browser window  (iCab)
2905         https://bugs.webkit.org/show_bug.cgi?id=74255
2906
2907         Reviewed by Yury Semikhatsky.
2908
2909         * WebCoreSupport/WebInspectorClient.cpp:
2910         (WebInspectorClient::~WebInspectorClient):
2911         (WebInspectorFrontendClient::destroyInspectorView):
2912         * WebCoreSupport/WebInspectorClient.h:
2913
2914 2011-12-19  Sam Weinig  <sam@webkit.org>
2915
2916         More PlatformEvent cleanup
2917         https://bugs.webkit.org/show_bug.cgi?id=74831
2918
2919         Reviewed by Dan Bernstein.
2920
2921         * WebView.cpp:
2922         (WebView::handleMouseEvent):
2923         Update to use new names, access style.
2924
2925 2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
2926
2927         Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
2928         https://bugs.webkit.org/show_bug.cgi?id=74748
2929
2930         Reviewed by Eric Seidel.
2931
2932         * WebCoreSupport/WebEditorClient.cpp:
2933         (WebEditorClient::registerUndoStep):
2934         (WebEditorClient::registerRedoStep):
2935         * WebCoreSupport/WebEditorClient.h:
2936
2937 2011-12-16  Sam Weinig  <sam@webkit.org>
2938
2939         Give PlatformEvents a base class
2940         https://bugs.webkit.org/show_bug.cgi?id=74685
2941
2942         Reviewed by Anders Carlsson.
2943
2944         Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
2945         and PlatformGestureEvent and move Type enumeration and modifiers down to it.
2946
2947         * AccessibleBase.cpp:
2948         (AccessibleBase::get_accKeyboardShortcut):
2949         * WebDropSource.cpp:
2950         (generateMouseEvent):
2951         * WebView.cpp:
2952         (WebView::keyUp):
2953         (WebView::handleEditingKeyboardEvent):
2954         (WebView::keyDown):
2955         (WebView::keyPress):
2956
2957 2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
2958
2959         Only EditCommandComposition should implement unapply and reapply
2960         https://bugs.webkit.org/show_bug.cgi?id=74490
2961
2962         Reviewed by Eric Seidel.
2963
2964         * WebCoreSupport/WebEditorClient.cpp:
2965         (WebEditorUndoCommand::WebEditorUndoCommand):
2966         (WebEditorUndoCommand::execute):
2967         (WebEditorClient::registerCommandForUndo):
2968         (WebEditorClient::registerCommandForRedo):
2969         * WebCoreSupport/WebEditorClient.h:
2970
2971 2011-12-14  Jing Zhao  <jingzhao@chromium.org>
2972
2973         Opening two popup menus by dispatchEvent() makes problems.
2974         https://bugs.webkit.org/show_bug.cgi?id=73304
2975
2976         Reviewed by Kent Tamura.
2977
2978         * WebCoreSupport/WebChromeClient.cpp:
2979         (WebChromeClient::hasOpenedPopup): Not implemented.
2980         * WebCoreSupport/WebChromeClient.h: Overrides hasOpenedPopup().
2981
2982 2011-12-14  Sam Weinig  <weinig@apple.com>
2983
2984         Remove whitespace from InheritedPropertySheets attributes in
2985         vsprops files to appease the Visual Studio project migrator.
2986
2987         Reviewed by Adam Roben.
2988
2989         * WebKit.vcproj/InterfacesDebug.vsprops:
2990         * WebKit.vcproj/InterfacesDebugAll.vsprops:
2991         * WebKit.vcproj/InterfacesDebugCairoCFLite.vsprops:
2992         * WebKit.vcproj/InterfacesProduction.vsprops:
2993         * WebKit.vcproj/InterfacesRelease.vsprops:
2994         * WebKit.vcproj/InterfacesReleaseCairoCFLite.vsprops:
2995         * WebKit.vcproj/WebKitGUIDDebug.vsprops:
2996         * WebKit.vcproj/WebKitGUIDDebugAll.vsprops:
2997         * WebKit.vcproj/WebKitGUIDDebugCairoCFLite.vsprops:
2998         * WebKit.vcproj/WebKitGUIDProduction.vsprops:
2999         * WebKit.vcproj/WebKitGUIDRelease.vsprops:
3000         * WebKit.vcproj/WebKitGUIDReleaseCairoCFLite.vsprops:
3001         * WebKit.vcproj/WebKitLibDebug.vsprops:
3002         * WebKit.vcproj/WebKitLibDebugAll.vsprops:
3003         * WebKit.vcproj/WebKitLibDebugCairoCFLite.vsprops:
3004         * WebKit.vcproj/WebKitLibProduction.vsprops:
3005         * WebKit.vcproj/WebKitLibRelease.vsprops:
3006         * WebKit.vcproj/WebKitLibReleaseCairoCFLite.vsprops:
3007
3008 2011-12-07  Mary Wu  <mary.wu@torchmobile.com.cn>
3009
3010         Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
3011         https://bugs.webkit.org/show_bug.cgi?id=73986
3012
3013         Reviewed by Kenneth Rohde Christiansen.
3014
3015         * WebView.cpp:
3016         (WebView::initWithFrame):
3017
3018 2011-12-05  Eric Carlson  <eric.carlson@apple.com>
3019
3020         WebKit/mac part of: Add WebKit preferences for text track settings
3021         https://bugs.webkit.org/show_bug.cgi?id=73721
3022
3023         Reviewed by John Sullivan.
3024
3025         * Interfaces/IWebPreferences.idl: Declare getters and setters for new properties.
3026
3027         * WebPreferenceKeysPrivate.h: Added #define for shouldDisplaySubtitles, shouldDisplayCaptions, 
3028         and shouldDisplayTextDescriptions properties.
3029
3030         * WebPreferences.cpp:
3031         (WebPreferences::setShouldDisplaySubtitles): Added.
3032         (WebPreferences::shouldDisplaySubtitles): Ditto.
3033         (WebPreferences::setShouldDisplayCaptions): Ditto.
3034         (WebPreferences::shouldDisplayCaptions): Ditto.
3035         (WebPreferences::setShouldDisplayTextDescriptions): Ditto.
3036         (WebPreferences::shouldDisplayTextDescriptions): Ditto.
3037         * WebPreferences.h: Declare new methods.
3038
3039         * WebView.cpp:
3040         (WebView::notifyPreferencesChanged): Updates WebCore settings from WebKit prefs.
3041
3042 2011-12-02  Steve Falkenburg  <sfalken@apple.com>
3043
3044         Reviewed by Darin Adler.
3045
3046         Changes to localStorageDatabasePath don't have any effect on Windows
3047         https://bugs.webkit.org/show_bug.cgi?id=73606
3048         <rdar://problem/10491296>
3049
3050         * WebView.cpp:
3051         (WebView::notifyPreferencesChanged): Propagate local storage path change to m_page's settings.
3052
3053 2011-11-30  Alexey Proskuryakov  <ap@apple.com>
3054
3055         Remove an unneeded argument from FrameLoaderClient::download
3056         https://bugs.webkit.org/show_bug.cgi?id=73486
3057
3058         Reviewed by Andreas Kling.
3059
3060         * WebFrame.cpp:
3061         (WebFrame::download):
3062         * WebFrame.h:
3063         Updated for the change.
3064
3065 2011-11-26  Pavel Feldman  <pfeldman@google.com>
3066
3067         Web Inspector: remove disconnectFromBackend from the protocol.
3068         https://bugs.webkit.org/show_bug.cgi?id=73127
3069
3070         Reviewed by Yury Semikhatsky.
3071
3072         * WebCoreSupport/WebInspectorClient.cpp:
3073         (WebInspectorClient::inspectorDestroyed):
3074         (WebInspectorClient::closeInspectorFrontend):
3075         * WebCoreSupport/WebInspectorClient.h:
3076
3077 2011-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
3078
3079         Unreviewed, rolling out r101193.
3080         http://trac.webkit.org/changeset/101193
3081         https://bugs.webkit.org/show_bug.cgi?id=73158
3082
3083         Breaks Windows and Qt minimal. (Requested by pfeldman on
3084         #webkit).
3085
3086         * WebCoreSupport/WebInspectorClient.cpp:
3087         (WebInspectorClient::inspectorDestroyed):
3088         (WebInspectorFrontendClient::disconnectFromBackend):
3089         * WebCoreSupport/WebInspectorClient.h:
3090
3091 2011-11-26  Pavel Feldman  <pfeldman@google.com>
3092
3093         Web Inspector: remove disconnectFromBackend from the protocol.
3094         https://bugs.webkit.org/show_bug.cgi?id=73127
3095
3096         Reviewed by Yury Semikhatsky.
3097
3098         * WebCoreSupport/WebInspectorClient.cpp:
3099         (WebInspectorClient::inspectorDestroyed):
3100         (WebInspectorClient::closeInspectorFrontend):
3101         * WebCoreSupport/WebInspectorClient.h:
3102
3103 2011-11-22  Pavel Feldman  <pfeldman@google.com>
3104
3105         Web Inspector: remove Inspector::bringToFront from the protocol.
3106         https://bugs.webkit.org/show_bug.cgi?id=72937
3107
3108         Reviewed by Yury Semikhatsky.
3109
3110         * WebCoreSupport/WebInspectorClient.cpp:
3111         (WebInspectorClient::bringFrontendToFront):
3112         * WebCoreSupport/WebInspectorClient.h:
3113
3114 2011-11-21  Pavel Feldman  <pfeldman@google.com>
3115
3116         Not reviewed: an attempt to fix windows build.
3117
3118         * WebInspector.cpp:
3119         (WebInspector::isJavaScriptProfilingEnabled):
3120         (WebInspector::setJavaScriptProfilingEnabled):
3121
3122 2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
3123
3124         Web Inspector: introduce InspectorFrontendAPI for actions initiated from the application menu.
3125         https://bugs.webkit.org/show_bug.cgi?id=62985
3126
3127         Both: inspector protocol and WebCore/InspectorController have a number of unnecessary
3128         methods for plumbing the menu action handlers through the WebKit and WebCore.
3129         I intend to remove this menu support from the protocol and WebCore/InspectorController API.
3130         I am starting with exposing the new front-end API in the WebCore and using it in the WebKit/mac port.
3131         WebKit/win and WebKit2 to follow.
3132
3133         Reviewed by Yury Semikhatsky.
3134
3135         * WebInspector.cpp:
3136         (WebInspector::createInstance):
3137         (WebInspector::WebInspector):
3138         (WebInspector::webViewClosed):
3139         (WebInspector::showConsole):
3140         (WebInspector::isDebuggingJavaScript):
3141         (WebInspector::toggleDebuggingJavaScript):
3142         (WebInspector::isProfilingJavaScript):
3143         (WebInspector::toggleProfilingJavaScript):
3144         (WebInspector::isJavaScriptProfilingEnabled):
3145         (WebInspector::setJavaScriptProfilingEnabled):
3146         (WebInspector::isTimelineProfilingEnabled):
3147         (WebInspector::setTimelineProfilingEnabled):
3148         * WebInspector.h:
3149         * WebView.cpp:
3150         (WebView::WebView):
3151         (WebView::close):
3152         (WebView::initWithFrame):
3153         (WebView::inspector):
3154         * WebView.h:
3155
3156 2011-10-17  Antonio Gomes  <agomes@rim.com>
3157
3158         Pass a Frame* parameter in EditorClient::respondToChangedSelection
3159         https://bugs.webkit.org/show_bug.cgi?id=70248
3160
3161         Reviewed by Ryosuke Niwa.
3162
3163         * WebCoreSupport/WebEditorClient.cpp: Make use of the newly added Frame* parameter.
3164         (WebEditorClient::respondToChangedSelection):
3165         * WebCoreSupport/WebEditorClient.h:
3166
3167 2011-11-15  Jochen Eisinger  <jochen@chromium.org>
3168
3169         Rename ReferrerPolicy to clarify its meaning
3170         https://bugs.webkit.org/show_bug.cgi?id=72420
3171
3172         Reviewed by Nate Chapin.
3173
3174         * WebCoreSupport/WebContextMenuClient.cpp:
3175         (WebContextMenuClient::searchWithGoogle):
3176
3177 2011-11-15  Anders Carlsson  <andersca@apple.com>
3178
3179         HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
3180         https://bugs.webkit.org/show_bug.cgi?id=72397
3181
3182         Reviewed by Dan Bernstein.
3183
3184         * WebCoreSupport/WebChromeClient.cpp:
3185         (WebChromeClient::rootViewToScreen):
3186         (WebChromeClient::screenToRootView):
3187         * WebCoreSupport/WebChromeClient.h:
3188
3189 2011-11-14  Anders Carlsson  <andersca@apple.com>
3190
3191         HostWindow invalidation functions should use root view coordinates
3192         https://bugs.webkit.org/show_bug.cgi?id=72338
3193
3194         Reviewed by Dan Bernstein.
3195
3196         * WebCoreSupport/WebChromeClient.cpp:
3197         (WebChromeClient::invalidateRootView):
3198         (WebChromeClient::invalidateContentsAndRootView):
3199         * WebCoreSupport/WebChromeClient.h:
3200
3201 2011-11-07  Adam Barth  <abarth@webkit.org>
3202
3203         Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
3204         https://bugs.webkit.org/show_bug.cgi?id=71755
3205
3206         Reviewed by Eric Seidel.
3207
3208         * WebView.cpp:
3209         (WebView::addOriginAccessWhitelistEntry):
3210         (WebView::removeOriginAccessWhitelistEntry):
3211         (WebView::resetOriginAccessWhitelists):
3212
3213 2011-11-07  Adam Barth  <abarth@webkit.org>
3214
3215         Move DomainRelaxationForbidden scheme registry to SchemeRegistry
3216         https://bugs.webkit.org/show_bug.cgi?id=71750
3217
3218         Reviewed by Eric Seidel.
3219
3220         * WebView.cpp:
3221         (WebView::setDomainRelaxationForbiddenForURLScheme):
3222
3223 2011-11-07  Beth Dakin  <bdakin@apple.com>
3224
3225         https://bugs.webkit.org/show_bug.cgi?id=71490
3226         Support uiStateTransitionProgress for scrollbars
3227         -and corresponding-
3228         <rdar://problem/9849612>
3229
3230         Reviewed by Sam Weinig.
3231
3232         Scrollbar::mouseUp() now takes a PlatformMouseEvent as a parameter.
3233         * WebScrollBar.cpp:
3234         (WebScrollBar::handleMouseEvent):
3235
3236 2011-11-02  Darin Adler  <darin@apple.com>
3237
3238         Change remaining callers of releaseRef to call leakRef
3239         https://bugs.webkit.org/show_bug.cgi?id=71422
3240
3241         Reviewed by Darin Fisher.
3242
3243         * WebCache.cpp:
3244         (WebCache::statistics):
3245         * WebDatabaseManager.cpp:
3246         (WebDatabaseManager::origins):
3247         (WebDatabaseManager::databasesWithOrigin):
3248         * WebHistoryItem.cpp:
3249         (WebHistoryItem::redirectURLs):
3250         * WebKitClassFactory.cpp:
3251         (leakRefFromCreateInstance):
3252         (WebKitClassFactory::CreateInstance):
3253         * WebScriptWorld.cpp:
3254         (WebScriptWorld::standardWorld):
3255         Use leakRef.
3256
3257 2011-11-02  Jon Lee  <jonlee@apple.com>
3258
3259         Expand DragController to provide more information about the dragging session
3260         https://bugs.webkit.org/show_bug.cgi?id=71324
3261         <rdar://problem/10379175>
3262
3263         Reviewed by Darin Adler.
3264
3265         * WebView.cpp:
3266         (WebView::DragEnter): Minor refactoring because operation is stored in
3267         new DragSession struct.
3268         (WebView::DragOver): Ditto.
3269
3270 2011-11-02  Tom Sepez  <tsepez@chromium.org>
3271
3272         XSSAuditor is silent
3273         https://bugs.webkit.org/show_bug.cgi?id=70973
3274
3275         Reviewed by Adam Barth.
3276
3277         * WebCoreSupport/WebFrameLoaderClient.cpp:
3278         (WebFrameLoaderClient::didDetectXSS):
3279         * WebCoreSupport/WebFrameLoaderClient.h:
3280
3281 2011-10-28  Jochen Eisinger  <jochen@chromium.org>
3282
3283         Rename a number of methods mentioning JavaScript to just Script instead
3284         https://bugs.webkit.org/show_bug.cgi?id=71105
3285
3286         Reviewed by Adam Barth.
3287
3288         * WebFrame.cpp:
3289         (WebFrame::dispatchDidClearWindowObjectInWorld):
3290         * WebView.cpp:
3291         (WebView::notifyPreferencesChanged):
3292
3293 2011-10-24  Geoffrey Garen  <ggaren@apple.com>
3294
3295         Build fix: removed some cases of threadsafeCopy() that I missed in
3296         my previous patch.
3297
3298         * WebDatabaseManager.cpp:
3299         (DidModifyOriginData::dispatchToMainThread):
3300         * WebDownloadCFNet.cpp:
3301         (WebDownload::initToResumeWithBundle):
3302         * WebIconDatabase.cpp:
3303         (WebIconDatabase::didImportIconURLForPageURL):
3304
3305 2011-10-24  Ryosuke Niwa  <rniwa@webkit.org>
3306
3307         threadsafeCopy has been renamed to isolatedCopy.
3308
3309         * WebDatabaseManager.cpp:
3310         (DidModifyOriginData::dispatchToMainThread):
3311
3312 2011-10-24  Adam Barth  <abarth@webkit.org>
3313
3314         Attempt to fix Windows build by updating to the new interface.
3315
3316         * DOMEventsClasses.cpp:
3317         (DOMEvent::createInstance):
3318
3319 2011-10-18  Adam Barth  <abarth@webkit.org>
3320
3321         Always enable ENABLE(XPATH)
3322         https://bugs.webkit.org/show_bug.cgi?id=70217
3323
3324         Reviewed by Eric Seidel.
3325
3326         * Interfaces/DOMWindow.idl:
3327
3328 2011-10-14  Julien Chaffraix  <jchaffraix@webkit.org>
3329
3330         Remove layerX / layerY from the Windows API
3331         https://bugs.webkit.org/show_bug.cgi?id=70051
3332
3333         Reviewed by Darin Adler.
3334
3335         Renamed layerX to unused1 and layerY to unused2 to keep the
3336         binary compatibility.
3337
3338         * DOMEventsClasses.cpp:
3339         (DOMUIEvent::unused1):
3340         (DOMUIEvent::unused2):
3341         * DOMEventsClasses.h:
3342         (DOMKeyboardEvent::unused1):
3343         (DOMKeyboardEvent::unused2):
3344         (DOMMouseEvent::unused1):
3345         (DOMMouseEvent::unused2):
3346         (DOMWheelEvent::unused1):
3347         (DOMWheelEvent::unused2):
3348         * Interfaces/DOMEvents.idl:
3349
3350 2011-10-11  Simon Fraser  <simon.fraser@apple.com>
3351
3352         Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
3353         https://bugs.webkit.org/show_bug.cgi?id=68134
3354
3355         Reviewed by Darin Adler.
3356
3357         Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
3358         
3359         Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
3360         that reads the setting, and returns the mock theme if set. All callers now use
3361         theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
3362
3363         * WebScrollBar.cpp:
3364         (WebScrollBar::requestedWidth):
3365         (WebScrollBar::requestedHeight):
3366         * WebView.cpp:
3367         (WebView::WebViewWndProc):
3368
3369 2011-10-03  Anders Carlsson  <andersca@apple.com>
3370
3371         Remove custom scrollbar painting hooks
3372         https://bugs.webkit.org/show_bug.cgi?id=69163
3373
3374         Reviewed by Alexey Proskuryakov.
3375
3376         Remove now unused WebPreferences and ChromeClient overrides.
3377
3378         * Interfaces/IWebPreferences.idl:
3379         * WebCoreSupport/WebChromeClient.cpp:
3380         * WebCoreSupport/WebChromeClient.h:
3381         * WebPreferenceKeysPrivate.h:
3382         * WebPreferences.cpp:
3383         (WebPreferences::unused3):
3384         (WebPreferences::unused4):
3385         * WebPreferences.h:
3386         * WebView.cpp:
3387         (WebView::notifyPreferencesChanged):
3388
3389 2011-09-23  Adam Roben  <aroben@apple.com>
3390
3391         Remove WebKitAPITest
3392
3393         WebKit part of <http://webkit.org/b/66560> WebKitAPITest and TestWebKitAPI have duplicate
3394         functionality (and names!)
3395
3396         Reviewed by Anders Carlsson.
3397
3398         * WebKit.vcproj/WebKit.sln: Removed WebKitAPITest.vcproj. Changed WebKitLauncherWin, which
3399         formerly depended on WebKitAPITest, to now depend on DumpRenderTree, which WebKitAPITest
3400         depended on.
3401
3402 2011-09-24  Adam Barth  <abarth@webkit.org>
3403
3404         Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
3405         https://bugs.webkit.org/show_bug.cgi?id=68767
3406
3407         Reviewed by Eric Seidel.
3408
3409         * WebCoreSupport/WebChromeClient.cpp:
3410         (WebChromeClient::reachedApplicationCacheOriginQuota):
3411         * WebCoreSupport/WebChromeClient.h:
3412
3413 2011-09-22  Adam Roben  <aroben@apple.com>
3414
3415         Remove FindSafari from all our .sln files
3416
3417         It isn't used anymore, so there's no point in building it.
3418
3419         Part of <http://webkit.org/b/68628> Remove FindSafari
3420
3421         Reviewed by Steve Falkenburg.
3422
3423         * WebKit.vcproj/WebKit.sln: Also relinearized the build order while I was at it.
3424
3425 2011-09-22  Adam Roben  <aroben@apple.com>
3426
3427         Add testRegExp.vcproj to WebKit.sln
3428
3429         Fixes <http://webkit.org/b/68403> Windows bots don't build testRegExp.vcproj
3430
3431         Reviewed by Brian Weinstein.
3432
3433         * WebKit.vcproj/WebKit.sln: Added testRegExp. Made it build just after jsc, just like it
3434         does when built as part of JavaScriptCore.sln.
3435
3436 2011-09-21  Steve Falkenburg  <sfalken@apple.com>
3437
3438         Branch builds don't launch on Windows when run against trunk WebKit
3439         https://bugs.webkit.org/show_bug.cgi?id=68546
3440
3441         Reviewed by Darin Adler.
3442
3443         * Interfaces/IWebPreferences.idl: Swap avFoundation and pictographicFontFamily
3444         in IDL for binary compatibility between branch and trunk.
3445
3446 2011-09-21  Andras Becsi  <andras.becsi@nokia.com>
3447
3448         [Qt] Remove Qt specific code from css/SelectorChecker.cpp
3449         https://bugs.webkit.org/show_bug.cgi?id=67702
3450
3451         Reviewed by Csaba Osztrogonác.
3452
3453         * WebCoreSupport/WebPlatformStrategies.cpp: Modify to match new prototype.
3454         (WebPlatformStrategies::isLinkVisited):
3455         * WebCoreSupport/WebPlatformStrategies.h: Ditto.
3456
3457 2011-09-17  Mihai Parparita  <mihaip@chromium.org>
3458
3459         FrameLoaderClient BackForwardList-related methods are unsued
3460         https://bugs.webkit.org/show_bug.cgi?id=68293
3461
3462         Reviewed by Darin Adler.
3463
3464         Remove FrameLoaderClient methods that were added by r51629, since only        
3465         the old (since-deleted) Android port needed them.
3466
3467         * WebCoreSupport/WebFrameLoaderClient.cpp:
3468         * WebCoreSupport/WebFrameLoaderClient.h:
3469
3470 2011-09-15  Adam Barth  <abarth@webkit.org>
3471
3472         Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
3473         https://bugs.webkit.org/show_bug.cgi?id=68205
3474
3475         Reviewed by Eric Seidel.
3476
3477         * ForEachCoClass.h:
3478         * WebCoreSupport/WebChromeClient.cpp:
3479         * WebCoreSupport/WebChromeClient.h:
3480         * WebDatabaseManager.cpp:
3481         * WebDatabaseManager.h:
3482         * WebSecurityOrigin.cpp:
3483         (WebSecurityOrigin::usage):
3484         (WebSecurityOrigin::quota):
3485         (WebSecurityOrigin::setQuota):
3486         * WebView.cpp:
3487         (WebView::initWithFrame):
3488         (WebView::notifyPreferencesChanged):
3489
3490 2011-09-15  Kentaro Hara  <haraken@google.com>
3491
3492         A single line must not be split into two pages.
3493         https://bugs.webkit.org/show_bug.cgi?id=65005
3494
3495         Reviewed by David Hyatt.
3496
3497         When the document width of a page is overflowed, the last line of the page can be
3498         split into the next page. This is the regression caused by r88737. r88737 tried to
3499         fix rounding errors in rendering calculations by expanding and shrinking a page
3500         using one common method, resizePageRectsKeepingRatio(), but overlooked the case where
3501         a document width gets overflowed.
3502
3503         Test: printing/single-line-must-not-be-split-into-two-pages.html
3504
3505         * WebFrame.cpp:
3506         (WebFrame::setPrinting): Passes an original page size to setPrinting().
3507         (WebFrame::setInPrintingMode): Ditto.
3508         * WebFrame.h:
3509
3510 2011-09-06  Ryosuke Niwa  <rniwa@webkit.org>
3511
3512         Rename confirmCompositionWithoutDisturbingSelection to cancelComposition
3513         https://bugs.webkit.org/show_bug.cgi?id=67569
3514
3515         Reviewed by Antonio Gomes.
3516
3517         * WebView.cpp:
3518         (WebView::resetIME):
3519
3520 2011-08-29  Alexey Proskuryakov  <ap@apple.com>
3521
3522         DumpRenderTree should begin each test with an empty cookie store
3523         https://bugs.webkit.org/show_bug.cgi?id=63545
3524         <rdar://problem/5666907>
3525
3526         Reviewed by Darin Adler.
3527
3528         * WebCookieManagerCFNet.cpp:
3529         (WebCookieManager::cookieStorage):
3530         (WebCookieManager::setCookieStorage):
3531         Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage()
3532         returns an unretained reference, which we cannot provide any more, but it should not be a
3533         practical issue.
3534
3535         * WebView.cpp: (updateSharedSettingsFromPreferencesIfNeeded): Updated to use currentCFHTTPCookieStorage()
3536         instead of currentCookieStorage().
3537
3538 2011-08-30  Kaustubh Atrawalkar  <kaustubh@motorola.com>
3539
3540         The unused ScrollView* argument can and should be removed from
3541         scrollRectIntoView.
3542         https://bugs.webkit.org/show_bug.cgi?id=67117
3543
3544         Reviewed by Darin Adler.
3545
3546         * WebCoreSupport/WebChromeClient.h:
3547         (WebChromeClient::scrollRectIntoView):
3548
3549 2011-08-29  Ryosuke Niwa  <rniwa@webkit.org>
3550
3551         Move setInnerTextValue from RenderTextControl to HTMLTextFormControlElement
3552         https://bugs.webkit.org/show_bug.cgi?id=67152
3553
3554         Reviewed by Darin Adler.
3555
3556         Updated call sites of lastChangeWasUserEdit since it's moved from RenderTextControl
3557         to HTMLTextFormControlElement.
3558
3559         * DOMHTMLClasses.cpp:
3560         (DOMHTMLInputElement::isUserEdited):
3561         (DOMHTMLTextAreaElement::isUserEdited):
3562
3563 2011-08-29  Sheriff Bot  <webkit.review.bot@gmail.com>
3564
3565         Unreviewed, rolling out r93987, r93992, r93995, r93998, and
3566         r93999.
3567         http://trac.webkit.org/changeset/93987
3568         http://trac.webkit.org/changeset/93992
3569         http://trac.webkit.org/changeset/93995
3570         http://trac.webkit.org/changeset/93998
3571         http://trac.webkit.org/changeset/93999
3572         https://bugs.webkit.org/show_bug.cgi?id=67147
3573
3574         Many failing tests (Requested by ap on #webkit).
3575
3576         * WebCookieManagerCFNet.cpp:
3577         (WebCookieManager::cookieStorage):
3578         (WebCookieManager::setCookieStorage):
3579         * WebView.cpp:
3580         (updateSharedSettingsFromPreferencesIfNeeded):
3581
3582 2011-08-29  Alexey Proskuryakov  <ap@apple.com>
3583
3584         Windows build fix.
3585
3586         * WebView.cpp:
3587         (updateSharedSettingsFromPreferencesIfNeeded):
3588         Updated for new function name and signature: currentCFHTTPCookieStorage().
3589
3590 2011-08-26  Alexey Proskuryakov  <ap@apple.com>
3591
3592         DumpRenderTree should begin each test with an empty cookie store
3593         https://bugs.webkit.org/show_bug.cgi?id=63545
3594         <rdar://problem/5666907>
3595
3596         Reviewed by Darin Adler.
3597
3598         * WebCookieManagerCFNet.cpp:
3599         (WebCookieManager::cookieStorage):
3600         (WebCookieManager::setCookieStorage):
3601         Changed the API to work with new functions in WebCore. It's a bit ugly, because cookieStorage()
3602         returns an unretained reference, which we cannot provide any more, but it should not be a
3603         practical issue.
3604
3605 2011-08-17  Adam Roben  <aroben@apple.com>
3606
3607         Make WebCore keep track of the current device scale factor
3608
3609         Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
3610         device scale factor
3611
3612         Reviewed by Darin Adler.
3613
3614         * WebCoreSupport/WebChromeClient.cpp:
3615         * WebCoreSupport/WebChromeClient.h:
3616         Removed deviceScaleFactor.
3617
3618 2011-08-15  Dmitry Titov  <dimich@chromium.org>
3619
3620         FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
3621         https://bugs.webkit.org/show_bug.cgi?id=66165