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